[2026-08-23 00:00:28] local.INFO: TCP Data received {"connection_id":161321,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-23 00:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-23 00:00:28] local.INFO: Processing buffer {"connection_id":161321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-23 00:00:28] local.INFO: Packet analysis {"connection_id":161321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-23 00:00:28] local.INFO: Extracted packet for processing {"connection_id":161321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-23 00:00:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580282112001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787423278000,"timestamp_ms":1787423278000,"timestamp_seconds":1787423278,"priority":1,"record_length":96,"hex_timestamp":"000001a02abac3b0"} 
[2026-08-23 00:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580282112001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580282112001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:00:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:00:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580282112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":161321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:00:28] local.INFO: GPS data processed {"connection_id":161321,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:00:28] local.INFO: Acknowledgment sent {"connection_id":161321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:00:33] local.INFO: TCP Data received {"connection_id":161320,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02abc5220012d6fb680060b4788000701392e..."} 
[2026-08-23 00:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abc5220012d6fb680060b4788000701392e..."} 
[2026-08-23 00:00:33] local.INFO: Processing buffer {"connection_id":161320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abc5220012d6fb680060b4788000701392e..."} 
[2026-08-23 00:00:33] local.INFO: Packet analysis {"connection_id":161320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02abc"} 
[2026-08-23 00:00:33] local.INFO: Extracted packet for processing {"connection_id":161320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02abc"} 
[2026-08-23 00:00:33] local.INFO: GPS Element Parsed {"raw_longitude":762295936,"raw_latitude":101402504,"longitude_deg":76.2295936,"latitude_deg":10.1402504,"altitude":7,"angle":313,"satellites":46,"speed":19,"hex_longitude":"2d6fb680","hex_latitude":"060b4788","is_valid_coordinates":true} 
[2026-08-23 00:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580385024001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389264198980337664,"note":"Value kept but may cause issues"} 
[2026-08-23 00:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8050184359883732992,"note":"Value kept but may cause issues"} 
[2026-08-23 00:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787423380000,"timestamp_ms":1787423380000,"timestamp_seconds":1787423380,"priority":1,"record_length":96,"hex_timestamp":"000001a02abc5220"} 
[2026-08-23 00:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:00: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-08-23 00:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 00:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:00:33] 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-08-23 00:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580385024001,"66":27300,"113":206,"79":47616,"24":19,"16":389264198980337664,"45":8050184359883732992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,79,24,16,45]} 
[2026-08-23 00:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580385024001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:00:33] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-23 00:00:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-23 00:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389264198980337664,"km_value":389264198980337.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8050184359883732992,"description":"Unknown IO ID 45"} 
[2026-08-23 00:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580385024001,"power":27300,"unknown_113":206,"unknown_79":47616,"ignition":19,"odometer":null,"unknown_45":8050184359883732992}} 
[2026-08-23 00:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":161320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:00:33] local.INFO: GPS data processed {"connection_id":161320,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:00:33] local.INFO: Acknowledgment sent {"connection_id":161320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:00:48] local.INFO: TCP Data received {"connection_id":162732,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:00:48] local.INFO: Processing buffer {"connection_id":162732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:00:48] local.INFO: IMEI packet received {"connection_id":162732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":162732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:00:53] local.INFO: TCP Data received {"connection_id":162732,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:00:53] local.INFO: Processing buffer {"connection_id":162732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:00:53] local.INFO: IMEI packet received {"connection_id":162732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":162732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:00:53] local.INFO: TCP Data received {"connection_id":162732,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02abc5608012d6fb540060b4910000701492f..."} 
[2026-08-23 00:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abc5608012d6fb540060b4910000701492f..."} 
[2026-08-23 00:00:53] local.INFO: Processing buffer {"connection_id":162732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abc5608012d6fb540060b4910000701492f..."} 
[2026-08-23 00:00:53] local.INFO: Packet analysis {"connection_id":162732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02abc"} 
[2026-08-23 00:00:53] local.INFO: Extracted packet for processing {"connection_id":162732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02abc"} 
[2026-08-23 00:00:53] local.INFO: GPS Element Parsed {"raw_longitude":762295616,"raw_latitude":101402896,"longitude_deg":76.2295616,"latitude_deg":10.1402896,"altitude":7,"angle":329,"satellites":47,"speed":20,"hex_longitude":"2d6fb540","hex_latitude":"060b4910","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580385280001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389264220455174144,"note":"Value kept but may cause issues"} 
[2026-08-23 00:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8049762147418736640,"note":"Value kept but may cause issues"} 
[2026-08-23 00:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787423381000,"timestamp_ms":1787423381000,"timestamp_seconds":1787423381,"priority":1,"record_length":96,"hex_timestamp":"000001a02abc5608"} 
[2026-08-23 00:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:00: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-08-23 00: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 00:00:53] 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-08-23 00: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-08-23 00:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:00:53] 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-08-23 00:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580385280001,"66":27321,"113":206,"79":47616,"24":20,"16":389264220455174144,"45":8049762147418736640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,79,24,16,45]} 
[2026-08-23 00:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580385280001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:00:53] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-23 00:00:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-23 00:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389264220455174144,"km_value":389264220455174.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8049762147418736640,"description":"Unknown IO ID 45"} 
[2026-08-23 00:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580385280001,"power":27321,"unknown_113":206,"unknown_79":47616,"ignition":20,"odometer":null,"unknown_45":8049762147418736640}} 
[2026-08-23 00:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":162732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:00:53] local.INFO: GPS data processed {"connection_id":162732,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:00:53] local.INFO: Acknowledgment sent {"connection_id":162732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:00:56] local.INFO: TCP Data received {"connection_id":160150,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:00:56] local.INFO: Processing buffer {"connection_id":160150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:00:56] local.INFO: IMEI packet received {"connection_id":160150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":160150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:01:01] local.INFO: TCP Data received {"connection_id":160150,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:01:01] local.INFO: Processing buffer {"connection_id":160150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:01:01] local.INFO: IMEI packet received {"connection_id":160150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":160150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:01:02] local.INFO: TCP Data received {"connection_id":160150,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-23 00:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-23 00:01:02] local.INFO: Processing buffer {"connection_id":160150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-23 00:01:02] local.INFO: Packet analysis {"connection_id":160150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-23 00:01:02] local.INFO: Extracted packet for processing {"connection_id":160150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-23 00:01:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580282112001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787423278000,"timestamp_ms":1787423278000,"timestamp_seconds":1787423278,"priority":1,"record_length":96,"hex_timestamp":"000001a02abac3b0"} 
[2026-08-23 00:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580282112001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580282112001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:01:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:01:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580282112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":160150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:01:02] local.INFO: GPS data processed {"connection_id":160150,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:01:02] local.INFO: Acknowledgment sent {"connection_id":160150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:01:07] local.INFO: TCP Data received {"connection_id":160150,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-23 00:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-23 00:01:07] local.INFO: Processing buffer {"connection_id":160150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-23 00:01:07] local.INFO: Packet analysis {"connection_id":160150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-23 00:01:07] local.INFO: Extracted packet for processing {"connection_id":160150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-23 00:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580282112001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787423278000,"timestamp_ms":1787423278000,"timestamp_seconds":1787423278,"priority":1,"record_length":96,"hex_timestamp":"000001a02abac3b0"} 
[2026-08-23 00:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580282112001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580282112001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:01:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580282112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":160150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:01:07] local.INFO: GPS data processed {"connection_id":160150,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:01:07] local.INFO: Acknowledgment sent {"connection_id":160150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:01:24] local.INFO: TCP Data received {"connection_id":162732,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02abc61c0012d6fb280060b4f20000601552e..."} 
[2026-08-23 00:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abc61c0012d6fb280060b4f20000601552e..."} 
[2026-08-23 00:01:24] local.INFO: Processing buffer {"connection_id":162732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abc61c0012d6fb280060b4f20000601552e..."} 
[2026-08-23 00:01:24] local.INFO: Packet analysis {"connection_id":162732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02abc"} 
[2026-08-23 00:01:24] local.INFO: Extracted packet for processing {"connection_id":162732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02abc"} 
[2026-08-23 00:01:24] local.INFO: GPS Element Parsed {"raw_longitude":762294912,"raw_latitude":101404448,"longitude_deg":76.2294912,"latitude_deg":10.1404448,"altitude":6,"angle":341,"satellites":46,"speed":24,"hex_longitude":"2d6fb280","hex_latitude":"060b4f20","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580385536001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389264302059552768,"note":"Value kept but may cause issues"} 
[2026-08-23 00:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8049410303697948672,"note":"Value kept but may cause issues"} 
[2026-08-23 00:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787423384000,"timestamp_ms":1787423384000,"timestamp_seconds":1787423384,"priority":1,"record_length":96,"hex_timestamp":"000001a02abc61c0"} 
[2026-08-23 00:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:01: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-08-23 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 00:01:24] 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-08-23 00: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-08-23 00:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:01:24] 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-08-23 00:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580385536001,"66":27332,"113":206,"79":47616,"24":24,"16":389264302059552768,"45":8049410303697948672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,79,24,16,45]} 
[2026-08-23 00:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580385536001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:01:25] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-23 00:01:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-23 00:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389264302059552768,"km_value":389264302059552.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8049410303697948672,"description":"Unknown IO ID 45"} 
[2026-08-23 00:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580385536001,"power":27332,"unknown_113":206,"unknown_79":47616,"ignition":24,"odometer":null,"unknown_45":8049410303697948672}} 
[2026-08-23 00:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":162732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:01:25] local.INFO: GPS data processed {"connection_id":162732,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:01:25] local.INFO: Acknowledgment sent {"connection_id":162732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:01:51] local.INFO: TCP Data received {"connection_id":161322,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:01:51] local.INFO: Processing buffer {"connection_id":161322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:01:51] local.INFO: IMEI packet received {"connection_id":161322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":161322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:01:54] local.INFO: TCP Data received {"connection_id":161323,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:01:54] local.INFO: Processing buffer {"connection_id":161323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:01:54] local.INFO: IMEI packet received {"connection_id":161323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":161323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:01:56] local.INFO: TCP Data received {"connection_id":161322,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:01:56] local.INFO: Processing buffer {"connection_id":161322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:01:56] local.INFO: IMEI packet received {"connection_id":161322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":161322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:01:57] local.INFO: TCP Data received {"connection_id":161322,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-23 00:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-23 00:01:57] local.INFO: Processing buffer {"connection_id":161322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-23 00:01:57] local.INFO: Packet analysis {"connection_id":161322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-23 00:01:57] local.INFO: Extracted packet for processing {"connection_id":161322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-23 00:01:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580282112001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787423278000,"timestamp_ms":1787423278000,"timestamp_seconds":1787423278,"priority":1,"record_length":96,"hex_timestamp":"000001a02abac3b0"} 
[2026-08-23 00:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580282112001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580282112001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:01:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:01:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580282112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":161322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:01:57] local.INFO: GPS data processed {"connection_id":161322,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:01:57] local.INFO: Acknowledgment sent {"connection_id":161322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:01:58] local.INFO: TCP Data received {"connection_id":161323,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:01:58] local.INFO: Processing buffer {"connection_id":161323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:01:58] local.INFO: IMEI packet received {"connection_id":161323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":161323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:01:59] local.INFO: TCP Data received {"connection_id":161323,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:01:59] local.INFO: Processing buffer {"connection_id":161323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:01:59] local.INFO: IMEI packet received {"connection_id":161323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":161323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:02:05] local.INFO: TCP Data received {"connection_id":161323,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:02:05] local.INFO: Processing buffer {"connection_id":161323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:02:05] local.INFO: IMEI packet received {"connection_id":161323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":161323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:02:08] local.INFO: TCP Data received {"connection_id":161323,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02abc9488012d6fa600060b7050000701542f..."} 
[2026-08-23 00:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abc9488012d6fa600060b7050000701542f..."} 
[2026-08-23 00:02:08] local.INFO: Processing buffer {"connection_id":161323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abc9488012d6fa600060b7050000701542f..."} 
[2026-08-23 00:02:08] local.INFO: Packet analysis {"connection_id":161323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02abc"} 
[2026-08-23 00:02:08] local.INFO: Extracted packet for processing {"connection_id":161323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02abc"} 
[2026-08-23 00:02:08] local.INFO: GPS Element Parsed {"raw_longitude":762291712,"raw_latitude":101412944,"longitude_deg":76.2291712,"latitude_deg":10.1412944,"altitude":7,"angle":340,"satellites":47,"speed":21,"hex_longitude":"2d6fa600","hex_latitude":"060b7050","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580386304001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389264744441184256,"note":"Value kept but may cause issues"} 
[2026-08-23 00:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8048636247512391680,"note":"Value kept but may cause issues"} 
[2026-08-23 00:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787423397000,"timestamp_ms":1787423397000,"timestamp_seconds":1787423397,"priority":1,"record_length":96,"hex_timestamp":"000001a02abc9488"} 
[2026-08-23 00:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:02: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-08-23 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 00:02: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-08-23 00: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-08-23 00:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:02:08] 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-08-23 00:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580386304001,"66":26408,"113":206,"79":47616,"24":21,"16":389264744441184256,"45":8048636247512391680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,79,24,16,45]} 
[2026-08-23 00:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580386304001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:02:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-23 00:02:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-08-23 00:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389264744441184256,"km_value":389264744441184.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8048636247512391680,"description":"Unknown IO ID 45"} 
[2026-08-23 00:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580386304001,"power":26408,"unknown_113":206,"unknown_79":47616,"ignition":21,"odometer":null,"unknown_45":8048636247512391680}} 
[2026-08-23 00:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":161323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:02:08] local.INFO: GPS data processed {"connection_id":161323,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:02:08] local.INFO: Acknowledgment sent {"connection_id":161323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:02:29] local.INFO: TCP Data received {"connection_id":161322,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-23 00:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-23 00:02:29] local.INFO: Processing buffer {"connection_id":161322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-23 00:02:29] local.INFO: Packet analysis {"connection_id":161322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-23 00:02:29] local.INFO: Extracted packet for processing {"connection_id":161322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-23 00:02:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580282112001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787423278000,"timestamp_ms":1787423278000,"timestamp_seconds":1787423278,"priority":1,"record_length":96,"hex_timestamp":"000001a02abac3b0"} 
[2026-08-23 00:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580282112001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580282112001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:02:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:02:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580282112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":161322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:02:29] local.INFO: GPS data processed {"connection_id":161322,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:02:29] local.INFO: Acknowledgment sent {"connection_id":161322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:02:48] local.INFO: TCP Data received {"connection_id":162733,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:02:48] local.INFO: Processing buffer {"connection_id":162733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:02:48] local.INFO: IMEI packet received {"connection_id":162733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":162733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:02:52] local.INFO: TCP Data received {"connection_id":160151,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:02:52] local.INFO: Processing buffer {"connection_id":160151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:02:52] local.INFO: IMEI packet received {"connection_id":160151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":160151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:02:53] local.INFO: TCP Data received {"connection_id":162733,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:02:53] local.INFO: Processing buffer {"connection_id":162733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:02:53] local.INFO: IMEI packet received {"connection_id":162733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":162733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:02:54] local.INFO: TCP Data received {"connection_id":162733,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02abcdad8012d6f9880060b92480007014e2e..."} 
[2026-08-23 00:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abcdad8012d6f9880060b92480007014e2e..."} 
[2026-08-23 00:02:54] local.INFO: Processing buffer {"connection_id":162733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abcdad8012d6f9880060b92480007014e2e..."} 
[2026-08-23 00:02:54] local.INFO: Packet analysis {"connection_id":162733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02abc"} 
[2026-08-23 00:02:54] local.INFO: Extracted packet for processing {"connection_id":162733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02abc"} 
[2026-08-23 00:02:54] local.INFO: GPS Element Parsed {"raw_longitude":762288256,"raw_latitude":101421640,"longitude_deg":76.2288256,"latitude_deg":10.142164,"altitude":7,"angle":334,"satellites":46,"speed":27,"hex_longitude":"2d6f9880","hex_latitude":"060b9248","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580389632001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389265195412750336,"note":"Value kept but may cause issues"} 
[2026-08-23 00:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8045117810305683456,"note":"Value kept but may cause issues"} 
[2026-08-23 00:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787423415000,"timestamp_ms":1787423415000,"timestamp_seconds":1787423415,"priority":1,"record_length":96,"hex_timestamp":"000001a02abcdad8"} 
[2026-08-23 00:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-23 00:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:02:54] 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-08-23 00:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580389632001,"66":27310,"98":206,"79":46336,"24":27,"16":389265195412750336,"45":8045117810305683456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,79,24,16,45]} 
[2026-08-23 00:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580389632001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:02:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-23 00:02:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389265195412750336,"km_value":389265195412750.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8045117810305683456,"description":"Unknown IO ID 45"} 
[2026-08-23 00:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580389632001,"power":27310,"unknown_98":206,"unknown_79":46336,"ignition":27,"odometer":null,"unknown_45":8045117810305683456}} 
[2026-08-23 00:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":162733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:02:54] local.INFO: GPS data processed {"connection_id":162733,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:02:54] local.INFO: Acknowledgment sent {"connection_id":162733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:02:56] local.INFO: TCP Data received {"connection_id":160151,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:02:56] local.INFO: Processing buffer {"connection_id":160151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:02:56] local.INFO: IMEI packet received {"connection_id":160151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":160151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:02:57] local.INFO: TCP Data received {"connection_id":160151,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-23 00:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-23 00:02:57] local.INFO: Processing buffer {"connection_id":160151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-23 00:02:57] local.INFO: Packet analysis {"connection_id":160151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-23 00:02:57] local.INFO: Extracted packet for processing {"connection_id":160151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-23 00:02:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580282112001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787423278000,"timestamp_ms":1787423278000,"timestamp_seconds":1787423278,"priority":1,"record_length":96,"hex_timestamp":"000001a02abac3b0"} 
[2026-08-23 00:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:02:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580282112001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580282112001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:02:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:02:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580282112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":160151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:02:57] local.INFO: GPS data processed {"connection_id":160151,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:02:57] local.INFO: Acknowledgment sent {"connection_id":160151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:03:25] local.INFO: TCP Data received {"connection_id":162733,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02abf01a0012d6ecac0060cd9b80008012d2d..."} 
[2026-08-23 00:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abf01a0012d6ecac0060cd9b80008012d2d..."} 
[2026-08-23 00:03:25] local.INFO: Processing buffer {"connection_id":162733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abf01a0012d6ecac0060cd9b80008012d2d..."} 
[2026-08-23 00:03:25] local.INFO: Packet analysis {"connection_id":162733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:03:25] local.INFO: Extracted packet for processing {"connection_id":162733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:03:25] local.INFO: GPS Element Parsed {"raw_longitude":762235584,"raw_latitude":101505464,"longitude_deg":76.2235584,"latitude_deg":10.1505464,"altitude":8,"angle":301,"satellites":45,"speed":12,"hex_longitude":"2d6ecac0","hex_latitude":"060cd9b8","is_valid_coordinates":true} 
[2026-08-23 00:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580430080001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389270010071089152,"note":"Value kept but may cause issues"} 
[2026-08-23 00:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7983615527918045184,"note":"Value kept but may cause issues"} 
[2026-08-23 00:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787423556000,"timestamp_ms":1787423556000,"timestamp_seconds":1787423556,"priority":1,"record_length":96,"hex_timestamp":"000001a02abf01a0"} 
[2026-08-23 00:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:03: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-08-23 00:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 00:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:03:25] 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-08-23 00:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580430080001,"66":27332,"252":206,"79":46336,"24":12,"16":389270010071089152,"45":7983615527918045184},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,79,24,16,45]} 
[2026-08-23 00:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580430080001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:03:25] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-08-23 00:03:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389270010071089152,"km_value":389270010071089.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":7983615527918045184,"description":"Unknown IO ID 45"} 
[2026-08-23 00:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580430080001,"power":27332,"unknown_252":206,"unknown_79":46336,"ignition":12,"odometer":null,"unknown_45":7983615527918045184}} 
[2026-08-23 00:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":162733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:03:25] local.INFO: GPS data processed {"connection_id":162733,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:03:25] local.INFO: Acknowledgment sent {"connection_id":162733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:03:29] local.INFO: TCP Data received {"connection_id":160151,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-23 00:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-23 00:03:29] local.INFO: Processing buffer {"connection_id":160151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abac3b0012d196540071ff1b00040013728..."} 
[2026-08-23 00:03:29] local.INFO: Packet analysis {"connection_id":160151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-23 00:03:29] local.INFO: Extracted packet for processing {"connection_id":160151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aba"} 
[2026-08-23 00:03:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580282112001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787423278000,"timestamp_ms":1787423278000,"timestamp_seconds":1787423278,"priority":1,"record_length":96,"hex_timestamp":"000001a02abac3b0"} 
[2026-08-23 00:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580282112001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580282112001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:03:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:03:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580282112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":160151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:03:29] local.INFO: GPS data processed {"connection_id":160151,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:03:29] local.INFO: Acknowledgment sent {"connection_id":160151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:03:47] local.INFO: TCP Data received {"connection_id":160367,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:03:47] local.INFO: Processing buffer {"connection_id":160367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:03:47] local.INFO: IMEI packet received {"connection_id":160367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":160367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:03:51] local.INFO: TCP Data received {"connection_id":160367,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:03:51] local.INFO: Processing buffer {"connection_id":160367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:03:51] local.INFO: IMEI packet received {"connection_id":160367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":160367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:03:51] local.INFO: TCP Data received {"connection_id":160152,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:03:51] local.INFO: Processing buffer {"connection_id":160152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:03:51] local.INFO: IMEI packet received {"connection_id":160152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":160152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:03:52] local.INFO: TCP Data received {"connection_id":160367,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:03:52] local.INFO: Processing buffer {"connection_id":160367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:03:52] local.INFO: IMEI packet received {"connection_id":160367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":160367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:03:53] local.INFO: TCP Data received {"connection_id":160367,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02abf0588012d6ec9c0060cda200008011a2e..."} 
[2026-08-23 00:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abf0588012d6ec9c0060cda200008011a2e..."} 
[2026-08-23 00:03:53] local.INFO: Processing buffer {"connection_id":160367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abf0588012d6ec9c0060cda200008011a2e..."} 
[2026-08-23 00:03:53] local.INFO: Packet analysis {"connection_id":160367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:03:53] local.INFO: Extracted packet for processing {"connection_id":160367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:03:53] local.INFO: GPS Element Parsed {"raw_longitude":762235328,"raw_latitude":101505568,"longitude_deg":76.2235328,"latitude_deg":10.1505568,"altitude":8,"angle":282,"satellites":46,"speed":11,"hex_longitude":"2d6ec9c0","hex_latitude":"060cda20","is_valid_coordinates":true} 
[2026-08-23 00:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580430336001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389270018661023744,"note":"Value kept but may cause issues"} 
[2026-08-23 00:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7983404421685557248,"note":"Value kept but may cause issues"} 
[2026-08-23 00:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787423557000,"timestamp_ms":1787423557000,"timestamp_seconds":1787423557,"priority":1,"record_length":96,"hex_timestamp":"000001a02abf0588"} 
[2026-08-23 00:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:03: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-08-23 00:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 00:03: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-08-23 00:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:03:53] 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-08-23 00:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580430336001,"66":27180,"252":206,"79":46336,"24":11,"16":389270018661023744,"45":7983404421685557248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,79,24,16,45]} 
[2026-08-23 00:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580430336001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:03:53] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-08-23 00:03:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389270018661023744,"km_value":389270018661023.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7983404421685557248,"description":"Unknown IO ID 45"} 
[2026-08-23 00:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580430336001,"power":27180,"unknown_252":206,"unknown_79":46336,"ignition":11,"odometer":null,"unknown_45":7983404421685557248}} 
[2026-08-23 00:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":160367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:03:53] local.INFO: GPS data processed {"connection_id":160367,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:03:53] local.INFO: Acknowledgment sent {"connection_id":160367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:03:56] local.INFO: TCP Data received {"connection_id":160152,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:03:56] local.INFO: Processing buffer {"connection_id":160152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:03:56] local.INFO: IMEI packet received {"connection_id":160152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":160152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:03:57] local.INFO: TCP Data received {"connection_id":160152,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:03:57] local.INFO: Processing buffer {"connection_id":160152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:03:57] local.INFO: Packet analysis {"connection_id":160152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:03:57] local.INFO: Extracted packet for processing {"connection_id":160152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:03:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580359168001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787423579000,"timestamp_ms":1787423579000,"timestamp_seconds":1787423579,"priority":1,"record_length":96,"hex_timestamp":"000001a02abf5b78"} 
[2026-08-23 00:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:03: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-08-23 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580359168001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580359168001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:03:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:03:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580359168001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":160152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:03:57] local.INFO: GPS data processed {"connection_id":160152,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:03:57] local.INFO: Acknowledgment sent {"connection_id":160152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:04:24] local.INFO: TCP Data received {"connection_id":160367,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02abf0970012d6ec880060cda300008010430..."} 
[2026-08-23 00:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abf0970012d6ec880060cda300008010430..."} 
[2026-08-23 00:04:24] local.INFO: Processing buffer {"connection_id":160367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abf0970012d6ec880060cda300008010430..."} 
[2026-08-23 00:04:24] local.INFO: Packet analysis {"connection_id":160367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:04:24] local.INFO: Extracted packet for processing {"connection_id":160367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:04:24] local.INFO: GPS Element Parsed {"raw_longitude":762235008,"raw_latitude":101505584,"longitude_deg":76.2235008,"latitude_deg":10.1505584,"altitude":8,"angle":260,"satellites":48,"speed":11,"hex_longitude":"2d6ec880","hex_latitude":"060cda30","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580430592001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389270035840892928,"note":"Value kept but may cause issues"} 
[2026-08-23 00:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7983122946708873216,"note":"Value kept but may cause issues"} 
[2026-08-23 00:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787423558000,"timestamp_ms":1787423558000,"timestamp_seconds":1787423558,"priority":1,"record_length":96,"hex_timestamp":"000001a02abf0970"} 
[2026-08-23 00:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-23 00:04:24] 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-08-23 00: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-08-23 00:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:04:24] 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-08-23 00:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580430592001,"66":27180,"252":206,"79":46336,"24":11,"16":389270035840892928,"45":7983122946708873216},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,79,24,16,45]} 
[2026-08-23 00:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580430592001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:04:24] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-08-23 00:04:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389270035840892928,"km_value":389270035840892.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":7983122946708873216,"description":"Unknown IO ID 45"} 
[2026-08-23 00:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580430592001,"power":27180,"unknown_252":206,"unknown_79":46336,"ignition":11,"odometer":null,"unknown_45":7983122946708873216}} 
[2026-08-23 00:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":160367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:04:24] local.INFO: GPS data processed {"connection_id":160367,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:04:24] local.INFO: Acknowledgment sent {"connection_id":160367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:04:28] local.INFO: TCP Data received {"connection_id":160152,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:04:28] local.INFO: Processing buffer {"connection_id":160152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:04:28] local.INFO: Packet analysis {"connection_id":160152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:04:28] local.INFO: Extracted packet for processing {"connection_id":160152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:04:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580359168001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787423579000,"timestamp_ms":1787423579000,"timestamp_seconds":1787423579,"priority":1,"record_length":96,"hex_timestamp":"000001a02abf5b78"} 
[2026-08-23 00:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580359168001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580359168001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:04:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:04:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580359168001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":160152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:04:29] local.INFO: GPS data processed {"connection_id":160152,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:04:29] local.INFO: Acknowledgment sent {"connection_id":160152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:04:49] local.INFO: TCP Data received {"connection_id":160153,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:04:49] local.INFO: Processing buffer {"connection_id":160153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:04:49] local.INFO: IMEI packet received {"connection_id":160153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":160153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:04:51] local.INFO: TCP Data received {"connection_id":160368,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:04:51] local.INFO: Processing buffer {"connection_id":160368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:04:51] local.INFO: IMEI packet received {"connection_id":160368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":160368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:04:53] local.INFO: TCP Data received {"connection_id":160153,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:04:53] local.INFO: Processing buffer {"connection_id":160153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:04:53] local.INFO: IMEI packet received {"connection_id":160153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":160153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:04:53] local.INFO: TCP Data received {"connection_id":160153,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:04:53] local.INFO: Processing buffer {"connection_id":160153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:04:53] local.INFO: IMEI packet received {"connection_id":160153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":160153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:04:54] local.INFO: TCP Data received {"connection_id":160153,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:04:54] local.INFO: Processing buffer {"connection_id":160153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:04:54] local.INFO: IMEI packet received {"connection_id":160153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":160153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:04:56] local.INFO: TCP Data received {"connection_id":160368,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:04:56] local.INFO: Processing buffer {"connection_id":160368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:04:56] local.INFO: IMEI packet received {"connection_id":160368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":160368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:04:57] local.INFO: TCP Data received {"connection_id":160368,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:04:57] local.INFO: Processing buffer {"connection_id":160368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:04:57] local.INFO: Packet analysis {"connection_id":160368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:04:57] local.INFO: Extracted packet for processing {"connection_id":160368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:04:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580359168001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787423579000,"timestamp_ms":1787423579000,"timestamp_seconds":1787423579,"priority":1,"record_length":96,"hex_timestamp":"000001a02abf5b78"} 
[2026-08-23 00:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:04: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-08-23 00:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580359168001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580359168001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:04:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:04:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580359168001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":160368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:04:57] local.INFO: GPS data processed {"connection_id":160368,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:04:57] local.INFO: Acknowledgment sent {"connection_id":160368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:05:28] local.INFO: TCP Data received {"connection_id":160368,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:05:28] local.INFO: Processing buffer {"connection_id":160368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:05:28] local.INFO: Packet analysis {"connection_id":160368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:05:28] local.INFO: Extracted packet for processing {"connection_id":160368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:05:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580359168001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787423579000,"timestamp_ms":1787423579000,"timestamp_seconds":1787423579,"priority":1,"record_length":96,"hex_timestamp":"000001a02abf5b78"} 
[2026-08-23 00:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580359168001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580359168001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:05:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:05:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580359168001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":160368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:05:28] local.INFO: GPS data processed {"connection_id":160368,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:05:28] local.INFO: Acknowledgment sent {"connection_id":160368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:05:56] local.INFO: TCP Data received {"connection_id":161325,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:05:56] local.INFO: Processing buffer {"connection_id":161325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:05:56] local.INFO: IMEI packet received {"connection_id":161325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":161325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:06:01] local.INFO: TCP Data received {"connection_id":161325,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:06:01] local.INFO: Processing buffer {"connection_id":161325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:06:01] local.INFO: IMEI packet received {"connection_id":161325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":161325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:06:02] local.INFO: TCP Data received {"connection_id":161325,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:06:02] local.INFO: Processing buffer {"connection_id":161325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:06:02] local.INFO: Packet analysis {"connection_id":161325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:06:02] local.INFO: Extracted packet for processing {"connection_id":161325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:06:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580359168001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787423579000,"timestamp_ms":1787423579000,"timestamp_seconds":1787423579,"priority":1,"record_length":96,"hex_timestamp":"000001a02abf5b78"} 
[2026-08-23 00:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:06: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-08-23 00:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580359168001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580359168001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:06:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:06:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580359168001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":161325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:06:02] local.INFO: GPS data processed {"connection_id":161325,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:06:02] local.INFO: Acknowledgment sent {"connection_id":161325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:06:07] local.INFO: TCP Data received {"connection_id":161325,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:06:07] local.INFO: Processing buffer {"connection_id":161325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:06:07] local.INFO: Packet analysis {"connection_id":161325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:06:07] local.INFO: Extracted packet for processing {"connection_id":161325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580359168001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787423579000,"timestamp_ms":1787423579000,"timestamp_seconds":1787423579,"priority":1,"record_length":96,"hex_timestamp":"000001a02abf5b78"} 
[2026-08-23 00:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:06:07] 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-08-23 00:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580359168001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580359168001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:06:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580359168001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":161325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:06:07] local.INFO: GPS data processed {"connection_id":161325,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:06:07] local.INFO: Acknowledgment sent {"connection_id":161325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:06:51] local.INFO: TCP Data received {"connection_id":160155,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:06:51] local.INFO: Processing buffer {"connection_id":160155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:06:51] local.INFO: IMEI packet received {"connection_id":160155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":160155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:06:56] local.INFO: TCP Data received {"connection_id":160155,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:06:56] local.INFO: Processing buffer {"connection_id":160155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:06:56] local.INFO: IMEI packet received {"connection_id":160155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":160155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:06:57] local.INFO: TCP Data received {"connection_id":160155,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:06:57] local.INFO: Processing buffer {"connection_id":160155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:06:57] local.INFO: Packet analysis {"connection_id":160155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:06:57] local.INFO: Extracted packet for processing {"connection_id":160155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:06:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580359168001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787423579000,"timestamp_ms":1787423579000,"timestamp_seconds":1787423579,"priority":1,"record_length":96,"hex_timestamp":"000001a02abf5b78"} 
[2026-08-23 00:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:06: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-08-23 00:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580359168001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580359168001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:06:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:06:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580359168001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":160155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:06:57] local.INFO: GPS data processed {"connection_id":160155,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:06:57] local.INFO: Acknowledgment sent {"connection_id":160155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:07:28] local.INFO: TCP Data received {"connection_id":160155,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:07:28] local.INFO: Processing buffer {"connection_id":160155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:07:28] local.INFO: Packet analysis {"connection_id":160155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:07:28] local.INFO: Extracted packet for processing {"connection_id":160155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580359168001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787423579000,"timestamp_ms":1787423579000,"timestamp_seconds":1787423579,"priority":1,"record_length":96,"hex_timestamp":"000001a02abf5b78"} 
[2026-08-23 00:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580359168001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580359168001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:07:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:07:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580359168001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":160155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:07:29] local.INFO: GPS data processed {"connection_id":160155,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:07:29] local.INFO: Acknowledgment sent {"connection_id":160155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:07:51] local.INFO: TCP Data received {"connection_id":162735,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:07:51] local.INFO: Processing buffer {"connection_id":162735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:07:51] local.INFO: IMEI packet received {"connection_id":162735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":162735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:07:56] local.INFO: TCP Data received {"connection_id":162735,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:07:56] local.INFO: Processing buffer {"connection_id":162735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:07:56] local.INFO: IMEI packet received {"connection_id":162735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":162735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:07:57] local.INFO: TCP Data received {"connection_id":162735,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:07:57] local.INFO: Processing buffer {"connection_id":162735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:07:57] local.INFO: Packet analysis {"connection_id":162735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:07:57] local.INFO: Extracted packet for processing {"connection_id":162735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:07:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580359168001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787423579000,"timestamp_ms":1787423579000,"timestamp_seconds":1787423579,"priority":1,"record_length":96,"hex_timestamp":"000001a02abf5b78"} 
[2026-08-23 00:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:07: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-08-23 00:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580359168001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580359168001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:07:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:07:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580359168001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":162735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:07:57] local.INFO: GPS data processed {"connection_id":162735,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:07:57] local.INFO: Acknowledgment sent {"connection_id":162735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:08:28] local.INFO: TCP Data received {"connection_id":162735,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:08:28] local.INFO: Processing buffer {"connection_id":162735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02abf5b78012d196540071ff1b0004001372a..."} 
[2026-08-23 00:08:28] local.INFO: Packet analysis {"connection_id":162735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:08:28] local.INFO: Extracted packet for processing {"connection_id":162735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02abf"} 
[2026-08-23 00:08:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580359168001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787423579000,"timestamp_ms":1787423579000,"timestamp_seconds":1787423579,"priority":1,"record_length":96,"hex_timestamp":"000001a02abf5b78"} 
[2026-08-23 00:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580359168001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580359168001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:08:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:08:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580359168001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":162735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:08:28] local.INFO: GPS data processed {"connection_id":162735,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:08:28] local.INFO: Acknowledgment sent {"connection_id":162735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:08:51] local.INFO: TCP Data received {"connection_id":160369,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:08:51] local.INFO: Processing buffer {"connection_id":160369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:08:51] local.INFO: IMEI packet received {"connection_id":160369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":160369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:08:56] local.INFO: TCP Data received {"connection_id":160369,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:08:56] local.INFO: Processing buffer {"connection_id":160369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:08:56] local.INFO: IMEI packet received {"connection_id":160369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":160369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:08:57] local.INFO: TCP Data received {"connection_id":160369,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:08:57] local.INFO: Processing buffer {"connection_id":160369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:08:57] local.INFO: Packet analysis {"connection_id":160369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac3"} 
[2026-08-23 00:08:57] local.INFO: Extracted packet for processing {"connection_id":160369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac3"} 
[2026-08-23 00:08:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580436224001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787423880000,"timestamp_ms":1787423880000,"timestamp_seconds":1787423880,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac3f340"} 
[2026-08-23 00:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:08: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-08-23 00:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580436224001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580436224001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:08:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:08:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580436224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":160369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:08:57] local.INFO: GPS data processed {"connection_id":160369,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:08:57] local.INFO: Acknowledgment sent {"connection_id":160369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:09:28] local.INFO: TCP Data received {"connection_id":160369,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:09:28] local.INFO: Processing buffer {"connection_id":160369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:09:28] local.INFO: Packet analysis {"connection_id":160369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac3"} 
[2026-08-23 00:09:28] local.INFO: Extracted packet for processing {"connection_id":160369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac3"} 
[2026-08-23 00:09:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580436224001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787423880000,"timestamp_ms":1787423880000,"timestamp_seconds":1787423880,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac3f340"} 
[2026-08-23 00:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:09: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-08-23 00:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580436224001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580436224001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:09:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:09:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580436224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":160369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:09:28] local.INFO: GPS data processed {"connection_id":160369,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:09:28] local.INFO: Acknowledgment sent {"connection_id":160369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:09:51] local.INFO: TCP Data received {"connection_id":160371,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:09:51] local.INFO: Processing buffer {"connection_id":160371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:09:51] local.INFO: IMEI packet received {"connection_id":160371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":160371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:09:56] local.INFO: TCP Data received {"connection_id":160371,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:09:56] local.INFO: Processing buffer {"connection_id":160371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:09:56] local.INFO: IMEI packet received {"connection_id":160371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":160371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:09:57] local.INFO: TCP Data received {"connection_id":160371,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:09:57] local.INFO: Processing buffer {"connection_id":160371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:09:57] local.INFO: Packet analysis {"connection_id":160371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac3"} 
[2026-08-23 00:09:57] local.INFO: Extracted packet for processing {"connection_id":160371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac3"} 
[2026-08-23 00:09:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580436224001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787423880000,"timestamp_ms":1787423880000,"timestamp_seconds":1787423880,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac3f340"} 
[2026-08-23 00:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:09: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-08-23 00:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580436224001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580436224001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:09:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:09:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580436224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":160371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:09:57] local.INFO: GPS data processed {"connection_id":160371,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:09:57] local.INFO: Acknowledgment sent {"connection_id":160371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:09:58] local.INFO: TCP Data received {"connection_id":160370,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:09:58] local.INFO: Processing buffer {"connection_id":160370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:09:58] local.INFO: IMEI packet received {"connection_id":160370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":160370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:09:59] local.INFO: TCP Data received {"connection_id":160370,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac41280012d6d40c0060da9b0000701662f..."} 
[2026-08-23 00:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac41280012d6d40c0060da9b0000701662f..."} 
[2026-08-23 00:09:59] local.INFO: Processing buffer {"connection_id":160370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac41280012d6d40c0060da9b0000701662f..."} 
[2026-08-23 00:09:59] local.INFO: Packet analysis {"connection_id":160370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac4"} 
[2026-08-23 00:09:59] local.INFO: Extracted packet for processing {"connection_id":160370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac4"} 
[2026-08-23 00:09:59] local.INFO: GPS Element Parsed {"raw_longitude":762134720,"raw_latitude":101558704,"longitude_deg":76.213472,"latitude_deg":10.1558704,"altitude":7,"angle":358,"satellites":47,"speed":14,"hex_longitude":"2d6d40c0","hex_latitude":"060da9b0","is_valid_coordinates":true} 
[2026-08-23 00:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580509952001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389277070997323776,"note":"Value kept but may cause issues"} 
[2026-08-23 00:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7872714387106654208,"note":"Value kept but may cause issues"} 
[2026-08-23 00:09:59] 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-08-23 00:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787423888000,"timestamp_ms":1787423888000,"timestamp_seconds":1787423888,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac41280"} 
[2026-08-23 00:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-23 00:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:09:59] 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-08-23 00:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580509952001,"66":27343,"46":206,"79":46336,"24":14,"16":389277070997323776,"45":7872714387106654208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-08-23 00:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580509952001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:09:59] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-23 00:09:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389277070997323776,"km_value":389277070997323.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7872714387106654208,"description":"Unknown IO ID 45"} 
[2026-08-23 00:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580509952001,"power":27343,"unknown_46":206,"unknown_79":46336,"ignition":14,"odometer":null,"unknown_45":7872714387106654208}} 
[2026-08-23 00:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":160370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:09:59] local.INFO: GPS data processed {"connection_id":160370,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:09:59] local.INFO: Acknowledgment sent {"connection_id":160370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:10:28] local.INFO: TCP Data received {"connection_id":160371,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:10:28] local.INFO: Processing buffer {"connection_id":160371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:10:28] local.INFO: Packet analysis {"connection_id":160371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac3"} 
[2026-08-23 00:10:28] local.INFO: Extracted packet for processing {"connection_id":160371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac3"} 
[2026-08-23 00:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580436224001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787423880000,"timestamp_ms":1787423880000,"timestamp_seconds":1787423880,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac3f340"} 
[2026-08-23 00:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:10: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-08-23 00:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580436224001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580436224001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:10:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:10:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580436224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":160371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:10:28] local.INFO: GPS data processed {"connection_id":160371,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:10:28] local.INFO: Acknowledgment sent {"connection_id":160371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:10:30] local.INFO: TCP Data received {"connection_id":160370,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac45100012d6d4000060db970000600082e..."} 
[2026-08-23 00:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac45100012d6d4000060db970000600082e..."} 
[2026-08-23 00:10:30] local.INFO: Processing buffer {"connection_id":160370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac45100012d6d4000060db970000600082e..."} 
[2026-08-23 00:10:30] local.INFO: Packet analysis {"connection_id":160370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac4"} 
[2026-08-23 00:10:30] local.INFO: Extracted packet for processing {"connection_id":160370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac4"} 
[2026-08-23 00:10:30] local.INFO: GPS Element Parsed {"raw_longitude":762134528,"raw_latitude":101562736,"longitude_deg":76.2134528,"latitude_deg":10.1562736,"altitude":6,"angle":8,"satellites":46,"speed":8,"hex_longitude":"2d6d4000","hex_latitude":"060db970","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580515328001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389277268565819392,"note":"Value kept but may cause issues"} 
[2026-08-23 00:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7872503280875188224,"note":"Value kept but may cause issues"} 
[2026-08-23 00:10:30] 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-08-23 00:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787423904000,"timestamp_ms":1787423904000,"timestamp_seconds":1787423904,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac45100"} 
[2026-08-23 00:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 00:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:10:30] 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-08-23 00:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580515328001,"66":27343,"46":206,"79":46336,"24":8,"16":389277268565819392,"45":7872503280875188224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-08-23 00:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580515328001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:10:30] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-23 00:10:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389277268565819392,"km_value":389277268565819.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7872503280875188224,"description":"Unknown IO ID 45"} 
[2026-08-23 00:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580515328001,"power":27343,"unknown_46":206,"unknown_79":46336,"ignition":8,"odometer":null,"unknown_45":7872503280875188224}} 
[2026-08-23 00:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":160370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:10:30] local.INFO: GPS data processed {"connection_id":160370,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:10:30] local.INFO: Acknowledgment sent {"connection_id":160370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:10:46] local.INFO: TCP Data received {"connection_id":160156,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:10:46] local.INFO: Processing buffer {"connection_id":160156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:10:46] local.INFO: IMEI packet received {"connection_id":160156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":160156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:10:47] local.INFO: TCP Data received {"connection_id":160156,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:10:47] local.INFO: Processing buffer {"connection_id":160156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:10:47] local.INFO: IMEI packet received {"connection_id":160156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":160156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:10:48] local.INFO: TCP Data received {"connection_id":160156,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:10:48] local.INFO: Processing buffer {"connection_id":160156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:10:48] local.INFO: IMEI packet received {"connection_id":160156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":160156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:10:49] local.INFO: TCP Data received {"connection_id":160156,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac49f20012d6d4300060dcc08000601642e..."} 
[2026-08-23 00:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac49f20012d6d4300060dcc08000601642e..."} 
[2026-08-23 00:10:49] local.INFO: Processing buffer {"connection_id":160156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac49f20012d6d4300060dcc08000601642e..."} 
[2026-08-23 00:10:49] local.INFO: Packet analysis {"connection_id":160156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac4"} 
[2026-08-23 00:10:49] local.INFO: Extracted packet for processing {"connection_id":160156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac4"} 
[2026-08-23 00:10:49] local.INFO: GPS Element Parsed {"raw_longitude":762135296,"raw_latitude":101567496,"longitude_deg":76.2135296,"latitude_deg":10.1567496,"altitude":6,"angle":356,"satellites":46,"speed":13,"hex_longitude":"2d6d4300","hex_latitude":"060dcc08","is_valid_coordinates":true} 
[2026-08-23 00:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580519424001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389277504789020672,"note":"Value kept but may cause issues"} 
[2026-08-23 00:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7872292174643687424,"note":"Value kept but may cause issues"} 
[2026-08-23 00:10:49] 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-08-23 00:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787423924000,"timestamp_ms":1787423924000,"timestamp_seconds":1787423924,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac49f20"} 
[2026-08-23 00:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:10: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-08-23 00:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 00:10:49] 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-08-23 00:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":160156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":160156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":160156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:10:49] 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-08-23 00:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580519424001,"66":27484,"46":206,"79":46336,"24":13,"16":389277504789020672,"45":7872292174643687424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-08-23 00:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580519424001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:10:49] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-23 00:10:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389277504789020672,"km_value":389277504789020.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":7872292174643687424,"description":"Unknown IO ID 45"} 
[2026-08-23 00:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580519424001,"power":27484,"unknown_46":206,"unknown_79":46336,"ignition":13,"odometer":null,"unknown_45":7872292174643687424}} 
[2026-08-23 00:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":160156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:10:49] local.INFO: GPS data processed {"connection_id":160156,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:10:49] local.INFO: Acknowledgment sent {"connection_id":160156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:10:56] local.INFO: TCP Data received {"connection_id":162737,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:10:56] local.INFO: Processing buffer {"connection_id":162737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:10:56] local.INFO: IMEI packet received {"connection_id":162737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":162737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:11:01] local.INFO: TCP Data received {"connection_id":162737,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:11:01] local.INFO: Processing buffer {"connection_id":162737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:11:01] local.INFO: IMEI packet received {"connection_id":162737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":162737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:11:02] local.INFO: TCP Data received {"connection_id":162737,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:11:02] local.INFO: Processing buffer {"connection_id":162737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:11:02] local.INFO: Packet analysis {"connection_id":162737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac3"} 
[2026-08-23 00:11:02] local.INFO: Extracted packet for processing {"connection_id":162737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac3"} 
[2026-08-23 00:11:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580436224001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787423880000,"timestamp_ms":1787423880000,"timestamp_seconds":1787423880,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac3f340"} 
[2026-08-23 00:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:11: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-08-23 00:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580436224001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580436224001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:11:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:11:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580436224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":162737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:11:02] local.INFO: GPS data processed {"connection_id":162737,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:11:02] local.INFO: Acknowledgment sent {"connection_id":162737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:11:07] local.INFO: TCP Data received {"connection_id":162737,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:11:07] local.INFO: Processing buffer {"connection_id":162737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:11:07] local.INFO: Packet analysis {"connection_id":162737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac3"} 
[2026-08-23 00:11:07] local.INFO: Extracted packet for processing {"connection_id":162737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac3"} 
[2026-08-23 00:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580436224001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787423880000,"timestamp_ms":1787423880000,"timestamp_seconds":1787423880,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac3f340"} 
[2026-08-23 00:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580436224001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580436224001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:11:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:11:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580436224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":162737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:11:07] local.INFO: GPS data processed {"connection_id":162737,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:11:07] local.INFO: Acknowledgment sent {"connection_id":162737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:11:20] local.INFO: TCP Data received {"connection_id":160156,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac60680012d6d4440060e31180006001b2f..."} 
[2026-08-23 00:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac60680012d6d4440060e31180006001b2f..."} 
[2026-08-23 00:11:20] local.INFO: Processing buffer {"connection_id":160156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac60680012d6d4440060e31180006001b2f..."} 
[2026-08-23 00:11:20] local.INFO: Packet analysis {"connection_id":160156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac6"} 
[2026-08-23 00:11:20] local.INFO: Extracted packet for processing {"connection_id":160156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac6"} 
[2026-08-23 00:11:20] local.INFO: GPS Element Parsed {"raw_longitude":762135616,"raw_latitude":101593368,"longitude_deg":76.2135616,"latitude_deg":10.1593368,"altitude":6,"angle":27,"satellites":47,"speed":8,"hex_longitude":"2d6d4440","hex_latitude":"060e3118","is_valid_coordinates":true} 
[2026-08-23 00:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580546816001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7872995862093008896,"note":"Value kept but may cause issues"} 
[2026-08-23 00:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389278823343980544,"note":"Value kept but may cause issues"} 
[2026-08-23 00:11: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-08-23 00:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787424016000,"timestamp_ms":1787424016000,"timestamp_seconds":1787424016,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac60680"} 
[2026-08-23 00:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:11: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-08-23 00:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-23 00:11:20] 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-08-23 00:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":160156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":160156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":160156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:11:20] 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-08-23 00:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580546816001,"66":27365,"45":7872995862093008896,"79":46336,"24":8,"16":389278823343980544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-08-23 00:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580546816001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7872995862093008896,"description":"Unknown IO ID 45"} 
[2026-08-23 00:11:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389278823343980544,"km_value":389278823343980.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:11:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457580546816001,"power":27365,"unknown_45":7872995862093008896,"unknown_79":46336,"ignition":8,"odometer":null}} 
[2026-08-23 00:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":160156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:11:20] local.INFO: GPS data processed {"connection_id":160156,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:11:20] local.INFO: Acknowledgment sent {"connection_id":160156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:11:48] local.INFO: TCP Data received {"connection_id":160157,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:11:48] local.INFO: Processing buffer {"connection_id":160157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:11:48] local.INFO: IMEI packet received {"connection_id":160157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":160157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:11:51] local.INFO: TCP Data received {"connection_id":160372,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:11:51] local.INFO: Processing buffer {"connection_id":160372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:11:51] local.INFO: IMEI packet received {"connection_id":160372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":160372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:11:53] local.INFO: TCP Data received {"connection_id":160157,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:11:53] local.INFO: Processing buffer {"connection_id":160157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:11:53] local.INFO: IMEI packet received {"connection_id":160157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":160157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:11:54] local.INFO: TCP Data received {"connection_id":160157,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac60e50012d6d44c0060e32a00006000e2f..."} 
[2026-08-23 00:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac60e50012d6d44c0060e32a00006000e2f..."} 
[2026-08-23 00:11:54] local.INFO: Processing buffer {"connection_id":160157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac60e50012d6d44c0060e32a00006000e2f..."} 
[2026-08-23 00:11:54] local.INFO: Packet analysis {"connection_id":160157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac6"} 
[2026-08-23 00:11:54] local.INFO: Extracted packet for processing {"connection_id":160157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac6"} 
[2026-08-23 00:11:54] local.INFO: GPS Element Parsed {"raw_longitude":762135744,"raw_latitude":101593760,"longitude_deg":76.2135744,"latitude_deg":10.159376,"altitude":6,"angle":14,"satellites":47,"speed":8,"hex_longitude":"2d6d44c0","hex_latitude":"060e32a0","is_valid_coordinates":true} 
[2026-08-23 00:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580548096001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7873488443302549504,"note":"Value kept but may cause issues"} 
[2026-08-23 00:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389278844818817024,"note":"Value kept but may cause issues"} 
[2026-08-23 00:11:54] 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-08-23 00:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787424018000,"timestamp_ms":1787424018000,"timestamp_seconds":1787424018,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac60e50"} 
[2026-08-23 00:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:11: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-08-23 00:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 00:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:11:54] 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-08-23 00:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580548096001,"66":27484,"45":7873488443302549504,"79":46336,"24":8,"16":389278844818817024},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-08-23 00:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580548096001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7873488443302549504,"description":"Unknown IO ID 45"} 
[2026-08-23 00:11:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389278844818817024,"km_value":389278844818817.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:11:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457580548096001,"power":27484,"unknown_45":7873488443302549504,"unknown_79":46336,"ignition":8,"odometer":null}} 
[2026-08-23 00:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":160157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:11:54] local.INFO: GPS data processed {"connection_id":160157,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:11:54] local.INFO: Acknowledgment sent {"connection_id":160157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:11:56] local.INFO: TCP Data received {"connection_id":160372,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:11:56] local.INFO: Processing buffer {"connection_id":160372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:11:56] local.INFO: IMEI packet received {"connection_id":160372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":160372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:11:57] local.INFO: TCP Data received {"connection_id":160372,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:11:57] local.INFO: Processing buffer {"connection_id":160372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:11:57] local.INFO: Packet analysis {"connection_id":160372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac3"} 
[2026-08-23 00:11:57] local.INFO: Extracted packet for processing {"connection_id":160372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac3"} 
[2026-08-23 00:11:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580436224001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787423880000,"timestamp_ms":1787423880000,"timestamp_seconds":1787423880,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac3f340"} 
[2026-08-23 00:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:11: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-08-23 00:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:11:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580436224001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580436224001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:11:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:11:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580436224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":160372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:11:57] local.INFO: GPS data processed {"connection_id":160372,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:11:57] local.INFO: Acknowledgment sent {"connection_id":160372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:12:25] local.INFO: TCP Data received {"connection_id":160157,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac66058012d6d4a80060e49a80004000b2f..."} 
[2026-08-23 00:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac66058012d6d4a80060e49a80004000b2f..."} 
[2026-08-23 00:12:25] local.INFO: Processing buffer {"connection_id":160157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac66058012d6d4a80060e49a80004000b2f..."} 
[2026-08-23 00:12:25] local.INFO: Packet analysis {"connection_id":160157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac6"} 
[2026-08-23 00:12:25] local.INFO: Extracted packet for processing {"connection_id":160157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac6"} 
[2026-08-23 00:12:25] local.INFO: GPS Element Parsed {"raw_longitude":762137216,"raw_latitude":101599656,"longitude_deg":76.2137216,"latitude_deg":10.1599656,"altitude":4,"angle":11,"satellites":47,"speed":8,"hex_longitude":"2d6d4a80","hex_latitude":"060e49a8","is_valid_coordinates":true} 
[2026-08-23 00:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580548608001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7873629180791005184,"note":"Value kept but may cause issues"} 
[2026-08-23 00:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389279136876593152,"note":"Value kept but may cause issues"} 
[2026-08-23 00:12:25] 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-08-23 00:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787424039000,"timestamp_ms":1787424039000,"timestamp_seconds":1787424039,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac66058"} 
[2026-08-23 00:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 00:12: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-08-23 00:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:12:25] 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-08-23 00:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580548608001,"66":27397,"45":7873629180791005184,"79":46336,"24":8,"16":389279136876593152},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-08-23 00:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580548608001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":7873629180791005184,"description":"Unknown IO ID 45"} 
[2026-08-23 00:12:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389279136876593152,"km_value":389279136876593.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:12:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457580548608001,"power":27397,"unknown_45":7873629180791005184,"unknown_79":46336,"ignition":8,"odometer":null}} 
[2026-08-23 00:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":160157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:12:25] local.INFO: GPS data processed {"connection_id":160157,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:12:25] local.INFO: Acknowledgment sent {"connection_id":160157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:12:28] local.INFO: TCP Data received {"connection_id":160372,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:12:28] local.INFO: Processing buffer {"connection_id":160372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:12:28] local.INFO: Packet analysis {"connection_id":160372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac3"} 
[2026-08-23 00:12:28] local.INFO: Extracted packet for processing {"connection_id":160372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac3"} 
[2026-08-23 00:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580436224001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787423880000,"timestamp_ms":1787423880000,"timestamp_seconds":1787423880,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac3f340"} 
[2026-08-23 00:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:12: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-08-23 00:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580436224001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580436224001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:12:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:12:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580436224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":160372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:12:28] local.INFO: GPS data processed {"connection_id":160372,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:12:28] local.INFO: Acknowledgment sent {"connection_id":160372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:12:47] local.INFO: TCP Data received {"connection_id":160158,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:12:47] local.INFO: Processing buffer {"connection_id":160158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:12:47] local.INFO: IMEI packet received {"connection_id":160158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":160158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:12:51] local.INFO: TCP Data received {"connection_id":162738,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:12:51] local.INFO: Processing buffer {"connection_id":162738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:12:51] local.INFO: IMEI packet received {"connection_id":162738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":162738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:12:53] local.INFO: TCP Data received {"connection_id":160158,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:12:53] local.INFO: Processing buffer {"connection_id":160158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:12:53] local.INFO: IMEI packet received {"connection_id":160158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":160158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:12:54] local.INFO: TCP Data received {"connection_id":160158,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac69af0012d6d4d00060e52000006001a2f..."} 
[2026-08-23 00:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac69af0012d6d4d00060e52000006001a2f..."} 
[2026-08-23 00:12:54] local.INFO: Processing buffer {"connection_id":160158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac69af0012d6d4d00060e52000006001a2f..."} 
[2026-08-23 00:12:54] local.INFO: Packet analysis {"connection_id":160158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac6"} 
[2026-08-23 00:12:54] local.INFO: Extracted packet for processing {"connection_id":160158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac6"} 
[2026-08-23 00:12:54] local.INFO: GPS Element Parsed {"raw_longitude":762137856,"raw_latitude":101601792,"longitude_deg":76.2137856,"latitude_deg":10.1601792,"altitude":6,"angle":26,"satellites":47,"speed":6,"hex_longitude":"2d6d4d00","hex_latitude":"060e5200","is_valid_coordinates":true} 
[2026-08-23 00:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580553984001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7875247661908600832,"note":"Value kept but may cause issues"} 
[2026-08-23 00:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389279248545742848,"note":"Value kept but may cause issues"} 
[2026-08-23 00:12:54] 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-08-23 00:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787424054000,"timestamp_ms":1787424054000,"timestamp_seconds":1787424054,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac69af0"} 
[2026-08-23 00:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:12: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-08-23 00:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 00:12: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-08-23 00:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:12:54] 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-08-23 00:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580553984001,"66":27213,"45":7875247661908600832,"79":46336,"24":6,"16":389279248545742848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-08-23 00:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580553984001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7875247661908600832,"description":"Unknown IO ID 45"} 
[2026-08-23 00:12:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389279248545742848,"km_value":389279248545742.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:12:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457580553984001,"power":27213,"unknown_45":7875247661908600832,"unknown_79":46336,"ignition":6,"odometer":null}} 
[2026-08-23 00:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":160158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:12:54] local.INFO: GPS data processed {"connection_id":160158,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:12:54] local.INFO: Acknowledgment sent {"connection_id":160158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:12:56] local.INFO: TCP Data received {"connection_id":162738,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:12:56] local.INFO: Processing buffer {"connection_id":162738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:12:56] local.INFO: IMEI packet received {"connection_id":162738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":162738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:12:57] local.INFO: TCP Data received {"connection_id":162738,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:12:57] local.INFO: Processing buffer {"connection_id":162738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:12:57] local.INFO: Packet analysis {"connection_id":162738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac3"} 
[2026-08-23 00:12:57] local.INFO: Extracted packet for processing {"connection_id":162738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac3"} 
[2026-08-23 00:12:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580436224001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787423880000,"timestamp_ms":1787423880000,"timestamp_seconds":1787423880,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac3f340"} 
[2026-08-23 00:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:12: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-08-23 00: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580436224001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580436224001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:12:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:12:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580436224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":162738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:12:57] local.INFO: GPS data processed {"connection_id":162738,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:12:57] local.INFO: Acknowledgment sent {"connection_id":162738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:13:25] local.INFO: TCP Data received {"connection_id":160158,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac6ecf8012d6d5640060e63d0000600162e..."} 
[2026-08-23 00:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac6ecf8012d6d5640060e63d0000600162e..."} 
[2026-08-23 00:13:25] local.INFO: Processing buffer {"connection_id":160158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac6ecf8012d6d5640060e63d0000600162e..."} 
[2026-08-23 00:13:25] local.INFO: Packet analysis {"connection_id":160158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac6"} 
[2026-08-23 00:13:25] local.INFO: Extracted packet for processing {"connection_id":160158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac6"} 
[2026-08-23 00:13:25] local.INFO: GPS Element Parsed {"raw_longitude":762140224,"raw_latitude":101606352,"longitude_deg":76.2140224,"latitude_deg":10.1606352,"altitude":6,"angle":22,"satellites":46,"speed":16,"hex_longitude":"2d6d5640","hex_latitude":"060e63d0","is_valid_coordinates":true} 
[2026-08-23 00:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580557824001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7875951349350924288,"note":"Value kept but may cause issues"} 
[2026-08-23 00:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389279497653846016,"note":"Value kept but may cause issues"} 
[2026-08-23 00:13:25] 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-08-23 00:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787424075000,"timestamp_ms":1787424075000,"timestamp_seconds":1787424075,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac6ecf8"} 
[2026-08-23 00:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 00:13: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-08-23 00:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:13:25] 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-08-23 00:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580557824001,"66":26571,"45":7875951349350924288,"79":46336,"24":16,"16":389279497653846016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-08-23 00:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580557824001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":7875951349350924288,"description":"Unknown IO ID 45"} 
[2026-08-23 00:13:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389279497653846016,"km_value":389279497653846.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:13:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457580557824001,"power":26571,"unknown_45":7875951349350924288,"unknown_79":46336,"ignition":16,"odometer":null}} 
[2026-08-23 00:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":160158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:13:25] local.INFO: GPS data processed {"connection_id":160158,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:13:25] local.INFO: Acknowledgment sent {"connection_id":160158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:13:28] local.INFO: TCP Data received {"connection_id":162738,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:13:28] local.INFO: Processing buffer {"connection_id":162738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac3f340012d196540071ff1b0004001372b..."} 
[2026-08-23 00:13:28] local.INFO: Packet analysis {"connection_id":162738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac3"} 
[2026-08-23 00:13:28] local.INFO: Extracted packet for processing {"connection_id":162738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac3"} 
[2026-08-23 00:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":64,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580436224001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787423880000,"timestamp_ms":1787423880000,"timestamp_seconds":1787423880,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac3f340"} 
[2026-08-23 00:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00: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-08-23 00: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580436224001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580436224001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:13:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:13:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580436224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":162738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:13:28] local.INFO: GPS data processed {"connection_id":162738,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:13:28] local.INFO: Acknowledgment sent {"connection_id":162738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:13:48] local.INFO: TCP Data received {"connection_id":161326,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:13:48] local.INFO: Processing buffer {"connection_id":161326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:13:48] local.INFO: IMEI packet received {"connection_id":161326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":161326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:13:51] local.INFO: TCP Data received {"connection_id":161327,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:13:51] local.INFO: Processing buffer {"connection_id":161327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:13:51] local.INFO: IMEI packet received {"connection_id":161327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":161327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:13:52] local.INFO: TCP Data received {"connection_id":161326,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:13:52] local.INFO: Processing buffer {"connection_id":161326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:13:52] local.INFO: IMEI packet received {"connection_id":161326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":161326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:13:52] local.INFO: TCP Data received {"connection_id":161326,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac73f00012d6d6140060e85000007000d2f..."} 
[2026-08-23 00:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac73f00012d6d6140060e85000007000d2f..."} 
[2026-08-23 00:13:52] local.INFO: Processing buffer {"connection_id":161326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac73f00012d6d6140060e85000007000d2f..."} 
[2026-08-23 00:13:52] local.INFO: Packet analysis {"connection_id":161326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac7"} 
[2026-08-23 00:13:52] local.INFO: Extracted packet for processing {"connection_id":161326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac7"} 
[2026-08-23 00:13:52] local.INFO: GPS Element Parsed {"raw_longitude":762143040,"raw_latitude":101614848,"longitude_deg":76.214304,"latitude_deg":10.1614848,"altitude":7,"angle":13,"satellites":47,"speed":22,"hex_longitude":"2d6d6140","hex_latitude":"060e8500","is_valid_coordinates":true} 
[2026-08-23 00:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580563200001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7878554992886665216,"note":"Value kept but may cause issues"} 
[2026-08-23 00:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389279931445542912,"note":"Value kept but may cause issues"} 
[2026-08-23 00:13:52] 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-08-23 00:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787424096000,"timestamp_ms":1787424096000,"timestamp_seconds":1787424096,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac73f00"} 
[2026-08-23 00:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-23 00:13:52] 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-08-23 00:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:13:52] 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-08-23 00:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580563200001,"66":27343,"45":7878554992886665216,"79":46336,"24":22,"16":389279931445542912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-08-23 00:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580563200001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":7878554992886665216,"description":"Unknown IO ID 45"} 
[2026-08-23 00:13:52] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389279931445542912,"km_value":389279931445542.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:13:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457580563200001,"power":27343,"unknown_45":7878554992886665216,"unknown_79":46336,"ignition":22,"odometer":null}} 
[2026-08-23 00:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":161326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:13:52] local.INFO: GPS data processed {"connection_id":161326,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:13:52] local.INFO: Acknowledgment sent {"connection_id":161326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:13:56] local.INFO: TCP Data received {"connection_id":161327,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:13:56] local.INFO: Processing buffer {"connection_id":161327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:13:56] local.INFO: IMEI packet received {"connection_id":161327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":161327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:13:57] local.INFO: TCP Data received {"connection_id":161327,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:13:57] local.INFO: Processing buffer {"connection_id":161327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:13:57] local.INFO: Packet analysis {"connection_id":161327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac8"} 
[2026-08-23 00:13:57] local.INFO: Extracted packet for processing {"connection_id":161327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac8"} 
[2026-08-23 00:13:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580513280001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787424181000,"timestamp_ms":1787424181000,"timestamp_seconds":1787424181,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac88b08"} 
[2026-08-23 00:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:13: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-08-23 00:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580513280001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580513280001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:13:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:13:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580513280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":161327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:13:57] local.INFO: GPS data processed {"connection_id":161327,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:13:57] local.INFO: Acknowledgment sent {"connection_id":161327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:14:24] local.INFO: TCP Data received {"connection_id":161326,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac73f00012d6d6140060e85000007000d2f..."} 
[2026-08-23 00:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac73f00012d6d6140060e85000007000d2f..."} 
[2026-08-23 00:14:24] local.INFO: Processing buffer {"connection_id":161326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac73f00012d6d6140060e85000007000d2f..."} 
[2026-08-23 00:14:24] local.INFO: Packet analysis {"connection_id":161326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac7"} 
[2026-08-23 00:14:24] local.INFO: Extracted packet for processing {"connection_id":161326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac7"} 
[2026-08-23 00:14:24] local.INFO: GPS Element Parsed {"raw_longitude":762143040,"raw_latitude":101614848,"longitude_deg":76.214304,"latitude_deg":10.1614848,"altitude":7,"angle":13,"satellites":47,"speed":22,"hex_longitude":"2d6d6140","hex_latitude":"060e8500","is_valid_coordinates":true} 
[2026-08-23 00:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580568576001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7881651217632657408,"note":"Value kept but may cause issues"} 
[2026-08-23 00:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389279931445542912,"note":"Value kept but may cause issues"} 
[2026-08-23 00:14:24] 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-08-23 00:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787424096000,"timestamp_ms":1787424096000,"timestamp_seconds":1787424096,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac73f00"} 
[2026-08-23 00:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:14: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-08-23 00:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 00:14:24] 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-08-23 00:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:14:24] 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-08-23 00:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580568576001,"66":27343,"45":7881651217632657408,"79":46336,"24":22,"16":389279931445542912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-08-23 00:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580568576001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":7881651217632657408,"description":"Unknown IO ID 45"} 
[2026-08-23 00:14:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389279931445542912,"km_value":389279931445542.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:14:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457580568576001,"power":27343,"unknown_45":7881651217632657408,"unknown_79":46336,"ignition":22,"odometer":null}} 
[2026-08-23 00:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":161326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:14:24] local.INFO: GPS data processed {"connection_id":161326,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:14:24] local.INFO: Acknowledgment sent {"connection_id":161326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:14:28] local.INFO: TCP Data received {"connection_id":161327,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:14:28] local.INFO: Processing buffer {"connection_id":161327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:14:28] local.INFO: Packet analysis {"connection_id":161327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac8"} 
[2026-08-23 00:14:28] local.INFO: Extracted packet for processing {"connection_id":161327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac8"} 
[2026-08-23 00:14:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580513280001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787424181000,"timestamp_ms":1787424181000,"timestamp_seconds":1787424181,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac88b08"} 
[2026-08-23 00:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:14: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-08-23 00:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580513280001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580513280001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:14:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:14:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580513280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":161327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:14:28] local.INFO: GPS data processed {"connection_id":161327,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:14:28] local.INFO: Acknowledgment sent {"connection_id":161327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:14:49] local.INFO: TCP Data received {"connection_id":162739,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:14:49] local.INFO: Processing buffer {"connection_id":162739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:14:49] local.INFO: IMEI packet received {"connection_id":162739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":162739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:14:54] local.INFO: TCP Data received {"connection_id":162739,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:14:54] local.INFO: Processing buffer {"connection_id":162739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:14:54] local.INFO: IMEI packet received {"connection_id":162739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":162739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:14:56] local.INFO: TCP Data received {"connection_id":162739,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac75288012d6d6300060e9040000600022d..."} 
[2026-08-23 00:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac75288012d6d6300060e9040000600022d..."} 
[2026-08-23 00:14:56] local.INFO: Processing buffer {"connection_id":162739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac75288012d6d6300060e9040000600022d..."} 
[2026-08-23 00:14:56] local.INFO: Packet analysis {"connection_id":162739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac7"} 
[2026-08-23 00:14:56] local.INFO: Extracted packet for processing {"connection_id":162739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac7"} 
[2026-08-23 00:14:56] local.INFO: GPS Element Parsed {"raw_longitude":762143488,"raw_latitude":101617728,"longitude_deg":76.2143488,"latitude_deg":10.1617728,"altitude":6,"angle":2,"satellites":45,"speed":22,"hex_longitude":"2d6d6300","hex_latitude":"060e9040","is_valid_coordinates":true} 
[2026-08-23 00:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580568576001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7881651217632657408,"note":"Value kept but may cause issues"} 
[2026-08-23 00:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389280077474430976,"note":"Value kept but may cause issues"} 
[2026-08-23 00:14:56] 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-08-23 00:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787424101000,"timestamp_ms":1787424101000,"timestamp_seconds":1787424101,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac75288"} 
[2026-08-23 00:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:14: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-08-23 00:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 00:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:14:56] 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-08-23 00:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580568576001,"66":27213,"45":7881651217632657408,"79":46336,"24":22,"16":389280077474430976},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-08-23 00:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580568576001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7881651217632657408,"description":"Unknown IO ID 45"} 
[2026-08-23 00:14:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389280077474430976,"km_value":389280077474431.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:14:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457580568576001,"power":27213,"unknown_45":7881651217632657408,"unknown_79":46336,"ignition":22,"odometer":null}} 
[2026-08-23 00:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":162739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:14:56] local.INFO: GPS data processed {"connection_id":162739,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:14:56] local.INFO: Acknowledgment sent {"connection_id":162739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:14:56] local.INFO: TCP Data received {"connection_id":160159,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:14:56] local.INFO: Processing buffer {"connection_id":160159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:14:56] local.INFO: IMEI packet received {"connection_id":160159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":160159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:15:01] local.INFO: TCP Data received {"connection_id":160159,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:15:01] local.INFO: Processing buffer {"connection_id":160159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:15:01] local.INFO: IMEI packet received {"connection_id":160159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":160159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:15:02] local.INFO: TCP Data received {"connection_id":160159,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:15:02] local.INFO: Processing buffer {"connection_id":160159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:15:02] local.INFO: Packet analysis {"connection_id":160159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac8"} 
[2026-08-23 00:15:02] local.INFO: Extracted packet for processing {"connection_id":160159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac8"} 
[2026-08-23 00:15:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580513280001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787424181000,"timestamp_ms":1787424181000,"timestamp_seconds":1787424181,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac88b08"} 
[2026-08-23 00:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:15: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-08-23 00:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580513280001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580513280001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:15:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:15:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580513280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":160159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:15:02] local.INFO: GPS data processed {"connection_id":160159,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:15:02] local.INFO: Acknowledgment sent {"connection_id":160159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:15:07] local.INFO: TCP Data received {"connection_id":160159,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:15:07] local.INFO: Processing buffer {"connection_id":160159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:15:07] local.INFO: Packet analysis {"connection_id":160159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac8"} 
[2026-08-23 00:15:07] local.INFO: Extracted packet for processing {"connection_id":160159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac8"} 
[2026-08-23 00:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580513280001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787424181000,"timestamp_ms":1787424181000,"timestamp_seconds":1787424181,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac88b08"} 
[2026-08-23 00:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580513280001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580513280001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:15:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580513280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":160159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:15:07] local.INFO: GPS data processed {"connection_id":160159,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:15:07] local.INFO: Acknowledgment sent {"connection_id":160159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:15:27] local.INFO: TCP Data received {"connection_id":162739,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac7a0a8012d6d6200060eb288000401552e..."} 
[2026-08-23 00:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac7a0a8012d6d6200060eb288000401552e..."} 
[2026-08-23 00:15:27] local.INFO: Processing buffer {"connection_id":162739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac7a0a8012d6d6200060eb288000401552e..."} 
[2026-08-23 00:15:27] local.INFO: Packet analysis {"connection_id":162739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac7"} 
[2026-08-23 00:15:27] local.INFO: Extracted packet for processing {"connection_id":162739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac7"} 
[2026-08-23 00:15:27] local.INFO: GPS Element Parsed {"raw_longitude":762143232,"raw_latitude":101626504,"longitude_deg":76.2143232,"latitude_deg":10.1626504,"altitude":4,"angle":341,"satellites":46,"speed":12,"hex_longitude":"2d6d6200","hex_latitude":"060eb288","is_valid_coordinates":true} 
[2026-08-23 00:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580569856001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7882143798842638336,"note":"Value kept but may cause issues"} 
[2026-08-23 00:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389280502676193280,"note":"Value kept but may cause issues"} 
[2026-08-23 00:15:27] 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-08-23 00:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787424121000,"timestamp_ms":1787424121000,"timestamp_seconds":1787424121,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac7a0a8"} 
[2026-08-23 00:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 00:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:15:27] 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-08-23 00:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580569856001,"66":27343,"45":7882143798842638336,"79":46336,"24":12,"16":389280502676193280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-08-23 00:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580569856001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7882143798842638336,"description":"Unknown IO ID 45"} 
[2026-08-23 00:15:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389280502676193280,"km_value":389280502676193.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:15:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457580569856001,"power":27343,"unknown_45":7882143798842638336,"unknown_79":46336,"ignition":12,"odometer":null}} 
[2026-08-23 00:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":162739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:15:27] local.INFO: GPS data processed {"connection_id":162739,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:15:27] local.INFO: Acknowledgment sent {"connection_id":162739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:15:47] local.INFO: TCP Data received {"connection_id":160373,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:15:47] local.INFO: Processing buffer {"connection_id":160373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:15:47] local.INFO: IMEI packet received {"connection_id":160373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":160373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:15:50] local.INFO: TCP Data received {"connection_id":160373,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:15:50] local.INFO: Processing buffer {"connection_id":160373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:15:50] local.INFO: IMEI packet received {"connection_id":160373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":160373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:15:51] local.INFO: TCP Data received {"connection_id":160374,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:15:51] local.INFO: Processing buffer {"connection_id":160374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:15:51] local.INFO: IMEI packet received {"connection_id":160374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":160374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:15:52] local.INFO: TCP Data received {"connection_id":160373,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:15:52] local.INFO: Processing buffer {"connection_id":160373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:15:52] local.INFO: IMEI packet received {"connection_id":160373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":160373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:15:53] local.INFO: TCP Data received {"connection_id":160373,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aca30e8012d6d2b80060f7f800008014f2e..."} 
[2026-08-23 00:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aca30e8012d6d2b80060f7f800008014f2e..."} 
[2026-08-23 00:15:53] local.INFO: Processing buffer {"connection_id":160373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aca30e8012d6d2b80060f7f800008014f2e..."} 
[2026-08-23 00:15:53] local.INFO: Packet analysis {"connection_id":160373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aca"} 
[2026-08-23 00:15:53] local.INFO: Extracted packet for processing {"connection_id":160373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aca"} 
[2026-08-23 00:15:53] local.INFO: GPS Element Parsed {"raw_longitude":762129280,"raw_latitude":101678976,"longitude_deg":76.212928,"latitude_deg":10.1678976,"altitude":8,"angle":335,"satellites":46,"speed":25,"hex_longitude":"2d6d2b80","hex_latitude":"060f7f80","is_valid_coordinates":true} 
[2026-08-23 00:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580615680001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389283156965982208,"note":"Value kept but may cause issues"} 
[2026-08-23 00:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7867929312533035008,"note":"Value kept but may cause issues"} 
[2026-08-23 00:15:53] 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-08-23 00:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787424289000,"timestamp_ms":1787424289000,"timestamp_seconds":1787424289,"priority":1,"record_length":96,"hex_timestamp":"000001a02aca30e8"} 
[2026-08-23 00:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:15: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-08-23 00:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 00:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:15:53] 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-08-23 00:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580615680001,"66":27321,"11":206,"79":46336,"24":25,"16":389283156965982208,"45":7867929312533035008},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,79,24,16,45]} 
[2026-08-23 00:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580615680001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:15:53] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-23 00:15:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389283156965982208,"km_value":389283156965982.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7867929312533035008,"description":"Unknown IO ID 45"} 
[2026-08-23 00:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580615680001,"power":27321,"unknown_11":206,"unknown_79":46336,"ignition":25,"odometer":null,"unknown_45":7867929312533035008}} 
[2026-08-23 00:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":160373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:15:53] local.INFO: GPS data processed {"connection_id":160373,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:15:53] local.INFO: Acknowledgment sent {"connection_id":160373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:15:56] local.INFO: TCP Data received {"connection_id":160374,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:15:56] local.INFO: Processing buffer {"connection_id":160374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:15:56] local.INFO: IMEI packet received {"connection_id":160374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":160374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:15:57] local.INFO: TCP Data received {"connection_id":160374,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:15:57] local.INFO: Processing buffer {"connection_id":160374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:15:57] local.INFO: Packet analysis {"connection_id":160374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac8"} 
[2026-08-23 00:15:57] local.INFO: Extracted packet for processing {"connection_id":160374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac8"} 
[2026-08-23 00:15:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580513280001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787424181000,"timestamp_ms":1787424181000,"timestamp_seconds":1787424181,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac88b08"} 
[2026-08-23 00:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:15: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-08-23 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580513280001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580513280001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:15:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:15:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580513280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":160374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:15:57] local.INFO: GPS data processed {"connection_id":160374,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:15:57] local.INFO: Acknowledgment sent {"connection_id":160374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:16:28] local.INFO: TCP Data received {"connection_id":160374,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:16:28] local.INFO: Processing buffer {"connection_id":160374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:16:28] local.INFO: Packet analysis {"connection_id":160374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac8"} 
[2026-08-23 00:16:28] local.INFO: Extracted packet for processing {"connection_id":160374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac8"} 
[2026-08-23 00:16:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580513280001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787424181000,"timestamp_ms":1787424181000,"timestamp_seconds":1787424181,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac88b08"} 
[2026-08-23 00:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:16: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-08-23 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580513280001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580513280001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:16:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:16:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580513280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":160374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:16:28] local.INFO: GPS data processed {"connection_id":160374,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:16:28] local.INFO: Acknowledgment sent {"connection_id":160374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:16:30] local.INFO: TCP Data received {"connection_id":160373,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aca3ca0012d6d27c0060f85c0000801432e..."} 
[2026-08-23 00:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aca3ca0012d6d27c0060f85c0000801432e..."} 
[2026-08-23 00:16:30] local.INFO: Processing buffer {"connection_id":160373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aca3ca0012d6d27c0060f85c0000801432e..."} 
[2026-08-23 00:16:30] local.INFO: Packet analysis {"connection_id":160373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aca"} 
[2026-08-23 00:16:30] local.INFO: Extracted packet for processing {"connection_id":160373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aca"} 
[2026-08-23 00:16:30] local.INFO: GPS Element Parsed {"raw_longitude":762128320,"raw_latitude":101680576,"longitude_deg":76.212832,"latitude_deg":10.1680576,"altitude":8,"angle":323,"satellites":46,"speed":24,"hex_longitude":"2d6d27c0","hex_latitude":"060f85c0","is_valid_coordinates":true} 
[2026-08-23 00:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580617984001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389283251455262720,"note":"Value kept but may cause issues"} 
[2026-08-23 00:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7866521937650876416,"note":"Value kept but may cause issues"} 
[2026-08-23 00:16:30] 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-08-23 00:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787424292000,"timestamp_ms":1787424292000,"timestamp_seconds":1787424292,"priority":1,"record_length":96,"hex_timestamp":"000001a02aca3ca0"} 
[2026-08-23 00:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:16: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-08-23 00:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 00:16: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-08-23 00:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:16:30] 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-08-23 00:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580617984001,"66":27267,"205":206,"79":46336,"24":24,"16":389283251455262720,"45":7866521937650876416},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,79,24,16,45]} 
[2026-08-23 00:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580617984001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:16:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389283251455262720,"km_value":389283251455262.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7866521937650876416,"description":"Unknown IO ID 45"} 
[2026-08-23 00:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580617984001,"power":27267,"cell_id":206,"unknown_79":46336,"ignition":24,"odometer":null,"unknown_45":7866521937650876416}} 
[2026-08-23 00:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":160373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:16:30] local.INFO: GPS data processed {"connection_id":160373,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:16:30] local.INFO: Acknowledgment sent {"connection_id":160373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:16:47] local.INFO: TCP Data received {"connection_id":160160,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:16:47] local.INFO: Processing buffer {"connection_id":160160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:16:47] local.INFO: IMEI packet received {"connection_id":160160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":160160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:16:51] local.INFO: TCP Data received {"connection_id":160161,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:16:51] local.INFO: Processing buffer {"connection_id":160161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:16:51] local.INFO: IMEI packet received {"connection_id":160161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":160161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:16:53] local.INFO: TCP Data received {"connection_id":160160,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:16:53] local.INFO: Processing buffer {"connection_id":160160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:16:53] local.INFO: IMEI packet received {"connection_id":160160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":160160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:16:54] local.INFO: TCP Data received {"connection_id":160160,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aca4858012d6d2400060f8bd8000801542d..."} 
[2026-08-23 00:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aca4858012d6d2400060f8bd8000801542d..."} 
[2026-08-23 00:16:54] local.INFO: Processing buffer {"connection_id":160160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aca4858012d6d2400060f8bd8000801542d..."} 
[2026-08-23 00:16:54] local.INFO: Packet analysis {"connection_id":160160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aca"} 
[2026-08-23 00:16:54] local.INFO: Extracted packet for processing {"connection_id":160160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aca"} 
[2026-08-23 00:16:54] local.INFO: GPS Element Parsed {"raw_longitude":762127360,"raw_latitude":101682136,"longitude_deg":76.212736,"latitude_deg":10.1682136,"altitude":8,"angle":340,"satellites":45,"speed":26,"hex_longitude":"2d6d2400","hex_latitude":"060f8bd8","is_valid_coordinates":true} 
[2026-08-23 00:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580618752001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389283337354608640,"note":"Value kept but may cause issues"} 
[2026-08-23 00:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7865466406488621056,"note":"Value kept but may cause issues"} 
[2026-08-23 00:16:54] 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-08-23 00:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787424295000,"timestamp_ms":1787424295000,"timestamp_seconds":1787424295,"priority":1,"record_length":96,"hex_timestamp":"000001a02aca4858"} 
[2026-08-23 00:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 00:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:16:54] 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-08-23 00:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580618752001,"66":27082,"205":206,"79":46336,"24":26,"16":389283337354608640,"45":7865466406488621056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,79,24,16,45]} 
[2026-08-23 00:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580618752001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:16:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389283337354608640,"km_value":389283337354608.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7865466406488621056,"description":"Unknown IO ID 45"} 
[2026-08-23 00:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580618752001,"power":27082,"cell_id":206,"unknown_79":46336,"ignition":26,"odometer":null,"unknown_45":7865466406488621056}} 
[2026-08-23 00:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":160160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:16:54] local.INFO: GPS data processed {"connection_id":160160,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:16:54] local.INFO: Acknowledgment sent {"connection_id":160160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:16:56] local.INFO: TCP Data received {"connection_id":160161,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:16:56] local.INFO: Processing buffer {"connection_id":160161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:16:56] local.INFO: IMEI packet received {"connection_id":160161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":160161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:16:57] local.INFO: TCP Data received {"connection_id":160161,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:16:57] local.INFO: Processing buffer {"connection_id":160161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:16:57] local.INFO: Packet analysis {"connection_id":160161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac8"} 
[2026-08-23 00:16:57] local.INFO: Extracted packet for processing {"connection_id":160161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac8"} 
[2026-08-23 00:16:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580513280001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787424181000,"timestamp_ms":1787424181000,"timestamp_seconds":1787424181,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac88b08"} 
[2026-08-23 00:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:16: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-08-23 00:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580513280001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580513280001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:16:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:16:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580513280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":160161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:16:57] local.INFO: GPS data processed {"connection_id":160161,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:16:57] local.INFO: Acknowledgment sent {"connection_id":160161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:17:24] local.INFO: TCP Data received {"connection_id":160160,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02acb84c0012d6cffc006107258000601652d..."} 
[2026-08-23 00:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acb84c0012d6cffc006107258000601652d..."} 
[2026-08-23 00:17:24] local.INFO: Processing buffer {"connection_id":160160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acb84c0012d6cffc006107258000601652d..."} 
[2026-08-23 00:17:24] local.INFO: Packet analysis {"connection_id":160160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acb"} 
[2026-08-23 00:17:24] local.INFO: Extracted packet for processing {"connection_id":160160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acb"} 
[2026-08-23 00:17:24] local.INFO: GPS Element Parsed {"raw_longitude":762118080,"raw_latitude":101741144,"longitude_deg":76.211808,"latitude_deg":10.1741144,"altitude":6,"angle":357,"satellites":45,"speed":29,"hex_longitude":"2d6cffc0","hex_latitude":"06107258","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580637952001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389286296587075584,"note":"Value kept but may cause issues"} 
[2026-08-23 00:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7855614782317625344,"note":"Value kept but may cause issues"} 
[2026-08-23 00:17:24] 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-08-23 00:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787424376000,"timestamp_ms":1787424376000,"timestamp_seconds":1787424376,"priority":1,"record_length":96,"hex_timestamp":"000001a02acb84c0"} 
[2026-08-23 00:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 00:17: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-08-23 00: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-08-23 00:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:17:24] 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-08-23 00:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580637952001,"66":27463,"207":206,"79":46336,"24":29,"16":389286296587075584,"45":7855614782317625344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-08-23 00:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580637952001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:17:24] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-23 00:17:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389286296587075584,"km_value":389286296587075.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":7855614782317625344,"description":"Unknown IO ID 45"} 
[2026-08-23 00:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580637952001,"power":27463,"unknown_207":206,"unknown_79":46336,"ignition":29,"odometer":null,"unknown_45":7855614782317625344}} 
[2026-08-23 00:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":160160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:17:24] local.INFO: GPS data processed {"connection_id":160160,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:17:24] local.INFO: Acknowledgment sent {"connection_id":160160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:17:28] local.INFO: TCP Data received {"connection_id":160161,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:17:28] local.INFO: Processing buffer {"connection_id":160161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:17:28] local.INFO: Packet analysis {"connection_id":160161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac8"} 
[2026-08-23 00:17:28] local.INFO: Extracted packet for processing {"connection_id":160161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac8"} 
[2026-08-23 00:17:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580513280001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787424181000,"timestamp_ms":1787424181000,"timestamp_seconds":1787424181,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac88b08"} 
[2026-08-23 00:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:17: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-08-23 00:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580513280001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580513280001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:17:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:17:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580513280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":160161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:17:28] local.INFO: GPS data processed {"connection_id":160161,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:17:28] local.INFO: Acknowledgment sent {"connection_id":160161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:17:51] local.INFO: TCP Data received {"connection_id":162740,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:17:51] local.INFO: Processing buffer {"connection_id":162740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:17:51] local.INFO: IMEI packet received {"connection_id":162740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":162740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:17:52] local.INFO: TCP Data received {"connection_id":160162,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:17:52] local.INFO: Processing buffer {"connection_id":160162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:17:52] local.INFO: IMEI packet received {"connection_id":160162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":160162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:17:52] local.INFO: TCP Data received {"connection_id":160162,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:17:52] local.INFO: Processing buffer {"connection_id":160162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:17:52] local.INFO: IMEI packet received {"connection_id":160162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":160162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:17:56] local.INFO: TCP Data received {"connection_id":162740,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:17:56] local.INFO: Processing buffer {"connection_id":162740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:17:56] local.INFO: IMEI packet received {"connection_id":162740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":162740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:17:57] local.INFO: TCP Data received {"connection_id":160162,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:17:57] local.INFO: Processing buffer {"connection_id":160162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:17:57] local.INFO: IMEI packet received {"connection_id":160162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":160162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:17:57] local.INFO: TCP Data received {"connection_id":162740,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:17:57] local.INFO: Processing buffer {"connection_id":162740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:17:57] local.INFO: Packet analysis {"connection_id":162740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac8"} 
[2026-08-23 00:17:57] local.INFO: Extracted packet for processing {"connection_id":162740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac8"} 
[2026-08-23 00:17:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580513280001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787424181000,"timestamp_ms":1787424181000,"timestamp_seconds":1787424181,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac88b08"} 
[2026-08-23 00:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:17: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-08-23 00:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580513280001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580513280001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:17:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:17:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580513280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":162740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:17:57] local.INFO: GPS data processed {"connection_id":162740,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:17:57] local.INFO: Acknowledgment sent {"connection_id":162740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:17:57] local.INFO: TCP Data received {"connection_id":160162,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02acbb788012d6d0100061097a0000500002d..."} 
[2026-08-23 00:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acbb788012d6d0100061097a0000500002d..."} 
[2026-08-23 00:17:57] local.INFO: Processing buffer {"connection_id":160162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acbb788012d6d0100061097a0000500002d..."} 
[2026-08-23 00:17:57] local.INFO: Packet analysis {"connection_id":160162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acb"} 
[2026-08-23 00:17:57] local.INFO: Extracted packet for processing {"connection_id":160162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acb"} 
[2026-08-23 00:17:57] local.INFO: GPS Element Parsed {"raw_longitude":762118400,"raw_latitude":101750688,"longitude_deg":76.21184,"latitude_deg":10.1750688,"altitude":5,"angle":0,"satellites":45,"speed":29,"hex_longitude":"2d6d0100","hex_latitude":"061097a0","is_valid_coordinates":true} 
[2026-08-23 00:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580640256001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389286760443543552,"note":"Value kept but may cause issues"} 
[2026-08-23 00:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7854207407435700224,"note":"Value kept but may cause issues"} 
[2026-08-23 00:17:57] 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-08-23 00:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787424389000,"timestamp_ms":1787424389000,"timestamp_seconds":1787424389,"priority":1,"record_length":96,"hex_timestamp":"000001a02acbb788"} 
[2026-08-23 00:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:17: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-08-23 00:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-23 00:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:17:57] 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-08-23 00:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580640256001,"66":27267,"207":206,"79":46336,"24":29,"16":389286760443543552,"45":7854207407435700224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-08-23 00:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580640256001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:17:57] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-23 00:17:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389286760443543552,"km_value":389286760443543.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":7854207407435700224,"description":"Unknown IO ID 45"} 
[2026-08-23 00:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580640256001,"power":27267,"unknown_207":206,"unknown_79":46336,"ignition":29,"odometer":null,"unknown_45":7854207407435700224}} 
[2026-08-23 00:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":160162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:17:57] local.INFO: GPS data processed {"connection_id":160162,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:17:57] local.INFO: Acknowledgment sent {"connection_id":160162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:17:58] local.INFO: TCP Data received {"connection_id":160162,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02acbcb10012d6d00400610a2100005015b2e..."} 
[2026-08-23 00:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acbcb10012d6d00400610a2100005015b2e..."} 
[2026-08-23 00:17:58] local.INFO: Processing buffer {"connection_id":160162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acbcb10012d6d00400610a2100005015b2e..."} 
[2026-08-23 00:17:58] local.INFO: Packet analysis {"connection_id":160162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acb"} 
[2026-08-23 00:17:58] local.INFO: Extracted packet for processing {"connection_id":160162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acb"} 
[2026-08-23 00:17:58] local.INFO: GPS Element Parsed {"raw_longitude":762118208,"raw_latitude":101753360,"longitude_deg":76.2118208,"latitude_deg":10.175336,"altitude":5,"angle":347,"satellites":46,"speed":17,"hex_longitude":"2d6d0040","hex_latitude":"0610a210","is_valid_coordinates":true} 
[2026-08-23 00:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580643584001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389286889292562432,"note":"Value kept but may cause issues"} 
[2026-08-23 00:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7854559251159031808,"note":"Value kept but may cause issues"} 
[2026-08-23 00:17:58] 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-08-23 00:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787424394000,"timestamp_ms":1787424394000,"timestamp_seconds":1787424394,"priority":1,"record_length":96,"hex_timestamp":"000001a02acbcb10"} 
[2026-08-23 00:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:17: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-08-23 00:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 00:17: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-08-23 00:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:17:58] 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-08-23 00:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580643584001,"66":27213,"207":206,"79":46336,"24":17,"16":389286889292562432,"45":7854559251159031808},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-08-23 00:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580643584001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:17:58] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-23 00:17:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389286889292562432,"km_value":389286889292562.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7854559251159031808,"description":"Unknown IO ID 45"} 
[2026-08-23 00:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580643584001,"power":27213,"unknown_207":206,"unknown_79":46336,"ignition":17,"odometer":null,"unknown_45":7854559251159031808}} 
[2026-08-23 00:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":160162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:17:58] local.INFO: GPS data processed {"connection_id":160162,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:17:58] local.INFO: Acknowledgment sent {"connection_id":160162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:18:28] local.INFO: TCP Data received {"connection_id":162740,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:18:28] local.INFO: Processing buffer {"connection_id":162740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ac88b08012d196540071ff1b0003f013729..."} 
[2026-08-23 00:18:28] local.INFO: Packet analysis {"connection_id":162740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ac8"} 
[2026-08-23 00:18:28] local.INFO: Extracted packet for processing {"connection_id":162740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ac8"} 
[2026-08-23 00:18:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580513280001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787424181000,"timestamp_ms":1787424181000,"timestamp_seconds":1787424181,"priority":1,"record_length":96,"hex_timestamp":"000001a02ac88b08"} 
[2026-08-23 00:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:18: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-08-23 00:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580513280001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580513280001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:18:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:18:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580513280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":162740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:18:29] local.INFO: GPS data processed {"connection_id":162740,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:18:29] local.INFO: Acknowledgment sent {"connection_id":162740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:18:30] local.INFO: TCP Data received {"connection_id":160162,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02acc1d18012d6cfa000610c400000401612e..."} 
[2026-08-23 00:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acc1d18012d6cfa000610c400000401612e..."} 
[2026-08-23 00:18:30] local.INFO: Processing buffer {"connection_id":160162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acc1d18012d6cfa000610c400000401612e..."} 
[2026-08-23 00:18:30] local.INFO: Packet analysis {"connection_id":160162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acc"} 
[2026-08-23 00:18:30] local.INFO: Extracted packet for processing {"connection_id":160162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acc"} 
[2026-08-23 00:18:30] local.INFO: GPS Element Parsed {"raw_longitude":762116608,"raw_latitude":101762048,"longitude_deg":76.2116608,"latitude_deg":10.1762048,"altitude":4,"angle":353,"satellites":46,"speed":17,"hex_longitude":"2d6cfa00","hex_latitude":"0610c400","is_valid_coordinates":true} 
[2026-08-23 00:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580644864001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389287318789292032,"note":"Value kept but may cause issues"} 
[2026-08-23 00:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7854348144927182848,"note":"Value kept but may cause issues"} 
[2026-08-23 00:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787424415000,"timestamp_ms":1787424415000,"timestamp_seconds":1787424415,"priority":1,"record_length":96,"hex_timestamp":"000001a02acc1d18"} 
[2026-08-23 00:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:18: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-08-23 00:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 00:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:18:30] 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-08-23 00:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580644864001,"66":27321,"207":206,"79":46336,"24":17,"16":389287318789292032,"45":7854348144927182848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-08-23 00:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580644864001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:18:30] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-23 00:18:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389287318789292032,"km_value":389287318789292.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7854348144927182848,"description":"Unknown IO ID 45"} 
[2026-08-23 00:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580644864001,"power":27321,"unknown_207":206,"unknown_79":46336,"ignition":17,"odometer":null,"unknown_45":7854348144927182848}} 
[2026-08-23 00:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":160162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:18:30] local.INFO: GPS data processed {"connection_id":160162,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:18:30] local.INFO: Acknowledgment sent {"connection_id":160162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:18:47] local.INFO: TCP Data received {"connection_id":161328,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:18:47] local.INFO: Processing buffer {"connection_id":161328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:18:47] local.INFO: IMEI packet received {"connection_id":161328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":161328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:18:48] local.INFO: TCP Data received {"connection_id":161328,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:18:48] local.INFO: Processing buffer {"connection_id":161328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:18:48] local.INFO: IMEI packet received {"connection_id":161328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":161328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:18:51] local.INFO: TCP Data received {"connection_id":160375,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:18:51] local.INFO: Processing buffer {"connection_id":160375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:18:51] local.INFO: IMEI packet received {"connection_id":160375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":160375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:18:53] local.INFO: TCP Data received {"connection_id":161328,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:18:53] local.INFO: Processing buffer {"connection_id":161328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:18:53] local.INFO: IMEI packet received {"connection_id":161328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":161328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:18:54] local.INFO: TCP Data received {"connection_id":161328,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02acc1d18012d6cfa000610c400000401612e..."} 
[2026-08-23 00:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acc1d18012d6cfa000610c400000401612e..."} 
[2026-08-23 00:18:54] local.INFO: Processing buffer {"connection_id":161328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acc1d18012d6cfa000610c400000401612e..."} 
[2026-08-23 00:18:54] local.INFO: Packet analysis {"connection_id":161328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acc"} 
[2026-08-23 00:18:54] local.INFO: Extracted packet for processing {"connection_id":161328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acc"} 
[2026-08-23 00:18:54] local.INFO: GPS Element Parsed {"raw_longitude":762116608,"raw_latitude":101762048,"longitude_deg":76.2116608,"latitude_deg":10.1762048,"altitude":4,"angle":353,"satellites":46,"speed":17,"hex_longitude":"2d6cfa00","hex_latitude":"0610c400","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580650240001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389287318789292032,"note":"Value kept but may cause issues"} 
[2026-08-23 00:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7852588926324965376,"note":"Value kept but may cause issues"} 
[2026-08-23 00:18:54] 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-08-23 00:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787424415000,"timestamp_ms":1787424415000,"timestamp_seconds":1787424415,"priority":1,"record_length":96,"hex_timestamp":"000001a02acc1d18"} 
[2026-08-23 00:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 00:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:18:54] 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-08-23 00:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580650240001,"66":27321,"207":206,"79":46336,"24":17,"16":389287318789292032,"45":7852588926324965376},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-08-23 00:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580650240001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:18:54] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-23 00:18:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389287318789292032,"km_value":389287318789292.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7852588926324965376,"description":"Unknown IO ID 45"} 
[2026-08-23 00:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580650240001,"power":27321,"unknown_207":206,"unknown_79":46336,"ignition":17,"odometer":null,"unknown_45":7852588926324965376}} 
[2026-08-23 00:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":161328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:18:54] local.INFO: GPS data processed {"connection_id":161328,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:18:54] local.INFO: Acknowledgment sent {"connection_id":161328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:18:56] local.INFO: TCP Data received {"connection_id":160375,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:18:56] local.INFO: Processing buffer {"connection_id":160375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:18:56] local.INFO: IMEI packet received {"connection_id":160375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":160375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:18:57] local.INFO: TCP Data received {"connection_id":160375,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:18:57] local.INFO: Processing buffer {"connection_id":160375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:18:57] local.INFO: Packet analysis {"connection_id":160375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:18:57] local.INFO: Extracted packet for processing {"connection_id":160375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:18:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580590336001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787424482000,"timestamp_ms":1787424482000,"timestamp_seconds":1787424482,"priority":1,"record_length":96,"hex_timestamp":"000001a02acd22d0"} 
[2026-08-23 00:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:18: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-08-23 00:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:18:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580590336001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580590336001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:18:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:18:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580590336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":160375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:18:57] local.INFO: GPS data processed {"connection_id":160375,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:18:57] local.INFO: Acknowledgment sent {"connection_id":160375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:19:26] local.INFO: TCP Data received {"connection_id":161328,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02acd4210012d6c91c0061122880002011b2b..."} 
[2026-08-23 00:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acd4210012d6c91c0061122880002011b2b..."} 
[2026-08-23 00:19:26] local.INFO: Processing buffer {"connection_id":161328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acd4210012d6c91c0061122880002011b2b..."} 
[2026-08-23 00:19:26] local.INFO: Packet analysis {"connection_id":161328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:19:26] local.INFO: Extracted packet for processing {"connection_id":161328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:19:26] local.INFO: GPS Element Parsed {"raw_longitude":762089920,"raw_latitude":101786248,"longitude_deg":76.208992,"latitude_deg":10.1786248,"altitude":2,"angle":283,"satellites":43,"speed":18,"hex_longitude":"2d6c91c0","hex_latitude":"06112288","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580666880001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389289410438365184,"note":"Value kept but may cause issues"} 
[2026-08-23 00:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7829507978240653312,"note":"Value kept but may cause issues"} 
[2026-08-23 00:19:26] 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-08-23 00:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787424490000,"timestamp_ms":1787424490000,"timestamp_seconds":1787424490,"priority":1,"record_length":96,"hex_timestamp":"000001a02acd4210"} 
[2026-08-23 00:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:19: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-08-23 00:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 00:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:19:26] 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-08-23 00:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580666880001,"66":27397,"193":206,"79":46336,"24":18,"16":389289410438365184,"45":7829507978240653312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-08-23 00:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580666880001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:19:26] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-23 00:19:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389289410438365184,"km_value":389289410438365.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":7829507978240653312,"description":"Unknown IO ID 45"} 
[2026-08-23 00:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580666880001,"power":27397,"unknown_193":206,"unknown_79":46336,"ignition":18,"odometer":null,"unknown_45":7829507978240653312}} 
[2026-08-23 00:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":161328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:19:26] local.INFO: GPS data processed {"connection_id":161328,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:19:26] local.INFO: Acknowledgment sent {"connection_id":161328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:19:28] local.INFO: TCP Data received {"connection_id":160375,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:19:28] local.INFO: Processing buffer {"connection_id":160375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:19:28] local.INFO: Packet analysis {"connection_id":160375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:19:28] local.INFO: Extracted packet for processing {"connection_id":160375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580590336001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787424482000,"timestamp_ms":1787424482000,"timestamp_seconds":1787424482,"priority":1,"record_length":96,"hex_timestamp":"000001a02acd22d0"} 
[2026-08-23 00:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:19: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-08-23 00:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580590336001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580590336001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:19:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:19:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580590336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":160375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:19:28] local.INFO: GPS data processed {"connection_id":160375,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:19:28] local.INFO: Acknowledgment sent {"connection_id":160375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:19:47] local.INFO: TCP Data received {"connection_id":161329,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:19:47] local.INFO: Processing buffer {"connection_id":161329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:19:47] local.INFO: IMEI packet received {"connection_id":161329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":161329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:19:48] local.INFO: TCP Data received {"connection_id":161329,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:19:48] local.INFO: Processing buffer {"connection_id":161329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:19:48] local.INFO: IMEI packet received {"connection_id":161329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":161329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:19:53] local.INFO: TCP Data received {"connection_id":161329,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:19:53] local.INFO: Processing buffer {"connection_id":161329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:19:53] local.INFO: IMEI packet received {"connection_id":161329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":161329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:19:53] local.INFO: TCP Data received {"connection_id":161329,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02acd7ca8012d6c6d80061129f80001011f2c..."} 
[2026-08-23 00:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acd7ca8012d6c6d80061129f80001011f2c..."} 
[2026-08-23 00:19:53] local.INFO: Processing buffer {"connection_id":161329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acd7ca8012d6c6d80061129f80001011f2c..."} 
[2026-08-23 00:19:53] local.INFO: Packet analysis {"connection_id":161329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:19:53] local.INFO: Extracted packet for processing {"connection_id":161329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:19:53] local.INFO: GPS Element Parsed {"raw_longitude":762080640,"raw_latitude":101788152,"longitude_deg":76.208064,"latitude_deg":10.1788152,"altitude":1,"angle":287,"satellites":44,"speed":27,"hex_longitude":"2d6c6d80","hex_latitude":"061129f8","is_valid_coordinates":true} 
[2026-08-23 00:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580669440001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389289865704898560,"note":"Value kept but may cause issues"} 
[2026-08-23 00:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7823245160009074688,"note":"Value kept but may cause issues"} 
[2026-08-23 00:19:53] 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-08-23 00:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787424505000,"timestamp_ms":1787424505000,"timestamp_seconds":1787424505,"priority":1,"record_length":96,"hex_timestamp":"000001a02acd7ca8"} 
[2026-08-23 00:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:19: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-08-23 00:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 00:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:19:53] 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-08-23 00:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580669440001,"66":27223,"193":206,"79":46336,"24":27,"16":389289865704898560,"45":7823245160009074688},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-08-23 00:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580669440001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:19:53] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-23 00:19:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389289865704898560,"km_value":389289865704898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7823245160009074688,"description":"Unknown IO ID 45"} 
[2026-08-23 00:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580669440001,"power":27223,"unknown_193":206,"unknown_79":46336,"ignition":27,"odometer":null,"unknown_45":7823245160009074688}} 
[2026-08-23 00:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":161329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:19:53] local.INFO: GPS data processed {"connection_id":161329,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:19:53] local.INFO: Acknowledgment sent {"connection_id":161329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:19:56] local.INFO: TCP Data received {"connection_id":160163,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:19:56] local.INFO: Processing buffer {"connection_id":160163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:19:56] local.INFO: IMEI packet received {"connection_id":160163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":160163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:20:01] local.INFO: TCP Data received {"connection_id":160163,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:20:01] local.INFO: Processing buffer {"connection_id":160163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:20:01] local.INFO: IMEI packet received {"connection_id":160163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":160163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:20:02] local.INFO: TCP Data received {"connection_id":160163,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:20:02] local.INFO: Processing buffer {"connection_id":160163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:20:02] local.INFO: Packet analysis {"connection_id":160163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:20:02] local.INFO: Extracted packet for processing {"connection_id":160163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:20:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580590336001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787424482000,"timestamp_ms":1787424482000,"timestamp_seconds":1787424482,"priority":1,"record_length":96,"hex_timestamp":"000001a02acd22d0"} 
[2026-08-23 00:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:20: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-08-23 00:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580590336001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580590336001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:20:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:20:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580590336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":160163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:20:02] local.INFO: GPS data processed {"connection_id":160163,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:20:02] local.INFO: Acknowledgment sent {"connection_id":160163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:20:07] local.INFO: TCP Data received {"connection_id":160163,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:20:07] local.INFO: Processing buffer {"connection_id":160163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:20:07] local.INFO: Packet analysis {"connection_id":160163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:20:07] local.INFO: Extracted packet for processing {"connection_id":160163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580590336001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787424482000,"timestamp_ms":1787424482000,"timestamp_seconds":1787424482,"priority":1,"record_length":96,"hex_timestamp":"000001a02acd22d0"} 
[2026-08-23 00:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580590336001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580590336001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:20:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:20:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580590336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":160163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:20:07] local.INFO: GPS data processed {"connection_id":160163,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:20:07] local.INFO: Acknowledgment sent {"connection_id":160163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:20:24] local.INFO: TCP Data received {"connection_id":161329,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02acd8860012d6c668006112d40000201312d..."} 
[2026-08-23 00:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acd8860012d6c668006112d40000201312d..."} 
[2026-08-23 00:20:24] local.INFO: Processing buffer {"connection_id":161329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acd8860012d6c668006112d40000201312d..."} 
[2026-08-23 00:20:24] local.INFO: Packet analysis {"connection_id":161329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:20:24] local.INFO: Extracted packet for processing {"connection_id":161329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:20:24] local.INFO: GPS Element Parsed {"raw_longitude":762078848,"raw_latitude":101788992,"longitude_deg":76.2078848,"latitude_deg":10.1788992,"altitude":2,"angle":305,"satellites":45,"speed":21,"hex_longitude":"2d6c6680","hex_latitude":"06112d40","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580673280001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389289955899211776,"note":"Value kept but may cause issues"} 
[2026-08-23 00:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7813041692103800832,"note":"Value kept but may cause issues"} 
[2026-08-23 00:20:24] 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-08-23 00:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787424508000,"timestamp_ms":1787424508000,"timestamp_seconds":1787424508,"priority":1,"record_length":96,"hex_timestamp":"000001a02acd8860"} 
[2026-08-23 00:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:20: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-08-23 00: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-23 00:20:24] 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-08-23 00: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-08-23 00:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:20:24] 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-08-23 00:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580673280001,"66":27332,"193":206,"79":46336,"24":21,"16":389289955899211776,"45":7813041692103800832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-08-23 00:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580673280001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:20:24] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-23 00:20:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389289955899211776,"km_value":389289955899211.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":7813041692103800832,"description":"Unknown IO ID 45"} 
[2026-08-23 00:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580673280001,"power":27332,"unknown_193":206,"unknown_79":46336,"ignition":21,"odometer":null,"unknown_45":7813041692103800832}} 
[2026-08-23 00:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":161329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:20:24] local.INFO: GPS data processed {"connection_id":161329,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:20:24] local.INFO: Acknowledgment sent {"connection_id":161329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:20:47] local.INFO: TCP Data received {"connection_id":160164,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:20:47] local.INFO: Processing buffer {"connection_id":160164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:20:47] local.INFO: IMEI packet received {"connection_id":160164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":160164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:20:51] local.INFO: TCP Data received {"connection_id":160164,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:20:51] local.INFO: Processing buffer {"connection_id":160164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:20:51] local.INFO: IMEI packet received {"connection_id":160164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":160164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:20:51] local.INFO: TCP Data received {"connection_id":160376,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:20:51] local.INFO: Processing buffer {"connection_id":160376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:20:51] local.INFO: IMEI packet received {"connection_id":160376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":160376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:20:52] local.INFO: TCP Data received {"connection_id":160164,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:20:52] local.INFO: Processing buffer {"connection_id":160164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:20:52] local.INFO: IMEI packet received {"connection_id":160164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":160164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:20:53] local.INFO: TCP Data received {"connection_id":160164,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02acdda68012d6c564006113bb8000401342e..."} 
[2026-08-23 00:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acdda68012d6c564006113bb8000401342e..."} 
[2026-08-23 00:20:53] local.INFO: Processing buffer {"connection_id":160164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acdda68012d6c564006113bb8000401342e..."} 
[2026-08-23 00:20:53] local.INFO: Packet analysis {"connection_id":160164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:20:53] local.INFO: Extracted packet for processing {"connection_id":160164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:20:53] local.INFO: GPS Element Parsed {"raw_longitude":762074688,"raw_latitude":101792696,"longitude_deg":76.2074688,"latitude_deg":10.1792696,"altitude":4,"angle":308,"satellites":46,"speed":6,"hex_longitude":"2d6c5640","hex_latitude":"06113bb8","is_valid_coordinates":true} 
[2026-08-23 00:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580674048001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389290226482151424,"note":"Value kept but may cause issues"} 
[2026-08-23 00:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7811071367267041280,"note":"Value kept but may cause issues"} 
[2026-08-23 00:20:53] 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-08-23 00:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787424529000,"timestamp_ms":1787424529000,"timestamp_seconds":1787424529,"priority":1,"record_length":96,"hex_timestamp":"000001a02acdda68"} 
[2026-08-23 00:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:20: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-08-23 00:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 00:20: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-08-23 00:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:20:53] 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-08-23 00:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580674048001,"66":27267,"91":206,"79":46336,"24":6,"16":389290226482151424,"45":7811071367267041280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-08-23 00:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580674048001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:20:53] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-23 00:20:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389290226482151424,"km_value":389290226482151.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7811071367267041280,"description":"Unknown IO ID 45"} 
[2026-08-23 00:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580674048001,"power":27267,"unknown_91":206,"unknown_79":46336,"ignition":6,"odometer":null,"unknown_45":7811071367267041280}} 
[2026-08-23 00:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":160164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:20:53] local.INFO: GPS data processed {"connection_id":160164,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:20:53] local.INFO: Acknowledgment sent {"connection_id":160164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:20:56] local.INFO: TCP Data received {"connection_id":160376,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:20:56] local.INFO: Processing buffer {"connection_id":160376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:20:56] local.INFO: IMEI packet received {"connection_id":160376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":160376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:20:57] local.INFO: TCP Data received {"connection_id":160376,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:20:57] local.INFO: Processing buffer {"connection_id":160376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:20:57] local.INFO: Packet analysis {"connection_id":160376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:20:57] local.INFO: Extracted packet for processing {"connection_id":160376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:20:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580590336001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787424482000,"timestamp_ms":1787424482000,"timestamp_seconds":1787424482,"priority":1,"record_length":96,"hex_timestamp":"000001a02acd22d0"} 
[2026-08-23 00:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:20: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-08-23 00:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580590336001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580590336001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:20:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:20:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580590336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":160376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:20:57] local.INFO: GPS data processed {"connection_id":160376,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:20:57] local.INFO: Acknowledgment sent {"connection_id":160376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:21:24] local.INFO: TCP Data received {"connection_id":160164,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02acf8c00012d6beac00611a458000700ff2d..."} 
[2026-08-23 00:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acf8c00012d6beac00611a458000700ff2d..."} 
[2026-08-23 00:21:24] local.INFO: Processing buffer {"connection_id":160164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acf8c00012d6beac00611a458000700ff2d..."} 
[2026-08-23 00:21:24] local.INFO: Packet analysis {"connection_id":160164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acf"} 
[2026-08-23 00:21:24] local.INFO: Extracted packet for processing {"connection_id":160164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acf"} 
[2026-08-23 00:21:24] local.INFO: GPS Element Parsed {"raw_longitude":762047168,"raw_latitude":101819480,"longitude_deg":76.2047168,"latitude_deg":10.181948,"altitude":7,"angle":255,"satellites":45,"speed":16,"hex_longitude":"2d6beac0","hex_latitude":"0611a458","is_valid_coordinates":true} 
[2026-08-23 00:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580707584001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389292159217434624,"note":"Value kept but may cause issues"} 
[2026-08-23 00:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7776661051371968512,"note":"Value kept but may cause issues"} 
[2026-08-23 00:21:24] 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-08-23 00:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787424640000,"timestamp_ms":1787424640000,"timestamp_seconds":1787424640,"priority":1,"record_length":96,"hex_timestamp":"000001a02acf8c00"} 
[2026-08-23 00:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 00:21:24] 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-08-23 00:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:21:24] 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-08-23 00:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580707584001,"66":27343,"138":206,"79":46336,"24":16,"16":389292159217434624,"45":7776661051371968512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-08-23 00:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580707584001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:21:24] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-23 00:21:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389292159217434624,"km_value":389292159217434.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":7776661051371968512,"description":"Unknown IO ID 45"} 
[2026-08-23 00:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580707584001,"power":27343,"unknown_138":206,"unknown_79":46336,"ignition":16,"odometer":null,"unknown_45":7776661051371968512}} 
[2026-08-23 00:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":160164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:21:24] local.INFO: GPS data processed {"connection_id":160164,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:21:24] local.INFO: Acknowledgment sent {"connection_id":160164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:21:28] local.INFO: TCP Data received {"connection_id":160376,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:21:28] local.INFO: Processing buffer {"connection_id":160376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:21:28] local.INFO: Packet analysis {"connection_id":160376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:21:28] local.INFO: Extracted packet for processing {"connection_id":160376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580590336001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787424482000,"timestamp_ms":1787424482000,"timestamp_seconds":1787424482,"priority":1,"record_length":96,"hex_timestamp":"000001a02acd22d0"} 
[2026-08-23 00:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:21: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-08-23 00:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580590336001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580590336001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:21:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:21:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580590336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":160376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:21:28] local.INFO: GPS data processed {"connection_id":160376,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:21:28] local.INFO: Acknowledgment sent {"connection_id":160376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:21:51] local.INFO: TCP Data received {"connection_id":160377,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:21:51] local.INFO: Processing buffer {"connection_id":160377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:21:51] local.INFO: IMEI packet received {"connection_id":160377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":160377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:21:53] local.INFO: TCP Data received {"connection_id":160165,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:21:53] local.INFO: Processing buffer {"connection_id":160165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:21:53] local.INFO: IMEI packet received {"connection_id":160165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":160165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:21:56] local.INFO: TCP Data received {"connection_id":160377,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:21:56] local.INFO: Processing buffer {"connection_id":160377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:21:56] local.INFO: IMEI packet received {"connection_id":160377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":160377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:21:57] local.INFO: TCP Data received {"connection_id":160377,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:21:57] local.INFO: Processing buffer {"connection_id":160377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:21:57] local.INFO: Packet analysis {"connection_id":160377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:21:57] local.INFO: Extracted packet for processing {"connection_id":160377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:21:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580590336001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787424482000,"timestamp_ms":1787424482000,"timestamp_seconds":1787424482,"priority":1,"record_length":96,"hex_timestamp":"000001a02acd22d0"} 
[2026-08-23 00:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:21: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-08-23 00:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:21:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580590336001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580590336001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:21:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:21:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580590336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":160377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:21:57] local.INFO: GPS data processed {"connection_id":160377,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:21:57] local.INFO: Acknowledgment sent {"connection_id":160377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:21:58] local.INFO: TCP Data received {"connection_id":160165,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:21:58] local.INFO: Processing buffer {"connection_id":160165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:21:58] local.INFO: IMEI packet received {"connection_id":160165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":160165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:21:58] local.INFO: TCP Data received {"connection_id":160165,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02acf8fe8012d6be9400611a3c0000700ec2e..."} 
[2026-08-23 00:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acf8fe8012d6be9400611a3c0000700ec2e..."} 
[2026-08-23 00:21:58] local.INFO: Processing buffer {"connection_id":160165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acf8fe8012d6be9400611a3c0000700ec2e..."} 
[2026-08-23 00:21:58] local.INFO: Packet analysis {"connection_id":160165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acf"} 
[2026-08-23 00:21:58] local.INFO: Extracted packet for processing {"connection_id":160165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acf"} 
[2026-08-23 00:21:58] local.INFO: GPS Element Parsed {"raw_longitude":762046784,"raw_latitude":101819328,"longitude_deg":76.2046784,"latitude_deg":10.1819328,"altitude":7,"angle":236,"satellites":46,"speed":16,"hex_longitude":"2d6be940","hex_latitude":"0611a3c0","is_valid_coordinates":true} 
[2026-08-23 00:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580707840001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389292180692271104,"note":"Value kept but may cause issues"} 
[2026-08-23 00:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7776238838906902528,"note":"Value kept but may cause issues"} 
[2026-08-23 00:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787424641000,"timestamp_ms":1787424641000,"timestamp_seconds":1787424641,"priority":1,"record_length":96,"hex_timestamp":"000001a02acf8fe8"} 
[2026-08-23 00:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 00:21: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-08-23 00:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:21:58] 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-08-23 00:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580707840001,"66":27267,"138":206,"79":46336,"24":16,"16":389292180692271104,"45":7776238838906902528},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-08-23 00:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580707840001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:21:58] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-23 00:21:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389292180692271104,"km_value":389292180692271.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7776238838906902528,"description":"Unknown IO ID 45"} 
[2026-08-23 00:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580707840001,"power":27267,"unknown_138":206,"unknown_79":46336,"ignition":16,"odometer":null,"unknown_45":7776238838906902528}} 
[2026-08-23 00:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":160165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:21:58] local.INFO: GPS data processed {"connection_id":160165,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:21:58] local.INFO: Acknowledgment sent {"connection_id":160165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:21:59] local.INFO: TCP Data received {"connection_id":160165,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02acf97b8012d6be6c00611a190000700e02d..."} 
[2026-08-23 00:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acf97b8012d6be6c00611a190000700e02d..."} 
[2026-08-23 00:21:59] local.INFO: Processing buffer {"connection_id":160165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acf97b8012d6be6c00611a190000700e02d..."} 
[2026-08-23 00:21:59] local.INFO: Packet analysis {"connection_id":160165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acf"} 
[2026-08-23 00:21:59] local.INFO: Extracted packet for processing {"connection_id":160165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acf"} 
[2026-08-23 00:21:59] local.INFO: GPS Element Parsed {"raw_longitude":762046144,"raw_latitude":101818768,"longitude_deg":76.2046144,"latitude_deg":10.1818768,"altitude":7,"angle":224,"satellites":45,"speed":17,"hex_longitude":"2d6be6c0","hex_latitude":"0611a190","is_valid_coordinates":true} 
[2026-08-23 00:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580708096001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389292223641944064,"note":"Value kept but may cause issues"} 
[2026-08-23 00:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7775816626441797632,"note":"Value kept but may cause issues"} 
[2026-08-23 00:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787424643000,"timestamp_ms":1787424643000,"timestamp_seconds":1787424643,"priority":1,"record_length":96,"hex_timestamp":"000001a02acf97b8"} 
[2026-08-23 00:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:21: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-08-23 00:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 00:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:21:59] 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-08-23 00:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580708096001,"66":27234,"138":206,"79":46336,"24":17,"16":389292223641944064,"45":7775816626441797632},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-08-23 00:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580708096001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:21:59] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-23 00:21:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389292223641944064,"km_value":389292223641944.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7775816626441797632,"description":"Unknown IO ID 45"} 
[2026-08-23 00:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580708096001,"power":27234,"unknown_138":206,"unknown_79":46336,"ignition":17,"odometer":null,"unknown_45":7775816626441797632}} 
[2026-08-23 00:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":160165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:21:59] local.INFO: GPS data processed {"connection_id":160165,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:21:59] local.INFO: Acknowledgment sent {"connection_id":160165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:22:28] local.INFO: TCP Data received {"connection_id":160377,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:22:28] local.INFO: Processing buffer {"connection_id":160377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:22:28] local.INFO: Packet analysis {"connection_id":160377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:22:28] local.INFO: Extracted packet for processing {"connection_id":160377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:22:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580590336001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787424482000,"timestamp_ms":1787424482000,"timestamp_seconds":1787424482,"priority":1,"record_length":96,"hex_timestamp":"000001a02acd22d0"} 
[2026-08-23 00:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:22: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-08-23 00:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580590336001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580590336001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:22:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:22:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580590336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":160377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:22:29] local.INFO: GPS data processed {"connection_id":160377,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:22:29] local.INFO: Acknowledgment sent {"connection_id":160377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:22:31] local.INFO: TCP Data received {"connection_id":160165,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02acfab40012d6bdf4006119b58000700ec2d..."} 
[2026-08-23 00:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acfab40012d6bdf4006119b58000700ec2d..."} 
[2026-08-23 00:22:31] local.INFO: Processing buffer {"connection_id":160165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acfab40012d6bdf4006119b58000700ec2d..."} 
[2026-08-23 00:22:31] local.INFO: Packet analysis {"connection_id":160165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acf"} 
[2026-08-23 00:22:31] local.INFO: Extracted packet for processing {"connection_id":160165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acf"} 
[2026-08-23 00:22:31] local.INFO: GPS Element Parsed {"raw_longitude":762044224,"raw_latitude":101817176,"longitude_deg":76.2044224,"latitude_deg":10.1817176,"altitude":7,"angle":236,"satellites":45,"speed":20,"hex_longitude":"2d6bdf40","hex_latitude":"06119b58","is_valid_coordinates":true} 
[2026-08-23 00:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580708608001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389292339606061056,"note":"Value kept but may cause issues"} 
[2026-08-23 00:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7775112938999877632,"note":"Value kept but may cause issues"} 
[2026-08-23 00:22:31] 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-08-23 00:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787424648000,"timestamp_ms":1787424648000,"timestamp_seconds":1787424648,"priority":1,"record_length":96,"hex_timestamp":"000001a02acfab40"} 
[2026-08-23 00:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 00:22: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-08-23 00:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:22:31] 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-08-23 00:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580708608001,"66":27245,"138":206,"79":46336,"24":20,"16":389292339606061056,"45":7775112938999877632},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-08-23 00:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580708608001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:22:31] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-23 00:22:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389292339606061056,"km_value":389292339606061.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7775112938999877632,"description":"Unknown IO ID 45"} 
[2026-08-23 00:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580708608001,"power":27245,"unknown_138":206,"unknown_79":46336,"ignition":20,"odometer":null,"unknown_45":7775112938999877632}} 
[2026-08-23 00:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":160165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:22:31] local.INFO: GPS data processed {"connection_id":160165,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:22:31] local.INFO: Acknowledgment sent {"connection_id":160165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:22:48] local.INFO: TCP Data received {"connection_id":162741,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:22:48] local.INFO: Processing buffer {"connection_id":162741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:22:48] local.INFO: IMEI packet received {"connection_id":162741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":162741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:22:52] local.INFO: TCP Data received {"connection_id":162742,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:22:52] local.INFO: Processing buffer {"connection_id":162742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:22:52] local.INFO: IMEI packet received {"connection_id":162742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":162742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:22:52] local.INFO: TCP Data received {"connection_id":162741,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:22:52] local.INFO: Processing buffer {"connection_id":162741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:22:52] local.INFO: IMEI packet received {"connection_id":162741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":162741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:22:53] local.INFO: TCP Data received {"connection_id":162741,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02acfc698012d6bd48006119510000700f82e..."} 
[2026-08-23 00:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acfc698012d6bd48006119510000700f82e..."} 
[2026-08-23 00:22:53] local.INFO: Processing buffer {"connection_id":162741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acfc698012d6bd48006119510000700f82e..."} 
[2026-08-23 00:22:53] local.INFO: Packet analysis {"connection_id":162741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acf"} 
[2026-08-23 00:22:53] local.INFO: Extracted packet for processing {"connection_id":162741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acf"} 
[2026-08-23 00:22:53] local.INFO: GPS Element Parsed {"raw_longitude":762041472,"raw_latitude":101815568,"longitude_deg":76.2041472,"latitude_deg":10.1815568,"altitude":7,"angle":248,"satellites":46,"speed":16,"hex_longitude":"2d6bd480","hex_latitude":"06119510","is_valid_coordinates":true} 
[2026-08-23 00:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580709888001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389292494224883712,"note":"Value kept but may cause issues"} 
[2026-08-23 00:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7773001876674140160,"note":"Value kept but may cause issues"} 
[2026-08-23 00:22:53] 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-08-23 00:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787424655000,"timestamp_ms":1787424655000,"timestamp_seconds":1787424655,"priority":1,"record_length":96,"hex_timestamp":"000001a02acfc698"} 
[2026-08-23 00:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:22: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-08-23 00:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-23 00:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:22:53] 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-08-23 00:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580709888001,"66":27321,"138":206,"79":46336,"24":16,"16":389292494224883712,"45":7773001876674140160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-08-23 00:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580709888001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:22:53] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-23 00:22:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389292494224883712,"km_value":389292494224883.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7773001876674140160,"description":"Unknown IO ID 45"} 
[2026-08-23 00:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580709888001,"power":27321,"unknown_138":206,"unknown_79":46336,"ignition":16,"odometer":null,"unknown_45":7773001876674140160}} 
[2026-08-23 00:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":162741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:22:53] local.INFO: GPS data processed {"connection_id":162741,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:22:53] local.INFO: Acknowledgment sent {"connection_id":162741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:22:56] local.INFO: TCP Data received {"connection_id":162742,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:22:56] local.INFO: Processing buffer {"connection_id":162742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:22:56] local.INFO: IMEI packet received {"connection_id":162742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":162742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:22:57] local.INFO: TCP Data received {"connection_id":162742,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:22:57] local.INFO: Processing buffer {"connection_id":162742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:22:57] local.INFO: Packet analysis {"connection_id":162742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:22:57] local.INFO: Extracted packet for processing {"connection_id":162742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:22:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580590336001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787424482000,"timestamp_ms":1787424482000,"timestamp_seconds":1787424482,"priority":1,"record_length":96,"hex_timestamp":"000001a02acd22d0"} 
[2026-08-23 00:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:22: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-08-23 00: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580590336001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580590336001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:22:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:22:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580590336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":162742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:22:57] local.INFO: GPS data processed {"connection_id":162742,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:22:57] local.INFO: Acknowledgment sent {"connection_id":162742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:23:24] local.INFO: TCP Data received {"connection_id":162741,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02acfce68012d6bd14006119470000701082d..."} 
[2026-08-23 00:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acfce68012d6bd14006119470000701082d..."} 
[2026-08-23 00:23:24] local.INFO: Processing buffer {"connection_id":162741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acfce68012d6bd14006119470000701082d..."} 
[2026-08-23 00:23:24] local.INFO: Packet analysis {"connection_id":162741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acf"} 
[2026-08-23 00:23:24] local.INFO: Extracted packet for processing {"connection_id":162741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acf"} 
[2026-08-23 00:23:24] local.INFO: GPS Element Parsed {"raw_longitude":762040640,"raw_latitude":101815408,"longitude_deg":76.204064,"latitude_deg":10.1815408,"altitude":7,"angle":264,"satellites":45,"speed":16,"hex_longitude":"2d6bd140","hex_latitude":"06119470","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580711680001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389292537174556672,"note":"Value kept but may cause issues"} 
[2026-08-23 00:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7769976020674088960,"note":"Value kept but may cause issues"} 
[2026-08-23 00:23:24] 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-08-23 00:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787424657000,"timestamp_ms":1787424657000,"timestamp_seconds":1787424657,"priority":1,"record_length":96,"hex_timestamp":"000001a02acfce68"} 
[2026-08-23 00:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 00:23:24] 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-08-23 00: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-08-23 00:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:23:24] 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-08-23 00:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580711680001,"66":27234,"138":206,"79":46336,"24":16,"16":389292537174556672,"45":7769976020674088960},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-08-23 00:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580711680001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:23:24] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-23 00:23:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389292537174556672,"km_value":389292537174556.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":7769976020674088960,"description":"Unknown IO ID 45"} 
[2026-08-23 00:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580711680001,"power":27234,"unknown_138":206,"unknown_79":46336,"ignition":16,"odometer":null,"unknown_45":7769976020674088960}} 
[2026-08-23 00:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":162741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:23:24] local.INFO: GPS data processed {"connection_id":162741,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:23:24] local.INFO: Acknowledgment sent {"connection_id":162741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:23:28] local.INFO: TCP Data received {"connection_id":162742,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:23:28] local.INFO: Processing buffer {"connection_id":162742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02acd22d0012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:23:28] local.INFO: Packet analysis {"connection_id":162742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:23:28] local.INFO: Extracted packet for processing {"connection_id":162742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02acd"} 
[2026-08-23 00:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580590336001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787424482000,"timestamp_ms":1787424482000,"timestamp_seconds":1787424482,"priority":1,"record_length":96,"hex_timestamp":"000001a02acd22d0"} 
[2026-08-23 00:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:23: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-08-23 00:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580590336001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580590336001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:23:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:23:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580590336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":162742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:23:29] local.INFO: GPS data processed {"connection_id":162742,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:23:29] local.INFO: Acknowledgment sent {"connection_id":162742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:23:47] local.INFO: TCP Data received {"connection_id":160166,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:23:47] local.INFO: Processing buffer {"connection_id":160166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:23:47] local.INFO: IMEI packet received {"connection_id":160166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":160166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:23:47] local.INFO: TCP Data received {"connection_id":160166,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:23:47] local.INFO: Processing buffer {"connection_id":160166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:23:47] local.INFO: IMEI packet received {"connection_id":160166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":160166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:23:51] local.INFO: TCP Data received {"connection_id":161330,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:23:51] local.INFO: Processing buffer {"connection_id":161330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:23:51] local.INFO: IMEI packet received {"connection_id":161330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":161330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:23:53] local.INFO: TCP Data received {"connection_id":160166,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:23:53] local.INFO: Processing buffer {"connection_id":160166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:23:53] local.INFO: IMEI packet received {"connection_id":160166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":160166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:23:53] local.INFO: TCP Data received {"connection_id":160166,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad18000012d6b7800061282e0000a01622d..."} 
[2026-08-23 00:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad18000012d6b7800061282e0000a01622d..."} 
[2026-08-23 00:23:53] local.INFO: Processing buffer {"connection_id":160166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad18000012d6b7800061282e0000a01622d..."} 
[2026-08-23 00:23:53] local.INFO: Packet analysis {"connection_id":160166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:23:53] local.INFO: Extracted packet for processing {"connection_id":160166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:23:53] local.INFO: GPS Element Parsed {"raw_longitude":762017792,"raw_latitude":101876448,"longitude_deg":76.2017792,"latitude_deg":10.1876448,"altitude":10,"angle":354,"satellites":45,"speed":18,"hex_longitude":"2d6b7800","hex_latitude":"061282e0","is_valid_coordinates":true} 
[2026-08-23 00:23: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-08-23 00:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580737024001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389295724040290304,"note":"Value kept but may cause issues"} 
[2026-08-23 00:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7746543228876564480,"note":"Value kept but may cause issues"} 
[2026-08-23 00:23:53] 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-08-23 00:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787424768000,"timestamp_ms":1787424768000,"timestamp_seconds":1787424768,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad18000"} 
[2026-08-23 00:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:23: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-08-23 00:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 00:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:23: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-08-23 00:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:23:53] 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-08-23 00:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580737024001,"66":27234,"137":206,"79":46336,"24":18,"16":389295724040290304,"45":7746543228876564480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-08-23 00:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580737024001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:23:53] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-23 00:23:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389295724040290304,"km_value":389295724040290.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7746543228876564480,"description":"Unknown IO ID 45"} 
[2026-08-23 00:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580737024001,"power":27234,"unknown_137":206,"unknown_79":46336,"ignition":18,"odometer":null,"unknown_45":7746543228876564480}} 
[2026-08-23 00:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":160166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:23:53] local.INFO: GPS data processed {"connection_id":160166,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:23:53] local.INFO: Acknowledgment sent {"connection_id":160166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:23:56] local.INFO: TCP Data received {"connection_id":161330,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:23:56] local.INFO: Processing buffer {"connection_id":161330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:23:56] local.INFO: IMEI packet received {"connection_id":161330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":161330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:23:57] local.INFO: TCP Data received {"connection_id":161330,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:23:57] local.INFO: Processing buffer {"connection_id":161330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:23:57] local.INFO: Packet analysis {"connection_id":161330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:23:57] local.INFO: Extracted packet for processing {"connection_id":161330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:23:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580667392001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787424783000,"timestamp_ms":1787424783000,"timestamp_seconds":1787424783,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad1ba98"} 
[2026-08-23 00:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:23: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-08-23 00:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580667392001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580667392001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:23:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:23:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580667392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":161330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:23:57] local.INFO: GPS data processed {"connection_id":161330,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:23:57] local.INFO: Acknowledgment sent {"connection_id":161330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:24:24] local.INFO: TCP Data received {"connection_id":160166,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad187d0012d6b780006128638000a00062d..."} 
[2026-08-23 00:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad187d0012d6b780006128638000a00062d..."} 
[2026-08-23 00:24:24] local.INFO: Processing buffer {"connection_id":160166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad187d0012d6b780006128638000a00062d..."} 
[2026-08-23 00:24:24] local.INFO: Packet analysis {"connection_id":160166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:24:24] local.INFO: Extracted packet for processing {"connection_id":160166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:24:24] local.INFO: GPS Element Parsed {"raw_longitude":762017792,"raw_latitude":101877304,"longitude_deg":76.2017792,"latitude_deg":10.1877304,"altitude":10,"angle":6,"satellites":45,"speed":15,"hex_longitude":"2d6b7800","hex_latitude":"06128638","is_valid_coordinates":true} 
[2026-08-23 00:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580740608001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389295762694995968,"note":"Value kept but may cause issues"} 
[2026-08-23 00:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7743939585343938560,"note":"Value kept but may cause issues"} 
[2026-08-23 00:24:24] 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-08-23 00:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787424770000,"timestamp_ms":1787424770000,"timestamp_seconds":1787424770,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad187d0"} 
[2026-08-23 00:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 00:24:24] 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-08-23 00:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:24:24] 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-08-23 00:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580740608001,"66":27343,"137":206,"79":46336,"24":15,"16":389295762694995968,"45":7743939585343938560},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-08-23 00:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580740608001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:24:24] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-23 00:24:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389295762694995968,"km_value":389295762694995.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":7743939585343938560,"description":"Unknown IO ID 45"} 
[2026-08-23 00:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580740608001,"power":27343,"unknown_137":206,"unknown_79":46336,"ignition":15,"odometer":null,"unknown_45":7743939585343938560}} 
[2026-08-23 00:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":160166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:24:24] local.INFO: GPS data processed {"connection_id":160166,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:24:24] local.INFO: Acknowledgment sent {"connection_id":160166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:24:28] local.INFO: TCP Data received {"connection_id":161330,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:24:28] local.INFO: Processing buffer {"connection_id":161330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:24:28] local.INFO: Packet analysis {"connection_id":161330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:24:28] local.INFO: Extracted packet for processing {"connection_id":161330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:24:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580667392001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787424783000,"timestamp_ms":1787424783000,"timestamp_seconds":1787424783,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad1ba98"} 
[2026-08-23 00:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:24: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-08-23 00:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580667392001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580667392001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:24:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:24:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580667392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":161330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:24:28] local.INFO: GPS data processed {"connection_id":161330,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:24:28] local.INFO: Acknowledgment sent {"connection_id":161330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:24:51] local.INFO: TCP Data received {"connection_id":160378,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:24:51] local.INFO: Processing buffer {"connection_id":160378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:24:51] local.INFO: IMEI packet received {"connection_id":160378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":160378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:24:56] local.INFO: TCP Data received {"connection_id":160378,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:24:56] local.INFO: Processing buffer {"connection_id":160378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:24:56] local.INFO: IMEI packet received {"connection_id":160378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":160378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:24:57] local.INFO: TCP Data received {"connection_id":160378,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:24:57] local.INFO: Processing buffer {"connection_id":160378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:24:57] local.INFO: Packet analysis {"connection_id":160378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:24:57] local.INFO: Extracted packet for processing {"connection_id":160378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:24:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580667392001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787424783000,"timestamp_ms":1787424783000,"timestamp_seconds":1787424783,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad1ba98"} 
[2026-08-23 00:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:24: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-08-23 00:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580667392001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580667392001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:24:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:24:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580667392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":160378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:24:57] local.INFO: GPS data processed {"connection_id":160378,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:24:57] local.INFO: Acknowledgment sent {"connection_id":160378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:25:24] local.INFO: TCP Data received {"connection_id":162743,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:25:24] local.INFO: Processing buffer {"connection_id":162743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:25:24] local.INFO: IMEI packet received {"connection_id":162743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":162743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:25:26] local.INFO: TCP Data received {"connection_id":162743,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:25:26] local.INFO: Processing buffer {"connection_id":162743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:25:26] local.INFO: IMEI packet received {"connection_id":162743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":162743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:25:27] local.INFO: TCP Data received {"connection_id":162743,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:25:27] local.INFO: Processing buffer {"connection_id":162743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:25:27] local.INFO: IMEI packet received {"connection_id":162743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":162743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:25:28] local.INFO: TCP Data received {"connection_id":162743,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad1b2c8012d6b7a4006129428000901622d..."} 
[2026-08-23 00:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad1b2c8012d6b7a4006129428000901622d..."} 
[2026-08-23 00:25:28] local.INFO: Processing buffer {"connection_id":162743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad1b2c8012d6b7a4006129428000901622d..."} 
[2026-08-23 00:25:28] local.INFO: Packet analysis {"connection_id":162743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:25:28] local.INFO: Extracted packet for processing {"connection_id":162743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:25:28] local.INFO: GPS Element Parsed {"raw_longitude":762018368,"raw_latitude":101880872,"longitude_deg":76.2018368,"latitude_deg":10.1880872,"altitude":9,"angle":354,"satellites":45,"speed":14,"hex_longitude":"2d6b7a40","hex_latitude":"06129428","is_valid_coordinates":true} 
[2026-08-23 00:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580741120001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389295938788655104,"note":"Value kept but may cause issues"} 
[2026-08-23 00:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7743939585344157696,"note":"Value kept but may cause issues"} 
[2026-08-23 00:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787424781000,"timestamp_ms":1787424781000,"timestamp_seconds":1787424781,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad1b2c8"} 
[2026-08-23 00:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 00:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580741120001,"66":27376,"137":206,"79":46336,"24":14,"16":389295938788655104,"45":7743939585344157696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-08-23 00:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580741120001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:25:28] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-23 00:25:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389295938788655104,"km_value":389295938788655.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7743939585344157696,"description":"Unknown IO ID 45"} 
[2026-08-23 00:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580741120001,"power":27376,"unknown_137":206,"unknown_79":46336,"ignition":14,"odometer":null,"unknown_45":7743939585344157696}} 
[2026-08-23 00:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":162743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:25:28] local.INFO: GPS data processed {"connection_id":162743,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:25:28] local.INFO: Acknowledgment sent {"connection_id":162743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:25:28] local.INFO: TCP Data received {"connection_id":160378,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:25:28] local.INFO: Processing buffer {"connection_id":160378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:25:28] local.INFO: Packet analysis {"connection_id":160378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:25:28] local.INFO: Extracted packet for processing {"connection_id":160378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:25:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580667392001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787424783000,"timestamp_ms":1787424783000,"timestamp_seconds":1787424783,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad1ba98"} 
[2026-08-23 00:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:25: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-08-23 00:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580667392001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580667392001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:25:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:25:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580667392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":160378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:25:28] local.INFO: GPS data processed {"connection_id":160378,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:25:28] local.INFO: Acknowledgment sent {"connection_id":160378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:25:51] local.INFO: TCP Data received {"connection_id":160379,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:25:51] local.INFO: Processing buffer {"connection_id":160379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:25:51] local.INFO: IMEI packet received {"connection_id":160379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":160379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:25:52] local.INFO: TCP Data received {"connection_id":162744,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:25:52] local.INFO: Processing buffer {"connection_id":162744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:25:52] local.INFO: IMEI packet received {"connection_id":162744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":162744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:25:56] local.INFO: TCP Data received {"connection_id":160379,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:25:56] local.INFO: Processing buffer {"connection_id":160379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:25:56] local.INFO: IMEI packet received {"connection_id":160379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":160379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:25:57] local.INFO: TCP Data received {"connection_id":162744,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:25:57] local.INFO: Processing buffer {"connection_id":162744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:25:57] local.INFO: IMEI packet received {"connection_id":162744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":162744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:25:57] local.INFO: TCP Data received {"connection_id":160379,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:25:57] local.INFO: Processing buffer {"connection_id":160379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:25:57] local.INFO: Packet analysis {"connection_id":160379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:25:57] local.INFO: Extracted packet for processing {"connection_id":160379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:25:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580667392001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787424783000,"timestamp_ms":1787424783000,"timestamp_seconds":1787424783,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad1ba98"} 
[2026-08-23 00:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:25: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-08-23 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580667392001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580667392001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:25:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:25:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580667392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":160379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:25:57] local.INFO: GPS data processed {"connection_id":160379,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:25:57] local.INFO: Acknowledgment sent {"connection_id":160379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:25:58] local.INFO: TCP Data received {"connection_id":162744,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad1d208012d6b798006129ed0000900092d..."} 
[2026-08-23 00:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad1d208012d6b798006129ed0000900092d..."} 
[2026-08-23 00:25:58] local.INFO: Processing buffer {"connection_id":162744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad1d208012d6b798006129ed0000900092d..."} 
[2026-08-23 00:25:58] local.INFO: Packet analysis {"connection_id":162744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:25:58] local.INFO: Extracted packet for processing {"connection_id":162744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:25:58] local.INFO: GPS Element Parsed {"raw_longitude":762018176,"raw_latitude":101883600,"longitude_deg":76.2018176,"latitude_deg":10.18836,"altitude":9,"angle":9,"satellites":45,"speed":14,"hex_longitude":"2d6b7980","hex_latitude":"06129ed0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580743936001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389296071932641280,"note":"Value kept but may cause issues"} 
[2026-08-23 00:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744572904042670080,"note":"Value kept but may cause issues"} 
[2026-08-23 00:25:58] 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-08-23 00:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787424789000,"timestamp_ms":1787424789000,"timestamp_seconds":1787424789,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad1d208"} 
[2026-08-23 00:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 00:25: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-08-23 00:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:25:58] 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-08-23 00:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580743936001,"66":27321,"137":206,"79":46336,"24":14,"16":389296071932641280,"45":7744572904042670080},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-08-23 00:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580743936001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:25:58] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-23 00:25:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389296071932641280,"km_value":389296071932641.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744572904042670080,"description":"Unknown IO ID 45"} 
[2026-08-23 00:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580743936001,"power":27321,"unknown_137":206,"unknown_79":46336,"ignition":14,"odometer":null,"unknown_45":7744572904042670080}} 
[2026-08-23 00:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":162744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:25:58] local.INFO: GPS data processed {"connection_id":162744,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:25:58] local.INFO: Acknowledgment sent {"connection_id":162744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:26:28] local.INFO: TCP Data received {"connection_id":160379,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:26:28] local.INFO: Processing buffer {"connection_id":160379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:26:28] local.INFO: Packet analysis {"connection_id":160379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:26:28] local.INFO: Extracted packet for processing {"connection_id":160379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580667392001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787424783000,"timestamp_ms":1787424783000,"timestamp_seconds":1787424783,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad1ba98"} 
[2026-08-23 00:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:26: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-08-23 00:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580667392001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580667392001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:26:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:26:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580667392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":160379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:26:29] local.INFO: GPS data processed {"connection_id":160379,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:26:29] local.INFO: Acknowledgment sent {"connection_id":160379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:26:29] local.INFO: TCP Data received {"connection_id":162744,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad1f148012d6b7b000612a990000801642b..."} 
[2026-08-23 00:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad1f148012d6b7b000612a990000801642b..."} 
[2026-08-23 00:26:29] local.INFO: Processing buffer {"connection_id":162744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad1f148012d6b7b000612a990000801642b..."} 
[2026-08-23 00:26:29] local.INFO: Packet analysis {"connection_id":162744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:26:29] local.INFO: Extracted packet for processing {"connection_id":162744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:26:29] local.INFO: GPS Element Parsed {"raw_longitude":762018560,"raw_latitude":101886352,"longitude_deg":76.201856,"latitude_deg":10.1886352,"altitude":8,"angle":356,"satellites":43,"speed":11,"hex_longitude":"2d6b7b00","hex_latitude":"0612a990","is_valid_coordinates":true} 
[2026-08-23 00:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580745984001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389296209371594752,"note":"Value kept but may cause issues"} 
[2026-08-23 00:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744361797810835456,"note":"Value kept but may cause issues"} 
[2026-08-23 00:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787424797000,"timestamp_ms":1787424797000,"timestamp_seconds":1787424797,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad1f148"} 
[2026-08-23 00:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:26: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-08-23 00:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 00:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:26:29] 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-08-23 00:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580745984001,"66":27343,"137":206,"79":46336,"24":11,"16":389296209371594752,"45":7744361797810835456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-08-23 00:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580745984001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:26:29] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-23 00:26:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389296209371594752,"km_value":389296209371594.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744361797810835456,"description":"Unknown IO ID 45"} 
[2026-08-23 00:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580745984001,"power":27343,"unknown_137":206,"unknown_79":46336,"ignition":11,"odometer":null,"unknown_45":7744361797810835456}} 
[2026-08-23 00:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":162744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:26:29] local.INFO: GPS data processed {"connection_id":162744,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:26:29] local.INFO: Acknowledgment sent {"connection_id":162744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:26:48] local.INFO: TCP Data received {"connection_id":162745,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:26:48] local.INFO: Processing buffer {"connection_id":162745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:26:48] local.INFO: IMEI packet received {"connection_id":162745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":162745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:26:52] local.INFO: TCP Data received {"connection_id":160167,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:26:52] local.INFO: Processing buffer {"connection_id":160167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:26:52] local.INFO: IMEI packet received {"connection_id":160167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":160167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:26:52] local.INFO: TCP Data received {"connection_id":162745,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:26:52] local.INFO: Processing buffer {"connection_id":162745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:26:52] local.INFO: IMEI packet received {"connection_id":162745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":162745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:26:53] local.INFO: TCP Data received {"connection_id":162745,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad204d0012d6b7a400612af60000801512d..."} 
[2026-08-23 00:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad204d0012d6b7a400612af60000801512d..."} 
[2026-08-23 00:26:53] local.INFO: Processing buffer {"connection_id":162745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad204d0012d6b7a400612af60000801512d..."} 
[2026-08-23 00:26:53] local.INFO: Packet analysis {"connection_id":162745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad2"} 
[2026-08-23 00:26:53] local.INFO: Extracted packet for processing {"connection_id":162745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad2"} 
[2026-08-23 00:26:53] local.INFO: GPS Element Parsed {"raw_longitude":762018368,"raw_latitude":101887840,"longitude_deg":76.2018368,"latitude_deg":10.188784,"altitude":8,"angle":337,"satellites":45,"speed":13,"hex_longitude":"2d6b7a40","hex_latitude":"0612af60","is_valid_coordinates":true} 
[2026-08-23 00:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580748032001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389296282386038784,"note":"Value kept but may cause issues"} 
[2026-08-23 00:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744784010276605952,"note":"Value kept but may cause issues"} 
[2026-08-23 00:26:53] 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-08-23 00:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787424802000,"timestamp_ms":1787424802000,"timestamp_seconds":1787424802,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad204d0"} 
[2026-08-23 00:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:26: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-08-23 00:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 00:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:26:53] 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-08-23 00:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580748032001,"66":27365,"137":206,"79":46336,"24":13,"16":389296282386038784,"45":7744784010276605952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-08-23 00:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580748032001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:26:53] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-23 00:26:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389296282386038784,"km_value":389296282386038.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744784010276605952,"description":"Unknown IO ID 45"} 
[2026-08-23 00:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580748032001,"power":27365,"unknown_137":206,"unknown_79":46336,"ignition":13,"odometer":null,"unknown_45":7744784010276605952}} 
[2026-08-23 00:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":162745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:26:53] local.INFO: GPS data processed {"connection_id":162745,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:26:53] local.INFO: Acknowledgment sent {"connection_id":162745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:26:56] local.INFO: TCP Data received {"connection_id":160167,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:26:56] local.INFO: Processing buffer {"connection_id":160167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:26:56] local.INFO: IMEI packet received {"connection_id":160167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":160167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:26:57] local.INFO: TCP Data received {"connection_id":160167,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:26:57] local.INFO: Processing buffer {"connection_id":160167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:26:57] local.INFO: Packet analysis {"connection_id":160167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:26:57] local.INFO: Extracted packet for processing {"connection_id":160167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:26:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580667392001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787424783000,"timestamp_ms":1787424783000,"timestamp_seconds":1787424783,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad1ba98"} 
[2026-08-23 00:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:26:58] 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-08-23 00:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580667392001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580667392001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:26:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:26:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580667392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":160167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:26:58] local.INFO: GPS data processed {"connection_id":160167,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:26:58] local.INFO: Acknowledgment sent {"connection_id":160167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:27:24] local.INFO: TCP Data received {"connection_id":162745,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad22fc8012d6b73c00612c1400009015d2e..."} 
[2026-08-23 00:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad22fc8012d6b73c00612c1400009015d2e..."} 
[2026-08-23 00:27:24] local.INFO: Processing buffer {"connection_id":162745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad22fc8012d6b73c00612c1400009015d2e..."} 
[2026-08-23 00:27:24] local.INFO: Packet analysis {"connection_id":162745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad2"} 
[2026-08-23 00:27:24] local.INFO: Extracted packet for processing {"connection_id":162745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad2"} 
[2026-08-23 00:27:24] local.INFO: GPS Element Parsed {"raw_longitude":762016704,"raw_latitude":101892416,"longitude_deg":76.2016704,"latitude_deg":10.1892416,"altitude":9,"angle":349,"satellites":46,"speed":18,"hex_longitude":"2d6b73c0","hex_latitude":"0612c140","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580749312001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389296518609240064,"note":"Value kept but may cause issues"} 
[2026-08-23 00:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744572904044453888,"note":"Value kept but may cause issues"} 
[2026-08-23 00:27:24] 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-08-23 00:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787424813000,"timestamp_ms":1787424813000,"timestamp_seconds":1787424813,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad22fc8"} 
[2026-08-23 00:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 00:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:27:24] 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-08-23 00:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580749312001,"66":27332,"137":206,"79":46336,"24":18,"16":389296518609240064,"45":7744572904044453888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-08-23 00:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580749312001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:27:24] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-23 00:27:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389296518609240064,"km_value":389296518609240.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744572904044453888,"description":"Unknown IO ID 45"} 
[2026-08-23 00:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580749312001,"power":27332,"unknown_137":206,"unknown_79":46336,"ignition":18,"odometer":null,"unknown_45":7744572904044453888}} 
[2026-08-23 00:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":162745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:27:24] local.INFO: GPS data processed {"connection_id":162745,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:27:24] local.INFO: Acknowledgment sent {"connection_id":162745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:27:29] local.INFO: TCP Data received {"connection_id":160167,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:27:29] local.INFO: Processing buffer {"connection_id":160167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:27:29] local.INFO: Packet analysis {"connection_id":160167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:27:29] local.INFO: Extracted packet for processing {"connection_id":160167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:27:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580667392001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787424783000,"timestamp_ms":1787424783000,"timestamp_seconds":1787424783,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad1ba98"} 
[2026-08-23 00:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:27: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-08-23 00:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580667392001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580667392001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:27:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:27:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580667392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":160167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:27:29] local.INFO: GPS data processed {"connection_id":160167,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:27:29] local.INFO: Acknowledgment sent {"connection_id":160167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:27:47] local.INFO: TCP Data received {"connection_id":160380,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:27:47] local.INFO: Processing buffer {"connection_id":160380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:27:47] local.INFO: IMEI packet received {"connection_id":160380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":160380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:27:51] local.INFO: TCP Data received {"connection_id":161331,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:27:51] local.INFO: Processing buffer {"connection_id":161331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:27:51] local.INFO: IMEI packet received {"connection_id":161331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":161331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:27:52] local.INFO: TCP Data received {"connection_id":160380,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:27:52] local.INFO: Processing buffer {"connection_id":160380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:27:52] local.INFO: IMEI packet received {"connection_id":160380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":160380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:27:53] local.INFO: TCP Data received {"connection_id":160380,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad26e48012d6b6fc00612e490000901622e..."} 
[2026-08-23 00:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad26e48012d6b6fc00612e490000901622e..."} 
[2026-08-23 00:27:53] local.INFO: Processing buffer {"connection_id":160380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad26e48012d6b6fc00612e490000901622e..."} 
[2026-08-23 00:27:53] local.INFO: Packet analysis {"connection_id":160380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad2"} 
[2026-08-23 00:27:53] local.INFO: Extracted packet for processing {"connection_id":160380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad2"} 
[2026-08-23 00:27:53] local.INFO: GPS Element Parsed {"raw_longitude":762015680,"raw_latitude":101901456,"longitude_deg":76.201568,"latitude_deg":10.1901456,"altitude":9,"angle":354,"satellites":46,"speed":26,"hex_longitude":"2d6b6fc0","hex_latitude":"0612e490","is_valid_coordinates":true} 
[2026-08-23 00:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580752128001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389296960990871552,"note":"Value kept but may cause issues"} 
[2026-08-23 00:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7742743316697006080,"note":"Value kept but may cause issues"} 
[2026-08-23 00:27:53] 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-08-23 00:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787424829000,"timestamp_ms":1787424829000,"timestamp_seconds":1787424829,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad26e48"} 
[2026-08-23 00:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:27: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-08-23 00:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 00:27: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-08-23 00:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:27:53] 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-08-23 00:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580752128001,"66":27245,"137":206,"79":46336,"24":26,"16":389296960990871552,"45":7742743316697006080},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-08-23 00:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580752128001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:27:53] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-23 00:27:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-08-23 00:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389296960990871552,"km_value":389296960990871.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7742743316697006080,"description":"Unknown IO ID 45"} 
[2026-08-23 00:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580752128001,"power":27245,"unknown_137":206,"unknown_79":46336,"ignition":26,"odometer":null,"unknown_45":7742743316697006080}} 
[2026-08-23 00:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":160380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:27:53] local.INFO: GPS data processed {"connection_id":160380,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:27:53] local.INFO: Acknowledgment sent {"connection_id":160380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:27:56] local.INFO: TCP Data received {"connection_id":161331,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:27:56] local.INFO: Processing buffer {"connection_id":161331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:27:56] local.INFO: IMEI packet received {"connection_id":161331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":161331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:27:57] local.INFO: TCP Data received {"connection_id":161331,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:27:57] local.INFO: Processing buffer {"connection_id":161331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:27:57] local.INFO: Packet analysis {"connection_id":161331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:27:57] local.INFO: Extracted packet for processing {"connection_id":161331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:27:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580667392001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787424783000,"timestamp_ms":1787424783000,"timestamp_seconds":1787424783,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad1ba98"} 
[2026-08-23 00:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:27: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-08-23 00:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:27:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580667392001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580667392001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:27:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:27:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580667392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":161331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:27:57] local.INFO: GPS data processed {"connection_id":161331,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:27:57] local.INFO: Acknowledgment sent {"connection_id":161331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:28:24] local.INFO: TCP Data received {"connection_id":160380,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad56418012d6b474006145f200011016426..."} 
[2026-08-23 00:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad56418012d6b474006145f200011016426..."} 
[2026-08-23 00:28:24] local.INFO: Processing buffer {"connection_id":160380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad56418012d6b474006145f200011016426..."} 
[2026-08-23 00:28:24] local.INFO: Packet analysis {"connection_id":160380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad5"} 
[2026-08-23 00:28:24] local.INFO: Extracted packet for processing {"connection_id":160380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad5"} 
[2026-08-23 00:28:24] local.INFO: GPS Element Parsed {"raw_longitude":762005312,"raw_latitude":101998368,"longitude_deg":76.2005312,"latitude_deg":10.1998368,"altitude":17,"angle":356,"satellites":38,"speed":17,"hex_longitude":"2d6b4740","hex_latitude":"06145f20","is_valid_coordinates":true} 
[2026-08-23 00:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580800768001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389301694044831744,"note":"Value kept but may cause issues"} 
[2026-08-23 00:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7731273211420878848,"note":"Value kept but may cause issues"} 
[2026-08-23 00:28:24] 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-08-23 00:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787425023000,"timestamp_ms":1787425023000,"timestamp_seconds":1787425023,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad56418"} 
[2026-08-23 00:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:28: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-08-23 00:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-23 00:28:24] 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-08-23 00:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:28:24] 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-08-23 00:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580800768001,"66":27343,"167":206,"79":20992,"24":17,"16":389301694044831744,"45":7731273211420878848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-08-23 00:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580800768001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:28:24] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-23 00:28:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389301694044831744,"km_value":389301694044831.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":7731273211420878848,"description":"Unknown IO ID 45"} 
[2026-08-23 00:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580800768001,"power":27343,"unknown_167":206,"unknown_79":20992,"ignition":17,"odometer":null,"unknown_45":7731273211420878848}} 
[2026-08-23 00:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":160380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:28:24] local.INFO: GPS data processed {"connection_id":160380,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:28:24] local.INFO: Acknowledgment sent {"connection_id":160380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:28:29] local.INFO: TCP Data received {"connection_id":161331,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:28:29] local.INFO: Processing buffer {"connection_id":161331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad1ba98012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:28:29] local.INFO: Packet analysis {"connection_id":161331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:28:29] local.INFO: Extracted packet for processing {"connection_id":161331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad1"} 
[2026-08-23 00:28:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580667392001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787424783000,"timestamp_ms":1787424783000,"timestamp_seconds":1787424783,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad1ba98"} 
[2026-08-23 00:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:28: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-08-23 00:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:28:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:28:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580667392001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580667392001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:28:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:28:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580667392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":161331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:28:29] local.INFO: GPS data processed {"connection_id":161331,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:28:29] local.INFO: Acknowledgment sent {"connection_id":161331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:28:47] local.INFO: TCP Data received {"connection_id":161332,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:28:47] local.INFO: Processing buffer {"connection_id":161332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:28:47] local.INFO: IMEI packet received {"connection_id":161332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":161332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:28:51] local.INFO: TCP Data received {"connection_id":160381,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:28:51] local.INFO: Processing buffer {"connection_id":160381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:28:51] local.INFO: IMEI packet received {"connection_id":160381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":160381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:28:52] local.INFO: TCP Data received {"connection_id":161332,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:28:52] local.INFO: Processing buffer {"connection_id":161332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:28:52] local.INFO: IMEI packet received {"connection_id":161332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":161332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:28:53] local.INFO: TCP Data received {"connection_id":161332,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad5a680012d6b4440061481a0000d00002f..."} 
[2026-08-23 00:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad5a680012d6b4440061481a0000d00002f..."} 
[2026-08-23 00:28:53] local.INFO: Processing buffer {"connection_id":161332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad5a680012d6b4440061481a0000d00002f..."} 
[2026-08-23 00:28:53] local.INFO: Packet analysis {"connection_id":161332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad5"} 
[2026-08-23 00:28:53] local.INFO: Extracted packet for processing {"connection_id":161332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad5"} 
[2026-08-23 00:28:53] local.INFO: GPS Element Parsed {"raw_longitude":762004544,"raw_latitude":102007200,"longitude_deg":76.2004544,"latitude_deg":10.20072,"altitude":13,"angle":0,"satellites":47,"speed":21,"hex_longitude":"2d6b4440","hex_latitude":"061481a0","is_valid_coordinates":true} 
[2026-08-23 00:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580805888001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389302127836528640,"note":"Value kept but may cause issues"} 
[2026-08-23 00:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7730217680260505600,"note":"Value kept but may cause issues"} 
[2026-08-23 00:28:53] 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-08-23 00:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787425040000,"timestamp_ms":1787425040000,"timestamp_seconds":1787425040,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad5a680"} 
[2026-08-23 00:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:28: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-08-23 00:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 00:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:28:53] 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-08-23 00:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580805888001,"66":27376,"167":206,"79":20992,"24":21,"16":389302127836528640,"45":7730217680260505600},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-08-23 00:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580805888001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:28:53] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-23 00:28:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389302127836528640,"km_value":389302127836528.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7730217680260505600,"description":"Unknown IO ID 45"} 
[2026-08-23 00:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580805888001,"power":27376,"unknown_167":206,"unknown_79":20992,"ignition":21,"odometer":null,"unknown_45":7730217680260505600}} 
[2026-08-23 00:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":161332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:28:53] local.INFO: GPS data processed {"connection_id":161332,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:28:53] local.INFO: Acknowledgment sent {"connection_id":161332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:28:56] local.INFO: TCP Data received {"connection_id":160381,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:28:56] local.INFO: Processing buffer {"connection_id":160381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:28:56] local.INFO: IMEI packet received {"connection_id":160381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":160381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:28:57] local.INFO: TCP Data received {"connection_id":160381,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:28:57] local.INFO: Processing buffer {"connection_id":160381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:28:57] local.INFO: Packet analysis {"connection_id":160381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:28:57] local.INFO: Extracted packet for processing {"connection_id":160381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:28:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580744448001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787425084000,"timestamp_ms":1787425084000,"timestamp_seconds":1787425084,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad65260"} 
[2026-08-23 00:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:28: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-08-23 00:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580744448001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580744448001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:28:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:28:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580744448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":160381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:28:58] local.INFO: GPS data processed {"connection_id":160381,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:28:58] local.INFO: Acknowledgment sent {"connection_id":160381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:29:24] local.INFO: TCP Data received {"connection_id":161332,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad5dd30012d6b42800614a4b0000b01622e..."} 
[2026-08-23 00:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad5dd30012d6b42800614a4b0000b01622e..."} 
[2026-08-23 00:29:24] local.INFO: Processing buffer {"connection_id":161332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad5dd30012d6b42800614a4b0000b01622e..."} 
[2026-08-23 00:29:24] local.INFO: Packet analysis {"connection_id":161332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad5"} 
[2026-08-23 00:29:24] local.INFO: Extracted packet for processing {"connection_id":161332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad5"} 
[2026-08-23 00:29:24] local.INFO: GPS Element Parsed {"raw_longitude":762004096,"raw_latitude":102016176,"longitude_deg":76.2004096,"latitude_deg":10.2016176,"altitude":11,"angle":354,"satellites":46,"speed":26,"hex_longitude":"2d6b4280","hex_latitude":"0614a4b0","is_valid_coordinates":true} 
[2026-08-23 00:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580810240001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389302561628225536,"note":"Value kept but may cause issues"} 
[2026-08-23 00:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7729373255332634624,"note":"Value kept but may cause issues"} 
[2026-08-23 00:29:24] 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-08-23 00:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787425054000,"timestamp_ms":1787425054000,"timestamp_seconds":1787425054,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad5dd30"} 
[2026-08-23 00:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 00:29: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-08-23 00:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:29:24] 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-08-23 00:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580810240001,"66":27234,"167":206,"79":20992,"24":26,"16":389302561628225536,"45":7729373255332634624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-08-23 00:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580810240001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:29:24] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-23 00:29:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389302561628225536,"km_value":389302561628225.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":7729373255332634624,"description":"Unknown IO ID 45"} 
[2026-08-23 00:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580810240001,"power":27234,"unknown_167":206,"unknown_79":20992,"ignition":26,"odometer":null,"unknown_45":7729373255332634624}} 
[2026-08-23 00:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":161332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:29:24] local.INFO: GPS data processed {"connection_id":161332,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:29:24] local.INFO: Acknowledgment sent {"connection_id":161332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:29:29] local.INFO: TCP Data received {"connection_id":160381,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:29:29] local.INFO: Processing buffer {"connection_id":160381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:29:29] local.INFO: Packet analysis {"connection_id":160381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:29:29] local.INFO: Extracted packet for processing {"connection_id":160381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:29:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580744448001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787425084000,"timestamp_ms":1787425084000,"timestamp_seconds":1787425084,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad65260"} 
[2026-08-23 00:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:29: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-08-23 00:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580744448001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580744448001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:29:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:29:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580744448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":160381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:29:29] local.INFO: GPS data processed {"connection_id":160381,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:29:29] local.INFO: Acknowledgment sent {"connection_id":160381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:29:47] local.INFO: TCP Data received {"connection_id":161333,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:29:47] local.INFO: Processing buffer {"connection_id":161333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:29:47] local.INFO: IMEI packet received {"connection_id":161333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":161333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:29:51] local.INFO: TCP Data received {"connection_id":160168,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:29:51] local.INFO: Processing buffer {"connection_id":160168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:29:51] local.INFO: IMEI packet received {"connection_id":160168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":160168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:29:53] local.INFO: TCP Data received {"connection_id":161333,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:29:53] local.INFO: Processing buffer {"connection_id":161333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:29:53] local.INFO: IMEI packet received {"connection_id":161333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":161333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:29:54] local.INFO: TCP Data received {"connection_id":161333,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad62380012d6b3d800614c898000b015f2f..."} 
[2026-08-23 00:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad62380012d6b3d800614c898000b015f2f..."} 
[2026-08-23 00:29:54] local.INFO: Processing buffer {"connection_id":161333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad62380012d6b3d800614c898000b015f2f..."} 
[2026-08-23 00:29:54] local.INFO: Packet analysis {"connection_id":161333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:29:54] local.INFO: Extracted packet for processing {"connection_id":161333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:29:54] local.INFO: GPS Element Parsed {"raw_longitude":762002816,"raw_latitude":102025368,"longitude_deg":76.2002816,"latitude_deg":10.2025368,"altitude":11,"angle":351,"satellites":47,"speed":22,"hex_longitude":"2d6b3d80","hex_latitude":"0614c898","is_valid_coordinates":true} 
[2026-08-23 00:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580813824001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389303012599791616,"note":"Value kept but may cause issues"} 
[2026-08-23 00:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7728880674125688832,"note":"Value kept but may cause issues"} 
[2026-08-23 00:29:54] 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-08-23 00:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787425072000,"timestamp_ms":1787425072000,"timestamp_seconds":1787425072,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad62380"} 
[2026-08-23 00:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 00:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:29:54] 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-08-23 00:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580813824001,"66":27376,"167":206,"79":20992,"24":22,"16":389303012599791616,"45":7728880674125688832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-08-23 00:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580813824001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:29:54] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-23 00:29:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389303012599791616,"km_value":389303012599791.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7728880674125688832,"description":"Unknown IO ID 45"} 
[2026-08-23 00:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580813824001,"power":27376,"unknown_167":206,"unknown_79":20992,"ignition":22,"odometer":null,"unknown_45":7728880674125688832}} 
[2026-08-23 00:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":161333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:29:54] local.INFO: GPS data processed {"connection_id":161333,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:29:54] local.INFO: Acknowledgment sent {"connection_id":161333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:29:56] local.INFO: TCP Data received {"connection_id":160168,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:29:56] local.INFO: Processing buffer {"connection_id":160168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:29:56] local.INFO: IMEI packet received {"connection_id":160168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":160168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:29:57] local.INFO: TCP Data received {"connection_id":160168,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:29:57] local.INFO: Processing buffer {"connection_id":160168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:29:57] local.INFO: Packet analysis {"connection_id":160168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:29:57] local.INFO: Extracted packet for processing {"connection_id":160168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:29:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580744448001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787425084000,"timestamp_ms":1787425084000,"timestamp_seconds":1787425084,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad65260"} 
[2026-08-23 00:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:29: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-08-23 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580744448001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580744448001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:29:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:29:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580744448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":160168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:29:57] local.INFO: GPS data processed {"connection_id":160168,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:29:57] local.INFO: Acknowledgment sent {"connection_id":160168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:30:27] local.INFO: TCP Data received {"connection_id":161333,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad65e18012d6b39000614ebb0000a01632f..."} 
[2026-08-23 00:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad65e18012d6b39000614ebb0000a01632f..."} 
[2026-08-23 00:30:27] local.INFO: Processing buffer {"connection_id":161333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad65e18012d6b39000614ebb0000a01632f..."} 
[2026-08-23 00:30:27] local.INFO: Packet analysis {"connection_id":161333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:30:27] local.INFO: Extracted packet for processing {"connection_id":161333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:30:27] local.INFO: GPS Element Parsed {"raw_longitude":762001664,"raw_latitude":102034352,"longitude_deg":76.2001664,"latitude_deg":10.2034352,"altitude":10,"angle":355,"satellites":47,"speed":23,"hex_longitude":"2d6b3900","hex_latitude":"0614ebb0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580818432001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389303450686455808,"note":"Value kept but may cause issues"} 
[2026-08-23 00:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7727473299244488704,"note":"Value kept but may cause issues"} 
[2026-08-23 00:30:27] 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-08-23 00:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787425087000,"timestamp_ms":1787425087000,"timestamp_seconds":1787425087,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad65e18"} 
[2026-08-23 00:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 00:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:30:27] 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-08-23 00:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580818432001,"66":27376,"167":206,"79":20992,"24":23,"16":389303450686455808,"45":7727473299244488704},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-08-23 00:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580818432001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:30:27] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-23 00:30:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389303450686455808,"km_value":389303450686455.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7727473299244488704,"description":"Unknown IO ID 45"} 
[2026-08-23 00:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580818432001,"power":27376,"unknown_167":206,"unknown_79":20992,"ignition":23,"odometer":null,"unknown_45":7727473299244488704}} 
[2026-08-23 00:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":161333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:30:27] local.INFO: GPS data processed {"connection_id":161333,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:30:27] local.INFO: Acknowledgment sent {"connection_id":161333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:30:28] local.INFO: TCP Data received {"connection_id":160168,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:30:28] local.INFO: Processing buffer {"connection_id":160168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:30:28] local.INFO: Packet analysis {"connection_id":160168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:30:28] local.INFO: Extracted packet for processing {"connection_id":160168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580744448001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787425084000,"timestamp_ms":1787425084000,"timestamp_seconds":1787425084,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad65260"} 
[2026-08-23 00:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:30: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-08-23 00:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580744448001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580744448001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:30:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:30:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580744448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":160168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:30:28] local.INFO: GPS data processed {"connection_id":160168,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:30:28] local.INFO: Acknowledgment sent {"connection_id":160168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:30:47] local.INFO: TCP Data received {"connection_id":160169,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:30:47] local.INFO: Processing buffer {"connection_id":160169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:30:47] local.INFO: IMEI packet received {"connection_id":160169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":160169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:30:52] local.INFO: TCP Data received {"connection_id":160170,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:30:52] local.INFO: Processing buffer {"connection_id":160170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:30:52] local.INFO: IMEI packet received {"connection_id":160170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":160170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:30:53] local.INFO: TCP Data received {"connection_id":160169,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:30:53] local.INFO: Processing buffer {"connection_id":160169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:30:53] local.INFO: IMEI packet received {"connection_id":160169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":160169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:30:54] local.INFO: TCP Data received {"connection_id":160169,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad7d130012d6b12000615ea20000a01532e..."} 
[2026-08-23 00:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad7d130012d6b12000615ea20000a01532e..."} 
[2026-08-23 00:30:54] local.INFO: Processing buffer {"connection_id":160169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad7d130012d6b12000615ea20000a01532e..."} 
[2026-08-23 00:30:54] local.INFO: Packet analysis {"connection_id":160169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad7"} 
[2026-08-23 00:30:54] local.INFO: Extracted packet for processing {"connection_id":160169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad7"} 
[2026-08-23 00:30:54] local.INFO: GPS Element Parsed {"raw_longitude":761991680,"raw_latitude":102099488,"longitude_deg":76.199168,"latitude_deg":10.2099488,"altitude":10,"angle":339,"satellites":46,"speed":48,"hex_longitude":"2d6b1200","hex_latitude":"0615ea20","is_valid_coordinates":true} 
[2026-08-23 00:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580844288001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389306680501862400,"note":"Value kept but may cause issues"} 
[2026-08-23 00:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7719169787447785472,"note":"Value kept but may cause issues"} 
[2026-08-23 00:30:54] 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-08-23 00:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787425182000,"timestamp_ms":1787425182000,"timestamp_seconds":1787425182,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad7d130"} 
[2026-08-23 00:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:30: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-08-23 00:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 00:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:30:54] 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-08-23 00:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580844288001,"66":27300,"236":206,"79":20992,"24":48,"16":389306680501862400,"45":7719169787447785472},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-08-23 00:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580844288001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:30:54] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-23 00:30:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389306680501862400,"km_value":389306680501862.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7719169787447785472,"description":"Unknown IO ID 45"} 
[2026-08-23 00:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580844288001,"power":27300,"unknown_236":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":7719169787447785472}} 
[2026-08-23 00:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":160169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:30:54] local.INFO: GPS data processed {"connection_id":160169,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:30:54] local.INFO: Acknowledgment sent {"connection_id":160169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:30:56] local.INFO: TCP Data received {"connection_id":160170,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:30:56] local.INFO: Processing buffer {"connection_id":160170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:30:56] local.INFO: IMEI packet received {"connection_id":160170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":160170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:30:57] local.INFO: TCP Data received {"connection_id":160170,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:30:57] local.INFO: Processing buffer {"connection_id":160170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:30:57] local.INFO: Packet analysis {"connection_id":160170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:30:57] local.INFO: Extracted packet for processing {"connection_id":160170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:30:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580744448001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787425084000,"timestamp_ms":1787425084000,"timestamp_seconds":1787425084,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad65260"} 
[2026-08-23 00:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:30: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-08-23 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580744448001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580744448001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:30:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:30:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580744448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":160170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:30:57] local.INFO: GPS data processed {"connection_id":160170,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:30:57] local.INFO: Acknowledgment sent {"connection_id":160170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:31:25] local.INFO: TCP Data received {"connection_id":160169,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad7f070012d6b05c006160cf0000c01552e..."} 
[2026-08-23 00:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad7f070012d6b05c006160cf0000c01552e..."} 
[2026-08-23 00:31:25] local.INFO: Processing buffer {"connection_id":160169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad7f070012d6b05c006160cf0000c01552e..."} 
[2026-08-23 00:31:25] local.INFO: Packet analysis {"connection_id":160169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad7"} 
[2026-08-23 00:31:25] local.INFO: Extracted packet for processing {"connection_id":160169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad7"} 
[2026-08-23 00:31:25] local.INFO: GPS Element Parsed {"raw_longitude":761988544,"raw_latitude":102108400,"longitude_deg":76.1988544,"latitude_deg":10.21084,"altitude":12,"angle":341,"satellites":46,"speed":46,"hex_longitude":"2d6b05c0","hex_latitude":"06160cf0","is_valid_coordinates":true} 
[2026-08-23 00:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580846592001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389307140063363072,"note":"Value kept but may cause issues"} 
[2026-08-23 00:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7715229137776549888,"note":"Value kept but may cause issues"} 
[2026-08-23 00:31:25] 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-08-23 00:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787425190000,"timestamp_ms":1787425190000,"timestamp_seconds":1787425190,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad7f070"} 
[2026-08-23 00:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:31: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-08-23 00:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 00:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:31:25] 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-08-23 00:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580846592001,"66":27332,"236":206,"79":20992,"24":46,"16":389307140063363072,"45":7715229137776549888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-08-23 00:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580846592001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:31:25] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-23 00:31:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389307140063363072,"km_value":389307140063363.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":7715229137776549888,"description":"Unknown IO ID 45"} 
[2026-08-23 00:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580846592001,"power":27332,"unknown_236":206,"unknown_79":20992,"ignition":46,"odometer":null,"unknown_45":7715229137776549888}} 
[2026-08-23 00:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":160169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:31:25] local.INFO: GPS data processed {"connection_id":160169,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:31:25] local.INFO: Acknowledgment sent {"connection_id":160169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:31:29] local.INFO: TCP Data received {"connection_id":160170,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:31:29] local.INFO: Processing buffer {"connection_id":160170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:31:29] local.INFO: Packet analysis {"connection_id":160170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:31:29] local.INFO: Extracted packet for processing {"connection_id":160170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:31:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580744448001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787425084000,"timestamp_ms":1787425084000,"timestamp_seconds":1787425084,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad65260"} 
[2026-08-23 00:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:31: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-08-23 00:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:31:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580744448001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580744448001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:31:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:31:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580744448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":160170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:31:29] local.INFO: GPS data processed {"connection_id":160170,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:31:29] local.INFO: Acknowledgment sent {"connection_id":160170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:31:51] local.INFO: TCP Data received {"connection_id":160383,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:31:51] local.INFO: Processing buffer {"connection_id":160383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:31:51] local.INFO: IMEI packet received {"connection_id":160383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":160383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:31:53] local.INFO: TCP Data received {"connection_id":160382,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:31:53] local.INFO: Processing buffer {"connection_id":160382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:31:53] local.INFO: IMEI packet received {"connection_id":160382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":160382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:31:53] local.INFO: TCP Data received {"connection_id":160382,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:31:53] local.INFO: Processing buffer {"connection_id":160382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:31:53] local.INFO: IMEI packet received {"connection_id":160382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":160382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:31:56] local.INFO: TCP Data received {"connection_id":160383,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:31:56] local.INFO: Processing buffer {"connection_id":160383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:31:56] local.INFO: IMEI packet received {"connection_id":160383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":160383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:31:57] local.INFO: TCP Data received {"connection_id":160383,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:31:57] local.INFO: Processing buffer {"connection_id":160383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:31:57] local.INFO: Packet analysis {"connection_id":160383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:31:57] local.INFO: Extracted packet for processing {"connection_id":160383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:31:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580744448001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787425084000,"timestamp_ms":1787425084000,"timestamp_seconds":1787425084,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad65260"} 
[2026-08-23 00:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:31: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-08-23 00:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580744448001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580744448001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:31:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:31:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580744448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":160383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:31:57] local.INFO: GPS data processed {"connection_id":160383,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:31:57] local.INFO: Acknowledgment sent {"connection_id":160383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:31:57] local.INFO: TCP Data received {"connection_id":160382,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:31:57] local.INFO: Processing buffer {"connection_id":160382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:31:57] local.INFO: IMEI packet received {"connection_id":160382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":160382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:31:58] local.INFO: TCP Data received {"connection_id":160382,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad80fb0012d6afa0006162e80000d01542e..."} 
[2026-08-23 00:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad80fb0012d6afa0006162e80000d01542e..."} 
[2026-08-23 00:31:58] local.INFO: Processing buffer {"connection_id":160382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad80fb0012d6afa0006162e80000d01542e..."} 
[2026-08-23 00:31:58] local.INFO: Packet analysis {"connection_id":160382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad8"} 
[2026-08-23 00:31:58] local.INFO: Extracted packet for processing {"connection_id":160382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad8"} 
[2026-08-23 00:31:58] local.INFO: GPS Element Parsed {"raw_longitude":761985536,"raw_latitude":102116992,"longitude_deg":76.1985536,"latitude_deg":10.2116992,"altitude":13,"angle":340,"satellites":46,"speed":42,"hex_longitude":"2d6afa00","hex_latitude":"06162e80","is_valid_coordinates":true} 
[2026-08-23 00:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580848640001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389307578150027264,"note":"Value kept but may cause issues"} 
[2026-08-23 00:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7711781069314125824,"note":"Value kept but may cause issues"} 
[2026-08-23 00:31:58] 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-08-23 00:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787425198000,"timestamp_ms":1787425198000,"timestamp_seconds":1787425198,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad80fb0"} 
[2026-08-23 00:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 00:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:31:58] 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-08-23 00:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580848640001,"66":27321,"236":206,"79":20992,"24":42,"16":389307578150027264,"45":7711781069314125824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-08-23 00:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580848640001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:31:58] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-23 00:31:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389307578150027264,"km_value":389307578150027.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7711781069314125824,"description":"Unknown IO ID 45"} 
[2026-08-23 00:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580848640001,"power":27321,"unknown_236":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7711781069314125824}} 
[2026-08-23 00:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":160382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:31:58] local.INFO: GPS data processed {"connection_id":160382,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:31:58] local.INFO: Acknowledgment sent {"connection_id":160382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:32:04] local.INFO: TCP Data received {"connection_id":160382,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad832d8012d6aee8006164ff0000d01542c..."} 
[2026-08-23 00:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad832d8012d6aee8006164ff0000d01542c..."} 
[2026-08-23 00:32:04] local.INFO: Processing buffer {"connection_id":160382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad832d8012d6aee8006164ff0000d01542c..."} 
[2026-08-23 00:32:04] local.INFO: Packet analysis {"connection_id":160382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad8"} 
[2026-08-23 00:32:04] local.INFO: Extracted packet for processing {"connection_id":160382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad8"} 
[2026-08-23 00:32:04] local.INFO: GPS Element Parsed {"raw_longitude":761982592,"raw_latitude":102125552,"longitude_deg":76.1982592,"latitude_deg":10.2125552,"altitude":13,"angle":340,"satellites":44,"speed":38,"hex_longitude":"2d6aee80","hex_latitude":"06164ff0","is_valid_coordinates":true} 
[2026-08-23 00:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580850688001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389308016236691456,"note":"Value kept but may cause issues"} 
[2026-08-23 00:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7708473738339975168,"note":"Value kept but may cause issues"} 
[2026-08-23 00:32:04] 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-08-23 00:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787425207000,"timestamp_ms":1787425207000,"timestamp_seconds":1787425207,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad832d8"} 
[2026-08-23 00:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 00:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:32:04] 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-08-23 00:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580850688001,"66":27343,"236":206,"79":20992,"24":38,"16":389308016236691456,"45":7708473738339975168},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-08-23 00:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580850688001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:32:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-23 00:32:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389308016236691456,"km_value":389308016236691.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7708473738339975168,"description":"Unknown IO ID 45"} 
[2026-08-23 00:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580850688001,"power":27343,"unknown_236":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7708473738339975168}} 
[2026-08-23 00:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":160382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:32:04] local.INFO: GPS data processed {"connection_id":160382,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:32:04] local.INFO: Acknowledgment sent {"connection_id":160382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:32:28] local.INFO: TCP Data received {"connection_id":160383,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:32:28] local.INFO: Processing buffer {"connection_id":160383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:32:28] local.INFO: Packet analysis {"connection_id":160383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:32:28] local.INFO: Extracted packet for processing {"connection_id":160383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:32:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580744448001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787425084000,"timestamp_ms":1787425084000,"timestamp_seconds":1787425084,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad65260"} 
[2026-08-23 00:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00: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-08-23 00:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580744448001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580744448001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:32:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:32:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580744448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":160383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:32:28] local.INFO: GPS data processed {"connection_id":160383,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:32:28] local.INFO: Acknowledgment sent {"connection_id":160383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:32:51] local.INFO: TCP Data received {"connection_id":161334,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:32:51] local.INFO: Processing buffer {"connection_id":161334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:32:51] local.INFO: IMEI packet received {"connection_id":161334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":161334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:32:56] local.INFO: TCP Data received {"connection_id":161334,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:32:56] local.INFO: Processing buffer {"connection_id":161334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:32:56] local.INFO: IMEI packet received {"connection_id":161334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":161334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:32:57] local.INFO: TCP Data received {"connection_id":161334,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:32:57] local.INFO: Processing buffer {"connection_id":161334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:32:57] local.INFO: Packet analysis {"connection_id":161334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:32:57] local.INFO: Extracted packet for processing {"connection_id":161334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:32:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580744448001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787425084000,"timestamp_ms":1787425084000,"timestamp_seconds":1787425084,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad65260"} 
[2026-08-23 00:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:32: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-08-23 00:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580744448001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580744448001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:32:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:32:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580744448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":161334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:32:57] local.INFO: GPS data processed {"connection_id":161334,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:32:57] local.INFO: Acknowledgment sent {"connection_id":161334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:32:57] local.INFO: TCP Data received {"connection_id":161335,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:32:57] local.INFO: Processing buffer {"connection_id":161335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:32:57] local.INFO: IMEI packet received {"connection_id":161335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":161335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:33:03] local.INFO: TCP Data received {"connection_id":161335,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:33:03] local.INFO: Processing buffer {"connection_id":161335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:33:03] local.INFO: IMEI packet received {"connection_id":161335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":161335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:33:03] local.INFO: TCP Data received {"connection_id":161335,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad99e20012d6a8fc00617d928000900002e..."} 
[2026-08-23 00:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad99e20012d6a8fc00617d928000900002e..."} 
[2026-08-23 00:33:03] local.INFO: Processing buffer {"connection_id":161335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad99e20012d6a8fc00617d928000900002e..."} 
[2026-08-23 00:33:03] local.INFO: Packet analysis {"connection_id":161335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad9"} 
[2026-08-23 00:33:03] local.INFO: Extracted packet for processing {"connection_id":161335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad9"} 
[2026-08-23 00:33:03] local.INFO: GPS Element Parsed {"raw_longitude":761958336,"raw_latitude":102226216,"longitude_deg":76.1958336,"latitude_deg":10.2226216,"altitude":9,"angle":0,"satellites":46,"speed":44,"hex_longitude":"2d6a8fc0","hex_latitude":"0617d928","is_valid_coordinates":true} 
[2026-08-23 00:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580874496001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389313075708166144,"note":"Value kept but may cause issues"} 
[2026-08-23 00:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678637390834063360,"note":"Value kept but may cause issues"} 
[2026-08-23 00:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787425300000,"timestamp_ms":1787425300000,"timestamp_seconds":1787425300,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad99e20"} 
[2026-08-23 00:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 00:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:33:03] 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-08-23 00:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580874496001,"66":27300,"93":206,"79":20992,"24":44,"16":389313075708166144,"45":7678637390834063360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-08-23 00:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580874496001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:33:03] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-23 00:33:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389313075708166144,"km_value":389313075708166.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678637390834063360,"description":"Unknown IO ID 45"} 
[2026-08-23 00:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580874496001,"power":27300,"unknown_93":206,"unknown_79":20992,"ignition":44,"odometer":null,"unknown_45":7678637390834063360}} 
[2026-08-23 00:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":161335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:33:04] local.INFO: GPS data processed {"connection_id":161335,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:33:04] local.INFO: Acknowledgment sent {"connection_id":161335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:33:29] local.INFO: TCP Data received {"connection_id":161334,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:33:29] local.INFO: Processing buffer {"connection_id":161334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad65260012d196540071ff1b0003f01372b..."} 
[2026-08-23 00:33:29] local.INFO: Packet analysis {"connection_id":161334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:33:29] local.INFO: Extracted packet for processing {"connection_id":161334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad6"} 
[2026-08-23 00:33:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580744448001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787425084000,"timestamp_ms":1787425084000,"timestamp_seconds":1787425084,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad65260"} 
[2026-08-23 00:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:33: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-08-23 00:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580744448001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580744448001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:33:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:33:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580744448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":161334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:33:29] local.INFO: GPS data processed {"connection_id":161334,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:33:29] local.INFO: Acknowledgment sent {"connection_id":161334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:33:47] local.INFO: TCP Data received {"connection_id":160171,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:33:47] local.INFO: Processing buffer {"connection_id":160171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:33:47] local.INFO: IMEI packet received {"connection_id":160171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":160171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:33:50] local.INFO: TCP Data received {"connection_id":160171,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:33:50] local.INFO: Processing buffer {"connection_id":160171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:33:50] local.INFO: IMEI packet received {"connection_id":160171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":160171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:33:53] local.INFO: TCP Data received {"connection_id":160171,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:33:53] local.INFO: Processing buffer {"connection_id":160171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:33:53] local.INFO: IMEI packet received {"connection_id":160171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":160171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:33:54] local.INFO: TCP Data received {"connection_id":160171,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad9bd60012d6a8fc00617fc08000800002c..."} 
[2026-08-23 00:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad9bd60012d6a8fc00617fc08000800002c..."} 
[2026-08-23 00:33:54] local.INFO: Processing buffer {"connection_id":160171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad9bd60012d6a8fc00617fc08000800002c..."} 
[2026-08-23 00:33:54] local.INFO: Packet analysis {"connection_id":160171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad9"} 
[2026-08-23 00:33:54] local.INFO: Extracted packet for processing {"connection_id":160171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad9"} 
[2026-08-23 00:33:54] local.INFO: GPS Element Parsed {"raw_longitude":761958336,"raw_latitude":102235144,"longitude_deg":76.1958336,"latitude_deg":10.2235144,"altitude":8,"angle":0,"satellites":44,"speed":44,"hex_longitude":"2d6a8fc0","hex_latitude":"0617fc08","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580876800001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389313509499863040,"note":"Value kept but may cause issues"} 
[2026-08-23 00:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678567022092429312,"note":"Value kept but may cause issues"} 
[2026-08-23 00:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787425308000,"timestamp_ms":1787425308000,"timestamp_seconds":1787425308,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad9bd60"} 
[2026-08-23 00:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 00:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:33:54] 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-08-23 00:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580876800001,"66":27300,"93":206,"79":20992,"24":44,"16":389313509499863040,"45":7678567022092429312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-08-23 00:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580876800001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:33:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-23 00:33:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389313509499863040,"km_value":389313509499863.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678567022092429312,"description":"Unknown IO ID 45"} 
[2026-08-23 00:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580876800001,"power":27300,"unknown_93":206,"unknown_79":20992,"ignition":44,"odometer":null,"unknown_45":7678567022092429312}} 
[2026-08-23 00:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":160171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:33:54] local.INFO: GPS data processed {"connection_id":160171,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:33:54] local.INFO: Acknowledgment sent {"connection_id":160171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:33:56] local.INFO: TCP Data received {"connection_id":160172,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:33:56] local.INFO: Processing buffer {"connection_id":160172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:33:56] local.INFO: IMEI packet received {"connection_id":160172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":160172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:34:01] local.INFO: TCP Data received {"connection_id":160172,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:34:01] local.INFO: Processing buffer {"connection_id":160172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:34:01] local.INFO: IMEI packet received {"connection_id":160172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":160172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:34:02] local.INFO: TCP Data received {"connection_id":160172,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:34:02] local.INFO: Processing buffer {"connection_id":160172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:34:02] local.INFO: Packet analysis {"connection_id":160172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:34:02] local.INFO: Extracted packet for processing {"connection_id":160172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:34:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580821504001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787425385000,"timestamp_ms":1787425385000,"timestamp_seconds":1787425385,"priority":1,"record_length":96,"hex_timestamp":"000001a02adaea28"} 
[2026-08-23 00:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:34: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-08-23 00:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580821504001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580821504001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:34:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:34:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580821504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":160172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:34:02] local.INFO: GPS data processed {"connection_id":160172,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:34:02] local.INFO: Acknowledgment sent {"connection_id":160172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:34:07] local.INFO: TCP Data received {"connection_id":160172,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:34:07] local.INFO: Processing buffer {"connection_id":160172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:34:07] local.INFO: Packet analysis {"connection_id":160172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:34:07] local.INFO: Extracted packet for processing {"connection_id":160172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580821504001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787425385000,"timestamp_ms":1787425385000,"timestamp_seconds":1787425385,"priority":1,"record_length":96,"hex_timestamp":"000001a02adaea28"} 
[2026-08-23 00:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:34:07] 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-08-23 00:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580821504001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580821504001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:34:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:34:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580821504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":160172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:34:07] local.INFO: GPS data processed {"connection_id":160172,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:34:07] local.INFO: Acknowledgment sent {"connection_id":160172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:34:25] local.INFO: TCP Data received {"connection_id":160171,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad9d8b8012d6a8ec0061816200007015d2c..."} 
[2026-08-23 00:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad9d8b8012d6a8ec0061816200007015d2c..."} 
[2026-08-23 00:34:25] local.INFO: Processing buffer {"connection_id":160171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad9d8b8012d6a8ec0061816200007015d2c..."} 
[2026-08-23 00:34:25] local.INFO: Packet analysis {"connection_id":160171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad9"} 
[2026-08-23 00:34:25] local.INFO: Extracted packet for processing {"connection_id":160171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad9"} 
[2026-08-23 00:34:25] local.INFO: GPS Element Parsed {"raw_longitude":761958080,"raw_latitude":102241824,"longitude_deg":76.195808,"latitude_deg":10.2241824,"altitude":7,"angle":349,"satellites":44,"speed":29,"hex_longitude":"2d6a8ec0","hex_latitude":"06181620","is_valid_coordinates":true} 
[2026-08-23 00:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580878848001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389313831622410240,"note":"Value kept but may cause issues"} 
[2026-08-23 00:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678567022094714880,"note":"Value kept but may cause issues"} 
[2026-08-23 00:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787425315000,"timestamp_ms":1787425315000,"timestamp_seconds":1787425315,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad9d8b8"} 
[2026-08-23 00:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:34: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-08-23 00:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 00:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:34:25] 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-08-23 00:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580878848001,"66":27234,"93":206,"79":20992,"24":29,"16":389313831622410240,"45":7678567022094714880},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-08-23 00:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580878848001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:34:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-23 00:34:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389313831622410240,"km_value":389313831622410.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678567022094714880,"description":"Unknown IO ID 45"} 
[2026-08-23 00:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580878848001,"power":27234,"unknown_93":206,"unknown_79":20992,"ignition":29,"odometer":null,"unknown_45":7678567022094714880}} 
[2026-08-23 00:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":160171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:34:25] local.INFO: GPS data processed {"connection_id":160171,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:34:25] local.INFO: Acknowledgment sent {"connection_id":160171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:34:51] local.INFO: TCP Data received {"connection_id":161336,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:34:51] local.INFO: Processing buffer {"connection_id":161336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:34:51] local.INFO: IMEI packet received {"connection_id":161336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":161336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:34:53] local.INFO: TCP Data received {"connection_id":160173,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:34:53] local.INFO: Processing buffer {"connection_id":160173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:34:53] local.INFO: IMEI packet received {"connection_id":160173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":160173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:34:55] local.INFO: TCP Data received {"connection_id":160173,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:34:55] local.INFO: Processing buffer {"connection_id":160173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:34:55] local.INFO: IMEI packet received {"connection_id":160173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":160173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:34:56] local.INFO: TCP Data received {"connection_id":160173,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ad9ec40012d6a8cc006182398000700012e..."} 
[2026-08-23 00:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ad9ec40012d6a8cc006182398000700012e..."} 
[2026-08-23 00:34:56] local.INFO: Processing buffer {"connection_id":160173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ad9ec40012d6a8cc006182398000700012e..."} 
[2026-08-23 00:34:56] local.INFO: Packet analysis {"connection_id":160173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ad9"} 
[2026-08-23 00:34:56] local.INFO: Extracted packet for processing {"connection_id":160173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ad9"} 
[2026-08-23 00:34:56] local.INFO: GPS Element Parsed {"raw_longitude":761957568,"raw_latitude":102245272,"longitude_deg":76.1957568,"latitude_deg":10.2245272,"altitude":7,"angle":1,"satellites":46,"speed":26,"hex_longitude":"2d6a8cc0","hex_latitude":"06182398","is_valid_coordinates":true} 
[2026-08-23 00:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580880640001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389314003421102080,"note":"Value kept but may cause issues"} 
[2026-08-23 00:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678285547119714304,"note":"Value kept but may cause issues"} 
[2026-08-23 00:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787425320000,"timestamp_ms":1787425320000,"timestamp_seconds":1787425320,"priority":1,"record_length":96,"hex_timestamp":"000001a02ad9ec40"} 
[2026-08-23 00:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 00:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:34:56] 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-08-23 00:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580880640001,"66":27397,"93":206,"79":20992,"24":26,"16":389314003421102080,"45":7678285547119714304},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-08-23 00:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580880640001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:34:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-23 00:34:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389314003421102080,"km_value":389314003421102.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678285547119714304,"description":"Unknown IO ID 45"} 
[2026-08-23 00:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580880640001,"power":27397,"unknown_93":206,"unknown_79":20992,"ignition":26,"odometer":null,"unknown_45":7678285547119714304}} 
[2026-08-23 00:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":160173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:34:56] local.INFO: GPS data processed {"connection_id":160173,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:34:56] local.INFO: Acknowledgment sent {"connection_id":160173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:34:56] local.INFO: TCP Data received {"connection_id":161336,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:34:56] local.INFO: Processing buffer {"connection_id":161336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:34:56] local.INFO: IMEI packet received {"connection_id":161336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":161336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:34:57] local.INFO: TCP Data received {"connection_id":161336,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:34:57] local.INFO: Processing buffer {"connection_id":161336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:34:57] local.INFO: Packet analysis {"connection_id":161336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:34:57] local.INFO: Extracted packet for processing {"connection_id":161336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:34:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580821504001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787425385000,"timestamp_ms":1787425385000,"timestamp_seconds":1787425385,"priority":1,"record_length":96,"hex_timestamp":"000001a02adaea28"} 
[2026-08-23 00:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:34: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-08-23 00:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580821504001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580821504001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:34:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:34:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580821504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":161336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:34:57] local.INFO: GPS data processed {"connection_id":161336,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:34:57] local.INFO: Acknowledgment sent {"connection_id":161336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:34:58] local.INFO: TCP Data received {"connection_id":160173,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ada22f0012d6a8d00061847f8000801672f..."} 
[2026-08-23 00:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ada22f0012d6a8d00061847f8000801672f..."} 
[2026-08-23 00:34:58] local.INFO: Processing buffer {"connection_id":160173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ada22f0012d6a8d00061847f8000801672f..."} 
[2026-08-23 00:34:58] local.INFO: Packet analysis {"connection_id":160173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:34:58] local.INFO: Extracted packet for processing {"connection_id":160173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:34:58] local.INFO: GPS Element Parsed {"raw_longitude":761957632,"raw_latitude":102254584,"longitude_deg":76.1957632,"latitude_deg":10.2254584,"altitude":8,"angle":359,"satellites":47,"speed":21,"hex_longitude":"2d6a8d00","hex_latitude":"061847f8","is_valid_coordinates":true} 
[2026-08-23 00:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580881920001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389314454392668160,"note":"Value kept but may cause issues"} 
[2026-08-23 00:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7677722597167175680,"note":"Value kept but may cause issues"} 
[2026-08-23 00:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787425334000,"timestamp_ms":1787425334000,"timestamp_seconds":1787425334,"priority":1,"record_length":96,"hex_timestamp":"000001a02ada22f0"} 
[2026-08-23 00:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:34: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-08-23 00:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 00:34: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-08-23 00:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:34:58] 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-08-23 00:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580881920001,"66":27245,"93":206,"79":20992,"24":21,"16":389314454392668160,"45":7677722597167175680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-08-23 00:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580881920001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:34:58] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-23 00:34:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389314454392668160,"km_value":389314454392668.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7677722597167175680,"description":"Unknown IO ID 45"} 
[2026-08-23 00:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580881920001,"power":27245,"unknown_93":206,"unknown_79":20992,"ignition":21,"odometer":null,"unknown_45":7677722597167175680}} 
[2026-08-23 00:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":160173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:34:58] local.INFO: GPS data processed {"connection_id":160173,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:34:58] local.INFO: Acknowledgment sent {"connection_id":160173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:35:28] local.INFO: TCP Data received {"connection_id":161336,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:35:28] local.INFO: Processing buffer {"connection_id":161336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:35:28] local.INFO: Packet analysis {"connection_id":161336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:35:28] local.INFO: Extracted packet for processing {"connection_id":161336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580821504001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787425385000,"timestamp_ms":1787425385000,"timestamp_seconds":1787425385,"priority":1,"record_length":96,"hex_timestamp":"000001a02adaea28"} 
[2026-08-23 00:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:35: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-08-23 00:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580821504001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580821504001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:35:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:35:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580821504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":161336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:35:28] local.INFO: GPS data processed {"connection_id":161336,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:35:28] local.INFO: Acknowledgment sent {"connection_id":161336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:35:30] local.INFO: TCP Data received {"connection_id":160173,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ada6940012d6a8a4006186b80000801622e..."} 
[2026-08-23 00:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ada6940012d6a8a4006186b80000801622e..."} 
[2026-08-23 00:35:30] local.INFO: Processing buffer {"connection_id":160173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ada6940012d6a8a4006186b80000801622e..."} 
[2026-08-23 00:35:30] local.INFO: Packet analysis {"connection_id":160173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:35:30] local.INFO: Extracted packet for processing {"connection_id":160173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:35:30] local.INFO: GPS Element Parsed {"raw_longitude":761956928,"raw_latitude":102263680,"longitude_deg":76.1956928,"latitude_deg":10.226368,"altitude":8,"angle":354,"satellites":46,"speed":14,"hex_longitude":"2d6a8a40","hex_latitude":"06186b80","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580885504001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389314896774299648,"note":"Value kept but may cause issues"} 
[2026-08-23 00:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7677792965913737216,"note":"Value kept but may cause issues"} 
[2026-08-23 00:35:30] 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-08-23 00:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787425352000,"timestamp_ms":1787425352000,"timestamp_seconds":1787425352,"priority":1,"record_length":96,"hex_timestamp":"000001a02ada6940"} 
[2026-08-23 00:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:35: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-08-23 00:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-23 00:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:35:30] 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-08-23 00:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580885504001,"66":27365,"191":206,"79":20992,"24":14,"16":389314896774299648,"45":7677792965913737216},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,79,24,16,45]} 
[2026-08-23 00:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580885504001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:35:30] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 00:35:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389314896774299648,"km_value":389314896774299.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7677792965913737216,"description":"Unknown IO ID 45"} 
[2026-08-23 00:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580885504001,"power":27365,"unknown_191":206,"unknown_79":20992,"ignition":14,"odometer":null,"unknown_45":7677792965913737216}} 
[2026-08-23 00:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":160173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:35:30] local.INFO: GPS data processed {"connection_id":160173,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:35:30] local.INFO: Acknowledgment sent {"connection_id":160173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:35:46] local.INFO: TCP Data received {"connection_id":160384,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:35:46] local.INFO: Processing buffer {"connection_id":160384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:35:46] local.INFO: IMEI packet received {"connection_id":160384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":160384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:35:47] local.INFO: TCP Data received {"connection_id":160384,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:35:47] local.INFO: Processing buffer {"connection_id":160384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:35:47] local.INFO: IMEI packet received {"connection_id":160384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":160384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:35:52] local.INFO: TCP Data received {"connection_id":162746,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:35:52] local.INFO: Processing buffer {"connection_id":162746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:35:52] local.INFO: IMEI packet received {"connection_id":162746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":162746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:35:53] local.INFO: TCP Data received {"connection_id":160384,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:35:53] local.INFO: Processing buffer {"connection_id":160384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:35:53] local.INFO: IMEI packet received {"connection_id":160384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":160384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:35:54] local.INFO: TCP Data received {"connection_id":160384,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02adab378012d6a854006188ee00008015d2d..."} 
[2026-08-23 00:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adab378012d6a854006188ee00008015d2d..."} 
[2026-08-23 00:35:54] local.INFO: Processing buffer {"connection_id":160384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adab378012d6a854006188ee00008015d2d..."} 
[2026-08-23 00:35:54] local.INFO: Packet analysis {"connection_id":160384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:35:54] local.INFO: Extracted packet for processing {"connection_id":160384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:35:54] local.INFO: GPS Element Parsed {"raw_longitude":761955648,"raw_latitude":102272736,"longitude_deg":76.1955648,"latitude_deg":10.2272736,"altitude":8,"angle":349,"satellites":45,"speed":26,"hex_longitude":"2d6a8540","hex_latitude":"06188ee0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580890112001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389315343450898432,"note":"Value kept but may cause issues"} 
[2026-08-23 00:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7677018909730111488,"note":"Value kept but may cause issues"} 
[2026-08-23 00:35:54] 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-08-23 00:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787425371000,"timestamp_ms":1787425371000,"timestamp_seconds":1787425371,"priority":1,"record_length":96,"hex_timestamp":"000001a02adab378"} 
[2026-08-23 00:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 00:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:35:54] 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-08-23 00:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580890112001,"66":27321,"191":206,"79":20992,"24":26,"16":389315343450898432,"45":7677018909730111488},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,79,24,16,45]} 
[2026-08-23 00:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580890112001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:35:54] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 00:35:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389315343450898432,"km_value":389315343450898.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7677018909730111488,"description":"Unknown IO ID 45"} 
[2026-08-23 00:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580890112001,"power":27321,"unknown_191":206,"unknown_79":20992,"ignition":26,"odometer":null,"unknown_45":7677018909730111488}} 
[2026-08-23 00:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":160384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:35:54] local.INFO: GPS data processed {"connection_id":160384,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:35:54] local.INFO: Acknowledgment sent {"connection_id":160384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:35:56] local.INFO: TCP Data received {"connection_id":162746,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:35:56] local.INFO: Processing buffer {"connection_id":162746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:35:56] local.INFO: IMEI packet received {"connection_id":162746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":162746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:35:57] local.INFO: TCP Data received {"connection_id":162746,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:35:57] local.INFO: Processing buffer {"connection_id":162746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:35:57] local.INFO: Packet analysis {"connection_id":162746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:35:57] local.INFO: Extracted packet for processing {"connection_id":162746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:35:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580821504001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787425385000,"timestamp_ms":1787425385000,"timestamp_seconds":1787425385,"priority":1,"record_length":96,"hex_timestamp":"000001a02adaea28"} 
[2026-08-23 00:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:35: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-08-23 00:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580821504001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580821504001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:35:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:35:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580821504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":162746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:35:57] local.INFO: GPS data processed {"connection_id":162746,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:35:57] local.INFO: Acknowledgment sent {"connection_id":162746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:36:25] local.INFO: TCP Data received {"connection_id":160384,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02adcedc8012d6a2580061a2d400006015425..."} 
[2026-08-23 00:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adcedc8012d6a2580061a2d400006015425..."} 
[2026-08-23 00:36:25] local.INFO: Processing buffer {"connection_id":160384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adcedc8012d6a2580061a2d400006015425..."} 
[2026-08-23 00:36:25] local.INFO: Packet analysis {"connection_id":160384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02adc"} 
[2026-08-23 00:36:25] local.INFO: Extracted packet for processing {"connection_id":160384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02adc"} 
[2026-08-23 00:36:25] local.INFO: GPS Element Parsed {"raw_longitude":761931136,"raw_latitude":102378816,"longitude_deg":76.1931136,"latitude_deg":10.2378816,"altitude":6,"angle":340,"satellites":37,"speed":34,"hex_longitude":"2d6a2580","hex_latitude":"061a2d40","is_valid_coordinates":true} 
[2026-08-23 00:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580929792001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389320656325443584,"note":"Value kept but may cause issues"} 
[2026-08-23 00:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7651615793109241856,"note":"Value kept but may cause issues"} 
[2026-08-23 00:36:25] 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-08-23 00:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787425517000,"timestamp_ms":1787425517000,"timestamp_seconds":1787425517,"priority":1,"record_length":96,"hex_timestamp":"000001a02adcedc8"} 
[2026-08-23 00:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 00:36:25] 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-08-23 00:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:36:25] 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-08-23 00:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580929792001,"66":27300,"126":206,"79":20992,"24":34,"16":389320656325443584,"45":7651615793109241856},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-08-23 00:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580929792001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:36:25] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-23 00:36:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389320656325443584,"km_value":389320656325443.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":7651615793109241856,"description":"Unknown IO ID 45"} 
[2026-08-23 00:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580929792001,"power":27300,"unknown_126":206,"unknown_79":20992,"ignition":34,"odometer":null,"unknown_45":7651615793109241856}} 
[2026-08-23 00:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":160384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:36:25] local.INFO: GPS data processed {"connection_id":160384,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:36:25] local.INFO: Acknowledgment sent {"connection_id":160384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:36:28] local.INFO: TCP Data received {"connection_id":162746,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:36:28] local.INFO: Processing buffer {"connection_id":162746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:36:28] local.INFO: Packet analysis {"connection_id":162746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:36:28] local.INFO: Extracted packet for processing {"connection_id":162746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:36:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580821504001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787425385000,"timestamp_ms":1787425385000,"timestamp_seconds":1787425385,"priority":1,"record_length":96,"hex_timestamp":"000001a02adaea28"} 
[2026-08-23 00:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:36: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-08-23 00:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580821504001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580821504001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:36:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:36:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580821504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":162746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:36:28] local.INFO: GPS data processed {"connection_id":162746,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:36:28] local.INFO: Acknowledgment sent {"connection_id":162746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:36:48] local.INFO: TCP Data received {"connection_id":161337,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:36:48] local.INFO: Processing buffer {"connection_id":161337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:36:48] local.INFO: IMEI packet received {"connection_id":161337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":161337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:36:50] local.INFO: TCP Data received {"connection_id":161337,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:36:50] local.INFO: Processing buffer {"connection_id":161337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:36:50] local.INFO: IMEI packet received {"connection_id":161337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":161337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:36:51] local.INFO: TCP Data received {"connection_id":161337,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02add18c0012d6a1940061a4e480003014f24..."} 
[2026-08-23 00:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02add18c0012d6a1940061a4e480003014f24..."} 
[2026-08-23 00:36:51] local.INFO: Processing buffer {"connection_id":161337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02add18c0012d6a1940061a4e480003014f24..."} 
[2026-08-23 00:36:51] local.INFO: Packet analysis {"connection_id":161337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02add"} 
[2026-08-23 00:36:51] local.INFO: Extracted packet for processing {"connection_id":161337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02add"} 
[2026-08-23 00:36:51] local.INFO: GPS Element Parsed {"raw_longitude":761928000,"raw_latitude":102387272,"longitude_deg":76.1928,"latitude_deg":10.2387272,"altitude":3,"angle":335,"satellites":36,"speed":31,"hex_longitude":"2d6a1940","hex_latitude":"061a4e48","is_valid_coordinates":true} 
[2026-08-23 00:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580932352001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389321094412107776,"note":"Value kept but may cause issues"} 
[2026-08-23 00:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7648660305855987712,"note":"Value kept but may cause issues"} 
[2026-08-23 00:36:51] 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-08-23 00:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787425528000,"timestamp_ms":1787425528000,"timestamp_seconds":1787425528,"priority":1,"record_length":96,"hex_timestamp":"000001a02add18c0"} 
[2026-08-23 00:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 00:36:51] 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-08-23 00:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:36:51] 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-08-23 00:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580932352001,"66":27332,"126":206,"79":20992,"24":31,"16":389321094412107776,"45":7648660305855987712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-08-23 00:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580932352001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:36:51] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-23 00:36:51] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389321094412107776,"km_value":389321094412107.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":7648660305855987712,"description":"Unknown IO ID 45"} 
[2026-08-23 00:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580932352001,"power":27332,"unknown_126":206,"unknown_79":20992,"ignition":31,"odometer":null,"unknown_45":7648660305855987712}} 
[2026-08-23 00:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":161337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:36:51] local.INFO: GPS data processed {"connection_id":161337,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:36:51] local.INFO: Acknowledgment sent {"connection_id":161337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:36:51] local.INFO: TCP Data received {"connection_id":160174,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:36:51] local.INFO: Processing buffer {"connection_id":160174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:36:51] local.INFO: IMEI packet received {"connection_id":160174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":160174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:36:56] local.INFO: TCP Data received {"connection_id":160174,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:36:56] local.INFO: Processing buffer {"connection_id":160174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:36:56] local.INFO: IMEI packet received {"connection_id":160174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":160174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:36:57] local.INFO: TCP Data received {"connection_id":160174,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:36:57] local.INFO: Processing buffer {"connection_id":160174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:36:57] local.INFO: Packet analysis {"connection_id":160174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:36:57] local.INFO: Extracted packet for processing {"connection_id":160174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:36:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580821504001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787425385000,"timestamp_ms":1787425385000,"timestamp_seconds":1787425385,"priority":1,"record_length":96,"hex_timestamp":"000001a02adaea28"} 
[2026-08-23 00:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:36: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-08-23 00:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580821504001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580821504001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:36:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:36:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580821504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":160174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:36:57] local.INFO: GPS data processed {"connection_id":160174,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:36:57] local.INFO: Acknowledgment sent {"connection_id":160174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:37:22] local.INFO: TCP Data received {"connection_id":161337,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02add47a0012d6a0940061a6fe80004015227..."} 
[2026-08-23 00:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02add47a0012d6a0940061a6fe80004015227..."} 
[2026-08-23 00:37:22] local.INFO: Processing buffer {"connection_id":161337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02add47a0012d6a0940061a6fe80004015227..."} 
[2026-08-23 00:37:22] local.INFO: Packet analysis {"connection_id":161337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02add"} 
[2026-08-23 00:37:22] local.INFO: Extracted packet for processing {"connection_id":161337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02add"} 
[2026-08-23 00:37:22] local.INFO: GPS Element Parsed {"raw_longitude":761923904,"raw_latitude":102395880,"longitude_deg":76.1923904,"latitude_deg":10.239588,"altitude":4,"angle":338,"satellites":39,"speed":34,"hex_longitude":"2d6a0940","hex_latitude":"061a6fe8","is_valid_coordinates":true} 
[2026-08-23 00:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580935168001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389321558268575744,"note":"Value kept but may cause issues"} 
[2026-08-23 00:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7645212237393446912,"note":"Value kept but may cause issues"} 
[2026-08-23 00:37:22] 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-08-23 00:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787425540000,"timestamp_ms":1787425540000,"timestamp_seconds":1787425540,"priority":1,"record_length":96,"hex_timestamp":"000001a02add47a0"} 
[2026-08-23 00:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 00:37:22] 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-08-23 00:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580935168001,"66":27343,"126":206,"79":20992,"24":34,"16":389321558268575744,"45":7645212237393446912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-08-23 00:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580935168001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:37:22] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-23 00:37:22] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389321558268575744,"km_value":389321558268575.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":7645212237393446912,"description":"Unknown IO ID 45"} 
[2026-08-23 00:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580935168001,"power":27343,"unknown_126":206,"unknown_79":20992,"ignition":34,"odometer":null,"unknown_45":7645212237393446912}} 
[2026-08-23 00:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":161337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:37:22] local.INFO: GPS data processed {"connection_id":161337,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:37:22] local.INFO: Acknowledgment sent {"connection_id":161337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:37:28] local.INFO: TCP Data received {"connection_id":160174,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:37:28] local.INFO: Processing buffer {"connection_id":160174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:37:28] local.INFO: Packet analysis {"connection_id":160174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:37:28] local.INFO: Extracted packet for processing {"connection_id":160174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:37:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580821504001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787425385000,"timestamp_ms":1787425385000,"timestamp_seconds":1787425385,"priority":1,"record_length":96,"hex_timestamp":"000001a02adaea28"} 
[2026-08-23 00:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:37: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-08-23 00:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580821504001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580821504001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:37:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:37:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580821504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":160174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:37:28] local.INFO: GPS data processed {"connection_id":160174,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:37:28] local.INFO: Acknowledgment sent {"connection_id":160174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:37:50] local.INFO: TCP Data received {"connection_id":161338,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:37:50] local.INFO: Processing buffer {"connection_id":161338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:37:50] local.INFO: IMEI packet received {"connection_id":161338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":161338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:37:56] local.INFO: TCP Data received {"connection_id":161339,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:37:56] local.INFO: Processing buffer {"connection_id":161339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:37:56] local.INFO: IMEI packet received {"connection_id":161339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":161339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:38:01] local.INFO: TCP Data received {"connection_id":161339,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:38:01] local.INFO: Processing buffer {"connection_id":161339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:38:01] local.INFO: IMEI packet received {"connection_id":161339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":161339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:38:02] local.INFO: TCP Data received {"connection_id":161339,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:38:02] local.INFO: Processing buffer {"connection_id":161339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:38:02] local.INFO: Packet analysis {"connection_id":161339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:38:02] local.INFO: Extracted packet for processing {"connection_id":161339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:38:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580821504001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787425385000,"timestamp_ms":1787425385000,"timestamp_seconds":1787425385,"priority":1,"record_length":96,"hex_timestamp":"000001a02adaea28"} 
[2026-08-23 00:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:38: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-08-23 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580821504001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580821504001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:38:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:38:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580821504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":161339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:38:02] local.INFO: GPS data processed {"connection_id":161339,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:38:02] local.INFO: Acknowledgment sent {"connection_id":161339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:38:07] local.INFO: TCP Data received {"connection_id":161339,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:38:07] local.INFO: Processing buffer {"connection_id":161339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adaea28012d196540071ff1b0003f01372a..."} 
[2026-08-23 00:38:07] local.INFO: Packet analysis {"connection_id":161339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:38:07] local.INFO: Extracted packet for processing {"connection_id":161339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ada"} 
[2026-08-23 00:38:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":63,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580821504001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787425385000,"timestamp_ms":1787425385000,"timestamp_seconds":1787425385,"priority":1,"record_length":96,"hex_timestamp":"000001a02adaea28"} 
[2026-08-23 00:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:38:07] 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-08-23 00:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580821504001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580821504001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:38:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:38:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580821504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":161339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:38:07] local.INFO: GPS data processed {"connection_id":161339,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:38:07] local.INFO: Acknowledgment sent {"connection_id":161339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:38:18] local.INFO: TCP Data received {"connection_id":161338,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:38:18] local.INFO: Processing buffer {"connection_id":161338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:38:18] local.INFO: IMEI packet received {"connection_id":161338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":161338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:38:19] local.INFO: TCP Data received {"connection_id":161338,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02add7298012d69fc80061a92d80006015423..."} 
[2026-08-23 00:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02add7298012d69fc80061a92d80006015423..."} 
[2026-08-23 00:38:19] local.INFO: Processing buffer {"connection_id":161338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02add7298012d69fc80061a92d80006015423..."} 
[2026-08-23 00:38:19] local.INFO: Packet analysis {"connection_id":161338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02add"} 
[2026-08-23 00:38:19] local.INFO: Extracted packet for processing {"connection_id":161338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02add"} 
[2026-08-23 00:38:19] local.INFO: GPS Element Parsed {"raw_longitude":761920640,"raw_latitude":102404824,"longitude_deg":76.192064,"latitude_deg":10.2404824,"altitude":6,"angle":340,"satellites":35,"speed":33,"hex_longitude":"2d69fc80","hex_latitude":"061a92d8","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580938240001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389322017830076416,"note":"Value kept but may cause issues"} 
[2026-08-23 00:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7640708637768280064,"note":"Value kept but may cause issues"} 
[2026-08-23 00:38:19] 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-08-23 00:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787425551000,"timestamp_ms":1787425551000,"timestamp_seconds":1787425551,"priority":1,"record_length":96,"hex_timestamp":"000001a02add7298"} 
[2026-08-23 00:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:38: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-08-23 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 00:38: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-08-23 00: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-08-23 00:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:38:19] 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-08-23 00:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580938240001,"66":27245,"126":206,"79":20992,"24":33,"16":389322017830076416,"45":7640708637768280064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-08-23 00:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580938240001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:38:19] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-23 00:38:19] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389322017830076416,"km_value":389322017830076.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":7640708637768280064,"description":"Unknown IO ID 45"} 
[2026-08-23 00:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580938240001,"power":27245,"unknown_126":206,"unknown_79":20992,"ignition":33,"odometer":null,"unknown_45":7640708637768280064}} 
[2026-08-23 00:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":161338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:38:19] local.INFO: GPS data processed {"connection_id":161338,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:38:19] local.INFO: Acknowledgment sent {"connection_id":161338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:38:48] local.INFO: TCP Data received {"connection_id":162747,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:38:48] local.INFO: Processing buffer {"connection_id":162747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:38:48] local.INFO: IMEI packet received {"connection_id":162747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":162747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:38:51] local.INFO: TCP Data received {"connection_id":162748,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:38:51] local.INFO: Processing buffer {"connection_id":162748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:38:51] local.INFO: IMEI packet received {"connection_id":162748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":162748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:38:53] local.INFO: TCP Data received {"connection_id":162747,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:38:53] local.INFO: Processing buffer {"connection_id":162747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:38:53] local.INFO: IMEI packet received {"connection_id":162747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":162747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:38:54] local.INFO: TCP Data received {"connection_id":162747,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02adf1490012d696980061bc4700007015d2f..."} 
[2026-08-23 00:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adf1490012d696980061bc4700007015d2f..."} 
[2026-08-23 00:38:54] local.INFO: Processing buffer {"connection_id":162747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adf1490012d696980061bc4700007015d2f..."} 
[2026-08-23 00:38:54] local.INFO: Packet analysis {"connection_id":162747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:38:54] local.INFO: Extracted packet for processing {"connection_id":162747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:38:54] local.INFO: GPS Element Parsed {"raw_longitude":761883008,"raw_latitude":102483056,"longitude_deg":76.1883008,"latitude_deg":10.2483056,"altitude":7,"angle":349,"satellites":47,"speed":25,"hex_longitude":"2d696980","hex_latitude":"061bc470","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580967936001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389326226898026496,"note":"Value kept but may cause issues"} 
[2026-08-23 00:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7596235591469977600,"note":"Value kept but may cause issues"} 
[2026-08-23 00:38:54] 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-08-23 00:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787425658000,"timestamp_ms":1787425658000,"timestamp_seconds":1787425658,"priority":1,"record_length":96,"hex_timestamp":"000001a02adf1490"} 
[2026-08-23 00:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-23 00:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:38:54] 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-08-23 00:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580967936001,"66":27300,"128":206,"79":20992,"24":25,"16":389326226898026496,"45":7596235591469977600},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,79,24,16,45]} 
[2026-08-23 00:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580967936001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:38:54] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-23 00:38:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389326226898026496,"km_value":389326226898026.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7596235591469977600,"description":"Unknown IO ID 45"} 
[2026-08-23 00:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580967936001,"power":27300,"unknown_128":206,"unknown_79":20992,"ignition":25,"odometer":null,"unknown_45":7596235591469977600}} 
[2026-08-23 00:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":162747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:38:54] local.INFO: GPS data processed {"connection_id":162747,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:38:54] local.INFO: Acknowledgment sent {"connection_id":162747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:38:56] local.INFO: TCP Data received {"connection_id":162748,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:38:56] local.INFO: Processing buffer {"connection_id":162748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:38:56] local.INFO: IMEI packet received {"connection_id":162748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":162748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:38:57] local.INFO: TCP Data received {"connection_id":162748,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:38:57] local.INFO: Processing buffer {"connection_id":162748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:38:57] local.INFO: Packet analysis {"connection_id":162748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:38:57] local.INFO: Extracted packet for processing {"connection_id":162748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:38:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":69,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580898560001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787425686000,"timestamp_ms":1787425686000,"timestamp_seconds":1787425686,"priority":1,"record_length":96,"hex_timestamp":"000001a02adf81f0"} 
[2026-08-23 00:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:38: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-08-23 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580898560001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580898560001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:38:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580898560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":162748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:38:57] local.INFO: GPS data processed {"connection_id":162748,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:38:57] local.INFO: Acknowledgment sent {"connection_id":162748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:39:25] local.INFO: TCP Data received {"connection_id":162747,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02adf2430012d6966c0061bce900008014e2d..."} 
[2026-08-23 00:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adf2430012d6966c0061bce900008014e2d..."} 
[2026-08-23 00:39:25] local.INFO: Processing buffer {"connection_id":162747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adf2430012d6966c0061bce900008014e2d..."} 
[2026-08-23 00:39:25] local.INFO: Packet analysis {"connection_id":162747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:39:25] local.INFO: Extracted packet for processing {"connection_id":162747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:39:25] local.INFO: GPS Element Parsed {"raw_longitude":761882304,"raw_latitude":102485648,"longitude_deg":76.1882304,"latitude_deg":10.2485648,"altitude":8,"angle":334,"satellites":45,"speed":29,"hex_longitude":"2d6966c0","hex_latitude":"061bce90","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580968448001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389326355747045376,"note":"Value kept but may cause issues"} 
[2026-08-23 00:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7595743010261069824,"note":"Value kept but may cause issues"} 
[2026-08-23 00:39:25] 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-08-23 00:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787425662000,"timestamp_ms":1787425662000,"timestamp_seconds":1787425662,"priority":1,"record_length":96,"hex_timestamp":"000001a02adf2430"} 
[2026-08-23 00:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:39: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-08-23 00: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":164,"data_length":795,"current_offset":136} 
[2026-08-23 00:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:39:25] 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-08-23 00:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580968448001,"66":27332,"128":206,"79":20992,"24":29,"16":389326355747045376,"45":7595743010261069824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,79,24,16,45]} 
[2026-08-23 00:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580968448001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:39:25] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-23 00:39:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389326355747045376,"km_value":389326355747045.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":7595743010261069824,"description":"Unknown IO ID 45"} 
[2026-08-23 00:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580968448001,"power":27332,"unknown_128":206,"unknown_79":20992,"ignition":29,"odometer":null,"unknown_45":7595743010261069824}} 
[2026-08-23 00:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":162747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:39:25] local.INFO: GPS data processed {"connection_id":162747,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:39:25] local.INFO: Acknowledgment sent {"connection_id":162747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:39:28] local.INFO: TCP Data received {"connection_id":162748,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:39:28] local.INFO: Processing buffer {"connection_id":162748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:39:28] local.INFO: Packet analysis {"connection_id":162748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:39:28] local.INFO: Extracted packet for processing {"connection_id":162748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:39:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":69,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580898560001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787425686000,"timestamp_ms":1787425686000,"timestamp_seconds":1787425686,"priority":1,"record_length":96,"hex_timestamp":"000001a02adf81f0"} 
[2026-08-23 00:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:39: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-08-23 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580898560001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580898560001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:39:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:39:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580898560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":162748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:39:29] local.INFO: GPS data processed {"connection_id":162748,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:39:29] local.INFO: Acknowledgment sent {"connection_id":162748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:39:47] local.INFO: TCP Data received {"connection_id":161340,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:39:47] local.INFO: Processing buffer {"connection_id":161340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:39:47] local.INFO: IMEI packet received {"connection_id":161340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":161340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:39:51] local.INFO: TCP Data received {"connection_id":160385,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:39:51] local.INFO: Processing buffer {"connection_id":160385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:39:51] local.INFO: IMEI packet received {"connection_id":160385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":160385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:39:52] local.INFO: TCP Data received {"connection_id":161340,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:39:52] local.INFO: Processing buffer {"connection_id":161340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:39:52] local.INFO: IMEI packet received {"connection_id":161340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":161340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:39:52] local.INFO: TCP Data received {"connection_id":161340,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:39:52] local.INFO: Processing buffer {"connection_id":161340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:39:52] local.INFO: IMEI packet received {"connection_id":161340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":161340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:39:53] local.INFO: TCP Data received {"connection_id":161340,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02adf4b40012d695640061bed680006014c2e..."} 
[2026-08-23 00:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adf4b40012d695640061bed680006014c2e..."} 
[2026-08-23 00:39:53] local.INFO: Processing buffer {"connection_id":161340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adf4b40012d695640061bed680006014c2e..."} 
[2026-08-23 00:39:53] local.INFO: Packet analysis {"connection_id":161340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:39:53] local.INFO: Extracted packet for processing {"connection_id":161340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:39:53] local.INFO: GPS Element Parsed {"raw_longitude":761878080,"raw_latitude":102493544,"longitude_deg":76.187808,"latitude_deg":10.2493544,"altitude":6,"angle":332,"satellites":46,"speed":41,"hex_longitude":"2d695640","hex_latitude":"061bed68","is_valid_coordinates":true} 
[2026-08-23 00:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580969472001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389326789538742272,"note":"Value kept but may cause issues"} 
[2026-08-23 00:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7594968954075779072,"note":"Value kept but may cause issues"} 
[2026-08-23 00:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787425672000,"timestamp_ms":1787425672000,"timestamp_seconds":1787425672,"priority":1,"record_length":96,"hex_timestamp":"000001a02adf4b40"} 
[2026-08-23 00:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:39: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-08-23 00:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 00:39: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-08-23 00:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:39:53] 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-08-23 00:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580969472001,"66":27310,"127":206,"79":20992,"24":41,"16":389326789538742272,"45":7594968954075779072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,79,24,16,45]} 
[2026-08-23 00:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580969472001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:39:53] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-23 00:39:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389326789538742272,"km_value":389326789538742.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7594968954075779072,"description":"Unknown IO ID 45"} 
[2026-08-23 00:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580969472001,"power":27310,"unknown_127":206,"unknown_79":20992,"ignition":41,"odometer":null,"unknown_45":7594968954075779072}} 
[2026-08-23 00:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":161340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:39:53] local.INFO: GPS data processed {"connection_id":161340,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:39:53] local.INFO: Acknowledgment sent {"connection_id":161340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:39:58] local.INFO: TCP Data received {"connection_id":160385,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:39:58] local.INFO: Processing buffer {"connection_id":160385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:39:58] local.INFO: IMEI packet received {"connection_id":160385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":160385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:39:59] local.INFO: TCP Data received {"connection_id":161340,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02adf6a80012d694600061c0d400006014d2f..."} 
[2026-08-23 00:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adf6a80012d694600061c0d400006014d2f..."} 
[2026-08-23 00:39:59] local.INFO: Processing buffer {"connection_id":161340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adf6a80012d694600061c0d400006014d2f..."} 
[2026-08-23 00:39:59] local.INFO: Packet analysis {"connection_id":161340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:39:59] local.INFO: Extracted packet for processing {"connection_id":161340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:39:59] local.INFO: GPS Element Parsed {"raw_longitude":761873920,"raw_latitude":102501696,"longitude_deg":76.187392,"latitude_deg":10.2501696,"altitude":6,"angle":333,"satellites":47,"speed":46,"hex_longitude":"2d694600","hex_latitude":"061c0d40","is_valid_coordinates":true} 
[2026-08-23 00:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580972032001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389327231920373760,"note":"Value kept but may cause issues"} 
[2026-08-23 00:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7590324616962074624,"note":"Value kept but may cause issues"} 
[2026-08-23 00:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787425680000,"timestamp_ms":1787425680000,"timestamp_seconds":1787425680,"priority":1,"record_length":96,"hex_timestamp":"000001a02adf6a80"} 
[2026-08-23 00:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-23 00:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:39:59] 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-08-23 00:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580972032001,"66":27332,"86":206,"79":20992,"24":46,"16":389327231920373760,"45":7590324616962074624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-08-23 00:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580972032001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:39:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-23 00:39:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389327231920373760,"km_value":389327231920373.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7590324616962074624,"description":"Unknown IO ID 45"} 
[2026-08-23 00:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580972032001,"power":27332,"unknown_86":206,"unknown_79":20992,"ignition":46,"odometer":null,"unknown_45":7590324616962074624}} 
[2026-08-23 00:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":161340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:39:59] local.INFO: GPS data processed {"connection_id":161340,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:39:59] local.INFO: Acknowledgment sent {"connection_id":161340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:40:01] local.INFO: TCP Data received {"connection_id":160385,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:40:01] local.INFO: Processing buffer {"connection_id":160385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:40:01] local.INFO: IMEI packet received {"connection_id":160385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":160385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:40:02] local.INFO: TCP Data received {"connection_id":160385,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:40:02] local.INFO: Processing buffer {"connection_id":160385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:40:02] local.INFO: Packet analysis {"connection_id":160385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:40:02] local.INFO: Extracted packet for processing {"connection_id":160385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:40:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":69,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580898560001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787425686000,"timestamp_ms":1787425686000,"timestamp_seconds":1787425686,"priority":1,"record_length":96,"hex_timestamp":"000001a02adf81f0"} 
[2026-08-23 00:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:40: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-08-23 00:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580898560001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580898560001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:40:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:40:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580898560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":160385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:40:02] local.INFO: GPS data processed {"connection_id":160385,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:40:02] local.INFO: Acknowledgment sent {"connection_id":160385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:40:33] local.INFO: TCP Data received {"connection_id":160385,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:40:33] local.INFO: Processing buffer {"connection_id":160385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:40:33] local.INFO: Packet analysis {"connection_id":160385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:40:33] local.INFO: Extracted packet for processing {"connection_id":160385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":69,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580898560001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787425686000,"timestamp_ms":1787425686000,"timestamp_seconds":1787425686,"priority":1,"record_length":96,"hex_timestamp":"000001a02adf81f0"} 
[2026-08-23 00:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:40: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-08-23 00:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580898560001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580898560001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:40:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:40:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580898560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":160385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:40:33] local.INFO: GPS data processed {"connection_id":160385,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:40:33] local.INFO: Acknowledgment sent {"connection_id":160385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:40:51] local.INFO: TCP Data received {"connection_id":160387,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:40:51] local.INFO: Processing buffer {"connection_id":160387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:40:51] local.INFO: IMEI packet received {"connection_id":160387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":160387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:40:51] local.INFO: TCP Data received {"connection_id":160386,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:40:51] local.INFO: Processing buffer {"connection_id":160386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:40:51] local.INFO: IMEI packet received {"connection_id":160386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":160386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:40:55] local.INFO: TCP Data received {"connection_id":160386,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:40:55] local.INFO: Processing buffer {"connection_id":160386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:40:55] local.INFO: IMEI packet received {"connection_id":160386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":160386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:40:56] local.INFO: TCP Data received {"connection_id":160387,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:40:56] local.INFO: Processing buffer {"connection_id":160387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:40:56] local.INFO: IMEI packet received {"connection_id":160387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":160387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:40:57] local.INFO: TCP Data received {"connection_id":160387,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:40:57] local.INFO: Processing buffer {"connection_id":160387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:40:57] local.INFO: Packet analysis {"connection_id":160387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:40:57] local.INFO: Extracted packet for processing {"connection_id":160387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:40:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":69,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580898560001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787425686000,"timestamp_ms":1787425686000,"timestamp_seconds":1787425686,"priority":1,"record_length":96,"hex_timestamp":"000001a02adf81f0"} 
[2026-08-23 00:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:40: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-08-23 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580898560001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580898560001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:40:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:40:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580898560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":160387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:40:57] local.INFO: GPS data processed {"connection_id":160387,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:40:57] local.INFO: Acknowledgment sent {"connection_id":160387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:40:57] local.INFO: TCP Data received {"connection_id":160386,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:40:57] local.INFO: Processing buffer {"connection_id":160386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:40:57] local.INFO: IMEI packet received {"connection_id":160386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":160386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:40:59] local.INFO: TCP Data received {"connection_id":160386,"ip":"42.109.136.3","data_length":1348,"data_hex":"000000000000030f8e0a000001a02ae0dd98012d68aac0061d81a0000b014a30..."} 
[2026-08-23 00:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160386,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a02ae0dd98012d68aac0061d81a0000b014a30..."} 
[2026-08-23 00:40:59] local.INFO: Processing buffer {"connection_id":160386,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a02ae0dd98012d68aac0061d81a0000b014a30..."} 
[2026-08-23 00:40:59] local.INFO: Packet analysis {"connection_id":160386,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a02ae0"} 
[2026-08-23 00:40:59] local.INFO: Extracted packet for processing {"connection_id":160386,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a02ae0"} 
[2026-08-23 00:40:59] local.INFO: GPS Element Parsed {"raw_longitude":761834176,"raw_latitude":102597024,"longitude_deg":76.1834176,"latitude_deg":10.2597024,"altitude":11,"angle":330,"satellites":48,"speed":49,"hex_longitude":"2d68aac0","hex_latitude":"061d81a0","is_valid_coordinates":true} 
[2026-08-23 00:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580997120001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389332252737142784,"note":"Value kept but may cause issues"} 
[2026-08-23 00:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7544796039504156672,"note":"Value kept but may cause issues"} 
[2026-08-23 00:40:59] 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-08-23 00:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787425775000,"timestamp_ms":1787425775000,"timestamp_seconds":1787425775,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae0dd98"} 
[2026-08-23 00:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:40: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-08-23 00:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-23 00:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:40:59] 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-08-23 00:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580997120001,"66":27365,"85":206,"79":20992,"24":49,"16":389332252737142784,"45":7544796039504156672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-08-23 00:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580997120001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:40:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-23 00:40:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389332252737142784,"km_value":389332252737142.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7544796039504156672,"description":"Unknown IO ID 45"} 
[2026-08-23 00:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580997120001,"power":27365,"unknown_85":206,"unknown_79":20992,"ignition":49,"odometer":null,"unknown_45":7544796039504156672}} 
[2026-08-23 00:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":160386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:40:59] local.INFO: GPS data processed {"connection_id":160386,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:40:59] local.INFO: Acknowledgment sent {"connection_id":160386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:40:59] local.INFO: Packet analysis {"connection_id":160386,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a02ae0"} 
[2026-08-23 00:40:59] local.INFO: Incomplete packet, waiting for more data {"connection_id":160386,"needed":795,"available":553} 
[2026-08-23 00:41:01] local.INFO: TCP Data received {"connection_id":160386,"ip":"42.109.136.3","data_length":242,"data_hex":"000000000001a02ae01660012d68e8c0061cbdd00009014f2f00290000000a00..."} 
[2026-08-23 00:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160386,"packet_length":242,"packet_hex":"000000000001a02ae01660012d68e8c0061cbdd00009014f2f00290000000a00..."} 
[2026-08-23 00:41:01] local.INFO: Processing buffer {"connection_id":160386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae0f8f0012d689880061d9fc8000a014631..."} 
[2026-08-23 00:41:01] local.INFO: Packet analysis {"connection_id":160386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae0"} 
[2026-08-23 00:41:01] local.INFO: Extracted packet for processing {"connection_id":160386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae0"} 
[2026-08-23 00:41:01] local.INFO: GPS Element Parsed {"raw_longitude":761829504,"raw_latitude":102604744,"longitude_deg":76.1829504,"latitude_deg":10.2604744,"altitude":10,"angle":326,"satellites":49,"speed":53,"hex_longitude":"2d689880","hex_latitude":"061d9fc8","is_valid_coordinates":true} 
[2026-08-23 00:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580998400001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389332686528839680,"note":"Value kept but may cause issues"} 
[2026-08-23 00:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7542051658482688000,"note":"Value kept but may cause issues"} 
[2026-08-23 00:41:01] 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-08-23 00:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787425782000,"timestamp_ms":1787425782000,"timestamp_seconds":1787425782,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae0f8f0"} 
[2026-08-23 00:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:41: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-08-23 00:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 00:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:41:01] 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-08-23 00:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580998400001,"66":27245,"85":206,"79":20992,"24":53,"16":389332686528839680,"45":7542051658482688000},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-08-23 00:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580998400001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:41:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-23 00:41:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389332686528839680,"km_value":389332686528839.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7542051658482688000,"description":"Unknown IO ID 45"} 
[2026-08-23 00:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580998400001,"power":27245,"unknown_85":206,"unknown_79":20992,"ignition":53,"odometer":null,"unknown_45":7542051658482688000}} 
[2026-08-23 00:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":160386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:41:01] local.INFO: GPS data processed {"connection_id":160386,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:41:01] local.INFO: Acknowledgment sent {"connection_id":160386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:41:03] local.INFO: TCP Data received {"connection_id":160386,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae11448012d688340061dbfc00008014531..."} 
[2026-08-23 00:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae11448012d688340061dbfc00008014531..."} 
[2026-08-23 00:41:03] local.INFO: Processing buffer {"connection_id":160386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae11448012d688340061dbfc00008014531..."} 
[2026-08-23 00:41:03] local.INFO: Packet analysis {"connection_id":160386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae1"} 
[2026-08-23 00:41:03] local.INFO: Extracted packet for processing {"connection_id":160386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae1"} 
[2026-08-23 00:41:03] local.INFO: GPS Element Parsed {"raw_longitude":761824064,"raw_latitude":102612928,"longitude_deg":76.1824064,"latitude_deg":10.2612928,"altitude":8,"angle":325,"satellites":49,"speed":57,"hex_longitude":"2d688340","hex_latitude":"061dbfc0","is_valid_coordinates":true} 
[2026-08-23 00:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581000192001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389333163270209536,"note":"Value kept but may cause issues"} 
[2026-08-23 00:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7536914740159694848,"note":"Value kept but may cause issues"} 
[2026-08-23 00:41:03] 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-08-23 00:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787425789000,"timestamp_ms":1787425789000,"timestamp_seconds":1787425789,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae11448"} 
[2026-08-23 00:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:41: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-08-23 00:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-23 00:41:03] 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-08-23 00:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:41:03] 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-08-23 00:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581000192001,"66":27321,"85":206,"79":20992,"24":57,"16":389333163270209536,"45":7536914740159694848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-08-23 00:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581000192001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:41:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-23 00:41:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389333163270209536,"km_value":389333163270209.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7536914740159694848,"description":"Unknown IO ID 45"} 
[2026-08-23 00:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581000192001,"power":27321,"unknown_85":206,"unknown_79":20992,"ignition":57,"odometer":null,"unknown_45":7536914740159694848}} 
[2026-08-23 00:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":160386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:41:03] local.INFO: GPS data processed {"connection_id":160386,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:41:03] local.INFO: Acknowledgment sent {"connection_id":160386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:41:28] local.INFO: TCP Data received {"connection_id":160387,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:41:28] local.INFO: Processing buffer {"connection_id":160387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:41:28] local.INFO: Packet analysis {"connection_id":160387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:41:28] local.INFO: Extracted packet for processing {"connection_id":160387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:41:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":69,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580898560001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787425686000,"timestamp_ms":1787425686000,"timestamp_seconds":1787425686,"priority":1,"record_length":96,"hex_timestamp":"000001a02adf81f0"} 
[2026-08-23 00:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:41: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-08-23 00:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580898560001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580898560001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:41:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:41:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580898560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":160387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:41:28] local.INFO: GPS data processed {"connection_id":160387,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:41:28] local.INFO: Acknowledgment sent {"connection_id":160387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:41:47] local.INFO: TCP Data received {"connection_id":160175,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:41:47] local.INFO: Processing buffer {"connection_id":160175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:41:47] local.INFO: IMEI packet received {"connection_id":160175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":160175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:41:51] local.INFO: TCP Data received {"connection_id":160176,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:41:51] local.INFO: Processing buffer {"connection_id":160176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:41:51] local.INFO: IMEI packet received {"connection_id":160176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":160176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:41:52] local.INFO: TCP Data received {"connection_id":160175,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:41:52] local.INFO: Processing buffer {"connection_id":160175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:41:52] local.INFO: IMEI packet received {"connection_id":160175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":160175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:41:53] local.INFO: TCP Data received {"connection_id":160175,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae12bb8012d686f40061ddc680007014631..."} 
[2026-08-23 00:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae12bb8012d686f40061ddc680007014631..."} 
[2026-08-23 00:41:53] local.INFO: Processing buffer {"connection_id":160175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae12bb8012d686f40061ddc680007014631..."} 
[2026-08-23 00:41:53] local.INFO: Packet analysis {"connection_id":160175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae1"} 
[2026-08-23 00:41:53] local.INFO: Extracted packet for processing {"connection_id":160175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae1"} 
[2026-08-23 00:41:53] local.INFO: GPS Element Parsed {"raw_longitude":761818944,"raw_latitude":102620264,"longitude_deg":76.1818944,"latitude_deg":10.2620264,"altitude":7,"angle":326,"satellites":49,"speed":60,"hex_longitude":"2d686f40","hex_latitude":"061ddc68","is_valid_coordinates":true} 
[2026-08-23 00:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581001984001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389333592766939136,"note":"Value kept but may cause issues"} 
[2026-08-23 00:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7530933396906688512,"note":"Value kept but may cause issues"} 
[2026-08-23 00:41:53] 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-08-23 00:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787425795000,"timestamp_ms":1787425795000,"timestamp_seconds":1787425795,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae12bb8"} 
[2026-08-23 00:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:41: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-08-23 00:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 00:41:53] 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-08-23 00:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:41:53] 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-08-23 00:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581001984001,"66":27267,"85":206,"79":20992,"24":60,"16":389333592766939136,"45":7530933396906688512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-08-23 00:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581001984001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:41:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-23 00:41:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389333592766939136,"km_value":389333592766939.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7530933396906688512,"description":"Unknown IO ID 45"} 
[2026-08-23 00:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581001984001,"power":27267,"unknown_85":206,"unknown_79":20992,"ignition":60,"odometer":null,"unknown_45":7530933396906688512}} 
[2026-08-23 00:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":160175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:41:53] local.INFO: GPS data processed {"connection_id":160175,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:41:53] local.INFO: Acknowledgment sent {"connection_id":160175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:41:56] local.INFO: TCP Data received {"connection_id":160176,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:41:56] local.INFO: Processing buffer {"connection_id":160176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:41:56] local.INFO: IMEI packet received {"connection_id":160176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":160176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:41:57] local.INFO: TCP Data received {"connection_id":160176,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:41:57] local.INFO: Processing buffer {"connection_id":160176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:41:57] local.INFO: Packet analysis {"connection_id":160176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:41:57] local.INFO: Extracted packet for processing {"connection_id":160176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:41:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":69,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580898560001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787425686000,"timestamp_ms":1787425686000,"timestamp_seconds":1787425686,"priority":1,"record_length":96,"hex_timestamp":"000001a02adf81f0"} 
[2026-08-23 00:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:41: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-08-23 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580898560001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580898560001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:41:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:41:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580898560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":160176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:41:57] local.INFO: GPS data processed {"connection_id":160176,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:41:57] local.INFO: Acknowledgment sent {"connection_id":160176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:42:24] local.INFO: TCP Data received {"connection_id":160175,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae2a2b8012d67a000061f8670000e015a31..."} 
[2026-08-23 00:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae2a2b8012d67a000061f8670000e015a31..."} 
[2026-08-23 00:42:24] local.INFO: Processing buffer {"connection_id":160175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae2a2b8012d67a000061f8670000e015a31..."} 
[2026-08-23 00:42:24] local.INFO: Packet analysis {"connection_id":160175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae2"} 
[2026-08-23 00:42:24] local.INFO: Extracted packet for processing {"connection_id":160175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae2"} 
[2026-08-23 00:42:24] local.INFO: GPS Element Parsed {"raw_longitude":761765888,"raw_latitude":102729328,"longitude_deg":76.1765888,"latitude_deg":10.2729328,"altitude":14,"angle":346,"satellites":49,"speed":46,"hex_longitude":"2d67a000","hex_latitude":"061f8670","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581026048001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389339502641938432,"note":"Value kept but may cause issues"} 
[2026-08-23 00:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7469149639546210304,"note":"Value kept but may cause issues"} 
[2026-08-23 00:42:24] 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-08-23 00:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787425891000,"timestamp_ms":1787425891000,"timestamp_seconds":1787425891,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae2a2b8"} 
[2026-08-23 00:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00: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":185,"data_length":795,"current_offset":136} 
[2026-08-23 00:42:24] 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-08-23 00: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-08-23 00:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:42:24] 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-08-23 00:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581026048001,"66":27267,"92":206,"79":20992,"24":46,"16":389339502641938432,"45":7469149639546210304},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-08-23 00:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581026048001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:42:24] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-23 00:42:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389339502641938432,"km_value":389339502641938.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":7469149639546210304,"description":"Unknown IO ID 45"} 
[2026-08-23 00:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581026048001,"power":27267,"unknown_92":206,"unknown_79":20992,"ignition":46,"odometer":null,"unknown_45":7469149639546210304}} 
[2026-08-23 00:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":160175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:42:24] local.INFO: GPS data processed {"connection_id":160175,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:42:24] local.INFO: Acknowledgment sent {"connection_id":160175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:42:28] local.INFO: TCP Data received {"connection_id":160176,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:42:28] local.INFO: Processing buffer {"connection_id":160176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:42:28] local.INFO: Packet analysis {"connection_id":160176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:42:28] local.INFO: Extracted packet for processing {"connection_id":160176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":69,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580898560001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787425686000,"timestamp_ms":1787425686000,"timestamp_seconds":1787425686,"priority":1,"record_length":96,"hex_timestamp":"000001a02adf81f0"} 
[2026-08-23 00:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:42: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-08-23 00:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580898560001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580898560001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:42:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:42:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580898560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":160176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:42:28] local.INFO: GPS data processed {"connection_id":160176,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:42:28] local.INFO: Acknowledgment sent {"connection_id":160176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:42:47] local.INFO: TCP Data received {"connection_id":161341,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:42:47] local.INFO: Processing buffer {"connection_id":161341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:42:47] local.INFO: IMEI packet received {"connection_id":161341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":161341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:42:48] local.INFO: TCP Data received {"connection_id":161341,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:42:48] local.INFO: Processing buffer {"connection_id":161341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:42:48] local.INFO: IMEI packet received {"connection_id":161341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":161341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:42:53] local.INFO: TCP Data received {"connection_id":161341,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:42:53] local.INFO: Processing buffer {"connection_id":161341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:42:53] local.INFO: IMEI packet received {"connection_id":161341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":161341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:42:54] local.INFO: TCP Data received {"connection_id":161341,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae2c1f8012d679640061fa9d8000c015931..."} 
[2026-08-23 00:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae2c1f8012d679640061fa9d8000c015931..."} 
[2026-08-23 00:42:54] local.INFO: Processing buffer {"connection_id":161341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae2c1f8012d679640061fa9d8000c015931..."} 
[2026-08-23 00:42:54] local.INFO: Packet analysis {"connection_id":161341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae2"} 
[2026-08-23 00:42:54] local.INFO: Extracted packet for processing {"connection_id":161341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae2"} 
[2026-08-23 00:42:54] local.INFO: GPS Element Parsed {"raw_longitude":761763392,"raw_latitude":102738392,"longitude_deg":76.1763392,"latitude_deg":10.2738392,"altitude":12,"angle":345,"satellites":49,"speed":47,"hex_longitude":"2d679640","hex_latitude":"061fa9d8","is_valid_coordinates":true} 
[2026-08-23 00:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581028096001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389339957908471808,"note":"Value kept but may cause issues"} 
[2026-08-23 00:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7466968208478990336,"note":"Value kept but may cause issues"} 
[2026-08-23 00:42:54] 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-08-23 00:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787425899000,"timestamp_ms":1787425899000,"timestamp_seconds":1787425899,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae2c1f8"} 
[2026-08-23 00:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:42: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-08-23 00:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 00:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:42:54] 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-08-23 00:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581028096001,"66":27267,"92":206,"79":20992,"24":47,"16":389339957908471808,"45":7466968208478990336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-08-23 00:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581028096001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:42:54] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-23 00:42:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389339957908471808,"km_value":389339957908471.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7466968208478990336,"description":"Unknown IO ID 45"} 
[2026-08-23 00:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581028096001,"power":27267,"unknown_92":206,"unknown_79":20992,"ignition":47,"odometer":null,"unknown_45":7466968208478990336}} 
[2026-08-23 00:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":161341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:42:54] local.INFO: GPS data processed {"connection_id":161341,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:42:54] local.INFO: Acknowledgment sent {"connection_id":161341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:42:56] local.INFO: TCP Data received {"connection_id":160177,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:42:56] local.INFO: Processing buffer {"connection_id":160177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:42:56] local.INFO: IMEI packet received {"connection_id":160177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":160177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:43:01] local.INFO: TCP Data received {"connection_id":160177,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:43:01] local.INFO: Processing buffer {"connection_id":160177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:43:01] local.INFO: IMEI packet received {"connection_id":160177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":160177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:43:02] local.INFO: TCP Data received {"connection_id":160177,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:43:02] local.INFO: Processing buffer {"connection_id":160177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:43:02] local.INFO: Packet analysis {"connection_id":160177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:43:02] local.INFO: Extracted packet for processing {"connection_id":160177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:43:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":69,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580898560001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787425686000,"timestamp_ms":1787425686000,"timestamp_seconds":1787425686,"priority":1,"record_length":96,"hex_timestamp":"000001a02adf81f0"} 
[2026-08-23 00:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:43: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-08-23 00:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580898560001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580898560001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:43:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:43:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580898560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":160177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:43:02] local.INFO: GPS data processed {"connection_id":160177,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:43:02] local.INFO: Acknowledgment sent {"connection_id":160177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:43:07] local.INFO: TCP Data received {"connection_id":160177,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:43:07] local.INFO: Processing buffer {"connection_id":160177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02adf81f0012d196540071ff1b0004501372b..."} 
[2026-08-23 00:43:07] local.INFO: Packet analysis {"connection_id":160177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:43:07] local.INFO: Extracted packet for processing {"connection_id":160177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02adf"} 
[2026-08-23 00:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":69,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580898560001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787425686000,"timestamp_ms":1787425686000,"timestamp_seconds":1787425686,"priority":1,"record_length":96,"hex_timestamp":"000001a02adf81f0"} 
[2026-08-23 00:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:43: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-08-23 00:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580898560001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580898560001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:43:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:43:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580898560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":160177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:43:07] local.INFO: GPS data processed {"connection_id":160177,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:43:07] local.INFO: Acknowledgment sent {"connection_id":160177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:43:29] local.INFO: TCP Data received {"connection_id":161341,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae2dd50012d678e40061fcbc0000b015a30..."} 
[2026-08-23 00:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae2dd50012d678e40061fcbc0000b015a30..."} 
[2026-08-23 00:43:29] local.INFO: Processing buffer {"connection_id":161341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae2dd50012d678e40061fcbc0000b015a30..."} 
[2026-08-23 00:43:29] local.INFO: Packet analysis {"connection_id":161341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae2"} 
[2026-08-23 00:43:29] local.INFO: Extracted packet for processing {"connection_id":161341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae2"} 
[2026-08-23 00:43:29] local.INFO: GPS Element Parsed {"raw_longitude":761761344,"raw_latitude":102747072,"longitude_deg":76.1761344,"latitude_deg":10.2747072,"altitude":11,"angle":346,"satellites":48,"speed":52,"hex_longitude":"2d678e40","hex_latitude":"061fcbc0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581030144001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389340391700168704,"note":"Value kept but may cause issues"} 
[2026-08-23 00:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7464223827458381824,"note":"Value kept but may cause issues"} 
[2026-08-23 00:43:29] 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-08-23 00:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787425906000,"timestamp_ms":1787425906000,"timestamp_seconds":1787425906,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae2dd50"} 
[2026-08-23 00:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 00:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:43:29] 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-08-23 00:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581030144001,"66":27213,"92":206,"79":20992,"24":52,"16":389340391700168704,"45":7464223827458381824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-08-23 00:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581030144001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:43:29] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-23 00:43:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389340391700168704,"km_value":389340391700168.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7464223827458381824,"description":"Unknown IO ID 45"} 
[2026-08-23 00:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581030144001,"power":27213,"unknown_92":206,"unknown_79":20992,"ignition":52,"odometer":null,"unknown_45":7464223827458381824}} 
[2026-08-23 00:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":161341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:43:29] local.INFO: GPS data processed {"connection_id":161341,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:43:29] local.INFO: Acknowledgment sent {"connection_id":161341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:43:47] local.INFO: TCP Data received {"connection_id":161342,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:43:47] local.INFO: Processing buffer {"connection_id":161342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:43:47] local.INFO: IMEI packet received {"connection_id":161342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":161342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:43:47] local.INFO: TCP Data received {"connection_id":161342,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:43:47] local.INFO: Processing buffer {"connection_id":161342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:43:47] local.INFO: IMEI packet received {"connection_id":161342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":161342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:43:51] local.INFO: TCP Data received {"connection_id":160388,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:43:51] local.INFO: Processing buffer {"connection_id":160388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:43:51] local.INFO: IMEI packet received {"connection_id":160388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":160388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:43:55] local.INFO: TCP Data received {"connection_id":161342,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:43:55] local.INFO: Processing buffer {"connection_id":161342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:43:55] local.INFO: IMEI packet received {"connection_id":161342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":161342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:43:56] local.INFO: TCP Data received {"connection_id":161342,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae2f8a8012d678600061fee08000c015c30..."} 
[2026-08-23 00:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae2f8a8012d678600061fee08000c015c30..."} 
[2026-08-23 00:43:56] local.INFO: Processing buffer {"connection_id":161342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae2f8a8012d678600061fee08000c015c30..."} 
[2026-08-23 00:43:56] local.INFO: Packet analysis {"connection_id":161342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae2"} 
[2026-08-23 00:43:56] local.INFO: Extracted packet for processing {"connection_id":161342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae2"} 
[2026-08-23 00:43:56] local.INFO: GPS Element Parsed {"raw_longitude":761759232,"raw_latitude":102755848,"longitude_deg":76.1759232,"latitude_deg":10.2755848,"altitude":12,"angle":348,"satellites":48,"speed":49,"hex_longitude":"2d678600","hex_latitude":"061fee08","is_valid_coordinates":true} 
[2026-08-23 00:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581031936001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389340825491865600,"note":"Value kept but may cause issues"} 
[2026-08-23 00:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7461972027646918656,"note":"Value kept but may cause issues"} 
[2026-08-23 00:43:56] 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-08-23 00:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787425913000,"timestamp_ms":1787425913000,"timestamp_seconds":1787425913,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae2f8a8"} 
[2026-08-23 00:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:43: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-08-23 00:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 00:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:43:56] 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-08-23 00:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581031936001,"66":27332,"92":206,"79":20992,"24":49,"16":389340825491865600,"45":7461972027646918656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-08-23 00:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581031936001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:43:56] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-23 00:43:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389340825491865600,"km_value":389340825491865.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7461972027646918656,"description":"Unknown IO ID 45"} 
[2026-08-23 00:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581031936001,"power":27332,"unknown_92":206,"unknown_79":20992,"ignition":49,"odometer":null,"unknown_45":7461972027646918656}} 
[2026-08-23 00:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":161342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:43:56] local.INFO: GPS data processed {"connection_id":161342,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:43:56] local.INFO: Acknowledgment sent {"connection_id":161342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:43:56] local.INFO: TCP Data received {"connection_id":160388,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:43:56] local.INFO: Processing buffer {"connection_id":160388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:43:56] local.INFO: IMEI packet received {"connection_id":160388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":160388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:43:57] local.INFO: TCP Data received {"connection_id":160388,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:43:57] local.INFO: Processing buffer {"connection_id":160388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:43:57] local.INFO: Packet analysis {"connection_id":160388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:43:57] local.INFO: Extracted packet for processing {"connection_id":160388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:43:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":69,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580975616001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787425987000,"timestamp_ms":1787425987000,"timestamp_seconds":1787425987,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae419b8"} 
[2026-08-23 00:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:43: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-08-23 00:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 00:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580975616001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580975616001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:43:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:43:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580975616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":160388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:43:57] local.INFO: GPS data processed {"connection_id":160388,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:43:57] local.INFO: Acknowledgment sent {"connection_id":160388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:44:27] local.INFO: TCP Data received {"connection_id":161342,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae47f48012d671f000621c8880006015b2e..."} 
[2026-08-23 00:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae47f48012d671f000621c8880006015b2e..."} 
[2026-08-23 00:44:27] local.INFO: Processing buffer {"connection_id":161342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae47f48012d671f000621c8880006015b2e..."} 
[2026-08-23 00:44:27] local.INFO: Packet analysis {"connection_id":161342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:44:27] local.INFO: Extracted packet for processing {"connection_id":161342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:44:27] local.INFO: GPS Element Parsed {"raw_longitude":761732864,"raw_latitude":102877320,"longitude_deg":76.1732864,"latitude_deg":10.287732,"altitude":6,"angle":347,"satellites":46,"speed":51,"hex_longitude":"2d671f00","hex_latitude":"0621c888","is_valid_coordinates":true} 
[2026-08-23 00:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581057536001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389346851330981888,"note":"Value kept but may cause issues"} 
[2026-08-23 00:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7432839367588491264,"note":"Value kept but may cause issues"} 
[2026-08-23 00:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787426013000,"timestamp_ms":1787426013000,"timestamp_seconds":1787426013,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae47f48"} 
[2026-08-23 00:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-23 00:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:44:27] 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-08-23 00:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581057536001,"66":27343,"204":206,"79":21248,"24":51,"16":389346851330981888,"45":7432839367588491264},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,79,24,16,45]} 
[2026-08-23 00:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581057536001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:44:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":21248,"description":"Unknown IO ID 79"} 
[2026-08-23 00:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389346851330981888,"km_value":389346851330981.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7432839367588491264,"description":"Unknown IO ID 45"} 
[2026-08-23 00:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581057536001,"power":27343,"lac":206,"unknown_79":21248,"ignition":51,"odometer":null,"unknown_45":7432839367588491264}} 
[2026-08-23 00:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":161342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:44:27] local.INFO: GPS data processed {"connection_id":161342,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:44:27] local.INFO: Acknowledgment sent {"connection_id":161342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:44:28] local.INFO: TCP Data received {"connection_id":160388,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:44:28] local.INFO: Processing buffer {"connection_id":160388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:44:28] local.INFO: Packet analysis {"connection_id":160388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:44:28] local.INFO: Extracted packet for processing {"connection_id":160388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:44:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":69,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580975616001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787425987000,"timestamp_ms":1787425987000,"timestamp_seconds":1787425987,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae419b8"} 
[2026-08-23 00:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00: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-08-23 00:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 00:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580975616001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580975616001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:44:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:44:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580975616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":160388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:44:28] local.INFO: GPS data processed {"connection_id":160388,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:44:28] local.INFO: Acknowledgment sent {"connection_id":160388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:44:47] local.INFO: TCP Data received {"connection_id":160178,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:44:47] local.INFO: Processing buffer {"connection_id":160178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:44:47] local.INFO: IMEI packet received {"connection_id":160178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":160178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:44:51] local.INFO: TCP Data received {"connection_id":160178,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:44:51] local.INFO: Processing buffer {"connection_id":160178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:44:51] local.INFO: IMEI packet received {"connection_id":160178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":160178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:44:51] local.INFO: TCP Data received {"connection_id":162749,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:44:51] local.INFO: Processing buffer {"connection_id":162749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:44:51] local.INFO: IMEI packet received {"connection_id":162749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":162749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:44:52] local.INFO: TCP Data received {"connection_id":160178,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:44:52] local.INFO: Processing buffer {"connection_id":160178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:44:52] local.INFO: IMEI packet received {"connection_id":160178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":160178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:44:54] local.INFO: TCP Data received {"connection_id":160178,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae49aa0012d6717800621eb480007015c2f..."} 
[2026-08-23 00:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae49aa0012d6717800621eb480007015c2f..."} 
[2026-08-23 00:44:54] local.INFO: Processing buffer {"connection_id":160178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae49aa0012d6717800621eb480007015c2f..."} 
[2026-08-23 00:44:54] local.INFO: Packet analysis {"connection_id":160178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:44:54] local.INFO: Extracted packet for processing {"connection_id":160178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:44:54] local.INFO: GPS Element Parsed {"raw_longitude":761730944,"raw_latitude":102886216,"longitude_deg":76.1730944,"latitude_deg":10.2886216,"altitude":7,"angle":348,"satellites":47,"speed":51,"hex_longitude":"2d671780","hex_latitude":"0621eb48","is_valid_coordinates":true} 
[2026-08-23 00:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581059328001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389347289417646080,"note":"Value kept but may cause issues"} 
[2026-08-23 00:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7430657936521201664,"note":"Value kept but may cause issues"} 
[2026-08-23 00:44:54] 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-08-23 00:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787426020000,"timestamp_ms":1787426020000,"timestamp_seconds":1787426020,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae49aa0"} 
[2026-08-23 00:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 00:44: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-08-23 00:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:44:54] 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-08-23 00:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581059328001,"66":27332,"11":206,"79":20992,"24":51,"16":389347289417646080,"45":7430657936521201664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,79,24,16,45]} 
[2026-08-23 00:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581059328001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:44:54] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-23 00:44:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389347289417646080,"km_value":389347289417646.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7430657936521201664,"description":"Unknown IO ID 45"} 
[2026-08-23 00:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581059328001,"power":27332,"unknown_11":206,"unknown_79":20992,"ignition":51,"odometer":null,"unknown_45":7430657936521201664}} 
[2026-08-23 00:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":160178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:44:54] local.INFO: GPS data processed {"connection_id":160178,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:44:54] local.INFO: Acknowledgment sent {"connection_id":160178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:44:56] local.INFO: TCP Data received {"connection_id":162749,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:44:56] local.INFO: Processing buffer {"connection_id":162749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:44:56] local.INFO: IMEI packet received {"connection_id":162749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":162749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:44:57] local.INFO: TCP Data received {"connection_id":162749,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:44:57] local.INFO: Processing buffer {"connection_id":162749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:44:57] local.INFO: Packet analysis {"connection_id":162749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:44:57] local.INFO: Extracted packet for processing {"connection_id":162749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:44:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":69,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580975616001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787425987000,"timestamp_ms":1787425987000,"timestamp_seconds":1787425987,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae419b8"} 
[2026-08-23 00:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:44: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-08-23 00:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 00:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:44:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580975616001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580975616001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:44:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:44:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580975616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":162749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:44:57] local.INFO: GPS data processed {"connection_id":162749,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:44:57] local.INFO: Acknowledgment sent {"connection_id":162749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:45:25] local.INFO: TCP Data received {"connection_id":160178,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae4b5f8012d67108006220d880007015d2e..."} 
[2026-08-23 00:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae4b5f8012d67108006220d880007015d2e..."} 
[2026-08-23 00:45:25] local.INFO: Processing buffer {"connection_id":160178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae4b5f8012d67108006220d880007015d2e..."} 
[2026-08-23 00:45:25] local.INFO: Packet analysis {"connection_id":160178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:45:25] local.INFO: Extracted packet for processing {"connection_id":160178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:45:25] local.INFO: GPS Element Parsed {"raw_longitude":761729152,"raw_latitude":102894984,"longitude_deg":76.1729152,"latitude_deg":10.2894984,"altitude":7,"angle":349,"satellites":46,"speed":50,"hex_longitude":"2d671080","hex_latitude":"06220d88","is_valid_coordinates":true} 
[2026-08-23 00:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581061120001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389347723209342976,"note":"Value kept but may cause issues"} 
[2026-08-23 00:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7428546874198149120,"note":"Value kept but may cause issues"} 
[2026-08-23 00:45:25] 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-08-23 00:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787426027000,"timestamp_ms":1787426027000,"timestamp_seconds":1787426027,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae4b5f8"} 
[2026-08-23 00:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 00:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:45:25] 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-08-23 00:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581061120001,"66":27245,"11":206,"79":20992,"24":50,"16":389347723209342976,"45":7428546874198149120},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,79,24,16,45]} 
[2026-08-23 00:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581061120001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:45:25] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-23 00:45:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389347723209342976,"km_value":389347723209343.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":7428546874198149120,"description":"Unknown IO ID 45"} 
[2026-08-23 00:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581061120001,"power":27245,"unknown_11":206,"unknown_79":20992,"ignition":50,"odometer":null,"unknown_45":7428546874198149120}} 
[2026-08-23 00:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":160178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:45:25] local.INFO: GPS data processed {"connection_id":160178,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:45:25] local.INFO: Acknowledgment sent {"connection_id":160178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:45:28] local.INFO: TCP Data received {"connection_id":162749,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:45:28] local.INFO: Processing buffer {"connection_id":162749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:45:28] local.INFO: Packet analysis {"connection_id":162749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:45:28] local.INFO: Extracted packet for processing {"connection_id":162749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:45:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":69,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580975616001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787425987000,"timestamp_ms":1787425987000,"timestamp_seconds":1787425987,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae419b8"} 
[2026-08-23 00:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:45: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-08-23 00:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 00:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580975616001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580975616001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:45:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:45:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580975616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":162749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:45:29] local.INFO: GPS data processed {"connection_id":162749,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:45:29] local.INFO: Acknowledgment sent {"connection_id":162749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:45:53] local.INFO: TCP Data received {"connection_id":160179,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:45:53] local.INFO: Processing buffer {"connection_id":160179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:45:53] local.INFO: IMEI packet received {"connection_id":160179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":160179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:45:54] local.INFO: TCP Data received {"connection_id":160179,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:45:54] local.INFO: Processing buffer {"connection_id":160179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:45:54] local.INFO: IMEI packet received {"connection_id":160179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":160179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:45:55] local.INFO: TCP Data received {"connection_id":160179,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae4d150012d670980062230d00006015c30..."} 
[2026-08-23 00:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae4d150012d670980062230d00006015c30..."} 
[2026-08-23 00:45:55] local.INFO: Processing buffer {"connection_id":160179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae4d150012d670980062230d00006015c30..."} 
[2026-08-23 00:45:55] local.INFO: Packet analysis {"connection_id":160179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:45:55] local.INFO: Extracted packet for processing {"connection_id":160179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:45:55] local.INFO: GPS Element Parsed {"raw_longitude":761727360,"raw_latitude":102904016,"longitude_deg":76.172736,"latitude_deg":10.2904016,"altitude":6,"angle":348,"satellites":48,"speed":53,"hex_longitude":"2d670980","hex_latitude":"062230d0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581062912001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389348169885941760,"note":"Value kept but may cause issues"} 
[2026-08-23 00:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7426576549363419136,"note":"Value kept but may cause issues"} 
[2026-08-23 00:45:55] 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-08-23 00:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787426034000,"timestamp_ms":1787426034000,"timestamp_seconds":1787426034,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae4d150"} 
[2026-08-23 00:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:45: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-08-23 00:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-23 00:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:45:55] 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-08-23 00:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581062912001,"66":27365,"11":206,"79":20992,"24":53,"16":389348169885941760,"45":7426576549363419136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,79,24,16,45]} 
[2026-08-23 00:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581062912001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:45:55] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-23 00:45:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389348169885941760,"km_value":389348169885941.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7426576549363419136,"description":"Unknown IO ID 45"} 
[2026-08-23 00:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581062912001,"power":27365,"unknown_11":206,"unknown_79":20992,"ignition":53,"odometer":null,"unknown_45":7426576549363419136}} 
[2026-08-23 00:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":160179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:45:55] local.INFO: GPS data processed {"connection_id":160179,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:45:55] local.INFO: Acknowledgment sent {"connection_id":160179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:45:56] local.INFO: TCP Data received {"connection_id":160389,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:45:56] local.INFO: Processing buffer {"connection_id":160389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:45:56] local.INFO: IMEI packet received {"connection_id":160389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":160389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:45:58] local.INFO: TCP Data received {"connection_id":160179,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae4eca8012d67018006225510000601572f..."} 
[2026-08-23 00:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae4eca8012d67018006225510000601572f..."} 
[2026-08-23 00:45:58] local.INFO: Processing buffer {"connection_id":160179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae4eca8012d67018006225510000601572f..."} 
[2026-08-23 00:45:58] local.INFO: Packet analysis {"connection_id":160179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:45:58] local.INFO: Extracted packet for processing {"connection_id":160179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:45:58] local.INFO: GPS Element Parsed {"raw_longitude":761725312,"raw_latitude":102913296,"longitude_deg":76.1725312,"latitude_deg":10.2913296,"altitude":6,"angle":343,"satellites":47,"speed":54,"hex_longitude":"2d670180","hex_latitude":"06225510","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581064704001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389348629447442432,"note":"Value kept but may cause issues"} 
[2026-08-23 00:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7424606224528756736,"note":"Value kept but may cause issues"} 
[2026-08-23 00:45:58] 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-08-23 00:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787426041000,"timestamp_ms":1787426041000,"timestamp_seconds":1787426041,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae4eca8"} 
[2026-08-23 00:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:45: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-08-23 00:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 00:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:45:58] 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-08-23 00:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581064704001,"66":27310,"11":206,"79":20992,"24":54,"16":389348629447442432,"45":7424606224528756736},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,79,24,16,45]} 
[2026-08-23 00:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581064704001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:45:58] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-23 00:45:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389348629447442432,"km_value":389348629447442.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7424606224528756736,"description":"Unknown IO ID 45"} 
[2026-08-23 00:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581064704001,"power":27310,"unknown_11":206,"unknown_79":20992,"ignition":54,"odometer":null,"unknown_45":7424606224528756736}} 
[2026-08-23 00:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":160179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:45:58] local.INFO: GPS data processed {"connection_id":160179,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:45:58] local.INFO: Acknowledgment sent {"connection_id":160179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:46:01] local.INFO: TCP Data received {"connection_id":160389,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:46:01] local.INFO: Processing buffer {"connection_id":160389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:46:01] local.INFO: IMEI packet received {"connection_id":160389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":160389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:46:02] local.INFO: TCP Data received {"connection_id":160389,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:46:02] local.INFO: Processing buffer {"connection_id":160389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:46:02] local.INFO: Packet analysis {"connection_id":160389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:46:02] local.INFO: Extracted packet for processing {"connection_id":160389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:46:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":69,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580975616001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787425987000,"timestamp_ms":1787425987000,"timestamp_seconds":1787425987,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae419b8"} 
[2026-08-23 00:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:46: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-08-23 00:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 00:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580975616001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580975616001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:46:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:46:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580975616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":160389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:46:02] local.INFO: GPS data processed {"connection_id":160389,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:46:02] local.INFO: Acknowledgment sent {"connection_id":160389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:46:07] local.INFO: TCP Data received {"connection_id":160389,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:46:07] local.INFO: Processing buffer {"connection_id":160389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:46:07] local.INFO: Packet analysis {"connection_id":160389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:46:07] local.INFO: Extracted packet for processing {"connection_id":160389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":69,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580975616001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787425987000,"timestamp_ms":1787425987000,"timestamp_seconds":1787425987,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae419b8"} 
[2026-08-23 00:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:46: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-08-23 00:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 00:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580975616001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580975616001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:46:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:46:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580975616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":160389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:46:07] local.INFO: GPS data processed {"connection_id":160389,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:46:07] local.INFO: Acknowledgment sent {"connection_id":160389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:46:29] local.INFO: TCP Data received {"connection_id":160179,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae657f0012d659d000622e5f0000d01192e..."} 
[2026-08-23 00:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae657f0012d659d000622e5f0000d01192e..."} 
[2026-08-23 00:46:29] local.INFO: Processing buffer {"connection_id":160179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae657f0012d659d000622e5f0000d01192e..."} 
[2026-08-23 00:46:29] local.INFO: Packet analysis {"connection_id":160179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae6"} 
[2026-08-23 00:46:29] local.INFO: Extracted packet for processing {"connection_id":160179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae6"} 
[2026-08-23 00:46:29] local.INFO: GPS Element Parsed {"raw_longitude":761634048,"raw_latitude":102950384,"longitude_deg":76.1634048,"latitude_deg":10.2950384,"altitude":13,"angle":281,"satellites":46,"speed":45,"hex_longitude":"2d659d00","hex_latitude":"0622e5f0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581088256001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389353607314538496,"note":"Value kept but may cause issues"} 
[2026-08-23 00:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7331860219714037760,"note":"Value kept but may cause issues"} 
[2026-08-23 00:46:29] 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-08-23 00:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787426134000,"timestamp_ms":1787426134000,"timestamp_seconds":1787426134,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae657f0"} 
[2026-08-23 00:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 00:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:46:29] 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-08-23 00:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581088256001,"66":27245,"13":206,"79":20992,"24":45,"16":389353607314538496,"45":7331860219714037760},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-08-23 00:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581088256001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:46:29] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-23 00:46:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389353607314538496,"km_value":389353607314538.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7331860219714037760,"description":"Unknown IO ID 45"} 
[2026-08-23 00:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581088256001,"power":27245,"unknown_13":206,"unknown_79":20992,"ignition":45,"odometer":null,"unknown_45":7331860219714037760}} 
[2026-08-23 00:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":160179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:46:29] local.INFO: GPS data processed {"connection_id":160179,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:46:29] local.INFO: Acknowledgment sent {"connection_id":160179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:46:47] local.INFO: TCP Data received {"connection_id":162750,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:46:47] local.INFO: Processing buffer {"connection_id":162750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:46:47] local.INFO: IMEI packet received {"connection_id":162750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":162750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:46:51] local.INFO: TCP Data received {"connection_id":162750,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:46:51] local.INFO: Processing buffer {"connection_id":162750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:46:51] local.INFO: IMEI packet received {"connection_id":162750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":162750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:46:51] local.INFO: TCP Data received {"connection_id":162751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:46:51] local.INFO: Processing buffer {"connection_id":162751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:46:51] local.INFO: IMEI packet received {"connection_id":162751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":162751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:46:52] local.INFO: TCP Data received {"connection_id":162750,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae67730012d6578800622eca0000a01182e..."} 
[2026-08-23 00:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae67730012d6578800622eca0000a01182e..."} 
[2026-08-23 00:46:52] local.INFO: Processing buffer {"connection_id":162750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae67730012d6578800622eca0000a01182e..."} 
[2026-08-23 00:46:52] local.INFO: Packet analysis {"connection_id":162750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae6"} 
[2026-08-23 00:46:52] local.INFO: Extracted packet for processing {"connection_id":162750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae6"} 
[2026-08-23 00:46:52] local.INFO: GPS Element Parsed {"raw_longitude":761624704,"raw_latitude":102952096,"longitude_deg":76.1624704,"latitude_deg":10.2952096,"altitude":10,"angle":280,"satellites":46,"speed":48,"hex_longitude":"2d657880","hex_latitude":"0622eca0","is_valid_coordinates":true} 
[2026-08-23 00:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581090304001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389354062581071872,"note":"Value kept but may cause issues"} 
[2026-08-23 00:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7322008595529592832,"note":"Value kept but may cause issues"} 
[2026-08-23 00:46:52] 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-08-23 00:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787426142000,"timestamp_ms":1787426142000,"timestamp_seconds":1787426142,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae67730"} 
[2026-08-23 00:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-23 00:46:52] 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-08-23 00:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:46:52] 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-08-23 00:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581090304001,"66":27267,"55":206,"79":20992,"24":48,"16":389354062581071872,"45":7322008595529592832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,79,24,16,45]} 
[2026-08-23 00:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581090304001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:46:52] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-23 00:46:52] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389354062581071872,"km_value":389354062581071.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":7322008595529592832,"description":"Unknown IO ID 45"} 
[2026-08-23 00:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581090304001,"power":27267,"unknown_55":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":7322008595529592832}} 
[2026-08-23 00:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":162750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:46:52] local.INFO: GPS data processed {"connection_id":162750,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:46:52] local.INFO: Acknowledgment sent {"connection_id":162750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:46:56] local.INFO: TCP Data received {"connection_id":162751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:46:56] local.INFO: Processing buffer {"connection_id":162751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:46:56] local.INFO: IMEI packet received {"connection_id":162751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":162751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:46:57] local.INFO: TCP Data received {"connection_id":162751,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:46:57] local.INFO: Processing buffer {"connection_id":162751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:46:57] local.INFO: Packet analysis {"connection_id":162751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:46:57] local.INFO: Extracted packet for processing {"connection_id":162751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:46:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":69,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580975616001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787425987000,"timestamp_ms":1787425987000,"timestamp_seconds":1787425987,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae419b8"} 
[2026-08-23 00:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:46: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-08-23 00:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 00:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580975616001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580975616001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:46:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:46:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580975616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":162751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:46:57] local.INFO: GPS data processed {"connection_id":162751,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:46:57] local.INFO: Acknowledgment sent {"connection_id":162751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:47:23] local.INFO: TCP Data received {"connection_id":162750,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae69670012d6551400622f428000701182c..."} 
[2026-08-23 00:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae69670012d6551400622f428000701182c..."} 
[2026-08-23 00:47:23] local.INFO: Processing buffer {"connection_id":162750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae69670012d6551400622f428000701182c..."} 
[2026-08-23 00:47:23] local.INFO: Packet analysis {"connection_id":162750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae6"} 
[2026-08-23 00:47:23] local.INFO: Extracted packet for processing {"connection_id":162750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae6"} 
[2026-08-23 00:47:23] local.INFO: GPS Element Parsed {"raw_longitude":761614656,"raw_latitude":102954024,"longitude_deg":76.1614656,"latitude_deg":10.2954024,"altitude":7,"angle":280,"satellites":44,"speed":51,"hex_longitude":"2d655140","hex_latitude":"0622f428","is_valid_coordinates":true} 
[2026-08-23 00:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581092352001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389354552207343616,"note":"Value kept but may cause issues"} 
[2026-08-23 00:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7311734758880092160,"note":"Value kept but may cause issues"} 
[2026-08-23 00:47:23] 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-08-23 00:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787426150000,"timestamp_ms":1787426150000,"timestamp_seconds":1787426150,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae69670"} 
[2026-08-23 00:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:47: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-08-23 00:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 00:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:47:23] 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-08-23 00:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581092352001,"66":27300,"55":206,"79":20992,"24":51,"16":389354552207343616,"45":7311734758880092160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,79,24,16,45]} 
[2026-08-23 00:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581092352001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:47:23] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-23 00:47:23] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389354552207343616,"km_value":389354552207343.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":7311734758880092160,"description":"Unknown IO ID 45"} 
[2026-08-23 00:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581092352001,"power":27300,"unknown_55":206,"unknown_79":20992,"ignition":51,"odometer":null,"unknown_45":7311734758880092160}} 
[2026-08-23 00:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":162750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:47:23] local.INFO: GPS data processed {"connection_id":162750,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:47:23] local.INFO: Acknowledgment sent {"connection_id":162750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:47:29] local.INFO: TCP Data received {"connection_id":162751,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:47:29] local.INFO: Processing buffer {"connection_id":162751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:47:29] local.INFO: Packet analysis {"connection_id":162751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:47:29] local.INFO: Extracted packet for processing {"connection_id":162751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:47:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":69,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580975616001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787425987000,"timestamp_ms":1787425987000,"timestamp_seconds":1787425987,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae419b8"} 
[2026-08-23 00:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:47: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-08-23 00:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 00:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580975616001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580975616001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:47:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:47:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580975616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":162751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:47:29] local.INFO: GPS data processed {"connection_id":162751,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:47:29] local.INFO: Acknowledgment sent {"connection_id":162751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:47:44] local.INFO: TCP Data received {"connection_id":160180,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:47:44] local.INFO: Processing buffer {"connection_id":160180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:47:44] local.INFO: IMEI packet received {"connection_id":160180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":160180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:47:48] local.INFO: TCP Data received {"connection_id":160180,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:47:48] local.INFO: Processing buffer {"connection_id":160180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:47:48] local.INFO: IMEI packet received {"connection_id":160180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":160180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:47:51] local.INFO: TCP Data received {"connection_id":161343,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:47:51] local.INFO: Processing buffer {"connection_id":161343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:47:51] local.INFO: IMEI packet received {"connection_id":161343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":161343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:47:53] local.INFO: TCP Data received {"connection_id":160180,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:47:53] local.INFO: Processing buffer {"connection_id":160180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:47:53] local.INFO: IMEI packet received {"connection_id":160180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":160180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:47:53] local.INFO: TCP Data received {"connection_id":160180,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae6b1c8012d652e400622fa68000601192d..."} 
[2026-08-23 00:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae6b1c8012d652e400622fa68000601192d..."} 
[2026-08-23 00:47:53] local.INFO: Processing buffer {"connection_id":160180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae6b1c8012d652e400622fa68000601192d..."} 
[2026-08-23 00:47:53] local.INFO: Packet analysis {"connection_id":160180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae6"} 
[2026-08-23 00:47:53] local.INFO: Extracted packet for processing {"connection_id":160180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae6"} 
[2026-08-23 00:47:53] local.INFO: GPS Element Parsed {"raw_longitude":761605696,"raw_latitude":102955624,"longitude_deg":76.1605696,"latitude_deg":10.2955624,"altitude":6,"angle":281,"satellites":45,"speed":50,"hex_longitude":"2d652e40","hex_latitude":"0622fa68","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581094400001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389354985999040512,"note":"Value kept but may cause issues"} 
[2026-08-23 00:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7300686866044692480,"note":"Value kept but may cause issues"} 
[2026-08-23 00:47:53] 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-08-23 00:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787426157000,"timestamp_ms":1787426157000,"timestamp_seconds":1787426157,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae6b1c8"} 
[2026-08-23 00:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:47: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-08-23 00: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 00:47:53] 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-08-23 00: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-08-23 00:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:47:53] 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-08-23 00:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581094400001,"66":27213,"55":206,"79":20992,"24":50,"16":389354985999040512,"45":7300686866044692480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,79,24,16,45]} 
[2026-08-23 00:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581094400001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:47:53] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-23 00:47:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389354985999040512,"km_value":389354985999040.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7300686866044692480,"description":"Unknown IO ID 45"} 
[2026-08-23 00:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581094400001,"power":27213,"unknown_55":206,"unknown_79":20992,"ignition":50,"odometer":null,"unknown_45":7300686866044692480}} 
[2026-08-23 00:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":160180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:47:53] local.INFO: GPS data processed {"connection_id":160180,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:47:53] local.INFO: Acknowledgment sent {"connection_id":160180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:47:55] local.INFO: TCP Data received {"connection_id":160180,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae6d108012d650900062302b0000601192e..."} 
[2026-08-23 00:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae6d108012d650900062302b0000601192e..."} 
[2026-08-23 00:47:55] local.INFO: Processing buffer {"connection_id":160180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae6d108012d650900062302b0000601192e..."} 
[2026-08-23 00:47:55] local.INFO: Packet analysis {"connection_id":160180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae6"} 
[2026-08-23 00:47:55] local.INFO: Extracted packet for processing {"connection_id":160180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae6"} 
[2026-08-23 00:47:55] local.INFO: GPS Element Parsed {"raw_longitude":761596160,"raw_latitude":102957744,"longitude_deg":76.159616,"latitude_deg":10.2957744,"altitude":6,"angle":281,"satellites":46,"speed":47,"hex_longitude":"2d650900","hex_latitude":"062302b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581096192001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389355454150475776,"note":"Value kept but may cause issues"} 
[2026-08-23 00:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7290835241860229120,"note":"Value kept but may cause issues"} 
[2026-08-23 00:47:55] 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-08-23 00:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787426165000,"timestamp_ms":1787426165000,"timestamp_seconds":1787426165,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae6d108"} 
[2026-08-23 00:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:47: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-08-23 00: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 00:47:55] 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-08-23 00: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-08-23 00:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:47:55] 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-08-23 00:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581096192001,"66":27321,"55":206,"79":20992,"24":47,"16":389355454150475776,"45":7290835241860229120},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,79,24,16,45]} 
[2026-08-23 00:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581096192001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:47:55] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-23 00:47:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389355454150475776,"km_value":389355454150475.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7290835241860229120,"description":"Unknown IO ID 45"} 
[2026-08-23 00:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581096192001,"power":27321,"unknown_55":206,"unknown_79":20992,"ignition":47,"odometer":null,"unknown_45":7290835241860229120}} 
[2026-08-23 00:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":160180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:47:55] local.INFO: GPS data processed {"connection_id":160180,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:47:55] local.INFO: Acknowledgment sent {"connection_id":160180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:47:56] local.INFO: TCP Data received {"connection_id":161343,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:47:56] local.INFO: Processing buffer {"connection_id":161343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:47:56] local.INFO: IMEI packet received {"connection_id":161343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":161343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:47:57] local.INFO: TCP Data received {"connection_id":161343,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:47:57] local.INFO: Processing buffer {"connection_id":161343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:47:57] local.INFO: Packet analysis {"connection_id":161343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:47:57] local.INFO: Extracted packet for processing {"connection_id":161343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:47:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":69,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580975616001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787425987000,"timestamp_ms":1787425987000,"timestamp_seconds":1787425987,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae419b8"} 
[2026-08-23 00:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:47: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-08-23 00:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 00:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580975616001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580975616001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:47:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:47:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580975616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":161343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:47:57] local.INFO: GPS data processed {"connection_id":161343,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:47:57] local.INFO: Acknowledgment sent {"connection_id":161343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:48:27] local.INFO: TCP Data received {"connection_id":160180,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae6f048012d64e50006230908000701162e..."} 
[2026-08-23 00:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae6f048012d64e50006230908000701162e..."} 
[2026-08-23 00:48:27] local.INFO: Processing buffer {"connection_id":160180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae6f048012d64e50006230908000701162e..."} 
[2026-08-23 00:48:27] local.INFO: Packet analysis {"connection_id":160180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae6"} 
[2026-08-23 00:48:27] local.INFO: Extracted packet for processing {"connection_id":160180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae6"} 
[2026-08-23 00:48:27] local.INFO: GPS Element Parsed {"raw_longitude":761586944,"raw_latitude":102959368,"longitude_deg":76.1586944,"latitude_deg":10.2959368,"altitude":7,"angle":278,"satellites":46,"speed":45,"hex_longitude":"2d64e500","hex_latitude":"06230908","is_valid_coordinates":true} 
[2026-08-23 00:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581098240001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389355900827074560,"note":"Value kept but may cause issues"} 
[2026-08-23 00:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7280350298978299904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:48:27] 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-08-23 00:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787426173000,"timestamp_ms":1787426173000,"timestamp_seconds":1787426173,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae6f048"} 
[2026-08-23 00:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 00:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:48:27] 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-08-23 00:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581098240001,"66":27365,"55":206,"79":20992,"24":45,"16":389355900827074560,"45":7280350298978299904},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,79,24,16,45]} 
[2026-08-23 00:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581098240001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:48:27] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-08-23 00:48:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389355900827074560,"km_value":389355900827074.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7280350298978299904,"description":"Unknown IO ID 45"} 
[2026-08-23 00:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581098240001,"power":27365,"unknown_55":206,"unknown_79":20992,"ignition":45,"odometer":null,"unknown_45":7280350298978299904}} 
[2026-08-23 00:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":160180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:48:27] local.INFO: GPS data processed {"connection_id":160180,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:48:27] local.INFO: Acknowledgment sent {"connection_id":160180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:48:29] local.INFO: TCP Data received {"connection_id":161343,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:48:29] local.INFO: Processing buffer {"connection_id":161343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae419b8012d196540071ff1b0004501372a..."} 
[2026-08-23 00:48:29] local.INFO: Packet analysis {"connection_id":161343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:48:29] local.INFO: Extracted packet for processing {"connection_id":161343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae4"} 
[2026-08-23 00:48:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":69,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457580975616001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787425987000,"timestamp_ms":1787425987000,"timestamp_seconds":1787425987,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae419b8"} 
[2026-08-23 00:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:48: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-08-23 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 00:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457580975616001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457580975616001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:48:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:48:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457580975616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":161343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:48:29] local.INFO: GPS data processed {"connection_id":161343,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:48:29] local.INFO: Acknowledgment sent {"connection_id":161343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:48:48] local.INFO: TCP Data received {"connection_id":160181,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:48:48] local.INFO: Processing buffer {"connection_id":160181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:48:48] local.INFO: IMEI packet received {"connection_id":160181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":160181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:48:51] local.INFO: TCP Data received {"connection_id":160181,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:48:51] local.INFO: Processing buffer {"connection_id":160181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:48:51] local.INFO: IMEI packet received {"connection_id":160181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":160181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:48:52] local.INFO: TCP Data received {"connection_id":160182,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:48:52] local.INFO: Processing buffer {"connection_id":160182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:48:52] local.INFO: IMEI packet received {"connection_id":160182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":160182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:48:52] local.INFO: TCP Data received {"connection_id":160181,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae84420012d63f3400623ca18000a015831..."} 
[2026-08-23 00:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae84420012d63f3400623ca18000a015831..."} 
[2026-08-23 00:48:52] local.INFO: Processing buffer {"connection_id":160181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae84420012d63f3400623ca18000a015831..."} 
[2026-08-23 00:48:52] local.INFO: Packet analysis {"connection_id":160181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:48:52] local.INFO: Extracted packet for processing {"connection_id":160181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:48:52] local.INFO: GPS Element Parsed {"raw_longitude":761525056,"raw_latitude":103008792,"longitude_deg":76.1525056,"latitude_deg":10.3008792,"altitude":10,"angle":344,"satellites":49,"speed":46,"hex_longitude":"2d63f340","hex_latitude":"0623ca18","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581120512001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389360139959795712,"note":"Value kept but may cause issues"} 
[2026-08-23 00:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7204774267742314496,"note":"Value kept but may cause issues"} 
[2026-08-23 00:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787426260000,"timestamp_ms":1787426260000,"timestamp_seconds":1787426260,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae84420"} 
[2026-08-23 00:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-23 00:48:52] 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-08-23 00: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-08-23 00:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:48:52] 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-08-23 00:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581120512001,"66":27332,"252":206,"79":20992,"24":46,"16":389360139959795712,"45":7204774267742314496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,79,24,16,45]} 
[2026-08-23 00:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581120512001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:48:52] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-08-23 00:48:52] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389360139959795712,"km_value":389360139959795.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":7204774267742314496,"description":"Unknown IO ID 45"} 
[2026-08-23 00:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581120512001,"power":27332,"unknown_252":206,"unknown_79":20992,"ignition":46,"odometer":null,"unknown_45":7204774267742314496}} 
[2026-08-23 00:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":160181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:48:52] local.INFO: GPS data processed {"connection_id":160181,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:48:52] local.INFO: Acknowledgment sent {"connection_id":160181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:48:56] local.INFO: TCP Data received {"connection_id":160182,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:48:56] local.INFO: Processing buffer {"connection_id":160182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:48:56] local.INFO: IMEI packet received {"connection_id":160182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":160182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:48:57] local.INFO: TCP Data received {"connection_id":160182,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:48:57] local.INFO: Processing buffer {"connection_id":160182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:48:57] local.INFO: Packet analysis {"connection_id":160182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:48:57] local.INFO: Extracted packet for processing {"connection_id":160182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:48:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581052672001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787426288000,"timestamp_ms":1787426288000,"timestamp_seconds":1787426288,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae8b180"} 
[2026-08-23 00:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581052672001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581052672001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:48:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:48:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581052672001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":160182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:48:57] local.INFO: GPS data processed {"connection_id":160182,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:48:57] local.INFO: Acknowledgment sent {"connection_id":160182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:49:23] local.INFO: TCP Data received {"connection_id":160181,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae86360012d63ea000623ede00008015a31..."} 
[2026-08-23 00:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae86360012d63ea000623ede00008015a31..."} 
[2026-08-23 00:49:23] local.INFO: Processing buffer {"connection_id":160181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae86360012d63ea000623ede00008015a31..."} 
[2026-08-23 00:49:23] local.INFO: Packet analysis {"connection_id":160181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:49:23] local.INFO: Extracted packet for processing {"connection_id":160181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:49:23] local.INFO: GPS Element Parsed {"raw_longitude":761522688,"raw_latitude":103017952,"longitude_deg":76.1522688,"latitude_deg":10.3017952,"altitude":8,"angle":346,"satellites":49,"speed":47,"hex_longitude":"2d63ea00","hex_latitude":"0623ede0","is_valid_coordinates":true} 
[2026-08-23 00:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581122560001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389360599521296384,"note":"Value kept but may cause issues"} 
[2026-08-23 00:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7202170624209983488,"note":"Value kept but may cause issues"} 
[2026-08-23 00:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787426268000,"timestamp_ms":1787426268000,"timestamp_seconds":1787426268,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae86360"} 
[2026-08-23 00:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 00:49:23] 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-08-23 00:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:49:23] 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-08-23 00:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581122560001,"66":27267,"252":206,"79":20992,"24":47,"16":389360599521296384,"45":7202170624209983488},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,79,24,16,45]} 
[2026-08-23 00:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581122560001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:49:23] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-08-23 00:49:23] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389360599521296384,"km_value":389360599521296.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":7202170624209983488,"description":"Unknown IO ID 45"} 
[2026-08-23 00:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581122560001,"power":27267,"unknown_252":206,"unknown_79":20992,"ignition":47,"odometer":null,"unknown_45":7202170624209983488}} 
[2026-08-23 00:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":160181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:49:23] local.INFO: GPS data processed {"connection_id":160181,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:49:23] local.INFO: Acknowledgment sent {"connection_id":160181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:49:28] local.INFO: TCP Data received {"connection_id":160182,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:49:28] local.INFO: Processing buffer {"connection_id":160182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:49:28] local.INFO: Packet analysis {"connection_id":160182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:49:28] local.INFO: Extracted packet for processing {"connection_id":160182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:49:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581052672001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787426288000,"timestamp_ms":1787426288000,"timestamp_seconds":1787426288,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae8b180"} 
[2026-08-23 00:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581052672001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581052672001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:49:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:49:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581052672001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":160182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:49:28] local.INFO: GPS data processed {"connection_id":160182,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:49:28] local.INFO: Acknowledgment sent {"connection_id":160182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:49:48] local.INFO: TCP Data received {"connection_id":161344,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:49:48] local.INFO: Processing buffer {"connection_id":161344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:49:48] local.INFO: IMEI packet received {"connection_id":161344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":161344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:49:53] local.INFO: TCP Data received {"connection_id":161344,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:49:53] local.INFO: Processing buffer {"connection_id":161344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:49:53] local.INFO: IMEI packet received {"connection_id":161344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":161344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:49:53] local.INFO: TCP Data received {"connection_id":161344,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae882a0012d63e0c0062410f80008015831..."} 
[2026-08-23 00:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae882a0012d63e0c0062410f80008015831..."} 
[2026-08-23 00:49:53] local.INFO: Processing buffer {"connection_id":161344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae882a0012d63e0c0062410f80008015831..."} 
[2026-08-23 00:49:53] local.INFO: Packet analysis {"connection_id":161344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:49:53] local.INFO: Extracted packet for processing {"connection_id":161344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:49:53] local.INFO: GPS Element Parsed {"raw_longitude":761520320,"raw_latitude":103026936,"longitude_deg":76.152032,"latitude_deg":10.3026936,"altitude":8,"angle":344,"satellites":49,"speed":44,"hex_longitude":"2d63e0c0","hex_latitude":"062410f8","is_valid_coordinates":true} 
[2026-08-23 00:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581124608001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389361050492862464,"note":"Value kept but may cause issues"} 
[2026-08-23 00:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7199566980677754880,"note":"Value kept but may cause issues"} 
[2026-08-23 00:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787426276000,"timestamp_ms":1787426276000,"timestamp_seconds":1787426276,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae882a0"} 
[2026-08-23 00:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 00:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:49:53] 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-08-23 00:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581124608001,"66":27300,"253":206,"79":20992,"24":44,"16":389361050492862464,"45":7199566980677754880},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-08-23 00:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581124608001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:49:53] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-23 00:49:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389361050492862464,"km_value":389361050492862.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7199566980677754880,"description":"Unknown IO ID 45"} 
[2026-08-23 00:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581124608001,"power":27300,"unknown_253":206,"unknown_79":20992,"ignition":44,"odometer":null,"unknown_45":7199566980677754880}} 
[2026-08-23 00:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":161344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:49:53] local.INFO: GPS data processed {"connection_id":161344,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:49:53] local.INFO: Acknowledgment sent {"connection_id":161344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:49:56] local.INFO: TCP Data received {"connection_id":160390,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:49:56] local.INFO: Processing buffer {"connection_id":160390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:49:56] local.INFO: IMEI packet received {"connection_id":160390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":160390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:50:01] local.INFO: TCP Data received {"connection_id":160390,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:50:01] local.INFO: Processing buffer {"connection_id":160390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:50:01] local.INFO: IMEI packet received {"connection_id":160390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":160390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:50:02] local.INFO: TCP Data received {"connection_id":160390,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:50:02] local.INFO: Processing buffer {"connection_id":160390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:50:02] local.INFO: Packet analysis {"connection_id":160390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:50:02] local.INFO: Extracted packet for processing {"connection_id":160390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:50:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581052672001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787426288000,"timestamp_ms":1787426288000,"timestamp_seconds":1787426288,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae8b180"} 
[2026-08-23 00:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581052672001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581052672001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:50:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:50:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581052672001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":160390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:50:02] local.INFO: GPS data processed {"connection_id":160390,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:50:02] local.INFO: Acknowledgment sent {"connection_id":160390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:50:07] local.INFO: TCP Data received {"connection_id":160390,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:50:07] local.INFO: Processing buffer {"connection_id":160390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:50:07] local.INFO: Packet analysis {"connection_id":160390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:50:07] local.INFO: Extracted packet for processing {"connection_id":160390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581052672001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787426288000,"timestamp_ms":1787426288000,"timestamp_seconds":1787426288,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae8b180"} 
[2026-08-23 00:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581052672001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581052672001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:50:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581052672001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":160390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:50:07] local.INFO: GPS data processed {"connection_id":160390,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:50:07] local.INFO: Acknowledgment sent {"connection_id":160390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:50:24] local.INFO: TCP Data received {"connection_id":161344,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae8a5c8012d63d7c0062432800007015a30..."} 
[2026-08-23 00:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae8a5c8012d63d7c0062432800007015a30..."} 
[2026-08-23 00:50:24] local.INFO: Processing buffer {"connection_id":161344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae8a5c8012d63d7c0062432800007015a30..."} 
[2026-08-23 00:50:24] local.INFO: Packet analysis {"connection_id":161344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:50:24] local.INFO: Extracted packet for processing {"connection_id":161344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:50:24] local.INFO: GPS Element Parsed {"raw_longitude":761518016,"raw_latitude":103035520,"longitude_deg":76.1518016,"latitude_deg":10.303552,"altitude":7,"angle":346,"satellites":48,"speed":30,"hex_longitude":"2d63d7c0","hex_latitude":"06243280","is_valid_coordinates":true} 
[2026-08-23 00:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581126656001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389361479989592064,"note":"Value kept but may cause issues"} 
[2026-08-23 00:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7196963337145481216,"note":"Value kept but may cause issues"} 
[2026-08-23 00:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787426285000,"timestamp_ms":1787426285000,"timestamp_seconds":1787426285,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae8a5c8"} 
[2026-08-23 00:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:50: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-08-23 00:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 00:50: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-08-23 00:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:50:24] 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-08-23 00:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581126656001,"66":27343,"253":206,"79":20992,"24":30,"16":389361479989592064,"45":7196963337145481216},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-08-23 00:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581126656001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:50:24] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-23 00:50:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389361479989592064,"km_value":389361479989592.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":7196963337145481216,"description":"Unknown IO ID 45"} 
[2026-08-23 00:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581126656001,"power":27343,"unknown_253":206,"unknown_79":20992,"ignition":30,"odometer":null,"unknown_45":7196963337145481216}} 
[2026-08-23 00:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":161344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:50:24] local.INFO: GPS data processed {"connection_id":161344,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:50:24] local.INFO: Acknowledgment sent {"connection_id":161344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:50:51] local.INFO: TCP Data received {"connection_id":162752,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:50:51] local.INFO: Processing buffer {"connection_id":162752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:50:51] local.INFO: IMEI packet received {"connection_id":162752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":162752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:50:53] local.INFO: TCP Data received {"connection_id":160391,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:50:53] local.INFO: Processing buffer {"connection_id":160391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:50:53] local.INFO: IMEI packet received {"connection_id":160391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":160391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:50:55] local.INFO: TCP Data received {"connection_id":160391,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:50:55] local.INFO: Processing buffer {"connection_id":160391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:50:55] local.INFO: IMEI packet received {"connection_id":160391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":160391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:50:56] local.INFO: TCP Data received {"connection_id":160391,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aea4ba8012d6388c006255868000701552e..."} 
[2026-08-23 00:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aea4ba8012d6388c006255868000701552e..."} 
[2026-08-23 00:50:56] local.INFO: Processing buffer {"connection_id":160391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aea4ba8012d6388c006255868000701552e..."} 
[2026-08-23 00:50:56] local.INFO: Packet analysis {"connection_id":160391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aea"} 
[2026-08-23 00:50:56] local.INFO: Extracted packet for processing {"connection_id":160391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aea"} 
[2026-08-23 00:50:56] local.INFO: GPS Element Parsed {"raw_longitude":761497792,"raw_latitude":103110760,"longitude_deg":76.1497792,"latitude_deg":10.311076,"altitude":7,"angle":341,"satellites":46,"speed":32,"hex_longitude":"2d6388c0","hex_latitude":"06255868","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581153792001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389365276740681728,"note":"Value kept but may cause issues"} 
[2026-08-23 00:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7175360132702236672,"note":"Value kept but may cause issues"} 
[2026-08-23 00:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787426393000,"timestamp_ms":1787426393000,"timestamp_seconds":1787426393,"priority":1,"record_length":96,"hex_timestamp":"000001a02aea4ba8"} 
[2026-08-23 00:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:50: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-08-23 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 00:50: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-08-23 00: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-08-23 00:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:50:56] 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-08-23 00:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581153792001,"66":27463,"76":206,"79":20992,"24":32,"16":389365276740681728,"45":7175360132702236672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,79,24,16,45]} 
[2026-08-23 00:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581153792001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:50:56] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-23 00:50:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389365276740681728,"km_value":389365276740681.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7175360132702236672,"description":"Unknown IO ID 45"} 
[2026-08-23 00:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581153792001,"power":27463,"unknown_76":206,"unknown_79":20992,"ignition":32,"odometer":null,"unknown_45":7175360132702236672}} 
[2026-08-23 00:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":160391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:50:56] local.INFO: GPS data processed {"connection_id":160391,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:50:56] local.INFO: Acknowledgment sent {"connection_id":160391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:50:56] local.INFO: TCP Data received {"connection_id":162752,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:50:56] local.INFO: Processing buffer {"connection_id":162752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:50:56] local.INFO: IMEI packet received {"connection_id":162752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":162752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:50:57] local.INFO: TCP Data received {"connection_id":162752,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:50:57] local.INFO: Processing buffer {"connection_id":162752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:50:57] local.INFO: Packet analysis {"connection_id":162752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:50:57] local.INFO: Extracted packet for processing {"connection_id":162752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:50:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581052672001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787426288000,"timestamp_ms":1787426288000,"timestamp_seconds":1787426288,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae8b180"} 
[2026-08-23 00:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581052672001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581052672001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:50:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:50:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581052672001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":162752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:50:57] local.INFO: GPS data processed {"connection_id":162752,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:50:57] local.INFO: Acknowledgment sent {"connection_id":162752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:50:57] local.INFO: TCP Data received {"connection_id":160391,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aea7a88012d637a4006257e68000601552b..."} 
[2026-08-23 00:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aea7a88012d637a4006257e68000601552b..."} 
[2026-08-23 00:50:57] local.INFO: Processing buffer {"connection_id":160391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aea7a88012d637a4006257e68000601552b..."} 
[2026-08-23 00:50:57] local.INFO: Packet analysis {"connection_id":160391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aea"} 
[2026-08-23 00:50:57] local.INFO: Extracted packet for processing {"connection_id":160391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aea"} 
[2026-08-23 00:50:57] local.INFO: GPS Element Parsed {"raw_longitude":761494080,"raw_latitude":103120488,"longitude_deg":76.149408,"latitude_deg":10.3120488,"altitude":6,"angle":341,"satellites":43,"speed":31,"hex_longitude":"2d637a40","hex_latitude":"06257e68","is_valid_coordinates":true} 
[2026-08-23 00:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581156608001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389365779251855360,"note":"Value kept but may cause issues"} 
[2026-08-23 00:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7172193539216402432,"note":"Value kept but may cause issues"} 
[2026-08-23 00:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787426405000,"timestamp_ms":1787426405000,"timestamp_seconds":1787426405,"priority":1,"record_length":96,"hex_timestamp":"000001a02aea7a88"} 
[2026-08-23 00:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:50: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-08-23 00:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-23 00:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:50:57] 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-08-23 00:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581156608001,"66":27213,"76":206,"79":20992,"24":31,"16":389365779251855360,"45":7172193539216402432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,79,24,16,45]} 
[2026-08-23 00:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581156608001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:50:57] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-23 00:50:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389365779251855360,"km_value":389365779251855.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":7172193539216402432,"description":"Unknown IO ID 45"} 
[2026-08-23 00:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581156608001,"power":27213,"unknown_76":206,"unknown_79":20992,"ignition":31,"odometer":null,"unknown_45":7172193539216402432}} 
[2026-08-23 00:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":160391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:50:57] local.INFO: GPS data processed {"connection_id":160391,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:50:57] local.INFO: Acknowledgment sent {"connection_id":160391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:51:28] local.INFO: TCP Data received {"connection_id":162752,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:51:28] local.INFO: Processing buffer {"connection_id":162752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:51:28] local.INFO: Packet analysis {"connection_id":162752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:51:28] local.INFO: Extracted packet for processing {"connection_id":162752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:51:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581052672001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787426288000,"timestamp_ms":1787426288000,"timestamp_seconds":1787426288,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae8b180"} 
[2026-08-23 00:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581052672001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581052672001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:51:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:51:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581052672001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":162752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:51:28] local.INFO: GPS data processed {"connection_id":162752,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:51:28] local.INFO: Acknowledgment sent {"connection_id":162752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:51:29] local.INFO: TCP Data received {"connection_id":160391,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aea8a28012d6374c006258a78000701482d..."} 
[2026-08-23 00:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aea8a28012d6374c006258a78000701482d..."} 
[2026-08-23 00:51:29] local.INFO: Processing buffer {"connection_id":160391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aea8a28012d6374c006258a78000701482d..."} 
[2026-08-23 00:51:29] local.INFO: Packet analysis {"connection_id":160391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aea"} 
[2026-08-23 00:51:29] local.INFO: Extracted packet for processing {"connection_id":160391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aea"} 
[2026-08-23 00:51:29] local.INFO: GPS Element Parsed {"raw_longitude":761492672,"raw_latitude":103123576,"longitude_deg":76.1492672,"latitude_deg":10.3123576,"altitude":7,"angle":328,"satellites":45,"speed":34,"hex_longitude":"2d6374c0","hex_latitude":"06258a78","is_valid_coordinates":true} 
[2026-08-23 00:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581159680001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389365942460612608,"note":"Value kept but may cause issues"} 
[2026-08-23 00:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7168112152056588288,"note":"Value kept but may cause issues"} 
[2026-08-23 00:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787426409000,"timestamp_ms":1787426409000,"timestamp_seconds":1787426409,"priority":1,"record_length":96,"hex_timestamp":"000001a02aea8a28"} 
[2026-08-23 00:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:51: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-08-23 00:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 00:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:51:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:51:29] 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-08-23 00:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581159680001,"66":27376,"76":206,"79":20992,"24":34,"16":389365942460612608,"45":7168112152056588288},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,79,24,16,45]} 
[2026-08-23 00:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581159680001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:51:29] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-23 00:51:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389365942460612608,"km_value":389365942460612.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7168112152056588288,"description":"Unknown IO ID 45"} 
[2026-08-23 00:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581159680001,"power":27376,"unknown_76":206,"unknown_79":20992,"ignition":34,"odometer":null,"unknown_45":7168112152056588288}} 
[2026-08-23 00:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":160391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:51:29] local.INFO: GPS data processed {"connection_id":160391,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:51:29] local.INFO: Acknowledgment sent {"connection_id":160391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:51:48] local.INFO: TCP Data received {"connection_id":161345,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:51:48] local.INFO: Processing buffer {"connection_id":161345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:51:48] local.INFO: IMEI packet received {"connection_id":161345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":161345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:51:51] local.INFO: TCP Data received {"connection_id":160392,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:51:51] local.INFO: Processing buffer {"connection_id":160392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:51:51] local.INFO: IMEI packet received {"connection_id":160392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":160392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:51:53] local.INFO: TCP Data received {"connection_id":161345,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:51:53] local.INFO: Processing buffer {"connection_id":161345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:51:53] local.INFO: IMEI packet received {"connection_id":161345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":161345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:51:54] local.INFO: TCP Data received {"connection_id":161345,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aeaad50012d6364400625a4100007013b2a..."} 
[2026-08-23 00:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aeaad50012d6364400625a4100007013b2a..."} 
[2026-08-23 00:51:54] local.INFO: Processing buffer {"connection_id":161345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aeaad50012d6364400625a4100007013b2a..."} 
[2026-08-23 00:51:54] local.INFO: Packet analysis {"connection_id":161345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aea"} 
[2026-08-23 00:51:54] local.INFO: Extracted packet for processing {"connection_id":161345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aea"} 
[2026-08-23 00:51:54] local.INFO: GPS Element Parsed {"raw_longitude":761488448,"raw_latitude":103130128,"longitude_deg":76.1488448,"latitude_deg":10.3130128,"altitude":7,"angle":315,"satellites":42,"speed":33,"hex_longitude":"2d636440","hex_latitude":"0625a410","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581160704001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389366320417734656,"note":"Value kept but may cause issues"} 
[2026-08-23 00:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7166564039685470208,"note":"Value kept but may cause issues"} 
[2026-08-23 00:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787426418000,"timestamp_ms":1787426418000,"timestamp_seconds":1787426418,"priority":1,"record_length":96,"hex_timestamp":"000001a02aeaad50"} 
[2026-08-23 00:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 00:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:51:54] 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-08-23 00:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581160704001,"66":27234,"77":206,"79":20992,"24":33,"16":389366320417734656,"45":7166564039685470208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,79,24,16,45]} 
[2026-08-23 00:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581160704001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:51:54] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-23 00:51:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389366320417734656,"km_value":389366320417734.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7166564039685470208,"description":"Unknown IO ID 45"} 
[2026-08-23 00:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581160704001,"power":27234,"unknown_77":206,"unknown_79":20992,"ignition":33,"odometer":null,"unknown_45":7166564039685470208}} 
[2026-08-23 00:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":161345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:51:54] local.INFO: GPS data processed {"connection_id":161345,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:51:54] local.INFO: Acknowledgment sent {"connection_id":161345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:51:56] local.INFO: TCP Data received {"connection_id":161345,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aeab908012d635bc00625aa580007012d2d..."} 
[2026-08-23 00:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aeab908012d635bc00625aa580007012d2d..."} 
[2026-08-23 00:51:56] local.INFO: Processing buffer {"connection_id":161345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aeab908012d635bc00625aa580007012d2d..."} 
[2026-08-23 00:51:56] local.INFO: Packet analysis {"connection_id":161345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aea"} 
[2026-08-23 00:51:56] local.INFO: Extracted packet for processing {"connection_id":161345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aea"} 
[2026-08-23 00:51:56] local.INFO: GPS Element Parsed {"raw_longitude":761486272,"raw_latitude":103131736,"longitude_deg":76.1486272,"latitude_deg":10.3131736,"altitude":7,"angle":301,"satellites":45,"speed":35,"hex_longitude":"2d635bc0","hex_latitude":"0625aa58","is_valid_coordinates":true} 
[2026-08-23 00:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581163008001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389366449266753536,"note":"Value kept but may cause issues"} 
[2026-08-23 00:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7161919702571421696,"note":"Value kept but may cause issues"} 
[2026-08-23 00:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787426421000,"timestamp_ms":1787426421000,"timestamp_seconds":1787426421,"priority":1,"record_length":96,"hex_timestamp":"000001a02aeab908"} 
[2026-08-23 00:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:51: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-08-23 00:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 00:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:51:56] 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-08-23 00:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581163008001,"66":27343,"77":206,"79":20992,"24":35,"16":389366449266753536,"45":7161919702571421696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,79,24,16,45]} 
[2026-08-23 00:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581163008001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:51:56] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-23 00:51:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389366449266753536,"km_value":389366449266753.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7161919702571421696,"description":"Unknown IO ID 45"} 
[2026-08-23 00:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581163008001,"power":27343,"unknown_77":206,"unknown_79":20992,"ignition":35,"odometer":null,"unknown_45":7161919702571421696}} 
[2026-08-23 00:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":161345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:51:56] local.INFO: GPS data processed {"connection_id":161345,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:51:56] local.INFO: Acknowledgment sent {"connection_id":161345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:51:56] local.INFO: TCP Data received {"connection_id":160392,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:51:56] local.INFO: Processing buffer {"connection_id":160392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:51:56] local.INFO: IMEI packet received {"connection_id":160392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":160392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:51:57] local.INFO: TCP Data received {"connection_id":160392,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:51:57] local.INFO: Processing buffer {"connection_id":160392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:51:57] local.INFO: Packet analysis {"connection_id":160392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:51:57] local.INFO: Extracted packet for processing {"connection_id":160392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:51:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581052672001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787426288000,"timestamp_ms":1787426288000,"timestamp_seconds":1787426288,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae8b180"} 
[2026-08-23 00:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581052672001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581052672001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:51:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:51:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581052672001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":160392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:51:57] local.INFO: GPS data processed {"connection_id":160392,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:51:57] local.INFO: Acknowledgment sent {"connection_id":160392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:52:27] local.INFO: TCP Data received {"connection_id":161345,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aeac8a8012d634fc00625b2980007013b2c..."} 
[2026-08-23 00:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aeac8a8012d634fc00625b2980007013b2c..."} 
[2026-08-23 00:52:27] local.INFO: Processing buffer {"connection_id":161345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aeac8a8012d634fc00625b2980007013b2c..."} 
[2026-08-23 00:52:27] local.INFO: Packet analysis {"connection_id":161345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aea"} 
[2026-08-23 00:52:27] local.INFO: Extracted packet for processing {"connection_id":161345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aea"} 
[2026-08-23 00:52:27] local.INFO: GPS Element Parsed {"raw_longitude":761483200,"raw_latitude":103133848,"longitude_deg":76.14832,"latitude_deg":10.3133848,"altitude":7,"angle":315,"satellites":44,"speed":37,"hex_longitude":"2d634fc0","hex_latitude":"0625b298","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581163776001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389366629655379968,"note":"Value kept but may cause issues"} 
[2026-08-23 00:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7159527165269792768,"note":"Value kept but may cause issues"} 
[2026-08-23 00:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787426425000,"timestamp_ms":1787426425000,"timestamp_seconds":1787426425,"priority":1,"record_length":96,"hex_timestamp":"000001a02aeac8a8"} 
[2026-08-23 00:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 00:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:52:27] 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-08-23 00:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581163776001,"66":27365,"77":206,"79":20992,"24":37,"16":389366629655379968,"45":7159527165269792768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,79,24,16,45]} 
[2026-08-23 00:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581163776001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:52:27] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-23 00:52:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389366629655379968,"km_value":389366629655379.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7159527165269792768,"description":"Unknown IO ID 45"} 
[2026-08-23 00:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581163776001,"power":27365,"unknown_77":206,"unknown_79":20992,"ignition":37,"odometer":null,"unknown_45":7159527165269792768}} 
[2026-08-23 00:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":161345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:52:27] local.INFO: GPS data processed {"connection_id":161345,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:52:27] local.INFO: Acknowledgment sent {"connection_id":161345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:52:28] local.INFO: TCP Data received {"connection_id":160392,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:52:28] local.INFO: Processing buffer {"connection_id":160392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:52:28] local.INFO: Packet analysis {"connection_id":160392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:52:28] local.INFO: Extracted packet for processing {"connection_id":160392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:52:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581052672001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787426288000,"timestamp_ms":1787426288000,"timestamp_seconds":1787426288,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae8b180"} 
[2026-08-23 00:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581052672001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581052672001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:52:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:52:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581052672001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":160392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:52:28] local.INFO: GPS data processed {"connection_id":160392,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:52:28] local.INFO: Acknowledgment sent {"connection_id":160392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:52:48] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:52:48] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:52:48] local.INFO: IMEI packet received {"connection_id":160183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":160183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:52:52] local.INFO: TCP Data received {"connection_id":160184,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:52:52] local.INFO: Processing buffer {"connection_id":160184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:52:52] local.INFO: IMEI packet received {"connection_id":160184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":160184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:52:54] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:52:54] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:52:54] local.INFO: IMEI packet received {"connection_id":160183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":160183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:52:56] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aead848012d6347000625be80000601472f..."} 
[2026-08-23 00:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aead848012d6347000625be80000601472f..."} 
[2026-08-23 00:52:56] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aead848012d6347000625be80000601472f..."} 
[2026-08-23 00:52:56] local.INFO: Packet analysis {"connection_id":160183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aea"} 
[2026-08-23 00:52:56] local.INFO: Extracted packet for processing {"connection_id":160183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aea"} 
[2026-08-23 00:52:56] local.INFO: GPS Element Parsed {"raw_longitude":761480960,"raw_latitude":103136896,"longitude_deg":76.148096,"latitude_deg":10.3136896,"altitude":6,"angle":327,"satellites":47,"speed":38,"hex_longitude":"2d634700","hex_latitude":"0625be80","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581164800001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389366810044006400,"note":"Value kept but may cause issues"} 
[2026-08-23 00:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7156149465549805568,"note":"Value kept but may cause issues"} 
[2026-08-23 00:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787426429000,"timestamp_ms":1787426429000,"timestamp_seconds":1787426429,"priority":1,"record_length":96,"hex_timestamp":"000001a02aead848"} 
[2026-08-23 00:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 00:52: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-08-23 00: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-08-23 00:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:52:56] 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-08-23 00:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581164800001,"66":27267,"77":206,"79":20992,"24":38,"16":389366810044006400,"45":7156149465549805568},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,79,24,16,45]} 
[2026-08-23 00:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581164800001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:52:56] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-23 00:52:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389366810044006400,"km_value":389366810044006.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7156149465549805568,"description":"Unknown IO ID 45"} 
[2026-08-23 00:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581164800001,"power":27267,"unknown_77":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7156149465549805568}} 
[2026-08-23 00:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":160183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:52:56] local.INFO: GPS data processed {"connection_id":160183,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:52:56] local.INFO: Acknowledgment sent {"connection_id":160183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:52:56] local.INFO: TCP Data received {"connection_id":160184,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:52:56] local.INFO: Processing buffer {"connection_id":160184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:52:56] local.INFO: IMEI packet received {"connection_id":160184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":160184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:52:57] local.INFO: TCP Data received {"connection_id":160184,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:52:57] local.INFO: Processing buffer {"connection_id":160184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:52:57] local.INFO: Packet analysis {"connection_id":160184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:52:57] local.INFO: Extracted packet for processing {"connection_id":160184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:52:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581052672001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787426288000,"timestamp_ms":1787426288000,"timestamp_seconds":1787426288,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae8b180"} 
[2026-08-23 00:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581052672001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581052672001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:52:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:52:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581052672001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":160184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:52:57] local.INFO: GPS data processed {"connection_id":160184,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:52:57] local.INFO: Acknowledgment sent {"connection_id":160184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:53:27] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aec9598012d62c9c006271928000901512e..."} 
[2026-08-23 00:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aec9598012d62c9c006271928000901512e..."} 
[2026-08-23 00:53:27] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aec9598012d62c9c006271928000901512e..."} 
[2026-08-23 00:53:27] local.INFO: Packet analysis {"connection_id":160183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aec"} 
[2026-08-23 00:53:27] local.INFO: Extracted packet for processing {"connection_id":160183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aec"} 
[2026-08-23 00:53:27] local.INFO: GPS Element Parsed {"raw_longitude":761448896,"raw_latitude":103225640,"longitude_deg":76.1448896,"latitude_deg":10.322564,"altitude":9,"angle":337,"satellites":46,"speed":39,"hex_longitude":"2d62c9c0","hex_latitude":"06271928","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581193472001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389371414248947712,"note":"Value kept but may cause issues"} 
[2026-08-23 00:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7120120668552912896,"note":"Value kept but may cause issues"} 
[2026-08-23 00:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787426543000,"timestamp_ms":1787426543000,"timestamp_seconds":1787426543,"priority":1,"record_length":96,"hex_timestamp":"000001a02aec9598"} 
[2026-08-23 00:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-23 00:53:27] 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-08-23 00: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-08-23 00:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:53:27] 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-08-23 00:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581193472001,"66":27397,"89":206,"79":20992,"24":39,"16":389371414248947712,"45":7120120668552912896},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-08-23 00:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581193472001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:53:27] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-23 00:53:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389371414248947712,"km_value":389371414248947.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7120120668552912896,"description":"Unknown IO ID 45"} 
[2026-08-23 00:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581193472001,"power":27397,"unknown_89":206,"unknown_79":20992,"ignition":39,"odometer":null,"unknown_45":7120120668552912896}} 
[2026-08-23 00:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":160183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:53:27] local.INFO: GPS data processed {"connection_id":160183,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:53:27] local.INFO: Acknowledgment sent {"connection_id":160183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:53:28] local.INFO: TCP Data received {"connection_id":160184,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:53:28] local.INFO: Processing buffer {"connection_id":160184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ae8b180012d196540071ff1b00044013729..."} 
[2026-08-23 00:53:28] local.INFO: Packet analysis {"connection_id":160184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:53:28] local.INFO: Extracted packet for processing {"connection_id":160184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ae8"} 
[2026-08-23 00:53:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581052672001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787426288000,"timestamp_ms":1787426288000,"timestamp_seconds":1787426288,"priority":1,"record_length":96,"hex_timestamp":"000001a02ae8b180"} 
[2026-08-23 00:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581052672001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581052672001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:53:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:53:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581052672001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":160184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:53:29] local.INFO: GPS data processed {"connection_id":160184,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:53:29] local.INFO: Acknowledgment sent {"connection_id":160184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:53:46] local.INFO: TCP Data received {"connection_id":161346,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:53:46] local.INFO: Processing buffer {"connection_id":161346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:53:46] local.INFO: IMEI packet received {"connection_id":161346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":161346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:53:47] local.INFO: TCP Data received {"connection_id":161346,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:53:47] local.INFO: Processing buffer {"connection_id":161346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:53:47] local.INFO: IMEI packet received {"connection_id":161346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":161346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:53:48] local.INFO: TCP Data received {"connection_id":161346,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:53:48] local.INFO: Processing buffer {"connection_id":161346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:53:48] local.INFO: IMEI packet received {"connection_id":161346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":161346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:53:48] local.INFO: TCP Data received {"connection_id":161346,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:53:48] local.INFO: Processing buffer {"connection_id":161346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:53:48] local.INFO: IMEI packet received {"connection_id":161346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":161346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:53:51] local.INFO: TCP Data received {"connection_id":161347,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:53:51] local.INFO: Processing buffer {"connection_id":161347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:53:51] local.INFO: IMEI packet received {"connection_id":161347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":161347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:53:56] local.INFO: TCP Data received {"connection_id":161347,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:53:56] local.INFO: Processing buffer {"connection_id":161347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:53:56] local.INFO: IMEI packet received {"connection_id":161347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":161347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:53:57] local.INFO: TCP Data received {"connection_id":161347,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:53:57] local.INFO: Processing buffer {"connection_id":161347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:53:57] local.INFO: Packet analysis {"connection_id":161347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aed"} 
[2026-08-23 00:53:57] local.INFO: Extracted packet for processing {"connection_id":161347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aed"} 
[2026-08-23 00:53:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":65,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581129728001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787426589000,"timestamp_ms":1787426589000,"timestamp_seconds":1787426589,"priority":1,"record_length":96,"hex_timestamp":"000001a02aed4948"} 
[2026-08-23 00:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581129728001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581129728001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:53:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:53:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581129728001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":161347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:53:57] local.INFO: GPS data processed {"connection_id":161347,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:53:57] local.INFO: Acknowledgment sent {"connection_id":161347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:54:28] local.INFO: TCP Data received {"connection_id":161347,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:54:28] local.INFO: Processing buffer {"connection_id":161347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:54:28] local.INFO: Packet analysis {"connection_id":161347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aed"} 
[2026-08-23 00:54:28] local.INFO: Extracted packet for processing {"connection_id":161347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aed"} 
[2026-08-23 00:54:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":65,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581129728001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787426589000,"timestamp_ms":1787426589000,"timestamp_seconds":1787426589,"priority":1,"record_length":96,"hex_timestamp":"000001a02aed4948"} 
[2026-08-23 00:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581129728001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581129728001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:54:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:54:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581129728001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":161347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:54:28] local.INFO: GPS data processed {"connection_id":161347,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:54:28] local.INFO: Acknowledgment sent {"connection_id":161347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:54:56] local.INFO: TCP Data received {"connection_id":161348,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:54:56] local.INFO: Processing buffer {"connection_id":161348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:54:56] local.INFO: IMEI packet received {"connection_id":161348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":161348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:55:01] local.INFO: TCP Data received {"connection_id":161348,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:55:01] local.INFO: Processing buffer {"connection_id":161348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:55:01] local.INFO: IMEI packet received {"connection_id":161348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":161348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:55:02] local.INFO: TCP Data received {"connection_id":161348,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:55:02] local.INFO: Processing buffer {"connection_id":161348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:55:02] local.INFO: Packet analysis {"connection_id":161348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aed"} 
[2026-08-23 00:55:02] local.INFO: Extracted packet for processing {"connection_id":161348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aed"} 
[2026-08-23 00:55:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":65,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581129728001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787426589000,"timestamp_ms":1787426589000,"timestamp_seconds":1787426589,"priority":1,"record_length":96,"hex_timestamp":"000001a02aed4948"} 
[2026-08-23 00:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581129728001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581129728001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:55:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:55:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581129728001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":161348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:55:02] local.INFO: GPS data processed {"connection_id":161348,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:55:02] local.INFO: Acknowledgment sent {"connection_id":161348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:55:06] local.INFO: TCP Data received {"connection_id":161348,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:55:06] local.INFO: Processing buffer {"connection_id":161348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:55:06] local.INFO: Packet analysis {"connection_id":161348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aed"} 
[2026-08-23 00:55:06] local.INFO: Extracted packet for processing {"connection_id":161348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aed"} 
[2026-08-23 00:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":65,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581129728001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787426589000,"timestamp_ms":1787426589000,"timestamp_seconds":1787426589,"priority":1,"record_length":96,"hex_timestamp":"000001a02aed4948"} 
[2026-08-23 00:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581129728001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581129728001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:55:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:55:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581129728001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":161348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:55:07] local.INFO: GPS data processed {"connection_id":161348,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:55:07] local.INFO: Acknowledgment sent {"connection_id":161348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:55:51] local.INFO: TCP Data received {"connection_id":160393,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:55:51] local.INFO: Processing buffer {"connection_id":160393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:55:51] local.INFO: IMEI packet received {"connection_id":160393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":160393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:55:56] local.INFO: TCP Data received {"connection_id":160393,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:55:56] local.INFO: Processing buffer {"connection_id":160393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:55:56] local.INFO: IMEI packet received {"connection_id":160393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":160393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:55:57] local.INFO: TCP Data received {"connection_id":160393,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:55:57] local.INFO: Processing buffer {"connection_id":160393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:55:57] local.INFO: Packet analysis {"connection_id":160393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aed"} 
[2026-08-23 00:55:57] local.INFO: Extracted packet for processing {"connection_id":160393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aed"} 
[2026-08-23 00:55:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":65,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581129728001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787426589000,"timestamp_ms":1787426589000,"timestamp_seconds":1787426589,"priority":1,"record_length":96,"hex_timestamp":"000001a02aed4948"} 
[2026-08-23 00:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:55:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581129728001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581129728001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:55:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:55:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581129728001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":160393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:55:57] local.INFO: GPS data processed {"connection_id":160393,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:55:57] local.INFO: Acknowledgment sent {"connection_id":160393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:56:29] local.INFO: TCP Data received {"connection_id":160393,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:56:29] local.INFO: Processing buffer {"connection_id":160393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:56:29] local.INFO: Packet analysis {"connection_id":160393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aed"} 
[2026-08-23 00:56:29] local.INFO: Extracted packet for processing {"connection_id":160393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aed"} 
[2026-08-23 00:56:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":65,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581129728001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787426589000,"timestamp_ms":1787426589000,"timestamp_seconds":1787426589,"priority":1,"record_length":96,"hex_timestamp":"000001a02aed4948"} 
[2026-08-23 00:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581129728001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581129728001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:56:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:56:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581129728001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":160393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:56:29] local.INFO: GPS data processed {"connection_id":160393,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:56:29] local.INFO: Acknowledgment sent {"connection_id":160393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:56:51] local.INFO: TCP Data received {"connection_id":162753,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:56:51] local.INFO: Processing buffer {"connection_id":162753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:56:51] local.INFO: IMEI packet received {"connection_id":162753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":162753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:56:56] local.INFO: TCP Data received {"connection_id":162753,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:56:56] local.INFO: Processing buffer {"connection_id":162753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:56:56] local.INFO: IMEI packet received {"connection_id":162753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":162753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:56:57] local.INFO: TCP Data received {"connection_id":162753,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:56:57] local.INFO: Processing buffer {"connection_id":162753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:56:57] local.INFO: Packet analysis {"connection_id":162753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aed"} 
[2026-08-23 00:56:57] local.INFO: Extracted packet for processing {"connection_id":162753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aed"} 
[2026-08-23 00:56:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":65,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581129728001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787426589000,"timestamp_ms":1787426589000,"timestamp_seconds":1787426589,"priority":1,"record_length":96,"hex_timestamp":"000001a02aed4948"} 
[2026-08-23 00:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:56:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581129728001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581129728001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:56:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:56:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581129728001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":162753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:56:57] local.INFO: GPS data processed {"connection_id":162753,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:56:57] local.INFO: Acknowledgment sent {"connection_id":162753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:57:28] local.INFO: TCP Data received {"connection_id":162753,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:57:28] local.INFO: Processing buffer {"connection_id":162753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:57:28] local.INFO: Packet analysis {"connection_id":162753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aed"} 
[2026-08-23 00:57:28] local.INFO: Extracted packet for processing {"connection_id":162753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aed"} 
[2026-08-23 00:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":65,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581129728001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787426589000,"timestamp_ms":1787426589000,"timestamp_seconds":1787426589,"priority":1,"record_length":96,"hex_timestamp":"000001a02aed4948"} 
[2026-08-23 00:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581129728001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581129728001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:57:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:57:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581129728001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":162753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:57:28] local.INFO: GPS data processed {"connection_id":162753,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:57:28] local.INFO: Acknowledgment sent {"connection_id":162753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:57:52] local.INFO: TCP Data received {"connection_id":160395,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:57:52] local.INFO: Processing buffer {"connection_id":160395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:57:52] local.INFO: IMEI packet received {"connection_id":160395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":160395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:57:56] local.INFO: TCP Data received {"connection_id":160395,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:57:56] local.INFO: Processing buffer {"connection_id":160395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:57:56] local.INFO: IMEI packet received {"connection_id":160395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":160395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:57:57] local.INFO: TCP Data received {"connection_id":160395,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:57:57] local.INFO: Processing buffer {"connection_id":160395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:57:57] local.INFO: Packet analysis {"connection_id":160395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aed"} 
[2026-08-23 00:57:57] local.INFO: Extracted packet for processing {"connection_id":160395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aed"} 
[2026-08-23 00:57:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":65,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581129728001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787426589000,"timestamp_ms":1787426589000,"timestamp_seconds":1787426589,"priority":1,"record_length":96,"hex_timestamp":"000001a02aed4948"} 
[2026-08-23 00:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581129728001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581129728001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:57:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:57:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581129728001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":160395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:57:57] local.INFO: GPS data processed {"connection_id":160395,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:57:57] local.INFO: Acknowledgment sent {"connection_id":160395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:58:28] local.INFO: TCP Data received {"connection_id":160395,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:58:28] local.INFO: Processing buffer {"connection_id":160395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aed4948012d196540071ff1b00041013724..."} 
[2026-08-23 00:58:28] local.INFO: Packet analysis {"connection_id":160395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aed"} 
[2026-08-23 00:58:28] local.INFO: Extracted packet for processing {"connection_id":160395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aed"} 
[2026-08-23 00:58:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":65,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581129728001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787426589000,"timestamp_ms":1787426589000,"timestamp_seconds":1787426589,"priority":1,"record_length":96,"hex_timestamp":"000001a02aed4948"} 
[2026-08-23 00:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 00:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00: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-08-23 00:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581129728001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581129728001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:58:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:58:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581129728001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":160395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:58:28] local.INFO: GPS data processed {"connection_id":160395,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:58:28] local.INFO: Acknowledgment sent {"connection_id":160395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:58:51] local.INFO: TCP Data received {"connection_id":160187,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:58:51] local.INFO: Processing buffer {"connection_id":160187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:58:51] local.INFO: IMEI packet received {"connection_id":160187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":160187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:58:52] local.INFO: TCP Data received {"connection_id":161350,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:58:52] local.INFO: Processing buffer {"connection_id":161350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:58:52] local.INFO: IMEI packet received {"connection_id":161350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":161350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:58:53] local.INFO: TCP Data received {"connection_id":161350,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af0c3e8012d60ec80062b12e00009014530..."} 
[2026-08-23 00:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af0c3e8012d60ec80062b12e00009014530..."} 
[2026-08-23 00:58:53] local.INFO: Processing buffer {"connection_id":161350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af0c3e8012d60ec80062b12e00009014530..."} 
[2026-08-23 00:58:53] local.INFO: Packet analysis {"connection_id":161350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af0"} 
[2026-08-23 00:58:53] local.INFO: Extracted packet for processing {"connection_id":161350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af0"} 
[2026-08-23 00:58:53] local.INFO: GPS Element Parsed {"raw_longitude":761326720,"raw_latitude":103486176,"longitude_deg":76.132672,"latitude_deg":10.3486176,"altitude":9,"angle":325,"satellites":48,"speed":51,"hex_longitude":"2d60ec80","hex_latitude":"062b12e0","is_valid_coordinates":true} 
[2026-08-23 00: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-08-23 00:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581263360001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389385441612136448,"note":"Value kept but may cause issues"} 
[2026-08-23 00:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6990008860634503168,"note":"Value kept but may cause issues"} 
[2026-08-23 00:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787426817000,"timestamp_ms":1787426817000,"timestamp_seconds":1787426817,"priority":1,"record_length":96,"hex_timestamp":"000001a02af0c3e8"} 
[2026-08-23 00:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:58: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-08-23 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 00:58: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-08-23 00: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-08-23 00:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:58:53] 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-08-23 00:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581263360001,"66":27245,"97":206,"79":20992,"24":51,"16":389385441612136448,"45":6990008860634503168},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,79,24,16,45]} 
[2026-08-23 00:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581263360001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:58:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 00:58:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389385441612136448,"km_value":389385441612136.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6990008860634503168,"description":"Unknown IO ID 45"} 
[2026-08-23 00:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581263360001,"power":27245,"unknown_97":206,"unknown_79":20992,"ignition":51,"odometer":null,"unknown_45":6990008860634503168}} 
[2026-08-23 00:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":161350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:58:53] local.INFO: GPS data processed {"connection_id":161350,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:58:53] local.INFO: Acknowledgment sent {"connection_id":161350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:58:56] local.INFO: TCP Data received {"connection_id":160187,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:58:56] local.INFO: Processing buffer {"connection_id":160187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:58:56] local.INFO: IMEI packet received {"connection_id":160187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":160187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:58:57] local.INFO: TCP Data received {"connection_id":160187,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 00:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 00:58:57] local.INFO: Processing buffer {"connection_id":160187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 00:58:57] local.INFO: Packet analysis {"connection_id":160187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af1"} 
[2026-08-23 00:58:57] local.INFO: Extracted packet for processing {"connection_id":160187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af1"} 
[2026-08-23 00:58:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":72,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581206784001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787426890000,"timestamp_ms":1787426890000,"timestamp_seconds":1787426890,"priority":1,"record_length":96,"hex_timestamp":"000001a02af1e110"} 
[2026-08-23 00:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:58:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581206784001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581206784001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:58:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:58:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581206784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":160187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:58:57] local.INFO: GPS data processed {"connection_id":160187,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:58:57] local.INFO: Acknowledgment sent {"connection_id":160187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:59:24] local.INFO: TCP Data received {"connection_id":161350,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af22b48012d605600062cb5200007014f32..."} 
[2026-08-23 00:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af22b48012d605600062cb5200007014f32..."} 
[2026-08-23 00:59:24] local.INFO: Processing buffer {"connection_id":161350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af22b48012d605600062cb5200007014f32..."} 
[2026-08-23 00:59:24] local.INFO: Packet analysis {"connection_id":161350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af2"} 
[2026-08-23 00:59:24] local.INFO: Extracted packet for processing {"connection_id":161350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af2"} 
[2026-08-23 00:59:24] local.INFO: GPS Element Parsed {"raw_longitude":761288192,"raw_latitude":103593248,"longitude_deg":76.1288192,"latitude_deg":10.3593248,"altitude":7,"angle":335,"satellites":50,"speed":46,"hex_longitude":"2d605600","hex_latitude":"062cb520","is_valid_coordinates":true} 
[2026-08-23 00:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581286656001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389390982119948288,"note":"Value kept but may cause issues"} 
[2026-08-23 00:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6946098764294840320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:59:24] 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-08-23 00:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787426909000,"timestamp_ms":1787426909000,"timestamp_seconds":1787426909,"priority":1,"record_length":96,"hex_timestamp":"000001a02af22b48"} 
[2026-08-23 00:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 00:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 00:59:24] 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-08-23 00:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:59:24] 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-08-23 00:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581286656001,"66":27321,"211":206,"79":20992,"24":46,"16":389390982119948288,"45":6946098764294840320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-08-23 00:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581286656001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:59:24] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-23 00:59:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389390982119948288,"km_value":389390982119948.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6946098764294840320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581286656001,"power":27321,"unknown_211":206,"unknown_79":20992,"ignition":46,"odometer":null,"unknown_45":6946098764294840320}} 
[2026-08-23 00:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":161350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:59:24] local.INFO: GPS data processed {"connection_id":161350,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:59:24] local.INFO: Acknowledgment sent {"connection_id":161350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:59:28] local.INFO: TCP Data received {"connection_id":160187,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 00:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 00:59:28] local.INFO: Processing buffer {"connection_id":160187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 00:59:28] local.INFO: Packet analysis {"connection_id":160187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af1"} 
[2026-08-23 00:59:28] local.INFO: Extracted packet for processing {"connection_id":160187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af1"} 
[2026-08-23 00:59:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":72,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581206784001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787426890000,"timestamp_ms":1787426890000,"timestamp_seconds":1787426890,"priority":1,"record_length":96,"hex_timestamp":"000001a02af1e110"} 
[2026-08-23 00:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581206784001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581206784001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:59:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:59:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581206784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":160187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:59:28] local.INFO: GPS data processed {"connection_id":160187,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:59:28] local.INFO: Acknowledgment sent {"connection_id":160187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:59:47] local.INFO: TCP Data received {"connection_id":162754,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:59:47] local.INFO: Processing buffer {"connection_id":162754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:59:47] local.INFO: IMEI packet received {"connection_id":162754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 00:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":162754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:59:48] local.INFO: TCP Data received {"connection_id":162754,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:59:48] local.INFO: Processing buffer {"connection_id":162754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:59:48] local.INFO: IMEI packet received {"connection_id":162754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":162754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:59:51] local.INFO: TCP Data received {"connection_id":162755,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:59:51] local.INFO: Processing buffer {"connection_id":162755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:59:51] local.INFO: IMEI packet received {"connection_id":162755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 00:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":162755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 00:59:52] local.INFO: TCP Data received {"connection_id":162754,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:59:52] local.INFO: Processing buffer {"connection_id":162754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 00:59:52] local.INFO: IMEI packet received {"connection_id":162754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 00:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":162754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:59:53] local.INFO: TCP Data received {"connection_id":162754,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af24a88012d6047c0062cd5280007015032..."} 
[2026-08-23 00:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af24a88012d6047c0062cd5280007015032..."} 
[2026-08-23 00:59:53] local.INFO: Processing buffer {"connection_id":162754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af24a88012d6047c0062cd5280007015032..."} 
[2026-08-23 00:59:53] local.INFO: Packet analysis {"connection_id":162754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af2"} 
[2026-08-23 00:59:53] local.INFO: Extracted packet for processing {"connection_id":162754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af2"} 
[2026-08-23 00:59:53] local.INFO: GPS Element Parsed {"raw_longitude":761284544,"raw_latitude":103601448,"longitude_deg":76.1284544,"latitude_deg":10.3601448,"altitude":7,"angle":336,"satellites":50,"speed":43,"hex_longitude":"2d6047c0","hex_latitude":"062cd528","is_valid_coordinates":true} 
[2026-08-23 00:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581288704001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389391415911645184,"note":"Value kept but may cause issues"} 
[2026-08-23 00:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6941735902158069760,"note":"Value kept but may cause issues"} 
[2026-08-23 00:59:53] 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-08-23 00:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787426917000,"timestamp_ms":1787426917000,"timestamp_seconds":1787426917,"priority":1,"record_length":96,"hex_timestamp":"000001a02af24a88"} 
[2026-08-23 00:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:59: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-08-23 00:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 00:59:53] 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-08-23 00:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 00:59:53] 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-08-23 00:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 00:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 00:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581288704001,"66":27321,"211":206,"79":20992,"24":43,"16":389391415911645184,"45":6941735902158069760},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-08-23 00:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 00:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 00:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581288704001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:59:53] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-23 00:59:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 00:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389391415911645184,"km_value":389391415911645.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6941735902158069760,"description":"Unknown IO ID 45"} 
[2026-08-23 00:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581288704001,"power":27321,"unknown_211":206,"unknown_79":20992,"ignition":43,"odometer":null,"unknown_45":6941735902158069760}} 
[2026-08-23 00:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":162754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:59:53] local.INFO: GPS data processed {"connection_id":162754,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:59:53] local.INFO: Acknowledgment sent {"connection_id":162754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 00:59:56] local.INFO: TCP Data received {"connection_id":162755,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:59:56] local.INFO: Processing buffer {"connection_id":162755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 00:59:56] local.INFO: IMEI packet received {"connection_id":162755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 00:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":162755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 00:59:57] local.INFO: TCP Data received {"connection_id":162755,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 00:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 00:59:57] local.INFO: Processing buffer {"connection_id":162755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 00:59:57] local.INFO: Packet analysis {"connection_id":162755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af1"} 
[2026-08-23 00:59:57] local.INFO: Extracted packet for processing {"connection_id":162755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af1"} 
[2026-08-23 00:59:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":72,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 00:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 00:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581206784001,"note":"Value kept but may cause issues"} 
[2026-08-23 00:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 00:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 00:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 00:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787426890000,"timestamp_ms":1787426890000,"timestamp_seconds":1787426890,"priority":1,"record_length":96,"hex_timestamp":"000001a02af1e110"} 
[2026-08-23 00:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 00:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 00:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 00:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 00:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 00:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 00:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 00:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 00:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 00:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 00:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 00:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 00:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581206784001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 00:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 00:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 00:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581206784001,"description":"Unknown IO ID 0"} 
[2026-08-23 00:59:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 00:59:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 00:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 00:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 00:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581206784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 00:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":162755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 00:59:57] local.INFO: GPS data processed {"connection_id":162755,"processed":1,"errors":0,"total":1} 
[2026-08-23 00:59:57] local.INFO: Acknowledgment sent {"connection_id":162755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:00:24] local.INFO: TCP Data received {"connection_id":162754,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af269c8012d603a00062cf5400008015030..."} 
[2026-08-23 01:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af269c8012d603a00062cf5400008015030..."} 
[2026-08-23 01:00:24] local.INFO: Processing buffer {"connection_id":162754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af269c8012d603a00062cf5400008015030..."} 
[2026-08-23 01:00:24] local.INFO: Packet analysis {"connection_id":162754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af2"} 
[2026-08-23 01:00:24] local.INFO: Extracted packet for processing {"connection_id":162754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af2"} 
[2026-08-23 01:00:24] local.INFO: GPS Element Parsed {"raw_longitude":761281024,"raw_latitude":103609664,"longitude_deg":76.1281024,"latitude_deg":10.3609664,"altitude":8,"angle":336,"satellites":48,"speed":45,"hex_longitude":"2d603a00","hex_latitude":"062cf540","is_valid_coordinates":true} 
[2026-08-23 01:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581290752001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389391849703342080,"note":"Value kept but may cause issues"} 
[2026-08-23 01:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6937724883742042112,"note":"Value kept but may cause issues"} 
[2026-08-23 01:00:24] 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-08-23 01:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787426925000,"timestamp_ms":1787426925000,"timestamp_seconds":1787426925,"priority":1,"record_length":96,"hex_timestamp":"000001a02af269c8"} 
[2026-08-23 01:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:00: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-08-23 01:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 01:00:24] 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-08-23 01:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:00:24] 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-08-23 01:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581290752001,"66":27310,"211":206,"79":20992,"24":45,"16":389391849703342080,"45":6937724883742042112},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-08-23 01:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581290752001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:00:24] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-23 01:00:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 01:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389391849703342080,"km_value":389391849703342.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6937724883742042112,"description":"Unknown IO ID 45"} 
[2026-08-23 01:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581290752001,"power":27310,"unknown_211":206,"unknown_79":20992,"ignition":45,"odometer":null,"unknown_45":6937724883742042112}} 
[2026-08-23 01:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":162754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:00:24] local.INFO: GPS data processed {"connection_id":162754,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:00:24] local.INFO: Acknowledgment sent {"connection_id":162754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:00:28] local.INFO: TCP Data received {"connection_id":162755,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 01:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 01:00:28] local.INFO: Processing buffer {"connection_id":162755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 01:00:28] local.INFO: Packet analysis {"connection_id":162755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af1"} 
[2026-08-23 01:00:28] local.INFO: Extracted packet for processing {"connection_id":162755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af1"} 
[2026-08-23 01:00:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":72,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581206784001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787426890000,"timestamp_ms":1787426890000,"timestamp_seconds":1787426890,"priority":1,"record_length":96,"hex_timestamp":"000001a02af1e110"} 
[2026-08-23 01:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581206784001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581206784001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:00:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:00:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581206784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":162755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:00:28] local.INFO: GPS data processed {"connection_id":162755,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:00:28] local.INFO: Acknowledgment sent {"connection_id":162755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:00:46] local.INFO: TCP Data received {"connection_id":161351,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:00:46] local.INFO: Processing buffer {"connection_id":161351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:00:46] local.INFO: IMEI packet received {"connection_id":161351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":161351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:00:47] local.INFO: TCP Data received {"connection_id":161351,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:00:47] local.INFO: Processing buffer {"connection_id":161351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:00:47] local.INFO: IMEI packet received {"connection_id":161351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":161351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:00:51] local.INFO: TCP Data received {"connection_id":160396,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:00:51] local.INFO: Processing buffer {"connection_id":160396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:00:51] local.INFO: IMEI packet received {"connection_id":160396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":160396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:00:53] local.INFO: TCP Data received {"connection_id":161351,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:00:53] local.INFO: Processing buffer {"connection_id":161351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:00:53] local.INFO: IMEI packet received {"connection_id":161351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":161351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:00:54] local.INFO: TCP Data received {"connection_id":161351,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af28908012d602b00062d17180008014e2f..."} 
[2026-08-23 01:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af28908012d602b00062d17180008014e2f..."} 
[2026-08-23 01:00:54] local.INFO: Processing buffer {"connection_id":161351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af28908012d602b00062d17180008014e2f..."} 
[2026-08-23 01:00:54] local.INFO: Packet analysis {"connection_id":161351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af2"} 
[2026-08-23 01:00:54] local.INFO: Extracted packet for processing {"connection_id":161351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af2"} 
[2026-08-23 01:00:54] local.INFO: GPS Element Parsed {"raw_longitude":761277184,"raw_latitude":103618328,"longitude_deg":76.1277184,"latitude_deg":10.3618328,"altitude":8,"angle":334,"satellites":47,"speed":48,"hex_longitude":"2d602b00","hex_latitude":"062d1718","is_valid_coordinates":true} 
[2026-08-23 01:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581292800001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389392309264842752,"note":"Value kept but may cause issues"} 
[2026-08-23 01:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6933854602814373888,"note":"Value kept but may cause issues"} 
[2026-08-23 01:00:54] 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-08-23 01:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787426933000,"timestamp_ms":1787426933000,"timestamp_seconds":1787426933,"priority":1,"record_length":96,"hex_timestamp":"000001a02af28908"} 
[2026-08-23 01:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-23 01:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:00:54] 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-08-23 01:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581292800001,"66":27365,"211":206,"79":20992,"24":48,"16":389392309264842752,"45":6933854602814373888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-08-23 01:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581292800001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:00:54] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-23 01:00:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 01:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389392309264842752,"km_value":389392309264842.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6933854602814373888,"description":"Unknown IO ID 45"} 
[2026-08-23 01:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581292800001,"power":27365,"unknown_211":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":6933854602814373888}} 
[2026-08-23 01:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":161351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:00:54] local.INFO: GPS data processed {"connection_id":161351,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:00:54] local.INFO: Acknowledgment sent {"connection_id":161351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:00:56] local.INFO: TCP Data received {"connection_id":160396,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:00:56] local.INFO: Processing buffer {"connection_id":160396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:00:56] local.INFO: IMEI packet received {"connection_id":160396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":160396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:00:57] local.INFO: TCP Data received {"connection_id":160396,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 01:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 01:00:57] local.INFO: Processing buffer {"connection_id":160396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 01:00:57] local.INFO: Packet analysis {"connection_id":160396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af1"} 
[2026-08-23 01:00:57] local.INFO: Extracted packet for processing {"connection_id":160396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af1"} 
[2026-08-23 01:00:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":72,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581206784001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787426890000,"timestamp_ms":1787426890000,"timestamp_seconds":1787426890,"priority":1,"record_length":96,"hex_timestamp":"000001a02af1e110"} 
[2026-08-23 01:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581206784001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581206784001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:00:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:00:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581206784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":160396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:00:57] local.INFO: GPS data processed {"connection_id":160396,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:00:57] local.INFO: Acknowledgment sent {"connection_id":160396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:01:26] local.INFO: TCP Data received {"connection_id":161351,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af3e898012d5fa680062e9fe0000901602f..."} 
[2026-08-23 01:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af3e898012d5fa680062e9fe0000901602f..."} 
[2026-08-23 01:01:26] local.INFO: Processing buffer {"connection_id":161351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af3e898012d5fa680062e9fe0000901602f..."} 
[2026-08-23 01:01:26] local.INFO: Packet analysis {"connection_id":161351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af3"} 
[2026-08-23 01:01:26] local.INFO: Extracted packet for processing {"connection_id":161351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af3"} 
[2026-08-23 01:01:26] local.INFO: GPS Element Parsed {"raw_longitude":761243264,"raw_latitude":103718880,"longitude_deg":76.1243264,"latitude_deg":10.371888,"altitude":9,"angle":352,"satellites":47,"speed":59,"hex_longitude":"2d5fa680","hex_latitude":"062e9fe0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581316096001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389397484700434432,"note":"Value kept but may cause issues"} 
[2026-08-23 01:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6893603681170124800,"note":"Value kept but may cause issues"} 
[2026-08-23 01:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787427023000,"timestamp_ms":1787427023000,"timestamp_seconds":1787427023,"priority":1,"record_length":96,"hex_timestamp":"000001a02af3e898"} 
[2026-08-23 01:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:01: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-08-23 01:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 01:01:26] 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-08-23 01: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-08-23 01:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:01:26] 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-08-23 01:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581316096001,"66":27300,"210":206,"79":20992,"24":59,"16":389397484700434432,"45":6893603681170124800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,79,24,16,45]} 
[2026-08-23 01:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581316096001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:01:26] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-08-23 01:01:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 01:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389397484700434432,"km_value":389397484700434.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6893603681170124800,"description":"Unknown IO ID 45"} 
[2026-08-23 01:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581316096001,"power":27300,"unknown_210":206,"unknown_79":20992,"ignition":59,"odometer":null,"unknown_45":6893603681170124800}} 
[2026-08-23 01:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":161351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:01:26] local.INFO: GPS data processed {"connection_id":161351,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:01:26] local.INFO: Acknowledgment sent {"connection_id":161351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:01:28] local.INFO: TCP Data received {"connection_id":160396,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 01:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 01:01:28] local.INFO: Processing buffer {"connection_id":160396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 01:01:28] local.INFO: Packet analysis {"connection_id":160396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af1"} 
[2026-08-23 01:01:28] local.INFO: Extracted packet for processing {"connection_id":160396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af1"} 
[2026-08-23 01:01:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":72,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581206784001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787426890000,"timestamp_ms":1787426890000,"timestamp_seconds":1787426890,"priority":1,"record_length":96,"hex_timestamp":"000001a02af1e110"} 
[2026-08-23 01:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581206784001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581206784001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:01:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:01:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581206784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":160396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:01:28] local.INFO: GPS data processed {"connection_id":160396,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:01:28] local.INFO: Acknowledgment sent {"connection_id":160396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:01:47] local.INFO: TCP Data received {"connection_id":162756,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:01:47] local.INFO: Processing buffer {"connection_id":162756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:01:47] local.INFO: IMEI packet received {"connection_id":162756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":162756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:01:51] local.INFO: TCP Data received {"connection_id":160397,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:01:51] local.INFO: Processing buffer {"connection_id":160397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:01:51] local.INFO: IMEI packet received {"connection_id":160397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":160397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:01:53] local.INFO: TCP Data received {"connection_id":162756,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:01:53] local.INFO: Processing buffer {"connection_id":162756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:01:53] local.INFO: IMEI packet received {"connection_id":162756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":162756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:01:53] local.INFO: TCP Data received {"connection_id":162756,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af40008012d5fa0c0062ec2880008015a2f..."} 
[2026-08-23 01:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af40008012d5fa0c0062ec2880008015a2f..."} 
[2026-08-23 01:01:53] local.INFO: Processing buffer {"connection_id":162756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af40008012d5fa0c0062ec2880008015a2f..."} 
[2026-08-23 01:01:53] local.INFO: Packet analysis {"connection_id":162756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af4"} 
[2026-08-23 01:01:53] local.INFO: Extracted packet for processing {"connection_id":162756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af4"} 
[2026-08-23 01:01:53] local.INFO: GPS Element Parsed {"raw_longitude":761241792,"raw_latitude":103727752,"longitude_deg":76.1241792,"latitude_deg":10.3727752,"altitude":8,"angle":346,"satellites":47,"speed":58,"hex_longitude":"2d5fa0c0","hex_latitude":"062ec288","is_valid_coordinates":true} 
[2026-08-23 01:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581317888001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389397922787098624,"note":"Value kept but may cause issues"} 
[2026-08-23 01:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6892337043777511424,"note":"Value kept but may cause issues"} 
[2026-08-23 01:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787427029000,"timestamp_ms":1787427029000,"timestamp_seconds":1787427029,"priority":1,"record_length":96,"hex_timestamp":"000001a02af40008"} 
[2026-08-23 01:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:01: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-08-23 01:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 01:01:53] 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-08-23 01:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:01:53] 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-08-23 01:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581317888001,"66":27267,"210":206,"79":20992,"24":58,"16":389397922787098624,"45":6892337043777511424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,79,24,16,45]} 
[2026-08-23 01:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581317888001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:01:53] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-08-23 01:01:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 01:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389397922787098624,"km_value":389397922787098.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6892337043777511424,"description":"Unknown IO ID 45"} 
[2026-08-23 01:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581317888001,"power":27267,"unknown_210":206,"unknown_79":20992,"ignition":58,"odometer":null,"unknown_45":6892337043777511424}} 
[2026-08-23 01:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":162756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:01:53] local.INFO: GPS data processed {"connection_id":162756,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:01:53] local.INFO: Acknowledgment sent {"connection_id":162756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:01:56] local.INFO: TCP Data received {"connection_id":160397,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:01:56] local.INFO: Processing buffer {"connection_id":160397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:01:56] local.INFO: IMEI packet received {"connection_id":160397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":160397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:01:57] local.INFO: TCP Data received {"connection_id":160397,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 01:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 01:01:57] local.INFO: Processing buffer {"connection_id":160397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 01:01:57] local.INFO: Packet analysis {"connection_id":160397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af1"} 
[2026-08-23 01:01:57] local.INFO: Extracted packet for processing {"connection_id":160397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af1"} 
[2026-08-23 01:01:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":72,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581206784001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787426890000,"timestamp_ms":1787426890000,"timestamp_seconds":1787426890,"priority":1,"record_length":96,"hex_timestamp":"000001a02af1e110"} 
[2026-08-23 01:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581206784001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581206784001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:01:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:01:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581206784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":160397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:01:57] local.INFO: GPS data processed {"connection_id":160397,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:01:57] local.INFO: Acknowledgment sent {"connection_id":160397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:02:25] local.INFO: TCP Data received {"connection_id":162756,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af41f48012d5f9680062ee6700008015830..."} 
[2026-08-23 01:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af41f48012d5f9680062ee6700008015830..."} 
[2026-08-23 01:02:25] local.INFO: Processing buffer {"connection_id":162756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af41f48012d5f9680062ee6700008015830..."} 
[2026-08-23 01:02:25] local.INFO: Packet analysis {"connection_id":162756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af4"} 
[2026-08-23 01:02:25] local.INFO: Extracted packet for processing {"connection_id":162756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af4"} 
[2026-08-23 01:02:25] local.INFO: GPS Element Parsed {"raw_longitude":761239168,"raw_latitude":103736944,"longitude_deg":76.1239168,"latitude_deg":10.3736944,"altitude":8,"angle":344,"satellites":48,"speed":38,"hex_longitude":"2d5f9680","hex_latitude":"062ee670","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581319424001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389398386643566592,"note":"Value kept but may cause issues"} 
[2026-08-23 01:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6890718562663696384,"note":"Value kept but may cause issues"} 
[2026-08-23 01:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787427037000,"timestamp_ms":1787427037000,"timestamp_seconds":1787427037,"priority":1,"record_length":96,"hex_timestamp":"000001a02af41f48"} 
[2026-08-23 01:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:02: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-08-23 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 01:02:25] 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-08-23 01: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-08-23 01:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:02:25] 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-08-23 01:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581319424001,"66":27397,"210":206,"79":20992,"24":38,"16":389398386643566592,"45":6890718562663696384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,79,24,16,45]} 
[2026-08-23 01:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581319424001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:02:25] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-08-23 01:02:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 01:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389398386643566592,"km_value":389398386643566.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6890718562663696384,"description":"Unknown IO ID 45"} 
[2026-08-23 01:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581319424001,"power":27397,"unknown_210":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":6890718562663696384}} 
[2026-08-23 01:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":162756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:02:26] local.INFO: GPS data processed {"connection_id":162756,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:02:26] local.INFO: Acknowledgment sent {"connection_id":162756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:02:28] local.INFO: TCP Data received {"connection_id":160397,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 01:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 01:02:28] local.INFO: Processing buffer {"connection_id":160397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 01:02:28] local.INFO: Packet analysis {"connection_id":160397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af1"} 
[2026-08-23 01:02:28] local.INFO: Extracted packet for processing {"connection_id":160397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af1"} 
[2026-08-23 01:02:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":72,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581206784001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787426890000,"timestamp_ms":1787426890000,"timestamp_seconds":1787426890,"priority":1,"record_length":96,"hex_timestamp":"000001a02af1e110"} 
[2026-08-23 01:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:02:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581206784001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581206784001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:02:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:02:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581206784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":160397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:02:28] local.INFO: GPS data processed {"connection_id":160397,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:02:28] local.INFO: Acknowledgment sent {"connection_id":160397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:02:51] local.INFO: TCP Data received {"connection_id":160188,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:02:51] local.INFO: Processing buffer {"connection_id":160188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:02:51] local.INFO: IMEI packet received {"connection_id":160188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":160188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:02:54] local.INFO: TCP Data received {"connection_id":160189,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:02:54] local.INFO: Processing buffer {"connection_id":160189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:02:54] local.INFO: IMEI packet received {"connection_id":160189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":160189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:02:56] local.INFO: TCP Data received {"connection_id":160188,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:02:56] local.INFO: Processing buffer {"connection_id":160188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:02:56] local.INFO: IMEI packet received {"connection_id":160188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":160188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:02:57] local.INFO: TCP Data received {"connection_id":160188,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 01:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 01:02:57] local.INFO: Processing buffer {"connection_id":160188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 01:02:57] local.INFO: Packet analysis {"connection_id":160188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af1"} 
[2026-08-23 01:02:57] local.INFO: Extracted packet for processing {"connection_id":160188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af1"} 
[2026-08-23 01:02:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":72,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581206784001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787426890000,"timestamp_ms":1787426890000,"timestamp_seconds":1787426890,"priority":1,"record_length":96,"hex_timestamp":"000001a02af1e110"} 
[2026-08-23 01:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:02:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581206784001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581206784001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:02:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:02:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581206784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":160188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:02:57] local.INFO: GPS data processed {"connection_id":160188,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:02:57] local.INFO: Acknowledgment sent {"connection_id":160188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:03:01] local.INFO: TCP Data received {"connection_id":160189,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:03:01] local.INFO: Processing buffer {"connection_id":160189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:03:01] local.INFO: IMEI packet received {"connection_id":160189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":160189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:03:02] local.INFO: TCP Data received {"connection_id":160189,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:03:02] local.INFO: Processing buffer {"connection_id":160189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:03:02] local.INFO: IMEI packet received {"connection_id":160189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":160189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:03:02] local.INFO: TCP Data received {"connection_id":160189,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af45dc8012d5f8e40062f08080008015530..."} 
[2026-08-23 01:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af45dc8012d5f8e40062f08080008015530..."} 
[2026-08-23 01:03:02] local.INFO: Processing buffer {"connection_id":160189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af45dc8012d5f8e40062f08080008015530..."} 
[2026-08-23 01:03:02] local.INFO: Packet analysis {"connection_id":160189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af4"} 
[2026-08-23 01:03:02] local.INFO: Extracted packet for processing {"connection_id":160189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af4"} 
[2026-08-23 01:03:02] local.INFO: GPS Element Parsed {"raw_longitude":761237056,"raw_latitude":103745544,"longitude_deg":76.1237056,"latitude_deg":10.3745544,"altitude":8,"angle":341,"satellites":48,"speed":4,"hex_longitude":"2d5f8e40","hex_latitude":"062f0808","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581321472001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389398816140296192,"note":"Value kept but may cause issues"} 
[2026-08-23 01:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6887833444154765312,"note":"Value kept but may cause issues"} 
[2026-08-23 01:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787427053000,"timestamp_ms":1787427053000,"timestamp_seconds":1787427053,"priority":1,"record_length":96,"hex_timestamp":"000001a02af45dc8"} 
[2026-08-23 01:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:03: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-08-23 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 01:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:03:02] 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-08-23 01:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581321472001,"66":27376,"209":206,"79":20992,"24":4,"16":389398816140296192,"45":6887833444154765312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-08-23 01:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581321472001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:03:02] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-23 01:03:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 01:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389398816140296192,"km_value":389398816140296.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6887833444154765312,"description":"Unknown IO ID 45"} 
[2026-08-23 01:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581321472001,"power":27376,"unknown_209":206,"unknown_79":20992,"ignition":4,"odometer":null,"unknown_45":6887833444154765312}} 
[2026-08-23 01:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":160189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:03:02] local.INFO: GPS data processed {"connection_id":160189,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:03:02] local.INFO: Acknowledgment sent {"connection_id":160189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:03:04] local.INFO: TCP Data received {"connection_id":160189,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af488c0012d5f8900062f14a00009014830..."} 
[2026-08-23 01:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af488c0012d5f8900062f14a00009014830..."} 
[2026-08-23 01:03:04] local.INFO: Processing buffer {"connection_id":160189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af488c0012d5f8900062f14a00009014830..."} 
[2026-08-23 01:03:04] local.INFO: Packet analysis {"connection_id":160189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af4"} 
[2026-08-23 01:03:04] local.INFO: Extracted packet for processing {"connection_id":160189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af4"} 
[2026-08-23 01:03:04] local.INFO: GPS Element Parsed {"raw_longitude":761235712,"raw_latitude":103748768,"longitude_deg":76.1235712,"latitude_deg":10.3748768,"altitude":9,"angle":328,"satellites":48,"speed":17,"hex_longitude":"2d5f8900","hex_latitude":"062f14a0","is_valid_coordinates":true} 
[2026-08-23 01:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581325568001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389398983644020736,"note":"Value kept but may cause issues"} 
[2026-08-23 01:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6885511275599104000,"note":"Value kept but may cause issues"} 
[2026-08-23 01:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787427064000,"timestamp_ms":1787427064000,"timestamp_seconds":1787427064,"priority":1,"record_length":96,"hex_timestamp":"000001a02af488c0"} 
[2026-08-23 01:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:03: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-08-23 01:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 01:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:03:04] 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-08-23 01:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581325568001,"66":27332,"209":206,"79":20992,"24":17,"16":389398983644020736,"45":6885511275599104000},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-08-23 01:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581325568001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:03:04] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-23 01:03:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-08-23 01:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389398983644020736,"km_value":389398983644020.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6885511275599104000,"description":"Unknown IO ID 45"} 
[2026-08-23 01:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581325568001,"power":27332,"unknown_209":206,"unknown_79":20992,"ignition":17,"odometer":null,"unknown_45":6885511275599104000}} 
[2026-08-23 01:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":160189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:03:04] local.INFO: GPS data processed {"connection_id":160189,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:03:04] local.INFO: Acknowledgment sent {"connection_id":160189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:03:28] local.INFO: TCP Data received {"connection_id":160188,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 01:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 01:03:28] local.INFO: Processing buffer {"connection_id":160188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af1e110012d196540071ff1b0004801372b..."} 
[2026-08-23 01:03:28] local.INFO: Packet analysis {"connection_id":160188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af1"} 
[2026-08-23 01:03:28] local.INFO: Extracted packet for processing {"connection_id":160188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af1"} 
[2026-08-23 01:03:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":72,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581206784001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787426890000,"timestamp_ms":1787426890000,"timestamp_seconds":1787426890,"priority":1,"record_length":96,"hex_timestamp":"000001a02af1e110"} 
[2026-08-23 01:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581206784001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581206784001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:03:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:03:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581206784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":160188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:03:28] local.INFO: GPS data processed {"connection_id":160188,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:03:28] local.INFO: Acknowledgment sent {"connection_id":160188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:03:44] local.INFO: TCP Data received {"connection_id":160190,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:03:44] local.INFO: Processing buffer {"connection_id":160190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:03:44] local.INFO: IMEI packet received {"connection_id":160190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":160190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:03:48] local.INFO: TCP Data received {"connection_id":160190,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:03:48] local.INFO: Processing buffer {"connection_id":160190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:03:48] local.INFO: IMEI packet received {"connection_id":160190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":160190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:03:51] local.INFO: TCP Data received {"connection_id":161352,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:03:51] local.INFO: Processing buffer {"connection_id":161352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:03:51] local.INFO: IMEI packet received {"connection_id":161352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":161352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:03:55] local.INFO: TCP Data received {"connection_id":160190,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:03:55] local.INFO: Processing buffer {"connection_id":160190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:03:55] local.INFO: IMEI packet received {"connection_id":160190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":160190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:03:56] local.INFO: TCP Data received {"connection_id":161352,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:03:56] local.INFO: Processing buffer {"connection_id":161352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:03:56] local.INFO: IMEI packet received {"connection_id":161352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":161352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:03:57] local.INFO: TCP Data received {"connection_id":161352,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:03:57] local.INFO: Processing buffer {"connection_id":161352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:03:57] local.INFO: Packet analysis {"connection_id":161352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af6"} 
[2026-08-23 01:03:57] local.INFO: Extracted packet for processing {"connection_id":161352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af6"} 
[2026-08-23 01:03:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":72,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581283840001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787427191000,"timestamp_ms":1787427191000,"timestamp_seconds":1787427191,"priority":1,"record_length":96,"hex_timestamp":"000001a02af678d8"} 
[2026-08-23 01:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 01:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581283840001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581283840001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:03:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:03:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581283840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":161352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:03:57] local.INFO: GPS data processed {"connection_id":161352,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:03:57] local.INFO: Acknowledgment sent {"connection_id":161352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:04:06] local.INFO: TCP Data received {"connection_id":160190,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af5f408012d5f0f80063093780008015730..."} 
[2026-08-23 01:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af5f408012d5f0f80063093780008015730..."} 
[2026-08-23 01:04:06] local.INFO: Processing buffer {"connection_id":160190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af5f408012d5f0f80063093780008015730..."} 
[2026-08-23 01:04:06] local.INFO: Packet analysis {"connection_id":160190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af5"} 
[2026-08-23 01:04:06] local.INFO: Extracted packet for processing {"connection_id":160190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af5"} 
[2026-08-23 01:04:06] local.INFO: GPS Element Parsed {"raw_longitude":761204608,"raw_latitude":103846776,"longitude_deg":76.1204608,"latitude_deg":10.3846776,"altitude":8,"angle":343,"satellites":48,"speed":57,"hex_longitude":"2d5f0f80","hex_latitude":"06309378","is_valid_coordinates":true} 
[2026-08-23 01:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581350400001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389403978690985984,"note":"Value kept but may cause issues"} 
[2026-08-23 01:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6852789809579888640,"note":"Value kept but may cause issues"} 
[2026-08-23 01:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787427157000,"timestamp_ms":1787427157000,"timestamp_seconds":1787427157,"priority":1,"record_length":96,"hex_timestamp":"000001a02af5f408"} 
[2026-08-23 01:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:04: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-08-23 01:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 01:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:04:06] 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-08-23 01:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581350400001,"66":27300,"144":206,"78":38656,"24":57,"16":389403978690985984,"45":6852789809579888640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-08-23 01:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581350400001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:04:06] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-23 01:04:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389403978690985984,"km_value":389403978690986.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6852789809579888640,"description":"Unknown IO ID 45"} 
[2026-08-23 01:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581350400001,"power":27300,"unknown_144":206,"unknown_78":38656,"ignition":57,"odometer":null,"unknown_45":6852789809579888640}} 
[2026-08-23 01:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":160190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:04:06] local.INFO: GPS data processed {"connection_id":160190,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:04:06] local.INFO: Acknowledgment sent {"connection_id":160190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:04:07] local.INFO: TCP Data received {"connection_id":160190,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af60f60012d5f03400630b928000901542f..."} 
[2026-08-23 01:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af60f60012d5f03400630b928000901542f..."} 
[2026-08-23 01:04:07] local.INFO: Processing buffer {"connection_id":160190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af60f60012d5f03400630b928000901542f..."} 
[2026-08-23 01:04:07] local.INFO: Packet analysis {"connection_id":160190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af6"} 
[2026-08-23 01:04:07] local.INFO: Extracted packet for processing {"connection_id":160190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af6"} 
[2026-08-23 01:04:07] local.INFO: GPS Element Parsed {"raw_longitude":761201472,"raw_latitude":103856424,"longitude_deg":76.1201472,"latitude_deg":10.3856424,"altitude":9,"angle":340,"satellites":47,"speed":57,"hex_longitude":"2d5f0340","hex_latitude":"0630b928","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581352192001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389404468317257728,"note":"Value kept but may cause issues"} 
[2026-08-23 01:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6849834322326943744,"note":"Value kept but may cause issues"} 
[2026-08-23 01:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787427164000,"timestamp_ms":1787427164000,"timestamp_seconds":1787427164,"priority":1,"record_length":96,"hex_timestamp":"000001a02af60f60"} 
[2026-08-23 01:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:04: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-08-23 01: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 01:04:07] 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-08-23 01: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-08-23 01:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:04:07] 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-08-23 01:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581352192001,"66":27365,"144":206,"78":38656,"24":57,"16":389404468317257728,"45":6849834322326943744},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-08-23 01:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581352192001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:04:07] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-23 01:04:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389404468317257728,"km_value":389404468317257.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6849834322326943744,"description":"Unknown IO ID 45"} 
[2026-08-23 01:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581352192001,"power":27365,"unknown_144":206,"unknown_78":38656,"ignition":57,"odometer":null,"unknown_45":6849834322326943744}} 
[2026-08-23 01:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":160190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:04:07] local.INFO: GPS data processed {"connection_id":160190,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:04:07] local.INFO: Acknowledgment sent {"connection_id":160190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:04:28] local.INFO: TCP Data received {"connection_id":161352,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:04:28] local.INFO: Processing buffer {"connection_id":161352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:04:28] local.INFO: Packet analysis {"connection_id":161352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af6"} 
[2026-08-23 01:04:28] local.INFO: Extracted packet for processing {"connection_id":161352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af6"} 
[2026-08-23 01:04:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":72,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581283840001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787427191000,"timestamp_ms":1787427191000,"timestamp_seconds":1787427191,"priority":1,"record_length":96,"hex_timestamp":"000001a02af678d8"} 
[2026-08-23 01:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 01:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581283840001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581283840001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:04:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:04:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581283840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":161352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:04:28] local.INFO: GPS data processed {"connection_id":161352,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:04:28] local.INFO: Acknowledgment sent {"connection_id":161352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:04:51] local.INFO: TCP Data received {"connection_id":160192,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:04:51] local.INFO: Processing buffer {"connection_id":160192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:04:51] local.INFO: IMEI packet received {"connection_id":160192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":160192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:04:53] local.INFO: TCP Data received {"connection_id":160191,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:04:53] local.INFO: Processing buffer {"connection_id":160191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:04:53] local.INFO: IMEI packet received {"connection_id":160191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":160191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:04:53] local.INFO: TCP Data received {"connection_id":160191,"ip":"42.109.136.3","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 01:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160191,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 01:04:53] local.INFO: Processing buffer {"connection_id":160191,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 01:04:53] local.INFO: IMEI packet received {"connection_id":160191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":160191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:04:54] local.INFO: TCP Data received {"connection_id":160191,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af724b8012d5ecf00063215100007015530..."} 
[2026-08-23 01:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af724b8012d5ecf00063215100007015530..."} 
[2026-08-23 01:04:54] local.INFO: Processing buffer {"connection_id":160191,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a02a..."} 
[2026-08-23 01:04:54] local.INFO: IMEI packet received {"connection_id":160191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":160191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:04:55] local.INFO: TCP Data received {"connection_id":160191,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af74010012d5ec000063238600006014e2e..."} 
[2026-08-23 01:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af74010012d5ec000063238600006014e2e..."} 
[2026-08-23 01:04:55] local.INFO: Processing buffer {"connection_id":160191,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a02af724b8012d5ecf00063215100007015530..."} 
[2026-08-23 01:04:55] local.INFO: Packet analysis {"connection_id":160191,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02af7"} 
[2026-08-23 01:04:55] local.INFO: Extracted packet for processing {"connection_id":160191,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af7"} 
[2026-08-23 01:04:55] local.INFO: GPS Element Parsed {"raw_longitude":761188096,"raw_latitude":103945488,"longitude_deg":76.1188096,"latitude_deg":10.3945488,"altitude":7,"angle":341,"satellites":48,"speed":56,"hex_longitude":"2d5ecf00","hex_latitude":"06321510","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581370880001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389408900723507200,"note":"Value kept but may cause issues"} 
[2026-08-23 01:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6833297667468728320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787427235000,"timestamp_ms":1787427235000,"timestamp_seconds":1787427235,"priority":1,"record_length":96,"hex_timestamp":"000001a02af724b8"} 
[2026-08-23 01:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:04: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-08-23 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 01:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:04:55] 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-08-23 01:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581370880001,"66":27365,"110":206,"78":38656,"24":56,"16":389408900723507200,"45":6833297667468728320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,78,24,16,45]} 
[2026-08-23 01:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581370880001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:04:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 01:04:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389408900723507200,"km_value":389408900723507.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6833297667468728320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581370880001,"power":27365,"unknown_110":206,"unknown_78":38656,"ignition":56,"odometer":null,"unknown_45":6833297667468728320}} 
[2026-08-23 01:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":160191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:04:55] local.INFO: GPS data processed {"connection_id":160191,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:04:55] local.INFO: Acknowledgment sent {"connection_id":160191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:04:55] local.INFO: Packet analysis {"connection_id":160191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af7"} 
[2026-08-23 01:04:55] local.INFO: Extracted packet for processing {"connection_id":160191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af7"} 
[2026-08-23 01:04:55] local.INFO: GPS Element Parsed {"raw_longitude":761184256,"raw_latitude":103954528,"longitude_deg":76.1184256,"latitude_deg":10.3954528,"altitude":6,"angle":334,"satellites":46,"speed":54,"hex_longitude":"2d5ec000","hex_latitude":"06323860","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581372160001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389409377464877056,"note":"Value kept but may cause issues"} 
[2026-08-23 01:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6831679186354376704,"note":"Value kept but may cause issues"} 
[2026-08-23 01:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787427242000,"timestamp_ms":1787427242000,"timestamp_seconds":1787427242,"priority":1,"record_length":96,"hex_timestamp":"000001a02af74010"} 
[2026-08-23 01:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 01:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:04:55] 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-08-23 01:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581372160001,"66":27376,"110":206,"78":38656,"24":54,"16":389409377464877056,"45":6831679186354376704},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,78,24,16,45]} 
[2026-08-23 01:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581372160001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:04:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 01:04:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389409377464877056,"km_value":389409377464877.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6831679186354376704,"description":"Unknown IO ID 45"} 
[2026-08-23 01:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581372160001,"power":27376,"unknown_110":206,"unknown_78":38656,"ignition":54,"odometer":null,"unknown_45":6831679186354376704}} 
[2026-08-23 01:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":160191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:04:55] local.INFO: GPS data processed {"connection_id":160191,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:04:55] local.INFO: Acknowledgment sent {"connection_id":160191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:04:56] local.INFO: TCP Data received {"connection_id":160192,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:04:56] local.INFO: Processing buffer {"connection_id":160192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:04:56] local.INFO: IMEI packet received {"connection_id":160192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":160192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:04:57] local.INFO: TCP Data received {"connection_id":160192,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:04:57] local.INFO: Processing buffer {"connection_id":160192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:04:57] local.INFO: Packet analysis {"connection_id":160192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af6"} 
[2026-08-23 01:04:57] local.INFO: Extracted packet for processing {"connection_id":160192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af6"} 
[2026-08-23 01:04:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":72,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581283840001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787427191000,"timestamp_ms":1787427191000,"timestamp_seconds":1787427191,"priority":1,"record_length":96,"hex_timestamp":"000001a02af678d8"} 
[2026-08-23 01:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 01:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581283840001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581283840001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:04:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:04:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581283840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":160192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:04:57] local.INFO: GPS data processed {"connection_id":160192,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:04:57] local.INFO: Acknowledgment sent {"connection_id":160192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:04:58] local.INFO: TCP Data received {"connection_id":160191,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af75b68012d5eaf80063259400006014e2f..."} 
[2026-08-23 01:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af75b68012d5eaf80063259400006014e2f..."} 
[2026-08-23 01:04:58] local.INFO: Processing buffer {"connection_id":160191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af75b68012d5eaf80063259400006014e2f..."} 
[2026-08-23 01:04:58] local.INFO: Packet analysis {"connection_id":160191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af7"} 
[2026-08-23 01:04:58] local.INFO: Extracted packet for processing {"connection_id":160191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af7"} 
[2026-08-23 01:04:58] local.INFO: GPS Element Parsed {"raw_longitude":761180032,"raw_latitude":103962944,"longitude_deg":76.1180032,"latitude_deg":10.3962944,"altitude":6,"angle":334,"satellites":47,"speed":52,"hex_longitude":"2d5eaf80","hex_latitude":"06325940","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581373952001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389409832731410432,"note":"Value kept but may cause issues"} 
[2026-08-23 01:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6827457061706031104,"note":"Value kept but may cause issues"} 
[2026-08-23 01:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787427249000,"timestamp_ms":1787427249000,"timestamp_seconds":1787427249,"priority":1,"record_length":96,"hex_timestamp":"000001a02af75b68"} 
[2026-08-23 01:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 01:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:04:58] 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-08-23 01:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581373952001,"66":27071,"110":206,"78":38656,"24":52,"16":389409832731410432,"45":6827457061706031104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,78,24,16,45]} 
[2026-08-23 01:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581373952001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:04:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 01:04:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389409832731410432,"km_value":389409832731410.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6827457061706031104,"description":"Unknown IO ID 45"} 
[2026-08-23 01:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581373952001,"power":27071,"unknown_110":206,"unknown_78":38656,"ignition":52,"odometer":null,"unknown_45":6827457061706031104}} 
[2026-08-23 01:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":160191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:04:58] local.INFO: GPS data processed {"connection_id":160191,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:04:58] local.INFO: Acknowledgment sent {"connection_id":160191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:05:28] local.INFO: TCP Data received {"connection_id":160192,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:05:28] local.INFO: Processing buffer {"connection_id":160192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:05:28] local.INFO: Packet analysis {"connection_id":160192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af6"} 
[2026-08-23 01:05:28] local.INFO: Extracted packet for processing {"connection_id":160192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af6"} 
[2026-08-23 01:05:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":72,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581283840001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787427191000,"timestamp_ms":1787427191000,"timestamp_seconds":1787427191,"priority":1,"record_length":96,"hex_timestamp":"000001a02af678d8"} 
[2026-08-23 01:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 01:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581283840001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581283840001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:05:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:05:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581283840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":160192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:05:28] local.INFO: GPS data processed {"connection_id":160192,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:05:28] local.INFO: Acknowledgment sent {"connection_id":160192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:05:32] local.INFO: TCP Data received {"connection_id":160191,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af776c0012d5ea000063278600005014d2f..."} 
[2026-08-23 01:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af776c0012d5ea000063278600005014d2f..."} 
[2026-08-23 01:05:32] local.INFO: Processing buffer {"connection_id":160191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af776c0012d5ea000063278600005014d2f..."} 
[2026-08-23 01:05:32] local.INFO: Packet analysis {"connection_id":160191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af7"} 
[2026-08-23 01:05:32] local.INFO: Extracted packet for processing {"connection_id":160191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af7"} 
[2026-08-23 01:05:32] local.INFO: GPS Element Parsed {"raw_longitude":761176064,"raw_latitude":103970912,"longitude_deg":76.1176064,"latitude_deg":10.3970912,"altitude":5,"angle":333,"satellites":47,"speed":49,"hex_longitude":"2d5ea000","hex_latitude":"06327860","is_valid_coordinates":true} 
[2026-08-23 01:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581375744001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389410262228140032,"note":"Value kept but may cause issues"} 
[2026-08-23 01:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6822812724592459776,"note":"Value kept but may cause issues"} 
[2026-08-23 01:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787427256000,"timestamp_ms":1787427256000,"timestamp_seconds":1787427256,"priority":1,"record_length":96,"hex_timestamp":"000001a02af776c0"} 
[2026-08-23 01:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-23 01:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:05:32] 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-08-23 01:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581375744001,"66":27071,"110":206,"78":38656,"24":49,"16":389410262228140032,"45":6822812724592459776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,78,24,16,45]} 
[2026-08-23 01:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581375744001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:05:32] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 01:05:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389410262228140032,"km_value":389410262228140.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6822812724592459776,"description":"Unknown IO ID 45"} 
[2026-08-23 01:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581375744001,"power":27071,"unknown_110":206,"unknown_78":38656,"ignition":49,"odometer":null,"unknown_45":6822812724592459776}} 
[2026-08-23 01:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":160191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:05:32] local.INFO: GPS data processed {"connection_id":160191,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:05:32] local.INFO: Acknowledgment sent {"connection_id":160191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:05:47] local.INFO: TCP Data received {"connection_id":162757,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:05:47] local.INFO: Processing buffer {"connection_id":162757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:05:47] local.INFO: IMEI packet received {"connection_id":162757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":162757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:05:51] local.INFO: TCP Data received {"connection_id":160398,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:05:51] local.INFO: Processing buffer {"connection_id":160398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:05:51] local.INFO: IMEI packet received {"connection_id":160398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":160398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:05:53] local.INFO: TCP Data received {"connection_id":162757,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:05:53] local.INFO: Processing buffer {"connection_id":162757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:05:53] local.INFO: IMEI packet received {"connection_id":162757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":162757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:05:53] local.INFO: TCP Data received {"connection_id":162757,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af79600012d5e8ec0063299900005014d2f..."} 
[2026-08-23 01:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af79600012d5e8ec0063299900005014d2f..."} 
[2026-08-23 01:05:53] local.INFO: Processing buffer {"connection_id":162757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af79600012d5e8ec0063299900005014d2f..."} 
[2026-08-23 01:05:53] local.INFO: Packet analysis {"connection_id":162757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af7"} 
[2026-08-23 01:05:53] local.INFO: Extracted packet for processing {"connection_id":162757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af7"} 
[2026-08-23 01:05:53] local.INFO: GPS Element Parsed {"raw_longitude":761171648,"raw_latitude":103979408,"longitude_deg":76.1171648,"latitude_deg":10.3979408,"altitude":5,"angle":333,"satellites":47,"speed":46,"hex_longitude":"2d5e8ec0","hex_latitude":"06329990","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581377536001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389410726084608000,"note":"Value kept but may cause issues"} 
[2026-08-23 01:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6818449862455484416,"note":"Value kept but may cause issues"} 
[2026-08-23 01:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787427264000,"timestamp_ms":1787427264000,"timestamp_seconds":1787427264,"priority":1,"record_length":96,"hex_timestamp":"000001a02af79600"} 
[2026-08-23 01:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:05: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-08-23 01: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-23 01:05:53] 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-08-23 01: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-08-23 01:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:05:53] 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-08-23 01:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581377536001,"66":27267,"110":206,"78":38656,"24":46,"16":389410726084608000,"45":6818449862455484416},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,78,24,16,45]} 
[2026-08-23 01:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581377536001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:05:53] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 01:05:53] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389410726084608000,"km_value":389410726084608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6818449862455484416,"description":"Unknown IO ID 45"} 
[2026-08-23 01:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581377536001,"power":27267,"unknown_110":206,"unknown_78":38656,"ignition":46,"odometer":null,"unknown_45":6818449862455484416}} 
[2026-08-23 01:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":162757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:05:53] local.INFO: GPS data processed {"connection_id":162757,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:05:53] local.INFO: Acknowledgment sent {"connection_id":162757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:05:56] local.INFO: TCP Data received {"connection_id":160398,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:05:56] local.INFO: Processing buffer {"connection_id":160398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:05:56] local.INFO: IMEI packet received {"connection_id":160398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":160398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:05:57] local.INFO: TCP Data received {"connection_id":160398,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:05:57] local.INFO: Processing buffer {"connection_id":160398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:05:57] local.INFO: Packet analysis {"connection_id":160398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af6"} 
[2026-08-23 01:05:57] local.INFO: Extracted packet for processing {"connection_id":160398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af6"} 
[2026-08-23 01:05:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":72,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581283840001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787427191000,"timestamp_ms":1787427191000,"timestamp_seconds":1787427191,"priority":1,"record_length":96,"hex_timestamp":"000001a02af678d8"} 
[2026-08-23 01:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 01:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581283840001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581283840001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:05:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:05:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581283840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":160398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:05:57] local.INFO: GPS data processed {"connection_id":160398,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:05:57] local.INFO: Acknowledgment sent {"connection_id":160398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:06:24] local.INFO: TCP Data received {"connection_id":162757,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af7b540012d5e7f000632b8d00006014d30..."} 
[2026-08-23 01:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af7b540012d5e7f000632b8d00006014d30..."} 
[2026-08-23 01:06:24] local.INFO: Processing buffer {"connection_id":162757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af7b540012d5e7f000632b8d00006014d30..."} 
[2026-08-23 01:06:24] local.INFO: Packet analysis {"connection_id":162757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af7"} 
[2026-08-23 01:06:24] local.INFO: Extracted packet for processing {"connection_id":162757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af7"} 
[2026-08-23 01:06:24] local.INFO: GPS Element Parsed {"raw_longitude":761167616,"raw_latitude":103987408,"longitude_deg":76.1167616,"latitude_deg":10.3987408,"altitude":6,"angle":333,"satellites":48,"speed":42,"hex_longitude":"2d5e7f00","hex_latitude":"0632b8d0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581379584001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389411159876304896,"note":"Value kept but may cause issues"} 
[2026-08-23 01:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6813594419109400576,"note":"Value kept but may cause issues"} 
[2026-08-23 01:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787427272000,"timestamp_ms":1787427272000,"timestamp_seconds":1787427272,"priority":1,"record_length":96,"hex_timestamp":"000001a02af7b540"} 
[2026-08-23 01:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:06: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-08-23 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 01:06:24] 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-08-23 01: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-08-23 01:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:06:24] 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-08-23 01:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581379584001,"66":27234,"110":206,"78":38656,"24":42,"16":389411159876304896,"45":6813594419109400576},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,78,24,16,45]} 
[2026-08-23 01:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581379584001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:06:24] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 01:06:24] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389411159876304896,"km_value":389411159876304.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6813594419109400576,"description":"Unknown IO ID 45"} 
[2026-08-23 01:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581379584001,"power":27234,"unknown_110":206,"unknown_78":38656,"ignition":42,"odometer":null,"unknown_45":6813594419109400576}} 
[2026-08-23 01:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":162757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:06:24] local.INFO: GPS data processed {"connection_id":162757,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:06:24] local.INFO: Acknowledgment sent {"connection_id":162757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:06:28] local.INFO: TCP Data received {"connection_id":160398,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:06:28] local.INFO: Processing buffer {"connection_id":160398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:06:28] local.INFO: Packet analysis {"connection_id":160398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af6"} 
[2026-08-23 01:06:28] local.INFO: Extracted packet for processing {"connection_id":160398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af6"} 
[2026-08-23 01:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":72,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581283840001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787427191000,"timestamp_ms":1787427191000,"timestamp_seconds":1787427191,"priority":1,"record_length":96,"hex_timestamp":"000001a02af678d8"} 
[2026-08-23 01:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 01:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581283840001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581283840001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:06:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581283840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":160398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:06:28] local.INFO: GPS data processed {"connection_id":160398,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:06:28] local.INFO: Acknowledgment sent {"connection_id":160398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:06:47] local.INFO: TCP Data received {"connection_id":160193,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:06:47] local.INFO: Processing buffer {"connection_id":160193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:06:47] local.INFO: IMEI packet received {"connection_id":160193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":160193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:06:51] local.INFO: TCP Data received {"connection_id":160194,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:06:51] local.INFO: Processing buffer {"connection_id":160194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:06:51] local.INFO: IMEI packet received {"connection_id":160194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":160194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:06:53] local.INFO: TCP Data received {"connection_id":160193,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:06:53] local.INFO: Processing buffer {"connection_id":160193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:06:53] local.INFO: IMEI packet received {"connection_id":160193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":160193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:06:54] local.INFO: TCP Data received {"connection_id":160193,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af7d868012d5e6e400632da800008014e30..."} 
[2026-08-23 01:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af7d868012d5e6e400632da800008014e30..."} 
[2026-08-23 01:06:54] local.INFO: Processing buffer {"connection_id":160193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af7d868012d5e6e400632da800008014e30..."} 
[2026-08-23 01:06:54] local.INFO: Packet analysis {"connection_id":160193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af7"} 
[2026-08-23 01:06:54] local.INFO: Extracted packet for processing {"connection_id":160193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af7"} 
[2026-08-23 01:06:54] local.INFO: GPS Element Parsed {"raw_longitude":761163328,"raw_latitude":103996032,"longitude_deg":76.1163328,"latitude_deg":10.3996032,"altitude":8,"angle":334,"satellites":48,"speed":42,"hex_longitude":"2d5e6e40","hex_latitude":"0632da80","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581381632001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389411623732772864,"note":"Value kept but may cause issues"} 
[2026-08-23 01:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6809161188228255744,"note":"Value kept but may cause issues"} 
[2026-08-23 01:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787427281000,"timestamp_ms":1787427281000,"timestamp_seconds":1787427281,"priority":1,"record_length":96,"hex_timestamp":"000001a02af7d868"} 
[2026-08-23 01:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 01:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:06:54] 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-08-23 01:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581381632001,"66":27321,"110":206,"78":38656,"24":42,"16":389411623732772864,"45":6809161188228255744},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,78,24,16,45]} 
[2026-08-23 01:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581381632001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:06:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 01:06:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389411623732772864,"km_value":389411623732772.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6809161188228255744,"description":"Unknown IO ID 45"} 
[2026-08-23 01:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581381632001,"power":27321,"unknown_110":206,"unknown_78":38656,"ignition":42,"odometer":null,"unknown_45":6809161188228255744}} 
[2026-08-23 01:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":160193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":683999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:06:54] local.INFO: GPS data processed {"connection_id":160193,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:06:54] local.INFO: Acknowledgment sent {"connection_id":160193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:06:56] local.INFO: TCP Data received {"connection_id":160194,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:06:56] local.INFO: Processing buffer {"connection_id":160194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:06:56] local.INFO: IMEI packet received {"connection_id":160194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":160194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:06:57] local.INFO: TCP Data received {"connection_id":160194,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:06:57] local.INFO: Processing buffer {"connection_id":160194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:06:57] local.INFO: Packet analysis {"connection_id":160194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af6"} 
[2026-08-23 01:06:57] local.INFO: Extracted packet for processing {"connection_id":160194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af6"} 
[2026-08-23 01:06:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":72,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581283840001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787427191000,"timestamp_ms":1787427191000,"timestamp_seconds":1787427191,"priority":1,"record_length":96,"hex_timestamp":"000001a02af678d8"} 
[2026-08-23 01:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 01:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581283840001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581283840001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:06:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:06:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581283840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":160194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:06:57] local.INFO: GPS data processed {"connection_id":160194,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:06:57] local.INFO: Acknowledgment sent {"connection_id":160194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:07:25] local.INFO: TCP Data received {"connection_id":160193,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af966d8012d5d9600063490e00008014d30..."} 
[2026-08-23 01:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af966d8012d5d9600063490e00008014d30..."} 
[2026-08-23 01:07:25] local.INFO: Processing buffer {"connection_id":160193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af966d8012d5d9600063490e00008014d30..."} 
[2026-08-23 01:07:25] local.INFO: Packet analysis {"connection_id":160193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af9"} 
[2026-08-23 01:07:25] local.INFO: Extracted packet for processing {"connection_id":160193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af9"} 
[2026-08-23 01:07:25] local.INFO: GPS Element Parsed {"raw_longitude":761107968,"raw_latitude":104108256,"longitude_deg":76.1107968,"latitude_deg":10.4108256,"altitude":8,"angle":333,"satellites":48,"speed":44,"hex_longitude":"2d5d9600","hex_latitude":"063490e0","is_valid_coordinates":true} 
[2026-08-23 01:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581408000001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389417688226594816,"note":"Value kept but may cause issues"} 
[2026-08-23 01:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6748221855799169024,"note":"Value kept but may cause issues"} 
[2026-08-23 01:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787427383000,"timestamp_ms":1787427383000,"timestamp_seconds":1787427383,"priority":1,"record_length":96,"hex_timestamp":"000001a02af966d8"} 
[2026-08-23 01:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:07: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-08-23 01:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-23 01:07:25] 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-08-23 01:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:07:25] 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-08-23 01:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581408000001,"66":27343,"174":206,"78":38656,"24":44,"16":389417688226594816,"45":6748221855799169024},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-08-23 01:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581408000001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:07:25] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-23 01:07:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389417688226594816,"km_value":389417688226594.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6748221855799169024,"description":"Unknown IO ID 45"} 
[2026-08-23 01:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581408000001,"power":27343,"unknown_174":206,"unknown_78":38656,"ignition":44,"odometer":null,"unknown_45":6748221855799169024}} 
[2026-08-23 01:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":160193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:07:25] local.INFO: GPS data processed {"connection_id":160193,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:07:25] local.INFO: Acknowledgment sent {"connection_id":160193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:07:28] local.INFO: TCP Data received {"connection_id":160194,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:07:28] local.INFO: Processing buffer {"connection_id":160194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:07:28] local.INFO: Packet analysis {"connection_id":160194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af6"} 
[2026-08-23 01:07:28] local.INFO: Extracted packet for processing {"connection_id":160194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af6"} 
[2026-08-23 01:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":72,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581283840001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787427191000,"timestamp_ms":1787427191000,"timestamp_seconds":1787427191,"priority":1,"record_length":96,"hex_timestamp":"000001a02af678d8"} 
[2026-08-23 01:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 01:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581283840001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581283840001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:07:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:07:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581283840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":160194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:07:29] local.INFO: GPS data processed {"connection_id":160194,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:07:29] local.INFO: Acknowledgment sent {"connection_id":160194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:07:51] local.INFO: TCP Data received {"connection_id":162759,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:07:51] local.INFO: Processing buffer {"connection_id":162759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:07:51] local.INFO: IMEI packet received {"connection_id":162759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":162759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:07:53] local.INFO: TCP Data received {"connection_id":162758,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:07:53] local.INFO: Processing buffer {"connection_id":162758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:07:53] local.INFO: IMEI packet received {"connection_id":162758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":162758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:07:54] local.INFO: TCP Data received {"connection_id":162758,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:07:54] local.INFO: Processing buffer {"connection_id":162758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:07:54] local.INFO: IMEI packet received {"connection_id":162758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":162758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:07:55] local.INFO: TCP Data received {"connection_id":162758,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af98a00012d5d85400634b2a8000b014d2f..."} 
[2026-08-23 01:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af98a00012d5d85400634b2a8000b014d2f..."} 
[2026-08-23 01:07:55] local.INFO: Processing buffer {"connection_id":162758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af98a00012d5d85400634b2a8000b014d2f..."} 
[2026-08-23 01:07:55] local.INFO: Packet analysis {"connection_id":162758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af9"} 
[2026-08-23 01:07:55] local.INFO: Extracted packet for processing {"connection_id":162758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af9"} 
[2026-08-23 01:07:55] local.INFO: GPS Element Parsed {"raw_longitude":761103680,"raw_latitude":104116904,"longitude_deg":76.110368,"latitude_deg":10.4116904,"altitude":11,"angle":333,"satellites":47,"speed":40,"hex_longitude":"2d5d8540","hex_latitude":"0634b2a8","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581410048001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389418156378030080,"note":"Value kept but may cause issues"} 
[2026-08-23 01:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6743577518685609984,"note":"Value kept but may cause issues"} 
[2026-08-23 01:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787427392000,"timestamp_ms":1787427392000,"timestamp_seconds":1787427392,"priority":1,"record_length":96,"hex_timestamp":"000001a02af98a00"} 
[2026-08-23 01:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:07: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-08-23 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 01:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:07:55] 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-08-23 01:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581410048001,"66":27300,"174":206,"78":38656,"24":40,"16":389418156378030080,"45":6743577518685609984},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-08-23 01:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581410048001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:07:55] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-23 01:07:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389418156378030080,"km_value":389418156378030.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6743577518685609984,"description":"Unknown IO ID 45"} 
[2026-08-23 01:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581410048001,"power":27300,"unknown_174":206,"unknown_78":38656,"ignition":40,"odometer":null,"unknown_45":6743577518685609984}} 
[2026-08-23 01:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":162758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:07:55] local.INFO: GPS data processed {"connection_id":162758,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:07:55] local.INFO: Acknowledgment sent {"connection_id":162758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:07:56] local.INFO: TCP Data received {"connection_id":162759,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:07:56] local.INFO: Processing buffer {"connection_id":162759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:07:56] local.INFO: IMEI packet received {"connection_id":162759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":162759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:07:57] local.INFO: TCP Data received {"connection_id":162759,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:07:57] local.INFO: Processing buffer {"connection_id":162759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:07:57] local.INFO: Packet analysis {"connection_id":162759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af6"} 
[2026-08-23 01:07:57] local.INFO: Extracted packet for processing {"connection_id":162759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af6"} 
[2026-08-23 01:07:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":72,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581283840001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787427191000,"timestamp_ms":1787427191000,"timestamp_seconds":1787427191,"priority":1,"record_length":96,"hex_timestamp":"000001a02af678d8"} 
[2026-08-23 01:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 01:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581283840001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581283840001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:07:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:07:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581283840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":162759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:07:57] local.INFO: GPS data processed {"connection_id":162759,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:07:57] local.INFO: Acknowledgment sent {"connection_id":162759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:07:57] local.INFO: TCP Data received {"connection_id":162758,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af9ad28012d5d75800634d268000c014d2e..."} 
[2026-08-23 01:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af9ad28012d5d75800634d268000c014d2e..."} 
[2026-08-23 01:07:57] local.INFO: Processing buffer {"connection_id":162758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af9ad28012d5d75800634d268000c014d2e..."} 
[2026-08-23 01:07:57] local.INFO: Packet analysis {"connection_id":162758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af9"} 
[2026-08-23 01:07:57] local.INFO: Extracted packet for processing {"connection_id":162758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af9"} 
[2026-08-23 01:07:57] local.INFO: GPS Element Parsed {"raw_longitude":761099648,"raw_latitude":104125032,"longitude_deg":76.1099648,"latitude_deg":10.4125032,"altitude":12,"angle":333,"satellites":46,"speed":39,"hex_longitude":"2d5d7580","hex_latitude":"0634d268","is_valid_coordinates":true} 
[2026-08-23 01:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581412352001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389418594464694272,"note":"Value kept but may cause issues"} 
[2026-08-23 01:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6738862812827920384,"note":"Value kept but may cause issues"} 
[2026-08-23 01:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787427401000,"timestamp_ms":1787427401000,"timestamp_seconds":1787427401,"priority":1,"record_length":96,"hex_timestamp":"000001a02af9ad28"} 
[2026-08-23 01:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 01:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:07:57] 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-08-23 01:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581412352001,"66":27365,"174":206,"78":38656,"24":39,"16":389418594464694272,"45":6738862812827920384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-08-23 01:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581412352001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:07:57] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-23 01:07:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389418594464694272,"km_value":389418594464694.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6738862812827920384,"description":"Unknown IO ID 45"} 
[2026-08-23 01:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581412352001,"power":27365,"unknown_174":206,"unknown_78":38656,"ignition":39,"odometer":null,"unknown_45":6738862812827920384}} 
[2026-08-23 01:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":162758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:07:57] local.INFO: GPS data processed {"connection_id":162758,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:07:57] local.INFO: Acknowledgment sent {"connection_id":162758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:08:28] local.INFO: TCP Data received {"connection_id":162759,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:08:28] local.INFO: Processing buffer {"connection_id":162759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af678d8012d196540071ff1b00048013729..."} 
[2026-08-23 01:08:28] local.INFO: Packet analysis {"connection_id":162759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af6"} 
[2026-08-23 01:08:28] local.INFO: Extracted packet for processing {"connection_id":162759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af6"} 
[2026-08-23 01:08:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":72,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581283840001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787427191000,"timestamp_ms":1787427191000,"timestamp_seconds":1787427191,"priority":1,"record_length":96,"hex_timestamp":"000001a02af678d8"} 
[2026-08-23 01:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 01:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581283840001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581283840001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:08:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:08:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581283840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":162759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:08:28] local.INFO: GPS data processed {"connection_id":162759,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:08:28] local.INFO: Acknowledgment sent {"connection_id":162759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:08:29] local.INFO: TCP Data received {"connection_id":162758,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af9d050012d5d66000634f238000d014e2e..."} 
[2026-08-23 01:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af9d050012d5d66000634f238000d014e2e..."} 
[2026-08-23 01:08:29] local.INFO: Processing buffer {"connection_id":162758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af9d050012d5d66000634f238000d014e2e..."} 
[2026-08-23 01:08:29] local.INFO: Packet analysis {"connection_id":162758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af9"} 
[2026-08-23 01:08:29] local.INFO: Extracted packet for processing {"connection_id":162758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af9"} 
[2026-08-23 01:08:29] local.INFO: GPS Element Parsed {"raw_longitude":761095680,"raw_latitude":104133176,"longitude_deg":76.109568,"latitude_deg":10.4133176,"altitude":13,"angle":334,"satellites":46,"speed":39,"hex_longitude":"2d5d6600","hex_latitude":"0634f238","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581414656001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389419032551358464,"note":"Value kept but may cause issues"} 
[2026-08-23 01:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6734429581946808320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787427410000,"timestamp_ms":1787427410000,"timestamp_seconds":1787427410,"priority":1,"record_length":96,"hex_timestamp":"000001a02af9d050"} 
[2026-08-23 01:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 01:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:08:29] 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-08-23 01:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581414656001,"66":27234,"174":206,"78":38656,"24":39,"16":389419032551358464,"45":6734429581946808320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-08-23 01:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581414656001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:08:29] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-23 01:08:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389419032551358464,"km_value":389419032551358.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6734429581946808320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581414656001,"power":27234,"unknown_174":206,"unknown_78":38656,"ignition":39,"odometer":null,"unknown_45":6734429581946808320}} 
[2026-08-23 01:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":162758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:08:29] local.INFO: GPS data processed {"connection_id":162758,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:08:29] local.INFO: Acknowledgment sent {"connection_id":162758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:08:49] local.INFO: TCP Data received {"connection_id":160399,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:08:49] local.INFO: Processing buffer {"connection_id":160399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:08:49] local.INFO: IMEI packet received {"connection_id":160399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":160399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:08:50] local.INFO: TCP Data received {"connection_id":160399,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:08:50] local.INFO: Processing buffer {"connection_id":160399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:08:50] local.INFO: IMEI packet received {"connection_id":160399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":160399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:08:51] local.INFO: TCP Data received {"connection_id":160399,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02af9f378012d5d560006351240000d014e2f..."} 
[2026-08-23 01:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02af9f378012d5d560006351240000d014e2f..."} 
[2026-08-23 01:08:51] local.INFO: Processing buffer {"connection_id":160399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02af9f378012d5d560006351240000d014e2f..."} 
[2026-08-23 01:08:51] local.INFO: Packet analysis {"connection_id":160399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02af9"} 
[2026-08-23 01:08:51] local.INFO: Extracted packet for processing {"connection_id":160399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02af9"} 
[2026-08-23 01:08:51] local.INFO: GPS Element Parsed {"raw_longitude":761091584,"raw_latitude":104141376,"longitude_deg":76.1091584,"latitude_deg":10.4141376,"altitude":13,"angle":334,"satellites":47,"speed":41,"hex_longitude":"2d5d5600","hex_latitude":"06351240","is_valid_coordinates":true} 
[2026-08-23 01:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581416960001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389419474932989952,"note":"Value kept but may cause issues"} 
[2026-08-23 01:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6730066719809878016,"note":"Value kept but may cause issues"} 
[2026-08-23 01:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787427419000,"timestamp_ms":1787427419000,"timestamp_seconds":1787427419,"priority":1,"record_length":96,"hex_timestamp":"000001a02af9f378"} 
[2026-08-23 01:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 01:08:51] 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-08-23 01:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:08:51] 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-08-23 01:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581416960001,"66":27343,"174":206,"78":38656,"24":41,"16":389419474932989952,"45":6730066719809878016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-08-23 01:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581416960001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:08:51] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-23 01:08:51] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389419474932989952,"km_value":389419474932989.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6730066719809878016,"description":"Unknown IO ID 45"} 
[2026-08-23 01:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581416960001,"power":27343,"unknown_174":206,"unknown_78":38656,"ignition":41,"odometer":null,"unknown_45":6730066719809878016}} 
[2026-08-23 01:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":160399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:08:51] local.INFO: GPS data processed {"connection_id":160399,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:08:51] local.INFO: Acknowledgment sent {"connection_id":160399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:08:52] local.INFO: TCP Data received {"connection_id":160399,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02afa16a0012d5d44c006353400000b014d31..."} 
[2026-08-23 01:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02afa16a0012d5d44c006353400000b014d31..."} 
[2026-08-23 01:08:52] local.INFO: Processing buffer {"connection_id":160399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02afa16a0012d5d44c006353400000b014d31..."} 
[2026-08-23 01:08:52] local.INFO: Packet analysis {"connection_id":160399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02afa"} 
[2026-08-23 01:08:52] local.INFO: Extracted packet for processing {"connection_id":160399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02afa"} 
[2026-08-23 01:08:52] local.INFO: GPS Element Parsed {"raw_longitude":761087168,"raw_latitude":104150016,"longitude_deg":76.1087168,"latitude_deg":10.4150016,"altitude":11,"angle":333,"satellites":49,"speed":45,"hex_longitude":"2d5d44c0","hex_latitude":"06353400","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581419264001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389419943084425216,"note":"Value kept but may cause issues"} 
[2026-08-23 01:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6725563120184606720,"note":"Value kept but may cause issues"} 
[2026-08-23 01:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787427428000,"timestamp_ms":1787427428000,"timestamp_seconds":1787427428,"priority":1,"record_length":96,"hex_timestamp":"000001a02afa16a0"} 
[2026-08-23 01:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:08: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-08-23 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 01:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:08:52] 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-08-23 01:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581419264001,"66":27343,"174":206,"78":38656,"24":45,"16":389419943084425216,"45":6725563120184606720},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-08-23 01:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581419264001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:08:52] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-23 01:08:52] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389419943084425216,"km_value":389419943084425.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":6725563120184606720,"description":"Unknown IO ID 45"} 
[2026-08-23 01:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581419264001,"power":27343,"unknown_174":206,"unknown_78":38656,"ignition":45,"odometer":null,"unknown_45":6725563120184606720}} 
[2026-08-23 01:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":160399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:08:52] local.INFO: GPS data processed {"connection_id":160399,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:08:52] local.INFO: Acknowledgment sent {"connection_id":160399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:08:56] local.INFO: TCP Data received {"connection_id":160195,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:08:56] local.INFO: Processing buffer {"connection_id":160195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:08:56] local.INFO: IMEI packet received {"connection_id":160195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":160195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:09:01] local.INFO: TCP Data received {"connection_id":160195,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:09:01] local.INFO: Processing buffer {"connection_id":160195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:09:01] local.INFO: IMEI packet received {"connection_id":160195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":160195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:09:02] local.INFO: TCP Data received {"connection_id":160195,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:09:02] local.INFO: Processing buffer {"connection_id":160195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:09:02] local.INFO: Packet analysis {"connection_id":160195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:09:02] local.INFO: Extracted packet for processing {"connection_id":160195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:09:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581360896001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787427492000,"timestamp_ms":1787427492000,"timestamp_seconds":1787427492,"priority":1,"record_length":96,"hex_timestamp":"000001a02afb10a0"} 
[2026-08-23 01:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581360896001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581360896001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:09:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:09:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581360896001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":160195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:09:02] local.INFO: GPS data processed {"connection_id":160195,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:09:02] local.INFO: Acknowledgment sent {"connection_id":160195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:09:06] local.INFO: TCP Data received {"connection_id":160195,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:09:06] local.INFO: Processing buffer {"connection_id":160195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:09:06] local.INFO: Packet analysis {"connection_id":160195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:09:06] local.INFO: Extracted packet for processing {"connection_id":160195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581360896001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787427492000,"timestamp_ms":1787427492000,"timestamp_seconds":1787427492,"priority":1,"record_length":96,"hex_timestamp":"000001a02afb10a0"} 
[2026-08-23 01:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581360896001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581360896001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:09:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581360896001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":160195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:09:07] local.INFO: GPS data processed {"connection_id":160195,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:09:07] local.INFO: Acknowledgment sent {"connection_id":160195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:09:23] local.INFO: TCP Data received {"connection_id":160399,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02afa35e0012d5d314006355420000a014330..."} 
[2026-08-23 01:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02afa35e0012d5d314006355420000a014330..."} 
[2026-08-23 01:09:23] local.INFO: Processing buffer {"connection_id":160399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02afa35e0012d5d314006355420000a014330..."} 
[2026-08-23 01:09:23] local.INFO: Packet analysis {"connection_id":160399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02afa"} 
[2026-08-23 01:09:23] local.INFO: Extracted packet for processing {"connection_id":160399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02afa"} 
[2026-08-23 01:09:23] local.INFO: GPS Element Parsed {"raw_longitude":761082176,"raw_latitude":104158240,"longitude_deg":76.1082176,"latitude_deg":10.415824,"altitude":10,"angle":323,"satellites":48,"speed":50,"hex_longitude":"2d5d3140","hex_latitude":"06355420","is_valid_coordinates":true} 
[2026-08-23 01:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581421568001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389420406940893184,"note":"Value kept but may cause issues"} 
[2026-08-23 01:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6720707676838559744,"note":"Value kept but may cause issues"} 
[2026-08-23 01:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787427436000,"timestamp_ms":1787427436000,"timestamp_seconds":1787427436,"priority":1,"record_length":96,"hex_timestamp":"000001a02afa35e0"} 
[2026-08-23 01:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 01:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:09:23] 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-08-23 01:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581421568001,"66":27223,"174":206,"78":38656,"24":50,"16":389420406940893184,"45":6720707676838559744},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-08-23 01:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581421568001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:09:23] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-23 01:09:23] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389420406940893184,"km_value":389420406940893.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6720707676838559744,"description":"Unknown IO ID 45"} 
[2026-08-23 01:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581421568001,"power":27223,"unknown_174":206,"unknown_78":38656,"ignition":50,"odometer":null,"unknown_45":6720707676838559744}} 
[2026-08-23 01:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":160399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:09:23] local.INFO: GPS data processed {"connection_id":160399,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:09:23] local.INFO: Acknowledgment sent {"connection_id":160399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:09:48] local.INFO: TCP Data received {"connection_id":162760,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:09:48] local.INFO: Processing buffer {"connection_id":162760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:09:48] local.INFO: IMEI packet received {"connection_id":162760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":162760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:09:48] local.INFO: TCP Data received {"connection_id":162760,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:09:48] local.INFO: Processing buffer {"connection_id":162760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:09:48] local.INFO: IMEI packet received {"connection_id":162760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":162760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:09:51] local.INFO: TCP Data received {"connection_id":162761,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:09:51] local.INFO: Processing buffer {"connection_id":162761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:09:51] local.INFO: IMEI packet received {"connection_id":162761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":162761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:09:53] local.INFO: TCP Data received {"connection_id":162760,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:09:53] local.INFO: Processing buffer {"connection_id":162760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:09:53] local.INFO: IMEI packet received {"connection_id":162760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":162760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:09:54] local.INFO: TCP Data received {"connection_id":162760,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02afb89b8012d5c5a000636aea00006014e30..."} 
[2026-08-23 01:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02afb89b8012d5c5a000636aea00006014e30..."} 
[2026-08-23 01:09:54] local.INFO: Processing buffer {"connection_id":162760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02afb89b8012d5c5a000636aea00006014e30..."} 
[2026-08-23 01:09:54] local.INFO: Packet analysis {"connection_id":162760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:09:54] local.INFO: Extracted packet for processing {"connection_id":162760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:09:54] local.INFO: GPS Element Parsed {"raw_longitude":761027072,"raw_latitude":104246944,"longitude_deg":76.1027072,"latitude_deg":10.4246944,"altitude":6,"angle":334,"satellites":48,"speed":46,"hex_longitude":"2d5c5a00","hex_latitude":"0636aea0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581443840001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389425466412367872,"note":"Value kept but may cause issues"} 
[2026-08-23 01:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6659416500682381312,"note":"Value kept but may cause issues"} 
[2026-08-23 01:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787427523000,"timestamp_ms":1787427523000,"timestamp_seconds":1787427523,"priority":1,"record_length":96,"hex_timestamp":"000001a02afb89b8"} 
[2026-08-23 01:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:09: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-08-23 01: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 01:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:09:54] 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-08-23 01:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581443840001,"66":27343,"220":206,"78":38656,"24":46,"16":389425466412367872,"45":6659416500682381312},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,78,24,16,45]} 
[2026-08-23 01:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581443840001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:09:54] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-23 01:09:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389425466412367872,"km_value":389425466412367.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6659416500682381312,"description":"Unknown IO ID 45"} 
[2026-08-23 01:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581443840001,"power":27343,"unknown_220":206,"unknown_78":38656,"ignition":46,"odometer":null,"unknown_45":6659416500682381312}} 
[2026-08-23 01:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":162760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:09:54] local.INFO: GPS data processed {"connection_id":162760,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:09:54] local.INFO: Acknowledgment sent {"connection_id":162760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:09:56] local.INFO: TCP Data received {"connection_id":162761,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:09:56] local.INFO: Processing buffer {"connection_id":162761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:09:56] local.INFO: IMEI packet received {"connection_id":162761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":162761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:09:57] local.INFO: TCP Data received {"connection_id":162761,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:09:57] local.INFO: Processing buffer {"connection_id":162761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:09:57] local.INFO: Packet analysis {"connection_id":162761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:09:57] local.INFO: Extracted packet for processing {"connection_id":162761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:09:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581360896001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787427492000,"timestamp_ms":1787427492000,"timestamp_seconds":1787427492,"priority":1,"record_length":96,"hex_timestamp":"000001a02afb10a0"} 
[2026-08-23 01:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581360896001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581360896001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:09:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:09:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581360896001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":162761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:09:57] local.INFO: GPS data processed {"connection_id":162761,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:09:57] local.INFO: Acknowledgment sent {"connection_id":162761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:10:25] local.INFO: TCP Data received {"connection_id":162760,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02afba8f8012d5c4a000636cf380006014d2e..."} 
[2026-08-23 01:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02afba8f8012d5c4a000636cf380006014d2e..."} 
[2026-08-23 01:10:25] local.INFO: Processing buffer {"connection_id":162760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02afba8f8012d5c4a000636cf380006014d2e..."} 
[2026-08-23 01:10:25] local.INFO: Packet analysis {"connection_id":162760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:10:25] local.INFO: Extracted packet for processing {"connection_id":162760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:10:25] local.INFO: GPS Element Parsed {"raw_longitude":761022976,"raw_latitude":104255288,"longitude_deg":76.1022976,"latitude_deg":10.4255288,"altitude":6,"angle":333,"satellites":46,"speed":46,"hex_longitude":"2d5c4a00","hex_latitude":"0636cf38","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581445888001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389425917383933952,"note":"Value kept but may cause issues"} 
[2026-08-23 01:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6654631426080546816,"note":"Value kept but may cause issues"} 
[2026-08-23 01:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787427531000,"timestamp_ms":1787427531000,"timestamp_seconds":1787427531,"priority":1,"record_length":96,"hex_timestamp":"000001a02afba8f8"} 
[2026-08-23 01:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:10: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-08-23 01:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 01:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:10:25] 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-08-23 01:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581445888001,"66":27343,"220":206,"78":38656,"24":46,"16":389425917383933952,"45":6654631426080546816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,78,24,16,45]} 
[2026-08-23 01:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581445888001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:10:25] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-23 01:10:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389425917383933952,"km_value":389425917383933.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6654631426080546816,"description":"Unknown IO ID 45"} 
[2026-08-23 01:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581445888001,"power":27343,"unknown_220":206,"unknown_78":38656,"ignition":46,"odometer":null,"unknown_45":6654631426080546816}} 
[2026-08-23 01:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":162760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:10:25] local.INFO: GPS data processed {"connection_id":162760,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:10:25] local.INFO: Acknowledgment sent {"connection_id":162760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:10:28] local.INFO: TCP Data received {"connection_id":162761,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:10:28] local.INFO: Processing buffer {"connection_id":162761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:10:28] local.INFO: Packet analysis {"connection_id":162761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:10:28] local.INFO: Extracted packet for processing {"connection_id":162761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581360896001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787427492000,"timestamp_ms":1787427492000,"timestamp_seconds":1787427492,"priority":1,"record_length":96,"hex_timestamp":"000001a02afb10a0"} 
[2026-08-23 01:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581360896001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581360896001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:10:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:10:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581360896001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":162761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:10:29] local.INFO: GPS data processed {"connection_id":162761,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:10:29] local.INFO: Acknowledgment sent {"connection_id":162761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:10:47] local.INFO: TCP Data received {"connection_id":161353,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:10:47] local.INFO: Processing buffer {"connection_id":161353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:10:47] local.INFO: IMEI packet received {"connection_id":161353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":161353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:10:52] local.INFO: TCP Data received {"connection_id":160400,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:10:52] local.INFO: Processing buffer {"connection_id":160400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:10:52] local.INFO: IMEI packet received {"connection_id":160400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":160400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:10:53] local.INFO: TCP Data received {"connection_id":161353,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:10:53] local.INFO: Processing buffer {"connection_id":161353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:10:53] local.INFO: IMEI packet received {"connection_id":161353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":161353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:10:53] local.INFO: TCP Data received {"connection_id":161353,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02afbc838012d5c39c00636ef980006014d2e..."} 
[2026-08-23 01:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02afbc838012d5c39c00636ef980006014d2e..."} 
[2026-08-23 01:10:53] local.INFO: Processing buffer {"connection_id":161353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02afbc838012d5c39c00636ef980006014d2e..."} 
[2026-08-23 01:10:53] local.INFO: Packet analysis {"connection_id":161353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:10:53] local.INFO: Extracted packet for processing {"connection_id":161353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:10:53] local.INFO: GPS Element Parsed {"raw_longitude":761018816,"raw_latitude":104263576,"longitude_deg":76.1018816,"latitude_deg":10.4263576,"altitude":6,"angle":333,"satellites":46,"speed":40,"hex_longitude":"2d5c39c0","hex_latitude":"0636ef98","is_valid_coordinates":true} 
[2026-08-23 01:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581447936001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389426364060532736,"note":"Value kept but may cause issues"} 
[2026-08-23 01:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6650127826455312384,"note":"Value kept but may cause issues"} 
[2026-08-23 01:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787427539000,"timestamp_ms":1787427539000,"timestamp_seconds":1787427539,"priority":1,"record_length":96,"hex_timestamp":"000001a02afbc838"} 
[2026-08-23 01:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:10: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-08-23 01:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 01:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:10:53] 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-08-23 01:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581447936001,"66":27365,"220":206,"78":38656,"24":40,"16":389426364060532736,"45":6650127826455312384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,78,24,16,45]} 
[2026-08-23 01:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581447936001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:10:53] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-23 01:10:53] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389426364060532736,"km_value":389426364060532.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6650127826455312384,"description":"Unknown IO ID 45"} 
[2026-08-23 01:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581447936001,"power":27365,"unknown_220":206,"unknown_78":38656,"ignition":40,"odometer":null,"unknown_45":6650127826455312384}} 
[2026-08-23 01:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":161353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:10:53] local.INFO: GPS data processed {"connection_id":161353,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:10:53] local.INFO: Acknowledgment sent {"connection_id":161353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:10:56] local.INFO: TCP Data received {"connection_id":160400,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:10:56] local.INFO: Processing buffer {"connection_id":160400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:10:56] local.INFO: IMEI packet received {"connection_id":160400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":160400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:10:57] local.INFO: TCP Data received {"connection_id":160400,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:10:57] local.INFO: Processing buffer {"connection_id":160400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:10:57] local.INFO: Packet analysis {"connection_id":160400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:10:57] local.INFO: Extracted packet for processing {"connection_id":160400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:10:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581360896001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787427492000,"timestamp_ms":1787427492000,"timestamp_seconds":1787427492,"priority":1,"record_length":96,"hex_timestamp":"000001a02afb10a0"} 
[2026-08-23 01:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:10:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581360896001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581360896001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:10:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:10:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581360896001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":160400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:10:57] local.INFO: GPS data processed {"connection_id":160400,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:10:57] local.INFO: Acknowledgment sent {"connection_id":160400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:11:26] local.INFO: TCP Data received {"connection_id":161353,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02afd3380012d5ba440063830180006015330..."} 
[2026-08-23 01:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02afd3380012d5ba440063830180006015330..."} 
[2026-08-23 01:11:26] local.INFO: Processing buffer {"connection_id":161353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02afd3380012d5ba440063830180006015330..."} 
[2026-08-23 01:11:26] local.INFO: Packet analysis {"connection_id":161353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02afd"} 
[2026-08-23 01:11:26] local.INFO: Extracted packet for processing {"connection_id":161353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02afd"} 
[2026-08-23 01:11:26] local.INFO: GPS Element Parsed {"raw_longitude":760980544,"raw_latitude":104345624,"longitude_deg":76.0980544,"latitude_deg":10.4345624,"altitude":6,"angle":339,"satellites":48,"speed":50,"hex_longitude":"2d5ba440","hex_latitude":"06383018","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581471488001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389430753517109248,"note":"Value kept but may cause issues"} 
[2026-08-23 01:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6608399161178482688,"note":"Value kept but may cause issues"} 
[2026-08-23 01:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787427632000,"timestamp_ms":1787427632000,"timestamp_seconds":1787427632,"priority":1,"record_length":96,"hex_timestamp":"000001a02afd3380"} 
[2026-08-23 01:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:11: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-08-23 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 01:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:11:26] 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-08-23 01:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581471488001,"66":27343,"84":206,"78":38656,"24":50,"16":389430753517109248,"45":6608399161178482688},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,78,24,16,45]} 
[2026-08-23 01:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581471488001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:11:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-08-23 01:11:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389430753517109248,"km_value":389430753517109.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6608399161178482688,"description":"Unknown IO ID 45"} 
[2026-08-23 01:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581471488001,"power":27343,"unknown_84":206,"unknown_78":38656,"ignition":50,"odometer":null,"unknown_45":6608399161178482688}} 
[2026-08-23 01:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":161353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:11:26] local.INFO: GPS data processed {"connection_id":161353,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:11:26] local.INFO: Acknowledgment sent {"connection_id":161353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:11:28] local.INFO: TCP Data received {"connection_id":160400,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:11:28] local.INFO: Processing buffer {"connection_id":160400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:11:28] local.INFO: Packet analysis {"connection_id":160400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:11:28] local.INFO: Extracted packet for processing {"connection_id":160400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:11:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581360896001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787427492000,"timestamp_ms":1787427492000,"timestamp_seconds":1787427492,"priority":1,"record_length":96,"hex_timestamp":"000001a02afb10a0"} 
[2026-08-23 01:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581360896001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581360896001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:11:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:11:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581360896001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":160400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:11:28] local.INFO: GPS data processed {"connection_id":160400,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:11:28] local.INFO: Acknowledgment sent {"connection_id":160400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:11:51] local.INFO: TCP Data received {"connection_id":161354,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:11:51] local.INFO: Processing buffer {"connection_id":161354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:11:51] local.INFO: IMEI packet received {"connection_id":161354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":161354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:11:52] local.INFO: TCP Data received {"connection_id":160196,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:11:52] local.INFO: Processing buffer {"connection_id":160196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:11:52] local.INFO: IMEI packet received {"connection_id":160196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":160196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:11:55] local.INFO: TCP Data received {"connection_id":160196,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:11:55] local.INFO: Processing buffer {"connection_id":160196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:11:55] local.INFO: IMEI packet received {"connection_id":160196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":160196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:11:56] local.INFO: TCP Data received {"connection_id":161354,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:11:56] local.INFO: Processing buffer {"connection_id":161354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:11:56] local.INFO: IMEI packet received {"connection_id":161354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":161354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:11:57] local.INFO: TCP Data received {"connection_id":161354,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:11:57] local.INFO: Processing buffer {"connection_id":161354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:11:57] local.INFO: Packet analysis {"connection_id":161354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:11:57] local.INFO: Extracted packet for processing {"connection_id":161354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:11:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581360896001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787427492000,"timestamp_ms":1787427492000,"timestamp_seconds":1787427492,"priority":1,"record_length":96,"hex_timestamp":"000001a02afb10a0"} 
[2026-08-23 01:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:11:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581360896001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581360896001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:11:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:11:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581360896001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":161354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:11:57] local.INFO: GPS data processed {"connection_id":161354,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:11:57] local.INFO: Acknowledgment sent {"connection_id":161354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:11:57] local.INFO: TCP Data received {"connection_id":160196,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:11:57] local.INFO: Processing buffer {"connection_id":160196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:11:57] local.INFO: IMEI packet received {"connection_id":160196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":160196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:11:58] local.INFO: TCP Data received {"connection_id":160196,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02afd4ed8012d5b9700063850c80006015330..."} 
[2026-08-23 01:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02afd4ed8012d5b9700063850c80006015330..."} 
[2026-08-23 01:11:58] local.INFO: Processing buffer {"connection_id":160196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02afd4ed8012d5b9700063850c80006015330..."} 
[2026-08-23 01:11:58] local.INFO: Packet analysis {"connection_id":160196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02afd"} 
[2026-08-23 01:11:58] local.INFO: Extracted packet for processing {"connection_id":160196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02afd"} 
[2026-08-23 01:11:58] local.INFO: GPS Element Parsed {"raw_longitude":760977152,"raw_latitude":104353992,"longitude_deg":76.0977152,"latitude_deg":10.4353992,"altitude":6,"angle":339,"satellites":48,"speed":51,"hex_longitude":"2d5b9700","hex_latitude":"063850c8","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581473792001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389431191603773440,"note":"Value kept but may cause issues"} 
[2026-08-23 01:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6603473349088647168,"note":"Value kept but may cause issues"} 
[2026-08-23 01:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787427639000,"timestamp_ms":1787427639000,"timestamp_seconds":1787427639,"priority":1,"record_length":96,"hex_timestamp":"000001a02afd4ed8"} 
[2026-08-23 01:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 01:11: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-08-23 01: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-08-23 01:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:11:58] 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-08-23 01:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581473792001,"66":27300,"84":206,"78":38656,"24":51,"16":389431191603773440,"45":6603473349088647168},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,78,24,16,45]} 
[2026-08-23 01:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581473792001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:11:58] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-08-23 01:11:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389431191603773440,"km_value":389431191603773.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6603473349088647168,"description":"Unknown IO ID 45"} 
[2026-08-23 01:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581473792001,"power":27300,"unknown_84":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6603473349088647168}} 
[2026-08-23 01:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":160196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:11:58] local.INFO: GPS data processed {"connection_id":160196,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:11:58] local.INFO: Acknowledgment sent {"connection_id":160196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:12:28] local.INFO: TCP Data received {"connection_id":161354,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:12:28] local.INFO: Processing buffer {"connection_id":161354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:12:28] local.INFO: Packet analysis {"connection_id":161354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:12:28] local.INFO: Extracted packet for processing {"connection_id":161354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581360896001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787427492000,"timestamp_ms":1787427492000,"timestamp_seconds":1787427492,"priority":1,"record_length":96,"hex_timestamp":"000001a02afb10a0"} 
[2026-08-23 01:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581360896001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581360896001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:12:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:12:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581360896001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":161354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:12:28] local.INFO: GPS data processed {"connection_id":161354,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:12:28] local.INFO: Acknowledgment sent {"connection_id":161354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:12:30] local.INFO: TCP Data received {"connection_id":160196,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02afd6e18012d5b8800063877100006015230..."} 
[2026-08-23 01:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02afd6e18012d5b8800063877100006015230..."} 
[2026-08-23 01:12:30] local.INFO: Processing buffer {"connection_id":160196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02afd6e18012d5b8800063877100006015230..."} 
[2026-08-23 01:12:30] local.INFO: Packet analysis {"connection_id":160196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02afd"} 
[2026-08-23 01:12:30] local.INFO: Extracted packet for processing {"connection_id":160196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02afd"} 
[2026-08-23 01:12:30] local.INFO: GPS Element Parsed {"raw_longitude":760973312,"raw_latitude":104363792,"longitude_deg":76.0973312,"latitude_deg":10.4363792,"altitude":6,"angle":338,"satellites":48,"speed":53,"hex_longitude":"2d5b8800","hex_latitude":"06387710","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581475584001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389431698409914368,"note":"Value kept but may cause issues"} 
[2026-08-23 01:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6599743805649373184,"note":"Value kept but may cause issues"} 
[2026-08-23 01:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787427647000,"timestamp_ms":1787427647000,"timestamp_seconds":1787427647,"priority":1,"record_length":96,"hex_timestamp":"000001a02afd6e18"} 
[2026-08-23 01:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 01:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:12:30] 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-08-23 01:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581475584001,"66":27397,"84":206,"78":38656,"24":53,"16":389431698409914368,"45":6599743805649373184},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,78,24,16,45]} 
[2026-08-23 01:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581475584001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:12:30] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-08-23 01:12:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389431698409914368,"km_value":389431698409914.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6599743805649373184,"description":"Unknown IO ID 45"} 
[2026-08-23 01:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581475584001,"power":27397,"unknown_84":206,"unknown_78":38656,"ignition":53,"odometer":null,"unknown_45":6599743805649373184}} 
[2026-08-23 01:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":160196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:12:30] local.INFO: GPS data processed {"connection_id":160196,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:12:30] local.INFO: Acknowledgment sent {"connection_id":160196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:12:51] local.INFO: TCP Data received {"connection_id":161355,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:12:51] local.INFO: Processing buffer {"connection_id":161355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:12:51] local.INFO: IMEI packet received {"connection_id":161355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":161355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:12:56] local.INFO: TCP Data received {"connection_id":161355,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:12:56] local.INFO: Processing buffer {"connection_id":161355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:12:56] local.INFO: IMEI packet received {"connection_id":161355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":161355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:12:57] local.INFO: TCP Data received {"connection_id":161355,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:12:57] local.INFO: Processing buffer {"connection_id":161355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:12:57] local.INFO: Packet analysis {"connection_id":161355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:12:57] local.INFO: Extracted packet for processing {"connection_id":161355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:12:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581360896001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787427492000,"timestamp_ms":1787427492000,"timestamp_seconds":1787427492,"priority":1,"record_length":96,"hex_timestamp":"000001a02afb10a0"} 
[2026-08-23 01:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581360896001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581360896001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:12:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:12:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581360896001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":161355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:12:57] local.INFO: GPS data processed {"connection_id":161355,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:12:57] local.INFO: Acknowledgment sent {"connection_id":161355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:13:02] local.INFO: TCP Data received {"connection_id":160401,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:13:02] local.INFO: Processing buffer {"connection_id":160401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:13:02] local.INFO: IMEI packet received {"connection_id":160401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":160401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:13:08] local.INFO: TCP Data received {"connection_id":160401,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:13:08] local.INFO: Processing buffer {"connection_id":160401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:13:08] local.INFO: IMEI packet received {"connection_id":160401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":160401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:13:08] local.INFO: TCP Data received {"connection_id":160401,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02afd8d58012d5b748006389ca00007014731..."} 
[2026-08-23 01:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02afd8d58012d5b748006389ca00007014731..."} 
[2026-08-23 01:13:08] local.INFO: Processing buffer {"connection_id":160401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02afd8d58012d5b748006389ca00007014731..."} 
[2026-08-23 01:13:08] local.INFO: Packet analysis {"connection_id":160401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02afd"} 
[2026-08-23 01:13:08] local.INFO: Extracted packet for processing {"connection_id":160401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02afd"} 
[2026-08-23 01:13:08] local.INFO: GPS Element Parsed {"raw_longitude":760968320,"raw_latitude":104373408,"longitude_deg":76.096832,"latitude_deg":10.4373408,"altitude":7,"angle":327,"satellites":49,"speed":54,"hex_longitude":"2d5b7480","hex_latitude":"06389ca0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581477632001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389432222395924480,"note":"Value kept but may cause issues"} 
[2026-08-23 01:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6595521681001222144,"note":"Value kept but may cause issues"} 
[2026-08-23 01:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787427655000,"timestamp_ms":1787427655000,"timestamp_seconds":1787427655,"priority":1,"record_length":96,"hex_timestamp":"000001a02afd8d58"} 
[2026-08-23 01:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:13: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-08-23 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 01:13: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-08-23 01: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-08-23 01:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:13:08] 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-08-23 01:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581477632001,"66":27376,"84":206,"78":38656,"24":54,"16":389432222395924480,"45":6595521681001222144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,78,24,16,45]} 
[2026-08-23 01:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581477632001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:13:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-08-23 01:13:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389432222395924480,"km_value":389432222395924.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6595521681001222144,"description":"Unknown IO ID 45"} 
[2026-08-23 01:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581477632001,"power":27376,"unknown_84":206,"unknown_78":38656,"ignition":54,"odometer":null,"unknown_45":6595521681001222144}} 
[2026-08-23 01:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":160401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:13:08] local.INFO: GPS data processed {"connection_id":160401,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:13:08] local.INFO: Acknowledgment sent {"connection_id":160401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:13:28] local.INFO: TCP Data received {"connection_id":161355,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:13:28] local.INFO: Processing buffer {"connection_id":161355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02afb10a0012d196540071ff1b00044013729..."} 
[2026-08-23 01:13:28] local.INFO: Packet analysis {"connection_id":161355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:13:28] local.INFO: Extracted packet for processing {"connection_id":161355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02afb"} 
[2026-08-23 01:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581360896001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787427492000,"timestamp_ms":1787427492000,"timestamp_seconds":1787427492,"priority":1,"record_length":96,"hex_timestamp":"000001a02afb10a0"} 
[2026-08-23 01:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581360896001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581360896001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:13:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:13:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581360896001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":161355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:13:28] local.INFO: GPS data processed {"connection_id":161355,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:13:28] local.INFO: Acknowledgment sent {"connection_id":161355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:13:47] local.INFO: TCP Data received {"connection_id":160197,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:13:47] local.INFO: Processing buffer {"connection_id":160197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:13:47] local.INFO: IMEI packet received {"connection_id":160197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":160197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:13:53] local.INFO: TCP Data received {"connection_id":160197,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:13:53] local.INFO: Processing buffer {"connection_id":160197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:13:53] local.INFO: IMEI packet received {"connection_id":160197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":160197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:13:53] local.INFO: TCP Data received {"connection_id":160197,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aff2398012d5a9980063a3f78000f016131..."} 
[2026-08-23 01:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aff2398012d5a9980063a3f78000f016131..."} 
[2026-08-23 01:13:53] local.INFO: Processing buffer {"connection_id":160197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aff2398012d5a9980063a3f78000f016131..."} 
[2026-08-23 01:13:53] local.INFO: Packet analysis {"connection_id":160197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:13:53] local.INFO: Extracted packet for processing {"connection_id":160197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:13:53] local.INFO: GPS Element Parsed {"raw_longitude":760912256,"raw_latitude":104480632,"longitude_deg":76.0912256,"latitude_deg":10.4480632,"altitude":15,"angle":353,"satellites":49,"speed":32,"hex_longitude":"2d5a9980","hex_latitude":"063a3f78","is_valid_coordinates":true} 
[2026-08-23 01:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581503744001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389438119386021888,"note":"Value kept but may cause issues"} 
[2026-08-23 01:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6530149117687822336,"note":"Value kept but may cause issues"} 
[2026-08-23 01:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787427759000,"timestamp_ms":1787427759000,"timestamp_seconds":1787427759,"priority":1,"record_length":96,"hex_timestamp":"000001a02aff2398"} 
[2026-08-23 01:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:13: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-08-23 01:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 01:13: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-08-23 01:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:13:53] 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-08-23 01:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581503744001,"66":26604,"253":206,"78":38656,"24":32,"16":389438119386021888,"45":6530149117687822336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,78,24,16,45]} 
[2026-08-23 01:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581503744001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:13:53] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-23 01:13:53] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389438119386021888,"km_value":389438119386021.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6530149117687822336,"description":"Unknown IO ID 45"} 
[2026-08-23 01:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581503744001,"power":26604,"unknown_253":206,"unknown_78":38656,"ignition":32,"odometer":null,"unknown_45":6530149117687822336}} 
[2026-08-23 01:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":160197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:13:53] local.INFO: GPS data processed {"connection_id":160197,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:13:53] local.INFO: Acknowledgment sent {"connection_id":160197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:13:56] local.INFO: TCP Data received {"connection_id":162762,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:13:56] local.INFO: Processing buffer {"connection_id":162762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:13:56] local.INFO: IMEI packet received {"connection_id":162762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":162762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:14:01] local.INFO: TCP Data received {"connection_id":162762,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:14:01] local.INFO: Processing buffer {"connection_id":162762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:14:01] local.INFO: IMEI packet received {"connection_id":162762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":162762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:14:02] local.INFO: TCP Data received {"connection_id":162762,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:14:02] local.INFO: Processing buffer {"connection_id":162762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:14:02] local.INFO: Packet analysis {"connection_id":162762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:14:02] local.INFO: Extracted packet for processing {"connection_id":162762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:14:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581437952001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787427793000,"timestamp_ms":1787427793000,"timestamp_seconds":1787427793,"priority":1,"record_length":96,"hex_timestamp":"000001a02affa868"} 
[2026-08-23 01:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581437952001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581437952001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:14:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:14:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581437952001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":162762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:14:02] local.INFO: GPS data processed {"connection_id":162762,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:14:02] local.INFO: Acknowledgment sent {"connection_id":162762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:14:06] local.INFO: TCP Data received {"connection_id":162762,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:14:06] local.INFO: Processing buffer {"connection_id":162762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:14:06] local.INFO: Packet analysis {"connection_id":162762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:14:06] local.INFO: Extracted packet for processing {"connection_id":162762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581437952001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787427793000,"timestamp_ms":1787427793000,"timestamp_seconds":1787427793,"priority":1,"record_length":96,"hex_timestamp":"000001a02affa868"} 
[2026-08-23 01:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581437952001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581437952001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:14:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581437952001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":162762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:14:07] local.INFO: GPS data processed {"connection_id":162762,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:14:07] local.INFO: Acknowledgment sent {"connection_id":162762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:14:24] local.INFO: TCP Data received {"connection_id":160197,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02aff3b08012d5a9980063a54d0000e00032f..."} 
[2026-08-23 01:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02aff3b08012d5a9980063a54d0000e00032f..."} 
[2026-08-23 01:14:24] local.INFO: Processing buffer {"connection_id":160197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02aff3b08012d5a9980063a54d0000e00032f..."} 
[2026-08-23 01:14:24] local.INFO: Packet analysis {"connection_id":160197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:14:24] local.INFO: Extracted packet for processing {"connection_id":160197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:14:24] local.INFO: GPS Element Parsed {"raw_longitude":760912256,"raw_latitude":104486096,"longitude_deg":76.0912256,"latitude_deg":10.4486096,"altitude":14,"angle":3,"satellites":47,"speed":39,"hex_longitude":"2d5a9980","hex_latitude":"063a54d0","is_valid_coordinates":true} 
[2026-08-23 01:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581506304001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389438385673994240,"note":"Value kept but may cause issues"} 
[2026-08-23 01:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6528389899085641728,"note":"Value kept but may cause issues"} 
[2026-08-23 01:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787427765000,"timestamp_ms":1787427765000,"timestamp_seconds":1787427765,"priority":1,"record_length":96,"hex_timestamp":"000001a02aff3b08"} 
[2026-08-23 01:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:14: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-08-23 01:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-08-23 01:14:24] 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-08-23 01:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:14:24] 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-08-23 01:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581506304001,"66":27539,"253":206,"78":38656,"24":39,"16":389438385673994240,"45":6528389899085641728},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,78,24,16,45]} 
[2026-08-23 01:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581506304001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:14:24] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-23 01:14:24] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389438385673994240,"km_value":389438385673994.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6528389899085641728,"description":"Unknown IO ID 45"} 
[2026-08-23 01:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581506304001,"power":27539,"unknown_253":206,"unknown_78":38656,"ignition":39,"odometer":null,"unknown_45":6528389899085641728}} 
[2026-08-23 01:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":160197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:14:24] local.INFO: GPS data processed {"connection_id":160197,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:14:24] local.INFO: Acknowledgment sent {"connection_id":160197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:14:47] local.INFO: TCP Data received {"connection_id":162763,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:14:47] local.INFO: Processing buffer {"connection_id":162763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:14:47] local.INFO: IMEI packet received {"connection_id":162763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":162763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:14:48] local.INFO: TCP Data received {"connection_id":162763,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:14:48] local.INFO: Processing buffer {"connection_id":162763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:14:48] local.INFO: IMEI packet received {"connection_id":162763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":162763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:14:51] local.INFO: TCP Data received {"connection_id":160198,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:14:51] local.INFO: Processing buffer {"connection_id":160198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:14:51] local.INFO: IMEI packet received {"connection_id":160198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":160198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:14:53] local.INFO: TCP Data received {"connection_id":162763,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:14:53] local.INFO: Processing buffer {"connection_id":162763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:14:53] local.INFO: IMEI packet received {"connection_id":162763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":162763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:14:53] local.INFO: TCP Data received {"connection_id":162763,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0040c0012d5abf00063b95380007015330..."} 
[2026-08-23 01:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0040c0012d5abf00063b95380007015330..."} 
[2026-08-23 01:14:53] local.INFO: Processing buffer {"connection_id":162763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0040c0012d5abf00063b95380007015330..."} 
[2026-08-23 01:14:53] local.INFO: Packet analysis {"connection_id":162763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b00"} 
[2026-08-23 01:14:53] local.INFO: Extracted packet for processing {"connection_id":162763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b00"} 
[2026-08-23 01:14:53] local.INFO: GPS Element Parsed {"raw_longitude":760921856,"raw_latitude":104568120,"longitude_deg":76.0921856,"latitude_deg":10.456812,"altitude":7,"angle":339,"satellites":48,"speed":46,"hex_longitude":"2d5abf00","hex_latitude":"063b9538","is_valid_coordinates":true} 
[2026-08-23 01:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581522944001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389442547497304064,"note":"Value kept but may cause issues"} 
[2026-08-23 01:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6542393279197186048,"note":"Value kept but may cause issues"} 
[2026-08-23 01:14:53] 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-08-23 01:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787427832000,"timestamp_ms":1787427832000,"timestamp_seconds":1787427832,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0040c0"} 
[2026-08-23 01:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:14: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-08-23 01:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 01:14: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-08-23 01:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:14:53] 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-08-23 01:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581522944001,"66":27267,"13":206,"78":38656,"24":46,"16":389442547497304064,"45":6542393279197186048},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-08-23 01:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581522944001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:14:53] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-23 01:14:53] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389442547497304064,"km_value":389442547497304.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6542393279197186048,"description":"Unknown IO ID 45"} 
[2026-08-23 01:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581522944001,"power":27267,"unknown_13":206,"unknown_78":38656,"ignition":46,"odometer":null,"unknown_45":6542393279197186048}} 
[2026-08-23 01:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":162763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:14:53] local.INFO: GPS data processed {"connection_id":162763,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:14:53] local.INFO: Acknowledgment sent {"connection_id":162763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:14:56] local.INFO: TCP Data received {"connection_id":160198,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:14:56] local.INFO: Processing buffer {"connection_id":160198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:14:56] local.INFO: IMEI packet received {"connection_id":160198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":160198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:14:57] local.INFO: TCP Data received {"connection_id":160198,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:14:57] local.INFO: Processing buffer {"connection_id":160198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:14:57] local.INFO: Packet analysis {"connection_id":160198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:14:57] local.INFO: Extracted packet for processing {"connection_id":160198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:14:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581437952001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787427793000,"timestamp_ms":1787427793000,"timestamp_seconds":1787427793,"priority":1,"record_length":96,"hex_timestamp":"000001a02affa868"} 
[2026-08-23 01:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581437952001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581437952001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:14:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:14:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581437952001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":160198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:14:57] local.INFO: GPS data processed {"connection_id":160198,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:14:57] local.INFO: Acknowledgment sent {"connection_id":160198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:15:25] local.INFO: TCP Data received {"connection_id":162763,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b006000012d5ab380063bb660000901552f..."} 
[2026-08-23 01:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b006000012d5ab380063bb660000901552f..."} 
[2026-08-23 01:15:25] local.INFO: Processing buffer {"connection_id":162763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b006000012d5ab380063bb660000901552f..."} 
[2026-08-23 01:15:25] local.INFO: Packet analysis {"connection_id":162763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b00"} 
[2026-08-23 01:15:25] local.INFO: Extracted packet for processing {"connection_id":162763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b00"} 
[2026-08-23 01:15:25] local.INFO: GPS Element Parsed {"raw_longitude":760918912,"raw_latitude":104576608,"longitude_deg":76.0918912,"latitude_deg":10.4576608,"altitude":9,"angle":341,"satellites":47,"speed":43,"hex_longitude":"2d5ab380","hex_latitude":"063bb660","is_valid_coordinates":true} 
[2026-08-23 01:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581524992001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389442985583968256,"note":"Value kept but may cause issues"} 
[2026-08-23 01:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6538945210734688256,"note":"Value kept but may cause issues"} 
[2026-08-23 01:15:25] 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-08-23 01:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787427840000,"timestamp_ms":1787427840000,"timestamp_seconds":1787427840,"priority":1,"record_length":96,"hex_timestamp":"000001a02b006000"} 
[2026-08-23 01:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:15: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-08-23 01:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 01:15:25] 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-08-23 01:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:15:25] 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-08-23 01:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581524992001,"66":27310,"13":206,"78":38656,"24":43,"16":389442985583968256,"45":6538945210734688256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-08-23 01:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581524992001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:15:25] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-23 01:15:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389442985583968256,"km_value":389442985583968.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6538945210734688256,"description":"Unknown IO ID 45"} 
[2026-08-23 01:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581524992001,"power":27310,"unknown_13":206,"unknown_78":38656,"ignition":43,"odometer":null,"unknown_45":6538945210734688256}} 
[2026-08-23 01:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":162763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:15:25] local.INFO: GPS data processed {"connection_id":162763,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:15:25] local.INFO: Acknowledgment sent {"connection_id":162763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:15:28] local.INFO: TCP Data received {"connection_id":160198,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:15:28] local.INFO: Processing buffer {"connection_id":160198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:15:28] local.INFO: Packet analysis {"connection_id":160198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:15:28] local.INFO: Extracted packet for processing {"connection_id":160198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:15:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581437952001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787427793000,"timestamp_ms":1787427793000,"timestamp_seconds":1787427793,"priority":1,"record_length":96,"hex_timestamp":"000001a02affa868"} 
[2026-08-23 01:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581437952001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581437952001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:15:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:15:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581437952001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":160198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:15:28] local.INFO: GPS data processed {"connection_id":160198,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:15:28] local.INFO: Acknowledgment sent {"connection_id":160198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:15:51] local.INFO: TCP Data received {"connection_id":162764,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:15:51] local.INFO: Processing buffer {"connection_id":162764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:15:51] local.INFO: IMEI packet received {"connection_id":162764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":162764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:15:53] local.INFO: TCP Data received {"connection_id":161356,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:15:53] local.INFO: Processing buffer {"connection_id":161356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:15:53] local.INFO: IMEI packet received {"connection_id":161356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":161356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:15:53] local.INFO: TCP Data received {"connection_id":161356,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:15:53] local.INFO: Processing buffer {"connection_id":161356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:15:53] local.INFO: IMEI packet received {"connection_id":161356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":161356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:15:56] local.INFO: TCP Data received {"connection_id":162764,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:15:56] local.INFO: Processing buffer {"connection_id":162764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:15:56] local.INFO: IMEI packet received {"connection_id":162764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":162764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:15:57] local.INFO: TCP Data received {"connection_id":162764,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:15:57] local.INFO: Processing buffer {"connection_id":162764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:15:57] local.INFO: Packet analysis {"connection_id":162764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:15:57] local.INFO: Extracted packet for processing {"connection_id":162764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:15:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581437952001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787427793000,"timestamp_ms":1787427793000,"timestamp_seconds":1787427793,"priority":1,"record_length":96,"hex_timestamp":"000001a02affa868"} 
[2026-08-23 01:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581437952001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581437952001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:15:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:15:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581437952001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":162764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:15:57] local.INFO: GPS data processed {"connection_id":162764,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:15:57] local.INFO: Acknowledgment sent {"connection_id":162764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:15:58] local.INFO: TCP Data received {"connection_id":161356,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:15:58] local.INFO: Processing buffer {"connection_id":161356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:15:58] local.INFO: IMEI packet received {"connection_id":161356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":161356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:15:58] local.INFO: TCP Data received {"connection_id":161356,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b008328012d5aa740063bdac8000901562f..."} 
[2026-08-23 01:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b008328012d5aa740063bdac8000901562f..."} 
[2026-08-23 01:15:58] local.INFO: Processing buffer {"connection_id":161356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b008328012d5aa740063bdac8000901562f..."} 
[2026-08-23 01:15:58] local.INFO: Packet analysis {"connection_id":161356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b00"} 
[2026-08-23 01:15:58] local.INFO: Extracted packet for processing {"connection_id":161356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b00"} 
[2026-08-23 01:15:58] local.INFO: GPS Element Parsed {"raw_longitude":760915776,"raw_latitude":104585928,"longitude_deg":76.0915776,"latitude_deg":10.4585928,"altitude":9,"angle":342,"satellites":47,"speed":45,"hex_longitude":"2d5aa740","hex_latitude":"063bdac8","is_valid_coordinates":true} 
[2026-08-23 01:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581527040001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389443458030370816,"note":"Value kept but may cause issues"} 
[2026-08-23 01:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6535708248504688640,"note":"Value kept but may cause issues"} 
[2026-08-23 01:15:58] 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-08-23 01:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787427849000,"timestamp_ms":1787427849000,"timestamp_seconds":1787427849,"priority":1,"record_length":96,"hex_timestamp":"000001a02b008328"} 
[2026-08-23 01:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-23 01:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:15:58] 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-08-23 01:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581527040001,"66":27343,"13":206,"78":38656,"24":45,"16":389443458030370816,"45":6535708248504688640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-08-23 01:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581527040001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:15:58] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-23 01:15:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389443458030370816,"km_value":389443458030370.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6535708248504688640,"description":"Unknown IO ID 45"} 
[2026-08-23 01:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581527040001,"power":27343,"unknown_13":206,"unknown_78":38656,"ignition":45,"odometer":null,"unknown_45":6535708248504688640}} 
[2026-08-23 01:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":161356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:15:58] local.INFO: GPS data processed {"connection_id":161356,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:15:58] local.INFO: Acknowledgment sent {"connection_id":161356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:15:59] local.INFO: TCP Data received {"connection_id":161356,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b00a268012d5a9b00063bff500006015430..."} 
[2026-08-23 01:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b00a268012d5a9b00063bff500006015430..."} 
[2026-08-23 01:15:59] local.INFO: Processing buffer {"connection_id":161356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b00a268012d5a9b00063bff500006015430..."} 
[2026-08-23 01:15:59] local.INFO: Packet analysis {"connection_id":161356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b00"} 
[2026-08-23 01:15:59] local.INFO: Extracted packet for processing {"connection_id":161356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b00"} 
[2026-08-23 01:15:59] local.INFO: GPS Element Parsed {"raw_longitude":760912640,"raw_latitude":104595280,"longitude_deg":76.091264,"latitude_deg":10.459528,"altitude":6,"angle":340,"satellites":48,"speed":51,"hex_longitude":"2d5a9b00","hex_latitude":"063bff50","is_valid_coordinates":true} 
[2026-08-23 01:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581529344001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389443939066707968,"note":"Value kept but may cause issues"} 
[2026-08-23 01:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6532260180042369024,"note":"Value kept but may cause issues"} 
[2026-08-23 01:15:59] 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-08-23 01:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787427857000,"timestamp_ms":1787427857000,"timestamp_seconds":1787427857,"priority":1,"record_length":96,"hex_timestamp":"000001a02b00a268"} 
[2026-08-23 01:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:15: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-08-23 01:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 01:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:15:59] 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-08-23 01:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581529344001,"66":27267,"13":206,"78":38656,"24":51,"16":389443939066707968,"45":6532260180042369024},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-08-23 01:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581529344001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:15:59] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-23 01:15:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389443939066707968,"km_value":389443939066707.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6532260180042369024,"description":"Unknown IO ID 45"} 
[2026-08-23 01:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581529344001,"power":27267,"unknown_13":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6532260180042369024}} 
[2026-08-23 01:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":161356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:15:59] local.INFO: GPS data processed {"connection_id":161356,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:15:59] local.INFO: Acknowledgment sent {"connection_id":161356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:16:28] local.INFO: TCP Data received {"connection_id":162764,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:16:28] local.INFO: Processing buffer {"connection_id":162764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:16:28] local.INFO: Packet analysis {"connection_id":162764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:16:28] local.INFO: Extracted packet for processing {"connection_id":162764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:16:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581437952001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787427793000,"timestamp_ms":1787427793000,"timestamp_seconds":1787427793,"priority":1,"record_length":96,"hex_timestamp":"000001a02affa868"} 
[2026-08-23 01:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581437952001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581437952001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:16:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:16:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581437952001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":162764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:16:28] local.INFO: GPS data processed {"connection_id":162764,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:16:28] local.INFO: Acknowledgment sent {"connection_id":162764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:16:31] local.INFO: TCP Data received {"connection_id":161356,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b00bdc0012d5a8fc0063c20d0000501562f..."} 
[2026-08-23 01:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b00bdc0012d5a8fc0063c20d0000501562f..."} 
[2026-08-23 01:16:31] local.INFO: Processing buffer {"connection_id":161356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b00bdc0012d5a8fc0063c20d0000501562f..."} 
[2026-08-23 01:16:31] local.INFO: Packet analysis {"connection_id":161356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b00"} 
[2026-08-23 01:16:31] local.INFO: Extracted packet for processing {"connection_id":161356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b00"} 
[2026-08-23 01:16:31] local.INFO: GPS Element Parsed {"raw_longitude":760909760,"raw_latitude":104603856,"longitude_deg":76.090976,"latitude_deg":10.4603856,"altitude":5,"angle":342,"satellites":47,"speed":50,"hex_longitude":"2d5a8fc0","hex_latitude":"063c20d0","is_valid_coordinates":true} 
[2026-08-23 01:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581531392001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389444377153372160,"note":"Value kept but may cause issues"} 
[2026-08-23 01:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6528812111580057600,"note":"Value kept but may cause issues"} 
[2026-08-23 01:16:31] 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-08-23 01:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787427864000,"timestamp_ms":1787427864000,"timestamp_seconds":1787427864,"priority":1,"record_length":96,"hex_timestamp":"000001a02b00bdc0"} 
[2026-08-23 01:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 01:16: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-08-23 01:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:16:31] 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-08-23 01:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581531392001,"66":27365,"13":206,"78":38656,"24":50,"16":389444377153372160,"45":6528812111580057600},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-08-23 01:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581531392001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:16:31] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-23 01:16:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389444377153372160,"km_value":389444377153372.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6528812111580057600,"description":"Unknown IO ID 45"} 
[2026-08-23 01:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581531392001,"power":27365,"unknown_13":206,"unknown_78":38656,"ignition":50,"odometer":null,"unknown_45":6528812111580057600}} 
[2026-08-23 01:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":161356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:16:31] local.INFO: GPS data processed {"connection_id":161356,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:16:31] local.INFO: Acknowledgment sent {"connection_id":161356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:16:47] local.INFO: TCP Data received {"connection_id":160199,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:16:47] local.INFO: Processing buffer {"connection_id":160199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:16:47] local.INFO: IMEI packet received {"connection_id":160199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":160199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:16:47] local.INFO: TCP Data received {"connection_id":160199,"ip":"42.109.136.3","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 01:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160199,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 01:16:47] local.INFO: Processing buffer {"connection_id":160199,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 01:16:47] local.INFO: IMEI packet received {"connection_id":160199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":160199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:16:51] local.INFO: TCP Data received {"connection_id":161357,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:16:51] local.INFO: Processing buffer {"connection_id":161357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:16:51] local.INFO: IMEI packet received {"connection_id":161357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":161357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:16:53] local.INFO: TCP Data received {"connection_id":160199,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:16:53] local.INFO: Processing buffer {"connection_id":160199,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 01:16:53] local.INFO: IMEI packet received {"connection_id":160199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":160199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:16:53] local.INFO: TCP Data received {"connection_id":160199,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b00dd00012d5a8440063c45880006015530..."} 
[2026-08-23 01:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b00dd00012d5a8440063c45880006015530..."} 
[2026-08-23 01:16:53] local.INFO: Processing buffer {"connection_id":160199,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a02b..."} 
[2026-08-23 01:16:53] local.INFO: IMEI packet received {"connection_id":160199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":160199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:16:56] local.INFO: TCP Data received {"connection_id":161357,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:16:56] local.INFO: Processing buffer {"connection_id":161357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:16:56] local.INFO: IMEI packet received {"connection_id":161357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":161357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:16:57] local.INFO: TCP Data received {"connection_id":161357,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:16:57] local.INFO: Processing buffer {"connection_id":161357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:16:57] local.INFO: Packet analysis {"connection_id":161357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:16:57] local.INFO: Extracted packet for processing {"connection_id":161357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:16:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581437952001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787427793000,"timestamp_ms":1787427793000,"timestamp_seconds":1787427793,"priority":1,"record_length":96,"hex_timestamp":"000001a02affa868"} 
[2026-08-23 01:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581437952001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581437952001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:16:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:16:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581437952001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":161357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:16:57] local.INFO: GPS data processed {"connection_id":161357,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:16:57] local.INFO: Acknowledgment sent {"connection_id":161357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:16:58] local.INFO: TCP Data received {"connection_id":160199,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b00fc40012d5a7940063c68a00006015731..."} 
[2026-08-23 01:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b00fc40012d5a7940063c68a00006015731..."} 
[2026-08-23 01:16:58] local.INFO: Processing buffer {"connection_id":160199,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a02b00dd00012d5a8440063c45880006015530..."} 
[2026-08-23 01:16:58] local.INFO: Packet analysis {"connection_id":160199,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02b00"} 
[2026-08-23 01:16:58] local.INFO: Extracted packet for processing {"connection_id":160199,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b00"} 
[2026-08-23 01:16:58] local.INFO: GPS Element Parsed {"raw_longitude":760906816,"raw_latitude":104613256,"longitude_deg":76.0906816,"latitude_deg":10.4613256,"altitude":6,"angle":341,"satellites":48,"speed":47,"hex_longitude":"2d5a8440","hex_latitude":"063c4588","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581533184001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389444853894742016,"note":"Value kept but may cause issues"} 
[2026-08-23 01:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6525645518094258176,"note":"Value kept but may cause issues"} 
[2026-08-23 01:16:58] 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-08-23 01:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787427872000,"timestamp_ms":1787427872000,"timestamp_seconds":1787427872,"priority":1,"record_length":96,"hex_timestamp":"000001a02b00dd00"} 
[2026-08-23 01:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 01:16: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-08-23 01: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-08-23 01:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:16:58] 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-08-23 01:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581533184001,"66":27234,"13":206,"78":38656,"24":47,"16":389444853894742016,"45":6525645518094258176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-08-23 01:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581533184001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:16:58] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-23 01:16:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389444853894742016,"km_value":389444853894742.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6525645518094258176,"description":"Unknown IO ID 45"} 
[2026-08-23 01:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581533184001,"power":27234,"unknown_13":206,"unknown_78":38656,"ignition":47,"odometer":null,"unknown_45":6525645518094258176}} 
[2026-08-23 01:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":160199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:16:58] local.INFO: GPS data processed {"connection_id":160199,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:16:58] local.INFO: Acknowledgment sent {"connection_id":160199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:16:58] local.INFO: Packet analysis {"connection_id":160199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b00"} 
[2026-08-23 01:16:58] local.INFO: Extracted packet for processing {"connection_id":160199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b00"} 
[2026-08-23 01:16:58] local.INFO: GPS Element Parsed {"raw_longitude":760904000,"raw_latitude":104622240,"longitude_deg":76.0904,"latitude_deg":10.462224,"altitude":6,"angle":343,"satellites":49,"speed":45,"hex_longitude":"2d5a7940","hex_latitude":"063c68a0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581535232001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389445309161275392,"note":"Value kept but may cause issues"} 
[2026-08-23 01:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6522408555864492032,"note":"Value kept but may cause issues"} 
[2026-08-23 01:16:58] 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-08-23 01:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787427880000,"timestamp_ms":1787427880000,"timestamp_seconds":1787427880,"priority":1,"record_length":96,"hex_timestamp":"000001a02b00fc40"} 
[2026-08-23 01:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 01:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:16:58] 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-08-23 01:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581535232001,"66":27332,"13":206,"78":38656,"24":45,"16":389445309161275392,"45":6522408555864492032},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-08-23 01:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581535232001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:16:58] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-23 01:16:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389445309161275392,"km_value":389445309161275.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6522408555864492032,"description":"Unknown IO ID 45"} 
[2026-08-23 01:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581535232001,"power":27332,"unknown_13":206,"unknown_78":38656,"ignition":45,"odometer":null,"unknown_45":6522408555864492032}} 
[2026-08-23 01:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":160199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:16:58] local.INFO: GPS data processed {"connection_id":160199,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:16:58] local.INFO: Acknowledgment sent {"connection_id":160199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:17:28] local.INFO: TCP Data received {"connection_id":161357,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:17:28] local.INFO: Processing buffer {"connection_id":161357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:17:28] local.INFO: Packet analysis {"connection_id":161357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:17:28] local.INFO: Extracted packet for processing {"connection_id":161357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:17:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581437952001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787427793000,"timestamp_ms":1787427793000,"timestamp_seconds":1787427793,"priority":1,"record_length":96,"hex_timestamp":"000001a02affa868"} 
[2026-08-23 01:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581437952001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581437952001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:17:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:17:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581437952001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":161357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:17:28] local.INFO: GPS data processed {"connection_id":161357,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:17:28] local.INFO: Acknowledgment sent {"connection_id":161357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:17:29] local.INFO: TCP Data received {"connection_id":160199,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b028e98012d59fb00063db8e80004014f2f..."} 
[2026-08-23 01:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b028e98012d59fb00063db8e80004014f2f..."} 
[2026-08-23 01:17:29] local.INFO: Processing buffer {"connection_id":160199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b028e98012d59fb00063db8e80004014f2f..."} 
[2026-08-23 01:17:29] local.INFO: Packet analysis {"connection_id":160199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b02"} 
[2026-08-23 01:17:29] local.INFO: Extracted packet for processing {"connection_id":160199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b02"} 
[2026-08-23 01:17:29] local.INFO: GPS Element Parsed {"raw_longitude":760871680,"raw_latitude":104708328,"longitude_deg":76.087168,"latitude_deg":10.4708328,"altitude":4,"angle":335,"satellites":47,"speed":29,"hex_longitude":"2d59fb00","hex_latitude":"063db8e8","is_valid_coordinates":true} 
[2026-08-23 01:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581559808001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389449763042361344,"note":"Value kept but may cause issues"} 
[2026-08-23 01:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6488209346216396800,"note":"Value kept but may cause issues"} 
[2026-08-23 01:17:29] 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-08-23 01:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787427983000,"timestamp_ms":1787427983000,"timestamp_seconds":1787427983,"priority":1,"record_length":96,"hex_timestamp":"000001a02b028e98"} 
[2026-08-23 01:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:17: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-08-23 01:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 01:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:17:29] 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-08-23 01:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581559808001,"66":27376,"13":206,"78":38656,"24":29,"16":389449763042361344,"45":6488209346216396800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-08-23 01:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581559808001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:17:29] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-23 01:17:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389449763042361344,"km_value":389449763042361.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6488209346216396800,"description":"Unknown IO ID 45"} 
[2026-08-23 01:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581559808001,"power":27376,"unknown_13":206,"unknown_78":38656,"ignition":29,"odometer":null,"unknown_45":6488209346216396800}} 
[2026-08-23 01:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":160199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:17:29] local.INFO: GPS data processed {"connection_id":160199,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:17:29] local.INFO: Acknowledgment sent {"connection_id":160199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:17:51] local.INFO: TCP Data received {"connection_id":162765,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:17:51] local.INFO: Processing buffer {"connection_id":162765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:17:51] local.INFO: IMEI packet received {"connection_id":162765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":162765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:17:56] local.INFO: TCP Data received {"connection_id":162766,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:17:56] local.INFO: Processing buffer {"connection_id":162766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:17:56] local.INFO: IMEI packet received {"connection_id":162766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":162766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:18:01] local.INFO: TCP Data received {"connection_id":162766,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:18:01] local.INFO: Processing buffer {"connection_id":162766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:18:01] local.INFO: IMEI packet received {"connection_id":162766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":162766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:18:02] local.INFO: TCP Data received {"connection_id":162766,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:18:02] local.INFO: Processing buffer {"connection_id":162766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:18:02] local.INFO: Packet analysis {"connection_id":162766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:18:02] local.INFO: Extracted packet for processing {"connection_id":162766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:18:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581437952001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787427793000,"timestamp_ms":1787427793000,"timestamp_seconds":1787427793,"priority":1,"record_length":96,"hex_timestamp":"000001a02affa868"} 
[2026-08-23 01:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581437952001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581437952001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:18:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:18:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581437952001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":162766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:18:02] local.INFO: GPS data processed {"connection_id":162766,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:18:02] local.INFO: Acknowledgment sent {"connection_id":162766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:18:06] local.INFO: TCP Data received {"connection_id":162766,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:18:06] local.INFO: Processing buffer {"connection_id":162766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02affa868012d196540071ff1b00044013729..."} 
[2026-08-23 01:18:06] local.INFO: Packet analysis {"connection_id":162766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:18:06] local.INFO: Extracted packet for processing {"connection_id":162766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02aff"} 
[2026-08-23 01:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581437952001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787427793000,"timestamp_ms":1787427793000,"timestamp_seconds":1787427793,"priority":1,"record_length":96,"hex_timestamp":"000001a02affa868"} 
[2026-08-23 01:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581437952001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581437952001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:18:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581437952001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":162766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:18:07] local.INFO: GPS data processed {"connection_id":162766,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:18:07] local.INFO: Acknowledgment sent {"connection_id":162766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:18:15] local.INFO: TCP Data received {"connection_id":162765,"ip":"42.109.136.3","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 01:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162765,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 01:18:15] local.INFO: Processing buffer {"connection_id":162765,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 01:18:15] local.INFO: IMEI packet received {"connection_id":162765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":162765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:18:16] local.INFO: TCP Data received {"connection_id":162765,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b02c160012d59ea40063dd9880003014a2f..."} 
[2026-08-23 01:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b02c160012d59ea40063dd9880003014a2f..."} 
[2026-08-23 01:18:16] local.INFO: Processing buffer {"connection_id":162765,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a02b..."} 
[2026-08-23 01:18:16] local.INFO: IMEI packet received {"connection_id":162765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":162765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:18:17] local.INFO: TCP Data received {"connection_id":162765,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b02f810012d59d8c0063df8580004014a2d..."} 
[2026-08-23 01:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b02f810012d59d8c0063df8580004014a2d..."} 
[2026-08-23 01:18:17] local.INFO: Processing buffer {"connection_id":162765,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a02b02c160012d59ea40063dd9880003014a2f..."} 
[2026-08-23 01:18:17] local.INFO: Packet analysis {"connection_id":162765,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02b02"} 
[2026-08-23 01:18:17] local.INFO: Extracted packet for processing {"connection_id":162765,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b02"} 
[2026-08-23 01:18:17] local.INFO: GPS Element Parsed {"raw_longitude":760867392,"raw_latitude":104716680,"longitude_deg":76.0867392,"latitude_deg":10.471668,"altitude":3,"angle":330,"satellites":47,"speed":23,"hex_longitude":"2d59ea40","hex_latitude":"063dd988","is_valid_coordinates":true} 
[2026-08-23 01:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581563648001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389450218308894720,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6483776115335292928,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:17] 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-08-23 01:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787427996000,"timestamp_ms":1787427996000,"timestamp_seconds":1787427996,"priority":1,"record_length":96,"hex_timestamp":"000001a02b02c160"} 
[2026-08-23 01:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 01:18: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-08-23 01:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581563648001,"66":27397,"13":206,"78":38656,"24":23,"16":389450218308894720,"45":6483776115335292928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-08-23 01:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581563648001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:18:17] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-23 01:18:17] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389450218308894720,"km_value":389450218308894.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6483776115335292928,"description":"Unknown IO ID 45"} 
[2026-08-23 01:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581563648001,"power":27397,"unknown_13":206,"unknown_78":38656,"ignition":23,"odometer":null,"unknown_45":6483776115335292928}} 
[2026-08-23 01:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":162765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:18:17] local.INFO: GPS data processed {"connection_id":162765,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:18:17] local.INFO: Acknowledgment sent {"connection_id":162765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:18:17] local.INFO: Packet analysis {"connection_id":162765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b02"} 
[2026-08-23 01:18:17] local.INFO: Extracted packet for processing {"connection_id":162765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b02"} 
[2026-08-23 01:18:17] local.INFO: GPS Element Parsed {"raw_longitude":760862912,"raw_latitude":104724568,"longitude_deg":76.0862912,"latitude_deg":10.4724568,"altitude":4,"angle":330,"satellites":45,"speed":26,"hex_longitude":"2d59d8c0","hex_latitude":"063df858","is_valid_coordinates":true} 
[2026-08-23 01:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581566976001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389450656395558912,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6479061409477527552,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:17] 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-08-23 01:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787428010000,"timestamp_ms":1787428010000,"timestamp_seconds":1787428010,"priority":1,"record_length":96,"hex_timestamp":"000001a02b02f810"} 
[2026-08-23 01:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:18: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-08-23 01:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 01:18:17] 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-08-23 01:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581566976001,"66":26430,"13":206,"78":38656,"24":26,"16":389450656395558912,"45":6479061409477527552},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-08-23 01:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581566976001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:18:17] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-23 01:18:17] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389450656395558912,"km_value":389450656395558.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6479061409477527552,"description":"Unknown IO ID 45"} 
[2026-08-23 01:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581566976001,"power":26430,"unknown_13":206,"unknown_78":38656,"ignition":26,"odometer":null,"unknown_45":6479061409477527552}} 
[2026-08-23 01:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":162765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:18:17] local.INFO: GPS data processed {"connection_id":162765,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:18:17] local.INFO: Acknowledgment sent {"connection_id":162765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:18:18] local.INFO: TCP Data received {"connection_id":162765,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b032ad8012d59c700063e18b80003014e2f..."} 
[2026-08-23 01:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b032ad8012d59c700063e18b80003014e2f..."} 
[2026-08-23 01:18:18] local.INFO: Processing buffer {"connection_id":162765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b032ad8012d59c700063e18b80003014e2f..."} 
[2026-08-23 01:18:18] local.INFO: Packet analysis {"connection_id":162765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b03"} 
[2026-08-23 01:18:18] local.INFO: Extracted packet for processing {"connection_id":162765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b03"} 
[2026-08-23 01:18:18] local.INFO: GPS Element Parsed {"raw_longitude":760858368,"raw_latitude":104732856,"longitude_deg":76.0858368,"latitude_deg":10.4732856,"altitude":3,"angle":334,"satellites":47,"speed":33,"hex_longitude":"2d59c700","hex_latitude":"063e18b8","is_valid_coordinates":true} 
[2026-08-23 01:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581570560001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389451115957059584,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6474135597387110400,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:18] 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-08-23 01:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787428023000,"timestamp_ms":1787428023000,"timestamp_seconds":1787428023,"priority":1,"record_length":96,"hex_timestamp":"000001a02b032ad8"} 
[2026-08-23 01:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:18: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-08-23 01:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-23 01:18: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-08-23 01:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581570560001,"66":27365,"13":206,"78":38656,"24":33,"16":389451115957059584,"45":6474135597387110400},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-08-23 01:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581570560001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:18:18] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-23 01:18:18] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389451115957059584,"km_value":389451115957059.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6474135597387110400,"description":"Unknown IO ID 45"} 
[2026-08-23 01:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581570560001,"power":27365,"unknown_13":206,"unknown_78":38656,"ignition":33,"odometer":null,"unknown_45":6474135597387110400}} 
[2026-08-23 01:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":162765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:18:18] local.INFO: GPS data processed {"connection_id":162765,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:18:18] local.INFO: Acknowledgment sent {"connection_id":162765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:18:48] local.INFO: TCP Data received {"connection_id":160200,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:18:48] local.INFO: Processing buffer {"connection_id":160200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:18:48] local.INFO: IMEI packet received {"connection_id":160200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":160200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:18:51] local.INFO: TCP Data received {"connection_id":160402,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:18:51] local.INFO: Processing buffer {"connection_id":160402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:18:51] local.INFO: IMEI packet received {"connection_id":160402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":160402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:18:52] local.INFO: TCP Data received {"connection_id":160402,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:18:52] local.INFO: Processing buffer {"connection_id":160402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:18:52] local.INFO: IMEI packet received {"connection_id":160402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":160402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:18:53] local.INFO: TCP Data received {"connection_id":160200,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:18:53] local.INFO: Processing buffer {"connection_id":160200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:18:53] local.INFO: IMEI packet received {"connection_id":160200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":160200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:18:56] local.INFO: TCP Data received {"connection_id":160200,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:18:56] local.INFO: Processing buffer {"connection_id":160200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:18:56] local.INFO: IMEI packet received {"connection_id":160200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":160200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:18:56] local.INFO: TCP Data received {"connection_id":160200,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0351e8012d59b500063e3870000301472f..."} 
[2026-08-23 01:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0351e8012d59b500063e3870000301472f..."} 
[2026-08-23 01:18:56] local.INFO: Processing buffer {"connection_id":160200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0351e8012d59b500063e3870000301472f..."} 
[2026-08-23 01:18:56] local.INFO: Packet analysis {"connection_id":160200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b03"} 
[2026-08-23 01:18:56] local.INFO: Extracted packet for processing {"connection_id":160200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b03"} 
[2026-08-23 01:18:56] local.INFO: GPS Element Parsed {"raw_longitude":760853760,"raw_latitude":104740976,"longitude_deg":76.085376,"latitude_deg":10.4740976,"altitude":3,"angle":327,"satellites":47,"speed":39,"hex_longitude":"2d59b500","hex_latitude":"063e3870","is_valid_coordinates":true} 
[2026-08-23 01:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581573888001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389451566928625664,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6469139416552617984,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:56] 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-08-23 01:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787428033000,"timestamp_ms":1787428033000,"timestamp_seconds":1787428033,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0351e8"} 
[2026-08-23 01:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:18: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-08-23 01:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 01:18: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-08-23 01:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:18:56] 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-08-23 01:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581573888001,"66":27267,"13":206,"78":38656,"24":39,"16":389451566928625664,"45":6469139416552617984},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-08-23 01:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581573888001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:18:56] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-23 01:18:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389451566928625664,"km_value":389451566928625.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6469139416552617984,"description":"Unknown IO ID 45"} 
[2026-08-23 01:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581573888001,"power":27267,"unknown_13":206,"unknown_78":38656,"ignition":39,"odometer":null,"unknown_45":6469139416552617984}} 
[2026-08-23 01:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":160200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:18:56] local.INFO: GPS data processed {"connection_id":160200,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:18:56] local.INFO: Acknowledgment sent {"connection_id":160200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:18:56] local.INFO: TCP Data received {"connection_id":160402,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:18:56] local.INFO: Processing buffer {"connection_id":160402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:18:56] local.INFO: IMEI packet received {"connection_id":160402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":160402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:18:57] local.INFO: TCP Data received {"connection_id":160402,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:18:57] local.INFO: Processing buffer {"connection_id":160402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:18:57] local.INFO: Packet analysis {"connection_id":160402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:18:57] local.INFO: Extracted packet for processing {"connection_id":160402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:18:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581515008001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787428094000,"timestamp_ms":1787428094000,"timestamp_seconds":1787428094,"priority":1,"record_length":96,"hex_timestamp":"000001a02b044030"} 
[2026-08-23 01:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:18:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581515008001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581515008001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:18:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:18:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581515008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":160402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:18:57] local.INFO: GPS data processed {"connection_id":160402,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:18:57] local.INFO: Acknowledgment sent {"connection_id":160402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:18:57] local.INFO: TCP Data received {"connection_id":160200,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b037510012d59a140063e5700000401482f..."} 
[2026-08-23 01:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b037510012d59a140063e5700000401482f..."} 
[2026-08-23 01:18:57] local.INFO: Processing buffer {"connection_id":160200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b037510012d59a140063e5700000401482f..."} 
[2026-08-23 01:18:57] local.INFO: Packet analysis {"connection_id":160200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b03"} 
[2026-08-23 01:18:57] local.INFO: Extracted packet for processing {"connection_id":160200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b03"} 
[2026-08-23 01:18:57] local.INFO: GPS Element Parsed {"raw_longitude":760848704,"raw_latitude":104748800,"longitude_deg":76.0848704,"latitude_deg":10.47488,"altitude":4,"angle":328,"satellites":47,"speed":41,"hex_longitude":"2d59a140","hex_latitude":"063e5700","is_valid_coordinates":true} 
[2026-08-23 01:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581576448001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389452013605224448,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6464072866973904896,"note":"Value kept but may cause issues"} 
[2026-08-23 01:18:57] 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-08-23 01:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787428042000,"timestamp_ms":1787428042000,"timestamp_seconds":1787428042,"priority":1,"record_length":96,"hex_timestamp":"000001a02b037510"} 
[2026-08-23 01:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:18: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-08-23 01:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 01:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:18:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:18:57] 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-08-23 01:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581576448001,"66":27332,"13":206,"78":38656,"24":41,"16":389452013605224448,"45":6464072866973904896},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,78,24,16,45]} 
[2026-08-23 01:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581576448001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:18:57] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-23 01:18:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389452013605224448,"km_value":389452013605224.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6464072866973904896,"description":"Unknown IO ID 45"} 
[2026-08-23 01:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581576448001,"power":27332,"unknown_13":206,"unknown_78":38656,"ignition":41,"odometer":null,"unknown_45":6464072866973904896}} 
[2026-08-23 01:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":160200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:18:57] local.INFO: GPS data processed {"connection_id":160200,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:18:57] local.INFO: Acknowledgment sent {"connection_id":160200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:19:02] local.INFO: TCP Data received {"connection_id":160402,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:19:02] local.INFO: Processing buffer {"connection_id":160402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:19:02] local.INFO: Packet analysis {"connection_id":160402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:19:02] local.INFO: Extracted packet for processing {"connection_id":160402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:19:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581515008001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787428094000,"timestamp_ms":1787428094000,"timestamp_seconds":1787428094,"priority":1,"record_length":96,"hex_timestamp":"000001a02b044030"} 
[2026-08-23 01:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581515008001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581515008001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:19:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:19:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581515008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":160402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:19:02] local.INFO: GPS data processed {"connection_id":160402,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:19:02] local.INFO: Acknowledgment sent {"connection_id":160402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:19:03] local.INFO: TCP Data received {"connection_id":160200,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b039838012d598d80063e77080004014832..."} 
[2026-08-23 01:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b039838012d598d80063e77080004014832..."} 
[2026-08-23 01:19:03] local.INFO: Processing buffer {"connection_id":160200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b039838012d598d80063e77080004014832..."} 
[2026-08-23 01:19:03] local.INFO: Packet analysis {"connection_id":160200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b03"} 
[2026-08-23 01:19:03] local.INFO: Extracted packet for processing {"connection_id":160200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b03"} 
[2026-08-23 01:19:03] local.INFO: GPS Element Parsed {"raw_longitude":760843648,"raw_latitude":104757000,"longitude_deg":76.0843648,"latitude_deg":10.4757,"altitude":4,"angle":328,"satellites":50,"speed":42,"hex_longitude":"2d598d80","hex_latitude":"063e7708","is_valid_coordinates":true} 
[2026-08-23 01:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581578752001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389452481756659712,"note":"Value kept but may cause issues"} 
[2026-08-23 01:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6458513736185872384,"note":"Value kept but may cause issues"} 
[2026-08-23 01:19:03] 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-08-23 01:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787428051000,"timestamp_ms":1787428051000,"timestamp_seconds":1787428051,"priority":1,"record_length":96,"hex_timestamp":"000001a02b039838"} 
[2026-08-23 01:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:19: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-08-23 01:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 01:19: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-08-23 01:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:19:03] 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-08-23 01:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581578752001,"66":27234,"103":206,"78":38656,"24":42,"16":389452481756659712,"45":6458513736185872384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,78,24,16,45]} 
[2026-08-23 01:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581578752001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:19:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 01:19:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389452481756659712,"km_value":389452481756659.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6458513736185872384,"description":"Unknown IO ID 45"} 
[2026-08-23 01:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581578752001,"power":27234,"unknown_103":206,"unknown_78":38656,"ignition":42,"odometer":null,"unknown_45":6458513736185872384}} 
[2026-08-23 01:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":160200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:19:03] local.INFO: GPS data processed {"connection_id":160200,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:19:03] local.INFO: Acknowledgment sent {"connection_id":160200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:19:33] local.INFO: TCP Data received {"connection_id":160402,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:19:33] local.INFO: Processing buffer {"connection_id":160402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:19:33] local.INFO: Packet analysis {"connection_id":160402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:19:33] local.INFO: Extracted packet for processing {"connection_id":160402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581515008001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787428094000,"timestamp_ms":1787428094000,"timestamp_seconds":1787428094,"priority":1,"record_length":96,"hex_timestamp":"000001a02b044030"} 
[2026-08-23 01:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581515008001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581515008001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:19:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:19:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581515008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":160402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:19:33] local.INFO: GPS data processed {"connection_id":160402,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:19:33] local.INFO: Acknowledgment sent {"connection_id":160402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:19:47] local.INFO: TCP Data received {"connection_id":161358,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:19:47] local.INFO: Processing buffer {"connection_id":161358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:19:47] local.INFO: IMEI packet received {"connection_id":161358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":161358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:19:48] local.INFO: TCP Data received {"connection_id":161358,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:19:48] local.INFO: Processing buffer {"connection_id":161358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:19:48] local.INFO: IMEI packet received {"connection_id":161358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":161358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:19:52] local.INFO: TCP Data received {"connection_id":161359,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:19:52] local.INFO: Processing buffer {"connection_id":161359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:19:52] local.INFO: IMEI packet received {"connection_id":161359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":161359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:19:53] local.INFO: TCP Data received {"connection_id":161358,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:19:53] local.INFO: Processing buffer {"connection_id":161358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:19:53] local.INFO: IMEI packet received {"connection_id":161358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":161358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:19:55] local.INFO: TCP Data received {"connection_id":161358,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b04dc70012d58bf80063fcfc80008014931..."} 
[2026-08-23 01:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b04dc70012d58bf80063fcfc80008014931..."} 
[2026-08-23 01:19:55] local.INFO: Processing buffer {"connection_id":161358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b04dc70012d58bf80063fcfc80008014931..."} 
[2026-08-23 01:19:55] local.INFO: Packet analysis {"connection_id":161358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:19:55] local.INFO: Extracted packet for processing {"connection_id":161358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:19:55] local.INFO: GPS Element Parsed {"raw_longitude":760790912,"raw_latitude":104845256,"longitude_deg":76.0790912,"latitude_deg":10.4845256,"altitude":8,"angle":329,"satellites":49,"speed":46,"hex_longitude":"2d58bf80","hex_latitude":"063fcfc8","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581600256001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389457442443886592,"note":"Value kept but may cause issues"} 
[2026-08-23 01:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6400178047285192704,"note":"Value kept but may cause issues"} 
[2026-08-23 01:19:55] 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-08-23 01:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787428134000,"timestamp_ms":1787428134000,"timestamp_seconds":1787428134,"priority":1,"record_length":96,"hex_timestamp":"000001a02b04dc70"} 
[2026-08-23 01:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:19: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-08-23 01:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 01:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:19:55] 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-08-23 01:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581600256001,"66":27300,"11":206,"78":38656,"24":46,"16":389457442443886592,"45":6400178047285192704},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-08-23 01:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581600256001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:19:55] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-23 01:19:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389457442443886592,"km_value":389457442443886.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6400178047285192704,"description":"Unknown IO ID 45"} 
[2026-08-23 01:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581600256001,"power":27300,"unknown_11":206,"unknown_78":38656,"ignition":46,"odometer":null,"unknown_45":6400178047285192704}} 
[2026-08-23 01:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":161358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:19:55] local.INFO: GPS data processed {"connection_id":161358,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:19:55] local.INFO: Acknowledgment sent {"connection_id":161358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:19:56] local.INFO: TCP Data received {"connection_id":161359,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:19:56] local.INFO: Processing buffer {"connection_id":161359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:19:56] local.INFO: IMEI packet received {"connection_id":161359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":161359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:19:57] local.INFO: TCP Data received {"connection_id":161359,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:19:57] local.INFO: Processing buffer {"connection_id":161359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:19:57] local.INFO: Packet analysis {"connection_id":161359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:19:57] local.INFO: Extracted packet for processing {"connection_id":161359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:19:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581515008001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787428094000,"timestamp_ms":1787428094000,"timestamp_seconds":1787428094,"priority":1,"record_length":96,"hex_timestamp":"000001a02b044030"} 
[2026-08-23 01:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581515008001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581515008001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:19:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:19:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581515008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":161359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:19:57] local.INFO: GPS data processed {"connection_id":161359,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:19:57] local.INFO: Acknowledgment sent {"connection_id":161359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:20:25] local.INFO: TCP Data received {"connection_id":161358,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b04fbb0012d58acc0063fee68000801492e..."} 
[2026-08-23 01:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b04fbb0012d58acc0063fee68000801492e..."} 
[2026-08-23 01:20:25] local.INFO: Processing buffer {"connection_id":161358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b04fbb0012d58acc0063fee68000801492e..."} 
[2026-08-23 01:20:25] local.INFO: Packet analysis {"connection_id":161358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:20:25] local.INFO: Extracted packet for processing {"connection_id":161358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:20:25] local.INFO: GPS Element Parsed {"raw_longitude":760786112,"raw_latitude":104853096,"longitude_deg":76.0786112,"latitude_deg":10.4853096,"altitude":8,"angle":329,"satellites":46,"speed":45,"hex_longitude":"2d58acc0","hex_latitude":"063fee68","is_valid_coordinates":true} 
[2026-08-23 01:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581602304001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389457884825518080,"note":"Value kept but may cause issues"} 
[2026-08-23 01:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6394970760218134528,"note":"Value kept but may cause issues"} 
[2026-08-23 01:20:25] 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-08-23 01:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787428142000,"timestamp_ms":1787428142000,"timestamp_seconds":1787428142,"priority":1,"record_length":96,"hex_timestamp":"000001a02b04fbb0"} 
[2026-08-23 01:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:20: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-08-23 01:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 01:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:20:25] 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-08-23 01:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581602304001,"66":27332,"11":206,"78":38656,"24":45,"16":389457884825518080,"45":6394970760218134528},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-08-23 01:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581602304001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:20:25] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-23 01:20:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389457884825518080,"km_value":389457884825518.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6394970760218134528,"description":"Unknown IO ID 45"} 
[2026-08-23 01:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581602304001,"power":27332,"unknown_11":206,"unknown_78":38656,"ignition":45,"odometer":null,"unknown_45":6394970760218134528}} 
[2026-08-23 01:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":161358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:20:25] local.INFO: GPS data processed {"connection_id":161358,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:20:25] local.INFO: Acknowledgment sent {"connection_id":161358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:20:31] local.INFO: TCP Data received {"connection_id":161359,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:20:31] local.INFO: Processing buffer {"connection_id":161359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:20:31] local.INFO: Packet analysis {"connection_id":161359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:20:31] local.INFO: Extracted packet for processing {"connection_id":161359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:20:31] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581515008001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787428094000,"timestamp_ms":1787428094000,"timestamp_seconds":1787428094,"priority":1,"record_length":96,"hex_timestamp":"000001a02b044030"} 
[2026-08-23 01:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581515008001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581515008001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:20:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:20:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581515008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":161359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:20:31] local.INFO: GPS data processed {"connection_id":161359,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:20:31] local.INFO: Acknowledgment sent {"connection_id":161359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:20:47] local.INFO: TCP Data received {"connection_id":162767,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:20:47] local.INFO: Processing buffer {"connection_id":162767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:20:47] local.INFO: IMEI packet received {"connection_id":162767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":162767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:20:48] local.INFO: TCP Data received {"connection_id":162767,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:20:48] local.INFO: Processing buffer {"connection_id":162767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:20:48] local.INFO: IMEI packet received {"connection_id":162767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":162767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:20:51] local.INFO: TCP Data received {"connection_id":160201,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:20:51] local.INFO: Processing buffer {"connection_id":160201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:20:51] local.INFO: IMEI packet received {"connection_id":160201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":160201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:20:52] local.INFO: TCP Data received {"connection_id":162767,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:20:52] local.INFO: Processing buffer {"connection_id":162767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:20:52] local.INFO: IMEI packet received {"connection_id":162767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":162767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:20:53] local.INFO: TCP Data received {"connection_id":162767,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b051af0012d589a0006400d180007014831..."} 
[2026-08-23 01:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b051af0012d589a0006400d180007014831..."} 
[2026-08-23 01:20:53] local.INFO: Processing buffer {"connection_id":162767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b051af0012d589a0006400d180007014831..."} 
[2026-08-23 01:20:53] local.INFO: Packet analysis {"connection_id":162767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b05"} 
[2026-08-23 01:20:53] local.INFO: Extracted packet for processing {"connection_id":162767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b05"} 
[2026-08-23 01:20:53] local.INFO: GPS Element Parsed {"raw_longitude":760781312,"raw_latitude":104860952,"longitude_deg":76.0781312,"latitude_deg":10.4860952,"altitude":7,"angle":328,"satellites":49,"speed":45,"hex_longitude":"2d589a00","hex_latitude":"06400d18","is_valid_coordinates":true} 
[2026-08-23 01:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581604352001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389458331502116864,"note":"Value kept but may cause issues"} 
[2026-08-23 01:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6389693104406816768,"note":"Value kept but may cause issues"} 
[2026-08-23 01:20:53] 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-08-23 01:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787428150000,"timestamp_ms":1787428150000,"timestamp_seconds":1787428150,"priority":1,"record_length":96,"hex_timestamp":"000001a02b051af0"} 
[2026-08-23 01:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:20: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-08-23 01:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 01:20: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-08-23 01:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:20:53] 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-08-23 01:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581604352001,"66":27245,"11":206,"78":38656,"24":45,"16":389458331502116864,"45":6389693104406816768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-08-23 01:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581604352001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:20:53] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-23 01:20:53] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389458331502116864,"km_value":389458331502116.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6389693104406816768,"description":"Unknown IO ID 45"} 
[2026-08-23 01:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581604352001,"power":27245,"unknown_11":206,"unknown_78":38656,"ignition":45,"odometer":null,"unknown_45":6389693104406816768}} 
[2026-08-23 01:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":162767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:20:53] local.INFO: GPS data processed {"connection_id":162767,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:20:53] local.INFO: Acknowledgment sent {"connection_id":162767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:20:56] local.INFO: TCP Data received {"connection_id":160201,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:20:56] local.INFO: Processing buffer {"connection_id":160201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:20:56] local.INFO: IMEI packet received {"connection_id":160201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":160201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:20:57] local.INFO: TCP Data received {"connection_id":160201,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:20:57] local.INFO: Processing buffer {"connection_id":160201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:20:57] local.INFO: Packet analysis {"connection_id":160201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:20:57] local.INFO: Extracted packet for processing {"connection_id":160201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:20:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581515008001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787428094000,"timestamp_ms":1787428094000,"timestamp_seconds":1787428094,"priority":1,"record_length":96,"hex_timestamp":"000001a02b044030"} 
[2026-08-23 01:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581515008001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581515008001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:20:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:20:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581515008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":160201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:20:57] local.INFO: GPS data processed {"connection_id":160201,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:20:57] local.INFO: Acknowledgment sent {"connection_id":160201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:21:24] local.INFO: TCP Data received {"connection_id":162767,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b053a30012d58870006402c080007014830..."} 
[2026-08-23 01:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b053a30012d58870006402c080007014830..."} 
[2026-08-23 01:21:24] local.INFO: Processing buffer {"connection_id":162767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b053a30012d58870006402c080007014830..."} 
[2026-08-23 01:21:24] local.INFO: Packet analysis {"connection_id":162767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b05"} 
[2026-08-23 01:21:24] local.INFO: Extracted packet for processing {"connection_id":162767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b05"} 
[2026-08-23 01:21:24] local.INFO: GPS Element Parsed {"raw_longitude":760776448,"raw_latitude":104868872,"longitude_deg":76.0776448,"latitude_deg":10.4868872,"altitude":7,"angle":328,"satellites":48,"speed":46,"hex_longitude":"2d588700","hex_latitude":"06402c08","is_valid_coordinates":true} 
[2026-08-23 01:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581606400001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389458778178715648,"note":"Value kept but may cause issues"} 
[2026-08-23 01:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6384415448595503104,"note":"Value kept but may cause issues"} 
[2026-08-23 01:21:24] 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-08-23 01:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787428158000,"timestamp_ms":1787428158000,"timestamp_seconds":1787428158,"priority":1,"record_length":96,"hex_timestamp":"000001a02b053a30"} 
[2026-08-23 01:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:21: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-08-23 01:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-23 01:21:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:21:24] 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-08-23 01:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581606400001,"66":27343,"11":206,"78":38656,"24":46,"16":389458778178715648,"45":6384415448595503104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,78,24,16,45]} 
[2026-08-23 01:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581606400001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:21:24] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-23 01:21:24] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-08-23 01:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389458778178715648,"km_value":389458778178715.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6384415448595503104,"description":"Unknown IO ID 45"} 
[2026-08-23 01:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581606400001,"power":27343,"unknown_11":206,"unknown_78":38656,"ignition":46,"odometer":null,"unknown_45":6384415448595503104}} 
[2026-08-23 01:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":162767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:21:24] local.INFO: GPS data processed {"connection_id":162767,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:21:24] local.INFO: Acknowledgment sent {"connection_id":162767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:21:28] local.INFO: TCP Data received {"connection_id":160201,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:21:28] local.INFO: Processing buffer {"connection_id":160201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:21:28] local.INFO: Packet analysis {"connection_id":160201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:21:28] local.INFO: Extracted packet for processing {"connection_id":160201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581515008001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787428094000,"timestamp_ms":1787428094000,"timestamp_seconds":1787428094,"priority":1,"record_length":96,"hex_timestamp":"000001a02b044030"} 
[2026-08-23 01:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581515008001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581515008001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:21:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:21:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581515008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":160201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:21:28] local.INFO: GPS data processed {"connection_id":160201,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:21:28] local.INFO: Acknowledgment sent {"connection_id":160201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:21:47] local.INFO: TCP Data received {"connection_id":162768,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:21:47] local.INFO: Processing buffer {"connection_id":162768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:21:47] local.INFO: IMEI packet received {"connection_id":162768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":162768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:21:51] local.INFO: TCP Data received {"connection_id":161360,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:21:51] local.INFO: Processing buffer {"connection_id":161360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:21:51] local.INFO: IMEI packet received {"connection_id":161360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":161360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:21:52] local.INFO: TCP Data received {"connection_id":162768,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:21:52] local.INFO: Processing buffer {"connection_id":162768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:21:52] local.INFO: IMEI packet received {"connection_id":162768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":162768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:21:53] local.INFO: TCP Data received {"connection_id":162768,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b06b130012d5724000640f330000e012932..."} 
[2026-08-23 01:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b06b130012d5724000640f330000e012932..."} 
[2026-08-23 01:21:53] local.INFO: Processing buffer {"connection_id":162768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b06b130012d5724000640f330000e012932..."} 
[2026-08-23 01:21:53] local.INFO: Packet analysis {"connection_id":162768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b06"} 
[2026-08-23 01:21:53] local.INFO: Extracted packet for processing {"connection_id":162768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b06"} 
[2026-08-23 01:21:53] local.INFO: GPS Element Parsed {"raw_longitude":760685568,"raw_latitude":104919856,"longitude_deg":76.0685568,"latitude_deg":10.4919856,"altitude":14,"angle":297,"satellites":50,"speed":35,"hex_longitude":"2d572400","hex_latitude":"0640f330","is_valid_coordinates":true} 
[2026-08-23 01:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581630464001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389463833355223040,"note":"Value kept but may cause issues"} 
[2026-08-23 01:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6287939900341964800,"note":"Value kept but may cause issues"} 
[2026-08-23 01:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787428254000,"timestamp_ms":1787428254000,"timestamp_seconds":1787428254,"priority":1,"record_length":96,"hex_timestamp":"000001a02b06b130"} 
[2026-08-23 01:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:21: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-08-23 01:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 01:21: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-08-23 01:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:21:53] 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-08-23 01:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581630464001,"66":27332,"111":206,"78":38912,"24":35,"16":389463833355223040,"45":6287939900341964800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-08-23 01:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581630464001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:21:53] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-23 01:21:53] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389463833355223040,"km_value":389463833355223.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6287939900341964800,"description":"Unknown IO ID 45"} 
[2026-08-23 01:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581630464001,"power":27332,"unknown_111":206,"unknown_78":38912,"ignition":35,"odometer":null,"unknown_45":6287939900341964800}} 
[2026-08-23 01:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":162768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:21:53] local.INFO: GPS data processed {"connection_id":162768,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:21:53] local.INFO: Acknowledgment sent {"connection_id":162768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:21:56] local.INFO: TCP Data received {"connection_id":161360,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:21:56] local.INFO: Processing buffer {"connection_id":161360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:21:56] local.INFO: IMEI packet received {"connection_id":161360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":161360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:21:57] local.INFO: TCP Data received {"connection_id":161360,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:21:57] local.INFO: Processing buffer {"connection_id":161360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:21:57] local.INFO: Packet analysis {"connection_id":161360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:21:57] local.INFO: Extracted packet for processing {"connection_id":161360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:21:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581515008001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787428094000,"timestamp_ms":1787428094000,"timestamp_seconds":1787428094,"priority":1,"record_length":96,"hex_timestamp":"000001a02b044030"} 
[2026-08-23 01:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:21:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581515008001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581515008001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:21:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:21:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581515008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":161360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:21:57] local.INFO: GPS data processed {"connection_id":161360,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:21:57] local.INFO: Acknowledgment sent {"connection_id":161360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:22:24] local.INFO: TCP Data received {"connection_id":162768,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b06d840012d5705c006410600000f013231..."} 
[2026-08-23 01:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b06d840012d5705c006410600000f013231..."} 
[2026-08-23 01:22:24] local.INFO: Processing buffer {"connection_id":162768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b06d840012d5705c006410600000f013231..."} 
[2026-08-23 01:22:24] local.INFO: Packet analysis {"connection_id":162768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b06"} 
[2026-08-23 01:22:24] local.INFO: Extracted packet for processing {"connection_id":162768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b06"} 
[2026-08-23 01:22:24] local.INFO: GPS Element Parsed {"raw_longitude":760677824,"raw_latitude":104924672,"longitude_deg":76.0677824,"latitude_deg":10.4924672,"altitude":15,"angle":306,"satellites":49,"speed":37,"hex_longitude":"2d5705c0","hex_latitude":"06410600","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581633024001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389464271441887232,"note":"Value kept but may cause issues"} 
[2026-08-23 01:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6279143807320797184,"note":"Value kept but may cause issues"} 
[2026-08-23 01:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787428264000,"timestamp_ms":1787428264000,"timestamp_seconds":1787428264,"priority":1,"record_length":96,"hex_timestamp":"000001a02b06d840"} 
[2026-08-23 01:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:22: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-08-23 01: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 01:22:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:22:24] 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-08-23 01:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581633024001,"66":27310,"250":206,"78":38912,"24":37,"16":389464271441887232,"45":6279143807320797184},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,78,24,16,45]} 
[2026-08-23 01:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581633024001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:22:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-23 01:22:24] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389464271441887232,"km_value":389464271441887.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6279143807320797184,"description":"Unknown IO ID 45"} 
[2026-08-23 01:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581633024001,"power":27310,"unknown_250":206,"unknown_78":38912,"ignition":37,"odometer":null,"unknown_45":6279143807320797184}} 
[2026-08-23 01:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":162768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:22:24] local.INFO: GPS data processed {"connection_id":162768,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:22:24] local.INFO: Acknowledgment sent {"connection_id":162768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:22:28] local.INFO: TCP Data received {"connection_id":161360,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:22:28] local.INFO: Processing buffer {"connection_id":161360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:22:28] local.INFO: Packet analysis {"connection_id":161360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:22:28] local.INFO: Extracted packet for processing {"connection_id":161360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:22:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581515008001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787428094000,"timestamp_ms":1787428094000,"timestamp_seconds":1787428094,"priority":1,"record_length":96,"hex_timestamp":"000001a02b044030"} 
[2026-08-23 01:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581515008001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581515008001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:22:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:22:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581515008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":161360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:22:28] local.INFO: GPS data processed {"connection_id":161360,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:22:28] local.INFO: Acknowledgment sent {"connection_id":161360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:22:47] local.INFO: TCP Data received {"connection_id":162769,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:22:47] local.INFO: Processing buffer {"connection_id":162769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:22:47] local.INFO: IMEI packet received {"connection_id":162769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":162769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:22:49] local.INFO: TCP Data received {"connection_id":162769,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:22:49] local.INFO: Processing buffer {"connection_id":162769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:22:49] local.INFO: IMEI packet received {"connection_id":162769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":162769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:22:52] local.INFO: TCP Data received {"connection_id":162769,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:22:52] local.INFO: Processing buffer {"connection_id":162769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:22:52] local.INFO: IMEI packet received {"connection_id":162769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":162769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:22:54] local.INFO: TCP Data received {"connection_id":162769,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b06fb68012d56eac006411d28000f013d33..."} 
[2026-08-23 01:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b06fb68012d56eac006411d28000f013d33..."} 
[2026-08-23 01:22:54] local.INFO: Processing buffer {"connection_id":162769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b06fb68012d56eac006411d28000f013d33..."} 
[2026-08-23 01:22:54] local.INFO: Packet analysis {"connection_id":162769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b06"} 
[2026-08-23 01:22:54] local.INFO: Extracted packet for processing {"connection_id":162769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b06"} 
[2026-08-23 01:22:54] local.INFO: GPS Element Parsed {"raw_longitude":760670912,"raw_latitude":104930600,"longitude_deg":76.0670912,"latitude_deg":10.49306,"altitude":15,"angle":317,"satellites":51,"speed":42,"hex_longitude":"2d56eac0","hex_latitude":"06411d28","is_valid_coordinates":true} 
[2026-08-23 01:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581635584001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389464709528551424,"note":"Value kept but may cause issues"} 
[2026-08-23 01:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6270629189276532736,"note":"Value kept but may cause issues"} 
[2026-08-23 01:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787428273000,"timestamp_ms":1787428273000,"timestamp_seconds":1787428273,"priority":1,"record_length":96,"hex_timestamp":"000001a02b06fb68"} 
[2026-08-23 01:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:22: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-08-23 01:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-23 01:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:22:54] 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-08-23 01:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581635584001,"66":27365,"250":206,"78":38912,"24":42,"16":389464709528551424,"45":6270629189276532736},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,78,24,16,45]} 
[2026-08-23 01:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581635584001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:22:54] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-23 01:22:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389464709528551424,"km_value":389464709528551.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6270629189276532736,"description":"Unknown IO ID 45"} 
[2026-08-23 01:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581635584001,"power":27365,"unknown_250":206,"unknown_78":38912,"ignition":42,"odometer":null,"unknown_45":6270629189276532736}} 
[2026-08-23 01:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":162769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:22:54] local.INFO: GPS data processed {"connection_id":162769,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:22:54] local.INFO: Acknowledgment sent {"connection_id":162769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:22:56] local.INFO: TCP Data received {"connection_id":160202,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:22:56] local.INFO: Processing buffer {"connection_id":160202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:22:56] local.INFO: IMEI packet received {"connection_id":160202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":160202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:23:01] local.INFO: TCP Data received {"connection_id":160202,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:23:01] local.INFO: Processing buffer {"connection_id":160202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:23:01] local.INFO: IMEI packet received {"connection_id":160202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":160202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:23:02] local.INFO: TCP Data received {"connection_id":160202,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:23:02] local.INFO: Processing buffer {"connection_id":160202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:23:02] local.INFO: Packet analysis {"connection_id":160202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:23:02] local.INFO: Extracted packet for processing {"connection_id":160202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:23:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581515008001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787428094000,"timestamp_ms":1787428094000,"timestamp_seconds":1787428094,"priority":1,"record_length":96,"hex_timestamp":"000001a02b044030"} 
[2026-08-23 01:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581515008001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581515008001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:23:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:23:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581515008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":160202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:23:02] local.INFO: GPS data processed {"connection_id":160202,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:23:02] local.INFO: Acknowledgment sent {"connection_id":160202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:23:06] local.INFO: TCP Data received {"connection_id":160202,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:23:06] local.INFO: Processing buffer {"connection_id":160202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b044030012d196540071ff1b00044013729..."} 
[2026-08-23 01:23:06] local.INFO: Packet analysis {"connection_id":160202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:23:06] local.INFO: Extracted packet for processing {"connection_id":160202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b04"} 
[2026-08-23 01:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581515008001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787428094000,"timestamp_ms":1787428094000,"timestamp_seconds":1787428094,"priority":1,"record_length":96,"hex_timestamp":"000001a02b044030"} 
[2026-08-23 01:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581515008001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581515008001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:23:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581515008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":160202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:23:07] local.INFO: GPS data processed {"connection_id":160202,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:23:07] local.INFO: Acknowledgment sent {"connection_id":160202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:23:26] local.INFO: TCP Data received {"connection_id":162769,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b071aa8012d56d48006413948000f014532..."} 
[2026-08-23 01:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b071aa8012d56d48006413948000f014532..."} 
[2026-08-23 01:23:26] local.INFO: Processing buffer {"connection_id":162769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b071aa8012d56d48006413948000f014532..."} 
[2026-08-23 01:23:26] local.INFO: Packet analysis {"connection_id":162769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b07"} 
[2026-08-23 01:23:26] local.INFO: Extracted packet for processing {"connection_id":162769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b07"} 
[2026-08-23 01:23:26] local.INFO: GPS Element Parsed {"raw_longitude":760665216,"raw_latitude":104937800,"longitude_deg":76.0665216,"latitude_deg":10.49378,"altitude":15,"angle":325,"satellites":50,"speed":48,"hex_longitude":"2d56d480","hex_latitude":"06413948","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581637888001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389465151910182912,"note":"Value kept but may cause issues"} 
[2026-08-23 01:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6263029364906862592,"note":"Value kept but may cause issues"} 
[2026-08-23 01:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787428281000,"timestamp_ms":1787428281000,"timestamp_seconds":1787428281,"priority":1,"record_length":96,"hex_timestamp":"000001a02b071aa8"} 
[2026-08-23 01:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 01:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:23:26] 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-08-23 01:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581637888001,"66":27343,"250":206,"78":38912,"24":48,"16":389465151910182912,"45":6263029364906862592},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,78,24,16,45]} 
[2026-08-23 01:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581637888001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:23:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-23 01:23:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389465151910182912,"km_value":389465151910182.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6263029364906862592,"description":"Unknown IO ID 45"} 
[2026-08-23 01:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581637888001,"power":27343,"unknown_250":206,"unknown_78":38912,"ignition":48,"odometer":null,"unknown_45":6263029364906862592}} 
[2026-08-23 01:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":162769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:23:26] local.INFO: GPS data processed {"connection_id":162769,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:23:26] local.INFO: Acknowledgment sent {"connection_id":162769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:23:48] local.INFO: TCP Data received {"connection_id":160404,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:23:48] local.INFO: Processing buffer {"connection_id":160404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:23:48] local.INFO: IMEI packet received {"connection_id":160404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":160404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:23:51] local.INFO: TCP Data received {"connection_id":160403,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:23:51] local.INFO: Processing buffer {"connection_id":160403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:23:51] local.INFO: IMEI packet received {"connection_id":160403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":160403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:23:53] local.INFO: TCP Data received {"connection_id":160404,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:23:53] local.INFO: Processing buffer {"connection_id":160404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:23:53] local.INFO: IMEI packet received {"connection_id":160404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":160404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:23:54] local.INFO: TCP Data received {"connection_id":160403,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:23:54] local.INFO: Processing buffer {"connection_id":160403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:23:54] local.INFO: IMEI packet received {"connection_id":160403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":160403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:23:55] local.INFO: TCP Data received {"connection_id":160403,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:23:55] local.INFO: Processing buffer {"connection_id":160403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:23:55] local.INFO: Packet analysis {"connection_id":160403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:23:55] local.INFO: Extracted packet for processing {"connection_id":160403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:23:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581592064001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787428395000,"timestamp_ms":1787428395000,"timestamp_seconds":1787428395,"priority":1,"record_length":96,"hex_timestamp":"000001a02b08d7f8"} 
[2026-08-23 01:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581592064001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581592064001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:23:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:23:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581592064001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":160403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:23:55] local.INFO: GPS data processed {"connection_id":160403,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:23:55] local.INFO: Acknowledgment sent {"connection_id":160403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:23:58] local.INFO: TCP Data received {"connection_id":160404,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:23:58] local.INFO: Processing buffer {"connection_id":160404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:23:58] local.INFO: IMEI packet received {"connection_id":160404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":160404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:23:58] local.INFO: TCP Data received {"connection_id":160404,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b085328012d56098006429f900007014f31..."} 
[2026-08-23 01:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b085328012d56098006429f900007014f31..."} 
[2026-08-23 01:23:58] local.INFO: Processing buffer {"connection_id":160404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b085328012d56098006429f900007014f31..."} 
[2026-08-23 01:23:58] local.INFO: Packet analysis {"connection_id":160404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:23:58] local.INFO: Extracted packet for processing {"connection_id":160404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:23:58] local.INFO: GPS Element Parsed {"raw_longitude":760613248,"raw_latitude":105029520,"longitude_deg":76.0613248,"latitude_deg":10.502952,"altitude":7,"angle":335,"satellites":49,"speed":50,"hex_longitude":"2d560980","hex_latitude":"06429f90","is_valid_coordinates":true} 
[2026-08-23 01:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581658368001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389470245741395968,"note":"Value kept but may cause issues"} 
[2026-08-23 01:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6204482569774084096,"note":"Value kept but may cause issues"} 
[2026-08-23 01:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787428361000,"timestamp_ms":1787428361000,"timestamp_seconds":1787428361,"priority":1,"record_length":96,"hex_timestamp":"000001a02b085328"} 
[2026-08-23 01:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01: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-08-23 01:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 01:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:23:58] 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-08-23 01:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581658368001,"66":27343,"216":206,"78":38912,"24":50,"16":389470245741395968,"45":6204482569774084096},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-08-23 01:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581658368001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:23:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 01:23:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389470245741395968,"km_value":389470245741395.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6204482569774084096,"description":"Unknown IO ID 45"} 
[2026-08-23 01:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581658368001,"power":27343,"unknown_216":206,"unknown_78":38912,"ignition":50,"odometer":null,"unknown_45":6204482569774084096}} 
[2026-08-23 01:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":160404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:23:58] local.INFO: GPS data processed {"connection_id":160404,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:23:58] local.INFO: Acknowledgment sent {"connection_id":160404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:23:59] local.INFO: TCP Data received {"connection_id":160404,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b086e80012d55fa800642bf500007014e30..."} 
[2026-08-23 01:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b086e80012d55fa800642bf500007014e30..."} 
[2026-08-23 01:23:59] local.INFO: Processing buffer {"connection_id":160404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b086e80012d55fa800642bf500007014e30..."} 
[2026-08-23 01:23:59] local.INFO: Packet analysis {"connection_id":160404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:23:59] local.INFO: Extracted packet for processing {"connection_id":160404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:23:59] local.INFO: GPS Element Parsed {"raw_longitude":760609408,"raw_latitude":105037648,"longitude_deg":76.0609408,"latitude_deg":10.5037648,"altitude":7,"angle":334,"satellites":48,"speed":51,"hex_longitude":"2d55fa80","hex_latitude":"0642bf50","is_valid_coordinates":true} 
[2026-08-23 01:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581660416001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389470679533092864,"note":"Value kept but may cause issues"} 
[2026-08-23 01:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6199627126428110848,"note":"Value kept but may cause issues"} 
[2026-08-23 01:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787428368000,"timestamp_ms":1787428368000,"timestamp_seconds":1787428368,"priority":1,"record_length":96,"hex_timestamp":"000001a02b086e80"} 
[2026-08-23 01:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 01:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:23:59] 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-08-23 01:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581660416001,"66":27321,"216":206,"78":38912,"24":51,"16":389470679533092864,"45":6199627126428110848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-08-23 01:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581660416001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:23:59] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 01:23:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389470679533092864,"km_value":389470679533092.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6199627126428110848,"description":"Unknown IO ID 45"} 
[2026-08-23 01:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581660416001,"power":27321,"unknown_216":206,"unknown_78":38912,"ignition":51,"odometer":null,"unknown_45":6199627126428110848}} 
[2026-08-23 01:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":160404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:23:59] local.INFO: GPS data processed {"connection_id":160404,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:23:59] local.INFO: Acknowledgment sent {"connection_id":160404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:24:26] local.INFO: TCP Data received {"connection_id":160403,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:24:26] local.INFO: Processing buffer {"connection_id":160403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:24:26] local.INFO: Packet analysis {"connection_id":160403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:24:26] local.INFO: Extracted packet for processing {"connection_id":160403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:24:26] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581592064001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787428395000,"timestamp_ms":1787428395000,"timestamp_seconds":1787428395,"priority":1,"record_length":96,"hex_timestamp":"000001a02b08d7f8"} 
[2026-08-23 01:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581592064001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581592064001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:24:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:24:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581592064001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":160403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:24:26] local.INFO: GPS data processed {"connection_id":160403,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:24:26] local.INFO: Acknowledgment sent {"connection_id":160403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:24:34] local.INFO: TCP Data received {"connection_id":160404,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0889d8012d55eb000642df480007014e30..."} 
[2026-08-23 01:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0889d8012d55eb000642df480007014e30..."} 
[2026-08-23 01:24:34] local.INFO: Processing buffer {"connection_id":160404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0889d8012d55eb000642df480007014e30..."} 
[2026-08-23 01:24:34] local.INFO: Packet analysis {"connection_id":160404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:24:34] local.INFO: Extracted packet for processing {"connection_id":160404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:24:34] local.INFO: GPS Element Parsed {"raw_longitude":760605440,"raw_latitude":105045832,"longitude_deg":76.060544,"latitude_deg":10.5045832,"altitude":7,"angle":334,"satellites":48,"speed":51,"hex_longitude":"2d55eb00","hex_latitude":"0642df48","is_valid_coordinates":true} 
[2026-08-23 01:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581662208001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389471121914724352,"note":"Value kept but may cause issues"} 
[2026-08-23 01:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6195405001779531776,"note":"Value kept but may cause issues"} 
[2026-08-23 01:24:34] 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-08-23 01:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787428375000,"timestamp_ms":1787428375000,"timestamp_seconds":1787428375,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0889d8"} 
[2026-08-23 01:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:24: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-08-23 01:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 01:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:24:34] 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-08-23 01:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581662208001,"66":27365,"216":206,"78":38912,"24":51,"16":389471121914724352,"45":6195405001779531776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-08-23 01:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581662208001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:24:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 01:24:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389471121914724352,"km_value":389471121914724.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6195405001779531776,"description":"Unknown IO ID 45"} 
[2026-08-23 01:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581662208001,"power":27365,"unknown_216":206,"unknown_78":38912,"ignition":51,"odometer":null,"unknown_45":6195405001779531776}} 
[2026-08-23 01:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":160404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:24:34] local.INFO: GPS data processed {"connection_id":160404,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:24:34] local.INFO: Acknowledgment sent {"connection_id":160404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:24:47] local.INFO: TCP Data received {"connection_id":160405,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:24:47] local.INFO: Processing buffer {"connection_id":160405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:24:47] local.INFO: IMEI packet received {"connection_id":160405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":160405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:24:50] local.INFO: TCP Data received {"connection_id":160405,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:24:50] local.INFO: Processing buffer {"connection_id":160405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:24:50] local.INFO: IMEI packet received {"connection_id":160405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":160405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:24:51] local.INFO: TCP Data received {"connection_id":160203,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:24:51] local.INFO: Processing buffer {"connection_id":160203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:24:51] local.INFO: IMEI packet received {"connection_id":160203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":160203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:24:52] local.INFO: TCP Data received {"connection_id":160405,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:24:52] local.INFO: Processing buffer {"connection_id":160405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:24:52] local.INFO: IMEI packet received {"connection_id":160405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":160405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:24:53] local.INFO: TCP Data received {"connection_id":160405,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b08a530012d55dc400642fed00008014e32..."} 
[2026-08-23 01:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b08a530012d55dc400642fed00008014e32..."} 
[2026-08-23 01:24:53] local.INFO: Processing buffer {"connection_id":160405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b08a530012d55dc400642fed00008014e32..."} 
[2026-08-23 01:24:53] local.INFO: Packet analysis {"connection_id":160405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:24:53] local.INFO: Extracted packet for processing {"connection_id":160405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:24:53] local.INFO: GPS Element Parsed {"raw_longitude":760601664,"raw_latitude":105053904,"longitude_deg":76.0601664,"latitude_deg":10.5053904,"altitude":8,"angle":334,"satellites":50,"speed":48,"hex_longitude":"2d55dc40","hex_latitude":"0642fed0","is_valid_coordinates":true} 
[2026-08-23 01:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581664000001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389471551411453952,"note":"Value kept but may cause issues"} 
[2026-08-23 01:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6191042139642611712,"note":"Value kept but may cause issues"} 
[2026-08-23 01:24:53] 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-08-23 01:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787428382000,"timestamp_ms":1787428382000,"timestamp_seconds":1787428382,"priority":1,"record_length":96,"hex_timestamp":"000001a02b08a530"} 
[2026-08-23 01:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:24: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-08-23 01:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 01:24: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-08-23 01:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:24:53] 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-08-23 01:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581664000001,"66":27343,"216":206,"78":38912,"24":48,"16":389471551411453952,"45":6191042139642611712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-08-23 01:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581664000001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:24:53] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 01:24:53] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389471551411453952,"km_value":389471551411453.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6191042139642611712,"description":"Unknown IO ID 45"} 
[2026-08-23 01:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581664000001,"power":27343,"unknown_216":206,"unknown_78":38912,"ignition":48,"odometer":null,"unknown_45":6191042139642611712}} 
[2026-08-23 01:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":160405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:24:53] local.INFO: GPS data processed {"connection_id":160405,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:24:53] local.INFO: Acknowledgment sent {"connection_id":160405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:24:56] local.INFO: TCP Data received {"connection_id":160203,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:24:56] local.INFO: Processing buffer {"connection_id":160203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:24:56] local.INFO: IMEI packet received {"connection_id":160203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":160203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:24:57] local.INFO: TCP Data received {"connection_id":160203,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:24:57] local.INFO: Processing buffer {"connection_id":160203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:24:57] local.INFO: Packet analysis {"connection_id":160203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:24:57] local.INFO: Extracted packet for processing {"connection_id":160203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:24:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581592064001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787428395000,"timestamp_ms":1787428395000,"timestamp_seconds":1787428395,"priority":1,"record_length":96,"hex_timestamp":"000001a02b08d7f8"} 
[2026-08-23 01:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581592064001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581592064001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:24:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:24:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581592064001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":160203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:24:57] local.INFO: GPS data processed {"connection_id":160203,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:24:57] local.INFO: Acknowledgment sent {"connection_id":160203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:24:58] local.INFO: TCP Data received {"connection_id":160405,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b08c470012d55cc8006431f40000a014f32..."} 
[2026-08-23 01:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b08c470012d55cc8006431f40000a014f32..."} 
[2026-08-23 01:24:58] local.INFO: Processing buffer {"connection_id":160405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b08c470012d55cc8006431f40000a014f32..."} 
[2026-08-23 01:24:58] local.INFO: Packet analysis {"connection_id":160405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:24:58] local.INFO: Extracted packet for processing {"connection_id":160405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:24:58] local.INFO: GPS Element Parsed {"raw_longitude":760597632,"raw_latitude":105062208,"longitude_deg":76.0597632,"latitude_deg":10.5062208,"altitude":10,"angle":335,"satellites":50,"speed":43,"hex_longitude":"2d55cc80","hex_latitude":"06431f40","is_valid_coordinates":true} 
[2026-08-23 01:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581665792001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389471998088052736,"note":"Value kept but may cause issues"} 
[2026-08-23 01:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6186890383738195968,"note":"Value kept but may cause issues"} 
[2026-08-23 01:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787428390000,"timestamp_ms":1787428390000,"timestamp_seconds":1787428390,"priority":1,"record_length":96,"hex_timestamp":"000001a02b08c470"} 
[2026-08-23 01:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 01:24: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-08-23 01:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:24:58] 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-08-23 01:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581665792001,"66":27332,"216":206,"78":38912,"24":43,"16":389471998088052736,"45":6186890383738195968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-08-23 01:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581665792001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:24:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 01:24:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389471998088052736,"km_value":389471998088052.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6186890383738195968,"description":"Unknown IO ID 45"} 
[2026-08-23 01:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581665792001,"power":27332,"unknown_216":206,"unknown_78":38912,"ignition":43,"odometer":null,"unknown_45":6186890383738195968}} 
[2026-08-23 01:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":160405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:24:58] local.INFO: GPS data processed {"connection_id":160405,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:24:58] local.INFO: Acknowledgment sent {"connection_id":160405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:25:28] local.INFO: TCP Data received {"connection_id":160203,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:25:28] local.INFO: Processing buffer {"connection_id":160203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:25:28] local.INFO: Packet analysis {"connection_id":160203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:25:28] local.INFO: Extracted packet for processing {"connection_id":160203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:25:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581592064001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787428395000,"timestamp_ms":1787428395000,"timestamp_seconds":1787428395,"priority":1,"record_length":96,"hex_timestamp":"000001a02b08d7f8"} 
[2026-08-23 01:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581592064001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581592064001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:25:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:25:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581592064001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":160203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:25:28] local.INFO: GPS data processed {"connection_id":160203,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:25:28] local.INFO: Acknowledgment sent {"connection_id":160203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:25:29] local.INFO: TCP Data received {"connection_id":160405,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b08e798012d55bc0006434100000c014e32..."} 
[2026-08-23 01:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b08e798012d55bc0006434100000c014e32..."} 
[2026-08-23 01:25:29] local.INFO: Processing buffer {"connection_id":160405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b08e798012d55bc0006434100000c014e32..."} 
[2026-08-23 01:25:29] local.INFO: Packet analysis {"connection_id":160405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:25:29] local.INFO: Extracted packet for processing {"connection_id":160405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:25:29] local.INFO: GPS Element Parsed {"raw_longitude":760593408,"raw_latitude":105070848,"longitude_deg":76.0593408,"latitude_deg":10.5070848,"altitude":12,"angle":334,"satellites":50,"speed":41,"hex_longitude":"2d55bc00","hex_latitude":"06434100","is_valid_coordinates":true} 
[2026-08-23 01:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581667840001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389472461944520704,"note":"Value kept but may cause issues"} 
[2026-08-23 01:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6182457152857128960,"note":"Value kept but may cause issues"} 
[2026-08-23 01:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787428399000,"timestamp_ms":1787428399000,"timestamp_seconds":1787428399,"priority":1,"record_length":96,"hex_timestamp":"000001a02b08e798"} 
[2026-08-23 01:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:25: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-08-23 01:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 01:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:25:29] 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-08-23 01:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581667840001,"66":27321,"216":206,"78":38912,"24":41,"16":389472461944520704,"45":6182457152857128960},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-08-23 01:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581667840001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:25:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 01:25:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389472461944520704,"km_value":389472461944520.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6182457152857128960,"description":"Unknown IO ID 45"} 
[2026-08-23 01:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581667840001,"power":27321,"unknown_216":206,"unknown_78":38912,"ignition":41,"odometer":null,"unknown_45":6182457152857128960}} 
[2026-08-23 01:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":160405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:25:29] local.INFO: GPS data processed {"connection_id":160405,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:25:29] local.INFO: Acknowledgment sent {"connection_id":160405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:25:47] local.INFO: TCP Data received {"connection_id":161361,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:25:47] local.INFO: Processing buffer {"connection_id":161361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:25:47] local.INFO: IMEI packet received {"connection_id":161361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":161361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:25:50] local.INFO: TCP Data received {"connection_id":161361,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:25:50] local.INFO: Processing buffer {"connection_id":161361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:25:50] local.INFO: IMEI packet received {"connection_id":161361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":161361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:25:51] local.INFO: TCP Data received {"connection_id":160204,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:25:51] local.INFO: Processing buffer {"connection_id":160204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:25:51] local.INFO: IMEI packet received {"connection_id":160204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":160204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:25:53] local.INFO: TCP Data received {"connection_id":161361,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:25:53] local.INFO: Processing buffer {"connection_id":161361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:25:53] local.INFO: IMEI packet received {"connection_id":161361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":161361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:25:53] local.INFO: TCP Data received {"connection_id":161361,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0a56c8012d54fe000644a6e0000f014b31..."} 
[2026-08-23 01:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0a56c8012d54fe000644a6e0000f014b31..."} 
[2026-08-23 01:25:53] local.INFO: Processing buffer {"connection_id":161361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0a56c8012d54fe000644a6e0000f014b31..."} 
[2026-08-23 01:25:53] local.INFO: Packet analysis {"connection_id":161361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0a"} 
[2026-08-23 01:25:53] local.INFO: Extracted packet for processing {"connection_id":161361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0a"} 
[2026-08-23 01:25:53] local.INFO: GPS Element Parsed {"raw_longitude":760544768,"raw_latitude":105162464,"longitude_deg":76.0544768,"latitude_deg":10.5162464,"altitude":15,"angle":331,"satellites":49,"speed":40,"hex_longitude":"2d54fe00","hex_latitude":"0644a6e0","is_valid_coordinates":true} 
[2026-08-23 01:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581691904001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389477478466322432,"note":"Value kept but may cause issues"} 
[2026-08-23 01:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6128906538561538048,"note":"Value kept but may cause issues"} 
[2026-08-23 01:25:53] 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-08-23 01:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787428493000,"timestamp_ms":1787428493000,"timestamp_seconds":1787428493,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0a56c8"} 
[2026-08-23 01:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:25: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-08-23 01:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-23 01:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:25:53] 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-08-23 01:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581691904001,"66":27115,"232":206,"78":38912,"24":40,"16":389477478466322432,"45":6128906538561538048},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-08-23 01:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581691904001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:25:53] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-23 01:25:53] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389477478466322432,"km_value":389477478466322.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6128906538561538048,"description":"Unknown IO ID 45"} 
[2026-08-23 01:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581691904001,"power":27115,"unknown_232":206,"unknown_78":38912,"ignition":40,"odometer":null,"unknown_45":6128906538561538048}} 
[2026-08-23 01:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":161361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:25:53] local.INFO: GPS data processed {"connection_id":161361,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:25:53] local.INFO: Acknowledgment sent {"connection_id":161361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:25:56] local.INFO: TCP Data received {"connection_id":160204,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:25:56] local.INFO: Processing buffer {"connection_id":160204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:25:56] local.INFO: IMEI packet received {"connection_id":160204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":160204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:25:57] local.INFO: TCP Data received {"connection_id":160204,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:25:57] local.INFO: Processing buffer {"connection_id":160204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:25:57] local.INFO: Packet analysis {"connection_id":160204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:25:57] local.INFO: Extracted packet for processing {"connection_id":160204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:25:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581592064001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787428395000,"timestamp_ms":1787428395000,"timestamp_seconds":1787428395,"priority":1,"record_length":96,"hex_timestamp":"000001a02b08d7f8"} 
[2026-08-23 01:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581592064001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581592064001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:25:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:25:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581592064001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":160204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:25:57] local.INFO: GPS data processed {"connection_id":160204,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:25:57] local.INFO: Acknowledgment sent {"connection_id":160204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:26:25] local.INFO: TCP Data received {"connection_id":161361,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0a79f0012d54ebc00644c530000f014833..."} 
[2026-08-23 01:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0a79f0012d54ebc00644c530000f014833..."} 
[2026-08-23 01:26:25] local.INFO: Processing buffer {"connection_id":161361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0a79f0012d54ebc00644c530000f014833..."} 
[2026-08-23 01:26:25] local.INFO: Packet analysis {"connection_id":161361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0a"} 
[2026-08-23 01:26:25] local.INFO: Extracted packet for processing {"connection_id":161361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0a"} 
[2026-08-23 01:26:25] local.INFO: GPS Element Parsed {"raw_longitude":760540096,"raw_latitude":105170224,"longitude_deg":76.0540096,"latitude_deg":10.5170224,"altitude":15,"angle":328,"satellites":51,"speed":38,"hex_longitude":"2d54ebc0","hex_latitude":"0644c530","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581694208001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389477916552986624,"note":"Value kept but may cause issues"} 
[2026-08-23 01:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6124332570192044032,"note":"Value kept but may cause issues"} 
[2026-08-23 01:26:25] 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-08-23 01:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787428502000,"timestamp_ms":1787428502000,"timestamp_seconds":1787428502,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0a79f0"} 
[2026-08-23 01:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-23 01:26:25] 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-08-23 01: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-08-23 01:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:26:25] 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-08-23 01:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581694208001,"66":27300,"232":206,"78":38912,"24":38,"16":389477916552986624,"45":6124332570192044032},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-08-23 01:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581694208001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:26:25] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-23 01:26:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389477916552986624,"km_value":389477916552986.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6124332570192044032,"description":"Unknown IO ID 45"} 
[2026-08-23 01:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581694208001,"power":27300,"unknown_232":206,"unknown_78":38912,"ignition":38,"odometer":null,"unknown_45":6124332570192044032}} 
[2026-08-23 01:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":161361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:26:25] local.INFO: GPS data processed {"connection_id":161361,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:26:25] local.INFO: Acknowledgment sent {"connection_id":161361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:26:28] local.INFO: TCP Data received {"connection_id":160204,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:26:28] local.INFO: Processing buffer {"connection_id":160204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:26:28] local.INFO: Packet analysis {"connection_id":160204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:26:28] local.INFO: Extracted packet for processing {"connection_id":160204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581592064001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787428395000,"timestamp_ms":1787428395000,"timestamp_seconds":1787428395,"priority":1,"record_length":96,"hex_timestamp":"000001a02b08d7f8"} 
[2026-08-23 01:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581592064001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581592064001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:26:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:26:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581592064001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":160204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:26:28] local.INFO: GPS data processed {"connection_id":160204,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:26:28] local.INFO: Acknowledgment sent {"connection_id":160204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:26:47] local.INFO: TCP Data received {"connection_id":161362,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:26:47] local.INFO: Processing buffer {"connection_id":161362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:26:47] local.INFO: IMEI packet received {"connection_id":161362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":161362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:26:52] local.INFO: TCP Data received {"connection_id":161362,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:26:53] local.INFO: Processing buffer {"connection_id":161362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:26:53] local.INFO: IMEI packet received {"connection_id":161362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":161362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:26:54] local.INFO: TCP Data received {"connection_id":161362,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0a9d18012d54d8400644e2e8000d014732..."} 
[2026-08-23 01:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0a9d18012d54d8400644e2e8000d014732..."} 
[2026-08-23 01:26:54] local.INFO: Processing buffer {"connection_id":161362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0a9d18012d54d8400644e2e8000d014732..."} 
[2026-08-23 01:26:54] local.INFO: Packet analysis {"connection_id":161362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0a"} 
[2026-08-23 01:26:54] local.INFO: Extracted packet for processing {"connection_id":161362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0a"} 
[2026-08-23 01:26:54] local.INFO: GPS Element Parsed {"raw_longitude":760535104,"raw_latitude":105177832,"longitude_deg":76.0535104,"latitude_deg":10.5177832,"altitude":13,"angle":327,"satellites":50,"speed":41,"hex_longitude":"2d54d840","hex_latitude":"0644e2e8","is_valid_coordinates":true} 
[2026-08-23 01:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581696512001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389478354639650816,"note":"Value kept but may cause issues"} 
[2026-08-23 01:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6119195651869061120,"note":"Value kept but may cause issues"} 
[2026-08-23 01:26:54] 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-08-23 01:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787428511000,"timestamp_ms":1787428511000,"timestamp_seconds":1787428511,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0a9d18"} 
[2026-08-23 01:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:26: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-08-23 01: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 01:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:26:54] 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-08-23 01:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581696512001,"66":27213,"232":206,"78":38912,"24":41,"16":389478354639650816,"45":6119195651869061120},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-08-23 01:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581696512001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:26:54] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-23 01:26:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389478354639650816,"km_value":389478354639650.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6119195651869061120,"description":"Unknown IO ID 45"} 
[2026-08-23 01:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581696512001,"power":27213,"unknown_232":206,"unknown_78":38912,"ignition":41,"odometer":null,"unknown_45":6119195651869061120}} 
[2026-08-23 01:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":161362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:26:54] local.INFO: GPS data processed {"connection_id":161362,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:26:54] local.INFO: Acknowledgment sent {"connection_id":161362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:26:56] local.INFO: TCP Data received {"connection_id":160205,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:26:56] local.INFO: Processing buffer {"connection_id":160205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:26:56] local.INFO: IMEI packet received {"connection_id":160205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":160205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:27:01] local.INFO: TCP Data received {"connection_id":160205,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:27:01] local.INFO: Processing buffer {"connection_id":160205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:27:01] local.INFO: IMEI packet received {"connection_id":160205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":160205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:27:02] local.INFO: TCP Data received {"connection_id":160205,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:27:02] local.INFO: Processing buffer {"connection_id":160205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:27:02] local.INFO: Packet analysis {"connection_id":160205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:27:02] local.INFO: Extracted packet for processing {"connection_id":160205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:27:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581592064001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787428395000,"timestamp_ms":1787428395000,"timestamp_seconds":1787428395,"priority":1,"record_length":96,"hex_timestamp":"000001a02b08d7f8"} 
[2026-08-23 01:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581592064001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581592064001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:27:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:27:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581592064001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":160205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:27:02] local.INFO: GPS data processed {"connection_id":160205,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:27:02] local.INFO: Acknowledgment sent {"connection_id":160205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:27:06] local.INFO: TCP Data received {"connection_id":160205,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:27:06] local.INFO: Processing buffer {"connection_id":160205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:27:06] local.INFO: Packet analysis {"connection_id":160205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:27:06] local.INFO: Extracted packet for processing {"connection_id":160205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581592064001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787428395000,"timestamp_ms":1787428395000,"timestamp_seconds":1787428395,"priority":1,"record_length":96,"hex_timestamp":"000001a02b08d7f8"} 
[2026-08-23 01:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581592064001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581592064001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:27:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581592064001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":160205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:27:07] local.INFO: GPS data processed {"connection_id":160205,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:27:07] local.INFO: Acknowledgment sent {"connection_id":160205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:27:25] local.INFO: TCP Data received {"connection_id":161362,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0ac040012d54c3c006450258000c014831..."} 
[2026-08-23 01:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0ac040012d54c3c006450258000c014831..."} 
[2026-08-23 01:27:25] local.INFO: Processing buffer {"connection_id":161362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0ac040012d54c3c006450258000c014831..."} 
[2026-08-23 01:27:25] local.INFO: Packet analysis {"connection_id":161362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0a"} 
[2026-08-23 01:27:25] local.INFO: Extracted packet for processing {"connection_id":161362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0a"} 
[2026-08-23 01:27:25] local.INFO: GPS Element Parsed {"raw_longitude":760529856,"raw_latitude":105185880,"longitude_deg":76.0529856,"latitude_deg":10.518588,"altitude":12,"angle":328,"satellites":49,"speed":42,"hex_longitude":"2d54c3c0","hex_latitude":"06450258","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581698816001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389478818496118784,"note":"Value kept but may cause issues"} 
[2026-08-23 01:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6113706889825150976,"note":"Value kept but may cause issues"} 
[2026-08-23 01:27:25] 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-08-23 01:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787428520000,"timestamp_ms":1787428520000,"timestamp_seconds":1787428520,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0ac040"} 
[2026-08-23 01:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:27: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-08-23 01: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 01:27: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-08-23 01: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-08-23 01:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:27:25] 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-08-23 01:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581698816001,"66":27343,"232":206,"78":38912,"24":42,"16":389478818496118784,"45":6113706889825150976},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-08-23 01:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581698816001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:27:25] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-23 01:27:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389478818496118784,"km_value":389478818496118.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6113706889825150976,"description":"Unknown IO ID 45"} 
[2026-08-23 01:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581698816001,"power":27343,"unknown_232":206,"unknown_78":38912,"ignition":42,"odometer":null,"unknown_45":6113706889825150976}} 
[2026-08-23 01:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":161362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:27:25] local.INFO: GPS data processed {"connection_id":161362,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:27:25] local.INFO: Acknowledgment sent {"connection_id":161362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:27:51] local.INFO: TCP Data received {"connection_id":162771,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:27:51] local.INFO: Processing buffer {"connection_id":162771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:27:51] local.INFO: IMEI packet received {"connection_id":162771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":162771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:27:52] local.INFO: TCP Data received {"connection_id":162772,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:27:52] local.INFO: Processing buffer {"connection_id":162772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:27:52] local.INFO: IMEI packet received {"connection_id":162772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":162772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:27:55] local.INFO: TCP Data received {"connection_id":162772,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:27:55] local.INFO: Processing buffer {"connection_id":162772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:27:55] local.INFO: IMEI packet received {"connection_id":162772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":162772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:27:55] local.INFO: TCP Data received {"connection_id":162772,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0c27a0012d540200064664f80005014932..."} 
[2026-08-23 01:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0c27a0012d540200064664f80005014932..."} 
[2026-08-23 01:27:55] local.INFO: Processing buffer {"connection_id":162772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0c27a0012d540200064664f80005014932..."} 
[2026-08-23 01:27:55] local.INFO: Packet analysis {"connection_id":162772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0c"} 
[2026-08-23 01:27:55] local.INFO: Extracted packet for processing {"connection_id":162772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0c"} 
[2026-08-23 01:27:55] local.INFO: GPS Element Parsed {"raw_longitude":760480256,"raw_latitude":105276664,"longitude_deg":76.0480256,"latitude_deg":10.5276664,"altitude":5,"angle":329,"satellites":50,"speed":24,"hex_longitude":"2d540200","hex_latitude":"064664f8","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581721344001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389483813543084032,"note":"Value kept but may cause issues"} 
[2026-08-23 01:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6058256319436386304,"note":"Value kept but may cause issues"} 
[2026-08-23 01:27:55] 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-08-23 01:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787428612000,"timestamp_ms":1787428612000,"timestamp_seconds":1787428612,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0c27a0"} 
[2026-08-23 01:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:27: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-08-23 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 01:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:27:55] 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-08-23 01:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581721344001,"66":27332,"99":206,"78":38912,"24":24,"16":389483813543084032,"45":6058256319436386304},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-08-23 01:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581721344001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:27:55] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-23 01:27:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389483813543084032,"km_value":389483813543084.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6058256319436386304,"description":"Unknown IO ID 45"} 
[2026-08-23 01:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581721344001,"power":27332,"unknown_99":206,"unknown_78":38912,"ignition":24,"odometer":null,"unknown_45":6058256319436386304}} 
[2026-08-23 01:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":162772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:27:55] local.INFO: GPS data processed {"connection_id":162772,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:27:55] local.INFO: Acknowledgment sent {"connection_id":162772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:27:56] local.INFO: TCP Data received {"connection_id":162771,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:27:56] local.INFO: Processing buffer {"connection_id":162771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:27:56] local.INFO: IMEI packet received {"connection_id":162771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":162771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:27:57] local.INFO: TCP Data received {"connection_id":162771,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:27:57] local.INFO: Processing buffer {"connection_id":162771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:27:57] local.INFO: Packet analysis {"connection_id":162771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:27:57] local.INFO: Extracted packet for processing {"connection_id":162771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:27:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581592064001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787428395000,"timestamp_ms":1787428395000,"timestamp_seconds":1787428395,"priority":1,"record_length":96,"hex_timestamp":"000001a02b08d7f8"} 
[2026-08-23 01:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:27:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581592064001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581592064001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:27:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:27:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581592064001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":162771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:27:57] local.INFO: GPS data processed {"connection_id":162771,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:27:57] local.INFO: Acknowledgment sent {"connection_id":162771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:28:27] local.INFO: TCP Data received {"connection_id":162772,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0c5a68012d53f000064685280005014c31..."} 
[2026-08-23 01:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0c5a68012d53f000064685280005014c31..."} 
[2026-08-23 01:28:27] local.INFO: Processing buffer {"connection_id":162772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0c5a68012d53f000064685280005014c31..."} 
[2026-08-23 01:28:27] local.INFO: Packet analysis {"connection_id":162772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0c"} 
[2026-08-23 01:28:27] local.INFO: Extracted packet for processing {"connection_id":162772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0c"} 
[2026-08-23 01:28:27] local.INFO: GPS Element Parsed {"raw_longitude":760475648,"raw_latitude":105284904,"longitude_deg":76.0475648,"latitude_deg":10.5284904,"altitude":5,"angle":332,"satellites":49,"speed":28,"hex_longitude":"2d53f000","hex_latitude":"06468528","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581724672001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389484273104584704,"note":"Value kept but may cause issues"} 
[2026-08-23 01:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6053400876090193920,"note":"Value kept but may cause issues"} 
[2026-08-23 01:28:27] 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-08-23 01:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787428625000,"timestamp_ms":1787428625000,"timestamp_seconds":1787428625,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0c5a68"} 
[2026-08-23 01:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 01:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:28:27] 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-08-23 01:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581724672001,"66":27332,"99":206,"78":38912,"24":28,"16":389484273104584704,"45":6053400876090193920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-08-23 01:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581724672001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:28:27] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-23 01:28:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389484273104584704,"km_value":389484273104584.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6053400876090193920,"description":"Unknown IO ID 45"} 
[2026-08-23 01:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581724672001,"power":27332,"unknown_99":206,"unknown_78":38912,"ignition":28,"odometer":null,"unknown_45":6053400876090193920}} 
[2026-08-23 01:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":162772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:28:27] local.INFO: GPS data processed {"connection_id":162772,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:28:27] local.INFO: Acknowledgment sent {"connection_id":162772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:28:28] local.INFO: TCP Data received {"connection_id":162771,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:28:28] local.INFO: Processing buffer {"connection_id":162771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b08d7f8012d196540071ff1b0004401372a..."} 
[2026-08-23 01:28:28] local.INFO: Packet analysis {"connection_id":162771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:28:28] local.INFO: Extracted packet for processing {"connection_id":162771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b08"} 
[2026-08-23 01:28:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581592064001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787428395000,"timestamp_ms":1787428395000,"timestamp_seconds":1787428395,"priority":1,"record_length":96,"hex_timestamp":"000001a02b08d7f8"} 
[2026-08-23 01:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581592064001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581592064001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:28:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:28:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581592064001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":162771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:28:28] local.INFO: GPS data processed {"connection_id":162771,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:28:28] local.INFO: Acknowledgment sent {"connection_id":162771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:28:47] local.INFO: TCP Data received {"connection_id":160206,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:28:47] local.INFO: Processing buffer {"connection_id":160206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:28:47] local.INFO: IMEI packet received {"connection_id":160206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":160206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:28:51] local.INFO: TCP Data received {"connection_id":161364,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:28:51] local.INFO: Processing buffer {"connection_id":161364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:28:51] local.INFO: IMEI packet received {"connection_id":161364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":161364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:28:52] local.INFO: TCP Data received {"connection_id":160206,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:28:53] local.INFO: Processing buffer {"connection_id":160206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:28:53] local.INFO: IMEI packet received {"connection_id":160206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":160206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:28:54] local.INFO: TCP Data received {"connection_id":161364,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:28:54] local.INFO: Processing buffer {"connection_id":161364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:28:54] local.INFO: IMEI packet received {"connection_id":161364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":161364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:28:55] local.INFO: TCP Data received {"connection_id":161364,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:28:55] local.INFO: Processing buffer {"connection_id":161364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:28:55] local.INFO: Packet analysis {"connection_id":161364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:28:55] local.INFO: Extracted packet for processing {"connection_id":161364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:28:55] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581669120001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787428696000,"timestamp_ms":1787428696000,"timestamp_seconds":1787428696,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0d6fc0"} 
[2026-08-23 01:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:28: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-08-23 01:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 01:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581669120001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581669120001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:28:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:28:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581669120001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":161364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:28:55] local.INFO: GPS data processed {"connection_id":161364,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:28:55] local.INFO: Acknowledgment sent {"connection_id":161364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:28:57] local.INFO: TCP Data received {"connection_id":160206,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0c8560012d53e4c00646a0580007015733..."} 
[2026-08-23 01:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0c8560012d53e4c00646a0580007015733..."} 
[2026-08-23 01:28:57] local.INFO: Processing buffer {"connection_id":160206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0c8560012d53e4c00646a0580007015733..."} 
[2026-08-23 01:28:57] local.INFO: Packet analysis {"connection_id":160206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0c"} 
[2026-08-23 01:28:57] local.INFO: Extracted packet for processing {"connection_id":160206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0c"} 
[2026-08-23 01:28:57] local.INFO: GPS Element Parsed {"raw_longitude":760472768,"raw_latitude":105291864,"longitude_deg":76.0472768,"latitude_deg":10.5291864,"altitude":7,"angle":343,"satellites":51,"speed":27,"hex_longitude":"2d53e4c0","hex_latitude":"0646a058","is_valid_coordinates":true} 
[2026-08-23 01:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581728000001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389484638176804864,"note":"Value kept but may cause issues"} 
[2026-08-23 01:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6048334326511511552,"note":"Value kept but may cause issues"} 
[2026-08-23 01:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787428636000,"timestamp_ms":1787428636000,"timestamp_seconds":1787428636,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0c8560"} 
[2026-08-23 01:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 01:28: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-08-23 01:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:28:57] 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-08-23 01:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581728000001,"66":27484,"101":206,"78":38912,"24":27,"16":389484638176804864,"45":6048334326511511552},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,78,24,16,45]} 
[2026-08-23 01:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581728000001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:28:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 01:28:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389484638176804864,"km_value":389484638176804.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6048334326511511552,"description":"Unknown IO ID 45"} 
[2026-08-23 01:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581728000001,"power":27484,"unknown_101":206,"unknown_78":38912,"ignition":27,"odometer":null,"unknown_45":6048334326511511552}} 
[2026-08-23 01:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":160206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:28:57] local.INFO: GPS data processed {"connection_id":160206,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:28:57] local.INFO: Acknowledgment sent {"connection_id":160206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:29:26] local.INFO: TCP Data received {"connection_id":161364,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:29:26] local.INFO: Processing buffer {"connection_id":161364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:29:26] local.INFO: Packet analysis {"connection_id":161364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:29:26] local.INFO: Extracted packet for processing {"connection_id":161364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:29:26] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581669120001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787428696000,"timestamp_ms":1787428696000,"timestamp_seconds":1787428696,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0d6fc0"} 
[2026-08-23 01:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:29: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-08-23 01: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 01:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581669120001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581669120001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:29:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:29:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581669120001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":161364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:29:26] local.INFO: GPS data processed {"connection_id":161364,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:29:26] local.INFO: Acknowledgment sent {"connection_id":161364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:29:28] local.INFO: TCP Data received {"connection_id":160206,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0cb440012d53ddc00646c2500007016034..."} 
[2026-08-23 01:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0cb440012d53ddc00646c2500007016034..."} 
[2026-08-23 01:29:28] local.INFO: Processing buffer {"connection_id":160206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0cb440012d53ddc00646c2500007016034..."} 
[2026-08-23 01:29:28] local.INFO: Packet analysis {"connection_id":160206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0c"} 
[2026-08-23 01:29:28] local.INFO: Extracted packet for processing {"connection_id":160206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0c"} 
[2026-08-23 01:29:28] local.INFO: GPS Element Parsed {"raw_longitude":760470976,"raw_latitude":105300560,"longitude_deg":76.0470976,"latitude_deg":10.530056,"altitude":7,"angle":352,"satellites":52,"speed":29,"hex_longitude":"2d53ddc0","hex_latitude":"0646c250","is_valid_coordinates":true} 
[2026-08-23 01:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581730816001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389485067673534464,"note":"Value kept but may cause issues"} 
[2026-08-23 01:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6045167733025298432,"note":"Value kept but may cause issues"} 
[2026-08-23 01:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787428648000,"timestamp_ms":1787428648000,"timestamp_seconds":1787428648,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0cb440"} 
[2026-08-23 01:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 01:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581730816001,"66":27321,"101":206,"78":38912,"24":29,"16":389485067673534464,"45":6045167733025298432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,78,24,16,45]} 
[2026-08-23 01:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581730816001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:29:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 01:29:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389485067673534464,"km_value":389485067673534.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6045167733025298432,"description":"Unknown IO ID 45"} 
[2026-08-23 01:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581730816001,"power":27321,"unknown_101":206,"unknown_78":38912,"ignition":29,"odometer":null,"unknown_45":6045167733025298432}} 
[2026-08-23 01:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":160206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:29:28] local.INFO: GPS data processed {"connection_id":160206,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:29:28] local.INFO: Acknowledgment sent {"connection_id":160206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:29:51] local.INFO: TCP Data received {"connection_id":160407,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:29:51] local.INFO: Processing buffer {"connection_id":160407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:29:51] local.INFO: IMEI packet received {"connection_id":160407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":160407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:29:53] local.INFO: TCP Data received {"connection_id":160406,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:29:53] local.INFO: Processing buffer {"connection_id":160406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:29:53] local.INFO: IMEI packet received {"connection_id":160406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":160406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:29:55] local.INFO: TCP Data received {"connection_id":160406,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:29:55] local.INFO: Processing buffer {"connection_id":160406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:29:55] local.INFO: IMEI packet received {"connection_id":160406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":160406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:29:56] local.INFO: TCP Data received {"connection_id":160406,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0ce708012d53db800646e7580009016533..."} 
[2026-08-23 01:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0ce708012d53db800646e7580009016533..."} 
[2026-08-23 01:29:56] local.INFO: Processing buffer {"connection_id":160406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0ce708012d53db800646e7580009016533..."} 
[2026-08-23 01:29:56] local.INFO: Packet analysis {"connection_id":160406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0c"} 
[2026-08-23 01:29:56] local.INFO: Extracted packet for processing {"connection_id":160406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0c"} 
[2026-08-23 01:29:56] local.INFO: GPS Element Parsed {"raw_longitude":760470400,"raw_latitude":105310040,"longitude_deg":76.04704,"latitude_deg":10.531004,"altitude":9,"angle":357,"satellites":51,"speed":26,"hex_longitude":"2d53db80","hex_latitude":"0646e758","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581733888001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389485527235035136,"note":"Value kept but may cause issues"} 
[2026-08-23 01:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6043197408190550016,"note":"Value kept but may cause issues"} 
[2026-08-23 01:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787428661000,"timestamp_ms":1787428661000,"timestamp_seconds":1787428661,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0ce708"} 
[2026-08-23 01:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 01:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:29:56] 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-08-23 01:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581733888001,"66":27332,"101":206,"78":38912,"24":26,"16":389485527235035136,"45":6043197408190550016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,78,24,16,45]} 
[2026-08-23 01:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581733888001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:29:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 01:29:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389485527235035136,"km_value":389485527235035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6043197408190550016,"description":"Unknown IO ID 45"} 
[2026-08-23 01:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581733888001,"power":27332,"unknown_101":206,"unknown_78":38912,"ignition":26,"odometer":null,"unknown_45":6043197408190550016}} 
[2026-08-23 01:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":160406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:29:56] local.INFO: GPS data processed {"connection_id":160406,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:29:56] local.INFO: Acknowledgment sent {"connection_id":160406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:29:56] local.INFO: TCP Data received {"connection_id":160407,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:29:56] local.INFO: Processing buffer {"connection_id":160407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:29:56] local.INFO: IMEI packet received {"connection_id":160407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":160407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:29:57] local.INFO: TCP Data received {"connection_id":160407,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:29:57] local.INFO: Processing buffer {"connection_id":160407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:29:57] local.INFO: Packet analysis {"connection_id":160407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:29:57] local.INFO: Extracted packet for processing {"connection_id":160407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:29:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581669120001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787428696000,"timestamp_ms":1787428696000,"timestamp_seconds":1787428696,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0d6fc0"} 
[2026-08-23 01:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:29: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-08-23 01: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 01:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581669120001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581669120001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:29:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:29:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581669120001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":160407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:29:57] local.INFO: GPS data processed {"connection_id":160407,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:29:57] local.INFO: Acknowledgment sent {"connection_id":160407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:29:57] local.INFO: TCP Data received {"connection_id":160406,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0d2d58012d53db4006470ac8000b000131..."} 
[2026-08-23 01:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0d2d58012d53db4006470ac8000b000131..."} 
[2026-08-23 01:29:57] local.INFO: Processing buffer {"connection_id":160406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0d2d58012d53db4006470ac8000b000131..."} 
[2026-08-23 01:29:57] local.INFO: Packet analysis {"connection_id":160406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:29:57] local.INFO: Extracted packet for processing {"connection_id":160406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:29:57] local.INFO: GPS Element Parsed {"raw_longitude":760470336,"raw_latitude":105319112,"longitude_deg":76.0470336,"latitude_deg":10.5319112,"altitude":11,"angle":1,"satellites":49,"speed":19,"hex_longitude":"2d53db40","hex_latitude":"06470ac8","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581737216001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389485969616666624,"note":"Value kept but may cause issues"} 
[2026-08-23 01:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042564089495377920,"note":"Value kept but may cause issues"} 
[2026-08-23 01:29:57] 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-08-23 01:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787428679000,"timestamp_ms":1787428679000,"timestamp_seconds":1787428679,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0d2d58"} 
[2026-08-23 01:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:29: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-08-23 01:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 01:29: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-08-23 01: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-08-23 01:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:29:57] 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-08-23 01:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581737216001,"66":27267,"194":206,"78":38912,"24":19,"16":389485969616666624,"45":6042564089495377920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-08-23 01:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581737216001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:29:57] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-23 01:29:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389485969616666624,"km_value":389485969616666.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042564089495377920,"description":"Unknown IO ID 45"} 
[2026-08-23 01:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581737216001,"power":27267,"unknown_194":206,"unknown_78":38912,"ignition":19,"odometer":null,"unknown_45":6042564089495377920}} 
[2026-08-23 01:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":160406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:29:57] local.INFO: GPS data processed {"connection_id":160406,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:29:57] local.INFO: Acknowledgment sent {"connection_id":160406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:30:28] local.INFO: TCP Data received {"connection_id":160406,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0d67f0012d53db4006472d98000d000030..."} 
[2026-08-23 01:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0d67f0012d53db4006472d98000d000030..."} 
[2026-08-23 01:30:28] local.INFO: Processing buffer {"connection_id":160406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0d67f0012d53db4006472d98000d000030..."} 
[2026-08-23 01:30:28] local.INFO: Packet analysis {"connection_id":160406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:30:28] local.INFO: Extracted packet for processing {"connection_id":160406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:30:28] local.INFO: GPS Element Parsed {"raw_longitude":760470336,"raw_latitude":105328024,"longitude_deg":76.0470336,"latitude_deg":10.5328024,"altitude":13,"angle":0,"satellites":48,"speed":26,"hex_longitude":"2d53db40","hex_latitude":"06472d98","is_valid_coordinates":true} 
[2026-08-23 01:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581741824001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389486403408363520,"note":"Value kept but may cause issues"} 
[2026-08-23 01:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042493720753522688,"note":"Value kept but may cause issues"} 
[2026-08-23 01:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787428694000,"timestamp_ms":1787428694000,"timestamp_seconds":1787428694,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0d67f0"} 
[2026-08-23 01:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 01:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581741824001,"66":27213,"194":206,"78":38912,"24":26,"16":389486403408363520,"45":6042493720753522688},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-08-23 01:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581741824001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:30:28] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-23 01:30:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389486403408363520,"km_value":389486403408363.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042493720753522688,"description":"Unknown IO ID 45"} 
[2026-08-23 01:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581741824001,"power":27213,"unknown_194":206,"unknown_78":38912,"ignition":26,"odometer":null,"unknown_45":6042493720753522688}} 
[2026-08-23 01:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":160406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:30:28] local.INFO: GPS data processed {"connection_id":160406,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:30:28] local.INFO: Acknowledgment sent {"connection_id":160406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:30:28] local.INFO: TCP Data received {"connection_id":160407,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:30:28] local.INFO: Processing buffer {"connection_id":160407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:30:28] local.INFO: Packet analysis {"connection_id":160407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:30:28] local.INFO: Extracted packet for processing {"connection_id":160407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581669120001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787428696000,"timestamp_ms":1787428696000,"timestamp_seconds":1787428696,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0d6fc0"} 
[2026-08-23 01:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:30: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-08-23 01:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 01:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581669120001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581669120001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:30:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:30:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581669120001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":160407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:30:28] local.INFO: GPS data processed {"connection_id":160407,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:30:28] local.INFO: Acknowledgment sent {"connection_id":160407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:30:47] local.INFO: TCP Data received {"connection_id":160408,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:30:47] local.INFO: Processing buffer {"connection_id":160408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:30:47] local.INFO: IMEI packet received {"connection_id":160408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":160408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:30:52] local.INFO: TCP Data received {"connection_id":160408,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:30:53] local.INFO: Processing buffer {"connection_id":160408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:30:53] local.INFO: IMEI packet received {"connection_id":160408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":160408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:30:54] local.INFO: TCP Data received {"connection_id":160408,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0da288012d53db0006475278000c000031..."} 
[2026-08-23 01:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0da288012d53db0006475278000c000031..."} 
[2026-08-23 01:30:54] local.INFO: Processing buffer {"connection_id":160408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0da288012d53db0006475278000c000031..."} 
[2026-08-23 01:30:54] local.INFO: Packet analysis {"connection_id":160408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:30:54] local.INFO: Extracted packet for processing {"connection_id":160408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:30:54] local.INFO: GPS Element Parsed {"raw_longitude":760470272,"raw_latitude":105337464,"longitude_deg":76.0470272,"latitude_deg":10.5337464,"altitude":12,"angle":0,"satellites":49,"speed":25,"hex_longitude":"2d53db00","hex_latitude":"06475278","is_valid_coordinates":true} 
[2026-08-23 01:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581745664001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389486858674896896,"note":"Value kept but may cause issues"} 
[2026-08-23 01:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042493720755804160,"note":"Value kept but may cause issues"} 
[2026-08-23 01:30:54] 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-08-23 01:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787428709000,"timestamp_ms":1787428709000,"timestamp_seconds":1787428709,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0da288"} 
[2026-08-23 01:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 01:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:30:54] 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-08-23 01:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581745664001,"66":27234,"194":206,"78":38912,"24":25,"16":389486858674896896,"45":6042493720755804160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-08-23 01:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581745664001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:30:54] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-23 01:30:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389486858674896896,"km_value":389486858674896.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042493720755804160,"description":"Unknown IO ID 45"} 
[2026-08-23 01:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581745664001,"power":27234,"unknown_194":206,"unknown_78":38912,"ignition":25,"odometer":null,"unknown_45":6042493720755804160}} 
[2026-08-23 01:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":160408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:30:54] local.INFO: GPS data processed {"connection_id":160408,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:30:54] local.INFO: Acknowledgment sent {"connection_id":160408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:30:56] local.INFO: TCP Data received {"connection_id":162773,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:30:56] local.INFO: Processing buffer {"connection_id":162773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:30:56] local.INFO: IMEI packet received {"connection_id":162773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":162773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:31:01] local.INFO: TCP Data received {"connection_id":162773,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:31:01] local.INFO: Processing buffer {"connection_id":162773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:31:01] local.INFO: IMEI packet received {"connection_id":162773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":162773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:31:02] local.INFO: TCP Data received {"connection_id":162773,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:31:02] local.INFO: Processing buffer {"connection_id":162773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:31:02] local.INFO: Packet analysis {"connection_id":162773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:31:02] local.INFO: Extracted packet for processing {"connection_id":162773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:31:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581669120001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787428696000,"timestamp_ms":1787428696000,"timestamp_seconds":1787428696,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0d6fc0"} 
[2026-08-23 01:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:31:02] 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-08-23 01:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 01:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581669120001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581669120001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:31:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:31:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581669120001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":162773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:31:02] local.INFO: GPS data processed {"connection_id":162773,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:31:02] local.INFO: Acknowledgment sent {"connection_id":162773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:31:06] local.INFO: TCP Data received {"connection_id":162773,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:31:06] local.INFO: Processing buffer {"connection_id":162773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:31:06] local.INFO: Packet analysis {"connection_id":162773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:31:06] local.INFO: Extracted packet for processing {"connection_id":162773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581669120001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787428696000,"timestamp_ms":1787428696000,"timestamp_seconds":1787428696,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0d6fc0"} 
[2026-08-23 01:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 01:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581669120001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581669120001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:31:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581669120001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":162773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:31:07] local.INFO: GPS data processed {"connection_id":162773,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:31:07] local.INFO: Acknowledgment sent {"connection_id":162773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:31:25] local.INFO: TCP Data received {"connection_id":160408,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0df490012d53da80064773500009016732..."} 
[2026-08-23 01:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0df490012d53da80064773500009016732..."} 
[2026-08-23 01:31:25] local.INFO: Processing buffer {"connection_id":160408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0df490012d53da80064773500009016732..."} 
[2026-08-23 01:31:25] local.INFO: Packet analysis {"connection_id":160408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:31:25] local.INFO: Extracted packet for processing {"connection_id":160408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:31:25] local.INFO: GPS Element Parsed {"raw_longitude":760470144,"raw_latitude":105345872,"longitude_deg":76.0470144,"latitude_deg":10.5345872,"altitude":9,"angle":359,"satellites":50,"speed":23,"hex_longitude":"2d53da80","hex_latitude":"06477350","is_valid_coordinates":true} 
[2026-08-23 01:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581749504001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389487266696790016,"note":"Value kept but may cause issues"} 
[2026-08-23 01:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042423352014043136,"note":"Value kept but may cause issues"} 
[2026-08-23 01:31:25] 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-08-23 01:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787428730000,"timestamp_ms":1787428730000,"timestamp_seconds":1787428730,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0df490"} 
[2026-08-23 01:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:31: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-08-23 01:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 01:31: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-08-23 01:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:31:25] 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-08-23 01:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581749504001,"66":27213,"194":206,"78":38912,"24":23,"16":389487266696790016,"45":6042423352014043136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-08-23 01:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581749504001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:31:25] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-23 01:31:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389487266696790016,"km_value":389487266696790.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042423352014043136,"description":"Unknown IO ID 45"} 
[2026-08-23 01:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581749504001,"power":27213,"unknown_194":206,"unknown_78":38912,"ignition":23,"odometer":null,"unknown_45":6042423352014043136}} 
[2026-08-23 01:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":160408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:31:25] local.INFO: GPS data processed {"connection_id":160408,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:31:25] local.INFO: Acknowledgment sent {"connection_id":160408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:31:47] local.INFO: TCP Data received {"connection_id":161365,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:31:47] local.INFO: Processing buffer {"connection_id":161365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:31:47] local.INFO: IMEI packet received {"connection_id":161365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":161365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:31:51] local.INFO: TCP Data received {"connection_id":161365,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:31:51] local.INFO: Processing buffer {"connection_id":161365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:31:51] local.INFO: IMEI packet received {"connection_id":161365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":161365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:31:51] local.INFO: TCP Data received {"connection_id":160409,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:31:51] local.INFO: Processing buffer {"connection_id":160409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:31:51] local.INFO: IMEI packet received {"connection_id":160409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":160409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:31:51] local.INFO: TCP Data received {"connection_id":161365,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0fcd38012d537b400648f4e80008014d30..."} 
[2026-08-23 01:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0fcd38012d537b400648f4e80008014d30..."} 
[2026-08-23 01:31:51] local.INFO: Processing buffer {"connection_id":161365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0fcd38012d537b400648f4e80008014d30..."} 
[2026-08-23 01:31:51] local.INFO: Packet analysis {"connection_id":161365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0f"} 
[2026-08-23 01:31:51] local.INFO: Extracted packet for processing {"connection_id":161365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0f"} 
[2026-08-23 01:31:51] local.INFO: GPS Element Parsed {"raw_longitude":760445760,"raw_latitude":105444584,"longitude_deg":76.044576,"latitude_deg":10.5444584,"altitude":8,"angle":333,"satellites":48,"speed":50,"hex_longitude":"2d537b40","hex_latitude":"0648f4e8","is_valid_coordinates":true} 
[2026-08-23 01:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581783808001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389492300398460928,"note":"Value kept but may cause issues"} 
[2026-08-23 01:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6020116460134948864,"note":"Value kept but may cause issues"} 
[2026-08-23 01:31:51] 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-08-23 01:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787428851000,"timestamp_ms":1787428851000,"timestamp_seconds":1787428851,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0fcd38"} 
[2026-08-23 01:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 01:31:51] 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-08-23 01:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:31:51] 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-08-23 01:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581783808001,"66":27245,"93":206,"78":38912,"24":50,"16":389492300398460928,"45":6020116460134948864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-08-23 01:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581783808001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:31:51] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-23 01:31:51] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389492300398460928,"km_value":389492300398460.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6020116460134948864,"description":"Unknown IO ID 45"} 
[2026-08-23 01:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581783808001,"power":27245,"unknown_93":206,"unknown_78":38912,"ignition":50,"odometer":null,"unknown_45":6020116460134948864}} 
[2026-08-23 01:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":161365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:31:51] local.INFO: GPS data processed {"connection_id":161365,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:31:51] local.INFO: Acknowledgment sent {"connection_id":161365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:31:56] local.INFO: TCP Data received {"connection_id":160409,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:31:56] local.INFO: Processing buffer {"connection_id":160409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:31:56] local.INFO: IMEI packet received {"connection_id":160409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":160409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:31:57] local.INFO: TCP Data received {"connection_id":160409,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:31:57] local.INFO: Processing buffer {"connection_id":160409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:31:57] local.INFO: Packet analysis {"connection_id":160409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:31:57] local.INFO: Extracted packet for processing {"connection_id":160409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:31:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581669120001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787428696000,"timestamp_ms":1787428696000,"timestamp_seconds":1787428696,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0d6fc0"} 
[2026-08-23 01:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:31: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-08-23 01:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 01:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581669120001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581669120001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:31:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:31:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581669120001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":160409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:31:57] local.INFO: GPS data processed {"connection_id":160409,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:31:57] local.INFO: Acknowledgment sent {"connection_id":160409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:32:23] local.INFO: TCP Data received {"connection_id":161365,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0fe890012d536ac0064914680006014b31..."} 
[2026-08-23 01:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0fe890012d536ac0064914680006014b31..."} 
[2026-08-23 01:32:23] local.INFO: Processing buffer {"connection_id":161365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0fe890012d536ac0064914680006014b31..."} 
[2026-08-23 01:32:23] local.INFO: Packet analysis {"connection_id":161365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0f"} 
[2026-08-23 01:32:23] local.INFO: Extracted packet for processing {"connection_id":161365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0f"} 
[2026-08-23 01:32:23] local.INFO: GPS Element Parsed {"raw_longitude":760441536,"raw_latitude":105452648,"longitude_deg":76.0441536,"latitude_deg":10.5452648,"altitude":6,"angle":331,"satellites":49,"speed":52,"hex_longitude":"2d536ac0","hex_latitude":"06491468","is_valid_coordinates":true} 
[2026-08-23 01:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581785856001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389492738485125120,"note":"Value kept but may cause issues"} 
[2026-08-23 01:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6015472123021420544,"note":"Value kept but may cause issues"} 
[2026-08-23 01:32:23] 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-08-23 01:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787428858000,"timestamp_ms":1787428858000,"timestamp_seconds":1787428858,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0fe890"} 
[2026-08-23 01:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-23 01:32:23] 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-08-23 01:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:32:23] 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-08-23 01:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581785856001,"66":27321,"93":206,"78":38912,"24":52,"16":389492738485125120,"45":6015472123021420544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-08-23 01:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581785856001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:32:23] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-23 01:32:23] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389492738485125120,"km_value":389492738485125.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6015472123021420544,"description":"Unknown IO ID 45"} 
[2026-08-23 01:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581785856001,"power":27321,"unknown_93":206,"unknown_78":38912,"ignition":52,"odometer":null,"unknown_45":6015472123021420544}} 
[2026-08-23 01:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":161365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:32:23] local.INFO: GPS data processed {"connection_id":161365,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:32:23] local.INFO: Acknowledgment sent {"connection_id":161365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:32:28] local.INFO: TCP Data received {"connection_id":160409,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:32:28] local.INFO: Processing buffer {"connection_id":160409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:32:28] local.INFO: Packet analysis {"connection_id":160409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:32:28] local.INFO: Extracted packet for processing {"connection_id":160409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:32:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581669120001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787428696000,"timestamp_ms":1787428696000,"timestamp_seconds":1787428696,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0d6fc0"} 
[2026-08-23 01:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:32: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-08-23 01:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 01:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581669120001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581669120001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:32:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:32:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581669120001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":160409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:32:28] local.INFO: GPS data processed {"connection_id":160409,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:32:28] local.INFO: Acknowledgment sent {"connection_id":160409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:32:47] local.INFO: TCP Data received {"connection_id":162774,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:32:47] local.INFO: Processing buffer {"connection_id":162774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:32:47] local.INFO: IMEI packet received {"connection_id":162774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":162774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:32:51] local.INFO: TCP Data received {"connection_id":162775,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:32:51] local.INFO: Processing buffer {"connection_id":162775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:32:51] local.INFO: IMEI packet received {"connection_id":162775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":162775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:32:52] local.INFO: TCP Data received {"connection_id":162774,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:32:52] local.INFO: Processing buffer {"connection_id":162774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:32:52] local.INFO: IMEI packet received {"connection_id":162774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":162774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:32:53] local.INFO: TCP Data received {"connection_id":162774,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1003e8012d535840064934180004014a33..."} 
[2026-08-23 01:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1003e8012d535840064934180004014a33..."} 
[2026-08-23 01:32:53] local.INFO: Processing buffer {"connection_id":162774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1003e8012d535840064934180004014a33..."} 
[2026-08-23 01:32:53] local.INFO: Packet analysis {"connection_id":162774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b10"} 
[2026-08-23 01:32:53] local.INFO: Extracted packet for processing {"connection_id":162774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b10"} 
[2026-08-23 01:32:53] local.INFO: GPS Element Parsed {"raw_longitude":760436800,"raw_latitude":105460760,"longitude_deg":76.04368,"latitude_deg":10.546076,"altitude":4,"angle":330,"satellites":51,"speed":52,"hex_longitude":"2d535840","hex_latitude":"06493418","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581787648001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389493193751658496,"note":"Value kept but may cause issues"} 
[2026-08-23 01:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6010827785907759104,"note":"Value kept but may cause issues"} 
[2026-08-23 01:32:53] 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-08-23 01:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787428865000,"timestamp_ms":1787428865000,"timestamp_seconds":1787428865,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1003e8"} 
[2026-08-23 01:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 01:32:53] 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-08-23 01: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-08-23 01:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:32:53] 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-08-23 01:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581787648001,"66":27343,"93":206,"78":38912,"24":52,"16":389493193751658496,"45":6010827785907759104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-08-23 01:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581787648001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:32:53] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-23 01:32:53] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389493193751658496,"km_value":389493193751658.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6010827785907759104,"description":"Unknown IO ID 45"} 
[2026-08-23 01:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581787648001,"power":27343,"unknown_93":206,"unknown_78":38912,"ignition":52,"odometer":null,"unknown_45":6010827785907759104}} 
[2026-08-23 01:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":162774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:32:53] local.INFO: GPS data processed {"connection_id":162774,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:32:53] local.INFO: Acknowledgment sent {"connection_id":162774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:32:56] local.INFO: TCP Data received {"connection_id":162775,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:32:56] local.INFO: Processing buffer {"connection_id":162775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:32:56] local.INFO: IMEI packet received {"connection_id":162775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":162775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:32:57] local.INFO: TCP Data received {"connection_id":162775,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:32:57] local.INFO: Processing buffer {"connection_id":162775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:32:57] local.INFO: Packet analysis {"connection_id":162775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:32:57] local.INFO: Extracted packet for processing {"connection_id":162775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:32:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581669120001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787428696000,"timestamp_ms":1787428696000,"timestamp_seconds":1787428696,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0d6fc0"} 
[2026-08-23 01:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:32: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-08-23 01:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 01:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581669120001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581669120001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:32:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:32:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581669120001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":162775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:32:57] local.INFO: GPS data processed {"connection_id":162775,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:32:57] local.INFO: Acknowledgment sent {"connection_id":162775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:33:26] local.INFO: TCP Data received {"connection_id":162774,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b101f40012d534500064951900004014633..."} 
[2026-08-23 01:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b101f40012d534500064951900004014633..."} 
[2026-08-23 01:33:26] local.INFO: Processing buffer {"connection_id":162774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b101f40012d534500064951900004014633..."} 
[2026-08-23 01:33:26] local.INFO: Packet analysis {"connection_id":162774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b10"} 
[2026-08-23 01:33:26] local.INFO: Extracted packet for processing {"connection_id":162774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b10"} 
[2026-08-23 01:33:26] local.INFO: GPS Element Parsed {"raw_longitude":760431872,"raw_latitude":105468304,"longitude_deg":76.0431872,"latitude_deg":10.5468304,"altitude":4,"angle":326,"satellites":51,"speed":49,"hex_longitude":"2d534500","hex_latitude":"06495190","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581789440001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389493627543355392,"note":"Value kept but may cause issues"} 
[2026-08-23 01:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6005620498840688640,"note":"Value kept but may cause issues"} 
[2026-08-23 01:33:26] 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-08-23 01:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787428872000,"timestamp_ms":1787428872000,"timestamp_seconds":1787428872,"priority":1,"record_length":96,"hex_timestamp":"000001a02b101f40"} 
[2026-08-23 01:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:33: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-08-23 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 01:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:33:26] 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-08-23 01:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581789440001,"66":27332,"93":206,"78":38912,"24":49,"16":389493627543355392,"45":6005620498840688640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-08-23 01:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581789440001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:33:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-23 01:33:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389493627543355392,"km_value":389493627543355.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6005620498840688640,"description":"Unknown IO ID 45"} 
[2026-08-23 01:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581789440001,"power":27332,"unknown_93":206,"unknown_78":38912,"ignition":49,"odometer":null,"unknown_45":6005620498840688640}} 
[2026-08-23 01:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":162774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:33:26] local.INFO: GPS data processed {"connection_id":162774,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:33:26] local.INFO: Acknowledgment sent {"connection_id":162774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:33:28] local.INFO: TCP Data received {"connection_id":162775,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:33:28] local.INFO: Processing buffer {"connection_id":162775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b0d6fc0012d196540071ff1b00044013727..."} 
[2026-08-23 01:33:28] local.INFO: Packet analysis {"connection_id":162775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:33:28] local.INFO: Extracted packet for processing {"connection_id":162775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b0d"} 
[2026-08-23 01:33:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581669120001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787428696000,"timestamp_ms":1787428696000,"timestamp_seconds":1787428696,"priority":1,"record_length":96,"hex_timestamp":"000001a02b0d6fc0"} 
[2026-08-23 01:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:33: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-08-23 01:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 01:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581669120001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581669120001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:33:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:33:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581669120001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":162775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:33:28] local.INFO: GPS data processed {"connection_id":162775,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:33:28] local.INFO: Acknowledgment sent {"connection_id":162775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:33:47] local.INFO: TCP Data received {"connection_id":161366,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:33:47] local.INFO: Processing buffer {"connection_id":161366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:33:47] local.INFO: IMEI packet received {"connection_id":161366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":161366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:33:51] local.INFO: TCP Data received {"connection_id":161367,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:33:51] local.INFO: Processing buffer {"connection_id":161367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:33:51] local.INFO: IMEI packet received {"connection_id":161367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":161367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:33:52] local.INFO: TCP Data received {"connection_id":161366,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:33:52] local.INFO: Processing buffer {"connection_id":161366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:33:52] local.INFO: IMEI packet received {"connection_id":161366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":161366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:33:53] local.INFO: TCP Data received {"connection_id":161366,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b119258012d524d80064a99c8000c014b33..."} 
[2026-08-23 01:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b119258012d524d80064a99c8000c014b33..."} 
[2026-08-23 01:33:53] local.INFO: Processing buffer {"connection_id":161366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b119258012d524d80064a99c8000c014b33..."} 
[2026-08-23 01:33:53] local.INFO: Packet analysis {"connection_id":161366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b11"} 
[2026-08-23 01:33:53] local.INFO: Extracted packet for processing {"connection_id":161366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b11"} 
[2026-08-23 01:33:53] local.INFO: GPS Element Parsed {"raw_longitude":760368512,"raw_latitude":105552328,"longitude_deg":76.0368512,"latitude_deg":10.5552328,"altitude":12,"angle":331,"satellites":51,"speed":41,"hex_longitude":"2d524d80","hex_latitude":"064a99c8","is_valid_coordinates":true} 
[2026-08-23 01:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581813248001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389498729964503040,"note":"Value kept but may cause issues"} 
[2026-08-23 01:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5935462860916856832,"note":"Value kept but may cause issues"} 
[2026-08-23 01:33:53] 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-08-23 01:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787428967000,"timestamp_ms":1787428967000,"timestamp_seconds":1787428967,"priority":1,"record_length":96,"hex_timestamp":"000001a02b119258"} 
[2026-08-23 01:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:33: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-08-23 01:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 01:33:53] 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-08-23 01:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:33:53] 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-08-23 01:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581813248001,"66":27321,"95":206,"78":38912,"24":41,"16":389498729964503040,"45":5935462860916856832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-08-23 01:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581813248001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:33:53] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-23 01:33:53] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389498729964503040,"km_value":389498729964503.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5935462860916856832,"description":"Unknown IO ID 45"} 
[2026-08-23 01:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581813248001,"power":27321,"unknown_95":206,"unknown_78":38912,"ignition":41,"odometer":null,"unknown_45":5935462860916856832}} 
[2026-08-23 01:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":161366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:33:53] local.INFO: GPS data processed {"connection_id":161366,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:33:53] local.INFO: Acknowledgment sent {"connection_id":161366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:33:55] local.INFO: TCP Data received {"connection_id":161367,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:33:55] local.INFO: Processing buffer {"connection_id":161367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:33:55] local.INFO: IMEI packet received {"connection_id":161367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":161367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:33:56] local.INFO: TCP Data received {"connection_id":161367,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:33:56] local.INFO: Processing buffer {"connection_id":161367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:33:56] local.INFO: Packet analysis {"connection_id":161367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b12"} 
[2026-08-23 01:33:56] local.INFO: Extracted packet for processing {"connection_id":161367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b12"} 
[2026-08-23 01:33:56] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581746176001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787428997000,"timestamp_ms":1787428997000,"timestamp_seconds":1787428997,"priority":1,"record_length":96,"hex_timestamp":"000001a02b120788"} 
[2026-08-23 01:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581746176001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581746176001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:33:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:33:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581746176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":161367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:33:56] local.INFO: GPS data processed {"connection_id":161367,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:33:56] local.INFO: Acknowledgment sent {"connection_id":161367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:34:25] local.INFO: TCP Data received {"connection_id":161366,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b11b580012d523c40064ab958000d014c33..."} 
[2026-08-23 01:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b11b580012d523c40064ab958000d014c33..."} 
[2026-08-23 01:34:25] local.INFO: Processing buffer {"connection_id":161366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b11b580012d523c40064ab958000d014c33..."} 
[2026-08-23 01:34:25] local.INFO: Packet analysis {"connection_id":161366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b11"} 
[2026-08-23 01:34:25] local.INFO: Extracted packet for processing {"connection_id":161366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b11"} 
[2026-08-23 01:34:25] local.INFO: GPS Element Parsed {"raw_longitude":760364096,"raw_latitude":105560408,"longitude_deg":76.0364096,"latitude_deg":10.5560408,"altitude":13,"angle":332,"satellites":51,"speed":40,"hex_longitude":"2d523c40","hex_latitude":"064ab958","is_valid_coordinates":true} 
[2026-08-23 01:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581815552001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389499172346134528,"note":"Value kept but may cause issues"} 
[2026-08-23 01:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5930537048826562560,"note":"Value kept but may cause issues"} 
[2026-08-23 01:34:25] 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-08-23 01:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787428976000,"timestamp_ms":1787428976000,"timestamp_seconds":1787428976,"priority":1,"record_length":96,"hex_timestamp":"000001a02b11b580"} 
[2026-08-23 01:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 01:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:34:25] 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-08-23 01:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581815552001,"66":27213,"95":206,"78":38912,"24":40,"16":389499172346134528,"45":5930537048826562560},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-08-23 01:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581815552001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:34:25] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-23 01:34:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389499172346134528,"km_value":389499172346134.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5930537048826562560,"description":"Unknown IO ID 45"} 
[2026-08-23 01:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581815552001,"power":27213,"unknown_95":206,"unknown_78":38912,"ignition":40,"odometer":null,"unknown_45":5930537048826562560}} 
[2026-08-23 01:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":161366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:34:25] local.INFO: GPS data processed {"connection_id":161366,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:34:25] local.INFO: Acknowledgment sent {"connection_id":161366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:34:27] local.INFO: TCP Data received {"connection_id":161367,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:34:27] local.INFO: Processing buffer {"connection_id":161367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:34:27] local.INFO: Packet analysis {"connection_id":161367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b12"} 
[2026-08-23 01:34:27] local.INFO: Extracted packet for processing {"connection_id":161367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b12"} 
[2026-08-23 01:34:27] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581746176001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787428997000,"timestamp_ms":1787428997000,"timestamp_seconds":1787428997,"priority":1,"record_length":96,"hex_timestamp":"000001a02b120788"} 
[2026-08-23 01:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581746176001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581746176001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:34:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:34:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581746176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":161367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:34:27] local.INFO: GPS data processed {"connection_id":161367,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:34:27] local.INFO: Acknowledgment sent {"connection_id":161367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:34:47] local.INFO: TCP Data received {"connection_id":161368,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:34:47] local.INFO: Processing buffer {"connection_id":161368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:34:47] local.INFO: IMEI packet received {"connection_id":161368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":161368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:34:51] local.INFO: TCP Data received {"connection_id":162776,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:34:51] local.INFO: Processing buffer {"connection_id":162776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:34:51] local.INFO: IMEI packet received {"connection_id":162776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":162776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:34:52] local.INFO: TCP Data received {"connection_id":161368,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:34:52] local.INFO: Processing buffer {"connection_id":161368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:34:52] local.INFO: IMEI packet received {"connection_id":161368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":161368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:34:54] local.INFO: TCP Data received {"connection_id":161368,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b11d8a8012d522b80064ada10000d014c33..."} 
[2026-08-23 01:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b11d8a8012d522b80064ada10000d014c33..."} 
[2026-08-23 01:34:54] local.INFO: Processing buffer {"connection_id":161368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b11d8a8012d522b80064ada10000d014c33..."} 
[2026-08-23 01:34:54] local.INFO: Packet analysis {"connection_id":161368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b11"} 
[2026-08-23 01:34:54] local.INFO: Extracted packet for processing {"connection_id":161368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b11"} 
[2026-08-23 01:34:54] local.INFO: GPS Element Parsed {"raw_longitude":760359808,"raw_latitude":105568784,"longitude_deg":76.0359808,"latitude_deg":10.5568784,"altitude":13,"angle":332,"satellites":51,"speed":42,"hex_longitude":"2d522b80","hex_latitude":"064ada10","is_valid_coordinates":true} 
[2026-08-23 01:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581817856001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389499627612667904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5925681605480372224,"note":"Value kept but may cause issues"} 
[2026-08-23 01:34:54] 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-08-23 01:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787428985000,"timestamp_ms":1787428985000,"timestamp_seconds":1787428985,"priority":1,"record_length":96,"hex_timestamp":"000001a02b11d8a8"} 
[2026-08-23 01:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 01:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:34:54] 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-08-23 01:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581817856001,"66":27267,"95":206,"78":38912,"24":42,"16":389499627612667904,"45":5925681605480372224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-08-23 01:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581817856001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:34:54] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-23 01:34:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-08-23 01:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389499627612667904,"km_value":389499627612667.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5925681605480372224,"description":"Unknown IO ID 45"} 
[2026-08-23 01:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581817856001,"power":27267,"unknown_95":206,"unknown_78":38912,"ignition":42,"odometer":null,"unknown_45":5925681605480372224}} 
[2026-08-23 01:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":161368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:34:54] local.INFO: GPS data processed {"connection_id":161368,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:34:54] local.INFO: Acknowledgment sent {"connection_id":161368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:34:56] local.INFO: TCP Data received {"connection_id":162776,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:34:56] local.INFO: Processing buffer {"connection_id":162776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:34:56] local.INFO: IMEI packet received {"connection_id":162776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":162776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:34:57] local.INFO: TCP Data received {"connection_id":162776,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:34:57] local.INFO: Processing buffer {"connection_id":162776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:34:57] local.INFO: Packet analysis {"connection_id":162776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b12"} 
[2026-08-23 01:34:57] local.INFO: Extracted packet for processing {"connection_id":162776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b12"} 
[2026-08-23 01:34:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581746176001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787428997000,"timestamp_ms":1787428997000,"timestamp_seconds":1787428997,"priority":1,"record_length":96,"hex_timestamp":"000001a02b120788"} 
[2026-08-23 01:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581746176001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581746176001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:34:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:34:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581746176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":162776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:34:57] local.INFO: GPS data processed {"connection_id":162776,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:34:57] local.INFO: Acknowledgment sent {"connection_id":162776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:35:26] local.INFO: TCP Data received {"connection_id":161368,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b11fbd0012d521980064afbb0000c014c33..."} 
[2026-08-23 01:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b11fbd0012d521980064afbb0000c014c33..."} 
[2026-08-23 01:35:26] local.INFO: Processing buffer {"connection_id":161368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b11fbd0012d521980064afbb0000c014c33..."} 
[2026-08-23 01:35:26] local.INFO: Packet analysis {"connection_id":161368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b11"} 
[2026-08-23 01:35:26] local.INFO: Extracted packet for processing {"connection_id":161368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b11"} 
[2026-08-23 01:35:26] local.INFO: GPS Element Parsed {"raw_longitude":760355200,"raw_latitude":105577392,"longitude_deg":76.03552,"latitude_deg":10.5577392,"altitude":12,"angle":332,"satellites":51,"speed":43,"hex_longitude":"2d521980","hex_latitude":"064afbb0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581820160001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389500100059070464,"note":"Value kept but may cause issues"} 
[2026-08-23 01:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5920966899622612992,"note":"Value kept but may cause issues"} 
[2026-08-23 01:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787428994000,"timestamp_ms":1787428994000,"timestamp_seconds":1787428994,"priority":1,"record_length":96,"hex_timestamp":"000001a02b11fbd0"} 
[2026-08-23 01:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 01:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:35:26] 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-08-23 01:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581820160001,"66":27213,"50":206,"78":62464,"24":43,"16":389500100059070464,"45":5920966899622612992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-08-23 01:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581820160001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:35:26] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-23 01:35:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389500100059070464,"km_value":389500100059070.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5920966899622612992,"description":"Unknown IO ID 45"} 
[2026-08-23 01:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581820160001,"power":27213,"unknown_50":206,"unknown_78":62464,"ignition":43,"odometer":null,"unknown_45":5920966899622612992}} 
[2026-08-23 01:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":161368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:35:26] local.INFO: GPS data processed {"connection_id":161368,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:35:26] local.INFO: Acknowledgment sent {"connection_id":161368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:35:28] local.INFO: TCP Data received {"connection_id":162776,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:35:28] local.INFO: Processing buffer {"connection_id":162776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:35:28] local.INFO: Packet analysis {"connection_id":162776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b12"} 
[2026-08-23 01:35:28] local.INFO: Extracted packet for processing {"connection_id":162776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b12"} 
[2026-08-23 01:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581746176001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787428997000,"timestamp_ms":1787428997000,"timestamp_seconds":1787428997,"priority":1,"record_length":96,"hex_timestamp":"000001a02b120788"} 
[2026-08-23 01:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581746176001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581746176001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:35:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:35:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581746176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":162776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:35:28] local.INFO: GPS data processed {"connection_id":162776,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:35:28] local.INFO: Acknowledgment sent {"connection_id":162776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:35:52] local.INFO: TCP Data received {"connection_id":160207,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:35:52] local.INFO: Processing buffer {"connection_id":160207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:35:52] local.INFO: IMEI packet received {"connection_id":160207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":160207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:35:56] local.INFO: TCP Data received {"connection_id":160208,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:35:56] local.INFO: Processing buffer {"connection_id":160208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:35:56] local.INFO: IMEI packet received {"connection_id":160208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":160208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:35:57] local.INFO: TCP Data received {"connection_id":160207,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:35:57] local.INFO: Processing buffer {"connection_id":160207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:35:57] local.INFO: IMEI packet received {"connection_id":160207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":160207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:35:58] local.INFO: TCP Data received {"connection_id":160207,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b137aa0012d516940064c35200008015a25..."} 
[2026-08-23 01:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b137aa0012d516940064c35200008015a25..."} 
[2026-08-23 01:35:58] local.INFO: Processing buffer {"connection_id":160207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b137aa0012d516940064c35200008015a25..."} 
[2026-08-23 01:35:58] local.INFO: Packet analysis {"connection_id":160207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b13"} 
[2026-08-23 01:35:58] local.INFO: Extracted packet for processing {"connection_id":160207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b13"} 
[2026-08-23 01:35:58] local.INFO: GPS Element Parsed {"raw_longitude":760310080,"raw_latitude":105657632,"longitude_deg":76.031008,"latitude_deg":10.5657632,"altitude":8,"angle":346,"satellites":37,"speed":17,"hex_longitude":"2d516940","hex_latitude":"064c3520","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581847296001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389504566825058304,"note":"Value kept but may cause issues"} 
[2026-08-23 01:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5866431122907557888,"note":"Value kept but may cause issues"} 
[2026-08-23 01:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787429092000,"timestamp_ms":1787429092000,"timestamp_seconds":1787429092,"priority":1,"record_length":96,"hex_timestamp":"000001a02b137aa0"} 
[2026-08-23 01:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 01:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:35:58] 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-08-23 01:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581847296001,"66":27310,"50":206,"78":62464,"24":17,"16":389504566825058304,"45":5866431122907557888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-08-23 01:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581847296001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:35:58] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-23 01:35:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389504566825058304,"km_value":389504566825058.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5866431122907557888,"description":"Unknown IO ID 45"} 
[2026-08-23 01:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581847296001,"power":27310,"unknown_50":206,"unknown_78":62464,"ignition":17,"odometer":null,"unknown_45":5866431122907557888}} 
[2026-08-23 01:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":160207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:35:58] local.INFO: GPS data processed {"connection_id":160207,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:35:58] local.INFO: Acknowledgment sent {"connection_id":160207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:35:59] local.INFO: TCP Data received {"connection_id":160207,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b137e88012d516940064c36c00008000122..."} 
[2026-08-23 01:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b137e88012d516940064c36c00008000122..."} 
[2026-08-23 01:35:59] local.INFO: Processing buffer {"connection_id":160207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b137e88012d516940064c36c00008000122..."} 
[2026-08-23 01:35:59] local.INFO: Packet analysis {"connection_id":160207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b13"} 
[2026-08-23 01:35:59] local.INFO: Extracted packet for processing {"connection_id":160207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b13"} 
[2026-08-23 01:35:59] local.INFO: GPS Element Parsed {"raw_longitude":760310080,"raw_latitude":105658048,"longitude_deg":76.031008,"latitude_deg":10.5658048,"altitude":8,"angle":1,"satellites":34,"speed":16,"hex_longitude":"2d516940","hex_latitude":"064c36c0","is_valid_coordinates":true} 
[2026-08-23 01:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581847552001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389504588299894784,"note":"Value kept but may cause issues"} 
[2026-08-23 01:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5866290385419313152,"note":"Value kept but may cause issues"} 
[2026-08-23 01:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787429093000,"timestamp_ms":1787429093000,"timestamp_seconds":1787429093,"priority":1,"record_length":96,"hex_timestamp":"000001a02b137e88"} 
[2026-08-23 01:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:35: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-08-23 01:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-23 01:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:35:59] 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-08-23 01:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581847552001,"66":27310,"50":206,"78":62464,"24":16,"16":389504588299894784,"45":5866290385419313152},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-08-23 01:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581847552001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:35:59] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-23 01:35:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389504588299894784,"km_value":389504588299894.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5866290385419313152,"description":"Unknown IO ID 45"} 
[2026-08-23 01:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581847552001,"power":27310,"unknown_50":206,"unknown_78":62464,"ignition":16,"odometer":null,"unknown_45":5866290385419313152}} 
[2026-08-23 01:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":160207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:35:59] local.INFO: GPS data processed {"connection_id":160207,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:35:59] local.INFO: Acknowledgment sent {"connection_id":160207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:36:01] local.INFO: TCP Data received {"connection_id":160208,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:36:01] local.INFO: Processing buffer {"connection_id":160208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:36:01] local.INFO: IMEI packet received {"connection_id":160208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":160208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:36:02] local.INFO: TCP Data received {"connection_id":160208,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:36:02] local.INFO: Processing buffer {"connection_id":160208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:36:02] local.INFO: Packet analysis {"connection_id":160208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b12"} 
[2026-08-23 01:36:02] local.INFO: Extracted packet for processing {"connection_id":160208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b12"} 
[2026-08-23 01:36:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581746176001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787428997000,"timestamp_ms":1787428997000,"timestamp_seconds":1787428997,"priority":1,"record_length":96,"hex_timestamp":"000001a02b120788"} 
[2026-08-23 01:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581746176001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581746176001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:36:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:36:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581746176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":160208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:36:02] local.INFO: GPS data processed {"connection_id":160208,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:36:02] local.INFO: Acknowledgment sent {"connection_id":160208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:36:06] local.INFO: TCP Data received {"connection_id":160208,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:36:06] local.INFO: Processing buffer {"connection_id":160208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:36:06] local.INFO: Packet analysis {"connection_id":160208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b12"} 
[2026-08-23 01:36:06] local.INFO: Extracted packet for processing {"connection_id":160208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b12"} 
[2026-08-23 01:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581746176001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787428997000,"timestamp_ms":1787428997000,"timestamp_seconds":1787428997,"priority":1,"record_length":96,"hex_timestamp":"000001a02b120788"} 
[2026-08-23 01:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581746176001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581746176001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:36:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581746176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":160208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:36:07] local.INFO: GPS data processed {"connection_id":160208,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:36:07] local.INFO: Acknowledgment sent {"connection_id":160208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:36:31] local.INFO: TCP Data received {"connection_id":160207,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b138270012d516980064c38500007000c25..."} 
[2026-08-23 01:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b138270012d516980064c38500007000c25..."} 
[2026-08-23 01:36:31] local.INFO: Processing buffer {"connection_id":160207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b138270012d516980064c38500007000c25..."} 
[2026-08-23 01:36:31] local.INFO: Packet analysis {"connection_id":160207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b13"} 
[2026-08-23 01:36:31] local.INFO: Extracted packet for processing {"connection_id":160207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b13"} 
[2026-08-23 01:36:31] local.INFO: GPS Element Parsed {"raw_longitude":760310144,"raw_latitude":105658448,"longitude_deg":76.0310144,"latitude_deg":10.5658448,"altitude":7,"angle":12,"satellites":37,"speed":16,"hex_longitude":"2d516980","hex_latitude":"064c3850","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581847808001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389504609774731264,"note":"Value kept but may cause issues"} 
[2026-08-23 01:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5866290385419419648,"note":"Value kept but may cause issues"} 
[2026-08-23 01:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787429094000,"timestamp_ms":1787429094000,"timestamp_seconds":1787429094,"priority":1,"record_length":96,"hex_timestamp":"000001a02b138270"} 
[2026-08-23 01:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01: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-08-23 01: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":174,"data_length":795,"current_offset":136} 
[2026-08-23 01:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:36:31] 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-08-23 01:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581847808001,"66":27321,"50":206,"78":62464,"24":16,"16":389504609774731264,"45":5866290385419419648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-08-23 01:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581847808001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:36:31] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-23 01:36:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389504609774731264,"km_value":389504609774731.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5866290385419419648,"description":"Unknown IO ID 45"} 
[2026-08-23 01:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581847808001,"power":27321,"unknown_50":206,"unknown_78":62464,"ignition":16,"odometer":null,"unknown_45":5866290385419419648}} 
[2026-08-23 01:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":160207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:36:31] local.INFO: GPS data processed {"connection_id":160207,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:36:31] local.INFO: Acknowledgment sent {"connection_id":160207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:36:46] local.INFO: TCP Data received {"connection_id":161369,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:36:46] local.INFO: Processing buffer {"connection_id":161369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:36:46] local.INFO: IMEI packet received {"connection_id":161369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":161369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:36:48] local.INFO: TCP Data received {"connection_id":161369,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:36:48] local.INFO: Processing buffer {"connection_id":161369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:36:48] local.INFO: IMEI packet received {"connection_id":161369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":161369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:36:51] local.INFO: TCP Data received {"connection_id":162777,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:36:51] local.INFO: Processing buffer {"connection_id":162777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:36:51] local.INFO: IMEI packet received {"connection_id":162777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":162777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:36:52] local.INFO: TCP Data received {"connection_id":161369,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:36:52] local.INFO: Processing buffer {"connection_id":161369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:36:52] local.INFO: IMEI packet received {"connection_id":161369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":161369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:36:54] local.INFO: TCP Data received {"connection_id":161369,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b138a40012d516b40064c3b200007001d25..."} 
[2026-08-23 01:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b138a40012d516b40064c3b200007001d25..."} 
[2026-08-23 01:36:54] local.INFO: Processing buffer {"connection_id":161369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b138a40012d516b40064c3b200007001d25..."} 
[2026-08-23 01:36:54] local.INFO: Packet analysis {"connection_id":161369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b13"} 
[2026-08-23 01:36:54] local.INFO: Extracted packet for processing {"connection_id":161369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b13"} 
[2026-08-23 01:36:54] local.INFO: GPS Element Parsed {"raw_longitude":760310592,"raw_latitude":105659168,"longitude_deg":76.0310592,"latitude_deg":10.5659168,"altitude":7,"angle":29,"satellites":37,"speed":17,"hex_longitude":"2d516b40","hex_latitude":"064c3b20","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581848064001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389504648429436928,"note":"Value kept but may cause issues"} 
[2026-08-23 01:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5866360754163699712,"note":"Value kept but may cause issues"} 
[2026-08-23 01:36:54] 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-08-23 01:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787429096000,"timestamp_ms":1787429096000,"timestamp_seconds":1787429096,"priority":1,"record_length":96,"hex_timestamp":"000001a02b138a40"} 
[2026-08-23 01:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 01:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:36:54] 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-08-23 01:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581848064001,"66":27234,"49":206,"78":62464,"24":17,"16":389504648429436928,"45":5866360754163699712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-08-23 01:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581848064001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:36:54] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-23 01:36:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389504648429436928,"km_value":389504648429436.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5866360754163699712,"description":"Unknown IO ID 45"} 
[2026-08-23 01:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581848064001,"power":27234,"unknown_49":206,"unknown_78":62464,"ignition":17,"odometer":null,"unknown_45":5866360754163699712}} 
[2026-08-23 01:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":161369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:36:54] local.INFO: GPS data processed {"connection_id":161369,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:36:54] local.INFO: Acknowledgment sent {"connection_id":161369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:36:56] local.INFO: TCP Data received {"connection_id":162777,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:36:56] local.INFO: Processing buffer {"connection_id":162777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:36:56] local.INFO: IMEI packet received {"connection_id":162777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":162777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:36:57] local.INFO: TCP Data received {"connection_id":162777,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:36:57] local.INFO: Processing buffer {"connection_id":162777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:36:57] local.INFO: Packet analysis {"connection_id":162777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b12"} 
[2026-08-23 01:36:57] local.INFO: Extracted packet for processing {"connection_id":162777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b12"} 
[2026-08-23 01:36:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581746176001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787428997000,"timestamp_ms":1787428997000,"timestamp_seconds":1787428997,"priority":1,"record_length":96,"hex_timestamp":"000001a02b120788"} 
[2026-08-23 01:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581746176001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581746176001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:36:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:36:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581746176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":162777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:36:57] local.INFO: GPS data processed {"connection_id":162777,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:36:57] local.INFO: Acknowledgment sent {"connection_id":162777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:37:27] local.INFO: TCP Data received {"connection_id":161369,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b139210012d516dc0064c3cd80007002828..."} 
[2026-08-23 01:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b139210012d516dc0064c3cd80007002828..."} 
[2026-08-23 01:37:27] local.INFO: Processing buffer {"connection_id":161369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b139210012d516dc0064c3cd80007002828..."} 
[2026-08-23 01:37:27] local.INFO: Packet analysis {"connection_id":161369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b13"} 
[2026-08-23 01:37:27] local.INFO: Extracted packet for processing {"connection_id":161369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b13"} 
[2026-08-23 01:37:27] local.INFO: GPS Element Parsed {"raw_longitude":760311232,"raw_latitude":105659608,"longitude_deg":76.0311232,"latitude_deg":10.5659608,"altitude":7,"angle":40,"satellites":40,"speed":15,"hex_longitude":"2d516dc0","hex_latitude":"064c3cd8","is_valid_coordinates":true} 
[2026-08-23 01:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581848576001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389504687084142592,"note":"Value kept but may cause issues"} 
[2026-08-23 01:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5866853335373127680,"note":"Value kept but may cause issues"} 
[2026-08-23 01:37:27] 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-08-23 01:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787429098000,"timestamp_ms":1787429098000,"timestamp_seconds":1787429098,"priority":1,"record_length":96,"hex_timestamp":"000001a02b139210"} 
[2026-08-23 01:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 01:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:37:27] 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-08-23 01:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581848576001,"66":27321,"49":206,"78":62464,"24":15,"16":389504687084142592,"45":5866853335373127680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-08-23 01:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581848576001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:37:27] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-23 01:37:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389504687084142592,"km_value":389504687084142.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5866853335373127680,"description":"Unknown IO ID 45"} 
[2026-08-23 01:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581848576001,"power":27321,"unknown_49":206,"unknown_78":62464,"ignition":15,"odometer":null,"unknown_45":5866853335373127680}} 
[2026-08-23 01:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":161369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:37:27] local.INFO: GPS data processed {"connection_id":161369,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:37:27] local.INFO: Acknowledgment sent {"connection_id":161369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:37:28] local.INFO: TCP Data received {"connection_id":162777,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:37:28] local.INFO: Processing buffer {"connection_id":162777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:37:28] local.INFO: Packet analysis {"connection_id":162777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b12"} 
[2026-08-23 01:37:28] local.INFO: Extracted packet for processing {"connection_id":162777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b12"} 
[2026-08-23 01:37:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581746176001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787428997000,"timestamp_ms":1787428997000,"timestamp_seconds":1787428997,"priority":1,"record_length":96,"hex_timestamp":"000001a02b120788"} 
[2026-08-23 01:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581746176001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581746176001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:37:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:37:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581746176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":162777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:37:28] local.INFO: GPS data processed {"connection_id":162777,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:37:28] local.INFO: Acknowledgment sent {"connection_id":162777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:37:47] local.INFO: TCP Data received {"connection_id":162778,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:37:47] local.INFO: Processing buffer {"connection_id":162778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:37:47] local.INFO: IMEI packet received {"connection_id":162778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":162778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:37:50] local.INFO: TCP Data received {"connection_id":162778,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:37:50] local.INFO: Processing buffer {"connection_id":162778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:37:50] local.INFO: IMEI packet received {"connection_id":162778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":162778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:37:51] local.INFO: TCP Data received {"connection_id":162779,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:37:51] local.INFO: Processing buffer {"connection_id":162779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:37:51] local.INFO: IMEI packet received {"connection_id":162779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":162779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:37:52] local.INFO: TCP Data received {"connection_id":162778,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:37:52] local.INFO: Processing buffer {"connection_id":162778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:37:52] local.INFO: IMEI packet received {"connection_id":162778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":162778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:37:55] local.INFO: TCP Data received {"connection_id":162778,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1399e0012d516fc0064c3f48000600162a..."} 
[2026-08-23 01:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1399e0012d516fc0064c3f48000600162a..."} 
[2026-08-23 01:37:55] local.INFO: Processing buffer {"connection_id":162778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1399e0012d516fc0064c3f48000600162a..."} 
[2026-08-23 01:37:55] local.INFO: Packet analysis {"connection_id":162778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b13"} 
[2026-08-23 01:37:55] local.INFO: Extracted packet for processing {"connection_id":162778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b13"} 
[2026-08-23 01:37:55] local.INFO: GPS Element Parsed {"raw_longitude":760311744,"raw_latitude":105660232,"longitude_deg":76.0311744,"latitude_deg":10.5660232,"altitude":6,"angle":22,"satellites":42,"speed":16,"hex_longitude":"2d516fc0","hex_latitude":"064c3f48","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581849088001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389504725738848256,"note":"Value kept but may cause issues"} 
[2026-08-23 01:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5867557022815016960,"note":"Value kept but may cause issues"} 
[2026-08-23 01:37:55] 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-08-23 01:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787429100000,"timestamp_ms":1787429100000,"timestamp_seconds":1787429100,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1399e0"} 
[2026-08-23 01:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:37: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-08-23 01: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 01:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:37:55] 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-08-23 01:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581849088001,"66":27245,"49":206,"78":62464,"24":16,"16":389504725738848256,"45":5867557022815016960},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-08-23 01:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581849088001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:37:55] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-23 01:37:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389504725738848256,"km_value":389504725738848.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5867557022815016960,"description":"Unknown IO ID 45"} 
[2026-08-23 01:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581849088001,"power":27245,"unknown_49":206,"unknown_78":62464,"ignition":16,"odometer":null,"unknown_45":5867557022815016960}} 
[2026-08-23 01:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":162778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:37:55] local.INFO: GPS data processed {"connection_id":162778,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:37:55] local.INFO: Acknowledgment sent {"connection_id":162778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:37:56] local.INFO: TCP Data received {"connection_id":162779,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:37:56] local.INFO: Processing buffer {"connection_id":162779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:37:56] local.INFO: IMEI packet received {"connection_id":162779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":162779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:37:57] local.INFO: TCP Data received {"connection_id":162779,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:37:57] local.INFO: Processing buffer {"connection_id":162779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:37:57] local.INFO: Packet analysis {"connection_id":162779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b12"} 
[2026-08-23 01:37:57] local.INFO: Extracted packet for processing {"connection_id":162779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b12"} 
[2026-08-23 01:37:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581746176001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787428997000,"timestamp_ms":1787428997000,"timestamp_seconds":1787428997,"priority":1,"record_length":96,"hex_timestamp":"000001a02b120788"} 
[2026-08-23 01:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581746176001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581746176001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:37:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:37:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581746176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":162779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:37:57] local.INFO: GPS data processed {"connection_id":162779,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:37:57] local.INFO: Acknowledgment sent {"connection_id":162779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:37:59] local.INFO: TCP Data received {"connection_id":162778,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b139dc8012d517040064c40c00005000b2c..."} 
[2026-08-23 01:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b139dc8012d517040064c40c00005000b2c..."} 
[2026-08-23 01:37:59] local.INFO: Processing buffer {"connection_id":162778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b139dc8012d517040064c40c00005000b2c..."} 
[2026-08-23 01:37:59] local.INFO: Packet analysis {"connection_id":162778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b13"} 
[2026-08-23 01:37:59] local.INFO: Extracted packet for processing {"connection_id":162778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b13"} 
[2026-08-23 01:37:59] local.INFO: GPS Element Parsed {"raw_longitude":760311872,"raw_latitude":105660608,"longitude_deg":76.0311872,"latitude_deg":10.5660608,"altitude":5,"angle":11,"satellites":44,"speed":18,"hex_longitude":"2d517040","hex_latitude":"064c40c0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581849600001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389504747213684736,"note":"Value kept but may cause issues"} 
[2026-08-23 01:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868119972768598016,"note":"Value kept but may cause issues"} 
[2026-08-23 01:37:59] 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-08-23 01:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787429101000,"timestamp_ms":1787429101000,"timestamp_seconds":1787429101,"priority":1,"record_length":96,"hex_timestamp":"000001a02b139dc8"} 
[2026-08-23 01:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:37: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-08-23 01:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-23 01:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:37:59] 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-08-23 01:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581849600001,"66":27245,"49":206,"78":62464,"24":18,"16":389504747213684736,"45":5868119972768598016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-08-23 01:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581849600001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:37:59] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-23 01:37:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389504747213684736,"km_value":389504747213684.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868119972768598016,"description":"Unknown IO ID 45"} 
[2026-08-23 01:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581849600001,"power":27245,"unknown_49":206,"unknown_78":62464,"ignition":18,"odometer":null,"unknown_45":5868119972768598016}} 
[2026-08-23 01:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":162778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:37:59] local.INFO: GPS data processed {"connection_id":162778,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:37:59] local.INFO: Acknowledgment sent {"connection_id":162778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:38:28] local.INFO: TCP Data received {"connection_id":162779,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:38:28] local.INFO: Processing buffer {"connection_id":162779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b120788012d196540071ff1b0004401372a..."} 
[2026-08-23 01:38:28] local.INFO: Packet analysis {"connection_id":162779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b12"} 
[2026-08-23 01:38:28] local.INFO: Extracted packet for processing {"connection_id":162779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b12"} 
[2026-08-23 01:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581746176001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787428997000,"timestamp_ms":1787428997000,"timestamp_seconds":1787428997,"priority":1,"record_length":96,"hex_timestamp":"000001a02b120788"} 
[2026-08-23 01:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581746176001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581746176001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:38:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:38:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581746176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":162779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:38:28] local.INFO: GPS data processed {"connection_id":162779,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:38:28] local.INFO: Acknowledgment sent {"connection_id":162779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:38:31] local.INFO: TCP Data received {"connection_id":162778,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b13a598012d517040064c44d00006015e2e..."} 
[2026-08-23 01:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b13a598012d517040064c44d00006015e2e..."} 
[2026-08-23 01:38:31] local.INFO: Processing buffer {"connection_id":162778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b13a598012d517040064c44d00006015e2e..."} 
[2026-08-23 01:38:31] local.INFO: Packet analysis {"connection_id":162778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b13"} 
[2026-08-23 01:38:31] local.INFO: Extracted packet for processing {"connection_id":162778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b13"} 
[2026-08-23 01:38:31] local.INFO: GPS Element Parsed {"raw_longitude":760311872,"raw_latitude":105661648,"longitude_deg":76.0311872,"latitude_deg":10.5661648,"altitude":6,"angle":350,"satellites":46,"speed":21,"hex_longitude":"2d517040","hex_latitude":"064c44d0","is_valid_coordinates":true} 
[2026-08-23 01:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581849856001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389504794458324992,"note":"Value kept but may cause issues"} 
[2026-08-23 01:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868260710257049600,"note":"Value kept but may cause issues"} 
[2026-08-23 01:38:31] 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-08-23 01:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787429103000,"timestamp_ms":1787429103000,"timestamp_seconds":1787429103,"priority":1,"record_length":96,"hex_timestamp":"000001a02b13a598"} 
[2026-08-23 01:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:38: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-08-23 01:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-23 01:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":162778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":162778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":162778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:38:31] 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-08-23 01:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581849856001,"66":27332,"49":206,"78":62464,"24":21,"16":389504794458324992,"45":5868260710257049600},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-08-23 01:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581849856001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:38:31] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-23 01:38:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389504794458324992,"km_value":389504794458325.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868260710257049600,"description":"Unknown IO ID 45"} 
[2026-08-23 01:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581849856001,"power":27332,"unknown_49":206,"unknown_78":62464,"ignition":21,"odometer":null,"unknown_45":5868260710257049600}} 
[2026-08-23 01:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":162778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:38:31] local.INFO: GPS data processed {"connection_id":162778,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:38:31] local.INFO: Acknowledgment sent {"connection_id":162778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:38:51] local.INFO: TCP Data received {"connection_id":160209,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:38:51] local.INFO: Processing buffer {"connection_id":160209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:38:51] local.INFO: IMEI packet received {"connection_id":160209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":160209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:38:52] local.INFO: TCP Data received {"connection_id":162780,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:38:52] local.INFO: Processing buffer {"connection_id":162780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:38:52] local.INFO: IMEI packet received {"connection_id":162780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":162780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:38:52] local.INFO: TCP Data received {"connection_id":160209,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:38:52] local.INFO: Processing buffer {"connection_id":160209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:38:52] local.INFO: IMEI packet received {"connection_id":160209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":160209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:38:56] local.INFO: TCP Data received {"connection_id":162780,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:38:56] local.INFO: Processing buffer {"connection_id":162780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:38:56] local.INFO: IMEI packet received {"connection_id":162780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":162780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:38:57] local.INFO: TCP Data received {"connection_id":162780,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:38:57] local.INFO: Processing buffer {"connection_id":162780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:38:57] local.INFO: Packet analysis {"connection_id":162780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b16"} 
[2026-08-23 01:38:57] local.INFO: Extracted packet for processing {"connection_id":162780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b16"} 
[2026-08-23 01:38:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581823232001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787429298000,"timestamp_ms":1787429298000,"timestamp_seconds":1787429298,"priority":1,"record_length":96,"hex_timestamp":"000001a02b169f50"} 
[2026-08-23 01:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:38:57] 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-08-23 01: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581823232001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581823232001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:38:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581823232001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":162780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:38:57] local.INFO: GPS data processed {"connection_id":162780,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:38:57] local.INFO: Acknowledgment sent {"connection_id":162780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:38:58] local.INFO: TCP Data received {"connection_id":160209,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:38:58] local.INFO: Processing buffer {"connection_id":160209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:38:58] local.INFO: IMEI packet received {"connection_id":160209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":160209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:39:00] local.INFO: TCP Data received {"connection_id":160209,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b13ad68012d516f40064c4918000601522e..."} 
[2026-08-23 01:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b13ad68012d516f40064c4918000601522e..."} 
[2026-08-23 01:39:00] local.INFO: Processing buffer {"connection_id":160209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b13ad68012d516f40064c4918000601522e..."} 
[2026-08-23 01:39:00] local.INFO: Packet analysis {"connection_id":160209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b13"} 
[2026-08-23 01:39:00] local.INFO: Extracted packet for processing {"connection_id":160209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b13"} 
[2026-08-23 01:39:00] local.INFO: GPS Element Parsed {"raw_longitude":760311616,"raw_latitude":105662744,"longitude_deg":76.0311616,"latitude_deg":10.5662744,"altitude":6,"angle":338,"satellites":46,"speed":23,"hex_longitude":"2d516f40","hex_latitude":"064c4918","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581850368001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389504850292899840,"note":"Value kept but may cause issues"} 
[2026-08-23 01:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868260710257315840,"note":"Value kept but may cause issues"} 
[2026-08-23 01:39:00] 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-08-23 01:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787429105000,"timestamp_ms":1787429105000,"timestamp_seconds":1787429105,"priority":1,"record_length":96,"hex_timestamp":"000001a02b13ad68"} 
[2026-08-23 01:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:39: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-08-23 01: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 01:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:39:00] 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-08-23 01:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581850368001,"66":27321,"49":206,"78":62464,"24":23,"16":389504850292899840,"45":5868260710257315840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-08-23 01:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581850368001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:39:00] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-23 01:39:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389504850292899840,"km_value":389504850292899.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868260710257315840,"description":"Unknown IO ID 45"} 
[2026-08-23 01:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581850368001,"power":27321,"unknown_49":206,"unknown_78":62464,"ignition":23,"odometer":null,"unknown_45":5868260710257315840}} 
[2026-08-23 01:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":160209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:39:00] local.INFO: GPS data processed {"connection_id":160209,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:39:00] local.INFO: Acknowledgment sent {"connection_id":160209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:39:02] local.INFO: TCP Data received {"connection_id":160209,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b13e030012d515f40064c6a68000601492d..."} 
[2026-08-23 01:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b13e030012d515f40064c6a68000601492d..."} 
[2026-08-23 01:39:02] local.INFO: Processing buffer {"connection_id":160209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b13e030012d515f40064c6a68000601492d..."} 
[2026-08-23 01:39:02] local.INFO: Packet analysis {"connection_id":160209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b13"} 
[2026-08-23 01:39:02] local.INFO: Extracted packet for processing {"connection_id":160209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b13"} 
[2026-08-23 01:39:02] local.INFO: GPS Element Parsed {"raw_longitude":760307520,"raw_latitude":105671272,"longitude_deg":76.030752,"latitude_deg":10.5671272,"altitude":6,"angle":329,"satellites":45,"speed":32,"hex_longitude":"2d515f40","hex_latitude":"064c6a68","is_valid_coordinates":true} 
[2026-08-23 01:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581850880001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389505305559433216,"note":"Value kept but may cause issues"} 
[2026-08-23 01:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5867979235280885760,"note":"Value kept but may cause issues"} 
[2026-08-23 01:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787429118000,"timestamp_ms":1787429118000,"timestamp_seconds":1787429118,"priority":1,"record_length":96,"hex_timestamp":"000001a02b13e030"} 
[2026-08-23 01:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 01:39: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-08-23 01:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:39:02] 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-08-23 01:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581850880001,"66":27365,"49":206,"78":62464,"24":32,"16":389505305559433216,"45":5867979235280885760},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-08-23 01:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581850880001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:39:02] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-23 01:39:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389505305559433216,"km_value":389505305559433.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5867979235280885760,"description":"Unknown IO ID 45"} 
[2026-08-23 01:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581850880001,"power":27365,"unknown_49":206,"unknown_78":62464,"ignition":32,"odometer":null,"unknown_45":5867979235280885760}} 
[2026-08-23 01:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":160209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:39:02] local.INFO: GPS data processed {"connection_id":160209,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:39:02] local.INFO: Acknowledgment sent {"connection_id":160209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:39:28] local.INFO: TCP Data received {"connection_id":162780,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:39:28] local.INFO: Processing buffer {"connection_id":162780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:39:28] local.INFO: Packet analysis {"connection_id":162780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b16"} 
[2026-08-23 01:39:28] local.INFO: Extracted packet for processing {"connection_id":162780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b16"} 
[2026-08-23 01:39:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581823232001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787429298000,"timestamp_ms":1787429298000,"timestamp_seconds":1787429298,"priority":1,"record_length":96,"hex_timestamp":"000001a02b169f50"} 
[2026-08-23 01:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:39:28] 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-08-23 01: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581823232001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581823232001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:39:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:39:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581823232001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":162780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:39:28] local.INFO: GPS data processed {"connection_id":162780,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:39:28] local.INFO: Acknowledgment sent {"connection_id":162780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:39:33] local.INFO: TCP Data received {"connection_id":160209,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b140740012d514d80064c88d0000601422a..."} 
[2026-08-23 01:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b140740012d514d80064c88d0000601422a..."} 
[2026-08-23 01:39:33] local.INFO: Processing buffer {"connection_id":160209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b140740012d514d80064c88d0000601422a..."} 
[2026-08-23 01:39:33] local.INFO: Packet analysis {"connection_id":160209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b14"} 
[2026-08-23 01:39:33] local.INFO: Extracted packet for processing {"connection_id":160209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b14"} 
[2026-08-23 01:39:33] local.INFO: GPS Element Parsed {"raw_longitude":760302976,"raw_latitude":105679056,"longitude_deg":76.0302976,"latitude_deg":10.5679056,"altitude":6,"angle":322,"satellites":42,"speed":37,"hex_longitude":"2d514d80","hex_latitude":"064c88d0","is_valid_coordinates":true} 
[2026-08-23 01:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581854208001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389505743646097408,"note":"Value kept but may cause issues"} 
[2026-08-23 01:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5863475635655698432,"note":"Value kept but may cause issues"} 
[2026-08-23 01:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787429128000,"timestamp_ms":1787429128000,"timestamp_seconds":1787429128,"priority":1,"record_length":96,"hex_timestamp":"000001a02b140740"} 
[2026-08-23 01:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:39: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-08-23 01:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 01:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:39:33] 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-08-23 01:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581854208001,"66":27213,"49":206,"78":62464,"24":37,"16":389505743646097408,"45":5863475635655698432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-08-23 01:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581854208001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:39:33] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-23 01:39:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389505743646097408,"km_value":389505743646097.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5863475635655698432,"description":"Unknown IO ID 45"} 
[2026-08-23 01:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581854208001,"power":27213,"unknown_49":206,"unknown_78":62464,"ignition":37,"odometer":null,"unknown_45":5863475635655698432}} 
[2026-08-23 01:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":160209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:39:33] local.INFO: GPS data processed {"connection_id":160209,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:39:33] local.INFO: Acknowledgment sent {"connection_id":160209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:39:48] local.INFO: TCP Data received {"connection_id":160210,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:39:48] local.INFO: Processing buffer {"connection_id":160210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:39:48] local.INFO: IMEI packet received {"connection_id":160210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":160210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:39:53] local.INFO: TCP Data received {"connection_id":160210,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:39:53] local.INFO: Processing buffer {"connection_id":160210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:39:53] local.INFO: IMEI packet received {"connection_id":160210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":160210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:39:54] local.INFO: TCP Data received {"connection_id":160210,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b142e50012d513840064ca518000701462e..."} 
[2026-08-23 01:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b142e50012d513840064ca518000701462e..."} 
[2026-08-23 01:39:54] local.INFO: Processing buffer {"connection_id":160210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b142e50012d513840064ca518000701462e..."} 
[2026-08-23 01:39:54] local.INFO: Packet analysis {"connection_id":160210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b14"} 
[2026-08-23 01:39:54] local.INFO: Extracted packet for processing {"connection_id":160210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b14"} 
[2026-08-23 01:39:54] local.INFO: GPS Element Parsed {"raw_longitude":760297536,"raw_latitude":105686296,"longitude_deg":76.0297536,"latitude_deg":10.5686296,"altitude":7,"angle":326,"satellites":46,"speed":35,"hex_longitude":"2d513840","hex_latitude":"064ca518","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581856768001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389506181732761600,"note":"Value kept but may cause issues"} 
[2026-08-23 01:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5858479454821076992,"note":"Value kept but may cause issues"} 
[2026-08-23 01:39:54] 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-08-23 01:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787429138000,"timestamp_ms":1787429138000,"timestamp_seconds":1787429138,"priority":1,"record_length":96,"hex_timestamp":"000001a02b142e50"} 
[2026-08-23 01:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:39: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-08-23 01: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 01:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:39:54] 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-08-23 01:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581856768001,"66":27158,"49":206,"78":62464,"24":35,"16":389506181732761600,"45":5858479454821076992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-08-23 01:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581856768001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:39:54] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-23 01:39:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389506181732761600,"km_value":389506181732761.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5858479454821076992,"description":"Unknown IO ID 45"} 
[2026-08-23 01:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581856768001,"power":27158,"unknown_49":206,"unknown_78":62464,"ignition":35,"odometer":null,"unknown_45":5858479454821076992}} 
[2026-08-23 01:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":160210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:39:54] local.INFO: GPS data processed {"connection_id":160210,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:39:54] local.INFO: Acknowledgment sent {"connection_id":160210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:39:55] local.INFO: TCP Data received {"connection_id":160210,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b145948012d512680064cc6300006014e30..."} 
[2026-08-23 01:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b145948012d512680064cc6300006014e30..."} 
[2026-08-23 01:39:55] local.INFO: Processing buffer {"connection_id":160210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b145948012d512680064cc6300006014e30..."} 
[2026-08-23 01:39:55] local.INFO: Packet analysis {"connection_id":160210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b14"} 
[2026-08-23 01:39:55] local.INFO: Extracted packet for processing {"connection_id":160210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b14"} 
[2026-08-23 01:39:55] local.INFO: GPS Element Parsed {"raw_longitude":760292992,"raw_latitude":105694768,"longitude_deg":76.0292992,"latitude_deg":10.5694768,"altitude":6,"angle":334,"satellites":48,"speed":31,"hex_longitude":"2d512680","hex_latitude":"064cc630","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581859328001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389506645589229568,"note":"Value kept but may cause issues"} 
[2026-08-23 01:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5852498111567828992,"note":"Value kept but may cause issues"} 
[2026-08-23 01:39:55] 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-08-23 01:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787429149000,"timestamp_ms":1787429149000,"timestamp_seconds":1787429149,"priority":1,"record_length":96,"hex_timestamp":"000001a02b145948"} 
[2026-08-23 01:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:39: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-08-23 01:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-23 01:39:55] 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-08-23 01: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-08-23 01:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:39:55] 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-08-23 01:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581859328001,"66":27343,"49":206,"78":62464,"24":31,"16":389506645589229568,"45":5852498111567828992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-08-23 01:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581859328001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:39:55] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-23 01:39:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389506645589229568,"km_value":389506645589229.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5852498111567828992,"description":"Unknown IO ID 45"} 
[2026-08-23 01:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581859328001,"power":27343,"unknown_49":206,"unknown_78":62464,"ignition":31,"odometer":null,"unknown_45":5852498111567828992}} 
[2026-08-23 01:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":160210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:39:55] local.INFO: GPS data processed {"connection_id":160210,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:39:55] local.INFO: Acknowledgment sent {"connection_id":160210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:39:56] local.INFO: TCP Data received {"connection_id":162781,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:39:56] local.INFO: Processing buffer {"connection_id":162781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:39:56] local.INFO: IMEI packet received {"connection_id":162781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":162781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:40:01] local.INFO: TCP Data received {"connection_id":162781,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:40:01] local.INFO: Processing buffer {"connection_id":162781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:40:01] local.INFO: IMEI packet received {"connection_id":162781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":162781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:40:02] local.INFO: TCP Data received {"connection_id":162781,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:40:02] local.INFO: Processing buffer {"connection_id":162781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:40:02] local.INFO: Packet analysis {"connection_id":162781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b16"} 
[2026-08-23 01:40:02] local.INFO: Extracted packet for processing {"connection_id":162781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b16"} 
[2026-08-23 01:40:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581823232001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787429298000,"timestamp_ms":1787429298000,"timestamp_seconds":1787429298,"priority":1,"record_length":96,"hex_timestamp":"000001a02b169f50"} 
[2026-08-23 01:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:40:02] 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-08-23 01:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581823232001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581823232001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:40:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:40:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581823232001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":162781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:40:02] local.INFO: GPS data processed {"connection_id":162781,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:40:02] local.INFO: Acknowledgment sent {"connection_id":162781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:40:06] local.INFO: TCP Data received {"connection_id":162781,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:40:06] local.INFO: Processing buffer {"connection_id":162781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:40:06] local.INFO: Packet analysis {"connection_id":162781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b16"} 
[2026-08-23 01:40:06] local.INFO: Extracted packet for processing {"connection_id":162781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b16"} 
[2026-08-23 01:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581823232001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787429298000,"timestamp_ms":1787429298000,"timestamp_seconds":1787429298,"priority":1,"record_length":96,"hex_timestamp":"000001a02b169f50"} 
[2026-08-23 01:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:40:06] 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-08-23 01:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581823232001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581823232001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:40:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581823232001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":162781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:40:07] local.INFO: GPS data processed {"connection_id":162781,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:40:07] local.INFO: Acknowledgment sent {"connection_id":162781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:40:30] local.INFO: TCP Data received {"connection_id":160210,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b17c448012d50f040064d3798000d015a32..."} 
[2026-08-23 01:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b17c448012d50f040064d3798000d015a32..."} 
[2026-08-23 01:40:30] local.INFO: Processing buffer {"connection_id":160210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b17c448012d50f040064d3798000d015a32..."} 
[2026-08-23 01:40:30] local.INFO: Packet analysis {"connection_id":160210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b17"} 
[2026-08-23 01:40:30] local.INFO: Extracted packet for processing {"connection_id":160210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b17"} 
[2026-08-23 01:40:30] local.INFO: GPS Element Parsed {"raw_longitude":760279104,"raw_latitude":105723800,"longitude_deg":76.0279104,"latitude_deg":10.57238,"altitude":13,"angle":346,"satellites":50,"speed":6,"hex_longitude":"2d50f040","hex_latitude":"064d3798","is_valid_coordinates":true} 
[2026-08-23 01:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581914880001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389508226137194496,"note":"Value kept but may cause issues"} 
[2026-08-23 01:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5833076338184093696,"note":"Value kept but may cause issues"} 
[2026-08-23 01:40:30] 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-08-23 01:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787429373000,"timestamp_ms":1787429373000,"timestamp_seconds":1787429373,"priority":1,"record_length":96,"hex_timestamp":"000001a02b17c448"} 
[2026-08-23 01:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:40: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-08-23 01:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 01:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:40:30] 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-08-23 01:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581914880001,"66":27343,"49":206,"78":62464,"24":6,"16":389508226137194496,"45":5833076338184093696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-08-23 01:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581914880001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:40:30] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-23 01:40:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389508226137194496,"km_value":389508226137194.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5833076338184093696,"description":"Unknown IO ID 45"} 
[2026-08-23 01:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581914880001,"power":27343,"unknown_49":206,"unknown_78":62464,"ignition":6,"odometer":null,"unknown_45":5833076338184093696}} 
[2026-08-23 01:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":160210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:40:30] local.INFO: GPS data processed {"connection_id":160210,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:40:30] local.INFO: Acknowledgment sent {"connection_id":160210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:40:48] local.INFO: TCP Data received {"connection_id":160410,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:40:48] local.INFO: Processing buffer {"connection_id":160410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:40:48] local.INFO: IMEI packet received {"connection_id":160410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":160410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:40:51] local.INFO: TCP Data received {"connection_id":162782,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:40:51] local.INFO: Processing buffer {"connection_id":162782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:40:51] local.INFO: IMEI packet received {"connection_id":162782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":162782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:40:53] local.INFO: TCP Data received {"connection_id":160410,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:40:53] local.INFO: Processing buffer {"connection_id":160410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:40:53] local.INFO: IMEI packet received {"connection_id":160410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":160410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:40:55] local.INFO: TCP Data received {"connection_id":160410,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b17d7d0012d50ef40064d3b08000e014e33..."} 
[2026-08-23 01:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b17d7d0012d50ef40064d3b08000e014e33..."} 
[2026-08-23 01:40:55] local.INFO: Processing buffer {"connection_id":160410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b17d7d0012d50ef40064d3b08000e014e33..."} 
[2026-08-23 01:40:55] local.INFO: Packet analysis {"connection_id":160410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b17"} 
[2026-08-23 01:40:55] local.INFO: Extracted packet for processing {"connection_id":160410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b17"} 
[2026-08-23 01:40:55] local.INFO: GPS Element Parsed {"raw_longitude":760278848,"raw_latitude":105724680,"longitude_deg":76.0278848,"latitude_deg":10.572468,"altitude":14,"angle":334,"satellites":51,"speed":5,"hex_longitude":"2d50ef40","hex_latitude":"064d3b08","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581919488001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389508273381834752,"note":"Value kept but may cause issues"} 
[2026-08-23 01:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5832231913254262784,"note":"Value kept but may cause issues"} 
[2026-08-23 01:40:55] 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-08-23 01:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787429378000,"timestamp_ms":1787429378000,"timestamp_seconds":1787429378,"priority":1,"record_length":96,"hex_timestamp":"000001a02b17d7d0"} 
[2026-08-23 01:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 01:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:40:55] 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-08-23 01:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581919488001,"66":27343,"49":206,"78":62464,"24":5,"16":389508273381834752,"45":5832231913254262784},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-08-23 01:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581919488001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:40:55] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-23 01:40:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389508273381834752,"km_value":389508273381834.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5832231913254262784,"description":"Unknown IO ID 45"} 
[2026-08-23 01:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581919488001,"power":27343,"unknown_49":206,"unknown_78":62464,"ignition":5,"odometer":null,"unknown_45":5832231913254262784}} 
[2026-08-23 01:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":160410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:40:55] local.INFO: GPS data processed {"connection_id":160410,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:40:55] local.INFO: Acknowledgment sent {"connection_id":160410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:40:56] local.INFO: TCP Data received {"connection_id":162782,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:40:56] local.INFO: Processing buffer {"connection_id":162782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:40:56] local.INFO: IMEI packet received {"connection_id":162782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":162782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:40:57] local.INFO: TCP Data received {"connection_id":162782,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:40:57] local.INFO: Processing buffer {"connection_id":162782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:40:57] local.INFO: Packet analysis {"connection_id":162782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b16"} 
[2026-08-23 01:40:57] local.INFO: Extracted packet for processing {"connection_id":162782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b16"} 
[2026-08-23 01:40:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581823232001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787429298000,"timestamp_ms":1787429298000,"timestamp_seconds":1787429298,"priority":1,"record_length":96,"hex_timestamp":"000001a02b169f50"} 
[2026-08-23 01:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:40:57] 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-08-23 01: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581823232001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581823232001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:40:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:40:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581823232001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":162782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:40:57] local.INFO: GPS data processed {"connection_id":162782,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:40:57] local.INFO: Acknowledgment sent {"connection_id":162782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:41:26] local.INFO: TCP Data received {"connection_id":160410,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b17e388012d50eec0064d3cc0000e015b33..."} 
[2026-08-23 01:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b17e388012d50eec0064d3cc0000e015b33..."} 
[2026-08-23 01:41:26] local.INFO: Processing buffer {"connection_id":160410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b17e388012d50eec0064d3cc0000e015b33..."} 
[2026-08-23 01:41:26] local.INFO: Packet analysis {"connection_id":160410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b17"} 
[2026-08-23 01:41:26] local.INFO: Extracted packet for processing {"connection_id":160410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b17"} 
[2026-08-23 01:41:26] local.INFO: GPS Element Parsed {"raw_longitude":760278720,"raw_latitude":105725120,"longitude_deg":76.027872,"latitude_deg":10.572512,"altitude":14,"angle":347,"satellites":51,"speed":5,"hex_longitude":"2d50eec0","hex_latitude":"064d3cc0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581920768001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389508294856671232,"note":"Value kept but may cause issues"} 
[2026-08-23 01:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5831950438277777408,"note":"Value kept but may cause issues"} 
[2026-08-23 01:41:26] 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-08-23 01:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787429381000,"timestamp_ms":1787429381000,"timestamp_seconds":1787429381,"priority":1,"record_length":96,"hex_timestamp":"000001a02b17e388"} 
[2026-08-23 01:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 01:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:41:26] 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-08-23 01:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581920768001,"66":27321,"49":206,"78":62464,"24":5,"16":389508294856671232,"45":5831950438277777408},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-08-23 01:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581920768001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:41:26] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-23 01:41:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389508294856671232,"km_value":389508294856671.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5831950438277777408,"description":"Unknown IO ID 45"} 
[2026-08-23 01:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581920768001,"power":27321,"unknown_49":206,"unknown_78":62464,"ignition":5,"odometer":null,"unknown_45":5831950438277777408}} 
[2026-08-23 01:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":160410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:41:26] local.INFO: GPS data processed {"connection_id":160410,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:41:26] local.INFO: Acknowledgment sent {"connection_id":160410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:41:28] local.INFO: TCP Data received {"connection_id":162782,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:41:28] local.INFO: Processing buffer {"connection_id":162782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:41:28] local.INFO: Packet analysis {"connection_id":162782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b16"} 
[2026-08-23 01:41:28] local.INFO: Extracted packet for processing {"connection_id":162782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b16"} 
[2026-08-23 01:41:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581823232001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787429298000,"timestamp_ms":1787429298000,"timestamp_seconds":1787429298,"priority":1,"record_length":96,"hex_timestamp":"000001a02b169f50"} 
[2026-08-23 01:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:41:28] 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-08-23 01:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581823232001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581823232001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:41:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:41:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581823232001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":162782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:41:28] local.INFO: GPS data processed {"connection_id":162782,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:41:28] local.INFO: Acknowledgment sent {"connection_id":162782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:41:48] local.INFO: TCP Data received {"connection_id":160211,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:41:48] local.INFO: Processing buffer {"connection_id":160211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:41:48] local.INFO: IMEI packet received {"connection_id":160211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":160211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:41:49] local.INFO: TCP Data received {"connection_id":160211,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:41:49] local.INFO: Processing buffer {"connection_id":160211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:41:49] local.INFO: IMEI packet received {"connection_id":160211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":160211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:41:51] local.INFO: TCP Data received {"connection_id":160411,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:41:51] local.INFO: Processing buffer {"connection_id":160411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:41:51] local.INFO: IMEI packet received {"connection_id":160411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":160411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:41:53] local.INFO: TCP Data received {"connection_id":160211,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:41:53] local.INFO: Processing buffer {"connection_id":160211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:41:53] local.INFO: IMEI packet received {"connection_id":160211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":160211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:41:54] local.INFO: TCP Data received {"connection_id":160211,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1802c8012d50ed80064d4208000e000232..."} 
[2026-08-23 01:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1802c8012d50ed80064d4208000e000232..."} 
[2026-08-23 01:41:54] local.INFO: Processing buffer {"connection_id":160211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1802c8012d50ed80064d4208000e000232..."} 
[2026-08-23 01:41:54] local.INFO: Packet analysis {"connection_id":160211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b18"} 
[2026-08-23 01:41:54] local.INFO: Extracted packet for processing {"connection_id":160211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b18"} 
[2026-08-23 01:41:54] local.INFO: GPS Element Parsed {"raw_longitude":760278400,"raw_latitude":105726472,"longitude_deg":76.02784,"latitude_deg":10.5726472,"altitude":14,"angle":2,"satellites":50,"speed":6,"hex_longitude":"2d50ed80","hex_latitude":"064d4208","is_valid_coordinates":true} 
[2026-08-23 01:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581921536001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389508363576147968,"note":"Value kept but may cause issues"} 
[2026-08-23 01:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5831809700789534720,"note":"Value kept but may cause issues"} 
[2026-08-23 01:41:54] 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-08-23 01:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787429389000,"timestamp_ms":1787429389000,"timestamp_seconds":1787429389,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1802c8"} 
[2026-08-23 01:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:41: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-08-23 01:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 01:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:41:54] 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-08-23 01:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581921536001,"66":27267,"49":206,"78":62464,"24":6,"16":389508363576147968,"45":5831809700789534720},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-08-23 01:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581921536001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:41:54] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-23 01:41:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389508363576147968,"km_value":389508363576147.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5831809700789534720,"description":"Unknown IO ID 45"} 
[2026-08-23 01:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581921536001,"power":27267,"unknown_49":206,"unknown_78":62464,"ignition":6,"odometer":null,"unknown_45":5831809700789534720}} 
[2026-08-23 01:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":160211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:41:54] local.INFO: GPS data processed {"connection_id":160211,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:41:54] local.INFO: Acknowledgment sent {"connection_id":160211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:41:56] local.INFO: TCP Data received {"connection_id":160411,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:41:56] local.INFO: Processing buffer {"connection_id":160411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:41:56] local.INFO: IMEI packet received {"connection_id":160411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":160411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:41:57] local.INFO: TCP Data received {"connection_id":160411,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:41:57] local.INFO: Processing buffer {"connection_id":160411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:41:57] local.INFO: Packet analysis {"connection_id":160411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b16"} 
[2026-08-23 01:41:57] local.INFO: Extracted packet for processing {"connection_id":160411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b16"} 
[2026-08-23 01:41:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581823232001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787429298000,"timestamp_ms":1787429298000,"timestamp_seconds":1787429298,"priority":1,"record_length":96,"hex_timestamp":"000001a02b169f50"} 
[2026-08-23 01:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:41:57] 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-08-23 01: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581823232001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581823232001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:41:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:41:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581823232001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":160411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:41:57] local.INFO: GPS data processed {"connection_id":160411,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:41:57] local.INFO: Acknowledgment sent {"connection_id":160411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:41:58] local.INFO: TCP Data received {"connection_id":160211,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b181268012d50ed80064d4530000e015c31..."} 
[2026-08-23 01:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b181268012d50ed80064d4530000e015c31..."} 
[2026-08-23 01:41:58] local.INFO: Processing buffer {"connection_id":160211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b181268012d50ed80064d4530000e015c31..."} 
[2026-08-23 01:41:58] local.INFO: Packet analysis {"connection_id":160211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b18"} 
[2026-08-23 01:41:58] local.INFO: Extracted packet for processing {"connection_id":160211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b18"} 
[2026-08-23 01:41:58] local.INFO: GPS Element Parsed {"raw_longitude":760278400,"raw_latitude":105727280,"longitude_deg":76.02784,"latitude_deg":10.572728,"altitude":14,"angle":348,"satellites":49,"speed":8,"hex_longitude":"2d50ed80","hex_latitude":"064d4530","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581923584001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389508402230853632,"note":"Value kept but may cause issues"} 
[2026-08-23 01:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5831457857068992512,"note":"Value kept but may cause issues"} 
[2026-08-23 01:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787429393000,"timestamp_ms":1787429393000,"timestamp_seconds":1787429393,"priority":1,"record_length":96,"hex_timestamp":"000001a02b181268"} 
[2026-08-23 01:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 01:41: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-08-23 01: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-08-23 01:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:41:58] 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-08-23 01:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581923584001,"66":27267,"239":206,"78":62464,"24":8,"16":389508402230853632,"45":5831457857068992512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-08-23 01:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581923584001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:41:58] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-23 01:41:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389508402230853632,"km_value":389508402230853.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5831457857068992512,"description":"Unknown IO ID 45"} 
[2026-08-23 01:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581923584001,"power":27267,"unknown_239":206,"unknown_78":62464,"ignition":8,"odometer":null,"unknown_45":5831457857068992512}} 
[2026-08-23 01:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":160211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:41:58] local.INFO: GPS data processed {"connection_id":160211,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:41:58] local.INFO: Acknowledgment sent {"connection_id":160211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:42:28] local.INFO: TCP Data received {"connection_id":160411,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:42:28] local.INFO: Processing buffer {"connection_id":160411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:42:28] local.INFO: Packet analysis {"connection_id":160411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b16"} 
[2026-08-23 01:42:28] local.INFO: Extracted packet for processing {"connection_id":160411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b16"} 
[2026-08-23 01:42:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581823232001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787429298000,"timestamp_ms":1787429298000,"timestamp_seconds":1787429298,"priority":1,"record_length":96,"hex_timestamp":"000001a02b169f50"} 
[2026-08-23 01:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:42:28] 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-08-23 01:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581823232001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581823232001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:42:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:42:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581823232001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":160411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:42:28] local.INFO: GPS data processed {"connection_id":160411,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:42:28] local.INFO: Acknowledgment sent {"connection_id":160411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:42:29] local.INFO: TCP Data received {"connection_id":160211,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b186470012d50e800064d5e680008015b30..."} 
[2026-08-23 01:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b186470012d50e800064d5e680008015b30..."} 
[2026-08-23 01:42:29] local.INFO: Processing buffer {"connection_id":160211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b186470012d50e800064d5e680008015b30..."} 
[2026-08-23 01:42:29] local.INFO: Packet analysis {"connection_id":160211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b18"} 
[2026-08-23 01:42:29] local.INFO: Extracted packet for processing {"connection_id":160211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b18"} 
[2026-08-23 01:42:29] local.INFO: GPS Element Parsed {"raw_longitude":760276992,"raw_latitude":105733736,"longitude_deg":76.0276992,"latitude_deg":10.5733736,"altitude":8,"angle":347,"satellites":48,"speed":14,"hex_longitude":"2d50e800","hex_latitude":"064d5e68","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581924608001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389508724353400832,"note":"Value kept but may cause issues"} 
[2026-08-23 01:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5831457857069199360,"note":"Value kept but may cause issues"} 
[2026-08-23 01:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787429414000,"timestamp_ms":1787429414000,"timestamp_seconds":1787429414,"priority":1,"record_length":96,"hex_timestamp":"000001a02b186470"} 
[2026-08-23 01:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01: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-08-23 01: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":131,"data_length":795,"current_offset":136} 
[2026-08-23 01:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:42:29] 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-08-23 01:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581924608001,"66":27321,"239":206,"78":62464,"24":14,"16":389508724353400832,"45":5831457857069199360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-08-23 01:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581924608001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:42:29] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-23 01:42:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389508724353400832,"km_value":389508724353400.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5831457857069199360,"description":"Unknown IO ID 45"} 
[2026-08-23 01:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581924608001,"power":27321,"unknown_239":206,"unknown_78":62464,"ignition":14,"odometer":null,"unknown_45":5831457857069199360}} 
[2026-08-23 01:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":160211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:42:29] local.INFO: GPS data processed {"connection_id":160211,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:42:29] local.INFO: Acknowledgment sent {"connection_id":160211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:42:47] local.INFO: TCP Data received {"connection_id":161370,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:42:47] local.INFO: Processing buffer {"connection_id":161370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:42:47] local.INFO: IMEI packet received {"connection_id":161370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":161370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:42:51] local.INFO: TCP Data received {"connection_id":161371,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:42:51] local.INFO: Processing buffer {"connection_id":161371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:42:51] local.INFO: IMEI packet received {"connection_id":161371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":161371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:42:53] local.INFO: TCP Data received {"connection_id":161370,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:42:53] local.INFO: Processing buffer {"connection_id":161370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:42:53] local.INFO: IMEI packet received {"connection_id":161370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":161370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:42:53] local.INFO: TCP Data received {"connection_id":161370,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b189f08012d50e240064d77300007014f29..."} 
[2026-08-23 01:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b189f08012d50e240064d77300007014f29..."} 
[2026-08-23 01:42:53] local.INFO: Processing buffer {"connection_id":161370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b189f08012d50e240064d77300007014f29..."} 
[2026-08-23 01:42:53] local.INFO: Packet analysis {"connection_id":161370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b18"} 
[2026-08-23 01:42:53] local.INFO: Extracted packet for processing {"connection_id":161370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b18"} 
[2026-08-23 01:42:53] local.INFO: GPS Element Parsed {"raw_longitude":760275520,"raw_latitude":105740080,"longitude_deg":76.027552,"latitude_deg":10.574008,"altitude":7,"angle":335,"satellites":41,"speed":19,"hex_longitude":"2d50e240","hex_latitude":"064d7730","is_valid_coordinates":true} 
[2026-08-23 01:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581929984001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389509042180980736,"note":"Value kept but may cause issues"} 
[2026-08-23 01:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5829909744698943488,"note":"Value kept but may cause issues"} 
[2026-08-23 01:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787429429000,"timestamp_ms":1787429429000,"timestamp_seconds":1787429429,"priority":1,"record_length":96,"hex_timestamp":"000001a02b189f08"} 
[2026-08-23 01:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:42: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-08-23 01:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 01:42:53] 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-08-23 01:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:42:53] 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-08-23 01:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581929984001,"66":27365,"239":206,"78":62464,"24":19,"16":389509042180980736,"45":5829909744698943488},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-08-23 01:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581929984001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:42:53] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-23 01:42:53] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389509042180980736,"km_value":389509042180980.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5829909744698943488,"description":"Unknown IO ID 45"} 
[2026-08-23 01:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581929984001,"power":27365,"unknown_239":206,"unknown_78":62464,"ignition":19,"odometer":null,"unknown_45":5829909744698943488}} 
[2026-08-23 01:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":161370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:42:53] local.INFO: GPS data processed {"connection_id":161370,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:42:53] local.INFO: Acknowledgment sent {"connection_id":161370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:42:56] local.INFO: TCP Data received {"connection_id":161371,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:42:56] local.INFO: Processing buffer {"connection_id":161371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:42:56] local.INFO: IMEI packet received {"connection_id":161371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":161371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:42:57] local.INFO: TCP Data received {"connection_id":161371,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:42:57] local.INFO: Processing buffer {"connection_id":161371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:42:57] local.INFO: Packet analysis {"connection_id":161371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b16"} 
[2026-08-23 01:42:57] local.INFO: Extracted packet for processing {"connection_id":161371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b16"} 
[2026-08-23 01:42:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581823232001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787429298000,"timestamp_ms":1787429298000,"timestamp_seconds":1787429298,"priority":1,"record_length":96,"hex_timestamp":"000001a02b169f50"} 
[2026-08-23 01:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:42:57] 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-08-23 01:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581823232001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581823232001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:42:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:42:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581823232001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":161371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:42:57] local.INFO: GPS data processed {"connection_id":161371,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:42:57] local.INFO: Acknowledgment sent {"connection_id":161371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:43:25] local.INFO: TCP Data received {"connection_id":161370,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b18f110012d50d340064d94d00006014932..."} 
[2026-08-23 01:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b18f110012d50d340064d94d00006014932..."} 
[2026-08-23 01:43:25] local.INFO: Processing buffer {"connection_id":161370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b18f110012d50d340064d94d00006014932..."} 
[2026-08-23 01:43:25] local.INFO: Packet analysis {"connection_id":161370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b18"} 
[2026-08-23 01:43:25] local.INFO: Extracted packet for processing {"connection_id":161370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b18"} 
[2026-08-23 01:43:25] local.INFO: GPS Element Parsed {"raw_longitude":760271680,"raw_latitude":105747664,"longitude_deg":76.027168,"latitude_deg":10.5747664,"altitude":6,"angle":329,"satellites":50,"speed":11,"hex_longitude":"2d50d340","hex_latitude":"064d94d0","is_valid_coordinates":true} 
[2026-08-23 01:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581933824001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389509454497841152,"note":"Value kept but may cause issues"} 
[2026-08-23 01:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5828291263584481280,"note":"Value kept but may cause issues"} 
[2026-08-23 01:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787429450000,"timestamp_ms":1787429450000,"timestamp_seconds":1787429450,"priority":1,"record_length":96,"hex_timestamp":"000001a02b18f110"} 
[2026-08-23 01:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 01:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:43:25] 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-08-23 01:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581933824001,"66":27397,"239":206,"78":62464,"24":11,"16":389509454497841152,"45":5828291263584481280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-08-23 01:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581933824001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:43:25] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-23 01:43:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389509454497841152,"km_value":389509454497841.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5828291263584481280,"description":"Unknown IO ID 45"} 
[2026-08-23 01:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581933824001,"power":27397,"unknown_239":206,"unknown_78":62464,"ignition":11,"odometer":null,"unknown_45":5828291263584481280}} 
[2026-08-23 01:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":161370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:43:25] local.INFO: GPS data processed {"connection_id":161370,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:43:25] local.INFO: Acknowledgment sent {"connection_id":161370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:43:28] local.INFO: TCP Data received {"connection_id":161371,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:43:28] local.INFO: Processing buffer {"connection_id":161371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:43:28] local.INFO: Packet analysis {"connection_id":161371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b16"} 
[2026-08-23 01:43:28] local.INFO: Extracted packet for processing {"connection_id":161371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b16"} 
[2026-08-23 01:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581823232001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787429298000,"timestamp_ms":1787429298000,"timestamp_seconds":1787429298,"priority":1,"record_length":96,"hex_timestamp":"000001a02b169f50"} 
[2026-08-23 01:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:43:28] 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-08-23 01:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581823232001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581823232001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:43:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:43:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581823232001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":161371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:43:28] local.INFO: GPS data processed {"connection_id":161371,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:43:28] local.INFO: Acknowledgment sent {"connection_id":161371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:43:47] local.INFO: TCP Data received {"connection_id":162783,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:43:47] local.INFO: Processing buffer {"connection_id":162783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:43:47] local.INFO: IMEI packet received {"connection_id":162783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":162783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:43:51] local.INFO: TCP Data received {"connection_id":162784,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:43:51] local.INFO: Processing buffer {"connection_id":162784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:43:51] local.INFO: IMEI packet received {"connection_id":162784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":162784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:43:53] local.INFO: TCP Data received {"connection_id":162783,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:43:53] local.INFO: Processing buffer {"connection_id":162783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:43:53] local.INFO: IMEI packet received {"connection_id":162783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":162783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:43:53] local.INFO: TCP Data received {"connection_id":162783,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b194318012d50c4c0064dabc80005014333..."} 
[2026-08-23 01:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b194318012d50c4c0064dabc80005014333..."} 
[2026-08-23 01:43:53] local.INFO: Processing buffer {"connection_id":162783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b194318012d50c4c0064dabc80005014333..."} 
[2026-08-23 01:43:53] local.INFO: Packet analysis {"connection_id":162783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b19"} 
[2026-08-23 01:43:53] local.INFO: Extracted packet for processing {"connection_id":162783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b19"} 
[2026-08-23 01:43:53] local.INFO: GPS Element Parsed {"raw_longitude":760267968,"raw_latitude":105753544,"longitude_deg":76.0267968,"latitude_deg":10.5753544,"altitude":5,"angle":323,"satellites":51,"speed":12,"hex_longitude":"2d50c4c0","hex_latitude":"064dabc8","is_valid_coordinates":true} 
[2026-08-23 01:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581939200001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389509789505290240,"note":"Value kept but may cause issues"} 
[2026-08-23 01:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5824069138935762944,"note":"Value kept but may cause issues"} 
[2026-08-23 01:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787429471000,"timestamp_ms":1787429471000,"timestamp_seconds":1787429471,"priority":1,"record_length":96,"hex_timestamp":"000001a02b194318"} 
[2026-08-23 01:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:43: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-08-23 01:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 01:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:43:53] 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-08-23 01:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581939200001,"66":27365,"239":206,"78":62464,"24":12,"16":389509789505290240,"45":5824069138935762944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-08-23 01:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581939200001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:43:53] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-23 01:43:53] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389509789505290240,"km_value":389509789505290.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5824069138935762944,"description":"Unknown IO ID 45"} 
[2026-08-23 01:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581939200001,"power":27365,"unknown_239":206,"unknown_78":62464,"ignition":12,"odometer":null,"unknown_45":5824069138935762944}} 
[2026-08-23 01:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":162783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:43:53] local.INFO: GPS data processed {"connection_id":162783,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:43:53] local.INFO: Acknowledgment sent {"connection_id":162783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:43:56] local.INFO: TCP Data received {"connection_id":162784,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:43:56] local.INFO: Processing buffer {"connection_id":162784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:43:56] local.INFO: IMEI packet received {"connection_id":162784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":162784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:43:57] local.INFO: TCP Data received {"connection_id":162784,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:43:57] local.INFO: Processing buffer {"connection_id":162784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b169f50012d196540071ff1b0004401372b..."} 
[2026-08-23 01:43:57] local.INFO: Packet analysis {"connection_id":162784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b16"} 
[2026-08-23 01:43:57] local.INFO: Extracted packet for processing {"connection_id":162784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b16"} 
[2026-08-23 01:43:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581823232001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787429298000,"timestamp_ms":1787429298000,"timestamp_seconds":1787429298,"priority":1,"record_length":96,"hex_timestamp":"000001a02b169f50"} 
[2026-08-23 01:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:43:57] 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-08-23 01:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581823232001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581823232001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:43:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:43:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581823232001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":162784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:43:57] local.INFO: GPS data processed {"connection_id":162784,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:43:57] local.INFO: Acknowledgment sent {"connection_id":162784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:44:25] local.INFO: TCP Data received {"connection_id":162783,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b199520012d50bac0064db9800005014230..."} 
[2026-08-23 01:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b199520012d50bac0064db9800005014230..."} 
[2026-08-23 01:44:25] local.INFO: Processing buffer {"connection_id":162783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b199520012d50bac0064db9800005014230..."} 
[2026-08-23 01:44:25] local.INFO: Packet analysis {"connection_id":162783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b19"} 
[2026-08-23 01:44:25] local.INFO: Extracted packet for processing {"connection_id":162783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b19"} 
[2026-08-23 01:44:25] local.INFO: GPS Element Parsed {"raw_longitude":760265408,"raw_latitude":105757056,"longitude_deg":76.0265408,"latitude_deg":10.5757056,"altitude":5,"angle":322,"satellites":48,"speed":7,"hex_longitude":"2d50bac0","hex_latitude":"064db980","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581944576001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389509999958687744,"note":"Value kept but may cause issues"} 
[2026-08-23 01:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5819987751774963712,"note":"Value kept but may cause issues"} 
[2026-08-23 01:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787429492000,"timestamp_ms":1787429492000,"timestamp_seconds":1787429492,"priority":1,"record_length":96,"hex_timestamp":"000001a02b199520"} 
[2026-08-23 01:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 01:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:44:25] 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-08-23 01:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581944576001,"66":27343,"239":206,"78":62464,"24":7,"16":389509999958687744,"45":5819987751774963712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-08-23 01:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581944576001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:44:25] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-23 01:44:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389509999958687744,"km_value":389509999958687.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5819987751774963712,"description":"Unknown IO ID 45"} 
[2026-08-23 01:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581944576001,"power":27343,"unknown_239":206,"unknown_78":62464,"ignition":7,"odometer":null,"unknown_45":5819987751774963712}} 
[2026-08-23 01:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":162783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:44:25] local.INFO: GPS data processed {"connection_id":162783,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:44:25] local.INFO: Acknowledgment sent {"connection_id":162783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:44:28] local.INFO: TCP Data received {"connection_id":162784,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:44:28] local.INFO: Processing buffer {"connection_id":162784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:44:28] local.INFO: Packet analysis {"connection_id":162784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:44:28] local.INFO: Extracted packet for processing {"connection_id":162784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:44:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581900288001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787429599000,"timestamp_ms":1787429599000,"timestamp_seconds":1787429599,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1b3718"} 
[2026-08-23 01:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581900288001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581900288001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:44:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:44:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581900288001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":162784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:44:28] local.INFO: GPS data processed {"connection_id":162784,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:44:28] local.INFO: Acknowledgment sent {"connection_id":162784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:44:47] local.INFO: TCP Data received {"connection_id":161372,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:44:47] local.INFO: Processing buffer {"connection_id":161372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:44:47] local.INFO: IMEI packet received {"connection_id":161372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":161372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:44:51] local.INFO: TCP Data received {"connection_id":160412,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:44:51] local.INFO: Processing buffer {"connection_id":160412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:44:51] local.INFO: IMEI packet received {"connection_id":160412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":160412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:44:53] local.INFO: TCP Data received {"connection_id":161372,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:44:53] local.INFO: Processing buffer {"connection_id":161372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:44:53] local.INFO: IMEI packet received {"connection_id":161372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":161372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:44:54] local.INFO: TCP Data received {"connection_id":161372,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1b90f0012d508140064e20b80008014f32..."} 
[2026-08-23 01:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1b90f0012d508140064e20b80008014f32..."} 
[2026-08-23 01:44:54] local.INFO: Processing buffer {"connection_id":161372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1b90f0012d508140064e20b80008014f32..."} 
[2026-08-23 01:44:54] local.INFO: Packet analysis {"connection_id":161372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:44:54] local.INFO: Extracted packet for processing {"connection_id":161372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:44:54] local.INFO: GPS Element Parsed {"raw_longitude":760250688,"raw_latitude":105783480,"longitude_deg":76.0250688,"latitude_deg":10.578348,"altitude":8,"angle":335,"satellites":50,"speed":8,"hex_longitude":"2d508140","hex_latitude":"064e20b8","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581981184001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389511481722404864,"note":"Value kept but may cause issues"} 
[2026-08-23 01:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5802536303226109952,"note":"Value kept but may cause issues"} 
[2026-08-23 01:44:54] 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-08-23 01:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787429622000,"timestamp_ms":1787429622000,"timestamp_seconds":1787429622,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1b90f0"} 
[2026-08-23 01:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 01:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:44:54] 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-08-23 01:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581981184001,"66":27310,"53":206,"78":62464,"24":8,"16":389511481722404864,"45":5802536303226109952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-08-23 01:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581981184001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:44:54] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-23 01:44:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389511481722404864,"km_value":389511481722404.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5802536303226109952,"description":"Unknown IO ID 45"} 
[2026-08-23 01:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581981184001,"power":27310,"unknown_53":206,"unknown_78":62464,"ignition":8,"odometer":null,"unknown_45":5802536303226109952}} 
[2026-08-23 01:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":161372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:44:54] local.INFO: GPS data processed {"connection_id":161372,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:44:54] local.INFO: Acknowledgment sent {"connection_id":161372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:44:56] local.INFO: TCP Data received {"connection_id":160412,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:44:56] local.INFO: Processing buffer {"connection_id":160412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:44:56] local.INFO: IMEI packet received {"connection_id":160412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":160412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:44:57] local.INFO: TCP Data received {"connection_id":160412,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:44:57] local.INFO: Processing buffer {"connection_id":160412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:44:57] local.INFO: Packet analysis {"connection_id":160412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:44:57] local.INFO: Extracted packet for processing {"connection_id":160412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:44:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581900288001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787429599000,"timestamp_ms":1787429599000,"timestamp_seconds":1787429599,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1b3718"} 
[2026-08-23 01:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:44:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581900288001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581900288001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:44:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:44:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581900288001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":160412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:44:57] local.INFO: GPS data processed {"connection_id":160412,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:44:57] local.INFO: Acknowledgment sent {"connection_id":160412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:45:25] local.INFO: TCP Data received {"connection_id":161372,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1bbbe8012d507ac0064e2ce00008014331..."} 
[2026-08-23 01:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1bbbe8012d507ac0064e2ce00008014331..."} 
[2026-08-23 01:45:25] local.INFO: Processing buffer {"connection_id":161372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1bbbe8012d507ac0064e2ce00008014331..."} 
[2026-08-23 01:45:25] local.INFO: Packet analysis {"connection_id":161372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:45:25] local.INFO: Extracted packet for processing {"connection_id":161372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:45:25] local.INFO: GPS Element Parsed {"raw_longitude":760249024,"raw_latitude":105786592,"longitude_deg":76.0249024,"latitude_deg":10.5786592,"altitude":8,"angle":323,"satellites":49,"speed":16,"hex_longitude":"2d507ac0","hex_latitude":"064e2ce0","is_valid_coordinates":true} 
[2026-08-23 01:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581983232001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389511653521096704,"note":"Value kept but may cause issues"} 
[2026-08-23 01:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5800988190854658048,"note":"Value kept but may cause issues"} 
[2026-08-23 01:45:25] 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-08-23 01:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787429633000,"timestamp_ms":1787429633000,"timestamp_seconds":1787429633,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1bbbe8"} 
[2026-08-23 01:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-23 01:45:25] 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-08-23 01:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:45:25] 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-08-23 01:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581983232001,"66":27213,"53":206,"78":62464,"24":16,"16":389511653521096704,"45":5800988190854658048},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-08-23 01:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581983232001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:45:25] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-23 01:45:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389511653521096704,"km_value":389511653521096.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5800988190854658048,"description":"Unknown IO ID 45"} 
[2026-08-23 01:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581983232001,"power":27213,"unknown_53":206,"unknown_78":62464,"ignition":16,"odometer":null,"unknown_45":5800988190854658048}} 
[2026-08-23 01:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":161372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:45:25] local.INFO: GPS data processed {"connection_id":161372,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:45:25] local.INFO: Acknowledgment sent {"connection_id":161372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:45:28] local.INFO: TCP Data received {"connection_id":160412,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:45:28] local.INFO: Processing buffer {"connection_id":160412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:45:28] local.INFO: Packet analysis {"connection_id":160412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:45:28] local.INFO: Extracted packet for processing {"connection_id":160412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:45:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581900288001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787429599000,"timestamp_ms":1787429599000,"timestamp_seconds":1787429599,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1b3718"} 
[2026-08-23 01:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581900288001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581900288001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:45:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:45:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581900288001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":160412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:45:28] local.INFO: GPS data processed {"connection_id":160412,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:45:28] local.INFO: Acknowledgment sent {"connection_id":160412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:45:49] local.INFO: TCP Data received {"connection_id":161373,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:45:49] local.INFO: Processing buffer {"connection_id":161373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:45:49] local.INFO: IMEI packet received {"connection_id":161373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":161373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:45:51] local.INFO: TCP Data received {"connection_id":160413,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:45:51] local.INFO: Processing buffer {"connection_id":160413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:45:51] local.INFO: IMEI packet received {"connection_id":160413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":160413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:45:53] local.INFO: TCP Data received {"connection_id":161373,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:45:53] local.INFO: Processing buffer {"connection_id":161373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:45:53] local.INFO: IMEI packet received {"connection_id":161373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":161373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:45:56] local.INFO: TCP Data received {"connection_id":160413,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:45:56] local.INFO: Processing buffer {"connection_id":160413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:45:56] local.INFO: IMEI packet received {"connection_id":160413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":160413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:45:57] local.INFO: TCP Data received {"connection_id":160413,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:45:57] local.INFO: Processing buffer {"connection_id":160413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:45:57] local.INFO: Packet analysis {"connection_id":160413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:45:57] local.INFO: Extracted packet for processing {"connection_id":160413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:45:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581900288001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787429599000,"timestamp_ms":1787429599000,"timestamp_seconds":1787429599,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1b3718"} 
[2026-08-23 01:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581900288001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581900288001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:45:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:45:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581900288001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":160413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:45:57] local.INFO: GPS data processed {"connection_id":160413,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:45:57] local.INFO: Acknowledgment sent {"connection_id":160413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:45:58] local.INFO: TCP Data received {"connection_id":161373,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:45:58] local.INFO: Processing buffer {"connection_id":161373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:45:58] local.INFO: IMEI packet received {"connection_id":161373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":161373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:45:58] local.INFO: TCP Data received {"connection_id":161373,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1bdb28012d506f80064e38c80009013730..."} 
[2026-08-23 01:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1bdb28012d506f80064e38c80009013730..."} 
[2026-08-23 01:45:58] local.INFO: Processing buffer {"connection_id":161373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1bdb28012d506f80064e38c80009013730..."} 
[2026-08-23 01:45:58] local.INFO: Packet analysis {"connection_id":161373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:45:58] local.INFO: Extracted packet for processing {"connection_id":161373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:45:58] local.INFO: GPS Element Parsed {"raw_longitude":760246144,"raw_latitude":105789640,"longitude_deg":76.0246144,"latitude_deg":10.578964,"altitude":9,"angle":311,"satellites":48,"speed":26,"hex_longitude":"2d506f80","hex_latitude":"064e38c8","is_valid_coordinates":true} 
[2026-08-23 01:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581986048001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389511855384559616,"note":"Value kept but may cause issues"} 
[2026-08-23 01:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5799158603506835456,"note":"Value kept but may cause issues"} 
[2026-08-23 01:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787429641000,"timestamp_ms":1787429641000,"timestamp_seconds":1787429641,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1bdb28"} 
[2026-08-23 01:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:45: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-08-23 01:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 01:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:45:58] 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-08-23 01:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581986048001,"66":27365,"53":206,"78":62464,"24":26,"16":389511855384559616,"45":5799158603506835456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-08-23 01:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581986048001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:45:58] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-23 01:45:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389511855384559616,"km_value":389511855384559.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5799158603506835456,"description":"Unknown IO ID 45"} 
[2026-08-23 01:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581986048001,"power":27365,"unknown_53":206,"unknown_78":62464,"ignition":26,"odometer":null,"unknown_45":5799158603506835456}} 
[2026-08-23 01:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":161373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:45:58] local.INFO: GPS data processed {"connection_id":161373,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:45:58] local.INFO: Acknowledgment sent {"connection_id":161373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:46:02] local.INFO: TCP Data received {"connection_id":161373,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1c0df0012d505200064e4f28000b01372e..."} 
[2026-08-23 01:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1c0df0012d505200064e4f28000b01372e..."} 
[2026-08-23 01:46:02] local.INFO: Processing buffer {"connection_id":161373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1c0df0012d505200064e4f28000b01372e..."} 
[2026-08-23 01:46:02] local.INFO: Packet analysis {"connection_id":161373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1c"} 
[2026-08-23 01:46:02] local.INFO: Extracted packet for processing {"connection_id":161373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1c"} 
[2026-08-23 01:46:02] local.INFO: GPS Element Parsed {"raw_longitude":760238592,"raw_latitude":105795368,"longitude_deg":76.0238592,"latitude_deg":10.5795368,"altitude":11,"angle":311,"satellites":46,"speed":30,"hex_longitude":"2d505200","hex_latitude":"064e4f28","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581988096001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389512310651092992,"note":"Value kept but may cause issues"} 
[2026-08-23 01:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5795992010019620864,"note":"Value kept but may cause issues"} 
[2026-08-23 01:46:02] 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-08-23 01:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787429654000,"timestamp_ms":1787429654000,"timestamp_seconds":1787429654,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1c0df0"} 
[2026-08-23 01:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:46: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-08-23 01:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 01:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:46:02] 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-08-23 01:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581988096001,"66":27376,"53":206,"78":62464,"24":30,"16":389512310651092992,"45":5795992010019620864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-08-23 01:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581988096001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:46:02] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-23 01:46:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389512310651092992,"km_value":389512310651093.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5795992010019620864,"description":"Unknown IO ID 45"} 
[2026-08-23 01:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581988096001,"power":27376,"unknown_53":206,"unknown_78":62464,"ignition":30,"odometer":null,"unknown_45":5795992010019620864}} 
[2026-08-23 01:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":161373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:46:02] local.INFO: GPS data processed {"connection_id":161373,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:46:02] local.INFO: Acknowledgment sent {"connection_id":161373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:46:28] local.INFO: TCP Data received {"connection_id":160413,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:46:28] local.INFO: Processing buffer {"connection_id":160413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:46:28] local.INFO: Packet analysis {"connection_id":160413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:46:28] local.INFO: Extracted packet for processing {"connection_id":160413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581900288001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787429599000,"timestamp_ms":1787429599000,"timestamp_seconds":1787429599,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1b3718"} 
[2026-08-23 01:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581900288001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581900288001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:46:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:46:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581900288001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":160413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:46:28] local.INFO: GPS data processed {"connection_id":160413,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:46:28] local.INFO: Acknowledgment sent {"connection_id":160413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:46:45] local.INFO: TCP Data received {"connection_id":160212,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:46:45] local.INFO: Processing buffer {"connection_id":160212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:46:45] local.INFO: IMEI packet received {"connection_id":160212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":160212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:46:47] local.INFO: TCP Data received {"connection_id":160212,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:46:47] local.INFO: Processing buffer {"connection_id":160212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:46:47] local.INFO: IMEI packet received {"connection_id":160212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":160212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:46:51] local.INFO: TCP Data received {"connection_id":160213,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:46:51] local.INFO: Processing buffer {"connection_id":160213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:46:51] local.INFO: IMEI packet received {"connection_id":160213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":160213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:46:52] local.INFO: TCP Data received {"connection_id":160212,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:46:52] local.INFO: Processing buffer {"connection_id":160212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:46:52] local.INFO: IMEI packet received {"connection_id":160212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":160212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:46:54] local.INFO: TCP Data received {"connection_id":160212,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1d84f0012d4f9580064e1f48000a013c2c..."} 
[2026-08-23 01:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1d84f0012d4f9580064e1f48000a013c2c..."} 
[2026-08-23 01:46:54] local.INFO: Processing buffer {"connection_id":160212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1d84f0012d4f9580064e1f48000a013c2c..."} 
[2026-08-23 01:46:54] local.INFO: Packet analysis {"connection_id":160212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1d"} 
[2026-08-23 01:46:54] local.INFO: Extracted packet for processing {"connection_id":160212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1d"} 
[2026-08-23 01:46:54] local.INFO: GPS Element Parsed {"raw_longitude":760190336,"raw_latitude":105783112,"longitude_deg":76.0190336,"latitude_deg":10.5783112,"altitude":10,"angle":316,"satellites":44,"speed":19,"hex_longitude":"2d4f9580","hex_latitude":"064e1f48","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582015744001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389515115264737280,"note":"Value kept but may cause issues"} 
[2026-08-23 01:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5735052677560018944,"note":"Value kept but may cause issues"} 
[2026-08-23 01:46:54] 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-08-23 01:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787429750000,"timestamp_ms":1787429750000,"timestamp_seconds":1787429750,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1d84f0"} 
[2026-08-23 01:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01: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":104,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-08-23 01:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1123,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:46:54] 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-08-23 01:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582015744001,"66":27234,"7":206,"78":62464,"24":19,"16":389515115264737280,"45":5735052677560018944},"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-08-23 01:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582015744001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:46:54] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-23 01:46:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389515115264737280,"km_value":389515115264737.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5735052677560018944,"description":"Unknown IO ID 45"} 
[2026-08-23 01:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582015744001,"power":27234,"unknown_7":206,"unknown_78":62464,"ignition":19,"odometer":null,"unknown_45":5735052677560018944}} 
[2026-08-23 01:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":160212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:46:54] local.INFO: GPS data processed {"connection_id":160212,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:46:54] local.INFO: Acknowledgment sent {"connection_id":160212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:46:56] local.INFO: TCP Data received {"connection_id":160213,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:46:56] local.INFO: Processing buffer {"connection_id":160213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:46:56] local.INFO: IMEI packet received {"connection_id":160213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":160213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:46:57] local.INFO: TCP Data received {"connection_id":160213,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:46:57] local.INFO: Processing buffer {"connection_id":160213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:46:57] local.INFO: Packet analysis {"connection_id":160213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:46:57] local.INFO: Extracted packet for processing {"connection_id":160213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:46:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581900288001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787429599000,"timestamp_ms":1787429599000,"timestamp_seconds":1787429599,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1b3718"} 
[2026-08-23 01:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581900288001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581900288001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:46:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:46:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581900288001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":160213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:46:57] local.INFO: GPS data processed {"connection_id":160213,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:46:57] local.INFO: Acknowledgment sent {"connection_id":160213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:47:28] local.INFO: TCP Data received {"connection_id":160213,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:47:28] local.INFO: Processing buffer {"connection_id":160213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:47:28] local.INFO: Packet analysis {"connection_id":160213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:47:28] local.INFO: Extracted packet for processing {"connection_id":160213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:47:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581900288001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787429599000,"timestamp_ms":1787429599000,"timestamp_seconds":1787429599,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1b3718"} 
[2026-08-23 01:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581900288001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581900288001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:47:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:47:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581900288001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":160213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:47:28] local.INFO: GPS data processed {"connection_id":160213,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:47:28] local.INFO: Acknowledgment sent {"connection_id":160213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:47:28] local.INFO: TCP Data received {"connection_id":160212,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1d88d8012d4f9480064e20d0000a014a2f..."} 
[2026-08-23 01:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1d88d8012d4f9480064e20d0000a014a2f..."} 
[2026-08-23 01:47:28] local.INFO: Processing buffer {"connection_id":160212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1d88d8012d4f9480064e20d0000a014a2f..."} 
[2026-08-23 01:47:28] local.INFO: Packet analysis {"connection_id":160212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1d"} 
[2026-08-23 01:47:28] local.INFO: Extracted packet for processing {"connection_id":160212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1d"} 
[2026-08-23 01:47:28] local.INFO: GPS Element Parsed {"raw_longitude":760190080,"raw_latitude":105783504,"longitude_deg":76.019008,"latitude_deg":10.5783504,"altitude":10,"angle":330,"satellites":47,"speed":19,"hex_longitude":"2d4f9480","hex_latitude":"064e20d0","is_valid_coordinates":true} 
[2026-08-23 01:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582016000001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389515141034541056,"note":"Value kept but may cause issues"} 
[2026-08-23 01:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5734630465095026688,"note":"Value kept but may cause issues"} 
[2026-08-23 01:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787429751000,"timestamp_ms":1787429751000,"timestamp_seconds":1787429751,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1d88d8"} 
[2026-08-23 01:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 01:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582016000001,"66":27234,"7":206,"78":62464,"24":19,"16":389515141034541056,"45":5734630465095026688},"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-08-23 01:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582016000001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:47:28] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-23 01:47:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389515141034541056,"km_value":389515141034541.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5734630465095026688,"description":"Unknown IO ID 45"} 
[2026-08-23 01:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582016000001,"power":27234,"unknown_7":206,"unknown_78":62464,"ignition":19,"odometer":null,"unknown_45":5734630465095026688}} 
[2026-08-23 01:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":160212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:47:28] local.INFO: GPS data processed {"connection_id":160212,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:47:28] local.INFO: Acknowledgment sent {"connection_id":160212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:47:47] local.INFO: TCP Data received {"connection_id":162785,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:47:47] local.INFO: Processing buffer {"connection_id":162785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:47:47] local.INFO: IMEI packet received {"connection_id":162785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":162785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:47:51] local.INFO: TCP Data received {"connection_id":162786,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:47:51] local.INFO: Processing buffer {"connection_id":162786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:47:51] local.INFO: IMEI packet received {"connection_id":162786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":162786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:47:52] local.INFO: TCP Data received {"connection_id":162785,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:47:52] local.INFO: Processing buffer {"connection_id":162785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:47:52] local.INFO: IMEI packet received {"connection_id":162785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":162785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:47:54] local.INFO: TCP Data received {"connection_id":162785,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1d8cc0012d4f9380064e2298000901562e..."} 
[2026-08-23 01:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1d8cc0012d4f9380064e2298000901562e..."} 
[2026-08-23 01:47:54] local.INFO: Processing buffer {"connection_id":162785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1d8cc0012d4f9380064e2298000901562e..."} 
[2026-08-23 01:47:54] local.INFO: Packet analysis {"connection_id":162785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1d"} 
[2026-08-23 01:47:54] local.INFO: Extracted packet for processing {"connection_id":162785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1d"} 
[2026-08-23 01:47:54] local.INFO: GPS Element Parsed {"raw_longitude":760189824,"raw_latitude":105783960,"longitude_deg":76.0189824,"latitude_deg":10.578396,"altitude":9,"angle":342,"satellites":46,"speed":20,"hex_longitude":"2d4f9380","hex_latitude":"064e2298","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582016256001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389515162509377536,"note":"Value kept but may cause issues"} 
[2026-08-23 01:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5734348990118416384,"note":"Value kept but may cause issues"} 
[2026-08-23 01:47:54] 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-08-23 01:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787429752000,"timestamp_ms":1787429752000,"timestamp_seconds":1787429752,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1d8cc0"} 
[2026-08-23 01:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 01:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:47:54] 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-08-23 01:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582016256001,"66":27300,"7":206,"78":62464,"24":20,"16":389515162509377536,"45":5734348990118416384},"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-08-23 01:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582016256001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:47:54] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-23 01:47:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389515162509377536,"km_value":389515162509377.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5734348990118416384,"description":"Unknown IO ID 45"} 
[2026-08-23 01:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582016256001,"power":27300,"unknown_7":206,"unknown_78":62464,"ignition":20,"odometer":null,"unknown_45":5734348990118416384}} 
[2026-08-23 01:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":162785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:47:54] local.INFO: GPS data processed {"connection_id":162785,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:47:54] local.INFO: Acknowledgment sent {"connection_id":162785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:47:56] local.INFO: TCP Data received {"connection_id":162786,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:47:56] local.INFO: Processing buffer {"connection_id":162786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:47:56] local.INFO: IMEI packet received {"connection_id":162786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":162786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:47:57] local.INFO: TCP Data received {"connection_id":162786,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:47:57] local.INFO: Processing buffer {"connection_id":162786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:47:57] local.INFO: Packet analysis {"connection_id":162786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:47:57] local.INFO: Extracted packet for processing {"connection_id":162786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:47:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581900288001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787429599000,"timestamp_ms":1787429599000,"timestamp_seconds":1787429599,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1b3718"} 
[2026-08-23 01:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581900288001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581900288001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:47:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:47:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581900288001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":162786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:47:57] local.INFO: GPS data processed {"connection_id":162786,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:47:57] local.INFO: Acknowledgment sent {"connection_id":162786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:48:25] local.INFO: TCP Data received {"connection_id":162785,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1dc758012d4f8540064e44600008014e2d..."} 
[2026-08-23 01:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1dc758012d4f8540064e44600008014e2d..."} 
[2026-08-23 01:48:25] local.INFO: Processing buffer {"connection_id":162785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1dc758012d4f8540064e44600008014e2d..."} 
[2026-08-23 01:48:25] local.INFO: Packet analysis {"connection_id":162785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1d"} 
[2026-08-23 01:48:25] local.INFO: Extracted packet for processing {"connection_id":162785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1d"} 
[2026-08-23 01:48:25] local.INFO: GPS Element Parsed {"raw_longitude":760186176,"raw_latitude":105792608,"longitude_deg":76.0186176,"latitude_deg":10.5792608,"altitude":8,"angle":334,"satellites":45,"speed":28,"hex_longitude":"2d4f8540","hex_latitude":"064e4460","is_valid_coordinates":true} 
[2026-08-23 01:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582016512001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389515617775910912,"note":"Value kept but may cause issues"} 
[2026-08-23 01:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5734067515141822464,"note":"Value kept but may cause issues"} 
[2026-08-23 01:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787429767000,"timestamp_ms":1787429767000,"timestamp_seconds":1787429767,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1dc758"} 
[2026-08-23 01:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 01:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:48:25] 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-08-23 01:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582016512001,"66":27321,"240":206,"78":62464,"24":28,"16":389515617775910912,"45":5734067515141822464},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,78,24,16,45]} 
[2026-08-23 01:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582016512001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:48:25] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-08-23 01:48:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389515617775910912,"km_value":389515617775910.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5734067515141822464,"description":"Unknown IO ID 45"} 
[2026-08-23 01:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582016512001,"power":27321,"unknown_240":206,"unknown_78":62464,"ignition":28,"odometer":null,"unknown_45":5734067515141822464}} 
[2026-08-23 01:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":162785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:48:25] local.INFO: GPS data processed {"connection_id":162785,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:48:25] local.INFO: Acknowledgment sent {"connection_id":162785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:48:28] local.INFO: TCP Data received {"connection_id":162786,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:48:28] local.INFO: Processing buffer {"connection_id":162786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1b3718012d196540071ff1b00044013729..."} 
[2026-08-23 01:48:28] local.INFO: Packet analysis {"connection_id":162786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:48:28] local.INFO: Extracted packet for processing {"connection_id":162786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1b"} 
[2026-08-23 01:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581900288001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787429599000,"timestamp_ms":1787429599000,"timestamp_seconds":1787429599,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1b3718"} 
[2026-08-23 01:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581900288001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581900288001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:48:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:48:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581900288001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":162786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:48:28] local.INFO: GPS data processed {"connection_id":162786,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:48:28] local.INFO: Acknowledgment sent {"connection_id":162786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:48:52] local.INFO: TCP Data received {"connection_id":160214,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:48:52] local.INFO: Processing buffer {"connection_id":160214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:48:52] local.INFO: IMEI packet received {"connection_id":160214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":160214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:48:53] local.INFO: TCP Data received {"connection_id":160214,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:48:53] local.INFO: Processing buffer {"connection_id":160214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:48:53] local.INFO: IMEI packet received {"connection_id":160214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":160214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:48:54] local.INFO: TCP Data received {"connection_id":160214,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1dfe08012d4f75c0064e63f8000801472e..."} 
[2026-08-23 01:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1dfe08012d4f75c0064e63f8000801472e..."} 
[2026-08-23 01:48:54] local.INFO: Processing buffer {"connection_id":160214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1dfe08012d4f75c0064e63f8000801472e..."} 
[2026-08-23 01:48:54] local.INFO: Packet analysis {"connection_id":160214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1d"} 
[2026-08-23 01:48:54] local.INFO: Extracted packet for processing {"connection_id":160214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1d"} 
[2026-08-23 01:48:54] local.INFO: GPS Element Parsed {"raw_longitude":760182208,"raw_latitude":105800696,"longitude_deg":76.0182208,"latitude_deg":10.5800696,"altitude":8,"angle":327,"satellites":46,"speed":22,"hex_longitude":"2d4f75c0","hex_latitude":"064e63f8","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582020352001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389516055862575104,"note":"Value kept but may cause issues"} 
[2026-08-23 01:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5730056496725909504,"note":"Value kept but may cause issues"} 
[2026-08-23 01:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787429781000,"timestamp_ms":1787429781000,"timestamp_seconds":1787429781,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1dfe08"} 
[2026-08-23 01:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 01:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:48:54] 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-08-23 01:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582020352001,"66":27332,"240":206,"78":62464,"24":22,"16":389516055862575104,"45":5730056496725909504},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,78,24,16,45]} 
[2026-08-23 01:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582020352001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:48:54] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-08-23 01:48:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389516055862575104,"km_value":389516055862575.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5730056496725909504,"description":"Unknown IO ID 45"} 
[2026-08-23 01:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582020352001,"power":27332,"unknown_240":206,"unknown_78":62464,"ignition":22,"odometer":null,"unknown_45":5730056496725909504}} 
[2026-08-23 01:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":160214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:48:54] local.INFO: GPS data processed {"connection_id":160214,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:48:54] local.INFO: Acknowledgment sent {"connection_id":160214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:48:56] local.INFO: TCP Data received {"connection_id":162787,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:48:56] local.INFO: Processing buffer {"connection_id":162787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:48:56] local.INFO: IMEI packet received {"connection_id":162787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":162787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:48:58] local.INFO: TCP Data received {"connection_id":160214,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1e34b8012d4f6200064e81c8000a01452f..."} 
[2026-08-23 01:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1e34b8012d4f6200064e81c8000a01452f..."} 
[2026-08-23 01:48:58] local.INFO: Processing buffer {"connection_id":160214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1e34b8012d4f6200064e81c8000a01452f..."} 
[2026-08-23 01:48:58] local.INFO: Packet analysis {"connection_id":160214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1e"} 
[2026-08-23 01:48:58] local.INFO: Extracted packet for processing {"connection_id":160214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1e"} 
[2026-08-23 01:48:58] local.INFO: GPS Element Parsed {"raw_longitude":760177152,"raw_latitude":105808328,"longitude_deg":76.0177152,"latitude_deg":10.5808328,"altitude":10,"angle":325,"satellites":47,"speed":28,"hex_longitude":"2d4f6200","hex_latitude":"064e81c8","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582023936001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389516498244206592,"note":"Value kept but may cause issues"} 
[2026-08-23 01:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5725693634588964864,"note":"Value kept but may cause issues"} 
[2026-08-23 01:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787429795000,"timestamp_ms":1787429795000,"timestamp_seconds":1787429795,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1e34b8"} 
[2026-08-23 01:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:48: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-08-23 01:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 01:48: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-08-23 01: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-08-23 01:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:48:58] 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-08-23 01:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582023936001,"66":27180,"240":206,"78":62464,"24":28,"16":389516498244206592,"45":5725693634588964864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,78,24,16,45]} 
[2026-08-23 01:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582023936001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:48:58] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-08-23 01:48:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389516498244206592,"km_value":389516498244206.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5725693634588964864,"description":"Unknown IO ID 45"} 
[2026-08-23 01:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582023936001,"power":27180,"unknown_240":206,"unknown_78":62464,"ignition":28,"odometer":null,"unknown_45":5725693634588964864}} 
[2026-08-23 01:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":160214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:48:58] local.INFO: GPS data processed {"connection_id":160214,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:48:58] local.INFO: Acknowledgment sent {"connection_id":160214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:48:58] local.INFO: TCP Data received {"connection_id":162787,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:48:58] local.INFO: Processing buffer {"connection_id":162787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:48:58] local.INFO: IMEI packet received {"connection_id":162787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":162787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:48:59] local.INFO: TCP Data received {"connection_id":162787,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:48:59] local.INFO: Processing buffer {"connection_id":162787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:48:59] local.INFO: Packet analysis {"connection_id":162787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1f"} 
[2026-08-23 01:48:59] local.INFO: Extracted packet for processing {"connection_id":162787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1f"} 
[2026-08-23 01:48:59] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581977344001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787429900000,"timestamp_ms":1787429900000,"timestamp_seconds":1787429900,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1fcee0"} 
[2026-08-23 01:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581977344001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581977344001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:48:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:48:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581977344001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":162787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:48:59] local.INFO: GPS data processed {"connection_id":162787,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:48:59] local.INFO: Acknowledgment sent {"connection_id":162787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:49:02] local.INFO: TCP Data received {"connection_id":162787,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:49:02] local.INFO: Processing buffer {"connection_id":162787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:49:02] local.INFO: Packet analysis {"connection_id":162787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1f"} 
[2026-08-23 01:49:02] local.INFO: Extracted packet for processing {"connection_id":162787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1f"} 
[2026-08-23 01:49:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581977344001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787429900000,"timestamp_ms":1787429900000,"timestamp_seconds":1787429900,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1fcee0"} 
[2026-08-23 01:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:49:02] 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-08-23 01:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581977344001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581977344001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:49:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:49:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581977344001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":162787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:49:02] local.INFO: GPS data processed {"connection_id":162787,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:49:02] local.INFO: Acknowledgment sent {"connection_id":162787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:49:29] local.INFO: TCP Data received {"connection_id":160214,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b200590012d4ea100064fdbc0000e014a32..."} 
[2026-08-23 01:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b200590012d4ea100064fdbc0000e014a32..."} 
[2026-08-23 01:49:29] local.INFO: Processing buffer {"connection_id":160214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b200590012d4ea100064fdbc0000e014a32..."} 
[2026-08-23 01:49:29] local.INFO: Packet analysis {"connection_id":160214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b20"} 
[2026-08-23 01:49:29] local.INFO: Extracted packet for processing {"connection_id":160214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b20"} 
[2026-08-23 01:49:29] local.INFO: GPS Element Parsed {"raw_longitude":760127744,"raw_latitude":105896896,"longitude_deg":76.0127744,"latitude_deg":10.5896896,"altitude":14,"angle":330,"satellites":50,"speed":44,"hex_longitude":"2d4ea100","hex_latitude":"064fdbc0","is_valid_coordinates":true} 
[2026-08-23 01:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582055680001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389521403096858624,"note":"Value kept but may cause issues"} 
[2026-08-23 01:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5670594907920392192,"note":"Value kept but may cause issues"} 
[2026-08-23 01:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787429914000,"timestamp_ms":1787429914000,"timestamp_seconds":1787429914,"priority":1,"record_length":96,"hex_timestamp":"000001a02b200590"} 
[2026-08-23 01:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 01:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:49:29] 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-08-23 01:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582055680001,"66":27245,"60":206,"78":62464,"24":44,"16":389521403096858624,"45":5670594907920392192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-08-23 01:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582055680001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:49:29] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-23 01:49:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389521403096858624,"km_value":389521403096858.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5670594907920392192,"description":"Unknown IO ID 45"} 
[2026-08-23 01:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582055680001,"power":27245,"unknown_60":206,"unknown_78":62464,"ignition":44,"odometer":null,"unknown_45":5670594907920392192}} 
[2026-08-23 01:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":160214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:49:29] local.INFO: GPS data processed {"connection_id":160214,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:49:29] local.INFO: Acknowledgment sent {"connection_id":160214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:49:33] local.INFO: TCP Data received {"connection_id":162787,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:49:33] local.INFO: Processing buffer {"connection_id":162787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:49:33] local.INFO: Packet analysis {"connection_id":162787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1f"} 
[2026-08-23 01:49:33] local.INFO: Extracted packet for processing {"connection_id":162787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1f"} 
[2026-08-23 01:49:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581977344001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787429900000,"timestamp_ms":1787429900000,"timestamp_seconds":1787429900,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1fcee0"} 
[2026-08-23 01:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:49:33] 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-08-23 01:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581977344001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581977344001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:49:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:49:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581977344001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":162787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:49:33] local.INFO: GPS data processed {"connection_id":162787,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:49:33] local.INFO: Acknowledgment sent {"connection_id":162787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:49:47] local.INFO: TCP Data received {"connection_id":161374,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:49:47] local.INFO: Processing buffer {"connection_id":161374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:49:47] local.INFO: IMEI packet received {"connection_id":161374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":161374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:49:49] local.INFO: TCP Data received {"connection_id":161374,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:49:49] local.INFO: Processing buffer {"connection_id":161374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:49:49] local.INFO: IMEI packet received {"connection_id":161374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":161374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:49:50] local.INFO: TCP Data received {"connection_id":161374,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2024d0012d4e8f40064ffcf0000d014e31..."} 
[2026-08-23 01:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2024d0012d4e8f40064ffcf0000d014e31..."} 
[2026-08-23 01:49:50] local.INFO: Processing buffer {"connection_id":161374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2024d0012d4e8f40064ffcf0000d014e31..."} 
[2026-08-23 01:49:50] local.INFO: Packet analysis {"connection_id":161374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b20"} 
[2026-08-23 01:49:50] local.INFO: Extracted packet for processing {"connection_id":161374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b20"} 
[2026-08-23 01:49:50] local.INFO: GPS Element Parsed {"raw_longitude":760123200,"raw_latitude":105905392,"longitude_deg":76.01232,"latitude_deg":10.5905392,"altitude":13,"angle":334,"satellites":49,"speed":51,"hex_longitude":"2d4e8f40","hex_latitude":"064ffcf0","is_valid_coordinates":true} 
[2026-08-23 01:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582057984001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389521866953326592,"note":"Value kept but may cause issues"} 
[2026-08-23 01:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5665809833318400000,"note":"Value kept but may cause issues"} 
[2026-08-23 01:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787429922000,"timestamp_ms":1787429922000,"timestamp_seconds":1787429922,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2024d0"} 
[2026-08-23 01:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:49: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-08-23 01:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-23 01:49:50] 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-08-23 01:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582057984001,"66":27213,"61":206,"78":62464,"24":51,"16":389521866953326592,"45":5665809833318400000},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-08-23 01:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582057984001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:49:50] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 01:49:50] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389521866953326592,"km_value":389521866953326.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5665809833318400000,"description":"Unknown IO ID 45"} 
[2026-08-23 01:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582057984001,"power":27213,"unknown_61":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5665809833318400000}} 
[2026-08-23 01:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":161374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:49:50] local.INFO: GPS data processed {"connection_id":161374,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:49:50] local.INFO: Acknowledgment sent {"connection_id":161374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:49:51] local.INFO: TCP Data received {"connection_id":162788,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:49:51] local.INFO: Processing buffer {"connection_id":162788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:49:51] local.INFO: IMEI packet received {"connection_id":162788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":162788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:49:53] local.INFO: TCP Data received {"connection_id":161374,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b204028012d4e7f0006501e90000a014e31..."} 
[2026-08-23 01:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b204028012d4e7f0006501e90000a014e31..."} 
[2026-08-23 01:49:53] local.INFO: Processing buffer {"connection_id":161374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b204028012d4e7f0006501e90000a014e31..."} 
[2026-08-23 01:49:53] local.INFO: Packet analysis {"connection_id":161374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b20"} 
[2026-08-23 01:49:53] local.INFO: Extracted packet for processing {"connection_id":161374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b20"} 
[2026-08-23 01:49:53] local.INFO: GPS Element Parsed {"raw_longitude":760119040,"raw_latitude":105914000,"longitude_deg":76.011904,"latitude_deg":10.5914,"altitude":10,"angle":334,"satellites":49,"speed":55,"hex_longitude":"2d4e7f00","hex_latitude":"06501e90","is_valid_coordinates":true} 
[2026-08-23 01:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582060032001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389522330809794560,"note":"Value kept but may cause issues"} 
[2026-08-23 01:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5660813652483960832,"note":"Value kept but may cause issues"} 
[2026-08-23 01:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787429929000,"timestamp_ms":1787429929000,"timestamp_seconds":1787429929,"priority":1,"record_length":96,"hex_timestamp":"000001a02b204028"} 
[2026-08-23 01:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:49: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-08-23 01:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 01:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:49:53] 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-08-23 01:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582060032001,"66":27343,"61":206,"78":62464,"24":55,"16":389522330809794560,"45":5660813652483960832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-08-23 01:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582060032001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:49:53] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 01:49:53] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389522330809794560,"km_value":389522330809794.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5660813652483960832,"description":"Unknown IO ID 45"} 
[2026-08-23 01:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582060032001,"power":27343,"unknown_61":206,"unknown_78":62464,"ignition":55,"odometer":null,"unknown_45":5660813652483960832}} 
[2026-08-23 01:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":161374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:49:53] local.INFO: GPS data processed {"connection_id":161374,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:49:53] local.INFO: Acknowledgment sent {"connection_id":161374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:49:56] local.INFO: TCP Data received {"connection_id":162788,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:49:56] local.INFO: Processing buffer {"connection_id":162788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:49:56] local.INFO: IMEI packet received {"connection_id":162788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":162788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:49:57] local.INFO: TCP Data received {"connection_id":162788,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:49:57] local.INFO: Processing buffer {"connection_id":162788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:49:57] local.INFO: Packet analysis {"connection_id":162788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1f"} 
[2026-08-23 01:49:57] local.INFO: Extracted packet for processing {"connection_id":162788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1f"} 
[2026-08-23 01:49:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581977344001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787429900000,"timestamp_ms":1787429900000,"timestamp_seconds":1787429900,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1fcee0"} 
[2026-08-23 01:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:49:57] 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-08-23 01:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581977344001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581977344001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:49:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:49:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581977344001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":162788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:49:57] local.INFO: GPS data processed {"connection_id":162788,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:49:57] local.INFO: Acknowledgment sent {"connection_id":162788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:50:25] local.INFO: TCP Data received {"connection_id":161374,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b205b80012d4e6ec0065041080009014f31..."} 
[2026-08-23 01:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b205b80012d4e6ec0065041080009014f31..."} 
[2026-08-23 01:50:25] local.INFO: Processing buffer {"connection_id":161374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b205b80012d4e6ec0065041080009014f31..."} 
[2026-08-23 01:50:25] local.INFO: Packet analysis {"connection_id":161374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b20"} 
[2026-08-23 01:50:25] local.INFO: Extracted packet for processing {"connection_id":161374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b20"} 
[2026-08-23 01:50:25] local.INFO: GPS Element Parsed {"raw_longitude":760114880,"raw_latitude":105922824,"longitude_deg":76.011488,"latitude_deg":10.5922824,"altitude":9,"angle":335,"satellites":49,"speed":53,"hex_longitude":"2d4e6ec0","hex_latitude":"06504108","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582061824001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389522798961229824,"note":"Value kept but may cause issues"} 
[2026-08-23 01:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5656239684114616320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787429936000,"timestamp_ms":1787429936000,"timestamp_seconds":1787429936,"priority":1,"record_length":96,"hex_timestamp":"000001a02b205b80"} 
[2026-08-23 01:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:50: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-08-23 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 01:50: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-08-23 01: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-08-23 01:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:50:25] 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-08-23 01:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582061824001,"66":27300,"61":206,"78":62464,"24":53,"16":389522798961229824,"45":5656239684114616320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-08-23 01:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582061824001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:50:25] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 01:50:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389522798961229824,"km_value":389522798961229.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5656239684114616320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582061824001,"power":27300,"unknown_61":206,"unknown_78":62464,"ignition":53,"odometer":null,"unknown_45":5656239684114616320}} 
[2026-08-23 01:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":161374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:50:25] local.INFO: GPS data processed {"connection_id":161374,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:50:25] local.INFO: Acknowledgment sent {"connection_id":161374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:50:28] local.INFO: TCP Data received {"connection_id":162788,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:50:28] local.INFO: Processing buffer {"connection_id":162788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:50:28] local.INFO: Packet analysis {"connection_id":162788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1f"} 
[2026-08-23 01:50:28] local.INFO: Extracted packet for processing {"connection_id":162788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1f"} 
[2026-08-23 01:50:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581977344001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787429900000,"timestamp_ms":1787429900000,"timestamp_seconds":1787429900,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1fcee0"} 
[2026-08-23 01:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581977344001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581977344001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:50:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:50:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581977344001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":162788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:50:28] local.INFO: GPS data processed {"connection_id":162788,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:50:28] local.INFO: Acknowledgment sent {"connection_id":162788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:50:47] local.INFO: TCP Data received {"connection_id":160215,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:50:47] local.INFO: Processing buffer {"connection_id":160215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:50:47] local.INFO: IMEI packet received {"connection_id":160215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":160215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:50:47] local.INFO: TCP Data received {"connection_id":160215,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:50:47] local.INFO: Processing buffer {"connection_id":160215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:50:47] local.INFO: IMEI packet received {"connection_id":160215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":160215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:50:51] local.INFO: TCP Data received {"connection_id":160216,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:50:51] local.INFO: Processing buffer {"connection_id":160216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:50:51] local.INFO: IMEI packet received {"connection_id":160216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":160216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:50:53] local.INFO: TCP Data received {"connection_id":160215,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:50:53] local.INFO: Processing buffer {"connection_id":160215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:50:53] local.INFO: IMEI packet received {"connection_id":160215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":160215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:50:54] local.INFO: TCP Data received {"connection_id":160215,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2076d8012d4e6080065061800008015232..."} 
[2026-08-23 01:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2076d8012d4e6080065061800008015232..."} 
[2026-08-23 01:50:54] local.INFO: Processing buffer {"connection_id":160215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2076d8012d4e6080065061800008015232..."} 
[2026-08-23 01:50:54] local.INFO: Packet analysis {"connection_id":160215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b20"} 
[2026-08-23 01:50:54] local.INFO: Extracted packet for processing {"connection_id":160215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b20"} 
[2026-08-23 01:50:54] local.INFO: GPS Element Parsed {"raw_longitude":760111232,"raw_latitude":105931136,"longitude_deg":76.0111232,"latitude_deg":10.5931136,"altitude":8,"angle":338,"satellites":50,"speed":48,"hex_longitude":"2d4e6080","hex_latitude":"06506180","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582063616001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389523241342861312,"note":"Value kept but may cause issues"} 
[2026-08-23 01:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5651665715745327104,"note":"Value kept but may cause issues"} 
[2026-08-23 01:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787429943000,"timestamp_ms":1787429943000,"timestamp_seconds":1787429943,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2076d8"} 
[2026-08-23 01:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:50:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 01:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:50:54] 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-08-23 01:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582063616001,"66":27267,"61":206,"78":62464,"24":48,"16":389523241342861312,"45":5651665715745327104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-08-23 01:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582063616001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:50:54] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 01:50:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389523241342861312,"km_value":389523241342861.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5651665715745327104,"description":"Unknown IO ID 45"} 
[2026-08-23 01:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582063616001,"power":27267,"unknown_61":206,"unknown_78":62464,"ignition":48,"odometer":null,"unknown_45":5651665715745327104}} 
[2026-08-23 01:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":160215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:50:54] local.INFO: GPS data processed {"connection_id":160215,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:50:54] local.INFO: Acknowledgment sent {"connection_id":160215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:50:56] local.INFO: TCP Data received {"connection_id":160216,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:50:56] local.INFO: Processing buffer {"connection_id":160216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:50:56] local.INFO: IMEI packet received {"connection_id":160216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":160216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:50:57] local.INFO: TCP Data received {"connection_id":160216,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:50:57] local.INFO: Processing buffer {"connection_id":160216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:50:57] local.INFO: Packet analysis {"connection_id":160216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1f"} 
[2026-08-23 01:50:57] local.INFO: Extracted packet for processing {"connection_id":160216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1f"} 
[2026-08-23 01:50:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581977344001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787429900000,"timestamp_ms":1787429900000,"timestamp_seconds":1787429900,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1fcee0"} 
[2026-08-23 01:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:50:57] 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-08-23 01:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581977344001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581977344001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:50:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:50:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581977344001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":160216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:50:57] local.INFO: GPS data processed {"connection_id":160216,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:50:57] local.INFO: Acknowledgment sent {"connection_id":160216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:51:27] local.INFO: TCP Data received {"connection_id":160215,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b209618012d4e5280065083800008015130..."} 
[2026-08-23 01:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b209618012d4e5280065083800008015130..."} 
[2026-08-23 01:51:27] local.INFO: Processing buffer {"connection_id":160215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b209618012d4e5280065083800008015130..."} 
[2026-08-23 01:51:27] local.INFO: Packet analysis {"connection_id":160215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b20"} 
[2026-08-23 01:51:27] local.INFO: Extracted packet for processing {"connection_id":160215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b20"} 
[2026-08-23 01:51:27] local.INFO: GPS Element Parsed {"raw_longitude":760107648,"raw_latitude":105939840,"longitude_deg":76.0107648,"latitude_deg":10.593984,"altitude":8,"angle":337,"satellites":48,"speed":45,"hex_longitude":"2d4e5280","hex_latitude":"06508380","is_valid_coordinates":true} 
[2026-08-23 01:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582065408001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389523696609394688,"note":"Value kept but may cause issues"} 
[2026-08-23 01:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5647654697329328128,"note":"Value kept but may cause issues"} 
[2026-08-23 01:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787429951000,"timestamp_ms":1787429951000,"timestamp_seconds":1787429951,"priority":1,"record_length":96,"hex_timestamp":"000001a02b209618"} 
[2026-08-23 01:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 01:51:27] 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-08-23 01:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:51:27] 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-08-23 01:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582065408001,"66":27234,"61":206,"78":62464,"24":45,"16":389523696609394688,"45":5647654697329328128},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-08-23 01:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582065408001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:51:27] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 01:51:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389523696609394688,"km_value":389523696609394.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5647654697329328128,"description":"Unknown IO ID 45"} 
[2026-08-23 01:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582065408001,"power":27234,"unknown_61":206,"unknown_78":62464,"ignition":45,"odometer":null,"unknown_45":5647654697329328128}} 
[2026-08-23 01:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":160215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:51:27] local.INFO: GPS data processed {"connection_id":160215,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:51:27] local.INFO: Acknowledgment sent {"connection_id":160215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:51:28] local.INFO: TCP Data received {"connection_id":160216,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:51:28] local.INFO: Processing buffer {"connection_id":160216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:51:28] local.INFO: Packet analysis {"connection_id":160216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1f"} 
[2026-08-23 01:51:28] local.INFO: Extracted packet for processing {"connection_id":160216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1f"} 
[2026-08-23 01:51:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581977344001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787429900000,"timestamp_ms":1787429900000,"timestamp_seconds":1787429900,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1fcee0"} 
[2026-08-23 01:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581977344001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581977344001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:51:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:51:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581977344001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":160216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:51:28] local.INFO: GPS data processed {"connection_id":160216,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:51:28] local.INFO: Acknowledgment sent {"connection_id":160216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:51:47] local.INFO: TCP Data received {"connection_id":161375,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:51:47] local.INFO: Processing buffer {"connection_id":161375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:51:47] local.INFO: IMEI packet received {"connection_id":161375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":161375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:51:48] local.INFO: TCP Data received {"connection_id":161375,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:51:48] local.INFO: Processing buffer {"connection_id":161375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:51:48] local.INFO: IMEI packet received {"connection_id":161375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":161375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:51:51] local.INFO: TCP Data received {"connection_id":160414,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:51:51] local.INFO: Processing buffer {"connection_id":160414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:51:51] local.INFO: IMEI packet received {"connection_id":160414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":160414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:51:52] local.INFO: TCP Data received {"connection_id":161375,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:51:52] local.INFO: Processing buffer {"connection_id":161375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:51:52] local.INFO: IMEI packet received {"connection_id":161375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":161375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:51:53] local.INFO: TCP Data received {"connection_id":161375,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b221100012d4db8400651f428000e014f31..."} 
[2026-08-23 01:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b221100012d4db8400651f428000e014f31..."} 
[2026-08-23 01:51:53] local.INFO: Processing buffer {"connection_id":161375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b221100012d4db8400651f428000e014f31..."} 
[2026-08-23 01:51:53] local.INFO: Packet analysis {"connection_id":161375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b22"} 
[2026-08-23 01:51:53] local.INFO: Extracted packet for processing {"connection_id":161375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b22"} 
[2026-08-23 01:51:53] local.INFO: GPS Element Parsed {"raw_longitude":760068160,"raw_latitude":106034216,"longitude_deg":76.006816,"latitude_deg":10.6034216,"altitude":14,"angle":335,"satellites":49,"speed":36,"hex_longitude":"2d4db840","hex_latitude":"0651f428","is_valid_coordinates":true} 
[2026-08-23 01:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582089472001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389528644411719680,"note":"Value kept but may cause issues"} 
[2026-08-23 01:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5604729763405062144,"note":"Value kept but may cause issues"} 
[2026-08-23 01:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787430048000,"timestamp_ms":1787430048000,"timestamp_seconds":1787430048,"priority":1,"record_length":96,"hex_timestamp":"000001a02b221100"} 
[2026-08-23 01:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:51: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-08-23 01:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 01:51: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-08-23 01:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:51:53] 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-08-23 01:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582089472001,"66":26832,"246":206,"78":62464,"24":36,"16":389528644411719680,"45":5604729763405062144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,78,24,16,45]} 
[2026-08-23 01:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582089472001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:51:53] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389528644411719680,"km_value":389528644411719.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5604729763405062144,"description":"Unknown IO ID 45"} 
[2026-08-23 01:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582089472001,"power":26832,"main_input_voltage":206,"unknown_78":62464,"ignition":36,"odometer":null,"unknown_45":5604729763405062144}} 
[2026-08-23 01:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":161375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:51:53] local.INFO: GPS data processed {"connection_id":161375,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:51:53] local.INFO: Acknowledgment sent {"connection_id":161375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:51:56] local.INFO: TCP Data received {"connection_id":160414,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:51:56] local.INFO: Processing buffer {"connection_id":160414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:51:56] local.INFO: IMEI packet received {"connection_id":160414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":160414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:51:57] local.INFO: TCP Data received {"connection_id":160414,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:51:57] local.INFO: Processing buffer {"connection_id":160414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:51:57] local.INFO: Packet analysis {"connection_id":160414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1f"} 
[2026-08-23 01:51:57] local.INFO: Extracted packet for processing {"connection_id":160414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1f"} 
[2026-08-23 01:51:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581977344001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787429900000,"timestamp_ms":1787429900000,"timestamp_seconds":1787429900,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1fcee0"} 
[2026-08-23 01:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:51:57] 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-08-23 01:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581977344001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581977344001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:51:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:51:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581977344001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":160414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:51:57] local.INFO: GPS data processed {"connection_id":160414,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:51:57] local.INFO: Acknowledgment sent {"connection_id":160414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:52:24] local.INFO: TCP Data received {"connection_id":161375,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b223bf8012d4da680065215f8000e014a2f..."} 
[2026-08-23 01:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b223bf8012d4da680065215f8000e014a2f..."} 
[2026-08-23 01:52:24] local.INFO: Processing buffer {"connection_id":161375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b223bf8012d4da680065215f8000e014a2f..."} 
[2026-08-23 01:52:24] local.INFO: Packet analysis {"connection_id":161375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b22"} 
[2026-08-23 01:52:24] local.INFO: Extracted packet for processing {"connection_id":161375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b22"} 
[2026-08-23 01:52:24] local.INFO: GPS Element Parsed {"raw_longitude":760063616,"raw_latitude":106042872,"longitude_deg":76.0063616,"latitude_deg":10.6042872,"altitude":14,"angle":330,"satellites":47,"speed":34,"hex_longitude":"2d4da680","hex_latitude":"065215f8","is_valid_coordinates":true} 
[2026-08-23 01:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582092288001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389529116858122240,"note":"Value kept but may cause issues"} 
[2026-08-23 01:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5600296532524148736,"note":"Value kept but may cause issues"} 
[2026-08-23 01:52:24] 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-08-23 01:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787430059000,"timestamp_ms":1787430059000,"timestamp_seconds":1787430059,"priority":1,"record_length":96,"hex_timestamp":"000001a02b223bf8"} 
[2026-08-23 01:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-23 01:52:24] 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-08-23 01:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:52:24] 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-08-23 01:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582092288001,"66":27376,"217":206,"78":62464,"24":34,"16":389529116858122240,"45":5600296532524148736},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-08-23 01:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582092288001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:52:24] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 01:52:24] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389529116858122240,"km_value":389529116858122.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5600296532524148736,"description":"Unknown IO ID 45"} 
[2026-08-23 01:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582092288001,"power":27376,"unknown_217":206,"unknown_78":62464,"ignition":34,"odometer":null,"unknown_45":5600296532524148736}} 
[2026-08-23 01:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":161375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:52:24] local.INFO: GPS data processed {"connection_id":161375,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:52:24] local.INFO: Acknowledgment sent {"connection_id":161375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:52:28] local.INFO: TCP Data received {"connection_id":160414,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:52:28] local.INFO: Processing buffer {"connection_id":160414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:52:28] local.INFO: Packet analysis {"connection_id":160414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1f"} 
[2026-08-23 01:52:28] local.INFO: Extracted packet for processing {"connection_id":160414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1f"} 
[2026-08-23 01:52:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581977344001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787429900000,"timestamp_ms":1787429900000,"timestamp_seconds":1787429900,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1fcee0"} 
[2026-08-23 01:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581977344001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581977344001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:52:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:52:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581977344001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":160414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:52:28] local.INFO: GPS data processed {"connection_id":160414,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:52:28] local.INFO: Acknowledgment sent {"connection_id":160414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:52:47] local.INFO: TCP Data received {"connection_id":161376,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:52:47] local.INFO: Processing buffer {"connection_id":161376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:52:47] local.INFO: IMEI packet received {"connection_id":161376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":161376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:52:51] local.INFO: TCP Data received {"connection_id":161376,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:52:51] local.INFO: Processing buffer {"connection_id":161376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:52:51] local.INFO: IMEI packet received {"connection_id":161376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":161376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:52:51] local.INFO: TCP Data received {"connection_id":160217,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:52:51] local.INFO: Processing buffer {"connection_id":160217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:52:51] local.INFO: IMEI packet received {"connection_id":160217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":160217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:52:52] local.INFO: TCP Data received {"connection_id":161376,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:52:52] local.INFO: Processing buffer {"connection_id":161376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:52:52] local.INFO: IMEI packet received {"connection_id":161376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":161376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:52:54] local.INFO: TCP Data received {"connection_id":161376,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2266f0012d4d94c006523728000d014b31..."} 
[2026-08-23 01:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2266f0012d4d94c006523728000d014b31..."} 
[2026-08-23 01:52:54] local.INFO: Processing buffer {"connection_id":161376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2266f0012d4d94c006523728000d014b31..."} 
[2026-08-23 01:52:54] local.INFO: Packet analysis {"connection_id":161376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b22"} 
[2026-08-23 01:52:54] local.INFO: Extracted packet for processing {"connection_id":161376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b22"} 
[2026-08-23 01:52:54] local.INFO: GPS Element Parsed {"raw_longitude":760059072,"raw_latitude":106051368,"longitude_deg":76.0059072,"latitude_deg":10.6051368,"altitude":13,"angle":331,"satellites":49,"speed":34,"hex_longitude":"2d4d94c0","hex_latitude":"06523728","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582095104001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389529580714590208,"note":"Value kept but may cause issues"} 
[2026-08-23 01:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5595300351689750528,"note":"Value kept but may cause issues"} 
[2026-08-23 01:52:54] 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-08-23 01:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787430070000,"timestamp_ms":1787430070000,"timestamp_seconds":1787430070,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2266f0"} 
[2026-08-23 01:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 01:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:52:54] 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-08-23 01:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582095104001,"66":27104,"217":206,"78":62464,"24":34,"16":389529580714590208,"45":5595300351689750528},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-08-23 01:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582095104001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:52:54] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 01:52:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389529580714590208,"km_value":389529580714590.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5595300351689750528,"description":"Unknown IO ID 45"} 
[2026-08-23 01:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582095104001,"power":27104,"unknown_217":206,"unknown_78":62464,"ignition":34,"odometer":null,"unknown_45":5595300351689750528}} 
[2026-08-23 01:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":161376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:52:54] local.INFO: GPS data processed {"connection_id":161376,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:52:54] local.INFO: Acknowledgment sent {"connection_id":161376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:52:56] local.INFO: TCP Data received {"connection_id":160217,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:52:56] local.INFO: Processing buffer {"connection_id":160217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:52:56] local.INFO: IMEI packet received {"connection_id":160217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":160217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:52:57] local.INFO: TCP Data received {"connection_id":160217,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:52:57] local.INFO: Processing buffer {"connection_id":160217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:52:57] local.INFO: Packet analysis {"connection_id":160217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1f"} 
[2026-08-23 01:52:57] local.INFO: Extracted packet for processing {"connection_id":160217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1f"} 
[2026-08-23 01:52:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581977344001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787429900000,"timestamp_ms":1787429900000,"timestamp_seconds":1787429900,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1fcee0"} 
[2026-08-23 01:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:52:57] 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-08-23 01: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581977344001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581977344001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:52:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:52:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581977344001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":160217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:52:57] local.INFO: GPS data processed {"connection_id":160217,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:52:57] local.INFO: Acknowledgment sent {"connection_id":160217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:52:58] local.INFO: TCP Data received {"connection_id":161376,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2291e8012d4d828006525888000c014b31..."} 
[2026-08-23 01:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2291e8012d4d828006525888000c014b31..."} 
[2026-08-23 01:52:58] local.INFO: Processing buffer {"connection_id":161376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2291e8012d4d828006525888000c014b31..."} 
[2026-08-23 01:52:58] local.INFO: Packet analysis {"connection_id":161376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b22"} 
[2026-08-23 01:52:58] local.INFO: Extracted packet for processing {"connection_id":161376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b22"} 
[2026-08-23 01:52:58] local.INFO: GPS Element Parsed {"raw_longitude":760054400,"raw_latitude":106059912,"longitude_deg":76.00544,"latitude_deg":10.6059912,"altitude":12,"angle":331,"satellites":49,"speed":38,"hex_longitude":"2d4d8280","hex_latitude":"06525888","is_valid_coordinates":true} 
[2026-08-23 01:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582097920001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389530053160992768,"note":"Value kept but may cause issues"} 
[2026-08-23 01:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5590304170855311360,"note":"Value kept but may cause issues"} 
[2026-08-23 01:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787430081000,"timestamp_ms":1787430081000,"timestamp_seconds":1787430081,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2291e8"} 
[2026-08-23 01:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 01:52:58] 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-08-23 01:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:52:58] 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-08-23 01:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582097920001,"66":27365,"217":206,"78":62464,"24":38,"16":389530053160992768,"45":5590304170855311360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-08-23 01:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582097920001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:52:58] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 01:52:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389530053160992768,"km_value":389530053160992.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5590304170855311360,"description":"Unknown IO ID 45"} 
[2026-08-23 01:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582097920001,"power":27365,"unknown_217":206,"unknown_78":62464,"ignition":38,"odometer":null,"unknown_45":5590304170855311360}} 
[2026-08-23 01:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":161376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:52:58] local.INFO: GPS data processed {"connection_id":161376,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:52:58] local.INFO: Acknowledgment sent {"connection_id":161376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:53:28] local.INFO: TCP Data received {"connection_id":160217,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:53:28] local.INFO: Processing buffer {"connection_id":160217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b1fcee0012d196540071ff1b0004401372a..."} 
[2026-08-23 01:53:28] local.INFO: Packet analysis {"connection_id":160217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b1f"} 
[2026-08-23 01:53:28] local.INFO: Extracted packet for processing {"connection_id":160217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b1f"} 
[2026-08-23 01:53:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457581977344001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787429900000,"timestamp_ms":1787429900000,"timestamp_seconds":1787429900,"priority":1,"record_length":96,"hex_timestamp":"000001a02b1fcee0"} 
[2026-08-23 01:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457581977344001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457581977344001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:53:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:53:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457581977344001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":160217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:53:28] local.INFO: GPS data processed {"connection_id":160217,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:53:28] local.INFO: Acknowledgment sent {"connection_id":160217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:53:29] local.INFO: TCP Data received {"connection_id":161376,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b22b510012d4d704006527a50000a014c31..."} 
[2026-08-23 01:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b22b510012d4d704006527a50000a014c31..."} 
[2026-08-23 01:53:29] local.INFO: Processing buffer {"connection_id":161376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b22b510012d4d704006527a50000a014c31..."} 
[2026-08-23 01:53:29] local.INFO: Packet analysis {"connection_id":161376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b22"} 
[2026-08-23 01:53:29] local.INFO: Extracted packet for processing {"connection_id":161376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b22"} 
[2026-08-23 01:53:29] local.INFO: GPS Element Parsed {"raw_longitude":760049728,"raw_latitude":106068560,"longitude_deg":76.0049728,"latitude_deg":10.606856,"altitude":10,"angle":332,"satellites":49,"speed":47,"hex_longitude":"2d4d7040","hex_latitude":"06527a50","is_valid_coordinates":true} 
[2026-08-23 01:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582100736001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389530525607395328,"note":"Value kept but may cause issues"} 
[2026-08-23 01:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5585167252532529152,"note":"Value kept but may cause issues"} 
[2026-08-23 01:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787430090000,"timestamp_ms":1787430090000,"timestamp_seconds":1787430090,"priority":1,"record_length":96,"hex_timestamp":"000001a02b22b510"} 
[2026-08-23 01:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 01:53: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-08-23 01:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:53:29] 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-08-23 01:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582100736001,"66":27365,"143":206,"78":62464,"24":47,"16":389530525607395328,"45":5585167252532529152},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-08-23 01:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582100736001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:53:29] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-23 01:53:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389530525607395328,"km_value":389530525607395.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5585167252532529152,"description":"Unknown IO ID 45"} 
[2026-08-23 01:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582100736001,"power":27365,"unknown_143":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5585167252532529152}} 
[2026-08-23 01:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":161376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:53:29] local.INFO: GPS data processed {"connection_id":161376,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:53:29] local.INFO: Acknowledgment sent {"connection_id":161376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:53:53] local.INFO: TCP Data received {"connection_id":160218,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:53:53] local.INFO: Processing buffer {"connection_id":160218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:53:53] local.INFO: IMEI packet received {"connection_id":160218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":160218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:53:55] local.INFO: TCP Data received {"connection_id":160218,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:53:55] local.INFO: Processing buffer {"connection_id":160218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:53:55] local.INFO: IMEI packet received {"connection_id":160218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":160218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:53:56] local.INFO: TCP Data received {"connection_id":160218,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b240118012d4c98000653cba8000f014e32..."} 
[2026-08-23 01:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b240118012d4c98000653cba8000f014e32..."} 
[2026-08-23 01:53:56] local.INFO: Processing buffer {"connection_id":160218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b240118012d4c98000653cba8000f014e32..."} 
[2026-08-23 01:53:56] local.INFO: Packet analysis {"connection_id":160218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:53:56] local.INFO: Extracted packet for processing {"connection_id":160218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:53:56] local.INFO: GPS Element Parsed {"raw_longitude":759994368,"raw_latitude":106154920,"longitude_deg":75.9994368,"latitude_deg":10.615492,"altitude":15,"angle":334,"satellites":50,"speed":52,"hex_longitude":"2d4c9800","hex_latitude":"0653cba8","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582123008001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389535490589589504,"note":"Value kept but may cause issues"} 
[2026-08-23 01:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5524298288841156608,"note":"Value kept but may cause issues"} 
[2026-08-23 01:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787430175000,"timestamp_ms":1787430175000,"timestamp_seconds":1787430175,"priority":1,"record_length":96,"hex_timestamp":"000001a02b240118"} 
[2026-08-23 01:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:53: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-08-23 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 01:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:53:56] 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-08-23 01:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582123008001,"66":27289,"143":206,"78":62464,"24":52,"16":389535490589589504,"45":5524298288841156608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-08-23 01:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582123008001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:53:56] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-23 01:53:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389535490589589504,"km_value":389535490589589.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5524298288841156608,"description":"Unknown IO ID 45"} 
[2026-08-23 01:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582123008001,"power":27289,"unknown_143":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5524298288841156608}} 
[2026-08-23 01:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":160218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:53:56] local.INFO: GPS data processed {"connection_id":160218,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:53:56] local.INFO: Acknowledgment sent {"connection_id":160218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:53:56] local.INFO: TCP Data received {"connection_id":162789,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:53:56] local.INFO: Processing buffer {"connection_id":162789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:53:56] local.INFO: IMEI packet received {"connection_id":162789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":162789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:53:58] local.INFO: TCP Data received {"connection_id":160218,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b241c70012d4c89000653ed40000f015131..."} 
[2026-08-23 01:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b241c70012d4c89000653ed40000f015131..."} 
[2026-08-23 01:53:58] local.INFO: Processing buffer {"connection_id":160218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b241c70012d4c89000653ed40000f015131..."} 
[2026-08-23 01:53:58] local.INFO: Packet analysis {"connection_id":160218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:53:58] local.INFO: Extracted packet for processing {"connection_id":160218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:53:58] local.INFO: GPS Element Parsed {"raw_longitude":759990528,"raw_latitude":106163520,"longitude_deg":75.9990528,"latitude_deg":10.616352,"altitude":15,"angle":337,"satellites":49,"speed":54,"hex_longitude":"2d4c8900","hex_latitude":"0653ed40","is_valid_coordinates":true} 
[2026-08-23 01:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582124800001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389535945856122880,"note":"Value kept but may cause issues"} 
[2026-08-23 01:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5519161370518202368,"note":"Value kept but may cause issues"} 
[2026-08-23 01:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787430182000,"timestamp_ms":1787430182000,"timestamp_seconds":1787430182,"priority":1,"record_length":96,"hex_timestamp":"000001a02b241c70"} 
[2026-08-23 01:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:53: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-08-23 01:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-23 01:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:53:58] 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-08-23 01:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582124800001,"66":27365,"143":206,"78":62464,"24":54,"16":389535945856122880,"45":5519161370518202368},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-08-23 01:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582124800001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:53:58] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-23 01:53:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389535945856122880,"km_value":389535945856122.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5519161370518202368,"description":"Unknown IO ID 45"} 
[2026-08-23 01:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582124800001,"power":27365,"unknown_143":206,"unknown_78":62464,"ignition":54,"odometer":null,"unknown_45":5519161370518202368}} 
[2026-08-23 01:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":160218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:53:58] local.INFO: GPS data processed {"connection_id":160218,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:53:58] local.INFO: Acknowledgment sent {"connection_id":160218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:53:59] local.INFO: TCP Data received {"connection_id":162789,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:53:59] local.INFO: Processing buffer {"connection_id":162789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:53:59] local.INFO: IMEI packet received {"connection_id":162789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":162789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:54:00] local.INFO: TCP Data received {"connection_id":162789,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:54:00] local.INFO: Processing buffer {"connection_id":162789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:54:00] local.INFO: Packet analysis {"connection_id":162789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:54:00] local.INFO: Extracted packet for processing {"connection_id":162789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:54:00] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582054400001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787430201000,"timestamp_ms":1787430201000,"timestamp_seconds":1787430201,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2466a8"} 
[2026-08-23 01:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 01:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582054400001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582054400001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:54:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:54:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582054400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":162789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:54:00] local.INFO: GPS data processed {"connection_id":162789,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:54:00] local.INFO: Acknowledgment sent {"connection_id":162789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:54:01] local.INFO: TCP Data received {"connection_id":162789,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:54:01] local.INFO: Processing buffer {"connection_id":162789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:54:01] local.INFO: Packet analysis {"connection_id":162789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:54:01] local.INFO: Extracted packet for processing {"connection_id":162789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:54:01] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582054400001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787430201000,"timestamp_ms":1787430201000,"timestamp_seconds":1787430201,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2466a8"} 
[2026-08-23 01:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 01:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582054400001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582054400001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:54:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:54:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582054400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":162789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:54:01] local.INFO: GPS data processed {"connection_id":162789,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:54:01] local.INFO: Acknowledgment sent {"connection_id":162789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:54:30] local.INFO: TCP Data received {"connection_id":160218,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2437c8012d4c7a4006541050000f015130..."} 
[2026-08-23 01:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2437c8012d4c7a4006541050000f015130..."} 
[2026-08-23 01:54:30] local.INFO: Processing buffer {"connection_id":160218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2437c8012d4c7a4006541050000f015130..."} 
[2026-08-23 01:54:30] local.INFO: Packet analysis {"connection_id":160218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:54:30] local.INFO: Extracted packet for processing {"connection_id":160218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:54:30] local.INFO: GPS Element Parsed {"raw_longitude":759986752,"raw_latitude":106172496,"longitude_deg":75.9986752,"latitude_deg":10.6172496,"altitude":15,"angle":337,"satellites":48,"speed":55,"hex_longitude":"2d4c7a40","hex_latitude":"06541050","is_valid_coordinates":true} 
[2026-08-23 01:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582126592001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389536414007558144,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5514939245869744128,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787430189000,"timestamp_ms":1787430189000,"timestamp_seconds":1787430189,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2437c8"} 
[2026-08-23 01:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:54: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-08-23 01:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 01:54: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-08-23 01:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:54:30] 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-08-23 01:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582126592001,"66":27343,"143":206,"78":62464,"24":55,"16":389536414007558144,"45":5514939245869744128},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-08-23 01:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582126592001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:54:30] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-23 01:54:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389536414007558144,"km_value":389536414007558.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5514939245869744128,"description":"Unknown IO ID 45"} 
[2026-08-23 01:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582126592001,"power":27343,"unknown_143":206,"unknown_78":62464,"ignition":55,"odometer":null,"unknown_45":5514939245869744128}} 
[2026-08-23 01:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":160218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:54:30] local.INFO: GPS data processed {"connection_id":160218,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:54:30] local.INFO: Acknowledgment sent {"connection_id":160218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:54:32] local.INFO: TCP Data received {"connection_id":162789,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:54:32] local.INFO: Processing buffer {"connection_id":162789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:54:32] local.INFO: Packet analysis {"connection_id":162789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:54:32] local.INFO: Extracted packet for processing {"connection_id":162789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:54:32] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582054400001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787430201000,"timestamp_ms":1787430201000,"timestamp_seconds":1787430201,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2466a8"} 
[2026-08-23 01:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 01:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":162789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":162789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":162789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582054400001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582054400001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:54:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:54:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582054400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":162789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:54:32] local.INFO: GPS data processed {"connection_id":162789,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:54:32] local.INFO: Acknowledgment sent {"connection_id":162789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:54:47] local.INFO: TCP Data received {"connection_id":161377,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:54:47] local.INFO: Processing buffer {"connection_id":161377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:54:47] local.INFO: IMEI packet received {"connection_id":161377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":161377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:54:49] local.INFO: TCP Data received {"connection_id":161377,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:54:49] local.INFO: Processing buffer {"connection_id":161377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:54:49] local.INFO: IMEI packet received {"connection_id":161377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":161377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:54:51] local.INFO: TCP Data received {"connection_id":160415,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:54:51] local.INFO: Processing buffer {"connection_id":160415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:54:51] local.INFO: IMEI packet received {"connection_id":160415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":160415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:54:52] local.INFO: TCP Data received {"connection_id":161377,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:54:52] local.INFO: Processing buffer {"connection_id":161377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:54:52] local.INFO: IMEI packet received {"connection_id":161377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":161377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:54:55] local.INFO: TCP Data received {"connection_id":161377,"ip":"42.109.136.3","data_length":1348,"data_hex":"000000000000030f8e0a000001a02b245320012d4c6b0006543430000e014e2f..."} 
[2026-08-23 01:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161377,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a02b245320012d4c6b0006543430000e014e2f..."} 
[2026-08-23 01:54:55] local.INFO: Processing buffer {"connection_id":161377,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a02b245320012d4c6b0006543430000e014e2f..."} 
[2026-08-23 01:54:55] local.INFO: Packet analysis {"connection_id":161377,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:54:55] local.INFO: Extracted packet for processing {"connection_id":161377,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:54:55] local.INFO: GPS Element Parsed {"raw_longitude":759982848,"raw_latitude":106181680,"longitude_deg":75.9982848,"latitude_deg":10.618168,"altitude":14,"angle":334,"satellites":47,"speed":57,"hex_longitude":"2d4c6b00","hex_latitude":"06543430","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582128384001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389536899338862592,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5510787489965559808,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:55] 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-08-23 01:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787430196000,"timestamp_ms":1787430196000,"timestamp_seconds":1787430196,"priority":1,"record_length":96,"hex_timestamp":"000001a02b245320"} 
[2026-08-23 01:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:54: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-08-23 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 01:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:54:55] 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-08-23 01:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582128384001,"66":27300,"145":206,"78":62464,"24":57,"16":389536899338862592,"45":5510787489965559808},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-08-23 01:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582128384001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:54:55] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-23 01:54:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389536899338862592,"km_value":389536899338862.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5510787489965559808,"description":"Unknown IO ID 45"} 
[2026-08-23 01:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582128384001,"power":27300,"unknown_145":206,"unknown_78":62464,"ignition":57,"odometer":null,"unknown_45":5510787489965559808}} 
[2026-08-23 01:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":161377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:54:55] local.INFO: GPS data processed {"connection_id":161377,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:54:55] local.INFO: Acknowledgment sent {"connection_id":161377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:54:55] local.INFO: Packet analysis {"connection_id":161377,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:54:55] local.INFO: Incomplete packet, waiting for more data {"connection_id":161377,"needed":795,"available":553} 
[2026-08-23 01:54:56] local.INFO: TCP Data received {"connection_id":161377,"ip":"42.109.136.3","data_length":242,"data_hex":"000000000001a02b23af10012d4cd64006537208000901432f00370000000a00..."} 
[2026-08-23 01:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161377,"packet_length":242,"packet_hex":"000000000001a02b23af10012d4cd64006537208000901432f00370000000a00..."} 
[2026-08-23 01:54:56] local.INFO: Processing buffer {"connection_id":161377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b246a90012d4c588006545248000c014233..."} 
[2026-08-23 01:54:56] local.INFO: Packet analysis {"connection_id":161377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:54:56] local.INFO: Extracted packet for processing {"connection_id":161377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:54:56] local.INFO: GPS Element Parsed {"raw_longitude":759978112,"raw_latitude":106189384,"longitude_deg":75.9978112,"latitude_deg":10.6189384,"altitude":12,"angle":322,"satellites":51,"speed":60,"hex_longitude":"2d4c5880","hex_latitude":"06545248","is_valid_coordinates":true} 
[2026-08-23 01:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582130176001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389537333130559488,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5506494996573073408,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:56] 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-08-23 01:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787430202000,"timestamp_ms":1787430202000,"timestamp_seconds":1787430202,"priority":1,"record_length":96,"hex_timestamp":"000001a02b246a90"} 
[2026-08-23 01:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 01:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:54:56] 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-08-23 01:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582130176001,"66":27343,"145":206,"78":62464,"24":60,"16":389537333130559488,"45":5506494996573073408},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-08-23 01:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582130176001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:54:56] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-23 01:54:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389537333130559488,"km_value":389537333130559.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5506494996573073408,"description":"Unknown IO ID 45"} 
[2026-08-23 01:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582130176001,"power":27343,"unknown_145":206,"unknown_78":62464,"ignition":60,"odometer":null,"unknown_45":5506494996573073408}} 
[2026-08-23 01:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":161377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:54:56] local.INFO: GPS data processed {"connection_id":161377,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:54:56] local.INFO: Acknowledgment sent {"connection_id":161377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:54:56] local.INFO: TCP Data received {"connection_id":160415,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:54:56] local.INFO: Processing buffer {"connection_id":160415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:54:56] local.INFO: IMEI packet received {"connection_id":160415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":160415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:54:57] local.INFO: TCP Data received {"connection_id":160415,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:54:57] local.INFO: Processing buffer {"connection_id":160415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:54:57] local.INFO: Packet analysis {"connection_id":160415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:54:57] local.INFO: Extracted packet for processing {"connection_id":160415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:54:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582054400001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787430201000,"timestamp_ms":1787430201000,"timestamp_seconds":1787430201,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2466a8"} 
[2026-08-23 01:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 01:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582054400001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582054400001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:54:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:54:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582054400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":160415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:54:57] local.INFO: GPS data processed {"connection_id":160415,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:54:57] local.INFO: Acknowledgment sent {"connection_id":160415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:54:59] local.INFO: TCP Data received {"connection_id":161377,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b246a90012d4c588006545248000c014233..."} 
[2026-08-23 01:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b246a90012d4c588006545248000c014233..."} 
[2026-08-23 01:54:59] local.INFO: Processing buffer {"connection_id":161377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b246a90012d4c588006545248000c014233..."} 
[2026-08-23 01:54:59] local.INFO: Packet analysis {"connection_id":161377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:54:59] local.INFO: Extracted packet for processing {"connection_id":161377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:54:59] local.INFO: GPS Element Parsed {"raw_longitude":759978112,"raw_latitude":106189384,"longitude_deg":75.9978112,"latitude_deg":10.6189384,"altitude":12,"angle":322,"satellites":51,"speed":60,"hex_longitude":"2d4c5880","hex_latitude":"06545248","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582131712001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389537333130559488,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5501287709505898496,"note":"Value kept but may cause issues"} 
[2026-08-23 01:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787430202000,"timestamp_ms":1787430202000,"timestamp_seconds":1787430202,"priority":1,"record_length":96,"hex_timestamp":"000001a02b246a90"} 
[2026-08-23 01:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:54: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-08-23 01:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 01:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:54:59] 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-08-23 01:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582131712001,"66":27343,"145":206,"78":62464,"24":60,"16":389537333130559488,"45":5501287709505898496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-08-23 01:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582131712001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:54:59] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-23 01:54:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389537333130559488,"km_value":389537333130559.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5501287709505898496,"description":"Unknown IO ID 45"} 
[2026-08-23 01:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582131712001,"power":27343,"unknown_145":206,"unknown_78":62464,"ignition":60,"odometer":null,"unknown_45":5501287709505898496}} 
[2026-08-23 01:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":161377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:54:59] local.INFO: GPS data processed {"connection_id":161377,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:54:59] local.INFO: Acknowledgment sent {"connection_id":161377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:55:28] local.INFO: TCP Data received {"connection_id":160415,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:55:28] local.INFO: Processing buffer {"connection_id":160415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:55:28] local.INFO: Packet analysis {"connection_id":160415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:55:28] local.INFO: Extracted packet for processing {"connection_id":160415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:55:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582054400001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787430201000,"timestamp_ms":1787430201000,"timestamp_seconds":1787430201,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2466a8"} 
[2026-08-23 01:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 01:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582054400001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582054400001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:55:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:55:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582054400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":160415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:55:28] local.INFO: GPS data processed {"connection_id":160415,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:55:28] local.INFO: Acknowledgment sent {"connection_id":160415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:55:31] local.INFO: TCP Data received {"connection_id":161377,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b258f88012d4b83c00655ac30000a014c30..."} 
[2026-08-23 01:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b258f88012d4b83c00655ac30000a014c30..."} 
[2026-08-23 01:55:31] local.INFO: Processing buffer {"connection_id":161377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b258f88012d4b83c00655ac30000a014c30..."} 
[2026-08-23 01:55:31] local.INFO: Packet analysis {"connection_id":161377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b25"} 
[2026-08-23 01:55:31] local.INFO: Extracted packet for processing {"connection_id":161377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b25"} 
[2026-08-23 01:55:31] local.INFO: GPS Element Parsed {"raw_longitude":759923648,"raw_latitude":106277936,"longitude_deg":75.9923648,"latitude_deg":10.6277936,"altitude":10,"angle":332,"satellites":48,"speed":54,"hex_longitude":"2d4b83c0","hex_latitude":"0655ac30","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582149120001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389542371127197696,"note":"Value kept but may cause issues"} 
[2026-08-23 01:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5446470457811976192,"note":"Value kept but may cause issues"} 
[2026-08-23 01:55: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-08-23 01:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787430277000,"timestamp_ms":1787430277000,"timestamp_seconds":1787430277,"priority":1,"record_length":96,"hex_timestamp":"000001a02b258f88"} 
[2026-08-23 01:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:55: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-08-23 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 01:55: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-08-23 01: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-08-23 01:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:55:31] 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-08-23 01:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582149120001,"66":27463,"64":206,"78":62464,"24":54,"16":389542371127197696,"45":5446470457811976192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-08-23 01:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582149120001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:55:31] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-23 01:55:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389542371127197696,"km_value":389542371127197.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5446470457811976192,"description":"Unknown IO ID 45"} 
[2026-08-23 01:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582149120001,"power":27463,"unknown_64":206,"unknown_78":62464,"ignition":54,"odometer":null,"unknown_45":5446470457811976192}} 
[2026-08-23 01:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":161377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:55:31] local.INFO: GPS data processed {"connection_id":161377,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:55:31] local.INFO: Acknowledgment sent {"connection_id":161377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:55:45] local.INFO: TCP Data received {"connection_id":162790,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:55:45] local.INFO: Processing buffer {"connection_id":162790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:55:45] local.INFO: IMEI packet received {"connection_id":162790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":162790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:55:48] local.INFO: TCP Data received {"connection_id":162790,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:55:48] local.INFO: Processing buffer {"connection_id":162790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:55:48] local.INFO: IMEI packet received {"connection_id":162790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":162790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:55:51] local.INFO: TCP Data received {"connection_id":161378,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:55:51] local.INFO: Processing buffer {"connection_id":161378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:55:51] local.INFO: IMEI packet received {"connection_id":161378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":161378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:55:52] local.INFO: TCP Data received {"connection_id":162790,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:55:52] local.INFO: Processing buffer {"connection_id":162790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:55:52] local.INFO: IMEI packet received {"connection_id":162790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":162790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:55:54] local.INFO: TCP Data received {"connection_id":162790,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b25aae0012d4b72800655cc60000b014c30..."} 
[2026-08-23 01:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b25aae0012d4b72800655cc60000b014c30..."} 
[2026-08-23 01:55:54] local.INFO: Processing buffer {"connection_id":162790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b25aae0012d4b72800655cc60000b014c30..."} 
[2026-08-23 01:55:54] local.INFO: Packet analysis {"connection_id":162790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b25"} 
[2026-08-23 01:55:54] local.INFO: Extracted packet for processing {"connection_id":162790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b25"} 
[2026-08-23 01:55:54] local.INFO: GPS Element Parsed {"raw_longitude":759919232,"raw_latitude":106286176,"longitude_deg":75.9919232,"latitude_deg":10.6286176,"altitude":11,"angle":332,"satellites":48,"speed":52,"hex_longitude":"2d4b7280","hex_latitude":"0655cc60","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582150912001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389542822098763776,"note":"Value kept but may cause issues"} 
[2026-08-23 01:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5441403908233375744,"note":"Value kept but may cause issues"} 
[2026-08-23 01:55:54] 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-08-23 01:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787430284000,"timestamp_ms":1787430284000,"timestamp_seconds":1787430284,"priority":1,"record_length":96,"hex_timestamp":"000001a02b25aae0"} 
[2026-08-23 01:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-23 01:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:55:54] 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-08-23 01:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582150912001,"66":27376,"64":206,"78":62464,"24":52,"16":389542822098763776,"45":5441403908233375744},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-08-23 01:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582150912001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:55:54] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-23 01:55:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389542822098763776,"km_value":389542822098763.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5441403908233375744,"description":"Unknown IO ID 45"} 
[2026-08-23 01:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582150912001,"power":27376,"unknown_64":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5441403908233375744}} 
[2026-08-23 01:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":162790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:55:54] local.INFO: GPS data processed {"connection_id":162790,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:55:54] local.INFO: Acknowledgment sent {"connection_id":162790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:55:56] local.INFO: TCP Data received {"connection_id":161378,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:55:56] local.INFO: Processing buffer {"connection_id":161378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:55:56] local.INFO: IMEI packet received {"connection_id":161378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":161378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:55:57] local.INFO: TCP Data received {"connection_id":161378,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:55:57] local.INFO: Processing buffer {"connection_id":161378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:55:57] local.INFO: Packet analysis {"connection_id":161378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:55:57] local.INFO: Extracted packet for processing {"connection_id":161378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:55:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582054400001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787430201000,"timestamp_ms":1787430201000,"timestamp_seconds":1787430201,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2466a8"} 
[2026-08-23 01:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 01:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:55:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582054400001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582054400001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:55:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:55:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582054400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":161378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:55:57] local.INFO: GPS data processed {"connection_id":161378,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:55:57] local.INFO: Acknowledgment sent {"connection_id":161378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:56:26] local.INFO: TCP Data received {"connection_id":162790,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b25c638012d4b61800655eb98000b014b31..."} 
[2026-08-23 01:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b25c638012d4b61800655eb98000b014b31..."} 
[2026-08-23 01:56:26] local.INFO: Processing buffer {"connection_id":162790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b25c638012d4b61800655eb98000b014b31..."} 
[2026-08-23 01:56:26] local.INFO: Packet analysis {"connection_id":162790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b25"} 
[2026-08-23 01:56:26] local.INFO: Extracted packet for processing {"connection_id":162790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b25"} 
[2026-08-23 01:56:26] local.INFO: GPS Element Parsed {"raw_longitude":759914880,"raw_latitude":106294168,"longitude_deg":75.991488,"latitude_deg":10.6294168,"altitude":11,"angle":331,"satellites":49,"speed":50,"hex_longitude":"2d4b6180","hex_latitude":"0655eb98","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582152704001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389543260185427968,"note":"Value kept but may cause issues"} 
[2026-08-23 01:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5436548464887226368,"note":"Value kept but may cause issues"} 
[2026-08-23 01:56:26] 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-08-23 01:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787430291000,"timestamp_ms":1787430291000,"timestamp_seconds":1787430291,"priority":1,"record_length":96,"hex_timestamp":"000001a02b25c638"} 
[2026-08-23 01:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:56: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-08-23 01:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 01:56: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-08-23 01: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-08-23 01:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:56:26] 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-08-23 01:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582152704001,"66":27463,"64":206,"78":62464,"24":50,"16":389543260185427968,"45":5436548464887226368},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-08-23 01:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582152704001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:56:26] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-23 01:56:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389543260185427968,"km_value":389543260185427.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5436548464887226368,"description":"Unknown IO ID 45"} 
[2026-08-23 01:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582152704001,"power":27463,"unknown_64":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5436548464887226368}} 
[2026-08-23 01:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":162790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:56:26] local.INFO: GPS data processed {"connection_id":162790,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:56:26] local.INFO: Acknowledgment sent {"connection_id":162790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:56:28] local.INFO: TCP Data received {"connection_id":161378,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:56:28] local.INFO: Processing buffer {"connection_id":161378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:56:28] local.INFO: Packet analysis {"connection_id":161378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:56:28] local.INFO: Extracted packet for processing {"connection_id":161378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:56:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582054400001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787430201000,"timestamp_ms":1787430201000,"timestamp_seconds":1787430201,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2466a8"} 
[2026-08-23 01:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 01:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582054400001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582054400001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:56:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:56:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582054400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":161378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:56:28] local.INFO: GPS data processed {"connection_id":161378,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:56:28] local.INFO: Acknowledgment sent {"connection_id":161378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:56:47] local.INFO: TCP Data received {"connection_id":161379,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:56:47] local.INFO: Processing buffer {"connection_id":161379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:56:47] local.INFO: IMEI packet received {"connection_id":161379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":161379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:56:49] local.INFO: TCP Data received {"connection_id":161379,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:56:49] local.INFO: Processing buffer {"connection_id":161379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:56:49] local.INFO: IMEI packet received {"connection_id":161379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":161379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:56:51] local.INFO: TCP Data received {"connection_id":160416,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:56:51] local.INFO: Processing buffer {"connection_id":160416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:56:51] local.INFO: IMEI packet received {"connection_id":160416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":160416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:56:52] local.INFO: TCP Data received {"connection_id":161379,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:56:52] local.INFO: Processing buffer {"connection_id":161379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:56:52] local.INFO: IMEI packet received {"connection_id":161379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":161379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:56:54] local.INFO: TCP Data received {"connection_id":161379,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b25e578012d4b508006560e68000c015130..."} 
[2026-08-23 01:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b25e578012d4b508006560e68000c015130..."} 
[2026-08-23 01:56:54] local.INFO: Processing buffer {"connection_id":161379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b25e578012d4b508006560e68000c015130..."} 
[2026-08-23 01:56:54] local.INFO: Packet analysis {"connection_id":161379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b25"} 
[2026-08-23 01:56:54] local.INFO: Extracted packet for processing {"connection_id":161379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b25"} 
[2026-08-23 01:56:54] local.INFO: GPS Element Parsed {"raw_longitude":759910528,"raw_latitude":106303080,"longitude_deg":75.9910528,"latitude_deg":10.630308,"altitude":12,"angle":337,"satellites":48,"speed":48,"hex_longitude":"2d4b5080","hex_latitude":"06560e68","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582154496001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389543741221765120,"note":"Value kept but may cause issues"} 
[2026-08-23 01:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5431763390285191168,"note":"Value kept but may cause issues"} 
[2026-08-23 01:56:54] 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-08-23 01:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787430299000,"timestamp_ms":1787430299000,"timestamp_seconds":1787430299,"priority":1,"record_length":96,"hex_timestamp":"000001a02b25e578"} 
[2026-08-23 01:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-23 01:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:56:54] 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-08-23 01:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582154496001,"66":27267,"64":206,"78":62464,"24":48,"16":389543741221765120,"45":5431763390285191168},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-08-23 01:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582154496001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:56:54] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-23 01:56:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389543741221765120,"km_value":389543741221765.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5431763390285191168,"description":"Unknown IO ID 45"} 
[2026-08-23 01:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582154496001,"power":27267,"unknown_64":206,"unknown_78":62464,"ignition":48,"odometer":null,"unknown_45":5431763390285191168}} 
[2026-08-23 01:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":161379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:56:54] local.INFO: GPS data processed {"connection_id":161379,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:56:54] local.INFO: Acknowledgment sent {"connection_id":161379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:56:56] local.INFO: TCP Data received {"connection_id":160416,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:56:56] local.INFO: Processing buffer {"connection_id":160416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:56:56] local.INFO: IMEI packet received {"connection_id":160416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":160416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:56:57] local.INFO: TCP Data received {"connection_id":160416,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:56:57] local.INFO: Processing buffer {"connection_id":160416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:56:57] local.INFO: Packet analysis {"connection_id":160416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:56:57] local.INFO: Extracted packet for processing {"connection_id":160416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:56:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582054400001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787430201000,"timestamp_ms":1787430201000,"timestamp_seconds":1787430201,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2466a8"} 
[2026-08-23 01:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 01:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:56:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582054400001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582054400001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:56:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:56:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582054400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":160416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:56:57] local.INFO: GPS data processed {"connection_id":160416,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:56:57] local.INFO: Acknowledgment sent {"connection_id":160416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:57:26] local.INFO: TCP Data received {"connection_id":161379,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2754a8012d4aa1800657a6700009014d32..."} 
[2026-08-23 01:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2754a8012d4aa1800657a6700009014d32..."} 
[2026-08-23 01:57:26] local.INFO: Processing buffer {"connection_id":161379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2754a8012d4aa1800657a6700009014d32..."} 
[2026-08-23 01:57:26] local.INFO: Packet analysis {"connection_id":161379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b27"} 
[2026-08-23 01:57:26] local.INFO: Extracted packet for processing {"connection_id":161379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b27"} 
[2026-08-23 01:57:26] local.INFO: GPS Element Parsed {"raw_longitude":759865728,"raw_latitude":106407536,"longitude_deg":75.9865728,"latitude_deg":10.6407536,"altitude":9,"angle":333,"satellites":50,"speed":52,"hex_longitude":"2d4aa180","hex_latitude":"0657a670","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582178816001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389549260254740480,"note":"Value kept but may cause issues"} 
[2026-08-23 01:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5382434900643479552,"note":"Value kept but may cause issues"} 
[2026-08-23 01:57:26] 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-08-23 01:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787430393000,"timestamp_ms":1787430393000,"timestamp_seconds":1787430393,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2754a8"} 
[2026-08-23 01:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 01:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:57:26] 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-08-23 01:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582178816001,"66":27343,"130":206,"78":62464,"24":52,"16":389549260254740480,"45":5382434900643479552},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,78,24,16,45]} 
[2026-08-23 01:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582178816001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:57:26] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-08-23 01:57:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389549260254740480,"km_value":389549260254740.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5382434900643479552,"description":"Unknown IO ID 45"} 
[2026-08-23 01:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582178816001,"power":27343,"unknown_130":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5382434900643479552}} 
[2026-08-23 01:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":161379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:57:26] local.INFO: GPS data processed {"connection_id":161379,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:57:26] local.INFO: Acknowledgment sent {"connection_id":161379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:57:28] local.INFO: TCP Data received {"connection_id":160416,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:57:28] local.INFO: Processing buffer {"connection_id":160416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:57:28] local.INFO: Packet analysis {"connection_id":160416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:57:28] local.INFO: Extracted packet for processing {"connection_id":160416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582054400001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787430201000,"timestamp_ms":1787430201000,"timestamp_seconds":1787430201,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2466a8"} 
[2026-08-23 01:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 01:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582054400001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582054400001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:57:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:57:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582054400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":160416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:57:28] local.INFO: GPS data processed {"connection_id":160416,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:57:28] local.INFO: Acknowledgment sent {"connection_id":160416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:57:52] local.INFO: TCP Data received {"connection_id":160219,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:57:52] local.INFO: Processing buffer {"connection_id":160219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:57:52] local.INFO: IMEI packet received {"connection_id":160219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":160219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:57:54] local.INFO: TCP Data received {"connection_id":160219,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:57:54] local.INFO: Processing buffer {"connection_id":160219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:57:54] local.INFO: IMEI packet received {"connection_id":160219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":160219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:57:55] local.INFO: TCP Data received {"connection_id":160219,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b277000012d4a92000657c7b8000a015032..."} 
[2026-08-23 01:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b277000012d4a92000657c7b8000a015032..."} 
[2026-08-23 01:57:55] local.INFO: Processing buffer {"connection_id":160219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b277000012d4a92000657c7b8000a015032..."} 
[2026-08-23 01:57:55] local.INFO: Packet analysis {"connection_id":160219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b27"} 
[2026-08-23 01:57:55] local.INFO: Extracted packet for processing {"connection_id":160219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b27"} 
[2026-08-23 01:57:55] local.INFO: GPS Element Parsed {"raw_longitude":759861760,"raw_latitude":106416056,"longitude_deg":75.986176,"latitude_deg":10.6416056,"altitude":10,"angle":336,"satellites":50,"speed":53,"hex_longitude":"2d4a9200","hex_latitude":"0657c7b8","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582180608001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389549715521273856,"note":"Value kept but may cause issues"} 
[2026-08-23 01:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5377720194785767424,"note":"Value kept but may cause issues"} 
[2026-08-23 01:57:55] 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-08-23 01:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787430400000,"timestamp_ms":1787430400000,"timestamp_seconds":1787430400,"priority":1,"record_length":96,"hex_timestamp":"000001a02b277000"} 
[2026-08-23 01:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 01:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:57:55] 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-08-23 01:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582180608001,"66":27365,"130":206,"78":62464,"24":53,"16":389549715521273856,"45":5377720194785767424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,78,24,16,45]} 
[2026-08-23 01:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582180608001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:57:55] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-08-23 01:57:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389549715521273856,"km_value":389549715521273.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5377720194785767424,"description":"Unknown IO ID 45"} 
[2026-08-23 01:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582180608001,"power":27365,"unknown_130":206,"unknown_78":62464,"ignition":53,"odometer":null,"unknown_45":5377720194785767424}} 
[2026-08-23 01:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":160219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:57:55] local.INFO: GPS data processed {"connection_id":160219,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:57:55] local.INFO: Acknowledgment sent {"connection_id":160219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:57:56] local.INFO: TCP Data received {"connection_id":162791,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:57:56] local.INFO: Processing buffer {"connection_id":162791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:57:56] local.INFO: IMEI packet received {"connection_id":162791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":162791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:57:57] local.INFO: TCP Data received {"connection_id":160219,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b278b58012d4a83000657e9b8000a015231..."} 
[2026-08-23 01:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b278b58012d4a83000657e9b8000a015231..."} 
[2026-08-23 01:57:57] local.INFO: Processing buffer {"connection_id":160219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b278b58012d4a83000657e9b8000a015231..."} 
[2026-08-23 01:57:57] local.INFO: Packet analysis {"connection_id":160219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b27"} 
[2026-08-23 01:57:57] local.INFO: Extracted packet for processing {"connection_id":160219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b27"} 
[2026-08-23 01:57:57] local.INFO: GPS Element Parsed {"raw_longitude":759857920,"raw_latitude":106424760,"longitude_deg":75.985792,"latitude_deg":10.642476,"altitude":10,"angle":338,"satellites":49,"speed":53,"hex_longitude":"2d4a8300","hex_latitude":"0657e9b8","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582182400001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389550175082774528,"note":"Value kept but may cause issues"} 
[2026-08-23 01:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5373357332648933376,"note":"Value kept but may cause issues"} 
[2026-08-23 01:57:57] 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-08-23 01:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787430407000,"timestamp_ms":1787430407000,"timestamp_seconds":1787430407,"priority":1,"record_length":96,"hex_timestamp":"000001a02b278b58"} 
[2026-08-23 01:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:57: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-08-23 01: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":229,"data_length":795,"current_offset":136} 
[2026-08-23 01:57: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-08-23 01: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-08-23 01:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:57:57] 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-08-23 01:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582182400001,"66":27267,"131":206,"78":62464,"24":53,"16":389550175082774528,"45":5373357332648933376},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-08-23 01:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582182400001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:57:57] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-23 01:57:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389550175082774528,"km_value":389550175082774.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5373357332648933376,"description":"Unknown IO ID 45"} 
[2026-08-23 01:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582182400001,"power":27267,"unknown_131":206,"unknown_78":62464,"ignition":53,"odometer":null,"unknown_45":5373357332648933376}} 
[2026-08-23 01:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":160219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:57:58] local.INFO: GPS data processed {"connection_id":160219,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:57:58] local.INFO: Acknowledgment sent {"connection_id":160219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:58:01] local.INFO: TCP Data received {"connection_id":162791,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:58:01] local.INFO: Processing buffer {"connection_id":162791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:58:01] local.INFO: IMEI packet received {"connection_id":162791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":162791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:58:02] local.INFO: TCP Data received {"connection_id":162791,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:58:02] local.INFO: Processing buffer {"connection_id":162791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:58:02] local.INFO: Packet analysis {"connection_id":162791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:58:02] local.INFO: Extracted packet for processing {"connection_id":162791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:58:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582054400001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787430201000,"timestamp_ms":1787430201000,"timestamp_seconds":1787430201,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2466a8"} 
[2026-08-23 01:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 01:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582054400001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582054400001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:58:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:58:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582054400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":162791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:58:02] local.INFO: GPS data processed {"connection_id":162791,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:58:02] local.INFO: Acknowledgment sent {"connection_id":162791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:58:06] local.INFO: TCP Data received {"connection_id":162791,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:58:06] local.INFO: Processing buffer {"connection_id":162791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:58:06] local.INFO: Packet analysis {"connection_id":162791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:58:06] local.INFO: Extracted packet for processing {"connection_id":162791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582054400001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787430201000,"timestamp_ms":1787430201000,"timestamp_seconds":1787430201,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2466a8"} 
[2026-08-23 01:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 01:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582054400001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582054400001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:58:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582054400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":162791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:58:06] local.INFO: GPS data processed {"connection_id":162791,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:58:06] local.INFO: Acknowledgment sent {"connection_id":162791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:58:30] local.INFO: TCP Data received {"connection_id":160219,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b27a6b0012d4a750006580c88000a01512e..."} 
[2026-08-23 01:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b27a6b0012d4a750006580c88000a01512e..."} 
[2026-08-23 01:58:30] local.INFO: Processing buffer {"connection_id":160219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b27a6b0012d4a750006580c88000a01512e..."} 
[2026-08-23 01:58:30] local.INFO: Packet analysis {"connection_id":160219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b27"} 
[2026-08-23 01:58:30] local.INFO: Extracted packet for processing {"connection_id":160219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b27"} 
[2026-08-23 01:58:30] local.INFO: GPS Element Parsed {"raw_longitude":759854336,"raw_latitude":106433672,"longitude_deg":75.9854336,"latitude_deg":10.6433672,"altitude":10,"angle":337,"satellites":46,"speed":55,"hex_longitude":"2d4a7500","hex_latitude":"06580c88","is_valid_coordinates":true} 
[2026-08-23 01:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582184192001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389550638939242496,"note":"Value kept but may cause issues"} 
[2026-08-23 01:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5369135208000501760,"note":"Value kept but may cause issues"} 
[2026-08-23 01:58:30] 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-08-23 01:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787430414000,"timestamp_ms":1787430414000,"timestamp_seconds":1787430414,"priority":1,"record_length":96,"hex_timestamp":"000001a02b27a6b0"} 
[2026-08-23 01:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 01:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:58:30] 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-08-23 01:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582184192001,"66":27213,"131":206,"78":62464,"24":55,"16":389550638939242496,"45":5369135208000501760},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-08-23 01:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582184192001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:58:30] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-23 01:58:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389550638939242496,"km_value":389550638939242.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5369135208000501760,"description":"Unknown IO ID 45"} 
[2026-08-23 01:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582184192001,"power":27213,"unknown_131":206,"unknown_78":62464,"ignition":55,"odometer":null,"unknown_45":5369135208000501760}} 
[2026-08-23 01:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":160219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:58:30] local.INFO: GPS data processed {"connection_id":160219,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:58:30] local.INFO: Acknowledgment sent {"connection_id":160219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:58:44] local.INFO: TCP Data received {"connection_id":162792,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:58:44] local.INFO: Processing buffer {"connection_id":162792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:58:44] local.INFO: IMEI packet received {"connection_id":162792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":162792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:58:47] local.INFO: TCP Data received {"connection_id":162792,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:58:47] local.INFO: Processing buffer {"connection_id":162792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:58:47] local.INFO: IMEI packet received {"connection_id":162792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":162792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:58:51] local.INFO: TCP Data received {"connection_id":162793,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:58:51] local.INFO: Processing buffer {"connection_id":162793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:58:51] local.INFO: IMEI packet received {"connection_id":162793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":162793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:58:53] local.INFO: TCP Data received {"connection_id":162792,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:58:53] local.INFO: Processing buffer {"connection_id":162792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:58:53] local.INFO: IMEI packet received {"connection_id":162792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":162792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:58:54] local.INFO: TCP Data received {"connection_id":162792,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b27c208012d4a658006582fb8000a014e2f..."} 
[2026-08-23 01:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b27c208012d4a658006582fb8000a014e2f..."} 
[2026-08-23 01:58:54] local.INFO: Processing buffer {"connection_id":162792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b27c208012d4a658006582fb8000a014e2f..."} 
[2026-08-23 01:58:54] local.INFO: Packet analysis {"connection_id":162792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b27"} 
[2026-08-23 01:58:54] local.INFO: Extracted packet for processing {"connection_id":162792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b27"} 
[2026-08-23 01:58:54] local.INFO: GPS Element Parsed {"raw_longitude":759850368,"raw_latitude":106442680,"longitude_deg":75.9850368,"latitude_deg":10.644268,"altitude":10,"angle":334,"satellites":47,"speed":56,"hex_longitude":"2d4a6580","hex_latitude":"06582fb8","is_valid_coordinates":true} 
[2026-08-23 01: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-08-23 01:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582185984001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389551115680612352,"note":"Value kept but may cause issues"} 
[2026-08-23 01:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5365194558328834048,"note":"Value kept but may cause issues"} 
[2026-08-23 01:58:54] 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-08-23 01:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787430421000,"timestamp_ms":1787430421000,"timestamp_seconds":1787430421,"priority":1,"record_length":96,"hex_timestamp":"000001a02b27c208"} 
[2026-08-23 01:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 01:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01: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-08-23 01:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:58:54] 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-08-23 01:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582185984001,"66":27332,"131":206,"78":62464,"24":56,"16":389551115680612352,"45":5365194558328834048},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-08-23 01:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582185984001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:58:54] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-23 01:58:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389551115680612352,"km_value":389551115680612.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5365194558328834048,"description":"Unknown IO ID 45"} 
[2026-08-23 01:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582185984001,"power":27332,"unknown_131":206,"unknown_78":62464,"ignition":56,"odometer":null,"unknown_45":5365194558328834048}} 
[2026-08-23 01:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":162792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:58:54] local.INFO: GPS data processed {"connection_id":162792,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:58:54] local.INFO: Acknowledgment sent {"connection_id":162792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:58:56] local.INFO: TCP Data received {"connection_id":162793,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:58:56] local.INFO: Processing buffer {"connection_id":162793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:58:56] local.INFO: IMEI packet received {"connection_id":162793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":162793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:58:57] local.INFO: TCP Data received {"connection_id":162793,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:58:57] local.INFO: Processing buffer {"connection_id":162793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2466a8012d196540071ff1b00044013729..."} 
[2026-08-23 01:58:57] local.INFO: Packet analysis {"connection_id":162793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:58:57] local.INFO: Extracted packet for processing {"connection_id":162793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b24"} 
[2026-08-23 01:58:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582054400001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787430201000,"timestamp_ms":1787430201000,"timestamp_seconds":1787430201,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2466a8"} 
[2026-08-23 01:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 01:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:58:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582054400001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582054400001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:58:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:58:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582054400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":162793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:58:57] local.INFO: GPS data processed {"connection_id":162793,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:58:57] local.INFO: Acknowledgment sent {"connection_id":162793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:59:25] local.INFO: TCP Data received {"connection_id":162792,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b290a28012d49a740065998980011014c30..."} 
[2026-08-23 01:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b290a28012d49a740065998980011014c30..."} 
[2026-08-23 01:59:25] local.INFO: Processing buffer {"connection_id":162792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b290a28012d49a740065998980011014c30..."} 
[2026-08-23 01:59:25] local.INFO: Packet analysis {"connection_id":162792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b29"} 
[2026-08-23 01:59:25] local.INFO: Extracted packet for processing {"connection_id":162792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b29"} 
[2026-08-23 01:59:25] local.INFO: GPS Element Parsed {"raw_longitude":759801664,"raw_latitude":106535064,"longitude_deg":75.9801664,"latitude_deg":10.6535064,"altitude":17,"angle":332,"satellites":48,"speed":34,"hex_longitude":"2d49a740","hex_latitude":"06599898","is_valid_coordinates":true} 
[2026-08-23 01:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582206720001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389556162267185152,"note":"Value kept but may cause issues"} 
[2026-08-23 01:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5312136525242714112,"note":"Value kept but may cause issues"} 
[2026-08-23 01:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787430505000,"timestamp_ms":1787430505000,"timestamp_seconds":1787430505,"priority":1,"record_length":96,"hex_timestamp":"000001a02b290a28"} 
[2026-08-23 01:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 01:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-23 01:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:59:25] 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-08-23 01:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582206720001,"66":27365,"206":206,"78":62464,"24":34,"16":389556162267185152,"45":5312136525242714112},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,78,24,16,45]} 
[2026-08-23 01:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582206720001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:59:25] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-23 01:59:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389556162267185152,"km_value":389556162267185.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5312136525242714112,"description":"Unknown IO ID 45"} 
[2026-08-23 01:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582206720001,"power":27365,"unknown_206":206,"unknown_78":62464,"ignition":34,"odometer":null,"unknown_45":5312136525242714112}} 
[2026-08-23 01:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":162792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:59:25] local.INFO: GPS data processed {"connection_id":162792,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:59:25] local.INFO: Acknowledgment sent {"connection_id":162792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:59:28] local.INFO: TCP Data received {"connection_id":162793,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 01:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 01:59:28] local.INFO: Processing buffer {"connection_id":162793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 01:59:28] local.INFO: Packet analysis {"connection_id":162793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b28"} 
[2026-08-23 01:59:28] local.INFO: Extracted packet for processing {"connection_id":162793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b28"} 
[2026-08-23 01:59:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582131456001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787430502000,"timestamp_ms":1787430502000,"timestamp_seconds":1787430502,"priority":1,"record_length":96,"hex_timestamp":"000001a02b28fe70"} 
[2026-08-23 01:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582131456001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582131456001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:59:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:59:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582131456001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":162793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:59:28] local.INFO: GPS data processed {"connection_id":162793,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:59:28] local.INFO: Acknowledgment sent {"connection_id":162793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:59:47] local.INFO: TCP Data received {"connection_id":160417,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:59:47] local.INFO: Processing buffer {"connection_id":160417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:59:47] local.INFO: IMEI packet received {"connection_id":160417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 01:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":160417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:59:48] local.INFO: TCP Data received {"connection_id":160417,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:59:48] local.INFO: Processing buffer {"connection_id":160417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:59:48] local.INFO: IMEI packet received {"connection_id":160417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":160417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:59:49] local.INFO: TCP Data received {"connection_id":160417,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:59:49] local.INFO: Processing buffer {"connection_id":160417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:59:49] local.INFO: IMEI packet received {"connection_id":160417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":160417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:59:51] local.INFO: TCP Data received {"connection_id":161380,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:59:51] local.INFO: Processing buffer {"connection_id":161380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:59:51] local.INFO: IMEI packet received {"connection_id":161380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 01:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":161380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 01:59:52] local.INFO: TCP Data received {"connection_id":160417,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:59:52] local.INFO: Processing buffer {"connection_id":160417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 01:59:52] local.INFO: IMEI packet received {"connection_id":160417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 01:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":160417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:59:54] local.INFO: TCP Data received {"connection_id":160417,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b293138012d4996c00659b7480012014a31..."} 
[2026-08-23 01:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b293138012d4996c00659b7480012014a31..."} 
[2026-08-23 01:59:54] local.INFO: Processing buffer {"connection_id":160417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b293138012d4996c00659b7480012014a31..."} 
[2026-08-23 01:59:54] local.INFO: Packet analysis {"connection_id":160417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b29"} 
[2026-08-23 01:59:54] local.INFO: Extracted packet for processing {"connection_id":160417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b29"} 
[2026-08-23 01:59:54] local.INFO: GPS Element Parsed {"raw_longitude":759797440,"raw_latitude":106542920,"longitude_deg":75.979744,"latitude_deg":10.654292,"altitude":18,"angle":330,"satellites":49,"speed":37,"hex_longitude":"2d4996c0","hex_latitude":"0659b748","is_valid_coordinates":true} 
[2026-08-23 01:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582209280001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389556591763914752,"note":"Value kept but may cause issues"} 
[2026-08-23 01:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5307281081896572928,"note":"Value kept but may cause issues"} 
[2026-08-23 01:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787430515000,"timestamp_ms":1787430515000,"timestamp_seconds":1787430515,"priority":1,"record_length":96,"hex_timestamp":"000001a02b293138"} 
[2026-08-23 01:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:59: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-08-23 01:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 01:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:59:54] 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-08-23 01:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582209280001,"66":27300,"206":206,"78":62464,"24":37,"16":389556591763914752,"45":5307281081896572928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,78,24,16,45]} 
[2026-08-23 01:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582209280001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:59:54] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-23 01:59:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389556591763914752,"km_value":389556591763914.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5307281081896572928,"description":"Unknown IO ID 45"} 
[2026-08-23 01:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582209280001,"power":27300,"unknown_206":206,"unknown_78":62464,"ignition":37,"odometer":null,"unknown_45":5307281081896572928}} 
[2026-08-23 01:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":160417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:59:54] local.INFO: GPS data processed {"connection_id":160417,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:59:54] local.INFO: Acknowledgment sent {"connection_id":160417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:59:56] local.INFO: TCP Data received {"connection_id":161380,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:59:56] local.INFO: Processing buffer {"connection_id":161380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 01:59:56] local.INFO: IMEI packet received {"connection_id":161380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 01:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":161380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 01:59:57] local.INFO: TCP Data received {"connection_id":160417,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b295460012d4984c00659d5f00012014731..."} 
[2026-08-23 01:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b295460012d4984c00659d5f00012014731..."} 
[2026-08-23 01:59:57] local.INFO: Processing buffer {"connection_id":160417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b295460012d4984c00659d5f00012014731..."} 
[2026-08-23 01:59:57] local.INFO: Packet analysis {"connection_id":160417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b29"} 
[2026-08-23 01:59:57] local.INFO: Extracted packet for processing {"connection_id":160417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b29"} 
[2026-08-23 01:59:57] local.INFO: GPS Element Parsed {"raw_longitude":759792832,"raw_latitude":106550768,"longitude_deg":75.9792832,"latitude_deg":10.6550768,"altitude":18,"angle":327,"satellites":49,"speed":39,"hex_longitude":"2d4984c0","hex_latitude":"0659d5f0","is_valid_coordinates":true} 
[2026-08-23 01:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582211840001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389557029850578944,"note":"Value kept but may cause issues"} 
[2026-08-23 01:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302636744782858240,"note":"Value kept but may cause issues"} 
[2026-08-23 01:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787430524000,"timestamp_ms":1787430524000,"timestamp_seconds":1787430524,"priority":1,"record_length":96,"hex_timestamp":"000001a02b295460"} 
[2026-08-23 01:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:59: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-08-23 01:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 01:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 01:59:57] 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-08-23 01:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 01:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 01:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582211840001,"66":27332,"206":206,"78":62464,"24":39,"16":389557029850578944,"45":5302636744782858240},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,78,24,16,45]} 
[2026-08-23 01:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 01:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 01:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582211840001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:59:57] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-23 01:59:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 01:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389557029850578944,"km_value":389557029850578.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302636744782858240,"description":"Unknown IO ID 45"} 
[2026-08-23 01:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582211840001,"power":27332,"unknown_206":206,"unknown_78":62464,"ignition":39,"odometer":null,"unknown_45":5302636744782858240}} 
[2026-08-23 01:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":160417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:59:57] local.INFO: GPS data processed {"connection_id":160417,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:59:57] local.INFO: Acknowledgment sent {"connection_id":160417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 01:59:57] local.INFO: TCP Data received {"connection_id":161380,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 01:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 01:59:57] local.INFO: Processing buffer {"connection_id":161380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 01:59:57] local.INFO: Packet analysis {"connection_id":161380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b28"} 
[2026-08-23 01:59:57] local.INFO: Extracted packet for processing {"connection_id":161380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b28"} 
[2026-08-23 01:59:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 01:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 01:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582131456001,"note":"Value kept but may cause issues"} 
[2026-08-23 01:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 01:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 01:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 01:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787430502000,"timestamp_ms":1787430502000,"timestamp_seconds":1787430502,"priority":1,"record_length":96,"hex_timestamp":"000001a02b28fe70"} 
[2026-08-23 01:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 01:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 01:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 01:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 01:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 01:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 01:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 01:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 01:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 01:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 01:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 01:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 01:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582131456001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 01:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 01:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 01:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582131456001,"description":"Unknown IO ID 0"} 
[2026-08-23 01:59:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 01:59:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 01:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 01:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 01:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582131456001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 01:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":161380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 01:59:57] local.INFO: GPS data processed {"connection_id":161380,"processed":1,"errors":0,"total":1} 
[2026-08-23 01:59:57] local.INFO: Acknowledgment sent {"connection_id":161380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:00:27] local.INFO: TCP Data received {"connection_id":160417,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b297788012d4971000659f4380011014633..."} 
[2026-08-23 02:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b297788012d4971000659f4380011014633..."} 
[2026-08-23 02:00:27] local.INFO: Processing buffer {"connection_id":160417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b297788012d4971000659f4380011014633..."} 
[2026-08-23 02:00:27] local.INFO: Packet analysis {"connection_id":160417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b29"} 
[2026-08-23 02:00:27] local.INFO: Extracted packet for processing {"connection_id":160417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b29"} 
[2026-08-23 02:00:27] local.INFO: GPS Element Parsed {"raw_longitude":759787776,"raw_latitude":106558520,"longitude_deg":75.9787776,"latitude_deg":10.655852,"altitude":17,"angle":326,"satellites":51,"speed":42,"hex_longitude":"2d497100","hex_latitude":"0659f438","is_valid_coordinates":true} 
[2026-08-23 02:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582214144001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389557476527177728,"note":"Value kept but may cause issues"} 
[2026-08-23 02:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5297570195204075520,"note":"Value kept but may cause issues"} 
[2026-08-23 02:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787430533000,"timestamp_ms":1787430533000,"timestamp_seconds":1787430533,"priority":1,"record_length":96,"hex_timestamp":"000001a02b297788"} 
[2026-08-23 02:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 02:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:00:27] 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-08-23 02:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582214144001,"66":27321,"231":206,"78":62464,"24":42,"16":389557476527177728,"45":5297570195204075520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,78,24,16,45]} 
[2026-08-23 02:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582214144001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:00:27] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-23 02:00:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 02:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389557476527177728,"km_value":389557476527177.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5297570195204075520,"description":"Unknown IO ID 45"} 
[2026-08-23 02:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582214144001,"power":27321,"unknown_231":206,"unknown_78":62464,"ignition":42,"odometer":null,"unknown_45":5297570195204075520}} 
[2026-08-23 02:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":160417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:00:27] local.INFO: GPS data processed {"connection_id":160417,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:00:27] local.INFO: Acknowledgment sent {"connection_id":160417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:00:28] local.INFO: TCP Data received {"connection_id":161380,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:00:28] local.INFO: Processing buffer {"connection_id":161380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:00:28] local.INFO: Packet analysis {"connection_id":161380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b28"} 
[2026-08-23 02:00:28] local.INFO: Extracted packet for processing {"connection_id":161380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b28"} 
[2026-08-23 02:00:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582131456001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787430502000,"timestamp_ms":1787430502000,"timestamp_seconds":1787430502,"priority":1,"record_length":96,"hex_timestamp":"000001a02b28fe70"} 
[2026-08-23 02:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582131456001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582131456001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:00:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:00:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582131456001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":161380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:00:28] local.INFO: GPS data processed {"connection_id":161380,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:00:28] local.INFO: Acknowledgment sent {"connection_id":161380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:00:48] local.INFO: TCP Data received {"connection_id":160418,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:00:48] local.INFO: Processing buffer {"connection_id":160418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:00:48] local.INFO: IMEI packet received {"connection_id":160418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":160418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:00:48] local.INFO: TCP Data received {"connection_id":160418,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:00:48] local.INFO: Processing buffer {"connection_id":160418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:00:48] local.INFO: IMEI packet received {"connection_id":160418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":160418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:00:51] local.INFO: TCP Data received {"connection_id":161381,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:00:51] local.INFO: Processing buffer {"connection_id":161381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:00:51] local.INFO: IMEI packet received {"connection_id":161381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":161381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:00:52] local.INFO: TCP Data received {"connection_id":160418,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:00:52] local.INFO: Processing buffer {"connection_id":160418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:00:52] local.INFO: IMEI packet received {"connection_id":160418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":160418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:00:54] local.INFO: TCP Data received {"connection_id":160418,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b299ab0012d495c40065a14b8000f014932..."} 
[2026-08-23 02:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b299ab0012d495c40065a14b8000f014932..."} 
[2026-08-23 02:00:54] local.INFO: Processing buffer {"connection_id":160418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b299ab0012d495c40065a14b8000f014932..."} 
[2026-08-23 02:00:54] local.INFO: Packet analysis {"connection_id":160418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b29"} 
[2026-08-23 02:00:54] local.INFO: Extracted packet for processing {"connection_id":160418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b29"} 
[2026-08-23 02:00:54] local.INFO: GPS Element Parsed {"raw_longitude":759782464,"raw_latitude":106566840,"longitude_deg":75.9782464,"latitude_deg":10.656684,"altitude":15,"angle":329,"satellites":50,"speed":44,"hex_longitude":"2d495c40","hex_latitude":"065a14b8","is_valid_coordinates":true} 
[2026-08-23 02:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582216448001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389557953268547584,"note":"Value kept but may cause issues"} 
[2026-08-23 02:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5292011064416024576,"note":"Value kept but may cause issues"} 
[2026-08-23 02:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787430542000,"timestamp_ms":1787430542000,"timestamp_seconds":1787430542,"priority":1,"record_length":96,"hex_timestamp":"000001a02b299ab0"} 
[2026-08-23 02:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 02:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:00:54] 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-08-23 02:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582216448001,"66":27300,"231":206,"78":62464,"24":44,"16":389557953268547584,"45":5292011064416024576},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,78,24,16,45]} 
[2026-08-23 02:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582216448001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:00:54] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-23 02:00:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 02:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389557953268547584,"km_value":389557953268547.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5292011064416024576,"description":"Unknown IO ID 45"} 
[2026-08-23 02:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582216448001,"power":27300,"unknown_231":206,"unknown_78":62464,"ignition":44,"odometer":null,"unknown_45":5292011064416024576}} 
[2026-08-23 02:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":160418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:00:54] local.INFO: GPS data processed {"connection_id":160418,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:00:54] local.INFO: Acknowledgment sent {"connection_id":160418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:00:56] local.INFO: TCP Data received {"connection_id":161381,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:00:56] local.INFO: Processing buffer {"connection_id":161381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:00:56] local.INFO: IMEI packet received {"connection_id":161381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":161381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:00:57] local.INFO: TCP Data received {"connection_id":161381,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:00:57] local.INFO: Processing buffer {"connection_id":161381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:00:57] local.INFO: Packet analysis {"connection_id":161381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b28"} 
[2026-08-23 02:00:57] local.INFO: Extracted packet for processing {"connection_id":161381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b28"} 
[2026-08-23 02:00:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582131456001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787430502000,"timestamp_ms":1787430502000,"timestamp_seconds":1787430502,"priority":1,"record_length":96,"hex_timestamp":"000001a02b28fe70"} 
[2026-08-23 02:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582131456001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582131456001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:00:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:00:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582131456001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":161381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:00:57] local.INFO: GPS data processed {"connection_id":161381,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:00:57] local.INFO: Acknowledgment sent {"connection_id":161381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:01:26] local.INFO: TCP Data received {"connection_id":160418,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2ac778012d48ed40065b6ae80008014332..."} 
[2026-08-23 02:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2ac778012d48ed40065b6ae80008014332..."} 
[2026-08-23 02:01:26] local.INFO: Processing buffer {"connection_id":160418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2ac778012d48ed40065b6ae80008014332..."} 
[2026-08-23 02:01:26] local.INFO: Packet analysis {"connection_id":160418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2a"} 
[2026-08-23 02:01:26] local.INFO: Extracted packet for processing {"connection_id":160418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2a"} 
[2026-08-23 02:01:26] local.INFO: GPS Element Parsed {"raw_longitude":759754048,"raw_latitude":106654440,"longitude_deg":75.9754048,"latitude_deg":10.665444,"altitude":8,"angle":323,"satellites":50,"speed":39,"hex_longitude":"2d48ed40","hex_latitude":"065b6ae8","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582236160001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389562497343946752,"note":"Value kept but may cause issues"} 
[2026-08-23 02:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5261189554488791040,"note":"Value kept but may cause issues"} 
[2026-08-23 02:01:26] 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-08-23 02:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787430619000,"timestamp_ms":1787430619000,"timestamp_seconds":1787430619,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2ac778"} 
[2026-08-23 02:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 02:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:01:26] 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-08-23 02:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582236160001,"66":27213,"64":206,"78":62464,"24":39,"16":389562497343946752,"45":5261189554488791040},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-08-23 02:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582236160001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:01:26] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-23 02:01:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 02:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389562497343946752,"km_value":389562497343946.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5261189554488791040,"description":"Unknown IO ID 45"} 
[2026-08-23 02:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582236160001,"power":27213,"unknown_64":206,"unknown_78":62464,"ignition":39,"odometer":null,"unknown_45":5261189554488791040}} 
[2026-08-23 02:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":160418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:01:26] local.INFO: GPS data processed {"connection_id":160418,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:01:26] local.INFO: Acknowledgment sent {"connection_id":160418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:01:28] local.INFO: TCP Data received {"connection_id":161381,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:01:28] local.INFO: Processing buffer {"connection_id":161381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:01:28] local.INFO: Packet analysis {"connection_id":161381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b28"} 
[2026-08-23 02:01:28] local.INFO: Extracted packet for processing {"connection_id":161381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b28"} 
[2026-08-23 02:01:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582131456001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787430502000,"timestamp_ms":1787430502000,"timestamp_seconds":1787430502,"priority":1,"record_length":96,"hex_timestamp":"000001a02b28fe70"} 
[2026-08-23 02:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582131456001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582131456001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:01:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:01:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582131456001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":161381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:01:28] local.INFO: GPS data processed {"connection_id":161381,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:01:28] local.INFO: Acknowledgment sent {"connection_id":161381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:01:47] local.INFO: TCP Data received {"connection_id":162794,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:01:47] local.INFO: Processing buffer {"connection_id":162794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:01:47] local.INFO: IMEI packet received {"connection_id":162794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":162794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:01:53] local.INFO: TCP Data received {"connection_id":162794,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:01:53] local.INFO: Processing buffer {"connection_id":162794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:01:53] local.INFO: IMEI packet received {"connection_id":162794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":162794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:01:54] local.INFO: TCP Data received {"connection_id":162794,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2aee88012d48d700065b89080009014333..."} 
[2026-08-23 02:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2aee88012d48d700065b89080009014333..."} 
[2026-08-23 02:01:54] local.INFO: Processing buffer {"connection_id":162794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2aee88012d48d700065b89080009014333..."} 
[2026-08-23 02:01:54] local.INFO: Packet analysis {"connection_id":162794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2a"} 
[2026-08-23 02:01:54] local.INFO: Extracted packet for processing {"connection_id":162794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2a"} 
[2026-08-23 02:01:54] local.INFO: GPS Element Parsed {"raw_longitude":759748352,"raw_latitude":106662152,"longitude_deg":75.9748352,"latitude_deg":10.6662152,"altitude":9,"angle":323,"satellites":51,"speed":38,"hex_longitude":"2d48d700","hex_latitude":"065b8908","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582238464001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389562956905447424,"note":"Value kept but may cause issues"} 
[2026-08-23 02:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5254926736258951168,"note":"Value kept but may cause issues"} 
[2026-08-23 02:01:54] 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-08-23 02:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787430629000,"timestamp_ms":1787430629000,"timestamp_seconds":1787430629,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2aee88"} 
[2026-08-23 02:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:01: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-08-23 02: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 02:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:01:54] 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-08-23 02:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582238464001,"66":27343,"64":206,"78":62464,"24":38,"16":389562956905447424,"45":5254926736258951168},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-08-23 02:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582238464001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:01:54] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-23 02:01:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 02:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389562956905447424,"km_value":389562956905447.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5254926736258951168,"description":"Unknown IO ID 45"} 
[2026-08-23 02:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582238464001,"power":27343,"unknown_64":206,"unknown_78":62464,"ignition":38,"odometer":null,"unknown_45":5254926736258951168}} 
[2026-08-23 02:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":162794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:01:54] local.INFO: GPS data processed {"connection_id":162794,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:01:54] local.INFO: Acknowledgment sent {"connection_id":162794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:01:56] local.INFO: TCP Data received {"connection_id":160220,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:01:56] local.INFO: Processing buffer {"connection_id":160220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:01:56] local.INFO: IMEI packet received {"connection_id":160220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":160220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:02:01] local.INFO: TCP Data received {"connection_id":160220,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:02:01] local.INFO: Processing buffer {"connection_id":160220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:02:01] local.INFO: IMEI packet received {"connection_id":160220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":160220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:02:02] local.INFO: TCP Data received {"connection_id":160220,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:02:02] local.INFO: Processing buffer {"connection_id":160220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:02:02] local.INFO: Packet analysis {"connection_id":160220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b28"} 
[2026-08-23 02:02:02] local.INFO: Extracted packet for processing {"connection_id":160220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b28"} 
[2026-08-23 02:02:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582131456001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787430502000,"timestamp_ms":1787430502000,"timestamp_seconds":1787430502,"priority":1,"record_length":96,"hex_timestamp":"000001a02b28fe70"} 
[2026-08-23 02:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582131456001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582131456001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:02:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:02:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582131456001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":160220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:02:02] local.INFO: GPS data processed {"connection_id":160220,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:02:02] local.INFO: Acknowledgment sent {"connection_id":160220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:02:07] local.INFO: TCP Data received {"connection_id":160220,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:02:07] local.INFO: Processing buffer {"connection_id":160220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:02:07] local.INFO: Packet analysis {"connection_id":160220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b28"} 
[2026-08-23 02:02:07] local.INFO: Extracted packet for processing {"connection_id":160220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b28"} 
[2026-08-23 02:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582131456001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787430502000,"timestamp_ms":1787430502000,"timestamp_seconds":1787430502,"priority":1,"record_length":96,"hex_timestamp":"000001a02b28fe70"} 
[2026-08-23 02:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582131456001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582131456001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:02:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:02:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582131456001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":160220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:02:07] local.INFO: GPS data processed {"connection_id":160220,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:02:07] local.INFO: Acknowledgment sent {"connection_id":160220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:02:30] local.INFO: TCP Data received {"connection_id":162794,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2b1598012d48c0c0065ba6f00009014332..."} 
[2026-08-23 02:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2b1598012d48c0c0065ba6f00009014332..."} 
[2026-08-23 02:02:30] local.INFO: Processing buffer {"connection_id":162794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2b1598012d48c0c0065ba6f00009014332..."} 
[2026-08-23 02:02:30] local.INFO: Packet analysis {"connection_id":162794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2b"} 
[2026-08-23 02:02:30] local.INFO: Extracted packet for processing {"connection_id":162794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2b"} 
[2026-08-23 02:02:30] local.INFO: GPS Element Parsed {"raw_longitude":759742656,"raw_latitude":106669808,"longitude_deg":75.9742656,"latitude_deg":10.6669808,"altitude":9,"angle":323,"satellites":50,"speed":38,"hex_longitude":"2d48c0c0","hex_latitude":"065ba6f0","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582241024001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389563416466948096,"note":"Value kept but may cause issues"} 
[2026-08-23 02:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5248663918029113344,"note":"Value kept but may cause issues"} 
[2026-08-23 02:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787430639000,"timestamp_ms":1787430639000,"timestamp_seconds":1787430639,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2b1598"} 
[2026-08-23 02:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:02: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-08-23 02:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 02:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:02:30] 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-08-23 02:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582241024001,"66":27332,"65":206,"78":62464,"24":38,"16":389563416466948096,"45":5248663918029113344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,78,24,16,45]} 
[2026-08-23 02:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582241024001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:02:30] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-23 02:02:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 02:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389563416466948096,"km_value":389563416466948.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5248663918029113344,"description":"Unknown IO ID 45"} 
[2026-08-23 02:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582241024001,"power":27332,"unknown_65":206,"unknown_78":62464,"ignition":38,"odometer":null,"unknown_45":5248663918029113344}} 
[2026-08-23 02:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":162794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:02:30] local.INFO: GPS data processed {"connection_id":162794,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:02:30] local.INFO: Acknowledgment sent {"connection_id":162794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:02:51] local.INFO: TCP Data received {"connection_id":162795,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:02:51] local.INFO: Processing buffer {"connection_id":162795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:02:51] local.INFO: IMEI packet received {"connection_id":162795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":162795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:02:52] local.INFO: TCP Data received {"connection_id":160221,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:02:52] local.INFO: Processing buffer {"connection_id":160221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:02:52] local.INFO: IMEI packet received {"connection_id":160221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":160221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:02:56] local.INFO: TCP Data received {"connection_id":162795,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:02:56] local.INFO: Processing buffer {"connection_id":162795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:02:56] local.INFO: IMEI packet received {"connection_id":162795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":162795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:02:57] local.INFO: TCP Data received {"connection_id":162795,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:02:57] local.INFO: Processing buffer {"connection_id":162795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:02:57] local.INFO: Packet analysis {"connection_id":162795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b28"} 
[2026-08-23 02:02:57] local.INFO: Extracted packet for processing {"connection_id":162795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b28"} 
[2026-08-23 02:02:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582131456001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787430502000,"timestamp_ms":1787430502000,"timestamp_seconds":1787430502,"priority":1,"record_length":96,"hex_timestamp":"000001a02b28fe70"} 
[2026-08-23 02:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:02:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582131456001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582131456001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:02:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:02:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582131456001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":162795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:02:57] local.INFO: GPS data processed {"connection_id":162795,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:02:57] local.INFO: Acknowledgment sent {"connection_id":162795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:02:57] local.INFO: TCP Data received {"connection_id":160221,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:02:57] local.INFO: Processing buffer {"connection_id":160221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:02:57] local.INFO: IMEI packet received {"connection_id":160221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":160221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:02:58] local.INFO: TCP Data received {"connection_id":160221,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2b3ca8012d48a9c0065bc5d00009014131..."} 
[2026-08-23 02:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2b3ca8012d48a9c0065bc5d00009014131..."} 
[2026-08-23 02:02:58] local.INFO: Processing buffer {"connection_id":160221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2b3ca8012d48a9c0065bc5d00009014131..."} 
[2026-08-23 02:02:58] local.INFO: Packet analysis {"connection_id":160221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2b"} 
[2026-08-23 02:02:58] local.INFO: Extracted packet for processing {"connection_id":160221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2b"} 
[2026-08-23 02:02:58] local.INFO: GPS Element Parsed {"raw_longitude":759736768,"raw_latitude":106677712,"longitude_deg":75.9736768,"latitude_deg":10.6677712,"altitude":9,"angle":321,"satellites":49,"speed":39,"hex_longitude":"2d48a9c0","hex_latitude":"065bc5d0","is_valid_coordinates":true} 
[2026-08-23 02:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582243584001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389563893208317952,"note":"Value kept but may cause issues"} 
[2026-08-23 02:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5242401099799261184,"note":"Value kept but may cause issues"} 
[2026-08-23 02:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787430649000,"timestamp_ms":1787430649000,"timestamp_seconds":1787430649,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2b3ca8"} 
[2026-08-23 02:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 02:02: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-08-23 02:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:02:58] 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-08-23 02:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582243584001,"66":27213,"65":206,"78":62464,"24":39,"16":389563893208317952,"45":5242401099799261184},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,78,24,16,45]} 
[2026-08-23 02:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582243584001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:02:58] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-23 02:02:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 02:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389563893208317952,"km_value":389563893208317.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5242401099799261184,"description":"Unknown IO ID 45"} 
[2026-08-23 02:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582243584001,"power":27213,"unknown_65":206,"unknown_78":62464,"ignition":39,"odometer":null,"unknown_45":5242401099799261184}} 
[2026-08-23 02:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":160221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:02:58] local.INFO: GPS data processed {"connection_id":160221,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:02:58] local.INFO: Acknowledgment sent {"connection_id":160221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:03:08] local.INFO: TCP Data received {"connection_id":160221,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2b5fd0012d4893c0065be1e00009014332..."} 
[2026-08-23 02:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2b5fd0012d4893c0065be1e00009014332..."} 
[2026-08-23 02:03:08] local.INFO: Processing buffer {"connection_id":160221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2b5fd0012d4893c0065be1e00009014332..."} 
[2026-08-23 02:03:08] local.INFO: Packet analysis {"connection_id":160221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2b"} 
[2026-08-23 02:03:08] local.INFO: Extracted packet for processing {"connection_id":160221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2b"} 
[2026-08-23 02:03:08] local.INFO: GPS Element Parsed {"raw_longitude":759731136,"raw_latitude":106684896,"longitude_deg":75.9731136,"latitude_deg":10.6684896,"altitude":9,"angle":323,"satellites":50,"speed":41,"hex_longitude":"2d4893c0","hex_latitude":"065be1e0","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582246144001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389564331294982144,"note":"Value kept but may cause issues"} 
[2026-08-23 02:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5235927175336939520,"note":"Value kept but may cause issues"} 
[2026-08-23 02:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787430658000,"timestamp_ms":1787430658000,"timestamp_seconds":1787430658,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2b5fd0"} 
[2026-08-23 02:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:03: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-08-23 02: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":77,"data_length":795,"current_offset":136} 
[2026-08-23 02:03:08] 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-08-23 02: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-08-23 02:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:03:08] 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-08-23 02:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582246144001,"66":27343,"65":206,"78":62464,"24":41,"16":389564331294982144,"45":5235927175336939520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,78,24,16,45]} 
[2026-08-23 02:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582246144001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:03:08] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-23 02:03:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-08-23 02:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389564331294982144,"km_value":389564331294982.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5235927175336939520,"description":"Unknown IO ID 45"} 
[2026-08-23 02:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582246144001,"power":27343,"unknown_65":206,"unknown_78":62464,"ignition":41,"odometer":null,"unknown_45":5235927175336939520}} 
[2026-08-23 02:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":160221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:03:08] local.INFO: GPS data processed {"connection_id":160221,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:03:08] local.INFO: Acknowledgment sent {"connection_id":160221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:03:28] local.INFO: TCP Data received {"connection_id":162795,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:03:28] local.INFO: Processing buffer {"connection_id":162795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:03:28] local.INFO: Packet analysis {"connection_id":162795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b28"} 
[2026-08-23 02:03:28] local.INFO: Extracted packet for processing {"connection_id":162795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b28"} 
[2026-08-23 02:03:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582131456001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787430502000,"timestamp_ms":1787430502000,"timestamp_seconds":1787430502,"priority":1,"record_length":96,"hex_timestamp":"000001a02b28fe70"} 
[2026-08-23 02:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582131456001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582131456001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:03:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:03:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582131456001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":162795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:03:28] local.INFO: GPS data processed {"connection_id":162795,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:03:28] local.INFO: Acknowledgment sent {"connection_id":162795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:03:47] local.INFO: TCP Data received {"connection_id":162796,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:03:47] local.INFO: Processing buffer {"connection_id":162796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:03:47] local.INFO: IMEI packet received {"connection_id":162796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":162796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:03:48] local.INFO: TCP Data received {"connection_id":162796,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:03:48] local.INFO: Processing buffer {"connection_id":162796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:03:48] local.INFO: IMEI packet received {"connection_id":162796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":162796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:03:51] local.INFO: TCP Data received {"connection_id":160222,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:03:51] local.INFO: Processing buffer {"connection_id":160222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:03:51] local.INFO: IMEI packet received {"connection_id":160222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":160222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:03:52] local.INFO: TCP Data received {"connection_id":162796,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:03:52] local.INFO: Processing buffer {"connection_id":162796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:03:52] local.INFO: IMEI packet received {"connection_id":162796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":162796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:03:53] local.INFO: TCP Data received {"connection_id":162796,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2d0d80012d47fd80065d50b00010014d2f..."} 
[2026-08-23 02:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2d0d80012d47fd80065d50b00010014d2f..."} 
[2026-08-23 02:03:53] local.INFO: Processing buffer {"connection_id":162796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2d0d80012d47fd80065d50b00010014d2f..."} 
[2026-08-23 02:03:53] local.INFO: Packet analysis {"connection_id":162796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:03:53] local.INFO: Extracted packet for processing {"connection_id":162796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:03:53] local.INFO: GPS Element Parsed {"raw_longitude":759692672,"raw_latitude":106778800,"longitude_deg":75.9692672,"latitude_deg":10.67788,"altitude":16,"angle":333,"satellites":47,"speed":27,"hex_longitude":"2d47fd80","hex_latitude":"065d50b0","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582273024001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389569287687241728,"note":"Value kept but may cause issues"} 
[2026-08-23 02:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5191805972761262080,"note":"Value kept but may cause issues"} 
[2026-08-23 02:03:53] 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-08-23 02:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787430768000,"timestamp_ms":1787430768000,"timestamp_seconds":1787430768,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2d0d80"} 
[2026-08-23 02:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:03: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-08-23 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 02:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:03:53] 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-08-23 02:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582273024001,"66":27300,"240":206,"80":60416,"24":27,"16":389569287687241728,"45":5191805972761262080},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-08-23 02:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582273024001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:03:53] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-08-23 02:03:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389569287687241728,"km_value":389569287687241.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5191805972761262080,"description":"Unknown IO ID 45"} 
[2026-08-23 02:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582273024001,"power":27300,"unknown_240":206,"unknown_80":60416,"ignition":27,"odometer":null,"unknown_45":5191805972761262080}} 
[2026-08-23 02:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":162796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:03:53] local.INFO: GPS data processed {"connection_id":162796,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:03:53] local.INFO: Acknowledgment sent {"connection_id":162796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:03:56] local.INFO: TCP Data received {"connection_id":160222,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:03:56] local.INFO: Processing buffer {"connection_id":160222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:03:56] local.INFO: IMEI packet received {"connection_id":160222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":160222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:03:57] local.INFO: TCP Data received {"connection_id":160222,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:03:57] local.INFO: Processing buffer {"connection_id":160222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b28fe70012d196540071ff1b0004401372b..."} 
[2026-08-23 02:03:57] local.INFO: Packet analysis {"connection_id":160222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b28"} 
[2026-08-23 02:03:57] local.INFO: Extracted packet for processing {"connection_id":160222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b28"} 
[2026-08-23 02:03:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582131456001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787430502000,"timestamp_ms":1787430502000,"timestamp_seconds":1787430502,"priority":1,"record_length":96,"hex_timestamp":"000001a02b28fe70"} 
[2026-08-23 02:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582131456001,"66":2144,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582131456001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:03:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:03:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582131456001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":160222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:03:57] local.INFO: GPS data processed {"connection_id":160222,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:03:57] local.INFO: Acknowledgment sent {"connection_id":160222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:04:24] local.INFO: TCP Data received {"connection_id":162796,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2d3c60012d47ed80065d71380010014d30..."} 
[2026-08-23 02:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2d3c60012d47ed80065d71380010014d30..."} 
[2026-08-23 02:04:24] local.INFO: Processing buffer {"connection_id":162796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2d3c60012d47ed80065d71380010014d30..."} 
[2026-08-23 02:04:24] local.INFO: Packet analysis {"connection_id":162796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:04:24] local.INFO: Extracted packet for processing {"connection_id":162796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:04:24] local.INFO: GPS Element Parsed {"raw_longitude":759688576,"raw_latitude":106787128,"longitude_deg":75.9688576,"latitude_deg":10.6787128,"altitude":16,"angle":333,"satellites":48,"speed":33,"hex_longitude":"2d47ed80","hex_latitude":"065d7138","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582276608001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389569738658807808,"note":"Value kept but may cause issues"} 
[2026-08-23 02:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5187443110624407552,"note":"Value kept but may cause issues"} 
[2026-08-23 02:04: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-08-23 02:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787430780000,"timestamp_ms":1787430780000,"timestamp_seconds":1787430780,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2d3c60"} 
[2026-08-23 02:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 02:04: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-08-23 02: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-08-23 02:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:04:24] 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-08-23 02:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582276608001,"66":27321,"240":206,"80":60416,"24":33,"16":389569738658807808,"45":5187443110624407552},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-08-23 02:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582276608001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:04:24] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-08-23 02:04:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389569738658807808,"km_value":389569738658807.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5187443110624407552,"description":"Unknown IO ID 45"} 
[2026-08-23 02:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582276608001,"power":27321,"unknown_240":206,"unknown_80":60416,"ignition":33,"odometer":null,"unknown_45":5187443110624407552}} 
[2026-08-23 02:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":162796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:04:24] local.INFO: GPS data processed {"connection_id":162796,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:04:24] local.INFO: Acknowledgment sent {"connection_id":162796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:04:28] local.INFO: TCP Data received {"connection_id":160222,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:04:28] local.INFO: Processing buffer {"connection_id":160222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:04:28] local.INFO: Packet analysis {"connection_id":160222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:04:28] local.INFO: Extracted packet for processing {"connection_id":160222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:04:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582208512001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787430803000,"timestamp_ms":1787430803000,"timestamp_seconds":1787430803,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2d9638"} 
[2026-08-23 02:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 02:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582208512001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582208512001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:04:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:04:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582208512001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":160222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:04:28] local.INFO: GPS data processed {"connection_id":160222,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:04:28] local.INFO: Acknowledgment sent {"connection_id":160222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:04:51] local.INFO: TCP Data received {"connection_id":162797,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:04:51] local.INFO: Processing buffer {"connection_id":162797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:04:51] local.INFO: IMEI packet received {"connection_id":162797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":162797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:04:53] local.INFO: TCP Data received {"connection_id":160419,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:04:53] local.INFO: Processing buffer {"connection_id":160419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:04:53] local.INFO: IMEI packet received {"connection_id":160419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":160419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:04:54] local.INFO: TCP Data received {"connection_id":160419,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:04:54] local.INFO: Processing buffer {"connection_id":160419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:04:54] local.INFO: IMEI packet received {"connection_id":160419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":160419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:04:56] local.INFO: TCP Data received {"connection_id":162797,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:04:56] local.INFO: Processing buffer {"connection_id":162797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:04:56] local.INFO: IMEI packet received {"connection_id":162797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":162797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:04:57] local.INFO: TCP Data received {"connection_id":162797,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:04:57] local.INFO: Processing buffer {"connection_id":162797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:04:57] local.INFO: Packet analysis {"connection_id":162797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:04:57] local.INFO: Extracted packet for processing {"connection_id":162797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:04:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582208512001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787430803000,"timestamp_ms":1787430803000,"timestamp_seconds":1787430803,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2d9638"} 
[2026-08-23 02:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 02:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582208512001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582208512001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:04:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:04:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582208512001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":162797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:04:57] local.INFO: GPS data processed {"connection_id":162797,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:04:57] local.INFO: Acknowledgment sent {"connection_id":162797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:04:57] local.INFO: TCP Data received {"connection_id":160419,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:04:57] local.INFO: Processing buffer {"connection_id":160419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:04:57] local.INFO: IMEI packet received {"connection_id":160419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":160419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:04:59] local.INFO: TCP Data received {"connection_id":160419,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2d6370012d47de40065d91e8000f014f31..."} 
[2026-08-23 02:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2d6370012d47de40065d91e8000f014f31..."} 
[2026-08-23 02:04:59] local.INFO: Processing buffer {"connection_id":160419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2d6370012d47de40065d91e8000f014f31..."} 
[2026-08-23 02:04:59] local.INFO: Packet analysis {"connection_id":160419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:04:59] local.INFO: Extracted packet for processing {"connection_id":160419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:04:59] local.INFO: GPS Element Parsed {"raw_longitude":759684672,"raw_latitude":106795496,"longitude_deg":75.9684672,"latitude_deg":10.6795496,"altitude":15,"angle":335,"satellites":49,"speed":39,"hex_longitude":"2d47de40","hex_latitude":"065d91e8","is_valid_coordinates":true} 
[2026-08-23 02:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582279680001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389570185335406592,"note":"Value kept but may cause issues"} 
[2026-08-23 02:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5182939510999169024,"note":"Value kept but may cause issues"} 
[2026-08-23 02:04:59] 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-08-23 02:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787430790000,"timestamp_ms":1787430790000,"timestamp_seconds":1787430790,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2d6370"} 
[2026-08-23 02:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 02:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:04:59] 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-08-23 02:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582279680001,"66":27234,"240":206,"80":60416,"24":39,"16":389570185335406592,"45":5182939510999169024},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-08-23 02:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582279680001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:04:59] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-08-23 02:04:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389570185335406592,"km_value":389570185335406.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5182939510999169024,"description":"Unknown IO ID 45"} 
[2026-08-23 02:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582279680001,"power":27234,"unknown_240":206,"unknown_80":60416,"ignition":39,"odometer":null,"unknown_45":5182939510999169024}} 
[2026-08-23 02:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":160419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:04:59] local.INFO: GPS data processed {"connection_id":160419,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:04:59] local.INFO: Acknowledgment sent {"connection_id":160419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:05:03] local.INFO: TCP Data received {"connection_id":160419,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2d8698012d47ce80065db298000d014e32..."} 
[2026-08-23 02:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2d8698012d47ce80065db298000d014e32..."} 
[2026-08-23 02:05:03] local.INFO: Processing buffer {"connection_id":160419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2d8698012d47ce80065db298000d014e32..."} 
[2026-08-23 02:05:03] local.INFO: Packet analysis {"connection_id":160419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:05:03] local.INFO: Extracted packet for processing {"connection_id":160419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:05:03] local.INFO: GPS Element Parsed {"raw_longitude":759680640,"raw_latitude":106803864,"longitude_deg":75.968064,"latitude_deg":10.6803864,"altitude":13,"angle":334,"satellites":50,"speed":42,"hex_longitude":"2d47ce80","hex_latitude":"065db298","is_valid_coordinates":true} 
[2026-08-23 02:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582282240001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389570632012005376,"note":"Value kept but may cause issues"} 
[2026-08-23 02:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5178647017606473728,"note":"Value kept but may cause issues"} 
[2026-08-23 02:05:03] 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-08-23 02:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787430799000,"timestamp_ms":1787430799000,"timestamp_seconds":1787430799,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2d8698"} 
[2026-08-23 02:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:05: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-08-23 02:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 02:05:03] 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-08-23 02:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:05:03] 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-08-23 02:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582282240001,"66":27234,"240":206,"80":60416,"24":42,"16":389570632012005376,"45":5178647017606473728},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-08-23 02:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582282240001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:05:03] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-08-23 02:05:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389570632012005376,"km_value":389570632012005.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5178647017606473728,"description":"Unknown IO ID 45"} 
[2026-08-23 02:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582282240001,"power":27234,"unknown_240":206,"unknown_80":60416,"ignition":42,"odometer":null,"unknown_45":5178647017606473728}} 
[2026-08-23 02:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":160419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:05:03] local.INFO: GPS data processed {"connection_id":160419,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:05:03] local.INFO: Acknowledgment sent {"connection_id":160419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:05:28] local.INFO: TCP Data received {"connection_id":162797,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:05:28] local.INFO: Processing buffer {"connection_id":162797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:05:28] local.INFO: Packet analysis {"connection_id":162797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:05:28] local.INFO: Extracted packet for processing {"connection_id":162797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:05:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582208512001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787430803000,"timestamp_ms":1787430803000,"timestamp_seconds":1787430803,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2d9638"} 
[2026-08-23 02:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 02:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582208512001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582208512001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:05:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:05:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582208512001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":162797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:05:28] local.INFO: GPS data processed {"connection_id":162797,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:05:28] local.INFO: Acknowledgment sent {"connection_id":162797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:05:46] local.INFO: TCP Data received {"connection_id":161382,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:05:46] local.INFO: Processing buffer {"connection_id":161382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:05:46] local.INFO: IMEI packet received {"connection_id":161382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":161382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:05:48] local.INFO: TCP Data received {"connection_id":161382,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:05:48] local.INFO: Processing buffer {"connection_id":161382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:05:48] local.INFO: IMEI packet received {"connection_id":161382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":161382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:05:51] local.INFO: TCP Data received {"connection_id":160420,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:05:51] local.INFO: Processing buffer {"connection_id":160420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:05:51] local.INFO: IMEI packet received {"connection_id":160420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":160420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:05:52] local.INFO: TCP Data received {"connection_id":161382,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:05:52] local.INFO: Processing buffer {"connection_id":161382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:05:52] local.INFO: IMEI packet received {"connection_id":161382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":161382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:05:54] local.INFO: TCP Data received {"connection_id":161382,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2da9c0012d47bdc0065dd598000a014e30..."} 
[2026-08-23 02:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2da9c0012d47bdc0065dd598000a014e30..."} 
[2026-08-23 02:05:54] local.INFO: Processing buffer {"connection_id":161382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2da9c0012d47bdc0065dd598000a014e30..."} 
[2026-08-23 02:05:54] local.INFO: Packet analysis {"connection_id":161382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:05:54] local.INFO: Extracted packet for processing {"connection_id":161382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:05:54] local.INFO: GPS Element Parsed {"raw_longitude":759676352,"raw_latitude":106812824,"longitude_deg":75.9676352,"latitude_deg":10.6812824,"altitude":10,"angle":334,"satellites":48,"speed":45,"hex_longitude":"2d47bdc0","hex_latitude":"065dd598","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582284544001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389571113048342528,"note":"Value kept but may cause issues"} 
[2026-08-23 02:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5174213786725423104,"note":"Value kept but may cause issues"} 
[2026-08-23 02:05:54] 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-08-23 02:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787430808000,"timestamp_ms":1787430808000,"timestamp_seconds":1787430808,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2da9c0"} 
[2026-08-23 02:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 02:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:05:54] 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-08-23 02:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582284544001,"66":27321,"240":206,"80":60416,"24":45,"16":389571113048342528,"45":5174213786725423104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-08-23 02:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582284544001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:05:54] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-08-23 02:05:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389571113048342528,"km_value":389571113048342.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5174213786725423104,"description":"Unknown IO ID 45"} 
[2026-08-23 02:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582284544001,"power":27321,"unknown_240":206,"unknown_80":60416,"ignition":45,"odometer":null,"unknown_45":5174213786725423104}} 
[2026-08-23 02:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":161382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:05:54] local.INFO: GPS data processed {"connection_id":161382,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:05:54] local.INFO: Acknowledgment sent {"connection_id":161382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:05:56] local.INFO: TCP Data received {"connection_id":160420,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:05:56] local.INFO: Processing buffer {"connection_id":160420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:05:56] local.INFO: IMEI packet received {"connection_id":160420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":160420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:05:57] local.INFO: TCP Data received {"connection_id":160420,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:05:57] local.INFO: Processing buffer {"connection_id":160420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:05:57] local.INFO: Packet analysis {"connection_id":160420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:05:57] local.INFO: Extracted packet for processing {"connection_id":160420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:05:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582208512001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787430803000,"timestamp_ms":1787430803000,"timestamp_seconds":1787430803,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2d9638"} 
[2026-08-23 02:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 02:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582208512001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582208512001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:05:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:05:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582208512001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":160420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:05:57] local.INFO: GPS data processed {"connection_id":160420,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:05:57] local.INFO: Acknowledgment sent {"connection_id":160420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:06:26] local.INFO: TCP Data received {"connection_id":161382,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2f76b0012d46e980065f85d00008014d31..."} 
[2026-08-23 02:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2f76b0012d46e980065f85d00008014d31..."} 
[2026-08-23 02:06:26] local.INFO: Processing buffer {"connection_id":161382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2f76b0012d46e980065f85d00008014d31..."} 
[2026-08-23 02:06:26] local.INFO: Packet analysis {"connection_id":161382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2f"} 
[2026-08-23 02:06:26] local.INFO: Extracted packet for processing {"connection_id":161382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2f"} 
[2026-08-23 02:06:26] local.INFO: GPS Element Parsed {"raw_longitude":759622016,"raw_latitude":106923472,"longitude_deg":75.9622016,"latitude_deg":10.6923472,"altitude":8,"angle":333,"satellites":49,"speed":41,"hex_longitude":"2d46e980","hex_latitude":"065f85d0","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582314752001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389577074462949376,"note":"Value kept but may cause issues"} 
[2026-08-23 02:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5114470722947147776,"note":"Value kept but may cause issues"} 
[2026-08-23 02:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787430926000,"timestamp_ms":1787430926000,"timestamp_seconds":1787430926,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2f76b0"} 
[2026-08-23 02:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-23 02:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:06:26] 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-08-23 02:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582314752001,"66":27267,"115":206,"80":60416,"24":41,"16":389577074462949376,"45":5114470722947147776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,80,24,16,45]} 
[2026-08-23 02:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582314752001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:06:26] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-23 02:06:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389577074462949376,"km_value":389577074462949.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5114470722947147776,"description":"Unknown IO ID 45"} 
[2026-08-23 02:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582314752001,"power":27267,"unknown_115":206,"unknown_80":60416,"ignition":41,"odometer":null,"unknown_45":5114470722947147776}} 
[2026-08-23 02:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":161382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:06:26] local.INFO: GPS data processed {"connection_id":161382,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:06:26] local.INFO: Acknowledgment sent {"connection_id":161382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:06:28] local.INFO: TCP Data received {"connection_id":160420,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:06:28] local.INFO: Processing buffer {"connection_id":160420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:06:28] local.INFO: Packet analysis {"connection_id":160420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:06:28] local.INFO: Extracted packet for processing {"connection_id":160420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582208512001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787430803000,"timestamp_ms":1787430803000,"timestamp_seconds":1787430803,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2d9638"} 
[2026-08-23 02:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 02:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582208512001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582208512001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:06:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582208512001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":160420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:06:28] local.INFO: GPS data processed {"connection_id":160420,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:06:28] local.INFO: Acknowledgment sent {"connection_id":160420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:06:49] local.INFO: TCP Data received {"connection_id":161383,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:06:49] local.INFO: Processing buffer {"connection_id":161383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:06:49] local.INFO: IMEI packet received {"connection_id":161383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":161383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:06:53] local.INFO: TCP Data received {"connection_id":161383,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:06:53] local.INFO: Processing buffer {"connection_id":161383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:06:53] local.INFO: IMEI packet received {"connection_id":161383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":161383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:06:56] local.INFO: TCP Data received {"connection_id":160223,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:06:56] local.INFO: Processing buffer {"connection_id":160223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:06:56] local.INFO: IMEI packet received {"connection_id":160223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":160223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:06:57] local.INFO: TCP Data received {"connection_id":161383,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:06:57] local.INFO: Processing buffer {"connection_id":161383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:06:57] local.INFO: IMEI packet received {"connection_id":161383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":161383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:07:00] local.INFO: TCP Data received {"connection_id":161383,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2f99d8012d46da00065fa7200008014f31..."} 
[2026-08-23 02:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2f99d8012d46da00065fa7200008014f31..."} 
[2026-08-23 02:07:00] local.INFO: Processing buffer {"connection_id":161383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2f99d8012d46da00065fa7200008014f31..."} 
[2026-08-23 02:07:00] local.INFO: Packet analysis {"connection_id":161383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2f"} 
[2026-08-23 02:07:00] local.INFO: Extracted packet for processing {"connection_id":161383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2f"} 
[2026-08-23 02:07:00] local.INFO: GPS Element Parsed {"raw_longitude":759618048,"raw_latitude":106932000,"longitude_deg":75.9618048,"latitude_deg":10.6932,"altitude":8,"angle":335,"satellites":49,"speed":41,"hex_longitude":"2d46da00","hex_latitude":"065fa720","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582317056001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389577529729482752,"note":"Value kept but may cause issues"} 
[2026-08-23 02:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5109756017089302528,"note":"Value kept but may cause issues"} 
[2026-08-23 02:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787430935000,"timestamp_ms":1787430935000,"timestamp_seconds":1787430935,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2f99d8"} 
[2026-08-23 02:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:07: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-08-23 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 02:07: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-08-23 02: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-08-23 02:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:07:00] 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-08-23 02:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582317056001,"66":27223,"115":206,"80":60416,"24":41,"16":389577529729482752,"45":5109756017089302528},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,80,24,16,45]} 
[2026-08-23 02:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582317056001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:07:00] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-23 02:07:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389577529729482752,"km_value":389577529729482.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5109756017089302528,"description":"Unknown IO ID 45"} 
[2026-08-23 02:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582317056001,"power":27223,"unknown_115":206,"unknown_80":60416,"ignition":41,"odometer":null,"unknown_45":5109756017089302528}} 
[2026-08-23 02:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":161383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:07:00] local.INFO: GPS data processed {"connection_id":161383,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:07:00] local.INFO: Acknowledgment sent {"connection_id":161383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:07:01] local.INFO: TCP Data received {"connection_id":160223,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:07:01] local.INFO: Processing buffer {"connection_id":160223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:07:01] local.INFO: IMEI packet received {"connection_id":160223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":160223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:07:01] local.INFO: TCP Data received {"connection_id":161383,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2fbd00012d46cb80065fc9380009015330..."} 
[2026-08-23 02:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2fbd00012d46cb80065fc9380009015330..."} 
[2026-08-23 02:07:01] local.INFO: Processing buffer {"connection_id":161383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2fbd00012d46cb80065fc9380009015330..."} 
[2026-08-23 02:07:01] local.INFO: Packet analysis {"connection_id":161383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2f"} 
[2026-08-23 02:07:01] local.INFO: Extracted packet for processing {"connection_id":161383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2f"} 
[2026-08-23 02:07:01] local.INFO: GPS Element Parsed {"raw_longitude":759614336,"raw_latitude":106940728,"longitude_deg":75.9614336,"latitude_deg":10.6940728,"altitude":9,"angle":339,"satellites":48,"speed":42,"hex_longitude":"2d46cb80","hex_latitude":"065fc938","is_valid_coordinates":true} 
[2026-08-23 02:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582319360001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389577989290983424,"note":"Value kept but may cause issues"} 
[2026-08-23 02:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5105393154952470528,"note":"Value kept but may cause issues"} 
[2026-08-23 02:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787430944000,"timestamp_ms":1787430944000,"timestamp_seconds":1787430944,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2fbd00"} 
[2026-08-23 02:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-23 02:07:01] 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-08-23 02:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:07:01] 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-08-23 02:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582319360001,"66":27245,"115":206,"80":60416,"24":42,"16":389577989290983424,"45":5105393154952470528},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,80,24,16,45]} 
[2026-08-23 02:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582319360001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:07:01] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-23 02:07:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389577989290983424,"km_value":389577989290983.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5105393154952470528,"description":"Unknown IO ID 45"} 
[2026-08-23 02:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582319360001,"power":27245,"unknown_115":206,"unknown_80":60416,"ignition":42,"odometer":null,"unknown_45":5105393154952470528}} 
[2026-08-23 02:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":161383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:07:01] local.INFO: GPS data processed {"connection_id":161383,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:07:01] local.INFO: Acknowledgment sent {"connection_id":161383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:07:02] local.INFO: TCP Data received {"connection_id":160223,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:07:02] local.INFO: Processing buffer {"connection_id":160223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:07:02] local.INFO: Packet analysis {"connection_id":160223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:07:02] local.INFO: Extracted packet for processing {"connection_id":160223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:07:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582208512001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787430803000,"timestamp_ms":1787430803000,"timestamp_seconds":1787430803,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2d9638"} 
[2026-08-23 02:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 02:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582208512001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582208512001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:07:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:07:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582208512001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":160223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:07:02] local.INFO: GPS data processed {"connection_id":160223,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:07:02] local.INFO: Acknowledgment sent {"connection_id":160223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:07:06] local.INFO: TCP Data received {"connection_id":160223,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:07:06] local.INFO: Processing buffer {"connection_id":160223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:07:06] local.INFO: Packet analysis {"connection_id":160223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:07:06] local.INFO: Extracted packet for processing {"connection_id":160223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582208512001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787430803000,"timestamp_ms":1787430803000,"timestamp_seconds":1787430803,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2d9638"} 
[2026-08-23 02:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 02:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582208512001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582208512001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:07:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582208512001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":160223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:07:06] local.INFO: GPS data processed {"connection_id":160223,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:07:06] local.INFO: Acknowledgment sent {"connection_id":160223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:07:51] local.INFO: TCP Data received {"connection_id":162798,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:07:51] local.INFO: Processing buffer {"connection_id":162798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:07:51] local.INFO: IMEI packet received {"connection_id":162798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":162798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:07:56] local.INFO: TCP Data received {"connection_id":162798,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:07:56] local.INFO: Processing buffer {"connection_id":162798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:07:56] local.INFO: IMEI packet received {"connection_id":162798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":162798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:07:57] local.INFO: TCP Data received {"connection_id":162798,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:07:57] local.INFO: Processing buffer {"connection_id":162798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:07:57] local.INFO: Packet analysis {"connection_id":162798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:07:57] local.INFO: Extracted packet for processing {"connection_id":162798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:07:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582208512001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787430803000,"timestamp_ms":1787430803000,"timestamp_seconds":1787430803,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2d9638"} 
[2026-08-23 02:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 02:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582208512001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582208512001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:07:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:07:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582208512001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":162798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:07:57] local.INFO: GPS data processed {"connection_id":162798,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:07:57] local.INFO: Acknowledgment sent {"connection_id":162798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:08:17] local.INFO: TCP Data received {"connection_id":160224,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:08:17] local.INFO: Processing buffer {"connection_id":160224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:08:17] local.INFO: IMEI packet received {"connection_id":160224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":160224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:08:18] local.INFO: TCP Data received {"connection_id":160224,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:08:18] local.INFO: Processing buffer {"connection_id":160224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:08:18] local.INFO: IMEI packet received {"connection_id":160224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":160224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:08:24] local.INFO: TCP Data received {"connection_id":160224,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:08:24] local.INFO: Processing buffer {"connection_id":160224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:08:24] local.INFO: IMEI packet received {"connection_id":160224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":160224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:08:25] local.INFO: TCP Data received {"connection_id":160224,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3143a0012d4653c006614ae80007015130..."} 
[2026-08-23 02:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3143a0012d4653c006614ae80007015130..."} 
[2026-08-23 02:08:25] local.INFO: Processing buffer {"connection_id":160224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3143a0012d4653c006614ae80007015130..."} 
[2026-08-23 02:08:25] local.INFO: Packet analysis {"connection_id":160224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b31"} 
[2026-08-23 02:08:25] local.INFO: Extracted packet for processing {"connection_id":160224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b31"} 
[2026-08-23 02:08:25] local.INFO: GPS Element Parsed {"raw_longitude":759583680,"raw_latitude":107039464,"longitude_deg":75.958368,"latitude_deg":10.7039464,"altitude":7,"angle":337,"satellites":48,"speed":47,"hex_longitude":"2d4653c0","hex_latitude":"06614ae8","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582345216001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389583005812785152,"note":"Value kept but may cause issues"} 
[2026-08-23 02:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5071475420283973632,"note":"Value kept but may cause issues"} 
[2026-08-23 02:08:25] 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-08-23 02:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787431044000,"timestamp_ms":1787431044000,"timestamp_seconds":1787431044,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3143a0"} 
[2026-08-23 02:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-23 02:08:25] 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-08-23 02: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-08-23 02:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:08:25] 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-08-23 02:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582345216001,"66":27234,"113":206,"80":60416,"24":47,"16":389583005812785152,"45":5071475420283973632},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-23 02:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582345216001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:08:25] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-23 02:08:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389583005812785152,"km_value":389583005812785.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5071475420283973632,"description":"Unknown IO ID 45"} 
[2026-08-23 02:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582345216001,"power":27234,"unknown_113":206,"unknown_80":60416,"ignition":47,"odometer":null,"unknown_45":5071475420283973632}} 
[2026-08-23 02:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":160224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:08:25] local.INFO: GPS data processed {"connection_id":160224,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:08:25] local.INFO: Acknowledgment sent {"connection_id":160224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:08:27] local.INFO: TCP Data received {"connection_id":160224,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3162e0012d46444006616dc00007014f30..."} 
[2026-08-23 02:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3162e0012d46444006616dc00007014f30..."} 
[2026-08-23 02:08:27] local.INFO: Processing buffer {"connection_id":160224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3162e0012d46444006616dc00007014f30..."} 
[2026-08-23 02:08:27] local.INFO: Packet analysis {"connection_id":160224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b31"} 
[2026-08-23 02:08:27] local.INFO: Extracted packet for processing {"connection_id":160224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b31"} 
[2026-08-23 02:08:27] local.INFO: GPS Element Parsed {"raw_longitude":759579712,"raw_latitude":107048384,"longitude_deg":75.9579712,"latitude_deg":10.7048384,"altitude":7,"angle":335,"satellites":48,"speed":48,"hex_longitude":"2d464440","hex_latitude":"06616dc0","is_valid_coordinates":true} 
[2026-08-23 02:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582347264001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389583478259187712,"note":"Value kept but may cause issues"} 
[2026-08-23 02:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5067605139356575744,"note":"Value kept but may cause issues"} 
[2026-08-23 02:08:27] 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-08-23 02:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787431052000,"timestamp_ms":1787431052000,"timestamp_seconds":1787431052,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3162e0"} 
[2026-08-23 02:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:08: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-08-23 02:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 02:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:08:27] 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-08-23 02:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582347264001,"66":27115,"113":206,"80":60416,"24":48,"16":389583478259187712,"45":5067605139356575744},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-23 02:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582347264001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:08:28] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-23 02:08:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389583478259187712,"km_value":389583478259187.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5067605139356575744,"description":"Unknown IO ID 45"} 
[2026-08-23 02:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582347264001,"power":27115,"unknown_113":206,"unknown_80":60416,"ignition":48,"odometer":null,"unknown_45":5067605139356575744}} 
[2026-08-23 02:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":160224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:08:28] local.INFO: GPS data processed {"connection_id":160224,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:08:28] local.INFO: Acknowledgment sent {"connection_id":160224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:08:28] local.INFO: TCP Data received {"connection_id":162798,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:08:28] local.INFO: Processing buffer {"connection_id":162798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:08:28] local.INFO: Packet analysis {"connection_id":162798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:08:28] local.INFO: Extracted packet for processing {"connection_id":162798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:08:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582208512001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787430803000,"timestamp_ms":1787430803000,"timestamp_seconds":1787430803,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2d9638"} 
[2026-08-23 02:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 02:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582208512001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582208512001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:08:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:08:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582208512001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":162798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:08:28] local.INFO: GPS data processed {"connection_id":162798,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:08:28] local.INFO: Acknowledgment sent {"connection_id":162798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:08:51] local.INFO: TCP Data received {"connection_id":161384,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:08:51] local.INFO: Processing buffer {"connection_id":161384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:08:51] local.INFO: IMEI packet received {"connection_id":161384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":161384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:08:52] local.INFO: TCP Data received {"connection_id":162799,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:08:52] local.INFO: Processing buffer {"connection_id":162799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:08:52] local.INFO: IMEI packet received {"connection_id":162799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":162799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:08:56] local.INFO: TCP Data received {"connection_id":161384,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:08:56] local.INFO: Processing buffer {"connection_id":161384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:08:56] local.INFO: IMEI packet received {"connection_id":161384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":161384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:08:57] local.INFO: TCP Data received {"connection_id":162799,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:08:57] local.INFO: Processing buffer {"connection_id":162799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:08:57] local.INFO: IMEI packet received {"connection_id":162799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":162799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:08:57] local.INFO: TCP Data received {"connection_id":161384,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:08:57] local.INFO: Processing buffer {"connection_id":161384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b2d9638012d196540071ff1b00044013727..."} 
[2026-08-23 02:08:57] local.INFO: Packet analysis {"connection_id":161384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:08:57] local.INFO: Extracted packet for processing {"connection_id":161384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b2d"} 
[2026-08-23 02:08:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582208512001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787430803000,"timestamp_ms":1787430803000,"timestamp_seconds":1787430803,"priority":1,"record_length":96,"hex_timestamp":"000001a02b2d9638"} 
[2026-08-23 02:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 02:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582208512001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582208512001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:08:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:08:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582208512001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":161384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:08:57] local.INFO: GPS data processed {"connection_id":161384,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:08:57] local.INFO: Acknowledgment sent {"connection_id":161384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:08:57] local.INFO: TCP Data received {"connection_id":162799,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b318220012d46350006618f70000701502d..."} 
[2026-08-23 02:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b318220012d46350006618f70000701502d..."} 
[2026-08-23 02:08:58] local.INFO: Processing buffer {"connection_id":162799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b318220012d46350006618f70000701502d..."} 
[2026-08-23 02:08:58] local.INFO: Packet analysis {"connection_id":162799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b31"} 
[2026-08-23 02:08:58] local.INFO: Extracted packet for processing {"connection_id":162799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b31"} 
[2026-08-23 02:08:58] local.INFO: GPS Element Parsed {"raw_longitude":759575808,"raw_latitude":107057008,"longitude_deg":75.9575808,"latitude_deg":10.7057008,"altitude":7,"angle":336,"satellites":45,"speed":44,"hex_longitude":"2d463500","hex_latitude":"06618f70","is_valid_coordinates":true} 
[2026-08-23 02:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582349312001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389583933525721088,"note":"Value kept but may cause issues"} 
[2026-08-23 02:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5063242277219844096,"note":"Value kept but may cause issues"} 
[2026-08-23 02:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787431060000,"timestamp_ms":1787431060000,"timestamp_seconds":1787431060,"priority":1,"record_length":96,"hex_timestamp":"000001a02b318220"} 
[2026-08-23 02:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-23 02:08:58] 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-08-23 02:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:08:58] 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-08-23 02:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582349312001,"66":27365,"234":206,"80":60416,"24":44,"16":389583933525721088,"45":5063242277219844096},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,80,24,16,45]} 
[2026-08-23 02:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582349312001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:08:58] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-23 02:08:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389583933525721088,"km_value":389583933525721.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5063242277219844096,"description":"Unknown IO ID 45"} 
[2026-08-23 02:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582349312001,"power":27365,"unknown_234":206,"unknown_80":60416,"ignition":44,"odometer":null,"unknown_45":5063242277219844096}} 
[2026-08-23 02:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":162799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:08:58] local.INFO: GPS data processed {"connection_id":162799,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:08:58] local.INFO: Acknowledgment sent {"connection_id":162799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:08:58] local.INFO: TCP Data received {"connection_id":162799,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b31a548012d4626000661b1b0000801502f..."} 
[2026-08-23 02:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b31a548012d4626000661b1b0000801502f..."} 
[2026-08-23 02:08:58] local.INFO: Processing buffer {"connection_id":162799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b31a548012d4626000661b1b0000801502f..."} 
[2026-08-23 02:08:58] local.INFO: Packet analysis {"connection_id":162799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b31"} 
[2026-08-23 02:08:58] local.INFO: Extracted packet for processing {"connection_id":162799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b31"} 
[2026-08-23 02:08:58] local.INFO: GPS Element Parsed {"raw_longitude":759571968,"raw_latitude":107065776,"longitude_deg":75.9571968,"latitude_deg":10.7065776,"altitude":8,"angle":336,"satellites":47,"speed":39,"hex_longitude":"2d462600","hex_latitude":"0661b1b0","is_valid_coordinates":true} 
[2026-08-23 02:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582351360001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389584397382189056,"note":"Value kept but may cause issues"} 
[2026-08-23 02:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5058949783827214336,"note":"Value kept but may cause issues"} 
[2026-08-23 02:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787431069000,"timestamp_ms":1787431069000,"timestamp_seconds":1787431069,"priority":1,"record_length":96,"hex_timestamp":"000001a02b31a548"} 
[2026-08-23 02:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 02:08: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-08-23 02:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:08:58] 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-08-23 02:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582351360001,"66":27321,"234":206,"80":60416,"24":39,"16":389584397382189056,"45":5058949783827214336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,80,24,16,45]} 
[2026-08-23 02:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582351360001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:08:58] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-23 02:08:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389584397382189056,"km_value":389584397382189.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5058949783827214336,"description":"Unknown IO ID 45"} 
[2026-08-23 02:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582351360001,"power":27321,"unknown_234":206,"unknown_80":60416,"ignition":39,"odometer":null,"unknown_45":5058949783827214336}} 
[2026-08-23 02:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":162799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:08:58] local.INFO: GPS data processed {"connection_id":162799,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:08:58] local.INFO: Acknowledgment sent {"connection_id":162799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:09:28] local.INFO: TCP Data received {"connection_id":161384,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:09:28] local.INFO: Processing buffer {"connection_id":161384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:09:28] local.INFO: Packet analysis {"connection_id":161384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:09:28] local.INFO: Extracted packet for processing {"connection_id":161384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:09:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582285568001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787431104000,"timestamp_ms":1787431104000,"timestamp_seconds":1787431104,"priority":1,"record_length":96,"hex_timestamp":"000001a02b322e00"} 
[2026-08-23 02:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 02:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582285568001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582285568001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:09:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:09:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582285568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":161384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:09:28] local.INFO: GPS data processed {"connection_id":161384,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:09:28] local.INFO: Acknowledgment sent {"connection_id":161384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:09:29] local.INFO: TCP Data received {"connection_id":162799,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b31cc58012d4616000661d3800008015031..."} 
[2026-08-23 02:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b31cc58012d4616000661d3800008015031..."} 
[2026-08-23 02:09:29] local.INFO: Processing buffer {"connection_id":162799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b31cc58012d4616000661d3800008015031..."} 
[2026-08-23 02:09:29] local.INFO: Packet analysis {"connection_id":162799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b31"} 
[2026-08-23 02:09:29] local.INFO: Extracted packet for processing {"connection_id":162799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b31"} 
[2026-08-23 02:09:29] local.INFO: GPS Element Parsed {"raw_longitude":759567872,"raw_latitude":107074432,"longitude_deg":75.9567872,"latitude_deg":10.7074432,"altitude":8,"angle":336,"satellites":49,"speed":37,"hex_longitude":"2d461600","hex_latitude":"0661d380","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582353664001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389584861238657024,"note":"Value kept but may cause issues"} 
[2026-08-23 02:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5054727659178799104,"note":"Value kept but may cause issues"} 
[2026-08-23 02:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787431079000,"timestamp_ms":1787431079000,"timestamp_seconds":1787431079,"priority":1,"record_length":96,"hex_timestamp":"000001a02b31cc58"} 
[2026-08-23 02:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:09: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-08-23 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 02:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:09:29] 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-08-23 02:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582353664001,"66":27234,"234":206,"80":60416,"24":37,"16":389584861238657024,"45":5054727659178799104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,80,24,16,45]} 
[2026-08-23 02:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582353664001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:09:29] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-23 02:09:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389584861238657024,"km_value":389584861238657.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5054727659178799104,"description":"Unknown IO ID 45"} 
[2026-08-23 02:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582353664001,"power":27234,"unknown_234":206,"unknown_80":60416,"ignition":37,"odometer":null,"unknown_45":5054727659178799104}} 
[2026-08-23 02:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":162799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:09:29] local.INFO: GPS data processed {"connection_id":162799,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:09:29] local.INFO: Acknowledgment sent {"connection_id":162799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:09:47] local.INFO: TCP Data received {"connection_id":160421,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:09:47] local.INFO: Processing buffer {"connection_id":160421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:09:47] local.INFO: IMEI packet received {"connection_id":160421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":160421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:09:50] local.INFO: TCP Data received {"connection_id":160421,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:09:50] local.INFO: Processing buffer {"connection_id":160421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:09:50] local.INFO: IMEI packet received {"connection_id":160421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":160421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:09:51] local.INFO: TCP Data received {"connection_id":162800,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:09:51] local.INFO: Processing buffer {"connection_id":162800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:09:51] local.INFO: IMEI packet received {"connection_id":162800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":162800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:09:51] local.INFO: TCP Data received {"connection_id":160421,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b31f368012d4607c00661f4880008015033..."} 
[2026-08-23 02:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b31f368012d4607c00661f4880008015033..."} 
[2026-08-23 02:09:51] local.INFO: Processing buffer {"connection_id":160421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b31f368012d4607c00661f4880008015033..."} 
[2026-08-23 02:09:51] local.INFO: Packet analysis {"connection_id":160421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b31"} 
[2026-08-23 02:09:51] local.INFO: Extracted packet for processing {"connection_id":160421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b31"} 
[2026-08-23 02:09:51] local.INFO: GPS Element Parsed {"raw_longitude":759564224,"raw_latitude":107082888,"longitude_deg":75.9564224,"latitude_deg":10.7082888,"altitude":8,"angle":336,"satellites":51,"speed":37,"hex_longitude":"2d4607c0","hex_latitude":"0661f488","is_valid_coordinates":true} 
[2026-08-23 02:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582356224001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389585307915255808,"note":"Value kept but may cause issues"} 
[2026-08-23 02:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5050224059553644544,"note":"Value kept but may cause issues"} 
[2026-08-23 02:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787431089000,"timestamp_ms":1787431089000,"timestamp_seconds":1787431089,"priority":1,"record_length":96,"hex_timestamp":"000001a02b31f368"} 
[2026-08-23 02:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 02:09:51] 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-08-23 02:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:09:51] 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-08-23 02:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582356224001,"66":26930,"207":206,"80":60416,"24":37,"16":389585307915255808,"45":5050224059553644544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,80,24,16,45]} 
[2026-08-23 02:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582356224001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:09:51] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-23 02:09:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389585307915255808,"km_value":389585307915255.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5050224059553644544,"description":"Unknown IO ID 45"} 
[2026-08-23 02:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582356224001,"power":26930,"unknown_207":206,"unknown_80":60416,"ignition":37,"odometer":null,"unknown_45":5050224059553644544}} 
[2026-08-23 02:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":160421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:09:51] local.INFO: GPS data processed {"connection_id":160421,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:09:51] local.INFO: Acknowledgment sent {"connection_id":160421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:09:52] local.INFO: TCP Data received {"connection_id":160421,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b321690012d45f980066214680008015032..."} 
[2026-08-23 02:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b321690012d45f980066214680008015032..."} 
[2026-08-23 02:09:52] local.INFO: Processing buffer {"connection_id":160421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b321690012d45f980066214680008015032..."} 
[2026-08-23 02:09:52] local.INFO: Packet analysis {"connection_id":160421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:09:52] local.INFO: Extracted packet for processing {"connection_id":160421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:09:52] local.INFO: GPS Element Parsed {"raw_longitude":759560576,"raw_latitude":107091048,"longitude_deg":75.9560576,"latitude_deg":10.7091048,"altitude":8,"angle":336,"satellites":50,"speed":41,"hex_longitude":"2d45f980","hex_latitude":"06621468","is_valid_coordinates":true} 
[2026-08-23 02:09: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-08-23 02:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582358784001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389585737411985408,"note":"Value kept but may cause issues"} 
[2026-08-23 02:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5046213041137682432,"note":"Value kept but may cause issues"} 
[2026-08-23 02:09:52] 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-08-23 02:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787431098000,"timestamp_ms":1787431098000,"timestamp_seconds":1787431098,"priority":1,"record_length":96,"hex_timestamp":"000001a02b321690"} 
[2026-08-23 02:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:09: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-08-23 02:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-23 02:09:52] 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-08-23 02:09: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-08-23 02:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:09:52] 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-08-23 02:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582358784001,"66":27365,"206":206,"80":60416,"24":41,"16":389585737411985408,"45":5046213041137682432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-08-23 02:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582358784001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:09:52] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-23 02:09:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389585737411985408,"km_value":389585737411985.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5046213041137682432,"description":"Unknown IO ID 45"} 
[2026-08-23 02:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582358784001,"power":27365,"unknown_206":206,"unknown_80":60416,"ignition":41,"odometer":null,"unknown_45":5046213041137682432}} 
[2026-08-23 02:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":160421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:09:52] local.INFO: GPS data processed {"connection_id":160421,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:09:52] local.INFO: Acknowledgment sent {"connection_id":160421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:09:56] local.INFO: TCP Data received {"connection_id":162800,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:09:56] local.INFO: Processing buffer {"connection_id":162800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:09:56] local.INFO: IMEI packet received {"connection_id":162800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":162800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:09:57] local.INFO: TCP Data received {"connection_id":162800,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:09:57] local.INFO: Processing buffer {"connection_id":162800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:09:57] local.INFO: Packet analysis {"connection_id":162800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:09:57] local.INFO: Extracted packet for processing {"connection_id":162800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:09:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582285568001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787431104000,"timestamp_ms":1787431104000,"timestamp_seconds":1787431104,"priority":1,"record_length":96,"hex_timestamp":"000001a02b322e00"} 
[2026-08-23 02:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 02:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582285568001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582285568001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:09:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:09:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582285568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":162800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:09:57] local.INFO: GPS data processed {"connection_id":162800,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:09:57] local.INFO: Acknowledgment sent {"connection_id":162800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:10:23] local.INFO: TCP Data received {"connection_id":160421,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3239b8012d45eb00066234800009015130..."} 
[2026-08-23 02:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3239b8012d45eb00066234800009015130..."} 
[2026-08-23 02:10:23] local.INFO: Processing buffer {"connection_id":160421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3239b8012d45eb00066234800009015130..."} 
[2026-08-23 02:10:23] local.INFO: Packet analysis {"connection_id":160421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:10:23] local.INFO: Extracted packet for processing {"connection_id":160421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:10:23] local.INFO: GPS Element Parsed {"raw_longitude":759556864,"raw_latitude":107099264,"longitude_deg":75.9556864,"latitude_deg":10.7099264,"altitude":9,"angle":337,"satellites":48,"speed":38,"hex_longitude":"2d45eb00","hex_latitude":"06623480","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582361088001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389586175498649600,"note":"Value kept but may cause issues"} 
[2026-08-23 02:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5042202022721644544,"note":"Value kept but may cause issues"} 
[2026-08-23 02:10:23] 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-08-23 02:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787431107000,"timestamp_ms":1787431107000,"timestamp_seconds":1787431107,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3239b8"} 
[2026-08-23 02:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02: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":229,"data_length":795,"current_offset":136} 
[2026-08-23 02:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:10:23] 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-08-23 02:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582361088001,"66":27343,"206":206,"80":60416,"24":38,"16":389586175498649600,"45":5042202022721644544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-08-23 02:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582361088001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:10:23] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-23 02:10:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389586175498649600,"km_value":389586175498649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5042202022721644544,"description":"Unknown IO ID 45"} 
[2026-08-23 02:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582361088001,"power":27343,"unknown_206":206,"unknown_80":60416,"ignition":38,"odometer":null,"unknown_45":5042202022721644544}} 
[2026-08-23 02:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":160421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:10:23] local.INFO: GPS data processed {"connection_id":160421,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:10:23] local.INFO: Acknowledgment sent {"connection_id":160421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:10:28] local.INFO: TCP Data received {"connection_id":162800,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:10:28] local.INFO: Processing buffer {"connection_id":162800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:10:28] local.INFO: Packet analysis {"connection_id":162800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:10:28] local.INFO: Extracted packet for processing {"connection_id":162800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582285568001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787431104000,"timestamp_ms":1787431104000,"timestamp_seconds":1787431104,"priority":1,"record_length":96,"hex_timestamp":"000001a02b322e00"} 
[2026-08-23 02:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 02:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582285568001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582285568001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:10:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:10:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582285568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":162800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:10:28] local.INFO: GPS data processed {"connection_id":162800,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:10:28] local.INFO: Acknowledgment sent {"connection_id":162800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:10:47] local.INFO: TCP Data received {"connection_id":162801,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:10:47] local.INFO: Processing buffer {"connection_id":162801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:10:47] local.INFO: IMEI packet received {"connection_id":162801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":162801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:10:51] local.INFO: TCP Data received {"connection_id":161385,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:10:51] local.INFO: Processing buffer {"connection_id":161385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:10:51] local.INFO: IMEI packet received {"connection_id":161385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":161385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:10:51] local.INFO: TCP Data received {"connection_id":162801,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:10:51] local.INFO: Processing buffer {"connection_id":162801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:10:51] local.INFO: IMEI packet received {"connection_id":162801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":162801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:10:52] local.INFO: TCP Data received {"connection_id":162801,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b325ce0012d45dc80066254a80008014d31..."} 
[2026-08-23 02:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b325ce0012d45dc80066254a80008014d31..."} 
[2026-08-23 02:10:52] local.INFO: Processing buffer {"connection_id":162801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b325ce0012d45dc80066254a80008014d31..."} 
[2026-08-23 02:10:52] local.INFO: Packet analysis {"connection_id":162801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:10:52] local.INFO: Extracted packet for processing {"connection_id":162801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:10:52] local.INFO: GPS Element Parsed {"raw_longitude":759553152,"raw_latitude":107107496,"longitude_deg":75.9553152,"latitude_deg":10.7107496,"altitude":8,"angle":333,"satellites":49,"speed":41,"hex_longitude":"2d45dc80","hex_latitude":"066254a8","is_valid_coordinates":true} 
[2026-08-23 02:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582363392001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389586609290346496,"note":"Value kept but may cause issues"} 
[2026-08-23 02:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5038120635561443328,"note":"Value kept but may cause issues"} 
[2026-08-23 02:10:52] 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-08-23 02:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787431116000,"timestamp_ms":1787431116000,"timestamp_seconds":1787431116,"priority":1,"record_length":96,"hex_timestamp":"000001a02b325ce0"} 
[2026-08-23 02:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:10: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-08-23 02:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 02:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:10:52] 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-08-23 02:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582363392001,"66":27300,"206":206,"80":60416,"24":41,"16":389586609290346496,"45":5038120635561443328},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-08-23 02:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582363392001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:10:52] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-23 02:10:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389586609290346496,"km_value":389586609290346.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5038120635561443328,"description":"Unknown IO ID 45"} 
[2026-08-23 02:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582363392001,"power":27300,"unknown_206":206,"unknown_80":60416,"ignition":41,"odometer":null,"unknown_45":5038120635561443328}} 
[2026-08-23 02:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":162801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:10:52] local.INFO: GPS data processed {"connection_id":162801,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:10:52] local.INFO: Acknowledgment sent {"connection_id":162801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:10:56] local.INFO: TCP Data received {"connection_id":161385,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:10:56] local.INFO: Processing buffer {"connection_id":161385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:10:56] local.INFO: IMEI packet received {"connection_id":161385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":161385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:10:57] local.INFO: TCP Data received {"connection_id":161385,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:10:57] local.INFO: Processing buffer {"connection_id":161385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:10:57] local.INFO: Packet analysis {"connection_id":161385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:10:57] local.INFO: Extracted packet for processing {"connection_id":161385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:10:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582285568001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787431104000,"timestamp_ms":1787431104000,"timestamp_seconds":1787431104,"priority":1,"record_length":96,"hex_timestamp":"000001a02b322e00"} 
[2026-08-23 02:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 02:10:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582285568001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582285568001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:10:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:10:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582285568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":161385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:10:57] local.INFO: GPS data processed {"connection_id":161385,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:10:57] local.INFO: Acknowledgment sent {"connection_id":161385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:11:24] local.INFO: TCP Data received {"connection_id":162801,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b328008012d45cb80066276580008014c30..."} 
[2026-08-23 02:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b328008012d45cb80066276580008014c30..."} 
[2026-08-23 02:11:24] local.INFO: Processing buffer {"connection_id":162801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b328008012d45cb80066276580008014c30..."} 
[2026-08-23 02:11:24] local.INFO: Packet analysis {"connection_id":162801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:11:24] local.INFO: Extracted packet for processing {"connection_id":162801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:11:24] local.INFO: GPS Element Parsed {"raw_longitude":759548800,"raw_latitude":107116120,"longitude_deg":75.95488,"latitude_deg":10.711612,"altitude":8,"angle":332,"satellites":48,"speed":43,"hex_longitude":"2d45cb80","hex_latitude":"06627658","is_valid_coordinates":true} 
[2026-08-23 02:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582365696001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389587077441781760,"note":"Value kept but may cause issues"} 
[2026-08-23 02:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5034039248401246208,"note":"Value kept but may cause issues"} 
[2026-08-23 02:11:24] 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-08-23 02:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787431125000,"timestamp_ms":1787431125000,"timestamp_seconds":1787431125,"priority":1,"record_length":96,"hex_timestamp":"000001a02b328008"} 
[2026-08-23 02:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 02:11: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-08-23 02:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:11:24] 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-08-23 02:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582365696001,"66":27376,"206":206,"80":60416,"24":43,"16":389587077441781760,"45":5034039248401246208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-08-23 02:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582365696001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:11:24] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-23 02:11:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389587077441781760,"km_value":389587077441781.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5034039248401246208,"description":"Unknown IO ID 45"} 
[2026-08-23 02:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582365696001,"power":27376,"unknown_206":206,"unknown_80":60416,"ignition":43,"odometer":null,"unknown_45":5034039248401246208}} 
[2026-08-23 02:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":162801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:11:24] local.INFO: GPS data processed {"connection_id":162801,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:11:24] local.INFO: Acknowledgment sent {"connection_id":162801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:11:28] local.INFO: TCP Data received {"connection_id":161385,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:11:28] local.INFO: Processing buffer {"connection_id":161385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:11:28] local.INFO: Packet analysis {"connection_id":161385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:11:28] local.INFO: Extracted packet for processing {"connection_id":161385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:11:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582285568001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787431104000,"timestamp_ms":1787431104000,"timestamp_seconds":1787431104,"priority":1,"record_length":96,"hex_timestamp":"000001a02b322e00"} 
[2026-08-23 02:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 02:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582285568001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582285568001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:11:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:11:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582285568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":161385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:11:28] local.INFO: GPS data processed {"connection_id":161385,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:11:28] local.INFO: Acknowledgment sent {"connection_id":161385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:11:47] local.INFO: TCP Data received {"connection_id":160225,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:11:47] local.INFO: Processing buffer {"connection_id":160225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:11:47] local.INFO: IMEI packet received {"connection_id":160225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":160225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:11:56] local.INFO: TCP Data received {"connection_id":160225,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:11:56] local.INFO: Processing buffer {"connection_id":160225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:11:56] local.INFO: IMEI packet received {"connection_id":160225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":160225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:11:56] local.INFO: TCP Data received {"connection_id":160422,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:11:56] local.INFO: Processing buffer {"connection_id":160422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:11:56] local.INFO: IMEI packet received {"connection_id":160422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":160422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:11:57] local.INFO: TCP Data received {"connection_id":160225,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b344cf8012d4520800663ea50000901552e..."} 
[2026-08-23 02:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b344cf8012d4520800663ea50000901552e..."} 
[2026-08-23 02:11:57] local.INFO: Processing buffer {"connection_id":160225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b344cf8012d4520800663ea50000901552e..."} 
[2026-08-23 02:11:57] local.INFO: Packet analysis {"connection_id":160225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b34"} 
[2026-08-23 02:11:57] local.INFO: Extracted packet for processing {"connection_id":160225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b34"} 
[2026-08-23 02:11:57] local.INFO: GPS Element Parsed {"raw_longitude":759505024,"raw_latitude":107211344,"longitude_deg":75.9505024,"latitude_deg":10.7211344,"altitude":9,"angle":341,"satellites":46,"speed":50,"hex_longitude":"2d452080","hex_latitude":"0663ea50","is_valid_coordinates":true} 
[2026-08-23 02:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582396160001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389592171272994816,"note":"Value kept but may cause issues"} 
[2026-08-23 02:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4984358915036129280,"note":"Value kept but may cause issues"} 
[2026-08-23 02:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787431243000,"timestamp_ms":1787431243000,"timestamp_seconds":1787431243,"priority":1,"record_length":96,"hex_timestamp":"000001a02b344cf8"} 
[2026-08-23 02:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:11: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-08-23 02:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 02:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:11:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:11:57] 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-08-23 02:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582396160001,"66":27365,"234":206,"80":60416,"24":50,"16":389592171272994816,"45":4984358915036129280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,80,24,16,45]} 
[2026-08-23 02:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582396160001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:11:57] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-23 02:11:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389592171272994816,"km_value":389592171272994.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4984358915036129280,"description":"Unknown IO ID 45"} 
[2026-08-23 02:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582396160001,"power":27365,"unknown_234":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":4984358915036129280}} 
[2026-08-23 02:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":160225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:11:57] local.INFO: GPS data processed {"connection_id":160225,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:11:57] local.INFO: Acknowledgment sent {"connection_id":160225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:12:01] local.INFO: TCP Data received {"connection_id":160422,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:12:01] local.INFO: Processing buffer {"connection_id":160422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:12:01] local.INFO: IMEI packet received {"connection_id":160422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":160422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:12:02] local.INFO: TCP Data received {"connection_id":160422,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:12:02] local.INFO: Processing buffer {"connection_id":160422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:12:02] local.INFO: Packet analysis {"connection_id":160422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:12:02] local.INFO: Extracted packet for processing {"connection_id":160422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:12:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582285568001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787431104000,"timestamp_ms":1787431104000,"timestamp_seconds":1787431104,"priority":1,"record_length":96,"hex_timestamp":"000001a02b322e00"} 
[2026-08-23 02:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 02:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582285568001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582285568001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:12:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:12:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582285568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":160422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:12:02] local.INFO: GPS data processed {"connection_id":160422,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:12:02] local.INFO: Acknowledgment sent {"connection_id":160422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:12:06] local.INFO: TCP Data received {"connection_id":160422,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:12:06] local.INFO: Processing buffer {"connection_id":160422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:12:06] local.INFO: Packet analysis {"connection_id":160422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:12:06] local.INFO: Extracted packet for processing {"connection_id":160422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582285568001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787431104000,"timestamp_ms":1787431104000,"timestamp_seconds":1787431104,"priority":1,"record_length":96,"hex_timestamp":"000001a02b322e00"} 
[2026-08-23 02:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 02:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582285568001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582285568001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:12:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582285568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":160422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:12:06] local.INFO: GPS data processed {"connection_id":160422,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:12:06] local.INFO: Acknowledgment sent {"connection_id":160422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:12:29] local.INFO: TCP Data received {"connection_id":160225,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b346850012d45150006640c28000701552f..."} 
[2026-08-23 02:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b346850012d45150006640c28000701552f..."} 
[2026-08-23 02:12:29] local.INFO: Processing buffer {"connection_id":160225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b346850012d45150006640c28000701552f..."} 
[2026-08-23 02:12:29] local.INFO: Packet analysis {"connection_id":160225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b34"} 
[2026-08-23 02:12:29] local.INFO: Extracted packet for processing {"connection_id":160225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b34"} 
[2026-08-23 02:12:29] local.INFO: GPS Element Parsed {"raw_longitude":759502080,"raw_latitude":107220008,"longitude_deg":75.950208,"latitude_deg":10.7220008,"altitude":7,"angle":341,"satellites":47,"speed":52,"hex_longitude":"2d451500","hex_latitude":"06640c28","is_valid_coordinates":true} 
[2026-08-23 02:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582398208001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389592613654626304,"note":"Value kept but may cause issues"} 
[2026-08-23 02:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4981121952806227968,"note":"Value kept but may cause issues"} 
[2026-08-23 02:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787431250000,"timestamp_ms":1787431250000,"timestamp_seconds":1787431250,"priority":1,"record_length":96,"hex_timestamp":"000001a02b346850"} 
[2026-08-23 02:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:12: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-08-23 02:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 02:12: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-08-23 02:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:12:29] 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-08-23 02:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582398208001,"66":27365,"234":206,"80":60416,"24":52,"16":389592613654626304,"45":4981121952806227968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,80,24,16,45]} 
[2026-08-23 02:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582398208001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:12:29] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-23 02:12:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389592613654626304,"km_value":389592613654626.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4981121952806227968,"description":"Unknown IO ID 45"} 
[2026-08-23 02:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582398208001,"power":27365,"unknown_234":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":4981121952806227968}} 
[2026-08-23 02:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":160225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:12:29] local.INFO: GPS data processed {"connection_id":160225,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:12:29] local.INFO: Acknowledgment sent {"connection_id":160225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:12:51] local.INFO: TCP Data received {"connection_id":160423,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:12:51] local.INFO: Processing buffer {"connection_id":160423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:12:51] local.INFO: IMEI packet received {"connection_id":160423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":160423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:12:51] local.INFO: TCP Data received {"connection_id":160226,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:12:51] local.INFO: Processing buffer {"connection_id":160226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:12:51] local.INFO: IMEI packet received {"connection_id":160226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":160226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:12:52] local.INFO: TCP Data received {"connection_id":160226,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:12:52] local.INFO: Processing buffer {"connection_id":160226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:12:52] local.INFO: IMEI packet received {"connection_id":160226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":160226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:12:56] local.INFO: TCP Data received {"connection_id":160423,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:12:56] local.INFO: Processing buffer {"connection_id":160423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:12:56] local.INFO: IMEI packet received {"connection_id":160423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":160423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:12:57] local.INFO: TCP Data received {"connection_id":160423,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:12:57] local.INFO: Processing buffer {"connection_id":160423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:12:57] local.INFO: Packet analysis {"connection_id":160423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:12:57] local.INFO: Extracted packet for processing {"connection_id":160423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:12:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582285568001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787431104000,"timestamp_ms":1787431104000,"timestamp_seconds":1787431104,"priority":1,"record_length":96,"hex_timestamp":"000001a02b322e00"} 
[2026-08-23 02:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 02:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582285568001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582285568001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:12:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:12:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582285568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":160423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:12:57] local.INFO: GPS data processed {"connection_id":160423,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:12:57] local.INFO: Acknowledgment sent {"connection_id":160423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:13:02] local.INFO: TCP Data received {"connection_id":160423,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:13:02] local.INFO: Processing buffer {"connection_id":160423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:13:02] local.INFO: Packet analysis {"connection_id":160423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:13:02] local.INFO: Extracted packet for processing {"connection_id":160423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:13:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582285568001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787431104000,"timestamp_ms":1787431104000,"timestamp_seconds":1787431104,"priority":1,"record_length":96,"hex_timestamp":"000001a02b322e00"} 
[2026-08-23 02:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 02:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582285568001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582285568001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:13:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:13:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582285568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":160423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:13:02] local.INFO: GPS data processed {"connection_id":160423,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:13:02] local.INFO: Acknowledgment sent {"connection_id":160423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:13:03] local.INFO: TCP Data received {"connection_id":160226,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:13:03] local.INFO: Processing buffer {"connection_id":160226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:13:03] local.INFO: IMEI packet received {"connection_id":160226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":160226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:13:04] local.INFO: TCP Data received {"connection_id":160226,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3483a8012d4509c006642e18000801552e..."} 
[2026-08-23 02:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3483a8012d4509c006642e18000801552e..."} 
[2026-08-23 02:13:04] local.INFO: Processing buffer {"connection_id":160226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3483a8012d4509c006642e18000801552e..."} 
[2026-08-23 02:13:04] local.INFO: Packet analysis {"connection_id":160226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b34"} 
[2026-08-23 02:13:04] local.INFO: Extracted packet for processing {"connection_id":160226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b34"} 
[2026-08-23 02:13:04] local.INFO: GPS Element Parsed {"raw_longitude":759499200,"raw_latitude":107228696,"longitude_deg":75.94992,"latitude_deg":10.7228696,"altitude":8,"angle":341,"satellites":46,"speed":50,"hex_longitude":"2d4509c0","hex_latitude":"06642e18","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582400000001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389593056036257792,"note":"Value kept but may cause issues"} 
[2026-08-23 02:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4977884990576273408,"note":"Value kept but may cause issues"} 
[2026-08-23 02:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787431257000,"timestamp_ms":1787431257000,"timestamp_seconds":1787431257,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3483a8"} 
[2026-08-23 02:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:13: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-08-23 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 02:13: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-08-23 02: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-08-23 02:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:13:04] 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-08-23 02:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582400000001,"66":27332,"234":206,"80":60416,"24":50,"16":389593056036257792,"45":4977884990576273408},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,80,24,16,45]} 
[2026-08-23 02:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582400000001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:13:04] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-08-23 02:13:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389593056036257792,"km_value":389593056036257.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4977884990576273408,"description":"Unknown IO ID 45"} 
[2026-08-23 02:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582400000001,"power":27332,"unknown_234":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":4977884990576273408}} 
[2026-08-23 02:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":160226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:13:04] local.INFO: GPS data processed {"connection_id":160226,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:13:04] local.INFO: Acknowledgment sent {"connection_id":160226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:13:33] local.INFO: TCP Data received {"connection_id":160423,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:13:33] local.INFO: Processing buffer {"connection_id":160423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:13:33] local.INFO: Packet analysis {"connection_id":160423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:13:33] local.INFO: Extracted packet for processing {"connection_id":160423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582285568001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787431104000,"timestamp_ms":1787431104000,"timestamp_seconds":1787431104,"priority":1,"record_length":96,"hex_timestamp":"000001a02b322e00"} 
[2026-08-23 02:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 02:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582285568001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582285568001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:13:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:13:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582285568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":160423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:13:33] local.INFO: GPS data processed {"connection_id":160423,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:13:33] local.INFO: Acknowledgment sent {"connection_id":160423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:13:47] local.INFO: TCP Data received {"connection_id":162802,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:13:47] local.INFO: Processing buffer {"connection_id":162802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:13:47] local.INFO: IMEI packet received {"connection_id":162802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":162802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:13:50] local.INFO: TCP Data received {"connection_id":162802,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:13:50] local.INFO: Processing buffer {"connection_id":162802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:13:50] local.INFO: IMEI packet received {"connection_id":162802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":162802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:13:51] local.INFO: TCP Data received {"connection_id":162803,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:13:51] local.INFO: Processing buffer {"connection_id":162803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:13:51] local.INFO: IMEI packet received {"connection_id":162803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":162803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:13:53] local.INFO: TCP Data received {"connection_id":162802,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:13:53] local.INFO: Processing buffer {"connection_id":162802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:13:53] local.INFO: IMEI packet received {"connection_id":162802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":162802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:13:54] local.INFO: TCP Data received {"connection_id":162802,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b35f2d8012d4472000665a4a8000d014f32..."} 
[2026-08-23 02:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b35f2d8012d4472000665a4a8000d014f32..."} 
[2026-08-23 02:13:54] local.INFO: Processing buffer {"connection_id":162802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b35f2d8012d4472000665a4a8000d014f32..."} 
[2026-08-23 02:13:54] local.INFO: Packet analysis {"connection_id":162802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b35"} 
[2026-08-23 02:13:54] local.INFO: Extracted packet for processing {"connection_id":162802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b35"} 
[2026-08-23 02:13:54] local.INFO: GPS Element Parsed {"raw_longitude":759460352,"raw_latitude":107324584,"longitude_deg":75.9460352,"latitude_deg":10.7324584,"altitude":13,"angle":335,"satellites":50,"speed":44,"hex_longitude":"2d447200","hex_latitude":"0665a4a8","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582423552001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389598063968124928,"note":"Value kept but may cause issues"} 
[2026-08-23 02:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4936578537768509440,"note":"Value kept but may cause issues"} 
[2026-08-23 02:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787431351000,"timestamp_ms":1787431351000,"timestamp_seconds":1787431351,"priority":1,"record_length":96,"hex_timestamp":"000001a02b35f2d8"} 
[2026-08-23 02:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 02:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:13:54] 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-08-23 02:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582423552001,"66":27376,"58":206,"80":60416,"24":44,"16":389598063968124928,"45":4936578537768509440},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,80,24,16,45]} 
[2026-08-23 02:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582423552001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:13:54] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-23 02:13:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389598063968124928,"km_value":389598063968124.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4936578537768509440,"description":"Unknown IO ID 45"} 
[2026-08-23 02:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582423552001,"power":27376,"unknown_58":206,"unknown_80":60416,"ignition":44,"odometer":null,"unknown_45":4936578537768509440}} 
[2026-08-23 02:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":162802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:13:54] local.INFO: GPS data processed {"connection_id":162802,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:13:54] local.INFO: Acknowledgment sent {"connection_id":162802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:13:56] local.INFO: TCP Data received {"connection_id":162803,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:13:56] local.INFO: Processing buffer {"connection_id":162803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:13:56] local.INFO: IMEI packet received {"connection_id":162803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":162803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:13:57] local.INFO: TCP Data received {"connection_id":162803,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:13:57] local.INFO: Processing buffer {"connection_id":162803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b322e00012d196540071ff1b00044013727..."} 
[2026-08-23 02:13:57] local.INFO: Packet analysis {"connection_id":162803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:13:57] local.INFO: Extracted packet for processing {"connection_id":162803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b32"} 
[2026-08-23 02:13:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582285568001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787431104000,"timestamp_ms":1787431104000,"timestamp_seconds":1787431104,"priority":1,"record_length":96,"hex_timestamp":"000001a02b322e00"} 
[2026-08-23 02:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 02:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582285568001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582285568001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:13:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:13:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582285568001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":162803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:13:57] local.INFO: GPS data processed {"connection_id":162803,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:13:57] local.INFO: Acknowledgment sent {"connection_id":162803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:14:25] local.INFO: TCP Data received {"connection_id":162802,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b361218012d4463400665c468000b014f30..."} 
[2026-08-23 02:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b361218012d4463400665c468000b014f30..."} 
[2026-08-23 02:14:25] local.INFO: Processing buffer {"connection_id":162802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b361218012d4463400665c468000b014f30..."} 
[2026-08-23 02:14:25] local.INFO: Packet analysis {"connection_id":162802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b36"} 
[2026-08-23 02:14:25] local.INFO: Extracted packet for processing {"connection_id":162802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b36"} 
[2026-08-23 02:14:25] local.INFO: GPS Element Parsed {"raw_longitude":759456576,"raw_latitude":107332712,"longitude_deg":75.9456576,"latitude_deg":10.7332712,"altitude":11,"angle":335,"satellites":48,"speed":45,"hex_longitude":"2d446340","hex_latitude":"0665c468","is_valid_coordinates":true} 
[2026-08-23 02:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582425856001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389598497759821824,"note":"Value kept but may cause issues"} 
[2026-08-23 02:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4932004569399207936,"note":"Value kept but may cause issues"} 
[2026-08-23 02:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787431359000,"timestamp_ms":1787431359000,"timestamp_seconds":1787431359,"priority":1,"record_length":96,"hex_timestamp":"000001a02b361218"} 
[2026-08-23 02:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:14: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-08-23 02:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 02:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:14:25] 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-08-23 02:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582425856001,"66":27397,"58":206,"80":60416,"24":45,"16":389598497759821824,"45":4932004569399207936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,80,24,16,45]} 
[2026-08-23 02:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582425856001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:14:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-23 02:14:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389598497759821824,"km_value":389598497759821.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4932004569399207936,"description":"Unknown IO ID 45"} 
[2026-08-23 02:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582425856001,"power":27397,"unknown_58":206,"unknown_80":60416,"ignition":45,"odometer":null,"unknown_45":4932004569399207936}} 
[2026-08-23 02:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":162802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:14:25] local.INFO: GPS data processed {"connection_id":162802,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:14:25] local.INFO: Acknowledgment sent {"connection_id":162802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:14:28] local.INFO: TCP Data received {"connection_id":162803,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:14:28] local.INFO: Processing buffer {"connection_id":162803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:14:28] local.INFO: Packet analysis {"connection_id":162803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b36"} 
[2026-08-23 02:14:28] local.INFO: Extracted packet for processing {"connection_id":162803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b36"} 
[2026-08-23 02:14:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582362624001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787431405000,"timestamp_ms":1787431405000,"timestamp_seconds":1787431405,"priority":1,"record_length":96,"hex_timestamp":"000001a02b36c5c8"} 
[2026-08-23 02:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 02:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582362624001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582362624001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:14:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:14:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582362624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":162803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:14:28] local.INFO: GPS data processed {"connection_id":162803,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:14:28] local.INFO: Acknowledgment sent {"connection_id":162803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:14:50] local.INFO: TCP Data received {"connection_id":160227,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:14:50] local.INFO: Processing buffer {"connection_id":160227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:14:50] local.INFO: IMEI packet received {"connection_id":160227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":160227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:14:51] local.INFO: TCP Data received {"connection_id":160424,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:14:51] local.INFO: Processing buffer {"connection_id":160424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:14:51] local.INFO: IMEI packet received {"connection_id":160424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":160424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:14:52] local.INFO: TCP Data received {"connection_id":160227,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:14:52] local.INFO: Processing buffer {"connection_id":160227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:14:52] local.INFO: IMEI packet received {"connection_id":160227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":160227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:14:56] local.INFO: TCP Data received {"connection_id":160424,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:14:56] local.INFO: Processing buffer {"connection_id":160424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:14:56] local.INFO: IMEI packet received {"connection_id":160424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":160424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:14:57] local.INFO: TCP Data received {"connection_id":160227,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:14:57] local.INFO: Processing buffer {"connection_id":160227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:14:57] local.INFO: IMEI packet received {"connection_id":160227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":160227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:14:57] local.INFO: TCP Data received {"connection_id":160424,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:14:57] local.INFO: Processing buffer {"connection_id":160424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:14:57] local.INFO: Packet analysis {"connection_id":160424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b36"} 
[2026-08-23 02:14:57] local.INFO: Extracted packet for processing {"connection_id":160424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b36"} 
[2026-08-23 02:14:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582362624001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787431405000,"timestamp_ms":1787431405000,"timestamp_seconds":1787431405,"priority":1,"record_length":96,"hex_timestamp":"000001a02b36c5c8"} 
[2026-08-23 02:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 02:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582362624001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582362624001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:14:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:14:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582362624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":160424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:14:57] local.INFO: GPS data processed {"connection_id":160424,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:14:57] local.INFO: Acknowledgment sent {"connection_id":160424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:14:58] local.INFO: TCP Data received {"connection_id":160227,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b376208012d43c58006673038000a013f30..."} 
[2026-08-23 02:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b376208012d43c58006673038000a013f30..."} 
[2026-08-23 02:14:58] local.INFO: Processing buffer {"connection_id":160227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b376208012d43c58006673038000a013f30..."} 
[2026-08-23 02:14:58] local.INFO: Packet analysis {"connection_id":160227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b37"} 
[2026-08-23 02:14:58] local.INFO: Extracted packet for processing {"connection_id":160227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b37"} 
[2026-08-23 02:14:58] local.INFO: GPS Element Parsed {"raw_longitude":759416192,"raw_latitude":107425848,"longitude_deg":75.9416192,"latitude_deg":10.7425848,"altitude":10,"angle":319,"satellites":48,"speed":41,"hex_longitude":"2d43c580","hex_latitude":"06673038","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582447872001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389603428382277632,"note":"Value kept but may cause issues"} 
[2026-08-23 02:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4888587054265739264,"note":"Value kept but may cause issues"} 
[2026-08-23 02:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787431445000,"timestamp_ms":1787431445000,"timestamp_seconds":1787431445,"priority":1,"record_length":96,"hex_timestamp":"000001a02b376208"} 
[2026-08-23 02:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02: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":185,"data_length":795,"current_offset":136} 
[2026-08-23 02:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:14:58] 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-08-23 02:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582447872001,"66":27267,"19":206,"80":60416,"24":41,"16":389603428382277632,"45":4888587054265739264},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-08-23 02:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582447872001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:14:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-23 02:14:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389603428382277632,"km_value":389603428382277.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4888587054265739264,"description":"Unknown IO ID 45"} 
[2026-08-23 02:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582447872001,"power":27267,"unknown_19":206,"unknown_80":60416,"ignition":41,"odometer":null,"unknown_45":4888587054265739264}} 
[2026-08-23 02:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":160227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:14:58] local.INFO: GPS data processed {"connection_id":160227,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:14:58] local.INFO: Acknowledgment sent {"connection_id":160227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:14:59] local.INFO: TCP Data received {"connection_id":160227,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b377d60012d43afc0066744780009013330..."} 
[2026-08-23 02:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b377d60012d43afc0066744780009013330..."} 
[2026-08-23 02:14:59] local.INFO: Processing buffer {"connection_id":160227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b377d60012d43afc0066744780009013330..."} 
[2026-08-23 02:14:59] local.INFO: Packet analysis {"connection_id":160227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b37"} 
[2026-08-23 02:14:59] local.INFO: Extracted packet for processing {"connection_id":160227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b37"} 
[2026-08-23 02:14:59] local.INFO: GPS Element Parsed {"raw_longitude":759410624,"raw_latitude":107431032,"longitude_deg":75.9410624,"latitude_deg":10.7431032,"altitude":9,"angle":307,"satellites":48,"speed":43,"hex_longitude":"2d43afc0","hex_latitude":"06674478","is_valid_coordinates":true} 
[2026-08-23 02:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582449920001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389603793454497792,"note":"Value kept but may cause issues"} 
[2026-08-23 02:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4883450135942543360,"note":"Value kept but may cause issues"} 
[2026-08-23 02:14:59] 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-08-23 02:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787431452000,"timestamp_ms":1787431452000,"timestamp_seconds":1787431452,"priority":1,"record_length":96,"hex_timestamp":"000001a02b377d60"} 
[2026-08-23 02:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 02:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:14:59] 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-08-23 02:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582449920001,"66":27397,"19":206,"80":60416,"24":43,"16":389603793454497792,"45":4883450135942543360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-08-23 02:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582449920001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:14:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-23 02:14:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389603793454497792,"km_value":389603793454497.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4883450135942543360,"description":"Unknown IO ID 45"} 
[2026-08-23 02:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582449920001,"power":27397,"unknown_19":206,"unknown_80":60416,"ignition":43,"odometer":null,"unknown_45":4883450135942543360}} 
[2026-08-23 02:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":160227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:14:59] local.INFO: GPS data processed {"connection_id":160227,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:14:59] local.INFO: Acknowledgment sent {"connection_id":160227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:15:28] local.INFO: TCP Data received {"connection_id":160424,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:15:28] local.INFO: Processing buffer {"connection_id":160424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:15:28] local.INFO: Packet analysis {"connection_id":160424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b36"} 
[2026-08-23 02:15:28] local.INFO: Extracted packet for processing {"connection_id":160424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b36"} 
[2026-08-23 02:15:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582362624001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787431405000,"timestamp_ms":1787431405000,"timestamp_seconds":1787431405,"priority":1,"record_length":96,"hex_timestamp":"000001a02b36c5c8"} 
[2026-08-23 02:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 02:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582362624001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582362624001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:15:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:15:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582362624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":160424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:15:28] local.INFO: GPS data processed {"connection_id":160424,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:15:28] local.INFO: Acknowledgment sent {"connection_id":160424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:15:33] local.INFO: TCP Data received {"connection_id":160227,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3794d0012d439980066751e0000a012731..."} 
[2026-08-23 02:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3794d0012d439980066751e0000a012731..."} 
[2026-08-23 02:15:33] local.INFO: Processing buffer {"connection_id":160227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3794d0012d439980066751e0000a012731..."} 
[2026-08-23 02:15:33] local.INFO: Packet analysis {"connection_id":160227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b37"} 
[2026-08-23 02:15:33] local.INFO: Extracted packet for processing {"connection_id":160227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b37"} 
[2026-08-23 02:15:33] local.INFO: GPS Element Parsed {"raw_longitude":759404928,"raw_latitude":107434464,"longitude_deg":75.9404928,"latitude_deg":10.7434464,"altitude":10,"angle":295,"satellites":49,"speed":43,"hex_longitude":"2d439980","hex_latitude":"066751e0","is_valid_coordinates":true} 
[2026-08-23 02:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582451712001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389604115577044992,"note":"Value kept but may cause issues"} 
[2026-08-23 02:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4877328055200413696,"note":"Value kept but may cause issues"} 
[2026-08-23 02:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787431458000,"timestamp_ms":1787431458000,"timestamp_seconds":1787431458,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3794d0"} 
[2026-08-23 02:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:15: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-08-23 02:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 02:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:15:33] 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-08-23 02:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582451712001,"66":27332,"19":206,"80":60416,"24":43,"16":389604115577044992,"45":4877328055200413696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-08-23 02:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582451712001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:15:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-23 02:15:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389604115577044992,"km_value":389604115577045.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4877328055200413696,"description":"Unknown IO ID 45"} 
[2026-08-23 02:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582451712001,"power":27332,"unknown_19":206,"unknown_80":60416,"ignition":43,"odometer":null,"unknown_45":4877328055200413696}} 
[2026-08-23 02:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":160227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:15:33] local.INFO: GPS data processed {"connection_id":160227,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:15:33] local.INFO: Acknowledgment sent {"connection_id":160227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:15:50] local.INFO: TCP Data received {"connection_id":162804,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:15:50] local.INFO: Processing buffer {"connection_id":162804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:15:50] local.INFO: IMEI packet received {"connection_id":162804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":162804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:15:51] local.INFO: TCP Data received {"connection_id":162805,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:15:51] local.INFO: Processing buffer {"connection_id":162805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:15:51] local.INFO: IMEI packet received {"connection_id":162805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":162805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:15:52] local.INFO: TCP Data received {"connection_id":162804,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:15:52] local.INFO: Processing buffer {"connection_id":162804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:15:52] local.INFO: IMEI packet received {"connection_id":162804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":162804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:15:56] local.INFO: TCP Data received {"connection_id":162805,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:15:56] local.INFO: Processing buffer {"connection_id":162805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:15:56] local.INFO: IMEI packet received {"connection_id":162805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":162805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:15:57] local.INFO: TCP Data received {"connection_id":162804,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:15:57] local.INFO: Processing buffer {"connection_id":162804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:15:57] local.INFO: IMEI packet received {"connection_id":162804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":162804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:15:57] local.INFO: TCP Data received {"connection_id":162805,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:15:57] local.INFO: Processing buffer {"connection_id":162805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:15:57] local.INFO: Packet analysis {"connection_id":162805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b36"} 
[2026-08-23 02:15:57] local.INFO: Extracted packet for processing {"connection_id":162805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b36"} 
[2026-08-23 02:15:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582362624001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787431405000,"timestamp_ms":1787431405000,"timestamp_seconds":1787431405,"priority":1,"record_length":96,"hex_timestamp":"000001a02b36c5c8"} 
[2026-08-23 02:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 02:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582362624001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582362624001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:15:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:15:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582362624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":162805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:15:57] local.INFO: GPS data processed {"connection_id":162805,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:15:57] local.INFO: Acknowledgment sent {"connection_id":162805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:15:58] local.INFO: TCP Data received {"connection_id":162804,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b37b7f8012d43764006675dd8000b011d32..."} 
[2026-08-23 02:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b37b7f8012d43764006675dd8000b011d32..."} 
[2026-08-23 02:15:58] local.INFO: Processing buffer {"connection_id":162804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b37b7f8012d43764006675dd8000b011d32..."} 
[2026-08-23 02:15:58] local.INFO: Packet analysis {"connection_id":162804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b37"} 
[2026-08-23 02:15:58] local.INFO: Extracted packet for processing {"connection_id":162804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b37"} 
[2026-08-23 02:15:58] local.INFO: GPS Element Parsed {"raw_longitude":759395904,"raw_latitude":107437528,"longitude_deg":75.9395904,"latitude_deg":10.7437528,"altitude":11,"angle":285,"satellites":50,"speed":40,"hex_longitude":"2d437640","hex_latitude":"06675dd8","is_valid_coordinates":true} 
[2026-08-23 02:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582453248001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389604566548611072,"note":"Value kept but may cause issues"} 
[2026-08-23 02:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4871065236969480192,"note":"Value kept but may cause issues"} 
[2026-08-23 02:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787431467000,"timestamp_ms":1787431467000,"timestamp_seconds":1787431467,"priority":1,"record_length":96,"hex_timestamp":"000001a02b37b7f8"} 
[2026-08-23 02:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 02:15: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-08-23 02:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:15:58] 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-08-23 02:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582453248001,"66":27267,"19":206,"80":60416,"24":40,"16":389604566548611072,"45":4871065236969480192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-08-23 02:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582453248001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:15:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-23 02:15:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389604566548611072,"km_value":389604566548611.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4871065236969480192,"description":"Unknown IO ID 45"} 
[2026-08-23 02:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582453248001,"power":27267,"unknown_19":206,"unknown_80":60416,"ignition":40,"odometer":null,"unknown_45":4871065236969480192}} 
[2026-08-23 02:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":162804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:15:58] local.INFO: GPS data processed {"connection_id":162804,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:15:58] local.INFO: Acknowledgment sent {"connection_id":162804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:16:29] local.INFO: TCP Data received {"connection_id":162805,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:16:29] local.INFO: Processing buffer {"connection_id":162805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:16:29] local.INFO: Packet analysis {"connection_id":162805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b36"} 
[2026-08-23 02:16:29] local.INFO: Extracted packet for processing {"connection_id":162805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b36"} 
[2026-08-23 02:16:29] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582362624001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787431405000,"timestamp_ms":1787431405000,"timestamp_seconds":1787431405,"priority":1,"record_length":96,"hex_timestamp":"000001a02b36c5c8"} 
[2026-08-23 02:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 02:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582362624001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582362624001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:16:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:16:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582362624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":162805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:16:29] local.INFO: GPS data processed {"connection_id":162805,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:16:29] local.INFO: Acknowledgment sent {"connection_id":162805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:16:29] local.INFO: TCP Data received {"connection_id":162804,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b37db20012d4353c006676548000c011a32..."} 
[2026-08-23 02:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b37db20012d4353c006676548000c011a32..."} 
[2026-08-23 02:16:29] local.INFO: Processing buffer {"connection_id":162804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b37db20012d4353c006676548000c011a32..."} 
[2026-08-23 02:16:29] local.INFO: Packet analysis {"connection_id":162804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b37"} 
[2026-08-23 02:16:29] local.INFO: Extracted packet for processing {"connection_id":162804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b37"} 
[2026-08-23 02:16:29] local.INFO: GPS Element Parsed {"raw_longitude":759387072,"raw_latitude":107439432,"longitude_deg":75.9387072,"latitude_deg":10.7439432,"altitude":12,"angle":282,"satellites":50,"speed":40,"hex_longitude":"2d4353c0","hex_latitude":"06676548","is_valid_coordinates":true} 
[2026-08-23 02:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582455552001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389605000340307968,"note":"Value kept but may cause issues"} 
[2026-08-23 02:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4861143244041213952,"note":"Value kept but may cause issues"} 
[2026-08-23 02:16:29] 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-08-23 02:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787431476000,"timestamp_ms":1787431476000,"timestamp_seconds":1787431476,"priority":1,"record_length":96,"hex_timestamp":"000001a02b37db20"} 
[2026-08-23 02:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:16: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-08-23 02:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 02:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:16:29] 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-08-23 02:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582455552001,"66":27310,"19":206,"80":60416,"24":40,"16":389605000340307968,"45":4861143244041213952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-08-23 02:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582455552001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:16:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-23 02:16:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389605000340307968,"km_value":389605000340307.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4861143244041213952,"description":"Unknown IO ID 45"} 
[2026-08-23 02:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582455552001,"power":27310,"unknown_19":206,"unknown_80":60416,"ignition":40,"odometer":null,"unknown_45":4861143244041213952}} 
[2026-08-23 02:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":162804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:16:29] local.INFO: GPS data processed {"connection_id":162804,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:16:29] local.INFO: Acknowledgment sent {"connection_id":162804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:16:47] local.INFO: TCP Data received {"connection_id":160228,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:16:47] local.INFO: Processing buffer {"connection_id":160228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:16:47] local.INFO: IMEI packet received {"connection_id":160228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":160228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:16:48] local.INFO: TCP Data received {"connection_id":160228,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:16:48] local.INFO: Processing buffer {"connection_id":160228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:16:48] local.INFO: IMEI packet received {"connection_id":160228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":160228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:16:52] local.INFO: TCP Data received {"connection_id":160228,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:16:52] local.INFO: Processing buffer {"connection_id":160228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:16:52] local.INFO: IMEI packet received {"connection_id":160228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":160228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:16:53] local.INFO: TCP Data received {"connection_id":160228,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b37fe48012d432f8006676cd0000c011933..."} 
[2026-08-23 02:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b37fe48012d432f8006676cd0000c011933..."} 
[2026-08-23 02:16:53] local.INFO: Processing buffer {"connection_id":160228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b37fe48012d432f8006676cd0000c011933..."} 
[2026-08-23 02:16:53] local.INFO: Packet analysis {"connection_id":160228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b37"} 
[2026-08-23 02:16:53] local.INFO: Extracted packet for processing {"connection_id":160228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b37"} 
[2026-08-23 02:16:53] local.INFO: GPS Element Parsed {"raw_longitude":759377792,"raw_latitude":107441360,"longitude_deg":75.9377792,"latitude_deg":10.744136,"altitude":12,"angle":281,"satellites":51,"speed":42,"hex_longitude":"2d432f80","hex_latitude":"06676cd0","is_valid_coordinates":true} 
[2026-08-23 02:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582457856001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389605451311874048,"note":"Value kept but may cause issues"} 
[2026-08-23 02:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4851432357345183744,"note":"Value kept but may cause issues"} 
[2026-08-23 02:16:53] 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-08-23 02:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787431485000,"timestamp_ms":1787431485000,"timestamp_seconds":1787431485,"priority":1,"record_length":96,"hex_timestamp":"000001a02b37fe48"} 
[2026-08-23 02:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:16: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-08-23 02:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-23 02:16:53] 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-08-23 02:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:16:53] 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-08-23 02:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582457856001,"66":27267,"19":206,"80":60416,"24":42,"16":389605451311874048,"45":4851432357345183744},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-08-23 02:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582457856001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:16:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-23 02:16:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389605451311874048,"km_value":389605451311874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4851432357345183744,"description":"Unknown IO ID 45"} 
[2026-08-23 02:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582457856001,"power":27267,"unknown_19":206,"unknown_80":60416,"ignition":42,"odometer":null,"unknown_45":4851432357345183744}} 
[2026-08-23 02:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":160228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:16:53] local.INFO: GPS data processed {"connection_id":160228,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:16:53] local.INFO: Acknowledgment sent {"connection_id":160228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:16:56] local.INFO: TCP Data received {"connection_id":161386,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:16:56] local.INFO: Processing buffer {"connection_id":161386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:16:56] local.INFO: IMEI packet received {"connection_id":161386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":161386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:17:01] local.INFO: TCP Data received {"connection_id":161386,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:17:01] local.INFO: Processing buffer {"connection_id":161386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:17:01] local.INFO: IMEI packet received {"connection_id":161386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":161386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:17:02] local.INFO: TCP Data received {"connection_id":161386,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:17:02] local.INFO: Processing buffer {"connection_id":161386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:17:02] local.INFO: Packet analysis {"connection_id":161386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b36"} 
[2026-08-23 02:17:02] local.INFO: Extracted packet for processing {"connection_id":161386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b36"} 
[2026-08-23 02:17:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582362624001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787431405000,"timestamp_ms":1787431405000,"timestamp_seconds":1787431405,"priority":1,"record_length":96,"hex_timestamp":"000001a02b36c5c8"} 
[2026-08-23 02:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 02:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582362624001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582362624001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:17:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:17:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582362624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":161386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:17:02] local.INFO: GPS data processed {"connection_id":161386,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:17:02] local.INFO: Acknowledgment sent {"connection_id":161386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:17:06] local.INFO: TCP Data received {"connection_id":161386,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:17:06] local.INFO: Processing buffer {"connection_id":161386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:17:06] local.INFO: Packet analysis {"connection_id":161386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b36"} 
[2026-08-23 02:17:06] local.INFO: Extracted packet for processing {"connection_id":161386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b36"} 
[2026-08-23 02:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582362624001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787431405000,"timestamp_ms":1787431405000,"timestamp_seconds":1787431405,"priority":1,"record_length":96,"hex_timestamp":"000001a02b36c5c8"} 
[2026-08-23 02:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 02:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582362624001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582362624001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:17:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582362624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":161386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:17:06] local.INFO: GPS data processed {"connection_id":161386,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:17:06] local.INFO: Acknowledgment sent {"connection_id":161386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:17:25] local.INFO: TCP Data received {"connection_id":160228,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b398100012d4223c00668b7300005015331..."} 
[2026-08-23 02:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b398100012d4223c00668b7300005015331..."} 
[2026-08-23 02:17:25] local.INFO: Processing buffer {"connection_id":160228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b398100012d4223c00668b7300005015331..."} 
[2026-08-23 02:17:25] local.INFO: Packet analysis {"connection_id":160228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b39"} 
[2026-08-23 02:17:25] local.INFO: Extracted packet for processing {"connection_id":160228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b39"} 
[2026-08-23 02:17:25] local.INFO: GPS Element Parsed {"raw_longitude":759309248,"raw_latitude":107525936,"longitude_deg":75.9309248,"latitude_deg":10.7525936,"altitude":5,"angle":339,"satellites":49,"speed":50,"hex_longitude":"2d4223c0","hex_latitude":"0668b730","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582483712001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389611150733475840,"note":"Value kept but may cause issues"} 
[2026-08-23 02:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4769382401654009856,"note":"Value kept but may cause issues"} 
[2026-08-23 02:17:25] 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-08-23 02:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787431584000,"timestamp_ms":1787431584000,"timestamp_seconds":1787431584,"priority":1,"record_length":96,"hex_timestamp":"000001a02b398100"} 
[2026-08-23 02:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 02:17: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-08-23 02: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-08-23 02:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:17:25] 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-08-23 02:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582483712001,"66":27376,"97":206,"80":60416,"24":50,"16":389611150733475840,"45":4769382401654009856},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-08-23 02:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582483712001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:17:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 02:17:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389611150733475840,"km_value":389611150733475.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4769382401654009856,"description":"Unknown IO ID 45"} 
[2026-08-23 02:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582483712001,"power":27376,"unknown_97":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":4769382401654009856}} 
[2026-08-23 02:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":160228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:17:25] local.INFO: GPS data processed {"connection_id":160228,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:17:25] local.INFO: Acknowledgment sent {"connection_id":160228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:17:51] local.INFO: TCP Data received {"connection_id":161388,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:17:51] local.INFO: Processing buffer {"connection_id":161388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:17:51] local.INFO: IMEI packet received {"connection_id":161388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":161388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:17:56] local.INFO: TCP Data received {"connection_id":161388,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:17:56] local.INFO: Processing buffer {"connection_id":161388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:17:56] local.INFO: IMEI packet received {"connection_id":161388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":161388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:17:57] local.INFO: TCP Data received {"connection_id":161387,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:17:57] local.INFO: Processing buffer {"connection_id":161387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:17:57] local.INFO: IMEI packet received {"connection_id":161387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":161387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:17:57] local.INFO: TCP Data received {"connection_id":161388,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:17:57] local.INFO: Processing buffer {"connection_id":161388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:17:57] local.INFO: Packet analysis {"connection_id":161388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b36"} 
[2026-08-23 02:17:57] local.INFO: Extracted packet for processing {"connection_id":161388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b36"} 
[2026-08-23 02:17:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582362624001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787431405000,"timestamp_ms":1787431405000,"timestamp_seconds":1787431405,"priority":1,"record_length":96,"hex_timestamp":"000001a02b36c5c8"} 
[2026-08-23 02:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 02:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582362624001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582362624001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:17:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:17:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582362624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":161388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:17:57] local.INFO: GPS data processed {"connection_id":161388,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:17:57] local.INFO: Acknowledgment sent {"connection_id":161388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:17:58] local.INFO: TCP Data received {"connection_id":161387,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:17:58] local.INFO: Processing buffer {"connection_id":161387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:17:58] local.INFO: IMEI packet received {"connection_id":161387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":161387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:17:59] local.INFO: TCP Data received {"connection_id":161387,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b39a040012d4216000668db400006015330..."} 
[2026-08-23 02:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b39a040012d4216000668db400006015330..."} 
[2026-08-23 02:17:59] local.INFO: Processing buffer {"connection_id":161387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b39a040012d4216000668db400006015330..."} 
[2026-08-23 02:17:59] local.INFO: Packet analysis {"connection_id":161387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b39"} 
[2026-08-23 02:17:59] local.INFO: Extracted packet for processing {"connection_id":161387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b39"} 
[2026-08-23 02:17:59] local.INFO: GPS Element Parsed {"raw_longitude":759305728,"raw_latitude":107535168,"longitude_deg":75.9305728,"latitude_deg":10.7535168,"altitude":6,"angle":339,"satellites":48,"speed":47,"hex_longitude":"2d421600","hex_latitude":"0668db40","is_valid_coordinates":true} 
[2026-08-23 02:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582485504001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389611627474845696,"note":"Value kept but may cause issues"} 
[2026-08-23 02:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4765863964447289344,"note":"Value kept but may cause issues"} 
[2026-08-23 02:17:59] 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-08-23 02:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787431592000,"timestamp_ms":1787431592000,"timestamp_seconds":1787431592,"priority":1,"record_length":96,"hex_timestamp":"000001a02b39a040"} 
[2026-08-23 02:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 02:17: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-08-23 02:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:17:59] 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-08-23 02:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582485504001,"66":27365,"97":206,"80":60416,"24":47,"16":389611627474845696,"45":4765863964447289344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-08-23 02:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582485504001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:17:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 02:17:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389611627474845696,"km_value":389611627474845.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4765863964447289344,"description":"Unknown IO ID 45"} 
[2026-08-23 02:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582485504001,"power":27365,"unknown_97":206,"unknown_80":60416,"ignition":47,"odometer":null,"unknown_45":4765863964447289344}} 
[2026-08-23 02:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":161387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:17:59] local.INFO: GPS data processed {"connection_id":161387,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:17:59] local.INFO: Acknowledgment sent {"connection_id":161387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:18:00] local.INFO: TCP Data received {"connection_id":161387,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b39bf80012d4209400668fd000006015230..."} 
[2026-08-23 02:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b39bf80012d4209400668fd000006015230..."} 
[2026-08-23 02:18:00] local.INFO: Processing buffer {"connection_id":161387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b39bf80012d4209400668fd000006015230..."} 
[2026-08-23 02:18:00] local.INFO: Packet analysis {"connection_id":161387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b39"} 
[2026-08-23 02:18:00] local.INFO: Extracted packet for processing {"connection_id":161387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b39"} 
[2026-08-23 02:18:00] local.INFO: GPS Element Parsed {"raw_longitude":759302464,"raw_latitude":107543808,"longitude_deg":75.9302464,"latitude_deg":10.7543808,"altitude":6,"angle":338,"satellites":48,"speed":44,"hex_longitude":"2d420940","hex_latitude":"0668fd00","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582487552001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389612074151444480,"note":"Value kept but may cause issues"} 
[2026-08-23 02:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4761993683519881216,"note":"Value kept but may cause issues"} 
[2026-08-23 02:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787431600000,"timestamp_ms":1787431600000,"timestamp_seconds":1787431600,"priority":1,"record_length":96,"hex_timestamp":"000001a02b39bf80"} 
[2026-08-23 02:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:18: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-08-23 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 02:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:18:00] 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-08-23 02:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582487552001,"66":27365,"97":206,"80":60416,"24":44,"16":389612074151444480,"45":4761993683519881216},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-08-23 02:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582487552001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:18:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 02:18:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389612074151444480,"km_value":389612074151444.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4761993683519881216,"description":"Unknown IO ID 45"} 
[2026-08-23 02:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582487552001,"power":27365,"unknown_97":206,"unknown_80":60416,"ignition":44,"odometer":null,"unknown_45":4761993683519881216}} 
[2026-08-23 02:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":161387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:18:00] local.INFO: GPS data processed {"connection_id":161387,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:18:00] local.INFO: Acknowledgment sent {"connection_id":161387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:18:28] local.INFO: TCP Data received {"connection_id":161388,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:18:28] local.INFO: Processing buffer {"connection_id":161388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:18:28] local.INFO: Packet analysis {"connection_id":161388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b36"} 
[2026-08-23 02:18:28] local.INFO: Extracted packet for processing {"connection_id":161388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b36"} 
[2026-08-23 02:18:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582362624001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787431405000,"timestamp_ms":1787431405000,"timestamp_seconds":1787431405,"priority":1,"record_length":96,"hex_timestamp":"000001a02b36c5c8"} 
[2026-08-23 02:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 02:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582362624001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582362624001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:18:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:18:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582362624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":161388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:18:28] local.INFO: GPS data processed {"connection_id":161388,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:18:28] local.INFO: Acknowledgment sent {"connection_id":161388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:18:47] local.INFO: TCP Data received {"connection_id":161389,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:18:47] local.INFO: Processing buffer {"connection_id":161389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:18:47] local.INFO: IMEI packet received {"connection_id":161389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":161389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:18:48] local.INFO: TCP Data received {"connection_id":161389,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:18:48] local.INFO: Processing buffer {"connection_id":161389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:18:48] local.INFO: IMEI packet received {"connection_id":161389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":161389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:18:51] local.INFO: TCP Data received {"connection_id":160229,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:18:51] local.INFO: Processing buffer {"connection_id":160229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:18:51] local.INFO: IMEI packet received {"connection_id":160229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":160229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:18:52] local.INFO: TCP Data received {"connection_id":161389,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:18:52] local.INFO: Processing buffer {"connection_id":161389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:18:52] local.INFO: IMEI packet received {"connection_id":161389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":161389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:18:54] local.INFO: TCP Data received {"connection_id":161389,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b39dec0012d41fc4006691e800006015430..."} 
[2026-08-23 02:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b39dec0012d41fc4006691e800006015430..."} 
[2026-08-23 02:18:54] local.INFO: Processing buffer {"connection_id":161389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b39dec0012d41fc4006691e800006015430..."} 
[2026-08-23 02:18:54] local.INFO: Packet analysis {"connection_id":161389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b39"} 
[2026-08-23 02:18:54] local.INFO: Extracted packet for processing {"connection_id":161389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b39"} 
[2026-08-23 02:18:54] local.INFO: GPS Element Parsed {"raw_longitude":759299136,"raw_latitude":107552384,"longitude_deg":75.9299136,"latitude_deg":10.7552384,"altitude":6,"angle":340,"satellites":48,"speed":46,"hex_longitude":"2d41fc40","hex_latitude":"06691e80","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582489600001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389612516533075968,"note":"Value kept but may cause issues"} 
[2026-08-23 02:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4758404877569032192,"note":"Value kept but may cause issues"} 
[2026-08-23 02:18:54] 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-08-23 02:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787431608000,"timestamp_ms":1787431608000,"timestamp_seconds":1787431608,"priority":1,"record_length":96,"hex_timestamp":"000001a02b39dec0"} 
[2026-08-23 02:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 02:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:18:54] 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-08-23 02:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582489600001,"66":27332,"97":206,"80":60416,"24":46,"16":389612516533075968,"45":4758404877569032192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-08-23 02:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582489600001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:18:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 02:18:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389612516533075968,"km_value":389612516533075.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4758404877569032192,"description":"Unknown IO ID 45"} 
[2026-08-23 02:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582489600001,"power":27332,"unknown_97":206,"unknown_80":60416,"ignition":46,"odometer":null,"unknown_45":4758404877569032192}} 
[2026-08-23 02:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":161389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:18:54] local.INFO: GPS data processed {"connection_id":161389,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:18:54] local.INFO: Acknowledgment sent {"connection_id":161389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:18:56] local.INFO: TCP Data received {"connection_id":160229,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:18:56] local.INFO: Processing buffer {"connection_id":160229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:18:56] local.INFO: IMEI packet received {"connection_id":160229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":160229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:18:57] local.INFO: TCP Data received {"connection_id":160229,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:18:57] local.INFO: Processing buffer {"connection_id":160229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b36c5c8012d196540071ff1b00044013726..."} 
[2026-08-23 02:18:57] local.INFO: Packet analysis {"connection_id":160229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b36"} 
[2026-08-23 02:18:57] local.INFO: Extracted packet for processing {"connection_id":160229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b36"} 
[2026-08-23 02:18:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582362624001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787431405000,"timestamp_ms":1787431405000,"timestamp_seconds":1787431405,"priority":1,"record_length":96,"hex_timestamp":"000001a02b36c5c8"} 
[2026-08-23 02:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 02:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:18:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582362624001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582362624001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:18:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:18:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582362624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":160229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:18:57] local.INFO: GPS data processed {"connection_id":160229,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:18:57] local.INFO: Acknowledgment sent {"connection_id":160229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:19:28] local.INFO: TCP Data received {"connection_id":160229,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:19:28] local.INFO: Processing buffer {"connection_id":160229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:19:28] local.INFO: Packet analysis {"connection_id":160229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:19:28] local.INFO: Extracted packet for processing {"connection_id":160229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582439680001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787431706000,"timestamp_ms":1787431706000,"timestamp_seconds":1787431706,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3b5d90"} 
[2026-08-23 02:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582439680001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582439680001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:19:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:19:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582439680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":160229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:19:28] local.INFO: GPS data processed {"connection_id":160229,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:19:28] local.INFO: Acknowledgment sent {"connection_id":160229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:19:47] local.INFO: TCP Data received {"connection_id":161389,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3b6178012d41e8c0066a8d58000b002333..."} 
[2026-08-23 02:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3b6178012d41e8c0066a8d58000b002333..."} 
[2026-08-23 02:19:47] local.INFO: Processing buffer {"connection_id":161389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3b6178012d41e8c0066a8d58000b002333..."} 
[2026-08-23 02:19:47] local.INFO: Packet analysis {"connection_id":161389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:19:47] local.INFO: Extracted packet for processing {"connection_id":161389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:19:47] local.INFO: GPS Element Parsed {"raw_longitude":759294144,"raw_latitude":107646296,"longitude_deg":75.9294144,"latitude_deg":10.7646296,"altitude":11,"angle":35,"satellites":51,"speed":47,"hex_longitude":"2d41e8c0","hex_latitude":"066a8d58","is_valid_coordinates":true} 
[2026-08-23 02:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582514944001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:19:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 02:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389617374141087744,"note":"Value kept but may cause issues"} 
[2026-08-23 02:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4743275597595138048,"note":"Value kept but may cause issues"} 
[2026-08-23 02:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 02:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787431707000,"timestamp_ms":1787431707000,"timestamp_seconds":1787431707,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3b6178"} 
[2026-08-23 02:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:19: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-08-23 02:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 02:19:47] 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-08-23 02:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:19:47] 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-08-23 02:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582514944001,"66":27332,"200":0,"80":60416,"24":47,"16":389617374141087744,"45":4743275597595138048},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,80,24,16,45]} 
[2026-08-23 02:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582514944001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:19:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389617374141087744,"km_value":389617374141087.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4743275597595138048,"description":"Unknown IO ID 45"} 
[2026-08-23 02:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582514944001,"power":27332,"gsm_signal":0,"unknown_80":60416,"ignition":47,"odometer":null,"unknown_45":4743275597595138048}} 
[2026-08-23 02:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":161389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:19:47] local.INFO: GPS data processed {"connection_id":161389,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:19:47] local.INFO: Acknowledgment sent {"connection_id":161389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:19:51] local.INFO: TCP Data received {"connection_id":160426,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:19:51] local.INFO: Processing buffer {"connection_id":160426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:19:51] local.INFO: IMEI packet received {"connection_id":160426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":160426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:19:51] local.INFO: TCP Data received {"connection_id":160425,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:19:51] local.INFO: Processing buffer {"connection_id":160425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:19:51] local.INFO: IMEI packet received {"connection_id":160425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":160425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:19:52] local.INFO: TCP Data received {"connection_id":160425,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:19:52] local.INFO: Processing buffer {"connection_id":160425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:19:52] local.INFO: IMEI packet received {"connection_id":160425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":160425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:19:56] local.INFO: TCP Data received {"connection_id":160426,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:19:56] local.INFO: Processing buffer {"connection_id":160426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:19:56] local.INFO: IMEI packet received {"connection_id":160426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":160426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:19:57] local.INFO: TCP Data received {"connection_id":160426,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:19:57] local.INFO: Processing buffer {"connection_id":160426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:19:57] local.INFO: Packet analysis {"connection_id":160426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:19:57] local.INFO: Extracted packet for processing {"connection_id":160426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:19:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582439680001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787431706000,"timestamp_ms":1787431706000,"timestamp_seconds":1787431706,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3b5d90"} 
[2026-08-23 02:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582439680001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582439680001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:19:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:19:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582439680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":160426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:19:57] local.INFO: GPS data processed {"connection_id":160426,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:19:57] local.INFO: Acknowledgment sent {"connection_id":160426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:19:57] local.INFO: TCP Data received {"connection_id":160425,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:19:57] local.INFO: Processing buffer {"connection_id":160425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:19:57] local.INFO: IMEI packet received {"connection_id":160425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":160425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:19:58] local.INFO: TCP Data received {"connection_id":160425,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3b84a0012d41fec0066aab38000e002434..."} 
[2026-08-23 02:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3b84a0012d41fec0066aab38000e002434..."} 
[2026-08-23 02:19:58] local.INFO: Processing buffer {"connection_id":160425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3b84a0012d41fec0066aab38000e002434..."} 
[2026-08-23 02:19:58] local.INFO: Packet analysis {"connection_id":160425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:19:58] local.INFO: Extracted packet for processing {"connection_id":160425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:19:58] local.INFO: GPS Element Parsed {"raw_longitude":759299776,"raw_latitude":107653944,"longitude_deg":75.9299776,"latitude_deg":10.7653944,"altitude":14,"angle":36,"satellites":52,"speed":39,"hex_longitude":"2d41fec0","hex_latitude":"066aab38","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582516992001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:19:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 02:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389617833702588416,"note":"Value kept but may cause issues"} 
[2026-08-23 02:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4749256940852172800,"note":"Value kept but may cause issues"} 
[2026-08-23 02:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 02:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787431716000,"timestamp_ms":1787431716000,"timestamp_seconds":1787431716,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3b84a0"} 
[2026-08-23 02:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02: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":196,"data_length":795,"current_offset":136} 
[2026-08-23 02:19: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-08-23 02: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-08-23 02:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:19:58] 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-08-23 02:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582516992001,"66":27321,"200":0,"80":60416,"24":39,"16":389617833702588416,"45":4749256940852172800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,80,24,16,45]} 
[2026-08-23 02:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582516992001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:19:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389617833702588416,"km_value":389617833702588.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4749256940852172800,"description":"Unknown IO ID 45"} 
[2026-08-23 02:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582516992001,"power":27321,"gsm_signal":0,"unknown_80":60416,"ignition":39,"odometer":null,"unknown_45":4749256940852172800}} 
[2026-08-23 02:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":160425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:19:58] local.INFO: GPS data processed {"connection_id":160425,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:19:58] local.INFO: Acknowledgment sent {"connection_id":160425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:20:28] local.INFO: TCP Data received {"connection_id":160426,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:20:28] local.INFO: Processing buffer {"connection_id":160426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:20:28] local.INFO: Packet analysis {"connection_id":160426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:20:28] local.INFO: Extracted packet for processing {"connection_id":160426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582439680001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787431706000,"timestamp_ms":1787431706000,"timestamp_seconds":1787431706,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3b5d90"} 
[2026-08-23 02:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582439680001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582439680001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:20:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:20:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582439680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":160426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:20:28] local.INFO: GPS data processed {"connection_id":160426,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:20:28] local.INFO: Acknowledgment sent {"connection_id":160426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:20:29] local.INFO: TCP Data received {"connection_id":160425,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3ba7c8012d421340066ac7b8000e002334..."} 
[2026-08-23 02:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3ba7c8012d421340066ac7b8000e002334..."} 
[2026-08-23 02:20:29] local.INFO: Processing buffer {"connection_id":160425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3ba7c8012d421340066ac7b8000e002334..."} 
[2026-08-23 02:20:29] local.INFO: Packet analysis {"connection_id":160425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:20:29] local.INFO: Extracted packet for processing {"connection_id":160425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:20:29] local.INFO: GPS Element Parsed {"raw_longitude":759305024,"raw_latitude":107661240,"longitude_deg":75.9305024,"latitude_deg":10.766124,"altitude":14,"angle":35,"satellites":52,"speed":39,"hex_longitude":"2d421340","hex_latitude":"066ac7b8","is_valid_coordinates":true} 
[2026-08-23 02:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582519296001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:20:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 02:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389618267494285312,"note":"Value kept but may cause issues"} 
[2026-08-23 02:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4755449390341765120,"note":"Value kept but may cause issues"} 
[2026-08-23 02:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 02:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787431725000,"timestamp_ms":1787431725000,"timestamp_seconds":1787431725,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3ba7c8"} 
[2026-08-23 02:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:20: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-08-23 02:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 02:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:20:29] 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-08-23 02:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582519296001,"66":27213,"200":0,"80":60416,"24":39,"16":389618267494285312,"45":4755449390341765120},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,80,24,16,45]} 
[2026-08-23 02:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582519296001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:20:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389618267494285312,"km_value":389618267494285.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4755449390341765120,"description":"Unknown IO ID 45"} 
[2026-08-23 02:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582519296001,"power":27213,"gsm_signal":0,"unknown_80":60416,"ignition":39,"odometer":null,"unknown_45":4755449390341765120}} 
[2026-08-23 02:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":160425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:20:29] local.INFO: GPS data processed {"connection_id":160425,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:20:29] local.INFO: Acknowledgment sent {"connection_id":160425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:20:45] local.INFO: TCP Data received {"connection_id":160230,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:20:45] local.INFO: Processing buffer {"connection_id":160230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:20:45] local.INFO: IMEI packet received {"connection_id":160230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":160230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:20:47] local.INFO: TCP Data received {"connection_id":160230,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:20:47] local.INFO: Processing buffer {"connection_id":160230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:20:47] local.INFO: IMEI packet received {"connection_id":160230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":160230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:20:52] local.INFO: TCP Data received {"connection_id":160230,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:20:52] local.INFO: Processing buffer {"connection_id":160230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:20:52] local.INFO: IMEI packet received {"connection_id":160230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":160230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:20:53] local.INFO: TCP Data received {"connection_id":160230,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3bcaf0012d422880066ae450000d002334..."} 
[2026-08-23 02:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3bcaf0012d422880066ae450000d002334..."} 
[2026-08-23 02:20:53] local.INFO: Processing buffer {"connection_id":160230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3bcaf0012d422880066ae450000d002334..."} 
[2026-08-23 02:20:53] local.INFO: Packet analysis {"connection_id":160230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:20:53] local.INFO: Extracted packet for processing {"connection_id":160230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:20:53] local.INFO: GPS Element Parsed {"raw_longitude":759310464,"raw_latitude":107668560,"longitude_deg":75.9310464,"latitude_deg":10.766856,"altitude":13,"angle":35,"satellites":52,"speed":40,"hex_longitude":"2d422880","hex_latitude":"066ae450","is_valid_coordinates":true} 
[2026-08-23 02:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582521600001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:20:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 02:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389618705580949504,"note":"Value kept but may cause issues"} 
[2026-08-23 02:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4761219627366201344,"note":"Value kept but may cause issues"} 
[2026-08-23 02:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 02:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787431734000,"timestamp_ms":1787431734000,"timestamp_seconds":1787431734,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3bcaf0"} 
[2026-08-23 02:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:20: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-08-23 02:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 02:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:20:53] 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-08-23 02:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582521600001,"66":27321,"200":0,"80":60416,"24":40,"16":389618705580949504,"45":4761219627366201344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,80,24,16,45]} 
[2026-08-23 02:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582521600001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:20:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389618705580949504,"km_value":389618705580949.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4761219627366201344,"description":"Unknown IO ID 45"} 
[2026-08-23 02:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582521600001,"power":27321,"gsm_signal":0,"unknown_80":60416,"ignition":40,"odometer":null,"unknown_45":4761219627366201344}} 
[2026-08-23 02:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":160230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:20:53] local.INFO: GPS data processed {"connection_id":160230,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:20:53] local.INFO: Acknowledgment sent {"connection_id":160230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:20:56] local.INFO: TCP Data received {"connection_id":161390,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:20:56] local.INFO: Processing buffer {"connection_id":161390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:20:56] local.INFO: IMEI packet received {"connection_id":161390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":161390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:21:01] local.INFO: TCP Data received {"connection_id":161390,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:21:01] local.INFO: Processing buffer {"connection_id":161390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:21:01] local.INFO: IMEI packet received {"connection_id":161390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":161390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:21:02] local.INFO: TCP Data received {"connection_id":161390,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:21:02] local.INFO: Processing buffer {"connection_id":161390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:21:02] local.INFO: Packet analysis {"connection_id":161390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:21:02] local.INFO: Extracted packet for processing {"connection_id":161390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:21:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582439680001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787431706000,"timestamp_ms":1787431706000,"timestamp_seconds":1787431706,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3b5d90"} 
[2026-08-23 02:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582439680001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582439680001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:21:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:21:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582439680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":161390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:21:02] local.INFO: GPS data processed {"connection_id":161390,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:21:02] local.INFO: Acknowledgment sent {"connection_id":161390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:21:06] local.INFO: TCP Data received {"connection_id":161390,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:21:06] local.INFO: Processing buffer {"connection_id":161390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:21:06] local.INFO: Packet analysis {"connection_id":161390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:21:06] local.INFO: Extracted packet for processing {"connection_id":161390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582439680001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787431706000,"timestamp_ms":1787431706000,"timestamp_seconds":1787431706,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3b5d90"} 
[2026-08-23 02:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582439680001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582439680001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:21:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582439680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":161390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:21:06] local.INFO: GPS data processed {"connection_id":161390,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:21:06] local.INFO: Acknowledgment sent {"connection_id":161390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:21:24] local.INFO: TCP Data received {"connection_id":160230,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3bee18012d423d40066b0100000d002534..."} 
[2026-08-23 02:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3bee18012d423d40066b0100000d002534..."} 
[2026-08-23 02:21:24] local.INFO: Processing buffer {"connection_id":160230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3bee18012d423d40066b0100000d002534..."} 
[2026-08-23 02:21:24] local.INFO: Packet analysis {"connection_id":160230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:21:24] local.INFO: Extracted packet for processing {"connection_id":160230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:21:24] local.INFO: GPS Element Parsed {"raw_longitude":759315776,"raw_latitude":107675904,"longitude_deg":75.9315776,"latitude_deg":10.7675904,"altitude":13,"angle":37,"satellites":52,"speed":37,"hex_longitude":"2d423d40","hex_latitude":"066b0100","is_valid_coordinates":true} 
[2026-08-23 02:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582523904001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:21:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 02:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389619143667613696,"note":"Value kept but may cause issues"} 
[2026-08-23 02:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4767200970623176704,"note":"Value kept but may cause issues"} 
[2026-08-23 02:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 02:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787431743000,"timestamp_ms":1787431743000,"timestamp_seconds":1787431743,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3bee18"} 
[2026-08-23 02:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:21: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-08-23 02:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 02:21:24] 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-08-23 02:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:21:24] 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-08-23 02:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582523904001,"66":27267,"200":0,"80":60416,"24":37,"16":389619143667613696,"45":4767200970623176704},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,80,24,16,45]} 
[2026-08-23 02:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582523904001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:21:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389619143667613696,"km_value":389619143667613.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4767200970623176704,"description":"Unknown IO ID 45"} 
[2026-08-23 02:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582523904001,"power":27267,"gsm_signal":0,"unknown_80":60416,"ignition":37,"odometer":null,"unknown_45":4767200970623176704}} 
[2026-08-23 02:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":160230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:21:24] local.INFO: GPS data processed {"connection_id":160230,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:21:24] local.INFO: Acknowledgment sent {"connection_id":160230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:21:46] local.INFO: TCP Data received {"connection_id":162806,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:21:46] local.INFO: Processing buffer {"connection_id":162806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:21:46] local.INFO: IMEI packet received {"connection_id":162806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":162806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:21:47] local.INFO: TCP Data received {"connection_id":162806,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:21:47] local.INFO: Processing buffer {"connection_id":162806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:21:47] local.INFO: IMEI packet received {"connection_id":162806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":162806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:21:51] local.INFO: TCP Data received {"connection_id":161391,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:21:51] local.INFO: Processing buffer {"connection_id":161391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:21:51] local.INFO: IMEI packet received {"connection_id":161391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":161391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:21:52] local.INFO: TCP Data received {"connection_id":162806,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:21:52] local.INFO: Processing buffer {"connection_id":162806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:21:52] local.INFO: IMEI packet received {"connection_id":162806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":162806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:21:53] local.INFO: TCP Data received {"connection_id":162806,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3d70d0012d435080066c2fb00008002733..."} 
[2026-08-23 02:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3d70d0012d435080066c2fb00008002733..."} 
[2026-08-23 02:21:53] local.INFO: Processing buffer {"connection_id":162806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3d70d0012d435080066c2fb00008002733..."} 
[2026-08-23 02:21:53] local.INFO: Packet analysis {"connection_id":162806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3d"} 
[2026-08-23 02:21:53] local.INFO: Extracted packet for processing {"connection_id":162806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3d"} 
[2026-08-23 02:21:53] local.INFO: GPS Element Parsed {"raw_longitude":759386240,"raw_latitude":107753392,"longitude_deg":75.938624,"latitude_deg":10.7753392,"altitude":8,"angle":39,"satellites":51,"speed":41,"hex_longitude":"2d435080","hex_latitude":"066c2fb0","is_valid_coordinates":true} 
[2026-08-23 02:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582549248001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389624185959219200,"note":"Value kept but may cause issues"} 
[2026-08-23 02:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4843551058075783168,"note":"Value kept but may cause issues"} 
[2026-08-23 02:21:53] 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-08-23 02:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787431842000,"timestamp_ms":1787431842000,"timestamp_seconds":1787431842,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3d70d0"} 
[2026-08-23 02:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:21: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-08-23 02:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 02:21: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-08-23 02:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:21:53] 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-08-23 02:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582549248001,"66":27463,"148":206,"80":60416,"24":41,"16":389624185959219200,"45":4843551058075783168},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-08-23 02:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582549248001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:21:53] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-23 02:21:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389624185959219200,"km_value":389624185959219.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4843551058075783168,"description":"Unknown IO ID 45"} 
[2026-08-23 02:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582549248001,"power":27463,"unknown_148":206,"unknown_80":60416,"ignition":41,"odometer":null,"unknown_45":4843551058075783168}} 
[2026-08-23 02:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":162806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:21:53] local.INFO: GPS data processed {"connection_id":162806,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:21:53] local.INFO: Acknowledgment sent {"connection_id":162806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:21:56] local.INFO: TCP Data received {"connection_id":161391,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:21:56] local.INFO: Processing buffer {"connection_id":161391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:21:56] local.INFO: IMEI packet received {"connection_id":161391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":161391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:21:57] local.INFO: TCP Data received {"connection_id":161391,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:21:57] local.INFO: Processing buffer {"connection_id":161391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:21:57] local.INFO: Packet analysis {"connection_id":161391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:21:57] local.INFO: Extracted packet for processing {"connection_id":161391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:21:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582439680001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787431706000,"timestamp_ms":1787431706000,"timestamp_seconds":1787431706,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3b5d90"} 
[2026-08-23 02:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:21:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582439680001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582439680001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:21:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:21:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582439680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":161391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:21:57] local.INFO: GPS data processed {"connection_id":161391,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:21:57] local.INFO: Acknowledgment sent {"connection_id":161391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:22:24] local.INFO: TCP Data received {"connection_id":162806,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3d93f8012d436940066c4b480009002834..."} 
[2026-08-23 02:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3d93f8012d436940066c4b480009002834..."} 
[2026-08-23 02:22:24] local.INFO: Processing buffer {"connection_id":162806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3d93f8012d436940066c4b480009002834..."} 
[2026-08-23 02:22:24] local.INFO: Packet analysis {"connection_id":162806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3d"} 
[2026-08-23 02:22:24] local.INFO: Extracted packet for processing {"connection_id":162806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3d"} 
[2026-08-23 02:22:24] local.INFO: GPS Element Parsed {"raw_longitude":759392576,"raw_latitude":107760456,"longitude_deg":75.9392576,"latitude_deg":10.7760456,"altitude":9,"angle":40,"satellites":52,"speed":42,"hex_longitude":"2d436940","hex_latitude":"066c4b48","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582551552001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389624641225752576,"note":"Value kept but may cause issues"} 
[2026-08-23 02:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4850517563751247872,"note":"Value kept but may cause issues"} 
[2026-08-23 02:22:24] 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-08-23 02:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787431851000,"timestamp_ms":1787431851000,"timestamp_seconds":1787431851,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3d93f8"} 
[2026-08-23 02:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02: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-08-23 02: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-23 02:22: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-08-23 02: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-08-23 02:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:22:24] 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-08-23 02:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582551552001,"66":27365,"148":206,"80":60416,"24":42,"16":389624641225752576,"45":4850517563751247872},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-08-23 02:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582551552001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:22:24] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-23 02:22:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389624641225752576,"km_value":389624641225752.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4850517563751247872,"description":"Unknown IO ID 45"} 
[2026-08-23 02:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582551552001,"power":27365,"unknown_148":206,"unknown_80":60416,"ignition":42,"odometer":null,"unknown_45":4850517563751247872}} 
[2026-08-23 02:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":162806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:22:24] local.INFO: GPS data processed {"connection_id":162806,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:22:24] local.INFO: Acknowledgment sent {"connection_id":162806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:22:30] local.INFO: TCP Data received {"connection_id":161391,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:22:30] local.INFO: Processing buffer {"connection_id":161391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:22:30] local.INFO: Packet analysis {"connection_id":161391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:22:30] local.INFO: Extracted packet for processing {"connection_id":161391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:22:30] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582439680001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787431706000,"timestamp_ms":1787431706000,"timestamp_seconds":1787431706,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3b5d90"} 
[2026-08-23 02:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582439680001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582439680001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:22:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:22:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582439680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":161391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:22:30] local.INFO: GPS data processed {"connection_id":161391,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:22:30] local.INFO: Acknowledgment sent {"connection_id":161391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:22:47] local.INFO: TCP Data received {"connection_id":160231,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:22:47] local.INFO: Processing buffer {"connection_id":160231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:22:47] local.INFO: IMEI packet received {"connection_id":160231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":160231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:22:51] local.INFO: TCP Data received {"connection_id":162807,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:22:51] local.INFO: Processing buffer {"connection_id":162807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:22:51] local.INFO: IMEI packet received {"connection_id":162807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":162807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:22:52] local.INFO: TCP Data received {"connection_id":160231,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:22:52] local.INFO: Processing buffer {"connection_id":160231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:22:52] local.INFO: IMEI packet received {"connection_id":160231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":160231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:22:53] local.INFO: TCP Data received {"connection_id":160231,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3db720012d438100066c67b80008002732..."} 
[2026-08-23 02:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3db720012d438100066c67b80008002732..."} 
[2026-08-23 02:22:53] local.INFO: Processing buffer {"connection_id":160231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3db720012d438100066c67b80008002732..."} 
[2026-08-23 02:22:53] local.INFO: Packet analysis {"connection_id":160231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3d"} 
[2026-08-23 02:22:53] local.INFO: Extracted packet for processing {"connection_id":160231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3d"} 
[2026-08-23 02:22:53] local.INFO: GPS Element Parsed {"raw_longitude":759398656,"raw_latitude":107767736,"longitude_deg":75.9398656,"latitude_deg":10.7767736,"altitude":8,"angle":39,"satellites":50,"speed":43,"hex_longitude":"2d438100","hex_latitude":"066c67b8","is_valid_coordinates":true} 
[2026-08-23 02:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582553856001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389625096492285952,"note":"Value kept but may cause issues"} 
[2026-08-23 02:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4857484069426644992,"note":"Value kept but may cause issues"} 
[2026-08-23 02:22:53] 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-08-23 02:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787431860000,"timestamp_ms":1787431860000,"timestamp_seconds":1787431860,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3db720"} 
[2026-08-23 02:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:22: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-08-23 02:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 02:22: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-08-23 02:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:22:53] 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-08-23 02:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582553856001,"66":27332,"148":206,"80":60416,"24":43,"16":389625096492285952,"45":4857484069426644992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-08-23 02:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582553856001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:22:53] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-23 02:22:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389625096492285952,"km_value":389625096492285.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4857484069426644992,"description":"Unknown IO ID 45"} 
[2026-08-23 02:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582553856001,"power":27332,"unknown_148":206,"unknown_80":60416,"ignition":43,"odometer":null,"unknown_45":4857484069426644992}} 
[2026-08-23 02:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":160231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:22:53] local.INFO: GPS data processed {"connection_id":160231,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:22:53] local.INFO: Acknowledgment sent {"connection_id":160231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:22:56] local.INFO: TCP Data received {"connection_id":162807,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:22:56] local.INFO: Processing buffer {"connection_id":162807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:22:56] local.INFO: IMEI packet received {"connection_id":162807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":162807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:22:57] local.INFO: TCP Data received {"connection_id":162807,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:22:57] local.INFO: Processing buffer {"connection_id":162807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:22:57] local.INFO: Packet analysis {"connection_id":162807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:22:57] local.INFO: Extracted packet for processing {"connection_id":162807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:22:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582439680001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787431706000,"timestamp_ms":1787431706000,"timestamp_seconds":1787431706,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3b5d90"} 
[2026-08-23 02:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582439680001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582439680001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:22:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:22:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582439680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":162807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:22:57] local.INFO: GPS data processed {"connection_id":162807,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:22:57] local.INFO: Acknowledgment sent {"connection_id":162807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:23:24] local.INFO: TCP Data received {"connection_id":160231,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3dd660012d439800066c82a80008002832..."} 
[2026-08-23 02:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3dd660012d439800066c82a80008002832..."} 
[2026-08-23 02:23:24] local.INFO: Processing buffer {"connection_id":160231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3dd660012d439800066c82a80008002832..."} 
[2026-08-23 02:23:24] local.INFO: Packet analysis {"connection_id":160231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3d"} 
[2026-08-23 02:23:24] local.INFO: Extracted packet for processing {"connection_id":160231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3d"} 
[2026-08-23 02:23:24] local.INFO: GPS Element Parsed {"raw_longitude":759404544,"raw_latitude":107774632,"longitude_deg":75.9404544,"latitude_deg":10.7774632,"altitude":8,"angle":40,"satellites":50,"speed":44,"hex_longitude":"2d439800","hex_latitude":"066c82a8","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582556160001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389625534578950144,"note":"Value kept but may cause issues"} 
[2026-08-23 02:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4864169100125386752,"note":"Value kept but may cause issues"} 
[2026-08-23 02:23:24] 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-08-23 02:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787431868000,"timestamp_ms":1787431868000,"timestamp_seconds":1787431868,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3dd660"} 
[2026-08-23 02:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02: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-08-23 02:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 02:23:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:23:24] 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-08-23 02:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582556160001,"66":27343,"148":206,"80":60416,"24":44,"16":389625534578950144,"45":4864169100125386752},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-08-23 02:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582556160001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:23:24] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-23 02:23:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389625534578950144,"km_value":389625534578950.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4864169100125386752,"description":"Unknown IO ID 45"} 
[2026-08-23 02:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582556160001,"power":27343,"unknown_148":206,"unknown_80":60416,"ignition":44,"odometer":null,"unknown_45":4864169100125386752}} 
[2026-08-23 02:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":160231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:23:24] local.INFO: GPS data processed {"connection_id":160231,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:23:24] local.INFO: Acknowledgment sent {"connection_id":160231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:23:28] local.INFO: TCP Data received {"connection_id":162807,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:23:28] local.INFO: Processing buffer {"connection_id":162807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:23:28] local.INFO: Packet analysis {"connection_id":162807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:23:28] local.INFO: Extracted packet for processing {"connection_id":162807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582439680001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787431706000,"timestamp_ms":1787431706000,"timestamp_seconds":1787431706,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3b5d90"} 
[2026-08-23 02:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582439680001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582439680001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:23:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:23:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582439680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":162807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:23:28] local.INFO: GPS data processed {"connection_id":162807,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:23:28] local.INFO: Acknowledgment sent {"connection_id":162807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:23:47] local.INFO: TCP Data received {"connection_id":160427,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:23:47] local.INFO: Processing buffer {"connection_id":160427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:23:47] local.INFO: IMEI packet received {"connection_id":160427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":160427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:23:51] local.INFO: TCP Data received {"connection_id":160232,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:23:51] local.INFO: Processing buffer {"connection_id":160232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:23:51] local.INFO: IMEI packet received {"connection_id":160232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":160232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:23:52] local.INFO: TCP Data received {"connection_id":160427,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:23:52] local.INFO: Processing buffer {"connection_id":160427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:23:52] local.INFO: IMEI packet received {"connection_id":160427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":160427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:23:53] local.INFO: TCP Data received {"connection_id":160427,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3df988012d43b000066ca0400008002733..."} 
[2026-08-23 02:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3df988012d43b000066ca0400008002733..."} 
[2026-08-23 02:23:53] local.INFO: Processing buffer {"connection_id":160427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3df988012d43b000066ca0400008002733..."} 
[2026-08-23 02:23:53] local.INFO: Packet analysis {"connection_id":160427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3d"} 
[2026-08-23 02:23:53] local.INFO: Extracted packet for processing {"connection_id":160427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3d"} 
[2026-08-23 02:23:53] local.INFO: GPS Element Parsed {"raw_longitude":759410688,"raw_latitude":107782208,"longitude_deg":75.9410688,"latitude_deg":10.7782208,"altitude":8,"angle":39,"satellites":51,"speed":40,"hex_longitude":"2d43b000","hex_latitude":"066ca040","is_valid_coordinates":true} 
[2026-08-23 02:23: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-08-23 02:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582558208001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389626007025352704,"note":"Value kept but may cause issues"} 
[2026-08-23 02:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4870643024591497216,"note":"Value kept but may cause issues"} 
[2026-08-23 02:23:53] 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-08-23 02:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787431877000,"timestamp_ms":1787431877000,"timestamp_seconds":1787431877,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3df988"} 
[2026-08-23 02:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:23: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-08-23 02:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 02:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:23: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-08-23 02:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:23:53] 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-08-23 02:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582558208001,"66":27343,"148":206,"80":60416,"24":40,"16":389626007025352704,"45":4870643024591497216},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-08-23 02:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582558208001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:23:53] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-23 02:23:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389626007025352704,"km_value":389626007025352.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4870643024591497216,"description":"Unknown IO ID 45"} 
[2026-08-23 02:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582558208001,"power":27343,"unknown_148":206,"unknown_80":60416,"ignition":40,"odometer":null,"unknown_45":4870643024591497216}} 
[2026-08-23 02:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":160427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:23:53] local.INFO: GPS data processed {"connection_id":160427,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:23:53] local.INFO: Acknowledgment sent {"connection_id":160427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:23:56] local.INFO: TCP Data received {"connection_id":160232,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:23:56] local.INFO: Processing buffer {"connection_id":160232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:23:56] local.INFO: IMEI packet received {"connection_id":160232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":160232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:23:57] local.INFO: TCP Data received {"connection_id":160232,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:23:57] local.INFO: Processing buffer {"connection_id":160232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3b5d90012d196540071ff1b0004401372a..."} 
[2026-08-23 02:23:57] local.INFO: Packet analysis {"connection_id":160232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:23:57] local.INFO: Extracted packet for processing {"connection_id":160232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3b"} 
[2026-08-23 02:23:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582439680001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787431706000,"timestamp_ms":1787431706000,"timestamp_seconds":1787431706,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3b5d90"} 
[2026-08-23 02:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582439680001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582439680001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:23:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:23:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582439680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":160232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:23:57] local.INFO: GPS data processed {"connection_id":160232,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:23:57] local.INFO: Acknowledgment sent {"connection_id":160232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:24:24] local.INFO: TCP Data received {"connection_id":160427,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3e2868012d43c780066cbcd80008002430..."} 
[2026-08-23 02:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3e2868012d43c780066cbcd80008002430..."} 
[2026-08-23 02:24:24] local.INFO: Processing buffer {"connection_id":160427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3e2868012d43c780066cbcd80008002430..."} 
[2026-08-23 02:24:24] local.INFO: Packet analysis {"connection_id":160427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3e"} 
[2026-08-23 02:24:24] local.INFO: Extracted packet for processing {"connection_id":160427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3e"} 
[2026-08-23 02:24:24] local.INFO: GPS Element Parsed {"raw_longitude":759416704,"raw_latitude":107789528,"longitude_deg":75.9416704,"latitude_deg":10.7789528,"altitude":8,"angle":36,"satellites":48,"speed":25,"hex_longitude":"2d43c780","hex_latitude":"066cbcd8","is_valid_coordinates":true} 
[2026-08-23 02:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582560512001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389626462291886080,"note":"Value kept but may cause issues"} 
[2026-08-23 02:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4877398424034492416,"note":"Value kept but may cause issues"} 
[2026-08-23 02:24:24] 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-08-23 02:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787431889000,"timestamp_ms":1787431889000,"timestamp_seconds":1787431889,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3e2868"} 
[2026-08-23 02:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:24: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-08-23 02:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 02:24:24] 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-08-23 02:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:24:24] 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-08-23 02:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582560512001,"66":27321,"148":206,"80":60416,"24":25,"16":389626462291886080,"45":4877398424034492416},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-08-23 02:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582560512001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:24:24] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-23 02:24:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389626462291886080,"km_value":389626462291886.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4877398424034492416,"description":"Unknown IO ID 45"} 
[2026-08-23 02:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582560512001,"power":27321,"unknown_148":206,"unknown_80":60416,"ignition":25,"odometer":null,"unknown_45":4877398424034492416}} 
[2026-08-23 02:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":160427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:24:24] local.INFO: GPS data processed {"connection_id":160427,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:24:24] local.INFO: Acknowledgment sent {"connection_id":160427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:24:28] local.INFO: TCP Data received {"connection_id":160232,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:24:28] local.INFO: Processing buffer {"connection_id":160232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:24:28] local.INFO: Packet analysis {"connection_id":160232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3f"} 
[2026-08-23 02:24:28] local.INFO: Extracted packet for processing {"connection_id":160232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3f"} 
[2026-08-23 02:24:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582516736001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787432007000,"timestamp_ms":1787432007000,"timestamp_seconds":1787432007,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3ff558"} 
[2026-08-23 02:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582516736001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582516736001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:24:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:24:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582516736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":160232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:24:28] local.INFO: GPS data processed {"connection_id":160232,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:24:28] local.INFO: Acknowledgment sent {"connection_id":160232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:24:47] local.INFO: TCP Data received {"connection_id":161392,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:24:47] local.INFO: Processing buffer {"connection_id":161392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:24:47] local.INFO: IMEI packet received {"connection_id":161392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":161392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:24:48] local.INFO: TCP Data received {"connection_id":161392,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:24:48] local.INFO: Processing buffer {"connection_id":161392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:24:48] local.INFO: IMEI packet received {"connection_id":161392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":161392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:24:51] local.INFO: TCP Data received {"connection_id":160428,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:24:51] local.INFO: Processing buffer {"connection_id":160428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:24:51] local.INFO: IMEI packet received {"connection_id":160428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":160428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:24:54] local.INFO: TCP Data received {"connection_id":161392,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:24:54] local.INFO: Processing buffer {"connection_id":161392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:24:54] local.INFO: IMEI packet received {"connection_id":161392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":161392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:24:55] local.INFO: TCP Data received {"connection_id":161392,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3e5b30012d43df80066cd9b80008002732..."} 
[2026-08-23 02:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3e5b30012d43df80066cd9b80008002732..."} 
[2026-08-23 02:24:55] local.INFO: Processing buffer {"connection_id":161392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3e5b30012d43df80066cd9b80008002732..."} 
[2026-08-23 02:24:55] local.INFO: Packet analysis {"connection_id":161392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3e"} 
[2026-08-23 02:24:55] local.INFO: Extracted packet for processing {"connection_id":161392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3e"} 
[2026-08-23 02:24:55] local.INFO: GPS Element Parsed {"raw_longitude":759422848,"raw_latitude":107796920,"longitude_deg":75.9422848,"latitude_deg":10.779692,"altitude":8,"angle":39,"satellites":50,"speed":28,"hex_longitude":"2d43df80","hex_latitude":"066cd9b8","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582563584001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389626921853386752,"note":"Value kept but may cause issues"} 
[2026-08-23 02:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4884013085989066752,"note":"Value kept but may cause issues"} 
[2026-08-23 02:24:55] 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-08-23 02:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787431902000,"timestamp_ms":1787431902000,"timestamp_seconds":1787431902,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3e5b30"} 
[2026-08-23 02:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:24: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-08-23 02:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 02:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:24:55] 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-08-23 02:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582563584001,"66":27397,"148":206,"80":60416,"24":28,"16":389626921853386752,"45":4884013085989066752},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-08-23 02:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582563584001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:24:55] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-23 02:24:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-08-23 02:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389626921853386752,"km_value":389626921853386.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4884013085989066752,"description":"Unknown IO ID 45"} 
[2026-08-23 02:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582563584001,"power":27397,"unknown_148":206,"unknown_80":60416,"ignition":28,"odometer":null,"unknown_45":4884013085989066752}} 
[2026-08-23 02:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":161392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:24:55] local.INFO: GPS data processed {"connection_id":161392,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:24:55] local.INFO: Acknowledgment sent {"connection_id":161392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:24:56] local.INFO: TCP Data received {"connection_id":160428,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:24:56] local.INFO: Processing buffer {"connection_id":160428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:24:56] local.INFO: IMEI packet received {"connection_id":160428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":160428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:24:57] local.INFO: TCP Data received {"connection_id":160428,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:24:57] local.INFO: Processing buffer {"connection_id":160428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:24:57] local.INFO: Packet analysis {"connection_id":160428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3f"} 
[2026-08-23 02:24:57] local.INFO: Extracted packet for processing {"connection_id":160428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3f"} 
[2026-08-23 02:24:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582516736001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787432007000,"timestamp_ms":1787432007000,"timestamp_seconds":1787432007,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3ff558"} 
[2026-08-23 02:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582516736001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582516736001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:24:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:24:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582516736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":160428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:24:57] local.INFO: GPS data processed {"connection_id":160428,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:24:57] local.INFO: Acknowledgment sent {"connection_id":160428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:25:26] local.INFO: TCP Data received {"connection_id":161392,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b40c078012d44dc40066e0ad0000b002a34..."} 
[2026-08-23 02:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b40c078012d44dc40066e0ad0000b002a34..."} 
[2026-08-23 02:25:26] local.INFO: Processing buffer {"connection_id":161392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b40c078012d44dc40066e0ad0000b002a34..."} 
[2026-08-23 02:25:26] local.INFO: Packet analysis {"connection_id":161392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b40"} 
[2026-08-23 02:25:26] local.INFO: Extracted packet for processing {"connection_id":161392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b40"} 
[2026-08-23 02:25:26] local.INFO: GPS Element Parsed {"raw_longitude":759487552,"raw_latitude":107875024,"longitude_deg":75.9487552,"latitude_deg":10.7875024,"altitude":11,"angle":42,"satellites":52,"speed":39,"hex_longitude":"2d44dc40","hex_latitude":"066e0ad0","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582604544001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389631809526169600,"note":"Value kept but may cause issues"} 
[2026-08-23 02:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4955085517628618752,"note":"Value kept but may cause issues"} 
[2026-08-23 02:25:26] 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-08-23 02:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787432059000,"timestamp_ms":1787432059000,"timestamp_seconds":1787432059,"priority":1,"record_length":96,"hex_timestamp":"000001a02b40c078"} 
[2026-08-23 02:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 02:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:25:26] 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-08-23 02:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582604544001,"66":27300,"241":206,"80":60160,"24":39,"16":389631809526169600,"45":4955085517628618752},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-08-23 02:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582604544001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:25:26] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-23 02:25:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389631809526169600,"km_value":389631809526169.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4955085517628618752,"description":"Unknown IO ID 45"} 
[2026-08-23 02:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582604544001,"power":27300,"unknown_241":206,"unknown_80":60160,"ignition":39,"odometer":null,"unknown_45":4955085517628618752}} 
[2026-08-23 02:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":161392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:25:26] local.INFO: GPS data processed {"connection_id":161392,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:25:26] local.INFO: Acknowledgment sent {"connection_id":161392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:25:28] local.INFO: TCP Data received {"connection_id":160428,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:25:28] local.INFO: Processing buffer {"connection_id":160428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:25:28] local.INFO: Packet analysis {"connection_id":160428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3f"} 
[2026-08-23 02:25:28] local.INFO: Extracted packet for processing {"connection_id":160428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3f"} 
[2026-08-23 02:25:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582516736001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787432007000,"timestamp_ms":1787432007000,"timestamp_seconds":1787432007,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3ff558"} 
[2026-08-23 02:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582516736001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582516736001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:25:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:25:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582516736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":160428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:25:28] local.INFO: GPS data processed {"connection_id":160428,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:25:28] local.INFO: Acknowledgment sent {"connection_id":160428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:25:47] local.INFO: TCP Data received {"connection_id":161393,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:25:47] local.INFO: Processing buffer {"connection_id":161393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:25:47] local.INFO: IMEI packet received {"connection_id":161393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":161393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:25:52] local.INFO: TCP Data received {"connection_id":161393,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:25:52] local.INFO: Processing buffer {"connection_id":161393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:25:52] local.INFO: IMEI packet received {"connection_id":161393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":161393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:25:53] local.INFO: TCP Data received {"connection_id":161393,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b40e788012d44f5c0066e24f00009002b35..."} 
[2026-08-23 02:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b40e788012d44f5c0066e24f00009002b35..."} 
[2026-08-23 02:25:53] local.INFO: Processing buffer {"connection_id":161393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b40e788012d44f5c0066e24f00009002b35..."} 
[2026-08-23 02:25:53] local.INFO: Packet analysis {"connection_id":161393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b40"} 
[2026-08-23 02:25:53] local.INFO: Extracted packet for processing {"connection_id":161393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b40"} 
[2026-08-23 02:25:53] local.INFO: GPS Element Parsed {"raw_longitude":759494080,"raw_latitude":107881712,"longitude_deg":75.949408,"latitude_deg":10.7881712,"altitude":9,"angle":43,"satellites":53,"speed":36,"hex_longitude":"2d44f5c0","hex_latitude":"066e24f0","is_valid_coordinates":true} 
[2026-08-23 02:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582607104001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389632260497735680,"note":"Value kept but may cause issues"} 
[2026-08-23 02:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4961911285815627776,"note":"Value kept but may cause issues"} 
[2026-08-23 02:25:53] 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-08-23 02:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787432069000,"timestamp_ms":1787432069000,"timestamp_seconds":1787432069,"priority":1,"record_length":96,"hex_timestamp":"000001a02b40e788"} 
[2026-08-23 02:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:25: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-08-23 02:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 02:25:53] 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-08-23 02:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:25:53] 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-08-23 02:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582607104001,"66":27365,"241":206,"80":60160,"24":36,"16":389632260497735680,"45":4961911285815627776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-08-23 02:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582607104001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:25:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-23 02:25:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389632260497735680,"km_value":389632260497735.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4961911285815627776,"description":"Unknown IO ID 45"} 
[2026-08-23 02:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582607104001,"power":27365,"unknown_241":206,"unknown_80":60160,"ignition":36,"odometer":null,"unknown_45":4961911285815627776}} 
[2026-08-23 02:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":161393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:25:54] local.INFO: GPS data processed {"connection_id":161393,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:25:54] local.INFO: Acknowledgment sent {"connection_id":161393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:25:56] local.INFO: TCP Data received {"connection_id":162808,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:25:56] local.INFO: Processing buffer {"connection_id":162808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:25:56] local.INFO: IMEI packet received {"connection_id":162808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":162808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:26:01] local.INFO: TCP Data received {"connection_id":162808,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:26:01] local.INFO: Processing buffer {"connection_id":162808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:26:01] local.INFO: IMEI packet received {"connection_id":162808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":162808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:26:02] local.INFO: TCP Data received {"connection_id":162808,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:26:02] local.INFO: Processing buffer {"connection_id":162808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:26:02] local.INFO: Packet analysis {"connection_id":162808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3f"} 
[2026-08-23 02:26:02] local.INFO: Extracted packet for processing {"connection_id":162808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3f"} 
[2026-08-23 02:26:02] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582516736001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787432007000,"timestamp_ms":1787432007000,"timestamp_seconds":1787432007,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3ff558"} 
[2026-08-23 02:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582516736001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582516736001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:26:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:26:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582516736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":162808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:26:02] local.INFO: GPS data processed {"connection_id":162808,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:26:02] local.INFO: Acknowledgment sent {"connection_id":162808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:26:06] local.INFO: TCP Data received {"connection_id":162808,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:26:06] local.INFO: Processing buffer {"connection_id":162808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:26:06] local.INFO: Packet analysis {"connection_id":162808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3f"} 
[2026-08-23 02:26:06] local.INFO: Extracted packet for processing {"connection_id":162808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3f"} 
[2026-08-23 02:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582516736001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787432007000,"timestamp_ms":1787432007000,"timestamp_seconds":1787432007,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3ff558"} 
[2026-08-23 02:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582516736001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582516736001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:26:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582516736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":162808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:26:06] local.INFO: GPS data processed {"connection_id":162808,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:26:06] local.INFO: Acknowledgment sent {"connection_id":162808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:26:24] local.INFO: TCP Data received {"connection_id":161393,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b411280012d450f40066e3fd00008002a34..."} 
[2026-08-23 02:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b411280012d450f40066e3fd00008002a34..."} 
[2026-08-23 02:26:24] local.INFO: Processing buffer {"connection_id":161393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b411280012d450f40066e3fd00008002a34..."} 
[2026-08-23 02:26:24] local.INFO: Packet analysis {"connection_id":161393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b41"} 
[2026-08-23 02:26:24] local.INFO: Extracted packet for processing {"connection_id":161393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b41"} 
[2026-08-23 02:26:24] local.INFO: GPS Element Parsed {"raw_longitude":759500608,"raw_latitude":107888592,"longitude_deg":75.9500608,"latitude_deg":10.7888592,"altitude":8,"angle":42,"satellites":52,"speed":29,"hex_longitude":"2d450f40","hex_latitude":"066e3fd0","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582609664001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389632715764269056,"note":"Value kept but may cause issues"} 
[2026-08-23 02:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4969088897723461632,"note":"Value kept but may cause issues"} 
[2026-08-23 02:26:24] 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-08-23 02:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787432080000,"timestamp_ms":1787432080000,"timestamp_seconds":1787432080,"priority":1,"record_length":96,"hex_timestamp":"000001a02b411280"} 
[2026-08-23 02:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02: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-08-23 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 02:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:26:24] 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-08-23 02:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582609664001,"66":27234,"241":206,"80":60160,"24":29,"16":389632715764269056,"45":4969088897723461632},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-08-23 02:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582609664001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:26:24] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-23 02:26:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389632715764269056,"km_value":389632715764269.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4969088897723461632,"description":"Unknown IO ID 45"} 
[2026-08-23 02:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582609664001,"power":27234,"unknown_241":206,"unknown_80":60160,"ignition":29,"odometer":null,"unknown_45":4969088897723461632}} 
[2026-08-23 02:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":161393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:26:24] local.INFO: GPS data processed {"connection_id":161393,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:26:24] local.INFO: Acknowledgment sent {"connection_id":161393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:26:48] local.INFO: TCP Data received {"connection_id":160234,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:26:48] local.INFO: Processing buffer {"connection_id":160234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:26:48] local.INFO: IMEI packet received {"connection_id":160234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":160234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:26:51] local.INFO: TCP Data received {"connection_id":160233,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:26:51] local.INFO: Processing buffer {"connection_id":160233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:26:51] local.INFO: IMEI packet received {"connection_id":160233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":160233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:26:52] local.INFO: TCP Data received {"connection_id":160234,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:26:52] local.INFO: Processing buffer {"connection_id":160234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:26:52] local.INFO: IMEI packet received {"connection_id":160234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":160234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:26:56] local.INFO: TCP Data received {"connection_id":160233,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:26:56] local.INFO: Processing buffer {"connection_id":160233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:26:56] local.INFO: IMEI packet received {"connection_id":160233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":160233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:26:57] local.INFO: TCP Data received {"connection_id":160233,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:26:57] local.INFO: Processing buffer {"connection_id":160233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:26:57] local.INFO: Packet analysis {"connection_id":160233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3f"} 
[2026-08-23 02:26:57] local.INFO: Extracted packet for processing {"connection_id":160233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3f"} 
[2026-08-23 02:26:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582516736001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787432007000,"timestamp_ms":1787432007000,"timestamp_seconds":1787432007,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3ff558"} 
[2026-08-23 02:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582516736001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582516736001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:26:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:26:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582516736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":160233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:26:57] local.INFO: GPS data processed {"connection_id":160233,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:26:57] local.INFO: Acknowledgment sent {"connection_id":160233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:26:57] local.INFO: TCP Data received {"connection_id":160234,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:26:57] local.INFO: Processing buffer {"connection_id":160234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:26:57] local.INFO: IMEI packet received {"connection_id":160234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":160234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:26:58] local.INFO: TCP Data received {"connection_id":160234,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b414548012d4525c0066e5c500008002534..."} 
[2026-08-23 02:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b414548012d4525c0066e5c500008002534..."} 
[2026-08-23 02:26:58] local.INFO: Processing buffer {"connection_id":160234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b414548012d4525c0066e5c500008002534..."} 
[2026-08-23 02:26:58] local.INFO: Packet analysis {"connection_id":160234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b41"} 
[2026-08-23 02:26:58] local.INFO: Extracted packet for processing {"connection_id":160234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b41"} 
[2026-08-23 02:26:58] local.INFO: GPS Element Parsed {"raw_longitude":759506368,"raw_latitude":107895888,"longitude_deg":75.9506368,"latitude_deg":10.7895888,"altitude":8,"angle":37,"satellites":52,"speed":27,"hex_longitude":"2d4525c0","hex_latitude":"066e5c50","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582612480001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389633162440867840,"note":"Value kept but may cause issues"} 
[2026-08-23 02:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4976266509631344640,"note":"Value kept but may cause issues"} 
[2026-08-23 02:26:58] 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-08-23 02:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787432093000,"timestamp_ms":1787432093000,"timestamp_seconds":1787432093,"priority":1,"record_length":96,"hex_timestamp":"000001a02b414548"} 
[2026-08-23 02:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02: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-08-23 02: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":98,"data_length":795,"current_offset":136} 
[2026-08-23 02:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:26:58] 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-08-23 02:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582612480001,"66":27365,"241":206,"80":60160,"24":27,"16":389633162440867840,"45":4976266509631344640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-08-23 02:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582612480001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:26:58] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-23 02:26:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389633162440867840,"km_value":389633162440867.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4976266509631344640,"description":"Unknown IO ID 45"} 
[2026-08-23 02:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582612480001,"power":27365,"unknown_241":206,"unknown_80":60160,"ignition":27,"odometer":null,"unknown_45":4976266509631344640}} 
[2026-08-23 02:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":160234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:26:58] local.INFO: GPS data processed {"connection_id":160234,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:26:58] local.INFO: Acknowledgment sent {"connection_id":160234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:27:02] local.INFO: TCP Data received {"connection_id":160234,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b417bf8012d453cc0066e79580008002434..."} 
[2026-08-23 02:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b417bf8012d453cc0066e79580008002434..."} 
[2026-08-23 02:27:02] local.INFO: Processing buffer {"connection_id":160234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b417bf8012d453cc0066e79580008002434..."} 
[2026-08-23 02:27:02] local.INFO: Packet analysis {"connection_id":160234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b41"} 
[2026-08-23 02:27:02] local.INFO: Extracted packet for processing {"connection_id":160234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b41"} 
[2026-08-23 02:27:02] local.INFO: GPS Element Parsed {"raw_longitude":759512256,"raw_latitude":107903320,"longitude_deg":75.9512256,"latitude_deg":10.790332,"altitude":8,"angle":36,"satellites":52,"speed":28,"hex_longitude":"2d453cc0","hex_latitude":"066e7958","is_valid_coordinates":true} 
[2026-08-23 02:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582615808001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389633622002368512,"note":"Value kept but may cause issues"} 
[2026-08-23 02:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4982599696609202176,"note":"Value kept but may cause issues"} 
[2026-08-23 02:27:02] 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-08-23 02:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787432107000,"timestamp_ms":1787432107000,"timestamp_seconds":1787432107,"priority":1,"record_length":96,"hex_timestamp":"000001a02b417bf8"} 
[2026-08-23 02:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:27: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-08-23 02:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 02:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:27:02] 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-08-23 02:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582615808001,"66":27365,"241":206,"80":60160,"24":28,"16":389633622002368512,"45":4982599696609202176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-08-23 02:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582615808001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:27:02] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-23 02:27:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389633622002368512,"km_value":389633622002368.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4982599696609202176,"description":"Unknown IO ID 45"} 
[2026-08-23 02:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582615808001,"power":27365,"unknown_241":206,"unknown_80":60160,"ignition":28,"odometer":null,"unknown_45":4982599696609202176}} 
[2026-08-23 02:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":160234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:27:02] local.INFO: GPS data processed {"connection_id":160234,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:27:02] local.INFO: Acknowledgment sent {"connection_id":160234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:27:28] local.INFO: TCP Data received {"connection_id":160233,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:27:28] local.INFO: Processing buffer {"connection_id":160233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:27:28] local.INFO: Packet analysis {"connection_id":160233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3f"} 
[2026-08-23 02:27:28] local.INFO: Extracted packet for processing {"connection_id":160233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3f"} 
[2026-08-23 02:27:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582516736001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787432007000,"timestamp_ms":1787432007000,"timestamp_seconds":1787432007,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3ff558"} 
[2026-08-23 02:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582516736001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582516736001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:27:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:27:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582516736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":160233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:27:28] local.INFO: GPS data processed {"connection_id":160233,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:27:28] local.INFO: Acknowledgment sent {"connection_id":160233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:27:47] local.INFO: TCP Data received {"connection_id":160235,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:27:47] local.INFO: Processing buffer {"connection_id":160235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:27:47] local.INFO: IMEI packet received {"connection_id":160235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":160235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:27:51] local.INFO: TCP Data received {"connection_id":160429,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:27:51] local.INFO: Processing buffer {"connection_id":160429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:27:51] local.INFO: IMEI packet received {"connection_id":160429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":160429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:27:52] local.INFO: TCP Data received {"connection_id":160235,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:27:52] local.INFO: Processing buffer {"connection_id":160235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:27:52] local.INFO: IMEI packet received {"connection_id":160235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":160235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:27:53] local.INFO: TCP Data received {"connection_id":160235,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b41a6f0012d455300066e95880008002532..."} 
[2026-08-23 02:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b41a6f0012d455300066e95880008002532..."} 
[2026-08-23 02:27:53] local.INFO: Processing buffer {"connection_id":160235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b41a6f0012d455300066e95880008002532..."} 
[2026-08-23 02:27:53] local.INFO: Packet analysis {"connection_id":160235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b41"} 
[2026-08-23 02:27:53] local.INFO: Extracted packet for processing {"connection_id":160235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b41"} 
[2026-08-23 02:27:53] local.INFO: GPS Element Parsed {"raw_longitude":759517952,"raw_latitude":107910536,"longitude_deg":75.9517952,"latitude_deg":10.7910536,"altitude":8,"angle":37,"satellites":50,"speed":37,"hex_longitude":"2d455300","hex_latitude":"066e9588","is_valid_coordinates":true} 
[2026-08-23 02:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582619392001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389634064384000000,"note":"Value kept but may cause issues"} 
[2026-08-23 02:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4989073621075449856,"note":"Value kept but may cause issues"} 
[2026-08-23 02:27:53] 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-08-23 02:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787432118000,"timestamp_ms":1787432118000,"timestamp_seconds":1787432118,"priority":1,"record_length":96,"hex_timestamp":"000001a02b41a6f0"} 
[2026-08-23 02:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:27: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-08-23 02:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 02:27: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-08-23 02:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:27:53] 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-08-23 02:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582619392001,"66":27321,"241":206,"80":60160,"24":37,"16":389634064384000000,"45":4989073621075449856},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-08-23 02:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582619392001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:27:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-23 02:27:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389634064384000000,"km_value":389634064384000,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4989073621075449856,"description":"Unknown IO ID 45"} 
[2026-08-23 02:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582619392001,"power":27321,"unknown_241":206,"unknown_80":60160,"ignition":37,"odometer":null,"unknown_45":4989073621075449856}} 
[2026-08-23 02:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":160235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:27:53] local.INFO: GPS data processed {"connection_id":160235,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:27:53] local.INFO: Acknowledgment sent {"connection_id":160235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:27:56] local.INFO: TCP Data received {"connection_id":160429,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:27:56] local.INFO: Processing buffer {"connection_id":160429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:27:56] local.INFO: IMEI packet received {"connection_id":160429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":160429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:27:57] local.INFO: TCP Data received {"connection_id":160429,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:27:57] local.INFO: Processing buffer {"connection_id":160429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:27:57] local.INFO: Packet analysis {"connection_id":160429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3f"} 
[2026-08-23 02:27:57] local.INFO: Extracted packet for processing {"connection_id":160429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3f"} 
[2026-08-23 02:27:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582516736001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787432007000,"timestamp_ms":1787432007000,"timestamp_seconds":1787432007,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3ff558"} 
[2026-08-23 02:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:27:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582516736001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582516736001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:27:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:27:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582516736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":160429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:27:57] local.INFO: GPS data processed {"connection_id":160429,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:27:57] local.INFO: Acknowledgment sent {"connection_id":160429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:28:24] local.INFO: TCP Data received {"connection_id":160235,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b41ca18012d456740066eb1e00007002232..."} 
[2026-08-23 02:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b41ca18012d456740066eb1e00007002232..."} 
[2026-08-23 02:28:24] local.INFO: Processing buffer {"connection_id":160235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b41ca18012d456740066eb1e00007002232..."} 
[2026-08-23 02:28:24] local.INFO: Packet analysis {"connection_id":160235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b41"} 
[2026-08-23 02:28:24] local.INFO: Extracted packet for processing {"connection_id":160235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b41"} 
[2026-08-23 02:28:24] local.INFO: GPS Element Parsed {"raw_longitude":759523136,"raw_latitude":107917792,"longitude_deg":75.9523136,"latitude_deg":10.7917792,"altitude":7,"angle":34,"satellites":50,"speed":39,"hex_longitude":"2d456740","hex_latitude":"066eb1e0","is_valid_coordinates":true} 
[2026-08-23 02:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582622208001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389634493880729600,"note":"Value kept but may cause issues"} 
[2026-08-23 02:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4995336439309109248,"note":"Value kept but may cause issues"} 
[2026-08-23 02:28: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-08-23 02:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787432127000,"timestamp_ms":1787432127000,"timestamp_seconds":1787432127,"priority":1,"record_length":96,"hex_timestamp":"000001a02b41ca18"} 
[2026-08-23 02:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 02:28:24] 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-08-23 02:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:28:24] 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-08-23 02:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582622208001,"66":27104,"240":206,"80":60160,"24":39,"16":389634493880729600,"45":4995336439309109248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-08-23 02:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582622208001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:28:24] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-08-23 02:28:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389634493880729600,"km_value":389634493880729.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4995336439309109248,"description":"Unknown IO ID 45"} 
[2026-08-23 02:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582622208001,"power":27104,"unknown_240":206,"unknown_80":60160,"ignition":39,"odometer":null,"unknown_45":4995336439309109248}} 
[2026-08-23 02:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":160235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:28:24] local.INFO: GPS data processed {"connection_id":160235,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:28:24] local.INFO: Acknowledgment sent {"connection_id":160235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:28:28] local.INFO: TCP Data received {"connection_id":160429,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:28:28] local.INFO: Processing buffer {"connection_id":160429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:28:28] local.INFO: Packet analysis {"connection_id":160429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3f"} 
[2026-08-23 02:28:28] local.INFO: Extracted packet for processing {"connection_id":160429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3f"} 
[2026-08-23 02:28:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582516736001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787432007000,"timestamp_ms":1787432007000,"timestamp_seconds":1787432007,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3ff558"} 
[2026-08-23 02:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582516736001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582516736001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:28:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:28:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582516736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":160429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:28:28] local.INFO: GPS data processed {"connection_id":160429,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:28:28] local.INFO: Acknowledgment sent {"connection_id":160429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:28:48] local.INFO: TCP Data received {"connection_id":160430,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:28:48] local.INFO: Processing buffer {"connection_id":160430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:28:48] local.INFO: IMEI packet received {"connection_id":160430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":160430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:28:51] local.INFO: TCP Data received {"connection_id":161394,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:28:51] local.INFO: Processing buffer {"connection_id":161394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:28:51] local.INFO: IMEI packet received {"connection_id":161394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":161394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:28:52] local.INFO: TCP Data received {"connection_id":160430,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:28:52] local.INFO: Processing buffer {"connection_id":160430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:28:52] local.INFO: IMEI packet received {"connection_id":160430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":160430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:28:53] local.INFO: TCP Data received {"connection_id":160430,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b43dd58012d466880066fe3600008002e33..."} 
[2026-08-23 02:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b43dd58012d466880066fe3600008002e33..."} 
[2026-08-23 02:28:53] local.INFO: Processing buffer {"connection_id":160430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b43dd58012d466880066fe3600008002e33..."} 
[2026-08-23 02:28:53] local.INFO: Packet analysis {"connection_id":160430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b43"} 
[2026-08-23 02:28:53] local.INFO: Extracted packet for processing {"connection_id":160430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b43"} 
[2026-08-23 02:28:53] local.INFO: GPS Element Parsed {"raw_longitude":759588992,"raw_latitude":107996000,"longitude_deg":75.9588992,"latitude_deg":10.7996,"altitude":8,"angle":46,"satellites":51,"speed":33,"hex_longitude":"2d466880","hex_latitude":"066fe360","is_valid_coordinates":true} 
[2026-08-23 02:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582655744001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389639445978021888,"note":"Value kept but may cause issues"} 
[2026-08-23 02:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5065564446018660352,"note":"Value kept but may cause issues"} 
[2026-08-23 02:28:53] 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-08-23 02:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787432263000,"timestamp_ms":1787432263000,"timestamp_seconds":1787432263,"priority":1,"record_length":96,"hex_timestamp":"000001a02b43dd58"} 
[2026-08-23 02:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:28: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-08-23 02:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 02:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:28:53] 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-08-23 02:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582655744001,"66":27397,"196":206,"80":60160,"24":33,"16":389639445978021888,"45":5065564446018660352},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-08-23 02:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582655744001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:28:53] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-23 02:28:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389639445978021888,"km_value":389639445978021.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5065564446018660352,"description":"Unknown IO ID 45"} 
[2026-08-23 02:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582655744001,"power":27397,"unknown_196":206,"unknown_80":60160,"ignition":33,"odometer":null,"unknown_45":5065564446018660352}} 
[2026-08-23 02:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":160430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:28:53] local.INFO: GPS data processed {"connection_id":160430,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:28:53] local.INFO: Acknowledgment sent {"connection_id":160430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:28:56] local.INFO: TCP Data received {"connection_id":161394,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:28:56] local.INFO: Processing buffer {"connection_id":161394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:28:56] local.INFO: IMEI packet received {"connection_id":161394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 02:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":161394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:28:57] local.INFO: TCP Data received {"connection_id":161394,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:28:57] local.INFO: Processing buffer {"connection_id":161394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b3ff558012d196540071ff1b0004401372b..."} 
[2026-08-23 02:28:57] local.INFO: Packet analysis {"connection_id":161394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b3f"} 
[2026-08-23 02:28:57] local.INFO: Extracted packet for processing {"connection_id":161394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b3f"} 
[2026-08-23 02:28:57] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582516736001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787432007000,"timestamp_ms":1787432007000,"timestamp_seconds":1787432007,"priority":1,"record_length":96,"hex_timestamp":"000001a02b3ff558"} 
[2026-08-23 02:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582516736001,"66":2166,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582516736001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:28:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:28:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582516736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":161394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:28:57] local.INFO: GPS data processed {"connection_id":161394,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:28:57] local.INFO: Acknowledgment sent {"connection_id":161394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:29:25] local.INFO: TCP Data received {"connection_id":160430,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b440850012d468200066fff98000a002631..."} 
[2026-08-23 02:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b440850012d468200066fff98000a002631..."} 
[2026-08-23 02:29:25] local.INFO: Processing buffer {"connection_id":160430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b440850012d468200066fff98000a002631..."} 
[2026-08-23 02:29:25] local.INFO: Packet analysis {"connection_id":160430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b44"} 
[2026-08-23 02:29:25] local.INFO: Extracted packet for processing {"connection_id":160430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b44"} 
[2026-08-23 02:29:25] local.INFO: GPS Element Parsed {"raw_longitude":759595520,"raw_latitude":108003224,"longitude_deg":75.959552,"latitude_deg":10.8003224,"altitude":10,"angle":38,"satellites":49,"speed":33,"hex_longitude":"2d468200","hex_latitude":"066fff98","is_valid_coordinates":true} 
[2026-08-23 02:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582659328001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389639914129457152,"note":"Value kept but may cause issues"} 
[2026-08-23 02:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5073445745368195072,"note":"Value kept but may cause issues"} 
[2026-08-23 02:29:25] 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-08-23 02:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787432274000,"timestamp_ms":1787432274000,"timestamp_seconds":1787432274,"priority":1,"record_length":96,"hex_timestamp":"000001a02b440850"} 
[2026-08-23 02:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 02:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:29:25] 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-08-23 02:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582659328001,"66":27365,"196":206,"80":60160,"24":33,"16":389639914129457152,"45":5073445745368195072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-08-23 02:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582659328001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:29:25] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-23 02:29:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389639914129457152,"km_value":389639914129457.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5073445745368195072,"description":"Unknown IO ID 45"} 
[2026-08-23 02:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582659328001,"power":27365,"unknown_196":206,"unknown_80":60160,"ignition":33,"odometer":null,"unknown_45":5073445745368195072}} 
[2026-08-23 02:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":160430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:29:25] local.INFO: GPS data processed {"connection_id":160430,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:29:25] local.INFO: Acknowledgment sent {"connection_id":160430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:29:28] local.INFO: TCP Data received {"connection_id":161394,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b448d20012d196540071ff1b00044013729..."} 
[2026-08-23 02:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b448d20012d196540071ff1b00044013729..."} 
[2026-08-23 02:29:28] local.INFO: Processing buffer {"connection_id":161394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b448d20012d196540071ff1b00044013729..."} 
[2026-08-23 02:29:28] local.INFO: Packet analysis {"connection_id":161394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b44"} 
[2026-08-23 02:29:28] local.INFO: Extracted packet for processing {"connection_id":161394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b44"} 
[2026-08-23 02:29:28] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119534000,"longitude_deg":75.663904,"latitude_deg":11.9534,"altitude":68,"angle":311,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-23 02:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582593792001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 02:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940856320,"note":"Value kept but may cause issues"} 
[2026-08-23 02:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787432308000,"timestamp_ms":1787432308000,"timestamp_seconds":1787432308,"priority":1,"record_length":96,"hex_timestamp":"000001a02b448d20"} 
[2026-08-23 02:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8192,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 02:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 02:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 02:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 02:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582593792001,"66":2155,"102":206,"83":41984,"24":0,"16":15164773607931904,"45":1829939222940856320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 02:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 02:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 02:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582593792001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:29:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 02:29:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 02:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15164773607931904,"km_value":15164773607931.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940856320,"description":"Unknown IO ID 45"} 
[2026-08-23 02:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582593792001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940856320}} 
[2026-08-23 02:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":161394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:29:28] local.INFO: GPS data processed {"connection_id":161394,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:29:28] local.INFO: Acknowledgment sent {"connection_id":161394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:29:52] local.INFO: TCP Data received {"connection_id":162809,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:29:52] local.INFO: Processing buffer {"connection_id":162809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:29:52] local.INFO: IMEI packet received {"connection_id":162809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":162809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:29:55] local.INFO: TCP Data received {"connection_id":162809,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:29:55] local.INFO: Processing buffer {"connection_id":162809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:29:55] local.INFO: IMEI packet received {"connection_id":162809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":162809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:29:56] local.INFO: TCP Data received {"connection_id":162810,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:29:56] local.INFO: Processing buffer {"connection_id":162810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 02:29:56] local.INFO: IMEI packet received {"connection_id":162810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 02:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":162810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:29:57] local.INFO: TCP Data received {"connection_id":162809,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:29:57] local.INFO: Processing buffer {"connection_id":162809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:29:57] local.INFO: IMEI packet received {"connection_id":162809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":162809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:29:58] local.INFO: TCP Data received {"connection_id":162809,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b443730012d46984006701d78000c002433..."} 
[2026-08-23 02:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b443730012d46984006701d78000c002433..."} 
[2026-08-23 02:29:58] local.INFO: Processing buffer {"connection_id":162809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b443730012d46984006701d78000c002433..."} 
[2026-08-23 02:29:58] local.INFO: Packet analysis {"connection_id":162809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b44"} 
[2026-08-23 02:29:58] local.INFO: Extracted packet for processing {"connection_id":162809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b44"} 
[2026-08-23 02:29:58] local.INFO: GPS Element Parsed {"raw_longitude":759601216,"raw_latitude":108010872,"longitude_deg":75.9601216,"latitude_deg":10.8010872,"altitude":12,"angle":36,"satellites":51,"speed":30,"hex_longitude":"2d469840","hex_latitude":"06701d78","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582662144001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389640373690957824,"note":"Value kept but may cause issues"} 
[2026-08-23 02:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5080623357276166144,"note":"Value kept but may cause issues"} 
[2026-08-23 02:29:58] 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-08-23 02:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787432286000,"timestamp_ms":1787432286000,"timestamp_seconds":1787432286,"priority":1,"record_length":96,"hex_timestamp":"000001a02b443730"} 
[2026-08-23 02:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 02:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:29:58] 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-08-23 02:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582662144001,"66":27267,"196":206,"80":60160,"24":30,"16":389640373690957824,"45":5080623357276166144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-08-23 02:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582662144001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:29:58] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-23 02:29:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389640373690957824,"km_value":389640373690957.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5080623357276166144,"description":"Unknown IO ID 45"} 
[2026-08-23 02:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582662144001,"power":27267,"unknown_196":206,"unknown_80":60160,"ignition":30,"odometer":null,"unknown_45":5080623357276166144}} 
[2026-08-23 02:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":162809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:29:58] local.INFO: GPS data processed {"connection_id":162809,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:29:58] local.INFO: Acknowledgment sent {"connection_id":162809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:30:03] local.INFO: TCP Data received {"connection_id":162809,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b446de0012d46ae4006703b50000d002332..."} 
[2026-08-23 02:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b446de0012d46ae4006703b50000d002332..."} 
[2026-08-23 02:30:03] local.INFO: Processing buffer {"connection_id":162809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b446de0012d46ae4006703b50000d002332..."} 
[2026-08-23 02:30:03] local.INFO: Packet analysis {"connection_id":162809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b44"} 
[2026-08-23 02:30:03] local.INFO: Extracted packet for processing {"connection_id":162809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b44"} 
[2026-08-23 02:30:03] local.INFO: GPS Element Parsed {"raw_longitude":759606848,"raw_latitude":108018512,"longitude_deg":75.9606848,"latitude_deg":10.8018512,"altitude":13,"angle":35,"satellites":50,"speed":27,"hex_longitude":"2d46ae40","hex_latitude":"06703b50","is_valid_coordinates":true} 
[2026-08-23 02:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582665216001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389640833252458496,"note":"Value kept but may cause issues"} 
[2026-08-23 02:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5086886175509936128,"note":"Value kept but may cause issues"} 
[2026-08-23 02:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787432300000,"timestamp_ms":1787432300000,"timestamp_seconds":1787432300,"priority":1,"record_length":96,"hex_timestamp":"000001a02b446de0"} 
[2026-08-23 02:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 02:30: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-08-23 02:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:30:03] 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-08-23 02:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582665216001,"66":27365,"196":206,"80":60160,"24":27,"16":389640833252458496,"45":5086886175509936128},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-08-23 02:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582665216001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:30:03] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-23 02:30:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389640833252458496,"km_value":389640833252458.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5086886175509936128,"description":"Unknown IO ID 45"} 
[2026-08-23 02:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582665216001,"power":27365,"unknown_196":206,"unknown_80":60160,"ignition":27,"odometer":null,"unknown_45":5086886175509936128}} 
[2026-08-23 02:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":162809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:30:03] local.INFO: GPS data processed {"connection_id":162809,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:30:03] local.INFO: Acknowledgment sent {"connection_id":162809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:30:47] local.INFO: TCP Data received {"connection_id":160431,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:30:47] local.INFO: Processing buffer {"connection_id":160431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:30:47] local.INFO: IMEI packet received {"connection_id":160431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":160431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:30:52] local.INFO: TCP Data received {"connection_id":160431,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:30:52] local.INFO: Processing buffer {"connection_id":160431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:30:52] local.INFO: IMEI packet received {"connection_id":160431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":160431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:30:54] local.INFO: TCP Data received {"connection_id":160431,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b4498d8012d46c380067057c0000d002333..."} 
[2026-08-23 02:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b4498d8012d46c380067057c0000d002333..."} 
[2026-08-23 02:30:54] local.INFO: Processing buffer {"connection_id":160431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b4498d8012d46c380067057c0000d002333..."} 
[2026-08-23 02:30:54] local.INFO: Packet analysis {"connection_id":160431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b44"} 
[2026-08-23 02:30:54] local.INFO: Extracted packet for processing {"connection_id":160431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b44"} 
[2026-08-23 02:30:54] local.INFO: GPS Element Parsed {"raw_longitude":759612288,"raw_latitude":108025792,"longitude_deg":75.9612288,"latitude_deg":10.8025792,"altitude":13,"angle":35,"satellites":51,"speed":38,"hex_longitude":"2d46c380","hex_latitude":"067057c0","is_valid_coordinates":true} 
[2026-08-23 02:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582668800001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389641271339122688,"note":"Value kept but may cause issues"} 
[2026-08-23 02:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5093078624999526400,"note":"Value kept but may cause issues"} 
[2026-08-23 02:30:54] 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-08-23 02:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787432311000,"timestamp_ms":1787432311000,"timestamp_seconds":1787432311,"priority":1,"record_length":96,"hex_timestamp":"000001a02b4498d8"} 
[2026-08-23 02:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:30: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-08-23 02:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 02:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:30:54] 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-08-23 02:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582668800001,"66":26267,"196":206,"80":60160,"24":38,"16":389641271339122688,"45":5093078624999526400},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-08-23 02:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582668800001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:30:54] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-23 02:30:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389641271339122688,"km_value":389641271339122.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5093078624999526400,"description":"Unknown IO ID 45"} 
[2026-08-23 02:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582668800001,"power":26267,"unknown_196":206,"unknown_80":60160,"ignition":38,"odometer":null,"unknown_45":5093078624999526400}} 
[2026-08-23 02:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":160431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:30:54] local.INFO: GPS data processed {"connection_id":160431,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:30:54] local.INFO: Acknowledgment sent {"connection_id":160431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:31:25] local.INFO: TCP Data received {"connection_id":160431,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b44bc00012d46d880067073f8000d002334..."} 
[2026-08-23 02:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b44bc00012d46d880067073f8000d002334..."} 
[2026-08-23 02:31:25] local.INFO: Processing buffer {"connection_id":160431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b44bc00012d46d880067073f8000d002334..."} 
[2026-08-23 02:31:25] local.INFO: Packet analysis {"connection_id":160431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b44"} 
[2026-08-23 02:31:25] local.INFO: Extracted packet for processing {"connection_id":160431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b44"} 
[2026-08-23 02:31:25] local.INFO: GPS Element Parsed {"raw_longitude":759617664,"raw_latitude":108033016,"longitude_deg":75.9617664,"latitude_deg":10.8033016,"altitude":13,"angle":35,"satellites":52,"speed":40,"hex_longitude":"2d46d880","hex_latitude":"067073f8","is_valid_coordinates":true} 
[2026-08-23 02:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582671616001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389641705130819584,"note":"Value kept but may cause issues"} 
[2026-08-23 02:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5099059968256491520,"note":"Value kept but may cause issues"} 
[2026-08-23 02:31:25] 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-08-23 02:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787432320000,"timestamp_ms":1787432320000,"timestamp_seconds":1787432320,"priority":1,"record_length":96,"hex_timestamp":"000001a02b44bc00"} 
[2026-08-23 02:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:31: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-08-23 02:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-23 02:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:31:25] 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-08-23 02:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582671616001,"66":27310,"196":206,"80":60160,"24":40,"16":389641705130819584,"45":5099059968256491520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-08-23 02:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582671616001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:31:25] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-23 02:31:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389641705130819584,"km_value":389641705130819.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5099059968256491520,"description":"Unknown IO ID 45"} 
[2026-08-23 02:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582671616001,"power":27310,"unknown_196":206,"unknown_80":60160,"ignition":40,"odometer":null,"unknown_45":5099059968256491520}} 
[2026-08-23 02:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":160431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:31:25] local.INFO: GPS data processed {"connection_id":160431,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:31:25] local.INFO: Acknowledgment sent {"connection_id":160431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:31:51] local.INFO: TCP Data received {"connection_id":162811,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:31:51] local.INFO: Processing buffer {"connection_id":162811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:31:51] local.INFO: IMEI packet received {"connection_id":162811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":162811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:31:52] local.INFO: TCP Data received {"connection_id":162811,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:31:52] local.INFO: Processing buffer {"connection_id":162811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:31:52] local.INFO: IMEI packet received {"connection_id":162811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":162811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:31:57] local.INFO: TCP Data received {"connection_id":162811,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:31:57] local.INFO: Processing buffer {"connection_id":162811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:31:57] local.INFO: IMEI packet received {"connection_id":162811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":162811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:31:58] local.INFO: TCP Data received {"connection_id":162811,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b46b3e8012d47e60006719ec00008002b2f..."} 
[2026-08-23 02:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b46b3e8012d47e60006719ec00008002b2f..."} 
[2026-08-23 02:31:58] local.INFO: Processing buffer {"connection_id":162811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b46b3e8012d47e60006719ec00008002b2f..."} 
[2026-08-23 02:31:58] local.INFO: Packet analysis {"connection_id":162811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b46"} 
[2026-08-23 02:31:58] local.INFO: Extracted packet for processing {"connection_id":162811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b46"} 
[2026-08-23 02:31:58] local.INFO: GPS Element Parsed {"raw_longitude":759686656,"raw_latitude":108109504,"longitude_deg":75.9686656,"latitude_deg":10.8109504,"altitude":8,"angle":43,"satellites":47,"speed":24,"hex_longitude":"2d47e600","hex_latitude":"06719ec0","is_valid_coordinates":true} 
[2026-08-23 02:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582703616001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389646665818046464,"note":"Value kept but may cause issues"} 
[2026-08-23 02:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5173861943337072640,"note":"Value kept but may cause issues"} 
[2026-08-23 02:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787432449000,"timestamp_ms":1787432449000,"timestamp_seconds":1787432449,"priority":1,"record_length":96,"hex_timestamp":"000001a02b46b3e8"} 
[2026-08-23 02:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02: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-08-23 02:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-23 02:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:31:58] 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-08-23 02:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582703616001,"66":27267,"248":206,"80":60160,"24":24,"16":389646665818046464,"45":5173861943337072640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,80,24,16,45]} 
[2026-08-23 02:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582703616001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:31:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389646665818046464,"km_value":389646665818046.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5173861943337072640,"description":"Unknown IO ID 45"} 
[2026-08-23 02:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582703616001,"power":27267,"tamper_alert":206,"unknown_80":60160,"ignition":24,"odometer":null,"unknown_45":5173861943337072640}} 
[2026-08-23 02:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":162811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:31:58] local.INFO: GPS data processed {"connection_id":162811,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:31:58] local.INFO: Acknowledgment sent {"connection_id":162811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:32:29] local.INFO: TCP Data received {"connection_id":162811,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b46e6b0012d47fe800671b9080009002c31..."} 
[2026-08-23 02:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b46e6b0012d47fe800671b9080009002c31..."} 
[2026-08-23 02:32:30] local.INFO: Processing buffer {"connection_id":162811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b46e6b0012d47fe800671b9080009002c31..."} 
[2026-08-23 02:32:30] local.INFO: Packet analysis {"connection_id":162811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b46"} 
[2026-08-23 02:32:30] local.INFO: Extracted packet for processing {"connection_id":162811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b46"} 
[2026-08-23 02:32:30] local.INFO: GPS Element Parsed {"raw_longitude":759692928,"raw_latitude":108116232,"longitude_deg":75.9692928,"latitude_deg":10.8116232,"altitude":9,"angle":44,"satellites":49,"speed":30,"hex_longitude":"2d47fe80","hex_latitude":"0671b908","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582706944001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389647108199677952,"note":"Value kept but may cause issues"} 
[2026-08-23 02:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5180828449012367360,"note":"Value kept but may cause issues"} 
[2026-08-23 02:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787432462000,"timestamp_ms":1787432462000,"timestamp_seconds":1787432462,"priority":1,"record_length":96,"hex_timestamp":"000001a02b46e6b0"} 
[2026-08-23 02:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02: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":131,"data_length":795,"current_offset":136} 
[2026-08-23 02:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:32:30] 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-08-23 02:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582706944001,"66":27321,"248":206,"80":60160,"24":30,"16":389647108199677952,"45":5180828449012367360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,80,24,16,45]} 
[2026-08-23 02:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582706944001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:32:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389647108199677952,"km_value":389647108199677.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5180828449012367360,"description":"Unknown IO ID 45"} 
[2026-08-23 02:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582706944001,"power":27321,"tamper_alert":206,"unknown_80":60160,"ignition":30,"odometer":null,"unknown_45":5180828449012367360}} 
[2026-08-23 02:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":162811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:32:30] local.INFO: GPS data processed {"connection_id":162811,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:32:30] local.INFO: Acknowledgment sent {"connection_id":162811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:32:47] local.INFO: TCP Data received {"connection_id":162812,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:32:47] local.INFO: Processing buffer {"connection_id":162812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:32:47] local.INFO: IMEI packet received {"connection_id":162812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":162812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:32:48] local.INFO: TCP Data received {"connection_id":162812,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:32:48] local.INFO: Processing buffer {"connection_id":162812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:32:48] local.INFO: IMEI packet received {"connection_id":162812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":162812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:32:52] local.INFO: TCP Data received {"connection_id":162812,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:32:52] local.INFO: Processing buffer {"connection_id":162812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:32:52] local.INFO: IMEI packet received {"connection_id":162812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":162812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:32:53] local.INFO: TCP Data received {"connection_id":162812,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b4711a8012d4817800671d3b8000a002a32..."} 
[2026-08-23 02:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b4711a8012d4817800671d3b8000a002a32..."} 
[2026-08-23 02:32:53] local.INFO: Processing buffer {"connection_id":162812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b4711a8012d4817800671d3b8000a002a32..."} 
[2026-08-23 02:32:53] local.INFO: Packet analysis {"connection_id":162812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b47"} 
[2026-08-23 02:32:53] local.INFO: Extracted packet for processing {"connection_id":162812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b47"} 
[2026-08-23 02:32:53] local.INFO: GPS Element Parsed {"raw_longitude":759699328,"raw_latitude":108123064,"longitude_deg":75.9699328,"latitude_deg":10.8123064,"altitude":10,"angle":42,"satellites":50,"speed":35,"hex_longitude":"2d481780","hex_latitude":"0671d3b8","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582710272001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389647559171244032,"note":"Value kept but may cause issues"} 
[2026-08-23 02:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5187724585943500800,"note":"Value kept but may cause issues"} 
[2026-08-23 02:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787432473000,"timestamp_ms":1787432473000,"timestamp_seconds":1787432473,"priority":1,"record_length":96,"hex_timestamp":"000001a02b4711a8"} 
[2026-08-23 02:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:32: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-08-23 02:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 02:32:53] 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-08-23 02: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-08-23 02:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:32:53] 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-08-23 02:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582710272001,"66":27267,"248":206,"80":60160,"24":35,"16":389647559171244032,"45":5187724585943500800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,80,24,16,45]} 
[2026-08-23 02:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582710272001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:32:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389647559171244032,"km_value":389647559171244.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5187724585943500800,"description":"Unknown IO ID 45"} 
[2026-08-23 02:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582710272001,"power":27267,"tamper_alert":206,"unknown_80":60160,"ignition":35,"odometer":null,"unknown_45":5187724585943500800}} 
[2026-08-23 02:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":162812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:32:53] local.INFO: GPS data processed {"connection_id":162812,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:32:53] local.INFO: Acknowledgment sent {"connection_id":162812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:33:24] local.INFO: TCP Data received {"connection_id":162812,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b473ca0012d482f400671eea8000b002831..."} 
[2026-08-23 02:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b473ca0012d482f400671eea8000b002831..."} 
[2026-08-23 02:33:24] local.INFO: Processing buffer {"connection_id":162812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b473ca0012d482f400671eea8000b002831..."} 
[2026-08-23 02:33:24] local.INFO: Packet analysis {"connection_id":162812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b47"} 
[2026-08-23 02:33:24] local.INFO: Extracted packet for processing {"connection_id":162812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b47"} 
[2026-08-23 02:33:24] local.INFO: GPS Element Parsed {"raw_longitude":759705408,"raw_latitude":108129960,"longitude_deg":75.9705408,"latitude_deg":10.812996,"altitude":11,"angle":40,"satellites":49,"speed":27,"hex_longitude":"2d482f40","hex_latitude":"0671eea8","is_valid_coordinates":true} 
[2026-08-23 02:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582713088001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389648001552875520,"note":"Value kept but may cause issues"} 
[2026-08-23 02:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5194761460363016192,"note":"Value kept but may cause issues"} 
[2026-08-23 02:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787432484000,"timestamp_ms":1787432484000,"timestamp_seconds":1787432484,"priority":1,"record_length":96,"hex_timestamp":"000001a02b473ca0"} 
[2026-08-23 02:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 02:33:24] 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-08-23 02:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:33:24] 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-08-23 02:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582713088001,"66":27332,"83":206,"80":60160,"24":27,"16":389648001552875520,"45":5194761460363016192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-23 02:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582713088001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:33:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-23 02:33:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389648001552875520,"km_value":389648001552875.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5194761460363016192,"description":"Unknown IO ID 45"} 
[2026-08-23 02:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582713088001,"power":27332,"unknown_83":206,"unknown_80":60160,"ignition":27,"odometer":null,"unknown_45":5194761460363016192}} 
[2026-08-23 02:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":162812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:33:24] local.INFO: GPS data processed {"connection_id":162812,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:33:24] local.INFO: Acknowledgment sent {"connection_id":162812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:33:44] local.INFO: TCP Data received {"connection_id":161395,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:33:44] local.INFO: Processing buffer {"connection_id":161395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:33:44] local.INFO: IMEI packet received {"connection_id":161395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":161395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:33:47] local.INFO: TCP Data received {"connection_id":161395,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:33:47] local.INFO: Processing buffer {"connection_id":161395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:33:47] local.INFO: IMEI packet received {"connection_id":161395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":161395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:33:52] local.INFO: TCP Data received {"connection_id":161395,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:33:52] local.INFO: Processing buffer {"connection_id":161395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:33:52] local.INFO: IMEI packet received {"connection_id":161395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":161395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:33:53] local.INFO: TCP Data received {"connection_id":161395,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b477b20012d48480006720a68000d002931..."} 
[2026-08-23 02:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b477b20012d48480006720a68000d002931..."} 
[2026-08-23 02:33:53] local.INFO: Processing buffer {"connection_id":161395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b477b20012d48480006720a68000d002931..."} 
[2026-08-23 02:33:53] local.INFO: Packet analysis {"connection_id":161395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b47"} 
[2026-08-23 02:33:53] local.INFO: Extracted packet for processing {"connection_id":161395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b47"} 
[2026-08-23 02:33:53] local.INFO: GPS Element Parsed {"raw_longitude":759711744,"raw_latitude":108137064,"longitude_deg":75.9711744,"latitude_deg":10.8137064,"altitude":13,"angle":41,"satellites":49,"speed":24,"hex_longitude":"2d484800","hex_latitude":"06720a68","is_valid_coordinates":true} 
[2026-08-23 02:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582715904001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389648456819408896,"note":"Value kept but may cause issues"} 
[2026-08-23 02:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5201446491061659648,"note":"Value kept but may cause issues"} 
[2026-08-23 02:33:53] 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-08-23 02:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787432500000,"timestamp_ms":1787432500000,"timestamp_seconds":1787432500,"priority":1,"record_length":96,"hex_timestamp":"000001a02b477b20"} 
[2026-08-23 02:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:33: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-08-23 02:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 02:33: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-08-23 02:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:33:53] 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-08-23 02:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582715904001,"66":27321,"83":206,"80":60160,"24":24,"16":389648456819408896,"45":5201446491061659648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-23 02:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582715904001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:33:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-23 02:33:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389648456819408896,"km_value":389648456819408.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5201446491061659648,"description":"Unknown IO ID 45"} 
[2026-08-23 02:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582715904001,"power":27321,"unknown_83":206,"unknown_80":60160,"ignition":24,"odometer":null,"unknown_45":5201446491061659648}} 
[2026-08-23 02:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":161395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:33:53] local.INFO: GPS data processed {"connection_id":161395,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:33:53] local.INFO: Acknowledgment sent {"connection_id":161395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:34:24] local.INFO: TCP Data received {"connection_id":161395,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b47b5b8012d48604006722658000e002831..."} 
[2026-08-23 02:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b47b5b8012d48604006722658000e002831..."} 
[2026-08-23 02:34:24] local.INFO: Processing buffer {"connection_id":161395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b47b5b8012d48604006722658000e002831..."} 
[2026-08-23 02:34:24] local.INFO: Packet analysis {"connection_id":161395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b47"} 
[2026-08-23 02:34:24] local.INFO: Extracted packet for processing {"connection_id":161395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b47"} 
[2026-08-23 02:34:24] local.INFO: GPS Element Parsed {"raw_longitude":759717952,"raw_latitude":108144216,"longitude_deg":75.9717952,"latitude_deg":10.8144216,"altitude":14,"angle":40,"satellites":49,"speed":23,"hex_longitude":"2d486040","hex_latitude":"06722658","is_valid_coordinates":true} 
[2026-08-23 02:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582720000001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389648912085942272,"note":"Value kept but may cause issues"} 
[2026-08-23 02:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5208412996737067008,"note":"Value kept but may cause issues"} 
[2026-08-23 02:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787432515000,"timestamp_ms":1787432515000,"timestamp_seconds":1787432515,"priority":1,"record_length":96,"hex_timestamp":"000001a02b47b5b8"} 
[2026-08-23 02:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:34: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-08-23 02:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 02:34:24] 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-08-23 02:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:34:24] 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-08-23 02:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582720000001,"66":27234,"83":206,"80":60160,"24":23,"16":389648912085942272,"45":5208412996737067008},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-23 02:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582720000001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:34:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-23 02:34:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389648912085942272,"km_value":389648912085942.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5208412996737067008,"description":"Unknown IO ID 45"} 
[2026-08-23 02:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582720000001,"power":27234,"unknown_83":206,"unknown_80":60160,"ignition":23,"odometer":null,"unknown_45":5208412996737067008}} 
[2026-08-23 02:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":161395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:34:24] local.INFO: GPS data processed {"connection_id":161395,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:34:24] local.INFO: Acknowledgment sent {"connection_id":161395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:34:47] local.INFO: TCP Data received {"connection_id":162813,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:34:47] local.INFO: Processing buffer {"connection_id":162813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:34:47] local.INFO: IMEI packet received {"connection_id":162813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":162813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:34:48] local.INFO: TCP Data received {"connection_id":162813,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:34:48] local.INFO: Processing buffer {"connection_id":162813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:34:48] local.INFO: IMEI packet received {"connection_id":162813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":162813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:34:52] local.INFO: TCP Data received {"connection_id":162813,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:34:52] local.INFO: Processing buffer {"connection_id":162813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:34:52] local.INFO: IMEI packet received {"connection_id":162813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":162813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:34:53] local.INFO: TCP Data received {"connection_id":162813,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b47f050012d4879c006724148000e002d31..."} 
[2026-08-23 02:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b47f050012d4879c006724148000e002d31..."} 
[2026-08-23 02:34:53] local.INFO: Processing buffer {"connection_id":162813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b47f050012d4879c006724148000e002d31..."} 
[2026-08-23 02:34:53] local.INFO: Packet analysis {"connection_id":162813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b47"} 
[2026-08-23 02:34:53] local.INFO: Extracted packet for processing {"connection_id":162813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b47"} 
[2026-08-23 02:34:53] local.INFO: GPS Element Parsed {"raw_longitude":759724480,"raw_latitude":108151112,"longitude_deg":75.972448,"latitude_deg":10.8151112,"altitude":14,"angle":45,"satellites":49,"speed":30,"hex_longitude":"2d4879c0","hex_latitude":"06724148","is_valid_coordinates":true} 
[2026-08-23 02:34: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-08-23 02:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582723840001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389649371647442944,"note":"Value kept but may cause issues"} 
[2026-08-23 02:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5215238764924131328,"note":"Value kept but may cause issues"} 
[2026-08-23 02:34:53] 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-08-23 02:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787432530000,"timestamp_ms":1787432530000,"timestamp_seconds":1787432530,"priority":1,"record_length":96,"hex_timestamp":"000001a02b47f050"} 
[2026-08-23 02:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:34: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-08-23 02:34: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":98,"data_length":795,"current_offset":136} 
[2026-08-23 02:34:53] 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-08-23 02:34: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-08-23 02:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:34:53] 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-08-23 02:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582723840001,"66":27137,"83":206,"80":60160,"24":30,"16":389649371647442944,"45":5215238764924131328},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-08-23 02:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582723840001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:34:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-23 02:34:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389649371647442944,"km_value":389649371647442.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5215238764924131328,"description":"Unknown IO ID 45"} 
[2026-08-23 02:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582723840001,"power":27137,"unknown_83":206,"unknown_80":60160,"ignition":30,"odometer":null,"unknown_45":5215238764924131328}} 
[2026-08-23 02:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":162813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:34:53] local.INFO: GPS data processed {"connection_id":162813,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:34:53] local.INFO: Acknowledgment sent {"connection_id":162813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:35:24] local.INFO: TCP Data received {"connection_id":162813,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b49ffa8012d496ec006735fe0000c002733..."} 
[2026-08-23 02:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b49ffa8012d496ec006735fe0000c002733..."} 
[2026-08-23 02:35:24] local.INFO: Processing buffer {"connection_id":162813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b49ffa8012d496ec006735fe0000c002733..."} 
[2026-08-23 02:35:24] local.INFO: Packet analysis {"connection_id":162813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b49"} 
[2026-08-23 02:35:24] local.INFO: Extracted packet for processing {"connection_id":162813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b49"} 
[2026-08-23 02:35:24] local.INFO: GPS Element Parsed {"raw_longitude":759787200,"raw_latitude":108224480,"longitude_deg":75.97872,"latitude_deg":10.822448,"altitude":12,"angle":39,"satellites":51,"speed":40,"hex_longitude":"2d496ec0","hex_latitude":"06735fe0","is_valid_coordinates":true} 
[2026-08-23 02:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582759424001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389654023097024512,"note":"Value kept but may cause issues"} 
[2026-08-23 02:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5284763084190248960,"note":"Value kept but may cause issues"} 
[2026-08-23 02:35:24] 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-08-23 02:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787432665000,"timestamp_ms":1787432665000,"timestamp_seconds":1787432665,"priority":1,"record_length":96,"hex_timestamp":"000001a02b49ffa8"} 
[2026-08-23 02:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:35: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-08-23 02:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 02:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:35:24] 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-08-23 02:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582759424001,"66":27365,"81":206,"80":60160,"24":40,"16":389654023097024512,"45":5284763084190248960},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-08-23 02:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582759424001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 02:35:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389654023097024512,"km_value":389654023097024.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5284763084190248960,"description":"Unknown IO ID 45"} 
[2026-08-23 02:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582759424001,"power":27365,"unknown_81":206,"unknown_80":60160,"ignition":40,"odometer":null,"unknown_45":5284763084190248960}} 
[2026-08-23 02:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":162813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:35:24] local.INFO: GPS data processed {"connection_id":162813,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:35:24] local.INFO: Acknowledgment sent {"connection_id":162813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:35:47] local.INFO: TCP Data received {"connection_id":160236,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:35:47] local.INFO: Processing buffer {"connection_id":160236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:35:47] local.INFO: IMEI packet received {"connection_id":160236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":160236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:35:52] local.INFO: TCP Data received {"connection_id":160236,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:35:52] local.INFO: Processing buffer {"connection_id":160236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:35:52] local.INFO: IMEI packet received {"connection_id":160236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":160236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:35:53] local.INFO: TCP Data received {"connection_id":160236,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b4a22d0012d49858006737be8000a002733..."} 
[2026-08-23 02:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b4a22d0012d49858006737be8000a002733..."} 
[2026-08-23 02:35:53] local.INFO: Processing buffer {"connection_id":160236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b4a22d0012d49858006737be8000a002733..."} 
[2026-08-23 02:35:53] local.INFO: Packet analysis {"connection_id":160236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b4a"} 
[2026-08-23 02:35:53] local.INFO: Extracted packet for processing {"connection_id":160236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b4a"} 
[2026-08-23 02:35:53] local.INFO: GPS Element Parsed {"raw_longitude":759793024,"raw_latitude":108231656,"longitude_deg":75.9793024,"latitude_deg":10.8231656,"altitude":10,"angle":39,"satellites":51,"speed":37,"hex_longitude":"2d498580","hex_latitude":"06737be8","is_valid_coordinates":true} 
[2026-08-23 02:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582762240001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389654465478656000,"note":"Value kept but may cause issues"} 
[2026-08-23 02:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5291377746144911360,"note":"Value kept but may cause issues"} 
[2026-08-23 02:35:53] 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-08-23 02:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787432674000,"timestamp_ms":1787432674000,"timestamp_seconds":1787432674,"priority":1,"record_length":96,"hex_timestamp":"000001a02b4a22d0"} 
[2026-08-23 02:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:35: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-08-23 02:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 02:35: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-08-23 02:35: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-08-23 02:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:35:53] 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-08-23 02:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582762240001,"66":27397,"81":206,"80":60160,"24":37,"16":389654465478656000,"45":5291377746144911360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-08-23 02:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582762240001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:35:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 02:35:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389654465478656000,"km_value":389654465478656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5291377746144911360,"description":"Unknown IO ID 45"} 
[2026-08-23 02:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582762240001,"power":27397,"unknown_81":206,"unknown_80":60160,"ignition":37,"odometer":null,"unknown_45":5291377746144911360}} 
[2026-08-23 02:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":160236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:35:53] local.INFO: GPS data processed {"connection_id":160236,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:35:53] local.INFO: Acknowledgment sent {"connection_id":160236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:36:42] local.INFO: TCP Data received {"connection_id":161396,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:36:42] local.INFO: Processing buffer {"connection_id":161396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:36:42] local.INFO: IMEI packet received {"connection_id":161396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":161396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:36:46] local.INFO: TCP Data received {"connection_id":161396,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:36:46] local.INFO: Processing buffer {"connection_id":161396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:36:46] local.INFO: IMEI packet received {"connection_id":161396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":161396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:36:47] local.INFO: TCP Data received {"connection_id":161396,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:36:47] local.INFO: Processing buffer {"connection_id":161396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:36:47] local.INFO: IMEI packet received {"connection_id":161396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":161396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:36:52] local.INFO: TCP Data received {"connection_id":161396,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:36:52] local.INFO: Processing buffer {"connection_id":161396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:36:52] local.INFO: IMEI packet received {"connection_id":161396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":161396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:36:53] local.INFO: TCP Data received {"connection_id":161396,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b4b6708012d49e0000673eb60000a002633..."} 
[2026-08-23 02:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b4b6708012d49e0000673eb60000a002633..."} 
[2026-08-23 02:36:53] local.INFO: Processing buffer {"connection_id":161396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b4b6708012d49e0000673eb60000a002633..."} 
[2026-08-23 02:36:53] local.INFO: Packet analysis {"connection_id":161396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b4b"} 
[2026-08-23 02:36:53] local.INFO: Extracted packet for processing {"connection_id":161396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b4b"} 
[2026-08-23 02:36:53] local.INFO: GPS Element Parsed {"raw_longitude":759816192,"raw_latitude":108260192,"longitude_deg":75.9816192,"latitude_deg":10.8260192,"altitude":10,"angle":38,"satellites":51,"speed":30,"hex_longitude":"2d49e000","hex_latitude":"0673eb60","is_valid_coordinates":true} 
[2026-08-23 02:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582782464001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389656243595116544,"note":"Value kept but may cause issues"} 
[2026-08-23 02:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5316569756567740416,"note":"Value kept but may cause issues"} 
[2026-08-23 02:36:53] 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-08-23 02:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787432757000,"timestamp_ms":1787432757000,"timestamp_seconds":1787432757,"priority":1,"record_length":96,"hex_timestamp":"000001a02b4b6708"} 
[2026-08-23 02:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:36: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-08-23 02:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 02:36:53] 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-08-23 02:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:36:53] 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-08-23 02:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582782464001,"66":27267,"218":206,"80":60160,"24":30,"16":389656243595116544,"45":5316569756567740416},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-23 02:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582782464001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:36:53] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-23 02:36:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389656243595116544,"km_value":389656243595116.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5316569756567740416,"description":"Unknown IO ID 45"} 
[2026-08-23 02:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582782464001,"power":27267,"unknown_218":206,"unknown_80":60160,"ignition":30,"odometer":null,"unknown_45":5316569756567740416}} 
[2026-08-23 02:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":161396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:36:53] local.INFO: GPS data processed {"connection_id":161396,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:36:53] local.INFO: Acknowledgment sent {"connection_id":161396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:37:24] local.INFO: TCP Data received {"connection_id":161396,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b4b9200012d49f600067406d8000a002632..."} 
[2026-08-23 02:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b4b9200012d49f600067406d8000a002632..."} 
[2026-08-23 02:37:24] local.INFO: Processing buffer {"connection_id":161396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b4b9200012d49f600067406d8000a002632..."} 
[2026-08-23 02:37:24] local.INFO: Packet analysis {"connection_id":161396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b4b"} 
[2026-08-23 02:37:24] local.INFO: Extracted packet for processing {"connection_id":161396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b4b"} 
[2026-08-23 02:37:24] local.INFO: GPS Element Parsed {"raw_longitude":759821824,"raw_latitude":108267224,"longitude_deg":75.9821824,"latitude_deg":10.8267224,"altitude":10,"angle":38,"satellites":50,"speed":32,"hex_longitude":"2d49f600","hex_latitude":"067406d8","is_valid_coordinates":true} 
[2026-08-23 02:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582785792001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389656677386813440,"note":"Value kept but may cause issues"} 
[2026-08-23 02:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5323254787266535424,"note":"Value kept but may cause issues"} 
[2026-08-23 02:37:24] 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-08-23 02:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787432768000,"timestamp_ms":1787432768000,"timestamp_seconds":1787432768,"priority":1,"record_length":96,"hex_timestamp":"000001a02b4b9200"} 
[2026-08-23 02:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 02:37:24] 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-08-23 02:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:37:24] 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-08-23 02:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582785792001,"66":26832,"218":206,"80":60160,"24":32,"16":389656677386813440,"45":5323254787266535424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-23 02:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582785792001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:37:24] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-23 02:37:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389656677386813440,"km_value":389656677386813.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5323254787266535424,"description":"Unknown IO ID 45"} 
[2026-08-23 02:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582785792001,"power":26832,"unknown_218":206,"unknown_80":60160,"ignition":32,"odometer":null,"unknown_45":5323254787266535424}} 
[2026-08-23 02:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":161396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:37:24] local.INFO: GPS data processed {"connection_id":161396,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:37:24] local.INFO: Acknowledgment sent {"connection_id":161396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:37:49] local.INFO: TCP Data received {"connection_id":160237,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:37:49] local.INFO: Processing buffer {"connection_id":160237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:37:49] local.INFO: IMEI packet received {"connection_id":160237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":160237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:37:52] local.INFO: TCP Data received {"connection_id":160237,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:37:52] local.INFO: Processing buffer {"connection_id":160237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:37:52] local.INFO: IMEI packet received {"connection_id":160237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":160237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:37:53] local.INFO: TCP Data received {"connection_id":160237,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b4bc0e0012d4a0e4006742458000a002733..."} 
[2026-08-23 02:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b4bc0e0012d4a0e4006742458000a002733..."} 
[2026-08-23 02:37:53] local.INFO: Processing buffer {"connection_id":160237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b4bc0e0012d4a0e4006742458000a002733..."} 
[2026-08-23 02:37:53] local.INFO: Packet analysis {"connection_id":160237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b4b"} 
[2026-08-23 02:37:53] local.INFO: Extracted packet for processing {"connection_id":160237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b4b"} 
[2026-08-23 02:37:53] local.INFO: GPS Element Parsed {"raw_longitude":759828032,"raw_latitude":108274776,"longitude_deg":75.9828032,"latitude_deg":10.8274776,"altitude":10,"angle":39,"satellites":51,"speed":33,"hex_longitude":"2d4a0e40","hex_latitude":"06742458","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582788608001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389657145538248704,"note":"Value kept but may cause issues"} 
[2026-08-23 02:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5329447236755970048,"note":"Value kept but may cause issues"} 
[2026-08-23 02:37:53] 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-08-23 02:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787432780000,"timestamp_ms":1787432780000,"timestamp_seconds":1787432780,"priority":1,"record_length":96,"hex_timestamp":"000001a02b4bc0e0"} 
[2026-08-23 02:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02: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":208,"data_length":795,"current_offset":136} 
[2026-08-23 02:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:37:53] 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-08-23 02:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582788608001,"66":27332,"218":206,"80":60160,"24":33,"16":389657145538248704,"45":5329447236755970048},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-23 02:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582788608001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:37:53] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-23 02:37:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389657145538248704,"km_value":389657145538248.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5329447236755970048,"description":"Unknown IO ID 45"} 
[2026-08-23 02:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582788608001,"power":27332,"unknown_218":206,"unknown_80":60160,"ignition":33,"odometer":null,"unknown_45":5329447236755970048}} 
[2026-08-23 02:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":160237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:37:53] local.INFO: GPS data processed {"connection_id":160237,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:37:53] local.INFO: Acknowledgment sent {"connection_id":160237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:37:54] local.INFO: TCP Data received {"connection_id":160237,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b4be7f0012d4a248006743ff0000a002633..."} 
[2026-08-23 02:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b4be7f0012d4a248006743ff0000a002633..."} 
[2026-08-23 02:37:54] local.INFO: Processing buffer {"connection_id":160237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b4be7f0012d4a248006743ff0000a002633..."} 
[2026-08-23 02:37:54] local.INFO: Packet analysis {"connection_id":160237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b4b"} 
[2026-08-23 02:37:54] local.INFO: Extracted packet for processing {"connection_id":160237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b4b"} 
[2026-08-23 02:37:54] local.INFO: GPS Element Parsed {"raw_longitude":759833728,"raw_latitude":108281840,"longitude_deg":75.9833728,"latitude_deg":10.828184,"altitude":10,"angle":38,"satellites":51,"speed":36,"hex_longitude":"2d4a2480","hex_latitude":"06743ff0","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582791680001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389657583624912896,"note":"Value kept but may cause issues"} 
[2026-08-23 02:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5336273004943136768,"note":"Value kept but may cause issues"} 
[2026-08-23 02:37:54] 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-08-23 02:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787432790000,"timestamp_ms":1787432790000,"timestamp_seconds":1787432790,"priority":1,"record_length":96,"hex_timestamp":"000001a02b4be7f0"} 
[2026-08-23 02:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:37: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-08-23 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 02:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:37:54] 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-08-23 02:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582791680001,"66":27213,"218":206,"80":60160,"24":36,"16":389657583624912896,"45":5336273004943136768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-23 02:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582791680001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:37:54] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-23 02:37:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389657583624912896,"km_value":389657583624912.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5336273004943136768,"description":"Unknown IO ID 45"} 
[2026-08-23 02:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582791680001,"power":27213,"unknown_218":206,"unknown_80":60160,"ignition":36,"odometer":null,"unknown_45":5336273004943136768}} 
[2026-08-23 02:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":160237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:37:54] local.INFO: GPS data processed {"connection_id":160237,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:37:54] local.INFO: Acknowledgment sent {"connection_id":160237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:38:25] local.INFO: TCP Data received {"connection_id":160237,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b4c3610012d4a3ac006745b400009002732..."} 
[2026-08-23 02:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b4c3610012d4a3ac006745b400009002732..."} 
[2026-08-23 02:38:25] local.INFO: Processing buffer {"connection_id":160237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b4c3610012d4a3ac006745b400009002732..."} 
[2026-08-23 02:38:25] local.INFO: Packet analysis {"connection_id":160237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b4c"} 
[2026-08-23 02:38:25] local.INFO: Extracted packet for processing {"connection_id":160237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b4c"} 
[2026-08-23 02:38:25] local.INFO: GPS Element Parsed {"raw_longitude":759839424,"raw_latitude":108288832,"longitude_deg":75.9839424,"latitude_deg":10.8288832,"altitude":9,"angle":39,"satellites":50,"speed":23,"hex_longitude":"2d4a3ac0","hex_latitude":"06745b40","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582794240001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389658017416609792,"note":"Value kept but may cause issues"} 
[2026-08-23 02:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5342535823176757248,"note":"Value kept but may cause issues"} 
[2026-08-23 02:38:25] 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-08-23 02:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787432810000,"timestamp_ms":1787432810000,"timestamp_seconds":1787432810,"priority":1,"record_length":96,"hex_timestamp":"000001a02b4c3610"} 
[2026-08-23 02:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:38: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-08-23 02: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":77,"data_length":795,"current_offset":136} 
[2026-08-23 02:38: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-08-23 02: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-08-23 02:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:38:25] 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-08-23 02:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582794240001,"66":27321,"218":206,"80":60160,"24":23,"16":389658017416609792,"45":5342535823176757248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-23 02:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582794240001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:38:25] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-23 02:38:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389658017416609792,"km_value":389658017416609.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5342535823176757248,"description":"Unknown IO ID 45"} 
[2026-08-23 02:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582794240001,"power":27321,"unknown_218":206,"unknown_80":60160,"ignition":23,"odometer":null,"unknown_45":5342535823176757248}} 
[2026-08-23 02:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":160237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:38:25] local.INFO: GPS data processed {"connection_id":160237,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:38:25] local.INFO: Acknowledgment sent {"connection_id":160237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:38:48] local.INFO: TCP Data received {"connection_id":160432,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:38:48] local.INFO: Processing buffer {"connection_id":160432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:38:48] local.INFO: IMEI packet received {"connection_id":160432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":160432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:38:48] local.INFO: TCP Data received {"connection_id":160432,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:38:48] local.INFO: Processing buffer {"connection_id":160432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:38:48] local.INFO: IMEI packet received {"connection_id":160432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":160432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:38:52] local.INFO: TCP Data received {"connection_id":160432,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:38:52] local.INFO: Processing buffer {"connection_id":160432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:38:52] local.INFO: IMEI packet received {"connection_id":160432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":160432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:38:53] local.INFO: TCP Data received {"connection_id":160432,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b4c64f0012d4a5200067476c00009002731..."} 
[2026-08-23 02:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b4c64f0012d4a5200067476c00009002731..."} 
[2026-08-23 02:38:53] local.INFO: Processing buffer {"connection_id":160432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b4c64f0012d4a5200067476c00009002731..."} 
[2026-08-23 02:38:53] local.INFO: Packet analysis {"connection_id":160432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b4c"} 
[2026-08-23 02:38:53] local.INFO: Extracted packet for processing {"connection_id":160432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b4c"} 
[2026-08-23 02:38:53] local.INFO: GPS Element Parsed {"raw_longitude":759845376,"raw_latitude":108295872,"longitude_deg":75.9845376,"latitude_deg":10.8295872,"altitude":9,"angle":39,"satellites":49,"speed":35,"hex_longitude":"2d4a5200","hex_latitude":"067476c0","is_valid_coordinates":true} 
[2026-08-23 02:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582799360001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389658464093208576,"note":"Value kept but may cause issues"} 
[2026-08-23 02:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5348798641410359296,"note":"Value kept but may cause issues"} 
[2026-08-23 02:38:53] 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-08-23 02:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787432822000,"timestamp_ms":1787432822000,"timestamp_seconds":1787432822,"priority":1,"record_length":96,"hex_timestamp":"000001a02b4c64f0"} 
[2026-08-23 02:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:38: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-08-23 02:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 02:38:53] 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-08-23 02:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:38:53] 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-08-23 02:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582799360001,"66":27376,"218":206,"80":60160,"24":35,"16":389658464093208576,"45":5348798641410359296},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-23 02:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582799360001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:38:53] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-23 02:38:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389658464093208576,"km_value":389658464093208.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5348798641410359296,"description":"Unknown IO ID 45"} 
[2026-08-23 02:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582799360001,"power":27376,"unknown_218":206,"unknown_80":60160,"ignition":35,"odometer":null,"unknown_45":5348798641410359296}} 
[2026-08-23 02:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":160432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:38:53] local.INFO: GPS data processed {"connection_id":160432,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:38:53] local.INFO: Acknowledgment sent {"connection_id":160432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:39:24] local.INFO: TCP Data received {"connection_id":160432,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b4c8fe8012d4a6ac006749400000a00272f..."} 
[2026-08-23 02:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b4c8fe8012d4a6ac006749400000a00272f..."} 
[2026-08-23 02:39:24] local.INFO: Processing buffer {"connection_id":160432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b4c8fe8012d4a6ac006749400000a00272f..."} 
[2026-08-23 02:39:24] local.INFO: Packet analysis {"connection_id":160432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b4c"} 
[2026-08-23 02:39:24] local.INFO: Extracted packet for processing {"connection_id":160432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b4c"} 
[2026-08-23 02:39:24] local.INFO: GPS Element Parsed {"raw_longitude":759851712,"raw_latitude":108303360,"longitude_deg":75.9851712,"latitude_deg":10.830336,"altitude":10,"angle":39,"satellites":47,"speed":34,"hex_longitude":"2d4a6ac0","hex_latitude":"06749400","is_valid_coordinates":true} 
[2026-08-23 02:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582802432001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389658932244643840,"note":"Value kept but may cause issues"} 
[2026-08-23 02:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5355342934620684288,"note":"Value kept but may cause issues"} 
[2026-08-23 02:39:24] 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-08-23 02:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787432833000,"timestamp_ms":1787432833000,"timestamp_seconds":1787432833,"priority":1,"record_length":96,"hex_timestamp":"000001a02b4c8fe8"} 
[2026-08-23 02:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 02:39: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-08-23 02:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:39:24] 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-08-23 02:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582802432001,"66":26930,"218":206,"80":60160,"24":34,"16":389658932244643840,"45":5355342934620684288},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-08-23 02:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582802432001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:39:24] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-23 02:39:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389658932244643840,"km_value":389658932244643.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5355342934620684288,"description":"Unknown IO ID 45"} 
[2026-08-23 02:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582802432001,"power":26930,"unknown_218":206,"unknown_80":60160,"ignition":34,"odometer":null,"unknown_45":5355342934620684288}} 
[2026-08-23 02:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":160432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:39:24] local.INFO: GPS data processed {"connection_id":160432,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:39:24] local.INFO: Acknowledgment sent {"connection_id":160432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:39:48] local.INFO: TCP Data received {"connection_id":162814,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:39:48] local.INFO: Processing buffer {"connection_id":162814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:39:48] local.INFO: IMEI packet received {"connection_id":162814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":162814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:39:48] local.INFO: TCP Data received {"connection_id":162814,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:39:48] local.INFO: Processing buffer {"connection_id":162814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:39:48] local.INFO: IMEI packet received {"connection_id":162814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":162814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:39:52] local.INFO: TCP Data received {"connection_id":162814,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:39:52] local.INFO: Processing buffer {"connection_id":162814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:39:52] local.INFO: IMEI packet received {"connection_id":162814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":162814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:39:53] local.INFO: TCP Data received {"connection_id":162814,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b4cb6f8012d4a81800674af980009002733..."} 
[2026-08-23 02:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b4cb6f8012d4a81800674af980009002733..."} 
[2026-08-23 02:39:53] local.INFO: Processing buffer {"connection_id":162814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b4cb6f8012d4a81800674af980009002733..."} 
[2026-08-23 02:39:53] local.INFO: Packet analysis {"connection_id":162814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b4c"} 
[2026-08-23 02:39:53] local.INFO: Extracted packet for processing {"connection_id":162814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b4c"} 
[2026-08-23 02:39:53] local.INFO: GPS Element Parsed {"raw_longitude":759857536,"raw_latitude":108310424,"longitude_deg":75.9857536,"latitude_deg":10.8310424,"altitude":9,"angle":39,"satellites":51,"speed":37,"hex_longitude":"2d4a8180","hex_latitude":"0674af98","is_valid_coordinates":true} 
[2026-08-23 02:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582805248001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389659374626275328,"note":"Value kept but may cause issues"} 
[2026-08-23 02:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5362309440296189952,"note":"Value kept but may cause issues"} 
[2026-08-23 02:39:53] 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-08-23 02:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787432843000,"timestamp_ms":1787432843000,"timestamp_seconds":1787432843,"priority":1,"record_length":96,"hex_timestamp":"000001a02b4cb6f8"} 
[2026-08-23 02:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:39: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-08-23 02:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-23 02:39:53] 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-08-23 02:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:39:53] 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-08-23 02:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582805248001,"66":27234,"236":206,"80":60160,"24":37,"16":389659374626275328,"45":5362309440296189952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-08-23 02:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582805248001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:39:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-23 02:39:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389659374626275328,"km_value":389659374626275.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5362309440296189952,"description":"Unknown IO ID 45"} 
[2026-08-23 02:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582805248001,"power":27234,"unknown_236":206,"unknown_80":60160,"ignition":37,"odometer":null,"unknown_45":5362309440296189952}} 
[2026-08-23 02:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":162814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:39:53] local.INFO: GPS data processed {"connection_id":162814,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:39:53] local.INFO: Acknowledgment sent {"connection_id":162814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:40:25] local.INFO: TCP Data received {"connection_id":162814,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b4e7c18012d4b7f000675ed100010002632..."} 
[2026-08-23 02:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b4e7c18012d4b7f000675ed100010002632..."} 
[2026-08-23 02:40:25] local.INFO: Processing buffer {"connection_id":162814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b4e7c18012d4b7f000675ed100010002632..."} 
[2026-08-23 02:40:25] local.INFO: Packet analysis {"connection_id":162814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b4e"} 
[2026-08-23 02:40:25] local.INFO: Extracted packet for processing {"connection_id":162814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b4e"} 
[2026-08-23 02:40:25] local.INFO: GPS Element Parsed {"raw_longitude":759922432,"raw_latitude":108391696,"longitude_deg":75.9922432,"latitude_deg":10.8391696,"altitude":16,"angle":38,"satellites":50,"speed":39,"hex_longitude":"2d4b7f00","hex_latitude":"0675ed10","is_valid_coordinates":true} 
[2026-08-23 02:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582835200001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389664382558142464,"note":"Value kept but may cause issues"} 
[2026-08-23 02:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5433804084401469440,"note":"Value kept but may cause issues"} 
[2026-08-23 02:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787432959000,"timestamp_ms":1787432959000,"timestamp_seconds":1787432959,"priority":1,"record_length":96,"hex_timestamp":"000001a02b4e7c18"} 
[2026-08-23 02:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:40: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-08-23 02:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-23 02:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:40:25] 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-08-23 02:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582835200001,"66":27376,"77":206,"80":60160,"24":39,"16":389664382558142464,"45":5433804084401469440},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,80,24,16,45]} 
[2026-08-23 02:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582835200001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:40:25] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-23 02:40:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389664382558142464,"km_value":389664382558142.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5433804084401469440,"description":"Unknown IO ID 45"} 
[2026-08-23 02:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582835200001,"power":27376,"unknown_77":206,"unknown_80":60160,"ignition":39,"odometer":null,"unknown_45":5433804084401469440}} 
[2026-08-23 02:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":162814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:40:25] local.INFO: GPS data processed {"connection_id":162814,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:40:25] local.INFO: Acknowledgment sent {"connection_id":162814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:40:47] local.INFO: TCP Data received {"connection_id":162815,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:40:47] local.INFO: Processing buffer {"connection_id":162815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:40:47] local.INFO: IMEI packet received {"connection_id":162815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":162815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:40:48] local.INFO: TCP Data received {"connection_id":162815,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:40:48] local.INFO: Processing buffer {"connection_id":162815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:40:48] local.INFO: IMEI packet received {"connection_id":162815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":162815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:40:52] local.INFO: TCP Data received {"connection_id":162815,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:40:52] local.INFO: Processing buffer {"connection_id":162815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:40:52] local.INFO: IMEI packet received {"connection_id":162815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":162815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:40:53] local.INFO: TCP Data received {"connection_id":162815,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b4ea328012d4b968006760ae80012002533..."} 
[2026-08-23 02:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b4ea328012d4b968006760ae80012002533..."} 
[2026-08-23 02:40:53] local.INFO: Processing buffer {"connection_id":162815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b4ea328012d4b968006760ae80012002533..."} 
[2026-08-23 02:40:53] local.INFO: Packet analysis {"connection_id":162815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b4e"} 
[2026-08-23 02:40:53] local.INFO: Extracted packet for processing {"connection_id":162815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b4e"} 
[2026-08-23 02:40:53] local.INFO: GPS Element Parsed {"raw_longitude":759928448,"raw_latitude":108399336,"longitude_deg":75.9928448,"latitude_deg":10.8399336,"altitude":18,"angle":37,"satellites":51,"speed":38,"hex_longitude":"2d4b9680","hex_latitude":"06760ae8","is_valid_coordinates":true} 
[2026-08-23 02:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582837504001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389664850709577728,"note":"Value kept but may cause issues"} 
[2026-08-23 02:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5440066902635122688,"note":"Value kept but may cause issues"} 
[2026-08-23 02:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787432969000,"timestamp_ms":1787432969000,"timestamp_seconds":1787432969,"priority":1,"record_length":96,"hex_timestamp":"000001a02b4ea328"} 
[2026-08-23 02:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:40: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-08-23 02:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 02:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:40:53] 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-08-23 02:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582837504001,"66":27300,"77":206,"80":60160,"24":38,"16":389664850709577728,"45":5440066902635122688},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,80,24,16,45]} 
[2026-08-23 02:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582837504001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:40:53] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-23 02:40:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389664850709577728,"km_value":389664850709577.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5440066902635122688,"description":"Unknown IO ID 45"} 
[2026-08-23 02:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582837504001,"power":27300,"unknown_77":206,"unknown_80":60160,"ignition":38,"odometer":null,"unknown_45":5440066902635122688}} 
[2026-08-23 02:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":162815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:40:53] local.INFO: GPS data processed {"connection_id":162815,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:40:53] local.INFO: Acknowledgment sent {"connection_id":162815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:41:26] local.INFO: TCP Data received {"connection_id":162815,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b4eca38012d4bae00067628480013002632..."} 
[2026-08-23 02:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b4eca38012d4bae00067628480013002632..."} 
[2026-08-23 02:41:26] local.INFO: Processing buffer {"connection_id":162815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b4eca38012d4bae00067628480013002632..."} 
[2026-08-23 02:41:26] local.INFO: Packet analysis {"connection_id":162815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b4e"} 
[2026-08-23 02:41:26] local.INFO: Extracted packet for processing {"connection_id":162815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b4e"} 
[2026-08-23 02:41:26] local.INFO: GPS Element Parsed {"raw_longitude":759934464,"raw_latitude":108406856,"longitude_deg":75.9934464,"latitude_deg":10.8406856,"altitude":19,"angle":38,"satellites":50,"speed":38,"hex_longitude":"2d4bae00","hex_latitude":"06762848","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582840064001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389665318861012992,"note":"Value kept but may cause issues"} 
[2026-08-23 02:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5446681564589778944,"note":"Value kept but may cause issues"} 
[2026-08-23 02:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787432979000,"timestamp_ms":1787432979000,"timestamp_seconds":1787432979,"priority":1,"record_length":96,"hex_timestamp":"000001a02b4eca38"} 
[2026-08-23 02:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 02:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:41:26] 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-08-23 02:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582840064001,"66":27234,"77":206,"80":60160,"24":38,"16":389665318861012992,"45":5446681564589778944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,80,24,16,45]} 
[2026-08-23 02:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582840064001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:41:26] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-23 02:41:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389665318861012992,"km_value":389665318861013.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5446681564589778944,"description":"Unknown IO ID 45"} 
[2026-08-23 02:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582840064001,"power":27234,"unknown_77":206,"unknown_80":60160,"ignition":38,"odometer":null,"unknown_45":5446681564589778944}} 
[2026-08-23 02:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":162815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:41:26] local.INFO: GPS data processed {"connection_id":162815,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:41:26] local.INFO: Acknowledgment sent {"connection_id":162815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:41:52] local.INFO: TCP Data received {"connection_id":160238,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:41:52] local.INFO: Processing buffer {"connection_id":160238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:41:52] local.INFO: IMEI packet received {"connection_id":160238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":160238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:41:53] local.INFO: TCP Data received {"connection_id":160238,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:41:53] local.INFO: Processing buffer {"connection_id":160238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:41:53] local.INFO: IMEI packet received {"connection_id":160238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":160238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:41:54] local.INFO: TCP Data received {"connection_id":160238,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5006a0012d4d064006767a58000b007231..."} 
[2026-08-23 02:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5006a0012d4d064006767a58000b007231..."} 
[2026-08-23 02:41:54] local.INFO: Processing buffer {"connection_id":160238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5006a0012d4d064006767a58000b007231..."} 
[2026-08-23 02:41:54] local.INFO: Packet analysis {"connection_id":160238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b50"} 
[2026-08-23 02:41:54] local.INFO: Extracted packet for processing {"connection_id":160238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b50"} 
[2026-08-23 02:41:54] local.INFO: GPS Element Parsed {"raw_longitude":760022592,"raw_latitude":108427864,"longitude_deg":76.0022592,"latitude_deg":10.8427864,"altitude":11,"angle":114,"satellites":49,"speed":43,"hex_longitude":"2d4d0640","hex_latitude":"06767a58","is_valid_coordinates":true} 
[2026-08-23 02:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582861312001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389669901591117824,"note":"Value kept but may cause issues"} 
[2026-08-23 02:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5541186788028362752,"note":"Value kept but may cause issues"} 
[2026-08-23 02:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787433060000,"timestamp_ms":1787433060000,"timestamp_seconds":1787433060,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5006a0"} 
[2026-08-23 02:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:41: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-08-23 02:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 02:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:41:54] 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-08-23 02:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582861312001,"66":27332,"168":206,"80":60160,"24":43,"16":389669901591117824,"45":5541186788028362752},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,80,24,16,45]} 
[2026-08-23 02:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582861312001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:41:54] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-23 02:41:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389669901591117824,"km_value":389669901591117.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5541186788028362752,"description":"Unknown IO ID 45"} 
[2026-08-23 02:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582861312001,"power":27332,"unknown_168":206,"unknown_80":60160,"ignition":43,"odometer":null,"unknown_45":5541186788028362752}} 
[2026-08-23 02:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":160238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:41:54] local.INFO: GPS data processed {"connection_id":160238,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:41:54] local.INFO: Acknowledgment sent {"connection_id":160238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:41:57] local.INFO: TCP Data received {"connection_id":160238,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5021f8012d4d20c006766ab8000c007d30..."} 
[2026-08-23 02:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5021f8012d4d20c006766ab8000c007d30..."} 
[2026-08-23 02:41:57] local.INFO: Processing buffer {"connection_id":160238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5021f8012d4d20c006766ab8000c007d30..."} 
[2026-08-23 02:41:57] local.INFO: Packet analysis {"connection_id":160238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b50"} 
[2026-08-23 02:41:57] local.INFO: Extracted packet for processing {"connection_id":160238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b50"} 
[2026-08-23 02:41:57] local.INFO: GPS Element Parsed {"raw_longitude":760029376,"raw_latitude":108423864,"longitude_deg":76.0029376,"latitude_deg":10.8423864,"altitude":12,"angle":125,"satellites":48,"speed":45,"hex_longitude":"2d4d20c0","hex_latitude":"06766ab8","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582863360001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389670279548239872,"note":"Value kept but may cause issues"} 
[2026-08-23 02:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5550193987282425856,"note":"Value kept but may cause issues"} 
[2026-08-23 02:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787433067000,"timestamp_ms":1787433067000,"timestamp_seconds":1787433067,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5021f8"} 
[2026-08-23 02:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:41: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-08-23 02: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":196,"data_length":795,"current_offset":136} 
[2026-08-23 02:41: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-08-23 02: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-08-23 02:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:41:57] 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-08-23 02:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582863360001,"66":27310,"168":206,"80":60160,"24":45,"16":389670279548239872,"45":5550193987282425856},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,80,24,16,45]} 
[2026-08-23 02:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582863360001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:41:57] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-23 02:41:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389670279548239872,"km_value":389670279548239.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5550193987282425856,"description":"Unknown IO ID 45"} 
[2026-08-23 02:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582863360001,"power":27310,"unknown_168":206,"unknown_80":60160,"ignition":45,"odometer":null,"unknown_45":5550193987282425856}} 
[2026-08-23 02:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":160238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:41:57] local.INFO: GPS data processed {"connection_id":160238,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:41:57] local.INFO: Acknowledgment sent {"connection_id":160238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:42:29] local.INFO: TCP Data received {"connection_id":160238,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b504138012d4d3cc006765310000d00832f..."} 
[2026-08-23 02:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b504138012d4d3cc006765310000d00832f..."} 
[2026-08-23 02:42:29] local.INFO: Processing buffer {"connection_id":160238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b504138012d4d3cc006765310000d00832f..."} 
[2026-08-23 02:42:29] local.INFO: Packet analysis {"connection_id":160238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b50"} 
[2026-08-23 02:42:29] local.INFO: Extracted packet for processing {"connection_id":160238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b50"} 
[2026-08-23 02:42:29] local.INFO: GPS Element Parsed {"raw_longitude":760036544,"raw_latitude":108417808,"longitude_deg":76.0036544,"latitude_deg":10.8417808,"altitude":13,"angle":131,"satellites":47,"speed":44,"hex_longitude":"2d4d3cc0","hex_latitude":"06765310","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582865152001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389670730519805952,"note":"Value kept but may cause issues"} 
[2026-08-23 02:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5557653074164234240,"note":"Value kept but may cause issues"} 
[2026-08-23 02:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787433075000,"timestamp_ms":1787433075000,"timestamp_seconds":1787433075,"priority":1,"record_length":96,"hex_timestamp":"000001a02b504138"} 
[2026-08-23 02:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02: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-08-23 02: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":174,"data_length":795,"current_offset":136} 
[2026-08-23 02:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:42:29] 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-08-23 02:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582865152001,"66":27484,"168":206,"80":60160,"24":44,"16":389670730519805952,"45":5557653074164234240},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,80,24,16,45]} 
[2026-08-23 02:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582865152001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:42:29] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-23 02:42:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389670730519805952,"km_value":389670730519805.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5557653074164234240,"description":"Unknown IO ID 45"} 
[2026-08-23 02:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582865152001,"power":27484,"unknown_168":206,"unknown_80":60160,"ignition":44,"odometer":null,"unknown_45":5557653074164234240}} 
[2026-08-23 02:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":160238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:42:29] local.INFO: GPS data processed {"connection_id":160238,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:42:29] local.INFO: Acknowledgment sent {"connection_id":160238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:42:44] local.INFO: TCP Data received {"connection_id":161397,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:42:44] local.INFO: Processing buffer {"connection_id":161397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:42:44] local.INFO: IMEI packet received {"connection_id":161397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":161397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:42:47] local.INFO: TCP Data received {"connection_id":161397,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:42:47] local.INFO: Processing buffer {"connection_id":161397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:42:47] local.INFO: IMEI packet received {"connection_id":161397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":161397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:42:52] local.INFO: TCP Data received {"connection_id":161397,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:42:52] local.INFO: Processing buffer {"connection_id":161397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:42:52] local.INFO: IMEI packet received {"connection_id":161397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":161397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:42:53] local.INFO: TCP Data received {"connection_id":161397,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b506078012d4d57c006763b40000c008030..."} 
[2026-08-23 02:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b506078012d4d57c006763b40000c008030..."} 
[2026-08-23 02:42:53] local.INFO: Processing buffer {"connection_id":161397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b506078012d4d57c006763b40000c008030..."} 
[2026-08-23 02:42:53] local.INFO: Packet analysis {"connection_id":161397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b50"} 
[2026-08-23 02:42:53] local.INFO: Extracted packet for processing {"connection_id":161397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b50"} 
[2026-08-23 02:42:53] local.INFO: GPS Element Parsed {"raw_longitude":760043456,"raw_latitude":108411712,"longitude_deg":76.0043456,"latitude_deg":10.8411712,"altitude":12,"angle":128,"satellites":48,"speed":46,"hex_longitude":"2d4d57c0","hex_latitude":"06763b40","is_valid_coordinates":true} 
[2026-08-23 02:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582867200001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389671172901437440,"note":"Value kept but may cause issues"} 
[2026-08-23 02:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5565534373510582272,"note":"Value kept but may cause issues"} 
[2026-08-23 02:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787433083000,"timestamp_ms":1787433083000,"timestamp_seconds":1787433083,"priority":1,"record_length":96,"hex_timestamp":"000001a02b506078"} 
[2026-08-23 02:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:42: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-08-23 02:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 02:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:42:53] 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-08-23 02:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582867200001,"66":27300,"168":206,"80":60160,"24":46,"16":389671172901437440,"45":5565534373510582272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,80,24,16,45]} 
[2026-08-23 02:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582867200001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:42:53] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-23 02:42:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389671172901437440,"km_value":389671172901437.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5565534373510582272,"description":"Unknown IO ID 45"} 
[2026-08-23 02:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582867200001,"power":27300,"unknown_168":206,"unknown_80":60160,"ignition":46,"odometer":null,"unknown_45":5565534373510582272}} 
[2026-08-23 02:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":161397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:42:53] local.INFO: GPS data processed {"connection_id":161397,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:42:53] local.INFO: Acknowledgment sent {"connection_id":161397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:43:25] local.INFO: TCP Data received {"connection_id":161397,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b507fb8012d4d764006762770000b00742e..."} 
[2026-08-23 02:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b507fb8012d4d764006762770000b00742e..."} 
[2026-08-23 02:43:25] local.INFO: Processing buffer {"connection_id":161397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b507fb8012d4d764006762770000b00742e..."} 
[2026-08-23 02:43:25] local.INFO: Packet analysis {"connection_id":161397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b50"} 
[2026-08-23 02:43:25] local.INFO: Extracted packet for processing {"connection_id":161397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b50"} 
[2026-08-23 02:43:25] local.INFO: GPS Element Parsed {"raw_longitude":760051264,"raw_latitude":108406640,"longitude_deg":76.0051264,"latitude_deg":10.840664,"altitude":11,"angle":116,"satellites":46,"speed":44,"hex_longitude":"2d4d7640","hex_latitude":"06762770","is_valid_coordinates":true} 
[2026-08-23 02:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582869248001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389671619578036224,"note":"Value kept but may cause issues"} 
[2026-08-23 02:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5573134197880209408,"note":"Value kept but may cause issues"} 
[2026-08-23 02:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787433091000,"timestamp_ms":1787433091000,"timestamp_seconds":1787433091,"priority":1,"record_length":96,"hex_timestamp":"000001a02b507fb8"} 
[2026-08-23 02:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:43: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-08-23 02:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 02:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:43:25] 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-08-23 02:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582869248001,"66":27321,"168":206,"80":60160,"24":44,"16":389671619578036224,"45":5573134197880209408},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,80,24,16,45]} 
[2026-08-23 02:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582869248001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:43:25] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-23 02:43:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389671619578036224,"km_value":389671619578036.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5573134197880209408,"description":"Unknown IO ID 45"} 
[2026-08-23 02:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582869248001,"power":27321,"unknown_168":206,"unknown_80":60160,"ignition":44,"odometer":null,"unknown_45":5573134197880209408}} 
[2026-08-23 02:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":161397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:43:25] local.INFO: GPS data processed {"connection_id":161397,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:43:25] local.INFO: Acknowledgment sent {"connection_id":161397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:43:47] local.INFO: TCP Data received {"connection_id":161398,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:43:47] local.INFO: Processing buffer {"connection_id":161398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:43:47] local.INFO: IMEI packet received {"connection_id":161398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":161398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:43:52] local.INFO: TCP Data received {"connection_id":161398,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:43:52] local.INFO: Processing buffer {"connection_id":161398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:43:52] local.INFO: IMEI packet received {"connection_id":161398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":161398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:43:53] local.INFO: TCP Data received {"connection_id":161398,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b507fb8012d4d764006762770000b00742e..."} 
[2026-08-23 02:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b507fb8012d4d764006762770000b00742e..."} 
[2026-08-23 02:43:53] local.INFO: Processing buffer {"connection_id":161398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b507fb8012d4d764006762770000b00742e..."} 
[2026-08-23 02:43:53] local.INFO: Packet analysis {"connection_id":161398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b50"} 
[2026-08-23 02:43:53] local.INFO: Extracted packet for processing {"connection_id":161398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b50"} 
[2026-08-23 02:43:53] local.INFO: GPS Element Parsed {"raw_longitude":760051264,"raw_latitude":108406640,"longitude_deg":76.0051264,"latitude_deg":10.840664,"altitude":11,"angle":116,"satellites":46,"speed":44,"hex_longitude":"2d4d7640","hex_latitude":"06762770","is_valid_coordinates":true} 
[2026-08-23 02:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582871296001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389671619578036224,"note":"Value kept but may cause issues"} 
[2026-08-23 02:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5581719184668585984,"note":"Value kept but may cause issues"} 
[2026-08-23 02:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787433091000,"timestamp_ms":1787433091000,"timestamp_seconds":1787433091,"priority":1,"record_length":96,"hex_timestamp":"000001a02b507fb8"} 
[2026-08-23 02:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:43: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-08-23 02:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 02:43:53] 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-08-23 02:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:43:53] 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-08-23 02:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582871296001,"66":27321,"168":206,"80":60160,"24":44,"16":389671619578036224,"45":5581719184668585984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,80,24,16,45]} 
[2026-08-23 02:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582871296001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:43:53] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-23 02:43:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389671619578036224,"km_value":389671619578036.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5581719184668585984,"description":"Unknown IO ID 45"} 
[2026-08-23 02:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582871296001,"power":27321,"unknown_168":206,"unknown_80":60160,"ignition":44,"odometer":null,"unknown_45":5581719184668585984}} 
[2026-08-23 02:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":161398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:43:53] local.INFO: GPS data processed {"connection_id":161398,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:43:53] local.INFO: Acknowledgment sent {"connection_id":161398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:44:24] local.INFO: TCP Data received {"connection_id":161398,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b509b10012d4d924006761d60000b006730..."} 
[2026-08-23 02:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b509b10012d4d924006761d60000b006730..."} 
[2026-08-23 02:44:24] local.INFO: Processing buffer {"connection_id":161398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b509b10012d4d924006761d60000b006730..."} 
[2026-08-23 02:44:24] local.INFO: Packet analysis {"connection_id":161398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b50"} 
[2026-08-23 02:44:24] local.INFO: Extracted packet for processing {"connection_id":161398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b50"} 
[2026-08-23 02:44:24] local.INFO: GPS Element Parsed {"raw_longitude":760058432,"raw_latitude":108404064,"longitude_deg":76.0058432,"latitude_deg":10.8404064,"altitude":11,"angle":103,"satellites":48,"speed":41,"hex_longitude":"2d4d9240","hex_latitude":"06761d60","is_valid_coordinates":true} 
[2026-08-23 02:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582871296001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389671980355289088,"note":"Value kept but may cause issues"} 
[2026-08-23 02:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5581719184668585984,"note":"Value kept but may cause issues"} 
[2026-08-23 02:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787433098000,"timestamp_ms":1787433098000,"timestamp_seconds":1787433098,"priority":1,"record_length":96,"hex_timestamp":"000001a02b509b10"} 
[2026-08-23 02:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:44: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-08-23 02:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 02:44:24] 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-08-23 02:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:44:24] 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-08-23 02:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582871296001,"66":27484,"168":206,"80":60160,"24":41,"16":389671980355289088,"45":5581719184668585984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,80,24,16,45]} 
[2026-08-23 02:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582871296001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:44:24] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-23 02:44:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389671980355289088,"km_value":389671980355289.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5581719184668585984,"description":"Unknown IO ID 45"} 
[2026-08-23 02:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582871296001,"power":27484,"unknown_168":206,"unknown_80":60160,"ignition":41,"odometer":null,"unknown_45":5581719184668585984}} 
[2026-08-23 02:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":161398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:44:24] local.INFO: GPS data processed {"connection_id":161398,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:44:24] local.INFO: Acknowledgment sent {"connection_id":161398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:44:47] local.INFO: TCP Data received {"connection_id":160239,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:44:47] local.INFO: Processing buffer {"connection_id":160239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:44:47] local.INFO: IMEI packet received {"connection_id":160239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":160239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:45:01] local.INFO: TCP Data received {"connection_id":160239,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:45:01] local.INFO: Processing buffer {"connection_id":160239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:45:01] local.INFO: IMEI packet received {"connection_id":160239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":160239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:45:01] local.INFO: TCP Data received {"connection_id":160239,"ip":"42.109.136.5","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 02:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160239,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 02:45:01] local.INFO: Processing buffer {"connection_id":160239,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 02:45:01] local.INFO: IMEI packet received {"connection_id":160239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":160239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:50:02] local.INFO: TCP Data received {"connection_id":162818,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:50:02] local.INFO: Processing buffer {"connection_id":162818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:50:02] local.INFO: IMEI packet received {"connection_id":162818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":162818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:50:03] local.INFO: TCP Data received {"connection_id":162818,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b56dca0012d5211800677d730002f00292e..."} 
[2026-08-23 02:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b56dca0012d5211800677d730002f00292e..."} 
[2026-08-23 02:50:03] local.INFO: Processing buffer {"connection_id":162818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b56dca0012d5211800677d730002f00292e..."} 
[2026-08-23 02:50:03] local.INFO: Packet analysis {"connection_id":162818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b56"} 
[2026-08-23 02:50:03] local.INFO: Extracted packet for processing {"connection_id":162818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b56"} 
[2026-08-23 02:50:03] local.INFO: GPS Element Parsed {"raw_longitude":760353152,"raw_latitude":108517168,"longitude_deg":76.0353152,"latitude_deg":10.8517168,"altitude":47,"angle":41,"satellites":46,"speed":20,"hex_longitude":"2d521180","hex_latitude":"0677d730","is_valid_coordinates":true} 
[2026-08-23 02:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582973696001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389689267598655488,"note":"Value kept but may cause issues"} 
[2026-08-23 02:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5905978357865969664,"note":"Value kept but may cause issues"} 
[2026-08-23 02:50:03] 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-08-23 02:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787433508000,"timestamp_ms":1787433508000,"timestamp_seconds":1787433508,"priority":1,"record_length":96,"hex_timestamp":"000001a02b56dca0"} 
[2026-08-23 02:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:50: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-08-23 02:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 02:50: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-08-23 02:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:50:03] 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-08-23 02:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582973696001,"66":27397,"18":206,"80":60160,"24":20,"16":389689267598655488,"45":5905978357865969664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-08-23 02:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582973696001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:50:03] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-23 02:50:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389689267598655488,"km_value":389689267598655.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5905978357865969664,"description":"Unknown IO ID 45"} 
[2026-08-23 02:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582973696001,"power":27397,"unknown_18":206,"unknown_80":60160,"ignition":20,"odometer":null,"unknown_45":5905978357865969664}} 
[2026-08-23 02:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":162818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:50:03] local.INFO: GPS data processed {"connection_id":162818,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:50:03] local.INFO: Acknowledgment sent {"connection_id":162818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:50:47] local.INFO: TCP Data received {"connection_id":160242,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:50:47] local.INFO: Processing buffer {"connection_id":160242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:50:47] local.INFO: IMEI packet received {"connection_id":160242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":160242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:50:52] local.INFO: TCP Data received {"connection_id":160242,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:50:52] local.INFO: Processing buffer {"connection_id":160242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:50:52] local.INFO: IMEI packet received {"connection_id":160242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":160242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:50:53] local.INFO: TCP Data received {"connection_id":160242,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b571b20012d5223400677eea00034001d32..."} 
[2026-08-23 02:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b571b20012d5223400677eea00034001d32..."} 
[2026-08-23 02:50:53] local.INFO: Processing buffer {"connection_id":160242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b571b20012d5223400677eea00034001d32..."} 
[2026-08-23 02:50:53] local.INFO: Packet analysis {"connection_id":160242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b57"} 
[2026-08-23 02:50:53] local.INFO: Extracted packet for processing {"connection_id":160242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b57"} 
[2026-08-23 02:50:53] local.INFO: GPS Element Parsed {"raw_longitude":760357696,"raw_latitude":108523168,"longitude_deg":76.0357696,"latitude_deg":10.8523168,"altitude":52,"angle":29,"satellites":50,"speed":19,"hex_longitude":"2d522340","hex_latitude":"0677eea0","is_valid_coordinates":true} 
[2026-08-23 02:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582978048001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389689632670875648,"note":"Value kept but may cause issues"} 
[2026-08-23 02:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5913648550982922240,"note":"Value kept but may cause issues"} 
[2026-08-23 02:50:53] 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-08-23 02:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787433524000,"timestamp_ms":1787433524000,"timestamp_seconds":1787433524,"priority":1,"record_length":96,"hex_timestamp":"000001a02b571b20"} 
[2026-08-23 02:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 02:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:50:53] 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-08-23 02:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582978048001,"66":27267,"18":206,"80":60160,"24":19,"16":389689632670875648,"45":5913648550982922240},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-08-23 02:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582978048001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:50:53] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-23 02:50:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389689632670875648,"km_value":389689632670875.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5913648550982922240,"description":"Unknown IO ID 45"} 
[2026-08-23 02:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582978048001,"power":27267,"unknown_18":206,"unknown_80":60160,"ignition":19,"odometer":null,"unknown_45":5913648550982922240}} 
[2026-08-23 02:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":160242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:50:53] local.INFO: GPS data processed {"connection_id":160242,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:50:53] local.INFO: Acknowledgment sent {"connection_id":160242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:51:24] local.INFO: TCP Data received {"connection_id":160242,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b574de8012d522d80067802b80036001231..."} 
[2026-08-23 02:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b574de8012d522d80067802b80036001231..."} 
[2026-08-23 02:51:24] local.INFO: Processing buffer {"connection_id":160242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b574de8012d522d80067802b80036001231..."} 
[2026-08-23 02:51:24] local.INFO: Packet analysis {"connection_id":160242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b57"} 
[2026-08-23 02:51:24] local.INFO: Extracted packet for processing {"connection_id":160242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b57"} 
[2026-08-23 02:51:24] local.INFO: GPS Element Parsed {"raw_longitude":760360320,"raw_latitude":108528312,"longitude_deg":76.036032,"latitude_deg":10.8528312,"altitude":54,"angle":18,"satellites":49,"speed":14,"hex_longitude":"2d522d80","hex_latitude":"067802b8","is_valid_coordinates":true} 
[2026-08-23 02:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582982144001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389689911843749888,"note":"Value kept but may cause issues"} 
[2026-08-23 02:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5918644731821072384,"note":"Value kept but may cause issues"} 
[2026-08-23 02:51:24] 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-08-23 02:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787433537000,"timestamp_ms":1787433537000,"timestamp_seconds":1787433537,"priority":1,"record_length":96,"hex_timestamp":"000001a02b574de8"} 
[2026-08-23 02:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 02:51:24] 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-08-23 02:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:51:24] 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-08-23 02:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582982144001,"66":27300,"18":206,"80":60160,"24":14,"16":389689911843749888,"45":5918644731821072384},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-08-23 02:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582982144001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:51:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-23 02:51:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389689911843749888,"km_value":389689911843749.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5918644731821072384,"description":"Unknown IO ID 45"} 
[2026-08-23 02:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582982144001,"power":27300,"unknown_18":206,"unknown_80":60160,"ignition":14,"odometer":null,"unknown_45":5918644731821072384}} 
[2026-08-23 02:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":160242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:51:24] local.INFO: GPS data processed {"connection_id":160242,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:51:24] local.INFO: Acknowledgment sent {"connection_id":160242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:51:56] local.INFO: TCP Data received {"connection_id":162819,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:51:56] local.INFO: Processing buffer {"connection_id":162819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:51:56] local.INFO: IMEI packet received {"connection_id":162819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":162819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:51:57] local.INFO: TCP Data received {"connection_id":162819,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:51:57] local.INFO: Processing buffer {"connection_id":162819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:51:57] local.INFO: IMEI packet received {"connection_id":162819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":162819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:52:02] local.INFO: TCP Data received {"connection_id":162819,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:52:02] local.INFO: Processing buffer {"connection_id":162819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:52:02] local.INFO: IMEI packet received {"connection_id":162819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":162819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:52:03] local.INFO: TCP Data received {"connection_id":162819,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b579ff0012d523580067824d8003900092d..."} 
[2026-08-23 02:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b579ff0012d523580067824d8003900092d..."} 
[2026-08-23 02:52:03] local.INFO: Processing buffer {"connection_id":162819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b579ff0012d523580067824d8003900092d..."} 
[2026-08-23 02:52:03] local.INFO: Packet analysis {"connection_id":162819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b57"} 
[2026-08-23 02:52:03] local.INFO: Extracted packet for processing {"connection_id":162819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b57"} 
[2026-08-23 02:52:03] local.INFO: GPS Element Parsed {"raw_longitude":760362368,"raw_latitude":108537048,"longitude_deg":76.0362368,"latitude_deg":10.8537048,"altitude":57,"angle":9,"satellites":45,"speed":22,"hex_longitude":"2d523580","hex_latitude":"067824d8","is_valid_coordinates":true} 
[2026-08-23 02:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457582985472001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389690349930414080,"note":"Value kept but may cause issues"} 
[2026-08-23 02:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5921529850333673472,"note":"Value kept but may cause issues"} 
[2026-08-23 02:52:03] 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-08-23 02:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787433558000,"timestamp_ms":1787433558000,"timestamp_seconds":1787433558,"priority":1,"record_length":96,"hex_timestamp":"000001a02b579ff0"} 
[2026-08-23 02:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 02:52:03] 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-08-23 02:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:52:03] 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-08-23 02:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457582985472001,"66":27234,"19":206,"80":60160,"24":22,"16":389690349930414080,"45":5921529850333673472},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-08-23 02:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457582985472001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:52:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-23 02:52:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-08-23 02:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389690349930414080,"km_value":389690349930414.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5921529850333673472,"description":"Unknown IO ID 45"} 
[2026-08-23 02:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457582985472001,"power":27234,"unknown_19":206,"unknown_80":60160,"ignition":22,"odometer":null,"unknown_45":5921529850333673472}} 
[2026-08-23 02:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":162819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:52:03] local.INFO: GPS data processed {"connection_id":162819,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:52:03] local.INFO: Acknowledgment sent {"connection_id":162819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:52:47] local.INFO: TCP Data received {"connection_id":160433,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:52:47] local.INFO: Processing buffer {"connection_id":160433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:52:47] local.INFO: IMEI packet received {"connection_id":160433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":160433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:52:47] local.INFO: TCP Data received {"connection_id":160433,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:52:48] local.INFO: Processing buffer {"connection_id":160433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:52:48] local.INFO: IMEI packet received {"connection_id":160433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":160433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:52:52] local.INFO: TCP Data received {"connection_id":160433,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:52:52] local.INFO: Processing buffer {"connection_id":160433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:52:52] local.INFO: IMEI packet received {"connection_id":160433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":160433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:52:54] local.INFO: TCP Data received {"connection_id":160433,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b59e210012d52648006793d880055001232..."} 
[2026-08-23 02:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b59e210012d52648006793d880055001232..."} 
[2026-08-23 02:52:54] local.INFO: Processing buffer {"connection_id":160433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b59e210012d52648006793d880055001232..."} 
[2026-08-23 02:52:54] local.INFO: Packet analysis {"connection_id":160433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b59"} 
[2026-08-23 02:52:54] local.INFO: Extracted packet for processing {"connection_id":160433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b59"} 
[2026-08-23 02:52:54] local.INFO: GPS Element Parsed {"raw_longitude":760374400,"raw_latitude":108608904,"longitude_deg":76.03744,"latitude_deg":10.8608904,"altitude":85,"angle":18,"satellites":50,"speed":32,"hex_longitude":"2d526480","hex_latitude":"06793d88","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583025408001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389693897573400576,"note":"Value kept but may cause issues"} 
[2026-08-23 02:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5933633274350635008,"note":"Value kept but may cause issues"} 
[2026-08-23 02:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787433706000,"timestamp_ms":1787433706000,"timestamp_seconds":1787433706,"priority":1,"record_length":96,"hex_timestamp":"000001a02b59e210"} 
[2026-08-23 02:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:52: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-08-23 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 02:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:52:54] 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-08-23 02:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583025408001,"66":27463,"94":206,"80":60928,"24":32,"16":389693897573400576,"45":5933633274350635008},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,80,24,16,45]} 
[2026-08-23 02:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583025408001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:52:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-23 02:52:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 02:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389693897573400576,"km_value":389693897573400.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5933633274350635008,"description":"Unknown IO ID 45"} 
[2026-08-23 02:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583025408001,"power":27463,"unknown_94":206,"unknown_80":60928,"ignition":32,"odometer":null,"unknown_45":5933633274350635008}} 
[2026-08-23 02:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":160433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:52:54] local.INFO: GPS data processed {"connection_id":160433,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:52:54] local.INFO: Acknowledgment sent {"connection_id":160433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:53:25] local.INFO: TCP Data received {"connection_id":160433,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5a0d08012d52700006795e900056001231..."} 
[2026-08-23 02:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5a0d08012d52700006795e900056001231..."} 
[2026-08-23 02:53:25] local.INFO: Processing buffer {"connection_id":160433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5a0d08012d52700006795e900056001231..."} 
[2026-08-23 02:53:25] local.INFO: Packet analysis {"connection_id":160433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b5a"} 
[2026-08-23 02:53:25] local.INFO: Extracted packet for processing {"connection_id":160433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b5a"} 
[2026-08-23 02:53:25] local.INFO: GPS Element Parsed {"raw_longitude":760377344,"raw_latitude":108617360,"longitude_deg":76.0377344,"latitude_deg":10.861736,"altitude":86,"angle":18,"satellites":49,"speed":31,"hex_longitude":"2d527000","hex_latitude":"06795e90","is_valid_coordinates":true} 
[2026-08-23 02:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583028736001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389694335660064768,"note":"Value kept but may cause issues"} 
[2026-08-23 02:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5937010974073391104,"note":"Value kept but may cause issues"} 
[2026-08-23 02:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787433717000,"timestamp_ms":1787433717000,"timestamp_seconds":1787433717,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5a0d08"} 
[2026-08-23 02:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:53: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-08-23 02:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-23 02:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:53:25] 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-08-23 02:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583028736001,"66":27300,"156":206,"80":60928,"24":31,"16":389694335660064768,"45":5937010974073391104},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 02:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583028736001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:53:25] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 02:53:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 02:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389694335660064768,"km_value":389694335660064.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5937010974073391104,"description":"Unknown IO ID 45"} 
[2026-08-23 02:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583028736001,"power":27300,"unknown_156":206,"unknown_80":60928,"ignition":31,"odometer":null,"unknown_45":5937010974073391104}} 
[2026-08-23 02:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":160433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:53:25] local.INFO: GPS data processed {"connection_id":160433,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:53:25] local.INFO: Acknowledgment sent {"connection_id":160433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:53:52] local.INFO: TCP Data received {"connection_id":160243,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:53:52] local.INFO: Processing buffer {"connection_id":160243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:53:52] local.INFO: IMEI packet received {"connection_id":160243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":160243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:53:57] local.INFO: TCP Data received {"connection_id":160243,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:53:57] local.INFO: Processing buffer {"connection_id":160243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:53:57] local.INFO: IMEI packet received {"connection_id":160243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":160243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:53:59] local.INFO: TCP Data received {"connection_id":160243,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5a3be8012d527c80067980980057001132..."} 
[2026-08-23 02:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5a3be8012d527c80067980980057001132..."} 
[2026-08-23 02:53:59] local.INFO: Processing buffer {"connection_id":160243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5a3be8012d527c80067980980057001132..."} 
[2026-08-23 02:53:59] local.INFO: Packet analysis {"connection_id":160243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b5a"} 
[2026-08-23 02:53:59] local.INFO: Extracted packet for processing {"connection_id":160243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b5a"} 
[2026-08-23 02:53:59] local.INFO: GPS Element Parsed {"raw_longitude":760380544,"raw_latitude":108626072,"longitude_deg":76.0380544,"latitude_deg":10.8626072,"altitude":87,"angle":17,"satellites":50,"speed":30,"hex_longitude":"2d527c80","hex_latitude":"06798098","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583031552001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389694782336663552,"note":"Value kept but may cause issues"} 
[2026-08-23 02:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5940247936307728384,"note":"Value kept but may cause issues"} 
[2026-08-23 02:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787433729000,"timestamp_ms":1787433729000,"timestamp_seconds":1787433729,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5a3be8"} 
[2026-08-23 02:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02: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-08-23 02: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-08-23 02: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-08-23 02: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-08-23 02:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583031552001,"66":27376,"156":206,"80":60928,"24":30,"16":389694782336663552,"45":5940247936307728384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 02:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583031552001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:53:59] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 02:53:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 02:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389694782336663552,"km_value":389694782336663.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5940247936307728384,"description":"Unknown IO ID 45"} 
[2026-08-23 02:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583031552001,"power":27376,"unknown_156":206,"unknown_80":60928,"ignition":30,"odometer":null,"unknown_45":5940247936307728384}} 
[2026-08-23 02:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":160243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:53:59] local.INFO: GPS data processed {"connection_id":160243,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:53:59] local.INFO: Acknowledgment sent {"connection_id":160243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:54:03] local.INFO: TCP Data received {"connection_id":160243,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5a6eb0012d5287400679a2100056000e33..."} 
[2026-08-23 02:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5a6eb0012d5287400679a2100056000e33..."} 
[2026-08-23 02:54:03] local.INFO: Processing buffer {"connection_id":160243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5a6eb0012d5287400679a2100056000e33..."} 
[2026-08-23 02:54:03] local.INFO: Packet analysis {"connection_id":160243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b5a"} 
[2026-08-23 02:54:03] local.INFO: Extracted packet for processing {"connection_id":160243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b5a"} 
[2026-08-23 02:54:03] local.INFO: GPS Element Parsed {"raw_longitude":760383296,"raw_latitude":108634640,"longitude_deg":76.0383296,"latitude_deg":10.863464,"altitude":86,"angle":14,"satellites":51,"speed":18,"hex_longitude":"2d528740","hex_latitude":"0679a210","is_valid_coordinates":true} 
[2026-08-23 02:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583034624001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695220423327744,"note":"Value kept but may cause issues"} 
[2026-08-23 02:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5943766373518841856,"note":"Value kept but may cause issues"} 
[2026-08-23 02:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787433742000,"timestamp_ms":1787433742000,"timestamp_seconds":1787433742,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5a6eb0"} 
[2026-08-23 02:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 02:54: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-08-23 02:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583034624001,"66":27713,"156":206,"80":60928,"24":18,"16":389695220423327744,"45":5943766373518841856},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 02:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583034624001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:54:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 02:54:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 02:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695220423327744,"km_value":389695220423327.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5943766373518841856,"description":"Unknown IO ID 45"} 
[2026-08-23 02:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583034624001,"power":27713,"unknown_156":206,"unknown_80":60928,"ignition":18,"odometer":null,"unknown_45":5943766373518841856}} 
[2026-08-23 02:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":160243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:54:03] local.INFO: GPS data processed {"connection_id":160243,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:54:03] local.INFO: Acknowledgment sent {"connection_id":160243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:54:47] local.INFO: TCP Data received {"connection_id":161399,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:54:47] local.INFO: Processing buffer {"connection_id":161399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:54:47] local.INFO: IMEI packet received {"connection_id":161399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":161399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:54:52] local.INFO: TCP Data received {"connection_id":161399,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:54:52] local.INFO: Processing buffer {"connection_id":161399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:54:52] local.INFO: IMEI packet received {"connection_id":161399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":161399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:54:54] local.INFO: TCP Data received {"connection_id":161399,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:54:54] local.INFO: Processing buffer {"connection_id":161399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:54:54] local.INFO: Packet analysis {"connection_id":161399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b5a"} 
[2026-08-23 02:54:54] local.INFO: Extracted packet for processing {"connection_id":161399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b5a"} 
[2026-08-23 02:54:54] local.INFO: GPS Element Parsed {"raw_longitude":760384192,"raw_latitude":108637656,"longitude_deg":76.0384192,"latitude_deg":10.8637656,"altitude":85,"angle":17,"satellites":51,"speed":2,"hex_longitude":"2d528ac0","hex_latitude":"0679add8","is_valid_coordinates":true} 
[2026-08-23 02:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583037952001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 02:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5946792229520674816,"note":"Value kept but may cause issues"} 
[2026-08-23 02:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787433754000,"timestamp_ms":1787433754000,"timestamp_seconds":1787433754,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5a9d90"} 
[2026-08-23 02:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-23 02:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:54:54] 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-08-23 02:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583037952001,"66":27767,"156":206,"80":60928,"24":2,"16":389695375042150400,"45":5946792229520674816},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 02:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583037952001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:54:54] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 02:54:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 02:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5946792229520674816,"description":"Unknown IO ID 45"} 
[2026-08-23 02:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583037952001,"power":27767,"unknown_156":206,"unknown_80":60928,"ignition":2,"odometer":null,"unknown_45":5946792229520674816}} 
[2026-08-23 02:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":161399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:54:54] local.INFO: GPS data processed {"connection_id":161399,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:54:54] local.INFO: Acknowledgment sent {"connection_id":161399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:54:58] local.INFO: TCP Data received {"connection_id":161399,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:54:58] local.INFO: Processing buffer {"connection_id":161399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:54:58] local.INFO: Packet analysis {"connection_id":161399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b5a"} 
[2026-08-23 02:54:58] local.INFO: Extracted packet for processing {"connection_id":161399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b5a"} 
[2026-08-23 02:54:58] local.INFO: GPS Element Parsed {"raw_longitude":760384192,"raw_latitude":108637656,"longitude_deg":76.0384192,"latitude_deg":10.8637656,"altitude":85,"angle":17,"satellites":51,"speed":2,"hex_longitude":"2d528ac0","hex_latitude":"0679add8","is_valid_coordinates":true} 
[2026-08-23 02:54: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-08-23 02:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583037952001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 02:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5946792229520674816,"note":"Value kept but may cause issues"} 
[2026-08-23 02:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787433754000,"timestamp_ms":1787433754000,"timestamp_seconds":1787433754,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5a9d90"} 
[2026-08-23 02:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-23 02:54: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-08-23 02:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:54:58] 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-08-23 02:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583037952001,"66":27767,"156":206,"80":60928,"24":2,"16":389695375042150400,"45":5946792229520674816},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 02:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583037952001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:54:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 02:54:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 02:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5946792229520674816,"description":"Unknown IO ID 45"} 
[2026-08-23 02:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583037952001,"power":27767,"unknown_156":206,"unknown_80":60928,"ignition":2,"odometer":null,"unknown_45":5946792229520674816}} 
[2026-08-23 02:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":161399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:54:58] local.INFO: GPS data processed {"connection_id":161399,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:54:58] local.INFO: Acknowledgment sent {"connection_id":161399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:55:30] local.INFO: TCP Data received {"connection_id":161399,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:55:30] local.INFO: Processing buffer {"connection_id":161399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:55:30] local.INFO: Packet analysis {"connection_id":161399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b5a"} 
[2026-08-23 02:55:30] local.INFO: Extracted packet for processing {"connection_id":161399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b5a"} 
[2026-08-23 02:55:30] local.INFO: GPS Element Parsed {"raw_longitude":760384192,"raw_latitude":108637656,"longitude_deg":76.0384192,"latitude_deg":10.8637656,"altitude":85,"angle":17,"satellites":51,"speed":2,"hex_longitude":"2d528ac0","hex_latitude":"0679add8","is_valid_coordinates":true} 
[2026-08-23 02:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583037952001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 02:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5946792229520674816,"note":"Value kept but may cause issues"} 
[2026-08-23 02:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787433754000,"timestamp_ms":1787433754000,"timestamp_seconds":1787433754,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5a9d90"} 
[2026-08-23 02:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:55: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-08-23 02:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-23 02:55:30] 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-08-23 02:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:55:30] 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-08-23 02:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583037952001,"66":27767,"156":206,"80":60928,"24":2,"16":389695375042150400,"45":5946792229520674816},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 02:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583037952001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:55:30] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 02:55:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 02:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5946792229520674816,"description":"Unknown IO ID 45"} 
[2026-08-23 02:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583037952001,"power":27767,"unknown_156":206,"unknown_80":60928,"ignition":2,"odometer":null,"unknown_45":5946792229520674816}} 
[2026-08-23 02:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":161399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:55:30] local.INFO: GPS data processed {"connection_id":161399,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:55:30] local.INFO: Acknowledgment sent {"connection_id":161399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:55:47] local.INFO: TCP Data received {"connection_id":160434,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:55:47] local.INFO: Processing buffer {"connection_id":160434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:55:47] local.INFO: IMEI packet received {"connection_id":160434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":160434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:55:52] local.INFO: TCP Data received {"connection_id":160434,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:55:52] local.INFO: Processing buffer {"connection_id":160434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:55:52] local.INFO: IMEI packet received {"connection_id":160434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":160434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:55:54] local.INFO: TCP Data received {"connection_id":160434,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:55:54] local.INFO: Processing buffer {"connection_id":160434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:55:54] local.INFO: Packet analysis {"connection_id":160434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b5a"} 
[2026-08-23 02:55:54] local.INFO: Extracted packet for processing {"connection_id":160434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b5a"} 
[2026-08-23 02:55:54] local.INFO: GPS Element Parsed {"raw_longitude":760384192,"raw_latitude":108637656,"longitude_deg":76.0384192,"latitude_deg":10.8637656,"altitude":85,"angle":17,"satellites":51,"speed":2,"hex_longitude":"2d528ac0","hex_latitude":"0679add8","is_valid_coordinates":true} 
[2026-08-23 02:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583037952001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 02:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5946792229520674816,"note":"Value kept but may cause issues"} 
[2026-08-23 02:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787433754000,"timestamp_ms":1787433754000,"timestamp_seconds":1787433754,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5a9d90"} 
[2026-08-23 02:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-23 02:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583037952001,"66":27767,"156":206,"80":60928,"24":2,"16":389695375042150400,"45":5946792229520674816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 02:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583037952001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:55:54] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 02:55:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 02:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5946792229520674816,"description":"Unknown IO ID 45"} 
[2026-08-23 02:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583037952001,"power":27767,"unknown_156":206,"unknown_80":60928,"ignition":2,"odometer":null,"unknown_45":5946792229520674816}} 
[2026-08-23 02:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":160434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:55:54] local.INFO: GPS data processed {"connection_id":160434,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:55:54] local.INFO: Acknowledgment sent {"connection_id":160434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:56:26] local.INFO: TCP Data received {"connection_id":160434,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:56:26] local.INFO: Processing buffer {"connection_id":160434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:56:26] local.INFO: Packet analysis {"connection_id":160434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b5a"} 
[2026-08-23 02:56:26] local.INFO: Extracted packet for processing {"connection_id":160434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b5a"} 
[2026-08-23 02:56:26] local.INFO: GPS Element Parsed {"raw_longitude":760384192,"raw_latitude":108637656,"longitude_deg":76.0384192,"latitude_deg":10.8637656,"altitude":85,"angle":17,"satellites":51,"speed":2,"hex_longitude":"2d528ac0","hex_latitude":"0679add8","is_valid_coordinates":true} 
[2026-08-23 02:56: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-08-23 02:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583037952001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 02:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5946792229520674816,"note":"Value kept but may cause issues"} 
[2026-08-23 02:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787433754000,"timestamp_ms":1787433754000,"timestamp_seconds":1787433754,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5a9d90"} 
[2026-08-23 02:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:56: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-08-23 02:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-23 02:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583037952001,"66":27767,"156":206,"80":60928,"24":2,"16":389695375042150400,"45":5946792229520674816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 02:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583037952001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:56:26] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 02:56:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 02:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5946792229520674816,"description":"Unknown IO ID 45"} 
[2026-08-23 02:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583037952001,"power":27767,"unknown_156":206,"unknown_80":60928,"ignition":2,"odometer":null,"unknown_45":5946792229520674816}} 
[2026-08-23 02:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":160434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:56:26] local.INFO: GPS data processed {"connection_id":160434,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:56:26] local.INFO: Acknowledgment sent {"connection_id":160434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:56:52] local.INFO: TCP Data received {"connection_id":162820,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:56:52] local.INFO: Processing buffer {"connection_id":162820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:56:52] local.INFO: IMEI packet received {"connection_id":162820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":162820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:56:57] local.INFO: TCP Data received {"connection_id":162820,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:56:57] local.INFO: Processing buffer {"connection_id":162820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:56:57] local.INFO: IMEI packet received {"connection_id":162820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":162820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:56:59] local.INFO: TCP Data received {"connection_id":162820,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:56:59] local.INFO: Processing buffer {"connection_id":162820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:56:59] local.INFO: Packet analysis {"connection_id":162820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b5a"} 
[2026-08-23 02:56:59] local.INFO: Extracted packet for processing {"connection_id":162820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b5a"} 
[2026-08-23 02:56:59] local.INFO: GPS Element Parsed {"raw_longitude":760384192,"raw_latitude":108637656,"longitude_deg":76.0384192,"latitude_deg":10.8637656,"altitude":85,"angle":17,"satellites":51,"speed":2,"hex_longitude":"2d528ac0","hex_latitude":"0679add8","is_valid_coordinates":true} 
[2026-08-23 02:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583037952001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 02:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5946792229520674816,"note":"Value kept but may cause issues"} 
[2026-08-23 02:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787433754000,"timestamp_ms":1787433754000,"timestamp_seconds":1787433754,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5a9d90"} 
[2026-08-23 02:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-23 02:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:56:59] 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-08-23 02:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583037952001,"66":27767,"156":206,"80":60928,"24":2,"16":389695375042150400,"45":5946792229520674816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 02:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583037952001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:56:59] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 02:56:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 02:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5946792229520674816,"description":"Unknown IO ID 45"} 
[2026-08-23 02:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583037952001,"power":27767,"unknown_156":206,"unknown_80":60928,"ignition":2,"odometer":null,"unknown_45":5946792229520674816}} 
[2026-08-23 02:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":162820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:56:59] local.INFO: GPS data processed {"connection_id":162820,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:56:59] local.INFO: Acknowledgment sent {"connection_id":162820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:57:03] local.INFO: TCP Data received {"connection_id":162820,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:57:03] local.INFO: Processing buffer {"connection_id":162820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:57:03] local.INFO: Packet analysis {"connection_id":162820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b5a"} 
[2026-08-23 02:57:03] local.INFO: Extracted packet for processing {"connection_id":162820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b5a"} 
[2026-08-23 02:57:03] local.INFO: GPS Element Parsed {"raw_longitude":760384192,"raw_latitude":108637656,"longitude_deg":76.0384192,"latitude_deg":10.8637656,"altitude":85,"angle":17,"satellites":51,"speed":2,"hex_longitude":"2d528ac0","hex_latitude":"0679add8","is_valid_coordinates":true} 
[2026-08-23 02:57: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-08-23 02:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583037952001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 02:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5946792229520674816,"note":"Value kept but may cause issues"} 
[2026-08-23 02:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787433754000,"timestamp_ms":1787433754000,"timestamp_seconds":1787433754,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5a9d90"} 
[2026-08-23 02:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 02:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-23 02:57:03] 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-08-23 02:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:57:03] 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-08-23 02:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583037952001,"66":27767,"156":206,"80":60928,"24":2,"16":389695375042150400,"45":5946792229520674816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 02:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583037952001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:57:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 02:57:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 02:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5946792229520674816,"description":"Unknown IO ID 45"} 
[2026-08-23 02:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583037952001,"power":27767,"unknown_156":206,"unknown_80":60928,"ignition":2,"odometer":null,"unknown_45":5946792229520674816}} 
[2026-08-23 02:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":162820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:57:03] local.INFO: GPS data processed {"connection_id":162820,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:57:03] local.INFO: Acknowledgment sent {"connection_id":162820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:57:47] local.INFO: TCP Data received {"connection_id":160244,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:57:47] local.INFO: Processing buffer {"connection_id":160244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:57:47] local.INFO: IMEI packet received {"connection_id":160244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":160244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:57:52] local.INFO: TCP Data received {"connection_id":160244,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:57:52] local.INFO: Processing buffer {"connection_id":160244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:57:52] local.INFO: IMEI packet received {"connection_id":160244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":160244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:57:53] local.INFO: TCP Data received {"connection_id":160244,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:57:53] local.INFO: Processing buffer {"connection_id":160244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5a9d90012d528ac00679add80055001133..."} 
[2026-08-23 02:57:53] local.INFO: Packet analysis {"connection_id":160244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b5a"} 
[2026-08-23 02:57:53] local.INFO: Extracted packet for processing {"connection_id":160244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b5a"} 
[2026-08-23 02:57:53] local.INFO: GPS Element Parsed {"raw_longitude":760384192,"raw_latitude":108637656,"longitude_deg":76.0384192,"latitude_deg":10.8637656,"altitude":85,"angle":17,"satellites":51,"speed":2,"hex_longitude":"2d528ac0","hex_latitude":"0679add8","is_valid_coordinates":true} 
[2026-08-23 02:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583037952001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 02:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5946792229520674816,"note":"Value kept but may cause issues"} 
[2026-08-23 02:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787433754000,"timestamp_ms":1787433754000,"timestamp_seconds":1787433754,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5a9d90"} 
[2026-08-23 02:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:57: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-08-23 02:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-23 02:57:53] 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-08-23 02: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-08-23 02:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:57:53] 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-08-23 02:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583037952001,"66":27767,"156":206,"80":60928,"24":2,"16":389695375042150400,"45":5946792229520674816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 02:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583037952001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:57:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 02:57:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 02:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5946792229520674816,"description":"Unknown IO ID 45"} 
[2026-08-23 02:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583037952001,"power":27767,"unknown_156":206,"unknown_80":60928,"ignition":2,"odometer":null,"unknown_45":5946792229520674816}} 
[2026-08-23 02:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":160244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:57:53] local.INFO: GPS data processed {"connection_id":160244,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:57:53] local.INFO: Acknowledgment sent {"connection_id":160244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:58:24] local.INFO: TCP Data received {"connection_id":160244,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 02:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 02:58:24] local.INFO: Processing buffer {"connection_id":160244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 02:58:24] local.INFO: Packet analysis {"connection_id":160244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b5f"} 
[2026-08-23 02:58:24] local.INFO: Extracted packet for processing {"connection_id":160244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b5f"} 
[2026-08-23 02:58:24] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":52,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 02:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583041024001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 02:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947777391939934208,"note":"Value kept but may cause issues"} 
[2026-08-23 02:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787434060000,"timestamp_ms":1787434060000,"timestamp_seconds":1787434060,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5f48e0"} 
[2026-08-23 02:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-23 02:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:58:24] 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-08-23 02:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583041024001,"66":25582,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947777391939934208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 02:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583041024001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:58:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 02:58:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 02:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947777391939934208,"description":"Unknown IO ID 45"} 
[2026-08-23 02:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583041024001,"power":25582,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947777391939934208}} 
[2026-08-23 02:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":160244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:58:24] local.INFO: GPS data processed {"connection_id":160244,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:58:24] local.INFO: Acknowledgment sent {"connection_id":160244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:58:47] local.INFO: TCP Data received {"connection_id":162821,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:58:47] local.INFO: Processing buffer {"connection_id":162821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:58:47] local.INFO: IMEI packet received {"connection_id":162821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":162821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:58:52] local.INFO: TCP Data received {"connection_id":162821,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:58:52] local.INFO: Processing buffer {"connection_id":162821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:58:52] local.INFO: IMEI packet received {"connection_id":162821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":162821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:58:53] local.INFO: TCP Data received {"connection_id":162821,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 02:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 02:58:53] local.INFO: Processing buffer {"connection_id":162821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 02:58:53] local.INFO: Packet analysis {"connection_id":162821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b5f"} 
[2026-08-23 02:58:53] local.INFO: Extracted packet for processing {"connection_id":162821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b5f"} 
[2026-08-23 02:58:53] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":52,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 02: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-08-23 02:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583041024001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 02:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947777391939934208,"note":"Value kept but may cause issues"} 
[2026-08-23 02:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787434060000,"timestamp_ms":1787434060000,"timestamp_seconds":1787434060,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5f48e0"} 
[2026-08-23 02:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-23 02:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02: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-08-23 02:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583041024001,"66":25582,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947777391939934208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 02:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583041024001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:58:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 02:58:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 02:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947777391939934208,"description":"Unknown IO ID 45"} 
[2026-08-23 02:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583041024001,"power":25582,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947777391939934208}} 
[2026-08-23 02:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":162821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:58:53] local.INFO: GPS data processed {"connection_id":162821,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:58:53] local.INFO: Acknowledgment sent {"connection_id":162821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:59:24] local.INFO: TCP Data received {"connection_id":162821,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 02:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 02:59:24] local.INFO: Processing buffer {"connection_id":162821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 02:59:24] local.INFO: Packet analysis {"connection_id":162821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b5f"} 
[2026-08-23 02:59:24] local.INFO: Extracted packet for processing {"connection_id":162821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b5f"} 
[2026-08-23 02:59:24] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":52,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 02:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583041024001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 02:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947777391939934208,"note":"Value kept but may cause issues"} 
[2026-08-23 02:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787434060000,"timestamp_ms":1787434060000,"timestamp_seconds":1787434060,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5f48e0"} 
[2026-08-23 02:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-23 02:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 02:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583041024001,"66":25582,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947777391939934208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 02:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583041024001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:59:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 02:59:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 02:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947777391939934208,"description":"Unknown IO ID 45"} 
[2026-08-23 02:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583041024001,"power":25582,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947777391939934208}} 
[2026-08-23 02:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":162821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:59:24] local.INFO: GPS data processed {"connection_id":162821,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:59:24] local.INFO: Acknowledgment sent {"connection_id":162821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 02:59:47] local.INFO: TCP Data received {"connection_id":160435,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:59:47] local.INFO: Processing buffer {"connection_id":160435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:59:47] local.INFO: IMEI packet received {"connection_id":160435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 02:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":160435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 02:59:52] local.INFO: TCP Data received {"connection_id":160435,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:59:52] local.INFO: Processing buffer {"connection_id":160435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 02:59:52] local.INFO: IMEI packet received {"connection_id":160435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 02:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":160435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 02:59:53] local.INFO: TCP Data received {"connection_id":160435,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 02:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 02:59:53] local.INFO: Processing buffer {"connection_id":160435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 02:59:53] local.INFO: Packet analysis {"connection_id":160435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b5f"} 
[2026-08-23 02:59:53] local.INFO: Extracted packet for processing {"connection_id":160435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b5f"} 
[2026-08-23 02:59:53] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":52,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 02:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 02:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583041024001,"note":"Value kept but may cause issues"} 
[2026-08-23 02:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 02:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947777391939934208,"note":"Value kept but may cause issues"} 
[2026-08-23 02:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 02:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787434060000,"timestamp_ms":1787434060000,"timestamp_seconds":1787434060,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5f48e0"} 
[2026-08-23 02:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 02:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 02:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-23 02:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 02:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 02:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 02:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 02:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 02:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 02:59:53] 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-08-23 02:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 02:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 02:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583041024001,"66":25582,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947777391939934208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 02:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 02:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 02:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583041024001,"description":"Unknown IO ID 0"} 
[2026-08-23 02:59:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 02:59:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 02:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 02:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947777391939934208,"description":"Unknown IO ID 45"} 
[2026-08-23 02:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583041024001,"power":25582,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947777391939934208}} 
[2026-08-23 02:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":160435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 02:59:53] local.INFO: GPS data processed {"connection_id":160435,"processed":1,"errors":0,"total":1} 
[2026-08-23 02:59:53] local.INFO: Acknowledgment sent {"connection_id":160435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:00:24] local.INFO: TCP Data received {"connection_id":160435,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 03:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 03:00:24] local.INFO: Processing buffer {"connection_id":160435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 03:00:24] local.INFO: Packet analysis {"connection_id":160435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b5f"} 
[2026-08-23 03:00:24] local.INFO: Extracted packet for processing {"connection_id":160435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b5f"} 
[2026-08-23 03:00:24] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":52,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583041024001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947777391939934208,"note":"Value kept but may cause issues"} 
[2026-08-23 03:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787434060000,"timestamp_ms":1787434060000,"timestamp_seconds":1787434060,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5f48e0"} 
[2026-08-23 03:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-23 03:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:00:24] 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-08-23 03:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583041024001,"66":25582,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947777391939934208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583041024001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:00:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:00:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947777391939934208,"description":"Unknown IO ID 45"} 
[2026-08-23 03:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583041024001,"power":25582,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947777391939934208}} 
[2026-08-23 03:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":160435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:00:24] local.INFO: GPS data processed {"connection_id":160435,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:00:24] local.INFO: Acknowledgment sent {"connection_id":160435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:00:52] local.INFO: TCP Data received {"connection_id":161400,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:00:52] local.INFO: Processing buffer {"connection_id":161400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:00:52] local.INFO: IMEI packet received {"connection_id":161400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":161400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:00:57] local.INFO: TCP Data received {"connection_id":161400,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:00:57] local.INFO: Processing buffer {"connection_id":161400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:00:57] local.INFO: IMEI packet received {"connection_id":161400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":161400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:00:58] local.INFO: TCP Data received {"connection_id":161400,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 03:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 03:00:58] local.INFO: Processing buffer {"connection_id":161400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 03:00:58] local.INFO: Packet analysis {"connection_id":161400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b5f"} 
[2026-08-23 03:00:58] local.INFO: Extracted packet for processing {"connection_id":161400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b5f"} 
[2026-08-23 03:00:58] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":52,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583041024001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947777391939934208,"note":"Value kept but may cause issues"} 
[2026-08-23 03:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787434060000,"timestamp_ms":1787434060000,"timestamp_seconds":1787434060,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5f48e0"} 
[2026-08-23 03:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03: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-08-23 03:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-23 03:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:00: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-08-23 03:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583041024001,"66":25582,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947777391939934208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583041024001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:00:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:00:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947777391939934208,"description":"Unknown IO ID 45"} 
[2026-08-23 03:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583041024001,"power":25582,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947777391939934208}} 
[2026-08-23 03:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":161400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:00:58] local.INFO: GPS data processed {"connection_id":161400,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:00:58] local.INFO: Acknowledgment sent {"connection_id":161400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:01:03] local.INFO: TCP Data received {"connection_id":161400,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 03:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 03:01:03] local.INFO: Processing buffer {"connection_id":161400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 03:01:03] local.INFO: Packet analysis {"connection_id":161400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b5f"} 
[2026-08-23 03:01:03] local.INFO: Extracted packet for processing {"connection_id":161400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b5f"} 
[2026-08-23 03:01:03] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":52,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583041024001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947777391939934208,"note":"Value kept but may cause issues"} 
[2026-08-23 03:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787434060000,"timestamp_ms":1787434060000,"timestamp_seconds":1787434060,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5f48e0"} 
[2026-08-23 03:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:01: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-08-23 03:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-23 03:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:01:03] 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-08-23 03:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583041024001,"66":25582,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947777391939934208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583041024001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:01:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:01:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947777391939934208,"description":"Unknown IO ID 45"} 
[2026-08-23 03:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583041024001,"power":25582,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947777391939934208}} 
[2026-08-23 03:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":161400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:01:03] local.INFO: GPS data processed {"connection_id":161400,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:01:03] local.INFO: Acknowledgment sent {"connection_id":161400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:01:47] local.INFO: TCP Data received {"connection_id":160436,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:01:47] local.INFO: Processing buffer {"connection_id":160436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:01:47] local.INFO: IMEI packet received {"connection_id":160436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":160436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:01:52] local.INFO: TCP Data received {"connection_id":160436,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:01:52] local.INFO: Processing buffer {"connection_id":160436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:01:52] local.INFO: IMEI packet received {"connection_id":160436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":160436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:01:54] local.INFO: TCP Data received {"connection_id":160436,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 03:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 03:01:54] local.INFO: Processing buffer {"connection_id":160436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 03:01:54] local.INFO: Packet analysis {"connection_id":160436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b5f"} 
[2026-08-23 03:01:54] local.INFO: Extracted packet for processing {"connection_id":160436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b5f"} 
[2026-08-23 03:01:54] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":52,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583041024001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947777391939934208,"note":"Value kept but may cause issues"} 
[2026-08-23 03:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787434060000,"timestamp_ms":1787434060000,"timestamp_seconds":1787434060,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5f48e0"} 
[2026-08-23 03:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03: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-08-23 03: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-08-23 03:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:01:54] 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-08-23 03:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583041024001,"66":25582,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947777391939934208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583041024001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:01:54] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:01:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947777391939934208,"description":"Unknown IO ID 45"} 
[2026-08-23 03:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583041024001,"power":25582,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947777391939934208}} 
[2026-08-23 03:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":160436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:01:54] local.INFO: GPS data processed {"connection_id":160436,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:01:54] local.INFO: Acknowledgment sent {"connection_id":160436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:02:25] local.INFO: TCP Data received {"connection_id":160436,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 03:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 03:02:25] local.INFO: Processing buffer {"connection_id":160436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 03:02:25] local.INFO: Packet analysis {"connection_id":160436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b5f"} 
[2026-08-23 03:02:25] local.INFO: Extracted packet for processing {"connection_id":160436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b5f"} 
[2026-08-23 03:02:25] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":52,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583041024001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947777391939934208,"note":"Value kept but may cause issues"} 
[2026-08-23 03:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787434060000,"timestamp_ms":1787434060000,"timestamp_seconds":1787434060,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5f48e0"} 
[2026-08-23 03:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-23 03:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:02:25] 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-08-23 03:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583041024001,"66":25582,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947777391939934208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583041024001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:02:25] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:02:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947777391939934208,"description":"Unknown IO ID 45"} 
[2026-08-23 03:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583041024001,"power":25582,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947777391939934208}} 
[2026-08-23 03:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":160436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:02:25] local.INFO: GPS data processed {"connection_id":160436,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:02:25] local.INFO: Acknowledgment sent {"connection_id":160436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:02:47] local.INFO: TCP Data received {"connection_id":161401,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:02:47] local.INFO: Processing buffer {"connection_id":161401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:02:47] local.INFO: IMEI packet received {"connection_id":161401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":161401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:02:52] local.INFO: TCP Data received {"connection_id":161401,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:02:52] local.INFO: Processing buffer {"connection_id":161401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:02:52] local.INFO: IMEI packet received {"connection_id":161401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":161401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:02:53] local.INFO: TCP Data received {"connection_id":161401,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 03:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 03:02:54] local.INFO: Processing buffer {"connection_id":161401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b5f48e0012d528a400679aec80055001134..."} 
[2026-08-23 03:02:54] local.INFO: Packet analysis {"connection_id":161401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b5f"} 
[2026-08-23 03:02:54] local.INFO: Extracted packet for processing {"connection_id":161401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b5f"} 
[2026-08-23 03:02:54] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":52,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583041024001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947777391939934208,"note":"Value kept but may cause issues"} 
[2026-08-23 03:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787434060000,"timestamp_ms":1787434060000,"timestamp_seconds":1787434060,"priority":1,"record_length":96,"hex_timestamp":"000001a02b5f48e0"} 
[2026-08-23 03:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-23 03:02: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-08-23 03: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-08-23 03:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583041024001,"66":25582,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947777391939934208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583041024001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:02:54] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:02:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947777391939934208,"description":"Unknown IO ID 45"} 
[2026-08-23 03:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583041024001,"power":25582,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947777391939934208}} 
[2026-08-23 03:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":161401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:02:54] local.INFO: GPS data processed {"connection_id":161401,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:02:54] local.INFO: Acknowledgment sent {"connection_id":161401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:03:26] local.INFO: TCP Data received {"connection_id":161401,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:03:26] local.INFO: Processing buffer {"connection_id":161401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:03:26] local.INFO: Packet analysis {"connection_id":161401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b63"} 
[2026-08-23 03:03:26] local.INFO: Extracted packet for processing {"connection_id":161401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b63"} 
[2026-08-23 03:03:26] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":49,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583119360001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787434361000,"timestamp_ms":1787434361000,"timestamp_seconds":1787434361,"priority":1,"record_length":96,"hex_timestamp":"000001a02b63e0a8"} 
[2026-08-23 03:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 03:03:26] 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-08-23 03: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-08-23 03:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583119360001,"66":25375,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583119360001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:03:26] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:03:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583119360001,"power":25375,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":161401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:03:26] local.INFO: GPS data processed {"connection_id":161401,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:03:26] local.INFO: Acknowledgment sent {"connection_id":161401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:03:47] local.INFO: TCP Data received {"connection_id":160437,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:03:47] local.INFO: Processing buffer {"connection_id":160437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:03:47] local.INFO: IMEI packet received {"connection_id":160437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":160437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:03:52] local.INFO: TCP Data received {"connection_id":160437,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:03:52] local.INFO: Processing buffer {"connection_id":160437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:03:52] local.INFO: IMEI packet received {"connection_id":160437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":160437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:03:53] local.INFO: TCP Data received {"connection_id":160437,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:03:53] local.INFO: Processing buffer {"connection_id":160437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:03:53] local.INFO: Packet analysis {"connection_id":160437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b63"} 
[2026-08-23 03:03:53] local.INFO: Extracted packet for processing {"connection_id":160437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b63"} 
[2026-08-23 03:03:53] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":49,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583119360001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787434361000,"timestamp_ms":1787434361000,"timestamp_seconds":1787434361,"priority":1,"record_length":96,"hex_timestamp":"000001a02b63e0a8"} 
[2026-08-23 03:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 03:03:53] 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-08-23 03: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-08-23 03:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:03:53] 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-08-23 03:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583119360001,"66":25375,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583119360001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:03:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:03:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583119360001,"power":25375,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":160437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:03:53] local.INFO: GPS data processed {"connection_id":160437,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:03:53] local.INFO: Acknowledgment sent {"connection_id":160437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:04:24] local.INFO: TCP Data received {"connection_id":160437,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:04:24] local.INFO: Processing buffer {"connection_id":160437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:04:24] local.INFO: Packet analysis {"connection_id":160437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b63"} 
[2026-08-23 03:04:24] local.INFO: Extracted packet for processing {"connection_id":160437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b63"} 
[2026-08-23 03:04:24] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":49,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583119360001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787434361000,"timestamp_ms":1787434361000,"timestamp_seconds":1787434361,"priority":1,"record_length":96,"hex_timestamp":"000001a02b63e0a8"} 
[2026-08-23 03:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 03:04:24] 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-08-23 03: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-08-23 03:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:04: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-08-23 03:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583119360001,"66":25375,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583119360001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:04:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:04:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583119360001,"power":25375,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":160437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:04:24] local.INFO: GPS data processed {"connection_id":160437,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:04:24] local.INFO: Acknowledgment sent {"connection_id":160437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:04:47] local.INFO: TCP Data received {"connection_id":160245,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:04:47] local.INFO: Processing buffer {"connection_id":160245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:04:47] local.INFO: IMEI packet received {"connection_id":160245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":160245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:04:52] local.INFO: TCP Data received {"connection_id":160245,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:04:52] local.INFO: Processing buffer {"connection_id":160245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:04:52] local.INFO: IMEI packet received {"connection_id":160245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":160245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:04:53] local.INFO: TCP Data received {"connection_id":160245,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:04:53] local.INFO: Processing buffer {"connection_id":160245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:04:53] local.INFO: Packet analysis {"connection_id":160245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b63"} 
[2026-08-23 03:04:53] local.INFO: Extracted packet for processing {"connection_id":160245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b63"} 
[2026-08-23 03:04:53] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":49,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03:04: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-08-23 03:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583119360001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787434361000,"timestamp_ms":1787434361000,"timestamp_seconds":1787434361,"priority":1,"record_length":96,"hex_timestamp":"000001a02b63e0a8"} 
[2026-08-23 03:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 03:04:53] 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-08-23 03:04: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-08-23 03:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583119360001,"66":25375,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583119360001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:04:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:04:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583119360001,"power":25375,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":160245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:04:53] local.INFO: GPS data processed {"connection_id":160245,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:04:53] local.INFO: Acknowledgment sent {"connection_id":160245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:05:25] local.INFO: TCP Data received {"connection_id":160245,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:05:25] local.INFO: Processing buffer {"connection_id":160245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:05:25] local.INFO: Packet analysis {"connection_id":160245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b63"} 
[2026-08-23 03:05:25] local.INFO: Extracted packet for processing {"connection_id":160245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b63"} 
[2026-08-23 03:05:25] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":49,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583119360001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787434361000,"timestamp_ms":1787434361000,"timestamp_seconds":1787434361,"priority":1,"record_length":96,"hex_timestamp":"000001a02b63e0a8"} 
[2026-08-23 03:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 03:05:25] 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-08-23 03:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583119360001,"66":25375,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583119360001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:05:25] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:05:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583119360001,"power":25375,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":160245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:05:25] local.INFO: GPS data processed {"connection_id":160245,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:05:25] local.INFO: Acknowledgment sent {"connection_id":160245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:05:52] local.INFO: TCP Data received {"connection_id":161402,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:05:52] local.INFO: Processing buffer {"connection_id":161402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:05:52] local.INFO: IMEI packet received {"connection_id":161402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":161402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:05:57] local.INFO: TCP Data received {"connection_id":161402,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:05:57] local.INFO: Processing buffer {"connection_id":161402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:05:57] local.INFO: IMEI packet received {"connection_id":161402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":161402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:05:58] local.INFO: TCP Data received {"connection_id":161402,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:05:58] local.INFO: Processing buffer {"connection_id":161402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:05:58] local.INFO: Packet analysis {"connection_id":161402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b63"} 
[2026-08-23 03:05:58] local.INFO: Extracted packet for processing {"connection_id":161402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b63"} 
[2026-08-23 03:05:58] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":49,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583119360001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787434361000,"timestamp_ms":1787434361000,"timestamp_seconds":1787434361,"priority":1,"record_length":96,"hex_timestamp":"000001a02b63e0a8"} 
[2026-08-23 03:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:05: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-08-23 03:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 03:05: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-08-23 03: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-08-23 03:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:05:58] 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-08-23 03:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583119360001,"66":25375,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583119360001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:05:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:05:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583119360001,"power":25375,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":161402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:05:58] local.INFO: GPS data processed {"connection_id":161402,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:05:58] local.INFO: Acknowledgment sent {"connection_id":161402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:06:03] local.INFO: TCP Data received {"connection_id":161402,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:06:03] local.INFO: Processing buffer {"connection_id":161402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:06:03] local.INFO: Packet analysis {"connection_id":161402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b63"} 
[2026-08-23 03:06:03] local.INFO: Extracted packet for processing {"connection_id":161402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b63"} 
[2026-08-23 03:06:03] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":49,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583119360001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787434361000,"timestamp_ms":1787434361000,"timestamp_seconds":1787434361,"priority":1,"record_length":96,"hex_timestamp":"000001a02b63e0a8"} 
[2026-08-23 03:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:06: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-08-23 03:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 03:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:06:03] 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-08-23 03:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583119360001,"66":25375,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583119360001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:06:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:06:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583119360001,"power":25375,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":161402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:06:03] local.INFO: GPS data processed {"connection_id":161402,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:06:03] local.INFO: Acknowledgment sent {"connection_id":161402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:06:48] local.INFO: TCP Data received {"connection_id":162822,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:06:48] local.INFO: Processing buffer {"connection_id":162822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:06:48] local.INFO: IMEI packet received {"connection_id":162822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":162822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:06:52] local.INFO: TCP Data received {"connection_id":162822,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:06:52] local.INFO: Processing buffer {"connection_id":162822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:06:52] local.INFO: IMEI packet received {"connection_id":162822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":162822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:06:56] local.INFO: TCP Data received {"connection_id":162822,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:06:56] local.INFO: Processing buffer {"connection_id":162822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:06:56] local.INFO: Packet analysis {"connection_id":162822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b63"} 
[2026-08-23 03:06:56] local.INFO: Extracted packet for processing {"connection_id":162822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b63"} 
[2026-08-23 03:06:56] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":49,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583119360001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787434361000,"timestamp_ms":1787434361000,"timestamp_seconds":1787434361,"priority":1,"record_length":96,"hex_timestamp":"000001a02b63e0a8"} 
[2026-08-23 03:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 03:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:06:56] 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-08-23 03:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583119360001,"66":25375,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583119360001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:06:56] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:06:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583119360001,"power":25375,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":162822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:06:56] local.INFO: GPS data processed {"connection_id":162822,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:06:56] local.INFO: Acknowledgment sent {"connection_id":162822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:06:58] local.INFO: TCP Data received {"connection_id":162822,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:06:58] local.INFO: Processing buffer {"connection_id":162822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:06:58] local.INFO: Packet analysis {"connection_id":162822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b63"} 
[2026-08-23 03:06:58] local.INFO: Extracted packet for processing {"connection_id":162822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b63"} 
[2026-08-23 03:06:58] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":49,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583119360001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787434361000,"timestamp_ms":1787434361000,"timestamp_seconds":1787434361,"priority":1,"record_length":96,"hex_timestamp":"000001a02b63e0a8"} 
[2026-08-23 03:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 03:06: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-08-23 03:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:06:58] 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-08-23 03:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583119360001,"66":25375,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583119360001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:06:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:06:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583119360001,"power":25375,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":162822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:06:58] local.INFO: GPS data processed {"connection_id":162822,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:06:58] local.INFO: Acknowledgment sent {"connection_id":162822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:07:30] local.INFO: TCP Data received {"connection_id":162822,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:07:30] local.INFO: Processing buffer {"connection_id":162822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:07:30] local.INFO: Packet analysis {"connection_id":162822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b63"} 
[2026-08-23 03:07:30] local.INFO: Extracted packet for processing {"connection_id":162822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b63"} 
[2026-08-23 03:07:30] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":49,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583119360001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787434361000,"timestamp_ms":1787434361000,"timestamp_seconds":1787434361,"priority":1,"record_length":96,"hex_timestamp":"000001a02b63e0a8"} 
[2026-08-23 03:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:07: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-08-23 03:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 03:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:07:30] 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-08-23 03:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583119360001,"66":25375,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583119360001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:07:30] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:07:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583119360001,"power":25375,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":162822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:07:30] local.INFO: GPS data processed {"connection_id":162822,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:07:30] local.INFO: Acknowledgment sent {"connection_id":162822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:07:47] local.INFO: TCP Data received {"connection_id":162823,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:07:47] local.INFO: Processing buffer {"connection_id":162823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:07:47] local.INFO: IMEI packet received {"connection_id":162823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":162823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:07:52] local.INFO: TCP Data received {"connection_id":162823,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:07:52] local.INFO: Processing buffer {"connection_id":162823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:07:52] local.INFO: IMEI packet received {"connection_id":162823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":162823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:07:53] local.INFO: TCP Data received {"connection_id":162823,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:07:53] local.INFO: Processing buffer {"connection_id":162823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b63e0a8012d528a400679aec80055001131..."} 
[2026-08-23 03:07:53] local.INFO: Packet analysis {"connection_id":162823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b63"} 
[2026-08-23 03:07:53] local.INFO: Extracted packet for processing {"connection_id":162823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b63"} 
[2026-08-23 03:07:53] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":49,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03:07: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-08-23 03:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583119360001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787434361000,"timestamp_ms":1787434361000,"timestamp_seconds":1787434361,"priority":1,"record_length":96,"hex_timestamp":"000001a02b63e0a8"} 
[2026-08-23 03:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 03:07:53] 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-08-23 03:07: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-08-23 03:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:07:53] 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-08-23 03:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583119360001,"66":25375,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583119360001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:07:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:07:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583119360001,"power":25375,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":162823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:07:53] local.INFO: GPS data processed {"connection_id":162823,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:07:53] local.INFO: Acknowledgment sent {"connection_id":162823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:08:24] local.INFO: TCP Data received {"connection_id":162823,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:08:24] local.INFO: Processing buffer {"connection_id":162823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:08:24] local.INFO: Packet analysis {"connection_id":162823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b68"} 
[2026-08-23 03:08:24] local.INFO: Extracted packet for processing {"connection_id":162823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b68"} 
[2026-08-23 03:08:24] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583196416001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787434662000,"timestamp_ms":1787434662000,"timestamp_seconds":1787434662,"priority":1,"record_length":96,"hex_timestamp":"000001a02b687870"} 
[2026-08-23 03:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:08: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-08-23 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 03:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:08:24] 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-08-23 03:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583196416001,"66":25299,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583196416001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:08:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:08:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583196416001,"power":25299,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":162823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:08:24] local.INFO: GPS data processed {"connection_id":162823,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:08:24] local.INFO: Acknowledgment sent {"connection_id":162823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:08:52] local.INFO: TCP Data received {"connection_id":160246,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:08:52] local.INFO: Processing buffer {"connection_id":160246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:08:52] local.INFO: IMEI packet received {"connection_id":160246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":160246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:08:57] local.INFO: TCP Data received {"connection_id":160246,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:08:57] local.INFO: Processing buffer {"connection_id":160246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:08:57] local.INFO: IMEI packet received {"connection_id":160246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":160246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:08:58] local.INFO: TCP Data received {"connection_id":160246,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:08:58] local.INFO: Processing buffer {"connection_id":160246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:08:58] local.INFO: Packet analysis {"connection_id":160246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b68"} 
[2026-08-23 03:08:58] local.INFO: Extracted packet for processing {"connection_id":160246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b68"} 
[2026-08-23 03:08:58] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583196416001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787434662000,"timestamp_ms":1787434662000,"timestamp_seconds":1787434662,"priority":1,"record_length":96,"hex_timestamp":"000001a02b687870"} 
[2026-08-23 03:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:08: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-08-23 03:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 03:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:08:58] 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-08-23 03:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583196416001,"66":25299,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583196416001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:08:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:08:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583196416001,"power":25299,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":160246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:08:58] local.INFO: GPS data processed {"connection_id":160246,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:08:58] local.INFO: Acknowledgment sent {"connection_id":160246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:09:29] local.INFO: TCP Data received {"connection_id":160246,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:09:29] local.INFO: Processing buffer {"connection_id":160246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:09:29] local.INFO: Packet analysis {"connection_id":160246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b68"} 
[2026-08-23 03:09:29] local.INFO: Extracted packet for processing {"connection_id":160246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b68"} 
[2026-08-23 03:09:29] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583196416001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787434662000,"timestamp_ms":1787434662000,"timestamp_seconds":1787434662,"priority":1,"record_length":96,"hex_timestamp":"000001a02b687870"} 
[2026-08-23 03:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:09: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-08-23 03:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 03:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:09:29] 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-08-23 03:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583196416001,"66":25299,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583196416001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:09:29] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:09:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583196416001,"power":25299,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":160246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:09:29] local.INFO: GPS data processed {"connection_id":160246,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:09:29] local.INFO: Acknowledgment sent {"connection_id":160246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:09:47] local.INFO: TCP Data received {"connection_id":161403,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:09:47] local.INFO: Processing buffer {"connection_id":161403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:09:47] local.INFO: IMEI packet received {"connection_id":161403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":161403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:09:52] local.INFO: TCP Data received {"connection_id":161403,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:09:52] local.INFO: Processing buffer {"connection_id":161403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:09:52] local.INFO: IMEI packet received {"connection_id":161403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":161403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:09:53] local.INFO: TCP Data received {"connection_id":161403,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:09:53] local.INFO: Processing buffer {"connection_id":161403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:09:53] local.INFO: Packet analysis {"connection_id":161403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b68"} 
[2026-08-23 03:09:53] local.INFO: Extracted packet for processing {"connection_id":161403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b68"} 
[2026-08-23 03:09:53] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583196416001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787434662000,"timestamp_ms":1787434662000,"timestamp_seconds":1787434662,"priority":1,"record_length":96,"hex_timestamp":"000001a02b687870"} 
[2026-08-23 03:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 03:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:09:53] 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-08-23 03:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583196416001,"66":25299,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583196416001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:09:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:09:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583196416001,"power":25299,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":161403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:09:53] local.INFO: GPS data processed {"connection_id":161403,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:09:53] local.INFO: Acknowledgment sent {"connection_id":161403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:10:24] local.INFO: TCP Data received {"connection_id":161403,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:10:24] local.INFO: Processing buffer {"connection_id":161403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:10:24] local.INFO: Packet analysis {"connection_id":161403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b68"} 
[2026-08-23 03:10:24] local.INFO: Extracted packet for processing {"connection_id":161403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b68"} 
[2026-08-23 03:10:24] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583196416001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787434662000,"timestamp_ms":1787434662000,"timestamp_seconds":1787434662,"priority":1,"record_length":96,"hex_timestamp":"000001a02b687870"} 
[2026-08-23 03:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:10: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-08-23 03:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 03:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:10:24] 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-08-23 03:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583196416001,"66":25299,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583196416001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:10:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:10:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583196416001,"power":25299,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":161403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:10:24] local.INFO: GPS data processed {"connection_id":161403,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:10:24] local.INFO: Acknowledgment sent {"connection_id":161403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:10:47] local.INFO: TCP Data received {"connection_id":161404,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:10:47] local.INFO: Processing buffer {"connection_id":161404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:10:47] local.INFO: IMEI packet received {"connection_id":161404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":161404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:10:52] local.INFO: TCP Data received {"connection_id":161404,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:10:52] local.INFO: Processing buffer {"connection_id":161404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:10:52] local.INFO: IMEI packet received {"connection_id":161404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":161404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:10:54] local.INFO: TCP Data received {"connection_id":161404,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:10:54] local.INFO: Processing buffer {"connection_id":161404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:10:54] local.INFO: Packet analysis {"connection_id":161404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b68"} 
[2026-08-23 03:10:54] local.INFO: Extracted packet for processing {"connection_id":161404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b68"} 
[2026-08-23 03:10:54] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583196416001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787434662000,"timestamp_ms":1787434662000,"timestamp_seconds":1787434662,"priority":1,"record_length":96,"hex_timestamp":"000001a02b687870"} 
[2026-08-23 03:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:10: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-08-23 03:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 03:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:10:54] 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-08-23 03:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583196416001,"66":25299,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583196416001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:10:54] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:10:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583196416001,"power":25299,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":161404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:10:54] local.INFO: GPS data processed {"connection_id":161404,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:10:54] local.INFO: Acknowledgment sent {"connection_id":161404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:11:25] local.INFO: TCP Data received {"connection_id":161404,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:11:25] local.INFO: Processing buffer {"connection_id":161404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:11:25] local.INFO: Packet analysis {"connection_id":161404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b68"} 
[2026-08-23 03:11:25] local.INFO: Extracted packet for processing {"connection_id":161404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b68"} 
[2026-08-23 03:11:25] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583196416001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787434662000,"timestamp_ms":1787434662000,"timestamp_seconds":1787434662,"priority":1,"record_length":96,"hex_timestamp":"000001a02b687870"} 
[2026-08-23 03:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 03:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:11:25] 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-08-23 03:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583196416001,"66":25299,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583196416001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:11:25] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:11:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583196416001,"power":25299,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":161404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:11:25] local.INFO: GPS data processed {"connection_id":161404,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:11:25] local.INFO: Acknowledgment sent {"connection_id":161404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:11:47] local.INFO: TCP Data received {"connection_id":162824,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:11:47] local.INFO: Processing buffer {"connection_id":162824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:11:47] local.INFO: IMEI packet received {"connection_id":162824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":162824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:11:52] local.INFO: TCP Data received {"connection_id":162824,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:11:52] local.INFO: Processing buffer {"connection_id":162824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:11:52] local.INFO: IMEI packet received {"connection_id":162824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":162824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:11:53] local.INFO: TCP Data received {"connection_id":162824,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:11:53] local.INFO: Processing buffer {"connection_id":162824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:11:53] local.INFO: Packet analysis {"connection_id":162824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b68"} 
[2026-08-23 03:11:53] local.INFO: Extracted packet for processing {"connection_id":162824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b68"} 
[2026-08-23 03:11:53] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583196416001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787434662000,"timestamp_ms":1787434662000,"timestamp_seconds":1787434662,"priority":1,"record_length":96,"hex_timestamp":"000001a02b687870"} 
[2026-08-23 03:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 03:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:11:53] 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-08-23 03:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583196416001,"66":25299,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583196416001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:11:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:11:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583196416001,"power":25299,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":162824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:11:53] local.INFO: GPS data processed {"connection_id":162824,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:11:53] local.INFO: Acknowledgment sent {"connection_id":162824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:12:24] local.INFO: TCP Data received {"connection_id":162824,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:12:24] local.INFO: Processing buffer {"connection_id":162824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:12:24] local.INFO: Packet analysis {"connection_id":162824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b68"} 
[2026-08-23 03:12:24] local.INFO: Extracted packet for processing {"connection_id":162824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b68"} 
[2026-08-23 03:12:24] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583196416001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787434662000,"timestamp_ms":1787434662000,"timestamp_seconds":1787434662,"priority":1,"record_length":96,"hex_timestamp":"000001a02b687870"} 
[2026-08-23 03:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:12: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-08-23 03:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 03:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583196416001,"66":25299,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583196416001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:12:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:12:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583196416001,"power":25299,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":162824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:12:24] local.INFO: GPS data processed {"connection_id":162824,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:12:24] local.INFO: Acknowledgment sent {"connection_id":162824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:12:47] local.INFO: TCP Data received {"connection_id":162825,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:12:47] local.INFO: Processing buffer {"connection_id":162825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:12:47] local.INFO: IMEI packet received {"connection_id":162825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":162825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:12:52] local.INFO: TCP Data received {"connection_id":162825,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:12:52] local.INFO: Processing buffer {"connection_id":162825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:12:52] local.INFO: IMEI packet received {"connection_id":162825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":162825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:12:54] local.INFO: TCP Data received {"connection_id":162825,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:12:54] local.INFO: Processing buffer {"connection_id":162825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b687870012d528a400679aec80055001133..."} 
[2026-08-23 03:12:54] local.INFO: Packet analysis {"connection_id":162825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b68"} 
[2026-08-23 03:12:54] local.INFO: Extracted packet for processing {"connection_id":162825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b68"} 
[2026-08-23 03:12:54] local.INFO: GPS Element Parsed {"raw_longitude":760384064,"raw_latitude":108637896,"longitude_deg":76.0384064,"latitude_deg":10.8637896,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a40","hex_latitude":"0679aec8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583196416001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787434662000,"timestamp_ms":1787434662000,"timestamp_seconds":1787434662,"priority":1,"record_length":96,"hex_timestamp":"000001a02b687870"} 
[2026-08-23 03:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:12: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-08-23 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 03:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583196416001,"66":25299,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583196416001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:12:54] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:12:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583196416001,"power":25299,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":162825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:12:54] local.INFO: GPS data processed {"connection_id":162825,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:12:54] local.INFO: Acknowledgment sent {"connection_id":162825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:13:26] local.INFO: TCP Data received {"connection_id":162825,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:13:26] local.INFO: Processing buffer {"connection_id":162825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:13:26] local.INFO: Packet analysis {"connection_id":162825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b6d"} 
[2026-08-23 03:13:26] local.INFO: Extracted packet for processing {"connection_id":162825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b6d"} 
[2026-08-23 03:13:26] local.INFO: GPS Element Parsed {"raw_longitude":760384448,"raw_latitude":108637944,"longitude_deg":76.0384448,"latitude_deg":10.8637944,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528bc0","hex_latitude":"0679aef8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583273472001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787434963000,"timestamp_ms":1787434963000,"timestamp_seconds":1787434963,"priority":1,"record_length":96,"hex_timestamp":"000001a02b6d1038"} 
[2026-08-23 03:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 03:13:26] 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-08-23 03: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-08-23 03:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583273472001,"66":25343,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583273472001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:13:26] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:13:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583273472001,"power":25343,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":162825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:13:26] local.INFO: GPS data processed {"connection_id":162825,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:13:26] local.INFO: Acknowledgment sent {"connection_id":162825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:13:52] local.INFO: TCP Data received {"connection_id":160438,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:13:52] local.INFO: Processing buffer {"connection_id":160438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:13:52] local.INFO: IMEI packet received {"connection_id":160438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":160438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:13:57] local.INFO: TCP Data received {"connection_id":160438,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:13:57] local.INFO: Processing buffer {"connection_id":160438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:13:57] local.INFO: IMEI packet received {"connection_id":160438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":160438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:13:58] local.INFO: TCP Data received {"connection_id":160438,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:13:58] local.INFO: Processing buffer {"connection_id":160438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:13:58] local.INFO: Packet analysis {"connection_id":160438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b6d"} 
[2026-08-23 03:13:58] local.INFO: Extracted packet for processing {"connection_id":160438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b6d"} 
[2026-08-23 03:13:58] local.INFO: GPS Element Parsed {"raw_longitude":760384448,"raw_latitude":108637944,"longitude_deg":76.0384448,"latitude_deg":10.8637944,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528bc0","hex_latitude":"0679aef8","is_valid_coordinates":true} 
[2026-08-23 03:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583273472001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787434963000,"timestamp_ms":1787434963000,"timestamp_seconds":1787434963,"priority":1,"record_length":96,"hex_timestamp":"000001a02b6d1038"} 
[2026-08-23 03:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 03:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:13:58] 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-08-23 03:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583273472001,"66":25343,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583273472001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:13:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:13:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583273472001,"power":25343,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":160438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:13:58] local.INFO: GPS data processed {"connection_id":160438,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:13:58] local.INFO: Acknowledgment sent {"connection_id":160438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:14:29] local.INFO: TCP Data received {"connection_id":160438,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:14:29] local.INFO: Processing buffer {"connection_id":160438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:14:29] local.INFO: Packet analysis {"connection_id":160438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b6d"} 
[2026-08-23 03:14:29] local.INFO: Extracted packet for processing {"connection_id":160438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b6d"} 
[2026-08-23 03:14:29] local.INFO: GPS Element Parsed {"raw_longitude":760384448,"raw_latitude":108637944,"longitude_deg":76.0384448,"latitude_deg":10.8637944,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528bc0","hex_latitude":"0679aef8","is_valid_coordinates":true} 
[2026-08-23 03:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583273472001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787434963000,"timestamp_ms":1787434963000,"timestamp_seconds":1787434963,"priority":1,"record_length":96,"hex_timestamp":"000001a02b6d1038"} 
[2026-08-23 03:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:14: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-08-23 03:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 03:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:14:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:14:29] 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-08-23 03:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583273472001,"66":25343,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583273472001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:14:29] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:14:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583273472001,"power":25343,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":160438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:14:29] local.INFO: GPS data processed {"connection_id":160438,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:14:29] local.INFO: Acknowledgment sent {"connection_id":160438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:14:47] local.INFO: TCP Data received {"connection_id":160247,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:14:47] local.INFO: Processing buffer {"connection_id":160247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:14:47] local.INFO: IMEI packet received {"connection_id":160247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":160247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:14:52] local.INFO: TCP Data received {"connection_id":160247,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:14:52] local.INFO: Processing buffer {"connection_id":160247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:14:52] local.INFO: IMEI packet received {"connection_id":160247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":160247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:14:53] local.INFO: TCP Data received {"connection_id":160247,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:14:53] local.INFO: Processing buffer {"connection_id":160247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:14:53] local.INFO: Packet analysis {"connection_id":160247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b6d"} 
[2026-08-23 03:14:53] local.INFO: Extracted packet for processing {"connection_id":160247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b6d"} 
[2026-08-23 03:14:53] local.INFO: GPS Element Parsed {"raw_longitude":760384448,"raw_latitude":108637944,"longitude_deg":76.0384448,"latitude_deg":10.8637944,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528bc0","hex_latitude":"0679aef8","is_valid_coordinates":true} 
[2026-08-23 03:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583273472001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787434963000,"timestamp_ms":1787434963000,"timestamp_seconds":1787434963,"priority":1,"record_length":96,"hex_timestamp":"000001a02b6d1038"} 
[2026-08-23 03:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 03:14:53] 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-08-23 03:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583273472001,"66":25343,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583273472001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:14:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:14:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583273472001,"power":25343,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":160247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:14:53] local.INFO: GPS data processed {"connection_id":160247,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:14:53] local.INFO: Acknowledgment sent {"connection_id":160247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:15:24] local.INFO: TCP Data received {"connection_id":160247,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:15:24] local.INFO: Processing buffer {"connection_id":160247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:15:24] local.INFO: Packet analysis {"connection_id":160247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b6d"} 
[2026-08-23 03:15:24] local.INFO: Extracted packet for processing {"connection_id":160247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b6d"} 
[2026-08-23 03:15:24] local.INFO: GPS Element Parsed {"raw_longitude":760384448,"raw_latitude":108637944,"longitude_deg":76.0384448,"latitude_deg":10.8637944,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528bc0","hex_latitude":"0679aef8","is_valid_coordinates":true} 
[2026-08-23 03:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583273472001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787434963000,"timestamp_ms":1787434963000,"timestamp_seconds":1787434963,"priority":1,"record_length":96,"hex_timestamp":"000001a02b6d1038"} 
[2026-08-23 03:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:15: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-08-23 03:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 03:15: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-08-23 03:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583273472001,"66":25343,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583273472001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:15:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:15:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583273472001,"power":25343,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":160247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:15:24] local.INFO: GPS data processed {"connection_id":160247,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:15:24] local.INFO: Acknowledgment sent {"connection_id":160247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:15:53] local.INFO: TCP Data received {"connection_id":160248,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:15:53] local.INFO: Processing buffer {"connection_id":160248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:15:53] local.INFO: IMEI packet received {"connection_id":160248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":160248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:15:57] local.INFO: TCP Data received {"connection_id":160248,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:15:57] local.INFO: Processing buffer {"connection_id":160248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:15:57] local.INFO: IMEI packet received {"connection_id":160248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":160248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:15:59] local.INFO: TCP Data received {"connection_id":160248,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:15:59] local.INFO: Processing buffer {"connection_id":160248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:15:59] local.INFO: Packet analysis {"connection_id":160248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b6d"} 
[2026-08-23 03:15:59] local.INFO: Extracted packet for processing {"connection_id":160248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b6d"} 
[2026-08-23 03:15:59] local.INFO: GPS Element Parsed {"raw_longitude":760384448,"raw_latitude":108637944,"longitude_deg":76.0384448,"latitude_deg":10.8637944,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528bc0","hex_latitude":"0679aef8","is_valid_coordinates":true} 
[2026-08-23 03:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583273472001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787434963000,"timestamp_ms":1787434963000,"timestamp_seconds":1787434963,"priority":1,"record_length":96,"hex_timestamp":"000001a02b6d1038"} 
[2026-08-23 03:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 03:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:15:59] 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-08-23 03:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583273472001,"66":25343,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583273472001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:15:59] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:15:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583273472001,"power":25343,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":160248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:15:59] local.INFO: GPS data processed {"connection_id":160248,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:15:59] local.INFO: Acknowledgment sent {"connection_id":160248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:16:03] local.INFO: TCP Data received {"connection_id":160248,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:16:03] local.INFO: Processing buffer {"connection_id":160248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:16:03] local.INFO: Packet analysis {"connection_id":160248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b6d"} 
[2026-08-23 03:16:03] local.INFO: Extracted packet for processing {"connection_id":160248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b6d"} 
[2026-08-23 03:16:03] local.INFO: GPS Element Parsed {"raw_longitude":760384448,"raw_latitude":108637944,"longitude_deg":76.0384448,"latitude_deg":10.8637944,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528bc0","hex_latitude":"0679aef8","is_valid_coordinates":true} 
[2026-08-23 03:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583273472001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787434963000,"timestamp_ms":1787434963000,"timestamp_seconds":1787434963,"priority":1,"record_length":96,"hex_timestamp":"000001a02b6d1038"} 
[2026-08-23 03:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:16: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-08-23 03:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 03:16:03] 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-08-23 03:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:16:03] 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-08-23 03:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583273472001,"66":25343,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583273472001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:16:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:16:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583273472001,"power":25343,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":160248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:16:03] local.INFO: GPS data processed {"connection_id":160248,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:16:03] local.INFO: Acknowledgment sent {"connection_id":160248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:16:47] local.INFO: TCP Data received {"connection_id":162826,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:16:47] local.INFO: Processing buffer {"connection_id":162826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:16:47] local.INFO: IMEI packet received {"connection_id":162826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":162826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:16:52] local.INFO: TCP Data received {"connection_id":162826,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:16:52] local.INFO: Processing buffer {"connection_id":162826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:16:52] local.INFO: IMEI packet received {"connection_id":162826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":162826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:16:53] local.INFO: TCP Data received {"connection_id":162826,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:16:53] local.INFO: Processing buffer {"connection_id":162826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:16:53] local.INFO: Packet analysis {"connection_id":162826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b6d"} 
[2026-08-23 03:16:53] local.INFO: Extracted packet for processing {"connection_id":162826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b6d"} 
[2026-08-23 03:16:53] local.INFO: GPS Element Parsed {"raw_longitude":760384448,"raw_latitude":108637944,"longitude_deg":76.0384448,"latitude_deg":10.8637944,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528bc0","hex_latitude":"0679aef8","is_valid_coordinates":true} 
[2026-08-23 03:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583273472001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787434963000,"timestamp_ms":1787434963000,"timestamp_seconds":1787434963,"priority":1,"record_length":96,"hex_timestamp":"000001a02b6d1038"} 
[2026-08-23 03:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 03:16:53] 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-08-23 03:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:16:53] 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-08-23 03:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583273472001,"66":25343,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583273472001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:16:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:16:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583273472001,"power":25343,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":162826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:16:53] local.INFO: GPS data processed {"connection_id":162826,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:16:53] local.INFO: Acknowledgment sent {"connection_id":162826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:17:24] local.INFO: TCP Data received {"connection_id":162826,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:17:24] local.INFO: Processing buffer {"connection_id":162826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:17:24] local.INFO: Packet analysis {"connection_id":162826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b6d"} 
[2026-08-23 03:17:24] local.INFO: Extracted packet for processing {"connection_id":162826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b6d"} 
[2026-08-23 03:17:24] local.INFO: GPS Element Parsed {"raw_longitude":760384448,"raw_latitude":108637944,"longitude_deg":76.0384448,"latitude_deg":10.8637944,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528bc0","hex_latitude":"0679aef8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583273472001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787434963000,"timestamp_ms":1787434963000,"timestamp_seconds":1787434963,"priority":1,"record_length":96,"hex_timestamp":"000001a02b6d1038"} 
[2026-08-23 03:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:17: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-08-23 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 03:17: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-08-23 03: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-08-23 03:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:17:24] 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-08-23 03:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583273472001,"66":25343,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583273472001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:17:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:17:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583273472001,"power":25343,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":162826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:17:24] local.INFO: GPS data processed {"connection_id":162826,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:17:24] local.INFO: Acknowledgment sent {"connection_id":162826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:17:47] local.INFO: TCP Data received {"connection_id":160249,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:17:47] local.INFO: Processing buffer {"connection_id":160249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:17:47] local.INFO: IMEI packet received {"connection_id":160249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":160249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:17:52] local.INFO: TCP Data received {"connection_id":160249,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:17:52] local.INFO: Processing buffer {"connection_id":160249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:17:52] local.INFO: IMEI packet received {"connection_id":160249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":160249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:17:53] local.INFO: TCP Data received {"connection_id":160249,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:17:53] local.INFO: Processing buffer {"connection_id":160249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b6d1038012d528bc00679aef80055001133..."} 
[2026-08-23 03:17:53] local.INFO: Packet analysis {"connection_id":160249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b6d"} 
[2026-08-23 03:17:53] local.INFO: Extracted packet for processing {"connection_id":160249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b6d"} 
[2026-08-23 03:17:53] local.INFO: GPS Element Parsed {"raw_longitude":760384448,"raw_latitude":108637944,"longitude_deg":76.0384448,"latitude_deg":10.8637944,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528bc0","hex_latitude":"0679aef8","is_valid_coordinates":true} 
[2026-08-23 03:17: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-08-23 03:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583273472001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947636654451640320,"note":"Value kept but may cause issues"} 
[2026-08-23 03:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787434963000,"timestamp_ms":1787434963000,"timestamp_seconds":1787434963,"priority":1,"record_length":96,"hex_timestamp":"000001a02b6d1038"} 
[2026-08-23 03:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:17: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 03:17:53] 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-08-23 03:17: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-08-23 03:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:17:53] 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-08-23 03:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583273472001,"66":25343,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947636654451640320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583273472001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:17:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:17:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947636654451640320,"description":"Unknown IO ID 45"} 
[2026-08-23 03:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583273472001,"power":25343,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947636654451640320}} 
[2026-08-23 03:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":160249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:17:53] local.INFO: GPS data processed {"connection_id":160249,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:17:53] local.INFO: Acknowledgment sent {"connection_id":160249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:18:24] local.INFO: TCP Data received {"connection_id":160249,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:18:24] local.INFO: Processing buffer {"connection_id":160249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:18:24] local.INFO: Packet analysis {"connection_id":160249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b71"} 
[2026-08-23 03:18:24] local.INFO: Extracted packet for processing {"connection_id":160249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b71"} 
[2026-08-23 03:18:24] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583350528001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5948058866916718592,"note":"Value kept but may cause issues"} 
[2026-08-23 03:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787435264000,"timestamp_ms":1787435264000,"timestamp_seconds":1787435264,"priority":1,"record_length":96,"hex_timestamp":"000001a02b71a800"} 
[2026-08-23 03:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 03:18: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-08-23 03:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:18: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-08-23 03:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583350528001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5948058866916718592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583350528001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:18:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:18:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5948058866916718592,"description":"Unknown IO ID 45"} 
[2026-08-23 03:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583350528001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5948058866916718592}} 
[2026-08-23 03:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":160249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:18:24] local.INFO: GPS data processed {"connection_id":160249,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:18:24] local.INFO: Acknowledgment sent {"connection_id":160249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:18:52] local.INFO: TCP Data received {"connection_id":160439,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:18:52] local.INFO: Processing buffer {"connection_id":160439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:18:52] local.INFO: IMEI packet received {"connection_id":160439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":160439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:18:57] local.INFO: TCP Data received {"connection_id":160439,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:18:57] local.INFO: Processing buffer {"connection_id":160439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:18:57] local.INFO: IMEI packet received {"connection_id":160439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":160439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:18:58] local.INFO: TCP Data received {"connection_id":160439,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:18:58] local.INFO: Processing buffer {"connection_id":160439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:18:58] local.INFO: Packet analysis {"connection_id":160439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b71"} 
[2026-08-23 03:18:58] local.INFO: Extracted packet for processing {"connection_id":160439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b71"} 
[2026-08-23 03:18:58] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583350528001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5948058866916718592,"note":"Value kept but may cause issues"} 
[2026-08-23 03:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787435264000,"timestamp_ms":1787435264000,"timestamp_seconds":1787435264,"priority":1,"record_length":96,"hex_timestamp":"000001a02b71a800"} 
[2026-08-23 03:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:18: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-08-23 03:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 03:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583350528001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5948058866916718592},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583350528001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:18:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:18:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5948058866916718592,"description":"Unknown IO ID 45"} 
[2026-08-23 03:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583350528001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5948058866916718592}} 
[2026-08-23 03:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":160439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:18:58] local.INFO: GPS data processed {"connection_id":160439,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:18:58] local.INFO: Acknowledgment sent {"connection_id":160439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:19:02] local.INFO: TCP Data received {"connection_id":160439,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:19:03] local.INFO: Processing buffer {"connection_id":160439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:19:03] local.INFO: Packet analysis {"connection_id":160439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b71"} 
[2026-08-23 03:19:03] local.INFO: Extracted packet for processing {"connection_id":160439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b71"} 
[2026-08-23 03:19:03] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583350528001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5948058866916718592,"note":"Value kept but may cause issues"} 
[2026-08-23 03:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787435264000,"timestamp_ms":1787435264000,"timestamp_seconds":1787435264,"priority":1,"record_length":96,"hex_timestamp":"000001a02b71a800"} 
[2026-08-23 03:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:19: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-08-23 03:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 03:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583350528001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5948058866916718592},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583350528001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:19:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:19:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5948058866916718592,"description":"Unknown IO ID 45"} 
[2026-08-23 03:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583350528001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5948058866916718592}} 
[2026-08-23 03:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":160439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:19:03] local.INFO: GPS data processed {"connection_id":160439,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:19:03] local.INFO: Acknowledgment sent {"connection_id":160439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:19:47] local.INFO: TCP Data received {"connection_id":162827,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:19:47] local.INFO: Processing buffer {"connection_id":162827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:19:47] local.INFO: IMEI packet received {"connection_id":162827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":162827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:19:52] local.INFO: TCP Data received {"connection_id":162827,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:19:52] local.INFO: Processing buffer {"connection_id":162827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:19:52] local.INFO: IMEI packet received {"connection_id":162827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":162827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:19:53] local.INFO: TCP Data received {"connection_id":162827,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:19:53] local.INFO: Processing buffer {"connection_id":162827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:19:53] local.INFO: Packet analysis {"connection_id":162827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b71"} 
[2026-08-23 03:19:53] local.INFO: Extracted packet for processing {"connection_id":162827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b71"} 
[2026-08-23 03:19:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583350528001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5948058866916718592,"note":"Value kept but may cause issues"} 
[2026-08-23 03:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787435264000,"timestamp_ms":1787435264000,"timestamp_seconds":1787435264,"priority":1,"record_length":96,"hex_timestamp":"000001a02b71a800"} 
[2026-08-23 03:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 03:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583350528001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5948058866916718592},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583350528001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:19:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:19:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5948058866916718592,"description":"Unknown IO ID 45"} 
[2026-08-23 03:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583350528001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5948058866916718592}} 
[2026-08-23 03:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":162827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:19:53] local.INFO: GPS data processed {"connection_id":162827,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:19:53] local.INFO: Acknowledgment sent {"connection_id":162827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:20:24] local.INFO: TCP Data received {"connection_id":162827,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:20:24] local.INFO: Processing buffer {"connection_id":162827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:20:24] local.INFO: Packet analysis {"connection_id":162827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b71"} 
[2026-08-23 03:20:24] local.INFO: Extracted packet for processing {"connection_id":162827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b71"} 
[2026-08-23 03:20:24] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583350528001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5948058866916718592,"note":"Value kept but may cause issues"} 
[2026-08-23 03:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787435264000,"timestamp_ms":1787435264000,"timestamp_seconds":1787435264,"priority":1,"record_length":96,"hex_timestamp":"000001a02b71a800"} 
[2026-08-23 03:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:20: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-08-23 03: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":255,"data_length":795,"current_offset":136} 
[2026-08-23 03:20: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-08-23 03: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-08-23 03:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583350528001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5948058866916718592},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583350528001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:20:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:20:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5948058866916718592,"description":"Unknown IO ID 45"} 
[2026-08-23 03:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583350528001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5948058866916718592}} 
[2026-08-23 03:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":162827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:20:24] local.INFO: GPS data processed {"connection_id":162827,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:20:24] local.INFO: Acknowledgment sent {"connection_id":162827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:20:47] local.INFO: TCP Data received {"connection_id":160440,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:20:47] local.INFO: Processing buffer {"connection_id":160440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:20:47] local.INFO: IMEI packet received {"connection_id":160440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":160440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:20:52] local.INFO: TCP Data received {"connection_id":160440,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:20:52] local.INFO: Processing buffer {"connection_id":160440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:20:52] local.INFO: IMEI packet received {"connection_id":160440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":160440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:20:53] local.INFO: TCP Data received {"connection_id":160440,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:20:53] local.INFO: Processing buffer {"connection_id":160440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:20:53] local.INFO: Packet analysis {"connection_id":160440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b71"} 
[2026-08-23 03:20:53] local.INFO: Extracted packet for processing {"connection_id":160440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b71"} 
[2026-08-23 03:20:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583350528001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5948058866916718592,"note":"Value kept but may cause issues"} 
[2026-08-23 03:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787435264000,"timestamp_ms":1787435264000,"timestamp_seconds":1787435264,"priority":1,"record_length":96,"hex_timestamp":"000001a02b71a800"} 
[2026-08-23 03:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 03:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583350528001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5948058866916718592},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583350528001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:20:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:20:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5948058866916718592,"description":"Unknown IO ID 45"} 
[2026-08-23 03:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583350528001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5948058866916718592}} 
[2026-08-23 03:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":160440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:20:53] local.INFO: GPS data processed {"connection_id":160440,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:20:53] local.INFO: Acknowledgment sent {"connection_id":160440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:21:24] local.INFO: TCP Data received {"connection_id":160440,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:21:24] local.INFO: Processing buffer {"connection_id":160440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:21:24] local.INFO: Packet analysis {"connection_id":160440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b71"} 
[2026-08-23 03:21:24] local.INFO: Extracted packet for processing {"connection_id":160440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b71"} 
[2026-08-23 03:21:24] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583350528001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5948058866916718592,"note":"Value kept but may cause issues"} 
[2026-08-23 03:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787435264000,"timestamp_ms":1787435264000,"timestamp_seconds":1787435264,"priority":1,"record_length":96,"hex_timestamp":"000001a02b71a800"} 
[2026-08-23 03:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:21: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-08-23 03:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 03:21: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-08-23 03:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583350528001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5948058866916718592},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583350528001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:21:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:21:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5948058866916718592,"description":"Unknown IO ID 45"} 
[2026-08-23 03:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583350528001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5948058866916718592}} 
[2026-08-23 03:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":160440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:21:24] local.INFO: GPS data processed {"connection_id":160440,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:21:24] local.INFO: Acknowledgment sent {"connection_id":160440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:21:48] local.INFO: TCP Data received {"connection_id":161405,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:21:48] local.INFO: Processing buffer {"connection_id":161405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:21:48] local.INFO: IMEI packet received {"connection_id":161405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":161405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:21:52] local.INFO: TCP Data received {"connection_id":161405,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:21:52] local.INFO: Processing buffer {"connection_id":161405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:21:52] local.INFO: IMEI packet received {"connection_id":161405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":161405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:21:53] local.INFO: TCP Data received {"connection_id":161405,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:21:53] local.INFO: Processing buffer {"connection_id":161405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:21:53] local.INFO: Packet analysis {"connection_id":161405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b71"} 
[2026-08-23 03:21:53] local.INFO: Extracted packet for processing {"connection_id":161405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b71"} 
[2026-08-23 03:21:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583350528001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5948058866916718592,"note":"Value kept but may cause issues"} 
[2026-08-23 03:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787435264000,"timestamp_ms":1787435264000,"timestamp_seconds":1787435264,"priority":1,"record_length":96,"hex_timestamp":"000001a02b71a800"} 
[2026-08-23 03:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 03:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583350528001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5948058866916718592},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583350528001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:21:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:21:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5948058866916718592,"description":"Unknown IO ID 45"} 
[2026-08-23 03:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583350528001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5948058866916718592}} 
[2026-08-23 03:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":161405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:21:53] local.INFO: GPS data processed {"connection_id":161405,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:21:53] local.INFO: Acknowledgment sent {"connection_id":161405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:22:23] local.INFO: TCP Data received {"connection_id":161405,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:22:23] local.INFO: Processing buffer {"connection_id":161405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:22:23] local.INFO: Packet analysis {"connection_id":161405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b71"} 
[2026-08-23 03:22:23] local.INFO: Extracted packet for processing {"connection_id":161405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b71"} 
[2026-08-23 03:22:23] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583350528001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5948058866916718592,"note":"Value kept but may cause issues"} 
[2026-08-23 03:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787435264000,"timestamp_ms":1787435264000,"timestamp_seconds":1787435264,"priority":1,"record_length":96,"hex_timestamp":"000001a02b71a800"} 
[2026-08-23 03:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:22: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-08-23 03: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 03:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583350528001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5948058866916718592},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583350528001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:22:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:22:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5948058866916718592,"description":"Unknown IO ID 45"} 
[2026-08-23 03:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583350528001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5948058866916718592}} 
[2026-08-23 03:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":161405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:22:24] local.INFO: GPS data processed {"connection_id":161405,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:22:24] local.INFO: Acknowledgment sent {"connection_id":161405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:22:47] local.INFO: TCP Data received {"connection_id":160441,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:22:47] local.INFO: Processing buffer {"connection_id":160441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:22:47] local.INFO: IMEI packet received {"connection_id":160441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":160441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:22:52] local.INFO: TCP Data received {"connection_id":160441,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:22:52] local.INFO: Processing buffer {"connection_id":160441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:22:52] local.INFO: IMEI packet received {"connection_id":160441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":160441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:22:53] local.INFO: TCP Data received {"connection_id":160441,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:22:53] local.INFO: Processing buffer {"connection_id":160441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b71a800012d528a800679aed80055001133..."} 
[2026-08-23 03:22:53] local.INFO: Packet analysis {"connection_id":160441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b71"} 
[2026-08-23 03:22:53] local.INFO: Extracted packet for processing {"connection_id":160441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b71"} 
[2026-08-23 03:22:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583350528001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5948058866916718592,"note":"Value kept but may cause issues"} 
[2026-08-23 03:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787435264000,"timestamp_ms":1787435264000,"timestamp_seconds":1787435264,"priority":1,"record_length":96,"hex_timestamp":"000001a02b71a800"} 
[2026-08-23 03:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 03:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583350528001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5948058866916718592},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583350528001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:22:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:22:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5948058866916718592,"description":"Unknown IO ID 45"} 
[2026-08-23 03:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583350528001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5948058866916718592}} 
[2026-08-23 03:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":160441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:22:53] local.INFO: GPS data processed {"connection_id":160441,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:22:53] local.INFO: Acknowledgment sent {"connection_id":160441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:23:25] local.INFO: TCP Data received {"connection_id":160441,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:23:25] local.INFO: Processing buffer {"connection_id":160441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:23:25] local.INFO: Packet analysis {"connection_id":160441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b76"} 
[2026-08-23 03:23:25] local.INFO: Extracted packet for processing {"connection_id":160441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b76"} 
[2026-08-23 03:23:25] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583427584001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787435565000,"timestamp_ms":1787435565000,"timestamp_seconds":1787435565,"priority":1,"record_length":96,"hex_timestamp":"000001a02b763fc8"} 
[2026-08-23 03:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583427584001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583427584001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:23:25] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:23:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583427584001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":160441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:23:25] local.INFO: GPS data processed {"connection_id":160441,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:23:25] local.INFO: Acknowledgment sent {"connection_id":160441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:23:47] local.INFO: TCP Data received {"connection_id":160442,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:23:47] local.INFO: Processing buffer {"connection_id":160442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:23:47] local.INFO: IMEI packet received {"connection_id":160442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":160442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:23:52] local.INFO: TCP Data received {"connection_id":160442,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:23:52] local.INFO: Processing buffer {"connection_id":160442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:23:52] local.INFO: IMEI packet received {"connection_id":160442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":160442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:23:53] local.INFO: TCP Data received {"connection_id":160442,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:23:53] local.INFO: Processing buffer {"connection_id":160442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:23:53] local.INFO: Packet analysis {"connection_id":160442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b76"} 
[2026-08-23 03:23:53] local.INFO: Extracted packet for processing {"connection_id":160442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b76"} 
[2026-08-23 03:23:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:23: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-08-23 03:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583427584001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787435565000,"timestamp_ms":1787435565000,"timestamp_seconds":1787435565,"priority":1,"record_length":96,"hex_timestamp":"000001a02b763fc8"} 
[2026-08-23 03:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:23: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-08-23 03:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583427584001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583427584001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:23:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:23:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583427584001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":160442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:23:53] local.INFO: GPS data processed {"connection_id":160442,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:23:53] local.INFO: Acknowledgment sent {"connection_id":160442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:24:24] local.INFO: TCP Data received {"connection_id":160442,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:24:24] local.INFO: Processing buffer {"connection_id":160442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:24:24] local.INFO: Packet analysis {"connection_id":160442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b76"} 
[2026-08-23 03:24:24] local.INFO: Extracted packet for processing {"connection_id":160442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b76"} 
[2026-08-23 03:24:24] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583427584001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787435565000,"timestamp_ms":1787435565000,"timestamp_seconds":1787435565,"priority":1,"record_length":96,"hex_timestamp":"000001a02b763fc8"} 
[2026-08-23 03:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:24: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-08-23 03:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583427584001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583427584001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:24:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:24:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583427584001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":160442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:24:24] local.INFO: GPS data processed {"connection_id":160442,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:24:24] local.INFO: Acknowledgment sent {"connection_id":160442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:24:48] local.INFO: TCP Data received {"connection_id":160443,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:24:48] local.INFO: Processing buffer {"connection_id":160443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:24:48] local.INFO: IMEI packet received {"connection_id":160443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":160443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:24:52] local.INFO: TCP Data received {"connection_id":160443,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:24:52] local.INFO: Processing buffer {"connection_id":160443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:24:52] local.INFO: IMEI packet received {"connection_id":160443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":160443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:24:53] local.INFO: TCP Data received {"connection_id":160443,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:24:53] local.INFO: Processing buffer {"connection_id":160443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:24:53] local.INFO: Packet analysis {"connection_id":160443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b76"} 
[2026-08-23 03:24:53] local.INFO: Extracted packet for processing {"connection_id":160443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b76"} 
[2026-08-23 03:24:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583427584001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787435565000,"timestamp_ms":1787435565000,"timestamp_seconds":1787435565,"priority":1,"record_length":96,"hex_timestamp":"000001a02b763fc8"} 
[2026-08-23 03:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583427584001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583427584001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:24:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:24:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583427584001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":160443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:24:53] local.INFO: GPS data processed {"connection_id":160443,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:24:53] local.INFO: Acknowledgment sent {"connection_id":160443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:25:24] local.INFO: TCP Data received {"connection_id":160443,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:25:24] local.INFO: Processing buffer {"connection_id":160443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:25:24] local.INFO: Packet analysis {"connection_id":160443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b76"} 
[2026-08-23 03:25:24] local.INFO: Extracted packet for processing {"connection_id":160443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b76"} 
[2026-08-23 03:25:24] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583427584001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787435565000,"timestamp_ms":1787435565000,"timestamp_seconds":1787435565,"priority":1,"record_length":96,"hex_timestamp":"000001a02b763fc8"} 
[2026-08-23 03:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:25: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-08-23 03:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583427584001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583427584001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:25:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:25:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583427584001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":160443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:25:24] local.INFO: GPS data processed {"connection_id":160443,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:25:24] local.INFO: Acknowledgment sent {"connection_id":160443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:25:47] local.INFO: TCP Data received {"connection_id":162828,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:25:47] local.INFO: Processing buffer {"connection_id":162828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:25:47] local.INFO: IMEI packet received {"connection_id":162828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":162828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:25:52] local.INFO: TCP Data received {"connection_id":162828,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:25:52] local.INFO: Processing buffer {"connection_id":162828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:25:52] local.INFO: IMEI packet received {"connection_id":162828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":162828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:25:53] local.INFO: TCP Data received {"connection_id":162828,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:25:53] local.INFO: Processing buffer {"connection_id":162828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:25:53] local.INFO: Packet analysis {"connection_id":162828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b76"} 
[2026-08-23 03:25:53] local.INFO: Extracted packet for processing {"connection_id":162828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b76"} 
[2026-08-23 03:25:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583427584001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787435565000,"timestamp_ms":1787435565000,"timestamp_seconds":1787435565,"priority":1,"record_length":96,"hex_timestamp":"000001a02b763fc8"} 
[2026-08-23 03:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583427584001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583427584001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:25:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:25:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583427584001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":162828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:25:53] local.INFO: GPS data processed {"connection_id":162828,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:25:53] local.INFO: Acknowledgment sent {"connection_id":162828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:26:24] local.INFO: TCP Data received {"connection_id":162828,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:26:24] local.INFO: Processing buffer {"connection_id":162828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:26:24] local.INFO: Packet analysis {"connection_id":162828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b76"} 
[2026-08-23 03:26:24] local.INFO: Extracted packet for processing {"connection_id":162828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b76"} 
[2026-08-23 03:26:24] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583427584001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787435565000,"timestamp_ms":1787435565000,"timestamp_seconds":1787435565,"priority":1,"record_length":96,"hex_timestamp":"000001a02b763fc8"} 
[2026-08-23 03:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03: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-08-23 03: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":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583427584001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583427584001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:26:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:26:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583427584001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":162828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:26:24] local.INFO: GPS data processed {"connection_id":162828,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:26:24] local.INFO: Acknowledgment sent {"connection_id":162828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:26:47] local.INFO: TCP Data received {"connection_id":161406,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:26:47] local.INFO: Processing buffer {"connection_id":161406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:26:47] local.INFO: IMEI packet received {"connection_id":161406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":161406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:26:52] local.INFO: TCP Data received {"connection_id":161406,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:26:52] local.INFO: Processing buffer {"connection_id":161406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:26:52] local.INFO: IMEI packet received {"connection_id":161406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":161406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:26:53] local.INFO: TCP Data received {"connection_id":161406,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:26:53] local.INFO: Processing buffer {"connection_id":161406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:26:53] local.INFO: Packet analysis {"connection_id":161406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b76"} 
[2026-08-23 03:26:53] local.INFO: Extracted packet for processing {"connection_id":161406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b76"} 
[2026-08-23 03:26:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583427584001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787435565000,"timestamp_ms":1787435565000,"timestamp_seconds":1787435565,"priority":1,"record_length":96,"hex_timestamp":"000001a02b763fc8"} 
[2026-08-23 03:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583427584001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583427584001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:26:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:26:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583427584001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":161406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:26:53] local.INFO: GPS data processed {"connection_id":161406,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:26:53] local.INFO: Acknowledgment sent {"connection_id":161406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:27:24] local.INFO: TCP Data received {"connection_id":161406,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:27:24] local.INFO: Processing buffer {"connection_id":161406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:27:24] local.INFO: Packet analysis {"connection_id":161406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b76"} 
[2026-08-23 03:27:24] local.INFO: Extracted packet for processing {"connection_id":161406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b76"} 
[2026-08-23 03:27:24] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583427584001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787435565000,"timestamp_ms":1787435565000,"timestamp_seconds":1787435565,"priority":1,"record_length":96,"hex_timestamp":"000001a02b763fc8"} 
[2026-08-23 03:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:27: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-08-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583427584001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583427584001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:27:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:27:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583427584001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":161406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:27:24] local.INFO: GPS data processed {"connection_id":161406,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:27:24] local.INFO: Acknowledgment sent {"connection_id":161406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:27:52] local.INFO: TCP Data received {"connection_id":160444,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:27:52] local.INFO: Processing buffer {"connection_id":160444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:27:52] local.INFO: IMEI packet received {"connection_id":160444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":160444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:27:57] local.INFO: TCP Data received {"connection_id":160444,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:27:57] local.INFO: Processing buffer {"connection_id":160444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:27:57] local.INFO: IMEI packet received {"connection_id":160444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":160444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:27:58] local.INFO: TCP Data received {"connection_id":160444,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:27:58] local.INFO: Processing buffer {"connection_id":160444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:27:58] local.INFO: Packet analysis {"connection_id":160444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b76"} 
[2026-08-23 03:27:58] local.INFO: Extracted packet for processing {"connection_id":160444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b76"} 
[2026-08-23 03:27:58] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583427584001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787435565000,"timestamp_ms":1787435565000,"timestamp_seconds":1787435565,"priority":1,"record_length":96,"hex_timestamp":"000001a02b763fc8"} 
[2026-08-23 03:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583427584001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583427584001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:27:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:27:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583427584001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":160444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:27:58] local.INFO: GPS data processed {"connection_id":160444,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:27:58] local.INFO: Acknowledgment sent {"connection_id":160444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:28:02] local.INFO: TCP Data received {"connection_id":160444,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:28:02] local.INFO: Processing buffer {"connection_id":160444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b763fc8012d528a800679aed80055001133..."} 
[2026-08-23 03:28:02] local.INFO: Packet analysis {"connection_id":160444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b76"} 
[2026-08-23 03:28:02] local.INFO: Extracted packet for processing {"connection_id":160444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b76"} 
[2026-08-23 03:28:02] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583427584001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787435565000,"timestamp_ms":1787435565000,"timestamp_seconds":1787435565,"priority":1,"record_length":96,"hex_timestamp":"000001a02b763fc8"} 
[2026-08-23 03:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583427584001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583427584001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:28:02] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:28:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583427584001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":160444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:28:02] local.INFO: GPS data processed {"connection_id":160444,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:28:02] local.INFO: Acknowledgment sent {"connection_id":160444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:28:47] local.INFO: TCP Data received {"connection_id":160250,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:28:47] local.INFO: Processing buffer {"connection_id":160250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:28:47] local.INFO: IMEI packet received {"connection_id":160250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":160250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:28:52] local.INFO: TCP Data received {"connection_id":160250,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:28:52] local.INFO: Processing buffer {"connection_id":160250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:28:52] local.INFO: IMEI packet received {"connection_id":160250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":160250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:28:53] local.INFO: TCP Data received {"connection_id":160250,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:28:53] local.INFO: Processing buffer {"connection_id":160250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:28:53] local.INFO: Packet analysis {"connection_id":160250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b7a"} 
[2026-08-23 03:28:53] local.INFO: Extracted packet for processing {"connection_id":160250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b7a"} 
[2026-08-23 03:28:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583504640001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787435866000,"timestamp_ms":1787435866000,"timestamp_seconds":1787435866,"priority":1,"record_length":96,"hex_timestamp":"000001a02b7ad790"} 
[2026-08-23 03:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583504640001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583504640001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:28:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:28:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583504640001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":160250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:28:53] local.INFO: GPS data processed {"connection_id":160250,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:28:53] local.INFO: Acknowledgment sent {"connection_id":160250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:29:24] local.INFO: TCP Data received {"connection_id":160250,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:29:24] local.INFO: Processing buffer {"connection_id":160250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:29:24] local.INFO: Packet analysis {"connection_id":160250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b7a"} 
[2026-08-23 03:29:24] local.INFO: Extracted packet for processing {"connection_id":160250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b7a"} 
[2026-08-23 03:29:24] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583504640001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787435866000,"timestamp_ms":1787435866000,"timestamp_seconds":1787435866,"priority":1,"record_length":96,"hex_timestamp":"000001a02b7ad790"} 
[2026-08-23 03:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583504640001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583504640001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:29:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:29:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583504640001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":160250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:29:24] local.INFO: GPS data processed {"connection_id":160250,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:29:24] local.INFO: Acknowledgment sent {"connection_id":160250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:29:47] local.INFO: TCP Data received {"connection_id":160445,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:29:47] local.INFO: Processing buffer {"connection_id":160445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:29:47] local.INFO: IMEI packet received {"connection_id":160445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":160445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:29:52] local.INFO: TCP Data received {"connection_id":160445,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:29:52] local.INFO: Processing buffer {"connection_id":160445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:29:52] local.INFO: IMEI packet received {"connection_id":160445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":160445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:29:53] local.INFO: TCP Data received {"connection_id":160445,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:29:53] local.INFO: Processing buffer {"connection_id":160445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:29:53] local.INFO: Packet analysis {"connection_id":160445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b7a"} 
[2026-08-23 03:29:53] local.INFO: Extracted packet for processing {"connection_id":160445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b7a"} 
[2026-08-23 03:29:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583504640001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787435866000,"timestamp_ms":1787435866000,"timestamp_seconds":1787435866,"priority":1,"record_length":96,"hex_timestamp":"000001a02b7ad790"} 
[2026-08-23 03:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583504640001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583504640001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:29:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:29:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583504640001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":160445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:29:53] local.INFO: GPS data processed {"connection_id":160445,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:29:53] local.INFO: Acknowledgment sent {"connection_id":160445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:30:24] local.INFO: TCP Data received {"connection_id":160445,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:30:24] local.INFO: Processing buffer {"connection_id":160445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:30:24] local.INFO: Packet analysis {"connection_id":160445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b7a"} 
[2026-08-23 03:30:24] local.INFO: Extracted packet for processing {"connection_id":160445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b7a"} 
[2026-08-23 03:30:24] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583504640001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787435866000,"timestamp_ms":1787435866000,"timestamp_seconds":1787435866,"priority":1,"record_length":96,"hex_timestamp":"000001a02b7ad790"} 
[2026-08-23 03:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583504640001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583504640001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:30:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:30:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583504640001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":160445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:30:24] local.INFO: GPS data processed {"connection_id":160445,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:30:24] local.INFO: Acknowledgment sent {"connection_id":160445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:30:47] local.INFO: TCP Data received {"connection_id":160446,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:30:47] local.INFO: Processing buffer {"connection_id":160446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:30:47] local.INFO: IMEI packet received {"connection_id":160446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":160446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:30:52] local.INFO: TCP Data received {"connection_id":160446,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:30:52] local.INFO: Processing buffer {"connection_id":160446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:30:52] local.INFO: IMEI packet received {"connection_id":160446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":160446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:30:53] local.INFO: TCP Data received {"connection_id":160446,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:30:53] local.INFO: Processing buffer {"connection_id":160446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:30:53] local.INFO: Packet analysis {"connection_id":160446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b7a"} 
[2026-08-23 03:30:53] local.INFO: Extracted packet for processing {"connection_id":160446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b7a"} 
[2026-08-23 03:30:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583504640001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787435866000,"timestamp_ms":1787435866000,"timestamp_seconds":1787435866,"priority":1,"record_length":96,"hex_timestamp":"000001a02b7ad790"} 
[2026-08-23 03:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583504640001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583504640001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:30:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:30:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583504640001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":160446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:30:53] local.INFO: GPS data processed {"connection_id":160446,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:30:53] local.INFO: Acknowledgment sent {"connection_id":160446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:31:24] local.INFO: TCP Data received {"connection_id":160446,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:31:24] local.INFO: Processing buffer {"connection_id":160446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:31:24] local.INFO: Packet analysis {"connection_id":160446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b7a"} 
[2026-08-23 03:31:24] local.INFO: Extracted packet for processing {"connection_id":160446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b7a"} 
[2026-08-23 03:31:24] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583504640001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787435866000,"timestamp_ms":1787435866000,"timestamp_seconds":1787435866,"priority":1,"record_length":96,"hex_timestamp":"000001a02b7ad790"} 
[2026-08-23 03:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583504640001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583504640001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:31:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:31:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583504640001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":160446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:31:24] local.INFO: GPS data processed {"connection_id":160446,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:31:24] local.INFO: Acknowledgment sent {"connection_id":160446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:31:47] local.INFO: TCP Data received {"connection_id":160251,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:31:47] local.INFO: Processing buffer {"connection_id":160251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:31:47] local.INFO: IMEI packet received {"connection_id":160251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":160251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:31:52] local.INFO: TCP Data received {"connection_id":160251,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:31:52] local.INFO: Processing buffer {"connection_id":160251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:31:52] local.INFO: IMEI packet received {"connection_id":160251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":160251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:31:53] local.INFO: TCP Data received {"connection_id":160251,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:31:53] local.INFO: Processing buffer {"connection_id":160251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:31:53] local.INFO: Packet analysis {"connection_id":160251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b7a"} 
[2026-08-23 03:31:53] local.INFO: Extracted packet for processing {"connection_id":160251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b7a"} 
[2026-08-23 03:31:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583504640001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787435866000,"timestamp_ms":1787435866000,"timestamp_seconds":1787435866,"priority":1,"record_length":96,"hex_timestamp":"000001a02b7ad790"} 
[2026-08-23 03:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583504640001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583504640001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:31:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:31:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583504640001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":160251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:31:53] local.INFO: GPS data processed {"connection_id":160251,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:31:53] local.INFO: Acknowledgment sent {"connection_id":160251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:32:25] local.INFO: TCP Data received {"connection_id":160251,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:32:26] local.INFO: Processing buffer {"connection_id":160251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:32:26] local.INFO: Packet analysis {"connection_id":160251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b7a"} 
[2026-08-23 03:32:26] local.INFO: Extracted packet for processing {"connection_id":160251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b7a"} 
[2026-08-23 03:32:26] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583504640001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787435866000,"timestamp_ms":1787435866000,"timestamp_seconds":1787435866,"priority":1,"record_length":96,"hex_timestamp":"000001a02b7ad790"} 
[2026-08-23 03:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:32: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-08-23 03:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583504640001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583504640001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:32:26] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:32:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583504640001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":160251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:32:26] local.INFO: GPS data processed {"connection_id":160251,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:32:26] local.INFO: Acknowledgment sent {"connection_id":160251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:32:47] local.INFO: TCP Data received {"connection_id":160447,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:32:47] local.INFO: Processing buffer {"connection_id":160447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:32:47] local.INFO: IMEI packet received {"connection_id":160447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":160447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:32:52] local.INFO: TCP Data received {"connection_id":160447,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:32:52] local.INFO: Processing buffer {"connection_id":160447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:32:52] local.INFO: IMEI packet received {"connection_id":160447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":160447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:32:53] local.INFO: TCP Data received {"connection_id":160447,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:32:53] local.INFO: Processing buffer {"connection_id":160447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:32:53] local.INFO: Packet analysis {"connection_id":160447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b7a"} 
[2026-08-23 03:32:53] local.INFO: Extracted packet for processing {"connection_id":160447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b7a"} 
[2026-08-23 03:32:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583504640001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787435866000,"timestamp_ms":1787435866000,"timestamp_seconds":1787435866,"priority":1,"record_length":96,"hex_timestamp":"000001a02b7ad790"} 
[2026-08-23 03:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583504640001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583504640001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:32:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:32:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583504640001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":160447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:32:53] local.INFO: GPS data processed {"connection_id":160447,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:32:53] local.INFO: Acknowledgment sent {"connection_id":160447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:33:24] local.INFO: TCP Data received {"connection_id":160447,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:33:24] local.INFO: Processing buffer {"connection_id":160447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b7ad790012d528a800679aed80055001133..."} 
[2026-08-23 03:33:24] local.INFO: Packet analysis {"connection_id":160447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b7a"} 
[2026-08-23 03:33:24] local.INFO: Extracted packet for processing {"connection_id":160447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b7a"} 
[2026-08-23 03:33:24] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583504640001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787435866000,"timestamp_ms":1787435866000,"timestamp_seconds":1787435866,"priority":1,"record_length":96,"hex_timestamp":"000001a02b7ad790"} 
[2026-08-23 03:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583504640001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583504640001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:33:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:33:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583504640001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":160447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:33:24] local.INFO: GPS data processed {"connection_id":160447,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:33:24] local.INFO: Acknowledgment sent {"connection_id":160447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:33:52] local.INFO: TCP Data received {"connection_id":160252,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:33:52] local.INFO: Processing buffer {"connection_id":160252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:33:52] local.INFO: IMEI packet received {"connection_id":160252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":160252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:33:57] local.INFO: TCP Data received {"connection_id":160252,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:33:57] local.INFO: Processing buffer {"connection_id":160252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:33:57] local.INFO: IMEI packet received {"connection_id":160252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":160252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:33:58] local.INFO: TCP Data received {"connection_id":160252,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:33:58] local.INFO: Processing buffer {"connection_id":160252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:33:58] local.INFO: Packet analysis {"connection_id":160252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b7f"} 
[2026-08-23 03:33:58] local.INFO: Extracted packet for processing {"connection_id":160252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b7f"} 
[2026-08-23 03:33:58] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":50,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583581696001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787436167000,"timestamp_ms":1787436167000,"timestamp_seconds":1787436167,"priority":1,"record_length":96,"hex_timestamp":"000001a02b7f6f58"} 
[2026-08-23 03:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583581696001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583581696001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:33:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:33:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583581696001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":160252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:33:58] local.INFO: GPS data processed {"connection_id":160252,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:33:58] local.INFO: Acknowledgment sent {"connection_id":160252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:34:28] local.INFO: TCP Data received {"connection_id":160252,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:34:28] local.INFO: Processing buffer {"connection_id":160252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:34:28] local.INFO: Packet analysis {"connection_id":160252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b7f"} 
[2026-08-23 03:34:28] local.INFO: Extracted packet for processing {"connection_id":160252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b7f"} 
[2026-08-23 03:34:28] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":50,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583581696001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787436167000,"timestamp_ms":1787436167000,"timestamp_seconds":1787436167,"priority":1,"record_length":96,"hex_timestamp":"000001a02b7f6f58"} 
[2026-08-23 03:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583581696001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583581696001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:34:28] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:34:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583581696001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":160252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:34:28] local.INFO: GPS data processed {"connection_id":160252,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:34:28] local.INFO: Acknowledgment sent {"connection_id":160252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:34:47] local.INFO: TCP Data received {"connection_id":161407,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:34:47] local.INFO: Processing buffer {"connection_id":161407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:34:47] local.INFO: IMEI packet received {"connection_id":161407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":161407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:34:52] local.INFO: TCP Data received {"connection_id":161407,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:34:52] local.INFO: Processing buffer {"connection_id":161407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:34:52] local.INFO: IMEI packet received {"connection_id":161407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":161407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:34:54] local.INFO: TCP Data received {"connection_id":161407,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:34:54] local.INFO: Processing buffer {"connection_id":161407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:34:54] local.INFO: Packet analysis {"connection_id":161407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b7f"} 
[2026-08-23 03:34:54] local.INFO: Extracted packet for processing {"connection_id":161407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b7f"} 
[2026-08-23 03:34:54] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":50,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583581696001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787436167000,"timestamp_ms":1787436167000,"timestamp_seconds":1787436167,"priority":1,"record_length":96,"hex_timestamp":"000001a02b7f6f58"} 
[2026-08-23 03:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:34: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-08-23 03:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583581696001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583581696001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:34:54] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:34:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583581696001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":161407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:34:54] local.INFO: GPS data processed {"connection_id":161407,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:34:54] local.INFO: Acknowledgment sent {"connection_id":161407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:35:25] local.INFO: TCP Data received {"connection_id":161407,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:35:25] local.INFO: Processing buffer {"connection_id":161407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:35:25] local.INFO: Packet analysis {"connection_id":161407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b7f"} 
[2026-08-23 03:35:25] local.INFO: Extracted packet for processing {"connection_id":161407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b7f"} 
[2026-08-23 03:35:25] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":50,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583581696001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787436167000,"timestamp_ms":1787436167000,"timestamp_seconds":1787436167,"priority":1,"record_length":96,"hex_timestamp":"000001a02b7f6f58"} 
[2026-08-23 03:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583581696001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583581696001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:35:25] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:35:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583581696001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":161407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:35:25] local.INFO: GPS data processed {"connection_id":161407,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:35:25] local.INFO: Acknowledgment sent {"connection_id":161407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:35:47] local.INFO: TCP Data received {"connection_id":161408,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:35:47] local.INFO: Processing buffer {"connection_id":161408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:35:47] local.INFO: IMEI packet received {"connection_id":161408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":161408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:35:52] local.INFO: TCP Data received {"connection_id":161408,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:35:52] local.INFO: Processing buffer {"connection_id":161408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:35:52] local.INFO: IMEI packet received {"connection_id":161408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":161408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:35:53] local.INFO: TCP Data received {"connection_id":161408,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:35:53] local.INFO: Processing buffer {"connection_id":161408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:35:53] local.INFO: Packet analysis {"connection_id":161408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b7f"} 
[2026-08-23 03:35:53] local.INFO: Extracted packet for processing {"connection_id":161408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b7f"} 
[2026-08-23 03:35:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":50,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583581696001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787436167000,"timestamp_ms":1787436167000,"timestamp_seconds":1787436167,"priority":1,"record_length":96,"hex_timestamp":"000001a02b7f6f58"} 
[2026-08-23 03:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:35: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-08-23 03:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583581696001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583581696001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:35:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:35:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583581696001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":161408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:35:53] local.INFO: GPS data processed {"connection_id":161408,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:35:53] local.INFO: Acknowledgment sent {"connection_id":161408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:35:57] local.INFO: TCP Data received {"connection_id":161408,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:35:58] local.INFO: Processing buffer {"connection_id":161408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:35:58] local.INFO: Packet analysis {"connection_id":161408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b7f"} 
[2026-08-23 03:35:58] local.INFO: Extracted packet for processing {"connection_id":161408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b7f"} 
[2026-08-23 03:35:58] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":50,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583581696001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787436167000,"timestamp_ms":1787436167000,"timestamp_seconds":1787436167,"priority":1,"record_length":96,"hex_timestamp":"000001a02b7f6f58"} 
[2026-08-23 03:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:35: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-08-23 03:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583581696001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583581696001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:35:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:35:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583581696001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":161408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:35:58] local.INFO: GPS data processed {"connection_id":161408,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:35:58] local.INFO: Acknowledgment sent {"connection_id":161408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:36:29] local.INFO: TCP Data received {"connection_id":161408,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:36:29] local.INFO: Processing buffer {"connection_id":161408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:36:29] local.INFO: Packet analysis {"connection_id":161408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b7f"} 
[2026-08-23 03:36:29] local.INFO: Extracted packet for processing {"connection_id":161408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b7f"} 
[2026-08-23 03:36:29] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":50,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583581696001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787436167000,"timestamp_ms":1787436167000,"timestamp_seconds":1787436167,"priority":1,"record_length":96,"hex_timestamp":"000001a02b7f6f58"} 
[2026-08-23 03:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583581696001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583581696001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:36:29] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:36:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583581696001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":161408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:36:29] local.INFO: GPS data processed {"connection_id":161408,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:36:29] local.INFO: Acknowledgment sent {"connection_id":161408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:36:47] local.INFO: TCP Data received {"connection_id":161409,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:36:47] local.INFO: Processing buffer {"connection_id":161409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:36:47] local.INFO: IMEI packet received {"connection_id":161409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":161409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:36:52] local.INFO: TCP Data received {"connection_id":161409,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:36:52] local.INFO: Processing buffer {"connection_id":161409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:36:52] local.INFO: IMEI packet received {"connection_id":161409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":161409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:36:56] local.INFO: TCP Data received {"connection_id":161409,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:36:56] local.INFO: Processing buffer {"connection_id":161409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:36:56] local.INFO: Packet analysis {"connection_id":161409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b7f"} 
[2026-08-23 03:36:56] local.INFO: Extracted packet for processing {"connection_id":161409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b7f"} 
[2026-08-23 03:36:56] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":50,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583581696001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787436167000,"timestamp_ms":1787436167000,"timestamp_seconds":1787436167,"priority":1,"record_length":96,"hex_timestamp":"000001a02b7f6f58"} 
[2026-08-23 03:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583581696001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583581696001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:36:56] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:36:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583581696001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":161409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:36:56] local.INFO: GPS data processed {"connection_id":161409,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:36:56] local.INFO: Acknowledgment sent {"connection_id":161409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:37:27] local.INFO: TCP Data received {"connection_id":161409,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:37:27] local.INFO: Processing buffer {"connection_id":161409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:37:27] local.INFO: Packet analysis {"connection_id":161409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b7f"} 
[2026-08-23 03:37:27] local.INFO: Extracted packet for processing {"connection_id":161409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b7f"} 
[2026-08-23 03:37:27] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":50,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583581696001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787436167000,"timestamp_ms":1787436167000,"timestamp_seconds":1787436167,"priority":1,"record_length":96,"hex_timestamp":"000001a02b7f6f58"} 
[2026-08-23 03:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583581696001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583581696001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:37:27] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:37:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583581696001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":161409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:37:27] local.INFO: GPS data processed {"connection_id":161409,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:37:27] local.INFO: Acknowledgment sent {"connection_id":161409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:37:47] local.INFO: TCP Data received {"connection_id":162829,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:37:47] local.INFO: Processing buffer {"connection_id":162829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:37:47] local.INFO: IMEI packet received {"connection_id":162829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":162829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:37:52] local.INFO: TCP Data received {"connection_id":162829,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:37:52] local.INFO: Processing buffer {"connection_id":162829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:37:52] local.INFO: IMEI packet received {"connection_id":162829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":162829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:37:53] local.INFO: TCP Data received {"connection_id":162829,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:37:53] local.INFO: Processing buffer {"connection_id":162829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:37:53] local.INFO: Packet analysis {"connection_id":162829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b7f"} 
[2026-08-23 03:37:53] local.INFO: Extracted packet for processing {"connection_id":162829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b7f"} 
[2026-08-23 03:37:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":50,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583581696001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787436167000,"timestamp_ms":1787436167000,"timestamp_seconds":1787436167,"priority":1,"record_length":96,"hex_timestamp":"000001a02b7f6f58"} 
[2026-08-23 03:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583581696001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583581696001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:37:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:37:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583581696001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":162829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:37:53] local.INFO: GPS data processed {"connection_id":162829,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:37:53] local.INFO: Acknowledgment sent {"connection_id":162829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:38:24] local.INFO: TCP Data received {"connection_id":162829,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:38:24] local.INFO: Processing buffer {"connection_id":162829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b7f6f58012d528a800679aed80055001132..."} 
[2026-08-23 03:38:24] local.INFO: Packet analysis {"connection_id":162829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b7f"} 
[2026-08-23 03:38:24] local.INFO: Extracted packet for processing {"connection_id":162829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b7f"} 
[2026-08-23 03:38:24] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":50,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583581696001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787436167000,"timestamp_ms":1787436167000,"timestamp_seconds":1787436167,"priority":1,"record_length":96,"hex_timestamp":"000001a02b7f6f58"} 
[2026-08-23 03:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:38: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-08-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583581696001,"66":25321,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583581696001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:38:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:38:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583581696001,"power":25321,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":162829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:38:24] local.INFO: GPS data processed {"connection_id":162829,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:38:24] local.INFO: Acknowledgment sent {"connection_id":162829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:38:52] local.INFO: TCP Data received {"connection_id":160253,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:38:52] local.INFO: Processing buffer {"connection_id":160253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:38:52] local.INFO: IMEI packet received {"connection_id":160253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":160253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:38:57] local.INFO: TCP Data received {"connection_id":160253,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:38:57] local.INFO: Processing buffer {"connection_id":160253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:38:57] local.INFO: IMEI packet received {"connection_id":160253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":160253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:38:58] local.INFO: TCP Data received {"connection_id":160253,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:38:58] local.INFO: Processing buffer {"connection_id":160253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:38:58] local.INFO: Packet analysis {"connection_id":160253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b84"} 
[2026-08-23 03:38:58] local.INFO: Extracted packet for processing {"connection_id":160253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b84"} 
[2026-08-23 03:38:58] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":49,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583658752001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787436468000,"timestamp_ms":1787436468000,"timestamp_seconds":1787436468,"priority":1,"record_length":96,"hex_timestamp":"000001a02b840720"} 
[2026-08-23 03:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:38: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-08-23 03:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583658752001,"66":25201,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583658752001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:38:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:38:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583658752001,"power":25201,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":160253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:38:58] local.INFO: GPS data processed {"connection_id":160253,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:38:58] local.INFO: Acknowledgment sent {"connection_id":160253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:39:29] local.INFO: TCP Data received {"connection_id":160253,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:39:29] local.INFO: Processing buffer {"connection_id":160253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:39:29] local.INFO: Packet analysis {"connection_id":160253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b84"} 
[2026-08-23 03:39:29] local.INFO: Extracted packet for processing {"connection_id":160253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b84"} 
[2026-08-23 03:39:29] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":49,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583658752001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787436468000,"timestamp_ms":1787436468000,"timestamp_seconds":1787436468,"priority":1,"record_length":96,"hex_timestamp":"000001a02b840720"} 
[2026-08-23 03:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:39: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-08-23 03:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583658752001,"66":25201,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583658752001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:39:29] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:39:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583658752001,"power":25201,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":160253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:39:29] local.INFO: GPS data processed {"connection_id":160253,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:39:29] local.INFO: Acknowledgment sent {"connection_id":160253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:39:47] local.INFO: TCP Data received {"connection_id":161410,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:39:47] local.INFO: Processing buffer {"connection_id":161410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:39:47] local.INFO: IMEI packet received {"connection_id":161410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":161410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:39:52] local.INFO: TCP Data received {"connection_id":161410,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:39:52] local.INFO: Processing buffer {"connection_id":161410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:39:52] local.INFO: IMEI packet received {"connection_id":161410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":161410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:39:53] local.INFO: TCP Data received {"connection_id":161410,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:39:53] local.INFO: Processing buffer {"connection_id":161410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:39:53] local.INFO: Packet analysis {"connection_id":161410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b84"} 
[2026-08-23 03:39:53] local.INFO: Extracted packet for processing {"connection_id":161410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b84"} 
[2026-08-23 03:39:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":49,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583658752001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787436468000,"timestamp_ms":1787436468000,"timestamp_seconds":1787436468,"priority":1,"record_length":96,"hex_timestamp":"000001a02b840720"} 
[2026-08-23 03:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583658752001,"66":25201,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583658752001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:39:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:39:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583658752001,"power":25201,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":161410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:39:53] local.INFO: GPS data processed {"connection_id":161410,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:39:53] local.INFO: Acknowledgment sent {"connection_id":161410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:40:24] local.INFO: TCP Data received {"connection_id":161410,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:40:24] local.INFO: Processing buffer {"connection_id":161410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:40:24] local.INFO: Packet analysis {"connection_id":161410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b84"} 
[2026-08-23 03:40:24] local.INFO: Extracted packet for processing {"connection_id":161410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b84"} 
[2026-08-23 03:40:24] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":49,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583658752001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787436468000,"timestamp_ms":1787436468000,"timestamp_seconds":1787436468,"priority":1,"record_length":96,"hex_timestamp":"000001a02b840720"} 
[2026-08-23 03:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:40: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-08-23 03:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583658752001,"66":25201,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583658752001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:40:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:40:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583658752001,"power":25201,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":161410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:40:24] local.INFO: GPS data processed {"connection_id":161410,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:40:24] local.INFO: Acknowledgment sent {"connection_id":161410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:40:47] local.INFO: TCP Data received {"connection_id":160254,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:40:47] local.INFO: Processing buffer {"connection_id":160254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:40:47] local.INFO: IMEI packet received {"connection_id":160254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":160254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:40:52] local.INFO: TCP Data received {"connection_id":160254,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:40:52] local.INFO: Processing buffer {"connection_id":160254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:40:52] local.INFO: IMEI packet received {"connection_id":160254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":160254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:40:54] local.INFO: TCP Data received {"connection_id":160254,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:40:54] local.INFO: Processing buffer {"connection_id":160254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:40:54] local.INFO: Packet analysis {"connection_id":160254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b84"} 
[2026-08-23 03:40:54] local.INFO: Extracted packet for processing {"connection_id":160254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b84"} 
[2026-08-23 03:40:54] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":49,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583658752001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787436468000,"timestamp_ms":1787436468000,"timestamp_seconds":1787436468,"priority":1,"record_length":96,"hex_timestamp":"000001a02b840720"} 
[2026-08-23 03:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583658752001,"66":25201,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583658752001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:40:54] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:40:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583658752001,"power":25201,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":160254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:40:54] local.INFO: GPS data processed {"connection_id":160254,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:40:54] local.INFO: Acknowledgment sent {"connection_id":160254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:41:25] local.INFO: TCP Data received {"connection_id":160254,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:41:25] local.INFO: Processing buffer {"connection_id":160254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:41:25] local.INFO: Packet analysis {"connection_id":160254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b84"} 
[2026-08-23 03:41:25] local.INFO: Extracted packet for processing {"connection_id":160254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b84"} 
[2026-08-23 03:41:25] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":49,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583658752001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787436468000,"timestamp_ms":1787436468000,"timestamp_seconds":1787436468,"priority":1,"record_length":96,"hex_timestamp":"000001a02b840720"} 
[2026-08-23 03:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583658752001,"66":25201,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583658752001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:41:25] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:41:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583658752001,"power":25201,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":160254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:41:25] local.INFO: GPS data processed {"connection_id":160254,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:41:25] local.INFO: Acknowledgment sent {"connection_id":160254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:41:52] local.INFO: TCP Data received {"connection_id":161411,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:41:52] local.INFO: Processing buffer {"connection_id":161411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:41:52] local.INFO: IMEI packet received {"connection_id":161411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":161411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:41:57] local.INFO: TCP Data received {"connection_id":161411,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:41:57] local.INFO: Processing buffer {"connection_id":161411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:41:57] local.INFO: IMEI packet received {"connection_id":161411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":161411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:42:00] local.INFO: TCP Data received {"connection_id":161411,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:42:00] local.INFO: Processing buffer {"connection_id":161411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:42:00] local.INFO: Packet analysis {"connection_id":161411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b84"} 
[2026-08-23 03:42:00] local.INFO: Extracted packet for processing {"connection_id":161411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b84"} 
[2026-08-23 03:42:00] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":49,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583658752001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787436468000,"timestamp_ms":1787436468000,"timestamp_seconds":1787436468,"priority":1,"record_length":96,"hex_timestamp":"000001a02b840720"} 
[2026-08-23 03:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583658752001,"66":25201,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583658752001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:42:00] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:42:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583658752001,"power":25201,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":161411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:42:00] local.INFO: GPS data processed {"connection_id":161411,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:42:00] local.INFO: Acknowledgment sent {"connection_id":161411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:42:03] local.INFO: TCP Data received {"connection_id":161411,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:42:03] local.INFO: Processing buffer {"connection_id":161411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:42:03] local.INFO: Packet analysis {"connection_id":161411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b84"} 
[2026-08-23 03:42:03] local.INFO: Extracted packet for processing {"connection_id":161411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b84"} 
[2026-08-23 03:42:03] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":49,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583658752001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787436468000,"timestamp_ms":1787436468000,"timestamp_seconds":1787436468,"priority":1,"record_length":96,"hex_timestamp":"000001a02b840720"} 
[2026-08-23 03:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:42: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-08-23 03:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583658752001,"66":25201,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583658752001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:42:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:42:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583658752001,"power":25201,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":161411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:42:03] local.INFO: GPS data processed {"connection_id":161411,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:42:03] local.INFO: Acknowledgment sent {"connection_id":161411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:42:47] local.INFO: TCP Data received {"connection_id":162830,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:42:47] local.INFO: Processing buffer {"connection_id":162830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:42:47] local.INFO: IMEI packet received {"connection_id":162830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":162830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:42:52] local.INFO: TCP Data received {"connection_id":162830,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:42:52] local.INFO: Processing buffer {"connection_id":162830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:42:52] local.INFO: IMEI packet received {"connection_id":162830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":162830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:42:53] local.INFO: TCP Data received {"connection_id":162830,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:42:53] local.INFO: Processing buffer {"connection_id":162830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:42:53] local.INFO: Packet analysis {"connection_id":162830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b84"} 
[2026-08-23 03:42:53] local.INFO: Extracted packet for processing {"connection_id":162830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b84"} 
[2026-08-23 03:42:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":49,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583658752001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787436468000,"timestamp_ms":1787436468000,"timestamp_seconds":1787436468,"priority":1,"record_length":96,"hex_timestamp":"000001a02b840720"} 
[2026-08-23 03:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583658752001,"66":25201,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583658752001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:42:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:42:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583658752001,"power":25201,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":162830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:42:53] local.INFO: GPS data processed {"connection_id":162830,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:42:53] local.INFO: Acknowledgment sent {"connection_id":162830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:43:24] local.INFO: TCP Data received {"connection_id":162830,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:43:24] local.INFO: Processing buffer {"connection_id":162830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b840720012d528a800679aed80055001131..."} 
[2026-08-23 03:43:24] local.INFO: Packet analysis {"connection_id":162830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b84"} 
[2026-08-23 03:43:24] local.INFO: Extracted packet for processing {"connection_id":162830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b84"} 
[2026-08-23 03:43:24] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":49,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583658752001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787436468000,"timestamp_ms":1787436468000,"timestamp_seconds":1787436468,"priority":1,"record_length":96,"hex_timestamp":"000001a02b840720"} 
[2026-08-23 03:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:43: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-08-23 03:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 03:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583658752001,"66":25201,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583658752001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:43:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:43:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583658752001,"power":25201,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":162830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:43:24] local.INFO: GPS data processed {"connection_id":162830,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:43:24] local.INFO: Acknowledgment sent {"connection_id":162830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:43:48] local.INFO: TCP Data received {"connection_id":160448,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:43:48] local.INFO: Processing buffer {"connection_id":160448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:43:48] local.INFO: IMEI packet received {"connection_id":160448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":160448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:43:52] local.INFO: TCP Data received {"connection_id":160448,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:43:52] local.INFO: Processing buffer {"connection_id":160448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:43:52] local.INFO: IMEI packet received {"connection_id":160448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":160448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:43:53] local.INFO: TCP Data received {"connection_id":160448,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:43:53] local.INFO: Processing buffer {"connection_id":160448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:43:53] local.INFO: Packet analysis {"connection_id":160448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b88"} 
[2026-08-23 03:43:53] local.INFO: Extracted packet for processing {"connection_id":160448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b88"} 
[2026-08-23 03:43:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":53,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583735808001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787436769000,"timestamp_ms":1787436769000,"timestamp_seconds":1787436769,"priority":1,"record_length":96,"hex_timestamp":"000001a02b889ee8"} 
[2026-08-23 03:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 03:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583735808001,"66":25288,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583735808001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:43:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:43:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583735808001,"power":25288,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":160448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:43:53] local.INFO: GPS data processed {"connection_id":160448,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:43:53] local.INFO: Acknowledgment sent {"connection_id":160448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:44:24] local.INFO: TCP Data received {"connection_id":160448,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:44:24] local.INFO: Processing buffer {"connection_id":160448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:44:24] local.INFO: Packet analysis {"connection_id":160448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b88"} 
[2026-08-23 03:44:24] local.INFO: Extracted packet for processing {"connection_id":160448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b88"} 
[2026-08-23 03:44:24] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":53,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583735808001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787436769000,"timestamp_ms":1787436769000,"timestamp_seconds":1787436769,"priority":1,"record_length":96,"hex_timestamp":"000001a02b889ee8"} 
[2026-08-23 03:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:44: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-08-23 03:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 03:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583735808001,"66":25288,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583735808001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:44:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:44:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583735808001,"power":25288,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":160448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:44:24] local.INFO: GPS data processed {"connection_id":160448,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:44:24] local.INFO: Acknowledgment sent {"connection_id":160448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:44:47] local.INFO: TCP Data received {"connection_id":162831,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:44:47] local.INFO: Processing buffer {"connection_id":162831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:44:47] local.INFO: IMEI packet received {"connection_id":162831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":162831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:44:52] local.INFO: TCP Data received {"connection_id":162831,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:44:52] local.INFO: Processing buffer {"connection_id":162831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:44:52] local.INFO: IMEI packet received {"connection_id":162831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":162831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:44:53] local.INFO: TCP Data received {"connection_id":162831,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:44:53] local.INFO: Processing buffer {"connection_id":162831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:44:53] local.INFO: Packet analysis {"connection_id":162831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b88"} 
[2026-08-23 03:44:53] local.INFO: Extracted packet for processing {"connection_id":162831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b88"} 
[2026-08-23 03:44:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":53,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:44: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-08-23 03:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583735808001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787436769000,"timestamp_ms":1787436769000,"timestamp_seconds":1787436769,"priority":1,"record_length":96,"hex_timestamp":"000001a02b889ee8"} 
[2026-08-23 03:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:44: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 03:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:44: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-08-23 03:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583735808001,"66":25288,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583735808001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:44:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:44:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583735808001,"power":25288,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":162831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:44:53] local.INFO: GPS data processed {"connection_id":162831,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:44:53] local.INFO: Acknowledgment sent {"connection_id":162831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:45:24] local.INFO: TCP Data received {"connection_id":162831,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:45:24] local.INFO: Processing buffer {"connection_id":162831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:45:24] local.INFO: Packet analysis {"connection_id":162831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b88"} 
[2026-08-23 03:45:24] local.INFO: Extracted packet for processing {"connection_id":162831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b88"} 
[2026-08-23 03:45:24] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":53,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583735808001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787436769000,"timestamp_ms":1787436769000,"timestamp_seconds":1787436769,"priority":1,"record_length":96,"hex_timestamp":"000001a02b889ee8"} 
[2026-08-23 03:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:45: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-08-23 03:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 03:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583735808001,"66":25288,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583735808001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:45:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:45:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583735808001,"power":25288,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":162831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:45:24] local.INFO: GPS data processed {"connection_id":162831,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:45:24] local.INFO: Acknowledgment sent {"connection_id":162831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:45:47] local.INFO: TCP Data received {"connection_id":160255,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:45:47] local.INFO: Processing buffer {"connection_id":160255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:45:47] local.INFO: IMEI packet received {"connection_id":160255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":160255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:45:52] local.INFO: TCP Data received {"connection_id":160255,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:45:52] local.INFO: Processing buffer {"connection_id":160255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:45:52] local.INFO: IMEI packet received {"connection_id":160255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":160255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:45:53] local.INFO: TCP Data received {"connection_id":160255,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:45:53] local.INFO: Processing buffer {"connection_id":160255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:45:53] local.INFO: Packet analysis {"connection_id":160255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b88"} 
[2026-08-23 03:45:53] local.INFO: Extracted packet for processing {"connection_id":160255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b88"} 
[2026-08-23 03:45:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":53,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:45: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-08-23 03:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583735808001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787436769000,"timestamp_ms":1787436769000,"timestamp_seconds":1787436769,"priority":1,"record_length":96,"hex_timestamp":"000001a02b889ee8"} 
[2026-08-23 03:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:45: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 03:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:45: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-08-23 03:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583735808001,"66":25288,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583735808001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:45:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:45:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583735808001,"power":25288,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":160255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:45:53] local.INFO: GPS data processed {"connection_id":160255,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:45:53] local.INFO: Acknowledgment sent {"connection_id":160255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:46:23] local.INFO: TCP Data received {"connection_id":160255,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:46:23] local.INFO: Processing buffer {"connection_id":160255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:46:23] local.INFO: Packet analysis {"connection_id":160255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b88"} 
[2026-08-23 03:46:23] local.INFO: Extracted packet for processing {"connection_id":160255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b88"} 
[2026-08-23 03:46:23] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":53,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583735808001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787436769000,"timestamp_ms":1787436769000,"timestamp_seconds":1787436769,"priority":1,"record_length":96,"hex_timestamp":"000001a02b889ee8"} 
[2026-08-23 03:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:46: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-08-23 03:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 03:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583735808001,"66":25288,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583735808001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:46:23] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:46:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583735808001,"power":25288,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":160255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:46:23] local.INFO: GPS data processed {"connection_id":160255,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:46:23] local.INFO: Acknowledgment sent {"connection_id":160255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:46:52] local.INFO: TCP Data received {"connection_id":160449,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:46:52] local.INFO: Processing buffer {"connection_id":160449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:46:52] local.INFO: IMEI packet received {"connection_id":160449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":160449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:46:57] local.INFO: TCP Data received {"connection_id":160449,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:46:57] local.INFO: Processing buffer {"connection_id":160449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:46:57] local.INFO: IMEI packet received {"connection_id":160449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":160449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:46:58] local.INFO: TCP Data received {"connection_id":160449,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:46:58] local.INFO: Processing buffer {"connection_id":160449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:46:58] local.INFO: Packet analysis {"connection_id":160449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b88"} 
[2026-08-23 03:46:58] local.INFO: Extracted packet for processing {"connection_id":160449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b88"} 
[2026-08-23 03:46:58] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":53,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583735808001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787436769000,"timestamp_ms":1787436769000,"timestamp_seconds":1787436769,"priority":1,"record_length":96,"hex_timestamp":"000001a02b889ee8"} 
[2026-08-23 03:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:46: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-08-23 03:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 03:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583735808001,"66":25288,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583735808001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:46:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:46:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583735808001,"power":25288,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":160449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:46:58] local.INFO: GPS data processed {"connection_id":160449,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:46:58] local.INFO: Acknowledgment sent {"connection_id":160449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:47:29] local.INFO: TCP Data received {"connection_id":160449,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:47:29] local.INFO: Processing buffer {"connection_id":160449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:47:29] local.INFO: Packet analysis {"connection_id":160449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b88"} 
[2026-08-23 03:47:29] local.INFO: Extracted packet for processing {"connection_id":160449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b88"} 
[2026-08-23 03:47:29] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":53,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583735808001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787436769000,"timestamp_ms":1787436769000,"timestamp_seconds":1787436769,"priority":1,"record_length":96,"hex_timestamp":"000001a02b889ee8"} 
[2026-08-23 03:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:47: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-08-23 03: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 03:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583735808001,"66":25288,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583735808001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:47:29] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:47:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583735808001,"power":25288,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":160449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:47:29] local.INFO: GPS data processed {"connection_id":160449,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:47:29] local.INFO: Acknowledgment sent {"connection_id":160449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:47:47] local.INFO: TCP Data received {"connection_id":160450,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:47:47] local.INFO: Processing buffer {"connection_id":160450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:47:47] local.INFO: IMEI packet received {"connection_id":160450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":160450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:47:52] local.INFO: TCP Data received {"connection_id":160450,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:47:52] local.INFO: Processing buffer {"connection_id":160450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:47:52] local.INFO: IMEI packet received {"connection_id":160450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":160450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:47:53] local.INFO: TCP Data received {"connection_id":160450,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:47:53] local.INFO: Processing buffer {"connection_id":160450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:47:53] local.INFO: Packet analysis {"connection_id":160450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b88"} 
[2026-08-23 03:47:53] local.INFO: Extracted packet for processing {"connection_id":160450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b88"} 
[2026-08-23 03:47:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":53,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583735808001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787436769000,"timestamp_ms":1787436769000,"timestamp_seconds":1787436769,"priority":1,"record_length":96,"hex_timestamp":"000001a02b889ee8"} 
[2026-08-23 03:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 03:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583735808001,"66":25288,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583735808001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:47:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:47:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583735808001,"power":25288,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":160450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:47:53] local.INFO: GPS data processed {"connection_id":160450,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:47:53] local.INFO: Acknowledgment sent {"connection_id":160450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:48:23] local.INFO: TCP Data received {"connection_id":160450,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:48:24] local.INFO: Processing buffer {"connection_id":160450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b889ee8012d528a800679aed80055001135..."} 
[2026-08-23 03:48:24] local.INFO: Packet analysis {"connection_id":160450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b88"} 
[2026-08-23 03:48:24] local.INFO: Extracted packet for processing {"connection_id":160450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b88"} 
[2026-08-23 03:48:24] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":53,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583735808001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787436769000,"timestamp_ms":1787436769000,"timestamp_seconds":1787436769,"priority":1,"record_length":96,"hex_timestamp":"000001a02b889ee8"} 
[2026-08-23 03:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:48: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-08-23 03: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 03:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03: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-08-23 03:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583735808001,"66":25288,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583735808001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:48:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:48:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583735808001,"power":25288,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":160450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:48:24] local.INFO: GPS data processed {"connection_id":160450,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:48:24] local.INFO: Acknowledgment sent {"connection_id":160450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:48:47] local.INFO: TCP Data received {"connection_id":160256,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:48:47] local.INFO: Processing buffer {"connection_id":160256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:48:47] local.INFO: IMEI packet received {"connection_id":160256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":160256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:48:52] local.INFO: TCP Data received {"connection_id":160256,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:48:52] local.INFO: Processing buffer {"connection_id":160256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:48:52] local.INFO: IMEI packet received {"connection_id":160256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":160256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:48:53] local.INFO: TCP Data received {"connection_id":160256,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:48:53] local.INFO: Processing buffer {"connection_id":160256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:48:53] local.INFO: Packet analysis {"connection_id":160256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b8d"} 
[2026-08-23 03:48:53] local.INFO: Extracted packet for processing {"connection_id":160256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b8d"} 
[2026-08-23 03:48:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":54,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583812864001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787437070000,"timestamp_ms":1787437070000,"timestamp_seconds":1787437070,"priority":1,"record_length":96,"hex_timestamp":"000001a02b8d36b0"} 
[2026-08-23 03:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 03:48:53] 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-08-23 03:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583812864001,"66":25223,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583812864001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:48:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:48:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583812864001,"power":25223,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":160256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:48:53] local.INFO: GPS data processed {"connection_id":160256,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:48:53] local.INFO: Acknowledgment sent {"connection_id":160256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:49:24] local.INFO: TCP Data received {"connection_id":160256,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:49:24] local.INFO: Processing buffer {"connection_id":160256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:49:24] local.INFO: Packet analysis {"connection_id":160256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b8d"} 
[2026-08-23 03:49:24] local.INFO: Extracted packet for processing {"connection_id":160256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b8d"} 
[2026-08-23 03:49:24] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":54,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:49: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-08-23 03:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583812864001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787437070000,"timestamp_ms":1787437070000,"timestamp_seconds":1787437070,"priority":1,"record_length":96,"hex_timestamp":"000001a02b8d36b0"} 
[2026-08-23 03:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:49: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-08-23 03:49: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":200,"data_length":795,"current_offset":136} 
[2026-08-23 03:49:24] 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-08-23 03:49: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-08-23 03:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583812864001,"66":25223,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583812864001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:49:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:49:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583812864001,"power":25223,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":160256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:49:24] local.INFO: GPS data processed {"connection_id":160256,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:49:24] local.INFO: Acknowledgment sent {"connection_id":160256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:49:47] local.INFO: TCP Data received {"connection_id":161412,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:49:47] local.INFO: Processing buffer {"connection_id":161412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:49:47] local.INFO: IMEI packet received {"connection_id":161412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":161412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:49:52] local.INFO: TCP Data received {"connection_id":161412,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:49:52] local.INFO: Processing buffer {"connection_id":161412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:49:52] local.INFO: IMEI packet received {"connection_id":161412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":161412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:49:53] local.INFO: TCP Data received {"connection_id":161412,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:49:53] local.INFO: Processing buffer {"connection_id":161412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:49:53] local.INFO: Packet analysis {"connection_id":161412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b8d"} 
[2026-08-23 03:49:53] local.INFO: Extracted packet for processing {"connection_id":161412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b8d"} 
[2026-08-23 03:49:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":54,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583812864001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787437070000,"timestamp_ms":1787437070000,"timestamp_seconds":1787437070,"priority":1,"record_length":96,"hex_timestamp":"000001a02b8d36b0"} 
[2026-08-23 03:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 03:49:53] 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-08-23 03:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583812864001,"66":25223,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583812864001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:49:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:49:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583812864001,"power":25223,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":161412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:49:53] local.INFO: GPS data processed {"connection_id":161412,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:49:53] local.INFO: Acknowledgment sent {"connection_id":161412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:50:24] local.INFO: TCP Data received {"connection_id":161412,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:50:24] local.INFO: Processing buffer {"connection_id":161412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:50:24] local.INFO: Packet analysis {"connection_id":161412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b8d"} 
[2026-08-23 03:50:24] local.INFO: Extracted packet for processing {"connection_id":161412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b8d"} 
[2026-08-23 03:50:24] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":54,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583812864001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787437070000,"timestamp_ms":1787437070000,"timestamp_seconds":1787437070,"priority":1,"record_length":96,"hex_timestamp":"000001a02b8d36b0"} 
[2026-08-23 03:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:50: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-08-23 03:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 03:50:24] 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-08-23 03:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583812864001,"66":25223,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583812864001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:50:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:50:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583812864001,"power":25223,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":161412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:50:24] local.INFO: GPS data processed {"connection_id":161412,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:50:24] local.INFO: Acknowledgment sent {"connection_id":161412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:50:47] local.INFO: TCP Data received {"connection_id":160257,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:50:47] local.INFO: Processing buffer {"connection_id":160257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:50:47] local.INFO: IMEI packet received {"connection_id":160257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":160257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:50:52] local.INFO: TCP Data received {"connection_id":160257,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:50:52] local.INFO: Processing buffer {"connection_id":160257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:50:52] local.INFO: IMEI packet received {"connection_id":160257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":160257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:50:53] local.INFO: TCP Data received {"connection_id":160257,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:50:53] local.INFO: Processing buffer {"connection_id":160257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:50:53] local.INFO: Packet analysis {"connection_id":160257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b8d"} 
[2026-08-23 03:50:53] local.INFO: Extracted packet for processing {"connection_id":160257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b8d"} 
[2026-08-23 03:50:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":54,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583812864001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787437070000,"timestamp_ms":1787437070000,"timestamp_seconds":1787437070,"priority":1,"record_length":96,"hex_timestamp":"000001a02b8d36b0"} 
[2026-08-23 03:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 03:50:53] 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-08-23 03:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583812864001,"66":25223,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583812864001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:50:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:50:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583812864001,"power":25223,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":160257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:50:53] local.INFO: GPS data processed {"connection_id":160257,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:50:53] local.INFO: Acknowledgment sent {"connection_id":160257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:51:24] local.INFO: TCP Data received {"connection_id":160257,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:51:24] local.INFO: Processing buffer {"connection_id":160257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:51:24] local.INFO: Packet analysis {"connection_id":160257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b8d"} 
[2026-08-23 03:51:24] local.INFO: Extracted packet for processing {"connection_id":160257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b8d"} 
[2026-08-23 03:51:24] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":54,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583812864001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787437070000,"timestamp_ms":1787437070000,"timestamp_seconds":1787437070,"priority":1,"record_length":96,"hex_timestamp":"000001a02b8d36b0"} 
[2026-08-23 03:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:51: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-08-23 03:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 03:51:24] 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-08-23 03:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583812864001,"66":25223,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583812864001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:51:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:51:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583812864001,"power":25223,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":160257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:51:24] local.INFO: GPS data processed {"connection_id":160257,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:51:24] local.INFO: Acknowledgment sent {"connection_id":160257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:51:52] local.INFO: TCP Data received {"connection_id":162832,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:51:52] local.INFO: Processing buffer {"connection_id":162832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:51:52] local.INFO: IMEI packet received {"connection_id":162832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":162832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:51:57] local.INFO: TCP Data received {"connection_id":162832,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:51:57] local.INFO: Processing buffer {"connection_id":162832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:51:57] local.INFO: IMEI packet received {"connection_id":162832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":162832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:51:58] local.INFO: TCP Data received {"connection_id":162832,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:51:58] local.INFO: Processing buffer {"connection_id":162832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:51:58] local.INFO: Packet analysis {"connection_id":162832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b8d"} 
[2026-08-23 03:51:58] local.INFO: Extracted packet for processing {"connection_id":162832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b8d"} 
[2026-08-23 03:51:58] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":54,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583812864001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787437070000,"timestamp_ms":1787437070000,"timestamp_seconds":1787437070,"priority":1,"record_length":96,"hex_timestamp":"000001a02b8d36b0"} 
[2026-08-23 03:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 03:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583812864001,"66":25223,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583812864001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:51:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:51:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583812864001,"power":25223,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":162832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:51:58] local.INFO: GPS data processed {"connection_id":162832,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:51:58] local.INFO: Acknowledgment sent {"connection_id":162832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:52:02] local.INFO: TCP Data received {"connection_id":162832,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:52:02] local.INFO: Processing buffer {"connection_id":162832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:52:02] local.INFO: Packet analysis {"connection_id":162832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b8d"} 
[2026-08-23 03:52:02] local.INFO: Extracted packet for processing {"connection_id":162832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b8d"} 
[2026-08-23 03:52:02] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":54,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583812864001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787437070000,"timestamp_ms":1787437070000,"timestamp_seconds":1787437070,"priority":1,"record_length":96,"hex_timestamp":"000001a02b8d36b0"} 
[2026-08-23 03:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 03:52:02] 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-08-23 03:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583812864001,"66":25223,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583812864001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:52:02] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:52:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583812864001,"power":25223,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":162832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:52:02] local.INFO: GPS data processed {"connection_id":162832,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:52:02] local.INFO: Acknowledgment sent {"connection_id":162832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:52:47] local.INFO: TCP Data received {"connection_id":160451,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:52:47] local.INFO: Processing buffer {"connection_id":160451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:52:47] local.INFO: IMEI packet received {"connection_id":160451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":160451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:52:52] local.INFO: TCP Data received {"connection_id":160451,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:52:52] local.INFO: Processing buffer {"connection_id":160451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:52:52] local.INFO: IMEI packet received {"connection_id":160451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":160451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:52:53] local.INFO: TCP Data received {"connection_id":160451,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:52:53] local.INFO: Processing buffer {"connection_id":160451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:52:53] local.INFO: Packet analysis {"connection_id":160451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b8d"} 
[2026-08-23 03:52:53] local.INFO: Extracted packet for processing {"connection_id":160451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b8d"} 
[2026-08-23 03:52:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":54,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583812864001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787437070000,"timestamp_ms":1787437070000,"timestamp_seconds":1787437070,"priority":1,"record_length":96,"hex_timestamp":"000001a02b8d36b0"} 
[2026-08-23 03:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 03:52:53] 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-08-23 03:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583812864001,"66":25223,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583812864001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:52:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:52:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583812864001,"power":25223,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":160451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:52:53] local.INFO: GPS data processed {"connection_id":160451,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:52:53] local.INFO: Acknowledgment sent {"connection_id":160451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:53:25] local.INFO: TCP Data received {"connection_id":160451,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:53:25] local.INFO: Processing buffer {"connection_id":160451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b8d36b0012d528a800679aed80055001136..."} 
[2026-08-23 03:53:25] local.INFO: Packet analysis {"connection_id":160451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b8d"} 
[2026-08-23 03:53:25] local.INFO: Extracted packet for processing {"connection_id":160451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b8d"} 
[2026-08-23 03:53:25] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":54,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583812864001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787437070000,"timestamp_ms":1787437070000,"timestamp_seconds":1787437070,"priority":1,"record_length":96,"hex_timestamp":"000001a02b8d36b0"} 
[2026-08-23 03:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 03:53:25] 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-08-23 03:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583812864001,"66":25223,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583812864001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:53:25] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:53:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583812864001,"power":25223,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":160451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:53:25] local.INFO: GPS data processed {"connection_id":160451,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:53:25] local.INFO: Acknowledgment sent {"connection_id":160451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:53:47] local.INFO: TCP Data received {"connection_id":160258,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:53:47] local.INFO: Processing buffer {"connection_id":160258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:53:47] local.INFO: IMEI packet received {"connection_id":160258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":160258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:53:52] local.INFO: TCP Data received {"connection_id":160258,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:53:52] local.INFO: Processing buffer {"connection_id":160258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:53:52] local.INFO: IMEI packet received {"connection_id":160258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":160258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:53:53] local.INFO: TCP Data received {"connection_id":160258,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:53:53] local.INFO: Processing buffer {"connection_id":160258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:53:53] local.INFO: Packet analysis {"connection_id":160258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b91"} 
[2026-08-23 03:53:53] local.INFO: Extracted packet for processing {"connection_id":160258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b91"} 
[2026-08-23 03:53:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583889920001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787437371000,"timestamp_ms":1787437371000,"timestamp_seconds":1787437371,"priority":1,"record_length":96,"hex_timestamp":"000001a02b91ce78"} 
[2026-08-23 03:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 03:53:53] 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-08-23 03: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-08-23 03:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583889920001,"66":25223,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583889920001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:53:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:53:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583889920001,"power":25223,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":160258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:53:53] local.INFO: GPS data processed {"connection_id":160258,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:53:53] local.INFO: Acknowledgment sent {"connection_id":160258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:54:24] local.INFO: TCP Data received {"connection_id":160258,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:54:24] local.INFO: Processing buffer {"connection_id":160258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:54:24] local.INFO: Packet analysis {"connection_id":160258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b91"} 
[2026-08-23 03:54:24] local.INFO: Extracted packet for processing {"connection_id":160258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b91"} 
[2026-08-23 03:54:24] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583889920001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787437371000,"timestamp_ms":1787437371000,"timestamp_seconds":1787437371,"priority":1,"record_length":96,"hex_timestamp":"000001a02b91ce78"} 
[2026-08-23 03:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:54: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-08-23 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 03:54:24] 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-08-23 03: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-08-23 03:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583889920001,"66":25223,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583889920001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:54:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:54:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583889920001,"power":25223,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":160258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:54:24] local.INFO: GPS data processed {"connection_id":160258,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:54:24] local.INFO: Acknowledgment sent {"connection_id":160258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:54:52] local.INFO: TCP Data received {"connection_id":161413,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:54:52] local.INFO: Processing buffer {"connection_id":161413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:54:52] local.INFO: IMEI packet received {"connection_id":161413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":161413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:54:57] local.INFO: TCP Data received {"connection_id":161413,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:54:57] local.INFO: Processing buffer {"connection_id":161413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:54:57] local.INFO: IMEI packet received {"connection_id":161413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":161413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:54:58] local.INFO: TCP Data received {"connection_id":161413,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:54:58] local.INFO: Processing buffer {"connection_id":161413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:54:58] local.INFO: Packet analysis {"connection_id":161413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b91"} 
[2026-08-23 03:54:58] local.INFO: Extracted packet for processing {"connection_id":161413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b91"} 
[2026-08-23 03:54:58] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583889920001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787437371000,"timestamp_ms":1787437371000,"timestamp_seconds":1787437371,"priority":1,"record_length":96,"hex_timestamp":"000001a02b91ce78"} 
[2026-08-23 03:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:54: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-08-23 03:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 03:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583889920001,"66":25223,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583889920001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:54:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:54:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583889920001,"power":25223,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":161413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:54:58] local.INFO: GPS data processed {"connection_id":161413,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:54:58] local.INFO: Acknowledgment sent {"connection_id":161413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:55:02] local.INFO: TCP Data received {"connection_id":161413,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:55:02] local.INFO: Processing buffer {"connection_id":161413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:55:02] local.INFO: Packet analysis {"connection_id":161413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b91"} 
[2026-08-23 03:55:02] local.INFO: Extracted packet for processing {"connection_id":161413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b91"} 
[2026-08-23 03:55:02] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583889920001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787437371000,"timestamp_ms":1787437371000,"timestamp_seconds":1787437371,"priority":1,"record_length":96,"hex_timestamp":"000001a02b91ce78"} 
[2026-08-23 03:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 03:55:02] 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-08-23 03:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583889920001,"66":25223,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583889920001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:55:02] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:55:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583889920001,"power":25223,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":161413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:55:02] local.INFO: GPS data processed {"connection_id":161413,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:55:02] local.INFO: Acknowledgment sent {"connection_id":161413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:55:47] local.INFO: TCP Data received {"connection_id":162833,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:55:47] local.INFO: Processing buffer {"connection_id":162833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:55:47] local.INFO: IMEI packet received {"connection_id":162833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":162833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:55:52] local.INFO: TCP Data received {"connection_id":162833,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:55:52] local.INFO: Processing buffer {"connection_id":162833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:55:52] local.INFO: IMEI packet received {"connection_id":162833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":162833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:55:53] local.INFO: TCP Data received {"connection_id":162833,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:55:53] local.INFO: Processing buffer {"connection_id":162833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:55:53] local.INFO: Packet analysis {"connection_id":162833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b91"} 
[2026-08-23 03:55:53] local.INFO: Extracted packet for processing {"connection_id":162833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b91"} 
[2026-08-23 03:55:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:55: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-08-23 03:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583889920001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787437371000,"timestamp_ms":1787437371000,"timestamp_seconds":1787437371,"priority":1,"record_length":96,"hex_timestamp":"000001a02b91ce78"} 
[2026-08-23 03:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:55: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 03:55:53] 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-08-23 03:55: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-08-23 03:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583889920001,"66":25223,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583889920001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:55:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:55:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583889920001,"power":25223,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":162833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:55:53] local.INFO: GPS data processed {"connection_id":162833,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:55:53] local.INFO: Acknowledgment sent {"connection_id":162833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:55:57] local.INFO: TCP Data received {"connection_id":162833,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:55:57] local.INFO: Processing buffer {"connection_id":162833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:55:57] local.INFO: Packet analysis {"connection_id":162833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b91"} 
[2026-08-23 03:55:57] local.INFO: Extracted packet for processing {"connection_id":162833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b91"} 
[2026-08-23 03:55:57] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583889920001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787437371000,"timestamp_ms":1787437371000,"timestamp_seconds":1787437371,"priority":1,"record_length":96,"hex_timestamp":"000001a02b91ce78"} 
[2026-08-23 03:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 03:55:57] 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-08-23 03:55:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583889920001,"66":25223,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583889920001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:55:57] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:55:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583889920001,"power":25223,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":162833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:55:57] local.INFO: GPS data processed {"connection_id":162833,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:55:57] local.INFO: Acknowledgment sent {"connection_id":162833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:56:28] local.INFO: TCP Data received {"connection_id":162833,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:56:28] local.INFO: Processing buffer {"connection_id":162833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:56:28] local.INFO: Packet analysis {"connection_id":162833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b91"} 
[2026-08-23 03:56:28] local.INFO: Extracted packet for processing {"connection_id":162833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b91"} 
[2026-08-23 03:56:28] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583889920001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787437371000,"timestamp_ms":1787437371000,"timestamp_seconds":1787437371,"priority":1,"record_length":96,"hex_timestamp":"000001a02b91ce78"} 
[2026-08-23 03:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 03:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583889920001,"66":25223,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583889920001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:56:28] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:56:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583889920001,"power":25223,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":162833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:56:28] local.INFO: GPS data processed {"connection_id":162833,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:56:28] local.INFO: Acknowledgment sent {"connection_id":162833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:56:47] local.INFO: TCP Data received {"connection_id":162834,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:56:47] local.INFO: Processing buffer {"connection_id":162834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:56:47] local.INFO: IMEI packet received {"connection_id":162834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":162834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:56:52] local.INFO: TCP Data received {"connection_id":162834,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:56:52] local.INFO: Processing buffer {"connection_id":162834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:56:52] local.INFO: IMEI packet received {"connection_id":162834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":162834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:56:53] local.INFO: TCP Data received {"connection_id":162834,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:56:53] local.INFO: Processing buffer {"connection_id":162834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:56:53] local.INFO: Packet analysis {"connection_id":162834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b91"} 
[2026-08-23 03:56:53] local.INFO: Extracted packet for processing {"connection_id":162834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b91"} 
[2026-08-23 03:56:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583889920001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787437371000,"timestamp_ms":1787437371000,"timestamp_seconds":1787437371,"priority":1,"record_length":96,"hex_timestamp":"000001a02b91ce78"} 
[2026-08-23 03:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 03:56:53] 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-08-23 03:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583889920001,"66":25223,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583889920001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:56:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:56:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583889920001,"power":25223,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":162834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:56:53] local.INFO: GPS data processed {"connection_id":162834,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:56:53] local.INFO: Acknowledgment sent {"connection_id":162834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:57:25] local.INFO: TCP Data received {"connection_id":162834,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:57:25] local.INFO: Processing buffer {"connection_id":162834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:57:25] local.INFO: Packet analysis {"connection_id":162834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b91"} 
[2026-08-23 03:57:25] local.INFO: Extracted packet for processing {"connection_id":162834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b91"} 
[2026-08-23 03:57:25] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583889920001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787437371000,"timestamp_ms":1787437371000,"timestamp_seconds":1787437371,"priority":1,"record_length":96,"hex_timestamp":"000001a02b91ce78"} 
[2026-08-23 03:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 03:57:25] 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-08-23 03:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583889920001,"66":25223,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583889920001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:57:25] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:57:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583889920001,"power":25223,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":162834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:57:25] local.INFO: GPS data processed {"connection_id":162834,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:57:25] local.INFO: Acknowledgment sent {"connection_id":162834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:57:47] local.INFO: TCP Data received {"connection_id":161414,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:57:47] local.INFO: Processing buffer {"connection_id":161414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:57:47] local.INFO: IMEI packet received {"connection_id":161414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":161414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:57:52] local.INFO: TCP Data received {"connection_id":161414,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:57:52] local.INFO: Processing buffer {"connection_id":161414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:57:52] local.INFO: IMEI packet received {"connection_id":161414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":161414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:57:53] local.INFO: TCP Data received {"connection_id":161414,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:57:53] local.INFO: Processing buffer {"connection_id":161414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b91ce78012d528a800679aed80055001133..."} 
[2026-08-23 03:57:53] local.INFO: Packet analysis {"connection_id":161414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b91"} 
[2026-08-23 03:57:53] local.INFO: Extracted packet for processing {"connection_id":161414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b91"} 
[2026-08-23 03:57:53] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583889920001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787437371000,"timestamp_ms":1787437371000,"timestamp_seconds":1787437371,"priority":1,"record_length":96,"hex_timestamp":"000001a02b91ce78"} 
[2026-08-23 03:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 03:57:53] 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-08-23 03: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-08-23 03:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583889920001,"66":25223,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583889920001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:57:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:57:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583889920001,"power":25223,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":161414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:57:53] local.INFO: GPS data processed {"connection_id":161414,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:57:53] local.INFO: Acknowledgment sent {"connection_id":161414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:58:24] local.INFO: TCP Data received {"connection_id":161414,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b9623d8012d528a800679aed80055001132..."} 
[2026-08-23 03:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b9623d8012d528a800679aed80055001132..."} 
[2026-08-23 03:58:24] local.INFO: Processing buffer {"connection_id":161414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b9623d8012d528a800679aed80055001132..."} 
[2026-08-23 03:58:24] local.INFO: Packet analysis {"connection_id":161414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b96"} 
[2026-08-23 03:58:24] local.INFO: Extracted packet for processing {"connection_id":161414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b96"} 
[2026-08-23 03:58:24] local.INFO: GPS Element Parsed {"raw_longitude":760384128,"raw_latitude":108637912,"longitude_deg":76.0384128,"latitude_deg":10.8637912,"altitude":85,"angle":17,"satellites":50,"speed":0,"hex_longitude":"2d528a80","hex_latitude":"0679aed8","is_valid_coordinates":true} 
[2026-08-23 03:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457583966976001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787437655000,"timestamp_ms":1787437655000,"timestamp_seconds":1787437655,"priority":1,"record_length":96,"hex_timestamp":"000001a02b9623d8"} 
[2026-08-23 03:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:58: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-08-23 03:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 03:58:24] 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-08-23 03:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457583966976001,"66":25299,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457583966976001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:58:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:58:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457583966976001,"power":25299,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":161414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:58:24] local.INFO: GPS data processed {"connection_id":161414,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:58:24] local.INFO: Acknowledgment sent {"connection_id":161414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:58:47] local.INFO: TCP Data received {"connection_id":161415,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:58:47] local.INFO: Processing buffer {"connection_id":161415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:58:47] local.INFO: IMEI packet received {"connection_id":161415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":161415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:58:52] local.INFO: TCP Data received {"connection_id":161415,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:58:52] local.INFO: Processing buffer {"connection_id":161415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:58:52] local.INFO: IMEI packet received {"connection_id":161415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":161415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:58:53] local.INFO: TCP Data received {"connection_id":161415,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b968580012d528b800679af000055001133..."} 
[2026-08-23 03:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b968580012d528b800679af000055001133..."} 
[2026-08-23 03:58:53] local.INFO: Processing buffer {"connection_id":161415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b968580012d528b800679af000055001133..."} 
[2026-08-23 03:58:53] local.INFO: Packet analysis {"connection_id":161415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b96"} 
[2026-08-23 03:58:53] local.INFO: Extracted packet for processing {"connection_id":161415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b96"} 
[2026-08-23 03:58:53] local.INFO: GPS Element Parsed {"raw_longitude":760384384,"raw_latitude":108637952,"longitude_deg":76.0384384,"latitude_deg":10.8637952,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528b80","hex_latitude":"0679af00","is_valid_coordinates":true} 
[2026-08-23 03: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-08-23 03:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584039680001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947707023195822080,"note":"Value kept but may cause issues"} 
[2026-08-23 03:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787437680000,"timestamp_ms":1787437680000,"timestamp_seconds":1787437680,"priority":1,"record_length":96,"hex_timestamp":"000001a02b968580"} 
[2026-08-23 03:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:58:53] 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-08-23 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 03:58:53] 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-08-23 03: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-08-23 03:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584039680001,"66":27234,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947707023195822080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584039680001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:58:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:58:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947707023195822080,"description":"Unknown IO ID 45"} 
[2026-08-23 03:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584039680001,"power":27234,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947707023195822080}} 
[2026-08-23 03:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":161415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:58:53] local.INFO: GPS data processed {"connection_id":161415,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:58:53] local.INFO: Acknowledgment sent {"connection_id":161415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:59:27] local.INFO: TCP Data received {"connection_id":161415,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b96d788012d528b800679af000055001133..."} 
[2026-08-23 03:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b96d788012d528b800679af000055001133..."} 
[2026-08-23 03:59:27] local.INFO: Processing buffer {"connection_id":161415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b96d788012d528b800679af000055001133..."} 
[2026-08-23 03:59:27] local.INFO: Packet analysis {"connection_id":161415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b96"} 
[2026-08-23 03:59:27] local.INFO: Extracted packet for processing {"connection_id":161415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b96"} 
[2026-08-23 03:59:27] local.INFO: GPS Element Parsed {"raw_longitude":760384384,"raw_latitude":108637952,"longitude_deg":76.0384384,"latitude_deg":10.8637952,"altitude":85,"angle":17,"satellites":51,"speed":0,"hex_longitude":"2d528b80","hex_latitude":"0679af00","is_valid_coordinates":true} 
[2026-08-23 03:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584046080001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695375042150400,"note":"Value kept but may cause issues"} 
[2026-08-23 03:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947988498172542976,"note":"Value kept but may cause issues"} 
[2026-08-23 03:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787437701000,"timestamp_ms":1787437701000,"timestamp_seconds":1787437701,"priority":1,"record_length":96,"hex_timestamp":"000001a02b96d788"} 
[2026-08-23 03:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:59: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-08-23 03:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 03:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584046080001,"66":27267,"156":206,"80":60928,"24":0,"16":389695375042150400,"45":5947988498172542976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584046080001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:59:27] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:59:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695375042150400,"km_value":389695375042150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947988498172542976,"description":"Unknown IO ID 45"} 
[2026-08-23 03:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584046080001,"power":27267,"unknown_156":206,"unknown_80":60928,"ignition":0,"odometer":null,"unknown_45":5947988498172542976}} 
[2026-08-23 03:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":161415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:59:27] local.INFO: GPS data processed {"connection_id":161415,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:59:27] local.INFO: Acknowledgment sent {"connection_id":161415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 03:59:52] local.INFO: TCP Data received {"connection_id":160259,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:59:52] local.INFO: Processing buffer {"connection_id":160259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:59:52] local.INFO: IMEI packet received {"connection_id":160259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 03:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":160259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 03:59:53] local.INFO: TCP Data received {"connection_id":160259,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:59:53] local.INFO: Processing buffer {"connection_id":160259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:59:53] local.INFO: IMEI packet received {"connection_id":160259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":160259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:59:57] local.INFO: TCP Data received {"connection_id":160259,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:59:57] local.INFO: Processing buffer {"connection_id":160259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 03:59:57] local.INFO: IMEI packet received {"connection_id":160259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 03:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":160259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 03:59:58] local.INFO: TCP Data received {"connection_id":160259,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b970a50012d528b400679af400052002532..."} 
[2026-08-23 03:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b970a50012d528b400679af400052002532..."} 
[2026-08-23 03:59:58] local.INFO: Processing buffer {"connection_id":160259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b970a50012d528b400679af400052002532..."} 
[2026-08-23 03:59:58] local.INFO: Packet analysis {"connection_id":160259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b97"} 
[2026-08-23 03:59:58] local.INFO: Extracted packet for processing {"connection_id":160259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b97"} 
[2026-08-23 03:59:58] local.INFO: GPS Element Parsed {"raw_longitude":760384320,"raw_latitude":108638016,"longitude_deg":76.038432,"latitude_deg":10.8638016,"altitude":82,"angle":37,"satellites":50,"speed":4,"hex_longitude":"2d528b40","hex_latitude":"0679af40","is_valid_coordinates":true} 
[2026-08-23 03:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 03:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584051456001,"note":"Value kept but may cause issues"} 
[2026-08-23 03:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695379337117696,"note":"Value kept but may cause issues"} 
[2026-08-23 03:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947988498172542976,"note":"Value kept but may cause issues"} 
[2026-08-23 03:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 03:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787437714000,"timestamp_ms":1787437714000,"timestamp_seconds":1787437714,"priority":1,"record_length":96,"hex_timestamp":"000001a02b970a50"} 
[2026-08-23 03:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 03:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 03:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 03:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 03:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 03:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 03:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 03:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 03:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 03:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 03:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 03:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 03:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584051456001,"66":27267,"156":206,"80":60928,"24":4,"16":389695379337117696,"45":5947988498172542976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 03:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 03:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 03:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584051456001,"description":"Unknown IO ID 0"} 
[2026-08-23 03:59:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 03:59:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 03:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695379337117696,"km_value":389695379337117.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 03:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947988498172542976,"description":"Unknown IO ID 45"} 
[2026-08-23 03:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584051456001,"power":27267,"unknown_156":206,"unknown_80":60928,"ignition":4,"odometer":null,"unknown_45":5947988498172542976}} 
[2026-08-23 03:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":160259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 03:59:58] local.INFO: GPS data processed {"connection_id":160259,"processed":1,"errors":0,"total":1} 
[2026-08-23 03:59:58] local.INFO: Acknowledgment sent {"connection_id":160259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:00:03] local.INFO: TCP Data received {"connection_id":160259,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b971220012d528bc00679b0980052001933..."} 
[2026-08-23 04:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b971220012d528bc00679b0980052001933..."} 
[2026-08-23 04:00:03] local.INFO: Processing buffer {"connection_id":160259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b971220012d528bc00679b0980052001933..."} 
[2026-08-23 04:00:03] local.INFO: Packet analysis {"connection_id":160259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b97"} 
[2026-08-23 04:00:03] local.INFO: Extracted packet for processing {"connection_id":160259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b97"} 
[2026-08-23 04:00:03] local.INFO: GPS Element Parsed {"raw_longitude":760384448,"raw_latitude":108638360,"longitude_deg":76.0384448,"latitude_deg":10.863836,"altitude":82,"angle":25,"satellites":51,"speed":10,"hex_longitude":"2d528bc0","hex_latitude":"0679b098","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584054784001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695396516986880,"note":"Value kept but may cause issues"} 
[2026-08-23 04:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947918129428381696,"note":"Value kept but may cause issues"} 
[2026-08-23 04:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787437716000,"timestamp_ms":1787437716000,"timestamp_seconds":1787437716,"priority":1,"record_length":96,"hex_timestamp":"000001a02b971220"} 
[2026-08-23 04:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 04:00: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-08-23 04: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-08-23 04:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584054784001,"66":27300,"156":206,"80":60928,"24":10,"16":389695396516986880,"45":5947918129428381696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 04:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584054784001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:00:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 04:00:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695396516986880,"km_value":389695396516986.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947918129428381696,"description":"Unknown IO ID 45"} 
[2026-08-23 04:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584054784001,"power":27300,"unknown_156":206,"unknown_80":60928,"ignition":10,"odometer":null,"unknown_45":5947918129428381696}} 
[2026-08-23 04:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":160259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:00:03] local.INFO: GPS data processed {"connection_id":160259,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:00:03] local.INFO: Acknowledgment sent {"connection_id":160259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:00:49] local.INFO: TCP Data received {"connection_id":160452,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:00:49] local.INFO: Processing buffer {"connection_id":160452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:00:49] local.INFO: IMEI packet received {"connection_id":160452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":160452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:00:52] local.INFO: TCP Data received {"connection_id":160452,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:00:52] local.INFO: Processing buffer {"connection_id":160452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:00:52] local.INFO: IMEI packet received {"connection_id":160452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":160452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:00:57] local.INFO: TCP Data received {"connection_id":160452,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:00:57] local.INFO: Processing buffer {"connection_id":160452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:00:57] local.INFO: IMEI packet received {"connection_id":160452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":160452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:00:58] local.INFO: TCP Data received {"connection_id":160452,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b975488012d529cc00679d0d80051001f34..."} 
[2026-08-23 04:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b975488012d529cc00679d0d80051001f34..."} 
[2026-08-23 04:00:58] local.INFO: Processing buffer {"connection_id":160452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b975488012d529cc00679d0d80051001f34..."} 
[2026-08-23 04:00:58] local.INFO: Packet analysis {"connection_id":160452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b97"} 
[2026-08-23 04:00:58] local.INFO: Extracted packet for processing {"connection_id":160452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b97"} 
[2026-08-23 04:00:58] local.INFO: GPS Element Parsed {"raw_longitude":760388800,"raw_latitude":108646616,"longitude_deg":76.03888,"latitude_deg":10.8646616,"altitude":81,"angle":31,"satellites":52,"speed":30,"hex_longitude":"2d529cc0","hex_latitude":"0679d0d8","is_valid_coordinates":true} 
[2026-08-23 04:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584055296001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389695847488552960,"note":"Value kept but may cause issues"} 
[2026-08-23 04:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5948058866916825088,"note":"Value kept but may cause issues"} 
[2026-08-23 04:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787437733000,"timestamp_ms":1787437733000,"timestamp_seconds":1787437733,"priority":1,"record_length":96,"hex_timestamp":"000001a02b975488"} 
[2026-08-23 04:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 04:00: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-08-23 04:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584055296001,"66":27213,"156":206,"80":60928,"24":30,"16":389695847488552960,"45":5948058866916825088},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-23 04:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584055296001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:00:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 04:00:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389695847488552960,"km_value":389695847488552.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5948058866916825088,"description":"Unknown IO ID 45"} 
[2026-08-23 04:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584055296001,"power":27213,"unknown_156":206,"unknown_80":60928,"ignition":30,"odometer":null,"unknown_45":5948058866916825088}} 
[2026-08-23 04:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":160452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:00:58] local.INFO: GPS data processed {"connection_id":160452,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:00:58] local.INFO: Acknowledgment sent {"connection_id":160452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:01:31] local.INFO: TCP Data received {"connection_id":160452,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b98cb88012d53e000067a57e00056005d2f..."} 
[2026-08-23 04:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b98cb88012d53e000067a57e00056005d2f..."} 
[2026-08-23 04:01:31] local.INFO: Processing buffer {"connection_id":160452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b98cb88012d53e000067a57e00056005d2f..."} 
[2026-08-23 04:01:31] local.INFO: Packet analysis {"connection_id":160452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b98"} 
[2026-08-23 04:01:31] local.INFO: Extracted packet for processing {"connection_id":160452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b98"} 
[2026-08-23 04:01:31] local.INFO: GPS Element Parsed {"raw_longitude":760471552,"raw_latitude":108681184,"longitude_deg":76.0471552,"latitude_deg":10.8681184,"altitude":86,"angle":93,"satellites":47,"speed":41,"hex_longitude":"2d53e000","hex_latitude":"067a57e0","is_valid_coordinates":true} 
[2026-08-23 04:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584081920001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389700481758265344,"note":"Value kept but may cause issues"} 
[2026-08-23 04:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6033275416127059968,"note":"Value kept but may cause issues"} 
[2026-08-23 04:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787437829000,"timestamp_ms":1787437829000,"timestamp_seconds":1787437829,"priority":1,"record_length":96,"hex_timestamp":"000001a02b98cb88"} 
[2026-08-23 04:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:01: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-08-23 04:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 04:01: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-08-23 04:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584081920001,"66":27169,"155":206,"80":60928,"24":41,"16":389700481758265344,"45":6033275416127059968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-08-23 04:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584081920001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:01:31] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-23 04:01:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389700481758265344,"km_value":389700481758265.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6033275416127059968,"description":"Unknown IO ID 45"} 
[2026-08-23 04:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584081920001,"power":27169,"unknown_155":206,"unknown_80":60928,"ignition":41,"odometer":null,"unknown_45":6033275416127059968}} 
[2026-08-23 04:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":160452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:01:31] local.INFO: GPS data processed {"connection_id":160452,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:01:31] local.INFO: Acknowledgment sent {"connection_id":160452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:01:47] local.INFO: TCP Data received {"connection_id":161416,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:01:47] local.INFO: Processing buffer {"connection_id":161416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:01:47] local.INFO: IMEI packet received {"connection_id":161416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":161416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:01:47] local.INFO: TCP Data received {"connection_id":161416,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 04:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161416,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 04:01:47] local.INFO: Processing buffer {"connection_id":161416,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 04:01:47] local.INFO: IMEI packet received {"connection_id":161416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":161416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:01:52] local.INFO: TCP Data received {"connection_id":161416,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:01:52] local.INFO: Processing buffer {"connection_id":161416,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 04:01:52] local.INFO: IMEI packet received {"connection_id":161416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":161416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:01:53] local.INFO: TCP Data received {"connection_id":161416,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b98eeb0012d540540067a56300053005b31..."} 
[2026-08-23 04:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b98eeb0012d540540067a56300053005b31..."} 
[2026-08-23 04:01:53] local.INFO: Processing buffer {"connection_id":161416,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a02b..."} 
[2026-08-23 04:01:53] local.INFO: IMEI packet received {"connection_id":161416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":161416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:01:55] local.INFO: TCP Data received {"connection_id":161416,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b9911d8012d542cc0067a5468004f005d30..."} 
[2026-08-23 04:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b9911d8012d542cc0067a5468004f005d30..."} 
[2026-08-23 04:01:55] local.INFO: Processing buffer {"connection_id":161416,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a02b98eeb0012d540540067a56300053005b31..."} 
[2026-08-23 04:01:55] local.INFO: Packet analysis {"connection_id":161416,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02b98"} 
[2026-08-23 04:01:55] local.INFO: Extracted packet for processing {"connection_id":161416,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b98"} 
[2026-08-23 04:01:55] local.INFO: GPS Element Parsed {"raw_longitude":760481088,"raw_latitude":108680752,"longitude_deg":76.0481088,"latitude_deg":10.8680752,"altitude":83,"angle":91,"satellites":49,"speed":42,"hex_longitude":"2d540540","hex_latitude":"067a5630","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584084224001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389700937024798720,"note":"Value kept but may cause issues"} 
[2026-08-23 04:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6043830727753588736,"note":"Value kept but may cause issues"} 
[2026-08-23 04:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787437838000,"timestamp_ms":1787437838000,"timestamp_seconds":1787437838,"priority":1,"record_length":96,"hex_timestamp":"000001a02b98eeb0"} 
[2026-08-23 04:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:01: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-08-23 04: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-23 04:01:55] 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-08-23 04: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-08-23 04:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584084224001,"66":27180,"155":206,"80":60928,"24":42,"16":389700937024798720,"45":6043830727753588736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-08-23 04:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584084224001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:01:55] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-23 04:01:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389700937024798720,"km_value":389700937024798.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6043830727753588736,"description":"Unknown IO ID 45"} 
[2026-08-23 04:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584084224001,"power":27180,"unknown_155":206,"unknown_80":60928,"ignition":42,"odometer":null,"unknown_45":6043830727753588736}} 
[2026-08-23 04:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":161416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:01:55] local.INFO: GPS data processed {"connection_id":161416,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:01:55] local.INFO: Acknowledgment sent {"connection_id":161416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:01:55] local.INFO: Packet analysis {"connection_id":161416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b99"} 
[2026-08-23 04:01:55] local.INFO: Extracted packet for processing {"connection_id":161416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b99"} 
[2026-08-23 04:01:55] local.INFO: GPS Element Parsed {"raw_longitude":760491200,"raw_latitude":108680296,"longitude_deg":76.04912,"latitude_deg":10.8680296,"altitude":79,"angle":93,"satellites":48,"speed":45,"hex_longitude":"2d542cc0","hex_latitude":"067a5468","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584086528001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389701413766168576,"note":"Value kept but may cause issues"} 
[2026-08-23 04:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6054315670635950080,"note":"Value kept but may cause issues"} 
[2026-08-23 04:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787437847000,"timestamp_ms":1787437847000,"timestamp_seconds":1787437847,"priority":1,"record_length":96,"hex_timestamp":"000001a02b9911d8"} 
[2026-08-23 04:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:01: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-08-23 04: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-23 04:01:55] 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-08-23 04: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-08-23 04:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584086528001,"66":27321,"110":206,"80":60928,"24":45,"16":389701413766168576,"45":6054315670635950080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-08-23 04:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584086528001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:01:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 04:01:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389701413766168576,"km_value":389701413766168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6054315670635950080,"description":"Unknown IO ID 45"} 
[2026-08-23 04:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584086528001,"power":27321,"unknown_110":206,"unknown_80":60928,"ignition":45,"odometer":null,"unknown_45":6054315670635950080}} 
[2026-08-23 04:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":161416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:01:55] local.INFO: GPS data processed {"connection_id":161416,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:01:55] local.INFO: Acknowledgment sent {"connection_id":161416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:02:26] local.INFO: TCP Data received {"connection_id":161416,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b993118012d545200067a5330004b005a32..."} 
[2026-08-23 04:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b993118012d545200067a5330004b005a32..."} 
[2026-08-23 04:02:26] local.INFO: Processing buffer {"connection_id":161416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b993118012d545200067a5330004b005a32..."} 
[2026-08-23 04:02:26] local.INFO: Packet analysis {"connection_id":161416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b99"} 
[2026-08-23 04:02:26] local.INFO: Extracted packet for processing {"connection_id":161416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b99"} 
[2026-08-23 04:02:26] local.INFO: GPS Element Parsed {"raw_longitude":760500736,"raw_latitude":108679984,"longitude_deg":76.0500736,"latitude_deg":10.8679984,"altitude":75,"angle":90,"satellites":50,"speed":47,"hex_longitude":"2d545200","hex_latitude":"067a5330","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584088832001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389701869032701952,"note":"Value kept but may cause issues"} 
[2026-08-23 04:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6065433932215904256,"note":"Value kept but may cause issues"} 
[2026-08-23 04:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787437855000,"timestamp_ms":1787437855000,"timestamp_seconds":1787437855,"priority":1,"record_length":96,"hex_timestamp":"000001a02b993118"} 
[2026-08-23 04:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:02: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-08-23 04:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 04:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04: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-08-23 04:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584088832001,"66":27332,"110":206,"80":60928,"24":47,"16":389701869032701952,"45":6065433932215904256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-08-23 04:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584088832001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:02:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 04:02:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389701869032701952,"km_value":389701869032701.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6065433932215904256,"description":"Unknown IO ID 45"} 
[2026-08-23 04:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584088832001,"power":27332,"unknown_110":206,"unknown_80":60928,"ignition":47,"odometer":null,"unknown_45":6065433932215904256}} 
[2026-08-23 04:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":161416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:02:26] local.INFO: GPS data processed {"connection_id":161416,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:02:26] local.INFO: Acknowledgment sent {"connection_id":161416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:02:47] local.INFO: TCP Data received {"connection_id":160260,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:02:47] local.INFO: Processing buffer {"connection_id":160260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:02:47] local.INFO: IMEI packet received {"connection_id":160260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":160260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:02:49] local.INFO: TCP Data received {"connection_id":160260,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:02:49] local.INFO: Processing buffer {"connection_id":160260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:02:49] local.INFO: IMEI packet received {"connection_id":160260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":160260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:02:52] local.INFO: TCP Data received {"connection_id":160260,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:02:52] local.INFO: Processing buffer {"connection_id":160260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:02:52] local.INFO: IMEI packet received {"connection_id":160260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":160260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:02:53] local.INFO: TCP Data received {"connection_id":160260,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b9a2730012d559e80067b0840001f003d31..."} 
[2026-08-23 04:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b9a2730012d559e80067b0840001f003d31..."} 
[2026-08-23 04:02:53] local.INFO: Processing buffer {"connection_id":160260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b9a2730012d559e80067b0840001f003d31..."} 
[2026-08-23 04:02:53] local.INFO: Packet analysis {"connection_id":160260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b9a"} 
[2026-08-23 04:02:53] local.INFO: Extracted packet for processing {"connection_id":160260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b9a"} 
[2026-08-23 04:02:53] local.INFO: GPS Element Parsed {"raw_longitude":760585856,"raw_latitude":108726336,"longitude_deg":76.0585856,"latitude_deg":10.8726336,"altitude":31,"angle":61,"satellites":49,"speed":62,"hex_longitude":"2d559e80","hex_latitude":"067b0840","is_valid_coordinates":true} 
[2026-08-23 04:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584105472001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389706572021891072,"note":"Value kept but may cause issues"} 
[2026-08-23 04:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6160361368122028032,"note":"Value kept but may cause issues"} 
[2026-08-23 04:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787437918000,"timestamp_ms":1787437918000,"timestamp_seconds":1787437918,"priority":1,"record_length":96,"hex_timestamp":"000001a02b9a2730"} 
[2026-08-23 04:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:02: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-08-23 04:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 04:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584105472001,"66":27310,"110":206,"80":60928,"24":62,"16":389706572021891072,"45":6160361368122028032},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-08-23 04:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584105472001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:02:53] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 04:02:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389706572021891072,"km_value":389706572021891.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6160361368122028032,"description":"Unknown IO ID 45"} 
[2026-08-23 04:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584105472001,"power":27310,"unknown_110":206,"unknown_80":60928,"ignition":62,"odometer":null,"unknown_45":6160361368122028032}} 
[2026-08-23 04:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":160260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:02:53] local.INFO: GPS data processed {"connection_id":160260,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:02:53] local.INFO: Acknowledgment sent {"connection_id":160260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:03:27] local.INFO: TCP Data received {"connection_id":160260,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b9a3ea0012d55bf80067b16c8001e004631..."} 
[2026-08-23 04:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b9a3ea0012d55bf80067b16c8001e004631..."} 
[2026-08-23 04:03:27] local.INFO: Processing buffer {"connection_id":160260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b9a3ea0012d55bf80067b16c8001e004631..."} 
[2026-08-23 04:03:27] local.INFO: Packet analysis {"connection_id":160260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b9a"} 
[2026-08-23 04:03:27] local.INFO: Extracted packet for processing {"connection_id":160260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b9a"} 
[2026-08-23 04:03:27] local.INFO: GPS Element Parsed {"raw_longitude":760594304,"raw_latitude":108730056,"longitude_deg":76.0594304,"latitude_deg":10.8730056,"altitude":30,"angle":70,"satellites":49,"speed":59,"hex_longitude":"2d55bf80","hex_latitude":"067b16c8","is_valid_coordinates":true} 
[2026-08-23 04:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584107008001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389707014403522560,"note":"Value kept but may cause issues"} 
[2026-08-23 04:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6169509304866455552,"note":"Value kept but may cause issues"} 
[2026-08-23 04:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787437924000,"timestamp_ms":1787437924000,"timestamp_seconds":1787437924,"priority":1,"record_length":96,"hex_timestamp":"000001a02b9a3ea0"} 
[2026-08-23 04:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-23 04:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584107008001,"66":27267,"110":206,"80":60928,"24":59,"16":389707014403522560,"45":6169509304866455552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-08-23 04:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584107008001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:03:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 04:03:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389707014403522560,"km_value":389707014403522.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6169509304866455552,"description":"Unknown IO ID 45"} 
[2026-08-23 04:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584107008001,"power":27267,"unknown_110":206,"unknown_80":60928,"ignition":59,"odometer":null,"unknown_45":6169509304866455552}} 
[2026-08-23 04:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":160260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:03:27] local.INFO: GPS data processed {"connection_id":160260,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:03:27] local.INFO: Acknowledgment sent {"connection_id":160260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:03:47] local.INFO: TCP Data received {"connection_id":161417,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:03:47] local.INFO: Processing buffer {"connection_id":161417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:03:47] local.INFO: IMEI packet received {"connection_id":161417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":161417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:03:50] local.INFO: TCP Data received {"connection_id":161417,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:03:50] local.INFO: Processing buffer {"connection_id":161417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:03:50] local.INFO: IMEI packet received {"connection_id":161417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":161417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:03:52] local.INFO: TCP Data received {"connection_id":161417,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:03:52] local.INFO: Processing buffer {"connection_id":161417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:03:52] local.INFO: IMEI packet received {"connection_id":161417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":161417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:03:54] local.INFO: TCP Data received {"connection_id":161417,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b9a59f8012d55e6c0067b2270001d004a31..."} 
[2026-08-23 04:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b9a59f8012d55e6c0067b2270001d004a31..."} 
[2026-08-23 04:03:54] local.INFO: Processing buffer {"connection_id":161417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b9a59f8012d55e6c0067b2270001d004a31..."} 
[2026-08-23 04:03:54] local.INFO: Packet analysis {"connection_id":161417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b9a"} 
[2026-08-23 04:03:54] local.INFO: Extracted packet for processing {"connection_id":161417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b9a"} 
[2026-08-23 04:03:54] local.INFO: GPS Element Parsed {"raw_longitude":760604352,"raw_latitude":108733040,"longitude_deg":76.0604352,"latitude_deg":10.873304,"altitude":29,"angle":74,"satellites":49,"speed":57,"hex_longitude":"2d55e6c0","hex_latitude":"067b2270","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584108544001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389707512619728896,"note":"Value kept but may cause issues"} 
[2026-08-23 04:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6178797979098859520,"note":"Value kept but may cause issues"} 
[2026-08-23 04:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787437931000,"timestamp_ms":1787437931000,"timestamp_seconds":1787437931,"priority":1,"record_length":96,"hex_timestamp":"000001a02b9a59f8"} 
[2026-08-23 04:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 04:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04: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-08-23 04:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584108544001,"66":27300,"110":206,"80":60928,"24":57,"16":389707512619728896,"45":6178797979098859520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-08-23 04:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584108544001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:03:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 04:03:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389707512619728896,"km_value":389707512619728.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6178797979098859520,"description":"Unknown IO ID 45"} 
[2026-08-23 04:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584108544001,"power":27300,"unknown_110":206,"unknown_80":60928,"ignition":57,"odometer":null,"unknown_45":6178797979098859520}} 
[2026-08-23 04:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":161417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:03:54] local.INFO: GPS data processed {"connection_id":161417,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:03:54] local.INFO: Acknowledgment sent {"connection_id":161417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:03:54] local.INFO: TCP Data received {"connection_id":161417,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b9a7550012d560c00067b2d10001c004a30..."} 
[2026-08-23 04:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b9a7550012d560c00067b2d10001c004a30..."} 
[2026-08-23 04:03:54] local.INFO: Processing buffer {"connection_id":161417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b9a7550012d560c00067b2d10001c004a30..."} 
[2026-08-23 04:03:54] local.INFO: Packet analysis {"connection_id":161417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b9a"} 
[2026-08-23 04:03:54] local.INFO: Extracted packet for processing {"connection_id":161417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b9a"} 
[2026-08-23 04:03:54] local.INFO: GPS Element Parsed {"raw_longitude":760613888,"raw_latitude":108735760,"longitude_deg":76.0613888,"latitude_deg":10.873576,"altitude":28,"angle":74,"satellites":48,"speed":53,"hex_longitude":"2d560c00","hex_latitude":"067b2d10","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584110336001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389707985066131456,"note":"Value kept but may cause issues"} 
[2026-08-23 04:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6189845871935516672,"note":"Value kept but may cause issues"} 
[2026-08-23 04:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787437938000,"timestamp_ms":1787437938000,"timestamp_seconds":1787437938,"priority":1,"record_length":96,"hex_timestamp":"000001a02b9a7550"} 
[2026-08-23 04:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 04:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04: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-08-23 04:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584110336001,"66":27321,"110":206,"80":60928,"24":53,"16":389707985066131456,"45":6189845871935516672},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-08-23 04:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584110336001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:03:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 04:03:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389707985066131456,"km_value":389707985066131.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6189845871935516672,"description":"Unknown IO ID 45"} 
[2026-08-23 04:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584110336001,"power":27321,"unknown_110":206,"unknown_80":60928,"ignition":53,"odometer":null,"unknown_45":6189845871935516672}} 
[2026-08-23 04:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":161417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:03:54] local.INFO: GPS data processed {"connection_id":161417,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:03:54] local.INFO: Acknowledgment sent {"connection_id":161417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:04:25] local.INFO: TCP Data received {"connection_id":161417,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b9b7720012d571800067bdd30001c00012f..."} 
[2026-08-23 04:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b9b7720012d571800067bdd30001c00012f..."} 
[2026-08-23 04:04:25] local.INFO: Processing buffer {"connection_id":161417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b9b7720012d571800067bdd30001c00012f..."} 
[2026-08-23 04:04:25] local.INFO: Packet analysis {"connection_id":161417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b9b"} 
[2026-08-23 04:04:25] local.INFO: Extracted packet for processing {"connection_id":161417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b9b"} 
[2026-08-23 04:04:25] local.INFO: GPS Element Parsed {"raw_longitude":760682496,"raw_latitude":108780848,"longitude_deg":76.0682496,"latitude_deg":10.8780848,"altitude":28,"angle":1,"satellites":47,"speed":48,"hex_longitude":"2d571800","hex_latitude":"067bdd30","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584128000001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389712142594473984,"note":"Value kept but may cause issues"} 
[2026-08-23 04:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6275132789889830912,"note":"Value kept but may cause issues"} 
[2026-08-23 04:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787438004000,"timestamp_ms":1787438004000,"timestamp_seconds":1787438004,"priority":1,"record_length":96,"hex_timestamp":"000001a02b9b7720"} 
[2026-08-23 04:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 04:04:25] 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-08-23 04: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-08-23 04:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584128000001,"66":27332,"35":206,"80":60928,"24":48,"16":389712142594473984,"45":6275132789889830912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-08-23 04:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584128000001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:04:25] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-23 04:04:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389712142594473984,"km_value":389712142594474.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6275132789889830912,"description":"Unknown IO ID 45"} 
[2026-08-23 04:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584128000001,"power":27332,"unknown_35":206,"unknown_80":60928,"ignition":48,"odometer":null,"unknown_45":6275132789889830912}} 
[2026-08-23 04:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":161417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:04:25] local.INFO: GPS data processed {"connection_id":161417,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:04:25] local.INFO: Acknowledgment sent {"connection_id":161417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:04:47] local.INFO: TCP Data received {"connection_id":160261,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:04:47] local.INFO: Processing buffer {"connection_id":160261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:04:47] local.INFO: IMEI packet received {"connection_id":160261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":160261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:04:49] local.INFO: TCP Data received {"connection_id":160261,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:04:49] local.INFO: Processing buffer {"connection_id":160261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:04:49] local.INFO: IMEI packet received {"connection_id":160261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":160261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:04:53] local.INFO: TCP Data received {"connection_id":160261,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:04:53] local.INFO: Processing buffer {"connection_id":160261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:04:53] local.INFO: IMEI packet received {"connection_id":160261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":160261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:04:55] local.INFO: TCP Data received {"connection_id":160261,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b9b8e90012d571600067bf868001b015f2f..."} 
[2026-08-23 04:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b9b8e90012d571600067bf868001b015f2f..."} 
[2026-08-23 04:04:55] local.INFO: Processing buffer {"connection_id":160261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b9b8e90012d571600067bf868001b015f2f..."} 
[2026-08-23 04:04:55] local.INFO: Packet analysis {"connection_id":160261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b9b"} 
[2026-08-23 04:04:55] local.INFO: Extracted packet for processing {"connection_id":160261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b9b"} 
[2026-08-23 04:04:55] local.INFO: GPS Element Parsed {"raw_longitude":760681984,"raw_latitude":108787816,"longitude_deg":76.0681984,"latitude_deg":10.8787816,"altitude":27,"angle":351,"satellites":47,"speed":44,"hex_longitude":"2d571600","hex_latitude":"067bf868","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584129024001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389712481896890368,"note":"Value kept but may cause issues"} 
[2026-08-23 04:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6275766108588683264,"note":"Value kept but may cause issues"} 
[2026-08-23 04:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787438010000,"timestamp_ms":1787438010000,"timestamp_seconds":1787438010,"priority":1,"record_length":96,"hex_timestamp":"000001a02b9b8e90"} 
[2026-08-23 04:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 04:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04: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-08-23 04:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584129024001,"66":27343,"110":206,"80":60928,"24":44,"16":389712481896890368,"45":6275766108588683264},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-08-23 04:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584129024001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:04:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 04:04:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389712481896890368,"km_value":389712481896890.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6275766108588683264,"description":"Unknown IO ID 45"} 
[2026-08-23 04:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584129024001,"power":27343,"unknown_110":206,"unknown_80":60928,"ignition":44,"odometer":null,"unknown_45":6275766108588683264}} 
[2026-08-23 04:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":160261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:04:55] local.INFO: GPS data processed {"connection_id":160261,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:04:55] local.INFO: Acknowledgment sent {"connection_id":160261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:05:27] local.INFO: TCP Data received {"connection_id":160261,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b9bb1b8012d571040067c1d10001b015e32..."} 
[2026-08-23 04:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b9bb1b8012d571040067c1d10001b015e32..."} 
[2026-08-23 04:05:27] local.INFO: Processing buffer {"connection_id":160261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b9bb1b8012d571040067c1d10001b015e32..."} 
[2026-08-23 04:05:27] local.INFO: Packet analysis {"connection_id":160261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b9b"} 
[2026-08-23 04:05:27] local.INFO: Extracted packet for processing {"connection_id":160261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b9b"} 
[2026-08-23 04:05:27] local.INFO: GPS Element Parsed {"raw_longitude":760680512,"raw_latitude":108797200,"longitude_deg":76.0680512,"latitude_deg":10.87972,"altitude":27,"angle":350,"satellites":50,"speed":39,"hex_longitude":"2d571040","hex_latitude":"067c1d10","is_valid_coordinates":true} 
[2026-08-23 04:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584130560001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389712941458391040,"note":"Value kept but may cause issues"} 
[2026-08-23 04:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6275203158637045760,"note":"Value kept but may cause issues"} 
[2026-08-23 04:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787438019000,"timestamp_ms":1787438019000,"timestamp_seconds":1787438019,"priority":1,"record_length":96,"hex_timestamp":"000001a02b9bb1b8"} 
[2026-08-23 04:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:05: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-08-23 04:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 04:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584130560001,"66":27365,"110":206,"80":60928,"24":39,"16":389712941458391040,"45":6275203158637045760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-08-23 04:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584130560001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:05:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 04:05:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389712941458391040,"km_value":389712941458391.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6275203158637045760,"description":"Unknown IO ID 45"} 
[2026-08-23 04:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584130560001,"power":27365,"unknown_110":206,"unknown_80":60928,"ignition":39,"odometer":null,"unknown_45":6275203158637045760}} 
[2026-08-23 04:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":160261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:05:27] local.INFO: GPS data processed {"connection_id":160261,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:05:27] local.INFO: Acknowledgment sent {"connection_id":160261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:05:49] local.INFO: TCP Data received {"connection_id":162835,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:05:49] local.INFO: Processing buffer {"connection_id":162835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:05:49] local.INFO: IMEI packet received {"connection_id":162835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":162835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:05:52] local.INFO: TCP Data received {"connection_id":162835,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:05:52] local.INFO: Processing buffer {"connection_id":162835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:05:52] local.INFO: IMEI packet received {"connection_id":162835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":162835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:05:56] local.INFO: TCP Data received {"connection_id":162835,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:05:56] local.INFO: Processing buffer {"connection_id":162835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:05:56] local.INFO: IMEI packet received {"connection_id":162835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":162835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:05:57] local.INFO: TCP Data received {"connection_id":162835,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b9cc328012d564280067d16480016013a33..."} 
[2026-08-23 04:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b9cc328012d564280067d16480016013a33..."} 
[2026-08-23 04:05:57] local.INFO: Processing buffer {"connection_id":162835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b9cc328012d564280067d16480016013a33..."} 
[2026-08-23 04:05:57] local.INFO: Packet analysis {"connection_id":162835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b9c"} 
[2026-08-23 04:05:57] local.INFO: Extracted packet for processing {"connection_id":162835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b9c"} 
[2026-08-23 04:05:57] local.INFO: GPS Element Parsed {"raw_longitude":760627840,"raw_latitude":108861000,"longitude_deg":76.062784,"latitude_deg":10.8861,"altitude":22,"angle":314,"satellites":51,"speed":47,"hex_longitude":"2d564280","hex_latitude":"067d1648","is_valid_coordinates":true} 
[2026-08-23 04:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584148736001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389716995907518464,"note":"Value kept but may cause issues"} 
[2026-08-23 04:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6223130287962609664,"note":"Value kept but may cause issues"} 
[2026-08-23 04:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787438089000,"timestamp_ms":1787438089000,"timestamp_seconds":1787438089,"priority":1,"record_length":96,"hex_timestamp":"000001a02b9cc328"} 
[2026-08-23 04:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:05: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-08-23 04:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 04:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584148736001,"66":27321,"109":206,"80":60928,"24":47,"16":389716995907518464,"45":6223130287962609664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-08-23 04:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584148736001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:05:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 04:05:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389716995907518464,"km_value":389716995907518.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6223130287962609664,"description":"Unknown IO ID 45"} 
[2026-08-23 04:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584148736001,"power":27321,"unknown_109":206,"unknown_80":60928,"ignition":47,"odometer":null,"unknown_45":6223130287962609664}} 
[2026-08-23 04:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":162835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:05:57] local.INFO: GPS data processed {"connection_id":162835,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:05:57] local.INFO: Acknowledgment sent {"connection_id":162835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:05:58] local.INFO: TCP Data received {"connection_id":162835,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b9ce268012d562700067d31200015013a33..."} 
[2026-08-23 04:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b9ce268012d562700067d31200015013a33..."} 
[2026-08-23 04:05:58] local.INFO: Processing buffer {"connection_id":162835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b9ce268012d562700067d31200015013a33..."} 
[2026-08-23 04:05:58] local.INFO: Packet analysis {"connection_id":162835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b9c"} 
[2026-08-23 04:05:58] local.INFO: Extracted packet for processing {"connection_id":162835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b9c"} 
[2026-08-23 04:05:58] local.INFO: GPS Element Parsed {"raw_longitude":760620800,"raw_latitude":108867872,"longitude_deg":76.06208,"latitude_deg":10.8867872,"altitude":21,"angle":314,"satellites":51,"speed":49,"hex_longitude":"2d562700","hex_latitude":"067d3120","is_valid_coordinates":true} 
[2026-08-23 04:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584150784001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389717468353921024,"note":"Value kept but may cause issues"} 
[2026-08-23 04:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6215671201081477120,"note":"Value kept but may cause issues"} 
[2026-08-23 04:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787438097000,"timestamp_ms":1787438097000,"timestamp_seconds":1787438097,"priority":1,"record_length":96,"hex_timestamp":"000001a02b9ce268"} 
[2026-08-23 04:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 04:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584150784001,"66":27300,"109":206,"80":60928,"24":49,"16":389717468353921024,"45":6215671201081477120},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-08-23 04:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584150784001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:05:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 04:05:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389717468353921024,"km_value":389717468353921.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6215671201081477120,"description":"Unknown IO ID 45"} 
[2026-08-23 04:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584150784001,"power":27300,"unknown_109":206,"unknown_80":60928,"ignition":49,"odometer":null,"unknown_45":6215671201081477120}} 
[2026-08-23 04:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":162835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:05:58] local.INFO: GPS data processed {"connection_id":162835,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:05:58] local.INFO: Acknowledgment sent {"connection_id":162835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:06:30] local.INFO: TCP Data received {"connection_id":162835,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b9cfdc0012d560e00067d49d80015013b33..."} 
[2026-08-23 04:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b9cfdc0012d560e00067d49d80015013b33..."} 
[2026-08-23 04:06:30] local.INFO: Processing buffer {"connection_id":162835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b9cfdc0012d560e00067d49d80015013b33..."} 
[2026-08-23 04:06:30] local.INFO: Packet analysis {"connection_id":162835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b9c"} 
[2026-08-23 04:06:30] local.INFO: Extracted packet for processing {"connection_id":162835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b9c"} 
[2026-08-23 04:06:30] local.INFO: GPS Element Parsed {"raw_longitude":760614400,"raw_latitude":108874200,"longitude_deg":76.06144,"latitude_deg":10.88742,"altitude":21,"angle":315,"satellites":51,"speed":52,"hex_longitude":"2d560e00","hex_latitude":"067d49d8","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584152832001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389717897850650624,"note":"Value kept but may cause issues"} 
[2026-08-23 04:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6207930639223693312,"note":"Value kept but may cause issues"} 
[2026-08-23 04:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787438104000,"timestamp_ms":1787438104000,"timestamp_seconds":1787438104,"priority":1,"record_length":96,"hex_timestamp":"000001a02b9cfdc0"} 
[2026-08-23 04:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 04:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04: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-08-23 04:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584152832001,"66":27267,"109":206,"80":60928,"24":52,"16":389717897850650624,"45":6207930639223693312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-08-23 04:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584152832001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:06:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 04:06:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389717897850650624,"km_value":389717897850650.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6207930639223693312,"description":"Unknown IO ID 45"} 
[2026-08-23 04:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584152832001,"power":27267,"unknown_109":206,"unknown_80":60928,"ignition":52,"odometer":null,"unknown_45":6207930639223693312}} 
[2026-08-23 04:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":162835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:06:30] local.INFO: GPS data processed {"connection_id":162835,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:06:30] local.INFO: Acknowledgment sent {"connection_id":162835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:06:48] local.INFO: TCP Data received {"connection_id":161418,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:06:48] local.INFO: Processing buffer {"connection_id":161418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:06:48] local.INFO: IMEI packet received {"connection_id":161418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":161418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:06:54] local.INFO: TCP Data received {"connection_id":161418,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 04:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161418,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 04:06:54] local.INFO: Processing buffer {"connection_id":161418,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 04:06:54] local.INFO: IMEI packet received {"connection_id":161418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":161418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:06:55] local.INFO: TCP Data received {"connection_id":161418,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:06:55] local.INFO: Processing buffer {"connection_id":161418,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 04:06:55] local.INFO: IMEI packet received {"connection_id":161418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":161418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:06:56] local.INFO: TCP Data received {"connection_id":161418,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b9d1918012d55f440067d64480014013e32..."} 
[2026-08-23 04:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b9d1918012d55f440067d64480014013e32..."} 
[2026-08-23 04:06:56] local.INFO: Processing buffer {"connection_id":161418,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a02b..."} 
[2026-08-23 04:06:56] local.INFO: IMEI packet received {"connection_id":161418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":161418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:06:58] local.INFO: TCP Data received {"connection_id":161418,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b9d3470012d55ddc0067d7f480015014232..."} 
[2026-08-23 04:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b9d3470012d55ddc0067d7f480015014232..."} 
[2026-08-23 04:06:58] local.INFO: Processing buffer {"connection_id":161418,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a02b9d1918012d55f440067d64480014013e32..."} 
[2026-08-23 04:06:58] local.INFO: Packet analysis {"connection_id":161418,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02b9d"} 
[2026-08-23 04:06:58] local.INFO: Extracted packet for processing {"connection_id":161418,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b9d"} 
[2026-08-23 04:06:58] local.INFO: GPS Element Parsed {"raw_longitude":760607808,"raw_latitude":108880968,"longitude_deg":76.0607808,"latitude_deg":10.8880968,"altitude":20,"angle":318,"satellites":50,"speed":53,"hex_longitude":"2d55f440","hex_latitude":"067d6448","is_valid_coordinates":true} 
[2026-08-23 04:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584154624001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389718353117184000,"note":"Value kept but may cause issues"} 
[2026-08-23 04:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6200893764807546880,"note":"Value kept but may cause issues"} 
[2026-08-23 04:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787438111000,"timestamp_ms":1787438111000,"timestamp_seconds":1787438111,"priority":1,"record_length":96,"hex_timestamp":"000001a02b9d1918"} 
[2026-08-23 04:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 04:06: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-08-23 04: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-08-23 04:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584154624001,"66":27234,"152":206,"80":60928,"24":53,"16":389718353117184000,"45":6200893764807546880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-08-23 04:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584154624001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:06:58] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-23 04:06:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389718353117184000,"km_value":389718353117184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6200893764807546880,"description":"Unknown IO ID 45"} 
[2026-08-23 04:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584154624001,"power":27234,"unknown_152":206,"unknown_80":60928,"ignition":53,"odometer":null,"unknown_45":6200893764807546880}} 
[2026-08-23 04:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":161418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:06:58] local.INFO: GPS data processed {"connection_id":161418,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:06:58] local.INFO: Acknowledgment sent {"connection_id":161418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:06:58] local.INFO: Packet analysis {"connection_id":161418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b9d"} 
[2026-08-23 04:06:58] local.INFO: Extracted packet for processing {"connection_id":161418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b9d"} 
[2026-08-23 04:06:58] local.INFO: GPS Element Parsed {"raw_longitude":760602048,"raw_latitude":108887880,"longitude_deg":76.0602048,"latitude_deg":10.888788,"altitude":21,"angle":322,"satellites":50,"speed":49,"hex_longitude":"2d55ddc0","hex_latitude":"067d7f48","is_valid_coordinates":true} 
[2026-08-23 04:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584156416001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389718786908880896,"note":"Value kept but may cause issues"} 
[2026-08-23 04:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6193645784158980096,"note":"Value kept but may cause issues"} 
[2026-08-23 04:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787438118000,"timestamp_ms":1787438118000,"timestamp_seconds":1787438118,"priority":1,"record_length":96,"hex_timestamp":"000001a02b9d3470"} 
[2026-08-23 04:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:06: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-08-23 04:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 04:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04: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-08-23 04:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584156416001,"66":27245,"227":206,"80":60928,"24":49,"16":389718786908880896,"45":6193645784158980096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,80,24,16,45]} 
[2026-08-23 04:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584156416001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:06:58] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-23 04:06:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389718786908880896,"km_value":389718786908880.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6193645784158980096,"description":"Unknown IO ID 45"} 
[2026-08-23 04:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584156416001,"power":27245,"unknown_227":206,"unknown_80":60928,"ignition":49,"odometer":null,"unknown_45":6193645784158980096}} 
[2026-08-23 04:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":161418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:06:58] local.INFO: GPS data processed {"connection_id":161418,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:06:58] local.INFO: Acknowledgment sent {"connection_id":161418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:07:29] local.INFO: TCP Data received {"connection_id":161418,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b9d53b0012d55c740067d9e080016014533..."} 
[2026-08-23 04:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b9d53b0012d55c740067d9e080016014533..."} 
[2026-08-23 04:07:29] local.INFO: Processing buffer {"connection_id":161418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b9d53b0012d55c740067d9e080016014533..."} 
[2026-08-23 04:07:29] local.INFO: Packet analysis {"connection_id":161418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b9d"} 
[2026-08-23 04:07:29] local.INFO: Extracted packet for processing {"connection_id":161418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b9d"} 
[2026-08-23 04:07:29] local.INFO: GPS Element Parsed {"raw_longitude":760596288,"raw_latitude":108895752,"longitude_deg":76.0596288,"latitude_deg":10.8895752,"altitude":22,"angle":325,"satellites":51,"speed":48,"hex_longitude":"2d55c740","hex_latitude":"067d9e08","is_valid_coordinates":true} 
[2026-08-23 04:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584158208001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389719255060316160,"note":"Value kept but may cause issues"} 
[2026-08-23 04:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6187312597184759808,"note":"Value kept but may cause issues"} 
[2026-08-23 04:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787438126000,"timestamp_ms":1787438126000,"timestamp_seconds":1787438126,"priority":1,"record_length":96,"hex_timestamp":"000001a02b9d53b0"} 
[2026-08-23 04:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-23 04:07: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-08-23 04:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584158208001,"66":27245,"227":206,"80":60928,"24":48,"16":389719255060316160,"45":6187312597184759808},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,80,24,16,45]} 
[2026-08-23 04:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584158208001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:07:29] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-23 04:07:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389719255060316160,"km_value":389719255060316.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6187312597184759808,"description":"Unknown IO ID 45"} 
[2026-08-23 04:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584158208001,"power":27245,"unknown_227":206,"unknown_80":60928,"ignition":48,"odometer":null,"unknown_45":6187312597184759808}} 
[2026-08-23 04:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":161418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:07:29] local.INFO: GPS data processed {"connection_id":161418,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:07:29] local.INFO: Acknowledgment sent {"connection_id":161418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:07:47] local.INFO: TCP Data received {"connection_id":160453,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:07:47] local.INFO: Processing buffer {"connection_id":160453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:07:47] local.INFO: IMEI packet received {"connection_id":160453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":160453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:08:03] local.INFO: TCP Data received {"connection_id":160453,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:08:03] local.INFO: Processing buffer {"connection_id":160453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:08:03] local.INFO: IMEI packet received {"connection_id":160453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":160453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:08:05] local.INFO: TCP Data received {"connection_id":160453,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b9d72f0012d55b380067dbdd80018014932..."} 
[2026-08-23 04:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b9d72f0012d55b380067dbdd80018014932..."} 
[2026-08-23 04:08:05] local.INFO: Processing buffer {"connection_id":160453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b9d72f0012d55b380067dbdd80018014932..."} 
[2026-08-23 04:08:05] local.INFO: Packet analysis {"connection_id":160453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b9d"} 
[2026-08-23 04:08:05] local.INFO: Extracted packet for processing {"connection_id":160453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b9d"} 
[2026-08-23 04:08:05] local.INFO: GPS Element Parsed {"raw_longitude":760591232,"raw_latitude":108903896,"longitude_deg":76.0591232,"latitude_deg":10.8903896,"altitude":24,"angle":329,"satellites":50,"speed":47,"hex_longitude":"2d55b380","hex_latitude":"067dbdd8","is_valid_coordinates":true} 
[2026-08-23 04:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584160256001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389719718916784128,"note":"Value kept but may cause issues"} 
[2026-08-23 04:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6180979410210785280,"note":"Value kept but may cause issues"} 
[2026-08-23 04:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787438134000,"timestamp_ms":1787438134000,"timestamp_seconds":1787438134,"priority":1,"record_length":96,"hex_timestamp":"000001a02b9d72f0"} 
[2026-08-23 04:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:08: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-08-23 04:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-23 04:08:05] 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-08-23 04:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584160256001,"66":27267,"227":206,"80":60928,"24":47,"16":389719718916784128,"45":6180979410210785280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,80,24,16,45]} 
[2026-08-23 04:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584160256001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:08:05] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-23 04:08:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389719718916784128,"km_value":389719718916784.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6180979410210785280,"description":"Unknown IO ID 45"} 
[2026-08-23 04:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584160256001,"power":27267,"unknown_227":206,"unknown_80":60928,"ignition":47,"odometer":null,"unknown_45":6180979410210785280}} 
[2026-08-23 04:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":160453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:08:05] local.INFO: GPS data processed {"connection_id":160453,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:08:05] local.INFO: Acknowledgment sent {"connection_id":160453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:08:50] local.INFO: TCP Data received {"connection_id":162836,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:08:50] local.INFO: Processing buffer {"connection_id":162836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:08:50] local.INFO: IMEI packet received {"connection_id":162836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":162836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:08:52] local.INFO: TCP Data received {"connection_id":162836,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:08:52] local.INFO: Processing buffer {"connection_id":162836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:08:52] local.INFO: IMEI packet received {"connection_id":162836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":162836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:08:57] local.INFO: TCP Data received {"connection_id":162836,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:08:57] local.INFO: Processing buffer {"connection_id":162836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:08:57] local.INFO: IMEI packet received {"connection_id":162836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":162836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:08:58] local.INFO: TCP Data received {"connection_id":162836,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b9f1100012d551ec0067f2a50002a015431..."} 
[2026-08-23 04:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b9f1100012d551ec0067f2a50002a015431..."} 
[2026-08-23 04:08:58] local.INFO: Processing buffer {"connection_id":162836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b9f1100012d551ec0067f2a50002a015431..."} 
[2026-08-23 04:08:58] local.INFO: Packet analysis {"connection_id":162836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b9f"} 
[2026-08-23 04:08:58] local.INFO: Extracted packet for processing {"connection_id":162836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b9f"} 
[2026-08-23 04:08:58] local.INFO: GPS Element Parsed {"raw_longitude":760553152,"raw_latitude":108997200,"longitude_deg":76.0553152,"latitude_deg":10.89972,"altitude":42,"angle":340,"satellites":49,"speed":29,"hex_longitude":"2d551ec0","hex_latitude":"067f2a50","is_valid_coordinates":true} 
[2026-08-23 04:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584186368001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389724645244272640,"note":"Value kept but may cause issues"} 
[2026-08-23 04:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6138054476286394368,"note":"Value kept but may cause issues"} 
[2026-08-23 04:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787438240000,"timestamp_ms":1787438240000,"timestamp_seconds":1787438240,"priority":1,"record_length":96,"hex_timestamp":"000001a02b9f1100"} 
[2026-08-23 04:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-23 04:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584186368001,"66":27310,"228":206,"80":60928,"24":29,"16":389724645244272640,"45":6138054476286394368},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,80,24,16,45]} 
[2026-08-23 04:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584186368001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:08:58] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-23 04:08:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389724645244272640,"km_value":389724645244272.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6138054476286394368,"description":"Unknown IO ID 45"} 
[2026-08-23 04:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584186368001,"power":27310,"unknown_228":206,"unknown_80":60928,"ignition":29,"odometer":null,"unknown_45":6138054476286394368}} 
[2026-08-23 04:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":162836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:08:58] local.INFO: GPS data processed {"connection_id":162836,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:08:58] local.INFO: Acknowledgment sent {"connection_id":162836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:09:02] local.INFO: TCP Data received {"connection_id":162836,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b9f3fe0012d551240067f4b60002c015430..."} 
[2026-08-23 04:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b9f3fe0012d551240067f4b60002c015430..."} 
[2026-08-23 04:09:02] local.INFO: Processing buffer {"connection_id":162836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b9f3fe0012d551240067f4b60002c015430..."} 
[2026-08-23 04:09:02] local.INFO: Packet analysis {"connection_id":162836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b9f"} 
[2026-08-23 04:09:02] local.INFO: Extracted packet for processing {"connection_id":162836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b9f"} 
[2026-08-23 04:09:02] local.INFO: GPS Element Parsed {"raw_longitude":760549952,"raw_latitude":109005664,"longitude_deg":76.0549952,"latitude_deg":10.9005664,"altitude":44,"angle":340,"satellites":48,"speed":30,"hex_longitude":"2d551240","hex_latitude":"067f4b60","is_valid_coordinates":true} 
[2026-08-23 04:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584189440001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389725083330936832,"note":"Value kept but may cause issues"} 
[2026-08-23 04:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6133550876661010432,"note":"Value kept but may cause issues"} 
[2026-08-23 04:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787438252000,"timestamp_ms":1787438252000,"timestamp_seconds":1787438252,"priority":1,"record_length":96,"hex_timestamp":"000001a02b9f3fe0"} 
[2026-08-23 04:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-23 04:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584189440001,"66":27234,"152":206,"80":60928,"24":30,"16":389725083330936832,"45":6133550876661010432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-08-23 04:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584189440001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:09:02] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-23 04:09:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389725083330936832,"km_value":389725083330936.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6133550876661010432,"description":"Unknown IO ID 45"} 
[2026-08-23 04:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584189440001,"power":27234,"unknown_152":206,"unknown_80":60928,"ignition":30,"odometer":null,"unknown_45":6133550876661010432}} 
[2026-08-23 04:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":162836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:09:02] local.INFO: GPS data processed {"connection_id":162836,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:09:02] local.INFO: Acknowledgment sent {"connection_id":162836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:09:47] local.INFO: TCP Data received {"connection_id":161419,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:09:47] local.INFO: Processing buffer {"connection_id":161419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:09:47] local.INFO: IMEI packet received {"connection_id":161419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":161419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:09:52] local.INFO: TCP Data received {"connection_id":161419,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:09:52] local.INFO: Processing buffer {"connection_id":161419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:09:52] local.INFO: IMEI packet received {"connection_id":161419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":161419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:09:53] local.INFO: TCP Data received {"connection_id":161419,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b9f6ec0012d5506c0067f6d00002f01542f..."} 
[2026-08-23 04:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b9f6ec0012d5506c0067f6d00002f01542f..."} 
[2026-08-23 04:09:53] local.INFO: Processing buffer {"connection_id":161419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b9f6ec0012d5506c0067f6d00002f01542f..."} 
[2026-08-23 04:09:53] local.INFO: Packet analysis {"connection_id":161419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b9f"} 
[2026-08-23 04:09:53] local.INFO: Extracted packet for processing {"connection_id":161419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b9f"} 
[2026-08-23 04:09:53] local.INFO: GPS Element Parsed {"raw_longitude":760547008,"raw_latitude":109014272,"longitude_deg":76.0547008,"latitude_deg":10.9014272,"altitude":47,"angle":340,"satellites":47,"speed":29,"hex_longitude":"2d5506c0","hex_latitude":"067f6d00","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584192512001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389725521417601024,"note":"Value kept but may cause issues"} 
[2026-08-23 04:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6130032439454294016,"note":"Value kept but may cause issues"} 
[2026-08-23 04:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787438264000,"timestamp_ms":1787438264000,"timestamp_seconds":1787438264,"priority":1,"record_length":96,"hex_timestamp":"000001a02b9f6ec0"} 
[2026-08-23 04:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:09: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-08-23 04:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 04:09:53] 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-08-23 04: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-08-23 04:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584192512001,"66":27332,"152":206,"80":60928,"24":29,"16":389725521417601024,"45":6130032439454294016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-08-23 04:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584192512001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:09:53] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-23 04:09:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389725521417601024,"km_value":389725521417601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6130032439454294016,"description":"Unknown IO ID 45"} 
[2026-08-23 04:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584192512001,"power":27332,"unknown_152":206,"unknown_80":60928,"ignition":29,"odometer":null,"unknown_45":6130032439454294016}} 
[2026-08-23 04:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":161419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:09:53] local.INFO: GPS data processed {"connection_id":161419,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:09:53] local.INFO: Acknowledgment sent {"connection_id":161419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:10:24] local.INFO: TCP Data received {"connection_id":161419,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b9fa188012d54f9c0067f8fc0003301512f..."} 
[2026-08-23 04:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b9fa188012d54f9c0067f8fc0003301512f..."} 
[2026-08-23 04:10:24] local.INFO: Processing buffer {"connection_id":161419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b9fa188012d54f9c0067f8fc0003301512f..."} 
[2026-08-23 04:10:24] local.INFO: Packet analysis {"connection_id":161419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b9f"} 
[2026-08-23 04:10:24] local.INFO: Extracted packet for processing {"connection_id":161419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b9f"} 
[2026-08-23 04:10:24] local.INFO: GPS Element Parsed {"raw_longitude":760543680,"raw_latitude":109023168,"longitude_deg":76.054368,"latitude_deg":10.9023168,"altitude":51,"angle":337,"satellites":47,"speed":27,"hex_longitude":"2d54f9c0","hex_latitude":"067f8fc0","is_valid_coordinates":true} 
[2026-08-23 04:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584195584001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389725980979101696,"note":"Value kept but may cause issues"} 
[2026-08-23 04:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6126795477224325120,"note":"Value kept but may cause issues"} 
[2026-08-23 04:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787438277000,"timestamp_ms":1787438277000,"timestamp_seconds":1787438277,"priority":1,"record_length":96,"hex_timestamp":"000001a02b9fa188"} 
[2026-08-23 04:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:10: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-08-23 04:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 04:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584195584001,"66":27321,"152":206,"80":60928,"24":27,"16":389725980979101696,"45":6126795477224325120},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-08-23 04:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584195584001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:10:24] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-23 04:10:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389725980979101696,"km_value":389725980979101.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6126795477224325120,"description":"Unknown IO ID 45"} 
[2026-08-23 04:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584195584001,"power":27321,"unknown_152":206,"unknown_80":60928,"ignition":27,"odometer":null,"unknown_45":6126795477224325120}} 
[2026-08-23 04:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":161419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:10:24] local.INFO: GPS data processed {"connection_id":161419,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:10:24] local.INFO: Acknowledgment sent {"connection_id":161419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:10:47] local.INFO: TCP Data received {"connection_id":162837,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:10:47] local.INFO: Processing buffer {"connection_id":162837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:10:47] local.INFO: IMEI packet received {"connection_id":162837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":162837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:10:52] local.INFO: TCP Data received {"connection_id":162837,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:10:52] local.INFO: Processing buffer {"connection_id":162837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:10:52] local.INFO: IMEI packet received {"connection_id":162837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":162837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:10:53] local.INFO: TCP Data received {"connection_id":162837,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02b9fdc20012d54ea00067faf500037014b31..."} 
[2026-08-23 04:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02b9fdc20012d54ea00067faf500037014b31..."} 
[2026-08-23 04:10:53] local.INFO: Processing buffer {"connection_id":162837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02b9fdc20012d54ea00067faf500037014b31..."} 
[2026-08-23 04:10:53] local.INFO: Packet analysis {"connection_id":162837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02b9f"} 
[2026-08-23 04:10:53] local.INFO: Extracted packet for processing {"connection_id":162837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02b9f"} 
[2026-08-23 04:10:53] local.INFO: GPS Element Parsed {"raw_longitude":760539648,"raw_latitude":109031248,"longitude_deg":76.0539648,"latitude_deg":10.9031248,"altitude":55,"angle":331,"satellites":49,"speed":16,"hex_longitude":"2d54ea00","hex_latitude":"067faf50","is_valid_coordinates":true} 
[2026-08-23 04:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584198912001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389726419065765888,"note":"Value kept but may cause issues"} 
[2026-08-23 04:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6123136302529363968,"note":"Value kept but may cause issues"} 
[2026-08-23 04:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787438292000,"timestamp_ms":1787438292000,"timestamp_seconds":1787438292,"priority":1,"record_length":96,"hex_timestamp":"000001a02b9fdc20"} 
[2026-08-23 04:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:10: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-08-23 04:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 04:10:53] 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-08-23 04:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584198912001,"66":27223,"152":206,"80":60928,"24":16,"16":389726419065765888,"45":6123136302529363968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-08-23 04:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584198912001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:10:53] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-23 04:10:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389726419065765888,"km_value":389726419065765.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6123136302529363968,"description":"Unknown IO ID 45"} 
[2026-08-23 04:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584198912001,"power":27223,"unknown_152":206,"unknown_80":60928,"ignition":16,"odometer":null,"unknown_45":6123136302529363968}} 
[2026-08-23 04:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":162837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:10:53] local.INFO: GPS data processed {"connection_id":162837,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:10:53] local.INFO: Acknowledgment sent {"connection_id":162837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:11:24] local.INFO: TCP Data received {"connection_id":162837,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ba02270012d54d940067fceb8003b014b31..."} 
[2026-08-23 04:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ba02270012d54d940067fceb8003b014b31..."} 
[2026-08-23 04:11:24] local.INFO: Processing buffer {"connection_id":162837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ba02270012d54d940067fceb8003b014b31..."} 
[2026-08-23 04:11:24] local.INFO: Packet analysis {"connection_id":162837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ba0"} 
[2026-08-23 04:11:24] local.INFO: Extracted packet for processing {"connection_id":162837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ba0"} 
[2026-08-23 04:11:24] local.INFO: GPS Element Parsed {"raw_longitude":760535360,"raw_latitude":109039288,"longitude_deg":76.053536,"latitude_deg":10.9039288,"altitude":59,"angle":331,"satellites":49,"speed":22,"hex_longitude":"2d54d940","hex_latitude":"067fceb8","is_valid_coordinates":true} 
[2026-08-23 04:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584202752001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389726861447397376,"note":"Value kept but may cause issues"} 
[2026-08-23 04:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6118703071648239616,"note":"Value kept but may cause issues"} 
[2026-08-23 04:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787438310000,"timestamp_ms":1787438310000,"timestamp_seconds":1787438310,"priority":1,"record_length":96,"hex_timestamp":"000001a02ba02270"} 
[2026-08-23 04:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-23 04:11:24] 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-08-23 04:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584202752001,"66":27332,"152":206,"80":60928,"24":22,"16":389726861447397376,"45":6118703071648239616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-08-23 04:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584202752001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:11:24] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-23 04:11:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389726861447397376,"km_value":389726861447397.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6118703071648239616,"description":"Unknown IO ID 45"} 
[2026-08-23 04:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584202752001,"power":27332,"unknown_152":206,"unknown_80":60928,"ignition":22,"odometer":null,"unknown_45":6118703071648239616}} 
[2026-08-23 04:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":162837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:11:25] local.INFO: GPS data processed {"connection_id":162837,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:11:25] local.INFO: Acknowledgment sent {"connection_id":162837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:11:47] local.INFO: TCP Data received {"connection_id":160262,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:11:47] local.INFO: Processing buffer {"connection_id":160262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:11:47] local.INFO: IMEI packet received {"connection_id":160262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":160262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:11:52] local.INFO: TCP Data received {"connection_id":160262,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:11:52] local.INFO: Processing buffer {"connection_id":160262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:11:52] local.INFO: IMEI packet received {"connection_id":160262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":160262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:11:53] local.INFO: TCP Data received {"connection_id":160262,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ba060f0012d54c840067fed40003f014b2f..."} 
[2026-08-23 04:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ba060f0012d54c840067fed40003f014b2f..."} 
[2026-08-23 04:11:53] local.INFO: Processing buffer {"connection_id":160262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ba060f0012d54c840067fed40003f014b2f..."} 
[2026-08-23 04:11:53] local.INFO: Packet analysis {"connection_id":160262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ba0"} 
[2026-08-23 04:11:53] local.INFO: Extracted packet for processing {"connection_id":160262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ba0"} 
[2026-08-23 04:11:53] local.INFO: GPS Element Parsed {"raw_longitude":760531008,"raw_latitude":109047104,"longitude_deg":76.0531008,"latitude_deg":10.9047104,"altitude":63,"angle":331,"satellites":47,"speed":21,"hex_longitude":"2d54c840","hex_latitude":"067fed40","is_valid_coordinates":true} 
[2026-08-23 04:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584207360001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389727290944126976,"note":"Value kept but may cause issues"} 
[2026-08-23 04:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6113988365790394368,"note":"Value kept but may cause issues"} 
[2026-08-23 04:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787438326000,"timestamp_ms":1787438326000,"timestamp_seconds":1787438326,"priority":1,"record_length":96,"hex_timestamp":"000001a02ba060f0"} 
[2026-08-23 04:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:11: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-08-23 04:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 04:11: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-08-23 04:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584207360001,"66":27213,"152":206,"80":60928,"24":21,"16":389727290944126976,"45":6113988365790394368},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-08-23 04:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584207360001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:11:53] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-23 04:11:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389727290944126976,"km_value":389727290944127.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6113988365790394368,"description":"Unknown IO ID 45"} 
[2026-08-23 04:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584207360001,"power":27213,"unknown_152":206,"unknown_80":60928,"ignition":21,"odometer":null,"unknown_45":6113988365790394368}} 
[2026-08-23 04:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":160262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:11:53] local.INFO: GPS data processed {"connection_id":160262,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:11:53] local.INFO: Acknowledgment sent {"connection_id":160262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:12:24] local.INFO: TCP Data received {"connection_id":160262,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ba0a740012d54b74006800c080044014a31..."} 
[2026-08-23 04:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ba0a740012d54b74006800c080044014a31..."} 
[2026-08-23 04:12:24] local.INFO: Processing buffer {"connection_id":160262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ba0a740012d54b74006800c080044014a31..."} 
[2026-08-23 04:12:24] local.INFO: Packet analysis {"connection_id":160262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ba0"} 
[2026-08-23 04:12:24] local.INFO: Extracted packet for processing {"connection_id":160262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ba0"} 
[2026-08-23 04:12:24] local.INFO: GPS Element Parsed {"raw_longitude":760526656,"raw_latitude":109054984,"longitude_deg":76.0526656,"latitude_deg":10.9054984,"altitude":68,"angle":330,"satellites":49,"speed":20,"hex_longitude":"2d54b740","hex_latitude":"06800c08","is_valid_coordinates":true} 
[2026-08-23 04:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584211456001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389727729030791168,"note":"Value kept but may cause issues"} 
[2026-08-23 04:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6109203291188314112,"note":"Value kept but may cause issues"} 
[2026-08-23 04:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787438344000,"timestamp_ms":1787438344000,"timestamp_seconds":1787438344,"priority":1,"record_length":96,"hex_timestamp":"000001a02ba0a740"} 
[2026-08-23 04:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 04:12:24] 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-08-23 04:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584211456001,"66":27234,"152":206,"80":60928,"24":20,"16":389727729030791168,"45":6109203291188314112},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-08-23 04:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584211456001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:12:24] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-23 04:12:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389727729030791168,"km_value":389727729030791.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6109203291188314112,"description":"Unknown IO ID 45"} 
[2026-08-23 04:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584211456001,"power":27234,"unknown_152":206,"unknown_80":60928,"ignition":20,"odometer":null,"unknown_45":6109203291188314112}} 
[2026-08-23 04:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":160262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:12:24] local.INFO: GPS data processed {"connection_id":160262,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:12:24] local.INFO: Acknowledgment sent {"connection_id":160262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:12:52] local.INFO: TCP Data received {"connection_id":162838,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:12:52] local.INFO: Processing buffer {"connection_id":162838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:12:52] local.INFO: IMEI packet received {"connection_id":162838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":162838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:12:55] local.INFO: TCP Data received {"connection_id":162838,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:12:55] local.INFO: Processing buffer {"connection_id":162838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:12:55] local.INFO: IMEI packet received {"connection_id":162838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":162838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:12:56] local.INFO: TCP Data received {"connection_id":162838,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ba0ed90012d54a68006802ae80048014b30..."} 
[2026-08-23 04:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ba0ed90012d54a68006802ae80048014b30..."} 
[2026-08-23 04:12:56] local.INFO: Processing buffer {"connection_id":162838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ba0ed90012d54a68006802ae80048014b30..."} 
[2026-08-23 04:12:56] local.INFO: Packet analysis {"connection_id":162838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ba0"} 
[2026-08-23 04:12:56] local.INFO: Extracted packet for processing {"connection_id":162838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ba0"} 
[2026-08-23 04:12:56] local.INFO: GPS Element Parsed {"raw_longitude":760522368,"raw_latitude":109062888,"longitude_deg":76.0522368,"latitude_deg":10.9062888,"altitude":72,"angle":331,"satellites":48,"speed":18,"hex_longitude":"2d54a680","hex_latitude":"06802ae8","is_valid_coordinates":true} 
[2026-08-23 04:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584216064001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389728162822488064,"note":"Value kept but may cause issues"} 
[2026-08-23 04:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6104418216586250240,"note":"Value kept but may cause issues"} 
[2026-08-23 04:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787438362000,"timestamp_ms":1787438362000,"timestamp_seconds":1787438362,"priority":1,"record_length":96,"hex_timestamp":"000001a02ba0ed90"} 
[2026-08-23 04:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:12: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-08-23 04:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 04:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584216064001,"66":27267,"152":206,"80":60928,"24":18,"16":389728162822488064,"45":6104418216586250240},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-08-23 04:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584216064001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:12:56] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-23 04:12:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389728162822488064,"km_value":389728162822488.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6104418216586250240,"description":"Unknown IO ID 45"} 
[2026-08-23 04:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584216064001,"power":27267,"unknown_152":206,"unknown_80":60928,"ignition":18,"odometer":null,"unknown_45":6104418216586250240}} 
[2026-08-23 04:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":162838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:12:56] local.INFO: GPS data processed {"connection_id":162838,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:12:56] local.INFO: Acknowledgment sent {"connection_id":162838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:12:57] local.INFO: TCP Data received {"connection_id":162838,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ba137c8012d549540068049a8004c014b33..."} 
[2026-08-23 04:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ba137c8012d549540068049a8004c014b33..."} 
[2026-08-23 04:12:57] local.INFO: Processing buffer {"connection_id":162838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ba137c8012d549540068049a8004c014b33..."} 
[2026-08-23 04:12:57] local.INFO: Packet analysis {"connection_id":162838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ba1"} 
[2026-08-23 04:12:57] local.INFO: Extracted packet for processing {"connection_id":162838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ba1"} 
[2026-08-23 04:12:57] local.INFO: GPS Element Parsed {"raw_longitude":760517952,"raw_latitude":109070760,"longitude_deg":76.0517952,"latitude_deg":10.907076,"altitude":76,"angle":331,"satellites":51,"speed":20,"hex_longitude":"2d549540","hex_latitude":"068049a8","is_valid_coordinates":true} 
[2026-08-23 04:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584220672001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389728596614184960,"note":"Value kept but may cause issues"} 
[2026-08-23 04:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6099703510728370176,"note":"Value kept but may cause issues"} 
[2026-08-23 04:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787438381000,"timestamp_ms":1787438381000,"timestamp_seconds":1787438381,"priority":1,"record_length":96,"hex_timestamp":"000001a02ba137c8"} 
[2026-08-23 04:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:12: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-08-23 04:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 04:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584220672001,"66":27267,"152":206,"80":60928,"24":20,"16":389728596614184960,"45":6099703510728370176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-08-23 04:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584220672001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:12:57] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-23 04:12:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389728596614184960,"km_value":389728596614184.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6099703510728370176,"description":"Unknown IO ID 45"} 
[2026-08-23 04:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584220672001,"power":27267,"unknown_152":206,"unknown_80":60928,"ignition":20,"odometer":null,"unknown_45":6099703510728370176}} 
[2026-08-23 04:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":162838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:12:57] local.INFO: GPS data processed {"connection_id":162838,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:12:57] local.INFO: Acknowledgment sent {"connection_id":162838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:13:28] local.INFO: TCP Data received {"connection_id":162838,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ba18200012d548140068067e80050014132..."} 
[2026-08-23 04:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ba18200012d548140068067e80050014132..."} 
[2026-08-23 04:13:28] local.INFO: Processing buffer {"connection_id":162838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ba18200012d548140068067e80050014132..."} 
[2026-08-23 04:13:28] local.INFO: Packet analysis {"connection_id":162838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ba1"} 
[2026-08-23 04:13:28] local.INFO: Extracted packet for processing {"connection_id":162838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ba1"} 
[2026-08-23 04:13:28] local.INFO: GPS Element Parsed {"raw_longitude":760512832,"raw_latitude":109078504,"longitude_deg":76.0512832,"latitude_deg":10.9078504,"altitude":80,"angle":321,"satellites":50,"speed":19,"hex_longitude":"2d548140","hex_latitude":"068067e8","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584225536001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389729047585751040,"note":"Value kept but may cause issues"} 
[2026-08-23 04:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6094848067382126592,"note":"Value kept but may cause issues"} 
[2026-08-23 04:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787438400000,"timestamp_ms":1787438400000,"timestamp_seconds":1787438400,"priority":1,"record_length":96,"hex_timestamp":"000001a02ba18200"} 
[2026-08-23 04:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 04:13: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-08-23 04: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-08-23 04:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584225536001,"66":27213,"149":206,"80":60928,"24":19,"16":389729047585751040,"45":6094848067382126592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-23 04:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584225536001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:13:28] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-23 04:13:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389729047585751040,"km_value":389729047585751.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6094848067382126592,"description":"Unknown IO ID 45"} 
[2026-08-23 04:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584225536001,"power":27213,"unknown_149":206,"unknown_80":60928,"ignition":19,"odometer":null,"unknown_45":6094848067382126592}} 
[2026-08-23 04:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":162838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:13:28] local.INFO: GPS data processed {"connection_id":162838,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:13:28] local.INFO: Acknowledgment sent {"connection_id":162838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:13:47] local.INFO: TCP Data received {"connection_id":160454,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:13:47] local.INFO: Processing buffer {"connection_id":160454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:13:47] local.INFO: IMEI packet received {"connection_id":160454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":160454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:13:49] local.INFO: TCP Data received {"connection_id":160454,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:13:49] local.INFO: Processing buffer {"connection_id":160454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:13:49] local.INFO: IMEI packet received {"connection_id":160454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":160454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:13:50] local.INFO: TCP Data received {"connection_id":160454,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ba1bc98012d546e4006807b780055013630..."} 
[2026-08-23 04:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ba1bc98012d546e4006807b780055013630..."} 
[2026-08-23 04:13:50] local.INFO: Processing buffer {"connection_id":160454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ba1bc98012d546e4006807b780055013630..."} 
[2026-08-23 04:13:50] local.INFO: Packet analysis {"connection_id":160454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ba1"} 
[2026-08-23 04:13:50] local.INFO: Extracted packet for processing {"connection_id":160454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ba1"} 
[2026-08-23 04:13:50] local.INFO: GPS Element Parsed {"raw_longitude":760507968,"raw_latitude":109083512,"longitude_deg":76.0507968,"latitude_deg":10.9083512,"altitude":85,"angle":310,"satellites":48,"speed":18,"hex_longitude":"2d546e40","hex_latitude":"06807b78","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584230400001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389729382593200128,"note":"Value kept but may cause issues"} 
[2026-08-23 04:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6089218567849895936,"note":"Value kept but may cause issues"} 
[2026-08-23 04:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787438415000,"timestamp_ms":1787438415000,"timestamp_seconds":1787438415,"priority":1,"record_length":96,"hex_timestamp":"000001a02ba1bc98"} 
[2026-08-23 04:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 04:13:50] 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-08-23 04: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-08-23 04:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":160454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":160454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":160454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584230400001,"66":27245,"152":206,"80":60928,"24":18,"16":389729382593200128,"45":6089218567849895936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-08-23 04:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584230400001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:13:50] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-23 04:13:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389729382593200128,"km_value":389729382593200.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6089218567849895936,"description":"Unknown IO ID 45"} 
[2026-08-23 04:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584230400001,"power":27245,"unknown_152":206,"unknown_80":60928,"ignition":18,"odometer":null,"unknown_45":6089218567849895936}} 
[2026-08-23 04:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":160454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:13:50] local.INFO: GPS data processed {"connection_id":160454,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:13:50] local.INFO: Acknowledgment sent {"connection_id":160454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:14:21] local.INFO: TCP Data received {"connection_id":160454,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ba20ab8012d545140068091c0005b013233..."} 
[2026-08-23 04:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ba20ab8012d545140068091c0005b013233..."} 
[2026-08-23 04:14:21] local.INFO: Processing buffer {"connection_id":160454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ba20ab8012d545140068091c0005b013233..."} 
[2026-08-23 04:14:21] local.INFO: Packet analysis {"connection_id":160454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ba2"} 
[2026-08-23 04:14:21] local.INFO: Extracted packet for processing {"connection_id":160454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ba2"} 
[2026-08-23 04:14:21] local.INFO: GPS Element Parsed {"raw_longitude":760500544,"raw_latitude":109089216,"longitude_deg":76.0500544,"latitude_deg":10.9089216,"altitude":91,"angle":306,"satellites":51,"speed":16,"hex_longitude":"2d545140","hex_latitude":"068091c0","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584234240001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389729833564766208,"note":"Value kept but may cause issues"} 
[2026-08-23 04:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6083870543293675520,"note":"Value kept but may cause issues"} 
[2026-08-23 04:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787438435000,"timestamp_ms":1787438435000,"timestamp_seconds":1787438435,"priority":1,"record_length":96,"hex_timestamp":"000001a02ba20ab8"} 
[2026-08-23 04:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-23 04:14:21] 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-08-23 04: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-08-23 04:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":160454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":160454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":160454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584234240001,"66":27365,"152":206,"80":60928,"24":16,"16":389729833564766208,"45":6083870543293675520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-08-23 04:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584234240001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:14:21] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-23 04:14:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389729833564766208,"km_value":389729833564766.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6083870543293675520,"description":"Unknown IO ID 45"} 
[2026-08-23 04:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584234240001,"power":27365,"unknown_152":206,"unknown_80":60928,"ignition":16,"odometer":null,"unknown_45":6083870543293675520}} 
[2026-08-23 04:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":160454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:14:21] local.INFO: GPS data processed {"connection_id":160454,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:14:21] local.INFO: Acknowledgment sent {"connection_id":160454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:14:47] local.INFO: TCP Data received {"connection_id":161420,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:14:47] local.INFO: Processing buffer {"connection_id":161420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:14:47] local.INFO: IMEI packet received {"connection_id":161420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":161420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:14:57] local.INFO: TCP Data received {"connection_id":161420,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:14:57] local.INFO: Processing buffer {"connection_id":161420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:14:57] local.INFO: IMEI packet received {"connection_id":161420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":161420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:14:58] local.INFO: TCP Data received {"connection_id":161420,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ba4ba38012d5361c0068167680085013930..."} 
[2026-08-23 04:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ba4ba38012d5361c0068167680085013930..."} 
[2026-08-23 04:14:58] local.INFO: Processing buffer {"connection_id":161420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ba4ba38012d5361c0068167680085013930..."} 
[2026-08-23 04:14:58] local.INFO: Packet analysis {"connection_id":161420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ba4"} 
[2026-08-23 04:14:58] local.INFO: Extracted packet for processing {"connection_id":161420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ba4"} 
[2026-08-23 04:14:58] local.INFO: GPS Element Parsed {"raw_longitude":760439232,"raw_latitude":109143912,"longitude_deg":76.0439232,"latitude_deg":10.9143912,"altitude":133,"angle":313,"satellites":48,"speed":19,"hex_longitude":"2d5361c0","hex_latitude":"06816768","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584279296001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389733784934678528,"note":"Value kept but may cause issues"} 
[2026-08-23 04:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6015683230199359488,"note":"Value kept but may cause issues"} 
[2026-08-23 04:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787438611000,"timestamp_ms":1787438611000,"timestamp_seconds":1787438611,"priority":1,"record_length":96,"hex_timestamp":"000001a02ba4ba38"} 
[2026-08-23 04:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:14: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-08-23 04: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-08-23 04: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-08-23 04: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-08-23 04:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584279296001,"66":27321,"153":206,"80":60928,"24":19,"16":389733784934678528,"45":6015683230199359488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-08-23 04:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584279296001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:14:58] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-23 04:14:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389733784934678528,"km_value":389733784934678.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6015683230199359488,"description":"Unknown IO ID 45"} 
[2026-08-23 04:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584279296001,"power":27321,"unknown_153":206,"unknown_80":60928,"ignition":19,"odometer":null,"unknown_45":6015683230199359488}} 
[2026-08-23 04:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":161420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:14:58] local.INFO: GPS data processed {"connection_id":161420,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:14:58] local.INFO: Acknowledgment sent {"connection_id":161420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:15:29] local.INFO: TCP Data received {"connection_id":161420,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ba50470012d534640068180600088013830..."} 
[2026-08-23 04:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ba50470012d534640068180600088013830..."} 
[2026-08-23 04:15:29] local.INFO: Processing buffer {"connection_id":161420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ba50470012d534640068180600088013830..."} 
[2026-08-23 04:15:29] local.INFO: Packet analysis {"connection_id":161420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ba5"} 
[2026-08-23 04:15:29] local.INFO: Extracted packet for processing {"connection_id":161420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ba5"} 
[2026-08-23 04:15:29] local.INFO: GPS Element Parsed {"raw_longitude":760432192,"raw_latitude":109150304,"longitude_deg":76.0432192,"latitude_deg":10.9150304,"altitude":136,"angle":312,"satellites":48,"speed":22,"hex_longitude":"2d534640","hex_latitude":"06818060","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584284416001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389734240201211904,"note":"Value kept but may cause issues"} 
[2026-08-23 04:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6008294512062326784,"note":"Value kept but may cause issues"} 
[2026-08-23 04:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787438630000,"timestamp_ms":1787438630000,"timestamp_seconds":1787438630,"priority":1,"record_length":96,"hex_timestamp":"000001a02ba50470"} 
[2026-08-23 04:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:15: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-08-23 04:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 04:15:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04: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-08-23 04:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584284416001,"66":27343,"61":206,"80":60928,"24":22,"16":389734240201211904,"45":6008294512062326784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,80,24,16,45]} 
[2026-08-23 04:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584284416001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:15:29] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 04:15:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389734240201211904,"km_value":389734240201211.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6008294512062326784,"description":"Unknown IO ID 45"} 
[2026-08-23 04:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584284416001,"power":27343,"unknown_61":206,"unknown_80":60928,"ignition":22,"odometer":null,"unknown_45":6008294512062326784}} 
[2026-08-23 04:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":161420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:15:29] local.INFO: GPS data processed {"connection_id":161420,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:15:29] local.INFO: Acknowledgment sent {"connection_id":161420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:15:47] local.INFO: TCP Data received {"connection_id":162839,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:15:47] local.INFO: Processing buffer {"connection_id":162839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:15:47] local.INFO: IMEI packet received {"connection_id":162839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":162839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:15:51] local.INFO: TCP Data received {"connection_id":162839,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:15:51] local.INFO: Processing buffer {"connection_id":162839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:15:51] local.INFO: IMEI packet received {"connection_id":162839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":162839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:15:52] local.INFO: TCP Data received {"connection_id":162839,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ba53f08012d532cc0068198900089013831..."} 
[2026-08-23 04:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ba53f08012d532cc0068198900089013831..."} 
[2026-08-23 04:15:52] local.INFO: Processing buffer {"connection_id":162839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ba53f08012d532cc0068198900089013831..."} 
[2026-08-23 04:15:52] local.INFO: Packet analysis {"connection_id":162839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ba5"} 
[2026-08-23 04:15:52] local.INFO: Extracted packet for processing {"connection_id":162839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ba5"} 
[2026-08-23 04:15:52] local.INFO: GPS Element Parsed {"raw_longitude":760425664,"raw_latitude":109156496,"longitude_deg":76.0425664,"latitude_deg":10.9156496,"altitude":137,"angle":312,"satellites":49,"speed":24,"hex_longitude":"2d532cc0","hex_latitude":"06819890","is_valid_coordinates":true} 
[2026-08-23 04:15: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-08-23 04:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584289280001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389734673992908800,"note":"Value kept but may cause issues"} 
[2026-08-23 04:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6000553950204420096,"note":"Value kept but may cause issues"} 
[2026-08-23 04:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787438645000,"timestamp_ms":1787438645000,"timestamp_seconds":1787438645,"priority":1,"record_length":96,"hex_timestamp":"000001a02ba53f08"} 
[2026-08-23 04:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:15: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-08-23 04:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 04:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:15: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-08-23 04:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584289280001,"66":27300,"61":206,"80":60928,"24":24,"16":389734673992908800,"45":6000553950204420096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,80,24,16,45]} 
[2026-08-23 04:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584289280001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:15:52] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 04:15:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389734673992908800,"km_value":389734673992908.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":6000553950204420096,"description":"Unknown IO ID 45"} 
[2026-08-23 04:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584289280001,"power":27300,"unknown_61":206,"unknown_80":60928,"ignition":24,"odometer":null,"unknown_45":6000553950204420096}} 
[2026-08-23 04:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":162839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:15:52] local.INFO: GPS data processed {"connection_id":162839,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:15:52] local.INFO: Acknowledgment sent {"connection_id":162839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:16:23] local.INFO: TCP Data received {"connection_id":162839,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ba571d0012d5311c00681b1f8008a013a31..."} 
[2026-08-23 04:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ba571d0012d5311c00681b1f8008a013a31..."} 
[2026-08-23 04:16:23] local.INFO: Processing buffer {"connection_id":162839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ba571d0012d5311c00681b1f8008a013a31..."} 
[2026-08-23 04:16:23] local.INFO: Packet analysis {"connection_id":162839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ba5"} 
[2026-08-23 04:16:23] local.INFO: Extracted packet for processing {"connection_id":162839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ba5"} 
[2026-08-23 04:16:23] local.INFO: GPS Element Parsed {"raw_longitude":760418752,"raw_latitude":109163000,"longitude_deg":76.0418752,"latitude_deg":10.9163,"altitude":138,"angle":314,"satellites":49,"speed":31,"hex_longitude":"2d5311c0","hex_latitude":"0681b1f8","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584293120001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389735129259442176,"note":"Value kept but may cause issues"} 
[2026-08-23 04:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5993376338299883520,"note":"Value kept but may cause issues"} 
[2026-08-23 04:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787438658000,"timestamp_ms":1787438658000,"timestamp_seconds":1787438658,"priority":1,"record_length":96,"hex_timestamp":"000001a02ba571d0"} 
[2026-08-23 04:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 04:16:23] 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-08-23 04: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-08-23 04:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584293120001,"66":27321,"61":206,"80":60928,"24":31,"16":389735129259442176,"45":5993376338299883520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,80,24,16,45]} 
[2026-08-23 04:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584293120001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:16:23] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 04:16:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389735129259442176,"km_value":389735129259442.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5993376338299883520,"description":"Unknown IO ID 45"} 
[2026-08-23 04:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584293120001,"power":27321,"unknown_61":206,"unknown_80":60928,"ignition":31,"odometer":null,"unknown_45":5993376338299883520}} 
[2026-08-23 04:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":162839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:16:23] local.INFO: GPS data processed {"connection_id":162839,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:16:23] local.INFO: Acknowledgment sent {"connection_id":162839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:16:47] local.INFO: TCP Data received {"connection_id":160455,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:16:47] local.INFO: Processing buffer {"connection_id":160455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:16:47] local.INFO: IMEI packet received {"connection_id":160455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":160455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:16:51] local.INFO: TCP Data received {"connection_id":160455,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:16:51] local.INFO: Processing buffer {"connection_id":160455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:16:51] local.INFO: IMEI packet received {"connection_id":160455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":160455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:16:52] local.INFO: TCP Data received {"connection_id":160455,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ba6e4e8012d51d4800682a6300086012f30..."} 
[2026-08-23 04:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ba6e4e8012d51d4800682a6300086012f30..."} 
[2026-08-23 04:16:52] local.INFO: Processing buffer {"connection_id":160455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ba6e4e8012d51d4800682a6300086012f30..."} 
[2026-08-23 04:16:52] local.INFO: Packet analysis {"connection_id":160455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ba6"} 
[2026-08-23 04:16:52] local.INFO: Extracted packet for processing {"connection_id":160455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ba6"} 
[2026-08-23 04:16:52] local.INFO: GPS Element Parsed {"raw_longitude":760337536,"raw_latitude":109225520,"longitude_deg":76.0337536,"latitude_deg":10.922552,"altitude":134,"angle":303,"satellites":48,"speed":34,"hex_longitude":"2d51d480","hex_latitude":"0682a630","is_valid_coordinates":true} 
[2026-08-23 04:16: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-08-23 04:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584318208001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5905345039350073344,"note":"Value kept but may cause issues"} 
[2026-08-23 04:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389740064176865280,"note":"Value kept but may cause issues"} 
[2026-08-23 04:16:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,80,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 04:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787438753000,"timestamp_ms":1787438753000,"timestamp_seconds":1787438753,"priority":1,"record_length":96,"hex_timestamp":"000001a02ba6e4e8"} 
[2026-08-23 04:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:16: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-08-23 04:16: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":185,"data_length":795,"current_offset":136} 
[2026-08-23 04:16:52] 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-08-23 04:16: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-08-23 04:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584318208001,"66":27463,"45":5905345039350073344,"80":60928,"24":34,"16":389740064176865280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,80,24,16]} 
[2026-08-23 04:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584318208001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5905345039350073344,"description":"Unknown IO ID 45"} 
[2026-08-23 04:16:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389740064176865280,"km_value":389740064176865.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:16:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457584318208001,"power":27463,"unknown_45":5905345039350073344,"unknown_80":60928,"ignition":34,"odometer":null}} 
[2026-08-23 04:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":160455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:16:52] local.INFO: GPS data processed {"connection_id":160455,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:16:52] local.INFO: Acknowledgment sent {"connection_id":160455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:17:24] local.INFO: TCP Data received {"connection_id":160455,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ba70bf8012d51b7800682bb08008801352e..."} 
[2026-08-23 04:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ba70bf8012d51b7800682bb08008801352e..."} 
[2026-08-23 04:17:24] local.INFO: Processing buffer {"connection_id":160455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ba70bf8012d51b7800682bb08008801352e..."} 
[2026-08-23 04:17:24] local.INFO: Packet analysis {"connection_id":160455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ba7"} 
[2026-08-23 04:17:24] local.INFO: Extracted packet for processing {"connection_id":160455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ba7"} 
[2026-08-23 04:17:24] local.INFO: GPS Element Parsed {"raw_longitude":760330112,"raw_latitude":109230856,"longitude_deg":76.0330112,"latitude_deg":10.9230856,"altitude":136,"angle":309,"satellites":46,"speed":36,"hex_longitude":"2d51b780","hex_latitude":"0682bb08","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584320768001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5896478577584910336,"note":"Value kept but may cause issues"} 
[2026-08-23 04:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389740497968562176,"note":"Value kept but may cause issues"} 
[2026-08-23 04:17:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,80,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 04:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787438763000,"timestamp_ms":1787438763000,"timestamp_seconds":1787438763,"priority":1,"record_length":96,"hex_timestamp":"000001a02ba70bf8"} 
[2026-08-23 04:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04: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-08-23 04: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-23 04:17: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-08-23 04: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-08-23 04:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584320768001,"66":27213,"45":5896478577584910336,"80":60928,"24":36,"16":389740497968562176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,80,24,16]} 
[2026-08-23 04:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584320768001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5896478577584910336,"description":"Unknown IO ID 45"} 
[2026-08-23 04:17:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389740497968562176,"km_value":389740497968562.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:17:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457584320768001,"power":27213,"unknown_45":5896478577584910336,"unknown_80":60928,"ignition":36,"odometer":null}} 
[2026-08-23 04:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":160455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:17:24] local.INFO: GPS data processed {"connection_id":160455,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:17:24] local.INFO: Acknowledgment sent {"connection_id":160455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:17:47] local.INFO: TCP Data received {"connection_id":161421,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:17:47] local.INFO: Processing buffer {"connection_id":161421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:17:47] local.INFO: IMEI packet received {"connection_id":161421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":161421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:17:47] local.INFO: TCP Data received {"connection_id":161421,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:17:47] local.INFO: Processing buffer {"connection_id":161421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:17:47] local.INFO: IMEI packet received {"connection_id":161421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":161421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:17:52] local.INFO: TCP Data received {"connection_id":161421,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:17:52] local.INFO: Processing buffer {"connection_id":161421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:17:52] local.INFO: IMEI packet received {"connection_id":161421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":161421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:17:53] local.INFO: TCP Data received {"connection_id":161421,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ba73308012d519cc00682d2d8008b013a2f..."} 
[2026-08-23 04:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ba73308012d519cc00682d2d8008b013a2f..."} 
[2026-08-23 04:17:53] local.INFO: Processing buffer {"connection_id":161421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ba73308012d519cc00682d2d8008b013a2f..."} 
[2026-08-23 04:17:53] local.INFO: Packet analysis {"connection_id":161421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ba7"} 
[2026-08-23 04:17:53] local.INFO: Extracted packet for processing {"connection_id":161421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ba7"} 
[2026-08-23 04:17:53] local.INFO: GPS Element Parsed {"raw_longitude":760323264,"raw_latitude":109236952,"longitude_deg":76.0323264,"latitude_deg":10.9236952,"altitude":139,"angle":314,"satellites":47,"speed":34,"hex_longitude":"2d519cc0","hex_latitude":"0682d2d8","is_valid_coordinates":true} 
[2026-08-23 04:17: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-08-23 04:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584323328001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389740940350193664,"note":"Value kept but may cause issues"} 
[2026-08-23 04:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5888315803261667328,"note":"Value kept but may cause issues"} 
[2026-08-23 04:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787438773000,"timestamp_ms":1787438773000,"timestamp_seconds":1787438773,"priority":1,"record_length":96,"hex_timestamp":"000001a02ba73308"} 
[2026-08-23 04:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:17: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-08-23 04:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 04:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:17: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-08-23 04:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584323328001,"66":27343,"173":206,"80":60928,"24":34,"16":389740940350193664,"45":5888315803261667328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,80,24,16,45]} 
[2026-08-23 04:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584323328001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:17:53] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-23 04:17:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389740940350193664,"km_value":389740940350193.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5888315803261667328,"description":"Unknown IO ID 45"} 
[2026-08-23 04:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584323328001,"power":27343,"unknown_173":206,"unknown_80":60928,"ignition":34,"odometer":null,"unknown_45":5888315803261667328}} 
[2026-08-23 04:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":161421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:17:53] local.INFO: GPS data processed {"connection_id":161421,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:17:53] local.INFO: Acknowledgment sent {"connection_id":161421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:18:24] local.INFO: TCP Data received {"connection_id":161421,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ba75e00012d5184400682ecf0008c013f21..."} 
[2026-08-23 04:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ba75e00012d5184400682ecf0008c013f21..."} 
[2026-08-23 04:18:24] local.INFO: Processing buffer {"connection_id":161421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ba75e00012d5184400682ecf0008c013f21..."} 
[2026-08-23 04:18:24] local.INFO: Packet analysis {"connection_id":161421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ba7"} 
[2026-08-23 04:18:24] local.INFO: Extracted packet for processing {"connection_id":161421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ba7"} 
[2026-08-23 04:18:24] local.INFO: GPS Element Parsed {"raw_longitude":760316992,"raw_latitude":109243632,"longitude_deg":76.0316992,"latitude_deg":10.9243632,"altitude":140,"angle":319,"satellites":33,"speed":32,"hex_longitude":"2d518440","hex_latitude":"0682ecf0","is_valid_coordinates":true} 
[2026-08-23 04:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584325888001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389741378436857856,"note":"Value kept but may cause issues"} 
[2026-08-23 04:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5880786347636217856,"note":"Value kept but may cause issues"} 
[2026-08-23 04:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787438784000,"timestamp_ms":1787438784000,"timestamp_seconds":1787438784,"priority":1,"record_length":96,"hex_timestamp":"000001a02ba75e00"} 
[2026-08-23 04:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:18: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-08-23 04:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 04:18:24] 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-08-23 04:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584325888001,"66":27365,"173":206,"80":60928,"24":32,"16":389741378436857856,"45":5880786347636217856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,80,24,16,45]} 
[2026-08-23 04:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584325888001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:18:24] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-23 04:18:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389741378436857856,"km_value":389741378436857.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5880786347636217856,"description":"Unknown IO ID 45"} 
[2026-08-23 04:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584325888001,"power":27365,"unknown_173":206,"unknown_80":60928,"ignition":32,"odometer":null,"unknown_45":5880786347636217856}} 
[2026-08-23 04:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":161421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:18:24] local.INFO: GPS data processed {"connection_id":161421,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:18:24] local.INFO: Acknowledgment sent {"connection_id":161421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:18:47] local.INFO: TCP Data received {"connection_id":162840,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:18:47] local.INFO: Processing buffer {"connection_id":162840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:18:47] local.INFO: IMEI packet received {"connection_id":162840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":162840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:18:49] local.INFO: TCP Data received {"connection_id":162840,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:18:49] local.INFO: Processing buffer {"connection_id":162840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:18:49] local.INFO: IMEI packet received {"connection_id":162840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":162840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:18:52] local.INFO: TCP Data received {"connection_id":162840,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:18:52] local.INFO: Processing buffer {"connection_id":162840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:18:52] local.INFO: IMEI packet received {"connection_id":162840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":162840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:18:53] local.INFO: TCP Data received {"connection_id":162840,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ba78ce0012d516d0006830a48008e01422d..."} 
[2026-08-23 04:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ba78ce0012d516d0006830a48008e01422d..."} 
[2026-08-23 04:18:53] local.INFO: Processing buffer {"connection_id":162840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ba78ce0012d516d0006830a48008e01422d..."} 
[2026-08-23 04:18:53] local.INFO: Packet analysis {"connection_id":162840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ba7"} 
[2026-08-23 04:18:53] local.INFO: Extracted packet for processing {"connection_id":162840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ba7"} 
[2026-08-23 04:18:53] local.INFO: GPS Element Parsed {"raw_longitude":760311040,"raw_latitude":109251144,"longitude_deg":76.031104,"latitude_deg":10.9251144,"altitude":142,"angle":322,"satellites":45,"speed":30,"hex_longitude":"2d516d00","hex_latitude":"06830a48","is_valid_coordinates":true} 
[2026-08-23 04:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584328704001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389741842293325824,"note":"Value kept but may cause issues"} 
[2026-08-23 04:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5873890210708516864,"note":"Value kept but may cause issues"} 
[2026-08-23 04:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787438796000,"timestamp_ms":1787438796000,"timestamp_seconds":1787438796,"priority":1,"record_length":96,"hex_timestamp":"000001a02ba78ce0"} 
[2026-08-23 04:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:18: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-08-23 04:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 04:18: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-08-23 04:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584328704001,"66":27365,"173":206,"80":60928,"24":30,"16":389741842293325824,"45":5873890210708516864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,80,24,16,45]} 
[2026-08-23 04:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584328704001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:18:53] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-23 04:18:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389741842293325824,"km_value":389741842293325.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5873890210708516864,"description":"Unknown IO ID 45"} 
[2026-08-23 04:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584328704001,"power":27365,"unknown_173":206,"unknown_80":60928,"ignition":30,"odometer":null,"unknown_45":5873890210708516864}} 
[2026-08-23 04:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":162840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:18:53] local.INFO: GPS data processed {"connection_id":162840,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:18:53] local.INFO: Acknowledgment sent {"connection_id":162840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:19:25] local.INFO: TCP Data received {"connection_id":162840,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ba7bbc0012d515580068325d8008f013c30..."} 
[2026-08-23 04:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ba7bbc0012d515580068325d8008f013c30..."} 
[2026-08-23 04:19:25] local.INFO: Processing buffer {"connection_id":162840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ba7bbc0012d515580068325d8008f013c30..."} 
[2026-08-23 04:19:25] local.INFO: Packet analysis {"connection_id":162840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ba7"} 
[2026-08-23 04:19:25] local.INFO: Extracted packet for processing {"connection_id":162840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ba7"} 
[2026-08-23 04:19:25] local.INFO: GPS Element Parsed {"raw_longitude":760305024,"raw_latitude":109258200,"longitude_deg":76.0305024,"latitude_deg":10.92582,"altitude":143,"angle":316,"satellites":48,"speed":32,"hex_longitude":"2d515580","hex_latitude":"068325d8","is_valid_coordinates":true} 
[2026-08-23 04:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584331776001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389742288969924608,"note":"Value kept but may cause issues"} 
[2026-08-23 04:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5867345917501917184,"note":"Value kept but may cause issues"} 
[2026-08-23 04:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787438808000,"timestamp_ms":1787438808000,"timestamp_seconds":1787438808,"priority":1,"record_length":96,"hex_timestamp":"000001a02ba7bbc0"} 
[2026-08-23 04:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 04:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584331776001,"66":27397,"173":206,"80":60928,"24":32,"16":389742288969924608,"45":5867345917501917184},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,80,24,16,45]} 
[2026-08-23 04:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584331776001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:19:25] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-23 04:19:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389742288969924608,"km_value":389742288969924.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5867345917501917184,"description":"Unknown IO ID 45"} 
[2026-08-23 04:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584331776001,"power":27397,"unknown_173":206,"unknown_80":60928,"ignition":32,"odometer":null,"unknown_45":5867345917501917184}} 
[2026-08-23 04:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":162840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:19:25] local.INFO: GPS data processed {"connection_id":162840,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:19:25] local.INFO: Acknowledgment sent {"connection_id":162840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:19:52] local.INFO: TCP Data received {"connection_id":161422,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:19:52] local.INFO: Processing buffer {"connection_id":161422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:19:52] local.INFO: IMEI packet received {"connection_id":161422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":161422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:19:53] local.INFO: TCP Data received {"connection_id":161422,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:19:53] local.INFO: Processing buffer {"connection_id":161422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:19:53] local.INFO: IMEI packet received {"connection_id":161422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":161422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:19:57] local.INFO: TCP Data received {"connection_id":161422,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:19:57] local.INFO: Processing buffer {"connection_id":161422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:19:57] local.INFO: IMEI packet received {"connection_id":161422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":161422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:19:58] local.INFO: TCP Data received {"connection_id":161422,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ba7e6b8012d513bc006833ef00091013830..."} 
[2026-08-23 04:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ba7e6b8012d513bc006833ef00091013830..."} 
[2026-08-23 04:19:58] local.INFO: Processing buffer {"connection_id":161422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ba7e6b8012d513bc006833ef00091013830..."} 
[2026-08-23 04:19:58] local.INFO: Packet analysis {"connection_id":161422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ba7"} 
[2026-08-23 04:19:58] local.INFO: Extracted packet for processing {"connection_id":161422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ba7"} 
[2026-08-23 04:19:58] local.INFO: GPS Element Parsed {"raw_longitude":760298432,"raw_latitude":109264624,"longitude_deg":76.0298432,"latitude_deg":10.9264624,"altitude":145,"angle":312,"satellites":48,"speed":33,"hex_longitude":"2d513bc0","hex_latitude":"06833ef0","is_valid_coordinates":true} 
[2026-08-23 04:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584334848001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389742731351556096,"note":"Value kept but may cause issues"} 
[2026-08-23 04:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5860731255551023104,"note":"Value kept but may cause issues"} 
[2026-08-23 04:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787438819000,"timestamp_ms":1787438819000,"timestamp_seconds":1787438819,"priority":1,"record_length":96,"hex_timestamp":"000001a02ba7e6b8"} 
[2026-08-23 04:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 04:19: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-08-23 04:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584334848001,"66":27376,"173":206,"80":60928,"24":33,"16":389742731351556096,"45":5860731255551023104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,80,24,16,45]} 
[2026-08-23 04:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584334848001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:19:58] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-23 04:19:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389742731351556096,"km_value":389742731351556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5860731255551023104,"description":"Unknown IO ID 45"} 
[2026-08-23 04:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584334848001,"power":27376,"unknown_173":206,"unknown_80":60928,"ignition":33,"odometer":null,"unknown_45":5860731255551023104}} 
[2026-08-23 04:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":161422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:19:58] local.INFO: GPS data processed {"connection_id":161422,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:19:58] local.INFO: Acknowledgment sent {"connection_id":161422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:20:03] local.INFO: TCP Data received {"connection_id":161422,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ba80dc8012d512240068352980091012d2f..."} 
[2026-08-23 04:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ba80dc8012d512240068352980091012d2f..."} 
[2026-08-23 04:20:03] local.INFO: Processing buffer {"connection_id":161422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ba80dc8012d512240068352980091012d2f..."} 
[2026-08-23 04:20:03] local.INFO: Packet analysis {"connection_id":161422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ba8"} 
[2026-08-23 04:20:03] local.INFO: Extracted packet for processing {"connection_id":161422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ba8"} 
[2026-08-23 04:20:03] local.INFO: GPS Element Parsed {"raw_longitude":760291904,"raw_latitude":109269656,"longitude_deg":76.0291904,"latitude_deg":10.9269656,"altitude":145,"angle":301,"satellites":47,"speed":30,"hex_longitude":"2d512240","hex_latitude":"06835298","is_valid_coordinates":true} 
[2026-08-23 04:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584337664001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389743126488547328,"note":"Value kept but may cause issues"} 
[2026-08-23 04:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5853483274902368256,"note":"Value kept but may cause issues"} 
[2026-08-23 04:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787438829000,"timestamp_ms":1787438829000,"timestamp_seconds":1787438829,"priority":1,"record_length":96,"hex_timestamp":"000001a02ba80dc8"} 
[2026-08-23 04:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:20: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-08-23 04:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 04:20: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-08-23 04:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584337664001,"66":27213,"173":206,"80":60928,"24":30,"16":389743126488547328,"45":5853483274902368256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,80,24,16,45]} 
[2026-08-23 04:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584337664001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:20:03] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-23 04:20:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389743126488547328,"km_value":389743126488547.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5853483274902368256,"description":"Unknown IO ID 45"} 
[2026-08-23 04:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584337664001,"power":27213,"unknown_173":206,"unknown_80":60928,"ignition":30,"odometer":null,"unknown_45":5853483274902368256}} 
[2026-08-23 04:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":161422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:20:03] local.INFO: GPS data processed {"connection_id":161422,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:20:03] local.INFO: Acknowledgment sent {"connection_id":161422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:20:47] local.INFO: TCP Data received {"connection_id":160456,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:20:47] local.INFO: Processing buffer {"connection_id":160456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:20:47] local.INFO: IMEI packet received {"connection_id":160456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":160456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:20:48] local.INFO: TCP Data received {"connection_id":160456,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:20:48] local.INFO: Processing buffer {"connection_id":160456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:20:48] local.INFO: IMEI packet received {"connection_id":160456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":160456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:20:52] local.INFO: TCP Data received {"connection_id":160456,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:20:52] local.INFO: Processing buffer {"connection_id":160456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:20:52] local.INFO: IMEI packet received {"connection_id":160456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":160456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:20:53] local.INFO: TCP Data received {"connection_id":160456,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ba82150012d511640068358b8009101202e..."} 
[2026-08-23 04:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ba82150012d511640068358b8009101202e..."} 
[2026-08-23 04:20:53] local.INFO: Processing buffer {"connection_id":160456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ba82150012d511640068358b8009101202e..."} 
[2026-08-23 04:20:53] local.INFO: Packet analysis {"connection_id":160456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ba8"} 
[2026-08-23 04:20:53] local.INFO: Extracted packet for processing {"connection_id":160456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ba8"} 
[2026-08-23 04:20:53] local.INFO: GPS Element Parsed {"raw_longitude":760288832,"raw_latitude":109271224,"longitude_deg":76.0288832,"latitude_deg":10.9271224,"altitude":145,"angle":288,"satellites":46,"speed":24,"hex_longitude":"2d511640","hex_latitude":"068358b8","is_valid_coordinates":true} 
[2026-08-23 04:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584340224001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389743289697304576,"note":"Value kept but may cause issues"} 
[2026-08-23 04:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5846305662997534720,"note":"Value kept but may cause issues"} 
[2026-08-23 04:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787438834000,"timestamp_ms":1787438834000,"timestamp_seconds":1787438834,"priority":1,"record_length":96,"hex_timestamp":"000001a02ba82150"} 
[2026-08-23 04:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:20: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-08-23 04:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 04:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584340224001,"66":27115,"173":206,"80":60928,"24":24,"16":389743289697304576,"45":5846305662997534720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,80,24,16,45]} 
[2026-08-23 04:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584340224001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:20:53] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-23 04:20:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389743289697304576,"km_value":389743289697304.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5846305662997534720,"description":"Unknown IO ID 45"} 
[2026-08-23 04:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584340224001,"power":27115,"unknown_173":206,"unknown_80":60928,"ignition":24,"odometer":null,"unknown_45":5846305662997534720}} 
[2026-08-23 04:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":160456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:20:53] local.INFO: GPS data processed {"connection_id":160456,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:20:53] local.INFO: Acknowledgment sent {"connection_id":160456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:20:54] local.INFO: TCP Data received {"connection_id":160456,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ba83ca8012d51090006835e58008f012c2e..."} 
[2026-08-23 04:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ba83ca8012d51090006835e58008f012c2e..."} 
[2026-08-23 04:20:54] local.INFO: Processing buffer {"connection_id":160456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ba83ca8012d51090006835e58008f012c2e..."} 
[2026-08-23 04:20:54] local.INFO: Packet analysis {"connection_id":160456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ba8"} 
[2026-08-23 04:20:54] local.INFO: Extracted packet for processing {"connection_id":160456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ba8"} 
[2026-08-23 04:20:54] local.INFO: GPS Element Parsed {"raw_longitude":760285440,"raw_latitude":109272664,"longitude_deg":76.028544,"latitude_deg":10.9272664,"altitude":143,"angle":300,"satellites":46,"speed":17,"hex_longitude":"2d510900","hex_latitude":"06835e58","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584341504001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389743470085931008,"note":"Value kept but may cause issues"} 
[2026-08-23 04:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5842927963277408256,"note":"Value kept but may cause issues"} 
[2026-08-23 04:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787438841000,"timestamp_ms":1787438841000,"timestamp_seconds":1787438841,"priority":1,"record_length":96,"hex_timestamp":"000001a02ba83ca8"} 
[2026-08-23 04:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:20: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-08-23 04: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-23 04:20:54] 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-08-23 04: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-08-23 04:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584341504001,"66":27137,"173":206,"80":60928,"24":17,"16":389743470085931008,"45":5842927963277408256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,80,24,16,45]} 
[2026-08-23 04:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584341504001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:20:54] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-23 04:20:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389743470085931008,"km_value":389743470085931.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5842927963277408256,"description":"Unknown IO ID 45"} 
[2026-08-23 04:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584341504001,"power":27137,"unknown_173":206,"unknown_80":60928,"ignition":17,"odometer":null,"unknown_45":5842927963277408256}} 
[2026-08-23 04:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":160456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:20:54] local.INFO: GPS data processed {"connection_id":160456,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:20:54] local.INFO: Acknowledgment sent {"connection_id":160456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:21:26] local.INFO: TCP Data received {"connection_id":160456,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02baae458012d50e880068372000090012931..."} 
[2026-08-23 04:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02baae458012d50e880068372000090012931..."} 
[2026-08-23 04:21:26] local.INFO: Processing buffer {"connection_id":160456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02baae458012d50e880068372000090012931..."} 
[2026-08-23 04:21:26] local.INFO: Packet analysis {"connection_id":160456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02baa"} 
[2026-08-23 04:21:26] local.INFO: Extracted packet for processing {"connection_id":160456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02baa"} 
[2026-08-23 04:21:26] local.INFO: GPS Element Parsed {"raw_longitude":760277120,"raw_latitude":109277696,"longitude_deg":76.027712,"latitude_deg":10.9277696,"altitude":144,"angle":297,"satellites":49,"speed":23,"hex_longitude":"2d50e880","hex_latitude":"06837200","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584386560001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389743942532333568,"note":"Value kept but may cause issues"} 
[2026-08-23 04:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5832443020396210176,"note":"Value kept but may cause issues"} 
[2026-08-23 04:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787439015000,"timestamp_ms":1787439015000,"timestamp_seconds":1787439015,"priority":1,"record_length":96,"hex_timestamp":"000001a02baae458"} 
[2026-08-23 04:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 04:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04: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-08-23 04:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584386560001,"66":27267,"173":206,"80":60928,"24":23,"16":389743942532333568,"45":5832443020396210176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,80,24,16,45]} 
[2026-08-23 04:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584386560001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:21:26] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-23 04:21:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389743942532333568,"km_value":389743942532333.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5832443020396210176,"description":"Unknown IO ID 45"} 
[2026-08-23 04:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584386560001,"power":27267,"unknown_173":206,"unknown_80":60928,"ignition":23,"odometer":null,"unknown_45":5832443020396210176}} 
[2026-08-23 04:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":160456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:21:26] local.INFO: GPS data processed {"connection_id":160456,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:21:26] local.INFO: Acknowledgment sent {"connection_id":160456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:21:47] local.INFO: TCP Data received {"connection_id":161423,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:21:47] local.INFO: Processing buffer {"connection_id":161423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:21:47] local.INFO: IMEI packet received {"connection_id":161423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":161423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:22:01] local.INFO: TCP Data received {"connection_id":161423,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 04:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161423,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 04:22:01] local.INFO: Processing buffer {"connection_id":161423,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 04:22:01] local.INFO: IMEI packet received {"connection_id":161423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":161423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:22:02] local.INFO: TCP Data received {"connection_id":161423,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bab1b08012d50c4c006837f90008f011e30..."} 
[2026-08-23 04:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bab1b08012d50c4c006837f90008f011e30..."} 
[2026-08-23 04:22:02] local.INFO: Processing buffer {"connection_id":161423,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a02b..."} 
[2026-08-23 04:22:02] local.INFO: IMEI packet received {"connection_id":161423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":161423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:22:03] local.INFO: TCP Data received {"connection_id":161423,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bab4218012d50a000068387f0008f01182f..."} 
[2026-08-23 04:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bab4218012d50a000068387f0008f01182f..."} 
[2026-08-23 04:22:03] local.INFO: Processing buffer {"connection_id":161423,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a02bab1b08012d50c4c006837f90008f011e30..."} 
[2026-08-23 04:22:03] local.INFO: Packet analysis {"connection_id":161423,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02bab"} 
[2026-08-23 04:22:03] local.INFO: Extracted packet for processing {"connection_id":161423,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bab"} 
[2026-08-23 04:22:03] local.INFO: GPS Element Parsed {"raw_longitude":760267968,"raw_latitude":109281168,"longitude_deg":76.0267968,"latitude_deg":10.9281168,"altitude":143,"angle":286,"satellites":48,"speed":33,"hex_longitude":"2d50c4c0","hex_latitude":"06837f90","is_valid_coordinates":true} 
[2026-08-23 04:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584387840001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389744406388801536,"note":"Value kept but may cause issues"} 
[2026-08-23 04:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5830050483094552576,"note":"Value kept but may cause issues"} 
[2026-08-23 04:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787439029000,"timestamp_ms":1787439029000,"timestamp_seconds":1787439029,"priority":1,"record_length":96,"hex_timestamp":"000001a02bab1b08"} 
[2026-08-23 04:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:22: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-08-23 04:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 04:22: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-08-23 04:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584387840001,"66":27267,"173":206,"80":60928,"24":33,"16":389744406388801536,"45":5830050483094552576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,80,24,16,45]} 
[2026-08-23 04:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584387840001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:22:03] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-23 04:22:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389744406388801536,"km_value":389744406388801.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5830050483094552576,"description":"Unknown IO ID 45"} 
[2026-08-23 04:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584387840001,"power":27267,"unknown_173":206,"unknown_80":60928,"ignition":33,"odometer":null,"unknown_45":5830050483094552576}} 
[2026-08-23 04:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":161423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:22:03] local.INFO: GPS data processed {"connection_id":161423,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:22:03] local.INFO: Acknowledgment sent {"connection_id":161423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:22:03] local.INFO: Packet analysis {"connection_id":161423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bab"} 
[2026-08-23 04:22:03] local.INFO: Extracted packet for processing {"connection_id":161423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bab"} 
[2026-08-23 04:22:03] local.INFO: GPS Element Parsed {"raw_longitude":760258560,"raw_latitude":109283312,"longitude_deg":76.025856,"latitude_deg":10.9283312,"altitude":143,"angle":280,"satellites":47,"speed":40,"hex_longitude":"2d50a000","hex_latitude":"068387f0","is_valid_coordinates":true} 
[2026-08-23 04:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584391424001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389744865950302208,"note":"Value kept but may cause issues"} 
[2026-08-23 04:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5819987752678035456,"note":"Value kept but may cause issues"} 
[2026-08-23 04:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787439039000,"timestamp_ms":1787439039000,"timestamp_seconds":1787439039,"priority":1,"record_length":96,"hex_timestamp":"000001a02bab4218"} 
[2026-08-23 04:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:22: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-08-23 04:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 04:22: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-08-23 04:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584391424001,"66":27463,"174":206,"80":60928,"24":40,"16":389744865950302208,"45":5819987752678035456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,80,24,16,45]} 
[2026-08-23 04:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584391424001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:22:03] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-23 04:22:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389744865950302208,"km_value":389744865950302.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5819987752678035456,"description":"Unknown IO ID 45"} 
[2026-08-23 04:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584391424001,"power":27463,"unknown_174":206,"unknown_80":60928,"ignition":40,"odometer":null,"unknown_45":5819987752678035456}} 
[2026-08-23 04:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":161423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:22:03] local.INFO: GPS data processed {"connection_id":161423,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:22:03] local.INFO: Acknowledgment sent {"connection_id":161423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:22:03] local.INFO: TCP Data received {"connection_id":161423,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bab6540012d507a8006838da8008f011630..."} 
[2026-08-23 04:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bab6540012d507a8006838da8008f011630..."} 
[2026-08-23 04:22:03] local.INFO: Processing buffer {"connection_id":161423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bab6540012d507a8006838da8008f011630..."} 
[2026-08-23 04:22:03] local.INFO: Packet analysis {"connection_id":161423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bab"} 
[2026-08-23 04:22:03] local.INFO: Extracted packet for processing {"connection_id":161423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bab"} 
[2026-08-23 04:22:03] local.INFO: GPS Element Parsed {"raw_longitude":760248960,"raw_latitude":109284776,"longitude_deg":76.024896,"latitude_deg":10.9284776,"altitude":143,"angle":278,"satellites":48,"speed":45,"hex_longitude":"2d507a80","hex_latitude":"06838da8","is_valid_coordinates":true} 
[2026-08-23 04:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584393984001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389745329806770176,"note":"Value kept but may cause issues"} 
[2026-08-23 04:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5809643547284467712,"note":"Value kept but may cause issues"} 
[2026-08-23 04:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787439048000,"timestamp_ms":1787439048000,"timestamp_seconds":1787439048,"priority":1,"record_length":96,"hex_timestamp":"000001a02bab6540"} 
[2026-08-23 04:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:22: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-08-23 04:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-23 04:22: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-08-23 04:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584393984001,"66":27343,"174":206,"80":60928,"24":45,"16":389745329806770176,"45":5809643547284467712},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,80,24,16,45]} 
[2026-08-23 04:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584393984001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:22:03] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-23 04:22:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389745329806770176,"km_value":389745329806770.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5809643547284467712,"description":"Unknown IO ID 45"} 
[2026-08-23 04:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584393984001,"power":27343,"unknown_174":206,"unknown_80":60928,"ignition":45,"odometer":null,"unknown_45":5809643547284467712}} 
[2026-08-23 04:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":161423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:22:03] local.INFO: GPS data processed {"connection_id":161423,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:22:03] local.INFO: Acknowledgment sent {"connection_id":161423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:22:46] local.INFO: TCP Data received {"connection_id":162841,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:22:46] local.INFO: Processing buffer {"connection_id":162841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:22:46] local.INFO: IMEI packet received {"connection_id":162841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":162841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:22:47] local.INFO: TCP Data received {"connection_id":162841,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:22:47] local.INFO: Processing buffer {"connection_id":162841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:22:47] local.INFO: IMEI packet received {"connection_id":162841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":162841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:22:50] local.INFO: TCP Data received {"connection_id":162841,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:22:50] local.INFO: Processing buffer {"connection_id":162841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:22:50] local.INFO: IMEI packet received {"connection_id":162841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":162841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:22:51] local.INFO: TCP Data received {"connection_id":162841,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bac6ee0012d4ed8800683cb200074011631..."} 
[2026-08-23 04:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bac6ee0012d4ed8800683cb200074011631..."} 
[2026-08-23 04:22:51] local.INFO: Processing buffer {"connection_id":162841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bac6ee0012d4ed8800683cb200074011631..."} 
[2026-08-23 04:22:51] local.INFO: Packet analysis {"connection_id":162841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bac"} 
[2026-08-23 04:22:51] local.INFO: Extracted packet for processing {"connection_id":162841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bac"} 
[2026-08-23 04:22:51] local.INFO: GPS Element Parsed {"raw_longitude":760141952,"raw_latitude":109300512,"longitude_deg":76.0141952,"latitude_deg":10.9300512,"altitude":116,"angle":278,"satellites":49,"speed":72,"hex_longitude":"2d4ed880","hex_latitude":"0683cb20","is_valid_coordinates":true} 
[2026-08-23 04:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584412416001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389750479472558080,"note":"Value kept but may cause issues"} 
[2026-08-23 04:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5691424057070082048,"note":"Value kept but may cause issues"} 
[2026-08-23 04:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787439116000,"timestamp_ms":1787439116000,"timestamp_seconds":1787439116,"priority":1,"record_length":96,"hex_timestamp":"000001a02bac6ee0"} 
[2026-08-23 04:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 04:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:22: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-08-23 04:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584412416001,"66":27365,"183":206,"80":60928,"24":72,"16":389750479472558080,"45":5691424057070082048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,80,24,16,45]} 
[2026-08-23 04:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584412416001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:22:51] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-23 04:22:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389750479472558080,"km_value":389750479472558.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5691424057070082048,"description":"Unknown IO ID 45"} 
[2026-08-23 04:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584412416001,"power":27365,"unknown_183":206,"unknown_80":60928,"ignition":72,"odometer":null,"unknown_45":5691424057070082048}} 
[2026-08-23 04:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":162841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:22:51] local.INFO: GPS data processed {"connection_id":162841,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:22:51] local.INFO: Acknowledgment sent {"connection_id":162841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:23:22] local.INFO: TCP Data received {"connection_id":162841,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bac8268012d4eb4c00683d0a00072011830..."} 
[2026-08-23 04:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bac8268012d4eb4c00683d0a00072011830..."} 
[2026-08-23 04:23:22] local.INFO: Processing buffer {"connection_id":162841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bac8268012d4eb4c00683d0a00072011830..."} 
[2026-08-23 04:23:22] local.INFO: Packet analysis {"connection_id":162841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bac"} 
[2026-08-23 04:23:22] local.INFO: Extracted packet for processing {"connection_id":162841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bac"} 
[2026-08-23 04:23:22] local.INFO: GPS Element Parsed {"raw_longitude":760132800,"raw_latitude":109301920,"longitude_deg":76.01328,"latitude_deg":10.930192,"altitude":114,"angle":280,"satellites":48,"speed":73,"hex_longitude":"2d4eb4c0","hex_latitude":"0683d0a0","is_valid_coordinates":true} 
[2026-08-23 04:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584413696001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389750917559222272,"note":"Value kept but may cause issues"} 
[2026-08-23 04:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5681431695397167104,"note":"Value kept but may cause issues"} 
[2026-08-23 04:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787439121000,"timestamp_ms":1787439121000,"timestamp_seconds":1787439121,"priority":1,"record_length":96,"hex_timestamp":"000001a02bac8268"} 
[2026-08-23 04:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 04:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584413696001,"66":27267,"183":206,"80":60928,"24":73,"16":389750917559222272,"45":5681431695397167104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,80,24,16,45]} 
[2026-08-23 04:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584413696001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:23:22] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-23 04:23:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389750917559222272,"km_value":389750917559222.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5681431695397167104,"description":"Unknown IO ID 45"} 
[2026-08-23 04:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584413696001,"power":27267,"unknown_183":206,"unknown_80":60928,"ignition":73,"odometer":null,"unknown_45":5681431695397167104}} 
[2026-08-23 04:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":162841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:23:22] local.INFO: GPS data processed {"connection_id":162841,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:23:22] local.INFO: Acknowledgment sent {"connection_id":162841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:23:48] local.INFO: TCP Data received {"connection_id":161424,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:23:48] local.INFO: Processing buffer {"connection_id":161424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:23:48] local.INFO: IMEI packet received {"connection_id":161424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":161424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:23:49] local.INFO: TCP Data received {"connection_id":161424,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:23:49] local.INFO: Processing buffer {"connection_id":161424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:23:49] local.INFO: IMEI packet received {"connection_id":161424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":161424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:23:52] local.INFO: TCP Data received {"connection_id":161424,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:23:52] local.INFO: Processing buffer {"connection_id":161424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:23:52] local.INFO: IMEI packet received {"connection_id":161424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":161424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:23:52] local.INFO: TCP Data received {"connection_id":161424,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bac9208012d4e99400683d8700070012531..."} 
[2026-08-23 04:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bac9208012d4e99400683d8700070012531..."} 
[2026-08-23 04:23:52] local.INFO: Processing buffer {"connection_id":161424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bac9208012d4e99400683d8700070012531..."} 
[2026-08-23 04:23:52] local.INFO: Packet analysis {"connection_id":161424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bac"} 
[2026-08-23 04:23:52] local.INFO: Extracted packet for processing {"connection_id":161424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bac"} 
[2026-08-23 04:23:52] local.INFO: GPS Element Parsed {"raw_longitude":760125760,"raw_latitude":109303920,"longitude_deg":76.012576,"latitude_deg":10.930392,"altitude":112,"angle":293,"satellites":49,"speed":72,"hex_longitude":"2d4e9940","hex_latitude":"0683d870","is_valid_coordinates":true} 
[2026-08-23 04:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584414976001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389751269746540544,"note":"Value kept but may cause issues"} 
[2026-08-23 04:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5671368964980121600,"note":"Value kept but may cause issues"} 
[2026-08-23 04:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787439125000,"timestamp_ms":1787439125000,"timestamp_seconds":1787439125,"priority":1,"record_length":96,"hex_timestamp":"000001a02bac9208"} 
[2026-08-23 04:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 04:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584414976001,"66":27321,"183":206,"80":60928,"24":72,"16":389751269746540544,"45":5671368964980121600},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,80,24,16,45]} 
[2026-08-23 04:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584414976001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:23:52] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-23 04:23:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389751269746540544,"km_value":389751269746540.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5671368964980121600,"description":"Unknown IO ID 45"} 
[2026-08-23 04:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584414976001,"power":27321,"unknown_183":206,"unknown_80":60928,"ignition":72,"odometer":null,"unknown_45":5671368964980121600}} 
[2026-08-23 04:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":161424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:23:52] local.INFO: GPS data processed {"connection_id":161424,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:23:52] local.INFO: Acknowledgment sent {"connection_id":161424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:24:23] local.INFO: TCP Data received {"connection_id":161424,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bade9c8012d4d33800684ad400078013a2d..."} 
[2026-08-23 04:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bade9c8012d4d33800684ad400078013a2d..."} 
[2026-08-23 04:24:23] local.INFO: Processing buffer {"connection_id":161424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bade9c8012d4d33800684ad400078013a2d..."} 
[2026-08-23 04:24:23] local.INFO: Packet analysis {"connection_id":161424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bad"} 
[2026-08-23 04:24:23] local.INFO: Extracted packet for processing {"connection_id":161424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bad"} 
[2026-08-23 04:24:23] local.INFO: GPS Element Parsed {"raw_longitude":760034176,"raw_latitude":109358400,"longitude_deg":76.0034176,"latitude_deg":10.93584,"altitude":120,"angle":314,"satellites":45,"speed":61,"hex_longitude":"2d4d3380","hex_latitude":"0684ad40","is_valid_coordinates":true} 
[2026-08-23 04:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584436992001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389756586916052992,"note":"Value kept but may cause issues"} 
[2026-08-23 04:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5570319448353886208,"note":"Value kept but may cause issues"} 
[2026-08-23 04:24:23] 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-08-23 04:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787439213000,"timestamp_ms":1787439213000,"timestamp_seconds":1787439213,"priority":1,"record_length":96,"hex_timestamp":"000001a02bade9c8"} 
[2026-08-23 04:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 04:24:23] 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-08-23 04:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584436992001,"66":27484,"103":206,"80":60928,"24":61,"16":389756586916052992,"45":5570319448353886208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-23 04:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584436992001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:24:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 04:24:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389756586916052992,"km_value":389756586916053.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5570319448353886208,"description":"Unknown IO ID 45"} 
[2026-08-23 04:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584436992001,"power":27484,"unknown_103":206,"unknown_80":60928,"ignition":61,"odometer":null,"unknown_45":5570319448353886208}} 
[2026-08-23 04:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":161424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:24:23] local.INFO: GPS data processed {"connection_id":161424,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:24:23] local.INFO: Acknowledgment sent {"connection_id":161424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:24:47] local.INFO: TCP Data received {"connection_id":161425,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:24:47] local.INFO: Processing buffer {"connection_id":161425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:24:47] local.INFO: IMEI packet received {"connection_id":161425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":161425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:24:48] local.INFO: TCP Data received {"connection_id":161425,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:24:48] local.INFO: Processing buffer {"connection_id":161425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:24:48] local.INFO: IMEI packet received {"connection_id":161425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":161425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:24:52] local.INFO: TCP Data received {"connection_id":161425,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:24:52] local.INFO: Processing buffer {"connection_id":161425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:24:52] local.INFO: IMEI packet received {"connection_id":161425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":161425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:24:54] local.INFO: TCP Data received {"connection_id":161425,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bae0138012d4d19400684c6d80075013c2e..."} 
[2026-08-23 04:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bae0138012d4d19400684c6d80075013c2e..."} 
[2026-08-23 04:24:54] local.INFO: Processing buffer {"connection_id":161425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bae0138012d4d19400684c6d80075013c2e..."} 
[2026-08-23 04:24:54] local.INFO: Packet analysis {"connection_id":161425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bae"} 
[2026-08-23 04:24:54] local.INFO: Extracted packet for processing {"connection_id":161425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bae"} 
[2026-08-23 04:24:54] local.INFO: GPS Element Parsed {"raw_longitude":760027456,"raw_latitude":109364952,"longitude_deg":76.0027456,"latitude_deg":10.9364952,"altitude":117,"angle":316,"satellites":46,"speed":62,"hex_longitude":"2d4d1940","hex_latitude":"0684c6d8","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584438528001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389757037887619072,"note":"Value kept but may cause issues"} 
[2026-08-23 04:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5562930730216800256,"note":"Value kept but may cause issues"} 
[2026-08-23 04:24:54] 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-08-23 04:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787439219000,"timestamp_ms":1787439219000,"timestamp_seconds":1787439219,"priority":1,"record_length":96,"hex_timestamp":"000001a02bae0138"} 
[2026-08-23 04:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 04:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04: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-08-23 04:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584438528001,"66":27517,"103":206,"80":60928,"24":62,"16":389757037887619072,"45":5562930730216800256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-23 04:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584438528001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:24:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 04:24:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389757037887619072,"km_value":389757037887619.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5562930730216800256,"description":"Unknown IO ID 45"} 
[2026-08-23 04:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584438528001,"power":27517,"unknown_103":206,"unknown_80":60928,"ignition":62,"odometer":null,"unknown_45":5562930730216800256}} 
[2026-08-23 04:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":161425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:24:54] local.INFO: GPS data processed {"connection_id":161425,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:24:54] local.INFO: Acknowledgment sent {"connection_id":161425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:25:50] local.INFO: TCP Data received {"connection_id":161425,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bae18a8012d4d01400684e3080072014530..."} 
[2026-08-23 04:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bae18a8012d4d01400684e3080072014530..."} 
[2026-08-23 04:25:50] local.INFO: Processing buffer {"connection_id":161425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bae18a8012d4d01400684e3080072014530..."} 
[2026-08-23 04:25:50] local.INFO: Packet analysis {"connection_id":161425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bae"} 
[2026-08-23 04:25:50] local.INFO: Extracted packet for processing {"connection_id":161425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bae"} 
[2026-08-23 04:25:50] local.INFO: GPS Element Parsed {"raw_longitude":760021312,"raw_latitude":109372168,"longitude_deg":76.0021312,"latitude_deg":10.9372168,"altitude":114,"angle":325,"satellites":48,"speed":63,"hex_longitude":"2d4d0140","hex_latitude":"0684e308","is_valid_coordinates":true} 
[2026-08-23 04:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584440064001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389757493154152448,"note":"Value kept but may cause issues"} 
[2026-08-23 04:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5555542012079822848,"note":"Value kept but may cause issues"} 
[2026-08-23 04:25:50] 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-08-23 04:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787439225000,"timestamp_ms":1787439225000,"timestamp_seconds":1787439225,"priority":1,"record_length":96,"hex_timestamp":"000001a02bae18a8"} 
[2026-08-23 04:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 04:25:50] 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-08-23 04:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584440064001,"66":27267,"103":206,"80":60928,"24":63,"16":389757493154152448,"45":5555542012079822848},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-23 04:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584440064001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:25:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 04:25:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389757493154152448,"km_value":389757493154152.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5555542012079822848,"description":"Unknown IO ID 45"} 
[2026-08-23 04:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584440064001,"power":27267,"unknown_103":206,"unknown_80":60928,"ignition":63,"odometer":null,"unknown_45":5555542012079822848}} 
[2026-08-23 04:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":161425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:25:50] local.INFO: GPS data processed {"connection_id":161425,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:25:50] local.INFO: Acknowledgment sent {"connection_id":161425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:25:52] local.INFO: TCP Data received {"connection_id":160457,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:25:52] local.INFO: Processing buffer {"connection_id":160457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:25:52] local.INFO: IMEI packet received {"connection_id":160457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":160457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:25:56] local.INFO: TCP Data received {"connection_id":160457,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:25:56] local.INFO: Processing buffer {"connection_id":160457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:25:56] local.INFO: IMEI packet received {"connection_id":160457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":160457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:25:57] local.INFO: TCP Data received {"connection_id":160457,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:25:57] local.INFO: Processing buffer {"connection_id":160457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:25:57] local.INFO: IMEI packet received {"connection_id":160457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":160457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:25:58] local.INFO: TCP Data received {"connection_id":160457,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02baf2630012d4cfec0068603680077002833..."} 
[2026-08-23 04:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02baf2630012d4cfec0068603680077002833..."} 
[2026-08-23 04:25:58] local.INFO: Processing buffer {"connection_id":160457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02baf2630012d4cfec0068603680077002833..."} 
[2026-08-23 04:25:58] local.INFO: Packet analysis {"connection_id":160457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02baf"} 
[2026-08-23 04:25:58] local.INFO: Extracted packet for processing {"connection_id":160457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02baf"} 
[2026-08-23 04:25:58] local.INFO: GPS Element Parsed {"raw_longitude":760020672,"raw_latitude":109445992,"longitude_deg":76.0020672,"latitude_deg":10.9445992,"altitude":119,"angle":40,"satellites":51,"speed":40,"hex_longitude":"2d4cfec0","hex_latitude":"06860368","is_valid_coordinates":true} 
[2026-08-23 04:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584456704001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389761551898247168,"note":"Value kept but may cause issues"} 
[2026-08-23 04:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5541046050798073856,"note":"Value kept but may cause issues"} 
[2026-08-23 04:25:58] 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-08-23 04:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787439294000,"timestamp_ms":1787439294000,"timestamp_seconds":1787439294,"priority":1,"record_length":96,"hex_timestamp":"000001a02baf2630"} 
[2026-08-23 04:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-23 04:25: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-08-23 04:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584456704001,"66":27343,"103":206,"80":60928,"24":40,"16":389761551898247168,"45":5541046050798073856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-23 04:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584456704001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:25:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 04:25:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-08-23 04:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389761551898247168,"km_value":389761551898247.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5541046050798073856,"description":"Unknown IO ID 45"} 
[2026-08-23 04:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584456704001,"power":27343,"unknown_103":206,"unknown_80":60928,"ignition":40,"odometer":null,"unknown_45":5541046050798073856}} 
[2026-08-23 04:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":160457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:25:58] local.INFO: GPS data processed {"connection_id":160457,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:25:58] local.INFO: Acknowledgment sent {"connection_id":160457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:26:50] local.INFO: TCP Data received {"connection_id":162842,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:26:50] local.INFO: Processing buffer {"connection_id":162842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:26:50] local.INFO: IMEI packet received {"connection_id":162842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":162842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:26:52] local.INFO: TCP Data received {"connection_id":162842,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:26:52] local.INFO: Processing buffer {"connection_id":162842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:26:52] local.INFO: IMEI packet received {"connection_id":162842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":162842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:26:55] local.INFO: TCP Data received {"connection_id":162842,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:26:55] local.INFO: Processing buffer {"connection_id":162842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:26:55] local.INFO: IMEI packet received {"connection_id":162842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":162842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:26:56] local.INFO: TCP Data received {"connection_id":162842,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb02be8012d4da98006874ea00063000d30..."} 
[2026-08-23 04:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb02be8012d4da98006874ea00063000d30..."} 
[2026-08-23 04:26:56] local.INFO: Processing buffer {"connection_id":162842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb02be8012d4da98006874ea00063000d30..."} 
[2026-08-23 04:26:56] local.INFO: Packet analysis {"connection_id":162842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb0"} 
[2026-08-23 04:26:56] local.INFO: Extracted packet for processing {"connection_id":162842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb0"} 
[2026-08-23 04:26:56] local.INFO: GPS Element Parsed {"raw_longitude":760064384,"raw_latitude":109530784,"longitude_deg":76.0064384,"latitude_deg":10.9530784,"altitude":99,"angle":13,"satellites":48,"speed":69,"hex_longitude":"2d4da980","hex_latitude":"06874ea0","is_valid_coordinates":true} 
[2026-08-23 04:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584474880001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389766263477370880,"note":"Value kept but may cause issues"} 
[2026-08-23 04:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5593330027743107072,"note":"Value kept but may cause issues"} 
[2026-08-23 04:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787439361000,"timestamp_ms":1787439361000,"timestamp_seconds":1787439361,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb02be8"} 
[2026-08-23 04:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 04:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584474880001,"66":27463,"237":206,"86":48896,"24":69,"16":389766263477370880,"45":5593330027743107072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-08-23 04:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584474880001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:26:56] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 04:26:56] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389766263477370880,"km_value":389766263477370.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5593330027743107072,"description":"Unknown IO ID 45"} 
[2026-08-23 04:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584474880001,"power":27463,"unknown_237":206,"unknown_86":48896,"ignition":69,"odometer":null,"unknown_45":5593330027743107072}} 
[2026-08-23 04:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":162842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:26:56] local.INFO: GPS data processed {"connection_id":162842,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:26:56] local.INFO: Acknowledgment sent {"connection_id":162842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:26:57] local.INFO: TCP Data received {"connection_id":162842,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb04358012d4db440068776880061000f30..."} 
[2026-08-23 04:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb04358012d4db440068776880061000f30..."} 
[2026-08-23 04:26:57] local.INFO: Processing buffer {"connection_id":162842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb04358012d4db440068776880061000f30..."} 
[2026-08-23 04:26:57] local.INFO: Packet analysis {"connection_id":162842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb0"} 
[2026-08-23 04:26:57] local.INFO: Extracted packet for processing {"connection_id":162842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb0"} 
[2026-08-23 04:26:57] local.INFO: GPS Element Parsed {"raw_longitude":760067136,"raw_latitude":109541000,"longitude_deg":76.0067136,"latitude_deg":10.9541,"altitude":97,"angle":15,"satellites":48,"speed":70,"hex_longitude":"2d4db440","hex_latitude":"06877688","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584476416001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389766774578479104,"note":"Value kept but may cause issues"} 
[2026-08-23 04:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5596144777512787968,"note":"Value kept but may cause issues"} 
[2026-08-23 04:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787439367000,"timestamp_ms":1787439367000,"timestamp_seconds":1787439367,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb04358"} 
[2026-08-23 04:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-23 04:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04: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-08-23 04:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584476416001,"66":27484,"237":206,"86":48896,"24":70,"16":389766774578479104,"45":5596144777512787968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-08-23 04:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584476416001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:26:57] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 04:26:57] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389766774578479104,"km_value":389766774578479.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5596144777512787968,"description":"Unknown IO ID 45"} 
[2026-08-23 04:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584476416001,"power":27484,"unknown_237":206,"unknown_86":48896,"ignition":70,"odometer":null,"unknown_45":5596144777512787968}} 
[2026-08-23 04:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":162842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:26:57] local.INFO: GPS data processed {"connection_id":162842,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:26:57] local.INFO: Acknowledgment sent {"connection_id":162842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:27:28] local.INFO: TCP Data received {"connection_id":162842,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb056e0012d4dbd8006879828005e000f2f..."} 
[2026-08-23 04:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb056e0012d4dbd8006879828005e000f2f..."} 
[2026-08-23 04:27:28] local.INFO: Processing buffer {"connection_id":162842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb056e0012d4dbd8006879828005e000f2f..."} 
[2026-08-23 04:27:28] local.INFO: Packet analysis {"connection_id":162842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb0"} 
[2026-08-23 04:27:28] local.INFO: Extracted packet for processing {"connection_id":162842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb0"} 
[2026-08-23 04:27:28] local.INFO: GPS Element Parsed {"raw_longitude":760069504,"raw_latitude":109549608,"longitude_deg":76.0069504,"latitude_deg":10.9549608,"altitude":94,"angle":15,"satellites":47,"speed":71,"hex_longitude":"2d4dbd80","hex_latitude":"06879828","is_valid_coordinates":true} 
[2026-08-23 04:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584477952001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389767208370176000,"note":"Value kept but may cause issues"} 
[2026-08-23 04:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5599170633515042816,"note":"Value kept but may cause issues"} 
[2026-08-23 04:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787439372000,"timestamp_ms":1787439372000,"timestamp_seconds":1787439372,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb056e0"} 
[2026-08-23 04:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 04:27: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-08-23 04:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584477952001,"66":27321,"237":206,"86":48896,"24":71,"16":389767208370176000,"45":5599170633515042816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-08-23 04:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584477952001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:27:28] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 04:27:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389767208370176000,"km_value":389767208370176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5599170633515042816,"description":"Unknown IO ID 45"} 
[2026-08-23 04:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584477952001,"power":27321,"unknown_237":206,"unknown_86":48896,"ignition":71,"odometer":null,"unknown_45":5599170633515042816}} 
[2026-08-23 04:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":162842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:27:28] local.INFO: GPS data processed {"connection_id":162842,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:27:28] local.INFO: Acknowledgment sent {"connection_id":162842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:27:46] local.INFO: TCP Data received {"connection_id":160458,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:27:46] local.INFO: Processing buffer {"connection_id":160458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:27:46] local.INFO: IMEI packet received {"connection_id":160458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":160458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:27:47] local.INFO: TCP Data received {"connection_id":160458,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:27:47] local.INFO: Processing buffer {"connection_id":160458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:27:47] local.INFO: IMEI packet received {"connection_id":160458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":160458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:27:52] local.INFO: TCP Data received {"connection_id":160458,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:27:52] local.INFO: Processing buffer {"connection_id":160458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:27:52] local.INFO: IMEI packet received {"connection_id":160458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":160458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:27:53] local.INFO: TCP Data received {"connection_id":160458,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb06a68012d4dc7000687ba58005a000e31..."} 
[2026-08-23 04:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb06a68012d4dc7000687ba58005a000e31..."} 
[2026-08-23 04:27:53] local.INFO: Processing buffer {"connection_id":160458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb06a68012d4dc7000687ba58005a000e31..."} 
[2026-08-23 04:27:53] local.INFO: Packet analysis {"connection_id":160458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb0"} 
[2026-08-23 04:27:53] local.INFO: Extracted packet for processing {"connection_id":160458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb0"} 
[2026-08-23 04:27:53] local.INFO: GPS Element Parsed {"raw_longitude":760071936,"raw_latitude":109558360,"longitude_deg":76.0071936,"latitude_deg":10.955836,"altitude":90,"angle":14,"satellites":49,"speed":72,"hex_longitude":"2d4dc700","hex_latitude":"0687ba58","is_valid_coordinates":true} 
[2026-08-23 04:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584479232001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389767646456840192,"note":"Value kept but may cause issues"} 
[2026-08-23 04:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5601774277051820032,"note":"Value kept but may cause issues"} 
[2026-08-23 04:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787439377000,"timestamp_ms":1787439377000,"timestamp_seconds":1787439377,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb06a68"} 
[2026-08-23 04:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:27: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-08-23 04:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 04:27:53] 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-08-23 04:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584479232001,"66":27463,"237":206,"86":48896,"24":72,"16":389767646456840192,"45":5601774277051820032},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-08-23 04:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584479232001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:27:53] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 04:27:53] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389767646456840192,"km_value":389767646456840.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5601774277051820032,"description":"Unknown IO ID 45"} 
[2026-08-23 04:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584479232001,"power":27463,"unknown_237":206,"unknown_86":48896,"ignition":72,"odometer":null,"unknown_45":5601774277051820032}} 
[2026-08-23 04:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":160458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:27:53] local.INFO: GPS data processed {"connection_id":160458,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:27:53] local.INFO: Acknowledgment sent {"connection_id":160458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:28:24] local.INFO: TCP Data received {"connection_id":160458,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb17408012d4de58006894a30005c000b30..."} 
[2026-08-23 04:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb17408012d4de58006894a30005c000b30..."} 
[2026-08-23 04:28:24] local.INFO: Processing buffer {"connection_id":160458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb17408012d4de58006894a30005c000b30..."} 
[2026-08-23 04:28:24] local.INFO: Packet analysis {"connection_id":160458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb1"} 
[2026-08-23 04:28:24] local.INFO: Extracted packet for processing {"connection_id":160458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb1"} 
[2026-08-23 04:28:24] local.INFO: GPS Element Parsed {"raw_longitude":760079744,"raw_latitude":109660720,"longitude_deg":76.0079744,"latitude_deg":10.966072,"altitude":92,"angle":11,"satellites":48,"speed":42,"hex_longitude":"2d4de580","hex_latitude":"06894a30","is_valid_coordinates":true} 
[2026-08-23 04:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584497920001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389772688748445696,"note":"Value kept but may cause issues"} 
[2026-08-23 04:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613033276148690944,"note":"Value kept but may cause issues"} 
[2026-08-23 04:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787439445000,"timestamp_ms":1787439445000,"timestamp_seconds":1787439445,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb17408"} 
[2026-08-23 04:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:28: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-08-23 04:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 04:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584497920001,"66":27365,"121":206,"86":48896,"24":42,"16":389772688748445696,"45":5613033276148690944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,86,24,16,45]} 
[2026-08-23 04:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584497920001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:28:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-23 04:28:24] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389772688748445696,"km_value":389772688748445.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613033276148690944,"description":"Unknown IO ID 45"} 
[2026-08-23 04:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584497920001,"power":27365,"unknown_121":206,"unknown_86":48896,"ignition":42,"odometer":null,"unknown_45":5613033276148690944}} 
[2026-08-23 04:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":160458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:28:24] local.INFO: GPS data processed {"connection_id":160458,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:28:24] local.INFO: Acknowledgment sent {"connection_id":160458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:28:57] local.INFO: TCP Data received {"connection_id":162843,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:28:57] local.INFO: Processing buffer {"connection_id":162843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:28:57] local.INFO: IMEI packet received {"connection_id":162843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":162843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:29:02] local.INFO: TCP Data received {"connection_id":162843,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:29:02] local.INFO: Processing buffer {"connection_id":162843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:29:02] local.INFO: IMEI packet received {"connection_id":162843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":162843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:29:03] local.INFO: TCP Data received {"connection_id":162843,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb19730012d4def4006896cb0005f001132..."} 
[2026-08-23 04:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb19730012d4def4006896cb0005f001132..."} 
[2026-08-23 04:29:03] local.INFO: Processing buffer {"connection_id":162843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb19730012d4def4006896cb0005f001132..."} 
[2026-08-23 04:29:03] local.INFO: Packet analysis {"connection_id":162843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb1"} 
[2026-08-23 04:29:03] local.INFO: Extracted packet for processing {"connection_id":162843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb1"} 
[2026-08-23 04:29:03] local.INFO: GPS Element Parsed {"raw_longitude":760082240,"raw_latitude":109669552,"longitude_deg":76.008224,"latitude_deg":10.9669552,"altitude":95,"angle":17,"satellites":50,"speed":39,"hex_longitude":"2d4def40","hex_latitude":"06896cb0","is_valid_coordinates":true} 
[2026-08-23 04:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584497920001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389773131130077184,"note":"Value kept but may cause issues"} 
[2026-08-23 04:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613033276148690944,"note":"Value kept but may cause issues"} 
[2026-08-23 04:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787439454000,"timestamp_ms":1787439454000,"timestamp_seconds":1787439454,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb19730"} 
[2026-08-23 04:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:29: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-08-23 04:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 04:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584497920001,"66":27300,"121":206,"86":48896,"24":39,"16":389773131130077184,"45":5613033276148690944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,86,24,16,45]} 
[2026-08-23 04:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584497920001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:29:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-23 04:29:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389773131130077184,"km_value":389773131130077.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613033276148690944,"description":"Unknown IO ID 45"} 
[2026-08-23 04:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584497920001,"power":27300,"unknown_121":206,"unknown_86":48896,"ignition":39,"odometer":null,"unknown_45":5613033276148690944}} 
[2026-08-23 04:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":162843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:29:03] local.INFO: GPS data processed {"connection_id":162843,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:29:03] local.INFO: Acknowledgment sent {"connection_id":162843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:29:46] local.INFO: TCP Data received {"connection_id":160459,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:29:46] local.INFO: Processing buffer {"connection_id":160459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:29:46] local.INFO: IMEI packet received {"connection_id":160459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":160459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:29:47] local.INFO: TCP Data received {"connection_id":160459,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:29:47] local.INFO: Processing buffer {"connection_id":160459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:29:47] local.INFO: IMEI packet received {"connection_id":160459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":160459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:29:51] local.INFO: TCP Data received {"connection_id":160459,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:29:51] local.INFO: Processing buffer {"connection_id":160459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:29:51] local.INFO: IMEI packet received {"connection_id":160459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":160459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:29:52] local.INFO: TCP Data received {"connection_id":160459,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb2eef0012d4dae80068aabe8006a01352f..."} 
[2026-08-23 04:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb2eef0012d4dae80068aabe8006a01352f..."} 
[2026-08-23 04:29:52] local.INFO: Processing buffer {"connection_id":160459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb2eef0012d4dae80068aabe8006a01352f..."} 
[2026-08-23 04:29:52] local.INFO: Packet analysis {"connection_id":160459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb2"} 
[2026-08-23 04:29:52] local.INFO: Extracted packet for processing {"connection_id":160459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb2"} 
[2026-08-23 04:29:52] local.INFO: GPS Element Parsed {"raw_longitude":760065664,"raw_latitude":109751272,"longitude_deg":76.0065664,"latitude_deg":10.9751272,"altitude":106,"angle":309,"satellites":47,"speed":55,"hex_longitude":"2d4dae80","hex_latitude":"068aabe8","is_valid_coordinates":true} 
[2026-08-23 04:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584520960001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389777576421228544,"note":"Value kept but may cause issues"} 
[2026-08-23 04:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5605714926775764992,"note":"Value kept but may cause issues"} 
[2026-08-23 04:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787439542000,"timestamp_ms":1787439542000,"timestamp_seconds":1787439542,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb2eef0"} 
[2026-08-23 04:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:29: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-08-23 04:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 04:29:52] 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-08-23 04:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584520960001,"66":27365,"94":206,"86":48896,"24":55,"16":389777576421228544,"45":5605714926775764992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,86,24,16,45]} 
[2026-08-23 04:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584520960001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:29:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-23 04:29:52] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389777576421228544,"km_value":389777576421228.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5605714926775764992,"description":"Unknown IO ID 45"} 
[2026-08-23 04:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584520960001,"power":27365,"unknown_94":206,"unknown_86":48896,"ignition":55,"odometer":null,"unknown_45":5605714926775764992}} 
[2026-08-23 04:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":160459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:29:52] local.INFO: GPS data processed {"connection_id":160459,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:29:52] local.INFO: Acknowledgment sent {"connection_id":160459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:30:23] local.INFO: TCP Data received {"connection_id":160459,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb30660012d4d9280068abdf80067012930..."} 
[2026-08-23 04:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb30660012d4d9280068abdf80067012930..."} 
[2026-08-23 04:30:23] local.INFO: Processing buffer {"connection_id":160459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb30660012d4d9280068abdf80067012930..."} 
[2026-08-23 04:30:23] local.INFO: Packet analysis {"connection_id":160459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb3"} 
[2026-08-23 04:30:23] local.INFO: Extracted packet for processing {"connection_id":160459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb3"} 
[2026-08-23 04:30:23] local.INFO: GPS Element Parsed {"raw_longitude":760058496,"raw_latitude":109755896,"longitude_deg":76.0058496,"latitude_deg":10.9755896,"altitude":103,"angle":297,"satellites":48,"speed":57,"hex_longitude":"2d4d9280","hex_latitude":"068abdf8","is_valid_coordinates":true} 
[2026-08-23 04:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584522752001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389777984443121664,"note":"Value kept but may cause issues"} 
[2026-08-23 04:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5597552152452786176,"note":"Value kept but may cause issues"} 
[2026-08-23 04:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787439548000,"timestamp_ms":1787439548000,"timestamp_seconds":1787439548,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb30660"} 
[2026-08-23 04:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 04:30:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584522752001,"66":27365,"106":206,"86":48896,"24":57,"16":389777984443121664,"45":5597552152452786176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,86,24,16,45]} 
[2026-08-23 04:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584522752001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:30:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 04:30:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389777984443121664,"km_value":389777984443121.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5597552152452786176,"description":"Unknown IO ID 45"} 
[2026-08-23 04:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584522752001,"power":27365,"unknown_106":206,"unknown_86":48896,"ignition":57,"odometer":null,"unknown_45":5597552152452786176}} 
[2026-08-23 04:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":160459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:30:23] local.INFO: GPS data processed {"connection_id":160459,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:30:23] local.INFO: Acknowledgment sent {"connection_id":160459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:30:51] local.INFO: TCP Data received {"connection_id":161426,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:30:51] local.INFO: Processing buffer {"connection_id":161426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:30:51] local.INFO: IMEI packet received {"connection_id":161426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":161426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:30:52] local.INFO: TCP Data received {"connection_id":161426,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:30:52] local.INFO: Processing buffer {"connection_id":161426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:30:52] local.INFO: IMEI packet received {"connection_id":161426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":161426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:30:56] local.INFO: TCP Data received {"connection_id":161426,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:30:56] local.INFO: Processing buffer {"connection_id":161426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:30:56] local.INFO: IMEI packet received {"connection_id":161426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":161426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:30:57] local.INFO: TCP Data received {"connection_id":161426,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb3f0c0012d4c0040068b0610003901172d..."} 
[2026-08-23 04:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb3f0c0012d4c0040068b0610003901172d..."} 
[2026-08-23 04:30:57] local.INFO: Processing buffer {"connection_id":161426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb3f0c0012d4c0040068b0610003901172d..."} 
[2026-08-23 04:30:57] local.INFO: Packet analysis {"connection_id":161426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb3"} 
[2026-08-23 04:30:57] local.INFO: Extracted packet for processing {"connection_id":161426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb3"} 
[2026-08-23 04:30:57] local.INFO: GPS Element Parsed {"raw_longitude":759955520,"raw_latitude":109774352,"longitude_deg":75.995552,"latitude_deg":10.9774352,"altitude":57,"angle":279,"satellites":45,"speed":76,"hex_longitude":"2d4c0040","hex_latitude":"068b0610","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584538368001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389782975195119616,"note":"Value kept but may cause issues"} 
[2026-08-23 04:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5486651011634327552,"note":"Value kept but may cause issues"} 
[2026-08-23 04:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787439608000,"timestamp_ms":1787439608000,"timestamp_seconds":1787439608,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb3f0c0"} 
[2026-08-23 04:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:30: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-08-23 04: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 04:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04: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-08-23 04:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584538368001,"66":27300,"187":206,"86":48896,"24":76,"16":389782975195119616,"45":5486651011634327552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-08-23 04:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584538368001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:30:57] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 04:30:57] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389782975195119616,"km_value":389782975195119.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5486651011634327552,"description":"Unknown IO ID 45"} 
[2026-08-23 04:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584538368001,"power":27300,"unknown_187":206,"unknown_86":48896,"ignition":76,"odometer":null,"unknown_45":5486651011634327552}} 
[2026-08-23 04:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":161426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:30:57] local.INFO: GPS data processed {"connection_id":161426,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:30:57] local.INFO: Acknowledgment sent {"connection_id":161426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:31:36] local.INFO: TCP Data received {"connection_id":161426,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb40448012d4bdb80068b0bd8003501172e..."} 
[2026-08-23 04:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb40448012d4bdb80068b0bd8003501172e..."} 
[2026-08-23 04:31:36] local.INFO: Processing buffer {"connection_id":161426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb40448012d4bdb80068b0bd8003501172e..."} 
[2026-08-23 04:31:36] local.INFO: Packet analysis {"connection_id":161426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb4"} 
[2026-08-23 04:31:36] local.INFO: Extracted packet for processing {"connection_id":161426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb4"} 
[2026-08-23 04:31:36] local.INFO: GPS Element Parsed {"raw_longitude":759946112,"raw_latitude":109775832,"longitude_deg":75.9946112,"latitude_deg":10.9775832,"altitude":53,"angle":279,"satellites":46,"speed":72,"hex_longitude":"2d4bdb80","hex_latitude":"068b0bd8","is_valid_coordinates":true} 
[2026-08-23 04:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584539648001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389783426166685696,"note":"Value kept but may cause issues"} 
[2026-08-23 04:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5476447543728934912,"note":"Value kept but may cause issues"} 
[2026-08-23 04:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787439613000,"timestamp_ms":1787439613000,"timestamp_seconds":1787439613,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb40448"} 
[2026-08-23 04:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:31: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-08-23 04:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 04:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584539648001,"66":27245,"187":206,"86":48896,"24":72,"16":389783426166685696,"45":5476447543728934912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-08-23 04:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584539648001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:31:36] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 04:31:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389783426166685696,"km_value":389783426166685.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5476447543728934912,"description":"Unknown IO ID 45"} 
[2026-08-23 04:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584539648001,"power":27245,"unknown_187":206,"unknown_86":48896,"ignition":72,"odometer":null,"unknown_45":5476447543728934912}} 
[2026-08-23 04:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":161426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:31:36] local.INFO: GPS data processed {"connection_id":161426,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:31:36] local.INFO: Acknowledgment sent {"connection_id":161426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:31:47] local.INFO: TCP Data received {"connection_id":160460,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:31:47] local.INFO: Processing buffer {"connection_id":160460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:31:47] local.INFO: IMEI packet received {"connection_id":160460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":160460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:31:50] local.INFO: TCP Data received {"connection_id":160460,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:31:50] local.INFO: Processing buffer {"connection_id":160460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:31:50] local.INFO: IMEI packet received {"connection_id":160460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":160460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:32:03] local.INFO: TCP Data received {"connection_id":160460,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:32:03] local.INFO: Processing buffer {"connection_id":160460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:32:03] local.INFO: IMEI packet received {"connection_id":160460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":160460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:32:04] local.INFO: TCP Data received {"connection_id":160460,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb4c3b0012d4a6f80068b7778001501422f..."} 
[2026-08-23 04:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb4c3b0012d4a6f80068b7778001501422f..."} 
[2026-08-23 04:32:04] local.INFO: Processing buffer {"connection_id":160460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb4c3b0012d4a6f80068b7778001501422f..."} 
[2026-08-23 04:32:04] local.INFO: Packet analysis {"connection_id":160460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb4"} 
[2026-08-23 04:32:04] local.INFO: Extracted packet for processing {"connection_id":160460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb4"} 
[2026-08-23 04:32:04] local.INFO: GPS Element Parsed {"raw_longitude":759852928,"raw_latitude":109803384,"longitude_deg":75.9852928,"latitude_deg":10.9803384,"altitude":21,"angle":322,"satellites":47,"speed":74,"hex_longitude":"2d4a6f80","hex_latitude":"068b7778","is_valid_coordinates":true} 
[2026-08-23 04:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584552192001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389788176400515072,"note":"Value kept but may cause issues"} 
[2026-08-23 04:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5370824058723934208,"note":"Value kept but may cause issues"} 
[2026-08-23 04:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787439662000,"timestamp_ms":1787439662000,"timestamp_seconds":1787439662,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb4c3b0"} 
[2026-08-23 04:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:32: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-08-23 04:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 04:32: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-08-23 04:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584552192001,"66":27397,"91":206,"86":48896,"24":74,"16":389788176400515072,"45":5370824058723934208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,86,24,16,45]} 
[2026-08-23 04:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584552192001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:32:04] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-23 04:32:04] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389788176400515072,"km_value":389788176400515.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5370824058723934208,"description":"Unknown IO ID 45"} 
[2026-08-23 04:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584552192001,"power":27397,"unknown_91":206,"unknown_86":48896,"ignition":74,"odometer":null,"unknown_45":5370824058723934208}} 
[2026-08-23 04:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":160460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:32:04] local.INFO: GPS data processed {"connection_id":160460,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:32:04] local.INFO: Acknowledgment sent {"connection_id":160460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:32:05] local.INFO: TCP Data received {"connection_id":160460,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb4c3b0012d4a6f80068b7778001501422f..."} 
[2026-08-23 04:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb4c3b0012d4a6f80068b7778001501422f..."} 
[2026-08-23 04:32:05] local.INFO: Processing buffer {"connection_id":160460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb4c3b0012d4a6f80068b7778001501422f..."} 
[2026-08-23 04:32:05] local.INFO: Packet analysis {"connection_id":160460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb4"} 
[2026-08-23 04:32:05] local.INFO: Extracted packet for processing {"connection_id":160460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb4"} 
[2026-08-23 04:32:05] local.INFO: GPS Element Parsed {"raw_longitude":759852928,"raw_latitude":109803384,"longitude_deg":75.9852928,"latitude_deg":10.9803384,"altitude":21,"angle":322,"satellites":47,"speed":74,"hex_longitude":"2d4a6f80","hex_latitude":"068b7778","is_valid_coordinates":true} 
[2026-08-23 04:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584553472001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389788176400515072,"note":"Value kept but may cause issues"} 
[2026-08-23 04:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5363646446819571712,"note":"Value kept but may cause issues"} 
[2026-08-23 04:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787439662000,"timestamp_ms":1787439662000,"timestamp_seconds":1787439662,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb4c3b0"} 
[2026-08-23 04:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 04:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584553472001,"66":27397,"91":206,"86":48896,"24":74,"16":389788176400515072,"45":5363646446819571712},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,86,24,16,45]} 
[2026-08-23 04:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584553472001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:32:05] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-23 04:32:05] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389788176400515072,"km_value":389788176400515.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5363646446819571712,"description":"Unknown IO ID 45"} 
[2026-08-23 04:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584553472001,"power":27397,"unknown_91":206,"unknown_86":48896,"ignition":74,"odometer":null,"unknown_45":5363646446819571712}} 
[2026-08-23 04:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":160460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:32:05] local.INFO: GPS data processed {"connection_id":160460,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:32:05] local.INFO: Acknowledgment sent {"connection_id":160460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:32:47] local.INFO: TCP Data received {"connection_id":161427,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:32:47] local.INFO: Processing buffer {"connection_id":161427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:32:47] local.INFO: IMEI packet received {"connection_id":161427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":161427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:32:50] local.INFO: TCP Data received {"connection_id":161427,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:32:50] local.INFO: Processing buffer {"connection_id":161427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:32:50] local.INFO: IMEI packet received {"connection_id":161427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":161427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:32:51] local.INFO: TCP Data received {"connection_id":161427,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:32:51] local.INFO: Processing buffer {"connection_id":161427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:32:51] local.INFO: IMEI packet received {"connection_id":161427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":161427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:32:52] local.INFO: TCP Data received {"connection_id":161427,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:32:52] local.INFO: Processing buffer {"connection_id":161427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:32:52] local.INFO: IMEI packet received {"connection_id":161427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":161427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:32:53] local.INFO: TCP Data received {"connection_id":161427,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb5b5e0012d495d80068c6c880015013632..."} 
[2026-08-23 04:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb5b5e0012d495d80068c6c880015013632..."} 
[2026-08-23 04:32:53] local.INFO: Processing buffer {"connection_id":161427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb5b5e0012d495d80068c6c880015013632..."} 
[2026-08-23 04:32:53] local.INFO: Packet analysis {"connection_id":161427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb5"} 
[2026-08-23 04:32:53] local.INFO: Extracted packet for processing {"connection_id":161427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb5"} 
[2026-08-23 04:32:53] local.INFO: GPS Element Parsed {"raw_longitude":759782784,"raw_latitude":109866120,"longitude_deg":75.9782784,"latitude_deg":10.986612,"altitude":21,"angle":310,"satellites":50,"speed":47,"hex_longitude":"2d495d80","hex_latitude":"068c6c88","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584569344001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389792845029965824,"note":"Value kept but may cause issues"} 
[2026-08-23 04:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5286522303216912384,"note":"Value kept but may cause issues"} 
[2026-08-23 04:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787439724000,"timestamp_ms":1787439724000,"timestamp_seconds":1787439724,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb5b5e0"} 
[2026-08-23 04:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 04:32: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-08-23 04: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-08-23 04:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584569344001,"66":27365,"61":206,"86":48896,"24":47,"16":389792845029965824,"45":5286522303216912384},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-08-23 04:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584569344001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:32:53] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 04:32:53] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389792845029965824,"km_value":389792845029965.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5286522303216912384,"description":"Unknown IO ID 45"} 
[2026-08-23 04:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584569344001,"power":27365,"unknown_61":206,"unknown_86":48896,"ignition":47,"odometer":null,"unknown_45":5286522303216912384}} 
[2026-08-23 04:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":161427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:32:53] local.INFO: GPS data processed {"connection_id":161427,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:32:53] local.INFO: Acknowledgment sent {"connection_id":161427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:33:24] local.INFO: TCP Data received {"connection_id":161427,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb5d520012d494300068c87380016014233..."} 
[2026-08-23 04:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb5d520012d494300068c87380016014233..."} 
[2026-08-23 04:33:24] local.INFO: Processing buffer {"connection_id":161427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb5d520012d494300068c87380016014233..."} 
[2026-08-23 04:33:24] local.INFO: Packet analysis {"connection_id":161427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb5"} 
[2026-08-23 04:33:24] local.INFO: Extracted packet for processing {"connection_id":161427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb5"} 
[2026-08-23 04:33:24] local.INFO: GPS Element Parsed {"raw_longitude":759776000,"raw_latitude":109872952,"longitude_deg":75.9776,"latitude_deg":10.9872952,"altitude":22,"angle":322,"satellites":51,"speed":48,"hex_longitude":"2d494300","hex_latitude":"068c8738","is_valid_coordinates":true} 
[2026-08-23 04:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584569344001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389793308886433792,"note":"Value kept but may cause issues"} 
[2026-08-23 04:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5286522303216912384,"note":"Value kept but may cause issues"} 
[2026-08-23 04:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787439732000,"timestamp_ms":1787439732000,"timestamp_seconds":1787439732,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb5d520"} 
[2026-08-23 04:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:33: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-08-23 04:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 04:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584569344001,"66":27321,"61":206,"86":48896,"24":48,"16":389793308886433792,"45":5286522303216912384},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-08-23 04:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584569344001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:33:24] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 04:33:24] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389793308886433792,"km_value":389793308886433.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5286522303216912384,"description":"Unknown IO ID 45"} 
[2026-08-23 04:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584569344001,"power":27321,"unknown_61":206,"unknown_86":48896,"ignition":48,"odometer":null,"unknown_45":5286522303216912384}} 
[2026-08-23 04:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":161427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:33:24] local.INFO: GPS data processed {"connection_id":161427,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:33:24] local.INFO: Acknowledgment sent {"connection_id":161427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:33:49] local.INFO: TCP Data received {"connection_id":161428,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:33:49] local.INFO: Processing buffer {"connection_id":161428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:33:49] local.INFO: IMEI packet received {"connection_id":161428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":161428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:33:52] local.INFO: TCP Data received {"connection_id":161428,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:33:52] local.INFO: Processing buffer {"connection_id":161428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:33:52] local.INFO: IMEI packet received {"connection_id":161428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":161428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:33:57] local.INFO: TCP Data received {"connection_id":161428,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:33:57] local.INFO: Processing buffer {"connection_id":161428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:33:57] local.INFO: IMEI packet received {"connection_id":161428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":161428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:33:58] local.INFO: TCP Data received {"connection_id":161428,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb5d520012d494300068c87380016014233..."} 
[2026-08-23 04:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb5d520012d494300068c87380016014233..."} 
[2026-08-23 04:33:58] local.INFO: Processing buffer {"connection_id":161428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb5d520012d494300068c87380016014233..."} 
[2026-08-23 04:33:58] local.INFO: Packet analysis {"connection_id":161428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb5"} 
[2026-08-23 04:33:58] local.INFO: Extracted packet for processing {"connection_id":161428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb5"} 
[2026-08-23 04:33:58] local.INFO: GPS Element Parsed {"raw_longitude":759776000,"raw_latitude":109872952,"longitude_deg":75.9776,"latitude_deg":10.9872952,"altitude":22,"angle":322,"satellites":51,"speed":48,"hex_longitude":"2d494300","hex_latitude":"068c8738","is_valid_coordinates":true} 
[2026-08-23 04:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584571392001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389793308886433792,"note":"Value kept but may cause issues"} 
[2026-08-23 04:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5279063216335828992,"note":"Value kept but may cause issues"} 
[2026-08-23 04:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787439732000,"timestamp_ms":1787439732000,"timestamp_seconds":1787439732,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb5d520"} 
[2026-08-23 04:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 04:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584571392001,"66":27321,"61":206,"86":48896,"24":48,"16":389793308886433792,"45":5279063216335828992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-08-23 04:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584571392001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:33:58] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 04:33:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389793308886433792,"km_value":389793308886433.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5279063216335828992,"description":"Unknown IO ID 45"} 
[2026-08-23 04:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584571392001,"power":27321,"unknown_61":206,"unknown_86":48896,"ignition":48,"odometer":null,"unknown_45":5279063216335828992}} 
[2026-08-23 04:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":161428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:33:58] local.INFO: GPS data processed {"connection_id":161428,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:33:58] local.INFO: Acknowledgment sent {"connection_id":161428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:33:59] local.INFO: TCP Data received {"connection_id":161428,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb5f078012d493000068ca4600016014c31..."} 
[2026-08-23 04:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb5f078012d493000068ca4600016014c31..."} 
[2026-08-23 04:33:59] local.INFO: Processing buffer {"connection_id":161428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb5f078012d493000068ca4600016014c31..."} 
[2026-08-23 04:33:59] local.INFO: Packet analysis {"connection_id":161428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb5"} 
[2026-08-23 04:33:59] local.INFO: Extracted packet for processing {"connection_id":161428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb5"} 
[2026-08-23 04:33:59] local.INFO: GPS Element Parsed {"raw_longitude":759771136,"raw_latitude":109880416,"longitude_deg":75.9771136,"latitude_deg":10.9880416,"altitude":22,"angle":332,"satellites":49,"speed":51,"hex_longitude":"2d493000","hex_latitude":"068ca460","is_valid_coordinates":true} 
[2026-08-23 04:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584571392001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389793738383163392,"note":"Value kept but may cause issues"} 
[2026-08-23 04:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5279063216335828992,"note":"Value kept but may cause issues"} 
[2026-08-23 04:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787439739000,"timestamp_ms":1787439739000,"timestamp_seconds":1787439739,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb5f078"} 
[2026-08-23 04:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 04:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584571392001,"66":27376,"61":206,"86":48896,"24":51,"16":389793738383163392,"45":5279063216335828992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-08-23 04:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584571392001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:33:59] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 04:33:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389793738383163392,"km_value":389793738383163.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5279063216335828992,"description":"Unknown IO ID 45"} 
[2026-08-23 04:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584571392001,"power":27376,"unknown_61":206,"unknown_86":48896,"ignition":51,"odometer":null,"unknown_45":5279063216335828992}} 
[2026-08-23 04:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":161428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:33:59] local.INFO: GPS data processed {"connection_id":161428,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:33:59] local.INFO: Acknowledgment sent {"connection_id":161428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:34:32] local.INFO: TCP Data received {"connection_id":161428,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb60bd0012d492100068cc6780014015232..."} 
[2026-08-23 04:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb60bd0012d492100068cc6780014015232..."} 
[2026-08-23 04:34:32] local.INFO: Processing buffer {"connection_id":161428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb60bd0012d492100068cc6780014015232..."} 
[2026-08-23 04:34:32] local.INFO: Packet analysis {"connection_id":161428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb6"} 
[2026-08-23 04:34:32] local.INFO: Extracted packet for processing {"connection_id":161428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb6"} 
[2026-08-23 04:34:32] local.INFO: GPS Element Parsed {"raw_longitude":759767296,"raw_latitude":109889144,"longitude_deg":75.9767296,"latitude_deg":10.9889144,"altitude":20,"angle":338,"satellites":50,"speed":57,"hex_longitude":"2d492100","hex_latitude":"068cc678","is_valid_coordinates":true} 
[2026-08-23 04:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584573184001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389794197944664064,"note":"Value kept but may cause issues"} 
[2026-08-23 04:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5273715191780237312,"note":"Value kept but may cause issues"} 
[2026-08-23 04:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787439746000,"timestamp_ms":1787439746000,"timestamp_seconds":1787439746,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb60bd0"} 
[2026-08-23 04:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 04:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584573184001,"66":27321,"61":206,"86":48896,"24":57,"16":389794197944664064,"45":5273715191780237312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-08-23 04:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584573184001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:34:32] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 04:34:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389794197944664064,"km_value":389794197944664.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5273715191780237312,"description":"Unknown IO ID 45"} 
[2026-08-23 04:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584573184001,"power":27321,"unknown_61":206,"unknown_86":48896,"ignition":57,"odometer":null,"unknown_45":5273715191780237312}} 
[2026-08-23 04:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":161428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:34:32] local.INFO: GPS data processed {"connection_id":161428,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:34:32] local.INFO: Acknowledgment sent {"connection_id":161428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:34:47] local.INFO: TCP Data received {"connection_id":161429,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:34:47] local.INFO: Processing buffer {"connection_id":161429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:34:47] local.INFO: IMEI packet received {"connection_id":161429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":161429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:34:49] local.INFO: TCP Data received {"connection_id":161429,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:34:49] local.INFO: Processing buffer {"connection_id":161429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:34:49] local.INFO: IMEI packet received {"connection_id":161429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":161429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:34:50] local.INFO: TCP Data received {"connection_id":161429,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb62728012d491240068ceb400013015230..."} 
[2026-08-23 04:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb62728012d491240068ceb400013015230..."} 
[2026-08-23 04:34:50] local.INFO: Processing buffer {"connection_id":161429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb62728012d491240068ceb400013015230..."} 
[2026-08-23 04:34:50] local.INFO: Packet analysis {"connection_id":161429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb6"} 
[2026-08-23 04:34:50] local.INFO: Extracted packet for processing {"connection_id":161429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb6"} 
[2026-08-23 04:34:50] local.INFO: GPS Element Parsed {"raw_longitude":759763520,"raw_latitude":109898560,"longitude_deg":75.976352,"latitude_deg":10.989856,"altitude":19,"angle":338,"satellites":48,"speed":57,"hex_longitude":"2d491240","hex_latitude":"068ceb40","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584574976001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389794687570935808,"note":"Value kept but may cause issues"} 
[2026-08-23 04:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5269493067131811840,"note":"Value kept but may cause issues"} 
[2026-08-23 04:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787439753000,"timestamp_ms":1787439753000,"timestamp_seconds":1787439753,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb62728"} 
[2026-08-23 04:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 04:34:50] 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-08-23 04: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-08-23 04:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584574976001,"66":27300,"61":206,"86":48896,"24":57,"16":389794687570935808,"45":5269493067131811840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-08-23 04:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584574976001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:34:50] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 04:34:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389794687570935808,"km_value":389794687570935.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5269493067131811840,"description":"Unknown IO ID 45"} 
[2026-08-23 04:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584574976001,"power":27300,"unknown_61":206,"unknown_86":48896,"ignition":57,"odometer":null,"unknown_45":5269493067131811840}} 
[2026-08-23 04:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":161429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:34:50] local.INFO: GPS data processed {"connection_id":161429,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:34:50] local.INFO: Acknowledgment sent {"connection_id":161429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:35:21] local.INFO: TCP Data received {"connection_id":161429,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb64280012d490340068d1078001101512f..."} 
[2026-08-23 04:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb64280012d490340068d1078001101512f..."} 
[2026-08-23 04:35:21] local.INFO: Processing buffer {"connection_id":161429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb64280012d490340068d1078001101512f..."} 
[2026-08-23 04:35:21] local.INFO: Packet analysis {"connection_id":161429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb6"} 
[2026-08-23 04:35:21] local.INFO: Extracted packet for processing {"connection_id":161429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb6"} 
[2026-08-23 04:35:21] local.INFO: GPS Element Parsed {"raw_longitude":759759680,"raw_latitude":109908088,"longitude_deg":75.975968,"latitude_deg":10.9908088,"altitude":17,"angle":337,"satellites":47,"speed":58,"hex_longitude":"2d490340","hex_latitude":"068d1078","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584576768001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389795185787142144,"note":"Value kept but may cause issues"} 
[2026-08-23 04:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5265341311227740160,"note":"Value kept but may cause issues"} 
[2026-08-23 04:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787439760000,"timestamp_ms":1787439760000,"timestamp_seconds":1787439760,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb64280"} 
[2026-08-23 04:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 04:35:21] 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-08-23 04: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-08-23 04:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584576768001,"66":27365,"61":206,"86":48896,"24":58,"16":389795185787142144,"45":5265341311227740160},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-08-23 04:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584576768001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:35:21] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 04:35:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389795185787142144,"km_value":389795185787142.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5265341311227740160,"description":"Unknown IO ID 45"} 
[2026-08-23 04:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584576768001,"power":27365,"unknown_61":206,"unknown_86":48896,"ignition":58,"odometer":null,"unknown_45":5265341311227740160}} 
[2026-08-23 04:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":161429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:35:21] local.INFO: GPS data processed {"connection_id":161429,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:35:21] local.INFO: Acknowledgment sent {"connection_id":161429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:35:45] local.INFO: TCP Data received {"connection_id":160263,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:35:45] local.INFO: Processing buffer {"connection_id":160263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:35:45] local.INFO: IMEI packet received {"connection_id":160263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":160263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:35:47] local.INFO: TCP Data received {"connection_id":160263,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:35:47] local.INFO: Processing buffer {"connection_id":160263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:35:47] local.INFO: IMEI packet received {"connection_id":160263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":160263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:35:52] local.INFO: TCP Data received {"connection_id":160263,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:35:52] local.INFO: Processing buffer {"connection_id":160263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:35:52] local.INFO: IMEI packet received {"connection_id":160263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":160263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:35:53] local.INFO: TCP Data received {"connection_id":160263,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb81358012d47dfc0068df998003d01092e..."} 
[2026-08-23 04:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb81358012d47dfc0068df998003d01092e..."} 
[2026-08-23 04:35:53] local.INFO: Processing buffer {"connection_id":160263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb81358012d47dfc0068df998003d01092e..."} 
[2026-08-23 04:35:53] local.INFO: Packet analysis {"connection_id":160263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb8"} 
[2026-08-23 04:35:53] local.INFO: Extracted packet for processing {"connection_id":160263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb8"} 
[2026-08-23 04:35:53] local.INFO: GPS Element Parsed {"raw_longitude":759685056,"raw_latitude":109967768,"longitude_deg":75.9685056,"latitude_deg":10.9967768,"altitude":61,"angle":265,"satellites":46,"speed":26,"hex_longitude":"2d47dfc0","hex_latitude":"068df998","is_valid_coordinates":true} 
[2026-08-23 04:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584605440001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389800172244172800,"note":"Value kept but may cause issues"} 
[2026-08-23 04:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5189272698789378048,"note":"Value kept but may cause issues"} 
[2026-08-23 04:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787439879000,"timestamp_ms":1787439879000,"timestamp_seconds":1787439879,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb81358"} 
[2026-08-23 04:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:35: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-08-23 04:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 04:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:35: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-08-23 04:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584605440001,"66":27321,"62":206,"86":48896,"24":26,"16":389800172244172800,"45":5189272698789378048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,86,24,16,45]} 
[2026-08-23 04:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584605440001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:35:53] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-23 04:35:53] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389800172244172800,"km_value":389800172244172.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5189272698789378048,"description":"Unknown IO ID 45"} 
[2026-08-23 04:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584605440001,"power":27321,"unknown_62":206,"unknown_86":48896,"ignition":26,"odometer":null,"unknown_45":5189272698789378048}} 
[2026-08-23 04:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":160263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:35:53] local.INFO: GPS data processed {"connection_id":160263,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:35:53] local.INFO: Acknowledgment sent {"connection_id":160263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:36:24] local.INFO: TCP Data received {"connection_id":160263,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb84a08012d47bc80068df550004101032a..."} 
[2026-08-23 04:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb84a08012d47bc80068df550004101032a..."} 
[2026-08-23 04:36:24] local.INFO: Processing buffer {"connection_id":160263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb84a08012d47bc80068df550004101032a..."} 
[2026-08-23 04:36:24] local.INFO: Packet analysis {"connection_id":160263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb8"} 
[2026-08-23 04:36:24] local.INFO: Extracted packet for processing {"connection_id":160263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb8"} 
[2026-08-23 04:36:24] local.INFO: GPS Element Parsed {"raw_longitude":759676032,"raw_latitude":109966672,"longitude_deg":75.9676032,"latitude_deg":10.9966672,"altitude":65,"angle":259,"satellites":42,"speed":24,"hex_longitude":"2d47bc80","hex_latitude":"068df550","is_valid_coordinates":true} 
[2026-08-23 04:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584609024001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389800606035869696,"note":"Value kept but may cause issues"} 
[2026-08-23 04:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5179069230883641344,"note":"Value kept but may cause issues"} 
[2026-08-23 04:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787439893000,"timestamp_ms":1787439893000,"timestamp_seconds":1787439893,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb84a08"} 
[2026-08-23 04:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 04:36:24] 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-08-23 04:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584609024001,"66":27397,"73":206,"86":48896,"24":24,"16":389800606035869696,"45":5179069230883641344},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,86,24,16,45]} 
[2026-08-23 04:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584609024001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:36:24] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-23 04:36:24] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389800606035869696,"km_value":389800606035869.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5179069230883641344,"description":"Unknown IO ID 45"} 
[2026-08-23 04:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584609024001,"power":27397,"unknown_73":206,"unknown_86":48896,"ignition":24,"odometer":null,"unknown_45":5179069230883641344}} 
[2026-08-23 04:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":160263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:36:24] local.INFO: GPS data processed {"connection_id":160263,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:36:24] local.INFO: Acknowledgment sent {"connection_id":160263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:36:47] local.INFO: TCP Data received {"connection_id":162844,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:36:47] local.INFO: Processing buffer {"connection_id":162844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:36:47] local.INFO: IMEI packet received {"connection_id":162844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":162844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:36:52] local.INFO: TCP Data received {"connection_id":162844,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:36:52] local.INFO: Processing buffer {"connection_id":162844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:36:52] local.INFO: IMEI packet received {"connection_id":162844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":162844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:36:53] local.INFO: TCP Data received {"connection_id":162844,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb880b8012d4799c0068dec20004500fe26..."} 
[2026-08-23 04:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb880b8012d4799c0068dec20004500fe26..."} 
[2026-08-23 04:36:53] local.INFO: Processing buffer {"connection_id":162844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb880b8012d4799c0068dec20004500fe26..."} 
[2026-08-23 04:36:53] local.INFO: Packet analysis {"connection_id":162844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb8"} 
[2026-08-23 04:36:53] local.INFO: Extracted packet for processing {"connection_id":162844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb8"} 
[2026-08-23 04:36:53] local.INFO: GPS Element Parsed {"raw_longitude":759667136,"raw_latitude":109964320,"longitude_deg":75.9667136,"latitude_deg":10.996432,"altitude":69,"angle":254,"satellites":38,"speed":26,"hex_longitude":"2d4799c0","hex_latitude":"068dec20","is_valid_coordinates":true} 
[2026-08-23 04:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584612608001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389801044122533888,"note":"Value kept but may cause issues"} 
[2026-08-23 04:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5169147237954310144,"note":"Value kept but may cause issues"} 
[2026-08-23 04:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787439907000,"timestamp_ms":1787439907000,"timestamp_seconds":1787439907,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb880b8"} 
[2026-08-23 04:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:36: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-08-23 04:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 04:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584612608001,"66":27365,"73":206,"86":48896,"24":26,"16":389801044122533888,"45":5169147237954310144},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,86,24,16,45]} 
[2026-08-23 04:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584612608001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:36:53] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-23 04:36:53] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389801044122533888,"km_value":389801044122533.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5169147237954310144,"description":"Unknown IO ID 45"} 
[2026-08-23 04:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584612608001,"power":27365,"unknown_73":206,"unknown_86":48896,"ignition":26,"odometer":null,"unknown_45":5169147237954310144}} 
[2026-08-23 04:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":162844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:36:53] local.INFO: GPS data processed {"connection_id":162844,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:36:53] local.INFO: Acknowledgment sent {"connection_id":162844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:37:33] local.INFO: TCP Data received {"connection_id":162844,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb8b768012d477780068de268004a00ff2c..."} 
[2026-08-23 04:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb8b768012d477780068de268004a00ff2c..."} 
[2026-08-23 04:37:33] local.INFO: Processing buffer {"connection_id":162844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb8b768012d477780068de268004a00ff2c..."} 
[2026-08-23 04:37:33] local.INFO: Packet analysis {"connection_id":162844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb8"} 
[2026-08-23 04:37:33] local.INFO: Extracted packet for processing {"connection_id":162844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb8"} 
[2026-08-23 04:37:33] local.INFO: GPS Element Parsed {"raw_longitude":759658368,"raw_latitude":109961832,"longitude_deg":75.9658368,"latitude_deg":10.9961832,"altitude":74,"angle":255,"satellites":44,"speed":26,"hex_longitude":"2d477780","hex_latitude":"068de268","is_valid_coordinates":true} 
[2026-08-23 04:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584616192001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389801482209198080,"note":"Value kept but may cause issues"} 
[2026-08-23 04:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5159365982513012736,"note":"Value kept but may cause issues"} 
[2026-08-23 04:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787439921000,"timestamp_ms":1787439921000,"timestamp_seconds":1787439921,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb8b768"} 
[2026-08-23 04:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:37: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-08-23 04:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 04:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584616192001,"66":27343,"73":206,"86":48896,"24":26,"16":389801482209198080,"45":5159365982513012736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,86,24,16,45]} 
[2026-08-23 04:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584616192001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:37:33] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-23 04:37:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389801482209198080,"km_value":389801482209198.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5159365982513012736,"description":"Unknown IO ID 45"} 
[2026-08-23 04:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584616192001,"power":27343,"unknown_73":206,"unknown_86":48896,"ignition":26,"odometer":null,"unknown_45":5159365982513012736}} 
[2026-08-23 04:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":162844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:37:33] local.INFO: GPS data processed {"connection_id":162844,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:37:33] local.INFO: Acknowledgment sent {"connection_id":162844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:37:47] local.INFO: TCP Data received {"connection_id":161430,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:37:47] local.INFO: Processing buffer {"connection_id":161430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:37:47] local.INFO: IMEI packet received {"connection_id":161430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":161430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:37:52] local.INFO: TCP Data received {"connection_id":161430,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:37:52] local.INFO: Processing buffer {"connection_id":161430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:37:52] local.INFO: IMEI packet received {"connection_id":161430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":161430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:37:53] local.INFO: TCP Data received {"connection_id":161430,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bb8ee18012d4755c0068dd7e0004d00fd2c..."} 
[2026-08-23 04:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bb8ee18012d4755c0068dd7e0004d00fd2c..."} 
[2026-08-23 04:37:53] local.INFO: Processing buffer {"connection_id":161430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bb8ee18012d4755c0068dd7e0004d00fd2c..."} 
[2026-08-23 04:37:53] local.INFO: Packet analysis {"connection_id":161430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bb8"} 
[2026-08-23 04:37:53] local.INFO: Extracted packet for processing {"connection_id":161430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bb8"} 
[2026-08-23 04:37:53] local.INFO: GPS Element Parsed {"raw_longitude":759649728,"raw_latitude":109959136,"longitude_deg":75.9649728,"latitude_deg":10.9959136,"altitude":77,"angle":253,"satellites":44,"speed":25,"hex_longitude":"2d4755c0","hex_latitude":"068dd7e0","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584619776001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389801911705927680,"note":"Value kept but may cause issues"} 
[2026-08-23 04:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5149725464560035840,"note":"Value kept but may cause issues"} 
[2026-08-23 04:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787439935000,"timestamp_ms":1787439935000,"timestamp_seconds":1787439935,"priority":1,"record_length":96,"hex_timestamp":"000001a02bb8ee18"} 
[2026-08-23 04:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 04:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04: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-08-23 04:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584619776001,"66":27332,"73":206,"86":48896,"24":25,"16":389801911705927680,"45":5149725464560035840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,86,24,16,45]} 
[2026-08-23 04:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584619776001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:37:53] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-23 04:37:53] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389801911705927680,"km_value":389801911705927.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5149725464560035840,"description":"Unknown IO ID 45"} 
[2026-08-23 04:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584619776001,"power":27332,"unknown_73":206,"unknown_86":48896,"ignition":25,"odometer":null,"unknown_45":5149725464560035840}} 
[2026-08-23 04:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":161430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:37:53] local.INFO: GPS data processed {"connection_id":161430,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:37:53] local.INFO: Acknowledgment sent {"connection_id":161430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:38:24] local.INFO: TCP Data received {"connection_id":161430,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bbaab68012d4642c0068e5a60005801582c..."} 
[2026-08-23 04:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bbaab68012d4642c0068e5a60005801582c..."} 
[2026-08-23 04:38:24] local.INFO: Processing buffer {"connection_id":161430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bbaab68012d4642c0068e5a60005801582c..."} 
[2026-08-23 04:38:24] local.INFO: Packet analysis {"connection_id":161430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bba"} 
[2026-08-23 04:38:24] local.INFO: Extracted packet for processing {"connection_id":161430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bba"} 
[2026-08-23 04:38:24] local.INFO: GPS Element Parsed {"raw_longitude":759579328,"raw_latitude":109992544,"longitude_deg":75.9579328,"latitude_deg":10.9992544,"altitude":88,"angle":344,"satellites":44,"speed":47,"hex_longitude":"2d4642c0","hex_latitude":"068e5a60","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584651776001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389806021989629952,"note":"Value kept but may cause issues"} 
[2026-08-23 04:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5064227440391194624,"note":"Value kept but may cause issues"} 
[2026-08-23 04:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787440049000,"timestamp_ms":1787440049000,"timestamp_seconds":1787440049,"priority":1,"record_length":96,"hex_timestamp":"000001a02bbaab68"} 
[2026-08-23 04:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 04:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04: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-08-23 04:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584651776001,"66":27343,"48":206,"86":48896,"24":47,"16":389806021989629952,"45":5064227440391194624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-08-23 04:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584651776001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:38:24] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-08-23 04:38:24] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389806021989629952,"km_value":389806021989629.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5064227440391194624,"description":"Unknown IO ID 45"} 
[2026-08-23 04:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584651776001,"power":27343,"unknown_48":206,"unknown_86":48896,"ignition":47,"odometer":null,"unknown_45":5064227440391194624}} 
[2026-08-23 04:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":161430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:38:24] local.INFO: GPS data processed {"connection_id":161430,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:38:24] local.INFO: Acknowledgment sent {"connection_id":161430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:38:52] local.INFO: TCP Data received {"connection_id":160461,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:38:52] local.INFO: Processing buffer {"connection_id":160461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:38:52] local.INFO: IMEI packet received {"connection_id":160461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":160461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:38:53] local.INFO: TCP Data received {"connection_id":160461,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:38:53] local.INFO: Processing buffer {"connection_id":160461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:38:53] local.INFO: IMEI packet received {"connection_id":160461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":160461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:38:57] local.INFO: TCP Data received {"connection_id":160461,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:38:57] local.INFO: Processing buffer {"connection_id":160461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:38:57] local.INFO: IMEI packet received {"connection_id":160461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":160461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:38:58] local.INFO: TCP Data received {"connection_id":160461,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bbac2d8012d463ec0068e76e8005301642e..."} 
[2026-08-23 04:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bbac2d8012d463ec0068e76e8005301642e..."} 
[2026-08-23 04:38:58] local.INFO: Processing buffer {"connection_id":160461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bbac2d8012d463ec0068e76e8005301642e..."} 
[2026-08-23 04:38:58] local.INFO: Packet analysis {"connection_id":160461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bba"} 
[2026-08-23 04:38:58] local.INFO: Extracted packet for processing {"connection_id":160461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bba"} 
[2026-08-23 04:38:58] local.INFO: GPS Element Parsed {"raw_longitude":759578304,"raw_latitude":109999848,"longitude_deg":75.9578304,"latitude_deg":10.9999848,"altitude":83,"angle":356,"satellites":46,"speed":51,"hex_longitude":"2d463ec0","hex_latitude":"068e76e8","is_valid_coordinates":true} 
[2026-08-23 04:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584652544001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389806382766882816,"note":"Value kept but may cause issues"} 
[2026-08-23 04:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5062820065508483072,"note":"Value kept but may cause issues"} 
[2026-08-23 04:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787440055000,"timestamp_ms":1787440055000,"timestamp_seconds":1787440055,"priority":1,"record_length":96,"hex_timestamp":"000001a02bbac2d8"} 
[2026-08-23 04:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 04:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584652544001,"66":27484,"48":206,"86":48896,"24":51,"16":389806382766882816,"45":5062820065508483072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-08-23 04:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584652544001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:38:58] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-08-23 04:38:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389806382766882816,"km_value":389806382766882.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5062820065508483072,"description":"Unknown IO ID 45"} 
[2026-08-23 04:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584652544001,"power":27484,"unknown_48":206,"unknown_86":48896,"ignition":51,"odometer":null,"unknown_45":5062820065508483072}} 
[2026-08-23 04:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":160461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:38:58] local.INFO: GPS data processed {"connection_id":160461,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:38:58] local.INFO: Acknowledgment sent {"connection_id":160461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:39:00] local.INFO: TCP Data received {"connection_id":160461,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bbade30012d463dc0068e9bb8004e016632..."} 
[2026-08-23 04:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bbade30012d463dc0068e9bb8004e016632..."} 
[2026-08-23 04:39:00] local.INFO: Processing buffer {"connection_id":160461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bbade30012d463dc0068e9bb8004e016632..."} 
[2026-08-23 04:39:00] local.INFO: Packet analysis {"connection_id":160461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bba"} 
[2026-08-23 04:39:00] local.INFO: Extracted packet for processing {"connection_id":160461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bba"} 
[2026-08-23 04:39:00] local.INFO: GPS Element Parsed {"raw_longitude":759578048,"raw_latitude":110009272,"longitude_deg":75.9578048,"latitude_deg":11.0009272,"altitude":78,"angle":358,"satellites":50,"speed":56,"hex_longitude":"2d463dc0","hex_latitude":"068e9bb8","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584654080001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389806838033416192,"note":"Value kept but may cause issues"} 
[2026-08-23 04:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5061694165603510272,"note":"Value kept but may cause issues"} 
[2026-08-23 04:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787440062000,"timestamp_ms":1787440062000,"timestamp_seconds":1787440062,"priority":1,"record_length":96,"hex_timestamp":"000001a02bbade30"} 
[2026-08-23 04:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:39: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-08-23 04:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 04:39: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-08-23 04: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-08-23 04:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584654080001,"66":27321,"48":206,"86":48896,"24":56,"16":389806838033416192,"45":5061694165603510272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-08-23 04:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584654080001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:39:00] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-08-23 04:39:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389806838033416192,"km_value":389806838033416.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5061694165603510272,"description":"Unknown IO ID 45"} 
[2026-08-23 04:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584654080001,"power":27321,"unknown_48":206,"unknown_86":48896,"ignition":56,"odometer":null,"unknown_45":5061694165603510272}} 
[2026-08-23 04:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":160461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:39:00] local.INFO: GPS data processed {"connection_id":160461,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:39:00] local.INFO: Acknowledgment sent {"connection_id":160461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:39:31] local.INFO: TCP Data received {"connection_id":160461,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bbaf988012d463cc0068ec380004a016430..."} 
[2026-08-23 04:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bbaf988012d463cc0068ec380004a016430..."} 
[2026-08-23 04:39:31] local.INFO: Processing buffer {"connection_id":160461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bbaf988012d463cc0068ec380004a016430..."} 
[2026-08-23 04:39:31] local.INFO: Packet analysis {"connection_id":160461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bba"} 
[2026-08-23 04:39:31] local.INFO: Extracted packet for processing {"connection_id":160461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bba"} 
[2026-08-23 04:39:31] local.INFO: GPS Element Parsed {"raw_longitude":759577792,"raw_latitude":110019456,"longitude_deg":75.9577792,"latitude_deg":11.0019456,"altitude":74,"angle":356,"satellites":48,"speed":60,"hex_longitude":"2d463cc0","hex_latitude":"068ec380","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584655872001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389807331954655232,"note":"Value kept but may cause issues"} 
[2026-08-23 04:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5061412690629212160,"note":"Value kept but may cause issues"} 
[2026-08-23 04:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787440069000,"timestamp_ms":1787440069000,"timestamp_seconds":1787440069,"priority":1,"record_length":96,"hex_timestamp":"000001a02bbaf988"} 
[2026-08-23 04:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04: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":185,"data_length":795,"current_offset":136} 
[2026-08-23 04:39:31] 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-08-23 04: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-08-23 04:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584655872001,"66":27223,"48":206,"86":48896,"24":60,"16":389807331954655232,"45":5061412690629212160},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-08-23 04:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584655872001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:39:31] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-08-23 04:39:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389807331954655232,"km_value":389807331954655.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5061412690629212160,"description":"Unknown IO ID 45"} 
[2026-08-23 04:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584655872001,"power":27223,"unknown_48":206,"unknown_86":48896,"ignition":60,"odometer":null,"unknown_45":5061412690629212160}} 
[2026-08-23 04:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":160461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:39:31] local.INFO: GPS data processed {"connection_id":160461,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:39:31] local.INFO: Acknowledgment sent {"connection_id":160461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:39:47] local.INFO: TCP Data received {"connection_id":160462,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:39:47] local.INFO: Processing buffer {"connection_id":160462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:39:47] local.INFO: IMEI packet received {"connection_id":160462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":160462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:39:49] local.INFO: TCP Data received {"connection_id":160462,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:39:49] local.INFO: Processing buffer {"connection_id":160462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:39:49] local.INFO: IMEI packet received {"connection_id":160462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":160462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:39:50] local.INFO: TCP Data received {"connection_id":160462,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bbc0328012d45b48006901cb80041014231..."} 
[2026-08-23 04:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bbc0328012d45b48006901cb80041014231..."} 
[2026-08-23 04:39:50] local.INFO: Processing buffer {"connection_id":160462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bbc0328012d45b48006901cb80041014231..."} 
[2026-08-23 04:39:50] local.INFO: Packet analysis {"connection_id":160462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bbc"} 
[2026-08-23 04:39:50] local.INFO: Extracted packet for processing {"connection_id":160462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bbc"} 
[2026-08-23 04:39:50] local.INFO: GPS Element Parsed {"raw_longitude":759542912,"raw_latitude":110107832,"longitude_deg":75.9542912,"latitude_deg":11.0107832,"altitude":65,"angle":322,"satellites":49,"speed":57,"hex_longitude":"2d45b480","hex_latitude":"06901cb8","is_valid_coordinates":true} 
[2026-08-23 04:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584673280001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389812004879073280,"note":"Value kept but may cause issues"} 
[2026-08-23 04:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5029606018284027904,"note":"Value kept but may cause issues"} 
[2026-08-23 04:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787440137000,"timestamp_ms":1787440137000,"timestamp_seconds":1787440137,"priority":1,"record_length":96,"hex_timestamp":"000001a02bbc0328"} 
[2026-08-23 04:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:39: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-08-23 04:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-23 04:39:50] 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-08-23 04:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":160462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":160462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":160462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584673280001,"66":27463,"171":206,"86":48896,"24":57,"16":389812004879073280,"45":5029606018284027904},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,86,24,16,45]} 
[2026-08-23 04:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584673280001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:39:50] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-23 04:39:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389812004879073280,"km_value":389812004879073.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5029606018284027904,"description":"Unknown IO ID 45"} 
[2026-08-23 04:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584673280001,"power":27463,"unknown_171":206,"unknown_86":48896,"ignition":57,"odometer":null,"unknown_45":5029606018284027904}} 
[2026-08-23 04:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":160462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:39:50] local.INFO: GPS data processed {"connection_id":160462,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:39:50] local.INFO: Acknowledgment sent {"connection_id":160462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:40:22] local.INFO: TCP Data received {"connection_id":160462,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bbc1e80012d459a00069039100042013931..."} 
[2026-08-23 04:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bbc1e80012d459a00069039100042013931..."} 
[2026-08-23 04:40:22] local.INFO: Processing buffer {"connection_id":160462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bbc1e80012d459a00069039100042013931..."} 
[2026-08-23 04:40:22] local.INFO: Packet analysis {"connection_id":160462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bbc"} 
[2026-08-23 04:40:22] local.INFO: Extracted packet for processing {"connection_id":160462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bbc"} 
[2026-08-23 04:40:22] local.INFO: GPS Element Parsed {"raw_longitude":759536128,"raw_latitude":110115088,"longitude_deg":75.9536128,"latitude_deg":11.0115088,"altitude":66,"angle":313,"satellites":49,"speed":54,"hex_longitude":"2d459a00","hex_latitude":"06903910","is_valid_coordinates":true} 
[2026-08-23 04:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584675072001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389812485915410432,"note":"Value kept but may cause issues"} 
[2026-08-23 04:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5022780250100905984,"note":"Value kept but may cause issues"} 
[2026-08-23 04:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787440144000,"timestamp_ms":1787440144000,"timestamp_seconds":1787440144,"priority":1,"record_length":96,"hex_timestamp":"000001a02bbc1e80"} 
[2026-08-23 04:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:40: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-08-23 04:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-23 04:40: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-08-23 04:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584675072001,"66":27463,"171":206,"86":48896,"24":54,"16":389812485915410432,"45":5022780250100905984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,86,24,16,45]} 
[2026-08-23 04:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584675072001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:40:22] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-23 04:40:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389812485915410432,"km_value":389812485915410.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5022780250100905984,"description":"Unknown IO ID 45"} 
[2026-08-23 04:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584675072001,"power":27463,"unknown_171":206,"unknown_86":48896,"ignition":54,"odometer":null,"unknown_45":5022780250100905984}} 
[2026-08-23 04:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":160462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:40:22] local.INFO: GPS data processed {"connection_id":160462,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:40:22] local.INFO: Acknowledgment sent {"connection_id":160462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:40:47] local.INFO: TCP Data received {"connection_id":160264,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:40:47] local.INFO: Processing buffer {"connection_id":160264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:40:47] local.INFO: IMEI packet received {"connection_id":160264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":160264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:40:52] local.INFO: TCP Data received {"connection_id":160264,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:40:52] local.INFO: Processing buffer {"connection_id":160264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:40:52] local.INFO: IMEI packet received {"connection_id":160264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":160264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:40:55] local.INFO: TCP Data received {"connection_id":160264,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bbc39d8012d457f00069050a00043013632..."} 
[2026-08-23 04:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bbc39d8012d457f00069050a00043013632..."} 
[2026-08-23 04:40:55] local.INFO: Processing buffer {"connection_id":160264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bbc39d8012d457f00069050a00043013632..."} 
[2026-08-23 04:40:55] local.INFO: Packet analysis {"connection_id":160264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bbc"} 
[2026-08-23 04:40:55] local.INFO: Extracted packet for processing {"connection_id":160264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bbc"} 
[2026-08-23 04:40:55] local.INFO: GPS Element Parsed {"raw_longitude":759529216,"raw_latitude":110121120,"longitude_deg":75.9529216,"latitude_deg":11.012112,"altitude":67,"angle":310,"satellites":50,"speed":50,"hex_longitude":"2d457f00","hex_latitude":"069050a0","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584676864001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389812924002074624,"note":"Value kept but may cause issues"} 
[2026-08-23 04:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5015321163219931136,"note":"Value kept but may cause issues"} 
[2026-08-23 04:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787440151000,"timestamp_ms":1787440151000,"timestamp_seconds":1787440151,"priority":1,"record_length":96,"hex_timestamp":"000001a02bbc39d8"} 
[2026-08-23 04:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-23 04:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04: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-08-23 04:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584676864001,"66":27397,"171":206,"86":48896,"24":50,"16":389812924002074624,"45":5015321163219931136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,86,24,16,45]} 
[2026-08-23 04:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584676864001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:40:55] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-08-23 04:40:55] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389812924002074624,"km_value":389812924002074.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5015321163219931136,"description":"Unknown IO ID 45"} 
[2026-08-23 04:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584676864001,"power":27397,"unknown_171":206,"unknown_86":48896,"ignition":50,"odometer":null,"unknown_45":5015321163219931136}} 
[2026-08-23 04:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":160264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:40:55] local.INFO: GPS data processed {"connection_id":160264,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:40:55] local.INFO: Acknowledgment sent {"connection_id":160264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:41:32] local.INFO: TCP Data received {"connection_id":160264,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bbd8db0012d44b6c00691ac000035016330..."} 
[2026-08-23 04:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bbd8db0012d44b6c00691ac000035016330..."} 
[2026-08-23 04:41:32] local.INFO: Processing buffer {"connection_id":160264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bbd8db0012d44b6c00691ac000035016330..."} 
[2026-08-23 04:41:32] local.INFO: Packet analysis {"connection_id":160264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bbd"} 
[2026-08-23 04:41:32] local.INFO: Extracted packet for processing {"connection_id":160264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bbd"} 
[2026-08-23 04:41:32] local.INFO: GPS Element Parsed {"raw_longitude":759477952,"raw_latitude":110210048,"longitude_deg":75.9477952,"latitude_deg":11.0210048,"altitude":53,"angle":355,"satellites":48,"speed":55,"hex_longitude":"2d44b6c0","hex_latitude":"0691ac00","is_valid_coordinates":true} 
[2026-08-23 04:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584699136001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389817974883614720,"note":"Value kept but may cause issues"} 
[2026-08-23 04:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4952692980923795456,"note":"Value kept but may cause issues"} 
[2026-08-23 04:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787440238000,"timestamp_ms":1787440238000,"timestamp_seconds":1787440238,"priority":1,"record_length":96,"hex_timestamp":"000001a02bbd8db0"} 
[2026-08-23 04:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:41: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-08-23 04:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 04:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584699136001,"66":27234,"253":206,"86":48896,"24":55,"16":389817974883614720,"45":4952692980923795456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,86,24,16,45]} 
[2026-08-23 04:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584699136001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:41:32] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-23 04:41:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389817974883614720,"km_value":389817974883614.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4952692980923795456,"description":"Unknown IO ID 45"} 
[2026-08-23 04:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584699136001,"power":27234,"unknown_253":206,"unknown_86":48896,"ignition":55,"odometer":null,"unknown_45":4952692980923795456}} 
[2026-08-23 04:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":160264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:41:32] local.INFO: GPS data processed {"connection_id":160264,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:41:32] local.INFO: Acknowledgment sent {"connection_id":160264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:41:47] local.INFO: TCP Data received {"connection_id":160265,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:41:47] local.INFO: Processing buffer {"connection_id":160265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:41:47] local.INFO: IMEI packet received {"connection_id":160265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":160265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:41:49] local.INFO: TCP Data received {"connection_id":160265,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:41:49] local.INFO: Processing buffer {"connection_id":160265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:41:49] local.INFO: IMEI packet received {"connection_id":160265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":160265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:41:52] local.INFO: TCP Data received {"connection_id":160265,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:41:52] local.INFO: Processing buffer {"connection_id":160265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:41:52] local.INFO: IMEI packet received {"connection_id":160265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":160265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:41:54] local.INFO: TCP Data received {"connection_id":160265,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bbda908012d44b4400691d3d0003301642f..."} 
[2026-08-23 04:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bbda908012d44b4400691d3d0003301642f..."} 
[2026-08-23 04:41:54] local.INFO: Processing buffer {"connection_id":160265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bbda908012d44b4400691d3d0003301642f..."} 
[2026-08-23 04:41:54] local.INFO: Packet analysis {"connection_id":160265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bbd"} 
[2026-08-23 04:41:54] local.INFO: Extracted packet for processing {"connection_id":160265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bbd"} 
[2026-08-23 04:41:54] local.INFO: GPS Element Parsed {"raw_longitude":759477312,"raw_latitude":110220240,"longitude_deg":75.9477312,"latitude_deg":11.022024,"altitude":51,"angle":356,"satellites":47,"speed":60,"hex_longitude":"2d44b440","hex_latitude":"0691d3d0","is_valid_coordinates":true} 
[2026-08-23 04:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584700928001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389818468804853760,"note":"Value kept but may cause issues"} 
[2026-08-23 04:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4951355974786744320,"note":"Value kept but may cause issues"} 
[2026-08-23 04:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787440245000,"timestamp_ms":1787440245000,"timestamp_seconds":1787440245,"priority":1,"record_length":96,"hex_timestamp":"000001a02bbda908"} 
[2026-08-23 04:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 04:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584700928001,"66":27289,"253":206,"86":48896,"24":60,"16":389818468804853760,"45":4951355974786744320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,86,24,16,45]} 
[2026-08-23 04:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584700928001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:41:54] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-23 04:41:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389818468804853760,"km_value":389818468804853.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4951355974786744320,"description":"Unknown IO ID 45"} 
[2026-08-23 04:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584700928001,"power":27289,"unknown_253":206,"unknown_86":48896,"ignition":60,"odometer":null,"unknown_45":4951355974786744320}} 
[2026-08-23 04:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":160265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:41:54] local.INFO: GPS data processed {"connection_id":160265,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:41:54] local.INFO: Acknowledgment sent {"connection_id":160265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:42:26] local.INFO: TCP Data received {"connection_id":160265,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bbdc078012d44b2c00691f7a8003101652e..."} 
[2026-08-23 04:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bbdc078012d44b2c00691f7a8003101652e..."} 
[2026-08-23 04:42:26] local.INFO: Processing buffer {"connection_id":160265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bbdc078012d44b2c00691f7a8003101652e..."} 
[2026-08-23 04:42:26] local.INFO: Packet analysis {"connection_id":160265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bbd"} 
[2026-08-23 04:42:26] local.INFO: Extracted packet for processing {"connection_id":160265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bbd"} 
[2026-08-23 04:42:26] local.INFO: GPS Element Parsed {"raw_longitude":759476928,"raw_latitude":110229416,"longitude_deg":75.9476928,"latitude_deg":11.0229416,"altitude":49,"angle":357,"satellites":46,"speed":61,"hex_longitude":"2d44b2c0","hex_latitude":"0691f7a8","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584702720001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389818915481452544,"note":"Value kept but may cause issues"} 
[2026-08-23 04:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4950652287347576832,"note":"Value kept but may cause issues"} 
[2026-08-23 04:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787440251000,"timestamp_ms":1787440251000,"timestamp_seconds":1787440251,"priority":1,"record_length":96,"hex_timestamp":"000001a02bbdc078"} 
[2026-08-23 04:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-23 04:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04: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-08-23 04:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584702720001,"66":27267,"253":206,"86":48896,"24":61,"16":389818915481452544,"45":4950652287347576832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,86,24,16,45]} 
[2026-08-23 04:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584702720001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:42:26] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-23 04:42:26] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-08-23 04:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389818915481452544,"km_value":389818915481452.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4950652287347576832,"description":"Unknown IO ID 45"} 
[2026-08-23 04:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584702720001,"power":27267,"unknown_253":206,"unknown_86":48896,"ignition":61,"odometer":null,"unknown_45":4950652287347576832}} 
[2026-08-23 04:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":160265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:42:26] local.INFO: GPS data processed {"connection_id":160265,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:42:26] local.INFO: Acknowledgment sent {"connection_id":160265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:42:47] local.INFO: TCP Data received {"connection_id":162845,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:42:47] local.INFO: Processing buffer {"connection_id":162845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:42:47] local.INFO: IMEI packet received {"connection_id":162845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":162845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:42:52] local.INFO: TCP Data received {"connection_id":162845,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:42:52] local.INFO: Processing buffer {"connection_id":162845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:42:52] local.INFO: IMEI packet received {"connection_id":162845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":162845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:42:53] local.INFO: TCP Data received {"connection_id":162845,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bbeb2a8012d43e2800692dc78002c013d2d..."} 
[2026-08-23 04:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bbeb2a8012d43e2800692dc78002c013d2d..."} 
[2026-08-23 04:42:53] local.INFO: Processing buffer {"connection_id":162845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bbeb2a8012d43e2800692dc78002c013d2d..."} 
[2026-08-23 04:42:53] local.INFO: Packet analysis {"connection_id":162845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bbe"} 
[2026-08-23 04:42:53] local.INFO: Extracted packet for processing {"connection_id":162845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bbe"} 
[2026-08-23 04:42:53] local.INFO: GPS Element Parsed {"raw_longitude":759423616,"raw_latitude":110287992,"longitude_deg":75.9423616,"latitude_deg":11.0287992,"altitude":44,"angle":317,"satellites":45,"speed":48,"hex_longitude":"2d43e280","hex_latitude":"0692dc78","is_valid_coordinates":true} 
[2026-08-23 04:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584718848001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389823150319206400,"note":"Value kept but may cause issues"} 
[2026-08-23 04:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4896538723091257344,"note":"Value kept but may cause issues"} 
[2026-08-23 04:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787440313000,"timestamp_ms":1787440313000,"timestamp_seconds":1787440313,"priority":1,"record_length":96,"hex_timestamp":"000001a02bbeb2a8"} 
[2026-08-23 04:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:42: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-08-23 04:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 04:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584718848001,"66":27343,"212":206,"86":48640,"24":48,"16":389823150319206400,"45":4896538723091257344},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-08-23 04:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584718848001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:42:53] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-23 04:42:53] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-08-23 04:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389823150319206400,"km_value":389823150319206.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4896538723091257344,"description":"Unknown IO ID 45"} 
[2026-08-23 04:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584718848001,"power":27343,"unknown_212":206,"unknown_86":48640,"ignition":48,"odometer":null,"unknown_45":4896538723091257344}} 
[2026-08-23 04:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":162845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:42:53] local.INFO: GPS data processed {"connection_id":162845,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:42:53] local.INFO: Acknowledgment sent {"connection_id":162845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:43:25] local.INFO: TCP Data received {"connection_id":162845,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bbed1e8012d43cb800692fcd8002d01492f..."} 
[2026-08-23 04:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bbed1e8012d43cb800692fcd8002d01492f..."} 
[2026-08-23 04:43:25] local.INFO: Processing buffer {"connection_id":162845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bbed1e8012d43cb800692fcd8002d01492f..."} 
[2026-08-23 04:43:25] local.INFO: Packet analysis {"connection_id":162845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bbe"} 
[2026-08-23 04:43:25] local.INFO: Extracted packet for processing {"connection_id":162845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bbe"} 
[2026-08-23 04:43:25] local.INFO: GPS Element Parsed {"raw_longitude":759417728,"raw_latitude":110296280,"longitude_deg":75.9417728,"latitude_deg":11.029628,"altitude":45,"angle":329,"satellites":47,"speed":51,"hex_longitude":"2d43cb80","hex_latitude":"0692fcd8","is_valid_coordinates":true} 
[2026-08-23 04:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584720128001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389823639945478144,"note":"Value kept but may cause issues"} 
[2026-08-23 04:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4891612910999861248,"note":"Value kept but may cause issues"} 
[2026-08-23 04:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787440321000,"timestamp_ms":1787440321000,"timestamp_seconds":1787440321,"priority":1,"record_length":96,"hex_timestamp":"000001a02bbed1e8"} 
[2026-08-23 04:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 04:43: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-08-23 04:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584720128001,"66":27397,"212":206,"86":48640,"24":51,"16":389823639945478144,"45":4891612910999861248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-08-23 04:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584720128001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:43:25] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-23 04:43:25] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-08-23 04:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389823639945478144,"km_value":389823639945478.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4891612910999861248,"description":"Unknown IO ID 45"} 
[2026-08-23 04:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584720128001,"power":27397,"unknown_212":206,"unknown_86":48640,"ignition":51,"odometer":null,"unknown_45":4891612910999861248}} 
[2026-08-23 04:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":162845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:43:25] local.INFO: GPS data processed {"connection_id":162845,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:43:25] local.INFO: Acknowledgment sent {"connection_id":162845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:43:51] local.INFO: TCP Data received {"connection_id":161431,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:43:51] local.INFO: Processing buffer {"connection_id":161431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:43:51] local.INFO: IMEI packet received {"connection_id":161431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":161431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:43:52] local.INFO: TCP Data received {"connection_id":161431,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:43:52] local.INFO: Processing buffer {"connection_id":161431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:43:52] local.INFO: IMEI packet received {"connection_id":161431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":161431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:43:56] local.INFO: TCP Data received {"connection_id":161431,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:43:56] local.INFO: Processing buffer {"connection_id":161431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:43:56] local.INFO: IMEI packet received {"connection_id":161431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":161431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:43:57] local.INFO: TCP Data received {"connection_id":161431,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bbfa8c0012d43220006941310001e000129..."} 
[2026-08-23 04:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bbfa8c0012d43220006941310001e000129..."} 
[2026-08-23 04:43:57] local.INFO: Processing buffer {"connection_id":161431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bbfa8c0012d43220006941310001e000129..."} 
[2026-08-23 04:43:57] local.INFO: Packet analysis {"connection_id":161431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bbf"} 
[2026-08-23 04:43:57] local.INFO: Extracted packet for processing {"connection_id":161431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bbf"} 
[2026-08-23 04:43:57] local.INFO: GPS Element Parsed {"raw_longitude":759374336,"raw_latitude":110367504,"longitude_deg":75.9374336,"latitude_deg":11.0367504,"altitude":30,"angle":1,"satellites":41,"speed":66,"hex_longitude":"2d432200","hex_latitude":"06941310","is_valid_coordinates":true} 
[2026-08-23 04:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584735744001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389827698689572864,"note":"Value kept but may cause issues"} 
[2026-08-23 04:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4837640084235087872,"note":"Value kept but may cause issues"} 
[2026-08-23 04:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787440376000,"timestamp_ms":1787440376000,"timestamp_seconds":1787440376,"priority":1,"record_length":96,"hex_timestamp":"000001a02bbfa8c0"} 
[2026-08-23 04:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:43: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-08-23 04:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 04:43: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-08-23 04:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584735744001,"66":27365,"197":206,"86":48640,"24":66,"16":389827698689572864,"45":4837640084235087872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,86,24,16,45]} 
[2026-08-23 04:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584735744001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:43:57] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-23 04:43:57] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-08-23 04:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389827698689572864,"km_value":389827698689572.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4837640084235087872,"description":"Unknown IO ID 45"} 
[2026-08-23 04:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584735744001,"power":27365,"unknown_197":206,"unknown_86":48640,"ignition":66,"odometer":null,"unknown_45":4837640084235087872}} 
[2026-08-23 04:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":161431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:43:57] local.INFO: GPS data processed {"connection_id":161431,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:43:57] local.INFO: Acknowledgment sent {"connection_id":161431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:43:59] local.INFO: TCP Data received {"connection_id":161431,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bbfb478012d43244006942638001e000c2b..."} 
[2026-08-23 04:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bbfb478012d43244006942638001e000c2b..."} 
[2026-08-23 04:43:59] local.INFO: Processing buffer {"connection_id":161431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bbfb478012d43244006942638001e000c2b..."} 
[2026-08-23 04:43:59] local.INFO: Packet analysis {"connection_id":161431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bbf"} 
[2026-08-23 04:43:59] local.INFO: Extracted packet for processing {"connection_id":161431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bbf"} 
[2026-08-23 04:43:59] local.INFO: GPS Element Parsed {"raw_longitude":759374912,"raw_latitude":110372408,"longitude_deg":75.9374912,"latitude_deg":11.0372408,"altitude":30,"angle":12,"satellites":43,"speed":64,"hex_longitude":"2d432440","hex_latitude":"06942638","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584736256001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389827939207741440,"note":"Value kept but may cause issues"} 
[2026-08-23 04:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4837428978003415040,"note":"Value kept but may cause issues"} 
[2026-08-23 04:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787440379000,"timestamp_ms":1787440379000,"timestamp_seconds":1787440379,"priority":1,"record_length":96,"hex_timestamp":"000001a02bbfb478"} 
[2026-08-23 04:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:43: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-08-23 04:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 04:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04: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-08-23 04:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584736256001,"66":27365,"197":206,"86":48640,"24":64,"16":389827939207741440,"45":4837428978003415040},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,86,24,16,45]} 
[2026-08-23 04:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584736256001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:43:59] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-23 04:43:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-08-23 04:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389827939207741440,"km_value":389827939207741.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4837428978003415040,"description":"Unknown IO ID 45"} 
[2026-08-23 04:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584736256001,"power":27365,"unknown_197":206,"unknown_86":48640,"ignition":64,"odometer":null,"unknown_45":4837428978003415040}} 
[2026-08-23 04:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":161431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:43:59] local.INFO: GPS data processed {"connection_id":161431,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:43:59] local.INFO: Acknowledgment sent {"connection_id":161431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:44:31] local.INFO: TCP Data received {"connection_id":161431,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bbfcbe8012d43318006944980001c00162c..."} 
[2026-08-23 04:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bbfcbe8012d43318006944980001c00162c..."} 
[2026-08-23 04:44:31] local.INFO: Processing buffer {"connection_id":161431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bbfcbe8012d43318006944980001c00162c..."} 
[2026-08-23 04:44:31] local.INFO: Packet analysis {"connection_id":161431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bbf"} 
[2026-08-23 04:44:31] local.INFO: Extracted packet for processing {"connection_id":161431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bbf"} 
[2026-08-23 04:44:31] local.INFO: GPS Element Parsed {"raw_longitude":759378304,"raw_latitude":110381440,"longitude_deg":75.9378304,"latitude_deg":11.038144,"altitude":28,"angle":22,"satellites":44,"speed":62,"hex_longitude":"2d433180","hex_latitude":"06944980","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584737024001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389828407359176704,"note":"Value kept but may cause issues"} 
[2026-08-23 04:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4838062296702269440,"note":"Value kept but may cause issues"} 
[2026-08-23 04:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787440385000,"timestamp_ms":1787440385000,"timestamp_seconds":1787440385,"priority":1,"record_length":96,"hex_timestamp":"000001a02bbfcbe8"} 
[2026-08-23 04:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 04:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04: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-08-23 04:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584737024001,"66":27397,"197":206,"86":48640,"24":62,"16":389828407359176704,"45":4838062296702269440},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,86,24,16,45]} 
[2026-08-23 04:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584737024001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:44:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-23 04:44:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-08-23 04:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389828407359176704,"km_value":389828407359176.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4838062296702269440,"description":"Unknown IO ID 45"} 
[2026-08-23 04:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584737024001,"power":27397,"unknown_197":206,"unknown_86":48640,"ignition":62,"odometer":null,"unknown_45":4838062296702269440}} 
[2026-08-23 04:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":161431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:44:31] local.INFO: GPS data processed {"connection_id":161431,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:44:31] local.INFO: Acknowledgment sent {"connection_id":161431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:44:47] local.INFO: TCP Data received {"connection_id":162846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:44:47] local.INFO: Processing buffer {"connection_id":162846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:44:47] local.INFO: IMEI packet received {"connection_id":162846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":162846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:44:49] local.INFO: TCP Data received {"connection_id":162846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:44:49] local.INFO: Processing buffer {"connection_id":162846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:44:49] local.INFO: IMEI packet received {"connection_id":162846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":162846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:44:52] local.INFO: TCP Data received {"connection_id":162846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:44:52] local.INFO: Processing buffer {"connection_id":162846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:44:52] local.INFO: IMEI packet received {"connection_id":162846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":162846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:44:53] local.INFO: TCP Data received {"connection_id":162846,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bbfe358012d43400006946b88001a00172e..."} 
[2026-08-23 04:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bbfe358012d43400006946b88001a00172e..."} 
[2026-08-23 04:44:53] local.INFO: Processing buffer {"connection_id":162846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bbfe358012d43400006946b88001a00172e..."} 
[2026-08-23 04:44:53] local.INFO: Packet analysis {"connection_id":162846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bbf"} 
[2026-08-23 04:44:53] local.INFO: Extracted packet for processing {"connection_id":162846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bbf"} 
[2026-08-23 04:44:53] local.INFO: GPS Element Parsed {"raw_longitude":759382016,"raw_latitude":110390152,"longitude_deg":75.9382016,"latitude_deg":11.0390152,"altitude":26,"angle":23,"satellites":46,"speed":62,"hex_longitude":"2d434000","hex_latitude":"06946b88","is_valid_coordinates":true} 
[2026-08-23 04:44: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-08-23 04:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584738560001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389828862625710080,"note":"Value kept but may cause issues"} 
[2026-08-23 04:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4841791840145997824,"note":"Value kept but may cause issues"} 
[2026-08-23 04:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787440391000,"timestamp_ms":1787440391000,"timestamp_seconds":1787440391,"priority":1,"record_length":96,"hex_timestamp":"000001a02bbfe358"} 
[2026-08-23 04:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:44: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-08-23 04:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 04:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:44: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-08-23 04:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584738560001,"66":27267,"197":206,"86":48640,"24":62,"16":389828862625710080,"45":4841791840145997824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,86,24,16,45]} 
[2026-08-23 04:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584738560001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:44:53] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-23 04:44:53] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-08-23 04:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389828862625710080,"km_value":389828862625710.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4841791840145997824,"description":"Unknown IO ID 45"} 
[2026-08-23 04:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584738560001,"power":27267,"unknown_197":206,"unknown_86":48640,"ignition":62,"odometer":null,"unknown_45":4841791840145997824}} 
[2026-08-23 04:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":162846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:44:53] local.INFO: GPS data processed {"connection_id":162846,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:44:53] local.INFO: Acknowledgment sent {"connection_id":162846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:45:25] local.INFO: TCP Data received {"connection_id":162846,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bc11fc0012d4339c0069609880016014334..."} 
[2026-08-23 04:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bc11fc0012d4339c0069609880016014334..."} 
[2026-08-23 04:45:25] local.INFO: Processing buffer {"connection_id":162846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bc11fc0012d4339c0069609880016014334..."} 
[2026-08-23 04:45:25] local.INFO: Packet analysis {"connection_id":162846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bc1"} 
[2026-08-23 04:45:25] local.INFO: Extracted packet for processing {"connection_id":162846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bc1"} 
[2026-08-23 04:45:25] local.INFO: GPS Element Parsed {"raw_longitude":759380416,"raw_latitude":110496136,"longitude_deg":75.9380416,"latitude_deg":11.0496136,"altitude":22,"angle":323,"satellites":52,"speed":62,"hex_longitude":"2d4339c0","hex_latitude":"06960988","is_valid_coordinates":true} 
[2026-08-23 04:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584759296001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389834489032867840,"note":"Value kept but may cause issues"} 
[2026-08-23 04:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4850236089474803712,"note":"Value kept but may cause issues"} 
[2026-08-23 04:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787440472000,"timestamp_ms":1787440472000,"timestamp_seconds":1787440472,"priority":1,"record_length":96,"hex_timestamp":"000001a02bc11fc0"} 
[2026-08-23 04:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 04:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584759296001,"66":27343,"28":206,"81":47616,"24":62,"16":389834489032867840,"45":4850236089474803712},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-08-23 04:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584759296001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:45:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-23 04:45:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389834489032867840,"km_value":389834489032867.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4850236089474803712,"description":"Unknown IO ID 45"} 
[2026-08-23 04:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584759296001,"power":27343,"unknown_28":206,"unknown_81":47616,"ignition":62,"odometer":null,"unknown_45":4850236089474803712}} 
[2026-08-23 04:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":162846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:45:25] local.INFO: GPS data processed {"connection_id":162846,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:45:25] local.INFO: Acknowledgment sent {"connection_id":162846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:45:51] local.INFO: TCP Data received {"connection_id":161432,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:45:51] local.INFO: Processing buffer {"connection_id":161432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:45:51] local.INFO: IMEI packet received {"connection_id":161432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":161432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:45:52] local.INFO: TCP Data received {"connection_id":161432,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:45:52] local.INFO: Processing buffer {"connection_id":161432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:45:52] local.INFO: IMEI packet received {"connection_id":161432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":161432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:45:57] local.INFO: TCP Data received {"connection_id":161432,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:45:57] local.INFO: Processing buffer {"connection_id":161432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:45:57] local.INFO: IMEI packet received {"connection_id":161432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":161432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:45:58] local.INFO: TCP Data received {"connection_id":161432,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bc13730012d432300069627880014014334..."} 
[2026-08-23 04:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bc13730012d432300069627880014014334..."} 
[2026-08-23 04:45:58] local.INFO: Processing buffer {"connection_id":161432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bc13730012d432300069627880014014334..."} 
[2026-08-23 04:45:58] local.INFO: Packet analysis {"connection_id":161432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bc1"} 
[2026-08-23 04:45:58] local.INFO: Extracted packet for processing {"connection_id":161432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bc1"} 
[2026-08-23 04:45:58] local.INFO: GPS Element Parsed {"raw_longitude":759374592,"raw_latitude":110503816,"longitude_deg":75.9374592,"latitude_deg":11.0503816,"altitude":20,"angle":323,"satellites":52,"speed":63,"hex_longitude":"2d432300","hex_latitude":"06962788","is_valid_coordinates":true} 
[2026-08-23 04:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584760832001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389834952889335808,"note":"Value kept but may cause issues"} 
[2026-08-23 04:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4844114008733222912,"note":"Value kept but may cause issues"} 
[2026-08-23 04:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787440478000,"timestamp_ms":1787440478000,"timestamp_seconds":1787440478,"priority":1,"record_length":96,"hex_timestamp":"000001a02bc13730"} 
[2026-08-23 04:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 04:45: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-08-23 04:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584760832001,"66":27267,"28":206,"81":47616,"24":63,"16":389834952889335808,"45":4844114008733222912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-08-23 04:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584760832001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:45:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-23 04:45:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389834952889335808,"km_value":389834952889335.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4844114008733222912,"description":"Unknown IO ID 45"} 
[2026-08-23 04:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584760832001,"power":27267,"unknown_28":206,"unknown_81":47616,"ignition":63,"odometer":null,"unknown_45":4844114008733222912}} 
[2026-08-23 04:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":161432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:45:58] local.INFO: GPS data processed {"connection_id":161432,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:45:58] local.INFO: Acknowledgment sent {"connection_id":161432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:46:00] local.INFO: TCP Data received {"connection_id":161432,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bc14ea0012d430d40069645a00013014734..."} 
[2026-08-23 04:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bc14ea0012d430d40069645a00013014734..."} 
[2026-08-23 04:46:00] local.INFO: Processing buffer {"connection_id":161432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bc14ea0012d430d40069645a00013014734..."} 
[2026-08-23 04:46:00] local.INFO: Packet analysis {"connection_id":161432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bc1"} 
[2026-08-23 04:46:00] local.INFO: Extracted packet for processing {"connection_id":161432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bc1"} 
[2026-08-23 04:46:00] local.INFO: GPS Element Parsed {"raw_longitude":759369024,"raw_latitude":110511520,"longitude_deg":75.9369024,"latitude_deg":11.051152,"altitude":19,"angle":327,"satellites":52,"speed":61,"hex_longitude":"2d430d40","hex_latitude":"069645a0","is_valid_coordinates":true} 
[2026-08-23 04:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584762368001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389835408155869184,"note":"Value kept but may cause issues"} 
[2026-08-23 04:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4837710453015021568,"note":"Value kept but may cause issues"} 
[2026-08-23 04:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787440484000,"timestamp_ms":1787440484000,"timestamp_seconds":1787440484,"priority":1,"record_length":96,"hex_timestamp":"000001a02bc14ea0"} 
[2026-08-23 04:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:46: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-08-23 04:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 04:46: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-08-23 04:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584762368001,"66":27213,"28":206,"81":47616,"24":61,"16":389835408155869184,"45":4837710453015021568},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-08-23 04:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584762368001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:46:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-23 04:46:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389835408155869184,"km_value":389835408155869.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4837710453015021568,"description":"Unknown IO ID 45"} 
[2026-08-23 04:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584762368001,"power":27213,"unknown_28":206,"unknown_81":47616,"ignition":61,"odometer":null,"unknown_45":4837710453015021568}} 
[2026-08-23 04:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":161432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:46:00] local.INFO: GPS data processed {"connection_id":161432,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:46:00] local.INFO: Acknowledgment sent {"connection_id":161432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:46:31] local.INFO: TCP Data received {"connection_id":161432,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bc16610012d42fd40069664f80014015234..."} 
[2026-08-23 04:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bc16610012d42fd40069664f80014015234..."} 
[2026-08-23 04:46:31] local.INFO: Processing buffer {"connection_id":161432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bc16610012d42fd40069664f80014015234..."} 
[2026-08-23 04:46:31] local.INFO: Packet analysis {"connection_id":161432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bc1"} 
[2026-08-23 04:46:31] local.INFO: Extracted packet for processing {"connection_id":161432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bc1"} 
[2026-08-23 04:46:31] local.INFO: GPS Element Parsed {"raw_longitude":759364928,"raw_latitude":110519544,"longitude_deg":75.9364928,"latitude_deg":11.0519544,"altitude":20,"angle":338,"satellites":52,"speed":57,"hex_longitude":"2d42fd40","hex_latitude":"069664f8","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584763904001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389835846242533376,"note":"Value kept but may cause issues"} 
[2026-08-23 04:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4831588372273537024,"note":"Value kept but may cause issues"} 
[2026-08-23 04:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787440490000,"timestamp_ms":1787440490000,"timestamp_seconds":1787440490,"priority":1,"record_length":96,"hex_timestamp":"000001a02bc16610"} 
[2026-08-23 04:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 04:46: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-08-23 04: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-08-23 04:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584763904001,"66":27213,"28":206,"81":47616,"24":57,"16":389835846242533376,"45":4831588372273537024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-08-23 04:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584763904001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:46:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-23 04:46:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389835846242533376,"km_value":389835846242533.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4831588372273537024,"description":"Unknown IO ID 45"} 
[2026-08-23 04:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584763904001,"power":27213,"unknown_28":206,"unknown_81":47616,"ignition":57,"odometer":null,"unknown_45":4831588372273537024}} 
[2026-08-23 04:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":161432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:46:31] local.INFO: GPS data processed {"connection_id":161432,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:46:31] local.INFO: Acknowledgment sent {"connection_id":161432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:46:45] local.INFO: TCP Data received {"connection_id":161433,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:46:45] local.INFO: Processing buffer {"connection_id":161433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:46:45] local.INFO: IMEI packet received {"connection_id":161433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":161433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:46:47] local.INFO: TCP Data received {"connection_id":161433,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:46:47] local.INFO: Processing buffer {"connection_id":161433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:46:47] local.INFO: IMEI packet received {"connection_id":161433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":161433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:46:52] local.INFO: TCP Data received {"connection_id":161433,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:46:52] local.INFO: Processing buffer {"connection_id":161433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:46:52] local.INFO: IMEI packet received {"connection_id":161433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":161433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:46:55] local.INFO: TCP Data received {"connection_id":161433,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bc16610012d42fd40069664f80014015234..."} 
[2026-08-23 04:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bc16610012d42fd40069664f80014015234..."} 
[2026-08-23 04:46:55] local.INFO: Processing buffer {"connection_id":161433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bc16610012d42fd40069664f80014015234..."} 
[2026-08-23 04:46:55] local.INFO: Packet analysis {"connection_id":161433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bc1"} 
[2026-08-23 04:46:55] local.INFO: Extracted packet for processing {"connection_id":161433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bc1"} 
[2026-08-23 04:46:55] local.INFO: GPS Element Parsed {"raw_longitude":759364928,"raw_latitude":110519544,"longitude_deg":75.9364928,"latitude_deg":11.0519544,"altitude":20,"angle":338,"satellites":52,"speed":57,"hex_longitude":"2d42fd40","hex_latitude":"069664f8","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584765440001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389835846242533376,"note":"Value kept but may cause issues"} 
[2026-08-23 04:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4827084772648220672,"note":"Value kept but may cause issues"} 
[2026-08-23 04:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787440490000,"timestamp_ms":1787440490000,"timestamp_seconds":1787440490,"priority":1,"record_length":96,"hex_timestamp":"000001a02bc16610"} 
[2026-08-23 04:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04: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-08-23 04:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 04:46:55] 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-08-23 04: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-08-23 04:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584765440001,"66":27213,"28":206,"81":47616,"24":57,"16":389835846242533376,"45":4827084772648220672},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-08-23 04:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584765440001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:46:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-08-23 04:46:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389835846242533376,"km_value":389835846242533.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4827084772648220672,"description":"Unknown IO ID 45"} 
[2026-08-23 04:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584765440001,"power":27213,"unknown_28":206,"unknown_81":47616,"ignition":57,"odometer":null,"unknown_45":4827084772648220672}} 
[2026-08-23 04:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":161433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:46:55] local.INFO: GPS data processed {"connection_id":161433,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:46:55] local.INFO: Acknowledgment sent {"connection_id":161433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:47:26] local.INFO: TCP Data received {"connection_id":161433,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bc2f480012d42a6400697d5980032013030..."} 
[2026-08-23 04:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bc2f480012d42a6400697d5980032013030..."} 
[2026-08-23 04:47:26] local.INFO: Processing buffer {"connection_id":161433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bc2f480012d42a6400697d5980032013030..."} 
[2026-08-23 04:47:26] local.INFO: Packet analysis {"connection_id":161433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bc2"} 
[2026-08-23 04:47:26] local.INFO: Extracted packet for processing {"connection_id":161433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bc2"} 
[2026-08-23 04:47:26] local.INFO: GPS Element Parsed {"raw_longitude":759342656,"raw_latitude":110613912,"longitude_deg":75.9342656,"latitude_deg":11.0613912,"altitude":50,"angle":304,"satellites":48,"speed":44,"hex_longitude":"2d42a640","hex_latitude":"0697d598","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584790272001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389840643721003008,"note":"Value kept but may cause issues"} 
[2026-08-23 04:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4807311155557545984,"note":"Value kept but may cause issues"} 
[2026-08-23 04:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787440592000,"timestamp_ms":1787440592000,"timestamp_seconds":1787440592,"priority":1,"record_length":96,"hex_timestamp":"000001a02bc2f480"} 
[2026-08-23 04:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 04:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04: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-08-23 04:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584790272001,"66":27213,"29":206,"81":47616,"24":44,"16":389840643721003008,"45":4807311155557545984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-08-23 04:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584790272001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:47:26] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-23 04:47:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389840643721003008,"km_value":389840643721003.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4807311155557545984,"description":"Unknown IO ID 45"} 
[2026-08-23 04:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584790272001,"power":27213,"unknown_29":206,"unknown_81":47616,"ignition":44,"odometer":null,"unknown_45":4807311155557545984}} 
[2026-08-23 04:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":161433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:47:26] local.INFO: GPS data processed {"connection_id":161433,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:47:26] local.INFO: Acknowledgment sent {"connection_id":161433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:47:47] local.INFO: TCP Data received {"connection_id":160266,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:47:47] local.INFO: Processing buffer {"connection_id":160266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:47:47] local.INFO: IMEI packet received {"connection_id":160266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":160266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:47:48] local.INFO: TCP Data received {"connection_id":160266,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:47:48] local.INFO: Processing buffer {"connection_id":160266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:47:48] local.INFO: IMEI packet received {"connection_id":160266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":160266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:47:52] local.INFO: TCP Data received {"connection_id":160266,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:47:52] local.INFO: Processing buffer {"connection_id":160266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:47:52] local.INFO: IMEI packet received {"connection_id":160266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":160266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:47:52] local.INFO: TCP Data received {"connection_id":160266,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bc30420012d4296c00697dde00032012530..."} 
[2026-08-23 04:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bc30420012d4296c00697dde00032012530..."} 
[2026-08-23 04:47:52] local.INFO: Processing buffer {"connection_id":160266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bc30420012d4296c00697dde00032012530..."} 
[2026-08-23 04:47:52] local.INFO: Packet analysis {"connection_id":160266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bc3"} 
[2026-08-23 04:47:52] local.INFO: Extracted packet for processing {"connection_id":160266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bc3"} 
[2026-08-23 04:47:52] local.INFO: GPS Element Parsed {"raw_longitude":759338688,"raw_latitude":110616032,"longitude_deg":75.9338688,"latitude_deg":11.0616032,"altitude":50,"angle":293,"satellites":48,"speed":44,"hex_longitude":"2d4296c0","hex_latitude":"0697dde0","is_valid_coordinates":true} 
[2026-08-23 04:47: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-08-23 04:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584791552001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389840858469367808,"note":"Value kept but may cause issues"} 
[2026-08-23 04:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4802596449698551808,"note":"Value kept but may cause issues"} 
[2026-08-23 04:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787440596000,"timestamp_ms":1787440596000,"timestamp_seconds":1787440596,"priority":1,"record_length":96,"hex_timestamp":"000001a02bc30420"} 
[2026-08-23 04:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:47: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-08-23 04:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 04:47:52] 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-08-23 04:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584791552001,"66":27169,"29":206,"81":47616,"24":44,"16":389840858469367808,"45":4802596449698551808},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-08-23 04:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584791552001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:47:52] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-23 04:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389840858469367808,"km_value":389840858469367.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4802596449698551808,"description":"Unknown IO ID 45"} 
[2026-08-23 04:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584791552001,"power":27169,"unknown_29":206,"unknown_81":47616,"ignition":44,"odometer":null,"unknown_45":4802596449698551808}} 
[2026-08-23 04:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":160266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:47:52] local.INFO: GPS data processed {"connection_id":160266,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:47:52] local.INFO: Acknowledgment sent {"connection_id":160266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:48:23] local.INFO: TCP Data received {"connection_id":160266,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bc32360012d4273400697ebc0003001222f..."} 
[2026-08-23 04:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bc32360012d4273400697ebc0003001222f..."} 
[2026-08-23 04:48:23] local.INFO: Processing buffer {"connection_id":160266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bc32360012d4273400697ebc0003001222f..."} 
[2026-08-23 04:48:23] local.INFO: Packet analysis {"connection_id":160266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bc3"} 
[2026-08-23 04:48:23] local.INFO: Extracted packet for processing {"connection_id":160266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bc3"} 
[2026-08-23 04:48:23] local.INFO: GPS Element Parsed {"raw_longitude":759329600,"raw_latitude":110619584,"longitude_deg":75.93296,"latitude_deg":11.0619584,"altitude":48,"angle":290,"satellites":47,"speed":52,"hex_longitude":"2d427340","hex_latitude":"0697ebc0","is_valid_coordinates":true} 
[2026-08-23 04:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584792576001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389841322325835776,"note":"Value kept but may cause issues"} 
[2026-08-23 04:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4798233587560079360,"note":"Value kept but may cause issues"} 
[2026-08-23 04:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787440604000,"timestamp_ms":1787440604000,"timestamp_seconds":1787440604,"priority":1,"record_length":96,"hex_timestamp":"000001a02bc32360"} 
[2026-08-23 04:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-23 04:48:23] 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-08-23 04:48:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584792576001,"66":27234,"72":206,"81":47616,"24":52,"16":389841322325835776,"45":4798233587560079360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,81,24,16,45]} 
[2026-08-23 04:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584792576001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:48:23] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-23 04:48:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389841322325835776,"km_value":389841322325835.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4798233587560079360,"description":"Unknown IO ID 45"} 
[2026-08-23 04:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584792576001,"power":27234,"unknown_72":206,"unknown_81":47616,"ignition":52,"odometer":null,"unknown_45":4798233587560079360}} 
[2026-08-23 04:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":160266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:48:23] local.INFO: GPS data processed {"connection_id":160266,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:48:23] local.INFO: Acknowledgment sent {"connection_id":160266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:48:47] local.INFO: TCP Data received {"connection_id":161434,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:48:47] local.INFO: Processing buffer {"connection_id":161434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:48:47] local.INFO: IMEI packet received {"connection_id":161434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":161434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:48:52] local.INFO: TCP Data received {"connection_id":161434,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:48:52] local.INFO: Processing buffer {"connection_id":161434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:48:52] local.INFO: IMEI packet received {"connection_id":161434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":161434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:49:02] local.INFO: TCP Data received {"connection_id":161434,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bc42918012d4109c00698acb00024012e33..."} 
[2026-08-23 04:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bc42918012d4109c00698acb00024012e33..."} 
[2026-08-23 04:49:02] local.INFO: Processing buffer {"connection_id":161434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bc42918012d4109c00698acb00024012e33..."} 
[2026-08-23 04:49:02] local.INFO: Packet analysis {"connection_id":161434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bc4"} 
[2026-08-23 04:49:02] local.INFO: Extracted packet for processing {"connection_id":161434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bc4"} 
[2026-08-23 04:49:02] local.INFO: GPS Element Parsed {"raw_longitude":759237056,"raw_latitude":110668976,"longitude_deg":75.9237056,"latitude_deg":11.0668976,"altitude":36,"angle":302,"satellites":51,"speed":42,"hex_longitude":"2d4109c0","hex_latitude":"0698acb0","is_valid_coordinates":true} 
[2026-08-23 04:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584809728001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389846364617441280,"note":"Value kept but may cause issues"} 
[2026-08-23 04:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4694932271119564800,"note":"Value kept but may cause issues"} 
[2026-08-23 04:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787440671000,"timestamp_ms":1787440671000,"timestamp_seconds":1787440671,"priority":1,"record_length":96,"hex_timestamp":"000001a02bc42918"} 
[2026-08-23 04:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 04:49: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-08-23 04:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584809728001,"66":27365,"73":206,"81":47616,"24":42,"16":389846364617441280,"45":4694932271119564800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-08-23 04:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584809728001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:49:02] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-23 04:49:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389846364617441280,"km_value":389846364617441.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4694932271119564800,"description":"Unknown IO ID 45"} 
[2026-08-23 04:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584809728001,"power":27365,"unknown_73":206,"unknown_81":47616,"ignition":42,"odometer":null,"unknown_45":4694932271119564800}} 
[2026-08-23 04:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":161434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:49:02] local.INFO: GPS data processed {"connection_id":161434,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:49:02] local.INFO: Acknowledgment sent {"connection_id":161434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:49:53] local.INFO: TCP Data received {"connection_id":160463,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:49:53] local.INFO: Processing buffer {"connection_id":160463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:49:53] local.INFO: IMEI packet received {"connection_id":160463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":160463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:49:56] local.INFO: TCP Data received {"connection_id":160463,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:49:56] local.INFO: Processing buffer {"connection_id":160463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:49:56] local.INFO: IMEI packet received {"connection_id":160463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":160463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:49:57] local.INFO: TCP Data received {"connection_id":160463,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:49:57] local.INFO: Processing buffer {"connection_id":160463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:49:57] local.INFO: IMEI packet received {"connection_id":160463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":160463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:49:57] local.INFO: TCP Data received {"connection_id":160463,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bc50f90012d3fe940069959780016011031..."} 
[2026-08-23 04:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bc50f90012d3fe940069959780016011031..."} 
[2026-08-23 04:49:57] local.INFO: Processing buffer {"connection_id":160463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bc50f90012d3fe940069959780016011031..."} 
[2026-08-23 04:49:57] local.INFO: Packet analysis {"connection_id":160463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bc5"} 
[2026-08-23 04:49:57] local.INFO: Extracted packet for processing {"connection_id":160463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bc5"} 
[2026-08-23 04:49:57] local.INFO: GPS Element Parsed {"raw_longitude":759163200,"raw_latitude":110713208,"longitude_deg":75.91632,"latitude_deg":11.0713208,"altitude":22,"angle":272,"satellites":49,"speed":66,"hex_longitude":"2d3fe940","hex_latitude":"06995978","is_valid_coordinates":true} 
[2026-08-23 04:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584825600001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389850535030685696,"note":"Value kept but may cause issues"} 
[2026-08-23 04:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4614571165280921600,"note":"Value kept but may cause issues"} 
[2026-08-23 04:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787440730000,"timestamp_ms":1787440730000,"timestamp_seconds":1787440730,"priority":1,"record_length":96,"hex_timestamp":"000001a02bc50f90"} 
[2026-08-23 04:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 04:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584825600001,"66":27343,"232":206,"81":47616,"24":66,"16":389850535030685696,"45":4614571165280921600},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-08-23 04:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584825600001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:49:57] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-23 04:49:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389850535030685696,"km_value":389850535030685.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4614571165280921600,"description":"Unknown IO ID 45"} 
[2026-08-23 04:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584825600001,"power":27343,"unknown_232":206,"unknown_81":47616,"ignition":66,"odometer":null,"unknown_45":4614571165280921600}} 
[2026-08-23 04:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":160463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:49:57] local.INFO: GPS data processed {"connection_id":160463,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:49:57] local.INFO: Acknowledgment sent {"connection_id":160463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:50:02] local.INFO: TCP Data received {"connection_id":160463,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bc52700012d3fc3c0069957900017010431..."} 
[2026-08-23 04:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bc52700012d3fc3c0069957900017010431..."} 
[2026-08-23 04:50:02] local.INFO: Processing buffer {"connection_id":160463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bc52700012d3fc3c0069957900017010431..."} 
[2026-08-23 04:50:02] local.INFO: Packet analysis {"connection_id":160463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bc5"} 
[2026-08-23 04:50:02] local.INFO: Extracted packet for processing {"connection_id":160463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bc5"} 
[2026-08-23 04:50:02] local.INFO: GPS Element Parsed {"raw_longitude":759153600,"raw_latitude":110712720,"longitude_deg":75.91536,"latitude_deg":11.071272,"altitude":23,"angle":260,"satellites":49,"speed":60,"hex_longitude":"2d3fc3c0","hex_latitude":"06995790","is_valid_coordinates":true} 
[2026-08-23 04:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584826880001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389850994592186368,"note":"Value kept but may cause issues"} 
[2026-08-23 04:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4605282491049801728,"note":"Value kept but may cause issues"} 
[2026-08-23 04:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787440736000,"timestamp_ms":1787440736000,"timestamp_seconds":1787440736,"priority":1,"record_length":96,"hex_timestamp":"000001a02bc52700"} 
[2026-08-23 04:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:50: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-08-23 04:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 04:50: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-08-23 04:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584826880001,"66":27397,"232":206,"81":47616,"24":60,"16":389850994592186368,"45":4605282491049801728},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-08-23 04:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584826880001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:50:02] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-23 04:50:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389850994592186368,"km_value":389850994592186.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4605282491049801728,"description":"Unknown IO ID 45"} 
[2026-08-23 04:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584826880001,"power":27397,"unknown_232":206,"unknown_81":47616,"ignition":60,"odometer":null,"unknown_45":4605282491049801728}} 
[2026-08-23 04:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":160463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:50:02] local.INFO: GPS data processed {"connection_id":160463,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:50:02] local.INFO: Acknowledgment sent {"connection_id":160463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:51:02] local.INFO: TCP Data received {"connection_id":160267,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:51:02] local.INFO: Processing buffer {"connection_id":160267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:51:02] local.INFO: IMEI packet received {"connection_id":160267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":160267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:51:04] local.INFO: TCP Data received {"connection_id":160267,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:51:04] local.INFO: Processing buffer {"connection_id":160267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:51:04] local.INFO: IMEI packet received {"connection_id":160267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":160267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:51:07] local.INFO: TCP Data received {"connection_id":160267,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:51:07] local.INFO: Processing buffer {"connection_id":160267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:51:07] local.INFO: IMEI packet received {"connection_id":160267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":160267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:51:08] local.INFO: TCP Data received {"connection_id":160267,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bc5dab0012d3ec28006992aa00013011730..."} 
[2026-08-23 04:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bc5dab0012d3ec28006992aa00013011730..."} 
[2026-08-23 04:51:08] local.INFO: Processing buffer {"connection_id":160267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bc5dab0012d3ec28006992aa00013011730..."} 
[2026-08-23 04:51:08] local.INFO: Packet analysis {"connection_id":160267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bc5"} 
[2026-08-23 04:51:08] local.INFO: Extracted packet for processing {"connection_id":160267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bc5"} 
[2026-08-23 04:51:08] local.INFO: GPS Element Parsed {"raw_longitude":759087744,"raw_latitude":110701216,"longitude_deg":75.9087744,"latitude_deg":11.0701216,"altitude":19,"angle":279,"satellites":48,"speed":63,"hex_longitude":"2d3ec280","hex_latitude":"06992aa0","is_valid_coordinates":true} 
[2026-08-23 04:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584838656001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389854254472364032,"note":"Value kept but may cause issues"} 
[2026-08-23 04:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4532732315799160832,"note":"Value kept but may cause issues"} 
[2026-08-23 04:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787440782000,"timestamp_ms":1787440782000,"timestamp_seconds":1787440782,"priority":1,"record_length":96,"hex_timestamp":"000001a02bc5dab0"} 
[2026-08-23 04:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:51: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-08-23 04:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 04:51: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-08-23 04:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584838656001,"66":27267,"242":206,"81":47616,"24":63,"16":389854254472364032,"45":4532732315799160832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,81,24,16,45]} 
[2026-08-23 04:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584838656001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:51:08] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-23 04:51:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389854254472364032,"km_value":389854254472364.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4532732315799160832,"description":"Unknown IO ID 45"} 
[2026-08-23 04:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584838656001,"power":27267,"unknown_242":206,"unknown_81":47616,"ignition":63,"odometer":null,"unknown_45":4532732315799160832}} 
[2026-08-23 04:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":160267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:51:08] local.INFO: GPS data processed {"connection_id":160267,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:51:08] local.INFO: Acknowledgment sent {"connection_id":160267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:51:47] local.INFO: TCP Data received {"connection_id":160464,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:51:47] local.INFO: Processing buffer {"connection_id":160464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:51:47] local.INFO: IMEI packet received {"connection_id":160464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":160464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:51:52] local.INFO: TCP Data received {"connection_id":160464,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:51:52] local.INFO: Processing buffer {"connection_id":160464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:51:52] local.INFO: IMEI packet received {"connection_id":160464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":160464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:51:52] local.INFO: TCP Data received {"connection_id":160464,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bc6b570012d3de5c00699c8b00015000030..."} 
[2026-08-23 04:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bc6b570012d3de5c00699c8b00015000030..."} 
[2026-08-23 04:51:52] local.INFO: Processing buffer {"connection_id":160464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bc6b570012d3de5c00699c8b00015000030..."} 
[2026-08-23 04:51:52] local.INFO: Packet analysis {"connection_id":160464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bc6"} 
[2026-08-23 04:51:52] local.INFO: Extracted packet for processing {"connection_id":160464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bc6"} 
[2026-08-23 04:51:52] local.INFO: GPS Element Parsed {"raw_longitude":759031232,"raw_latitude":110741680,"longitude_deg":75.9031232,"latitude_deg":11.074168,"altitude":21,"angle":0,"satellites":48,"speed":57,"hex_longitude":"2d3de5c0","hex_latitude":"0699c8b0","is_valid_coordinates":true} 
[2026-08-23 04:51: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-08-23 04:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584852736001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389858141417766912,"note":"Value kept but may cause issues"} 
[2026-08-23 04:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4460252509304440832,"note":"Value kept but may cause issues"} 
[2026-08-23 04:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787440838000,"timestamp_ms":1787440838000,"timestamp_seconds":1787440838,"priority":1,"record_length":96,"hex_timestamp":"000001a02bc6b570"} 
[2026-08-23 04:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:51: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-08-23 04:51: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":98,"data_length":795,"current_offset":136} 
[2026-08-23 04:51:52] 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-08-23 04:51: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-08-23 04:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584852736001,"66":27332,"241":206,"81":47616,"24":57,"16":389858141417766912,"45":4460252509304440832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,81,24,16,45]} 
[2026-08-23 04:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584852736001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:51:52] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-23 04:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389858141417766912,"km_value":389858141417766.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4460252509304440832,"description":"Unknown IO ID 45"} 
[2026-08-23 04:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584852736001,"power":27332,"unknown_241":206,"unknown_81":47616,"ignition":57,"odometer":null,"unknown_45":4460252509304440832}} 
[2026-08-23 04:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":160464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:51:52] local.INFO: GPS data processed {"connection_id":160464,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:51:52] local.INFO: Acknowledgment sent {"connection_id":160464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:52:23] local.INFO: TCP Data received {"connection_id":160464,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bc6d0c8012d3de5c00699f030001500002e..."} 
[2026-08-23 04:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bc6d0c8012d3de5c00699f030001500002e..."} 
[2026-08-23 04:52:23] local.INFO: Processing buffer {"connection_id":160464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bc6d0c8012d3de5c00699f030001500002e..."} 
[2026-08-23 04:52:23] local.INFO: Packet analysis {"connection_id":160464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bc6"} 
[2026-08-23 04:52:23] local.INFO: Extracted packet for processing {"connection_id":160464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bc6"} 
[2026-08-23 04:52:23] local.INFO: GPS Element Parsed {"raw_longitude":759031232,"raw_latitude":110751792,"longitude_deg":75.9031232,"latitude_deg":11.0751792,"altitude":21,"angle":0,"satellites":46,"speed":57,"hex_longitude":"2d3de5c0","hex_latitude":"0699f030","is_valid_coordinates":true} 
[2026-08-23 04:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584854528001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389858631044038656,"note":"Value kept but may cause issues"} 
[2026-08-23 04:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4460182140562747392,"note":"Value kept but may cause issues"} 
[2026-08-23 04:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787440845000,"timestamp_ms":1787440845000,"timestamp_seconds":1787440845,"priority":1,"record_length":96,"hex_timestamp":"000001a02bc6d0c8"} 
[2026-08-23 04:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 04:52:23] 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-08-23 04:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584854528001,"66":27365,"241":206,"81":47616,"24":57,"16":389858631044038656,"45":4460182140562747392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,81,24,16,45]} 
[2026-08-23 04:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584854528001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:52:23] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-23 04:52:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389858631044038656,"km_value":389858631044038.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4460182140562747392,"description":"Unknown IO ID 45"} 
[2026-08-23 04:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584854528001,"power":27365,"unknown_241":206,"unknown_81":47616,"ignition":57,"odometer":null,"unknown_45":4460182140562747392}} 
[2026-08-23 04:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":160464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:52:23] local.INFO: GPS data processed {"connection_id":160464,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:52:23] local.INFO: Acknowledgment sent {"connection_id":160464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:52:47] local.INFO: TCP Data received {"connection_id":160268,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:52:47] local.INFO: Processing buffer {"connection_id":160268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:52:47] local.INFO: IMEI packet received {"connection_id":160268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":160268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:52:52] local.INFO: TCP Data received {"connection_id":160268,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:52:52] local.INFO: Processing buffer {"connection_id":160268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:52:52] local.INFO: IMEI packet received {"connection_id":160268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":160268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:52:53] local.INFO: TCP Data received {"connection_id":160268,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bc6ec20012d3de5c0069a16d0001700002f..."} 
[2026-08-23 04:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bc6ec20012d3de5c0069a16d0001700002f..."} 
[2026-08-23 04:52:53] local.INFO: Processing buffer {"connection_id":160268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bc6ec20012d3de5c0069a16d0001700002f..."} 
[2026-08-23 04:52:53] local.INFO: Packet analysis {"connection_id":160268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bc6"} 
[2026-08-23 04:52:53] local.INFO: Extracted packet for processing {"connection_id":160268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bc6"} 
[2026-08-23 04:52:53] local.INFO: GPS Element Parsed {"raw_longitude":759031232,"raw_latitude":110761680,"longitude_deg":75.9031232,"latitude_deg":11.076168,"altitude":23,"angle":0,"satellites":47,"speed":54,"hex_longitude":"2d3de5c0","hex_latitude":"069a16d0","is_valid_coordinates":true} 
[2026-08-23 04:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584856320001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389859107785408512,"note":"Value kept but may cause issues"} 
[2026-08-23 04:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4460182140565336064,"note":"Value kept but may cause issues"} 
[2026-08-23 04:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787440852000,"timestamp_ms":1787440852000,"timestamp_seconds":1787440852,"priority":1,"record_length":96,"hex_timestamp":"000001a02bc6ec20"} 
[2026-08-23 04:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:52: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-08-23 04:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-23 04:52: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-08-23 04:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584856320001,"66":27300,"241":206,"81":47616,"24":54,"16":389859107785408512,"45":4460182140565336064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,81,24,16,45]} 
[2026-08-23 04:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584856320001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:52:53] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-23 04:52:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389859107785408512,"km_value":389859107785408.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4460182140565336064,"description":"Unknown IO ID 45"} 
[2026-08-23 04:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584856320001,"power":27300,"unknown_241":206,"unknown_81":47616,"ignition":54,"odometer":null,"unknown_45":4460182140565336064}} 
[2026-08-23 04:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":160268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:52:53] local.INFO: GPS data processed {"connection_id":160268,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:52:53] local.INFO: Acknowledgment sent {"connection_id":160268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:53:25] local.INFO: TCP Data received {"connection_id":160268,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bc86708012d3d8300069bbe58002c015732..."} 
[2026-08-23 04:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bc86708012d3d8300069bbe58002c015732..."} 
[2026-08-23 04:53:25] local.INFO: Processing buffer {"connection_id":160268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bc86708012d3d8300069bbe58002c015732..."} 
[2026-08-23 04:53:25] local.INFO: Packet analysis {"connection_id":160268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bc8"} 
[2026-08-23 04:53:25] local.INFO: Extracted packet for processing {"connection_id":160268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bc8"} 
[2026-08-23 04:53:25] local.INFO: GPS Element Parsed {"raw_longitude":759005952,"raw_latitude":110870104,"longitude_deg":75.9005952,"latitude_deg":11.0870104,"altitude":44,"angle":343,"satellites":50,"speed":51,"hex_longitude":"2d3d8300","hex_latitude":"069bbe58","is_valid_coordinates":true} 
[2026-08-23 04:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584881152001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389864553803939840,"note":"Value kept but may cause issues"} 
[2026-08-23 04:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4435060498921877504,"note":"Value kept but may cause issues"} 
[2026-08-23 04:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787440949000,"timestamp_ms":1787440949000,"timestamp_seconds":1787440949,"priority":1,"record_length":96,"hex_timestamp":"000001a02bc86708"} 
[2026-08-23 04:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:53: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-08-23 04:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 04:53: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-08-23 04:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584881152001,"66":27300,"34":206,"81":47616,"24":51,"16":389864553803939840,"45":4435060498921877504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-23 04:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584881152001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:53:25] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-23 04:53:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389864553803939840,"km_value":389864553803939.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4435060498921877504,"description":"Unknown IO ID 45"} 
[2026-08-23 04:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584881152001,"power":27300,"unknown_34":206,"unknown_81":47616,"ignition":51,"odometer":null,"unknown_45":4435060498921877504}} 
[2026-08-23 04:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":160268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:53:25] local.INFO: GPS data processed {"connection_id":160268,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:53:25] local.INFO: Acknowledgment sent {"connection_id":160268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:53:49] local.INFO: TCP Data received {"connection_id":160269,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:53:49] local.INFO: Processing buffer {"connection_id":160269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:53:49] local.INFO: IMEI packet received {"connection_id":160269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":160269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:53:52] local.INFO: TCP Data received {"connection_id":160269,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:53:52] local.INFO: Processing buffer {"connection_id":160269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:53:52] local.INFO: IMEI packet received {"connection_id":160269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":160269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:53:59] local.INFO: TCP Data received {"connection_id":160269,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:53:59] local.INFO: Processing buffer {"connection_id":160269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:53:59] local.INFO: IMEI packet received {"connection_id":160269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":160269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:53:59] local.INFO: TCP Data received {"connection_id":160269,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bc88260012d3d7940069bdfe8002b015730..."} 
[2026-08-23 04:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bc88260012d3d7940069bdfe8002b015730..."} 
[2026-08-23 04:53:59] local.INFO: Processing buffer {"connection_id":160269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bc88260012d3d7940069bdfe8002b015730..."} 
[2026-08-23 04:53:59] local.INFO: Packet analysis {"connection_id":160269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bc8"} 
[2026-08-23 04:53:59] local.INFO: Extracted packet for processing {"connection_id":160269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bc8"} 
[2026-08-23 04:53:59] local.INFO: GPS Element Parsed {"raw_longitude":759003456,"raw_latitude":110878696,"longitude_deg":75.9003456,"latitude_deg":11.0878696,"altitude":43,"angle":343,"satellites":48,"speed":50,"hex_longitude":"2d3d7940","hex_latitude":"069bdfe8","is_valid_coordinates":true} 
[2026-08-23 04:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584882944001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389864987595636736,"note":"Value kept but may cause issues"} 
[2026-08-23 04:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4432386486645446656,"note":"Value kept but may cause issues"} 
[2026-08-23 04:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787440956000,"timestamp_ms":1787440956000,"timestamp_seconds":1787440956,"priority":1,"record_length":96,"hex_timestamp":"000001a02bc88260"} 
[2026-08-23 04:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 04: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-08-23 04:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584882944001,"66":27234,"34":206,"81":47616,"24":50,"16":389864987595636736,"45":4432386486645446656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-23 04:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584882944001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:53:59] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-23 04:53:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389864987595636736,"km_value":389864987595636.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4432386486645446656,"description":"Unknown IO ID 45"} 
[2026-08-23 04:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584882944001,"power":27234,"unknown_34":206,"unknown_81":47616,"ignition":50,"odometer":null,"unknown_45":4432386486645446656}} 
[2026-08-23 04:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":160269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:53:59] local.INFO: GPS data processed {"connection_id":160269,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:53:59] local.INFO: Acknowledgment sent {"connection_id":160269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:54:00] local.INFO: TCP Data received {"connection_id":160269,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bc89db8012d3d6f80069c01680029015732..."} 
[2026-08-23 04:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bc89db8012d3d6f80069c01680029015732..."} 
[2026-08-23 04:54:00] local.INFO: Processing buffer {"connection_id":160269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bc89db8012d3d6f80069c01680029015732..."} 
[2026-08-23 04:54:00] local.INFO: Packet analysis {"connection_id":160269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bc8"} 
[2026-08-23 04:54:00] local.INFO: Extracted packet for processing {"connection_id":160269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bc8"} 
[2026-08-23 04:54:00] local.INFO: GPS Element Parsed {"raw_longitude":759000960,"raw_latitude":110887272,"longitude_deg":75.900096,"latitude_deg":11.0887272,"altitude":41,"angle":343,"satellites":50,"speed":52,"hex_longitude":"2d3d6f80","hex_latitude":"069c0168","is_valid_coordinates":true} 
[2026-08-23 04:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584884736001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389865421387333632,"note":"Value kept but may cause issues"} 
[2026-08-23 04:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4429642105624717312,"note":"Value kept but may cause issues"} 
[2026-08-23 04:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787440963000,"timestamp_ms":1787440963000,"timestamp_seconds":1787440963,"priority":1,"record_length":96,"hex_timestamp":"000001a02bc89db8"} 
[2026-08-23 04:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 04:54: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-08-23 04:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584884736001,"66":27343,"34":206,"81":47616,"24":52,"16":389865421387333632,"45":4429642105624717312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-23 04:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584884736001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:54:00] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-23 04:54:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389865421387333632,"km_value":389865421387333.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4429642105624717312,"description":"Unknown IO ID 45"} 
[2026-08-23 04:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584884736001,"power":27343,"unknown_34":206,"unknown_81":47616,"ignition":52,"odometer":null,"unknown_45":4429642105624717312}} 
[2026-08-23 04:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":160269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:54:00] local.INFO: GPS data processed {"connection_id":160269,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:54:00] local.INFO: Acknowledgment sent {"connection_id":160269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:54:32] local.INFO: TCP Data received {"connection_id":160269,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bc8b910012d3d6500069c24d0002a015731..."} 
[2026-08-23 04:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bc8b910012d3d6500069c24d0002a015731..."} 
[2026-08-23 04:54:32] local.INFO: Processing buffer {"connection_id":160269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bc8b910012d3d6500069c24d0002a015731..."} 
[2026-08-23 04:54:32] local.INFO: Packet analysis {"connection_id":160269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bc8"} 
[2026-08-23 04:54:32] local.INFO: Extracted packet for processing {"connection_id":160269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bc8"} 
[2026-08-23 04:54:32] local.INFO: GPS Element Parsed {"raw_longitude":758998272,"raw_latitude":110896336,"longitude_deg":75.8998272,"latitude_deg":11.0896336,"altitude":42,"angle":343,"satellites":49,"speed":54,"hex_longitude":"2d3d6500","hex_latitude":"069c24d0","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584886528001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389865876653867008,"note":"Value kept but may cause issues"} 
[2026-08-23 04:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4426897724603983872,"note":"Value kept but may cause issues"} 
[2026-08-23 04:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787440970000,"timestamp_ms":1787440970000,"timestamp_seconds":1787440970,"priority":1,"record_length":96,"hex_timestamp":"000001a02bc8b910"} 
[2026-08-23 04:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04: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":207,"data_length":795,"current_offset":136} 
[2026-08-23 04:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04: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-08-23 04:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584886528001,"66":27267,"34":206,"81":47616,"24":54,"16":389865876653867008,"45":4426897724603983872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-23 04:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584886528001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:54:32] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-23 04:54:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389865876653867008,"km_value":389865876653867.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4426897724603983872,"description":"Unknown IO ID 45"} 
[2026-08-23 04:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584886528001,"power":27267,"unknown_34":206,"unknown_81":47616,"ignition":54,"odometer":null,"unknown_45":4426897724603983872}} 
[2026-08-23 04:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":160269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:54:32] local.INFO: GPS data processed {"connection_id":160269,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:54:32] local.INFO: Acknowledgment sent {"connection_id":160269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:54:44] local.INFO: TCP Data received {"connection_id":160465,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:54:44] local.INFO: Processing buffer {"connection_id":160465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:54:44] local.INFO: IMEI packet received {"connection_id":160465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":160465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:54:47] local.INFO: TCP Data received {"connection_id":160465,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:54:47] local.INFO: Processing buffer {"connection_id":160465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:54:47] local.INFO: IMEI packet received {"connection_id":160465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":160465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:54:50] local.INFO: TCP Data received {"connection_id":160465,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:54:50] local.INFO: Processing buffer {"connection_id":160465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:54:50] local.INFO: IMEI packet received {"connection_id":160465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":160465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:54:51] local.INFO: TCP Data received {"connection_id":160465,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bc9d250012d3ce380069d84600032014232..."} 
[2026-08-23 04:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bc9d250012d3ce380069d84600032014232..."} 
[2026-08-23 04:54:51] local.INFO: Processing buffer {"connection_id":160465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bc9d250012d3ce380069d84600032014232..."} 
[2026-08-23 04:54:51] local.INFO: Packet analysis {"connection_id":160465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bc9"} 
[2026-08-23 04:54:51] local.INFO: Extracted packet for processing {"connection_id":160465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bc9"} 
[2026-08-23 04:54:51] local.INFO: GPS Element Parsed {"raw_longitude":758965120,"raw_latitude":110986336,"longitude_deg":75.896512,"latitude_deg":11.0986336,"altitude":50,"angle":322,"satellites":50,"speed":60,"hex_longitude":"2d3ce380","hex_latitude":"069d8460","is_valid_coordinates":true} 
[2026-08-23 04:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584905728001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389870558168219648,"note":"Value kept but may cause issues"} 
[2026-08-23 04:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4390868927609053184,"note":"Value kept but may cause issues"} 
[2026-08-23 04:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787441042000,"timestamp_ms":1787441042000,"timestamp_seconds":1787441042,"priority":1,"record_length":96,"hex_timestamp":"000001a02bc9d250"} 
[2026-08-23 04:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 04:54:51] 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-08-23 04:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584905728001,"66":27300,"35":206,"81":47616,"24":60,"16":389870558168219648,"45":4390868927609053184},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-08-23 04:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584905728001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:54:51] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-23 04:54:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389870558168219648,"km_value":389870558168219.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":4390868927609053184,"description":"Unknown IO ID 45"} 
[2026-08-23 04:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584905728001,"power":27300,"unknown_35":206,"unknown_81":47616,"ignition":60,"odometer":null,"unknown_45":4390868927609053184}} 
[2026-08-23 04:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":160465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:54:51] local.INFO: GPS data processed {"connection_id":160465,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:54:51] local.INFO: Acknowledgment sent {"connection_id":160465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:55:23] local.INFO: TCP Data received {"connection_id":160465,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bc9e1f0012d3cd2c0069d95600031013731..."} 
[2026-08-23 04:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bc9e1f0012d3cd2c0069d95600031013731..."} 
[2026-08-23 04:55:23] local.INFO: Processing buffer {"connection_id":160465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bc9e1f0012d3cd2c0069d95600031013731..."} 
[2026-08-23 04:55:23] local.INFO: Packet analysis {"connection_id":160465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bc9"} 
[2026-08-23 04:55:23] local.INFO: Extracted packet for processing {"connection_id":160465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bc9"} 
[2026-08-23 04:55:23] local.INFO: GPS Element Parsed {"raw_longitude":758960832,"raw_latitude":110990688,"longitude_deg":75.8960832,"latitude_deg":11.0990688,"altitude":49,"angle":311,"satellites":49,"speed":60,"hex_longitude":"2d3cd2c0","hex_latitude":"069d9560","is_valid_coordinates":true} 
[2026-08-23 04:55: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-08-23 04:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584906752001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389870854520963072,"note":"Value kept but may cause issues"} 
[2026-08-23 04:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4387491227889852416,"note":"Value kept but may cause issues"} 
[2026-08-23 04:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787441046000,"timestamp_ms":1787441046000,"timestamp_seconds":1787441046,"priority":1,"record_length":96,"hex_timestamp":"000001a02bc9e1f0"} 
[2026-08-23 04:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:55: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":164,"data_length":795,"current_offset":136} 
[2026-08-23 04:55:23] 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-08-23 04:55: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-08-23 04:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584906752001,"66":27213,"35":206,"81":47616,"24":60,"16":389870854520963072,"45":4387491227889852416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-08-23 04:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584906752001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:55:23] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-23 04:55:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389870854520963072,"km_value":389870854520963.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4387491227889852416,"description":"Unknown IO ID 45"} 
[2026-08-23 04:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584906752001,"power":27213,"unknown_35":206,"unknown_81":47616,"ignition":60,"odometer":null,"unknown_45":4387491227889852416}} 
[2026-08-23 04:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":160465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:55:23] local.INFO: GPS data processed {"connection_id":160465,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:55:23] local.INFO: Acknowledgment sent {"connection_id":160465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:55:46] local.INFO: TCP Data received {"connection_id":161435,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:55:46] local.INFO: Processing buffer {"connection_id":161435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:55:46] local.INFO: IMEI packet received {"connection_id":161435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":161435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:55:47] local.INFO: TCP Data received {"connection_id":161435,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:55:47] local.INFO: Processing buffer {"connection_id":161435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:55:47] local.INFO: IMEI packet received {"connection_id":161435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":161435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:55:52] local.INFO: TCP Data received {"connection_id":161435,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:55:52] local.INFO: Processing buffer {"connection_id":161435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:55:52] local.INFO: IMEI packet received {"connection_id":161435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":161435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:55:53] local.INFO: TCP Data received {"connection_id":161435,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bc9f960012d3cb680069dab280031013333..."} 
[2026-08-23 04:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bc9f960012d3cb680069dab280031013333..."} 
[2026-08-23 04:55:53] local.INFO: Processing buffer {"connection_id":161435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bc9f960012d3cb680069dab280031013333..."} 
[2026-08-23 04:55:53] local.INFO: Packet analysis {"connection_id":161435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bc9"} 
[2026-08-23 04:55:53] local.INFO: Extracted packet for processing {"connection_id":161435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bc9"} 
[2026-08-23 04:55:53] local.INFO: GPS Element Parsed {"raw_longitude":758953600,"raw_latitude":110996264,"longitude_deg":75.89536,"latitude_deg":11.0996264,"altitude":49,"angle":307,"satellites":51,"speed":58,"hex_longitude":"2d3cb680","hex_latitude":"069dab28","is_valid_coordinates":true} 
[2026-08-23 04:55: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-08-23 04:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584907776001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389871288312659968,"note":"Value kept but may cause issues"} 
[2026-08-23 04:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4382776522031063040,"note":"Value kept but may cause issues"} 
[2026-08-23 04:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787441052000,"timestamp_ms":1787441052000,"timestamp_seconds":1787441052,"priority":1,"record_length":96,"hex_timestamp":"000001a02bc9f960"} 
[2026-08-23 04:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:55: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-08-23 04:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 04:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:55: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-08-23 04:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584907776001,"66":27267,"35":206,"81":47616,"24":58,"16":389871288312659968,"45":4382776522031063040},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-08-23 04:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584907776001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:55:53] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-23 04:55:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389871288312659968,"km_value":389871288312659.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4382776522031063040,"description":"Unknown IO ID 45"} 
[2026-08-23 04:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584907776001,"power":27267,"unknown_35":206,"unknown_81":47616,"ignition":58,"odometer":null,"unknown_45":4382776522031063040}} 
[2026-08-23 04:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":161435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:55:53] local.INFO: GPS data processed {"connection_id":161435,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:55:53] local.INFO: Acknowledgment sent {"connection_id":161435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:57:01] local.INFO: TCP Data received {"connection_id":161435,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bcb2628012d3bebc0069f02700044015a30..."} 
[2026-08-23 04:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bcb2628012d3bebc0069f02700044015a30..."} 
[2026-08-23 04:57:01] local.INFO: Processing buffer {"connection_id":161435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bcb2628012d3bebc0069f02700044015a30..."} 
[2026-08-23 04:57:01] local.INFO: Packet analysis {"connection_id":161435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bcb"} 
[2026-08-23 04:57:01] local.INFO: Extracted packet for processing {"connection_id":161435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bcb"} 
[2026-08-23 04:57:01] local.INFO: GPS Element Parsed {"raw_longitude":758901696,"raw_latitude":111084144,"longitude_deg":75.8901696,"latitude_deg":11.1084144,"altitude":68,"angle":346,"satellites":48,"speed":53,"hex_longitude":"2d3bebc0","hex_latitude":"069f0270","is_valid_coordinates":true} 
[2026-08-23 04:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584927232001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389876283359625216,"note":"Value kept but may cause issues"} 
[2026-08-23 04:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4320500183455449088,"note":"Value kept but may cause issues"} 
[2026-08-23 04:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787441129000,"timestamp_ms":1787441129000,"timestamp_seconds":1787441129,"priority":1,"record_length":96,"hex_timestamp":"000001a02bcb2628"} 
[2026-08-23 04:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 04:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584927232001,"66":26267,"108":206,"81":47616,"24":53,"16":389876283359625216,"45":4320500183455449088},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-08-23 04:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584927232001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:57:01] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-23 04:57:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389876283359625216,"km_value":389876283359625.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4320500183455449088,"description":"Unknown IO ID 45"} 
[2026-08-23 04:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584927232001,"power":26267,"unknown_108":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4320500183455449088}} 
[2026-08-23 04:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":161435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:57:01] local.INFO: GPS data processed {"connection_id":161435,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:57:01] local.INFO: Acknowledgment sent {"connection_id":161435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:57:21] local.INFO: TCP Data received {"connection_id":162847,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:57:21] local.INFO: Processing buffer {"connection_id":162847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:57:21] local.INFO: IMEI packet received {"connection_id":162847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":162847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:57:22] local.INFO: TCP Data received {"connection_id":162847,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:57:22] local.INFO: Processing buffer {"connection_id":162847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:57:22] local.INFO: IMEI packet received {"connection_id":162847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":162847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:57:26] local.INFO: TCP Data received {"connection_id":162847,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:57:26] local.INFO: Processing buffer {"connection_id":162847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:57:26] local.INFO: IMEI packet received {"connection_id":162847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":162847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:57:27] local.INFO: TCP Data received {"connection_id":162847,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bcc2028012d3c55c006a06d00002f001933..."} 
[2026-08-23 04:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bcc2028012d3c55c006a06d00002f001933..."} 
[2026-08-23 04:57:27] local.INFO: Processing buffer {"connection_id":162847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bcc2028012d3c55c006a06d00002f001933..."} 
[2026-08-23 04:57:27] local.INFO: Packet analysis {"connection_id":162847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bcc"} 
[2026-08-23 04:57:27] local.INFO: Extracted packet for processing {"connection_id":162847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bcc"} 
[2026-08-23 04:57:27] local.INFO: GPS Element Parsed {"raw_longitude":758928832,"raw_latitude":111176960,"longitude_deg":75.8928832,"latitude_deg":11.117696,"altitude":47,"angle":25,"satellites":51,"speed":74,"hex_longitude":"2d3c55c0","hex_latitude":"06a06d00","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584944128001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389881115197833216,"note":"Value kept but may cause issues"} 
[2026-08-23 04:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4342173756686241792,"note":"Value kept but may cause issues"} 
[2026-08-23 04:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787441193000,"timestamp_ms":1787441193000,"timestamp_seconds":1787441193,"priority":1,"record_length":96,"hex_timestamp":"000001a02bcc2028"} 
[2026-08-23 04:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:57: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-08-23 04: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-23 04:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04: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-08-23 04:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584944128001,"66":27245,"220":206,"81":47616,"24":74,"16":389881115197833216,"45":4342173756686241792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-08-23 04:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584944128001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:57:27] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-23 04:57:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389881115197833216,"km_value":389881115197833.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4342173756686241792,"description":"Unknown IO ID 45"} 
[2026-08-23 04:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584944128001,"power":27245,"unknown_220":206,"unknown_81":47616,"ignition":74,"odometer":null,"unknown_45":4342173756686241792}} 
[2026-08-23 04:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":162847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:57:27] local.INFO: GPS data processed {"connection_id":162847,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:57:27] local.INFO: Acknowledgment sent {"connection_id":162847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:57:57] local.INFO: TCP Data received {"connection_id":161436,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:57:57] local.INFO: Processing buffer {"connection_id":161436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:57:57] local.INFO: IMEI packet received {"connection_id":161436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":161436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:58:02] local.INFO: TCP Data received {"connection_id":161436,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:58:02] local.INFO: Processing buffer {"connection_id":161436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:58:02] local.INFO: IMEI packet received {"connection_id":161436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":161436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:58:04] local.INFO: TCP Data received {"connection_id":161436,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bcc2028012d3c55c006a06d00002f001933..."} 
[2026-08-23 04:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bcc2028012d3c55c006a06d00002f001933..."} 
[2026-08-23 04:58:04] local.INFO: Processing buffer {"connection_id":161436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bcc2028012d3c55c006a06d00002f001933..."} 
[2026-08-23 04:58:04] local.INFO: Packet analysis {"connection_id":161436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bcc"} 
[2026-08-23 04:58:04] local.INFO: Extracted packet for processing {"connection_id":161436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bcc"} 
[2026-08-23 04:58:04] local.INFO: GPS Element Parsed {"raw_longitude":758928832,"raw_latitude":111176960,"longitude_deg":75.8928832,"latitude_deg":11.117696,"altitude":47,"angle":25,"satellites":51,"speed":74,"hex_longitude":"2d3c55c0","hex_latitude":"06a06d00","is_valid_coordinates":true} 
[2026-08-23 04:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584945408001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389881115197833216,"note":"Value kept but may cause issues"} 
[2026-08-23 04:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4347592149989916672,"note":"Value kept but may cause issues"} 
[2026-08-23 04:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787441193000,"timestamp_ms":1787441193000,"timestamp_seconds":1787441193,"priority":1,"record_length":96,"hex_timestamp":"000001a02bcc2028"} 
[2026-08-23 04:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:58: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-08-23 04:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-23 04:58:04] 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-08-23 04:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584945408001,"66":27245,"220":206,"81":47616,"24":74,"16":389881115197833216,"45":4347592149989916672},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-08-23 04:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584945408001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:58:04] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-23 04:58:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-08-23 04:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389881115197833216,"km_value":389881115197833.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4347592149989916672,"description":"Unknown IO ID 45"} 
[2026-08-23 04:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584945408001,"power":27245,"unknown_220":206,"unknown_81":47616,"ignition":74,"odometer":null,"unknown_45":4347592149989916672}} 
[2026-08-23 04:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":161436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:58:04] local.INFO: GPS data processed {"connection_id":161436,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:58:04] local.INFO: Acknowledgment sent {"connection_id":161436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:59:02] local.INFO: TCP Data received {"connection_id":162848,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:59:02] local.INFO: Processing buffer {"connection_id":162848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:59:02] local.INFO: IMEI packet received {"connection_id":162848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":162848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:59:10] local.INFO: TCP Data received {"connection_id":162848,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:59:10] local.INFO: Processing buffer {"connection_id":162848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:59:10] local.INFO: IMEI packet received {"connection_id":162848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":162848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:59:10] local.INFO: TCP Data received {"connection_id":162848,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:59:10] local.INFO: Processing buffer {"connection_id":162848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:59:10] local.INFO: IMEI packet received {"connection_id":162848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":162848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:59:12] local.INFO: TCP Data received {"connection_id":162848,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:59:12] local.INFO: Processing buffer {"connection_id":162848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:59:12] local.INFO: IMEI packet received {"connection_id":162848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":162848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:59:14] local.INFO: TCP Data received {"connection_id":162848,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bcd3198012d3ca44006a1ce40004401652f..."} 
[2026-08-23 04:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bcd3198012d3ca44006a1ce40004401652f..."} 
[2026-08-23 04:59:14] local.INFO: Processing buffer {"connection_id":162848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bcd3198012d3ca44006a1ce40004401652f..."} 
[2026-08-23 04:59:14] local.INFO: Packet analysis {"connection_id":162848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bcd"} 
[2026-08-23 04:59:14] local.INFO: Extracted packet for processing {"connection_id":162848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bcd"} 
[2026-08-23 04:59:14] local.INFO: GPS Element Parsed {"raw_longitude":758948928,"raw_latitude":111267392,"longitude_deg":75.8948928,"latitude_deg":11.1267392,"altitude":68,"angle":357,"satellites":47,"speed":35,"hex_longitude":"2d3ca440","hex_latitude":"06a1ce40","is_valid_coordinates":true} 
[2026-08-23 04:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584960768001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389885654978265088,"note":"Value kept but may cause issues"} 
[2026-08-23 04:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370039779403448320,"note":"Value kept but may cause issues"} 
[2026-08-23 04:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787441263000,"timestamp_ms":1787441263000,"timestamp_seconds":1787441263,"priority":1,"record_length":96,"hex_timestamp":"000001a02bcd3198"} 
[2026-08-23 04:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:59: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-08-23 04:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 04:59:14] 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-08-23 04:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584960768001,"66":27267,"44":206,"81":49664,"24":35,"16":389885654978265088,"45":4370039779403448320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-23 04:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584960768001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:59:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-23 04:59:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-23 04:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389885654978265088,"km_value":389885654978265.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370039779403448320,"description":"Unknown IO ID 45"} 
[2026-08-23 04:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584960768001,"power":27267,"unknown_44":206,"unknown_81":49664,"ignition":35,"odometer":null,"unknown_45":4370039779403448320}} 
[2026-08-23 04:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":162848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:59:15] local.INFO: GPS data processed {"connection_id":162848,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:59:15] local.INFO: Acknowledgment sent {"connection_id":162848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:59:16] local.INFO: TCP Data received {"connection_id":162848,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bcd58a8012d3ca24006a1f190004701652e..."} 
[2026-08-23 04:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bcd58a8012d3ca24006a1f190004701652e..."} 
[2026-08-23 04:59:16] local.INFO: Processing buffer {"connection_id":162848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bcd58a8012d3ca24006a1f190004701652e..."} 
[2026-08-23 04:59:16] local.INFO: Packet analysis {"connection_id":162848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bcd"} 
[2026-08-23 04:59:16] local.INFO: Extracted packet for processing {"connection_id":162848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bcd"} 
[2026-08-23 04:59:16] local.INFO: GPS Element Parsed {"raw_longitude":758948416,"raw_latitude":111276432,"longitude_deg":75.8948416,"latitude_deg":11.1276432,"altitude":71,"angle":357,"satellites":46,"speed":36,"hex_longitude":"2d3ca240","hex_latitude":"06a1f190","is_valid_coordinates":true} 
[2026-08-23 04: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-08-23 04:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584963328001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389886093064929280,"note":"Value kept but may cause issues"} 
[2026-08-23 04:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4369687935684853760,"note":"Value kept but may cause issues"} 
[2026-08-23 04:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787441273000,"timestamp_ms":1787441273000,"timestamp_seconds":1787441273,"priority":1,"record_length":96,"hex_timestamp":"000001a02bcd58a8"} 
[2026-08-23 04:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:59: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-08-23 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 04:59: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-08-23 04: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-08-23 04:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584963328001,"66":27321,"44":206,"81":49664,"24":36,"16":389886093064929280,"45":4369687935684853760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-23 04:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584963328001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:59:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-23 04:59:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-23 04:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389886093064929280,"km_value":389886093064929.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4369687935684853760,"description":"Unknown IO ID 45"} 
[2026-08-23 04:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584963328001,"power":27321,"unknown_44":206,"unknown_81":49664,"ignition":36,"odometer":null,"unknown_45":4369687935684853760}} 
[2026-08-23 04:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":162848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:59:16] local.INFO: GPS data processed {"connection_id":162848,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:59:16] local.INFO: Acknowledgment sent {"connection_id":162848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:59:47] local.INFO: TCP Data received {"connection_id":160270,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:59:47] local.INFO: Processing buffer {"connection_id":160270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:59:47] local.INFO: IMEI packet received {"connection_id":160270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 04:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":160270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 04:59:51] local.INFO: TCP Data received {"connection_id":160270,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:59:51] local.INFO: Processing buffer {"connection_id":160270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:59:51] local.INFO: IMEI packet received {"connection_id":160270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":160270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:59:52] local.INFO: TCP Data received {"connection_id":160270,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:59:52] local.INFO: Processing buffer {"connection_id":160270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 04:59:52] local.INFO: IMEI packet received {"connection_id":160270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 04:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":160270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 04:59:54] local.INFO: TCP Data received {"connection_id":160270,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bcd7fb8012d3ca08006a216500049016530..."} 
[2026-08-23 04:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bcd7fb8012d3ca08006a216500049016530..."} 
[2026-08-23 04:59:54] local.INFO: Processing buffer {"connection_id":160270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bcd7fb8012d3ca08006a216500049016530..."} 
[2026-08-23 04:59:54] local.INFO: Packet analysis {"connection_id":160270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bcd"} 
[2026-08-23 04:59:54] local.INFO: Extracted packet for processing {"connection_id":160270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bcd"} 
[2026-08-23 04:59:54] local.INFO: GPS Element Parsed {"raw_longitude":758947968,"raw_latitude":111285840,"longitude_deg":75.8947968,"latitude_deg":11.128584,"altitude":73,"angle":357,"satellites":48,"speed":38,"hex_longitude":"2d3ca080","hex_latitude":"06a21650","is_valid_coordinates":true} 
[2026-08-23 04:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584965888001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389886548331462656,"note":"Value kept but may cause issues"} 
[2026-08-23 04:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4369124985733746688,"note":"Value kept but may cause issues"} 
[2026-08-23 04:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787441283000,"timestamp_ms":1787441283000,"timestamp_seconds":1787441283,"priority":1,"record_length":96,"hex_timestamp":"000001a02bcd7fb8"} 
[2026-08-23 04:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:59: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-08-23 04:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 04:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584965888001,"66":27321,"44":206,"81":49664,"24":38,"16":389886548331462656,"45":4369124985733746688},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-23 04:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584965888001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:59:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-23 04:59:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-23 04:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389886548331462656,"km_value":389886548331462.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4369124985733746688,"description":"Unknown IO ID 45"} 
[2026-08-23 04:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584965888001,"power":27321,"unknown_44":206,"unknown_81":49664,"ignition":38,"odometer":null,"unknown_45":4369124985733746688}} 
[2026-08-23 04:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":160270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:59:54] local.INFO: GPS data processed {"connection_id":160270,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:59:54] local.INFO: Acknowledgment sent {"connection_id":160270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 04:59:58] local.INFO: TCP Data received {"connection_id":160270,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bcda2e0012d3c9cc006a23a28004a015d2e..."} 
[2026-08-23 04:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bcda2e0012d3c9cc006a23a28004a015d2e..."} 
[2026-08-23 04:59:58] local.INFO: Processing buffer {"connection_id":160270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bcda2e0012d3c9cc006a23a28004a015d2e..."} 
[2026-08-23 04:59:58] local.INFO: Packet analysis {"connection_id":160270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bcd"} 
[2026-08-23 04:59:58] local.INFO: Extracted packet for processing {"connection_id":160270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bcd"} 
[2026-08-23 04:59:58] local.INFO: GPS Element Parsed {"raw_longitude":758947008,"raw_latitude":111295016,"longitude_deg":75.8947008,"latitude_deg":11.1295016,"altitude":74,"angle":349,"satellites":46,"speed":42,"hex_longitude":"2d3c9cc0","hex_latitude":"06a23a28","is_valid_coordinates":true} 
[2026-08-23 04:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 04:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584968448001,"note":"Value kept but may cause issues"} 
[2026-08-23 04:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389886999303028736,"note":"Value kept but may cause issues"} 
[2026-08-23 04:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4368632404526911488,"note":"Value kept but may cause issues"} 
[2026-08-23 04:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 04:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787441292000,"timestamp_ms":1787441292000,"timestamp_seconds":1787441292,"priority":1,"record_length":96,"hex_timestamp":"000001a02bcda2e0"} 
[2026-08-23 04:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 04:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 04:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 04:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 04:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 04:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 04:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 04:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 04:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 04:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 04:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 04:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 04:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584968448001,"66":27397,"44":206,"81":49664,"24":42,"16":389886999303028736,"45":4368632404526911488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-23 04:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 04:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 04:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584968448001,"description":"Unknown IO ID 0"} 
[2026-08-23 04:59:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-23 04:59:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-23 04:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389886999303028736,"km_value":389886999303028.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 04:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4368632404526911488,"description":"Unknown IO ID 45"} 
[2026-08-23 04:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584968448001,"power":27397,"unknown_44":206,"unknown_81":49664,"ignition":42,"odometer":null,"unknown_45":4368632404526911488}} 
[2026-08-23 04:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":160270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 04:59:58] local.INFO: GPS data processed {"connection_id":160270,"processed":1,"errors":0,"total":1} 
[2026-08-23 04:59:58] local.INFO: Acknowledgment sent {"connection_id":160270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:00:30] local.INFO: TCP Data received {"connection_id":160270,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bcefaa0012d3c9bc006a41800003c01662e..."} 
[2026-08-23 05:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bcefaa0012d3c9bc006a41800003c01662e..."} 
[2026-08-23 05:00:30] local.INFO: Processing buffer {"connection_id":160270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bcefaa0012d3c9bc006a41800003c01662e..."} 
[2026-08-23 05:00:30] local.INFO: Packet analysis {"connection_id":160270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bce"} 
[2026-08-23 05:00:30] local.INFO: Extracted packet for processing {"connection_id":160270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bce"} 
[2026-08-23 05:00:30] local.INFO: GPS Element Parsed {"raw_longitude":758946752,"raw_latitude":111417344,"longitude_deg":75.8946752,"latitude_deg":11.1417344,"altitude":60,"angle":358,"satellites":46,"speed":52,"hex_longitude":"2d3c9bc0","hex_latitude":"06a41800","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584991488001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389893003667308544,"note":"Value kept but may cause issues"} 
[2026-08-23 05:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4367295398418831360,"note":"Value kept but may cause issues"} 
[2026-08-23 05:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787441380000,"timestamp_ms":1787441380000,"timestamp_seconds":1787441380,"priority":1,"record_length":96,"hex_timestamp":"000001a02bcefaa0"} 
[2026-08-23 05:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 05: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-23 05:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05: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-08-23 05:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584991488001,"66":26376,"133":206,"81":49664,"24":52,"16":389893003667308544,"45":4367295398418831360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-08-23 05:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584991488001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:00:30] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-23 05:00:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-23 05:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389893003667308544,"km_value":389893003667308.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4367295398418831360,"description":"Unknown IO ID 45"} 
[2026-08-23 05:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584991488001,"power":26376,"unknown_133":206,"unknown_81":49664,"ignition":52,"odometer":null,"unknown_45":4367295398418831360}} 
[2026-08-23 05:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":160270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:00:30] local.INFO: GPS data processed {"connection_id":160270,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:00:30] local.INFO: Acknowledgment sent {"connection_id":160270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:00:52] local.INFO: TCP Data received {"connection_id":161437,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:00:52] local.INFO: Processing buffer {"connection_id":161437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:00:52] local.INFO: IMEI packet received {"connection_id":161437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":161437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:00:55] local.INFO: TCP Data received {"connection_id":161437,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:00:55] local.INFO: Processing buffer {"connection_id":161437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:00:55] local.INFO: IMEI packet received {"connection_id":161437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":161437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:00:59] local.INFO: TCP Data received {"connection_id":161437,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bcf15f8012d3c9e4006a43cc8003a000a2f..."} 
[2026-08-23 05:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bcf15f8012d3c9e4006a43cc8003a000a2f..."} 
[2026-08-23 05:00:59] local.INFO: Processing buffer {"connection_id":161437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bcf15f8012d3c9e4006a43cc8003a000a2f..."} 
[2026-08-23 05:00:59] local.INFO: Packet analysis {"connection_id":161437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bcf"} 
[2026-08-23 05:00:59] local.INFO: Extracted packet for processing {"connection_id":161437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bcf"} 
[2026-08-23 05:00:59] local.INFO: GPS Element Parsed {"raw_longitude":758947392,"raw_latitude":111426760,"longitude_deg":75.8947392,"latitude_deg":11.142676,"altitude":58,"angle":10,"satellites":47,"speed":54,"hex_longitude":"2d3c9e40","hex_latitude":"06a43cc8","is_valid_coordinates":true} 
[2026-08-23 05:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584993280001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389893463228809216,"note":"Value kept but may cause issues"} 
[2026-08-23 05:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4367295398421200896,"note":"Value kept but may cause issues"} 
[2026-08-23 05:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787441387000,"timestamp_ms":1787441387000,"timestamp_seconds":1787441387,"priority":1,"record_length":96,"hex_timestamp":"000001a02bcf15f8"} 
[2026-08-23 05:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 05:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-08-23 05:00:59] 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-08-23 05:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584993280001,"66":27300,"237":206,"81":49664,"24":54,"16":389893463228809216,"45":4367295398421200896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,81,24,16,45]} 
[2026-08-23 05:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584993280001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:00:59] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 05:00:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-23 05:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389893463228809216,"km_value":389893463228809.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4367295398421200896,"description":"Unknown IO ID 45"} 
[2026-08-23 05:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584993280001,"power":27300,"unknown_237":206,"unknown_81":49664,"ignition":54,"odometer":null,"unknown_45":4367295398421200896}} 
[2026-08-23 05:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":161437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:00:59] local.INFO: GPS data processed {"connection_id":161437,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:00:59] local.INFO: Acknowledgment sent {"connection_id":161437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:01:31] local.INFO: TCP Data received {"connection_id":161437,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bcf15f8012d3c9e4006a43cc8003a000a2f..."} 
[2026-08-23 05:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bcf15f8012d3c9e4006a43cc8003a000a2f..."} 
[2026-08-23 05:01:31] local.INFO: Processing buffer {"connection_id":161437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bcf15f8012d3c9e4006a43cc8003a000a2f..."} 
[2026-08-23 05:01:31] local.INFO: Packet analysis {"connection_id":161437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bcf"} 
[2026-08-23 05:01:31] local.INFO: Extracted packet for processing {"connection_id":161437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bcf"} 
[2026-08-23 05:01:31] local.INFO: GPS Element Parsed {"raw_longitude":758947392,"raw_latitude":111426760,"longitude_deg":75.8947392,"latitude_deg":11.142676,"altitude":58,"angle":10,"satellites":47,"speed":54,"hex_longitude":"2d3c9e40","hex_latitude":"06a43cc8","is_valid_coordinates":true} 
[2026-08-23 05:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457584995072001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389893463228809216,"note":"Value kept but may cause issues"} 
[2026-08-23 05:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4367999085865388032,"note":"Value kept but may cause issues"} 
[2026-08-23 05:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787441387000,"timestamp_ms":1787441387000,"timestamp_seconds":1787441387,"priority":1,"record_length":96,"hex_timestamp":"000001a02bcf15f8"} 
[2026-08-23 05:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:01: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-08-23 05:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-23 05:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457584995072001,"66":27300,"237":206,"81":49664,"24":54,"16":389893463228809216,"45":4367999085865388032},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,81,24,16,45]} 
[2026-08-23 05:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457584995072001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:01:31] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 05:01:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-23 05:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389893463228809216,"km_value":389893463228809.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4367999085865388032,"description":"Unknown IO ID 45"} 
[2026-08-23 05:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457584995072001,"power":27300,"unknown_237":206,"unknown_81":49664,"ignition":54,"odometer":null,"unknown_45":4367999085865388032}} 
[2026-08-23 05:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":161437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:01:31] local.INFO: GPS data processed {"connection_id":161437,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:01:31] local.INFO: Acknowledgment sent {"connection_id":161437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:01:48] local.INFO: TCP Data received {"connection_id":162849,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:01:48] local.INFO: Processing buffer {"connection_id":162849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:01:48] local.INFO: IMEI packet received {"connection_id":162849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":162849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:01:52] local.INFO: TCP Data received {"connection_id":162849,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:01:52] local.INFO: Processing buffer {"connection_id":162849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:01:52] local.INFO: IMEI packet received {"connection_id":162849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":162849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:01:54] local.INFO: TCP Data received {"connection_id":162849,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bcffc70012d3ca08006a571c8004001492c..."} 
[2026-08-23 05:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bcffc70012d3ca08006a571c8004001492c..."} 
[2026-08-23 05:01:54] local.INFO: Processing buffer {"connection_id":162849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bcffc70012d3ca08006a571c8004001492c..."} 
[2026-08-23 05:01:54] local.INFO: Packet analysis {"connection_id":162849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bcf"} 
[2026-08-23 05:01:54] local.INFO: Extracted packet for processing {"connection_id":162849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bcf"} 
[2026-08-23 05:01:54] local.INFO: GPS Element Parsed {"raw_longitude":758947968,"raw_latitude":111505864,"longitude_deg":75.8947968,"latitude_deg":11.1505864,"altitude":64,"angle":329,"satellites":44,"speed":42,"hex_longitude":"2d3ca080","hex_latitude":"06a571c8","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585008128001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389897500498067456,"note":"Value kept but may cause issues"} 
[2026-08-23 05:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4373276741696948224,"note":"Value kept but may cause issues"} 
[2026-08-23 05:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787441446000,"timestamp_ms":1787441446000,"timestamp_seconds":1787441446,"priority":1,"record_length":96,"hex_timestamp":"000001a02bcffc70"} 
[2026-08-23 05:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 05: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-23 05:01:54] 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-08-23 05: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-08-23 05:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585008128001,"66":27267,"131":206,"81":49664,"24":42,"16":389897500498067456,"45":4373276741696948224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,81,24,16,45]} 
[2026-08-23 05:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585008128001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:01:54] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-23 05:01:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-23 05:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389897500498067456,"km_value":389897500498067.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4373276741696948224,"description":"Unknown IO ID 45"} 
[2026-08-23 05:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585008128001,"power":27267,"unknown_131":206,"unknown_81":49664,"ignition":42,"odometer":null,"unknown_45":4373276741696948224}} 
[2026-08-23 05:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":162849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:01:54] local.INFO: GPS data processed {"connection_id":162849,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:01:54] local.INFO: Acknowledgment sent {"connection_id":162849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:02:26] local.INFO: TCP Data received {"connection_id":162849,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd01f98012d3c8d8006a59070004401482a..."} 
[2026-08-23 05:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd01f98012d3c8d8006a59070004401482a..."} 
[2026-08-23 05:02:26] local.INFO: Processing buffer {"connection_id":162849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd01f98012d3c8d8006a59070004401482a..."} 
[2026-08-23 05:02:26] local.INFO: Packet analysis {"connection_id":162849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd0"} 
[2026-08-23 05:02:26] local.INFO: Extracted packet for processing {"connection_id":162849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd0"} 
[2026-08-23 05:02:26] local.INFO: GPS Element Parsed {"raw_longitude":758943104,"raw_latitude":111513712,"longitude_deg":75.8943104,"latitude_deg":11.1513712,"altitude":68,"angle":328,"satellites":42,"speed":39,"hex_longitude":"2d3c8d80","hex_latitude":"06a59070","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585010176001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389897947174666240,"note":"Value kept but may cause issues"} 
[2026-08-23 05:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4368632404583237632,"note":"Value kept but may cause issues"} 
[2026-08-23 05:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787441455000,"timestamp_ms":1787441455000,"timestamp_seconds":1787441455,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd01f98"} 
[2026-08-23 05:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 05:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 05:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05: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-08-23 05:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585010176001,"66":26963,"235":206,"81":49664,"24":39,"16":389897947174666240,"45":4368632404583237632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,81,24,16,45]} 
[2026-08-23 05:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585010176001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:02:26] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-23 05:02:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-23 05:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389897947174666240,"km_value":389897947174666.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4368632404583237632,"description":"Unknown IO ID 45"} 
[2026-08-23 05:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585010176001,"power":26963,"unknown_235":206,"unknown_81":49664,"ignition":39,"odometer":null,"unknown_45":4368632404583237632}} 
[2026-08-23 05:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":162849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:02:26] local.INFO: GPS data processed {"connection_id":162849,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:02:26] local.INFO: Acknowledgment sent {"connection_id":162849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:02:46] local.INFO: TCP Data received {"connection_id":160466,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:02:46] local.INFO: Processing buffer {"connection_id":160466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:02:46] local.INFO: IMEI packet received {"connection_id":160466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":160466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:02:47] local.INFO: TCP Data received {"connection_id":160466,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:02:47] local.INFO: Processing buffer {"connection_id":160466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:02:47] local.INFO: IMEI packet received {"connection_id":160466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":160466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:02:53] local.INFO: TCP Data received {"connection_id":160466,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:02:53] local.INFO: Processing buffer {"connection_id":160466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:02:53] local.INFO: IMEI packet received {"connection_id":160466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":160466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:02:54] local.INFO: TCP Data received {"connection_id":160466,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd046a8012d3c794006a5ae980048014428..."} 
[2026-08-23 05:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd046a8012d3c794006a5ae980048014428..."} 
[2026-08-23 05:02:54] local.INFO: Processing buffer {"connection_id":160466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd046a8012d3c794006a5ae980048014428..."} 
[2026-08-23 05:02:54] local.INFO: Packet analysis {"connection_id":160466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd0"} 
[2026-08-23 05:02:54] local.INFO: Extracted packet for processing {"connection_id":160466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd0"} 
[2026-08-23 05:02:54] local.INFO: GPS Element Parsed {"raw_longitude":758937920,"raw_latitude":111521432,"longitude_deg":75.893792,"latitude_deg":11.1521432,"altitude":72,"angle":324,"satellites":40,"speed":35,"hex_longitude":"2d3c7940","hex_latitude":"06a5ae98","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585012480001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389898393851265024,"note":"Value kept but may cause issues"} 
[2026-08-23 05:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4363284380027744256,"note":"Value kept but may cause issues"} 
[2026-08-23 05:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787441465000,"timestamp_ms":1787441465000,"timestamp_seconds":1787441465,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd046a8"} 
[2026-08-23 05:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 05: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-08-23 05:02:54] 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-08-23 05: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-08-23 05:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585012480001,"66":27223,"40":206,"81":49664,"24":35,"16":389898393851265024,"45":4363284380027744256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-08-23 05:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585012480001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:02:54] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-23 05:02:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-23 05:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389898393851265024,"km_value":389898393851265.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4363284380027744256,"description":"Unknown IO ID 45"} 
[2026-08-23 05:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585012480001,"power":27223,"unknown_40":206,"unknown_81":49664,"ignition":35,"odometer":null,"unknown_45":4363284380027744256}} 
[2026-08-23 05:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":160466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:02:54] local.INFO: GPS data processed {"connection_id":160466,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:02:54] local.INFO: Acknowledgment sent {"connection_id":160466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:03:25] local.INFO: TCP Data received {"connection_id":160466,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd19e68012d3b680006a71a800037011a28..."} 
[2026-08-23 05:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd19e68012d3b680006a71a800037011a28..."} 
[2026-08-23 05:03:25] local.INFO: Processing buffer {"connection_id":160466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd19e68012d3b680006a71a800037011a28..."} 
[2026-08-23 05:03:25] local.INFO: Packet analysis {"connection_id":160466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd1"} 
[2026-08-23 05:03:25] local.INFO: Extracted packet for processing {"connection_id":160466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd1"} 
[2026-08-23 05:03:25] local.INFO: GPS Element Parsed {"raw_longitude":758867968,"raw_latitude":111614592,"longitude_deg":75.8867968,"latitude_deg":11.1614592,"altitude":55,"angle":282,"satellites":40,"speed":70,"hex_longitude":"2d3b6800","hex_latitude":"06a71a80","is_valid_coordinates":true} 
[2026-08-23 05:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585036800001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389904106157768704,"note":"Value kept but may cause issues"} 
[2026-08-23 05:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4286371342666962944,"note":"Value kept but may cause issues"} 
[2026-08-23 05:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787441553000,"timestamp_ms":1787441553000,"timestamp_seconds":1787441553,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd19e68"} 
[2026-08-23 05:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 05:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-23 05:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585036800001,"66":27180,"186":206,"81":49664,"24":70,"16":389904106157768704,"45":4286371342666962944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-08-23 05:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585036800001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:03:25] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-23 05:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-23 05:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389904106157768704,"km_value":389904106157768.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4286371342666962944,"description":"Unknown IO ID 45"} 
[2026-08-23 05:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585036800001,"power":27180,"unknown_186":206,"unknown_81":49664,"ignition":70,"odometer":null,"unknown_45":4286371342666962944}} 
[2026-08-23 05:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":160466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:03:25] local.INFO: GPS data processed {"connection_id":160466,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:03:25] local.INFO: Acknowledgment sent {"connection_id":160466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:03:47] local.INFO: TCP Data received {"connection_id":160271,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:03:47] local.INFO: Processing buffer {"connection_id":160271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:03:47] local.INFO: IMEI packet received {"connection_id":160271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":160271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:03:50] local.INFO: TCP Data received {"connection_id":160271,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:03:50] local.INFO: Processing buffer {"connection_id":160271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:03:50] local.INFO: IMEI packet received {"connection_id":160271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":160271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:03:52] local.INFO: TCP Data received {"connection_id":160271,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:03:52] local.INFO: Processing buffer {"connection_id":160271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:03:52] local.INFO: IMEI packet received {"connection_id":160271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":160271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:03:53] local.INFO: TCP Data received {"connection_id":160271,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd1b5d8012d3b3e8006a72270003501182b..."} 
[2026-08-23 05:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd1b5d8012d3b3e8006a72270003501182b..."} 
[2026-08-23 05:03:53] local.INFO: Processing buffer {"connection_id":160271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd1b5d8012d3b3e8006a72270003501182b..."} 
[2026-08-23 05:03:53] local.INFO: Packet analysis {"connection_id":160271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd1"} 
[2026-08-23 05:03:53] local.INFO: Extracted packet for processing {"connection_id":160271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd1"} 
[2026-08-23 05:03:53] local.INFO: GPS Element Parsed {"raw_longitude":758857344,"raw_latitude":111616624,"longitude_deg":75.8857344,"latitude_deg":11.1616624,"altitude":53,"angle":280,"satellites":43,"speed":70,"hex_longitude":"2d3b3e80","hex_latitude":"06a72270","is_valid_coordinates":true} 
[2026-08-23 05:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585037568001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389904621553844224,"note":"Value kept but may cause issues"} 
[2026-08-23 05:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4280671474388992000,"note":"Value kept but may cause issues"} 
[2026-08-23 05:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787441559000,"timestamp_ms":1787441559000,"timestamp_seconds":1787441559,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd1b5d8"} 
[2026-08-23 05:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:03: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-08-23 05:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-23 05:03:53] 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-08-23 05:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585037568001,"66":27245,"186":206,"81":49664,"24":70,"16":389904621553844224,"45":4280671474388992000},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-08-23 05:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585037568001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:03:53] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-23 05:03:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-23 05:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389904621553844224,"km_value":389904621553844.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4280671474388992000,"description":"Unknown IO ID 45"} 
[2026-08-23 05:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585037568001,"power":27245,"unknown_186":206,"unknown_81":49664,"ignition":70,"odometer":null,"unknown_45":4280671474388992000}} 
[2026-08-23 05:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":160271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:03:53] local.INFO: GPS data processed {"connection_id":160271,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:03:53] local.INFO: Acknowledgment sent {"connection_id":160271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:04:26] local.INFO: TCP Data received {"connection_id":160271,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd280f8012d39ed8006a77930001b014231..."} 
[2026-08-23 05:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd280f8012d39ed8006a77930001b014231..."} 
[2026-08-23 05:04:26] local.INFO: Processing buffer {"connection_id":160271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd280f8012d39ed8006a77930001b014231..."} 
[2026-08-23 05:04:26] local.INFO: Packet analysis {"connection_id":160271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd2"} 
[2026-08-23 05:04:26] local.INFO: Extracted packet for processing {"connection_id":160271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd2"} 
[2026-08-23 05:04:26] local.INFO: GPS Element Parsed {"raw_longitude":758771072,"raw_latitude":111638832,"longitude_deg":75.8771072,"latitude_deg":11.1638832,"altitude":27,"angle":322,"satellites":49,"speed":55,"hex_longitude":"2d39ed80","hex_latitude":"06a77930","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585051392001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389908929406042112,"note":"Value kept but may cause issues"} 
[2026-08-23 05:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4178496057848182784,"note":"Value kept but may cause issues"} 
[2026-08-23 05:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787441611000,"timestamp_ms":1787441611000,"timestamp_seconds":1787441611,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd280f8"} 
[2026-08-23 05:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 05: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 05:04:26] 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-08-23 05: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-08-23 05:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585051392001,"66":27332,"238":206,"81":49664,"24":55,"16":389908929406042112,"45":4178496057848182784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-08-23 05:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585051392001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:04:26] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-23 05:04:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-23 05:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389908929406042112,"km_value":389908929406042.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4178496057848182784,"description":"Unknown IO ID 45"} 
[2026-08-23 05:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585051392001,"power":27332,"unknown_238":206,"unknown_81":49664,"ignition":55,"odometer":null,"unknown_45":4178496057848182784}} 
[2026-08-23 05:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":160271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:04:26] local.INFO: GPS data processed {"connection_id":160271,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:04:26] local.INFO: Acknowledgment sent {"connection_id":160271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:04:52] local.INFO: TCP Data received {"connection_id":160467,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:04:52] local.INFO: Processing buffer {"connection_id":160467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:04:52] local.INFO: IMEI packet received {"connection_id":160467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":160467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:04:57] local.INFO: TCP Data received {"connection_id":160467,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:04:57] local.INFO: Processing buffer {"connection_id":160467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:04:57] local.INFO: IMEI packet received {"connection_id":160467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":160467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:04:59] local.INFO: TCP Data received {"connection_id":160467,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd29098012d39e28006a78c080019014f31..."} 
[2026-08-23 05:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd29098012d39e28006a78c080019014f31..."} 
[2026-08-23 05:04:59] local.INFO: Processing buffer {"connection_id":160467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd29098012d39e28006a78c080019014f31..."} 
[2026-08-23 05:04:59] local.INFO: Packet analysis {"connection_id":160467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd2"} 
[2026-08-23 05:04:59] local.INFO: Extracted packet for processing {"connection_id":160467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd2"} 
[2026-08-23 05:04:59] local.INFO: GPS Element Parsed {"raw_longitude":758768256,"raw_latitude":111643656,"longitude_deg":75.8768256,"latitude_deg":11.1643656,"altitude":25,"angle":335,"satellites":49,"speed":55,"hex_longitude":"2d39e280","hex_latitude":"06a78c08","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585052416001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389909195694014464,"note":"Value kept but may cause issues"} 
[2026-08-23 05:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4174133195710214144,"note":"Value kept but may cause issues"} 
[2026-08-23 05:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787441615000,"timestamp_ms":1787441615000,"timestamp_seconds":1787441615,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd29098"} 
[2026-08-23 05:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:04: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-08-23 05: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 05:04: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-08-23 05: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-08-23 05:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585052416001,"66":27343,"238":206,"81":49664,"24":55,"16":389909195694014464,"45":4174133195710214144},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-08-23 05:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585052416001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:04:59] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-23 05:04:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-23 05:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389909195694014464,"km_value":389909195694014.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4174133195710214144,"description":"Unknown IO ID 45"} 
[2026-08-23 05:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585052416001,"power":27343,"unknown_238":206,"unknown_81":49664,"ignition":55,"odometer":null,"unknown_45":4174133195710214144}} 
[2026-08-23 05:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":160467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:04:59] local.INFO: GPS data processed {"connection_id":160467,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:04:59] local.INFO: Acknowledgment sent {"connection_id":160467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:05:31] local.INFO: TCP Data received {"connection_id":160467,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd3adc0012d3968c006a878200010014a22..."} 
[2026-08-23 05:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd3adc0012d3968c006a878200010014a22..."} 
[2026-08-23 05:05:31] local.INFO: Processing buffer {"connection_id":160467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd3adc0012d3968c006a878200010014a22..."} 
[2026-08-23 05:05:31] local.INFO: Packet analysis {"connection_id":160467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd3"} 
[2026-08-23 05:05:31] local.INFO: Extracted packet for processing {"connection_id":160467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd3"} 
[2026-08-23 05:05:31] local.INFO: GPS Element Parsed {"raw_longitude":758737088,"raw_latitude":111704096,"longitude_deg":75.8737088,"latitude_deg":11.1704096,"altitude":16,"angle":330,"satellites":34,"speed":36,"hex_longitude":"2d3968c0","hex_latitude":"06a87820","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585071616001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389912627372883968,"note":"Value kept but may cause issues"} 
[2026-08-23 05:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4138104398707611648,"note":"Value kept but may cause issues"} 
[2026-08-23 05:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787441688000,"timestamp_ms":1787441688000,"timestamp_seconds":1787441688,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd3adc0"} 
[2026-08-23 05:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 05:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 05:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05: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-08-23 05:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585071616001,"66":27332,"239":206,"81":49664,"24":36,"16":389912627372883968,"45":4138104398707611648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-08-23 05:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585071616001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:05:31] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-23 05:05:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-23 05:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389912627372883968,"km_value":389912627372883.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4138104398707611648,"description":"Unknown IO ID 45"} 
[2026-08-23 05:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585071616001,"power":27332,"unknown_239":206,"unknown_81":49664,"ignition":36,"odometer":null,"unknown_45":4138104398707611648}} 
[2026-08-23 05:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":160467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:05:31] local.INFO: GPS data processed {"connection_id":160467,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:05:31] local.INFO: Acknowledgment sent {"connection_id":160467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:05:52] local.INFO: TCP Data received {"connection_id":160272,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:05:52] local.INFO: Processing buffer {"connection_id":160272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:05:52] local.INFO: IMEI packet received {"connection_id":160272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":160272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:05:54] local.INFO: TCP Data received {"connection_id":160272,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:05:54] local.INFO: Processing buffer {"connection_id":160272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:05:54] local.INFO: IMEI packet received {"connection_id":160272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":160272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:05:58] local.INFO: TCP Data received {"connection_id":160272,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:05:58] local.INFO: Processing buffer {"connection_id":160272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:05:58] local.INFO: IMEI packet received {"connection_id":160272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":160272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:06:00] local.INFO: TCP Data received {"connection_id":160272,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd3b1a8012d39674006a87bb8000f015725..."} 
[2026-08-23 05:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd3b1a8012d39674006a87bb8000f015725..."} 
[2026-08-23 05:06:00] local.INFO: Processing buffer {"connection_id":160272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd3b1a8012d39674006a87bb8000f015725..."} 
[2026-08-23 05:06:00] local.INFO: Packet analysis {"connection_id":160272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd3"} 
[2026-08-23 05:06:00] local.INFO: Extracted packet for processing {"connection_id":160272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd3"} 
[2026-08-23 05:06:00] local.INFO: GPS Element Parsed {"raw_longitude":758736704,"raw_latitude":111705016,"longitude_deg":75.8736704,"latitude_deg":11.1705016,"altitude":15,"angle":343,"satellites":37,"speed":41,"hex_longitude":"2d396740","hex_latitude":"06a87bb8","is_valid_coordinates":true} 
[2026-08-23 05:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585072128001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389912678912491520,"note":"Value kept but may cause issues"} 
[2026-08-23 05:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4136767392568582144,"note":"Value kept but may cause issues"} 
[2026-08-23 05:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787441689000,"timestamp_ms":1787441689000,"timestamp_seconds":1787441689,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd3b1a8"} 
[2026-08-23 05:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 05:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 05:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585072128001,"66":27332,"239":206,"81":49664,"24":41,"16":389912678912491520,"45":4136767392568582144},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-08-23 05:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585072128001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:06:00] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-23 05:06:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-23 05:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389912678912491520,"km_value":389912678912491.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4136767392568582144,"description":"Unknown IO ID 45"} 
[2026-08-23 05:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585072128001,"power":27332,"unknown_239":206,"unknown_81":49664,"ignition":41,"odometer":null,"unknown_45":4136767392568582144}} 
[2026-08-23 05:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":160272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:06:00] local.INFO: GPS data processed {"connection_id":160272,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:06:00] local.INFO: Acknowledgment sent {"connection_id":160272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:06:47] local.INFO: TCP Data received {"connection_id":160468,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:06:47] local.INFO: Processing buffer {"connection_id":160468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:06:47] local.INFO: IMEI packet received {"connection_id":160468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":160468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:06:48] local.INFO: TCP Data received {"connection_id":160468,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:06:48] local.INFO: Processing buffer {"connection_id":160468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:06:48] local.INFO: IMEI packet received {"connection_id":160468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":160468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:06:52] local.INFO: TCP Data received {"connection_id":160468,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:06:52] local.INFO: Processing buffer {"connection_id":160468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:06:52] local.INFO: IMEI packet received {"connection_id":160468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":160468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:06:53] local.INFO: TCP Data received {"connection_id":160468,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd474f8012d38ba8006a934b0000c013a2d..."} 
[2026-08-23 05:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd474f8012d38ba8006a934b0000c013a2d..."} 
[2026-08-23 05:06:53] local.INFO: Processing buffer {"connection_id":160468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd474f8012d38ba8006a934b0000c013a2d..."} 
[2026-08-23 05:06:53] local.INFO: Packet analysis {"connection_id":160468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd4"} 
[2026-08-23 05:06:53] local.INFO: Extracted packet for processing {"connection_id":160468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd4"} 
[2026-08-23 05:06:53] local.INFO: GPS Element Parsed {"raw_longitude":758692480,"raw_latitude":111752368,"longitude_deg":75.869248,"latitude_deg":11.1752368,"altitude":12,"angle":314,"satellites":45,"speed":51,"hex_longitude":"2d38ba80","hex_latitude":"06a934b0","is_valid_coordinates":true} 
[2026-08-23 05:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585085184001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389915994627244032,"note":"Value kept but may cause issues"} 
[2026-08-23 05:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4087720377889107968,"note":"Value kept but may cause issues"} 
[2026-08-23 05:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787441739000,"timestamp_ms":1787441739000,"timestamp_seconds":1787441739,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd474f8"} 
[2026-08-23 05:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:06: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-08-23 05:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 05:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585085184001,"66":27267,"239":206,"81":49664,"24":51,"16":389915994627244032,"45":4087720377889107968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-08-23 05:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585085184001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:06:53] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-23 05:06:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-23 05:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389915994627244032,"km_value":389915994627244.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4087720377889107968,"description":"Unknown IO ID 45"} 
[2026-08-23 05:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585085184001,"power":27267,"unknown_239":206,"unknown_81":49664,"ignition":51,"odometer":null,"unknown_45":4087720377889107968}} 
[2026-08-23 05:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":160468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:06:53] local.INFO: GPS data processed {"connection_id":160468,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:06:53] local.INFO: Acknowledgment sent {"connection_id":160468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:07:24] local.INFO: TCP Data received {"connection_id":160468,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd49438012d38a04006a94dd8000c013b2f..."} 
[2026-08-23 05:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd49438012d38a04006a94dd8000c013b2f..."} 
[2026-08-23 05:07:24] local.INFO: Processing buffer {"connection_id":160468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd49438012d38a04006a94dd8000c013b2f..."} 
[2026-08-23 05:07:24] local.INFO: Packet analysis {"connection_id":160468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd4"} 
[2026-08-23 05:07:24] local.INFO: Extracted packet for processing {"connection_id":160468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd4"} 
[2026-08-23 05:07:24] local.INFO: GPS Element Parsed {"raw_longitude":758685760,"raw_latitude":111758808,"longitude_deg":75.868576,"latitude_deg":11.1758808,"altitude":12,"angle":315,"satellites":47,"speed":44,"hex_longitude":"2d38a040","hex_latitude":"06a94dd8","is_valid_coordinates":true} 
[2026-08-23 05:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585085184001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389916441303842816,"note":"Value kept but may cause issues"} 
[2026-08-23 05:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4087720377889107968,"note":"Value kept but may cause issues"} 
[2026-08-23 05:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787441747000,"timestamp_ms":1787441747000,"timestamp_seconds":1787441747,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd49438"} 
[2026-08-23 05:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 05:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 05:07:24] 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-08-23 05:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585085184001,"66":27213,"239":206,"81":49664,"24":44,"16":389916441303842816,"45":4087720377889107968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-08-23 05:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585085184001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:07:24] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-23 05:07:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-23 05:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389916441303842816,"km_value":389916441303842.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4087720377889107968,"description":"Unknown IO ID 45"} 
[2026-08-23 05:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585085184001,"power":27213,"unknown_239":206,"unknown_81":49664,"ignition":44,"odometer":null,"unknown_45":4087720377889107968}} 
[2026-08-23 05:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":160468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:07:24] local.INFO: GPS data processed {"connection_id":160468,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:07:24] local.INFO: Acknowledgment sent {"connection_id":160468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:07:57] local.INFO: TCP Data received {"connection_id":162850,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:07:57] local.INFO: Processing buffer {"connection_id":162850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:07:57] local.INFO: IMEI packet received {"connection_id":162850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":162850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:07:57] local.INFO: TCP Data received {"connection_id":162850,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:07:57] local.INFO: Processing buffer {"connection_id":162850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:07:57] local.INFO: IMEI packet received {"connection_id":162850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":162850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:08:02] local.INFO: TCP Data received {"connection_id":162850,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:08:02] local.INFO: Processing buffer {"connection_id":162850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:08:02] local.INFO: IMEI packet received {"connection_id":162850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":162850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:08:03] local.INFO: TCP Data received {"connection_id":162850,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd5a990012d375b8006a989f8000a011330..."} 
[2026-08-23 05:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd5a990012d375b8006a989f8000a011330..."} 
[2026-08-23 05:08:03] local.INFO: Processing buffer {"connection_id":162850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd5a990012d375b8006a989f8000a011330..."} 
[2026-08-23 05:08:03] local.INFO: Packet analysis {"connection_id":162850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd5"} 
[2026-08-23 05:08:03] local.INFO: Extracted packet for processing {"connection_id":162850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd5"} 
[2026-08-23 05:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758602624,"raw_latitude":111774200,"longitude_deg":75.8602624,"latitude_deg":11.17742,"altitude":10,"angle":275,"satellites":48,"speed":58,"hex_longitude":"2d375b80","hex_latitude":"06a989f8","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585103616001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389920710501335040,"note":"Value kept but may cause issues"} 
[2026-08-23 05:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3999829816416884736,"note":"Value kept but may cause issues"} 
[2026-08-23 05:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787441818000,"timestamp_ms":1787441818000,"timestamp_seconds":1787441818,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd5a990"} 
[2026-08-23 05:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:08: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-08-23 05:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-23 05:08:03] 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-08-23 05: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-08-23 05:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585103616001,"66":27213,"77":206,"81":23296,"24":58,"16":389920710501335040,"45":3999829816416884736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-08-23 05:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585103616001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:08:03] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-23 05:08:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389920710501335040,"km_value":389920710501335.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3999829816416884736,"description":"Unknown IO ID 45"} 
[2026-08-23 05:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585103616001,"power":27213,"unknown_77":206,"unknown_81":23296,"ignition":58,"odometer":null,"unknown_45":3999829816416884736}} 
[2026-08-23 05:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":162850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:08:03] local.INFO: GPS data processed {"connection_id":162850,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:08:03] local.INFO: Acknowledgment sent {"connection_id":162850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:08:47] local.INFO: TCP Data received {"connection_id":160469,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:08:47] local.INFO: Processing buffer {"connection_id":160469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:08:47] local.INFO: IMEI packet received {"connection_id":160469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":160469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:08:48] local.INFO: TCP Data received {"connection_id":160469,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:08:48] local.INFO: Processing buffer {"connection_id":160469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:08:48] local.INFO: IMEI packet received {"connection_id":160469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":160469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:08:52] local.INFO: TCP Data received {"connection_id":160469,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:08:52] local.INFO: Processing buffer {"connection_id":160469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:08:52] local.INFO: IMEI packet received {"connection_id":160469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":160469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:08:53] local.INFO: TCP Data received {"connection_id":160469,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd5a990012d375b8006a989f8000a011330..."} 
[2026-08-23 05:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd5a990012d375b8006a989f8000a011330..."} 
[2026-08-23 05:08:53] local.INFO: Processing buffer {"connection_id":160469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd5a990012d375b8006a989f8000a011330..."} 
[2026-08-23 05:08:53] local.INFO: Packet analysis {"connection_id":160469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd5"} 
[2026-08-23 05:08:53] local.INFO: Extracted packet for processing {"connection_id":160469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd5"} 
[2026-08-23 05:08:53] local.INFO: GPS Element Parsed {"raw_longitude":758602624,"raw_latitude":111774200,"longitude_deg":75.8602624,"latitude_deg":11.17742,"altitude":10,"angle":275,"satellites":48,"speed":58,"hex_longitude":"2d375b80","hex_latitude":"06a989f8","is_valid_coordinates":true} 
[2026-08-23 05:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585105408001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389920710501335040,"note":"Value kept but may cause issues"} 
[2026-08-23 05:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3988922661069256704,"note":"Value kept but may cause issues"} 
[2026-08-23 05:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787441818000,"timestamp_ms":1787441818000,"timestamp_seconds":1787441818,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd5a990"} 
[2026-08-23 05:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:08: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-08-23 05:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 05:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585105408001,"66":27213,"77":206,"81":23296,"24":58,"16":389920710501335040,"45":3988922661069256704},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-08-23 05:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585105408001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:08:53] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-23 05:08:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389920710501335040,"km_value":389920710501335.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3988922661069256704,"description":"Unknown IO ID 45"} 
[2026-08-23 05:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585105408001,"power":27213,"unknown_77":206,"unknown_81":23296,"ignition":58,"odometer":null,"unknown_45":3988922661069256704}} 
[2026-08-23 05:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":160469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:08:53] local.INFO: GPS data processed {"connection_id":160469,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:08:53] local.INFO: Acknowledgment sent {"connection_id":160469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:09:24] local.INFO: TCP Data received {"connection_id":160469,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd714d8012d358c8006aa31f8000901252e..."} 
[2026-08-23 05:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd714d8012d358c8006aa31f8000901252e..."} 
[2026-08-23 05:09:24] local.INFO: Processing buffer {"connection_id":160469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd714d8012d358c8006aa31f8000901252e..."} 
[2026-08-23 05:09:24] local.INFO: Packet analysis {"connection_id":160469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd7"} 
[2026-08-23 05:09:24] local.INFO: Extracted packet for processing {"connection_id":160469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd7"} 
[2026-08-23 05:09:24] local.INFO: GPS Element Parsed {"raw_longitude":758484096,"raw_latitude":111817208,"longitude_deg":75.8484096,"latitude_deg":11.1817208,"altitude":9,"angle":293,"satellites":46,"speed":60,"hex_longitude":"2d358c80","hex_latitude":"06aa31f8","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585127424001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389926779290124288,"note":"Value kept but may cause issues"} 
[2026-08-23 05:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3869295795977183232,"note":"Value kept but may cause issues"} 
[2026-08-23 05:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787441911000,"timestamp_ms":1787441911000,"timestamp_seconds":1787441911,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd714d8"} 
[2026-08-23 05:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:09: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-08-23 05: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-23 05:09:24] 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-08-23 05: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-08-23 05:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585127424001,"66":27397,"96":206,"81":23296,"24":60,"16":389926779290124288,"45":3869295795977183232},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-08-23 05:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585127424001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:09:24] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-23 05:09:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389926779290124288,"km_value":389926779290124.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3869295795977183232,"description":"Unknown IO ID 45"} 
[2026-08-23 05:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585127424001,"power":27397,"unknown_96":206,"unknown_81":23296,"ignition":60,"odometer":null,"unknown_45":3869295795977183232}} 
[2026-08-23 05:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":160469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:09:24] local.INFO: GPS data processed {"connection_id":160469,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:09:24] local.INFO: Acknowledgment sent {"connection_id":160469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:09:47] local.INFO: TCP Data received {"connection_id":161438,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:09:47] local.INFO: Processing buffer {"connection_id":161438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:09:47] local.INFO: IMEI packet received {"connection_id":161438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":161438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:09:47] local.INFO: TCP Data received {"connection_id":161438,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:09:47] local.INFO: Processing buffer {"connection_id":161438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:09:47] local.INFO: IMEI packet received {"connection_id":161438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":161438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:09:52] local.INFO: TCP Data received {"connection_id":161438,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:09:52] local.INFO: Processing buffer {"connection_id":161438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:09:52] local.INFO: IMEI packet received {"connection_id":161438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":161438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:09:53] local.INFO: TCP Data received {"connection_id":161438,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd72c48012d356c0006aa3fa0000901262f..."} 
[2026-08-23 05:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd72c48012d356c0006aa3fa0000901262f..."} 
[2026-08-23 05:09:53] local.INFO: Processing buffer {"connection_id":161438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd72c48012d356c0006aa3fa0000901262f..."} 
[2026-08-23 05:09:53] local.INFO: Packet analysis {"connection_id":161438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd7"} 
[2026-08-23 05:09:53] local.INFO: Extracted packet for processing {"connection_id":161438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd7"} 
[2026-08-23 05:09:53] local.INFO: GPS Element Parsed {"raw_longitude":758475776,"raw_latitude":111820704,"longitude_deg":75.8475776,"latitude_deg":11.1820704,"altitude":9,"angle":294,"satellites":47,"speed":59,"hex_longitude":"2d356c00","hex_latitude":"06aa3fa0","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585129216001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389927208786853888,"note":"Value kept but may cause issues"} 
[2026-08-23 05:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3858599746863233024,"note":"Value kept but may cause issues"} 
[2026-08-23 05:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787441917000,"timestamp_ms":1787441917000,"timestamp_seconds":1787441917,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd72c48"} 
[2026-08-23 05:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:09: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-08-23 05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 05:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05: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-08-23 05:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585129216001,"66":27397,"97":206,"81":23296,"24":59,"16":389927208786853888,"45":3858599746863233024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 05:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585129216001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:09:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 05:09:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389927208786853888,"km_value":389927208786853.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3858599746863233024,"description":"Unknown IO ID 45"} 
[2026-08-23 05:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585129216001,"power":27397,"unknown_97":206,"unknown_81":23296,"ignition":59,"odometer":null,"unknown_45":3858599746863233024}} 
[2026-08-23 05:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":161438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:09:53] local.INFO: GPS data processed {"connection_id":161438,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:09:53] local.INFO: Acknowledgment sent {"connection_id":161438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:10:24] local.INFO: TCP Data received {"connection_id":161438,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd747a0012d35480006aa4f10000a01262f..."} 
[2026-08-23 05:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd747a0012d35480006aa4f10000a01262f..."} 
[2026-08-23 05:10:24] local.INFO: Processing buffer {"connection_id":161438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd747a0012d35480006aa4f10000a01262f..."} 
[2026-08-23 05:10:24] local.INFO: Packet analysis {"connection_id":161438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd7"} 
[2026-08-23 05:10:24] local.INFO: Extracted packet for processing {"connection_id":161438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd7"} 
[2026-08-23 05:10:24] local.INFO: GPS Element Parsed {"raw_longitude":758466560,"raw_latitude":111824656,"longitude_deg":75.846656,"latitude_deg":11.1824656,"altitude":10,"angle":294,"satellites":47,"speed":51,"hex_longitude":"2d354800","hex_latitude":"06aa4f10","is_valid_coordinates":true} 
[2026-08-23 05:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585130752001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389927689823191040,"note":"Value kept but may cause issues"} 
[2026-08-23 05:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3849451810121031680,"note":"Value kept but may cause issues"} 
[2026-08-23 05:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787441924000,"timestamp_ms":1787441924000,"timestamp_seconds":1787441924,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd747a0"} 
[2026-08-23 05:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 05:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 05:10: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-08-23 05:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585130752001,"66":27310,"97":206,"81":23296,"24":51,"16":389927689823191040,"45":3849451810121031680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 05:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585130752001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:10:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 05:10:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389927689823191040,"km_value":389927689823191.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3849451810121031680,"description":"Unknown IO ID 45"} 
[2026-08-23 05:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585130752001,"power":27310,"unknown_97":206,"unknown_81":23296,"ignition":51,"odometer":null,"unknown_45":3849451810121031680}} 
[2026-08-23 05:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":161438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:10:24] local.INFO: GPS data processed {"connection_id":161438,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:10:24] local.INFO: Acknowledgment sent {"connection_id":161438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:10:47] local.INFO: TCP Data received {"connection_id":161439,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:10:47] local.INFO: Processing buffer {"connection_id":161439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:10:47] local.INFO: IMEI packet received {"connection_id":161439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":161439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:10:52] local.INFO: TCP Data received {"connection_id":161439,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:10:52] local.INFO: Processing buffer {"connection_id":161439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:10:52] local.INFO: IMEI packet received {"connection_id":161439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":161439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:10:53] local.INFO: TCP Data received {"connection_id":161439,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd766e0012d35278006aa5d18000b01262b..."} 
[2026-08-23 05:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd766e0012d35278006aa5d18000b01262b..."} 
[2026-08-23 05:10:53] local.INFO: Processing buffer {"connection_id":161439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd766e0012d35278006aa5d18000b01262b..."} 
[2026-08-23 05:10:53] local.INFO: Packet analysis {"connection_id":161439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd7"} 
[2026-08-23 05:10:53] local.INFO: Extracted packet for processing {"connection_id":161439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd7"} 
[2026-08-23 05:10:53] local.INFO: GPS Element Parsed {"raw_longitude":758458240,"raw_latitude":111828248,"longitude_deg":75.845824,"latitude_deg":11.1828248,"altitude":11,"angle":294,"satellites":43,"speed":35,"hex_longitude":"2d352780","hex_latitude":"06aa5d18","is_valid_coordinates":true} 
[2026-08-23 05:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585132544001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389928119319920640,"note":"Value kept but may cause issues"} 
[2026-08-23 05:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3839318710960459776,"note":"Value kept but may cause issues"} 
[2026-08-23 05:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787441932000,"timestamp_ms":1787441932000,"timestamp_seconds":1787441932,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd766e0"} 
[2026-08-23 05:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:10: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-08-23 05:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-23 05:10:53] 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-08-23 05:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585132544001,"66":27321,"97":206,"81":23296,"24":35,"16":389928119319920640,"45":3839318710960459776},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 05:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585132544001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:10:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 05:10:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389928119319920640,"km_value":389928119319920.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3839318710960459776,"description":"Unknown IO ID 45"} 
[2026-08-23 05:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585132544001,"power":27321,"unknown_97":206,"unknown_81":23296,"ignition":35,"odometer":null,"unknown_45":3839318710960459776}} 
[2026-08-23 05:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":161439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:10:53] local.INFO: GPS data processed {"connection_id":161439,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:10:53] local.INFO: Acknowledgment sent {"connection_id":161439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:11:25] local.INFO: TCP Data received {"connection_id":161439,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd78a08012d35130006aa65e8000a01152e..."} 
[2026-08-23 05:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd78a08012d35130006aa65e8000a01152e..."} 
[2026-08-23 05:11:25] local.INFO: Processing buffer {"connection_id":161439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd78a08012d35130006aa65e8000a01152e..."} 
[2026-08-23 05:11:25] local.INFO: Packet analysis {"connection_id":161439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd7"} 
[2026-08-23 05:11:25] local.INFO: Extracted packet for processing {"connection_id":161439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd7"} 
[2026-08-23 05:11:25] local.INFO: GPS Element Parsed {"raw_longitude":758452992,"raw_latitude":111830504,"longitude_deg":75.8452992,"latitude_deg":11.1830504,"altitude":10,"angle":277,"satellites":46,"speed":10,"hex_longitude":"2d351300","hex_latitude":"06aa65e8","is_valid_coordinates":true} 
[2026-08-23 05:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585134592001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389928394197827584,"note":"Value kept but may cause issues"} 
[2026-08-23 05:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3830170774218283008,"note":"Value kept but may cause issues"} 
[2026-08-23 05:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787441941000,"timestamp_ms":1787441941000,"timestamp_seconds":1787441941,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd78a08"} 
[2026-08-23 05:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:11: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-08-23 05:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 05:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585134592001,"66":27343,"97":206,"81":23296,"24":10,"16":389928394197827584,"45":3830170774218283008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 05:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585134592001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:11:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 05:11:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389928394197827584,"km_value":389928394197827.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3830170774218283008,"description":"Unknown IO ID 45"} 
[2026-08-23 05:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585134592001,"power":27343,"unknown_97":206,"unknown_81":23296,"ignition":10,"odometer":null,"unknown_45":3830170774218283008}} 
[2026-08-23 05:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":161439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:11:25] local.INFO: GPS data processed {"connection_id":161439,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:11:25] local.INFO: Acknowledgment sent {"connection_id":161439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:11:49] local.INFO: TCP Data received {"connection_id":160273,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:11:49] local.INFO: Processing buffer {"connection_id":160273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:11:49] local.INFO: IMEI packet received {"connection_id":160273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":160273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:11:52] local.INFO: TCP Data received {"connection_id":160273,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:11:52] local.INFO: Processing buffer {"connection_id":160273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:11:52] local.INFO: IMEI packet received {"connection_id":160273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":160273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:11:52] local.INFO: TCP Data received {"connection_id":160273,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:11:52] local.INFO: Processing buffer {"connection_id":160273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:11:52] local.INFO: IMEI packet received {"connection_id":160273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":160273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:11:57] local.INFO: TCP Data received {"connection_id":160273,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:11:57] local.INFO: Processing buffer {"connection_id":160273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:11:57] local.INFO: IMEI packet received {"connection_id":160273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":160273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:11:58] local.INFO: TCP Data received {"connection_id":160273,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd933d0012d34c68006aa42e8000b00ea31..."} 
[2026-08-23 05:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd933d0012d34c68006aa42e8000b00ea31..."} 
[2026-08-23 05:11:58] local.INFO: Processing buffer {"connection_id":160273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd933d0012d34c68006aa42e8000b00ea31..."} 
[2026-08-23 05:11:58] local.INFO: Packet analysis {"connection_id":160273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:11:58] local.INFO: Extracted packet for processing {"connection_id":160273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:11:58] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111821544,"longitude_deg":75.8433408,"latitude_deg":11.1821544,"altitude":11,"angle":234,"satellites":49,"speed":9,"hex_longitude":"2d34c680","hex_latitude":"06aa42e8","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585164544001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929592493703168,"note":"Value kept but may cause issues"} 
[2026-08-23 05:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964025344,"note":"Value kept but may cause issues"} 
[2026-08-23 05:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787442050000,"timestamp_ms":1787442050000,"timestamp_seconds":1787442050,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd933d0"} 
[2026-08-23 05:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 05:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-23 05:11: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-08-23 05: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-08-23 05:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585164544001,"66":27321,"97":206,"81":23296,"24":9,"16":389929592493703168,"45":3803008438964025344},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 05:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585164544001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:11:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 05:11:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929592493703168,"km_value":389929592493703.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964025344,"description":"Unknown IO ID 45"} 
[2026-08-23 05:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585164544001,"power":27321,"unknown_97":206,"unknown_81":23296,"ignition":9,"odometer":null,"unknown_45":3803008438964025344}} 
[2026-08-23 05:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":160273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:11:58] local.INFO: GPS data processed {"connection_id":160273,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:11:58] local.INFO: Acknowledgment sent {"connection_id":160273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:12:03] local.INFO: TCP Data received {"connection_id":160273,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd937b8012d34c58006aa4288000b00fd30..."} 
[2026-08-23 05:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd937b8012d34c58006aa4288000b00fd30..."} 
[2026-08-23 05:12:03] local.INFO: Processing buffer {"connection_id":160273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd937b8012d34c58006aa4288000b00fd30..."} 
[2026-08-23 05:12:03] local.INFO: Packet analysis {"connection_id":160273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:12:03] local.INFO: Extracted packet for processing {"connection_id":160273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:12:03] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821448,"longitude_deg":75.8433152,"latitude_deg":11.1821448,"altitude":11,"angle":253,"satellites":48,"speed":8,"hex_longitude":"2d34c580","hex_latitude":"06aa4288","is_valid_coordinates":true} 
[2026-08-23 05:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585164800001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929605378605056,"note":"Value kept but may cause issues"} 
[2026-08-23 05:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475633152,"note":"Value kept but may cause issues"} 
[2026-08-23 05:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787442051000,"timestamp_ms":1787442051000,"timestamp_seconds":1787442051,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd937b8"} 
[2026-08-23 05:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 05:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 05:12: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-08-23 05:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585164800001,"66":27321,"97":206,"81":23296,"24":8,"16":389929605378605056,"45":3802867701475633152},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 05:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585164800001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:12:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 05:12:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929605378605056,"km_value":389929605378605.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475633152,"description":"Unknown IO ID 45"} 
[2026-08-23 05:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585164800001,"power":27321,"unknown_97":206,"unknown_81":23296,"ignition":8,"odometer":null,"unknown_45":3802867701475633152}} 
[2026-08-23 05:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":160273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:12:03] local.INFO: GPS data processed {"connection_id":160273,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:12:03] local.INFO: Acknowledgment sent {"connection_id":160273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:12:48] local.INFO: TCP Data received {"connection_id":160470,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:12:48] local.INFO: Processing buffer {"connection_id":160470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:12:48] local.INFO: IMEI packet received {"connection_id":160470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":160470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:12:52] local.INFO: TCP Data received {"connection_id":160470,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:12:52] local.INFO: Processing buffer {"connection_id":160470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:12:52] local.INFO: IMEI packet received {"connection_id":160470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":160470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:12:53] local.INFO: TCP Data received {"connection_id":160470,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd93f88012d34c40006aa4278000c011832..."} 
[2026-08-23 05:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd93f88012d34c40006aa4278000c011832..."} 
[2026-08-23 05:12:53] local.INFO: Processing buffer {"connection_id":160470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd93f88012d34c40006aa4278000c011832..."} 
[2026-08-23 05:12:53] local.INFO: Packet analysis {"connection_id":160470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:12:53] local.INFO: Extracted packet for processing {"connection_id":160470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:12:53] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111821432,"longitude_deg":75.8432768,"latitude_deg":11.1821432,"altitude":12,"angle":280,"satellites":50,"speed":7,"hex_longitude":"2d34c400","hex_latitude":"06aa4278","is_valid_coordinates":true} 
[2026-08-23 05:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585165056001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929622558474240,"note":"Value kept but may cause issues"} 
[2026-08-23 05:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498897920,"note":"Value kept but may cause issues"} 
[2026-08-23 05:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787442053000,"timestamp_ms":1787442053000,"timestamp_seconds":1787442053,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd93f88"} 
[2026-08-23 05:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:12: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-08-23 05:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 05:12:53] 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-08-23 05:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585165056001,"66":27267,"97":206,"81":23296,"24":7,"16":389929622558474240,"45":3802586226498897920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 05:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585165056001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:12:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 05:12:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929622558474240,"km_value":389929622558474.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498897920,"description":"Unknown IO ID 45"} 
[2026-08-23 05:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585165056001,"power":27267,"unknown_97":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":3802586226498897920}} 
[2026-08-23 05:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":160470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:12:53] local.INFO: GPS data processed {"connection_id":160470,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:12:53] local.INFO: Acknowledgment sent {"connection_id":160470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:12:58] local.INFO: TCP Data received {"connection_id":160470,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd981f0012d34c54006aa4390000a012233..."} 
[2026-08-23 05:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd981f0012d34c54006aa4390000a012233..."} 
[2026-08-23 05:12:58] local.INFO: Processing buffer {"connection_id":160470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd981f0012d34c54006aa4390000a012233..."} 
[2026-08-23 05:12:58] local.INFO: Packet analysis {"connection_id":160470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:12:58] local.INFO: Extracted packet for processing {"connection_id":160470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:12:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821712,"longitude_deg":75.8433088,"latitude_deg":11.1821712,"altitude":10,"angle":290,"satellites":51,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-08-23 05:12: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-08-23 05:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585165568001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014033827840,"note":"Value kept but may cause issues"} 
[2026-08-23 05:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787442070000,"timestamp_ms":1787442070000,"timestamp_seconds":1787442070,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd981f0"} 
[2026-08-23 05:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 05:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 05:12: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-08-23 05:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585165568001,"66":27843,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802164014033827840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 05:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585165568001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:12:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 05:12:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014033827840,"description":"Unknown IO ID 45"} 
[2026-08-23 05:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585165568001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014033827840}} 
[2026-08-23 05:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":160470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:12:58] local.INFO: GPS data processed {"connection_id":160470,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:12:58] local.INFO: Acknowledgment sent {"connection_id":160470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:13:31] local.INFO: TCP Data received {"connection_id":160470,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:13:31] local.INFO: Processing buffer {"connection_id":160470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:13:31] local.INFO: Packet analysis {"connection_id":160470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:13:31] local.INFO: Extracted packet for processing {"connection_id":160470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:13:31] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821744,"longitude_deg":75.8433152,"latitude_deg":11.1821744,"altitude":10,"angle":290,"satellites":49,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa43b0","is_valid_coordinates":true} 
[2026-08-23 05:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585169920001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754787840,"note":"Value kept but may cause issues"} 
[2026-08-23 05:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787442074000,"timestamp_ms":1787442074000,"timestamp_seconds":1787442074,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd99190"} 
[2026-08-23 05:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-23 05:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585169920001,"66":27039,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754787840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 05:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585169920001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:13:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 05:13:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754787840,"description":"Unknown IO ID 45"} 
[2026-08-23 05:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585169920001,"power":27039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754787840}} 
[2026-08-23 05:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":160470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:13:31] local.INFO: GPS data processed {"connection_id":160470,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:13:31] local.INFO: Acknowledgment sent {"connection_id":160470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:13:53] local.INFO: TCP Data received {"connection_id":160274,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:13:53] local.INFO: Processing buffer {"connection_id":160274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:13:53] local.INFO: IMEI packet received {"connection_id":160274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":160274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:13:57] local.INFO: TCP Data received {"connection_id":160274,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:13:57] local.INFO: Processing buffer {"connection_id":160274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:13:57] local.INFO: IMEI packet received {"connection_id":160274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":160274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:13:58] local.INFO: TCP Data received {"connection_id":160274,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:13:58] local.INFO: Processing buffer {"connection_id":160274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:13:58] local.INFO: Packet analysis {"connection_id":160274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:13:58] local.INFO: Extracted packet for processing {"connection_id":160274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:13:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821744,"longitude_deg":75.8433152,"latitude_deg":11.1821744,"altitude":10,"angle":290,"satellites":49,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa43b0","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585169920001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754787840,"note":"Value kept but may cause issues"} 
[2026-08-23 05:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787442074000,"timestamp_ms":1787442074000,"timestamp_seconds":1787442074,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd99190"} 
[2026-08-23 05:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-23 05:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05: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-08-23 05:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:13:58] 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-08-23 05:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585169920001,"66":27039,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754787840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 05:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585169920001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:13:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 05:13:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754787840,"description":"Unknown IO ID 45"} 
[2026-08-23 05:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585169920001,"power":27039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754787840}} 
[2026-08-23 05:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":160274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:13:58] local.INFO: GPS data processed {"connection_id":160274,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:13:58] local.INFO: Acknowledgment sent {"connection_id":160274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:14:32] local.INFO: TCP Data received {"connection_id":160274,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:14:32] local.INFO: Processing buffer {"connection_id":160274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:14:32] local.INFO: Packet analysis {"connection_id":160274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:14:32] local.INFO: Extracted packet for processing {"connection_id":160274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:14:32] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821744,"longitude_deg":75.8433152,"latitude_deg":11.1821744,"altitude":10,"angle":290,"satellites":49,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa43b0","is_valid_coordinates":true} 
[2026-08-23 05:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585169920001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754787840,"note":"Value kept but may cause issues"} 
[2026-08-23 05:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787442074000,"timestamp_ms":1787442074000,"timestamp_seconds":1787442074,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd99190"} 
[2026-08-23 05:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-23 05:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:14:32] 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-08-23 05:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585169920001,"66":27039,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754787840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 05:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585169920001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:14:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 05:14:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754787840,"description":"Unknown IO ID 45"} 
[2026-08-23 05:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585169920001,"power":27039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754787840}} 
[2026-08-23 05:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":160274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:14:32] local.INFO: GPS data processed {"connection_id":160274,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:14:32] local.INFO: Acknowledgment sent {"connection_id":160274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:14:52] local.INFO: TCP Data received {"connection_id":162851,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:14:52] local.INFO: Processing buffer {"connection_id":162851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:14:52] local.INFO: IMEI packet received {"connection_id":162851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":162851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:14:57] local.INFO: TCP Data received {"connection_id":162851,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:14:57] local.INFO: Processing buffer {"connection_id":162851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:14:57] local.INFO: IMEI packet received {"connection_id":162851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":162851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:14:58] local.INFO: TCP Data received {"connection_id":162851,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:14:58] local.INFO: Processing buffer {"connection_id":162851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:14:58] local.INFO: Packet analysis {"connection_id":162851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:14:58] local.INFO: Extracted packet for processing {"connection_id":162851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:14:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821744,"longitude_deg":75.8433152,"latitude_deg":11.1821744,"altitude":10,"angle":290,"satellites":49,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa43b0","is_valid_coordinates":true} 
[2026-08-23 05:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585169920001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754787840,"note":"Value kept but may cause issues"} 
[2026-08-23 05:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787442074000,"timestamp_ms":1787442074000,"timestamp_seconds":1787442074,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd99190"} 
[2026-08-23 05:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-23 05:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:14:58] 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-08-23 05:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585169920001,"66":27039,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754787840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 05:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585169920001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:14:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 05:14:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754787840,"description":"Unknown IO ID 45"} 
[2026-08-23 05:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585169920001,"power":27039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754787840}} 
[2026-08-23 05:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":162851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:14:58] local.INFO: GPS data processed {"connection_id":162851,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:14:58] local.INFO: Acknowledgment sent {"connection_id":162851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:15:29] local.INFO: TCP Data received {"connection_id":162851,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:15:29] local.INFO: Processing buffer {"connection_id":162851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:15:29] local.INFO: Packet analysis {"connection_id":162851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:15:29] local.INFO: Extracted packet for processing {"connection_id":162851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:15:29] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821744,"longitude_deg":75.8433152,"latitude_deg":11.1821744,"altitude":10,"angle":290,"satellites":49,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa43b0","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585169920001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754787840,"note":"Value kept but may cause issues"} 
[2026-08-23 05:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787442074000,"timestamp_ms":1787442074000,"timestamp_seconds":1787442074,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd99190"} 
[2026-08-23 05:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:15: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-08-23 05: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-23 05:15:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05: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-08-23 05:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:15:29] 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-08-23 05:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585169920001,"66":27039,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754787840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 05:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585169920001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:15:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 05:15:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754787840,"description":"Unknown IO ID 45"} 
[2026-08-23 05:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585169920001,"power":27039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754787840}} 
[2026-08-23 05:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":162851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:15:29] local.INFO: GPS data processed {"connection_id":162851,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:15:29] local.INFO: Acknowledgment sent {"connection_id":162851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:15:47] local.INFO: TCP Data received {"connection_id":160471,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:15:47] local.INFO: Processing buffer {"connection_id":160471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:15:47] local.INFO: IMEI packet received {"connection_id":160471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":160471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:15:52] local.INFO: TCP Data received {"connection_id":160471,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:15:52] local.INFO: Processing buffer {"connection_id":160471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:15:52] local.INFO: IMEI packet received {"connection_id":160471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":160471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:15:53] local.INFO: TCP Data received {"connection_id":160471,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:15:53] local.INFO: Processing buffer {"connection_id":160471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:15:53] local.INFO: Packet analysis {"connection_id":160471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:15:53] local.INFO: Extracted packet for processing {"connection_id":160471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:15:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821744,"longitude_deg":75.8433152,"latitude_deg":11.1821744,"altitude":10,"angle":290,"satellites":49,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa43b0","is_valid_coordinates":true} 
[2026-08-23 05:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585169920001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754787840,"note":"Value kept but may cause issues"} 
[2026-08-23 05:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787442074000,"timestamp_ms":1787442074000,"timestamp_seconds":1787442074,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd99190"} 
[2026-08-23 05:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-23 05:15:53] 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-08-23 05:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:15:53] 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-08-23 05:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585169920001,"66":27039,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754787840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 05:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585169920001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:15:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 05:15:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754787840,"description":"Unknown IO ID 45"} 
[2026-08-23 05:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585169920001,"power":27039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754787840}} 
[2026-08-23 05:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":160471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:15:53] local.INFO: GPS data processed {"connection_id":160471,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:15:53] local.INFO: Acknowledgment sent {"connection_id":160471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:16:24] local.INFO: TCP Data received {"connection_id":160471,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:16:24] local.INFO: Processing buffer {"connection_id":160471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:16:24] local.INFO: Packet analysis {"connection_id":160471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:16:24] local.INFO: Extracted packet for processing {"connection_id":160471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:16:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821744,"longitude_deg":75.8433152,"latitude_deg":11.1821744,"altitude":10,"angle":290,"satellites":49,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa43b0","is_valid_coordinates":true} 
[2026-08-23 05:16: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-08-23 05:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585169920001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754787840,"note":"Value kept but may cause issues"} 
[2026-08-23 05:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787442074000,"timestamp_ms":1787442074000,"timestamp_seconds":1787442074,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd99190"} 
[2026-08-23 05:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-23 05:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:16: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-08-23 05:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:16:24] 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-08-23 05:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585169920001,"66":27039,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754787840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 05:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585169920001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:16:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 05:16:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754787840,"description":"Unknown IO ID 45"} 
[2026-08-23 05:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585169920001,"power":27039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754787840}} 
[2026-08-23 05:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":160471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:16:24] local.INFO: GPS data processed {"connection_id":160471,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:16:24] local.INFO: Acknowledgment sent {"connection_id":160471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:16:47] local.INFO: TCP Data received {"connection_id":160472,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:16:47] local.INFO: Processing buffer {"connection_id":160472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:16:47] local.INFO: IMEI packet received {"connection_id":160472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":160472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:16:52] local.INFO: TCP Data received {"connection_id":160472,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:16:52] local.INFO: Processing buffer {"connection_id":160472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:16:52] local.INFO: IMEI packet received {"connection_id":160472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":160472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:16:53] local.INFO: TCP Data received {"connection_id":160472,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:16:53] local.INFO: Processing buffer {"connection_id":160472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bd99190012d34c58006aa43b0000a012231..."} 
[2026-08-23 05:16:53] local.INFO: Packet analysis {"connection_id":160472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:16:53] local.INFO: Extracted packet for processing {"connection_id":160472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bd9"} 
[2026-08-23 05:16:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821744,"longitude_deg":75.8433152,"latitude_deg":11.1821744,"altitude":10,"angle":290,"satellites":49,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa43b0","is_valid_coordinates":true} 
[2026-08-23 05:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585169920001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754787840,"note":"Value kept but may cause issues"} 
[2026-08-23 05:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 05:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787442074000,"timestamp_ms":1787442074000,"timestamp_seconds":1787442074,"priority":1,"record_length":96,"hex_timestamp":"000001a02bd99190"} 
[2026-08-23 05:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-23 05:16:53] 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-08-23 05:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:16:53] 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-08-23 05:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585169920001,"66":27039,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754787840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 05:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585169920001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:16:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 05:16:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754787840,"description":"Unknown IO ID 45"} 
[2026-08-23 05:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585169920001,"power":27039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754787840}} 
[2026-08-23 05:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":160472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:16:53] local.INFO: GPS data processed {"connection_id":160472,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:16:53] local.INFO: Acknowledgment sent {"connection_id":160472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:17:26] local.INFO: TCP Data received {"connection_id":160472,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:17:26] local.INFO: Processing buffer {"connection_id":160472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:17:26] local.INFO: Packet analysis {"connection_id":160472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bde"} 
[2026-08-23 05:17:26] local.INFO: Extracted packet for processing {"connection_id":160472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bde"} 
[2026-08-23 05:17:26] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":14,"angle":290,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585170944001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:17:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498973696,"note":"Value kept but may cause issues"} 
[2026-08-23 05:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787442375000,"timestamp_ms":1787442375000,"timestamp_seconds":1787442375,"priority":1,"record_length":96,"hex_timestamp":"000001a02bde2958"} 
[2026-08-23 05:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-23 05:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05: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-08-23 05:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:17:26] 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-08-23 05:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585170944001,"66":26408,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802586226498973696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585170944001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:17:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498973696,"description":"Unknown IO ID 45"} 
[2026-08-23 05:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585170944001,"power":26408,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498973696}} 
[2026-08-23 05:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":160472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:17:27] local.INFO: GPS data processed {"connection_id":160472,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:17:27] local.INFO: Acknowledgment sent {"connection_id":160472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:17:47] local.INFO: TCP Data received {"connection_id":162852,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:17:47] local.INFO: Processing buffer {"connection_id":162852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:17:47] local.INFO: IMEI packet received {"connection_id":162852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":162852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:17:52] local.INFO: TCP Data received {"connection_id":162852,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:17:52] local.INFO: Processing buffer {"connection_id":162852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:17:52] local.INFO: IMEI packet received {"connection_id":162852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":162852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:17:53] local.INFO: TCP Data received {"connection_id":162852,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:17:53] local.INFO: Processing buffer {"connection_id":162852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:17:53] local.INFO: Packet analysis {"connection_id":162852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bde"} 
[2026-08-23 05:17:53] local.INFO: Extracted packet for processing {"connection_id":162852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bde"} 
[2026-08-23 05:17:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":14,"angle":290,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:17: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-08-23 05:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585170944001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:17:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498973696,"note":"Value kept but may cause issues"} 
[2026-08-23 05:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787442375000,"timestamp_ms":1787442375000,"timestamp_seconds":1787442375,"priority":1,"record_length":96,"hex_timestamp":"000001a02bde2958"} 
[2026-08-23 05:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:17: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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-23 05:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:17: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-08-23 05:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:17:53] 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-08-23 05:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585170944001,"66":26408,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802586226498973696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585170944001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:17:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498973696,"description":"Unknown IO ID 45"} 
[2026-08-23 05:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585170944001,"power":26408,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498973696}} 
[2026-08-23 05:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":162852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:17:53] local.INFO: GPS data processed {"connection_id":162852,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:17:53] local.INFO: Acknowledgment sent {"connection_id":162852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:18:25] local.INFO: TCP Data received {"connection_id":162852,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:18:25] local.INFO: Processing buffer {"connection_id":162852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:18:25] local.INFO: Packet analysis {"connection_id":162852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bde"} 
[2026-08-23 05:18:25] local.INFO: Extracted packet for processing {"connection_id":162852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bde"} 
[2026-08-23 05:18:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":14,"angle":290,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585170944001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:18:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498973696,"note":"Value kept but may cause issues"} 
[2026-08-23 05:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787442375000,"timestamp_ms":1787442375000,"timestamp_seconds":1787442375,"priority":1,"record_length":96,"hex_timestamp":"000001a02bde2958"} 
[2026-08-23 05:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-23 05:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05: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-08-23 05:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:18:25] 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-08-23 05:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585170944001,"66":26408,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802586226498973696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585170944001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:18:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498973696,"description":"Unknown IO ID 45"} 
[2026-08-23 05:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585170944001,"power":26408,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498973696}} 
[2026-08-23 05:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":162852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:18:25] local.INFO: GPS data processed {"connection_id":162852,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:18:25] local.INFO: Acknowledgment sent {"connection_id":162852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:18:49] local.INFO: TCP Data received {"connection_id":160473,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:18:49] local.INFO: Processing buffer {"connection_id":160473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:18:49] local.INFO: IMEI packet received {"connection_id":160473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":160473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:18:53] local.INFO: TCP Data received {"connection_id":160473,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:18:53] local.INFO: Processing buffer {"connection_id":160473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:18:53] local.INFO: IMEI packet received {"connection_id":160473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":160473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:18:54] local.INFO: TCP Data received {"connection_id":160473,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:18:54] local.INFO: Processing buffer {"connection_id":160473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:18:54] local.INFO: Packet analysis {"connection_id":160473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bde"} 
[2026-08-23 05:18:54] local.INFO: Extracted packet for processing {"connection_id":160473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bde"} 
[2026-08-23 05:18:54] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":14,"angle":290,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585170944001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:18:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498973696,"note":"Value kept but may cause issues"} 
[2026-08-23 05:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787442375000,"timestamp_ms":1787442375000,"timestamp_seconds":1787442375,"priority":1,"record_length":96,"hex_timestamp":"000001a02bde2958"} 
[2026-08-23 05:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:18: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-08-23 05: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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-23 05:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05: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-08-23 05:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:18:54] 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-08-23 05:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585170944001,"66":26408,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802586226498973696},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585170944001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:18:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498973696,"description":"Unknown IO ID 45"} 
[2026-08-23 05:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585170944001,"power":26408,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498973696}} 
[2026-08-23 05:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":160473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:18:54] local.INFO: GPS data processed {"connection_id":160473,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:18:54] local.INFO: Acknowledgment sent {"connection_id":160473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:18:58] local.INFO: TCP Data received {"connection_id":160473,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:18:58] local.INFO: Processing buffer {"connection_id":160473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:18:58] local.INFO: Packet analysis {"connection_id":160473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bde"} 
[2026-08-23 05:18:58] local.INFO: Extracted packet for processing {"connection_id":160473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bde"} 
[2026-08-23 05:18:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":14,"angle":290,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585170944001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:18:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498973696,"note":"Value kept but may cause issues"} 
[2026-08-23 05:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787442375000,"timestamp_ms":1787442375000,"timestamp_seconds":1787442375,"priority":1,"record_length":96,"hex_timestamp":"000001a02bde2958"} 
[2026-08-23 05:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:18: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-08-23 05:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-23 05:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:18: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-08-23 05:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585170944001,"66":26408,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802586226498973696},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585170944001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:18:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498973696,"description":"Unknown IO ID 45"} 
[2026-08-23 05:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585170944001,"power":26408,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498973696}} 
[2026-08-23 05:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":160473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:18:58] local.INFO: GPS data processed {"connection_id":160473,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:18:58] local.INFO: Acknowledgment sent {"connection_id":160473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:19:30] local.INFO: TCP Data received {"connection_id":160473,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:19:30] local.INFO: Processing buffer {"connection_id":160473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:19:30] local.INFO: Packet analysis {"connection_id":160473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bde"} 
[2026-08-23 05:19:30] local.INFO: Extracted packet for processing {"connection_id":160473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bde"} 
[2026-08-23 05:19:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":14,"angle":290,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585170944001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:19:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498973696,"note":"Value kept but may cause issues"} 
[2026-08-23 05:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787442375000,"timestamp_ms":1787442375000,"timestamp_seconds":1787442375,"priority":1,"record_length":96,"hex_timestamp":"000001a02bde2958"} 
[2026-08-23 05:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:19: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-08-23 05:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-23 05:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:19:30] 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-08-23 05:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585170944001,"66":26408,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802586226498973696},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585170944001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:19:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498973696,"description":"Unknown IO ID 45"} 
[2026-08-23 05:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585170944001,"power":26408,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498973696}} 
[2026-08-23 05:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":160473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:19:30] local.INFO: GPS data processed {"connection_id":160473,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:19:30] local.INFO: Acknowledgment sent {"connection_id":160473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:19:47] local.INFO: TCP Data received {"connection_id":160275,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:19:47] local.INFO: Processing buffer {"connection_id":160275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:19:47] local.INFO: IMEI packet received {"connection_id":160275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":160275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:19:52] local.INFO: TCP Data received {"connection_id":160275,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:19:52] local.INFO: Processing buffer {"connection_id":160275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:19:52] local.INFO: IMEI packet received {"connection_id":160275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":160275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:19:57] local.INFO: TCP Data received {"connection_id":160275,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:19:57] local.INFO: Processing buffer {"connection_id":160275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:19:57] local.INFO: Packet analysis {"connection_id":160275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bde"} 
[2026-08-23 05:19:57] local.INFO: Extracted packet for processing {"connection_id":160275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bde"} 
[2026-08-23 05:19:57] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":14,"angle":290,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585170944001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:19:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498973696,"note":"Value kept but may cause issues"} 
[2026-08-23 05:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787442375000,"timestamp_ms":1787442375000,"timestamp_seconds":1787442375,"priority":1,"record_length":96,"hex_timestamp":"000001a02bde2958"} 
[2026-08-23 05:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-23 05:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:19:57] 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-08-23 05:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585170944001,"66":26408,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802586226498973696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585170944001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:19:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498973696,"description":"Unknown IO ID 45"} 
[2026-08-23 05:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585170944001,"power":26408,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498973696}} 
[2026-08-23 05:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":160275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:19:57] local.INFO: GPS data processed {"connection_id":160275,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:19:57] local.INFO: Acknowledgment sent {"connection_id":160275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:20:28] local.INFO: TCP Data received {"connection_id":160275,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:20:28] local.INFO: Processing buffer {"connection_id":160275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:20:28] local.INFO: Packet analysis {"connection_id":160275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bde"} 
[2026-08-23 05:20:28] local.INFO: Extracted packet for processing {"connection_id":160275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bde"} 
[2026-08-23 05:20:28] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":14,"angle":290,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585170944001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:20:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498973696,"note":"Value kept but may cause issues"} 
[2026-08-23 05:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787442375000,"timestamp_ms":1787442375000,"timestamp_seconds":1787442375,"priority":1,"record_length":96,"hex_timestamp":"000001a02bde2958"} 
[2026-08-23 05:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-23 05:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585170944001,"66":26408,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802586226498973696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585170944001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:20:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498973696,"description":"Unknown IO ID 45"} 
[2026-08-23 05:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585170944001,"power":26408,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498973696}} 
[2026-08-23 05:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":160275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:20:28] local.INFO: GPS data processed {"connection_id":160275,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:20:28] local.INFO: Acknowledgment sent {"connection_id":160275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:20:47] local.INFO: TCP Data received {"connection_id":162853,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:20:47] local.INFO: Processing buffer {"connection_id":162853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:20:47] local.INFO: IMEI packet received {"connection_id":162853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":162853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:20:52] local.INFO: TCP Data received {"connection_id":162853,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:20:52] local.INFO: Processing buffer {"connection_id":162853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:20:52] local.INFO: IMEI packet received {"connection_id":162853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":162853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:20:53] local.INFO: TCP Data received {"connection_id":162853,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:20:53] local.INFO: Processing buffer {"connection_id":162853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:20:53] local.INFO: Packet analysis {"connection_id":162853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bde"} 
[2026-08-23 05:20:53] local.INFO: Extracted packet for processing {"connection_id":162853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bde"} 
[2026-08-23 05:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":14,"angle":290,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585170944001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:20:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498973696,"note":"Value kept but may cause issues"} 
[2026-08-23 05:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787442375000,"timestamp_ms":1787442375000,"timestamp_seconds":1787442375,"priority":1,"record_length":96,"hex_timestamp":"000001a02bde2958"} 
[2026-08-23 05:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-23 05:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:20:53] 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-08-23 05:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585170944001,"66":26408,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802586226498973696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585170944001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:20:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498973696,"description":"Unknown IO ID 45"} 
[2026-08-23 05:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585170944001,"power":26408,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498973696}} 
[2026-08-23 05:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":162853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:20:53] local.INFO: GPS data processed {"connection_id":162853,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:20:53] local.INFO: Acknowledgment sent {"connection_id":162853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:21:25] local.INFO: TCP Data received {"connection_id":162853,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:21:25] local.INFO: Processing buffer {"connection_id":162853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bde2958012d34c54006aa4438000e012229..."} 
[2026-08-23 05:21:25] local.INFO: Packet analysis {"connection_id":162853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bde"} 
[2026-08-23 05:21:25] local.INFO: Extracted packet for processing {"connection_id":162853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bde"} 
[2026-08-23 05:21:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":14,"angle":290,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585170944001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:21:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498973696,"note":"Value kept but may cause issues"} 
[2026-08-23 05:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787442375000,"timestamp_ms":1787442375000,"timestamp_seconds":1787442375,"priority":1,"record_length":96,"hex_timestamp":"000001a02bde2958"} 
[2026-08-23 05:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-23 05:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:21:25] 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-08-23 05:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585170944001,"66":26408,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802586226498973696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585170944001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:21:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498973696,"description":"Unknown IO ID 45"} 
[2026-08-23 05:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585170944001,"power":26408,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498973696}} 
[2026-08-23 05:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":162853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:21:25] local.INFO: GPS data processed {"connection_id":162853,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:21:25] local.INFO: Acknowledgment sent {"connection_id":162853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:21:52] local.INFO: TCP Data received {"connection_id":162854,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:21:52] local.INFO: Processing buffer {"connection_id":162854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:21:52] local.INFO: IMEI packet received {"connection_id":162854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":162854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:21:54] local.INFO: TCP Data received {"connection_id":162854,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:21:54] local.INFO: Processing buffer {"connection_id":162854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:21:54] local.INFO: IMEI packet received {"connection_id":162854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":162854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:21:55] local.INFO: TCP Data received {"connection_id":162854,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:21:55] local.INFO: Processing buffer {"connection_id":162854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:21:55] local.INFO: Packet analysis {"connection_id":162854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02be2"} 
[2026-08-23 05:21:55] local.INFO: Extracted packet for processing {"connection_id":162854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02be2"} 
[2026-08-23 05:21:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":22,"angle":290,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585248000001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:21:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787442676000,"timestamp_ms":1787442676000,"timestamp_seconds":1787442676,"priority":1,"record_length":96,"hex_timestamp":"000001a02be2c120"} 
[2026-08-23 05:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-23 05:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05: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-08-23 05:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:21:55] 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-08-23 05:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585248000001,"66":26006,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585248000001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:21:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585248000001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":162854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:21:55] local.INFO: GPS data processed {"connection_id":162854,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:21:55] local.INFO: Acknowledgment sent {"connection_id":162854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:22:27] local.INFO: TCP Data received {"connection_id":162854,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:22:27] local.INFO: Processing buffer {"connection_id":162854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:22:27] local.INFO: Packet analysis {"connection_id":162854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02be2"} 
[2026-08-23 05:22:27] local.INFO: Extracted packet for processing {"connection_id":162854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02be2"} 
[2026-08-23 05:22:27] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":22,"angle":290,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585248000001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:22:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787442676000,"timestamp_ms":1787442676000,"timestamp_seconds":1787442676,"priority":1,"record_length":96,"hex_timestamp":"000001a02be2c120"} 
[2026-08-23 05:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-23 05:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:22:27] 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-08-23 05:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585248000001,"66":26006,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585248000001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:22:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585248000001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":162854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:22:27] local.INFO: GPS data processed {"connection_id":162854,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:22:27] local.INFO: Acknowledgment sent {"connection_id":162854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:22:47] local.INFO: TCP Data received {"connection_id":160474,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:22:47] local.INFO: Processing buffer {"connection_id":160474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:22:47] local.INFO: IMEI packet received {"connection_id":160474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":160474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:22:52] local.INFO: TCP Data received {"connection_id":160474,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:22:52] local.INFO: Processing buffer {"connection_id":160474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:22:52] local.INFO: IMEI packet received {"connection_id":160474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":160474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:22:53] local.INFO: TCP Data received {"connection_id":160474,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:22:53] local.INFO: Processing buffer {"connection_id":160474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:22:53] local.INFO: Packet analysis {"connection_id":160474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02be2"} 
[2026-08-23 05:22:53] local.INFO: Extracted packet for processing {"connection_id":160474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02be2"} 
[2026-08-23 05:22:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":22,"angle":290,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585248000001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:22:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787442676000,"timestamp_ms":1787442676000,"timestamp_seconds":1787442676,"priority":1,"record_length":96,"hex_timestamp":"000001a02be2c120"} 
[2026-08-23 05:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-23 05:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:22:53] 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-08-23 05:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585248000001,"66":26006,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585248000001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:22:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585248000001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":160474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:22:53] local.INFO: GPS data processed {"connection_id":160474,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:22:53] local.INFO: Acknowledgment sent {"connection_id":160474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:23:25] local.INFO: TCP Data received {"connection_id":160474,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:23:25] local.INFO: Processing buffer {"connection_id":160474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:23:25] local.INFO: Packet analysis {"connection_id":160474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02be2"} 
[2026-08-23 05:23:25] local.INFO: Extracted packet for processing {"connection_id":160474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02be2"} 
[2026-08-23 05:23:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":22,"angle":290,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585248000001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:23:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787442676000,"timestamp_ms":1787442676000,"timestamp_seconds":1787442676,"priority":1,"record_length":96,"hex_timestamp":"000001a02be2c120"} 
[2026-08-23 05:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-23 05:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:23:25] 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-08-23 05:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585248000001,"66":26006,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585248000001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:23:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585248000001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":160474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:23:25] local.INFO: GPS data processed {"connection_id":160474,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:23:25] local.INFO: Acknowledgment sent {"connection_id":160474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:23:47] local.INFO: TCP Data received {"connection_id":160276,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:23:47] local.INFO: Processing buffer {"connection_id":160276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:23:47] local.INFO: IMEI packet received {"connection_id":160276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":160276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:23:52] local.INFO: TCP Data received {"connection_id":160276,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:23:52] local.INFO: Processing buffer {"connection_id":160276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:23:52] local.INFO: IMEI packet received {"connection_id":160276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":160276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:23:53] local.INFO: TCP Data received {"connection_id":160276,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:23:53] local.INFO: Processing buffer {"connection_id":160276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:23:53] local.INFO: Packet analysis {"connection_id":160276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02be2"} 
[2026-08-23 05:23:53] local.INFO: Extracted packet for processing {"connection_id":160276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02be2"} 
[2026-08-23 05:23:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":22,"angle":290,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:23: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-08-23 05:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585248000001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:23:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787442676000,"timestamp_ms":1787442676000,"timestamp_seconds":1787442676,"priority":1,"record_length":96,"hex_timestamp":"000001a02be2c120"} 
[2026-08-23 05:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-23 05:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:23: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-08-23 05:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585248000001,"66":26006,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585248000001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:23:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585248000001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":160276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:23:53] local.INFO: GPS data processed {"connection_id":160276,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:23:53] local.INFO: Acknowledgment sent {"connection_id":160276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:24:25] local.INFO: TCP Data received {"connection_id":160276,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:24:25] local.INFO: Processing buffer {"connection_id":160276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:24:25] local.INFO: Packet analysis {"connection_id":160276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02be2"} 
[2026-08-23 05:24:25] local.INFO: Extracted packet for processing {"connection_id":160276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02be2"} 
[2026-08-23 05:24:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":22,"angle":290,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585248000001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:24:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787442676000,"timestamp_ms":1787442676000,"timestamp_seconds":1787442676,"priority":1,"record_length":96,"hex_timestamp":"000001a02be2c120"} 
[2026-08-23 05:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":40,"data_length":795,"current_offset":136} 
[2026-08-23 05:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05: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-08-23 05:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585248000001,"66":26006,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585248000001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:24:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585248000001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":160276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:24:25] local.INFO: GPS data processed {"connection_id":160276,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:24:25] local.INFO: Acknowledgment sent {"connection_id":160276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:24:47] local.INFO: TCP Data received {"connection_id":160475,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:24:47] local.INFO: Processing buffer {"connection_id":160475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:24:47] local.INFO: IMEI packet received {"connection_id":160475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":160475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:24:52] local.INFO: TCP Data received {"connection_id":160475,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:24:52] local.INFO: Processing buffer {"connection_id":160475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:24:52] local.INFO: IMEI packet received {"connection_id":160475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":160475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:24:53] local.INFO: TCP Data received {"connection_id":160475,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:24:53] local.INFO: Processing buffer {"connection_id":160475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:24:53] local.INFO: Packet analysis {"connection_id":160475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02be2"} 
[2026-08-23 05:24:53] local.INFO: Extracted packet for processing {"connection_id":160475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02be2"} 
[2026-08-23 05:24:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":22,"angle":290,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585248000001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:24:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787442676000,"timestamp_ms":1787442676000,"timestamp_seconds":1787442676,"priority":1,"record_length":96,"hex_timestamp":"000001a02be2c120"} 
[2026-08-23 05:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-23 05:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:24:53] 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-08-23 05:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585248000001,"66":26006,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585248000001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:24:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585248000001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":160475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:24:53] local.INFO: GPS data processed {"connection_id":160475,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:24:53] local.INFO: Acknowledgment sent {"connection_id":160475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:25:25] local.INFO: TCP Data received {"connection_id":160475,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:25:25] local.INFO: Processing buffer {"connection_id":160475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:25:25] local.INFO: Packet analysis {"connection_id":160475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02be2"} 
[2026-08-23 05:25:25] local.INFO: Extracted packet for processing {"connection_id":160475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02be2"} 
[2026-08-23 05:25:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":22,"angle":290,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585248000001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:25:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787442676000,"timestamp_ms":1787442676000,"timestamp_seconds":1787442676,"priority":1,"record_length":96,"hex_timestamp":"000001a02be2c120"} 
[2026-08-23 05:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-23 05:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585248000001,"66":26006,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585248000001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:25:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585248000001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":160475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:25:25] local.INFO: GPS data processed {"connection_id":160475,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:25:25] local.INFO: Acknowledgment sent {"connection_id":160475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:25:52] local.INFO: TCP Data received {"connection_id":161440,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:25:52] local.INFO: Processing buffer {"connection_id":161440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:25:52] local.INFO: IMEI packet received {"connection_id":161440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":161440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:25:57] local.INFO: TCP Data received {"connection_id":161440,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:25:57] local.INFO: Processing buffer {"connection_id":161440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:25:57] local.INFO: IMEI packet received {"connection_id":161440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":161440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:25:59] local.INFO: TCP Data received {"connection_id":161440,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:25:59] local.INFO: Processing buffer {"connection_id":161440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:25:59] local.INFO: Packet analysis {"connection_id":161440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02be2"} 
[2026-08-23 05:25:59] local.INFO: Extracted packet for processing {"connection_id":161440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02be2"} 
[2026-08-23 05:25:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":22,"angle":290,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585248000001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:25:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787442676000,"timestamp_ms":1787442676000,"timestamp_seconds":1787442676,"priority":1,"record_length":96,"hex_timestamp":"000001a02be2c120"} 
[2026-08-23 05:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-23 05:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:25:59] 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-08-23 05:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585248000001,"66":26006,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585248000001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:25:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585248000001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":161440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:25:59] local.INFO: GPS data processed {"connection_id":161440,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:25:59] local.INFO: Acknowledgment sent {"connection_id":161440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:26:30] local.INFO: TCP Data received {"connection_id":161440,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:26:30] local.INFO: Processing buffer {"connection_id":161440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:26:30] local.INFO: Packet analysis {"connection_id":161440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02be2"} 
[2026-08-23 05:26:30] local.INFO: Extracted packet for processing {"connection_id":161440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02be2"} 
[2026-08-23 05:26:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":22,"angle":290,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585248000001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:26:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787442676000,"timestamp_ms":1787442676000,"timestamp_seconds":1787442676,"priority":1,"record_length":96,"hex_timestamp":"000001a02be2c120"} 
[2026-08-23 05:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:26: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-08-23 05: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-23 05:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05: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-08-23 05:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:26:30] 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-08-23 05:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585248000001,"66":26006,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585248000001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:26:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585248000001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":161440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:26:30] local.INFO: GPS data processed {"connection_id":161440,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:26:30] local.INFO: Acknowledgment sent {"connection_id":161440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:26:47] local.INFO: TCP Data received {"connection_id":160476,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:26:47] local.INFO: Processing buffer {"connection_id":160476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:26:47] local.INFO: IMEI packet received {"connection_id":160476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":160476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:26:52] local.INFO: TCP Data received {"connection_id":160476,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:26:52] local.INFO: Processing buffer {"connection_id":160476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:26:52] local.INFO: IMEI packet received {"connection_id":160476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":160476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:26:53] local.INFO: TCP Data received {"connection_id":160476,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:26:53] local.INFO: Processing buffer {"connection_id":160476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02be2c120012d34c54006aa44380016012224..."} 
[2026-08-23 05:26:53] local.INFO: Packet analysis {"connection_id":160476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02be2"} 
[2026-08-23 05:26:53] local.INFO: Extracted packet for processing {"connection_id":160476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02be2"} 
[2026-08-23 05:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":22,"angle":290,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585248000001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:26:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787442676000,"timestamp_ms":1787442676000,"timestamp_seconds":1787442676,"priority":1,"record_length":96,"hex_timestamp":"000001a02be2c120"} 
[2026-08-23 05:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-23 05:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:26:53] 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-08-23 05:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585248000001,"66":26006,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585248000001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585248000001,"power":26006,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":160476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:26:53] local.INFO: GPS data processed {"connection_id":160476,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:26:53] local.INFO: Acknowledgment sent {"connection_id":160476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:27:24] local.INFO: TCP Data received {"connection_id":160476,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:27:24] local.INFO: Processing buffer {"connection_id":160476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:27:24] local.INFO: Packet analysis {"connection_id":160476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02be7"} 
[2026-08-23 05:27:24] local.INFO: Extracted packet for processing {"connection_id":160476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02be7"} 
[2026-08-23 05:27:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585325056001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:27:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787442977000,"timestamp_ms":1787442977000,"timestamp_seconds":1787442977,"priority":1,"record_length":96,"hex_timestamp":"000001a02be758e8"} 
[2026-08-23 05:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:27: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-08-23 05: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 05:27:24] 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-08-23 05: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-08-23 05:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:27: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-08-23 05:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585325056001,"66":25919,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585325056001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:27:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585325056001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":160476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:27:24] local.INFO: GPS data processed {"connection_id":160476,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:27:24] local.INFO: Acknowledgment sent {"connection_id":160476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:27:47] local.INFO: TCP Data received {"connection_id":160477,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:27:47] local.INFO: Processing buffer {"connection_id":160477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:27:47] local.INFO: IMEI packet received {"connection_id":160477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":160477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:27:52] local.INFO: TCP Data received {"connection_id":160477,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:27:52] local.INFO: Processing buffer {"connection_id":160477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:27:52] local.INFO: IMEI packet received {"connection_id":160477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":160477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:27:53] local.INFO: TCP Data received {"connection_id":160477,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:27:53] local.INFO: Processing buffer {"connection_id":160477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:27:53] local.INFO: Packet analysis {"connection_id":160477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02be7"} 
[2026-08-23 05:27:53] local.INFO: Extracted packet for processing {"connection_id":160477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02be7"} 
[2026-08-23 05:27:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585325056001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:27:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787442977000,"timestamp_ms":1787442977000,"timestamp_seconds":1787442977,"priority":1,"record_length":96,"hex_timestamp":"000001a02be758e8"} 
[2026-08-23 05:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 05:27:53] 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-08-23 05:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:27:53] 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-08-23 05:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585325056001,"66":25919,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585325056001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:27:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585325056001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":160477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:27:53] local.INFO: GPS data processed {"connection_id":160477,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:27:53] local.INFO: Acknowledgment sent {"connection_id":160477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:28:25] local.INFO: TCP Data received {"connection_id":160477,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:28:25] local.INFO: Processing buffer {"connection_id":160477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:28:25] local.INFO: Packet analysis {"connection_id":160477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02be7"} 
[2026-08-23 05:28:25] local.INFO: Extracted packet for processing {"connection_id":160477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02be7"} 
[2026-08-23 05:28:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585325056001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:28:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787442977000,"timestamp_ms":1787442977000,"timestamp_seconds":1787442977,"priority":1,"record_length":96,"hex_timestamp":"000001a02be758e8"} 
[2026-08-23 05:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 05:28:25] 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-08-23 05: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-08-23 05:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:28: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-08-23 05:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585325056001,"66":25919,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585325056001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:28:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585325056001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":160477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:28:25] local.INFO: GPS data processed {"connection_id":160477,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:28:25] local.INFO: Acknowledgment sent {"connection_id":160477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:28:47] local.INFO: TCP Data received {"connection_id":161441,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:28:47] local.INFO: Processing buffer {"connection_id":161441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:28:47] local.INFO: IMEI packet received {"connection_id":161441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":161441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:28:52] local.INFO: TCP Data received {"connection_id":161441,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:28:52] local.INFO: Processing buffer {"connection_id":161441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:28:52] local.INFO: IMEI packet received {"connection_id":161441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":161441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:28:53] local.INFO: TCP Data received {"connection_id":161441,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:28:53] local.INFO: Processing buffer {"connection_id":161441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:28:53] local.INFO: Packet analysis {"connection_id":161441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02be7"} 
[2026-08-23 05:28:53] local.INFO: Extracted packet for processing {"connection_id":161441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02be7"} 
[2026-08-23 05:28:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585325056001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:28:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787442977000,"timestamp_ms":1787442977000,"timestamp_seconds":1787442977,"priority":1,"record_length":96,"hex_timestamp":"000001a02be758e8"} 
[2026-08-23 05:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 05:28:53] 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-08-23 05:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:28:53] 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-08-23 05:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585325056001,"66":25919,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585325056001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:28:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585325056001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":161441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:28:53] local.INFO: GPS data processed {"connection_id":161441,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:28:53] local.INFO: Acknowledgment sent {"connection_id":161441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:29:25] local.INFO: TCP Data received {"connection_id":161441,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:29:25] local.INFO: Processing buffer {"connection_id":161441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:29:25] local.INFO: Packet analysis {"connection_id":161441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02be7"} 
[2026-08-23 05:29:25] local.INFO: Extracted packet for processing {"connection_id":161441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02be7"} 
[2026-08-23 05:29:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585325056001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:29:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787442977000,"timestamp_ms":1787442977000,"timestamp_seconds":1787442977,"priority":1,"record_length":96,"hex_timestamp":"000001a02be758e8"} 
[2026-08-23 05:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 05:29:25] 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-08-23 05:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:29: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-08-23 05:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585325056001,"66":25919,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585325056001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:29:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585325056001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":161441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:29:25] local.INFO: GPS data processed {"connection_id":161441,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:29:25] local.INFO: Acknowledgment sent {"connection_id":161441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:29:52] local.INFO: TCP Data received {"connection_id":160478,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:29:52] local.INFO: Processing buffer {"connection_id":160478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:29:52] local.INFO: IMEI packet received {"connection_id":160478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":160478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:29:57] local.INFO: TCP Data received {"connection_id":160478,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:29:57] local.INFO: Processing buffer {"connection_id":160478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:29:57] local.INFO: IMEI packet received {"connection_id":160478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":160478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:29:58] local.INFO: TCP Data received {"connection_id":160478,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:29:58] local.INFO: Processing buffer {"connection_id":160478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:29:58] local.INFO: Packet analysis {"connection_id":160478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02be7"} 
[2026-08-23 05:29:58] local.INFO: Extracted packet for processing {"connection_id":160478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02be7"} 
[2026-08-23 05:29:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585325056001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:29:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787442977000,"timestamp_ms":1787442977000,"timestamp_seconds":1787442977,"priority":1,"record_length":96,"hex_timestamp":"000001a02be758e8"} 
[2026-08-23 05:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 05:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05: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-08-23 05:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:29:58] 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-08-23 05:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585325056001,"66":25919,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585325056001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:29:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585325056001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":160478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:29:58] local.INFO: GPS data processed {"connection_id":160478,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:29:58] local.INFO: Acknowledgment sent {"connection_id":160478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:30:02] local.INFO: TCP Data received {"connection_id":160478,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:30:02] local.INFO: Processing buffer {"connection_id":160478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:30:02] local.INFO: Packet analysis {"connection_id":160478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02be7"} 
[2026-08-23 05:30:02] local.INFO: Extracted packet for processing {"connection_id":160478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02be7"} 
[2026-08-23 05:30:02] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585325056001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:30:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787442977000,"timestamp_ms":1787442977000,"timestamp_seconds":1787442977,"priority":1,"record_length":96,"hex_timestamp":"000001a02be758e8"} 
[2026-08-23 05:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 05:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:30:02] 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-08-23 05:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585325056001,"66":25919,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585325056001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:30:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585325056001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":160478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:30:02] local.INFO: GPS data processed {"connection_id":160478,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:30:02] local.INFO: Acknowledgment sent {"connection_id":160478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:30:47] local.INFO: TCP Data received {"connection_id":162855,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:30:47] local.INFO: Processing buffer {"connection_id":162855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:30:47] local.INFO: IMEI packet received {"connection_id":162855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":162855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:30:52] local.INFO: TCP Data received {"connection_id":162855,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:30:52] local.INFO: Processing buffer {"connection_id":162855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:30:52] local.INFO: IMEI packet received {"connection_id":162855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":162855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:30:53] local.INFO: TCP Data received {"connection_id":162855,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:30:53] local.INFO: Processing buffer {"connection_id":162855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:30:53] local.INFO: Packet analysis {"connection_id":162855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02be7"} 
[2026-08-23 05:30:53] local.INFO: Extracted packet for processing {"connection_id":162855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02be7"} 
[2026-08-23 05:30:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585325056001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:30:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787442977000,"timestamp_ms":1787442977000,"timestamp_seconds":1787442977,"priority":1,"record_length":96,"hex_timestamp":"000001a02be758e8"} 
[2026-08-23 05:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 05:30:53] 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-08-23 05: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-08-23 05:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:30:53] 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-08-23 05:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585325056001,"66":25919,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585325056001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:30:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585325056001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":162855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:30:53] local.INFO: GPS data processed {"connection_id":162855,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:30:53] local.INFO: Acknowledgment sent {"connection_id":162855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:31:25] local.INFO: TCP Data received {"connection_id":162855,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:31:25] local.INFO: Processing buffer {"connection_id":162855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:31:25] local.INFO: Packet analysis {"connection_id":162855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02be7"} 
[2026-08-23 05:31:25] local.INFO: Extracted packet for processing {"connection_id":162855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02be7"} 
[2026-08-23 05:31:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585325056001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:31:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787442977000,"timestamp_ms":1787442977000,"timestamp_seconds":1787442977,"priority":1,"record_length":96,"hex_timestamp":"000001a02be758e8"} 
[2026-08-23 05:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 05:31:25] 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-08-23 05:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:31:25] 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-08-23 05:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585325056001,"66":25919,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585325056001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:31:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585325056001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":162855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:31:25] local.INFO: GPS data processed {"connection_id":162855,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:31:25] local.INFO: Acknowledgment sent {"connection_id":162855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:31:48] local.INFO: TCP Data received {"connection_id":160479,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:31:48] local.INFO: Processing buffer {"connection_id":160479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:31:48] local.INFO: IMEI packet received {"connection_id":160479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":160479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:31:52] local.INFO: TCP Data received {"connection_id":160479,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:31:52] local.INFO: Processing buffer {"connection_id":160479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:31:52] local.INFO: IMEI packet received {"connection_id":160479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":160479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:31:53] local.INFO: TCP Data received {"connection_id":160479,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:31:53] local.INFO: Processing buffer {"connection_id":160479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02be758e8012d34c54006aa44380006012225..."} 
[2026-08-23 05:31:53] local.INFO: Packet analysis {"connection_id":160479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02be7"} 
[2026-08-23 05:31:53] local.INFO: Extracted packet for processing {"connection_id":160479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02be7"} 
[2026-08-23 05:31:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585325056001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:31:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787442977000,"timestamp_ms":1787442977000,"timestamp_seconds":1787442977,"priority":1,"record_length":96,"hex_timestamp":"000001a02be758e8"} 
[2026-08-23 05:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 05:31:53] 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-08-23 05:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:31:53] 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-08-23 05:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585325056001,"66":25919,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585325056001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:31:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585325056001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":160479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:31:53] local.INFO: GPS data processed {"connection_id":160479,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:31:53] local.INFO: Acknowledgment sent {"connection_id":160479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:32:25] local.INFO: TCP Data received {"connection_id":160479,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:32:25] local.INFO: Processing buffer {"connection_id":160479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:32:25] local.INFO: Packet analysis {"connection_id":160479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02beb"} 
[2026-08-23 05:32:25] local.INFO: Extracted packet for processing {"connection_id":160479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02beb"} 
[2026-08-23 05:32:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585402112001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:32:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787443278000,"timestamp_ms":1787443278000,"timestamp_seconds":1787443278,"priority":1,"record_length":96,"hex_timestamp":"000001a02bebf0b0"} 
[2026-08-23 05:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 05:32:25] 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-08-23 05:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:32:25] 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-08-23 05:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585402112001,"66":25919,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585402112001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:32:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585402112001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":160479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:32:25] local.INFO: GPS data processed {"connection_id":160479,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:32:25] local.INFO: Acknowledgment sent {"connection_id":160479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:32:47] local.INFO: TCP Data received {"connection_id":161442,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:32:47] local.INFO: Processing buffer {"connection_id":161442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:32:47] local.INFO: IMEI packet received {"connection_id":161442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":161442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:32:52] local.INFO: TCP Data received {"connection_id":161442,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:32:52] local.INFO: Processing buffer {"connection_id":161442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:32:52] local.INFO: IMEI packet received {"connection_id":161442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":161442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:32:53] local.INFO: TCP Data received {"connection_id":161442,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:32:53] local.INFO: Processing buffer {"connection_id":161442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:32:53] local.INFO: Packet analysis {"connection_id":161442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02beb"} 
[2026-08-23 05:32:53] local.INFO: Extracted packet for processing {"connection_id":161442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02beb"} 
[2026-08-23 05:32:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585402112001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:32:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787443278000,"timestamp_ms":1787443278000,"timestamp_seconds":1787443278,"priority":1,"record_length":96,"hex_timestamp":"000001a02bebf0b0"} 
[2026-08-23 05:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 05:32:53] 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-08-23 05: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-08-23 05:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:32:53] 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-08-23 05:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585402112001,"66":25919,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585402112001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:32:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585402112001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":161442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:32:53] local.INFO: GPS data processed {"connection_id":161442,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:32:53] local.INFO: Acknowledgment sent {"connection_id":161442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:33:24] local.INFO: TCP Data received {"connection_id":161442,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:33:24] local.INFO: Processing buffer {"connection_id":161442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:33:24] local.INFO: Packet analysis {"connection_id":161442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02beb"} 
[2026-08-23 05:33:24] local.INFO: Extracted packet for processing {"connection_id":161442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02beb"} 
[2026-08-23 05:33:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585402112001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:33:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787443278000,"timestamp_ms":1787443278000,"timestamp_seconds":1787443278,"priority":1,"record_length":96,"hex_timestamp":"000001a02bebf0b0"} 
[2026-08-23 05:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:33: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-08-23 05:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 05:33:24] 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-08-23 05:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:33:24] 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-08-23 05:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585402112001,"66":25919,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585402112001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:33:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585402112001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":161442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:33:24] local.INFO: GPS data processed {"connection_id":161442,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:33:24] local.INFO: Acknowledgment sent {"connection_id":161442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:33:52] local.INFO: TCP Data received {"connection_id":160277,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:33:52] local.INFO: Processing buffer {"connection_id":160277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:33:52] local.INFO: IMEI packet received {"connection_id":160277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":160277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:33:57] local.INFO: TCP Data received {"connection_id":160277,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:33:57] local.INFO: Processing buffer {"connection_id":160277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:33:57] local.INFO: IMEI packet received {"connection_id":160277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":160277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:33:58] local.INFO: TCP Data received {"connection_id":160277,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:33:58] local.INFO: Processing buffer {"connection_id":160277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:33:58] local.INFO: Packet analysis {"connection_id":160277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02beb"} 
[2026-08-23 05:33:58] local.INFO: Extracted packet for processing {"connection_id":160277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02beb"} 
[2026-08-23 05:33:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585402112001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:33:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787443278000,"timestamp_ms":1787443278000,"timestamp_seconds":1787443278,"priority":1,"record_length":96,"hex_timestamp":"000001a02bebf0b0"} 
[2026-08-23 05:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 05:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:33:58] 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-08-23 05:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585402112001,"66":25919,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585402112001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:33:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585402112001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":160277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:33:58] local.INFO: GPS data processed {"connection_id":160277,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:33:58] local.INFO: Acknowledgment sent {"connection_id":160277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:34:02] local.INFO: TCP Data received {"connection_id":160277,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:34:02] local.INFO: Processing buffer {"connection_id":160277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:34:02] local.INFO: Packet analysis {"connection_id":160277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02beb"} 
[2026-08-23 05:34:02] local.INFO: Extracted packet for processing {"connection_id":160277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02beb"} 
[2026-08-23 05:34:02] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585402112001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:34:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787443278000,"timestamp_ms":1787443278000,"timestamp_seconds":1787443278,"priority":1,"record_length":96,"hex_timestamp":"000001a02bebf0b0"} 
[2026-08-23 05:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 05:34:02] 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-08-23 05:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:34:02] 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-08-23 05:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585402112001,"66":25919,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585402112001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:34:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585402112001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":160277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:34:02] local.INFO: GPS data processed {"connection_id":160277,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:34:02] local.INFO: Acknowledgment sent {"connection_id":160277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:34:47] local.INFO: TCP Data received {"connection_id":162856,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:34:47] local.INFO: Processing buffer {"connection_id":162856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:34:47] local.INFO: IMEI packet received {"connection_id":162856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":162856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:34:52] local.INFO: TCP Data received {"connection_id":162856,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:34:52] local.INFO: Processing buffer {"connection_id":162856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:34:52] local.INFO: IMEI packet received {"connection_id":162856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":162856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:34:53] local.INFO: TCP Data received {"connection_id":162856,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:34:53] local.INFO: Processing buffer {"connection_id":162856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:34:53] local.INFO: Packet analysis {"connection_id":162856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02beb"} 
[2026-08-23 05:34:53] local.INFO: Extracted packet for processing {"connection_id":162856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02beb"} 
[2026-08-23 05:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:34: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-08-23 05:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585402112001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:34:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787443278000,"timestamp_ms":1787443278000,"timestamp_seconds":1787443278,"priority":1,"record_length":96,"hex_timestamp":"000001a02bebf0b0"} 
[2026-08-23 05:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:34: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 05:34:53] 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-08-23 05:34: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-08-23 05:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:34:53] 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-08-23 05:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585402112001,"66":25919,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585402112001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:34:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585402112001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":162856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:34:53] local.INFO: GPS data processed {"connection_id":162856,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:34:53] local.INFO: Acknowledgment sent {"connection_id":162856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:35:25] local.INFO: TCP Data received {"connection_id":162856,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:35:25] local.INFO: Processing buffer {"connection_id":162856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:35:25] local.INFO: Packet analysis {"connection_id":162856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02beb"} 
[2026-08-23 05:35:25] local.INFO: Extracted packet for processing {"connection_id":162856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02beb"} 
[2026-08-23 05:35:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585402112001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:35:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787443278000,"timestamp_ms":1787443278000,"timestamp_seconds":1787443278,"priority":1,"record_length":96,"hex_timestamp":"000001a02bebf0b0"} 
[2026-08-23 05:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 05:35:25] 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-08-23 05: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-08-23 05:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:35:25] 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-08-23 05:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585402112001,"66":25919,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585402112001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:35:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585402112001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":162856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:35:25] local.INFO: GPS data processed {"connection_id":162856,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:35:25] local.INFO: Acknowledgment sent {"connection_id":162856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:35:49] local.INFO: TCP Data received {"connection_id":161443,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:35:49] local.INFO: Processing buffer {"connection_id":161443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:35:49] local.INFO: IMEI packet received {"connection_id":161443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":161443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:35:52] local.INFO: TCP Data received {"connection_id":161443,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:35:52] local.INFO: Processing buffer {"connection_id":161443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:35:52] local.INFO: IMEI packet received {"connection_id":161443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":161443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:35:53] local.INFO: TCP Data received {"connection_id":161443,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:35:53] local.INFO: Processing buffer {"connection_id":161443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:35:53] local.INFO: Packet analysis {"connection_id":161443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02beb"} 
[2026-08-23 05:35:53] local.INFO: Extracted packet for processing {"connection_id":161443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02beb"} 
[2026-08-23 05:35:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585402112001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:35:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787443278000,"timestamp_ms":1787443278000,"timestamp_seconds":1787443278,"priority":1,"record_length":96,"hex_timestamp":"000001a02bebf0b0"} 
[2026-08-23 05:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 05:35:53] 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-08-23 05:35: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-08-23 05:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:35:53] 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-08-23 05:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585402112001,"66":25919,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585402112001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:35:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585402112001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":161443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:35:53] local.INFO: GPS data processed {"connection_id":161443,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:35:53] local.INFO: Acknowledgment sent {"connection_id":161443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:35:57] local.INFO: TCP Data received {"connection_id":161443,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:35:57] local.INFO: Processing buffer {"connection_id":161443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:35:57] local.INFO: Packet analysis {"connection_id":161443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02beb"} 
[2026-08-23 05:35:57] local.INFO: Extracted packet for processing {"connection_id":161443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02beb"} 
[2026-08-23 05:35:57] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585402112001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:35:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787443278000,"timestamp_ms":1787443278000,"timestamp_seconds":1787443278,"priority":1,"record_length":96,"hex_timestamp":"000001a02bebf0b0"} 
[2026-08-23 05:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 05:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:35:57] 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-08-23 05:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585402112001,"66":25919,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585402112001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:35:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585402112001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":161443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:35:57] local.INFO: GPS data processed {"connection_id":161443,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:35:57] local.INFO: Acknowledgment sent {"connection_id":161443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:36:29] local.INFO: TCP Data received {"connection_id":161443,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:36:29] local.INFO: Processing buffer {"connection_id":161443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:36:29] local.INFO: Packet analysis {"connection_id":161443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02beb"} 
[2026-08-23 05:36:29] local.INFO: Extracted packet for processing {"connection_id":161443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02beb"} 
[2026-08-23 05:36:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585402112001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:36:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787443278000,"timestamp_ms":1787443278000,"timestamp_seconds":1787443278,"priority":1,"record_length":96,"hex_timestamp":"000001a02bebf0b0"} 
[2026-08-23 05:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 05:36:29] 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-08-23 05: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-08-23 05:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:36:29] 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-08-23 05:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585402112001,"66":25919,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585402112001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:36:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585402112001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":161443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:36:29] local.INFO: GPS data processed {"connection_id":161443,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:36:29] local.INFO: Acknowledgment sent {"connection_id":161443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:36:47] local.INFO: TCP Data received {"connection_id":160278,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:36:47] local.INFO: Processing buffer {"connection_id":160278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:36:47] local.INFO: IMEI packet received {"connection_id":160278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":160278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:36:52] local.INFO: TCP Data received {"connection_id":160278,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:36:52] local.INFO: Processing buffer {"connection_id":160278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:36:52] local.INFO: IMEI packet received {"connection_id":160278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":160278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:36:53] local.INFO: TCP Data received {"connection_id":160278,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:36:53] local.INFO: Processing buffer {"connection_id":160278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bebf0b0012d34c54006aa44380006012226..."} 
[2026-08-23 05:36:53] local.INFO: Packet analysis {"connection_id":160278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02beb"} 
[2026-08-23 05:36:53] local.INFO: Extracted packet for processing {"connection_id":160278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02beb"} 
[2026-08-23 05:36:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585402112001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:36:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787443278000,"timestamp_ms":1787443278000,"timestamp_seconds":1787443278,"priority":1,"record_length":96,"hex_timestamp":"000001a02bebf0b0"} 
[2026-08-23 05:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 05:36:53] 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-08-23 05:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:36:53] 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-08-23 05:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585402112001,"66":25919,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585402112001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:36:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585402112001,"power":25919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":160278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:36:53] local.INFO: GPS data processed {"connection_id":160278,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:36:53] local.INFO: Acknowledgment sent {"connection_id":160278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:37:24] local.INFO: TCP Data received {"connection_id":160278,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:37:24] local.INFO: Processing buffer {"connection_id":160278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:37:24] local.INFO: Packet analysis {"connection_id":160278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf0"} 
[2026-08-23 05:37:24] local.INFO: Extracted packet for processing {"connection_id":160278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf0"} 
[2026-08-23 05:37:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585479168001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:37:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787443579000,"timestamp_ms":1787443579000,"timestamp_seconds":1787443579,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf08878"} 
[2026-08-23 05:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:37: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-08-23 05:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 05:37:24] 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-08-23 05:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:37:24] 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-08-23 05:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585479168001,"66":25875,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585479168001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:37:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585479168001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":160278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:37:24] local.INFO: GPS data processed {"connection_id":160278,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:37:24] local.INFO: Acknowledgment sent {"connection_id":160278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:37:47] local.INFO: TCP Data received {"connection_id":162857,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:37:47] local.INFO: Processing buffer {"connection_id":162857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:37:47] local.INFO: IMEI packet received {"connection_id":162857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":162857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:37:52] local.INFO: TCP Data received {"connection_id":162857,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:37:52] local.INFO: Processing buffer {"connection_id":162857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:37:52] local.INFO: IMEI packet received {"connection_id":162857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":162857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:37:53] local.INFO: TCP Data received {"connection_id":162857,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:37:53] local.INFO: Processing buffer {"connection_id":162857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:37:53] local.INFO: Packet analysis {"connection_id":162857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf0"} 
[2026-08-23 05:37:53] local.INFO: Extracted packet for processing {"connection_id":162857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf0"} 
[2026-08-23 05:37:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585479168001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:37:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787443579000,"timestamp_ms":1787443579000,"timestamp_seconds":1787443579,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf08878"} 
[2026-08-23 05:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 05:37:53] 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-08-23 05: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-08-23 05:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:37:53] 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-08-23 05:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585479168001,"66":25875,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585479168001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:37:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585479168001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":162857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:37:53] local.INFO: GPS data processed {"connection_id":162857,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:37:53] local.INFO: Acknowledgment sent {"connection_id":162857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:38:25] local.INFO: TCP Data received {"connection_id":162857,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:38:25] local.INFO: Processing buffer {"connection_id":162857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:38:25] local.INFO: Packet analysis {"connection_id":162857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf0"} 
[2026-08-23 05:38:25] local.INFO: Extracted packet for processing {"connection_id":162857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf0"} 
[2026-08-23 05:38:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585479168001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:38:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787443579000,"timestamp_ms":1787443579000,"timestamp_seconds":1787443579,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf08878"} 
[2026-08-23 05:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 05:38:25] 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-08-23 05: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-08-23 05:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:38:25] 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-08-23 05:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585479168001,"66":25875,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585479168001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:38:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585479168001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":162857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:38:25] local.INFO: GPS data processed {"connection_id":162857,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:38:25] local.INFO: Acknowledgment sent {"connection_id":162857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:38:52] local.INFO: TCP Data received {"connection_id":160480,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:38:52] local.INFO: Processing buffer {"connection_id":160480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:38:52] local.INFO: IMEI packet received {"connection_id":160480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":160480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:38:57] local.INFO: TCP Data received {"connection_id":160480,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:38:57] local.INFO: Processing buffer {"connection_id":160480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:38:57] local.INFO: IMEI packet received {"connection_id":160480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":160480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:38:58] local.INFO: TCP Data received {"connection_id":160480,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:38:58] local.INFO: Processing buffer {"connection_id":160480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:38:58] local.INFO: Packet analysis {"connection_id":160480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf0"} 
[2026-08-23 05:38:58] local.INFO: Extracted packet for processing {"connection_id":160480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf0"} 
[2026-08-23 05:38:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585479168001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:38:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787443579000,"timestamp_ms":1787443579000,"timestamp_seconds":1787443579,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf08878"} 
[2026-08-23 05:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:38: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-08-23 05:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 05:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:38:58] 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-08-23 05:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585479168001,"66":25875,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585479168001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:38:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585479168001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":160480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:38:58] local.INFO: GPS data processed {"connection_id":160480,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:38:58] local.INFO: Acknowledgment sent {"connection_id":160480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:39:02] local.INFO: TCP Data received {"connection_id":160480,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:39:02] local.INFO: Processing buffer {"connection_id":160480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:39:02] local.INFO: Packet analysis {"connection_id":160480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf0"} 
[2026-08-23 05:39:02] local.INFO: Extracted packet for processing {"connection_id":160480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf0"} 
[2026-08-23 05:39:02] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585479168001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:39:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787443579000,"timestamp_ms":1787443579000,"timestamp_seconds":1787443579,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf08878"} 
[2026-08-23 05:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 05:39:02] 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-08-23 05:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:39:02] 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-08-23 05:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585479168001,"66":25875,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585479168001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:39:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585479168001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":160480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:39:02] local.INFO: GPS data processed {"connection_id":160480,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:39:02] local.INFO: Acknowledgment sent {"connection_id":160480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:39:47] local.INFO: TCP Data received {"connection_id":161444,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:39:47] local.INFO: Processing buffer {"connection_id":161444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:39:47] local.INFO: IMEI packet received {"connection_id":161444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":161444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:39:52] local.INFO: TCP Data received {"connection_id":161444,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:39:52] local.INFO: Processing buffer {"connection_id":161444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:39:52] local.INFO: IMEI packet received {"connection_id":161444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":161444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:39:53] local.INFO: TCP Data received {"connection_id":161444,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:39:53] local.INFO: Processing buffer {"connection_id":161444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:39:53] local.INFO: Packet analysis {"connection_id":161444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf0"} 
[2026-08-23 05:39:53] local.INFO: Extracted packet for processing {"connection_id":161444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf0"} 
[2026-08-23 05:39:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585479168001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:39:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787443579000,"timestamp_ms":1787443579000,"timestamp_seconds":1787443579,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf08878"} 
[2026-08-23 05:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 05:39:53] 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-08-23 05:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:39:53] 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-08-23 05:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585479168001,"66":25875,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585479168001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:39:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585479168001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":161444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:39:53] local.INFO: GPS data processed {"connection_id":161444,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:39:53] local.INFO: Acknowledgment sent {"connection_id":161444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:40:25] local.INFO: TCP Data received {"connection_id":161444,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:40:25] local.INFO: Processing buffer {"connection_id":161444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:40:25] local.INFO: Packet analysis {"connection_id":161444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf0"} 
[2026-08-23 05:40:25] local.INFO: Extracted packet for processing {"connection_id":161444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf0"} 
[2026-08-23 05:40:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585479168001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:40:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787443579000,"timestamp_ms":1787443579000,"timestamp_seconds":1787443579,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf08878"} 
[2026-08-23 05:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 05:40:25] 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-08-23 05:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:40:25] 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-08-23 05:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585479168001,"66":25875,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585479168001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:40:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585479168001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":161444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:40:25] local.INFO: GPS data processed {"connection_id":161444,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:40:25] local.INFO: Acknowledgment sent {"connection_id":161444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:40:48] local.INFO: TCP Data received {"connection_id":161445,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:40:48] local.INFO: Processing buffer {"connection_id":161445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:40:48] local.INFO: IMEI packet received {"connection_id":161445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":161445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:40:52] local.INFO: TCP Data received {"connection_id":161445,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:40:52] local.INFO: Processing buffer {"connection_id":161445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:40:52] local.INFO: IMEI packet received {"connection_id":161445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":161445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:40:53] local.INFO: TCP Data received {"connection_id":161445,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:40:53] local.INFO: Processing buffer {"connection_id":161445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:40:53] local.INFO: Packet analysis {"connection_id":161445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf0"} 
[2026-08-23 05:40:53] local.INFO: Extracted packet for processing {"connection_id":161445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf0"} 
[2026-08-23 05:40:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585479168001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:40:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787443579000,"timestamp_ms":1787443579000,"timestamp_seconds":1787443579,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf08878"} 
[2026-08-23 05:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 05:40:53] 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-08-23 05:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:40:53] 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-08-23 05:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585479168001,"66":25875,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585479168001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:40:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585479168001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":161445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:40:53] local.INFO: GPS data processed {"connection_id":161445,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:40:53] local.INFO: Acknowledgment sent {"connection_id":161445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:41:25] local.INFO: TCP Data received {"connection_id":161445,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:41:25] local.INFO: Processing buffer {"connection_id":161445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:41:25] local.INFO: Packet analysis {"connection_id":161445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf0"} 
[2026-08-23 05:41:25] local.INFO: Extracted packet for processing {"connection_id":161445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf0"} 
[2026-08-23 05:41:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585479168001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:41:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787443579000,"timestamp_ms":1787443579000,"timestamp_seconds":1787443579,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf08878"} 
[2026-08-23 05:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 05:41:25] 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-08-23 05: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-08-23 05:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:41:25] 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-08-23 05:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585479168001,"66":25875,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585479168001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:41:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585479168001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":161445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:41:25] local.INFO: GPS data processed {"connection_id":161445,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:41:25] local.INFO: Acknowledgment sent {"connection_id":161445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:41:47] local.INFO: TCP Data received {"connection_id":162858,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:41:47] local.INFO: Processing buffer {"connection_id":162858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:41:47] local.INFO: IMEI packet received {"connection_id":162858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":162858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:41:52] local.INFO: TCP Data received {"connection_id":162858,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:41:52] local.INFO: Processing buffer {"connection_id":162858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:41:52] local.INFO: IMEI packet received {"connection_id":162858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":162858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:41:54] local.INFO: TCP Data received {"connection_id":162858,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:41:54] local.INFO: Processing buffer {"connection_id":162858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf08878012d34c54006aa44380006012226..."} 
[2026-08-23 05:41:54] local.INFO: Packet analysis {"connection_id":162858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf0"} 
[2026-08-23 05:41:54] local.INFO: Extracted packet for processing {"connection_id":162858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf0"} 
[2026-08-23 05:41:54] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585479168001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:41:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787443579000,"timestamp_ms":1787443579000,"timestamp_seconds":1787443579,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf08878"} 
[2026-08-23 05:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:41: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-08-23 05:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 05:41:54] 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-08-23 05:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:41:54] 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-08-23 05:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585479168001,"66":25875,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585479168001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:41:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585479168001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":162858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:41:54] local.INFO: GPS data processed {"connection_id":162858,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:41:54] local.INFO: Acknowledgment sent {"connection_id":162858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:42:26] local.INFO: TCP Data received {"connection_id":162858,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:42:26] local.INFO: Processing buffer {"connection_id":162858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:42:26] local.INFO: Packet analysis {"connection_id":162858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf5"} 
[2026-08-23 05:42:26] local.INFO: Extracted packet for processing {"connection_id":162858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf5"} 
[2026-08-23 05:42:26] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585556224001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:42:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787443880000,"timestamp_ms":1787443880000,"timestamp_seconds":1787443880,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf52040"} 
[2026-08-23 05:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 05:42:26] 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-08-23 05: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-08-23 05:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:42:26] 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-08-23 05:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585556224001,"66":25843,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585556224001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:42:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585556224001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":162858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:42:26] local.INFO: GPS data processed {"connection_id":162858,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:42:26] local.INFO: Acknowledgment sent {"connection_id":162858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:42:52] local.INFO: TCP Data received {"connection_id":160279,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:42:52] local.INFO: Processing buffer {"connection_id":160279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:42:52] local.INFO: IMEI packet received {"connection_id":160279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":160279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:42:57] local.INFO: TCP Data received {"connection_id":160279,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:42:57] local.INFO: Processing buffer {"connection_id":160279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:42:57] local.INFO: IMEI packet received {"connection_id":160279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":160279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:42:58] local.INFO: TCP Data received {"connection_id":160279,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:42:58] local.INFO: Processing buffer {"connection_id":160279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:42:58] local.INFO: Packet analysis {"connection_id":160279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf5"} 
[2026-08-23 05:42:58] local.INFO: Extracted packet for processing {"connection_id":160279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf5"} 
[2026-08-23 05:42:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585556224001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:42:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787443880000,"timestamp_ms":1787443880000,"timestamp_seconds":1787443880,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf52040"} 
[2026-08-23 05:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:42: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-08-23 05:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 05:42: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-08-23 05:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:42:58] 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-08-23 05:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585556224001,"66":25843,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585556224001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:42:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585556224001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":160279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:42:58] local.INFO: GPS data processed {"connection_id":160279,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:42:58] local.INFO: Acknowledgment sent {"connection_id":160279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:43:02] local.INFO: TCP Data received {"connection_id":160279,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:43:02] local.INFO: Processing buffer {"connection_id":160279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:43:02] local.INFO: Packet analysis {"connection_id":160279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf5"} 
[2026-08-23 05:43:02] local.INFO: Extracted packet for processing {"connection_id":160279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf5"} 
[2026-08-23 05:43:02] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585556224001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:43:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787443880000,"timestamp_ms":1787443880000,"timestamp_seconds":1787443880,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf52040"} 
[2026-08-23 05:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 05:43:02] 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-08-23 05:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:43:02] 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-08-23 05:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585556224001,"66":25843,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585556224001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:43:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585556224001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":160279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:43:02] local.INFO: GPS data processed {"connection_id":160279,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:43:02] local.INFO: Acknowledgment sent {"connection_id":160279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:43:47] local.INFO: TCP Data received {"connection_id":160481,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:43:47] local.INFO: Processing buffer {"connection_id":160481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:43:47] local.INFO: IMEI packet received {"connection_id":160481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":160481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:43:52] local.INFO: TCP Data received {"connection_id":160481,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:43:52] local.INFO: Processing buffer {"connection_id":160481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:43:52] local.INFO: IMEI packet received {"connection_id":160481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":160481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:43:53] local.INFO: TCP Data received {"connection_id":160481,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:43:53] local.INFO: Processing buffer {"connection_id":160481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:43:53] local.INFO: Packet analysis {"connection_id":160481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf5"} 
[2026-08-23 05:43:53] local.INFO: Extracted packet for processing {"connection_id":160481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf5"} 
[2026-08-23 05:43:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585556224001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:43:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787443880000,"timestamp_ms":1787443880000,"timestamp_seconds":1787443880,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf52040"} 
[2026-08-23 05:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 05:43:53] 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-08-23 05:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585556224001,"66":25843,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585556224001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:43:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585556224001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":160481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:43:53] local.INFO: GPS data processed {"connection_id":160481,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:43:53] local.INFO: Acknowledgment sent {"connection_id":160481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:44:25] local.INFO: TCP Data received {"connection_id":160481,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:44:25] local.INFO: Processing buffer {"connection_id":160481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:44:25] local.INFO: Packet analysis {"connection_id":160481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf5"} 
[2026-08-23 05:44:25] local.INFO: Extracted packet for processing {"connection_id":160481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf5"} 
[2026-08-23 05:44:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585556224001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:44:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787443880000,"timestamp_ms":1787443880000,"timestamp_seconds":1787443880,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf52040"} 
[2026-08-23 05:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 05:44:25] 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-08-23 05: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-08-23 05:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585556224001,"66":25843,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585556224001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:44:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585556224001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":160481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:44:25] local.INFO: GPS data processed {"connection_id":160481,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:44:25] local.INFO: Acknowledgment sent {"connection_id":160481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:44:47] local.INFO: TCP Data received {"connection_id":162859,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:44:47] local.INFO: Processing buffer {"connection_id":162859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:44:47] local.INFO: IMEI packet received {"connection_id":162859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":162859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:44:52] local.INFO: TCP Data received {"connection_id":162859,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:44:52] local.INFO: Processing buffer {"connection_id":162859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:44:52] local.INFO: IMEI packet received {"connection_id":162859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":162859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:44:53] local.INFO: TCP Data received {"connection_id":162859,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:44:53] local.INFO: Processing buffer {"connection_id":162859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:44:53] local.INFO: Packet analysis {"connection_id":162859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf5"} 
[2026-08-23 05:44:53] local.INFO: Extracted packet for processing {"connection_id":162859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf5"} 
[2026-08-23 05:44:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:44: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-08-23 05:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585556224001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:44:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787443880000,"timestamp_ms":1787443880000,"timestamp_seconds":1787443880,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf52040"} 
[2026-08-23 05:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:44: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 05:44:53] 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-08-23 05:44: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-08-23 05:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585556224001,"66":25843,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585556224001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:44:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585556224001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":162859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:44:53] local.INFO: GPS data processed {"connection_id":162859,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:44:53] local.INFO: Acknowledgment sent {"connection_id":162859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:45:24] local.INFO: TCP Data received {"connection_id":162859,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:45:24] local.INFO: Processing buffer {"connection_id":162859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:45:24] local.INFO: Packet analysis {"connection_id":162859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf5"} 
[2026-08-23 05:45:24] local.INFO: Extracted packet for processing {"connection_id":162859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf5"} 
[2026-08-23 05:45:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585556224001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:45:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787443880000,"timestamp_ms":1787443880000,"timestamp_seconds":1787443880,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf52040"} 
[2026-08-23 05:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 05:45:24] 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-08-23 05:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585556224001,"66":25843,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585556224001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:45:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585556224001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":162859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:45:25] local.INFO: GPS data processed {"connection_id":162859,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:45:25] local.INFO: Acknowledgment sent {"connection_id":162859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:45:47] local.INFO: TCP Data received {"connection_id":160482,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:45:47] local.INFO: Processing buffer {"connection_id":160482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:45:47] local.INFO: IMEI packet received {"connection_id":160482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":160482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:45:52] local.INFO: TCP Data received {"connection_id":160482,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:45:52] local.INFO: Processing buffer {"connection_id":160482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:45:52] local.INFO: IMEI packet received {"connection_id":160482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":160482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:45:53] local.INFO: TCP Data received {"connection_id":160482,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:45:53] local.INFO: Processing buffer {"connection_id":160482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:45:53] local.INFO: Packet analysis {"connection_id":160482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf5"} 
[2026-08-23 05:45:53] local.INFO: Extracted packet for processing {"connection_id":160482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf5"} 
[2026-08-23 05:45:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:45: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-08-23 05:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585556224001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:45:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787443880000,"timestamp_ms":1787443880000,"timestamp_seconds":1787443880,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf52040"} 
[2026-08-23 05:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:45: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 05:45:53] 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-08-23 05:45: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-08-23 05:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:45:53] 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-08-23 05:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585556224001,"66":25843,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585556224001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:45:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585556224001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":160482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:45:54] local.INFO: GPS data processed {"connection_id":160482,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:45:54] local.INFO: Acknowledgment sent {"connection_id":160482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:46:25] local.INFO: TCP Data received {"connection_id":160482,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:46:25] local.INFO: Processing buffer {"connection_id":160482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:46:25] local.INFO: Packet analysis {"connection_id":160482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf5"} 
[2026-08-23 05:46:25] local.INFO: Extracted packet for processing {"connection_id":160482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf5"} 
[2026-08-23 05:46:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585556224001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:46:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787443880000,"timestamp_ms":1787443880000,"timestamp_seconds":1787443880,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf52040"} 
[2026-08-23 05:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 05:46:25] 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-08-23 05:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:46:25] 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-08-23 05:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585556224001,"66":25843,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585556224001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:46:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585556224001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":160482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:46:25] local.INFO: GPS data processed {"connection_id":160482,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:46:25] local.INFO: Acknowledgment sent {"connection_id":160482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:46:47] local.INFO: TCP Data received {"connection_id":162860,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:46:47] local.INFO: Processing buffer {"connection_id":162860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:46:47] local.INFO: IMEI packet received {"connection_id":162860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":162860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:46:52] local.INFO: TCP Data received {"connection_id":162860,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:46:52] local.INFO: Processing buffer {"connection_id":162860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:46:52] local.INFO: IMEI packet received {"connection_id":162860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":162860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:46:53] local.INFO: TCP Data received {"connection_id":162860,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:46:53] local.INFO: Processing buffer {"connection_id":162860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf52040012d34c54006aa44380006012228..."} 
[2026-08-23 05:46:53] local.INFO: Packet analysis {"connection_id":162860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf5"} 
[2026-08-23 05:46:53] local.INFO: Extracted packet for processing {"connection_id":162860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf5"} 
[2026-08-23 05:46:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585556224001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:46:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787443880000,"timestamp_ms":1787443880000,"timestamp_seconds":1787443880,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf52040"} 
[2026-08-23 05:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 05:46:53] 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-08-23 05:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585556224001,"66":25843,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585556224001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:46:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585556224001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":162860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:46:53] local.INFO: GPS data processed {"connection_id":162860,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:46:53] local.INFO: Acknowledgment sent {"connection_id":162860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:47:24] local.INFO: TCP Data received {"connection_id":162860,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:47:24] local.INFO: Processing buffer {"connection_id":162860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:47:24] local.INFO: Packet analysis {"connection_id":162860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf9"} 
[2026-08-23 05:47:24] local.INFO: Extracted packet for processing {"connection_id":162860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf9"} 
[2026-08-23 05:47:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585633280001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:47:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787444181000,"timestamp_ms":1787444181000,"timestamp_seconds":1787444181,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf9b808"} 
[2026-08-23 05:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 05:47:24] 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-08-23 05:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585633280001,"66":25875,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585633280001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:47:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585633280001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":162860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:47:24] local.INFO: GPS data processed {"connection_id":162860,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:47:24] local.INFO: Acknowledgment sent {"connection_id":162860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:47:52] local.INFO: TCP Data received {"connection_id":160483,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:47:52] local.INFO: Processing buffer {"connection_id":160483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:47:52] local.INFO: IMEI packet received {"connection_id":160483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":160483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:47:57] local.INFO: TCP Data received {"connection_id":160483,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:47:57] local.INFO: Processing buffer {"connection_id":160483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:47:57] local.INFO: IMEI packet received {"connection_id":160483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":160483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:48:02] local.INFO: TCP Data received {"connection_id":160483,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:48:02] local.INFO: Processing buffer {"connection_id":160483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:48:02] local.INFO: IMEI packet received {"connection_id":160483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":160483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:48:03] local.INFO: TCP Data received {"connection_id":160483,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:48:03] local.INFO: Processing buffer {"connection_id":160483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:48:03] local.INFO: Packet analysis {"connection_id":160483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf9"} 
[2026-08-23 05:48:03] local.INFO: Extracted packet for processing {"connection_id":160483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf9"} 
[2026-08-23 05:48:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585633280001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:48:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787444181000,"timestamp_ms":1787444181000,"timestamp_seconds":1787444181,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf9b808"} 
[2026-08-23 05:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:48: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-08-23 05: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 05:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05: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-08-23 05:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:48:03] 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-08-23 05:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585633280001,"66":25875,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585633280001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:48:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585633280001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":160483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:48:03] local.INFO: GPS data processed {"connection_id":160483,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:48:03] local.INFO: Acknowledgment sent {"connection_id":160483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:48:08] local.INFO: TCP Data received {"connection_id":160483,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:48:08] local.INFO: Processing buffer {"connection_id":160483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:48:08] local.INFO: Packet analysis {"connection_id":160483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf9"} 
[2026-08-23 05:48:08] local.INFO: Extracted packet for processing {"connection_id":160483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf9"} 
[2026-08-23 05:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585633280001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:48:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787444181000,"timestamp_ms":1787444181000,"timestamp_seconds":1787444181,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf9b808"} 
[2026-08-23 05:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:48: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-08-23 05: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 05:48:08] 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-08-23 05: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-08-23 05:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:48: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-08-23 05:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585633280001,"66":25875,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585633280001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585633280001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":160483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:48:08] local.INFO: GPS data processed {"connection_id":160483,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:48:08] local.INFO: Acknowledgment sent {"connection_id":160483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:48:47] local.INFO: TCP Data received {"connection_id":161446,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:48:47] local.INFO: Processing buffer {"connection_id":161446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:48:47] local.INFO: IMEI packet received {"connection_id":161446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":161446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:48:52] local.INFO: TCP Data received {"connection_id":161446,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:48:52] local.INFO: Processing buffer {"connection_id":161446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:48:52] local.INFO: IMEI packet received {"connection_id":161446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":161446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:48:54] local.INFO: TCP Data received {"connection_id":161446,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:48:54] local.INFO: Processing buffer {"connection_id":161446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:48:54] local.INFO: Packet analysis {"connection_id":161446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf9"} 
[2026-08-23 05:48:54] local.INFO: Extracted packet for processing {"connection_id":161446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf9"} 
[2026-08-23 05:48:54] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585633280001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:48:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787444181000,"timestamp_ms":1787444181000,"timestamp_seconds":1787444181,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf9b808"} 
[2026-08-23 05:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 05:48:54] 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-08-23 05: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-08-23 05:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:48:54] 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-08-23 05:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585633280001,"66":25875,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585633280001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:48:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585633280001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":161446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:48:54] local.INFO: GPS data processed {"connection_id":161446,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:48:54] local.INFO: Acknowledgment sent {"connection_id":161446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:49:26] local.INFO: TCP Data received {"connection_id":161446,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:49:26] local.INFO: Processing buffer {"connection_id":161446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:49:26] local.INFO: Packet analysis {"connection_id":161446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf9"} 
[2026-08-23 05:49:26] local.INFO: Extracted packet for processing {"connection_id":161446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf9"} 
[2026-08-23 05:49:26] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585633280001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:49:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787444181000,"timestamp_ms":1787444181000,"timestamp_seconds":1787444181,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf9b808"} 
[2026-08-23 05:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 05:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05: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-08-23 05:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:49:26] 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-08-23 05:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585633280001,"66":25875,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585633280001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:49:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585633280001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":161446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:49:26] local.INFO: GPS data processed {"connection_id":161446,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:49:26] local.INFO: Acknowledgment sent {"connection_id":161446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:49:47] local.INFO: TCP Data received {"connection_id":162861,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:49:47] local.INFO: Processing buffer {"connection_id":162861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:49:47] local.INFO: IMEI packet received {"connection_id":162861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":162861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:49:52] local.INFO: TCP Data received {"connection_id":162861,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:49:52] local.INFO: Processing buffer {"connection_id":162861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:49:52] local.INFO: IMEI packet received {"connection_id":162861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":162861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:49:53] local.INFO: TCP Data received {"connection_id":162861,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:49:53] local.INFO: Processing buffer {"connection_id":162861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:49:53] local.INFO: Packet analysis {"connection_id":162861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf9"} 
[2026-08-23 05:49:53] local.INFO: Extracted packet for processing {"connection_id":162861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf9"} 
[2026-08-23 05:49:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585633280001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:49:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787444181000,"timestamp_ms":1787444181000,"timestamp_seconds":1787444181,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf9b808"} 
[2026-08-23 05:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 05:49:53] 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-08-23 05:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:49:53] 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-08-23 05:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585633280001,"66":25875,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585633280001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:49:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585633280001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":162861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:49:53] local.INFO: GPS data processed {"connection_id":162861,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:49:53] local.INFO: Acknowledgment sent {"connection_id":162861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:50:25] local.INFO: TCP Data received {"connection_id":162861,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:50:25] local.INFO: Processing buffer {"connection_id":162861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:50:25] local.INFO: Packet analysis {"connection_id":162861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf9"} 
[2026-08-23 05:50:25] local.INFO: Extracted packet for processing {"connection_id":162861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf9"} 
[2026-08-23 05:50:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585633280001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:50:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787444181000,"timestamp_ms":1787444181000,"timestamp_seconds":1787444181,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf9b808"} 
[2026-08-23 05:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 05:50:25] 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-08-23 05: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-08-23 05:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:50: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-08-23 05:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585633280001,"66":25875,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585633280001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:50:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585633280001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":162861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:50:25] local.INFO: GPS data processed {"connection_id":162861,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:50:25] local.INFO: Acknowledgment sent {"connection_id":162861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:50:47] local.INFO: TCP Data received {"connection_id":162862,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:50:47] local.INFO: Processing buffer {"connection_id":162862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:50:47] local.INFO: IMEI packet received {"connection_id":162862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":162862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:50:52] local.INFO: TCP Data received {"connection_id":162862,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:50:52] local.INFO: Processing buffer {"connection_id":162862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:50:52] local.INFO: IMEI packet received {"connection_id":162862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":162862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:50:53] local.INFO: TCP Data received {"connection_id":162862,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:50:53] local.INFO: Processing buffer {"connection_id":162862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:50:53] local.INFO: Packet analysis {"connection_id":162862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf9"} 
[2026-08-23 05:50:53] local.INFO: Extracted packet for processing {"connection_id":162862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf9"} 
[2026-08-23 05:50:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585633280001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:50:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787444181000,"timestamp_ms":1787444181000,"timestamp_seconds":1787444181,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf9b808"} 
[2026-08-23 05:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 05:50:53] 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-08-23 05:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585633280001,"66":25875,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585633280001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:50:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585633280001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":162862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:50:53] local.INFO: GPS data processed {"connection_id":162862,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:50:53] local.INFO: Acknowledgment sent {"connection_id":162862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:51:25] local.INFO: TCP Data received {"connection_id":162862,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:51:25] local.INFO: Processing buffer {"connection_id":162862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:51:25] local.INFO: Packet analysis {"connection_id":162862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf9"} 
[2026-08-23 05:51:25] local.INFO: Extracted packet for processing {"connection_id":162862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf9"} 
[2026-08-23 05:51:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585633280001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:51:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787444181000,"timestamp_ms":1787444181000,"timestamp_seconds":1787444181,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf9b808"} 
[2026-08-23 05:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 05:51:25] 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-08-23 05:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585633280001,"66":25875,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585633280001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:51:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585633280001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":162862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:51:25] local.INFO: GPS data processed {"connection_id":162862,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:51:25] local.INFO: Acknowledgment sent {"connection_id":162862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:51:47] local.INFO: TCP Data received {"connection_id":160484,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:51:47] local.INFO: Processing buffer {"connection_id":160484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:51:47] local.INFO: IMEI packet received {"connection_id":160484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":160484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:51:52] local.INFO: TCP Data received {"connection_id":160484,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:51:52] local.INFO: Processing buffer {"connection_id":160484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:51:52] local.INFO: IMEI packet received {"connection_id":160484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":160484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:51:53] local.INFO: TCP Data received {"connection_id":160484,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:51:53] local.INFO: Processing buffer {"connection_id":160484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bf9b808012d34c54006aa44380006012222..."} 
[2026-08-23 05:51:53] local.INFO: Packet analysis {"connection_id":160484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bf9"} 
[2026-08-23 05:51:53] local.INFO: Extracted packet for processing {"connection_id":160484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bf9"} 
[2026-08-23 05:51:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":34,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585633280001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:51:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787444181000,"timestamp_ms":1787444181000,"timestamp_seconds":1787444181,"priority":1,"record_length":96,"hex_timestamp":"000001a02bf9b808"} 
[2026-08-23 05:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 05:51:53] 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-08-23 05: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-08-23 05:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585633280001,"66":25875,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585633280001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:51:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585633280001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":160484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:51:53] local.INFO: GPS data processed {"connection_id":160484,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:51:53] local.INFO: Acknowledgment sent {"connection_id":160484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:52:25] local.INFO: TCP Data received {"connection_id":160484,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:52:25] local.INFO: Processing buffer {"connection_id":160484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:52:25] local.INFO: Packet analysis {"connection_id":160484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bfe"} 
[2026-08-23 05:52:25] local.INFO: Extracted packet for processing {"connection_id":160484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bfe"} 
[2026-08-23 05:52:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585710336001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:52:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787444482000,"timestamp_ms":1787444482000,"timestamp_seconds":1787444482,"priority":1,"record_length":96,"hex_timestamp":"000001a02bfe4fd0"} 
[2026-08-23 05:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 05:52:25] 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-08-23 05: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-08-23 05:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585710336001,"66":25843,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585710336001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:52:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585710336001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":160484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:52:25] local.INFO: GPS data processed {"connection_id":160484,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:52:25] local.INFO: Acknowledgment sent {"connection_id":160484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:52:52] local.INFO: TCP Data received {"connection_id":160280,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:52:52] local.INFO: Processing buffer {"connection_id":160280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:52:52] local.INFO: IMEI packet received {"connection_id":160280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":160280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:52:57] local.INFO: TCP Data received {"connection_id":160280,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:52:57] local.INFO: Processing buffer {"connection_id":160280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:52:57] local.INFO: IMEI packet received {"connection_id":160280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":160280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:52:58] local.INFO: TCP Data received {"connection_id":160280,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:52:58] local.INFO: Processing buffer {"connection_id":160280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:52:58] local.INFO: Packet analysis {"connection_id":160280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bfe"} 
[2026-08-23 05:52:58] local.INFO: Extracted packet for processing {"connection_id":160280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bfe"} 
[2026-08-23 05:52:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585710336001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:52:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787444482000,"timestamp_ms":1787444482000,"timestamp_seconds":1787444482,"priority":1,"record_length":96,"hex_timestamp":"000001a02bfe4fd0"} 
[2026-08-23 05:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:52: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-08-23 05:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 05:52: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-08-23 05:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:52: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-08-23 05:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585710336001,"66":25843,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585710336001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:52:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585710336001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":160280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:52:58] local.INFO: GPS data processed {"connection_id":160280,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:52:58] local.INFO: Acknowledgment sent {"connection_id":160280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:53:03] local.INFO: TCP Data received {"connection_id":160280,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:53:03] local.INFO: Processing buffer {"connection_id":160280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:53:03] local.INFO: Packet analysis {"connection_id":160280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bfe"} 
[2026-08-23 05:53:03] local.INFO: Extracted packet for processing {"connection_id":160280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bfe"} 
[2026-08-23 05:53:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585710336001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:53:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787444482000,"timestamp_ms":1787444482000,"timestamp_seconds":1787444482,"priority":1,"record_length":96,"hex_timestamp":"000001a02bfe4fd0"} 
[2026-08-23 05:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:53: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-08-23 05:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 05:53:03] 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-08-23 05:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:53:03] 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-08-23 05:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585710336001,"66":25843,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585710336001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:53:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585710336001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":160280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:53:03] local.INFO: GPS data processed {"connection_id":160280,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:53:03] local.INFO: Acknowledgment sent {"connection_id":160280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:53:47] local.INFO: TCP Data received {"connection_id":160485,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:53:47] local.INFO: Processing buffer {"connection_id":160485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:53:47] local.INFO: IMEI packet received {"connection_id":160485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":160485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:53:52] local.INFO: TCP Data received {"connection_id":160485,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:53:52] local.INFO: Processing buffer {"connection_id":160485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:53:52] local.INFO: IMEI packet received {"connection_id":160485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":160485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:53:53] local.INFO: TCP Data received {"connection_id":160485,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:53:53] local.INFO: Processing buffer {"connection_id":160485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:53:53] local.INFO: Packet analysis {"connection_id":160485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bfe"} 
[2026-08-23 05:53:53] local.INFO: Extracted packet for processing {"connection_id":160485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bfe"} 
[2026-08-23 05:53:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585710336001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:53:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787444482000,"timestamp_ms":1787444482000,"timestamp_seconds":1787444482,"priority":1,"record_length":96,"hex_timestamp":"000001a02bfe4fd0"} 
[2026-08-23 05:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 05:53:53] 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-08-23 05: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-08-23 05:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585710336001,"66":25843,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585710336001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:53:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585710336001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":160485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:53:53] local.INFO: GPS data processed {"connection_id":160485,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:53:53] local.INFO: Acknowledgment sent {"connection_id":160485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:54:25] local.INFO: TCP Data received {"connection_id":160485,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:54:25] local.INFO: Processing buffer {"connection_id":160485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:54:25] local.INFO: Packet analysis {"connection_id":160485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bfe"} 
[2026-08-23 05:54:25] local.INFO: Extracted packet for processing {"connection_id":160485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bfe"} 
[2026-08-23 05:54:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585710336001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:54:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787444482000,"timestamp_ms":1787444482000,"timestamp_seconds":1787444482,"priority":1,"record_length":96,"hex_timestamp":"000001a02bfe4fd0"} 
[2026-08-23 05:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 05:54:25] 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-08-23 05:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585710336001,"66":25843,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585710336001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:54:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585710336001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":160485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:54:25] local.INFO: GPS data processed {"connection_id":160485,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:54:25] local.INFO: Acknowledgment sent {"connection_id":160485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:54:47] local.INFO: TCP Data received {"connection_id":160486,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:54:47] local.INFO: Processing buffer {"connection_id":160486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:54:47] local.INFO: IMEI packet received {"connection_id":160486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":160486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:54:52] local.INFO: TCP Data received {"connection_id":160486,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:54:52] local.INFO: Processing buffer {"connection_id":160486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:54:52] local.INFO: IMEI packet received {"connection_id":160486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":160486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:54:53] local.INFO: TCP Data received {"connection_id":160486,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:54:53] local.INFO: Processing buffer {"connection_id":160486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:54:53] local.INFO: Packet analysis {"connection_id":160486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bfe"} 
[2026-08-23 05:54:53] local.INFO: Extracted packet for processing {"connection_id":160486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bfe"} 
[2026-08-23 05:54:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585710336001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:54:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787444482000,"timestamp_ms":1787444482000,"timestamp_seconds":1787444482,"priority":1,"record_length":96,"hex_timestamp":"000001a02bfe4fd0"} 
[2026-08-23 05:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 05:54:53] 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-08-23 05: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-08-23 05:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585710336001,"66":25843,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585710336001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:54:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585710336001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":160486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:54:53] local.INFO: GPS data processed {"connection_id":160486,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:54:53] local.INFO: Acknowledgment sent {"connection_id":160486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:55:27] local.INFO: TCP Data received {"connection_id":160486,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:55:27] local.INFO: Processing buffer {"connection_id":160486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:55:27] local.INFO: Packet analysis {"connection_id":160486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bfe"} 
[2026-08-23 05:55:27] local.INFO: Extracted packet for processing {"connection_id":160486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bfe"} 
[2026-08-23 05:55:27] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585710336001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:55:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787444482000,"timestamp_ms":1787444482000,"timestamp_seconds":1787444482,"priority":1,"record_length":96,"hex_timestamp":"000001a02bfe4fd0"} 
[2026-08-23 05:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:55: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-08-23 05:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 05:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585710336001,"66":25843,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585710336001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:55:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585710336001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":160486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:55:27] local.INFO: GPS data processed {"connection_id":160486,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:55:27] local.INFO: Acknowledgment sent {"connection_id":160486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:55:47] local.INFO: TCP Data received {"connection_id":160281,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:55:47] local.INFO: Processing buffer {"connection_id":160281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:55:47] local.INFO: IMEI packet received {"connection_id":160281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":160281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:55:52] local.INFO: TCP Data received {"connection_id":160281,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:55:52] local.INFO: Processing buffer {"connection_id":160281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:55:52] local.INFO: IMEI packet received {"connection_id":160281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":160281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:55:53] local.INFO: TCP Data received {"connection_id":160281,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:55:53] local.INFO: Processing buffer {"connection_id":160281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:55:53] local.INFO: Packet analysis {"connection_id":160281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bfe"} 
[2026-08-23 05:55:53] local.INFO: Extracted packet for processing {"connection_id":160281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bfe"} 
[2026-08-23 05:55:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:55: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-08-23 05:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585710336001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:55:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787444482000,"timestamp_ms":1787444482000,"timestamp_seconds":1787444482,"priority":1,"record_length":96,"hex_timestamp":"000001a02bfe4fd0"} 
[2026-08-23 05:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:55: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 05:55:53] 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-08-23 05:55: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-08-23 05:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:55:53] 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-08-23 05:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585710336001,"66":25843,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585710336001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:55:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585710336001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":160281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:55:53] local.INFO: GPS data processed {"connection_id":160281,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:55:53] local.INFO: Acknowledgment sent {"connection_id":160281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:56:25] local.INFO: TCP Data received {"connection_id":160281,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:56:25] local.INFO: Processing buffer {"connection_id":160281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:56:25] local.INFO: Packet analysis {"connection_id":160281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bfe"} 
[2026-08-23 05:56:25] local.INFO: Extracted packet for processing {"connection_id":160281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bfe"} 
[2026-08-23 05:56:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585710336001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:56:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787444482000,"timestamp_ms":1787444482000,"timestamp_seconds":1787444482,"priority":1,"record_length":96,"hex_timestamp":"000001a02bfe4fd0"} 
[2026-08-23 05:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 05:56:25] 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-08-23 05:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585710336001,"66":25843,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585710336001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:56:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585710336001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":160281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:56:25] local.INFO: GPS data processed {"connection_id":160281,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:56:25] local.INFO: Acknowledgment sent {"connection_id":160281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:56:47] local.INFO: TCP Data received {"connection_id":162863,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:56:47] local.INFO: Processing buffer {"connection_id":162863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:56:47] local.INFO: IMEI packet received {"connection_id":162863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":162863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:56:52] local.INFO: TCP Data received {"connection_id":162863,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:56:52] local.INFO: Processing buffer {"connection_id":162863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:56:52] local.INFO: IMEI packet received {"connection_id":162863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":162863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:56:53] local.INFO: TCP Data received {"connection_id":162863,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:56:53] local.INFO: Processing buffer {"connection_id":162863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02bfe4fd0012d34c54006aa44380006012226..."} 
[2026-08-23 05:56:53] local.INFO: Packet analysis {"connection_id":162863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02bfe"} 
[2026-08-23 05:56:53] local.INFO: Extracted packet for processing {"connection_id":162863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02bfe"} 
[2026-08-23 05:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585710336001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:56:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787444482000,"timestamp_ms":1787444482000,"timestamp_seconds":1787444482,"priority":1,"record_length":96,"hex_timestamp":"000001a02bfe4fd0"} 
[2026-08-23 05:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 05:56:53] 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-08-23 05:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585710336001,"66":25843,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585710336001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:56:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585710336001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":162863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:56:53] local.INFO: GPS data processed {"connection_id":162863,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:56:53] local.INFO: Acknowledgment sent {"connection_id":162863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:57:24] local.INFO: TCP Data received {"connection_id":162863,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 05:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 05:57:24] local.INFO: Processing buffer {"connection_id":162863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 05:57:24] local.INFO: Packet analysis {"connection_id":162863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c02"} 
[2026-08-23 05:57:24] local.INFO: Extracted packet for processing {"connection_id":162863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c02"} 
[2026-08-23 05:57:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585787392001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:57:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787444783000,"timestamp_ms":1787444783000,"timestamp_seconds":1787444783,"priority":1,"record_length":96,"hex_timestamp":"000001a02c02e798"} 
[2026-08-23 05:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:57: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-08-23 05:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 05:57:24] 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-08-23 05:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 05:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585787392001,"66":25756,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585787392001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:57:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585787392001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":162863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:57:24] local.INFO: GPS data processed {"connection_id":162863,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:57:24] local.INFO: Acknowledgment sent {"connection_id":162863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:57:47] local.INFO: TCP Data received {"connection_id":160282,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:57:47] local.INFO: Processing buffer {"connection_id":160282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:57:47] local.INFO: IMEI packet received {"connection_id":160282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":160282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:57:52] local.INFO: TCP Data received {"connection_id":160282,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:57:52] local.INFO: Processing buffer {"connection_id":160282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:57:52] local.INFO: IMEI packet received {"connection_id":160282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":160282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:57:53] local.INFO: TCP Data received {"connection_id":160282,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 05:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 05:57:53] local.INFO: Processing buffer {"connection_id":160282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 05:57:53] local.INFO: Packet analysis {"connection_id":160282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c02"} 
[2026-08-23 05:57:53] local.INFO: Extracted packet for processing {"connection_id":160282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c02"} 
[2026-08-23 05:57:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585787392001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:57:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787444783000,"timestamp_ms":1787444783000,"timestamp_seconds":1787444783,"priority":1,"record_length":96,"hex_timestamp":"000001a02c02e798"} 
[2026-08-23 05:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 05:57:53] 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-08-23 05: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-08-23 05:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:57:53] 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-08-23 05:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585787392001,"66":25756,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585787392001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:57:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585787392001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":160282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:57:53] local.INFO: GPS data processed {"connection_id":160282,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:57:53] local.INFO: Acknowledgment sent {"connection_id":160282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:58:25] local.INFO: TCP Data received {"connection_id":160282,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 05:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 05:58:25] local.INFO: Processing buffer {"connection_id":160282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 05:58:25] local.INFO: Packet analysis {"connection_id":160282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c02"} 
[2026-08-23 05:58:25] local.INFO: Extracted packet for processing {"connection_id":160282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c02"} 
[2026-08-23 05:58:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585787392001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:58:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787444783000,"timestamp_ms":1787444783000,"timestamp_seconds":1787444783,"priority":1,"record_length":96,"hex_timestamp":"000001a02c02e798"} 
[2026-08-23 05:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 05:58:25] 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-08-23 05: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-08-23 05:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:58:25] 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-08-23 05:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585787392001,"66":25756,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585787392001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:58:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585787392001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":160282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:58:25] local.INFO: GPS data processed {"connection_id":160282,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:58:25] local.INFO: Acknowledgment sent {"connection_id":160282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:58:48] local.INFO: TCP Data received {"connection_id":161447,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:58:48] local.INFO: Processing buffer {"connection_id":161447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:58:48] local.INFO: IMEI packet received {"connection_id":161447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":161447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:58:52] local.INFO: TCP Data received {"connection_id":161447,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:58:52] local.INFO: Processing buffer {"connection_id":161447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:58:52] local.INFO: IMEI packet received {"connection_id":161447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":161447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:58:53] local.INFO: TCP Data received {"connection_id":161447,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 05:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 05:58:53] local.INFO: Processing buffer {"connection_id":161447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 05:58:53] local.INFO: Packet analysis {"connection_id":161447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c02"} 
[2026-08-23 05:58:53] local.INFO: Extracted packet for processing {"connection_id":161447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c02"} 
[2026-08-23 05:58:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585787392001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:58:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787444783000,"timestamp_ms":1787444783000,"timestamp_seconds":1787444783,"priority":1,"record_length":96,"hex_timestamp":"000001a02c02e798"} 
[2026-08-23 05:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 05:58:53] 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-08-23 05: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-08-23 05:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:58:53] 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-08-23 05:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585787392001,"66":25756,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585787392001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:58:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585787392001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":161447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:58:53] local.INFO: GPS data processed {"connection_id":161447,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:58:53] local.INFO: Acknowledgment sent {"connection_id":161447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:59:26] local.INFO: TCP Data received {"connection_id":161447,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 05:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 05:59:26] local.INFO: Processing buffer {"connection_id":161447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 05:59:26] local.INFO: Packet analysis {"connection_id":161447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c02"} 
[2026-08-23 05:59:26] local.INFO: Extracted packet for processing {"connection_id":161447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c02"} 
[2026-08-23 05:59:26] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05: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-08-23 05:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585787392001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:59:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787444783000,"timestamp_ms":1787444783000,"timestamp_seconds":1787444783,"priority":1,"record_length":96,"hex_timestamp":"000001a02c02e798"} 
[2026-08-23 05:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 05:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 05: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-08-23 05:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:59:26] 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-08-23 05:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585787392001,"66":25756,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585787392001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:59:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585787392001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":161447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:59:26] local.INFO: GPS data processed {"connection_id":161447,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:59:26] local.INFO: Acknowledgment sent {"connection_id":161447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 05:59:47] local.INFO: TCP Data received {"connection_id":162864,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:59:47] local.INFO: Processing buffer {"connection_id":162864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:59:47] local.INFO: IMEI packet received {"connection_id":162864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 05:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":162864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 05:59:52] local.INFO: TCP Data received {"connection_id":162864,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:59:52] local.INFO: Processing buffer {"connection_id":162864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 05:59:52] local.INFO: IMEI packet received {"connection_id":162864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 05:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":162864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 05:59:53] local.INFO: TCP Data received {"connection_id":162864,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 05:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 05:59:53] local.INFO: Processing buffer {"connection_id":162864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 05:59:53] local.INFO: Packet analysis {"connection_id":162864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c02"} 
[2026-08-23 05:59:53] local.INFO: Extracted packet for processing {"connection_id":162864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c02"} 
[2026-08-23 05:59:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 05:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 05:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585787392001,"note":"Value kept but may cause issues"} 
[2026-08-23 05:59:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 05:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 05:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 05:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 05:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787444783000,"timestamp_ms":1787444783000,"timestamp_seconds":1787444783,"priority":1,"record_length":96,"hex_timestamp":"000001a02c02e798"} 
[2026-08-23 05:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 05:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 05:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 05:59:53] 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-08-23 05:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 05:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 05:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 05:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 05:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 05:59:53] 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-08-23 05:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 05:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 05:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585787392001,"66":25756,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 05:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 05:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 05:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585787392001,"description":"Unknown IO ID 0"} 
[2026-08-23 05:59:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 05:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 05:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 05:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585787392001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 05:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":162864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 05:59:53] local.INFO: GPS data processed {"connection_id":162864,"processed":1,"errors":0,"total":1} 
[2026-08-23 05:59:53] local.INFO: Acknowledgment sent {"connection_id":162864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:00:25] local.INFO: TCP Data received {"connection_id":162864,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 06:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 06:00:25] local.INFO: Processing buffer {"connection_id":162864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 06:00:25] local.INFO: Packet analysis {"connection_id":162864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c02"} 
[2026-08-23 06:00:25] local.INFO: Extracted packet for processing {"connection_id":162864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c02"} 
[2026-08-23 06:00:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 06:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585787392001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:00:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 06:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787444783000,"timestamp_ms":1787444783000,"timestamp_seconds":1787444783,"priority":1,"record_length":96,"hex_timestamp":"000001a02c02e798"} 
[2026-08-23 06:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 06:00:25] 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-08-23 06:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:00:25] 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-08-23 06:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585787392001,"66":25756,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585787392001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:00:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 06:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585787392001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 06:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":162864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:00:25] local.INFO: GPS data processed {"connection_id":162864,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:00:25] local.INFO: Acknowledgment sent {"connection_id":162864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:00:47] local.INFO: TCP Data received {"connection_id":160487,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:00:47] local.INFO: Processing buffer {"connection_id":160487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:00:47] local.INFO: IMEI packet received {"connection_id":160487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":160487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:00:52] local.INFO: TCP Data received {"connection_id":160487,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:00:52] local.INFO: Processing buffer {"connection_id":160487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:00:52] local.INFO: IMEI packet received {"connection_id":160487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":160487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:00:53] local.INFO: TCP Data received {"connection_id":160487,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 06:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 06:00:53] local.INFO: Processing buffer {"connection_id":160487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 06:00:53] local.INFO: Packet analysis {"connection_id":160487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c02"} 
[2026-08-23 06:00:53] local.INFO: Extracted packet for processing {"connection_id":160487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c02"} 
[2026-08-23 06:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585787392001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:00:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 06:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787444783000,"timestamp_ms":1787444783000,"timestamp_seconds":1787444783,"priority":1,"record_length":96,"hex_timestamp":"000001a02c02e798"} 
[2026-08-23 06:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 06:00:53] 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-08-23 06: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-08-23 06:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:00:53] 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-08-23 06:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585787392001,"66":25756,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585787392001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 06:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585787392001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 06:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":160487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:00:53] local.INFO: GPS data processed {"connection_id":160487,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:00:53] local.INFO: Acknowledgment sent {"connection_id":160487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:01:26] local.INFO: TCP Data received {"connection_id":160487,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 06:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 06:01:26] local.INFO: Processing buffer {"connection_id":160487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 06:01:26] local.INFO: Packet analysis {"connection_id":160487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c02"} 
[2026-08-23 06:01:26] local.INFO: Extracted packet for processing {"connection_id":160487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c02"} 
[2026-08-23 06:01:26] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585787392001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:01:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 06:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787444783000,"timestamp_ms":1787444783000,"timestamp_seconds":1787444783,"priority":1,"record_length":96,"hex_timestamp":"000001a02c02e798"} 
[2026-08-23 06:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 06:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06: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-08-23 06:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585787392001,"66":25756,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585787392001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:01:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 06:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585787392001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 06:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":160487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:01:26] local.INFO: GPS data processed {"connection_id":160487,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:01:26] local.INFO: Acknowledgment sent {"connection_id":160487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:01:47] local.INFO: TCP Data received {"connection_id":160283,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:01:47] local.INFO: Processing buffer {"connection_id":160283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:01:47] local.INFO: IMEI packet received {"connection_id":160283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":160283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:01:52] local.INFO: TCP Data received {"connection_id":160283,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:01:52] local.INFO: Processing buffer {"connection_id":160283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:01:52] local.INFO: IMEI packet received {"connection_id":160283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":160283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:01:53] local.INFO: TCP Data received {"connection_id":160283,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 06:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 06:01:53] local.INFO: Processing buffer {"connection_id":160283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c02e798012d34c54006aa4438000601222a..."} 
[2026-08-23 06:01:53] local.INFO: Packet analysis {"connection_id":160283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c02"} 
[2026-08-23 06:01:53] local.INFO: Extracted packet for processing {"connection_id":160283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c02"} 
[2026-08-23 06:01:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 06:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585787392001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:01:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 06:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787444783000,"timestamp_ms":1787444783000,"timestamp_seconds":1787444783,"priority":1,"record_length":96,"hex_timestamp":"000001a02c02e798"} 
[2026-08-23 06:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 06:01:53] 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-08-23 06:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:01:53] 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-08-23 06:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585787392001,"66":25756,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585787392001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:01:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 06:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585787392001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 06:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":160283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:01:53] local.INFO: GPS data processed {"connection_id":160283,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:01:53] local.INFO: Acknowledgment sent {"connection_id":160283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:02:24] local.INFO: TCP Data received {"connection_id":160283,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:02:24] local.INFO: Processing buffer {"connection_id":160283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:02:24] local.INFO: Packet analysis {"connection_id":160283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c07"} 
[2026-08-23 06:02:24] local.INFO: Extracted packet for processing {"connection_id":160283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c07"} 
[2026-08-23 06:02:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 06:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585864448001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:02:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 06:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787445084000,"timestamp_ms":1787445084000,"timestamp_seconds":1787445084,"priority":1,"record_length":96,"hex_timestamp":"000001a02c077f60"} 
[2026-08-23 06:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:02: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-08-23 06:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:02:24] 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-08-23 06:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:02:24] 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-08-23 06:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585864448001,"66":25778,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585864448001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:02:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 06:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585864448001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 06:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":160283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:02:24] local.INFO: GPS data processed {"connection_id":160283,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:02:24] local.INFO: Acknowledgment sent {"connection_id":160283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:02:47] local.INFO: TCP Data received {"connection_id":160488,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:02:47] local.INFO: Processing buffer {"connection_id":160488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:02:47] local.INFO: IMEI packet received {"connection_id":160488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":160488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:02:52] local.INFO: TCP Data received {"connection_id":160488,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:02:52] local.INFO: Processing buffer {"connection_id":160488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:02:52] local.INFO: IMEI packet received {"connection_id":160488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":160488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:02:54] local.INFO: TCP Data received {"connection_id":160488,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:02:54] local.INFO: Processing buffer {"connection_id":160488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:02:54] local.INFO: Packet analysis {"connection_id":160488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c07"} 
[2026-08-23 06:02:54] local.INFO: Extracted packet for processing {"connection_id":160488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c07"} 
[2026-08-23 06:02:54] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585864448001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:02:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 06:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787445084000,"timestamp_ms":1787445084000,"timestamp_seconds":1787445084,"priority":1,"record_length":96,"hex_timestamp":"000001a02c077f60"} 
[2026-08-23 06:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:02: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-08-23 06: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:02:54] 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-08-23 06: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-08-23 06:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:02:54] 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-08-23 06:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585864448001,"66":25778,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585864448001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:02:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 06:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585864448001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 06:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":160488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:02:54] local.INFO: GPS data processed {"connection_id":160488,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:02:54] local.INFO: Acknowledgment sent {"connection_id":160488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:03:26] local.INFO: TCP Data received {"connection_id":160488,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:03:26] local.INFO: Processing buffer {"connection_id":160488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:03:26] local.INFO: Packet analysis {"connection_id":160488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c07"} 
[2026-08-23 06:03:26] local.INFO: Extracted packet for processing {"connection_id":160488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c07"} 
[2026-08-23 06:03:26] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585864448001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:03:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 06:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787445084000,"timestamp_ms":1787445084000,"timestamp_seconds":1787445084,"priority":1,"record_length":96,"hex_timestamp":"000001a02c077f60"} 
[2026-08-23 06:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:03:26] 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-08-23 06: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-08-23 06:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:03:26] 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-08-23 06:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585864448001,"66":25778,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585864448001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:03:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 06:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585864448001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 06:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":160488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:03:26] local.INFO: GPS data processed {"connection_id":160488,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:03:26] local.INFO: Acknowledgment sent {"connection_id":160488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:03:47] local.INFO: TCP Data received {"connection_id":162865,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:03:47] local.INFO: Processing buffer {"connection_id":162865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:03:47] local.INFO: IMEI packet received {"connection_id":162865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":162865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:03:52] local.INFO: TCP Data received {"connection_id":162865,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:03:52] local.INFO: Processing buffer {"connection_id":162865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:03:52] local.INFO: IMEI packet received {"connection_id":162865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":162865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:03:53] local.INFO: TCP Data received {"connection_id":162865,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:03:53] local.INFO: Processing buffer {"connection_id":162865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:03:53] local.INFO: Packet analysis {"connection_id":162865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c07"} 
[2026-08-23 06:03:53] local.INFO: Extracted packet for processing {"connection_id":162865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c07"} 
[2026-08-23 06:03:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585864448001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:03:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 06:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787445084000,"timestamp_ms":1787445084000,"timestamp_seconds":1787445084,"priority":1,"record_length":96,"hex_timestamp":"000001a02c077f60"} 
[2026-08-23 06:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:03:53] 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-08-23 06: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-08-23 06:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585864448001,"66":25778,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585864448001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:03:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 06:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585864448001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 06:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":162865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:03:53] local.INFO: GPS data processed {"connection_id":162865,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:03:53] local.INFO: Acknowledgment sent {"connection_id":162865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:04:25] local.INFO: TCP Data received {"connection_id":162865,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:04:25] local.INFO: Processing buffer {"connection_id":162865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:04:25] local.INFO: Packet analysis {"connection_id":162865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c07"} 
[2026-08-23 06:04:25] local.INFO: Extracted packet for processing {"connection_id":162865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c07"} 
[2026-08-23 06:04:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585864448001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:04:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 06:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787445084000,"timestamp_ms":1787445084000,"timestamp_seconds":1787445084,"priority":1,"record_length":96,"hex_timestamp":"000001a02c077f60"} 
[2026-08-23 06:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06: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-08-23 06:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585864448001,"66":25778,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585864448001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:04:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 06:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585864448001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 06:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":162865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:04:25] local.INFO: GPS data processed {"connection_id":162865,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:04:25] local.INFO: Acknowledgment sent {"connection_id":162865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:04:47] local.INFO: TCP Data received {"connection_id":160284,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:04:47] local.INFO: Processing buffer {"connection_id":160284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:04:47] local.INFO: IMEI packet received {"connection_id":160284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":160284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:04:52] local.INFO: TCP Data received {"connection_id":160284,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:04:52] local.INFO: Processing buffer {"connection_id":160284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:04:52] local.INFO: IMEI packet received {"connection_id":160284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":160284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:04:53] local.INFO: TCP Data received {"connection_id":160284,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:04:53] local.INFO: Processing buffer {"connection_id":160284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:04:53] local.INFO: Packet analysis {"connection_id":160284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c07"} 
[2026-08-23 06:04:53] local.INFO: Extracted packet for processing {"connection_id":160284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c07"} 
[2026-08-23 06:04:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 06:04: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-08-23 06:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585864448001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:04:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 06:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787445084000,"timestamp_ms":1787445084000,"timestamp_seconds":1787445084,"priority":1,"record_length":96,"hex_timestamp":"000001a02c077f60"} 
[2026-08-23 06:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:04:53] 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-08-23 06:04: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-08-23 06:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:04:53] 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-08-23 06:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585864448001,"66":25778,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585864448001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:04:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 06:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585864448001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 06:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":160284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:04:53] local.INFO: GPS data processed {"connection_id":160284,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:04:53] local.INFO: Acknowledgment sent {"connection_id":160284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:05:25] local.INFO: TCP Data received {"connection_id":160284,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:05:25] local.INFO: Processing buffer {"connection_id":160284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:05:25] local.INFO: Packet analysis {"connection_id":160284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c07"} 
[2026-08-23 06:05:25] local.INFO: Extracted packet for processing {"connection_id":160284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c07"} 
[2026-08-23 06:05:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 06:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585864448001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:05:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 06:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787445084000,"timestamp_ms":1787445084000,"timestamp_seconds":1787445084,"priority":1,"record_length":96,"hex_timestamp":"000001a02c077f60"} 
[2026-08-23 06:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:05: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-08-23 06:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585864448001,"66":25778,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585864448001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:05:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 06:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585864448001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 06:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":160284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:05:25] local.INFO: GPS data processed {"connection_id":160284,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:05:25] local.INFO: Acknowledgment sent {"connection_id":160284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:05:47] local.INFO: TCP Data received {"connection_id":160285,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:05:47] local.INFO: Processing buffer {"connection_id":160285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:05:47] local.INFO: IMEI packet received {"connection_id":160285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":160285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:05:52] local.INFO: TCP Data received {"connection_id":160285,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:05:52] local.INFO: Processing buffer {"connection_id":160285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:05:52] local.INFO: IMEI packet received {"connection_id":160285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":160285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:05:53] local.INFO: TCP Data received {"connection_id":160285,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:05:53] local.INFO: Processing buffer {"connection_id":160285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:05:53] local.INFO: Packet analysis {"connection_id":160285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c07"} 
[2026-08-23 06:05:53] local.INFO: Extracted packet for processing {"connection_id":160285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c07"} 
[2026-08-23 06:05:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585864448001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:05:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 06:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787445084000,"timestamp_ms":1787445084000,"timestamp_seconds":1787445084,"priority":1,"record_length":96,"hex_timestamp":"000001a02c077f60"} 
[2026-08-23 06:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:05:53] 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-08-23 06: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-08-23 06:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:05:53] 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-08-23 06:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585864448001,"66":25778,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585864448001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:05:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 06:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585864448001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 06:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":160285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:05:53] local.INFO: GPS data processed {"connection_id":160285,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:05:53] local.INFO: Acknowledgment sent {"connection_id":160285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:06:24] local.INFO: TCP Data received {"connection_id":160285,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:06:24] local.INFO: Processing buffer {"connection_id":160285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:06:24] local.INFO: Packet analysis {"connection_id":160285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c07"} 
[2026-08-23 06:06:24] local.INFO: Extracted packet for processing {"connection_id":160285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c07"} 
[2026-08-23 06:06:24] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585864448001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:06:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 06:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787445084000,"timestamp_ms":1787445084000,"timestamp_seconds":1787445084,"priority":1,"record_length":96,"hex_timestamp":"000001a02c077f60"} 
[2026-08-23 06:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06: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-08-23 06: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:06:24] 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-08-23 06: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-08-23 06:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:06:24] 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-08-23 06:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585864448001,"66":25778,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585864448001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:06:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 06:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585864448001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 06:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":160285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:06:24] local.INFO: GPS data processed {"connection_id":160285,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:06:24] local.INFO: Acknowledgment sent {"connection_id":160285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:06:53] local.INFO: TCP Data received {"connection_id":160489,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:06:53] local.INFO: Processing buffer {"connection_id":160489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:06:53] local.INFO: IMEI packet received {"connection_id":160489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":160489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:06:57] local.INFO: TCP Data received {"connection_id":160489,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:06:57] local.INFO: Processing buffer {"connection_id":160489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:06:57] local.INFO: IMEI packet received {"connection_id":160489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":160489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:06:58] local.INFO: TCP Data received {"connection_id":160489,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:06:58] local.INFO: Processing buffer {"connection_id":160489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:06:58] local.INFO: Packet analysis {"connection_id":160489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c07"} 
[2026-08-23 06:06:58] local.INFO: Extracted packet for processing {"connection_id":160489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c07"} 
[2026-08-23 06:06:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 06:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585864448001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:06:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 06:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787445084000,"timestamp_ms":1787445084000,"timestamp_seconds":1787445084,"priority":1,"record_length":96,"hex_timestamp":"000001a02c077f60"} 
[2026-08-23 06:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06: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-08-23 06:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:06: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-08-23 06:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:06: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-08-23 06:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585864448001,"66":25778,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585864448001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:06:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 06:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585864448001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 06:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":160489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:06:58] local.INFO: GPS data processed {"connection_id":160489,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:06:58] local.INFO: Acknowledgment sent {"connection_id":160489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:07:02] local.INFO: TCP Data received {"connection_id":160489,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:07:02] local.INFO: Processing buffer {"connection_id":160489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c077f60012d34c54006aa44380006012226..."} 
[2026-08-23 06:07:02] local.INFO: Packet analysis {"connection_id":160489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c07"} 
[2026-08-23 06:07:02] local.INFO: Extracted packet for processing {"connection_id":160489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c07"} 
[2026-08-23 06:07:02] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 06:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585864448001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:07:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 06:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787445084000,"timestamp_ms":1787445084000,"timestamp_seconds":1787445084,"priority":1,"record_length":96,"hex_timestamp":"000001a02c077f60"} 
[2026-08-23 06:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:07:02] 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-08-23 06:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585864448001,"66":25778,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585864448001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:07:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 06:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585864448001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 06:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":160489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:07:02] local.INFO: GPS data processed {"connection_id":160489,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:07:02] local.INFO: Acknowledgment sent {"connection_id":160489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:07:47] local.INFO: TCP Data received {"connection_id":160490,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:07:47] local.INFO: Processing buffer {"connection_id":160490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:07:47] local.INFO: IMEI packet received {"connection_id":160490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":160490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:07:52] local.INFO: TCP Data received {"connection_id":160490,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:07:52] local.INFO: Processing buffer {"connection_id":160490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:07:52] local.INFO: IMEI packet received {"connection_id":160490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":160490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:07:53] local.INFO: TCP Data received {"connection_id":160490,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c0c1728012d34c54006aa4438000601222a..."} 
[2026-08-23 06:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c0c1728012d34c54006aa4438000601222a..."} 
[2026-08-23 06:07:53] local.INFO: Processing buffer {"connection_id":160490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c0c1728012d34c54006aa4438000601222a..."} 
[2026-08-23 06:07:53] local.INFO: Packet analysis {"connection_id":160490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c0c"} 
[2026-08-23 06:07:53] local.INFO: Extracted packet for processing {"connection_id":160490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c0c"} 
[2026-08-23 06:07:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 06:07: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-08-23 06:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457585941504001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:07:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 06:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787445385000,"timestamp_ms":1787445385000,"timestamp_seconds":1787445385,"priority":1,"record_length":96,"hex_timestamp":"000001a02c0c1728"} 
[2026-08-23 06:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:07: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-08-23 06:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:07:53] 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-08-23 06:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457585941504001,"66":25756,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457585941504001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:07:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 06:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457585941504001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 06:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":160490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:07:53] local.INFO: GPS data processed {"connection_id":160490,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:07:53] local.INFO: Acknowledgment sent {"connection_id":160490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:08:25] local.INFO: TCP Data received {"connection_id":160490,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c0d4008012d34c54006aa44380006012224..."} 
[2026-08-23 06:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c0d4008012d34c54006aa44380006012224..."} 
[2026-08-23 06:08:25] local.INFO: Processing buffer {"connection_id":160490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c0d4008012d34c54006aa44380006012224..."} 
[2026-08-23 06:08:25] local.INFO: Packet analysis {"connection_id":160490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:08:25] local.INFO: Extracted packet for processing {"connection_id":160490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:08:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821880,"longitude_deg":75.8433088,"latitude_deg":11.182188,"altitude":6,"angle":290,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4438","is_valid_coordinates":true} 
[2026-08-23 06:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586018560001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:08:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 06:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787445461000,"timestamp_ms":1787445461000,"timestamp_seconds":1787445461,"priority":1,"record_length":96,"hex_timestamp":"000001a02c0d4008"} 
[2026-08-23 06:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:08:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06: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-08-23 06:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:08: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-08-23 06:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586018560001,"66":25778,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586018560001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:08:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 06:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586018560001,"power":25778,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 06:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":160490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:08:25] local.INFO: GPS data processed {"connection_id":160490,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:08:25] local.INFO: Acknowledgment sent {"connection_id":160490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:08:52] local.INFO: TCP Data received {"connection_id":160286,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:08:52] local.INFO: Processing buffer {"connection_id":160286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:08:52] local.INFO: IMEI packet received {"connection_id":160286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":160286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:08:56] local.INFO: TCP Data received {"connection_id":160286,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:08:56] local.INFO: Processing buffer {"connection_id":160286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:08:56] local.INFO: IMEI packet received {"connection_id":160286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":160286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:08:58] local.INFO: TCP Data received {"connection_id":160286,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02c0d4fa8012d34c78006aa44400006011325..."} 
[2026-08-23 06:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c0d4fa8012d34c78006aa44400006011325..."} 
[2026-08-23 06:08:58] local.INFO: Processing buffer {"connection_id":160286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c0d4fa8012d34c78006aa44400006011325..."} 
[2026-08-23 06:08:58] local.INFO: Packet analysis {"connection_id":160286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:08:58] local.INFO: Extracted packet for processing {"connection_id":160286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:08:58] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821888,"longitude_deg":75.8433664,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586038016001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:08:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754830848,"note":"Value kept but may cause issues"} 
[2026-08-23 06:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787445465000,"timestamp_ms":1787445465000,"timestamp_seconds":1787445465,"priority":1,"record_length":96,"hex_timestamp":"000001a02c0d4fa8"} 
[2026-08-23 06:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 06:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586038016001,"66":25582,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3802515857754830848},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586038016001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:08:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754830848,"description":"Unknown IO ID 45"} 
[2026-08-23 06:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586038016001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754830848}} 
[2026-08-23 06:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":160286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:08:58] local.INFO: GPS data processed {"connection_id":160286,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:08:58] local.INFO: Acknowledgment sent {"connection_id":160286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:08:59] local.INFO: TCP Data received {"connection_id":160286,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02c0d7e88012d34c78006aa44400006011327..."} 
[2026-08-23 06:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c0d7e88012d34c78006aa44400006011327..."} 
[2026-08-23 06:08:59] local.INFO: Processing buffer {"connection_id":160286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c0d7e88012d34c78006aa44400006011327..."} 
[2026-08-23 06:08:59] local.INFO: Packet analysis {"connection_id":160286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:08:59] local.INFO: Extracted packet for processing {"connection_id":160286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:08:59] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821888,"longitude_deg":75.8433664,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586039040001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:08:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452431872,"note":"Value kept but may cause issues"} 
[2026-08-23 06:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787445477000,"timestamp_ms":1787445477000,"timestamp_seconds":1787445477,"priority":1,"record_length":96,"hex_timestamp":"000001a02c0d7e88"} 
[2026-08-23 06:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 06:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 06:08:59] 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-08-23 06:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586039040001,"66":25397,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3803149176452431872},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586039040001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:08:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452431872,"description":"Unknown IO ID 45"} 
[2026-08-23 06:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586039040001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452431872}} 
[2026-08-23 06:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":160286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:08:59] local.INFO: GPS data processed {"connection_id":160286,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:08:59] local.INFO: Acknowledgment sent {"connection_id":160286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:09:31] local.INFO: TCP Data received {"connection_id":160286,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02c0d8270012d34c78006aa44400006011327..."} 
[2026-08-23 06:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c0d8270012d34c78006aa44400006011327..."} 
[2026-08-23 06:09:31] local.INFO: Processing buffer {"connection_id":160286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c0d8270012d34c78006aa44400006011327..."} 
[2026-08-23 06:09:31] local.INFO: Packet analysis {"connection_id":160286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:09:31] local.INFO: Extracted packet for processing {"connection_id":160286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:09:31] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821888,"longitude_deg":75.8433664,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586042112001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:09:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452431872,"note":"Value kept but may cause issues"} 
[2026-08-23 06:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787445478000,"timestamp_ms":1787445478000,"timestamp_seconds":1787445478,"priority":1,"record_length":96,"hex_timestamp":"000001a02c0d8270"} 
[2026-08-23 06:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 06:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586042112001,"66":25582,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3803149176452431872},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586042112001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:09:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452431872,"description":"Unknown IO ID 45"} 
[2026-08-23 06:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586042112001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452431872}} 
[2026-08-23 06:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":160286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:09:31] local.INFO: GPS data processed {"connection_id":160286,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:09:31] local.INFO: Acknowledgment sent {"connection_id":160286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:09:48] local.INFO: TCP Data received {"connection_id":160491,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:09:48] local.INFO: Processing buffer {"connection_id":160491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:09:48] local.INFO: IMEI packet received {"connection_id":160491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":160491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:09:52] local.INFO: TCP Data received {"connection_id":160491,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:09:52] local.INFO: Processing buffer {"connection_id":160491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:09:52] local.INFO: IMEI packet received {"connection_id":160491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":160491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:09:53] local.INFO: TCP Data received {"connection_id":160491,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02c0da1b0012d34c78006aa44400006011327..."} 
[2026-08-23 06:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c0da1b0012d34c78006aa44400006011327..."} 
[2026-08-23 06:09:53] local.INFO: Processing buffer {"connection_id":160491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c0da1b0012d34c78006aa44400006011327..."} 
[2026-08-23 06:09:53] local.INFO: Packet analysis {"connection_id":160491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:09:53] local.INFO: Extracted packet for processing {"connection_id":160491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:09:53] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821888,"longitude_deg":75.8433664,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586042368001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:09:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452431872,"note":"Value kept but may cause issues"} 
[2026-08-23 06:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787445486000,"timestamp_ms":1787445486000,"timestamp_seconds":1787445486,"priority":1,"record_length":96,"hex_timestamp":"000001a02c0da1b0"} 
[2026-08-23 06:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:09: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-08-23 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 06:09:53] 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-08-23 06: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-08-23 06:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586042368001,"66":25223,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3803149176452431872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586042368001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:09:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452431872,"description":"Unknown IO ID 45"} 
[2026-08-23 06:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586042368001,"power":25223,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452431872}} 
[2026-08-23 06:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":160491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:09:53] local.INFO: GPS data processed {"connection_id":160491,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:09:53] local.INFO: Acknowledgment sent {"connection_id":160491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:09:58] local.INFO: TCP Data received {"connection_id":160491,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02c0da598012d34c78006aa44400006011327..."} 
[2026-08-23 06:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c0da598012d34c78006aa44400006011327..."} 
[2026-08-23 06:09:58] local.INFO: Processing buffer {"connection_id":160491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c0da598012d34c78006aa44400006011327..."} 
[2026-08-23 06:09:58] local.INFO: Packet analysis {"connection_id":160491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:09:58] local.INFO: Extracted packet for processing {"connection_id":160491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:09:58] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821888,"longitude_deg":75.8433664,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:09: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-08-23 06:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586044416001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:09:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452431872,"note":"Value kept but may cause issues"} 
[2026-08-23 06:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787445487000,"timestamp_ms":1787445487000,"timestamp_seconds":1787445487,"priority":1,"record_length":96,"hex_timestamp":"000001a02c0da598"} 
[2026-08-23 06:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 06:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06: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-08-23 06:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586044416001,"66":25223,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3803149176452431872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586044416001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:09:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452431872,"description":"Unknown IO ID 45"} 
[2026-08-23 06:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586044416001,"power":25223,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452431872}} 
[2026-08-23 06:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":160491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:09:58] local.INFO: GPS data processed {"connection_id":160491,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:09:58] local.INFO: Acknowledgment sent {"connection_id":160491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:10:29] local.INFO: TCP Data received {"connection_id":160491,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02c0da980012d34c78006aa44400006011327..."} 
[2026-08-23 06:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c0da980012d34c78006aa44400006011327..."} 
[2026-08-23 06:10:29] local.INFO: Processing buffer {"connection_id":160491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c0da980012d34c78006aa44400006011327..."} 
[2026-08-23 06:10:29] local.INFO: Packet analysis {"connection_id":160491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:10:29] local.INFO: Extracted packet for processing {"connection_id":160491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:10:29] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821888,"longitude_deg":75.8433664,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586044672001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:10:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452431872,"note":"Value kept but may cause issues"} 
[2026-08-23 06:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787445488000,"timestamp_ms":1787445488000,"timestamp_seconds":1787445488,"priority":1,"record_length":96,"hex_timestamp":"000001a02c0da980"} 
[2026-08-23 06:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:10: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-08-23 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 06:10:29] 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-08-23 06: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-08-23 06:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586044672001,"66":25441,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3803149176452431872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586044672001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:10:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452431872,"description":"Unknown IO ID 45"} 
[2026-08-23 06:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586044672001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452431872}} 
[2026-08-23 06:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":160491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:10:29] local.INFO: GPS data processed {"connection_id":160491,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:10:29] local.INFO: Acknowledgment sent {"connection_id":160491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:10:47] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:10:47] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:10:47] local.INFO: IMEI packet received {"connection_id":160287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":160287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:10:52] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:10:52] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:10:52] local.INFO: IMEI packet received {"connection_id":160287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":160287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:10:53] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c0dd090012d34c78006aa44400006011325..."} 
[2026-08-23 06:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c0dd090012d34c78006aa44400006011325..."} 
[2026-08-23 06:10:53] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c0dd090012d34c78006aa44400006011325..."} 
[2026-08-23 06:10:53] local.INFO: Packet analysis {"connection_id":160287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:10:53] local.INFO: Extracted packet for processing {"connection_id":160287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:10:53] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821888,"longitude_deg":75.8433664,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586044928001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:10:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452431872,"note":"Value kept but may cause issues"} 
[2026-08-23 06:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787445498000,"timestamp_ms":1787445498000,"timestamp_seconds":1787445498,"priority":1,"record_length":96,"hex_timestamp":"000001a02c0dd090"} 
[2026-08-23 06:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:10: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-08-23 06:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 06:10:53] 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-08-23 06:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:10:53] 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-08-23 06:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586044928001,"66":25180,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3803149176452431872},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586044928001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:10:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452431872,"description":"Unknown IO ID 45"} 
[2026-08-23 06:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586044928001,"power":25180,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452431872}} 
[2026-08-23 06:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":160287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:10:53] local.INFO: GPS data processed {"connection_id":160287,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:10:53] local.INFO: Acknowledgment sent {"connection_id":160287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:11:24] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c0dd478012d34c78006aa44400006011325..."} 
[2026-08-23 06:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c0dd478012d34c78006aa44400006011325..."} 
[2026-08-23 06:11:24] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c0dd478012d34c78006aa44400006011325..."} 
[2026-08-23 06:11:24] local.INFO: Packet analysis {"connection_id":160287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:11:24] local.INFO: Extracted packet for processing {"connection_id":160287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:11:24] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821888,"longitude_deg":75.8433664,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586047488001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:11:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452431872,"note":"Value kept but may cause issues"} 
[2026-08-23 06:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787445499000,"timestamp_ms":1787445499000,"timestamp_seconds":1787445499,"priority":1,"record_length":96,"hex_timestamp":"000001a02c0dd478"} 
[2026-08-23 06:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 06:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:11:24] 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-08-23 06:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586047488001,"66":25180,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3803149176452431872},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586047488001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:11:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452431872,"description":"Unknown IO ID 45"} 
[2026-08-23 06:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586047488001,"power":25180,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452431872}} 
[2026-08-23 06:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":160287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:11:24] local.INFO: GPS data processed {"connection_id":160287,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:11:24] local.INFO: Acknowledgment sent {"connection_id":160287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:11:47] local.INFO: TCP Data received {"connection_id":160492,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:11:47] local.INFO: Processing buffer {"connection_id":160492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:11:47] local.INFO: IMEI packet received {"connection_id":160492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":160492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:11:52] local.INFO: TCP Data received {"connection_id":160492,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:11:52] local.INFO: Processing buffer {"connection_id":160492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:11:52] local.INFO: IMEI packet received {"connection_id":160492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":160492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:11:53] local.INFO: TCP Data received {"connection_id":160492,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02c0df3b8012d34c78006aa44400006011320..."} 
[2026-08-23 06:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c0df3b8012d34c78006aa44400006011320..."} 
[2026-08-23 06:11:53] local.INFO: Processing buffer {"connection_id":160492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c0df3b8012d34c78006aa44400006011320..."} 
[2026-08-23 06:11:53] local.INFO: Packet analysis {"connection_id":160492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:11:53] local.INFO: Extracted packet for processing {"connection_id":160492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:11:53] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821888,"longitude_deg":75.8433664,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":32,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586047744001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:11:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452431872,"note":"Value kept but may cause issues"} 
[2026-08-23 06:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787445507000,"timestamp_ms":1787445507000,"timestamp_seconds":1787445507,"priority":1,"record_length":96,"hex_timestamp":"000001a02c0df3b8"} 
[2026-08-23 06:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:11: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-08-23 06:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 06:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:11:53] 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-08-23 06:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586047744001,"66":25125,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3803149176452431872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586047744001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:11:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452431872,"description":"Unknown IO ID 45"} 
[2026-08-23 06:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586047744001,"power":25125,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452431872}} 
[2026-08-23 06:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":160492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:11:53] local.INFO: GPS data processed {"connection_id":160492,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:11:53] local.INFO: Acknowledgment sent {"connection_id":160492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:12:24] local.INFO: TCP Data received {"connection_id":160492,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02c0df7a0012d34c78006aa44400006011320..."} 
[2026-08-23 06:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c0df7a0012d34c78006aa44400006011320..."} 
[2026-08-23 06:12:24] local.INFO: Processing buffer {"connection_id":160492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c0df7a0012d34c78006aa44400006011320..."} 
[2026-08-23 06:12:24] local.INFO: Packet analysis {"connection_id":160492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:12:24] local.INFO: Extracted packet for processing {"connection_id":160492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:12:24] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821888,"longitude_deg":75.8433664,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":32,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586049792001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:12:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452431872,"note":"Value kept but may cause issues"} 
[2026-08-23 06:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787445508000,"timestamp_ms":1787445508000,"timestamp_seconds":1787445508,"priority":1,"record_length":96,"hex_timestamp":"000001a02c0df7a0"} 
[2026-08-23 06:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:12: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-08-23 06:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-23 06:12:24] 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-08-23 06:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:12:24] 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-08-23 06:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586049792001,"66":25201,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3803149176452431872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586049792001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:12:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452431872,"description":"Unknown IO ID 45"} 
[2026-08-23 06:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586049792001,"power":25201,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452431872}} 
[2026-08-23 06:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":160492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:12:24] local.INFO: GPS data processed {"connection_id":160492,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:12:24] local.INFO: Acknowledgment sent {"connection_id":160492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:12:47] local.INFO: TCP Data received {"connection_id":160288,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:12:47] local.INFO: Processing buffer {"connection_id":160288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:12:47] local.INFO: IMEI packet received {"connection_id":160288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":160288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:12:52] local.INFO: TCP Data received {"connection_id":160288,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:12:52] local.INFO: Processing buffer {"connection_id":160288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:12:52] local.INFO: IMEI packet received {"connection_id":160288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":160288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:12:53] local.INFO: TCP Data received {"connection_id":160288,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02c0df7a0012d34c78006aa44400006011320..."} 
[2026-08-23 06:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c0df7a0012d34c78006aa44400006011320..."} 
[2026-08-23 06:12:53] local.INFO: Processing buffer {"connection_id":160288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c0df7a0012d34c78006aa44400006011320..."} 
[2026-08-23 06:12:53] local.INFO: Packet analysis {"connection_id":160288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:12:53] local.INFO: Extracted packet for processing {"connection_id":160288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:12:53] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821888,"longitude_deg":75.8433664,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":32,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586049792001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:12:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452431872,"note":"Value kept but may cause issues"} 
[2026-08-23 06:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787445508000,"timestamp_ms":1787445508000,"timestamp_seconds":1787445508,"priority":1,"record_length":96,"hex_timestamp":"000001a02c0df7a0"} 
[2026-08-23 06:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:12: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-08-23 06:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-23 06:12:53] 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-08-23 06:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:12:53] 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-08-23 06:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586049792001,"66":25201,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3803149176452431872},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586049792001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:12:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452431872,"description":"Unknown IO ID 45"} 
[2026-08-23 06:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586049792001,"power":25201,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452431872}} 
[2026-08-23 06:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":160288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:12:53] local.INFO: GPS data processed {"connection_id":160288,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:12:53] local.INFO: Acknowledgment sent {"connection_id":160288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:13:24] local.INFO: TCP Data received {"connection_id":160288,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02c0df7a0012d34c78006aa44400006011320..."} 
[2026-08-23 06:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c0df7a0012d34c78006aa44400006011320..."} 
[2026-08-23 06:13:24] local.INFO: Processing buffer {"connection_id":160288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c0df7a0012d34c78006aa44400006011320..."} 
[2026-08-23 06:13:24] local.INFO: Packet analysis {"connection_id":160288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:13:24] local.INFO: Extracted packet for processing {"connection_id":160288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:13:24] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821888,"longitude_deg":75.8433664,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":32,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586049792001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:13:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452431872,"note":"Value kept but may cause issues"} 
[2026-08-23 06:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787445508000,"timestamp_ms":1787445508000,"timestamp_seconds":1787445508,"priority":1,"record_length":96,"hex_timestamp":"000001a02c0df7a0"} 
[2026-08-23 06:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:13: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-08-23 06:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-23 06:13:24] 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-08-23 06:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:13:24] 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-08-23 06:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586049792001,"66":25201,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3803149176452431872},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586049792001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:13:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452431872,"description":"Unknown IO ID 45"} 
[2026-08-23 06:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586049792001,"power":25201,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452431872}} 
[2026-08-23 06:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":160288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:13:24] local.INFO: GPS data processed {"connection_id":160288,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:13:24] local.INFO: Acknowledgment sent {"connection_id":160288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:13:47] local.INFO: TCP Data received {"connection_id":160289,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:13:47] local.INFO: Processing buffer {"connection_id":160289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:13:47] local.INFO: IMEI packet received {"connection_id":160289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":160289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:13:52] local.INFO: TCP Data received {"connection_id":160289,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:13:52] local.INFO: Processing buffer {"connection_id":160289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:13:52] local.INFO: IMEI packet received {"connection_id":160289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":160289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:13:53] local.INFO: TCP Data received {"connection_id":160289,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02c0df7a0012d34c78006aa44400006011320..."} 
[2026-08-23 06:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c0df7a0012d34c78006aa44400006011320..."} 
[2026-08-23 06:13:53] local.INFO: Processing buffer {"connection_id":160289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c0df7a0012d34c78006aa44400006011320..."} 
[2026-08-23 06:13:53] local.INFO: Packet analysis {"connection_id":160289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:13:53] local.INFO: Extracted packet for processing {"connection_id":160289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c0d"} 
[2026-08-23 06:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821888,"longitude_deg":75.8433664,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":32,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586049792001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:13:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-23 06:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452431872,"note":"Value kept but may cause issues"} 
[2026-08-23 06:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-23 06:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787445508000,"timestamp_ms":1787445508000,"timestamp_seconds":1787445508,"priority":1,"record_length":96,"hex_timestamp":"000001a02c0df7a0"} 
[2026-08-23 06:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:13: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-08-23 06:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-23 06:13:53] 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-08-23 06:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586049792001,"66":25201,"200":0,"81":23296,"24":0,"16":389929678393049088,"45":3803149176452431872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-23 06:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586049792001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452431872,"description":"Unknown IO ID 45"} 
[2026-08-23 06:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586049792001,"power":25201,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452431872}} 
[2026-08-23 06:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":160289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:13:53] local.INFO: GPS data processed {"connection_id":160289,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:13:53] local.INFO: Acknowledgment sent {"connection_id":160289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:14:24] local.INFO: TCP Data received {"connection_id":160289,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:14:24] local.INFO: Processing buffer {"connection_id":160289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:14:24] local.INFO: Packet analysis {"connection_id":160289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c12"} 
[2026-08-23 06:14:24] local.INFO: Extracted packet for processing {"connection_id":160289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c12"} 
[2026-08-23 06:14:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586050048001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452431872,"note":"Value kept but may cause issues"} 
[2026-08-23 06:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787445810000,"timestamp_ms":1787445810000,"timestamp_seconds":1787445810,"priority":1,"record_length":96,"hex_timestamp":"000001a02c129350"} 
[2026-08-23 06:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 06:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586050048001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3803149176452431872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586050048001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:14:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:14:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452431872,"description":"Unknown IO ID 45"} 
[2026-08-23 06:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586050048001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452431872}} 
[2026-08-23 06:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":160289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:14:24] local.INFO: GPS data processed {"connection_id":160289,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:14:24] local.INFO: Acknowledgment sent {"connection_id":160289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:14:47] local.INFO: TCP Data received {"connection_id":160290,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:14:47] local.INFO: Processing buffer {"connection_id":160290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:14:47] local.INFO: IMEI packet received {"connection_id":160290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":160290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:14:52] local.INFO: TCP Data received {"connection_id":160290,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:14:52] local.INFO: Processing buffer {"connection_id":160290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:14:52] local.INFO: IMEI packet received {"connection_id":160290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":160290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:14:53] local.INFO: TCP Data received {"connection_id":160290,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:14:53] local.INFO: Processing buffer {"connection_id":160290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:14:53] local.INFO: Packet analysis {"connection_id":160290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c12"} 
[2026-08-23 06:14:53] local.INFO: Extracted packet for processing {"connection_id":160290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c12"} 
[2026-08-23 06:14:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586050048001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452431872,"note":"Value kept but may cause issues"} 
[2026-08-23 06:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787445810000,"timestamp_ms":1787445810000,"timestamp_seconds":1787445810,"priority":1,"record_length":96,"hex_timestamp":"000001a02c129350"} 
[2026-08-23 06:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 06:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:14:53] 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-08-23 06:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586050048001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3803149176452431872},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586050048001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:14:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:14:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452431872,"description":"Unknown IO ID 45"} 
[2026-08-23 06:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586050048001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452431872}} 
[2026-08-23 06:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":160290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:14:53] local.INFO: GPS data processed {"connection_id":160290,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:14:53] local.INFO: Acknowledgment sent {"connection_id":160290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:15:24] local.INFO: TCP Data received {"connection_id":160290,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:15:24] local.INFO: Processing buffer {"connection_id":160290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:15:24] local.INFO: Packet analysis {"connection_id":160290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c12"} 
[2026-08-23 06:15:24] local.INFO: Extracted packet for processing {"connection_id":160290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c12"} 
[2026-08-23 06:15:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586050048001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452431872,"note":"Value kept but may cause issues"} 
[2026-08-23 06:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787445810000,"timestamp_ms":1787445810000,"timestamp_seconds":1787445810,"priority":1,"record_length":96,"hex_timestamp":"000001a02c129350"} 
[2026-08-23 06:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 06:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:15: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-08-23 06:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586050048001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3803149176452431872},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586050048001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:15:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:15:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452431872,"description":"Unknown IO ID 45"} 
[2026-08-23 06:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586050048001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452431872}} 
[2026-08-23 06:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":160290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:15:24] local.INFO: GPS data processed {"connection_id":160290,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:15:24] local.INFO: Acknowledgment sent {"connection_id":160290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:15:47] local.INFO: TCP Data received {"connection_id":162866,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:15:47] local.INFO: Processing buffer {"connection_id":162866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:15:47] local.INFO: IMEI packet received {"connection_id":162866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":162866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:15:52] local.INFO: TCP Data received {"connection_id":162866,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:15:52] local.INFO: Processing buffer {"connection_id":162866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:15:52] local.INFO: IMEI packet received {"connection_id":162866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":162866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:15:53] local.INFO: TCP Data received {"connection_id":162866,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:15:53] local.INFO: Processing buffer {"connection_id":162866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:15:53] local.INFO: Packet analysis {"connection_id":162866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c12"} 
[2026-08-23 06:15:53] local.INFO: Extracted packet for processing {"connection_id":162866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c12"} 
[2026-08-23 06:15:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586050048001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452431872,"note":"Value kept but may cause issues"} 
[2026-08-23 06:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787445810000,"timestamp_ms":1787445810000,"timestamp_seconds":1787445810,"priority":1,"record_length":96,"hex_timestamp":"000001a02c129350"} 
[2026-08-23 06:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 06:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:15:53] 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-08-23 06:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586050048001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3803149176452431872},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586050048001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:15:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:15:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452431872,"description":"Unknown IO ID 45"} 
[2026-08-23 06:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586050048001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452431872}} 
[2026-08-23 06:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":162866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:15:53] local.INFO: GPS data processed {"connection_id":162866,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:15:53] local.INFO: Acknowledgment sent {"connection_id":162866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:16:24] local.INFO: TCP Data received {"connection_id":162866,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:16:24] local.INFO: Processing buffer {"connection_id":162866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:16:24] local.INFO: Packet analysis {"connection_id":162866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c12"} 
[2026-08-23 06:16:24] local.INFO: Extracted packet for processing {"connection_id":162866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c12"} 
[2026-08-23 06:16:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:16: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-08-23 06:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586050048001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452431872,"note":"Value kept but may cause issues"} 
[2026-08-23 06:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787445810000,"timestamp_ms":1787445810000,"timestamp_seconds":1787445810,"priority":1,"record_length":96,"hex_timestamp":"000001a02c129350"} 
[2026-08-23 06:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:16: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":113,"data_length":795,"current_offset":136} 
[2026-08-23 06:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:16: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-08-23 06:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:16: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-08-23 06:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586050048001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3803149176452431872},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586050048001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:16:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:16:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452431872,"description":"Unknown IO ID 45"} 
[2026-08-23 06:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586050048001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452431872}} 
[2026-08-23 06:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":162866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:16:24] local.INFO: GPS data processed {"connection_id":162866,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:16:24] local.INFO: Acknowledgment sent {"connection_id":162866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:16:47] local.INFO: TCP Data received {"connection_id":160493,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:16:47] local.INFO: Processing buffer {"connection_id":160493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:16:47] local.INFO: IMEI packet received {"connection_id":160493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":160493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:16:52] local.INFO: TCP Data received {"connection_id":160493,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:16:52] local.INFO: Processing buffer {"connection_id":160493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:16:52] local.INFO: IMEI packet received {"connection_id":160493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":160493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:16:53] local.INFO: TCP Data received {"connection_id":160493,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:16:53] local.INFO: Processing buffer {"connection_id":160493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:16:53] local.INFO: Packet analysis {"connection_id":160493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c12"} 
[2026-08-23 06:16:53] local.INFO: Extracted packet for processing {"connection_id":160493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c12"} 
[2026-08-23 06:16:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586050048001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452431872,"note":"Value kept but may cause issues"} 
[2026-08-23 06:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787445810000,"timestamp_ms":1787445810000,"timestamp_seconds":1787445810,"priority":1,"record_length":96,"hex_timestamp":"000001a02c129350"} 
[2026-08-23 06:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 06:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586050048001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3803149176452431872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586050048001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:16:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:16:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452431872,"description":"Unknown IO ID 45"} 
[2026-08-23 06:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586050048001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452431872}} 
[2026-08-23 06:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":160493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:16:53] local.INFO: GPS data processed {"connection_id":160493,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:16:53] local.INFO: Acknowledgment sent {"connection_id":160493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:17:24] local.INFO: TCP Data received {"connection_id":160493,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:17:24] local.INFO: Processing buffer {"connection_id":160493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:17:24] local.INFO: Packet analysis {"connection_id":160493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c12"} 
[2026-08-23 06:17:24] local.INFO: Extracted packet for processing {"connection_id":160493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c12"} 
[2026-08-23 06:17:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586050048001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452431872,"note":"Value kept but may cause issues"} 
[2026-08-23 06:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787445810000,"timestamp_ms":1787445810000,"timestamp_seconds":1787445810,"priority":1,"record_length":96,"hex_timestamp":"000001a02c129350"} 
[2026-08-23 06:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 06:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06: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-08-23 06:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586050048001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3803149176452431872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586050048001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:17:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:17:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452431872,"description":"Unknown IO ID 45"} 
[2026-08-23 06:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586050048001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452431872}} 
[2026-08-23 06:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":160493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:17:24] local.INFO: GPS data processed {"connection_id":160493,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:17:24] local.INFO: Acknowledgment sent {"connection_id":160493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:17:47] local.INFO: TCP Data received {"connection_id":162867,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:17:47] local.INFO: Processing buffer {"connection_id":162867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:17:47] local.INFO: IMEI packet received {"connection_id":162867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":162867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:17:52] local.INFO: TCP Data received {"connection_id":162867,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:17:52] local.INFO: Processing buffer {"connection_id":162867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:17:52] local.INFO: IMEI packet received {"connection_id":162867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":162867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:17:53] local.INFO: TCP Data received {"connection_id":162867,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:17:53] local.INFO: Processing buffer {"connection_id":162867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:17:53] local.INFO: Packet analysis {"connection_id":162867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c12"} 
[2026-08-23 06:17:53] local.INFO: Extracted packet for processing {"connection_id":162867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c12"} 
[2026-08-23 06:17:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:17: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-08-23 06:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586050048001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452431872,"note":"Value kept but may cause issues"} 
[2026-08-23 06:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787445810000,"timestamp_ms":1787445810000,"timestamp_seconds":1787445810,"priority":1,"record_length":96,"hex_timestamp":"000001a02c129350"} 
[2026-08-23 06:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:17: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 06:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:17: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-08-23 06:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:17:53] 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-08-23 06:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586050048001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3803149176452431872},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586050048001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:17:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:17:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452431872,"description":"Unknown IO ID 45"} 
[2026-08-23 06:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586050048001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452431872}} 
[2026-08-23 06:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":162867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:17:53] local.INFO: GPS data processed {"connection_id":162867,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:17:53] local.INFO: Acknowledgment sent {"connection_id":162867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:18:25] local.INFO: TCP Data received {"connection_id":162867,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:18:25] local.INFO: Processing buffer {"connection_id":162867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:18:25] local.INFO: Packet analysis {"connection_id":162867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c12"} 
[2026-08-23 06:18:25] local.INFO: Extracted packet for processing {"connection_id":162867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c12"} 
[2026-08-23 06:18:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586050048001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452431872,"note":"Value kept but may cause issues"} 
[2026-08-23 06:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787445810000,"timestamp_ms":1787445810000,"timestamp_seconds":1787445810,"priority":1,"record_length":96,"hex_timestamp":"000001a02c129350"} 
[2026-08-23 06:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 06:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06: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-08-23 06:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:18: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-08-23 06:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586050048001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3803149176452431872},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586050048001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:18:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:18:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452431872,"description":"Unknown IO ID 45"} 
[2026-08-23 06:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586050048001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452431872}} 
[2026-08-23 06:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":162867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:18:25] local.INFO: GPS data processed {"connection_id":162867,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:18:25] local.INFO: Acknowledgment sent {"connection_id":162867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:18:47] local.INFO: TCP Data received {"connection_id":161448,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:18:47] local.INFO: Processing buffer {"connection_id":161448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:18:47] local.INFO: IMEI packet received {"connection_id":161448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":161448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:18:52] local.INFO: TCP Data received {"connection_id":161448,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:18:52] local.INFO: Processing buffer {"connection_id":161448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:18:52] local.INFO: IMEI packet received {"connection_id":161448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":161448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:18:53] local.INFO: TCP Data received {"connection_id":161448,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:18:53] local.INFO: Processing buffer {"connection_id":161448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c129350012d34c58006aa44400006011327..."} 
[2026-08-23 06:18:53] local.INFO: Packet analysis {"connection_id":161448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c12"} 
[2026-08-23 06:18:53] local.INFO: Extracted packet for processing {"connection_id":161448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c12"} 
[2026-08-23 06:18:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586050048001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452431872,"note":"Value kept but may cause issues"} 
[2026-08-23 06:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787445810000,"timestamp_ms":1787445810000,"timestamp_seconds":1787445810,"priority":1,"record_length":96,"hex_timestamp":"000001a02c129350"} 
[2026-08-23 06:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 06:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:18:53] 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-08-23 06:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586050048001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3803149176452431872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586050048001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:18:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:18:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452431872,"description":"Unknown IO ID 45"} 
[2026-08-23 06:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586050048001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452431872}} 
[2026-08-23 06:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":161448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:18:53] local.INFO: GPS data processed {"connection_id":161448,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:18:53] local.INFO: Acknowledgment sent {"connection_id":161448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:19:24] local.INFO: TCP Data received {"connection_id":161448,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:19:24] local.INFO: Processing buffer {"connection_id":161448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:19:24] local.INFO: Packet analysis {"connection_id":161448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c17"} 
[2026-08-23 06:19:24] local.INFO: Extracted packet for processing {"connection_id":161448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c17"} 
[2026-08-23 06:19:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586127360001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787446111000,"timestamp_ms":1787446111000,"timestamp_seconds":1787446111,"priority":1,"record_length":96,"hex_timestamp":"000001a02c172b18"} 
[2026-08-23 06:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:19:24] 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-08-23 06:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586127360001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586127360001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:19:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:19:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586127360001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":161448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:19:24] local.INFO: GPS data processed {"connection_id":161448,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:19:24] local.INFO: Acknowledgment sent {"connection_id":161448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:19:47] local.INFO: TCP Data received {"connection_id":160494,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:19:47] local.INFO: Processing buffer {"connection_id":160494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:19:47] local.INFO: IMEI packet received {"connection_id":160494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":160494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:19:52] local.INFO: TCP Data received {"connection_id":160494,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:19:52] local.INFO: Processing buffer {"connection_id":160494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:19:52] local.INFO: IMEI packet received {"connection_id":160494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":160494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:19:53] local.INFO: TCP Data received {"connection_id":160494,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:19:53] local.INFO: Processing buffer {"connection_id":160494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:19:53] local.INFO: Packet analysis {"connection_id":160494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c17"} 
[2026-08-23 06:19:53] local.INFO: Extracted packet for processing {"connection_id":160494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c17"} 
[2026-08-23 06:19:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586127360001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787446111000,"timestamp_ms":1787446111000,"timestamp_seconds":1787446111,"priority":1,"record_length":96,"hex_timestamp":"000001a02c172b18"} 
[2026-08-23 06:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:19:53] 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-08-23 06:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586127360001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586127360001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:19:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:19:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586127360001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":160494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:19:53] local.INFO: GPS data processed {"connection_id":160494,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:19:53] local.INFO: Acknowledgment sent {"connection_id":160494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:20:25] local.INFO: TCP Data received {"connection_id":160494,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:20:25] local.INFO: Processing buffer {"connection_id":160494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:20:25] local.INFO: Packet analysis {"connection_id":160494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c17"} 
[2026-08-23 06:20:25] local.INFO: Extracted packet for processing {"connection_id":160494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c17"} 
[2026-08-23 06:20:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586127360001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787446111000,"timestamp_ms":1787446111000,"timestamp_seconds":1787446111,"priority":1,"record_length":96,"hex_timestamp":"000001a02c172b18"} 
[2026-08-23 06:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586127360001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586127360001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:20:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:20:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586127360001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":160494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:20:25] local.INFO: GPS data processed {"connection_id":160494,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:20:25] local.INFO: Acknowledgment sent {"connection_id":160494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:20:47] local.INFO: TCP Data received {"connection_id":162868,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:20:47] local.INFO: Processing buffer {"connection_id":162868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:20:47] local.INFO: IMEI packet received {"connection_id":162868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":162868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:20:52] local.INFO: TCP Data received {"connection_id":162868,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:20:52] local.INFO: Processing buffer {"connection_id":162868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:20:52] local.INFO: IMEI packet received {"connection_id":162868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":162868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:20:53] local.INFO: TCP Data received {"connection_id":162868,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:20:53] local.INFO: Processing buffer {"connection_id":162868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:20:53] local.INFO: Packet analysis {"connection_id":162868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c17"} 
[2026-08-23 06:20:53] local.INFO: Extracted packet for processing {"connection_id":162868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c17"} 
[2026-08-23 06:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586127360001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787446111000,"timestamp_ms":1787446111000,"timestamp_seconds":1787446111,"priority":1,"record_length":96,"hex_timestamp":"000001a02c172b18"} 
[2026-08-23 06:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:20:53] 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-08-23 06:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586127360001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586127360001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:20:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:20:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586127360001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":162868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:20:53] local.INFO: GPS data processed {"connection_id":162868,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:20:53] local.INFO: Acknowledgment sent {"connection_id":162868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:21:24] local.INFO: TCP Data received {"connection_id":162868,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:21:24] local.INFO: Processing buffer {"connection_id":162868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:21:24] local.INFO: Packet analysis {"connection_id":162868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c17"} 
[2026-08-23 06:21:24] local.INFO: Extracted packet for processing {"connection_id":162868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c17"} 
[2026-08-23 06:21:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586127360001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787446111000,"timestamp_ms":1787446111000,"timestamp_seconds":1787446111,"priority":1,"record_length":96,"hex_timestamp":"000001a02c172b18"} 
[2026-08-23 06:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:21:24] 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-08-23 06:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586127360001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586127360001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:21:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:21:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586127360001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":162868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:21:24] local.INFO: GPS data processed {"connection_id":162868,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:21:24] local.INFO: Acknowledgment sent {"connection_id":162868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:21:47] local.INFO: TCP Data received {"connection_id":160495,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:21:47] local.INFO: Processing buffer {"connection_id":160495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:21:47] local.INFO: IMEI packet received {"connection_id":160495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":160495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:21:52] local.INFO: TCP Data received {"connection_id":160495,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:21:52] local.INFO: Processing buffer {"connection_id":160495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:21:52] local.INFO: IMEI packet received {"connection_id":160495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":160495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:21:53] local.INFO: TCP Data received {"connection_id":160495,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:21:53] local.INFO: Processing buffer {"connection_id":160495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:21:53] local.INFO: Packet analysis {"connection_id":160495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c17"} 
[2026-08-23 06:21:53] local.INFO: Extracted packet for processing {"connection_id":160495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c17"} 
[2026-08-23 06:21:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586127360001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787446111000,"timestamp_ms":1787446111000,"timestamp_seconds":1787446111,"priority":1,"record_length":96,"hex_timestamp":"000001a02c172b18"} 
[2026-08-23 06:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:21:53] 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-08-23 06:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:21:53] 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-08-23 06:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586127360001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586127360001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:21:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:21:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586127360001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":160495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:21:53] local.INFO: GPS data processed {"connection_id":160495,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:21:53] local.INFO: Acknowledgment sent {"connection_id":160495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:22:24] local.INFO: TCP Data received {"connection_id":160495,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:22:24] local.INFO: Processing buffer {"connection_id":160495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:22:24] local.INFO: Packet analysis {"connection_id":160495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c17"} 
[2026-08-23 06:22:24] local.INFO: Extracted packet for processing {"connection_id":160495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c17"} 
[2026-08-23 06:22:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 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-08-23 06:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586127360001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787446111000,"timestamp_ms":1787446111000,"timestamp_seconds":1787446111,"priority":1,"record_length":96,"hex_timestamp":"000001a02c172b18"} 
[2026-08-23 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-08-23 06:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:22:24] 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-08-23 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-08-23 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-08-23 06:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:22:24] 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-08-23 06:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586127360001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586127360001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:22:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:22:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586127360001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":160495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:22:24] local.INFO: GPS data processed {"connection_id":160495,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:22:24] local.INFO: Acknowledgment sent {"connection_id":160495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:22:47] local.INFO: TCP Data received {"connection_id":160291,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:22:47] local.INFO: Processing buffer {"connection_id":160291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:22:47] local.INFO: IMEI packet received {"connection_id":160291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":160291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:22:52] local.INFO: TCP Data received {"connection_id":160291,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:22:52] local.INFO: Processing buffer {"connection_id":160291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:22:52] local.INFO: IMEI packet received {"connection_id":160291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":160291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:22:53] local.INFO: TCP Data received {"connection_id":160291,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:22:53] local.INFO: Processing buffer {"connection_id":160291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:22:53] local.INFO: Packet analysis {"connection_id":160291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c17"} 
[2026-08-23 06:22:53] local.INFO: Extracted packet for processing {"connection_id":160291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c17"} 
[2026-08-23 06:22:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586127360001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787446111000,"timestamp_ms":1787446111000,"timestamp_seconds":1787446111,"priority":1,"record_length":96,"hex_timestamp":"000001a02c172b18"} 
[2026-08-23 06:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:22:53] 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-08-23 06:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:22:53] 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-08-23 06:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586127360001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586127360001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:22:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:22:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586127360001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":160291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:22:53] local.INFO: GPS data processed {"connection_id":160291,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:22:53] local.INFO: Acknowledgment sent {"connection_id":160291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:23:24] local.INFO: TCP Data received {"connection_id":160291,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:23:24] local.INFO: Processing buffer {"connection_id":160291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:23:24] local.INFO: Packet analysis {"connection_id":160291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c17"} 
[2026-08-23 06:23:24] local.INFO: Extracted packet for processing {"connection_id":160291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c17"} 
[2026-08-23 06:23:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586127360001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787446111000,"timestamp_ms":1787446111000,"timestamp_seconds":1787446111,"priority":1,"record_length":96,"hex_timestamp":"000001a02c172b18"} 
[2026-08-23 06:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:23:24] 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-08-23 06: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-08-23 06:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:23:24] 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-08-23 06:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586127360001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586127360001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:23:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:23:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586127360001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":160291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:23:24] local.INFO: GPS data processed {"connection_id":160291,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:23:24] local.INFO: Acknowledgment sent {"connection_id":160291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:23:48] local.INFO: TCP Data received {"connection_id":162869,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:23:48] local.INFO: Processing buffer {"connection_id":162869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:23:48] local.INFO: IMEI packet received {"connection_id":162869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":162869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:23:52] local.INFO: TCP Data received {"connection_id":162869,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:23:52] local.INFO: Processing buffer {"connection_id":162869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:23:52] local.INFO: IMEI packet received {"connection_id":162869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":162869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:23:53] local.INFO: TCP Data received {"connection_id":162869,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:23:53] local.INFO: Processing buffer {"connection_id":162869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c172b18012d34c58006aa44400006011328..."} 
[2026-08-23 06:23:53] local.INFO: Packet analysis {"connection_id":162869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c17"} 
[2026-08-23 06:23:53] local.INFO: Extracted packet for processing {"connection_id":162869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c17"} 
[2026-08-23 06:23:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:23: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-08-23 06:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586127360001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787446111000,"timestamp_ms":1787446111000,"timestamp_seconds":1787446111,"priority":1,"record_length":96,"hex_timestamp":"000001a02c172b18"} 
[2026-08-23 06:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:23:53] 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-08-23 06:23: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-08-23 06:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:23:53] 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-08-23 06:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586127360001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586127360001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:23:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:23:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586127360001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":162869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:23:53] local.INFO: GPS data processed {"connection_id":162869,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:23:53] local.INFO: Acknowledgment sent {"connection_id":162869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:24:25] local.INFO: TCP Data received {"connection_id":162869,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:24:25] local.INFO: Processing buffer {"connection_id":162869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:24:25] local.INFO: Packet analysis {"connection_id":162869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c1b"} 
[2026-08-23 06:24:25] local.INFO: Extracted packet for processing {"connection_id":162869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c1b"} 
[2026-08-23 06:24:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586204416001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787446412000,"timestamp_ms":1787446412000,"timestamp_seconds":1787446412,"priority":1,"record_length":96,"hex_timestamp":"000001a02c1bc2e0"} 
[2026-08-23 06:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06: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-08-23 06:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586204416001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586204416001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:24:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:24:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586204416001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":162869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:24:25] local.INFO: GPS data processed {"connection_id":162869,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:24:25] local.INFO: Acknowledgment sent {"connection_id":162869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:24:47] local.INFO: TCP Data received {"connection_id":162870,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:24:47] local.INFO: Processing buffer {"connection_id":162870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:24:47] local.INFO: IMEI packet received {"connection_id":162870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":162870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:24:52] local.INFO: TCP Data received {"connection_id":162870,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:24:52] local.INFO: Processing buffer {"connection_id":162870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:24:52] local.INFO: IMEI packet received {"connection_id":162870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":162870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:24:53] local.INFO: TCP Data received {"connection_id":162870,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:24:53] local.INFO: Processing buffer {"connection_id":162870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:24:53] local.INFO: Packet analysis {"connection_id":162870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c1b"} 
[2026-08-23 06:24:53] local.INFO: Extracted packet for processing {"connection_id":162870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c1b"} 
[2026-08-23 06:24:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586204416001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787446412000,"timestamp_ms":1787446412000,"timestamp_seconds":1787446412,"priority":1,"record_length":96,"hex_timestamp":"000001a02c1bc2e0"} 
[2026-08-23 06:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:24:53] 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-08-23 06:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586204416001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586204416001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:24:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:24:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586204416001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":162870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:24:53] local.INFO: GPS data processed {"connection_id":162870,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:24:53] local.INFO: Acknowledgment sent {"connection_id":162870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:25:24] local.INFO: TCP Data received {"connection_id":162870,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:25:24] local.INFO: Processing buffer {"connection_id":162870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:25:24] local.INFO: Packet analysis {"connection_id":162870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c1b"} 
[2026-08-23 06:25:24] local.INFO: Extracted packet for processing {"connection_id":162870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c1b"} 
[2026-08-23 06:25:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586204416001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787446412000,"timestamp_ms":1787446412000,"timestamp_seconds":1787446412,"priority":1,"record_length":96,"hex_timestamp":"000001a02c1bc2e0"} 
[2026-08-23 06:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:25:24] 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-08-23 06:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586204416001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586204416001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:25:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:25:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586204416001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":162870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:25:24] local.INFO: GPS data processed {"connection_id":162870,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:25:24] local.INFO: Acknowledgment sent {"connection_id":162870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:25:47] local.INFO: TCP Data received {"connection_id":162871,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:25:47] local.INFO: Processing buffer {"connection_id":162871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:25:47] local.INFO: IMEI packet received {"connection_id":162871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":162871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:25:52] local.INFO: TCP Data received {"connection_id":162871,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:25:52] local.INFO: Processing buffer {"connection_id":162871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:25:52] local.INFO: IMEI packet received {"connection_id":162871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":162871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:25:53] local.INFO: TCP Data received {"connection_id":162871,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:25:53] local.INFO: Processing buffer {"connection_id":162871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:25:53] local.INFO: Packet analysis {"connection_id":162871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c1b"} 
[2026-08-23 06:25:53] local.INFO: Extracted packet for processing {"connection_id":162871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c1b"} 
[2026-08-23 06:25:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586204416001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787446412000,"timestamp_ms":1787446412000,"timestamp_seconds":1787446412,"priority":1,"record_length":96,"hex_timestamp":"000001a02c1bc2e0"} 
[2026-08-23 06:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586204416001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586204416001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:25:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:25:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586204416001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":162871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:25:53] local.INFO: GPS data processed {"connection_id":162871,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:25:53] local.INFO: Acknowledgment sent {"connection_id":162871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:26:24] local.INFO: TCP Data received {"connection_id":162871,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:26:24] local.INFO: Processing buffer {"connection_id":162871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:26:24] local.INFO: Packet analysis {"connection_id":162871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c1b"} 
[2026-08-23 06:26:24] local.INFO: Extracted packet for processing {"connection_id":162871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c1b"} 
[2026-08-23 06:26:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586204416001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787446412000,"timestamp_ms":1787446412000,"timestamp_seconds":1787446412,"priority":1,"record_length":96,"hex_timestamp":"000001a02c1bc2e0"} 
[2026-08-23 06:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06: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-08-23 06:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586204416001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586204416001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:26:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:26:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586204416001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":162871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:26:24] local.INFO: GPS data processed {"connection_id":162871,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:26:24] local.INFO: Acknowledgment sent {"connection_id":162871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:26:47] local.INFO: TCP Data received {"connection_id":161449,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:26:47] local.INFO: Processing buffer {"connection_id":161449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:26:47] local.INFO: IMEI packet received {"connection_id":161449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":161449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:26:52] local.INFO: TCP Data received {"connection_id":161449,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:26:52] local.INFO: Processing buffer {"connection_id":161449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:26:52] local.INFO: IMEI packet received {"connection_id":161449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":161449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:26:53] local.INFO: TCP Data received {"connection_id":161449,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:26:53] local.INFO: Processing buffer {"connection_id":161449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:26:53] local.INFO: Packet analysis {"connection_id":161449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c1b"} 
[2026-08-23 06:26:53] local.INFO: Extracted packet for processing {"connection_id":161449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c1b"} 
[2026-08-23 06:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586204416001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787446412000,"timestamp_ms":1787446412000,"timestamp_seconds":1787446412,"priority":1,"record_length":96,"hex_timestamp":"000001a02c1bc2e0"} 
[2026-08-23 06:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586204416001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586204416001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:26:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586204416001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":161449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:26:53] local.INFO: GPS data processed {"connection_id":161449,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:26:53] local.INFO: Acknowledgment sent {"connection_id":161449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:27:24] local.INFO: TCP Data received {"connection_id":161449,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:27:24] local.INFO: Processing buffer {"connection_id":161449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:27:24] local.INFO: Packet analysis {"connection_id":161449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c1b"} 
[2026-08-23 06:27:24] local.INFO: Extracted packet for processing {"connection_id":161449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c1b"} 
[2026-08-23 06:27:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586204416001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787446412000,"timestamp_ms":1787446412000,"timestamp_seconds":1787446412,"priority":1,"record_length":96,"hex_timestamp":"000001a02c1bc2e0"} 
[2026-08-23 06:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06: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-08-23 06:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586204416001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586204416001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:27:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:27:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586204416001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":161449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:27:24] local.INFO: GPS data processed {"connection_id":161449,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:27:24] local.INFO: Acknowledgment sent {"connection_id":161449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:27:47] local.INFO: TCP Data received {"connection_id":160292,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:27:47] local.INFO: Processing buffer {"connection_id":160292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:27:47] local.INFO: IMEI packet received {"connection_id":160292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":160292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:27:52] local.INFO: TCP Data received {"connection_id":160292,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:27:52] local.INFO: Processing buffer {"connection_id":160292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:27:52] local.INFO: IMEI packet received {"connection_id":160292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":160292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:27:53] local.INFO: TCP Data received {"connection_id":160292,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:27:53] local.INFO: Processing buffer {"connection_id":160292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:27:53] local.INFO: Packet analysis {"connection_id":160292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c1b"} 
[2026-08-23 06:27:53] local.INFO: Extracted packet for processing {"connection_id":160292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c1b"} 
[2026-08-23 06:27:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586204416001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787446412000,"timestamp_ms":1787446412000,"timestamp_seconds":1787446412,"priority":1,"record_length":96,"hex_timestamp":"000001a02c1bc2e0"} 
[2026-08-23 06:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586204416001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586204416001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:27:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:27:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586204416001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":160292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:27:53] local.INFO: GPS data processed {"connection_id":160292,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:27:53] local.INFO: Acknowledgment sent {"connection_id":160292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:28:26] local.INFO: TCP Data received {"connection_id":160292,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:28:26] local.INFO: Processing buffer {"connection_id":160292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:28:26] local.INFO: Packet analysis {"connection_id":160292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c1b"} 
[2026-08-23 06:28:26] local.INFO: Extracted packet for processing {"connection_id":160292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c1b"} 
[2026-08-23 06:28:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586204416001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787446412000,"timestamp_ms":1787446412000,"timestamp_seconds":1787446412,"priority":1,"record_length":96,"hex_timestamp":"000001a02c1bc2e0"} 
[2026-08-23 06:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06: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-08-23 06:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586204416001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586204416001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:28:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:28:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586204416001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":160292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:28:26] local.INFO: GPS data processed {"connection_id":160292,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:28:26] local.INFO: Acknowledgment sent {"connection_id":160292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:28:47] local.INFO: TCP Data received {"connection_id":160496,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:28:47] local.INFO: Processing buffer {"connection_id":160496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:28:47] local.INFO: IMEI packet received {"connection_id":160496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":160496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:28:52] local.INFO: TCP Data received {"connection_id":160496,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:28:52] local.INFO: Processing buffer {"connection_id":160496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:28:52] local.INFO: IMEI packet received {"connection_id":160496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":160496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:28:53] local.INFO: TCP Data received {"connection_id":160496,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:28:53] local.INFO: Processing buffer {"connection_id":160496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c1bc2e0012d34c58006aa44400006011327..."} 
[2026-08-23 06:28:53] local.INFO: Packet analysis {"connection_id":160496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c1b"} 
[2026-08-23 06:28:53] local.INFO: Extracted packet for processing {"connection_id":160496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c1b"} 
[2026-08-23 06:28:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586204416001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787446412000,"timestamp_ms":1787446412000,"timestamp_seconds":1787446412,"priority":1,"record_length":96,"hex_timestamp":"000001a02c1bc2e0"} 
[2026-08-23 06:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:28:53] 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-08-23 06:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586204416001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586204416001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:28:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:28:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586204416001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":160496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:28:53] local.INFO: GPS data processed {"connection_id":160496,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:28:53] local.INFO: Acknowledgment sent {"connection_id":160496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:29:24] local.INFO: TCP Data received {"connection_id":160496,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:29:24] local.INFO: Processing buffer {"connection_id":160496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:29:24] local.INFO: Packet analysis {"connection_id":160496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c20"} 
[2026-08-23 06:29:24] local.INFO: Extracted packet for processing {"connection_id":160496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c20"} 
[2026-08-23 06:29:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586281472001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787446713000,"timestamp_ms":1787446713000,"timestamp_seconds":1787446713,"priority":1,"record_length":96,"hex_timestamp":"000001a02c205aa8"} 
[2026-08-23 06:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:29:24] 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-08-23 06:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586281472001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586281472001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:29:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:29:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586281472001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":160496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:29:24] local.INFO: GPS data processed {"connection_id":160496,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:29:24] local.INFO: Acknowledgment sent {"connection_id":160496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:29:47] local.INFO: TCP Data received {"connection_id":160293,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:29:47] local.INFO: Processing buffer {"connection_id":160293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:29:47] local.INFO: IMEI packet received {"connection_id":160293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":160293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:29:52] local.INFO: TCP Data received {"connection_id":160293,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:29:52] local.INFO: Processing buffer {"connection_id":160293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:29:52] local.INFO: IMEI packet received {"connection_id":160293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":160293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:29:53] local.INFO: TCP Data received {"connection_id":160293,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:29:53] local.INFO: Processing buffer {"connection_id":160293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:29:53] local.INFO: Packet analysis {"connection_id":160293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c20"} 
[2026-08-23 06:29:53] local.INFO: Extracted packet for processing {"connection_id":160293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c20"} 
[2026-08-23 06:29:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586281472001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787446713000,"timestamp_ms":1787446713000,"timestamp_seconds":1787446713,"priority":1,"record_length":96,"hex_timestamp":"000001a02c205aa8"} 
[2026-08-23 06:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06: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-08-23 06:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586281472001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586281472001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:29:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:29:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586281472001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":160293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:29:53] local.INFO: GPS data processed {"connection_id":160293,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:29:53] local.INFO: Acknowledgment sent {"connection_id":160293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:30:24] local.INFO: TCP Data received {"connection_id":160293,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:30:24] local.INFO: Processing buffer {"connection_id":160293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:30:24] local.INFO: Packet analysis {"connection_id":160293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c20"} 
[2026-08-23 06:30:24] local.INFO: Extracted packet for processing {"connection_id":160293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c20"} 
[2026-08-23 06:30:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586281472001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787446713000,"timestamp_ms":1787446713000,"timestamp_seconds":1787446713,"priority":1,"record_length":96,"hex_timestamp":"000001a02c205aa8"} 
[2026-08-23 06:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586281472001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586281472001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:30:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:30:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586281472001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":160293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:30:24] local.INFO: GPS data processed {"connection_id":160293,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:30:24] local.INFO: Acknowledgment sent {"connection_id":160293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:30:47] local.INFO: TCP Data received {"connection_id":160497,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:30:47] local.INFO: Processing buffer {"connection_id":160497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:30:47] local.INFO: IMEI packet received {"connection_id":160497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":160497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:30:52] local.INFO: TCP Data received {"connection_id":160497,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:30:52] local.INFO: Processing buffer {"connection_id":160497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:30:52] local.INFO: IMEI packet received {"connection_id":160497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":160497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:30:53] local.INFO: TCP Data received {"connection_id":160497,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:30:53] local.INFO: Processing buffer {"connection_id":160497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:30:53] local.INFO: Packet analysis {"connection_id":160497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c20"} 
[2026-08-23 06:30:53] local.INFO: Extracted packet for processing {"connection_id":160497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c20"} 
[2026-08-23 06:30:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586281472001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787446713000,"timestamp_ms":1787446713000,"timestamp_seconds":1787446713,"priority":1,"record_length":96,"hex_timestamp":"000001a02c205aa8"} 
[2026-08-23 06:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06: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-08-23 06:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:30:53] 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-08-23 06:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586281472001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586281472001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:30:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:30:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586281472001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":160497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:30:53] local.INFO: GPS data processed {"connection_id":160497,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:30:53] local.INFO: Acknowledgment sent {"connection_id":160497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:31:24] local.INFO: TCP Data received {"connection_id":160497,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:31:24] local.INFO: Processing buffer {"connection_id":160497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:31:24] local.INFO: Packet analysis {"connection_id":160497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c20"} 
[2026-08-23 06:31:24] local.INFO: Extracted packet for processing {"connection_id":160497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c20"} 
[2026-08-23 06:31:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586281472001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787446713000,"timestamp_ms":1787446713000,"timestamp_seconds":1787446713,"priority":1,"record_length":96,"hex_timestamp":"000001a02c205aa8"} 
[2026-08-23 06:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06: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-08-23 06:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586281472001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586281472001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:31:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:31:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586281472001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":160497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:31:24] local.INFO: GPS data processed {"connection_id":160497,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:31:24] local.INFO: Acknowledgment sent {"connection_id":160497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:31:47] local.INFO: TCP Data received {"connection_id":160294,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:31:47] local.INFO: Processing buffer {"connection_id":160294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:31:47] local.INFO: IMEI packet received {"connection_id":160294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":160294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:31:52] local.INFO: TCP Data received {"connection_id":160294,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:31:52] local.INFO: Processing buffer {"connection_id":160294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:31:52] local.INFO: IMEI packet received {"connection_id":160294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":160294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:31:53] local.INFO: TCP Data received {"connection_id":160294,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:31:53] local.INFO: Processing buffer {"connection_id":160294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:31:53] local.INFO: Packet analysis {"connection_id":160294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c20"} 
[2026-08-23 06:31:53] local.INFO: Extracted packet for processing {"connection_id":160294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c20"} 
[2026-08-23 06:31:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586281472001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787446713000,"timestamp_ms":1787446713000,"timestamp_seconds":1787446713,"priority":1,"record_length":96,"hex_timestamp":"000001a02c205aa8"} 
[2026-08-23 06:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:31:53] 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-08-23 06:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586281472001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586281472001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:31:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:31:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586281472001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":160294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:31:53] local.INFO: GPS data processed {"connection_id":160294,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:31:53] local.INFO: Acknowledgment sent {"connection_id":160294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:32:25] local.INFO: TCP Data received {"connection_id":160294,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:32:25] local.INFO: Processing buffer {"connection_id":160294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:32:25] local.INFO: Packet analysis {"connection_id":160294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c20"} 
[2026-08-23 06:32:25] local.INFO: Extracted packet for processing {"connection_id":160294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c20"} 
[2026-08-23 06:32:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586281472001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787446713000,"timestamp_ms":1787446713000,"timestamp_seconds":1787446713,"priority":1,"record_length":96,"hex_timestamp":"000001a02c205aa8"} 
[2026-08-23 06:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:32:25] 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-08-23 06:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586281472001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586281472001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:32:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:32:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586281472001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":160294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:32:25] local.INFO: GPS data processed {"connection_id":160294,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:32:25] local.INFO: Acknowledgment sent {"connection_id":160294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:32:48] local.INFO: TCP Data received {"connection_id":162872,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:32:48] local.INFO: Processing buffer {"connection_id":162872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:32:48] local.INFO: IMEI packet received {"connection_id":162872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":162872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:32:52] local.INFO: TCP Data received {"connection_id":162872,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:32:52] local.INFO: Processing buffer {"connection_id":162872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:32:52] local.INFO: IMEI packet received {"connection_id":162872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":162872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:32:53] local.INFO: TCP Data received {"connection_id":162872,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:32:53] local.INFO: Processing buffer {"connection_id":162872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:32:53] local.INFO: Packet analysis {"connection_id":162872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c20"} 
[2026-08-23 06:32:53] local.INFO: Extracted packet for processing {"connection_id":162872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c20"} 
[2026-08-23 06:32:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586281472001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787446713000,"timestamp_ms":1787446713000,"timestamp_seconds":1787446713,"priority":1,"record_length":96,"hex_timestamp":"000001a02c205aa8"} 
[2026-08-23 06:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06: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-08-23 06:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586281472001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586281472001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:32:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:32:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586281472001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":162872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:32:53] local.INFO: GPS data processed {"connection_id":162872,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:32:53] local.INFO: Acknowledgment sent {"connection_id":162872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:33:24] local.INFO: TCP Data received {"connection_id":162872,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:33:24] local.INFO: Processing buffer {"connection_id":162872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:33:24] local.INFO: Packet analysis {"connection_id":162872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c20"} 
[2026-08-23 06:33:24] local.INFO: Extracted packet for processing {"connection_id":162872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c20"} 
[2026-08-23 06:33:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586281472001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787446713000,"timestamp_ms":1787446713000,"timestamp_seconds":1787446713,"priority":1,"record_length":96,"hex_timestamp":"000001a02c205aa8"} 
[2026-08-23 06:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586281472001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586281472001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:33:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:33:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586281472001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":162872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:33:24] local.INFO: GPS data processed {"connection_id":162872,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:33:24] local.INFO: Acknowledgment sent {"connection_id":162872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:33:52] local.INFO: TCP Data received {"connection_id":160295,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:33:52] local.INFO: Processing buffer {"connection_id":160295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:33:52] local.INFO: IMEI packet received {"connection_id":160295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":160295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:33:57] local.INFO: TCP Data received {"connection_id":160295,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:33:57] local.INFO: Processing buffer {"connection_id":160295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:33:57] local.INFO: IMEI packet received {"connection_id":160295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":160295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:33:58] local.INFO: TCP Data received {"connection_id":160295,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:33:58] local.INFO: Processing buffer {"connection_id":160295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:33:58] local.INFO: Packet analysis {"connection_id":160295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c20"} 
[2026-08-23 06:33:58] local.INFO: Extracted packet for processing {"connection_id":160295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c20"} 
[2026-08-23 06:33:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586281472001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787446713000,"timestamp_ms":1787446713000,"timestamp_seconds":1787446713,"priority":1,"record_length":96,"hex_timestamp":"000001a02c205aa8"} 
[2026-08-23 06:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:33: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-08-23 06:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586281472001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586281472001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:33:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:33:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586281472001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":160295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:33:58] local.INFO: GPS data processed {"connection_id":160295,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:33:58] local.INFO: Acknowledgment sent {"connection_id":160295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:34:02] local.INFO: TCP Data received {"connection_id":160295,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:34:02] local.INFO: Processing buffer {"connection_id":160295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c205aa8012d34c58006aa44400006011324..."} 
[2026-08-23 06:34:02] local.INFO: Packet analysis {"connection_id":160295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c20"} 
[2026-08-23 06:34:02] local.INFO: Extracted packet for processing {"connection_id":160295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c20"} 
[2026-08-23 06:34:02] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586281472001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787446713000,"timestamp_ms":1787446713000,"timestamp_seconds":1787446713,"priority":1,"record_length":96,"hex_timestamp":"000001a02c205aa8"} 
[2026-08-23 06:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586281472001,"66":25778,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586281472001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:34:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:34:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586281472001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":160295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:34:02] local.INFO: GPS data processed {"connection_id":160295,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:34:02] local.INFO: Acknowledgment sent {"connection_id":160295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:34:47] local.INFO: TCP Data received {"connection_id":161450,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:34:47] local.INFO: Processing buffer {"connection_id":161450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:34:47] local.INFO: IMEI packet received {"connection_id":161450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":161450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:34:52] local.INFO: TCP Data received {"connection_id":161450,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:34:52] local.INFO: Processing buffer {"connection_id":161450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:34:52] local.INFO: IMEI packet received {"connection_id":161450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":161450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:34:53] local.INFO: TCP Data received {"connection_id":161450,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:34:53] local.INFO: Processing buffer {"connection_id":161450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:34:53] local.INFO: Packet analysis {"connection_id":161450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c24"} 
[2026-08-23 06:34:53] local.INFO: Extracted packet for processing {"connection_id":161450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c24"} 
[2026-08-23 06:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:34: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-08-23 06:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586358528001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787447014000,"timestamp_ms":1787447014000,"timestamp_seconds":1787447014,"priority":1,"record_length":96,"hex_timestamp":"000001a02c24f270"} 
[2026-08-23 06:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:34: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-08-23 06:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586358528001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586358528001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:34:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:34:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586358528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":161450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:34:53] local.INFO: GPS data processed {"connection_id":161450,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:34:53] local.INFO: Acknowledgment sent {"connection_id":161450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:35:24] local.INFO: TCP Data received {"connection_id":161450,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:35:24] local.INFO: Processing buffer {"connection_id":161450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:35:24] local.INFO: Packet analysis {"connection_id":161450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c24"} 
[2026-08-23 06:35:24] local.INFO: Extracted packet for processing {"connection_id":161450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c24"} 
[2026-08-23 06:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586358528001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787447014000,"timestamp_ms":1787447014000,"timestamp_seconds":1787447014,"priority":1,"record_length":96,"hex_timestamp":"000001a02c24f270"} 
[2026-08-23 06:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:35: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-08-23 06:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586358528001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586358528001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:35:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586358528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":161450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:35:24] local.INFO: GPS data processed {"connection_id":161450,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:35:24] local.INFO: Acknowledgment sent {"connection_id":161450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:35:47] local.INFO: TCP Data received {"connection_id":161451,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:35:47] local.INFO: Processing buffer {"connection_id":161451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:35:47] local.INFO: IMEI packet received {"connection_id":161451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":161451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:35:52] local.INFO: TCP Data received {"connection_id":161451,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:35:52] local.INFO: Processing buffer {"connection_id":161451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:35:52] local.INFO: IMEI packet received {"connection_id":161451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":161451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:35:53] local.INFO: TCP Data received {"connection_id":161451,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:35:53] local.INFO: Processing buffer {"connection_id":161451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:35:53] local.INFO: Packet analysis {"connection_id":161451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c24"} 
[2026-08-23 06:35:53] local.INFO: Extracted packet for processing {"connection_id":161451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c24"} 
[2026-08-23 06:35:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586358528001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787447014000,"timestamp_ms":1787447014000,"timestamp_seconds":1787447014,"priority":1,"record_length":96,"hex_timestamp":"000001a02c24f270"} 
[2026-08-23 06:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:35: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-08-23 06:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586358528001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586358528001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:35:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:35:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586358528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":161451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:35:53] local.INFO: GPS data processed {"connection_id":161451,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:35:53] local.INFO: Acknowledgment sent {"connection_id":161451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:36:24] local.INFO: TCP Data received {"connection_id":161451,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:36:24] local.INFO: Processing buffer {"connection_id":161451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:36:24] local.INFO: Packet analysis {"connection_id":161451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c24"} 
[2026-08-23 06:36:24] local.INFO: Extracted packet for processing {"connection_id":161451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c24"} 
[2026-08-23 06:36:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586358528001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787447014000,"timestamp_ms":1787447014000,"timestamp_seconds":1787447014,"priority":1,"record_length":96,"hex_timestamp":"000001a02c24f270"} 
[2026-08-23 06:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:36: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-08-23 06:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586358528001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586358528001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:36:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:36:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586358528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":161451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:36:24] local.INFO: GPS data processed {"connection_id":161451,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:36:24] local.INFO: Acknowledgment sent {"connection_id":161451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:36:47] local.INFO: TCP Data received {"connection_id":162873,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:36:47] local.INFO: Processing buffer {"connection_id":162873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:36:47] local.INFO: IMEI packet received {"connection_id":162873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":162873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:37:22] local.INFO: TCP Data received {"connection_id":162874,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:37:22] local.INFO: Processing buffer {"connection_id":162874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:37:22] local.INFO: IMEI packet received {"connection_id":162874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":162874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:37:27] local.INFO: TCP Data received {"connection_id":162874,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:37:27] local.INFO: Processing buffer {"connection_id":162874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:37:27] local.INFO: IMEI packet received {"connection_id":162874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":162874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:37:29] local.INFO: TCP Data received {"connection_id":162874,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:37:29] local.INFO: Processing buffer {"connection_id":162874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:37:29] local.INFO: Packet analysis {"connection_id":162874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c24"} 
[2026-08-23 06:37:29] local.INFO: Extracted packet for processing {"connection_id":162874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c24"} 
[2026-08-23 06:37:29] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586358528001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787447014000,"timestamp_ms":1787447014000,"timestamp_seconds":1787447014,"priority":1,"record_length":96,"hex_timestamp":"000001a02c24f270"} 
[2026-08-23 06:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:37: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-08-23 06:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586358528001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586358528001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:37:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:37:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586358528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":162874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:37:29] local.INFO: GPS data processed {"connection_id":162874,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:37:29] local.INFO: Acknowledgment sent {"connection_id":162874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:37:52] local.INFO: TCP Data received {"connection_id":162875,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:37:52] local.INFO: Processing buffer {"connection_id":162875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:37:52] local.INFO: IMEI packet received {"connection_id":162875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":162875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:37:57] local.INFO: TCP Data received {"connection_id":162875,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:37:57] local.INFO: Processing buffer {"connection_id":162875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:37:57] local.INFO: IMEI packet received {"connection_id":162875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":162875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:37:58] local.INFO: TCP Data received {"connection_id":162875,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:37:58] local.INFO: Processing buffer {"connection_id":162875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:37:58] local.INFO: Packet analysis {"connection_id":162875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c24"} 
[2026-08-23 06:37:58] local.INFO: Extracted packet for processing {"connection_id":162875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c24"} 
[2026-08-23 06:37:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586358528001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787447014000,"timestamp_ms":1787447014000,"timestamp_seconds":1787447014,"priority":1,"record_length":96,"hex_timestamp":"000001a02c24f270"} 
[2026-08-23 06:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:37: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-08-23 06:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586358528001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586358528001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:37:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:37:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586358528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":162875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:37:58] local.INFO: GPS data processed {"connection_id":162875,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:37:58] local.INFO: Acknowledgment sent {"connection_id":162875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:38:02] local.INFO: TCP Data received {"connection_id":162875,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:38:02] local.INFO: Processing buffer {"connection_id":162875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:38:02] local.INFO: Packet analysis {"connection_id":162875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c24"} 
[2026-08-23 06:38:02] local.INFO: Extracted packet for processing {"connection_id":162875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c24"} 
[2026-08-23 06:38:02] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586358528001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787447014000,"timestamp_ms":1787447014000,"timestamp_seconds":1787447014,"priority":1,"record_length":96,"hex_timestamp":"000001a02c24f270"} 
[2026-08-23 06:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586358528001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586358528001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:38:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:38:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586358528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":162875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:38:02] local.INFO: GPS data processed {"connection_id":162875,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:38:02] local.INFO: Acknowledgment sent {"connection_id":162875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:38:47] local.INFO: TCP Data received {"connection_id":160296,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:38:47] local.INFO: Processing buffer {"connection_id":160296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:38:47] local.INFO: IMEI packet received {"connection_id":160296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":160296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:38:52] local.INFO: TCP Data received {"connection_id":160296,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:38:52] local.INFO: Processing buffer {"connection_id":160296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:38:52] local.INFO: IMEI packet received {"connection_id":160296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":160296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:39:04] local.INFO: TCP Data received {"connection_id":160296,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:39:04] local.INFO: Processing buffer {"connection_id":160296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c24f270012d34c58006aa44400006011323..."} 
[2026-08-23 06:39:04] local.INFO: Packet analysis {"connection_id":160296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c24"} 
[2026-08-23 06:39:04] local.INFO: Extracted packet for processing {"connection_id":160296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c24"} 
[2026-08-23 06:39:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586358528001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787447014000,"timestamp_ms":1787447014000,"timestamp_seconds":1787447014,"priority":1,"record_length":96,"hex_timestamp":"000001a02c24f270"} 
[2026-08-23 06:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 06:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06: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-08-23 06:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:39:04] 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-08-23 06:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586358528001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586358528001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:39:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:39:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586358528001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":160296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:39:04] local.INFO: GPS data processed {"connection_id":160296,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:39:04] local.INFO: Acknowledgment sent {"connection_id":160296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:39:47] local.INFO: TCP Data received {"connection_id":161452,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:39:47] local.INFO: Processing buffer {"connection_id":161452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:39:47] local.INFO: IMEI packet received {"connection_id":161452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":161452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:39:52] local.INFO: TCP Data received {"connection_id":161452,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:39:52] local.INFO: Processing buffer {"connection_id":161452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:39:52] local.INFO: IMEI packet received {"connection_id":161452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":161452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:39:53] local.INFO: TCP Data received {"connection_id":161452,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:39:53] local.INFO: Processing buffer {"connection_id":161452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:39:53] local.INFO: Packet analysis {"connection_id":161452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c29"} 
[2026-08-23 06:39:53] local.INFO: Extracted packet for processing {"connection_id":161452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c29"} 
[2026-08-23 06:39:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586435584001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787447315000,"timestamp_ms":1787447315000,"timestamp_seconds":1787447315,"priority":1,"record_length":96,"hex_timestamp":"000001a02c298a38"} 
[2026-08-23 06:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:39:53] 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-08-23 06:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:39:53] 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-08-23 06:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586435584001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586435584001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:39:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:39:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586435584001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":161452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:39:53] local.INFO: GPS data processed {"connection_id":161452,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:39:53] local.INFO: Acknowledgment sent {"connection_id":161452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:40:24] local.INFO: TCP Data received {"connection_id":161452,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:40:24] local.INFO: Processing buffer {"connection_id":161452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:40:24] local.INFO: Packet analysis {"connection_id":161452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c29"} 
[2026-08-23 06:40:24] local.INFO: Extracted packet for processing {"connection_id":161452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c29"} 
[2026-08-23 06:40:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586435584001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787447315000,"timestamp_ms":1787447315000,"timestamp_seconds":1787447315,"priority":1,"record_length":96,"hex_timestamp":"000001a02c298a38"} 
[2026-08-23 06:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:40: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-08-23 06:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:40:24] 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-08-23 06:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:40:24] 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-08-23 06:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586435584001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586435584001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:40:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:40:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586435584001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":161452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:40:24] local.INFO: GPS data processed {"connection_id":161452,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:40:24] local.INFO: Acknowledgment sent {"connection_id":161452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:40:47] local.INFO: TCP Data received {"connection_id":160297,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:40:47] local.INFO: Processing buffer {"connection_id":160297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:40:47] local.INFO: IMEI packet received {"connection_id":160297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":160297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:40:52] local.INFO: TCP Data received {"connection_id":160297,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:40:52] local.INFO: Processing buffer {"connection_id":160297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:40:52] local.INFO: IMEI packet received {"connection_id":160297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":160297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:40:53] local.INFO: TCP Data received {"connection_id":160297,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:40:53] local.INFO: Processing buffer {"connection_id":160297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:40:53] local.INFO: Packet analysis {"connection_id":160297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c29"} 
[2026-08-23 06:40:53] local.INFO: Extracted packet for processing {"connection_id":160297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c29"} 
[2026-08-23 06:40:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586435584001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787447315000,"timestamp_ms":1787447315000,"timestamp_seconds":1787447315,"priority":1,"record_length":96,"hex_timestamp":"000001a02c298a38"} 
[2026-08-23 06:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:40:53] 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-08-23 06:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:40:53] 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-08-23 06:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586435584001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586435584001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:40:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:40:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586435584001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":160297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:40:53] local.INFO: GPS data processed {"connection_id":160297,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:40:53] local.INFO: Acknowledgment sent {"connection_id":160297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:41:24] local.INFO: TCP Data received {"connection_id":160297,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:41:24] local.INFO: Processing buffer {"connection_id":160297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:41:24] local.INFO: Packet analysis {"connection_id":160297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c29"} 
[2026-08-23 06:41:24] local.INFO: Extracted packet for processing {"connection_id":160297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c29"} 
[2026-08-23 06:41:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586435584001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787447315000,"timestamp_ms":1787447315000,"timestamp_seconds":1787447315,"priority":1,"record_length":96,"hex_timestamp":"000001a02c298a38"} 
[2026-08-23 06:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:41: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-08-23 06:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:41:24] 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-08-23 06:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586435584001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586435584001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:41:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:41:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586435584001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":160297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:41:24] local.INFO: GPS data processed {"connection_id":160297,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:41:24] local.INFO: Acknowledgment sent {"connection_id":160297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:41:46] local.INFO: TCP Data received {"connection_id":160498,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:41:46] local.INFO: Processing buffer {"connection_id":160498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:41:46] local.INFO: IMEI packet received {"connection_id":160498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":160498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:41:52] local.INFO: TCP Data received {"connection_id":160498,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:41:52] local.INFO: Processing buffer {"connection_id":160498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:41:52] local.INFO: IMEI packet received {"connection_id":160498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":160498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:41:53] local.INFO: TCP Data received {"connection_id":160498,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:41:53] local.INFO: Processing buffer {"connection_id":160498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:41:53] local.INFO: Packet analysis {"connection_id":160498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c29"} 
[2026-08-23 06:41:53] local.INFO: Extracted packet for processing {"connection_id":160498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c29"} 
[2026-08-23 06:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586435584001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787447315000,"timestamp_ms":1787447315000,"timestamp_seconds":1787447315,"priority":1,"record_length":96,"hex_timestamp":"000001a02c298a38"} 
[2026-08-23 06:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:41:53] 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-08-23 06:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:41:53] 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-08-23 06:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586435584001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586435584001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:41:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:41:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586435584001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":160498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:41:53] local.INFO: GPS data processed {"connection_id":160498,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:41:53] local.INFO: Acknowledgment sent {"connection_id":160498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:41:58] local.INFO: TCP Data received {"connection_id":162876,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 06:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 06:41:58] local.INFO: Processing buffer {"connection_id":162876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 06:41:58] local.INFO: IMEI packet received {"connection_id":162876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 06:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":162876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:41:59] local.INFO: TCP Data received {"connection_id":162876,"ip":"42.106.6.38","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 06:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162876,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 06:41:59] local.INFO: Processing buffer {"connection_id":162876,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 06:41:59] local.INFO: IMEI packet received {"connection_id":162876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 06:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":162876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:42:25] local.INFO: TCP Data received {"connection_id":160498,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:42:25] local.INFO: Processing buffer {"connection_id":160498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:42:25] local.INFO: Packet analysis {"connection_id":160498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c29"} 
[2026-08-23 06:42:25] local.INFO: Extracted packet for processing {"connection_id":160498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c29"} 
[2026-08-23 06:42:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586435584001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787447315000,"timestamp_ms":1787447315000,"timestamp_seconds":1787447315,"priority":1,"record_length":96,"hex_timestamp":"000001a02c298a38"} 
[2026-08-23 06:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586435584001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586435584001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:42:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:42:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586435584001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":160498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:42:25] local.INFO: GPS data processed {"connection_id":160498,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:42:25] local.INFO: Acknowledgment sent {"connection_id":160498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:42:52] local.INFO: TCP Data received {"connection_id":162877,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:42:52] local.INFO: Processing buffer {"connection_id":162877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:42:52] local.INFO: IMEI packet received {"connection_id":162877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":162877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:42:57] local.INFO: TCP Data received {"connection_id":162877,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:42:57] local.INFO: Processing buffer {"connection_id":162877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:42:57] local.INFO: IMEI packet received {"connection_id":162877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":162877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:42:58] local.INFO: TCP Data received {"connection_id":162877,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:42:58] local.INFO: Processing buffer {"connection_id":162877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:42:58] local.INFO: Packet analysis {"connection_id":162877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c29"} 
[2026-08-23 06:42:58] local.INFO: Extracted packet for processing {"connection_id":162877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c29"} 
[2026-08-23 06:42:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586435584001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787447315000,"timestamp_ms":1787447315000,"timestamp_seconds":1787447315,"priority":1,"record_length":96,"hex_timestamp":"000001a02c298a38"} 
[2026-08-23 06:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:42: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-08-23 06: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:42: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-08-23 06: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-08-23 06:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586435584001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586435584001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:42:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:42:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586435584001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":162877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:42:58] local.INFO: GPS data processed {"connection_id":162877,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:42:58] local.INFO: Acknowledgment sent {"connection_id":162877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:43:02] local.INFO: TCP Data received {"connection_id":162877,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:43:02] local.INFO: Processing buffer {"connection_id":162877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:43:02] local.INFO: Packet analysis {"connection_id":162877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c29"} 
[2026-08-23 06:43:02] local.INFO: Extracted packet for processing {"connection_id":162877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c29"} 
[2026-08-23 06:43:02] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586435584001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787447315000,"timestamp_ms":1787447315000,"timestamp_seconds":1787447315,"priority":1,"record_length":96,"hex_timestamp":"000001a02c298a38"} 
[2026-08-23 06:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586435584001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586435584001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:43:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:43:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586435584001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":162877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:43:02] local.INFO: GPS data processed {"connection_id":162877,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:43:02] local.INFO: Acknowledgment sent {"connection_id":162877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:43:47] local.INFO: TCP Data received {"connection_id":162878,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:43:47] local.INFO: Processing buffer {"connection_id":162878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:43:47] local.INFO: IMEI packet received {"connection_id":162878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":162878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:43:52] local.INFO: TCP Data received {"connection_id":162878,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:43:52] local.INFO: Processing buffer {"connection_id":162878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:43:52] local.INFO: IMEI packet received {"connection_id":162878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":162878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:43:53] local.INFO: TCP Data received {"connection_id":162878,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:43:53] local.INFO: Processing buffer {"connection_id":162878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c298a38012d34c58006aa44400006011326..."} 
[2026-08-23 06:43:53] local.INFO: Packet analysis {"connection_id":162878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c29"} 
[2026-08-23 06:43:53] local.INFO: Extracted packet for processing {"connection_id":162878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c29"} 
[2026-08-23 06:43:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586435584001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787447315000,"timestamp_ms":1787447315000,"timestamp_seconds":1787447315,"priority":1,"record_length":96,"hex_timestamp":"000001a02c298a38"} 
[2026-08-23 06:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:43:53] 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-08-23 06:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586435584001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586435584001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:43:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:43:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586435584001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":162878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:43:53] local.INFO: GPS data processed {"connection_id":162878,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:43:53] local.INFO: Acknowledgment sent {"connection_id":162878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:44:25] local.INFO: TCP Data received {"connection_id":162878,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:44:25] local.INFO: Processing buffer {"connection_id":162878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:44:25] local.INFO: Packet analysis {"connection_id":162878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c2e"} 
[2026-08-23 06:44:25] local.INFO: Extracted packet for processing {"connection_id":162878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c2e"} 
[2026-08-23 06:44:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586512640001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787447616000,"timestamp_ms":1787447616000,"timestamp_seconds":1787447616,"priority":1,"record_length":96,"hex_timestamp":"000001a02c2e2200"} 
[2026-08-23 06:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06: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-08-23 06:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586512640001,"66":25734,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586512640001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:44:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:44:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586512640001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":162878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:44:25] local.INFO: GPS data processed {"connection_id":162878,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:44:25] local.INFO: Acknowledgment sent {"connection_id":162878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:44:47] local.INFO: TCP Data received {"connection_id":161453,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:44:47] local.INFO: Processing buffer {"connection_id":161453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:44:47] local.INFO: IMEI packet received {"connection_id":161453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":161453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:44:52] local.INFO: TCP Data received {"connection_id":161453,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:44:52] local.INFO: Processing buffer {"connection_id":161453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:44:52] local.INFO: IMEI packet received {"connection_id":161453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":161453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:44:53] local.INFO: TCP Data received {"connection_id":161453,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:44:53] local.INFO: Processing buffer {"connection_id":161453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:44:53] local.INFO: Packet analysis {"connection_id":161453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c2e"} 
[2026-08-23 06:44:53] local.INFO: Extracted packet for processing {"connection_id":161453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c2e"} 
[2026-08-23 06:44:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:44: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-08-23 06:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586512640001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787447616000,"timestamp_ms":1787447616000,"timestamp_seconds":1787447616,"priority":1,"record_length":96,"hex_timestamp":"000001a02c2e2200"} 
[2026-08-23 06:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:44:53] 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-08-23 06:44: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-08-23 06:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586512640001,"66":25734,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586512640001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:44:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:44:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586512640001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":161453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:44:53] local.INFO: GPS data processed {"connection_id":161453,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:44:53] local.INFO: Acknowledgment sent {"connection_id":161453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:45:24] local.INFO: TCP Data received {"connection_id":161453,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:45:24] local.INFO: Processing buffer {"connection_id":161453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:45:24] local.INFO: Packet analysis {"connection_id":161453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c2e"} 
[2026-08-23 06:45:24] local.INFO: Extracted packet for processing {"connection_id":161453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c2e"} 
[2026-08-23 06:45:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586512640001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787447616000,"timestamp_ms":1787447616000,"timestamp_seconds":1787447616,"priority":1,"record_length":96,"hex_timestamp":"000001a02c2e2200"} 
[2026-08-23 06:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:45: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-08-23 06:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:45:24] 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-08-23 06:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586512640001,"66":25734,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586512640001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:45:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:45:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586512640001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":161453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:45:24] local.INFO: GPS data processed {"connection_id":161453,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:45:24] local.INFO: Acknowledgment sent {"connection_id":161453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:45:47] local.INFO: TCP Data received {"connection_id":160499,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:45:47] local.INFO: Processing buffer {"connection_id":160499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:45:47] local.INFO: IMEI packet received {"connection_id":160499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":160499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:45:52] local.INFO: TCP Data received {"connection_id":160499,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:45:52] local.INFO: Processing buffer {"connection_id":160499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:45:52] local.INFO: IMEI packet received {"connection_id":160499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":160499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:45:53] local.INFO: TCP Data received {"connection_id":160499,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:45:53] local.INFO: Processing buffer {"connection_id":160499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:45:53] local.INFO: Packet analysis {"connection_id":160499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c2e"} 
[2026-08-23 06:45:53] local.INFO: Extracted packet for processing {"connection_id":160499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c2e"} 
[2026-08-23 06:45:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:45: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-08-23 06:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586512640001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787447616000,"timestamp_ms":1787447616000,"timestamp_seconds":1787447616,"priority":1,"record_length":96,"hex_timestamp":"000001a02c2e2200"} 
[2026-08-23 06:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:45:53] 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-08-23 06:45: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-08-23 06:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:45:53] 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-08-23 06:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586512640001,"66":25734,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586512640001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:45:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:45:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586512640001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":160499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:45:53] local.INFO: GPS data processed {"connection_id":160499,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:45:53] local.INFO: Acknowledgment sent {"connection_id":160499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:46:24] local.INFO: TCP Data received {"connection_id":160499,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:46:24] local.INFO: Processing buffer {"connection_id":160499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:46:24] local.INFO: Packet analysis {"connection_id":160499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c2e"} 
[2026-08-23 06:46:24] local.INFO: Extracted packet for processing {"connection_id":160499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c2e"} 
[2026-08-23 06:46:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586512640001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787447616000,"timestamp_ms":1787447616000,"timestamp_seconds":1787447616,"priority":1,"record_length":96,"hex_timestamp":"000001a02c2e2200"} 
[2026-08-23 06:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:46: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-08-23 06:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:46:24] 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-08-23 06:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:46:24] 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-08-23 06:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586512640001,"66":25734,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586512640001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:46:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:46:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586512640001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":160499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:46:24] local.INFO: GPS data processed {"connection_id":160499,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:46:24] local.INFO: Acknowledgment sent {"connection_id":160499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:46:47] local.INFO: TCP Data received {"connection_id":160298,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:46:47] local.INFO: Processing buffer {"connection_id":160298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:46:47] local.INFO: IMEI packet received {"connection_id":160298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":160298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:46:52] local.INFO: TCP Data received {"connection_id":160298,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:46:52] local.INFO: Processing buffer {"connection_id":160298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:46:52] local.INFO: IMEI packet received {"connection_id":160298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":160298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:46:53] local.INFO: TCP Data received {"connection_id":160298,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:46:53] local.INFO: Processing buffer {"connection_id":160298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:46:53] local.INFO: Packet analysis {"connection_id":160298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c2e"} 
[2026-08-23 06:46:53] local.INFO: Extracted packet for processing {"connection_id":160298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c2e"} 
[2026-08-23 06:46:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586512640001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787447616000,"timestamp_ms":1787447616000,"timestamp_seconds":1787447616,"priority":1,"record_length":96,"hex_timestamp":"000001a02c2e2200"} 
[2026-08-23 06:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:46:53] 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-08-23 06:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:46:53] 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-08-23 06:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586512640001,"66":25734,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586512640001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:46:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:46:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586512640001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":160298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:46:53] local.INFO: GPS data processed {"connection_id":160298,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:46:53] local.INFO: Acknowledgment sent {"connection_id":160298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:47:24] local.INFO: TCP Data received {"connection_id":160298,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:47:24] local.INFO: Processing buffer {"connection_id":160298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:47:24] local.INFO: Packet analysis {"connection_id":160298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c2e"} 
[2026-08-23 06:47:24] local.INFO: Extracted packet for processing {"connection_id":160298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c2e"} 
[2026-08-23 06:47:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586512640001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787447616000,"timestamp_ms":1787447616000,"timestamp_seconds":1787447616,"priority":1,"record_length":96,"hex_timestamp":"000001a02c2e2200"} 
[2026-08-23 06:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:47: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-08-23 06:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:47:24] 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-08-23 06:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586512640001,"66":25734,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586512640001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:47:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:47:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586512640001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":160298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:47:24] local.INFO: GPS data processed {"connection_id":160298,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:47:24] local.INFO: Acknowledgment sent {"connection_id":160298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:47:52] local.INFO: TCP Data received {"connection_id":160500,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:47:52] local.INFO: Processing buffer {"connection_id":160500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:47:52] local.INFO: IMEI packet received {"connection_id":160500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":160500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:47:57] local.INFO: TCP Data received {"connection_id":160500,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:47:57] local.INFO: Processing buffer {"connection_id":160500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:47:57] local.INFO: IMEI packet received {"connection_id":160500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":160500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:47:58] local.INFO: TCP Data received {"connection_id":160500,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:47:58] local.INFO: Processing buffer {"connection_id":160500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:47:58] local.INFO: Packet analysis {"connection_id":160500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c2e"} 
[2026-08-23 06:47:58] local.INFO: Extracted packet for processing {"connection_id":160500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c2e"} 
[2026-08-23 06:47:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586512640001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787447616000,"timestamp_ms":1787447616000,"timestamp_seconds":1787447616,"priority":1,"record_length":96,"hex_timestamp":"000001a02c2e2200"} 
[2026-08-23 06:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:47: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-08-23 06: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:47: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-08-23 06: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-08-23 06:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586512640001,"66":25734,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586512640001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:47:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:47:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586512640001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":160500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:47:58] local.INFO: GPS data processed {"connection_id":160500,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:47:58] local.INFO: Acknowledgment sent {"connection_id":160500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:48:02] local.INFO: TCP Data received {"connection_id":160500,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:48:02] local.INFO: Processing buffer {"connection_id":160500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:48:02] local.INFO: Packet analysis {"connection_id":160500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c2e"} 
[2026-08-23 06:48:02] local.INFO: Extracted packet for processing {"connection_id":160500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c2e"} 
[2026-08-23 06:48:02] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586512640001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787447616000,"timestamp_ms":1787447616000,"timestamp_seconds":1787447616,"priority":1,"record_length":96,"hex_timestamp":"000001a02c2e2200"} 
[2026-08-23 06:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06: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-08-23 06:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586512640001,"66":25734,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586512640001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:48:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:48:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586512640001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":160500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:48:02] local.INFO: GPS data processed {"connection_id":160500,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:48:02] local.INFO: Acknowledgment sent {"connection_id":160500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:48:47] local.INFO: TCP Data received {"connection_id":160299,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:48:47] local.INFO: Processing buffer {"connection_id":160299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:48:47] local.INFO: IMEI packet received {"connection_id":160299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":160299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:48:52] local.INFO: TCP Data received {"connection_id":160299,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:48:52] local.INFO: Processing buffer {"connection_id":160299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:48:52] local.INFO: IMEI packet received {"connection_id":160299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":160299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:48:53] local.INFO: TCP Data received {"connection_id":160299,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:48:53] local.INFO: Processing buffer {"connection_id":160299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c2e2200012d34c58006aa44400006011325..."} 
[2026-08-23 06:48:53] local.INFO: Packet analysis {"connection_id":160299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c2e"} 
[2026-08-23 06:48:53] local.INFO: Extracted packet for processing {"connection_id":160299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c2e"} 
[2026-08-23 06:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586512640001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787447616000,"timestamp_ms":1787447616000,"timestamp_seconds":1787447616,"priority":1,"record_length":96,"hex_timestamp":"000001a02c2e2200"} 
[2026-08-23 06:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:48:53] 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-08-23 06:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586512640001,"66":25734,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586512640001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:48:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586512640001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":160299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:48:53] local.INFO: GPS data processed {"connection_id":160299,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:48:53] local.INFO: Acknowledgment sent {"connection_id":160299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:49:24] local.INFO: TCP Data received {"connection_id":160299,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:49:24] local.INFO: Processing buffer {"connection_id":160299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:49:24] local.INFO: Packet analysis {"connection_id":160299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c32"} 
[2026-08-23 06:49:24] local.INFO: Extracted packet for processing {"connection_id":160299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c32"} 
[2026-08-23 06:49:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:49: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-08-23 06:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586589696001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787447917000,"timestamp_ms":1787447917000,"timestamp_seconds":1787447917,"priority":1,"record_length":96,"hex_timestamp":"000001a02c32b9c8"} 
[2026-08-23 06:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:49: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-08-23 06:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-23 06:49:24] 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-08-23 06:49: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-08-23 06:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586589696001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586589696001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:49:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:49:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586589696001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":160299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:49:24] local.INFO: GPS data processed {"connection_id":160299,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:49:24] local.INFO: Acknowledgment sent {"connection_id":160299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:49:46] local.INFO: TCP Data received {"connection_id":160501,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:49:46] local.INFO: Processing buffer {"connection_id":160501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:49:46] local.INFO: IMEI packet received {"connection_id":160501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":160501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:49:52] local.INFO: TCP Data received {"connection_id":160501,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:49:52] local.INFO: Processing buffer {"connection_id":160501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:49:52] local.INFO: IMEI packet received {"connection_id":160501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":160501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:49:53] local.INFO: TCP Data received {"connection_id":160501,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:49:53] local.INFO: Processing buffer {"connection_id":160501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:49:53] local.INFO: Packet analysis {"connection_id":160501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c32"} 
[2026-08-23 06:49:53] local.INFO: Extracted packet for processing {"connection_id":160501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c32"} 
[2026-08-23 06:49:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586589696001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787447917000,"timestamp_ms":1787447917000,"timestamp_seconds":1787447917,"priority":1,"record_length":96,"hex_timestamp":"000001a02c32b9c8"} 
[2026-08-23 06:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-23 06:49:53] 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-08-23 06:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:49:53] 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-08-23 06:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586589696001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586589696001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:49:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:49:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586589696001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":160501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:49:53] local.INFO: GPS data processed {"connection_id":160501,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:49:53] local.INFO: Acknowledgment sent {"connection_id":160501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:50:24] local.INFO: TCP Data received {"connection_id":160501,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:50:24] local.INFO: Processing buffer {"connection_id":160501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:50:24] local.INFO: Packet analysis {"connection_id":160501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c32"} 
[2026-08-23 06:50:24] local.INFO: Extracted packet for processing {"connection_id":160501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c32"} 
[2026-08-23 06:50:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586589696001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787447917000,"timestamp_ms":1787447917000,"timestamp_seconds":1787447917,"priority":1,"record_length":96,"hex_timestamp":"000001a02c32b9c8"} 
[2026-08-23 06:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:50: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-08-23 06:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-23 06:50:24] 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-08-23 06:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:50: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-08-23 06:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586589696001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586589696001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:50:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:50:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586589696001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":160501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:50:24] local.INFO: GPS data processed {"connection_id":160501,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:50:24] local.INFO: Acknowledgment sent {"connection_id":160501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:50:46] local.INFO: TCP Data received {"connection_id":160300,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:50:46] local.INFO: Processing buffer {"connection_id":160300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:50:46] local.INFO: IMEI packet received {"connection_id":160300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":160300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:50:52] local.INFO: TCP Data received {"connection_id":160300,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:50:52] local.INFO: Processing buffer {"connection_id":160300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:50:52] local.INFO: IMEI packet received {"connection_id":160300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":160300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:50:53] local.INFO: TCP Data received {"connection_id":160300,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:50:53] local.INFO: Processing buffer {"connection_id":160300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:50:53] local.INFO: Packet analysis {"connection_id":160300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c32"} 
[2026-08-23 06:50:53] local.INFO: Extracted packet for processing {"connection_id":160300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c32"} 
[2026-08-23 06:50:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586589696001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787447917000,"timestamp_ms":1787447917000,"timestamp_seconds":1787447917,"priority":1,"record_length":96,"hex_timestamp":"000001a02c32b9c8"} 
[2026-08-23 06:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-23 06:50:53] 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-08-23 06:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586589696001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586589696001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:50:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:50:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586589696001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":160300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:50:53] local.INFO: GPS data processed {"connection_id":160300,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:50:53] local.INFO: Acknowledgment sent {"connection_id":160300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:51:24] local.INFO: TCP Data received {"connection_id":160300,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:51:24] local.INFO: Processing buffer {"connection_id":160300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:51:24] local.INFO: Packet analysis {"connection_id":160300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c32"} 
[2026-08-23 06:51:24] local.INFO: Extracted packet for processing {"connection_id":160300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c32"} 
[2026-08-23 06:51:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586589696001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787447917000,"timestamp_ms":1787447917000,"timestamp_seconds":1787447917,"priority":1,"record_length":96,"hex_timestamp":"000001a02c32b9c8"} 
[2026-08-23 06:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:51: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-08-23 06:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-23 06:51:24] 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-08-23 06:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:51: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-08-23 06:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586589696001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586589696001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:51:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:51:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586589696001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":160300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:51:24] local.INFO: GPS data processed {"connection_id":160300,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:51:24] local.INFO: Acknowledgment sent {"connection_id":160300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:51:52] local.INFO: TCP Data received {"connection_id":160502,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:51:52] local.INFO: Processing buffer {"connection_id":160502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:51:52] local.INFO: IMEI packet received {"connection_id":160502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":160502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:51:57] local.INFO: TCP Data received {"connection_id":160502,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:51:57] local.INFO: Processing buffer {"connection_id":160502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:51:57] local.INFO: IMEI packet received {"connection_id":160502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":160502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:51:58] local.INFO: TCP Data received {"connection_id":160502,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:51:58] local.INFO: Processing buffer {"connection_id":160502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:51:58] local.INFO: Packet analysis {"connection_id":160502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c32"} 
[2026-08-23 06:51:58] local.INFO: Extracted packet for processing {"connection_id":160502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c32"} 
[2026-08-23 06:51:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586589696001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787447917000,"timestamp_ms":1787447917000,"timestamp_seconds":1787447917,"priority":1,"record_length":96,"hex_timestamp":"000001a02c32b9c8"} 
[2026-08-23 06:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:51: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-08-23 06:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-23 06:51: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-08-23 06:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586589696001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586589696001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:51:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:51:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586589696001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":160502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:51:58] local.INFO: GPS data processed {"connection_id":160502,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:51:58] local.INFO: Acknowledgment sent {"connection_id":160502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:52:02] local.INFO: TCP Data received {"connection_id":160502,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:52:02] local.INFO: Processing buffer {"connection_id":160502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:52:02] local.INFO: Packet analysis {"connection_id":160502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c32"} 
[2026-08-23 06:52:02] local.INFO: Extracted packet for processing {"connection_id":160502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c32"} 
[2026-08-23 06:52:02] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586589696001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787447917000,"timestamp_ms":1787447917000,"timestamp_seconds":1787447917,"priority":1,"record_length":96,"hex_timestamp":"000001a02c32b9c8"} 
[2026-08-23 06:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-23 06:52:02] 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-08-23 06:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586589696001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586589696001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:52:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:52:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586589696001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":160502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:52:02] local.INFO: GPS data processed {"connection_id":160502,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:52:02] local.INFO: Acknowledgment sent {"connection_id":160502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:52:47] local.INFO: TCP Data received {"connection_id":160503,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:52:47] local.INFO: Processing buffer {"connection_id":160503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:52:47] local.INFO: IMEI packet received {"connection_id":160503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":160503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:52:52] local.INFO: TCP Data received {"connection_id":160503,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:52:52] local.INFO: Processing buffer {"connection_id":160503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:52:52] local.INFO: IMEI packet received {"connection_id":160503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":160503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:52:53] local.INFO: TCP Data received {"connection_id":160503,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:52:53] local.INFO: Processing buffer {"connection_id":160503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:52:53] local.INFO: Packet analysis {"connection_id":160503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c32"} 
[2026-08-23 06:52:53] local.INFO: Extracted packet for processing {"connection_id":160503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c32"} 
[2026-08-23 06:52:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586589696001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787447917000,"timestamp_ms":1787447917000,"timestamp_seconds":1787447917,"priority":1,"record_length":96,"hex_timestamp":"000001a02c32b9c8"} 
[2026-08-23 06:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-23 06:52:53] 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-08-23 06:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:52:53] 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-08-23 06:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586589696001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586589696001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:52:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:52:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586589696001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":160503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:52:53] local.INFO: GPS data processed {"connection_id":160503,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:52:53] local.INFO: Acknowledgment sent {"connection_id":160503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:53:24] local.INFO: TCP Data received {"connection_id":160503,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:53:24] local.INFO: Processing buffer {"connection_id":160503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:53:24] local.INFO: Packet analysis {"connection_id":160503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c32"} 
[2026-08-23 06:53:24] local.INFO: Extracted packet for processing {"connection_id":160503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c32"} 
[2026-08-23 06:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586589696001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787447917000,"timestamp_ms":1787447917000,"timestamp_seconds":1787447917,"priority":1,"record_length":96,"hex_timestamp":"000001a02c32b9c8"} 
[2026-08-23 06:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:53: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-08-23 06:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-23 06:53:24] 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-08-23 06:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:53:24] 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-08-23 06:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586589696001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586589696001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:53:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586589696001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":160503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:53:24] local.INFO: GPS data processed {"connection_id":160503,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:53:24] local.INFO: Acknowledgment sent {"connection_id":160503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:53:47] local.INFO: TCP Data received {"connection_id":160301,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:53:47] local.INFO: Processing buffer {"connection_id":160301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:53:47] local.INFO: IMEI packet received {"connection_id":160301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":160301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:53:52] local.INFO: TCP Data received {"connection_id":160301,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:53:52] local.INFO: Processing buffer {"connection_id":160301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:53:52] local.INFO: IMEI packet received {"connection_id":160301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":160301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:53:53] local.INFO: TCP Data received {"connection_id":160301,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:53:53] local.INFO: Processing buffer {"connection_id":160301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c32b9c8012d34c58006aa44400006011328..."} 
[2026-08-23 06:53:53] local.INFO: Packet analysis {"connection_id":160301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c32"} 
[2026-08-23 06:53:53] local.INFO: Extracted packet for processing {"connection_id":160301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c32"} 
[2026-08-23 06:53:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586589696001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787447917000,"timestamp_ms":1787447917000,"timestamp_seconds":1787447917,"priority":1,"record_length":96,"hex_timestamp":"000001a02c32b9c8"} 
[2026-08-23 06:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-23 06:53:53] 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-08-23 06:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586589696001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586589696001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:53:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:53:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586589696001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":160301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:53:53] local.INFO: GPS data processed {"connection_id":160301,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:53:53] local.INFO: Acknowledgment sent {"connection_id":160301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:54:24] local.INFO: TCP Data received {"connection_id":160301,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02c375190012d34c58006aa44400006011328..."} 
[2026-08-23 06:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c375190012d34c58006aa44400006011328..."} 
[2026-08-23 06:54:24] local.INFO: Processing buffer {"connection_id":160301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c375190012d34c58006aa44400006011328..."} 
[2026-08-23 06:54:24] local.INFO: Packet analysis {"connection_id":160301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c37"} 
[2026-08-23 06:54:24] local.INFO: Extracted packet for processing {"connection_id":160301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c37"} 
[2026-08-23 06:54:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586666752001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787448218000,"timestamp_ms":1787448218000,"timestamp_seconds":1787448218,"priority":1,"record_length":96,"hex_timestamp":"000001a02c375190"} 
[2026-08-23 06:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:54: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-08-23 06:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:54:24] 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-08-23 06:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586666752001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586666752001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:54:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:54:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586666752001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":160301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:54:24] local.INFO: GPS data processed {"connection_id":160301,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:54:24] local.INFO: Acknowledgment sent {"connection_id":160301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:54:25] local.INFO: TCP Data received {"connection_id":160504,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 06:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 06:54:25] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 06:54:25] local.INFO: IMEI packet received {"connection_id":160504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 06:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":160504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:54:30] local.INFO: TCP Data received {"connection_id":160504,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 06:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 06:54:30] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 06:54:30] local.INFO: IMEI packet received {"connection_id":160504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 06:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":160504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:54:31] local.INFO: TCP Data received {"connection_id":160504,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c37e218012d7e410005d35850000d00000d..."} 
[2026-08-23 06:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c37e218012d7e410005d35850000d00000d..."} 
[2026-08-23 06:54:31] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c37e218012d7e410005d35850000d00000d..."} 
[2026-08-23 06:54:31] local.INFO: Packet analysis {"connection_id":160504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c37"} 
[2026-08-23 06:54:31] local.INFO: Extracted packet for processing {"connection_id":160504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c37"} 
[2026-08-23 06:54:31] local.INFO: GPS Element Parsed {"raw_longitude":763248896,"raw_latitude":97736784,"longitude_deg":76.3248896,"latitude_deg":9.7736784,"altitude":13,"angle":0,"satellites":13,"speed":0,"hex_longitude":"2d7e4100","hex_latitude":"05d35850","is_valid_coordinates":true} 
[2026-08-23 06:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586752000001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122389143253680128,"note":"Value kept but may cause issues"} 
[2026-08-23 06:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097623116029833216,"note":"Value kept but may cause issues"} 
[2026-08-23 06:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787448255000,"timestamp_ms":1787448255000,"timestamp_seconds":1787448255,"priority":1,"record_length":96,"hex_timestamp":"000001a02c37e218"} 
[2026-08-23 06:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 06:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-23 06:54:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 06:54:31] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3494051840,"note":"Value kept but may cause issues"} 
[2026-08-23 06:54:31] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,109,85,24,241,157,16,208,183,10,66,116,31,1,240,114,4,113,205,191,239,2,46,178],"length":434,"final_offset":564,"validated_count":24,"validation_warnings":[]} 
[2026-08-23 06:54:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576460799548063813,"timestamp_seconds":576460799548063.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 06:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 06:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 06:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586752000001,"66":11852,"109":206,"85":15104,"24":0,"16":122389143253680128,"45":9097623116029833216},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 06:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 06:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 06:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586752000001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:54:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 06:54:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 06:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122389143253680128,"km_value":122389143253680.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097623116029833216,"description":"Unknown IO ID 45"} 
[2026-08-23 06:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586752000001,"power":11852,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9097623116029833216}} 
[2026-08-23 06:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":160504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:54:31] local.INFO: GPS data processed {"connection_id":160504,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:54:31] local.INFO: Acknowledgment sent {"connection_id":160504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:54:47] local.INFO: TCP Data received {"connection_id":160505,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:54:47] local.INFO: Processing buffer {"connection_id":160505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:54:47] local.INFO: IMEI packet received {"connection_id":160505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":160505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:54:52] local.INFO: TCP Data received {"connection_id":160505,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:54:52] local.INFO: Processing buffer {"connection_id":160505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:54:52] local.INFO: IMEI packet received {"connection_id":160505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":160505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:54:53] local.INFO: TCP Data received {"connection_id":160505,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02c375190012d34c58006aa44400006011328..."} 
[2026-08-23 06:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c375190012d34c58006aa44400006011328..."} 
[2026-08-23 06:54:53] local.INFO: Processing buffer {"connection_id":160505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c375190012d34c58006aa44400006011328..."} 
[2026-08-23 06:54:53] local.INFO: Packet analysis {"connection_id":160505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c37"} 
[2026-08-23 06:54:53] local.INFO: Extracted packet for processing {"connection_id":160505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c37"} 
[2026-08-23 06:54:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586666752001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787448218000,"timestamp_ms":1787448218000,"timestamp_seconds":1787448218,"priority":1,"record_length":96,"hex_timestamp":"000001a02c375190"} 
[2026-08-23 06:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:54:53] 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-08-23 06: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-08-23 06:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586666752001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586666752001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:54:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:54:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586666752001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":160505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:54:53] local.INFO: GPS data processed {"connection_id":160505,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:54:53] local.INFO: Acknowledgment sent {"connection_id":160505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:55:02] local.INFO: TCP Data received {"connection_id":160504,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c383420012d7e408005d358980006000012..."} 
[2026-08-23 06:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c383420012d7e408005d358980006000012..."} 
[2026-08-23 06:55:02] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c383420012d7e408005d358980006000012..."} 
[2026-08-23 06:55:02] local.INFO: Packet analysis {"connection_id":160504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c38"} 
[2026-08-23 06:55:02] local.INFO: Extracted packet for processing {"connection_id":160504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c38"} 
[2026-08-23 06:55:02] local.INFO: GPS Element Parsed {"raw_longitude":763248768,"raw_latitude":97736856,"longitude_deg":76.3248768,"latitude_deg":9.7736856,"altitude":6,"angle":0,"satellites":18,"speed":0,"hex_longitude":"2d7e4080","hex_latitude":"05d35898","is_valid_coordinates":true} 
[2026-08-23 06:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586753280001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122389156138582016,"note":"Value kept but may cause issues"} 
[2026-08-23 06:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097552747285729280,"note":"Value kept but may cause issues"} 
[2026-08-23 06:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787448276000,"timestamp_ms":1787448276000,"timestamp_seconds":1787448276,"priority":1,"record_length":96,"hex_timestamp":"000001a02c383420"} 
[2026-08-23 06:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 06:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-23 06:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 06:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 06:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586753280001,"66":11798,"109":206,"85":15104,"24":0,"16":122389156138582016,"45":9097552747285729280},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 06:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 06:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 06:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586753280001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:55:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 06:55:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 06:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122389156138582016,"km_value":122389156138582.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097552747285729280,"description":"Unknown IO ID 45"} 
[2026-08-23 06:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586753280001,"power":11798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9097552747285729280}} 
[2026-08-23 06:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":160504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:55:02] local.INFO: GPS data processed {"connection_id":160504,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:55:02] local.INFO: Acknowledgment sent {"connection_id":160504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:55:24] local.INFO: TCP Data received {"connection_id":160505,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02c375190012d34c58006aa44400006011328..."} 
[2026-08-23 06:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c375190012d34c58006aa44400006011328..."} 
[2026-08-23 06:55:24] local.INFO: Processing buffer {"connection_id":160505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c375190012d34c58006aa44400006011328..."} 
[2026-08-23 06:55:24] local.INFO: Packet analysis {"connection_id":160505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c37"} 
[2026-08-23 06:55:24] local.INFO: Extracted packet for processing {"connection_id":160505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c37"} 
[2026-08-23 06:55:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586666752001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787448218000,"timestamp_ms":1787448218000,"timestamp_seconds":1787448218,"priority":1,"record_length":96,"hex_timestamp":"000001a02c375190"} 
[2026-08-23 06:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:55: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-08-23 06:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:55:24] 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-08-23 06:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586666752001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586666752001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:55:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:55:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586666752001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":160505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:55:24] local.INFO: GPS data processed {"connection_id":160505,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:55:24] local.INFO: Acknowledgment sent {"connection_id":160505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:55:33] local.INFO: TCP Data received {"connection_id":160504,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c388240012d7e410005d358700005006513..."} 
[2026-08-23 06:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c388240012d7e410005d358700005006513..."} 
[2026-08-23 06:55:33] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c388240012d7e410005d358700005006513..."} 
[2026-08-23 06:55:33] local.INFO: Packet analysis {"connection_id":160504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c38"} 
[2026-08-23 06:55:33] local.INFO: Extracted packet for processing {"connection_id":160504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c38"} 
[2026-08-23 06:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763248896,"raw_latitude":97736816,"longitude_deg":76.3248896,"latitude_deg":9.7736816,"altitude":5,"angle":101,"satellites":19,"speed":1,"hex_longitude":"2d7e4100","hex_latitude":"05d35870","is_valid_coordinates":true} 
[2026-08-23 06:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586758656001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122389169023483904,"note":"Value kept but may cause issues"} 
[2026-08-23 06:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097412009797392384,"note":"Value kept but may cause issues"} 
[2026-08-23 06:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787448296000,"timestamp_ms":1787448296000,"timestamp_seconds":1787448296,"priority":1,"record_length":96,"hex_timestamp":"000001a02c388240"} 
[2026-08-23 06:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 06:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-23 06:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31806676394836037,"note":"Value kept but may cause issues"} 
[2026-08-23 06:55:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":103079215106,"note":"Value kept but may cause issues"} 
[2026-08-23 06:55:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521329672432,"note":"Value kept but may cause issues"} 
[2026-08-23 06:55:33] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184152858829,"note":"Value kept but may cause issues"} 
[2026-08-23 06:55:33] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-3439905690380926976,"note":"Value kept but may cause issues"} 
[2026-08-23 06:55:33] local.WARNING: Large IO value detected {"io_id":98,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-08-23 06:55:33] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,109,85,24,241,157,16,208,160,226,45,88,13,10,66,206,64,87,8,11,183,1,240,93,227,4,113,205,31,239,2,178,98],"length":632,"final_offset":762,"validated_count":33,"validation_warnings":[]} 
[2026-08-23 06:55:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432345641536978944,"timestamp_seconds":432345641536978.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 06:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 06:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 06:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586758656001,"66":11656,"109":206,"85":15104,"24":1,"16":122389169023483904,"45":9097412009797392384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 06:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 06:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 06:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586758656001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:55:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 06:55:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 06:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122389169023483904,"km_value":122389169023483.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097412009797392384,"description":"Unknown IO ID 45"} 
[2026-08-23 06:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586758656001,"power":11656,"unknown_109":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9097412009797392384}} 
[2026-08-23 06:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":160504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:55:33] local.INFO: GPS data processed {"connection_id":160504,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:55:33] local.INFO: Acknowledgment sent {"connection_id":160504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:55:46] local.INFO: TCP Data received {"connection_id":162879,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:55:46] local.INFO: Processing buffer {"connection_id":162879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:55:46] local.INFO: IMEI packet received {"connection_id":162879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":162879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:55:52] local.INFO: TCP Data received {"connection_id":162879,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:55:52] local.INFO: Processing buffer {"connection_id":162879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:55:52] local.INFO: IMEI packet received {"connection_id":162879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":162879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:55:53] local.INFO: TCP Data received {"connection_id":162879,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02c375190012d34c58006aa44400006011328..."} 
[2026-08-23 06:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c375190012d34c58006aa44400006011328..."} 
[2026-08-23 06:55:53] local.INFO: Processing buffer {"connection_id":162879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c375190012d34c58006aa44400006011328..."} 
[2026-08-23 06:55:53] local.INFO: Packet analysis {"connection_id":162879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c37"} 
[2026-08-23 06:55:53] local.INFO: Extracted packet for processing {"connection_id":162879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c37"} 
[2026-08-23 06:55:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:55: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-08-23 06:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586666752001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787448218000,"timestamp_ms":1787448218000,"timestamp_seconds":1787448218,"priority":1,"record_length":96,"hex_timestamp":"000001a02c375190"} 
[2026-08-23 06:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:55:53] 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-08-23 06:55: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-08-23 06:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:55:53] 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-08-23 06:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586666752001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586666752001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:55:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:55:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586666752001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":162879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:55:53] local.INFO: GPS data processed {"connection_id":162879,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:55:53] local.INFO: Acknowledgment sent {"connection_id":162879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:56:04] local.INFO: TCP Data received {"connection_id":160504,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3891e0012d7e42c005d358600005005813..."} 
[2026-08-23 06:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3891e0012d7e42c005d358600005005813..."} 
[2026-08-23 06:56:04] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3891e0012d7e42c005d358600005005813..."} 
[2026-08-23 06:56:04] local.INFO: Packet analysis {"connection_id":160504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c38"} 
[2026-08-23 06:56:04] local.INFO: Extracted packet for processing {"connection_id":160504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c38"} 
[2026-08-23 06:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763249344,"raw_latitude":97736800,"longitude_deg":76.3249344,"latitude_deg":9.77368,"altitude":5,"angle":88,"satellites":19,"speed":7,"hex_longitude":"2d7e42c0","hex_latitude":"05d35860","is_valid_coordinates":true} 
[2026-08-23 06:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586763776001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122389190498320384,"note":"Value kept but may cause issues"} 
[2026-08-23 06:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097552747285737472,"note":"Value kept but may cause issues"} 
[2026-08-23 06:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787448300000,"timestamp_ms":1787448300000,"timestamp_seconds":1787448300,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3891e0"} 
[2026-08-23 06:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 06:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-08-23 06:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 06:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 06:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586763776001,"66":11515,"109":206,"85":15104,"24":7,"16":122389190498320384,"45":9097552747285737472},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 06:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 06:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 06:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586763776001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:56:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 06:56:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 06:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122389190498320384,"km_value":122389190498320.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097552747285737472,"description":"Unknown IO ID 45"} 
[2026-08-23 06:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586763776001,"power":11515,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9097552747285737472}} 
[2026-08-23 06:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":160504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684895,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:56:04] local.INFO: GPS data processed {"connection_id":160504,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:56:04] local.INFO: Acknowledgment sent {"connection_id":160504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:56:25] local.INFO: TCP Data received {"connection_id":162879,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02c375190012d34c58006aa44400006011328..."} 
[2026-08-23 06:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c375190012d34c58006aa44400006011328..."} 
[2026-08-23 06:56:25] local.INFO: Processing buffer {"connection_id":162879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c375190012d34c58006aa44400006011328..."} 
[2026-08-23 06:56:25] local.INFO: Packet analysis {"connection_id":162879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c37"} 
[2026-08-23 06:56:25] local.INFO: Extracted packet for processing {"connection_id":162879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c37"} 
[2026-08-23 06:56:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586666752001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787448218000,"timestamp_ms":1787448218000,"timestamp_seconds":1787448218,"priority":1,"record_length":96,"hex_timestamp":"000001a02c375190"} 
[2026-08-23 06:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586666752001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586666752001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:56:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:56:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586666752001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":162879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:56:25] local.INFO: GPS data processed {"connection_id":162879,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:56:25] local.INFO: Acknowledgment sent {"connection_id":162879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:56:35] local.INFO: TCP Data received {"connection_id":160504,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c39bea8012d7e83c005d308680003004513..."} 
[2026-08-23 06:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c39bea8012d7e83c005d308680003004513..."} 
[2026-08-23 06:56:35] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c39bea8012d7e83c005d308680003004513..."} 
[2026-08-23 06:56:35] local.INFO: Packet analysis {"connection_id":160504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c39"} 
[2026-08-23 06:56:35] local.INFO: Extracted packet for processing {"connection_id":160504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c39"} 
[2026-08-23 06:56:35] local.INFO: GPS Element Parsed {"raw_longitude":763265984,"raw_latitude":97716328,"longitude_deg":76.3265984,"latitude_deg":9.7716328,"altitude":3,"angle":69,"satellites":19,"speed":26,"hex_longitude":"2d7e83c0","hex_latitude":"05d30868","is_valid_coordinates":true} 
[2026-08-23 06:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586780928001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122390882715435008,"note":"Value kept but may cause issues"} 
[2026-08-23 06:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108530271371868160,"note":"Value kept but may cause issues"} 
[2026-08-23 06:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787448377000,"timestamp_ms":1787448377000,"timestamp_seconds":1787448377,"priority":1,"record_length":96,"hex_timestamp":"000001a02c39bea8"} 
[2026-08-23 06:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 06:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-23 06:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 06:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 06:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586780928001,"66":13624,"109":206,"85":15104,"24":26,"16":122390882715435008,"45":9108530271371868160},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 06:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 06:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 06:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586780928001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:56:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 06:56:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 06:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122390882715435008,"km_value":122390882715435.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108530271371868160,"description":"Unknown IO ID 45"} 
[2026-08-23 06:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586780928001,"power":13624,"unknown_109":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9108530271371868160}} 
[2026-08-23 06:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":160504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:56:35] local.INFO: GPS data processed {"connection_id":160504,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:56:35] local.INFO: Acknowledgment sent {"connection_id":160504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:56:52] local.INFO: TCP Data received {"connection_id":161454,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:56:52] local.INFO: Processing buffer {"connection_id":161454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:56:52] local.INFO: IMEI packet received {"connection_id":161454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":161454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:56:57] local.INFO: TCP Data received {"connection_id":161454,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:56:57] local.INFO: Processing buffer {"connection_id":161454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:56:57] local.INFO: IMEI packet received {"connection_id":161454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":161454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:56:58] local.INFO: TCP Data received {"connection_id":161454,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02c375190012d34c58006aa44400006011328..."} 
[2026-08-23 06:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c375190012d34c58006aa44400006011328..."} 
[2026-08-23 06:56:58] local.INFO: Processing buffer {"connection_id":161454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c375190012d34c58006aa44400006011328..."} 
[2026-08-23 06:56:58] local.INFO: Packet analysis {"connection_id":161454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c37"} 
[2026-08-23 06:56:58] local.INFO: Extracted packet for processing {"connection_id":161454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c37"} 
[2026-08-23 06:56:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586666752001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787448218000,"timestamp_ms":1787448218000,"timestamp_seconds":1787448218,"priority":1,"record_length":96,"hex_timestamp":"000001a02c375190"} 
[2026-08-23 06:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:56: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-08-23 06:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:56: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-08-23 06: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-08-23 06:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586666752001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586666752001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:56:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:56:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586666752001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":161454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:56:58] local.INFO: GPS data processed {"connection_id":161454,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:56:58] local.INFO: Acknowledgment sent {"connection_id":161454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:57:02] local.INFO: TCP Data received {"connection_id":161454,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02c375190012d34c58006aa44400006011328..."} 
[2026-08-23 06:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c375190012d34c58006aa44400006011328..."} 
[2026-08-23 06:57:02] local.INFO: Processing buffer {"connection_id":161454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c375190012d34c58006aa44400006011328..."} 
[2026-08-23 06:57:02] local.INFO: Packet analysis {"connection_id":161454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c37"} 
[2026-08-23 06:57:02] local.INFO: Extracted packet for processing {"connection_id":161454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c37"} 
[2026-08-23 06:57:02] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586666752001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787448218000,"timestamp_ms":1787448218000,"timestamp_seconds":1787448218,"priority":1,"record_length":96,"hex_timestamp":"000001a02c375190"} 
[2026-08-23 06:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586666752001,"66":25756,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586666752001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:57:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:57:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586666752001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":161454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:57:02] local.INFO: GPS data processed {"connection_id":161454,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:57:02] local.INFO: Acknowledgment sent {"connection_id":161454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:57:11] local.INFO: TCP Data received {"connection_id":160504,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c39d230012d7e900005d30e800005003913..."} 
[2026-08-23 06:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c39d230012d7e900005d30e800005003913..."} 
[2026-08-23 06:57:11] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c39d230012d7e900005d30e800005003913..."} 
[2026-08-23 06:57:11] local.INFO: Packet analysis {"connection_id":160504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c39"} 
[2026-08-23 06:57:11] local.INFO: Extracted packet for processing {"connection_id":160504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c39"} 
[2026-08-23 06:57:11] local.INFO: GPS Element Parsed {"raw_longitude":763269120,"raw_latitude":97717888,"longitude_deg":76.326912,"latitude_deg":9.7717888,"altitude":5,"angle":57,"satellites":19,"speed":27,"hex_longitude":"2d7e9000","hex_latitude":"05d30e80","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586784512001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122391050219159552,"note":"Value kept but may cause issues"} 
[2026-08-23 06:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9116341201975928832,"note":"Value kept but may cause issues"} 
[2026-08-23 06:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787448382000,"timestamp_ms":1787448382000,"timestamp_seconds":1787448382,"priority":1,"record_length":96,"hex_timestamp":"000001a02c39d230"} 
[2026-08-23 06:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 06: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-23 06:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06: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-08-23 06:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 06:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 06:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586784512001,"66":13515,"109":206,"85":15104,"24":27,"16":122391050219159552,"45":9116341201975928832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 06:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 06:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 06:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586784512001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:57:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 06:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 06:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122391050219159552,"km_value":122391050219159.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9116341201975928832,"description":"Unknown IO ID 45"} 
[2026-08-23 06:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586784512001,"power":13515,"unknown_109":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9116341201975928832}} 
[2026-08-23 06:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":160504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:57:11] local.INFO: GPS data processed {"connection_id":160504,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:57:11] local.INFO: Acknowledgment sent {"connection_id":160504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:57:42] local.INFO: TCP Data received {"connection_id":160504,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c39fd28012d7ea88005d31f38000a004613..."} 
[2026-08-23 06:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c39fd28012d7ea88005d31f38000a004613..."} 
[2026-08-23 06:57:42] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c39fd28012d7ea88005d31f38000a004613..."} 
[2026-08-23 06:57:42] local.INFO: Packet analysis {"connection_id":160504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c39"} 
[2026-08-23 06:57:42] local.INFO: Extracted packet for processing {"connection_id":160504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c39"} 
[2026-08-23 06:57:42] local.INFO: GPS Element Parsed {"raw_longitude":763275392,"raw_latitude":97722168,"longitude_deg":76.3275392,"latitude_deg":9.7722168,"altitude":10,"angle":70,"satellites":19,"speed":24,"hex_longitude":"2d7ea880","hex_latitude":"05d31f38","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586785792001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122391415291379712,"note":"Value kept but may cause issues"} 
[2026-08-23 06:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9119789270441033728,"note":"Value kept but may cause issues"} 
[2026-08-23 06:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787448393000,"timestamp_ms":1787448393000,"timestamp_seconds":1787448393,"priority":1,"record_length":96,"hex_timestamp":"000001a02c39fd28"} 
[2026-08-23 06:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 06: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-23 06:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06: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-08-23 06:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 06:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 06:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586785792001,"66":13515,"109":206,"85":15104,"24":24,"16":122391415291379712,"45":9119789270441033728},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 06:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 06:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 06:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586785792001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:57:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 06:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 06:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122391415291379712,"km_value":122391415291379.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9119789270441033728,"description":"Unknown IO ID 45"} 
[2026-08-23 06:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586785792001,"power":13515,"unknown_109":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9119789270441033728}} 
[2026-08-23 06:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":160504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:57:42] local.INFO: GPS data processed {"connection_id":160504,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:57:42] local.INFO: Acknowledgment sent {"connection_id":160504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:57:47] local.INFO: TCP Data received {"connection_id":160506,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:57:47] local.INFO: Processing buffer {"connection_id":160506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:57:47] local.INFO: IMEI packet received {"connection_id":160506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":160506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:57:49] local.INFO: TCP Data received {"connection_id":160506,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:57:49] local.INFO: Processing buffer {"connection_id":160506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:57:49] local.INFO: IMEI packet received {"connection_id":160506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":160506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:57:52] local.INFO: TCP Data received {"connection_id":160506,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:57:52] local.INFO: Processing buffer {"connection_id":160506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:57:52] local.INFO: IMEI packet received {"connection_id":160506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":160506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:57:53] local.INFO: TCP Data received {"connection_id":160506,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02c39dde8012d34c58006aa44400006011327..."} 
[2026-08-23 06:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c39dde8012d34c58006aa44400006011327..."} 
[2026-08-23 06:57:53] local.INFO: Processing buffer {"connection_id":160506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c39dde8012d34c58006aa44400006011327..."} 
[2026-08-23 06:57:53] local.INFO: Packet analysis {"connection_id":160506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c39"} 
[2026-08-23 06:57:53] local.INFO: Extracted packet for processing {"connection_id":160506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c39"} 
[2026-08-23 06:57:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821888,"longitude_deg":75.8433152,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586743808001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787448385000,"timestamp_ms":1787448385000,"timestamp_seconds":1787448385,"priority":1,"record_length":96,"hex_timestamp":"000001a02c39dde8"} 
[2026-08-23 06:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 06: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 06:57:53] 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-08-23 06: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-08-23 06:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586743808001,"66":25712,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586743808001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:57:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:57:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586743808001,"power":25712,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":160506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:57:53] local.INFO: GPS data processed {"connection_id":160506,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:57:53] local.INFO: Acknowledgment sent {"connection_id":160506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:58:13] local.INFO: TCP Data received {"connection_id":160504,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3a33d8012d7ecb8005d32790000a004c14..."} 
[2026-08-23 06:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3a33d8012d7ecb8005d32790000a004c14..."} 
[2026-08-23 06:58:13] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3a33d8012d7ecb8005d32790000a004c14..."} 
[2026-08-23 06:58:13] local.INFO: Packet analysis {"connection_id":160504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3a"} 
[2026-08-23 06:58:13] local.INFO: Extracted packet for processing {"connection_id":160504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3a"} 
[2026-08-23 06:58:13] local.INFO: GPS Element Parsed {"raw_longitude":763284352,"raw_latitude":97724304,"longitude_deg":76.3284352,"latitude_deg":9.7724304,"altitude":10,"angle":76,"satellites":20,"speed":29,"hex_longitude":"2d7ecb80","hex_latitude":"05d32790","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586788608001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122391857673011200,"note":"Value kept but may cause issues"} 
[2026-08-23 06:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126685407371540480,"note":"Value kept but may cause issues"} 
[2026-08-23 06:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787448407000,"timestamp_ms":1787448407000,"timestamp_seconds":1787448407,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3a33d8"} 
[2026-08-23 06:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 06: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-23 06:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06: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-08-23 06:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 06:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 06:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586788608001,"66":13526,"109":206,"85":15104,"24":29,"16":122391857673011200,"45":9126685407371540480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 06:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 06:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 06:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586788608001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:58:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 06:58:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 06:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122391857673011200,"km_value":122391857673011.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126685407371540480,"description":"Unknown IO ID 45"} 
[2026-08-23 06:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586788608001,"power":13526,"unknown_109":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9126685407371540480}} 
[2026-08-23 06:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":160504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:58:13] local.INFO: GPS data processed {"connection_id":160504,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:58:13] local.INFO: Acknowledgment sent {"connection_id":160504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:58:24] local.INFO: TCP Data received {"connection_id":160506,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3a3f90012d34c78006aa44400006011328..."} 
[2026-08-23 06:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3a3f90012d34c78006aa44400006011328..."} 
[2026-08-23 06:58:24] local.INFO: Processing buffer {"connection_id":160506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3a3f90012d34c78006aa44400006011328..."} 
[2026-08-23 06:58:24] local.INFO: Packet analysis {"connection_id":160506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3a"} 
[2026-08-23 06:58:24] local.INFO: Extracted packet for processing {"connection_id":160506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3a"} 
[2026-08-23 06:58:24] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821888,"longitude_deg":75.8433664,"latitude_deg":11.1821888,"altitude":6,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-08-23 06:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586786560001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929678393049088,"note":"Value kept but may cause issues"} 
[2026-08-23 06:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499010560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787448410000,"timestamp_ms":1787448410000,"timestamp_seconds":1787448410,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3a3f90"} 
[2026-08-23 06:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 06:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-23 06:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586786560001,"66":27767,"97":206,"81":23296,"24":0,"16":389929678393049088,"45":3802586226499010560},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586786560001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:58:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:58:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929678393049088,"km_value":389929678393049.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499010560,"description":"Unknown IO ID 45"} 
[2026-08-23 06:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586786560001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226499010560}} 
[2026-08-23 06:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":160506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:58:24] local.INFO: GPS data processed {"connection_id":160506,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:58:24] local.INFO: Acknowledgment sent {"connection_id":160506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:58:35] local.INFO: TCP Data received {"connection_id":161455,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 06:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 06:58:35] local.INFO: Processing buffer {"connection_id":161455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 06:58:35] local.INFO: IMEI packet received {"connection_id":161455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 06:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":161455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:58:40] local.INFO: TCP Data received {"connection_id":161455,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 06:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 06:58:40] local.INFO: Processing buffer {"connection_id":161455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 06:58:40] local.INFO: IMEI packet received {"connection_id":161455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 06:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":161455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:58:41] local.INFO: TCP Data received {"connection_id":161455,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 06:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 06:58:41] local.INFO: Processing buffer {"connection_id":161455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 06:58:41] local.INFO: IMEI packet received {"connection_id":161455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 06:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":161455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:58:41] local.INFO: TCP Data received {"connection_id":161455,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3a62b8012d7eedc005d33010000a005113..."} 
[2026-08-23 06:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3a62b8012d7eedc005d33010000a005113..."} 
[2026-08-23 06:58:41] local.INFO: Processing buffer {"connection_id":161455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3a62b8012d7eedc005d33010000a005113..."} 
[2026-08-23 06:58:41] local.INFO: Packet analysis {"connection_id":161455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3a"} 
[2026-08-23 06:58:41] local.INFO: Extracted packet for processing {"connection_id":161455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3a"} 
[2026-08-23 06:58:41] local.INFO: GPS Element Parsed {"raw_longitude":763293120,"raw_latitude":97726480,"longitude_deg":76.329312,"latitude_deg":9.772648,"altitude":10,"angle":81,"satellites":19,"speed":24,"hex_longitude":"2d7eedc0","hex_latitude":"05d33010","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586792192001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122392291464708096,"note":"Value kept but may cause issues"} 
[2026-08-23 06:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136537031556960256,"note":"Value kept but may cause issues"} 
[2026-08-23 06:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787448419000,"timestamp_ms":1787448419000,"timestamp_seconds":1787448419,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3a62b8"} 
[2026-08-23 06:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 06: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-23 06:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06: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-08-23 06:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 06:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 06:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586792192001,"66":13396,"109":206,"85":15104,"24":24,"16":122392291464708096,"45":9136537031556960256},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 06:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 06:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 06:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586792192001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:58:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 06:58:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 06:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122392291464708096,"km_value":122392291464708.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136537031556960256,"description":"Unknown IO ID 45"} 
[2026-08-23 06:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586792192001,"power":13396,"unknown_109":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9136537031556960256}} 
[2026-08-23 06:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":161455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:58:42] local.INFO: GPS data processed {"connection_id":161455,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:58:42] local.INFO: Acknowledgment sent {"connection_id":161455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:58:45] local.INFO: TCP Data received {"connection_id":161455,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3a9198012d7f024005d332d80008004114..."} 
[2026-08-23 06:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3a9198012d7f024005d332d80008004114..."} 
[2026-08-23 06:58:45] local.INFO: Processing buffer {"connection_id":161455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3a9198012d7f024005d332d80008004114..."} 
[2026-08-23 06:58:45] local.INFO: Packet analysis {"connection_id":161455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3a"} 
[2026-08-23 06:58:45] local.INFO: Extracted packet for processing {"connection_id":161455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3a"} 
[2026-08-23 06:58:45] local.INFO: GPS Element Parsed {"raw_longitude":763298368,"raw_latitude":97727192,"longitude_deg":76.3298368,"latitude_deg":9.7727192,"altitude":8,"angle":65,"satellites":20,"speed":15,"hex_longitude":"2d7f0240","hex_latitude":"05d332d8","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586795264001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122392544867778560,"note":"Value kept but may cause issues"} 
[2026-08-23 06:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9146177549509857280,"note":"Value kept but may cause issues"} 
[2026-08-23 06:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787448431000,"timestamp_ms":1787448431000,"timestamp_seconds":1787448431,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3a9198"} 
[2026-08-23 06:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 06: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-23 06:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06: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-08-23 06:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 06:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 06:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586795264001,"66":13504,"109":206,"85":15104,"24":15,"16":122392544867778560,"45":9146177549509857280},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 06:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 06:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 06:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586795264001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:58:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 06:58:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 06:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122392544867778560,"km_value":122392544867778.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9146177549509857280,"description":"Unknown IO ID 45"} 
[2026-08-23 06:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586795264001,"power":13504,"unknown_109":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9146177549509857280}} 
[2026-08-23 06:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":161455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:58:45] local.INFO: GPS data processed {"connection_id":161455,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:58:45] local.INFO: Acknowledgment sent {"connection_id":161455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:58:47] local.INFO: TCP Data received {"connection_id":160507,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:58:47] local.INFO: Processing buffer {"connection_id":160507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:58:47] local.INFO: IMEI packet received {"connection_id":160507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":160507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:58:52] local.INFO: TCP Data received {"connection_id":160507,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:58:52] local.INFO: Processing buffer {"connection_id":160507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:58:52] local.INFO: IMEI packet received {"connection_id":160507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":160507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:58:53] local.INFO: TCP Data received {"connection_id":160507,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3b2dd8012d34c24006aa43a00006004528..."} 
[2026-08-23 06:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3b2dd8012d34c24006aa43a00006004528..."} 
[2026-08-23 06:58:53] local.INFO: Processing buffer {"connection_id":160507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3b2dd8012d34c24006aa43a00006004528..."} 
[2026-08-23 06:58:53] local.INFO: Packet analysis {"connection_id":160507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3b"} 
[2026-08-23 06:58:53] local.INFO: Extracted packet for processing {"connection_id":160507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3b"} 
[2026-08-23 06:58:53] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821728,"longitude_deg":75.843232,"latitude_deg":11.1821728,"altitude":6,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa43a0","is_valid_coordinates":true} 
[2026-08-23 06: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-08-23 06:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586808064001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929777177296896,"note":"Value kept but may cause issues"} 
[2026-08-23 06:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080467968,"note":"Value kept but may cause issues"} 
[2026-08-23 06:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787448471000,"timestamp_ms":1787448471000,"timestamp_seconds":1787448471,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3b2dd8"} 
[2026-08-23 06:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:58: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-08-23 06: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-23 06:58:53] 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-08-23 06: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-08-23 06:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586808064001,"66":27821,"97":206,"81":23296,"24":0,"16":389929777177296896,"45":3801601064080467968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586808064001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:58:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:58:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929777177296896,"km_value":389929777177296.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080467968,"description":"Unknown IO ID 45"} 
[2026-08-23 06:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586808064001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080467968}} 
[2026-08-23 06:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":160507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:58:53] local.INFO: GPS data processed {"connection_id":160507,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:58:53] local.INFO: Acknowledgment sent {"connection_id":160507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:59:17] local.INFO: TCP Data received {"connection_id":161455,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3aa520012d7f090005d336880007003114..."} 
[2026-08-23 06:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3aa520012d7f090005d336880007003114..."} 
[2026-08-23 06:59:17] local.INFO: Processing buffer {"connection_id":161455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3aa520012d7f090005d336880007003114..."} 
[2026-08-23 06:59:17] local.INFO: Packet analysis {"connection_id":161455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3a"} 
[2026-08-23 06:59:17] local.INFO: Extracted packet for processing {"connection_id":161455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3a"} 
[2026-08-23 06:59:17] local.INFO: GPS Element Parsed {"raw_longitude":763300096,"raw_latitude":97728136,"longitude_deg":76.3300096,"latitude_deg":9.7728136,"altitude":7,"angle":49,"satellites":20,"speed":14,"hex_longitude":"2d7f0900","hex_latitude":"05d33688","is_valid_coordinates":true} 
[2026-08-23 06:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586798336001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122392639357059072,"note":"Value kept but may cause issues"} 
[2026-08-23 06:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9151947786532608000,"note":"Value kept but may cause issues"} 
[2026-08-23 06:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787448436000,"timestamp_ms":1787448436000,"timestamp_seconds":1787448436,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3aa520"} 
[2026-08-23 06:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 06:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-23 06:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 06:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 06:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586798336001,"66":13493,"109":206,"85":15104,"24":14,"16":122392639357059072,"45":9151947786532608000},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 06:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 06:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 06:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586798336001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:59:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 06:59:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 06:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122392639357059072,"km_value":122392639357059.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9151947786532608000,"description":"Unknown IO ID 45"} 
[2026-08-23 06:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586798336001,"power":13493,"unknown_109":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9151947786532608000}} 
[2026-08-23 06:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":161455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:59:17] local.INFO: GPS data processed {"connection_id":161455,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:59:17] local.INFO: Acknowledgment sent {"connection_id":161455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:59:25] local.INFO: TCP Data received {"connection_id":160507,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3b3990012d34c2c006aa43e00006005328..."} 
[2026-08-23 06:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3b3990012d34c2c006aa43e00006005328..."} 
[2026-08-23 06:59:25] local.INFO: Processing buffer {"connection_id":160507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3b3990012d34c2c006aa43e00006005328..."} 
[2026-08-23 06:59:25] local.INFO: Packet analysis {"connection_id":160507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3b"} 
[2026-08-23 06:59:25] local.INFO: Extracted packet for processing {"connection_id":160507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3b"} 
[2026-08-23 06:59:25] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821792,"longitude_deg":75.8432448,"latitude_deg":11.1821792,"altitude":6,"angle":83,"satellites":40,"speed":3,"hex_longitude":"2d34c2c0","hex_latitude":"06aa43e0","is_valid_coordinates":true} 
[2026-08-23 06:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586808576001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929785767231488,"note":"Value kept but may cause issues"} 
[2026-08-23 06:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824659968,"note":"Value kept but may cause issues"} 
[2026-08-23 06:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787448474000,"timestamp_ms":1787448474000,"timestamp_seconds":1787448474,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3b3990"} 
[2026-08-23 06:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:59: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-08-23 06:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 06:59: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-08-23 06:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586808576001,"66":27974,"97":206,"81":23296,"24":3,"16":389929785767231488,"45":3801671432824659968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586808576001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:59:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:59:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929785767231488,"km_value":389929785767231.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824659968,"description":"Unknown IO ID 45"} 
[2026-08-23 06:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586808576001,"power":27974,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3801671432824659968}} 
[2026-08-23 06:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":160507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:59:25] local.INFO: GPS data processed {"connection_id":160507,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:59:25] local.INFO: Acknowledgment sent {"connection_id":160507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:59:46] local.INFO: TCP Data received {"connection_id":161456,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:59:46] local.INFO: Processing buffer {"connection_id":161456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:59:46] local.INFO: IMEI packet received {"connection_id":161456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 06:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":161456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 06:59:48] local.INFO: TCP Data received {"connection_id":161455,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3ad018012d7f1b4005d348e00008002514..."} 
[2026-08-23 06:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3ad018012d7f1b4005d348e00008002514..."} 
[2026-08-23 06:59:48] local.INFO: Processing buffer {"connection_id":161455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3ad018012d7f1b4005d348e00008002514..."} 
[2026-08-23 06:59:48] local.INFO: Packet analysis {"connection_id":161455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3a"} 
[2026-08-23 06:59:48] local.INFO: Extracted packet for processing {"connection_id":161455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3a"} 
[2026-08-23 06:59:48] local.INFO: GPS Element Parsed {"raw_longitude":763304768,"raw_latitude":97732832,"longitude_deg":76.3304768,"latitude_deg":9.7732832,"altitude":8,"angle":37,"satellites":20,"speed":28,"hex_longitude":"2d7f1b40","hex_latitude":"05d348e0","is_valid_coordinates":true} 
[2026-08-23 06:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586799616001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122392957184638976,"note":"Value kept but may cause issues"} 
[2026-08-23 06:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9153847742625646592,"note":"Value kept but may cause issues"} 
[2026-08-23 06:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787448447000,"timestamp_ms":1787448447000,"timestamp_seconds":1787448447,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3ad018"} 
[2026-08-23 06:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 06:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-23 06:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 06:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 06:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 06:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 06:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586799616001,"66":13472,"109":206,"85":15104,"24":28,"16":122392957184638976,"45":9153847742625646592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 06:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 06:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 06:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586799616001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:59:48] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 06:59:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 06:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122392957184638976,"km_value":122392957184638.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9153847742625646592,"description":"Unknown IO ID 45"} 
[2026-08-23 06:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586799616001,"power":13472,"unknown_109":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9153847742625646592}} 
[2026-08-23 06:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":161455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:59:48] local.INFO: GPS data processed {"connection_id":161455,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:59:48] local.INFO: Acknowledgment sent {"connection_id":161455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 06:59:52] local.INFO: TCP Data received {"connection_id":161456,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:59:52] local.INFO: Processing buffer {"connection_id":161456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 06:59:52] local.INFO: IMEI packet received {"connection_id":161456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 06:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":161456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 06:59:53] local.INFO: TCP Data received {"connection_id":161456,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3b4160012d34c38006aa43f00006005e28..."} 
[2026-08-23 06:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3b4160012d34c38006aa43f00006005e28..."} 
[2026-08-23 06:59:53] local.INFO: Processing buffer {"connection_id":161456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3b4160012d34c38006aa43f00006005e28..."} 
[2026-08-23 06:59:53] local.INFO: Packet analysis {"connection_id":161456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3b"} 
[2026-08-23 06:59:53] local.INFO: Extracted packet for processing {"connection_id":161456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3b"} 
[2026-08-23 06:59:53] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821808,"longitude_deg":75.843264,"latitude_deg":11.1821808,"altitude":6,"angle":94,"satellites":40,"speed":2,"hex_longitude":"2d34c380","hex_latitude":"06aa43f0","is_valid_coordinates":true} 
[2026-08-23 06:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 06:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586809344001,"note":"Value kept but may cause issues"} 
[2026-08-23 06:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929794357166080,"note":"Value kept but may cause issues"} 
[2026-08-23 06:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170313031680,"note":"Value kept but may cause issues"} 
[2026-08-23 06:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 06:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787448476000,"timestamp_ms":1787448476000,"timestamp_seconds":1787448476,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3b4160"} 
[2026-08-23 06:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 06:59: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-08-23 06:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-23 06:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 06:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 06:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 06:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 06:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 06:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 06:59:53] 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-08-23 06:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 06:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 06:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586809344001,"66":28028,"97":206,"81":23296,"24":2,"16":389929794357166080,"45":3801812170313031680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 06:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 06:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 06:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586809344001,"description":"Unknown IO ID 0"} 
[2026-08-23 06:59:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 06:59:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 06:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929794357166080,"km_value":389929794357166.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 06:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170313031680,"description":"Unknown IO ID 45"} 
[2026-08-23 06:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586809344001,"power":28028,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3801812170313031680}} 
[2026-08-23 06:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":161456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 06:59:53] local.INFO: GPS data processed {"connection_id":161456,"processed":1,"errors":0,"total":1} 
[2026-08-23 06:59:53] local.INFO: Acknowledgment sent {"connection_id":161456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:00:19] local.INFO: TCP Data received {"connection_id":161455,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3d4cd0012d80414005d385a00006009116..."} 
[2026-08-23 07:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3d4cd0012d80414005d385a00006009116..."} 
[2026-08-23 07:00:19] local.INFO: Processing buffer {"connection_id":161455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3d4cd0012d80414005d385a00006009116..."} 
[2026-08-23 07:00:19] local.INFO: Packet analysis {"connection_id":161455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3d"} 
[2026-08-23 07:00:19] local.INFO: Extracted packet for processing {"connection_id":161455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3d"} 
[2026-08-23 07:00:19] local.INFO: GPS Element Parsed {"raw_longitude":763380032,"raw_latitude":97748384,"longitude_deg":76.3380032,"latitude_deg":9.7748384,"altitude":6,"angle":145,"satellites":22,"speed":20,"hex_longitude":"2d804140","hex_latitude":"05d385a0","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586842880001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122397166252589056,"note":"Value kept but may cause issues"} 
[2026-08-23 07:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206272406995367936,"note":"Value kept but may cause issues"} 
[2026-08-23 07:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787448610000,"timestamp_ms":1787448610000,"timestamp_seconds":1787448610,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3d4cd0"} 
[2026-08-23 07:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:00:19] 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-08-23 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 07:00:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 07:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2151038981,"note":"Value kept but may cause issues"} 
[2026-08-23 07:00:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-23 07:00:19] local.WARNING: Large IO value detected {"io_id":211,"raw_value":-7550284710856288768,"note":"Value kept but may cause issues"} 
[2026-08-23 07:00:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-23 07:00:19] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3221607319,"note":"Value kept but may cause issues"} 
[2026-08-23 07:00:19] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3609395200,"note":"Value kept but may cause issues"} 
[2026-08-23 07:00:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3549964288,"note":"Value kept but may cause issues"} 
[2026-08-23 07:00:19] local.WARNING: Large IO value detected {"io_id":68,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-08-23 07:00:19] local.WARNING: Large IO value detected {"io_id":60,"raw_value":-5161123878036193275,"note":"Value kept but may cause issues"} 
[2026-08-23 07:00:19] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,109,85,24,241,157,16,215,160,49,45,64,147,7,23,10,66,128,148,41,192,1,240,227,44,211,4,113,205,18,39,239,53,2,178,5,9,21,68,60],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-08-23 07:00:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504576979888308224,"timestamp_seconds":504576979888308.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 07:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586842880001,"66":13493,"109":206,"85":15104,"24":20,"16":122397166252589056,"45":-9206272406995367936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 07:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586842880001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:00:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 07:00:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122397166252589056,"km_value":122397166252589.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206272406995367936,"description":"Unknown IO ID 45"} 
[2026-08-23 07:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586842880001,"power":13493,"unknown_109":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9206272406995367936}} 
[2026-08-23 07:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":161455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:00:19] local.INFO: GPS data processed {"connection_id":161455,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:00:19] local.INFO: Acknowledgment sent {"connection_id":161455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:00:24] local.INFO: TCP Data received {"connection_id":161456,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3b4548012d34c3c006aa43d80006007128..."} 
[2026-08-23 07:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3b4548012d34c3c006aa43d80006007128..."} 
[2026-08-23 07:00:24] local.INFO: Processing buffer {"connection_id":161456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3b4548012d34c3c006aa43d80006007128..."} 
[2026-08-23 07:00:24] local.INFO: Packet analysis {"connection_id":161456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3b"} 
[2026-08-23 07:00:24] local.INFO: Extracted packet for processing {"connection_id":161456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3b"} 
[2026-08-23 07:00:24] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821784,"longitude_deg":75.8432704,"latitude_deg":11.1821784,"altitude":6,"angle":113,"satellites":40,"speed":3,"hex_longitude":"2d34c3c0","hex_latitude":"06aa43d8","is_valid_coordinates":true} 
[2026-08-23 07:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586809856001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929798652133376,"note":"Value kept but may cause issues"} 
[2026-08-23 07:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545568768,"note":"Value kept but may cause issues"} 
[2026-08-23 07:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787448477000,"timestamp_ms":1787448477000,"timestamp_seconds":1787448477,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3b4548"} 
[2026-08-23 07:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:00: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-08-23 07:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-23 07:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:00:24] 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-08-23 07:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586809856001,"66":28028,"97":206,"81":23296,"24":3,"16":389929798652133376,"45":3802023276545568768},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586809856001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:00:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:00:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929798652133376,"km_value":389929798652133.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545568768,"description":"Unknown IO ID 45"} 
[2026-08-23 07:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586809856001,"power":28028,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802023276545568768}} 
[2026-08-23 07:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":161456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:00:24] local.INFO: GPS data processed {"connection_id":161456,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:00:24] local.INFO: Acknowledgment sent {"connection_id":161456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:00:35] local.INFO: TCP Data received {"connection_id":161457,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:00:35] local.INFO: Processing buffer {"connection_id":161457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:00:35] local.INFO: IMEI packet received {"connection_id":161457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":161457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:00:40] local.INFO: TCP Data received {"connection_id":161457,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:00:40] local.INFO: Processing buffer {"connection_id":161457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:00:40] local.INFO: IMEI packet received {"connection_id":161457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":161457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:00:40] local.INFO: TCP Data received {"connection_id":161457,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3d5888012d80454005d382800007006b16..."} 
[2026-08-23 07:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3d5888012d80454005d382800007006b16..."} 
[2026-08-23 07:00:40] local.INFO: Processing buffer {"connection_id":161457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3d5888012d80454005d382800007006b16..."} 
[2026-08-23 07:00:40] local.INFO: Packet analysis {"connection_id":161457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3d"} 
[2026-08-23 07:00:40] local.INFO: Extracted packet for processing {"connection_id":161457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3d"} 
[2026-08-23 07:00:40] local.INFO: GPS Element Parsed {"raw_longitude":763381056,"raw_latitude":97747584,"longitude_deg":76.3381056,"latitude_deg":9.7747584,"altitude":7,"angle":107,"satellites":22,"speed":18,"hex_longitude":"2d804540","hex_latitude":"05d38280","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586844160001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122397209202262016,"note":"Value kept but may cause issues"} 
[2026-08-23 07:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9205005769600819200,"note":"Value kept but may cause issues"} 
[2026-08-23 07:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787448613000,"timestamp_ms":1787448613000,"timestamp_seconds":1787448613,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3d5888"} 
[2026-08-23 07:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:00:40] 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-08-23 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-23 07:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586844160001,"66":13298,"167":206,"85":15104,"24":18,"16":122397209202262016,"45":-9205005769600819200},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-23 07:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586844160001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:00:40] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-23 07:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122397209202262016,"km_value":122397209202262.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9205005769600819200,"description":"Unknown IO ID 45"} 
[2026-08-23 07:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586844160001,"power":13298,"unknown_167":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9205005769600819200}} 
[2026-08-23 07:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":161457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:00:40] local.INFO: GPS data processed {"connection_id":161457,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:00:40] local.INFO: Acknowledgment sent {"connection_id":161457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:00:52] local.INFO: TCP Data received {"connection_id":160508,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:00:52] local.INFO: Processing buffer {"connection_id":160508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:00:52] local.INFO: IMEI packet received {"connection_id":160508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":160508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:00:57] local.INFO: TCP Data received {"connection_id":160508,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:00:57] local.INFO: Processing buffer {"connection_id":160508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:00:57] local.INFO: IMEI packet received {"connection_id":160508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":160508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:00:58] local.INFO: TCP Data received {"connection_id":160508,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3b54e8012d34c44006aa43900006009428..."} 
[2026-08-23 07:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3b54e8012d34c44006aa43900006009428..."} 
[2026-08-23 07:00:58] local.INFO: Processing buffer {"connection_id":160508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3b54e8012d34c44006aa43900006009428..."} 
[2026-08-23 07:00:58] local.INFO: Packet analysis {"connection_id":160508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3b"} 
[2026-08-23 07:00:58] local.INFO: Extracted packet for processing {"connection_id":160508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3b"} 
[2026-08-23 07:00:58] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821712,"longitude_deg":75.8432832,"latitude_deg":11.1821712,"altitude":6,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4390","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586810112001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929807242067968,"note":"Value kept but may cause issues"} 
[2026-08-23 07:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289740288,"note":"Value kept but may cause issues"} 
[2026-08-23 07:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787448481000,"timestamp_ms":1787448481000,"timestamp_seconds":1787448481,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3b54e8"} 
[2026-08-23 07:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-23 07:00: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-08-23 07: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-08-23 07:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586810112001,"66":27843,"97":206,"81":23296,"24":0,"16":389929807242067968,"45":3802093645289740288},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586810112001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:00:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:00:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929807242067968,"km_value":389929807242067.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289740288,"description":"Unknown IO ID 45"} 
[2026-08-23 07:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586810112001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289740288}} 
[2026-08-23 07:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":160508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:00:58] local.INFO: GPS data processed {"connection_id":160508,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:00:58] local.INFO: Acknowledgment sent {"connection_id":160508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:01:03] local.INFO: TCP Data received {"connection_id":160508,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3b6488012d34c50006aa42d00006009528..."} 
[2026-08-23 07:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3b6488012d34c50006aa42d00006009528..."} 
[2026-08-23 07:01:03] local.INFO: Processing buffer {"connection_id":160508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3b6488012d34c50006aa42d00006009528..."} 
[2026-08-23 07:01:03] local.INFO: Packet analysis {"connection_id":160508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3b"} 
[2026-08-23 07:01:03] local.INFO: Extracted packet for processing {"connection_id":160508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3b"} 
[2026-08-23 07:01:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111821520,"longitude_deg":75.8433024,"latitude_deg":11.182152,"altitude":6,"angle":149,"satellites":40,"speed":3,"hex_longitude":"2d34c500","hex_latitude":"06aa42d0","is_valid_coordinates":true} 
[2026-08-23 07:01: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-08-23 07:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586811136001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778077184,"note":"Value kept but may cause issues"} 
[2026-08-23 07:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787448485000,"timestamp_ms":1787448485000,"timestamp_seconds":1787448485,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3b6488"} 
[2026-08-23 07:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:01: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-08-23 07:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-23 07:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:01:03] 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-08-23 07:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586811136001,"66":27919,"97":206,"81":23296,"24":3,"16":389929820126969856,"45":3802234382778077184},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586811136001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:01:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:01:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778077184,"description":"Unknown IO ID 45"} 
[2026-08-23 07:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586811136001,"power":27919,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802234382778077184}} 
[2026-08-23 07:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":160508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:01:03] local.INFO: GPS data processed {"connection_id":160508,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:01:03] local.INFO: Acknowledgment sent {"connection_id":160508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:01:11] local.INFO: TCP Data received {"connection_id":161457,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3d6058012d80490005d381e80007005c17..."} 
[2026-08-23 07:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3d6058012d80490005d381e80007005c17..."} 
[2026-08-23 07:01:11] local.INFO: Processing buffer {"connection_id":161457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3d6058012d80490005d381e80007005c17..."} 
[2026-08-23 07:01:11] local.INFO: Packet analysis {"connection_id":161457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3d"} 
[2026-08-23 07:01:11] local.INFO: Extracted packet for processing {"connection_id":161457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3d"} 
[2026-08-23 07:01:11] local.INFO: GPS Element Parsed {"raw_longitude":763382016,"raw_latitude":97747432,"longitude_deg":76.3382016,"latitude_deg":9.7747432,"altitude":7,"angle":92,"satellites":23,"speed":19,"hex_longitude":"2d804900","hex_latitude":"05d381e8","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586844928001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122397252151934976,"note":"Value kept but may cause issues"} 
[2026-08-23 07:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9203879869694181376,"note":"Value kept but may cause issues"} 
[2026-08-23 07:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787448615000,"timestamp_ms":1787448615000,"timestamp_seconds":1787448615,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3d6058"} 
[2026-08-23 07:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:01:11] 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-08-23 07: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-23 07:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586844928001,"66":13374,"167":206,"85":15104,"24":19,"16":122397252151934976,"45":-9203879869694181376},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-23 07:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586844928001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:01:11] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-23 07:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122397252151934976,"km_value":122397252151934.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9203879869694181376,"description":"Unknown IO ID 45"} 
[2026-08-23 07:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586844928001,"power":13374,"unknown_167":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9203879869694181376}} 
[2026-08-23 07:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":161457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:01:11] local.INFO: GPS data processed {"connection_id":161457,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:01:11] local.INFO: Acknowledgment sent {"connection_id":161457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:01:40] local.INFO: TCP Data received {"connection_id":162880,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:01:40] local.INFO: Processing buffer {"connection_id":162880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:01:40] local.INFO: IMEI packet received {"connection_id":162880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":162880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:01:40] local.INFO: TCP Data received {"connection_id":162880,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:01:41] local.INFO: Processing buffer {"connection_id":162880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:01:41] local.INFO: IMEI packet received {"connection_id":162880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":162880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:01:41] local.INFO: TCP Data received {"connection_id":162880,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3d9320012d806a8005d37f100008005d17..."} 
[2026-08-23 07:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3d9320012d806a8005d37f100008005d17..."} 
[2026-08-23 07:01:41] local.INFO: Processing buffer {"connection_id":162880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3d9320012d806a8005d37f100008005d17..."} 
[2026-08-23 07:01:41] local.INFO: Packet analysis {"connection_id":162880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3d"} 
[2026-08-23 07:01:41] local.INFO: Extracted packet for processing {"connection_id":162880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3d"} 
[2026-08-23 07:01:41] local.INFO: GPS Element Parsed {"raw_longitude":763390592,"raw_latitude":97746704,"longitude_deg":76.3390592,"latitude_deg":9.7746704,"altitude":8,"angle":93,"satellites":23,"speed":36,"hex_longitude":"2d806a80","hex_latitude":"05d37f10","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586845440001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122397690238599168,"note":"Value kept but may cause issues"} 
[2026-08-23 07:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9202824338531555328,"note":"Value kept but may cause issues"} 
[2026-08-23 07:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787448628000,"timestamp_ms":1787448628000,"timestamp_seconds":1787448628,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3d9320"} 
[2026-08-23 07:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-23 07:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586845440001,"66":13450,"167":206,"85":15104,"24":36,"16":122397690238599168,"45":-9202824338531555328},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-23 07:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586845440001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:01:41] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-23 07:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122397690238599168,"km_value":122397690238599.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9202824338531555328,"description":"Unknown IO ID 45"} 
[2026-08-23 07:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586845440001,"power":13450,"unknown_167":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9202824338531555328}} 
[2026-08-23 07:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":162880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:01:41] local.INFO: GPS data processed {"connection_id":162880,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:01:41] local.INFO: Acknowledgment sent {"connection_id":162880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:01:43] local.INFO: TCP Data received {"connection_id":162880,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3dbe18012d808c8005d37c700008006b17..."} 
[2026-08-23 07:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3dbe18012d808c8005d37c700008006b17..."} 
[2026-08-23 07:01:43] local.INFO: Processing buffer {"connection_id":162880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3dbe18012d808c8005d37c700008006b17..."} 
[2026-08-23 07:01:43] local.INFO: Packet analysis {"connection_id":162880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3d"} 
[2026-08-23 07:01:43] local.INFO: Extracted packet for processing {"connection_id":162880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3d"} 
[2026-08-23 07:01:43] local.INFO: GPS Element Parsed {"raw_longitude":763399296,"raw_latitude":97746032,"longitude_deg":76.3399296,"latitude_deg":9.7746032,"altitude":8,"angle":107,"satellites":23,"speed":13,"hex_longitude":"2d808c80","hex_latitude":"05d37c70","is_valid_coordinates":true} 
[2026-08-23 07:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586848768001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122398106850426880,"note":"Value kept but may cause issues"} 
[2026-08-23 07:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193394926811934720,"note":"Value kept but may cause issues"} 
[2026-08-23 07:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787448639000,"timestamp_ms":1787448639000,"timestamp_seconds":1787448639,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3dbe18"} 
[2026-08-23 07:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-23 07:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586848768001,"66":13319,"167":206,"85":15104,"24":13,"16":122398106850426880,"45":-9193394926811934720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-23 07:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586848768001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:01:43] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-23 07:01:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122398106850426880,"km_value":122398106850426.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193394926811934720,"description":"Unknown IO ID 45"} 
[2026-08-23 07:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586848768001,"power":13319,"unknown_167":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9193394926811934720}} 
[2026-08-23 07:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":162880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:01:43] local.INFO: GPS data processed {"connection_id":162880,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:01:43] local.INFO: Acknowledgment sent {"connection_id":162880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:01:47] local.INFO: TCP Data received {"connection_id":160509,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:01:47] local.INFO: Processing buffer {"connection_id":160509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:01:47] local.INFO: IMEI packet received {"connection_id":160509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":160509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:01:52] local.INFO: TCP Data received {"connection_id":160509,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:01:52] local.INFO: Processing buffer {"connection_id":160509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:01:52] local.INFO: IMEI packet received {"connection_id":160509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":160509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:01:54] local.INFO: TCP Data received {"connection_id":160509,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3b6c58012d34c54006aa42680007008a28..."} 
[2026-08-23 07:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3b6c58012d34c54006aa42680007008a28..."} 
[2026-08-23 07:01:54] local.INFO: Processing buffer {"connection_id":160509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3b6c58012d34c54006aa42680007008a28..."} 
[2026-08-23 07:01:54] local.INFO: Packet analysis {"connection_id":160509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3b"} 
[2026-08-23 07:01:54] local.INFO: Extracted packet for processing {"connection_id":160509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3b"} 
[2026-08-23 07:01:54] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821416,"longitude_deg":75.8433088,"latitude_deg":11.1821416,"altitude":7,"angle":138,"satellites":40,"speed":2,"hex_longitude":"2d34c540","hex_latitude":"06aa4268","is_valid_coordinates":true} 
[2026-08-23 07:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586812160001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010561024,"note":"Value kept but may cause issues"} 
[2026-08-23 07:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787448487000,"timestamp_ms":1787448487000,"timestamp_seconds":1787448487,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3b6c58"} 
[2026-08-23 07:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 07:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:01:54] 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-08-23 07:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586812160001,"66":27376,"97":206,"81":23296,"24":2,"16":389929820126969856,"45":3802445489010561024},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586812160001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:01:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:01:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010561024,"description":"Unknown IO ID 45"} 
[2026-08-23 07:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586812160001,"power":27376,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802445489010561024}} 
[2026-08-23 07:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":160509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:01:54] local.INFO: GPS data processed {"connection_id":160509,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:01:54] local.INFO: Acknowledgment sent {"connection_id":160509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:02:14] local.INFO: TCP Data received {"connection_id":162880,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3f11f0012d80cb8005d2edb80002009918..."} 
[2026-08-23 07:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3f11f0012d80cb8005d2edb80002009918..."} 
[2026-08-23 07:02:14] local.INFO: Processing buffer {"connection_id":162880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3f11f0012d80cb8005d2edb80002009918..."} 
[2026-08-23 07:02:14] local.INFO: Packet analysis {"connection_id":162880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3f"} 
[2026-08-23 07:02:14] local.INFO: Extracted packet for processing {"connection_id":162880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3f"} 
[2026-08-23 07:02:14] local.INFO: GPS Element Parsed {"raw_longitude":763415424,"raw_latitude":97709496,"longitude_deg":76.3415424,"latitude_deg":9.7709496,"altitude":2,"angle":153,"satellites":24,"speed":29,"hex_longitude":"2d80cb80","hex_latitude":"05d2edb8","is_valid_coordinates":true} 
[2026-08-23 07:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586873344001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122400512032112640,"note":"Value kept but may cause issues"} 
[2026-08-23 07:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9167077016498718720,"note":"Value kept but may cause issues"} 
[2026-08-23 07:02:14] 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-08-23 07:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787448726000,"timestamp_ms":1787448726000,"timestamp_seconds":1787448726,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3f11f0"} 
[2026-08-23 07:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-23 07:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586873344001,"66":13341,"208":206,"85":15104,"24":29,"16":122400512032112640,"45":-9167077016498718720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 07:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586873344001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:02:14] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 07:02:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122400512032112640,"km_value":122400512032112.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9167077016498718720,"description":"Unknown IO ID 45"} 
[2026-08-23 07:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586873344001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9167077016498718720}} 
[2026-08-23 07:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":162880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:02:14] local.INFO: GPS data processed {"connection_id":162880,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:02:14] local.INFO: Acknowledgment sent {"connection_id":162880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:02:25] local.INFO: TCP Data received {"connection_id":160509,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3b6c58012d34c54006aa42680007008a28..."} 
[2026-08-23 07:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3b6c58012d34c54006aa42680007008a28..."} 
[2026-08-23 07:02:25] local.INFO: Processing buffer {"connection_id":160509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3b6c58012d34c54006aa42680007008a28..."} 
[2026-08-23 07:02:25] local.INFO: Packet analysis {"connection_id":160509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3b"} 
[2026-08-23 07:02:25] local.INFO: Extracted packet for processing {"connection_id":160509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3b"} 
[2026-08-23 07:02:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821416,"longitude_deg":75.8433088,"latitude_deg":11.1821416,"altitude":7,"angle":138,"satellites":40,"speed":2,"hex_longitude":"2d34c540","hex_latitude":"06aa4268","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586812160001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010561024,"note":"Value kept but may cause issues"} 
[2026-08-23 07:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787448487000,"timestamp_ms":1787448487000,"timestamp_seconds":1787448487,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3b6c58"} 
[2026-08-23 07:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 07:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:02:25] 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-08-23 07:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586812160001,"66":27376,"97":206,"81":23296,"24":2,"16":389929820126969856,"45":3802445489010561024},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586812160001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:02:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:02:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010561024,"description":"Unknown IO ID 45"} 
[2026-08-23 07:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586812160001,"power":27376,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802445489010561024}} 
[2026-08-23 07:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":160509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:02:25] local.INFO: GPS data processed {"connection_id":160509,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:02:25] local.INFO: Acknowledgment sent {"connection_id":160509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:02:35] local.INFO: TCP Data received {"connection_id":161458,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:02:35] local.INFO: Processing buffer {"connection_id":161458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:02:35] local.INFO: IMEI packet received {"connection_id":161458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":161458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:02:37] local.INFO: TCP Data received {"connection_id":161458,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:02:37] local.INFO: Processing buffer {"connection_id":161458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:02:37] local.INFO: IMEI packet received {"connection_id":161458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":161458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:02:38] local.INFO: TCP Data received {"connection_id":161458,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3f15d8012d80cc0005d2eae0000300a418..."} 
[2026-08-23 07:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3f15d8012d80cc0005d2eae0000300a418..."} 
[2026-08-23 07:02:38] local.INFO: Processing buffer {"connection_id":161458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3f15d8012d80cc0005d2eae0000300a418..."} 
[2026-08-23 07:02:38] local.INFO: Packet analysis {"connection_id":161458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3f"} 
[2026-08-23 07:02:38] local.INFO: Extracted packet for processing {"connection_id":161458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3f"} 
[2026-08-23 07:02:38] local.INFO: GPS Element Parsed {"raw_longitude":763415552,"raw_latitude":97708768,"longitude_deg":76.3415552,"latitude_deg":9.7708768,"altitude":3,"angle":164,"satellites":24,"speed":29,"hex_longitude":"2d80cc00","hex_latitude":"05d2eae0","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586873856001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122400546391851008,"note":"Value kept but may cause issues"} 
[2026-08-23 07:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9166091854080526336,"note":"Value kept but may cause issues"} 
[2026-08-23 07:02:38] 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-08-23 07:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787448727000,"timestamp_ms":1787448727000,"timestamp_seconds":1787448727,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3f15d8"} 
[2026-08-23 07:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:02:38] 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-08-23 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-23 07:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586873856001,"66":13472,"208":206,"85":15104,"24":29,"16":122400546391851008,"45":-9166091854080526336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 07:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586873856001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:02:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 07:02:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122400546391851008,"km_value":122400546391851.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9166091854080526336,"description":"Unknown IO ID 45"} 
[2026-08-23 07:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586873856001,"power":13472,"unknown_208":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9166091854080526336}} 
[2026-08-23 07:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":161458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:02:38] local.INFO: GPS data processed {"connection_id":161458,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:02:38] local.INFO: Acknowledgment sent {"connection_id":161458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:02:47] local.INFO: TCP Data received {"connection_id":160302,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:02:47] local.INFO: Processing buffer {"connection_id":160302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:02:47] local.INFO: IMEI packet received {"connection_id":160302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":160302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:02:52] local.INFO: TCP Data received {"connection_id":160302,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:02:52] local.INFO: Processing buffer {"connection_id":160302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:02:52] local.INFO: IMEI packet received {"connection_id":160302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":160302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:02:53] local.INFO: TCP Data received {"connection_id":160302,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3b6c58012d34c54006aa42680007008a28..."} 
[2026-08-23 07:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3b6c58012d34c54006aa42680007008a28..."} 
[2026-08-23 07:02:53] local.INFO: Processing buffer {"connection_id":160302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3b6c58012d34c54006aa42680007008a28..."} 
[2026-08-23 07:02:53] local.INFO: Packet analysis {"connection_id":160302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3b"} 
[2026-08-23 07:02:53] local.INFO: Extracted packet for processing {"connection_id":160302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3b"} 
[2026-08-23 07:02:53] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821416,"longitude_deg":75.8433088,"latitude_deg":11.1821416,"altitude":7,"angle":138,"satellites":40,"speed":2,"hex_longitude":"2d34c540","hex_latitude":"06aa4268","is_valid_coordinates":true} 
[2026-08-23 07:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586812160001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010561024,"note":"Value kept but may cause issues"} 
[2026-08-23 07:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787448487000,"timestamp_ms":1787448487000,"timestamp_seconds":1787448487,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3b6c58"} 
[2026-08-23 07:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 07:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:02:53] 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-08-23 07:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586812160001,"66":27376,"97":206,"81":23296,"24":2,"16":389929820126969856,"45":3802445489010561024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586812160001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:02:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:02:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010561024,"description":"Unknown IO ID 45"} 
[2026-08-23 07:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586812160001,"power":27376,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802445489010561024}} 
[2026-08-23 07:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":160302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:02:53] local.INFO: GPS data processed {"connection_id":160302,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:02:53] local.INFO: Acknowledgment sent {"connection_id":160302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:03:09] local.INFO: TCP Data received {"connection_id":161458,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3ff098012d810bc005d26e600004008118..."} 
[2026-08-23 07:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3ff098012d810bc005d26e600004008118..."} 
[2026-08-23 07:03:09] local.INFO: Processing buffer {"connection_id":161458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3ff098012d810bc005d26e600004008118..."} 
[2026-08-23 07:03:09] local.INFO: Packet analysis {"connection_id":161458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3f"} 
[2026-08-23 07:03:09] local.INFO: Extracted packet for processing {"connection_id":161458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3f"} 
[2026-08-23 07:03:09] local.INFO: GPS Element Parsed {"raw_longitude":763431872,"raw_latitude":97676896,"longitude_deg":76.3431872,"latitude_deg":9.7676896,"altitude":4,"angle":129,"satellites":24,"speed":16,"hex_longitude":"2d810bc0","hex_latitude":"05d26e60","is_valid_coordinates":true} 
[2026-08-23 07:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586888192001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122402547846610944,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9148288561811851264,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:09] 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-08-23 07:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787448783000,"timestamp_ms":1787448783000,"timestamp_seconds":1787448783,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3ff098"} 
[2026-08-23 07:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-23 07:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751624923,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2165145605,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3532552192,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5558546949361106944,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:09] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2148007937,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:09] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634226728269776,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-08-23 07:03:09] local.WARNING: Large IO value detected {"io_id":197,"raw_value":2684431745,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:09] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3221607045,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:09] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3694329856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:09] local.WARNING: Large IO value detected {"io_id":128,"raw_value":-936742320124985342,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:09] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-1368868372246114731,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:09] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755519700271345,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:09] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,208,85,24,241,157,16,220,160,232,45,113,5,10,66,228,114,213,1,240,34,227,44,210,4,205,27,197,12,64,239,52,2,178,30,128,50,59],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-08-23 07:03:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288394306464514048,"timestamp_seconds":288394306464514.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 07:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586888192001,"66":13472,"208":206,"85":15104,"24":16,"16":122402547846610944,"45":-9148288561811851264},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 07:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586888192001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:03:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 07:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122402547846610944,"km_value":122402547846610.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9148288561811851264,"description":"Unknown IO ID 45"} 
[2026-08-23 07:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586888192001,"power":13472,"unknown_208":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-9148288561811851264}} 
[2026-08-23 07:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":161458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:03:09] local.INFO: GPS data processed {"connection_id":161458,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:03:09] local.INFO: Acknowledgment sent {"connection_id":161458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:03:25] local.INFO: TCP Data received {"connection_id":160302,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3b6c58012d34c54006aa42680007008a28..."} 
[2026-08-23 07:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3b6c58012d34c54006aa42680007008a28..."} 
[2026-08-23 07:03:25] local.INFO: Processing buffer {"connection_id":160302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3b6c58012d34c54006aa42680007008a28..."} 
[2026-08-23 07:03:25] local.INFO: Packet analysis {"connection_id":160302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3b"} 
[2026-08-23 07:03:25] local.INFO: Extracted packet for processing {"connection_id":160302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3b"} 
[2026-08-23 07:03:25] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111821416,"longitude_deg":75.8433088,"latitude_deg":11.1821416,"altitude":7,"angle":138,"satellites":40,"speed":2,"hex_longitude":"2d34c540","hex_latitude":"06aa4268","is_valid_coordinates":true} 
[2026-08-23 07:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586812160001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010561024,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787448487000,"timestamp_ms":1787448487000,"timestamp_seconds":1787448487,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3b6c58"} 
[2026-08-23 07:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 07:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:03:25] 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-08-23 07:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586812160001,"66":27376,"97":206,"81":23296,"24":2,"16":389929820126969856,"45":3802445489010561024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586812160001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:03:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010561024,"description":"Unknown IO ID 45"} 
[2026-08-23 07:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586812160001,"power":27376,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802445489010561024}} 
[2026-08-23 07:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":160302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:03:25] local.INFO: GPS data processed {"connection_id":160302,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:03:25] local.INFO: Acknowledgment sent {"connection_id":160302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:03:33] local.INFO: TCP Data received {"connection_id":160510,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:03:33] local.INFO: Processing buffer {"connection_id":160510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:03:33] local.INFO: IMEI packet received {"connection_id":160510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":160510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:03:35] local.INFO: TCP Data received {"connection_id":160510,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:03:35] local.INFO: Processing buffer {"connection_id":160510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:03:35] local.INFO: IMEI packet received {"connection_id":160510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":160510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:03:36] local.INFO: TCP Data received {"connection_id":160510,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:03:36] local.INFO: Processing buffer {"connection_id":160510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:03:36] local.INFO: IMEI packet received {"connection_id":160510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":160510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:03:40] local.INFO: TCP Data received {"connection_id":160510,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:03:40] local.INFO: Processing buffer {"connection_id":160510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:03:40] local.INFO: IMEI packet received {"connection_id":160510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":160510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:03:41] local.INFO: TCP Data received {"connection_id":160510,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c3ff480012d810d4005d26d980004007117..."} 
[2026-08-23 07:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c3ff480012d810d4005d26d980004007117..."} 
[2026-08-23 07:03:41] local.INFO: Processing buffer {"connection_id":160510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c3ff480012d810d4005d26d980004007117..."} 
[2026-08-23 07:03:41] local.INFO: Packet analysis {"connection_id":160510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c3f"} 
[2026-08-23 07:03:41] local.INFO: Extracted packet for processing {"connection_id":160510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c3f"} 
[2026-08-23 07:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763432256,"raw_latitude":97676696,"longitude_deg":76.3432256,"latitude_deg":9.7676696,"altitude":4,"angle":113,"satellites":23,"speed":17,"hex_longitude":"2d810d40","hex_latitude":"05d26d98","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586888448001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122402569321447424,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9148007086835212288,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:41] 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-08-23 07:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787448784000,"timestamp_ms":1787448784000,"timestamp_seconds":1787448784,"priority":1,"record_length":96,"hex_timestamp":"000001a02c3ff480"} 
[2026-08-23 07:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-23 07:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586888448001,"66":13472,"208":206,"85":15104,"24":17,"16":122402569321447424,"45":-9148007086835212288},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 07:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586888448001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:03:41] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 07:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122402569321447424,"km_value":122402569321447.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9148007086835212288,"description":"Unknown IO ID 45"} 
[2026-08-23 07:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586888448001,"power":13472,"unknown_208":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9148007086835212288}} 
[2026-08-23 07:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":160510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:03:41] local.INFO: GPS data processed {"connection_id":160510,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:03:41] local.INFO: Acknowledgment sent {"connection_id":160510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:03:47] local.INFO: TCP Data received {"connection_id":162881,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:03:47] local.INFO: Processing buffer {"connection_id":162881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:03:47] local.INFO: IMEI packet received {"connection_id":162881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":162881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:03:48] local.INFO: TCP Data received {"connection_id":162881,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:03:48] local.INFO: Processing buffer {"connection_id":162881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:03:48] local.INFO: IMEI packet received {"connection_id":162881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":162881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:03:52] local.INFO: TCP Data received {"connection_id":162881,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:03:52] local.INFO: Processing buffer {"connection_id":162881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:03:52] local.INFO: IMEI packet received {"connection_id":162881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":162881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:03:53] local.INFO: TCP Data received {"connection_id":162881,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:03:53] local.INFO: Processing buffer {"connection_id":162881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:03:53] local.INFO: Packet analysis {"connection_id":162881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:03:53] local.INFO: Extracted packet for processing {"connection_id":162881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:03:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586812672001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754712064,"note":"Value kept but may cause issues"} 
[2026-08-23 07:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787448790000,"timestamp_ms":1787448790000,"timestamp_seconds":1787448790,"priority":1,"record_length":96,"hex_timestamp":"000001a02c400bf0"} 
[2026-08-23 07:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 07:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586812672001,"66":26289,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802515857754712064},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586812672001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:03:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:03:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754712064,"description":"Unknown IO ID 45"} 
[2026-08-23 07:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586812672001,"power":26289,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754712064}} 
[2026-08-23 07:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":162881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:03:53] local.INFO: GPS data processed {"connection_id":162881,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:03:53] local.INFO: Acknowledgment sent {"connection_id":162881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:04:12] local.INFO: TCP Data received {"connection_id":160510,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c409c78012d8112c005d1edc0000400bf1a..."} 
[2026-08-23 07:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c409c78012d8112c005d1edc0000400bf1a..."} 
[2026-08-23 07:04:12] local.INFO: Processing buffer {"connection_id":160510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c409c78012d8112c005d1edc0000400bf1a..."} 
[2026-08-23 07:04:12] local.INFO: Packet analysis {"connection_id":160510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:04:12] local.INFO: Extracted packet for processing {"connection_id":160510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:04:12] local.INFO: GPS Element Parsed {"raw_longitude":763433664,"raw_latitude":97643968,"longitude_deg":76.3433664,"latitude_deg":9.7643968,"altitude":4,"angle":191,"satellites":26,"speed":42,"hex_longitude":"2d8112c0","hex_latitude":"05d1edc0","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586898176001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122404300193267712,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9144910862098247680,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:12] 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-08-23 07:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787448827000,"timestamp_ms":1787448827000,"timestamp_seconds":1787448827,"priority":1,"record_length":96,"hex_timestamp":"000001a02c409c78"} 
[2026-08-23 07:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 07:04:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2166046725,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:12] local.WARNING: Large IO value detected {"io_id":210,"raw_value":7631349585767438336,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-08-23 07:04:12] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3221607012,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:12] local.WARNING: Large IO value detected {"io_id":23,"raw_value":2818649473,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:12] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3702784000,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3530051584,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:12] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57834105476109627,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:12] local.WARNING: Large IO value detected {"io_id":64,"raw_value":860188823778820101,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:12] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,208,85,24,241,157,16,221,160,105,45,31,3,25,10,66,93,192,41,4,74,1,240,225,227,44,210,113,205,27,23,40,239,52,2,178,5,21,116,64],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-08-23 07:04:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288427300404789248,"timestamp_seconds":288427300404789.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 07:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586898176001,"66":13189,"208":206,"85":15104,"24":42,"16":122404300193267712,"45":-9144910862098247680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 07:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586898176001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:04:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 07:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122404300193267712,"km_value":122404300193267.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9144910862098247680,"description":"Unknown IO ID 45"} 
[2026-08-23 07:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586898176001,"power":13189,"unknown_208":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9144910862098247680}} 
[2026-08-23 07:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":160510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:04:12] local.INFO: GPS data processed {"connection_id":160510,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:04:12] local.INFO: Acknowledgment sent {"connection_id":160510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:04:25] local.INFO: TCP Data received {"connection_id":162881,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:04:25] local.INFO: Processing buffer {"connection_id":162881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:04:25] local.INFO: Packet analysis {"connection_id":162881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:04:25] local.INFO: Extracted packet for processing {"connection_id":162881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:04:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586812672001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754712064,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787448790000,"timestamp_ms":1787448790000,"timestamp_seconds":1787448790,"priority":1,"record_length":96,"hex_timestamp":"000001a02c400bf0"} 
[2026-08-23 07:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 07:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586812672001,"66":26289,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802515857754712064},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586812672001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:04:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:04:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754712064,"description":"Unknown IO ID 45"} 
[2026-08-23 07:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586812672001,"power":26289,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754712064}} 
[2026-08-23 07:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":162881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:04:25] local.INFO: GPS data processed {"connection_id":162881,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:04:25] local.INFO: Acknowledgment sent {"connection_id":162881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:04:35] local.INFO: TCP Data received {"connection_id":160303,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:04:35] local.INFO: Processing buffer {"connection_id":160303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:04:35] local.INFO: IMEI packet received {"connection_id":160303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":160303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:04:37] local.INFO: TCP Data received {"connection_id":160303,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:04:37] local.INFO: Processing buffer {"connection_id":160303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:04:37] local.INFO: IMEI packet received {"connection_id":160303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":160303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:04:41] local.INFO: TCP Data received {"connection_id":160303,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:04:41] local.INFO: Processing buffer {"connection_id":160303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:04:41] local.INFO: IMEI packet received {"connection_id":160303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":160303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:04:41] local.INFO: TCP Data received {"connection_id":160303,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c40b3e8012d8110c005d1d468000300b21a..."} 
[2026-08-23 07:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c40b3e8012d8110c005d1d468000300b21a..."} 
[2026-08-23 07:04:41] local.INFO: Processing buffer {"connection_id":160303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c40b3e8012d8110c005d1d468000300b21a..."} 
[2026-08-23 07:04:41] local.INFO: Packet analysis {"connection_id":160303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:04:41] local.INFO: Extracted packet for processing {"connection_id":160303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763433152,"raw_latitude":97637480,"longitude_deg":76.3433152,"latitude_deg":9.763748,"altitude":3,"angle":178,"satellites":26,"speed":43,"hex_longitude":"2d8110c0","hex_latitude":"05d1d468","is_valid_coordinates":true} 
[2026-08-23 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-08-23 07:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586899712001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122404618020847616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146036762006667264,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:41] 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-08-23 07:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787448833000,"timestamp_ms":1787448833000,"timestamp_seconds":1787448833,"priority":1,"record_length":96,"hex_timestamp":"000001a02c40b3e8"} 
[2026-08-23 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-08-23 07:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 07:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 07:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586899712001,"66":13091,"208":206,"85":15104,"24":43,"16":122404618020847616,"45":-9146036762006667264},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 07:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586899712001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:04:41] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 07:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122404618020847616,"km_value":122404618020847.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146036762006667264,"description":"Unknown IO ID 45"} 
[2026-08-23 07:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586899712001,"power":13091,"unknown_208":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9146036762006667264}} 
[2026-08-23 07:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":160303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:04:41] local.INFO: GPS data processed {"connection_id":160303,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:04:41] local.INFO: Acknowledgment sent {"connection_id":160303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:04:46] local.INFO: TCP Data received {"connection_id":160303,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c40d710012d810e4005d1adb8000000b119..."} 
[2026-08-23 07:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c40d710012d810e4005d1adb8000000b119..."} 
[2026-08-23 07:04:46] local.INFO: Processing buffer {"connection_id":160303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c40d710012d810e4005d1adb8000000b119..."} 
[2026-08-23 07:04:46] local.INFO: Packet analysis {"connection_id":160303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:04:46] local.INFO: Extracted packet for processing {"connection_id":160303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:04:46] local.INFO: GPS Element Parsed {"raw_longitude":763432512,"raw_latitude":97627576,"longitude_deg":76.3432512,"latitude_deg":9.7627576,"altitude":0,"angle":177,"satellites":25,"speed":42,"hex_longitude":"2d810e40","hex_latitude":"05d1adb8","is_valid_coordinates":true} 
[2026-08-23 07:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586901248001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122405099057184768,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146599711961749504,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:46] 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-08-23 07:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787448842000,"timestamp_ms":1787448842000,"timestamp_seconds":1787448842,"priority":1,"record_length":96,"hex_timestamp":"000001a02c40d710"} 
[2026-08-23 07:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-23 07:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586901248001,"66":13363,"208":206,"85":15104,"24":42,"16":122405099057184768,"45":-9146599711961749504},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 07:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586901248001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:04:46] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 07:04:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122405099057184768,"km_value":122405099057184.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146599711961749504,"description":"Unknown IO ID 45"} 
[2026-08-23 07:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586901248001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9146599711961749504}} 
[2026-08-23 07:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":160303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:04:46] local.INFO: GPS data processed {"connection_id":160303,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:04:46] local.INFO: Acknowledgment sent {"connection_id":160303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:04:46] local.INFO: TCP Data received {"connection_id":160511,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:04:46] local.INFO: Processing buffer {"connection_id":160511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:04:46] local.INFO: IMEI packet received {"connection_id":160511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":160511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:04:52] local.INFO: TCP Data received {"connection_id":160511,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:04:52] local.INFO: Processing buffer {"connection_id":160511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:04:52] local.INFO: IMEI packet received {"connection_id":160511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":160511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:04:53] local.INFO: TCP Data received {"connection_id":160511,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:04:53] local.INFO: Processing buffer {"connection_id":160511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:04:53] local.INFO: Packet analysis {"connection_id":160511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:04:53] local.INFO: Extracted packet for processing {"connection_id":160511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:04:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:04: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-08-23 07:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586812672001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754712064,"note":"Value kept but may cause issues"} 
[2026-08-23 07:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787448790000,"timestamp_ms":1787448790000,"timestamp_seconds":1787448790,"priority":1,"record_length":96,"hex_timestamp":"000001a02c400bf0"} 
[2026-08-23 07:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 07:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:04: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-08-23 07:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:04:53] 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-08-23 07:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586812672001,"66":26289,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802515857754712064},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586812672001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:04:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:04:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754712064,"description":"Unknown IO ID 45"} 
[2026-08-23 07:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586812672001,"power":26289,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754712064}} 
[2026-08-23 07:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":160511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:04:53] local.INFO: GPS data processed {"connection_id":160511,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:04:53] local.INFO: Acknowledgment sent {"connection_id":160511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:05:16] local.INFO: TCP Data received {"connection_id":160303,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c40fe20012d8110c005d18d980000009d1b..."} 
[2026-08-23 07:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c40fe20012d8110c005d18d980000009d1b..."} 
[2026-08-23 07:05:16] local.INFO: Processing buffer {"connection_id":160303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c40fe20012d8110c005d18d980000009d1b..."} 
[2026-08-23 07:05:16] local.INFO: Packet analysis {"connection_id":160303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:05:16] local.INFO: Extracted packet for processing {"connection_id":160303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:05:16] local.INFO: GPS Element Parsed {"raw_longitude":763433152,"raw_latitude":97619352,"longitude_deg":76.3433152,"latitude_deg":9.7619352,"altitude":0,"angle":157,"satellites":27,"speed":15,"hex_longitude":"2d8110c0","hex_latitude":"05d18d98","is_valid_coordinates":true} 
[2026-08-23 07:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586903552001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122405498489143296,"note":"Value kept but may cause issues"} 
[2026-08-23 07:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9147303399406061568,"note":"Value kept but may cause issues"} 
[2026-08-23 07:05:16] 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-08-23 07:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787448852000,"timestamp_ms":1787448852000,"timestamp_seconds":1787448852,"priority":1,"record_length":96,"hex_timestamp":"000001a02c40fe20"} 
[2026-08-23 07:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-23 07:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586903552001,"66":13341,"208":206,"85":15104,"24":15,"16":122405498489143296,"45":-9147303399406061568},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 07:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586903552001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:05:16] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 07:05:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122405498489143296,"km_value":122405498489143.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9147303399406061568,"description":"Unknown IO ID 45"} 
[2026-08-23 07:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586903552001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9147303399406061568}} 
[2026-08-23 07:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":160303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:05:16] local.INFO: GPS data processed {"connection_id":160303,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:05:16] local.INFO: Acknowledgment sent {"connection_id":160303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:05:25] local.INFO: TCP Data received {"connection_id":160511,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:05:25] local.INFO: Processing buffer {"connection_id":160511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:05:25] local.INFO: Packet analysis {"connection_id":160511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:05:25] local.INFO: Extracted packet for processing {"connection_id":160511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:05:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586812672001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754712064,"note":"Value kept but may cause issues"} 
[2026-08-23 07:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787448790000,"timestamp_ms":1787448790000,"timestamp_seconds":1787448790,"priority":1,"record_length":96,"hex_timestamp":"000001a02c400bf0"} 
[2026-08-23 07:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 07:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586812672001,"66":26289,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802515857754712064},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586812672001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:05:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:05:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754712064,"description":"Unknown IO ID 45"} 
[2026-08-23 07:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586812672001,"power":26289,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754712064}} 
[2026-08-23 07:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":160511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:05:25] local.INFO: GPS data processed {"connection_id":160511,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:05:25] local.INFO: Acknowledgment sent {"connection_id":160511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:05:36] local.INFO: TCP Data received {"connection_id":160304,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:05:36] local.INFO: Processing buffer {"connection_id":160304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:05:36] local.INFO: IMEI packet received {"connection_id":160304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":160304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:05:40] local.INFO: TCP Data received {"connection_id":160304,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:05:40] local.INFO: Processing buffer {"connection_id":160304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:05:40] local.INFO: IMEI packet received {"connection_id":160304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":160304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:05:41] local.INFO: TCP Data received {"connection_id":160304,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c410208012d8111c005d18c480000008b1b..."} 
[2026-08-23 07:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c410208012d8111c005d18c480000008b1b..."} 
[2026-08-23 07:05:41] local.INFO: Processing buffer {"connection_id":160304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c410208012d8111c005d18c480000008b1b..."} 
[2026-08-23 07:05:41] local.INFO: Packet analysis {"connection_id":160304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c41"} 
[2026-08-23 07:05:41] local.INFO: Extracted packet for processing {"connection_id":160304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c41"} 
[2026-08-23 07:05:41] local.INFO: GPS Element Parsed {"raw_longitude":763433408,"raw_latitude":97619016,"longitude_deg":76.3433408,"latitude_deg":9.7619016,"altitude":0,"angle":139,"satellites":27,"speed":15,"hex_longitude":"2d8111c0","hex_latitude":"05d18c48","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586906112001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122405519963979776,"note":"Value kept but may cause issues"} 
[2026-08-23 07:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146599711966390272,"note":"Value kept but may cause issues"} 
[2026-08-23 07:05:41] 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-08-23 07:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787448853000,"timestamp_ms":1787448853000,"timestamp_seconds":1787448853,"priority":1,"record_length":96,"hex_timestamp":"000001a02c410208"} 
[2026-08-23 07:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-23 07:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586906112001,"66":13504,"208":206,"85":15104,"24":15,"16":122405519963979776,"45":-9146599711966390272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 07:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586906112001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:05:41] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 07:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122405519963979776,"km_value":122405519963979.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146599711966390272,"description":"Unknown IO ID 45"} 
[2026-08-23 07:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586906112001,"power":13504,"unknown_208":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9146599711966390272}} 
[2026-08-23 07:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":160304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:05:41] local.INFO: GPS data processed {"connection_id":160304,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:05:41] local.INFO: Acknowledgment sent {"connection_id":160304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:05:52] local.INFO: TCP Data received {"connection_id":160305,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:05:52] local.INFO: Processing buffer {"connection_id":160305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:05:52] local.INFO: IMEI packet received {"connection_id":160305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":160305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:05:57] local.INFO: TCP Data received {"connection_id":160305,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:05:57] local.INFO: Processing buffer {"connection_id":160305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:05:57] local.INFO: IMEI packet received {"connection_id":160305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":160305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:05:58] local.INFO: TCP Data received {"connection_id":160305,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:05:58] local.INFO: Processing buffer {"connection_id":160305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:05:58] local.INFO: Packet analysis {"connection_id":160305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:05:58] local.INFO: Extracted packet for processing {"connection_id":160305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:05:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586812672001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754712064,"note":"Value kept but may cause issues"} 
[2026-08-23 07:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787448790000,"timestamp_ms":1787448790000,"timestamp_seconds":1787448790,"priority":1,"record_length":96,"hex_timestamp":"000001a02c400bf0"} 
[2026-08-23 07:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:05: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-08-23 07:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 07:05: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-08-23 07: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-08-23 07:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586812672001,"66":26289,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802515857754712064},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586812672001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:05:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:05:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754712064,"description":"Unknown IO ID 45"} 
[2026-08-23 07:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586812672001,"power":26289,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754712064}} 
[2026-08-23 07:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":160305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:05:58] local.INFO: GPS data processed {"connection_id":160305,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:05:58] local.INFO: Acknowledgment sent {"connection_id":160305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:06:02] local.INFO: TCP Data received {"connection_id":160305,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:06:02] local.INFO: Processing buffer {"connection_id":160305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:06:02] local.INFO: Packet analysis {"connection_id":160305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:06:02] local.INFO: Extracted packet for processing {"connection_id":160305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:06:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586812672001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754712064,"note":"Value kept but may cause issues"} 
[2026-08-23 07:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787448790000,"timestamp_ms":1787448790000,"timestamp_seconds":1787448790,"priority":1,"record_length":96,"hex_timestamp":"000001a02c400bf0"} 
[2026-08-23 07:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 07:06: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-08-23 07:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586812672001,"66":26289,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802515857754712064},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586812672001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:06:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:06:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754712064,"description":"Unknown IO ID 45"} 
[2026-08-23 07:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586812672001,"power":26289,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754712064}} 
[2026-08-23 07:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":160305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:06:02] local.INFO: GPS data processed {"connection_id":160305,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:06:02] local.INFO: Acknowledgment sent {"connection_id":160305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:06:12] local.INFO: TCP Data received {"connection_id":160304,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c427cf0012d81884005d188380003006a1a..."} 
[2026-08-23 07:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c427cf0012d81884005d188380003006a1a..."} 
[2026-08-23 07:06:12] local.INFO: Processing buffer {"connection_id":160304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c427cf0012d81884005d188380003006a1a..."} 
[2026-08-23 07:06:12] local.INFO: Packet analysis {"connection_id":160304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c42"} 
[2026-08-23 07:06:12] local.INFO: Extracted packet for processing {"connection_id":160304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c42"} 
[2026-08-23 07:06:12] local.INFO: GPS Element Parsed {"raw_longitude":763463744,"raw_latitude":97617976,"longitude_deg":76.3463744,"latitude_deg":9.7617976,"altitude":3,"angle":106,"satellites":26,"speed":29,"hex_longitude":"2d818840","hex_latitude":"05d18838","is_valid_coordinates":true} 
[2026-08-23 07:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586930688001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122407006022664192,"note":"Value kept but may cause issues"} 
[2026-08-23 07:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9114652302109992960,"note":"Value kept but may cause issues"} 
[2026-08-23 07:06:12] 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-08-23 07:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787448950000,"timestamp_ms":1787448950000,"timestamp_seconds":1787448950,"priority":1,"record_length":96,"hex_timestamp":"000001a02c427cf0"} 
[2026-08-23 07:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-23 07:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586930688001,"66":13374,"208":206,"85":15104,"24":29,"16":122407006022664192,"45":-9114652302109992960},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 07:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586930688001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:06:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 07:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122407006022664192,"km_value":122407006022664.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9114652302109992960,"description":"Unknown IO ID 45"} 
[2026-08-23 07:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586930688001,"power":13374,"unknown_208":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9114652302109992960}} 
[2026-08-23 07:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":160304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:06:12] local.INFO: GPS data processed {"connection_id":160304,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:06:12] local.INFO: Acknowledgment sent {"connection_id":160304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:06:35] local.INFO: TCP Data received {"connection_id":160512,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:06:35] local.INFO: Processing buffer {"connection_id":160512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:06:35] local.INFO: IMEI packet received {"connection_id":160512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":160512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:06:40] local.INFO: TCP Data received {"connection_id":160512,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:06:40] local.INFO: Processing buffer {"connection_id":160512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:06:40] local.INFO: IMEI packet received {"connection_id":160512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":160512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:06:41] local.INFO: TCP Data received {"connection_id":160512,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c428c90012d8196c005d184e00004005e19..."} 
[2026-08-23 07:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c428c90012d8196c005d184e00004005e19..."} 
[2026-08-23 07:06:41] local.INFO: Processing buffer {"connection_id":160512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c428c90012d8196c005d184e00004005e19..."} 
[2026-08-23 07:06:41] local.INFO: Packet analysis {"connection_id":160512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c42"} 
[2026-08-23 07:06:41] local.INFO: Extracted packet for processing {"connection_id":160512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c42"} 
[2026-08-23 07:06:41] local.INFO: GPS Element Parsed {"raw_longitude":763467456,"raw_latitude":97617120,"longitude_deg":76.3467456,"latitude_deg":9.761712,"altitude":4,"angle":94,"satellites":25,"speed":37,"hex_longitude":"2d8196c0","hex_latitude":"05d184e0","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586931200001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122407190706257920,"note":"Value kept but may cause issues"} 
[2026-08-23 07:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9112963452249819136,"note":"Value kept but may cause issues"} 
[2026-08-23 07:06:41] 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-08-23 07:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787448954000,"timestamp_ms":1787448954000,"timestamp_seconds":1787448954,"priority":1,"record_length":96,"hex_timestamp":"000001a02c428c90"} 
[2026-08-23 07:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-23 07:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586931200001,"66":13504,"208":206,"85":15104,"24":37,"16":122407190706257920,"45":-9112963452249819136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 07:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586931200001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:06:41] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 07:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122407190706257920,"km_value":122407190706257.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9112963452249819136,"description":"Unknown IO ID 45"} 
[2026-08-23 07:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586931200001,"power":13504,"unknown_208":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9112963452249819136}} 
[2026-08-23 07:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":160512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:06:41] local.INFO: GPS data processed {"connection_id":160512,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:06:41] local.INFO: Acknowledgment sent {"connection_id":160512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:06:47] local.INFO: TCP Data received {"connection_id":161459,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:06:47] local.INFO: Processing buffer {"connection_id":161459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:06:47] local.INFO: IMEI packet received {"connection_id":161459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":161459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:06:52] local.INFO: TCP Data received {"connection_id":161459,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:06:52] local.INFO: Processing buffer {"connection_id":161459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:06:52] local.INFO: IMEI packet received {"connection_id":161459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":161459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:06:55] local.INFO: TCP Data received {"connection_id":161459,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:06:55] local.INFO: Processing buffer {"connection_id":161459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:06:55] local.INFO: Packet analysis {"connection_id":161459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:06:55] local.INFO: Extracted packet for processing {"connection_id":161459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:06:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586812672001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754712064,"note":"Value kept but may cause issues"} 
[2026-08-23 07:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787448790000,"timestamp_ms":1787448790000,"timestamp_seconds":1787448790,"priority":1,"record_length":96,"hex_timestamp":"000001a02c400bf0"} 
[2026-08-23 07:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 07:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586812672001,"66":26289,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802515857754712064},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586812672001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:06:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:06:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754712064,"description":"Unknown IO ID 45"} 
[2026-08-23 07:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586812672001,"power":26289,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754712064}} 
[2026-08-23 07:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":161459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:06:55] local.INFO: GPS data processed {"connection_id":161459,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:06:55] local.INFO: Acknowledgment sent {"connection_id":161459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:07:12] local.INFO: TCP Data received {"connection_id":160512,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c42afb8012d81bb0005d184380005005b1b..."} 
[2026-08-23 07:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c42afb8012d81bb0005d184380005005b1b..."} 
[2026-08-23 07:07:12] local.INFO: Processing buffer {"connection_id":160512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c42afb8012d81bb0005d184380005005b1b..."} 
[2026-08-23 07:07:12] local.INFO: Packet analysis {"connection_id":160512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c42"} 
[2026-08-23 07:07:12] local.INFO: Extracted packet for processing {"connection_id":160512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c42"} 
[2026-08-23 07:07:12] local.INFO: GPS Element Parsed {"raw_longitude":763476736,"raw_latitude":97616952,"longitude_deg":76.3476736,"latitude_deg":9.7616952,"altitude":5,"angle":91,"satellites":27,"speed":31,"hex_longitude":"2d81bb00","hex_latitude":"05d18438","is_valid_coordinates":true} 
[2026-08-23 07:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586932224001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122407633087889408,"note":"Value kept but may cause issues"} 
[2026-08-23 07:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9108882065087733760,"note":"Value kept but may cause issues"} 
[2026-08-23 07:07:12] 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-08-23 07:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787448963000,"timestamp_ms":1787448963000,"timestamp_seconds":1787448963,"priority":1,"record_length":96,"hex_timestamp":"000001a02c42afb8"} 
[2026-08-23 07:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-23 07:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586932224001,"66":12961,"208":206,"85":15104,"24":31,"16":122407633087889408,"45":-9108882065087733760},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 07:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586932224001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:07:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 07:07:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122407633087889408,"km_value":122407633087889.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9108882065087733760,"description":"Unknown IO ID 45"} 
[2026-08-23 07:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586932224001,"power":12961,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9108882065087733760}} 
[2026-08-23 07:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":160512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:07:12] local.INFO: GPS data processed {"connection_id":160512,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:07:12] local.INFO: Acknowledgment sent {"connection_id":160512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:07:28] local.INFO: TCP Data received {"connection_id":161459,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:07:28] local.INFO: Processing buffer {"connection_id":161459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:07:28] local.INFO: Packet analysis {"connection_id":161459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:07:28] local.INFO: Extracted packet for processing {"connection_id":161459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:07:28] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586812672001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754712064,"note":"Value kept but may cause issues"} 
[2026-08-23 07:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787448790000,"timestamp_ms":1787448790000,"timestamp_seconds":1787448790,"priority":1,"record_length":96,"hex_timestamp":"000001a02c400bf0"} 
[2026-08-23 07:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 07:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586812672001,"66":26289,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802515857754712064},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586812672001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:07:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:07:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754712064,"description":"Unknown IO ID 45"} 
[2026-08-23 07:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586812672001,"power":26289,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754712064}} 
[2026-08-23 07:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":161459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:07:28] local.INFO: GPS data processed {"connection_id":161459,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:07:28] local.INFO: Acknowledgment sent {"connection_id":161459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:07:35] local.INFO: TCP Data received {"connection_id":160306,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160306,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:07:35] local.INFO: Processing buffer {"connection_id":160306,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:07:35] local.INFO: IMEI packet received {"connection_id":160306,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":160306,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:07:40] local.INFO: TCP Data received {"connection_id":160306,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160306,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:07:40] local.INFO: Processing buffer {"connection_id":160306,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:07:40] local.INFO: IMEI packet received {"connection_id":160306,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":160306,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:07:41] local.INFO: TCP Data received {"connection_id":160306,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c43dc80012d82968005d16a50000b00731c..."} 
[2026-08-23 07:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c43dc80012d82968005d16a50000b00731c..."} 
[2026-08-23 07:07:41] local.INFO: Processing buffer {"connection_id":160306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c43dc80012d82968005d16a50000b00731c..."} 
[2026-08-23 07:07:41] local.INFO: Packet analysis {"connection_id":160306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c43"} 
[2026-08-23 07:07:41] local.INFO: Extracted packet for processing {"connection_id":160306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c43"} 
[2026-08-23 07:07:41] local.INFO: GPS Element Parsed {"raw_longitude":763532928,"raw_latitude":97610320,"longitude_deg":76.3532928,"latitude_deg":9.761032,"altitude":11,"angle":115,"satellites":28,"speed":7,"hex_longitude":"2d829680","hex_latitude":"05d16a50","is_valid_coordinates":true} 
[2026-08-23 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-08-23 07:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586951424001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122410403341795328,"note":"Value kept but may cause issues"} 
[2026-08-23 07:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9045690932818081792,"note":"Value kept but may cause issues"} 
[2026-08-23 07:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787449040000,"timestamp_ms":1787449040000,"timestamp_seconds":1787449040,"priority":1,"record_length":96,"hex_timestamp":"000001a02c43dc80"} 
[2026-08-23 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-08-23 07:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 07:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 07:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586951424001,"66":13178,"64":206,"85":15104,"24":7,"16":122410403341795328,"45":-9045690932818081792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-23 07:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586951424001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:07:41] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-23 07:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122410403341795328,"km_value":122410403341795.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9045690932818081792,"description":"Unknown IO ID 45"} 
[2026-08-23 07:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586951424001,"power":13178,"unknown_64":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9045690932818081792}} 
[2026-08-23 07:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":160306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:07:41] local.INFO: GPS data processed {"connection_id":160306,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:07:41] local.INFO: Acknowledgment sent {"connection_id":160306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:07:47] local.INFO: TCP Data received {"connection_id":161460,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:07:47] local.INFO: Processing buffer {"connection_id":161460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:07:47] local.INFO: IMEI packet received {"connection_id":161460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":161460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:07:52] local.INFO: TCP Data received {"connection_id":161460,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:07:52] local.INFO: Processing buffer {"connection_id":161460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:07:52] local.INFO: IMEI packet received {"connection_id":161460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":161460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:07:53] local.INFO: TCP Data received {"connection_id":161460,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:07:53] local.INFO: Processing buffer {"connection_id":161460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:07:53] local.INFO: Packet analysis {"connection_id":161460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:07:53] local.INFO: Extracted packet for processing {"connection_id":161460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:07:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:07: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-08-23 07:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586812672001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754712064,"note":"Value kept but may cause issues"} 
[2026-08-23 07:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787448790000,"timestamp_ms":1787448790000,"timestamp_seconds":1787448790,"priority":1,"record_length":96,"hex_timestamp":"000001a02c400bf0"} 
[2026-08-23 07:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 07:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:07: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-08-23 07:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586812672001,"66":26289,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802515857754712064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586812672001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:07:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:07:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754712064,"description":"Unknown IO ID 45"} 
[2026-08-23 07:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586812672001,"power":26289,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754712064}} 
[2026-08-23 07:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":161460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:07:53] local.INFO: GPS data processed {"connection_id":161460,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:07:53] local.INFO: Acknowledgment sent {"connection_id":161460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:08:12] local.INFO: TCP Data received {"connection_id":160306,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c446d08012d830b8005d15620000c005d1b..."} 
[2026-08-23 07:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c446d08012d830b8005d15620000c005d1b..."} 
[2026-08-23 07:08:12] local.INFO: Processing buffer {"connection_id":160306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c446d08012d830b8005d15620000c005d1b..."} 
[2026-08-23 07:08:12] local.INFO: Packet analysis {"connection_id":160306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:08:12] local.INFO: Extracted packet for processing {"connection_id":160306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:08:12] local.INFO: GPS Element Parsed {"raw_longitude":763562880,"raw_latitude":97605152,"longitude_deg":76.356288,"latitude_deg":9.7605152,"altitude":12,"angle":93,"satellites":27,"speed":40,"hex_longitude":"2d830b80","hex_latitude":"05d15620","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586961408001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122411910875316224,"note":"Value kept but may cause issues"} 
[2026-08-23 07:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9014799054125131776,"note":"Value kept but may cause issues"} 
[2026-08-23 07:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787449077000,"timestamp_ms":1787449077000,"timestamp_seconds":1787449077,"priority":1,"record_length":96,"hex_timestamp":"000001a02c446d08"} 
[2026-08-23 07:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-23 07:08:12] 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-08-23 07: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-08-23 07:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586961408001,"66":13504,"64":206,"85":15104,"24":40,"16":122411910875316224,"45":-9014799054125131776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-23 07:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586961408001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:08:12] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-23 07:08:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122411910875316224,"km_value":122411910875316.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9014799054125131776,"description":"Unknown IO ID 45"} 
[2026-08-23 07:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586961408001,"power":13504,"unknown_64":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9014799054125131776}} 
[2026-08-23 07:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":160306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:08:12] local.INFO: GPS data processed {"connection_id":160306,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:08:12] local.INFO: Acknowledgment sent {"connection_id":160306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:08:24] local.INFO: TCP Data received {"connection_id":161460,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:08:24] local.INFO: Processing buffer {"connection_id":161460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c400bf0012d34c50006aa40980008008526..."} 
[2026-08-23 07:08:24] local.INFO: Packet analysis {"connection_id":161460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:08:24] local.INFO: Extracted packet for processing {"connection_id":161460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c40"} 
[2026-08-23 07:08:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586812672001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754712064,"note":"Value kept but may cause issues"} 
[2026-08-23 07:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787448790000,"timestamp_ms":1787448790000,"timestamp_seconds":1787448790,"priority":1,"record_length":96,"hex_timestamp":"000001a02c400bf0"} 
[2026-08-23 07:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 07:08: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-08-23 07:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586812672001,"66":26289,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802515857754712064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586812672001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:08:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:08:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754712064,"description":"Unknown IO ID 45"} 
[2026-08-23 07:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586812672001,"power":26289,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802515857754712064}} 
[2026-08-23 07:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":161460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:08:24] local.INFO: GPS data processed {"connection_id":161460,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:08:24] local.INFO: Acknowledgment sent {"connection_id":161460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:08:35] local.INFO: TCP Data received {"connection_id":161461,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:08:35] local.INFO: Processing buffer {"connection_id":161461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:08:35] local.INFO: IMEI packet received {"connection_id":161461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":161461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:08:40] local.INFO: TCP Data received {"connection_id":161461,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:08:40] local.INFO: Processing buffer {"connection_id":161461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:08:40] local.INFO: IMEI packet received {"connection_id":161461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":161461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:08:41] local.INFO: TCP Data received {"connection_id":161461,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c449418012d832f4005d153a0000b005e1c..."} 
[2026-08-23 07:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c449418012d832f4005d153a0000b005e1c..."} 
[2026-08-23 07:08:41] local.INFO: Processing buffer {"connection_id":161461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c449418012d832f4005d153a0000b005e1c..."} 
[2026-08-23 07:08:41] local.INFO: Packet analysis {"connection_id":161461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:08:41] local.INFO: Extracted packet for processing {"connection_id":161461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:08:41] local.INFO: GPS Element Parsed {"raw_longitude":763572032,"raw_latitude":97604512,"longitude_deg":76.3572032,"latitude_deg":9.7604512,"altitude":11,"angle":94,"satellites":28,"speed":22,"hex_longitude":"2d832f40","hex_latitude":"05d153a0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 07:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586963712001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122412348961980416,"note":"Value kept but may cause issues"} 
[2026-08-23 07:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9003962267521900544,"note":"Value kept but may cause issues"} 
[2026-08-23 07:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787449087000,"timestamp_ms":1787449087000,"timestamp_seconds":1787449087,"priority":1,"record_length":96,"hex_timestamp":"000001a02c449418"} 
[2026-08-23 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-08-23 07:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-23 07:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 07:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586963712001,"66":13374,"64":206,"85":15104,"24":22,"16":122412348961980416,"45":-9003962267521900544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-23 07:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586963712001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:08:41] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-23 07:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122412348961980416,"km_value":122412348961980.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9003962267521900544,"description":"Unknown IO ID 45"} 
[2026-08-23 07:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586963712001,"power":13374,"unknown_64":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9003962267521900544}} 
[2026-08-23 07:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":161461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:08:41] local.INFO: GPS data processed {"connection_id":161461,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:08:41] local.INFO: Acknowledgment sent {"connection_id":161461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:08:47] local.INFO: TCP Data received {"connection_id":160513,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:08:47] local.INFO: Processing buffer {"connection_id":160513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:08:47] local.INFO: IMEI packet received {"connection_id":160513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":160513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:08:48] local.INFO: TCP Data received {"connection_id":160513,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:08:48] local.INFO: Processing buffer {"connection_id":160513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:08:48] local.INFO: IMEI packet received {"connection_id":160513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":160513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:08:52] local.INFO: TCP Data received {"connection_id":160513,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:08:52] local.INFO: Processing buffer {"connection_id":160513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:08:52] local.INFO: IMEI packet received {"connection_id":160513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":160513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:08:53] local.INFO: TCP Data received {"connection_id":160513,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:08:53] local.INFO: Processing buffer {"connection_id":160513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:08:53] local.INFO: Packet analysis {"connection_id":160513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:08:53] local.INFO: Extracted packet for processing {"connection_id":160513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:08:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586890240001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787449091000,"timestamp_ms":1787449091000,"timestamp_seconds":1787449091,"priority":1,"record_length":96,"hex_timestamp":"000001a02c44a3b8"} 
[2026-08-23 07:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-23 07:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586890240001,"66":26039,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586890240001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:08:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:08:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586890240001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":160513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:08:53] local.INFO: GPS data processed {"connection_id":160513,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:08:53] local.INFO: Acknowledgment sent {"connection_id":160513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:09:12] local.INFO: TCP Data received {"connection_id":161461,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c449be8012d8332c005d15260000b00751c..."} 
[2026-08-23 07:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c449be8012d8332c005d15260000b00751c..."} 
[2026-08-23 07:09:12] local.INFO: Processing buffer {"connection_id":161461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c449be8012d8332c005d15260000b00751c..."} 
[2026-08-23 07:09:12] local.INFO: Packet analysis {"connection_id":161461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:09:12] local.INFO: Extracted packet for processing {"connection_id":161461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:09:12] local.INFO: GPS Element Parsed {"raw_longitude":763572928,"raw_latitude":97604192,"longitude_deg":76.3572928,"latitude_deg":9.7604192,"altitude":11,"angle":117,"satellites":28,"speed":17,"hex_longitude":"2d8332c0","hex_latitude":"05d15260","is_valid_coordinates":true} 
[2026-08-23 07:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586966272001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122412396206620672,"note":"Value kept but may cause issues"} 
[2026-08-23 07:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8993899537104658432,"note":"Value kept but may cause issues"} 
[2026-08-23 07:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787449089000,"timestamp_ms":1787449089000,"timestamp_seconds":1787449089,"priority":1,"record_length":96,"hex_timestamp":"000001a02c449be8"} 
[2026-08-23 07:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-23 07:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586966272001,"66":13363,"64":206,"85":15104,"24":17,"16":122412396206620672,"45":-8993899537104658432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-23 07:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586966272001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:09:12] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-23 07:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122412396206620672,"km_value":122412396206620.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8993899537104658432,"description":"Unknown IO ID 45"} 
[2026-08-23 07:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586966272001,"power":13363,"unknown_64":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-8993899537104658432}} 
[2026-08-23 07:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":161461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:09:12] local.INFO: GPS data processed {"connection_id":161461,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:09:12] local.INFO: Acknowledgment sent {"connection_id":161461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:09:25] local.INFO: TCP Data received {"connection_id":160513,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:09:25] local.INFO: Processing buffer {"connection_id":160513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:09:25] local.INFO: Packet analysis {"connection_id":160513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:09:25] local.INFO: Extracted packet for processing {"connection_id":160513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:09:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586890240001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787449091000,"timestamp_ms":1787449091000,"timestamp_seconds":1787449091,"priority":1,"record_length":96,"hex_timestamp":"000001a02c44a3b8"} 
[2026-08-23 07:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-23 07:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586890240001,"66":26039,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586890240001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:09:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:09:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586890240001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":160513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:09:25] local.INFO: GPS data processed {"connection_id":160513,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:09:25] local.INFO: Acknowledgment sent {"connection_id":160513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:09:40] local.INFO: TCP Data received {"connection_id":161462,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:09:40] local.INFO: Processing buffer {"connection_id":161462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:09:40] local.INFO: IMEI packet received {"connection_id":161462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":161462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:09:45] local.INFO: TCP Data received {"connection_id":161462,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161462,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:09:45] local.INFO: Processing buffer {"connection_id":161462,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:09:45] local.INFO: IMEI packet received {"connection_id":161462,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":161462,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:09:45] local.INFO: TCP Data received {"connection_id":161462,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c449fd0012d83340005d15170000b00871c..."} 
[2026-08-23 07:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c449fd0012d83340005d15170000b00871c..."} 
[2026-08-23 07:09:46] local.INFO: Processing buffer {"connection_id":161462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c449fd0012d83340005d15170000b00871c..."} 
[2026-08-23 07:09:46] local.INFO: Packet analysis {"connection_id":161462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:09:46] local.INFO: Extracted packet for processing {"connection_id":161462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:09:46] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97603952,"longitude_deg":76.3573248,"latitude_deg":9.7603952,"altitude":11,"angle":135,"satellites":28,"speed":14,"hex_longitude":"2d833400","hex_latitude":"05d15170","is_valid_coordinates":true} 
[2026-08-23 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-08-23 07:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586966784001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122412413386489856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992914374686253056,"note":"Value kept but may cause issues"} 
[2026-08-23 07:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787449090000,"timestamp_ms":1787449090000,"timestamp_seconds":1787449090,"priority":1,"record_length":96,"hex_timestamp":"000001a02c449fd0"} 
[2026-08-23 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-08-23 07:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-23 07:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 07:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586966784001,"66":13363,"64":206,"85":15104,"24":14,"16":122412413386489856,"45":-8992914374686253056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-23 07:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586966784001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:09:46] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-23 07:09:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122412413386489856,"km_value":122412413386489.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992914374686253056,"description":"Unknown IO ID 45"} 
[2026-08-23 07:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586966784001,"power":13363,"unknown_64":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-8992914374686253056}} 
[2026-08-23 07:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":161462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:09:46] local.INFO: GPS data processed {"connection_id":161462,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:09:46] local.INFO: Acknowledgment sent {"connection_id":161462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:09:52] local.INFO: TCP Data received {"connection_id":162882,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:09:52] local.INFO: Processing buffer {"connection_id":162882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:09:52] local.INFO: IMEI packet received {"connection_id":162882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":162882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:09:57] local.INFO: TCP Data received {"connection_id":162882,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:09:57] local.INFO: Processing buffer {"connection_id":162882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:09:57] local.INFO: IMEI packet received {"connection_id":162882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":162882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:09:58] local.INFO: TCP Data received {"connection_id":162882,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:09:58] local.INFO: Processing buffer {"connection_id":162882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:09:58] local.INFO: Packet analysis {"connection_id":162882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:09:58] local.INFO: Extracted packet for processing {"connection_id":162882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:09:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586890240001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787449091000,"timestamp_ms":1787449091000,"timestamp_seconds":1787449091,"priority":1,"record_length":96,"hex_timestamp":"000001a02c44a3b8"} 
[2026-08-23 07:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-23 07:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586890240001,"66":26039,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586890240001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:09:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:09:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586890240001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":162882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:09:58] local.INFO: GPS data processed {"connection_id":162882,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:09:58] local.INFO: Acknowledgment sent {"connection_id":162882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:10:02] local.INFO: TCP Data received {"connection_id":162882,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:10:02] local.INFO: Processing buffer {"connection_id":162882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:10:02] local.INFO: Packet analysis {"connection_id":162882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:10:02] local.INFO: Extracted packet for processing {"connection_id":162882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:10:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586890240001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787449091000,"timestamp_ms":1787449091000,"timestamp_seconds":1787449091,"priority":1,"record_length":96,"hex_timestamp":"000001a02c44a3b8"} 
[2026-08-23 07:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-23 07:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:10:02] 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-08-23 07:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586890240001,"66":26039,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586890240001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:10:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:10:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586890240001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":162882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:10:02] local.INFO: GPS data processed {"connection_id":162882,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:10:02] local.INFO: Acknowledgment sent {"connection_id":162882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:10:16] local.INFO: TCP Data received {"connection_id":161462,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c44a3b8012d83348005d150a0000b009a1c..."} 
[2026-08-23 07:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c44a3b8012d83348005d150a0000b009a1c..."} 
[2026-08-23 07:10:16] local.INFO: Processing buffer {"connection_id":161462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c44a3b8012d83348005d150a0000b009a1c..."} 
[2026-08-23 07:10:16] local.INFO: Packet analysis {"connection_id":161462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:10:16] local.INFO: Extracted packet for processing {"connection_id":161462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:10:16] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97603744,"longitude_deg":76.3573376,"latitude_deg":9.7603744,"altitude":11,"angle":154,"satellites":28,"speed":9,"hex_longitude":"2d833480","hex_latitude":"05d150a0","is_valid_coordinates":true} 
[2026-08-23 07:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586967040001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122412426271391744,"note":"Value kept but may cause issues"} 
[2026-08-23 07:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965426176,"note":"Value kept but may cause issues"} 
[2026-08-23 07:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787449091000,"timestamp_ms":1787449091000,"timestamp_seconds":1787449091,"priority":1,"record_length":96,"hex_timestamp":"000001a02c44a3b8"} 
[2026-08-23 07:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-23 07:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161462,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586967040001,"66":13243,"64":206,"85":15104,"24":9,"16":122412426271391744,"45":-8992562530965426176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-23 07:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586967040001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:10:16] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-23 07:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122412426271391744,"km_value":122412426271391.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965426176,"description":"Unknown IO ID 45"} 
[2026-08-23 07:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586967040001,"power":13243,"unknown_64":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-8992562530965426176}} 
[2026-08-23 07:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":161462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:10:16] local.INFO: GPS data processed {"connection_id":161462,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:10:16] local.INFO: Acknowledgment sent {"connection_id":161462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:10:35] local.INFO: TCP Data received {"connection_id":161463,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:10:35] local.INFO: Processing buffer {"connection_id":161463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:10:35] local.INFO: IMEI packet received {"connection_id":161463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":161463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:10:40] local.INFO: TCP Data received {"connection_id":161463,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:10:40] local.INFO: Processing buffer {"connection_id":161463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:10:40] local.INFO: IMEI packet received {"connection_id":161463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":161463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:10:41] local.INFO: TCP Data received {"connection_id":161463,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c44d298012d83344005d15308000b000e1c..."} 
[2026-08-23 07:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c44d298012d83344005d15308000b000e1c..."} 
[2026-08-23 07:10:41] local.INFO: Processing buffer {"connection_id":161463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c44d298012d83344005d15308000b000e1c..."} 
[2026-08-23 07:10:41] local.INFO: Packet analysis {"connection_id":161463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:10:41] local.INFO: Extracted packet for processing {"connection_id":161463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:10:41] local.INFO: GPS Element Parsed {"raw_longitude":763573312,"raw_latitude":97604360,"longitude_deg":76.3573312,"latitude_deg":9.760436,"altitude":11,"angle":14,"satellites":28,"speed":3,"hex_longitude":"2d833440","hex_latitude":"05d15308","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586967296001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122412473516032000,"note":"Value kept but may cause issues"} 
[2026-08-23 07:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793477124096,"note":"Value kept but may cause issues"} 
[2026-08-23 07:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787449103000,"timestamp_ms":1787449103000,"timestamp_seconds":1787449103,"priority":1,"record_length":96,"hex_timestamp":"000001a02c44d298"} 
[2026-08-23 07:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-23 07:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586967296001,"66":13319,"64":206,"85":15104,"24":3,"16":122412473516032000,"45":-8992421793477124096},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-23 07:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586967296001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:10:41] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-23 07:10:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122412473516032000,"km_value":122412473516032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793477124096,"description":"Unknown IO ID 45"} 
[2026-08-23 07:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586967296001,"power":13319,"unknown_64":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":-8992421793477124096}} 
[2026-08-23 07:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":161463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:10:41] local.INFO: GPS data processed {"connection_id":161463,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:10:41] local.INFO: Acknowledgment sent {"connection_id":161463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:10:47] local.INFO: TCP Data received {"connection_id":160307,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:10:47] local.INFO: Processing buffer {"connection_id":160307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:10:47] local.INFO: IMEI packet received {"connection_id":160307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":160307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:10:52] local.INFO: TCP Data received {"connection_id":160307,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:10:52] local.INFO: Processing buffer {"connection_id":160307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:10:52] local.INFO: IMEI packet received {"connection_id":160307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":160307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:10:53] local.INFO: TCP Data received {"connection_id":160307,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:10:53] local.INFO: Processing buffer {"connection_id":160307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:10:53] local.INFO: Packet analysis {"connection_id":160307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:10:53] local.INFO: Extracted packet for processing {"connection_id":160307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:10:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586890240001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787449091000,"timestamp_ms":1787449091000,"timestamp_seconds":1787449091,"priority":1,"record_length":96,"hex_timestamp":"000001a02c44a3b8"} 
[2026-08-23 07:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-23 07:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:10:53] 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-08-23 07:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586890240001,"66":26039,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586890240001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:10:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:10:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586890240001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":160307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:10:53] local.INFO: GPS data processed {"connection_id":160307,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:10:53] local.INFO: Acknowledgment sent {"connection_id":160307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:11:12] local.INFO: TCP Data received {"connection_id":161463,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c450d30012d83348005d15390000a000d1d..."} 
[2026-08-23 07:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c450d30012d83348005d15390000a000d1d..."} 
[2026-08-23 07:11:12] local.INFO: Processing buffer {"connection_id":161463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c450d30012d83348005d15390000a000d1d..."} 
[2026-08-23 07:11:12] local.INFO: Packet analysis {"connection_id":161463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c45"} 
[2026-08-23 07:11:12] local.INFO: Extracted packet for processing {"connection_id":161463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c45"} 
[2026-08-23 07:11:12] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97604496,"longitude_deg":76.3573376,"latitude_deg":9.7604496,"altitude":10,"angle":13,"satellites":29,"speed":0,"hex_longitude":"2d833480","hex_latitude":"05d15390","is_valid_coordinates":true} 
[2026-08-23 07:11: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-08-23 07:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586970368001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122412482105966592,"note":"Value kept but may cause issues"} 
[2026-08-23 07:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992492162221144064,"note":"Value kept but may cause issues"} 
[2026-08-23 07:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787449118000,"timestamp_ms":1787449118000,"timestamp_seconds":1787449118,"priority":1,"record_length":96,"hex_timestamp":"000001a02c450d30"} 
[2026-08-23 07:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 07:11:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 07:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2200911877,"note":"Value kept but may cause issues"} 
[2026-08-23 07:11:12] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2147864918,"note":"Value kept but may cause issues"} 
[2026-08-23 07:11:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-08-23 07:11:12] local.WARNING: Large IO value detected {"io_id":209,"raw_value":6795931876363541504,"note":"Value kept but may cause issues"} 
[2026-08-23 07:11:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-08-23 07:11:12] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3221278030,"note":"Value kept but may cause issues"} 
[2026-08-23 07:11:12] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3841720320,"note":"Value kept but may cause issues"} 
[2026-08-23 07:11:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3512211456,"note":"Value kept but may cause issues"} 
[2026-08-23 07:11:12] local.WARNING: Large IO value detected {"io_id":88,"raw_value":57788407024080187,"note":"Value kept but may cause issues"} 
[2026-08-23 07:11:12] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3071456240845553669,"note":"Value kept but may cause issues"} 
[2026-08-23 07:11:12] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,64,85,24,241,157,16,229,160,163,45,128,80,11,28,10,66,159,81,155,192,1,240,51,227,44,209,4,113,205,22,109,32,27,239,52,2,178,5,46,88,68],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-08-23 07:11:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792649047839277056,"timestamp_seconds":792649047839277.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 07:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586970368001,"66":13602,"64":206,"85":15104,"24":0,"16":122412482105966592,"45":-8992492162221144064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-23 07:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586970368001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:11:12] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-23 07:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122412482105966592,"km_value":122412482105966.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992492162221144064,"description":"Unknown IO ID 45"} 
[2026-08-23 07:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586970368001,"power":13602,"unknown_64":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992492162221144064}} 
[2026-08-23 07:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":161463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:11:12] local.INFO: GPS data processed {"connection_id":161463,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:11:12] local.INFO: Acknowledgment sent {"connection_id":161463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:11:25] local.INFO: TCP Data received {"connection_id":160307,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:11:25] local.INFO: Processing buffer {"connection_id":160307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:11:25] local.INFO: Packet analysis {"connection_id":160307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:11:25] local.INFO: Extracted packet for processing {"connection_id":160307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:11:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586890240001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787449091000,"timestamp_ms":1787449091000,"timestamp_seconds":1787449091,"priority":1,"record_length":96,"hex_timestamp":"000001a02c44a3b8"} 
[2026-08-23 07:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-23 07:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586890240001,"66":26039,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586890240001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:11:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:11:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586890240001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":160307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:11:25] local.INFO: GPS data processed {"connection_id":160307,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:11:25] local.INFO: Acknowledgment sent {"connection_id":160307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:11:37] local.INFO: TCP Data received {"connection_id":160514,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:11:37] local.INFO: Processing buffer {"connection_id":160514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:11:37] local.INFO: IMEI packet received {"connection_id":160514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":160514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:11:40] local.INFO: TCP Data received {"connection_id":160514,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:11:40] local.INFO: Processing buffer {"connection_id":160514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:11:40] local.INFO: IMEI packet received {"connection_id":160514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":160514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:11:40] local.INFO: TCP Data received {"connection_id":160514,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c450d30012d83348005d15390000a000d1d..."} 
[2026-08-23 07:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c450d30012d83348005d15390000a000d1d..."} 
[2026-08-23 07:11:40] local.INFO: Processing buffer {"connection_id":160514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c450d30012d83348005d15390000a000d1d..."} 
[2026-08-23 07:11:40] local.INFO: Packet analysis {"connection_id":160514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c45"} 
[2026-08-23 07:11:40] local.INFO: Extracted packet for processing {"connection_id":160514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c45"} 
[2026-08-23 07:11:40] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97604496,"longitude_deg":76.3573376,"latitude_deg":9.7604496,"altitude":10,"angle":13,"satellites":29,"speed":0,"hex_longitude":"2d833480","hex_latitude":"05d15390","is_valid_coordinates":true} 
[2026-08-23 07:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586974208001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122412482105966592,"note":"Value kept but may cause issues"} 
[2026-08-23 07:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476931584,"note":"Value kept but may cause issues"} 
[2026-08-23 07:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787449118000,"timestamp_ms":1787449118000,"timestamp_seconds":1787449118,"priority":1,"record_length":96,"hex_timestamp":"000001a02c450d30"} 
[2026-08-23 07:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-23 07:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586974208001,"66":13602,"64":206,"85":15104,"24":0,"16":122412482105966592,"45":-8992421793476931584},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-23 07:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586974208001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:11:40] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-23 07:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122412482105966592,"km_value":122412482105966.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476931584,"description":"Unknown IO ID 45"} 
[2026-08-23 07:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586974208001,"power":13602,"unknown_64":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476931584}} 
[2026-08-23 07:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":160514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:11:40] local.INFO: GPS data processed {"connection_id":160514,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:11:40] local.INFO: Acknowledgment sent {"connection_id":160514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:11:47] local.INFO: TCP Data received {"connection_id":162883,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:11:47] local.INFO: Processing buffer {"connection_id":162883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:11:47] local.INFO: IMEI packet received {"connection_id":162883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":162883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:11:52] local.INFO: TCP Data received {"connection_id":162883,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:11:52] local.INFO: Processing buffer {"connection_id":162883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:11:52] local.INFO: IMEI packet received {"connection_id":162883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":162883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:11:53] local.INFO: TCP Data received {"connection_id":162883,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:11:53] local.INFO: Processing buffer {"connection_id":162883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:11:53] local.INFO: Packet analysis {"connection_id":162883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:11:53] local.INFO: Extracted packet for processing {"connection_id":162883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:11:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586890240001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787449091000,"timestamp_ms":1787449091000,"timestamp_seconds":1787449091,"priority":1,"record_length":96,"hex_timestamp":"000001a02c44a3b8"} 
[2026-08-23 07:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-23 07:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586890240001,"66":26039,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586890240001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:11:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:11:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586890240001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":162883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:11:53] local.INFO: GPS data processed {"connection_id":162883,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:11:53] local.INFO: Acknowledgment sent {"connection_id":162883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:12:11] local.INFO: TCP Data received {"connection_id":160514,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c4616d0012d83360005d15348000a000d1f..."} 
[2026-08-23 07:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c4616d0012d83360005d15348000a000d1f..."} 
[2026-08-23 07:12:11] local.INFO: Processing buffer {"connection_id":160514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c4616d0012d83360005d15348000a000d1f..."} 
[2026-08-23 07:12:11] local.INFO: Packet analysis {"connection_id":160514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c46"} 
[2026-08-23 07:12:11] local.INFO: Extracted packet for processing {"connection_id":160514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c46"} 
[2026-08-23 07:12:11] local.INFO: GPS Element Parsed {"raw_longitude":763573760,"raw_latitude":97604424,"longitude_deg":76.357376,"latitude_deg":9.7604424,"altitude":10,"angle":13,"satellites":31,"speed":0,"hex_longitude":"2d833600","hex_latitude":"05d15348","is_valid_coordinates":true} 
[2026-08-23 07:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586974208001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122412482105966592,"note":"Value kept but may cause issues"} 
[2026-08-23 07:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476931584,"note":"Value kept but may cause issues"} 
[2026-08-23 07:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787449186000,"timestamp_ms":1787449186000,"timestamp_seconds":1787449186,"priority":1,"record_length":96,"hex_timestamp":"000001a02c4616d0"} 
[2026-08-23 07:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:12: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-08-23 07: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-23 07:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586974208001,"66":9428,"63":206,"85":15104,"24":0,"16":122412482105966592,"45":-8992421793476931584},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-23 07:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586974208001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:12:11] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-23 07:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122412482105966592,"km_value":122412482105966.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476931584,"description":"Unknown IO ID 45"} 
[2026-08-23 07:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586974208001,"power":9428,"unknown_63":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476931584}} 
[2026-08-23 07:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":160514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:12:11] local.INFO: GPS data processed {"connection_id":160514,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:12:11] local.INFO: Acknowledgment sent {"connection_id":160514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:12:24] local.INFO: TCP Data received {"connection_id":162883,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:12:24] local.INFO: Processing buffer {"connection_id":162883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:12:24] local.INFO: Packet analysis {"connection_id":162883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:12:24] local.INFO: Extracted packet for processing {"connection_id":162883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:12:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586890240001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787449091000,"timestamp_ms":1787449091000,"timestamp_seconds":1787449091,"priority":1,"record_length":96,"hex_timestamp":"000001a02c44a3b8"} 
[2026-08-23 07:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-23 07:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586890240001,"66":26039,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586890240001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:12:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:12:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586890240001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":162883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:12:24] local.INFO: GPS data processed {"connection_id":162883,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:12:24] local.INFO: Acknowledgment sent {"connection_id":162883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:12:47] local.INFO: TCP Data received {"connection_id":162884,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:12:47] local.INFO: Processing buffer {"connection_id":162884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:12:47] local.INFO: IMEI packet received {"connection_id":162884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":162884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:12:52] local.INFO: TCP Data received {"connection_id":162884,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:12:52] local.INFO: Processing buffer {"connection_id":162884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:12:52] local.INFO: IMEI packet received {"connection_id":162884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":162884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:12:57] local.INFO: TCP Data received {"connection_id":162884,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:12:57] local.INFO: Processing buffer {"connection_id":162884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:12:57] local.INFO: Packet analysis {"connection_id":162884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:12:57] local.INFO: Extracted packet for processing {"connection_id":162884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:12:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586890240001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787449091000,"timestamp_ms":1787449091000,"timestamp_seconds":1787449091,"priority":1,"record_length":96,"hex_timestamp":"000001a02c44a3b8"} 
[2026-08-23 07:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-23 07:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586890240001,"66":26039,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586890240001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:12:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:12:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586890240001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":162884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:12:57] local.INFO: GPS data processed {"connection_id":162884,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:12:57] local.INFO: Acknowledgment sent {"connection_id":162884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:13:29] local.INFO: TCP Data received {"connection_id":162884,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:13:29] local.INFO: Processing buffer {"connection_id":162884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c44a3b8012d34c50006aa40980008008525..."} 
[2026-08-23 07:13:29] local.INFO: Packet analysis {"connection_id":162884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:13:29] local.INFO: Extracted packet for processing {"connection_id":162884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c44"} 
[2026-08-23 07:13:29] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586890240001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787449091000,"timestamp_ms":1787449091000,"timestamp_seconds":1787449091,"priority":1,"record_length":96,"hex_timestamp":"000001a02c44a3b8"} 
[2026-08-23 07:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:13: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-08-23 07:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-08-23 07:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586890240001,"66":26039,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586890240001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:13:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:13:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586890240001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":162884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:13:29] local.INFO: GPS data processed {"connection_id":162884,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:13:29] local.INFO: Acknowledgment sent {"connection_id":162884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:13:46] local.INFO: TCP Data received {"connection_id":160308,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:13:46] local.INFO: Processing buffer {"connection_id":160308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:13:46] local.INFO: IMEI packet received {"connection_id":160308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":160308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:13:50] local.INFO: TCP Data received {"connection_id":160308,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:13:50] local.INFO: Processing buffer {"connection_id":160308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:13:50] local.INFO: IMEI packet received {"connection_id":160308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":160308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:13:52] local.INFO: TCP Data received {"connection_id":160308,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:13:52] local.INFO: Processing buffer {"connection_id":160308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:13:52] local.INFO: IMEI packet received {"connection_id":160308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":160308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:13:53] local.INFO: TCP Data received {"connection_id":160308,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:13:53] local.INFO: Processing buffer {"connection_id":160308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:13:53] local.INFO: Packet analysis {"connection_id":160308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:13:53] local.INFO: Extracted packet for processing {"connection_id":160308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586967296001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787449392000,"timestamp_ms":1787449392000,"timestamp_seconds":1787449392,"priority":1,"record_length":96,"hex_timestamp":"000001a02c493b80"} 
[2026-08-23 07:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 07:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:13:53] 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-08-23 07:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586967296001,"66":25919,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586967296001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:13:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586967296001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":160308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:13:53] local.INFO: GPS data processed {"connection_id":160308,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:13:53] local.INFO: Acknowledgment sent {"connection_id":160308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:13:57] local.INFO: TCP Data received {"connection_id":160308,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:13:57] local.INFO: Processing buffer {"connection_id":160308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:13:57] local.INFO: Packet analysis {"connection_id":160308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:13:57] local.INFO: Extracted packet for processing {"connection_id":160308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:13:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586967296001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787449392000,"timestamp_ms":1787449392000,"timestamp_seconds":1787449392,"priority":1,"record_length":96,"hex_timestamp":"000001a02c493b80"} 
[2026-08-23 07:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:13: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-08-23 07:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 07:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586967296001,"66":25919,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586967296001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:13:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:13:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586967296001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":160308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:13:57] local.INFO: GPS data processed {"connection_id":160308,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:13:57] local.INFO: Acknowledgment sent {"connection_id":160308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:14:30] local.INFO: TCP Data received {"connection_id":160308,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:14:30] local.INFO: Processing buffer {"connection_id":160308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:14:30] local.INFO: Packet analysis {"connection_id":160308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:14:30] local.INFO: Extracted packet for processing {"connection_id":160308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:14:30] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586967296001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787449392000,"timestamp_ms":1787449392000,"timestamp_seconds":1787449392,"priority":1,"record_length":96,"hex_timestamp":"000001a02c493b80"} 
[2026-08-23 07:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 07:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586967296001,"66":25919,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586967296001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:14:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:14:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586967296001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":160308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:14:30] local.INFO: GPS data processed {"connection_id":160308,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:14:30] local.INFO: Acknowledgment sent {"connection_id":160308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:14:52] local.INFO: TCP Data received {"connection_id":161464,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:14:52] local.INFO: Processing buffer {"connection_id":161464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:14:52] local.INFO: IMEI packet received {"connection_id":161464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":161464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:14:57] local.INFO: TCP Data received {"connection_id":161464,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:14:57] local.INFO: Processing buffer {"connection_id":161464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:14:57] local.INFO: IMEI packet received {"connection_id":161464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":161464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:14:58] local.INFO: TCP Data received {"connection_id":161464,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:14:58] local.INFO: Processing buffer {"connection_id":161464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:14:58] local.INFO: Packet analysis {"connection_id":161464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:14:58] local.INFO: Extracted packet for processing {"connection_id":161464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:14:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586967296001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787449392000,"timestamp_ms":1787449392000,"timestamp_seconds":1787449392,"priority":1,"record_length":96,"hex_timestamp":"000001a02c493b80"} 
[2026-08-23 07:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 07:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586967296001,"66":25919,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586967296001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:14:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:14:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586967296001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":161464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:14:58] local.INFO: GPS data processed {"connection_id":161464,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:14:58] local.INFO: Acknowledgment sent {"connection_id":161464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:15:02] local.INFO: TCP Data received {"connection_id":161464,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:15:02] local.INFO: Processing buffer {"connection_id":161464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:15:02] local.INFO: Packet analysis {"connection_id":161464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:15:02] local.INFO: Extracted packet for processing {"connection_id":161464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:15:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586967296001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787449392000,"timestamp_ms":1787449392000,"timestamp_seconds":1787449392,"priority":1,"record_length":96,"hex_timestamp":"000001a02c493b80"} 
[2026-08-23 07:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 07:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586967296001,"66":25919,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586967296001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:15:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:15:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586967296001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":161464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:15:02] local.INFO: GPS data processed {"connection_id":161464,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:15:02] local.INFO: Acknowledgment sent {"connection_id":161464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:15:07] local.INFO: TCP Data received {"connection_id":161464,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:15:07] local.INFO: Processing buffer {"connection_id":161464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:15:07] local.INFO: Packet analysis {"connection_id":161464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:15:07] local.INFO: Extracted packet for processing {"connection_id":161464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:15:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586967296001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787449392000,"timestamp_ms":1787449392000,"timestamp_seconds":1787449392,"priority":1,"record_length":96,"hex_timestamp":"000001a02c493b80"} 
[2026-08-23 07:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 07:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586967296001,"66":25919,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586967296001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:15:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:15:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586967296001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":161464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:15:07] local.INFO: GPS data processed {"connection_id":161464,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:15:07] local.INFO: Acknowledgment sent {"connection_id":161464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:15:47] local.INFO: TCP Data received {"connection_id":161465,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:15:47] local.INFO: Processing buffer {"connection_id":161465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:15:47] local.INFO: IMEI packet received {"connection_id":161465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":161465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:15:52] local.INFO: TCP Data received {"connection_id":161465,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:15:52] local.INFO: Processing buffer {"connection_id":161465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:15:52] local.INFO: IMEI packet received {"connection_id":161465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":161465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:15:54] local.INFO: TCP Data received {"connection_id":161465,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:15:54] local.INFO: Processing buffer {"connection_id":161465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:15:54] local.INFO: Packet analysis {"connection_id":161465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:15:54] local.INFO: Extracted packet for processing {"connection_id":161465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:15:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586967296001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787449392000,"timestamp_ms":1787449392000,"timestamp_seconds":1787449392,"priority":1,"record_length":96,"hex_timestamp":"000001a02c493b80"} 
[2026-08-23 07:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 07:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586967296001,"66":25919,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586967296001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:15:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:15:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586967296001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":161465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:15:54] local.INFO: GPS data processed {"connection_id":161465,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:15:54] local.INFO: Acknowledgment sent {"connection_id":161465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:16:25] local.INFO: TCP Data received {"connection_id":161465,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:16:25] local.INFO: Processing buffer {"connection_id":161465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:16:25] local.INFO: Packet analysis {"connection_id":161465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:16:25] local.INFO: Extracted packet for processing {"connection_id":161465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:16:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586967296001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787449392000,"timestamp_ms":1787449392000,"timestamp_seconds":1787449392,"priority":1,"record_length":96,"hex_timestamp":"000001a02c493b80"} 
[2026-08-23 07:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 07:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:16: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-08-23 07:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586967296001,"66":25919,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586967296001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:16:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:16:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586967296001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":161465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:16:25] local.INFO: GPS data processed {"connection_id":161465,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:16:25] local.INFO: Acknowledgment sent {"connection_id":161465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:16:47] local.INFO: TCP Data received {"connection_id":160309,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:16:47] local.INFO: Processing buffer {"connection_id":160309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:16:47] local.INFO: IMEI packet received {"connection_id":160309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":160309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:16:52] local.INFO: TCP Data received {"connection_id":160309,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:16:52] local.INFO: Processing buffer {"connection_id":160309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:16:52] local.INFO: IMEI packet received {"connection_id":160309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":160309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:16:53] local.INFO: TCP Data received {"connection_id":160309,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:16:53] local.INFO: Processing buffer {"connection_id":160309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:16:53] local.INFO: Packet analysis {"connection_id":160309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:16:53] local.INFO: Extracted packet for processing {"connection_id":160309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:16:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586967296001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787449392000,"timestamp_ms":1787449392000,"timestamp_seconds":1787449392,"priority":1,"record_length":96,"hex_timestamp":"000001a02c493b80"} 
[2026-08-23 07:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 07:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:16:53] 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-08-23 07:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586967296001,"66":25919,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586967296001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:16:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:16:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586967296001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":160309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:16:53] local.INFO: GPS data processed {"connection_id":160309,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:16:53] local.INFO: Acknowledgment sent {"connection_id":160309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:17:24] local.INFO: TCP Data received {"connection_id":160309,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:17:24] local.INFO: Processing buffer {"connection_id":160309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:17:24] local.INFO: Packet analysis {"connection_id":160309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:17:24] local.INFO: Extracted packet for processing {"connection_id":160309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:17:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586967296001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787449392000,"timestamp_ms":1787449392000,"timestamp_seconds":1787449392,"priority":1,"record_length":96,"hex_timestamp":"000001a02c493b80"} 
[2026-08-23 07:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 07:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:17: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-08-23 07:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586967296001,"66":25919,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586967296001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:17:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:17:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586967296001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":160309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:17:24] local.INFO: GPS data processed {"connection_id":160309,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:17:24] local.INFO: Acknowledgment sent {"connection_id":160309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:17:27] local.INFO: TCP Data received {"connection_id":162885,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:17:27] local.INFO: Processing buffer {"connection_id":162885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:17:27] local.INFO: IMEI packet received {"connection_id":162885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":162885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:17:28] local.INFO: TCP Data received {"connection_id":162885,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:17:28] local.INFO: Processing buffer {"connection_id":162885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:17:28] local.INFO: IMEI packet received {"connection_id":162885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":162885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:17:32] local.INFO: TCP Data received {"connection_id":162885,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:17:32] local.INFO: Processing buffer {"connection_id":162885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:17:32] local.INFO: IMEI packet received {"connection_id":162885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":162885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:17:33] local.INFO: TCP Data received {"connection_id":162885,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c4cb238012d82954005d1b558000f00af1d..."} 
[2026-08-23 07:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c4cb238012d82954005d1b558000f00af1d..."} 
[2026-08-23 07:17:33] local.INFO: Processing buffer {"connection_id":162885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c4cb238012d82954005d1b558000f00af1d..."} 
[2026-08-23 07:17:33] local.INFO: Packet analysis {"connection_id":162885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c4c"} 
[2026-08-23 07:17:33] local.INFO: Extracted packet for processing {"connection_id":162885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c4c"} 
[2026-08-23 07:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763532608,"raw_latitude":97629528,"longitude_deg":76.3532608,"latitude_deg":9.7629528,"altitude":15,"angle":175,"satellites":29,"speed":12,"hex_longitude":"2d829540","hex_latitude":"05d1b558","is_valid_coordinates":true} 
[2026-08-23 07:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122415260949807104,"note":"Value kept but may cause issues"} 
[2026-08-23 07:17:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,63,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 07:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787449619000,"timestamp_ms":1787449619000,"timestamp_seconds":1787449619,"priority":1,"record_length":96,"hex_timestamp":"000001a02c4cb238"} 
[2026-08-23 07:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-23 07:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13515,"63":206,"85":15104,"24":12,"16":122415260949807104},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16]} 
[2026-08-23 07:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-23 07:17:33] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-23 07:17:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122415260949807104,"km_value":122415260949807.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:17:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13515,"unknown_63":206,"unknown_85":15104,"ignition":12,"odometer":null}} 
[2026-08-23 07:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":162885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:17:33] local.INFO: GPS data processed {"connection_id":162885,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:17:33] local.INFO: Acknowledgment sent {"connection_id":162885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:17:47] local.INFO: TCP Data received {"connection_id":160310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:17:47] local.INFO: Processing buffer {"connection_id":160310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:17:47] local.INFO: IMEI packet received {"connection_id":160310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":160310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:17:52] local.INFO: TCP Data received {"connection_id":160310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:17:52] local.INFO: Processing buffer {"connection_id":160310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:17:52] local.INFO: IMEI packet received {"connection_id":160310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":160310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:17:53] local.INFO: TCP Data received {"connection_id":160310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:17:53] local.INFO: Processing buffer {"connection_id":160310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:17:53] local.INFO: Packet analysis {"connection_id":160310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:17:53] local.INFO: Extracted packet for processing {"connection_id":160310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:17:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:17: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-08-23 07:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586967296001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787449392000,"timestamp_ms":1787449392000,"timestamp_seconds":1787449392,"priority":1,"record_length":96,"hex_timestamp":"000001a02c493b80"} 
[2026-08-23 07:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:17: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 07:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:17: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-08-23 07:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:17: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-08-23 07:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586967296001,"66":25919,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586967296001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:17:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:17:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586967296001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":160310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:17:53] local.INFO: GPS data processed {"connection_id":160310,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:17:53] local.INFO: Acknowledgment sent {"connection_id":160310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:18:03] local.INFO: TCP Data received {"connection_id":162885,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c4cf4a0012d82978005d19188000900af22..."} 
[2026-08-23 07:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c4cf4a0012d82978005d19188000900af22..."} 
[2026-08-23 07:18:03] local.INFO: Processing buffer {"connection_id":162885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c4cf4a0012d82978005d19188000900af22..."} 
[2026-08-23 07:18:03] local.INFO: Packet analysis {"connection_id":162885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c4c"} 
[2026-08-23 07:18:03] local.INFO: Extracted packet for processing {"connection_id":162885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c4c"} 
[2026-08-23 07:18:03] local.INFO: GPS Element Parsed {"raw_longitude":763533184,"raw_latitude":97620360,"longitude_deg":76.3533184,"latitude_deg":9.762036,"altitude":9,"angle":175,"satellites":34,"speed":24,"hex_longitude":"2d829780","hex_latitude":"05d19188","is_valid_coordinates":true} 
[2026-08-23 07:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587102464001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122415707626405888,"note":"Value kept but may cause issues"} 
[2026-08-23 07:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037246683511695360,"note":"Value kept but may cause issues"} 
[2026-08-23 07:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787449636000,"timestamp_ms":1787449636000,"timestamp_seconds":1787449636,"priority":1,"record_length":96,"hex_timestamp":"000001a02c4cf4a0"} 
[2026-08-23 07:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-23 07:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587102464001,"66":13352,"63":206,"85":15104,"24":24,"16":122415707626405888,"45":-9037246683511695360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-23 07:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587102464001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:18:03] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-23 07:18:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122415707626405888,"km_value":122415707626405.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037246683511695360,"description":"Unknown IO ID 45"} 
[2026-08-23 07:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587102464001,"power":13352,"unknown_63":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9037246683511695360}} 
[2026-08-23 07:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":162885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:18:03] local.INFO: GPS data processed {"connection_id":162885,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:18:03] local.INFO: Acknowledgment sent {"connection_id":162885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:18:25] local.INFO: TCP Data received {"connection_id":160310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:18:25] local.INFO: Processing buffer {"connection_id":160310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c493b80012d34c50006aa40980008008526..."} 
[2026-08-23 07:18:25] local.INFO: Packet analysis {"connection_id":160310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:18:25] local.INFO: Extracted packet for processing {"connection_id":160310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c49"} 
[2026-08-23 07:18:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457586967296001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787449392000,"timestamp_ms":1787449392000,"timestamp_seconds":1787449392,"priority":1,"record_length":96,"hex_timestamp":"000001a02c493b80"} 
[2026-08-23 07:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 07:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:18: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-08-23 07:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457586967296001,"66":25919,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457586967296001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:18:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:18:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457586967296001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":160310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:18:25] local.INFO: GPS data processed {"connection_id":160310,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:18:25] local.INFO: Acknowledgment sent {"connection_id":160310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:18:34] local.INFO: TCP Data received {"connection_id":162885,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c4d17c8012d8296c005d17d28000600bd22..."} 
[2026-08-23 07:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c4d17c8012d8296c005d17d28000600bd22..."} 
[2026-08-23 07:18:34] local.INFO: Processing buffer {"connection_id":162885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c4d17c8012d8296c005d17d28000600bd22..."} 
[2026-08-23 07:18:34] local.INFO: Packet analysis {"connection_id":162885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c4d"} 
[2026-08-23 07:18:34] local.INFO: Extracted packet for processing {"connection_id":162885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c4d"} 
[2026-08-23 07:18:34] local.INFO: GPS Element Parsed {"raw_longitude":763532992,"raw_latitude":97615144,"longitude_deg":76.3532992,"latitude_deg":9.7615144,"altitude":6,"angle":189,"satellites":34,"speed":21,"hex_longitude":"2d8296c0","hex_latitude":"05d17d28","is_valid_coordinates":true} 
[2026-08-23 07:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587106816001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122415961029476352,"note":"Value kept but may cause issues"} 
[2026-08-23 07:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036613364816443392,"note":"Value kept but may cause issues"} 
[2026-08-23 07:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787449645000,"timestamp_ms":1787449645000,"timestamp_seconds":1787449645,"priority":1,"record_length":96,"hex_timestamp":"000001a02c4d17c8"} 
[2026-08-23 07:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-23 07:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587106816001,"66":13580,"63":206,"85":15104,"24":21,"16":122415961029476352,"45":-9036613364816443392},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-23 07:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587106816001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:18:34] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-23 07:18:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122415961029476352,"km_value":122415961029476.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036613364816443392,"description":"Unknown IO ID 45"} 
[2026-08-23 07:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587106816001,"power":13580,"unknown_63":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9036613364816443392}} 
[2026-08-23 07:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":162885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:18:34] local.INFO: GPS data processed {"connection_id":162885,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:18:34] local.INFO: Acknowledgment sent {"connection_id":162885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:18:47] local.INFO: TCP Data received {"connection_id":160515,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:18:47] local.INFO: Processing buffer {"connection_id":160515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:18:47] local.INFO: IMEI packet received {"connection_id":160515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":160515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:18:51] local.INFO: TCP Data received {"connection_id":160515,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:18:51] local.INFO: Processing buffer {"connection_id":160515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:18:51] local.INFO: IMEI packet received {"connection_id":160515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":160515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:18:52] local.INFO: TCP Data received {"connection_id":160515,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:18:52] local.INFO: Processing buffer {"connection_id":160515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:18:52] local.INFO: Packet analysis {"connection_id":160515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c4d"} 
[2026-08-23 07:18:52] local.INFO: Extracted packet for processing {"connection_id":160515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c4d"} 
[2026-08-23 07:18:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587044352001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787449693000,"timestamp_ms":1787449693000,"timestamp_seconds":1787449693,"priority":1,"record_length":96,"hex_timestamp":"000001a02c4dd348"} 
[2026-08-23 07:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 07:18:52] 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-08-23 07:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:18:52] 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-08-23 07:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587044352001,"66":25843,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587044352001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:18:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:18:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587044352001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":160515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:18:52] local.INFO: GPS data processed {"connection_id":160515,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:18:52] local.INFO: Acknowledgment sent {"connection_id":160515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:19:05] local.INFO: TCP Data received {"connection_id":162885,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c4e67b8012d83078005d15758000a013422..."} 
[2026-08-23 07:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c4e67b8012d83078005d15758000a013422..."} 
[2026-08-23 07:19:05] local.INFO: Processing buffer {"connection_id":162885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c4e67b8012d83078005d15758000a013422..."} 
[2026-08-23 07:19:05] local.INFO: Packet analysis {"connection_id":162885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c4e"} 
[2026-08-23 07:19:05] local.INFO: Extracted packet for processing {"connection_id":162885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c4e"} 
[2026-08-23 07:19:05] local.INFO: GPS Element Parsed {"raw_longitude":763561856,"raw_latitude":97605464,"longitude_deg":76.3561856,"latitude_deg":9.7605464,"altitude":10,"angle":308,"satellites":34,"speed":1,"hex_longitude":"2d830780","hex_latitude":"05d15758","is_valid_coordinates":true} 
[2026-08-23 07:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587130624001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122417730556002304,"note":"Value kept but may cause issues"} 
[2026-08-23 07:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9005017798684497920,"note":"Value kept but may cause issues"} 
[2026-08-23 07:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787449731000,"timestamp_ms":1787449731000,"timestamp_seconds":1787449731,"priority":1,"record_length":96,"hex_timestamp":"000001a02c4e67b8"} 
[2026-08-23 07:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 07:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587130624001,"66":13450,"63":206,"85":15104,"24":1,"16":122417730556002304,"45":-9005017798684497920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-23 07:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587130624001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:19:05] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-23 07:19:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122417730556002304,"km_value":122417730556002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9005017798684497920,"description":"Unknown IO ID 45"} 
[2026-08-23 07:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587130624001,"power":13450,"unknown_63":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":-9005017798684497920}} 
[2026-08-23 07:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":162885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:19:05] local.INFO: GPS data processed {"connection_id":162885,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:19:05] local.INFO: Acknowledgment sent {"connection_id":162885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:19:25] local.INFO: TCP Data received {"connection_id":160515,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:19:25] local.INFO: Processing buffer {"connection_id":160515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:19:25] local.INFO: Packet analysis {"connection_id":160515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c4d"} 
[2026-08-23 07:19:25] local.INFO: Extracted packet for processing {"connection_id":160515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c4d"} 
[2026-08-23 07:19:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587044352001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787449693000,"timestamp_ms":1787449693000,"timestamp_seconds":1787449693,"priority":1,"record_length":96,"hex_timestamp":"000001a02c4dd348"} 
[2026-08-23 07:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 07:19:25] 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-08-23 07:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:19:25] 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-08-23 07:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587044352001,"66":25843,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587044352001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:19:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:19:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587044352001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":160515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:19:25] local.INFO: GPS data processed {"connection_id":160515,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:19:25] local.INFO: Acknowledgment sent {"connection_id":160515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:19:36] local.INFO: TCP Data received {"connection_id":162885,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c4e86f8012d83080005d156d8000a007422..."} 
[2026-08-23 07:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c4e86f8012d83080005d156d8000a007422..."} 
[2026-08-23 07:19:36] local.INFO: Processing buffer {"connection_id":162885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c4e86f8012d83080005d156d8000a007422..."} 
[2026-08-23 07:19:36] local.INFO: Packet analysis {"connection_id":162885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c4e"} 
[2026-08-23 07:19:36] local.INFO: Extracted packet for processing {"connection_id":162885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c4e"} 
[2026-08-23 07:19:36] local.INFO: GPS Element Parsed {"raw_longitude":763561984,"raw_latitude":97605336,"longitude_deg":76.3561984,"latitude_deg":9.7605336,"altitude":10,"angle":116,"satellites":34,"speed":5,"hex_longitude":"2d830800","hex_latitude":"05d156d8","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587131136001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122417743440904192,"note":"Value kept but may cause issues"} 
[2026-08-23 07:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9005088167428663296,"note":"Value kept but may cause issues"} 
[2026-08-23 07:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787449739000,"timestamp_ms":1787449739000,"timestamp_seconds":1787449739,"priority":1,"record_length":96,"hex_timestamp":"000001a02c4e86f8"} 
[2026-08-23 07:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-23 07:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587131136001,"66":13602,"63":206,"85":15104,"24":5,"16":122417743440904192,"45":-9005088167428663296},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-23 07:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587131136001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:19:36] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-23 07:19:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122417743440904192,"km_value":122417743440904.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9005088167428663296,"description":"Unknown IO ID 45"} 
[2026-08-23 07:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587131136001,"power":13602,"unknown_63":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9005088167428663296}} 
[2026-08-23 07:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":162885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:19:36] local.INFO: GPS data processed {"connection_id":162885,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:19:36] local.INFO: Acknowledgment sent {"connection_id":162885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:19:46] local.INFO: TCP Data received {"connection_id":160311,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:19:46] local.INFO: Processing buffer {"connection_id":160311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:19:46] local.INFO: IMEI packet received {"connection_id":160311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":160311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:19:52] local.INFO: TCP Data received {"connection_id":160311,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:19:52] local.INFO: Processing buffer {"connection_id":160311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:19:52] local.INFO: IMEI packet received {"connection_id":160311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":160311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:19:53] local.INFO: TCP Data received {"connection_id":160311,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:19:53] local.INFO: Processing buffer {"connection_id":160311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:19:53] local.INFO: Packet analysis {"connection_id":160311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c4d"} 
[2026-08-23 07:19:53] local.INFO: Extracted packet for processing {"connection_id":160311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c4d"} 
[2026-08-23 07:19:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587044352001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787449693000,"timestamp_ms":1787449693000,"timestamp_seconds":1787449693,"priority":1,"record_length":96,"hex_timestamp":"000001a02c4dd348"} 
[2026-08-23 07:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 07:19:53] 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-08-23 07:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587044352001,"66":25843,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587044352001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:19:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:19:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587044352001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":160311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:19:53] local.INFO: GPS data processed {"connection_id":160311,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:19:53] local.INFO: Acknowledgment sent {"connection_id":160311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:20:07] local.INFO: TCP Data received {"connection_id":162885,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c4e8ae0012d8308c005d156b0000a005a22..."} 
[2026-08-23 07:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c4e8ae0012d8308c005d156b0000a005a22..."} 
[2026-08-23 07:20:07] local.INFO: Processing buffer {"connection_id":162885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c4e8ae0012d8308c005d156b0000a005a22..."} 
[2026-08-23 07:20:07] local.INFO: Packet analysis {"connection_id":162885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c4e"} 
[2026-08-23 07:20:07] local.INFO: Extracted packet for processing {"connection_id":162885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c4e"} 
[2026-08-23 07:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763562176,"raw_latitude":97605296,"longitude_deg":76.3562176,"latitude_deg":9.7605296,"altitude":10,"angle":90,"satellites":34,"speed":8,"hex_longitude":"2d8308c0","hex_latitude":"05d156b0","is_valid_coordinates":true} 
[2026-08-23 07:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587133184001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122417747735871488,"note":"Value kept but may cause issues"} 
[2026-08-23 07:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9004947429940340736,"note":"Value kept but may cause issues"} 
[2026-08-23 07:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787449740000,"timestamp_ms":1787449740000,"timestamp_seconds":1787449740,"priority":1,"record_length":96,"hex_timestamp":"000001a02c4e8ae0"} 
[2026-08-23 07:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-23 07:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587133184001,"66":13602,"63":206,"85":15104,"24":8,"16":122417747735871488,"45":-9004947429940340736},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-23 07:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587133184001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:20:07] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-23 07:20:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122417747735871488,"km_value":122417747735871.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9004947429940340736,"description":"Unknown IO ID 45"} 
[2026-08-23 07:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587133184001,"power":13602,"unknown_63":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9004947429940340736}} 
[2026-08-23 07:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":162885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:20:07] local.INFO: GPS data processed {"connection_id":162885,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:20:07] local.INFO: Acknowledgment sent {"connection_id":162885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:20:25] local.INFO: TCP Data received {"connection_id":160311,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:20:25] local.INFO: Processing buffer {"connection_id":160311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:20:25] local.INFO: Packet analysis {"connection_id":160311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c4d"} 
[2026-08-23 07:20:25] local.INFO: Extracted packet for processing {"connection_id":160311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c4d"} 
[2026-08-23 07:20:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587044352001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787449693000,"timestamp_ms":1787449693000,"timestamp_seconds":1787449693,"priority":1,"record_length":96,"hex_timestamp":"000001a02c4dd348"} 
[2026-08-23 07:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 07:20:25] 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-08-23 07:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587044352001,"66":25843,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587044352001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:20:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:20:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587044352001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":160311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:20:25] local.INFO: GPS data processed {"connection_id":160311,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:20:25] local.INFO: Acknowledgment sent {"connection_id":160311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:20:38] local.INFO: TCP Data received {"connection_id":162885,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c4fdeb8012d82950005d163900005015421..."} 
[2026-08-23 07:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c4fdeb8012d82950005d163900005015421..."} 
[2026-08-23 07:20:38] local.INFO: Processing buffer {"connection_id":162885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c4fdeb8012d82950005d163900005015421..."} 
[2026-08-23 07:20:38] local.INFO: Packet analysis {"connection_id":162885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c4f"} 
[2026-08-23 07:20:38] local.INFO: Extracted packet for processing {"connection_id":162885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c4f"} 
[2026-08-23 07:20:38] local.INFO: GPS Element Parsed {"raw_longitude":763532544,"raw_latitude":97608592,"longitude_deg":76.3532544,"latitude_deg":9.7608592,"altitude":5,"angle":340,"satellites":33,"speed":11,"hex_longitude":"2d829500","hex_latitude":"05d16390","is_valid_coordinates":true} 
[2026-08-23 07:20: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-08-23 07:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587155456001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122420324716249088,"note":"Value kept but may cause issues"} 
[2026-08-23 07:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037246683517112320,"note":"Value kept but may cause issues"} 
[2026-08-23 07:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787449827000,"timestamp_ms":1787449827000,"timestamp_seconds":1787449827,"priority":1,"record_length":96,"hex_timestamp":"000001a02c4fdeb8"} 
[2026-08-23 07:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:20:38] 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-08-23 07:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-23 07:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:20: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-08-23 07:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":162885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":162885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":162885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587155456001,"66":13363,"221":206,"85":15104,"24":11,"16":122420324716249088,"45":-9037246683517112320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-08-23 07:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587155456001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:20:38] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-23 07:20:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122420324716249088,"km_value":122420324716249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037246683517112320,"description":"Unknown IO ID 45"} 
[2026-08-23 07:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587155456001,"power":13363,"unknown_221":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9037246683517112320}} 
[2026-08-23 07:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":162885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:20:38] local.INFO: GPS data processed {"connection_id":162885,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:20:38] local.INFO: Acknowledgment sent {"connection_id":162885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:20:52] local.INFO: TCP Data received {"connection_id":160312,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:20:52] local.INFO: Processing buffer {"connection_id":160312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:20:52] local.INFO: IMEI packet received {"connection_id":160312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":160312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:20:57] local.INFO: TCP Data received {"connection_id":160312,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:20:57] local.INFO: Processing buffer {"connection_id":160312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:20:57] local.INFO: IMEI packet received {"connection_id":160312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":160312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:20:58] local.INFO: TCP Data received {"connection_id":160312,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:20:58] local.INFO: Processing buffer {"connection_id":160312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:20:58] local.INFO: Packet analysis {"connection_id":160312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c4d"} 
[2026-08-23 07:20:58] local.INFO: Extracted packet for processing {"connection_id":160312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c4d"} 
[2026-08-23 07:20:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587044352001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787449693000,"timestamp_ms":1787449693000,"timestamp_seconds":1787449693,"priority":1,"record_length":96,"hex_timestamp":"000001a02c4dd348"} 
[2026-08-23 07:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 07:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587044352001,"66":25843,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587044352001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:20:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:20:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587044352001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":160312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:20:58] local.INFO: GPS data processed {"connection_id":160312,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:20:58] local.INFO: Acknowledgment sent {"connection_id":160312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:21:02] local.INFO: TCP Data received {"connection_id":160312,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:21:02] local.INFO: Processing buffer {"connection_id":160312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:21:02] local.INFO: Packet analysis {"connection_id":160312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c4d"} 
[2026-08-23 07:21:02] local.INFO: Extracted packet for processing {"connection_id":160312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c4d"} 
[2026-08-23 07:21:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587044352001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787449693000,"timestamp_ms":1787449693000,"timestamp_seconds":1787449693,"priority":1,"record_length":96,"hex_timestamp":"000001a02c4dd348"} 
[2026-08-23 07:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 07:21:02] 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-08-23 07:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587044352001,"66":25843,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587044352001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:21:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:21:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587044352001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":160312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:21:02] local.INFO: GPS data processed {"connection_id":160312,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:21:02] local.INFO: Acknowledgment sent {"connection_id":160312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:21:09] local.INFO: TCP Data received {"connection_id":162885,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c4fe2a0012d8294c005d164d80005016021..."} 
[2026-08-23 07:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c4fe2a0012d8294c005d164d80005016021..."} 
[2026-08-23 07:21:09] local.INFO: Processing buffer {"connection_id":162885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c4fe2a0012d8294c005d164d80005016021..."} 
[2026-08-23 07:21:09] local.INFO: Packet analysis {"connection_id":162885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c4f"} 
[2026-08-23 07:21:09] local.INFO: Extracted packet for processing {"connection_id":162885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c4f"} 
[2026-08-23 07:21:09] local.INFO: GPS Element Parsed {"raw_longitude":763532480,"raw_latitude":97608920,"longitude_deg":76.353248,"latitude_deg":9.760892,"altitude":5,"angle":352,"satellites":33,"speed":14,"hex_longitude":"2d8294c0","hex_latitude":"05d164d8","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587155712001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122420341896118272,"note":"Value kept but may cause issues"} 
[2026-08-23 07:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037317052261232640,"note":"Value kept but may cause issues"} 
[2026-08-23 07:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787449828000,"timestamp_ms":1787449828000,"timestamp_seconds":1787449828,"priority":1,"record_length":96,"hex_timestamp":"000001a02c4fe2a0"} 
[2026-08-23 07:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:21:09] 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-08-23 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-23 07:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":162885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":162885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":162885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587155712001,"66":13363,"221":206,"85":15104,"24":14,"16":122420341896118272,"45":-9037317052261232640},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-08-23 07:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587155712001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:21:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-23 07:21:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122420341896118272,"km_value":122420341896118.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037317052261232640,"description":"Unknown IO ID 45"} 
[2026-08-23 07:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587155712001,"power":13363,"unknown_221":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9037317052261232640}} 
[2026-08-23 07:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":162885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:21:09] local.INFO: GPS data processed {"connection_id":162885,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:21:09] local.INFO: Acknowledgment sent {"connection_id":162885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:21:42] local.INFO: TCP Data received {"connection_id":162885,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c4fee58012d8294c005d169e80005000321..."} 
[2026-08-23 07:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c4fee58012d8294c005d169e80005000321..."} 
[2026-08-23 07:21:42] local.INFO: Processing buffer {"connection_id":162885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c4fee58012d8294c005d169e80005000321..."} 
[2026-08-23 07:21:42] local.INFO: Packet analysis {"connection_id":162885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c4f"} 
[2026-08-23 07:21:42] local.INFO: Extracted packet for processing {"connection_id":162885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c4f"} 
[2026-08-23 07:21:42] local.INFO: GPS Element Parsed {"raw_longitude":763532480,"raw_latitude":97610216,"longitude_deg":76.353248,"latitude_deg":9.7610216,"altitude":5,"angle":3,"satellites":33,"speed":18,"hex_longitude":"2d8294c0","hex_latitude":"05d169e8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 07:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587155968001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122420406320627712,"note":"Value kept but may cause issues"} 
[2026-08-23 07:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037387421005326336,"note":"Value kept but may cause issues"} 
[2026-08-23 07:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787449831000,"timestamp_ms":1787449831000,"timestamp_seconds":1787449831,"priority":1,"record_length":96,"hex_timestamp":"000001a02c4fee58"} 
[2026-08-23 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-08-23 07:21:42] 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-08-23 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-23 07:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 07:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587155968001,"66":13102,"221":206,"85":15104,"24":18,"16":122420406320627712,"45":-9037387421005326336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-08-23 07:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587155968001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:21:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-23 07:21:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122420406320627712,"km_value":122420406320627.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037387421005326336,"description":"Unknown IO ID 45"} 
[2026-08-23 07:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587155968001,"power":13102,"unknown_221":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9037387421005326336}} 
[2026-08-23 07:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":162885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:21:42] local.INFO: GPS data processed {"connection_id":162885,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:21:42] local.INFO: Acknowledgment sent {"connection_id":162885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:21:47] local.INFO: TCP Data received {"connection_id":160516,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:21:47] local.INFO: Processing buffer {"connection_id":160516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:21:47] local.INFO: IMEI packet received {"connection_id":160516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":160516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:21:52] local.INFO: TCP Data received {"connection_id":160516,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:21:52] local.INFO: Processing buffer {"connection_id":160516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:21:52] local.INFO: IMEI packet received {"connection_id":160516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":160516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:21:53] local.INFO: TCP Data received {"connection_id":160516,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:21:53] local.INFO: Processing buffer {"connection_id":160516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:21:53] local.INFO: Packet analysis {"connection_id":160516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c4d"} 
[2026-08-23 07:21:53] local.INFO: Extracted packet for processing {"connection_id":160516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c4d"} 
[2026-08-23 07:21:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587044352001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787449693000,"timestamp_ms":1787449693000,"timestamp_seconds":1787449693,"priority":1,"record_length":96,"hex_timestamp":"000001a02c4dd348"} 
[2026-08-23 07:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 07:21:53] 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-08-23 07:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:21:53] 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-08-23 07:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587044352001,"66":25843,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587044352001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:21:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:21:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587044352001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":160516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:21:53] local.INFO: GPS data processed {"connection_id":160516,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:21:53] local.INFO: Acknowledgment sent {"connection_id":160516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:22:07] local.INFO: TCP Data received {"connection_id":162886,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:22:07] local.INFO: Processing buffer {"connection_id":162886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:22:07] local.INFO: IMEI packet received {"connection_id":162886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":162886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:22:09] local.INFO: TCP Data received {"connection_id":162886,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:22:09] local.INFO: Processing buffer {"connection_id":162886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:22:09] local.INFO: IMEI packet received {"connection_id":162886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":162886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:22:10] local.INFO: TCP Data received {"connection_id":162886,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c502cd8012d8295c005d18d88000a016321..."} 
[2026-08-23 07:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c502cd8012d8295c005d18d88000a016321..."} 
[2026-08-23 07:22:10] local.INFO: Processing buffer {"connection_id":162886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c502cd8012d8295c005d18d88000a016321..."} 
[2026-08-23 07:22:10] local.INFO: Packet analysis {"connection_id":162886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c50"} 
[2026-08-23 07:22:10] local.INFO: Extracted packet for processing {"connection_id":162886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c50"} 
[2026-08-23 07:22:10] local.INFO: GPS Element Parsed {"raw_longitude":763532736,"raw_latitude":97619336,"longitude_deg":76.3532736,"latitude_deg":9.7619336,"altitude":10,"angle":355,"satellites":33,"speed":25,"hex_longitude":"2d8295c0","hex_latitude":"05d18d88","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587156736001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122420848702259200,"note":"Value kept but may cause issues"} 
[2026-08-23 07:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037387421004994560,"note":"Value kept but may cause issues"} 
[2026-08-23 07:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787449847000,"timestamp_ms":1787449847000,"timestamp_seconds":1787449847,"priority":1,"record_length":96,"hex_timestamp":"000001a02c502cd8"} 
[2026-08-23 07:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-23 07:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":162886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":162886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":162886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587156736001,"66":13537,"221":206,"85":15104,"24":25,"16":122420848702259200,"45":-9037387421004994560},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-08-23 07:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587156736001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:22:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-23 07:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122420848702259200,"km_value":122420848702259.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037387421004994560,"description":"Unknown IO ID 45"} 
[2026-08-23 07:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587156736001,"power":13537,"unknown_221":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9037387421004994560}} 
[2026-08-23 07:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":162886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:22:10] local.INFO: GPS data processed {"connection_id":162886,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:22:10] local.INFO: Acknowledgment sent {"connection_id":162886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:22:25] local.INFO: TCP Data received {"connection_id":160516,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:22:25] local.INFO: Processing buffer {"connection_id":160516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:22:25] local.INFO: Packet analysis {"connection_id":160516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c4d"} 
[2026-08-23 07:22:25] local.INFO: Extracted packet for processing {"connection_id":160516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c4d"} 
[2026-08-23 07:22:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587044352001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787449693000,"timestamp_ms":1787449693000,"timestamp_seconds":1787449693,"priority":1,"record_length":96,"hex_timestamp":"000001a02c4dd348"} 
[2026-08-23 07:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 07:22:25] 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-08-23 07:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:22:25] 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-08-23 07:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587044352001,"66":25843,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587044352001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:22:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:22:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587044352001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":160516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:22:25] local.INFO: GPS data processed {"connection_id":160516,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:22:25] local.INFO: Acknowledgment sent {"connection_id":160516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:22:41] local.INFO: TCP Data received {"connection_id":162886,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c506388012d8294c005d1b2600009000322..."} 
[2026-08-23 07:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c506388012d8294c005d1b2600009000322..."} 
[2026-08-23 07:22:41] local.INFO: Processing buffer {"connection_id":162886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c506388012d8294c005d1b2600009000322..."} 
[2026-08-23 07:22:41] local.INFO: Packet analysis {"connection_id":162886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c50"} 
[2026-08-23 07:22:41] local.INFO: Extracted packet for processing {"connection_id":162886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c50"} 
[2026-08-23 07:22:41] local.INFO: GPS Element Parsed {"raw_longitude":763532480,"raw_latitude":97628768,"longitude_deg":76.353248,"latitude_deg":9.7628768,"altitude":9,"angle":3,"satellites":34,"speed":26,"hex_longitude":"2d8294c0","hex_latitude":"05d1b260","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587160832001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122421308263759872,"note":"Value kept but may cause issues"} 
[2026-08-23 07:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037105946025949184,"note":"Value kept but may cause issues"} 
[2026-08-23 07:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787449861000,"timestamp_ms":1787449861000,"timestamp_seconds":1787449861,"priority":1,"record_length":96,"hex_timestamp":"000001a02c506388"} 
[2026-08-23 07:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-23 07:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587160832001,"66":13374,"221":206,"85":15104,"24":26,"16":122421308263759872,"45":-9037105946025949184},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-08-23 07:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587160832001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:22:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-23 07:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122421308263759872,"km_value":122421308263759.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037105946025949184,"description":"Unknown IO ID 45"} 
[2026-08-23 07:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587160832001,"power":13374,"unknown_221":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9037105946025949184}} 
[2026-08-23 07:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":162886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:22:41] local.INFO: GPS data processed {"connection_id":162886,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:22:41] local.INFO: Acknowledgment sent {"connection_id":162886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:22:47] local.INFO: TCP Data received {"connection_id":162887,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:22:47] local.INFO: Processing buffer {"connection_id":162887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:22:47] local.INFO: IMEI packet received {"connection_id":162887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":162887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:22:52] local.INFO: TCP Data received {"connection_id":162887,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:22:52] local.INFO: Processing buffer {"connection_id":162887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:22:52] local.INFO: IMEI packet received {"connection_id":162887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":162887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:22:53] local.INFO: TCP Data received {"connection_id":162887,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:22:53] local.INFO: Processing buffer {"connection_id":162887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:22:53] local.INFO: Packet analysis {"connection_id":162887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c4d"} 
[2026-08-23 07:22:53] local.INFO: Extracted packet for processing {"connection_id":162887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c4d"} 
[2026-08-23 07:22:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587044352001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787449693000,"timestamp_ms":1787449693000,"timestamp_seconds":1787449693,"priority":1,"record_length":96,"hex_timestamp":"000001a02c4dd348"} 
[2026-08-23 07:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 07:22:53] 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-08-23 07:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587044352001,"66":25843,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587044352001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:22:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:22:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587044352001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":162887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:22:53] local.INFO: GPS data processed {"connection_id":162887,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:22:53] local.INFO: Acknowledgment sent {"connection_id":162887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:23:12] local.INFO: TCP Data received {"connection_id":162886,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c509a38012d82978005d1d6580008016321..."} 
[2026-08-23 07:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c509a38012d82978005d1d6580008016321..."} 
[2026-08-23 07:23:12] local.INFO: Processing buffer {"connection_id":162886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c509a38012d82978005d1d6580008016321..."} 
[2026-08-23 07:23:12] local.INFO: Packet analysis {"connection_id":162886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c50"} 
[2026-08-23 07:23:12] local.INFO: Extracted packet for processing {"connection_id":162886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c50"} 
[2026-08-23 07:23:12] local.INFO: GPS Element Parsed {"raw_longitude":763533184,"raw_latitude":97637976,"longitude_deg":76.3533184,"latitude_deg":9.7637976,"altitude":8,"angle":355,"satellites":33,"speed":25,"hex_longitude":"2d829780","hex_latitude":"05d1d658","is_valid_coordinates":true} 
[2026-08-23 07:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587164416001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122421754940358656,"note":"Value kept but may cause issues"} 
[2026-08-23 07:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037387421000245248,"note":"Value kept but may cause issues"} 
[2026-08-23 07:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787449875000,"timestamp_ms":1787449875000,"timestamp_seconds":1787449875,"priority":1,"record_length":96,"hex_timestamp":"000001a02c509a38"} 
[2026-08-23 07:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:23:12] 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-08-23 07:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-23 07:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587164416001,"66":13417,"221":206,"85":15104,"24":25,"16":122421754940358656,"45":-9037387421000245248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-08-23 07:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587164416001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:23:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-23 07:23:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122421754940358656,"km_value":122421754940358.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037387421000245248,"description":"Unknown IO ID 45"} 
[2026-08-23 07:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587164416001,"power":13417,"unknown_221":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9037387421000245248}} 
[2026-08-23 07:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":162886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:23:13] local.INFO: GPS data processed {"connection_id":162886,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:23:13] local.INFO: Acknowledgment sent {"connection_id":162886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:23:25] local.INFO: TCP Data received {"connection_id":162887,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:23:25] local.INFO: Processing buffer {"connection_id":162887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c4dd348012d34c50006aa40980008008524..."} 
[2026-08-23 07:23:25] local.INFO: Packet analysis {"connection_id":162887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c4d"} 
[2026-08-23 07:23:25] local.INFO: Extracted packet for processing {"connection_id":162887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c4d"} 
[2026-08-23 07:23:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587044352001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787449693000,"timestamp_ms":1787449693000,"timestamp_seconds":1787449693,"priority":1,"record_length":96,"hex_timestamp":"000001a02c4dd348"} 
[2026-08-23 07:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 07:23:25] 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-08-23 07:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587044352001,"66":25843,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587044352001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:23:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:23:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587044352001,"power":25843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":162887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":684999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:23:25] local.INFO: GPS data processed {"connection_id":162887,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:23:25] local.INFO: Acknowledgment sent {"connection_id":162887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:23:44] local.INFO: TCP Data received {"connection_id":162886,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c50d0e8012d82950005d1fa300009016622..."} 
[2026-08-23 07:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c50d0e8012d82950005d1fa300009016622..."} 
[2026-08-23 07:23:44] local.INFO: Processing buffer {"connection_id":162886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c50d0e8012d82950005d1fa300009016622..."} 
[2026-08-23 07:23:44] local.INFO: Packet analysis {"connection_id":162886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c50"} 
[2026-08-23 07:23:44] local.INFO: Extracted packet for processing {"connection_id":162886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c50"} 
[2026-08-23 07:23:44] local.INFO: GPS Element Parsed {"raw_longitude":763532544,"raw_latitude":97647152,"longitude_deg":76.3532544,"latitude_deg":9.7647152,"altitude":9,"angle":358,"satellites":34,"speed":25,"hex_longitude":"2d829500","hex_latitude":"05d1fa30","is_valid_coordinates":true} 
[2026-08-23 07:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587168000001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122422201616957440,"note":"Value kept but may cause issues"} 
[2026-08-23 07:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036613364811933696,"note":"Value kept but may cause issues"} 
[2026-08-23 07:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787449889000,"timestamp_ms":1787449889000,"timestamp_seconds":1787449889,"priority":1,"record_length":96,"hex_timestamp":"000001a02c50d0e8"} 
[2026-08-23 07:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:23:44] 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-08-23 07:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-23 07:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587168000001,"66":13493,"221":206,"85":15104,"24":25,"16":122422201616957440,"45":-9036613364811933696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-08-23 07:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587168000001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:23:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-23 07:23:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122422201616957440,"km_value":122422201616957.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036613364811933696,"description":"Unknown IO ID 45"} 
[2026-08-23 07:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587168000001,"power":13493,"unknown_221":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9036613364811933696}} 
[2026-08-23 07:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":162886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:23:44] local.INFO: GPS data processed {"connection_id":162886,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:23:44] local.INFO: Acknowledgment sent {"connection_id":162886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:23:47] local.INFO: TCP Data received {"connection_id":160313,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:23:47] local.INFO: Processing buffer {"connection_id":160313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:23:47] local.INFO: IMEI packet received {"connection_id":160313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":160313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:23:52] local.INFO: TCP Data received {"connection_id":160313,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:23:52] local.INFO: Processing buffer {"connection_id":160313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:23:52] local.INFO: IMEI packet received {"connection_id":160313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":160313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:23:53] local.INFO: TCP Data received {"connection_id":160313,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:23:53] local.INFO: Processing buffer {"connection_id":160313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:23:53] local.INFO: Packet analysis {"connection_id":160313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:23:53] local.INFO: Extracted packet for processing {"connection_id":160313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:23:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:23: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-08-23 07:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587121408001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787449994000,"timestamp_ms":1787449994000,"timestamp_seconds":1787449994,"priority":1,"record_length":96,"hex_timestamp":"000001a02c526b10"} 
[2026-08-23 07:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 07:23:53] 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-08-23 07:23: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-08-23 07:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:23:53] 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-08-23 07:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587121408001,"66":25756,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587121408001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:23:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:23:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587121408001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":160313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:23:53] local.INFO: GPS data processed {"connection_id":160313,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:23:53] local.INFO: Acknowledgment sent {"connection_id":160313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:24:06] local.INFO: TCP Data received {"connection_id":161466,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:24:06] local.INFO: Processing buffer {"connection_id":161466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:24:06] local.INFO: IMEI packet received {"connection_id":161466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":161466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:24:12] local.INFO: TCP Data received {"connection_id":161466,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:24:12] local.INFO: Processing buffer {"connection_id":161466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:24:12] local.INFO: IMEI packet received {"connection_id":161466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":161466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:24:13] local.INFO: TCP Data received {"connection_id":161466,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c52f7b0012d8280c005d348e0000b015923..."} 
[2026-08-23 07:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c52f7b0012d8280c005d348e0000b015923..."} 
[2026-08-23 07:24:13] local.INFO: Processing buffer {"connection_id":161466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c52f7b0012d8280c005d348e0000b015923..."} 
[2026-08-23 07:24:13] local.INFO: Packet analysis {"connection_id":161466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:24:13] local.INFO: Extracted packet for processing {"connection_id":161466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:24:13] local.INFO: GPS Element Parsed {"raw_longitude":763527360,"raw_latitude":97732832,"longitude_deg":76.352736,"latitude_deg":9.7732832,"altitude":11,"angle":345,"satellites":35,"speed":5,"hex_longitude":"2d8280c0","hex_latitude":"05d348e0","is_valid_coordinates":true} 
[2026-08-23 07:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587204096001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122426380620136448,"note":"Value kept but may cause issues"} 
[2026-08-23 07:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042735445532624896,"note":"Value kept but may cause issues"} 
[2026-08-23 07:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787450030000,"timestamp_ms":1787450030000,"timestamp_seconds":1787450030,"priority":1,"record_length":96,"hex_timestamp":"000001a02c52f7b0"} 
[2026-08-23 07:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-23 07:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587204096001,"66":13417,"68":206,"85":15104,"24":5,"16":122426380620136448,"45":-9042735445532624896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-23 07:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587204096001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:24:13] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-23 07:24:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122426380620136448,"km_value":122426380620136.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042735445532624896,"description":"Unknown IO ID 45"} 
[2026-08-23 07:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587204096001,"power":13417,"unknown_68":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9042735445532624896}} 
[2026-08-23 07:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":161466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:24:13] local.INFO: GPS data processed {"connection_id":161466,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:24:13] local.INFO: Acknowledgment sent {"connection_id":161466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:24:24] local.INFO: TCP Data received {"connection_id":160313,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:24:24] local.INFO: Processing buffer {"connection_id":160313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:24:24] local.INFO: Packet analysis {"connection_id":160313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:24:24] local.INFO: Extracted packet for processing {"connection_id":160313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:24:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587121408001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787449994000,"timestamp_ms":1787449994000,"timestamp_seconds":1787449994,"priority":1,"record_length":96,"hex_timestamp":"000001a02c526b10"} 
[2026-08-23 07:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 07:24:24] 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-08-23 07:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:24: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-08-23 07:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587121408001,"66":25756,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587121408001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:24:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:24:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587121408001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":160313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:24:24] local.INFO: GPS data processed {"connection_id":160313,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:24:24] local.INFO: Acknowledgment sent {"connection_id":160313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:24:44] local.INFO: TCP Data received {"connection_id":161466,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c52ff80012d82804005d34a08000b013b22..."} 
[2026-08-23 07:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c52ff80012d82804005d34a08000b013b22..."} 
[2026-08-23 07:24:44] local.INFO: Processing buffer {"connection_id":161466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c52ff80012d82804005d34a08000b013b22..."} 
[2026-08-23 07:24:44] local.INFO: Packet analysis {"connection_id":161466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:24:44] local.INFO: Extracted packet for processing {"connection_id":161466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:24:44] local.INFO: GPS Element Parsed {"raw_longitude":763527232,"raw_latitude":97733128,"longitude_deg":76.3527232,"latitude_deg":9.7733128,"altitude":11,"angle":315,"satellites":34,"speed":6,"hex_longitude":"2d828040","hex_latitude":"05d34a08","is_valid_coordinates":true} 
[2026-08-23 07:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587207680001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122426397800005632,"note":"Value kept but may cause issues"} 
[2026-08-23 07:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043016920507817984,"note":"Value kept but may cause issues"} 
[2026-08-23 07:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787450032000,"timestamp_ms":1787450032000,"timestamp_seconds":1787450032,"priority":1,"record_length":96,"hex_timestamp":"000001a02c52ff80"} 
[2026-08-23 07:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-23 07:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587207680001,"66":13135,"68":206,"85":15104,"24":6,"16":122426397800005632,"45":-9043016920507817984},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-23 07:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587207680001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:24:44] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-23 07:24:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122426397800005632,"km_value":122426397800005.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043016920507817984,"description":"Unknown IO ID 45"} 
[2026-08-23 07:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587207680001,"power":13135,"unknown_68":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9043016920507817984}} 
[2026-08-23 07:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":161466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:24:44] local.INFO: GPS data processed {"connection_id":161466,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:24:44] local.INFO: Acknowledgment sent {"connection_id":161466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:24:52] local.INFO: TCP Data received {"connection_id":162888,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:24:52] local.INFO: Processing buffer {"connection_id":162888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:24:52] local.INFO: IMEI packet received {"connection_id":162888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":162888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:24:57] local.INFO: TCP Data received {"connection_id":162888,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:24:57] local.INFO: Processing buffer {"connection_id":162888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:24:57] local.INFO: IMEI packet received {"connection_id":162888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":162888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:24:58] local.INFO: TCP Data received {"connection_id":162888,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:24:58] local.INFO: Processing buffer {"connection_id":162888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:24:58] local.INFO: Packet analysis {"connection_id":162888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:24:58] local.INFO: Extracted packet for processing {"connection_id":162888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:24:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587121408001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787449994000,"timestamp_ms":1787449994000,"timestamp_seconds":1787449994,"priority":1,"record_length":96,"hex_timestamp":"000001a02c526b10"} 
[2026-08-23 07:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:24: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-08-23 07:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 07:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587121408001,"66":25756,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587121408001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:24:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:24:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587121408001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":162888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:24:58] local.INFO: GPS data processed {"connection_id":162888,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:24:58] local.INFO: Acknowledgment sent {"connection_id":162888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:25:02] local.INFO: TCP Data received {"connection_id":162888,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:25:02] local.INFO: Processing buffer {"connection_id":162888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:25:02] local.INFO: Packet analysis {"connection_id":162888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:25:02] local.INFO: Extracted packet for processing {"connection_id":162888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:25:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587121408001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787449994000,"timestamp_ms":1787449994000,"timestamp_seconds":1787449994,"priority":1,"record_length":96,"hex_timestamp":"000001a02c526b10"} 
[2026-08-23 07:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 07:25:02] 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-08-23 07:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587121408001,"66":25756,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587121408001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:25:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:25:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587121408001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":162888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:25:02] local.INFO: GPS data processed {"connection_id":162888,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:25:02] local.INFO: Acknowledgment sent {"connection_id":162888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:25:06] local.INFO: TCP Data received {"connection_id":161467,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:25:06] local.INFO: Processing buffer {"connection_id":161467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:25:06] local.INFO: IMEI packet received {"connection_id":161467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":161467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:25:12] local.INFO: TCP Data received {"connection_id":161467,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:25:12] local.INFO: Processing buffer {"connection_id":161467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:25:12] local.INFO: IMEI packet received {"connection_id":161467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":161467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:25:12] local.INFO: TCP Data received {"connection_id":161467,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c530750012d827f0005d34ad8000b012623..."} 
[2026-08-23 07:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c530750012d827f0005d34ad8000b012623..."} 
[2026-08-23 07:25:12] local.INFO: Processing buffer {"connection_id":161467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c530750012d827f0005d34ad8000b012623..."} 
[2026-08-23 07:25:12] local.INFO: Packet analysis {"connection_id":161467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c53"} 
[2026-08-23 07:25:12] local.INFO: Extracted packet for processing {"connection_id":161467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c53"} 
[2026-08-23 07:25:12] local.INFO: GPS Element Parsed {"raw_longitude":763526912,"raw_latitude":97733336,"longitude_deg":76.3526912,"latitude_deg":9.7733336,"altitude":11,"angle":294,"satellites":35,"speed":7,"hex_longitude":"2d827f00","hex_latitude":"05d34ad8","is_valid_coordinates":true} 
[2026-08-23 07:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587208192001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122426419274842112,"note":"Value kept but may cause issues"} 
[2026-08-23 07:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043157657996097536,"note":"Value kept but may cause issues"} 
[2026-08-23 07:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787450034000,"timestamp_ms":1787450034000,"timestamp_seconds":1787450034,"priority":1,"record_length":96,"hex_timestamp":"000001a02c530750"} 
[2026-08-23 07:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 07:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587208192001,"66":13319,"68":206,"85":15104,"24":7,"16":122426419274842112,"45":-9043157657996097536},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-23 07:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587208192001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:25:12] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-23 07:25:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122426419274842112,"km_value":122426419274842.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043157657996097536,"description":"Unknown IO ID 45"} 
[2026-08-23 07:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587208192001,"power":13319,"unknown_68":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9043157657996097536}} 
[2026-08-23 07:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":161467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:25:12] local.INFO: GPS data processed {"connection_id":161467,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:25:12] local.INFO: Acknowledgment sent {"connection_id":161467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:25:44] local.INFO: TCP Data received {"connection_id":161467,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c547e50012d81b38005d383780007014623..."} 
[2026-08-23 07:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c547e50012d81b38005d383780007014623..."} 
[2026-08-23 07:25:44] local.INFO: Processing buffer {"connection_id":161467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c547e50012d81b38005d383780007014623..."} 
[2026-08-23 07:25:44] local.INFO: Packet analysis {"connection_id":161467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c54"} 
[2026-08-23 07:25:44] local.INFO: Extracted packet for processing {"connection_id":161467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c54"} 
[2026-08-23 07:25:44] local.INFO: GPS Element Parsed {"raw_longitude":763474816,"raw_latitude":97747832,"longitude_deg":76.3474816,"latitude_deg":9.7747832,"altitude":7,"angle":326,"satellites":35,"speed":23,"hex_longitude":"2d81b380","hex_latitude":"05d38378","is_valid_coordinates":true} 
[2026-08-23 07:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587233024001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122429546011033600,"note":"Value kept but may cause issues"} 
[2026-08-23 07:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9100367447008888832,"note":"Value kept but may cause issues"} 
[2026-08-23 07:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787450130000,"timestamp_ms":1787450130000,"timestamp_seconds":1787450130,"priority":1,"record_length":96,"hex_timestamp":"000001a02c547e50"} 
[2026-08-23 07:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-23 07:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587233024001,"66":13417,"69":206,"85":15104,"24":23,"16":122429546011033600,"45":-9100367447008888832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-23 07:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587233024001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:25:44] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-23 07:25:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122429546011033600,"km_value":122429546011033.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9100367447008888832,"description":"Unknown IO ID 45"} 
[2026-08-23 07:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587233024001,"power":13417,"unknown_69":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9100367447008888832}} 
[2026-08-23 07:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":161467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:25:44] local.INFO: GPS data processed {"connection_id":161467,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:25:44] local.INFO: Acknowledgment sent {"connection_id":161467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:25:46] local.INFO: TCP Data received {"connection_id":161468,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:25:46] local.INFO: Processing buffer {"connection_id":161468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:25:46] local.INFO: IMEI packet received {"connection_id":161468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":161468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:25:51] local.INFO: TCP Data received {"connection_id":161468,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:25:51] local.INFO: Processing buffer {"connection_id":161468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:25:51] local.INFO: IMEI packet received {"connection_id":161468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":161468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:25:52] local.INFO: TCP Data received {"connection_id":161468,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:25:52] local.INFO: Processing buffer {"connection_id":161468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:25:52] local.INFO: Packet analysis {"connection_id":161468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:25:52] local.INFO: Extracted packet for processing {"connection_id":161468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587121408001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787449994000,"timestamp_ms":1787449994000,"timestamp_seconds":1787449994,"priority":1,"record_length":96,"hex_timestamp":"000001a02c526b10"} 
[2026-08-23 07:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 07:25:52] 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-08-23 07:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587121408001,"66":25756,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587121408001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:25:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587121408001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":161468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:25:52] local.INFO: GPS data processed {"connection_id":161468,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:25:52] local.INFO: Acknowledgment sent {"connection_id":161468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:26:06] local.INFO: TCP Data received {"connection_id":162889,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:26:06] local.INFO: Processing buffer {"connection_id":162889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:26:06] local.INFO: IMEI packet received {"connection_id":162889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":162889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:26:07] local.INFO: TCP Data received {"connection_id":162889,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:26:07] local.INFO: Processing buffer {"connection_id":162889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:26:07] local.INFO: IMEI packet received {"connection_id":162889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":162889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:26:11] local.INFO: TCP Data received {"connection_id":162889,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:26:11] local.INFO: Processing buffer {"connection_id":162889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:26:11] local.INFO: IMEI packet received {"connection_id":162889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":162889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:26:12] local.INFO: TCP Data received {"connection_id":162889,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c548620012d81b18005d388500007015623..."} 
[2026-08-23 07:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c548620012d81b18005d388500007015623..."} 
[2026-08-23 07:26:12] local.INFO: Processing buffer {"connection_id":162889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c548620012d81b18005d388500007015623..."} 
[2026-08-23 07:26:12] local.INFO: Packet analysis {"connection_id":162889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c54"} 
[2026-08-23 07:26:12] local.INFO: Extracted packet for processing {"connection_id":162889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c54"} 
[2026-08-23 07:26:12] local.INFO: GPS Element Parsed {"raw_longitude":763474304,"raw_latitude":97749072,"longitude_deg":76.3474304,"latitude_deg":9.7749072,"altitude":7,"angle":342,"satellites":35,"speed":28,"hex_longitude":"2d81b180","hex_latitude":"05d38850","is_valid_coordinates":true} 
[2026-08-23 07:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587233280001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122429610435543040,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9100789659473840128,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787450132000,"timestamp_ms":1787450132000,"timestamp_seconds":1787450132,"priority":1,"record_length":96,"hex_timestamp":"000001a02c548620"} 
[2026-08-23 07:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-23 07:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587233280001,"66":13319,"69":206,"85":15104,"24":28,"16":122429610435543040,"45":-9100789659473840128},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-23 07:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587233280001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:26:12] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-23 07:26:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122429610435543040,"km_value":122429610435543.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9100789659473840128,"description":"Unknown IO ID 45"} 
[2026-08-23 07:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587233280001,"power":13319,"unknown_69":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9100789659473840128}} 
[2026-08-23 07:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":162889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:26:12] local.INFO: GPS data processed {"connection_id":162889,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:26:12] local.INFO: Acknowledgment sent {"connection_id":162889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:26:23] local.INFO: TCP Data received {"connection_id":161468,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:26:23] local.INFO: Processing buffer {"connection_id":161468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:26:23] local.INFO: Packet analysis {"connection_id":161468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:26:23] local.INFO: Extracted packet for processing {"connection_id":161468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:26:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587121408001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787449994000,"timestamp_ms":1787449994000,"timestamp_seconds":1787449994,"priority":1,"record_length":96,"hex_timestamp":"000001a02c526b10"} 
[2026-08-23 07:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 07:26:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587121408001,"66":25756,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587121408001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:26:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:26:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587121408001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":161468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:26:23] local.INFO: GPS data processed {"connection_id":161468,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:26:23] local.INFO: Acknowledgment sent {"connection_id":161468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:26:43] local.INFO: TCP Data received {"connection_id":162889,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c54a178012d81ac4005d39dd80007016223..."} 
[2026-08-23 07:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c54a178012d81ac4005d39dd80007016223..."} 
[2026-08-23 07:26:43] local.INFO: Processing buffer {"connection_id":162889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c54a178012d81ac4005d39dd80007016223..."} 
[2026-08-23 07:26:43] local.INFO: Packet analysis {"connection_id":162889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c54"} 
[2026-08-23 07:26:43] local.INFO: Extracted packet for processing {"connection_id":162889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c54"} 
[2026-08-23 07:26:43] local.INFO: GPS Element Parsed {"raw_longitude":763472960,"raw_latitude":97754584,"longitude_deg":76.347296,"latitude_deg":9.7754584,"altitude":7,"angle":354,"satellites":35,"speed":34,"hex_longitude":"2d81ac40","hex_latitude":"05d39dd8","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587233792001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122429885313449984,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101352609426944000,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:43] 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-08-23 07:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787450139000,"timestamp_ms":1787450139000,"timestamp_seconds":1787450139,"priority":1,"record_length":96,"hex_timestamp":"000001a02c54a178"} 
[2026-08-23 07:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 07:26:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2176663557,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:43] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57811518243099963,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:43] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3942645760,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:43] local.WARNING: Large IO value detected {"io_id":211,"raw_value":7696651806149059072,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1665466574,"corrected_to":0} 
[2026-08-23 07:26:43] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3758173569,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:43] local.WARNING: Large IO value detected {"io_id":190,"raw_value":3221607291,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:43] local.WARNING: Large IO value detected {"io_id":178,"raw_value":4108189696,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3547965440,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:43] local.WARNING: Large IO value detected {"io_id":84,"raw_value":5724076421350014981,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:43] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,69,85,24,241,157,16,245,160,126,45,128,131,7,35,10,66,122,129,244,110,64,1,240,192,227,44,211,4,113,205,23,102,190,216,34,239,52,2,178,5,9,25,84],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1665466574,"validated":0}]} 
[2026-08-23 07:26:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504779341567885312,"timestamp_seconds":504779341567885.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 07:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587233792001,"66":13374,"207":206,"85":15104,"24":34,"16":122429885313449984,"45":-9101352609426944000},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-23 07:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587233792001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:26:43] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-23 07:26:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122429885313449984,"km_value":122429885313449.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101352609426944000,"description":"Unknown IO ID 45"} 
[2026-08-23 07:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587233792001,"power":13374,"unknown_207":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9101352609426944000}} 
[2026-08-23 07:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":162889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685012,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:26:43] local.INFO: GPS data processed {"connection_id":162889,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:26:43] local.INFO: Acknowledgment sent {"connection_id":162889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:26:47] local.INFO: TCP Data received {"connection_id":160314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:26:47] local.INFO: Processing buffer {"connection_id":160314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:26:47] local.INFO: IMEI packet received {"connection_id":160314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":160314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:26:52] local.INFO: TCP Data received {"connection_id":160314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:26:52] local.INFO: Processing buffer {"connection_id":160314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:26:52] local.INFO: IMEI packet received {"connection_id":160314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":160314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:26:53] local.INFO: TCP Data received {"connection_id":160314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:26:53] local.INFO: Processing buffer {"connection_id":160314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:26:53] local.INFO: Packet analysis {"connection_id":160314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:26:53] local.INFO: Extracted packet for processing {"connection_id":160314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587121408001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787449994000,"timestamp_ms":1787449994000,"timestamp_seconds":1787449994,"priority":1,"record_length":96,"hex_timestamp":"000001a02c526b10"} 
[2026-08-23 07:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 07:26:53] 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-08-23 07:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:26: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-08-23 07:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587121408001,"66":25756,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587121408001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:26:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587121408001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":160314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:26:53] local.INFO: GPS data processed {"connection_id":160314,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:26:53] local.INFO: Acknowledgment sent {"connection_id":160314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:27:12] local.INFO: TCP Data received {"connection_id":161469,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:27:12] local.INFO: Processing buffer {"connection_id":161469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:27:12] local.INFO: IMEI packet received {"connection_id":161469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":161469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:27:12] local.INFO: TCP Data received {"connection_id":161469,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:27:12] local.INFO: Processing buffer {"connection_id":161469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:27:12] local.INFO: IMEI packet received {"connection_id":161469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":161469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:27:13] local.INFO: TCP Data received {"connection_id":161469,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c559f60012d819d8005d47fc80004000122..."} 
[2026-08-23 07:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c559f60012d819d8005d47fc80004000122..."} 
[2026-08-23 07:27:13] local.INFO: Processing buffer {"connection_id":161469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c559f60012d819d8005d47fc80004000122..."} 
[2026-08-23 07:27:13] local.INFO: Packet analysis {"connection_id":161469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c55"} 
[2026-08-23 07:27:13] local.INFO: Extracted packet for processing {"connection_id":161469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c55"} 
[2026-08-23 07:27:13] local.INFO: GPS Element Parsed {"raw_longitude":763469184,"raw_latitude":97812424,"longitude_deg":76.3469184,"latitude_deg":9.7812424,"altitude":4,"angle":1,"satellites":34,"speed":40,"hex_longitude":"2d819d80","hex_latitude":"05d47fc8","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587249920001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122432758646571008,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9107826533877446656,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787450204000,"timestamp_ms":1787450204000,"timestamp_seconds":1787450204,"priority":1,"record_length":96,"hex_timestamp":"000001a02c559f60"} 
[2026-08-23 07:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:27:13] 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-08-23 07: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 07:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587249920001,"66":13037,"166":206,"85":15104,"24":40,"16":122432758646571008,"45":-9107826533877446656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-23 07:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587249920001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:27:13] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-23 07:27:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122432758646571008,"km_value":122432758646571.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9107826533877446656,"description":"Unknown IO ID 45"} 
[2026-08-23 07:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587249920001,"power":13037,"unknown_166":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9107826533877446656}} 
[2026-08-23 07:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":161469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:27:13] local.INFO: GPS data processed {"connection_id":161469,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:27:13] local.INFO: Acknowledgment sent {"connection_id":161469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:27:14] local.INFO: TCP Data received {"connection_id":161469,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c55c670012d819ac005d4a3700006016622..."} 
[2026-08-23 07:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c55c670012d819ac005d4a3700006016622..."} 
[2026-08-23 07:27:14] local.INFO: Processing buffer {"connection_id":161469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c55c670012d819ac005d4a3700006016622..."} 
[2026-08-23 07:27:14] local.INFO: Packet analysis {"connection_id":161469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c55"} 
[2026-08-23 07:27:14] local.INFO: Extracted packet for processing {"connection_id":161469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c55"} 
[2026-08-23 07:27:14] local.INFO: GPS Element Parsed {"raw_longitude":763468480,"raw_latitude":97821552,"longitude_deg":76.346848,"latitude_deg":9.7821552,"altitude":6,"angle":358,"satellites":34,"speed":31,"hex_longitude":"2d819ac0","hex_latitude":"05d4a370","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587252224001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122433201028202496,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9106982108944939008,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787450214000,"timestamp_ms":1787450214000,"timestamp_seconds":1787450214,"priority":1,"record_length":96,"hex_timestamp":"000001a02c55c670"} 
[2026-08-23 07:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:27:14] 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-08-23 07: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-23 07:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587252224001,"66":13341,"166":206,"85":15104,"24":31,"16":122433201028202496,"45":-9106982108944939008},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-23 07:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587252224001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:27:14] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-23 07:27:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122433201028202496,"km_value":122433201028202.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9106982108944939008,"description":"Unknown IO ID 45"} 
[2026-08-23 07:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587252224001,"power":13341,"unknown_166":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9106982108944939008}} 
[2026-08-23 07:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":161469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685015,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:27:14] local.INFO: GPS data processed {"connection_id":161469,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:27:14] local.INFO: Acknowledgment sent {"connection_id":161469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:27:23] local.INFO: TCP Data received {"connection_id":160314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:27:23] local.INFO: Processing buffer {"connection_id":160314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:27:23] local.INFO: Packet analysis {"connection_id":160314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:27:23] local.INFO: Extracted packet for processing {"connection_id":160314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:27:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587121408001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787449994000,"timestamp_ms":1787449994000,"timestamp_seconds":1787449994,"priority":1,"record_length":96,"hex_timestamp":"000001a02c526b10"} 
[2026-08-23 07:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07: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":243,"data_length":795,"current_offset":136} 
[2026-08-23 07:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587121408001,"66":25756,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587121408001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:27:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:27:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587121408001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":160314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:27:23] local.INFO: GPS data processed {"connection_id":160314,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:27:23] local.INFO: Acknowledgment sent {"connection_id":160314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:27:45] local.INFO: TCP Data received {"connection_id":161469,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c563f88012d81bc8005d4e9a8000a015c23..."} 
[2026-08-23 07:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c563f88012d81bc8005d4e9a8000a015c23..."} 
[2026-08-23 07:27:45] local.INFO: Processing buffer {"connection_id":161469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c563f88012d81bc8005d4e9a8000a015c23..."} 
[2026-08-23 07:27:45] local.INFO: Packet analysis {"connection_id":161469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c56"} 
[2026-08-23 07:27:45] local.INFO: Extracted packet for processing {"connection_id":161469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c56"} 
[2026-08-23 07:27:45] local.INFO: GPS Element Parsed {"raw_longitude":763477120,"raw_latitude":97839528,"longitude_deg":76.347712,"latitude_deg":9.7839528,"altitude":10,"angle":348,"satellites":35,"speed":39,"hex_longitude":"2d81bc80","hex_latitude":"05d4e9a8","is_valid_coordinates":true} 
[2026-08-23 07:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587260160001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122434442273751040,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096497166057926656,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787450245000,"timestamp_ms":1787450245000,"timestamp_seconds":1787450245,"priority":1,"record_length":96,"hex_timestamp":"000001a02c563f88"} 
[2026-08-23 07:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:27:45] 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-08-23 07:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-23 07:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303170847821222,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:45] local.WARNING: Large IO value detected {"io_id":166,"raw_value":58077557095399452,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2176565253,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:45] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:45] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3119513609,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795897038,"corrected_to":0} 
[2026-08-23 07:27:45] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2550214017,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:45] local.WARNING: Large IO value detected {"io_id":178,"raw_value":4171497472,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3568764928,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:45] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,166,85,24,241,157,16,249,160,20,45,192,193,9,35,10,66,190,248,12,128,1,240,227,44,212,4,113,205,29,233,165,112,239,52,2,178,5,8,28],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2795897038,"validated":0}]} 
[2026-08-23 07:27:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648913221341609984,"timestamp_seconds":648913221341610.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 07:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587260160001,"66":12982,"166":206,"85":15104,"24":39,"16":122434442273751040,"45":-9096497166057926656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-23 07:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587260160001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:27:45] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-23 07:27:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122434442273751040,"km_value":122434442273751.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096497166057926656,"description":"Unknown IO ID 45"} 
[2026-08-23 07:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587260160001,"power":12982,"unknown_166":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9096497166057926656}} 
[2026-08-23 07:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":161469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:27:45] local.INFO: GPS data processed {"connection_id":161469,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:27:45] local.INFO: Acknowledgment sent {"connection_id":161469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:27:46] local.INFO: TCP Data received {"connection_id":161470,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:27:46] local.INFO: Processing buffer {"connection_id":161470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:27:46] local.INFO: IMEI packet received {"connection_id":161470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":161470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:27:51] local.INFO: TCP Data received {"connection_id":161470,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:27:51] local.INFO: Processing buffer {"connection_id":161470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:27:51] local.INFO: IMEI packet received {"connection_id":161470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":161470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:27:52] local.INFO: TCP Data received {"connection_id":161470,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:27:52] local.INFO: Processing buffer {"connection_id":161470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:27:52] local.INFO: Packet analysis {"connection_id":161470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:27:52] local.INFO: Extracted packet for processing {"connection_id":161470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:27:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587121408001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787449994000,"timestamp_ms":1787449994000,"timestamp_seconds":1787449994,"priority":1,"record_length":96,"hex_timestamp":"000001a02c526b10"} 
[2026-08-23 07:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 07:27:52] 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-08-23 07: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-08-23 07:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587121408001,"66":25756,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587121408001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:27:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:27:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587121408001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":161470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:27:52] local.INFO: GPS data processed {"connection_id":161470,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:27:52] local.INFO: Acknowledgment sent {"connection_id":161470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:28:11] local.INFO: TCP Data received {"connection_id":160315,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:28:11] local.INFO: Processing buffer {"connection_id":160315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:28:11] local.INFO: IMEI packet received {"connection_id":160315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":160315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:28:12] local.INFO: TCP Data received {"connection_id":160315,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:28:12] local.INFO: Processing buffer {"connection_id":160315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:28:12] local.INFO: IMEI packet received {"connection_id":160315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":160315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:28:16] local.INFO: TCP Data received {"connection_id":160315,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:28:16] local.INFO: Processing buffer {"connection_id":160315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:28:16] local.INFO: IMEI packet received {"connection_id":160315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":160315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:28:17] local.INFO: TCP Data received {"connection_id":160315,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c563f88012d81bc8005d4e9a8000a015c23..."} 
[2026-08-23 07:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c563f88012d81bc8005d4e9a8000a015c23..."} 
[2026-08-23 07:28:17] local.INFO: Processing buffer {"connection_id":160315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c563f88012d81bc8005d4e9a8000a015c23..."} 
[2026-08-23 07:28:17] local.INFO: Packet analysis {"connection_id":160315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c56"} 
[2026-08-23 07:28:17] local.INFO: Extracted packet for processing {"connection_id":160315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c56"} 
[2026-08-23 07:28:17] local.INFO: GPS Element Parsed {"raw_longitude":763477120,"raw_latitude":97839528,"longitude_deg":76.347712,"latitude_deg":9.7839528,"altitude":10,"angle":348,"satellites":35,"speed":39,"hex_longitude":"2d81bc80","hex_latitude":"05d4e9a8","is_valid_coordinates":true} 
[2026-08-23 07:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587262720001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122434442273751040,"note":"Value kept but may cause issues"} 
[2026-08-23 07:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098256384659970048,"note":"Value kept but may cause issues"} 
[2026-08-23 07:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787450245000,"timestamp_ms":1787450245000,"timestamp_seconds":1787450245,"priority":1,"record_length":96,"hex_timestamp":"000001a02c563f88"} 
[2026-08-23 07:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:28:17] 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-08-23 07:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 07:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587262720001,"66":12982,"166":206,"85":15104,"24":39,"16":122434442273751040,"45":-9098256384659970048},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-23 07:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587262720001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:28:17] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-23 07:28:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122434442273751040,"km_value":122434442273751.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098256384659970048,"description":"Unknown IO ID 45"} 
[2026-08-23 07:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587262720001,"power":12982,"unknown_166":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9098256384659970048}} 
[2026-08-23 07:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":160315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:28:17] local.INFO: GPS data processed {"connection_id":160315,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:28:17] local.INFO: Acknowledgment sent {"connection_id":160315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:28:23] local.INFO: TCP Data received {"connection_id":161470,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:28:23] local.INFO: Processing buffer {"connection_id":161470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:28:23] local.INFO: Packet analysis {"connection_id":161470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:28:23] local.INFO: Extracted packet for processing {"connection_id":161470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:28:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587121408001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787449994000,"timestamp_ms":1787449994000,"timestamp_seconds":1787449994,"priority":1,"record_length":96,"hex_timestamp":"000001a02c526b10"} 
[2026-08-23 07:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 07:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587121408001,"66":25756,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587121408001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:28:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:28:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587121408001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":161470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:28:23] local.INFO: GPS data processed {"connection_id":161470,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:28:23] local.INFO: Acknowledgment sent {"connection_id":161470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:28:47] local.INFO: TCP Data received {"connection_id":160517,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:28:47] local.INFO: Processing buffer {"connection_id":160517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:28:47] local.INFO: IMEI packet received {"connection_id":160517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":160517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:28:49] local.INFO: TCP Data received {"connection_id":160315,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c573d70012d81ba0005d5c7e80005004823..."} 
[2026-08-23 07:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c573d70012d81ba0005d5c7e80005004823..."} 
[2026-08-23 07:28:49] local.INFO: Processing buffer {"connection_id":160315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c573d70012d81ba0005d5c7e80005004823..."} 
[2026-08-23 07:28:49] local.INFO: Packet analysis {"connection_id":160315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c57"} 
[2026-08-23 07:28:49] local.INFO: Extracted packet for processing {"connection_id":160315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c57"} 
[2026-08-23 07:28:49] local.INFO: GPS Element Parsed {"raw_longitude":763476480,"raw_latitude":97896424,"longitude_deg":76.347648,"latitude_deg":9.7896424,"altitude":5,"angle":72,"satellites":35,"speed":14,"hex_longitude":"2d81ba00","hex_latitude":"05d5c7e8","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587279104001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122437246887395328,"note":"Value kept but may cause issues"} 
[2026-08-23 07:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099311915808114688,"note":"Value kept but may cause issues"} 
[2026-08-23 07:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787450310000,"timestamp_ms":1787450310000,"timestamp_seconds":1787450310,"priority":1,"record_length":96,"hex_timestamp":"000001a02c573d70"} 
[2026-08-23 07:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 07:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":160315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":160315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":160315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587279104001,"66":12504,"165":206,"85":15104,"24":14,"16":122437246887395328,"45":-9099311915808114688},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-23 07:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587279104001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:28:49] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-23 07:28:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122437246887395328,"km_value":122437246887395.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099311915808114688,"description":"Unknown IO ID 45"} 
[2026-08-23 07:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587279104001,"power":12504,"unknown_165":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9099311915808114688}} 
[2026-08-23 07:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":160315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:28:49] local.INFO: GPS data processed {"connection_id":160315,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:28:49] local.INFO: Acknowledgment sent {"connection_id":160315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:28:52] local.INFO: TCP Data received {"connection_id":160517,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:28:52] local.INFO: Processing buffer {"connection_id":160517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:28:52] local.INFO: IMEI packet received {"connection_id":160517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":160517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:28:53] local.INFO: TCP Data received {"connection_id":160517,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:28:53] local.INFO: Processing buffer {"connection_id":160517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c526b10012d34c50006aa40980008008524..."} 
[2026-08-23 07:28:53] local.INFO: Packet analysis {"connection_id":160517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:28:53] local.INFO: Extracted packet for processing {"connection_id":160517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c52"} 
[2026-08-23 07:28:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":8,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587121408001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787449994000,"timestamp_ms":1787449994000,"timestamp_seconds":1787449994,"priority":1,"record_length":96,"hex_timestamp":"000001a02c526b10"} 
[2026-08-23 07:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-23 07:28:53] 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-08-23 07:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:28: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-08-23 07:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587121408001,"66":25756,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587121408001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:28:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:28:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587121408001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":160517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:28:53] local.INFO: GPS data processed {"connection_id":160517,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:28:53] local.INFO: Acknowledgment sent {"connection_id":160517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:29:05] local.INFO: TCP Data received {"connection_id":161471,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:29:05] local.INFO: Processing buffer {"connection_id":161471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:29:05] local.INFO: IMEI packet received {"connection_id":161471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":161471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:29:06] local.INFO: TCP Data received {"connection_id":161471,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:29:06] local.INFO: Processing buffer {"connection_id":161471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:29:06] local.INFO: IMEI packet received {"connection_id":161471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":161471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:29:07] local.INFO: TCP Data received {"connection_id":161471,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:29:07] local.INFO: Processing buffer {"connection_id":161471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:29:07] local.INFO: IMEI packet received {"connection_id":161471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":161471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:29:09] local.INFO: TCP Data received {"connection_id":161471,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:29:09] local.INFO: Processing buffer {"connection_id":161471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:29:09] local.INFO: IMEI packet received {"connection_id":161471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":161471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:29:23] local.INFO: TCP Data received {"connection_id":160517,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:29:23] local.INFO: Processing buffer {"connection_id":160517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:29:23] local.INFO: Packet analysis {"connection_id":160517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c57"} 
[2026-08-23 07:29:23] local.INFO: Extracted packet for processing {"connection_id":160517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c57"} 
[2026-08-23 07:29:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587198464001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787450295000,"timestamp_ms":1787450295000,"timestamp_seconds":1787450295,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5702d8"} 
[2026-08-23 07:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 07:29: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-08-23 07:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587198464001,"66":25756,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587198464001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:29:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:29:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587198464001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":160517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:29:23] local.INFO: GPS data processed {"connection_id":160517,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:29:23] local.INFO: Acknowledgment sent {"connection_id":160517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:29:46] local.INFO: TCP Data received {"connection_id":162890,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:29:46] local.INFO: Processing buffer {"connection_id":162890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:29:46] local.INFO: IMEI packet received {"connection_id":162890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":162890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:29:51] local.INFO: TCP Data received {"connection_id":162890,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:29:51] local.INFO: Processing buffer {"connection_id":162890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:29:51] local.INFO: IMEI packet received {"connection_id":162890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":162890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:29:53] local.INFO: TCP Data received {"connection_id":162890,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:29:53] local.INFO: Processing buffer {"connection_id":162890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:29:53] local.INFO: Packet analysis {"connection_id":162890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c57"} 
[2026-08-23 07:29:53] local.INFO: Extracted packet for processing {"connection_id":162890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c57"} 
[2026-08-23 07:29:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587198464001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787450295000,"timestamp_ms":1787450295000,"timestamp_seconds":1787450295,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5702d8"} 
[2026-08-23 07:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 07:29:53] 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-08-23 07: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-08-23 07:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07: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-08-23 07:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587198464001,"66":25756,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587198464001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:29:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:29:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587198464001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":162890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:29:53] local.INFO: GPS data processed {"connection_id":162890,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:29:53] local.INFO: Acknowledgment sent {"connection_id":162890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:30:24] local.INFO: TCP Data received {"connection_id":162890,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:30:24] local.INFO: Processing buffer {"connection_id":162890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:30:24] local.INFO: Packet analysis {"connection_id":162890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c57"} 
[2026-08-23 07:30:24] local.INFO: Extracted packet for processing {"connection_id":162890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c57"} 
[2026-08-23 07:30:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587198464001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787450295000,"timestamp_ms":1787450295000,"timestamp_seconds":1787450295,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5702d8"} 
[2026-08-23 07:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 07:30:24] 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-08-23 07:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:30: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-08-23 07:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587198464001,"66":25756,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587198464001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:30:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:30:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587198464001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":162890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:30:24] local.INFO: GPS data processed {"connection_id":162890,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:30:24] local.INFO: Acknowledgment sent {"connection_id":162890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:30:52] local.INFO: TCP Data received {"connection_id":161473,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:30:52] local.INFO: Processing buffer {"connection_id":161473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:30:52] local.INFO: IMEI packet received {"connection_id":161473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":161473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:30:57] local.INFO: TCP Data received {"connection_id":161473,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:30:57] local.INFO: Processing buffer {"connection_id":161473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:30:57] local.INFO: IMEI packet received {"connection_id":161473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":161473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:30:58] local.INFO: TCP Data received {"connection_id":161473,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:30:58] local.INFO: Processing buffer {"connection_id":161473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:30:58] local.INFO: Packet analysis {"connection_id":161473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c57"} 
[2026-08-23 07:30:58] local.INFO: Extracted packet for processing {"connection_id":161473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c57"} 
[2026-08-23 07:30:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587198464001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787450295000,"timestamp_ms":1787450295000,"timestamp_seconds":1787450295,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5702d8"} 
[2026-08-23 07:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07: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-08-23 07: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":156,"data_length":795,"current_offset":136} 
[2026-08-23 07:30: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-08-23 07: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-08-23 07:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587198464001,"66":25756,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587198464001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:30:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:30:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587198464001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":161473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:30:58] local.INFO: GPS data processed {"connection_id":161473,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:30:58] local.INFO: Acknowledgment sent {"connection_id":161473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:31:02] local.INFO: TCP Data received {"connection_id":161473,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:31:02] local.INFO: Processing buffer {"connection_id":161473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:31:02] local.INFO: Packet analysis {"connection_id":161473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c57"} 
[2026-08-23 07:31:02] local.INFO: Extracted packet for processing {"connection_id":161473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c57"} 
[2026-08-23 07:31:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587198464001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787450295000,"timestamp_ms":1787450295000,"timestamp_seconds":1787450295,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5702d8"} 
[2026-08-23 07:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 07:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587198464001,"66":25756,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587198464001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:31:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:31:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587198464001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":161473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:31:02] local.INFO: GPS data processed {"connection_id":161473,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:31:02] local.INFO: Acknowledgment sent {"connection_id":161473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:31:47] local.INFO: TCP Data received {"connection_id":160317,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:31:47] local.INFO: Processing buffer {"connection_id":160317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:31:47] local.INFO: IMEI packet received {"connection_id":160317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":160317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:31:52] local.INFO: TCP Data received {"connection_id":160317,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:31:52] local.INFO: Processing buffer {"connection_id":160317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:31:52] local.INFO: IMEI packet received {"connection_id":160317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":160317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:31:53] local.INFO: TCP Data received {"connection_id":160317,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:31:53] local.INFO: Processing buffer {"connection_id":160317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:31:53] local.INFO: Packet analysis {"connection_id":160317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c57"} 
[2026-08-23 07:31:53] local.INFO: Extracted packet for processing {"connection_id":160317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c57"} 
[2026-08-23 07:31:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587198464001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787450295000,"timestamp_ms":1787450295000,"timestamp_seconds":1787450295,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5702d8"} 
[2026-08-23 07:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 07:31:53] 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-08-23 07:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:31:53] 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-08-23 07:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587198464001,"66":25756,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587198464001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:31:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:31:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587198464001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":160317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:31:53] local.INFO: GPS data processed {"connection_id":160317,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:31:53] local.INFO: Acknowledgment sent {"connection_id":160317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:32:24] local.INFO: TCP Data received {"connection_id":160317,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:32:24] local.INFO: Processing buffer {"connection_id":160317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:32:24] local.INFO: Packet analysis {"connection_id":160317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c57"} 
[2026-08-23 07:32:24] local.INFO: Extracted packet for processing {"connection_id":160317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c57"} 
[2026-08-23 07:32:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587198464001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787450295000,"timestamp_ms":1787450295000,"timestamp_seconds":1787450295,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5702d8"} 
[2026-08-23 07:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 07:32:24] 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-08-23 07:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:32:24] 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-08-23 07:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587198464001,"66":25756,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587198464001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:32:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:32:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587198464001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":160317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:32:24] local.INFO: GPS data processed {"connection_id":160317,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:32:24] local.INFO: Acknowledgment sent {"connection_id":160317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:32:47] local.INFO: TCP Data received {"connection_id":161474,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:32:47] local.INFO: Processing buffer {"connection_id":161474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:32:47] local.INFO: IMEI packet received {"connection_id":161474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":161474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:32:52] local.INFO: TCP Data received {"connection_id":161474,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:32:52] local.INFO: Processing buffer {"connection_id":161474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:32:52] local.INFO: IMEI packet received {"connection_id":161474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":161474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:32:53] local.INFO: TCP Data received {"connection_id":161474,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:32:53] local.INFO: Processing buffer {"connection_id":161474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:32:53] local.INFO: Packet analysis {"connection_id":161474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c57"} 
[2026-08-23 07:32:53] local.INFO: Extracted packet for processing {"connection_id":161474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c57"} 
[2026-08-23 07:32:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587198464001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787450295000,"timestamp_ms":1787450295000,"timestamp_seconds":1787450295,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5702d8"} 
[2026-08-23 07:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 07:32:53] 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-08-23 07:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:32: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-08-23 07:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587198464001,"66":25756,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587198464001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:32:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:32:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587198464001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":161474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:32:53] local.INFO: GPS data processed {"connection_id":161474,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:32:53] local.INFO: Acknowledgment sent {"connection_id":161474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:33:24] local.INFO: TCP Data received {"connection_id":161474,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:33:24] local.INFO: Processing buffer {"connection_id":161474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:33:24] local.INFO: Packet analysis {"connection_id":161474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c57"} 
[2026-08-23 07:33:24] local.INFO: Extracted packet for processing {"connection_id":161474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c57"} 
[2026-08-23 07:33:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587198464001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787450295000,"timestamp_ms":1787450295000,"timestamp_seconds":1787450295,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5702d8"} 
[2026-08-23 07:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 07:33:24] 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-08-23 07:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:33: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-08-23 07:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587198464001,"66":25756,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587198464001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:33:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:33:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587198464001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":161474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:33:24] local.INFO: GPS data processed {"connection_id":161474,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:33:24] local.INFO: Acknowledgment sent {"connection_id":161474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:33:46] local.INFO: TCP Data received {"connection_id":162891,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:33:46] local.INFO: Processing buffer {"connection_id":162891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:33:46] local.INFO: IMEI packet received {"connection_id":162891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":162891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:33:51] local.INFO: TCP Data received {"connection_id":162891,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:33:51] local.INFO: Processing buffer {"connection_id":162891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:33:51] local.INFO: IMEI packet received {"connection_id":162891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":162891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:33:53] local.INFO: TCP Data received {"connection_id":162891,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:33:53] local.INFO: Processing buffer {"connection_id":162891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5702d8012d34c50006aa40980011008529..."} 
[2026-08-23 07:33:53] local.INFO: Packet analysis {"connection_id":162891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c57"} 
[2026-08-23 07:33:53] local.INFO: Extracted packet for processing {"connection_id":162891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c57"} 
[2026-08-23 07:33:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587198464001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787450295000,"timestamp_ms":1787450295000,"timestamp_seconds":1787450295,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5702d8"} 
[2026-08-23 07:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 07:33:53] 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-08-23 07:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:33: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-08-23 07:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587198464001,"66":25756,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587198464001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:33:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:33:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587198464001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":162891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:33:53] local.INFO: GPS data processed {"connection_id":162891,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:33:53] local.INFO: Acknowledgment sent {"connection_id":162891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:34:12] local.INFO: TCP Data received {"connection_id":160319,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:34:12] local.INFO: Processing buffer {"connection_id":160319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:34:12] local.INFO: IMEI packet received {"connection_id":160319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":160319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:34:12] local.INFO: TCP Data received {"connection_id":160319,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5b92d0012d82a84005d751d0000a000222..."} 
[2026-08-23 07:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5b92d0012d82a84005d751d0000a000222..."} 
[2026-08-23 07:34:12] local.INFO: Processing buffer {"connection_id":160319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5b92d0012d82a84005d751d0000a000222..."} 
[2026-08-23 07:34:12] local.INFO: Packet analysis {"connection_id":160319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:34:12] local.INFO: Extracted packet for processing {"connection_id":160319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:34:12] local.INFO: GPS Element Parsed {"raw_longitude":763537472,"raw_latitude":97997264,"longitude_deg":76.3537472,"latitude_deg":9.7997264,"altitude":10,"angle":2,"satellites":34,"speed":3,"hex_longitude":"2d82a840","hex_latitude":"05d751d0","is_valid_coordinates":true} 
[2026-08-23 07:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587350016001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122445080907743232,"note":"Value kept but may cause issues"} 
[2026-08-23 07:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031898658860089344,"note":"Value kept but may cause issues"} 
[2026-08-23 07:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787450594000,"timestamp_ms":1787450594000,"timestamp_seconds":1787450594,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5b92d0"} 
[2026-08-23 07:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:34: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-08-23 07:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-23 07:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587350016001,"66":13091,"155":206,"85":15104,"24":3,"16":122445080907743232,"45":-9031898658860089344},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-23 07:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587350016001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:34:12] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-23 07:34:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122445080907743232,"km_value":122445080907743.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031898658860089344,"description":"Unknown IO ID 45"} 
[2026-08-23 07:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587350016001,"power":13091,"unknown_155":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":-9031898658860089344}} 
[2026-08-23 07:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":160319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:34:12] local.INFO: GPS data processed {"connection_id":160319,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:34:12] local.INFO: Acknowledgment sent {"connection_id":160319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:34:24] local.INFO: TCP Data received {"connection_id":162891,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:34:24] local.INFO: Processing buffer {"connection_id":162891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:34:24] local.INFO: Packet analysis {"connection_id":162891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:34:24] local.INFO: Extracted packet for processing {"connection_id":162891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:34:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587275520001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787450596000,"timestamp_ms":1787450596000,"timestamp_seconds":1787450596,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5b9aa0"} 
[2026-08-23 07:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:34: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-08-23 07:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 07:34:24] 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-08-23 07:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:34: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-08-23 07:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587275520001,"66":25691,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587275520001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:34:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:34:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587275520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":162891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:34:24] local.INFO: GPS data processed {"connection_id":162891,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:34:24] local.INFO: Acknowledgment sent {"connection_id":162891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:34:43] local.INFO: TCP Data received {"connection_id":160319,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5bb210012d82a78005d75bb0000b016023..."} 
[2026-08-23 07:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5bb210012d82a78005d75bb0000b016023..."} 
[2026-08-23 07:34:43] local.INFO: Processing buffer {"connection_id":160319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5bb210012d82a78005d75bb0000b016023..."} 
[2026-08-23 07:34:43] local.INFO: Packet analysis {"connection_id":160319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:34:43] local.INFO: Extracted packet for processing {"connection_id":160319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:34:43] local.INFO: GPS Element Parsed {"raw_longitude":763537280,"raw_latitude":97999792,"longitude_deg":76.353728,"latitude_deg":9.7999792,"altitude":11,"angle":352,"satellites":35,"speed":19,"hex_longitude":"2d82a780","hex_latitude":"05d75bb0","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587352064001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122445201166827520,"note":"Value kept but may cause issues"} 
[2026-08-23 07:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031898658860052480,"note":"Value kept but may cause issues"} 
[2026-08-23 07:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787450602000,"timestamp_ms":1787450602000,"timestamp_seconds":1787450602,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5bb210"} 
[2026-08-23 07:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:34:43] 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-08-23 07: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-23 07:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587352064001,"66":13243,"155":206,"85":15104,"24":19,"16":122445201166827520,"45":-9031898658860052480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-23 07:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587352064001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:34:43] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-23 07:34:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122445201166827520,"km_value":122445201166827.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031898658860052480,"description":"Unknown IO ID 45"} 
[2026-08-23 07:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587352064001,"power":13243,"unknown_155":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9031898658860052480}} 
[2026-08-23 07:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":160319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:34:43] local.INFO: GPS data processed {"connection_id":160319,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:34:43] local.INFO: Acknowledgment sent {"connection_id":160319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:34:46] local.INFO: TCP Data received {"connection_id":160519,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:34:46] local.INFO: Processing buffer {"connection_id":160519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:34:46] local.INFO: IMEI packet received {"connection_id":160519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":160519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:34:52] local.INFO: TCP Data received {"connection_id":160519,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:34:52] local.INFO: Processing buffer {"connection_id":160519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:34:52] local.INFO: IMEI packet received {"connection_id":160519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":160519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:34:54] local.INFO: TCP Data received {"connection_id":160519,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:34:54] local.INFO: Processing buffer {"connection_id":160519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:34:54] local.INFO: Packet analysis {"connection_id":160519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:34:54] local.INFO: Extracted packet for processing {"connection_id":160519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:34:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587275520001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787450596000,"timestamp_ms":1787450596000,"timestamp_seconds":1787450596,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5b9aa0"} 
[2026-08-23 07:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:34: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-08-23 07:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 07:34:54] 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-08-23 07:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587275520001,"66":25691,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587275520001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:34:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:34:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587275520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":160519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:34:54] local.INFO: GPS data processed {"connection_id":160519,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:34:54] local.INFO: Acknowledgment sent {"connection_id":160519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:35:09] local.INFO: TCP Data received {"connection_id":162892,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:35:09] local.INFO: Processing buffer {"connection_id":162892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:35:09] local.INFO: IMEI packet received {"connection_id":162892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":162892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:35:11] local.INFO: TCP Data received {"connection_id":162892,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:35:11] local.INFO: Processing buffer {"connection_id":162892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:35:11] local.INFO: IMEI packet received {"connection_id":162892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":162892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:35:18] local.INFO: TCP Data received {"connection_id":162892,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5be4d8012d82a48005d77ea0000d016423..."} 
[2026-08-23 07:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5be4d8012d82a48005d77ea0000d016423..."} 
[2026-08-23 07:35:18] local.INFO: Processing buffer {"connection_id":162892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5be4d8012d82a48005d77ea0000d016423..."} 
[2026-08-23 07:35:18] local.INFO: Packet analysis {"connection_id":162892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:35:18] local.INFO: Extracted packet for processing {"connection_id":162892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:35:18] local.INFO: GPS Element Parsed {"raw_longitude":763536512,"raw_latitude":98008736,"longitude_deg":76.3536512,"latitude_deg":9.8008736,"altitude":13,"angle":356,"satellites":35,"speed":31,"hex_longitude":"2d82a480","hex_latitude":"05d77ea0","is_valid_coordinates":true} 
[2026-08-23 07:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587354112001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122445639253491712,"note":"Value kept but may cause issues"} 
[2026-08-23 07:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032109765091938304,"note":"Value kept but may cause issues"} 
[2026-08-23 07:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787450615000,"timestamp_ms":1787450615000,"timestamp_seconds":1787450615,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5be4d8"} 
[2026-08-23 07:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:35:18] 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-08-23 07:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-23 07:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587354112001,"66":13298,"155":206,"85":15104,"24":31,"16":122445639253491712,"45":-9032109765091938304},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-23 07:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587354112001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:35:18] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-23 07:35:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122445639253491712,"km_value":122445639253491.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032109765091938304,"description":"Unknown IO ID 45"} 
[2026-08-23 07:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587354112001,"power":13298,"unknown_155":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9032109765091938304}} 
[2026-08-23 07:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":162892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:35:18] local.INFO: GPS data processed {"connection_id":162892,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:35:18] local.INFO: Acknowledgment sent {"connection_id":162892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:35:18] local.INFO: TCP Data received {"connection_id":162892,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5c0fd0012d82a24005d7a4a8000d016023..."} 
[2026-08-23 07:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5c0fd0012d82a24005d7a4a8000d016023..."} 
[2026-08-23 07:35:18] local.INFO: Processing buffer {"connection_id":162892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5c0fd0012d82a24005d7a4a8000d016023..."} 
[2026-08-23 07:35:18] local.INFO: Packet analysis {"connection_id":162892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c5c"} 
[2026-08-23 07:35:18] local.INFO: Extracted packet for processing {"connection_id":162892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c5c"} 
[2026-08-23 07:35:18] local.INFO: GPS Element Parsed {"raw_longitude":763535936,"raw_latitude":98018472,"longitude_deg":76.3535936,"latitude_deg":9.8018472,"altitude":13,"angle":352,"satellites":35,"speed":37,"hex_longitude":"2d82a240","hex_latitude":"05d7a4a8","is_valid_coordinates":true} 
[2026-08-23 07:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587357440001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122446111699894272,"note":"Value kept but may cause issues"} 
[2026-08-23 07:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032954190019780608,"note":"Value kept but may cause issues"} 
[2026-08-23 07:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787450626000,"timestamp_ms":1787450626000,"timestamp_seconds":1787450626,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5c0fd0"} 
[2026-08-23 07:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:35:18] 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-08-23 07:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-23 07:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587357440001,"66":13319,"155":206,"85":15104,"24":37,"16":122446111699894272,"45":-9032954190019780608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-23 07:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587357440001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:35:18] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-23 07:35:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122446111699894272,"km_value":122446111699894.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032954190019780608,"description":"Unknown IO ID 45"} 
[2026-08-23 07:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587357440001,"power":13319,"unknown_155":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9032954190019780608}} 
[2026-08-23 07:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":162892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:35:18] local.INFO: GPS data processed {"connection_id":162892,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:35:18] local.INFO: Acknowledgment sent {"connection_id":162892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:35:25] local.INFO: TCP Data received {"connection_id":160519,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:35:25] local.INFO: Processing buffer {"connection_id":160519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:35:25] local.INFO: Packet analysis {"connection_id":160519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:35:25] local.INFO: Extracted packet for processing {"connection_id":160519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:35:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587275520001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787450596000,"timestamp_ms":1787450596000,"timestamp_seconds":1787450596,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5b9aa0"} 
[2026-08-23 07:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 07:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07: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-08-23 07:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587275520001,"66":25691,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587275520001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:35:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:35:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587275520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":160519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:35:25] local.INFO: GPS data processed {"connection_id":160519,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:35:25] local.INFO: Acknowledgment sent {"connection_id":160519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:35:46] local.INFO: TCP Data received {"connection_id":160520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:35:46] local.INFO: Processing buffer {"connection_id":160520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:35:46] local.INFO: IMEI packet received {"connection_id":160520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":160520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:35:50] local.INFO: TCP Data received {"connection_id":162892,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5c36e0012d829fc005d7c9d8000b016322..."} 
[2026-08-23 07:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5c36e0012d829fc005d7c9d8000b016322..."} 
[2026-08-23 07:35:50] local.INFO: Processing buffer {"connection_id":162892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5c36e0012d829fc005d7c9d8000b016322..."} 
[2026-08-23 07:35:50] local.INFO: Packet analysis {"connection_id":162892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c5c"} 
[2026-08-23 07:35:50] local.INFO: Extracted packet for processing {"connection_id":162892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c5c"} 
[2026-08-23 07:35:50] local.INFO: GPS Element Parsed {"raw_longitude":763535296,"raw_latitude":98027992,"longitude_deg":76.3535296,"latitude_deg":9.8027992,"altitude":11,"angle":355,"satellites":34,"speed":37,"hex_longitude":"2d829fc0","hex_latitude":"05d7c9d8","is_valid_coordinates":true} 
[2026-08-23 07:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587360256001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122446575556362240,"note":"Value kept but may cause issues"} 
[2026-08-23 07:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033587508714887168,"note":"Value kept but may cause issues"} 
[2026-08-23 07:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787450636000,"timestamp_ms":1787450636000,"timestamp_seconds":1787450636,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5c36e0"} 
[2026-08-23 07:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 07:35:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 07:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2192064517,"note":"Value kept but may cause issues"} 
[2026-08-23 07:35:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-23 07:35:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795176142,"corrected_to":0} 
[2026-08-23 07:35:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3608498176,"note":"Value kept but may cause issues"} 
[2026-08-23 07:35:50] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57885559184315707,"note":"Value kept but may cause issues"} 
[2026-08-23 07:35:50] local.WARNING: Large IO value detected {"io_id":90,"raw_value":-3776266992571891707,"note":"Value kept but may cause issues"} 
[2026-08-23 07:35:50] local.WARNING: Large IO value detected {"io_id":214,"raw_value":-981784697268788480,"note":"Value kept but may cause issues"} 
[2026-08-23 07:35:50] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,155,85,24,241,157,16,4,160,228,45,128,126,13,35,10,66,3,178,91,11,146,64,1,240,227,44,215,113,205,37,172,239,51,156,2,179,5,9,31,79,90,214],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2795176142,"validated":0}]} 
[2026-08-23 07:35:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937135900912320512,"timestamp_seconds":937135900912320.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 07:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587360256001,"66":13276,"155":206,"85":15104,"24":37,"16":122446575556362240,"45":-9033587508714887168},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-23 07:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587360256001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:35:50] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-23 07:35:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122446575556362240,"km_value":122446575556362.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033587508714887168,"description":"Unknown IO ID 45"} 
[2026-08-23 07:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587360256001,"power":13276,"unknown_155":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9033587508714887168}} 
[2026-08-23 07:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":162892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:35:50] local.INFO: GPS data processed {"connection_id":162892,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:35:50] local.INFO: Acknowledgment sent {"connection_id":162892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:35:51] local.INFO: TCP Data received {"connection_id":160520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:35:51] local.INFO: Processing buffer {"connection_id":160520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:35:51] local.INFO: IMEI packet received {"connection_id":160520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":160520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:35:53] local.INFO: TCP Data received {"connection_id":160520,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:35:53] local.INFO: Processing buffer {"connection_id":160520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:35:53] local.INFO: Packet analysis {"connection_id":160520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:35:53] local.INFO: Extracted packet for processing {"connection_id":160520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:35:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587275520001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787450596000,"timestamp_ms":1787450596000,"timestamp_seconds":1787450596,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5b9aa0"} 
[2026-08-23 07:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 07:35:53] 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-08-23 07:35: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-08-23 07:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:35: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-08-23 07:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587275520001,"66":25691,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587275520001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:35:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:35:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587275520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":160520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:35:53] local.INFO: GPS data processed {"connection_id":160520,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:35:53] local.INFO: Acknowledgment sent {"connection_id":160520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:36:06] local.INFO: TCP Data received {"connection_id":162893,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:36:06] local.INFO: Processing buffer {"connection_id":162893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:36:06] local.INFO: IMEI packet received {"connection_id":162893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":162893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:36:12] local.INFO: TCP Data received {"connection_id":162893,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:36:12] local.INFO: Processing buffer {"connection_id":162893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:36:12] local.INFO: IMEI packet received {"connection_id":162893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":162893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:36:12] local.INFO: TCP Data received {"connection_id":162893,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5c5df0012d829e4005d7eed8000a016624..."} 
[2026-08-23 07:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5c5df0012d829e4005d7eed8000a016624..."} 
[2026-08-23 07:36:12] local.INFO: Processing buffer {"connection_id":162893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5c5df0012d829e4005d7eed8000a016624..."} 
[2026-08-23 07:36:12] local.INFO: Packet analysis {"connection_id":162893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c5c"} 
[2026-08-23 07:36:12] local.INFO: Extracted packet for processing {"connection_id":162893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c5c"} 
[2026-08-23 07:36:12] local.INFO: GPS Element Parsed {"raw_longitude":763534912,"raw_latitude":98037464,"longitude_deg":76.3534912,"latitude_deg":9.8037464,"altitude":10,"angle":358,"satellites":36,"speed":37,"hex_longitude":"2d829e40","hex_latitude":"05d7eed8","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587362816001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122447035117862912,"note":"Value kept but may cause issues"} 
[2026-08-23 07:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034291196154226688,"note":"Value kept but may cause issues"} 
[2026-08-23 07:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787450646000,"timestamp_ms":1787450646000,"timestamp_seconds":1787450646,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5c5df0"} 
[2026-08-23 07:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:36: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-08-23 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 07:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587362816001,"66":13341,"155":206,"85":15104,"24":37,"16":122447035117862912,"45":-9034291196154226688},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-23 07:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587362816001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:36:12] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-23 07:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122447035117862912,"km_value":122447035117862.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034291196154226688,"description":"Unknown IO ID 45"} 
[2026-08-23 07:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587362816001,"power":13341,"unknown_155":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9034291196154226688}} 
[2026-08-23 07:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":162893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:36:12] local.INFO: GPS data processed {"connection_id":162893,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:36:12] local.INFO: Acknowledgment sent {"connection_id":162893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:36:24] local.INFO: TCP Data received {"connection_id":160520,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:36:24] local.INFO: Processing buffer {"connection_id":160520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:36:24] local.INFO: Packet analysis {"connection_id":160520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:36:24] local.INFO: Extracted packet for processing {"connection_id":160520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:36:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587275520001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787450596000,"timestamp_ms":1787450596000,"timestamp_seconds":1787450596,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5b9aa0"} 
[2026-08-23 07:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:36: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-08-23 07:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 07:36:24] 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-08-23 07:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:36: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-08-23 07:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587275520001,"66":25691,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587275520001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:36:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:36:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587275520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":160520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:36:24] local.INFO: GPS data processed {"connection_id":160520,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:36:24] local.INFO: Acknowledgment sent {"connection_id":160520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:36:43] local.INFO: TCP Data received {"connection_id":162893,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5c8cd0012d829d0005d812080009016624..."} 
[2026-08-23 07:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5c8cd0012d829d0005d812080009016624..."} 
[2026-08-23 07:36:43] local.INFO: Processing buffer {"connection_id":162893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5c8cd0012d829d0005d812080009016624..."} 
[2026-08-23 07:36:43] local.INFO: Packet analysis {"connection_id":162893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c5c"} 
[2026-08-23 07:36:43] local.INFO: Extracted packet for processing {"connection_id":162893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c5c"} 
[2026-08-23 07:36:43] local.INFO: GPS Element Parsed {"raw_longitude":763534592,"raw_latitude":98046472,"longitude_deg":76.3534592,"latitude_deg":9.8046472,"altitude":9,"angle":358,"satellites":36,"speed":7,"hex_longitude":"2d829d00","hex_latitude":"05d81208","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587365376001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122447473204527104,"note":"Value kept but may cause issues"} 
[2026-08-23 07:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034713408616867840,"note":"Value kept but may cause issues"} 
[2026-08-23 07:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787450658000,"timestamp_ms":1787450658000,"timestamp_seconds":1787450658,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5c8cd0"} 
[2026-08-23 07:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:36:43] 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-08-23 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-23 07:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587365376001,"66":12819,"155":206,"85":15104,"24":7,"16":122447473204527104,"45":-9034713408616867840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-23 07:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587365376001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:36:43] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-23 07:36:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122447473204527104,"km_value":122447473204527.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034713408616867840,"description":"Unknown IO ID 45"} 
[2026-08-23 07:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587365376001,"power":12819,"unknown_155":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9034713408616867840}} 
[2026-08-23 07:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":162893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:36:44] local.INFO: GPS data processed {"connection_id":162893,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:36:44] local.INFO: Acknowledgment sent {"connection_id":162893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:36:52] local.INFO: TCP Data received {"connection_id":160521,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:36:52] local.INFO: Processing buffer {"connection_id":160521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:36:52] local.INFO: IMEI packet received {"connection_id":160521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":160521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:36:57] local.INFO: TCP Data received {"connection_id":160521,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:36:57] local.INFO: Processing buffer {"connection_id":160521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:36:57] local.INFO: IMEI packet received {"connection_id":160521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":160521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:36:57] local.INFO: TCP Data received {"connection_id":160521,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:36:57] local.INFO: Processing buffer {"connection_id":160521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:36:57] local.INFO: Packet analysis {"connection_id":160521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:36:57] local.INFO: Extracted packet for processing {"connection_id":160521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:36:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587275520001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787450596000,"timestamp_ms":1787450596000,"timestamp_seconds":1787450596,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5b9aa0"} 
[2026-08-23 07:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 07:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587275520001,"66":25691,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587275520001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:36:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:36:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587275520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":160521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:36:58] local.INFO: GPS data processed {"connection_id":160521,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:36:58] local.INFO: Acknowledgment sent {"connection_id":160521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:37:02] local.INFO: TCP Data received {"connection_id":160521,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:37:02] local.INFO: Processing buffer {"connection_id":160521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:37:02] local.INFO: Packet analysis {"connection_id":160521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:37:02] local.INFO: Extracted packet for processing {"connection_id":160521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:37:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587275520001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787450596000,"timestamp_ms":1787450596000,"timestamp_seconds":1787450596,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5b9aa0"} 
[2026-08-23 07:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 07:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587275520001,"66":25691,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587275520001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:37:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:37:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587275520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":160521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:37:02] local.INFO: GPS data processed {"connection_id":160521,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:37:02] local.INFO: Acknowledgment sent {"connection_id":160521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:37:06] local.INFO: TCP Data received {"connection_id":161475,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:37:06] local.INFO: Processing buffer {"connection_id":161475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:37:06] local.INFO: IMEI packet received {"connection_id":161475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":161475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:37:12] local.INFO: TCP Data received {"connection_id":161475,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:37:12] local.INFO: Processing buffer {"connection_id":161475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:37:12] local.INFO: IMEI packet received {"connection_id":161475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":161475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:37:12] local.INFO: TCP Data received {"connection_id":161475,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5eb780012d82720005d93458000a015223..."} 
[2026-08-23 07:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5eb780012d82720005d93458000a015223..."} 
[2026-08-23 07:37:12] local.INFO: Processing buffer {"connection_id":161475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5eb780012d82720005d93458000a015223..."} 
[2026-08-23 07:37:12] local.INFO: Packet analysis {"connection_id":161475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c5e"} 
[2026-08-23 07:37:12] local.INFO: Extracted packet for processing {"connection_id":161475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c5e"} 
[2026-08-23 07:37:12] local.INFO: GPS Element Parsed {"raw_longitude":763523584,"raw_latitude":98120792,"longitude_deg":76.3523584,"latitude_deg":9.8120792,"altitude":10,"angle":338,"satellites":35,"speed":33,"hex_longitude":"2d827200","hex_latitude":"05d93458","is_valid_coordinates":true} 
[2026-08-23 07:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587401728001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122451153991499776,"note":"Value kept but may cause issues"} 
[2026-08-23 07:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044002082829162496,"note":"Value kept but may cause issues"} 
[2026-08-23 07:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787450800000,"timestamp_ms":1787450800000,"timestamp_seconds":1787450800,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5eb780"} 
[2026-08-23 07:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:37:12] 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-08-23 07:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-23 07:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587401728001,"66":13341,"47":206,"85":15104,"24":33,"16":122451153991499776,"45":-9044002082829162496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-23 07:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587401728001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:37:12] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-23 07:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122451153991499776,"km_value":122451153991499.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044002082829162496,"description":"Unknown IO ID 45"} 
[2026-08-23 07:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587401728001,"power":13341,"unknown_47":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9044002082829162496}} 
[2026-08-23 07:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":161475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:37:12] local.INFO: GPS data processed {"connection_id":161475,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:37:12] local.INFO: Acknowledgment sent {"connection_id":161475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:37:43] local.INFO: TCP Data received {"connection_id":161475,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5ede90012d8264c005d95720000a015523..."} 
[2026-08-23 07:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5ede90012d8264c005d95720000a015523..."} 
[2026-08-23 07:37:43] local.INFO: Processing buffer {"connection_id":161475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5ede90012d8264c005d95720000a015523..."} 
[2026-08-23 07:37:43] local.INFO: Packet analysis {"connection_id":161475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c5e"} 
[2026-08-23 07:37:43] local.INFO: Extracted packet for processing {"connection_id":161475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c5e"} 
[2026-08-23 07:37:43] local.INFO: GPS Element Parsed {"raw_longitude":763520192,"raw_latitude":98129696,"longitude_deg":76.3520192,"latitude_deg":9.8129696,"altitude":10,"angle":341,"satellites":35,"speed":38,"hex_longitude":"2d8264c0","hex_latitude":"05d95720","is_valid_coordinates":true} 
[2026-08-23 07:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587404800001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122451613553000448,"note":"Value kept but may cause issues"} 
[2026-08-23 07:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9047168676314982400,"note":"Value kept but may cause issues"} 
[2026-08-23 07:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787450810000,"timestamp_ms":1787450810000,"timestamp_seconds":1787450810,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5ede90"} 
[2026-08-23 07:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:37:43] 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-08-23 07:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-23 07:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587404800001,"66":13254,"69":206,"85":15104,"24":38,"16":122451613553000448,"45":-9047168676314982400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-23 07:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587404800001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:37:43] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-23 07:37:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122451613553000448,"km_value":122451613553000.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9047168676314982400,"description":"Unknown IO ID 45"} 
[2026-08-23 07:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587404800001,"power":13254,"unknown_69":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9047168676314982400}} 
[2026-08-23 07:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":161475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:37:44] local.INFO: GPS data processed {"connection_id":161475,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:37:44] local.INFO: Acknowledgment sent {"connection_id":161475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:37:47] local.INFO: TCP Data received {"connection_id":161476,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:37:47] local.INFO: Processing buffer {"connection_id":161476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:37:47] local.INFO: IMEI packet received {"connection_id":161476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":161476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:37:52] local.INFO: TCP Data received {"connection_id":161476,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:37:52] local.INFO: Processing buffer {"connection_id":161476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:37:52] local.INFO: IMEI packet received {"connection_id":161476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":161476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:37:53] local.INFO: TCP Data received {"connection_id":161476,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:37:53] local.INFO: Processing buffer {"connection_id":161476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:37:53] local.INFO: Packet analysis {"connection_id":161476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:37:53] local.INFO: Extracted packet for processing {"connection_id":161476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:37:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587275520001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787450596000,"timestamp_ms":1787450596000,"timestamp_seconds":1787450596,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5b9aa0"} 
[2026-08-23 07:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 07:37:53] 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-08-23 07: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-08-23 07:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587275520001,"66":25691,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587275520001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:37:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:37:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587275520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":161476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:37:53] local.INFO: GPS data processed {"connection_id":161476,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:37:53] local.INFO: Acknowledgment sent {"connection_id":161476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:38:12] local.INFO: TCP Data received {"connection_id":160522,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:38:12] local.INFO: Processing buffer {"connection_id":160522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:38:12] local.INFO: IMEI packet received {"connection_id":160522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":160522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:38:17] local.INFO: TCP Data received {"connection_id":160522,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:38:17] local.INFO: Processing buffer {"connection_id":160522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:38:17] local.INFO: IMEI packet received {"connection_id":160522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":160522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:38:18] local.INFO: TCP Data received {"connection_id":160522,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5f1540012d825bc005d978880009015f22..."} 
[2026-08-23 07:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5f1540012d825bc005d978880009015f22..."} 
[2026-08-23 07:38:18] local.INFO: Processing buffer {"connection_id":160522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5f1540012d825bc005d978880009015f22..."} 
[2026-08-23 07:38:18] local.INFO: Packet analysis {"connection_id":160522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c5f"} 
[2026-08-23 07:38:18] local.INFO: Extracted packet for processing {"connection_id":160522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c5f"} 
[2026-08-23 07:38:18] local.INFO: GPS Element Parsed {"raw_longitude":763517888,"raw_latitude":98138248,"longitude_deg":76.3517888,"latitude_deg":9.8138248,"altitude":9,"angle":351,"satellites":34,"speed":0,"hex_longitude":"2d825bc0","hex_latitude":"05d97888","is_valid_coordinates":true} 
[2026-08-23 07:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587407360001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122452043049730048,"note":"Value kept but may cause issues"} 
[2026-08-23 07:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9050898219754119168,"note":"Value kept but may cause issues"} 
[2026-08-23 07:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787450824000,"timestamp_ms":1787450824000,"timestamp_seconds":1787450824,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5f1540"} 
[2026-08-23 07:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-23 07:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587407360001,"66":12961,"69":206,"85":15104,"24":0,"16":122452043049730048,"45":-9050898219754119168},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-23 07:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587407360001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:38:18] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-23 07:38:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122452043049730048,"km_value":122452043049730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9050898219754119168,"description":"Unknown IO ID 45"} 
[2026-08-23 07:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587407360001,"power":12961,"unknown_69":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9050898219754119168}} 
[2026-08-23 07:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":160522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:38:18] local.INFO: GPS data processed {"connection_id":160522,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:38:18] local.INFO: Acknowledgment sent {"connection_id":160522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:38:20] local.INFO: TCP Data received {"connection_id":160522,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5f6360012d82538005d99c10000b015d22..."} 
[2026-08-23 07:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5f6360012d82538005d99c10000b015d22..."} 
[2026-08-23 07:38:20] local.INFO: Processing buffer {"connection_id":160522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5f6360012d82538005d99c10000b015d22..."} 
[2026-08-23 07:38:20] local.INFO: Packet analysis {"connection_id":160522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c5f"} 
[2026-08-23 07:38:20] local.INFO: Extracted packet for processing {"connection_id":160522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c5f"} 
[2026-08-23 07:38:20] local.INFO: GPS Element Parsed {"raw_longitude":763515776,"raw_latitude":98147344,"longitude_deg":76.3515776,"latitude_deg":9.8147344,"altitude":11,"angle":349,"satellites":34,"speed":33,"hex_longitude":"2d825380","hex_latitude":"05d99c10","is_valid_coordinates":true} 
[2026-08-23 07:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587410944001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122452498316263424,"note":"Value kept but may cause issues"} 
[2026-08-23 07:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9053431494542325760,"note":"Value kept but may cause issues"} 
[2026-08-23 07:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787450844000,"timestamp_ms":1787450844000,"timestamp_seconds":1787450844,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5f6360"} 
[2026-08-23 07:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 07:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":160522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":160522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":160522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587410944001,"66":13363,"69":206,"85":15104,"24":33,"16":122452498316263424,"45":-9053431494542325760},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-23 07:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587410944001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:38:20] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-23 07:38:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122452498316263424,"km_value":122452498316263.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9053431494542325760,"description":"Unknown IO ID 45"} 
[2026-08-23 07:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587410944001,"power":13363,"unknown_69":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9053431494542325760}} 
[2026-08-23 07:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":160522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:38:20] local.INFO: GPS data processed {"connection_id":160522,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:38:20] local.INFO: Acknowledgment sent {"connection_id":160522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:38:24] local.INFO: TCP Data received {"connection_id":161476,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:38:24] local.INFO: Processing buffer {"connection_id":161476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:38:24] local.INFO: Packet analysis {"connection_id":161476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:38:24] local.INFO: Extracted packet for processing {"connection_id":161476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:38:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587275520001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787450596000,"timestamp_ms":1787450596000,"timestamp_seconds":1787450596,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5b9aa0"} 
[2026-08-23 07:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:38: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-08-23 07: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 07:38:24] 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-08-23 07: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-08-23 07:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587275520001,"66":25691,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587275520001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:38:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:38:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587275520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":161476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:38:24] local.INFO: GPS data processed {"connection_id":161476,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:38:24] local.INFO: Acknowledgment sent {"connection_id":161476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:38:47] local.INFO: TCP Data received {"connection_id":161477,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:38:47] local.INFO: Processing buffer {"connection_id":161477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:38:47] local.INFO: IMEI packet received {"connection_id":161477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":161477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:38:51] local.INFO: TCP Data received {"connection_id":160522,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5f8a70012d824c4005d9bf20000b015822..."} 
[2026-08-23 07:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5f8a70012d824c4005d9bf20000b015822..."} 
[2026-08-23 07:38:51] local.INFO: Processing buffer {"connection_id":160522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5f8a70012d824c4005d9bf20000b015822..."} 
[2026-08-23 07:38:51] local.INFO: Packet analysis {"connection_id":160522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c5f"} 
[2026-08-23 07:38:51] local.INFO: Extracted packet for processing {"connection_id":160522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c5f"} 
[2026-08-23 07:38:51] local.INFO: GPS Element Parsed {"raw_longitude":763513920,"raw_latitude":98156320,"longitude_deg":76.351392,"latitude_deg":9.815632,"altitude":11,"angle":344,"satellites":34,"speed":38,"hex_longitude":"2d824c40","hex_latitude":"05d9bf20","is_valid_coordinates":true} 
[2026-08-23 07:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587416064001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122452944992862208,"note":"Value kept but may cause issues"} 
[2026-08-23 07:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9055753663097860096,"note":"Value kept but may cause issues"} 
[2026-08-23 07:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787450854000,"timestamp_ms":1787450854000,"timestamp_seconds":1787450854,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5f8a70"} 
[2026-08-23 07:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-23 07:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587416064001,"66":13091,"69":206,"85":15104,"24":38,"16":122452944992862208,"45":-9055753663097860096},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-23 07:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587416064001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:38:51] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-23 07:38:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122452944992862208,"km_value":122452944992862.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9055753663097860096,"description":"Unknown IO ID 45"} 
[2026-08-23 07:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587416064001,"power":13091,"unknown_69":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9055753663097860096}} 
[2026-08-23 07:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":160522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:38:51] local.INFO: GPS data processed {"connection_id":160522,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:38:51] local.INFO: Acknowledgment sent {"connection_id":160522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:38:52] local.INFO: TCP Data received {"connection_id":161477,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:38:52] local.INFO: Processing buffer {"connection_id":161477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:38:52] local.INFO: IMEI packet received {"connection_id":161477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":161477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:38:53] local.INFO: TCP Data received {"connection_id":161477,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:38:53] local.INFO: Processing buffer {"connection_id":161477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c5b9aa0012d34c50006aa40980009008526..."} 
[2026-08-23 07:38:53] local.INFO: Packet analysis {"connection_id":161477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:38:53] local.INFO: Extracted packet for processing {"connection_id":161477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c5b"} 
[2026-08-23 07:38:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587275520001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787450596000,"timestamp_ms":1787450596000,"timestamp_seconds":1787450596,"priority":1,"record_length":96,"hex_timestamp":"000001a02c5b9aa0"} 
[2026-08-23 07:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-23 07:38:53] 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-08-23 07:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:38:53] 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-08-23 07:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587275520001,"66":25691,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587275520001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:38:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:38:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587275520001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":161477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:38:53] local.INFO: GPS data processed {"connection_id":161477,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:38:53] local.INFO: Acknowledgment sent {"connection_id":161477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:39:03] local.INFO: TCP Data received {"connection_id":160523,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160523,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:39:03] local.INFO: Processing buffer {"connection_id":160523,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:39:03] local.INFO: IMEI packet received {"connection_id":160523,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":160523,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:39:07] local.INFO: TCP Data received {"connection_id":160523,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160523,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:39:07] local.INFO: Processing buffer {"connection_id":160523,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:39:07] local.INFO: IMEI packet received {"connection_id":160523,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":160523,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:39:12] local.INFO: TCP Data received {"connection_id":160523,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160523,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:39:12] local.INFO: Processing buffer {"connection_id":160523,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:39:12] local.INFO: IMEI packet received {"connection_id":160523,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":160523,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:39:12] local.INFO: TCP Data received {"connection_id":160523,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c60cea8012d82184005da8e080007011522..."} 
[2026-08-23 07:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c60cea8012d82184005da8e080007011522..."} 
[2026-08-23 07:39:12] local.INFO: Processing buffer {"connection_id":160523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c60cea8012d82184005da8e080007011522..."} 
[2026-08-23 07:39:12] local.INFO: Packet analysis {"connection_id":160523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:39:12] local.INFO: Extracted packet for processing {"connection_id":160523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:39:12] local.INFO: GPS Element Parsed {"raw_longitude":763500608,"raw_latitude":98209288,"longitude_deg":76.3500608,"latitude_deg":9.8209288,"altitude":7,"angle":277,"satellites":34,"speed":19,"hex_longitude":"2d821840","hex_latitude":"05da8e08","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587439616001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122455629347422208,"note":"Value kept but may cause issues"} 
[2026-08-23 07:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9071938474242891776,"note":"Value kept but may cause issues"} 
[2026-08-23 07:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787450937000,"timestamp_ms":1787450937000,"timestamp_seconds":1787450937,"priority":1,"record_length":96,"hex_timestamp":"000001a02c60cea8"} 
[2026-08-23 07:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:39: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-08-23 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-23 07:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587439616001,"66":12961,"71":206,"85":15104,"24":19,"16":122455629347422208,"45":-9071938474242891776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-23 07:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587439616001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:39:12] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-23 07:39:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122455629347422208,"km_value":122455629347422.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9071938474242891776,"description":"Unknown IO ID 45"} 
[2026-08-23 07:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587439616001,"power":12961,"unknown_71":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9071938474242891776}} 
[2026-08-23 07:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":160523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:39:12] local.INFO: GPS data processed {"connection_id":160523,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:39:12] local.INFO: Acknowledgment sent {"connection_id":160523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:39:16] local.INFO: TCP Data received {"connection_id":160523,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c60d678012d82140005da8de80006010723..."} 
[2026-08-23 07:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c60d678012d82140005da8de80006010723..."} 
[2026-08-23 07:39:16] local.INFO: Processing buffer {"connection_id":160523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c60d678012d82140005da8de80006010723..."} 
[2026-08-23 07:39:16] local.INFO: Packet analysis {"connection_id":160523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:39:16] local.INFO: Extracted packet for processing {"connection_id":160523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:39:16] local.INFO: GPS Element Parsed {"raw_longitude":763499520,"raw_latitude":98209256,"longitude_deg":76.349952,"latitude_deg":9.8209256,"altitude":6,"angle":263,"satellites":35,"speed":22,"hex_longitude":"2d821400","hex_latitude":"05da8de8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 07:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587439872001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122455680887029760,"note":"Value kept but may cause issues"} 
[2026-08-23 07:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9072431055452108800,"note":"Value kept but may cause issues"} 
[2026-08-23 07:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787450939000,"timestamp_ms":1787450939000,"timestamp_seconds":1787450939,"priority":1,"record_length":96,"hex_timestamp":"000001a02c60d678"} 
[2026-08-23 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-08-23 07:39:16] 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-08-23 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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 07:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 07:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587439872001,"66":13439,"71":206,"85":15104,"24":22,"16":122455680887029760,"45":-9072431055452108800},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-23 07:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587439872001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:39:16] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-23 07:39:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122455680887029760,"km_value":122455680887029.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9072431055452108800,"description":"Unknown IO ID 45"} 
[2026-08-23 07:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587439872001,"power":13439,"unknown_71":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9072431055452108800}} 
[2026-08-23 07:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":160523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:39:16] local.INFO: GPS data processed {"connection_id":160523,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:39:16] local.INFO: Acknowledgment sent {"connection_id":160523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:39:24] local.INFO: TCP Data received {"connection_id":161477,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:39:24] local.INFO: Processing buffer {"connection_id":161477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:39:24] local.INFO: Packet analysis {"connection_id":161477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:39:24] local.INFO: Extracted packet for processing {"connection_id":161477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:39:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587352576001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787450897000,"timestamp_ms":1787450897000,"timestamp_seconds":1787450897,"priority":1,"record_length":96,"hex_timestamp":"000001a02c603268"} 
[2026-08-23 07:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-23 07:39:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587352576001,"66":25702,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587352576001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:39:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:39:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587352576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":161477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:39:24] local.INFO: GPS data processed {"connection_id":161477,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:39:24] local.INFO: Acknowledgment sent {"connection_id":161477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:39:46] local.INFO: TCP Data received {"connection_id":160524,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:39:46] local.INFO: Processing buffer {"connection_id":160524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:39:46] local.INFO: IMEI packet received {"connection_id":160524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":160524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:39:47] local.INFO: TCP Data received {"connection_id":160523,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c60e230012d820c4005da8be8000500fc23..."} 
[2026-08-23 07:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c60e230012d820c4005da8be8000500fc23..."} 
[2026-08-23 07:39:47] local.INFO: Processing buffer {"connection_id":160523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c60e230012d820c4005da8be8000500fc23..."} 
[2026-08-23 07:39:47] local.INFO: Packet analysis {"connection_id":160523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:39:47] local.INFO: Extracted packet for processing {"connection_id":160523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:39:47] local.INFO: GPS Element Parsed {"raw_longitude":763497536,"raw_latitude":98208744,"longitude_deg":76.3497536,"latitude_deg":9.8208744,"altitude":5,"angle":252,"satellites":35,"speed":30,"hex_longitude":"2d820c40","hex_latitude":"05da8be8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 07:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587440384001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122455779671277568,"note":"Value kept but may cause issues"} 
[2026-08-23 07:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9073627324103137280,"note":"Value kept but may cause issues"} 
[2026-08-23 07:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787450942000,"timestamp_ms":1787450942000,"timestamp_seconds":1787450942,"priority":1,"record_length":96,"hex_timestamp":"000001a02c60e230"} 
[2026-08-23 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-08-23 07:39:47] 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-08-23 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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-23 07:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 07:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587440384001,"66":13330,"71":206,"85":15104,"24":30,"16":122455779671277568,"45":-9073627324103137280},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-23 07:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587440384001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:39:47] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-23 07:39:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122455779671277568,"km_value":122455779671277.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9073627324103137280,"description":"Unknown IO ID 45"} 
[2026-08-23 07:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587440384001,"power":13330,"unknown_71":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9073627324103137280}} 
[2026-08-23 07:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":160523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:39:47] local.INFO: GPS data processed {"connection_id":160523,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:39:47] local.INFO: Acknowledgment sent {"connection_id":160523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:39:52] local.INFO: TCP Data received {"connection_id":160524,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:39:52] local.INFO: Processing buffer {"connection_id":160524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:39:52] local.INFO: IMEI packet received {"connection_id":160524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":160524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:39:53] local.INFO: TCP Data received {"connection_id":160524,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:39:53] local.INFO: Processing buffer {"connection_id":160524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:39:53] local.INFO: Packet analysis {"connection_id":160524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:39:53] local.INFO: Extracted packet for processing {"connection_id":160524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:39:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587352576001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787450897000,"timestamp_ms":1787450897000,"timestamp_seconds":1787450897,"priority":1,"record_length":96,"hex_timestamp":"000001a02c603268"} 
[2026-08-23 07:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-23 07:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:39: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-08-23 07:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587352576001,"66":25702,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587352576001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:39:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:39:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587352576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":160524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:39:53] local.INFO: GPS data processed {"connection_id":160524,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:39:53] local.INFO: Acknowledgment sent {"connection_id":160524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:40:03] local.INFO: TCP Data received {"connection_id":160320,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:40:03] local.INFO: Processing buffer {"connection_id":160320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:40:03] local.INFO: IMEI packet received {"connection_id":160320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":160320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:40:07] local.INFO: TCP Data received {"connection_id":160320,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:40:07] local.INFO: Processing buffer {"connection_id":160320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:40:07] local.INFO: IMEI packet received {"connection_id":160320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":160320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:40:07] local.INFO: TCP Data received {"connection_id":160320,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:40:07] local.INFO: Processing buffer {"connection_id":160320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:40:07] local.INFO: IMEI packet received {"connection_id":160320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":160320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:40:08] local.INFO: TCP Data received {"connection_id":160320,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:40:08] local.INFO: Processing buffer {"connection_id":160320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:40:08] local.INFO: IMEI packet received {"connection_id":160320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":160320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:40:09] local.INFO: TCP Data received {"connection_id":160320,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c611110012d81e80005da8120000400fa24..."} 
[2026-08-23 07:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c611110012d81e80005da8120000400fa24..."} 
[2026-08-23 07:40:09] local.INFO: Processing buffer {"connection_id":160320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c611110012d81e80005da8120000400fa24..."} 
[2026-08-23 07:40:09] local.INFO: Packet analysis {"connection_id":160320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c61"} 
[2026-08-23 07:40:09] local.INFO: Extracted packet for processing {"connection_id":160320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c61"} 
[2026-08-23 07:40:09] local.INFO: GPS Element Parsed {"raw_longitude":763488256,"raw_latitude":98205984,"longitude_deg":76.3488256,"latitude_deg":9.8205984,"altitude":4,"angle":250,"satellites":36,"speed":32,"hex_longitude":"2d81e800","hex_latitude":"05da8120","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587441152001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122456243527745536,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9075808755172775936,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787450954000,"timestamp_ms":1787450954000,"timestamp_seconds":1787450954,"priority":1,"record_length":96,"hex_timestamp":"000001a02c611110"} 
[2026-08-23 07:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:40: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-08-23 07: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-23 07:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:09] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3120562176,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2182856709,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:09] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":49153,"corrected_to":0} 
[2026-08-23 07:40:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3279233231678497240,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:09] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-8944148829870480896,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806448334,"corrected_to":0} 
[2026-08-23 07:40:09] local.WARNING: Large IO value detected {"io_id":194,"raw_value":4026609026,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":459070,"corrected_to":0} 
[2026-08-23 07:40:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3666411520,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:09] local.WARNING: Large IO value detected {"io_id":97,"raw_value":57886293623723323,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:09] local.WARNING: Large IO value detected {"io_id":96,"raw_value":-5807390424525914107,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:09] local.WARNING: Large IO value detected {"io_id":20,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:09] local.WARNING: Large IO value detected {"io_id":167,"raw_value":5116316042150287360,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:09] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:09] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,71,85,24,241,157,16,12,160,214,45,141,6,35,10,66,206,64,142,7,34,202,1,240,29,227,44,218,4,113,205,17,194,200,239,52,2,179,5,97,96,20,167,81],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":202,"original":49153,"validated":0},{"io_id":205,"original":2806448334,"validated":0},{"io_id":200,"original":459070,"validated":0}]} 
[2026-08-23 07:40:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360565197445660672,"timestamp_seconds":360565197445660.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 07:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587441152001,"66":13319,"71":206,"85":15104,"24":32,"16":122456243527745536,"45":-9075808755172775936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-23 07:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587441152001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:40:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-23 07:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122456243527745536,"km_value":122456243527745.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9075808755172775936,"description":"Unknown IO ID 45"} 
[2026-08-23 07:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587441152001,"power":13319,"unknown_71":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9075808755172775936}} 
[2026-08-23 07:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":160320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:40:09] local.INFO: GPS data processed {"connection_id":160320,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:40:09] local.INFO: Acknowledgment sent {"connection_id":160320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:40:10] local.INFO: TCP Data received {"connection_id":160320,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c613c08012d81c48005da7478000500fa21..."} 
[2026-08-23 07:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c613c08012d81c48005da7478000500fa21..."} 
[2026-08-23 07:40:10] local.INFO: Processing buffer {"connection_id":160320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c613c08012d81c48005da7478000500fa21..."} 
[2026-08-23 07:40:10] local.INFO: Packet analysis {"connection_id":160320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c61"} 
[2026-08-23 07:40:10] local.INFO: Extracted packet for processing {"connection_id":160320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c61"} 
[2026-08-23 07:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763479168,"raw_latitude":98202744,"longitude_deg":76.3479168,"latitude_deg":9.8202744,"altitude":5,"angle":250,"satellites":33,"speed":34,"hex_longitude":"2d81c480","hex_latitude":"05da7478","is_valid_coordinates":true} 
[2026-08-23 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-08-23 07:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587444224001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122456707384213504,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9086012223079243776,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787450965000,"timestamp_ms":1787450965000,"timestamp_seconds":1787450965,"priority":1,"record_length":96,"hex_timestamp":"000001a02c613c08"} 
[2026-08-23 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-08-23 07:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 07:40:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2182742021,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3666593792,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:10] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:10] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-8574853660426820864,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806448334,"corrected_to":0} 
[2026-08-23 07:40:10] local.WARNING: Large IO value detected {"io_id":198,"raw_value":3623955842,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:10] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3221609100,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":459056,"corrected_to":0} 
[2026-08-23 07:40:10] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57886293623723323,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:10] local.WARNING: Large IO value detected {"io_id":96,"raw_value":-4962965494394077179,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:10] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,71,85,24,241,157,16,13,160,226,45,64,139,5,35,10,66,12,214,141,6,206,1,240,161,227,44,218,4,113,205,19,198,27,200,239,52,2,179,7,15,62,96],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2806448334,"validated":0},{"io_id":200,"original":459056,"validated":0}]} 
[2026-08-23 07:40:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288505408679575552,"timestamp_seconds":288505408679575.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 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-08-23 07:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587444224001,"66":13319,"71":206,"85":15104,"24":34,"16":122456707384213504,"45":-9086012223079243776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-23 07:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587444224001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:40:10] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-23 07:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122456707384213504,"km_value":122456707384213.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9086012223079243776,"description":"Unknown IO ID 45"} 
[2026-08-23 07:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587444224001,"power":13319,"unknown_71":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9086012223079243776}} 
[2026-08-23 07:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":160320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:40:10] local.INFO: GPS data processed {"connection_id":160320,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:40:10] local.INFO: Acknowledgment sent {"connection_id":160320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:40:24] local.INFO: TCP Data received {"connection_id":160524,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:40:24] local.INFO: Processing buffer {"connection_id":160524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:40:24] local.INFO: Packet analysis {"connection_id":160524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:40:24] local.INFO: Extracted packet for processing {"connection_id":160524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:40:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587352576001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787450897000,"timestamp_ms":1787450897000,"timestamp_seconds":1787450897,"priority":1,"record_length":96,"hex_timestamp":"000001a02c603268"} 
[2026-08-23 07:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-23 07:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:40: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-08-23 07:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587352576001,"66":25702,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587352576001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:40:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:40:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587352576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":160524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:40:24] local.INFO: GPS data processed {"connection_id":160524,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:40:24] local.INFO: Acknowledgment sent {"connection_id":160524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:40:42] local.INFO: TCP Data received {"connection_id":160320,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c620340012d815f4005da9da00009014f22..."} 
[2026-08-23 07:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c620340012d815f4005da9da00009014f22..."} 
[2026-08-23 07:40:42] local.INFO: Processing buffer {"connection_id":160320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c620340012d815f4005da9da00009014f22..."} 
[2026-08-23 07:40:42] local.INFO: Packet analysis {"connection_id":160320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c62"} 
[2026-08-23 07:40:42] local.INFO: Extracted packet for processing {"connection_id":160320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c62"} 
[2026-08-23 07:40:42] local.INFO: GPS Element Parsed {"raw_longitude":763453248,"raw_latitude":98213280,"longitude_deg":76.3453248,"latitude_deg":9.821328,"altitude":9,"angle":335,"satellites":34,"speed":33,"hex_longitude":"2d815f40","hex_latitude":"05da9da0","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587458560001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122458214917734400,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9123166920004339712,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787451016000,"timestamp_ms":1787451016000,"timestamp_seconds":1787451016,"priority":1,"record_length":96,"hex_timestamp":"000001a02c620340"} 
[2026-08-23 07:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:40: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-08-23 07: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-23 07:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587458560001,"66":13363,"71":206,"85":15104,"24":33,"16":122458214917734400,"45":-9123166920004339712},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-23 07:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587458560001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:40:42] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-23 07:40:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122458214917734400,"km_value":122458214917734.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9123166920004339712,"description":"Unknown IO ID 45"} 
[2026-08-23 07:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587458560001,"power":13363,"unknown_71":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9123166920004339712}} 
[2026-08-23 07:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":160320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:40:42] local.INFO: GPS data processed {"connection_id":160320,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:40:42] local.INFO: Acknowledgment sent {"connection_id":160320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:40:52] local.INFO: TCP Data received {"connection_id":161478,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:40:52] local.INFO: Processing buffer {"connection_id":161478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:40:52] local.INFO: IMEI packet received {"connection_id":161478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":161478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:40:57] local.INFO: TCP Data received {"connection_id":161478,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:40:57] local.INFO: Processing buffer {"connection_id":161478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:40:57] local.INFO: IMEI packet received {"connection_id":161478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":161478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:40:58] local.INFO: TCP Data received {"connection_id":161478,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:40:58] local.INFO: Processing buffer {"connection_id":161478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:40:58] local.INFO: Packet analysis {"connection_id":161478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:40:58] local.INFO: Extracted packet for processing {"connection_id":161478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:40:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587352576001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787450897000,"timestamp_ms":1787450897000,"timestamp_seconds":1787450897,"priority":1,"record_length":96,"hex_timestamp":"000001a02c603268"} 
[2026-08-23 07:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:40: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-08-23 07:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-23 07:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587352576001,"66":25702,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587352576001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:40:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:40:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587352576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":161478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:40:58] local.INFO: GPS data processed {"connection_id":161478,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:40:58] local.INFO: Acknowledgment sent {"connection_id":161478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:41:02] local.INFO: TCP Data received {"connection_id":161478,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:41:02] local.INFO: Processing buffer {"connection_id":161478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:41:02] local.INFO: Packet analysis {"connection_id":161478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:41:02] local.INFO: Extracted packet for processing {"connection_id":161478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:41:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587352576001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787450897000,"timestamp_ms":1787450897000,"timestamp_seconds":1787450897,"priority":1,"record_length":96,"hex_timestamp":"000001a02c603268"} 
[2026-08-23 07:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-23 07:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:41:02] 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-08-23 07:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587352576001,"66":25702,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587352576001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:41:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:41:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587352576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":161478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:41:02] local.INFO: GPS data processed {"connection_id":161478,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:41:02] local.INFO: Acknowledgment sent {"connection_id":161478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:41:07] local.INFO: TCP Data received {"connection_id":160525,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:41:07] local.INFO: Processing buffer {"connection_id":160525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:41:07] local.INFO: IMEI packet received {"connection_id":160525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":160525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:41:08] local.INFO: TCP Data received {"connection_id":160525,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:41:08] local.INFO: Processing buffer {"connection_id":160525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:41:08] local.INFO: IMEI packet received {"connection_id":160525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":160525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:41:12] local.INFO: TCP Data received {"connection_id":160525,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:41:12] local.INFO: Processing buffer {"connection_id":160525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:41:12] local.INFO: IMEI packet received {"connection_id":160525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":160525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:41:13] local.INFO: TCP Data received {"connection_id":160525,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c622a50012d81518005dac0b00008015223..."} 
[2026-08-23 07:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c622a50012d81518005dac0b00008015223..."} 
[2026-08-23 07:41:13] local.INFO: Processing buffer {"connection_id":160525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c622a50012d81518005dac0b00008015223..."} 
[2026-08-23 07:41:13] local.INFO: Packet analysis {"connection_id":160525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c62"} 
[2026-08-23 07:41:13] local.INFO: Extracted packet for processing {"connection_id":160525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c62"} 
[2026-08-23 07:41:13] local.INFO: GPS Element Parsed {"raw_longitude":763449728,"raw_latitude":98222256,"longitude_deg":76.3449728,"latitude_deg":9.8222256,"altitude":8,"angle":338,"satellites":35,"speed":38,"hex_longitude":"2d815180","hex_latitude":"05dac0b0","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587460096001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122458683069169664,"note":"Value kept but may cause issues"} 
[2026-08-23 07:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9124503926142558208,"note":"Value kept but may cause issues"} 
[2026-08-23 07:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787451026000,"timestamp_ms":1787451026000,"timestamp_seconds":1787451026,"priority":1,"record_length":96,"hex_timestamp":"000001a02c622a50"} 
[2026-08-23 07:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:41: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-08-23 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-23 07:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587460096001,"66":13189,"71":206,"85":15104,"24":38,"16":122458683069169664,"45":-9124503926142558208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-23 07:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587460096001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:41:13] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-23 07:41:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122458683069169664,"km_value":122458683069169.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9124503926142558208,"description":"Unknown IO ID 45"} 
[2026-08-23 07:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587460096001,"power":13189,"unknown_71":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9124503926142558208}} 
[2026-08-23 07:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":160525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:41:13] local.INFO: GPS data processed {"connection_id":160525,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:41:13] local.INFO: Acknowledgment sent {"connection_id":160525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:41:15] local.INFO: TCP Data received {"connection_id":160525,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c623dd8012d814c0005dad2c80007015e23..."} 
[2026-08-23 07:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c623dd8012d814c0005dad2c80007015e23..."} 
[2026-08-23 07:41:15] local.INFO: Processing buffer {"connection_id":160525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c623dd8012d814c0005dad2c80007015e23..."} 
[2026-08-23 07:41:15] local.INFO: Packet analysis {"connection_id":160525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c62"} 
[2026-08-23 07:41:15] local.INFO: Extracted packet for processing {"connection_id":160525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c62"} 
[2026-08-23 07:41:15] local.INFO: GPS Element Parsed {"raw_longitude":763448320,"raw_latitude":98226888,"longitude_deg":76.344832,"latitude_deg":9.8226888,"altitude":7,"angle":350,"satellites":35,"speed":38,"hex_longitude":"2d814c00","hex_latitude":"05dad2c8","is_valid_coordinates":true} 
[2026-08-23 07:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587462656001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122458919292370944,"note":"Value kept but may cause issues"} 
[2026-08-23 07:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9128374207070031872,"note":"Value kept but may cause issues"} 
[2026-08-23 07:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787451031000,"timestamp_ms":1787451031000,"timestamp_seconds":1787451031,"priority":1,"record_length":96,"hex_timestamp":"000001a02c623dd8"} 
[2026-08-23 07:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:41:15] 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-08-23 07:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 07:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587462656001,"66":13450,"71":206,"85":15104,"24":38,"16":122458919292370944,"45":-9128374207070031872},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-23 07:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587462656001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:41:15] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-23 07:41:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122458919292370944,"km_value":122458919292370.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9128374207070031872,"description":"Unknown IO ID 45"} 
[2026-08-23 07:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587462656001,"power":13450,"unknown_71":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9128374207070031872}} 
[2026-08-23 07:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":160525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685067,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:41:15] local.INFO: GPS data processed {"connection_id":160525,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:41:15] local.INFO: Acknowledgment sent {"connection_id":160525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:41:47] local.INFO: TCP Data received {"connection_id":160525,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c626100012d81458005daf3100008014c21..."} 
[2026-08-23 07:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c626100012d81458005daf3100008014c21..."} 
[2026-08-23 07:41:47] local.INFO: Processing buffer {"connection_id":160525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c626100012d81458005daf3100008014c21..."} 
[2026-08-23 07:41:47] local.INFO: Packet analysis {"connection_id":160525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c62"} 
[2026-08-23 07:41:47] local.INFO: Extracted packet for processing {"connection_id":160525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c62"} 
[2026-08-23 07:41:47] local.INFO: GPS Element Parsed {"raw_longitude":763446656,"raw_latitude":98235152,"longitude_deg":76.3446656,"latitude_deg":9.8235152,"altitude":8,"angle":332,"satellites":33,"speed":33,"hex_longitude":"2d814580","hex_latitude":"05daf310","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587463936001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122459327314264064,"note":"Value kept but may cause issues"} 
[2026-08-23 07:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9129922319440754688,"note":"Value kept but may cause issues"} 
[2026-08-23 07:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787451040000,"timestamp_ms":1787451040000,"timestamp_seconds":1787451040,"priority":1,"record_length":96,"hex_timestamp":"000001a02c626100"} 
[2026-08-23 07:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:41:47] 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-08-23 07: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-23 07:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587463936001,"66":13298,"71":206,"85":15104,"24":33,"16":122459327314264064,"45":-9129922319440754688},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-23 07:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587463936001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:41:47] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-23 07:41:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122459327314264064,"km_value":122459327314264.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9129922319440754688,"description":"Unknown IO ID 45"} 
[2026-08-23 07:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587463936001,"power":13298,"unknown_71":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9129922319440754688}} 
[2026-08-23 07:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":160525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:41:47] local.INFO: GPS data processed {"connection_id":160525,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:41:47] local.INFO: Acknowledgment sent {"connection_id":160525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:41:47] local.INFO: TCP Data received {"connection_id":160321,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:41:47] local.INFO: Processing buffer {"connection_id":160321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:41:47] local.INFO: IMEI packet received {"connection_id":160321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":160321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:41:52] local.INFO: TCP Data received {"connection_id":160321,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:41:52] local.INFO: Processing buffer {"connection_id":160321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:41:52] local.INFO: IMEI packet received {"connection_id":160321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":160321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:41:53] local.INFO: TCP Data received {"connection_id":160321,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:41:53] local.INFO: Processing buffer {"connection_id":160321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:41:53] local.INFO: Packet analysis {"connection_id":160321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:41:53] local.INFO: Extracted packet for processing {"connection_id":160321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587352576001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787450897000,"timestamp_ms":1787450897000,"timestamp_seconds":1787450897,"priority":1,"record_length":96,"hex_timestamp":"000001a02c603268"} 
[2026-08-23 07:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-23 07:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:41:53] 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-08-23 07:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587352576001,"66":25702,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587352576001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:41:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:41:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587352576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":160321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:41:53] local.INFO: GPS data processed {"connection_id":160321,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:41:53] local.INFO: Acknowledgment sent {"connection_id":160321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:42:07] local.INFO: TCP Data received {"connection_id":161479,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:42:07] local.INFO: Processing buffer {"connection_id":161479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:42:07] local.INFO: IMEI packet received {"connection_id":161479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":161479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:42:11] local.INFO: TCP Data received {"connection_id":161479,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:42:11] local.INFO: Processing buffer {"connection_id":161479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:42:11] local.INFO: IMEI packet received {"connection_id":161479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":161479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:42:12] local.INFO: TCP Data received {"connection_id":161479,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6268d0012d81414005daf8300008013a22..."} 
[2026-08-23 07:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6268d0012d81414005daf8300008013a22..."} 
[2026-08-23 07:42:12] local.INFO: Processing buffer {"connection_id":161479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6268d0012d81414005daf8300008013a22..."} 
[2026-08-23 07:42:12] local.INFO: Packet analysis {"connection_id":161479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c62"} 
[2026-08-23 07:42:12] local.INFO: Extracted packet for processing {"connection_id":161479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c62"} 
[2026-08-23 07:42:12] local.INFO: GPS Element Parsed {"raw_longitude":763445568,"raw_latitude":98236464,"longitude_deg":76.3445568,"latitude_deg":9.8236464,"altitude":8,"angle":314,"satellites":34,"speed":32,"hex_longitude":"2d814140","hex_latitude":"05daf830","is_valid_coordinates":true} 
[2026-08-23 07:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587466240001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122459408918642688,"note":"Value kept but may cause issues"} 
[2026-08-23 07:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9131751906787258368,"note":"Value kept but may cause issues"} 
[2026-08-23 07:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787451042000,"timestamp_ms":1787451042000,"timestamp_seconds":1787451042,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6268d0"} 
[2026-08-23 07:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:42:12] 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-08-23 07:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-23 07:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587466240001,"66":13189,"71":206,"85":15104,"24":32,"16":122459408918642688,"45":-9131751906787258368},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-23 07:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587466240001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:42:12] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-23 07:42:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122459408918642688,"km_value":122459408918642.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9131751906787258368,"description":"Unknown IO ID 45"} 
[2026-08-23 07:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587466240001,"power":13189,"unknown_71":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9131751906787258368}} 
[2026-08-23 07:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":161479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:42:12] local.INFO: GPS data processed {"connection_id":161479,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:42:12] local.INFO: Acknowledgment sent {"connection_id":161479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:42:25] local.INFO: TCP Data received {"connection_id":160321,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:42:25] local.INFO: Processing buffer {"connection_id":160321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:42:25] local.INFO: Packet analysis {"connection_id":160321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:42:25] local.INFO: Extracted packet for processing {"connection_id":160321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:42:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587352576001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787450897000,"timestamp_ms":1787450897000,"timestamp_seconds":1787450897,"priority":1,"record_length":96,"hex_timestamp":"000001a02c603268"} 
[2026-08-23 07:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-23 07:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:42:25] 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-08-23 07:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587352576001,"66":25702,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587352576001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:42:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:42:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587352576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":160321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:42:25] local.INFO: GPS data processed {"connection_id":160321,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:42:25] local.INFO: Acknowledgment sent {"connection_id":160321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:42:42] local.INFO: TCP Data received {"connection_id":161479,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c63eb88012d80a58005dc1a500009014f21..."} 
[2026-08-23 07:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c63eb88012d80a58005dc1a500009014f21..."} 
[2026-08-23 07:42:42] local.INFO: Processing buffer {"connection_id":161479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c63eb88012d80a58005dc1a500009014f21..."} 
[2026-08-23 07:42:42] local.INFO: Packet analysis {"connection_id":161479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c63"} 
[2026-08-23 07:42:42] local.INFO: Extracted packet for processing {"connection_id":161479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c63"} 
[2026-08-23 07:42:42] local.INFO: GPS Element Parsed {"raw_longitude":763405696,"raw_latitude":98310736,"longitude_deg":76.3405696,"latitude_deg":9.8310736,"altitude":9,"angle":335,"satellites":33,"speed":37,"hex_longitude":"2d80a580","hex_latitude":"05dc1a50","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587489024001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122463514907377664,"note":"Value kept but may cause issues"} 
[2026-08-23 07:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172847253369747456,"note":"Value kept but may cause issues"} 
[2026-08-23 07:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787451141000,"timestamp_ms":1787451141000,"timestamp_seconds":1787451141,"priority":1,"record_length":96,"hex_timestamp":"000001a02c63eb88"} 
[2026-08-23 07:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 07:42:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 07:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2163163141,"note":"Value kept but may cause issues"} 
[2026-08-23 07:42:42] local.WARNING: Large IO value detected {"io_id":98,"raw_value":-4701756716023742459,"note":"Value kept but may cause issues"} 
[2026-08-23 07:42:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-23 07:42:42] local.WARNING: Large IO value detected {"io_id":219,"raw_value":4280671475902063104,"note":"Value kept but may cause issues"} 
[2026-08-23 07:42:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2828665038,"corrected_to":0} 
[2026-08-23 07:42:42] local.WARNING: Large IO value detected {"io_id":251,"raw_value":2147867502,"note":"Value kept but may cause issues"} 
[2026-08-23 07:42:42] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3680088064,"note":"Value kept but may cause issues"} 
[2026-08-23 07:42:42] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57887745322669371,"note":"Value kept but may cause issues"} 
[2026-08-23 07:42:42] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,154,85,24,241,157,16,19,160,141,45,192,217,6,35,10,66,98,64,185,4,18,51,1,240,242,227,44,219,113,205,32,249,251,239,52,2,179,5,38,220],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2828665038,"validated":0}]} 
[2026-08-23 07:42:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504777142544302080,"timestamp_seconds":504777142544302.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 07:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587489024001,"66":13363,"154":206,"85":15104,"24":37,"16":122463514907377664,"45":-9172847253369747456},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-23 07:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587489024001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:42:42] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-23 07:42:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122463514907377664,"km_value":122463514907377.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172847253369747456,"description":"Unknown IO ID 45"} 
[2026-08-23 07:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587489024001,"power":13363,"unknown_154":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9172847253369747456}} 
[2026-08-23 07:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":161479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:42:43] local.INFO: GPS data processed {"connection_id":161479,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:42:43] local.INFO: Acknowledgment sent {"connection_id":161479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:42:47] local.INFO: TCP Data received {"connection_id":160526,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:42:47] local.INFO: Processing buffer {"connection_id":160526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:42:47] local.INFO: IMEI packet received {"connection_id":160526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":160526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:42:52] local.INFO: TCP Data received {"connection_id":160526,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:42:52] local.INFO: Processing buffer {"connection_id":160526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:42:52] local.INFO: IMEI packet received {"connection_id":160526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":160526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:42:53] local.INFO: TCP Data received {"connection_id":160526,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:42:53] local.INFO: Processing buffer {"connection_id":160526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:42:53] local.INFO: Packet analysis {"connection_id":160526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:42:53] local.INFO: Extracted packet for processing {"connection_id":160526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:42:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587352576001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787450897000,"timestamp_ms":1787450897000,"timestamp_seconds":1787450897,"priority":1,"record_length":96,"hex_timestamp":"000001a02c603268"} 
[2026-08-23 07:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-23 07:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587352576001,"66":25702,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587352576001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:42:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:42:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587352576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":160526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:42:53] local.INFO: GPS data processed {"connection_id":160526,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:42:53] local.INFO: Acknowledgment sent {"connection_id":160526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:43:06] local.INFO: TCP Data received {"connection_id":160322,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:43:06] local.INFO: Processing buffer {"connection_id":160322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:43:06] local.INFO: IMEI packet received {"connection_id":160322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":160322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:43:12] local.INFO: TCP Data received {"connection_id":160322,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:43:12] local.INFO: Processing buffer {"connection_id":160322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:43:12] local.INFO: IMEI packet received {"connection_id":160322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":160322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:43:13] local.INFO: TCP Data received {"connection_id":160322,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c640eb0012d80990005dc3c700008015421..."} 
[2026-08-23 07:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c640eb0012d80990005dc3c700008015421..."} 
[2026-08-23 07:43:13] local.INFO: Processing buffer {"connection_id":160322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c640eb0012d80990005dc3c700008015421..."} 
[2026-08-23 07:43:13] local.INFO: Packet analysis {"connection_id":160322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:43:13] local.INFO: Extracted packet for processing {"connection_id":160322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:43:13] local.INFO: GPS Element Parsed {"raw_longitude":763402496,"raw_latitude":98319472,"longitude_deg":76.3402496,"latitude_deg":9.8319472,"altitude":8,"angle":340,"satellites":33,"speed":41,"hex_longitude":"2d809900","hex_latitude":"05dc3c70","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587492096001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122463965878943744,"note":"Value kept but may cause issues"} 
[2026-08-23 07:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176787903041613824,"note":"Value kept but may cause issues"} 
[2026-08-23 07:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787451150000,"timestamp_ms":1787451150000,"timestamp_seconds":1787451150,"priority":1,"record_length":96,"hex_timestamp":"000001a02c640eb0"} 
[2026-08-23 07:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:43:13] 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-08-23 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-23 07:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587492096001,"66":13428,"154":206,"85":15104,"24":41,"16":122463965878943744,"45":-9176787903041613824},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-23 07:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587492096001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:43:13] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-23 07:43:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122463965878943744,"km_value":122463965878943.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176787903041613824,"description":"Unknown IO ID 45"} 
[2026-08-23 07:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587492096001,"power":13428,"unknown_154":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9176787903041613824}} 
[2026-08-23 07:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":160322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:43:13] local.INFO: GPS data processed {"connection_id":160322,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:43:13] local.INFO: Acknowledgment sent {"connection_id":160322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:43:24] local.INFO: TCP Data received {"connection_id":160526,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:43:24] local.INFO: Processing buffer {"connection_id":160526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:43:24] local.INFO: Packet analysis {"connection_id":160526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:43:24] local.INFO: Extracted packet for processing {"connection_id":160526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:43:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587352576001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787450897000,"timestamp_ms":1787450897000,"timestamp_seconds":1787450897,"priority":1,"record_length":96,"hex_timestamp":"000001a02c603268"} 
[2026-08-23 07:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-23 07:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587352576001,"66":25702,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587352576001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:43:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:43:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587352576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":160526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:43:24] local.INFO: GPS data processed {"connection_id":160526,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:43:24] local.INFO: Acknowledgment sent {"connection_id":160526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:43:45] local.INFO: TCP Data received {"connection_id":160322,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c642238012d80904005dc4de00006014923..."} 
[2026-08-23 07:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c642238012d80904005dc4de00006014923..."} 
[2026-08-23 07:43:45] local.INFO: Processing buffer {"connection_id":160322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c642238012d80904005dc4de00006014923..."} 
[2026-08-23 07:43:45] local.INFO: Packet analysis {"connection_id":160322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:43:45] local.INFO: Extracted packet for processing {"connection_id":160322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:43:45] local.INFO: GPS Element Parsed {"raw_longitude":763400256,"raw_latitude":98323936,"longitude_deg":76.3400256,"latitude_deg":9.8323936,"altitude":6,"angle":329,"satellites":35,"speed":35,"hex_longitude":"2d809040","hex_latitude":"05dc4de0","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587494400001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122464206397112320,"note":"Value kept but may cause issues"} 
[2026-08-23 07:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9180306340248260608,"note":"Value kept but may cause issues"} 
[2026-08-23 07:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787451155000,"timestamp_ms":1787451155000,"timestamp_seconds":1787451155,"priority":1,"record_length":96,"hex_timestamp":"000001a02c642238"} 
[2026-08-23 07:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:43:45] 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-08-23 07: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-23 07:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587494400001,"66":13276,"154":206,"85":15104,"24":35,"16":122464206397112320,"45":-9180306340248260608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-23 07:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587494400001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:43:45] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-23 07:43:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122464206397112320,"km_value":122464206397112.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9180306340248260608,"description":"Unknown IO ID 45"} 
[2026-08-23 07:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587494400001,"power":13276,"unknown_154":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9180306340248260608}} 
[2026-08-23 07:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":160322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685076,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:43:45] local.INFO: GPS data processed {"connection_id":160322,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:43:45] local.INFO: Acknowledgment sent {"connection_id":160322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:43:47] local.INFO: TCP Data received {"connection_id":160323,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:43:47] local.INFO: Processing buffer {"connection_id":160323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:43:47] local.INFO: IMEI packet received {"connection_id":160323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":160323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:43:52] local.INFO: TCP Data received {"connection_id":160323,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:43:52] local.INFO: Processing buffer {"connection_id":160323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:43:52] local.INFO: IMEI packet received {"connection_id":160323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":160323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:43:53] local.INFO: TCP Data received {"connection_id":160323,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:43:53] local.INFO: Processing buffer {"connection_id":160323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c603268012d34c50006aa40980009008526..."} 
[2026-08-23 07:43:53] local.INFO: Packet analysis {"connection_id":160323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:43:53] local.INFO: Extracted packet for processing {"connection_id":160323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c60"} 
[2026-08-23 07:43:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587352576001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787450897000,"timestamp_ms":1787450897000,"timestamp_seconds":1787450897,"priority":1,"record_length":96,"hex_timestamp":"000001a02c603268"} 
[2026-08-23 07:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-23 07:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:43:53] 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-08-23 07:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587352576001,"66":25702,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587352576001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:43:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:43:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587352576001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":160323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:43:53] local.INFO: GPS data processed {"connection_id":160323,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:43:53] local.INFO: Acknowledgment sent {"connection_id":160323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:44:06] local.INFO: TCP Data received {"connection_id":162894,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:44:06] local.INFO: Processing buffer {"connection_id":162894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:44:06] local.INFO: IMEI packet received {"connection_id":162894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":162894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:44:12] local.INFO: TCP Data received {"connection_id":162894,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:44:12] local.INFO: Processing buffer {"connection_id":162894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:44:12] local.INFO: IMEI packet received {"connection_id":162894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":162894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:44:13] local.INFO: TCP Data received {"connection_id":162894,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:44:13] local.INFO: Processing buffer {"connection_id":162894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:44:13] local.INFO: IMEI packet received {"connection_id":162894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":162894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:44:14] local.INFO: TCP Data received {"connection_id":162894,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c646888012d8075c005dc89e80005015322..."} 
[2026-08-23 07:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c646888012d8075c005dc89e80005015322..."} 
[2026-08-23 07:44:14] local.INFO: Processing buffer {"connection_id":162894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c646888012d8075c005dc89e80005015322..."} 
[2026-08-23 07:44:14] local.INFO: Packet analysis {"connection_id":162894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:44:14] local.INFO: Extracted packet for processing {"connection_id":162894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:44:14] local.INFO: GPS Element Parsed {"raw_longitude":763393472,"raw_latitude":98339304,"longitude_deg":76.3393472,"latitude_deg":9.8339304,"altitude":5,"angle":339,"satellites":34,"speed":37,"hex_longitude":"2d8075c0","hex_latitude":"05dc89e8","is_valid_coordinates":true} 
[2026-08-23 07:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587497728001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122465022440898560,"note":"Value kept but may cause issues"} 
[2026-08-23 07:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9186498789733109760,"note":"Value kept but may cause issues"} 
[2026-08-23 07:44: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-08-23 07:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787451173000,"timestamp_ms":1787451173000,"timestamp_seconds":1787451173,"priority":1,"record_length":96,"hex_timestamp":"000001a02c646888"} 
[2026-08-23 07:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:44:14] 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-08-23 07:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 07:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587497728001,"66":13319,"250":206,"85":15104,"24":37,"16":122465022440898560,"45":-9186498789733109760},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-23 07:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587497728001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:44:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-23 07:44:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122465022440898560,"km_value":122465022440898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9186498789733109760,"description":"Unknown IO ID 45"} 
[2026-08-23 07:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587497728001,"power":13319,"unknown_250":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9186498789733109760}} 
[2026-08-23 07:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":162894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:44:14] local.INFO: GPS data processed {"connection_id":162894,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:44:14] local.INFO: Acknowledgment sent {"connection_id":162894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:44:17] local.INFO: TCP Data received {"connection_id":162894,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c64b6a8012d806cc005dca0e00005014820..."} 
[2026-08-23 07:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c64b6a8012d806cc005dca0e00005014820..."} 
[2026-08-23 07:44:17] local.INFO: Processing buffer {"connection_id":162894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c64b6a8012d806cc005dca0e00005014820..."} 
[2026-08-23 07:44:17] local.INFO: Packet analysis {"connection_id":162894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:44:17] local.INFO: Extracted packet for processing {"connection_id":162894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:44:17] local.INFO: GPS Element Parsed {"raw_longitude":763391168,"raw_latitude":98345184,"longitude_deg":76.3391168,"latitude_deg":9.8345184,"altitude":5,"angle":328,"satellites":32,"speed":15,"hex_longitude":"2d806cc0","hex_latitude":"05dca0e0","is_valid_coordinates":true} 
[2026-08-23 07:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587500288001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122465344563445760,"note":"Value kept but may cause issues"} 
[2026-08-23 07:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190228333172234240,"note":"Value kept but may cause issues"} 
[2026-08-23 07:44: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-08-23 07:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787451193000,"timestamp_ms":1787451193000,"timestamp_seconds":1787451193,"priority":1,"record_length":96,"hex_timestamp":"000001a02c64b6a8"} 
[2026-08-23 07:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:44:17] 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-08-23 07:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 07:44:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 07:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2158329861,"note":"Value kept but may cause issues"} 
[2026-08-23 07:44:17] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3688474624,"note":"Value kept but may cause issues"} 
[2026-08-23 07:44:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 07:44:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2828665038,"corrected_to":0} 
[2026-08-23 07:44:17] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2818649472,"note":"Value kept but may cause issues"} 
[2026-08-23 07:44:17] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57887749617636667,"note":"Value kept but may cause issues"} 
[2026-08-23 07:44:17] local.WARNING: Large IO value detected {"io_id":99,"raw_value":7120192305819238405,"note":"Value kept but may cause issues"} 
[2026-08-23 07:44:17] local.WARNING: Large IO value detected {"io_id":219,"raw_value":-5102578360609398016,"note":"Value kept but may cause issues"} 
[2026-08-23 07:44:17] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,250,85,24,241,157,16,21,160,65,45,102,5,33,10,66,153,20,34,64,77,6,35,154,14,1,240,116,227,44,220,4,113,205,37,188,179,136,239,52,2,29,7,99,219],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2828665038,"validated":0}]} 
[2026-08-23 07:44:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360660850662768640,"timestamp_seconds":360660850662768.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 07:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587500288001,"66":13254,"250":206,"85":15104,"24":15,"16":122465344563445760,"45":-9190228333172234240},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-23 07:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587500288001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:44:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-23 07:44:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122465344563445760,"km_value":122465344563445.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190228333172234240,"description":"Unknown IO ID 45"} 
[2026-08-23 07:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587500288001,"power":13254,"unknown_250":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9190228333172234240}} 
[2026-08-23 07:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":162894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:44:17] local.INFO: GPS data processed {"connection_id":162894,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:44:17] local.INFO: Acknowledgment sent {"connection_id":162894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:44:24] local.INFO: TCP Data received {"connection_id":160323,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:44:24] local.INFO: Processing buffer {"connection_id":160323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:44:24] local.INFO: Packet analysis {"connection_id":160323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:44:24] local.INFO: Extracted packet for processing {"connection_id":160323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:44:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587429632001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787451198000,"timestamp_ms":1787451198000,"timestamp_seconds":1787451198,"priority":1,"record_length":96,"hex_timestamp":"000001a02c64ca30"} 
[2026-08-23 07:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-23 07:44:24] 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-08-23 07:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:44:24] 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-08-23 07:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587429632001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587429632001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:44:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:44:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587429632001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":160323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:44:24] local.INFO: GPS data processed {"connection_id":160323,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:44:24] local.INFO: Acknowledgment sent {"connection_id":160323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:44:46] local.INFO: TCP Data received {"connection_id":161480,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:44:46] local.INFO: Processing buffer {"connection_id":161480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:44:46] local.INFO: IMEI packet received {"connection_id":161480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":161480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:44:52] local.INFO: TCP Data received {"connection_id":161480,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:44:52] local.INFO: Processing buffer {"connection_id":161480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:44:52] local.INFO: IMEI packet received {"connection_id":161480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":161480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:44:53] local.INFO: TCP Data received {"connection_id":161480,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:44:53] local.INFO: Processing buffer {"connection_id":161480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:44:53] local.INFO: Packet analysis {"connection_id":161480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:44:53] local.INFO: Extracted packet for processing {"connection_id":161480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:44:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:44: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-08-23 07:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587429632001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787451198000,"timestamp_ms":1787451198000,"timestamp_seconds":1787451198,"priority":1,"record_length":96,"hex_timestamp":"000001a02c64ca30"} 
[2026-08-23 07:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-23 07:44:53] 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-08-23 07:44: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-08-23 07:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:44:53] 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-08-23 07:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587429632001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587429632001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:44:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:44:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587429632001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":161480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:44:53] local.INFO: GPS data processed {"connection_id":161480,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:44:53] local.INFO: Acknowledgment sent {"connection_id":161480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:45:05] local.INFO: TCP Data received {"connection_id":162894,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c65f6f8012d7f7f0005dcc8900008013923..."} 
[2026-08-23 07:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c65f6f8012d7f7f0005dcc8900008013923..."} 
[2026-08-23 07:45:05] local.INFO: Processing buffer {"connection_id":162894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c65f6f8012d7f7f0005dcc8900008013923..."} 
[2026-08-23 07:45:05] local.INFO: Packet analysis {"connection_id":162894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c65"} 
[2026-08-23 07:45:05] local.INFO: Extracted packet for processing {"connection_id":162894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c65"} 
[2026-08-23 07:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763330304,"raw_latitude":98355344,"longitude_deg":76.3330304,"latitude_deg":9.8355344,"altitude":8,"angle":313,"satellites":35,"speed":37,"hex_longitude":"2d7f7f00","hex_latitude":"05dcc890","is_valid_coordinates":true} 
[2026-08-23 07:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587525888001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122468960925908992,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188609902409611264,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:05] 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-08-23 07:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787451275000,"timestamp_ms":1787451275000,"timestamp_seconds":1787451275,"priority":1,"record_length":96,"hex_timestamp":"000001a02c65f6f8"} 
[2026-08-23 07:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-23 07:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587525888001,"66":13319,"251":206,"85":15104,"24":37,"16":122468960925908992,"45":9188609902409611264},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-23 07:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587525888001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:45:05] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-23 07:45:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122468960925908992,"km_value":122468960925908.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188609902409611264,"description":"Unknown IO ID 45"} 
[2026-08-23 07:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587525888001,"power":13319,"unknown_251":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9188609902409611264}} 
[2026-08-23 07:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":162894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:45:05] local.INFO: GPS data processed {"connection_id":162894,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:45:05] local.INFO: Acknowledgment sent {"connection_id":162894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:45:11] local.INFO: TCP Data received {"connection_id":160527,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:45:11] local.INFO: Processing buffer {"connection_id":160527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:45:11] local.INFO: IMEI packet received {"connection_id":160527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":160527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:45:12] local.INFO: TCP Data received {"connection_id":160527,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:45:12] local.INFO: Processing buffer {"connection_id":160527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:45:12] local.INFO: IMEI packet received {"connection_id":160527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":160527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:45:17] local.INFO: TCP Data received {"connection_id":160527,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:45:17] local.INFO: Processing buffer {"connection_id":160527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:45:17] local.INFO: IMEI packet received {"connection_id":160527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":160527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:45:24] local.INFO: TCP Data received {"connection_id":161480,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:45:24] local.INFO: Processing buffer {"connection_id":161480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:45:24] local.INFO: Packet analysis {"connection_id":161480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:45:24] local.INFO: Extracted packet for processing {"connection_id":161480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:45:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587429632001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787451198000,"timestamp_ms":1787451198000,"timestamp_seconds":1787451198,"priority":1,"record_length":96,"hex_timestamp":"000001a02c64ca30"} 
[2026-08-23 07:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-23 07:45:24] 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-08-23 07:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:45:24] 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-08-23 07:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587429632001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587429632001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:45:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:45:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587429632001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":161480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:45:24] local.INFO: GPS data processed {"connection_id":161480,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:45:24] local.INFO: Acknowledgment sent {"connection_id":161480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:45:33] local.INFO: TCP Data received {"connection_id":160527,"ip":"42.109.136.8","data_length":1340,"data_hex":"000000000000030f8e0a000001a02c6602b0012d7f788005dcd0d80006014c22..."} 
[2026-08-23 07:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160527,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a02c6602b0012d7f788005dcd0d80006014c22..."} 
[2026-08-23 07:45:33] local.INFO: Processing buffer {"connection_id":160527,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a02c6602b0012d7f788005dcd0d80006014c22..."} 
[2026-08-23 07:45:33] local.INFO: Packet analysis {"connection_id":160527,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a02c66"} 
[2026-08-23 07:45:33] local.INFO: Extracted packet for processing {"connection_id":160527,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a02c66"} 
[2026-08-23 07:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763328640,"raw_latitude":98357464,"longitude_deg":76.332864,"latitude_deg":9.8357464,"altitude":6,"angle":332,"satellites":34,"speed":35,"hex_longitude":"2d7f7880","hex_latitude":"05dcd0d8","is_valid_coordinates":true} 
[2026-08-23 07:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587526400001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122469094069895168,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9187061790038069248,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:33] 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-08-23 07:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787451278000,"timestamp_ms":1787451278000,"timestamp_seconds":1787451278,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6602b0"} 
[2026-08-23 07:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 07:45:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:33] local.WARNING: Large IO value detected {"io_id":220,"raw_value":9074753279233106688,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818244814,"corrected_to":0} 
[2026-08-23 07:45:33] local.WARNING: Large IO value detected {"io_id":164,"raw_value":4026609023,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:33] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2147867775,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:33] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154087,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3699202048,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:33] local.WARNING: Large IO value detected {"io_id":182,"raw_value":57887066717836603,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:33] local.WARNING: Large IO value detected {"io_id":101,"raw_value":-7969118245704876027,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:33] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,251,85,24,241,157,16,160,239,45,128,194,8,36,10,66,211,168,33,176,1,240,166,227,44,220,4,113,205,27,164,158,34,50,2,179,5,29,182,101],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2818244814,"validated":0}]} 
[2026-08-23 07:45:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576805049769197568,"timestamp_seconds":576805049769197.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 07:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587526400001,"66":12917,"251":206,"85":15104,"24":35,"16":122469094069895168,"45":9187061790038069248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-23 07:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587526400001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:45:33] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-23 07:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122469094069895168,"km_value":122469094069895.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9187061790038069248,"description":"Unknown IO ID 45"} 
[2026-08-23 07:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587526400001,"power":12917,"unknown_251":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9187061790038069248}} 
[2026-08-23 07:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":160527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:45:33] local.INFO: GPS data processed {"connection_id":160527,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:45:33] local.INFO: Acknowledgment sent {"connection_id":160527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:45:33] local.INFO: Packet analysis {"connection_id":160527,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a02c66"} 
[2026-08-23 07:45:33] local.INFO: Incomplete packet, waiting for more data {"connection_id":160527,"needed":795,"available":545} 
[2026-08-23 07:45:37] local.INFO: TCP Data received {"connection_id":160527,"ip":"42.109.136.8","data_length":1045,"data_hex":"e3001001b3180500000000000001a02c65a4f0012d7f9e8005dc7f1800090127..."} 
[2026-08-23 07:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160527,"packet_length":1045,"packet_hex":"e3001001b3180500000000000001a02c65a4f0012d7f9e8005dc7f1800090127..."} 
[2026-08-23 07:45:37] local.INFO: Processing buffer {"connection_id":160527,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a02c660a80012d7f758005dcd7a00006015822..."} 
[2026-08-23 07:45:37] local.INFO: Packet analysis {"connection_id":160527,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02c66"} 
[2026-08-23 07:45:37] local.INFO: Extracted packet for processing {"connection_id":160527,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c66"} 
[2026-08-23 07:45:37] local.INFO: GPS Element Parsed {"raw_longitude":763327872,"raw_latitude":98359200,"longitude_deg":76.3327872,"latitude_deg":9.83592,"altitude":6,"angle":344,"satellites":34,"speed":37,"hex_longitude":"2d7f7580","hex_latitude":"05dcd7a0","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587527168001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122469184264208384,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9185232202689992704,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:37] 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-08-23 07:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787451280000,"timestamp_ms":1787451280000,"timestamp_seconds":1787451280,"priority":1,"record_length":96,"hex_timestamp":"000001a02c660a80"} 
[2026-08-23 07:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 07:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587527168001,"66":13374,"251":206,"85":15104,"24":37,"16":122469184264208384,"45":9185232202689992704},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-23 07:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587527168001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:45:37] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-23 07:45:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122469184264208384,"km_value":122469184264208.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9185232202689992704,"description":"Unknown IO ID 45"} 
[2026-08-23 07:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587527168001,"power":13374,"unknown_251":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9185232202689992704}} 
[2026-08-23 07:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":160527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:45:38] local.INFO: GPS data processed {"connection_id":160527,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:45:38] local.INFO: Acknowledgment sent {"connection_id":160527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:45:38] local.INFO: Packet analysis {"connection_id":160527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c66"} 
[2026-08-23 07:45:38] local.INFO: Extracted packet for processing {"connection_id":160527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c66"} 
[2026-08-23 07:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763325440,"raw_latitude":98367888,"longitude_deg":76.332544,"latitude_deg":9.8367888,"altitude":5,"angle":331,"satellites":35,"speed":41,"hex_longitude":"2d7f6c00","hex_latitude":"05dcf990","is_valid_coordinates":true} 
[2026-08-23 07:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587527680001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122469622350872576,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9184387777760305152,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:38] 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-08-23 07:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787451289000,"timestamp_ms":1787451289000,"timestamp_seconds":1787451289,"priority":1,"record_length":96,"hex_timestamp":"000001a02c662da8"} 
[2026-08-23 07:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:45: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-08-23 07:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-23 07:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587527680001,"66":13319,"251":206,"85":15104,"24":41,"16":122469622350872576,"45":9184387777760305152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-23 07:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587527680001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:45:38] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-23 07:45:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122469622350872576,"km_value":122469622350872.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9184387777760305152,"description":"Unknown IO ID 45"} 
[2026-08-23 07:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587527680001,"power":13319,"unknown_251":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9184387777760305152}} 
[2026-08-23 07:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":160527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:45:38] local.INFO: GPS data processed {"connection_id":160527,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:45:38] local.INFO: Acknowledgment sent {"connection_id":160527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:45:52] local.INFO: TCP Data received {"connection_id":160324,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:45:52] local.INFO: Processing buffer {"connection_id":160324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:45:52] local.INFO: IMEI packet received {"connection_id":160324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":160324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:45:57] local.INFO: TCP Data received {"connection_id":160324,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:45:57] local.INFO: Processing buffer {"connection_id":160324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:45:57] local.INFO: IMEI packet received {"connection_id":160324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":160324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:45:58] local.INFO: TCP Data received {"connection_id":160324,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:45:58] local.INFO: Processing buffer {"connection_id":160324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:45:58] local.INFO: Packet analysis {"connection_id":160324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:45:58] local.INFO: Extracted packet for processing {"connection_id":160324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:45:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587429632001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787451198000,"timestamp_ms":1787451198000,"timestamp_seconds":1787451198,"priority":1,"record_length":96,"hex_timestamp":"000001a02c64ca30"} 
[2026-08-23 07:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:45: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-08-23 07:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-23 07:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587429632001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587429632001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:45:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:45:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587429632001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":160324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:45:58] local.INFO: GPS data processed {"connection_id":160324,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:45:58] local.INFO: Acknowledgment sent {"connection_id":160324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:46:02] local.INFO: TCP Data received {"connection_id":160324,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:46:02] local.INFO: Processing buffer {"connection_id":160324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:46:02] local.INFO: Packet analysis {"connection_id":160324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:46:02] local.INFO: Extracted packet for processing {"connection_id":160324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:46:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587429632001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787451198000,"timestamp_ms":1787451198000,"timestamp_seconds":1787451198,"priority":1,"record_length":96,"hex_timestamp":"000001a02c64ca30"} 
[2026-08-23 07:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-23 07:46:02] 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-08-23 07:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587429632001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587429632001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:46:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:46:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587429632001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":160324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:46:02] local.INFO: GPS data processed {"connection_id":160324,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:46:02] local.INFO: Acknowledgment sent {"connection_id":160324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:46:08] local.INFO: TCP Data received {"connection_id":161481,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:46:08] local.INFO: Processing buffer {"connection_id":161481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:46:08] local.INFO: IMEI packet received {"connection_id":161481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":161481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:46:12] local.INFO: TCP Data received {"connection_id":161481,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:46:12] local.INFO: Processing buffer {"connection_id":161481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:46:12] local.INFO: IMEI packet received {"connection_id":161481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":161481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:46:13] local.INFO: TCP Data received {"connection_id":161481,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c662da8012d7f6c0005dcf9900005014b23..."} 
[2026-08-23 07:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c662da8012d7f6c0005dcf9900005014b23..."} 
[2026-08-23 07:46:13] local.INFO: Processing buffer {"connection_id":161481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c662da8012d7f6c0005dcf9900005014b23..."} 
[2026-08-23 07:46:13] local.INFO: Packet analysis {"connection_id":161481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c66"} 
[2026-08-23 07:46:13] local.INFO: Extracted packet for processing {"connection_id":161481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c66"} 
[2026-08-23 07:46:13] local.INFO: GPS Element Parsed {"raw_longitude":763325440,"raw_latitude":98367888,"longitude_deg":76.332544,"latitude_deg":9.8367888,"altitude":5,"angle":331,"satellites":35,"speed":41,"hex_longitude":"2d7f6c00","hex_latitude":"05dcf990","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587529984001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122469622350872576,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181713765483778048,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:13] 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-08-23 07:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787451289000,"timestamp_ms":1787451289000,"timestamp_seconds":1787451289,"priority":1,"record_length":96,"hex_timestamp":"000001a02c662da8"} 
[2026-08-23 07:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 07:46:13] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3741319168,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:13] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":63489,"corrected_to":0} 
[2026-08-23 07:46:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:13] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-9004947416251686400,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818244814,"corrected_to":0} 
[2026-08-23 07:46:13] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3489738111,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:13] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070503,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3699779584,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:13] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57887066717836603,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:13] local.WARNING: Large IO value detected {"io_id":101,"raw_value":-5998793408731496443,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:13] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,251,85,24,241,157,16,25,160,10,45,128,215,6,34,66,2,208,246,1,240,7,227,44,220,4,113,205,39,211,143,96,33,239,51,179,5,9,29,166,101],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":246,"original":63489,"validated":0},{"io_id":205,"original":2818244814,"validated":0}]} 
[2026-08-23 07:46:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360652058864975872,"timestamp_seconds":360652058864975.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 07:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587529984001,"66":13319,"251":206,"85":15104,"24":41,"16":122469622350872576,"45":9181713765483778048},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-23 07:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587529984001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:46:13] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-23 07:46:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122469622350872576,"km_value":122469622350872.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181713765483778048,"description":"Unknown IO ID 45"} 
[2026-08-23 07:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587529984001,"power":13319,"unknown_251":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9181713765483778048}} 
[2026-08-23 07:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":161481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:46:13] local.INFO: GPS data processed {"connection_id":161481,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:46:13] local.INFO: Acknowledgment sent {"connection_id":161481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:46:15] local.INFO: TCP Data received {"connection_id":161481,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6650d0012d7f564005dd16980005014623..."} 
[2026-08-23 07:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6650d0012d7f564005dd16980005014623..."} 
[2026-08-23 07:46:15] local.INFO: Processing buffer {"connection_id":161481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6650d0012d7f564005dd16980005014623..."} 
[2026-08-23 07:46:15] local.INFO: Packet analysis {"connection_id":161481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c66"} 
[2026-08-23 07:46:15] local.INFO: Extracted packet for processing {"connection_id":161481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c66"} 
[2026-08-23 07:46:15] local.INFO: GPS Element Parsed {"raw_longitude":763319872,"raw_latitude":98375320,"longitude_deg":76.3319872,"latitude_deg":9.837532,"altitude":5,"angle":326,"satellites":35,"speed":40,"hex_longitude":"2d7f5640","hex_latitude":"05dd1698","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587529984001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122470073322438656,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181713765483778048,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:15] 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-08-23 07:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787451298000,"timestamp_ms":1787451298000,"timestamp_seconds":1787451298,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6650d0"} 
[2026-08-23 07:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 07:46:15] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4261412864,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3702022144,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:15] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-8779767434882113024,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818244814,"corrected_to":0} 
[2026-08-23 07:46:15] local.WARNING: Large IO value detected {"io_id":132,"raw_value":2147867842,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:15] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728743,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:15] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57887066717836603,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:15] local.WARNING: Large IO value detected {"io_id":101,"raw_value":-5717318432020922363,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:15] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,251,85,24,241,157,16,25,160,45,249,5,35,10,66,128,215,6,34,2,1,240,117,227,44,220,4,113,205,37,239,132,248,36,52,179,42,166,101],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2818244814,"validated":0}]} 
[2026-08-23 07:46:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360652058864975872,"timestamp_seconds":360652058864975.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 07:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":161481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":161481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":161481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587529984001,"66":13222,"251":206,"85":15104,"24":40,"16":122470073322438656,"45":9181713765483778048},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-23 07:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587529984001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:46:15] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-23 07:46:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122470073322438656,"km_value":122470073322438.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181713765483778048,"description":"Unknown IO ID 45"} 
[2026-08-23 07:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587529984001,"power":13222,"unknown_251":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9181713765483778048}} 
[2026-08-23 07:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":161481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:46:15] local.INFO: GPS data processed {"connection_id":161481,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:46:15] local.INFO: Acknowledgment sent {"connection_id":161481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:46:46] local.INFO: TCP Data received {"connection_id":161481,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c665c88012d7f50c005dd21380005015621..."} 
[2026-08-23 07:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c665c88012d7f50c005dd21380005015621..."} 
[2026-08-23 07:46:46] local.INFO: Processing buffer {"connection_id":161481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c665c88012d7f50c005dd21380005015621..."} 
[2026-08-23 07:46:46] local.INFO: Packet analysis {"connection_id":161481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c66"} 
[2026-08-23 07:46:46] local.INFO: Extracted packet for processing {"connection_id":161481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c66"} 
[2026-08-23 07:46:46] local.INFO: GPS Element Parsed {"raw_longitude":763318464,"raw_latitude":98378040,"longitude_deg":76.3318464,"latitude_deg":9.837804,"altitude":5,"angle":342,"satellites":33,"speed":40,"hex_longitude":"2d7f50c0","hex_latitude":"05dd2138","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587532288001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122470219351326720,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9175591684742223872,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:46] 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-08-23 07:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787451301000,"timestamp_ms":1787451301000,"timestamp_seconds":1787451301,"priority":1,"record_length":96,"hex_timestamp":"000001a02c665c88"} 
[2026-08-23 07:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:46:46] 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-08-23 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 07:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587532288001,"66":13374,"251":206,"85":15104,"24":40,"16":122470219351326720,"45":9175591684742223872},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-23 07:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587532288001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:46:46] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-23 07:46:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122470219351326720,"km_value":122470219351326.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9175591684742223872,"description":"Unknown IO ID 45"} 
[2026-08-23 07:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587532288001,"power":13374,"unknown_251":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9175591684742223872}} 
[2026-08-23 07:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":161481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:46:46] local.INFO: GPS data processed {"connection_id":161481,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:46:46] local.INFO: Acknowledgment sent {"connection_id":161481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:46:47] local.INFO: TCP Data received {"connection_id":160325,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:46:47] local.INFO: Processing buffer {"connection_id":160325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:46:47] local.INFO: IMEI packet received {"connection_id":160325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":160325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:46:52] local.INFO: TCP Data received {"connection_id":160325,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:46:52] local.INFO: Processing buffer {"connection_id":160325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:46:52] local.INFO: IMEI packet received {"connection_id":160325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":160325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:46:54] local.INFO: TCP Data received {"connection_id":160325,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:46:54] local.INFO: Processing buffer {"connection_id":160325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:46:54] local.INFO: Packet analysis {"connection_id":160325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:46:54] local.INFO: Extracted packet for processing {"connection_id":160325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:46:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587429632001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787451198000,"timestamp_ms":1787451198000,"timestamp_seconds":1787451198,"priority":1,"record_length":96,"hex_timestamp":"000001a02c64ca30"} 
[2026-08-23 07:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-23 07:46:54] 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-08-23 07: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-08-23 07:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:46:54] 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-08-23 07:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587429632001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587429632001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:46:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:46:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587429632001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":160325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:46:54] local.INFO: GPS data processed {"connection_id":160325,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:46:54] local.INFO: Acknowledgment sent {"connection_id":160325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:47:04] local.INFO: TCP Data received {"connection_id":160528,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160528,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:47:04] local.INFO: Processing buffer {"connection_id":160528,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:47:04] local.INFO: IMEI packet received {"connection_id":160528,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":160528,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:47:07] local.INFO: TCP Data received {"connection_id":160528,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160528,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:47:07] local.INFO: Processing buffer {"connection_id":160528,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:47:07] local.INFO: IMEI packet received {"connection_id":160528,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":160528,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:47:12] local.INFO: TCP Data received {"connection_id":160528,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160528,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:47:12] local.INFO: Processing buffer {"connection_id":160528,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:47:12] local.INFO: IMEI packet received {"connection_id":160528,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":160528,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:47:13] local.INFO: TCP Data received {"connection_id":160528,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c667fb0012d7f488005dd45880004015a21..."} 
[2026-08-23 07:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c667fb0012d7f488005dd45880004015a21..."} 
[2026-08-23 07:47:13] local.INFO: Processing buffer {"connection_id":160528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c667fb0012d7f488005dd45880004015a21..."} 
[2026-08-23 07:47:13] local.INFO: Packet analysis {"connection_id":160528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c66"} 
[2026-08-23 07:47:13] local.INFO: Extracted packet for processing {"connection_id":160528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c66"} 
[2026-08-23 07:47:13] local.INFO: GPS Element Parsed {"raw_longitude":763316352,"raw_latitude":98387336,"longitude_deg":76.3316352,"latitude_deg":9.8387336,"altitude":4,"angle":346,"satellites":33,"speed":42,"hex_longitude":"2d7f4880","hex_latitude":"05dd4588","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587533056001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122470683207794688,"note":"Value kept but may cause issues"} 
[2026-08-23 07:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9174043572371011584,"note":"Value kept but may cause issues"} 
[2026-08-23 07:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787451310000,"timestamp_ms":1787451310000,"timestamp_seconds":1787451310,"priority":1,"record_length":96,"hex_timestamp":"000001a02c667fb0"} 
[2026-08-23 07:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-23 07:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587533056001,"66":13319,"155":206,"85":15104,"24":42,"16":122470683207794688,"45":9174043572371011584},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-23 07:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587533056001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:47:13] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-23 07:47:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122470683207794688,"km_value":122470683207794.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9174043572371011584,"description":"Unknown IO ID 45"} 
[2026-08-23 07:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587533056001,"power":13319,"unknown_155":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9174043572371011584}} 
[2026-08-23 07:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":160528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:47:13] local.INFO: GPS data processed {"connection_id":160528,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:47:13] local.INFO: Acknowledgment sent {"connection_id":160528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:47:26] local.INFO: TCP Data received {"connection_id":160325,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:47:26] local.INFO: Processing buffer {"connection_id":160325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:47:26] local.INFO: Packet analysis {"connection_id":160325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:47:26] local.INFO: Extracted packet for processing {"connection_id":160325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:47:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587429632001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787451198000,"timestamp_ms":1787451198000,"timestamp_seconds":1787451198,"priority":1,"record_length":96,"hex_timestamp":"000001a02c64ca30"} 
[2026-08-23 07:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-23 07:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587429632001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587429632001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:47:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:47:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587429632001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":160325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:47:26] local.INFO: GPS data processed {"connection_id":160325,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:47:26] local.INFO: Acknowledgment sent {"connection_id":160325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:47:44] local.INFO: TCP Data received {"connection_id":160528,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c689ea8012d7eccc005dee1980009015f22..."} 
[2026-08-23 07:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c689ea8012d7eccc005dee1980009015f22..."} 
[2026-08-23 07:47:44] local.INFO: Processing buffer {"connection_id":160528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c689ea8012d7eccc005dee1980009015f22..."} 
[2026-08-23 07:47:44] local.INFO: Packet analysis {"connection_id":160528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c68"} 
[2026-08-23 07:47:44] local.INFO: Extracted packet for processing {"connection_id":160528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c68"} 
[2026-08-23 07:47:44] local.INFO: GPS Element Parsed {"raw_longitude":763284672,"raw_latitude":98492824,"longitude_deg":76.3284672,"latitude_deg":9.8492824,"altitude":9,"angle":351,"satellites":34,"speed":40,"hex_longitude":"2d7eccc0","hex_latitude":"05dee198","is_valid_coordinates":true} 
[2026-08-23 07:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587568384001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122476077686718464,"note":"Value kept but may cause issues"} 
[2026-08-23 07:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137733300402245632,"note":"Value kept but may cause issues"} 
[2026-08-23 07:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787451449000,"timestamp_ms":1787451449000,"timestamp_seconds":1787451449,"priority":1,"record_length":96,"hex_timestamp":"000001a02c689ea8"} 
[2026-08-23 07:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 07:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160528,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587568384001,"66":13222,"205":206,"85":15104,"24":40,"16":122476077686718464,"45":9137733300402245632},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-23 07:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587568384001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:47:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122476077686718464,"km_value":122476077686718.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137733300402245632,"description":"Unknown IO ID 45"} 
[2026-08-23 07:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587568384001,"power":13222,"cell_id":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9137733300402245632}} 
[2026-08-23 07:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":160528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:47:44] local.INFO: GPS data processed {"connection_id":160528,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:47:44] local.INFO: Acknowledgment sent {"connection_id":160528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:47:47] local.INFO: TCP Data received {"connection_id":160326,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:47:47] local.INFO: Processing buffer {"connection_id":160326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:47:47] local.INFO: IMEI packet received {"connection_id":160326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":160326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:47:52] local.INFO: TCP Data received {"connection_id":160326,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:47:52] local.INFO: Processing buffer {"connection_id":160326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:47:52] local.INFO: IMEI packet received {"connection_id":160326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":160326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:47:55] local.INFO: TCP Data received {"connection_id":160326,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:47:55] local.INFO: Processing buffer {"connection_id":160326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:47:55] local.INFO: Packet analysis {"connection_id":160326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:47:55] local.INFO: Extracted packet for processing {"connection_id":160326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:47:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587429632001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787451198000,"timestamp_ms":1787451198000,"timestamp_seconds":1787451198,"priority":1,"record_length":96,"hex_timestamp":"000001a02c64ca30"} 
[2026-08-23 07:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-23 07:47:55] 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-08-23 07:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:47:55] 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-08-23 07:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587429632001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587429632001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:47:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:47:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587429632001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":160326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:47:55] local.INFO: GPS data processed {"connection_id":160326,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:47:55] local.INFO: Acknowledgment sent {"connection_id":160326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:48:07] local.INFO: TCP Data received {"connection_id":160529,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160529,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:48:07] local.INFO: Processing buffer {"connection_id":160529,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:48:07] local.INFO: IMEI packet received {"connection_id":160529,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":160529,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:48:08] local.INFO: TCP Data received {"connection_id":160529,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160529,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:48:08] local.INFO: Processing buffer {"connection_id":160529,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:48:08] local.INFO: IMEI packet received {"connection_id":160529,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":160529,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:48:12] local.INFO: TCP Data received {"connection_id":160529,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160529,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:48:12] local.INFO: Processing buffer {"connection_id":160529,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:48:12] local.INFO: IMEI packet received {"connection_id":160529,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":160529,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:48:12] local.INFO: TCP Data received {"connection_id":160529,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c68ae48012d7ec90005def0e00008015021..."} 
[2026-08-23 07:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c68ae48012d7ec90005def0e00008015021..."} 
[2026-08-23 07:48:12] local.INFO: Processing buffer {"connection_id":160529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c68ae48012d7ec90005def0e00008015021..."} 
[2026-08-23 07:48:12] local.INFO: Packet analysis {"connection_id":160529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c68"} 
[2026-08-23 07:48:12] local.INFO: Extracted packet for processing {"connection_id":160529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c68"} 
[2026-08-23 07:48:12] local.INFO: GPS Element Parsed {"raw_longitude":763283712,"raw_latitude":98496736,"longitude_deg":76.3283712,"latitude_deg":9.8496736,"altitude":8,"angle":336,"satellites":33,"speed":38,"hex_longitude":"2d7ec900","hex_latitude":"05def0e0","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587570944001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122476270960246784,"note":"Value kept but may cause issues"} 
[2026-08-23 07:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136888875474589696,"note":"Value kept but may cause issues"} 
[2026-08-23 07:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787451453000,"timestamp_ms":1787451453000,"timestamp_seconds":1787451453,"priority":1,"record_length":96,"hex_timestamp":"000001a02c68ae48"} 
[2026-08-23 07:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 07:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587570944001,"66":13374,"205":206,"85":15104,"24":38,"16":122476270960246784,"45":9136888875474589696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-23 07:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587570944001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122476270960246784,"km_value":122476270960246.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136888875474589696,"description":"Unknown IO ID 45"} 
[2026-08-23 07:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587570944001,"power":13374,"cell_id":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9136888875474589696}} 
[2026-08-23 07:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":160529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:48:13] local.INFO: GPS data processed {"connection_id":160529,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:48:13] local.INFO: Acknowledgment sent {"connection_id":160529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:48:26] local.INFO: TCP Data received {"connection_id":160326,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:48:26] local.INFO: Processing buffer {"connection_id":160326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:48:26] local.INFO: Packet analysis {"connection_id":160326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:48:26] local.INFO: Extracted packet for processing {"connection_id":160326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:48:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587429632001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787451198000,"timestamp_ms":1787451198000,"timestamp_seconds":1787451198,"priority":1,"record_length":96,"hex_timestamp":"000001a02c64ca30"} 
[2026-08-23 07:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-23 07:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587429632001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587429632001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:48:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:48:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587429632001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":160326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:48:26] local.INFO: GPS data processed {"connection_id":160326,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:48:26] local.INFO: Acknowledgment sent {"connection_id":160326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:48:43] local.INFO: TCP Data received {"connection_id":160529,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c68b618012d7ec4c005def7280008014121..."} 
[2026-08-23 07:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c68b618012d7ec4c005def7280008014121..."} 
[2026-08-23 07:48:43] local.INFO: Processing buffer {"connection_id":160529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c68b618012d7ec4c005def7280008014121..."} 
[2026-08-23 07:48:43] local.INFO: Packet analysis {"connection_id":160529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c68"} 
[2026-08-23 07:48:43] local.INFO: Extracted packet for processing {"connection_id":160529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c68"} 
[2026-08-23 07:48:43] local.INFO: GPS Element Parsed {"raw_longitude":763282624,"raw_latitude":98498344,"longitude_deg":76.3282624,"latitude_deg":9.8498344,"altitude":8,"angle":321,"satellites":33,"speed":38,"hex_longitude":"2d7ec4c0","hex_latitude":"05def728","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587571968001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122476365449527296,"note":"Value kept but may cause issues"} 
[2026-08-23 07:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9135833344312926208,"note":"Value kept but may cause issues"} 
[2026-08-23 07:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787451455000,"timestamp_ms":1787451455000,"timestamp_seconds":1787451455,"priority":1,"record_length":96,"hex_timestamp":"000001a02c68b618"} 
[2026-08-23 07:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-23 07:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587571968001,"66":13461,"205":206,"85":15104,"24":38,"16":122476365449527296,"45":9135833344312926208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-23 07:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587571968001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:48:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122476365449527296,"km_value":122476365449527.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9135833344312926208,"description":"Unknown IO ID 45"} 
[2026-08-23 07:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587571968001,"power":13461,"cell_id":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9135833344312926208}} 
[2026-08-23 07:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":160529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:48:43] local.INFO: GPS data processed {"connection_id":160529,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:48:43] local.INFO: Acknowledgment sent {"connection_id":160529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:48:47] local.INFO: TCP Data received {"connection_id":162895,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:48:47] local.INFO: Processing buffer {"connection_id":162895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:48:47] local.INFO: IMEI packet received {"connection_id":162895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":162895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:48:52] local.INFO: TCP Data received {"connection_id":162895,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:48:52] local.INFO: Processing buffer {"connection_id":162895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:48:52] local.INFO: IMEI packet received {"connection_id":162895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":162895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:48:53] local.INFO: TCP Data received {"connection_id":162895,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:48:53] local.INFO: Processing buffer {"connection_id":162895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c64ca30012d34c50006aa40980009008524..."} 
[2026-08-23 07:48:53] local.INFO: Packet analysis {"connection_id":162895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:48:53] local.INFO: Extracted packet for processing {"connection_id":162895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c64"} 
[2026-08-23 07:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587429632001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787451198000,"timestamp_ms":1787451198000,"timestamp_seconds":1787451198,"priority":1,"record_length":96,"hex_timestamp":"000001a02c64ca30"} 
[2026-08-23 07:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-23 07:48:53] 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-08-23 07:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:48:53] 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-08-23 07:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587429632001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587429632001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:48:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587429632001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":162895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:48:53] local.INFO: GPS data processed {"connection_id":162895,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:48:53] local.INFO: Acknowledgment sent {"connection_id":162895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:49:06] local.INFO: TCP Data received {"connection_id":161482,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:49:06] local.INFO: Processing buffer {"connection_id":161482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:49:06] local.INFO: IMEI packet received {"connection_id":161482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":161482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:49:07] local.INFO: TCP Data received {"connection_id":161482,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:49:07] local.INFO: Processing buffer {"connection_id":161482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:49:07] local.INFO: IMEI packet received {"connection_id":161482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":161482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:49:12] local.INFO: TCP Data received {"connection_id":161482,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:49:12] local.INFO: Processing buffer {"connection_id":161482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:49:12] local.INFO: IMEI packet received {"connection_id":161482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":161482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:49:13] local.INFO: TCP Data received {"connection_id":161482,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c68d940012d7ead8005df11680008013e21..."} 
[2026-08-23 07:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c68d940012d7ead8005df11680008013e21..."} 
[2026-08-23 07:49:13] local.INFO: Processing buffer {"connection_id":161482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c68d940012d7ead8005df11680008013e21..."} 
[2026-08-23 07:49:13] local.INFO: Packet analysis {"connection_id":161482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c68"} 
[2026-08-23 07:49:13] local.INFO: Extracted packet for processing {"connection_id":161482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c68"} 
[2026-08-23 07:49:13] local.INFO: GPS Element Parsed {"raw_longitude":763276672,"raw_latitude":98505064,"longitude_deg":76.3276672,"latitude_deg":9.8505064,"altitude":8,"angle":318,"satellites":33,"speed":36,"hex_longitude":"2d7ead80","hex_latitude":"05df1168","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587572480001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122476799241224192,"note":"Value kept but may cause issues"} 
[2026-08-23 07:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9134637075662317568,"note":"Value kept but may cause issues"} 
[2026-08-23 07:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787451464000,"timestamp_ms":1787451464000,"timestamp_seconds":1787451464,"priority":1,"record_length":96,"hex_timestamp":"000001a02c68d940"} 
[2026-08-23 07:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-23 07:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587572480001,"66":13450,"205":206,"85":15104,"24":36,"16":122476799241224192,"45":9134637075662317568},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-23 07:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587572480001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:49:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122476799241224192,"km_value":122476799241224.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9134637075662317568,"description":"Unknown IO ID 45"} 
[2026-08-23 07:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587572480001,"power":13450,"cell_id":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9134637075662317568}} 
[2026-08-23 07:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":161482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:49:13] local.INFO: GPS data processed {"connection_id":161482,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:49:13] local.INFO: Acknowledgment sent {"connection_id":161482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:49:24] local.INFO: TCP Data received {"connection_id":162895,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:49:24] local.INFO: Processing buffer {"connection_id":162895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:49:24] local.INFO: Packet analysis {"connection_id":162895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c69"} 
[2026-08-23 07:49:24] local.INFO: Extracted packet for processing {"connection_id":162895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c69"} 
[2026-08-23 07:49:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:49: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-08-23 07:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587506688001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787451499000,"timestamp_ms":1787451499000,"timestamp_seconds":1787451499,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6961f8"} 
[2026-08-23 07:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:49: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-08-23 07:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 07:49:24] 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-08-23 07:49: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-08-23 07:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:49:24] 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-08-23 07:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587506688001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587506688001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:49:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:49:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587506688001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":162895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:49:24] local.INFO: GPS data processed {"connection_id":162895,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:49:24] local.INFO: Acknowledgment sent {"connection_id":162895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:49:44] local.INFO: TCP Data received {"connection_id":161482,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6a4c58012d7e3e4005e05aa00008000123..."} 
[2026-08-23 07:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6a4c58012d7e3e4005e05aa00008000123..."} 
[2026-08-23 07:49:44] local.INFO: Processing buffer {"connection_id":161482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6a4c58012d7e3e4005e05aa00008000123..."} 
[2026-08-23 07:49:44] local.INFO: Packet analysis {"connection_id":161482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6a"} 
[2026-08-23 07:49:44] local.INFO: Extracted packet for processing {"connection_id":161482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6a"} 
[2026-08-23 07:49:44] local.INFO: GPS Element Parsed {"raw_longitude":763248192,"raw_latitude":98589344,"longitude_deg":76.3248192,"latitude_deg":9.8589344,"altitude":8,"angle":1,"satellites":35,"speed":24,"hex_longitude":"2d7e3e40","hex_latitude":"05e05aa0","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587597568001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122481137158193152,"note":"Value kept but may cause issues"} 
[2026-08-23 07:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097200903781863424,"note":"Value kept but may cause issues"} 
[2026-08-23 07:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787451559000,"timestamp_ms":1787451559000,"timestamp_seconds":1787451559,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6a4c58"} 
[2026-08-23 07:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-23 07:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587597568001,"66":13428,"104":206,"85":15104,"24":24,"16":122481137158193152,"45":9097200903781863424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-23 07:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587597568001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:49:44] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-23 07:49:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122481137158193152,"km_value":122481137158193.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097200903781863424,"description":"Unknown IO ID 45"} 
[2026-08-23 07:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587597568001,"power":13428,"unknown_104":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9097200903781863424}} 
[2026-08-23 07:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":161482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:49:44] local.INFO: GPS data processed {"connection_id":161482,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:49:44] local.INFO: Acknowledgment sent {"connection_id":161482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:49:47] local.INFO: TCP Data received {"connection_id":160530,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:49:47] local.INFO: Processing buffer {"connection_id":160530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:49:47] local.INFO: IMEI packet received {"connection_id":160530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":160530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:49:50] local.INFO: TCP Data received {"connection_id":162896,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:49:50] local.INFO: Processing buffer {"connection_id":162896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:49:50] local.INFO: IMEI packet received {"connection_id":162896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 07:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":162896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:49:51] local.INFO: TCP Data received {"connection_id":162896,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:49:51] local.INFO: Processing buffer {"connection_id":162896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:49:51] local.INFO: IMEI packet received {"connection_id":162896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 07:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":162896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:49:53] local.INFO: TCP Data received {"connection_id":160530,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:49:53] local.INFO: Processing buffer {"connection_id":160530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:49:53] local.INFO: IMEI packet received {"connection_id":160530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":160530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:49:55] local.INFO: TCP Data received {"connection_id":162896,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:49:55] local.INFO: Processing buffer {"connection_id":162896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:49:55] local.INFO: IMEI packet received {"connection_id":162896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 07:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":162896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:49:56] local.INFO: TCP Data received {"connection_id":160530,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:49:56] local.INFO: Processing buffer {"connection_id":160530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:49:56] local.INFO: Packet analysis {"connection_id":160530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c69"} 
[2026-08-23 07:49:56] local.INFO: Extracted packet for processing {"connection_id":160530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c69"} 
[2026-08-23 07:49:56] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587506688001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787451499000,"timestamp_ms":1787451499000,"timestamp_seconds":1787451499,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6961f8"} 
[2026-08-23 07:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 07:49:56] 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-08-23 07:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587506688001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587506688001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:49:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:49:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587506688001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":160530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:49:56] local.INFO: GPS data processed {"connection_id":160530,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:49:56] local.INFO: Acknowledgment sent {"connection_id":160530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:49:56] local.INFO: TCP Data received {"connection_id":162896,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-23 07:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162896,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-23 07:49:56] local.INFO: Processing buffer {"connection_id":162896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-23 07:49:56] local.INFO: Packet analysis {"connection_id":162896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-23 07:49:56] local.INFO: Extracted packet for processing {"connection_id":162896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-23 07:49: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-08-23 07:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 07:49:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 07:49:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 07:49:56] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-23 07:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162896,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-23 07:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-23 07:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-23 07:49:56] local.WARNING: DEBUG: No valid data to process  
[2026-08-23 07:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":162896,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-23 07:49:56] local.ERROR: GPS data processing failed {"connection_id":162896,"error":"No valid data to process"} 
[2026-08-23 07:49:56] local.INFO: Acknowledgment sent {"connection_id":162896,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-23 07:50:10] local.INFO: TCP Data received {"connection_id":162897,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:50:10] local.INFO: Processing buffer {"connection_id":162897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:50:10] local.INFO: IMEI packet received {"connection_id":162897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":162897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:50:11] local.INFO: TCP Data received {"connection_id":162897,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:50:11] local.INFO: Processing buffer {"connection_id":162897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:50:11] local.INFO: IMEI packet received {"connection_id":162897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":162897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:50:17] local.INFO: TCP Data received {"connection_id":162897,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:50:17] local.INFO: Processing buffer {"connection_id":162897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:50:17] local.INFO: IMEI packet received {"connection_id":162897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":162897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:50:17] local.INFO: TCP Data received {"connection_id":162897,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6a6b98012d7e3cc005e072d8000a015f23..."} 
[2026-08-23 07:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6a6b98012d7e3cc005e072d8000a015f23..."} 
[2026-08-23 07:50:17] local.INFO: Processing buffer {"connection_id":162897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6a6b98012d7e3cc005e072d8000a015f23..."} 
[2026-08-23 07:50:17] local.INFO: Packet analysis {"connection_id":162897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6a"} 
[2026-08-23 07:50:17] local.INFO: Extracted packet for processing {"connection_id":162897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6a"} 
[2026-08-23 07:50:17] local.INFO: GPS Element Parsed {"raw_longitude":763247808,"raw_latitude":98595544,"longitude_deg":76.3247808,"latitude_deg":9.8595544,"altitude":10,"angle":351,"satellites":35,"speed":36,"hex_longitude":"2d7e3cc0","hex_latitude":"05e072d8","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587599104001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122481437805903872,"note":"Value kept but may cause issues"} 
[2026-08-23 07:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096778691318030336,"note":"Value kept but may cause issues"} 
[2026-08-23 07:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787451567000,"timestamp_ms":1787451567000,"timestamp_seconds":1787451567,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6a6b98"} 
[2026-08-23 07:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-23 07:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587599104001,"66":13537,"104":206,"85":15104,"24":36,"16":122481437805903872,"45":9096778691318030336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-23 07:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587599104001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:50:17] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-23 07:50:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122481437805903872,"km_value":122481437805903.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096778691318030336,"description":"Unknown IO ID 45"} 
[2026-08-23 07:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587599104001,"power":13537,"unknown_104":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9096778691318030336}} 
[2026-08-23 07:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":162897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:50:18] local.INFO: GPS data processed {"connection_id":162897,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:50:18] local.INFO: Acknowledgment sent {"connection_id":162897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:50:27] local.INFO: TCP Data received {"connection_id":160530,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:50:27] local.INFO: Processing buffer {"connection_id":160530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:50:27] local.INFO: Packet analysis {"connection_id":160530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c69"} 
[2026-08-23 07:50:27] local.INFO: Extracted packet for processing {"connection_id":160530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c69"} 
[2026-08-23 07:50:27] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587506688001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787451499000,"timestamp_ms":1787451499000,"timestamp_seconds":1787451499,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6961f8"} 
[2026-08-23 07:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:50: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-08-23 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 07:50:27] 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-08-23 07: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-08-23 07:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587506688001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587506688001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:50:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:50:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587506688001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":160530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:50:27] local.INFO: GPS data processed {"connection_id":160530,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:50:27] local.INFO: Acknowledgment sent {"connection_id":160530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:50:27] local.INFO: TCP Data received {"connection_id":162896,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-23 07:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-23 07:50:27] local.INFO: Processing buffer {"connection_id":162896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-23 07:50:27] local.INFO: Packet analysis {"connection_id":162896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-23 07:50:27] local.INFO: Extracted packet for processing {"connection_id":162896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-23 07:50: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-08-23 07: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-08-23 07:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 07:50:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 07:50:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 07:50:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-23 07:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162896,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-23 07:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-23 07:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-23 07:50:27] local.WARNING: DEBUG: No valid data to process  
[2026-08-23 07:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":162896,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-23 07:50:27] local.ERROR: GPS data processing failed {"connection_id":162896,"error":"No valid data to process"} 
[2026-08-23 07:50:27] local.INFO: Acknowledgment sent {"connection_id":162896,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-23 07:50:47] local.INFO: TCP Data received {"connection_id":161483,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:50:47] local.INFO: Processing buffer {"connection_id":161483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:50:47] local.INFO: IMEI packet received {"connection_id":161483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":161483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:50:48] local.INFO: TCP Data received {"connection_id":162897,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6b7d08012d7e1ac005e155c80006015f20..."} 
[2026-08-23 07:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6b7d08012d7e1ac005e155c80006015f20..."} 
[2026-08-23 07:50:48] local.INFO: Processing buffer {"connection_id":162897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6b7d08012d7e1ac005e155c80006015f20..."} 
[2026-08-23 07:50:48] local.INFO: Packet analysis {"connection_id":162897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6b"} 
[2026-08-23 07:50:48] local.INFO: Extracted packet for processing {"connection_id":162897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6b"} 
[2026-08-23 07:50:48] local.INFO: GPS Element Parsed {"raw_longitude":763239104,"raw_latitude":98653640,"longitude_deg":76.3239104,"latitude_deg":9.865364,"altitude":6,"angle":351,"satellites":32,"speed":43,"hex_longitude":"2d7e1ac0","hex_latitude":"05e155c8","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587616768001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122484508707520512,"note":"Value kept but may cause issues"} 
[2026-08-23 07:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087982598309861376,"note":"Value kept but may cause issues"} 
[2026-08-23 07:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787451637000,"timestamp_ms":1787451637000,"timestamp_seconds":1787451637,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6b7d08"} 
[2026-08-23 07:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 07:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587616768001,"66":13319,"105":206,"85":15104,"24":43,"16":122484508707520512,"45":9087982598309861376},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-23 07:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587616768001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:50:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 07:50:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122484508707520512,"km_value":122484508707520.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087982598309861376,"description":"Unknown IO ID 45"} 
[2026-08-23 07:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587616768001,"power":13319,"unknown_105":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9087982598309861376}} 
[2026-08-23 07:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":162897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:50:48] local.INFO: GPS data processed {"connection_id":162897,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:50:48] local.INFO: Acknowledgment sent {"connection_id":162897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:50:52] local.INFO: TCP Data received {"connection_id":161483,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:50:52] local.INFO: Processing buffer {"connection_id":161483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:50:52] local.INFO: IMEI packet received {"connection_id":161483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":161483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:50:53] local.INFO: TCP Data received {"connection_id":161483,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:50:53] local.INFO: Processing buffer {"connection_id":161483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:50:53] local.INFO: Packet analysis {"connection_id":161483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c69"} 
[2026-08-23 07:50:53] local.INFO: Extracted packet for processing {"connection_id":161483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c69"} 
[2026-08-23 07:50:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587506688001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787451499000,"timestamp_ms":1787451499000,"timestamp_seconds":1787451499,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6961f8"} 
[2026-08-23 07:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 07:50:53] 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-08-23 07:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:50:53] 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-08-23 07:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587506688001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587506688001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:50:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:50:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587506688001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":161483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:50:53] local.INFO: GPS data processed {"connection_id":161483,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:50:53] local.INFO: Acknowledgment sent {"connection_id":161483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:50:59] local.INFO: TCP Data received {"connection_id":162896,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6b6d680100000000000000000000000000..."} 
[2026-08-23 07:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6b6d680100000000000000000000000000..."} 
[2026-08-23 07:50:59] local.INFO: Processing buffer {"connection_id":162896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6b6d680100000000000000000000000000..."} 
[2026-08-23 07:50:59] local.INFO: Packet analysis {"connection_id":162896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6b"} 
[2026-08-23 07:50:59] local.INFO: Extracted packet for processing {"connection_id":162896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6b"} 
[2026-08-23 07:50:59] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 07:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 07:50:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 07:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787451633000,"timestamp_ms":1787451633000,"timestamp_seconds":1787451633,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6b6d68"} 
[2026-08-23 07:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-23 07:50:59] 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-08-23 07:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 07:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 07:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":162896,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-23 07:50:59] local.INFO: GPS data processed {"connection_id":162896,"processed":0,"errors":0,"total":1} 
[2026-08-23 07:50:59] local.INFO: Acknowledgment sent {"connection_id":162896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:51:12] local.INFO: TCP Data received {"connection_id":161484,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:51:12] local.INFO: Processing buffer {"connection_id":161484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:51:12] local.INFO: IMEI packet received {"connection_id":161484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":161484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:51:17] local.INFO: TCP Data received {"connection_id":161484,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:51:17] local.INFO: Processing buffer {"connection_id":161484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:51:17] local.INFO: IMEI packet received {"connection_id":161484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":161484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:51:17] local.INFO: TCP Data received {"connection_id":161484,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6ba030012d7e170005e17c180007000221..."} 
[2026-08-23 07:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6ba030012d7e170005e17c180007000221..."} 
[2026-08-23 07:51:17] local.INFO: Processing buffer {"connection_id":161484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6ba030012d7e170005e17c180007000221..."} 
[2026-08-23 07:51:17] local.INFO: Packet analysis {"connection_id":161484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6b"} 
[2026-08-23 07:51:17] local.INFO: Extracted packet for processing {"connection_id":161484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6b"} 
[2026-08-23 07:51:17] local.INFO: GPS Element Parsed {"raw_longitude":763238144,"raw_latitude":98663448,"longitude_deg":76.3238144,"latitude_deg":9.8663448,"altitude":7,"angle":2,"satellites":33,"speed":44,"hex_longitude":"2d7e1700","hex_latitude":"05e17c18","is_valid_coordinates":true} 
[2026-08-23 07:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587619072001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122484989743857664,"note":"Value kept but may cause issues"} 
[2026-08-23 07:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086786329661261824,"note":"Value kept but may cause issues"} 
[2026-08-23 07:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787451646000,"timestamp_ms":1787451646000,"timestamp_seconds":1787451646,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6ba030"} 
[2026-08-23 07:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 07:51:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 07:51:17] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57799578234017083,"note":"Value kept but may cause issues"} 
[2026-08-23 07:51:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 07:51:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1483276494,"corrected_to":0} 
[2026-08-23 07:51:17] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3087084926,"note":"Value kept but may cause issues"} 
[2026-08-23 07:51:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":589845,"corrected_to":0} 
[2026-08-23 07:51:17] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391960,"note":"Value kept but may cause issues"} 
[2026-08-23 07:51:17] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3775221760,"note":"Value kept but may cause issues"} 
[2026-08-23 07:51:17] local.WARNING: Large IO value detected {"io_id":107,"raw_value":846678024845901829,"note":"Value kept but may cause issues"} 
[2026-08-23 07:51:17] local.WARNING: Large IO value detected {"io_id":224,"raw_value":-1817202406671048192,"note":"Value kept but may cause issues"} 
[2026-08-23 07:51:17] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,105,85,24,241,157,16,39,160,89,45,48,6,34,10,66,38,82,41,7,74,64,1,240,133,227,44,225,4,113,205,40,54,20,200,35,239,51,2,179,5,9,107,224],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1483276494,"validated":0},{"io_id":200,"original":589845,"validated":0}]} 
[2026-08-23 07:51:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432731630250688512,"timestamp_seconds":432731630250688.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 07:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587619072001,"66":13135,"105":206,"85":15104,"24":44,"16":122484989743857664,"45":9086786329661261824},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-23 07:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587619072001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:51:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 07:51:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122484989743857664,"km_value":122484989743857.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086786329661261824,"description":"Unknown IO ID 45"} 
[2026-08-23 07:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587619072001,"power":13135,"unknown_105":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9086786329661261824}} 
[2026-08-23 07:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":161484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:51:17] local.INFO: GPS data processed {"connection_id":161484,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:51:17] local.INFO: Acknowledgment sent {"connection_id":161484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:51:24] local.INFO: TCP Data received {"connection_id":161483,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:51:24] local.INFO: Processing buffer {"connection_id":161483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:51:24] local.INFO: Packet analysis {"connection_id":161483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c69"} 
[2026-08-23 07:51:24] local.INFO: Extracted packet for processing {"connection_id":161483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c69"} 
[2026-08-23 07:51:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587506688001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787451499000,"timestamp_ms":1787451499000,"timestamp_seconds":1787451499,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6961f8"} 
[2026-08-23 07:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:51: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-08-23 07:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 07:51:24] 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-08-23 07:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:51: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-08-23 07:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587506688001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587506688001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:51:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:51:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587506688001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":161483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:51:24] local.INFO: GPS data processed {"connection_id":161483,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:51:24] local.INFO: Acknowledgment sent {"connection_id":161483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:51:30] local.INFO: TCP Data received {"connection_id":162896,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6bbf700100000000000000000000000000..."} 
[2026-08-23 07:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6bbf700100000000000000000000000000..."} 
[2026-08-23 07:51:30] local.INFO: Processing buffer {"connection_id":162896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6bbf700100000000000000000000000000..."} 
[2026-08-23 07:51:30] local.INFO: Packet analysis {"connection_id":162896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6b"} 
[2026-08-23 07:51:30] local.INFO: Extracted packet for processing {"connection_id":162896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6b"} 
[2026-08-23 07:51:30] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 07:51:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 07:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787451654000,"timestamp_ms":1787451654000,"timestamp_seconds":1787451654,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6bbf70"} 
[2026-08-23 07:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-23 07:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 07:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 07:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":162896,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-23 07:51:30] local.INFO: GPS data processed {"connection_id":162896,"processed":0,"errors":0,"total":1} 
[2026-08-23 07:51:30] local.INFO: Acknowledgment sent {"connection_id":162896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:51:47] local.INFO: TCP Data received {"connection_id":162898,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:51:47] local.INFO: Processing buffer {"connection_id":162898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:51:47] local.INFO: IMEI packet received {"connection_id":162898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":162898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:51:48] local.INFO: TCP Data received {"connection_id":161484,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6c6768012d7dfe8005e213000004010c22..."} 
[2026-08-23 07:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6c6768012d7dfe8005e213000004010c22..."} 
[2026-08-23 07:51:48] local.INFO: Processing buffer {"connection_id":161484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6c6768012d7dfe8005e213000004010c22..."} 
[2026-08-23 07:51:48] local.INFO: Packet analysis {"connection_id":161484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6c"} 
[2026-08-23 07:51:48] local.INFO: Extracted packet for processing {"connection_id":161484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6c"} 
[2026-08-23 07:51:48] local.INFO: GPS Element Parsed {"raw_longitude":763231872,"raw_latitude":98702080,"longitude_deg":76.3231872,"latitude_deg":9.870208,"altitude":4,"angle":268,"satellites":34,"speed":34,"hex_longitude":"2d7dfe80","hex_latitude":"05e21300","is_valid_coordinates":true} 
[2026-08-23 07:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587634432001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122487382040641536,"note":"Value kept but may cause issues"} 
[2026-08-23 07:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9078834661581586432,"note":"Value kept but may cause issues"} 
[2026-08-23 07:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787451697000,"timestamp_ms":1787451697000,"timestamp_seconds":1787451697,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6c6768"} 
[2026-08-23 07:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-23 07:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587634432001,"66":13417,"61":206,"85":15104,"24":34,"16":122487382040641536,"45":9078834661581586432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-23 07:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587634432001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:51:48] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 07:51:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122487382040641536,"km_value":122487382040641.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9078834661581586432,"description":"Unknown IO ID 45"} 
[2026-08-23 07:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587634432001,"power":13417,"unknown_61":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9078834661581586432}} 
[2026-08-23 07:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":161484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:51:48] local.INFO: GPS data processed {"connection_id":161484,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:51:48] local.INFO: Acknowledgment sent {"connection_id":161484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:51:52] local.INFO: TCP Data received {"connection_id":162898,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:51:52] local.INFO: Processing buffer {"connection_id":162898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:51:52] local.INFO: IMEI packet received {"connection_id":162898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":162898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:51:55] local.INFO: TCP Data received {"connection_id":162898,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:51:55] local.INFO: Processing buffer {"connection_id":162898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:51:55] local.INFO: Packet analysis {"connection_id":162898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c69"} 
[2026-08-23 07:51:55] local.INFO: Extracted packet for processing {"connection_id":162898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c69"} 
[2026-08-23 07:51:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587506688001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787451499000,"timestamp_ms":1787451499000,"timestamp_seconds":1787451499,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6961f8"} 
[2026-08-23 07:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 07:51:55] 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-08-23 07: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-08-23 07:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:51:55] 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-08-23 07:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587506688001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587506688001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:51:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:51:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587506688001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":162898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:51:55] local.INFO: GPS data processed {"connection_id":162898,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:51:55] local.INFO: Acknowledgment sent {"connection_id":162898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:52:01] local.INFO: TCP Data received {"connection_id":162896,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6c11780100000000000000000000000000..."} 
[2026-08-23 07:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6c11780100000000000000000000000000..."} 
[2026-08-23 07:52:01] local.INFO: Processing buffer {"connection_id":162896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6c11780100000000000000000000000000..."} 
[2026-08-23 07:52:01] local.INFO: Packet analysis {"connection_id":162896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6c"} 
[2026-08-23 07:52:01] local.INFO: Extracted packet for processing {"connection_id":162896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6c"} 
[2026-08-23 07:52:01] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 07:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 07:52:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 07:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787451675000,"timestamp_ms":1787451675000,"timestamp_seconds":1787451675,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6c1178"} 
[2026-08-23 07:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-23 07:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 07:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 07:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":162896,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-23 07:52:01] local.INFO: GPS data processed {"connection_id":162896,"processed":0,"errors":0,"total":1} 
[2026-08-23 07:52:01] local.INFO: Acknowledgment sent {"connection_id":162896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:52:05] local.INFO: TCP Data received {"connection_id":160531,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:52:05] local.INFO: Processing buffer {"connection_id":160531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:52:05] local.INFO: IMEI packet received {"connection_id":160531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":160531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:52:06] local.INFO: TCP Data received {"connection_id":160531,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:52:06] local.INFO: Processing buffer {"connection_id":160531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:52:06] local.INFO: IMEI packet received {"connection_id":160531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":160531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:52:12] local.INFO: TCP Data received {"connection_id":160531,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:52:12] local.INFO: Processing buffer {"connection_id":160531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:52:12] local.INFO: IMEI packet received {"connection_id":160531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":160531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:52:12] local.INFO: TCP Data received {"connection_id":160531,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6c6f38012d7df70005e21178000400fd22..."} 
[2026-08-23 07:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6c6f38012d7df70005e21178000400fd22..."} 
[2026-08-23 07:52:12] local.INFO: Processing buffer {"connection_id":160531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6c6f38012d7df70005e21178000400fd22..."} 
[2026-08-23 07:52:12] local.INFO: Packet analysis {"connection_id":160531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6c"} 
[2026-08-23 07:52:12] local.INFO: Extracted packet for processing {"connection_id":160531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6c"} 
[2026-08-23 07:52:12] local.INFO: GPS Element Parsed {"raw_longitude":763229952,"raw_latitude":98701688,"longitude_deg":76.3229952,"latitude_deg":9.8701688,"altitude":4,"angle":253,"satellites":34,"speed":38,"hex_longitude":"2d7df700","hex_latitude":"05e21178","is_valid_coordinates":true} 
[2026-08-23 07:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587634432001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122487476529922048,"note":"Value kept but may cause issues"} 
[2026-08-23 07:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9078834661581586432,"note":"Value kept but may cause issues"} 
[2026-08-23 07:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787451699000,"timestamp_ms":1787451699000,"timestamp_seconds":1787451699,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6c6f38"} 
[2026-08-23 07:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-23 07:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587634432001,"66":13178,"61":206,"85":15104,"24":38,"16":122487476529922048,"45":9078834661581586432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-23 07:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587634432001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:52:12] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 07:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122487476529922048,"km_value":122487476529922.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9078834661581586432,"description":"Unknown IO ID 45"} 
[2026-08-23 07:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587634432001,"power":13178,"unknown_61":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9078834661581586432}} 
[2026-08-23 07:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":160531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:52:12] local.INFO: GPS data processed {"connection_id":160531,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:52:12] local.INFO: Acknowledgment sent {"connection_id":160531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:52:26] local.INFO: TCP Data received {"connection_id":162898,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:52:26] local.INFO: Processing buffer {"connection_id":162898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:52:26] local.INFO: Packet analysis {"connection_id":162898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c69"} 
[2026-08-23 07:52:26] local.INFO: Extracted packet for processing {"connection_id":162898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c69"} 
[2026-08-23 07:52:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587506688001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787451499000,"timestamp_ms":1787451499000,"timestamp_seconds":1787451499,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6961f8"} 
[2026-08-23 07:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 07:52:26] 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-08-23 07: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-08-23 07:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587506688001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587506688001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:52:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:52:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587506688001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":162898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:52:26] local.INFO: GPS data processed {"connection_id":162898,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:52:26] local.INFO: Acknowledgment sent {"connection_id":162898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:52:33] local.INFO: TCP Data received {"connection_id":162896,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6c63800100000000000000000000000000..."} 
[2026-08-23 07:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6c63800100000000000000000000000000..."} 
[2026-08-23 07:52:33] local.INFO: Processing buffer {"connection_id":162896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6c63800100000000000000000000000000..."} 
[2026-08-23 07:52:33] local.INFO: Packet analysis {"connection_id":162896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6c"} 
[2026-08-23 07:52:33] local.INFO: Extracted packet for processing {"connection_id":162896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6c"} 
[2026-08-23 07:52:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 07:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 07:52:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 07:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787451696000,"timestamp_ms":1787451696000,"timestamp_seconds":1787451696,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6c6380"} 
[2026-08-23 07:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 07:52:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 07:52:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 07:52:33] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242560,"note":"Value kept but may cause issues"} 
[2026-08-23 07:52:33] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3762814976,"note":"Value kept but may cause issues"} 
[2026-08-23 07:52:33] local.WARNING: Large IO value detected {"io_id":88,"raw_value":72057594037927936,"note":"Value kept but may cause issues"} 
[2026-08-23 07:52:33] local.INFO: IO Element Parsed {"io_data_count":28,"io_data_keys":[0,101,83,24,241,157,16,224,160,191,10,66,109,13,1,240,153,227,4,113,205,27,239,2,47,53,206,88],"length":529,"final_offset":659,"validated_count":28,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 07:52:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 07:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 07:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 07:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":162896,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-23 07:52:33] local.INFO: GPS data processed {"connection_id":162896,"processed":0,"errors":0,"total":1} 
[2026-08-23 07:52:33] local.INFO: Acknowledgment sent {"connection_id":162896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:52:43] local.INFO: TCP Data received {"connection_id":160531,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6c86a8012d7de0c005e20868000300f223..."} 
[2026-08-23 07:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6c86a8012d7de0c005e20868000300f223..."} 
[2026-08-23 07:52:43] local.INFO: Processing buffer {"connection_id":160531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6c86a8012d7de0c005e20868000300f223..."} 
[2026-08-23 07:52:43] local.INFO: Packet analysis {"connection_id":160531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6c"} 
[2026-08-23 07:52:43] local.INFO: Extracted packet for processing {"connection_id":160531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6c"} 
[2026-08-23 07:52:43] local.INFO: GPS Element Parsed {"raw_longitude":763224256,"raw_latitude":98699368,"longitude_deg":76.3224256,"latitude_deg":9.8699368,"altitude":3,"angle":242,"satellites":35,"speed":41,"hex_longitude":"2d7de0c0","hex_latitude":"05e20868","is_valid_coordinates":true} 
[2026-08-23 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-08-23 07:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587634944001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122487772882665472,"note":"Value kept but may cause issues"} 
[2026-08-23 07:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9076723599256156160,"note":"Value kept but may cause issues"} 
[2026-08-23 07:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787451705000,"timestamp_ms":1787451705000,"timestamp_seconds":1787451705,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6c86a8"} 
[2026-08-23 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-08-23 07:52:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-23 07:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 07:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587634944001,"66":13059,"61":206,"85":15104,"24":41,"16":122487772882665472,"45":9076723599256156160},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-23 07:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587634944001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:52:43] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 07:52:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122487772882665472,"km_value":122487772882665.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9076723599256156160,"description":"Unknown IO ID 45"} 
[2026-08-23 07:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587634944001,"power":13059,"unknown_61":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9076723599256156160}} 
[2026-08-23 07:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":160531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:52:43] local.INFO: GPS data processed {"connection_id":160531,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:52:43] local.INFO: Acknowledgment sent {"connection_id":160531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:52:46] local.INFO: TCP Data received {"connection_id":161485,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:52:46] local.INFO: Processing buffer {"connection_id":161485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:52:46] local.INFO: IMEI packet received {"connection_id":161485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":161485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:52:52] local.INFO: TCP Data received {"connection_id":161485,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:52:52] local.INFO: Processing buffer {"connection_id":161485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:52:52] local.INFO: IMEI packet received {"connection_id":161485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":161485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:52:53] local.INFO: TCP Data received {"connection_id":161485,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:52:53] local.INFO: Processing buffer {"connection_id":161485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:52:53] local.INFO: Packet analysis {"connection_id":161485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c69"} 
[2026-08-23 07:52:53] local.INFO: Extracted packet for processing {"connection_id":161485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c69"} 
[2026-08-23 07:52:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587506688001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787451499000,"timestamp_ms":1787451499000,"timestamp_seconds":1787451499,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6961f8"} 
[2026-08-23 07:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 07:52:53] 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-08-23 07:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:52:53] 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-08-23 07:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587506688001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587506688001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:52:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:52:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587506688001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":161485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:52:53] local.INFO: GPS data processed {"connection_id":161485,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:52:53] local.INFO: Acknowledgment sent {"connection_id":161485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:53:04] local.INFO: TCP Data received {"connection_id":162896,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6cb5880100000000000000000000000000..."} 
[2026-08-23 07:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6cb5880100000000000000000000000000..."} 
[2026-08-23 07:53:04] local.INFO: Processing buffer {"connection_id":162896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6cb5880100000000000000000000000000..."} 
[2026-08-23 07:53:04] local.INFO: Packet analysis {"connection_id":162896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6c"} 
[2026-08-23 07:53:04] local.INFO: Extracted packet for processing {"connection_id":162896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6c"} 
[2026-08-23 07:53:04] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 07:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 07:53:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 07:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787451717000,"timestamp_ms":1787451717000,"timestamp_seconds":1787451717,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6cb588"} 
[2026-08-23 07:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-23 07:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 07:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 07:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":162896,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-23 07:53:04] local.INFO: GPS data processed {"connection_id":162896,"processed":0,"errors":0,"total":1} 
[2026-08-23 07:53:04] local.INFO: Acknowledgment sent {"connection_id":162896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:53:07] local.INFO: TCP Data received {"connection_id":162899,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:53:07] local.INFO: Processing buffer {"connection_id":162899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:53:07] local.INFO: IMEI packet received {"connection_id":162899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":162899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:53:10] local.INFO: TCP Data received {"connection_id":162899,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:53:10] local.INFO: Processing buffer {"connection_id":162899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:53:10] local.INFO: IMEI packet received {"connection_id":162899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":162899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:53:11] local.INFO: TCP Data received {"connection_id":162899,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:53:11] local.INFO: Processing buffer {"connection_id":162899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:53:11] local.INFO: IMEI packet received {"connection_id":162899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":162899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:53:12] local.INFO: TCP Data received {"connection_id":162899,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6ca200012d7dc64005e1fc980003010322..."} 
[2026-08-23 07:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6ca200012d7dc64005e1fc980003010322..."} 
[2026-08-23 07:53:12] local.INFO: Processing buffer {"connection_id":162899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6ca200012d7dc64005e1fc980003010322..."} 
[2026-08-23 07:53:12] local.INFO: Packet analysis {"connection_id":162899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6c"} 
[2026-08-23 07:53:12] local.INFO: Extracted packet for processing {"connection_id":162899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6c"} 
[2026-08-23 07:53:12] local.INFO: GPS Element Parsed {"raw_longitude":763217472,"raw_latitude":98696344,"longitude_deg":76.3217472,"latitude_deg":9.8696344,"altitude":3,"angle":259,"satellites":34,"speed":40,"hex_longitude":"2d7dc640","hex_latitude":"05e1fc98","is_valid_coordinates":true} 
[2026-08-23 07:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587636480001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122488129364951040,"note":"Value kept but may cause issues"} 
[2026-08-23 07:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9070460781023750144,"note":"Value kept but may cause issues"} 
[2026-08-23 07:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787451712000,"timestamp_ms":1787451712000,"timestamp_seconds":1787451712,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6ca200"} 
[2026-08-23 07:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-23 07:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166284418471,"note":"Value kept but may cause issues"} 
[2026-08-23 07:53:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 07:53:12] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-08-23 07:53:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805727438,"corrected_to":0} 
[2026-08-23 07:53:12] local.WARNING: Large IO value detected {"io_id":60,"raw_value":58077557095399448,"note":"Value kept but may cause issues"} 
[2026-08-23 07:53:12] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941415,"note":"Value kept but may cause issues"} 
[2026-08-23 07:53:12] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,61,85,24,241,157,16,41,160,111,45,17,4,34,10,66,103,128,19,1,240,105,227,44,226,113,205,28,60,37,184,239,51,2,179,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2805727438,"validated":0}]} 
[2026-08-23 07:53:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216439014254247936,"timestamp_seconds":216439014254247.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 07:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587636480001,"66":13428,"61":206,"85":15104,"24":40,"16":122488129364951040,"45":9070460781023750144},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-23 07:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587636480001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:53:12] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 07:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122488129364951040,"km_value":122488129364951.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9070460781023750144,"description":"Unknown IO ID 45"} 
[2026-08-23 07:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587636480001,"power":13428,"unknown_61":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9070460781023750144}} 
[2026-08-23 07:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":162899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:53:12] local.INFO: GPS data processed {"connection_id":162899,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:53:12] local.INFO: Acknowledgment sent {"connection_id":162899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:53:16] local.INFO: TCP Data received {"connection_id":162899,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6ca9d0012d7dbe4005e1fbf80003011022..."} 
[2026-08-23 07:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6ca9d0012d7dbe4005e1fbf80003011022..."} 
[2026-08-23 07:53:16] local.INFO: Processing buffer {"connection_id":162899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6ca9d0012d7dbe4005e1fbf80003011022..."} 
[2026-08-23 07:53:16] local.INFO: Packet analysis {"connection_id":162899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6c"} 
[2026-08-23 07:53:16] local.INFO: Extracted packet for processing {"connection_id":162899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6c"} 
[2026-08-23 07:53:16] local.INFO: GPS Element Parsed {"raw_longitude":763215424,"raw_latitude":98696184,"longitude_deg":76.3215424,"latitude_deg":9.8696184,"altitude":3,"angle":272,"satellites":34,"speed":40,"hex_longitude":"2d7dbe40","hex_latitude":"05e1fbf8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 07:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587638272001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122488228149198848,"note":"Value kept but may cause issues"} 
[2026-08-23 07:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063001694140143616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787451714000,"timestamp_ms":1787451714000,"timestamp_seconds":1787451714,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6ca9d0"} 
[2026-08-23 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-08-23 07:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-23 07:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 07:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587638272001,"66":13526,"61":206,"85":15104,"24":40,"16":122488228149198848,"45":9063001694140143616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-23 07:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587638272001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:53:16] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 07:53:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122488228149198848,"km_value":122488228149198.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063001694140143616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587638272001,"power":13526,"unknown_61":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9063001694140143616}} 
[2026-08-23 07:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":162899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:53:17] local.INFO: GPS data processed {"connection_id":162899,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:53:17] local.INFO: Acknowledgment sent {"connection_id":162899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:53:24] local.INFO: TCP Data received {"connection_id":161485,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:53:24] local.INFO: Processing buffer {"connection_id":161485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:53:24] local.INFO: Packet analysis {"connection_id":161485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c69"} 
[2026-08-23 07:53:24] local.INFO: Extracted packet for processing {"connection_id":161485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c69"} 
[2026-08-23 07:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587506688001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787451499000,"timestamp_ms":1787451499000,"timestamp_seconds":1787451499,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6961f8"} 
[2026-08-23 07:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:53: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-08-23 07:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 07:53:24] 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-08-23 07:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587506688001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587506688001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:53:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587506688001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":161485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:53:24] local.INFO: GPS data processed {"connection_id":161485,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:53:24] local.INFO: Acknowledgment sent {"connection_id":161485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:53:36] local.INFO: TCP Data received {"connection_id":162896,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6d07900100000000000000000000000000..."} 
[2026-08-23 07:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6d07900100000000000000000000000000..."} 
[2026-08-23 07:53:36] local.INFO: Processing buffer {"connection_id":162896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6d07900100000000000000000000000000..."} 
[2026-08-23 07:53:36] local.INFO: Packet analysis {"connection_id":162896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:53:36] local.INFO: Extracted packet for processing {"connection_id":162896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:53:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 07:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 07:53:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 07:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787451738000,"timestamp_ms":1787451738000,"timestamp_seconds":1787451738,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6d0790"} 
[2026-08-23 07:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-23 07:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 07:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 07:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":162896,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-23 07:53:36] local.INFO: GPS data processed {"connection_id":162896,"processed":0,"errors":0,"total":1} 
[2026-08-23 07:53:36] local.INFO: Acknowledgment sent {"connection_id":162896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:53:46] local.INFO: TCP Data received {"connection_id":160532,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:53:46] local.INFO: Processing buffer {"connection_id":160532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:53:46] local.INFO: IMEI packet received {"connection_id":160532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":160532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:53:47] local.INFO: TCP Data received {"connection_id":162899,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6cd0e0012d7d9a4005e1ffb00007011321..."} 
[2026-08-23 07:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6cd0e0012d7d9a4005e1ffb00007011321..."} 
[2026-08-23 07:53:47] local.INFO: Processing buffer {"connection_id":162899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6cd0e0012d7d9a4005e1ffb00007011321..."} 
[2026-08-23 07:53:47] local.INFO: Packet analysis {"connection_id":162899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6c"} 
[2026-08-23 07:53:47] local.INFO: Extracted packet for processing {"connection_id":162899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6c"} 
[2026-08-23 07:53:47] local.INFO: GPS Element Parsed {"raw_longitude":763206208,"raw_latitude":98697136,"longitude_deg":76.3206208,"latitude_deg":9.8697136,"altitude":7,"angle":275,"satellites":33,"speed":22,"hex_longitude":"2d7d9a40","hex_latitude":"05e1ffb0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 07:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587638784001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122488670530830336,"note":"Value kept but may cause issues"} 
[2026-08-23 07:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9060749894326417408,"note":"Value kept but may cause issues"} 
[2026-08-23 07:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787451724000,"timestamp_ms":1787451724000,"timestamp_seconds":1787451724,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6cd0e0"} 
[2026-08-23 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-08-23 07:53: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-08-23 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-23 07:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 07:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587638784001,"66":12939,"61":206,"85":15104,"24":22,"16":122488670530830336,"45":9060749894326417408},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-23 07:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587638784001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:53:47] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 07:53:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122488670530830336,"km_value":122488670530830.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9060749894326417408,"description":"Unknown IO ID 45"} 
[2026-08-23 07:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587638784001,"power":12939,"unknown_61":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9060749894326417408}} 
[2026-08-23 07:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":162899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:53:48] local.INFO: GPS data processed {"connection_id":162899,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:53:48] local.INFO: Acknowledgment sent {"connection_id":162899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:53:52] local.INFO: TCP Data received {"connection_id":160532,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:53:52] local.INFO: Processing buffer {"connection_id":160532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:53:52] local.INFO: IMEI packet received {"connection_id":160532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":160532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:53:54] local.INFO: TCP Data received {"connection_id":160532,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:53:54] local.INFO: Processing buffer {"connection_id":160532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6961f8012d34c50006aa40980009008521..."} 
[2026-08-23 07:53:54] local.INFO: Packet analysis {"connection_id":160532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c69"} 
[2026-08-23 07:53:54] local.INFO: Extracted packet for processing {"connection_id":160532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c69"} 
[2026-08-23 07:53:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587506688001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787451499000,"timestamp_ms":1787451499000,"timestamp_seconds":1787451499,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6961f8"} 
[2026-08-23 07:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:53: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-08-23 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 07:53:54] 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-08-23 07: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-08-23 07:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587506688001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587506688001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:53:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:53:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587506688001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":160532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:53:54] local.INFO: GPS data processed {"connection_id":160532,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:53:54] local.INFO: Acknowledgment sent {"connection_id":160532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:54:08] local.INFO: TCP Data received {"connection_id":162896,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6d59980100000000000000000000000000..."} 
[2026-08-23 07:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6d59980100000000000000000000000000..."} 
[2026-08-23 07:54:08] local.INFO: Processing buffer {"connection_id":162896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6d59980100000000000000000000000000..."} 
[2026-08-23 07:54:08] local.INFO: Packet analysis {"connection_id":162896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:54:08] local.INFO: Extracted packet for processing {"connection_id":162896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:54:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 07:54:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 07:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787451759000,"timestamp_ms":1787451759000,"timestamp_seconds":1787451759,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6d5998"} 
[2026-08-23 07:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-23 07:54:08] 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-08-23 07: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-08-23 07:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 07:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 07:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":162896,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-23 07:54:08] local.INFO: GPS data processed {"connection_id":162896,"processed":0,"errors":0,"total":1} 
[2026-08-23 07:54:08] local.INFO: Acknowledgment sent {"connection_id":162896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:54:10] local.INFO: TCP Data received {"connection_id":161486,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:54:10] local.INFO: Processing buffer {"connection_id":161486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:54:10] local.INFO: IMEI packet received {"connection_id":161486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":161486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:54:11] local.INFO: TCP Data received {"connection_id":161486,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:54:11] local.INFO: Processing buffer {"connection_id":161486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:54:11] local.INFO: IMEI packet received {"connection_id":161486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":161486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:54:12] local.INFO: TCP Data received {"connection_id":161486,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:54:12] local.INFO: Processing buffer {"connection_id":161486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:54:12] local.INFO: IMEI packet received {"connection_id":161486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":161486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:54:18] local.INFO: TCP Data received {"connection_id":161486,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:54:18] local.INFO: Processing buffer {"connection_id":161486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:54:18] local.INFO: IMEI packet received {"connection_id":161486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":161486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:54:19] local.INFO: TCP Data received {"connection_id":161486,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6e8660012d7c620005e211a80006010027..."} 
[2026-08-23 07:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6e8660012d7c620005e211a80006010027..."} 
[2026-08-23 07:54:19] local.INFO: Processing buffer {"connection_id":161486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6e8660012d7c620005e211a80006010027..."} 
[2026-08-23 07:54:19] local.INFO: Packet analysis {"connection_id":161486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6e"} 
[2026-08-23 07:54:19] local.INFO: Extracted packet for processing {"connection_id":161486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6e"} 
[2026-08-23 07:54:19] local.INFO: GPS Element Parsed {"raw_longitude":763126272,"raw_latitude":98701736,"longitude_deg":76.3126272,"latitude_deg":9.8701736,"altitude":6,"angle":256,"satellites":39,"speed":20,"hex_longitude":"2d7c6200","hex_latitude":"05e211a8","is_valid_coordinates":true} 
[2026-08-23 07:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587669504001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122492523116494848,"note":"Value kept but may cause issues"} 
[2026-08-23 07:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964063239827769344,"note":"Value kept but may cause issues"} 
[2026-08-23 07:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787451836000,"timestamp_ms":1787451836000,"timestamp_seconds":1787451836,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6e8660"} 
[2026-08-23 07:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:54:19] 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-08-23 07:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 07:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587669504001,"66":13135,"61":206,"85":15104,"24":20,"16":122492523116494848,"45":8964063239827769344},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-23 07:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587669504001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:54:19] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 07:54:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122492523116494848,"km_value":122492523116494.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964063239827769344,"description":"Unknown IO ID 45"} 
[2026-08-23 07:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587669504001,"power":13135,"unknown_61":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8964063239827769344}} 
[2026-08-23 07:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":161486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:54:19] local.INFO: GPS data processed {"connection_id":161486,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:54:19] local.INFO: Acknowledgment sent {"connection_id":161486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:54:20] local.INFO: TCP Data received {"connection_id":161486,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6e8a48012d7c600005e210e0000600f427..."} 
[2026-08-23 07:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6e8a48012d7c600005e210e0000600f427..."} 
[2026-08-23 07:54:20] local.INFO: Processing buffer {"connection_id":161486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6e8a48012d7c600005e210e0000600f427..."} 
[2026-08-23 07:54:20] local.INFO: Packet analysis {"connection_id":161486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6e"} 
[2026-08-23 07:54:20] local.INFO: Extracted packet for processing {"connection_id":161486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6e"} 
[2026-08-23 07:54:20] local.INFO: GPS Element Parsed {"raw_longitude":763125760,"raw_latitude":98701536,"longitude_deg":76.312576,"latitude_deg":9.8701536,"altitude":6,"angle":244,"satellites":39,"speed":21,"hex_longitude":"2d7c6000","hex_latitude":"05e210e0","is_valid_coordinates":true} 
[2026-08-23 07:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587670016001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122492548886298624,"note":"Value kept but may cause issues"} 
[2026-08-23 07:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962726233688352768,"note":"Value kept but may cause issues"} 
[2026-08-23 07:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787451837000,"timestamp_ms":1787451837000,"timestamp_seconds":1787451837,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6e8a48"} 
[2026-08-23 07:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 07:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587670016001,"66":13374,"61":206,"85":15104,"24":21,"16":122492548886298624,"45":8962726233688352768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-23 07:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587670016001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:54:20] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 07:54:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122492548886298624,"km_value":122492548886298.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962726233688352768,"description":"Unknown IO ID 45"} 
[2026-08-23 07:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587670016001,"power":13374,"unknown_61":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8962726233688352768}} 
[2026-08-23 07:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":161486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:54:20] local.INFO: GPS data processed {"connection_id":161486,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:54:20] local.INFO: Acknowledgment sent {"connection_id":161486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:54:25] local.INFO: TCP Data received {"connection_id":160532,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:54:25] local.INFO: Processing buffer {"connection_id":160532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:54:25] local.INFO: Packet analysis {"connection_id":160532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:54:25] local.INFO: Extracted packet for processing {"connection_id":160532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:54:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587583744001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787451800000,"timestamp_ms":1787451800000,"timestamp_seconds":1787451800,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6df9c0"} 
[2026-08-23 07:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 07:54:25] 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-08-23 07:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587583744001,"66":25702,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587583744001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:54:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:54:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587583744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":160532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:54:25] local.INFO: GPS data processed {"connection_id":160532,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:54:25] local.INFO: Acknowledgment sent {"connection_id":160532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:54:30] local.INFO: TCP Data received {"connection_id":160327,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:54:30] local.INFO: Processing buffer {"connection_id":160327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:54:30] local.INFO: IMEI packet received {"connection_id":160327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 07:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":160327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:54:32] local.INFO: TCP Data received {"connection_id":160327,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:54:32] local.INFO: Processing buffer {"connection_id":160327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:54:32] local.INFO: IMEI packet received {"connection_id":160327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 07:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":160327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:54:33] local.INFO: TCP Data received {"connection_id":160327,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:54:33] local.INFO: Processing buffer {"connection_id":160327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:54:33] local.INFO: IMEI packet received {"connection_id":160327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 07:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":160327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:54:35] local.INFO: TCP Data received {"connection_id":160327,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:54:35] local.INFO: Processing buffer {"connection_id":160327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:54:35] local.INFO: IMEI packet received {"connection_id":160327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 07:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":160327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:54:36] local.INFO: TCP Data received {"connection_id":160327,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6daba00100000000000000000000000000..."} 
[2026-08-23 07:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6daba00100000000000000000000000000..."} 
[2026-08-23 07:54:36] local.INFO: Processing buffer {"connection_id":160327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6daba00100000000000000000000000000..."} 
[2026-08-23 07:54:36] local.INFO: Packet analysis {"connection_id":160327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:54:36] local.INFO: Extracted packet for processing {"connection_id":160327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:54:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 07:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 07:54:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 07:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787451780000,"timestamp_ms":1787451780000,"timestamp_seconds":1787451780,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6daba0"} 
[2026-08-23 07:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-23 07:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 07:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 07:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":160327,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-23 07:54:36] local.INFO: GPS data processed {"connection_id":160327,"processed":0,"errors":0,"total":1} 
[2026-08-23 07:54:36] local.INFO: Acknowledgment sent {"connection_id":160327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:54:47] local.INFO: TCP Data received {"connection_id":160533,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:54:47] local.INFO: Processing buffer {"connection_id":160533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:54:47] local.INFO: IMEI packet received {"connection_id":160533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":160533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:54:50] local.INFO: TCP Data received {"connection_id":161486,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6f0b30012d7c2dc005e1dd800006011327..."} 
[2026-08-23 07:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6f0b30012d7c2dc005e1dd800006011327..."} 
[2026-08-23 07:54:50] local.INFO: Processing buffer {"connection_id":161486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6f0b30012d7c2dc005e1dd800006011327..."} 
[2026-08-23 07:54:50] local.INFO: Packet analysis {"connection_id":161486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6f"} 
[2026-08-23 07:54:50] local.INFO: Extracted packet for processing {"connection_id":161486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6f"} 
[2026-08-23 07:54:50] local.INFO: GPS Element Parsed {"raw_longitude":763112896,"raw_latitude":98688384,"longitude_deg":76.3112896,"latitude_deg":9.8688384,"altitude":6,"angle":275,"satellites":39,"speed":27,"hex_longitude":"2d7c2dc0","hex_latitude":"05e1dd80","is_valid_coordinates":true} 
[2026-08-23 07:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587678208001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122493480894201856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949426541035360256,"note":"Value kept but may cause issues"} 
[2026-08-23 07:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787451870000,"timestamp_ms":1787451870000,"timestamp_seconds":1787451870,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6f0b30"} 
[2026-08-23 07:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:54: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-08-23 07:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-23 07:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587678208001,"66":13319,"61":206,"85":15104,"24":27,"16":122493480894201856,"45":8949426541035360256},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-23 07:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587678208001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:54:50] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 07:54:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122493480894201856,"km_value":122493480894201.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949426541035360256,"description":"Unknown IO ID 45"} 
[2026-08-23 07:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587678208001,"power":13319,"unknown_61":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8949426541035360256}} 
[2026-08-23 07:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":161486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:54:51] local.INFO: GPS data processed {"connection_id":161486,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:54:51] local.INFO: Acknowledgment sent {"connection_id":161486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:54:52] local.INFO: TCP Data received {"connection_id":160533,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:54:52] local.INFO: Processing buffer {"connection_id":160533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:54:52] local.INFO: IMEI packet received {"connection_id":160533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":160533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:54:53] local.INFO: TCP Data received {"connection_id":160533,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:54:53] local.INFO: Processing buffer {"connection_id":160533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:54:53] local.INFO: Packet analysis {"connection_id":160533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:54:53] local.INFO: Extracted packet for processing {"connection_id":160533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:54:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587583744001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787451800000,"timestamp_ms":1787451800000,"timestamp_seconds":1787451800,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6df9c0"} 
[2026-08-23 07:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 07:54:53] 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-08-23 07:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:54:53] 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-08-23 07:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587583744001,"66":25702,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587583744001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:54:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:54:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587583744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":160533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:54:53] local.INFO: GPS data processed {"connection_id":160533,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:54:53] local.INFO: Acknowledgment sent {"connection_id":160533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:55:06] local.INFO: TCP Data received {"connection_id":161487,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:55:06] local.INFO: Processing buffer {"connection_id":161487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:55:06] local.INFO: IMEI packet received {"connection_id":161487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":161487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:55:07] local.INFO: TCP Data received {"connection_id":161487,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:55:07] local.INFO: Processing buffer {"connection_id":161487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:55:07] local.INFO: IMEI packet received {"connection_id":161487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":161487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:55:07] local.INFO: TCP Data received {"connection_id":160327,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6dfda80100000000000000000000000000..."} 
[2026-08-23 07:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6dfda80100000000000000000000000000..."} 
[2026-08-23 07:55:07] local.INFO: Processing buffer {"connection_id":160327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6dfda80100000000000000000000000000..."} 
[2026-08-23 07:55:07] local.INFO: Packet analysis {"connection_id":160327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:55:07] local.INFO: Extracted packet for processing {"connection_id":160327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:55:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 07:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15164773607931904,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 07:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787451801000,"timestamp_ms":1787451801000,"timestamp_seconds":1787451801,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6dfda8"} 
[2026-08-23 07:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 07:55: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-08-23 07:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 07:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 07:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":160327,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-23 07:55:07] local.INFO: GPS data processed {"connection_id":160327,"processed":0,"errors":0,"total":1} 
[2026-08-23 07:55:07] local.INFO: Acknowledgment sent {"connection_id":160327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:55:09] local.INFO: TCP Data received {"connection_id":161487,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:55:09] local.INFO: Processing buffer {"connection_id":161487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:55:09] local.INFO: IMEI packet received {"connection_id":161487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":161487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:55:10] local.INFO: TCP Data received {"connection_id":161487,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6f22a0012d7c1bc005e1ddc80004010727..."} 
[2026-08-23 07:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6f22a0012d7c1bc005e1ddc80004010727..."} 
[2026-08-23 07:55:10] local.INFO: Processing buffer {"connection_id":161487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6f22a0012d7c1bc005e1ddc80004010727..."} 
[2026-08-23 07:55:10] local.INFO: Packet analysis {"connection_id":161487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6f"} 
[2026-08-23 07:55:10] local.INFO: Extracted packet for processing {"connection_id":161487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6f"} 
[2026-08-23 07:55:10] local.INFO: GPS Element Parsed {"raw_longitude":763108288,"raw_latitude":98688456,"longitude_deg":76.3108288,"latitude_deg":9.8688456,"altitude":4,"angle":263,"satellites":39,"speed":32,"hex_longitude":"2d7c1bc0","hex_latitude":"05e1ddc8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 07:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587678720001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122493699937533952,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948019166151802880,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787451876000,"timestamp_ms":1787451876000,"timestamp_seconds":1787451876,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6f22a0"} 
[2026-08-23 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-08-23 07:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 07:55:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:10] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57886250674050363,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:10] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":43009,"corrected_to":0} 
[2026-08-23 07:55:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:10] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-502151328371890688,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805792974,"corrected_to":0} 
[2026-08-23 07:55:10] local.WARNING: Large IO value detected {"io_id":235,"raw_value":4026609020,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:10] local.WARNING: Large IO value detected {"io_id":60,"raw_value":2147869156,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3790393344,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:10] local.WARNING: Large IO value detected {"io_id":110,"raw_value":-4823353906043076603,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:10] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,61,85,24,241,157,16,47,160,3,45,192,221,7,39,10,66,251,222,6,38,247,1,240,187,227,44,225,4,113,205,20,235,60,144,239,52,2,179,5,22,110],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":247,"original":43009,"validated":0},{"io_id":205,"original":2805792974,"validated":0}]} 
[2026-08-23 07:55:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432648097430700032,"timestamp_seconds":432648097430700.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 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-08-23 07:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587678720001,"66":13222,"61":206,"85":15104,"24":32,"16":122493699937533952,"45":8948019166151802880},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-23 07:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587678720001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:55:10] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 07:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122493699937533952,"km_value":122493699937533.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948019166151802880,"description":"Unknown IO ID 45"} 
[2026-08-23 07:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587678720001,"power":13222,"unknown_61":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8948019166151802880}} 
[2026-08-23 07:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":161487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:55:10] local.INFO: GPS data processed {"connection_id":161487,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:55:10] local.INFO: Acknowledgment sent {"connection_id":161487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:55:12] local.INFO: TCP Data received {"connection_id":161487,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6f4d98012d7bf64005e1d8a00005010e27..."} 
[2026-08-23 07:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6f4d98012d7bf64005e1d8a00005010e27..."} 
[2026-08-23 07:55:12] local.INFO: Processing buffer {"connection_id":161487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6f4d98012d7bf64005e1d8a00005010e27..."} 
[2026-08-23 07:55:12] local.INFO: Packet analysis {"connection_id":161487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6f"} 
[2026-08-23 07:55:12] local.INFO: Extracted packet for processing {"connection_id":161487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6f"} 
[2026-08-23 07:55:12] local.INFO: GPS Element Parsed {"raw_longitude":763098688,"raw_latitude":98687136,"longitude_deg":76.3098688,"latitude_deg":9.8687136,"altitude":5,"angle":270,"satellites":39,"speed":33,"hex_longitude":"2d7bf640","hex_latitude":"05e1d8a0","is_valid_coordinates":true} 
[2026-08-23 07:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587680256001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122494163794001920,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942952616571029504,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787451887000,"timestamp_ms":1787451887000,"timestamp_seconds":1787451887,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6f4d98"} 
[2026-08-23 07:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:55: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-08-23 07:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 07:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587680256001,"66":12885,"61":206,"85":15104,"24":33,"16":122494163794001920,"45":8942952616571029504},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-23 07:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587680256001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:55:12] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 07:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122494163794001920,"km_value":122494163794001.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942952616571029504,"description":"Unknown IO ID 45"} 
[2026-08-23 07:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587680256001,"power":12885,"unknown_61":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8942952616571029504}} 
[2026-08-23 07:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":161487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:55:12] local.INFO: GPS data processed {"connection_id":161487,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:55:12] local.INFO: Acknowledgment sent {"connection_id":161487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:55:25] local.INFO: TCP Data received {"connection_id":160533,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:55:25] local.INFO: Processing buffer {"connection_id":160533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:55:25] local.INFO: Packet analysis {"connection_id":160533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:55:25] local.INFO: Extracted packet for processing {"connection_id":160533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:55:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587583744001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787451800000,"timestamp_ms":1787451800000,"timestamp_seconds":1787451800,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6df9c0"} 
[2026-08-23 07:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 07:55:25] 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-08-23 07: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-08-23 07:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:55:25] 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-08-23 07:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587583744001,"66":25702,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587583744001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:55:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:55:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587583744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":160533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:55:25] local.INFO: GPS data processed {"connection_id":160533,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:55:25] local.INFO: Acknowledgment sent {"connection_id":160533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:55:39] local.INFO: TCP Data received {"connection_id":160327,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6fe5f0012d17be8007215f20003d01420d..."} 
[2026-08-23 07:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6fe5f0012d17be8007215f20003d01420d..."} 
[2026-08-23 07:55:39] local.INFO: Processing buffer {"connection_id":160327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6fe5f0012d17be8007215f20003d01420d..."} 
[2026-08-23 07:55:39] local.INFO: Packet analysis {"connection_id":160327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6f"} 
[2026-08-23 07:55:39] local.INFO: Extracted packet for processing {"connection_id":160327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6f"} 
[2026-08-23 07:55:39] local.INFO: GPS Element Parsed {"raw_longitude":756530816,"raw_latitude":119627552,"longitude_deg":75.6530816,"latitude_deg":11.9627552,"altitude":61,"angle":322,"satellites":13,"speed":12,"hex_longitude":"2d17be80","hex_latitude":"07215f20","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587692800001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15166762177789952,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1711227151537027072,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787451926000,"timestamp_ms":1787451926000,"timestamp_seconds":1787451926,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6fe5f0"} 
[2026-08-23 07:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3072,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-23 07:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:39] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3338665984,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-23 07:55:39] local.WARNING: Large IO value detected {"io_id":163,"raw_value":2281778455,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:39] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3221692757,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:39] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3787718656,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:39] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,107,83,24,241,157,16,226,160,175,45,64,85,63,13,10,66,225,171,84,167,128,1,240,131,227,44,33,4,113,205,14,163,217,239,55,2,53,7,70,36],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-23 07:55:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395853041242144768,"timestamp_seconds":4395853041242145.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 07:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 07:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 07:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587692800001,"66":14483,"107":206,"83":41984,"24":12,"16":15166762177789952,"45":1711227151537027072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 07:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 07:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 07:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587692800001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:55:39] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 07:55:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 07:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15166762177789952,"km_value":15166762177789.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1711227151537027072,"description":"Unknown IO ID 45"} 
[2026-08-23 07:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587692800001,"power":14483,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1711227151537027072}} 
[2026-08-23 07:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":160327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:55:39] local.INFO: GPS data processed {"connection_id":160327,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:55:39] local.INFO: Acknowledgment sent {"connection_id":160327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:55:43] local.INFO: TCP Data received {"connection_id":161487,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6f6120012d7bea4005e1d9600004011a28..."} 
[2026-08-23 07:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6f6120012d7bea4005e1d9600004011a28..."} 
[2026-08-23 07:55:43] local.INFO: Processing buffer {"connection_id":161487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6f6120012d7bea4005e1d9600004011a28..."} 
[2026-08-23 07:55:43] local.INFO: Packet analysis {"connection_id":161487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6f"} 
[2026-08-23 07:55:43] local.INFO: Extracted packet for processing {"connection_id":161487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6f"} 
[2026-08-23 07:55:43] local.INFO: GPS Element Parsed {"raw_longitude":763095616,"raw_latitude":98687328,"longitude_deg":76.3095616,"latitude_deg":9.8687328,"altitude":4,"angle":282,"satellites":40,"speed":10,"hex_longitude":"2d7bea40","hex_latitude":"05e1d960","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587683072001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122494314117857280,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932397304944041984,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787451892000,"timestamp_ms":1787451892000,"timestamp_seconds":1787451892,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6f6120"} 
[2026-08-23 07:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-23 07:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587683072001,"66":12809,"61":206,"85":15104,"24":10,"16":122494314117857280,"45":8932397304944041984},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-23 07:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587683072001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:55:43] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 07:55:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122494314117857280,"km_value":122494314117857.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932397304944041984,"description":"Unknown IO ID 45"} 
[2026-08-23 07:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587683072001,"power":12809,"unknown_61":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8932397304944041984}} 
[2026-08-23 07:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":161487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:55:44] local.INFO: GPS data processed {"connection_id":161487,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:55:44] local.INFO: Acknowledgment sent {"connection_id":161487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:55:47] local.INFO: TCP Data received {"connection_id":160534,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:55:47] local.INFO: Processing buffer {"connection_id":160534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:55:47] local.INFO: IMEI packet received {"connection_id":160534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":160534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:55:52] local.INFO: TCP Data received {"connection_id":160534,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:55:52] local.INFO: Processing buffer {"connection_id":160534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:55:52] local.INFO: IMEI packet received {"connection_id":160534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":160534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:55:53] local.INFO: TCP Data received {"connection_id":160534,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:55:53] local.INFO: Processing buffer {"connection_id":160534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:55:53] local.INFO: Packet analysis {"connection_id":160534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:55:53] local.INFO: Extracted packet for processing {"connection_id":160534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:55:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:55: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-08-23 07:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587583744001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787451800000,"timestamp_ms":1787451800000,"timestamp_seconds":1787451800,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6df9c0"} 
[2026-08-23 07:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 07:55:53] 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-08-23 07:55: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-08-23 07:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:55:53] 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-08-23 07:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587583744001,"66":25702,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587583744001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:55:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:55:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587583744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":160534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:55:53] local.INFO: GPS data processed {"connection_id":160534,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:55:53] local.INFO: Acknowledgment sent {"connection_id":160534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:56:07] local.INFO: TCP Data received {"connection_id":162900,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:56:07] local.INFO: Processing buffer {"connection_id":162900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:56:07] local.INFO: IMEI packet received {"connection_id":162900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":162900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:56:10] local.INFO: TCP Data received {"connection_id":162900,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:56:10] local.INFO: Processing buffer {"connection_id":162900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:56:10] local.INFO: IMEI packet received {"connection_id":162900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":162900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:56:10] local.INFO: TCP Data received {"connection_id":160327,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6ff590012d17bc00072161e8003e011c0d..."} 
[2026-08-23 07:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6ff590012d17bc00072161e8003e011c0d..."} 
[2026-08-23 07:56:10] local.INFO: Processing buffer {"connection_id":160327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6ff590012d17bc00072161e8003e011c0d..."} 
[2026-08-23 07:56:10] local.INFO: Packet analysis {"connection_id":160327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6f"} 
[2026-08-23 07:56:10] local.INFO: Extracted packet for processing {"connection_id":160327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6f"} 
[2026-08-23 07:56:10] local.INFO: GPS Element Parsed {"raw_longitude":756530176,"raw_latitude":119628264,"longitude_deg":75.6530176,"latitude_deg":11.9628264,"altitude":62,"angle":284,"satellites":13,"speed":11,"hex_longitude":"2d17bc00","hex_latitude":"072161e8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 07:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587693056001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15166813717397504,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710945676560375808,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787451930000,"timestamp_ms":1787451930000,"timestamp_seconds":1787451930,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6ff590"} 
[2026-08-23 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-08-23 07:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-23 07:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 07:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 07:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 07:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587693056001,"66":14483,"107":206,"83":41984,"24":11,"16":15166813717397504,"45":1710945676560375808},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 07:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 07:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 07:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587693056001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:56:10] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 07:56:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 07:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15166813717397504,"km_value":15166813717397.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710945676560375808,"description":"Unknown IO ID 45"} 
[2026-08-23 07:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587693056001,"power":14483,"unknown_107":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1710945676560375808}} 
[2026-08-23 07:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":160327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:56:10] local.INFO: GPS data processed {"connection_id":160327,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:56:10] local.INFO: Acknowledgment sent {"connection_id":160327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:56:10] local.INFO: TCP Data received {"connection_id":162900,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6f93e8012d7bd58005e1dcd00005010c28..."} 
[2026-08-23 07:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6f93e8012d7bd58005e1dcd00005010c28..."} 
[2026-08-23 07:56:10] local.INFO: Processing buffer {"connection_id":162900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6f93e8012d7bd58005e1dcd00005010c28..."} 
[2026-08-23 07:56:10] local.INFO: Packet analysis {"connection_id":162900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6f"} 
[2026-08-23 07:56:10] local.INFO: Extracted packet for processing {"connection_id":162900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6f"} 
[2026-08-23 07:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763090304,"raw_latitude":98688208,"longitude_deg":76.3090304,"latitude_deg":9.8688208,"altitude":5,"angle":268,"satellites":40,"speed":19,"hex_longitude":"2d7bd580","hex_latitude":"05e1dcd0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 07:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587684352001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122494571815895040,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929019605223563264,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787451905000,"timestamp_ms":1787451905000,"timestamp_seconds":1787451905,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6f93e8"} 
[2026-08-23 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-08-23 07:56: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-08-23 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-23 07:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1441151880926331904,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2170453545315148249,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":7994944874803378752,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:10] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3717201927,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805792974,"corrected_to":0} 
[2026-08-23 07:56:10] local.WARNING: Large IO value detected {"io_id":251,"raw_value":2415996284,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:10] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-4971747870450332075,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:10] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:10] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,61,85,24,241,157,16,47,160,77,45,64,216,5,39,10,66,34,192,221,4,11,1,240,7,227,44,225,113,205,23,251,55,184,38,239,51,2,179,6,21,59,12],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2805792974,"validated":0}]} 
[2026-08-23 07:56:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288540610230091776,"timestamp_seconds":288540610230091.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 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-08-23 07:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":162900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":162900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":162900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587684352001,"66":13048,"61":206,"85":15104,"24":19,"16":122494571815895040,"45":8929019605223563264},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-23 07:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587684352001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:56:10] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 07:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122494571815895040,"km_value":122494571815895.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929019605223563264,"description":"Unknown IO ID 45"} 
[2026-08-23 07:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587684352001,"power":13048,"unknown_61":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8929019605223563264}} 
[2026-08-23 07:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":162900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:56:10] local.INFO: GPS data processed {"connection_id":162900,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:56:10] local.INFO: Acknowledgment sent {"connection_id":162900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:56:24] local.INFO: TCP Data received {"connection_id":160534,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:56:24] local.INFO: Processing buffer {"connection_id":160534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:56:24] local.INFO: Packet analysis {"connection_id":160534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:56:24] local.INFO: Extracted packet for processing {"connection_id":160534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:56:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587583744001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787451800000,"timestamp_ms":1787451800000,"timestamp_seconds":1787451800,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6df9c0"} 
[2026-08-23 07:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:56: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-08-23 07:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 07:56:24] 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-08-23 07:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:56:24] 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-08-23 07:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587583744001,"66":25702,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587583744001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:56:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:56:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587583744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":160534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:56:24] local.INFO: GPS data processed {"connection_id":160534,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:56:24] local.INFO: Acknowledgment sent {"connection_id":160534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:56:35] local.INFO: TCP Data received {"connection_id":160328,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:56:35] local.INFO: Processing buffer {"connection_id":160328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:56:35] local.INFO: IMEI packet received {"connection_id":160328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 07:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":160328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:56:35] local.INFO: TCP Data received {"connection_id":160328,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:56:35] local.INFO: Processing buffer {"connection_id":160328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:56:35] local.INFO: IMEI packet received {"connection_id":160328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 07:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":160328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:56:40] local.INFO: TCP Data received {"connection_id":160328,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:56:40] local.INFO: Processing buffer {"connection_id":160328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:56:40] local.INFO: IMEI packet received {"connection_id":160328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 07:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":160328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:56:41] local.INFO: TCP Data received {"connection_id":160328,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6ff978012d17bac007216218003d01100d..."} 
[2026-08-23 07:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6ff978012d17bac007216218003d01100d..."} 
[2026-08-23 07:56:41] local.INFO: Processing buffer {"connection_id":160328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6ff978012d17bac007216218003d01100d..."} 
[2026-08-23 07:56:41] local.INFO: Packet analysis {"connection_id":160328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6f"} 
[2026-08-23 07:56:41] local.INFO: Extracted packet for processing {"connection_id":160328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6f"} 
[2026-08-23 07:56:41] local.INFO: GPS Element Parsed {"raw_longitude":756529856,"raw_latitude":119628312,"longitude_deg":75.6529856,"latitude_deg":11.9628312,"altitude":61,"angle":272,"satellites":13,"speed":12,"hex_longitude":"2d17bac0","hex_latitude":"07216218","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587694080001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15166826602299392,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710241989118781440,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787451931000,"timestamp_ms":1787451931000,"timestamp_seconds":1787451931,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6ff978"} 
[2026-08-23 07:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-23 07:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 07:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 07:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587694080001,"66":14483,"107":206,"83":41984,"24":12,"16":15166826602299392,"45":1710241989118781440},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 07:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 07:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 07:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587694080001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:56:41] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 07:56:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 07:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15166826602299392,"km_value":15166826602299.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710241989118781440,"description":"Unknown IO ID 45"} 
[2026-08-23 07:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587694080001,"power":14483,"unknown_107":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1710241989118781440}} 
[2026-08-23 07:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":160328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:56:41] local.INFO: GPS data processed {"connection_id":160328,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:56:41] local.INFO: Acknowledgment sent {"connection_id":160328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:56:42] local.INFO: TCP Data received {"connection_id":162900,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6f9bb8012d7bd28005e1dc38000500ff28..."} 
[2026-08-23 07:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6f9bb8012d7bd28005e1dc38000500ff28..."} 
[2026-08-23 07:56:42] local.INFO: Processing buffer {"connection_id":162900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6f9bb8012d7bd28005e1dc38000500ff28..."} 
[2026-08-23 07:56:42] local.INFO: Packet analysis {"connection_id":162900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6f"} 
[2026-08-23 07:56:42] local.INFO: Extracted packet for processing {"connection_id":162900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6f"} 
[2026-08-23 07:56:42] local.INFO: GPS Element Parsed {"raw_longitude":763089536,"raw_latitude":98688056,"longitude_deg":76.3089536,"latitude_deg":9.8688056,"altitude":5,"angle":255,"satellites":40,"speed":9,"hex_longitude":"2d7bd280","hex_latitude":"05e1dc38","is_valid_coordinates":true} 
[2026-08-23 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-08-23 07:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587687680001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122494610470600704,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923178999457042432,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787451907000,"timestamp_ms":1787451907000,"timestamp_seconds":1787451907,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6f9bb8"} 
[2026-08-23 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-08-23 07:56: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-08-23 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-23 07:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 07:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587687680001,"66":12515,"61":206,"85":15104,"24":9,"16":122494610470600704,"45":8923178999457042432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-23 07:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587687680001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:56:42] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 07:56:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122494610470600704,"km_value":122494610470600.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923178999457042432,"description":"Unknown IO ID 45"} 
[2026-08-23 07:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587687680001,"power":12515,"unknown_61":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8923178999457042432}} 
[2026-08-23 07:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":162900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:56:42] local.INFO: GPS data processed {"connection_id":162900,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:56:42] local.INFO: Acknowledgment sent {"connection_id":162900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:56:46] local.INFO: TCP Data received {"connection_id":160328,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c704b80012d17b14007216270003c01130f..."} 
[2026-08-23 07:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c704b80012d17b14007216270003c01130f..."} 
[2026-08-23 07:56:46] local.INFO: Processing buffer {"connection_id":160328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c704b80012d17b14007216270003c01130f..."} 
[2026-08-23 07:56:46] local.INFO: Packet analysis {"connection_id":160328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c70"} 
[2026-08-23 07:56:46] local.INFO: Extracted packet for processing {"connection_id":160328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c70"} 
[2026-08-23 07:56:46] local.INFO: GPS Element Parsed {"raw_longitude":756527424,"raw_latitude":119628400,"longitude_deg":75.6527424,"latitude_deg":11.96284,"altitude":60,"angle":275,"satellites":15,"speed":0,"hex_longitude":"2d17b140","hex_latitude":"07216270","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587694336001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15166946861383680,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1709890145397905408,"note":"Value kept but may cause issues"} 
[2026-08-23 07:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787451952000,"timestamp_ms":1787451952000,"timestamp_seconds":1787451952,"priority":1,"record_length":96,"hex_timestamp":"000001a02c704b80"} 
[2026-08-23 07:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-23 07:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 07:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 07:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587694336001,"66":12993,"107":206,"83":41984,"24":0,"16":15166946861383680,"45":1709890145397905408},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 07:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 07:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 07:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587694336001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:56:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 07:56:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 07:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15166946861383680,"km_value":15166946861383.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1709890145397905408,"description":"Unknown IO ID 45"} 
[2026-08-23 07:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587694336001,"power":12993,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1709890145397905408}} 
[2026-08-23 07:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":160328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:56:46] local.INFO: GPS data processed {"connection_id":160328,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:56:46] local.INFO: Acknowledgment sent {"connection_id":160328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:56:46] local.INFO: TCP Data received {"connection_id":160329,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:56:46] local.INFO: Processing buffer {"connection_id":160329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:56:46] local.INFO: IMEI packet received {"connection_id":160329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":160329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:56:52] local.INFO: TCP Data received {"connection_id":160329,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:56:52] local.INFO: Processing buffer {"connection_id":160329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:56:52] local.INFO: IMEI packet received {"connection_id":160329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":160329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:57:06] local.INFO: TCP Data received {"connection_id":160329,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:57:06] local.INFO: Processing buffer {"connection_id":160329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:57:06] local.INFO: Packet analysis {"connection_id":160329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:57:06] local.INFO: Extracted packet for processing {"connection_id":160329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:57:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587583744001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787451800000,"timestamp_ms":1787451800000,"timestamp_seconds":1787451800,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6df9c0"} 
[2026-08-23 07:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 07:57:06] 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-08-23 07:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587583744001,"66":25702,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587583744001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:57:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:57:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587583744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":160329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:57:06] local.INFO: GPS data processed {"connection_id":160329,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:57:06] local.INFO: Acknowledgment sent {"connection_id":160329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:57:07] local.INFO: TCP Data received {"connection_id":162901,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:57:07] local.INFO: Processing buffer {"connection_id":162901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:57:07] local.INFO: IMEI packet received {"connection_id":162901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":162901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:57:11] local.INFO: TCP Data received {"connection_id":162901,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:57:11] local.INFO: Processing buffer {"connection_id":162901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:57:11] local.INFO: IMEI packet received {"connection_id":162901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":162901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:57:12] local.INFO: TCP Data received {"connection_id":162901,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c711e70012d7b424005e1acb0000a00e226..."} 
[2026-08-23 07:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c711e70012d7b424005e1acb0000a00e226..."} 
[2026-08-23 07:57:12] local.INFO: Processing buffer {"connection_id":162901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c711e70012d7b424005e1acb0000a00e226..."} 
[2026-08-23 07:57:12] local.INFO: Packet analysis {"connection_id":162901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c71"} 
[2026-08-23 07:57:12] local.INFO: Extracted packet for processing {"connection_id":162901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c71"} 
[2026-08-23 07:57:12] local.INFO: GPS Element Parsed {"raw_longitude":763052608,"raw_latitude":98675888,"longitude_deg":76.3052608,"latitude_deg":9.8675888,"altitude":10,"angle":226,"satellites":38,"speed":7,"hex_longitude":"2d7b4240","hex_latitude":"05e1acb0","is_valid_coordinates":true} 
[2026-08-23 07:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587711232001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122496521731047424,"note":"Value kept but may cause issues"} 
[2026-08-23 07:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885742827551645696,"note":"Value kept but may cause issues"} 
[2026-08-23 07:57:12] 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-08-23 07:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787452006000,"timestamp_ms":1787452006000,"timestamp_seconds":1787452006,"priority":1,"record_length":96,"hex_timestamp":"000001a02c711e70"} 
[2026-08-23 07:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 07:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587711232001,"66":13189,"216":206,"85":15104,"24":7,"16":122496521731047424,"45":8885742827551645696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-23 07:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587711232001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:57:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 07:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122496521731047424,"km_value":122496521731047.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885742827551645696,"description":"Unknown IO ID 45"} 
[2026-08-23 07:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587711232001,"power":13189,"unknown_216":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8885742827551645696}} 
[2026-08-23 07:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":162901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:57:12] local.INFO: GPS data processed {"connection_id":162901,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:57:12] local.INFO: Acknowledgment sent {"connection_id":162901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:57:30] local.INFO: TCP Data received {"connection_id":162902,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:57:30] local.INFO: Processing buffer {"connection_id":162902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:57:30] local.INFO: IMEI packet received {"connection_id":162902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 07:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":162902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:57:35] local.INFO: TCP Data received {"connection_id":162902,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:57:35] local.INFO: Processing buffer {"connection_id":162902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:57:35] local.INFO: IMEI packet received {"connection_id":162902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 07:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":162902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:57:39] local.INFO: TCP Data received {"connection_id":162902,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c709d88012d17b14007216270003c01130f..."} 
[2026-08-23 07:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c709d88012d17b14007216270003c01130f..."} 
[2026-08-23 07:57:39] local.INFO: Processing buffer {"connection_id":162902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c709d88012d17b14007216270003c01130f..."} 
[2026-08-23 07:57:39] local.INFO: Packet analysis {"connection_id":162902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c70"} 
[2026-08-23 07:57:39] local.INFO: Extracted packet for processing {"connection_id":162902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c70"} 
[2026-08-23 07:57:39] local.INFO: GPS Element Parsed {"raw_longitude":756527424,"raw_latitude":119628400,"longitude_deg":75.6527424,"latitude_deg":11.96284,"altitude":60,"angle":275,"satellites":15,"speed":0,"hex_longitude":"2d17b140","hex_latitude":"07216270","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587699712001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15166946861383680,"note":"Value kept but may cause issues"} 
[2026-08-23 07:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707216133119176704,"note":"Value kept but may cause issues"} 
[2026-08-23 07:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787451973000,"timestamp_ms":1787451973000,"timestamp_seconds":1787451973,"priority":1,"record_length":96,"hex_timestamp":"000001a02c709d88"} 
[2026-08-23 07:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-23 07:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":162902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":162902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":162902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 07:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 07:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587699712001,"66":13059,"107":206,"83":41984,"24":0,"16":15166946861383680,"45":1707216133119176704},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 07:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 07:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 07:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587699712001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:57:39] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 07:57:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 07:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15166946861383680,"km_value":15166946861383.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707216133119176704,"description":"Unknown IO ID 45"} 
[2026-08-23 07:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587699712001,"power":13059,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1707216133119176704}} 
[2026-08-23 07:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":162902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:57:39] local.INFO: GPS data processed {"connection_id":162902,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:57:39] local.INFO: Acknowledgment sent {"connection_id":162902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:57:43] local.INFO: TCP Data received {"connection_id":162901,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c712258012d7b420005e1ac20000a00d226..."} 
[2026-08-23 07:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c712258012d7b420005e1ac20000a00d226..."} 
[2026-08-23 07:57:43] local.INFO: Processing buffer {"connection_id":162901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c712258012d7b420005e1ac20000a00d226..."} 
[2026-08-23 07:57:43] local.INFO: Packet analysis {"connection_id":162901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c71"} 
[2026-08-23 07:57:43] local.INFO: Extracted packet for processing {"connection_id":162901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c71"} 
[2026-08-23 07:57:43] local.INFO: GPS Element Parsed {"raw_longitude":763052544,"raw_latitude":98675744,"longitude_deg":76.3052544,"latitude_deg":9.8675744,"altitude":10,"angle":210,"satellites":38,"speed":5,"hex_longitude":"2d7b4200","hex_latitude":"05e1ac20","is_valid_coordinates":true} 
[2026-08-23 07:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587713536001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122496530320982016,"note":"Value kept but may cause issues"} 
[2026-08-23 07:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881731809133244416,"note":"Value kept but may cause issues"} 
[2026-08-23 07:57: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-08-23 07:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787452007000,"timestamp_ms":1787452007000,"timestamp_seconds":1787452007,"priority":1,"record_length":96,"hex_timestamp":"000001a02c712258"} 
[2026-08-23 07:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 07:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587713536001,"66":12939,"216":206,"85":15104,"24":5,"16":122496530320982016,"45":8881731809133244416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-23 07:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587713536001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:57:43] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 07:57:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122496530320982016,"km_value":122496530320982.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881731809133244416,"description":"Unknown IO ID 45"} 
[2026-08-23 07:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587713536001,"power":12939,"unknown_216":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8881731809133244416}} 
[2026-08-23 07:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":162901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:57:43] local.INFO: GPS data processed {"connection_id":162901,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:57:43] local.INFO: Acknowledgment sent {"connection_id":162901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:57:46] local.INFO: TCP Data received {"connection_id":160535,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:57:46] local.INFO: Processing buffer {"connection_id":160535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:57:46] local.INFO: IMEI packet received {"connection_id":160535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":160535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:57:52] local.INFO: TCP Data received {"connection_id":160535,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:57:52] local.INFO: Processing buffer {"connection_id":160535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:57:52] local.INFO: IMEI packet received {"connection_id":160535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":160535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:57:53] local.INFO: TCP Data received {"connection_id":160535,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:57:53] local.INFO: Processing buffer {"connection_id":160535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:57:53] local.INFO: Packet analysis {"connection_id":160535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:57:53] local.INFO: Extracted packet for processing {"connection_id":160535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:57:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587583744001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787451800000,"timestamp_ms":1787451800000,"timestamp_seconds":1787451800,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6df9c0"} 
[2026-08-23 07:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 07:57:53] 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-08-23 07: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-08-23 07:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:57:53] 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-08-23 07:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587583744001,"66":25702,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587583744001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:57:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:57:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587583744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":160535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:57:53] local.INFO: GPS data processed {"connection_id":160535,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:57:53] local.INFO: Acknowledgment sent {"connection_id":160535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:58:06] local.INFO: TCP Data received {"connection_id":160330,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:58:06] local.INFO: Processing buffer {"connection_id":160330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:58:06] local.INFO: IMEI packet received {"connection_id":160330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":160330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:58:10] local.INFO: TCP Data received {"connection_id":162902,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c70ef90012d17b14007216270003c011310..."} 
[2026-08-23 07:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c70ef90012d17b14007216270003c011310..."} 
[2026-08-23 07:58:10] local.INFO: Processing buffer {"connection_id":162902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c70ef90012d17b14007216270003c011310..."} 
[2026-08-23 07:58:10] local.INFO: Packet analysis {"connection_id":162902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c70"} 
[2026-08-23 07:58:10] local.INFO: Extracted packet for processing {"connection_id":162902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c70"} 
[2026-08-23 07:58:10] local.INFO: GPS Element Parsed {"raw_longitude":756527424,"raw_latitude":119628400,"longitude_deg":75.6527424,"latitude_deg":11.96284,"altitude":60,"angle":275,"satellites":16,"speed":0,"hex_longitude":"2d17b140","hex_latitude":"07216270","is_valid_coordinates":true} 
[2026-08-23 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-08-23 07:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587705088001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15166946861383680,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707216133119176704,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787451994000,"timestamp_ms":1787451994000,"timestamp_seconds":1787451994,"priority":1,"record_length":96,"hex_timestamp":"000001a02c70ef90"} 
[2026-08-23 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-08-23 07:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-23 07:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303185980869994,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:10] local.WARNING: Large IO value detected {"io_id":107,"raw_value":58075809043709964,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-23 07:58:10] local.WARNING: Large IO value detected {"io_id":191,"raw_value":2147950942,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:10] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3792961536,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:10] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,107,83,24,241,157,16,226,160,75,45,64,98,60,15,10,66,249,192,61,13,245,1,240,147,227,44,33,4,113,205,12,191,56,239,55,2,53,7,63],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-23 07:58:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323758072397824000,"timestamp_seconds":4323758072397824,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 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-08-23 07:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":162902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":162902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":162902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 07:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 07:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587705088001,"66":12993,"107":206,"83":41984,"24":0,"16":15166946861383680,"45":1707216133119176704},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 07:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 07:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 07:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587705088001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:58:10] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 07:58:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 07:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15166946861383680,"km_value":15166946861383.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707216133119176704,"description":"Unknown IO ID 45"} 
[2026-08-23 07:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587705088001,"power":12993,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1707216133119176704}} 
[2026-08-23 07:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":162902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:58:10] local.INFO: GPS data processed {"connection_id":162902,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:58:10] local.INFO: Acknowledgment sent {"connection_id":162902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:58:10] local.INFO: TCP Data received {"connection_id":160330,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:58:10] local.INFO: Processing buffer {"connection_id":160330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:58:10] local.INFO: IMEI packet received {"connection_id":160330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":160330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:58:11] local.INFO: TCP Data received {"connection_id":160330,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c720cb8012d7b468005e15e580003012126..."} 
[2026-08-23 07:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c720cb8012d7b468005e15e580003012126..."} 
[2026-08-23 07:58:11] local.INFO: Processing buffer {"connection_id":160330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c720cb8012d7b468005e15e580003012126..."} 
[2026-08-23 07:58:11] local.INFO: Packet analysis {"connection_id":160330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 07:58:11] local.INFO: Extracted packet for processing {"connection_id":160330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 07:58:11] local.INFO: GPS Element Parsed {"raw_longitude":763053696,"raw_latitude":98655832,"longitude_deg":76.3053696,"latitude_deg":9.8655832,"altitude":3,"angle":289,"satellites":38,"speed":7,"hex_longitude":"2d7b4680","hex_latitude":"05e15e58","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587728896001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122497543933263872,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883068815267479552,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:11] 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-08-23 07:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787452067000,"timestamp_ms":1787452067000,"timestamp_seconds":1787452067,"priority":1,"record_length":96,"hex_timestamp":"000001a02c720cb8"} 
[2026-08-23 07:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:58: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-08-23 07: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 07:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587728896001,"66":13319,"216":206,"85":15104,"24":7,"16":122497543933263872,"45":8883068815267479552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-23 07:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587728896001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:58:11] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 07:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122497543933263872,"km_value":122497543933263.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883068815267479552,"description":"Unknown IO ID 45"} 
[2026-08-23 07:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587728896001,"power":13319,"unknown_216":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8883068815267479552}} 
[2026-08-23 07:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":160330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:58:11] local.INFO: GPS data processed {"connection_id":160330,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:58:11] local.INFO: Acknowledgment sent {"connection_id":160330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:58:24] local.INFO: TCP Data received {"connection_id":160535,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:58:24] local.INFO: Processing buffer {"connection_id":160535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:58:24] local.INFO: Packet analysis {"connection_id":160535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:58:24] local.INFO: Extracted packet for processing {"connection_id":160535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:58:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587583744001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787451800000,"timestamp_ms":1787451800000,"timestamp_seconds":1787451800,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6df9c0"} 
[2026-08-23 07:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:58: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-08-23 07:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 07:58:24] 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-08-23 07:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587583744001,"66":25702,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587583744001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:58:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:58:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587583744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":160535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:58:24] local.INFO: GPS data processed {"connection_id":160535,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:58:24] local.INFO: Acknowledgment sent {"connection_id":160535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:58:30] local.INFO: TCP Data received {"connection_id":160331,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:58:30] local.INFO: Processing buffer {"connection_id":160331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:58:30] local.INFO: IMEI packet received {"connection_id":160331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 07:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":160331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:58:35] local.INFO: TCP Data received {"connection_id":160331,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:58:35] local.INFO: Processing buffer {"connection_id":160331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:58:35] local.INFO: IMEI packet received {"connection_id":160331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 07:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":160331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:58:36] local.INFO: TCP Data received {"connection_id":160331,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c714198012d17b14007216270003c011310..."} 
[2026-08-23 07:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c714198012d17b14007216270003c011310..."} 
[2026-08-23 07:58:36] local.INFO: Processing buffer {"connection_id":160331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c714198012d17b14007216270003c011310..."} 
[2026-08-23 07:58:36] local.INFO: Packet analysis {"connection_id":160331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c71"} 
[2026-08-23 07:58:36] local.INFO: Extracted packet for processing {"connection_id":160331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c71"} 
[2026-08-23 07:58:36] local.INFO: GPS Element Parsed {"raw_longitude":756527424,"raw_latitude":119628400,"longitude_deg":75.6527424,"latitude_deg":11.96284,"altitude":60,"angle":275,"satellites":16,"speed":0,"hex_longitude":"2d17b140","hex_latitude":"07216270","is_valid_coordinates":true} 
[2026-08-23 07:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587710464001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15166946861383680,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707216133119176704,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787452015000,"timestamp_ms":1787452015000,"timestamp_seconds":1787452015,"priority":1,"record_length":96,"hex_timestamp":"000001a02c714198"} 
[2026-08-23 07:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-23 07:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 07:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 07:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587710464001,"66":12917,"107":206,"83":41984,"24":0,"16":15166946861383680,"45":1707216133119176704},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 07:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 07:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 07:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587710464001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:58:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 07:58:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 07:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15166946861383680,"km_value":15166946861383.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707216133119176704,"description":"Unknown IO ID 45"} 
[2026-08-23 07:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587710464001,"power":12917,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1707216133119176704}} 
[2026-08-23 07:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":160331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:58:36] local.INFO: GPS data processed {"connection_id":160331,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:58:36] local.INFO: Acknowledgment sent {"connection_id":160331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:58:43] local.INFO: TCP Data received {"connection_id":160330,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7210a0012d7b458005e15ed80003013a26..."} 
[2026-08-23 07:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7210a0012d7b458005e15ed80003013a26..."} 
[2026-08-23 07:58:43] local.INFO: Processing buffer {"connection_id":160330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7210a0012d7b458005e15ed80003013a26..."} 
[2026-08-23 07:58:43] local.INFO: Packet analysis {"connection_id":160330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 07:58:43] local.INFO: Extracted packet for processing {"connection_id":160330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 07:58:43] local.INFO: GPS Element Parsed {"raw_longitude":763053440,"raw_latitude":98655960,"longitude_deg":76.305344,"latitude_deg":9.865596,"altitude":3,"angle":314,"satellites":38,"speed":9,"hex_longitude":"2d7b4580","hex_latitude":"05e15ed8","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587729152001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122497556818165760,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882928077779130368,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58: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-08-23 07:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787452068000,"timestamp_ms":1787452068000,"timestamp_seconds":1787452068,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7210a0"} 
[2026-08-23 07:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:58:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 07:58:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:43] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3590324224,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:43] local.WARNING: Large IO value detected {"io_id":225,"raw_value":7167478815561557248,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:43] local.WARNING: Large IO value detected {"io_id":113,"raw_value":-3587115808347013115,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607991502,"corrected_to":0} 
[2026-08-23 07:58:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3781294080,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:43] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817311,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:43] local.WARNING: Large IO value detected {"io_id":46,"raw_value":57807751556781371,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:43] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,216,85,24,241,157,16,50,160,8,45,94,3,37,10,66,1,128,253,240,221,227,44,225,4,113,205,5,74,239,49,2,179,46],"length":527,"final_offset":657,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1607991502,"validated":0}]} 
[2026-08-23 07:58:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216490704183427072,"timestamp_seconds":216490704183427.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 07:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587729152001,"66":13319,"216":206,"85":15104,"24":9,"16":122497556818165760,"45":8882928077779130368},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-23 07:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587729152001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:58:43] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 07:58:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122497556818165760,"km_value":122497556818165.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882928077779130368,"description":"Unknown IO ID 45"} 
[2026-08-23 07:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587729152001,"power":13319,"unknown_216":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8882928077779130368}} 
[2026-08-23 07:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":160330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:58:43] local.INFO: GPS data processed {"connection_id":160330,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:58:43] local.INFO: Acknowledgment sent {"connection_id":160330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:58:46] local.INFO: TCP Data received {"connection_id":160332,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:58:46] local.INFO: Processing buffer {"connection_id":160332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:58:46] local.INFO: IMEI packet received {"connection_id":160332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":160332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:58:53] local.INFO: TCP Data received {"connection_id":160332,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:58:53] local.INFO: Processing buffer {"connection_id":160332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:58:53] local.INFO: IMEI packet received {"connection_id":160332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":160332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:58:53] local.INFO: TCP Data received {"connection_id":160332,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:58:53] local.INFO: Processing buffer {"connection_id":160332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c6df9c0012d34c50006aa40980009008525..."} 
[2026-08-23 07:58:53] local.INFO: Packet analysis {"connection_id":160332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:58:53] local.INFO: Extracted packet for processing {"connection_id":160332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c6d"} 
[2026-08-23 07:58:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587583744001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787451800000,"timestamp_ms":1787451800000,"timestamp_seconds":1787451800,"priority":1,"record_length":96,"hex_timestamp":"000001a02c6df9c0"} 
[2026-08-23 07:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 07:58:53] 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-08-23 07: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-08-23 07:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:58:53] 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-08-23 07:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587583744001,"66":25702,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587583744001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:58:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:58:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587583744001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":160332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:58:53] local.INFO: GPS data processed {"connection_id":160332,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:58:53] local.INFO: Acknowledgment sent {"connection_id":160332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:59:06] local.INFO: TCP Data received {"connection_id":160536,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:59:06] local.INFO: Processing buffer {"connection_id":160536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:59:06] local.INFO: IMEI packet received {"connection_id":160536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 07:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":160536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:59:07] local.INFO: TCP Data received {"connection_id":160331,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7193a0012d17b14007216270003c011311..."} 
[2026-08-23 07:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7193a0012d17b14007216270003c011311..."} 
[2026-08-23 07:59:07] local.INFO: Processing buffer {"connection_id":160331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7193a0012d17b14007216270003c011311..."} 
[2026-08-23 07:59:07] local.INFO: Packet analysis {"connection_id":160331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c71"} 
[2026-08-23 07:59:07] local.INFO: Extracted packet for processing {"connection_id":160331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c71"} 
[2026-08-23 07:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756527424,"raw_latitude":119628400,"longitude_deg":75.6527424,"latitude_deg":11.96284,"altitude":60,"angle":275,"satellites":17,"speed":0,"hex_longitude":"2d17b140","hex_latitude":"07216270","is_valid_coordinates":true} 
[2026-08-23 07:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587715840001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15166946861383680,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707216133119176704,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787452036000,"timestamp_ms":1787452036000,"timestamp_seconds":1787452036,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7193a0"} 
[2026-08-23 07:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 07:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 07:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 07:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587715840001,"66":12885,"107":206,"83":41984,"24":0,"16":15166946861383680,"45":1707216133119176704},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 07:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 07:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 07:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587715840001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:59:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 07:59:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 07:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15166946861383680,"km_value":15166946861383.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707216133119176704,"description":"Unknown IO ID 45"} 
[2026-08-23 07:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587715840001,"power":12885,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1707216133119176704}} 
[2026-08-23 07:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":160331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:59:07] local.INFO: GPS data processed {"connection_id":160331,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:59:07] local.INFO: Acknowledgment sent {"connection_id":160331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:59:11] local.INFO: TCP Data received {"connection_id":160536,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:59:11] local.INFO: Processing buffer {"connection_id":160536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 07:59:11] local.INFO: IMEI packet received {"connection_id":160536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 07:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":160536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:59:12] local.INFO: TCP Data received {"connection_id":160536,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c721488012d7b448005e15f980003015226..."} 
[2026-08-23 07:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c721488012d7b448005e15f980003015226..."} 
[2026-08-23 07:59:12] local.INFO: Processing buffer {"connection_id":160536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c721488012d7b448005e15f980003015226..."} 
[2026-08-23 07:59:12] local.INFO: Packet analysis {"connection_id":160536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 07:59:12] local.INFO: Extracted packet for processing {"connection_id":160536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 07:59:12] local.INFO: GPS Element Parsed {"raw_longitude":763053184,"raw_latitude":98656152,"longitude_deg":76.3053184,"latitude_deg":9.8656152,"altitude":3,"angle":338,"satellites":38,"speed":10,"hex_longitude":"2d7b4480","hex_latitude":"05e15f98","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587729408001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122497573998034944,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882646602802452480,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:12] 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-08-23 07:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787452069000,"timestamp_ms":1787452069000,"timestamp_seconds":1787452069,"priority":1,"record_length":96,"hex_timestamp":"000001a02c721488"} 
[2026-08-23 07:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 07:59:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:12] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3623878656,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:12] local.WARNING: Large IO value detected {"io_id":221,"raw_value":57807751556781371,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:12] local.WARNING: Large IO value detected {"io_id":225,"raw_value":7059392428798846720,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:12] local.WARNING: Large IO value detected {"io_id":113,"raw_value":-1898265948083060731,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607991502,"corrected_to":0} 
[2026-08-23 07:59:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3781206016,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:12] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,216,85,24,241,157,16,50,160,12,45,128,94,3,38,10,66,8,37,1,240,221,227,44,225,4,113,205,5,249,73,136,239,49,2,179],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1607991502,"validated":0}]} 
[2026-08-23 07:59:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216518191974252544,"timestamp_seconds":216518191974252.53,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 07:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587729408001,"66":13135,"216":206,"85":15104,"24":10,"16":122497573998034944,"45":8882646602802452480},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-23 07:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587729408001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:59:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 07:59:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122497573998034944,"km_value":122497573998034.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882646602802452480,"description":"Unknown IO ID 45"} 
[2026-08-23 07:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587729408001,"power":13135,"unknown_216":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8882646602802452480}} 
[2026-08-23 07:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":160536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:59:12] local.INFO: GPS data processed {"connection_id":160536,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:59:12] local.INFO: Acknowledgment sent {"connection_id":160536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:59:24] local.INFO: TCP Data received {"connection_id":160332,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 07:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 07:59:24] local.INFO: Processing buffer {"connection_id":160332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 07:59:24] local.INFO: Packet analysis {"connection_id":160332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 07:59:24] local.INFO: Extracted packet for processing {"connection_id":160332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 07:59:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587660800001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787452101000,"timestamp_ms":1787452101000,"timestamp_seconds":1787452101,"priority":1,"record_length":96,"hex_timestamp":"000001a02c729188"} 
[2026-08-23 07:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:59: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-08-23 07:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-23 07:59:24] 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-08-23 07:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:59:24] 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-08-23 07:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587660800001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587660800001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:59:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:59:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587660800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":160332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:59:24] local.INFO: GPS data processed {"connection_id":160332,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:59:24] local.INFO: Acknowledgment sent {"connection_id":160332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:59:30] local.INFO: TCP Data received {"connection_id":162903,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:59:30] local.INFO: Processing buffer {"connection_id":162903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:59:30] local.INFO: IMEI packet received {"connection_id":162903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 07:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":162903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:59:32] local.INFO: TCP Data received {"connection_id":162903,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:59:32] local.INFO: Processing buffer {"connection_id":162903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:59:32] local.INFO: IMEI packet received {"connection_id":162903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 07:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":162903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:59:35] local.INFO: TCP Data received {"connection_id":162903,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:59:35] local.INFO: Processing buffer {"connection_id":162903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 07:59:35] local.INFO: IMEI packet received {"connection_id":162903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 07:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":162903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:59:36] local.INFO: TCP Data received {"connection_id":162903,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c734d08012d17b68007216300003c005d16..."} 
[2026-08-23 07:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c734d08012d17b68007216300003c005d16..."} 
[2026-08-23 07:59:36] local.INFO: Processing buffer {"connection_id":162903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c734d08012d17b68007216300003c005d16..."} 
[2026-08-23 07:59:36] local.INFO: Packet analysis {"connection_id":162903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c73"} 
[2026-08-23 07:59:36] local.INFO: Extracted packet for processing {"connection_id":162903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c73"} 
[2026-08-23 07:59:36] local.INFO: GPS Element Parsed {"raw_longitude":756528768,"raw_latitude":119628544,"longitude_deg":75.6528768,"latitude_deg":11.9628544,"altitude":60,"angle":93,"satellites":22,"speed":5,"hex_longitude":"2d17b680","hex_latitude":"07216300","is_valid_coordinates":true} 
[2026-08-23 07:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587749376001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15167019875827712,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1708201295537700864,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787452149000,"timestamp_ms":1787452149000,"timestamp_seconds":1787452149,"priority":1,"record_length":96,"hex_timestamp":"000001a02c734d08"} 
[2026-08-23 07:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-23 07:59:36] 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-08-23 07:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 07:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 07:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 07:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587749376001,"66":14113,"107":206,"83":41984,"24":5,"16":15167019875827712,"45":1708201295537700864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 07:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 07:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 07:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587749376001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:59:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 07:59:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 07:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15167019875827712,"km_value":15167019875827.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1708201295537700864,"description":"Unknown IO ID 45"} 
[2026-08-23 07:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587749376001,"power":14113,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1708201295537700864}} 
[2026-08-23 07:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":162903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:59:36] local.INFO: GPS data processed {"connection_id":162903,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:59:36] local.INFO: Acknowledgment sent {"connection_id":162903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:59:43] local.INFO: TCP Data received {"connection_id":160536,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c721c58012d7b440005e161d80003016127..."} 
[2026-08-23 07:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c721c58012d7b440005e161d80003016127..."} 
[2026-08-23 07:59:43] local.INFO: Processing buffer {"connection_id":160536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c721c58012d7b440005e161d80003016127..."} 
[2026-08-23 07:59:43] local.INFO: Packet analysis {"connection_id":160536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 07:59:43] local.INFO: Extracted packet for processing {"connection_id":160536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 07:59:43] local.INFO: GPS Element Parsed {"raw_longitude":763053056,"raw_latitude":98656728,"longitude_deg":76.3053056,"latitude_deg":9.8656728,"altitude":3,"angle":353,"satellites":39,"speed":12,"hex_longitude":"2d7b4400","hex_latitude":"05e161d8","is_valid_coordinates":true} 
[2026-08-23 07: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-08-23 07:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587729664001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122497599767838720,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882365127825790976,"note":"Value kept but may cause issues"} 
[2026-08-23 07: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-08-23 07:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787452071000,"timestamp_ms":1787452071000,"timestamp_seconds":1787452071,"priority":1,"record_length":96,"hex_timestamp":"000001a02c721c58"} 
[2026-08-23 07:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 07: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 07:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 07: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-08-23 07:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 07:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 07:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 07:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587729664001,"66":13124,"216":206,"85":15104,"24":12,"16":122497599767838720,"45":8882365127825790976},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-23 07:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 07:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 07:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587729664001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:59:43] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 07:59:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 07:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122497599767838720,"km_value":122497599767838.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882365127825790976,"description":"Unknown IO ID 45"} 
[2026-08-23 07:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587729664001,"power":13124,"unknown_216":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8882365127825790976}} 
[2026-08-23 07:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":160536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:59:43] local.INFO: GPS data processed {"connection_id":160536,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:59:43] local.INFO: Acknowledgment sent {"connection_id":160536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 07:59:46] local.INFO: TCP Data received {"connection_id":162904,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:59:47] local.INFO: Processing buffer {"connection_id":162904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:59:47] local.INFO: IMEI packet received {"connection_id":162904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 07:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":162904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 07:59:52] local.INFO: TCP Data received {"connection_id":162904,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:59:52] local.INFO: Processing buffer {"connection_id":162904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 07:59:52] local.INFO: IMEI packet received {"connection_id":162904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 07:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":162904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 07:59:53] local.INFO: TCP Data received {"connection_id":162904,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 07:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 07:59:53] local.INFO: Processing buffer {"connection_id":162904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 07:59:53] local.INFO: Packet analysis {"connection_id":162904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 07:59:53] local.INFO: Extracted packet for processing {"connection_id":162904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 07:59:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 07:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 07:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587660800001,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 07:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 07:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787452101000,"timestamp_ms":1787452101000,"timestamp_seconds":1787452101,"priority":1,"record_length":96,"hex_timestamp":"000001a02c729188"} 
[2026-08-23 07:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 07:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 07:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-23 07:59:53] 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-08-23 07:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 07:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 07:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 07:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 07:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 07:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 07:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 07:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 07:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587660800001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 07:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 07:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 07:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587660800001,"description":"Unknown IO ID 0"} 
[2026-08-23 07:59:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 07:59:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 07:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 07:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 07:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587660800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 07:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":162904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 07:59:53] local.INFO: GPS data processed {"connection_id":162904,"processed":1,"errors":0,"total":1} 
[2026-08-23 07:59:53] local.INFO: Acknowledgment sent {"connection_id":162904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:00:06] local.INFO: TCP Data received {"connection_id":162905,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:00:06] local.INFO: Processing buffer {"connection_id":162905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:00:06] local.INFO: IMEI packet received {"connection_id":162905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":162905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:00:07] local.INFO: TCP Data received {"connection_id":162903,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c736090012d17bb80072162b0003c006b14..."} 
[2026-08-23 08:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c736090012d17bb80072162b0003c006b14..."} 
[2026-08-23 08:00:07] local.INFO: Processing buffer {"connection_id":162903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c736090012d17bb80072162b0003c006b14..."} 
[2026-08-23 08:00:07] local.INFO: Packet analysis {"connection_id":162903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c73"} 
[2026-08-23 08:00:07] local.INFO: Extracted packet for processing {"connection_id":162903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c73"} 
[2026-08-23 08:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756530048,"raw_latitude":119628464,"longitude_deg":75.6530048,"latitude_deg":11.9628464,"altitude":60,"angle":107,"satellites":20,"speed":11,"hex_longitude":"2d17bb80","hex_latitude":"072162b0","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587750144001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15167084300337152,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1708693876746944512,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787452154000,"timestamp_ms":1787452154000,"timestamp_seconds":1787452154,"priority":1,"record_length":96,"hex_timestamp":"000001a02c736090"} 
[2026-08-23 08:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-23 08:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587750144001,"66":14157,"107":206,"83":41984,"24":11,"16":15167084300337152,"45":1708693876746944512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 08:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587750144001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:00:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 08:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15167084300337152,"km_value":15167084300337.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1708693876746944512,"description":"Unknown IO ID 45"} 
[2026-08-23 08:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587750144001,"power":14157,"unknown_107":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1708693876746944512}} 
[2026-08-23 08:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":162903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:00:07] local.INFO: GPS data processed {"connection_id":162903,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:00:07] local.INFO: Acknowledgment sent {"connection_id":162903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:00:07] local.INFO: TCP Data received {"connection_id":162905,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:00:07] local.INFO: Processing buffer {"connection_id":162905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:00:07] local.INFO: IMEI packet received {"connection_id":162905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":162905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:00:11] local.INFO: TCP Data received {"connection_id":162905,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:00:11] local.INFO: Processing buffer {"connection_id":162905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:00:11] local.INFO: IMEI packet received {"connection_id":162905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":162905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:00:13] local.INFO: TCP Data received {"connection_id":162905,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7262a8012d7b3dc005e183f80003015e23..."} 
[2026-08-23 08:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7262a8012d7b3dc005e183f80003015e23..."} 
[2026-08-23 08:00:13] local.INFO: Processing buffer {"connection_id":162905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7262a8012d7b3dc005e183f80003015e23..."} 
[2026-08-23 08:00:13] local.INFO: Packet analysis {"connection_id":162905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 08:00:13] local.INFO: Extracted packet for processing {"connection_id":162905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 08:00:13] local.INFO: GPS Element Parsed {"raw_longitude":763051456,"raw_latitude":98665464,"longitude_deg":76.3051456,"latitude_deg":9.8665464,"altitude":3,"angle":350,"satellites":35,"speed":34,"hex_longitude":"2d7b3dc0","hex_latitude":"05e183f8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 08:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587730176001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122498033559535616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882224390337583104,"note":"Value kept but may cause issues"} 
[2026-08-23 08: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-08-23 08:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787452089000,"timestamp_ms":1787452089000,"timestamp_seconds":1787452089,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7262a8"} 
[2026-08-23 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-08-23 08:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-23 08:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 08:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587730176001,"66":13363,"216":206,"85":15104,"24":34,"16":122498033559535616,"45":8882224390337583104},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-23 08:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587730176001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:00:13] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 08:00:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122498033559535616,"km_value":122498033559535.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882224390337583104,"description":"Unknown IO ID 45"} 
[2026-08-23 08:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587730176001,"power":13363,"unknown_216":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8882224390337583104}} 
[2026-08-23 08:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":162905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:00:13] local.INFO: GPS data processed {"connection_id":162905,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:00:13] local.INFO: Acknowledgment sent {"connection_id":162905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:00:24] local.INFO: TCP Data received {"connection_id":162904,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:00:24] local.INFO: Processing buffer {"connection_id":162904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:00:24] local.INFO: Packet analysis {"connection_id":162904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 08:00:24] local.INFO: Extracted packet for processing {"connection_id":162904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 08:00:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587660800001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787452101000,"timestamp_ms":1787452101000,"timestamp_seconds":1787452101,"priority":1,"record_length":96,"hex_timestamp":"000001a02c729188"} 
[2026-08-23 08:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:00: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-08-23 08:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-23 08:00:24] 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-08-23 08:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587660800001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587660800001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:00:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:00:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587660800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":162904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:00:24] local.INFO: GPS data processed {"connection_id":162904,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:00:24] local.INFO: Acknowledgment sent {"connection_id":162904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:00:29] local.INFO: TCP Data received {"connection_id":160333,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:00:29] local.INFO: Processing buffer {"connection_id":160333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:00:29] local.INFO: IMEI packet received {"connection_id":160333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":160333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:00:30] local.INFO: TCP Data received {"connection_id":160333,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:00:30] local.INFO: Processing buffer {"connection_id":160333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:00:30] local.INFO: IMEI packet received {"connection_id":160333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":160333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:00:35] local.INFO: TCP Data received {"connection_id":160333,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:00:35] local.INFO: Processing buffer {"connection_id":160333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:00:35] local.INFO: IMEI packet received {"connection_id":160333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":160333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:00:36] local.INFO: TCP Data received {"connection_id":160333,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c743768012d18134007219da00046002219..."} 
[2026-08-23 08:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c743768012d18134007219da00046002219..."} 
[2026-08-23 08:00:36] local.INFO: Processing buffer {"connection_id":160333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c743768012d18134007219da00046002219..."} 
[2026-08-23 08:00:36] local.INFO: Packet analysis {"connection_id":160333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c74"} 
[2026-08-23 08:00:36] local.INFO: Extracted packet for processing {"connection_id":160333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c74"} 
[2026-08-23 08:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119643552,"longitude_deg":75.6552512,"latitude_deg":11.9643552,"altitude":70,"angle":34,"satellites":25,"speed":39,"hex_longitude":"2d181340","hex_latitude":"07219da0","is_valid_coordinates":true} 
[2026-08-23 08:00: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-08-23 08:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587763200001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15168613308694528,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727834175165476864,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787452209000,"timestamp_ms":1787452209000,"timestamp_seconds":1787452209,"priority":1,"record_length":96,"hex_timestamp":"000001a02c743768"} 
[2026-08-23 08:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-23 08:00: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-08-23 08:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587763200001,"66":14341,"107":206,"83":41984,"24":39,"16":15168613308694528,"45":1727834175165476864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 08:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587763200001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:00:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 08:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15168613308694528,"km_value":15168613308694.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727834175165476864,"description":"Unknown IO ID 45"} 
[2026-08-23 08:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587763200001,"power":14341,"unknown_107":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1727834175165476864}} 
[2026-08-23 08:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":160333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:00:36] local.INFO: GPS data processed {"connection_id":160333,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:00:36] local.INFO: Acknowledgment sent {"connection_id":160333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:00:44] local.INFO: TCP Data received {"connection_id":162905,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c744ed8012d7b064005e332d8000001641c..."} 
[2026-08-23 08:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c744ed8012d7b064005e332d8000001641c..."} 
[2026-08-23 08:00:44] local.INFO: Processing buffer {"connection_id":162905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c744ed8012d7b064005e332d8000001641c..."} 
[2026-08-23 08:00:44] local.INFO: Packet analysis {"connection_id":162905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c74"} 
[2026-08-23 08:00:44] local.INFO: Extracted packet for processing {"connection_id":162905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c74"} 
[2026-08-23 08:00:44] local.INFO: GPS Element Parsed {"raw_longitude":763037248,"raw_latitude":98775768,"longitude_deg":76.3037248,"latitude_deg":9.8775768,"altitude":0,"angle":356,"satellites":28,"speed":35,"hex_longitude":"2d7b0640","hex_latitude":"05e332d8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587764480001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122503432333426688,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866391422925672448,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:44] 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-08-23 08:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787452215000,"timestamp_ms":1787452215000,"timestamp_seconds":1787452215,"priority":1,"record_length":96,"hex_timestamp":"000001a02c744ed8"} 
[2026-08-23 08:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 08:00:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:44] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2432696320,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:44] local.WARNING: Large IO value detected {"io_id":226,"raw_value":1452410884145029376,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-08-23 08:00:44] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2147869274,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:44] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070414,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3795236864,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:44] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:44] local.WARNING: Large IO value detected {"io_id":114,"raw_value":-360286675337920507,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:44] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,207,85,24,241,157,16,55,160,4,45,192,234,33,10,66,229,198,1,32,54,194,240,166,227,44,226,113,205,40,116,37,136,36,239,51,2,179,5,23,133,114],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-08-23 08:00:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":384962216329216,"timestamp_seconds":384962216329.216,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 08:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587764480001,"66":12798,"208":206,"85":15104,"24":35,"16":122503432333426688,"45":8866391422925672448},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 08:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587764480001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:00:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 08:00:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122503432333426688,"km_value":122503432333426.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866391422925672448,"description":"Unknown IO ID 45"} 
[2026-08-23 08:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587764480001,"power":12798,"unknown_208":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8866391422925672448}} 
[2026-08-23 08:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":162905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:00:44] local.INFO: GPS data processed {"connection_id":162905,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:00:44] local.INFO: Acknowledgment sent {"connection_id":162905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:00:46] local.INFO: TCP Data received {"connection_id":160537,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:00:46] local.INFO: Processing buffer {"connection_id":160537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:00:46] local.INFO: IMEI packet received {"connection_id":160537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":160537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:00:52] local.INFO: TCP Data received {"connection_id":160537,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:00:52] local.INFO: Processing buffer {"connection_id":160537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:00:52] local.INFO: IMEI packet received {"connection_id":160537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":160537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:00:52] local.INFO: TCP Data received {"connection_id":160537,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:00:52] local.INFO: Processing buffer {"connection_id":160537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:00:52] local.INFO: Packet analysis {"connection_id":160537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 08:00:52] local.INFO: Extracted packet for processing {"connection_id":160537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 08:00:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:00: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-08-23 08:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587660800001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787452101000,"timestamp_ms":1787452101000,"timestamp_seconds":1787452101,"priority":1,"record_length":96,"hex_timestamp":"000001a02c729188"} 
[2026-08-23 08:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-23 08:00:52] 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-08-23 08:00: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-08-23 08:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587660800001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587660800001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:00:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:00:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587660800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":160537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:00:52] local.INFO: GPS data processed {"connection_id":160537,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:00:52] local.INFO: Acknowledgment sent {"connection_id":160537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:01:07] local.INFO: TCP Data received {"connection_id":160333,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c743768012d18134007219da00046002219..."} 
[2026-08-23 08:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c743768012d18134007219da00046002219..."} 
[2026-08-23 08:01:07] local.INFO: Processing buffer {"connection_id":160333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c743768012d18134007219da00046002219..."} 
[2026-08-23 08:01:07] local.INFO: Packet analysis {"connection_id":160333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c74"} 
[2026-08-23 08:01:07] local.INFO: Extracted packet for processing {"connection_id":160333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c74"} 
[2026-08-23 08:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119643552,"longitude_deg":75.6552512,"latitude_deg":11.9643552,"altitude":70,"angle":34,"satellites":25,"speed":39,"hex_longitude":"2d181340","hex_latitude":"07219da0","is_valid_coordinates":true} 
[2026-08-23 08:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587765504001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15168613308694528,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840699904,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787452209000,"timestamp_ms":1787452209000,"timestamp_seconds":1787452209,"priority":1,"record_length":96,"hex_timestamp":"000001a02c743768"} 
[2026-08-23 08:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 08:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":84750084612759902,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:07] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503831063494656,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:07] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-23 08:01:07] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2147560727,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:07] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3803971584,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:07] local.WARNING: Large IO value detected {"io_id":168,"raw_value":16607449196793088,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:07] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,107,83,24,241,157,16,227,160,20,45,128,132,68,25,10,66,248,192,116,194,64,1,240,153,226,44,33,4,113,205,182,216,23,239,56,2,53,7,58,17,206,168],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-23 08:01:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044069073427038208,"timestamp_seconds":5044069073427038.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 08:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587765504001,"66":14341,"107":206,"83":41984,"24":39,"16":15168613308694528,"45":1734800680840699904},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 08:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587765504001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:01:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 08:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15168613308694528,"km_value":15168613308694.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840699904,"description":"Unknown IO ID 45"} 
[2026-08-23 08:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587765504001,"power":14341,"unknown_107":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1734800680840699904}} 
[2026-08-23 08:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":160333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:01:07] local.INFO: GPS data processed {"connection_id":160333,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:01:07] local.INFO: Acknowledgment sent {"connection_id":160333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:01:11] local.INFO: TCP Data received {"connection_id":161488,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:01:11] local.INFO: Processing buffer {"connection_id":161488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:01:11] local.INFO: IMEI packet received {"connection_id":161488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":161488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:01:11] local.INFO: TCP Data received {"connection_id":161488,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:01:11] local.INFO: Processing buffer {"connection_id":161488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:01:11] local.INFO: IMEI packet received {"connection_id":161488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":161488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:01:17] local.INFO: TCP Data received {"connection_id":161488,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:01:17] local.INFO: Processing buffer {"connection_id":161488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:01:17] local.INFO: IMEI packet received {"connection_id":161488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":161488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:01:19] local.INFO: TCP Data received {"connection_id":161488,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7475e8012d7b048005e34e280000015623..."} 
[2026-08-23 08:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7475e8012d7b048005e34e280000015623..."} 
[2026-08-23 08:01:19] local.INFO: Processing buffer {"connection_id":161488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7475e8012d7b048005e34e280000015623..."} 
[2026-08-23 08:01:19] local.INFO: Packet analysis {"connection_id":161488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c74"} 
[2026-08-23 08:01:19] local.INFO: Extracted packet for processing {"connection_id":161488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c74"} 
[2026-08-23 08:01:19] local.INFO: GPS Element Parsed {"raw_longitude":763036800,"raw_latitude":98782760,"longitude_deg":76.30368,"latitude_deg":9.878276,"altitude":0,"angle":342,"satellites":35,"speed":27,"hex_longitude":"2d7b0480","hex_latitude":"05e34e28","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587767040001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122503771635843072,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864843310556174336,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:19] 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-08-23 08:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787452225000,"timestamp_ms":1787452225000,"timestamp_seconds":1787452225,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7475e8"} 
[2026-08-23 08:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:01:19] 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-08-23 08: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-23 08:01:19] 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-08-23 08: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-08-23 08:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587767040001,"66":13222,"208":206,"85":15104,"24":27,"16":122503771635843072,"45":8864843310556174336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 08:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587767040001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:01:19] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 08:01:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122503771635843072,"km_value":122503771635843.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864843310556174336,"description":"Unknown IO ID 45"} 
[2026-08-23 08:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587767040001,"power":13222,"unknown_208":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8864843310556174336}} 
[2026-08-23 08:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":161488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:01:20] local.INFO: GPS data processed {"connection_id":161488,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:01:20] local.INFO: Acknowledgment sent {"connection_id":161488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:01:24] local.INFO: TCP Data received {"connection_id":160537,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:01:24] local.INFO: Processing buffer {"connection_id":160537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:01:24] local.INFO: Packet analysis {"connection_id":160537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 08:01:24] local.INFO: Extracted packet for processing {"connection_id":160537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 08:01:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587660800001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787452101000,"timestamp_ms":1787452101000,"timestamp_seconds":1787452101,"priority":1,"record_length":96,"hex_timestamp":"000001a02c729188"} 
[2026-08-23 08:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:01: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-08-23 08:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-23 08:01:24] 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-08-23 08:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587660800001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587660800001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:01:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:01:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587660800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":160537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:01:24] local.INFO: GPS data processed {"connection_id":160537,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:01:24] local.INFO: Acknowledgment sent {"connection_id":160537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:01:30] local.INFO: TCP Data received {"connection_id":162906,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:01:30] local.INFO: Processing buffer {"connection_id":162906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:01:30] local.INFO: IMEI packet received {"connection_id":162906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":162906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:01:31] local.INFO: TCP Data received {"connection_id":162906,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:01:31] local.INFO: Processing buffer {"connection_id":162906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:01:31] local.INFO: IMEI packet received {"connection_id":162906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":162906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:01:35] local.INFO: TCP Data received {"connection_id":162906,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:01:35] local.INFO: Processing buffer {"connection_id":162906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:01:35] local.INFO: IMEI packet received {"connection_id":162906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":162906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:01:36] local.INFO: TCP Data received {"connection_id":162906,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c745e78012d1827800721bc88004c002118..."} 
[2026-08-23 08:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c745e78012d1827800721bc88004c002118..."} 
[2026-08-23 08:01:36] local.INFO: Processing buffer {"connection_id":162906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c745e78012d1827800721bc88004c002118..."} 
[2026-08-23 08:01:36] local.INFO: Packet analysis {"connection_id":162906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c74"} 
[2026-08-23 08:01:36] local.INFO: Extracted packet for processing {"connection_id":162906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c74"} 
[2026-08-23 08:01:36] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119651464,"longitude_deg":75.6557696,"latitude_deg":11.9651464,"altitude":76,"angle":33,"satellites":24,"speed":39,"hex_longitude":"2d182780","hex_latitude":"0721bc88","is_valid_coordinates":true} 
[2026-08-23 08:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587765504001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15169068575227904,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840699904,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787452219000,"timestamp_ms":1787452219000,"timestamp_seconds":1787452219,"priority":1,"record_length":96,"hex_timestamp":"000001a02c745e78"} 
[2026-08-23 08:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 08:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6982235042,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:36] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503831064608768,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:36] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84750160848429400,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-23 08:01:36] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3221692759,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:36] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3804102656,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:36] local.WARNING: Large IO value detected {"io_id":168,"raw_value":16326025759691008,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:36] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,107,83,24,241,157,16,227,160,55,45,64,70,25,10,66,20,128,132,68,248,192,1,240,218,44,33,4,113,205,15,186,216,144,23,239,56,2,53,7,59,8,206,168],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-23 08:01:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044069073427038208,"timestamp_seconds":5044069073427038.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 08:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587765504001,"66":14341,"107":206,"83":41984,"24":39,"16":15169068575227904,"45":1734800680840699904},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 08:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587765504001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:01:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 08:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15169068575227904,"km_value":15169068575227.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840699904,"description":"Unknown IO ID 45"} 
[2026-08-23 08:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587765504001,"power":14341,"unknown_107":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1734800680840699904}} 
[2026-08-23 08:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":162906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:01:36] local.INFO: GPS data processed {"connection_id":162906,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:01:36] local.INFO: Acknowledgment sent {"connection_id":162906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:01:46] local.INFO: TCP Data received {"connection_id":160538,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:01:46] local.INFO: Processing buffer {"connection_id":160538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:01:46] local.INFO: IMEI packet received {"connection_id":160538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":160538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:01:51] local.INFO: TCP Data received {"connection_id":161488,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c74a4c8012d7af94005e370b80003015623..."} 
[2026-08-23 08:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c74a4c8012d7af94005e370b80003015623..."} 
[2026-08-23 08:01:51] local.INFO: Processing buffer {"connection_id":161488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c74a4c8012d7af94005e370b80003015623..."} 
[2026-08-23 08:01:51] local.INFO: Packet analysis {"connection_id":161488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c74"} 
[2026-08-23 08:01:51] local.INFO: Extracted packet for processing {"connection_id":161488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c74"} 
[2026-08-23 08:01:51] local.INFO: GPS Element Parsed {"raw_longitude":763033920,"raw_latitude":98791608,"longitude_deg":76.303392,"latitude_deg":9.8791608,"altitude":3,"angle":342,"satellites":35,"speed":20,"hex_longitude":"2d7af940","hex_latitude":"05e370b8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587769600001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122504222607409152,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864350729348720640,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:51] 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-08-23 08:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787452237000,"timestamp_ms":1787452237000,"timestamp_seconds":1787452237,"priority":1,"record_length":96,"hex_timestamp":"000001a02c74a4c8"} 
[2026-08-23 08:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 08:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587769600001,"66":13319,"208":206,"85":15104,"24":20,"16":122504222607409152,"45":8864350729348720640},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 08:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587769600001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:01:51] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 08:01:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122504222607409152,"km_value":122504222607409.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864350729348720640,"description":"Unknown IO ID 45"} 
[2026-08-23 08:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587769600001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8864350729348720640}} 
[2026-08-23 08:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":161488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:01:51] local.INFO: GPS data processed {"connection_id":161488,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:01:51] local.INFO: Acknowledgment sent {"connection_id":161488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:01:52] local.INFO: TCP Data received {"connection_id":160538,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:01:52] local.INFO: Processing buffer {"connection_id":160538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:01:52] local.INFO: IMEI packet received {"connection_id":160538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":160538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:01:54] local.INFO: TCP Data received {"connection_id":160538,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:01:54] local.INFO: Processing buffer {"connection_id":160538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:01:54] local.INFO: Packet analysis {"connection_id":160538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 08:01:54] local.INFO: Extracted packet for processing {"connection_id":160538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 08:01:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 08:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587660800001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787452101000,"timestamp_ms":1787452101000,"timestamp_seconds":1787452101,"priority":1,"record_length":96,"hex_timestamp":"000001a02c729188"} 
[2026-08-23 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-08-23 08:01: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-08-23 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-23 08:01:54] 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-08-23 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-08-23 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-08-23 08:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:01:54] 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-08-23 08:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587660800001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587660800001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:01:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:01:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587660800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":160538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:01:54] local.INFO: GPS data processed {"connection_id":160538,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:01:54] local.INFO: Acknowledgment sent {"connection_id":160538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:02:07] local.INFO: TCP Data received {"connection_id":162906,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c75f4b8012d18bfc007230550006300331a..."} 
[2026-08-23 08:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c75f4b8012d18bfc007230550006300331a..."} 
[2026-08-23 08:02:07] local.INFO: Processing buffer {"connection_id":162906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c75f4b8012d18bfc007230550006300331a..."} 
[2026-08-23 08:02:07] local.INFO: Packet analysis {"connection_id":162906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c75"} 
[2026-08-23 08:02:07] local.INFO: Extracted packet for processing {"connection_id":162906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c75"} 
[2026-08-23 08:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756596672,"raw_latitude":119735632,"longitude_deg":75.6596672,"latitude_deg":11.9735632,"altitude":99,"angle":51,"satellites":26,"speed":44,"hex_longitude":"2d18bfc0","hex_latitude":"07230550","is_valid_coordinates":true} 
[2026-08-23 08:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587794176001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15173698549972992,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781595895742015488,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787452323000,"timestamp_ms":1787452323000,"timestamp_seconds":1787452323,"priority":1,"record_length":96,"hex_timestamp":"000001a02c75f4b8"} 
[2026-08-23 08:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-23 08:02:07] 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-08-23 08:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587794176001,"66":13972,"137":206,"83":42752,"24":44,"16":15173698549972992,"45":1781595895742015488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-23 08:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587794176001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:02:07] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-23 08:02:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15173698549972992,"km_value":15173698549972.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781595895742015488,"description":"Unknown IO ID 45"} 
[2026-08-23 08:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587794176001,"power":13972,"unknown_137":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1781595895742015488}} 
[2026-08-23 08:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":162906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:02:07] local.INFO: GPS data processed {"connection_id":162906,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:02:07] local.INFO: Acknowledgment sent {"connection_id":162906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:02:09] local.INFO: TCP Data received {"connection_id":160334,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:02:09] local.INFO: Processing buffer {"connection_id":160334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:02:09] local.INFO: IMEI packet received {"connection_id":160334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":160334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:02:10] local.INFO: TCP Data received {"connection_id":160334,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:02:10] local.INFO: Processing buffer {"connection_id":160334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:02:10] local.INFO: IMEI packet received {"connection_id":160334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":160334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:02:12] local.INFO: TCP Data received {"connection_id":160334,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c74f2e8012d7af0c005e38ca00004015524..."} 
[2026-08-23 08:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c74f2e8012d7af0c005e38ca00004015524..."} 
[2026-08-23 08:02:12] local.INFO: Processing buffer {"connection_id":160334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c74f2e8012d7af0c005e38ca00004015524..."} 
[2026-08-23 08:02:12] local.INFO: Packet analysis {"connection_id":160334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c74"} 
[2026-08-23 08:02:12] local.INFO: Extracted packet for processing {"connection_id":160334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c74"} 
[2026-08-23 08:02:12] local.INFO: GPS Element Parsed {"raw_longitude":763031744,"raw_latitude":98798752,"longitude_deg":76.3031744,"latitude_deg":9.8798752,"altitude":4,"angle":341,"satellites":36,"speed":14,"hex_longitude":"2d7af0c0","hex_latitude":"05e38ca0","is_valid_coordinates":true} 
[2026-08-23 08:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587772672001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122504587679629312,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861184135862990848,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:12] 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-08-23 08:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787452257000,"timestamp_ms":1787452257000,"timestamp_seconds":1787452257,"priority":1,"record_length":96,"hex_timestamp":"000001a02c74f2e8"} 
[2026-08-23 08:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 08:02:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:12] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154015,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:12] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3439329280,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:12] local.WARNING: Large IO value detected {"io_id":226,"raw_value":9027465483151941120,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-08-23 08:02:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3802265600,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:12] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57807712902075707,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:12] local.WARNING: Large IO value detected {"io_id":115,"raw_value":-7266556703911346171,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:12] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,208,85,24,241,157,16,56,160,117,45,128,78,35,10,66,64,50,28,39,192,1,240,7,227,55,44,226,4,113,205,43,229,22,216,32,239,207,2,179,5,38,166,115],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0}]} 
[2026-08-23 08:02:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216548965415649280,"timestamp_seconds":216548965415649.28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 08:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587772672001,"66":13319,"208":206,"85":15104,"24":14,"16":122504587679629312,"45":8861184135862990848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 08:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587772672001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:02:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 08:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122504587679629312,"km_value":122504587679629.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861184135862990848,"description":"Unknown IO ID 45"} 
[2026-08-23 08:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587772672001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8861184135862990848}} 
[2026-08-23 08:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":160334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:02:12] local.INFO: GPS data processed {"connection_id":160334,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:02:12] local.INFO: Acknowledgment sent {"connection_id":160334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:02:15] local.INFO: TCP Data received {"connection_id":160334,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c751610012d7aed4005e396f80005016424..."} 
[2026-08-23 08:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c751610012d7aed4005e396f80005016424..."} 
[2026-08-23 08:02:15] local.INFO: Processing buffer {"connection_id":160334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c751610012d7aed4005e396f80005016424..."} 
[2026-08-23 08:02:15] local.INFO: Packet analysis {"connection_id":160334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c75"} 
[2026-08-23 08:02:15] local.INFO: Extracted packet for processing {"connection_id":160334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c75"} 
[2026-08-23 08:02:15] local.INFO: GPS Element Parsed {"raw_longitude":763030848,"raw_latitude":98801400,"longitude_deg":76.3030848,"latitude_deg":9.88014,"altitude":5,"angle":356,"satellites":36,"speed":8,"hex_longitude":"2d7aed40","hex_latitude":"05e396f8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 08:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587777792001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122504725118582784,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858791598562779136,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:15] 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-08-23 08:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787452266000,"timestamp_ms":1787452266000,"timestamp_seconds":1787452266,"priority":1,"record_length":96,"hex_timestamp":"000001a02c751610"} 
[2026-08-23 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-08-23 08:02: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-08-23 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 08:02:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3221611242,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:15] local.WARNING: Large IO value detected {"io_id":4,"raw_value":2684431739,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-08-23 08:02:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3804682240,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:15] local.WARNING: Large IO value detected {"io_id":215,"raw_value":57807712902075707,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:15] local.WARNING: Large IO value detected {"io_id":115,"raw_value":-4451806936805146619,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:15] local.WARNING: Large IO value detected {"io_id":226,"raw_value":-6775665622176030720,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:15] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,208,85,24,241,157,16,57,160,164,45,64,112,3,35,10,66,56,117,128,78,1,240,254,227,44,4,113,205,40,33,239,51,207,2,179,5,215,115,226],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0}]} 
[2026-08-23 08:02:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288605464236523520,"timestamp_seconds":288605464236523.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 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-08-23 08:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587777792001,"66":12982,"208":206,"85":15104,"24":8,"16":122504725118582784,"45":8858791598562779136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 08:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587777792001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:02:15] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 08:02:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122504725118582784,"km_value":122504725118582.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858791598562779136,"description":"Unknown IO ID 45"} 
[2026-08-23 08:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587777792001,"power":12982,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8858791598562779136}} 
[2026-08-23 08:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":160334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:02:15] local.INFO: GPS data processed {"connection_id":160334,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:02:15] local.INFO: Acknowledgment sent {"connection_id":160334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:02:26] local.INFO: TCP Data received {"connection_id":160538,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:02:26] local.INFO: Processing buffer {"connection_id":160538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:02:26] local.INFO: Packet analysis {"connection_id":160538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 08:02:26] local.INFO: Extracted packet for processing {"connection_id":160538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 08:02:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587660800001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787452101000,"timestamp_ms":1787452101000,"timestamp_seconds":1787452101,"priority":1,"record_length":96,"hex_timestamp":"000001a02c729188"} 
[2026-08-23 08:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-23 08:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587660800001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587660800001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:02:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:02:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587660800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":160538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:02:26] local.INFO: GPS data processed {"connection_id":160538,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:02:26] local.INFO: Acknowledgment sent {"connection_id":160538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:02:42] local.INFO: TCP Data received {"connection_id":161489,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:02:42] local.INFO: Processing buffer {"connection_id":161489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:02:42] local.INFO: IMEI packet received {"connection_id":161489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":161489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:02:43] local.INFO: TCP Data received {"connection_id":161489,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:02:43] local.INFO: Processing buffer {"connection_id":161489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:02:43] local.INFO: IMEI packet received {"connection_id":161489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":161489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:02:44] local.INFO: TCP Data received {"connection_id":161489,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c75f8a0012d18c3c0072307400064003e1a..."} 
[2026-08-23 08:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c75f8a0012d18c3c0072307400064003e1a..."} 
[2026-08-23 08:02:44] local.INFO: Processing buffer {"connection_id":161489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c75f8a0012d18c3c0072307400064003e1a..."} 
[2026-08-23 08:02:44] local.INFO: Packet analysis {"connection_id":161489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c75"} 
[2026-08-23 08:02:44] local.INFO: Extracted packet for processing {"connection_id":161489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c75"} 
[2026-08-23 08:02:44] local.INFO: GPS Element Parsed {"raw_longitude":756597696,"raw_latitude":119736128,"longitude_deg":75.6597696,"latitude_deg":11.9736128,"altitude":100,"angle":62,"satellites":26,"speed":43,"hex_longitude":"2d18c3c0","hex_latitude":"07230740","is_valid_coordinates":true} 
[2026-08-23 08:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587794688001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15173750089580544,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783355114346860544,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787452324000,"timestamp_ms":1787452324000,"timestamp_seconds":1787452324,"priority":1,"record_length":96,"hex_timestamp":"000001a02c75f8a0"} 
[2026-08-23 08:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-23 08:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587794688001,"66":13961,"137":206,"83":42752,"24":43,"16":15173750089580544,"45":1783355114346860544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-23 08:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587794688001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:02:44] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-23 08:02:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15173750089580544,"km_value":15173750089580.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783355114346860544,"description":"Unknown IO ID 45"} 
[2026-08-23 08:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587794688001,"power":13961,"unknown_137":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1783355114346860544}} 
[2026-08-23 08:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":161489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:02:44] local.INFO: GPS data processed {"connection_id":161489,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:02:44] local.INFO: Acknowledgment sent {"connection_id":161489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:02:46] local.INFO: TCP Data received {"connection_id":160539,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:02:46] local.INFO: Processing buffer {"connection_id":160539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:02:46] local.INFO: IMEI packet received {"connection_id":160539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":160539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:02:48] local.INFO: TCP Data received {"connection_id":160334,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c764e90012d7a62c005e469b00008011524..."} 
[2026-08-23 08:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c764e90012d7a62c005e469b00008011524..."} 
[2026-08-23 08:02:48] local.INFO: Processing buffer {"connection_id":160334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c764e90012d7a62c005e469b00008011524..."} 
[2026-08-23 08:02:48] local.INFO: Packet analysis {"connection_id":160334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c76"} 
[2026-08-23 08:02:48] local.INFO: Extracted packet for processing {"connection_id":160334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c76"} 
[2026-08-23 08:02:48] local.INFO: GPS Element Parsed {"raw_longitude":762995392,"raw_latitude":98855344,"longitude_deg":76.2995392,"latitude_deg":9.8855344,"altitude":8,"angle":277,"satellites":36,"speed":11,"hex_longitude":"2d7a62c0","hex_latitude":"05e469b0","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587800320001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122507993588695040,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819173995605227520,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:48] 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-08-23 08:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787452346000,"timestamp_ms":1787452346000,"timestamp_seconds":1787452346,"priority":1,"record_length":96,"hex_timestamp":"000001a02c764e90"} 
[2026-08-23 08:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:02: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-08-23 08: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 08:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587800320001,"66":12385,"208":206,"85":15104,"24":11,"16":122507993588695040,"45":8819173995605227520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 08:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587800320001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:02:48] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 08:02:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122507993588695040,"km_value":122507993588695.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819173995605227520,"description":"Unknown IO ID 45"} 
[2026-08-23 08:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587800320001,"power":12385,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8819173995605227520}} 
[2026-08-23 08:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":160334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:02:48] local.INFO: GPS data processed {"connection_id":160334,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:02:48] local.INFO: Acknowledgment sent {"connection_id":160334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:02:52] local.INFO: TCP Data received {"connection_id":160539,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:02:52] local.INFO: Processing buffer {"connection_id":160539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:02:52] local.INFO: IMEI packet received {"connection_id":160539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":160539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:02:53] local.INFO: TCP Data received {"connection_id":160539,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:02:53] local.INFO: Processing buffer {"connection_id":160539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:02:53] local.INFO: Packet analysis {"connection_id":160539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 08:02:53] local.INFO: Extracted packet for processing {"connection_id":160539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 08:02:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587660800001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787452101000,"timestamp_ms":1787452101000,"timestamp_seconds":1787452101,"priority":1,"record_length":96,"hex_timestamp":"000001a02c729188"} 
[2026-08-23 08:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-23 08:02:53] 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-08-23 08:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:02:53] 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-08-23 08:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587660800001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587660800001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:02:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:02:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587660800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":160539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:02:53] local.INFO: GPS data processed {"connection_id":160539,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:02:53] local.INFO: Acknowledgment sent {"connection_id":160539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:03:06] local.INFO: TCP Data received {"connection_id":162907,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:03:06] local.INFO: Processing buffer {"connection_id":162907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:03:06] local.INFO: IMEI packet received {"connection_id":162907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":162907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:03:11] local.INFO: TCP Data received {"connection_id":162907,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:03:11] local.INFO: Processing buffer {"connection_id":162907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:03:11] local.INFO: IMEI packet received {"connection_id":162907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":162907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:03:12] local.INFO: TCP Data received {"connection_id":162907,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c765278012d7a61c005e469a80008010624..."} 
[2026-08-23 08:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c765278012d7a61c005e469a80008010624..."} 
[2026-08-23 08:03:12] local.INFO: Processing buffer {"connection_id":162907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c765278012d7a61c005e469a80008010624..."} 
[2026-08-23 08:03:12] local.INFO: Packet analysis {"connection_id":162907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c76"} 
[2026-08-23 08:03:12] local.INFO: Extracted packet for processing {"connection_id":162907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c76"} 
[2026-08-23 08:03:12] local.INFO: GPS Element Parsed {"raw_longitude":762995136,"raw_latitude":98855336,"longitude_deg":76.2995136,"latitude_deg":9.8855336,"altitude":8,"angle":262,"satellites":36,"speed":9,"hex_longitude":"2d7a61c0","hex_latitude":"05e469a8","is_valid_coordinates":true} 
[2026-08-23 08:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587800576001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122508006473596928,"note":"Value kept but may cause issues"} 
[2026-08-23 08:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818822151884353536,"note":"Value kept but may cause issues"} 
[2026-08-23 08:03:12] 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-08-23 08:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787452347000,"timestamp_ms":1787452347000,"timestamp_seconds":1787452347,"priority":1,"record_length":96,"hex_timestamp":"000001a02c765278"} 
[2026-08-23 08:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 08:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587800576001,"66":12613,"208":206,"85":15104,"24":9,"16":122508006473596928,"45":8818822151884353536},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 08:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587800576001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:03:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 08:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122508006473596928,"km_value":122508006473596.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818822151884353536,"description":"Unknown IO ID 45"} 
[2026-08-23 08:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587800576001,"power":12613,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8818822151884353536}} 
[2026-08-23 08:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":162907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:03:12] local.INFO: GPS data processed {"connection_id":162907,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:03:12] local.INFO: Acknowledgment sent {"connection_id":162907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:03:16] local.INFO: TCP Data received {"connection_id":161489,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c76c7a8012d197f8007239800003d00441a..."} 
[2026-08-23 08:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c76c7a8012d197f8007239800003d00441a..."} 
[2026-08-23 08:03:16] local.INFO: Processing buffer {"connection_id":161489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c76c7a8012d197f8007239800003d00441a..."} 
[2026-08-23 08:03:16] local.INFO: Packet analysis {"connection_id":161489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c76"} 
[2026-08-23 08:03:16] local.INFO: Extracted packet for processing {"connection_id":161489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c76"} 
[2026-08-23 08:03:16] local.INFO: GPS Element Parsed {"raw_longitude":756645760,"raw_latitude":119773184,"longitude_deg":75.664576,"latitude_deg":11.9773184,"altitude":61,"angle":68,"satellites":26,"speed":47,"hex_longitude":"2d197f80","hex_latitude":"07239800","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587807488001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15176997084856320,"note":"Value kept but may cause issues"} 
[2026-08-23 08:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965079001128960,"note":"Value kept but may cause issues"} 
[2026-08-23 08:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787452377000,"timestamp_ms":1787452377000,"timestamp_seconds":1787452377,"priority":1,"record_length":96,"hex_timestamp":"000001a02c76c7a8"} 
[2026-08-23 08:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-23 08:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587807488001,"66":14515,"186":206,"83":42752,"24":47,"16":15176997084856320,"45":1832965079001128960},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-08-23 08:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587807488001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:03:16] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-23 08:03:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15176997084856320,"km_value":15176997084856.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965079001128960,"description":"Unknown IO ID 45"} 
[2026-08-23 08:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587807488001,"power":14515,"unknown_186":206,"unknown_83":42752,"ignition":47,"odometer":null,"unknown_45":1832965079001128960}} 
[2026-08-23 08:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":161489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:03:16] local.INFO: GPS data processed {"connection_id":161489,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:03:16] local.INFO: Acknowledgment sent {"connection_id":161489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:03:25] local.INFO: TCP Data received {"connection_id":160539,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:03:25] local.INFO: Processing buffer {"connection_id":160539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:03:25] local.INFO: Packet analysis {"connection_id":160539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 08:03:25] local.INFO: Extracted packet for processing {"connection_id":160539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 08:03:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587660800001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787452101000,"timestamp_ms":1787452101000,"timestamp_seconds":1787452101,"priority":1,"record_length":96,"hex_timestamp":"000001a02c729188"} 
[2026-08-23 08:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-23 08:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:03:25] 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-08-23 08:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587660800001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587660800001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:03:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587660800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":160539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:03:25] local.INFO: GPS data processed {"connection_id":160539,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:03:25] local.INFO: Acknowledgment sent {"connection_id":160539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:03:30] local.INFO: TCP Data received {"connection_id":161490,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:03:30] local.INFO: Processing buffer {"connection_id":161490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:03:30] local.INFO: IMEI packet received {"connection_id":161490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":161490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:03:30] local.INFO: TCP Data received {"connection_id":161490,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:03:31] local.INFO: Processing buffer {"connection_id":161490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:03:31] local.INFO: IMEI packet received {"connection_id":161490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":161490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:03:35] local.INFO: TCP Data received {"connection_id":161490,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:03:35] local.INFO: Processing buffer {"connection_id":161490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:03:35] local.INFO: IMEI packet received {"connection_id":161490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":161490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:03:36] local.INFO: TCP Data received {"connection_id":161490,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c76d360012d198d8007239ba8003c00501a..."} 
[2026-08-23 08:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c76d360012d198d8007239ba8003c00501a..."} 
[2026-08-23 08:03:36] local.INFO: Processing buffer {"connection_id":161490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c76d360012d198d8007239ba8003c00501a..."} 
[2026-08-23 08:03:36] local.INFO: Packet analysis {"connection_id":161490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c76"} 
[2026-08-23 08:03:36] local.INFO: Extracted packet for processing {"connection_id":161490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c76"} 
[2026-08-23 08:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756649344,"raw_latitude":119774120,"longitude_deg":75.6649344,"latitude_deg":11.977412,"altitude":60,"angle":80,"satellites":26,"speed":49,"hex_longitude":"2d198d80","hex_latitude":"07239ba8","is_valid_coordinates":true} 
[2026-08-23 08:03: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-08-23 08:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587808512001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15177173178515456,"note":"Value kept but may cause issues"} 
[2026-08-23 08:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837327941140742144,"note":"Value kept but may cause issues"} 
[2026-08-23 08:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787452380000,"timestamp_ms":1787452380000,"timestamp_seconds":1787452380,"priority":1,"record_length":96,"hex_timestamp":"000001a02c76d360"} 
[2026-08-23 08:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:03: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":179,"data_length":795,"current_offset":136} 
[2026-08-23 08:03:36] 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-08-23 08:03: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-08-23 08:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587808512001,"66":14559,"186":206,"83":42752,"24":49,"16":15177173178515456,"45":1837327941140742144},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-08-23 08:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587808512001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:03:36] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-23 08:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15177173178515456,"km_value":15177173178515.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837327941140742144,"description":"Unknown IO ID 45"} 
[2026-08-23 08:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587808512001,"power":14559,"unknown_186":206,"unknown_83":42752,"ignition":49,"odometer":null,"unknown_45":1837327941140742144}} 
[2026-08-23 08:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":161490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:03:36] local.INFO: GPS data processed {"connection_id":161490,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:03:36] local.INFO: Acknowledgment sent {"connection_id":161490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:03:43] local.INFO: TCP Data received {"connection_id":162907,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02c765e30012d7a5e8005e46860000900f923..."} 
[2026-08-23 08:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c765e30012d7a5e8005e46860000900f923..."} 
[2026-08-23 08:03:43] local.INFO: Processing buffer {"connection_id":162907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c765e30012d7a5e8005e46860000900f923..."} 
[2026-08-23 08:03:43] local.INFO: Packet analysis {"connection_id":162907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c76"} 
[2026-08-23 08:03:43] local.INFO: Extracted packet for processing {"connection_id":162907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c76"} 
[2026-08-23 08:03:43] local.INFO: GPS Element Parsed {"raw_longitude":762994304,"raw_latitude":98855008,"longitude_deg":76.2994304,"latitude_deg":9.8855008,"altitude":9,"angle":249,"satellites":35,"speed":17,"hex_longitude":"2d7a5e80","hex_latitude":"05e46860","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587800832001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122508049423269888,"note":"Value kept but may cause issues"} 
[2026-08-23 08:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818540676907640832,"note":"Value kept but may cause issues"} 
[2026-08-23 08:03:43] 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-08-23 08:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787452350000,"timestamp_ms":1787452350000,"timestamp_seconds":1787452350,"priority":1,"record_length":96,"hex_timestamp":"000001a02c765e30"} 
[2026-08-23 08:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:03:43] local.INFO: 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-08-23 08: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-23 08:03:43] 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-08-23 08: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-08-23 08:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587800832001,"66":13276,"208":206,"85":15104,"24":17,"16":122508049423269888,"45":8818540676907640832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 08:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587800832001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:03:43] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 08:03:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122508049423269888,"km_value":122508049423269.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818540676907640832,"description":"Unknown IO ID 45"} 
[2026-08-23 08:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587800832001,"power":13276,"unknown_208":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8818540676907640832}} 
[2026-08-23 08:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":162907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:03:43] local.INFO: GPS data processed {"connection_id":162907,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:03:43] local.INFO: Acknowledgment sent {"connection_id":162907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:03:52] local.INFO: TCP Data received {"connection_id":161491,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:03:52] local.INFO: Processing buffer {"connection_id":161491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:03:52] local.INFO: IMEI packet received {"connection_id":161491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":161491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:03:57] local.INFO: TCP Data received {"connection_id":161491,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:03:57] local.INFO: Processing buffer {"connection_id":161491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:03:57] local.INFO: IMEI packet received {"connection_id":161491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":161491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:03:58] local.INFO: TCP Data received {"connection_id":161491,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:03:58] local.INFO: Processing buffer {"connection_id":161491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c729188012d34c50006aa4098000900851e..."} 
[2026-08-23 08:03:58] local.INFO: Packet analysis {"connection_id":161491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 08:03:58] local.INFO: Extracted packet for processing {"connection_id":161491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c72"} 
[2026-08-23 08:03:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587660800001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787452101000,"timestamp_ms":1787452101000,"timestamp_seconds":1787452101,"priority":1,"record_length":96,"hex_timestamp":"000001a02c729188"} 
[2026-08-23 08:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:03: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-08-23 08:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-23 08:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587660800001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587660800001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:03:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:03:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587660800001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":161491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:03:58] local.INFO: GPS data processed {"connection_id":161491,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:03:58] local.INFO: Acknowledgment sent {"connection_id":161491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:04:00] local.INFO: TCP Data received {"connection_id":161491,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:04:00] local.INFO: Processing buffer {"connection_id":161491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:04:00] local.INFO: Packet analysis {"connection_id":161491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:04:00] local.INFO: Extracted packet for processing {"connection_id":161491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:04:00] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587737856001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787452402000,"timestamp_ms":1787452402000,"timestamp_seconds":1787452402,"priority":1,"record_length":96,"hex_timestamp":"000001a02c772950"} 
[2026-08-23 08:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587737856001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587737856001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:04:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:04:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587737856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":161491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:04:00] local.INFO: GPS data processed {"connection_id":161491,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:04:00] local.INFO: Acknowledgment sent {"connection_id":161491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:04:05] local.INFO: TCP Data received {"connection_id":162908,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:04:05] local.INFO: Processing buffer {"connection_id":162908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:04:05] local.INFO: IMEI packet received {"connection_id":162908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":162908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:04:06] local.INFO: TCP Data received {"connection_id":162908,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:04:06] local.INFO: Processing buffer {"connection_id":162908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:04:06] local.INFO: IMEI packet received {"connection_id":162908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":162908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:04:07] local.INFO: TCP Data received {"connection_id":162908,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:04:07] local.INFO: Processing buffer {"connection_id":162908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:04:07] local.INFO: IMEI packet received {"connection_id":162908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":162908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:04:07] local.INFO: TCP Data received {"connection_id":161490,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c76eeb8012d19b1000723a0a8003700521a..."} 
[2026-08-23 08:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c76eeb8012d19b1000723a0a8003700521a..."} 
[2026-08-23 08:04:07] local.INFO: Processing buffer {"connection_id":161490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c76eeb8012d19b1000723a0a8003700521a..."} 
[2026-08-23 08:04:07] local.INFO: Packet analysis {"connection_id":161490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c76"} 
[2026-08-23 08:04:07] local.INFO: Extracted packet for processing {"connection_id":161490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c76"} 
[2026-08-23 08:04:07] local.INFO: GPS Element Parsed {"raw_longitude":756658432,"raw_latitude":119775400,"longitude_deg":75.6658432,"latitude_deg":11.97754,"altitude":55,"angle":82,"satellites":26,"speed":54,"hex_longitude":"2d19b100","hex_latitude":"0723a0a8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587809280001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15177606970212352,"note":"Value kept but may cause issues"} 
[2026-08-23 08:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841268590814930944,"note":"Value kept but may cause issues"} 
[2026-08-23 08:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787452387000,"timestamp_ms":1787452387000,"timestamp_seconds":1787452387,"priority":1,"record_length":96,"hex_timestamp":"000001a02c76eeb8"} 
[2026-08-23 08:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-23 08:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587809280001,"66":14613,"186":206,"83":42752,"24":54,"16":15177606970212352,"45":1841268590814930944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-08-23 08:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587809280001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:04:07] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-23 08:04:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15177606970212352,"km_value":15177606970212.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841268590814930944,"description":"Unknown IO ID 45"} 
[2026-08-23 08:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587809280001,"power":14613,"unknown_186":206,"unknown_83":42752,"ignition":54,"odometer":null,"unknown_45":1841268590814930944}} 
[2026-08-23 08:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":161490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:04:07] local.INFO: GPS data processed {"connection_id":161490,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:04:07] local.INFO: Acknowledgment sent {"connection_id":161490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:04:07] local.INFO: TCP Data received {"connection_id":162908,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:04:07] local.INFO: Processing buffer {"connection_id":162908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:04:07] local.INFO: IMEI packet received {"connection_id":162908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":162908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:04:30] local.INFO: TCP Data received {"connection_id":160540,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:04:30] local.INFO: Processing buffer {"connection_id":160540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:04:30] local.INFO: IMEI packet received {"connection_id":160540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":160540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:04:31] local.INFO: TCP Data received {"connection_id":161491,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:04:31] local.INFO: Processing buffer {"connection_id":161491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:04:31] local.INFO: Packet analysis {"connection_id":161491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:04:31] local.INFO: Extracted packet for processing {"connection_id":161491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587737856001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787452402000,"timestamp_ms":1787452402000,"timestamp_seconds":1787452402,"priority":1,"record_length":96,"hex_timestamp":"000001a02c772950"} 
[2026-08-23 08:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587737856001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587737856001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:04:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:04:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587737856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":161491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:04:31] local.INFO: GPS data processed {"connection_id":161491,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:04:31] local.INFO: Acknowledgment sent {"connection_id":161491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:04:31] local.INFO: TCP Data received {"connection_id":160540,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:04:31] local.INFO: Processing buffer {"connection_id":160540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:04:31] local.INFO: IMEI packet received {"connection_id":160540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":160540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:04:35] local.INFO: TCP Data received {"connection_id":160540,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:04:35] local.INFO: Processing buffer {"connection_id":160540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:04:35] local.INFO: IMEI packet received {"connection_id":160540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":160540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:04:36] local.INFO: TCP Data received {"connection_id":160540,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c77f470012d1ab54007242d78002a00421b..."} 
[2026-08-23 08:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c77f470012d1ab54007242d78002a00421b..."} 
[2026-08-23 08:04:36] local.INFO: Processing buffer {"connection_id":160540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c77f470012d1ab54007242d78002a00421b..."} 
[2026-08-23 08:04:36] local.INFO: Packet analysis {"connection_id":160540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:04:36] local.INFO: Extracted packet for processing {"connection_id":160540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:04:36] local.INFO: GPS Element Parsed {"raw_longitude":756725056,"raw_latitude":119811448,"longitude_deg":75.6725056,"latitude_deg":11.9811448,"altitude":42,"angle":66,"satellites":27,"speed":46,"hex_longitude":"2d1ab540","hex_latitude":"07242d78","is_valid_coordinates":true} 
[2026-08-23 08:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587826176001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15181425196138496,"note":"Value kept but may cause issues"} 
[2026-08-23 08:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1914803928489127936,"note":"Value kept but may cause issues"} 
[2026-08-23 08:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787452454000,"timestamp_ms":1787452454000,"timestamp_seconds":1787452454,"priority":1,"record_length":96,"hex_timestamp":"000001a02c77f470"} 
[2026-08-23 08:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-23 08:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587826176001,"66":14428,"43":206,"83":42752,"24":46,"16":15181425196138496,"45":1914803928489127936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-23 08:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587826176001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:04:36] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-23 08:04:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15181425196138496,"km_value":15181425196138.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1914803928489127936,"description":"Unknown IO ID 45"} 
[2026-08-23 08:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587826176001,"power":14428,"unknown_43":206,"unknown_83":42752,"ignition":46,"odometer":null,"unknown_45":1914803928489127936}} 
[2026-08-23 08:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":160540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:04:37] local.INFO: GPS data processed {"connection_id":160540,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:04:37] local.INFO: Acknowledgment sent {"connection_id":160540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:04:47] local.INFO: TCP Data received {"connection_id":160541,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:04:47] local.INFO: Processing buffer {"connection_id":160541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:04:47] local.INFO: IMEI packet received {"connection_id":160541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":160541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:04:52] local.INFO: TCP Data received {"connection_id":160541,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:04:52] local.INFO: Processing buffer {"connection_id":160541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:04:52] local.INFO: IMEI packet received {"connection_id":160541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":160541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:04:53] local.INFO: TCP Data received {"connection_id":160541,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:04:53] local.INFO: Processing buffer {"connection_id":160541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:04:53] local.INFO: Packet analysis {"connection_id":160541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:04:53] local.INFO: Extracted packet for processing {"connection_id":160541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:04:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:04: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-08-23 08:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587737856001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787452402000,"timestamp_ms":1787452402000,"timestamp_seconds":1787452402,"priority":1,"record_length":96,"hex_timestamp":"000001a02c772950"} 
[2026-08-23 08:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:04:53] 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-08-23 08:04: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-08-23 08:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587737856001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587737856001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:04:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:04:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587737856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":160541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:04:53] local.INFO: GPS data processed {"connection_id":160541,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:04:53] local.INFO: Acknowledgment sent {"connection_id":160541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:05:08] local.INFO: TCP Data received {"connection_id":160540,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7813b0012d1ad44007243d98002b00331b..."} 
[2026-08-23 08:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7813b0012d1ad44007243d98002b00331b..."} 
[2026-08-23 08:05:08] local.INFO: Processing buffer {"connection_id":160540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7813b0012d1ad44007243d98002b00331b..."} 
[2026-08-23 08:05:08] local.INFO: Packet analysis {"connection_id":160540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c78"} 
[2026-08-23 08:05:08] local.INFO: Extracted packet for processing {"connection_id":160540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c78"} 
[2026-08-23 08:05:08] local.INFO: GPS Element Parsed {"raw_longitude":756732992,"raw_latitude":119815576,"longitude_deg":75.6732992,"latitude_deg":11.9815576,"altitude":43,"angle":51,"satellites":27,"speed":40,"hex_longitude":"2d1ad440","hex_latitude":"07243d98","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587828224001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15181850397900800,"note":"Value kept but may cause issues"} 
[2026-08-23 08:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924514815186663424,"note":"Value kept but may cause issues"} 
[2026-08-23 08:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787452462000,"timestamp_ms":1787452462000,"timestamp_seconds":1787452462,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7813b0"} 
[2026-08-23 08:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 08:05: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-08-23 08: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-08-23 08:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587828224001,"66":14483,"43":206,"83":42752,"24":40,"16":15181850397900800,"45":1924514815186663424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-23 08:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587828224001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:05:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-23 08:05:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15181850397900800,"km_value":15181850397900.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924514815186663424,"description":"Unknown IO ID 45"} 
[2026-08-23 08:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587828224001,"power":14483,"unknown_43":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1924514815186663424}} 
[2026-08-23 08:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":160540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:05:08] local.INFO: GPS data processed {"connection_id":160540,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:05:08] local.INFO: Acknowledgment sent {"connection_id":160540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:05:24] local.INFO: TCP Data received {"connection_id":160541,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:05:24] local.INFO: Processing buffer {"connection_id":160541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:05:24] local.INFO: Packet analysis {"connection_id":160541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:05:24] local.INFO: Extracted packet for processing {"connection_id":160541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:05:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587737856001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787452402000,"timestamp_ms":1787452402000,"timestamp_seconds":1787452402,"priority":1,"record_length":96,"hex_timestamp":"000001a02c772950"} 
[2026-08-23 08:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:05: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-08-23 08:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:05:24] 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-08-23 08:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587737856001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587737856001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:05:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:05:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587737856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":160541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:05:24] local.INFO: GPS data processed {"connection_id":160541,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:05:24] local.INFO: Acknowledgment sent {"connection_id":160541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:05:47] local.INFO: TCP Data received {"connection_id":160335,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:05:47] local.INFO: Processing buffer {"connection_id":160335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:05:47] local.INFO: IMEI packet received {"connection_id":160335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":160335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:05:52] local.INFO: TCP Data received {"connection_id":160335,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:05:52] local.INFO: Processing buffer {"connection_id":160335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:05:52] local.INFO: IMEI packet received {"connection_id":160335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":160335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:05:53] local.INFO: TCP Data received {"connection_id":160335,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:05:53] local.INFO: Processing buffer {"connection_id":160335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:05:53] local.INFO: Packet analysis {"connection_id":160335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:05:53] local.INFO: Extracted packet for processing {"connection_id":160335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:05:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587737856001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787452402000,"timestamp_ms":1787452402000,"timestamp_seconds":1787452402,"priority":1,"record_length":96,"hex_timestamp":"000001a02c772950"} 
[2026-08-23 08:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:05:53] 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-08-23 08: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-08-23 08:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587737856001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587737856001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:05:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:05:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587737856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":160335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:05:53] local.INFO: GPS data processed {"connection_id":160335,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:05:53] local.INFO: Acknowledgment sent {"connection_id":160335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:06:06] local.INFO: TCP Data received {"connection_id":161492,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:06:06] local.INFO: Processing buffer {"connection_id":161492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:06:06] local.INFO: IMEI packet received {"connection_id":161492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":161492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:06:10] local.INFO: TCP Data received {"connection_id":161492,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:06:10] local.INFO: Processing buffer {"connection_id":161492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:06:10] local.INFO: IMEI packet received {"connection_id":161492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":161492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:06:12] local.INFO: TCP Data received {"connection_id":161492,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c78f640012d1b570007250410002100041c..."} 
[2026-08-23 08:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c78f640012d1b570007250410002100041c..."} 
[2026-08-23 08:06:12] local.INFO: Processing buffer {"connection_id":161492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c78f640012d1b570007250410002100041c..."} 
[2026-08-23 08:06:12] local.INFO: Packet analysis {"connection_id":161492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c78"} 
[2026-08-23 08:06:12] local.INFO: Extracted packet for processing {"connection_id":161492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c78"} 
[2026-08-23 08:06:12] local.INFO: GPS Element Parsed {"raw_longitude":756766464,"raw_latitude":119866384,"longitude_deg":75.6766464,"latitude_deg":11.9866384,"altitude":33,"angle":4,"satellites":28,"speed":39,"hex_longitude":"2d1b5700","hex_latitude":"07250410","is_valid_coordinates":true} 
[2026-08-23 08:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587842304001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15184981429059584,"note":"Value kept but may cause issues"} 
[2026-08-23 08:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970606342634631168,"note":"Value kept but may cause issues"} 
[2026-08-23 08:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787452520000,"timestamp_ms":1787452520000,"timestamp_seconds":1787452520,"priority":1,"record_length":96,"hex_timestamp":"000001a02c78f640"} 
[2026-08-23 08:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 08:06:12] 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-08-23 08:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587842304001,"66":14102,"136":206,"83":42752,"24":39,"16":15184981429059584,"45":1970606342634631168},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-23 08:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587842304001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:06:12] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-23 08:06:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15184981429059584,"km_value":15184981429059.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970606342634631168,"description":"Unknown IO ID 45"} 
[2026-08-23 08:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587842304001,"power":14102,"unknown_136":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1970606342634631168}} 
[2026-08-23 08:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":161492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:06:12] local.INFO: GPS data processed {"connection_id":161492,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:06:12] local.INFO: Acknowledgment sent {"connection_id":161492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:06:24] local.INFO: TCP Data received {"connection_id":160335,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:06:24] local.INFO: Processing buffer {"connection_id":160335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:06:24] local.INFO: Packet analysis {"connection_id":160335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:06:24] local.INFO: Extracted packet for processing {"connection_id":160335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:06:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587737856001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787452402000,"timestamp_ms":1787452402000,"timestamp_seconds":1787452402,"priority":1,"record_length":96,"hex_timestamp":"000001a02c772950"} 
[2026-08-23 08:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08: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-08-23 08:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:06:24] 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-08-23 08:06:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587737856001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587737856001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:06:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:06:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587737856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":160335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:06:24] local.INFO: GPS data processed {"connection_id":160335,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:06:24] local.INFO: Acknowledgment sent {"connection_id":160335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:06:36] local.INFO: TCP Data received {"connection_id":162909,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:06:36] local.INFO: Processing buffer {"connection_id":162909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:06:36] local.INFO: IMEI packet received {"connection_id":162909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":162909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:06:39] local.INFO: TCP Data received {"connection_id":162909,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:06:39] local.INFO: Processing buffer {"connection_id":162909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:06:39] local.INFO: IMEI packet received {"connection_id":162909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":162909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:06:40] local.INFO: TCP Data received {"connection_id":162909,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:06:40] local.INFO: Processing buffer {"connection_id":162909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:06:40] local.INFO: IMEI packet received {"connection_id":162909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":162909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:06:41] local.INFO: TCP Data received {"connection_id":162909,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7901f8012d1b590007250f080022000f1c..."} 
[2026-08-23 08:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7901f8012d1b590007250f080022000f1c..."} 
[2026-08-23 08:06:41] local.INFO: Processing buffer {"connection_id":162909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7901f8012d1b590007250f080022000f1c..."} 
[2026-08-23 08:06:41] local.INFO: Packet analysis {"connection_id":162909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c79"} 
[2026-08-23 08:06:41] local.INFO: Extracted packet for processing {"connection_id":162909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c79"} 
[2026-08-23 08:06:41] local.INFO: GPS Element Parsed {"raw_longitude":756766976,"raw_latitude":119869192,"longitude_deg":75.6766976,"latitude_deg":11.9869192,"altitude":34,"angle":15,"satellites":28,"speed":34,"hex_longitude":"2d1b5900","hex_latitude":"07250f08","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587845120001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15185123162980352,"note":"Value kept but may cause issues"} 
[2026-08-23 08:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970043392683675648,"note":"Value kept but may cause issues"} 
[2026-08-23 08:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787452523000,"timestamp_ms":1787452523000,"timestamp_seconds":1787452523,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7901f8"} 
[2026-08-23 08:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-23 08:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587845120001,"66":14483,"136":206,"83":42752,"24":34,"16":15185123162980352,"45":1970043392683675648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-23 08:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587845120001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:06:41] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-23 08:06:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15185123162980352,"km_value":15185123162980.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970043392683675648,"description":"Unknown IO ID 45"} 
[2026-08-23 08:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587845120001,"power":14483,"unknown_136":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1970043392683675648}} 
[2026-08-23 08:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":162909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:06:41] local.INFO: GPS data processed {"connection_id":162909,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:06:41] local.INFO: Acknowledgment sent {"connection_id":162909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:06:46] local.INFO: TCP Data received {"connection_id":160336,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:06:46] local.INFO: Processing buffer {"connection_id":160336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:06:46] local.INFO: IMEI packet received {"connection_id":160336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":160336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:06:52] local.INFO: TCP Data received {"connection_id":160336,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:06:52] local.INFO: Processing buffer {"connection_id":160336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:06:52] local.INFO: IMEI packet received {"connection_id":160336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":160336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:06:53] local.INFO: TCP Data received {"connection_id":160336,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:06:53] local.INFO: Processing buffer {"connection_id":160336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:06:53] local.INFO: Packet analysis {"connection_id":160336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:06:53] local.INFO: Extracted packet for processing {"connection_id":160336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:06:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587737856001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787452402000,"timestamp_ms":1787452402000,"timestamp_seconds":1787452402,"priority":1,"record_length":96,"hex_timestamp":"000001a02c772950"} 
[2026-08-23 08:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:06:53] 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-08-23 08:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:06:53] 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-08-23 08:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587737856001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587737856001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:06:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:06:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587737856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":160336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:06:53] local.INFO: GPS data processed {"connection_id":160336,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:06:53] local.INFO: Acknowledgment sent {"connection_id":160336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:07:12] local.INFO: TCP Data received {"connection_id":162909,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7a2ad8012d1b43800725da10002c000e1d..."} 
[2026-08-23 08:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7a2ad8012d1b43800725da10002c000e1d..."} 
[2026-08-23 08:07:12] local.INFO: Processing buffer {"connection_id":162909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7a2ad8012d1b43800725da10002c000e1d..."} 
[2026-08-23 08:07:12] local.INFO: Packet analysis {"connection_id":162909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c7a"} 
[2026-08-23 08:07:12] local.INFO: Extracted packet for processing {"connection_id":162909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c7a"} 
[2026-08-23 08:07:12] local.INFO: GPS Element Parsed {"raw_longitude":756761472,"raw_latitude":119921168,"longitude_deg":75.6761472,"latitude_deg":11.9921168,"altitude":44,"angle":14,"satellites":29,"speed":20,"hex_longitude":"2d1b4380","hex_latitude":"0725da10","is_valid_coordinates":true} 
[2026-08-23 08:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587863296001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15187871942049792,"note":"Value kept but may cause issues"} 
[2026-08-23 08:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961880618371833856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787452599000,"timestamp_ms":1787452599000,"timestamp_seconds":1787452599,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7a2ad8"} 
[2026-08-23 08:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-23 08:07: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-08-23 08:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587863296001,"66":14070,"217":206,"83":42752,"24":20,"16":15187871942049792,"45":1961880618371833856},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 08:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587863296001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:07:12] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 08:07:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15187871942049792,"km_value":15187871942049.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961880618371833856,"description":"Unknown IO ID 45"} 
[2026-08-23 08:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587863296001,"power":14070,"unknown_217":206,"unknown_83":42752,"ignition":20,"odometer":null,"unknown_45":1961880618371833856}} 
[2026-08-23 08:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":162909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:07:12] local.INFO: GPS data processed {"connection_id":162909,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:07:12] local.INFO: Acknowledgment sent {"connection_id":162909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:07:24] local.INFO: TCP Data received {"connection_id":160336,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:07:24] local.INFO: Processing buffer {"connection_id":160336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:07:24] local.INFO: Packet analysis {"connection_id":160336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:07:24] local.INFO: Extracted packet for processing {"connection_id":160336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:07:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587737856001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787452402000,"timestamp_ms":1787452402000,"timestamp_seconds":1787452402,"priority":1,"record_length":96,"hex_timestamp":"000001a02c772950"} 
[2026-08-23 08:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:07: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-08-23 08:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:07:24] 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-08-23 08:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587737856001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587737856001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:07:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:07:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587737856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":160336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:07:24] local.INFO: GPS data processed {"connection_id":160336,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:07:24] local.INFO: Acknowledgment sent {"connection_id":160336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:07:45] local.INFO: TCP Data received {"connection_id":161494,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:07:45] local.INFO: Processing buffer {"connection_id":161494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:07:45] local.INFO: IMEI packet received {"connection_id":161494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":161494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:07:46] local.INFO: TCP Data received {"connection_id":162910,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:07:46] local.INFO: Processing buffer {"connection_id":162910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:07:46] local.INFO: IMEI packet received {"connection_id":162910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":162910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:07:47] local.INFO: TCP Data received {"connection_id":161494,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:07:47] local.INFO: Processing buffer {"connection_id":161494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:07:47] local.INFO: IMEI packet received {"connection_id":161494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":161494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:07:50] local.INFO: TCP Data received {"connection_id":161494,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:07:50] local.INFO: Processing buffer {"connection_id":161494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:07:50] local.INFO: IMEI packet received {"connection_id":161494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":161494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:07:51] local.INFO: TCP Data received {"connection_id":161494,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7a6958012d1b4b000725fc98002c000c1b..."} 
[2026-08-23 08:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7a6958012d1b4b000725fc98002c000c1b..."} 
[2026-08-23 08:07:51] local.INFO: Processing buffer {"connection_id":161494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7a6958012d1b4b000725fc98002c000c1b..."} 
[2026-08-23 08:07:51] local.INFO: Packet analysis {"connection_id":161494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c7a"} 
[2026-08-23 08:07:51] local.INFO: Extracted packet for processing {"connection_id":161494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c7a"} 
[2026-08-23 08:07:51] local.INFO: GPS Element Parsed {"raw_longitude":756763392,"raw_latitude":119930008,"longitude_deg":75.6763392,"latitude_deg":11.9930008,"altitude":44,"angle":12,"satellites":27,"speed":33,"hex_longitude":"2d1b4b00","hex_latitude":"0725fc98","is_valid_coordinates":true} 
[2026-08-23 08:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587865344001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15188310028713984,"note":"Value kept but may cause issues"} 
[2026-08-23 08:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964554630651842560,"note":"Value kept but may cause issues"} 
[2026-08-23 08:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787452615000,"timestamp_ms":1787452615000,"timestamp_seconds":1787452615,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7a6958"} 
[2026-08-23 08:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-23 08:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587865344001,"66":14461,"217":206,"83":42752,"24":33,"16":15188310028713984,"45":1964554630651842560},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 08:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587865344001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:07:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 08:07:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15188310028713984,"km_value":15188310028713.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964554630651842560,"description":"Unknown IO ID 45"} 
[2026-08-23 08:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587865344001,"power":14461,"unknown_217":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1964554630651842560}} 
[2026-08-23 08:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":161494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:07:51] local.INFO: GPS data processed {"connection_id":161494,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:07:51] local.INFO: Acknowledgment sent {"connection_id":161494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:07:52] local.INFO: TCP Data received {"connection_id":162910,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:07:52] local.INFO: Processing buffer {"connection_id":162910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:07:52] local.INFO: IMEI packet received {"connection_id":162910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":162910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:07:53] local.INFO: TCP Data received {"connection_id":162910,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:07:53] local.INFO: Processing buffer {"connection_id":162910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:07:53] local.INFO: Packet analysis {"connection_id":162910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:07:53] local.INFO: Extracted packet for processing {"connection_id":162910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:07:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:07: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-08-23 08:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587737856001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787452402000,"timestamp_ms":1787452402000,"timestamp_seconds":1787452402,"priority":1,"record_length":96,"hex_timestamp":"000001a02c772950"} 
[2026-08-23 08:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:07:53] 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-08-23 08:07: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-08-23 08:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587737856001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587737856001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:07:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:07:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587737856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":162910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:07:53] local.INFO: GPS data processed {"connection_id":162910,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:07:53] local.INFO: Acknowledgment sent {"connection_id":162910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:07:56] local.INFO: TCP Data received {"connection_id":161494,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7a9068012d1b5040072619c8002a01671b..."} 
[2026-08-23 08:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7a9068012d1b5040072619c8002a01671b..."} 
[2026-08-23 08:07:56] local.INFO: Processing buffer {"connection_id":161494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7a9068012d1b5040072619c8002a01671b..."} 
[2026-08-23 08:07:56] local.INFO: Packet analysis {"connection_id":161494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c7a"} 
[2026-08-23 08:07:56] local.INFO: Extracted packet for processing {"connection_id":161494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c7a"} 
[2026-08-23 08:07:56] local.INFO: GPS Element Parsed {"raw_longitude":756764736,"raw_latitude":119937480,"longitude_deg":75.6764736,"latitude_deg":11.993748,"altitude":42,"angle":359,"satellites":27,"speed":17,"hex_longitude":"2d1b5040","hex_latitude":"072619c8","is_valid_coordinates":true} 
[2026-08-23 08:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587869440001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15188679395901440,"note":"Value kept but may cause issues"} 
[2026-08-23 08:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966665692979435520,"note":"Value kept but may cause issues"} 
[2026-08-23 08:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787452625000,"timestamp_ms":1787452625000,"timestamp_seconds":1787452625,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7a9068"} 
[2026-08-23 08:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 08:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587869440001,"66":14483,"217":206,"83":42752,"24":17,"16":15188679395901440,"45":1966665692979435520},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 08:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587869440001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:07:56] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 08:07:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15188679395901440,"km_value":15188679395901.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966665692979435520,"description":"Unknown IO ID 45"} 
[2026-08-23 08:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587869440001,"power":14483,"unknown_217":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1966665692979435520}} 
[2026-08-23 08:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":161494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:07:56] local.INFO: GPS data processed {"connection_id":161494,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:07:56] local.INFO: Acknowledgment sent {"connection_id":161494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:08:28] local.INFO: TCP Data received {"connection_id":162910,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:08:28] local.INFO: Processing buffer {"connection_id":162910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:08:28] local.INFO: Packet analysis {"connection_id":162910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:08:28] local.INFO: Extracted packet for processing {"connection_id":162910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:08:28] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587737856001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787452402000,"timestamp_ms":1787452402000,"timestamp_seconds":1787452402,"priority":1,"record_length":96,"hex_timestamp":"000001a02c772950"} 
[2026-08-23 08:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587737856001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587737856001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:08:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:08:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587737856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":162910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:08:28] local.INFO: GPS data processed {"connection_id":162910,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:08:28] local.INFO: Acknowledgment sent {"connection_id":162910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:08:30] local.INFO: TCP Data received {"connection_id":160544,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:08:30] local.INFO: Processing buffer {"connection_id":160544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:08:30] local.INFO: IMEI packet received {"connection_id":160544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":160544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:08:30] local.INFO: TCP Data received {"connection_id":160544,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:08:30] local.INFO: Processing buffer {"connection_id":160544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:08:30] local.INFO: IMEI packet received {"connection_id":160544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":160544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:08:35] local.INFO: TCP Data received {"connection_id":160544,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:08:35] local.INFO: Processing buffer {"connection_id":160544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:08:35] local.INFO: IMEI packet received {"connection_id":160544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":160544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:08:36] local.INFO: TCP Data received {"connection_id":160544,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7a9838012d1b4fc007261d10002901531b..."} 
[2026-08-23 08:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7a9838012d1b4fc007261d10002901531b..."} 
[2026-08-23 08:08:36] local.INFO: Processing buffer {"connection_id":160544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7a9838012d1b4fc007261d10002901531b..."} 
[2026-08-23 08:08:36] local.INFO: Packet analysis {"connection_id":160544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c7a"} 
[2026-08-23 08:08:36] local.INFO: Extracted packet for processing {"connection_id":160544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c7a"} 
[2026-08-23 08:08:36] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119938320,"longitude_deg":75.6764608,"latitude_deg":11.993832,"altitude":41,"angle":339,"satellites":27,"speed":16,"hex_longitude":"2d1b4fc0","hex_latitude":"07261d10","is_valid_coordinates":true} 
[2026-08-23 08:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587872000001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15188722345574400,"note":"Value kept but may cause issues"} 
[2026-08-23 08:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968143436609079296,"note":"Value kept but may cause issues"} 
[2026-08-23 08:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787452627000,"timestamp_ms":1787452627000,"timestamp_seconds":1787452627,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7a9838"} 
[2026-08-23 08:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-23 08:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587872000001,"66":14548,"217":206,"83":42752,"24":16,"16":15188722345574400,"45":1968143436609079296},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 08:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587872000001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:08:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 08:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15188722345574400,"km_value":15188722345574.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968143436609079296,"description":"Unknown IO ID 45"} 
[2026-08-23 08:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587872000001,"power":14548,"unknown_217":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1968143436609079296}} 
[2026-08-23 08:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":160544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:08:36] local.INFO: GPS data processed {"connection_id":160544,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:08:36] local.INFO: Acknowledgment sent {"connection_id":160544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:08:46] local.INFO: TCP Data received {"connection_id":161495,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:08:46] local.INFO: Processing buffer {"connection_id":161495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:08:46] local.INFO: IMEI packet received {"connection_id":161495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":161495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:08:52] local.INFO: TCP Data received {"connection_id":161495,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:08:52] local.INFO: Processing buffer {"connection_id":161495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:08:52] local.INFO: IMEI packet received {"connection_id":161495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":161495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:08:53] local.INFO: TCP Data received {"connection_id":161495,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:08:53] local.INFO: Processing buffer {"connection_id":161495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c772950012d34c50006aa4098000e008521..."} 
[2026-08-23 08:08:53] local.INFO: Packet analysis {"connection_id":161495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:08:53] local.INFO: Extracted packet for processing {"connection_id":161495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c77"} 
[2026-08-23 08:08:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587737856001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787452402000,"timestamp_ms":1787452402000,"timestamp_seconds":1787452402,"priority":1,"record_length":96,"hex_timestamp":"000001a02c772950"} 
[2026-08-23 08:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:08:53] 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-08-23 08:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:08:53] 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-08-23 08:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587737856001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587737856001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:08:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:08:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587737856001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":161495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:08:53] local.INFO: GPS data processed {"connection_id":161495,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:08:53] local.INFO: Acknowledgment sent {"connection_id":161495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:09:07] local.INFO: TCP Data received {"connection_id":160544,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7aa008012d1b4e4007261fe8002801451c..."} 
[2026-08-23 08:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7aa008012d1b4e4007261fe8002801451c..."} 
[2026-08-23 08:09:07] local.INFO: Processing buffer {"connection_id":160544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7aa008012d1b4e4007261fe8002801451c..."} 
[2026-08-23 08:09:07] local.INFO: Packet analysis {"connection_id":160544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c7a"} 
[2026-08-23 08:09:07] local.INFO: Extracted packet for processing {"connection_id":160544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c7a"} 
[2026-08-23 08:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756764224,"raw_latitude":119939048,"longitude_deg":75.6764224,"latitude_deg":11.9939048,"altitude":40,"angle":325,"satellites":28,"speed":17,"hex_longitude":"2d1b4e40","hex_latitude":"07261fe8","is_valid_coordinates":true} 
[2026-08-23 08:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587872512001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15188761000280064,"note":"Value kept but may cause issues"} 
[2026-08-23 08:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968002699120939008,"note":"Value kept but may cause issues"} 
[2026-08-23 08:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787452629000,"timestamp_ms":1787452629000,"timestamp_seconds":1787452629,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7aa008"} 
[2026-08-23 08:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-23 08:09: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-08-23 08:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587872512001,"66":13961,"217":206,"83":42752,"24":17,"16":15188761000280064,"45":1968002699120939008},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 08:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587872512001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:09:07] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 08:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15188761000280064,"km_value":15188761000280.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968002699120939008,"description":"Unknown IO ID 45"} 
[2026-08-23 08:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587872512001,"power":13961,"unknown_217":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1968002699120939008}} 
[2026-08-23 08:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":160544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:09:07] local.INFO: GPS data processed {"connection_id":160544,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:09:07] local.INFO: Acknowledgment sent {"connection_id":160544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:09:12] local.INFO: TCP Data received {"connection_id":160545,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:09:12] local.INFO: Processing buffer {"connection_id":160545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:09:12] local.INFO: IMEI packet received {"connection_id":160545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":160545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:09:13] local.INFO: TCP Data received {"connection_id":160545,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7930d8012d7a1d4005e46820000a010924..."} 
[2026-08-23 08:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7930d8012d7a1d4005e46820000a010924..."} 
[2026-08-23 08:09:13] local.INFO: Processing buffer {"connection_id":160545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7930d8012d7a1d4005e46820000a010924..."} 
[2026-08-23 08:09:13] local.INFO: Packet analysis {"connection_id":160545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c79"} 
[2026-08-23 08:09:13] local.INFO: Extracted packet for processing {"connection_id":160545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c79"} 
[2026-08-23 08:09:13] local.INFO: GPS Element Parsed {"raw_longitude":762977600,"raw_latitude":98854944,"longitude_deg":76.29776,"latitude_deg":9.8854944,"altitude":10,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d7a1d40","hex_latitude":"05e46820","is_valid_coordinates":true} 
[2026-08-23 08:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587843584001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122508985726140416,"note":"Value kept but may cause issues"} 
[2026-08-23 08:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799259641002860544,"note":"Value kept but may cause issues"} 
[2026-08-23 08:09:13] 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-08-23 08:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787452535000,"timestamp_ms":1787452535000,"timestamp_seconds":1787452535,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7930d8"} 
[2026-08-23 08:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 08:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587843584001,"66":13124,"102":206,"87":12288,"24":0,"16":122508985726140416,"45":8799259641002860544},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-23 08:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587843584001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:09:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:09:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-23 08:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122508985726140416,"km_value":122508985726140.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799259641002860544,"description":"Unknown IO ID 45"} 
[2026-08-23 08:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587843584001,"power":13124,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799259641002860544}} 
[2026-08-23 08:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":160545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:09:13] local.INFO: GPS data processed {"connection_id":160545,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:09:13] local.INFO: Acknowledgment sent {"connection_id":160545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:09:23] local.INFO: TCP Data received {"connection_id":161495,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:09:23] local.INFO: Processing buffer {"connection_id":161495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:09:23] local.INFO: Packet analysis {"connection_id":161495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c7b"} 
[2026-08-23 08:09:23] local.INFO: Extracted packet for processing {"connection_id":161495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c7b"} 
[2026-08-23 08:09:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587814912001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787452703000,"timestamp_ms":1787452703000,"timestamp_seconds":1787452703,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7bc118"} 
[2026-08-23 08:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:09: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-08-23 08:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:09:24] 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-08-23 08:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587814912001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587814912001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:09:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:09:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587814912001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":161495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:09:24] local.INFO: GPS data processed {"connection_id":161495,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:09:24] local.INFO: Acknowledgment sent {"connection_id":161495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:09:35] local.INFO: TCP Data received {"connection_id":161496,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:09:35] local.INFO: Processing buffer {"connection_id":161496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:09:35] local.INFO: IMEI packet received {"connection_id":161496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":161496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:09:44] local.INFO: TCP Data received {"connection_id":160545,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7982e0012d7a1d4005e46820000a010927..."} 
[2026-08-23 08:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7982e0012d7a1d4005e46820000a010927..."} 
[2026-08-23 08:09:44] local.INFO: Processing buffer {"connection_id":160545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7982e0012d7a1d4005e46820000a010927..."} 
[2026-08-23 08:09:44] local.INFO: Packet analysis {"connection_id":160545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c79"} 
[2026-08-23 08:09:44] local.INFO: Extracted packet for processing {"connection_id":160545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c79"} 
[2026-08-23 08:09:44] local.INFO: GPS Element Parsed {"raw_longitude":762977600,"raw_latitude":98854944,"longitude_deg":76.29776,"latitude_deg":9.8854944,"altitude":10,"angle":265,"satellites":39,"speed":0,"hex_longitude":"2d7a1d40","hex_latitude":"05e46820","is_valid_coordinates":true} 
[2026-08-23 08:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587848960001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122508985726140416,"note":"Value kept but may cause issues"} 
[2026-08-23 08:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799259641002860544,"note":"Value kept but may cause issues"} 
[2026-08-23 08:09:44] 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-08-23 08:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787452556000,"timestamp_ms":1787452556000,"timestamp_seconds":1787452556,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7982e0"} 
[2026-08-23 08:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-23 08:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587848960001,"66":13363,"102":206,"87":12288,"24":0,"16":122508985726140416,"45":8799259641002860544},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-23 08:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587848960001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:09:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:09:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-23 08:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122508985726140416,"km_value":122508985726140.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799259641002860544,"description":"Unknown IO ID 45"} 
[2026-08-23 08:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587848960001,"power":13363,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799259641002860544}} 
[2026-08-23 08:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":160545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:09:44] local.INFO: GPS data processed {"connection_id":160545,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:09:44] local.INFO: Acknowledgment sent {"connection_id":160545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:09:47] local.INFO: TCP Data received {"connection_id":160337,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:09:47] local.INFO: Processing buffer {"connection_id":160337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:09:47] local.INFO: IMEI packet received {"connection_id":160337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":160337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:09:49] local.INFO: TCP Data received {"connection_id":161496,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:09:49] local.INFO: Processing buffer {"connection_id":161496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:09:49] local.INFO: IMEI packet received {"connection_id":161496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":161496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:09:50] local.INFO: TCP Data received {"connection_id":161496,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7c4200012d1aff80072633a0002401151d..."} 
[2026-08-23 08:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7c4200012d1aff80072633a0002401151d..."} 
[2026-08-23 08:09:50] local.INFO: Processing buffer {"connection_id":161496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7c4200012d1aff80072633a0002401151d..."} 
[2026-08-23 08:09:50] local.INFO: Packet analysis {"connection_id":161496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c7c"} 
[2026-08-23 08:09:50] local.INFO: Extracted packet for processing {"connection_id":161496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c7c"} 
[2026-08-23 08:09:50] local.INFO: GPS Element Parsed {"raw_longitude":756744064,"raw_latitude":119944096,"longitude_deg":75.6744064,"latitude_deg":11.9944096,"altitude":36,"angle":277,"satellites":29,"speed":36,"hex_longitude":"2d1aff80","hex_latitude":"072633a0","is_valid_coordinates":true} 
[2026-08-23 08:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587899392001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15189804677332992,"note":"Value kept but may cause issues"} 
[2026-08-23 08:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949354981915113472,"note":"Value kept but may cause issues"} 
[2026-08-23 08:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787452736000,"timestamp_ms":1787452736000,"timestamp_seconds":1787452736,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7c4200"} 
[2026-08-23 08:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-23 08:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587899392001,"66":14396,"43":206,"83":41984,"24":36,"16":15189804677332992,"45":1949354981915113472},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-23 08:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587899392001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:09:50] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-23 08:09:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15189804677332992,"km_value":15189804677332.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949354981915113472,"description":"Unknown IO ID 45"} 
[2026-08-23 08:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587899392001,"power":14396,"unknown_43":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1949354981915113472}} 
[2026-08-23 08:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":161496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:09:50] local.INFO: GPS data processed {"connection_id":161496,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:09:50] local.INFO: Acknowledgment sent {"connection_id":161496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:09:51] local.INFO: TCP Data received {"connection_id":161496,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7cede0012d1abfc0072643f8002b01021f..."} 
[2026-08-23 08:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7cede0012d1abfc0072643f8002b01021f..."} 
[2026-08-23 08:09:51] local.INFO: Processing buffer {"connection_id":161496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7cede0012d1abfc0072643f8002b01021f..."} 
[2026-08-23 08:09:51] local.INFO: Packet analysis {"connection_id":161496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c7c"} 
[2026-08-23 08:09:51] local.INFO: Extracted packet for processing {"connection_id":161496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c7c"} 
[2026-08-23 08:09:51] local.INFO: GPS Element Parsed {"raw_longitude":756727744,"raw_latitude":119948280,"longitude_deg":75.6727744,"latitude_deg":11.994828,"altitude":43,"angle":258,"satellites":31,"speed":8,"hex_longitude":"2d1abfc0","hex_latitude":"072643f8","is_valid_coordinates":true} 
[2026-08-23 08:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587911168001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15190698030530560,"note":"Value kept but may cause issues"} 
[2026-08-23 08:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927892514942228480,"note":"Value kept but may cause issues"} 
[2026-08-23 08:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787452780000,"timestamp_ms":1787452780000,"timestamp_seconds":1787452780,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7cede0"} 
[2026-08-23 08:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 08:09:51] 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-08-23 08:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587911168001,"66":14428,"175":206,"83":42752,"24":8,"16":15190698030530560,"45":1927892514942228480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-23 08:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587911168001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:09:51] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-23 08:09:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15190698030530560,"km_value":15190698030530.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927892514942228480,"description":"Unknown IO ID 45"} 
[2026-08-23 08:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587911168001,"power":14428,"unknown_175":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1927892514942228480}} 
[2026-08-23 08:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":161496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:09:52] local.INFO: GPS data processed {"connection_id":161496,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:09:52] local.INFO: Acknowledgment sent {"connection_id":161496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:09:52] local.INFO: TCP Data received {"connection_id":160337,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:09:52] local.INFO: Processing buffer {"connection_id":160337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:09:52] local.INFO: IMEI packet received {"connection_id":160337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":160337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:09:52] local.INFO: TCP Data received {"connection_id":160337,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:09:52] local.INFO: Processing buffer {"connection_id":160337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:09:52] local.INFO: Packet analysis {"connection_id":160337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c7b"} 
[2026-08-23 08:09:52] local.INFO: Extracted packet for processing {"connection_id":160337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c7b"} 
[2026-08-23 08:09:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:09: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-08-23 08:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587814912001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787452703000,"timestamp_ms":1787452703000,"timestamp_seconds":1787452703,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7bc118"} 
[2026-08-23 08:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:09:52] 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-08-23 08:09: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-08-23 08:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:09:52] 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-08-23 08:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587814912001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587814912001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:09:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:09:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587814912001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":160337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:09:52] local.INFO: GPS data processed {"connection_id":160337,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:09:52] local.INFO: Acknowledgment sent {"connection_id":160337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:10:06] local.INFO: TCP Data received {"connection_id":160546,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160546,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:10:06] local.INFO: Processing buffer {"connection_id":160546,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:10:06] local.INFO: IMEI packet received {"connection_id":160546,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":160546,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:10:12] local.INFO: TCP Data received {"connection_id":160546,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160546,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:10:12] local.INFO: Processing buffer {"connection_id":160546,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:10:12] local.INFO: IMEI packet received {"connection_id":160546,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":160546,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:10:13] local.INFO: TCP Data received {"connection_id":160546,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02c79d4e8012d7a1c4005e46ba8000b010924..."} 
[2026-08-23 08:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c79d4e8012d7a1c4005e46ba8000b010924..."} 
[2026-08-23 08:10:13] local.INFO: Processing buffer {"connection_id":160546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c79d4e8012d7a1c4005e46ba8000b010924..."} 
[2026-08-23 08:10:13] local.INFO: Packet analysis {"connection_id":160546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c79"} 
[2026-08-23 08:10:13] local.INFO: Extracted packet for processing {"connection_id":160546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c79"} 
[2026-08-23 08:10:13] local.INFO: GPS Element Parsed {"raw_longitude":762977344,"raw_latitude":98855848,"longitude_deg":76.2977344,"latitude_deg":9.8855848,"altitude":11,"angle":265,"satellites":36,"speed":0,"hex_longitude":"2d7a1c40","hex_latitude":"05e46ba8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587854336001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122509032970780672,"note":"Value kept but may cause issues"} 
[2026-08-23 08:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799259641002860544,"note":"Value kept but may cause issues"} 
[2026-08-23 08:10:13] 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-08-23 08:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787452577000,"timestamp_ms":1787452577000,"timestamp_seconds":1787452577,"priority":1,"record_length":96,"hex_timestamp":"000001a02c79d4e8"} 
[2026-08-23 08:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:10: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-08-23 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-23 08:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587854336001,"66":13102,"102":206,"87":12288,"24":0,"16":122509032970780672,"45":8799259641002860544},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-23 08:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587854336001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:10:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:10:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-23 08:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122509032970780672,"km_value":122509032970780.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799259641002860544,"description":"Unknown IO ID 45"} 
[2026-08-23 08:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587854336001,"power":13102,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799259641002860544}} 
[2026-08-23 08:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":160546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:10:13] local.INFO: GPS data processed {"connection_id":160546,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:10:13] local.INFO: Acknowledgment sent {"connection_id":160546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:10:24] local.INFO: TCP Data received {"connection_id":160337,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:10:24] local.INFO: Processing buffer {"connection_id":160337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:10:24] local.INFO: Packet analysis {"connection_id":160337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c7b"} 
[2026-08-23 08:10:24] local.INFO: Extracted packet for processing {"connection_id":160337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c7b"} 
[2026-08-23 08:10:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587814912001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787452703000,"timestamp_ms":1787452703000,"timestamp_seconds":1787452703,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7bc118"} 
[2026-08-23 08:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:10: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-08-23 08:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:10:24] 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-08-23 08:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:10:24] 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-08-23 08:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587814912001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587814912001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:10:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:10:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587814912001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":160337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:10:24] local.INFO: GPS data processed {"connection_id":160337,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:10:24] local.INFO: Acknowledgment sent {"connection_id":160337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:10:30] local.INFO: TCP Data received {"connection_id":160338,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:10:30] local.INFO: Processing buffer {"connection_id":160338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:10:30] local.INFO: IMEI packet received {"connection_id":160338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":160338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:10:35] local.INFO: TCP Data received {"connection_id":160338,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:10:35] local.INFO: Processing buffer {"connection_id":160338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:10:35] local.INFO: IMEI packet received {"connection_id":160338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":160338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:10:36] local.INFO: TCP Data received {"connection_id":160338,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7d6ae0012d1aa7c007263e580033013f1e..."} 
[2026-08-23 08:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7d6ae0012d1aa7c007263e580033013f1e..."} 
[2026-08-23 08:10:36] local.INFO: Processing buffer {"connection_id":160338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7d6ae0012d1aa7c007263e580033013f1e..."} 
[2026-08-23 08:10:36] local.INFO: Packet analysis {"connection_id":160338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c7d"} 
[2026-08-23 08:10:36] local.INFO: Extracted packet for processing {"connection_id":160338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c7d"} 
[2026-08-23 08:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756721600,"raw_latitude":119946840,"longitude_deg":75.67216,"latitude_deg":11.994684,"altitude":51,"angle":319,"satellites":30,"speed":8,"hex_longitude":"2d1aa7c0","hex_latitude":"07263e58","is_valid_coordinates":true} 
[2026-08-23 08:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587919104001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15191084577587200,"note":"Value kept but may cause issues"} 
[2026-08-23 08:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920996378012293120,"note":"Value kept but may cause issues"} 
[2026-08-23 08:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787452812000,"timestamp_ms":1787452812000,"timestamp_seconds":1787452812,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7d6ae0"} 
[2026-08-23 08:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-23 08:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587919104001,"66":13961,"43":206,"83":41984,"24":8,"16":15191084577587200,"45":1920996378012293120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-23 08:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587919104001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:10:36] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-23 08:10:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15191084577587200,"km_value":15191084577587.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920996378012293120,"description":"Unknown IO ID 45"} 
[2026-08-23 08:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587919104001,"power":13961,"unknown_43":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1920996378012293120}} 
[2026-08-23 08:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":160338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:10:36] local.INFO: GPS data processed {"connection_id":160338,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:10:36] local.INFO: Acknowledgment sent {"connection_id":160338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:10:45] local.INFO: TCP Data received {"connection_id":160546,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7a26f0012d7a1c4005e46ba8000b010922..."} 
[2026-08-23 08:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7a26f0012d7a1c4005e46ba8000b010922..."} 
[2026-08-23 08:10:45] local.INFO: Processing buffer {"connection_id":160546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7a26f0012d7a1c4005e46ba8000b010922..."} 
[2026-08-23 08:10:45] local.INFO: Packet analysis {"connection_id":160546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c7a"} 
[2026-08-23 08:10:45] local.INFO: Extracted packet for processing {"connection_id":160546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c7a"} 
[2026-08-23 08:10:45] local.INFO: GPS Element Parsed {"raw_longitude":762977344,"raw_latitude":98855848,"longitude_deg":76.2977344,"latitude_deg":9.8855848,"altitude":11,"angle":265,"satellites":34,"speed":0,"hex_longitude":"2d7a1c40","hex_latitude":"05e46ba8","is_valid_coordinates":true} 
[2026-08-23 08:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587859712001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122509032970780672,"note":"Value kept but may cause issues"} 
[2026-08-23 08:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798978166026381312,"note":"Value kept but may cause issues"} 
[2026-08-23 08:10:45] 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-08-23 08:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787452598000,"timestamp_ms":1787452598000,"timestamp_seconds":1787452598,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7a26f0"} 
[2026-08-23 08:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-23 08:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587859712001,"66":13222,"102":206,"87":12288,"24":0,"16":122509032970780672,"45":8798978166026381312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-23 08:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587859712001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:10:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:10:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-23 08:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122509032970780672,"km_value":122509032970780.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798978166026381312,"description":"Unknown IO ID 45"} 
[2026-08-23 08:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587859712001,"power":13222,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798978166026381312}} 
[2026-08-23 08:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":160546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:10:45] local.INFO: GPS data processed {"connection_id":160546,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:10:45] local.INFO: Acknowledgment sent {"connection_id":160546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:10:46] local.INFO: TCP Data received {"connection_id":160547,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:10:46] local.INFO: Processing buffer {"connection_id":160547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:10:46] local.INFO: IMEI packet received {"connection_id":160547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":160547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:10:52] local.INFO: TCP Data received {"connection_id":160547,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:10:52] local.INFO: Processing buffer {"connection_id":160547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:10:52] local.INFO: IMEI packet received {"connection_id":160547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":160547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:10:53] local.INFO: TCP Data received {"connection_id":160547,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:10:53] local.INFO: Processing buffer {"connection_id":160547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:10:53] local.INFO: Packet analysis {"connection_id":160547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c7b"} 
[2026-08-23 08:10:53] local.INFO: Extracted packet for processing {"connection_id":160547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c7b"} 
[2026-08-23 08:10:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587814912001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787452703000,"timestamp_ms":1787452703000,"timestamp_seconds":1787452703,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7bc118"} 
[2026-08-23 08:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:10:53] 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-08-23 08:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587814912001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587814912001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:10:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:10:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587814912001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":160547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:10:53] local.INFO: GPS data processed {"connection_id":160547,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:10:53] local.INFO: Acknowledgment sent {"connection_id":160547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:11:07] local.INFO: TCP Data received {"connection_id":160338,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7d6ec8012d1aa74007263f080033014e1e..."} 
[2026-08-23 08:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7d6ec8012d1aa74007263f080033014e1e..."} 
[2026-08-23 08:11:07] local.INFO: Processing buffer {"connection_id":160338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7d6ec8012d1aa74007263f080033014e1e..."} 
[2026-08-23 08:11:07] local.INFO: Packet analysis {"connection_id":160338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c7d"} 
[2026-08-23 08:11:07] local.INFO: Extracted packet for processing {"connection_id":160338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c7d"} 
[2026-08-23 08:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756721472,"raw_latitude":119947016,"longitude_deg":75.6721472,"latitude_deg":11.9947016,"altitude":51,"angle":334,"satellites":30,"speed":8,"hex_longitude":"2d1aa740","hex_latitude":"07263f08","is_valid_coordinates":true} 
[2026-08-23 08:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587919872001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15191093167521792,"note":"Value kept but may cause issues"} 
[2026-08-23 08:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920714903035729920,"note":"Value kept but may cause issues"} 
[2026-08-23 08:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787452813000,"timestamp_ms":1787452813000,"timestamp_seconds":1787452813,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7d6ec8"} 
[2026-08-23 08:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-23 08:11:07] 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-08-23 08:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587919872001,"66":13820,"43":206,"83":41984,"24":8,"16":15191093167521792,"45":1920714903035729920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-23 08:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587919872001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:11:07] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-23 08:11:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15191093167521792,"km_value":15191093167521.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920714903035729920,"description":"Unknown IO ID 45"} 
[2026-08-23 08:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587919872001,"power":13820,"unknown_43":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1920714903035729920}} 
[2026-08-23 08:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":160338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:11:08] local.INFO: GPS data processed {"connection_id":160338,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:11:08] local.INFO: Acknowledgment sent {"connection_id":160338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:11:12] local.INFO: TCP Data received {"connection_id":161497,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:11:12] local.INFO: Processing buffer {"connection_id":161497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:11:12] local.INFO: IMEI packet received {"connection_id":161497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":161497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:11:17] local.INFO: TCP Data received {"connection_id":161497,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:11:17] local.INFO: Processing buffer {"connection_id":161497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:11:17] local.INFO: IMEI packet received {"connection_id":161497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":161497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:11:18] local.INFO: TCP Data received {"connection_id":161497,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7a3e60012d7a1c4005e46ba8000b010925..."} 
[2026-08-23 08:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7a3e60012d7a1c4005e46ba8000b010925..."} 
[2026-08-23 08:11:18] local.INFO: Processing buffer {"connection_id":161497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7a3e60012d7a1c4005e46ba8000b010925..."} 
[2026-08-23 08:11:18] local.INFO: Packet analysis {"connection_id":161497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c7a"} 
[2026-08-23 08:11:18] local.INFO: Extracted packet for processing {"connection_id":161497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c7a"} 
[2026-08-23 08:11:18] local.INFO: GPS Element Parsed {"raw_longitude":762977344,"raw_latitude":98855848,"longitude_deg":76.2977344,"latitude_deg":9.8855848,"altitude":11,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d7a1c40","hex_latitude":"05e46ba8","is_valid_coordinates":true} 
[2026-08-23 08:11: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-08-23 08:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587865088001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122509032970780672,"note":"Value kept but may cause issues"} 
[2026-08-23 08:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798978166026381312,"note":"Value kept but may cause issues"} 
[2026-08-23 08:11:18] 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-08-23 08:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787452604000,"timestamp_ms":1787452604000,"timestamp_seconds":1787452604,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7a3e60"} 
[2026-08-23 08:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 08:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587865088001,"66":13276,"102":206,"87":12288,"24":0,"16":122509032970780672,"45":8798978166026381312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-23 08:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587865088001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:11:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:11:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-23 08:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122509032970780672,"km_value":122509032970780.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798978166026381312,"description":"Unknown IO ID 45"} 
[2026-08-23 08:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587865088001,"power":13276,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798978166026381312}} 
[2026-08-23 08:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":161497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:11:18] local.INFO: GPS data processed {"connection_id":161497,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:11:18] local.INFO: Acknowledgment sent {"connection_id":161497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:11:22] local.INFO: TCP Data received {"connection_id":161497,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7a3e60012d7a1c4005e46ba8000b010925..."} 
[2026-08-23 08:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7a3e60012d7a1c4005e46ba8000b010925..."} 
[2026-08-23 08:11:22] local.INFO: Processing buffer {"connection_id":161497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7a3e60012d7a1c4005e46ba8000b010925..."} 
[2026-08-23 08:11:22] local.INFO: Packet analysis {"connection_id":161497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c7a"} 
[2026-08-23 08:11:22] local.INFO: Extracted packet for processing {"connection_id":161497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c7a"} 
[2026-08-23 08:11:22] local.INFO: GPS Element Parsed {"raw_longitude":762977344,"raw_latitude":98855848,"longitude_deg":76.2977344,"latitude_deg":9.8855848,"altitude":11,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d7a1c40","hex_latitude":"05e46ba8","is_valid_coordinates":true} 
[2026-08-23 08:11:22] 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-08-23 08:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587866624001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122509032970780672,"note":"Value kept but may cause issues"} 
[2026-08-23 08:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798978166026381312,"note":"Value kept but may cause issues"} 
[2026-08-23 08:11:22] 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-08-23 08:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787452604000,"timestamp_ms":1787452604000,"timestamp_seconds":1787452604,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7a3e60"} 
[2026-08-23 08:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 08:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587866624001,"66":13276,"102":206,"87":12288,"24":0,"16":122509032970780672,"45":8798978166026381312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-23 08:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587866624001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:11:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:11:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-23 08:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122509032970780672,"km_value":122509032970780.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798978166026381312,"description":"Unknown IO ID 45"} 
[2026-08-23 08:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587866624001,"power":13276,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8798978166026381312}} 
[2026-08-23 08:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":161497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:11:22] local.INFO: GPS data processed {"connection_id":161497,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:11:22] local.INFO: Acknowledgment sent {"connection_id":161497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:11:24] local.INFO: TCP Data received {"connection_id":160547,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:11:24] local.INFO: Processing buffer {"connection_id":160547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:11:24] local.INFO: Packet analysis {"connection_id":160547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c7b"} 
[2026-08-23 08:11:24] local.INFO: Extracted packet for processing {"connection_id":160547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c7b"} 
[2026-08-23 08:11:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587814912001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787452703000,"timestamp_ms":1787452703000,"timestamp_seconds":1787452703,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7bc118"} 
[2026-08-23 08:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:11: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-08-23 08:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:11:24] 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-08-23 08:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587814912001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587814912001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:11:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:11:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587814912001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":160547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:11:24] local.INFO: GPS data processed {"connection_id":160547,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:11:24] local.INFO: Acknowledgment sent {"connection_id":160547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:11:30] local.INFO: TCP Data received {"connection_id":160339,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:11:30] local.INFO: Processing buffer {"connection_id":160339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:11:30] local.INFO: IMEI packet received {"connection_id":160339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":160339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:11:30] local.INFO: TCP Data received {"connection_id":160339,"ip":"42.109.136.5","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 08:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160339,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 08:11:30] local.INFO: Processing buffer {"connection_id":160339,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 08:11:30] local.INFO: IMEI packet received {"connection_id":160339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":160339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:11:31] local.INFO: TCP Data received {"connection_id":160339,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:11:31] local.INFO: Processing buffer {"connection_id":160339,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 08:11:31] local.INFO: IMEI packet received {"connection_id":160339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":160339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:11:46] local.INFO: TCP Data received {"connection_id":160340,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:11:46] local.INFO: Processing buffer {"connection_id":160340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:11:46] local.INFO: IMEI packet received {"connection_id":160340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":160340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:11:52] local.INFO: TCP Data received {"connection_id":160340,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:11:52] local.INFO: Processing buffer {"connection_id":160340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:11:52] local.INFO: IMEI packet received {"connection_id":160340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":160340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:11:52] local.INFO: TCP Data received {"connection_id":160340,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:11:52] local.INFO: Processing buffer {"connection_id":160340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:11:52] local.INFO: Packet analysis {"connection_id":160340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c7b"} 
[2026-08-23 08:11:52] local.INFO: Extracted packet for processing {"connection_id":160340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c7b"} 
[2026-08-23 08:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587814912001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787452703000,"timestamp_ms":1787452703000,"timestamp_seconds":1787452703,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7bc118"} 
[2026-08-23 08:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:11:52] 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-08-23 08:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:11:52] 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-08-23 08:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587814912001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587814912001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:11:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587814912001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":160340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:11:53] local.INFO: GPS data processed {"connection_id":160340,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:11:53] local.INFO: Acknowledgment sent {"connection_id":160340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:12:24] local.INFO: TCP Data received {"connection_id":160340,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:12:24] local.INFO: Processing buffer {"connection_id":160340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:12:24] local.INFO: Packet analysis {"connection_id":160340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c7b"} 
[2026-08-23 08:12:24] local.INFO: Extracted packet for processing {"connection_id":160340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c7b"} 
[2026-08-23 08:12:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587814912001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787452703000,"timestamp_ms":1787452703000,"timestamp_seconds":1787452703,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7bc118"} 
[2026-08-23 08:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:12: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-08-23 08:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:12:24] 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-08-23 08:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:12:24] 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-08-23 08:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587814912001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587814912001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:12:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:12:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587814912001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":160340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:12:24] local.INFO: GPS data processed {"connection_id":160340,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:12:24] local.INFO: Acknowledgment sent {"connection_id":160340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:12:46] local.INFO: TCP Data received {"connection_id":160548,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:12:46] local.INFO: Processing buffer {"connection_id":160548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:12:46] local.INFO: IMEI packet received {"connection_id":160548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":160548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:12:52] local.INFO: TCP Data received {"connection_id":160548,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:12:52] local.INFO: Processing buffer {"connection_id":160548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:12:52] local.INFO: IMEI packet received {"connection_id":160548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":160548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:12:53] local.INFO: TCP Data received {"connection_id":160548,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:12:53] local.INFO: Processing buffer {"connection_id":160548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:12:53] local.INFO: Packet analysis {"connection_id":160548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c7b"} 
[2026-08-23 08:12:53] local.INFO: Extracted packet for processing {"connection_id":160548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c7b"} 
[2026-08-23 08:12:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587814912001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787452703000,"timestamp_ms":1787452703000,"timestamp_seconds":1787452703,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7bc118"} 
[2026-08-23 08:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:12:53] 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-08-23 08:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:12:53] 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-08-23 08:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587814912001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587814912001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:12:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:12:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587814912001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":160548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:12:53] local.INFO: GPS data processed {"connection_id":160548,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:12:53] local.INFO: Acknowledgment sent {"connection_id":160548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:13:24] local.INFO: TCP Data received {"connection_id":160548,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:13:24] local.INFO: Processing buffer {"connection_id":160548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:13:24] local.INFO: Packet analysis {"connection_id":160548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c7b"} 
[2026-08-23 08:13:24] local.INFO: Extracted packet for processing {"connection_id":160548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c7b"} 
[2026-08-23 08:13:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587814912001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787452703000,"timestamp_ms":1787452703000,"timestamp_seconds":1787452703,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7bc118"} 
[2026-08-23 08:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:13: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-08-23 08:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:13:24] 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-08-23 08:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587814912001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587814912001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:13:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:13:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587814912001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":160548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:13:24] local.INFO: GPS data processed {"connection_id":160548,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:13:24] local.INFO: Acknowledgment sent {"connection_id":160548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:13:46] local.INFO: TCP Data received {"connection_id":161500,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:13:46] local.INFO: Processing buffer {"connection_id":161500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:13:46] local.INFO: IMEI packet received {"connection_id":161500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":161500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:13:52] local.INFO: TCP Data received {"connection_id":161500,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:13:52] local.INFO: Processing buffer {"connection_id":161500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:13:52] local.INFO: IMEI packet received {"connection_id":161500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":161500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:13:53] local.INFO: TCP Data received {"connection_id":161500,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:13:53] local.INFO: Processing buffer {"connection_id":161500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c7bc118012d34c50006aa40980009008524..."} 
[2026-08-23 08:13:53] local.INFO: Packet analysis {"connection_id":161500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c7b"} 
[2026-08-23 08:13:53] local.INFO: Extracted packet for processing {"connection_id":161500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c7b"} 
[2026-08-23 08:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587814912001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787452703000,"timestamp_ms":1787452703000,"timestamp_seconds":1787452703,"priority":1,"record_length":96,"hex_timestamp":"000001a02c7bc118"} 
[2026-08-23 08:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:13:53] 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-08-23 08:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:13:53] 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-08-23 08:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587814912001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587814912001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:13:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587814912001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":161500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:13:53] local.INFO: GPS data processed {"connection_id":161500,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:13:53] local.INFO: Acknowledgment sent {"connection_id":161500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:14:24] local.INFO: TCP Data received {"connection_id":161500,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:14:24] local.INFO: Processing buffer {"connection_id":161500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:14:24] local.INFO: Packet analysis {"connection_id":161500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c80"} 
[2026-08-23 08:14:24] local.INFO: Extracted packet for processing {"connection_id":161500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c80"} 
[2026-08-23 08:14:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587891968001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787453004000,"timestamp_ms":1787453004000,"timestamp_seconds":1787453004,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8058e0"} 
[2026-08-23 08:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:14: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-08-23 08:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:14:24] 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-08-23 08:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:14:24] 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-08-23 08:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587891968001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587891968001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:14:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:14:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587891968001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":161500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:14:24] local.INFO: GPS data processed {"connection_id":161500,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:14:24] local.INFO: Acknowledgment sent {"connection_id":161500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:14:47] local.INFO: TCP Data received {"connection_id":160550,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:14:47] local.INFO: Processing buffer {"connection_id":160550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:14:47] local.INFO: IMEI packet received {"connection_id":160550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":160550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:14:52] local.INFO: TCP Data received {"connection_id":160550,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:14:52] local.INFO: Processing buffer {"connection_id":160550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:14:52] local.INFO: IMEI packet received {"connection_id":160550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":160550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:14:54] local.INFO: TCP Data received {"connection_id":160550,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:14:54] local.INFO: Processing buffer {"connection_id":160550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:14:54] local.INFO: Packet analysis {"connection_id":160550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c80"} 
[2026-08-23 08:14:54] local.INFO: Extracted packet for processing {"connection_id":160550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c80"} 
[2026-08-23 08:14:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587891968001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787453004000,"timestamp_ms":1787453004000,"timestamp_seconds":1787453004,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8058e0"} 
[2026-08-23 08:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:14:54] 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-08-23 08:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587891968001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587891968001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:14:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:14:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587891968001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":160550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:14:54] local.INFO: GPS data processed {"connection_id":160550,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:14:54] local.INFO: Acknowledgment sent {"connection_id":160550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:15:26] local.INFO: TCP Data received {"connection_id":160550,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:15:26] local.INFO: Processing buffer {"connection_id":160550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:15:26] local.INFO: Packet analysis {"connection_id":160550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c80"} 
[2026-08-23 08:15:26] local.INFO: Extracted packet for processing {"connection_id":160550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c80"} 
[2026-08-23 08:15:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 08:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587891968001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787453004000,"timestamp_ms":1787453004000,"timestamp_seconds":1787453004,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8058e0"} 
[2026-08-23 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-08-23 08:15: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-08-23 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:15:26] 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-08-23 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-08-23 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-08-23 08:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587891968001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587891968001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:15:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:15:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587891968001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":160550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:15:26] local.INFO: GPS data processed {"connection_id":160550,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:15:26] local.INFO: Acknowledgment sent {"connection_id":160550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:15:46] local.INFO: TCP Data received {"connection_id":162913,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:15:46] local.INFO: Processing buffer {"connection_id":162913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:15:46] local.INFO: IMEI packet received {"connection_id":162913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":162913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:15:52] local.INFO: TCP Data received {"connection_id":162913,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:15:52] local.INFO: Processing buffer {"connection_id":162913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:15:52] local.INFO: IMEI packet received {"connection_id":162913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":162913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:15:54] local.INFO: TCP Data received {"connection_id":162913,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:15:54] local.INFO: Processing buffer {"connection_id":162913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:15:54] local.INFO: Packet analysis {"connection_id":162913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c80"} 
[2026-08-23 08:15:54] local.INFO: Extracted packet for processing {"connection_id":162913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c80"} 
[2026-08-23 08:15:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587891968001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787453004000,"timestamp_ms":1787453004000,"timestamp_seconds":1787453004,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8058e0"} 
[2026-08-23 08:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:15:54] 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-08-23 08: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-08-23 08:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:15:54] 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-08-23 08:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587891968001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587891968001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:15:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:15:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587891968001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":162913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:15:54] local.INFO: GPS data processed {"connection_id":162913,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:15:54] local.INFO: Acknowledgment sent {"connection_id":162913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:16:25] local.INFO: TCP Data received {"connection_id":162913,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:16:25] local.INFO: Processing buffer {"connection_id":162913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:16:25] local.INFO: Packet analysis {"connection_id":162913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c80"} 
[2026-08-23 08:16:25] local.INFO: Extracted packet for processing {"connection_id":162913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c80"} 
[2026-08-23 08:16:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587891968001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787453004000,"timestamp_ms":1787453004000,"timestamp_seconds":1787453004,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8058e0"} 
[2026-08-23 08:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:16:25] 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-08-23 08:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:16:25] 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-08-23 08:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587891968001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587891968001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:16:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:16:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587891968001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":162913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:16:25] local.INFO: GPS data processed {"connection_id":162913,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:16:25] local.INFO: Acknowledgment sent {"connection_id":162913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:16:32] local.INFO: TCP Data received {"connection_id":162914,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:16:32] local.INFO: Processing buffer {"connection_id":162914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:16:32] local.INFO: IMEI packet received {"connection_id":162914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":162914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:16:35] local.INFO: TCP Data received {"connection_id":162914,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:16:35] local.INFO: Processing buffer {"connection_id":162914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:16:35] local.INFO: IMEI packet received {"connection_id":162914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":162914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:16:36] local.INFO: TCP Data received {"connection_id":162914,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c817dd8012d1b340007262020002600ef22..."} 
[2026-08-23 08:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c817dd8012d1b340007262020002600ef22..."} 
[2026-08-23 08:16:36] local.INFO: Processing buffer {"connection_id":162914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c817dd8012d1b340007262020002600ef22..."} 
[2026-08-23 08:16:36] local.INFO: Packet analysis {"connection_id":162914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c81"} 
[2026-08-23 08:16:36] local.INFO: Extracted packet for processing {"connection_id":162914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c81"} 
[2026-08-23 08:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119939104,"longitude_deg":75.6757504,"latitude_deg":11.9939104,"altitude":38,"angle":239,"satellites":34,"speed":10,"hex_longitude":"2d1b3400","hex_latitude":"07262020","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587986432001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15193451104567296,"note":"Value kept but may cause issues"} 
[2026-08-23 08:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962443568331302912,"note":"Value kept but may cause issues"} 
[2026-08-23 08:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787453079000,"timestamp_ms":1787453079000,"timestamp_seconds":1787453079,"priority":1,"record_length":96,"hex_timestamp":"000001a02c817dd8"} 
[2026-08-23 08:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-23 08:16: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-08-23 08: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-08-23 08:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587986432001,"66":13080,"175":206,"83":42752,"24":10,"16":15193451104567296,"45":1962443568331302912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-23 08:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587986432001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:16:36] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-23 08:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15193451104567296,"km_value":15193451104567.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962443568331302912,"description":"Unknown IO ID 45"} 
[2026-08-23 08:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587986432001,"power":13080,"unknown_175":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1962443568331302912}} 
[2026-08-23 08:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":162914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:16:36] local.INFO: GPS data processed {"connection_id":162914,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:16:36] local.INFO: Acknowledgment sent {"connection_id":162914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:16:41] local.INFO: TCP Data received {"connection_id":162914,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8181c0012d1b338007261fa8002500e422..."} 
[2026-08-23 08:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8181c0012d1b338007261fa8002500e422..."} 
[2026-08-23 08:16:41] local.INFO: Processing buffer {"connection_id":162914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8181c0012d1b338007261fa8002500e422..."} 
[2026-08-23 08:16:41] local.INFO: Packet analysis {"connection_id":162914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c81"} 
[2026-08-23 08:16:41] local.INFO: Extracted packet for processing {"connection_id":162914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c81"} 
[2026-08-23 08:16:41] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119938984,"longitude_deg":75.6757376,"latitude_deg":11.9938984,"altitude":37,"angle":228,"satellites":34,"speed":9,"hex_longitude":"2d1b3380","hex_latitude":"07261fa8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 08:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587988224001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15193459694501888,"note":"Value kept but may cause issues"} 
[2026-08-23 08:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768517419008,"note":"Value kept but may cause issues"} 
[2026-08-23 08:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787453080000,"timestamp_ms":1787453080000,"timestamp_seconds":1787453080,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8181c0"} 
[2026-08-23 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-08-23 08:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-23 08:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 08:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587988224001,"66":13080,"175":206,"83":42752,"24":9,"16":15193459694501888,"45":1960191768517419008},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-23 08:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587988224001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:16:41] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-23 08:16:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15193459694501888,"km_value":15193459694501.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768517419008,"description":"Unknown IO ID 45"} 
[2026-08-23 08:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587988224001,"power":13080,"unknown_175":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1960191768517419008}} 
[2026-08-23 08:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":162914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:16:41] local.INFO: GPS data processed {"connection_id":162914,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:16:41] local.INFO: Acknowledgment sent {"connection_id":162914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:16:45] local.INFO: TCP Data received {"connection_id":161501,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:16:45] local.INFO: Processing buffer {"connection_id":161501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:16:45] local.INFO: IMEI packet received {"connection_id":161501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":161501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:16:46] local.INFO: TCP Data received {"connection_id":161502,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:16:46] local.INFO: Processing buffer {"connection_id":161502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:16:46] local.INFO: IMEI packet received {"connection_id":161502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":161502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:16:47] local.INFO: TCP Data received {"connection_id":161501,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:16:47] local.INFO: Processing buffer {"connection_id":161501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:16:47] local.INFO: IMEI packet received {"connection_id":161501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":161501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:16:52] local.INFO: TCP Data received {"connection_id":161502,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:16:52] local.INFO: Processing buffer {"connection_id":161502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:16:52] local.INFO: IMEI packet received {"connection_id":161502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":161502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:16:53] local.INFO: TCP Data received {"connection_id":161502,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:16:53] local.INFO: Processing buffer {"connection_id":161502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:16:53] local.INFO: Packet analysis {"connection_id":161502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c80"} 
[2026-08-23 08:16:53] local.INFO: Extracted packet for processing {"connection_id":161502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c80"} 
[2026-08-23 08:16:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587891968001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787453004000,"timestamp_ms":1787453004000,"timestamp_seconds":1787453004,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8058e0"} 
[2026-08-23 08:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:16:53] 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-08-23 08:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:16:53] 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-08-23 08:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587891968001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587891968001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:16:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:16:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587891968001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":161502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:16:53] local.INFO: GPS data processed {"connection_id":161502,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:16:53] local.INFO: Acknowledgment sent {"connection_id":161502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:17:12] local.INFO: TCP Data received {"connection_id":162914,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8185a8012d1b32c007261f38002600d522..."} 
[2026-08-23 08:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8185a8012d1b32c007261f38002600d522..."} 
[2026-08-23 08:17:12] local.INFO: Processing buffer {"connection_id":162914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8185a8012d1b32c007261f38002600d522..."} 
[2026-08-23 08:17:12] local.INFO: Packet analysis {"connection_id":162914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c81"} 
[2026-08-23 08:17:12] local.INFO: Extracted packet for processing {"connection_id":162914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c81"} 
[2026-08-23 08:17:12] local.INFO: GPS Element Parsed {"raw_longitude":756757184,"raw_latitude":119938872,"longitude_deg":75.6757184,"latitude_deg":11.9938872,"altitude":38,"angle":213,"satellites":34,"speed":6,"hex_longitude":"2d1b32c0","hex_latitude":"07261f38","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587988480001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15193468284436480,"note":"Value kept but may cause issues"} 
[2026-08-23 08:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051031029032960,"note":"Value kept but may cause issues"} 
[2026-08-23 08:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787453081000,"timestamp_ms":1787453081000,"timestamp_seconds":1787453081,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8185a8"} 
[2026-08-23 08:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-23 08:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587988480001,"66":13167,"175":206,"83":42752,"24":6,"16":15193468284436480,"45":1960051031029032960},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-23 08:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587988480001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:17:12] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-23 08:17:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15193468284436480,"km_value":15193468284436.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051031029032960,"description":"Unknown IO ID 45"} 
[2026-08-23 08:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587988480001,"power":13167,"unknown_175":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1960051031029032960}} 
[2026-08-23 08:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":162914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:17:12] local.INFO: GPS data processed {"connection_id":162914,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:17:12] local.INFO: Acknowledgment sent {"connection_id":162914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:17:15] local.INFO: TCP Data received {"connection_id":160341,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:17:15] local.INFO: Processing buffer {"connection_id":160341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:17:15] local.INFO: IMEI packet received {"connection_id":160341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":160341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:17:16] local.INFO: TCP Data received {"connection_id":160341,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:17:16] local.INFO: Processing buffer {"connection_id":160341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:17:16] local.INFO: IMEI packet received {"connection_id":160341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":160341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:17:25] local.INFO: TCP Data received {"connection_id":161502,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:17:25] local.INFO: Processing buffer {"connection_id":161502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:17:25] local.INFO: Packet analysis {"connection_id":161502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c80"} 
[2026-08-23 08:17:25] local.INFO: Extracted packet for processing {"connection_id":161502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c80"} 
[2026-08-23 08:17:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587891968001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787453004000,"timestamp_ms":1787453004000,"timestamp_seconds":1787453004,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8058e0"} 
[2026-08-23 08:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:17:25] 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-08-23 08: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-08-23 08:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:17:25] 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-08-23 08:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587891968001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587891968001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:17:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:17:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587891968001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":161502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:17:25] local.INFO: GPS data processed {"connection_id":161502,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:17:25] local.INFO: Acknowledgment sent {"connection_id":161502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:17:30] local.INFO: TCP Data received {"connection_id":160342,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:17:30] local.INFO: Processing buffer {"connection_id":160342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:17:30] local.INFO: IMEI packet received {"connection_id":160342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":160342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:17:35] local.INFO: TCP Data received {"connection_id":160342,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:17:35] local.INFO: Processing buffer {"connection_id":160342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:17:35] local.INFO: IMEI packet received {"connection_id":160342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":160342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:17:36] local.INFO: TCP Data received {"connection_id":160342,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c81d3c8012d1b328007261eb8002600d523..."} 
[2026-08-23 08:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c81d3c8012d1b328007261eb8002600d523..."} 
[2026-08-23 08:17:36] local.INFO: Processing buffer {"connection_id":160342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c81d3c8012d1b328007261eb8002600d523..."} 
[2026-08-23 08:17:36] local.INFO: Packet analysis {"connection_id":160342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c81"} 
[2026-08-23 08:17:36] local.INFO: Extracted packet for processing {"connection_id":160342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c81"} 
[2026-08-23 08:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756757120,"raw_latitude":119938744,"longitude_deg":75.675712,"latitude_deg":11.9938744,"altitude":38,"angle":213,"satellites":35,"speed":0,"hex_longitude":"2d1b3280","hex_latitude":"07261eb8","is_valid_coordinates":true} 
[2026-08-23 08:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587988736001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15193476874371072,"note":"Value kept but may cause issues"} 
[2026-08-23 08:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959839924796471296,"note":"Value kept but may cause issues"} 
[2026-08-23 08:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787453101000,"timestamp_ms":1787453101000,"timestamp_seconds":1787453101,"priority":1,"record_length":96,"hex_timestamp":"000001a02c81d3c8"} 
[2026-08-23 08:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-23 08:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587988736001,"66":13135,"217":206,"83":42752,"24":0,"16":15193476874371072,"45":1959839924796471296},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 08:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587988736001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:17:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 08:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15193476874371072,"km_value":15193476874371.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959839924796471296,"description":"Unknown IO ID 45"} 
[2026-08-23 08:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587988736001,"power":13135,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1959839924796471296}} 
[2026-08-23 08:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":160342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:17:36] local.INFO: GPS data processed {"connection_id":160342,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:17:36] local.INFO: Acknowledgment sent {"connection_id":160342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:17:46] local.INFO: TCP Data received {"connection_id":160343,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:17:46] local.INFO: Processing buffer {"connection_id":160343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:17:46] local.INFO: IMEI packet received {"connection_id":160343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":160343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:17:52] local.INFO: TCP Data received {"connection_id":160343,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:17:52] local.INFO: Processing buffer {"connection_id":160343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:17:52] local.INFO: IMEI packet received {"connection_id":160343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":160343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:17:54] local.INFO: TCP Data received {"connection_id":160343,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:17:54] local.INFO: Processing buffer {"connection_id":160343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:17:54] local.INFO: Packet analysis {"connection_id":160343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c80"} 
[2026-08-23 08:17:54] local.INFO: Extracted packet for processing {"connection_id":160343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c80"} 
[2026-08-23 08:17:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587891968001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787453004000,"timestamp_ms":1787453004000,"timestamp_seconds":1787453004,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8058e0"} 
[2026-08-23 08:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:17:54] 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-08-23 08: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-08-23 08:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:17:54] 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-08-23 08:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587891968001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587891968001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:17:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:17:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587891968001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":160343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:17:54] local.INFO: GPS data processed {"connection_id":160343,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:17:54] local.INFO: Acknowledgment sent {"connection_id":160343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:18:07] local.INFO: TCP Data received {"connection_id":160342,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8221e8012d1b328007261eb8002600d525..."} 
[2026-08-23 08:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8221e8012d1b328007261eb8002600d525..."} 
[2026-08-23 08:18:07] local.INFO: Processing buffer {"connection_id":160342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8221e8012d1b328007261eb8002600d525..."} 
[2026-08-23 08:18:07] local.INFO: Packet analysis {"connection_id":160342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c82"} 
[2026-08-23 08:18:07] local.INFO: Extracted packet for processing {"connection_id":160342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c82"} 
[2026-08-23 08:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756757120,"raw_latitude":119938744,"longitude_deg":75.675712,"latitude_deg":11.9938744,"altitude":38,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d1b3280","hex_latitude":"07261eb8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587993856001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15193476874371072,"note":"Value kept but may cause issues"} 
[2026-08-23 08:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959769556052260864,"note":"Value kept but may cause issues"} 
[2026-08-23 08:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787453121000,"timestamp_ms":1787453121000,"timestamp_seconds":1787453121,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8221e8"} 
[2026-08-23 08:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 08:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587993856001,"66":13048,"217":206,"83":42752,"24":0,"16":15193476874371072,"45":1959769556052260864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 08:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587993856001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:18:07] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 08:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15193476874371072,"km_value":15193476874371.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959769556052260864,"description":"Unknown IO ID 45"} 
[2026-08-23 08:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587993856001,"power":13048,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1959769556052260864}} 
[2026-08-23 08:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":160342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:18:08] local.INFO: GPS data processed {"connection_id":160342,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:18:08] local.INFO: Acknowledgment sent {"connection_id":160342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:18:25] local.INFO: TCP Data received {"connection_id":160343,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:18:25] local.INFO: Processing buffer {"connection_id":160343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:18:25] local.INFO: Packet analysis {"connection_id":160343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c80"} 
[2026-08-23 08:18:25] local.INFO: Extracted packet for processing {"connection_id":160343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c80"} 
[2026-08-23 08:18:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587891968001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787453004000,"timestamp_ms":1787453004000,"timestamp_seconds":1787453004,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8058e0"} 
[2026-08-23 08:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:18:25] 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-08-23 08: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-08-23 08:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:18:25] 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-08-23 08:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587891968001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587891968001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:18:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:18:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587891968001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":160343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:18:25] local.INFO: GPS data processed {"connection_id":160343,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:18:25] local.INFO: Acknowledgment sent {"connection_id":160343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:18:30] local.INFO: TCP Data received {"connection_id":161503,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:18:30] local.INFO: Processing buffer {"connection_id":161503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:18:30] local.INFO: IMEI packet received {"connection_id":161503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":161503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:18:35] local.INFO: TCP Data received {"connection_id":161503,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:18:35] local.INFO: Processing buffer {"connection_id":161503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:18:35] local.INFO: IMEI packet received {"connection_id":161503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":161503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:18:36] local.INFO: TCP Data received {"connection_id":161503,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c84b9f8012d1b3140072621c80028001325..."} 
[2026-08-23 08:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c84b9f8012d1b3140072621c80028001325..."} 
[2026-08-23 08:18:36] local.INFO: Processing buffer {"connection_id":161503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c84b9f8012d1b3140072621c80028001325..."} 
[2026-08-23 08:18:36] local.INFO: Packet analysis {"connection_id":161503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:18:36] local.INFO: Extracted packet for processing {"connection_id":161503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:18:36] local.INFO: GPS Element Parsed {"raw_longitude":756756800,"raw_latitude":119939528,"longitude_deg":75.67568,"latitude_deg":11.9939528,"altitude":40,"angle":19,"satellites":37,"speed":5,"hex_longitude":"2d1b3140","hex_latitude":"072621c8","is_valid_coordinates":true} 
[2026-08-23 08:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588042240001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15193524119011328,"note":"Value kept but may cause issues"} 
[2026-08-23 08:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959347343587334144,"note":"Value kept but may cause issues"} 
[2026-08-23 08:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787453291000,"timestamp_ms":1787453291000,"timestamp_seconds":1787453291,"priority":1,"record_length":96,"hex_timestamp":"000001a02c84b9f8"} 
[2026-08-23 08:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 08:18:36] 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-08-23 08:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588042240001,"66":14211,"217":206,"83":42752,"24":5,"16":15193524119011328,"45":1959347343587334144},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 08:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588042240001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:18:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 08:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15193524119011328,"km_value":15193524119011.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959347343587334144,"description":"Unknown IO ID 45"} 
[2026-08-23 08:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588042240001,"power":14211,"unknown_217":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1959347343587334144}} 
[2026-08-23 08:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":161503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:18:36] local.INFO: GPS data processed {"connection_id":161503,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:18:36] local.INFO: Acknowledgment sent {"connection_id":161503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:18:52] local.INFO: TCP Data received {"connection_id":161504,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:18:52] local.INFO: Processing buffer {"connection_id":161504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:18:52] local.INFO: IMEI packet received {"connection_id":161504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":161504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:18:57] local.INFO: TCP Data received {"connection_id":161504,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:18:57] local.INFO: Processing buffer {"connection_id":161504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:18:57] local.INFO: IMEI packet received {"connection_id":161504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":161504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:18:58] local.INFO: TCP Data received {"connection_id":161504,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:18:58] local.INFO: Processing buffer {"connection_id":161504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:18:58] local.INFO: Packet analysis {"connection_id":161504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c80"} 
[2026-08-23 08:18:58] local.INFO: Extracted packet for processing {"connection_id":161504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c80"} 
[2026-08-23 08:18:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587891968001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787453004000,"timestamp_ms":1787453004000,"timestamp_seconds":1787453004,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8058e0"} 
[2026-08-23 08:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:18: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-08-23 08:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587891968001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587891968001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:18:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:18:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587891968001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":161504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:18:58] local.INFO: GPS data processed {"connection_id":161504,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:18:58] local.INFO: Acknowledgment sent {"connection_id":161504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:19:02] local.INFO: TCP Data received {"connection_id":161504,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:19:02] local.INFO: Processing buffer {"connection_id":161504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8058e0012d34c50006aa40980009008520..."} 
[2026-08-23 08:19:02] local.INFO: Packet analysis {"connection_id":161504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c80"} 
[2026-08-23 08:19:02] local.INFO: Extracted packet for processing {"connection_id":161504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c80"} 
[2026-08-23 08:19:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587891968001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787453004000,"timestamp_ms":1787453004000,"timestamp_seconds":1787453004,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8058e0"} 
[2026-08-23 08:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:19:02] 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-08-23 08:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587891968001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587891968001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:19:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:19:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587891968001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":161504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:19:02] local.INFO: GPS data processed {"connection_id":161504,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:19:02] local.INFO: Acknowledgment sent {"connection_id":161504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:19:07] local.INFO: TCP Data received {"connection_id":161503,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c84bde0012d1b31c0072622300029003526..."} 
[2026-08-23 08:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c84bde0012d1b31c0072622300029003526..."} 
[2026-08-23 08:19:07] local.INFO: Processing buffer {"connection_id":161503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c84bde0012d1b31c0072622300029003526..."} 
[2026-08-23 08:19:07] local.INFO: Packet analysis {"connection_id":161503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:19:07] local.INFO: Extracted packet for processing {"connection_id":161503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756756928,"raw_latitude":119939632,"longitude_deg":75.6756928,"latitude_deg":11.9939632,"altitude":41,"angle":53,"satellites":38,"speed":6,"hex_longitude":"2d1b31c0","hex_latitude":"07262230","is_valid_coordinates":true} 
[2026-08-23 08:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588042496001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15193532708945920,"note":"Value kept but may cause issues"} 
[2026-08-23 08:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959417712331573248,"note":"Value kept but may cause issues"} 
[2026-08-23 08:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787453292000,"timestamp_ms":1787453292000,"timestamp_seconds":1787453292,"priority":1,"record_length":96,"hex_timestamp":"000001a02c84bde0"} 
[2026-08-23 08:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 08:19:07] 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-08-23 08:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588042496001,"66":14189,"217":206,"83":42752,"24":6,"16":15193532708945920,"45":1959417712331573248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 08:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588042496001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:19:07] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 08:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15193532708945920,"km_value":15193532708945.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959417712331573248,"description":"Unknown IO ID 45"} 
[2026-08-23 08:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588042496001,"power":14189,"unknown_217":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1959417712331573248}} 
[2026-08-23 08:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":161503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:19:07] local.INFO: GPS data processed {"connection_id":161503,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:19:07] local.INFO: Acknowledgment sent {"connection_id":161503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:19:33] local.INFO: TCP Data received {"connection_id":162916,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:19:33] local.INFO: Processing buffer {"connection_id":162916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:19:33] local.INFO: IMEI packet received {"connection_id":162916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":162916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:19:36] local.INFO: TCP Data received {"connection_id":162916,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:19:36] local.INFO: Processing buffer {"connection_id":162916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:19:36] local.INFO: IMEI packet received {"connection_id":162916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":162916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:19:36] local.INFO: TCP Data received {"connection_id":162916,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:19:36] local.INFO: Processing buffer {"connection_id":162916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:19:36] local.INFO: IMEI packet received {"connection_id":162916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":162916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:19:40] local.INFO: TCP Data received {"connection_id":162916,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:19:40] local.INFO: Processing buffer {"connection_id":162916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:19:40] local.INFO: IMEI packet received {"connection_id":162916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":162916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:19:41] local.INFO: TCP Data received {"connection_id":162916,"ip":"42.109.136.5","data_length":1348,"data_hex":"000000000000030f8e0a000001a02c8590d0012d1b47000725d550002a00cd27..."} 
[2026-08-23 08:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162916,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a02c8590d0012d1b47000725d550002a00cd27..."} 
[2026-08-23 08:19:41] local.INFO: Processing buffer {"connection_id":162916,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a02c8590d0012d1b47000725d550002a00cd27..."} 
[2026-08-23 08:19:41] local.INFO: Packet analysis {"connection_id":162916,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a02c85"} 
[2026-08-23 08:19:41] local.INFO: Extracted packet for processing {"connection_id":162916,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a02c85"} 
[2026-08-23 08:19:41] local.INFO: GPS Element Parsed {"raw_longitude":756762368,"raw_latitude":119919952,"longitude_deg":75.6762368,"latitude_deg":11.9919952,"altitude":42,"angle":205,"satellites":39,"speed":31,"hex_longitude":"2d1b4700","hex_latitude":"0725d550","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588053760001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15194932868284416,"note":"Value kept but may cause issues"} 
[2026-08-23 08:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967932330374234112,"note":"Value kept but may cause issues"} 
[2026-08-23 08:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787453346000,"timestamp_ms":1787453346000,"timestamp_seconds":1787453346,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8590d0"} 
[2026-08-23 08:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-23 08:19:41] 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-08-23 08: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-08-23 08:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588053760001,"66":14363,"135":206,"83":42752,"24":31,"16":15194932868284416,"45":1967932330374234112},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-23 08:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588053760001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:19:41] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-23 08:19:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15194932868284416,"km_value":15194932868284.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967932330374234112,"description":"Unknown IO ID 45"} 
[2026-08-23 08:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588053760001,"power":14363,"unknown_135":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1967932330374234112}} 
[2026-08-23 08:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":162916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:19:41] local.INFO: GPS data processed {"connection_id":162916,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:19:41] local.INFO: Acknowledgment sent {"connection_id":162916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:19:41] local.INFO: Packet analysis {"connection_id":162916,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a02c85"} 
[2026-08-23 08:19:41] local.INFO: Incomplete packet, waiting for more data {"connection_id":162916,"needed":795,"available":553} 
[2026-08-23 08:19:42] local.INFO: TCP Data received {"connection_id":162916,"ip":"42.109.136.5","data_length":242,"data_hex":"000000000001a02c8513d0012d1b4e0007262390002d00752600160000000a00..."} 
[2026-08-23 08:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162916,"packet_length":242,"packet_hex":"000000000001a02c8513d0012d1b4e0007262390002d00752600160000000a00..."} 
[2026-08-23 08:19:42] local.INFO: Processing buffer {"connection_id":162916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c85b7e0012d1b38c00725b9d8002800be24..."} 
[2026-08-23 08:19:42] local.INFO: Packet analysis {"connection_id":162916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c85"} 
[2026-08-23 08:19:42] local.INFO: Extracted packet for processing {"connection_id":162916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c85"} 
[2026-08-23 08:19:42] local.INFO: GPS Element Parsed {"raw_longitude":756758720,"raw_latitude":119912920,"longitude_deg":75.675872,"latitude_deg":11.991292,"altitude":40,"angle":190,"satellites":36,"speed":32,"hex_longitude":"2d1b38c0","hex_latitude":"0725b9d8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588056576001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15195319415341056,"note":"Value kept but may cause issues"} 
[2026-08-23 08:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965539793070018560,"note":"Value kept but may cause issues"} 
[2026-08-23 08:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787453356000,"timestamp_ms":1787453356000,"timestamp_seconds":1787453356,"priority":1,"record_length":96,"hex_timestamp":"000001a02c85b7e0"} 
[2026-08-23 08:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-23 08:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588056576001,"66":14265,"175":206,"83":42752,"24":32,"16":15195319415341056,"45":1965539793070018560},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-23 08:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588056576001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:19:42] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-23 08:19:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15195319415341056,"km_value":15195319415341.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965539793070018560,"description":"Unknown IO ID 45"} 
[2026-08-23 08:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588056576001,"power":14265,"unknown_175":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1965539793070018560}} 
[2026-08-23 08:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":162916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:19:42] local.INFO: GPS data processed {"connection_id":162916,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:19:42] local.INFO: Acknowledgment sent {"connection_id":162916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:19:47] local.INFO: TCP Data received {"connection_id":162916,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c85bfb0012d1b38400725b3a8002700b225..."} 
[2026-08-23 08:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c85bfb0012d1b38400725b3a8002700b225..."} 
[2026-08-23 08:19:47] local.INFO: Processing buffer {"connection_id":162916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c85bfb0012d1b38400725b3a8002700b225..."} 
[2026-08-23 08:19:47] local.INFO: Packet analysis {"connection_id":162916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c85"} 
[2026-08-23 08:19:47] local.INFO: Extracted packet for processing {"connection_id":162916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c85"} 
[2026-08-23 08:19:47] local.INFO: GPS Element Parsed {"raw_longitude":756758592,"raw_latitude":119911336,"longitude_deg":75.6758592,"latitude_deg":11.9911336,"altitude":39,"angle":178,"satellites":37,"speed":31,"hex_longitude":"2d1b3840","hex_latitude":"0725b3a8","is_valid_coordinates":true} 
[2026-08-23 08:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588059136001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15195396724752384,"note":"Value kept but may cause issues"} 
[2026-08-23 08:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961528774650091520,"note":"Value kept but may cause issues"} 
[2026-08-23 08:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787453358000,"timestamp_ms":1787453358000,"timestamp_seconds":1787453358,"priority":1,"record_length":96,"hex_timestamp":"000001a02c85bfb0"} 
[2026-08-23 08:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 08:19:47] 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-08-23 08:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588059136001,"66":14374,"175":206,"83":42752,"24":31,"16":15195396724752384,"45":1961528774650091520},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-23 08:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588059136001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:19:47] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-23 08:19:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15195396724752384,"km_value":15195396724752.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961528774650091520,"description":"Unknown IO ID 45"} 
[2026-08-23 08:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588059136001,"power":14374,"unknown_175":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1961528774650091520}} 
[2026-08-23 08:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":162916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:19:47] local.INFO: GPS data processed {"connection_id":162916,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:19:47] local.INFO: Acknowledgment sent {"connection_id":162916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:19:47] local.INFO: TCP Data received {"connection_id":160344,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:19:47] local.INFO: Processing buffer {"connection_id":160344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:19:47] local.INFO: IMEI packet received {"connection_id":160344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":160344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:19:52] local.INFO: TCP Data received {"connection_id":160344,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:19:52] local.INFO: Processing buffer {"connection_id":160344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:19:52] local.INFO: IMEI packet received {"connection_id":160344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":160344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:19:53] local.INFO: TCP Data received {"connection_id":160344,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:19:53] local.INFO: Processing buffer {"connection_id":160344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:19:53] local.INFO: Packet analysis {"connection_id":160344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:19:53] local.INFO: Extracted packet for processing {"connection_id":160344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:19:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587969024001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787453305000,"timestamp_ms":1787453305000,"timestamp_seconds":1787453305,"priority":1,"record_length":96,"hex_timestamp":"000001a02c84f0a8"} 
[2026-08-23 08:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:19:53] 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-08-23 08:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:19:53] 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-08-23 08:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587969024001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587969024001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:19:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:19:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587969024001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":160344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:19:53] local.INFO: GPS data processed {"connection_id":160344,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:19:53] local.INFO: Acknowledgment sent {"connection_id":160344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:20:24] local.INFO: TCP Data received {"connection_id":160344,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:20:24] local.INFO: Processing buffer {"connection_id":160344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:20:24] local.INFO: Packet analysis {"connection_id":160344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:20:24] local.INFO: Extracted packet for processing {"connection_id":160344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:20:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587969024001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787453305000,"timestamp_ms":1787453305000,"timestamp_seconds":1787453305,"priority":1,"record_length":96,"hex_timestamp":"000001a02c84f0a8"} 
[2026-08-23 08:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:20: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-08-23 08:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:20:24] 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-08-23 08:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:20:24] 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-08-23 08:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587969024001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587969024001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:20:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:20:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587969024001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":160344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:20:24] local.INFO: GPS data processed {"connection_id":160344,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:20:24] local.INFO: Acknowledgment sent {"connection_id":160344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:20:30] local.INFO: TCP Data received {"connection_id":160552,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:20:30] local.INFO: Processing buffer {"connection_id":160552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:20:30] local.INFO: IMEI packet received {"connection_id":160552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":160552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:20:35] local.INFO: TCP Data received {"connection_id":160552,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:20:35] local.INFO: Processing buffer {"connection_id":160552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:20:35] local.INFO: IMEI packet received {"connection_id":160552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":160552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:20:36] local.INFO: TCP Data received {"connection_id":160552,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c85cb68012d1b39c00725aa68002800a725..."} 
[2026-08-23 08:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c85cb68012d1b39c00725aa68002800a725..."} 
[2026-08-23 08:20:36] local.INFO: Processing buffer {"connection_id":160552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c85cb68012d1b39c00725aa68002800a725..."} 
[2026-08-23 08:20:36] local.INFO: Packet analysis {"connection_id":160552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c85"} 
[2026-08-23 08:20:36] local.INFO: Extracted packet for processing {"connection_id":160552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c85"} 
[2026-08-23 08:20:36] local.INFO: GPS Element Parsed {"raw_longitude":756758976,"raw_latitude":119908968,"longitude_deg":75.6758976,"latitude_deg":11.9908968,"altitude":40,"angle":167,"satellites":37,"speed":32,"hex_longitude":"2d1b39c0","hex_latitude":"0725aa68","is_valid_coordinates":true} 
[2026-08-23 08:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588059648001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15195512688869376,"note":"Value kept but may cause issues"} 
[2026-08-23 08:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961388037161330688,"note":"Value kept but may cause issues"} 
[2026-08-23 08:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787453361000,"timestamp_ms":1787453361000,"timestamp_seconds":1787453361,"priority":1,"record_length":96,"hex_timestamp":"000001a02c85cb68"} 
[2026-08-23 08:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-23 08:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588059648001,"66":14298,"217":206,"83":42752,"24":32,"16":15195512688869376,"45":1961388037161330688},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 08:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588059648001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:20:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 08:20:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15195512688869376,"km_value":15195512688869.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961388037161330688,"description":"Unknown IO ID 45"} 
[2026-08-23 08:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588059648001,"power":14298,"unknown_217":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1961388037161330688}} 
[2026-08-23 08:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":160552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:20:36] local.INFO: GPS data processed {"connection_id":160552,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:20:36] local.INFO: Acknowledgment sent {"connection_id":160552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:20:47] local.INFO: TCP Data received {"connection_id":162917,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:20:47] local.INFO: Processing buffer {"connection_id":162917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:20:47] local.INFO: IMEI packet received {"connection_id":162917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":162917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:20:52] local.INFO: TCP Data received {"connection_id":162917,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:20:52] local.INFO: Processing buffer {"connection_id":162917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:20:52] local.INFO: IMEI packet received {"connection_id":162917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":162917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:20:54] local.INFO: TCP Data received {"connection_id":162917,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:20:54] local.INFO: Processing buffer {"connection_id":162917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:20:54] local.INFO: Packet analysis {"connection_id":162917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:20:54] local.INFO: Extracted packet for processing {"connection_id":162917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:20:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587969024001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787453305000,"timestamp_ms":1787453305000,"timestamp_seconds":1787453305,"priority":1,"record_length":96,"hex_timestamp":"000001a02c84f0a8"} 
[2026-08-23 08:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:20: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-08-23 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:20:54] 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-08-23 08: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-08-23 08:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:20:54] 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-08-23 08:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587969024001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587969024001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:20:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:20:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587969024001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":162917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:20:54] local.INFO: GPS data processed {"connection_id":162917,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:20:54] local.INFO: Acknowledgment sent {"connection_id":162917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:21:25] local.INFO: TCP Data received {"connection_id":162917,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:21:25] local.INFO: Processing buffer {"connection_id":162917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:21:25] local.INFO: Packet analysis {"connection_id":162917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:21:25] local.INFO: Extracted packet for processing {"connection_id":162917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:21:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587969024001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787453305000,"timestamp_ms":1787453305000,"timestamp_seconds":1787453305,"priority":1,"record_length":96,"hex_timestamp":"000001a02c84f0a8"} 
[2026-08-23 08:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:21:25] 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-08-23 08:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587969024001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587969024001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:21:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:21:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587969024001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":162917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:21:25] local.INFO: GPS data processed {"connection_id":162917,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:21:25] local.INFO: Acknowledgment sent {"connection_id":162917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:21:29] local.INFO: TCP Data received {"connection_id":160552,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c85db08012d1b3e4007259e200029009b25..."} 
[2026-08-23 08:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c85db08012d1b3e4007259e200029009b25..."} 
[2026-08-23 08:21:29] local.INFO: Processing buffer {"connection_id":160552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c85db08012d1b3e4007259e200029009b25..."} 
[2026-08-23 08:21:29] local.INFO: Packet analysis {"connection_id":160552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c85"} 
[2026-08-23 08:21:29] local.INFO: Extracted packet for processing {"connection_id":160552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c85"} 
[2026-08-23 08:21:29] local.INFO: GPS Element Parsed {"raw_longitude":756760128,"raw_latitude":119905824,"longitude_deg":75.6760128,"latitude_deg":11.9905824,"altitude":41,"angle":155,"satellites":37,"speed":34,"hex_longitude":"2d1b3e40","hex_latitude":"07259e20","is_valid_coordinates":true} 
[2026-08-23 08:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588060416001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15195671602659328,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961810249625790464,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787453365000,"timestamp_ms":1787453365000,"timestamp_seconds":1787453365,"priority":1,"record_length":96,"hex_timestamp":"000001a02c85db08"} 
[2026-08-23 08:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-23 08:21:29] 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-08-23 08:21:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588060416001,"66":14396,"217":206,"83":42752,"24":34,"16":15195671602659328,"45":1961810249625790464},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 08:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588060416001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:21:29] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 08:21:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15195671602659328,"km_value":15195671602659.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961810249625790464,"description":"Unknown IO ID 45"} 
[2026-08-23 08:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588060416001,"power":14396,"unknown_217":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1961810249625790464}} 
[2026-08-23 08:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":160552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:21:29] local.INFO: GPS data processed {"connection_id":160552,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:21:29] local.INFO: Acknowledgment sent {"connection_id":160552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:21:36] local.INFO: TCP Data received {"connection_id":162918,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:21:36] local.INFO: Processing buffer {"connection_id":162918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:21:36] local.INFO: IMEI packet received {"connection_id":162918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":162918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:21:40] local.INFO: TCP Data received {"connection_id":162918,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:21:40] local.INFO: Processing buffer {"connection_id":162918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:21:40] local.INFO: IMEI packet received {"connection_id":162918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":162918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:21:41] local.INFO: TCP Data received {"connection_id":162918,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c874268012d1b57400724c1c0001f00c525..."} 
[2026-08-23 08:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c874268012d1b57400724c1c0001f00c525..."} 
[2026-08-23 08:21:41] local.INFO: Processing buffer {"connection_id":162918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c874268012d1b57400724c1c0001f00c525..."} 
[2026-08-23 08:21:41] local.INFO: Packet analysis {"connection_id":162918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c87"} 
[2026-08-23 08:21:41] local.INFO: Extracted packet for processing {"connection_id":162918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c87"} 
[2026-08-23 08:21:41] local.INFO: GPS Element Parsed {"raw_longitude":756766528,"raw_latitude":119849408,"longitude_deg":75.6766528,"latitude_deg":11.9849408,"altitude":31,"angle":197,"satellites":37,"speed":38,"hex_longitude":"2d1b5740","hex_latitude":"0724c1c0","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588083456001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15198605065322496,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970958186355113984,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787453457000,"timestamp_ms":1787453457000,"timestamp_seconds":1787453457,"priority":1,"record_length":96,"hex_timestamp":"000001a02c874268"} 
[2026-08-23 08:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 08:21: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-08-23 08: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-08-23 08:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588083456001,"66":13580,"217":206,"83":42752,"24":38,"16":15198605065322496,"45":1970958186355113984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 08:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588083456001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:21:41] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 08:21:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15198605065322496,"km_value":15198605065322.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970958186355113984,"description":"Unknown IO ID 45"} 
[2026-08-23 08:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588083456001,"power":13580,"unknown_217":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1970958186355113984}} 
[2026-08-23 08:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":162918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:21:41] local.INFO: GPS data processed {"connection_id":162918,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:21:41] local.INFO: Acknowledgment sent {"connection_id":162918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:21:46] local.INFO: TCP Data received {"connection_id":162918,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c874e20012d1b51c00724b8a8001f00d724..."} 
[2026-08-23 08:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c874e20012d1b51c00724b8a8001f00d724..."} 
[2026-08-23 08:21:46] local.INFO: Processing buffer {"connection_id":162918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c874e20012d1b51c00724b8a8001f00d724..."} 
[2026-08-23 08:21:46] local.INFO: Packet analysis {"connection_id":162918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c87"} 
[2026-08-23 08:21:46] local.INFO: Extracted packet for processing {"connection_id":162918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c87"} 
[2026-08-23 08:21:46] local.INFO: GPS Element Parsed {"raw_longitude":756765120,"raw_latitude":119847080,"longitude_deg":75.676512,"latitude_deg":11.984708,"altitude":31,"angle":215,"satellites":36,"speed":34,"hex_longitude":"2d1b51c0","hex_latitude":"0724b8a8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588084992001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970113761423507456,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15198733914341376,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 08:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787453460000,"timestamp_ms":1787453460000,"timestamp_seconds":1787453460,"priority":1,"record_length":96,"hex_timestamp":"000001a02c874e20"} 
[2026-08-23 08:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:21:46] 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-08-23 08: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-23 08:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751527421,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2259804161,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:46] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638289767328473,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724238542,"corrected_to":0} 
[2026-08-23 08:21:46] local.WARNING: Large IO value detected {"io_id":56,"raw_value":6629524510280306259,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:46] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:46] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4251713536,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:46] local.WARNING: Large IO value detected {"io_id":27,"raw_value":7439954441512943654,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:46] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755481045565681,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:46] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,217,83,24,241,157,16,255,160,42,45,64,216,31,37,10,66,254,3,253,36,43,240,1,60,227,44,4,113,205,14,119,103,136,38,239,56,2,53,7,13,27,167],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":724238542,"validated":0}]} 
[2026-08-23 08:21:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2234002177882718208,"timestamp_seconds":2234002177882718.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 08:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588084992001,"66":14461,"45":1970113761423507456,"83":41984,"24":34,"16":15198733914341376},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-08-23 08:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588084992001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970113761423507456,"description":"Unknown IO ID 45"} 
[2026-08-23 08:21:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15198733914341376,"km_value":15198733914341.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:21:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457588084992001,"power":14461,"unknown_45":1970113761423507456,"unknown_83":41984,"ignition":34,"odometer":null}} 
[2026-08-23 08:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":162918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:21:46] local.INFO: GPS data processed {"connection_id":162918,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:21:46] local.INFO: Acknowledgment sent {"connection_id":162918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:21:52] local.INFO: TCP Data received {"connection_id":160346,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:21:52] local.INFO: Processing buffer {"connection_id":160346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:21:52] local.INFO: IMEI packet received {"connection_id":160346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":160346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:21:57] local.INFO: TCP Data received {"connection_id":160346,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:21:57] local.INFO: Processing buffer {"connection_id":160346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:21:57] local.INFO: IMEI packet received {"connection_id":160346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":160346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:21:58] local.INFO: TCP Data received {"connection_id":160346,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:21:58] local.INFO: Processing buffer {"connection_id":160346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:21:58] local.INFO: Packet analysis {"connection_id":160346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:21:58] local.INFO: Extracted packet for processing {"connection_id":160346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:21:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587969024001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787453305000,"timestamp_ms":1787453305000,"timestamp_seconds":1787453305,"priority":1,"record_length":96,"hex_timestamp":"000001a02c84f0a8"} 
[2026-08-23 08:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:21: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-08-23 08:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:21: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-08-23 08: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-08-23 08:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587969024001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587969024001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:21:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:21:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587969024001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":160346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:21:58] local.INFO: GPS data processed {"connection_id":160346,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:21:58] local.INFO: Acknowledgment sent {"connection_id":160346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:22:02] local.INFO: TCP Data received {"connection_id":160346,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:22:02] local.INFO: Processing buffer {"connection_id":160346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:22:02] local.INFO: Packet analysis {"connection_id":160346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:22:02] local.INFO: Extracted packet for processing {"connection_id":160346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:22:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587969024001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787453305000,"timestamp_ms":1787453305000,"timestamp_seconds":1787453305,"priority":1,"record_length":96,"hex_timestamp":"000001a02c84f0a8"} 
[2026-08-23 08:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:22:02] 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-08-23 08:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587969024001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587969024001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:22:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:22:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587969024001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":160346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:22:02] local.INFO: GPS data processed {"connection_id":160346,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:22:02] local.INFO: Acknowledgment sent {"connection_id":160346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:22:21] local.INFO: TCP Data received {"connection_id":161506,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:22:21] local.INFO: Processing buffer {"connection_id":161506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:22:21] local.INFO: IMEI packet received {"connection_id":161506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":161506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:22:23] local.INFO: TCP Data received {"connection_id":161506,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c878ca0012d79d48005e462e8000400a42b..."} 
[2026-08-23 08:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c878ca0012d79d48005e462e8000400a42b..."} 
[2026-08-23 08:22:23] local.INFO: Processing buffer {"connection_id":161506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c878ca0012d79d48005e462e8000400a42b..."} 
[2026-08-23 08:22:23] local.INFO: Packet analysis {"connection_id":161506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c87"} 
[2026-08-23 08:22:23] local.INFO: Extracted packet for processing {"connection_id":161506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c87"} 
[2026-08-23 08:22:23] local.INFO: GPS Element Parsed {"raw_longitude":762958976,"raw_latitude":98853608,"longitude_deg":76.2958976,"latitude_deg":9.8853608,"altitude":4,"angle":164,"satellites":43,"speed":3,"hex_longitude":"2d79d480","hex_latitude":"05e462e8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588086528001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122509986453520384,"note":"Value kept but may cause issues"} 
[2026-08-23 08:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778711967702677504,"note":"Value kept but may cause issues"} 
[2026-08-23 08:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787453476000,"timestamp_ms":1787453476000,"timestamp_seconds":1787453476,"priority":1,"record_length":96,"hex_timestamp":"000001a02c878ca0"} 
[2026-08-23 08:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 08:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588086528001,"66":11765,"145":206,"87":12288,"24":3,"16":122509986453520384,"45":8778711967702677504},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-08-23 08:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588086528001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:22:23] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-23 08:22:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-23 08:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122509986453520384,"km_value":122509986453520.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778711967702677504,"description":"Unknown IO ID 45"} 
[2026-08-23 08:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588086528001,"power":11765,"unknown_145":206,"unknown_87":12288,"ignition":3,"odometer":null,"unknown_45":8778711967702677504}} 
[2026-08-23 08:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":161506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:22:23] local.INFO: GPS data processed {"connection_id":161506,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:22:23] local.INFO: Acknowledgment sent {"connection_id":161506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:22:33] local.INFO: TCP Data received {"connection_id":162919,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:22:33] local.INFO: Processing buffer {"connection_id":162919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:22:33] local.INFO: IMEI packet received {"connection_id":162919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":162919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:22:36] local.INFO: TCP Data received {"connection_id":162919,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:22:36] local.INFO: Processing buffer {"connection_id":162919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:22:36] local.INFO: IMEI packet received {"connection_id":162919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":162919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:22:44] local.INFO: TCP Data received {"connection_id":162919,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8755f0012d1b4d000724b388002000e325..."} 
[2026-08-23 08:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8755f0012d1b4d000724b388002000e325..."} 
[2026-08-23 08:22:44] local.INFO: Processing buffer {"connection_id":162919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8755f0012d1b4d000724b388002000e325..."} 
[2026-08-23 08:22:44] local.INFO: Packet analysis {"connection_id":162919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c87"} 
[2026-08-23 08:22:44] local.INFO: Extracted packet for processing {"connection_id":162919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c87"} 
[2026-08-23 08:22:44] local.INFO: GPS Element Parsed {"raw_longitude":756763904,"raw_latitude":119845768,"longitude_deg":75.6763904,"latitude_deg":11.9845768,"altitude":32,"angle":227,"satellites":37,"speed":36,"hex_longitude":"2d1b4d00","hex_latitude":"0724b388","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588085760001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968565649051002880,"note":"Value kept but may cause issues"} 
[2026-08-23 08:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15198819813687296,"note":"Value kept but may cause issues"} 
[2026-08-23 08:22:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 08:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787453462000,"timestamp_ms":1787453462000,"timestamp_seconds":1787453462,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8755f0"} 
[2026-08-23 08:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:22:44] 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-08-23 08: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 08:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588085760001,"66":14428,"45":1968565649051002880,"83":41984,"24":36,"16":15198819813687296},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-08-23 08:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588085760001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968565649051002880,"description":"Unknown IO ID 45"} 
[2026-08-23 08:22:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15198819813687296,"km_value":15198819813687.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:22:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457588085760001,"power":14428,"unknown_45":1968565649051002880,"unknown_83":41984,"ignition":36,"odometer":null}} 
[2026-08-23 08:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":162919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:22:44] local.INFO: GPS data processed {"connection_id":162919,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:22:44] local.INFO: Acknowledgment sent {"connection_id":162919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:22:46] local.INFO: TCP Data received {"connection_id":162919,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c877d00012d1b2fc007249d58002300e825..."} 
[2026-08-23 08:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c877d00012d1b2fc007249d58002300e825..."} 
[2026-08-23 08:22:46] local.INFO: Processing buffer {"connection_id":162919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c877d00012d1b2fc007249d58002300e825..."} 
[2026-08-23 08:22:46] local.INFO: Packet analysis {"connection_id":162919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c87"} 
[2026-08-23 08:22:46] local.INFO: Extracted packet for processing {"connection_id":162919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c87"} 
[2026-08-23 08:22:46] local.INFO: GPS Element Parsed {"raw_longitude":756756416,"raw_latitude":119840088,"longitude_deg":75.6756416,"latitude_deg":11.9840088,"altitude":35,"angle":232,"satellites":37,"speed":32,"hex_longitude":"2d1b2fc0","hex_latitude":"07249d58","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588086272001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15199270785253376,"note":"Value kept but may cause issues"} 
[2026-08-23 08:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967228642911291392,"note":"Value kept but may cause issues"} 
[2026-08-23 08:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787453472000,"timestamp_ms":1787453472000,"timestamp_seconds":1787453472,"priority":1,"record_length":96,"hex_timestamp":"000001a02c877d00"} 
[2026-08-23 08:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 08:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588086272001,"66":13624,"136":206,"83":42752,"24":32,"16":15199270785253376,"45":1967228642911291392},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-23 08:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588086272001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:22:46] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-23 08:22:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15199270785253376,"km_value":15199270785253.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967228642911291392,"description":"Unknown IO ID 45"} 
[2026-08-23 08:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588086272001,"power":13624,"unknown_136":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1967228642911291392}} 
[2026-08-23 08:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":162919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:22:46] local.INFO: GPS data processed {"connection_id":162919,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:22:46] local.INFO: Acknowledgment sent {"connection_id":162919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:22:47] local.INFO: TCP Data received {"connection_id":160553,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:22:47] local.INFO: Processing buffer {"connection_id":160553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:22:47] local.INFO: IMEI packet received {"connection_id":160553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":160553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:22:52] local.INFO: TCP Data received {"connection_id":160553,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:22:52] local.INFO: Processing buffer {"connection_id":160553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:22:52] local.INFO: IMEI packet received {"connection_id":160553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":160553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:22:53] local.INFO: TCP Data received {"connection_id":160553,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:22:53] local.INFO: Processing buffer {"connection_id":160553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:22:53] local.INFO: Packet analysis {"connection_id":160553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:22:53] local.INFO: Extracted packet for processing {"connection_id":160553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:22:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587969024001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787453305000,"timestamp_ms":1787453305000,"timestamp_seconds":1787453305,"priority":1,"record_length":96,"hex_timestamp":"000001a02c84f0a8"} 
[2026-08-23 08:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:22:53] 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-08-23 08:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:22:53] 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-08-23 08:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587969024001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587969024001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:22:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:22:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587969024001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":160553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:22:53] local.INFO: GPS data processed {"connection_id":160553,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:22:53] local.INFO: Acknowledgment sent {"connection_id":160553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:22:57] local.INFO: TCP Data received {"connection_id":160553,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:22:57] local.INFO: Processing buffer {"connection_id":160553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:22:57] local.INFO: Packet analysis {"connection_id":160553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:22:57] local.INFO: Extracted packet for processing {"connection_id":160553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:22:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587969024001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787453305000,"timestamp_ms":1787453305000,"timestamp_seconds":1787453305,"priority":1,"record_length":96,"hex_timestamp":"000001a02c84f0a8"} 
[2026-08-23 08:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:22:57] 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-08-23 08:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587969024001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587969024001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:22:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:22:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587969024001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":160553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:22:57] local.INFO: GPS data processed {"connection_id":160553,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:22:57] local.INFO: Acknowledgment sent {"connection_id":160553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:23:12] local.INFO: TCP Data received {"connection_id":162920,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:23:12] local.INFO: Processing buffer {"connection_id":162920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:23:12] local.INFO: IMEI packet received {"connection_id":162920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":162920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:23:17] local.INFO: TCP Data received {"connection_id":162920,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:23:17] local.INFO: Processing buffer {"connection_id":162920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:23:17] local.INFO: IMEI packet received {"connection_id":162920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":162920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:23:18] local.INFO: TCP Data received {"connection_id":162920,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c88e848012d7a2e0005e45e48000b006f2a..."} 
[2026-08-23 08:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c88e848012d7a2e0005e45e48000b006f2a..."} 
[2026-08-23 08:23:18] local.INFO: Processing buffer {"connection_id":162920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c88e848012d7a2e0005e45e48000b006f2a..."} 
[2026-08-23 08:23:18] local.INFO: Packet analysis {"connection_id":162920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c88"} 
[2026-08-23 08:23:18] local.INFO: Extracted packet for processing {"connection_id":162920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c88"} 
[2026-08-23 08:23:18] local.INFO: GPS Element Parsed {"raw_longitude":762981888,"raw_latitude":98852424,"longitude_deg":76.2981888,"latitude_deg":9.8852424,"altitude":11,"angle":111,"satellites":42,"speed":9,"hex_longitude":"2d7a2e00","hex_latitude":"05e45e48","is_valid_coordinates":true} 
[2026-08-23 08:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588112128001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122511167569526784,"note":"Value kept but may cause issues"} 
[2026-08-23 08:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803481765652938752,"note":"Value kept but may cause issues"} 
[2026-08-23 08:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787453565000,"timestamp_ms":1787453565000,"timestamp_seconds":1787453565,"priority":1,"record_length":96,"hex_timestamp":"000001a02c88e848"} 
[2026-08-23 08:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:23:18] 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-08-23 08:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 08:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588112128001,"66":13254,"145":206,"87":12288,"24":9,"16":122511167569526784,"45":8803481765652938752},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-08-23 08:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588112128001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:23:18] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-23 08:23:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-23 08:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122511167569526784,"km_value":122511167569526.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803481765652938752,"description":"Unknown IO ID 45"} 
[2026-08-23 08:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588112128001,"power":13254,"unknown_145":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8803481765652938752}} 
[2026-08-23 08:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":162920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:23:18] local.INFO: GPS data processed {"connection_id":162920,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:23:18] local.INFO: Acknowledgment sent {"connection_id":162920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:23:18] local.INFO: TCP Data received {"connection_id":162920,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c88f018012d7a2f8005e45e08000c00582a..."} 
[2026-08-23 08:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c88f018012d7a2f8005e45e08000c00582a..."} 
[2026-08-23 08:23:18] local.INFO: Processing buffer {"connection_id":162920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c88f018012d7a2f8005e45e08000c00582a..."} 
[2026-08-23 08:23:18] local.INFO: Packet analysis {"connection_id":162920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c88"} 
[2026-08-23 08:23:18] local.INFO: Extracted packet for processing {"connection_id":162920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c88"} 
[2026-08-23 08:23:18] local.INFO: GPS Element Parsed {"raw_longitude":762982272,"raw_latitude":98852360,"longitude_deg":76.2982272,"latitude_deg":9.885236,"altitude":12,"angle":88,"satellites":42,"speed":9,"hex_longitude":"2d7a2f80","hex_latitude":"05e45e08","is_valid_coordinates":true} 
[2026-08-23 08:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588112640001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122511184749395968,"note":"Value kept but may cause issues"} 
[2026-08-23 08:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803974346862118912,"note":"Value kept but may cause issues"} 
[2026-08-23 08:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787453567000,"timestamp_ms":1787453567000,"timestamp_seconds":1787453567,"priority":1,"record_length":96,"hex_timestamp":"000001a02c88f018"} 
[2026-08-23 08:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:23:18] 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-08-23 08:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-23 08:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588112640001,"66":13135,"145":206,"87":12288,"24":9,"16":122511184749395968,"45":8803974346862118912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-08-23 08:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588112640001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:23:18] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-23 08:23:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-23 08:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122511184749395968,"km_value":122511184749395.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803974346862118912,"description":"Unknown IO ID 45"} 
[2026-08-23 08:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588112640001,"power":13135,"unknown_145":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8803974346862118912}} 
[2026-08-23 08:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":162920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:23:19] local.INFO: GPS data processed {"connection_id":162920,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:23:19] local.INFO: Acknowledgment sent {"connection_id":162920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:23:28] local.INFO: TCP Data received {"connection_id":160553,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:23:28] local.INFO: Processing buffer {"connection_id":160553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:23:28] local.INFO: Packet analysis {"connection_id":160553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:23:28] local.INFO: Extracted packet for processing {"connection_id":160553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:23:28] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587969024001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787453305000,"timestamp_ms":1787453305000,"timestamp_seconds":1787453305,"priority":1,"record_length":96,"hex_timestamp":"000001a02c84f0a8"} 
[2026-08-23 08:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:23:28] 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-08-23 08: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-08-23 08:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587969024001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587969024001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:23:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:23:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587969024001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":160553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:23:28] local.INFO: GPS data processed {"connection_id":160553,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:23:28] local.INFO: Acknowledgment sent {"connection_id":160553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:23:30] local.INFO: TCP Data received {"connection_id":161507,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:23:30] local.INFO: Processing buffer {"connection_id":161507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:23:30] local.INFO: IMEI packet received {"connection_id":161507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":161507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:23:35] local.INFO: TCP Data received {"connection_id":161507,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:23:35] local.INFO: Processing buffer {"connection_id":161507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:23:35] local.INFO: IMEI packet received {"connection_id":161507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":161507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:23:36] local.INFO: TCP Data received {"connection_id":161507,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c87cf08012d1b14c0072488c0002900e324..."} 
[2026-08-23 08:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c87cf08012d1b14c0072488c0002900e324..."} 
[2026-08-23 08:23:36] local.INFO: Processing buffer {"connection_id":161507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c87cf08012d1b14c0072488c0002900e324..."} 
[2026-08-23 08:23:36] local.INFO: Packet analysis {"connection_id":161507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c87"} 
[2026-08-23 08:23:36] local.INFO: Extracted packet for processing {"connection_id":161507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c87"} 
[2026-08-23 08:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756749504,"raw_latitude":119834816,"longitude_deg":75.6749504,"latitude_deg":11.9834816,"altitude":41,"angle":227,"satellites":36,"speed":11,"hex_longitude":"2d1b14c0","hex_latitude":"072488c0","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588088832001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15199691692048384,"note":"Value kept but may cause issues"} 
[2026-08-23 08:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958995499841050624,"note":"Value kept but may cause issues"} 
[2026-08-23 08:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787453493000,"timestamp_ms":1787453493000,"timestamp_seconds":1787453493,"priority":1,"record_length":96,"hex_timestamp":"000001a02c87cf08"} 
[2026-08-23 08:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-23 08:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588088832001,"66":13993,"176":206,"83":42752,"24":11,"16":15199691692048384,"45":1958995499841050624},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-23 08:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588088832001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:23:36] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-23 08:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15199691692048384,"km_value":15199691692048.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958995499841050624,"description":"Unknown IO ID 45"} 
[2026-08-23 08:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588088832001,"power":13993,"unknown_176":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1958995499841050624}} 
[2026-08-23 08:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":161507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:23:36] local.INFO: GPS data processed {"connection_id":161507,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:23:36] local.INFO: Acknowledgment sent {"connection_id":161507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:23:47] local.INFO: TCP Data received {"connection_id":160554,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:23:47] local.INFO: Processing buffer {"connection_id":160554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:23:47] local.INFO: IMEI packet received {"connection_id":160554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":160554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:23:52] local.INFO: TCP Data received {"connection_id":162920,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c88f7e8012d7a314005e45e48000d004b2a..."} 
[2026-08-23 08:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c88f7e8012d7a314005e45e48000d004b2a..."} 
[2026-08-23 08:23:52] local.INFO: Processing buffer {"connection_id":162920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c88f7e8012d7a314005e45e48000d004b2a..."} 
[2026-08-23 08:23:52] local.INFO: Packet analysis {"connection_id":162920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c88"} 
[2026-08-23 08:23:52] local.INFO: Extracted packet for processing {"connection_id":162920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c88"} 
[2026-08-23 08:23:52] local.INFO: GPS Element Parsed {"raw_longitude":762982720,"raw_latitude":98852424,"longitude_deg":76.298272,"latitude_deg":9.8852424,"altitude":13,"angle":75,"satellites":42,"speed":9,"hex_longitude":"2d7a3140","hex_latitude":"05e45e48","is_valid_coordinates":true} 
[2026-08-23 08:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588113152001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122511206224232448,"note":"Value kept but may cause issues"} 
[2026-08-23 08:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804396559327168512,"note":"Value kept but may cause issues"} 
[2026-08-23 08:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787453569000,"timestamp_ms":1787453569000,"timestamp_seconds":1787453569,"priority":1,"record_length":96,"hex_timestamp":"000001a02c88f7e8"} 
[2026-08-23 08:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:23: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-08-23 08:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 08:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588113152001,"66":13319,"145":206,"87":12288,"24":9,"16":122511206224232448,"45":8804396559327168512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-08-23 08:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588113152001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:23:52] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-23 08:23:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-23 08:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122511206224232448,"km_value":122511206224232.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804396559327168512,"description":"Unknown IO ID 45"} 
[2026-08-23 08:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588113152001,"power":13319,"unknown_145":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8804396559327168512}} 
[2026-08-23 08:23:52] local.INFO: TCP Data received {"connection_id":160554,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:23:52] local.INFO: Processing buffer {"connection_id":160554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:23:52] local.INFO: IMEI packet received {"connection_id":160554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":160554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":162920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:23:52] local.INFO: GPS data processed {"connection_id":162920,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:23:52] local.INFO: Acknowledgment sent {"connection_id":162920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:23:52] local.INFO: TCP Data received {"connection_id":160554,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:23:52] local.INFO: Processing buffer {"connection_id":160554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c84f0a8012d34c50006aa40980009008525..."} 
[2026-08-23 08:23:52] local.INFO: Packet analysis {"connection_id":160554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:23:52] local.INFO: Extracted packet for processing {"connection_id":160554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c84"} 
[2026-08-23 08:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457587969024001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787453305000,"timestamp_ms":1787453305000,"timestamp_seconds":1787453305,"priority":1,"record_length":96,"hex_timestamp":"000001a02c84f0a8"} 
[2026-08-23 08:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:23:52] 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-08-23 08:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:23:52] 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-08-23 08:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457587969024001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457587969024001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:23:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457587969024001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":160554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:23:52] local.INFO: GPS data processed {"connection_id":160554,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:23:52] local.INFO: Acknowledgment sent {"connection_id":160554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:24:06] local.INFO: TCP Data received {"connection_id":162921,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:24:06] local.INFO: Processing buffer {"connection_id":162921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:24:06] local.INFO: IMEI packet received {"connection_id":162921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":162921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:24:07] local.INFO: TCP Data received {"connection_id":161507,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c898870012d1a27c00723b588003000ed27..."} 
[2026-08-23 08:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c898870012d1a27c00723b588003000ed27..."} 
[2026-08-23 08:24:07] local.INFO: Processing buffer {"connection_id":161507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c898870012d1a27c00723b588003000ed27..."} 
[2026-08-23 08:24:07] local.INFO: Packet analysis {"connection_id":161507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:24:07] local.INFO: Extracted packet for processing {"connection_id":161507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756688832,"raw_latitude":119780744,"longitude_deg":75.6688832,"latitude_deg":11.9780744,"altitude":48,"angle":237,"satellites":39,"speed":43,"hex_longitude":"2d1a27c0","hex_latitude":"0723b588","is_valid_coordinates":true} 
[2026-08-23 08:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588122112001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15203694601568256,"note":"Value kept but may cause issues"} 
[2026-08-23 08:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888486018160521216,"note":"Value kept but may cause issues"} 
[2026-08-23 08:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787453606000,"timestamp_ms":1787453606000,"timestamp_seconds":1787453606,"priority":1,"record_length":96,"hex_timestamp":"000001a02c898870"} 
[2026-08-23 08:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:24:07] 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-08-23 08:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-23 08:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588122112001,"66":14004,"43":206,"83":42752,"24":43,"16":15203694601568256,"45":1888486018160521216},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-23 08:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588122112001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:24:07] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-23 08:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15203694601568256,"km_value":15203694601568.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888486018160521216,"description":"Unknown IO ID 45"} 
[2026-08-23 08:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588122112001,"power":14004,"unknown_43":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1888486018160521216}} 
[2026-08-23 08:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":161507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:24:07] local.INFO: GPS data processed {"connection_id":161507,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:24:07] local.INFO: Acknowledgment sent {"connection_id":161507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:24:23] local.INFO: TCP Data received {"connection_id":160554,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:24:24] local.INFO: Processing buffer {"connection_id":160554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:24:24] local.INFO: Packet analysis {"connection_id":160554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:24:24] local.INFO: Extracted packet for processing {"connection_id":160554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:24:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588046080001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787453606000,"timestamp_ms":1787453606000,"timestamp_seconds":1787453606,"priority":1,"record_length":96,"hex_timestamp":"000001a02c898870"} 
[2026-08-23 08:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:24: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-08-23 08:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 08:24:24] 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-08-23 08:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:24:24] 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-08-23 08:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588046080001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588046080001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:24:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:24:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588046080001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":160554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:24:24] local.INFO: GPS data processed {"connection_id":160554,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:24:24] local.INFO: Acknowledgment sent {"connection_id":160554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:24:25] local.INFO: TCP Data received {"connection_id":162921,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:24:25] local.INFO: Processing buffer {"connection_id":162921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:24:25] local.INFO: IMEI packet received {"connection_id":162921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":162921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:24:27] local.INFO: TCP Data received {"connection_id":162921,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c892ab0012d7a42c005e46170000e003b29..."} 
[2026-08-23 08:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c892ab0012d7a42c005e46170000e003b29..."} 
[2026-08-23 08:24:27] local.INFO: Processing buffer {"connection_id":162921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c892ab0012d7a42c005e46170000e003b29..."} 
[2026-08-23 08:24:27] local.INFO: Packet analysis {"connection_id":162921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:24:27] local.INFO: Extracted packet for processing {"connection_id":162921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:24:27] local.INFO: GPS Element Parsed {"raw_longitude":762987200,"raw_latitude":98853232,"longitude_deg":76.29872,"latitude_deg":9.8853232,"altitude":14,"angle":59,"satellites":41,"speed":10,"hex_longitude":"2d7a42c0","hex_latitude":"05e46170","is_valid_coordinates":true} 
[2026-08-23 08:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588113664001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122511425267564544,"note":"Value kept but may cause issues"} 
[2026-08-23 08:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804889140536428544,"note":"Value kept but may cause issues"} 
[2026-08-23 08:24:27] 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-08-23 08:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787453582000,"timestamp_ms":1787453582000,"timestamp_seconds":1787453582,"priority":1,"record_length":96,"hex_timestamp":"000001a02c892ab0"} 
[2026-08-23 08:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 08:24:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 08:24:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-23 08:24:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2293084161,"note":"Value kept but may cause issues"} 
[2026-08-23 08:24:27] local.WARNING: Large IO value detected {"io_id":228,"raw_value":7527766837284710144,"note":"Value kept but may cause issues"} 
[2026-08-23 08:24:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1787887822,"corrected_to":0} 
[2026-08-23 08:24:27] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3355520378,"note":"Value kept but may cause issues"} 
[2026-08-23 08:24:27] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3221611625,"note":"Value kept but may cause issues"} 
[2026-08-23 08:24:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832162304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:24:27] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57819541242009392,"note":"Value kept but may cause issues"} 
[2026-08-23 08:24:27] local.WARNING: Large IO value detected {"io_id":136,"raw_value":7448955078503809029,"note":"Value kept but may cause issues"} 
[2026-08-23 08:24:27] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,145,87,24,241,157,16,63,160,240,45,128,94,12,42,10,66,232,11,224,64,1,166,227,44,228,4,113,205,169,35,176,40,239,51,2,179,5,6,198,136],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1787887822,"validated":0}]} 
[2026-08-23 08:24:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936831366254362624,"timestamp_seconds":936831366254362.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 08:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588113664001,"66":13374,"102":206,"87":12288,"24":10,"16":122511425267564544,"45":8804889140536428544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-23 08:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588113664001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:24:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:24:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-23 08:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122511425267564544,"km_value":122511425267564.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804889140536428544,"description":"Unknown IO ID 45"} 
[2026-08-23 08:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588113664001,"power":13374,"unknown_102":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8804889140536428544}} 
[2026-08-23 08:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":162921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:24:28] local.INFO: GPS data processed {"connection_id":162921,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:24:28] local.INFO: Acknowledgment sent {"connection_id":162921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:24:46] local.INFO: TCP Data received {"connection_id":160555,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:24:46] local.INFO: Processing buffer {"connection_id":160555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:24:46] local.INFO: IMEI packet received {"connection_id":160555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":160555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:24:52] local.INFO: TCP Data received {"connection_id":160555,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:24:52] local.INFO: Processing buffer {"connection_id":160555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:24:52] local.INFO: IMEI packet received {"connection_id":160555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":160555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:24:53] local.INFO: TCP Data received {"connection_id":160555,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:24:53] local.INFO: Processing buffer {"connection_id":160555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:24:53] local.INFO: Packet analysis {"connection_id":160555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:24:53] local.INFO: Extracted packet for processing {"connection_id":160555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:24:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588046080001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787453606000,"timestamp_ms":1787453606000,"timestamp_seconds":1787453606,"priority":1,"record_length":96,"hex_timestamp":"000001a02c898870"} 
[2026-08-23 08:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 08:24:53] 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-08-23 08:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:24: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-08-23 08:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588046080001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588046080001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:24:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:24:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588046080001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":160555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:24:53] local.INFO: GPS data processed {"connection_id":160555,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:24:53] local.INFO: Acknowledgment sent {"connection_id":160555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:25:08] local.INFO: TCP Data received {"connection_id":162922,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:25:08] local.INFO: Processing buffer {"connection_id":162922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:25:08] local.INFO: IMEI packet received {"connection_id":162922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":162922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:25:09] local.INFO: TCP Data received {"connection_id":162922,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:25:09] local.INFO: Processing buffer {"connection_id":162922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:25:09] local.INFO: IMEI packet received {"connection_id":162922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":162922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:25:10] local.INFO: TCP Data received {"connection_id":162922,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:25:10] local.INFO: Processing buffer {"connection_id":162922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:25:10] local.INFO: IMEI packet received {"connection_id":162922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":162922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:25:11] local.INFO: TCP Data received {"connection_id":162922,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c899bf8012d1a14800723acb0003100fc27..."} 
[2026-08-23 08:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c899bf8012d1a14800723acb0003100fc27..."} 
[2026-08-23 08:25:11] local.INFO: Processing buffer {"connection_id":162922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c899bf8012d1a14800723acb0003100fc27..."} 
[2026-08-23 08:25:11] local.INFO: Packet analysis {"connection_id":162922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:25:11] local.INFO: Extracted packet for processing {"connection_id":162922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756683904,"raw_latitude":119778480,"longitude_deg":75.6683904,"latitude_deg":11.977848,"altitude":49,"angle":252,"satellites":39,"speed":41,"hex_longitude":"2d1a1480","hex_latitude":"0723acb0","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588123136001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15203956594573312,"note":"Value kept but may cause issues"} 
[2026-08-23 08:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884686105974245376,"note":"Value kept but may cause issues"} 
[2026-08-23 08:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787453611000,"timestamp_ms":1787453611000,"timestamp_seconds":1787453611,"priority":1,"record_length":96,"hex_timestamp":"000001a02c899bf8"} 
[2026-08-23 08:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:25:11] 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-08-23 08: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-23 08:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":162922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":162922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":162922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588123136001,"66":13961,"42":206,"83":42752,"24":41,"16":15203956594573312,"45":1884686105974245376},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-23 08:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588123136001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:25:11] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-23 08:25:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15203956594573312,"km_value":15203956594573.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884686105974245376,"description":"Unknown IO ID 45"} 
[2026-08-23 08:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588123136001,"power":13961,"unknown_42":206,"unknown_83":42752,"ignition":41,"odometer":null,"unknown_45":1884686105974245376}} 
[2026-08-23 08:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":162922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:25:11] local.INFO: GPS data processed {"connection_id":162922,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:25:11] local.INFO: Acknowledgment sent {"connection_id":162922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:25:12] local.INFO: TCP Data received {"connection_id":161508,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:25:12] local.INFO: Processing buffer {"connection_id":161508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:25:12] local.INFO: IMEI packet received {"connection_id":161508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":161508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:25:14] local.INFO: TCP Data received {"connection_id":161508,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:25:14] local.INFO: Processing buffer {"connection_id":161508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:25:14] local.INFO: IMEI packet received {"connection_id":161508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":161508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:25:16] local.INFO: TCP Data received {"connection_id":161508,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8a9210012d7ad28005e3ff30000a00ab29..."} 
[2026-08-23 08:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8a9210012d7ad28005e3ff30000a00ab29..."} 
[2026-08-23 08:25:16] local.INFO: Processing buffer {"connection_id":161508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8a9210012d7ad28005e3ff30000a00ab29..."} 
[2026-08-23 08:25:16] local.INFO: Packet analysis {"connection_id":161508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8a"} 
[2026-08-23 08:25:16] local.INFO: Extracted packet for processing {"connection_id":161508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8a"} 
[2026-08-23 08:25:16] local.INFO: GPS Element Parsed {"raw_longitude":763024000,"raw_latitude":98828080,"longitude_deg":76.3024,"latitude_deg":9.882808,"altitude":10,"angle":171,"satellites":41,"speed":22,"hex_longitude":"2d7ad280","hex_latitude":"05e3ff30","is_valid_coordinates":true} 
[2026-08-23 08:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588139008001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122513808974413824,"note":"Value kept but may cause issues"} 
[2026-08-23 08:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849432555595528192,"note":"Value kept but may cause issues"} 
[2026-08-23 08:25:16] 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-08-23 08:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787453674000,"timestamp_ms":1787453674000,"timestamp_seconds":1787453674,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8a9210"} 
[2026-08-23 08:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-23 08:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588139008001,"66":13450,"208":206,"85":15104,"24":22,"16":122513808974413824,"45":8849432555595528192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 08:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588139008001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:25:16] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 08:25:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122513808974413824,"km_value":122513808974413.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849432555595528192,"description":"Unknown IO ID 45"} 
[2026-08-23 08:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588139008001,"power":13450,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8849432555595528192}} 
[2026-08-23 08:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":161508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:25:16] local.INFO: GPS data processed {"connection_id":161508,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:25:16] local.INFO: Acknowledgment sent {"connection_id":161508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:25:17] local.INFO: TCP Data received {"connection_id":161508,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8ac8c0012d7ada4005e3dd30000800a729..."} 
[2026-08-23 08:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8ac8c0012d7ada4005e3dd30000800a729..."} 
[2026-08-23 08:25:17] local.INFO: Processing buffer {"connection_id":161508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8ac8c0012d7ada4005e3dd30000800a729..."} 
[2026-08-23 08:25:17] local.INFO: Packet analysis {"connection_id":161508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8a"} 
[2026-08-23 08:25:17] local.INFO: Extracted packet for processing {"connection_id":161508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8a"} 
[2026-08-23 08:25:17] local.INFO: GPS Element Parsed {"raw_longitude":763025984,"raw_latitude":98819376,"longitude_deg":76.3025984,"latitude_deg":9.8819376,"altitude":8,"angle":167,"satellites":41,"speed":29,"hex_longitude":"2d7ada40","hex_latitude":"05e3dd30","is_valid_coordinates":true} 
[2026-08-23 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-08-23 08:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588140544001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122514242766110720,"note":"Value kept but may cause issues"} 
[2026-08-23 08:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850276980524789760,"note":"Value kept but may cause issues"} 
[2026-08-23 08:25:17] 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-08-23 08:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787453688000,"timestamp_ms":1787453688000,"timestamp_seconds":1787453688,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8ac8c0"} 
[2026-08-23 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-08-23 08:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-23 08:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 08:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588140544001,"66":13363,"208":206,"85":15104,"24":29,"16":122514242766110720,"45":8850276980524789760},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 08:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588140544001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:25:17] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 08:25:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122514242766110720,"km_value":122514242766110.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850276980524789760,"description":"Unknown IO ID 45"} 
[2026-08-23 08:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588140544001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8850276980524789760}} 
[2026-08-23 08:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":161508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:25:17] local.INFO: GPS data processed {"connection_id":161508,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:25:17] local.INFO: Acknowledgment sent {"connection_id":161508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:25:24] local.INFO: TCP Data received {"connection_id":160555,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:25:24] local.INFO: Processing buffer {"connection_id":160555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:25:24] local.INFO: Packet analysis {"connection_id":160555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:25:24] local.INFO: Extracted packet for processing {"connection_id":160555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:25:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588046080001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787453606000,"timestamp_ms":1787453606000,"timestamp_seconds":1787453606,"priority":1,"record_length":96,"hex_timestamp":"000001a02c898870"} 
[2026-08-23 08:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:25: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-08-23 08:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 08:25:24] 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-08-23 08:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:25: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-08-23 08:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588046080001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588046080001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:25:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:25:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588046080001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":160555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:25:24] local.INFO: GPS data processed {"connection_id":160555,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:25:24] local.INFO: Acknowledgment sent {"connection_id":160555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:25:36] local.INFO: TCP Data received {"connection_id":161509,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:25:36] local.INFO: Processing buffer {"connection_id":161509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:25:36] local.INFO: IMEI packet received {"connection_id":161509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":161509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:25:44] local.INFO: TCP Data received {"connection_id":161509,"ip":"42.109.136.5","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 08:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161509,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 08:25:44] local.INFO: Processing buffer {"connection_id":161509,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 08:25:44] local.INFO: IMEI packet received {"connection_id":161509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":161509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:25:45] local.INFO: TCP Data received {"connection_id":161509,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8ad090012d19248007232ac0004f00e221..."} 
[2026-08-23 08:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8ad090012d19248007232ac0004f00e221..."} 
[2026-08-23 08:25:45] local.INFO: Processing buffer {"connection_id":161509,"buffer_length":829,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 08:25:45] local.INFO: IMEI packet received {"connection_id":161509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":161509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:25:46] local.INFO: TCP Data received {"connection_id":160556,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:25:46] local.INFO: Processing buffer {"connection_id":160556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:25:46] local.INFO: IMEI packet received {"connection_id":160556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":160556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:25:47] local.INFO: TCP Data received {"connection_id":161509,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8af7a0012d190cc007231100005300d720..."} 
[2026-08-23 08:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8af7a0012d190cc007231100005300d720..."} 
[2026-08-23 08:25:47] local.INFO: Processing buffer {"connection_id":161509,"buffer_length":1607,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a02c..."} 
[2026-08-23 08:25:47] local.INFO: IMEI packet received {"connection_id":161509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":161509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:25:48] local.INFO: TCP Data received {"connection_id":161508,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8af7a0012d7ae34005e3bb18000700a527..."} 
[2026-08-23 08:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8af7a0012d7ae34005e3bb18000700a527..."} 
[2026-08-23 08:25:48] local.INFO: Processing buffer {"connection_id":161508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8af7a0012d7ae34005e3bb18000700a527..."} 
[2026-08-23 08:25:48] local.INFO: Packet analysis {"connection_id":161508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8a"} 
[2026-08-23 08:25:48] local.INFO: Extracted packet for processing {"connection_id":161508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8a"} 
[2026-08-23 08:25:48] local.INFO: GPS Element Parsed {"raw_longitude":763028288,"raw_latitude":98810648,"longitude_deg":76.3028288,"latitude_deg":9.8810648,"altitude":7,"angle":165,"satellites":39,"speed":30,"hex_longitude":"2d7ae340","hex_latitude":"05e3bb18","is_valid_coordinates":true} 
[2026-08-23 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-08-23 08:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588144128001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122514680852774912,"note":"Value kept but may cause issues"} 
[2026-08-23 08:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8852458411592069120,"note":"Value kept but may cause issues"} 
[2026-08-23 08:25:48] 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-08-23 08:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787453700000,"timestamp_ms":1787453700000,"timestamp_seconds":1787453700,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8af7a0"} 
[2026-08-23 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-08-23 08:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-23 08:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 08:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588144128001,"66":13276,"208":206,"85":15104,"24":30,"16":122514680852774912,"45":8852458411592069120},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 08:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588144128001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:25:48] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 08:25:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122514680852774912,"km_value":122514680852774.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8852458411592069120,"description":"Unknown IO ID 45"} 
[2026-08-23 08:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588144128001,"power":13276,"unknown_208":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8852458411592069120}} 
[2026-08-23 08:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":161508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685272,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:25:49] local.INFO: GPS data processed {"connection_id":161508,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:25:49] local.INFO: Acknowledgment sent {"connection_id":161508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:25:51] local.INFO: TCP Data received {"connection_id":160556,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:25:51] local.INFO: Processing buffer {"connection_id":160556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:25:51] local.INFO: IMEI packet received {"connection_id":160556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":160556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:25:52] local.INFO: TCP Data received {"connection_id":160556,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:25:52] local.INFO: Processing buffer {"connection_id":160556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:25:52] local.INFO: Packet analysis {"connection_id":160556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:25:52] local.INFO: Extracted packet for processing {"connection_id":160556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588046080001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787453606000,"timestamp_ms":1787453606000,"timestamp_seconds":1787453606,"priority":1,"record_length":96,"hex_timestamp":"000001a02c898870"} 
[2026-08-23 08:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 08:25:52] 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-08-23 08:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588046080001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588046080001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:25:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588046080001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":160556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:25:52] local.INFO: GPS data processed {"connection_id":160556,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:25:52] local.INFO: Acknowledgment sent {"connection_id":160556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:26:07] local.INFO: TCP Data received {"connection_id":160557,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:26:07] local.INFO: Processing buffer {"connection_id":160557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:26:07] local.INFO: IMEI packet received {"connection_id":160557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":160557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:26:08] local.INFO: TCP Data received {"connection_id":161509,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8af7a0012d190cc007231100005300d720..."} 
[2026-08-23 08:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8af7a0012d190cc007231100005300d720..."} 
[2026-08-23 08:26:08] local.INFO: Processing buffer {"connection_id":161509,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a02c8ad090012d19248007232ac0004f00e221..."} 
[2026-08-23 08:26:08] local.INFO: Packet analysis {"connection_id":161509,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a02c8a"} 
[2026-08-23 08:26:08] local.INFO: Extracted packet for processing {"connection_id":161509,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02c8a"} 
[2026-08-23 08:26:08] local.INFO: GPS Element Parsed {"raw_longitude":756622464,"raw_latitude":119745216,"longitude_deg":75.6622464,"latitude_deg":11.9745216,"altitude":79,"angle":226,"satellites":33,"speed":33,"hex_longitude":"2d192480","hex_latitude":"07232ac0","is_valid_coordinates":true} 
[2026-08-23 08:26: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-08-23 08:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588141824001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15207547187232768,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818961698904969216,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787453690000,"timestamp_ms":1787453690000,"timestamp_seconds":1787453690,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8ad090"} 
[2026-08-23 08:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:26:08] 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-08-23 08:26: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":169,"data_length":795,"current_offset":136} 
[2026-08-23 08:26:08] 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-08-23 08:26: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-08-23 08:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588141824001,"66":14070,"186":206,"83":42752,"24":33,"16":15207547187232768,"45":1818961698904969216},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-08-23 08:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588141824001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:26:08] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-23 08:26:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15207547187232768,"km_value":15207547187232.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818961698904969216,"description":"Unknown IO ID 45"} 
[2026-08-23 08:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588141824001,"power":14070,"unknown_186":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1818961698904969216}} 
[2026-08-23 08:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":161509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:26:08] local.INFO: GPS data processed {"connection_id":161509,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:26:08] local.INFO: Acknowledgment sent {"connection_id":161509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:26:08] local.INFO: Packet analysis {"connection_id":161509,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02c8a"} 
[2026-08-23 08:26:08] local.INFO: Extracted packet for processing {"connection_id":161509,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8a"} 
[2026-08-23 08:26:08] local.INFO: GPS Element Parsed {"raw_longitude":756616384,"raw_latitude":119738624,"longitude_deg":75.6616384,"latitude_deg":11.9738624,"altitude":83,"angle":215,"satellites":32,"speed":38,"hex_longitude":"2d190cc0","hex_latitude":"07231100","is_valid_coordinates":true} 
[2026-08-23 08:26: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-08-23 08:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588144640001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15207980978929664,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811713718252912640,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787453700000,"timestamp_ms":1787453700000,"timestamp_seconds":1787453700,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8af7a0"} 
[2026-08-23 08:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:26: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":246,"data_length":795,"current_offset":136} 
[2026-08-23 08:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:26: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-08-23 08:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588144640001,"66":14004,"186":206,"83":42752,"24":38,"16":15207980978929664,"45":1811713718252912640},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-08-23 08:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588144640001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:26:08] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-23 08:26:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15207980978929664,"km_value":15207980978929.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811713718252912640,"description":"Unknown IO ID 45"} 
[2026-08-23 08:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588144640001,"power":14004,"unknown_186":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1811713718252912640}} 
[2026-08-23 08:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":161509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:26:08] local.INFO: GPS data processed {"connection_id":161509,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:26:08] local.INFO: Acknowledgment sent {"connection_id":161509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:26:08] local.INFO: Packet analysis {"connection_id":161509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8a"} 
[2026-08-23 08:26:08] local.INFO: Extracted packet for processing {"connection_id":161509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8a"} 
[2026-08-23 08:26:08] local.INFO: GPS Element Parsed {"raw_longitude":756616384,"raw_latitude":119738624,"longitude_deg":75.6616384,"latitude_deg":11.9738624,"altitude":83,"angle":215,"satellites":32,"speed":38,"hex_longitude":"2d190cc0","hex_latitude":"07231100","is_valid_coordinates":true} 
[2026-08-23 08:26: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-08-23 08:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588147200001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15207980978929664,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805028687554347008,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787453700000,"timestamp_ms":1787453700000,"timestamp_seconds":1787453700,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8af7a0"} 
[2026-08-23 08:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-23 08:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:26: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-08-23 08:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588147200001,"66":14004,"186":206,"83":42752,"24":38,"16":15207980978929664,"45":1805028687554347008},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-08-23 08:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588147200001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:26:08] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-23 08:26:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15207980978929664,"km_value":15207980978929.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805028687554347008,"description":"Unknown IO ID 45"} 
[2026-08-23 08:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588147200001,"power":14004,"unknown_186":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1805028687554347008}} 
[2026-08-23 08:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":161509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:26:08] local.INFO: GPS data processed {"connection_id":161509,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:26:08] local.INFO: Acknowledgment sent {"connection_id":161509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:26:08] local.INFO: TCP Data received {"connection_id":161509,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8b16e0012d18fb000722f9f0005600e920..."} 
[2026-08-23 08:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8b16e0012d18fb000722f9f0005600e920..."} 
[2026-08-23 08:26:08] local.INFO: Processing buffer {"connection_id":161509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8b16e0012d18fb000722f9f0005600e920..."} 
[2026-08-23 08:26:08] local.INFO: Packet analysis {"connection_id":161509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8b"} 
[2026-08-23 08:26:08] local.INFO: Extracted packet for processing {"connection_id":161509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8b"} 
[2026-08-23 08:26:08] local.INFO: GPS Element Parsed {"raw_longitude":756611840,"raw_latitude":119732720,"longitude_deg":75.661184,"latitude_deg":11.973272,"altitude":86,"angle":233,"satellites":32,"speed":35,"hex_longitude":"2d18fb00","hex_latitude":"0722f9f0","is_valid_coordinates":true} 
[2026-08-23 08:26: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-08-23 08:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588147200001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15208337461215232,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805028687554347008,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787453708000,"timestamp_ms":1787453708000,"timestamp_seconds":1787453708,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8b16e0"} 
[2026-08-23 08:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-23 08:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:26: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-08-23 08:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588147200001,"66":13961,"177":206,"83":42752,"24":35,"16":15208337461215232,"45":1805028687554347008},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-08-23 08:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588147200001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:26:08] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-23 08:26:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15208337461215232,"km_value":15208337461215.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805028687554347008,"description":"Unknown IO ID 45"} 
[2026-08-23 08:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588147200001,"power":13961,"unknown_177":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1805028687554347008}} 
[2026-08-23 08:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":161509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:26:08] local.INFO: GPS data processed {"connection_id":161509,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:26:08] local.INFO: Acknowledgment sent {"connection_id":161509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:26:09] local.INFO: TCP Data received {"connection_id":161509,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8b1eb0012d18f4c00722f6d8005600fc24..."} 
[2026-08-23 08:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8b1eb0012d18f4c00722f6d8005600fc24..."} 
[2026-08-23 08:26:09] local.INFO: Processing buffer {"connection_id":161509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8b1eb0012d18f4c00722f6d8005600fc24..."} 
[2026-08-23 08:26:09] local.INFO: Packet analysis {"connection_id":161509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8b"} 
[2026-08-23 08:26:09] local.INFO: Extracted packet for processing {"connection_id":161509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8b"} 
[2026-08-23 08:26:09] local.INFO: GPS Element Parsed {"raw_longitude":756610240,"raw_latitude":119731928,"longitude_deg":75.661024,"latitude_deg":11.9731928,"altitude":86,"angle":252,"satellites":36,"speed":34,"hex_longitude":"2d18f4c0","hex_latitude":"0722f6d8","is_valid_coordinates":true} 
[2026-08-23 08:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588149248001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15208423360561152,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800032506716221440,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787453710000,"timestamp_ms":1787453710000,"timestamp_seconds":1787453710,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8b1eb0"} 
[2026-08-23 08:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-23 08:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588149248001,"66":14004,"177":206,"83":42752,"24":34,"16":15208423360561152,"45":1800032506716221440},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-08-23 08:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588149248001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:26:09] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-23 08:26:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15208423360561152,"km_value":15208423360561.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800032506716221440,"description":"Unknown IO ID 45"} 
[2026-08-23 08:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588149248001,"power":14004,"unknown_177":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1800032506716221440}} 
[2026-08-23 08:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":161509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:26:09] local.INFO: GPS data processed {"connection_id":161509,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:26:09] local.INFO: Acknowledgment sent {"connection_id":161509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:26:10] local.INFO: TCP Data received {"connection_id":160557,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:26:10] local.INFO: Processing buffer {"connection_id":160557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:26:10] local.INFO: IMEI packet received {"connection_id":160557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":160557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:26:11] local.INFO: TCP Data received {"connection_id":160557,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8b2680012d7aedc005e399f80006009e2a..."} 
[2026-08-23 08:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8b2680012d7aedc005e399f80006009e2a..."} 
[2026-08-23 08:26:11] local.INFO: Processing buffer {"connection_id":160557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8b2680012d7aedc005e399f80006009e2a..."} 
[2026-08-23 08:26:11] local.INFO: Packet analysis {"connection_id":160557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8b"} 
[2026-08-23 08:26:11] local.INFO: Extracted packet for processing {"connection_id":160557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8b"} 
[2026-08-23 08:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763030976,"raw_latitude":98802168,"longitude_deg":76.3030976,"latitude_deg":9.8802168,"altitude":6,"angle":158,"satellites":42,"speed":25,"hex_longitude":"2d7aedc0","hex_latitude":"05e399f8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588147200001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122515110349504512,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854991686380230656,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787453712000,"timestamp_ms":1787453712000,"timestamp_seconds":1787453712,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8b2680"} 
[2026-08-23 08:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 08:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588147200001,"66":13222,"208":206,"85":15104,"24":25,"16":122515110349504512,"45":8854991686380230656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 08:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588147200001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:26:11] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 08:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122515110349504512,"km_value":122515110349504.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854991686380230656,"description":"Unknown IO ID 45"} 
[2026-08-23 08:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588147200001,"power":13222,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8854991686380230656}} 
[2026-08-23 08:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":160557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:26:11] local.INFO: GPS data processed {"connection_id":160557,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:26:11] local.INFO: Acknowledgment sent {"connection_id":160557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:26:23] local.INFO: TCP Data received {"connection_id":160556,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:26:23] local.INFO: Processing buffer {"connection_id":160556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:26:23] local.INFO: Packet analysis {"connection_id":160556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:26:23] local.INFO: Extracted packet for processing {"connection_id":160556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:26:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588046080001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787453606000,"timestamp_ms":1787453606000,"timestamp_seconds":1787453606,"priority":1,"record_length":96,"hex_timestamp":"000001a02c898870"} 
[2026-08-23 08:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:26: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-08-23 08:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 08:26:23] 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-08-23 08:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588046080001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588046080001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:26:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:26:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588046080001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":160556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:26:23] local.INFO: GPS data processed {"connection_id":160556,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:26:23] local.INFO: Acknowledgment sent {"connection_id":160556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:26:30] local.INFO: TCP Data received {"connection_id":162923,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:26:30] local.INFO: Processing buffer {"connection_id":162923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:26:30] local.INFO: IMEI packet received {"connection_id":162923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":162923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:26:31] local.INFO: TCP Data received {"connection_id":162923,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:26:31] local.INFO: Processing buffer {"connection_id":162923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:26:31] local.INFO: IMEI packet received {"connection_id":162923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":162923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:26:35] local.INFO: TCP Data received {"connection_id":162923,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:26:35] local.INFO: Processing buffer {"connection_id":162923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:26:35] local.INFO: IMEI packet received {"connection_id":162923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":162923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:26:35] local.INFO: TCP Data received {"connection_id":162923,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8b9bb0012d18a2c00722ca48006300c726..."} 
[2026-08-23 08:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8b9bb0012d18a2c00722ca48006300c726..."} 
[2026-08-23 08:26:35] local.INFO: Processing buffer {"connection_id":162923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8b9bb0012d18a2c00722ca48006300c726..."} 
[2026-08-23 08:26:35] local.INFO: Packet analysis {"connection_id":162923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8b"} 
[2026-08-23 08:26:35] local.INFO: Extracted packet for processing {"connection_id":162923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8b"} 
[2026-08-23 08:26:35] local.INFO: GPS Element Parsed {"raw_longitude":756589248,"raw_latitude":119720520,"longitude_deg":75.6589248,"latitude_deg":11.972052,"altitude":99,"angle":199,"satellites":38,"speed":39,"hex_longitude":"2d18a2c0","hex_latitude":"0722ca48","is_valid_coordinates":true} 
[2026-08-23 08:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588156928001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15209905124278272,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771088754688,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787453742000,"timestamp_ms":1787453742000,"timestamp_seconds":1787453742,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8b9bb0"} 
[2026-08-23 08:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-23 08:26: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-08-23 08:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":162923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":162923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":162923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588156928001,"66":14102,"177":206,"83":42752,"24":39,"16":15209905124278272,"45":1777373771088754688},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-08-23 08:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588156928001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:26:35] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-23 08:26:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 08:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15209905124278272,"km_value":15209905124278.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771088754688,"description":"Unknown IO ID 45"} 
[2026-08-23 08:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588156928001,"power":14102,"unknown_177":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1777373771088754688}} 
[2026-08-23 08:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":162923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:26:36] local.INFO: GPS data processed {"connection_id":162923,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:26:36] local.INFO: Acknowledgment sent {"connection_id":162923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:26:42] local.INFO: TCP Data received {"connection_id":160557,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8b74a0012d7af6c005e38018000500a428..."} 
[2026-08-23 08:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8b74a0012d7af6c005e38018000500a428..."} 
[2026-08-23 08:26:42] local.INFO: Processing buffer {"connection_id":160557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8b74a0012d7af6c005e38018000500a428..."} 
[2026-08-23 08:26:42] local.INFO: Packet analysis {"connection_id":160557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8b"} 
[2026-08-23 08:26:42] local.INFO: Extracted packet for processing {"connection_id":160557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8b"} 
[2026-08-23 08:26:42] local.INFO: GPS Element Parsed {"raw_longitude":763033280,"raw_latitude":98795544,"longitude_deg":76.303328,"latitude_deg":9.8795544,"altitude":5,"angle":164,"satellites":40,"speed":15,"hex_longitude":"2d7af6c0","hex_latitude":"05e38018","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588150272001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122515453946888192,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857947173633521664,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:42] 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-08-23 08:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787453732000,"timestamp_ms":1787453732000,"timestamp_seconds":1787453732,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8b74a0"} 
[2026-08-23 08:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 08:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588150272001,"66":13374,"208":206,"85":15104,"24":15,"16":122515453946888192,"45":8857947173633521664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 08:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588150272001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:26:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 08:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122515453946888192,"km_value":122515453946888.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857947173633521664,"description":"Unknown IO ID 45"} 
[2026-08-23 08:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588150272001,"power":13374,"unknown_208":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8857947173633521664}} 
[2026-08-23 08:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":160557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:26:43] local.INFO: GPS data processed {"connection_id":160557,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:26:43] local.INFO: Acknowledgment sent {"connection_id":160557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:26:52] local.INFO: TCP Data received {"connection_id":160347,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:26:52] local.INFO: Processing buffer {"connection_id":160347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:26:52] local.INFO: IMEI packet received {"connection_id":160347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":160347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:26:57] local.INFO: TCP Data received {"connection_id":160347,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:26:57] local.INFO: Processing buffer {"connection_id":160347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:26:57] local.INFO: IMEI packet received {"connection_id":160347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":160347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:26:57] local.INFO: TCP Data received {"connection_id":160347,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:26:57] local.INFO: Processing buffer {"connection_id":160347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:26:57] local.INFO: Packet analysis {"connection_id":160347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:26:57] local.INFO: Extracted packet for processing {"connection_id":160347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:26:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588046080001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787453606000,"timestamp_ms":1787453606000,"timestamp_seconds":1787453606,"priority":1,"record_length":96,"hex_timestamp":"000001a02c898870"} 
[2026-08-23 08:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 08:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588046080001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588046080001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:26:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:26:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588046080001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":160347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:26:57] local.INFO: GPS data processed {"connection_id":160347,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:26:57] local.INFO: Acknowledgment sent {"connection_id":160347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:27:02] local.INFO: TCP Data received {"connection_id":160347,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:27:02] local.INFO: Processing buffer {"connection_id":160347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:27:02] local.INFO: Packet analysis {"connection_id":160347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:27:02] local.INFO: Extracted packet for processing {"connection_id":160347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:27:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588046080001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787453606000,"timestamp_ms":1787453606000,"timestamp_seconds":1787453606,"priority":1,"record_length":96,"hex_timestamp":"000001a02c898870"} 
[2026-08-23 08:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 08:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588046080001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588046080001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:27:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:27:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588046080001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":160347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:27:02] local.INFO: GPS data processed {"connection_id":160347,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:27:02] local.INFO: Acknowledgment sent {"connection_id":160347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:27:03] local.INFO: TCP Data received {"connection_id":161510,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:27:03] local.INFO: Processing buffer {"connection_id":161510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:27:03] local.INFO: IMEI packet received {"connection_id":161510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":161510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:27:07] local.INFO: TCP Data received {"connection_id":162923,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8ba380012d18a1c00722c2e0006400b726..."} 
[2026-08-23 08:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8ba380012d18a1c00722c2e0006400b726..."} 
[2026-08-23 08:27:07] local.INFO: Processing buffer {"connection_id":162923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8ba380012d18a1c00722c2e0006400b726..."} 
[2026-08-23 08:27:07] local.INFO: Packet analysis {"connection_id":162923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8b"} 
[2026-08-23 08:27:07] local.INFO: Extracted packet for processing {"connection_id":162923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8b"} 
[2026-08-23 08:27:07] local.INFO: GPS Element Parsed {"raw_longitude":756588992,"raw_latitude":119718624,"longitude_deg":75.6588992,"latitude_deg":11.9718624,"altitude":100,"angle":183,"satellites":38,"speed":38,"hex_longitude":"2d18a1c0","hex_latitude":"0722c2e0","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588157952001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15209995318591488,"note":"Value kept but may cause issues"} 
[2026-08-23 08:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775192340018382848,"note":"Value kept but may cause issues"} 
[2026-08-23 08:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787453744000,"timestamp_ms":1787453744000,"timestamp_seconds":1787453744,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8ba380"} 
[2026-08-23 08:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-23 08:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588157952001,"66":14135,"105":206,"83":41984,"24":38,"16":15209995318591488,"45":1775192340018382848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 08:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588157952001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:27:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 08:27:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15209995318591488,"km_value":15209995318591.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775192340018382848,"description":"Unknown IO ID 45"} 
[2026-08-23 08:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588157952001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1775192340018382848}} 
[2026-08-23 08:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":162923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:27:07] local.INFO: GPS data processed {"connection_id":162923,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:27:07] local.INFO: Acknowledgment sent {"connection_id":162923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:27:07] local.INFO: TCP Data received {"connection_id":161510,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:27:07] local.INFO: Processing buffer {"connection_id":161510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:27:07] local.INFO: IMEI packet received {"connection_id":161510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":161510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:27:11] local.INFO: TCP Data received {"connection_id":161510,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:27:11] local.INFO: Processing buffer {"connection_id":161510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:27:11] local.INFO: IMEI packet received {"connection_id":161510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":161510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:27:12] local.INFO: TCP Data received {"connection_id":161510,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8bb708012d7b018005e35d400005009b2a..."} 
[2026-08-23 08:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8bb708012d7b018005e35d400005009b2a..."} 
[2026-08-23 08:27:12] local.INFO: Processing buffer {"connection_id":161510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8bb708012d7b018005e35d400005009b2a..."} 
[2026-08-23 08:27:12] local.INFO: Packet analysis {"connection_id":161510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8b"} 
[2026-08-23 08:27:12] local.INFO: Extracted packet for processing {"connection_id":161510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8b"} 
[2026-08-23 08:27:12] local.INFO: GPS Element Parsed {"raw_longitude":763036032,"raw_latitude":98786624,"longitude_deg":76.3036032,"latitude_deg":9.8786624,"altitude":5,"angle":155,"satellites":42,"speed":23,"hex_longitude":"2d7b0180","hex_latitude":"05e35d40","is_valid_coordinates":true} 
[2026-08-23 08:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588155392001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122515904918454272,"note":"Value kept but may cause issues"} 
[2026-08-23 08:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860480448422221824,"note":"Value kept but may cause issues"} 
[2026-08-23 08:27:12] 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-08-23 08:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787453749000,"timestamp_ms":1787453749000,"timestamp_seconds":1787453749,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8bb708"} 
[2026-08-23 08:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-23 08:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588155392001,"66":13396,"208":206,"85":15104,"24":23,"16":122515904918454272,"45":8860480448422221824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 08:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588155392001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:27:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 08:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122515904918454272,"km_value":122515904918454.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860480448422221824,"description":"Unknown IO ID 45"} 
[2026-08-23 08:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588155392001,"power":13396,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8860480448422221824}} 
[2026-08-23 08:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":161510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:27:12] local.INFO: GPS data processed {"connection_id":161510,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:27:12] local.INFO: Acknowledgment sent {"connection_id":161510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:27:30] local.INFO: TCP Data received {"connection_id":160348,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:27:30] local.INFO: Processing buffer {"connection_id":160348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:27:30] local.INFO: IMEI packet received {"connection_id":160348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":160348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:27:34] local.INFO: TCP Data received {"connection_id":160348,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:27:34] local.INFO: Processing buffer {"connection_id":160348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:27:34] local.INFO: IMEI packet received {"connection_id":160348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":160348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:27:35] local.INFO: TCP Data received {"connection_id":160348,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:27:35] local.INFO: Processing buffer {"connection_id":160348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:27:35] local.INFO: IMEI packet received {"connection_id":160348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":160348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:27:36] local.INFO: TCP Data received {"connection_id":160348,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8bab50012d18a2400722bb60006500aa25..."} 
[2026-08-23 08:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8bab50012d18a2400722bb60006500aa25..."} 
[2026-08-23 08:27:36] local.INFO: Processing buffer {"connection_id":160348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8bab50012d18a2400722bb60006500aa25..."} 
[2026-08-23 08:27:36] local.INFO: Packet analysis {"connection_id":160348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8b"} 
[2026-08-23 08:27:36] local.INFO: Extracted packet for processing {"connection_id":160348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8b"} 
[2026-08-23 08:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756589120,"raw_latitude":119716704,"longitude_deg":75.658912,"latitude_deg":11.9716704,"altitude":101,"angle":170,"satellites":37,"speed":38,"hex_longitude":"2d18a240","hex_latitude":"0722bb60","is_valid_coordinates":true} 
[2026-08-23 08:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588158464001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15210089807872000,"note":"Value kept but may cause issues"} 
[2026-08-23 08:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774910865041186816,"note":"Value kept but may cause issues"} 
[2026-08-23 08:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787453746000,"timestamp_ms":1787453746000,"timestamp_seconds":1787453746,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8bab50"} 
[2026-08-23 08:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-23 08:27:36] 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-08-23 08:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588158464001,"66":14080,"105":206,"83":41984,"24":38,"16":15210089807872000,"45":1774910865041186816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 08:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588158464001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:27:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 08:27:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15210089807872000,"km_value":15210089807872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774910865041186816,"description":"Unknown IO ID 45"} 
[2026-08-23 08:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588158464001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1774910865041186816}} 
[2026-08-23 08:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":160348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:27:36] local.INFO: GPS data processed {"connection_id":160348,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:27:36] local.INFO: Acknowledgment sent {"connection_id":160348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:27:43] local.INFO: TCP Data received {"connection_id":161510,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8be5e8012d7b0b0005e346e0000700a929..."} 
[2026-08-23 08:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8be5e8012d7b0b0005e346e0000700a929..."} 
[2026-08-23 08:27:43] local.INFO: Processing buffer {"connection_id":161510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8be5e8012d7b0b0005e346e0000700a929..."} 
[2026-08-23 08:27:43] local.INFO: Packet analysis {"connection_id":161510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8b"} 
[2026-08-23 08:27:43] local.INFO: Extracted packet for processing {"connection_id":161510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8b"} 
[2026-08-23 08:27:43] local.INFO: GPS Element Parsed {"raw_longitude":763038464,"raw_latitude":98780896,"longitude_deg":76.3038464,"latitude_deg":9.8780896,"altitude":7,"angle":169,"satellites":41,"speed":19,"hex_longitude":"2d7b0b00","hex_latitude":"05e346e0","is_valid_coordinates":true} 
[2026-08-23 08:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588159744001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122516209861132288,"note":"Value kept but may cause issues"} 
[2026-08-23 08:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863506304419577856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:27:43] 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-08-23 08:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787453761000,"timestamp_ms":1787453761000,"timestamp_seconds":1787453761,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8be5e8"} 
[2026-08-23 08:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-23 08:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588159744001,"66":13298,"208":206,"85":15104,"24":19,"16":122516209861132288,"45":8863506304419577856},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 08:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588159744001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:27:43] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 08:27:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122516209861132288,"km_value":122516209861132.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863506304419577856,"description":"Unknown IO ID 45"} 
[2026-08-23 08:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588159744001,"power":13298,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8863506304419577856}} 
[2026-08-23 08:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":161510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:27:43] local.INFO: GPS data processed {"connection_id":161510,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:27:43] local.INFO: Acknowledgment sent {"connection_id":161510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:27:47] local.INFO: TCP Data received {"connection_id":160558,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:27:47] local.INFO: Processing buffer {"connection_id":160558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:27:47] local.INFO: IMEI packet received {"connection_id":160558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":160558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:27:52] local.INFO: TCP Data received {"connection_id":160558,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:27:52] local.INFO: Processing buffer {"connection_id":160558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:27:52] local.INFO: IMEI packet received {"connection_id":160558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":160558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:27:53] local.INFO: TCP Data received {"connection_id":160558,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:27:53] local.INFO: Processing buffer {"connection_id":160558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:27:53] local.INFO: Packet analysis {"connection_id":160558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:27:53] local.INFO: Extracted packet for processing {"connection_id":160558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:27:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588046080001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787453606000,"timestamp_ms":1787453606000,"timestamp_seconds":1787453606,"priority":1,"record_length":96,"hex_timestamp":"000001a02c898870"} 
[2026-08-23 08:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 08:27:53] 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-08-23 08:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588046080001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588046080001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:27:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:27:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588046080001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":160558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:27:53] local.INFO: GPS data processed {"connection_id":160558,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:27:53] local.INFO: Acknowledgment sent {"connection_id":160558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:28:05] local.INFO: TCP Data received {"connection_id":162924,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:28:05] local.INFO: Processing buffer {"connection_id":162924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:28:05] local.INFO: IMEI packet received {"connection_id":162924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":162924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:28:06] local.INFO: TCP Data received {"connection_id":162924,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:28:06] local.INFO: Processing buffer {"connection_id":162924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:28:06] local.INFO: IMEI packet received {"connection_id":162924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":162924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:28:07] local.INFO: TCP Data received {"connection_id":160348,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8d2250012d181e800721a9e8004800ba26..."} 
[2026-08-23 08:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8d2250012d181e800721a9e8004800ba26..."} 
[2026-08-23 08:28:07] local.INFO: Processing buffer {"connection_id":160348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8d2250012d181e800721a9e8004800ba26..."} 
[2026-08-23 08:28:07] local.INFO: Packet analysis {"connection_id":160348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8d"} 
[2026-08-23 08:28:07] local.INFO: Extracted packet for processing {"connection_id":160348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8d"} 
[2026-08-23 08:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119646696,"longitude_deg":75.6555392,"latitude_deg":11.9646696,"altitude":72,"angle":186,"satellites":38,"speed":10,"hex_longitude":"2d181e80","hex_latitude":"0721a9e8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588183040001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15213972458307584,"note":"Value kept but may cause issues"} 
[2026-08-23 08:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562182144,"note":"Value kept but may cause issues"} 
[2026-08-23 08:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787453842000,"timestamp_ms":1787453842000,"timestamp_seconds":1787453842,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8d2250"} 
[2026-08-23 08:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 08:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588183040001,"66":13276,"105":206,"83":41984,"24":10,"16":15213972458307584,"45":1738178380562182144},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 08:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588183040001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:28:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 08:28:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15213972458307584,"km_value":15213972458307.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562182144,"description":"Unknown IO ID 45"} 
[2026-08-23 08:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588183040001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1738178380562182144}} 
[2026-08-23 08:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":160348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:28:07] local.INFO: GPS data processed {"connection_id":160348,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:28:07] local.INFO: Acknowledgment sent {"connection_id":160348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:28:11] local.INFO: TCP Data received {"connection_id":162924,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:28:11] local.INFO: Processing buffer {"connection_id":162924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:28:11] local.INFO: IMEI packet received {"connection_id":162924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":162924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:28:12] local.INFO: TCP Data received {"connection_id":162924,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8c0140012d7b0c8005e33938000800b627..."} 
[2026-08-23 08:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8c0140012d7b0c8005e33938000800b627..."} 
[2026-08-23 08:28:12] local.INFO: Processing buffer {"connection_id":162924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8c0140012d7b0c8005e33938000800b627..."} 
[2026-08-23 08:28:12] local.INFO: Packet analysis {"connection_id":162924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8c"} 
[2026-08-23 08:28:12] local.INFO: Extracted packet for processing {"connection_id":162924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8c"} 
[2026-08-23 08:28:12] local.INFO: GPS Element Parsed {"raw_longitude":763038848,"raw_latitude":98777400,"longitude_deg":76.3038848,"latitude_deg":9.87774,"altitude":8,"angle":182,"satellites":39,"speed":22,"hex_longitude":"2d7b0c80","hex_latitude":"05e33938","is_valid_coordinates":true} 
[2026-08-23 08:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588162816001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122516377364856832,"note":"Value kept but may cause issues"} 
[2026-08-23 08:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866180316696862720,"note":"Value kept but may cause issues"} 
[2026-08-23 08:28:12] 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-08-23 08:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787453768000,"timestamp_ms":1787453768000,"timestamp_seconds":1787453768,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8c0140"} 
[2026-08-23 08:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:28: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-08-23 08:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-23 08:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588162816001,"66":13493,"208":206,"85":15104,"24":22,"16":122516377364856832,"45":8866180316696862720},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-23 08:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588162816001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:28:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-23 08:28:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122516377364856832,"km_value":122516377364856.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866180316696862720,"description":"Unknown IO ID 45"} 
[2026-08-23 08:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588162816001,"power":13493,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8866180316696862720}} 
[2026-08-23 08:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":162924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:28:12] local.INFO: GPS data processed {"connection_id":162924,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:28:12] local.INFO: Acknowledgment sent {"connection_id":162924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:28:25] local.INFO: TCP Data received {"connection_id":160558,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:28:25] local.INFO: Processing buffer {"connection_id":160558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:28:25] local.INFO: Packet analysis {"connection_id":160558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:28:25] local.INFO: Extracted packet for processing {"connection_id":160558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:28:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 08:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588046080001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787453606000,"timestamp_ms":1787453606000,"timestamp_seconds":1787453606,"priority":1,"record_length":96,"hex_timestamp":"000001a02c898870"} 
[2026-08-23 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-08-23 08:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 08:28:25] 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-08-23 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-08-23 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-08-23 08:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588046080001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588046080001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:28:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:28:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588046080001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":160558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:28:25] local.INFO: GPS data processed {"connection_id":160558,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:28:25] local.INFO: Acknowledgment sent {"connection_id":160558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:28:32] local.INFO: TCP Data received {"connection_id":161511,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:28:32] local.INFO: Processing buffer {"connection_id":161511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:28:32] local.INFO: IMEI packet received {"connection_id":161511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":161511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:28:35] local.INFO: TCP Data received {"connection_id":161511,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:28:35] local.INFO: Processing buffer {"connection_id":161511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:28:35] local.INFO: IMEI packet received {"connection_id":161511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":161511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:28:40] local.INFO: TCP Data received {"connection_id":161511,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:28:40] local.INFO: Processing buffer {"connection_id":161511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:28:40] local.INFO: IMEI packet received {"connection_id":161511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":161511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:28:41] local.INFO: TCP Data received {"connection_id":161511,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8d2638012d181ec00721a8e00047009c26..."} 
[2026-08-23 08:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8d2638012d181ec00721a8e00047009c26..."} 
[2026-08-23 08:28:41] local.INFO: Processing buffer {"connection_id":161511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8d2638012d181ec00721a8e00047009c26..."} 
[2026-08-23 08:28:41] local.INFO: Packet analysis {"connection_id":161511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8d"} 
[2026-08-23 08:28:41] local.INFO: Extracted packet for processing {"connection_id":161511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8d"} 
[2026-08-23 08:28:41] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119646432,"longitude_deg":75.6555456,"latitude_deg":11.9646432,"altitude":71,"angle":156,"satellites":38,"speed":10,"hex_longitude":"2d181ec0","hex_latitude":"0721a8e0","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588183552001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15213985343209472,"note":"Value kept but may cause issues"} 
[2026-08-23 08:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329499648,"note":"Value kept but may cause issues"} 
[2026-08-23 08:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787453843000,"timestamp_ms":1787453843000,"timestamp_seconds":1787453843,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8d2638"} 
[2026-08-23 08:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 08:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588183552001,"66":13276,"105":206,"83":41984,"24":10,"16":15213985343209472,"45":1737967274329499648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 08:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588183552001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:28:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 08:28:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15213985343209472,"km_value":15213985343209.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329499648,"description":"Unknown IO ID 45"} 
[2026-08-23 08:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588183552001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737967274329499648}} 
[2026-08-23 08:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":161511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:28:41] local.INFO: GPS data processed {"connection_id":161511,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:28:41] local.INFO: Acknowledgment sent {"connection_id":161511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:28:43] local.INFO: TCP Data received {"connection_id":162924,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8e33c0012d7b438005e19158000000a123..."} 
[2026-08-23 08:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8e33c0012d7b438005e19158000000a123..."} 
[2026-08-23 08:28:43] local.INFO: Processing buffer {"connection_id":162924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8e33c0012d7b438005e19158000000a123..."} 
[2026-08-23 08:28:43] local.INFO: Packet analysis {"connection_id":162924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:28:43] local.INFO: Extracted packet for processing {"connection_id":162924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:28:43] local.INFO: GPS Element Parsed {"raw_longitude":763052928,"raw_latitude":98668888,"longitude_deg":76.3052928,"latitude_deg":9.8668888,"altitude":0,"angle":161,"satellites":35,"speed":21,"hex_longitude":"2d7b4380","hex_latitude":"05e19158","is_valid_coordinates":true} 
[2026-08-23 08:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588197632001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880957752947791872,"note":"Value kept but may cause issues"} 
[2026-08-23 08:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122521698829336576,"note":"Value kept but may cause issues"} 
[2026-08-23 08:28:43] 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-08-23 08:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787453912000,"timestamp_ms":1787453912000,"timestamp_seconds":1787453912,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8e33c0"} 
[2026-08-23 08:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-23 08:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588197632001,"66":13059,"45":8880957752947791872,"85":15104,"24":21,"16":122521698829336576},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-23 08:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588197632001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880957752947791872,"description":"Unknown IO ID 45"} 
[2026-08-23 08:28:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122521698829336576,"km_value":122521698829336.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:28:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457588197632001,"power":13059,"unknown_45":8880957752947791872,"unknown_85":15104,"ignition":21,"odometer":null}} 
[2026-08-23 08:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":162924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:28:44] local.INFO: GPS data processed {"connection_id":162924,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:28:44] local.INFO: Acknowledgment sent {"connection_id":162924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:28:45] local.INFO: TCP Data received {"connection_id":161511,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8d2a20012d181f400721a8280048008925..."} 
[2026-08-23 08:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8d2a20012d181f400721a8280048008925..."} 
[2026-08-23 08:28:45] local.INFO: Processing buffer {"connection_id":161511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8d2a20012d181f400721a8280048008925..."} 
[2026-08-23 08:28:45] local.INFO: Packet analysis {"connection_id":161511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8d"} 
[2026-08-23 08:28:45] local.INFO: Extracted packet for processing {"connection_id":161511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8d"} 
[2026-08-23 08:28:45] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646248,"longitude_deg":75.6555584,"latitude_deg":11.9646248,"altitude":72,"angle":137,"satellites":37,"speed":9,"hex_longitude":"2d181f40","hex_latitude":"0721a828","is_valid_coordinates":true} 
[2026-08-23 08:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588183808001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15213993933144064,"note":"Value kept but may cause issues"} 
[2026-08-23 08:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073609728,"note":"Value kept but may cause issues"} 
[2026-08-23 08:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787453844000,"timestamp_ms":1787453844000,"timestamp_seconds":1787453844,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8d2a20"} 
[2026-08-23 08:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 08:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588183808001,"66":13276,"105":206,"83":41984,"24":9,"16":15213993933144064,"45":1738037643073609728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 08:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588183808001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:28:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 08:28:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15213993933144064,"km_value":15213993933144.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073609728,"description":"Unknown IO ID 45"} 
[2026-08-23 08:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588183808001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1738037643073609728}} 
[2026-08-23 08:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":161511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:28:46] local.INFO: GPS data processed {"connection_id":161511,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:28:46] local.INFO: Acknowledgment sent {"connection_id":161511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:28:47] local.INFO: TCP Data received {"connection_id":162925,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:28:47] local.INFO: Processing buffer {"connection_id":162925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:28:47] local.INFO: IMEI packet received {"connection_id":162925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":162925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:28:52] local.INFO: TCP Data received {"connection_id":162925,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:28:52] local.INFO: Processing buffer {"connection_id":162925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:28:52] local.INFO: IMEI packet received {"connection_id":162925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":162925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:28:53] local.INFO: TCP Data received {"connection_id":162925,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:28:53] local.INFO: Processing buffer {"connection_id":162925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c898870012d34c50006aa4098000e008520..."} 
[2026-08-23 08:28:53] local.INFO: Packet analysis {"connection_id":162925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:28:53] local.INFO: Extracted packet for processing {"connection_id":162925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c89"} 
[2026-08-23 08:28:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588046080001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787453606000,"timestamp_ms":1787453606000,"timestamp_seconds":1787453606,"priority":1,"record_length":96,"hex_timestamp":"000001a02c898870"} 
[2026-08-23 08:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 08:28:53] 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-08-23 08:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:28:53] 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-08-23 08:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588046080001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588046080001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:28:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:28:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588046080001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":162925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:28:53] local.INFO: GPS data processed {"connection_id":162925,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:28:53] local.INFO: Acknowledgment sent {"connection_id":162925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:29:07] local.INFO: TCP Data received {"connection_id":162926,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:29:07] local.INFO: Processing buffer {"connection_id":162926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:29:07] local.INFO: IMEI packet received {"connection_id":162926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":162926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:29:12] local.INFO: TCP Data received {"connection_id":162926,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:29:12] local.INFO: Processing buffer {"connection_id":162926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:29:12] local.INFO: IMEI packet received {"connection_id":162926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":162926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:29:12] local.INFO: TCP Data received {"connection_id":162926,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8e33c0012d7b438005e19158000000a123..."} 
[2026-08-23 08:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8e33c0012d7b438005e19158000000a123..."} 
[2026-08-23 08:29:12] local.INFO: Processing buffer {"connection_id":162926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8e33c0012d7b438005e19158000000a123..."} 
[2026-08-23 08:29:12] local.INFO: Packet analysis {"connection_id":162926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:29:12] local.INFO: Extracted packet for processing {"connection_id":162926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:29:12] local.INFO: GPS Element Parsed {"raw_longitude":763052928,"raw_latitude":98668888,"longitude_deg":76.3052928,"latitude_deg":9.8668888,"altitude":0,"angle":161,"satellites":35,"speed":21,"hex_longitude":"2d7b4380","hex_latitude":"05e19158","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588201472001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882083652852340736,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122521698829336576,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:12] 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-08-23 08:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787453912000,"timestamp_ms":1787453912000,"timestamp_seconds":1787453912,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8e33c0"} 
[2026-08-23 08:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-23 08:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167022615903,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:12] local.WARNING: Large IO value detected {"io_id":207,"raw_value":58077557095399449,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:12] local.WARNING: Large IO value detected {"io_id":71,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2372700161,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-08-23 08:29:12] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3623955835,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:12] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040095,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3798435840,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:12] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,45,85,24,241,157,16,72,160,249,128,180,1,35,10,66,207,198,215,34,155,240,94,227,71,44,226,4,113,205,28,53,49,104,32,239,51,2,179,5,25],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0}]} 
[2026-08-23 08:29:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":177171697303552,"timestamp_seconds":177171697303.552,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 08:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588201472001,"66":13059,"45":8882083652852340736,"85":15104,"24":21,"16":122521698829336576},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-23 08:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588201472001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882083652852340736,"description":"Unknown IO ID 45"} 
[2026-08-23 08:29:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122521698829336576,"km_value":122521698829336.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:29:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457588201472001,"power":13059,"unknown_45":8882083652852340736,"unknown_85":15104,"ignition":21,"odometer":null}} 
[2026-08-23 08:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":162926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:29:12] local.INFO: GPS data processed {"connection_id":162926,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:29:12] local.INFO: Acknowledgment sent {"connection_id":162926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:29:24] local.INFO: TCP Data received {"connection_id":162925,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:29:24] local.INFO: Processing buffer {"connection_id":162925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:29:24] local.INFO: Packet analysis {"connection_id":162925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:29:24] local.INFO: Extracted packet for processing {"connection_id":162925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:29:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588123136001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787453907000,"timestamp_ms":1787453907000,"timestamp_seconds":1787453907,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8e2038"} 
[2026-08-23 08:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:29: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-08-23 08:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:29:24] 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-08-23 08:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:29:24] 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-08-23 08:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588123136001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588123136001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:29:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:29:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588123136001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":162925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:29:24] local.INFO: GPS data processed {"connection_id":162925,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:29:24] local.INFO: Acknowledgment sent {"connection_id":162925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:29:30] local.INFO: TCP Data received {"connection_id":161512,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:29:30] local.INFO: Processing buffer {"connection_id":161512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:29:30] local.INFO: IMEI packet received {"connection_id":161512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":161512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:29:35] local.INFO: TCP Data received {"connection_id":161512,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:29:35] local.INFO: Processing buffer {"connection_id":161512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:29:35] local.INFO: IMEI packet received {"connection_id":161512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":161512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:29:36] local.INFO: TCP Data received {"connection_id":161512,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8d4d48012d1826400721a0e8004b009827..."} 
[2026-08-23 08:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8d4d48012d1826400721a0e8004b009827..."} 
[2026-08-23 08:29:36] local.INFO: Processing buffer {"connection_id":161512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8d4d48012d1826400721a0e8004b009827..."} 
[2026-08-23 08:29:36] local.INFO: Packet analysis {"connection_id":161512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8d"} 
[2026-08-23 08:29:36] local.INFO: Extracted packet for processing {"connection_id":161512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8d"} 
[2026-08-23 08:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119644392,"longitude_deg":75.6557376,"latitude_deg":11.9644392,"altitude":75,"angle":152,"satellites":39,"speed":11,"hex_longitude":"2d182640","hex_latitude":"0721a0e8","is_valid_coordinates":true} 
[2026-08-23 08:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588184064001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15214118487195648,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561917952,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787453853000,"timestamp_ms":1787453853000,"timestamp_seconds":1787453853,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8d4d48"} 
[2026-08-23 08:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 08:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588184064001,"66":13222,"105":206,"83":41984,"24":11,"16":15214118487195648,"45":1738178380561917952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 08:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588184064001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:29:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 08:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15214118487195648,"km_value":15214118487195.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561917952,"description":"Unknown IO ID 45"} 
[2026-08-23 08:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588184064001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1738178380561917952}} 
[2026-08-23 08:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":161512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:29:36] local.INFO: GPS data processed {"connection_id":161512,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:29:36] local.INFO: Acknowledgment sent {"connection_id":161512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:29:44] local.INFO: TCP Data received {"connection_id":162926,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8e4f18012d7b458005e18a28000000b624..."} 
[2026-08-23 08:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8e4f18012d7b458005e18a28000000b624..."} 
[2026-08-23 08:29:44] local.INFO: Processing buffer {"connection_id":162926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8e4f18012d7b458005e18a28000000b624..."} 
[2026-08-23 08:29:44] local.INFO: Packet analysis {"connection_id":162926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:29:44] local.INFO: Extracted packet for processing {"connection_id":162926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:29:44] local.INFO: GPS Element Parsed {"raw_longitude":763053440,"raw_latitude":98667048,"longitude_deg":76.305344,"latitude_deg":9.8667048,"altitude":0,"angle":182,"satellites":36,"speed":5,"hex_longitude":"2d7b4580","hex_latitude":"05e18a28","is_valid_coordinates":true} 
[2026-08-23 08:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588201472001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882083652852340736,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122521793318617088,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:44] 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-08-23 08:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787453919000,"timestamp_ms":1787453919000,"timestamp_seconds":1787453919,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8e4f18"} 
[2026-08-23 08:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-23 08:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166653517151,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:44] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040095,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:44] local.WARNING: Large IO value detected {"io_id":207,"raw_value":58077557095399454,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2375772161,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:44] local.WARNING: Large IO value detected {"io_id":225,"raw_value":4223139842,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-08-23 08:29:44] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2281778555,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:44] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3221611040,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3796068352,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:44] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,45,85,24,241,157,16,72,160,51,128,145,35,10,66,249,180,1,207,198,240,187,227,44,225,4,113,205,32,108,53,248,40,239,2,179,5,30],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0}]} 
[2026-08-23 08:29:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":177171697303552,"timestamp_seconds":177171697303.552,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 08:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588201472001,"66":13243,"45":8882083652852340736,"85":15104,"24":5,"16":122521793318617088},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-23 08:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588201472001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882083652852340736,"description":"Unknown IO ID 45"} 
[2026-08-23 08:29:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122521793318617088,"km_value":122521793318617.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:29:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457588201472001,"power":13243,"unknown_45":8882083652852340736,"unknown_85":15104,"ignition":5,"odometer":null}} 
[2026-08-23 08:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":162926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:29:44] local.INFO: GPS data processed {"connection_id":162926,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:29:44] local.INFO: Acknowledgment sent {"connection_id":162926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:29:46] local.INFO: TCP Data received {"connection_id":160349,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:29:46] local.INFO: Processing buffer {"connection_id":160349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:29:46] local.INFO: IMEI packet received {"connection_id":160349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":160349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:29:52] local.INFO: TCP Data received {"connection_id":160349,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:29:52] local.INFO: Processing buffer {"connection_id":160349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:29:52] local.INFO: IMEI packet received {"connection_id":160349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":160349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:29:53] local.INFO: TCP Data received {"connection_id":160349,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:29:53] local.INFO: Processing buffer {"connection_id":160349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:29:53] local.INFO: Packet analysis {"connection_id":160349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:29:53] local.INFO: Extracted packet for processing {"connection_id":160349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:29:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588123136001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787453907000,"timestamp_ms":1787453907000,"timestamp_seconds":1787453907,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8e2038"} 
[2026-08-23 08:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:29:53] 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-08-23 08: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-08-23 08:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:29:53] 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-08-23 08:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588123136001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588123136001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:29:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:29:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588123136001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":160349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:29:53] local.INFO: GPS data processed {"connection_id":160349,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:29:53] local.INFO: Acknowledgment sent {"connection_id":160349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:30:06] local.INFO: TCP Data received {"connection_id":160559,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:30:06] local.INFO: Processing buffer {"connection_id":160559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:30:06] local.INFO: IMEI packet received {"connection_id":160559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":160559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:30:07] local.INFO: TCP Data received {"connection_id":161512,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8d5ce8012d18280007219de8004d008427..."} 
[2026-08-23 08:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8d5ce8012d18280007219de8004d008427..."} 
[2026-08-23 08:30:07] local.INFO: Processing buffer {"connection_id":161512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8d5ce8012d18280007219de8004d008427..."} 
[2026-08-23 08:30:07] local.INFO: Packet analysis {"connection_id":161512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8d"} 
[2026-08-23 08:30:07] local.INFO: Extracted packet for processing {"connection_id":161512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8d"} 
[2026-08-23 08:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756557824,"raw_latitude":119643624,"longitude_deg":75.6557824,"latitude_deg":11.9643624,"altitude":77,"angle":132,"satellites":39,"speed":6,"hex_longitude":"2d182800","hex_latitude":"07219de8","is_valid_coordinates":true} 
[2026-08-23 08:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588186368001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15214165731835904,"note":"Value kept but may cause issues"} 
[2026-08-23 08:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705398417408,"note":"Value kept but may cause issues"} 
[2026-08-23 08:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787453857000,"timestamp_ms":1787453857000,"timestamp_seconds":1787453857,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8d5ce8"} 
[2026-08-23 08:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 08:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588186368001,"66":13222,"105":206,"83":41984,"24":6,"16":15214165731835904,"45":1740148705398417408},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 08:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588186368001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:30:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 08:30:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15214165731835904,"km_value":15214165731835.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705398417408,"description":"Unknown IO ID 45"} 
[2026-08-23 08:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588186368001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1740148705398417408}} 
[2026-08-23 08:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":161512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:30:07] local.INFO: GPS data processed {"connection_id":161512,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:30:07] local.INFO: Acknowledgment sent {"connection_id":161512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:30:12] local.INFO: TCP Data received {"connection_id":160559,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:30:12] local.INFO: Processing buffer {"connection_id":160559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:30:12] local.INFO: IMEI packet received {"connection_id":160559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":160559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:30:13] local.INFO: TCP Data received {"connection_id":160559,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8e6688012d7b454005e189c0000000b626..."} 
[2026-08-23 08:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8e6688012d7b454005e189c0000000b626..."} 
[2026-08-23 08:30:13] local.INFO: Processing buffer {"connection_id":160559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8e6688012d7b454005e189c0000000b626..."} 
[2026-08-23 08:30:13] local.INFO: Packet analysis {"connection_id":160559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:30:13] local.INFO: Extracted packet for processing {"connection_id":160559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:30:13] local.INFO: GPS Element Parsed {"raw_longitude":763053376,"raw_latitude":98666944,"longitude_deg":76.3053376,"latitude_deg":9.8666944,"altitude":0,"angle":182,"satellites":38,"speed":0,"hex_longitude":"2d7b4540","hex_latitude":"05e189c0","is_valid_coordinates":true} 
[2026-08-23 08:30: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-08-23 08:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588203264001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882646602805291008,"note":"Value kept but may cause issues"} 
[2026-08-23 08:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122521801908551680,"note":"Value kept but may cause issues"} 
[2026-08-23 08:30:13] 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-08-23 08:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787453925000,"timestamp_ms":1787453925000,"timestamp_seconds":1787453925,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8e6688"} 
[2026-08-23 08:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-23 08:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588203264001,"66":13080,"45":8882646602805291008,"85":15104,"24":0,"16":122521801908551680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-23 08:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588203264001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882646602805291008,"description":"Unknown IO ID 45"} 
[2026-08-23 08:30:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122521801908551680,"km_value":122521801908551.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:30:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457588203264001,"power":13080,"unknown_45":8882646602805291008,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-23 08:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":160559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:30:13] local.INFO: GPS data processed {"connection_id":160559,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:30:13] local.INFO: Acknowledgment sent {"connection_id":160559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:30:25] local.INFO: TCP Data received {"connection_id":160349,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:30:25] local.INFO: Processing buffer {"connection_id":160349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:30:25] local.INFO: Packet analysis {"connection_id":160349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:30:25] local.INFO: Extracted packet for processing {"connection_id":160349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:30:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588123136001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787453907000,"timestamp_ms":1787453907000,"timestamp_seconds":1787453907,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8e2038"} 
[2026-08-23 08:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:30:25] 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-08-23 08:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:30:25] 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-08-23 08:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588123136001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588123136001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:30:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:30:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588123136001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":160349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:30:25] local.INFO: GPS data processed {"connection_id":160349,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:30:25] local.INFO: Acknowledgment sent {"connection_id":160349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:30:30] local.INFO: TCP Data received {"connection_id":160350,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:30:30] local.INFO: Processing buffer {"connection_id":160350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:30:30] local.INFO: IMEI packet received {"connection_id":160350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":160350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:30:35] local.INFO: TCP Data received {"connection_id":160350,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:30:35] local.INFO: Processing buffer {"connection_id":160350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:30:35] local.INFO: IMEI packet received {"connection_id":160350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":160350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:30:36] local.INFO: TCP Data received {"connection_id":160350,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8dab08012d1828c007219d38004c008421..."} 
[2026-08-23 08:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8dab08012d1828c007219d38004c008421..."} 
[2026-08-23 08:30:36] local.INFO: Processing buffer {"connection_id":160350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8dab08012d1828c007219d38004c008421..."} 
[2026-08-23 08:30:36] local.INFO: Packet analysis {"connection_id":160350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8d"} 
[2026-08-23 08:30:36] local.INFO: Extracted packet for processing {"connection_id":160350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8d"} 
[2026-08-23 08:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643448,"longitude_deg":75.6558016,"latitude_deg":11.9643448,"altitude":76,"angle":132,"satellites":33,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588187392001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15214182911705088,"note":"Value kept but may cause issues"} 
[2026-08-23 08:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740641286607464448,"note":"Value kept but may cause issues"} 
[2026-08-23 08:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787453877000,"timestamp_ms":1787453877000,"timestamp_seconds":1787453877,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8dab08"} 
[2026-08-23 08:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 08:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588187392001,"66":13102,"105":206,"83":41984,"24":0,"16":15214182911705088,"45":1740641286607464448},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 08:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588187392001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:30:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 08:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15214182911705088,"km_value":15214182911705.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740641286607464448,"description":"Unknown IO ID 45"} 
[2026-08-23 08:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588187392001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740641286607464448}} 
[2026-08-23 08:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":160350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:30:36] local.INFO: GPS data processed {"connection_id":160350,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:30:36] local.INFO: Acknowledgment sent {"connection_id":160350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:30:44] local.INFO: TCP Data received {"connection_id":160559,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8e6688012d7b454005e189c0000000b626..."} 
[2026-08-23 08:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8e6688012d7b454005e189c0000000b626..."} 
[2026-08-23 08:30:44] local.INFO: Processing buffer {"connection_id":160559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8e6688012d7b454005e189c0000000b626..."} 
[2026-08-23 08:30:44] local.INFO: Packet analysis {"connection_id":160559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:30:44] local.INFO: Extracted packet for processing {"connection_id":160559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:30:44] local.INFO: GPS Element Parsed {"raw_longitude":763053376,"raw_latitude":98666944,"longitude_deg":76.3053376,"latitude_deg":9.8666944,"altitude":0,"angle":182,"satellites":38,"speed":0,"hex_longitude":"2d7b4540","hex_latitude":"05e189c0","is_valid_coordinates":true} 
[2026-08-23 08:30: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-08-23 08:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588204800001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882576234061086720,"note":"Value kept but may cause issues"} 
[2026-08-23 08:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122521801908551680,"note":"Value kept but may cause issues"} 
[2026-08-23 08:30:44] 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-08-23 08:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787453925000,"timestamp_ms":1787453925000,"timestamp_seconds":1787453925,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8e6688"} 
[2026-08-23 08:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08: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-08-23 08:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-23 08:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588204800001,"66":13080,"45":8882576234061086720,"85":15104,"24":0,"16":122521801908551680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-23 08:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588204800001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882576234061086720,"description":"Unknown IO ID 45"} 
[2026-08-23 08:30:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122521801908551680,"km_value":122521801908551.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:30:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457588204800001,"power":13080,"unknown_45":8882576234061086720,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-23 08:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":160559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:30:44] local.INFO: GPS data processed {"connection_id":160559,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:30:44] local.INFO: Acknowledgment sent {"connection_id":160559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:30:46] local.INFO: TCP Data received {"connection_id":160351,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:30:46] local.INFO: Processing buffer {"connection_id":160351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:30:46] local.INFO: IMEI packet received {"connection_id":160351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":160351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:30:52] local.INFO: TCP Data received {"connection_id":160351,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:30:52] local.INFO: Processing buffer {"connection_id":160351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:30:52] local.INFO: IMEI packet received {"connection_id":160351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":160351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:30:55] local.INFO: TCP Data received {"connection_id":160351,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:30:55] local.INFO: Processing buffer {"connection_id":160351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:30:55] local.INFO: Packet analysis {"connection_id":160351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:30:55] local.INFO: Extracted packet for processing {"connection_id":160351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:30:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588123136001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787453907000,"timestamp_ms":1787453907000,"timestamp_seconds":1787453907,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8e2038"} 
[2026-08-23 08:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:30:55] 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-08-23 08: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-08-23 08:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588123136001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588123136001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:30:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:30:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588123136001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":160351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:30:55] local.INFO: GPS data processed {"connection_id":160351,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:30:55] local.INFO: Acknowledgment sent {"connection_id":160351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:31:07] local.INFO: TCP Data received {"connection_id":160350,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8df928012d1828c007219d38004c00841f..."} 
[2026-08-23 08:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8df928012d1828c007219d38004c00841f..."} 
[2026-08-23 08:31:07] local.INFO: Processing buffer {"connection_id":160350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8df928012d1828c007219d38004c00841f..."} 
[2026-08-23 08:31:07] local.INFO: Packet analysis {"connection_id":160350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8d"} 
[2026-08-23 08:31:07] local.INFO: Extracted packet for processing {"connection_id":160350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8d"} 
[2026-08-23 08:31:07] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643448,"longitude_deg":75.6558016,"latitude_deg":11.9643448,"altitude":76,"angle":132,"satellites":31,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588192512001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15214182911705088,"note":"Value kept but may cause issues"} 
[2026-08-23 08:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392839952384,"note":"Value kept but may cause issues"} 
[2026-08-23 08:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787453897000,"timestamp_ms":1787453897000,"timestamp_seconds":1787453897,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8df928"} 
[2026-08-23 08:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-23 08:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588192512001,"66":13091,"105":206,"83":41984,"24":0,"16":15214182911705088,"45":1740852392839952384},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 08:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588192512001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:31:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 08:31:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15214182911705088,"km_value":15214182911705.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392839952384,"description":"Unknown IO ID 45"} 
[2026-08-23 08:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588192512001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740852392839952384}} 
[2026-08-23 08:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":160350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:31:07] local.INFO: GPS data processed {"connection_id":160350,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:31:07] local.INFO: Acknowledgment sent {"connection_id":160350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:31:12] local.INFO: TCP Data received {"connection_id":161513,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:31:12] local.INFO: Processing buffer {"connection_id":161513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:31:12] local.INFO: IMEI packet received {"connection_id":161513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":161513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:31:17] local.INFO: TCP Data received {"connection_id":161513,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:31:17] local.INFO: Processing buffer {"connection_id":161513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:31:17] local.INFO: IMEI packet received {"connection_id":161513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":161513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:31:17] local.INFO: TCP Data received {"connection_id":161513,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8e6e58012d7b454005e189c0000000b627..."} 
[2026-08-23 08:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8e6e58012d7b454005e189c0000000b627..."} 
[2026-08-23 08:31:17] local.INFO: Processing buffer {"connection_id":161513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8e6e58012d7b454005e189c0000000b627..."} 
[2026-08-23 08:31:17] local.INFO: Packet analysis {"connection_id":161513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:31:17] local.INFO: Extracted packet for processing {"connection_id":161513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:31:17] local.INFO: GPS Element Parsed {"raw_longitude":763053376,"raw_latitude":98666944,"longitude_deg":76.3053376,"latitude_deg":9.8666944,"altitude":0,"angle":182,"satellites":39,"speed":0,"hex_longitude":"2d7b4540","hex_latitude":"05e189c0","is_valid_coordinates":true} 
[2026-08-23 08:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588204800001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882576234061086720,"note":"Value kept but may cause issues"} 
[2026-08-23 08:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122521801908551680,"note":"Value kept but may cause issues"} 
[2026-08-23 08:31:17] 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-08-23 08:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787453927000,"timestamp_ms":1787453927000,"timestamp_seconds":1787453927,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8e6e58"} 
[2026-08-23 08:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-23 08:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588204800001,"66":13276,"45":8882576234061086720,"85":15104,"24":0,"16":122521801908551680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-23 08:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588204800001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882576234061086720,"description":"Unknown IO ID 45"} 
[2026-08-23 08:31:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122521801908551680,"km_value":122521801908551.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:31:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457588204800001,"power":13276,"unknown_45":8882576234061086720,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-23 08:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":161513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685309,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:31:17] local.INFO: GPS data processed {"connection_id":161513,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:31:17] local.INFO: Acknowledgment sent {"connection_id":161513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:31:22] local.INFO: TCP Data received {"connection_id":161513,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8e6e58012d7b454005e189c0000000b627..."} 
[2026-08-23 08:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8e6e58012d7b454005e189c0000000b627..."} 
[2026-08-23 08:31:22] local.INFO: Processing buffer {"connection_id":161513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8e6e58012d7b454005e189c0000000b627..."} 
[2026-08-23 08:31:22] local.INFO: Packet analysis {"connection_id":161513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:31:22] local.INFO: Extracted packet for processing {"connection_id":161513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:31:22] local.INFO: GPS Element Parsed {"raw_longitude":763053376,"raw_latitude":98666944,"longitude_deg":76.3053376,"latitude_deg":9.8666944,"altitude":0,"angle":182,"satellites":39,"speed":0,"hex_longitude":"2d7b4540","hex_latitude":"05e189c0","is_valid_coordinates":true} 
[2026-08-23 08:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588205312001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882576234061086720,"note":"Value kept but may cause issues"} 
[2026-08-23 08:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122521801908551680,"note":"Value kept but may cause issues"} 
[2026-08-23 08:31:22] 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-08-23 08:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787453927000,"timestamp_ms":1787453927000,"timestamp_seconds":1787453927,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8e6e58"} 
[2026-08-23 08:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:31: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-08-23 08: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 08:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588205312001,"66":13276,"45":8882576234061086720,"85":15104,"24":0,"16":122521801908551680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-23 08:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588205312001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882576234061086720,"description":"Unknown IO ID 45"} 
[2026-08-23 08:31:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122521801908551680,"km_value":122521801908551.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:31:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457588205312001,"power":13276,"unknown_45":8882576234061086720,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-23 08:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":161513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:31:22] local.INFO: GPS data processed {"connection_id":161513,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:31:22] local.INFO: Acknowledgment sent {"connection_id":161513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:31:26] local.INFO: TCP Data received {"connection_id":160351,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:31:26] local.INFO: Processing buffer {"connection_id":160351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:31:26] local.INFO: Packet analysis {"connection_id":160351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:31:26] local.INFO: Extracted packet for processing {"connection_id":160351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:31:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588123136001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787453907000,"timestamp_ms":1787453907000,"timestamp_seconds":1787453907,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8e2038"} 
[2026-08-23 08:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:31:26] 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-08-23 08: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-08-23 08:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588123136001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588123136001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:31:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:31:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588123136001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":160351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:31:26] local.INFO: GPS data processed {"connection_id":160351,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:31:26] local.INFO: Acknowledgment sent {"connection_id":160351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:31:30] local.INFO: TCP Data received {"connection_id":162927,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:31:30] local.INFO: Processing buffer {"connection_id":162927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:31:30] local.INFO: IMEI packet received {"connection_id":162927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":162927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:31:35] local.INFO: TCP Data received {"connection_id":162927,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:31:35] local.INFO: Processing buffer {"connection_id":162927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:31:35] local.INFO: IMEI packet received {"connection_id":162927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":162927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:31:36] local.INFO: TCP Data received {"connection_id":162927,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8e4b30012d1828c007219d38004c008424..."} 
[2026-08-23 08:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8e4b30012d1828c007219d38004c008424..."} 
[2026-08-23 08:31:36] local.INFO: Processing buffer {"connection_id":162927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8e4b30012d1828c007219d38004c008424..."} 
[2026-08-23 08:31:36] local.INFO: Packet analysis {"connection_id":162927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:31:36] local.INFO: Extracted packet for processing {"connection_id":162927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:31:36] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643448,"longitude_deg":75.6558016,"latitude_deg":11.9643448,"altitude":76,"angle":132,"satellites":36,"speed":0,"hex_longitude":"2d1828c0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-08-23 08:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588197632001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15214182911705088,"note":"Value kept but may cause issues"} 
[2026-08-23 08:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392839952384,"note":"Value kept but may cause issues"} 
[2026-08-23 08:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787453918000,"timestamp_ms":1787453918000,"timestamp_seconds":1787453918,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8e4b30"} 
[2026-08-23 08:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-23 08:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588197632001,"66":13048,"105":206,"83":41984,"24":0,"16":15214182911705088,"45":1740852392839952384},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 08:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588197632001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:31:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 08:31:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15214182911705088,"km_value":15214182911705.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392839952384,"description":"Unknown IO ID 45"} 
[2026-08-23 08:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588197632001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740852392839952384}} 
[2026-08-23 08:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":162927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:31:36] local.INFO: GPS data processed {"connection_id":162927,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:31:36] local.INFO: Acknowledgment sent {"connection_id":162927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:31:52] local.INFO: TCP Data received {"connection_id":160560,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:31:52] local.INFO: Processing buffer {"connection_id":160560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:31:52] local.INFO: IMEI packet received {"connection_id":160560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":160560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:31:57] local.INFO: TCP Data received {"connection_id":160560,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:31:57] local.INFO: Processing buffer {"connection_id":160560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:31:57] local.INFO: IMEI packet received {"connection_id":160560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":160560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:31:58] local.INFO: TCP Data received {"connection_id":160560,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:31:58] local.INFO: Processing buffer {"connection_id":160560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:31:58] local.INFO: Packet analysis {"connection_id":160560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:31:58] local.INFO: Extracted packet for processing {"connection_id":160560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:31:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588123136001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787453907000,"timestamp_ms":1787453907000,"timestamp_seconds":1787453907,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8e2038"} 
[2026-08-23 08:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:31: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-08-23 08:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:31: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-08-23 08:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588123136001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588123136001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:31:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:31:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588123136001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":160560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:31:58] local.INFO: GPS data processed {"connection_id":160560,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:31:58] local.INFO: Acknowledgment sent {"connection_id":160560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:32:02] local.INFO: TCP Data received {"connection_id":161514,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:32:02] local.INFO: Processing buffer {"connection_id":161514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:32:02] local.INFO: IMEI packet received {"connection_id":161514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":161514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:32:02] local.INFO: TCP Data received {"connection_id":161514,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:32:02] local.INFO: Processing buffer {"connection_id":161514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:32:02] local.INFO: IMEI packet received {"connection_id":161514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":161514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:32:02] local.INFO: TCP Data received {"connection_id":160560,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:32:02] local.INFO: Processing buffer {"connection_id":160560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:32:02] local.INFO: Packet analysis {"connection_id":160560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:32:02] local.INFO: Extracted packet for processing {"connection_id":160560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:32:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588123136001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787453907000,"timestamp_ms":1787453907000,"timestamp_seconds":1787453907,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8e2038"} 
[2026-08-23 08:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:32:02] 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-08-23 08:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588123136001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588123136001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:32:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:32:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588123136001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":160560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:32:02] local.INFO: GPS data processed {"connection_id":160560,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:32:02] local.INFO: Acknowledgment sent {"connection_id":160560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:32:07] local.INFO: TCP Data received {"connection_id":161514,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:32:07] local.INFO: Processing buffer {"connection_id":161514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:32:07] local.INFO: IMEI packet received {"connection_id":161514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":161514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:32:07] local.INFO: TCP Data received {"connection_id":161514,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c910e38012d7b458005e189e0000000b61c..."} 
[2026-08-23 08:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c910e38012d7b458005e189e0000000b61c..."} 
[2026-08-23 08:32:07] local.INFO: Processing buffer {"connection_id":161514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c910e38012d7b458005e189e0000000b61c..."} 
[2026-08-23 08:32:07] local.INFO: Packet analysis {"connection_id":161514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c91"} 
[2026-08-23 08:32:07] local.INFO: Extracted packet for processing {"connection_id":161514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c91"} 
[2026-08-23 08:32:07] local.INFO: GPS Element Parsed {"raw_longitude":763053440,"raw_latitude":98666976,"longitude_deg":76.305344,"latitude_deg":9.8666976,"altitude":0,"angle":182,"satellites":28,"speed":0,"hex_longitude":"2d7b4580","hex_latitude":"05e189e0","is_valid_coordinates":true} 
[2026-08-23 08:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588205312001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882576234061086720,"note":"Value kept but may cause issues"} 
[2026-08-23 08:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122521801908551680,"note":"Value kept but may cause issues"} 
[2026-08-23 08:32:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 08:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787454099000,"timestamp_ms":1787454099000,"timestamp_seconds":1787454099,"priority":1,"record_length":96,"hex_timestamp":"000001a02c910e38"} 
[2026-08-23 08:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 08:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588205312001,"66":2231,"45":8882576234061086720,"85":15104,"24":0,"16":122521801908551680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-23 08:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588205312001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882576234061086720,"description":"Unknown IO ID 45"} 
[2026-08-23 08:32:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122521801908551680,"km_value":122521801908551.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:32:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457588205312001,"power":2231,"unknown_45":8882576234061086720,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-23 08:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":161514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:32:07] local.INFO: GPS data processed {"connection_id":161514,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:32:07] local.INFO: Acknowledgment sent {"connection_id":161514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:32:08] local.INFO: TCP Data received {"connection_id":162927,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c90c7e8012d18c240072155380046009727..."} 
[2026-08-23 08:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c90c7e8012d18c240072155380046009727..."} 
[2026-08-23 08:32:08] local.INFO: Processing buffer {"connection_id":162927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c90c7e8012d18c240072155380046009727..."} 
[2026-08-23 08:32:08] local.INFO: Packet analysis {"connection_id":162927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c90"} 
[2026-08-23 08:32:08] local.INFO: Extracted packet for processing {"connection_id":162927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c90"} 
[2026-08-23 08:32:08] local.INFO: GPS Element Parsed {"raw_longitude":756597312,"raw_latitude":119625016,"longitude_deg":75.6597312,"latitude_deg":11.9625016,"altitude":70,"angle":151,"satellites":39,"speed":41,"hex_longitude":"2d18c240","hex_latitude":"07215538","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588244736001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15216351870189568,"note":"Value kept but may cause issues"} 
[2026-08-23 08:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784058801760319488,"note":"Value kept but may cause issues"} 
[2026-08-23 08:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787454081000,"timestamp_ms":1787454081000,"timestamp_seconds":1787454081,"priority":1,"record_length":96,"hex_timestamp":"000001a02c90c7e8"} 
[2026-08-23 08:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 08:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588244736001,"66":13015,"106":206,"83":41984,"24":41,"16":15216351870189568,"45":1784058801760319488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 08:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588244736001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:32:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 08:32:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15216351870189568,"km_value":15216351870189.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784058801760319488,"description":"Unknown IO ID 45"} 
[2026-08-23 08:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588244736001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1784058801760319488}} 
[2026-08-23 08:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":162927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:32:08] local.INFO: GPS data processed {"connection_id":162927,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:32:08] local.INFO: Acknowledgment sent {"connection_id":162927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:32:30] local.INFO: TCP Data received {"connection_id":162928,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:32:30] local.INFO: Processing buffer {"connection_id":162928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:32:30] local.INFO: IMEI packet received {"connection_id":162928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":162928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:32:35] local.INFO: TCP Data received {"connection_id":162928,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:32:35] local.INFO: Processing buffer {"connection_id":162928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:32:35] local.INFO: IMEI packet received {"connection_id":162928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":162928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:32:36] local.INFO: TCP Data received {"connection_id":162928,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c90cfb8012d18c48007214d88004500aa26..."} 
[2026-08-23 08:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c90cfb8012d18c48007214d88004500aa26..."} 
[2026-08-23 08:32:36] local.INFO: Processing buffer {"connection_id":162928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c90cfb8012d18c48007214d88004500aa26..."} 
[2026-08-23 08:32:36] local.INFO: Packet analysis {"connection_id":162928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c90"} 
[2026-08-23 08:32:36] local.INFO: Extracted packet for processing {"connection_id":162928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c90"} 
[2026-08-23 08:32:36] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119623048,"longitude_deg":75.6597888,"latitude_deg":11.9623048,"altitude":69,"angle":170,"satellites":38,"speed":41,"hex_longitude":"2d18c480","hex_latitude":"07214d88","is_valid_coordinates":true} 
[2026-08-23 08:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588244736001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15216450654437376,"note":"Value kept but may cause issues"} 
[2026-08-23 08:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784058801760319488,"note":"Value kept but may cause issues"} 
[2026-08-23 08:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787454083000,"timestamp_ms":1787454083000,"timestamp_seconds":1787454083,"priority":1,"record_length":96,"hex_timestamp":"000001a02c90cfb8"} 
[2026-08-23 08:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 08:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588244736001,"66":13015,"106":206,"83":41984,"24":41,"16":15216450654437376,"45":1784058801760319488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 08:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588244736001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:32:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 08:32:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15216450654437376,"km_value":15216450654437.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784058801760319488,"description":"Unknown IO ID 45"} 
[2026-08-23 08:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588244736001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1784058801760319488}} 
[2026-08-23 08:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":162928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:32:36] local.INFO: GPS data processed {"connection_id":162928,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:32:36] local.INFO: Acknowledgment sent {"connection_id":162928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:32:39] local.INFO: TCP Data received {"connection_id":161514,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c910e38012d7b458005e189e0000000b61c..."} 
[2026-08-23 08:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c910e38012d7b458005e189e0000000b61c..."} 
[2026-08-23 08:32:39] local.INFO: Processing buffer {"connection_id":161514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c910e38012d7b458005e189e0000000b61c..."} 
[2026-08-23 08:32:39] local.INFO: Packet analysis {"connection_id":161514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c91"} 
[2026-08-23 08:32:39] local.INFO: Extracted packet for processing {"connection_id":161514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c91"} 
[2026-08-23 08:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763053440,"raw_latitude":98666976,"longitude_deg":76.305344,"latitude_deg":9.8666976,"altitude":0,"angle":182,"satellites":28,"speed":0,"hex_longitude":"2d7b4580","hex_latitude":"05e189e0","is_valid_coordinates":true} 
[2026-08-23 08:32:39] 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-08-23 08:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588249344001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882646602805272576,"note":"Value kept but may cause issues"} 
[2026-08-23 08:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122521801908551680,"note":"Value kept but may cause issues"} 
[2026-08-23 08:32: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-08-23 08:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787454099000,"timestamp_ms":1787454099000,"timestamp_seconds":1787454099,"priority":1,"record_length":96,"hex_timestamp":"000001a02c910e38"} 
[2026-08-23 08:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 08:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588249344001,"66":2231,"45":8882646602805272576,"85":15104,"24":0,"16":122521801908551680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-23 08:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588249344001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882646602805272576,"description":"Unknown IO ID 45"} 
[2026-08-23 08:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122521801908551680,"km_value":122521801908551.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:32:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457588249344001,"power":2231,"unknown_45":8882646602805272576,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-23 08:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":161514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:32:39] local.INFO: GPS data processed {"connection_id":161514,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:32:39] local.INFO: Acknowledgment sent {"connection_id":161514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:32:47] local.INFO: TCP Data received {"connection_id":160352,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:32:47] local.INFO: Processing buffer {"connection_id":160352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:32:47] local.INFO: IMEI packet received {"connection_id":160352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":160352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:32:52] local.INFO: TCP Data received {"connection_id":160352,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:32:52] local.INFO: Processing buffer {"connection_id":160352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:32:52] local.INFO: IMEI packet received {"connection_id":160352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":160352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:32:52] local.INFO: TCP Data received {"connection_id":160352,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:32:52] local.INFO: Processing buffer {"connection_id":160352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:32:52] local.INFO: Packet analysis {"connection_id":160352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:32:52] local.INFO: Extracted packet for processing {"connection_id":160352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:32:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588123136001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787453907000,"timestamp_ms":1787453907000,"timestamp_seconds":1787453907,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8e2038"} 
[2026-08-23 08:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:32:52] 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-08-23 08:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:32:52] 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-08-23 08:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588123136001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588123136001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:32:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:32:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588123136001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":160352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:32:52] local.INFO: GPS data processed {"connection_id":160352,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:32:52] local.INFO: Acknowledgment sent {"connection_id":160352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:33:06] local.INFO: TCP Data received {"connection_id":162929,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:33:06] local.INFO: Processing buffer {"connection_id":162929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:33:06] local.INFO: IMEI packet received {"connection_id":162929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":162929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:33:07] local.INFO: TCP Data received {"connection_id":162928,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c90e340012d18c880072139f00042009726..."} 
[2026-08-23 08:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c90e340012d18c880072139f00042009726..."} 
[2026-08-23 08:33:07] local.INFO: Processing buffer {"connection_id":162928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c90e340012d18c880072139f00042009726..."} 
[2026-08-23 08:33:07] local.INFO: Packet analysis {"connection_id":162928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c90"} 
[2026-08-23 08:33:07] local.INFO: Extracted packet for processing {"connection_id":162928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c90"} 
[2026-08-23 08:33:07] local.INFO: GPS Element Parsed {"raw_longitude":756598912,"raw_latitude":119618032,"longitude_deg":75.6598912,"latitude_deg":11.9618032,"altitude":66,"angle":151,"satellites":38,"speed":40,"hex_longitude":"2d18c880","hex_latitude":"072139f0","is_valid_coordinates":true} 
[2026-08-23 08:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588245248001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15216699762540544,"note":"Value kept but may cause issues"} 
[2026-08-23 08:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120457414656,"note":"Value kept but may cause issues"} 
[2026-08-23 08:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787454088000,"timestamp_ms":1787454088000,"timestamp_seconds":1787454088,"priority":1,"record_length":96,"hex_timestamp":"000001a02c90e340"} 
[2026-08-23 08:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 08:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588245248001,"66":13015,"106":206,"83":41984,"24":40,"16":15216699762540544,"45":1784692120457414656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 08:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588245248001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:33:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 08:33:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15216699762540544,"km_value":15216699762540.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120457414656,"description":"Unknown IO ID 45"} 
[2026-08-23 08:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588245248001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1784692120457414656}} 
[2026-08-23 08:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":162928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:33:07] local.INFO: GPS data processed {"connection_id":162928,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:33:07] local.INFO: Acknowledgment sent {"connection_id":162928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:33:08] local.INFO: TCP Data received {"connection_id":162929,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:33:08] local.INFO: Processing buffer {"connection_id":162929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:33:08] local.INFO: IMEI packet received {"connection_id":162929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":162929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:33:12] local.INFO: TCP Data received {"connection_id":162929,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:33:12] local.INFO: Processing buffer {"connection_id":162929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:33:12] local.INFO: IMEI packet received {"connection_id":162929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":162929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:33:13] local.INFO: TCP Data received {"connection_id":162929,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c910e38012d7b458005e189e0000000b61c..."} 
[2026-08-23 08:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c910e38012d7b458005e189e0000000b61c..."} 
[2026-08-23 08:33:13] local.INFO: Processing buffer {"connection_id":162929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c910e38012d7b458005e189e0000000b61c..."} 
[2026-08-23 08:33:13] local.INFO: Packet analysis {"connection_id":162929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c91"} 
[2026-08-23 08:33:13] local.INFO: Extracted packet for processing {"connection_id":162929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c91"} 
[2026-08-23 08:33:13] local.INFO: GPS Element Parsed {"raw_longitude":763053440,"raw_latitude":98666976,"longitude_deg":76.305344,"latitude_deg":9.8666976,"altitude":0,"angle":182,"satellites":28,"speed":0,"hex_longitude":"2d7b4580","hex_latitude":"05e189e0","is_valid_coordinates":true} 
[2026-08-23 08:33: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-08-23 08:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588249344001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882646602805272576,"note":"Value kept but may cause issues"} 
[2026-08-23 08:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122521801908551680,"note":"Value kept but may cause issues"} 
[2026-08-23 08:33:13] 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-08-23 08:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787454099000,"timestamp_ms":1787454099000,"timestamp_seconds":1787454099,"priority":1,"record_length":96,"hex_timestamp":"000001a02c910e38"} 
[2026-08-23 08:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 08:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588249344001,"66":2231,"45":8882646602805272576,"85":15104,"24":0,"16":122521801908551680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-23 08:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588249344001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882646602805272576,"description":"Unknown IO ID 45"} 
[2026-08-23 08:33:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122521801908551680,"km_value":122521801908551.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:33:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457588249344001,"power":2231,"unknown_45":8882646602805272576,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-23 08:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":162929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:33:13] local.INFO: GPS data processed {"connection_id":162929,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:33:13] local.INFO: Acknowledgment sent {"connection_id":162929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:33:24] local.INFO: TCP Data received {"connection_id":160352,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:33:24] local.INFO: Processing buffer {"connection_id":160352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:33:24] local.INFO: Packet analysis {"connection_id":160352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:33:24] local.INFO: Extracted packet for processing {"connection_id":160352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:33:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588123136001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787453907000,"timestamp_ms":1787453907000,"timestamp_seconds":1787453907,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8e2038"} 
[2026-08-23 08:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:33: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-08-23 08:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:33:24] 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-08-23 08:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:33:24] 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-08-23 08:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588123136001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588123136001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:33:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:33:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588123136001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":160352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:33:24] local.INFO: GPS data processed {"connection_id":160352,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:33:24] local.INFO: Acknowledgment sent {"connection_id":160352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:33:30] local.INFO: TCP Data received {"connection_id":162930,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:33:30] local.INFO: Processing buffer {"connection_id":162930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:33:30] local.INFO: IMEI packet received {"connection_id":162930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":162930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:33:33] local.INFO: TCP Data received {"connection_id":162930,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:33:33] local.INFO: Processing buffer {"connection_id":162930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:33:33] local.INFO: IMEI packet received {"connection_id":162930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":162930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:33:35] local.INFO: TCP Data received {"connection_id":162930,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:33:35] local.INFO: Processing buffer {"connection_id":162930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:33:35] local.INFO: IMEI packet received {"connection_id":162930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":162930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:33:36] local.INFO: TCP Data received {"connection_id":162930,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c90fe98012d18d280072127c8004000a725..."} 
[2026-08-23 08:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c90fe98012d18d280072127c8004000a725..."} 
[2026-08-23 08:33:36] local.INFO: Processing buffer {"connection_id":162930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c90fe98012d18d280072127c8004000a725..."} 
[2026-08-23 08:33:36] local.INFO: Packet analysis {"connection_id":162930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c90"} 
[2026-08-23 08:33:36] local.INFO: Extracted packet for processing {"connection_id":162930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c90"} 
[2026-08-23 08:33:36] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119613384,"longitude_deg":75.6601472,"latitude_deg":11.9613384,"altitude":64,"angle":167,"satellites":37,"speed":12,"hex_longitude":"2d18d280","hex_latitude":"072127c8","is_valid_coordinates":true} 
[2026-08-23 08:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588246528001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15216961755545600,"note":"Value kept but may cause issues"} 
[2026-08-23 08:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785818020362973184,"note":"Value kept but may cause issues"} 
[2026-08-23 08:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787454095000,"timestamp_ms":1787454095000,"timestamp_seconds":1787454095,"priority":1,"record_length":96,"hex_timestamp":"000001a02c90fe98"} 
[2026-08-23 08:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 08:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588246528001,"66":12993,"106":206,"83":41984,"24":12,"16":15216961755545600,"45":1785818020362973184},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 08:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588246528001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:33:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 08:33:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15216961755545600,"km_value":15216961755545.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785818020362973184,"description":"Unknown IO ID 45"} 
[2026-08-23 08:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588246528001,"power":12993,"unknown_106":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1785818020362973184}} 
[2026-08-23 08:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":162930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:33:36] local.INFO: GPS data processed {"connection_id":162930,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:33:36] local.INFO: Acknowledgment sent {"connection_id":162930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:33:44] local.INFO: TCP Data received {"connection_id":162929,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c910e38012d7b458005e189e0000000b61c..."} 
[2026-08-23 08:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c910e38012d7b458005e189e0000000b61c..."} 
[2026-08-23 08:33:44] local.INFO: Processing buffer {"connection_id":162929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c910e38012d7b458005e189e0000000b61c..."} 
[2026-08-23 08:33:44] local.INFO: Packet analysis {"connection_id":162929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c91"} 
[2026-08-23 08:33:44] local.INFO: Extracted packet for processing {"connection_id":162929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c91"} 
[2026-08-23 08:33:44] local.INFO: GPS Element Parsed {"raw_longitude":763053440,"raw_latitude":98666976,"longitude_deg":76.305344,"latitude_deg":9.8666976,"altitude":0,"angle":182,"satellites":28,"speed":0,"hex_longitude":"2d7b4580","hex_latitude":"05e189e0","is_valid_coordinates":true} 
[2026-08-23 08:33: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-08-23 08:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588249344001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882646602805272576,"note":"Value kept but may cause issues"} 
[2026-08-23 08:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122521801908551680,"note":"Value kept but may cause issues"} 
[2026-08-23 08:33:44] 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-08-23 08:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787454099000,"timestamp_ms":1787454099000,"timestamp_seconds":1787454099,"priority":1,"record_length":96,"hex_timestamp":"000001a02c910e38"} 
[2026-08-23 08:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 08:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588249344001,"66":2231,"45":8882646602805272576,"85":15104,"24":0,"16":122521801908551680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-23 08:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588249344001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882646602805272576,"description":"Unknown IO ID 45"} 
[2026-08-23 08:33:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122521801908551680,"km_value":122521801908551.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:33:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457588249344001,"power":2231,"unknown_45":8882646602805272576,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-23 08:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":162929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:33:44] local.INFO: GPS data processed {"connection_id":162929,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:33:44] local.INFO: Acknowledgment sent {"connection_id":162929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:33:47] local.INFO: TCP Data received {"connection_id":160353,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:33:47] local.INFO: Processing buffer {"connection_id":160353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:33:47] local.INFO: IMEI packet received {"connection_id":160353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":160353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:33:52] local.INFO: TCP Data received {"connection_id":160353,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:33:52] local.INFO: Processing buffer {"connection_id":160353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:33:52] local.INFO: IMEI packet received {"connection_id":160353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":160353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:33:52] local.INFO: TCP Data received {"connection_id":160353,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:33:52] local.INFO: Processing buffer {"connection_id":160353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c8e2038012d34c50006aa4098000e008521..."} 
[2026-08-23 08:33:52] local.INFO: Packet analysis {"connection_id":160353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:33:52] local.INFO: Extracted packet for processing {"connection_id":160353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c8e"} 
[2026-08-23 08:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588123136001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787453907000,"timestamp_ms":1787453907000,"timestamp_seconds":1787453907,"priority":1,"record_length":96,"hex_timestamp":"000001a02c8e2038"} 
[2026-08-23 08:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:33:52] 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-08-23 08:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:33:52] 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-08-23 08:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588123136001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588123136001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:33:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:33:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588123136001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":160353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:33:52] local.INFO: GPS data processed {"connection_id":160353,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:33:52] local.INFO: Acknowledgment sent {"connection_id":160353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:34:06] local.INFO: TCP Data received {"connection_id":162931,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:34:06] local.INFO: Processing buffer {"connection_id":162931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:34:06] local.INFO: IMEI packet received {"connection_id":162931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":162931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:34:07] local.INFO: TCP Data received {"connection_id":162930,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c928920012d198f400720b4500032005e23..."} 
[2026-08-23 08:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c928920012d198f400720b4500032005e23..."} 
[2026-08-23 08:34:07] local.INFO: Processing buffer {"connection_id":162930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c928920012d198f400720b4500032005e23..."} 
[2026-08-23 08:34:07] local.INFO: Packet analysis {"connection_id":162930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:34:07] local.INFO: Extracted packet for processing {"connection_id":162930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756649792,"raw_latitude":119583824,"longitude_deg":75.6649792,"latitude_deg":11.9583824,"altitude":50,"angle":94,"satellites":35,"speed":31,"hex_longitude":"2d198f40","hex_latitude":"0720b450","is_valid_coordinates":true} 
[2026-08-23 08:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588271360001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15220092786704384,"note":"Value kept but may cause issues"} 
[2026-08-23 08:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597836716032,"note":"Value kept but may cause issues"} 
[2026-08-23 08:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787454196000,"timestamp_ms":1787454196000,"timestamp_seconds":1787454196,"priority":1,"record_length":96,"hex_timestamp":"000001a02c928920"} 
[2026-08-23 08:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-23 08:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588271360001,"66":14396,"103":206,"83":41984,"24":31,"16":15220092786704384,"45":1831346597836716032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 08:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588271360001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:34:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 08:34:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15220092786704384,"km_value":15220092786704.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597836716032,"description":"Unknown IO ID 45"} 
[2026-08-23 08:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588271360001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1831346597836716032}} 
[2026-08-23 08:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":162930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:34:08] local.INFO: GPS data processed {"connection_id":162930,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:34:08] local.INFO: Acknowledgment sent {"connection_id":162930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:34:12] local.INFO: TCP Data received {"connection_id":162931,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:34:12] local.INFO: Processing buffer {"connection_id":162931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:34:12] local.INFO: IMEI packet received {"connection_id":162931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":162931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:34:13] local.INFO: TCP Data received {"connection_id":162931,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c916040012d7b450005e18268000400b324..."} 
[2026-08-23 08:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c916040012d7b450005e18268000400b324..."} 
[2026-08-23 08:34:13] local.INFO: Processing buffer {"connection_id":162931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c916040012d7b450005e18268000400b324..."} 
[2026-08-23 08:34:13] local.INFO: Packet analysis {"connection_id":162931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c91"} 
[2026-08-23 08:34:13] local.INFO: Extracted packet for processing {"connection_id":162931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c91"} 
[2026-08-23 08:34:13] local.INFO: GPS Element Parsed {"raw_longitude":763053312,"raw_latitude":98665064,"longitude_deg":76.3053312,"latitude_deg":9.8665064,"altitude":4,"angle":179,"satellites":36,"speed":17,"hex_longitude":"2d7b4500","hex_latitude":"05e18268","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588249344001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882646602805272576,"note":"Value kept but may cause issues"} 
[2026-08-23 08:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122521896397832192,"note":"Value kept but may cause issues"} 
[2026-08-23 08:34:13] 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-08-23 08:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787454120000,"timestamp_ms":1787454120000,"timestamp_seconds":1787454120,"priority":1,"record_length":96,"hex_timestamp":"000001a02c916040"} 
[2026-08-23 08:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 08:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588249344001,"66":12004,"45":8882646602805272576,"85":15104,"24":17,"16":122521896397832192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-23 08:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588249344001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882646602805272576,"description":"Unknown IO ID 45"} 
[2026-08-23 08:34:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122521896397832192,"km_value":122521896397832.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:34:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457588249344001,"power":12004,"unknown_45":8882646602805272576,"unknown_85":15104,"ignition":17,"odometer":null}} 
[2026-08-23 08:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":162931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:34:13] local.INFO: GPS data processed {"connection_id":162931,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:34:13] local.INFO: Acknowledgment sent {"connection_id":162931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:34:24] local.INFO: TCP Data received {"connection_id":160353,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:34:24] local.INFO: Processing buffer {"connection_id":160353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:34:24] local.INFO: Packet analysis {"connection_id":160353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:34:24] local.INFO: Extracted packet for processing {"connection_id":160353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:34:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588200192001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787454208000,"timestamp_ms":1787454208000,"timestamp_seconds":1787454208,"priority":1,"record_length":96,"hex_timestamp":"000001a02c92b800"} 
[2026-08-23 08:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:34: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-08-23 08:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:34:24] 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-08-23 08:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:34:24] 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-08-23 08:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588200192001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588200192001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:34:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:34:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588200192001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":160353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:34:24] local.INFO: GPS data processed {"connection_id":160353,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:34:24] local.INFO: Acknowledgment sent {"connection_id":160353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:34:30] local.INFO: TCP Data received {"connection_id":162932,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:34:30] local.INFO: Processing buffer {"connection_id":162932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:34:30] local.INFO: IMEI packet received {"connection_id":162932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":162932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:34:31] local.INFO: TCP Data received {"connection_id":162932,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:34:31] local.INFO: Processing buffer {"connection_id":162932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:34:31] local.INFO: IMEI packet received {"connection_id":162932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":162932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:34:34] local.INFO: TCP Data received {"connection_id":162932,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:34:34] local.INFO: Processing buffer {"connection_id":162932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:34:34] local.INFO: IMEI packet received {"connection_id":162932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":162932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:34:35] local.INFO: TCP Data received {"connection_id":162932,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:34:35] local.INFO: Processing buffer {"connection_id":162932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:34:35] local.INFO: IMEI packet received {"connection_id":162932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":162932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:34:36] local.INFO: TCP Data received {"connection_id":162932,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c928920012d198f400720b4500032005e23..."} 
[2026-08-23 08:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c928920012d198f400720b4500032005e23..."} 
[2026-08-23 08:34:36] local.INFO: Processing buffer {"connection_id":162932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c928920012d198f400720b4500032005e23..."} 
[2026-08-23 08:34:36] local.INFO: Packet analysis {"connection_id":162932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:34:36] local.INFO: Extracted packet for processing {"connection_id":162932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756649792,"raw_latitude":119583824,"longitude_deg":75.6649792,"latitude_deg":11.9583824,"altitude":50,"angle":94,"satellites":35,"speed":31,"hex_longitude":"2d198f40","hex_latitude":"0720b450","is_valid_coordinates":true} 
[2026-08-23 08:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588274176001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15220092786704384,"note":"Value kept but may cause issues"} 
[2026-08-23 08:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841761171975458816,"note":"Value kept but may cause issues"} 
[2026-08-23 08:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787454196000,"timestamp_ms":1787454196000,"timestamp_seconds":1787454196,"priority":1,"record_length":96,"hex_timestamp":"000001a02c928920"} 
[2026-08-23 08:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-23 08:34:36] 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-08-23 08:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588274176001,"66":14396,"103":206,"83":41984,"24":31,"16":15220092786704384,"45":1841761171975458816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 08:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588274176001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:34:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 08:34:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15220092786704384,"km_value":15220092786704.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841761171975458816,"description":"Unknown IO ID 45"} 
[2026-08-23 08:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588274176001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1841761171975458816}} 
[2026-08-23 08:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":162932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:34:36] local.INFO: GPS data processed {"connection_id":162932,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:34:36] local.INFO: Acknowledgment sent {"connection_id":162932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:34:40] local.INFO: TCP Data received {"connection_id":162932,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c92ac48012d19ad400720b0a80032006e24..."} 
[2026-08-23 08:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c92ac48012d19ad400720b0a80032006e24..."} 
[2026-08-23 08:34:40] local.INFO: Processing buffer {"connection_id":162932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c92ac48012d19ad400720b0a80032006e24..."} 
[2026-08-23 08:34:40] local.INFO: Packet analysis {"connection_id":162932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:34:40] local.INFO: Extracted packet for processing {"connection_id":162932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:34:40] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119582888,"longitude_deg":75.6657472,"latitude_deg":11.9582888,"altitude":50,"angle":110,"satellites":36,"speed":34,"hex_longitude":"2d19ad40","hex_latitude":"0720b0a8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588274176001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15220462153891840,"note":"Value kept but may cause issues"} 
[2026-08-23 08:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841761171975458816,"note":"Value kept but may cause issues"} 
[2026-08-23 08:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787454205000,"timestamp_ms":1787454205000,"timestamp_seconds":1787454205,"priority":1,"record_length":96,"hex_timestamp":"000001a02c92ac48"} 
[2026-08-23 08:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08: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-08-23 08: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-08-23 08:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":162932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":162932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":162932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588274176001,"66":14396,"103":206,"83":41984,"24":34,"16":15220462153891840,"45":1841761171975458816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 08:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588274176001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:34:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 08:34:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15220462153891840,"km_value":15220462153891.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841761171975458816,"description":"Unknown IO ID 45"} 
[2026-08-23 08:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588274176001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1841761171975458816}} 
[2026-08-23 08:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":162932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:34:41] local.INFO: GPS data processed {"connection_id":162932,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:34:41] local.INFO: Acknowledgment sent {"connection_id":162932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:34:44] local.INFO: TCP Data received {"connection_id":162931,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c93ae18012d7b678005e0ba98000000c621..."} 
[2026-08-23 08:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c93ae18012d7b678005e0ba98000000c621..."} 
[2026-08-23 08:34:44] local.INFO: Processing buffer {"connection_id":162931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c93ae18012d7b678005e0ba98000000c621..."} 
[2026-08-23 08:34:44] local.INFO: Packet analysis {"connection_id":162931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c93"} 
[2026-08-23 08:34:44] local.INFO: Extracted packet for processing {"connection_id":162931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c93"} 
[2026-08-23 08:34:44] local.INFO: GPS Element Parsed {"raw_longitude":763062144,"raw_latitude":98613912,"longitude_deg":76.3062144,"latitude_deg":9.8613912,"altitude":0,"angle":198,"satellites":33,"speed":3,"hex_longitude":"2d7b6780","hex_latitude":"05e0ba98","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588293120001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122524421838602240,"note":"Value kept but may cause issues"} 
[2026-08-23 08:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892146383255697408,"note":"Value kept but may cause issues"} 
[2026-08-23 08:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787454271000,"timestamp_ms":1787454271000,"timestamp_seconds":1787454271,"priority":1,"record_length":96,"hex_timestamp":"000001a02c93ae18"} 
[2026-08-23 08:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 08:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588293120001,"66":11471,"217":206,"85":15104,"24":3,"16":122524421838602240,"45":8892146383255697408},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-23 08:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588293120001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:34:44] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 08:34:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122524421838602240,"km_value":122524421838602.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892146383255697408,"description":"Unknown IO ID 45"} 
[2026-08-23 08:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588293120001,"power":11471,"unknown_217":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8892146383255697408}} 
[2026-08-23 08:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":162931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:34:44] local.INFO: GPS data processed {"connection_id":162931,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:34:44] local.INFO: Acknowledgment sent {"connection_id":162931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:34:46] local.INFO: TCP Data received {"connection_id":162933,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:34:46] local.INFO: Processing buffer {"connection_id":162933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:34:46] local.INFO: IMEI packet received {"connection_id":162933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":162933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:34:52] local.INFO: TCP Data received {"connection_id":162933,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:34:52] local.INFO: Processing buffer {"connection_id":162933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:34:52] local.INFO: IMEI packet received {"connection_id":162933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":162933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:34:52] local.INFO: TCP Data received {"connection_id":162933,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:34:52] local.INFO: Processing buffer {"connection_id":162933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:34:52] local.INFO: Packet analysis {"connection_id":162933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:34:52] local.INFO: Extracted packet for processing {"connection_id":162933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588200192001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787454208000,"timestamp_ms":1787454208000,"timestamp_seconds":1787454208,"priority":1,"record_length":96,"hex_timestamp":"000001a02c92b800"} 
[2026-08-23 08:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:34:52] 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-08-23 08: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-08-23 08:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:34:52] 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-08-23 08:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588200192001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588200192001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:34:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588200192001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":162933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:34:52] local.INFO: GPS data processed {"connection_id":162933,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:34:52] local.INFO: Acknowledgment sent {"connection_id":162933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:35:06] local.INFO: TCP Data received {"connection_id":160354,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:35:06] local.INFO: Processing buffer {"connection_id":160354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:35:06] local.INFO: IMEI packet received {"connection_id":160354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":160354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:35:07] local.INFO: TCP Data received {"connection_id":160354,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:35:07] local.INFO: Processing buffer {"connection_id":160354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:35:07] local.INFO: IMEI packet received {"connection_id":160354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":160354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:35:12] local.INFO: TCP Data received {"connection_id":160354,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:35:12] local.INFO: Processing buffer {"connection_id":160354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:35:12] local.INFO: IMEI packet received {"connection_id":160354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":160354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:35:12] local.INFO: TCP Data received {"connection_id":162932,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c938708012d19cc4007201ac00021009427..."} 
[2026-08-23 08:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c938708012d19cc4007201ac00021009427..."} 
[2026-08-23 08:35:12] local.INFO: Processing buffer {"connection_id":162932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c938708012d19cc4007201ac00021009427..."} 
[2026-08-23 08:35:12] local.INFO: Packet analysis {"connection_id":162932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c93"} 
[2026-08-23 08:35:12] local.INFO: Extracted packet for processing {"connection_id":162932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c93"} 
[2026-08-23 08:35:12] local.INFO: GPS Element Parsed {"raw_longitude":756665408,"raw_latitude":119544512,"longitude_deg":75.6665408,"latitude_deg":11.9544512,"altitude":33,"angle":148,"satellites":39,"speed":28,"hex_longitude":"2d19cc40","hex_latitude":"07201ac0","is_valid_coordinates":true} 
[2026-08-23 08:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588290816001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15222545213030400,"note":"Value kept but may cause issues"} 
[2026-08-23 08:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858931145544744960,"note":"Value kept but may cause issues"} 
[2026-08-23 08:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787454261000,"timestamp_ms":1787454261000,"timestamp_seconds":1787454261,"priority":1,"record_length":96,"hex_timestamp":"000001a02c938708"} 
[2026-08-23 08:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-23 08:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588290816001,"66":14483,"101":206,"83":41984,"24":28,"16":15222545213030400,"45":1858931145544744960},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 08:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588290816001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:35:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 08:35:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15222545213030400,"km_value":15222545213030.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858931145544744960,"description":"Unknown IO ID 45"} 
[2026-08-23 08:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588290816001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1858931145544744960}} 
[2026-08-23 08:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":162932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:35:12] local.INFO: GPS data processed {"connection_id":162932,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:35:12] local.INFO: Acknowledgment sent {"connection_id":162932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:35:13] local.INFO: TCP Data received {"connection_id":160354,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c93b200012d7b678005e0ba10000000ba20..."} 
[2026-08-23 08:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c93b200012d7b678005e0ba10000000ba20..."} 
[2026-08-23 08:35:13] local.INFO: Processing buffer {"connection_id":160354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c93b200012d7b678005e0ba10000000ba20..."} 
[2026-08-23 08:35:13] local.INFO: Packet analysis {"connection_id":160354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c93"} 
[2026-08-23 08:35:13] local.INFO: Extracted packet for processing {"connection_id":160354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c93"} 
[2026-08-23 08:35:13] local.INFO: GPS Element Parsed {"raw_longitude":763062144,"raw_latitude":98613776,"longitude_deg":76.3062144,"latitude_deg":9.8613776,"altitude":0,"angle":186,"satellites":32,"speed":3,"hex_longitude":"2d7b6780","hex_latitude":"05e0ba10","is_valid_coordinates":true} 
[2026-08-23 08:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588293376001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122524426133569536,"note":"Value kept but may cause issues"} 
[2026-08-23 08:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892216751999850496,"note":"Value kept but may cause issues"} 
[2026-08-23 08:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787454272000,"timestamp_ms":1787454272000,"timestamp_seconds":1787454272,"priority":1,"record_length":96,"hex_timestamp":"000001a02c93b200"} 
[2026-08-23 08:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 08:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588293376001,"66":11471,"217":206,"85":15104,"24":3,"16":122524426133569536,"45":8892216751999850496},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-23 08:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588293376001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:35:13] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 08:35:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122524426133569536,"km_value":122524426133569.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892216751999850496,"description":"Unknown IO ID 45"} 
[2026-08-23 08:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588293376001,"power":11471,"unknown_217":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8892216751999850496}} 
[2026-08-23 08:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":160354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:35:13] local.INFO: GPS data processed {"connection_id":160354,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:35:13] local.INFO: Acknowledgment sent {"connection_id":160354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:35:24] local.INFO: TCP Data received {"connection_id":162933,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:35:24] local.INFO: Processing buffer {"connection_id":162933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:35:24] local.INFO: Packet analysis {"connection_id":162933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:35:24] local.INFO: Extracted packet for processing {"connection_id":162933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588200192001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787454208000,"timestamp_ms":1787454208000,"timestamp_seconds":1787454208,"priority":1,"record_length":96,"hex_timestamp":"000001a02c92b800"} 
[2026-08-23 08:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:35: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-08-23 08:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:35:24] 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-08-23 08:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:35:24] 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-08-23 08:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588200192001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588200192001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:35:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588200192001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":162933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:35:24] local.INFO: GPS data processed {"connection_id":162933,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:35:24] local.INFO: Acknowledgment sent {"connection_id":162933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:35:30] local.INFO: TCP Data received {"connection_id":162934,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:35:30] local.INFO: Processing buffer {"connection_id":162934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:35:30] local.INFO: IMEI packet received {"connection_id":162934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":162934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:35:35] local.INFO: TCP Data received {"connection_id":162934,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:35:35] local.INFO: Processing buffer {"connection_id":162934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:35:35] local.INFO: IMEI packet received {"connection_id":162934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":162934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:35:36] local.INFO: TCP Data received {"connection_id":162934,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9392c0012d19d140072014780021008627..."} 
[2026-08-23 08:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9392c0012d19d140072014780021008627..."} 
[2026-08-23 08:35:36] local.INFO: Processing buffer {"connection_id":162934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9392c0012d19d140072014780021008627..."} 
[2026-08-23 08:35:36] local.INFO: Packet analysis {"connection_id":162934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c93"} 
[2026-08-23 08:35:36] local.INFO: Extracted packet for processing {"connection_id":162934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c93"} 
[2026-08-23 08:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756666688,"raw_latitude":119542904,"longitude_deg":75.6666688,"latitude_deg":11.9542904,"altitude":33,"angle":134,"satellites":39,"speed":26,"hex_longitude":"2d19d140","hex_latitude":"07201478","is_valid_coordinates":true} 
[2026-08-23 08:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588290816001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15222643997278208,"note":"Value kept but may cause issues"} 
[2026-08-23 08:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858931145544744960,"note":"Value kept but may cause issues"} 
[2026-08-23 08:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787454264000,"timestamp_ms":1787454264000,"timestamp_seconds":1787454264,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9392c0"} 
[2026-08-23 08:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-23 08:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588290816001,"66":14515,"101":206,"83":41984,"24":26,"16":15222643997278208,"45":1858931145544744960},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 08:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588290816001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:35:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 08:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15222643997278208,"km_value":15222643997278.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858931145544744960,"description":"Unknown IO ID 45"} 
[2026-08-23 08:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588290816001,"power":14515,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1858931145544744960}} 
[2026-08-23 08:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":162934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:35:36] local.INFO: GPS data processed {"connection_id":162934,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:35:36] local.INFO: Acknowledgment sent {"connection_id":162934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:35:45] local.INFO: TCP Data received {"connection_id":160354,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c93cd58012d7b680005e0b3a0000000ad23..."} 
[2026-08-23 08:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c93cd58012d7b680005e0b3a0000000ad23..."} 
[2026-08-23 08:35:45] local.INFO: Processing buffer {"connection_id":160354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c93cd58012d7b680005e0b3a0000000ad23..."} 
[2026-08-23 08:35:45] local.INFO: Packet analysis {"connection_id":160354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c93"} 
[2026-08-23 08:35:45] local.INFO: Extracted packet for processing {"connection_id":160354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c93"} 
[2026-08-23 08:35:45] local.INFO: GPS Element Parsed {"raw_longitude":763062272,"raw_latitude":98612128,"longitude_deg":76.3062272,"latitude_deg":9.8612128,"altitude":0,"angle":173,"satellites":35,"speed":20,"hex_longitude":"2d7b6800","hex_latitude":"05e0b3a0","is_valid_coordinates":true} 
[2026-08-23 08:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588293632001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122524507737948160,"note":"Value kept but may cause issues"} 
[2026-08-23 08:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892216751999815680,"note":"Value kept but may cause issues"} 
[2026-08-23 08:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787454279000,"timestamp_ms":1787454279000,"timestamp_seconds":1787454279,"priority":1,"record_length":96,"hex_timestamp":"000001a02c93cd58"} 
[2026-08-23 08:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 08:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588293632001,"66":11352,"217":206,"85":15104,"24":20,"16":122524507737948160,"45":8892216751999815680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-23 08:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588293632001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:35:45] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 08:35:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122524507737948160,"km_value":122524507737948.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892216751999815680,"description":"Unknown IO ID 45"} 
[2026-08-23 08:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588293632001,"power":11352,"unknown_217":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8892216751999815680}} 
[2026-08-23 08:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":160354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:35:45] local.INFO: GPS data processed {"connection_id":160354,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:35:45] local.INFO: Acknowledgment sent {"connection_id":160354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:35:46] local.INFO: TCP Data received {"connection_id":162935,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:35:46] local.INFO: Processing buffer {"connection_id":162935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:35:46] local.INFO: IMEI packet received {"connection_id":162935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":162935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:35:53] local.INFO: TCP Data received {"connection_id":162935,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:35:53] local.INFO: Processing buffer {"connection_id":162935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:35:53] local.INFO: IMEI packet received {"connection_id":162935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":162935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:35:57] local.INFO: TCP Data received {"connection_id":162935,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:35:57] local.INFO: Processing buffer {"connection_id":162935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:35:57] local.INFO: IMEI packet received {"connection_id":162935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":162935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:35:58] local.INFO: TCP Data received {"connection_id":162935,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:35:58] local.INFO: Processing buffer {"connection_id":162935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:35:58] local.INFO: Packet analysis {"connection_id":162935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:35:58] local.INFO: Extracted packet for processing {"connection_id":162935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:35:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588200192001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787454208000,"timestamp_ms":1787454208000,"timestamp_seconds":1787454208,"priority":1,"record_length":96,"hex_timestamp":"000001a02c92b800"} 
[2026-08-23 08:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:35: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-08-23 08:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08: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-08-23 08: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-08-23 08:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588200192001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588200192001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:35:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:35:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588200192001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":162935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:35:58] local.INFO: GPS data processed {"connection_id":162935,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:35:58] local.INFO: Acknowledgment sent {"connection_id":162935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:36:06] local.INFO: TCP Data received {"connection_id":162936,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:36:06] local.INFO: Processing buffer {"connection_id":162936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:36:06] local.INFO: IMEI packet received {"connection_id":162936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":162936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:36:07] local.INFO: TCP Data received {"connection_id":162934,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9461c8012d19c180071ff1300027010526..."} 
[2026-08-23 08:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9461c8012d19c180071ff1300027010526..."} 
[2026-08-23 08:36:07] local.INFO: Processing buffer {"connection_id":162934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9461c8012d19c180071ff1300027010526..."} 
[2026-08-23 08:36:07] local.INFO: Packet analysis {"connection_id":162934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c94"} 
[2026-08-23 08:36:07] local.INFO: Extracted packet for processing {"connection_id":162934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c94"} 
[2026-08-23 08:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756662656,"raw_latitude":119533872,"longitude_deg":75.6662656,"latitude_deg":11.9533872,"altitude":39,"angle":261,"satellites":38,"speed":20,"hex_longitude":"2d19c180","hex_latitude":"071ff130","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588304128001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15223378436685824,"note":"Value kept but may cause issues"} 
[2026-08-23 08:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857875614379466752,"note":"Value kept but may cause issues"} 
[2026-08-23 08:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787454317000,"timestamp_ms":1787454317000,"timestamp_seconds":1787454317,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9461c8"} 
[2026-08-23 08:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 08:36: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-08-23 08: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-08-23 08:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588304128001,"66":14070,"101":206,"83":41984,"24":20,"16":15223378436685824,"45":1857875614379466752},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 08:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588304128001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:36:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 08:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15223378436685824,"km_value":15223378436685.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857875614379466752,"description":"Unknown IO ID 45"} 
[2026-08-23 08:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588304128001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1857875614379466752}} 
[2026-08-23 08:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":162934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:36:07] local.INFO: GPS data processed {"connection_id":162934,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:36:07] local.INFO: Acknowledgment sent {"connection_id":162934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:36:12] local.INFO: TCP Data received {"connection_id":162936,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:36:12] local.INFO: Processing buffer {"connection_id":162936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:36:12] local.INFO: IMEI packet received {"connection_id":162936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":162936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:36:13] local.INFO: TCP Data received {"connection_id":162936,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c93f850012d7b6e4005e08ed0000000ab22..."} 
[2026-08-23 08:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c93f850012d7b6e4005e08ed0000000ab22..."} 
[2026-08-23 08:36:13] local.INFO: Processing buffer {"connection_id":162936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c93f850012d7b6e4005e08ed0000000ab22..."} 
[2026-08-23 08:36:13] local.INFO: Packet analysis {"connection_id":162936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c93"} 
[2026-08-23 08:36:13] local.INFO: Extracted packet for processing {"connection_id":162936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c93"} 
[2026-08-23 08:36:13] local.INFO: GPS Element Parsed {"raw_longitude":763063872,"raw_latitude":98602704,"longitude_deg":76.3063872,"latitude_deg":9.8602704,"altitude":0,"angle":171,"satellites":34,"speed":44,"hex_longitude":"2d7b6e40","hex_latitude":"05e08ed0","is_valid_coordinates":true} 
[2026-08-23 08:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588295424001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122524971594416128,"note":"Value kept but may cause issues"} 
[2026-08-23 08:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892357489487749120,"note":"Value kept but may cause issues"} 
[2026-08-23 08:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787454290000,"timestamp_ms":1787454290000,"timestamp_seconds":1787454290,"priority":1,"record_length":96,"hex_timestamp":"000001a02c93f850"} 
[2026-08-23 08:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-23 08:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1210,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588295424001,"66":12798,"217":206,"85":15104,"24":44,"16":122524971594416128,"45":8892357489487749120},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-23 08:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588295424001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:36:13] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 08:36:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122524971594416128,"km_value":122524971594416.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892357489487749120,"description":"Unknown IO ID 45"} 
[2026-08-23 08:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588295424001,"power":12798,"unknown_217":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8892357489487749120}} 
[2026-08-23 08:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":162936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:36:13] local.INFO: GPS data processed {"connection_id":162936,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:36:13] local.INFO: Acknowledgment sent {"connection_id":162936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:36:30] local.INFO: TCP Data received {"connection_id":162935,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:36:30] local.INFO: Processing buffer {"connection_id":162935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:36:30] local.INFO: Packet analysis {"connection_id":162935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:36:30] local.INFO: Extracted packet for processing {"connection_id":162935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:36:30] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588200192001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787454208000,"timestamp_ms":1787454208000,"timestamp_seconds":1787454208,"priority":1,"record_length":96,"hex_timestamp":"000001a02c92b800"} 
[2026-08-23 08:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:36: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-08-23 08:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:36:30] 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-08-23 08:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588200192001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588200192001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:36:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:36:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588200192001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":162935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:36:30] local.INFO: GPS data processed {"connection_id":162935,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:36:30] local.INFO: Acknowledgment sent {"connection_id":162935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:36:30] local.INFO: TCP Data received {"connection_id":161515,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:36:30] local.INFO: Processing buffer {"connection_id":161515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:36:30] local.INFO: IMEI packet received {"connection_id":161515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":161515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:36:31] local.INFO: TCP Data received {"connection_id":161515,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:36:31] local.INFO: Processing buffer {"connection_id":161515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:36:31] local.INFO: IMEI packet received {"connection_id":161515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":161515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:36:35] local.INFO: TCP Data received {"connection_id":161515,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:36:35] local.INFO: Processing buffer {"connection_id":161515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:36:35] local.INFO: IMEI packet received {"connection_id":161515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":161515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:36:36] local.INFO: TCP Data received {"connection_id":161515,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c948108012d19afc0071fefc00029011525..."} 
[2026-08-23 08:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c948108012d19afc0071fefc00029011525..."} 
[2026-08-23 08:36:36] local.INFO: Processing buffer {"connection_id":161515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c948108012d19afc0071fefc00029011525..."} 
[2026-08-23 08:36:36] local.INFO: Packet analysis {"connection_id":161515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c94"} 
[2026-08-23 08:36:36] local.INFO: Extracted packet for processing {"connection_id":161515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c94"} 
[2026-08-23 08:36:36] local.INFO: GPS Element Parsed {"raw_longitude":756658112,"raw_latitude":119533504,"longitude_deg":75.6658112,"latitude_deg":11.9533504,"altitude":41,"angle":277,"satellites":37,"speed":23,"hex_longitude":"2d19afc0","hex_latitude":"071fefc0","is_valid_coordinates":true} 
[2026-08-23 08:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588305152001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15223597480017920,"note":"Value kept but may cause issues"} 
[2026-08-23 08:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855905289542381568,"note":"Value kept but may cause issues"} 
[2026-08-23 08:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787454325000,"timestamp_ms":1787454325000,"timestamp_seconds":1787454325,"priority":1,"record_length":96,"hex_timestamp":"000001a02c948108"} 
[2026-08-23 08:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-23 08:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588305152001,"66":13156,"101":206,"83":41984,"24":23,"16":15223597480017920,"45":1855905289542381568},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 08:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588305152001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:36:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 08:36:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15223597480017920,"km_value":15223597480017.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855905289542381568,"description":"Unknown IO ID 45"} 
[2026-08-23 08:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588305152001,"power":13156,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1855905289542381568}} 
[2026-08-23 08:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":161515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:36:36] local.INFO: GPS data processed {"connection_id":161515,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:36:36] local.INFO: Acknowledgment sent {"connection_id":161515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:36:45] local.INFO: TCP Data received {"connection_id":162936,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c953c88012d7b9e0005def5c8000000b125..."} 
[2026-08-23 08:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c953c88012d7b9e0005def5c8000000b125..."} 
[2026-08-23 08:36:45] local.INFO: Processing buffer {"connection_id":162936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c953c88012d7b9e0005def5c8000000b125..."} 
[2026-08-23 08:36:45] local.INFO: Packet analysis {"connection_id":162936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c95"} 
[2026-08-23 08:36:45] local.INFO: Extracted packet for processing {"connection_id":162936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c95"} 
[2026-08-23 08:36:45] local.INFO: GPS Element Parsed {"raw_longitude":763076096,"raw_latitude":98497992,"longitude_deg":76.3076096,"latitude_deg":9.8497992,"altitude":0,"angle":177,"satellites":37,"speed":19,"hex_longitude":"2d7b9e00","hex_latitude":"05def5c8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588316416001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122530086900465664,"note":"Value kept but may cause issues"} 
[2026-08-23 08:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906712713273110528,"note":"Value kept but may cause issues"} 
[2026-08-23 08:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787454373000,"timestamp_ms":1787454373000,"timestamp_seconds":1787454373,"priority":1,"record_length":96,"hex_timestamp":"000001a02c953c88"} 
[2026-08-23 08:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:36: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-08-23 08: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-23 08:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588316416001,"66":12863,"44":206,"85":15104,"24":19,"16":122530086900465664,"45":8906712713273110528},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-23 08:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588316416001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:36:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-23 08:36:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122530086900465664,"km_value":122530086900465.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906712713273110528,"description":"Unknown IO ID 45"} 
[2026-08-23 08:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588316416001,"power":12863,"unknown_44":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8906712713273110528}} 
[2026-08-23 08:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":162936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:36:45] local.INFO: GPS data processed {"connection_id":162936,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:36:45] local.INFO: Acknowledgment sent {"connection_id":162936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:36:52] local.INFO: TCP Data received {"connection_id":161516,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:36:52] local.INFO: Processing buffer {"connection_id":161516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:36:52] local.INFO: IMEI packet received {"connection_id":161516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":161516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:36:57] local.INFO: TCP Data received {"connection_id":161516,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:36:57] local.INFO: Processing buffer {"connection_id":161516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:36:57] local.INFO: IMEI packet received {"connection_id":161516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":161516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:36:58] local.INFO: TCP Data received {"connection_id":161516,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:36:58] local.INFO: Processing buffer {"connection_id":161516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:36:58] local.INFO: Packet analysis {"connection_id":161516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:36:58] local.INFO: Extracted packet for processing {"connection_id":161516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:36:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588200192001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787454208000,"timestamp_ms":1787454208000,"timestamp_seconds":1787454208,"priority":1,"record_length":96,"hex_timestamp":"000001a02c92b800"} 
[2026-08-23 08:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:36: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-08-23 08:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588200192001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588200192001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:36:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:36:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588200192001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":161516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:36:58] local.INFO: GPS data processed {"connection_id":161516,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:36:58] local.INFO: Acknowledgment sent {"connection_id":161516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:37:05] local.INFO: TCP Data received {"connection_id":161516,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:37:05] local.INFO: Processing buffer {"connection_id":161516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:37:05] local.INFO: Packet analysis {"connection_id":161516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:37:05] local.INFO: Extracted packet for processing {"connection_id":161516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:37:05] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588200192001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787454208000,"timestamp_ms":1787454208000,"timestamp_seconds":1787454208,"priority":1,"record_length":96,"hex_timestamp":"000001a02c92b800"} 
[2026-08-23 08:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:37:05] 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-08-23 08:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588200192001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588200192001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:37:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:37:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588200192001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":161516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:37:05] local.INFO: GPS data processed {"connection_id":161516,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:37:05] local.INFO: Acknowledgment sent {"connection_id":161516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:37:07] local.INFO: TCP Data received {"connection_id":161515,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9505d8012d197980071fec000036010a26..."} 
[2026-08-23 08:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9505d8012d197980071fec000036010a26..."} 
[2026-08-23 08:37:07] local.INFO: Processing buffer {"connection_id":161515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9505d8012d197980071fec000036010a26..."} 
[2026-08-23 08:37:07] local.INFO: Packet analysis {"connection_id":161515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c95"} 
[2026-08-23 08:37:07] local.INFO: Extracted packet for processing {"connection_id":161515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c95"} 
[2026-08-23 08:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756644224,"raw_latitude":119532544,"longitude_deg":75.6644224,"latitude_deg":11.9532544,"altitude":54,"angle":266,"satellites":38,"speed":19,"hex_longitude":"2d197980","hex_latitude":"071fec00","is_valid_coordinates":true} 
[2026-08-23 08:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588315392001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224280379817984,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836764991125753856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787454359000,"timestamp_ms":1787454359000,"timestamp_seconds":1787454359,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9505d8"} 
[2026-08-23 08:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-23 08:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588315392001,"66":12722,"102":206,"83":41984,"24":19,"16":15224280379817984,"45":1836764991125753856},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588315392001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:37:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224280379817984,"km_value":15224280379817.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836764991125753856,"description":"Unknown IO ID 45"} 
[2026-08-23 08:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588315392001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1836764991125753856}} 
[2026-08-23 08:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":161515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:37:07] local.INFO: GPS data processed {"connection_id":161515,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:37:07] local.INFO: Acknowledgment sent {"connection_id":161515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:37:12] local.INFO: TCP Data received {"connection_id":160561,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:37:12] local.INFO: Processing buffer {"connection_id":160561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:37:12] local.INFO: IMEI packet received {"connection_id":160561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":160561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:37:14] local.INFO: TCP Data received {"connection_id":160561,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:37:14] local.INFO: Processing buffer {"connection_id":160561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:37:14] local.INFO: IMEI packet received {"connection_id":160561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":160561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:37:16] local.INFO: TCP Data received {"connection_id":160561,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c956b68012d7ba00005ded168000000b221..."} 
[2026-08-23 08:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c956b68012d7ba00005ded168000000b221..."} 
[2026-08-23 08:37:16] local.INFO: Processing buffer {"connection_id":160561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c956b68012d7ba00005ded168000000b221..."} 
[2026-08-23 08:37:16] local.INFO: Packet analysis {"connection_id":160561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c95"} 
[2026-08-23 08:37:16] local.INFO: Extracted packet for processing {"connection_id":160561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c95"} 
[2026-08-23 08:37:16] local.INFO: GPS Element Parsed {"raw_longitude":763076608,"raw_latitude":98488680,"longitude_deg":76.3076608,"latitude_deg":9.848868,"altitude":0,"angle":178,"satellites":33,"speed":28,"hex_longitude":"2d7ba000","hex_latitude":"05ded168","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588319488001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122530542166999040,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907557138200905728,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787454385000,"timestamp_ms":1787454385000,"timestamp_seconds":1787454385,"priority":1,"record_length":96,"hex_timestamp":"000001a02c956b68"} 
[2026-08-23 08:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:37: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-08-23 08: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 08:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588319488001,"66":12939,"44":206,"85":15104,"24":28,"16":122530542166999040,"45":8907557138200905728},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-23 08:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588319488001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:37:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-23 08:37:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122530542166999040,"km_value":122530542166999.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907557138200905728,"description":"Unknown IO ID 45"} 
[2026-08-23 08:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588319488001,"power":12939,"unknown_44":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8907557138200905728}} 
[2026-08-23 08:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":160561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:37:16] local.INFO: GPS data processed {"connection_id":160561,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:37:16] local.INFO: Acknowledgment sent {"connection_id":160561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:37:17] local.INFO: TCP Data received {"connection_id":160561,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c95a600012d7ba40005deacf0000000af21..."} 
[2026-08-23 08:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c95a600012d7ba40005deacf0000000af21..."} 
[2026-08-23 08:37:17] local.INFO: Processing buffer {"connection_id":160561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c95a600012d7ba40005deacf0000000af21..."} 
[2026-08-23 08:37:17] local.INFO: Packet analysis {"connection_id":160561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c95"} 
[2026-08-23 08:37:17] local.INFO: Extracted packet for processing {"connection_id":160561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c95"} 
[2026-08-23 08:37:17] local.INFO: GPS Element Parsed {"raw_longitude":763077632,"raw_latitude":98479344,"longitude_deg":76.3077632,"latitude_deg":9.8479344,"altitude":0,"angle":175,"satellites":33,"speed":38,"hex_longitude":"2d7ba400","hex_latitude":"05deacf0","is_valid_coordinates":true} 
[2026-08-23 08:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588322560001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122530997433532416,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908120088151943168,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787454400000,"timestamp_ms":1787454400000,"timestamp_seconds":1787454400,"priority":1,"record_length":96,"hex_timestamp":"000001a02c95a600"} 
[2026-08-23 08:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:37: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-08-23 08:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-23 08:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588322560001,"66":12939,"44":206,"85":15104,"24":38,"16":122530997433532416,"45":8908120088151943168},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-23 08:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588322560001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:37:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-23 08:37:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122530997433532416,"km_value":122530997433532.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908120088151943168,"description":"Unknown IO ID 45"} 
[2026-08-23 08:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588322560001,"power":12939,"unknown_44":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8908120088151943168}} 
[2026-08-23 08:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":160561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:37:17] local.INFO: GPS data processed {"connection_id":160561,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:37:17] local.INFO: Acknowledgment sent {"connection_id":160561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:37:35] local.INFO: TCP Data received {"connection_id":161517,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:37:35] local.INFO: Processing buffer {"connection_id":161517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:37:35] local.INFO: IMEI packet received {"connection_id":161517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":161517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:37:40] local.INFO: TCP Data received {"connection_id":161517,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:37:40] local.INFO: Processing buffer {"connection_id":161517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:37:40] local.INFO: IMEI packet received {"connection_id":161517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":161517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:37:40] local.INFO: TCP Data received {"connection_id":161517,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c950da8012d197580071fec400037011625..."} 
[2026-08-23 08:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c950da8012d197580071fec400037011625..."} 
[2026-08-23 08:37:40] local.INFO: Processing buffer {"connection_id":161517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c950da8012d197580071fec400037011625..."} 
[2026-08-23 08:37:40] local.INFO: Packet analysis {"connection_id":161517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c95"} 
[2026-08-23 08:37:40] local.INFO: Extracted packet for processing {"connection_id":161517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c95"} 
[2026-08-23 08:37:40] local.INFO: GPS Element Parsed {"raw_longitude":756643200,"raw_latitude":119532608,"longitude_deg":75.66432,"latitude_deg":11.9532608,"altitude":55,"angle":278,"satellites":37,"speed":20,"hex_longitude":"2d197580","hex_latitude":"071fec40","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588315904001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224327624458240,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835639091218874368,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787454361000,"timestamp_ms":1787454361000,"timestamp_seconds":1787454361,"priority":1,"record_length":96,"hex_timestamp":"000001a02c950da8"} 
[2026-08-23 08:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 08:37:40] 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-08-23 08: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-08-23 08:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588315904001,"66":13135,"102":206,"83":41984,"24":20,"16":15224327624458240,"45":1835639091218874368},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588315904001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:37:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:37:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224327624458240,"km_value":15224327624458.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835639091218874368,"description":"Unknown IO ID 45"} 
[2026-08-23 08:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588315904001,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1835639091218874368}} 
[2026-08-23 08:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":161517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:37:41] local.INFO: GPS data processed {"connection_id":161517,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:37:41] local.INFO: Acknowledgment sent {"connection_id":161517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:37:42] local.INFO: TCP Data received {"connection_id":161517,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c955fb0012d1967c0071feea80038011d25..."} 
[2026-08-23 08:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c955fb0012d1967c0071feea80038011d25..."} 
[2026-08-23 08:37:42] local.INFO: Processing buffer {"connection_id":161517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c955fb0012d1967c0071feea80038011d25..."} 
[2026-08-23 08:37:42] local.INFO: Packet analysis {"connection_id":161517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c95"} 
[2026-08-23 08:37:42] local.INFO: Extracted packet for processing {"connection_id":161517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c95"} 
[2026-08-23 08:37:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588316416001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834513191312048128,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787454382000,"timestamp_ms":1787454382000,"timestamp_seconds":1787454382,"priority":1,"record_length":96,"hex_timestamp":"000001a02c955fb0"} 
[2026-08-23 08:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 08:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588316416001,"66":13124,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1834513191312048128},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588316416001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:37:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:37:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834513191312048128,"description":"Unknown IO ID 45"} 
[2026-08-23 08:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588316416001,"power":13124,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834513191312048128}} 
[2026-08-23 08:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":161517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:37:42] local.INFO: GPS data processed {"connection_id":161517,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:37:42] local.INFO: Acknowledgment sent {"connection_id":161517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:37:47] local.INFO: TCP Data received {"connection_id":162937,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:37:47] local.INFO: Processing buffer {"connection_id":162937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:37:47] local.INFO: IMEI packet received {"connection_id":162937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":162937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:37:48] local.INFO: TCP Data received {"connection_id":160561,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c95c540012d7ba78005de89c0000000ac1d..."} 
[2026-08-23 08:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c95c540012d7ba78005de89c0000000ac1d..."} 
[2026-08-23 08:37:48] local.INFO: Processing buffer {"connection_id":160561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c95c540012d7ba78005de89c0000000ac1d..."} 
[2026-08-23 08:37:48] local.INFO: Packet analysis {"connection_id":160561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c95"} 
[2026-08-23 08:37:48] local.INFO: Extracted packet for processing {"connection_id":160561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c95"} 
[2026-08-23 08:37:48] local.INFO: GPS Element Parsed {"raw_longitude":763078528,"raw_latitude":98470336,"longitude_deg":76.3078528,"latitude_deg":9.8470336,"altitude":0,"angle":172,"satellites":29,"speed":47,"hex_longitude":"2d7ba780","hex_latitude":"05de89c0","is_valid_coordinates":true} 
[2026-08-23 08:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588326400001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122531435520196608,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909245988056395776,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787454408000,"timestamp_ms":1787454408000,"timestamp_seconds":1787454408,"priority":1,"record_length":96,"hex_timestamp":"000001a02c95c540"} 
[2026-08-23 08:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-23 08:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588326400001,"66":12765,"44":206,"85":15104,"24":47,"16":122531435520196608,"45":8909245988056395776},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-23 08:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588326400001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:37:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-23 08:37:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122531435520196608,"km_value":122531435520196.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909245988056395776,"description":"Unknown IO ID 45"} 
[2026-08-23 08:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588326400001,"power":12765,"unknown_44":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8909245988056395776}} 
[2026-08-23 08:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":160561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:37:49] local.INFO: GPS data processed {"connection_id":160561,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:37:49] local.INFO: Acknowledgment sent {"connection_id":160561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:37:52] local.INFO: TCP Data received {"connection_id":162937,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:37:52] local.INFO: Processing buffer {"connection_id":162937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:37:52] local.INFO: IMEI packet received {"connection_id":162937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":162937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:37:52] local.INFO: TCP Data received {"connection_id":162937,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:37:52] local.INFO: Processing buffer {"connection_id":162937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:37:52] local.INFO: Packet analysis {"connection_id":162937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:37:52] local.INFO: Extracted packet for processing {"connection_id":162937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:37:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588200192001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787454208000,"timestamp_ms":1787454208000,"timestamp_seconds":1787454208,"priority":1,"record_length":96,"hex_timestamp":"000001a02c92b800"} 
[2026-08-23 08:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:37:52] 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-08-23 08:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:37:52] 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-08-23 08:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588200192001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588200192001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:37:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:37:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588200192001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":162937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:37:52] local.INFO: GPS data processed {"connection_id":162937,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:37:52] local.INFO: Acknowledgment sent {"connection_id":162937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:38:07] local.INFO: TCP Data received {"connection_id":162938,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:38:07] local.INFO: Processing buffer {"connection_id":162938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:38:07] local.INFO: IMEI packet received {"connection_id":162938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":162938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:38:07] local.INFO: TCP Data received {"connection_id":162938,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:38:07] local.INFO: Processing buffer {"connection_id":162938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:38:07] local.INFO: IMEI packet received {"connection_id":162938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":162938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:38:12] local.INFO: TCP Data received {"connection_id":162938,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:38:12] local.INFO: Processing buffer {"connection_id":162938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:38:12] local.INFO: IMEI packet received {"connection_id":162938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":162938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:38:12] local.INFO: TCP Data received {"connection_id":162938,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c95e480012d7bac4005de65f8000000aa21..."} 
[2026-08-23 08:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c95e480012d7bac4005de65f8000000aa21..."} 
[2026-08-23 08:38:12] local.INFO: Processing buffer {"connection_id":162938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c95e480012d7bac4005de65f8000000aa21..."} 
[2026-08-23 08:38:12] local.INFO: Packet analysis {"connection_id":162938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c95"} 
[2026-08-23 08:38:12] local.INFO: Extracted packet for processing {"connection_id":162938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c95"} 
[2026-08-23 08:38:12] local.INFO: GPS Element Parsed {"raw_longitude":763079744,"raw_latitude":98461176,"longitude_deg":76.3079744,"latitude_deg":9.8461176,"altitude":0,"angle":170,"satellites":33,"speed":43,"hex_longitude":"2d7bac40","hex_latitude":"05de65f8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588328448001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122531886491762688,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910231150472577024,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787454416000,"timestamp_ms":1787454416000,"timestamp_seconds":1787454416,"priority":1,"record_length":96,"hex_timestamp":"000001a02c95e480"} 
[2026-08-23 08:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-23 08:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588328448001,"66":12961,"44":206,"85":15104,"24":43,"16":122531886491762688,"45":8910231150472577024},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-23 08:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588328448001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:38:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-23 08:38:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122531886491762688,"km_value":122531886491762.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910231150472577024,"description":"Unknown IO ID 45"} 
[2026-08-23 08:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588328448001,"power":12961,"unknown_44":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8910231150472577024}} 
[2026-08-23 08:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":162938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:38:12] local.INFO: GPS data processed {"connection_id":162938,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:38:12] local.INFO: Acknowledgment sent {"connection_id":162938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:38:13] local.INFO: TCP Data received {"connection_id":161517,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c95b1b8012d1967c0071feea80038011d1f..."} 
[2026-08-23 08:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c95b1b8012d1967c0071feea80038011d1f..."} 
[2026-08-23 08:38:13] local.INFO: Processing buffer {"connection_id":161517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c95b1b8012d1967c0071feea80038011d1f..."} 
[2026-08-23 08:38:13] local.INFO: Packet analysis {"connection_id":161517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c95"} 
[2026-08-23 08:38:13] local.INFO: Extracted packet for processing {"connection_id":161517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c95"} 
[2026-08-23 08:38:13] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":31,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588321792001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787454403000,"timestamp_ms":1787454403000,"timestamp_seconds":1787454403,"priority":1,"record_length":96,"hex_timestamp":"000001a02c95b1b8"} 
[2026-08-23 08:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-23 08:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588321792001,"66":13124,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588321792001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:38:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:38:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588321792001,"power":13124,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":161517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:38:13] local.INFO: GPS data processed {"connection_id":161517,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:38:13] local.INFO: Acknowledgment sent {"connection_id":161517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:38:13] local.INFO: TCP Data received {"connection_id":162938,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9603c0012d7bb0c005de4270000000ab21..."} 
[2026-08-23 08:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9603c0012d7bb0c005de4270000000ab21..."} 
[2026-08-23 08:38:13] local.INFO: Processing buffer {"connection_id":162938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9603c0012d7bb0c005de4270000000ab21..."} 
[2026-08-23 08:38:13] local.INFO: Packet analysis {"connection_id":162938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c96"} 
[2026-08-23 08:38:13] local.INFO: Extracted packet for processing {"connection_id":162938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c96"} 
[2026-08-23 08:38:13] local.INFO: GPS Element Parsed {"raw_longitude":763080896,"raw_latitude":98452080,"longitude_deg":76.3080896,"latitude_deg":9.845208,"altitude":0,"angle":171,"satellites":33,"speed":45,"hex_longitude":"2d7bb0c0","hex_latitude":"05de4270","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588330496001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911568156609607680,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122532328873394176,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:13] 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-08-23 08:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787454424000,"timestamp_ms":1787454424000,"timestamp_seconds":1787454424,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9603c0"} 
[2026-08-23 08:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:38: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-08-23 08: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 08:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588330496001,"66":12939,"45":8911568156609607680,"85":15104,"24":45,"16":122532328873394176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-23 08:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588330496001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911568156609607680,"description":"Unknown IO ID 45"} 
[2026-08-23 08:38:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122532328873394176,"km_value":122532328873394.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:38:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457588330496001,"power":12939,"unknown_45":8911568156609607680,"unknown_85":15104,"ignition":45,"odometer":null}} 
[2026-08-23 08:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":162938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:38:13] local.INFO: GPS data processed {"connection_id":162938,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:38:13] local.INFO: Acknowledgment sent {"connection_id":162938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:38:24] local.INFO: TCP Data received {"connection_id":162937,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:38:24] local.INFO: Processing buffer {"connection_id":162937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:38:24] local.INFO: Packet analysis {"connection_id":162937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:38:24] local.INFO: Extracted packet for processing {"connection_id":162937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:38:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588200192001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787454208000,"timestamp_ms":1787454208000,"timestamp_seconds":1787454208,"priority":1,"record_length":96,"hex_timestamp":"000001a02c92b800"} 
[2026-08-23 08:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:38: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-08-23 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:38:24] 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-08-23 08: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-08-23 08:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:38:24] 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-08-23 08:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588200192001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588200192001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:38:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:38:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588200192001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":162937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:38:24] local.INFO: GPS data processed {"connection_id":162937,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:38:24] local.INFO: Acknowledgment sent {"connection_id":162937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:38:30] local.INFO: TCP Data received {"connection_id":160562,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:38:30] local.INFO: Processing buffer {"connection_id":160562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:38:30] local.INFO: IMEI packet received {"connection_id":160562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":160562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:38:35] local.INFO: TCP Data received {"connection_id":160562,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:38:35] local.INFO: Processing buffer {"connection_id":160562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:38:35] local.INFO: IMEI packet received {"connection_id":160562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":160562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:38:36] local.INFO: TCP Data received {"connection_id":160562,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9603c0012d1967c0071feea80038011d25..."} 
[2026-08-23 08:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9603c0012d1967c0071feea80038011d25..."} 
[2026-08-23 08:38:36] local.INFO: Processing buffer {"connection_id":160562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9603c0012d1967c0071feea80038011d25..."} 
[2026-08-23 08:38:36] local.INFO: Packet analysis {"connection_id":160562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c96"} 
[2026-08-23 08:38:36] local.INFO: Extracted packet for processing {"connection_id":160562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c96"} 
[2026-08-23 08:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588327168001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787454424000,"timestamp_ms":1787454424000,"timestamp_seconds":1787454424,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9603c0"} 
[2026-08-23 08:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-23 08:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588327168001,"66":12819,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588327168001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:38:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:38:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588327168001,"power":12819,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":160562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:38:36] local.INFO: GPS data processed {"connection_id":160562,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:38:36] local.INFO: Acknowledgment sent {"connection_id":160562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:38:40] local.INFO: TCP Data received {"connection_id":160562,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9655c8012d1967c0071feea80038011d26..."} 
[2026-08-23 08:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9655c8012d1967c0071feea80038011d26..."} 
[2026-08-23 08:38:40] local.INFO: Processing buffer {"connection_id":160562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9655c8012d1967c0071feea80038011d26..."} 
[2026-08-23 08:38:40] local.INFO: Packet analysis {"connection_id":160562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c96"} 
[2026-08-23 08:38:40] local.INFO: Extracted packet for processing {"connection_id":160562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c96"} 
[2026-08-23 08:38:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588332544001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787454445000,"timestamp_ms":1787454445000,"timestamp_seconds":1787454445,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9655c8"} 
[2026-08-23 08:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 08:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13511972012167168,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:40] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3959423030,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:40] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:40] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503831928635392,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7717313780633729152,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:40] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3891373965138264320,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-08-23 08:38:40] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2147950572,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:40] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182070795829504,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:40] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301708846399292194,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:40] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-2954135438563946925,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:40] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:40] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195125504,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:40] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84752127943450608,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:40] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,102,83,24,241,157,16,22,160,177,45,192,238,56,31,10,66,95,37,13,128,1,240,79,227,44,4,113,205,19,254,125,144,36,239,51,2,54,7,50,164,70,69,208],"length":625,"final_offset":755,"validated_count":44,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-08-23 08:38:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538785851670528,"timestamp_seconds":4035538785851670.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 08:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588332544001,"66":13102,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588332544001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:38:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:38:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588332544001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":160562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:38:40] local.INFO: GPS data processed {"connection_id":160562,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:38:40] local.INFO: Acknowledgment sent {"connection_id":160562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:38:44] local.INFO: TCP Data received {"connection_id":162938,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9626e8012d7bb74005de1d80000000a923..."} 
[2026-08-23 08:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9626e8012d7bb74005de1d80000000a923..."} 
[2026-08-23 08:38:44] local.INFO: Processing buffer {"connection_id":162938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9626e8012d7bb74005de1d80000000a923..."} 
[2026-08-23 08:38:44] local.INFO: Packet analysis {"connection_id":162938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c96"} 
[2026-08-23 08:38:44] local.INFO: Extracted packet for processing {"connection_id":162938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c96"} 
[2026-08-23 08:38:44] local.INFO: GPS Element Parsed {"raw_longitude":763082560,"raw_latitude":98442624,"longitude_deg":76.308256,"latitude_deg":9.8442624,"altitude":0,"angle":169,"satellites":35,"speed":36,"hex_longitude":"2d7bb740","hex_latitude":"05de1d80","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588332544001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912834794002477056,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122532797024829440,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:44] 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-08-23 08:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787454433000,"timestamp_ms":1787454433000,"timestamp_seconds":1787454433,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9626e8"} 
[2026-08-23 08:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:38: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-08-23 08: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-23 08:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588332544001,"66":12819,"45":8912834794002477056,"85":15104,"24":36,"16":122532797024829440},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-23 08:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588332544001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912834794002477056,"description":"Unknown IO ID 45"} 
[2026-08-23 08:38:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122532797024829440,"km_value":122532797024829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:38:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457588332544001,"power":12819,"unknown_45":8912834794002477056,"unknown_85":15104,"ignition":36,"odometer":null}} 
[2026-08-23 08:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":162938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:38:44] local.INFO: GPS data processed {"connection_id":162938,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:38:44] local.INFO: Acknowledgment sent {"connection_id":162938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:38:47] local.INFO: TCP Data received {"connection_id":160355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:38:47] local.INFO: Processing buffer {"connection_id":160355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:38:47] local.INFO: IMEI packet received {"connection_id":160355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":160355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:38:52] local.INFO: TCP Data received {"connection_id":160355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:38:52] local.INFO: Processing buffer {"connection_id":160355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:38:52] local.INFO: IMEI packet received {"connection_id":160355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":160355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:38:52] local.INFO: TCP Data received {"connection_id":160355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:38:52] local.INFO: Processing buffer {"connection_id":160355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c92b800012d34c50006aa4098000e00851f..."} 
[2026-08-23 08:38:52] local.INFO: Packet analysis {"connection_id":160355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:38:52] local.INFO: Extracted packet for processing {"connection_id":160355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c92"} 
[2026-08-23 08:38:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588200192001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787454208000,"timestamp_ms":1787454208000,"timestamp_seconds":1787454208,"priority":1,"record_length":96,"hex_timestamp":"000001a02c92b800"} 
[2026-08-23 08:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:38:52] 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-08-23 08:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588200192001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588200192001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:38:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:38:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588200192001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":160355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:38:52] local.INFO: GPS data processed {"connection_id":160355,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:38:52] local.INFO: Acknowledgment sent {"connection_id":160355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:39:06] local.INFO: TCP Data received {"connection_id":161518,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:39:06] local.INFO: Processing buffer {"connection_id":161518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:39:06] local.INFO: IMEI packet received {"connection_id":161518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":161518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:39:06] local.INFO: TCP Data received {"connection_id":161518,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:39:06] local.INFO: Processing buffer {"connection_id":161518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:39:06] local.INFO: IMEI packet received {"connection_id":161518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":161518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:39:11] local.INFO: TCP Data received {"connection_id":160562,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c96a7d0012d1967c0071feea80038011d23..."} 
[2026-08-23 08:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c96a7d0012d1967c0071feea80038011d23..."} 
[2026-08-23 08:39:11] local.INFO: Processing buffer {"connection_id":160562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c96a7d0012d1967c0071feea80038011d23..."} 
[2026-08-23 08:39:11] local.INFO: Packet analysis {"connection_id":160562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c96"} 
[2026-08-23 08:39:11] local.INFO: Extracted packet for processing {"connection_id":160562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c96"} 
[2026-08-23 08:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588337920001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787454466000,"timestamp_ms":1787454466000,"timestamp_seconds":1787454466,"priority":1,"record_length":96,"hex_timestamp":"000001a02c96a7d0"} 
[2026-08-23 08:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-23 08:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588337920001,"66":13048,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588337920001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:39:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588337920001,"power":13048,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":160562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:39:11] local.INFO: GPS data processed {"connection_id":160562,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:39:11] local.INFO: Acknowledgment sent {"connection_id":160562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:39:12] local.INFO: TCP Data received {"connection_id":161518,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161518,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:39:12] local.INFO: Processing buffer {"connection_id":161518,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:39:12] local.INFO: IMEI packet received {"connection_id":161518,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":161518,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:39:12] local.INFO: TCP Data received {"connection_id":161518,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c977ac0012d7bea8005dc8cb8000000b024..."} 
[2026-08-23 08:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c977ac0012d7bea8005dc8cb8000000b024..."} 
[2026-08-23 08:39:12] local.INFO: Processing buffer {"connection_id":161518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c977ac0012d7bea8005dc8cb8000000b024..."} 
[2026-08-23 08:39:12] local.INFO: Packet analysis {"connection_id":161518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:39:12] local.INFO: Extracted packet for processing {"connection_id":161518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:39:12] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":98340024,"longitude_deg":76.309568,"latitude_deg":9.8340024,"altitude":0,"angle":176,"satellites":36,"speed":50,"hex_longitude":"2d7bea80","hex_latitude":"05dc8cb8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588355328001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122537822136565760,"note":"Value kept but may cause issues"} 
[2026-08-23 08:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928456655183587328,"note":"Value kept but may cause issues"} 
[2026-08-23 08:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787454520000,"timestamp_ms":1787454520000,"timestamp_seconds":1787454520,"priority":1,"record_length":96,"hex_timestamp":"000001a02c977ac0"} 
[2026-08-23 08:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 08:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588355328001,"66":13135,"169":206,"85":15104,"24":50,"16":122537822136565760,"45":8928456655183587328},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-23 08:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588355328001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:39:12] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-23 08:39:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122537822136565760,"km_value":122537822136565.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928456655183587328,"description":"Unknown IO ID 45"} 
[2026-08-23 08:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588355328001,"power":13135,"unknown_169":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8928456655183587328}} 
[2026-08-23 08:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":161518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:39:12] local.INFO: GPS data processed {"connection_id":161518,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:39:12] local.INFO: Acknowledgment sent {"connection_id":161518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:39:23] local.INFO: TCP Data received {"connection_id":160355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:39:23] local.INFO: Processing buffer {"connection_id":160355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:39:23] local.INFO: Packet analysis {"connection_id":160355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:39:23] local.INFO: Extracted packet for processing {"connection_id":160355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:39:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588277248001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787454508000,"timestamp_ms":1787454508000,"timestamp_seconds":1787454508,"priority":1,"record_length":96,"hex_timestamp":"000001a02c974be0"} 
[2026-08-23 08:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:39: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-08-23 08:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588277248001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588277248001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:39:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:39:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588277248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":160355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:39:23] local.INFO: GPS data processed {"connection_id":160355,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:39:23] local.INFO: Acknowledgment sent {"connection_id":160355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:39:27] local.INFO: TCP Data received {"connection_id":162939,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:39:27] local.INFO: Processing buffer {"connection_id":162939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:39:27] local.INFO: IMEI packet received {"connection_id":162939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":162939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:39:30] local.INFO: TCP Data received {"connection_id":162939,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:39:30] local.INFO: Processing buffer {"connection_id":162939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:39:30] local.INFO: IMEI packet received {"connection_id":162939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":162939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:39:35] local.INFO: TCP Data received {"connection_id":162939,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:39:35] local.INFO: Processing buffer {"connection_id":162939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:39:35] local.INFO: IMEI packet received {"connection_id":162939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":162939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:39:36] local.INFO: TCP Data received {"connection_id":162939,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c96f9d8012d1967c0071feea80038011d21..."} 
[2026-08-23 08:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c96f9d8012d1967c0071feea80038011d21..."} 
[2026-08-23 08:39:36] local.INFO: Processing buffer {"connection_id":162939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c96f9d8012d1967c0071feea80038011d21..."} 
[2026-08-23 08:39:36] local.INFO: Packet analysis {"connection_id":162939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c96"} 
[2026-08-23 08:39:36] local.INFO: Extracted packet for processing {"connection_id":162939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c96"} 
[2026-08-23 08:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":33,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588343296001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787454487000,"timestamp_ms":1787454487000,"timestamp_seconds":1787454487,"priority":1,"record_length":96,"hex_timestamp":"000001a02c96f9d8"} 
[2026-08-23 08:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-23 08:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588343296001,"66":13048,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588343296001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:39:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:39:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588343296001,"power":13048,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":162939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:39:36] local.INFO: GPS data processed {"connection_id":162939,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:39:36] local.INFO: Acknowledgment sent {"connection_id":162939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:39:43] local.INFO: TCP Data received {"connection_id":161518,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c979a00012d7beb8005dc6560000000b124..."} 
[2026-08-23 08:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c979a00012d7beb8005dc6560000000b124..."} 
[2026-08-23 08:39:43] local.INFO: Processing buffer {"connection_id":161518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c979a00012d7beb8005dc6560000000b124..."} 
[2026-08-23 08:39:43] local.INFO: Packet analysis {"connection_id":161518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:39:43] local.INFO: Extracted packet for processing {"connection_id":161518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:39:43] local.INFO: GPS Element Parsed {"raw_longitude":763095936,"raw_latitude":98329952,"longitude_deg":76.3095936,"latitude_deg":9.8329952,"altitude":0,"angle":177,"satellites":36,"speed":48,"hex_longitude":"2d7beb80","hex_latitude":"05dc6560","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588357120001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122538307467870208,"note":"Value kept but may cause issues"} 
[2026-08-23 08:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089973878831104,"note":"Value kept but may cause issues"} 
[2026-08-23 08:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787454528000,"timestamp_ms":1787454528000,"timestamp_seconds":1787454528,"priority":1,"record_length":96,"hex_timestamp":"000001a02c979a00"} 
[2026-08-23 08:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:39:43] local.INFO: 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-08-23 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 08:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161518,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588357120001,"66":13091,"169":206,"85":15104,"24":48,"16":122538307467870208,"45":8929089973878831104},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-23 08:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588357120001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:39:43] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-23 08:39:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122538307467870208,"km_value":122538307467870.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089973878831104,"description":"Unknown IO ID 45"} 
[2026-08-23 08:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588357120001,"power":13091,"unknown_169":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8929089973878831104}} 
[2026-08-23 08:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":161518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:39:44] local.INFO: GPS data processed {"connection_id":161518,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:39:44] local.INFO: Acknowledgment sent {"connection_id":161518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:39:46] local.INFO: TCP Data received {"connection_id":162940,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:39:46] local.INFO: Processing buffer {"connection_id":162940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:39:46] local.INFO: IMEI packet received {"connection_id":162940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":162940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:39:51] local.INFO: TCP Data received {"connection_id":162940,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:39:51] local.INFO: Processing buffer {"connection_id":162940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:39:51] local.INFO: IMEI packet received {"connection_id":162940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":162940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:39:52] local.INFO: TCP Data received {"connection_id":162940,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:39:52] local.INFO: Processing buffer {"connection_id":162940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:39:52] local.INFO: Packet analysis {"connection_id":162940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:39:52] local.INFO: Extracted packet for processing {"connection_id":162940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 08:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588277248001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787454508000,"timestamp_ms":1787454508000,"timestamp_seconds":1787454508,"priority":1,"record_length":96,"hex_timestamp":"000001a02c974be0"} 
[2026-08-23 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-08-23 08:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:39:52] 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-08-23 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-08-23 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-08-23 08:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588277248001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588277248001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:39:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:39:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588277248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":162940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:39:52] local.INFO: GPS data processed {"connection_id":162940,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:39:52] local.INFO: Acknowledgment sent {"connection_id":162940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:40:05] local.INFO: TCP Data received {"connection_id":160563,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:40:05] local.INFO: Processing buffer {"connection_id":160563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:40:05] local.INFO: IMEI packet received {"connection_id":160563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":160563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:40:06] local.INFO: TCP Data received {"connection_id":160563,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:40:06] local.INFO: Processing buffer {"connection_id":160563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:40:06] local.INFO: IMEI packet received {"connection_id":160563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":160563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:40:07] local.INFO: TCP Data received {"connection_id":162939,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c974be0012d1967c0071feea80038011d27..."} 
[2026-08-23 08:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c974be0012d1967c0071feea80038011d27..."} 
[2026-08-23 08:40:07] local.INFO: Processing buffer {"connection_id":162939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c974be0012d1967c0071feea80038011d27..."} 
[2026-08-23 08:40:07] local.INFO: Packet analysis {"connection_id":162939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:40:07] local.INFO: Extracted packet for processing {"connection_id":162939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588348672001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787454508000,"timestamp_ms":1787454508000,"timestamp_seconds":1787454508,"priority":1,"record_length":96,"hex_timestamp":"000001a02c974be0"} 
[2026-08-23 08:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-23 08:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588348672001,"66":13015,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588348672001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:40:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:40:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588348672001,"power":13015,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":162939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:40:07] local.INFO: GPS data processed {"connection_id":162939,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:40:07] local.INFO: Acknowledgment sent {"connection_id":162939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:40:12] local.INFO: TCP Data received {"connection_id":160563,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:40:12] local.INFO: Processing buffer {"connection_id":160563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:40:12] local.INFO: IMEI packet received {"connection_id":160563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":160563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:40:12] local.INFO: TCP Data received {"connection_id":160563,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c97b940012d7bec0005dc3ee0000000b224..."} 
[2026-08-23 08:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c97b940012d7bec0005dc3ee0000000b224..."} 
[2026-08-23 08:40:12] local.INFO: Processing buffer {"connection_id":160563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c97b940012d7bec0005dc3ee0000000b224..."} 
[2026-08-23 08:40:12] local.INFO: Packet analysis {"connection_id":160563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:40:12] local.INFO: Extracted packet for processing {"connection_id":160563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:40:12] local.INFO: GPS Element Parsed {"raw_longitude":763096064,"raw_latitude":98320096,"longitude_deg":76.3096064,"latitude_deg":9.8320096,"altitude":0,"angle":178,"satellites":36,"speed":48,"hex_longitude":"2d7bec00","hex_latitude":"05dc3ee0","is_valid_coordinates":true} 
[2026-08-23 08:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588359168001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122538788504207360,"note":"Value kept but may cause issues"} 
[2026-08-23 08:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929371448852963328,"note":"Value kept but may cause issues"} 
[2026-08-23 08:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787454536000,"timestamp_ms":1787454536000,"timestamp_seconds":1787454536,"priority":1,"record_length":96,"hex_timestamp":"000001a02c97b940"} 
[2026-08-23 08:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-23 08:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588359168001,"66":12776,"169":206,"85":15104,"24":48,"16":122538788504207360,"45":8929371448852963328},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-23 08:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588359168001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:40:12] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-23 08:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122538788504207360,"km_value":122538788504207.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929371448852963328,"description":"Unknown IO ID 45"} 
[2026-08-23 08:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588359168001,"power":12776,"unknown_169":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8929371448852963328}} 
[2026-08-23 08:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":160563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685368,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:40:13] local.INFO: GPS data processed {"connection_id":160563,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:40:13] local.INFO: Acknowledgment sent {"connection_id":160563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:40:23] local.INFO: TCP Data received {"connection_id":162940,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:40:23] local.INFO: Processing buffer {"connection_id":162940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:40:23] local.INFO: Packet analysis {"connection_id":162940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:40:23] local.INFO: Extracted packet for processing {"connection_id":162940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:40:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 08:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588277248001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787454508000,"timestamp_ms":1787454508000,"timestamp_seconds":1787454508,"priority":1,"record_length":96,"hex_timestamp":"000001a02c974be0"} 
[2026-08-23 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-08-23 08:40: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-08-23 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 08:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588277248001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588277248001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:40:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:40:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588277248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":162940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:40:23] local.INFO: GPS data processed {"connection_id":162940,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:40:23] local.INFO: Acknowledgment sent {"connection_id":162940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:40:30] local.INFO: TCP Data received {"connection_id":160356,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:40:30] local.INFO: Processing buffer {"connection_id":160356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:40:30] local.INFO: IMEI packet received {"connection_id":160356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":160356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:40:31] local.INFO: TCP Data received {"connection_id":160356,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:40:31] local.INFO: Processing buffer {"connection_id":160356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:40:31] local.INFO: IMEI packet received {"connection_id":160356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":160356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:40:35] local.INFO: TCP Data received {"connection_id":160356,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:40:35] local.INFO: Processing buffer {"connection_id":160356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:40:35] local.INFO: IMEI packet received {"connection_id":160356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":160356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:40:36] local.INFO: TCP Data received {"connection_id":160356,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c979de8012d1967c0071feea80038011d28..."} 
[2026-08-23 08:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c979de8012d1967c0071feea80038011d28..."} 
[2026-08-23 08:40:36] local.INFO: Processing buffer {"connection_id":160356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c979de8012d1967c0071feea80038011d28..."} 
[2026-08-23 08:40:36] local.INFO: Packet analysis {"connection_id":160356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:40:36] local.INFO: Extracted packet for processing {"connection_id":160356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:40:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588354048001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787454529000,"timestamp_ms":1787454529000,"timestamp_seconds":1787454529,"priority":1,"record_length":96,"hex_timestamp":"000001a02c979de8"} 
[2026-08-23 08:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 08:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588354048001,"66":12972,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588354048001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:40:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:40:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588354048001,"power":12972,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":160356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:40:36] local.INFO: GPS data processed {"connection_id":160356,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:40:36] local.INFO: Acknowledgment sent {"connection_id":160356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:40:44] local.INFO: TCP Data received {"connection_id":160563,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c97d880012d7bed8005dc19e0000000b123..."} 
[2026-08-23 08:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c97d880012d7bed8005dc19e0000000b123..."} 
[2026-08-23 08:40:44] local.INFO: Processing buffer {"connection_id":160563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c97d880012d7bed8005dc19e0000000b123..."} 
[2026-08-23 08:40:44] local.INFO: Packet analysis {"connection_id":160563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:40:44] local.INFO: Extracted packet for processing {"connection_id":160563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:40:44] local.INFO: GPS Element Parsed {"raw_longitude":763096448,"raw_latitude":98310624,"longitude_deg":76.3096448,"latitude_deg":9.8310624,"altitude":0,"angle":177,"satellites":35,"speed":44,"hex_longitude":"2d7bed80","hex_latitude":"05dc19e0","is_valid_coordinates":true} 
[2026-08-23 08:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588361216001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122539248065708032,"note":"Value kept but may cause issues"} 
[2026-08-23 08:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929512186338795520,"note":"Value kept but may cause issues"} 
[2026-08-23 08:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787454544000,"timestamp_ms":1787454544000,"timestamp_seconds":1787454544,"priority":1,"record_length":96,"hex_timestamp":"000001a02c97d880"} 
[2026-08-23 08:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:40:44] local.INFO: 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-08-23 08:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-23 08:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588361216001,"66":13135,"168":206,"85":15104,"24":44,"16":122539248065708032,"45":8929512186338795520},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-23 08:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588361216001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:40:44] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-23 08:40:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122539248065708032,"km_value":122539248065708.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929512186338795520,"description":"Unknown IO ID 45"} 
[2026-08-23 08:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588361216001,"power":13135,"unknown_168":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8929512186338795520}} 
[2026-08-23 08:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":160563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:40:44] local.INFO: GPS data processed {"connection_id":160563,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:40:44] local.INFO: Acknowledgment sent {"connection_id":160563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:40:52] local.INFO: TCP Data received {"connection_id":162941,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:40:52] local.INFO: Processing buffer {"connection_id":162941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:40:52] local.INFO: IMEI packet received {"connection_id":162941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":162941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:40:57] local.INFO: TCP Data received {"connection_id":162941,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:40:57] local.INFO: Processing buffer {"connection_id":162941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:40:57] local.INFO: IMEI packet received {"connection_id":162941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":162941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:40:58] local.INFO: TCP Data received {"connection_id":162941,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:40:58] local.INFO: Processing buffer {"connection_id":162941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:40:58] local.INFO: Packet analysis {"connection_id":162941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:40:58] local.INFO: Extracted packet for processing {"connection_id":162941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:40:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588277248001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787454508000,"timestamp_ms":1787454508000,"timestamp_seconds":1787454508,"priority":1,"record_length":96,"hex_timestamp":"000001a02c974be0"} 
[2026-08-23 08:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588277248001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588277248001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:40:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:40:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588277248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":162941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:40:58] local.INFO: GPS data processed {"connection_id":162941,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:40:58] local.INFO: Acknowledgment sent {"connection_id":162941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:41:02] local.INFO: TCP Data received {"connection_id":162941,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:41:02] local.INFO: Processing buffer {"connection_id":162941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:41:02] local.INFO: Packet analysis {"connection_id":162941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:41:02] local.INFO: Extracted packet for processing {"connection_id":162941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:41:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588277248001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787454508000,"timestamp_ms":1787454508000,"timestamp_seconds":1787454508,"priority":1,"record_length":96,"hex_timestamp":"000001a02c974be0"} 
[2026-08-23 08:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:41:02] 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-08-23 08: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-08-23 08:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588277248001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588277248001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:41:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:41:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588277248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":162941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:41:02] local.INFO: GPS data processed {"connection_id":162941,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:41:02] local.INFO: Acknowledgment sent {"connection_id":162941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:41:07] local.INFO: TCP Data received {"connection_id":160357,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:41:07] local.INFO: Processing buffer {"connection_id":160357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:41:07] local.INFO: IMEI packet received {"connection_id":160357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":160357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:41:07] local.INFO: TCP Data received {"connection_id":160356,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c97eff0012d1967c0071feea80038011d27..."} 
[2026-08-23 08:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c97eff0012d1967c0071feea80038011d27..."} 
[2026-08-23 08:41:07] local.INFO: Processing buffer {"connection_id":160356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c97eff0012d1967c0071feea80038011d27..."} 
[2026-08-23 08:41:07] local.INFO: Packet analysis {"connection_id":160356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:41:07] local.INFO: Extracted packet for processing {"connection_id":160356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588359424001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787454550000,"timestamp_ms":1787454550000,"timestamp_seconds":1787454550,"priority":1,"record_length":96,"hex_timestamp":"000001a02c97eff0"} 
[2026-08-23 08:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 08:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588359424001,"66":13004,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588359424001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:41:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:41:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588359424001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":160356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:41:08] local.INFO: GPS data processed {"connection_id":160356,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:41:08] local.INFO: Acknowledgment sent {"connection_id":160356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:41:08] local.INFO: TCP Data received {"connection_id":160357,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:41:08] local.INFO: Processing buffer {"connection_id":160357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:41:08] local.INFO: IMEI packet received {"connection_id":160357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":160357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:41:12] local.INFO: TCP Data received {"connection_id":160357,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:41:12] local.INFO: Processing buffer {"connection_id":160357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:41:12] local.INFO: IMEI packet received {"connection_id":160357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":160357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:41:12] local.INFO: TCP Data received {"connection_id":160357,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c993fe0012d7c494005da8f18000000a121..."} 
[2026-08-23 08:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c993fe0012d7c494005da8f18000000a121..."} 
[2026-08-23 08:41:12] local.INFO: Processing buffer {"connection_id":160357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c993fe0012d7c494005da8f18000000a121..."} 
[2026-08-23 08:41:12] local.INFO: Packet analysis {"connection_id":160357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c99"} 
[2026-08-23 08:41:12] local.INFO: Extracted packet for processing {"connection_id":160357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c99"} 
[2026-08-23 08:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763119936,"raw_latitude":98209560,"longitude_deg":76.3119936,"latitude_deg":9.820956,"altitude":0,"angle":161,"satellites":33,"speed":44,"hex_longitude":"2d7c4940","hex_latitude":"05da8f18","is_valid_coordinates":true} 
[2026-08-23 08:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588384768001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122544290357313536,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952382028170563584,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787454636000,"timestamp_ms":1787454636000,"timestamp_seconds":1787454636,"priority":1,"record_length":96,"hex_timestamp":"000001a02c993fe0"} 
[2026-08-23 08:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-23 08:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588384768001,"66":12885,"187":206,"85":15104,"24":44,"16":122544290357313536,"45":8952382028170563584},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-23 08:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588384768001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:41:12] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 08:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122544290357313536,"km_value":122544290357313.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952382028170563584,"description":"Unknown IO ID 45"} 
[2026-08-23 08:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588384768001,"power":12885,"unknown_187":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8952382028170563584}} 
[2026-08-23 08:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":160357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:41:12] local.INFO: GPS data processed {"connection_id":160357,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:41:12] local.INFO: Acknowledgment sent {"connection_id":160357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:41:31] local.INFO: TCP Data received {"connection_id":162942,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:41:31] local.INFO: Processing buffer {"connection_id":162942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:41:31] local.INFO: IMEI packet received {"connection_id":162942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":162942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:41:33] local.INFO: TCP Data received {"connection_id":162942,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:41:33] local.INFO: Processing buffer {"connection_id":162942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:41:33] local.INFO: IMEI packet received {"connection_id":162942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":162942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:41:35] local.INFO: TCP Data received {"connection_id":162942,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:41:35] local.INFO: Processing buffer {"connection_id":162942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:41:35] local.INFO: IMEI packet received {"connection_id":162942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":162942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:41:36] local.INFO: TCP Data received {"connection_id":162942,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9841f8012d1967c0071feea80038011d27..."} 
[2026-08-23 08:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9841f8012d1967c0071feea80038011d27..."} 
[2026-08-23 08:41:36] local.INFO: Processing buffer {"connection_id":162942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9841f8012d1967c0071feea80038011d27..."} 
[2026-08-23 08:41:36] local.INFO: Packet analysis {"connection_id":162942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c98"} 
[2026-08-23 08:41:36] local.INFO: Extracted packet for processing {"connection_id":162942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c98"} 
[2026-08-23 08:41:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588364800001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787454571000,"timestamp_ms":1787454571000,"timestamp_seconds":1787454571,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9841f8"} 
[2026-08-23 08:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-23 08:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588364800001,"66":12939,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588364800001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:41:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:41:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588364800001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":162942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:41:36] local.INFO: GPS data processed {"connection_id":162942,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:41:36] local.INFO: Acknowledgment sent {"connection_id":162942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:41:40] local.INFO: TCP Data received {"connection_id":162942,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c989400012d1967c0071feea80038011d29..."} 
[2026-08-23 08:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c989400012d1967c0071feea80038011d29..."} 
[2026-08-23 08:41:40] local.INFO: Processing buffer {"connection_id":162942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c989400012d1967c0071feea80038011d29..."} 
[2026-08-23 08:41:40] local.INFO: Packet analysis {"connection_id":162942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c98"} 
[2026-08-23 08:41:40] local.INFO: Extracted packet for processing {"connection_id":162942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c98"} 
[2026-08-23 08:41:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588370176001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787454592000,"timestamp_ms":1787454592000,"timestamp_seconds":1787454592,"priority":1,"record_length":96,"hex_timestamp":"000001a02c989400"} 
[2026-08-23 08:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-23 08:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":162942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":162942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":162942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588370176001,"66":12928,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588370176001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:41:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:41:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588370176001,"power":12928,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":162942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:41:40] local.INFO: GPS data processed {"connection_id":162942,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:41:40] local.INFO: Acknowledgment sent {"connection_id":162942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:41:43] local.INFO: TCP Data received {"connection_id":160357,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9a35f8012d7c800005d977380000011e1c..."} 
[2026-08-23 08:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9a35f8012d7c800005d977380000011e1c..."} 
[2026-08-23 08:41:43] local.INFO: Processing buffer {"connection_id":160357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9a35f8012d7c800005d977380000011e1c..."} 
[2026-08-23 08:41:43] local.INFO: Packet analysis {"connection_id":160357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9a"} 
[2026-08-23 08:41:43] local.INFO: Extracted packet for processing {"connection_id":160357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9a"} 
[2026-08-23 08:41:43] local.INFO: GPS Element Parsed {"raw_longitude":763133952,"raw_latitude":98137912,"longitude_deg":76.3133952,"latitude_deg":9.8137912,"altitude":0,"angle":286,"satellites":28,"speed":11,"hex_longitude":"2d7c8000","hex_latitude":"05d97738","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588402688001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122547893834874880,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971451957822031872,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:43] 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-08-23 08:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787454699000,"timestamp_ms":1787454699000,"timestamp_seconds":1787454699,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9a35f8"} 
[2026-08-23 08:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:41:43] local.INFO: 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-08-23 08: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-23 08:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277600456911244136,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2582108161,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:43] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3049783296,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-08-23 08:41:43] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2147560828,"corrected_to":0} 
[2026-08-23 08:41:43] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2147867099,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3657484288,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":57885692328301883,"corrected_to":0} 
[2026-08-23 08:41:43] local.WARNING: Large IO value detected {"io_id":153,"raw_value":-7651614472029913083,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:43] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2769713770843676416,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:43] local.WARNING: Large IO value detected {"io_id":57,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:43] local.WARNING: Large IO value detected {"io_id":166,"raw_value":-4971747123159623680,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:43] local.WARNING: Large IO value detected {"io_id":88,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:43] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,245,85,24,241,157,16,96,160,46,45,128,118,27,10,66,38,120,25,3,64,1,240,117,227,44,217,4,113,205,54,204,122,168,34,239,52,187,2,179,5,200,153,218,57,166,88],"length":626,"final_offset":756,"validated_count":47,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0},{"io_id":204,"original":2147560828,"validated":0},{"io_id":200,"original":57885692328301883,"validated":0}]} 
[2026-08-23 08:41:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":298083615834112,"timestamp_seconds":298083615834.112,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 08:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588402688001,"66":12135,"245":206,"85":15104,"24":11,"16":122547893834874880,"45":8971451957822031872},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588402688001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:41:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122547893834874880,"km_value":122547893834874.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971451957822031872,"description":"Unknown IO ID 45"} 
[2026-08-23 08:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588402688001,"power":12135,"geofence_id":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8971451957822031872}} 
[2026-08-23 08:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":160357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:41:43] local.INFO: GPS data processed {"connection_id":160357,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:41:43] local.INFO: Acknowledgment sent {"connection_id":160357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:41:47] local.INFO: TCP Data received {"connection_id":162943,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:41:47] local.INFO: Processing buffer {"connection_id":162943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:41:47] local.INFO: IMEI packet received {"connection_id":162943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":162943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:41:52] local.INFO: TCP Data received {"connection_id":162943,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:41:52] local.INFO: Processing buffer {"connection_id":162943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:41:52] local.INFO: IMEI packet received {"connection_id":162943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":162943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:41:54] local.INFO: TCP Data received {"connection_id":162943,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:41:54] local.INFO: Processing buffer {"connection_id":162943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:41:54] local.INFO: Packet analysis {"connection_id":162943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:41:54] local.INFO: Extracted packet for processing {"connection_id":162943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:41:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588277248001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787454508000,"timestamp_ms":1787454508000,"timestamp_seconds":1787454508,"priority":1,"record_length":96,"hex_timestamp":"000001a02c974be0"} 
[2026-08-23 08:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:41: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-08-23 08:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:41:54] 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-08-23 08:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:41:54] 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-08-23 08:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588277248001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588277248001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:41:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:41:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588277248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":162943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:41:54] local.INFO: GPS data processed {"connection_id":162943,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:41:54] local.INFO: Acknowledgment sent {"connection_id":162943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:42:06] local.INFO: TCP Data received {"connection_id":160358,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:42:06] local.INFO: Processing buffer {"connection_id":160358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:42:06] local.INFO: IMEI packet received {"connection_id":160358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":160358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:42:11] local.INFO: TCP Data received {"connection_id":162942,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c98e608012d1967c0071feea80038011d27..."} 
[2026-08-23 08:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c98e608012d1967c0071feea80038011d27..."} 
[2026-08-23 08:42:11] local.INFO: Processing buffer {"connection_id":162942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c98e608012d1967c0071feea80038011d27..."} 
[2026-08-23 08:42:11] local.INFO: Packet analysis {"connection_id":162942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c98"} 
[2026-08-23 08:42:11] local.INFO: Extracted packet for processing {"connection_id":162942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c98"} 
[2026-08-23 08:42:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588375552001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787454613000,"timestamp_ms":1787454613000,"timestamp_seconds":1787454613,"priority":1,"record_length":96,"hex_timestamp":"000001a02c98e608"} 
[2026-08-23 08:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-23 08:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":162942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":162942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":162942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588375552001,"66":12950,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588375552001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:42:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:42:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588375552001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":162942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:42:11] local.INFO: GPS data processed {"connection_id":162942,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:42:11] local.INFO: Acknowledgment sent {"connection_id":162942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:42:12] local.INFO: TCP Data received {"connection_id":160358,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:42:12] local.INFO: Processing buffer {"connection_id":160358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:42:12] local.INFO: IMEI packet received {"connection_id":160358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":160358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:42:12] local.INFO: TCP Data received {"connection_id":160358,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9a39e0012d7c7ec005d977f80000012d1f..."} 
[2026-08-23 08:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9a39e0012d7c7ec005d977f80000012d1f..."} 
[2026-08-23 08:42:12] local.INFO: Processing buffer {"connection_id":160358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9a39e0012d7c7ec005d977f80000012d1f..."} 
[2026-08-23 08:42:12] local.INFO: Packet analysis {"connection_id":160358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9a"} 
[2026-08-23 08:42:12] local.INFO: Extracted packet for processing {"connection_id":160358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9a"} 
[2026-08-23 08:42:12] local.INFO: GPS Element Parsed {"raw_longitude":763133632,"raw_latitude":98138104,"longitude_deg":76.3133632,"latitude_deg":9.8138104,"altitude":0,"angle":301,"satellites":31,"speed":13,"hex_longitude":"2d7c7ec0","hex_latitude":"05d977f8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588402944001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122547911014744064,"note":"Value kept but may cause issues"} 
[2026-08-23 08:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971170482845333504,"note":"Value kept but may cause issues"} 
[2026-08-23 08:42:12] 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-08-23 08:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787454700000,"timestamp_ms":1787454700000,"timestamp_seconds":1787454700,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9a39e0"} 
[2026-08-23 08:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-23 08:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588402944001,"66":12135,"245":206,"85":15104,"24":13,"16":122547911014744064,"45":8971170482845333504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588402944001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:42:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122547911014744064,"km_value":122547911014744.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971170482845333504,"description":"Unknown IO ID 45"} 
[2026-08-23 08:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588402944001,"power":12135,"geofence_id":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8971170482845333504}} 
[2026-08-23 08:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":160358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:42:12] local.INFO: GPS data processed {"connection_id":160358,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:42:12] local.INFO: Acknowledgment sent {"connection_id":160358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:42:25] local.INFO: TCP Data received {"connection_id":162943,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:42:25] local.INFO: Processing buffer {"connection_id":162943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:42:25] local.INFO: Packet analysis {"connection_id":162943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:42:25] local.INFO: Extracted packet for processing {"connection_id":162943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:42:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588277248001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787454508000,"timestamp_ms":1787454508000,"timestamp_seconds":1787454508,"priority":1,"record_length":96,"hex_timestamp":"000001a02c974be0"} 
[2026-08-23 08:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:42:25] 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-08-23 08:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588277248001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588277248001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:42:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:42:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588277248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":162943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:42:25] local.INFO: GPS data processed {"connection_id":162943,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:42:25] local.INFO: Acknowledgment sent {"connection_id":162943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:42:30] local.INFO: TCP Data received {"connection_id":162944,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:42:30] local.INFO: Processing buffer {"connection_id":162944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:42:30] local.INFO: IMEI packet received {"connection_id":162944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":162944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:42:35] local.INFO: TCP Data received {"connection_id":162944,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:42:35] local.INFO: Processing buffer {"connection_id":162944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:42:35] local.INFO: IMEI packet received {"connection_id":162944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":162944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:42:36] local.INFO: TCP Data received {"connection_id":162944,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c993810012d1967c0071feea80038011d27..."} 
[2026-08-23 08:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c993810012d1967c0071feea80038011d27..."} 
[2026-08-23 08:42:36] local.INFO: Processing buffer {"connection_id":162944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c993810012d1967c0071feea80038011d27..."} 
[2026-08-23 08:42:36] local.INFO: Packet analysis {"connection_id":162944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c99"} 
[2026-08-23 08:42:36] local.INFO: Extracted packet for processing {"connection_id":162944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c99"} 
[2026-08-23 08:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588380928001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787454634000,"timestamp_ms":1787454634000,"timestamp_seconds":1787454634,"priority":1,"record_length":96,"hex_timestamp":"000001a02c993810"} 
[2026-08-23 08:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 08:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588380928001,"66":12939,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588380928001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:42:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:42:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588380928001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":162944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:42:36] local.INFO: GPS data processed {"connection_id":162944,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:42:36] local.INFO: Acknowledgment sent {"connection_id":162944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:42:43] local.INFO: TCP Data received {"connection_id":160358,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9a3dc8012d7c7e0005d97938000001391f..."} 
[2026-08-23 08:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9a3dc8012d7c7e0005d97938000001391f..."} 
[2026-08-23 08:42:43] local.INFO: Processing buffer {"connection_id":160358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9a3dc8012d7c7e0005d97938000001391f..."} 
[2026-08-23 08:42:43] local.INFO: Packet analysis {"connection_id":160358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9a"} 
[2026-08-23 08:42:43] local.INFO: Extracted packet for processing {"connection_id":160358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9a"} 
[2026-08-23 08:42:43] local.INFO: GPS Element Parsed {"raw_longitude":763133440,"raw_latitude":98138424,"longitude_deg":76.313344,"latitude_deg":9.8138424,"altitude":0,"angle":313,"satellites":31,"speed":13,"hex_longitude":"2d7c7e00","hex_latitude":"05d97938","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588403200001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122547928194613248,"note":"Value kept but may cause issues"} 
[2026-08-23 08:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970818639124494336,"note":"Value kept but may cause issues"} 
[2026-08-23 08:42:43] 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-08-23 08:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787454701000,"timestamp_ms":1787454701000,"timestamp_seconds":1787454701,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9a3dc8"} 
[2026-08-23 08:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:42:43] local.INFO: 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-08-23 08: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-23 08:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588403200001,"66":12841,"245":206,"85":15104,"24":13,"16":122547928194613248,"45":8970818639124494336},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588403200001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:42:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122547928194613248,"km_value":122547928194613.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970818639124494336,"description":"Unknown IO ID 45"} 
[2026-08-23 08:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588403200001,"power":12841,"geofence_id":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8970818639124494336}} 
[2026-08-23 08:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":160358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:42:44] local.INFO: GPS data processed {"connection_id":160358,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:42:44] local.INFO: Acknowledgment sent {"connection_id":160358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:42:47] local.INFO: TCP Data received {"connection_id":160359,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:42:47] local.INFO: Processing buffer {"connection_id":160359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:42:47] local.INFO: IMEI packet received {"connection_id":160359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":160359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:42:52] local.INFO: TCP Data received {"connection_id":160359,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:42:52] local.INFO: Processing buffer {"connection_id":160359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:42:52] local.INFO: IMEI packet received {"connection_id":160359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":160359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:42:54] local.INFO: TCP Data received {"connection_id":160359,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:42:54] local.INFO: Processing buffer {"connection_id":160359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:42:54] local.INFO: Packet analysis {"connection_id":160359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:42:54] local.INFO: Extracted packet for processing {"connection_id":160359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:42:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588277248001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787454508000,"timestamp_ms":1787454508000,"timestamp_seconds":1787454508,"priority":1,"record_length":96,"hex_timestamp":"000001a02c974be0"} 
[2026-08-23 08:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:42: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-08-23 08:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:42:54] 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-08-23 08:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:42:54] 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-08-23 08:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588277248001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588277248001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:42:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:42:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588277248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":160359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:42:54] local.INFO: GPS data processed {"connection_id":160359,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:42:54] local.INFO: Acknowledgment sent {"connection_id":160359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:43:06] local.INFO: TCP Data received {"connection_id":160564,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160564,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:43:06] local.INFO: Processing buffer {"connection_id":160564,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:43:06] local.INFO: IMEI packet received {"connection_id":160564,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":160564,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:43:07] local.INFO: TCP Data received {"connection_id":162944,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c998a18012d1967c0071feea80038011d27..."} 
[2026-08-23 08:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c998a18012d1967c0071feea80038011d27..."} 
[2026-08-23 08:43:07] local.INFO: Processing buffer {"connection_id":162944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c998a18012d1967c0071feea80038011d27..."} 
[2026-08-23 08:43:07] local.INFO: Packet analysis {"connection_id":162944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c99"} 
[2026-08-23 08:43:07] local.INFO: Extracted packet for processing {"connection_id":162944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c99"} 
[2026-08-23 08:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588386304001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787454655000,"timestamp_ms":1787454655000,"timestamp_seconds":1787454655,"priority":1,"record_length":96,"hex_timestamp":"000001a02c998a18"} 
[2026-08-23 08:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-23 08:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588386304001,"66":12885,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588386304001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:43:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:43:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588386304001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":162944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:43:07] local.INFO: GPS data processed {"connection_id":162944,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:43:07] local.INFO: Acknowledgment sent {"connection_id":162944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:43:10] local.INFO: TCP Data received {"connection_id":160564,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160564,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:43:10] local.INFO: Processing buffer {"connection_id":160564,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:43:10] local.INFO: IMEI packet received {"connection_id":160564,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":160564,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:43:11] local.INFO: TCP Data received {"connection_id":160564,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160564,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:43:11] local.INFO: Processing buffer {"connection_id":160564,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:43:11] local.INFO: IMEI packet received {"connection_id":160564,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":160564,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:43:12] local.INFO: TCP Data received {"connection_id":160564,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9b6e78012d7c32c005d989100004014625..."} 
[2026-08-23 08:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9b6e78012d7c32c005d989100004014625..."} 
[2026-08-23 08:43:12] local.INFO: Processing buffer {"connection_id":160564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9b6e78012d7c32c005d989100004014625..."} 
[2026-08-23 08:43:12] local.INFO: Packet analysis {"connection_id":160564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:43:12] local.INFO: Extracted packet for processing {"connection_id":160564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:43:12] local.INFO: GPS Element Parsed {"raw_longitude":763114176,"raw_latitude":98142480,"longitude_deg":76.3114176,"latitude_deg":9.814248,"altitude":4,"angle":326,"satellites":37,"speed":6,"hex_longitude":"2d7c32c0","hex_latitude":"05d98910","is_valid_coordinates":true} 
[2026-08-23 08:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588423168001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549186620030976,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949567278383929344,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:12] 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-08-23 08:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787454779000,"timestamp_ms":1787454779000,"timestamp_seconds":1787454779,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9b6e78"} 
[2026-08-23 08:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-23 08:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1008806316698764288,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:12] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2936012800,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:12] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-7320390083000108544,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:12] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2511339520,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2834628814,"corrected_to":0} 
[2026-08-23 08:43:12] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3087084924,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:12] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6845245308054483371,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2769089248228191462,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:12] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:12] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,245,85,24,241,157,16,97,160,102,45,136,4,37,10,66,79,192,34,20,64,1,240,227,44,217,113,205,18,147,116,208,29,239,50,2,179,5,6,59],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2834628814,"validated":0}]} 
[2026-08-23 08:43:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288568085135687680,"timestamp_seconds":288568085135687.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 08:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588423168001,"66":12428,"245":206,"85":15104,"24":6,"16":122549186620030976,"45":8949567278383929344},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588423168001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:43:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549186620030976,"km_value":122549186620030.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949567278383929344,"description":"Unknown IO ID 45"} 
[2026-08-23 08:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588423168001,"power":12428,"geofence_id":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8949567278383929344}} 
[2026-08-23 08:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":160564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:43:12] local.INFO: GPS data processed {"connection_id":160564,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:43:12] local.INFO: Acknowledgment sent {"connection_id":160564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:43:13] local.INFO: TCP Data received {"connection_id":160564,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9b7648012d7c328005d98a280005015527..."} 
[2026-08-23 08:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9b7648012d7c328005d98a280005015527..."} 
[2026-08-23 08:43:13] local.INFO: Processing buffer {"connection_id":160564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9b7648012d7c328005d98a280005015527..."} 
[2026-08-23 08:43:13] local.INFO: Packet analysis {"connection_id":160564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:43:13] local.INFO: Extracted packet for processing {"connection_id":160564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:43:13] local.INFO: GPS Element Parsed {"raw_longitude":763114112,"raw_latitude":98142760,"longitude_deg":76.3114112,"latitude_deg":9.814276,"altitude":5,"angle":341,"satellites":39,"speed":4,"hex_longitude":"2d7c3280","hex_latitude":"05d98a28","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588423424001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549199504932864,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949426540895604736,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43: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-08-23 08:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787454781000,"timestamp_ms":1787454781000,"timestamp_seconds":1787454781,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9b7648"} 
[2026-08-23 08:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 08:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588423424001,"66":12211,"245":206,"85":15104,"24":4,"16":122549199504932864,"45":8949426540895604736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588423424001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:43:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549199504932864,"km_value":122549199504932.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949426540895604736,"description":"Unknown IO ID 45"} 
[2026-08-23 08:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588423424001,"power":12211,"geofence_id":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8949426540895604736}} 
[2026-08-23 08:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":160564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:43:13] local.INFO: GPS data processed {"connection_id":160564,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:43:13] local.INFO: Acknowledgment sent {"connection_id":160564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:43:25] local.INFO: TCP Data received {"connection_id":160359,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:43:25] local.INFO: Processing buffer {"connection_id":160359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:43:25] local.INFO: Packet analysis {"connection_id":160359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:43:25] local.INFO: Extracted packet for processing {"connection_id":160359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:43:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588277248001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787454508000,"timestamp_ms":1787454508000,"timestamp_seconds":1787454508,"priority":1,"record_length":96,"hex_timestamp":"000001a02c974be0"} 
[2026-08-23 08:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:43:25] 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-08-23 08:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588277248001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588277248001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:43:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:43:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588277248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":160359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:43:25] local.INFO: GPS data processed {"connection_id":160359,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:43:25] local.INFO: Acknowledgment sent {"connection_id":160359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:43:30] local.INFO: TCP Data received {"connection_id":161519,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:43:30] local.INFO: Processing buffer {"connection_id":161519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:43:30] local.INFO: IMEI packet received {"connection_id":161519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":161519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:43:35] local.INFO: TCP Data received {"connection_id":161519,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:43:35] local.INFO: Processing buffer {"connection_id":161519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:43:35] local.INFO: IMEI packet received {"connection_id":161519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":161519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:43:36] local.INFO: TCP Data received {"connection_id":161519,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c99dc20012d1967c0071feea80038011d25..."} 
[2026-08-23 08:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c99dc20012d1967c0071feea80038011d25..."} 
[2026-08-23 08:43:36] local.INFO: Processing buffer {"connection_id":161519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c99dc20012d1967c0071feea80038011d25..."} 
[2026-08-23 08:43:36] local.INFO: Packet analysis {"connection_id":161519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c99"} 
[2026-08-23 08:43:36] local.INFO: Extracted packet for processing {"connection_id":161519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c99"} 
[2026-08-23 08:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588391680001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787454676000,"timestamp_ms":1787454676000,"timestamp_seconds":1787454676,"priority":1,"record_length":96,"hex_timestamp":"000001a02c99dc20"} 
[2026-08-23 08:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-23 08:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588391680001,"66":12885,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588391680001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:43:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:43:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588391680001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":161519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:43:36] local.INFO: GPS data processed {"connection_id":161519,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:43:36] local.INFO: Acknowledgment sent {"connection_id":161519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:43:44] local.INFO: TCP Data received {"connection_id":160564,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9b7a30012d7c320005d98a700005000227..."} 
[2026-08-23 08:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9b7a30012d7c320005d98a700005000227..."} 
[2026-08-23 08:43:44] local.INFO: Processing buffer {"connection_id":160564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9b7a30012d7c320005d98a700005000227..."} 
[2026-08-23 08:43:44] local.INFO: Packet analysis {"connection_id":160564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:43:44] local.INFO: Extracted packet for processing {"connection_id":160564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:43:44] local.INFO: GPS Element Parsed {"raw_longitude":763113984,"raw_latitude":98142832,"longitude_deg":76.3113984,"latitude_deg":9.8142832,"altitude":5,"angle":2,"satellites":39,"speed":0,"hex_longitude":"2d7c3200","hex_latitude":"05d98a70","is_valid_coordinates":true} 
[2026-08-23 08:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588423936001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549208094867456,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949356172151498752,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43: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-08-23 08:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787454782000,"timestamp_ms":1787454782000,"timestamp_seconds":1787454782,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9b7a30"} 
[2026-08-23 08:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-23 08:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588423936001,"66":12211,"245":206,"85":15104,"24":0,"16":122549208094867456,"45":8949356172151498752},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588423936001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:43:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549208094867456,"km_value":122549208094867.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949356172151498752,"description":"Unknown IO ID 45"} 
[2026-08-23 08:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588423936001,"power":12211,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949356172151498752}} 
[2026-08-23 08:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":160564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:43:44] local.INFO: GPS data processed {"connection_id":160564,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:43:44] local.INFO: Acknowledgment sent {"connection_id":160564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:43:47] local.INFO: TCP Data received {"connection_id":162945,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:43:47] local.INFO: Processing buffer {"connection_id":162945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:43:47] local.INFO: IMEI packet received {"connection_id":162945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":162945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:43:52] local.INFO: TCP Data received {"connection_id":162945,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:43:52] local.INFO: Processing buffer {"connection_id":162945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:43:52] local.INFO: IMEI packet received {"connection_id":162945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":162945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:43:52] local.INFO: TCP Data received {"connection_id":162945,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:43:52] local.INFO: Processing buffer {"connection_id":162945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c974be0012d34c50006aa4098001200851d..."} 
[2026-08-23 08:43:52] local.INFO: Packet analysis {"connection_id":162945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:43:53] local.INFO: Extracted packet for processing {"connection_id":162945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c97"} 
[2026-08-23 08:43:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588277248001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787454508000,"timestamp_ms":1787454508000,"timestamp_seconds":1787454508,"priority":1,"record_length":96,"hex_timestamp":"000001a02c974be0"} 
[2026-08-23 08:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:43:53] 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-08-23 08:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:43:53] 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-08-23 08:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588277248001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588277248001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:43:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:43:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588277248001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":162945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:43:53] local.INFO: GPS data processed {"connection_id":162945,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:43:53] local.INFO: Acknowledgment sent {"connection_id":162945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:44:07] local.INFO: TCP Data received {"connection_id":161519,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9a2e28012d1967c0071feea80038011d27..."} 
[2026-08-23 08:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9a2e28012d1967c0071feea80038011d27..."} 
[2026-08-23 08:44:07] local.INFO: Processing buffer {"connection_id":161519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9a2e28012d1967c0071feea80038011d27..."} 
[2026-08-23 08:44:07] local.INFO: Packet analysis {"connection_id":161519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9a"} 
[2026-08-23 08:44:07] local.INFO: Extracted packet for processing {"connection_id":161519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9a"} 
[2026-08-23 08:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588397056001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787454697000,"timestamp_ms":1787454697000,"timestamp_seconds":1787454697,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9a2e28"} 
[2026-08-23 08:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-23 08:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588397056001,"66":12841,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588397056001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:44:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:44:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588397056001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":161519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:44:07] local.INFO: GPS data processed {"connection_id":161519,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:44:07] local.INFO: Acknowledgment sent {"connection_id":161519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:44:11] local.INFO: TCP Data received {"connection_id":161520,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:44:11] local.INFO: Processing buffer {"connection_id":161520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:44:11] local.INFO: IMEI packet received {"connection_id":161520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":161520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:44:17] local.INFO: TCP Data received {"connection_id":161520,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:44:17] local.INFO: Processing buffer {"connection_id":161520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:44:17] local.INFO: IMEI packet received {"connection_id":161520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":161520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:44:17] local.INFO: TCP Data received {"connection_id":161520,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9b91a0012d7c320005d989f8000500a328..."} 
[2026-08-23 08:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9b91a0012d7c320005d989f8000500a328..."} 
[2026-08-23 08:44:17] local.INFO: Processing buffer {"connection_id":161520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9b91a0012d7c320005d989f8000500a328..."} 
[2026-08-23 08:44:17] local.INFO: Packet analysis {"connection_id":161520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:44:17] local.INFO: Extracted packet for processing {"connection_id":161520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:44:17] local.INFO: GPS Element Parsed {"raw_longitude":763113984,"raw_latitude":98142712,"longitude_deg":76.3113984,"latitude_deg":9.8142712,"altitude":5,"angle":163,"satellites":40,"speed":3,"hex_longitude":"2d7c3200","hex_latitude":"05d989f8","is_valid_coordinates":true} 
[2026-08-23 08:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588424192001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549212389834752,"note":"Value kept but may cause issues"} 
[2026-08-23 08:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949215434663161856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:44:17] 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-08-23 08:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787454788000,"timestamp_ms":1787454788000,"timestamp_seconds":1787454788,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9b91a0"} 
[2026-08-23 08:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-23 08:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588424192001,"66":12765,"245":206,"85":15104,"24":3,"16":122549212389834752,"45":8949215434663161856},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588424192001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:44:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549212389834752,"km_value":122549212389834.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949215434663161856,"description":"Unknown IO ID 45"} 
[2026-08-23 08:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588424192001,"power":12765,"geofence_id":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8949215434663161856}} 
[2026-08-23 08:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":161520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:44:17] local.INFO: GPS data processed {"connection_id":161520,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:44:17] local.INFO: Acknowledgment sent {"connection_id":161520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:44:22] local.INFO: TCP Data received {"connection_id":161520,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9b9d58012d7c31c005d98910000500b127..."} 
[2026-08-23 08:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9b9d58012d7c31c005d98910000500b127..."} 
[2026-08-23 08:44:22] local.INFO: Processing buffer {"connection_id":161520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9b9d58012d7c31c005d98910000500b127..."} 
[2026-08-23 08:44:22] local.INFO: Packet analysis {"connection_id":161520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:44:22] local.INFO: Extracted packet for processing {"connection_id":161520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:44:22] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98142480,"longitude_deg":76.311392,"latitude_deg":9.814248,"altitude":5,"angle":177,"satellites":39,"speed":2,"hex_longitude":"2d7c31c0","hex_latitude":"05d98910","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588425728001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549225274736640,"note":"Value kept but may cause issues"} 
[2026-08-23 08:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949215434663131136,"note":"Value kept but may cause issues"} 
[2026-08-23 08:44:22] 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-08-23 08:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787454791000,"timestamp_ms":1787454791000,"timestamp_seconds":1787454791,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9b9d58"} 
[2026-08-23 08:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-23 08:44:22] 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-08-23 08: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-08-23 08:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588425728001,"66":12765,"245":206,"85":15104,"24":2,"16":122549225274736640,"45":8949215434663131136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588425728001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:44:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549225274736640,"km_value":122549225274736.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949215434663131136,"description":"Unknown IO ID 45"} 
[2026-08-23 08:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588425728001,"power":12765,"geofence_id":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8949215434663131136}} 
[2026-08-23 08:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":161520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:44:22] local.INFO: GPS data processed {"connection_id":161520,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:44:22] local.INFO: Acknowledgment sent {"connection_id":161520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:44:24] local.INFO: TCP Data received {"connection_id":162945,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:44:24] local.INFO: Processing buffer {"connection_id":162945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:44:24] local.INFO: Packet analysis {"connection_id":162945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:44:24] local.INFO: Extracted packet for processing {"connection_id":162945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:44:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588354048001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787454809000,"timestamp_ms":1787454809000,"timestamp_seconds":1787454809,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9be3a8"} 
[2026-08-23 08:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:44: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-08-23 08:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 08:44:24] 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-08-23 08:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:44:24] 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-08-23 08:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588354048001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588354048001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:44:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:44:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588354048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":162945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:44:24] local.INFO: GPS data processed {"connection_id":162945,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:44:24] local.INFO: Acknowledgment sent {"connection_id":162945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:44:35] local.INFO: TCP Data received {"connection_id":160565,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:44:35] local.INFO: Processing buffer {"connection_id":160565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:44:35] local.INFO: IMEI packet received {"connection_id":160565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":160565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:44:40] local.INFO: TCP Data received {"connection_id":160565,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:44:40] local.INFO: Processing buffer {"connection_id":160565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:44:40] local.INFO: IMEI packet received {"connection_id":160565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":160565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:44:40] local.INFO: TCP Data received {"connection_id":160565,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9a8030012d1967c0071feea80038011d28..."} 
[2026-08-23 08:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9a8030012d1967c0071feea80038011d28..."} 
[2026-08-23 08:44:40] local.INFO: Processing buffer {"connection_id":160565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9a8030012d1967c0071feea80038011d28..."} 
[2026-08-23 08:44:40] local.INFO: Packet analysis {"connection_id":160565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9a"} 
[2026-08-23 08:44:40] local.INFO: Extracted packet for processing {"connection_id":160565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9a"} 
[2026-08-23 08:44:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588402432001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787454718000,"timestamp_ms":1787454718000,"timestamp_seconds":1787454718,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9a8030"} 
[2026-08-23 08:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 08:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588402432001,"66":12863,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588402432001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:44:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:44:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588402432001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":160565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:44:41] local.INFO: GPS data processed {"connection_id":160565,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:44:41] local.INFO: Acknowledgment sent {"connection_id":160565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:44:42] local.INFO: TCP Data received {"connection_id":160565,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9ad238012d1967c0071feea80038011d28..."} 
[2026-08-23 08:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9ad238012d1967c0071feea80038011d28..."} 
[2026-08-23 08:44:42] local.INFO: Processing buffer {"connection_id":160565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9ad238012d1967c0071feea80038011d28..."} 
[2026-08-23 08:44:42] local.INFO: Packet analysis {"connection_id":160565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9a"} 
[2026-08-23 08:44:42] local.INFO: Extracted packet for processing {"connection_id":160565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9a"} 
[2026-08-23 08:44:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 08:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588407808001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787454739000,"timestamp_ms":1787454739000,"timestamp_seconds":1787454739,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9ad238"} 
[2026-08-23 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-08-23 08:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 08:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 08:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588407808001,"66":12841,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588407808001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:44:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:44:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588407808001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":160565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:44:42] local.INFO: GPS data processed {"connection_id":160565,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:44:42] local.INFO: Acknowledgment sent {"connection_id":160565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:44:46] local.INFO: TCP Data received {"connection_id":161521,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:44:46] local.INFO: Processing buffer {"connection_id":161521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:44:46] local.INFO: IMEI packet received {"connection_id":161521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":161521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:44:52] local.INFO: TCP Data received {"connection_id":161521,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:44:52] local.INFO: Processing buffer {"connection_id":161521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:44:52] local.INFO: IMEI packet received {"connection_id":161521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":161521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:44:53] local.INFO: TCP Data received {"connection_id":161521,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:44:53] local.INFO: Processing buffer {"connection_id":161521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:44:53] local.INFO: Packet analysis {"connection_id":161521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:44:53] local.INFO: Extracted packet for processing {"connection_id":161521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:44:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:44: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-08-23 08:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588354048001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787454809000,"timestamp_ms":1787454809000,"timestamp_seconds":1787454809,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9be3a8"} 
[2026-08-23 08:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 08:44:53] 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-08-23 08:44: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-08-23 08:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588354048001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588354048001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:44:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:44:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588354048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":161521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:44:53] local.INFO: GPS data processed {"connection_id":161521,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:44:53] local.INFO: Acknowledgment sent {"connection_id":161521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:45:07] local.INFO: TCP Data received {"connection_id":160360,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:45:07] local.INFO: Processing buffer {"connection_id":160360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:45:07] local.INFO: IMEI packet received {"connection_id":160360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":160360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:45:11] local.INFO: TCP Data received {"connection_id":160360,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:45:11] local.INFO: Processing buffer {"connection_id":160360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:45:11] local.INFO: IMEI packet received {"connection_id":160360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":160360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:45:12] local.INFO: TCP Data received {"connection_id":160360,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9bb4c8012d7c318005d98790000600a527..."} 
[2026-08-23 08:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9bb4c8012d7c318005d98790000600a527..."} 
[2026-08-23 08:45:12] local.INFO: Processing buffer {"connection_id":160360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9bb4c8012d7c318005d98790000600a527..."} 
[2026-08-23 08:45:12] local.INFO: Packet analysis {"connection_id":160360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:45:12] local.INFO: Extracted packet for processing {"connection_id":160360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:45:12] local.INFO: GPS Element Parsed {"raw_longitude":763113856,"raw_latitude":98142096,"longitude_deg":76.3113856,"latitude_deg":9.8142096,"altitude":6,"angle":165,"satellites":39,"speed":2,"hex_longitude":"2d7c3180","hex_latitude":"05d98790","is_valid_coordinates":true} 
[2026-08-23 08:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588426496001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549246749573120,"note":"Value kept but may cause issues"} 
[2026-08-23 08:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065918894080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:45:12] 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-08-23 08:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787454797000,"timestamp_ms":1787454797000,"timestamp_seconds":1787454797,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9bb4c8"} 
[2026-08-23 08:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-23 08:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588426496001,"66":12722,"245":206,"85":15104,"24":2,"16":122549246749573120,"45":8949145065918894080},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588426496001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549246749573120,"km_value":122549246749573.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065918894080,"description":"Unknown IO ID 45"} 
[2026-08-23 08:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588426496001,"power":12722,"geofence_id":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8949145065918894080}} 
[2026-08-23 08:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":160360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:45:12] local.INFO: GPS data processed {"connection_id":160360,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:45:12] local.INFO: Acknowledgment sent {"connection_id":160360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:45:13] local.INFO: TCP Data received {"connection_id":160565,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9b2440012d1967c0071feea80038011d28..."} 
[2026-08-23 08:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9b2440012d1967c0071feea80038011d28..."} 
[2026-08-23 08:45:13] local.INFO: Processing buffer {"connection_id":160565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9b2440012d1967c0071feea80038011d28..."} 
[2026-08-23 08:45:13] local.INFO: Packet analysis {"connection_id":160565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:45:13] local.INFO: Extracted packet for processing {"connection_id":160565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:45:13] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588413184001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787454760000,"timestamp_ms":1787454760000,"timestamp_seconds":1787454760,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9b2440"} 
[2026-08-23 08:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 08:45:13] 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-08-23 08:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588413184001,"66":12798,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588413184001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:45:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:45:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588413184001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":160565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:45:14] local.INFO: GPS data processed {"connection_id":160565,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:45:14] local.INFO: Acknowledgment sent {"connection_id":160565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:45:25] local.INFO: TCP Data received {"connection_id":161521,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:45:25] local.INFO: Processing buffer {"connection_id":161521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:45:25] local.INFO: Packet analysis {"connection_id":161521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:45:25] local.INFO: Extracted packet for processing {"connection_id":161521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:45:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588354048001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787454809000,"timestamp_ms":1787454809000,"timestamp_seconds":1787454809,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9be3a8"} 
[2026-08-23 08:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 08:45:25] 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-08-23 08:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588354048001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588354048001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:45:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:45:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588354048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":161521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:45:25] local.INFO: GPS data processed {"connection_id":161521,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:45:25] local.INFO: Acknowledgment sent {"connection_id":161521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:45:30] local.INFO: TCP Data received {"connection_id":162946,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:45:30] local.INFO: Processing buffer {"connection_id":162946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:45:30] local.INFO: IMEI packet received {"connection_id":162946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":162946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:45:35] local.INFO: TCP Data received {"connection_id":162946,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:45:35] local.INFO: Processing buffer {"connection_id":162946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:45:35] local.INFO: IMEI packet received {"connection_id":162946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":162946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:45:36] local.INFO: TCP Data received {"connection_id":162946,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9b7648012d1967c0071feea80038011d27..."} 
[2026-08-23 08:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9b7648012d1967c0071feea80038011d27..."} 
[2026-08-23 08:45:36] local.INFO: Processing buffer {"connection_id":162946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9b7648012d1967c0071feea80038011d27..."} 
[2026-08-23 08:45:36] local.INFO: Packet analysis {"connection_id":162946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:45:36] local.INFO: Extracted packet for processing {"connection_id":162946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588418560001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787454781000,"timestamp_ms":1787454781000,"timestamp_seconds":1787454781,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9b7648"} 
[2026-08-23 08:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-23 08:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588418560001,"66":12743,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588418560001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:45:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:45:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588418560001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":162946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:45:36] local.INFO: GPS data processed {"connection_id":162946,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:45:36] local.INFO: Acknowledgment sent {"connection_id":162946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:45:43] local.INFO: TCP Data received {"connection_id":160360,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9bdbd8012d7c318005d986e80006009e28..."} 
[2026-08-23 08:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9bdbd8012d7c318005d986e80006009e28..."} 
[2026-08-23 08:45:43] local.INFO: Processing buffer {"connection_id":160360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9bdbd8012d7c318005d986e80006009e28..."} 
[2026-08-23 08:45:43] local.INFO: Packet analysis {"connection_id":160360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:45:43] local.INFO: Extracted packet for processing {"connection_id":160360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:45:43] local.INFO: GPS Element Parsed {"raw_longitude":763113856,"raw_latitude":98141928,"longitude_deg":76.3113856,"latitude_deg":9.8141928,"altitude":6,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7c3180","hex_latitude":"05d986e8","is_valid_coordinates":true} 
[2026-08-23 08:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588428032001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549255339507712,"note":"Value kept but may cause issues"} 
[2026-08-23 08:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949074697174618112,"note":"Value kept but may cause issues"} 
[2026-08-23 08:45:43] 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-08-23 08:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787454807000,"timestamp_ms":1787454807000,"timestamp_seconds":1787454807,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9bdbd8"} 
[2026-08-23 08:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 08:45:43] 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-08-23 08: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-08-23 08:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588428032001,"66":12439,"245":206,"85":15104,"24":0,"16":122549255339507712,"45":8949074697174618112},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588428032001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:45:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549255339507712,"km_value":122549255339507.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949074697174618112,"description":"Unknown IO ID 45"} 
[2026-08-23 08:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588428032001,"power":12439,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949074697174618112}} 
[2026-08-23 08:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":160360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:45:44] local.INFO: GPS data processed {"connection_id":160360,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:45:44] local.INFO: Acknowledgment sent {"connection_id":160360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:45:46] local.INFO: TCP Data received {"connection_id":160566,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:45:46] local.INFO: Processing buffer {"connection_id":160566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:45:46] local.INFO: IMEI packet received {"connection_id":160566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":160566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:45:52] local.INFO: TCP Data received {"connection_id":160566,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:45:52] local.INFO: Processing buffer {"connection_id":160566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:45:52] local.INFO: IMEI packet received {"connection_id":160566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":160566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:45:53] local.INFO: TCP Data received {"connection_id":160566,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:45:53] local.INFO: Processing buffer {"connection_id":160566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:45:53] local.INFO: Packet analysis {"connection_id":160566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:45:53] local.INFO: Extracted packet for processing {"connection_id":160566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:45:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:45: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-08-23 08:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588354048001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787454809000,"timestamp_ms":1787454809000,"timestamp_seconds":1787454809,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9be3a8"} 
[2026-08-23 08:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 08:45:53] 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-08-23 08:45: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-08-23 08:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588354048001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588354048001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:45:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:45:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588354048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":160566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:45:53] local.INFO: GPS data processed {"connection_id":160566,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:45:53] local.INFO: Acknowledgment sent {"connection_id":160566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:46:06] local.INFO: TCP Data received {"connection_id":162946,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9bc850012d1967c0071feea80038011d25..."} 
[2026-08-23 08:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9bc850012d1967c0071feea80038011d25..."} 
[2026-08-23 08:46:06] local.INFO: Processing buffer {"connection_id":162946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9bc850012d1967c0071feea80038011d25..."} 
[2026-08-23 08:46:06] local.INFO: Packet analysis {"connection_id":162946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:46:06] local.INFO: Extracted packet for processing {"connection_id":162946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588423936001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787454802000,"timestamp_ms":1787454802000,"timestamp_seconds":1787454802,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9bc850"} 
[2026-08-23 08:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-23 08:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588423936001,"66":12722,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588423936001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:46:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588423936001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":162946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:46:07] local.INFO: GPS data processed {"connection_id":162946,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:46:07] local.INFO: Acknowledgment sent {"connection_id":162946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:46:07] local.INFO: TCP Data received {"connection_id":162947,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:46:07] local.INFO: Processing buffer {"connection_id":162947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:46:07] local.INFO: IMEI packet received {"connection_id":162947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":162947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:46:12] local.INFO: TCP Data received {"connection_id":162947,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:46:12] local.INFO: Processing buffer {"connection_id":162947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:46:12] local.INFO: IMEI packet received {"connection_id":162947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":162947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:46:12] local.INFO: TCP Data received {"connection_id":162947,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9bdbd8012d7c318005d986e80006009e28..."} 
[2026-08-23 08:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9bdbd8012d7c318005d986e80006009e28..."} 
[2026-08-23 08:46:12] local.INFO: Processing buffer {"connection_id":162947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9bdbd8012d7c318005d986e80006009e28..."} 
[2026-08-23 08:46:12] local.INFO: Packet analysis {"connection_id":162947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:46:12] local.INFO: Extracted packet for processing {"connection_id":162947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:46:12] local.INFO: GPS Element Parsed {"raw_longitude":763113856,"raw_latitude":98141928,"longitude_deg":76.3113856,"latitude_deg":9.8141928,"altitude":6,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7c3180","hex_latitude":"05d986e8","is_valid_coordinates":true} 
[2026-08-23 08:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588430592001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549255339507712,"note":"Value kept but may cause issues"} 
[2026-08-23 08:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949074697174575104,"note":"Value kept but may cause issues"} 
[2026-08-23 08:46:12] 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-08-23 08:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787454807000,"timestamp_ms":1787454807000,"timestamp_seconds":1787454807,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9bdbd8"} 
[2026-08-23 08:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 08:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588430592001,"66":12439,"245":206,"85":15104,"24":0,"16":122549255339507712,"45":8949074697174575104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588430592001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:46:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549255339507712,"km_value":122549255339507.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949074697174575104,"description":"Unknown IO ID 45"} 
[2026-08-23 08:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588430592001,"power":12439,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949074697174575104}} 
[2026-08-23 08:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":162947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:46:13] local.INFO: GPS data processed {"connection_id":162947,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:46:13] local.INFO: Acknowledgment sent {"connection_id":162947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:46:26] local.INFO: TCP Data received {"connection_id":160566,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:46:26] local.INFO: Processing buffer {"connection_id":160566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:46:26] local.INFO: Packet analysis {"connection_id":160566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:46:26] local.INFO: Extracted packet for processing {"connection_id":160566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:46:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 08:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588354048001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787454809000,"timestamp_ms":1787454809000,"timestamp_seconds":1787454809,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9be3a8"} 
[2026-08-23 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-08-23 08:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 08:46:26] 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-08-23 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-08-23 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-08-23 08:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588354048001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588354048001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:46:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:46:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588354048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":160566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:46:26] local.INFO: GPS data processed {"connection_id":160566,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:46:26] local.INFO: Acknowledgment sent {"connection_id":160566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:46:30] local.INFO: TCP Data received {"connection_id":160361,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:46:30] local.INFO: Processing buffer {"connection_id":160361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:46:30] local.INFO: IMEI packet received {"connection_id":160361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":160361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:46:35] local.INFO: TCP Data received {"connection_id":160361,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:46:35] local.INFO: Processing buffer {"connection_id":160361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:46:35] local.INFO: IMEI packet received {"connection_id":160361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":160361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:46:36] local.INFO: TCP Data received {"connection_id":160361,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9c1a58012d1967c0071feea80038011d24..."} 
[2026-08-23 08:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9c1a58012d1967c0071feea80038011d24..."} 
[2026-08-23 08:46:36] local.INFO: Processing buffer {"connection_id":160361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9c1a58012d1967c0071feea80038011d24..."} 
[2026-08-23 08:46:36] local.INFO: Packet analysis {"connection_id":160361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9c"} 
[2026-08-23 08:46:36] local.INFO: Extracted packet for processing {"connection_id":160361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9c"} 
[2026-08-23 08:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588429312001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787454823000,"timestamp_ms":1787454823000,"timestamp_seconds":1787454823,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9c1a58"} 
[2026-08-23 08:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 08:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588429312001,"66":12558,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588429312001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:46:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588429312001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":160361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:46:36] local.INFO: GPS data processed {"connection_id":160361,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:46:36] local.INFO: Acknowledgment sent {"connection_id":160361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:46:44] local.INFO: TCP Data received {"connection_id":162947,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9bdbd8012d7c318005d986e80006009e28..."} 
[2026-08-23 08:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9bdbd8012d7c318005d986e80006009e28..."} 
[2026-08-23 08:46:44] local.INFO: Processing buffer {"connection_id":162947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9bdbd8012d7c318005d986e80006009e28..."} 
[2026-08-23 08:46:44] local.INFO: Packet analysis {"connection_id":162947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:46:44] local.INFO: Extracted packet for processing {"connection_id":162947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:46:44] local.INFO: GPS Element Parsed {"raw_longitude":763113856,"raw_latitude":98141928,"longitude_deg":76.3113856,"latitude_deg":9.8141928,"altitude":6,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7c3180","hex_latitude":"05d986e8","is_valid_coordinates":true} 
[2026-08-23 08:46: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-08-23 08:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588430592001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549255339507712,"note":"Value kept but may cause issues"} 
[2026-08-23 08:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949074697174575104,"note":"Value kept but may cause issues"} 
[2026-08-23 08:46: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-08-23 08:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787454807000,"timestamp_ms":1787454807000,"timestamp_seconds":1787454807,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9bdbd8"} 
[2026-08-23 08:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 08:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588430592001,"66":12439,"245":206,"85":15104,"24":0,"16":122549255339507712,"45":8949074697174575104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588430592001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:46:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549255339507712,"km_value":122549255339507.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949074697174575104,"description":"Unknown IO ID 45"} 
[2026-08-23 08:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588430592001,"power":12439,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949074697174575104}} 
[2026-08-23 08:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":162947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:46:44] local.INFO: GPS data processed {"connection_id":162947,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:46:44] local.INFO: Acknowledgment sent {"connection_id":162947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:46:52] local.INFO: TCP Data received {"connection_id":160567,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:46:52] local.INFO: Processing buffer {"connection_id":160567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:46:52] local.INFO: IMEI packet received {"connection_id":160567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":160567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:46:57] local.INFO: TCP Data received {"connection_id":160567,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:46:57] local.INFO: Processing buffer {"connection_id":160567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:46:57] local.INFO: IMEI packet received {"connection_id":160567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":160567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:46:59] local.INFO: TCP Data received {"connection_id":160567,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:46:59] local.INFO: Processing buffer {"connection_id":160567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:46:59] local.INFO: Packet analysis {"connection_id":160567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:46:59] local.INFO: Extracted packet for processing {"connection_id":160567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:46:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588354048001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787454809000,"timestamp_ms":1787454809000,"timestamp_seconds":1787454809,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9be3a8"} 
[2026-08-23 08:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 08:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588354048001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588354048001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:46:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:46:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588354048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":160567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:46:59] local.INFO: GPS data processed {"connection_id":160567,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:46:59] local.INFO: Acknowledgment sent {"connection_id":160567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:47:02] local.INFO: TCP Data received {"connection_id":160567,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:47:02] local.INFO: Processing buffer {"connection_id":160567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:47:02] local.INFO: Packet analysis {"connection_id":160567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:47:02] local.INFO: Extracted packet for processing {"connection_id":160567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:47:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588354048001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787454809000,"timestamp_ms":1787454809000,"timestamp_seconds":1787454809,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9be3a8"} 
[2026-08-23 08:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 08:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588354048001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588354048001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:47:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:47:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588354048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":160567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:47:02] local.INFO: GPS data processed {"connection_id":160567,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:47:02] local.INFO: Acknowledgment sent {"connection_id":160567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:47:06] local.INFO: TCP Data received {"connection_id":162948,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:47:06] local.INFO: Processing buffer {"connection_id":162948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:47:06] local.INFO: IMEI packet received {"connection_id":162948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":162948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:47:07] local.INFO: TCP Data received {"connection_id":160361,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9c6c60012d1967c0071feea80038011d25..."} 
[2026-08-23 08:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9c6c60012d1967c0071feea80038011d25..."} 
[2026-08-23 08:47:07] local.INFO: Processing buffer {"connection_id":160361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9c6c60012d1967c0071feea80038011d25..."} 
[2026-08-23 08:47:07] local.INFO: Packet analysis {"connection_id":160361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9c"} 
[2026-08-23 08:47:07] local.INFO: Extracted packet for processing {"connection_id":160361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9c"} 
[2026-08-23 08:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588434688001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787454844000,"timestamp_ms":1787454844000,"timestamp_seconds":1787454844,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9c6c60"} 
[2026-08-23 08:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-23 08:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:07] local.WARNING: Large IO value detected {"io_id":22,"raw_value":2583691264,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":20481,"corrected_to":0} 
[2026-08-23 08:47:07] local.WARNING: Large IO value detected {"io_id":56,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249742680575438504,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2597468161,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 08:47:07] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:07] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,22,160,200,45,192,238,56,37,10,66,118,39,36,1,240,254,227,44,31,4,113,205,128,103,168,40,239,50,2,54,7,120,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":200,"original":20481,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 08:47:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538781556703232,"timestamp_seconds":4035538781556703.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 08:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588434688001,"66":12711,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588434688001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:47:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588434688001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":160361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:47:07] local.INFO: GPS data processed {"connection_id":160361,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:47:07] local.INFO: Acknowledgment sent {"connection_id":160361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:47:12] local.INFO: TCP Data received {"connection_id":162948,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:47:12] local.INFO: Processing buffer {"connection_id":162948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:47:12] local.INFO: IMEI packet received {"connection_id":162948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":162948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:47:12] local.INFO: TCP Data received {"connection_id":162948,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9bdbd8012d7c318005d986e80006009e28..."} 
[2026-08-23 08:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9bdbd8012d7c318005d986e80006009e28..."} 
[2026-08-23 08:47:12] local.INFO: Processing buffer {"connection_id":162948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9bdbd8012d7c318005d986e80006009e28..."} 
[2026-08-23 08:47:12] local.INFO: Packet analysis {"connection_id":162948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:47:12] local.INFO: Extracted packet for processing {"connection_id":162948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:47:12] local.INFO: GPS Element Parsed {"raw_longitude":763113856,"raw_latitude":98141928,"longitude_deg":76.3113856,"latitude_deg":9.8141928,"altitude":6,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7c3180","hex_latitude":"05d986e8","is_valid_coordinates":true} 
[2026-08-23 08:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588430592001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549255339507712,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949074697174575104,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:12] 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-08-23 08:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787454807000,"timestamp_ms":1787454807000,"timestamp_seconds":1787454807,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9bdbd8"} 
[2026-08-23 08:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:47: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-08-23 08:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 08:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588430592001,"66":12439,"245":206,"85":15104,"24":0,"16":122549255339507712,"45":8949074697174575104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588430592001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549255339507712,"km_value":122549255339507.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949074697174575104,"description":"Unknown IO ID 45"} 
[2026-08-23 08:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588430592001,"power":12439,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949074697174575104}} 
[2026-08-23 08:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":162948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:47:12] local.INFO: GPS data processed {"connection_id":162948,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:47:12] local.INFO: Acknowledgment sent {"connection_id":162948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:47:31] local.INFO: TCP Data received {"connection_id":160568,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:47:31] local.INFO: Processing buffer {"connection_id":160568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:47:31] local.INFO: IMEI packet received {"connection_id":160568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":160568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:47:31] local.INFO: TCP Data received {"connection_id":160568,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:47:31] local.INFO: Processing buffer {"connection_id":160568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:47:31] local.INFO: IMEI packet received {"connection_id":160568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":160568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:47:35] local.INFO: TCP Data received {"connection_id":160568,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:47:35] local.INFO: Processing buffer {"connection_id":160568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:47:35] local.INFO: IMEI packet received {"connection_id":160568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":160568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:47:36] local.INFO: TCP Data received {"connection_id":160568,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9cbe68012d1967c0071feea80038011d28..."} 
[2026-08-23 08:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9cbe68012d1967c0071feea80038011d28..."} 
[2026-08-23 08:47:36] local.INFO: Processing buffer {"connection_id":160568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9cbe68012d1967c0071feea80038011d28..."} 
[2026-08-23 08:47:36] local.INFO: Packet analysis {"connection_id":160568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9c"} 
[2026-08-23 08:47:36] local.INFO: Extracted packet for processing {"connection_id":160568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9c"} 
[2026-08-23 08:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588440064001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787454865000,"timestamp_ms":1787454865000,"timestamp_seconds":1787454865,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9cbe68"} 
[2026-08-23 08:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-23 08:47:36] 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-08-23 08:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588440064001,"66":12776,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588440064001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:47:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588440064001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":160568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:47:36] local.INFO: GPS data processed {"connection_id":160568,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:47:36] local.INFO: Acknowledgment sent {"connection_id":160568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:47:44] local.INFO: TCP Data received {"connection_id":162948,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9bdbd8012d7c318005d986e80006009e28..."} 
[2026-08-23 08:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9bdbd8012d7c318005d986e80006009e28..."} 
[2026-08-23 08:47:44] local.INFO: Processing buffer {"connection_id":162948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9bdbd8012d7c318005d986e80006009e28..."} 
[2026-08-23 08:47:44] local.INFO: Packet analysis {"connection_id":162948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:47:44] local.INFO: Extracted packet for processing {"connection_id":162948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:47:44] local.INFO: GPS Element Parsed {"raw_longitude":763113856,"raw_latitude":98141928,"longitude_deg":76.3113856,"latitude_deg":9.8141928,"altitude":6,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7c3180","hex_latitude":"05d986e8","is_valid_coordinates":true} 
[2026-08-23 08:47: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-08-23 08:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588430592001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549255339507712,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949074697174575104,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47: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-08-23 08:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787454807000,"timestamp_ms":1787454807000,"timestamp_seconds":1787454807,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9bdbd8"} 
[2026-08-23 08:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 08:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588430592001,"66":12439,"245":206,"85":15104,"24":0,"16":122549255339507712,"45":8949074697174575104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588430592001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:47:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549255339507712,"km_value":122549255339507.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949074697174575104,"description":"Unknown IO ID 45"} 
[2026-08-23 08:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588430592001,"power":12439,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949074697174575104}} 
[2026-08-23 08:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":162948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:47:44] local.INFO: GPS data processed {"connection_id":162948,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:47:44] local.INFO: Acknowledgment sent {"connection_id":162948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:47:47] local.INFO: TCP Data received {"connection_id":160362,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:47:47] local.INFO: Processing buffer {"connection_id":160362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:47:47] local.INFO: IMEI packet received {"connection_id":160362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":160362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:47:52] local.INFO: TCP Data received {"connection_id":160362,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:47:52] local.INFO: Processing buffer {"connection_id":160362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:47:52] local.INFO: IMEI packet received {"connection_id":160362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":160362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:47:52] local.INFO: TCP Data received {"connection_id":160362,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:47:53] local.INFO: Processing buffer {"connection_id":160362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:47:53] local.INFO: Packet analysis {"connection_id":160362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:47:53] local.INFO: Extracted packet for processing {"connection_id":160362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:47:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 08:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588354048001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787454809000,"timestamp_ms":1787454809000,"timestamp_seconds":1787454809,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9be3a8"} 
[2026-08-23 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-08-23 08:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 08:47:53] 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-08-23 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-08-23 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-08-23 08:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588354048001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588354048001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:47:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:47:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588354048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":160362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:47:53] local.INFO: GPS data processed {"connection_id":160362,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:47:53] local.INFO: Acknowledgment sent {"connection_id":160362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:48:06] local.INFO: TCP Data received {"connection_id":161522,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:48:06] local.INFO: Processing buffer {"connection_id":161522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:48:06] local.INFO: IMEI packet received {"connection_id":161522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":161522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:48:07] local.INFO: TCP Data received {"connection_id":160568,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9d1070012d1967c0071feea80038011d27..."} 
[2026-08-23 08:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9d1070012d1967c0071feea80038011d27..."} 
[2026-08-23 08:48:07] local.INFO: Processing buffer {"connection_id":160568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9d1070012d1967c0071feea80038011d27..."} 
[2026-08-23 08:48:07] local.INFO: Packet analysis {"connection_id":160568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9d"} 
[2026-08-23 08:48:07] local.INFO: Extracted packet for processing {"connection_id":160568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9d"} 
[2026-08-23 08:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588445440001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787454886000,"timestamp_ms":1787454886000,"timestamp_seconds":1787454886,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9d1070"} 
[2026-08-23 08:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-23 08:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588445440001,"66":12743,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588445440001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:48:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588445440001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":160568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:48:07] local.INFO: GPS data processed {"connection_id":160568,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:48:07] local.INFO: Acknowledgment sent {"connection_id":160568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:48:12] local.INFO: TCP Data received {"connection_id":161522,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:48:12] local.INFO: Processing buffer {"connection_id":161522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:48:12] local.INFO: IMEI packet received {"connection_id":161522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":161522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:48:13] local.INFO: TCP Data received {"connection_id":161522,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9bdbd8012d7c318005d986e80006009e28..."} 
[2026-08-23 08:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9bdbd8012d7c318005d986e80006009e28..."} 
[2026-08-23 08:48:13] local.INFO: Processing buffer {"connection_id":161522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9bdbd8012d7c318005d986e80006009e28..."} 
[2026-08-23 08:48:13] local.INFO: Packet analysis {"connection_id":161522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:48:13] local.INFO: Extracted packet for processing {"connection_id":161522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:48:13] local.INFO: GPS Element Parsed {"raw_longitude":763113856,"raw_latitude":98141928,"longitude_deg":76.3113856,"latitude_deg":9.8141928,"altitude":6,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7c3180","hex_latitude":"05d986e8","is_valid_coordinates":true} 
[2026-08-23 08:48:13] 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-08-23 08:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588430592001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549255339507712,"note":"Value kept but may cause issues"} 
[2026-08-23 08:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949074697174575104,"note":"Value kept but may cause issues"} 
[2026-08-23 08:48: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-08-23 08:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787454807000,"timestamp_ms":1787454807000,"timestamp_seconds":1787454807,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9bdbd8"} 
[2026-08-23 08:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 08:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588430592001,"66":12439,"245":206,"85":15104,"24":0,"16":122549255339507712,"45":8949074697174575104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588430592001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:48:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549255339507712,"km_value":122549255339507.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949074697174575104,"description":"Unknown IO ID 45"} 
[2026-08-23 08:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588430592001,"power":12439,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949074697174575104}} 
[2026-08-23 08:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":161522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:48:13] local.INFO: GPS data processed {"connection_id":161522,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:48:13] local.INFO: Acknowledgment sent {"connection_id":161522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:48:24] local.INFO: TCP Data received {"connection_id":160362,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:48:24] local.INFO: Processing buffer {"connection_id":160362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:48:24] local.INFO: Packet analysis {"connection_id":160362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:48:24] local.INFO: Extracted packet for processing {"connection_id":160362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:48:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 08:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588354048001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787454809000,"timestamp_ms":1787454809000,"timestamp_seconds":1787454809,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9be3a8"} 
[2026-08-23 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-08-23 08:48: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-08-23 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 08:48:24] 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-08-23 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-08-23 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-08-23 08:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588354048001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588354048001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:48:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:48:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588354048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":160362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:48:24] local.INFO: GPS data processed {"connection_id":160362,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:48:24] local.INFO: Acknowledgment sent {"connection_id":160362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:48:30] local.INFO: TCP Data received {"connection_id":161523,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:48:30] local.INFO: Processing buffer {"connection_id":161523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:48:30] local.INFO: IMEI packet received {"connection_id":161523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":161523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:48:33] local.INFO: TCP Data received {"connection_id":161523,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:48:33] local.INFO: Processing buffer {"connection_id":161523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:48:33] local.INFO: IMEI packet received {"connection_id":161523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":161523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:48:35] local.INFO: TCP Data received {"connection_id":161523,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:48:35] local.INFO: Processing buffer {"connection_id":161523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:48:35] local.INFO: IMEI packet received {"connection_id":161523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":161523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:48:36] local.INFO: TCP Data received {"connection_id":161523,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9d6278012d1967c0071feea80038011d27..."} 
[2026-08-23 08:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9d6278012d1967c0071feea80038011d27..."} 
[2026-08-23 08:48:36] local.INFO: Processing buffer {"connection_id":161523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9d6278012d1967c0071feea80038011d27..."} 
[2026-08-23 08:48:36] local.INFO: Packet analysis {"connection_id":161523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9d"} 
[2026-08-23 08:48:36] local.INFO: Extracted packet for processing {"connection_id":161523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9d"} 
[2026-08-23 08:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588450816001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787454907000,"timestamp_ms":1787454907000,"timestamp_seconds":1787454907,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9d6278"} 
[2026-08-23 08:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-23 08:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588450816001,"66":12711,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588450816001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:48:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:48:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588450816001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":161523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:48:36] local.INFO: GPS data processed {"connection_id":161523,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:48:36] local.INFO: Acknowledgment sent {"connection_id":161523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:48:44] local.INFO: TCP Data received {"connection_id":161522,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca07b70012d7c30c005d986c00006009e28..."} 
[2026-08-23 08:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca07b70012d7c30c005d986c00006009e28..."} 
[2026-08-23 08:48:44] local.INFO: Processing buffer {"connection_id":161522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca07b70012d7c30c005d986c00006009e28..."} 
[2026-08-23 08:48:44] local.INFO: Packet analysis {"connection_id":161522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:48:44] local.INFO: Extracted packet for processing {"connection_id":161522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:48:44] local.INFO: GPS Element Parsed {"raw_longitude":763113664,"raw_latitude":98141888,"longitude_deg":76.3113664,"latitude_deg":9.8141888,"altitude":6,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7c30c0","hex_latitude":"05d986c0","is_valid_coordinates":true} 
[2026-08-23 08:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588430592001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549255339507712,"note":"Value kept but may cause issues"} 
[2026-08-23 08:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949074697174575104,"note":"Value kept but may cause issues"} 
[2026-08-23 08:48: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-08-23 08:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787455110000,"timestamp_ms":1787455110000,"timestamp_seconds":1787455110,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca07b70"} 
[2026-08-23 08:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 08:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588430592001,"66":12385,"245":206,"85":15104,"24":0,"16":122549255339507712,"45":8949074697174575104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588430592001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:48:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549255339507712,"km_value":122549255339507.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949074697174575104,"description":"Unknown IO ID 45"} 
[2026-08-23 08:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588430592001,"power":12385,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949074697174575104}} 
[2026-08-23 08:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":161522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:48:44] local.INFO: GPS data processed {"connection_id":161522,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:48:44] local.INFO: Acknowledgment sent {"connection_id":161522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:48:47] local.INFO: TCP Data received {"connection_id":160569,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:48:47] local.INFO: Processing buffer {"connection_id":160569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:48:47] local.INFO: IMEI packet received {"connection_id":160569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":160569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:48:52] local.INFO: TCP Data received {"connection_id":160569,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:48:52] local.INFO: Processing buffer {"connection_id":160569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:48:52] local.INFO: IMEI packet received {"connection_id":160569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":160569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:48:53] local.INFO: TCP Data received {"connection_id":160569,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:48:53] local.INFO: Processing buffer {"connection_id":160569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9be3a8012d34c50006aa40980012008520..."} 
[2026-08-23 08:48:53] local.INFO: Packet analysis {"connection_id":160569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:48:53] local.INFO: Extracted packet for processing {"connection_id":160569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9b"} 
[2026-08-23 08:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588354048001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787454809000,"timestamp_ms":1787454809000,"timestamp_seconds":1787454809,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9be3a8"} 
[2026-08-23 08:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 08:48:53] 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-08-23 08:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:48:53] 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-08-23 08:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588354048001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588354048001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:48:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588354048001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":160569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:48:53] local.INFO: GPS data processed {"connection_id":160569,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:48:53] local.INFO: Acknowledgment sent {"connection_id":160569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:49:06] local.INFO: TCP Data received {"connection_id":161523,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9db480012d1967c0071feea80038011d29..."} 
[2026-08-23 08:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9db480012d1967c0071feea80038011d29..."} 
[2026-08-23 08:49:06] local.INFO: Processing buffer {"connection_id":161523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9db480012d1967c0071feea80038011d29..."} 
[2026-08-23 08:49:06] local.INFO: Packet analysis {"connection_id":161523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9d"} 
[2026-08-23 08:49:06] local.INFO: Extracted packet for processing {"connection_id":161523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9d"} 
[2026-08-23 08:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588456192001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787454928000,"timestamp_ms":1787454928000,"timestamp_seconds":1787454928,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9db480"} 
[2026-08-23 08:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-23 08:49:06] 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-08-23 08:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588456192001,"66":12711,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588456192001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:49:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588456192001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:49:07] local.INFO: TCP Data received {"connection_id":160570,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:49:07] local.INFO: Processing buffer {"connection_id":160570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:49:07] local.INFO: IMEI packet received {"connection_id":160570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":160570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":161523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:49:07] local.INFO: GPS data processed {"connection_id":161523,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:49:07] local.INFO: Acknowledgment sent {"connection_id":161523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:49:12] local.INFO: TCP Data received {"connection_id":160570,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:49:12] local.INFO: Processing buffer {"connection_id":160570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:49:12] local.INFO: IMEI packet received {"connection_id":160570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":160570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:49:12] local.INFO: TCP Data received {"connection_id":160570,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca07b70012d7c30c005d986c00006009e28..."} 
[2026-08-23 08:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca07b70012d7c30c005d986c00006009e28..."} 
[2026-08-23 08:49:12] local.INFO: Processing buffer {"connection_id":160570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca07b70012d7c30c005d986c00006009e28..."} 
[2026-08-23 08:49:12] local.INFO: Packet analysis {"connection_id":160570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:49:12] local.INFO: Extracted packet for processing {"connection_id":160570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:49:12] local.INFO: GPS Element Parsed {"raw_longitude":763113664,"raw_latitude":98141888,"longitude_deg":76.3113664,"latitude_deg":9.8141888,"altitude":6,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7c30c0","hex_latitude":"05d986c0","is_valid_coordinates":true} 
[2026-08-23 08:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588430592001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549255339507712,"note":"Value kept but may cause issues"} 
[2026-08-23 08:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949074697174575104,"note":"Value kept but may cause issues"} 
[2026-08-23 08:49:12] 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-08-23 08:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787455110000,"timestamp_ms":1787455110000,"timestamp_seconds":1787455110,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca07b70"} 
[2026-08-23 08:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:49: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-08-23 08:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 08:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588430592001,"66":12385,"245":206,"85":15104,"24":0,"16":122549255339507712,"45":8949074697174575104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588430592001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:49:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549255339507712,"km_value":122549255339507.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949074697174575104,"description":"Unknown IO ID 45"} 
[2026-08-23 08:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588430592001,"power":12385,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949074697174575104}} 
[2026-08-23 08:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":160570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:49:12] local.INFO: GPS data processed {"connection_id":160570,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:49:12] local.INFO: Acknowledgment sent {"connection_id":160570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:49:25] local.INFO: TCP Data received {"connection_id":160569,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:49:25] local.INFO: Processing buffer {"connection_id":160569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:49:25] local.INFO: Packet analysis {"connection_id":160569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:49:25] local.INFO: Extracted packet for processing {"connection_id":160569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:49:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588431104001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787455110000,"timestamp_ms":1787455110000,"timestamp_seconds":1787455110,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca07b70"} 
[2026-08-23 08:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:49:25] 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-08-23 08:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588431104001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588431104001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:49:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:49:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588431104001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":160569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:49:25] local.INFO: GPS data processed {"connection_id":160569,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:49:25] local.INFO: Acknowledgment sent {"connection_id":160569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:49:30] local.INFO: TCP Data received {"connection_id":160363,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:49:30] local.INFO: Processing buffer {"connection_id":160363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:49:30] local.INFO: IMEI packet received {"connection_id":160363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":160363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:49:35] local.INFO: TCP Data received {"connection_id":160363,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:49:35] local.INFO: Processing buffer {"connection_id":160363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:49:35] local.INFO: IMEI packet received {"connection_id":160363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":160363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:49:36] local.INFO: TCP Data received {"connection_id":160363,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9e0688012d1967c0071feea80038011d28..."} 
[2026-08-23 08:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9e0688012d1967c0071feea80038011d28..."} 
[2026-08-23 08:49:36] local.INFO: Processing buffer {"connection_id":160363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9e0688012d1967c0071feea80038011d28..."} 
[2026-08-23 08:49:36] local.INFO: Packet analysis {"connection_id":160363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9e"} 
[2026-08-23 08:49:36] local.INFO: Extracted packet for processing {"connection_id":160363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9e"} 
[2026-08-23 08:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588461568001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787454949000,"timestamp_ms":1787454949000,"timestamp_seconds":1787454949,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9e0688"} 
[2026-08-23 08:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-23 08:49:36] 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-08-23 08: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-08-23 08:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588461568001,"66":12613,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588461568001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:49:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588461568001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":160363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:49:36] local.INFO: GPS data processed {"connection_id":160363,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:49:36] local.INFO: Acknowledgment sent {"connection_id":160363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:49:43] local.INFO: TCP Data received {"connection_id":160570,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca07b70012d7c30c005d986c00006009e28..."} 
[2026-08-23 08:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca07b70012d7c30c005d986c00006009e28..."} 
[2026-08-23 08:49:43] local.INFO: Processing buffer {"connection_id":160570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca07b70012d7c30c005d986c00006009e28..."} 
[2026-08-23 08:49:43] local.INFO: Packet analysis {"connection_id":160570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:49:43] local.INFO: Extracted packet for processing {"connection_id":160570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:49:43] local.INFO: GPS Element Parsed {"raw_longitude":763113664,"raw_latitude":98141888,"longitude_deg":76.3113664,"latitude_deg":9.8141888,"altitude":6,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7c30c0","hex_latitude":"05d986c0","is_valid_coordinates":true} 
[2026-08-23 08:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588430592001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549255339507712,"note":"Value kept but may cause issues"} 
[2026-08-23 08:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949074697174575104,"note":"Value kept but may cause issues"} 
[2026-08-23 08:49:43] 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-08-23 08:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787455110000,"timestamp_ms":1787455110000,"timestamp_seconds":1787455110,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca07b70"} 
[2026-08-23 08:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:49: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-08-23 08:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 08:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588430592001,"66":12385,"245":206,"85":15104,"24":0,"16":122549255339507712,"45":8949074697174575104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588430592001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:49:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549255339507712,"km_value":122549255339507.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949074697174575104,"description":"Unknown IO ID 45"} 
[2026-08-23 08:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588430592001,"power":12385,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949074697174575104}} 
[2026-08-23 08:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":160570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:49:43] local.INFO: GPS data processed {"connection_id":160570,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:49:43] local.INFO: Acknowledgment sent {"connection_id":160570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:49:52] local.INFO: TCP Data received {"connection_id":162949,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:49:52] local.INFO: Processing buffer {"connection_id":162949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:49:52] local.INFO: IMEI packet received {"connection_id":162949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":162949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:49:57] local.INFO: TCP Data received {"connection_id":162949,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:49:57] local.INFO: Processing buffer {"connection_id":162949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:49:57] local.INFO: IMEI packet received {"connection_id":162949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":162949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:49:58] local.INFO: TCP Data received {"connection_id":162949,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:49:58] local.INFO: Processing buffer {"connection_id":162949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:49:58] local.INFO: Packet analysis {"connection_id":162949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:49:58] local.INFO: Extracted packet for processing {"connection_id":162949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:49:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588431104001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787455110000,"timestamp_ms":1787455110000,"timestamp_seconds":1787455110,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca07b70"} 
[2026-08-23 08:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:49: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-08-23 08:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:49: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-08-23 08:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588431104001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588431104001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:49:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:49:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588431104001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":162949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:49:58] local.INFO: GPS data processed {"connection_id":162949,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:49:58] local.INFO: Acknowledgment sent {"connection_id":162949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:50:06] local.INFO: TCP Data received {"connection_id":162949,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:50:07] local.INFO: Processing buffer {"connection_id":162949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:50:07] local.INFO: Packet analysis {"connection_id":162949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:50:07] local.INFO: Extracted packet for processing {"connection_id":162949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:50:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588431104001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787455110000,"timestamp_ms":1787455110000,"timestamp_seconds":1787455110,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca07b70"} 
[2026-08-23 08:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:50: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-08-23 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:50:07] 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-08-23 08: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-08-23 08:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588431104001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588431104001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:50:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:50:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588431104001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":162949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:50:07] local.INFO: GPS data processed {"connection_id":162949,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:50:07] local.INFO: Acknowledgment sent {"connection_id":162949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:50:07] local.INFO: TCP Data received {"connection_id":161524,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:50:07] local.INFO: Processing buffer {"connection_id":161524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:50:07] local.INFO: IMEI packet received {"connection_id":161524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":161524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:50:07] local.INFO: TCP Data received {"connection_id":160363,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9e5890012d1967c0071feea80038011d27..."} 
[2026-08-23 08:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9e5890012d1967c0071feea80038011d27..."} 
[2026-08-23 08:50:07] local.INFO: Processing buffer {"connection_id":160363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9e5890012d1967c0071feea80038011d27..."} 
[2026-08-23 08:50:07] local.INFO: Packet analysis {"connection_id":160363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9e"} 
[2026-08-23 08:50:07] local.INFO: Extracted packet for processing {"connection_id":160363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9e"} 
[2026-08-23 08:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588466944001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787454970000,"timestamp_ms":1787454970000,"timestamp_seconds":1787454970,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9e5890"} 
[2026-08-23 08:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-23 08:50:07] 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-08-23 08: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-08-23 08:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588466944001,"66":12689,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588466944001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:50:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588466944001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":160363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:50:07] local.INFO: GPS data processed {"connection_id":160363,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:50:07] local.INFO: Acknowledgment sent {"connection_id":160363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:50:12] local.INFO: TCP Data received {"connection_id":161524,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:50:12] local.INFO: Processing buffer {"connection_id":161524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:50:12] local.INFO: IMEI packet received {"connection_id":161524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":161524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:50:12] local.INFO: TCP Data received {"connection_id":161524,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca07b70012d7c30c005d986c00006009e28..."} 
[2026-08-23 08:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca07b70012d7c30c005d986c00006009e28..."} 
[2026-08-23 08:50:12] local.INFO: Processing buffer {"connection_id":161524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca07b70012d7c30c005d986c00006009e28..."} 
[2026-08-23 08:50:12] local.INFO: Packet analysis {"connection_id":161524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:50:12] local.INFO: Extracted packet for processing {"connection_id":161524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:50:12] local.INFO: GPS Element Parsed {"raw_longitude":763113664,"raw_latitude":98141888,"longitude_deg":76.3113664,"latitude_deg":9.8141888,"altitude":6,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7c30c0","hex_latitude":"05d986c0","is_valid_coordinates":true} 
[2026-08-23 08:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588430592001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549255339507712,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949074697174575104,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:12] 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-08-23 08:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787455110000,"timestamp_ms":1787455110000,"timestamp_seconds":1787455110,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca07b70"} 
[2026-08-23 08:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:50: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-08-23 08:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 08:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588430592001,"66":12385,"245":206,"85":15104,"24":0,"16":122549255339507712,"45":8949074697174575104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588430592001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549255339507712,"km_value":122549255339507.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949074697174575104,"description":"Unknown IO ID 45"} 
[2026-08-23 08:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588430592001,"power":12385,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949074697174575104}} 
[2026-08-23 08:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":161524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:50:13] local.INFO: GPS data processed {"connection_id":161524,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:50:13] local.INFO: Acknowledgment sent {"connection_id":161524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:50:35] local.INFO: TCP Data received {"connection_id":161525,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:50:35] local.INFO: Processing buffer {"connection_id":161525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:50:35] local.INFO: IMEI packet received {"connection_id":161525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":161525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:50:39] local.INFO: TCP Data received {"connection_id":161525,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:50:39] local.INFO: Processing buffer {"connection_id":161525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:50:39] local.INFO: IMEI packet received {"connection_id":161525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":161525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:50:40] local.INFO: TCP Data received {"connection_id":161525,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9eaa98012d1967c0071feea80038011d28..."} 
[2026-08-23 08:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9eaa98012d1967c0071feea80038011d28..."} 
[2026-08-23 08:50:40] local.INFO: Processing buffer {"connection_id":161525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9eaa98012d1967c0071feea80038011d28..."} 
[2026-08-23 08:50:40] local.INFO: Packet analysis {"connection_id":161525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9e"} 
[2026-08-23 08:50:40] local.INFO: Extracted packet for processing {"connection_id":161525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9e"} 
[2026-08-23 08:50:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588472320001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787454991000,"timestamp_ms":1787454991000,"timestamp_seconds":1787454991,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9eaa98"} 
[2026-08-23 08:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-23 08:50:40] 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-08-23 08: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-08-23 08:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588472320001,"66":12602,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588472320001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:50:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:50:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588472320001,"power":12602,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":161525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:50:40] local.INFO: GPS data processed {"connection_id":161525,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:50:40] local.INFO: Acknowledgment sent {"connection_id":161525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:50:40] local.INFO: TCP Data received {"connection_id":161525,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9efca0012d1967c0071feea80038011d29..."} 
[2026-08-23 08:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9efca0012d1967c0071feea80038011d29..."} 
[2026-08-23 08:50:40] local.INFO: Processing buffer {"connection_id":161525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9efca0012d1967c0071feea80038011d29..."} 
[2026-08-23 08:50:40] local.INFO: Packet analysis {"connection_id":161525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9e"} 
[2026-08-23 08:50:40] local.INFO: Extracted packet for processing {"connection_id":161525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9e"} 
[2026-08-23 08:50:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588477696001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787455012000,"timestamp_ms":1787455012000,"timestamp_seconds":1787455012,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9efca0"} 
[2026-08-23 08:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-23 08:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588477696001,"66":12613,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588477696001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:50:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:50:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588477696001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":161525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:50:40] local.INFO: GPS data processed {"connection_id":161525,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:50:40] local.INFO: Acknowledgment sent {"connection_id":161525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:50:44] local.INFO: TCP Data received {"connection_id":161524,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca07b70012d7c30c005d986c00006009e28..."} 
[2026-08-23 08:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca07b70012d7c30c005d986c00006009e28..."} 
[2026-08-23 08:50:44] local.INFO: Processing buffer {"connection_id":161524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca07b70012d7c30c005d986c00006009e28..."} 
[2026-08-23 08:50:44] local.INFO: Packet analysis {"connection_id":161524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:50:44] local.INFO: Extracted packet for processing {"connection_id":161524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:50:44] local.INFO: GPS Element Parsed {"raw_longitude":763113664,"raw_latitude":98141888,"longitude_deg":76.3113664,"latitude_deg":9.8141888,"altitude":6,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7c30c0","hex_latitude":"05d986c0","is_valid_coordinates":true} 
[2026-08-23 08:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588430592001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549255339507712,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949074697174575104,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50: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-08-23 08:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787455110000,"timestamp_ms":1787455110000,"timestamp_seconds":1787455110,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca07b70"} 
[2026-08-23 08:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 08:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588430592001,"66":12385,"245":206,"85":15104,"24":0,"16":122549255339507712,"45":8949074697174575104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588430592001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:50:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549255339507712,"km_value":122549255339507.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949074697174575104,"description":"Unknown IO ID 45"} 
[2026-08-23 08:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588430592001,"power":12385,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949074697174575104}} 
[2026-08-23 08:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":161524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:50:44] local.INFO: GPS data processed {"connection_id":161524,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:50:44] local.INFO: Acknowledgment sent {"connection_id":161524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:50:47] local.INFO: TCP Data received {"connection_id":160364,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:50:47] local.INFO: Processing buffer {"connection_id":160364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:50:47] local.INFO: IMEI packet received {"connection_id":160364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":160364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:50:52] local.INFO: TCP Data received {"connection_id":160364,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:50:52] local.INFO: Processing buffer {"connection_id":160364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:50:52] local.INFO: IMEI packet received {"connection_id":160364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":160364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:50:53] local.INFO: TCP Data received {"connection_id":160364,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:50:53] local.INFO: Processing buffer {"connection_id":160364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:50:53] local.INFO: Packet analysis {"connection_id":160364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:50:53] local.INFO: Extracted packet for processing {"connection_id":160364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:50:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588431104001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787455110000,"timestamp_ms":1787455110000,"timestamp_seconds":1787455110,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca07b70"} 
[2026-08-23 08:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:50:53] 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-08-23 08:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:50:53] 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-08-23 08:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588431104001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588431104001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:50:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:50:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588431104001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":160364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:50:53] local.INFO: GPS data processed {"connection_id":160364,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:50:53] local.INFO: Acknowledgment sent {"connection_id":160364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:50:58] local.INFO: TCP Data received {"connection_id":160364,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:50:58] local.INFO: Processing buffer {"connection_id":160364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:50:58] local.INFO: Packet analysis {"connection_id":160364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:50:58] local.INFO: Extracted packet for processing {"connection_id":160364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:50:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588431104001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787455110000,"timestamp_ms":1787455110000,"timestamp_seconds":1787455110,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca07b70"} 
[2026-08-23 08:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:50: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-08-23 08:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:50: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-08-23 08: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-08-23 08:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588431104001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588431104001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:50:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:50:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588431104001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":160364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:50:58] local.INFO: GPS data processed {"connection_id":160364,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:50:58] local.INFO: Acknowledgment sent {"connection_id":160364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:51:06] local.INFO: TCP Data received {"connection_id":160571,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:51:06] local.INFO: Processing buffer {"connection_id":160571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:51:06] local.INFO: IMEI packet received {"connection_id":160571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":160571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:51:10] local.INFO: TCP Data received {"connection_id":160571,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:51:10] local.INFO: Processing buffer {"connection_id":160571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:51:10] local.INFO: IMEI packet received {"connection_id":160571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":160571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:51:11] local.INFO: TCP Data received {"connection_id":161525,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9f4ea8012d1967c0071feea80038011d28..."} 
[2026-08-23 08:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9f4ea8012d1967c0071feea80038011d28..."} 
[2026-08-23 08:51:11] local.INFO: Processing buffer {"connection_id":161525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9f4ea8012d1967c0071feea80038011d28..."} 
[2026-08-23 08:51:11] local.INFO: Packet analysis {"connection_id":161525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9f"} 
[2026-08-23 08:51:11] local.INFO: Extracted packet for processing {"connection_id":161525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9f"} 
[2026-08-23 08:51:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588483072001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787455033000,"timestamp_ms":1787455033000,"timestamp_seconds":1787455033,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9f4ea8"} 
[2026-08-23 08:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-23 08:51:11] 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-08-23 08: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-08-23 08:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588483072001,"66":12645,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588483072001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:51:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:51:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588483072001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":161525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:51:11] local.INFO: GPS data processed {"connection_id":161525,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:51:11] local.INFO: Acknowledgment sent {"connection_id":161525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:51:11] local.INFO: TCP Data received {"connection_id":160571,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca2e4a0012d7c30c005d986c00006009e22..."} 
[2026-08-23 08:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca2e4a0012d7c30c005d986c00006009e22..."} 
[2026-08-23 08:51:11] local.INFO: Processing buffer {"connection_id":160571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca2e4a0012d7c30c005d986c00006009e22..."} 
[2026-08-23 08:51:11] local.INFO: Packet analysis {"connection_id":160571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca2"} 
[2026-08-23 08:51:11] local.INFO: Extracted packet for processing {"connection_id":160571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca2"} 
[2026-08-23 08:51:11] local.INFO: GPS Element Parsed {"raw_longitude":763113664,"raw_latitude":98141888,"longitude_deg":76.3113664,"latitude_deg":9.8141888,"altitude":6,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2d7c30c0","hex_latitude":"05d986c0","is_valid_coordinates":true} 
[2026-08-23 08:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588508160001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549255339507712,"note":"Value kept but may cause issues"} 
[2026-08-23 08:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948863590942031872,"note":"Value kept but may cause issues"} 
[2026-08-23 08:51:11] 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-08-23 08:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787455268000,"timestamp_ms":1787455268000,"timestamp_seconds":1787455268,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca2e4a0"} 
[2026-08-23 08:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 08:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588508160001,"66":12341,"245":206,"85":15104,"24":0,"16":122549255339507712,"45":8948863590942031872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588508160001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549255339507712,"km_value":122549255339507.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948863590942031872,"description":"Unknown IO ID 45"} 
[2026-08-23 08:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588508160001,"power":12341,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8948863590942031872}} 
[2026-08-23 08:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":160571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:51:12] local.INFO: GPS data processed {"connection_id":160571,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:51:12] local.INFO: Acknowledgment sent {"connection_id":160571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:51:29] local.INFO: TCP Data received {"connection_id":160364,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:51:29] local.INFO: Processing buffer {"connection_id":160364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:51:29] local.INFO: Packet analysis {"connection_id":160364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:51:29] local.INFO: Extracted packet for processing {"connection_id":160364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:51:29] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588431104001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787455110000,"timestamp_ms":1787455110000,"timestamp_seconds":1787455110,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca07b70"} 
[2026-08-23 08:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:51: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-08-23 08:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:51: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-08-23 08:51:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588431104001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588431104001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:51:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:51:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588431104001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":160364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:51:29] local.INFO: GPS data processed {"connection_id":160364,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:51:29] local.INFO: Acknowledgment sent {"connection_id":160364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:51:30] local.INFO: TCP Data received {"connection_id":162950,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:51:30] local.INFO: Processing buffer {"connection_id":162950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:51:30] local.INFO: IMEI packet received {"connection_id":162950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":162950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:51:35] local.INFO: TCP Data received {"connection_id":162950,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:51:35] local.INFO: Processing buffer {"connection_id":162950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:51:35] local.INFO: IMEI packet received {"connection_id":162950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":162950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:51:36] local.INFO: TCP Data received {"connection_id":162950,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9fa0b0012d1967c0071feea80038011d28..."} 
[2026-08-23 08:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9fa0b0012d1967c0071feea80038011d28..."} 
[2026-08-23 08:51:36] local.INFO: Processing buffer {"connection_id":162950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9fa0b0012d1967c0071feea80038011d28..."} 
[2026-08-23 08:51:36] local.INFO: Packet analysis {"connection_id":162950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9f"} 
[2026-08-23 08:51:36] local.INFO: Extracted packet for processing {"connection_id":162950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9f"} 
[2026-08-23 08:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588488448001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787455054000,"timestamp_ms":1787455054000,"timestamp_seconds":1787455054,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9fa0b0"} 
[2026-08-23 08:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-23 08:51:36] 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-08-23 08:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588488448001,"66":12645,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588488448001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:51:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588488448001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":162950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:51:36] local.INFO: GPS data processed {"connection_id":162950,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:51:36] local.INFO: Acknowledgment sent {"connection_id":162950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:51:43] local.INFO: TCP Data received {"connection_id":160571,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca2e4a0012d7c30c005d986c00006009e22..."} 
[2026-08-23 08:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca2e4a0012d7c30c005d986c00006009e22..."} 
[2026-08-23 08:51:43] local.INFO: Processing buffer {"connection_id":160571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca2e4a0012d7c30c005d986c00006009e22..."} 
[2026-08-23 08:51:43] local.INFO: Packet analysis {"connection_id":160571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca2"} 
[2026-08-23 08:51:43] local.INFO: Extracted packet for processing {"connection_id":160571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca2"} 
[2026-08-23 08:51:43] local.INFO: GPS Element Parsed {"raw_longitude":763113664,"raw_latitude":98141888,"longitude_deg":76.3113664,"latitude_deg":9.8141888,"altitude":6,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2d7c30c0","hex_latitude":"05d986c0","is_valid_coordinates":true} 
[2026-08-23 08:51:43] 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-08-23 08:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588548608001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549255339507712,"note":"Value kept but may cause issues"} 
[2026-08-23 08:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948863590942031872,"note":"Value kept but may cause issues"} 
[2026-08-23 08:51:43] 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-08-23 08:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787455268000,"timestamp_ms":1787455268000,"timestamp_seconds":1787455268,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca2e4a0"} 
[2026-08-23 08:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 08:51:43] 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-08-23 08:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588548608001,"66":12341,"245":206,"85":15104,"24":0,"16":122549255339507712,"45":8948863590942031872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588548608001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:51:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549255339507712,"km_value":122549255339507.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948863590942031872,"description":"Unknown IO ID 45"} 
[2026-08-23 08:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588548608001,"power":12341,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8948863590942031872}} 
[2026-08-23 08:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":160571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:51:43] local.INFO: GPS data processed {"connection_id":160571,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:51:43] local.INFO: Acknowledgment sent {"connection_id":160571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:51:47] local.INFO: TCP Data received {"connection_id":161526,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:51:47] local.INFO: Processing buffer {"connection_id":161526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:51:47] local.INFO: IMEI packet received {"connection_id":161526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":161526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:51:52] local.INFO: TCP Data received {"connection_id":161526,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:51:52] local.INFO: Processing buffer {"connection_id":161526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:51:52] local.INFO: IMEI packet received {"connection_id":161526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":161526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:51:52] local.INFO: TCP Data received {"connection_id":161526,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:51:52] local.INFO: Processing buffer {"connection_id":161526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:51:52] local.INFO: Packet analysis {"connection_id":161526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:51:52] local.INFO: Extracted packet for processing {"connection_id":161526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:51: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-08-23 08:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588431104001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787455110000,"timestamp_ms":1787455110000,"timestamp_seconds":1787455110,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca07b70"} 
[2026-08-23 08:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:51:52] 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-08-23 08:51: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-08-23 08:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:51:52] 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-08-23 08:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588431104001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588431104001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:51:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588431104001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":161526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:51:52] local.INFO: GPS data processed {"connection_id":161526,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:51:52] local.INFO: Acknowledgment sent {"connection_id":161526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:52:07] local.INFO: TCP Data received {"connection_id":162950,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02c9ff2b8012d1967c0071feea80038011d27..."} 
[2026-08-23 08:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02c9ff2b8012d1967c0071feea80038011d27..."} 
[2026-08-23 08:52:07] local.INFO: Processing buffer {"connection_id":162950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02c9ff2b8012d1967c0071feea80038011d27..."} 
[2026-08-23 08:52:07] local.INFO: Packet analysis {"connection_id":162950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02c9f"} 
[2026-08-23 08:52:07] local.INFO: Extracted packet for processing {"connection_id":162950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02c9f"} 
[2026-08-23 08:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588493824001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787455075000,"timestamp_ms":1787455075000,"timestamp_seconds":1787455075,"priority":1,"record_length":96,"hex_timestamp":"000001a02c9ff2b8"} 
[2026-08-23 08:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-23 08:52:07] 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-08-23 08: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-08-23 08:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588493824001,"66":12591,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588493824001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:52:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:52:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588493824001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":162950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:52:07] local.INFO: GPS data processed {"connection_id":162950,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:52:07] local.INFO: Acknowledgment sent {"connection_id":162950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:52:11] local.INFO: TCP Data received {"connection_id":161527,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:52:11] local.INFO: Processing buffer {"connection_id":161527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:52:11] local.INFO: IMEI packet received {"connection_id":161527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":161527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:52:17] local.INFO: TCP Data received {"connection_id":161527,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161527,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:52:17] local.INFO: Processing buffer {"connection_id":161527,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:52:17] local.INFO: IMEI packet received {"connection_id":161527,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":161527,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:52:17] local.INFO: TCP Data received {"connection_id":161527,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca2e4a0012d7c30c005d986c00006009e22..."} 
[2026-08-23 08:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca2e4a0012d7c30c005d986c00006009e22..."} 
[2026-08-23 08:52:17] local.INFO: Processing buffer {"connection_id":161527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca2e4a0012d7c30c005d986c00006009e22..."} 
[2026-08-23 08:52:17] local.INFO: Packet analysis {"connection_id":161527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca2"} 
[2026-08-23 08:52:17] local.INFO: Extracted packet for processing {"connection_id":161527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca2"} 
[2026-08-23 08:52:17] local.INFO: GPS Element Parsed {"raw_longitude":763113664,"raw_latitude":98141888,"longitude_deg":76.3113664,"latitude_deg":9.8141888,"altitude":6,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2d7c30c0","hex_latitude":"05d986c0","is_valid_coordinates":true} 
[2026-08-23 08:52:17] 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-08-23 08:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588548608001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549255339507712,"note":"Value kept but may cause issues"} 
[2026-08-23 08:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948863590942031872,"note":"Value kept but may cause issues"} 
[2026-08-23 08:52:17] 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-08-23 08:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787455268000,"timestamp_ms":1787455268000,"timestamp_seconds":1787455268,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca2e4a0"} 
[2026-08-23 08:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 08:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588548608001,"66":12341,"245":206,"85":15104,"24":0,"16":122549255339507712,"45":8948863590942031872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588548608001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:52:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549255339507712,"km_value":122549255339507.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948863590942031872,"description":"Unknown IO ID 45"} 
[2026-08-23 08:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588548608001,"power":12341,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8948863590942031872}} 
[2026-08-23 08:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":161527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:52:17] local.INFO: GPS data processed {"connection_id":161527,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:52:17] local.INFO: Acknowledgment sent {"connection_id":161527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:52:22] local.INFO: TCP Data received {"connection_id":161527,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca2e4a0012d7c30c005d986c00006009e22..."} 
[2026-08-23 08:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca2e4a0012d7c30c005d986c00006009e22..."} 
[2026-08-23 08:52:22] local.INFO: Processing buffer {"connection_id":161527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca2e4a0012d7c30c005d986c00006009e22..."} 
[2026-08-23 08:52:22] local.INFO: Packet analysis {"connection_id":161527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca2"} 
[2026-08-23 08:52:22] local.INFO: Extracted packet for processing {"connection_id":161527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca2"} 
[2026-08-23 08:52:22] local.INFO: GPS Element Parsed {"raw_longitude":763113664,"raw_latitude":98141888,"longitude_deg":76.3113664,"latitude_deg":9.8141888,"altitude":6,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2d7c30c0","hex_latitude":"05d986c0","is_valid_coordinates":true} 
[2026-08-23 08:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588548608001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549255339507712,"note":"Value kept but may cause issues"} 
[2026-08-23 08:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948863590942031872,"note":"Value kept but may cause issues"} 
[2026-08-23 08:52:22] 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-08-23 08:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787455268000,"timestamp_ms":1787455268000,"timestamp_seconds":1787455268,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca2e4a0"} 
[2026-08-23 08:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 08:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161527,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588548608001,"66":12341,"245":206,"85":15104,"24":0,"16":122549255339507712,"45":8948863590942031872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588548608001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:52:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549255339507712,"km_value":122549255339507.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948863590942031872,"description":"Unknown IO ID 45"} 
[2026-08-23 08:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588548608001,"power":12341,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8948863590942031872}} 
[2026-08-23 08:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":161527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:52:22] local.INFO: GPS data processed {"connection_id":161527,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:52:22] local.INFO: Acknowledgment sent {"connection_id":161527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:52:25] local.INFO: TCP Data received {"connection_id":161526,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:52:25] local.INFO: Processing buffer {"connection_id":161526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:52:25] local.INFO: Packet analysis {"connection_id":161526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:52:25] local.INFO: Extracted packet for processing {"connection_id":161526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:52:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588431104001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787455110000,"timestamp_ms":1787455110000,"timestamp_seconds":1787455110,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca07b70"} 
[2026-08-23 08:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:52:25] 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-08-23 08: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-08-23 08:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:52:25] 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-08-23 08:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588431104001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588431104001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:52:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:52:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588431104001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":161526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:52:25] local.INFO: GPS data processed {"connection_id":161526,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:52:25] local.INFO: Acknowledgment sent {"connection_id":161526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:52:30] local.INFO: TCP Data received {"connection_id":160572,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:52:30] local.INFO: Processing buffer {"connection_id":160572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:52:30] local.INFO: IMEI packet received {"connection_id":160572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":160572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:52:35] local.INFO: TCP Data received {"connection_id":160572,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:52:35] local.INFO: Processing buffer {"connection_id":160572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:52:35] local.INFO: IMEI packet received {"connection_id":160572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":160572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:52:36] local.INFO: TCP Data received {"connection_id":160572,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca044c0012d1967c0071feea80038011d28..."} 
[2026-08-23 08:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca044c0012d1967c0071feea80038011d28..."} 
[2026-08-23 08:52:36] local.INFO: Processing buffer {"connection_id":160572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca044c0012d1967c0071feea80038011d28..."} 
[2026-08-23 08:52:36] local.INFO: Packet analysis {"connection_id":160572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:52:36] local.INFO: Extracted packet for processing {"connection_id":160572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:52:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588499200001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787455096000,"timestamp_ms":1787455096000,"timestamp_seconds":1787455096,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca044c0"} 
[2026-08-23 08:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588499200001,"66":12602,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588499200001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:52:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:52:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588499200001,"power":12602,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":160572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:52:36] local.INFO: GPS data processed {"connection_id":160572,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:52:36] local.INFO: Acknowledgment sent {"connection_id":160572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:52:47] local.INFO: TCP Data received {"connection_id":161528,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:52:47] local.INFO: Processing buffer {"connection_id":161528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:52:47] local.INFO: IMEI packet received {"connection_id":161528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":161528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:52:52] local.INFO: TCP Data received {"connection_id":161528,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:52:52] local.INFO: Processing buffer {"connection_id":161528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:52:52] local.INFO: IMEI packet received {"connection_id":161528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":161528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:52:53] local.INFO: TCP Data received {"connection_id":161528,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:52:53] local.INFO: Processing buffer {"connection_id":161528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:52:53] local.INFO: Packet analysis {"connection_id":161528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:52:53] local.INFO: Extracted packet for processing {"connection_id":161528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:52:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588431104001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787455110000,"timestamp_ms":1787455110000,"timestamp_seconds":1787455110,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca07b70"} 
[2026-08-23 08:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:52:53] 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-08-23 08:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:52:53] 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-08-23 08:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588431104001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588431104001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:52:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:52:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588431104001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":161528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:52:53] local.INFO: GPS data processed {"connection_id":161528,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:52:53] local.INFO: Acknowledgment sent {"connection_id":161528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:53:07] local.INFO: TCP Data received {"connection_id":160573,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160573,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:53:07] local.INFO: Processing buffer {"connection_id":160573,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:53:07] local.INFO: IMEI packet received {"connection_id":160573,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":160573,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:53:07] local.INFO: TCP Data received {"connection_id":160572,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca096c8012d1967c0071feea80038011d27..."} 
[2026-08-23 08:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca096c8012d1967c0071feea80038011d27..."} 
[2026-08-23 08:53:07] local.INFO: Processing buffer {"connection_id":160572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca096c8012d1967c0071feea80038011d27..."} 
[2026-08-23 08:53:07] local.INFO: Packet analysis {"connection_id":160572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:53:07] local.INFO: Extracted packet for processing {"connection_id":160572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588504576001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787455117000,"timestamp_ms":1787455117000,"timestamp_seconds":1787455117,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca096c8"} 
[2026-08-23 08:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-23 08:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588504576001,"66":12591,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588504576001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:53:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588504576001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":160572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:53:07] local.INFO: GPS data processed {"connection_id":160572,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:53:07] local.INFO: Acknowledgment sent {"connection_id":160572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:53:12] local.INFO: TCP Data received {"connection_id":160573,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160573,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:53:12] local.INFO: Processing buffer {"connection_id":160573,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:53:12] local.INFO: IMEI packet received {"connection_id":160573,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":160573,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:53:12] local.INFO: TCP Data received {"connection_id":160573,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca2e4a0012d7c30c005d986c00006009e22..."} 
[2026-08-23 08:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca2e4a0012d7c30c005d986c00006009e22..."} 
[2026-08-23 08:53:12] local.INFO: Processing buffer {"connection_id":160573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca2e4a0012d7c30c005d986c00006009e22..."} 
[2026-08-23 08:53:12] local.INFO: Packet analysis {"connection_id":160573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca2"} 
[2026-08-23 08:53:12] local.INFO: Extracted packet for processing {"connection_id":160573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca2"} 
[2026-08-23 08:53:12] local.INFO: GPS Element Parsed {"raw_longitude":763113664,"raw_latitude":98141888,"longitude_deg":76.3113664,"latitude_deg":9.8141888,"altitude":6,"angle":158,"satellites":34,"speed":0,"hex_longitude":"2d7c30c0","hex_latitude":"05d986c0","is_valid_coordinates":true} 
[2026-08-23 08:53: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-08-23 08:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588548608001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549255339507712,"note":"Value kept but may cause issues"} 
[2026-08-23 08:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948863590942031872,"note":"Value kept but may cause issues"} 
[2026-08-23 08:53:12] 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-08-23 08:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787455268000,"timestamp_ms":1787455268000,"timestamp_seconds":1787455268,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca2e4a0"} 
[2026-08-23 08:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 08:53:12] 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-08-23 08: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-08-23 08:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588548608001,"66":12341,"245":206,"85":15104,"24":0,"16":122549255339507712,"45":8948863590942031872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588548608001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549255339507712,"km_value":122549255339507.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948863590942031872,"description":"Unknown IO ID 45"} 
[2026-08-23 08:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588548608001,"power":12341,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8948863590942031872}} 
[2026-08-23 08:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":160573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:53:12] local.INFO: GPS data processed {"connection_id":160573,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:53:12] local.INFO: Acknowledgment sent {"connection_id":160573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:53:24] local.INFO: TCP Data received {"connection_id":161528,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:53:24] local.INFO: Processing buffer {"connection_id":161528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:53:24] local.INFO: Packet analysis {"connection_id":161528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:53:24] local.INFO: Extracted packet for processing {"connection_id":161528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588431104001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787455110000,"timestamp_ms":1787455110000,"timestamp_seconds":1787455110,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca07b70"} 
[2026-08-23 08:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:53: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-08-23 08:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:53:24] 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-08-23 08:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:53:24] 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-08-23 08:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588431104001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588431104001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:53:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588431104001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":161528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:53:24] local.INFO: GPS data processed {"connection_id":161528,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:53:24] local.INFO: Acknowledgment sent {"connection_id":161528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:53:30] local.INFO: TCP Data received {"connection_id":162951,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:53:30] local.INFO: Processing buffer {"connection_id":162951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:53:30] local.INFO: IMEI packet received {"connection_id":162951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":162951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:53:35] local.INFO: TCP Data received {"connection_id":162951,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:53:35] local.INFO: Processing buffer {"connection_id":162951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:53:35] local.INFO: IMEI packet received {"connection_id":162951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":162951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:53:36] local.INFO: TCP Data received {"connection_id":162951,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca0e8d0012d1967c0071feea80038011d26..."} 
[2026-08-23 08:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca0e8d0012d1967c0071feea80038011d26..."} 
[2026-08-23 08:53:36] local.INFO: Processing buffer {"connection_id":162951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca0e8d0012d1967c0071feea80038011d26..."} 
[2026-08-23 08:53:36] local.INFO: Packet analysis {"connection_id":162951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:53:36] local.INFO: Extracted packet for processing {"connection_id":162951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588509952001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787455138000,"timestamp_ms":1787455138000,"timestamp_seconds":1787455138,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca0e8d0"} 
[2026-08-23 08:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588509952001,"66":12558,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588509952001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:53:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588509952001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":162951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:53:36] local.INFO: GPS data processed {"connection_id":162951,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:53:36] local.INFO: Acknowledgment sent {"connection_id":162951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:53:43] local.INFO: TCP Data received {"connection_id":160573,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca51338012d7c30c005d986c00006009e26..."} 
[2026-08-23 08:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca51338012d7c30c005d986c00006009e26..."} 
[2026-08-23 08:53:43] local.INFO: Processing buffer {"connection_id":160573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca51338012d7c30c005d986c00006009e26..."} 
[2026-08-23 08:53:43] local.INFO: Packet analysis {"connection_id":160573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:53:43] local.INFO: Extracted packet for processing {"connection_id":160573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:53:43] local.INFO: GPS Element Parsed {"raw_longitude":763113664,"raw_latitude":98141888,"longitude_deg":76.3113664,"latitude_deg":9.8141888,"altitude":6,"angle":158,"satellites":38,"speed":0,"hex_longitude":"2d7c30c0","hex_latitude":"05d986c0","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588548608001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549255339507712,"note":"Value kept but may cause issues"} 
[2026-08-23 08:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948863590942031872,"note":"Value kept but may cause issues"} 
[2026-08-23 08:53:43] 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-08-23 08:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787455411000,"timestamp_ms":1787455411000,"timestamp_seconds":1787455411,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca51338"} 
[2026-08-23 08:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 08:53:43] 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-08-23 08: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-08-23 08:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588548608001,"66":2242,"245":206,"85":15104,"24":0,"16":122549255339507712,"45":8948863590942031872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588548608001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:53:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549255339507712,"km_value":122549255339507.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948863590942031872,"description":"Unknown IO ID 45"} 
[2026-08-23 08:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588548608001,"power":2242,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8948863590942031872}} 
[2026-08-23 08:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":160573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:53:43] local.INFO: GPS data processed {"connection_id":160573,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:53:43] local.INFO: Acknowledgment sent {"connection_id":160573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:53:46] local.INFO: TCP Data received {"connection_id":162952,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:53:46] local.INFO: Processing buffer {"connection_id":162952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:53:46] local.INFO: IMEI packet received {"connection_id":162952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":162952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:53:52] local.INFO: TCP Data received {"connection_id":162952,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:53:52] local.INFO: Processing buffer {"connection_id":162952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:53:52] local.INFO: IMEI packet received {"connection_id":162952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":162952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:53:52] local.INFO: TCP Data received {"connection_id":162952,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:53:52] local.INFO: Processing buffer {"connection_id":162952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca07b70012d34c50006aa4098001200851d..."} 
[2026-08-23 08:53:52] local.INFO: Packet analysis {"connection_id":162952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:53:52] local.INFO: Extracted packet for processing {"connection_id":162952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca0"} 
[2026-08-23 08:53:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588431104001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787455110000,"timestamp_ms":1787455110000,"timestamp_seconds":1787455110,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca07b70"} 
[2026-08-23 08:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:53:52] 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-08-23 08:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:53:52] 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-08-23 08:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588431104001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588431104001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:53:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:53:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588431104001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":162952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:53:52] local.INFO: GPS data processed {"connection_id":162952,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:53:52] local.INFO: Acknowledgment sent {"connection_id":162952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:54:07] local.INFO: TCP Data received {"connection_id":161529,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161529,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:54:07] local.INFO: Processing buffer {"connection_id":161529,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:54:07] local.INFO: IMEI packet received {"connection_id":161529,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":161529,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:54:07] local.INFO: TCP Data received {"connection_id":162951,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca13ad8012d1967c0071feea80038011d27..."} 
[2026-08-23 08:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca13ad8012d1967c0071feea80038011d27..."} 
[2026-08-23 08:54:07] local.INFO: Processing buffer {"connection_id":162951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca13ad8012d1967c0071feea80038011d27..."} 
[2026-08-23 08:54:07] local.INFO: Packet analysis {"connection_id":162951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca1"} 
[2026-08-23 08:54:07] local.INFO: Extracted packet for processing {"connection_id":162951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca1"} 
[2026-08-23 08:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 08:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588515328001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787455159000,"timestamp_ms":1787455159000,"timestamp_seconds":1787455159,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca13ad8"} 
[2026-08-23 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-08-23 08:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-23 08:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:07] local.WARNING: Large IO value detected {"io_id":22,"raw_value":2583691264,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:07] local.WARNING: Large IO value detected {"io_id":56,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249742680575438504,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2678108161,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 08:54:07] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:07] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:07] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:07] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,22,160,150,45,192,238,56,39,10,66,68,40,242,1,240,47,227,44,31,4,113,205,78,103,168,239,49,2,54,7,120,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 08:54:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538790146637824,"timestamp_seconds":4035538790146638.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 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-08-23 08:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588515328001,"66":12558,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588515328001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:54:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:54:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588515328001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":162951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:54:07] local.INFO: GPS data processed {"connection_id":162951,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:54:07] local.INFO: Acknowledgment sent {"connection_id":162951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:54:12] local.INFO: TCP Data received {"connection_id":161529,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161529,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:54:12] local.INFO: Processing buffer {"connection_id":161529,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:54:12] local.INFO: IMEI packet received {"connection_id":161529,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":161529,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:54:12] local.INFO: TCP Data received {"connection_id":161529,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca51338012d7c30c005d986c00006009e26..."} 
[2026-08-23 08:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca51338012d7c30c005d986c00006009e26..."} 
[2026-08-23 08:54:12] local.INFO: Processing buffer {"connection_id":161529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca51338012d7c30c005d986c00006009e26..."} 
[2026-08-23 08:54:12] local.INFO: Packet analysis {"connection_id":161529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:54:12] local.INFO: Extracted packet for processing {"connection_id":161529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:54:12] local.INFO: GPS Element Parsed {"raw_longitude":763113664,"raw_latitude":98141888,"longitude_deg":76.3113664,"latitude_deg":9.8141888,"altitude":6,"angle":158,"satellites":38,"speed":0,"hex_longitude":"2d7c30c0","hex_latitude":"05d986c0","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588548608001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549255339507712,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948863590942031872,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:12] 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-08-23 08:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787455411000,"timestamp_ms":1787455411000,"timestamp_seconds":1787455411,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca51338"} 
[2026-08-23 08:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 08:54:12] 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-08-23 08: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-08-23 08:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588548608001,"66":2242,"245":206,"85":15104,"24":0,"16":122549255339507712,"45":8948863590942031872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588548608001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549255339507712,"km_value":122549255339507.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948863590942031872,"description":"Unknown IO ID 45"} 
[2026-08-23 08:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588548608001,"power":2242,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8948863590942031872}} 
[2026-08-23 08:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":161529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:54:12] local.INFO: GPS data processed {"connection_id":161529,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:54:12] local.INFO: Acknowledgment sent {"connection_id":161529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:54:24] local.INFO: TCP Data received {"connection_id":162952,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:54:24] local.INFO: Processing buffer {"connection_id":162952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:54:24] local.INFO: Packet analysis {"connection_id":162952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:54:24] local.INFO: Extracted packet for processing {"connection_id":162952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:54:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 08:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588508160001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787455411000,"timestamp_ms":1787455411000,"timestamp_seconds":1787455411,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca51338"} 
[2026-08-23 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-08-23 08:54: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-08-23 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:54:24] 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-08-23 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-08-23 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-08-23 08:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588508160001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588508160001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:54:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:54:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588508160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":162952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:54:24] local.INFO: GPS data processed {"connection_id":162952,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:54:24] local.INFO: Acknowledgment sent {"connection_id":162952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:54:30] local.INFO: TCP Data received {"connection_id":160574,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:54:30] local.INFO: Processing buffer {"connection_id":160574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:54:30] local.INFO: IMEI packet received {"connection_id":160574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":160574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:54:30] local.INFO: TCP Data received {"connection_id":160574,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:54:30] local.INFO: Processing buffer {"connection_id":160574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:54:30] local.INFO: IMEI packet received {"connection_id":160574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":160574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:54:35] local.INFO: TCP Data received {"connection_id":160574,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:54:35] local.INFO: Processing buffer {"connection_id":160574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:54:35] local.INFO: IMEI packet received {"connection_id":160574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":160574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:54:36] local.INFO: TCP Data received {"connection_id":160574,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca4c130012d1967c0071feea80038011d28..."} 
[2026-08-23 08:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca4c130012d1967c0071feea80038011d28..."} 
[2026-08-23 08:54:36] local.INFO: Processing buffer {"connection_id":160574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca4c130012d1967c0071feea80038011d28..."} 
[2026-08-23 08:54:36] local.INFO: Packet analysis {"connection_id":160574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca4"} 
[2026-08-23 08:54:36] local.INFO: Extracted packet for processing {"connection_id":160574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca4"} 
[2026-08-23 08:54:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588574464001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787455390000,"timestamp_ms":1787455390000,"timestamp_seconds":1787455390,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca4c130"} 
[2026-08-23 08:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 08:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588574464001,"66":12461,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588574464001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:54:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:54:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588574464001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":160574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:54:36] local.INFO: GPS data processed {"connection_id":160574,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:54:36] local.INFO: Acknowledgment sent {"connection_id":160574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:54:43] local.INFO: TCP Data received {"connection_id":161529,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca51338012d7c30c005d986c00006009e26..."} 
[2026-08-23 08:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca51338012d7c30c005d986c00006009e26..."} 
[2026-08-23 08:54:43] local.INFO: Processing buffer {"connection_id":161529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca51338012d7c30c005d986c00006009e26..."} 
[2026-08-23 08:54:43] local.INFO: Packet analysis {"connection_id":161529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:54:43] local.INFO: Extracted packet for processing {"connection_id":161529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:54:43] local.INFO: GPS Element Parsed {"raw_longitude":763113664,"raw_latitude":98141888,"longitude_deg":76.3113664,"latitude_deg":9.8141888,"altitude":6,"angle":158,"satellites":38,"speed":0,"hex_longitude":"2d7c30c0","hex_latitude":"05d986c0","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588548608001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549255339507712,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948863590942031872,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:43] 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-08-23 08:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787455411000,"timestamp_ms":1787455411000,"timestamp_seconds":1787455411,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca51338"} 
[2026-08-23 08:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 08:54:43] 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-08-23 08: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-08-23 08:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588548608001,"66":2242,"245":206,"85":15104,"24":0,"16":122549255339507712,"45":8948863590942031872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588548608001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:54:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549255339507712,"km_value":122549255339507.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948863590942031872,"description":"Unknown IO ID 45"} 
[2026-08-23 08:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588548608001,"power":2242,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8948863590942031872}} 
[2026-08-23 08:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":161529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:54:43] local.INFO: GPS data processed {"connection_id":161529,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:54:43] local.INFO: Acknowledgment sent {"connection_id":161529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:54:46] local.INFO: TCP Data received {"connection_id":160365,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:54:46] local.INFO: Processing buffer {"connection_id":160365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:54:46] local.INFO: IMEI packet received {"connection_id":160365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":160365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:54:52] local.INFO: TCP Data received {"connection_id":160365,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:54:52] local.INFO: Processing buffer {"connection_id":160365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:54:52] local.INFO: IMEI packet received {"connection_id":160365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":160365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:54:52] local.INFO: TCP Data received {"connection_id":160365,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:54:52] local.INFO: Processing buffer {"connection_id":160365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:54:52] local.INFO: Packet analysis {"connection_id":160365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:54:52] local.INFO: Extracted packet for processing {"connection_id":160365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:54:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588508160001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787455411000,"timestamp_ms":1787455411000,"timestamp_seconds":1787455411,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca51338"} 
[2026-08-23 08:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:54: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-08-23 08:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:54:52] 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-08-23 08:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:54:52] 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-08-23 08:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588508160001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588508160001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:54:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:54:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588508160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":160365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:54:53] local.INFO: GPS data processed {"connection_id":160365,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:54:53] local.INFO: Acknowledgment sent {"connection_id":160365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:55:07] local.INFO: TCP Data received {"connection_id":161530,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:55:07] local.INFO: Processing buffer {"connection_id":161530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:55:07] local.INFO: IMEI packet received {"connection_id":161530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 08:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":161530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:55:07] local.INFO: TCP Data received {"connection_id":160574,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca51338012d1967c0071feea80038011d28..."} 
[2026-08-23 08:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca51338012d1967c0071feea80038011d28..."} 
[2026-08-23 08:55:07] local.INFO: Processing buffer {"connection_id":160574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca51338012d1967c0071feea80038011d28..."} 
[2026-08-23 08:55:07] local.INFO: Packet analysis {"connection_id":160574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:55:07] local.INFO: Extracted packet for processing {"connection_id":160574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:55:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588579840001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787455411000,"timestamp_ms":1787455411000,"timestamp_seconds":1787455411,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca51338"} 
[2026-08-23 08:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:55:07] 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-08-23 08:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 08:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588579840001,"66":12406,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588579840001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:55:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:55:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588579840001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":160574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:55:07] local.INFO: GPS data processed {"connection_id":160574,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:55:07] local.INFO: Acknowledgment sent {"connection_id":160574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:55:11] local.INFO: TCP Data received {"connection_id":161530,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:55:12] local.INFO: Processing buffer {"connection_id":161530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 08:55:12] local.INFO: IMEI packet received {"connection_id":161530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 08:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":161530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:55:12] local.INFO: TCP Data received {"connection_id":161530,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca51338012d7c30c005d986c00006009e26..."} 
[2026-08-23 08:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca51338012d7c30c005d986c00006009e26..."} 
[2026-08-23 08:55:12] local.INFO: Processing buffer {"connection_id":161530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca51338012d7c30c005d986c00006009e26..."} 
[2026-08-23 08:55:12] local.INFO: Packet analysis {"connection_id":161530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:55:12] local.INFO: Extracted packet for processing {"connection_id":161530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:55:12] local.INFO: GPS Element Parsed {"raw_longitude":763113664,"raw_latitude":98141888,"longitude_deg":76.3113664,"latitude_deg":9.8141888,"altitude":6,"angle":158,"satellites":38,"speed":0,"hex_longitude":"2d7c30c0","hex_latitude":"05d986c0","is_valid_coordinates":true} 
[2026-08-23 08:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588548608001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122549255339507712,"note":"Value kept but may cause issues"} 
[2026-08-23 08:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948863590942031872,"note":"Value kept but may cause issues"} 
[2026-08-23 08:55:12] 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-08-23 08:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787455411000,"timestamp_ms":1787455411000,"timestamp_seconds":1787455411,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca51338"} 
[2026-08-23 08:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 08:55:12] 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-08-23 08:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 08:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 08:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 08:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588548608001,"66":2242,"245":206,"85":15104,"24":0,"16":122549255339507712,"45":8948863590942031872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 08:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 08:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 08:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588548608001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 08:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122549255339507712,"km_value":122549255339507.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948863590942031872,"description":"Unknown IO ID 45"} 
[2026-08-23 08:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588548608001,"power":2242,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8948863590942031872}} 
[2026-08-23 08:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":161530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:55:12] local.INFO: GPS data processed {"connection_id":161530,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:55:12] local.INFO: Acknowledgment sent {"connection_id":161530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:55:24] local.INFO: TCP Data received {"connection_id":160365,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:55:24] local.INFO: Processing buffer {"connection_id":160365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:55:24] local.INFO: Packet analysis {"connection_id":160365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:55:24] local.INFO: Extracted packet for processing {"connection_id":160365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:55:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588508160001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787455411000,"timestamp_ms":1787455411000,"timestamp_seconds":1787455411,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca51338"} 
[2026-08-23 08:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:55: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-08-23 08:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:55:24] 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-08-23 08:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:55:24] 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-08-23 08:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588508160001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588508160001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:55:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:55:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588508160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":160365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:55:24] local.INFO: GPS data processed {"connection_id":160365,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:55:24] local.INFO: Acknowledgment sent {"connection_id":160365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:55:30] local.INFO: TCP Data received {"connection_id":160575,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:55:30] local.INFO: Processing buffer {"connection_id":160575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:55:30] local.INFO: IMEI packet received {"connection_id":160575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":160575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:55:33] local.INFO: TCP Data received {"connection_id":160575,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:55:33] local.INFO: Processing buffer {"connection_id":160575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:55:33] local.INFO: IMEI packet received {"connection_id":160575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":160575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:55:35] local.INFO: TCP Data received {"connection_id":160575,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:55:35] local.INFO: Processing buffer {"connection_id":160575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:55:35] local.INFO: IMEI packet received {"connection_id":160575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":160575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:55:36] local.INFO: TCP Data received {"connection_id":160575,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca56540012d1967c0071feea80038011d26..."} 
[2026-08-23 08:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca56540012d1967c0071feea80038011d26..."} 
[2026-08-23 08:55:36] local.INFO: Processing buffer {"connection_id":160575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca56540012d1967c0071feea80038011d26..."} 
[2026-08-23 08:55:36] local.INFO: Packet analysis {"connection_id":160575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:55:36] local.INFO: Extracted packet for processing {"connection_id":160575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:55:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588585216001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787455432000,"timestamp_ms":1787455432000,"timestamp_seconds":1787455432,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca56540"} 
[2026-08-23 08:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 08:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588585216001,"66":12113,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588585216001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:55:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588585216001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":160575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:55:36] local.INFO: GPS data processed {"connection_id":160575,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:55:36] local.INFO: Acknowledgment sent {"connection_id":160575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:55:52] local.INFO: TCP Data received {"connection_id":162953,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:55:52] local.INFO: Processing buffer {"connection_id":162953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:55:52] local.INFO: IMEI packet received {"connection_id":162953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":162953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:55:57] local.INFO: TCP Data received {"connection_id":162953,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:55:57] local.INFO: Processing buffer {"connection_id":162953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:55:57] local.INFO: IMEI packet received {"connection_id":162953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":162953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:55:58] local.INFO: TCP Data received {"connection_id":162953,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:55:58] local.INFO: Processing buffer {"connection_id":162953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:55:58] local.INFO: Packet analysis {"connection_id":162953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:55:58] local.INFO: Extracted packet for processing {"connection_id":162953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:55:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588508160001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787455411000,"timestamp_ms":1787455411000,"timestamp_seconds":1787455411,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca51338"} 
[2026-08-23 08:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:55: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-08-23 08:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:55:58] 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-08-23 08:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588508160001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588508160001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:55:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:55:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588508160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":162953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:55:58] local.INFO: GPS data processed {"connection_id":162953,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:55:58] local.INFO: Acknowledgment sent {"connection_id":162953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:56:02] local.INFO: TCP Data received {"connection_id":162953,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:56:02] local.INFO: Processing buffer {"connection_id":162953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:56:02] local.INFO: Packet analysis {"connection_id":162953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:56:02] local.INFO: Extracted packet for processing {"connection_id":162953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:56:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588508160001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787455411000,"timestamp_ms":1787455411000,"timestamp_seconds":1787455411,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca51338"} 
[2026-08-23 08:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:56:02] 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-08-23 08:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:56:02] 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-08-23 08:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588508160001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588508160001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:56:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:56:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588508160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":162953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:56:02] local.INFO: GPS data processed {"connection_id":162953,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:56:02] local.INFO: Acknowledgment sent {"connection_id":162953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:56:07] local.INFO: TCP Data received {"connection_id":160575,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca5b748012d1967c0071feea80038011d27..."} 
[2026-08-23 08:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca5b748012d1967c0071feea80038011d27..."} 
[2026-08-23 08:56:07] local.INFO: Processing buffer {"connection_id":160575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca5b748012d1967c0071feea80038011d27..."} 
[2026-08-23 08:56:07] local.INFO: Packet analysis {"connection_id":160575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:56:07] local.INFO: Extracted packet for processing {"connection_id":160575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588590592001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787455453000,"timestamp_ms":1787455453000,"timestamp_seconds":1787455453,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca5b748"} 
[2026-08-23 08:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:56:07] 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-08-23 08:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-23 08:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588590592001,"66":12461,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588590592001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:56:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:56:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588590592001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":160575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:56:07] local.INFO: GPS data processed {"connection_id":160575,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:56:07] local.INFO: Acknowledgment sent {"connection_id":160575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:56:35] local.INFO: TCP Data received {"connection_id":161531,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:56:35] local.INFO: Processing buffer {"connection_id":161531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:56:35] local.INFO: IMEI packet received {"connection_id":161531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":161531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:56:36] local.INFO: TCP Data received {"connection_id":161531,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:56:36] local.INFO: Processing buffer {"connection_id":161531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:56:36] local.INFO: IMEI packet received {"connection_id":161531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":161531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:56:37] local.INFO: TCP Data received {"connection_id":161531,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca60950012d1967c0071feea80038011d28..."} 
[2026-08-23 08:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca60950012d1967c0071feea80038011d28..."} 
[2026-08-23 08:56:37] local.INFO: Processing buffer {"connection_id":161531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca60950012d1967c0071feea80038011d28..."} 
[2026-08-23 08:56:37] local.INFO: Packet analysis {"connection_id":161531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca6"} 
[2026-08-23 08:56:37] local.INFO: Extracted packet for processing {"connection_id":161531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca6"} 
[2026-08-23 08:56:37] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588595968001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787455474000,"timestamp_ms":1787455474000,"timestamp_seconds":1787455474,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca60950"} 
[2026-08-23 08:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 08:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588595968001,"66":12428,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588595968001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:56:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:56:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588595968001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":161531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:56:37] local.INFO: GPS data processed {"connection_id":161531,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:56:37] local.INFO: Acknowledgment sent {"connection_id":161531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:56:40] local.INFO: TCP Data received {"connection_id":161531,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca65b58012d1967c0071feea80038011d28..."} 
[2026-08-23 08:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca65b58012d1967c0071feea80038011d28..."} 
[2026-08-23 08:56:40] local.INFO: Processing buffer {"connection_id":161531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca65b58012d1967c0071feea80038011d28..."} 
[2026-08-23 08:56:40] local.INFO: Packet analysis {"connection_id":161531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca6"} 
[2026-08-23 08:56:40] local.INFO: Extracted packet for processing {"connection_id":161531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca6"} 
[2026-08-23 08:56:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588601344001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787455495000,"timestamp_ms":1787455495000,"timestamp_seconds":1787455495,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca65b58"} 
[2026-08-23 08:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:56:40] 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-08-23 08:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 08:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588601344001,"66":12428,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588601344001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:56:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:56:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588601344001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":161531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:56:40] local.INFO: GPS data processed {"connection_id":161531,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:56:40] local.INFO: Acknowledgment sent {"connection_id":161531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:56:47] local.INFO: TCP Data received {"connection_id":160576,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:56:47] local.INFO: Processing buffer {"connection_id":160576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:56:47] local.INFO: IMEI packet received {"connection_id":160576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":160576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:56:52] local.INFO: TCP Data received {"connection_id":160576,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:56:52] local.INFO: Processing buffer {"connection_id":160576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:56:52] local.INFO: IMEI packet received {"connection_id":160576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":160576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:56:53] local.INFO: TCP Data received {"connection_id":160576,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:56:53] local.INFO: Processing buffer {"connection_id":160576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:56:53] local.INFO: Packet analysis {"connection_id":160576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:56:53] local.INFO: Extracted packet for processing {"connection_id":160576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588508160001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787455411000,"timestamp_ms":1787455411000,"timestamp_seconds":1787455411,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca51338"} 
[2026-08-23 08:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:56:53] 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-08-23 08:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:56:53] 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-08-23 08:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588508160001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588508160001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:56:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:56:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588508160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":160576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:56:53] local.INFO: GPS data processed {"connection_id":160576,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:56:53] local.INFO: Acknowledgment sent {"connection_id":160576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:57:11] local.INFO: TCP Data received {"connection_id":161531,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca6ad60012d1967c0071feea80038011d28..."} 
[2026-08-23 08:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca6ad60012d1967c0071feea80038011d28..."} 
[2026-08-23 08:57:11] local.INFO: Processing buffer {"connection_id":161531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca6ad60012d1967c0071feea80038011d28..."} 
[2026-08-23 08:57:11] local.INFO: Packet analysis {"connection_id":161531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca6"} 
[2026-08-23 08:57:11] local.INFO: Extracted packet for processing {"connection_id":161531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca6"} 
[2026-08-23 08:57:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588606720001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787455516000,"timestamp_ms":1787455516000,"timestamp_seconds":1787455516,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca6ad60"} 
[2026-08-23 08:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:57:11] 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-08-23 08: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 08:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08: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-08-23 08:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588606720001,"66":12428,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588606720001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:57:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:57:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588606720001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":161531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:57:12] local.INFO: GPS data processed {"connection_id":161531,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:57:12] local.INFO: Acknowledgment sent {"connection_id":161531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:57:24] local.INFO: TCP Data received {"connection_id":160576,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:57:24] local.INFO: Processing buffer {"connection_id":160576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:57:24] local.INFO: Packet analysis {"connection_id":160576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:57:24] local.INFO: Extracted packet for processing {"connection_id":160576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:57:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588508160001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787455411000,"timestamp_ms":1787455411000,"timestamp_seconds":1787455411,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca51338"} 
[2026-08-23 08:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:57: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-08-23 08:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:57:24] 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-08-23 08:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588508160001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588508160001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:57:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:57:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588508160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":160576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:57:24] local.INFO: GPS data processed {"connection_id":160576,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:57:24] local.INFO: Acknowledgment sent {"connection_id":160576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:57:30] local.INFO: TCP Data received {"connection_id":161532,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:57:30] local.INFO: Processing buffer {"connection_id":161532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:57:30] local.INFO: IMEI packet received {"connection_id":161532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":161532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:57:35] local.INFO: TCP Data received {"connection_id":161532,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:57:35] local.INFO: Processing buffer {"connection_id":161532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:57:35] local.INFO: IMEI packet received {"connection_id":161532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":161532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:57:36] local.INFO: TCP Data received {"connection_id":161532,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca6ff68012d1967c0071feea80038011d27..."} 
[2026-08-23 08:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca6ff68012d1967c0071feea80038011d27..."} 
[2026-08-23 08:57:36] local.INFO: Processing buffer {"connection_id":161532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca6ff68012d1967c0071feea80038011d27..."} 
[2026-08-23 08:57:36] local.INFO: Packet analysis {"connection_id":161532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca6"} 
[2026-08-23 08:57:36] local.INFO: Extracted packet for processing {"connection_id":161532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca6"} 
[2026-08-23 08:57:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588612096001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787455537000,"timestamp_ms":1787455537000,"timestamp_seconds":1787455537,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca6ff68"} 
[2026-08-23 08:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 08:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588612096001,"66":12406,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588612096001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:57:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:57:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588612096001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":161532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:57:36] local.INFO: GPS data processed {"connection_id":161532,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:57:36] local.INFO: Acknowledgment sent {"connection_id":161532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:57:47] local.INFO: TCP Data received {"connection_id":160577,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:57:47] local.INFO: Processing buffer {"connection_id":160577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:57:47] local.INFO: IMEI packet received {"connection_id":160577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":160577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:57:52] local.INFO: TCP Data received {"connection_id":160577,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:57:52] local.INFO: Processing buffer {"connection_id":160577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:57:52] local.INFO: IMEI packet received {"connection_id":160577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":160577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:58:02] local.INFO: TCP Data received {"connection_id":160577,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:58:02] local.INFO: Processing buffer {"connection_id":160577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:58:02] local.INFO: Packet analysis {"connection_id":160577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:58:02] local.INFO: Extracted packet for processing {"connection_id":160577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:58:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588508160001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787455411000,"timestamp_ms":1787455411000,"timestamp_seconds":1787455411,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca51338"} 
[2026-08-23 08:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:58:02] 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-08-23 08:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588508160001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588508160001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:58:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:58:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588508160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":160577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:58:02] local.INFO: GPS data processed {"connection_id":160577,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:58:02] local.INFO: Acknowledgment sent {"connection_id":160577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:58:07] local.INFO: TCP Data received {"connection_id":161532,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca75170012d1967c0071feea80038011d27..."} 
[2026-08-23 08:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca75170012d1967c0071feea80038011d27..."} 
[2026-08-23 08:58:07] local.INFO: Processing buffer {"connection_id":161532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca75170012d1967c0071feea80038011d27..."} 
[2026-08-23 08:58:07] local.INFO: Packet analysis {"connection_id":161532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca7"} 
[2026-08-23 08:58:07] local.INFO: Extracted packet for processing {"connection_id":161532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca7"} 
[2026-08-23 08:58:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588617472001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787455558000,"timestamp_ms":1787455558000,"timestamp_seconds":1787455558,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca75170"} 
[2026-08-23 08:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:58:07] 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-08-23 08:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 08:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588617472001,"66":12428,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588617472001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:58:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:58:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588617472001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":161532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:58:07] local.INFO: GPS data processed {"connection_id":161532,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:58:07] local.INFO: Acknowledgment sent {"connection_id":161532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:58:30] local.INFO: TCP Data received {"connection_id":162954,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:58:30] local.INFO: Processing buffer {"connection_id":162954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:58:30] local.INFO: IMEI packet received {"connection_id":162954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":162954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:58:35] local.INFO: TCP Data received {"connection_id":162954,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:58:35] local.INFO: Processing buffer {"connection_id":162954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:58:35] local.INFO: IMEI packet received {"connection_id":162954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":162954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:58:36] local.INFO: TCP Data received {"connection_id":162954,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca7a378012d1967c0071feea80038011d26..."} 
[2026-08-23 08:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca7a378012d1967c0071feea80038011d26..."} 
[2026-08-23 08:58:36] local.INFO: Processing buffer {"connection_id":162954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca7a378012d1967c0071feea80038011d26..."} 
[2026-08-23 08:58:36] local.INFO: Packet analysis {"connection_id":162954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca7"} 
[2026-08-23 08:58:36] local.INFO: Extracted packet for processing {"connection_id":162954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca7"} 
[2026-08-23 08:58:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588622848001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787455579000,"timestamp_ms":1787455579000,"timestamp_seconds":1787455579,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca7a378"} 
[2026-08-23 08:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 08:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588622848001,"66":12385,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588622848001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:58:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:58:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588622848001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":162954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:58:36] local.INFO: GPS data processed {"connection_id":162954,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:58:36] local.INFO: Acknowledgment sent {"connection_id":162954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:58:46] local.INFO: TCP Data received {"connection_id":160366,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:58:46] local.INFO: Processing buffer {"connection_id":160366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:58:46] local.INFO: IMEI packet received {"connection_id":160366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":160366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:58:52] local.INFO: TCP Data received {"connection_id":160366,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:58:52] local.INFO: Processing buffer {"connection_id":160366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:58:52] local.INFO: IMEI packet received {"connection_id":160366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":160366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:58:53] local.INFO: TCP Data received {"connection_id":160366,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:58:53] local.INFO: Processing buffer {"connection_id":160366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca51338012d34c50006aa4098000d00851d..."} 
[2026-08-23 08:58:53] local.INFO: Packet analysis {"connection_id":160366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:58:53] local.INFO: Extracted packet for processing {"connection_id":160366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca5"} 
[2026-08-23 08:58:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08: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-08-23 08:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588508160001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787455411000,"timestamp_ms":1787455411000,"timestamp_seconds":1787455411,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca51338"} 
[2026-08-23 08:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 08:58:53] 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-08-23 08: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-08-23 08:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588508160001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588508160001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:58:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:58:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588508160001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":160366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:58:53] local.INFO: GPS data processed {"connection_id":160366,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:58:53] local.INFO: Acknowledgment sent {"connection_id":160366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:59:07] local.INFO: TCP Data received {"connection_id":162954,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca7f580012d1967c0071feea80038011d25..."} 
[2026-08-23 08:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca7f580012d1967c0071feea80038011d25..."} 
[2026-08-23 08:59:07] local.INFO: Processing buffer {"connection_id":162954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca7f580012d1967c0071feea80038011d25..."} 
[2026-08-23 08:59:07] local.INFO: Packet analysis {"connection_id":162954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca7"} 
[2026-08-23 08:59:07] local.INFO: Extracted packet for processing {"connection_id":162954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca7"} 
[2026-08-23 08:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588628224001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787455600000,"timestamp_ms":1787455600000,"timestamp_seconds":1787455600,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca7f580"} 
[2026-08-23 08:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:59:07] 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-08-23 08:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 08:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 08:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588628224001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588628224001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:59:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:59:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588628224001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":162954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:59:07] local.INFO: GPS data processed {"connection_id":162954,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:59:07] local.INFO: Acknowledgment sent {"connection_id":162954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:59:24] local.INFO: TCP Data received {"connection_id":160366,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 08:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 08:59:24] local.INFO: Processing buffer {"connection_id":160366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 08:59:24] local.INFO: Packet analysis {"connection_id":160366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 08:59:24] local.INFO: Extracted packet for processing {"connection_id":160366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 08:59:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588585216001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787455712000,"timestamp_ms":1787455712000,"timestamp_seconds":1787455712,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca9ab00"} 
[2026-08-23 08:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:59: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-08-23 08:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:59:24] 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-08-23 08:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588585216001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588585216001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:59:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:59:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588585216001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":160366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:59:24] local.INFO: GPS data processed {"connection_id":160366,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:59:24] local.INFO: Acknowledgment sent {"connection_id":160366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:59:30] local.INFO: TCP Data received {"connection_id":160367,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:59:30] local.INFO: Processing buffer {"connection_id":160367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:59:30] local.INFO: IMEI packet received {"connection_id":160367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 08:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":160367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:59:35] local.INFO: TCP Data received {"connection_id":160367,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:59:35] local.INFO: Processing buffer {"connection_id":160367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 08:59:35] local.INFO: IMEI packet received {"connection_id":160367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 08:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":160367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:59:36] local.INFO: TCP Data received {"connection_id":160367,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca84788012d1967c0071feea80038011d26..."} 
[2026-08-23 08:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca84788012d1967c0071feea80038011d26..."} 
[2026-08-23 08:59:36] local.INFO: Processing buffer {"connection_id":160367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca84788012d1967c0071feea80038011d26..."} 
[2026-08-23 08:59:36] local.INFO: Packet analysis {"connection_id":160367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca8"} 
[2026-08-23 08:59:36] local.INFO: Extracted packet for processing {"connection_id":160367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca8"} 
[2026-08-23 08:59:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 08:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588633600001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 08:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 08:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787455621000,"timestamp_ms":1787455621000,"timestamp_seconds":1787455621,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca84788"} 
[2026-08-23 08:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 08:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 08:59:36] 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-08-23 08:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 08:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 08:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 08:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588633600001,"66":12374,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 08:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 08:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 08:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588633600001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:59:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 08:59:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 08:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 08:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588633600001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 08:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":160367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:59:36] local.INFO: GPS data processed {"connection_id":160367,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:59:36] local.INFO: Acknowledgment sent {"connection_id":160367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 08:59:46] local.INFO: TCP Data received {"connection_id":162955,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:59:46] local.INFO: Processing buffer {"connection_id":162955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:59:46] local.INFO: IMEI packet received {"connection_id":162955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 08:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":162955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 08:59:52] local.INFO: TCP Data received {"connection_id":162955,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:59:52] local.INFO: Processing buffer {"connection_id":162955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 08:59:52] local.INFO: IMEI packet received {"connection_id":162955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 08:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":162955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 08:59:53] local.INFO: TCP Data received {"connection_id":162955,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 08:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 08:59:53] local.INFO: Processing buffer {"connection_id":162955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 08:59:53] local.INFO: Packet analysis {"connection_id":162955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 08:59:53] local.INFO: Extracted packet for processing {"connection_id":162955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 08:59:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 08:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 08:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588585216001,"note":"Value kept but may cause issues"} 
[2026-08-23 08:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 08:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 08:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 08:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787455712000,"timestamp_ms":1787455712000,"timestamp_seconds":1787455712,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca9ab00"} 
[2026-08-23 08:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 08:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 08:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 08:59:53] 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-08-23 08:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 08:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 08:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 08:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 08:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 08:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 08:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 08:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 08:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588585216001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 08:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 08:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 08:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588585216001,"description":"Unknown IO ID 0"} 
[2026-08-23 08:59:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 08:59:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 08:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 08:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 08:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588585216001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 08:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":162955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 08:59:53] local.INFO: GPS data processed {"connection_id":162955,"processed":1,"errors":0,"total":1} 
[2026-08-23 08:59:53] local.INFO: Acknowledgment sent {"connection_id":162955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:00:07] local.INFO: TCP Data received {"connection_id":160367,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca89990012d1967c0071feea80038011d27..."} 
[2026-08-23 09:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca89990012d1967c0071feea80038011d27..."} 
[2026-08-23 09:00:07] local.INFO: Processing buffer {"connection_id":160367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca89990012d1967c0071feea80038011d27..."} 
[2026-08-23 09:00:07] local.INFO: Packet analysis {"connection_id":160367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca8"} 
[2026-08-23 09:00:07] local.INFO: Extracted packet for processing {"connection_id":160367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca8"} 
[2026-08-23 09:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588638976001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787455642000,"timestamp_ms":1787455642000,"timestamp_seconds":1787455642,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca89990"} 
[2026-08-23 09:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 09:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588638976001,"66":12374,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588638976001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:00:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588638976001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":160367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:00:07] local.INFO: GPS data processed {"connection_id":160367,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:00:07] local.INFO: Acknowledgment sent {"connection_id":160367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:00:25] local.INFO: TCP Data received {"connection_id":162955,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:00:25] local.INFO: Processing buffer {"connection_id":162955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:00:25] local.INFO: Packet analysis {"connection_id":162955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 09:00:25] local.INFO: Extracted packet for processing {"connection_id":162955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 09:00:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588585216001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787455712000,"timestamp_ms":1787455712000,"timestamp_seconds":1787455712,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca9ab00"} 
[2026-08-23 09:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:00:25] 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-08-23 09:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588585216001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588585216001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:00:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:00:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588585216001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":162955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:00:25] local.INFO: GPS data processed {"connection_id":162955,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:00:25] local.INFO: Acknowledgment sent {"connection_id":162955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:00:30] local.INFO: TCP Data received {"connection_id":160578,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:00:30] local.INFO: Processing buffer {"connection_id":160578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:00:30] local.INFO: IMEI packet received {"connection_id":160578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":160578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:00:35] local.INFO: TCP Data received {"connection_id":160578,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:00:35] local.INFO: Processing buffer {"connection_id":160578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:00:35] local.INFO: IMEI packet received {"connection_id":160578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":160578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:00:36] local.INFO: TCP Data received {"connection_id":160578,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca8eb98012d1967c0071feea80038011d28..."} 
[2026-08-23 09:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca8eb98012d1967c0071feea80038011d28..."} 
[2026-08-23 09:00:36] local.INFO: Processing buffer {"connection_id":160578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca8eb98012d1967c0071feea80038011d28..."} 
[2026-08-23 09:00:36] local.INFO: Packet analysis {"connection_id":160578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca8"} 
[2026-08-23 09:00:36] local.INFO: Extracted packet for processing {"connection_id":160578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca8"} 
[2026-08-23 09:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:00: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-08-23 09:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588644352001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787455663000,"timestamp_ms":1787455663000,"timestamp_seconds":1787455663,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca8eb98"} 
[2026-08-23 09:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 09:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588644352001,"66":12374,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588644352001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:00:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588644352001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":160578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:00:36] local.INFO: GPS data processed {"connection_id":160578,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:00:36] local.INFO: Acknowledgment sent {"connection_id":160578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:00:52] local.INFO: TCP Data received {"connection_id":160579,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:00:52] local.INFO: Processing buffer {"connection_id":160579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:00:52] local.INFO: IMEI packet received {"connection_id":160579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":160579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:00:57] local.INFO: TCP Data received {"connection_id":160579,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:00:57] local.INFO: Processing buffer {"connection_id":160579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:00:57] local.INFO: IMEI packet received {"connection_id":160579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":160579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:00:58] local.INFO: TCP Data received {"connection_id":160579,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:00:58] local.INFO: Processing buffer {"connection_id":160579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:00:58] local.INFO: Packet analysis {"connection_id":160579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 09:00:58] local.INFO: Extracted packet for processing {"connection_id":160579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 09:00:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588585216001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787455712000,"timestamp_ms":1787455712000,"timestamp_seconds":1787455712,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca9ab00"} 
[2026-08-23 09:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:00:58] 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-08-23 09:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588585216001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588585216001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:00:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:00:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588585216001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":160579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:00:58] local.INFO: GPS data processed {"connection_id":160579,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:00:58] local.INFO: Acknowledgment sent {"connection_id":160579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:01:02] local.INFO: TCP Data received {"connection_id":160579,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:01:02] local.INFO: Processing buffer {"connection_id":160579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:01:02] local.INFO: Packet analysis {"connection_id":160579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 09:01:02] local.INFO: Extracted packet for processing {"connection_id":160579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 09:01:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588585216001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787455712000,"timestamp_ms":1787455712000,"timestamp_seconds":1787455712,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca9ab00"} 
[2026-08-23 09:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:01:02] 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-08-23 09:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588585216001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588585216001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:01:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:01:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588585216001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":160579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:01:02] local.INFO: GPS data processed {"connection_id":160579,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:01:02] local.INFO: Acknowledgment sent {"connection_id":160579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:01:07] local.INFO: TCP Data received {"connection_id":160578,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca93da0012d1967c0071feea80038011d27..."} 
[2026-08-23 09:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca93da0012d1967c0071feea80038011d27..."} 
[2026-08-23 09:01:07] local.INFO: Processing buffer {"connection_id":160578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca93da0012d1967c0071feea80038011d27..."} 
[2026-08-23 09:01:07] local.INFO: Packet analysis {"connection_id":160578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 09:01:07] local.INFO: Extracted packet for processing {"connection_id":160578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 09:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588649728001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787455684000,"timestamp_ms":1787455684000,"timestamp_seconds":1787455684,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca93da0"} 
[2026-08-23 09:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:01:07] 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-08-23 09:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 09:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588649728001,"66":12385,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588649728001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:01:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588649728001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":160578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:01:07] local.INFO: GPS data processed {"connection_id":160578,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:01:07] local.INFO: Acknowledgment sent {"connection_id":160578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:01:30] local.INFO: TCP Data received {"connection_id":162956,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:01:30] local.INFO: Processing buffer {"connection_id":162956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:01:30] local.INFO: IMEI packet received {"connection_id":162956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":162956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:01:30] local.INFO: TCP Data received {"connection_id":162956,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:01:30] local.INFO: Processing buffer {"connection_id":162956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:01:30] local.INFO: IMEI packet received {"connection_id":162956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":162956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:01:35] local.INFO: TCP Data received {"connection_id":162956,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:01:35] local.INFO: Processing buffer {"connection_id":162956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:01:35] local.INFO: IMEI packet received {"connection_id":162956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":162956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:01:36] local.INFO: TCP Data received {"connection_id":162956,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca98fa8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca98fa8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:01:36] local.INFO: Processing buffer {"connection_id":162956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca98fa8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:01:36] local.INFO: Packet analysis {"connection_id":162956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 09:01:36] local.INFO: Extracted packet for processing {"connection_id":162956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 09:01:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588655104001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787455705000,"timestamp_ms":1787455705000,"timestamp_seconds":1787455705,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca98fa8"} 
[2026-08-23 09:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 09:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588655104001,"66":12385,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588655104001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:01:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588655104001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":162956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:01:36] local.INFO: GPS data processed {"connection_id":162956,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:01:36] local.INFO: Acknowledgment sent {"connection_id":162956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:01:47] local.INFO: TCP Data received {"connection_id":160580,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:01:47] local.INFO: Processing buffer {"connection_id":160580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:01:47] local.INFO: IMEI packet received {"connection_id":160580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":160580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:01:52] local.INFO: TCP Data received {"connection_id":160580,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:01:52] local.INFO: Processing buffer {"connection_id":160580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:01:52] local.INFO: IMEI packet received {"connection_id":160580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":160580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:01:53] local.INFO: TCP Data received {"connection_id":160580,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:01:53] local.INFO: Processing buffer {"connection_id":160580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:01:53] local.INFO: Packet analysis {"connection_id":160580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 09:01:53] local.INFO: Extracted packet for processing {"connection_id":160580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 09:01:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588585216001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787455712000,"timestamp_ms":1787455712000,"timestamp_seconds":1787455712,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca9ab00"} 
[2026-08-23 09:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:01:53] 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-08-23 09:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:01: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-08-23 09:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588585216001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588585216001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:01:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:01:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588585216001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":160580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:01:53] local.INFO: GPS data processed {"connection_id":160580,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:01:53] local.INFO: Acknowledgment sent {"connection_id":160580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:02:07] local.INFO: TCP Data received {"connection_id":162956,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca9e1b0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca9e1b0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:02:07] local.INFO: Processing buffer {"connection_id":162956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca9e1b0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:02:07] local.INFO: Packet analysis {"connection_id":162956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 09:02:07] local.INFO: Extracted packet for processing {"connection_id":162956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 09:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588660480001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787455726000,"timestamp_ms":1787455726000,"timestamp_seconds":1787455726,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca9e1b0"} 
[2026-08-23 09:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:02:07] 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-08-23 09:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 09:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588660480001,"66":12385,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588660480001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:02:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:02:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588660480001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":162956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:02:07] local.INFO: GPS data processed {"connection_id":162956,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:02:07] local.INFO: Acknowledgment sent {"connection_id":162956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:02:25] local.INFO: TCP Data received {"connection_id":160580,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:02:25] local.INFO: Processing buffer {"connection_id":160580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:02:25] local.INFO: Packet analysis {"connection_id":160580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 09:02:25] local.INFO: Extracted packet for processing {"connection_id":160580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 09:02:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 09:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588585216001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787455712000,"timestamp_ms":1787455712000,"timestamp_seconds":1787455712,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca9ab00"} 
[2026-08-23 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-08-23 09:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:02:25] 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-08-23 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-08-23 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-08-23 09:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588585216001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588585216001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:02:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:02:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588585216001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":160580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:02:25] local.INFO: GPS data processed {"connection_id":160580,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:02:25] local.INFO: Acknowledgment sent {"connection_id":160580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:02:33] local.INFO: TCP Data received {"connection_id":162957,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:02:33] local.INFO: Processing buffer {"connection_id":162957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:02:33] local.INFO: IMEI packet received {"connection_id":162957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":162957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:02:35] local.INFO: TCP Data received {"connection_id":162957,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:02:35] local.INFO: Processing buffer {"connection_id":162957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:02:35] local.INFO: IMEI packet received {"connection_id":162957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":162957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:02:40] local.INFO: TCP Data received {"connection_id":162957,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:02:40] local.INFO: Processing buffer {"connection_id":162957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:02:40] local.INFO: IMEI packet received {"connection_id":162957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":162957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:02:40] local.INFO: TCP Data received {"connection_id":162957,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02caa33b8012d1967c0071feea80038011d27..."} 
[2026-08-23 09:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02caa33b8012d1967c0071feea80038011d27..."} 
[2026-08-23 09:02:40] local.INFO: Processing buffer {"connection_id":162957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02caa33b8012d1967c0071feea80038011d27..."} 
[2026-08-23 09:02:40] local.INFO: Packet analysis {"connection_id":162957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02caa"} 
[2026-08-23 09:02:40] local.INFO: Extracted packet for processing {"connection_id":162957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02caa"} 
[2026-08-23 09:02:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588665856001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787455747000,"timestamp_ms":1787455747000,"timestamp_seconds":1787455747,"priority":1,"record_length":96,"hex_timestamp":"000001a02caa33b8"} 
[2026-08-23 09:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:02:40] 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-08-23 09: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 09:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":162957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":162957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":162957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588665856001,"66":12374,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588665856001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:02:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:02:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588665856001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":162957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:02:41] local.INFO: GPS data processed {"connection_id":162957,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:02:41] local.INFO: Acknowledgment sent {"connection_id":162957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:02:47] local.INFO: TCP Data received {"connection_id":162958,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:02:47] local.INFO: Processing buffer {"connection_id":162958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:02:47] local.INFO: IMEI packet received {"connection_id":162958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":162958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:02:52] local.INFO: TCP Data received {"connection_id":162958,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:02:52] local.INFO: Processing buffer {"connection_id":162958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:02:52] local.INFO: IMEI packet received {"connection_id":162958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":162958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:02:53] local.INFO: TCP Data received {"connection_id":162958,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:02:53] local.INFO: Processing buffer {"connection_id":162958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:02:53] local.INFO: Packet analysis {"connection_id":162958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 09:02:53] local.INFO: Extracted packet for processing {"connection_id":162958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 09:02:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588585216001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787455712000,"timestamp_ms":1787455712000,"timestamp_seconds":1787455712,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca9ab00"} 
[2026-08-23 09:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:02:53] 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-08-23 09:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588585216001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588585216001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:02:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:02:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588585216001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":162958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:02:53] local.INFO: GPS data processed {"connection_id":162958,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:02:53] local.INFO: Acknowledgment sent {"connection_id":162958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:03:12] local.INFO: TCP Data received {"connection_id":162957,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02caa85c0012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02caa85c0012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:03:12] local.INFO: Processing buffer {"connection_id":162957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02caa85c0012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:03:12] local.INFO: Packet analysis {"connection_id":162957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02caa"} 
[2026-08-23 09:03:12] local.INFO: Extracted packet for processing {"connection_id":162957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02caa"} 
[2026-08-23 09:03:12] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588671232001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787455768000,"timestamp_ms":1787455768000,"timestamp_seconds":1787455768,"priority":1,"record_length":96,"hex_timestamp":"000001a02caa85c0"} 
[2026-08-23 09:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:03:12] 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-08-23 09:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 09:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588671232001,"66":12385,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588671232001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:03:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:03:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588671232001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":162957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:03:12] local.INFO: GPS data processed {"connection_id":162957,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:03:12] local.INFO: Acknowledgment sent {"connection_id":162957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:03:25] local.INFO: TCP Data received {"connection_id":162958,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:03:25] local.INFO: Processing buffer {"connection_id":162958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:03:25] local.INFO: Packet analysis {"connection_id":162958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 09:03:25] local.INFO: Extracted packet for processing {"connection_id":162958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 09:03:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588585216001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787455712000,"timestamp_ms":1787455712000,"timestamp_seconds":1787455712,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca9ab00"} 
[2026-08-23 09:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:03:25] 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-08-23 09:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588585216001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588585216001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:03:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588585216001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":162958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:03:25] local.INFO: GPS data processed {"connection_id":162958,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:03:25] local.INFO: Acknowledgment sent {"connection_id":162958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:03:30] local.INFO: TCP Data received {"connection_id":161533,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:03:30] local.INFO: Processing buffer {"connection_id":161533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:03:30] local.INFO: IMEI packet received {"connection_id":161533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":161533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:03:35] local.INFO: TCP Data received {"connection_id":161533,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:03:35] local.INFO: Processing buffer {"connection_id":161533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:03:35] local.INFO: IMEI packet received {"connection_id":161533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":161533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:03:36] local.INFO: TCP Data received {"connection_id":161533,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02caad7c8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02caad7c8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:03:36] local.INFO: Processing buffer {"connection_id":161533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02caad7c8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:03:36] local.INFO: Packet analysis {"connection_id":161533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02caa"} 
[2026-08-23 09:03:36] local.INFO: Extracted packet for processing {"connection_id":161533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02caa"} 
[2026-08-23 09:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:03: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-08-23 09:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588676608001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787455789000,"timestamp_ms":1787455789000,"timestamp_seconds":1787455789,"priority":1,"record_length":96,"hex_timestamp":"000001a02caad7c8"} 
[2026-08-23 09:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 09:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:03: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-08-23 09:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588676608001,"66":12385,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588676608001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:03:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588676608001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":161533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:03:36] local.INFO: GPS data processed {"connection_id":161533,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:03:36] local.INFO: Acknowledgment sent {"connection_id":161533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:03:46] local.INFO: TCP Data received {"connection_id":160368,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:03:46] local.INFO: Processing buffer {"connection_id":160368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:03:46] local.INFO: IMEI packet received {"connection_id":160368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":160368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:03:52] local.INFO: TCP Data received {"connection_id":160368,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:03:52] local.INFO: Processing buffer {"connection_id":160368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:03:52] local.INFO: IMEI packet received {"connection_id":160368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":160368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:03:53] local.INFO: TCP Data received {"connection_id":160368,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:03:53] local.INFO: Processing buffer {"connection_id":160368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ca9ab00012d34c50006aa4098000d008520..."} 
[2026-08-23 09:03:53] local.INFO: Packet analysis {"connection_id":160368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 09:03:53] local.INFO: Extracted packet for processing {"connection_id":160368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ca9"} 
[2026-08-23 09:03:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588585216001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787455712000,"timestamp_ms":1787455712000,"timestamp_seconds":1787455712,"priority":1,"record_length":96,"hex_timestamp":"000001a02ca9ab00"} 
[2026-08-23 09:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:03:53] 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-08-23 09: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-08-23 09:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588585216001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588585216001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:03:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:03:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588585216001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":160368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:03:53] local.INFO: GPS data processed {"connection_id":160368,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:03:53] local.INFO: Acknowledgment sent {"connection_id":160368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:04:07] local.INFO: TCP Data received {"connection_id":161533,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cab29d0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cab29d0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:04:07] local.INFO: Processing buffer {"connection_id":161533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cab29d0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:04:07] local.INFO: Packet analysis {"connection_id":161533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cab"} 
[2026-08-23 09:04:07] local.INFO: Extracted packet for processing {"connection_id":161533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cab"} 
[2026-08-23 09:04:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588681984001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787455810000,"timestamp_ms":1787455810000,"timestamp_seconds":1787455810,"priority":1,"record_length":96,"hex_timestamp":"000001a02cab29d0"} 
[2026-08-23 09:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 09:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588681984001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588681984001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:04:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:04:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588681984001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":161533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:04:07] local.INFO: GPS data processed {"connection_id":161533,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:04:07] local.INFO: Acknowledgment sent {"connection_id":161533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:04:25] local.INFO: TCP Data received {"connection_id":160368,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:04:25] local.INFO: Processing buffer {"connection_id":160368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:04:25] local.INFO: Packet analysis {"connection_id":160368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cae"} 
[2026-08-23 09:04:25] local.INFO: Extracted packet for processing {"connection_id":160368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cae"} 
[2026-08-23 09:04:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588662272001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787456013000,"timestamp_ms":1787456013000,"timestamp_seconds":1787456013,"priority":1,"record_length":96,"hex_timestamp":"000001a02cae42c8"} 
[2026-08-23 09:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:04:25] 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-08-23 09: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-08-23 09:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588662272001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588662272001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:04:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:04:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588662272001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":160368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:04:25] local.INFO: GPS data processed {"connection_id":160368,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:04:25] local.INFO: Acknowledgment sent {"connection_id":160368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:04:30] local.INFO: TCP Data received {"connection_id":161534,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:04:30] local.INFO: Processing buffer {"connection_id":161534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:04:30] local.INFO: IMEI packet received {"connection_id":161534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":161534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:04:35] local.INFO: TCP Data received {"connection_id":161534,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:04:35] local.INFO: Processing buffer {"connection_id":161534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:04:35] local.INFO: IMEI packet received {"connection_id":161534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":161534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:04:36] local.INFO: TCP Data received {"connection_id":161534,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cab7bd8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cab7bd8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:04:36] local.INFO: Processing buffer {"connection_id":161534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cab7bd8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:04:36] local.INFO: Packet analysis {"connection_id":161534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cab"} 
[2026-08-23 09:04:36] local.INFO: Extracted packet for processing {"connection_id":161534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cab"} 
[2026-08-23 09:04:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588687360001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787455831000,"timestamp_ms":1787455831000,"timestamp_seconds":1787455831,"priority":1,"record_length":96,"hex_timestamp":"000001a02cab7bd8"} 
[2026-08-23 09:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:04:36] 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-08-23 09:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588687360001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588687360001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:04:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:04:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588687360001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":161534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:04:36] local.INFO: GPS data processed {"connection_id":161534,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:04:36] local.INFO: Acknowledgment sent {"connection_id":161534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:04:46] local.INFO: TCP Data received {"connection_id":162959,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:04:46] local.INFO: Processing buffer {"connection_id":162959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:04:46] local.INFO: IMEI packet received {"connection_id":162959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":162959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:04:52] local.INFO: TCP Data received {"connection_id":162959,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:04:52] local.INFO: Processing buffer {"connection_id":162959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:04:52] local.INFO: IMEI packet received {"connection_id":162959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":162959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:04:53] local.INFO: TCP Data received {"connection_id":162959,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:04:53] local.INFO: Processing buffer {"connection_id":162959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:04:53] local.INFO: Packet analysis {"connection_id":162959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cae"} 
[2026-08-23 09:04:53] local.INFO: Extracted packet for processing {"connection_id":162959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cae"} 
[2026-08-23 09:04:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:04: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-08-23 09:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588662272001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787456013000,"timestamp_ms":1787456013000,"timestamp_seconds":1787456013,"priority":1,"record_length":96,"hex_timestamp":"000001a02cae42c8"} 
[2026-08-23 09:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:04:53] 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-08-23 09:04: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-08-23 09:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:04:53] 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-08-23 09:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588662272001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588662272001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:04:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:04:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588662272001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":162959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:04:53] local.INFO: GPS data processed {"connection_id":162959,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:04:53] local.INFO: Acknowledgment sent {"connection_id":162959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:05:07] local.INFO: TCP Data received {"connection_id":161534,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cabcde0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cabcde0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:05:07] local.INFO: Processing buffer {"connection_id":161534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cabcde0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:05:07] local.INFO: Packet analysis {"connection_id":161534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cab"} 
[2026-08-23 09:05:07] local.INFO: Extracted packet for processing {"connection_id":161534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cab"} 
[2026-08-23 09:05:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588692736001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787455852000,"timestamp_ms":1787455852000,"timestamp_seconds":1787455852,"priority":1,"record_length":96,"hex_timestamp":"000001a02cabcde0"} 
[2026-08-23 09:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 09:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588692736001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588692736001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:05:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:05:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588692736001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":161534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:05:07] local.INFO: GPS data processed {"connection_id":161534,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:05:07] local.INFO: Acknowledgment sent {"connection_id":161534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:05:25] local.INFO: TCP Data received {"connection_id":162959,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:05:25] local.INFO: Processing buffer {"connection_id":162959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:05:25] local.INFO: Packet analysis {"connection_id":162959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cae"} 
[2026-08-23 09:05:25] local.INFO: Extracted packet for processing {"connection_id":162959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cae"} 
[2026-08-23 09:05:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588662272001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787456013000,"timestamp_ms":1787456013000,"timestamp_seconds":1787456013,"priority":1,"record_length":96,"hex_timestamp":"000001a02cae42c8"} 
[2026-08-23 09:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:05:25] 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-08-23 09:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588662272001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588662272001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:05:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:05:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588662272001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":162959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:05:25] local.INFO: GPS data processed {"connection_id":162959,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:05:25] local.INFO: Acknowledgment sent {"connection_id":162959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:05:31] local.INFO: TCP Data received {"connection_id":162960,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:05:31] local.INFO: Processing buffer {"connection_id":162960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:05:31] local.INFO: IMEI packet received {"connection_id":162960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":162960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:05:35] local.INFO: TCP Data received {"connection_id":162960,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:05:35] local.INFO: Processing buffer {"connection_id":162960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:05:35] local.INFO: IMEI packet received {"connection_id":162960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":162960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:05:36] local.INFO: TCP Data received {"connection_id":162960,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cac1fe8012d1967c0071feea80038011d28..."} 
[2026-08-23 09:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cac1fe8012d1967c0071feea80038011d28..."} 
[2026-08-23 09:05:36] local.INFO: Processing buffer {"connection_id":162960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cac1fe8012d1967c0071feea80038011d28..."} 
[2026-08-23 09:05:36] local.INFO: Packet analysis {"connection_id":162960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cac"} 
[2026-08-23 09:05:36] local.INFO: Extracted packet for processing {"connection_id":162960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cac"} 
[2026-08-23 09:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588698112001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787455873000,"timestamp_ms":1787455873000,"timestamp_seconds":1787455873,"priority":1,"record_length":96,"hex_timestamp":"000001a02cac1fe8"} 
[2026-08-23 09:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:36] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3218261360469940583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:36] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80264348827648000,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832570,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068469049721038,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2860892161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:05:36] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:36] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,22,160,123,45,192,238,56,41,10,66,40,215,1,240,97,227,44,31,4,113,205,51,103,168,39,239,48,2,54,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:05:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538798736572416,"timestamp_seconds":4035538798736572.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588698112001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588698112001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:05:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588698112001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":162960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:05:36] local.INFO: GPS data processed {"connection_id":162960,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:05:36] local.INFO: Acknowledgment sent {"connection_id":162960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:05:52] local.INFO: TCP Data received {"connection_id":160369,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:05:52] local.INFO: Processing buffer {"connection_id":160369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:05:52] local.INFO: IMEI packet received {"connection_id":160369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":160369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:05:57] local.INFO: TCP Data received {"connection_id":160369,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:05:57] local.INFO: Processing buffer {"connection_id":160369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:05:57] local.INFO: IMEI packet received {"connection_id":160369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":160369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:05:58] local.INFO: TCP Data received {"connection_id":160369,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:05:58] local.INFO: Processing buffer {"connection_id":160369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:05:58] local.INFO: Packet analysis {"connection_id":160369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cae"} 
[2026-08-23 09:05:58] local.INFO: Extracted packet for processing {"connection_id":160369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cae"} 
[2026-08-23 09:05:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 09:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588662272001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787456013000,"timestamp_ms":1787456013000,"timestamp_seconds":1787456013,"priority":1,"record_length":96,"hex_timestamp":"000001a02cae42c8"} 
[2026-08-23 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-08-23 09:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 09:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588662272001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588662272001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:05:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:05:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588662272001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":160369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:05:58] local.INFO: GPS data processed {"connection_id":160369,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:05:58] local.INFO: Acknowledgment sent {"connection_id":160369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:06:02] local.INFO: TCP Data received {"connection_id":160369,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:06:02] local.INFO: Processing buffer {"connection_id":160369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:06:02] local.INFO: Packet analysis {"connection_id":160369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cae"} 
[2026-08-23 09:06:02] local.INFO: Extracted packet for processing {"connection_id":160369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cae"} 
[2026-08-23 09:06:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588662272001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787456013000,"timestamp_ms":1787456013000,"timestamp_seconds":1787456013,"priority":1,"record_length":96,"hex_timestamp":"000001a02cae42c8"} 
[2026-08-23 09:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:06:02] 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-08-23 09:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588662272001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588662272001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:06:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:06:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588662272001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":160369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:06:02] local.INFO: GPS data processed {"connection_id":160369,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:06:02] local.INFO: Acknowledgment sent {"connection_id":160369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:06:07] local.INFO: TCP Data received {"connection_id":162960,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cac71f0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cac71f0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:06:07] local.INFO: Processing buffer {"connection_id":162960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cac71f0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:06:07] local.INFO: Packet analysis {"connection_id":162960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cac"} 
[2026-08-23 09:06:07] local.INFO: Extracted packet for processing {"connection_id":162960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cac"} 
[2026-08-23 09:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588703488001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787455894000,"timestamp_ms":1787455894000,"timestamp_seconds":1787455894,"priority":1,"record_length":96,"hex_timestamp":"000001a02cac71f0"} 
[2026-08-23 09:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:06:07] 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-08-23 09:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588703488001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588703488001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:06:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588703488001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":162960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:06:07] local.INFO: GPS data processed {"connection_id":162960,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:06:07] local.INFO: Acknowledgment sent {"connection_id":162960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:06:30] local.INFO: TCP Data received {"connection_id":162961,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:06:30] local.INFO: Processing buffer {"connection_id":162961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:06:30] local.INFO: IMEI packet received {"connection_id":162961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":162961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:06:35] local.INFO: TCP Data received {"connection_id":162961,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:06:35] local.INFO: Processing buffer {"connection_id":162961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:06:35] local.INFO: IMEI packet received {"connection_id":162961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":162961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:06:36] local.INFO: TCP Data received {"connection_id":162961,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cacc3f8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cacc3f8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:06:36] local.INFO: Processing buffer {"connection_id":162961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cacc3f8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:06:36] local.INFO: Packet analysis {"connection_id":162961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cac"} 
[2026-08-23 09:06:36] local.INFO: Extracted packet for processing {"connection_id":162961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cac"} 
[2026-08-23 09:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588708864001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787455915000,"timestamp_ms":1787455915000,"timestamp_seconds":1787455915,"priority":1,"record_length":96,"hex_timestamp":"000001a02cacc3f8"} 
[2026-08-23 09:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:06:36] 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-08-23 09: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-08-23 09:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588708864001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588708864001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:06:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588708864001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":162961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:06:36] local.INFO: GPS data processed {"connection_id":162961,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:06:36] local.INFO: Acknowledgment sent {"connection_id":162961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:06:47] local.INFO: TCP Data received {"connection_id":161535,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:06:47] local.INFO: Processing buffer {"connection_id":161535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:06:47] local.INFO: IMEI packet received {"connection_id":161535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":161535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:06:52] local.INFO: TCP Data received {"connection_id":161535,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:06:52] local.INFO: Processing buffer {"connection_id":161535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:06:52] local.INFO: IMEI packet received {"connection_id":161535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":161535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:06:53] local.INFO: TCP Data received {"connection_id":161535,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:06:53] local.INFO: Processing buffer {"connection_id":161535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:06:53] local.INFO: Packet analysis {"connection_id":161535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cae"} 
[2026-08-23 09:06:53] local.INFO: Extracted packet for processing {"connection_id":161535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cae"} 
[2026-08-23 09:06:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588662272001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787456013000,"timestamp_ms":1787456013000,"timestamp_seconds":1787456013,"priority":1,"record_length":96,"hex_timestamp":"000001a02cae42c8"} 
[2026-08-23 09:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:06:53] 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-08-23 09:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:06:53] 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-08-23 09:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588662272001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588662272001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:06:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:06:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588662272001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":161535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:06:53] local.INFO: GPS data processed {"connection_id":161535,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:06:53] local.INFO: Acknowledgment sent {"connection_id":161535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:07:07] local.INFO: TCP Data received {"connection_id":162961,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb04a50012d1967c0071feea80038011d28..."} 
[2026-08-23 09:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb04a50012d1967c0071feea80038011d28..."} 
[2026-08-23 09:07:07] local.INFO: Processing buffer {"connection_id":162961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb04a50012d1967c0071feea80038011d28..."} 
[2026-08-23 09:07:07] local.INFO: Packet analysis {"connection_id":162961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb0"} 
[2026-08-23 09:07:07] local.INFO: Extracted packet for processing {"connection_id":162961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb0"} 
[2026-08-23 09:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588768000001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787456146000,"timestamp_ms":1787456146000,"timestamp_seconds":1787456146,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb04a50"} 
[2026-08-23 09:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 09:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588768000001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588768000001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:07:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:07:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588768000001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":162961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:07:07] local.INFO: GPS data processed {"connection_id":162961,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:07:07] local.INFO: Acknowledgment sent {"connection_id":162961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:07:29] local.INFO: TCP Data received {"connection_id":161535,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:07:29] local.INFO: Processing buffer {"connection_id":161535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:07:29] local.INFO: Packet analysis {"connection_id":161535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cae"} 
[2026-08-23 09:07:29] local.INFO: Extracted packet for processing {"connection_id":161535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cae"} 
[2026-08-23 09:07:29] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588662272001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787456013000,"timestamp_ms":1787456013000,"timestamp_seconds":1787456013,"priority":1,"record_length":96,"hex_timestamp":"000001a02cae42c8"} 
[2026-08-23 09:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588662272001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588662272001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:07:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:07:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588662272001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":161535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:07:29] local.INFO: GPS data processed {"connection_id":161535,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:07:29] local.INFO: Acknowledgment sent {"connection_id":161535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:07:35] local.INFO: TCP Data received {"connection_id":161536,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:07:35] local.INFO: Processing buffer {"connection_id":161536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:07:35] local.INFO: IMEI packet received {"connection_id":161536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":161536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:07:40] local.INFO: TCP Data received {"connection_id":161536,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:07:40] local.INFO: Processing buffer {"connection_id":161536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:07:40] local.INFO: IMEI packet received {"connection_id":161536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":161536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:07:40] local.INFO: TCP Data received {"connection_id":161536,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb09c58012d1967c0071feea80038011d29..."} 
[2026-08-23 09:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb09c58012d1967c0071feea80038011d29..."} 
[2026-08-23 09:07:40] local.INFO: Processing buffer {"connection_id":161536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb09c58012d1967c0071feea80038011d29..."} 
[2026-08-23 09:07:40] local.INFO: Packet analysis {"connection_id":161536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb0"} 
[2026-08-23 09:07:40] local.INFO: Extracted packet for processing {"connection_id":161536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb0"} 
[2026-08-23 09:07:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588773376001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787456167000,"timestamp_ms":1787456167000,"timestamp_seconds":1787456167,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb09c58"} 
[2026-08-23 09:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 09:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588773376001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588773376001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:07:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:07:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588773376001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":161536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:07:41] local.INFO: GPS data processed {"connection_id":161536,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:07:41] local.INFO: Acknowledgment sent {"connection_id":161536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:07:45] local.INFO: TCP Data received {"connection_id":161536,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb0ee60012d1967c0071feea80038011d28..."} 
[2026-08-23 09:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb0ee60012d1967c0071feea80038011d28..."} 
[2026-08-23 09:07:45] local.INFO: Processing buffer {"connection_id":161536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb0ee60012d1967c0071feea80038011d28..."} 
[2026-08-23 09:07:45] local.INFO: Packet analysis {"connection_id":161536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb0"} 
[2026-08-23 09:07:45] local.INFO: Extracted packet for processing {"connection_id":161536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb0"} 
[2026-08-23 09:07:45] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588778752001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787456188000,"timestamp_ms":1787456188000,"timestamp_seconds":1787456188,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb0ee60"} 
[2026-08-23 09:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:45] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:45] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:45] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3219614275168180583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:45] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:45] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80264348827648000,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:45] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832572,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:45] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2941532161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:07:45] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:45] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2449526136,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:45] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,22,160,74,45,192,238,56,40,10,66,248,41,166,1,240,255,227,44,31,4,113,205,2,103,168,239,47,54,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:07:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538803031539712,"timestamp_seconds":4035538803031539.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588778752001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588778752001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:07:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:07:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588778752001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":161536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:07:45] local.INFO: GPS data processed {"connection_id":161536,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:07:45] local.INFO: Acknowledgment sent {"connection_id":161536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:07:47] local.INFO: TCP Data received {"connection_id":162962,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:07:47] local.INFO: Processing buffer {"connection_id":162962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:07:47] local.INFO: IMEI packet received {"connection_id":162962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":162962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:07:52] local.INFO: TCP Data received {"connection_id":162962,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:07:52] local.INFO: Processing buffer {"connection_id":162962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:07:52] local.INFO: IMEI packet received {"connection_id":162962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":162962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:07:53] local.INFO: TCP Data received {"connection_id":162962,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:07:53] local.INFO: Processing buffer {"connection_id":162962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:07:53] local.INFO: Packet analysis {"connection_id":162962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cae"} 
[2026-08-23 09:07:53] local.INFO: Extracted packet for processing {"connection_id":162962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cae"} 
[2026-08-23 09:07:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:07: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-08-23 09:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588662272001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787456013000,"timestamp_ms":1787456013000,"timestamp_seconds":1787456013,"priority":1,"record_length":96,"hex_timestamp":"000001a02cae42c8"} 
[2026-08-23 09:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:07:53] 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-08-23 09:07: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-08-23 09:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:07:53] 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-08-23 09:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588662272001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588662272001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:07:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:07:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588662272001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":162962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:07:53] local.INFO: GPS data processed {"connection_id":162962,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:07:53] local.INFO: Acknowledgment sent {"connection_id":162962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:08:24] local.INFO: TCP Data received {"connection_id":162962,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:08:24] local.INFO: Processing buffer {"connection_id":162962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:08:24] local.INFO: Packet analysis {"connection_id":162962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cae"} 
[2026-08-23 09:08:24] local.INFO: Extracted packet for processing {"connection_id":162962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cae"} 
[2026-08-23 09:08:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588662272001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787456013000,"timestamp_ms":1787456013000,"timestamp_seconds":1787456013,"priority":1,"record_length":96,"hex_timestamp":"000001a02cae42c8"} 
[2026-08-23 09:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:08: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-08-23 09:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:08:24] 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-08-23 09:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588662272001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588662272001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:08:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:08:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588662272001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":162962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:08:24] local.INFO: GPS data processed {"connection_id":162962,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:08:24] local.INFO: Acknowledgment sent {"connection_id":162962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:08:30] local.INFO: TCP Data received {"connection_id":162963,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:08:30] local.INFO: Processing buffer {"connection_id":162963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:08:30] local.INFO: IMEI packet received {"connection_id":162963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":162963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:08:31] local.INFO: TCP Data received {"connection_id":162963,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:08:31] local.INFO: Processing buffer {"connection_id":162963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:08:31] local.INFO: IMEI packet received {"connection_id":162963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":162963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:08:35] local.INFO: TCP Data received {"connection_id":162963,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:08:35] local.INFO: Processing buffer {"connection_id":162963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:08:35] local.INFO: IMEI packet received {"connection_id":162963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":162963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:08:36] local.INFO: TCP Data received {"connection_id":162963,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb14068012d1967c0071feea80038011d29..."} 
[2026-08-23 09:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb14068012d1967c0071feea80038011d29..."} 
[2026-08-23 09:08:36] local.INFO: Processing buffer {"connection_id":162963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb14068012d1967c0071feea80038011d29..."} 
[2026-08-23 09:08:36] local.INFO: Packet analysis {"connection_id":162963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb1"} 
[2026-08-23 09:08:36] local.INFO: Extracted packet for processing {"connection_id":162963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb1"} 
[2026-08-23 09:08:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588784128001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787456209000,"timestamp_ms":1787456209000,"timestamp_seconds":1787456209,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb14068"} 
[2026-08-23 09:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:36] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3219704469481396583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:36] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80264348827648000,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832573,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3427803148870615246,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2946908161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:08:36] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:36] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,22,160,156,45,192,238,56,41,10,66,74,40,248,1,240,31,227,44,4,113,205,84,103,168,39,239,47,2,54,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:08:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538798736572416,"timestamp_seconds":4035538798736572.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588784128001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588784128001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:08:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588784128001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":162963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:08:36] local.INFO: GPS data processed {"connection_id":162963,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:08:36] local.INFO: Acknowledgment sent {"connection_id":162963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:08:46] local.INFO: TCP Data received {"connection_id":161537,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:08:46] local.INFO: Processing buffer {"connection_id":161537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:08:46] local.INFO: IMEI packet received {"connection_id":161537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":161537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:08:52] local.INFO: TCP Data received {"connection_id":161537,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:08:52] local.INFO: Processing buffer {"connection_id":161537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:08:52] local.INFO: IMEI packet received {"connection_id":161537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":161537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:08:52] local.INFO: TCP Data received {"connection_id":161537,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:08:52] local.INFO: Processing buffer {"connection_id":161537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cae42c8012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:08:52] local.INFO: Packet analysis {"connection_id":161537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cae"} 
[2026-08-23 09:08:52] local.INFO: Extracted packet for processing {"connection_id":161537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cae"} 
[2026-08-23 09:08:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 09:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588662272001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787456013000,"timestamp_ms":1787456013000,"timestamp_seconds":1787456013,"priority":1,"record_length":96,"hex_timestamp":"000001a02cae42c8"} 
[2026-08-23 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-08-23 09:08: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-08-23 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:08:52] 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-08-23 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-08-23 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-08-23 09:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:08: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-08-23 09:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588662272001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588662272001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:08:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:08:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588662272001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":161537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:08:52] local.INFO: GPS data processed {"connection_id":161537,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:08:52] local.INFO: Acknowledgment sent {"connection_id":161537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:09:07] local.INFO: TCP Data received {"connection_id":162963,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb19270012d1967c0071feea80038011d27..."} 
[2026-08-23 09:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb19270012d1967c0071feea80038011d27..."} 
[2026-08-23 09:09:07] local.INFO: Processing buffer {"connection_id":162963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb19270012d1967c0071feea80038011d27..."} 
[2026-08-23 09:09:07] local.INFO: Packet analysis {"connection_id":162963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb1"} 
[2026-08-23 09:09:07] local.INFO: Extracted packet for processing {"connection_id":162963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb1"} 
[2026-08-23 09:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588789504001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787456230000,"timestamp_ms":1787456230000,"timestamp_seconds":1787456230,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb19270"} 
[2026-08-23 09:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:07] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3219794663794612583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:07] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:07] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80263249316020224,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832573,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2952284161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:09:07] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:07] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:07] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,22,160,238,45,192,56,40,10,66,156,41,74,1,240,31,227,44,4,113,205,166,103,168,239,47,2,54,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:09:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538803031539712,"timestamp_seconds":4035538803031539.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588789504001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588789504001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:09:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588789504001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":162963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:09:07] local.INFO: GPS data processed {"connection_id":162963,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:09:07] local.INFO: Acknowledgment sent {"connection_id":162963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:09:24] local.INFO: TCP Data received {"connection_id":161537,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:09:24] local.INFO: Processing buffer {"connection_id":161537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:09:24] local.INFO: Packet analysis {"connection_id":161537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:09:24] local.INFO: Extracted packet for processing {"connection_id":161537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:09:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 09:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588739328001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787456314000,"timestamp_ms":1787456314000,"timestamp_seconds":1787456314,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb2da90"} 
[2026-08-23 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-08-23 09:09: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-08-23 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:09:24] 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-08-23 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-08-23 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-08-23 09:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588739328001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588739328001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:09:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:09:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588739328001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":161537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:09:24] local.INFO: GPS data processed {"connection_id":161537,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:09:24] local.INFO: Acknowledgment sent {"connection_id":161537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:09:30] local.INFO: TCP Data received {"connection_id":160581,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:09:30] local.INFO: Processing buffer {"connection_id":160581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:09:30] local.INFO: IMEI packet received {"connection_id":160581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":160581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:09:33] local.INFO: TCP Data received {"connection_id":160581,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:09:33] local.INFO: Processing buffer {"connection_id":160581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:09:33] local.INFO: IMEI packet received {"connection_id":160581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":160581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:09:34] local.INFO: TCP Data received {"connection_id":160581,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb1e478012d1967c0071feea80038011d27..."} 
[2026-08-23 09:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb1e478012d1967c0071feea80038011d27..."} 
[2026-08-23 09:09:34] local.INFO: Processing buffer {"connection_id":160581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb1e478012d1967c0071feea80038011d27..."} 
[2026-08-23 09:09:34] local.INFO: Packet analysis {"connection_id":160581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb1"} 
[2026-08-23 09:09:34] local.INFO: Extracted packet for processing {"connection_id":160581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb1"} 
[2026-08-23 09:09:34] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588794880001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787456251000,"timestamp_ms":1787456251000,"timestamp_seconds":1787456251,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb1e478"} 
[2026-08-23 09:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 09:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588794880001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588794880001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:09:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:09:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588794880001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":160581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:09:34] local.INFO: GPS data processed {"connection_id":160581,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:09:34] local.INFO: Acknowledgment sent {"connection_id":160581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:09:46] local.INFO: TCP Data received {"connection_id":162964,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:09:46] local.INFO: Processing buffer {"connection_id":162964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:09:46] local.INFO: IMEI packet received {"connection_id":162964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":162964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:09:52] local.INFO: TCP Data received {"connection_id":162964,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:09:52] local.INFO: Processing buffer {"connection_id":162964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:09:52] local.INFO: IMEI packet received {"connection_id":162964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":162964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:09:53] local.INFO: TCP Data received {"connection_id":162964,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:09:53] local.INFO: Processing buffer {"connection_id":162964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:09:53] local.INFO: Packet analysis {"connection_id":162964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:09:53] local.INFO: Extracted packet for processing {"connection_id":162964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:09:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 09:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588739328001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787456314000,"timestamp_ms":1787456314000,"timestamp_seconds":1787456314,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb2da90"} 
[2026-08-23 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-08-23 09:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:09:53] 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-08-23 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-08-23 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-08-23 09:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:09:53] 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-08-23 09:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588739328001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588739328001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:09:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:09:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588739328001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":162964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:09:53] local.INFO: GPS data processed {"connection_id":162964,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:09:53] local.INFO: Acknowledgment sent {"connection_id":162964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:10:06] local.INFO: TCP Data received {"connection_id":160581,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb23680012d1967c0071feea80038011d28..."} 
[2026-08-23 09:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb23680012d1967c0071feea80038011d28..."} 
[2026-08-23 09:10:06] local.INFO: Processing buffer {"connection_id":160581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb23680012d1967c0071feea80038011d28..."} 
[2026-08-23 09:10:06] local.INFO: Packet analysis {"connection_id":160581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:10:06] local.INFO: Extracted packet for processing {"connection_id":160581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588800256001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787456272000,"timestamp_ms":1787456272000,"timestamp_seconds":1787456272,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb23680"} 
[2026-08-23 09:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:06] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3219975052421044583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:06] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80265448339275776,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832572,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2963036161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:10:06] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:06] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,22,160,146,45,192,238,56,39,10,66,64,41,1,240,227,44,31,4,113,205,74,103,168,40,239,48,2,54,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:10:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538794441605120,"timestamp_seconds":4035538794441605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588800256001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588800256001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:10:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588800256001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":160581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:10:06] local.INFO: GPS data processed {"connection_id":160581,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:10:06] local.INFO: Acknowledgment sent {"connection_id":160581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:10:24] local.INFO: TCP Data received {"connection_id":162964,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:10:24] local.INFO: Processing buffer {"connection_id":162964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:10:24] local.INFO: Packet analysis {"connection_id":162964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:10:24] local.INFO: Extracted packet for processing {"connection_id":162964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:10:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588739328001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787456314000,"timestamp_ms":1787456314000,"timestamp_seconds":1787456314,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb2da90"} 
[2026-08-23 09:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:10: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-08-23 09:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:10:24] 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-08-23 09:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:10:24] 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-08-23 09:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588739328001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588739328001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:10:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:10:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588739328001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":162964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:10:25] local.INFO: GPS data processed {"connection_id":162964,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:10:25] local.INFO: Acknowledgment sent {"connection_id":162964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:10:30] local.INFO: TCP Data received {"connection_id":160370,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:10:30] local.INFO: Processing buffer {"connection_id":160370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:10:30] local.INFO: IMEI packet received {"connection_id":160370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":160370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:10:35] local.INFO: TCP Data received {"connection_id":160370,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:10:35] local.INFO: Processing buffer {"connection_id":160370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:10:35] local.INFO: IMEI packet received {"connection_id":160370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":160370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:10:36] local.INFO: TCP Data received {"connection_id":160370,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb28888012d1967c0071feea80038011d27..."} 
[2026-08-23 09:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb28888012d1967c0071feea80038011d27..."} 
[2026-08-23 09:10:36] local.INFO: Processing buffer {"connection_id":160370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb28888012d1967c0071feea80038011d27..."} 
[2026-08-23 09:10:36] local.INFO: Packet analysis {"connection_id":160370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:10:36] local.INFO: Extracted packet for processing {"connection_id":160370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588805632001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787456293000,"timestamp_ms":1787456293000,"timestamp_seconds":1787456293,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb28888"} 
[2026-08-23 09:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:36] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3220065246734260583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:36] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80264348827648000,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832573,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2968412161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:10:36] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,22,160,228,45,192,238,56,39,10,66,146,64,1,240,227,44,31,4,113,205,156,103,168,41,239,48,2,54,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:10:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538798736572416,"timestamp_seconds":4035538798736572.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588805632001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588805632001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:10:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:10:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588805632001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":160370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:10:36] local.INFO: GPS data processed {"connection_id":160370,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:10:36] local.INFO: Acknowledgment sent {"connection_id":160370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:10:52] local.INFO: TCP Data received {"connection_id":160371,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:10:52] local.INFO: Processing buffer {"connection_id":160371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:10:52] local.INFO: IMEI packet received {"connection_id":160371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":160371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:10:57] local.INFO: TCP Data received {"connection_id":160371,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:10:57] local.INFO: Processing buffer {"connection_id":160371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:10:57] local.INFO: IMEI packet received {"connection_id":160371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":160371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:10:59] local.INFO: TCP Data received {"connection_id":160371,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:10:59] local.INFO: Processing buffer {"connection_id":160371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:10:59] local.INFO: Packet analysis {"connection_id":160371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:10:59] local.INFO: Extracted packet for processing {"connection_id":160371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:10:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588739328001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787456314000,"timestamp_ms":1787456314000,"timestamp_seconds":1787456314,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb2da90"} 
[2026-08-23 09:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588739328001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588739328001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:10:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:10:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588739328001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":160371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:10:59] local.INFO: GPS data processed {"connection_id":160371,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:10:59] local.INFO: Acknowledgment sent {"connection_id":160371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:11:02] local.INFO: TCP Data received {"connection_id":160371,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:11:02] local.INFO: Processing buffer {"connection_id":160371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:11:02] local.INFO: Packet analysis {"connection_id":160371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:11:02] local.INFO: Extracted packet for processing {"connection_id":160371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:11:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588739328001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787456314000,"timestamp_ms":1787456314000,"timestamp_seconds":1787456314,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb2da90"} 
[2026-08-23 09:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:11:02] 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-08-23 09:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588739328001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588739328001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:11:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:11:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588739328001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":160371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:11:02] local.INFO: GPS data processed {"connection_id":160371,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:11:02] local.INFO: Acknowledgment sent {"connection_id":160371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:11:07] local.INFO: TCP Data received {"connection_id":160370,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb2da90012d1967c0071feea80038011d29..."} 
[2026-08-23 09:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb2da90012d1967c0071feea80038011d29..."} 
[2026-08-23 09:11:07] local.INFO: Processing buffer {"connection_id":160370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb2da90012d1967c0071feea80038011d29..."} 
[2026-08-23 09:11:07] local.INFO: Packet analysis {"connection_id":160370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:11:07] local.INFO: Extracted packet for processing {"connection_id":160370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588811008001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787456314000,"timestamp_ms":1787456314000,"timestamp_seconds":1787456314,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb2da90"} 
[2026-08-23 09:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 09:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588811008001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588811008001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:11:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:11:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588811008001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":160370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:11:07] local.INFO: GPS data processed {"connection_id":160370,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:11:07] local.INFO: Acknowledgment sent {"connection_id":160370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:11:30] local.INFO: TCP Data received {"connection_id":161538,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:11:30] local.INFO: Processing buffer {"connection_id":161538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:11:30] local.INFO: IMEI packet received {"connection_id":161538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":161538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:11:33] local.INFO: TCP Data received {"connection_id":160582,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:11:33] local.INFO: Processing buffer {"connection_id":160582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:11:33] local.INFO: IMEI packet received {"connection_id":160582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":160582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:11:35] local.INFO: TCP Data received {"connection_id":161538,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:11:35] local.INFO: Processing buffer {"connection_id":161538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:11:35] local.INFO: IMEI packet received {"connection_id":161538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":161538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:11:36] local.INFO: TCP Data received {"connection_id":161538,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb32c98012d1967c0071feea80038011d26..."} 
[2026-08-23 09:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb32c98012d1967c0071feea80038011d26..."} 
[2026-08-23 09:11:36] local.INFO: Processing buffer {"connection_id":161538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb32c98012d1967c0071feea80038011d26..."} 
[2026-08-23 09:11:36] local.INFO: Packet analysis {"connection_id":161538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb3"} 
[2026-08-23 09:11:36] local.INFO: Extracted packet for processing {"connection_id":161538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb3"} 
[2026-08-23 09:11:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588816384001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787456335000,"timestamp_ms":1787456335000,"timestamp_seconds":1787456335,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb32c98"} 
[2026-08-23 09:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:36] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3220245635360692583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:36] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80264348827648000,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832572,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2979164161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:11:36] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,22,160,136,45,192,238,56,39,10,66,54,40,228,1,240,227,44,31,4,113,205,64,103,168,41,239,48,2,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:11:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538803031539712,"timestamp_seconds":4035538803031539.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588816384001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588816384001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:11:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:11:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588816384001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":161538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:11:36] local.INFO: GPS data processed {"connection_id":161538,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:11:36] local.INFO: Acknowledgment sent {"connection_id":161538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:11:37] local.INFO: TCP Data received {"connection_id":160582,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:11:37] local.INFO: Processing buffer {"connection_id":160582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:11:37] local.INFO: IMEI packet received {"connection_id":160582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":160582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:11:37] local.INFO: TCP Data received {"connection_id":160582,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb3efe8012d7c1e8005db27480001009b21..."} 
[2026-08-23 09:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb3efe8012d7c1e8005db27480001009b21..."} 
[2026-08-23 09:11:37] local.INFO: Processing buffer {"connection_id":160582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb3efe8012d7c1e8005db27480001009b21..."} 
[2026-08-23 09:11:37] local.INFO: Packet analysis {"connection_id":160582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb3"} 
[2026-08-23 09:11:37] local.INFO: Extracted packet for processing {"connection_id":160582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb3"} 
[2026-08-23 09:11:37] local.INFO: GPS Element Parsed {"raw_longitude":763108992,"raw_latitude":98248520,"longitude_deg":76.3108992,"latitude_deg":9.824852,"altitude":1,"angle":155,"satellites":33,"speed":10,"hex_longitude":"2d7c1e80","hex_latitude":"05db2748","is_valid_coordinates":true} 
[2026-08-23 09:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588832768001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122557742194884608,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942389666505736192,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787456385000,"timestamp_ms":1787456385000,"timestamp_seconds":1787456385,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb3efe8"} 
[2026-08-23 09:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-23 09:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588832768001,"66":12863,"185":206,"85":15104,"24":10,"16":122557742194884608,"45":8942389666505736192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-23 09:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588832768001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:11:37] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-23 09:11:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122557742194884608,"km_value":122557742194884.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942389666505736192,"description":"Unknown IO ID 45"} 
[2026-08-23 09:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588832768001,"power":12863,"unknown_185":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8942389666505736192}} 
[2026-08-23 09:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":160582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:11:37] local.INFO: GPS data processed {"connection_id":160582,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:11:37] local.INFO: Acknowledgment sent {"connection_id":160582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:11:41] local.INFO: TCP Data received {"connection_id":160582,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb441f0012d7c204005db25600001009728..."} 
[2026-08-23 09:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb441f0012d7c204005db25600001009728..."} 
[2026-08-23 09:11:41] local.INFO: Processing buffer {"connection_id":160582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb441f0012d7c204005db25600001009728..."} 
[2026-08-23 09:11:41] local.INFO: Packet analysis {"connection_id":160582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb4"} 
[2026-08-23 09:11:41] local.INFO: Extracted packet for processing {"connection_id":160582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb4"} 
[2026-08-23 09:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763109440,"raw_latitude":98248032,"longitude_deg":76.310944,"latitude_deg":9.8248032,"altitude":1,"angle":151,"satellites":40,"speed":0,"hex_longitude":"2d7c2040","hex_latitude":"05db2560","is_valid_coordinates":true} 
[2026-08-23 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-08-23 09:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588834560001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122557780849590272,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943726672644360192,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787456406000,"timestamp_ms":1787456406000,"timestamp_seconds":1787456406,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb441f0"} 
[2026-08-23 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-08-23 09:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 09:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 09:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588834560001,"66":13048,"185":206,"85":15104,"24":0,"16":122557780849590272,"45":8943726672644360192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-23 09:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588834560001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:11:41] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-23 09:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122557780849590272,"km_value":122557780849590.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943726672644360192,"description":"Unknown IO ID 45"} 
[2026-08-23 09:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588834560001,"power":13048,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8943726672644360192}} 
[2026-08-23 09:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":160582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:11:41] local.INFO: GPS data processed {"connection_id":160582,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:11:41] local.INFO: Acknowledgment sent {"connection_id":160582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:11:47] local.INFO: TCP Data received {"connection_id":161539,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:11:47] local.INFO: Processing buffer {"connection_id":161539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:11:47] local.INFO: IMEI packet received {"connection_id":161539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":161539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:11:52] local.INFO: TCP Data received {"connection_id":161539,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:11:52] local.INFO: Processing buffer {"connection_id":161539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:11:52] local.INFO: IMEI packet received {"connection_id":161539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":161539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:11:54] local.INFO: TCP Data received {"connection_id":161539,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:11:54] local.INFO: Processing buffer {"connection_id":161539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:11:54] local.INFO: Packet analysis {"connection_id":161539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:11:54] local.INFO: Extracted packet for processing {"connection_id":161539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:11:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588739328001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787456314000,"timestamp_ms":1787456314000,"timestamp_seconds":1787456314,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb2da90"} 
[2026-08-23 09:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:11:54] 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-08-23 09:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588739328001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588739328001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:11:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:11:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588739328001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":161539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:11:54] local.INFO: GPS data processed {"connection_id":161539,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:11:54] local.INFO: Acknowledgment sent {"connection_id":161539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:12:07] local.INFO: TCP Data received {"connection_id":160583,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:12:07] local.INFO: Processing buffer {"connection_id":160583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:12:07] local.INFO: IMEI packet received {"connection_id":160583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":160583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:12:07] local.INFO: TCP Data received {"connection_id":161538,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb37ea0012d1967c0071feea80038011d25..."} 
[2026-08-23 09:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb37ea0012d1967c0071feea80038011d25..."} 
[2026-08-23 09:12:07] local.INFO: Processing buffer {"connection_id":161538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb37ea0012d1967c0071feea80038011d25..."} 
[2026-08-23 09:12:07] local.INFO: Packet analysis {"connection_id":161538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb3"} 
[2026-08-23 09:12:07] local.INFO: Extracted packet for processing {"connection_id":161538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb3"} 
[2026-08-23 09:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588821760001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787456356000,"timestamp_ms":1787456356000,"timestamp_seconds":1787456356,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb37ea0"} 
[2026-08-23 09:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:07] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3220335829673908583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:07] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:07] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80265448339275776,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832573,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2984540161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:12:07] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:07] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,22,160,218,45,192,238,56,41,10,66,136,39,54,1,240,227,44,31,4,113,205,146,103,168,239,47,2,7,40],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:12:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538790146637824,"timestamp_seconds":4035538790146638.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588821760001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588821760001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:12:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588821760001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":161538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:12:07] local.INFO: GPS data processed {"connection_id":161538,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:12:07] local.INFO: Acknowledgment sent {"connection_id":161538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:12:11] local.INFO: TCP Data received {"connection_id":160583,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:12:11] local.INFO: Processing buffer {"connection_id":160583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:12:11] local.INFO: IMEI packet received {"connection_id":160583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":160583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:12:12] local.INFO: TCP Data received {"connection_id":160583,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb48070012d7c208005db2450000100a325..."} 
[2026-08-23 09:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb48070012d7c208005db2450000100a325..."} 
[2026-08-23 09:12:12] local.INFO: Processing buffer {"connection_id":160583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb48070012d7c208005db2450000100a325..."} 
[2026-08-23 09:12:12] local.INFO: Packet analysis {"connection_id":160583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb4"} 
[2026-08-23 09:12:12] local.INFO: Extracted packet for processing {"connection_id":160583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb4"} 
[2026-08-23 09:12:12] local.INFO: GPS Element Parsed {"raw_longitude":763109504,"raw_latitude":98247760,"longitude_deg":76.3109504,"latitude_deg":9.824776,"altitude":1,"angle":163,"satellites":37,"speed":2,"hex_longitude":"2d7c2080","hex_latitude":"05db2450","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588839936001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122557793734492160,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944219253853478912,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787456422000,"timestamp_ms":1787456422000,"timestamp_seconds":1787456422,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb48070"} 
[2026-08-23 09:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:12: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-08-23 09: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-23 09:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588839936001,"66":13319,"185":206,"85":15104,"24":2,"16":122557793734492160,"45":8944219253853478912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-23 09:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588839936001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:12:12] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-23 09:12:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122557793734492160,"km_value":122557793734492.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944219253853478912,"description":"Unknown IO ID 45"} 
[2026-08-23 09:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588839936001,"power":13319,"unknown_185":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8944219253853478912}} 
[2026-08-23 09:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":160583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:12:12] local.INFO: GPS data processed {"connection_id":160583,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:12:12] local.INFO: Acknowledgment sent {"connection_id":160583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:12:25] local.INFO: TCP Data received {"connection_id":161539,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:12:25] local.INFO: Processing buffer {"connection_id":161539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:12:25] local.INFO: Packet analysis {"connection_id":161539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:12:25] local.INFO: Extracted packet for processing {"connection_id":161539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:12:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588739328001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787456314000,"timestamp_ms":1787456314000,"timestamp_seconds":1787456314,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb2da90"} 
[2026-08-23 09:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:12:25] 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-08-23 09:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588739328001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588739328001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:12:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:12:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588739328001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":161539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:12:25] local.INFO: GPS data processed {"connection_id":161539,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:12:25] local.INFO: Acknowledgment sent {"connection_id":161539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:12:30] local.INFO: TCP Data received {"connection_id":162965,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:12:30] local.INFO: Processing buffer {"connection_id":162965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:12:30] local.INFO: IMEI packet received {"connection_id":162965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":162965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:12:35] local.INFO: TCP Data received {"connection_id":162965,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:12:35] local.INFO: Processing buffer {"connection_id":162965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:12:35] local.INFO: IMEI packet received {"connection_id":162965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":162965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:12:36] local.INFO: TCP Data received {"connection_id":162965,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb3d0a8012d1967c0071feea80038011d27..."} 
[2026-08-23 09:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb3d0a8012d1967c0071feea80038011d27..."} 
[2026-08-23 09:12:36] local.INFO: Processing buffer {"connection_id":162965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb3d0a8012d1967c0071feea80038011d27..."} 
[2026-08-23 09:12:36] local.INFO: Packet analysis {"connection_id":162965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb3"} 
[2026-08-23 09:12:36] local.INFO: Extracted packet for processing {"connection_id":162965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb3"} 
[2026-08-23 09:12:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588827136001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787456377000,"timestamp_ms":1787456377000,"timestamp_seconds":1787456377,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb3d0a8"} 
[2026-08-23 09:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:36] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3220426023987124583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2989916161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:36] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80263249316020224,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832573,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:12:36] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,22,160,44,45,192,238,56,38,10,66,218,41,136,1,240,255,227,31,4,113,205,228,103,168,39,239,48,2,54,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:12:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538785851670528,"timestamp_seconds":4035538785851670.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588827136001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588827136001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:12:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:12:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588827136001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":162965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:12:36] local.INFO: GPS data processed {"connection_id":162965,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:12:36] local.INFO: Acknowledgment sent {"connection_id":162965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:12:43] local.INFO: TCP Data received {"connection_id":160583,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb4b338012d7c258005db12d80001009726..."} 
[2026-08-23 09:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb4b338012d7c258005db12d80001009726..."} 
[2026-08-23 09:12:43] local.INFO: Processing buffer {"connection_id":160583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb4b338012d7c258005db12d80001009726..."} 
[2026-08-23 09:12:43] local.INFO: Packet analysis {"connection_id":160583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb4"} 
[2026-08-23 09:12:43] local.INFO: Extracted packet for processing {"connection_id":160583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb4"} 
[2026-08-23 09:12:43] local.INFO: GPS Element Parsed {"raw_longitude":763110784,"raw_latitude":98243288,"longitude_deg":76.3110784,"latitude_deg":9.8243288,"altitude":1,"angle":151,"satellites":38,"speed":9,"hex_longitude":"2d7c2580","hex_latitude":"05db12d8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588844032001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122558021367758848,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944289622597586944,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787456435000,"timestamp_ms":1787456435000,"timestamp_seconds":1787456435,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb4b338"} 
[2026-08-23 09:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 09:12:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:43] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3087084924,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3013980161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:43] local.WARNING: Large IO value detected {"io_id":219,"raw_value":8795530089439501824,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797142222,"corrected_to":0} 
[2026-08-23 09:12:43] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2147867511,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:43] local.WARNING: Large IO value detected {"io_id":179,"raw_value":7998394233075761157,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3682117632,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:43] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57885683738367291,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:43] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,185,85,24,241,157,16,105,160,65,45,64,37,1,40,10,66,239,128,39,33,212,192,240,122,227,44,219,4,113,205,34,6,32,35,52,2,179,5,7,62],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2797142222,"validated":0}]} 
[2026-08-23 09:12:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72236973347176448,"timestamp_seconds":72236973347176.45,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588844032001,"66":12961,"185":206,"85":15104,"24":9,"16":122558021367758848,"45":8944289622597586944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-23 09:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588844032001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:12:43] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-23 09:12:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122558021367758848,"km_value":122558021367758.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944289622597586944,"description":"Unknown IO ID 45"} 
[2026-08-23 09:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588844032001,"power":12961,"unknown_185":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8944289622597586944}} 
[2026-08-23 09:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":160583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:12:43] local.INFO: GPS data processed {"connection_id":160583,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:12:43] local.INFO: Acknowledgment sent {"connection_id":160583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:12:47] local.INFO: TCP Data received {"connection_id":161540,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:12:47] local.INFO: Processing buffer {"connection_id":161540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:12:47] local.INFO: IMEI packet received {"connection_id":161540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":161540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:12:52] local.INFO: TCP Data received {"connection_id":161540,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:12:52] local.INFO: Processing buffer {"connection_id":161540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:12:52] local.INFO: IMEI packet received {"connection_id":161540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":161540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:12:53] local.INFO: TCP Data received {"connection_id":161540,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:12:53] local.INFO: Processing buffer {"connection_id":161540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:12:53] local.INFO: Packet analysis {"connection_id":161540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:12:53] local.INFO: Extracted packet for processing {"connection_id":161540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:12:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588739328001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787456314000,"timestamp_ms":1787456314000,"timestamp_seconds":1787456314,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb2da90"} 
[2026-08-23 09:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:12:53] 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-08-23 09:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:12:53] 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-08-23 09:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588739328001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588739328001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:12:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:12:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588739328001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":161540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:12:53] local.INFO: GPS data processed {"connection_id":161540,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:12:53] local.INFO: Acknowledgment sent {"connection_id":161540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:13:06] local.INFO: TCP Data received {"connection_id":161541,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:13:06] local.INFO: Processing buffer {"connection_id":161541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:13:06] local.INFO: IMEI packet received {"connection_id":161541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":161541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:13:07] local.INFO: TCP Data received {"connection_id":162965,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb422b0012d1967c0071feea80038011d24..."} 
[2026-08-23 09:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb422b0012d1967c0071feea80038011d24..."} 
[2026-08-23 09:13:07] local.INFO: Processing buffer {"connection_id":162965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb422b0012d1967c0071feea80038011d24..."} 
[2026-08-23 09:13:07] local.INFO: Packet analysis {"connection_id":162965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb4"} 
[2026-08-23 09:13:07] local.INFO: Extracted packet for processing {"connection_id":162965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb4"} 
[2026-08-23 09:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588832512001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787456398000,"timestamp_ms":1787456398000,"timestamp_seconds":1787456398,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb422b0"} 
[2026-08-23 09:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:07] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3220516218300340583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:07] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:07] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80263249316020224,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832573,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2995292161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:13:07] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,22,160,126,45,192,238,56,37,10,66,44,38,218,1,240,227,31,4,113,205,54,103,168,40,239,48,2,7,39],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:13:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538794441605120,"timestamp_seconds":4035538794441605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588832512001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588832512001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:13:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:13:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588832512001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":162965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:13:07] local.INFO: GPS data processed {"connection_id":162965,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:13:07] local.INFO: Acknowledgment sent {"connection_id":162965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:13:11] local.INFO: TCP Data received {"connection_id":161541,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:13:11] local.INFO: Processing buffer {"connection_id":161541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:13:11] local.INFO: IMEI packet received {"connection_id":161541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":161541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:13:12] local.INFO: TCP Data received {"connection_id":161541,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb4bb08012d7c264005db1170000200a527..."} 
[2026-08-23 09:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb4bb08012d7c264005db1170000200a527..."} 
[2026-08-23 09:13:12] local.INFO: Processing buffer {"connection_id":161541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb4bb08012d7c264005db1170000200a527..."} 
[2026-08-23 09:13:12] local.INFO: Packet analysis {"connection_id":161541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb4"} 
[2026-08-23 09:13:12] local.INFO: Extracted packet for processing {"connection_id":161541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb4"} 
[2026-08-23 09:13:12] local.INFO: GPS Element Parsed {"raw_longitude":763110976,"raw_latitude":98242928,"longitude_deg":76.3110976,"latitude_deg":9.8242928,"altitude":2,"angle":165,"satellites":39,"speed":6,"hex_longitude":"2d7c2640","hex_latitude":"05db1170","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588847360001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122558042842595328,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945696997479995392,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787456437000,"timestamp_ms":1787456437000,"timestamp_seconds":1787456437,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb4bb08"} 
[2026-08-23 09:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:13: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-08-23 09: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 09:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588847360001,"66":12885,"185":206,"85":15104,"24":6,"16":122558042842595328,"45":8945696997479995392},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-23 09:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588847360001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:13:12] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-23 09:13:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122558042842595328,"km_value":122558042842595.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945696997479995392,"description":"Unknown IO ID 45"} 
[2026-08-23 09:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588847360001,"power":12885,"unknown_185":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8945696997479995392}} 
[2026-08-23 09:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":161541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:13:12] local.INFO: GPS data processed {"connection_id":161541,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:13:12] local.INFO: Acknowledgment sent {"connection_id":161541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:13:25] local.INFO: TCP Data received {"connection_id":161540,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:13:25] local.INFO: Processing buffer {"connection_id":161540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:13:25] local.INFO: Packet analysis {"connection_id":161540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:13:25] local.INFO: Extracted packet for processing {"connection_id":161540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:13:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588739328001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787456314000,"timestamp_ms":1787456314000,"timestamp_seconds":1787456314,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb2da90"} 
[2026-08-23 09:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:13:25] 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-08-23 09:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:13:25] 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-08-23 09:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588739328001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588739328001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:13:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:13:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588739328001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":161540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:13:25] local.INFO: GPS data processed {"connection_id":161540,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:13:25] local.INFO: Acknowledgment sent {"connection_id":161540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:13:35] local.INFO: TCP Data received {"connection_id":161542,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:13:35] local.INFO: Processing buffer {"connection_id":161542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:13:35] local.INFO: IMEI packet received {"connection_id":161542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":161542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:13:40] local.INFO: TCP Data received {"connection_id":161542,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:13:40] local.INFO: Processing buffer {"connection_id":161542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:13:40] local.INFO: IMEI packet received {"connection_id":161542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":161542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:13:40] local.INFO: TCP Data received {"connection_id":161542,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb474b8012d1967c0071feea80038011d24..."} 
[2026-08-23 09:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb474b8012d1967c0071feea80038011d24..."} 
[2026-08-23 09:13:40] local.INFO: Processing buffer {"connection_id":161542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb474b8012d1967c0071feea80038011d24..."} 
[2026-08-23 09:13:40] local.INFO: Packet analysis {"connection_id":161542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb4"} 
[2026-08-23 09:13:40] local.INFO: Extracted packet for processing {"connection_id":161542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb4"} 
[2026-08-23 09:13:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588837888001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787456419000,"timestamp_ms":1787456419000,"timestamp_seconds":1787456419,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb474b8"} 
[2026-08-23 09:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 09:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588837888001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588837888001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:13:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:13:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588837888001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":161542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:13:41] local.INFO: GPS data processed {"connection_id":161542,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:13:41] local.INFO: Acknowledgment sent {"connection_id":161542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:13:44] local.INFO: TCP Data received {"connection_id":161541,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb72438012d7c2ac005daf9c0000300ab29..."} 
[2026-08-23 09:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb72438012d7c2ac005daf9c0000300ab29..."} 
[2026-08-23 09:13:44] local.INFO: Processing buffer {"connection_id":161541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb72438012d7c2ac005daf9c0000300ab29..."} 
[2026-08-23 09:13:44] local.INFO: Packet analysis {"connection_id":161541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:13:44] local.INFO: Extracted packet for processing {"connection_id":161541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:13:44] local.INFO: GPS Element Parsed {"raw_longitude":763112128,"raw_latitude":98236864,"longitude_deg":76.3112128,"latitude_deg":9.8236864,"altitude":3,"angle":171,"satellites":41,"speed":15,"hex_longitude":"2d7c2ac0","hex_latitude":"05daf9c0","is_valid_coordinates":true} 
[2026-08-23 09:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588887296001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122558343490306048,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946822897385519104,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787456595000,"timestamp_ms":1787456595000,"timestamp_seconds":1787456595,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb72438"} 
[2026-08-23 09:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:13:44] 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-08-23 09:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-23 09:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588887296001,"66":13243,"186":206,"85":15104,"24":15,"16":122558343490306048,"45":8946822897385519104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-08-23 09:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588887296001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:13:44] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-23 09:13:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122558343490306048,"km_value":122558343490306.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946822897385519104,"description":"Unknown IO ID 45"} 
[2026-08-23 09:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588887296001,"power":13243,"unknown_186":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8946822897385519104}} 
[2026-08-23 09:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":161541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:13:44] local.INFO: GPS data processed {"connection_id":161541,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:13:44] local.INFO: Acknowledgment sent {"connection_id":161541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:13:45] local.INFO: TCP Data received {"connection_id":161542,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb4c6c0012d1967c0071feea80038011d27..."} 
[2026-08-23 09:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb4c6c0012d1967c0071feea80038011d27..."} 
[2026-08-23 09:13:45] local.INFO: Processing buffer {"connection_id":161542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb4c6c0012d1967c0071feea80038011d27..."} 
[2026-08-23 09:13:45] local.INFO: Packet analysis {"connection_id":161542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb4"} 
[2026-08-23 09:13:45] local.INFO: Extracted packet for processing {"connection_id":161542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb4"} 
[2026-08-23 09:13:45] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588843264001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787456440000,"timestamp_ms":1787456440000,"timestamp_seconds":1787456440,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb4c6c0"} 
[2026-08-23 09:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 09:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588843264001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588843264001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:13:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:13:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588843264001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":161542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:13:46] local.INFO: GPS data processed {"connection_id":161542,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:13:46] local.INFO: Acknowledgment sent {"connection_id":161542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:13:46] local.INFO: TCP Data received {"connection_id":160584,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:13:46] local.INFO: Processing buffer {"connection_id":160584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:13:46] local.INFO: IMEI packet received {"connection_id":160584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":160584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:13:52] local.INFO: TCP Data received {"connection_id":160584,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:13:52] local.INFO: Processing buffer {"connection_id":160584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:13:52] local.INFO: IMEI packet received {"connection_id":160584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":160584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:13:53] local.INFO: TCP Data received {"connection_id":160584,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:13:53] local.INFO: Processing buffer {"connection_id":160584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb2da90012d34c50006aa4098000d008520..."} 
[2026-08-23 09:13:53] local.INFO: Packet analysis {"connection_id":160584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:13:53] local.INFO: Extracted packet for processing {"connection_id":160584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb2"} 
[2026-08-23 09:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588739328001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787456314000,"timestamp_ms":1787456314000,"timestamp_seconds":1787456314,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb2da90"} 
[2026-08-23 09:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:13:53] 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-08-23 09:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:13:53] 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-08-23 09:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588739328001,"66":25680,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588739328001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:13:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588739328001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":160584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:13:53] local.INFO: GPS data processed {"connection_id":160584,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:13:53] local.INFO: Acknowledgment sent {"connection_id":160584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:14:06] local.INFO: TCP Data received {"connection_id":160372,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:14:06] local.INFO: Processing buffer {"connection_id":160372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:14:06] local.INFO: IMEI packet received {"connection_id":160372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":160372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:14:11] local.INFO: TCP Data received {"connection_id":160372,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:14:11] local.INFO: Processing buffer {"connection_id":160372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:14:11] local.INFO: IMEI packet received {"connection_id":160372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":160372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:14:12] local.INFO: TCP Data received {"connection_id":160372,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb75700012d7c328005dad4b8000000a32a..."} 
[2026-08-23 09:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb75700012d7c328005dad4b8000000a32a..."} 
[2026-08-23 09:14:12] local.INFO: Processing buffer {"connection_id":160372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb75700012d7c328005dad4b8000000a32a..."} 
[2026-08-23 09:14:12] local.INFO: Packet analysis {"connection_id":160372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:14:12] local.INFO: Extracted packet for processing {"connection_id":160372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:14:12] local.INFO: GPS Element Parsed {"raw_longitude":763114112,"raw_latitude":98227384,"longitude_deg":76.3114112,"latitude_deg":9.8227384,"altitude":0,"angle":163,"satellites":42,"speed":37,"hex_longitude":"2d7c3280","hex_latitude":"05dad4b8","is_valid_coordinates":true} 
[2026-08-23 09:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588888320001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122558815936708608,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947174741106081792,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787456608000,"timestamp_ms":1787456608000,"timestamp_seconds":1787456608,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb75700"} 
[2026-08-23 09:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:14:12] 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-08-23 09:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-23 09:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588888320001,"66":13319,"186":206,"85":15104,"24":37,"16":122558815936708608,"45":8947174741106081792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-08-23 09:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588888320001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:14:12] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-23 09:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122558815936708608,"km_value":122558815936708.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947174741106081792,"description":"Unknown IO ID 45"} 
[2026-08-23 09:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588888320001,"power":13319,"unknown_186":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8947174741106081792}} 
[2026-08-23 09:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":160372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:14:12] local.INFO: GPS data processed {"connection_id":160372,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:14:12] local.INFO: Acknowledgment sent {"connection_id":160372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:14:24] local.INFO: TCP Data received {"connection_id":160584,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:14:24] local.INFO: Processing buffer {"connection_id":160584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:14:24] local.INFO: Packet analysis {"connection_id":160584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:14:24] local.INFO: Extracted packet for processing {"connection_id":160584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:14:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588816384001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787456615000,"timestamp_ms":1787456615000,"timestamp_seconds":1787456615,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb77258"} 
[2026-08-23 09:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:14: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-08-23 09:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 09:14:24] 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-08-23 09:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:14:24] 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-08-23 09:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588816384001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588816384001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:14:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:14:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588816384001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":160584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:14:24] local.INFO: GPS data processed {"connection_id":160584,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:14:24] local.INFO: Acknowledgment sent {"connection_id":160584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:14:27] local.INFO: TCP Data received {"connection_id":160585,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:14:27] local.INFO: Processing buffer {"connection_id":160585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:14:27] local.INFO: IMEI packet received {"connection_id":160585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":160585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:14:30] local.INFO: TCP Data received {"connection_id":160585,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:14:30] local.INFO: Processing buffer {"connection_id":160585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:14:30] local.INFO: IMEI packet received {"connection_id":160585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":160585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:14:35] local.INFO: TCP Data received {"connection_id":160585,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:14:35] local.INFO: Processing buffer {"connection_id":160585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:14:35] local.INFO: IMEI packet received {"connection_id":160585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":160585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:14:36] local.INFO: TCP Data received {"connection_id":160585,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb518c8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb518c8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:14:36] local.INFO: Processing buffer {"connection_id":160585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb518c8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:14:36] local.INFO: Packet analysis {"connection_id":160585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb5"} 
[2026-08-23 09:14:36] local.INFO: Extracted packet for processing {"connection_id":160585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb5"} 
[2026-08-23 09:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588848640001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787456461000,"timestamp_ms":1787456461000,"timestamp_seconds":1787456461,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb518c8"} 
[2026-08-23 09:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:36] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3220786801239988583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:36] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80265448339275776,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832573,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:14:36] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,22,160,116,45,192,238,56,36,10,66,34,208,1,240,227,44,31,4,113,205,103,168,38,239,48,2,54,7,39],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:14:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538794441605120,"timestamp_seconds":4035538794441605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588848640001,"66":12004,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588848640001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:14:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588848640001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":160585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:14:36] local.INFO: GPS data processed {"connection_id":160585,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:14:36] local.INFO: Acknowledgment sent {"connection_id":160585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:14:44] local.INFO: TCP Data received {"connection_id":160372,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb77a28012d7c3ec005dab1f8000000a125..."} 
[2026-08-23 09:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb77a28012d7c3ec005dab1f8000000a125..."} 
[2026-08-23 09:14:44] local.INFO: Processing buffer {"connection_id":160372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb77a28012d7c3ec005dab1f8000000a125..."} 
[2026-08-23 09:14:44] local.INFO: Packet analysis {"connection_id":160372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:14:44] local.INFO: Extracted packet for processing {"connection_id":160372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:14:44] local.INFO: GPS Element Parsed {"raw_longitude":763117248,"raw_latitude":98218488,"longitude_deg":76.3117248,"latitude_deg":9.8218488,"altitude":0,"angle":161,"satellites":37,"speed":39,"hex_longitude":"2d7c3ec0","hex_latitude":"05dab1f8","is_valid_coordinates":true} 
[2026-08-23 09:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588891648001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122559271203241984,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949356172173162496,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787456617000,"timestamp_ms":1787456617000,"timestamp_seconds":1787456617,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb77a28"} 
[2026-08-23 09:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:14:44] 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-08-23 09:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 09:14:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:44] local.WARNING: Large IO value detected {"io_id":105,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3069020161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:44] local.WARNING: Large IO value detected {"io_id":219,"raw_value":1044835130740779264,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":57885688033334587,"corrected_to":0} 
[2026-08-23 09:14:44] local.WARNING: Large IO value detected {"io_id":182,"raw_value":-5271462068969177083,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:44] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2147867406,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:44] local.WARNING: Large IO value detected {"io_id":8,"raw_value":3439381926,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3675160576,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:44] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,186,85,24,241,157,16,106,160,36,45,192,249,3,41,10,66,20,128,254,40,245,1,240,9,227,105,44,219,4,113,205,182,37,239,8,2,179,5],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":57885688033334587,"validated":0}]} 
[2026-08-23 09:14:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":179400786378752,"timestamp_seconds":179400786378.752,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588891648001,"66":13243,"187":206,"85":15104,"24":39,"16":122559271203241984,"45":8949356172173162496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-23 09:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588891648001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:14:44] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 09:14:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122559271203241984,"km_value":122559271203241.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949356172173162496,"description":"Unknown IO ID 45"} 
[2026-08-23 09:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588891648001,"power":13243,"unknown_187":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8949356172173162496}} 
[2026-08-23 09:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":160372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:14:44] local.INFO: GPS data processed {"connection_id":160372,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:14:44] local.INFO: Acknowledgment sent {"connection_id":160372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:14:46] local.INFO: TCP Data received {"connection_id":162966,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:14:46] local.INFO: Processing buffer {"connection_id":162966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:14:46] local.INFO: IMEI packet received {"connection_id":162966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":162966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:14:52] local.INFO: TCP Data received {"connection_id":162966,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:14:52] local.INFO: Processing buffer {"connection_id":162966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:14:52] local.INFO: IMEI packet received {"connection_id":162966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":162966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:14:53] local.INFO: TCP Data received {"connection_id":162966,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:14:53] local.INFO: Processing buffer {"connection_id":162966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:14:53] local.INFO: Packet analysis {"connection_id":162966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:14:53] local.INFO: Extracted packet for processing {"connection_id":162966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:14:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588816384001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787456615000,"timestamp_ms":1787456615000,"timestamp_seconds":1787456615,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb77258"} 
[2026-08-23 09:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 09:14:53] 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-08-23 09:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:14:53] 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-08-23 09:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588816384001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588816384001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:14:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:14:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588816384001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":162966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:14:53] local.INFO: GPS data processed {"connection_id":162966,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:14:53] local.INFO: Acknowledgment sent {"connection_id":162966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:15:07] local.INFO: TCP Data received {"connection_id":160585,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb56ad0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb56ad0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:15:07] local.INFO: Processing buffer {"connection_id":160585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb56ad0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:15:07] local.INFO: Packet analysis {"connection_id":160585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb5"} 
[2026-08-23 09:15:07] local.INFO: Extracted packet for processing {"connection_id":160585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb5"} 
[2026-08-23 09:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588854016001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787456482000,"timestamp_ms":1787456482000,"timestamp_seconds":1787456482,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb56ad0"} 
[2026-08-23 09:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-23 09:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588854016001,"66":12265,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588854016001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:15:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588854016001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":160585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:15:07] local.INFO: GPS data processed {"connection_id":160585,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:15:07] local.INFO: Acknowledgment sent {"connection_id":160585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:15:24] local.INFO: TCP Data received {"connection_id":162966,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:15:24] local.INFO: Processing buffer {"connection_id":162966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:15:24] local.INFO: Packet analysis {"connection_id":162966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:15:24] local.INFO: Extracted packet for processing {"connection_id":162966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:15:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588816384001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787456615000,"timestamp_ms":1787456615000,"timestamp_seconds":1787456615,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb77258"} 
[2026-08-23 09:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:15: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-08-23 09:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 09:15:24] 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-08-23 09:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:15:24] 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-08-23 09:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588816384001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588816384001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:15:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:15:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588816384001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":162966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:15:24] local.INFO: GPS data processed {"connection_id":162966,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:15:24] local.INFO: Acknowledgment sent {"connection_id":162966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:15:30] local.INFO: TCP Data received {"connection_id":160587,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:15:30] local.INFO: Processing buffer {"connection_id":160587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:15:30] local.INFO: IMEI packet received {"connection_id":160587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":160587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:15:31] local.INFO: TCP Data received {"connection_id":160587,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:15:31] local.INFO: Processing buffer {"connection_id":160587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:15:31] local.INFO: IMEI packet received {"connection_id":160587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":160587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:15:35] local.INFO: TCP Data received {"connection_id":160587,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:15:35] local.INFO: Processing buffer {"connection_id":160587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:15:35] local.INFO: IMEI packet received {"connection_id":160587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":160587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:15:36] local.INFO: TCP Data received {"connection_id":160587,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb5bcd8012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb5bcd8012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:15:36] local.INFO: Processing buffer {"connection_id":160587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb5bcd8012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:15:36] local.INFO: Packet analysis {"connection_id":160587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb5"} 
[2026-08-23 09:15:36] local.INFO: Extracted packet for processing {"connection_id":160587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb5"} 
[2026-08-23 09:15:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588859392001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787456503000,"timestamp_ms":1787456503000,"timestamp_seconds":1787456503,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb5bcd8"} 
[2026-08-23 09:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 09:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588859392001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588859392001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:15:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:15:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588859392001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":160587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:15:36] local.INFO: GPS data processed {"connection_id":160587,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:15:36] local.INFO: Acknowledgment sent {"connection_id":160587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:15:52] local.INFO: TCP Data received {"connection_id":161543,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:15:52] local.INFO: Processing buffer {"connection_id":161543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:15:52] local.INFO: IMEI packet received {"connection_id":161543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":161543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:15:57] local.INFO: TCP Data received {"connection_id":161543,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:15:57] local.INFO: Processing buffer {"connection_id":161543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:15:57] local.INFO: IMEI packet received {"connection_id":161543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":161543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:15:57] local.INFO: TCP Data received {"connection_id":161543,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:15:57] local.INFO: Processing buffer {"connection_id":161543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:15:57] local.INFO: Packet analysis {"connection_id":161543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:15:57] local.INFO: Extracted packet for processing {"connection_id":161543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:15:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588816384001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787456615000,"timestamp_ms":1787456615000,"timestamp_seconds":1787456615,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb77258"} 
[2026-08-23 09:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 09:15:57] 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-08-23 09:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588816384001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588816384001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:15:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:15:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588816384001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":161543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:15:57] local.INFO: GPS data processed {"connection_id":161543,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:15:57] local.INFO: Acknowledgment sent {"connection_id":161543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:16:03] local.INFO: TCP Data received {"connection_id":161543,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:16:03] local.INFO: Processing buffer {"connection_id":161543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:16:03] local.INFO: Packet analysis {"connection_id":161543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:16:03] local.INFO: Extracted packet for processing {"connection_id":161543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588816384001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787456615000,"timestamp_ms":1787456615000,"timestamp_seconds":1787456615,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb77258"} 
[2026-08-23 09:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 09:16: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-08-23 09:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:16:03] 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-08-23 09:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588816384001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588816384001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:16:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:16:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588816384001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":161543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:16:03] local.INFO: GPS data processed {"connection_id":161543,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:16:03] local.INFO: Acknowledgment sent {"connection_id":161543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:16:07] local.INFO: TCP Data received {"connection_id":160587,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb60ee0012d1967c0071feea80038011d29..."} 
[2026-08-23 09:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb60ee0012d1967c0071feea80038011d29..."} 
[2026-08-23 09:16:07] local.INFO: Processing buffer {"connection_id":160587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb60ee0012d1967c0071feea80038011d29..."} 
[2026-08-23 09:16:07] local.INFO: Packet analysis {"connection_id":160587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb6"} 
[2026-08-23 09:16:07] local.INFO: Extracted packet for processing {"connection_id":160587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb6"} 
[2026-08-23 09:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588864768001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787456524000,"timestamp_ms":1787456524000,"timestamp_seconds":1787456524,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb60ee0"} 
[2026-08-23 09:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 09:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588864768001,"66":12265,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588864768001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:16:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:16:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588864768001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":160587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:16:08] local.INFO: GPS data processed {"connection_id":160587,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:16:08] local.INFO: Acknowledgment sent {"connection_id":160587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:16:30] local.INFO: TCP Data received {"connection_id":162967,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:16:30] local.INFO: Processing buffer {"connection_id":162967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:16:30] local.INFO: IMEI packet received {"connection_id":162967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":162967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:16:33] local.INFO: TCP Data received {"connection_id":162967,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:16:33] local.INFO: Processing buffer {"connection_id":162967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:16:33] local.INFO: IMEI packet received {"connection_id":162967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":162967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:16:35] local.INFO: TCP Data received {"connection_id":162967,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:16:35] local.INFO: Processing buffer {"connection_id":162967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:16:35] local.INFO: IMEI packet received {"connection_id":162967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":162967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:16:36] local.INFO: TCP Data received {"connection_id":162967,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb660e8012d1967c0071feea80038011d28..."} 
[2026-08-23 09:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb660e8012d1967c0071feea80038011d28..."} 
[2026-08-23 09:16:36] local.INFO: Processing buffer {"connection_id":162967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb660e8012d1967c0071feea80038011d28..."} 
[2026-08-23 09:16:36] local.INFO: Packet analysis {"connection_id":162967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb6"} 
[2026-08-23 09:16:36] local.INFO: Extracted packet for processing {"connection_id":162967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb6"} 
[2026-08-23 09:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588870144001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787456545000,"timestamp_ms":1787456545000,"timestamp_seconds":1787456545,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb660e8"} 
[2026-08-23 09:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 09:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588870144001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588870144001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:16:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588870144001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":162967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:16:36] local.INFO: GPS data processed {"connection_id":162967,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:16:36] local.INFO: Acknowledgment sent {"connection_id":162967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:16:40] local.INFO: TCP Data received {"connection_id":162967,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb6b2f0012d1967c0071feea80038011d27..."} 
[2026-08-23 09:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb6b2f0012d1967c0071feea80038011d27..."} 
[2026-08-23 09:16:40] local.INFO: Processing buffer {"connection_id":162967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb6b2f0012d1967c0071feea80038011d27..."} 
[2026-08-23 09:16:40] local.INFO: Packet analysis {"connection_id":162967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb6"} 
[2026-08-23 09:16:40] local.INFO: Extracted packet for processing {"connection_id":162967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb6"} 
[2026-08-23 09:16:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588875520001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787456566000,"timestamp_ms":1787456566000,"timestamp_seconds":1787456566,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb6b2f0"} 
[2026-08-23 09:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 09:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":162967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":162967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":162967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588875520001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588875520001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:16:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:16:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588875520001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":162967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:16:40] local.INFO: GPS data processed {"connection_id":162967,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:16:40] local.INFO: Acknowledgment sent {"connection_id":162967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:16:47] local.INFO: TCP Data received {"connection_id":160588,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:16:47] local.INFO: Processing buffer {"connection_id":160588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:16:47] local.INFO: IMEI packet received {"connection_id":160588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":160588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:16:51] local.INFO: TCP Data received {"connection_id":160588,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:16:51] local.INFO: Processing buffer {"connection_id":160588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:16:51] local.INFO: IMEI packet received {"connection_id":160588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":160588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:16:52] local.INFO: TCP Data received {"connection_id":160588,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:16:52] local.INFO: Processing buffer {"connection_id":160588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:16:52] local.INFO: Packet analysis {"connection_id":160588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:16:52] local.INFO: Extracted packet for processing {"connection_id":160588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:16:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:16: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-08-23 09:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588816384001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787456615000,"timestamp_ms":1787456615000,"timestamp_seconds":1787456615,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb77258"} 
[2026-08-23 09:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:16: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-08-23 09:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 09:16:52] 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-08-23 09:16: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-08-23 09:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588816384001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588816384001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:16:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:16:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588816384001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":160588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:16:52] local.INFO: GPS data processed {"connection_id":160588,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:16:52] local.INFO: Acknowledgment sent {"connection_id":160588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:17:11] local.INFO: TCP Data received {"connection_id":162967,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb704f8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb704f8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:17:11] local.INFO: Processing buffer {"connection_id":162967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb704f8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:17:11] local.INFO: Packet analysis {"connection_id":162967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:17:11] local.INFO: Extracted packet for processing {"connection_id":162967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:17:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588880896001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787456587000,"timestamp_ms":1787456587000,"timestamp_seconds":1787456587,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb704f8"} 
[2026-08-23 09:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 09:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":162967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":162967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":162967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588880896001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588880896001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:17:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:17:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588880896001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":162967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:17:11] local.INFO: GPS data processed {"connection_id":162967,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:17:11] local.INFO: Acknowledgment sent {"connection_id":162967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:17:24] local.INFO: TCP Data received {"connection_id":160588,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:17:24] local.INFO: Processing buffer {"connection_id":160588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:17:24] local.INFO: Packet analysis {"connection_id":160588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:17:24] local.INFO: Extracted packet for processing {"connection_id":160588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:17:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588816384001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787456615000,"timestamp_ms":1787456615000,"timestamp_seconds":1787456615,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb77258"} 
[2026-08-23 09:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:17: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-08-23 09: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 09:17:24] 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-08-23 09: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-08-23 09:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588816384001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588816384001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:17:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:17:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588816384001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":160588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:17:24] local.INFO: GPS data processed {"connection_id":160588,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:17:24] local.INFO: Acknowledgment sent {"connection_id":160588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:17:30] local.INFO: TCP Data received {"connection_id":162968,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:17:30] local.INFO: Processing buffer {"connection_id":162968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:17:30] local.INFO: IMEI packet received {"connection_id":162968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":162968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:17:35] local.INFO: TCP Data received {"connection_id":162968,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:17:35] local.INFO: Processing buffer {"connection_id":162968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:17:35] local.INFO: IMEI packet received {"connection_id":162968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":162968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:17:36] local.INFO: TCP Data received {"connection_id":162968,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb75700012d1967c0071feea80038011d29..."} 
[2026-08-23 09:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb75700012d1967c0071feea80038011d29..."} 
[2026-08-23 09:17:36] local.INFO: Processing buffer {"connection_id":162968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb75700012d1967c0071feea80038011d29..."} 
[2026-08-23 09:17:36] local.INFO: Packet analysis {"connection_id":162968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:17:36] local.INFO: Extracted packet for processing {"connection_id":162968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588886272001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787456608000,"timestamp_ms":1787456608000,"timestamp_seconds":1787456608,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb75700"} 
[2026-08-23 09:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:36] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3221418161432500583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:36] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80265448339275776,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832574,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3378826502922961102,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3049052161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:17:36] local.WARNING: Large IO value detected {"io_id":106,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:36] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:36] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3909143928,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,22,160,178,45,192,238,56,39,10,66,96,40,14,1,240,233,227,44,31,4,113,205,106,103,168,239,47,2,54,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:17:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538803031539712,"timestamp_seconds":4035538803031539.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588886272001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588886272001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:17:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588886272001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":162968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:17:36] local.INFO: GPS data processed {"connection_id":162968,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:17:36] local.INFO: Acknowledgment sent {"connection_id":162968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:17:46] local.INFO: TCP Data received {"connection_id":160589,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:17:46] local.INFO: Processing buffer {"connection_id":160589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:17:46] local.INFO: IMEI packet received {"connection_id":160589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":160589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:17:52] local.INFO: TCP Data received {"connection_id":160589,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:17:52] local.INFO: Processing buffer {"connection_id":160589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:17:52] local.INFO: IMEI packet received {"connection_id":160589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":160589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:17:53] local.INFO: TCP Data received {"connection_id":160589,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:17:53] local.INFO: Processing buffer {"connection_id":160589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:17:53] local.INFO: Packet analysis {"connection_id":160589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:17:53] local.INFO: Extracted packet for processing {"connection_id":160589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:17:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:17: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-08-23 09:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588816384001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787456615000,"timestamp_ms":1787456615000,"timestamp_seconds":1787456615,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb77258"} 
[2026-08-23 09:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 09:17:53] 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-08-23 09:17: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-08-23 09:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588816384001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588816384001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:17:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:17:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588816384001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":160589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:17:53] local.INFO: GPS data processed {"connection_id":160589,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:17:53] local.INFO: Acknowledgment sent {"connection_id":160589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:18:08] local.INFO: TCP Data received {"connection_id":162968,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb7a908012d1967c0071feea80038011d28..."} 
[2026-08-23 09:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb7a908012d1967c0071feea80038011d28..."} 
[2026-08-23 09:18:08] local.INFO: Processing buffer {"connection_id":162968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb7a908012d1967c0071feea80038011d28..."} 
[2026-08-23 09:18:08] local.INFO: Packet analysis {"connection_id":162968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:18:08] local.INFO: Extracted packet for processing {"connection_id":162968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:18:08] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588891648001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787456629000,"timestamp_ms":1787456629000,"timestamp_seconds":1787456629,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb7a908"} 
[2026-08-23 09:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 09:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588891648001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588891648001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:18:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:18:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588891648001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":162968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:18:08] local.INFO: GPS data processed {"connection_id":162968,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:18:08] local.INFO: Acknowledgment sent {"connection_id":162968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:18:25] local.INFO: TCP Data received {"connection_id":160589,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:18:25] local.INFO: Processing buffer {"connection_id":160589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:18:25] local.INFO: Packet analysis {"connection_id":160589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:18:25] local.INFO: Extracted packet for processing {"connection_id":160589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:18:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588816384001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787456615000,"timestamp_ms":1787456615000,"timestamp_seconds":1787456615,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb77258"} 
[2026-08-23 09:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 09:18:25] 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-08-23 09: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-08-23 09:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588816384001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588816384001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:18:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:18:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588816384001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":160589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:18:25] local.INFO: GPS data processed {"connection_id":160589,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:18:25] local.INFO: Acknowledgment sent {"connection_id":160589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:18:35] local.INFO: TCP Data received {"connection_id":160374,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:18:35] local.INFO: Processing buffer {"connection_id":160374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:18:35] local.INFO: IMEI packet received {"connection_id":160374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":160374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:18:36] local.INFO: TCP Data received {"connection_id":160374,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb7fb10012d1967c0071feea80038011d28..."} 
[2026-08-23 09:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb7fb10012d1967c0071feea80038011d28..."} 
[2026-08-23 09:18:36] local.INFO: Processing buffer {"connection_id":160374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb7fb10012d1967c0071feea80038011d28..."} 
[2026-08-23 09:18:36] local.INFO: Packet analysis {"connection_id":160374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:18:36] local.INFO: Extracted packet for processing {"connection_id":160374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:18:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588897024001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787456650000,"timestamp_ms":1787456650000,"timestamp_seconds":1787456650,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb7fb10"} 
[2026-08-23 09:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 09:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588897024001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588897024001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:18:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588897024001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":160374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:18:36] local.INFO: GPS data processed {"connection_id":160374,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:18:36] local.INFO: Acknowledgment sent {"connection_id":160374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:18:46] local.INFO: TCP Data received {"connection_id":161545,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:18:46] local.INFO: Processing buffer {"connection_id":161545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:18:46] local.INFO: IMEI packet received {"connection_id":161545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":161545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:18:52] local.INFO: TCP Data received {"connection_id":161545,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:18:52] local.INFO: Processing buffer {"connection_id":161545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:18:52] local.INFO: IMEI packet received {"connection_id":161545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":161545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:18:53] local.INFO: TCP Data received {"connection_id":161545,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:18:53] local.INFO: Processing buffer {"connection_id":161545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb77258012d34c50006aa4098000d00851f..."} 
[2026-08-23 09:18:53] local.INFO: Packet analysis {"connection_id":161545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:18:53] local.INFO: Extracted packet for processing {"connection_id":161545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb7"} 
[2026-08-23 09:18:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588816384001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787456615000,"timestamp_ms":1787456615000,"timestamp_seconds":1787456615,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb77258"} 
[2026-08-23 09:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-23 09:18:53] 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-08-23 09:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:18:53] 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-08-23 09:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588816384001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588816384001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:18:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:18:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588816384001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":161545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:18:53] local.INFO: GPS data processed {"connection_id":161545,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:18:53] local.INFO: Acknowledgment sent {"connection_id":161545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:19:07] local.INFO: TCP Data received {"connection_id":160374,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb84d18012d1967c0071feea80038011d29..."} 
[2026-08-23 09:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb84d18012d1967c0071feea80038011d29..."} 
[2026-08-23 09:19:07] local.INFO: Processing buffer {"connection_id":160374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb84d18012d1967c0071feea80038011d29..."} 
[2026-08-23 09:19:07] local.INFO: Packet analysis {"connection_id":160374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb8"} 
[2026-08-23 09:19:07] local.INFO: Extracted packet for processing {"connection_id":160374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb8"} 
[2026-08-23 09:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588902400001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787456671000,"timestamp_ms":1787456671000,"timestamp_seconds":1787456671,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb84d18"} 
[2026-08-23 09:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:07] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3221688744372148583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:07] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:07] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80265448339275776,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832574,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3452291471844442318,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3065180161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:19:07] local.WARNING: Large IO value detected {"io_id":96,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:07] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:07] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,22,160,169,45,192,238,56,40,10,66,87,41,4,1,240,227,44,31,113,205,96,103,168,239,47,2,54,7,42],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:19:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538798736572416,"timestamp_seconds":4035538798736572.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588902400001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588902400001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:19:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588902400001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":160374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:19:07] local.INFO: GPS data processed {"connection_id":160374,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:19:07] local.INFO: Acknowledgment sent {"connection_id":160374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:19:25] local.INFO: TCP Data received {"connection_id":161545,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:19:25] local.INFO: Processing buffer {"connection_id":161545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:19:25] local.INFO: Packet analysis {"connection_id":161545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:19:25] local.INFO: Extracted packet for processing {"connection_id":161545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:19:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588893440001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787456916000,"timestamp_ms":1787456916000,"timestamp_seconds":1787456916,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbc0a20"} 
[2026-08-23 09:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:19:25] 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-08-23 09:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:19:25] 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-08-23 09:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588893440001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588893440001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:19:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:19:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588893440001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":161545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:19:25] local.INFO: GPS data processed {"connection_id":161545,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:19:25] local.INFO: Acknowledgment sent {"connection_id":161545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:19:35] local.INFO: TCP Data received {"connection_id":160375,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:19:35] local.INFO: Processing buffer {"connection_id":160375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:19:35] local.INFO: IMEI packet received {"connection_id":160375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":160375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:19:40] local.INFO: TCP Data received {"connection_id":160375,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:19:40] local.INFO: Processing buffer {"connection_id":160375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:19:40] local.INFO: IMEI packet received {"connection_id":160375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":160375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:19:40] local.INFO: TCP Data received {"connection_id":160375,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cb89f20012d1967c0071feea80038011d29..."} 
[2026-08-23 09:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cb89f20012d1967c0071feea80038011d29..."} 
[2026-08-23 09:19:40] local.INFO: Processing buffer {"connection_id":160375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cb89f20012d1967c0071feea80038011d29..."} 
[2026-08-23 09:19:40] local.INFO: Packet analysis {"connection_id":160375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cb8"} 
[2026-08-23 09:19:40] local.INFO: Extracted packet for processing {"connection_id":160375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cb8"} 
[2026-08-23 09:19:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588907776001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787456692000,"timestamp_ms":1787456692000,"timestamp_seconds":1787456692,"priority":1,"record_length":96,"hex_timestamp":"000001a02cb89f20"} 
[2026-08-23 09:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 09:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588907776001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588907776001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:19:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:19:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588907776001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":160375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:19:40] local.INFO: GPS data processed {"connection_id":160375,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:19:40] local.INFO: Acknowledgment sent {"connection_id":160375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:19:46] local.INFO: TCP Data received {"connection_id":160592,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:19:47] local.INFO: Processing buffer {"connection_id":160592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:19:47] local.INFO: IMEI packet received {"connection_id":160592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":160592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:19:52] local.INFO: TCP Data received {"connection_id":160592,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:19:52] local.INFO: Processing buffer {"connection_id":160592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:19:52] local.INFO: IMEI packet received {"connection_id":160592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":160592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:19:52] local.INFO: TCP Data received {"connection_id":160592,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:19:52] local.INFO: Processing buffer {"connection_id":160592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:19:52] local.INFO: Packet analysis {"connection_id":160592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:19:52] local.INFO: Extracted packet for processing {"connection_id":160592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588893440001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787456916000,"timestamp_ms":1787456916000,"timestamp_seconds":1787456916,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbc0a20"} 
[2026-08-23 09:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:19: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-08-23 09:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:19:52] 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-08-23 09:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:19:52] 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-08-23 09:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588893440001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588893440001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:19:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588893440001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":160592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:19:52] local.INFO: GPS data processed {"connection_id":160592,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:19:52] local.INFO: Acknowledgment sent {"connection_id":160592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:20:12] local.INFO: TCP Data received {"connection_id":160375,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbc2578012d1967c0071feea80038011d28..."} 
[2026-08-23 09:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbc2578012d1967c0071feea80038011d28..."} 
[2026-08-23 09:20:12] local.INFO: Processing buffer {"connection_id":160375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbc2578012d1967c0071feea80038011d28..."} 
[2026-08-23 09:20:12] local.INFO: Packet analysis {"connection_id":160375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:20:12] local.INFO: Extracted packet for processing {"connection_id":160375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:20:12] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588966912001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787456923000,"timestamp_ms":1787456923000,"timestamp_seconds":1787456923,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbc2578"} 
[2026-08-23 09:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-23 09:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588966912001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588966912001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:20:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:20:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588966912001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":160375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:20:12] local.INFO: GPS data processed {"connection_id":160375,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:20:12] local.INFO: Acknowledgment sent {"connection_id":160375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:20:24] local.INFO: TCP Data received {"connection_id":160592,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:20:24] local.INFO: Processing buffer {"connection_id":160592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:20:24] local.INFO: Packet analysis {"connection_id":160592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:20:24] local.INFO: Extracted packet for processing {"connection_id":160592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:20:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588893440001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787456916000,"timestamp_ms":1787456916000,"timestamp_seconds":1787456916,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbc0a20"} 
[2026-08-23 09:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09: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-08-23 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:20:24] 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-08-23 09: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-08-23 09:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588893440001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588893440001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:20:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:20:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588893440001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":160592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:20:24] local.INFO: GPS data processed {"connection_id":160592,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:20:24] local.INFO: Acknowledgment sent {"connection_id":160592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:20:30] local.INFO: TCP Data received {"connection_id":162969,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:20:30] local.INFO: Processing buffer {"connection_id":162969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:20:30] local.INFO: IMEI packet received {"connection_id":162969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":162969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:20:35] local.INFO: TCP Data received {"connection_id":162969,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:20:35] local.INFO: Processing buffer {"connection_id":162969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:20:35] local.INFO: IMEI packet received {"connection_id":162969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":162969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:20:36] local.INFO: TCP Data received {"connection_id":162969,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbc7780012d1967c0071feea80038011d27..."} 
[2026-08-23 09:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbc7780012d1967c0071feea80038011d27..."} 
[2026-08-23 09:20:36] local.INFO: Processing buffer {"connection_id":162969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbc7780012d1967c0071feea80038011d27..."} 
[2026-08-23 09:20:36] local.INFO: Packet analysis {"connection_id":162969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:20:36] local.INFO: Extracted packet for processing {"connection_id":162969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:20:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588972288001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787456944000,"timestamp_ms":1787456944000,"timestamp_seconds":1787456944,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbc7780"} 
[2026-08-23 09:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 09:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588972288001,"66":12265,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588972288001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:20:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:20:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588972288001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":162969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:20:36] local.INFO: GPS data processed {"connection_id":162969,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:20:36] local.INFO: Acknowledgment sent {"connection_id":162969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:20:36] local.INFO: TCP Data received {"connection_id":160376,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:20:36] local.INFO: Processing buffer {"connection_id":160376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:20:36] local.INFO: IMEI packet received {"connection_id":160376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":160376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:20:37] local.INFO: TCP Data received {"connection_id":160376,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbda830012d7dc88005d57e000002007c25..."} 
[2026-08-23 09:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbda830012d7dc88005d57e000002007c25..."} 
[2026-08-23 09:20:37] local.INFO: Processing buffer {"connection_id":160376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbda830012d7dc88005d57e000002007c25..."} 
[2026-08-23 09:20:37] local.INFO: Packet analysis {"connection_id":160376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbd"} 
[2026-08-23 09:20:37] local.INFO: Extracted packet for processing {"connection_id":160376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbd"} 
[2026-08-23 09:20:37] local.INFO: GPS Element Parsed {"raw_longitude":763218048,"raw_latitude":97877504,"longitude_deg":76.3218048,"latitude_deg":9.7877504,"altitude":2,"angle":124,"satellites":37,"speed":19,"hex_longitude":"2d7dc880","hex_latitude":"05d57e00","is_valid_coordinates":true} 
[2026-08-23 09:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588997120001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122578233483853824,"note":"Value kept but may cause issues"} 
[2026-08-23 09:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062720218953910272,"note":"Value kept but may cause issues"} 
[2026-08-23 09:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787457022000,"timestamp_ms":1787457022000,"timestamp_seconds":1787457022,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbda830"} 
[2026-08-23 09:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-23 09:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588997120001,"66":13222,"253":206,"85":15104,"24":19,"16":122578233483853824,"45":9062720218953910272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-23 09:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588997120001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:20:37] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-23 09:20:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122578233483853824,"km_value":122578233483853.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062720218953910272,"description":"Unknown IO ID 45"} 
[2026-08-23 09:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588997120001,"power":13222,"unknown_253":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9062720218953910272}} 
[2026-08-23 09:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":160376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:20:37] local.INFO: GPS data processed {"connection_id":160376,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:20:37] local.INFO: Acknowledgment sent {"connection_id":160376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:20:47] local.INFO: TCP Data received {"connection_id":161546,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:20:47] local.INFO: Processing buffer {"connection_id":161546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:20:47] local.INFO: IMEI packet received {"connection_id":161546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":161546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:20:52] local.INFO: TCP Data received {"connection_id":161546,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:20:52] local.INFO: Processing buffer {"connection_id":161546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:20:52] local.INFO: IMEI packet received {"connection_id":161546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":161546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:20:53] local.INFO: TCP Data received {"connection_id":161546,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:20:53] local.INFO: Processing buffer {"connection_id":161546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:20:53] local.INFO: Packet analysis {"connection_id":161546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:20:53] local.INFO: Extracted packet for processing {"connection_id":161546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588893440001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787456916000,"timestamp_ms":1787456916000,"timestamp_seconds":1787456916,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbc0a20"} 
[2026-08-23 09:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:20:53] 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-08-23 09:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:20:53] 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-08-23 09:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588893440001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588893440001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:20:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:20:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588893440001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":161546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:20:53] local.INFO: GPS data processed {"connection_id":161546,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:20:53] local.INFO: Acknowledgment sent {"connection_id":161546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:21:07] local.INFO: TCP Data received {"connection_id":162969,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbcc988012d1967c0071feea80038011d29..."} 
[2026-08-23 09:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbcc988012d1967c0071feea80038011d29..."} 
[2026-08-23 09:21:07] local.INFO: Processing buffer {"connection_id":162969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbcc988012d1967c0071feea80038011d29..."} 
[2026-08-23 09:21:07] local.INFO: Packet analysis {"connection_id":162969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:21:07] local.INFO: Extracted packet for processing {"connection_id":162969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588977664001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787456965000,"timestamp_ms":1787456965000,"timestamp_seconds":1787456965,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbcc988"} 
[2026-08-23 09:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 09:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588977664001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588977664001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:21:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588977664001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":162969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:21:07] local.INFO: GPS data processed {"connection_id":162969,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:21:07] local.INFO: Acknowledgment sent {"connection_id":162969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:21:17] local.INFO: TCP Data received {"connection_id":160377,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:21:17] local.INFO: Processing buffer {"connection_id":160377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:21:17] local.INFO: IMEI packet received {"connection_id":160377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":160377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:21:18] local.INFO: TCP Data received {"connection_id":160377,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:21:18] local.INFO: Processing buffer {"connection_id":160377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:21:18] local.INFO: IMEI packet received {"connection_id":160377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":160377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:21:21] local.INFO: TCP Data received {"connection_id":160377,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:21:21] local.INFO: Processing buffer {"connection_id":160377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:21:21] local.INFO: IMEI packet received {"connection_id":160377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":160377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:21:22] local.INFO: TCP Data received {"connection_id":160377,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbe38b8012d7e1b4005d563e80001007d27..."} 
[2026-08-23 09:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbe38b8012d7e1b4005d563e80001007d27..."} 
[2026-08-23 09:21:22] local.INFO: Processing buffer {"connection_id":160377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbe38b8012d7e1b4005d563e80001007d27..."} 
[2026-08-23 09:21:22] local.INFO: Packet analysis {"connection_id":160377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbe"} 
[2026-08-23 09:21:22] local.INFO: Extracted packet for processing {"connection_id":160377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbe"} 
[2026-08-23 09:21:22] local.INFO: GPS Element Parsed {"raw_longitude":763239232,"raw_latitude":97870824,"longitude_deg":76.3239232,"latitude_deg":9.7870824,"altitude":1,"angle":125,"satellites":39,"speed":20,"hex_longitude":"2d7e1b40","hex_latitude":"05d563e8","is_valid_coordinates":true} 
[2026-08-23 09:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589005824001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122579375945154560,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083971579693860864,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:22] 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-08-23 09:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787457059000,"timestamp_ms":1787457059000,"timestamp_seconds":1787457059,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbe38b8"} 
[2026-08-23 09:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:21: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-08-23 09:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 09:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589005824001,"66":13135,"29":206,"85":15104,"24":20,"16":122579375945154560,"45":9083971579693860864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-23 09:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589005824001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:21:22] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-23 09:21:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122579375945154560,"km_value":122579375945154.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083971579693860864,"description":"Unknown IO ID 45"} 
[2026-08-23 09:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589005824001,"power":13135,"unknown_29":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9083971579693860864}} 
[2026-08-23 09:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":160377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:21:22] local.INFO: GPS data processed {"connection_id":160377,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:21:22] local.INFO: Acknowledgment sent {"connection_id":160377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:21:24] local.INFO: TCP Data received {"connection_id":161546,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:21:24] local.INFO: Processing buffer {"connection_id":161546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:21:24] local.INFO: Packet analysis {"connection_id":161546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:21:24] local.INFO: Extracted packet for processing {"connection_id":161546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:21:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588893440001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787456916000,"timestamp_ms":1787456916000,"timestamp_seconds":1787456916,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbc0a20"} 
[2026-08-23 09:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:21: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-08-23 09:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:21:24] 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-08-23 09:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:21:24] 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-08-23 09:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588893440001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588893440001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:21:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:21:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588893440001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":161546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:21:24] local.INFO: GPS data processed {"connection_id":161546,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:21:24] local.INFO: Acknowledgment sent {"connection_id":161546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:21:30] local.INFO: TCP Data received {"connection_id":160378,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:21:30] local.INFO: Processing buffer {"connection_id":160378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:21:30] local.INFO: IMEI packet received {"connection_id":160378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":160378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:21:35] local.INFO: TCP Data received {"connection_id":160378,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:21:35] local.INFO: Processing buffer {"connection_id":160378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:21:35] local.INFO: IMEI packet received {"connection_id":160378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":160378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:21:36] local.INFO: TCP Data received {"connection_id":160378,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbd1b90012d1967c0071feea80038011d29..."} 
[2026-08-23 09:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbd1b90012d1967c0071feea80038011d29..."} 
[2026-08-23 09:21:36] local.INFO: Processing buffer {"connection_id":160378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbd1b90012d1967c0071feea80038011d29..."} 
[2026-08-23 09:21:36] local.INFO: Packet analysis {"connection_id":160378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbd"} 
[2026-08-23 09:21:36] local.INFO: Extracted packet for processing {"connection_id":160378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbd"} 
[2026-08-23 09:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588983040001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787456986000,"timestamp_ms":1787456986000,"timestamp_seconds":1787456986,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbd1b90"} 
[2026-08-23 09:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:36] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3223041659070388583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:36] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80265448339275776,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832575,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3145820161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:21:36] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:36] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,22,160,119,45,192,238,56,39,10,66,37,40,211,1,240,227,44,31,4,113,205,47,103,168,42,239,2,54,7,41],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:21:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538803031539712,"timestamp_seconds":4035538803031539.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588983040001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588983040001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:21:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:21:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588983040001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":160378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:21:36] local.INFO: GPS data processed {"connection_id":160378,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:21:36] local.INFO: Acknowledgment sent {"connection_id":160378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:21:46] local.INFO: TCP Data received {"connection_id":162970,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:21:46] local.INFO: Processing buffer {"connection_id":162970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:21:46] local.INFO: IMEI packet received {"connection_id":162970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":162970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:21:52] local.INFO: TCP Data received {"connection_id":162970,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:21:52] local.INFO: Processing buffer {"connection_id":162970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:21:52] local.INFO: IMEI packet received {"connection_id":162970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":162970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:21:52] local.INFO: TCP Data received {"connection_id":162970,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:21:52] local.INFO: Processing buffer {"connection_id":162970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:21:52] local.INFO: Packet analysis {"connection_id":162970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:21:52] local.INFO: Extracted packet for processing {"connection_id":162970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:21:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:21: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-08-23 09:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588893440001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787456916000,"timestamp_ms":1787456916000,"timestamp_seconds":1787456916,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbc0a20"} 
[2026-08-23 09:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:21: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-08-23 09:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:21:52] 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-08-23 09:21: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-08-23 09:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588893440001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588893440001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:21:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:21:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588893440001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":162970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:21:53] local.INFO: GPS data processed {"connection_id":162970,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:21:53] local.INFO: Acknowledgment sent {"connection_id":162970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:22:06] local.INFO: TCP Data received {"connection_id":161547,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:22:06] local.INFO: Processing buffer {"connection_id":161547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:22:06] local.INFO: IMEI packet received {"connection_id":161547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":161547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:22:07] local.INFO: TCP Data received {"connection_id":160378,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbd6d98012d1967c0071feea80038011d29..."} 
[2026-08-23 09:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbd6d98012d1967c0071feea80038011d29..."} 
[2026-08-23 09:22:07] local.INFO: Processing buffer {"connection_id":160378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbd6d98012d1967c0071feea80038011d29..."} 
[2026-08-23 09:22:07] local.INFO: Packet analysis {"connection_id":160378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbd"} 
[2026-08-23 09:22:07] local.INFO: Extracted packet for processing {"connection_id":160378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbd"} 
[2026-08-23 09:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588988416001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787457007000,"timestamp_ms":1787457007000,"timestamp_seconds":1787457007,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbd6d98"} 
[2026-08-23 09:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:07] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3223131853383604583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:07] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:07] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80266547850903552,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832575,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3151196161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:22:07] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:07] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257848,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:07] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,22,160,201,45,192,238,56,41,10,66,119,39,37,1,240,255,227,44,31,4,113,205,129,103,168,42,239,46,2,54,7],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:22:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538803031539712,"timestamp_seconds":4035538803031539.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588988416001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588988416001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:22:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588988416001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":160378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:22:07] local.INFO: GPS data processed {"connection_id":160378,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:22:07] local.INFO: Acknowledgment sent {"connection_id":160378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:22:09] local.INFO: TCP Data received {"connection_id":161547,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:22:09] local.INFO: Processing buffer {"connection_id":161547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:22:09] local.INFO: IMEI packet received {"connection_id":161547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":161547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:22:09] local.INFO: TCP Data received {"connection_id":161547,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:22:09] local.INFO: Processing buffer {"connection_id":161547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:22:09] local.INFO: IMEI packet received {"connection_id":161547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":161547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:22:11] local.INFO: TCP Data received {"connection_id":161547,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:22:11] local.INFO: Processing buffer {"connection_id":161547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:22:11] local.INFO: IMEI packet received {"connection_id":161547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":161547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:22:12] local.INFO: TCP Data received {"connection_id":161547,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbe3ca0012d7e1c4005d562880002008c27..."} 
[2026-08-23 09:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbe3ca0012d7e1c4005d562880002008c27..."} 
[2026-08-23 09:22:12] local.INFO: Processing buffer {"connection_id":161547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbe3ca0012d7e1c4005d562880002008c27..."} 
[2026-08-23 09:22:12] local.INFO: Packet analysis {"connection_id":161547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbe"} 
[2026-08-23 09:22:12] local.INFO: Extracted packet for processing {"connection_id":161547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbe"} 
[2026-08-23 09:22:12] local.INFO: GPS Element Parsed {"raw_longitude":763239488,"raw_latitude":97870472,"longitude_deg":76.3239488,"latitude_deg":9.7870472,"altitude":2,"angle":140,"satellites":39,"speed":18,"hex_longitude":"2d7e1c40","hex_latitude":"05d56288","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589007104001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122579397419991040,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086927066949216256,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:12] 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-08-23 09:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787457060000,"timestamp_ms":1787457060000,"timestamp_seconds":1787457060,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbe3ca0"} 
[2026-08-23 09:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 09:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589007104001,"66":13135,"29":206,"85":15104,"24":18,"16":122579397419991040,"45":9086927066949216256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-23 09:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589007104001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:22:12] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-23 09:22:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122579397419991040,"km_value":122579397419991.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086927066949216256,"description":"Unknown IO ID 45"} 
[2026-08-23 09:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589007104001,"power":13135,"unknown_29":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9086927066949216256}} 
[2026-08-23 09:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":161547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:22:12] local.INFO: GPS data processed {"connection_id":161547,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:22:12] local.INFO: Acknowledgment sent {"connection_id":161547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:22:24] local.INFO: TCP Data received {"connection_id":162970,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:22:24] local.INFO: Processing buffer {"connection_id":162970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:22:24] local.INFO: Packet analysis {"connection_id":162970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:22:24] local.INFO: Extracted packet for processing {"connection_id":162970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:22:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588893440001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787456916000,"timestamp_ms":1787456916000,"timestamp_seconds":1787456916,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbc0a20"} 
[2026-08-23 09:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:22: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-08-23 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:22:24] 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-08-23 09: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-08-23 09:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588893440001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588893440001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:22:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:22:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588893440001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":162970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:22:24] local.INFO: GPS data processed {"connection_id":162970,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:22:24] local.INFO: Acknowledgment sent {"connection_id":162970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:22:30] local.INFO: TCP Data received {"connection_id":160593,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:22:30] local.INFO: Processing buffer {"connection_id":160593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:22:30] local.INFO: IMEI packet received {"connection_id":160593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":160593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:22:31] local.INFO: TCP Data received {"connection_id":160593,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:22:31] local.INFO: Processing buffer {"connection_id":160593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:22:31] local.INFO: IMEI packet received {"connection_id":160593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":160593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:22:35] local.INFO: TCP Data received {"connection_id":160593,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:22:35] local.INFO: Processing buffer {"connection_id":160593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:22:35] local.INFO: IMEI packet received {"connection_id":160593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":160593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:22:36] local.INFO: TCP Data received {"connection_id":160593,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbdbfa0012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbdbfa0012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:22:36] local.INFO: Processing buffer {"connection_id":160593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbdbfa0012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:22:36] local.INFO: Packet analysis {"connection_id":160593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbd"} 
[2026-08-23 09:22:36] local.INFO: Extracted packet for processing {"connection_id":160593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbd"} 
[2026-08-23 09:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588993792001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787457028000,"timestamp_ms":1787457028000,"timestamp_seconds":1787457028,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbdbfa0"} 
[2026-08-23 09:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:22:36] 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-08-23 09: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-08-23 09:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588993792001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588993792001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:22:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588993792001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":160593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:22:36] local.INFO: GPS data processed {"connection_id":160593,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:22:36] local.INFO: Acknowledgment sent {"connection_id":160593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:22:43] local.INFO: TCP Data received {"connection_id":161547,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbfa400012d7e374005d45f48000400b428..."} 
[2026-08-23 09:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbfa400012d7e374005d45f48000400b428..."} 
[2026-08-23 09:22:43] local.INFO: Processing buffer {"connection_id":161547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbfa400012d7e374005d45f48000400b428..."} 
[2026-08-23 09:22:43] local.INFO: Packet analysis {"connection_id":161547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbf"} 
[2026-08-23 09:22:43] local.INFO: Extracted packet for processing {"connection_id":161547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbf"} 
[2026-08-23 09:22:43] local.INFO: GPS Element Parsed {"raw_longitude":763246400,"raw_latitude":97804104,"longitude_deg":76.32464,"latitude_deg":9.7804104,"altitude":4,"angle":180,"satellites":40,"speed":25,"hex_longitude":"2d7e3740","hex_latitude":"05d45f48","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589027584001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122582670185070592,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316235880448,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787457152000,"timestamp_ms":1787457152000,"timestamp_seconds":1787457152,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbfa400"} 
[2026-08-23 09:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 09:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589027584001,"66":13276,"111":206,"85":15104,"24":25,"16":122582670185070592,"45":9095371316235880448},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-23 09:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589027584001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:22:43] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-23 09:22:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122582670185070592,"km_value":122582670185070.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316235880448,"description":"Unknown IO ID 45"} 
[2026-08-23 09:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589027584001,"power":13276,"unknown_111":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9095371316235880448}} 
[2026-08-23 09:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":161547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:22:43] local.INFO: GPS data processed {"connection_id":161547,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:22:43] local.INFO: Acknowledgment sent {"connection_id":161547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:22:46] local.INFO: TCP Data received {"connection_id":161548,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:22:46] local.INFO: Processing buffer {"connection_id":161548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:22:46] local.INFO: IMEI packet received {"connection_id":161548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":161548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:22:52] local.INFO: TCP Data received {"connection_id":161548,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:22:52] local.INFO: Processing buffer {"connection_id":161548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:22:52] local.INFO: IMEI packet received {"connection_id":161548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":161548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:22:52] local.INFO: TCP Data received {"connection_id":161548,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:22:52] local.INFO: Processing buffer {"connection_id":161548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:22:52] local.INFO: Packet analysis {"connection_id":161548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:22:52] local.INFO: Extracted packet for processing {"connection_id":161548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:22:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588893440001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787456916000,"timestamp_ms":1787456916000,"timestamp_seconds":1787456916,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbc0a20"} 
[2026-08-23 09:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:22: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-08-23 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:22:52] 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-08-23 09: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-08-23 09:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:22:52] 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-08-23 09:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588893440001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588893440001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:22:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:22:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588893440001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":161548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:22:52] local.INFO: GPS data processed {"connection_id":161548,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:22:52] local.INFO: Acknowledgment sent {"connection_id":161548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:23:07] local.INFO: TCP Data received {"connection_id":160593,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbe11a8012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbe11a8012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:23:07] local.INFO: Processing buffer {"connection_id":160593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbe11a8012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:23:07] local.INFO: Packet analysis {"connection_id":160593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbe"} 
[2026-08-23 09:23:07] local.INFO: Extracted packet for processing {"connection_id":160593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbe"} 
[2026-08-23 09:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588999168001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787457049000,"timestamp_ms":1787457049000,"timestamp_seconds":1787457049,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbe11a8"} 
[2026-08-23 09:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:07] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3223312242010036583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:07] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:07] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80263249316020224,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832576,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3430899373614432462,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3161948161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:23:07] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:07] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,22,160,109,45,192,238,56,41,10,66,27,201,1,240,227,44,31,4,113,205,37,103,168,40,239,47,2,54,7,42],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:23:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538807326507008,"timestamp_seconds":4035538807326507.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588999168001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588999168001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:23:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588999168001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":160593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:23:07] local.INFO: GPS data processed {"connection_id":160593,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:23:07] local.INFO: Acknowledgment sent {"connection_id":160593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:23:11] local.INFO: TCP Data received {"connection_id":161549,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:23:11] local.INFO: Processing buffer {"connection_id":161549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:23:11] local.INFO: IMEI packet received {"connection_id":161549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":161549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:23:13] local.INFO: TCP Data received {"connection_id":161549,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:23:13] local.INFO: Processing buffer {"connection_id":161549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:23:13] local.INFO: IMEI packet received {"connection_id":161549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":161549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:23:14] local.INFO: TCP Data received {"connection_id":161549,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbfb3a0012d7e380005d455e0000400a527..."} 
[2026-08-23 09:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbfb3a0012d7e380005d455e0000400a527..."} 
[2026-08-23 09:23:14] local.INFO: Processing buffer {"connection_id":161549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbfb3a0012d7e380005d455e0000400a527..."} 
[2026-08-23 09:23:14] local.INFO: Packet analysis {"connection_id":161549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbf"} 
[2026-08-23 09:23:14] local.INFO: Extracted packet for processing {"connection_id":161549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbf"} 
[2026-08-23 09:23:14] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97801696,"longitude_deg":76.3246592,"latitude_deg":9.7801696,"altitude":4,"angle":165,"satellites":39,"speed":23,"hex_longitude":"2d7e3800","hex_latitude":"05d455e0","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589030912001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122582786149187584,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094808366280034304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787457156000,"timestamp_ms":1787457156000,"timestamp_seconds":1787457156,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbfb3a0"} 
[2026-08-23 09:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 09:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589030912001,"66":13417,"111":206,"85":15104,"24":23,"16":122582786149187584,"45":9094808366280034304},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-23 09:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589030912001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:23:14] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-23 09:23:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122582786149187584,"km_value":122582786149187.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094808366280034304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589030912001,"power":13417,"unknown_111":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9094808366280034304}} 
[2026-08-23 09:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":161549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:23:14] local.INFO: GPS data processed {"connection_id":161549,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:23:14] local.INFO: Acknowledgment sent {"connection_id":161549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:23:16] local.INFO: TCP Data received {"connection_id":161549,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbfc728012d7e39c005d44968000400b027..."} 
[2026-08-23 09:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbfc728012d7e39c005d44968000400b027..."} 
[2026-08-23 09:23:16] local.INFO: Processing buffer {"connection_id":161549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbfc728012d7e39c005d44968000400b027..."} 
[2026-08-23 09:23:16] local.INFO: Packet analysis {"connection_id":161549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbf"} 
[2026-08-23 09:23:16] local.INFO: Extracted packet for processing {"connection_id":161549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbf"} 
[2026-08-23 09:23:16] local.INFO: GPS Element Parsed {"raw_longitude":763247040,"raw_latitude":97798504,"longitude_deg":76.324704,"latitude_deg":9.7798504,"altitude":4,"angle":176,"satellites":39,"speed":27,"hex_longitude":"2d7e39c0","hex_latitude":"05d44968","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589031936001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122582945062977536,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472511950848,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787457161000,"timestamp_ms":1787457161000,"timestamp_seconds":1787457161,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbfc728"} 
[2026-08-23 09:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-23 09:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589031936001,"66":13319,"111":206,"85":15104,"24":27,"16":122582945062977536,"45":9095019472511950848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-23 09:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589031936001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:23:16] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-23 09:23:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122582945062977536,"km_value":122582945062977.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472511950848,"description":"Unknown IO ID 45"} 
[2026-08-23 09:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589031936001,"power":13319,"unknown_111":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9095019472511950848}} 
[2026-08-23 09:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":161549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:23:17] local.INFO: GPS data processed {"connection_id":161549,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:23:17] local.INFO: Acknowledgment sent {"connection_id":161549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:23:24] local.INFO: TCP Data received {"connection_id":161548,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:23:24] local.INFO: Processing buffer {"connection_id":161548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:23:24] local.INFO: Packet analysis {"connection_id":161548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:23:24] local.INFO: Extracted packet for processing {"connection_id":161548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:23:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588893440001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787456916000,"timestamp_ms":1787456916000,"timestamp_seconds":1787456916,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbc0a20"} 
[2026-08-23 09:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:23: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-08-23 09:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:23:24] 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-08-23 09: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-08-23 09:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:23:24] 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-08-23 09:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588893440001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588893440001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:23:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:23:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588893440001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":161548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:23:24] local.INFO: GPS data processed {"connection_id":161548,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:23:24] local.INFO: Acknowledgment sent {"connection_id":161548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:23:30] local.INFO: TCP Data received {"connection_id":160594,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:23:30] local.INFO: Processing buffer {"connection_id":160594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:23:30] local.INFO: IMEI packet received {"connection_id":160594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":160594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:23:33] local.INFO: TCP Data received {"connection_id":160594,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:23:33] local.INFO: Processing buffer {"connection_id":160594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:23:33] local.INFO: IMEI packet received {"connection_id":160594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":160594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:23:35] local.INFO: TCP Data received {"connection_id":160594,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:23:35] local.INFO: Processing buffer {"connection_id":160594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:23:35] local.INFO: IMEI packet received {"connection_id":160594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":160594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:23:35] local.INFO: TCP Data received {"connection_id":160594,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbe63b0012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbe63b0012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:23:35] local.INFO: Processing buffer {"connection_id":160594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbe63b0012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:23:35] local.INFO: Packet analysis {"connection_id":160594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbe"} 
[2026-08-23 09:23:35] local.INFO: Extracted packet for processing {"connection_id":160594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbe"} 
[2026-08-23 09:23:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589004544001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787457070000,"timestamp_ms":1787457070000,"timestamp_seconds":1787457070,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbe63b0"} 
[2026-08-23 09:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 09:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589004544001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589004544001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:23:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:23:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589004544001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":160594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:23:36] local.INFO: GPS data processed {"connection_id":160594,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:23:36] local.INFO: Acknowledgment sent {"connection_id":160594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:23:47] local.INFO: TCP Data received {"connection_id":161549,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbff608012d7e3c4005d42600000400ad28..."} 
[2026-08-23 09:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbff608012d7e3c4005d42600000400ad28..."} 
[2026-08-23 09:23:47] local.INFO: Processing buffer {"connection_id":161549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbff608012d7e3c4005d42600000400ad28..."} 
[2026-08-23 09:23:47] local.INFO: Packet analysis {"connection_id":161549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbf"} 
[2026-08-23 09:23:47] local.INFO: Extracted packet for processing {"connection_id":161549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbf"} 
[2026-08-23 09:23:47] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97789440,"longitude_deg":76.324768,"latitude_deg":9.778944,"altitude":4,"angle":173,"satellites":40,"speed":30,"hex_longitude":"2d7e3c40","hex_latitude":"05d42600","is_valid_coordinates":true} 
[2026-08-23 09:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589033216001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122583383149641728,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095512053720377344,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787457173000,"timestamp_ms":1787457173000,"timestamp_seconds":1787457173,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbff608"} 
[2026-08-23 09:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 09:23:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:47] local.WARNING: Large IO value detected {"io_id":127,"raw_value":3741319168,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3208796161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:47] local.WARNING: Large IO value detected {"io_id":212,"raw_value":-3616390470703568896,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1299120334,"corrected_to":0} 
[2026-08-23 09:23:47] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2147865767,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3570077696,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:47] local.WARNING: Large IO value detected {"io_id":139,"raw_value":57787509375915323,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:47] local.WARNING: Large IO value detected {"io_id":191,"raw_value":1121397602117681157,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:47] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,111,85,24,241,157,16,128,160,179,45,4,39,10,66,164,64,95,40,113,1,240,215,227,127,44,212,205,28,56,80,239,50,2,5,7,29,139,191],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1299120334,"validated":0}]} 
[2026-08-23 09:23:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288424057703694336,"timestamp_seconds":288424057703694.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589033216001,"66":12906,"111":206,"85":15104,"24":30,"16":122583383149641728,"45":9095512053720377344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-23 09:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589033216001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:23:47] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-23 09:23:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122583383149641728,"km_value":122583383149641.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095512053720377344,"description":"Unknown IO ID 45"} 
[2026-08-23 09:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589033216001,"power":12906,"unknown_111":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9095512053720377344}} 
[2026-08-23 09:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":161549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:23:47] local.INFO: GPS data processed {"connection_id":161549,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:23:47] local.INFO: Acknowledgment sent {"connection_id":161549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:23:51] local.INFO: TCP Data received {"connection_id":160595,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:23:51] local.INFO: Processing buffer {"connection_id":160595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:23:51] local.INFO: IMEI packet received {"connection_id":160595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":160595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:23:57] local.INFO: TCP Data received {"connection_id":160595,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:23:57] local.INFO: Processing buffer {"connection_id":160595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:23:57] local.INFO: IMEI packet received {"connection_id":160595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":160595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:23:58] local.INFO: TCP Data received {"connection_id":160595,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:23:58] local.INFO: Processing buffer {"connection_id":160595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:23:58] local.INFO: Packet analysis {"connection_id":160595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:23:58] local.INFO: Extracted packet for processing {"connection_id":160595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:23:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588893440001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787456916000,"timestamp_ms":1787456916000,"timestamp_seconds":1787456916,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbc0a20"} 
[2026-08-23 09:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588893440001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588893440001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:23:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:23:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588893440001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":160595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:23:58] local.INFO: GPS data processed {"connection_id":160595,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:23:58] local.INFO: Acknowledgment sent {"connection_id":160595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:24:02] local.INFO: TCP Data received {"connection_id":160595,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:24:02] local.INFO: Processing buffer {"connection_id":160595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbc0a20012d34c50006aa4098000d00851e..."} 
[2026-08-23 09:24:02] local.INFO: Packet analysis {"connection_id":160595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:24:02] local.INFO: Extracted packet for processing {"connection_id":160595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbc"} 
[2026-08-23 09:24:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588893440001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787456916000,"timestamp_ms":1787456916000,"timestamp_seconds":1787456916,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbc0a20"} 
[2026-08-23 09:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:24:02] 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-08-23 09: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-08-23 09:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588893440001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588893440001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:24:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:24:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588893440001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":160595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:24:02] local.INFO: GPS data processed {"connection_id":160595,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:24:02] local.INFO: Acknowledgment sent {"connection_id":160595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:24:06] local.INFO: TCP Data received {"connection_id":160379,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:24:06] local.INFO: Processing buffer {"connection_id":160379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:24:06] local.INFO: IMEI packet received {"connection_id":160379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":160379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:24:07] local.INFO: TCP Data received {"connection_id":160594,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbeb5b8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbeb5b8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:24:07] local.INFO: Processing buffer {"connection_id":160594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbeb5b8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:24:07] local.INFO: Packet analysis {"connection_id":160594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbe"} 
[2026-08-23 09:24:07] local.INFO: Extracted packet for processing {"connection_id":160594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbe"} 
[2026-08-23 09:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589009920001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787457091000,"timestamp_ms":1787457091000,"timestamp_seconds":1787457091,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbeb5b8"} 
[2026-08-23 09:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:07] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3223492630636468583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:07] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:07] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80263249316020224,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832575,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3452291471844442318,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3172700161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:24:07] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:07] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:07] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,22,160,17,45,192,238,56,42,10,66,191,109,1,240,53,227,44,31,4,113,205,201,103,168,41,239,48,2,54,7,40],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:24:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538807326507008,"timestamp_seconds":4035538807326507.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589009920001,"66":12265,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589009920001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:24:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589009920001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":160594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:24:07] local.INFO: GPS data processed {"connection_id":160594,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:24:07] local.INFO: Acknowledgment sent {"connection_id":160594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:24:12] local.INFO: TCP Data received {"connection_id":160379,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:24:12] local.INFO: Processing buffer {"connection_id":160379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:24:12] local.INFO: IMEI packet received {"connection_id":160379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":160379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:24:12] local.INFO: TCP Data received {"connection_id":160379,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc005a8012d7e3d8005d41f60000500a128..."} 
[2026-08-23 09:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc005a8012d7e3d8005d41f60000500a128..."} 
[2026-08-23 09:24:12] local.INFO: Processing buffer {"connection_id":160379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc005a8012d7e3d8005d41f60000500a128..."} 
[2026-08-23 09:24:12] local.INFO: Packet analysis {"connection_id":160379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:24:12] local.INFO: Extracted packet for processing {"connection_id":160379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:24:12] local.INFO: GPS Element Parsed {"raw_longitude":763248000,"raw_latitude":97787744,"longitude_deg":76.3248,"latitude_deg":9.7787744,"altitude":5,"angle":161,"satellites":40,"speed":5,"hex_longitude":"2d7e3d80","hex_latitude":"05d41f60","is_valid_coordinates":true} 
[2026-08-23 09:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589036288001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122583469048987648,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741159833600,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787457177000,"timestamp_ms":1787457177000,"timestamp_seconds":1787457177,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc005a8"} 
[2026-08-23 09:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-23 09:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589036288001,"66":12906,"111":206,"85":15104,"24":5,"16":122583469048987648,"45":9096215741159833600},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-23 09:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589036288001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:24:12] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-23 09:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122583469048987648,"km_value":122583469048987.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741159833600,"description":"Unknown IO ID 45"} 
[2026-08-23 09:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589036288001,"power":12906,"unknown_111":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9096215741159833600}} 
[2026-08-23 09:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":160379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:24:12] local.INFO: GPS data processed {"connection_id":160379,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:24:12] local.INFO: Acknowledgment sent {"connection_id":160379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:24:30] local.INFO: TCP Data received {"connection_id":160380,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:24:30] local.INFO: Processing buffer {"connection_id":160380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:24:30] local.INFO: IMEI packet received {"connection_id":160380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":160380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:24:35] local.INFO: TCP Data received {"connection_id":160380,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:24:35] local.INFO: Processing buffer {"connection_id":160380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:24:35] local.INFO: IMEI packet received {"connection_id":160380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":160380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:24:36] local.INFO: TCP Data received {"connection_id":160380,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbf07c0012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbf07c0012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:24:36] local.INFO: Processing buffer {"connection_id":160380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbf07c0012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:24:36] local.INFO: Packet analysis {"connection_id":160380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbf"} 
[2026-08-23 09:24:36] local.INFO: Extracted packet for processing {"connection_id":160380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbf"} 
[2026-08-23 09:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589015296001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787457112000,"timestamp_ms":1787457112000,"timestamp_seconds":1787457112,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbf07c0"} 
[2026-08-23 09:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 09:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589015296001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589015296001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:24:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589015296001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":160380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:24:36] local.INFO: GPS data processed {"connection_id":160380,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:24:36] local.INFO: Acknowledgment sent {"connection_id":160380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:24:43] local.INFO: TCP Data received {"connection_id":160379,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc19418012d7e138005d3a8900006010e28..."} 
[2026-08-23 09:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc19418012d7e138005d3a8900006010e28..."} 
[2026-08-23 09:24:43] local.INFO: Processing buffer {"connection_id":160379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc19418012d7e138005d3a8900006010e28..."} 
[2026-08-23 09:24:43] local.INFO: Packet analysis {"connection_id":160379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc1"} 
[2026-08-23 09:24:43] local.INFO: Extracted packet for processing {"connection_id":160379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc1"} 
[2026-08-23 09:24:43] local.INFO: GPS Element Parsed {"raw_longitude":763237248,"raw_latitude":97757328,"longitude_deg":76.3237248,"latitude_deg":9.7757328,"altitude":6,"angle":270,"satellites":40,"speed":8,"hex_longitude":"2d7e1380","hex_latitude":"05d3a890","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589062912001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122585753971589120,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217059907584,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787457279000,"timestamp_ms":1787457279000,"timestamp_seconds":1787457279,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc19418"} 
[2026-08-23 09:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 09:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589062912001,"66":12939,"109":206,"85":15104,"24":8,"16":122585753971589120,"45":9085238217059907584},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589062912001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:24:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122585753971589120,"km_value":122585753971589.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217059907584,"description":"Unknown IO ID 45"} 
[2026-08-23 09:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589062912001,"power":12939,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9085238217059907584}} 
[2026-08-23 09:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":160379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:24:43] local.INFO: GPS data processed {"connection_id":160379,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:24:43] local.INFO: Acknowledgment sent {"connection_id":160379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:24:47] local.INFO: TCP Data received {"connection_id":160381,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:24:47] local.INFO: Processing buffer {"connection_id":160381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:24:47] local.INFO: IMEI packet received {"connection_id":160381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":160381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:24:51] local.INFO: TCP Data received {"connection_id":160381,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:24:52] local.INFO: Processing buffer {"connection_id":160381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:24:52] local.INFO: IMEI packet received {"connection_id":160381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":160381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:24:53] local.INFO: TCP Data received {"connection_id":160381,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:24:53] local.INFO: Processing buffer {"connection_id":160381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:24:53] local.INFO: Packet analysis {"connection_id":160381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:24:53] local.INFO: Extracted packet for processing {"connection_id":160381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:24:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588970496001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787457217000,"timestamp_ms":1787457217000,"timestamp_seconds":1787457217,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc0a1e8"} 
[2026-08-23 09:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:24:53] 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-08-23 09:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588970496001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588970496001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:24:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:24:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588970496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":160381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:24:53] local.INFO: GPS data processed {"connection_id":160381,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:24:53] local.INFO: Acknowledgment sent {"connection_id":160381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:25:06] local.INFO: TCP Data received {"connection_id":161550,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:25:06] local.INFO: Processing buffer {"connection_id":161550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:25:06] local.INFO: IMEI packet received {"connection_id":161550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":161550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:25:07] local.INFO: TCP Data received {"connection_id":160380,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbf59c8012d1967c0071feea80038011d28..."} 
[2026-08-23 09:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbf59c8012d1967c0071feea80038011d28..."} 
[2026-08-23 09:25:07] local.INFO: Processing buffer {"connection_id":160380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbf59c8012d1967c0071feea80038011d28..."} 
[2026-08-23 09:25:07] local.INFO: Packet analysis {"connection_id":160380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbf"} 
[2026-08-23 09:25:07] local.INFO: Extracted packet for processing {"connection_id":160380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbf"} 
[2026-08-23 09:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589020672001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787457133000,"timestamp_ms":1787457133000,"timestamp_seconds":1787457133,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbf59c8"} 
[2026-08-23 09:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:07] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3223673019262900583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:07] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:07] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80265448339275776,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832575,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3183452161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:25:07] local.WARNING: Large IO value detected {"io_id":109,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:07] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,22,160,181,45,192,238,56,41,10,66,99,42,17,1,240,255,227,44,31,4,113,205,109,103,168,239,48,2,54,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:25:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538807326507008,"timestamp_seconds":4035538807326507.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589020672001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589020672001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:25:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589020672001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":160380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:25:07] local.INFO: GPS data processed {"connection_id":160380,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:25:07] local.INFO: Acknowledgment sent {"connection_id":160380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:25:11] local.INFO: TCP Data received {"connection_id":161550,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:25:11] local.INFO: Processing buffer {"connection_id":161550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:25:11] local.INFO: IMEI packet received {"connection_id":161550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":161550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:25:12] local.INFO: TCP Data received {"connection_id":161550,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc19800012d7e12c005d3a8c00006012528..."} 
[2026-08-23 09:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc19800012d7e12c005d3a8c00006012528..."} 
[2026-08-23 09:25:12] local.INFO: Processing buffer {"connection_id":161550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc19800012d7e12c005d3a8c00006012528..."} 
[2026-08-23 09:25:12] local.INFO: Packet analysis {"connection_id":161550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc1"} 
[2026-08-23 09:25:12] local.INFO: Extracted packet for processing {"connection_id":161550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc1"} 
[2026-08-23 09:25:12] local.INFO: GPS Element Parsed {"raw_longitude":763237056,"raw_latitude":97757376,"longitude_deg":76.3237056,"latitude_deg":9.7757376,"altitude":6,"angle":293,"satellites":40,"speed":6,"hex_longitude":"2d7e12c0","hex_latitude":"05d3a8c0","is_valid_coordinates":true} 
[2026-08-23 09:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589063424001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122585758266556416,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084745635850653696,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787457280000,"timestamp_ms":1787457280000,"timestamp_seconds":1787457280,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc19800"} 
[2026-08-23 09:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-23 09:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589063424001,"66":12939,"109":206,"85":15104,"24":6,"16":122585758266556416,"45":9084745635850653696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589063424001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:25:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:25:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122585758266556416,"km_value":122585758266556.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084745635850653696,"description":"Unknown IO ID 45"} 
[2026-08-23 09:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589063424001,"power":12939,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9084745635850653696}} 
[2026-08-23 09:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":161550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:25:12] local.INFO: GPS data processed {"connection_id":161550,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:25:12] local.INFO: Acknowledgment sent {"connection_id":161550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:25:24] local.INFO: TCP Data received {"connection_id":160381,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:25:24] local.INFO: Processing buffer {"connection_id":160381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:25:24] local.INFO: Packet analysis {"connection_id":160381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:25:24] local.INFO: Extracted packet for processing {"connection_id":160381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:25:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588970496001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787457217000,"timestamp_ms":1787457217000,"timestamp_seconds":1787457217,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc0a1e8"} 
[2026-08-23 09:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:25: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-08-23 09:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:25:24] 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-08-23 09:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588970496001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588970496001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:25:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:25:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588970496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":160381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:25:24] local.INFO: GPS data processed {"connection_id":160381,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:25:24] local.INFO: Acknowledgment sent {"connection_id":160381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:25:35] local.INFO: TCP Data received {"connection_id":160596,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:25:35] local.INFO: Processing buffer {"connection_id":160596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:25:35] local.INFO: IMEI packet received {"connection_id":160596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":160596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:25:39] local.INFO: TCP Data received {"connection_id":160596,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:25:39] local.INFO: Processing buffer {"connection_id":160596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:25:39] local.INFO: IMEI packet received {"connection_id":160596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":160596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:25:39] local.INFO: TCP Data received {"connection_id":160596,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbfabd0012d1967c0071feea80038011d29..."} 
[2026-08-23 09:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbfabd0012d1967c0071feea80038011d29..."} 
[2026-08-23 09:25:39] local.INFO: Processing buffer {"connection_id":160596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbfabd0012d1967c0071feea80038011d29..."} 
[2026-08-23 09:25:39] local.INFO: Packet analysis {"connection_id":160596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbf"} 
[2026-08-23 09:25:39] local.INFO: Extracted packet for processing {"connection_id":160596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbf"} 
[2026-08-23 09:25:39] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589026048001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787457154000,"timestamp_ms":1787457154000,"timestamp_seconds":1787457154,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbfabd0"} 
[2026-08-23 09:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:39] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:39] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3223763213576116583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:39] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:39] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80265448339275776,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832575,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3188828161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:39] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:25:39] local.WARNING: Large IO value detected {"io_id":191,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:39] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:39] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,22,160,7,45,192,238,56,42,10,66,181,41,99,1,240,227,44,31,4,113,205,191,103,168,239,48,2,54],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:25:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538798736572416,"timestamp_seconds":4035538798736572.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589026048001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589026048001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:25:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:25:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589026048001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":160596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:25:40] local.INFO: GPS data processed {"connection_id":160596,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:25:40] local.INFO: Acknowledgment sent {"connection_id":160596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:25:40] local.INFO: TCP Data received {"connection_id":160596,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cbffdd8012d1967c0071feea80038011d28..."} 
[2026-08-23 09:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cbffdd8012d1967c0071feea80038011d28..."} 
[2026-08-23 09:25:40] local.INFO: Processing buffer {"connection_id":160596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cbffdd8012d1967c0071feea80038011d28..."} 
[2026-08-23 09:25:40] local.INFO: Packet analysis {"connection_id":160596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cbf"} 
[2026-08-23 09:25:40] local.INFO: Extracted packet for processing {"connection_id":160596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cbf"} 
[2026-08-23 09:25:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589031424001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787457175000,"timestamp_ms":1787457175000,"timestamp_seconds":1787457175,"priority":1,"record_length":96,"hex_timestamp":"000001a02cbffdd8"} 
[2026-08-23 09:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 09:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589031424001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589031424001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:25:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:25:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589031424001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":160596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:25:40] local.INFO: GPS data processed {"connection_id":160596,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:25:40] local.INFO: Acknowledgment sent {"connection_id":160596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:25:43] local.INFO: TCP Data received {"connection_id":161550,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc19be8012d7e124005d3a9380006014928..."} 
[2026-08-23 09:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc19be8012d7e124005d3a9380006014928..."} 
[2026-08-23 09:25:43] local.INFO: Processing buffer {"connection_id":161550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc19be8012d7e124005d3a9380006014928..."} 
[2026-08-23 09:25:43] local.INFO: Packet analysis {"connection_id":161550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc1"} 
[2026-08-23 09:25:43] local.INFO: Extracted packet for processing {"connection_id":161550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc1"} 
[2026-08-23 09:25:43] local.INFO: GPS Element Parsed {"raw_longitude":763236928,"raw_latitude":97757496,"longitude_deg":76.3236928,"latitude_deg":9.7757496,"altitude":6,"angle":329,"satellites":40,"speed":6,"hex_longitude":"2d7e1240","hex_latitude":"05d3a938","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589063680001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122585771151458304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084534529618132992,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787457281000,"timestamp_ms":1787457281000,"timestamp_seconds":1787457281,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc19be8"} 
[2026-08-23 09:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-23 09:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589063680001,"66":12939,"109":206,"85":15104,"24":6,"16":122585771151458304,"45":9084534529618132992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589063680001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:25:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:25:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122585771151458304,"km_value":122585771151458.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084534529618132992,"description":"Unknown IO ID 45"} 
[2026-08-23 09:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589063680001,"power":12939,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9084534529618132992}} 
[2026-08-23 09:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":161550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:25:43] local.INFO: GPS data processed {"connection_id":161550,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:25:43] local.INFO: Acknowledgment sent {"connection_id":161550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:25:46] local.INFO: TCP Data received {"connection_id":160597,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:25:46] local.INFO: Processing buffer {"connection_id":160597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:25:46] local.INFO: IMEI packet received {"connection_id":160597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":160597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:25:51] local.INFO: TCP Data received {"connection_id":160597,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:25:51] local.INFO: Processing buffer {"connection_id":160597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:25:51] local.INFO: IMEI packet received {"connection_id":160597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":160597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:25:52] local.INFO: TCP Data received {"connection_id":160597,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:25:52] local.INFO: Processing buffer {"connection_id":160597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:25:52] local.INFO: Packet analysis {"connection_id":160597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:25:52] local.INFO: Extracted packet for processing {"connection_id":160597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588970496001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787457217000,"timestamp_ms":1787457217000,"timestamp_seconds":1787457217,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc0a1e8"} 
[2026-08-23 09:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:25: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-08-23 09:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:25:52] 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-08-23 09:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588970496001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588970496001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:25:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588970496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":160597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:25:52] local.INFO: GPS data processed {"connection_id":160597,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:25:52] local.INFO: Acknowledgment sent {"connection_id":160597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:26:07] local.INFO: TCP Data received {"connection_id":161551,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161551,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:26:07] local.INFO: Processing buffer {"connection_id":161551,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:26:07] local.INFO: IMEI packet received {"connection_id":161551,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":161551,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:26:11] local.INFO: TCP Data received {"connection_id":160596,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc04fe0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc04fe0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:26:11] local.INFO: Processing buffer {"connection_id":160596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc04fe0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:26:11] local.INFO: Packet analysis {"connection_id":160596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:26:11] local.INFO: Extracted packet for processing {"connection_id":160596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:26:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589036800001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787457196000,"timestamp_ms":1787457196000,"timestamp_seconds":1787457196,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc04fe0"} 
[2026-08-23 09:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:11] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:11] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3223943602202548583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:11] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:11] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80266547850903552,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832576,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3199580161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:26:11] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:11] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:11] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,22,160,171,45,192,238,56,41,10,66,89,40,7,1,240,227,44,31,4,113,205,99,103,168,42,239,48,2,54],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:26:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538798736572416,"timestamp_seconds":4035538798736572.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589036800001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589036800001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:26:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:26:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589036800001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:26:11] local.INFO: TCP Data received {"connection_id":161551,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161551,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:26:11] local.INFO: Processing buffer {"connection_id":161551,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:26:11] local.INFO: IMEI packet received {"connection_id":161551,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":161551,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":160596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:26:12] local.INFO: GPS data processed {"connection_id":160596,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:26:12] local.INFO: Acknowledgment sent {"connection_id":160596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:26:12] local.INFO: TCP Data received {"connection_id":161551,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc19fd0012d7e120005d3a9c00006016528..."} 
[2026-08-23 09:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc19fd0012d7e120005d3a9c00006016528..."} 
[2026-08-23 09:26:12] local.INFO: Processing buffer {"connection_id":161551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc19fd0012d7e120005d3a9c00006016528..."} 
[2026-08-23 09:26:12] local.INFO: Packet analysis {"connection_id":161551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc1"} 
[2026-08-23 09:26:12] local.INFO: Extracted packet for processing {"connection_id":161551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc1"} 
[2026-08-23 09:26:12] local.INFO: GPS Element Parsed {"raw_longitude":763236864,"raw_latitude":97757632,"longitude_deg":76.3236864,"latitude_deg":9.7757632,"altitude":6,"angle":357,"satellites":40,"speed":6,"hex_longitude":"2d7e1200","hex_latitude":"05d3a9c0","is_valid_coordinates":true} 
[2026-08-23 09:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589063936001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122585775446425600,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084393792129808384,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787457282000,"timestamp_ms":1787457282000,"timestamp_seconds":1787457282,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc19fd0"} 
[2026-08-23 09:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-23 09:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589063936001,"66":12939,"109":206,"85":15104,"24":6,"16":122585775446425600,"45":9084393792129808384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589063936001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:26:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:26:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122585775446425600,"km_value":122585775446425.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084393792129808384,"description":"Unknown IO ID 45"} 
[2026-08-23 09:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589063936001,"power":12939,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9084393792129808384}} 
[2026-08-23 09:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":161551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:26:12] local.INFO: GPS data processed {"connection_id":161551,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:26:12] local.INFO: Acknowledgment sent {"connection_id":161551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:26:24] local.INFO: TCP Data received {"connection_id":160597,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:26:24] local.INFO: Processing buffer {"connection_id":160597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:26:24] local.INFO: Packet analysis {"connection_id":160597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:26:24] local.INFO: Extracted packet for processing {"connection_id":160597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:26:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588970496001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787457217000,"timestamp_ms":1787457217000,"timestamp_seconds":1787457217,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc0a1e8"} 
[2026-08-23 09:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09: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-08-23 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:26:24] 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-08-23 09: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-08-23 09:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588970496001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588970496001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:26:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:26:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588970496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":160597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:26:24] local.INFO: GPS data processed {"connection_id":160597,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:26:24] local.INFO: Acknowledgment sent {"connection_id":160597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:26:30] local.INFO: TCP Data received {"connection_id":160382,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:26:30] local.INFO: Processing buffer {"connection_id":160382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:26:30] local.INFO: IMEI packet received {"connection_id":160382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":160382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:26:35] local.INFO: TCP Data received {"connection_id":160382,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:26:35] local.INFO: Processing buffer {"connection_id":160382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:26:35] local.INFO: IMEI packet received {"connection_id":160382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":160382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:26:36] local.INFO: TCP Data received {"connection_id":160382,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc0a1e8012d1967c0071feea80038011d28..."} 
[2026-08-23 09:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc0a1e8012d1967c0071feea80038011d28..."} 
[2026-08-23 09:26:36] local.INFO: Processing buffer {"connection_id":160382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc0a1e8012d1967c0071feea80038011d28..."} 
[2026-08-23 09:26:36] local.INFO: Packet analysis {"connection_id":160382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:26:36] local.INFO: Extracted packet for processing {"connection_id":160382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:26:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589042176001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787457217000,"timestamp_ms":1787457217000,"timestamp_seconds":1787457217,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc0a1e8"} 
[2026-08-23 09:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 09:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589042176001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589042176001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:26:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:26:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589042176001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":160382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:26:36] local.INFO: GPS data processed {"connection_id":160382,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:26:36] local.INFO: Acknowledgment sent {"connection_id":160382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:26:45] local.INFO: TCP Data received {"connection_id":161551,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc1e620012d7e12c005d3b5200006004628..."} 
[2026-08-23 09:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc1e620012d7e12c005d3b5200006004628..."} 
[2026-08-23 09:26:45] local.INFO: Processing buffer {"connection_id":161551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc1e620012d7e12c005d3b5200006004628..."} 
[2026-08-23 09:26:45] local.INFO: Packet analysis {"connection_id":161551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc1"} 
[2026-08-23 09:26:45] local.INFO: Extracted packet for processing {"connection_id":161551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc1"} 
[2026-08-23 09:26:45] local.INFO: GPS Element Parsed {"raw_longitude":763237056,"raw_latitude":97760544,"longitude_deg":76.3237056,"latitude_deg":9.7760544,"altitude":6,"angle":70,"satellites":40,"speed":5,"hex_longitude":"2d7e12c0","hex_latitude":"05d3b520","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589064192001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122585925770280960,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084323423385665536,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787457300000,"timestamp_ms":1787457300000,"timestamp_seconds":1787457300,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc1e620"} 
[2026-08-23 09:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-23 09:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589064192001,"66":13341,"109":206,"85":15104,"24":5,"16":122585925770280960,"45":9084323423385665536},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589064192001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:26:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:26:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122585925770280960,"km_value":122585925770280.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084323423385665536,"description":"Unknown IO ID 45"} 
[2026-08-23 09:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589064192001,"power":13341,"unknown_109":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9084323423385665536}} 
[2026-08-23 09:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":161551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:26:45] local.INFO: GPS data processed {"connection_id":161551,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:26:45] local.INFO: Acknowledgment sent {"connection_id":161551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:26:46] local.INFO: TCP Data received {"connection_id":162971,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:26:46] local.INFO: Processing buffer {"connection_id":162971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:26:46] local.INFO: IMEI packet received {"connection_id":162971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":162971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:26:52] local.INFO: TCP Data received {"connection_id":162971,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:26:52] local.INFO: Processing buffer {"connection_id":162971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:26:52] local.INFO: IMEI packet received {"connection_id":162971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":162971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:26:53] local.INFO: TCP Data received {"connection_id":162971,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:26:53] local.INFO: Processing buffer {"connection_id":162971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:26:53] local.INFO: Packet analysis {"connection_id":162971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:26:53] local.INFO: Extracted packet for processing {"connection_id":162971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588970496001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787457217000,"timestamp_ms":1787457217000,"timestamp_seconds":1787457217,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc0a1e8"} 
[2026-08-23 09:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:26:53] 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-08-23 09:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:26:53] 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-08-23 09:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588970496001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588970496001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:26:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588970496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":162971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:26:53] local.INFO: GPS data processed {"connection_id":162971,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:26:53] local.INFO: Acknowledgment sent {"connection_id":162971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:27:06] local.INFO: TCP Data received {"connection_id":161552,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:27:06] local.INFO: Processing buffer {"connection_id":161552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:27:06] local.INFO: IMEI packet received {"connection_id":161552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":161552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:27:07] local.INFO: TCP Data received {"connection_id":161552,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:27:07] local.INFO: Processing buffer {"connection_id":161552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:27:07] local.INFO: IMEI packet received {"connection_id":161552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":161552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:27:07] local.INFO: TCP Data received {"connection_id":160382,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc0f3f0012d1967c0071feea80038011d29..."} 
[2026-08-23 09:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc0f3f0012d1967c0071feea80038011d29..."} 
[2026-08-23 09:27:07] local.INFO: Processing buffer {"connection_id":160382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc0f3f0012d1967c0071feea80038011d29..."} 
[2026-08-23 09:27:07] local.INFO: Packet analysis {"connection_id":160382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:27:07] local.INFO: Extracted packet for processing {"connection_id":160382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:27:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589047552001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787457238000,"timestamp_ms":1787457238000,"timestamp_seconds":1787457238,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc0f3f0"} 
[2026-08-23 09:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 09:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589047552001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589047552001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:27:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:27:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589047552001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":160382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:27:07] local.INFO: GPS data processed {"connection_id":160382,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:27:07] local.INFO: Acknowledgment sent {"connection_id":160382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:27:11] local.INFO: TCP Data received {"connection_id":161552,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:27:11] local.INFO: Processing buffer {"connection_id":161552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:27:11] local.INFO: IMEI packet received {"connection_id":161552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":161552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:27:12] local.INFO: TCP Data received {"connection_id":161552,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc23440012d7e15c005d3bc300005004428..."} 
[2026-08-23 09:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc23440012d7e15c005d3bc300005004428..."} 
[2026-08-23 09:27:12] local.INFO: Processing buffer {"connection_id":161552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc23440012d7e15c005d3bc300005004428..."} 
[2026-08-23 09:27:12] local.INFO: Packet analysis {"connection_id":161552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc2"} 
[2026-08-23 09:27:12] local.INFO: Extracted packet for processing {"connection_id":161552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc2"} 
[2026-08-23 09:27:12] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97762352,"longitude_deg":76.3237824,"latitude_deg":9.7762352,"altitude":5,"angle":68,"satellites":40,"speed":5,"hex_longitude":"2d7e15c0","hex_latitude":"05d3bc30","is_valid_coordinates":true} 
[2026-08-23 09:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589068800001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586041734397952,"note":"Value kept but may cause issues"} 
[2026-08-23 09:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084534529618944000,"note":"Value kept but may cause issues"} 
[2026-08-23 09:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787457320000,"timestamp_ms":1787457320000,"timestamp_seconds":1787457320,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc23440"} 
[2026-08-23 09:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-23 09:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589068800001,"66":13526,"109":206,"85":15104,"24":5,"16":122586041734397952,"45":9084534529618944000},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589068800001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:27:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586041734397952,"km_value":122586041734397.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084534529618944000,"description":"Unknown IO ID 45"} 
[2026-08-23 09:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589068800001,"power":13526,"unknown_109":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9084534529618944000}} 
[2026-08-23 09:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":161552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:27:12] local.INFO: GPS data processed {"connection_id":161552,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:27:12] local.INFO: Acknowledgment sent {"connection_id":161552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:27:24] local.INFO: TCP Data received {"connection_id":162971,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:27:24] local.INFO: Processing buffer {"connection_id":162971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:27:24] local.INFO: Packet analysis {"connection_id":162971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:27:24] local.INFO: Extracted packet for processing {"connection_id":162971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:27:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588970496001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787457217000,"timestamp_ms":1787457217000,"timestamp_seconds":1787457217,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc0a1e8"} 
[2026-08-23 09:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:27: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-08-23 09:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:27:24] 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-08-23 09:27:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:27: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-08-23 09:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588970496001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588970496001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:27:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:27:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588970496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":162971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:27:24] local.INFO: GPS data processed {"connection_id":162971,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:27:24] local.INFO: Acknowledgment sent {"connection_id":162971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:27:30] local.INFO: TCP Data received {"connection_id":161553,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:27:30] local.INFO: Processing buffer {"connection_id":161553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:27:30] local.INFO: IMEI packet received {"connection_id":161553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":161553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:27:35] local.INFO: TCP Data received {"connection_id":161553,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:27:35] local.INFO: Processing buffer {"connection_id":161553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:27:35] local.INFO: IMEI packet received {"connection_id":161553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":161553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:27:36] local.INFO: TCP Data received {"connection_id":161553,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc145f8012d1967c0071feea80038011d28..."} 
[2026-08-23 09:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc145f8012d1967c0071feea80038011d28..."} 
[2026-08-23 09:27:36] local.INFO: Processing buffer {"connection_id":161553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc145f8012d1967c0071feea80038011d28..."} 
[2026-08-23 09:27:36] local.INFO: Packet analysis {"connection_id":161553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc1"} 
[2026-08-23 09:27:36] local.INFO: Extracted packet for processing {"connection_id":161553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc1"} 
[2026-08-23 09:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589052928001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787457259000,"timestamp_ms":1787457259000,"timestamp_seconds":1787457259,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc145f8"} 
[2026-08-23 09:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:27:36] 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-08-23 09:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589052928001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589052928001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:27:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:27:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589052928001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":161553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:27:36] local.INFO: GPS data processed {"connection_id":161553,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:27:36] local.INFO: Acknowledgment sent {"connection_id":161553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:27:44] local.INFO: TCP Data received {"connection_id":161552,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc28648012d7e158005d3bee00005004429..."} 
[2026-08-23 09:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc28648012d7e158005d3bee00005004429..."} 
[2026-08-23 09:27:44] local.INFO: Processing buffer {"connection_id":161552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc28648012d7e158005d3bee00005004429..."} 
[2026-08-23 09:27:44] local.INFO: Packet analysis {"connection_id":161552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc2"} 
[2026-08-23 09:27:44] local.INFO: Extracted packet for processing {"connection_id":161552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc2"} 
[2026-08-23 09:27:44] local.INFO: GPS Element Parsed {"raw_longitude":763237760,"raw_latitude":97763040,"longitude_deg":76.323776,"latitude_deg":9.776304,"altitude":5,"angle":68,"satellites":41,"speed":0,"hex_longitude":"2d7e1580","hex_latitude":"05d3bee0","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589073920001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586076094136320,"note":"Value kept but may cause issues"} 
[2026-08-23 09:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549538816,"note":"Value kept but may cause issues"} 
[2026-08-23 09:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787457341000,"timestamp_ms":1787457341000,"timestamp_seconds":1787457341,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc28648"} 
[2026-08-23 09:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-23 09:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589073920001,"66":13015,"109":206,"85":15104,"24":0,"16":122586076094136320,"45":9085378954549538816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589073920001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:27:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:27:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586076094136320,"km_value":122586076094136.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549538816,"description":"Unknown IO ID 45"} 
[2026-08-23 09:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589073920001,"power":13015,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085378954549538816}} 
[2026-08-23 09:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":161552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:27:44] local.INFO: GPS data processed {"connection_id":161552,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:27:44] local.INFO: Acknowledgment sent {"connection_id":161552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:27:52] local.INFO: TCP Data received {"connection_id":160383,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:27:52] local.INFO: Processing buffer {"connection_id":160383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:27:52] local.INFO: IMEI packet received {"connection_id":160383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":160383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:27:56] local.INFO: TCP Data received {"connection_id":160383,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:27:57] local.INFO: Processing buffer {"connection_id":160383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:27:57] local.INFO: IMEI packet received {"connection_id":160383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":160383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:27:58] local.INFO: TCP Data received {"connection_id":160383,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:27:58] local.INFO: Processing buffer {"connection_id":160383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:27:58] local.INFO: Packet analysis {"connection_id":160383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:27:58] local.INFO: Extracted packet for processing {"connection_id":160383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:27:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588970496001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787457217000,"timestamp_ms":1787457217000,"timestamp_seconds":1787457217,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc0a1e8"} 
[2026-08-23 09:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588970496001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588970496001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:27:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:27:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588970496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":160383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:27:58] local.INFO: GPS data processed {"connection_id":160383,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:27:58] local.INFO: Acknowledgment sent {"connection_id":160383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:28:02] local.INFO: TCP Data received {"connection_id":160383,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:28:02] local.INFO: Processing buffer {"connection_id":160383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:28:02] local.INFO: Packet analysis {"connection_id":160383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:28:02] local.INFO: Extracted packet for processing {"connection_id":160383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:28:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588970496001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787457217000,"timestamp_ms":1787457217000,"timestamp_seconds":1787457217,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc0a1e8"} 
[2026-08-23 09:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:28:02] 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-08-23 09:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:28:02] 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-08-23 09:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588970496001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588970496001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:28:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:28:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588970496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":160383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:28:02] local.INFO: GPS data processed {"connection_id":160383,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:28:02] local.INFO: Acknowledgment sent {"connection_id":160383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:28:06] local.INFO: TCP Data received {"connection_id":160384,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:28:06] local.INFO: Processing buffer {"connection_id":160384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:28:06] local.INFO: IMEI packet received {"connection_id":160384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":160384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:28:07] local.INFO: TCP Data received {"connection_id":161553,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc19800012d1967c0071feea80038011d26..."} 
[2026-08-23 09:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc19800012d1967c0071feea80038011d26..."} 
[2026-08-23 09:28:07] local.INFO: Processing buffer {"connection_id":161553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc19800012d1967c0071feea80038011d26..."} 
[2026-08-23 09:28:07] local.INFO: Packet analysis {"connection_id":161553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc1"} 
[2026-08-23 09:28:07] local.INFO: Extracted packet for processing {"connection_id":161553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc1"} 
[2026-08-23 09:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589058304001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787457280000,"timestamp_ms":1787457280000,"timestamp_seconds":1787457280,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc19800"} 
[2026-08-23 09:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 09:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589058304001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589058304001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:28:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:28:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589058304001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":161553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:28:07] local.INFO: GPS data processed {"connection_id":161553,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:28:07] local.INFO: Acknowledgment sent {"connection_id":161553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:28:07] local.INFO: TCP Data received {"connection_id":160384,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:28:07] local.INFO: Processing buffer {"connection_id":160384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:28:07] local.INFO: IMEI packet received {"connection_id":160384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":160384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:28:09] local.INFO: TCP Data received {"connection_id":160384,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:28:09] local.INFO: Processing buffer {"connection_id":160384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:28:09] local.INFO: IMEI packet received {"connection_id":160384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":160384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:28:12] local.INFO: TCP Data received {"connection_id":160384,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:28:12] local.INFO: Processing buffer {"connection_id":160384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:28:12] local.INFO: IMEI packet received {"connection_id":160384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":160384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:28:13] local.INFO: TCP Data received {"connection_id":160384,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc2d850012d7e154005d3c0a00005004429..."} 
[2026-08-23 09:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc2d850012d7e154005d3c0a00005004429..."} 
[2026-08-23 09:28:13] local.INFO: Processing buffer {"connection_id":160384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc2d850012d7e154005d3c0a00005004429..."} 
[2026-08-23 09:28:13] local.INFO: Packet analysis {"connection_id":160384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc2"} 
[2026-08-23 09:28:13] local.INFO: Extracted packet for processing {"connection_id":160384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc2"} 
[2026-08-23 09:28:13] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763488,"longitude_deg":76.3237696,"latitude_deg":9.7763488,"altitude":5,"angle":68,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3c0a0","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589079296001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586097568972800,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085308585805537280,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787457362000,"timestamp_ms":1787457362000,"timestamp_seconds":1787457362,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc2d850"} 
[2026-08-23 09:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 09:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589079296001,"66":13178,"81":206,"85":15104,"24":0,"16":122586097568972800,"45":9085308585805537280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 09:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589079296001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:28:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 09:28:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586097568972800,"km_value":122586097568972.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085308585805537280,"description":"Unknown IO ID 45"} 
[2026-08-23 09:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589079296001,"power":13178,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085308585805537280}} 
[2026-08-23 09:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":160384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:28:13] local.INFO: GPS data processed {"connection_id":160384,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:28:13] local.INFO: Acknowledgment sent {"connection_id":160384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:28:30] local.INFO: TCP Data received {"connection_id":160598,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:28:30] local.INFO: Processing buffer {"connection_id":160598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:28:30] local.INFO: IMEI packet received {"connection_id":160598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":160598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:28:35] local.INFO: TCP Data received {"connection_id":160598,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:28:35] local.INFO: Processing buffer {"connection_id":160598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:28:35] local.INFO: IMEI packet received {"connection_id":160598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":160598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:28:36] local.INFO: TCP Data received {"connection_id":160598,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc1ea08012d1967c0071feea80038011d29..."} 
[2026-08-23 09:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc1ea08012d1967c0071feea80038011d29..."} 
[2026-08-23 09:28:36] local.INFO: Processing buffer {"connection_id":160598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc1ea08012d1967c0071feea80038011d29..."} 
[2026-08-23 09:28:36] local.INFO: Packet analysis {"connection_id":160598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc1"} 
[2026-08-23 09:28:36] local.INFO: Extracted packet for processing {"connection_id":160598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc1"} 
[2026-08-23 09:28:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589063680001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787457301000,"timestamp_ms":1787457301000,"timestamp_seconds":1787457301,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc1ea08"} 
[2026-08-23 09:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:36] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3224394573768628583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:36] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80265448339275776,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832576,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3226460161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:28:36] local.WARNING: Large IO value detected {"io_id":253,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:36] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,22,160,69,45,192,238,56,40,10,66,243,41,161,1,240,31,227,44,4,113,205,253,103,168,239,48,2,54,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:28:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538790146637824,"timestamp_seconds":4035538790146638.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589063680001,"66":12004,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589063680001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:28:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:28:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589063680001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":160598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:28:36] local.INFO: GPS data processed {"connection_id":160598,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:28:36] local.INFO: Acknowledgment sent {"connection_id":160598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:28:44] local.INFO: TCP Data received {"connection_id":160384,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc32a58012d7e154005d3c0a00005004429..."} 
[2026-08-23 09:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc32a58012d7e154005d3c0a00005004429..."} 
[2026-08-23 09:28:44] local.INFO: Processing buffer {"connection_id":160384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc32a58012d7e154005d3c0a00005004429..."} 
[2026-08-23 09:28:44] local.INFO: Packet analysis {"connection_id":160384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc3"} 
[2026-08-23 09:28:44] local.INFO: Extracted packet for processing {"connection_id":160384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc3"} 
[2026-08-23 09:28:44] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763488,"longitude_deg":76.3237696,"latitude_deg":9.7763488,"altitude":5,"angle":68,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3c0a0","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589084672001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586097568972800,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061474304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:44] 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-08-23 09:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787457383000,"timestamp_ms":1787457383000,"timestamp_seconds":1787457383,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc32a58"} 
[2026-08-23 09:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-23 09:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589084672001,"66":13319,"81":206,"85":15104,"24":0,"16":122586097568972800,"45":9085238217061474304},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 09:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589084672001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:28:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 09:28:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586097568972800,"km_value":122586097568972.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061474304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589084672001,"power":13319,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061474304}} 
[2026-08-23 09:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":160384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:28:44] local.INFO: GPS data processed {"connection_id":160384,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:28:44] local.INFO: Acknowledgment sent {"connection_id":160384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:28:47] local.INFO: TCP Data received {"connection_id":161554,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:28:47] local.INFO: Processing buffer {"connection_id":161554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:28:47] local.INFO: IMEI packet received {"connection_id":161554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":161554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:28:52] local.INFO: TCP Data received {"connection_id":161554,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:28:52] local.INFO: Processing buffer {"connection_id":161554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:28:52] local.INFO: IMEI packet received {"connection_id":161554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":161554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:28:52] local.INFO: TCP Data received {"connection_id":161554,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:28:52] local.INFO: Processing buffer {"connection_id":161554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:28:52] local.INFO: Packet analysis {"connection_id":161554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:28:52] local.INFO: Extracted packet for processing {"connection_id":161554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:28:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:28: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-08-23 09:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588970496001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787457217000,"timestamp_ms":1787457217000,"timestamp_seconds":1787457217,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc0a1e8"} 
[2026-08-23 09:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:28: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-08-23 09:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:28:52] 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-08-23 09:28: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-08-23 09:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:28:52] 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-08-23 09:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588970496001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588970496001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:28:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:28:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588970496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":161554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:28:52] local.INFO: GPS data processed {"connection_id":161554,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:28:52] local.INFO: Acknowledgment sent {"connection_id":161554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:28:57] local.INFO: TCP Data received {"connection_id":161554,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:28:57] local.INFO: Processing buffer {"connection_id":161554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc0a1e8012d34c50006aa40980013008523..."} 
[2026-08-23 09:28:57] local.INFO: Packet analysis {"connection_id":161554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:28:57] local.INFO: Extracted packet for processing {"connection_id":161554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc0"} 
[2026-08-23 09:28:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457588970496001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787457217000,"timestamp_ms":1787457217000,"timestamp_seconds":1787457217,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc0a1e8"} 
[2026-08-23 09:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:28:57] 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-08-23 09:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457588970496001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457588970496001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:28:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:28:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457588970496001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":161554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:28:57] local.INFO: GPS data processed {"connection_id":161554,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:28:57] local.INFO: Acknowledgment sent {"connection_id":161554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:29:07] local.INFO: TCP Data received {"connection_id":160598,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc23c10012d1967c0071feea80038011d27..."} 
[2026-08-23 09:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc23c10012d1967c0071feea80038011d27..."} 
[2026-08-23 09:29:07] local.INFO: Processing buffer {"connection_id":160598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc23c10012d1967c0071feea80038011d27..."} 
[2026-08-23 09:29:07] local.INFO: Packet analysis {"connection_id":160598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc2"} 
[2026-08-23 09:29:07] local.INFO: Extracted packet for processing {"connection_id":160598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc2"} 
[2026-08-23 09:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589069056001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787457322000,"timestamp_ms":1787457322000,"timestamp_seconds":1787457322,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc23c10"} 
[2026-08-23 09:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-23 09:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589069056001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589069056001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:29:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:29:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589069056001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":160598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:29:07] local.INFO: GPS data processed {"connection_id":160598,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:29:07] local.INFO: Acknowledgment sent {"connection_id":160598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:29:11] local.INFO: TCP Data received {"connection_id":162972,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:29:11] local.INFO: Processing buffer {"connection_id":162972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:29:11] local.INFO: IMEI packet received {"connection_id":162972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":162972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:29:14] local.INFO: TCP Data received {"connection_id":162972,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:29:14] local.INFO: Processing buffer {"connection_id":162972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:29:14] local.INFO: IMEI packet received {"connection_id":162972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":162972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:29:14] local.INFO: TCP Data received {"connection_id":162972,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc51a70012d7e168005d3bf080007006c26..."} 
[2026-08-23 09:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc51a70012d7e168005d3bf080007006c26..."} 
[2026-08-23 09:29:14] local.INFO: Processing buffer {"connection_id":162972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc51a70012d7e168005d3bf080007006c26..."} 
[2026-08-23 09:29:14] local.INFO: Packet analysis {"connection_id":162972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:29:14] local.INFO: Extracted packet for processing {"connection_id":162972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:29:14] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763080,"longitude_deg":76.3238016,"latitude_deg":9.776308,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3bf08","is_valid_coordinates":true} 
[2026-08-23 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-08-23 09:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589117440001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782260224,"note":"Value kept but may cause issues"} 
[2026-08-23 09:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787457510000,"timestamp_ms":1787457510000,"timestamp_seconds":1787457510,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc51a70"} 
[2026-08-23 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-08-23 09:29:14] 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-08-23 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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 09:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 09:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589117440001,"66":13428,"110":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782260224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 09:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589117440001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:29:14] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 09:29:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782260224,"description":"Unknown IO ID 45"} 
[2026-08-23 09:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589117440001,"power":13428,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782260224}} 
[2026-08-23 09:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":162972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:29:14] local.INFO: GPS data processed {"connection_id":162972,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:29:14] local.INFO: Acknowledgment sent {"connection_id":162972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:29:29] local.INFO: TCP Data received {"connection_id":161554,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:29:29] local.INFO: Processing buffer {"connection_id":161554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:29:29] local.INFO: Packet analysis {"connection_id":161554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:29:29] local.INFO: Extracted packet for processing {"connection_id":161554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:29:29] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589047552001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787457518000,"timestamp_ms":1787457518000,"timestamp_seconds":1787457518,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc539b0"} 
[2026-08-23 09:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589047552001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589047552001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:29:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:29:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589047552001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":161554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:29:29] local.INFO: GPS data processed {"connection_id":161554,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:29:29] local.INFO: Acknowledgment sent {"connection_id":161554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:29:30] local.INFO: TCP Data received {"connection_id":160385,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:29:30] local.INFO: Processing buffer {"connection_id":160385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:29:30] local.INFO: IMEI packet received {"connection_id":160385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":160385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:29:30] local.INFO: TCP Data received {"connection_id":160385,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:29:30] local.INFO: Processing buffer {"connection_id":160385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:29:30] local.INFO: IMEI packet received {"connection_id":160385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":160385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:29:35] local.INFO: TCP Data received {"connection_id":160385,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:29:35] local.INFO: Processing buffer {"connection_id":160385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:29:35] local.INFO: IMEI packet received {"connection_id":160385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":160385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:29:36] local.INFO: TCP Data received {"connection_id":160385,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc28e18012d1967c0071feea80038011d27..."} 
[2026-08-23 09:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc28e18012d1967c0071feea80038011d27..."} 
[2026-08-23 09:29:36] local.INFO: Processing buffer {"connection_id":160385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc28e18012d1967c0071feea80038011d27..."} 
[2026-08-23 09:29:36] local.INFO: Packet analysis {"connection_id":160385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc2"} 
[2026-08-23 09:29:36] local.INFO: Extracted packet for processing {"connection_id":160385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc2"} 
[2026-08-23 09:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589074432001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787457343000,"timestamp_ms":1787457343000,"timestamp_seconds":1787457343,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc28e18"} 
[2026-08-23 09:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 09:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589074432001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589074432001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:29:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589074432001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":160385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:29:36] local.INFO: GPS data processed {"connection_id":160385,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:29:36] local.INFO: Acknowledgment sent {"connection_id":160385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:29:45] local.INFO: TCP Data received {"connection_id":162972,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc56c78012d7e168005d3bf080007006c27..."} 
[2026-08-23 09:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc56c78012d7e168005d3bf080007006c27..."} 
[2026-08-23 09:29:45] local.INFO: Processing buffer {"connection_id":162972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc56c78012d7e168005d3bf080007006c27..."} 
[2026-08-23 09:29:45] local.INFO: Packet analysis {"connection_id":162972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:29:45] local.INFO: Extracted packet for processing {"connection_id":162972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:29:45] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763080,"longitude_deg":76.3238016,"latitude_deg":9.776308,"altitude":7,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3bf08","is_valid_coordinates":true} 
[2026-08-23 09:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589122560001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787457531000,"timestamp_ms":1787457531000,"timestamp_seconds":1787457531,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc56c78"} 
[2026-08-23 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-08-23 09:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-23 09:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 09:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589122560001,"66":12374,"110":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 09:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589122560001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:29:45] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 09:29:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589122560001,"power":12374,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":162972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:29:46] local.INFO: GPS data processed {"connection_id":162972,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:29:46] local.INFO: Acknowledgment sent {"connection_id":162972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:29:47] local.INFO: TCP Data received {"connection_id":160599,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:29:47] local.INFO: Processing buffer {"connection_id":160599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:29:47] local.INFO: IMEI packet received {"connection_id":160599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":160599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:29:52] local.INFO: TCP Data received {"connection_id":160599,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:29:52] local.INFO: Processing buffer {"connection_id":160599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:29:52] local.INFO: IMEI packet received {"connection_id":160599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":160599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:29:52] local.INFO: TCP Data received {"connection_id":160599,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:29:52] local.INFO: Processing buffer {"connection_id":160599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:29:52] local.INFO: Packet analysis {"connection_id":160599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:29:52] local.INFO: Extracted packet for processing {"connection_id":160599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589047552001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787457518000,"timestamp_ms":1787457518000,"timestamp_seconds":1787457518,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc539b0"} 
[2026-08-23 09:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:29: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-08-23 09:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:29:52] 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-08-23 09:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:29: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-08-23 09:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589047552001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589047552001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:29:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:29:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589047552001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":160599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:29:52] local.INFO: GPS data processed {"connection_id":160599,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:29:52] local.INFO: Acknowledgment sent {"connection_id":160599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:30:06] local.INFO: TCP Data received {"connection_id":162973,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:30:06] local.INFO: Processing buffer {"connection_id":162973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:30:06] local.INFO: IMEI packet received {"connection_id":162973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":162973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:30:07] local.INFO: TCP Data received {"connection_id":160385,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc2e020012d1967c0071feea80038011d27..."} 
[2026-08-23 09:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc2e020012d1967c0071feea80038011d27..."} 
[2026-08-23 09:30:07] local.INFO: Processing buffer {"connection_id":160385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc2e020012d1967c0071feea80038011d27..."} 
[2026-08-23 09:30:07] local.INFO: Packet analysis {"connection_id":160385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc2"} 
[2026-08-23 09:30:07] local.INFO: Extracted packet for processing {"connection_id":160385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc2"} 
[2026-08-23 09:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589079808001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787457364000,"timestamp_ms":1787457364000,"timestamp_seconds":1787457364,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc2e020"} 
[2026-08-23 09:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:07] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3224665156708276583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:07] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:07] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80264348827648000,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832576,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3242588161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:30:07] local.WARNING: Large IO value detected {"io_id":243,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:07] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,22,160,60,45,192,238,56,39,10,66,234,41,152,1,240,227,44,31,4,113,205,243,103,168,239,48,2,54,7,40],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:30:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538794441605120,"timestamp_seconds":4035538794441605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589079808001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589079808001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:30:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:30:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589079808001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":160385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:30:07] local.INFO: GPS data processed {"connection_id":160385,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:30:07] local.INFO: Acknowledgment sent {"connection_id":160385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:30:11] local.INFO: TCP Data received {"connection_id":162973,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:30:11] local.INFO: Processing buffer {"connection_id":162973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:30:11] local.INFO: IMEI packet received {"connection_id":162973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":162973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:30:13] local.INFO: TCP Data received {"connection_id":162973,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc5be80012d7e168005d3bf080007006c29..."} 
[2026-08-23 09:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc5be80012d7e168005d3bf080007006c29..."} 
[2026-08-23 09:30:13] local.INFO: Processing buffer {"connection_id":162973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc5be80012d7e168005d3bf080007006c29..."} 
[2026-08-23 09:30:13] local.INFO: Packet analysis {"connection_id":162973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:30:13] local.INFO: Extracted packet for processing {"connection_id":162973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:30:13] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763080,"longitude_deg":76.3238016,"latitude_deg":9.776308,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3bf08","is_valid_coordinates":true} 
[2026-08-23 09:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589127936001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787457552000,"timestamp_ms":1787457552000,"timestamp_seconds":1787457552,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc5be80"} 
[2026-08-23 09:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:30: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-08-23 09:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 09:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589127936001,"66":13254,"110":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 09:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589127936001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:30:13] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 09:30:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589127936001,"power":13254,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":162973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:30:13] local.INFO: GPS data processed {"connection_id":162973,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:30:13] local.INFO: Acknowledgment sent {"connection_id":162973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:30:24] local.INFO: TCP Data received {"connection_id":160599,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:30:24] local.INFO: Processing buffer {"connection_id":160599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:30:24] local.INFO: Packet analysis {"connection_id":160599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:30:24] local.INFO: Extracted packet for processing {"connection_id":160599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:30:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589047552001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787457518000,"timestamp_ms":1787457518000,"timestamp_seconds":1787457518,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc539b0"} 
[2026-08-23 09:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:30: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-08-23 09:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:30:24] 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-08-23 09:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589047552001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589047552001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:30:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:30:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589047552001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":160599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:30:24] local.INFO: GPS data processed {"connection_id":160599,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:30:24] local.INFO: Acknowledgment sent {"connection_id":160599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:30:30] local.INFO: TCP Data received {"connection_id":162974,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:30:30] local.INFO: Processing buffer {"connection_id":162974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:30:30] local.INFO: IMEI packet received {"connection_id":162974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":162974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:30:33] local.INFO: TCP Data received {"connection_id":162974,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:30:33] local.INFO: Processing buffer {"connection_id":162974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:30:33] local.INFO: IMEI packet received {"connection_id":162974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":162974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:30:35] local.INFO: TCP Data received {"connection_id":162974,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:30:35] local.INFO: Processing buffer {"connection_id":162974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:30:35] local.INFO: IMEI packet received {"connection_id":162974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":162974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:30:36] local.INFO: TCP Data received {"connection_id":162974,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc33228012d1967c0071feea80038011d26..."} 
[2026-08-23 09:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc33228012d1967c0071feea80038011d26..."} 
[2026-08-23 09:30:36] local.INFO: Processing buffer {"connection_id":162974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc33228012d1967c0071feea80038011d26..."} 
[2026-08-23 09:30:36] local.INFO: Packet analysis {"connection_id":162974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc3"} 
[2026-08-23 09:30:36] local.INFO: Extracted packet for processing {"connection_id":162974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc3"} 
[2026-08-23 09:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589085184001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787457385000,"timestamp_ms":1787457385000,"timestamp_seconds":1787457385,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc33228"} 
[2026-08-23 09:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:36] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3224755351021492583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:36] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80265448339275776,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832576,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3247964161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:30:36] local.WARNING: Large IO value detected {"io_id":69,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:36] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,22,160,142,45,192,238,56,39,10,66,60,234,1,240,228,227,44,31,4,113,205,69,103,168,40,239,48,2,54,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:30:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538794441605120,"timestamp_seconds":4035538794441605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589085184001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589085184001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:30:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589085184001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":162974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:30:36] local.INFO: GPS data processed {"connection_id":162974,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:30:36] local.INFO: Acknowledgment sent {"connection_id":162974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:30:44] local.INFO: TCP Data received {"connection_id":162973,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc61088012d7e168005d3bf080007006c28..."} 
[2026-08-23 09:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc61088012d7e168005d3bf080007006c28..."} 
[2026-08-23 09:30:44] local.INFO: Processing buffer {"connection_id":162973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc61088012d7e168005d3bf080007006c28..."} 
[2026-08-23 09:30:44] local.INFO: Packet analysis {"connection_id":162973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc6"} 
[2026-08-23 09:30:44] local.INFO: Extracted packet for processing {"connection_id":162973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc6"} 
[2026-08-23 09:30:44] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763080,"longitude_deg":76.3238016,"latitude_deg":9.776308,"altitude":7,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3bf08","is_valid_coordinates":true} 
[2026-08-23 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-08-23 09:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589133312001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787457573000,"timestamp_ms":1787457573000,"timestamp_seconds":1787457573,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc61088"} 
[2026-08-23 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-08-23 09:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-23 09:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 09:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589133312001,"66":13178,"110":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 09:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589133312001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:30:44] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 09:30:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589133312001,"power":13178,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":162973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:30:44] local.INFO: GPS data processed {"connection_id":162973,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:30:44] local.INFO: Acknowledgment sent {"connection_id":162973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:30:46] local.INFO: TCP Data received {"connection_id":162975,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:30:46] local.INFO: Processing buffer {"connection_id":162975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:30:46] local.INFO: IMEI packet received {"connection_id":162975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":162975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:30:51] local.INFO: TCP Data received {"connection_id":162975,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:30:51] local.INFO: Processing buffer {"connection_id":162975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:30:51] local.INFO: IMEI packet received {"connection_id":162975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":162975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:30:53] local.INFO: TCP Data received {"connection_id":162975,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:30:53] local.INFO: Processing buffer {"connection_id":162975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:30:53] local.INFO: Packet analysis {"connection_id":162975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:30:53] local.INFO: Extracted packet for processing {"connection_id":162975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:30:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 09:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589047552001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787457518000,"timestamp_ms":1787457518000,"timestamp_seconds":1787457518,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc539b0"} 
[2026-08-23 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-08-23 09:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:30:53] 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-08-23 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-08-23 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-08-23 09:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:30:53] 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-08-23 09:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589047552001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589047552001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:30:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:30:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589047552001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":162975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:30:53] local.INFO: GPS data processed {"connection_id":162975,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:30:53] local.INFO: Acknowledgment sent {"connection_id":162975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:31:06] local.INFO: TCP Data received {"connection_id":160600,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:31:06] local.INFO: Processing buffer {"connection_id":160600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:31:06] local.INFO: IMEI packet received {"connection_id":160600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":160600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:31:07] local.INFO: TCP Data received {"connection_id":162974,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc38430012d1967c0071feea80038011d26..."} 
[2026-08-23 09:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc38430012d1967c0071feea80038011d26..."} 
[2026-08-23 09:31:07] local.INFO: Processing buffer {"connection_id":162974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc38430012d1967c0071feea80038011d26..."} 
[2026-08-23 09:31:07] local.INFO: Packet analysis {"connection_id":162974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc3"} 
[2026-08-23 09:31:07] local.INFO: Extracted packet for processing {"connection_id":162974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc3"} 
[2026-08-23 09:31:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589090560001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787457406000,"timestamp_ms":1787457406000,"timestamp_seconds":1787457406,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc38430"} 
[2026-08-23 09:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:31:07] 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-08-23 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 09:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589090560001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589090560001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:31:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:31:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589090560001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":162974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:31:07] local.INFO: GPS data processed {"connection_id":162974,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:31:07] local.INFO: Acknowledgment sent {"connection_id":162974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:31:07] local.INFO: TCP Data received {"connection_id":160600,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 09:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160600,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 09:31:07] local.INFO: Processing buffer {"connection_id":160600,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 09:31:07] local.INFO: IMEI packet received {"connection_id":160600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":160600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:31:11] local.INFO: TCP Data received {"connection_id":160600,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:31:11] local.INFO: Processing buffer {"connection_id":160600,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 09:31:11] local.INFO: IMEI packet received {"connection_id":160600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":160600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:31:12] local.INFO: TCP Data received {"connection_id":160600,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc66290012d7e168005d3bf080007006c29..."} 
[2026-08-23 09:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc66290012d7e168005d3bf080007006c29..."} 
[2026-08-23 09:31:12] local.INFO: Processing buffer {"connection_id":160600,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a02c..."} 
[2026-08-23 09:31:12] local.INFO: IMEI packet received {"connection_id":160600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":160600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:31:17] local.INFO: TCP Data received {"connection_id":160600,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc6b498012d7e168005d3bf080007006c28..."} 
[2026-08-23 09:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc6b498012d7e168005d3bf080007006c28..."} 
[2026-08-23 09:31:17] local.INFO: Processing buffer {"connection_id":160600,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a02cc66290012d7e168005d3bf080007006c29..."} 
[2026-08-23 09:31:17] local.INFO: Packet analysis {"connection_id":160600,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02cc6"} 
[2026-08-23 09:31:17] local.INFO: Extracted packet for processing {"connection_id":160600,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc6"} 
[2026-08-23 09:31:17] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763080,"longitude_deg":76.3238016,"latitude_deg":9.776308,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3bf08","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589138688001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787457594000,"timestamp_ms":1787457594000,"timestamp_seconds":1787457594,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc66290"} 
[2026-08-23 09:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-23 09:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589138688001,"66":13254,"110":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 09:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589138688001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:31:17] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 09:31:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589138688001,"power":13254,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":160600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:31:17] local.INFO: GPS data processed {"connection_id":160600,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:31:17] local.INFO: Acknowledgment sent {"connection_id":160600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:31:17] local.INFO: Packet analysis {"connection_id":160600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc6"} 
[2026-08-23 09:31:17] local.INFO: Extracted packet for processing {"connection_id":160600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc6"} 
[2026-08-23 09:31:17] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763080,"longitude_deg":76.3238016,"latitude_deg":9.776308,"altitude":7,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3bf08","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589144064001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787457615000,"timestamp_ms":1787457615000,"timestamp_seconds":1787457615,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc6b498"} 
[2026-08-23 09:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-23 09:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589144064001,"66":12667,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589144064001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:31:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:31:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589144064001,"power":12667,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":160600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:31:17] local.INFO: GPS data processed {"connection_id":160600,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:31:17] local.INFO: Acknowledgment sent {"connection_id":160600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:31:24] local.INFO: TCP Data received {"connection_id":162975,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:31:24] local.INFO: Processing buffer {"connection_id":162975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:31:24] local.INFO: Packet analysis {"connection_id":162975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:31:24] local.INFO: Extracted packet for processing {"connection_id":162975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:31:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 09:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589047552001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787457518000,"timestamp_ms":1787457518000,"timestamp_seconds":1787457518,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc539b0"} 
[2026-08-23 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-08-23 09:31: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-08-23 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:31:24] 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-08-23 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-08-23 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-08-23 09:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:31:24] 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-08-23 09:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589047552001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589047552001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:31:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:31:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589047552001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":162975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:31:24] local.INFO: GPS data processed {"connection_id":162975,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:31:24] local.INFO: Acknowledgment sent {"connection_id":162975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:31:35] local.INFO: TCP Data received {"connection_id":160386,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:31:35] local.INFO: Processing buffer {"connection_id":160386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:31:35] local.INFO: IMEI packet received {"connection_id":160386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":160386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:31:36] local.INFO: TCP Data received {"connection_id":160386,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:31:36] local.INFO: Processing buffer {"connection_id":160386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:31:36] local.INFO: IMEI packet received {"connection_id":160386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":160386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:31:36] local.INFO: TCP Data received {"connection_id":160386,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc3d638012d1967c0071feea80038011d28..."} 
[2026-08-23 09:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc3d638012d1967c0071feea80038011d28..."} 
[2026-08-23 09:31:36] local.INFO: Processing buffer {"connection_id":160386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc3d638012d1967c0071feea80038011d28..."} 
[2026-08-23 09:31:36] local.INFO: Packet analysis {"connection_id":160386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc3"} 
[2026-08-23 09:31:36] local.INFO: Extracted packet for processing {"connection_id":160386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc3"} 
[2026-08-23 09:31:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589095936001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787457427000,"timestamp_ms":1787457427000,"timestamp_seconds":1787457427,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc3d638"} 
[2026-08-23 09:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 09:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589095936001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589095936001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:31:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:31:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589095936001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":160386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:31:37] local.INFO: GPS data processed {"connection_id":160386,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:31:37] local.INFO: Acknowledgment sent {"connection_id":160386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:31:40] local.INFO: TCP Data received {"connection_id":160386,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc42840012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc42840012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:31:40] local.INFO: Processing buffer {"connection_id":160386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc42840012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:31:40] local.INFO: Packet analysis {"connection_id":160386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc4"} 
[2026-08-23 09:31:40] local.INFO: Extracted packet for processing {"connection_id":160386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc4"} 
[2026-08-23 09:31:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589101312001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787457448000,"timestamp_ms":1787457448000,"timestamp_seconds":1787457448,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc42840"} 
[2026-08-23 09:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 09:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589101312001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589101312001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:31:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:31:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589101312001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":160386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:31:41] local.INFO: GPS data processed {"connection_id":160386,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:31:41] local.INFO: Acknowledgment sent {"connection_id":160386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:31:46] local.INFO: TCP Data received {"connection_id":161555,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:31:46] local.INFO: Processing buffer {"connection_id":161555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:31:46] local.INFO: IMEI packet received {"connection_id":161555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":161555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:31:48] local.INFO: TCP Data received {"connection_id":160600,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc706a0012d7e168005d3bf080007006c28..."} 
[2026-08-23 09:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc706a0012d7e168005d3bf080007006c28..."} 
[2026-08-23 09:31:48] local.INFO: Processing buffer {"connection_id":160600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc706a0012d7e168005d3bf080007006c28..."} 
[2026-08-23 09:31:48] local.INFO: Packet analysis {"connection_id":160600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc7"} 
[2026-08-23 09:31:48] local.INFO: Extracted packet for processing {"connection_id":160600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc7"} 
[2026-08-23 09:31:48] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763080,"longitude_deg":76.3238016,"latitude_deg":9.776308,"altitude":7,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3bf08","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589149440001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787457636000,"timestamp_ms":1787457636000,"timestamp_seconds":1787457636,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc706a0"} 
[2026-08-23 09:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-23 09:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589149440001,"66":13189,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589149440001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:31:48] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:31:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589149440001,"power":13189,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":160600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:31:48] local.INFO: GPS data processed {"connection_id":160600,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:31:48] local.INFO: Acknowledgment sent {"connection_id":160600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:31:51] local.INFO: TCP Data received {"connection_id":161555,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:31:52] local.INFO: Processing buffer {"connection_id":161555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:31:52] local.INFO: IMEI packet received {"connection_id":161555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":161555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:31:52] local.INFO: TCP Data received {"connection_id":161555,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:31:52] local.INFO: Processing buffer {"connection_id":161555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:31:52] local.INFO: Packet analysis {"connection_id":161555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:31:52] local.INFO: Extracted packet for processing {"connection_id":161555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:31:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589047552001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787457518000,"timestamp_ms":1787457518000,"timestamp_seconds":1787457518,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc539b0"} 
[2026-08-23 09:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:31: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-08-23 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:31:52] 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-08-23 09: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-08-23 09:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:31: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-08-23 09:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589047552001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589047552001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:31:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:31:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589047552001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":161555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:31:52] local.INFO: GPS data processed {"connection_id":161555,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:31:52] local.INFO: Acknowledgment sent {"connection_id":161555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:32:06] local.INFO: TCP Data received {"connection_id":162976,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:32:06] local.INFO: Processing buffer {"connection_id":162976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:32:06] local.INFO: IMEI packet received {"connection_id":162976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":162976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:32:11] local.INFO: TCP Data received {"connection_id":162976,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:32:11] local.INFO: Processing buffer {"connection_id":162976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:32:11] local.INFO: IMEI packet received {"connection_id":162976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":162976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:32:12] local.INFO: TCP Data received {"connection_id":160386,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc47a48012d1967c0071feea80038011d29..."} 
[2026-08-23 09:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc47a48012d1967c0071feea80038011d29..."} 
[2026-08-23 09:32:12] local.INFO: Processing buffer {"connection_id":160386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc47a48012d1967c0071feea80038011d29..."} 
[2026-08-23 09:32:12] local.INFO: Packet analysis {"connection_id":160386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc4"} 
[2026-08-23 09:32:12] local.INFO: Extracted packet for processing {"connection_id":160386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc4"} 
[2026-08-23 09:32:12] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589106688001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787457469000,"timestamp_ms":1787457469000,"timestamp_seconds":1787457469,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc47a48"} 
[2026-08-23 09:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:32:12] 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-08-23 09:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:12] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:12] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3225116128274356583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:12] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:12] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80263249316020224,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:12] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832577,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:12] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:12] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3269468161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:32:12] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:12] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,22,160,214,45,192,238,56,40,10,66,132,38,50,1,240,31,227,44,4,113,205,142,103,168,39,239,48,2,54,7,41],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:32:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538807326507008,"timestamp_seconds":4035538807326507.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589106688001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589106688001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:32:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:32:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589106688001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:32:12] local.INFO: TCP Data received {"connection_id":162976,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc758a8012d7e168005d3bf080007006c29..."} 
[2026-08-23 09:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc758a8012d7e168005d3bf080007006c29..."} 
[2026-08-23 09:32:12] local.INFO: Processing buffer {"connection_id":162976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc758a8012d7e168005d3bf080007006c29..."} 
[2026-08-23 09:32:12] local.INFO: Packet analysis {"connection_id":162976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc7"} 
[2026-08-23 09:32:12] local.INFO: Extracted packet for processing {"connection_id":162976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc7"} 
[2026-08-23 09:32:12] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763080,"longitude_deg":76.3238016,"latitude_deg":9.776308,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3bf08","is_valid_coordinates":true} 
[2026-08-23 09:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589154816001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787457657000,"timestamp_ms":1787457657000,"timestamp_seconds":1787457657,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc758a8"} 
[2026-08-23 09:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 09:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589154816001,"66":13243,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589154816001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:32:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:32:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589154816001,"power":13243,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":162976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:32:12] local.INFO: GPS data processed {"connection_id":162976,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:32:12] local.INFO: Acknowledgment sent {"connection_id":162976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":160386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:32:12] local.INFO: GPS data processed {"connection_id":160386,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:32:12] local.INFO: Acknowledgment sent {"connection_id":160386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:32:24] local.INFO: TCP Data received {"connection_id":161555,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:32:24] local.INFO: Processing buffer {"connection_id":161555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:32:24] local.INFO: Packet analysis {"connection_id":161555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:32:24] local.INFO: Extracted packet for processing {"connection_id":161555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:32:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589047552001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787457518000,"timestamp_ms":1787457518000,"timestamp_seconds":1787457518,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc539b0"} 
[2026-08-23 09:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:32: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-08-23 09:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:32:24] 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-08-23 09:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589047552001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589047552001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:32:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:32:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589047552001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":161555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:32:24] local.INFO: GPS data processed {"connection_id":161555,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:32:24] local.INFO: Acknowledgment sent {"connection_id":161555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:32:30] local.INFO: TCP Data received {"connection_id":162977,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:32:30] local.INFO: Processing buffer {"connection_id":162977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:32:30] local.INFO: IMEI packet received {"connection_id":162977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":162977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:32:35] local.INFO: TCP Data received {"connection_id":162977,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:32:35] local.INFO: Processing buffer {"connection_id":162977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:32:35] local.INFO: IMEI packet received {"connection_id":162977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":162977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:32:36] local.INFO: TCP Data received {"connection_id":162977,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc4cc50012d1967c0071feea80038011d24..."} 
[2026-08-23 09:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc4cc50012d1967c0071feea80038011d24..."} 
[2026-08-23 09:32:36] local.INFO: Processing buffer {"connection_id":162977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc4cc50012d1967c0071feea80038011d24..."} 
[2026-08-23 09:32:36] local.INFO: Packet analysis {"connection_id":162977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc4"} 
[2026-08-23 09:32:36] local.INFO: Extracted packet for processing {"connection_id":162977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc4"} 
[2026-08-23 09:32:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589112064001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787457490000,"timestamp_ms":1787457490000,"timestamp_seconds":1787457490,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc4cc50"} 
[2026-08-23 09:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 09:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589112064001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589112064001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:32:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:32:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589112064001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":162977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:32:36] local.INFO: GPS data processed {"connection_id":162977,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:32:36] local.INFO: Acknowledgment sent {"connection_id":162977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:32:43] local.INFO: TCP Data received {"connection_id":162976,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc76078012d7e168005d3bf080007006c29..."} 
[2026-08-23 09:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc76078012d7e168005d3bf080007006c29..."} 
[2026-08-23 09:32:43] local.INFO: Processing buffer {"connection_id":162976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc76078012d7e168005d3bf080007006c29..."} 
[2026-08-23 09:32:43] local.INFO: Packet analysis {"connection_id":162976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc7"} 
[2026-08-23 09:32:43] local.INFO: Extracted packet for processing {"connection_id":162976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc7"} 
[2026-08-23 09:32:43] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763080,"longitude_deg":76.3238016,"latitude_deg":9.776308,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3bf08","is_valid_coordinates":true} 
[2026-08-23 09:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589160192001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787457659000,"timestamp_ms":1787457659000,"timestamp_seconds":1787457659,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc76078"} 
[2026-08-23 09:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:32: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-08-23 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-23 09:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589160192001,"66":12982,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589160192001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:32:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:32:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589160192001,"power":12982,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":162976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:32:43] local.INFO: GPS data processed {"connection_id":162976,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:32:43] local.INFO: Acknowledgment sent {"connection_id":162976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:32:46] local.INFO: TCP Data received {"connection_id":160601,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:32:46] local.INFO: Processing buffer {"connection_id":160601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:32:46] local.INFO: IMEI packet received {"connection_id":160601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":160601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:32:52] local.INFO: TCP Data received {"connection_id":160601,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:32:52] local.INFO: Processing buffer {"connection_id":160601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:32:52] local.INFO: IMEI packet received {"connection_id":160601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":160601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:32:52] local.INFO: TCP Data received {"connection_id":160601,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:32:52] local.INFO: Processing buffer {"connection_id":160601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:32:52] local.INFO: Packet analysis {"connection_id":160601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:32:52] local.INFO: Extracted packet for processing {"connection_id":160601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:32:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589047552001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787457518000,"timestamp_ms":1787457518000,"timestamp_seconds":1787457518,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc539b0"} 
[2026-08-23 09:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:32: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-08-23 09:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:32:52] 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-08-23 09:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589047552001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589047552001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:32:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:32:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589047552001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":160601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:32:53] local.INFO: GPS data processed {"connection_id":160601,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:32:53] local.INFO: Acknowledgment sent {"connection_id":160601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:33:07] local.INFO: TCP Data received {"connection_id":162977,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc51e58012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc51e58012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:33:07] local.INFO: Processing buffer {"connection_id":162977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc51e58012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:33:07] local.INFO: Packet analysis {"connection_id":162977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:33:07] local.INFO: Extracted packet for processing {"connection_id":162977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:33:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589117440001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787457511000,"timestamp_ms":1787457511000,"timestamp_seconds":1787457511,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc51e58"} 
[2026-08-23 09:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:33:07] 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-08-23 09:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 09:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589117440001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589117440001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:33:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:33:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589117440001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":162977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:33:07] local.INFO: GPS data processed {"connection_id":162977,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:33:07] local.INFO: Acknowledgment sent {"connection_id":162977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:33:11] local.INFO: TCP Data received {"connection_id":160387,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:33:11] local.INFO: Processing buffer {"connection_id":160387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:33:11] local.INFO: IMEI packet received {"connection_id":160387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":160387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:33:16] local.INFO: TCP Data received {"connection_id":160387,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:33:16] local.INFO: Processing buffer {"connection_id":160387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:33:16] local.INFO: IMEI packet received {"connection_id":160387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":160387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:33:17] local.INFO: TCP Data received {"connection_id":160387,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc76078012d7e168005d3bf080007006c29..."} 
[2026-08-23 09:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc76078012d7e168005d3bf080007006c29..."} 
[2026-08-23 09:33:17] local.INFO: Processing buffer {"connection_id":160387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc76078012d7e168005d3bf080007006c29..."} 
[2026-08-23 09:33:17] local.INFO: Packet analysis {"connection_id":160387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc7"} 
[2026-08-23 09:33:17] local.INFO: Extracted packet for processing {"connection_id":160387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc7"} 
[2026-08-23 09:33:17] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763080,"longitude_deg":76.3238016,"latitude_deg":9.776308,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3bf08","is_valid_coordinates":true} 
[2026-08-23 09:33:17] 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-08-23 09:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589160704001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787457659000,"timestamp_ms":1787457659000,"timestamp_seconds":1787457659,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc76078"} 
[2026-08-23 09:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:33: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-08-23 09:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 09:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589160704001,"66":12982,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589160704001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:33:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:33:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589160704001,"power":12982,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":160387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:33:17] local.INFO: GPS data processed {"connection_id":160387,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:33:17] local.INFO: Acknowledgment sent {"connection_id":160387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:33:22] local.INFO: TCP Data received {"connection_id":160387,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc777e8012d7e168005d3bf080007006c27..."} 
[2026-08-23 09:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc777e8012d7e168005d3bf080007006c27..."} 
[2026-08-23 09:33:22] local.INFO: Processing buffer {"connection_id":160387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc777e8012d7e168005d3bf080007006c27..."} 
[2026-08-23 09:33:22] local.INFO: Packet analysis {"connection_id":160387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc7"} 
[2026-08-23 09:33:22] local.INFO: Extracted packet for processing {"connection_id":160387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc7"} 
[2026-08-23 09:33:22] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763080,"longitude_deg":76.3238016,"latitude_deg":9.776308,"altitude":7,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3bf08","is_valid_coordinates":true} 
[2026-08-23 09:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589160704001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787457665000,"timestamp_ms":1787457665000,"timestamp_seconds":1787457665,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc777e8"} 
[2026-08-23 09:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 09:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589160704001,"66":12917,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589160704001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:33:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:33:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589160704001,"power":12917,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":160387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:33:22] local.INFO: GPS data processed {"connection_id":160387,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:33:22] local.INFO: Acknowledgment sent {"connection_id":160387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:33:24] local.INFO: TCP Data received {"connection_id":160601,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:33:24] local.INFO: Processing buffer {"connection_id":160601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:33:24] local.INFO: Packet analysis {"connection_id":160601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:33:24] local.INFO: Extracted packet for processing {"connection_id":160601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:33:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589047552001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787457518000,"timestamp_ms":1787457518000,"timestamp_seconds":1787457518,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc539b0"} 
[2026-08-23 09:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:33: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-08-23 09:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:33:24] 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-08-23 09:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589047552001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589047552001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:33:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:33:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589047552001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":160601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:33:24] local.INFO: GPS data processed {"connection_id":160601,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:33:24] local.INFO: Acknowledgment sent {"connection_id":160601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:33:30] local.INFO: TCP Data received {"connection_id":161556,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:33:30] local.INFO: Processing buffer {"connection_id":161556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:33:30] local.INFO: IMEI packet received {"connection_id":161556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":161556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:33:35] local.INFO: TCP Data received {"connection_id":161556,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:33:35] local.INFO: Processing buffer {"connection_id":161556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:33:35] local.INFO: IMEI packet received {"connection_id":161556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":161556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:33:36] local.INFO: TCP Data received {"connection_id":161556,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc57060012d1967c0071feea80038011d28..."} 
[2026-08-23 09:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc57060012d1967c0071feea80038011d28..."} 
[2026-08-23 09:33:36] local.INFO: Processing buffer {"connection_id":161556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc57060012d1967c0071feea80038011d28..."} 
[2026-08-23 09:33:36] local.INFO: Packet analysis {"connection_id":161556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:33:36] local.INFO: Extracted packet for processing {"connection_id":161556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:33:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589122816001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787457532000,"timestamp_ms":1787457532000,"timestamp_seconds":1787457532,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc57060"} 
[2026-08-23 09:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 09:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589122816001,"66":12004,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589122816001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:33:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:33:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589122816001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":161556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:33:36] local.INFO: GPS data processed {"connection_id":161556,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:33:36] local.INFO: Acknowledgment sent {"connection_id":161556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:33:52] local.INFO: TCP Data received {"connection_id":160388,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:33:52] local.INFO: Processing buffer {"connection_id":160388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:33:52] local.INFO: IMEI packet received {"connection_id":160388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":160388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:33:57] local.INFO: TCP Data received {"connection_id":160388,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:33:57] local.INFO: Processing buffer {"connection_id":160388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:33:57] local.INFO: IMEI packet received {"connection_id":160388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":160388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:33:58] local.INFO: TCP Data received {"connection_id":160388,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:33:58] local.INFO: Processing buffer {"connection_id":160388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:33:58] local.INFO: Packet analysis {"connection_id":160388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:33:58] local.INFO: Extracted packet for processing {"connection_id":160388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:33:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589047552001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787457518000,"timestamp_ms":1787457518000,"timestamp_seconds":1787457518,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc539b0"} 
[2026-08-23 09:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589047552001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589047552001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:33:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:33:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589047552001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":160388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:33:58] local.INFO: GPS data processed {"connection_id":160388,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:33:58] local.INFO: Acknowledgment sent {"connection_id":160388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:34:02] local.INFO: TCP Data received {"connection_id":160388,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:34:02] local.INFO: Processing buffer {"connection_id":160388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc539b0012d34c50006aa4098001300851f..."} 
[2026-08-23 09:34:02] local.INFO: Packet analysis {"connection_id":160388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:34:02] local.INFO: Extracted packet for processing {"connection_id":160388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc5"} 
[2026-08-23 09:34:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589047552001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787457518000,"timestamp_ms":1787457518000,"timestamp_seconds":1787457518,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc539b0"} 
[2026-08-23 09:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:34:02] 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-08-23 09:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589047552001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589047552001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:34:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:34:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589047552001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":160388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:34:02] local.INFO: GPS data processed {"connection_id":160388,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:34:02] local.INFO: Acknowledgment sent {"connection_id":160388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:34:06] local.INFO: TCP Data received {"connection_id":161557,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:34:06] local.INFO: Processing buffer {"connection_id":161557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:34:06] local.INFO: IMEI packet received {"connection_id":161557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":161557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:34:07] local.INFO: TCP Data received {"connection_id":161556,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc8f6b8012d1967c0071feea80038011d27..."} 
[2026-08-23 09:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc8f6b8012d1967c0071feea80038011d27..."} 
[2026-08-23 09:34:07] local.INFO: Processing buffer {"connection_id":161556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc8f6b8012d1967c0071feea80038011d27..."} 
[2026-08-23 09:34:07] local.INFO: Packet analysis {"connection_id":161556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc8"} 
[2026-08-23 09:34:07] local.INFO: Extracted packet for processing {"connection_id":161556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc8"} 
[2026-08-23 09:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589181952001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787457763000,"timestamp_ms":1787457763000,"timestamp_seconds":1787457763,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc8f6b8"} 
[2026-08-23 09:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:34:07] 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-08-23 09:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:34:07] 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-08-23 09:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589181952001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589181952001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:34:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:34:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589181952001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":161556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:34:07] local.INFO: GPS data processed {"connection_id":161556,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:34:07] local.INFO: Acknowledgment sent {"connection_id":161556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:34:11] local.INFO: TCP Data received {"connection_id":161557,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:34:11] local.INFO: Processing buffer {"connection_id":161557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:34:11] local.INFO: IMEI packet received {"connection_id":161557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":161557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:34:12] local.INFO: TCP Data received {"connection_id":161557,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc777e8012d7e168005d3bf080007006c27..."} 
[2026-08-23 09:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc777e8012d7e168005d3bf080007006c27..."} 
[2026-08-23 09:34:12] local.INFO: Processing buffer {"connection_id":161557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc777e8012d7e168005d3bf080007006c27..."} 
[2026-08-23 09:34:12] local.INFO: Packet analysis {"connection_id":161557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc7"} 
[2026-08-23 09:34:12] local.INFO: Extracted packet for processing {"connection_id":161557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc7"} 
[2026-08-23 09:34:12] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763080,"longitude_deg":76.3238016,"latitude_deg":9.776308,"altitude":7,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3bf08","is_valid_coordinates":true} 
[2026-08-23 09:34: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-08-23 09:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589162240001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787457665000,"timestamp_ms":1787457665000,"timestamp_seconds":1787457665,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc777e8"} 
[2026-08-23 09:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:34: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-08-23 09: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 09:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589162240001,"66":12917,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589162240001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:34:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:34:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589162240001,"power":12917,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":161557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685661,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:34:12] local.INFO: GPS data processed {"connection_id":161557,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:34:12] local.INFO: Acknowledgment sent {"connection_id":161557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:34:30] local.INFO: TCP Data received {"connection_id":160389,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:34:30] local.INFO: Processing buffer {"connection_id":160389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:34:30] local.INFO: IMEI packet received {"connection_id":160389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":160389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:34:35] local.INFO: TCP Data received {"connection_id":160389,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:34:35] local.INFO: Processing buffer {"connection_id":160389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:34:35] local.INFO: IMEI packet received {"connection_id":160389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":160389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:34:36] local.INFO: TCP Data received {"connection_id":160389,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc948c0012d1967c0071feea80038011d29..."} 
[2026-08-23 09:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc948c0012d1967c0071feea80038011d29..."} 
[2026-08-23 09:34:36] local.INFO: Processing buffer {"connection_id":160389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc948c0012d1967c0071feea80038011d29..."} 
[2026-08-23 09:34:36] local.INFO: Packet analysis {"connection_id":160389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:34:36] local.INFO: Extracted packet for processing {"connection_id":160389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589187328001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787457784000,"timestamp_ms":1787457784000,"timestamp_seconds":1787457784,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc948c0"} 
[2026-08-23 09:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 09:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589187328001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589187328001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:34:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:34:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589187328001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":160389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:34:36] local.INFO: GPS data processed {"connection_id":160389,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:34:36] local.INFO: Acknowledgment sent {"connection_id":160389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:34:43] local.INFO: TCP Data received {"connection_id":161557,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc777e8012d7e168005d3bf080007006c27..."} 
[2026-08-23 09:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc777e8012d7e168005d3bf080007006c27..."} 
[2026-08-23 09:34:43] local.INFO: Processing buffer {"connection_id":161557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc777e8012d7e168005d3bf080007006c27..."} 
[2026-08-23 09:34:43] local.INFO: Packet analysis {"connection_id":161557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc7"} 
[2026-08-23 09:34:43] local.INFO: Extracted packet for processing {"connection_id":161557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc7"} 
[2026-08-23 09:34:43] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763080,"longitude_deg":76.3238016,"latitude_deg":9.776308,"altitude":7,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3bf08","is_valid_coordinates":true} 
[2026-08-23 09:34:43] 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-08-23 09:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589162240001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787457665000,"timestamp_ms":1787457665000,"timestamp_seconds":1787457665,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc777e8"} 
[2026-08-23 09:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09: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-08-23 09: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 09:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589162240001,"66":12917,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589162240001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:34:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:34:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589162240001,"power":12917,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":161557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:34:43] local.INFO: GPS data processed {"connection_id":161557,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:34:43] local.INFO: Acknowledgment sent {"connection_id":161557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:34:46] local.INFO: TCP Data received {"connection_id":162978,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:34:46] local.INFO: Processing buffer {"connection_id":162978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:34:46] local.INFO: IMEI packet received {"connection_id":162978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":162978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:34:52] local.INFO: TCP Data received {"connection_id":162978,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:34:52] local.INFO: Processing buffer {"connection_id":162978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:34:52] local.INFO: IMEI packet received {"connection_id":162978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":162978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:34:53] local.INFO: TCP Data received {"connection_id":162978,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:34:53] local.INFO: Processing buffer {"connection_id":162978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:34:53] local.INFO: Packet analysis {"connection_id":162978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:34:53] local.INFO: Extracted packet for processing {"connection_id":162978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:34: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-08-23 09:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589124608001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787457819000,"timestamp_ms":1787457819000,"timestamp_seconds":1787457819,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc9d178"} 
[2026-08-23 09:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:34:53] 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-08-23 09:34: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-08-23 09:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589124608001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589124608001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:34:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:34:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589124608001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":162978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:34:53] local.INFO: GPS data processed {"connection_id":162978,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:34:53] local.INFO: Acknowledgment sent {"connection_id":162978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:35:06] local.INFO: TCP Data received {"connection_id":160602,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:35:06] local.INFO: Processing buffer {"connection_id":160602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:35:06] local.INFO: IMEI packet received {"connection_id":160602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":160602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:35:07] local.INFO: TCP Data received {"connection_id":160389,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc99ac8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc99ac8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:35:07] local.INFO: Processing buffer {"connection_id":160389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc99ac8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:35:07] local.INFO: Packet analysis {"connection_id":160389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:35:07] local.INFO: Extracted packet for processing {"connection_id":160389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:35:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589192704001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787457805000,"timestamp_ms":1787457805000,"timestamp_seconds":1787457805,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc99ac8"} 
[2026-08-23 09:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:35:07] 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-08-23 09:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 09:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589192704001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589192704001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:35:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:35:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589192704001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":160389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:35:07] local.INFO: GPS data processed {"connection_id":160389,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:35:07] local.INFO: Acknowledgment sent {"connection_id":160389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:35:11] local.INFO: TCP Data received {"connection_id":160602,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160602,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:35:11] local.INFO: Processing buffer {"connection_id":160602,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:35:11] local.INFO: IMEI packet received {"connection_id":160602,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":160602,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:35:12] local.INFO: TCP Data received {"connection_id":160602,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc777e8012d7e168005d3bf080007006c27..."} 
[2026-08-23 09:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc777e8012d7e168005d3bf080007006c27..."} 
[2026-08-23 09:35:12] local.INFO: Processing buffer {"connection_id":160602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc777e8012d7e168005d3bf080007006c27..."} 
[2026-08-23 09:35:12] local.INFO: Packet analysis {"connection_id":160602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc7"} 
[2026-08-23 09:35:12] local.INFO: Extracted packet for processing {"connection_id":160602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc7"} 
[2026-08-23 09:35:12] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763080,"longitude_deg":76.3238016,"latitude_deg":9.776308,"altitude":7,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3bf08","is_valid_coordinates":true} 
[2026-08-23 09:35: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-08-23 09:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589162240001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787457665000,"timestamp_ms":1787457665000,"timestamp_seconds":1787457665,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc777e8"} 
[2026-08-23 09:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 09:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589162240001,"66":12917,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589162240001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:35:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:35:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589162240001,"power":12917,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":160602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:35:12] local.INFO: GPS data processed {"connection_id":160602,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:35:12] local.INFO: Acknowledgment sent {"connection_id":160602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:35:25] local.INFO: TCP Data received {"connection_id":162978,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:35:25] local.INFO: Processing buffer {"connection_id":162978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:35:25] local.INFO: Packet analysis {"connection_id":162978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:35:25] local.INFO: Extracted packet for processing {"connection_id":162978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:35:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589124608001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787457819000,"timestamp_ms":1787457819000,"timestamp_seconds":1787457819,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc9d178"} 
[2026-08-23 09:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:35:25] 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-08-23 09:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589124608001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589124608001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:35:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:35:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589124608001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":162978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:35:25] local.INFO: GPS data processed {"connection_id":162978,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:35:25] local.INFO: Acknowledgment sent {"connection_id":162978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:35:30] local.INFO: TCP Data received {"connection_id":160390,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:35:30] local.INFO: Processing buffer {"connection_id":160390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:35:30] local.INFO: IMEI packet received {"connection_id":160390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":160390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:35:35] local.INFO: TCP Data received {"connection_id":160390,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:35:35] local.INFO: Processing buffer {"connection_id":160390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:35:35] local.INFO: IMEI packet received {"connection_id":160390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":160390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:35:36] local.INFO: TCP Data received {"connection_id":160390,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc9ecd0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc9ecd0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:35:36] local.INFO: Processing buffer {"connection_id":160390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc9ecd0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:35:36] local.INFO: Packet analysis {"connection_id":160390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:35:36] local.INFO: Extracted packet for processing {"connection_id":160390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589198080001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787457826000,"timestamp_ms":1787457826000,"timestamp_seconds":1787457826,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc9ecd0"} 
[2026-08-23 09:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:35:36] 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-08-23 09:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 09:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589198080001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589198080001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:35:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589198080001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":160390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:35:36] local.INFO: GPS data processed {"connection_id":160390,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:35:36] local.INFO: Acknowledgment sent {"connection_id":160390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:35:43] local.INFO: TCP Data received {"connection_id":160602,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc777e8012d7e168005d3bf080007006c27..."} 
[2026-08-23 09:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc777e8012d7e168005d3bf080007006c27..."} 
[2026-08-23 09:35:43] local.INFO: Processing buffer {"connection_id":160602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc777e8012d7e168005d3bf080007006c27..."} 
[2026-08-23 09:35:43] local.INFO: Packet analysis {"connection_id":160602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc7"} 
[2026-08-23 09:35:43] local.INFO: Extracted packet for processing {"connection_id":160602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc7"} 
[2026-08-23 09:35:43] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763080,"longitude_deg":76.3238016,"latitude_deg":9.776308,"altitude":7,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3bf08","is_valid_coordinates":true} 
[2026-08-23 09:35:43] 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-08-23 09:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589162240001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787457665000,"timestamp_ms":1787457665000,"timestamp_seconds":1787457665,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc777e8"} 
[2026-08-23 09:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:35: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-08-23 09:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 09:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160602,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589162240001,"66":12917,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589162240001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:35:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:35:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589162240001,"power":12917,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":160602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:35:43] local.INFO: GPS data processed {"connection_id":160602,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:35:43] local.INFO: Acknowledgment sent {"connection_id":160602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:35:46] local.INFO: TCP Data received {"connection_id":161558,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:35:46] local.INFO: Processing buffer {"connection_id":161558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:35:46] local.INFO: IMEI packet received {"connection_id":161558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":161558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:35:52] local.INFO: TCP Data received {"connection_id":161558,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:35:52] local.INFO: Processing buffer {"connection_id":161558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:35:52] local.INFO: IMEI packet received {"connection_id":161558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":161558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:35:53] local.INFO: TCP Data received {"connection_id":161558,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:35:53] local.INFO: Processing buffer {"connection_id":161558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:35:53] local.INFO: Packet analysis {"connection_id":161558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:35:53] local.INFO: Extracted packet for processing {"connection_id":161558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:35:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589124608001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787457819000,"timestamp_ms":1787457819000,"timestamp_seconds":1787457819,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc9d178"} 
[2026-08-23 09:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:35:53] 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-08-23 09:35: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-08-23 09:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589124608001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589124608001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:35:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:35:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589124608001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":161558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:35:53] local.INFO: GPS data processed {"connection_id":161558,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:35:53] local.INFO: Acknowledgment sent {"connection_id":161558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:36:06] local.INFO: TCP Data received {"connection_id":162979,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:36:06] local.INFO: Processing buffer {"connection_id":162979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:36:06] local.INFO: IMEI packet received {"connection_id":162979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":162979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:36:07] local.INFO: TCP Data received {"connection_id":160390,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cca3ed8012d1967c0071feea80038011d27..."} 
[2026-08-23 09:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cca3ed8012d1967c0071feea80038011d27..."} 
[2026-08-23 09:36:07] local.INFO: Processing buffer {"connection_id":160390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cca3ed8012d1967c0071feea80038011d27..."} 
[2026-08-23 09:36:07] local.INFO: Packet analysis {"connection_id":160390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cca"} 
[2026-08-23 09:36:07] local.INFO: Extracted packet for processing {"connection_id":160390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cca"} 
[2026-08-23 09:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589203456001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787457847000,"timestamp_ms":1787457847000,"timestamp_seconds":1787457847,"priority":1,"record_length":96,"hex_timestamp":"000001a02cca3ed8"} 
[2026-08-23 09:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:36:07] 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-08-23 09: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-08-23 09:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589203456001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589203456001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:36:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589203456001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":160390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:36:07] local.INFO: GPS data processed {"connection_id":160390,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:36:07] local.INFO: Acknowledgment sent {"connection_id":160390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:36:11] local.INFO: TCP Data received {"connection_id":162979,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:36:11] local.INFO: Processing buffer {"connection_id":162979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:36:11] local.INFO: IMEI packet received {"connection_id":162979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":162979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:36:12] local.INFO: TCP Data received {"connection_id":162979,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:36:12] local.INFO: Processing buffer {"connection_id":162979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:36:12] local.INFO: Packet analysis {"connection_id":162979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:36:12] local.INFO: Extracted packet for processing {"connection_id":162979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:36:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589162240001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787457960000,"timestamp_ms":1787457960000,"timestamp_seconds":1787457960,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccbf840"} 
[2026-08-23 09:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:36: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-08-23 09: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 09:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589162240001,"66":2242,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589162240001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:36:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589162240001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":162979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:36:12] local.INFO: GPS data processed {"connection_id":162979,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:36:12] local.INFO: Acknowledgment sent {"connection_id":162979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:36:24] local.INFO: TCP Data received {"connection_id":161558,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:36:24] local.INFO: Processing buffer {"connection_id":161558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:36:24] local.INFO: Packet analysis {"connection_id":161558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:36:24] local.INFO: Extracted packet for processing {"connection_id":161558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:36:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589124608001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787457819000,"timestamp_ms":1787457819000,"timestamp_seconds":1787457819,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc9d178"} 
[2026-08-23 09:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:36: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-08-23 09:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:36:24] 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-08-23 09:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589124608001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589124608001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:36:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:36:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589124608001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":161558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:36:24] local.INFO: GPS data processed {"connection_id":161558,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:36:24] local.INFO: Acknowledgment sent {"connection_id":161558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:36:30] local.INFO: TCP Data received {"connection_id":160391,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:36:30] local.INFO: Processing buffer {"connection_id":160391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:36:30] local.INFO: IMEI packet received {"connection_id":160391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":160391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:36:30] local.INFO: TCP Data received {"connection_id":160391,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:36:30] local.INFO: Processing buffer {"connection_id":160391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:36:30] local.INFO: IMEI packet received {"connection_id":160391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":160391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:36:35] local.INFO: TCP Data received {"connection_id":160391,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:36:35] local.INFO: Processing buffer {"connection_id":160391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:36:35] local.INFO: IMEI packet received {"connection_id":160391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":160391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:36:36] local.INFO: TCP Data received {"connection_id":160391,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cca90e0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cca90e0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:36:36] local.INFO: Processing buffer {"connection_id":160391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cca90e0012d1967c0071feea80038011d28..."} 
[2026-08-23 09:36:36] local.INFO: Packet analysis {"connection_id":160391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cca"} 
[2026-08-23 09:36:36] local.INFO: Extracted packet for processing {"connection_id":160391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cca"} 
[2026-08-23 09:36:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589208832001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787457868000,"timestamp_ms":1787457868000,"timestamp_seconds":1787457868,"priority":1,"record_length":96,"hex_timestamp":"000001a02cca90e0"} 
[2026-08-23 09:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 09:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589208832001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589208832001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:36:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:36:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589208832001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":160391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:36:36] local.INFO: GPS data processed {"connection_id":160391,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:36:36] local.INFO: Acknowledgment sent {"connection_id":160391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:36:43] local.INFO: TCP Data received {"connection_id":162979,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:36:43] local.INFO: Processing buffer {"connection_id":162979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:36:43] local.INFO: Packet analysis {"connection_id":162979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:36:43] local.INFO: Extracted packet for processing {"connection_id":162979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:36:43] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589162240001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787457960000,"timestamp_ms":1787457960000,"timestamp_seconds":1787457960,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccbf840"} 
[2026-08-23 09:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 09:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589162240001,"66":2242,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589162240001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:36:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:36:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589162240001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":162979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685675,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:36:43] local.INFO: GPS data processed {"connection_id":162979,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:36:43] local.INFO: Acknowledgment sent {"connection_id":162979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:36:46] local.INFO: TCP Data received {"connection_id":160392,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:36:46] local.INFO: Processing buffer {"connection_id":160392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:36:46] local.INFO: IMEI packet received {"connection_id":160392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":160392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:36:51] local.INFO: TCP Data received {"connection_id":160392,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:36:51] local.INFO: Processing buffer {"connection_id":160392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:36:51] local.INFO: IMEI packet received {"connection_id":160392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":160392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:36:52] local.INFO: TCP Data received {"connection_id":160392,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:36:52] local.INFO: Processing buffer {"connection_id":160392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:36:52] local.INFO: Packet analysis {"connection_id":160392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:36:52] local.INFO: Extracted packet for processing {"connection_id":160392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:36: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-08-23 09:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589124608001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787457819000,"timestamp_ms":1787457819000,"timestamp_seconds":1787457819,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc9d178"} 
[2026-08-23 09:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:36: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-08-23 09:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:36:52] 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-08-23 09:36: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-08-23 09:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:36:52] 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-08-23 09:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589124608001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589124608001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:36:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:36:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589124608001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":160392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:36:52] local.INFO: GPS data processed {"connection_id":160392,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:36:52] local.INFO: Acknowledgment sent {"connection_id":160392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:37:06] local.INFO: TCP Data received {"connection_id":160603,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:37:06] local.INFO: Processing buffer {"connection_id":160603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:37:06] local.INFO: IMEI packet received {"connection_id":160603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":160603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:37:07] local.INFO: TCP Data received {"connection_id":160391,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccae2e8012d1967c0071feea80038011d26..."} 
[2026-08-23 09:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccae2e8012d1967c0071feea80038011d26..."} 
[2026-08-23 09:37:07] local.INFO: Processing buffer {"connection_id":160391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccae2e8012d1967c0071feea80038011d26..."} 
[2026-08-23 09:37:07] local.INFO: Packet analysis {"connection_id":160391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cca"} 
[2026-08-23 09:37:07] local.INFO: Extracted packet for processing {"connection_id":160391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cca"} 
[2026-08-23 09:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589214208001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787457889000,"timestamp_ms":1787457889000,"timestamp_seconds":1787457889,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccae2e8"} 
[2026-08-23 09:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:37:07] 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-08-23 09:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589214208001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589214208001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:37:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589214208001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":160391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:37:07] local.INFO: GPS data processed {"connection_id":160391,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:37:07] local.INFO: Acknowledgment sent {"connection_id":160391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:37:11] local.INFO: TCP Data received {"connection_id":160603,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:37:11] local.INFO: Processing buffer {"connection_id":160603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:37:11] local.INFO: IMEI packet received {"connection_id":160603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":160603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:37:12] local.INFO: TCP Data received {"connection_id":160603,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:37:12] local.INFO: Processing buffer {"connection_id":160603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:37:12] local.INFO: Packet analysis {"connection_id":160603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:37:12] local.INFO: Extracted packet for processing {"connection_id":160603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:37:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589162240001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787457960000,"timestamp_ms":1787457960000,"timestamp_seconds":1787457960,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccbf840"} 
[2026-08-23 09:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:37: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-08-23 09:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 09:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589162240001,"66":2242,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589162240001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:37:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589162240001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":160603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:37:12] local.INFO: GPS data processed {"connection_id":160603,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:37:12] local.INFO: Acknowledgment sent {"connection_id":160603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:37:24] local.INFO: TCP Data received {"connection_id":160392,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:37:24] local.INFO: Processing buffer {"connection_id":160392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:37:24] local.INFO: Packet analysis {"connection_id":160392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:37:24] local.INFO: Extracted packet for processing {"connection_id":160392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:37:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589124608001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787457819000,"timestamp_ms":1787457819000,"timestamp_seconds":1787457819,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc9d178"} 
[2026-08-23 09:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:37: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-08-23 09:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:37:24] 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-08-23 09:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589124608001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589124608001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:37:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:37:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589124608001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":160392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:37:24] local.INFO: GPS data processed {"connection_id":160392,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:37:24] local.INFO: Acknowledgment sent {"connection_id":160392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:37:30] local.INFO: TCP Data received {"connection_id":161559,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:37:30] local.INFO: Processing buffer {"connection_id":161559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:37:30] local.INFO: IMEI packet received {"connection_id":161559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":161559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:37:33] local.INFO: TCP Data received {"connection_id":161559,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:37:33] local.INFO: Processing buffer {"connection_id":161559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:37:33] local.INFO: IMEI packet received {"connection_id":161559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":161559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:37:35] local.INFO: TCP Data received {"connection_id":161559,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:37:35] local.INFO: Processing buffer {"connection_id":161559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:37:35] local.INFO: IMEI packet received {"connection_id":161559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":161559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:37:35] local.INFO: TCP Data received {"connection_id":161559,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccb34f0012d1967c0071feea80038011d29..."} 
[2026-08-23 09:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccb34f0012d1967c0071feea80038011d29..."} 
[2026-08-23 09:37:35] local.INFO: Processing buffer {"connection_id":161559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccb34f0012d1967c0071feea80038011d29..."} 
[2026-08-23 09:37:35] local.INFO: Packet analysis {"connection_id":161559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:37:35] local.INFO: Extracted packet for processing {"connection_id":161559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:37:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589219584001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787457910000,"timestamp_ms":1787457910000,"timestamp_seconds":1787457910,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccb34f0"} 
[2026-08-23 09:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:37:35] 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-08-23 09:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589219584001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589219584001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:37:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589219584001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":161559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:37:36] local.INFO: GPS data processed {"connection_id":161559,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:37:36] local.INFO: Acknowledgment sent {"connection_id":161559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:37:43] local.INFO: TCP Data received {"connection_id":160603,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:37:43] local.INFO: Processing buffer {"connection_id":160603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:37:43] local.INFO: Packet analysis {"connection_id":160603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:37:43] local.INFO: Extracted packet for processing {"connection_id":160603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:37:43] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589162240001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787457960000,"timestamp_ms":1787457960000,"timestamp_seconds":1787457960,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccbf840"} 
[2026-08-23 09:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 09:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589162240001,"66":2242,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589162240001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:37:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:37:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589162240001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":160603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:37:43] local.INFO: GPS data processed {"connection_id":160603,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:37:43] local.INFO: Acknowledgment sent {"connection_id":160603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:37:46] local.INFO: TCP Data received {"connection_id":160604,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:37:46] local.INFO: Processing buffer {"connection_id":160604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:37:46] local.INFO: IMEI packet received {"connection_id":160604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":160604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:37:52] local.INFO: TCP Data received {"connection_id":160604,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:37:52] local.INFO: Processing buffer {"connection_id":160604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:37:52] local.INFO: IMEI packet received {"connection_id":160604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":160604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:37:52] local.INFO: TCP Data received {"connection_id":160604,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:37:52] local.INFO: Processing buffer {"connection_id":160604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:37:52] local.INFO: Packet analysis {"connection_id":160604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:37:52] local.INFO: Extracted packet for processing {"connection_id":160604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:37:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589124608001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787457819000,"timestamp_ms":1787457819000,"timestamp_seconds":1787457819,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc9d178"} 
[2026-08-23 09:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:37: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-08-23 09:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:37:52] 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-08-23 09:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589124608001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589124608001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:37:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:37:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589124608001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":160604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:37:52] local.INFO: GPS data processed {"connection_id":160604,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:37:52] local.INFO: Acknowledgment sent {"connection_id":160604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:38:07] local.INFO: TCP Data received {"connection_id":161559,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccb86f8012d1967c0071feea80038011d28..."} 
[2026-08-23 09:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccb86f8012d1967c0071feea80038011d28..."} 
[2026-08-23 09:38:07] local.INFO: Processing buffer {"connection_id":161559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccb86f8012d1967c0071feea80038011d28..."} 
[2026-08-23 09:38:07] local.INFO: Packet analysis {"connection_id":161559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:38:07] local.INFO: Extracted packet for processing {"connection_id":161559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:38:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589224960001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787457931000,"timestamp_ms":1787457931000,"timestamp_seconds":1787457931,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccb86f8"} 
[2026-08-23 09:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:38:07] 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-08-23 09:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:38:07] 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-08-23 09:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589224960001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589224960001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:38:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:38:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589224960001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":161559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:38:07] local.INFO: GPS data processed {"connection_id":161559,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:38:07] local.INFO: Acknowledgment sent {"connection_id":161559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:38:11] local.INFO: TCP Data received {"connection_id":160393,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:38:11] local.INFO: Processing buffer {"connection_id":160393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:38:11] local.INFO: IMEI packet received {"connection_id":160393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":160393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:38:16] local.INFO: TCP Data received {"connection_id":160393,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:38:16] local.INFO: Processing buffer {"connection_id":160393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:38:16] local.INFO: IMEI packet received {"connection_id":160393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":160393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:38:17] local.INFO: TCP Data received {"connection_id":160393,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:38:17] local.INFO: Processing buffer {"connection_id":160393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:38:17] local.INFO: Packet analysis {"connection_id":160393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:38:17] local.INFO: Extracted packet for processing {"connection_id":160393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:38:17] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589162240001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787457960000,"timestamp_ms":1787457960000,"timestamp_seconds":1787457960,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccbf840"} 
[2026-08-23 09:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 09:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589162240001,"66":2242,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589162240001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:38:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:38:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589162240001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":160393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:38:17] local.INFO: GPS data processed {"connection_id":160393,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:38:17] local.INFO: Acknowledgment sent {"connection_id":160393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:38:22] local.INFO: TCP Data received {"connection_id":160393,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:38:22] local.INFO: Processing buffer {"connection_id":160393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:38:22] local.INFO: Packet analysis {"connection_id":160393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:38:22] local.INFO: Extracted packet for processing {"connection_id":160393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:38:22] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589162240001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787457960000,"timestamp_ms":1787457960000,"timestamp_seconds":1787457960,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccbf840"} 
[2026-08-23 09:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 09:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589162240001,"66":2242,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589162240001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:38:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:38:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589162240001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":160393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:38:22] local.INFO: GPS data processed {"connection_id":160393,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:38:22] local.INFO: Acknowledgment sent {"connection_id":160393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:38:24] local.INFO: TCP Data received {"connection_id":160604,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:38:24] local.INFO: Processing buffer {"connection_id":160604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:38:24] local.INFO: Packet analysis {"connection_id":160604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:38:24] local.INFO: Extracted packet for processing {"connection_id":160604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:38:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589124608001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787457819000,"timestamp_ms":1787457819000,"timestamp_seconds":1787457819,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc9d178"} 
[2026-08-23 09:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:38: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-08-23 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:38:24] 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-08-23 09: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-08-23 09:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589124608001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589124608001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:38:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:38:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589124608001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":160604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:38:24] local.INFO: GPS data processed {"connection_id":160604,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:38:24] local.INFO: Acknowledgment sent {"connection_id":160604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:38:35] local.INFO: TCP Data received {"connection_id":162980,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:38:35] local.INFO: Processing buffer {"connection_id":162980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:38:35] local.INFO: IMEI packet received {"connection_id":162980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":162980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:38:36] local.INFO: TCP Data received {"connection_id":162980,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:38:36] local.INFO: Processing buffer {"connection_id":162980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:38:36] local.INFO: IMEI packet received {"connection_id":162980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":162980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:38:37] local.INFO: TCP Data received {"connection_id":162980,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccbd900012d1967c0071feea80038011d26..."} 
[2026-08-23 09:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccbd900012d1967c0071feea80038011d26..."} 
[2026-08-23 09:38:37] local.INFO: Processing buffer {"connection_id":162980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccbd900012d1967c0071feea80038011d26..."} 
[2026-08-23 09:38:37] local.INFO: Packet analysis {"connection_id":162980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:38:37] local.INFO: Extracted packet for processing {"connection_id":162980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589230336001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787457952000,"timestamp_ms":1787457952000,"timestamp_seconds":1787457952,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccbd900"} 
[2026-08-23 09:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:37] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:37] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:37] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3227190597478324583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:37] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80265448339275776,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:37] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3393116161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:38:37] local.WARNING: Large IO value detected {"io_id":236,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:37] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:37] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,22,160,52,45,192,238,56,41,10,66,226,38,144,1,240,53,227,44,31,4,113,205,236,103,168,40,239,48,2,54,7],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:38:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538798736572416,"timestamp_seconds":4035538798736572.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":162980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":162980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":162980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589230336001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589230336001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:38:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589230336001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":162980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:38:37] local.INFO: GPS data processed {"connection_id":162980,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:38:37] local.INFO: Acknowledgment sent {"connection_id":162980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:38:40] local.INFO: TCP Data received {"connection_id":162980,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccc2b08012d1967c0071feea80038011d28..."} 
[2026-08-23 09:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccc2b08012d1967c0071feea80038011d28..."} 
[2026-08-23 09:38:40] local.INFO: Processing buffer {"connection_id":162980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccc2b08012d1967c0071feea80038011d28..."} 
[2026-08-23 09:38:40] local.INFO: Packet analysis {"connection_id":162980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ccc"} 
[2026-08-23 09:38:40] local.INFO: Extracted packet for processing {"connection_id":162980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ccc"} 
[2026-08-23 09:38:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589235712001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787457973000,"timestamp_ms":1787457973000,"timestamp_seconds":1787457973,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccc2b08"} 
[2026-08-23 09:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:40] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:40] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3227280791791540583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:40] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:40] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80264348827648000,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:40] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:40] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3398492161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:40] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:38:40] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:40] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:40] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,22,160,134,45,192,238,56,40,10,66,52,41,226,1,240,53,227,44,31,4,113,205,62,103,168,39,239,48,2,54,7],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:38:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538790146637824,"timestamp_seconds":4035538790146638.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":162980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":162980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":162980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589235712001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589235712001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:38:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:38:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589235712001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":162980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:38:40] local.INFO: GPS data processed {"connection_id":162980,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:38:40] local.INFO: Acknowledgment sent {"connection_id":162980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:38:51] local.INFO: TCP Data received {"connection_id":161560,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:38:51] local.INFO: Processing buffer {"connection_id":161560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:38:51] local.INFO: IMEI packet received {"connection_id":161560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":161560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:38:56] local.INFO: TCP Data received {"connection_id":161560,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:38:56] local.INFO: Processing buffer {"connection_id":161560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:38:56] local.INFO: IMEI packet received {"connection_id":161560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":161560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:38:57] local.INFO: TCP Data received {"connection_id":161560,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:38:57] local.INFO: Processing buffer {"connection_id":161560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:38:57] local.INFO: Packet analysis {"connection_id":161560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:38:57] local.INFO: Extracted packet for processing {"connection_id":161560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:38:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589124608001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787457819000,"timestamp_ms":1787457819000,"timestamp_seconds":1787457819,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc9d178"} 
[2026-08-23 09:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:38:57] 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-08-23 09:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589124608001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589124608001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:38:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:38:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589124608001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":161560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:38:57] local.INFO: GPS data processed {"connection_id":161560,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:38:57] local.INFO: Acknowledgment sent {"connection_id":161560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:39:02] local.INFO: TCP Data received {"connection_id":161560,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:39:02] local.INFO: Processing buffer {"connection_id":161560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cc9d178012d34c50006aa40980013008521..."} 
[2026-08-23 09:39:02] local.INFO: Packet analysis {"connection_id":161560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:39:02] local.INFO: Extracted packet for processing {"connection_id":161560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cc9"} 
[2026-08-23 09:39:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589124608001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787457819000,"timestamp_ms":1787457819000,"timestamp_seconds":1787457819,"priority":1,"record_length":96,"hex_timestamp":"000001a02cc9d178"} 
[2026-08-23 09:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:39:02] 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-08-23 09:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589124608001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589124608001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:39:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:39:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589124608001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":161560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:39:02] local.INFO: GPS data processed {"connection_id":161560,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:39:02] local.INFO: Acknowledgment sent {"connection_id":161560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:39:06] local.INFO: TCP Data received {"connection_id":160394,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:39:06] local.INFO: Processing buffer {"connection_id":160394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:39:06] local.INFO: IMEI packet received {"connection_id":160394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":160394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:39:11] local.INFO: TCP Data received {"connection_id":160394,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:39:11] local.INFO: Processing buffer {"connection_id":160394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:39:11] local.INFO: IMEI packet received {"connection_id":160394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":160394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:39:11] local.INFO: TCP Data received {"connection_id":162980,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccc7d10012d1967c0071feea80038011d27..."} 
[2026-08-23 09:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccc7d10012d1967c0071feea80038011d27..."} 
[2026-08-23 09:39:11] local.INFO: Processing buffer {"connection_id":162980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccc7d10012d1967c0071feea80038011d27..."} 
[2026-08-23 09:39:11] local.INFO: Packet analysis {"connection_id":162980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ccc"} 
[2026-08-23 09:39:11] local.INFO: Extracted packet for processing {"connection_id":162980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ccc"} 
[2026-08-23 09:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589241088001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787457994000,"timestamp_ms":1787457994000,"timestamp_seconds":1787457994,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccc7d10"} 
[2026-08-23 09:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:39:11] 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-08-23 09: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-08-23 09:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":162980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":162980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":162980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589241088001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589241088001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:39:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589241088001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":162980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:39:11] local.INFO: GPS data processed {"connection_id":162980,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:39:11] local.INFO: Acknowledgment sent {"connection_id":162980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:39:12] local.INFO: TCP Data received {"connection_id":160394,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:39:12] local.INFO: Processing buffer {"connection_id":160394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:39:12] local.INFO: Packet analysis {"connection_id":160394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:39:12] local.INFO: Extracted packet for processing {"connection_id":160394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:39:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589162240001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787457960000,"timestamp_ms":1787457960000,"timestamp_seconds":1787457960,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccbf840"} 
[2026-08-23 09:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:39: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-08-23 09: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 09:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589162240001,"66":2242,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589162240001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:39:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:39:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589162240001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":160394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:39:12] local.INFO: GPS data processed {"connection_id":160394,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:39:12] local.INFO: Acknowledgment sent {"connection_id":160394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:39:30] local.INFO: TCP Data received {"connection_id":161561,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:39:30] local.INFO: Processing buffer {"connection_id":161561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:39:30] local.INFO: IMEI packet received {"connection_id":161561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":161561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:39:35] local.INFO: TCP Data received {"connection_id":161561,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:39:35] local.INFO: Processing buffer {"connection_id":161561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:39:35] local.INFO: IMEI packet received {"connection_id":161561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":161561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:39:36] local.INFO: TCP Data received {"connection_id":161561,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccccf18012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccccf18012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:39:36] local.INFO: Processing buffer {"connection_id":161561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccccf18012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:39:36] local.INFO: Packet analysis {"connection_id":161561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ccc"} 
[2026-08-23 09:39:36] local.INFO: Extracted packet for processing {"connection_id":161561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ccc"} 
[2026-08-23 09:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589246464001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787458015000,"timestamp_ms":1787458015000,"timestamp_seconds":1787458015,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccccf18"} 
[2026-08-23 09:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 09:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589246464001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589246464001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:39:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:39:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589246464001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":161561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:39:36] local.INFO: GPS data processed {"connection_id":161561,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:39:36] local.INFO: Acknowledgment sent {"connection_id":161561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:39:43] local.INFO: TCP Data received {"connection_id":160394,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:39:43] local.INFO: Processing buffer {"connection_id":160394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:39:43] local.INFO: Packet analysis {"connection_id":160394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:39:43] local.INFO: Extracted packet for processing {"connection_id":160394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:39:43] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589162240001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787457960000,"timestamp_ms":1787457960000,"timestamp_seconds":1787457960,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccbf840"} 
[2026-08-23 09:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 09:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589162240001,"66":2242,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589162240001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:39:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:39:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589162240001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":160394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:39:43] local.INFO: GPS data processed {"connection_id":160394,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:39:43] local.INFO: Acknowledgment sent {"connection_id":160394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:39:47] local.INFO: TCP Data received {"connection_id":161562,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:39:47] local.INFO: Processing buffer {"connection_id":161562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:39:47] local.INFO: IMEI packet received {"connection_id":161562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":161562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:39:51] local.INFO: TCP Data received {"connection_id":161562,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:39:51] local.INFO: Processing buffer {"connection_id":161562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:39:51] local.INFO: IMEI packet received {"connection_id":161562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":161562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:39:52] local.INFO: TCP Data received {"connection_id":161562,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:39:52] local.INFO: Processing buffer {"connection_id":161562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:39:52] local.INFO: Packet analysis {"connection_id":161562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:39:52] local.INFO: Extracted packet for processing {"connection_id":161562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589201664001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787458120000,"timestamp_ms":1787458120000,"timestamp_seconds":1787458120,"priority":1,"record_length":96,"hex_timestamp":"000001a02cce6940"} 
[2026-08-23 09:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:39: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-08-23 09:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:39:52] 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-08-23 09:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589201664001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589201664001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:39:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:39:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589201664001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":161562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:39:52] local.INFO: GPS data processed {"connection_id":161562,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:39:52] local.INFO: Acknowledgment sent {"connection_id":161562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:40:06] local.INFO: TCP Data received {"connection_id":162981,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:40:06] local.INFO: Processing buffer {"connection_id":162981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:40:06] local.INFO: IMEI packet received {"connection_id":162981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":162981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:40:07] local.INFO: TCP Data received {"connection_id":161561,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccd2120012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccd2120012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:40:07] local.INFO: Processing buffer {"connection_id":161561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccd2120012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:40:07] local.INFO: Packet analysis {"connection_id":161561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ccd"} 
[2026-08-23 09:40:07] local.INFO: Extracted packet for processing {"connection_id":161561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ccd"} 
[2026-08-23 09:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589251840001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787458036000,"timestamp_ms":1787458036000,"timestamp_seconds":1787458036,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccd2120"} 
[2026-08-23 09:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:40:07] 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-08-23 09:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589251840001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589251840001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:40:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:40:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589251840001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":161561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:40:07] local.INFO: GPS data processed {"connection_id":161561,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:40:07] local.INFO: Acknowledgment sent {"connection_id":161561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:40:11] local.INFO: TCP Data received {"connection_id":162981,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:40:11] local.INFO: Processing buffer {"connection_id":162981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:40:11] local.INFO: IMEI packet received {"connection_id":162981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":162981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:40:12] local.INFO: TCP Data received {"connection_id":162981,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:40:12] local.INFO: Processing buffer {"connection_id":162981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:40:12] local.INFO: Packet analysis {"connection_id":162981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:40:12] local.INFO: Extracted packet for processing {"connection_id":162981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:40:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589162240001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787457960000,"timestamp_ms":1787457960000,"timestamp_seconds":1787457960,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccbf840"} 
[2026-08-23 09:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 09:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589162240001,"66":2242,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589162240001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:40:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589162240001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":162981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:40:12] local.INFO: GPS data processed {"connection_id":162981,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:40:12] local.INFO: Acknowledgment sent {"connection_id":162981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:40:24] local.INFO: TCP Data received {"connection_id":161562,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:40:24] local.INFO: Processing buffer {"connection_id":161562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:40:24] local.INFO: Packet analysis {"connection_id":161562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:40:24] local.INFO: Extracted packet for processing {"connection_id":161562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:40:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589201664001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787458120000,"timestamp_ms":1787458120000,"timestamp_seconds":1787458120,"priority":1,"record_length":96,"hex_timestamp":"000001a02cce6940"} 
[2026-08-23 09:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:40: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-08-23 09:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:40:24] 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-08-23 09:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:40: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-08-23 09:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589201664001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589201664001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:40:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:40:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589201664001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":161562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:40:24] local.INFO: GPS data processed {"connection_id":161562,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:40:24] local.INFO: Acknowledgment sent {"connection_id":161562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:40:30] local.INFO: TCP Data received {"connection_id":161563,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:40:30] local.INFO: Processing buffer {"connection_id":161563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:40:30] local.INFO: IMEI packet received {"connection_id":161563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":161563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:40:35] local.INFO: TCP Data received {"connection_id":161563,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:40:35] local.INFO: Processing buffer {"connection_id":161563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:40:35] local.INFO: IMEI packet received {"connection_id":161563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":161563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:40:36] local.INFO: TCP Data received {"connection_id":161563,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccd7328012d1967c0071feea80038011d29..."} 
[2026-08-23 09:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccd7328012d1967c0071feea80038011d29..."} 
[2026-08-23 09:40:36] local.INFO: Processing buffer {"connection_id":161563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccd7328012d1967c0071feea80038011d29..."} 
[2026-08-23 09:40:36] local.INFO: Packet analysis {"connection_id":161563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ccd"} 
[2026-08-23 09:40:36] local.INFO: Extracted packet for processing {"connection_id":161563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ccd"} 
[2026-08-23 09:40:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589257216001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787458057000,"timestamp_ms":1787458057000,"timestamp_seconds":1787458057,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccd7328"} 
[2026-08-23 09:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:40:36] 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-08-23 09:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589257216001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589257216001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:40:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:40:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589257216001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":161563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:40:36] local.INFO: GPS data processed {"connection_id":161563,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:40:36] local.INFO: Acknowledgment sent {"connection_id":161563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:40:43] local.INFO: TCP Data received {"connection_id":162981,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:40:43] local.INFO: Processing buffer {"connection_id":162981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccbf840012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:40:43] local.INFO: Packet analysis {"connection_id":162981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:40:43] local.INFO: Extracted packet for processing {"connection_id":162981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ccb"} 
[2026-08-23 09:40:43] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589162240001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787457960000,"timestamp_ms":1787457960000,"timestamp_seconds":1787457960,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccbf840"} 
[2026-08-23 09:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:40: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-08-23 09: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 09:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589162240001,"66":2242,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589162240001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:40:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:40:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589162240001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":162981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:40:43] local.INFO: GPS data processed {"connection_id":162981,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:40:43] local.INFO: Acknowledgment sent {"connection_id":162981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:40:46] local.INFO: TCP Data received {"connection_id":160395,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:40:46] local.INFO: Processing buffer {"connection_id":160395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:40:46] local.INFO: IMEI packet received {"connection_id":160395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":160395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:40:52] local.INFO: TCP Data received {"connection_id":160395,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:40:52] local.INFO: Processing buffer {"connection_id":160395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:40:52] local.INFO: IMEI packet received {"connection_id":160395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":160395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:40:54] local.INFO: TCP Data received {"connection_id":160395,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:40:54] local.INFO: Processing buffer {"connection_id":160395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:40:54] local.INFO: Packet analysis {"connection_id":160395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:40:54] local.INFO: Extracted packet for processing {"connection_id":160395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:40:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 09:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589201664001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787458120000,"timestamp_ms":1787458120000,"timestamp_seconds":1787458120,"priority":1,"record_length":96,"hex_timestamp":"000001a02cce6940"} 
[2026-08-23 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-08-23 09:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:40:54] 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-08-23 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-08-23 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-08-23 09:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589201664001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589201664001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:40:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:40:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589201664001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":160395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:40:54] local.INFO: GPS data processed {"connection_id":160395,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:40:54] local.INFO: Acknowledgment sent {"connection_id":160395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:41:06] local.INFO: TCP Data received {"connection_id":162982,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:41:06] local.INFO: Processing buffer {"connection_id":162982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:41:06] local.INFO: IMEI packet received {"connection_id":162982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":162982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:41:07] local.INFO: TCP Data received {"connection_id":161563,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccdc530012d1967c0071feea80038011d2b..."} 
[2026-08-23 09:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccdc530012d1967c0071feea80038011d2b..."} 
[2026-08-23 09:41:07] local.INFO: Processing buffer {"connection_id":161563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccdc530012d1967c0071feea80038011d2b..."} 
[2026-08-23 09:41:07] local.INFO: Packet analysis {"connection_id":161563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ccd"} 
[2026-08-23 09:41:07] local.INFO: Extracted packet for processing {"connection_id":161563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ccd"} 
[2026-08-23 09:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589262592001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787458078000,"timestamp_ms":1787458078000,"timestamp_seconds":1787458078,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccdc530"} 
[2026-08-23 09:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:41:07] 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-08-23 09:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589262592001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589262592001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:41:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:41:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589262592001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":161563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:41:07] local.INFO: GPS data processed {"connection_id":161563,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:41:07] local.INFO: Acknowledgment sent {"connection_id":161563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:41:11] local.INFO: TCP Data received {"connection_id":162982,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:41:11] local.INFO: Processing buffer {"connection_id":162982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:41:11] local.INFO: IMEI packet received {"connection_id":162982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":162982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:41:12] local.INFO: TCP Data received {"connection_id":162982,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd09008012d7e154005d3bf000007006c28..."} 
[2026-08-23 09:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd09008012d7e154005d3bf000007006c28..."} 
[2026-08-23 09:41:12] local.INFO: Processing buffer {"connection_id":162982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd09008012d7e154005d3bf000007006c28..."} 
[2026-08-23 09:41:12] local.INFO: Packet analysis {"connection_id":162982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd0"} 
[2026-08-23 09:41:12] local.INFO: Extracted packet for processing {"connection_id":162982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd0"} 
[2026-08-23 09:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589237760001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787458261000,"timestamp_ms":1787458261000,"timestamp_seconds":1787458261,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd09008"} 
[2026-08-23 09:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 09:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589237760001,"66":2242,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589237760001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:41:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589237760001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":162982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:41:12] local.INFO: GPS data processed {"connection_id":162982,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:41:12] local.INFO: Acknowledgment sent {"connection_id":162982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:41:26] local.INFO: TCP Data received {"connection_id":160395,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:41:26] local.INFO: Processing buffer {"connection_id":160395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:41:26] local.INFO: Packet analysis {"connection_id":160395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:41:26] local.INFO: Extracted packet for processing {"connection_id":160395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:41:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589201664001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787458120000,"timestamp_ms":1787458120000,"timestamp_seconds":1787458120,"priority":1,"record_length":96,"hex_timestamp":"000001a02cce6940"} 
[2026-08-23 09:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:41: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-08-23 09:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589201664001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589201664001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:41:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:41:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589201664001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":160395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:41:26] local.INFO: GPS data processed {"connection_id":160395,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:41:26] local.INFO: Acknowledgment sent {"connection_id":160395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:41:31] local.INFO: TCP Data received {"connection_id":161564,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:41:31] local.INFO: Processing buffer {"connection_id":161564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:41:31] local.INFO: IMEI packet received {"connection_id":161564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":161564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:41:35] local.INFO: TCP Data received {"connection_id":161564,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:41:35] local.INFO: Processing buffer {"connection_id":161564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:41:35] local.INFO: IMEI packet received {"connection_id":161564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":161564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:41:36] local.INFO: TCP Data received {"connection_id":161564,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cce1738012d1967c0071feea80038011d29..."} 
[2026-08-23 09:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cce1738012d1967c0071feea80038011d29..."} 
[2026-08-23 09:41:36] local.INFO: Processing buffer {"connection_id":161564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cce1738012d1967c0071feea80038011d29..."} 
[2026-08-23 09:41:36] local.INFO: Packet analysis {"connection_id":161564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:41:36] local.INFO: Extracted packet for processing {"connection_id":161564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:41:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589267968001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787458099000,"timestamp_ms":1787458099000,"timestamp_seconds":1787458099,"priority":1,"record_length":96,"hex_timestamp":"000001a02cce1738"} 
[2026-08-23 09:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:41:36] 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-08-23 09: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-08-23 09:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589267968001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589267968001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:41:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:41:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589267968001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":161564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:41:36] local.INFO: GPS data processed {"connection_id":161564,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:41:36] local.INFO: Acknowledgment sent {"connection_id":161564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:41:43] local.INFO: TCP Data received {"connection_id":162982,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd09008012d7e154005d3bf000007006c28..."} 
[2026-08-23 09:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd09008012d7e154005d3bf000007006c28..."} 
[2026-08-23 09:41:43] local.INFO: Processing buffer {"connection_id":162982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd09008012d7e154005d3bf000007006c28..."} 
[2026-08-23 09:41:43] local.INFO: Packet analysis {"connection_id":162982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd0"} 
[2026-08-23 09:41:43] local.INFO: Extracted packet for processing {"connection_id":162982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd0"} 
[2026-08-23 09:41:43] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589237760001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787458261000,"timestamp_ms":1787458261000,"timestamp_seconds":1787458261,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd09008"} 
[2026-08-23 09:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 09:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589237760001,"66":2242,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589237760001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:41:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:41:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589237760001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":162982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:41:43] local.INFO: GPS data processed {"connection_id":162982,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:41:43] local.INFO: Acknowledgment sent {"connection_id":162982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:41:46] local.INFO: TCP Data received {"connection_id":160605,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:41:46] local.INFO: Processing buffer {"connection_id":160605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:41:46] local.INFO: IMEI packet received {"connection_id":160605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":160605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:41:52] local.INFO: TCP Data received {"connection_id":160605,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:41:52] local.INFO: Processing buffer {"connection_id":160605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:41:52] local.INFO: IMEI packet received {"connection_id":160605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":160605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:41:53] local.INFO: TCP Data received {"connection_id":160605,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:41:53] local.INFO: Processing buffer {"connection_id":160605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:41:53] local.INFO: Packet analysis {"connection_id":160605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:41:53] local.INFO: Extracted packet for processing {"connection_id":160605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589201664001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787458120000,"timestamp_ms":1787458120000,"timestamp_seconds":1787458120,"priority":1,"record_length":96,"hex_timestamp":"000001a02cce6940"} 
[2026-08-23 09:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:41:53] 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-08-23 09:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:41:53] 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-08-23 09:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589201664001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589201664001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:41:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:41:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589201664001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":160605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:41:53] local.INFO: GPS data processed {"connection_id":160605,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:41:53] local.INFO: Acknowledgment sent {"connection_id":160605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:42:06] local.INFO: TCP Data received {"connection_id":161565,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161565,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:42:06] local.INFO: Processing buffer {"connection_id":161565,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:42:06] local.INFO: IMEI packet received {"connection_id":161565,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":161565,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:42:07] local.INFO: TCP Data received {"connection_id":161564,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cce6940012d1967c0071feea80038011d2b..."} 
[2026-08-23 09:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cce6940012d1967c0071feea80038011d2b..."} 
[2026-08-23 09:42:07] local.INFO: Processing buffer {"connection_id":161564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cce6940012d1967c0071feea80038011d2b..."} 
[2026-08-23 09:42:07] local.INFO: Packet analysis {"connection_id":161564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:42:07] local.INFO: Extracted packet for processing {"connection_id":161564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 09:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589273344001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787458120000,"timestamp_ms":1787458120000,"timestamp_seconds":1787458120,"priority":1,"record_length":96,"hex_timestamp":"000001a02cce6940"} 
[2026-08-23 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-08-23 09:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:42:07] 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-08-23 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-08-23 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-08-23 09:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589273344001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589273344001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:42:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:42:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589273344001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":161564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:42:07] local.INFO: GPS data processed {"connection_id":161564,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:42:07] local.INFO: Acknowledgment sent {"connection_id":161564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:42:11] local.INFO: TCP Data received {"connection_id":161565,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161565,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:42:11] local.INFO: Processing buffer {"connection_id":161565,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:42:11] local.INFO: IMEI packet received {"connection_id":161565,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":161565,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:42:12] local.INFO: TCP Data received {"connection_id":161565,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd09008012d7e154005d3bf000007006c28..."} 
[2026-08-23 09:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd09008012d7e154005d3bf000007006c28..."} 
[2026-08-23 09:42:12] local.INFO: Processing buffer {"connection_id":161565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd09008012d7e154005d3bf000007006c28..."} 
[2026-08-23 09:42:12] local.INFO: Packet analysis {"connection_id":161565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd0"} 
[2026-08-23 09:42:12] local.INFO: Extracted packet for processing {"connection_id":161565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd0"} 
[2026-08-23 09:42:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589237760001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787458261000,"timestamp_ms":1787458261000,"timestamp_seconds":1787458261,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd09008"} 
[2026-08-23 09:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 09:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589237760001,"66":2242,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589237760001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:42:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:42:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589237760001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":161565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:42:12] local.INFO: GPS data processed {"connection_id":161565,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:42:12] local.INFO: Acknowledgment sent {"connection_id":161565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:42:24] local.INFO: TCP Data received {"connection_id":160605,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:42:24] local.INFO: Processing buffer {"connection_id":160605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:42:24] local.INFO: Packet analysis {"connection_id":160605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:42:24] local.INFO: Extracted packet for processing {"connection_id":160605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:42:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589201664001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787458120000,"timestamp_ms":1787458120000,"timestamp_seconds":1787458120,"priority":1,"record_length":96,"hex_timestamp":"000001a02cce6940"} 
[2026-08-23 09:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:42: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-08-23 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:42:24] 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-08-23 09: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-08-23 09:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:42: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-08-23 09:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589201664001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589201664001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:42:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:42:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589201664001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":160605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:42:24] local.INFO: GPS data processed {"connection_id":160605,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:42:24] local.INFO: Acknowledgment sent {"connection_id":160605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:42:30] local.INFO: TCP Data received {"connection_id":160396,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:42:30] local.INFO: Processing buffer {"connection_id":160396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:42:30] local.INFO: IMEI packet received {"connection_id":160396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":160396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:42:35] local.INFO: TCP Data received {"connection_id":160396,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:42:35] local.INFO: Processing buffer {"connection_id":160396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:42:35] local.INFO: IMEI packet received {"connection_id":160396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":160396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:42:36] local.INFO: TCP Data received {"connection_id":160396,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccebb48012d1967c0071feea80038011d28..."} 
[2026-08-23 09:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccebb48012d1967c0071feea80038011d28..."} 
[2026-08-23 09:42:36] local.INFO: Processing buffer {"connection_id":160396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccebb48012d1967c0071feea80038011d28..."} 
[2026-08-23 09:42:36] local.INFO: Packet analysis {"connection_id":160396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:42:36] local.INFO: Extracted packet for processing {"connection_id":160396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589278720001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787458141000,"timestamp_ms":1787458141000,"timestamp_seconds":1787458141,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccebb48"} 
[2026-08-23 09:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 09:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589278720001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589278720001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:42:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:42:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589278720001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":160396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:42:36] local.INFO: GPS data processed {"connection_id":160396,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:42:36] local.INFO: Acknowledgment sent {"connection_id":160396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:42:43] local.INFO: TCP Data received {"connection_id":161565,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd216a8012d7e154005d3bf000007006c27..."} 
[2026-08-23 09:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd216a8012d7e154005d3bf000007006c27..."} 
[2026-08-23 09:42:43] local.INFO: Processing buffer {"connection_id":161565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd216a8012d7e154005d3bf000007006c27..."} 
[2026-08-23 09:42:43] local.INFO: Packet analysis {"connection_id":161565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd2"} 
[2026-08-23 09:42:43] local.INFO: Extracted packet for processing {"connection_id":161565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd2"} 
[2026-08-23 09:42:43] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589314816001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787458361000,"timestamp_ms":1787458361000,"timestamp_seconds":1787458361,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd216a8"} 
[2026-08-23 09:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 09:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589314816001,"66":2231,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589314816001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:42:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:42:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589314816001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":161565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:42:43] local.INFO: GPS data processed {"connection_id":161565,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:42:43] local.INFO: Acknowledgment sent {"connection_id":161565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:42:46] local.INFO: TCP Data received {"connection_id":162983,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:42:46] local.INFO: Processing buffer {"connection_id":162983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:42:46] local.INFO: IMEI packet received {"connection_id":162983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":162983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:42:51] local.INFO: TCP Data received {"connection_id":162983,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:42:51] local.INFO: Processing buffer {"connection_id":162983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:42:51] local.INFO: IMEI packet received {"connection_id":162983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":162983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:42:53] local.INFO: TCP Data received {"connection_id":162983,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:42:53] local.INFO: Processing buffer {"connection_id":162983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:42:53] local.INFO: Packet analysis {"connection_id":162983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:42:53] local.INFO: Extracted packet for processing {"connection_id":162983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:42:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589201664001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787458120000,"timestamp_ms":1787458120000,"timestamp_seconds":1787458120,"priority":1,"record_length":96,"hex_timestamp":"000001a02cce6940"} 
[2026-08-23 09:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:42:53] 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-08-23 09:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:42:53] 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-08-23 09:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589201664001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589201664001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:42:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:42:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589201664001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":162983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:42:53] local.INFO: GPS data processed {"connection_id":162983,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:42:53] local.INFO: Acknowledgment sent {"connection_id":162983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:43:07] local.INFO: TCP Data received {"connection_id":160396,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccf0d50012d1967c0071feea80038011d28..."} 
[2026-08-23 09:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccf0d50012d1967c0071feea80038011d28..."} 
[2026-08-23 09:43:07] local.INFO: Processing buffer {"connection_id":160396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccf0d50012d1967c0071feea80038011d28..."} 
[2026-08-23 09:43:07] local.INFO: Packet analysis {"connection_id":160396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ccf"} 
[2026-08-23 09:43:07] local.INFO: Extracted packet for processing {"connection_id":160396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ccf"} 
[2026-08-23 09:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589284096001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787458162000,"timestamp_ms":1787458162000,"timestamp_seconds":1787458162,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccf0d50"} 
[2026-08-23 09:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:07] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3228092540610484583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:07] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:07] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80266547850903552,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3446876161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:43:07] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:07] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,22,160,105,45,192,238,56,43,10,66,23,41,197,1,240,53,227,44,31,4,113,205,33,103,168,42,239,48,2,54,7,39],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:43:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538798736572416,"timestamp_seconds":4035538798736572.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589284096001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589284096001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:43:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:43:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589284096001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":160396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:43:07] local.INFO: GPS data processed {"connection_id":160396,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:43:07] local.INFO: Acknowledgment sent {"connection_id":160396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:43:11] local.INFO: TCP Data received {"connection_id":160606,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:43:11] local.INFO: Processing buffer {"connection_id":160606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:43:11] local.INFO: IMEI packet received {"connection_id":160606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":160606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:43:16] local.INFO: TCP Data received {"connection_id":160606,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:43:16] local.INFO: Processing buffer {"connection_id":160606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:43:16] local.INFO: IMEI packet received {"connection_id":160606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":160606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:43:17] local.INFO: TCP Data received {"connection_id":160606,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd216a8012d7e154005d3bf000007006c27..."} 
[2026-08-23 09:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd216a8012d7e154005d3bf000007006c27..."} 
[2026-08-23 09:43:17] local.INFO: Processing buffer {"connection_id":160606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd216a8012d7e154005d3bf000007006c27..."} 
[2026-08-23 09:43:17] local.INFO: Packet analysis {"connection_id":160606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd2"} 
[2026-08-23 09:43:17] local.INFO: Extracted packet for processing {"connection_id":160606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd2"} 
[2026-08-23 09:43:17] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09:43:17] 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-08-23 09:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589340416001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787458361000,"timestamp_ms":1787458361000,"timestamp_seconds":1787458361,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd216a8"} 
[2026-08-23 09:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 09:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589340416001,"66":2231,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589340416001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:43:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:43:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589340416001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":160606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685715,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:43:17] local.INFO: GPS data processed {"connection_id":160606,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:43:17] local.INFO: Acknowledgment sent {"connection_id":160606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:43:24] local.INFO: TCP Data received {"connection_id":162983,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:43:24] local.INFO: Processing buffer {"connection_id":162983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:43:24] local.INFO: Packet analysis {"connection_id":162983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:43:24] local.INFO: Extracted packet for processing {"connection_id":162983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:43:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589201664001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787458120000,"timestamp_ms":1787458120000,"timestamp_seconds":1787458120,"priority":1,"record_length":96,"hex_timestamp":"000001a02cce6940"} 
[2026-08-23 09:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:43: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-08-23 09:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:43:24] 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-08-23 09:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:43:24] 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-08-23 09:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589201664001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589201664001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:43:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:43:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589201664001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":162983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:43:24] local.INFO: GPS data processed {"connection_id":162983,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:43:24] local.INFO: Acknowledgment sent {"connection_id":162983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:43:30] local.INFO: TCP Data received {"connection_id":160607,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:43:30] local.INFO: Processing buffer {"connection_id":160607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:43:30] local.INFO: IMEI packet received {"connection_id":160607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":160607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:43:30] local.INFO: TCP Data received {"connection_id":160607,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:43:30] local.INFO: Processing buffer {"connection_id":160607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:43:30] local.INFO: IMEI packet received {"connection_id":160607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":160607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:43:35] local.INFO: TCP Data received {"connection_id":160607,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:43:35] local.INFO: Processing buffer {"connection_id":160607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:43:35] local.INFO: IMEI packet received {"connection_id":160607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":160607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:43:36] local.INFO: TCP Data received {"connection_id":160607,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccf5f58012d1967c0071feea80038011d27..."} 
[2026-08-23 09:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccf5f58012d1967c0071feea80038011d27..."} 
[2026-08-23 09:43:36] local.INFO: Processing buffer {"connection_id":160607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccf5f58012d1967c0071feea80038011d27..."} 
[2026-08-23 09:43:36] local.INFO: Packet analysis {"connection_id":160607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ccf"} 
[2026-08-23 09:43:36] local.INFO: Extracted packet for processing {"connection_id":160607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ccf"} 
[2026-08-23 09:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589289472001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787458183000,"timestamp_ms":1787458183000,"timestamp_seconds":1787458183,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccf5f58"} 
[2026-08-23 09:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:36] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3228182734923700583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:36] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80266547850903552,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3452252161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:43:36] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:36] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,22,160,187,45,192,238,56,40,10,66,105,43,23,1,240,53,227,44,31,4,113,205,115,103,168,41,239,48,2,54,7,42],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:43:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538798736572416,"timestamp_seconds":4035538798736572.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589289472001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589289472001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:43:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:43:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589289472001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":160607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:43:36] local.INFO: GPS data processed {"connection_id":160607,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:43:36] local.INFO: Acknowledgment sent {"connection_id":160607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:43:48] local.INFO: TCP Data received {"connection_id":160606,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd216a8012d7e154005d3bf000007006c27..."} 
[2026-08-23 09:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd216a8012d7e154005d3bf000007006c27..."} 
[2026-08-23 09:43:48] local.INFO: Processing buffer {"connection_id":160606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd216a8012d7e154005d3bf000007006c27..."} 
[2026-08-23 09:43:48] local.INFO: Packet analysis {"connection_id":160606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd2"} 
[2026-08-23 09:43:48] local.INFO: Extracted packet for processing {"connection_id":160606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd2"} 
[2026-08-23 09:43:48] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589340416001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787458361000,"timestamp_ms":1787458361000,"timestamp_seconds":1787458361,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd216a8"} 
[2026-08-23 09:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 09:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589340416001,"66":2231,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589340416001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:43:48] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:43:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589340416001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":160606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685718,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:43:48] local.INFO: GPS data processed {"connection_id":160606,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:43:48] local.INFO: Acknowledgment sent {"connection_id":160606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:43:51] local.INFO: TCP Data received {"connection_id":160608,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:43:51] local.INFO: Processing buffer {"connection_id":160608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:43:51] local.INFO: IMEI packet received {"connection_id":160608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":160608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:43:56] local.INFO: TCP Data received {"connection_id":160608,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:43:56] local.INFO: Processing buffer {"connection_id":160608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:43:56] local.INFO: IMEI packet received {"connection_id":160608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":160608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:43:57] local.INFO: TCP Data received {"connection_id":160608,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:43:57] local.INFO: Processing buffer {"connection_id":160608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:43:57] local.INFO: Packet analysis {"connection_id":160608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:43:57] local.INFO: Extracted packet for processing {"connection_id":160608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:43:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589201664001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787458120000,"timestamp_ms":1787458120000,"timestamp_seconds":1787458120,"priority":1,"record_length":96,"hex_timestamp":"000001a02cce6940"} 
[2026-08-23 09:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:43:57] 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-08-23 09:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589201664001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589201664001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:43:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:43:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589201664001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":160608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:43:57] local.INFO: GPS data processed {"connection_id":160608,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:43:57] local.INFO: Acknowledgment sent {"connection_id":160608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:44:02] local.INFO: TCP Data received {"connection_id":160608,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:44:02] local.INFO: Processing buffer {"connection_id":160608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cce6940012d34c50006aa4098000b00851e..."} 
[2026-08-23 09:44:02] local.INFO: Packet analysis {"connection_id":160608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:44:02] local.INFO: Extracted packet for processing {"connection_id":160608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cce"} 
[2026-08-23 09:44:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589201664001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787458120000,"timestamp_ms":1787458120000,"timestamp_seconds":1787458120,"priority":1,"record_length":96,"hex_timestamp":"000001a02cce6940"} 
[2026-08-23 09:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:44:02] 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-08-23 09: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-08-23 09:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589201664001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589201664001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:44:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:44:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589201664001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":160608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:44:02] local.INFO: GPS data processed {"connection_id":160608,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:44:02] local.INFO: Acknowledgment sent {"connection_id":160608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:44:06] local.INFO: TCP Data received {"connection_id":161566,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:44:06] local.INFO: Processing buffer {"connection_id":161566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:44:06] local.INFO: IMEI packet received {"connection_id":161566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":161566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:44:07] local.INFO: TCP Data received {"connection_id":160607,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ccfb160012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ccfb160012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:44:07] local.INFO: Processing buffer {"connection_id":160607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ccfb160012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:44:07] local.INFO: Packet analysis {"connection_id":160607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ccf"} 
[2026-08-23 09:44:07] local.INFO: Extracted packet for processing {"connection_id":160607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ccf"} 
[2026-08-23 09:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589294848001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787458204000,"timestamp_ms":1787458204000,"timestamp_seconds":1787458204,"priority":1,"record_length":96,"hex_timestamp":"000001a02ccfb160"} 
[2026-08-23 09:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:44:07] 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-08-23 09:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:44:07] 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-08-23 09:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589294848001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589294848001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:44:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:44:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589294848001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":160607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:44:07] local.INFO: GPS data processed {"connection_id":160607,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:44:07] local.INFO: Acknowledgment sent {"connection_id":160607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:44:10] local.INFO: TCP Data received {"connection_id":161566,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:44:10] local.INFO: Processing buffer {"connection_id":161566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:44:10] local.INFO: IMEI packet received {"connection_id":161566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":161566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:44:11] local.INFO: TCP Data received {"connection_id":161566,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd216a8012d7e154005d3bf000007006c27..."} 
[2026-08-23 09:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd216a8012d7e154005d3bf000007006c27..."} 
[2026-08-23 09:44:11] local.INFO: Processing buffer {"connection_id":161566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd216a8012d7e154005d3bf000007006c27..."} 
[2026-08-23 09:44:11] local.INFO: Packet analysis {"connection_id":161566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd2"} 
[2026-08-23 09:44:11] local.INFO: Extracted packet for processing {"connection_id":161566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd2"} 
[2026-08-23 09:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09:44:11] 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-08-23 09:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589340416001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787458361000,"timestamp_ms":1787458361000,"timestamp_seconds":1787458361,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd216a8"} 
[2026-08-23 09:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 09:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589340416001,"66":2231,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589340416001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:44:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589340416001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":161566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685722,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:44:11] local.INFO: GPS data processed {"connection_id":161566,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:44:11] local.INFO: Acknowledgment sent {"connection_id":161566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:44:33] local.INFO: TCP Data received {"connection_id":161567,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:44:33] local.INFO: Processing buffer {"connection_id":161567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:44:33] local.INFO: IMEI packet received {"connection_id":161567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":161567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:44:35] local.INFO: TCP Data received {"connection_id":161567,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:44:35] local.INFO: Processing buffer {"connection_id":161567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:44:35] local.INFO: IMEI packet received {"connection_id":161567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":161567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:44:40] local.INFO: TCP Data received {"connection_id":161567,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:44:40] local.INFO: Processing buffer {"connection_id":161567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:44:40] local.INFO: IMEI packet received {"connection_id":161567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":161567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:44:40] local.INFO: TCP Data received {"connection_id":161567,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd00368012d1967c0071feea80038011d29..."} 
[2026-08-23 09:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd00368012d1967c0071feea80038011d29..."} 
[2026-08-23 09:44:40] local.INFO: Processing buffer {"connection_id":161567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd00368012d1967c0071feea80038011d29..."} 
[2026-08-23 09:44:40] local.INFO: Packet analysis {"connection_id":161567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd0"} 
[2026-08-23 09:44:40] local.INFO: Extracted packet for processing {"connection_id":161567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd0"} 
[2026-08-23 09:44:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589300224001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787458225000,"timestamp_ms":1787458225000,"timestamp_seconds":1787458225,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd00368"} 
[2026-08-23 09:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:44:40] 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-08-23 09:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:44:40] 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-08-23 09:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589300224001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589300224001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:44:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:44:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589300224001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":161567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:44:40] local.INFO: GPS data processed {"connection_id":161567,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:44:40] local.INFO: Acknowledgment sent {"connection_id":161567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:44:42] local.INFO: TCP Data received {"connection_id":161566,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd27468012d7e168005d3bf080007006c29..."} 
[2026-08-23 09:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd27468012d7e168005d3bf080007006c29..."} 
[2026-08-23 09:44:42] local.INFO: Processing buffer {"connection_id":161566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd27468012d7e168005d3bf080007006c29..."} 
[2026-08-23 09:44:42] local.INFO: Packet analysis {"connection_id":161566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd2"} 
[2026-08-23 09:44:42] local.INFO: Extracted packet for processing {"connection_id":161566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd2"} 
[2026-08-23 09:44:42] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763080,"longitude_deg":76.3238016,"latitude_deg":9.776308,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3bf08","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589340416001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787458385000,"timestamp_ms":1787458385000,"timestamp_seconds":1787458385,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd27468"} 
[2026-08-23 09:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 09:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589340416001,"66":11917,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589340416001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:44:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:44:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589340416001,"power":11917,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":161566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:44:42] local.INFO: GPS data processed {"connection_id":161566,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:44:42] local.INFO: Acknowledgment sent {"connection_id":161566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:44:45] local.INFO: TCP Data received {"connection_id":161567,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd05570012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd05570012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:44:45] local.INFO: Processing buffer {"connection_id":161567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd05570012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:44:45] local.INFO: Packet analysis {"connection_id":161567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd0"} 
[2026-08-23 09:44:45] local.INFO: Extracted packet for processing {"connection_id":161567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd0"} 
[2026-08-23 09:44:45] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589305600001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787458246000,"timestamp_ms":1787458246000,"timestamp_seconds":1787458246,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd05570"} 
[2026-08-23 09:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:44:45] 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-08-23 09:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589305600001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589305600001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:44:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:44:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589305600001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":161567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:44:45] local.INFO: GPS data processed {"connection_id":161567,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:44:45] local.INFO: Acknowledgment sent {"connection_id":161567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:44:47] local.INFO: TCP Data received {"connection_id":160397,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:44:47] local.INFO: Processing buffer {"connection_id":160397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:44:47] local.INFO: IMEI packet received {"connection_id":160397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":160397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:44:52] local.INFO: TCP Data received {"connection_id":160397,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:44:52] local.INFO: Processing buffer {"connection_id":160397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:44:52] local.INFO: IMEI packet received {"connection_id":160397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":160397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:44:52] local.INFO: TCP Data received {"connection_id":160397,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:44:52] local.INFO: Processing buffer {"connection_id":160397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:44:52] local.INFO: Packet analysis {"connection_id":160397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:44:52] local.INFO: Extracted packet for processing {"connection_id":160397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:44:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589278720001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787458421000,"timestamp_ms":1787458421000,"timestamp_seconds":1787458421,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd30108"} 
[2026-08-23 09:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:44: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-08-23 09:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:44:52] 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-08-23 09:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:44:52] 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-08-23 09:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589278720001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589278720001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:44:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:44:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589278720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":160397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:44:52] local.INFO: GPS data processed {"connection_id":160397,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:44:52] local.INFO: Acknowledgment sent {"connection_id":160397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:45:06] local.INFO: TCP Data received {"connection_id":162984,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:45:06] local.INFO: Processing buffer {"connection_id":162984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:45:06] local.INFO: IMEI packet received {"connection_id":162984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":162984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:45:11] local.INFO: TCP Data received {"connection_id":162984,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:45:11] local.INFO: Processing buffer {"connection_id":162984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:45:11] local.INFO: IMEI packet received {"connection_id":162984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":162984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:45:12] local.INFO: TCP Data received {"connection_id":162984,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd2c670012d7e168005d3bf080007006c28..."} 
[2026-08-23 09:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd2c670012d7e168005d3bf080007006c28..."} 
[2026-08-23 09:45:12] local.INFO: Processing buffer {"connection_id":162984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd2c670012d7e168005d3bf080007006c28..."} 
[2026-08-23 09:45:12] local.INFO: Packet analysis {"connection_id":162984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd2"} 
[2026-08-23 09:45:12] local.INFO: Extracted packet for processing {"connection_id":162984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd2"} 
[2026-08-23 09:45:12] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763080,"longitude_deg":76.3238016,"latitude_deg":9.776308,"altitude":7,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3bf08","is_valid_coordinates":true} 
[2026-08-23 09:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589346560001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787458406000,"timestamp_ms":1787458406000,"timestamp_seconds":1787458406,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd2c670"} 
[2026-08-23 09:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-23 09:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589346560001,"66":11656,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589346560001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:45:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589346560001,"power":11656,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":162984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:45:12] local.INFO: GPS data processed {"connection_id":162984,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:45:12] local.INFO: Acknowledgment sent {"connection_id":162984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:45:27] local.INFO: TCP Data received {"connection_id":160397,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:45:27] local.INFO: Processing buffer {"connection_id":160397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:45:27] local.INFO: Packet analysis {"connection_id":160397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:45:27] local.INFO: Extracted packet for processing {"connection_id":160397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:45:27] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589278720001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787458421000,"timestamp_ms":1787458421000,"timestamp_seconds":1787458421,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd30108"} 
[2026-08-23 09:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:45:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589278720001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589278720001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:45:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:45:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589278720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":160397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:45:27] local.INFO: GPS data processed {"connection_id":160397,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:45:27] local.INFO: Acknowledgment sent {"connection_id":160397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:45:30] local.INFO: TCP Data received {"connection_id":161568,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:45:30] local.INFO: Processing buffer {"connection_id":161568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:45:30] local.INFO: IMEI packet received {"connection_id":161568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":161568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:45:35] local.INFO: TCP Data received {"connection_id":161568,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:45:35] local.INFO: Processing buffer {"connection_id":161568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:45:35] local.INFO: IMEI packet received {"connection_id":161568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":161568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:45:36] local.INFO: TCP Data received {"connection_id":161568,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd0a778012d1967c0071feea80038011d28..."} 
[2026-08-23 09:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd0a778012d1967c0071feea80038011d28..."} 
[2026-08-23 09:45:36] local.INFO: Processing buffer {"connection_id":161568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd0a778012d1967c0071feea80038011d28..."} 
[2026-08-23 09:45:36] local.INFO: Packet analysis {"connection_id":161568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd0"} 
[2026-08-23 09:45:36] local.INFO: Extracted packet for processing {"connection_id":161568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd0"} 
[2026-08-23 09:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589310976001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787458267000,"timestamp_ms":1787458267000,"timestamp_seconds":1787458267,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd0a778"} 
[2026-08-23 09:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:45:36] 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-08-23 09:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589310976001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589310976001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:45:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:45:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589310976001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":161568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:45:36] local.INFO: GPS data processed {"connection_id":161568,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:45:36] local.INFO: Acknowledgment sent {"connection_id":161568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:45:43] local.INFO: TCP Data received {"connection_id":162984,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd31878012d7e168005d3bf080007006c27..."} 
[2026-08-23 09:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd31878012d7e168005d3bf080007006c27..."} 
[2026-08-23 09:45:43] local.INFO: Processing buffer {"connection_id":162984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd31878012d7e168005d3bf080007006c27..."} 
[2026-08-23 09:45:43] local.INFO: Packet analysis {"connection_id":162984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:45:43] local.INFO: Extracted packet for processing {"connection_id":162984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:45:43] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763080,"longitude_deg":76.3238016,"latitude_deg":9.776308,"altitude":7,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3bf08","is_valid_coordinates":true} 
[2026-08-23 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-08-23 09:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589351936001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787458427000,"timestamp_ms":1787458427000,"timestamp_seconds":1787458427,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd31878"} 
[2026-08-23 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-08-23 09:45:43] 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-08-23 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":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-08-23 09:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 09:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589351936001,"66":11624,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589351936001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:45:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:45:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589351936001,"power":11624,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":162984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:45:43] local.INFO: GPS data processed {"connection_id":162984,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:45:43] local.INFO: Acknowledgment sent {"connection_id":162984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:45:46] local.INFO: TCP Data received {"connection_id":160398,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:45:46] local.INFO: Processing buffer {"connection_id":160398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:45:46] local.INFO: IMEI packet received {"connection_id":160398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":160398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:45:51] local.INFO: TCP Data received {"connection_id":160398,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:45:51] local.INFO: Processing buffer {"connection_id":160398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:45:51] local.INFO: IMEI packet received {"connection_id":160398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":160398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:45:52] local.INFO: TCP Data received {"connection_id":160398,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:45:52] local.INFO: Processing buffer {"connection_id":160398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:45:52] local.INFO: Packet analysis {"connection_id":160398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:45:52] local.INFO: Extracted packet for processing {"connection_id":160398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589278720001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787458421000,"timestamp_ms":1787458421000,"timestamp_seconds":1787458421,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd30108"} 
[2026-08-23 09:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:45: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-08-23 09:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:45:52] 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-08-23 09:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:45:52] 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-08-23 09:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589278720001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589278720001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:45:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589278720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":160398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:45:52] local.INFO: GPS data processed {"connection_id":160398,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:45:52] local.INFO: Acknowledgment sent {"connection_id":160398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:46:06] local.INFO: TCP Data received {"connection_id":160609,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:46:06] local.INFO: Processing buffer {"connection_id":160609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:46:06] local.INFO: IMEI packet received {"connection_id":160609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":160609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:46:07] local.INFO: TCP Data received {"connection_id":161568,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd0f980012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd0f980012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:46:07] local.INFO: Processing buffer {"connection_id":161568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd0f980012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:46:07] local.INFO: Packet analysis {"connection_id":161568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd0"} 
[2026-08-23 09:46:07] local.INFO: Extracted packet for processing {"connection_id":161568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd0"} 
[2026-08-23 09:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589316352001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787458288000,"timestamp_ms":1787458288000,"timestamp_seconds":1787458288,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd0f980"} 
[2026-08-23 09:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:46:07] 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-08-23 09:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589316352001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589316352001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:46:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:46:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589316352001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":161568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:46:07] local.INFO: GPS data processed {"connection_id":161568,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:46:07] local.INFO: Acknowledgment sent {"connection_id":161568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:46:11] local.INFO: TCP Data received {"connection_id":160609,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:46:11] local.INFO: Processing buffer {"connection_id":160609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:46:11] local.INFO: IMEI packet received {"connection_id":160609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":160609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:46:12] local.INFO: TCP Data received {"connection_id":160609,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd36a80012d7e168005d3bf080007006c2a..."} 
[2026-08-23 09:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd36a80012d7e168005d3bf080007006c2a..."} 
[2026-08-23 09:46:12] local.INFO: Processing buffer {"connection_id":160609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd36a80012d7e168005d3bf080007006c2a..."} 
[2026-08-23 09:46:12] local.INFO: Packet analysis {"connection_id":160609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:46:12] local.INFO: Extracted packet for processing {"connection_id":160609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:46:12] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763080,"longitude_deg":76.3238016,"latitude_deg":9.776308,"altitude":7,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3bf08","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589357312001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787458448000,"timestamp_ms":1787458448000,"timestamp_seconds":1787458448,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd36a80"} 
[2026-08-23 09:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 09:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589357312001,"66":11624,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589357312001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:46:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:46:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589357312001,"power":11624,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":160609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685733,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:46:12] local.INFO: GPS data processed {"connection_id":160609,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:46:12] local.INFO: Acknowledgment sent {"connection_id":160609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:46:24] local.INFO: TCP Data received {"connection_id":160398,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:46:24] local.INFO: Processing buffer {"connection_id":160398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:46:24] local.INFO: Packet analysis {"connection_id":160398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:46:24] local.INFO: Extracted packet for processing {"connection_id":160398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:46:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589278720001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787458421000,"timestamp_ms":1787458421000,"timestamp_seconds":1787458421,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd30108"} 
[2026-08-23 09:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:46: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-08-23 09:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:46:24] 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-08-23 09:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:46: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-08-23 09:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589278720001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589278720001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:46:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:46:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589278720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":160398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:46:24] local.INFO: GPS data processed {"connection_id":160398,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:46:24] local.INFO: Acknowledgment sent {"connection_id":160398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:46:30] local.INFO: TCP Data received {"connection_id":160399,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:46:30] local.INFO: Processing buffer {"connection_id":160399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:46:30] local.INFO: IMEI packet received {"connection_id":160399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":160399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:46:35] local.INFO: TCP Data received {"connection_id":160399,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:46:35] local.INFO: Processing buffer {"connection_id":160399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:46:35] local.INFO: IMEI packet received {"connection_id":160399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":160399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:46:36] local.INFO: TCP Data received {"connection_id":160399,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd14b88012d1967c0071feea80038011d29..."} 
[2026-08-23 09:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd14b88012d1967c0071feea80038011d29..."} 
[2026-08-23 09:46:36] local.INFO: Processing buffer {"connection_id":160399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd14b88012d1967c0071feea80038011d29..."} 
[2026-08-23 09:46:36] local.INFO: Packet analysis {"connection_id":160399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd1"} 
[2026-08-23 09:46:36] local.INFO: Extracted packet for processing {"connection_id":160399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd1"} 
[2026-08-23 09:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589321728001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787458309000,"timestamp_ms":1787458309000,"timestamp_seconds":1787458309,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd14b88"} 
[2026-08-23 09:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 09:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589321728001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589321728001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:46:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589321728001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":160399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:46:36] local.INFO: GPS data processed {"connection_id":160399,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:46:36] local.INFO: Acknowledgment sent {"connection_id":160399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:46:43] local.INFO: TCP Data received {"connection_id":160609,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd37a20012d7e168005d3bf080007006c28..."} 
[2026-08-23 09:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd37a20012d7e168005d3bf080007006c28..."} 
[2026-08-23 09:46:43] local.INFO: Processing buffer {"connection_id":160609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd37a20012d7e168005d3bf080007006c28..."} 
[2026-08-23 09:46:43] local.INFO: Packet analysis {"connection_id":160609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:46:43] local.INFO: Extracted packet for processing {"connection_id":160609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:46:43] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763080,"longitude_deg":76.3238016,"latitude_deg":9.776308,"altitude":7,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3bf08","is_valid_coordinates":true} 
[2026-08-23 09:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589362688001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787458452000,"timestamp_ms":1787458452000,"timestamp_seconds":1787458452,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd37a20"} 
[2026-08-23 09:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:46:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 09:46:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589362688001,"66":11721,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589362688001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:46:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:46:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589362688001,"power":11721,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":160609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:46:43] local.INFO: GPS data processed {"connection_id":160609,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:46:43] local.INFO: Acknowledgment sent {"connection_id":160609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:46:46] local.INFO: TCP Data received {"connection_id":162985,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:46:46] local.INFO: Processing buffer {"connection_id":162985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:46:46] local.INFO: IMEI packet received {"connection_id":162985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":162985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:46:51] local.INFO: TCP Data received {"connection_id":162985,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:46:51] local.INFO: Processing buffer {"connection_id":162985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:46:51] local.INFO: IMEI packet received {"connection_id":162985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":162985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:46:52] local.INFO: TCP Data received {"connection_id":162985,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:46:52] local.INFO: Processing buffer {"connection_id":162985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:46:52] local.INFO: Packet analysis {"connection_id":162985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:46:52] local.INFO: Extracted packet for processing {"connection_id":162985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589278720001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787458421000,"timestamp_ms":1787458421000,"timestamp_seconds":1787458421,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd30108"} 
[2026-08-23 09:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:46: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-08-23 09:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:46:52] 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-08-23 09:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589278720001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589278720001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:46:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589278720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":162985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:46:52] local.INFO: GPS data processed {"connection_id":162985,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:46:52] local.INFO: Acknowledgment sent {"connection_id":162985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:47:06] local.INFO: TCP Data received {"connection_id":160610,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:47:06] local.INFO: Processing buffer {"connection_id":160610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:47:06] local.INFO: IMEI packet received {"connection_id":160610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":160610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:47:07] local.INFO: TCP Data received {"connection_id":160399,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd4d1e0012d1967c0071feea80038011d29..."} 
[2026-08-23 09:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd4d1e0012d1967c0071feea80038011d29..."} 
[2026-08-23 09:47:07] local.INFO: Processing buffer {"connection_id":160399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd4d1e0012d1967c0071feea80038011d29..."} 
[2026-08-23 09:47:07] local.INFO: Packet analysis {"connection_id":160399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd4"} 
[2026-08-23 09:47:07] local.INFO: Extracted packet for processing {"connection_id":160399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd4"} 
[2026-08-23 09:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589380864001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787458540000,"timestamp_ms":1787458540000,"timestamp_seconds":1787458540,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd4d1e0"} 
[2026-08-23 09:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:47:07] 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-08-23 09:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:47:07] 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-08-23 09:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589380864001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589380864001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:47:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589380864001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":160399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:47:07] local.INFO: GPS data processed {"connection_id":160399,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:47:07] local.INFO: Acknowledgment sent {"connection_id":160399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:47:11] local.INFO: TCP Data received {"connection_id":160610,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:47:11] local.INFO: Processing buffer {"connection_id":160610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:47:11] local.INFO: IMEI packet received {"connection_id":160610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":160610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:47:12] local.INFO: TCP Data received {"connection_id":160610,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd37a20012d7e168005d3bf080007006c28..."} 
[2026-08-23 09:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd37a20012d7e168005d3bf080007006c28..."} 
[2026-08-23 09:47:12] local.INFO: Processing buffer {"connection_id":160610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd37a20012d7e168005d3bf080007006c28..."} 
[2026-08-23 09:47:12] local.INFO: Packet analysis {"connection_id":160610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:47:12] local.INFO: Extracted packet for processing {"connection_id":160610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:47:12] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763080,"longitude_deg":76.3238016,"latitude_deg":9.776308,"altitude":7,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3bf08","is_valid_coordinates":true} 
[2026-08-23 09:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589363712001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787458452000,"timestamp_ms":1787458452000,"timestamp_seconds":1787458452,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd37a20"} 
[2026-08-23 09:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-23 09:47:12] 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-08-23 09:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589363712001,"66":11721,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589363712001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:47:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589363712001,"power":11721,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":160610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:47:12] local.INFO: GPS data processed {"connection_id":160610,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:47:12] local.INFO: Acknowledgment sent {"connection_id":160610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:47:24] local.INFO: TCP Data received {"connection_id":162985,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:47:24] local.INFO: Processing buffer {"connection_id":162985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:47:24] local.INFO: Packet analysis {"connection_id":162985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:47:24] local.INFO: Extracted packet for processing {"connection_id":162985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:47:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589278720001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787458421000,"timestamp_ms":1787458421000,"timestamp_seconds":1787458421,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd30108"} 
[2026-08-23 09:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:47: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-08-23 09:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:47:24] 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-08-23 09:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589278720001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589278720001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:47:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:47:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589278720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":162985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:47:24] local.INFO: GPS data processed {"connection_id":162985,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:47:24] local.INFO: Acknowledgment sent {"connection_id":162985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:47:30] local.INFO: TCP Data received {"connection_id":161569,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:47:30] local.INFO: Processing buffer {"connection_id":161569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:47:30] local.INFO: IMEI packet received {"connection_id":161569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":161569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:47:35] local.INFO: TCP Data received {"connection_id":161569,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:47:35] local.INFO: Processing buffer {"connection_id":161569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:47:35] local.INFO: IMEI packet received {"connection_id":161569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":161569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:47:36] local.INFO: TCP Data received {"connection_id":161569,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd523e8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd523e8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:47:36] local.INFO: Processing buffer {"connection_id":161569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd523e8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:47:36] local.INFO: Packet analysis {"connection_id":161569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd5"} 
[2026-08-23 09:47:36] local.INFO: Extracted packet for processing {"connection_id":161569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd5"} 
[2026-08-23 09:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589386240001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787458561000,"timestamp_ms":1787458561000,"timestamp_seconds":1787458561,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd523e8"} 
[2026-08-23 09:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:47:36] 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-08-23 09:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589386240001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589386240001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:47:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589386240001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":161569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:47:36] local.INFO: GPS data processed {"connection_id":161569,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:47:36] local.INFO: Acknowledgment sent {"connection_id":161569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:47:44] local.INFO: TCP Data received {"connection_id":160610,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd37a20012d7e168005d3bf080007006c28..."} 
[2026-08-23 09:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd37a20012d7e168005d3bf080007006c28..."} 
[2026-08-23 09:47:44] local.INFO: Processing buffer {"connection_id":160610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd37a20012d7e168005d3bf080007006c28..."} 
[2026-08-23 09:47:44] local.INFO: Packet analysis {"connection_id":160610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:47:44] local.INFO: Extracted packet for processing {"connection_id":160610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:47:44] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763080,"longitude_deg":76.3238016,"latitude_deg":9.776308,"altitude":7,"angle":108,"satellites":40,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3bf08","is_valid_coordinates":true} 
[2026-08-23 09:47: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-08-23 09:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589363712001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787458452000,"timestamp_ms":1787458452000,"timestamp_seconds":1787458452,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd37a20"} 
[2026-08-23 09:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-23 09:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589363712001,"66":11721,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 09:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589363712001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:47:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 09:47:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589363712001,"power":11721,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":160610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:47:44] local.INFO: GPS data processed {"connection_id":160610,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:47:44] local.INFO: Acknowledgment sent {"connection_id":160610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:47:46] local.INFO: TCP Data received {"connection_id":161570,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:47:46] local.INFO: Processing buffer {"connection_id":161570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:47:46] local.INFO: IMEI packet received {"connection_id":161570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":161570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:47:52] local.INFO: TCP Data received {"connection_id":161570,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:47:52] local.INFO: Processing buffer {"connection_id":161570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:47:52] local.INFO: IMEI packet received {"connection_id":161570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":161570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:47:53] local.INFO: TCP Data received {"connection_id":161570,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:47:53] local.INFO: Processing buffer {"connection_id":161570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:47:53] local.INFO: Packet analysis {"connection_id":161570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:47:53] local.INFO: Extracted packet for processing {"connection_id":161570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:47:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589278720001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787458421000,"timestamp_ms":1787458421000,"timestamp_seconds":1787458421,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd30108"} 
[2026-08-23 09:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:47:53] 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-08-23 09: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-08-23 09:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589278720001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589278720001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:47:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:47:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589278720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":161570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:47:53] local.INFO: GPS data processed {"connection_id":161570,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:47:53] local.INFO: Acknowledgment sent {"connection_id":161570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:48:07] local.INFO: TCP Data received {"connection_id":161569,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd575f0012d1967c0071feea80038011d2c..."} 
[2026-08-23 09:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd575f0012d1967c0071feea80038011d2c..."} 
[2026-08-23 09:48:07] local.INFO: Processing buffer {"connection_id":161569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd575f0012d1967c0071feea80038011d2c..."} 
[2026-08-23 09:48:07] local.INFO: Packet analysis {"connection_id":161569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd5"} 
[2026-08-23 09:48:07] local.INFO: Extracted packet for processing {"connection_id":161569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd5"} 
[2026-08-23 09:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589391616001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787458582000,"timestamp_ms":1787458582000,"timestamp_seconds":1787458582,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd575f0"} 
[2026-08-23 09:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:07] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3229896426874804583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:07] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:07] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80267647362531328,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3554396161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:48:07] local.WARNING: Large IO value detected {"io_id":137,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:07] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,22,160,209,45,192,238,56,41,10,66,127,44,1,240,53,227,31,4,113,205,137,103,168,43,239,48,2,54,7,42],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:48:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538803031539712,"timestamp_seconds":4035538803031539.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589391616001,"66":12145,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589391616001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:48:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589391616001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":161569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:48:07] local.INFO: GPS data processed {"connection_id":161569,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:48:07] local.INFO: Acknowledgment sent {"connection_id":161569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:48:24] local.INFO: TCP Data received {"connection_id":161570,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:48:24] local.INFO: Processing buffer {"connection_id":161570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:48:24] local.INFO: Packet analysis {"connection_id":161570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:48:24] local.INFO: Extracted packet for processing {"connection_id":161570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:48:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589278720001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787458421000,"timestamp_ms":1787458421000,"timestamp_seconds":1787458421,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd30108"} 
[2026-08-23 09:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:48: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-08-23 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:48:24] 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-08-23 09: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-08-23 09:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589278720001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589278720001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:48:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:48:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589278720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":161570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:48:24] local.INFO: GPS data processed {"connection_id":161570,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:48:24] local.INFO: Acknowledgment sent {"connection_id":161570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:48:30] local.INFO: TCP Data received {"connection_id":162986,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:48:30] local.INFO: Processing buffer {"connection_id":162986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:48:30] local.INFO: IMEI packet received {"connection_id":162986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":162986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:48:35] local.INFO: TCP Data received {"connection_id":162986,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:48:35] local.INFO: Processing buffer {"connection_id":162986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:48:35] local.INFO: IMEI packet received {"connection_id":162986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":162986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:48:36] local.INFO: TCP Data received {"connection_id":162986,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd5c7f8012d1967c0071feea80038011d2b..."} 
[2026-08-23 09:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd5c7f8012d1967c0071feea80038011d2b..."} 
[2026-08-23 09:48:36] local.INFO: Processing buffer {"connection_id":162986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd5c7f8012d1967c0071feea80038011d2b..."} 
[2026-08-23 09:48:36] local.INFO: Packet analysis {"connection_id":162986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd5"} 
[2026-08-23 09:48:36] local.INFO: Extracted packet for processing {"connection_id":162986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd5"} 
[2026-08-23 09:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589396992001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787458603000,"timestamp_ms":1787458603000,"timestamp_seconds":1787458603,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd5c7f8"} 
[2026-08-23 09:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 09:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589396992001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589396992001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:48:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:48:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589396992001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":162986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:48:36] local.INFO: GPS data processed {"connection_id":162986,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:48:36] local.INFO: Acknowledgment sent {"connection_id":162986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:48:51] local.INFO: TCP Data received {"connection_id":161571,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:48:51] local.INFO: Processing buffer {"connection_id":161571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:48:51] local.INFO: IMEI packet received {"connection_id":161571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":161571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:48:56] local.INFO: TCP Data received {"connection_id":161571,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:48:56] local.INFO: Processing buffer {"connection_id":161571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:48:56] local.INFO: IMEI packet received {"connection_id":161571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":161571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:48:57] local.INFO: TCP Data received {"connection_id":161571,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:48:57] local.INFO: Processing buffer {"connection_id":161571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:48:57] local.INFO: Packet analysis {"connection_id":161571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:48:57] local.INFO: Extracted packet for processing {"connection_id":161571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:48:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589278720001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787458421000,"timestamp_ms":1787458421000,"timestamp_seconds":1787458421,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd30108"} 
[2026-08-23 09:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:48:57] 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-08-23 09:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589278720001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589278720001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:48:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:48:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589278720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":161571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:48:57] local.INFO: GPS data processed {"connection_id":161571,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:48:57] local.INFO: Acknowledgment sent {"connection_id":161571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:49:02] local.INFO: TCP Data received {"connection_id":161571,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:49:02] local.INFO: Processing buffer {"connection_id":161571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd30108012d34c50006aa40980006008520..."} 
[2026-08-23 09:49:02] local.INFO: Packet analysis {"connection_id":161571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:49:02] local.INFO: Extracted packet for processing {"connection_id":161571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd3"} 
[2026-08-23 09:49:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589278720001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787458421000,"timestamp_ms":1787458421000,"timestamp_seconds":1787458421,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd30108"} 
[2026-08-23 09:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:49:02] 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-08-23 09:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589278720001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589278720001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:49:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:49:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589278720001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":161571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:49:02] local.INFO: GPS data processed {"connection_id":161571,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:49:02] local.INFO: Acknowledgment sent {"connection_id":161571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:49:07] local.INFO: TCP Data received {"connection_id":162986,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd61a00012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd61a00012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:49:07] local.INFO: Processing buffer {"connection_id":162986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd61a00012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:49:07] local.INFO: Packet analysis {"connection_id":162986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd6"} 
[2026-08-23 09:49:07] local.INFO: Extracted packet for processing {"connection_id":162986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd6"} 
[2026-08-23 09:49:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589402368001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787458624000,"timestamp_ms":1787458624000,"timestamp_seconds":1787458624,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd61a00"} 
[2026-08-23 09:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 09:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589402368001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589402368001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:49:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:49:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589402368001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":162986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:49:07] local.INFO: GPS data processed {"connection_id":162986,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:49:07] local.INFO: Acknowledgment sent {"connection_id":162986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:49:30] local.INFO: TCP Data received {"connection_id":161572,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:49:30] local.INFO: Processing buffer {"connection_id":161572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:49:30] local.INFO: IMEI packet received {"connection_id":161572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":161572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:49:35] local.INFO: TCP Data received {"connection_id":161572,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:49:35] local.INFO: Processing buffer {"connection_id":161572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:49:35] local.INFO: IMEI packet received {"connection_id":161572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":161572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:49:36] local.INFO: TCP Data received {"connection_id":161572,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd66c08012d1967c0071feea80038011d2c..."} 
[2026-08-23 09:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd66c08012d1967c0071feea80038011d2c..."} 
[2026-08-23 09:49:36] local.INFO: Processing buffer {"connection_id":161572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd66c08012d1967c0071feea80038011d2c..."} 
[2026-08-23 09:49:36] local.INFO: Packet analysis {"connection_id":161572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd6"} 
[2026-08-23 09:49:36] local.INFO: Extracted packet for processing {"connection_id":161572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd6"} 
[2026-08-23 09:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589407744001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787458645000,"timestamp_ms":1787458645000,"timestamp_seconds":1787458645,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd66c08"} 
[2026-08-23 09:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:36] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3230167009814452583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:36] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80267647362531328,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:49:36] local.WARNING: Large IO value detected {"io_id":127,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:36] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:36] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,22,160,199,45,192,238,56,43,10,66,117,44,35,1,240,227,31,4,113,205,127,103,168,239,48,2,54,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:49:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538807326507008,"timestamp_seconds":4035538807326507.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589407744001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589407744001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:49:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589407744001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":161572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:49:36] local.INFO: GPS data processed {"connection_id":161572,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:49:36] local.INFO: Acknowledgment sent {"connection_id":161572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:49:47] local.INFO: TCP Data received {"connection_id":160400,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:49:47] local.INFO: Processing buffer {"connection_id":160400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:49:47] local.INFO: IMEI packet received {"connection_id":160400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":160400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:49:51] local.INFO: TCP Data received {"connection_id":160400,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:49:51] local.INFO: Processing buffer {"connection_id":160400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:49:51] local.INFO: IMEI packet received {"connection_id":160400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":160400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:49:52] local.INFO: TCP Data received {"connection_id":160400,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:49:52] local.INFO: Processing buffer {"connection_id":160400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:49:52] local.INFO: Packet analysis {"connection_id":160400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:49:52] local.INFO: Extracted packet for processing {"connection_id":160400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:49:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":24,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589355776001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787458722000,"timestamp_ms":1787458722000,"timestamp_seconds":1787458722,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd798d0"} 
[2026-08-23 09:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 09:49:52] 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-08-23 09:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:49:52] 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-08-23 09:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589355776001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589355776001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:49:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:49:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589355776001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":160400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:49:52] local.INFO: GPS data processed {"connection_id":160400,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:49:52] local.INFO: Acknowledgment sent {"connection_id":160400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:50:07] local.INFO: TCP Data received {"connection_id":161572,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd6be10012d1967c0071feea80038011d28..."} 
[2026-08-23 09:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd6be10012d1967c0071feea80038011d28..."} 
[2026-08-23 09:50:07] local.INFO: Processing buffer {"connection_id":161572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd6be10012d1967c0071feea80038011d28..."} 
[2026-08-23 09:50:07] local.INFO: Packet analysis {"connection_id":161572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd6"} 
[2026-08-23 09:50:07] local.INFO: Extracted packet for processing {"connection_id":161572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd6"} 
[2026-08-23 09:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589413120001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787458666000,"timestamp_ms":1787458666000,"timestamp_seconds":1787458666,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd6be10"} 
[2026-08-23 09:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:50:07] 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-08-23 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:50:07] 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-08-23 09: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-08-23 09:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589413120001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589413120001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:50:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589413120001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":161572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:50:07] local.INFO: GPS data processed {"connection_id":161572,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:50:07] local.INFO: Acknowledgment sent {"connection_id":161572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:50:24] local.INFO: TCP Data received {"connection_id":160400,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:50:24] local.INFO: Processing buffer {"connection_id":160400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:50:24] local.INFO: Packet analysis {"connection_id":160400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:50:24] local.INFO: Extracted packet for processing {"connection_id":160400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:50:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":24,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589355776001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787458722000,"timestamp_ms":1787458722000,"timestamp_seconds":1787458722,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd798d0"} 
[2026-08-23 09:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 09:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:50:24] 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-08-23 09:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589355776001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589355776001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:50:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:50:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589355776001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":160400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:50:24] local.INFO: GPS data processed {"connection_id":160400,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:50:24] local.INFO: Acknowledgment sent {"connection_id":160400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:50:35] local.INFO: TCP Data received {"connection_id":160611,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:50:35] local.INFO: Processing buffer {"connection_id":160611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:50:35] local.INFO: IMEI packet received {"connection_id":160611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":160611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:50:40] local.INFO: TCP Data received {"connection_id":160611,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:50:40] local.INFO: Processing buffer {"connection_id":160611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:50:40] local.INFO: IMEI packet received {"connection_id":160611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":160611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:50:40] local.INFO: TCP Data received {"connection_id":160611,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd71018012d1967c0071feea80038011d23..."} 
[2026-08-23 09:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd71018012d1967c0071feea80038011d23..."} 
[2026-08-23 09:50:40] local.INFO: Processing buffer {"connection_id":160611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd71018012d1967c0071feea80038011d23..."} 
[2026-08-23 09:50:40] local.INFO: Packet analysis {"connection_id":160611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:50:40] local.INFO: Extracted packet for processing {"connection_id":160611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:50:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589418496001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787458687000,"timestamp_ms":1787458687000,"timestamp_seconds":1787458687,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd71018"} 
[2026-08-23 09:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:50:40] 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-08-23 09: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-08-23 09:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589418496001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589418496001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:50:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:50:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589418496001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":160611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:50:41] local.INFO: GPS data processed {"connection_id":160611,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:50:41] local.INFO: Acknowledgment sent {"connection_id":160611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:50:45] local.INFO: TCP Data received {"connection_id":160611,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd76220012d1967c0071feea80038011d29..."} 
[2026-08-23 09:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd76220012d1967c0071feea80038011d29..."} 
[2026-08-23 09:50:45] local.INFO: Processing buffer {"connection_id":160611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd76220012d1967c0071feea80038011d29..."} 
[2026-08-23 09:50:45] local.INFO: Packet analysis {"connection_id":160611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:50:45] local.INFO: Extracted packet for processing {"connection_id":160611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:50:45] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589423872001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787458708000,"timestamp_ms":1787458708000,"timestamp_seconds":1787458708,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd76220"} 
[2026-08-23 09:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:50:45] 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-08-23 09:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589423872001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589423872001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:50:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:50:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589423872001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":160611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:50:45] local.INFO: GPS data processed {"connection_id":160611,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:50:45] local.INFO: Acknowledgment sent {"connection_id":160611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:50:46] local.INFO: TCP Data received {"connection_id":162987,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:50:46] local.INFO: Processing buffer {"connection_id":162987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:50:46] local.INFO: IMEI packet received {"connection_id":162987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":162987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:50:51] local.INFO: TCP Data received {"connection_id":162987,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:50:51] local.INFO: Processing buffer {"connection_id":162987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:50:51] local.INFO: IMEI packet received {"connection_id":162987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":162987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:50:52] local.INFO: TCP Data received {"connection_id":162987,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:50:52] local.INFO: Processing buffer {"connection_id":162987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:50:52] local.INFO: Packet analysis {"connection_id":162987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:50:52] local.INFO: Extracted packet for processing {"connection_id":162987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:50:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":24,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589355776001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787458722000,"timestamp_ms":1787458722000,"timestamp_seconds":1787458722,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd798d0"} 
[2026-08-23 09:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 09:50:52] 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-08-23 09:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589355776001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589355776001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:50:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589355776001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":162987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:50:52] local.INFO: GPS data processed {"connection_id":162987,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:50:52] local.INFO: Acknowledgment sent {"connection_id":162987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:51:24] local.INFO: TCP Data received {"connection_id":162987,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:51:24] local.INFO: Processing buffer {"connection_id":162987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:51:24] local.INFO: Packet analysis {"connection_id":162987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:51:24] local.INFO: Extracted packet for processing {"connection_id":162987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:51:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":24,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589355776001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787458722000,"timestamp_ms":1787458722000,"timestamp_seconds":1787458722,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd798d0"} 
[2026-08-23 09:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 09:51:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589355776001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589355776001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:51:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:51:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589355776001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":162987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:51:24] local.INFO: GPS data processed {"connection_id":162987,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:51:24] local.INFO: Acknowledgment sent {"connection_id":162987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:51:30] local.INFO: TCP Data received {"connection_id":161573,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:51:30] local.INFO: Processing buffer {"connection_id":161573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:51:30] local.INFO: IMEI packet received {"connection_id":161573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":161573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:51:33] local.INFO: TCP Data received {"connection_id":161573,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:51:33] local.INFO: Processing buffer {"connection_id":161573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:51:33] local.INFO: IMEI packet received {"connection_id":161573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":161573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:51:34] local.INFO: TCP Data received {"connection_id":161573,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd7b428012d1967c0071feea80038011d27..."} 
[2026-08-23 09:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd7b428012d1967c0071feea80038011d27..."} 
[2026-08-23 09:51:34] local.INFO: Processing buffer {"connection_id":161573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd7b428012d1967c0071feea80038011d27..."} 
[2026-08-23 09:51:34] local.INFO: Packet analysis {"connection_id":161573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:51:34] local.INFO: Extracted packet for processing {"connection_id":161573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:51:34] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589429248001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787458729000,"timestamp_ms":1787458729000,"timestamp_seconds":1787458729,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd7b428"} 
[2026-08-23 09:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:51:34] 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-08-23 09:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:51:34] 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-08-23 09:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589429248001,"66":12363,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589429248001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:51:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:51:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589429248001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":161573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:51:34] local.INFO: GPS data processed {"connection_id":161573,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:51:34] local.INFO: Acknowledgment sent {"connection_id":161573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:51:46] local.INFO: TCP Data received {"connection_id":160401,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:51:46] local.INFO: Processing buffer {"connection_id":160401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:51:46] local.INFO: IMEI packet received {"connection_id":160401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":160401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:51:51] local.INFO: TCP Data received {"connection_id":160401,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:51:51] local.INFO: Processing buffer {"connection_id":160401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:51:51] local.INFO: IMEI packet received {"connection_id":160401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":160401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:51:52] local.INFO: TCP Data received {"connection_id":160401,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:51:52] local.INFO: Processing buffer {"connection_id":160401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:51:52] local.INFO: Packet analysis {"connection_id":160401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:51:52] local.INFO: Extracted packet for processing {"connection_id":160401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":24,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:51: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-08-23 09:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589355776001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787458722000,"timestamp_ms":1787458722000,"timestamp_seconds":1787458722,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd798d0"} 
[2026-08-23 09:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 09:51:52] 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-08-23 09:51: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-08-23 09:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589355776001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589355776001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:51:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589355776001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":160401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:51:52] local.INFO: GPS data processed {"connection_id":160401,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:51:52] local.INFO: Acknowledgment sent {"connection_id":160401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:52:05] local.INFO: TCP Data received {"connection_id":161573,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd80630012d1967c0071feea80038011d28..."} 
[2026-08-23 09:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd80630012d1967c0071feea80038011d28..."} 
[2026-08-23 09:52:05] local.INFO: Processing buffer {"connection_id":161573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd80630012d1967c0071feea80038011d28..."} 
[2026-08-23 09:52:05] local.INFO: Packet analysis {"connection_id":161573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:52:05] local.INFO: Extracted packet for processing {"connection_id":161573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589434624001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787458750000,"timestamp_ms":1787458750000,"timestamp_seconds":1787458750,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd80630"} 
[2026-08-23 09:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:52:05] 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-08-23 09:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 09:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589434624001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589434624001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:52:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589434624001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":161573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:52:05] local.INFO: GPS data processed {"connection_id":161573,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:52:05] local.INFO: Acknowledgment sent {"connection_id":161573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:52:24] local.INFO: TCP Data received {"connection_id":160401,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:52:24] local.INFO: Processing buffer {"connection_id":160401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:52:24] local.INFO: Packet analysis {"connection_id":160401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:52:24] local.INFO: Extracted packet for processing {"connection_id":160401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:52:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":24,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589355776001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787458722000,"timestamp_ms":1787458722000,"timestamp_seconds":1787458722,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd798d0"} 
[2026-08-23 09:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 09:52:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:52: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-08-23 09:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589355776001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589355776001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:52:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:52:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589355776001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":160401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:52:24] local.INFO: GPS data processed {"connection_id":160401,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:52:24] local.INFO: Acknowledgment sent {"connection_id":160401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:52:27] local.INFO: TCP Data received {"connection_id":160612,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:52:27] local.INFO: Processing buffer {"connection_id":160612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:52:27] local.INFO: IMEI packet received {"connection_id":160612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":160612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:52:30] local.INFO: TCP Data received {"connection_id":162988,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:52:30] local.INFO: Processing buffer {"connection_id":162988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:52:30] local.INFO: IMEI packet received {"connection_id":162988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":162988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:52:31] local.INFO: TCP Data received {"connection_id":160612,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:52:31] local.INFO: Processing buffer {"connection_id":160612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:52:31] local.INFO: IMEI packet received {"connection_id":160612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":160612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:52:32] local.INFO: TCP Data received {"connection_id":160612,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd6be10012d7e154005d3bf000007006c2a..."} 
[2026-08-23 09:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd6be10012d7e154005d3bf000007006c2a..."} 
[2026-08-23 09:52:32] local.INFO: Processing buffer {"connection_id":160612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd6be10012d7e154005d3bf000007006c2a..."} 
[2026-08-23 09:52:32] local.INFO: Packet analysis {"connection_id":160612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd6"} 
[2026-08-23 09:52:32] local.INFO: Extracted packet for processing {"connection_id":160612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd6"} 
[2026-08-23 09:52:32] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589363712001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782258176,"note":"Value kept but may cause issues"} 
[2026-08-23 09:52:32] 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-08-23 09:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787458666000,"timestamp_ms":1787458666000,"timestamp_seconds":1787458666,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd6be10"} 
[2026-08-23 09:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-23 09:52:32] 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-08-23 09:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589363712001,"66":5253,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085590060782258176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 09:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589363712001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:52:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 09:52:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782258176,"description":"Unknown IO ID 45"} 
[2026-08-23 09:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589363712001,"power":5253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782258176}} 
[2026-08-23 09:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":160612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:52:32] local.INFO: GPS data processed {"connection_id":160612,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:52:32] local.INFO: Acknowledgment sent {"connection_id":160612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:52:35] local.INFO: TCP Data received {"connection_id":162988,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:52:35] local.INFO: Processing buffer {"connection_id":162988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:52:35] local.INFO: IMEI packet received {"connection_id":162988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":162988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:52:36] local.INFO: TCP Data received {"connection_id":162988,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd85838012d1967c0071feea80038011d29..."} 
[2026-08-23 09:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd85838012d1967c0071feea80038011d29..."} 
[2026-08-23 09:52:36] local.INFO: Processing buffer {"connection_id":162988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd85838012d1967c0071feea80038011d29..."} 
[2026-08-23 09:52:36] local.INFO: Packet analysis {"connection_id":162988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:52:36] local.INFO: Extracted packet for processing {"connection_id":162988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:52:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589440000001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787458771000,"timestamp_ms":1787458771000,"timestamp_seconds":1787458771,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd85838"} 
[2026-08-23 09:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:52:36] 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-08-23 09:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589440000001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589440000001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:52:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:52:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589440000001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":162988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:52:36] local.INFO: GPS data processed {"connection_id":162988,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:52:36] local.INFO: Acknowledgment sent {"connection_id":162988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:52:37] local.INFO: TCP Data received {"connection_id":160612,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd6be10012d7e154005d3bf000007006c2a..."} 
[2026-08-23 09:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd6be10012d7e154005d3bf000007006c2a..."} 
[2026-08-23 09:52:37] local.INFO: Processing buffer {"connection_id":160612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd6be10012d7e154005d3bf000007006c2a..."} 
[2026-08-23 09:52:37] local.INFO: Packet analysis {"connection_id":160612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd6"} 
[2026-08-23 09:52:37] local.INFO: Extracted packet for processing {"connection_id":160612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd6"} 
[2026-08-23 09:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09:52:37] 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-08-23 09:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589418496001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:52:37] 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-08-23 09:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787458666000,"timestamp_ms":1787458666000,"timestamp_seconds":1787458666,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd6be10"} 
[2026-08-23 09:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 09:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589418496001,"66":5253,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 09:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589418496001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 09:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589418496001,"power":5253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":160612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:52:37] local.INFO: GPS data processed {"connection_id":160612,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:52:37] local.INFO: Acknowledgment sent {"connection_id":160612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:52:51] local.INFO: TCP Data received {"connection_id":160402,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:52:51] local.INFO: Processing buffer {"connection_id":160402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:52:51] local.INFO: IMEI packet received {"connection_id":160402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":160402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:52:57] local.INFO: TCP Data received {"connection_id":160402,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:52:57] local.INFO: Processing buffer {"connection_id":160402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:52:57] local.INFO: IMEI packet received {"connection_id":160402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":160402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:52:58] local.INFO: TCP Data received {"connection_id":160402,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:52:58] local.INFO: Processing buffer {"connection_id":160402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:52:58] local.INFO: Packet analysis {"connection_id":160402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:52:58] local.INFO: Extracted packet for processing {"connection_id":160402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:52:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":24,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589355776001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787458722000,"timestamp_ms":1787458722000,"timestamp_seconds":1787458722,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd798d0"} 
[2026-08-23 09:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 09:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589355776001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589355776001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:52:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:52:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589355776001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":160402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:52:58] local.INFO: GPS data processed {"connection_id":160402,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:52:58] local.INFO: Acknowledgment sent {"connection_id":160402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:53:01] local.INFO: TCP Data received {"connection_id":162989,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:53:01] local.INFO: Processing buffer {"connection_id":162989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:53:01] local.INFO: IMEI packet received {"connection_id":162989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":162989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:53:02] local.INFO: TCP Data received {"connection_id":160402,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:53:02] local.INFO: Processing buffer {"connection_id":160402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:53:02] local.INFO: Packet analysis {"connection_id":160402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:53:02] local.INFO: Extracted packet for processing {"connection_id":160402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:53:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":24,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589355776001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787458722000,"timestamp_ms":1787458722000,"timestamp_seconds":1787458722,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd798d0"} 
[2026-08-23 09:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 09:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589355776001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589355776001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:53:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:53:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589355776001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":160402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:53:02] local.INFO: GPS data processed {"connection_id":160402,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:53:02] local.INFO: Acknowledgment sent {"connection_id":160402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:53:06] local.INFO: TCP Data received {"connection_id":162989,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:53:06] local.INFO: Processing buffer {"connection_id":162989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:53:06] local.INFO: IMEI packet received {"connection_id":162989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":162989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:53:07] local.INFO: TCP Data received {"connection_id":162988,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd8aa40012d1967c0071feea80038011d29..."} 
[2026-08-23 09:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd8aa40012d1967c0071feea80038011d29..."} 
[2026-08-23 09:53:07] local.INFO: Processing buffer {"connection_id":162988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd8aa40012d1967c0071feea80038011d29..."} 
[2026-08-23 09:53:07] local.INFO: Packet analysis {"connection_id":162988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:53:07] local.INFO: Extracted packet for processing {"connection_id":162988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589445376001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787458792000,"timestamp_ms":1787458792000,"timestamp_seconds":1787458792,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd8aa40"} 
[2026-08-23 09:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:07] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3230798370006964583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:07] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:07] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80268746874159104,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3608156161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:53:07] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:07] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,22,160,6,45,192,238,56,40,10,66,180,39,98,1,240,53,227,44,31,4,113,205,190,103,168,239,48,2,54,7,42],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:53:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538803031539712,"timestamp_seconds":4035538803031539.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589445376001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589445376001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:53:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589445376001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":162988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:53:07] local.INFO: GPS data processed {"connection_id":162988,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:53:07] local.INFO: Acknowledgment sent {"connection_id":162988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:53:07] local.INFO: TCP Data received {"connection_id":162989,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:53:07] local.INFO: Processing buffer {"connection_id":162989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:53:07] local.INFO: Packet analysis {"connection_id":162989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:53:07] local.INFO: Extracted packet for processing {"connection_id":162989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:53:07] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589418496001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787458755000,"timestamp_ms":1787458755000,"timestamp_seconds":1787458755,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd819b8"} 
[2026-08-23 09:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 09:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589418496001,"66":2253,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 09:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589418496001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:53:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 09:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589418496001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":162989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:53:07] local.INFO: GPS data processed {"connection_id":162989,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:53:07] local.INFO: Acknowledgment sent {"connection_id":162989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:53:30] local.INFO: TCP Data received {"connection_id":161574,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:53:30] local.INFO: Processing buffer {"connection_id":161574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:53:30] local.INFO: IMEI packet received {"connection_id":161574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":161574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:53:35] local.INFO: TCP Data received {"connection_id":161574,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:53:35] local.INFO: Processing buffer {"connection_id":161574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:53:35] local.INFO: IMEI packet received {"connection_id":161574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":161574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:53:36] local.INFO: TCP Data received {"connection_id":161574,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd8fc48012d1967c0071feea80038011d27..."} 
[2026-08-23 09:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd8fc48012d1967c0071feea80038011d27..."} 
[2026-08-23 09:53:36] local.INFO: Processing buffer {"connection_id":161574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd8fc48012d1967c0071feea80038011d27..."} 
[2026-08-23 09:53:36] local.INFO: Packet analysis {"connection_id":161574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:53:36] local.INFO: Extracted packet for processing {"connection_id":161574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589450752001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787458813000,"timestamp_ms":1787458813000,"timestamp_seconds":1787458813,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd8fc48"} 
[2026-08-23 09:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:53:36] 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-08-23 09:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589450752001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589450752001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:53:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589450752001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":161574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:53:36] local.INFO: GPS data processed {"connection_id":161574,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:53:36] local.INFO: Acknowledgment sent {"connection_id":161574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:53:38] local.INFO: TCP Data received {"connection_id":162989,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:53:38] local.INFO: Processing buffer {"connection_id":162989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:53:38] local.INFO: Packet analysis {"connection_id":162989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:53:38] local.INFO: Extracted packet for processing {"connection_id":162989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:53:38] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589418496001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:38] 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-08-23 09:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787458755000,"timestamp_ms":1787458755000,"timestamp_seconds":1787458755,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd819b8"} 
[2026-08-23 09:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 09:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":162989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":162989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":162989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589418496001,"66":2253,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 09:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589418496001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 09:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589418496001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":162989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:53:38] local.INFO: GPS data processed {"connection_id":162989,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:53:38] local.INFO: Acknowledgment sent {"connection_id":162989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:53:46] local.INFO: TCP Data received {"connection_id":160403,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:53:46] local.INFO: Processing buffer {"connection_id":160403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:53:46] local.INFO: IMEI packet received {"connection_id":160403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":160403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:53:52] local.INFO: TCP Data received {"connection_id":160403,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:53:52] local.INFO: Processing buffer {"connection_id":160403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:53:52] local.INFO: IMEI packet received {"connection_id":160403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":160403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:53:52] local.INFO: TCP Data received {"connection_id":160403,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:53:52] local.INFO: Processing buffer {"connection_id":160403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd798d0012d34c50006aa4098000d008518..."} 
[2026-08-23 09:53:52] local.INFO: Packet analysis {"connection_id":160403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:53:52] local.INFO: Extracted packet for processing {"connection_id":160403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd7"} 
[2026-08-23 09:53:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":13,"angle":133,"satellites":24,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589355776001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787458722000,"timestamp_ms":1787458722000,"timestamp_seconds":1787458722,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd798d0"} 
[2026-08-23 09:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 09:53:52] 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-08-23 09:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589355776001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589355776001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:53:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:53:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589355776001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":160403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:53:52] local.INFO: GPS data processed {"connection_id":160403,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:53:52] local.INFO: Acknowledgment sent {"connection_id":160403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:54:01] local.INFO: TCP Data received {"connection_id":160613,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:54:01] local.INFO: Processing buffer {"connection_id":160613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:54:01] local.INFO: IMEI packet received {"connection_id":160613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":160613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:54:06] local.INFO: TCP Data received {"connection_id":160613,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:54:06] local.INFO: Processing buffer {"connection_id":160613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:54:06] local.INFO: IMEI packet received {"connection_id":160613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":160613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:54:07] local.INFO: TCP Data received {"connection_id":161574,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd94e50012d1967c0071feea80038011d28..."} 
[2026-08-23 09:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd94e50012d1967c0071feea80038011d28..."} 
[2026-08-23 09:54:07] local.INFO: Processing buffer {"connection_id":161574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd94e50012d1967c0071feea80038011d28..."} 
[2026-08-23 09:54:07] local.INFO: Packet analysis {"connection_id":161574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd9"} 
[2026-08-23 09:54:07] local.INFO: Extracted packet for processing {"connection_id":161574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd9"} 
[2026-08-23 09:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589456128001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787458834000,"timestamp_ms":1787458834000,"timestamp_seconds":1787458834,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd94e50"} 
[2026-08-23 09:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:54:07] 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-08-23 09: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-08-23 09:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589456128001,"66":12374,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589456128001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:54:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:54:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589456128001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":161574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:54:07] local.INFO: GPS data processed {"connection_id":161574,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:54:07] local.INFO: Acknowledgment sent {"connection_id":161574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:54:07] local.INFO: TCP Data received {"connection_id":160613,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:54:07] local.INFO: Processing buffer {"connection_id":160613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:54:07] local.INFO: Packet analysis {"connection_id":160613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:54:07] local.INFO: Extracted packet for processing {"connection_id":160613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:54:07] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589418496001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787458755000,"timestamp_ms":1787458755000,"timestamp_seconds":1787458755,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd819b8"} 
[2026-08-23 09:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09: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":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 09:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589418496001,"66":2253,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 09:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589418496001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:54:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 09:54:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589418496001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":160613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:54:07] local.INFO: GPS data processed {"connection_id":160613,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:54:07] local.INFO: Acknowledgment sent {"connection_id":160613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:54:23] local.INFO: TCP Data received {"connection_id":160403,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:54:23] local.INFO: Processing buffer {"connection_id":160403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:54:23] local.INFO: Packet analysis {"connection_id":160403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdc"} 
[2026-08-23 09:54:23] local.INFO: Extracted packet for processing {"connection_id":160403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdc"} 
[2026-08-23 09:54:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589432832001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787459023000,"timestamp_ms":1787459023000,"timestamp_seconds":1787459023,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdc3098"} 
[2026-08-23 09:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:54: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-08-23 09:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:54:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589432832001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589432832001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:54:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:54:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589432832001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":160403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:54:24] local.INFO: GPS data processed {"connection_id":160403,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:54:24] local.INFO: Acknowledgment sent {"connection_id":160403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:54:30] local.INFO: TCP Data received {"connection_id":160614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:54:30] local.INFO: Processing buffer {"connection_id":160614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:54:30] local.INFO: IMEI packet received {"connection_id":160614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":160614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:54:35] local.INFO: TCP Data received {"connection_id":160614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:54:35] local.INFO: Processing buffer {"connection_id":160614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:54:35] local.INFO: IMEI packet received {"connection_id":160614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":160614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:54:36] local.INFO: TCP Data received {"connection_id":160614,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd9a058012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd9a058012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:54:36] local.INFO: Processing buffer {"connection_id":160614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd9a058012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:54:36] local.INFO: Packet analysis {"connection_id":160614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd9"} 
[2026-08-23 09:54:36] local.INFO: Extracted packet for processing {"connection_id":160614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd9"} 
[2026-08-23 09:54:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589461504001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787458855000,"timestamp_ms":1787458855000,"timestamp_seconds":1787458855,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd9a058"} 
[2026-08-23 09:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 09:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589461504001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589461504001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:54:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:54:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589461504001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":160614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:54:36] local.INFO: GPS data processed {"connection_id":160614,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:54:36] local.INFO: Acknowledgment sent {"connection_id":160614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:54:38] local.INFO: TCP Data received {"connection_id":160613,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:54:38] local.INFO: Processing buffer {"connection_id":160613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:54:38] local.INFO: Packet analysis {"connection_id":160613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:54:38] local.INFO: Extracted packet for processing {"connection_id":160613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:54:38] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589418496001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:54:38] 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-08-23 09:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787458755000,"timestamp_ms":1787458755000,"timestamp_seconds":1787458755,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd819b8"} 
[2026-08-23 09:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09: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":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 09:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589418496001,"66":2253,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 09:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589418496001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 09:54:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589418496001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":160613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:54:38] local.INFO: GPS data processed {"connection_id":160613,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:54:38] local.INFO: Acknowledgment sent {"connection_id":160613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:54:46] local.INFO: TCP Data received {"connection_id":160404,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:54:46] local.INFO: Processing buffer {"connection_id":160404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:54:46] local.INFO: IMEI packet received {"connection_id":160404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":160404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:54:51] local.INFO: TCP Data received {"connection_id":160404,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:54:51] local.INFO: Processing buffer {"connection_id":160404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:54:51] local.INFO: IMEI packet received {"connection_id":160404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":160404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:54:52] local.INFO: TCP Data received {"connection_id":160404,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:54:52] local.INFO: Processing buffer {"connection_id":160404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:54:52] local.INFO: Packet analysis {"connection_id":160404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdc"} 
[2026-08-23 09:54:52] local.INFO: Extracted packet for processing {"connection_id":160404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdc"} 
[2026-08-23 09:54:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589432832001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787459023000,"timestamp_ms":1787459023000,"timestamp_seconds":1787459023,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdc3098"} 
[2026-08-23 09:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:54: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-08-23 09:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:54:52] 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-08-23 09:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:54:52] 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-08-23 09:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589432832001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589432832001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:54:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:54:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589432832001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":160404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:54:52] local.INFO: GPS data processed {"connection_id":160404,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:54:52] local.INFO: Acknowledgment sent {"connection_id":160404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:55:06] local.INFO: TCP Data received {"connection_id":161575,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:55:06] local.INFO: Processing buffer {"connection_id":161575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:55:06] local.INFO: IMEI packet received {"connection_id":161575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":161575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:55:07] local.INFO: TCP Data received {"connection_id":160614,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd9f260012d1967c0071feea80038011d29..."} 
[2026-08-23 09:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd9f260012d1967c0071feea80038011d29..."} 
[2026-08-23 09:55:07] local.INFO: Processing buffer {"connection_id":160614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd9f260012d1967c0071feea80038011d29..."} 
[2026-08-23 09:55:07] local.INFO: Packet analysis {"connection_id":160614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd9"} 
[2026-08-23 09:55:07] local.INFO: Extracted packet for processing {"connection_id":160614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd9"} 
[2026-08-23 09:55:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589466880001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787458876000,"timestamp_ms":1787458876000,"timestamp_seconds":1787458876,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd9f260"} 
[2026-08-23 09:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:55:07] 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-08-23 09:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589466880001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589466880001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:55:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:55:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589466880001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":160614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:55:07] local.INFO: GPS data processed {"connection_id":160614,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:55:07] local.INFO: Acknowledgment sent {"connection_id":160614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:55:11] local.INFO: TCP Data received {"connection_id":161575,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161575,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:55:11] local.INFO: Processing buffer {"connection_id":161575,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:55:11] local.INFO: IMEI packet received {"connection_id":161575,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":161575,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:55:12] local.INFO: TCP Data received {"connection_id":161575,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:55:12] local.INFO: Processing buffer {"connection_id":161575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:55:12] local.INFO: Packet analysis {"connection_id":161575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:55:12] local.INFO: Extracted packet for processing {"connection_id":161575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:55:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589418496001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:55:12] 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-08-23 09:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787458755000,"timestamp_ms":1787458755000,"timestamp_seconds":1787458755,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd819b8"} 
[2026-08-23 09:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09: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":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 09:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589418496001,"66":2253,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 09:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589418496001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:55:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 09:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589418496001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":161575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685779,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:55:12] local.INFO: GPS data processed {"connection_id":161575,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:55:12] local.INFO: Acknowledgment sent {"connection_id":161575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:55:23] local.INFO: TCP Data received {"connection_id":160404,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:55:23] local.INFO: Processing buffer {"connection_id":160404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:55:23] local.INFO: Packet analysis {"connection_id":160404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdc"} 
[2026-08-23 09:55:23] local.INFO: Extracted packet for processing {"connection_id":160404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdc"} 
[2026-08-23 09:55:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:55: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-08-23 09:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589432832001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787459023000,"timestamp_ms":1787459023000,"timestamp_seconds":1787459023,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdc3098"} 
[2026-08-23 09:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:55: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-08-23 09:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:55: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-08-23 09:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:55:23] 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-08-23 09:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589432832001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589432832001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:55:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:55:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589432832001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":160404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:55:24] local.INFO: GPS data processed {"connection_id":160404,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:55:24] local.INFO: Acknowledgment sent {"connection_id":160404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:55:30] local.INFO: TCP Data received {"connection_id":160615,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:55:30] local.INFO: Processing buffer {"connection_id":160615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:55:30] local.INFO: IMEI packet received {"connection_id":160615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":160615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:55:35] local.INFO: TCP Data received {"connection_id":160615,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:55:35] local.INFO: Processing buffer {"connection_id":160615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:55:35] local.INFO: IMEI packet received {"connection_id":160615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":160615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:55:36] local.INFO: TCP Data received {"connection_id":160615,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cda4468012d1967c0071feea80038011d29..."} 
[2026-08-23 09:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cda4468012d1967c0071feea80038011d29..."} 
[2026-08-23 09:55:36] local.INFO: Processing buffer {"connection_id":160615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cda4468012d1967c0071feea80038011d29..."} 
[2026-08-23 09:55:36] local.INFO: Packet analysis {"connection_id":160615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cda"} 
[2026-08-23 09:55:36] local.INFO: Extracted packet for processing {"connection_id":160615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cda"} 
[2026-08-23 09:55:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589472256001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787458897000,"timestamp_ms":1787458897000,"timestamp_seconds":1787458897,"priority":1,"record_length":96,"hex_timestamp":"000001a02cda4468"} 
[2026-08-23 09:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:55:36] 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-08-23 09:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589472256001,"66":12374,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589472256001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:55:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589472256001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":160615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:55:36] local.INFO: GPS data processed {"connection_id":160615,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:55:36] local.INFO: Acknowledgment sent {"connection_id":160615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:55:43] local.INFO: TCP Data received {"connection_id":161575,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:55:43] local.INFO: Processing buffer {"connection_id":161575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:55:43] local.INFO: Packet analysis {"connection_id":161575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:55:43] local.INFO: Extracted packet for processing {"connection_id":161575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:55:43] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589418496001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:55:43] 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-08-23 09:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787458755000,"timestamp_ms":1787458755000,"timestamp_seconds":1787458755,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd819b8"} 
[2026-08-23 09:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09: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":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 09:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161575,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589418496001,"66":2253,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 09:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589418496001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:55:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 09:55:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589418496001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":161575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:55:43] local.INFO: GPS data processed {"connection_id":161575,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:55:43] local.INFO: Acknowledgment sent {"connection_id":161575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:55:46] local.INFO: TCP Data received {"connection_id":160405,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:55:46] local.INFO: Processing buffer {"connection_id":160405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:55:46] local.INFO: IMEI packet received {"connection_id":160405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":160405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:55:51] local.INFO: TCP Data received {"connection_id":160405,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:55:52] local.INFO: Processing buffer {"connection_id":160405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:55:52] local.INFO: IMEI packet received {"connection_id":160405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":160405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:55:52] local.INFO: TCP Data received {"connection_id":160405,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:55:52] local.INFO: Processing buffer {"connection_id":160405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:55:52] local.INFO: Packet analysis {"connection_id":160405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdc"} 
[2026-08-23 09:55:52] local.INFO: Extracted packet for processing {"connection_id":160405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdc"} 
[2026-08-23 09:55:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:55: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-08-23 09:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589432832001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787459023000,"timestamp_ms":1787459023000,"timestamp_seconds":1787459023,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdc3098"} 
[2026-08-23 09:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:55: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-08-23 09:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:55:52] 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-08-23 09:55: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-08-23 09:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589432832001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589432832001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:55:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:55:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589432832001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":160405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:55:52] local.INFO: GPS data processed {"connection_id":160405,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:55:52] local.INFO: Acknowledgment sent {"connection_id":160405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:56:06] local.INFO: TCP Data received {"connection_id":160406,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:56:06] local.INFO: Processing buffer {"connection_id":160406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:56:06] local.INFO: IMEI packet received {"connection_id":160406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":160406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:56:07] local.INFO: TCP Data received {"connection_id":160615,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cda9670012d1967c0071feea80038011d29..."} 
[2026-08-23 09:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cda9670012d1967c0071feea80038011d29..."} 
[2026-08-23 09:56:07] local.INFO: Processing buffer {"connection_id":160615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cda9670012d1967c0071feea80038011d29..."} 
[2026-08-23 09:56:07] local.INFO: Packet analysis {"connection_id":160615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cda"} 
[2026-08-23 09:56:07] local.INFO: Extracted packet for processing {"connection_id":160615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cda"} 
[2026-08-23 09:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589477632001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787458918000,"timestamp_ms":1787458918000,"timestamp_seconds":1787458918,"priority":1,"record_length":96,"hex_timestamp":"000001a02cda9670"} 
[2026-08-23 09:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 09:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589477632001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589477632001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:56:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:56:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589477632001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":160615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:56:07] local.INFO: GPS data processed {"connection_id":160615,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:56:07] local.INFO: Acknowledgment sent {"connection_id":160615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:56:11] local.INFO: TCP Data received {"connection_id":160406,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:56:11] local.INFO: Processing buffer {"connection_id":160406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:56:11] local.INFO: IMEI packet received {"connection_id":160406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":160406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:56:12] local.INFO: TCP Data received {"connection_id":160406,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:56:12] local.INFO: Processing buffer {"connection_id":160406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:56:12] local.INFO: Packet analysis {"connection_id":160406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:56:12] local.INFO: Extracted packet for processing {"connection_id":160406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:56:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589418496001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:56:12] 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-08-23 09:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787458755000,"timestamp_ms":1787458755000,"timestamp_seconds":1787458755,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd819b8"} 
[2026-08-23 09:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 09:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589418496001,"66":2253,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 09:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589418496001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:56:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 09:56:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589418496001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":160406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:56:12] local.INFO: GPS data processed {"connection_id":160406,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:56:12] local.INFO: Acknowledgment sent {"connection_id":160406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:56:24] local.INFO: TCP Data received {"connection_id":160405,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:56:24] local.INFO: Processing buffer {"connection_id":160405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:56:24] local.INFO: Packet analysis {"connection_id":160405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdc"} 
[2026-08-23 09:56:24] local.INFO: Extracted packet for processing {"connection_id":160405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdc"} 
[2026-08-23 09:56:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589432832001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787459023000,"timestamp_ms":1787459023000,"timestamp_seconds":1787459023,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdc3098"} 
[2026-08-23 09:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:56: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-08-23 09:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:56:24] 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-08-23 09:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589432832001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589432832001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:56:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:56:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589432832001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":160405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:56:24] local.INFO: GPS data processed {"connection_id":160405,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:56:24] local.INFO: Acknowledgment sent {"connection_id":160405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:56:35] local.INFO: TCP Data received {"connection_id":160616,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:56:35] local.INFO: Processing buffer {"connection_id":160616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:56:35] local.INFO: IMEI packet received {"connection_id":160616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":160616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:56:40] local.INFO: TCP Data received {"connection_id":160616,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:56:40] local.INFO: Processing buffer {"connection_id":160616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:56:40] local.INFO: IMEI packet received {"connection_id":160616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":160616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:56:40] local.INFO: TCP Data received {"connection_id":160616,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdae878012d1967c0071feea80038011d2c..."} 
[2026-08-23 09:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdae878012d1967c0071feea80038011d2c..."} 
[2026-08-23 09:56:40] local.INFO: Processing buffer {"connection_id":160616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdae878012d1967c0071feea80038011d2c..."} 
[2026-08-23 09:56:40] local.INFO: Packet analysis {"connection_id":160616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cda"} 
[2026-08-23 09:56:40] local.INFO: Extracted packet for processing {"connection_id":160616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cda"} 
[2026-08-23 09:56:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589483008001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787458939000,"timestamp_ms":1787458939000,"timestamp_seconds":1787458939,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdae878"} 
[2026-08-23 09:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:56:40] 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-08-23 09: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-08-23 09:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589483008001,"66":12374,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589483008001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:56:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:56:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589483008001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":160616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:56:40] local.INFO: GPS data processed {"connection_id":160616,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:56:40] local.INFO: Acknowledgment sent {"connection_id":160616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:56:43] local.INFO: TCP Data received {"connection_id":160406,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:56:43] local.INFO: Processing buffer {"connection_id":160406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cd819b8012d7e154005d3bf000007006c29..."} 
[2026-08-23 09:56:43] local.INFO: Packet analysis {"connection_id":160406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:56:43] local.INFO: Extracted packet for processing {"connection_id":160406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cd8"} 
[2026-08-23 09:56:43] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589418496001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:56:43] 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-08-23 09:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787458755000,"timestamp_ms":1787458755000,"timestamp_seconds":1787458755,"priority":1,"record_length":96,"hex_timestamp":"000001a02cd819b8"} 
[2026-08-23 09:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09: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":20,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 09:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1495,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589418496001,"66":2253,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 09:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589418496001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:56:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 09:56:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589418496001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":160406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:56:43] local.INFO: GPS data processed {"connection_id":160406,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:56:43] local.INFO: Acknowledgment sent {"connection_id":160406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:56:45] local.INFO: TCP Data received {"connection_id":160616,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdb3a80012d1967c0071feea80038011d29..."} 
[2026-08-23 09:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdb3a80012d1967c0071feea80038011d29..."} 
[2026-08-23 09:56:45] local.INFO: Processing buffer {"connection_id":160616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdb3a80012d1967c0071feea80038011d29..."} 
[2026-08-23 09:56:45] local.INFO: Packet analysis {"connection_id":160616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdb"} 
[2026-08-23 09:56:45] local.INFO: Extracted packet for processing {"connection_id":160616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdb"} 
[2026-08-23 09:56:45] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589488384001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787458960000,"timestamp_ms":1787458960000,"timestamp_seconds":1787458960,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdb3a80"} 
[2026-08-23 09:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 09:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589488384001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589488384001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:56:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:56:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589488384001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":160616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:56:45] local.INFO: GPS data processed {"connection_id":160616,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:56:45] local.INFO: Acknowledgment sent {"connection_id":160616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:56:46] local.INFO: TCP Data received {"connection_id":161576,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:56:46] local.INFO: Processing buffer {"connection_id":161576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:56:46] local.INFO: IMEI packet received {"connection_id":161576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":161576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:56:52] local.INFO: TCP Data received {"connection_id":161576,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:56:52] local.INFO: Processing buffer {"connection_id":161576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:56:52] local.INFO: IMEI packet received {"connection_id":161576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":161576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:56:53] local.INFO: TCP Data received {"connection_id":161576,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:56:53] local.INFO: Processing buffer {"connection_id":161576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:56:53] local.INFO: Packet analysis {"connection_id":161576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdc"} 
[2026-08-23 09:56:53] local.INFO: Extracted packet for processing {"connection_id":161576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdc"} 
[2026-08-23 09:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589432832001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787459023000,"timestamp_ms":1787459023000,"timestamp_seconds":1787459023,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdc3098"} 
[2026-08-23 09:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:56:53] 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-08-23 09:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:56:53] 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-08-23 09:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589432832001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589432832001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:56:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:56:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589432832001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":161576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:56:53] local.INFO: GPS data processed {"connection_id":161576,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:56:53] local.INFO: Acknowledgment sent {"connection_id":161576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:57:11] local.INFO: TCP Data received {"connection_id":162990,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:57:11] local.INFO: Processing buffer {"connection_id":162990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:57:11] local.INFO: IMEI packet received {"connection_id":162990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":162990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:57:16] local.INFO: TCP Data received {"connection_id":162990,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:57:16] local.INFO: Processing buffer {"connection_id":162990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:57:16] local.INFO: IMEI packet received {"connection_id":162990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":162990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:57:17] local.INFO: TCP Data received {"connection_id":162990,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 09:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 09:57:17] local.INFO: Processing buffer {"connection_id":162990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 09:57:17] local.INFO: Packet analysis {"connection_id":162990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 09:57:17] local.INFO: Extracted packet for processing {"connection_id":162990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 09:57:17] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589441280001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:57:17] 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-08-23 09:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787459225000,"timestamp_ms":1787459225000,"timestamp_seconds":1787459225,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdf45a8"} 
[2026-08-23 09:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:57:17] 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-08-23 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 09:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589441280001,"66":2231,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 09:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589441280001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:57:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 09:57:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589441280001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":162990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685791,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:57:17] local.INFO: GPS data processed {"connection_id":162990,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:57:17] local.INFO: Acknowledgment sent {"connection_id":162990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:57:22] local.INFO: TCP Data received {"connection_id":162990,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 09:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 09:57:22] local.INFO: Processing buffer {"connection_id":162990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 09:57:22] local.INFO: Packet analysis {"connection_id":162990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 09:57:22] local.INFO: Extracted packet for processing {"connection_id":162990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 09:57:22] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589441280001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:57:22] 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-08-23 09:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787459225000,"timestamp_ms":1787459225000,"timestamp_seconds":1787459225,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdf45a8"} 
[2026-08-23 09:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 09:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589441280001,"66":2231,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 09:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589441280001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:57:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 09:57:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589441280001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":162990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:57:22] local.INFO: GPS data processed {"connection_id":162990,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:57:22] local.INFO: Acknowledgment sent {"connection_id":162990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:57:25] local.INFO: TCP Data received {"connection_id":161576,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:57:25] local.INFO: Processing buffer {"connection_id":161576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:57:25] local.INFO: Packet analysis {"connection_id":161576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdc"} 
[2026-08-23 09:57:25] local.INFO: Extracted packet for processing {"connection_id":161576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdc"} 
[2026-08-23 09:57:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589432832001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787459023000,"timestamp_ms":1787459023000,"timestamp_seconds":1787459023,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdc3098"} 
[2026-08-23 09:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:57:25] 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-08-23 09:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589432832001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589432832001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:57:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:57:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589432832001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":161576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:57:25] local.INFO: GPS data processed {"connection_id":161576,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:57:25] local.INFO: Acknowledgment sent {"connection_id":161576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:57:30] local.INFO: TCP Data received {"connection_id":160617,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:57:30] local.INFO: Processing buffer {"connection_id":160617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:57:30] local.INFO: IMEI packet received {"connection_id":160617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":160617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:57:31] local.INFO: TCP Data received {"connection_id":160617,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:57:31] local.INFO: Processing buffer {"connection_id":160617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:57:31] local.INFO: IMEI packet received {"connection_id":160617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":160617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:57:35] local.INFO: TCP Data received {"connection_id":160617,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:57:35] local.INFO: Processing buffer {"connection_id":160617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:57:35] local.INFO: IMEI packet received {"connection_id":160617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":160617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:57:36] local.INFO: TCP Data received {"connection_id":160617,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdb8c88012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdb8c88012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:57:36] local.INFO: Processing buffer {"connection_id":160617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdb8c88012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:57:36] local.INFO: Packet analysis {"connection_id":160617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdb"} 
[2026-08-23 09:57:36] local.INFO: Extracted packet for processing {"connection_id":160617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdb"} 
[2026-08-23 09:57:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589493760001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787458981000,"timestamp_ms":1787458981000,"timestamp_seconds":1787458981,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdb8c88"} 
[2026-08-23 09:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 09:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589493760001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589493760001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:57:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:57:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589493760001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":160617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:57:36] local.INFO: GPS data processed {"connection_id":160617,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:57:36] local.INFO: Acknowledgment sent {"connection_id":160617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:57:46] local.INFO: TCP Data received {"connection_id":160407,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:57:46] local.INFO: Processing buffer {"connection_id":160407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:57:46] local.INFO: IMEI packet received {"connection_id":160407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":160407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:57:51] local.INFO: TCP Data received {"connection_id":160407,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:57:51] local.INFO: Processing buffer {"connection_id":160407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:57:51] local.INFO: IMEI packet received {"connection_id":160407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":160407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:57:52] local.INFO: TCP Data received {"connection_id":160407,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:57:52] local.INFO: Processing buffer {"connection_id":160407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:57:52] local.INFO: Packet analysis {"connection_id":160407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdc"} 
[2026-08-23 09:57:52] local.INFO: Extracted packet for processing {"connection_id":160407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdc"} 
[2026-08-23 09:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:57: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-08-23 09:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589432832001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787459023000,"timestamp_ms":1787459023000,"timestamp_seconds":1787459023,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdc3098"} 
[2026-08-23 09:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:57: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-08-23 09:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:57:52] 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-08-23 09:57: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-08-23 09:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589432832001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589432832001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:57:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589432832001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":160407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:57:52] local.INFO: GPS data processed {"connection_id":160407,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:57:52] local.INFO: Acknowledgment sent {"connection_id":160407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:58:07] local.INFO: TCP Data received {"connection_id":160617,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdbde90012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdbde90012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:58:07] local.INFO: Processing buffer {"connection_id":160617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdbde90012d1967c0071feea80038011d2a..."} 
[2026-08-23 09:58:07] local.INFO: Packet analysis {"connection_id":160617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdb"} 
[2026-08-23 09:58:07] local.INFO: Extracted packet for processing {"connection_id":160617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdb"} 
[2026-08-23 09:58:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589499136001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787459002000,"timestamp_ms":1787459002000,"timestamp_seconds":1787459002,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdbde90"} 
[2026-08-23 09:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 09:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:07] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3231700313139124583,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:07] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:07] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80266547850903552,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3661916161,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 09:58:07] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,22,160,58,45,192,238,56,41,10,66,232,44,150,1,240,53,227,31,4,113,205,242,103,168,239,48,2,54,7,40],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 09:58:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538807326507008,"timestamp_seconds":4035538807326507.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 09:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589499136001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589499136001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:58:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:58:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589499136001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":160617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:58:07] local.INFO: GPS data processed {"connection_id":160617,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:58:07] local.INFO: Acknowledgment sent {"connection_id":160617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:58:11] local.INFO: TCP Data received {"connection_id":160618,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:58:11] local.INFO: Processing buffer {"connection_id":160618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:58:11] local.INFO: IMEI packet received {"connection_id":160618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":160618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:58:16] local.INFO: TCP Data received {"connection_id":160618,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:58:16] local.INFO: Processing buffer {"connection_id":160618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:58:16] local.INFO: IMEI packet received {"connection_id":160618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":160618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:58:17] local.INFO: TCP Data received {"connection_id":160618,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 09:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 09:58:17] local.INFO: Processing buffer {"connection_id":160618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 09:58:17] local.INFO: Packet analysis {"connection_id":160618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 09:58:17] local.INFO: Extracted packet for processing {"connection_id":160618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 09:58:17] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589441280001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:17] 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-08-23 09:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787459225000,"timestamp_ms":1787459225000,"timestamp_seconds":1787459225,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdf45a8"} 
[2026-08-23 09:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:58:17] 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-08-23 09:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 09:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589441280001,"66":2231,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 09:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589441280001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 09:58:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589441280001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":160618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:58:17] local.INFO: GPS data processed {"connection_id":160618,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:58:17] local.INFO: Acknowledgment sent {"connection_id":160618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:58:24] local.INFO: TCP Data received {"connection_id":160407,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:58:24] local.INFO: Processing buffer {"connection_id":160407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:58:24] local.INFO: Packet analysis {"connection_id":160407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdc"} 
[2026-08-23 09:58:24] local.INFO: Extracted packet for processing {"connection_id":160407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdc"} 
[2026-08-23 09:58:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589432832001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787459023000,"timestamp_ms":1787459023000,"timestamp_seconds":1787459023,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdc3098"} 
[2026-08-23 09:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:58: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-08-23 09:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:58:24] 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-08-23 09:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589432832001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589432832001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:58:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:58:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589432832001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":160407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:58:24] local.INFO: GPS data processed {"connection_id":160407,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:58:24] local.INFO: Acknowledgment sent {"connection_id":160407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:58:30] local.INFO: TCP Data received {"connection_id":160408,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:58:30] local.INFO: Processing buffer {"connection_id":160408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:58:30] local.INFO: IMEI packet received {"connection_id":160408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":160408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:58:33] local.INFO: TCP Data received {"connection_id":160408,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:58:33] local.INFO: Processing buffer {"connection_id":160408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:58:33] local.INFO: IMEI packet received {"connection_id":160408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":160408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:58:34] local.INFO: TCP Data received {"connection_id":160408,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdf64e8012d1967c0071feea80038011d2b..."} 
[2026-08-23 09:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdf64e8012d1967c0071feea80038011d2b..."} 
[2026-08-23 09:58:34] local.INFO: Processing buffer {"connection_id":160408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdf64e8012d1967c0071feea80038011d2b..."} 
[2026-08-23 09:58:34] local.INFO: Packet analysis {"connection_id":160408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 09:58:34] local.INFO: Extracted packet for processing {"connection_id":160408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 09:58:34] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589558272001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787459233000,"timestamp_ms":1787459233000,"timestamp_seconds":1787459233,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdf64e8"} 
[2026-08-23 09:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 09:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589558272001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589558272001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:58:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:58:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589558272001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":160408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:58:34] local.INFO: GPS data processed {"connection_id":160408,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:58:34] local.INFO: Acknowledgment sent {"connection_id":160408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:58:48] local.INFO: TCP Data received {"connection_id":160618,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 09:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 09:58:48] local.INFO: Processing buffer {"connection_id":160618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 09:58:48] local.INFO: Packet analysis {"connection_id":160618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 09:58:48] local.INFO: Extracted packet for processing {"connection_id":160618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 09:58:48] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589441280001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:48] 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-08-23 09:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787459225000,"timestamp_ms":1787459225000,"timestamp_seconds":1787459225,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdf45a8"} 
[2026-08-23 09:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:58:48] 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-08-23 09:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 09:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589441280001,"66":2231,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 09:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589441280001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:58:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 09:58:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589441280001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":160618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:58:48] local.INFO: GPS data processed {"connection_id":160618,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:58:48] local.INFO: Acknowledgment sent {"connection_id":160618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:58:55] local.INFO: TCP Data received {"connection_id":160619,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:58:55] local.INFO: Processing buffer {"connection_id":160619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:58:55] local.INFO: IMEI packet received {"connection_id":160619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":160619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:58:56] local.INFO: TCP Data received {"connection_id":160619,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:58:56] local.INFO: Processing buffer {"connection_id":160619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:58:56] local.INFO: IMEI packet received {"connection_id":160619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":160619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:58:57] local.INFO: TCP Data received {"connection_id":160619,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:58:57] local.INFO: Processing buffer {"connection_id":160619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:58:57] local.INFO: Packet analysis {"connection_id":160619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdc"} 
[2026-08-23 09:58:57] local.INFO: Extracted packet for processing {"connection_id":160619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdc"} 
[2026-08-23 09:58:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589432832001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787459023000,"timestamp_ms":1787459023000,"timestamp_seconds":1787459023,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdc3098"} 
[2026-08-23 09:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:58:57] 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-08-23 09:58:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589432832001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589432832001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:58:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:58:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589432832001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":160619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:58:57] local.INFO: GPS data processed {"connection_id":160619,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:58:57] local.INFO: Acknowledgment sent {"connection_id":160619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:59:02] local.INFO: TCP Data received {"connection_id":160619,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:59:02] local.INFO: Processing buffer {"connection_id":160619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdc3098012d34c50006aa4098000900851c..."} 
[2026-08-23 09:59:02] local.INFO: Packet analysis {"connection_id":160619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdc"} 
[2026-08-23 09:59:02] local.INFO: Extracted packet for processing {"connection_id":160619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdc"} 
[2026-08-23 09:59:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589432832001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787459023000,"timestamp_ms":1787459023000,"timestamp_seconds":1787459023,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdc3098"} 
[2026-08-23 09:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 09:59:02] 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-08-23 09:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589432832001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589432832001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:59:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:59:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589432832001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":160619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:59:02] local.INFO: GPS data processed {"connection_id":160619,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:59:02] local.INFO: Acknowledgment sent {"connection_id":160619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:59:05] local.INFO: TCP Data received {"connection_id":160408,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdfb6f0012d1967c0071feea80038011d29..."} 
[2026-08-23 09:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdfb6f0012d1967c0071feea80038011d29..."} 
[2026-08-23 09:59:05] local.INFO: Processing buffer {"connection_id":160408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdfb6f0012d1967c0071feea80038011d29..."} 
[2026-08-23 09:59:05] local.INFO: Packet analysis {"connection_id":160408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 09:59:05] local.INFO: Extracted packet for processing {"connection_id":160408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 09:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589563648001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787459254000,"timestamp_ms":1787459254000,"timestamp_seconds":1787459254,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdfb6f0"} 
[2026-08-23 09:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:59:05] 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-08-23 09:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589563648001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589563648001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:59:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:59:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589563648001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":160408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:59:05] local.INFO: GPS data processed {"connection_id":160408,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:59:05] local.INFO: Acknowledgment sent {"connection_id":160408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:59:06] local.INFO: TCP Data received {"connection_id":162991,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:59:06] local.INFO: Processing buffer {"connection_id":162991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:59:06] local.INFO: IMEI packet received {"connection_id":162991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 09:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":162991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:59:11] local.INFO: TCP Data received {"connection_id":162991,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:59:11] local.INFO: Processing buffer {"connection_id":162991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 09:59:11] local.INFO: IMEI packet received {"connection_id":162991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 09:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":162991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:59:12] local.INFO: TCP Data received {"connection_id":162991,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 09:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 09:59:12] local.INFO: Processing buffer {"connection_id":162991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 09:59:12] local.INFO: Packet analysis {"connection_id":162991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 09:59:12] local.INFO: Extracted packet for processing {"connection_id":162991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 09:59:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589441280001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:59:12] 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-08-23 09:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787459225000,"timestamp_ms":1787459225000,"timestamp_seconds":1787459225,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdf45a8"} 
[2026-08-23 09:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:59: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-08-23 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 09:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589441280001,"66":2231,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 09:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589441280001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:59:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 09:59:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589441280001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":162991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685804,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:59:12] local.INFO: GPS data processed {"connection_id":162991,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:59:12] local.INFO: Acknowledgment sent {"connection_id":162991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:59:30] local.INFO: TCP Data received {"connection_id":161577,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:59:30] local.INFO: Processing buffer {"connection_id":161577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:59:30] local.INFO: IMEI packet received {"connection_id":161577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 09:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":161577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:59:35] local.INFO: TCP Data received {"connection_id":161577,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:59:35] local.INFO: Processing buffer {"connection_id":161577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 09:59:35] local.INFO: IMEI packet received {"connection_id":161577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 09:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":161577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:59:36] local.INFO: TCP Data received {"connection_id":161577,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce008f8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce008f8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:59:36] local.INFO: Processing buffer {"connection_id":161577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce008f8012d1967c0071feea80038011d29..."} 
[2026-08-23 09:59:36] local.INFO: Packet analysis {"connection_id":161577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 09:59:36] local.INFO: Extracted packet for processing {"connection_id":161577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 09:59:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 09:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589569024001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 09:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 09:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787459275000,"timestamp_ms":1787459275000,"timestamp_seconds":1787459275,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce008f8"} 
[2026-08-23 09:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 09:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 09:59:36] 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-08-23 09:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 09:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 09:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 09:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589569024001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 09:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 09:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 09:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589569024001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:59:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 09:59:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 09:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 09:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589569024001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 09:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":161577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:59:36] local.INFO: GPS data processed {"connection_id":161577,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:59:36] local.INFO: Acknowledgment sent {"connection_id":161577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:59:44] local.INFO: TCP Data received {"connection_id":162991,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 09:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 09:59:44] local.INFO: Processing buffer {"connection_id":162991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 09:59:44] local.INFO: Packet analysis {"connection_id":162991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 09:59:44] local.INFO: Extracted packet for processing {"connection_id":162991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 09:59:44] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 09: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-08-23 09:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589441280001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 09:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 09:59:44] 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-08-23 09:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787459225000,"timestamp_ms":1787459225000,"timestamp_seconds":1787459225,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdf45a8"} 
[2026-08-23 09:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:59:44] 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-08-23 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 09:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 09: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-08-23 09:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 09:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 09:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 09:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589441280001,"66":2231,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 09:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 09:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 09:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589441280001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:59:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 09:59:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 09:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 09:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589441280001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 09:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":162991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:59:44] local.INFO: GPS data processed {"connection_id":162991,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:59:44] local.INFO: Acknowledgment sent {"connection_id":162991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 09:59:46] local.INFO: TCP Data received {"connection_id":160620,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:59:46] local.INFO: Processing buffer {"connection_id":160620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:59:46] local.INFO: IMEI packet received {"connection_id":160620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 09:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":160620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 09:59:51] local.INFO: TCP Data received {"connection_id":160620,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:59:51] local.INFO: Processing buffer {"connection_id":160620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 09:59:51] local.INFO: IMEI packet received {"connection_id":160620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 09:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":160620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 09:59:53] local.INFO: TCP Data received {"connection_id":160620,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 09:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 09:59:53] local.INFO: Processing buffer {"connection_id":160620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 09:59:53] local.INFO: Packet analysis {"connection_id":160620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 09:59:53] local.INFO: Extracted packet for processing {"connection_id":160620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 09:59:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":25,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 09:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 09:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589509888001,"note":"Value kept but may cause issues"} 
[2026-08-23 09:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 09:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 09:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 09:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787459324000,"timestamp_ms":1787459324000,"timestamp_seconds":1787459324,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce0c860"} 
[2026-08-23 09:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 09:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 09:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 09:59:53] 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-08-23 09:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 09:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 09:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 09:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 09:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 09:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 09:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 09:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 09:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589509888001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 09:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 09:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 09:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589509888001,"description":"Unknown IO ID 0"} 
[2026-08-23 09:59:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 09:59:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 09:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 09:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 09:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589509888001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 09:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":160620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 09:59:53] local.INFO: GPS data processed {"connection_id":160620,"processed":1,"errors":0,"total":1} 
[2026-08-23 09:59:53] local.INFO: Acknowledgment sent {"connection_id":160620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:00:06] local.INFO: TCP Data received {"connection_id":160409,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:00:06] local.INFO: Processing buffer {"connection_id":160409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:00:06] local.INFO: IMEI packet received {"connection_id":160409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 10:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":160409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:00:07] local.INFO: TCP Data received {"connection_id":161577,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce05b00012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce05b00012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:00:07] local.INFO: Processing buffer {"connection_id":161577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce05b00012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:00:07] local.INFO: Packet analysis {"connection_id":161577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:00:07] local.INFO: Extracted packet for processing {"connection_id":161577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589574400001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787459296000,"timestamp_ms":1787459296000,"timestamp_seconds":1787459296,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce05b00"} 
[2026-08-23 10:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 10:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589574400001,"66":12374,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589574400001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:00:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589574400001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":161577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:00:07] local.INFO: GPS data processed {"connection_id":161577,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:00:07] local.INFO: Acknowledgment sent {"connection_id":161577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:00:11] local.INFO: TCP Data received {"connection_id":160409,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:00:11] local.INFO: Processing buffer {"connection_id":160409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:00:11] local.INFO: IMEI packet received {"connection_id":160409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 10:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":160409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:00:12] local.INFO: TCP Data received {"connection_id":160409,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:00:12] local.INFO: Processing buffer {"connection_id":160409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:00:12] local.INFO: Packet analysis {"connection_id":160409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 10:00:12] local.INFO: Extracted packet for processing {"connection_id":160409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 10:00:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589441280001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:00:12] 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-08-23 10:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787459225000,"timestamp_ms":1787459225000,"timestamp_seconds":1787459225,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdf45a8"} 
[2026-08-23 10:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:00: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-08-23 10:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 10:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589441280001,"66":2231,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 10:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589441280001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:00:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 10:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 10:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589441280001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":160409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:00:12] local.INFO: GPS data processed {"connection_id":160409,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:00:12] local.INFO: Acknowledgment sent {"connection_id":160409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:00:26] local.INFO: TCP Data received {"connection_id":160620,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:00:26] local.INFO: Processing buffer {"connection_id":160620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:00:26] local.INFO: Packet analysis {"connection_id":160620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:00:26] local.INFO: Extracted packet for processing {"connection_id":160620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:00:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":25,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589509888001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787459324000,"timestamp_ms":1787459324000,"timestamp_seconds":1787459324,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce0c860"} 
[2026-08-23 10:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10: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-08-23 10:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589509888001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589509888001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:00:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:00:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589509888001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":160620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:00:26] local.INFO: GPS data processed {"connection_id":160620,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:00:26] local.INFO: Acknowledgment sent {"connection_id":160620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:00:30] local.INFO: TCP Data received {"connection_id":162992,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:00:30] local.INFO: Processing buffer {"connection_id":162992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:00:30] local.INFO: IMEI packet received {"connection_id":162992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":162992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:00:35] local.INFO: TCP Data received {"connection_id":162992,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:00:35] local.INFO: Processing buffer {"connection_id":162992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:00:35] local.INFO: IMEI packet received {"connection_id":162992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":162992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:00:36] local.INFO: TCP Data received {"connection_id":162992,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce0ad08012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce0ad08012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:00:36] local.INFO: Processing buffer {"connection_id":162992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce0ad08012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:00:36] local.INFO: Packet analysis {"connection_id":162992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:00:36] local.INFO: Extracted packet for processing {"connection_id":162992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:00: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-08-23 10:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589579776001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787459317000,"timestamp_ms":1787459317000,"timestamp_seconds":1787459317,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce0ad08"} 
[2026-08-23 10:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 10:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589579776001,"66":12374,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589579776001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:00:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589579776001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":162992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:00:36] local.INFO: GPS data processed {"connection_id":162992,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:00:36] local.INFO: Acknowledgment sent {"connection_id":162992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:00:43] local.INFO: TCP Data received {"connection_id":160409,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:00:43] local.INFO: Processing buffer {"connection_id":160409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:00:43] local.INFO: Packet analysis {"connection_id":160409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 10:00:43] local.INFO: Extracted packet for processing {"connection_id":160409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 10:00:43] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589441280001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:00:43] 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-08-23 10:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787459225000,"timestamp_ms":1787459225000,"timestamp_seconds":1787459225,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdf45a8"} 
[2026-08-23 10:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:00:43] 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-08-23 10:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 10:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589441280001,"66":2231,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 10:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589441280001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:00:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 10:00:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 10:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589441280001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":160409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:00:43] local.INFO: GPS data processed {"connection_id":160409,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:00:43] local.INFO: Acknowledgment sent {"connection_id":160409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:00:46] local.INFO: TCP Data received {"connection_id":160621,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:00:46] local.INFO: Processing buffer {"connection_id":160621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:00:46] local.INFO: IMEI packet received {"connection_id":160621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":160621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:00:52] local.INFO: TCP Data received {"connection_id":160621,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:00:52] local.INFO: Processing buffer {"connection_id":160621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:00:52] local.INFO: IMEI packet received {"connection_id":160621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":160621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:00:53] local.INFO: TCP Data received {"connection_id":160621,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:00:53] local.INFO: Processing buffer {"connection_id":160621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:00:53] local.INFO: Packet analysis {"connection_id":160621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:00:53] local.INFO: Extracted packet for processing {"connection_id":160621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":25,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589509888001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787459324000,"timestamp_ms":1787459324000,"timestamp_seconds":1787459324,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce0c860"} 
[2026-08-23 10:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:00:53] 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-08-23 10: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-08-23 10:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:00:53] 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-08-23 10:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589509888001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589509888001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:00:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589509888001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":160621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:00:53] local.INFO: GPS data processed {"connection_id":160621,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:00:53] local.INFO: Acknowledgment sent {"connection_id":160621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:01:06] local.INFO: TCP Data received {"connection_id":160410,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:01:06] local.INFO: Processing buffer {"connection_id":160410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:01:06] local.INFO: IMEI packet received {"connection_id":160410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 10:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":160410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:01:07] local.INFO: TCP Data received {"connection_id":162992,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce0ff10012d1967c0071feea80038011d28..."} 
[2026-08-23 10:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce0ff10012d1967c0071feea80038011d28..."} 
[2026-08-23 10:01:07] local.INFO: Processing buffer {"connection_id":162992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce0ff10012d1967c0071feea80038011d28..."} 
[2026-08-23 10:01:07] local.INFO: Packet analysis {"connection_id":162992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:01:07] local.INFO: Extracted packet for processing {"connection_id":162992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589585152001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787459338000,"timestamp_ms":1787459338000,"timestamp_seconds":1787459338,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce0ff10"} 
[2026-08-23 10:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 10:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589585152001,"66":12374,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589585152001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:01:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589585152001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":162992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:01:07] local.INFO: GPS data processed {"connection_id":162992,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:01:07] local.INFO: Acknowledgment sent {"connection_id":162992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:01:11] local.INFO: TCP Data received {"connection_id":160410,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:01:11] local.INFO: Processing buffer {"connection_id":160410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:01:11] local.INFO: IMEI packet received {"connection_id":160410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 10:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":160410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:01:12] local.INFO: TCP Data received {"connection_id":160410,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:01:12] local.INFO: Processing buffer {"connection_id":160410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:01:12] local.INFO: Packet analysis {"connection_id":160410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 10:01:12] local.INFO: Extracted packet for processing {"connection_id":160410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 10:01:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589441280001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:01:12] 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-08-23 10:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787459225000,"timestamp_ms":1787459225000,"timestamp_seconds":1787459225,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdf45a8"} 
[2026-08-23 10:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:01: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-08-23 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 10:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589441280001,"66":2231,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 10:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589441280001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:01:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 10:01:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 10:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589441280001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":160410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:01:12] local.INFO: GPS data processed {"connection_id":160410,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:01:12] local.INFO: Acknowledgment sent {"connection_id":160410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:01:24] local.INFO: TCP Data received {"connection_id":160621,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:01:24] local.INFO: Processing buffer {"connection_id":160621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:01:24] local.INFO: Packet analysis {"connection_id":160621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:01:24] local.INFO: Extracted packet for processing {"connection_id":160621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:01:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":25,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589509888001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787459324000,"timestamp_ms":1787459324000,"timestamp_seconds":1787459324,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce0c860"} 
[2026-08-23 10:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:01: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-08-23 10:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:01:24] 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-08-23 10:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589509888001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589509888001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:01:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:01:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589509888001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":160621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:01:24] local.INFO: GPS data processed {"connection_id":160621,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:01:24] local.INFO: Acknowledgment sent {"connection_id":160621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:01:30] local.INFO: TCP Data received {"connection_id":160411,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:01:30] local.INFO: Processing buffer {"connection_id":160411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:01:30] local.INFO: IMEI packet received {"connection_id":160411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":160411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:01:35] local.INFO: TCP Data received {"connection_id":160411,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:01:35] local.INFO: Processing buffer {"connection_id":160411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:01:35] local.INFO: IMEI packet received {"connection_id":160411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":160411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:01:36] local.INFO: TCP Data received {"connection_id":160411,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce15118012d1967c0071feea80038011d27..."} 
[2026-08-23 10:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce15118012d1967c0071feea80038011d27..."} 
[2026-08-23 10:01:36] local.INFO: Processing buffer {"connection_id":160411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce15118012d1967c0071feea80038011d27..."} 
[2026-08-23 10:01:36] local.INFO: Packet analysis {"connection_id":160411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce1"} 
[2026-08-23 10:01:36] local.INFO: Extracted packet for processing {"connection_id":160411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce1"} 
[2026-08-23 10:01:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589590528001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787459359000,"timestamp_ms":1787459359000,"timestamp_seconds":1787459359,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce15118"} 
[2026-08-23 10:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 10:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589590528001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589590528001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:01:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589590528001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":160411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:01:36] local.INFO: GPS data processed {"connection_id":160411,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:01:36] local.INFO: Acknowledgment sent {"connection_id":160411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:01:43] local.INFO: TCP Data received {"connection_id":160410,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:01:43] local.INFO: Processing buffer {"connection_id":160410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cdf45a8012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:01:43] local.INFO: Packet analysis {"connection_id":160410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 10:01:43] local.INFO: Extracted packet for processing {"connection_id":160410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cdf"} 
[2026-08-23 10:01:43] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589441280001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:01:43] 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-08-23 10:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787459225000,"timestamp_ms":1787459225000,"timestamp_seconds":1787459225,"priority":1,"record_length":96,"hex_timestamp":"000001a02cdf45a8"} 
[2026-08-23 10:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:01:43] 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-08-23 10: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 10:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589441280001,"66":2231,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 10:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589441280001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:01:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 10:01:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 10:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589441280001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":160410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:01:43] local.INFO: GPS data processed {"connection_id":160410,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:01:43] local.INFO: Acknowledgment sent {"connection_id":160410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:01:46] local.INFO: TCP Data received {"connection_id":161578,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:01:46] local.INFO: Processing buffer {"connection_id":161578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:01:46] local.INFO: IMEI packet received {"connection_id":161578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":161578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:01:52] local.INFO: TCP Data received {"connection_id":161578,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:01:52] local.INFO: Processing buffer {"connection_id":161578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:01:52] local.INFO: IMEI packet received {"connection_id":161578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":161578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:01:52] local.INFO: TCP Data received {"connection_id":161578,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:01:52] local.INFO: Processing buffer {"connection_id":161578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:01:52] local.INFO: Packet analysis {"connection_id":161578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:01:52] local.INFO: Extracted packet for processing {"connection_id":161578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":25,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589509888001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787459324000,"timestamp_ms":1787459324000,"timestamp_seconds":1787459324,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce0c860"} 
[2026-08-23 10:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:01: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-08-23 10:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:01:52] 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-08-23 10:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:01:52] 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-08-23 10:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589509888001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589509888001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:01:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589509888001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":161578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:01:52] local.INFO: GPS data processed {"connection_id":161578,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:01:52] local.INFO: Acknowledgment sent {"connection_id":161578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:02:07] local.INFO: TCP Data received {"connection_id":160411,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce1a320012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce1a320012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:02:07] local.INFO: Processing buffer {"connection_id":160411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce1a320012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:02:07] local.INFO: Packet analysis {"connection_id":160411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce1"} 
[2026-08-23 10:02:07] local.INFO: Extracted packet for processing {"connection_id":160411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce1"} 
[2026-08-23 10:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589595904001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787459380000,"timestamp_ms":1787459380000,"timestamp_seconds":1787459380,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce1a320"} 
[2026-08-23 10:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:02:07] 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-08-23 10:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589595904001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589595904001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:02:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:02:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589595904001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":160411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:02:07] local.INFO: GPS data processed {"connection_id":160411,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:02:07] local.INFO: Acknowledgment sent {"connection_id":160411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:02:07] local.INFO: TCP Data received {"connection_id":160622,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:02:07] local.INFO: Processing buffer {"connection_id":160622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:02:07] local.INFO: IMEI packet received {"connection_id":160622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 10:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":160622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:02:11] local.INFO: TCP Data received {"connection_id":160622,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:02:11] local.INFO: Processing buffer {"connection_id":160622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:02:11] local.INFO: IMEI packet received {"connection_id":160622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 10:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":160622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:02:16] local.INFO: TCP Data received {"connection_id":160622,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:02:16] local.INFO: Processing buffer {"connection_id":160622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:02:16] local.INFO: IMEI packet received {"connection_id":160622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 10:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":160622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:02:17] local.INFO: TCP Data received {"connection_id":160622,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce3dd70012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce3dd70012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:02:17] local.INFO: Processing buffer {"connection_id":160622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce3dd70012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:02:17] local.INFO: Packet analysis {"connection_id":160622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce3"} 
[2026-08-23 10:02:17] local.INFO: Extracted packet for processing {"connection_id":160622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce3"} 
[2026-08-23 10:02:17] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589561600001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:17] 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-08-23 10:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787459526000,"timestamp_ms":1787459526000,"timestamp_seconds":1787459526,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce3dd70"} 
[2026-08-23 10:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 10:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589561600001,"66":2253,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 10:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589561600001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:02:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 10:02:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 10:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589561600001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":160622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:02:17] local.INFO: GPS data processed {"connection_id":160622,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:02:17] local.INFO: Acknowledgment sent {"connection_id":160622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:02:22] local.INFO: TCP Data received {"connection_id":160622,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce3dd70012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce3dd70012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:02:22] local.INFO: Processing buffer {"connection_id":160622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce3dd70012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:02:22] local.INFO: Packet analysis {"connection_id":160622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce3"} 
[2026-08-23 10:02:22] local.INFO: Extracted packet for processing {"connection_id":160622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce3"} 
[2026-08-23 10:02:22] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589561600001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:22] 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-08-23 10:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787459526000,"timestamp_ms":1787459526000,"timestamp_seconds":1787459526,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce3dd70"} 
[2026-08-23 10:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 10:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589561600001,"66":2253,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 10:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589561600001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:02:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 10:02:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 10:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589561600001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":160622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685822,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:02:22] local.INFO: GPS data processed {"connection_id":160622,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:02:22] local.INFO: Acknowledgment sent {"connection_id":160622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:02:24] local.INFO: TCP Data received {"connection_id":161578,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:02:24] local.INFO: Processing buffer {"connection_id":161578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:02:24] local.INFO: Packet analysis {"connection_id":161578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:02:24] local.INFO: Extracted packet for processing {"connection_id":161578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:02:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":25,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589509888001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787459324000,"timestamp_ms":1787459324000,"timestamp_seconds":1787459324,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce0c860"} 
[2026-08-23 10:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:02: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-08-23 10:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:02:24] 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-08-23 10:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589509888001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589509888001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:02:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:02:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589509888001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":161578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:02:24] local.INFO: GPS data processed {"connection_id":161578,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:02:24] local.INFO: Acknowledgment sent {"connection_id":161578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:02:35] local.INFO: TCP Data received {"connection_id":160623,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:02:35] local.INFO: Processing buffer {"connection_id":160623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:02:35] local.INFO: IMEI packet received {"connection_id":160623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":160623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:02:40] local.INFO: TCP Data received {"connection_id":160623,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:02:40] local.INFO: Processing buffer {"connection_id":160623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:02:40] local.INFO: IMEI packet received {"connection_id":160623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":160623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:02:40] local.INFO: TCP Data received {"connection_id":160623,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce1f528012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce1f528012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:02:40] local.INFO: Processing buffer {"connection_id":160623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce1f528012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:02:40] local.INFO: Packet analysis {"connection_id":160623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce1"} 
[2026-08-23 10:02:40] local.INFO: Extracted packet for processing {"connection_id":160623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce1"} 
[2026-08-23 10:02:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589601280001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787459401000,"timestamp_ms":1787459401000,"timestamp_seconds":1787459401,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce1f528"} 
[2026-08-23 10:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 10:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:40] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:40] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3233414005090228583,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:40] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:40] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80265448339275776,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:40] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:40] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3764060161,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:40] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 10:02:40] local.WARNING: Large IO value detected {"io_id":8,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:40] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:40] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,22,160,81,45,192,238,56,39,10,66,255,40,173,1,240,86,227,44,31,4,113,205,8,103,168,41,239,48,2,54,7,43],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 10:02:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538807326507008,"timestamp_seconds":4035538807326507.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 10:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589601280001,"66":12037,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589601280001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:02:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:02:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589601280001,"power":12037,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":160623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:02:40] local.INFO: GPS data processed {"connection_id":160623,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:02:40] local.INFO: Acknowledgment sent {"connection_id":160623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:02:45] local.INFO: TCP Data received {"connection_id":160623,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce24730012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce24730012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:02:45] local.INFO: Processing buffer {"connection_id":160623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce24730012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:02:45] local.INFO: Packet analysis {"connection_id":160623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce2"} 
[2026-08-23 10:02:45] local.INFO: Extracted packet for processing {"connection_id":160623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce2"} 
[2026-08-23 10:02:45] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589606656001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787459422000,"timestamp_ms":1787459422000,"timestamp_seconds":1787459422,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce24730"} 
[2026-08-23 10:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 10:02:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:45] local.WARNING: Large IO value detected {"io_id":22,"raw_value":2583691264,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3769436161,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-08-23 10:02:45] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:45] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182139515306240,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300961178525965609,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:45] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194888960,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:45] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,22,160,163,45,192,238,56,42,10,66,81,39,255,1,240,86,227,44,31,4,113,205,91,103,168,43,239,48,2,54,7,69],"length":484,"final_offset":614,"validated_count":39,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-08-23 10:02:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538807326507008,"timestamp_seconds":4035538807326507.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 10:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589606656001,"66":12004,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589606656001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:02:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:02:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589606656001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":160623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:02:45] local.INFO: GPS data processed {"connection_id":160623,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:02:45] local.INFO: Acknowledgment sent {"connection_id":160623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:02:46] local.INFO: TCP Data received {"connection_id":162993,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:02:46] local.INFO: Processing buffer {"connection_id":162993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:02:46] local.INFO: IMEI packet received {"connection_id":162993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":162993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:02:51] local.INFO: TCP Data received {"connection_id":162993,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:02:52] local.INFO: Processing buffer {"connection_id":162993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:02:52] local.INFO: IMEI packet received {"connection_id":162993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":162993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:02:53] local.INFO: TCP Data received {"connection_id":162993,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:02:53] local.INFO: Processing buffer {"connection_id":162993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:02:53] local.INFO: Packet analysis {"connection_id":162993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:02:53] local.INFO: Extracted packet for processing {"connection_id":162993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:02:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":25,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589509888001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787459324000,"timestamp_ms":1787459324000,"timestamp_seconds":1787459324,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce0c860"} 
[2026-08-23 10:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:02:53] 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-08-23 10:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589509888001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589509888001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:02:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:02:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589509888001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":162993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:02:53] local.INFO: GPS data processed {"connection_id":162993,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:02:53] local.INFO: Acknowledgment sent {"connection_id":162993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:03:06] local.INFO: TCP Data received {"connection_id":160624,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:03:06] local.INFO: Processing buffer {"connection_id":160624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:03:06] local.INFO: IMEI packet received {"connection_id":160624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 10:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":160624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:03:11] local.INFO: TCP Data received {"connection_id":160624,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:03:11] local.INFO: Processing buffer {"connection_id":160624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:03:11] local.INFO: IMEI packet received {"connection_id":160624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 10:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":160624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:03:12] local.INFO: TCP Data received {"connection_id":160624,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce3dd70012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce3dd70012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:03:12] local.INFO: Processing buffer {"connection_id":160624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce3dd70012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:03:12] local.INFO: Packet analysis {"connection_id":160624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce3"} 
[2026-08-23 10:03:12] local.INFO: Extracted packet for processing {"connection_id":160624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce3"} 
[2026-08-23 10:03:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589561600001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:03:12] 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-08-23 10:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787459526000,"timestamp_ms":1787459526000,"timestamp_seconds":1787459526,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce3dd70"} 
[2026-08-23 10:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 10:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589561600001,"66":2253,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 10:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589561600001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:03:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 10:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 10:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589561600001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":160624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:03:13] local.INFO: GPS data processed {"connection_id":160624,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:03:13] local.INFO: Acknowledgment sent {"connection_id":160624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:03:25] local.INFO: TCP Data received {"connection_id":162993,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:03:25] local.INFO: Processing buffer {"connection_id":162993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:03:25] local.INFO: Packet analysis {"connection_id":162993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:03:25] local.INFO: Extracted packet for processing {"connection_id":162993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:03:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":25,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589509888001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787459324000,"timestamp_ms":1787459324000,"timestamp_seconds":1787459324,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce0c860"} 
[2026-08-23 10:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589509888001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589509888001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:03:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589509888001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":162993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:03:25] local.INFO: GPS data processed {"connection_id":162993,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:03:25] local.INFO: Acknowledgment sent {"connection_id":162993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:03:27] local.INFO: TCP Data received {"connection_id":160625,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:03:27] local.INFO: Processing buffer {"connection_id":160625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:03:27] local.INFO: IMEI packet received {"connection_id":160625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":160625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:03:30] local.INFO: TCP Data received {"connection_id":160625,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:03:30] local.INFO: Processing buffer {"connection_id":160625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:03:30] local.INFO: IMEI packet received {"connection_id":160625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":160625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:03:35] local.INFO: TCP Data received {"connection_id":160625,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:03:35] local.INFO: Processing buffer {"connection_id":160625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:03:35] local.INFO: IMEI packet received {"connection_id":160625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":160625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:03:36] local.INFO: TCP Data received {"connection_id":160625,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce29938012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce29938012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:03:36] local.INFO: Processing buffer {"connection_id":160625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce29938012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:03:36] local.INFO: Packet analysis {"connection_id":160625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce2"} 
[2026-08-23 10:03:36] local.INFO: Extracted packet for processing {"connection_id":160625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce2"} 
[2026-08-23 10:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:03: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-08-23 10:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589612032001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787459443000,"timestamp_ms":1787459443000,"timestamp_seconds":1787459443,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce29938"} 
[2026-08-23 10:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-23 10:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:03: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-08-23 10:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589612032001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589612032001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:03:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589612032001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":160625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:03:36] local.INFO: GPS data processed {"connection_id":160625,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:03:36] local.INFO: Acknowledgment sent {"connection_id":160625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:03:44] local.INFO: TCP Data received {"connection_id":160624,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce3dd70012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce3dd70012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:03:44] local.INFO: Processing buffer {"connection_id":160624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce3dd70012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:03:44] local.INFO: Packet analysis {"connection_id":160624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce3"} 
[2026-08-23 10:03:44] local.INFO: Extracted packet for processing {"connection_id":160624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce3"} 
[2026-08-23 10:03:44] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589561600001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:03:44] 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-08-23 10:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787459526000,"timestamp_ms":1787459526000,"timestamp_seconds":1787459526,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce3dd70"} 
[2026-08-23 10:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 10:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589561600001,"66":2253,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 10:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589561600001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:03:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 10:03:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 10:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589561600001,"power":2253,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":160624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:03:44] local.INFO: GPS data processed {"connection_id":160624,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:03:44] local.INFO: Acknowledgment sent {"connection_id":160624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:03:51] local.INFO: TCP Data received {"connection_id":162994,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:03:51] local.INFO: Processing buffer {"connection_id":162994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:03:51] local.INFO: IMEI packet received {"connection_id":162994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":162994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:03:56] local.INFO: TCP Data received {"connection_id":162994,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:03:56] local.INFO: Processing buffer {"connection_id":162994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:03:56] local.INFO: IMEI packet received {"connection_id":162994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":162994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:03:58] local.INFO: TCP Data received {"connection_id":162994,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:03:58] local.INFO: Processing buffer {"connection_id":162994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:03:58] local.INFO: Packet analysis {"connection_id":162994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:03:58] local.INFO: Extracted packet for processing {"connection_id":162994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:03:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":25,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589509888001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787459324000,"timestamp_ms":1787459324000,"timestamp_seconds":1787459324,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce0c860"} 
[2026-08-23 10:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589509888001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589509888001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:03:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:03:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589509888001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":162994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:03:58] local.INFO: GPS data processed {"connection_id":162994,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:03:58] local.INFO: Acknowledgment sent {"connection_id":162994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:04:02] local.INFO: TCP Data received {"connection_id":162994,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:04:02] local.INFO: Processing buffer {"connection_id":162994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce0c860012d34c50006aa40980009008519..."} 
[2026-08-23 10:04:02] local.INFO: Packet analysis {"connection_id":162994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:04:02] local.INFO: Extracted packet for processing {"connection_id":162994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce0"} 
[2026-08-23 10:04:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":25,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589509888001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787459324000,"timestamp_ms":1787459324000,"timestamp_seconds":1787459324,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce0c860"} 
[2026-08-23 10:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589509888001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589509888001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:04:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:04:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589509888001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":162994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:04:02] local.INFO: GPS data processed {"connection_id":162994,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:04:02] local.INFO: Acknowledgment sent {"connection_id":162994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:04:06] local.INFO: TCP Data received {"connection_id":161579,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:04:06] local.INFO: Processing buffer {"connection_id":161579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:04:06] local.INFO: IMEI packet received {"connection_id":161579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 10:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":161579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:04:07] local.INFO: TCP Data received {"connection_id":160625,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce2eb40012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce2eb40012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:04:07] local.INFO: Processing buffer {"connection_id":160625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce2eb40012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:04:07] local.INFO: Packet analysis {"connection_id":160625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce2"} 
[2026-08-23 10:04:07] local.INFO: Extracted packet for processing {"connection_id":160625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce2"} 
[2026-08-23 10:04:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589617408001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787459464000,"timestamp_ms":1787459464000,"timestamp_seconds":1787459464,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce2eb40"} 
[2026-08-23 10:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 10:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589617408001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589617408001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:04:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:04:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589617408001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":160625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:04:07] local.INFO: GPS data processed {"connection_id":160625,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:04:07] local.INFO: Acknowledgment sent {"connection_id":160625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:04:30] local.INFO: TCP Data received {"connection_id":161580,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:04:30] local.INFO: Processing buffer {"connection_id":161580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:04:30] local.INFO: IMEI packet received {"connection_id":161580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":161580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:04:31] local.INFO: TCP Data received {"connection_id":161580,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:04:31] local.INFO: Processing buffer {"connection_id":161580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:04:31] local.INFO: IMEI packet received {"connection_id":161580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":161580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:04:35] local.INFO: TCP Data received {"connection_id":161580,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:04:35] local.INFO: Processing buffer {"connection_id":161580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:04:35] local.INFO: IMEI packet received {"connection_id":161580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":161580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:04:36] local.INFO: TCP Data received {"connection_id":161580,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce33d48012d1967c0071feea80038011d29..."} 
[2026-08-23 10:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce33d48012d1967c0071feea80038011d29..."} 
[2026-08-23 10:04:36] local.INFO: Processing buffer {"connection_id":161580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce33d48012d1967c0071feea80038011d29..."} 
[2026-08-23 10:04:36] local.INFO: Packet analysis {"connection_id":161580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce3"} 
[2026-08-23 10:04:36] local.INFO: Extracted packet for processing {"connection_id":161580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce3"} 
[2026-08-23 10:04:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589622784001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787459485000,"timestamp_ms":1787459485000,"timestamp_seconds":1787459485,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce33d48"} 
[2026-08-23 10:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 10:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589622784001,"66":12363,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589622784001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:04:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:04:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589622784001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":161580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:04:36] local.INFO: GPS data processed {"connection_id":161580,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:04:36] local.INFO: Acknowledgment sent {"connection_id":161580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:04:46] local.INFO: TCP Data received {"connection_id":160412,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:04:46] local.INFO: Processing buffer {"connection_id":160412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:04:46] local.INFO: IMEI packet received {"connection_id":160412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":160412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:04:52] local.INFO: TCP Data received {"connection_id":160412,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:04:52] local.INFO: Processing buffer {"connection_id":160412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:04:52] local.INFO: IMEI packet received {"connection_id":160412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":160412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:04:53] local.INFO: TCP Data received {"connection_id":160412,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:04:53] local.INFO: Processing buffer {"connection_id":160412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:04:53] local.INFO: Packet analysis {"connection_id":160412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:04:53] local.INFO: Extracted packet for processing {"connection_id":160412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:04:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:04: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-08-23 10:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589586944001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787459625000,"timestamp_ms":1787459625000,"timestamp_seconds":1787459625,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce56028"} 
[2026-08-23 10:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:04:53] 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-08-23 10:04: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-08-23 10:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:04:53] 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-08-23 10:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589586944001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589586944001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:04:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:04:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589586944001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":160412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:04:53] local.INFO: GPS data processed {"connection_id":160412,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:04:53] local.INFO: Acknowledgment sent {"connection_id":160412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:05:07] local.INFO: TCP Data received {"connection_id":161580,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce38f50012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce38f50012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:05:07] local.INFO: Processing buffer {"connection_id":161580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce38f50012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:05:07] local.INFO: Packet analysis {"connection_id":161580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce3"} 
[2026-08-23 10:05:07] local.INFO: Extracted packet for processing {"connection_id":161580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce3"} 
[2026-08-23 10:05:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589628160001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787459506000,"timestamp_ms":1787459506000,"timestamp_seconds":1787459506,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce38f50"} 
[2026-08-23 10:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 10:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589628160001,"66":12374,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589628160001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:05:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:05:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589628160001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":161580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:05:07] local.INFO: GPS data processed {"connection_id":161580,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:05:07] local.INFO: Acknowledgment sent {"connection_id":161580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:05:25] local.INFO: TCP Data received {"connection_id":160412,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:05:25] local.INFO: Processing buffer {"connection_id":160412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:05:25] local.INFO: Packet analysis {"connection_id":160412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:05:25] local.INFO: Extracted packet for processing {"connection_id":160412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:05:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589586944001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787459625000,"timestamp_ms":1787459625000,"timestamp_seconds":1787459625,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce56028"} 
[2026-08-23 10:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:05:25] 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-08-23 10:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589586944001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589586944001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:05:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:05:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589586944001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":160412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:05:25] local.INFO: GPS data processed {"connection_id":160412,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:05:25] local.INFO: Acknowledgment sent {"connection_id":160412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:05:30] local.INFO: TCP Data received {"connection_id":161581,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:05:30] local.INFO: Processing buffer {"connection_id":161581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:05:30] local.INFO: IMEI packet received {"connection_id":161581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":161581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:05:33] local.INFO: TCP Data received {"connection_id":161581,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:05:33] local.INFO: Processing buffer {"connection_id":161581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:05:33] local.INFO: IMEI packet received {"connection_id":161581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":161581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:05:35] local.INFO: TCP Data received {"connection_id":161581,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:05:35] local.INFO: Processing buffer {"connection_id":161581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:05:35] local.INFO: IMEI packet received {"connection_id":161581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":161581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:05:35] local.INFO: TCP Data received {"connection_id":161581,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce3e158012d1967c0071feea80038011d23..."} 
[2026-08-23 10:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce3e158012d1967c0071feea80038011d23..."} 
[2026-08-23 10:05:35] local.INFO: Processing buffer {"connection_id":161581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce3e158012d1967c0071feea80038011d23..."} 
[2026-08-23 10:05:35] local.INFO: Packet analysis {"connection_id":161581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce3"} 
[2026-08-23 10:05:35] local.INFO: Extracted packet for processing {"connection_id":161581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce3"} 
[2026-08-23 10:05:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589633536001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787459527000,"timestamp_ms":1787459527000,"timestamp_seconds":1787459527,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce3e158"} 
[2026-08-23 10:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 10:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589633536001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589633536001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:05:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:05:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589633536001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":161581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:05:36] local.INFO: GPS data processed {"connection_id":161581,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:05:36] local.INFO: Acknowledgment sent {"connection_id":161581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:05:40] local.INFO: TCP Data received {"connection_id":161581,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce43360012d1967c0071feea80038011d29..."} 
[2026-08-23 10:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce43360012d1967c0071feea80038011d29..."} 
[2026-08-23 10:05:40] local.INFO: Processing buffer {"connection_id":161581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce43360012d1967c0071feea80038011d29..."} 
[2026-08-23 10:05:40] local.INFO: Packet analysis {"connection_id":161581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce4"} 
[2026-08-23 10:05:40] local.INFO: Extracted packet for processing {"connection_id":161581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce4"} 
[2026-08-23 10:05:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589638912001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787459548000,"timestamp_ms":1787459548000,"timestamp_seconds":1787459548,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce43360"} 
[2026-08-23 10:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 10:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:40] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:40] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3234045365282740583,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:40] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:40] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80266547850903552,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:40] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:40] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3388115177154412750,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3801692161,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:40] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 10:05:40] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:40] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257848,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:40] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,22,160,143,45,192,238,56,42,10,66,61,41,235,1,240,255,227,44,31,4,113,205,71,103,168,43,239,46,2,54,7],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 10:05:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538777261735936,"timestamp_seconds":4035538777261736.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 10:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589638912001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589638912001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:05:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:05:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589638912001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":161581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:05:40] local.INFO: GPS data processed {"connection_id":161581,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:05:40] local.INFO: Acknowledgment sent {"connection_id":161581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:05:47] local.INFO: TCP Data received {"connection_id":160626,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:05:47] local.INFO: Processing buffer {"connection_id":160626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:05:47] local.INFO: IMEI packet received {"connection_id":160626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":160626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:05:52] local.INFO: TCP Data received {"connection_id":160626,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:05:52] local.INFO: Processing buffer {"connection_id":160626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:05:52] local.INFO: IMEI packet received {"connection_id":160626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":160626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:05:53] local.INFO: TCP Data received {"connection_id":160626,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:05:53] local.INFO: Processing buffer {"connection_id":160626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:05:53] local.INFO: Packet analysis {"connection_id":160626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:05:53] local.INFO: Extracted packet for processing {"connection_id":160626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:05:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589586944001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787459625000,"timestamp_ms":1787459625000,"timestamp_seconds":1787459625,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce56028"} 
[2026-08-23 10:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:05:53] 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-08-23 10: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-08-23 10:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:05:53] 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-08-23 10:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589586944001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589586944001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:05:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:05:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589586944001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":160626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:05:53] local.INFO: GPS data processed {"connection_id":160626,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:05:53] local.INFO: Acknowledgment sent {"connection_id":160626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:06:11] local.INFO: TCP Data received {"connection_id":161581,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce48568012d1967c0071feea80038011d27..."} 
[2026-08-23 10:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce48568012d1967c0071feea80038011d27..."} 
[2026-08-23 10:06:11] local.INFO: Processing buffer {"connection_id":161581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce48568012d1967c0071feea80038011d27..."} 
[2026-08-23 10:06:11] local.INFO: Packet analysis {"connection_id":161581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce4"} 
[2026-08-23 10:06:11] local.INFO: Extracted packet for processing {"connection_id":161581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce4"} 
[2026-08-23 10:06:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589644288001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787459569000,"timestamp_ms":1787459569000,"timestamp_seconds":1787459569,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce48568"} 
[2026-08-23 10:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:06:11] 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-08-23 10:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589644288001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589644288001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:06:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:06:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589644288001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":161581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:06:11] local.INFO: GPS data processed {"connection_id":161581,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:06:11] local.INFO: Acknowledgment sent {"connection_id":161581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:06:26] local.INFO: TCP Data received {"connection_id":160626,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:06:26] local.INFO: Processing buffer {"connection_id":160626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:06:26] local.INFO: Packet analysis {"connection_id":160626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:06:26] local.INFO: Extracted packet for processing {"connection_id":160626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:06:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 10:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589586944001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787459625000,"timestamp_ms":1787459625000,"timestamp_seconds":1787459625,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce56028"} 
[2026-08-23 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-08-23 10:06: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-08-23 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:06:26] 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-08-23 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-08-23 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-08-23 10:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589586944001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589586944001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:06:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:06:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589586944001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":160626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:06:26] local.INFO: GPS data processed {"connection_id":160626,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:06:26] local.INFO: Acknowledgment sent {"connection_id":160626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:06:30] local.INFO: TCP Data received {"connection_id":160413,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:06:30] local.INFO: Processing buffer {"connection_id":160413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:06:30] local.INFO: IMEI packet received {"connection_id":160413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":160413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:06:35] local.INFO: TCP Data received {"connection_id":160413,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:06:35] local.INFO: Processing buffer {"connection_id":160413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:06:35] local.INFO: IMEI packet received {"connection_id":160413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":160413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:06:36] local.INFO: TCP Data received {"connection_id":160413,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce4d770012d1967c0071feea80038011d29..."} 
[2026-08-23 10:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce4d770012d1967c0071feea80038011d29..."} 
[2026-08-23 10:06:36] local.INFO: Processing buffer {"connection_id":160413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce4d770012d1967c0071feea80038011d29..."} 
[2026-08-23 10:06:36] local.INFO: Packet analysis {"connection_id":160413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce4"} 
[2026-08-23 10:06:36] local.INFO: Extracted packet for processing {"connection_id":160413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce4"} 
[2026-08-23 10:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589649664001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787459590000,"timestamp_ms":1787459590000,"timestamp_seconds":1787459590,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce4d770"} 
[2026-08-23 10:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 10:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589649664001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589649664001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:06:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589649664001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":160413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:06:36] local.INFO: GPS data processed {"connection_id":160413,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:06:36] local.INFO: Acknowledgment sent {"connection_id":160413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:06:46] local.INFO: TCP Data received {"connection_id":161582,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:06:46] local.INFO: Processing buffer {"connection_id":161582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:06:46] local.INFO: IMEI packet received {"connection_id":161582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":161582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:06:54] local.INFO: TCP Data received {"connection_id":161582,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:06:54] local.INFO: Processing buffer {"connection_id":161582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:06:54] local.INFO: IMEI packet received {"connection_id":161582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":161582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:06:58] local.INFO: TCP Data received {"connection_id":161582,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:06:58] local.INFO: Processing buffer {"connection_id":161582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:06:58] local.INFO: Packet analysis {"connection_id":161582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:06:58] local.INFO: Extracted packet for processing {"connection_id":161582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:06:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589586944001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787459625000,"timestamp_ms":1787459625000,"timestamp_seconds":1787459625,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce56028"} 
[2026-08-23 10:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10: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-08-23 10: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-08-23 10:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589586944001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589586944001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:06:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:06:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589586944001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":161582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:06:58] local.INFO: GPS data processed {"connection_id":161582,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:06:58] local.INFO: Acknowledgment sent {"connection_id":161582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:07:07] local.INFO: TCP Data received {"connection_id":160413,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce52978012d1967c0071feea80038011d27..."} 
[2026-08-23 10:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce52978012d1967c0071feea80038011d27..."} 
[2026-08-23 10:07:07] local.INFO: Processing buffer {"connection_id":160413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce52978012d1967c0071feea80038011d27..."} 
[2026-08-23 10:07:07] local.INFO: Packet analysis {"connection_id":160413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:07:07] local.INFO: Extracted packet for processing {"connection_id":160413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589655040001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787459611000,"timestamp_ms":1787459611000,"timestamp_seconds":1787459611,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce52978"} 
[2026-08-23 10:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:07:07] 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-08-23 10:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589655040001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589655040001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:07:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:07:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589655040001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":160413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:07:07] local.INFO: GPS data processed {"connection_id":160413,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:07:07] local.INFO: Acknowledgment sent {"connection_id":160413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:07:35] local.INFO: TCP Data received {"connection_id":160627,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:07:35] local.INFO: Processing buffer {"connection_id":160627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:07:35] local.INFO: IMEI packet received {"connection_id":160627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":160627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:07:39] local.INFO: TCP Data received {"connection_id":160627,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:07:39] local.INFO: Processing buffer {"connection_id":160627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:07:39] local.INFO: IMEI packet received {"connection_id":160627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":160627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:07:39] local.INFO: TCP Data received {"connection_id":160627,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce57b80012d1967c0071feea80038011d1b..."} 
[2026-08-23 10:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce57b80012d1967c0071feea80038011d1b..."} 
[2026-08-23 10:07:39] local.INFO: Processing buffer {"connection_id":160627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce57b80012d1967c0071feea80038011d1b..."} 
[2026-08-23 10:07:39] local.INFO: Packet analysis {"connection_id":160627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:07:39] local.INFO: Extracted packet for processing {"connection_id":160627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:07:39] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":27,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589660416001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787459632000,"timestamp_ms":1787459632000,"timestamp_seconds":1787459632,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce57b80"} 
[2026-08-23 10:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 10:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:39] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:39] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3234406142535604583,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:39] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:39] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80265448339275776,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3479876019562086606,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3823196161,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:39] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 10:07:39] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:39] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,22,160,215,45,192,238,56,41,10,66,133,39,51,1,240,53,227,44,31,4,113,205,143,103,168,42,239,48,2,54,7],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 10:07:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538794441605120,"timestamp_seconds":4035538794441605.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 10:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589660416001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589660416001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:07:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:07:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589660416001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":160627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:07:40] local.INFO: GPS data processed {"connection_id":160627,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:07:40] local.INFO: Acknowledgment sent {"connection_id":160627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:07:40] local.INFO: TCP Data received {"connection_id":160627,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce5cd88012d1967c0071feea80038011d24..."} 
[2026-08-23 10:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce5cd88012d1967c0071feea80038011d24..."} 
[2026-08-23 10:07:40] local.INFO: Processing buffer {"connection_id":160627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce5cd88012d1967c0071feea80038011d24..."} 
[2026-08-23 10:07:40] local.INFO: Packet analysis {"connection_id":160627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:07:40] local.INFO: Extracted packet for processing {"connection_id":160627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:07:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589665792001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787459653000,"timestamp_ms":1787459653000,"timestamp_seconds":1787459653,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce5cd88"} 
[2026-08-23 10:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 10:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589665792001,"66":12374,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589665792001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:07:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:07:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589665792001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":160627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:07:40] local.INFO: GPS data processed {"connection_id":160627,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:07:40] local.INFO: Acknowledgment sent {"connection_id":160627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:07:41] local.INFO: TCP Data received {"connection_id":161582,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:07:41] local.INFO: Processing buffer {"connection_id":161582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:07:41] local.INFO: Packet analysis {"connection_id":161582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:07:41] local.INFO: Extracted packet for processing {"connection_id":161582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:07:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 10:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589586944001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787459625000,"timestamp_ms":1787459625000,"timestamp_seconds":1787459625,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce56028"} 
[2026-08-23 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-08-23 10: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-08-23 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:07:41] 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-08-23 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-08-23 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-08-23 10:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589586944001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589586944001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:07:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:07:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589586944001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":161582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:07:41] local.INFO: GPS data processed {"connection_id":161582,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:07:41] local.INFO: Acknowledgment sent {"connection_id":161582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:07:46] local.INFO: TCP Data received {"connection_id":161583,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:07:46] local.INFO: Processing buffer {"connection_id":161583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:07:46] local.INFO: IMEI packet received {"connection_id":161583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":161583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:07:51] local.INFO: TCP Data received {"connection_id":161583,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:07:51] local.INFO: Processing buffer {"connection_id":161583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:07:51] local.INFO: IMEI packet received {"connection_id":161583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":161583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:07:54] local.INFO: TCP Data received {"connection_id":161583,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:07:54] local.INFO: Processing buffer {"connection_id":161583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:07:54] local.INFO: Packet analysis {"connection_id":161583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:07:54] local.INFO: Extracted packet for processing {"connection_id":161583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:07:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 10:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589586944001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787459625000,"timestamp_ms":1787459625000,"timestamp_seconds":1787459625,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce56028"} 
[2026-08-23 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-08-23 10:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:07:54] 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-08-23 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-08-23 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-08-23 10:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:07:54] 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-08-23 10:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589586944001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589586944001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:07:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:07:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589586944001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":161583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:07:54] local.INFO: GPS data processed {"connection_id":161583,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:07:54] local.INFO: Acknowledgment sent {"connection_id":161583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:08:11] local.INFO: TCP Data received {"connection_id":160627,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce61f90012d1967c0071feea80038011d28..."} 
[2026-08-23 10:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce61f90012d1967c0071feea80038011d28..."} 
[2026-08-23 10:08:11] local.INFO: Processing buffer {"connection_id":160627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce61f90012d1967c0071feea80038011d28..."} 
[2026-08-23 10:08:11] local.INFO: Packet analysis {"connection_id":160627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce6"} 
[2026-08-23 10:08:11] local.INFO: Extracted packet for processing {"connection_id":160627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce6"} 
[2026-08-23 10:08:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589671168001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787459674000,"timestamp_ms":1787459674000,"timestamp_seconds":1787459674,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce61f90"} 
[2026-08-23 10:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 10:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589671168001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589671168001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:08:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:08:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589671168001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":160627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:08:11] local.INFO: GPS data processed {"connection_id":160627,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:08:11] local.INFO: Acknowledgment sent {"connection_id":160627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:08:26] local.INFO: TCP Data received {"connection_id":161583,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:08:26] local.INFO: Processing buffer {"connection_id":161583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:08:26] local.INFO: Packet analysis {"connection_id":161583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:08:26] local.INFO: Extracted packet for processing {"connection_id":161583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:08:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589586944001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787459625000,"timestamp_ms":1787459625000,"timestamp_seconds":1787459625,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce56028"} 
[2026-08-23 10:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:08: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-08-23 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:08:26] 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-08-23 10: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-08-23 10:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589586944001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589586944001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:08:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:08:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589586944001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":161583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:08:26] local.INFO: GPS data processed {"connection_id":161583,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:08:26] local.INFO: Acknowledgment sent {"connection_id":161583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:08:30] local.INFO: TCP Data received {"connection_id":161584,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:08:30] local.INFO: Processing buffer {"connection_id":161584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:08:30] local.INFO: IMEI packet received {"connection_id":161584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":161584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:08:35] local.INFO: TCP Data received {"connection_id":161584,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:08:35] local.INFO: Processing buffer {"connection_id":161584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:08:35] local.INFO: IMEI packet received {"connection_id":161584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":161584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:08:36] local.INFO: TCP Data received {"connection_id":161584,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce67198012d1967c0071feea80038011d27..."} 
[2026-08-23 10:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce67198012d1967c0071feea80038011d27..."} 
[2026-08-23 10:08:36] local.INFO: Processing buffer {"connection_id":161584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce67198012d1967c0071feea80038011d27..."} 
[2026-08-23 10:08:36] local.INFO: Packet analysis {"connection_id":161584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce6"} 
[2026-08-23 10:08:36] local.INFO: Extracted packet for processing {"connection_id":161584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce6"} 
[2026-08-23 10:08:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589676544001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787459695000,"timestamp_ms":1787459695000,"timestamp_seconds":1787459695,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce67198"} 
[2026-08-23 10:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:08:36] 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-08-23 10:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589676544001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589676544001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:08:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589676544001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":161584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:08:36] local.INFO: GPS data processed {"connection_id":161584,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:08:36] local.INFO: Acknowledgment sent {"connection_id":161584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:08:51] local.INFO: TCP Data received {"connection_id":160414,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:08:51] local.INFO: Processing buffer {"connection_id":160414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:08:51] local.INFO: IMEI packet received {"connection_id":160414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":160414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:08:57] local.INFO: TCP Data received {"connection_id":160414,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:08:57] local.INFO: Processing buffer {"connection_id":160414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:08:57] local.INFO: IMEI packet received {"connection_id":160414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":160414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:08:58] local.INFO: TCP Data received {"connection_id":160414,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:08:58] local.INFO: Processing buffer {"connection_id":160414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:08:58] local.INFO: Packet analysis {"connection_id":160414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:08:58] local.INFO: Extracted packet for processing {"connection_id":160414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:08:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589586944001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787459625000,"timestamp_ms":1787459625000,"timestamp_seconds":1787459625,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce56028"} 
[2026-08-23 10:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:08: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-08-23 10:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589586944001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589586944001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:08:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:08:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589586944001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":160414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:08:58] local.INFO: GPS data processed {"connection_id":160414,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:08:58] local.INFO: Acknowledgment sent {"connection_id":160414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:09:02] local.INFO: TCP Data received {"connection_id":160414,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:09:02] local.INFO: Processing buffer {"connection_id":160414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce56028012d34c50006aa4098000900851d..."} 
[2026-08-23 10:09:02] local.INFO: Packet analysis {"connection_id":160414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:09:02] local.INFO: Extracted packet for processing {"connection_id":160414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce5"} 
[2026-08-23 10:09:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":9,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589586944001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787459625000,"timestamp_ms":1787459625000,"timestamp_seconds":1787459625,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce56028"} 
[2026-08-23 10:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589586944001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589586944001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:09:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:09:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589586944001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":160414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:09:02] local.INFO: GPS data processed {"connection_id":160414,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:09:02] local.INFO: Acknowledgment sent {"connection_id":160414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:09:07] local.INFO: TCP Data received {"connection_id":161584,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce6c3a0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce6c3a0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:09:07] local.INFO: Processing buffer {"connection_id":161584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce6c3a0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:09:07] local.INFO: Packet analysis {"connection_id":161584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce6"} 
[2026-08-23 10:09:07] local.INFO: Extracted packet for processing {"connection_id":161584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce6"} 
[2026-08-23 10:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589681920001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787459716000,"timestamp_ms":1787459716000,"timestamp_seconds":1787459716,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce6c3a0"} 
[2026-08-23 10:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 10:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589681920001,"66":12374,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589681920001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:09:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589681920001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":161584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:09:07] local.INFO: GPS data processed {"connection_id":161584,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:09:07] local.INFO: Acknowledgment sent {"connection_id":161584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:09:30] local.INFO: TCP Data received {"connection_id":162995,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:09:30] local.INFO: Processing buffer {"connection_id":162995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:09:30] local.INFO: IMEI packet received {"connection_id":162995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":162995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:09:35] local.INFO: TCP Data received {"connection_id":162995,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:09:35] local.INFO: Processing buffer {"connection_id":162995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:09:35] local.INFO: IMEI packet received {"connection_id":162995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":162995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:09:36] local.INFO: TCP Data received {"connection_id":162995,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce715a8012d1967c0071feea80038011d28..."} 
[2026-08-23 10:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce715a8012d1967c0071feea80038011d28..."} 
[2026-08-23 10:09:36] local.INFO: Processing buffer {"connection_id":162995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce715a8012d1967c0071feea80038011d28..."} 
[2026-08-23 10:09:36] local.INFO: Packet analysis {"connection_id":162995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce7"} 
[2026-08-23 10:09:36] local.INFO: Extracted packet for processing {"connection_id":162995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce7"} 
[2026-08-23 10:09:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589687296001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787459737000,"timestamp_ms":1787459737000,"timestamp_seconds":1787459737,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce715a8"} 
[2026-08-23 10:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 10:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589687296001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589687296001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:09:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:09:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589687296001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":162995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:09:36] local.INFO: GPS data processed {"connection_id":162995,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:09:36] local.INFO: Acknowledgment sent {"connection_id":162995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:09:47] local.INFO: TCP Data received {"connection_id":160628,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:09:47] local.INFO: Processing buffer {"connection_id":160628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:09:47] local.INFO: IMEI packet received {"connection_id":160628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":160628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:09:52] local.INFO: TCP Data received {"connection_id":160628,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:09:52] local.INFO: Processing buffer {"connection_id":160628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:09:52] local.INFO: IMEI packet received {"connection_id":160628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":160628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:09:57] local.INFO: TCP Data received {"connection_id":160628,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:09:57] local.INFO: Processing buffer {"connection_id":160628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:09:57] local.INFO: Packet analysis {"connection_id":160628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce9"} 
[2026-08-23 10:09:57] local.INFO: Extracted packet for processing {"connection_id":160628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce9"} 
[2026-08-23 10:09:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":21,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589664000001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787459926000,"timestamp_ms":1787459926000,"timestamp_seconds":1787459926,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce9f7f0"} 
[2026-08-23 10:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589664000001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589664000001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:09:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:09:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589664000001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":160628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:09:57] local.INFO: GPS data processed {"connection_id":160628,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:09:57] local.INFO: Acknowledgment sent {"connection_id":160628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:10:07] local.INFO: TCP Data received {"connection_id":162995,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce767b0012d1967c0071feea80038011d29..."} 
[2026-08-23 10:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce767b0012d1967c0071feea80038011d29..."} 
[2026-08-23 10:10:07] local.INFO: Processing buffer {"connection_id":162995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce767b0012d1967c0071feea80038011d29..."} 
[2026-08-23 10:10:07] local.INFO: Packet analysis {"connection_id":162995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce7"} 
[2026-08-23 10:10:07] local.INFO: Extracted packet for processing {"connection_id":162995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce7"} 
[2026-08-23 10:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589692672001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787459758000,"timestamp_ms":1787459758000,"timestamp_seconds":1787459758,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce767b0"} 
[2026-08-23 10:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:10:07] 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-08-23 10:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589692672001,"66":12374,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589692672001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:10:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:10:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589692672001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":162995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:10:07] local.INFO: GPS data processed {"connection_id":162995,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:10:07] local.INFO: Acknowledgment sent {"connection_id":162995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:10:30] local.INFO: TCP Data received {"connection_id":161585,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:10:30] local.INFO: Processing buffer {"connection_id":161585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:10:30] local.INFO: IMEI packet received {"connection_id":161585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":161585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:10:32] local.INFO: TCP Data received {"connection_id":160628,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:10:32] local.INFO: Processing buffer {"connection_id":160628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:10:32] local.INFO: Packet analysis {"connection_id":160628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce9"} 
[2026-08-23 10:10:32] local.INFO: Extracted packet for processing {"connection_id":160628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce9"} 
[2026-08-23 10:10:32] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":21,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589664000001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787459926000,"timestamp_ms":1787459926000,"timestamp_seconds":1787459926,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce9f7f0"} 
[2026-08-23 10:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:10:32] 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-08-23 10:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589664000001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589664000001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:10:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:10:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589664000001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":160628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:10:32] local.INFO: GPS data processed {"connection_id":160628,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:10:32] local.INFO: Acknowledgment sent {"connection_id":160628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:10:35] local.INFO: TCP Data received {"connection_id":161585,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:10:35] local.INFO: Processing buffer {"connection_id":161585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:10:35] local.INFO: IMEI packet received {"connection_id":161585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":161585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:10:36] local.INFO: TCP Data received {"connection_id":161585,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce7b9b8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce7b9b8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:10:36] local.INFO: Processing buffer {"connection_id":161585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce7b9b8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:10:36] local.INFO: Packet analysis {"connection_id":161585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce7"} 
[2026-08-23 10:10:36] local.INFO: Extracted packet for processing {"connection_id":161585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce7"} 
[2026-08-23 10:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589698048001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787459779000,"timestamp_ms":1787459779000,"timestamp_seconds":1787459779,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce7b9b8"} 
[2026-08-23 10:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 10:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589698048001,"66":12374,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589698048001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:10:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:10:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589698048001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":161585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:10:36] local.INFO: GPS data processed {"connection_id":161585,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:10:36] local.INFO: Acknowledgment sent {"connection_id":161585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:10:47] local.INFO: TCP Data received {"connection_id":160629,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:10:47] local.INFO: Processing buffer {"connection_id":160629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:10:47] local.INFO: IMEI packet received {"connection_id":160629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":160629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:10:52] local.INFO: TCP Data received {"connection_id":160629,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:10:52] local.INFO: Processing buffer {"connection_id":160629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:10:52] local.INFO: IMEI packet received {"connection_id":160629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":160629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:10:52] local.INFO: TCP Data received {"connection_id":160629,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:10:52] local.INFO: Processing buffer {"connection_id":160629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:10:52] local.INFO: Packet analysis {"connection_id":160629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce9"} 
[2026-08-23 10:10:52] local.INFO: Extracted packet for processing {"connection_id":160629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce9"} 
[2026-08-23 10:10:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":21,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589664000001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787459926000,"timestamp_ms":1787459926000,"timestamp_seconds":1787459926,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce9f7f0"} 
[2026-08-23 10:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:10:53] 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-08-23 10:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589664000001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589664000001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:10:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:10:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589664000001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":160629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:10:53] local.INFO: GPS data processed {"connection_id":160629,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:10:53] local.INFO: Acknowledgment sent {"connection_id":160629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:11:07] local.INFO: TCP Data received {"connection_id":161585,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce80bc0012d1967c0071feea80038011d29..."} 
[2026-08-23 10:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce80bc0012d1967c0071feea80038011d29..."} 
[2026-08-23 10:11:07] local.INFO: Processing buffer {"connection_id":161585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce80bc0012d1967c0071feea80038011d29..."} 
[2026-08-23 10:11:07] local.INFO: Packet analysis {"connection_id":161585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce8"} 
[2026-08-23 10:11:07] local.INFO: Extracted packet for processing {"connection_id":161585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce8"} 
[2026-08-23 10:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589703424001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787459800000,"timestamp_ms":1787459800000,"timestamp_seconds":1787459800,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce80bc0"} 
[2026-08-23 10:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 10:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589703424001,"66":12232,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589703424001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:11:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:11:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589703424001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":161585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:11:07] local.INFO: GPS data processed {"connection_id":161585,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:11:07] local.INFO: Acknowledgment sent {"connection_id":161585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:11:24] local.INFO: TCP Data received {"connection_id":160629,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:11:24] local.INFO: Processing buffer {"connection_id":160629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:11:24] local.INFO: Packet analysis {"connection_id":160629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce9"} 
[2026-08-23 10:11:24] local.INFO: Extracted packet for processing {"connection_id":160629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce9"} 
[2026-08-23 10:11:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":21,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589664000001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787459926000,"timestamp_ms":1787459926000,"timestamp_seconds":1787459926,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce9f7f0"} 
[2026-08-23 10:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:11:24] 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-08-23 10:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589664000001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589664000001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:11:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:11:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589664000001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":160629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:11:24] local.INFO: GPS data processed {"connection_id":160629,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:11:24] local.INFO: Acknowledgment sent {"connection_id":160629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:11:31] local.INFO: TCP Data received {"connection_id":160415,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:11:31] local.INFO: Processing buffer {"connection_id":160415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:11:31] local.INFO: IMEI packet received {"connection_id":160415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":160415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:11:31] local.INFO: TCP Data received {"connection_id":160415,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:11:31] local.INFO: Processing buffer {"connection_id":160415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:11:31] local.INFO: IMEI packet received {"connection_id":160415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":160415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:11:35] local.INFO: TCP Data received {"connection_id":160415,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:11:35] local.INFO: Processing buffer {"connection_id":160415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:11:35] local.INFO: IMEI packet received {"connection_id":160415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":160415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:11:36] local.INFO: TCP Data received {"connection_id":160415,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce85dc8012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce85dc8012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:11:36] local.INFO: Processing buffer {"connection_id":160415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce85dc8012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:11:36] local.INFO: Packet analysis {"connection_id":160415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce8"} 
[2026-08-23 10:11:36] local.INFO: Extracted packet for processing {"connection_id":160415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce8"} 
[2026-08-23 10:11:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589708800001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787459821000,"timestamp_ms":1787459821000,"timestamp_seconds":1787459821,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce85dc8"} 
[2026-08-23 10:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 10:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589708800001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589708800001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:11:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:11:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589708800001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":160415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:11:36] local.INFO: GPS data processed {"connection_id":160415,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:11:36] local.INFO: Acknowledgment sent {"connection_id":160415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:11:46] local.INFO: TCP Data received {"connection_id":160416,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:11:46] local.INFO: Processing buffer {"connection_id":160416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:11:46] local.INFO: IMEI packet received {"connection_id":160416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":160416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:11:51] local.INFO: TCP Data received {"connection_id":160416,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:11:51] local.INFO: Processing buffer {"connection_id":160416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:11:51] local.INFO: IMEI packet received {"connection_id":160416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":160416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:11:52] local.INFO: TCP Data received {"connection_id":160416,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:11:52] local.INFO: Processing buffer {"connection_id":160416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:11:52] local.INFO: Packet analysis {"connection_id":160416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce9"} 
[2026-08-23 10:11:52] local.INFO: Extracted packet for processing {"connection_id":160416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce9"} 
[2026-08-23 10:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":21,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589664000001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787459926000,"timestamp_ms":1787459926000,"timestamp_seconds":1787459926,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce9f7f0"} 
[2026-08-23 10:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:11:52] 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-08-23 10:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589664000001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589664000001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:11:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589664000001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":160416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:11:52] local.INFO: GPS data processed {"connection_id":160416,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:11:52] local.INFO: Acknowledgment sent {"connection_id":160416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:12:07] local.INFO: TCP Data received {"connection_id":160415,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce8afd0012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce8afd0012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:12:07] local.INFO: Processing buffer {"connection_id":160415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce8afd0012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:12:07] local.INFO: Packet analysis {"connection_id":160415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce8"} 
[2026-08-23 10:12:07] local.INFO: Extracted packet for processing {"connection_id":160415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce8"} 
[2026-08-23 10:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589714176001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787459842000,"timestamp_ms":1787459842000,"timestamp_seconds":1787459842,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce8afd0"} 
[2026-08-23 10:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 10:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:07] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3235308085667764583,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:07] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:07] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80263249316020224,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:07] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3876956161,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 10:12:07] local.WARNING: Large IO value detected {"io_id":195,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,22,160,11,45,192,238,56,41,10,66,185,39,103,1,240,86,227,44,31,4,113,205,195,168,40,239,48,2,54,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 10:12:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538807326507008,"timestamp_seconds":4035538807326507.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 10:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589714176001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589714176001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:12:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589714176001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":160415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:12:07] local.INFO: GPS data processed {"connection_id":160415,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:12:07] local.INFO: Acknowledgment sent {"connection_id":160415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:12:24] local.INFO: TCP Data received {"connection_id":160416,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:12:24] local.INFO: Processing buffer {"connection_id":160416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:12:24] local.INFO: Packet analysis {"connection_id":160416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce9"} 
[2026-08-23 10:12:24] local.INFO: Extracted packet for processing {"connection_id":160416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce9"} 
[2026-08-23 10:12:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":21,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589664000001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787459926000,"timestamp_ms":1787459926000,"timestamp_seconds":1787459926,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce9f7f0"} 
[2026-08-23 10:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:12:24] 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-08-23 10:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589664000001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589664000001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:12:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:12:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589664000001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":160416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:12:24] local.INFO: GPS data processed {"connection_id":160416,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:12:24] local.INFO: Acknowledgment sent {"connection_id":160416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:12:30] local.INFO: TCP Data received {"connection_id":160630,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:12:30] local.INFO: Processing buffer {"connection_id":160630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:12:30] local.INFO: IMEI packet received {"connection_id":160630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":160630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:12:33] local.INFO: TCP Data received {"connection_id":160630,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:12:33] local.INFO: Processing buffer {"connection_id":160630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:12:33] local.INFO: IMEI packet received {"connection_id":160630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":160630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:12:35] local.INFO: TCP Data received {"connection_id":160630,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:12:35] local.INFO: Processing buffer {"connection_id":160630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:12:35] local.INFO: IMEI packet received {"connection_id":160630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":160630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:12:35] local.INFO: TCP Data received {"connection_id":160630,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cec3628012d1967c0071feea80038011d29..."} 
[2026-08-23 10:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cec3628012d1967c0071feea80038011d29..."} 
[2026-08-23 10:12:35] local.INFO: Processing buffer {"connection_id":160630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cec3628012d1967c0071feea80038011d29..."} 
[2026-08-23 10:12:35] local.INFO: Packet analysis {"connection_id":160630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cec"} 
[2026-08-23 10:12:35] local.INFO: Extracted packet for processing {"connection_id":160630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cec"} 
[2026-08-23 10:12:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589773312001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787460073000,"timestamp_ms":1787460073000,"timestamp_seconds":1787460073,"priority":1,"record_length":96,"hex_timestamp":"000001a02cec3628"} 
[2026-08-23 10:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-23 10:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589773312001,"66":12374,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589773312001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:12:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:12:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589773312001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":160630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:12:36] local.INFO: GPS data processed {"connection_id":160630,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:12:36] local.INFO: Acknowledgment sent {"connection_id":160630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:12:46] local.INFO: TCP Data received {"connection_id":161586,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:12:46] local.INFO: Processing buffer {"connection_id":161586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:12:46] local.INFO: IMEI packet received {"connection_id":161586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":161586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:12:51] local.INFO: TCP Data received {"connection_id":161586,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:12:51] local.INFO: Processing buffer {"connection_id":161586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:12:51] local.INFO: IMEI packet received {"connection_id":161586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":161586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:13:00] local.INFO: TCP Data received {"connection_id":161586,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:13:00] local.INFO: Processing buffer {"connection_id":161586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:13:00] local.INFO: Packet analysis {"connection_id":161586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce9"} 
[2026-08-23 10:13:00] local.INFO: Extracted packet for processing {"connection_id":161586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce9"} 
[2026-08-23 10:13:00] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":21,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 10:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589664000001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787459926000,"timestamp_ms":1787459926000,"timestamp_seconds":1787459926,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce9f7f0"} 
[2026-08-23 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-08-23 10:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 10:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589664000001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589664000001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:13:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:13:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589664000001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":161586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:13:00] local.INFO: GPS data processed {"connection_id":161586,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:13:00] local.INFO: Acknowledgment sent {"connection_id":161586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:13:07] local.INFO: TCP Data received {"connection_id":160630,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cec8830012d1967c0071feea80038011d29..."} 
[2026-08-23 10:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cec8830012d1967c0071feea80038011d29..."} 
[2026-08-23 10:13:07] local.INFO: Processing buffer {"connection_id":160630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cec8830012d1967c0071feea80038011d29..."} 
[2026-08-23 10:13:07] local.INFO: Packet analysis {"connection_id":160630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cec"} 
[2026-08-23 10:13:07] local.INFO: Extracted packet for processing {"connection_id":160630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cec"} 
[2026-08-23 10:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589778688001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787460094000,"timestamp_ms":1787460094000,"timestamp_seconds":1787460094,"priority":1,"record_length":96,"hex_timestamp":"000001a02cec8830"} 
[2026-08-23 10:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 10:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589778688001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589778688001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:13:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:13:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589778688001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":160630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:13:07] local.INFO: GPS data processed {"connection_id":160630,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:13:07] local.INFO: Acknowledgment sent {"connection_id":160630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:13:35] local.INFO: TCP Data received {"connection_id":161587,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:13:35] local.INFO: Processing buffer {"connection_id":161587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:13:35] local.INFO: IMEI packet received {"connection_id":161587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":161587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:13:36] local.INFO: TCP Data received {"connection_id":161587,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:13:36] local.INFO: Processing buffer {"connection_id":161587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:13:36] local.INFO: IMEI packet received {"connection_id":161587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":161587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:13:37] local.INFO: TCP Data received {"connection_id":161587,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cecda38012d1967c0071feea80038011d29..."} 
[2026-08-23 10:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cecda38012d1967c0071feea80038011d29..."} 
[2026-08-23 10:13:37] local.INFO: Processing buffer {"connection_id":161587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cecda38012d1967c0071feea80038011d29..."} 
[2026-08-23 10:13:37] local.INFO: Packet analysis {"connection_id":161587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cec"} 
[2026-08-23 10:13:37] local.INFO: Extracted packet for processing {"connection_id":161587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cec"} 
[2026-08-23 10:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589784064001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787460115000,"timestamp_ms":1787460115000,"timestamp_seconds":1787460115,"priority":1,"record_length":96,"hex_timestamp":"000001a02cecda38"} 
[2026-08-23 10:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589784064001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589784064001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:13:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589784064001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":161587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:13:37] local.INFO: GPS data processed {"connection_id":161587,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:13:37] local.INFO: Acknowledgment sent {"connection_id":161587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:13:40] local.INFO: TCP Data received {"connection_id":161587,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ced2c40012d1967c0071feea80038011d27..."} 
[2026-08-23 10:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ced2c40012d1967c0071feea80038011d27..."} 
[2026-08-23 10:13:40] local.INFO: Processing buffer {"connection_id":161587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ced2c40012d1967c0071feea80038011d27..."} 
[2026-08-23 10:13:40] local.INFO: Packet analysis {"connection_id":161587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ced"} 
[2026-08-23 10:13:40] local.INFO: Extracted packet for processing {"connection_id":161587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ced"} 
[2026-08-23 10:13:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589789440001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787460136000,"timestamp_ms":1787460136000,"timestamp_seconds":1787460136,"priority":1,"record_length":96,"hex_timestamp":"000001a02ced2c40"} 
[2026-08-23 10:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:13:40] 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-08-23 10: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-08-23 10:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589789440001,"66":12363,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589789440001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:13:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:13:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589789440001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":161587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:13:40] local.INFO: GPS data processed {"connection_id":161587,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:13:40] local.INFO: Acknowledgment sent {"connection_id":161587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:13:51] local.INFO: TCP Data received {"connection_id":162996,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:13:51] local.INFO: Processing buffer {"connection_id":162996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:13:51] local.INFO: IMEI packet received {"connection_id":162996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":162996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:13:56] local.INFO: TCP Data received {"connection_id":162996,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:13:56] local.INFO: Processing buffer {"connection_id":162996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:13:56] local.INFO: IMEI packet received {"connection_id":162996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":162996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:13:58] local.INFO: TCP Data received {"connection_id":162996,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:13:58] local.INFO: Processing buffer {"connection_id":162996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:13:58] local.INFO: Packet analysis {"connection_id":162996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce9"} 
[2026-08-23 10:13:58] local.INFO: Extracted packet for processing {"connection_id":162996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce9"} 
[2026-08-23 10:13:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":21,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589664000001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787459926000,"timestamp_ms":1787459926000,"timestamp_seconds":1787459926,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce9f7f0"} 
[2026-08-23 10:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:13: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-08-23 10:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589664000001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589664000001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:13:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:13:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589664000001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":162996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:13:58] local.INFO: GPS data processed {"connection_id":162996,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:13:58] local.INFO: Acknowledgment sent {"connection_id":162996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:14:02] local.INFO: TCP Data received {"connection_id":162996,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:14:02] local.INFO: Processing buffer {"connection_id":162996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce9f7f0012d34c50006aa4098001500851c..."} 
[2026-08-23 10:14:02] local.INFO: Packet analysis {"connection_id":162996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce9"} 
[2026-08-23 10:14:02] local.INFO: Extracted packet for processing {"connection_id":162996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce9"} 
[2026-08-23 10:14:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":21,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589664000001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787459926000,"timestamp_ms":1787459926000,"timestamp_seconds":1787459926,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce9f7f0"} 
[2026-08-23 10:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589664000001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589664000001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:14:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:14:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589664000001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":162996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:14:02] local.INFO: GPS data processed {"connection_id":162996,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:14:02] local.INFO: Acknowledgment sent {"connection_id":162996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:14:12] local.INFO: TCP Data received {"connection_id":161587,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ced7e48012d1967c0071feea80038011d29..."} 
[2026-08-23 10:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ced7e48012d1967c0071feea80038011d29..."} 
[2026-08-23 10:14:12] local.INFO: Processing buffer {"connection_id":161587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ced7e48012d1967c0071feea80038011d29..."} 
[2026-08-23 10:14:12] local.INFO: Packet analysis {"connection_id":161587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ced"} 
[2026-08-23 10:14:12] local.INFO: Extracted packet for processing {"connection_id":161587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ced"} 
[2026-08-23 10:14:12] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589794816001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787460157000,"timestamp_ms":1787460157000,"timestamp_seconds":1787460157,"priority":1,"record_length":96,"hex_timestamp":"000001a02ced7e48"} 
[2026-08-23 10:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 10:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589794816001,"66":12374,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589794816001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:14:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:14:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589794816001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":161587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:14:12] local.INFO: GPS data processed {"connection_id":161587,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:14:12] local.INFO: Acknowledgment sent {"connection_id":161587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:14:30] local.INFO: TCP Data received {"connection_id":162997,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:14:30] local.INFO: Processing buffer {"connection_id":162997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:14:30] local.INFO: IMEI packet received {"connection_id":162997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":162997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:14:35] local.INFO: TCP Data received {"connection_id":162997,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:14:35] local.INFO: Processing buffer {"connection_id":162997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:14:35] local.INFO: IMEI packet received {"connection_id":162997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":162997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:14:36] local.INFO: TCP Data received {"connection_id":162997,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cedd050012d1967c0071feea80038011d29..."} 
[2026-08-23 10:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cedd050012d1967c0071feea80038011d29..."} 
[2026-08-23 10:14:36] local.INFO: Processing buffer {"connection_id":162997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cedd050012d1967c0071feea80038011d29..."} 
[2026-08-23 10:14:36] local.INFO: Packet analysis {"connection_id":162997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ced"} 
[2026-08-23 10:14:36] local.INFO: Extracted packet for processing {"connection_id":162997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ced"} 
[2026-08-23 10:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589800192001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787460178000,"timestamp_ms":1787460178000,"timestamp_seconds":1787460178,"priority":1,"record_length":96,"hex_timestamp":"000001a02cedd050"} 
[2026-08-23 10:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 10:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589800192001,"66":12363,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589800192001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:14:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589800192001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":162997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:14:36] local.INFO: GPS data processed {"connection_id":162997,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:14:36] local.INFO: Acknowledgment sent {"connection_id":162997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:14:46] local.INFO: TCP Data received {"connection_id":162998,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:14:46] local.INFO: Processing buffer {"connection_id":162998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:14:46] local.INFO: IMEI packet received {"connection_id":162998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":162998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:14:51] local.INFO: TCP Data received {"connection_id":162998,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:14:51] local.INFO: Processing buffer {"connection_id":162998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:14:51] local.INFO: IMEI packet received {"connection_id":162998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":162998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:14:52] local.INFO: TCP Data received {"connection_id":162998,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:14:52] local.INFO: Processing buffer {"connection_id":162998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:14:52] local.INFO: Packet analysis {"connection_id":162998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:14:52] local.INFO: Extracted packet for processing {"connection_id":162998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:14:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":21,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589741056001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787460227000,"timestamp_ms":1787460227000,"timestamp_seconds":1787460227,"priority":1,"record_length":96,"hex_timestamp":"000001a02cee8fb8"} 
[2026-08-23 10:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 10:14:52] 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-08-23 10:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589741056001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589741056001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:14:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:14:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589741056001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":162998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:14:52] local.INFO: GPS data processed {"connection_id":162998,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:14:52] local.INFO: Acknowledgment sent {"connection_id":162998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:15:07] local.INFO: TCP Data received {"connection_id":162997,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cee2258012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cee2258012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:15:07] local.INFO: Processing buffer {"connection_id":162997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cee2258012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:15:07] local.INFO: Packet analysis {"connection_id":162997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:15:07] local.INFO: Extracted packet for processing {"connection_id":162997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589805568001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787460199000,"timestamp_ms":1787460199000,"timestamp_seconds":1787460199,"priority":1,"record_length":96,"hex_timestamp":"000001a02cee2258"} 
[2026-08-23 10:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 10:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589805568001,"66":12374,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589805568001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:15:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589805568001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":162997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:15:07] local.INFO: GPS data processed {"connection_id":162997,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:15:07] local.INFO: Acknowledgment sent {"connection_id":162997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:15:24] local.INFO: TCP Data received {"connection_id":162998,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:15:24] local.INFO: Processing buffer {"connection_id":162998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:15:24] local.INFO: Packet analysis {"connection_id":162998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:15:24] local.INFO: Extracted packet for processing {"connection_id":162998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:15:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":21,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589741056001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787460227000,"timestamp_ms":1787460227000,"timestamp_seconds":1787460227,"priority":1,"record_length":96,"hex_timestamp":"000001a02cee8fb8"} 
[2026-08-23 10:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 10:15:24] 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-08-23 10:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589741056001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589741056001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:15:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:15:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589741056001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":162998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:15:24] local.INFO: GPS data processed {"connection_id":162998,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:15:24] local.INFO: Acknowledgment sent {"connection_id":162998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:15:30] local.INFO: TCP Data received {"connection_id":160631,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:15:30] local.INFO: Processing buffer {"connection_id":160631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:15:30] local.INFO: IMEI packet received {"connection_id":160631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":160631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:15:35] local.INFO: TCP Data received {"connection_id":160631,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:15:35] local.INFO: Processing buffer {"connection_id":160631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:15:35] local.INFO: IMEI packet received {"connection_id":160631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":160631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:15:36] local.INFO: TCP Data received {"connection_id":160631,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cee7460012d1967c0071feea80038011d28..."} 
[2026-08-23 10:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cee7460012d1967c0071feea80038011d28..."} 
[2026-08-23 10:15:36] local.INFO: Processing buffer {"connection_id":160631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cee7460012d1967c0071feea80038011d28..."} 
[2026-08-23 10:15:36] local.INFO: Packet analysis {"connection_id":160631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:15:36] local.INFO: Extracted packet for processing {"connection_id":160631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:15:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589810944001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787460220000,"timestamp_ms":1787460220000,"timestamp_seconds":1787460220,"priority":1,"record_length":96,"hex_timestamp":"000001a02cee7460"} 
[2026-08-23 10:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 10:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589810944001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589810944001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:15:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:15:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589810944001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":160631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:15:36] local.INFO: GPS data processed {"connection_id":160631,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:15:36] local.INFO: Acknowledgment sent {"connection_id":160631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:15:46] local.INFO: TCP Data received {"connection_id":162999,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:15:46] local.INFO: Processing buffer {"connection_id":162999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:15:46] local.INFO: IMEI packet received {"connection_id":162999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":162999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:15:51] local.INFO: TCP Data received {"connection_id":162999,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:15:51] local.INFO: Processing buffer {"connection_id":162999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:15:51] local.INFO: IMEI packet received {"connection_id":162999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":162999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:15:52] local.INFO: TCP Data received {"connection_id":162999,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:15:52] local.INFO: Processing buffer {"connection_id":162999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:15:52] local.INFO: Packet analysis {"connection_id":162999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:15:52] local.INFO: Extracted packet for processing {"connection_id":162999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:15:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":21,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:15: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-08-23 10:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589741056001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787460227000,"timestamp_ms":1787460227000,"timestamp_seconds":1787460227,"priority":1,"record_length":96,"hex_timestamp":"000001a02cee8fb8"} 
[2026-08-23 10:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 10:15:52] 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-08-23 10:15: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-08-23 10:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:15: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-08-23 10:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589741056001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589741056001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:15:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:15:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589741056001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":162999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:15:52] local.INFO: GPS data processed {"connection_id":162999,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:15:52] local.INFO: Acknowledgment sent {"connection_id":162999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:16:07] local.INFO: TCP Data received {"connection_id":160631,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02ceec668012d1967c0071feea80038011d29..."} 
[2026-08-23 10:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ceec668012d1967c0071feea80038011d29..."} 
[2026-08-23 10:16:07] local.INFO: Processing buffer {"connection_id":160631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ceec668012d1967c0071feea80038011d29..."} 
[2026-08-23 10:16:07] local.INFO: Packet analysis {"connection_id":160631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:16:07] local.INFO: Extracted packet for processing {"connection_id":160631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589816320001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787460241000,"timestamp_ms":1787460241000,"timestamp_seconds":1787460241,"priority":1,"record_length":96,"hex_timestamp":"000001a02ceec668"} 
[2026-08-23 10:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 10:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589816320001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589816320001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:16:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:16:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589816320001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":160631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:16:07] local.INFO: GPS data processed {"connection_id":160631,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:16:07] local.INFO: Acknowledgment sent {"connection_id":160631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:16:24] local.INFO: TCP Data received {"connection_id":162999,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:16:24] local.INFO: Processing buffer {"connection_id":162999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:16:24] local.INFO: Packet analysis {"connection_id":162999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:16:24] local.INFO: Extracted packet for processing {"connection_id":162999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:16:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":21,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:16: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-08-23 10:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589741056001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787460227000,"timestamp_ms":1787460227000,"timestamp_seconds":1787460227,"priority":1,"record_length":96,"hex_timestamp":"000001a02cee8fb8"} 
[2026-08-23 10:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 10:16:24] 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-08-23 10:16: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-08-23 10:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589741056001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589741056001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:16:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:16:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589741056001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":162999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:16:24] local.INFO: GPS data processed {"connection_id":162999,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:16:24] local.INFO: Acknowledgment sent {"connection_id":162999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:16:30] local.INFO: TCP Data received {"connection_id":160417,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:16:30] local.INFO: Processing buffer {"connection_id":160417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:16:30] local.INFO: IMEI packet received {"connection_id":160417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":160417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:16:35] local.INFO: TCP Data received {"connection_id":160417,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:16:35] local.INFO: Processing buffer {"connection_id":160417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:16:35] local.INFO: IMEI packet received {"connection_id":160417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":160417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:16:36] local.INFO: TCP Data received {"connection_id":160417,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cef1870012d1967c0071feea80038011d29..."} 
[2026-08-23 10:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cef1870012d1967c0071feea80038011d29..."} 
[2026-08-23 10:16:36] local.INFO: Processing buffer {"connection_id":160417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cef1870012d1967c0071feea80038011d29..."} 
[2026-08-23 10:16:36] local.INFO: Packet analysis {"connection_id":160417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cef"} 
[2026-08-23 10:16:36] local.INFO: Extracted packet for processing {"connection_id":160417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cef"} 
[2026-08-23 10:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589821696001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787460262000,"timestamp_ms":1787460262000,"timestamp_seconds":1787460262,"priority":1,"record_length":96,"hex_timestamp":"000001a02cef1870"} 
[2026-08-23 10:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 10:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589821696001,"66":12113,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589821696001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:16:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589821696001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":160417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:16:36] local.INFO: GPS data processed {"connection_id":160417,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:16:36] local.INFO: Acknowledgment sent {"connection_id":160417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:16:46] local.INFO: TCP Data received {"connection_id":160632,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:16:46] local.INFO: Processing buffer {"connection_id":160632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:16:46] local.INFO: IMEI packet received {"connection_id":160632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":160632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:16:51] local.INFO: TCP Data received {"connection_id":160632,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:16:51] local.INFO: Processing buffer {"connection_id":160632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:16:51] local.INFO: IMEI packet received {"connection_id":160632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":160632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:16:52] local.INFO: TCP Data received {"connection_id":160632,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:16:52] local.INFO: Processing buffer {"connection_id":160632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:16:52] local.INFO: Packet analysis {"connection_id":160632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:16:52] local.INFO: Extracted packet for processing {"connection_id":160632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:16:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":21,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:16: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-08-23 10:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589741056001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787460227000,"timestamp_ms":1787460227000,"timestamp_seconds":1787460227,"priority":1,"record_length":96,"hex_timestamp":"000001a02cee8fb8"} 
[2026-08-23 10:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 10:16:52] 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-08-23 10:16: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-08-23 10:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:16:52] 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-08-23 10:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589741056001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589741056001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:16:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:16:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589741056001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":160632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:16:52] local.INFO: GPS data processed {"connection_id":160632,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:16:52] local.INFO: Acknowledgment sent {"connection_id":160632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:17:07] local.INFO: TCP Data received {"connection_id":160417,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cef6a78012d1967c0071feea80038011d29..."} 
[2026-08-23 10:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cef6a78012d1967c0071feea80038011d29..."} 
[2026-08-23 10:17:07] local.INFO: Processing buffer {"connection_id":160417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cef6a78012d1967c0071feea80038011d29..."} 
[2026-08-23 10:17:07] local.INFO: Packet analysis {"connection_id":160417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cef"} 
[2026-08-23 10:17:07] local.INFO: Extracted packet for processing {"connection_id":160417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cef"} 
[2026-08-23 10:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589827072001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787460283000,"timestamp_ms":1787460283000,"timestamp_seconds":1787460283,"priority":1,"record_length":96,"hex_timestamp":"000001a02cef6a78"} 
[2026-08-23 10:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-23 10:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589827072001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589827072001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:17:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:17:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589827072001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":160417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:17:07] local.INFO: GPS data processed {"connection_id":160417,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:17:07] local.INFO: Acknowledgment sent {"connection_id":160417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:17:24] local.INFO: TCP Data received {"connection_id":160632,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:17:24] local.INFO: Processing buffer {"connection_id":160632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:17:24] local.INFO: Packet analysis {"connection_id":160632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:17:24] local.INFO: Extracted packet for processing {"connection_id":160632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:17:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":21,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589741056001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787460227000,"timestamp_ms":1787460227000,"timestamp_seconds":1787460227,"priority":1,"record_length":96,"hex_timestamp":"000001a02cee8fb8"} 
[2026-08-23 10:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 10:17:24] 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-08-23 10: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-08-23 10:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:17:24] 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-08-23 10:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589741056001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589741056001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:17:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:17:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589741056001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":160632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:17:24] local.INFO: GPS data processed {"connection_id":160632,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:17:24] local.INFO: Acknowledgment sent {"connection_id":160632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:17:30] local.INFO: TCP Data received {"connection_id":161588,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:17:30] local.INFO: Processing buffer {"connection_id":161588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:17:30] local.INFO: IMEI packet received {"connection_id":161588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":161588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:17:35] local.INFO: TCP Data received {"connection_id":161588,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:17:35] local.INFO: Processing buffer {"connection_id":161588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:17:35] local.INFO: IMEI packet received {"connection_id":161588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":161588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:17:36] local.INFO: TCP Data received {"connection_id":161588,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cefbc80012d1967c0071feea80038011d25..."} 
[2026-08-23 10:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cefbc80012d1967c0071feea80038011d25..."} 
[2026-08-23 10:17:36] local.INFO: Processing buffer {"connection_id":161588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cefbc80012d1967c0071feea80038011d25..."} 
[2026-08-23 10:17:36] local.INFO: Packet analysis {"connection_id":161588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cef"} 
[2026-08-23 10:17:36] local.INFO: Extracted packet for processing {"connection_id":161588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cef"} 
[2026-08-23 10:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589832448001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787460304000,"timestamp_ms":1787460304000,"timestamp_seconds":1787460304,"priority":1,"record_length":96,"hex_timestamp":"000001a02cefbc80"} 
[2026-08-23 10:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 10:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:36] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3237292360558516583,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:36] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80265448339275776,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972244305903822,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3995228161,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 10:17:36] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,22,160,45,192,238,56,41,10,66,198,116,1,240,255,227,44,31,4,113,205,208,103,168,239,48,2,54,7,39],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 10:17:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538803031539712,"timestamp_seconds":4035538803031539.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 10:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589832448001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589832448001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:17:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589832448001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":161588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:17:36] local.INFO: GPS data processed {"connection_id":161588,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:17:36] local.INFO: Acknowledgment sent {"connection_id":161588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:17:46] local.INFO: TCP Data received {"connection_id":163000,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:17:46] local.INFO: Processing buffer {"connection_id":163000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:17:46] local.INFO: IMEI packet received {"connection_id":163000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":163000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:17:51] local.INFO: TCP Data received {"connection_id":163000,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:17:51] local.INFO: Processing buffer {"connection_id":163000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:17:51] local.INFO: IMEI packet received {"connection_id":163000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":163000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:17:53] local.INFO: TCP Data received {"connection_id":163000,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:17:53] local.INFO: Processing buffer {"connection_id":163000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:17:53] local.INFO: Packet analysis {"connection_id":163000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:17:53] local.INFO: Extracted packet for processing {"connection_id":163000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:17:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":21,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:17: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-08-23 10:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589741056001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787460227000,"timestamp_ms":1787460227000,"timestamp_seconds":1787460227,"priority":1,"record_length":96,"hex_timestamp":"000001a02cee8fb8"} 
[2026-08-23 10:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 10:17:53] 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-08-23 10:17: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-08-23 10:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:17:53] 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-08-23 10:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589741056001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589741056001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:17:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:17:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589741056001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":163000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:17:53] local.INFO: GPS data processed {"connection_id":163000,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:17:53] local.INFO: Acknowledgment sent {"connection_id":163000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:18:07] local.INFO: TCP Data received {"connection_id":161588,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf00e88012d1967c0071feea80038011d27..."} 
[2026-08-23 10:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf00e88012d1967c0071feea80038011d27..."} 
[2026-08-23 10:18:07] local.INFO: Processing buffer {"connection_id":161588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf00e88012d1967c0071feea80038011d27..."} 
[2026-08-23 10:18:07] local.INFO: Packet analysis {"connection_id":161588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf0"} 
[2026-08-23 10:18:07] local.INFO: Extracted packet for processing {"connection_id":161588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf0"} 
[2026-08-23 10:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589837824001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787460325000,"timestamp_ms":1787460325000,"timestamp_seconds":1787460325,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf00e88"} 
[2026-08-23 10:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:18:07] 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-08-23 10: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-08-23 10:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589837824001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589837824001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:18:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589837824001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":161588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:18:07] local.INFO: GPS data processed {"connection_id":161588,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:18:07] local.INFO: Acknowledgment sent {"connection_id":161588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:18:25] local.INFO: TCP Data received {"connection_id":163000,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:18:25] local.INFO: Processing buffer {"connection_id":163000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:18:25] local.INFO: Packet analysis {"connection_id":163000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:18:25] local.INFO: Extracted packet for processing {"connection_id":163000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:18:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":21,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589741056001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787460227000,"timestamp_ms":1787460227000,"timestamp_seconds":1787460227,"priority":1,"record_length":96,"hex_timestamp":"000001a02cee8fb8"} 
[2026-08-23 10:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 10:18:25] 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-08-23 10: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-08-23 10:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:18:25] 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-08-23 10:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589741056001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589741056001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:18:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:18:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589741056001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":163000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:18:25] local.INFO: GPS data processed {"connection_id":163000,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:18:25] local.INFO: Acknowledgment sent {"connection_id":163000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:18:30] local.INFO: TCP Data received {"connection_id":160418,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:18:30] local.INFO: Processing buffer {"connection_id":160418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:18:30] local.INFO: IMEI packet received {"connection_id":160418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":160418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:18:30] local.INFO: TCP Data received {"connection_id":160418,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:18:30] local.INFO: Processing buffer {"connection_id":160418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:18:30] local.INFO: IMEI packet received {"connection_id":160418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":160418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:18:35] local.INFO: TCP Data received {"connection_id":160418,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:18:35] local.INFO: Processing buffer {"connection_id":160418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:18:35] local.INFO: IMEI packet received {"connection_id":160418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":160418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:18:36] local.INFO: TCP Data received {"connection_id":160418,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf06090012d1967c0071feea80038011d29..."} 
[2026-08-23 10:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf06090012d1967c0071feea80038011d29..."} 
[2026-08-23 10:18:36] local.INFO: Processing buffer {"connection_id":160418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf06090012d1967c0071feea80038011d29..."} 
[2026-08-23 10:18:36] local.INFO: Packet analysis {"connection_id":160418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf0"} 
[2026-08-23 10:18:36] local.INFO: Extracted packet for processing {"connection_id":160418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf0"} 
[2026-08-23 10:18:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589843200001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787460346000,"timestamp_ms":1787460346000,"timestamp_seconds":1787460346,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf06090"} 
[2026-08-23 10:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:18:36] 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-08-23 10:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589843200001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589843200001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:18:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589843200001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":160418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:18:36] local.INFO: GPS data processed {"connection_id":160418,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:18:36] local.INFO: Acknowledgment sent {"connection_id":160418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:18:46] local.INFO: TCP Data received {"connection_id":160633,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:18:46] local.INFO: Processing buffer {"connection_id":160633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:18:46] local.INFO: IMEI packet received {"connection_id":160633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":160633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:18:52] local.INFO: TCP Data received {"connection_id":160633,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:18:52] local.INFO: Processing buffer {"connection_id":160633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:18:52] local.INFO: IMEI packet received {"connection_id":160633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":160633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:19:03] local.INFO: TCP Data received {"connection_id":160633,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:19:04] local.INFO: Processing buffer {"connection_id":160633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cee8fb8012d34c50006aa40980015008521..."} 
[2026-08-23 10:19:04] local.INFO: Packet analysis {"connection_id":160633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:19:04] local.INFO: Extracted packet for processing {"connection_id":160633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cee"} 
[2026-08-23 10:19:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":21,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589741056001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787460227000,"timestamp_ms":1787460227000,"timestamp_seconds":1787460227,"priority":1,"record_length":96,"hex_timestamp":"000001a02cee8fb8"} 
[2026-08-23 10:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 10:19:04] 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-08-23 10:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:19:04] 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-08-23 10:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589741056001,"66":25647,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589741056001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:19:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:19:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589741056001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":160633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:19:04] local.INFO: GPS data processed {"connection_id":160633,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:19:04] local.INFO: Acknowledgment sent {"connection_id":160633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:19:07] local.INFO: TCP Data received {"connection_id":160418,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf0b298012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf0b298012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:19:07] local.INFO: Processing buffer {"connection_id":160418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf0b298012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:19:07] local.INFO: Packet analysis {"connection_id":160418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf0"} 
[2026-08-23 10:19:07] local.INFO: Extracted packet for processing {"connection_id":160418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf0"} 
[2026-08-23 10:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589848576001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787460367000,"timestamp_ms":1787460367000,"timestamp_seconds":1787460367,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf0b298"} 
[2026-08-23 10:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:19:07] 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-08-23 10:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589848576001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589848576001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:19:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589848576001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":160418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:19:07] local.INFO: GPS data processed {"connection_id":160418,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:19:07] local.INFO: Acknowledgment sent {"connection_id":160418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:19:30] local.INFO: TCP Data received {"connection_id":163001,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:19:30] local.INFO: Processing buffer {"connection_id":163001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:19:30] local.INFO: IMEI packet received {"connection_id":163001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":163001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:19:33] local.INFO: TCP Data received {"connection_id":163001,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:19:33] local.INFO: Processing buffer {"connection_id":163001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:19:33] local.INFO: IMEI packet received {"connection_id":163001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":163001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:19:35] local.INFO: TCP Data received {"connection_id":163001,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:19:35] local.INFO: Processing buffer {"connection_id":163001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:19:35] local.INFO: IMEI packet received {"connection_id":163001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":163001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:19:35] local.INFO: TCP Data received {"connection_id":163001,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf104a0012d1967c0071feea80038011d29..."} 
[2026-08-23 10:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf104a0012d1967c0071feea80038011d29..."} 
[2026-08-23 10:19:35] local.INFO: Processing buffer {"connection_id":163001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf104a0012d1967c0071feea80038011d29..."} 
[2026-08-23 10:19:35] local.INFO: Packet analysis {"connection_id":163001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf1"} 
[2026-08-23 10:19:35] local.INFO: Extracted packet for processing {"connection_id":163001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf1"} 
[2026-08-23 10:19:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589853952001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787460388000,"timestamp_ms":1787460388000,"timestamp_seconds":1787460388,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf104a0"} 
[2026-08-23 10:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:19:35] 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-08-23 10:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589853952001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589853952001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:19:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:19:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589853952001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":163001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:19:35] local.INFO: GPS data processed {"connection_id":163001,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:19:35] local.INFO: Acknowledgment sent {"connection_id":163001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:19:53] local.INFO: TCP Data received {"connection_id":161589,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:19:53] local.INFO: Processing buffer {"connection_id":161589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:19:53] local.INFO: IMEI packet received {"connection_id":161589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":161589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:19:57] local.INFO: TCP Data received {"connection_id":161589,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:19:57] local.INFO: Processing buffer {"connection_id":161589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:19:57] local.INFO: IMEI packet received {"connection_id":161589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":161589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:19:57] local.INFO: TCP Data received {"connection_id":161589,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:19:57] local.INFO: Processing buffer {"connection_id":161589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:19:57] local.INFO: Packet analysis {"connection_id":161589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:19:57] local.INFO: Extracted packet for processing {"connection_id":161589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:19:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589818112001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787460528000,"timestamp_ms":1787460528000,"timestamp_seconds":1787460528,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf32780"} 
[2026-08-23 10:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 10:19:57] 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-08-23 10:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589818112001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589818112001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:19:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:19:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589818112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":161589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:19:57] local.INFO: GPS data processed {"connection_id":161589,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:19:57] local.INFO: Acknowledgment sent {"connection_id":161589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:20:02] local.INFO: TCP Data received {"connection_id":161589,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:20:02] local.INFO: Processing buffer {"connection_id":161589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:20:02] local.INFO: Packet analysis {"connection_id":161589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:20:02] local.INFO: Extracted packet for processing {"connection_id":161589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:20:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589818112001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787460528000,"timestamp_ms":1787460528000,"timestamp_seconds":1787460528,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf32780"} 
[2026-08-23 10:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 10:20:02] 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-08-23 10:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589818112001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589818112001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:20:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:20:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589818112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":161589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:20:02] local.INFO: GPS data processed {"connection_id":161589,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:20:02] local.INFO: Acknowledgment sent {"connection_id":161589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:20:06] local.INFO: TCP Data received {"connection_id":163001,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf156a8012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf156a8012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:20:06] local.INFO: Processing buffer {"connection_id":163001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf156a8012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:20:06] local.INFO: Packet analysis {"connection_id":163001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf1"} 
[2026-08-23 10:20:06] local.INFO: Extracted packet for processing {"connection_id":163001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf1"} 
[2026-08-23 10:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589859328001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787460409000,"timestamp_ms":1787460409000,"timestamp_seconds":1787460409,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf156a8"} 
[2026-08-23 10:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:20:06] 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-08-23 10:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589859328001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589859328001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:20:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589859328001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":163001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:20:07] local.INFO: GPS data processed {"connection_id":163001,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:20:07] local.INFO: Acknowledgment sent {"connection_id":163001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:20:35] local.INFO: TCP Data received {"connection_id":160634,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:20:35] local.INFO: Processing buffer {"connection_id":160634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:20:35] local.INFO: IMEI packet received {"connection_id":160634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":160634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:20:36] local.INFO: TCP Data received {"connection_id":160634,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:20:36] local.INFO: Processing buffer {"connection_id":160634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:20:36] local.INFO: IMEI packet received {"connection_id":160634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":160634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:20:36] local.INFO: TCP Data received {"connection_id":160634,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf1a8b0012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf1a8b0012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:20:36] local.INFO: Processing buffer {"connection_id":160634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf1a8b0012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:20:36] local.INFO: Packet analysis {"connection_id":160634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf1"} 
[2026-08-23 10:20:36] local.INFO: Extracted packet for processing {"connection_id":160634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf1"} 
[2026-08-23 10:20:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589864704001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787460430000,"timestamp_ms":1787460430000,"timestamp_seconds":1787460430,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf1a8b0"} 
[2026-08-23 10:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:20:36] 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-08-23 10:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589864704001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589864704001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:20:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:20:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589864704001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":160634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:20:36] local.INFO: GPS data processed {"connection_id":160634,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:20:36] local.INFO: Acknowledgment sent {"connection_id":160634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:20:40] local.INFO: TCP Data received {"connection_id":160634,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf1fab8012d1967c0071feea80038011d29..."} 
[2026-08-23 10:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf1fab8012d1967c0071feea80038011d29..."} 
[2026-08-23 10:20:40] local.INFO: Processing buffer {"connection_id":160634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf1fab8012d1967c0071feea80038011d29..."} 
[2026-08-23 10:20:40] local.INFO: Packet analysis {"connection_id":160634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf1"} 
[2026-08-23 10:20:40] local.INFO: Extracted packet for processing {"connection_id":160634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf1"} 
[2026-08-23 10:20:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589870080001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787460451000,"timestamp_ms":1787460451000,"timestamp_seconds":1787460451,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf1fab8"} 
[2026-08-23 10:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:20:40] 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-08-23 10: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-08-23 10:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589870080001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589870080001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:20:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:20:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589870080001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":160634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:20:40] local.INFO: GPS data processed {"connection_id":160634,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:20:40] local.INFO: Acknowledgment sent {"connection_id":160634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:20:46] local.INFO: TCP Data received {"connection_id":163002,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:20:46] local.INFO: Processing buffer {"connection_id":163002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:20:46] local.INFO: IMEI packet received {"connection_id":163002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":163002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:20:51] local.INFO: TCP Data received {"connection_id":163002,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:20:51] local.INFO: Processing buffer {"connection_id":163002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:20:51] local.INFO: IMEI packet received {"connection_id":163002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":163002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:20:53] local.INFO: TCP Data received {"connection_id":163002,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:20:53] local.INFO: Processing buffer {"connection_id":163002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:20:53] local.INFO: Packet analysis {"connection_id":163002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:20:53] local.INFO: Extracted packet for processing {"connection_id":163002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589818112001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787460528000,"timestamp_ms":1787460528000,"timestamp_seconds":1787460528,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf32780"} 
[2026-08-23 10:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 10:20:53] 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-08-23 10:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:20:53] 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-08-23 10:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589818112001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589818112001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:20:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:20:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589818112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":163002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:20:53] local.INFO: GPS data processed {"connection_id":163002,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:20:53] local.INFO: Acknowledgment sent {"connection_id":163002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:21:12] local.INFO: TCP Data received {"connection_id":160634,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf24cc0012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf24cc0012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:21:12] local.INFO: Processing buffer {"connection_id":160634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf24cc0012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:21:12] local.INFO: Packet analysis {"connection_id":160634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf2"} 
[2026-08-23 10:21:12] local.INFO: Extracted packet for processing {"connection_id":160634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf2"} 
[2026-08-23 10:21:12] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589875456001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787460472000,"timestamp_ms":1787460472000,"timestamp_seconds":1787460472,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf24cc0"} 
[2026-08-23 10:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 10:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589875456001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589875456001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:21:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:21:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589875456001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":160634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:21:12] local.INFO: GPS data processed {"connection_id":160634,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:21:12] local.INFO: Acknowledgment sent {"connection_id":160634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:21:25] local.INFO: TCP Data received {"connection_id":163002,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:21:25] local.INFO: Processing buffer {"connection_id":163002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:21:25] local.INFO: Packet analysis {"connection_id":163002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:21:25] local.INFO: Extracted packet for processing {"connection_id":163002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:21:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589818112001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787460528000,"timestamp_ms":1787460528000,"timestamp_seconds":1787460528,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf32780"} 
[2026-08-23 10:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 10:21:25] 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-08-23 10:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:21:25] 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-08-23 10:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589818112001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589818112001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:21:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:21:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589818112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":163002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:21:25] local.INFO: GPS data processed {"connection_id":163002,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:21:25] local.INFO: Acknowledgment sent {"connection_id":163002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:21:30] local.INFO: TCP Data received {"connection_id":160635,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:21:30] local.INFO: Processing buffer {"connection_id":160635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:21:30] local.INFO: IMEI packet received {"connection_id":160635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":160635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:21:35] local.INFO: TCP Data received {"connection_id":160635,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:21:35] local.INFO: Processing buffer {"connection_id":160635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:21:35] local.INFO: IMEI packet received {"connection_id":160635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":160635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:21:36] local.INFO: TCP Data received {"connection_id":160635,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf29ec8012d1967c0071feea80038011d29..."} 
[2026-08-23 10:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf29ec8012d1967c0071feea80038011d29..."} 
[2026-08-23 10:21:36] local.INFO: Processing buffer {"connection_id":160635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf29ec8012d1967c0071feea80038011d29..."} 
[2026-08-23 10:21:36] local.INFO: Packet analysis {"connection_id":160635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf2"} 
[2026-08-23 10:21:36] local.INFO: Extracted packet for processing {"connection_id":160635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf2"} 
[2026-08-23 10:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589880832001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787460493000,"timestamp_ms":1787460493000,"timestamp_seconds":1787460493,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf29ec8"} 
[2026-08-23 10:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 10:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:36] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3238104109377460583,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:36] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80265448339275776,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832583,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4043612161,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 10:21:36] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:36] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:36] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,22,160,250,45,192,238,56,41,10,66,168,42,86,1,240,53,227,44,31,4,113,205,178,103,43,239,48,2,54,7,39],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 10:21:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538811621474304,"timestamp_seconds":4035538811621474.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 10:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589880832001,"66":12385,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589880832001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:21:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:21:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589880832001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":160635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:21:36] local.INFO: GPS data processed {"connection_id":160635,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:21:36] local.INFO: Acknowledgment sent {"connection_id":160635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:21:46] local.INFO: TCP Data received {"connection_id":160636,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:21:46] local.INFO: Processing buffer {"connection_id":160636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:21:46] local.INFO: IMEI packet received {"connection_id":160636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":160636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:21:51] local.INFO: TCP Data received {"connection_id":160636,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:21:51] local.INFO: Processing buffer {"connection_id":160636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:21:51] local.INFO: IMEI packet received {"connection_id":160636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":160636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:21:52] local.INFO: TCP Data received {"connection_id":160636,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:21:52] local.INFO: Processing buffer {"connection_id":160636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:21:52] local.INFO: Packet analysis {"connection_id":160636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:21:52] local.INFO: Extracted packet for processing {"connection_id":160636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:21:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:21: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-08-23 10:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589818112001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787460528000,"timestamp_ms":1787460528000,"timestamp_seconds":1787460528,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf32780"} 
[2026-08-23 10:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 10:21:52] 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-08-23 10:21: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-08-23 10:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:21:52] 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-08-23 10:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589818112001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589818112001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:21:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:21:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589818112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":160636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:21:52] local.INFO: GPS data processed {"connection_id":160636,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:21:52] local.INFO: Acknowledgment sent {"connection_id":160636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:22:07] local.INFO: TCP Data received {"connection_id":160635,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf2f0d0012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf2f0d0012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:22:07] local.INFO: Processing buffer {"connection_id":160635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf2f0d0012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:22:07] local.INFO: Packet analysis {"connection_id":160635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf2"} 
[2026-08-23 10:22:07] local.INFO: Extracted packet for processing {"connection_id":160635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf2"} 
[2026-08-23 10:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589886208001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787460514000,"timestamp_ms":1787460514000,"timestamp_seconds":1787460514,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf2f0d0"} 
[2026-08-23 10:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 10:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589886208001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589886208001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:22:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589886208001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":160635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:22:07] local.INFO: GPS data processed {"connection_id":160635,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:22:07] local.INFO: Acknowledgment sent {"connection_id":160635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:22:24] local.INFO: TCP Data received {"connection_id":160636,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:22:24] local.INFO: Processing buffer {"connection_id":160636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:22:24] local.INFO: Packet analysis {"connection_id":160636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:22:24] local.INFO: Extracted packet for processing {"connection_id":160636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:22:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589818112001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787460528000,"timestamp_ms":1787460528000,"timestamp_seconds":1787460528,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf32780"} 
[2026-08-23 10:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 10:22:24] 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-08-23 10: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-08-23 10:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:22:24] 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-08-23 10:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589818112001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589818112001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:22:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:22:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589818112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":160636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:22:24] local.INFO: GPS data processed {"connection_id":160636,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:22:24] local.INFO: Acknowledgment sent {"connection_id":160636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:22:30] local.INFO: TCP Data received {"connection_id":163003,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:22:30] local.INFO: Processing buffer {"connection_id":163003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:22:30] local.INFO: IMEI packet received {"connection_id":163003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":163003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:22:35] local.INFO: TCP Data received {"connection_id":163003,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:22:35] local.INFO: Processing buffer {"connection_id":163003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:22:35] local.INFO: IMEI packet received {"connection_id":163003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":163003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:22:36] local.INFO: TCP Data received {"connection_id":163003,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf342d8012d1967c0071feea80038011d29..."} 
[2026-08-23 10:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf342d8012d1967c0071feea80038011d29..."} 
[2026-08-23 10:22:36] local.INFO: Processing buffer {"connection_id":163003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf342d8012d1967c0071feea80038011d29..."} 
[2026-08-23 10:22:36] local.INFO: Packet analysis {"connection_id":163003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:22:36] local.INFO: Extracted packet for processing {"connection_id":163003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589891584001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787460535000,"timestamp_ms":1787460535000,"timestamp_seconds":1787460535,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf342d8"} 
[2026-08-23 10:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:22:36] 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-08-23 10: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-08-23 10:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589891584001,"66":12363,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589891584001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:22:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589891584001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":163003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:22:36] local.INFO: GPS data processed {"connection_id":163003,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:22:36] local.INFO: Acknowledgment sent {"connection_id":163003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:22:51] local.INFO: TCP Data received {"connection_id":160637,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:22:51] local.INFO: Processing buffer {"connection_id":160637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:22:51] local.INFO: IMEI packet received {"connection_id":160637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":160637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:22:56] local.INFO: TCP Data received {"connection_id":160637,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:22:56] local.INFO: Processing buffer {"connection_id":160637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:22:56] local.INFO: IMEI packet received {"connection_id":160637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":160637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:22:58] local.INFO: TCP Data received {"connection_id":160637,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:22:58] local.INFO: Processing buffer {"connection_id":160637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:22:58] local.INFO: Packet analysis {"connection_id":160637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:22:58] local.INFO: Extracted packet for processing {"connection_id":160637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:22:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 10:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589818112001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787460528000,"timestamp_ms":1787460528000,"timestamp_seconds":1787460528,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf32780"} 
[2026-08-23 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-08-23 10:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 10:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 10:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589818112001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589818112001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:22:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:22:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589818112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":160637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:22:58] local.INFO: GPS data processed {"connection_id":160637,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:22:58] local.INFO: Acknowledgment sent {"connection_id":160637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:23:03] local.INFO: TCP Data received {"connection_id":160637,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:23:03] local.INFO: Processing buffer {"connection_id":160637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:23:03] local.INFO: Packet analysis {"connection_id":160637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:23:03] local.INFO: Extracted packet for processing {"connection_id":160637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589818112001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787460528000,"timestamp_ms":1787460528000,"timestamp_seconds":1787460528,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf32780"} 
[2026-08-23 10:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 10:23:03] 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-08-23 10: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-08-23 10:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589818112001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589818112001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:23:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589818112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":160637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:23:03] local.INFO: GPS data processed {"connection_id":160637,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:23:03] local.INFO: Acknowledgment sent {"connection_id":160637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:23:07] local.INFO: TCP Data received {"connection_id":163003,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf394e0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf394e0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:23:07] local.INFO: Processing buffer {"connection_id":163003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf394e0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:23:07] local.INFO: Packet analysis {"connection_id":163003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:23:07] local.INFO: Extracted packet for processing {"connection_id":163003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589896960001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787460556000,"timestamp_ms":1787460556000,"timestamp_seconds":1787460556,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf394e0"} 
[2026-08-23 10:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 10:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589896960001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589896960001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:23:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589896960001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":163003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:23:07] local.INFO: GPS data processed {"connection_id":163003,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:23:07] local.INFO: Acknowledgment sent {"connection_id":163003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:23:30] local.INFO: TCP Data received {"connection_id":160638,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:23:30] local.INFO: Processing buffer {"connection_id":160638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:23:30] local.INFO: IMEI packet received {"connection_id":160638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":160638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:23:35] local.INFO: TCP Data received {"connection_id":160638,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:23:35] local.INFO: Processing buffer {"connection_id":160638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:23:35] local.INFO: IMEI packet received {"connection_id":160638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":160638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:23:36] local.INFO: TCP Data received {"connection_id":160638,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf3e6e8012d1967c0071feea80038011d29..."} 
[2026-08-23 10:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf3e6e8012d1967c0071feea80038011d29..."} 
[2026-08-23 10:23:36] local.INFO: Processing buffer {"connection_id":160638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf3e6e8012d1967c0071feea80038011d29..."} 
[2026-08-23 10:23:36] local.INFO: Packet analysis {"connection_id":160638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:23:36] local.INFO: Extracted packet for processing {"connection_id":160638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589902336001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787460577000,"timestamp_ms":1787460577000,"timestamp_seconds":1787460577,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf3e6e8"} 
[2026-08-23 10:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:23:36] 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-08-23 10: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-08-23 10:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589902336001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589902336001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:23:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589902336001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":160638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:23:36] local.INFO: GPS data processed {"connection_id":160638,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:23:36] local.INFO: Acknowledgment sent {"connection_id":160638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:23:46] local.INFO: TCP Data received {"connection_id":161590,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:23:46] local.INFO: Processing buffer {"connection_id":161590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:23:46] local.INFO: IMEI packet received {"connection_id":161590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":161590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:23:51] local.INFO: TCP Data received {"connection_id":161590,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:23:51] local.INFO: Processing buffer {"connection_id":161590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:23:51] local.INFO: IMEI packet received {"connection_id":161590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":161590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:23:52] local.INFO: TCP Data received {"connection_id":161590,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:23:52] local.INFO: Processing buffer {"connection_id":161590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:23:52] local.INFO: Packet analysis {"connection_id":161590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:23:52] local.INFO: Extracted packet for processing {"connection_id":161590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589818112001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787460528000,"timestamp_ms":1787460528000,"timestamp_seconds":1787460528,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf32780"} 
[2026-08-23 10:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 10:23:52] 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-08-23 10:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:23:52] 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-08-23 10:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589818112001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589818112001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:23:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589818112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":161590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:23:52] local.INFO: GPS data processed {"connection_id":161590,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:23:52] local.INFO: Acknowledgment sent {"connection_id":161590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:24:07] local.INFO: TCP Data received {"connection_id":160638,"ip":"42.109.136.5","data_length":93,"data_hex":"00000000000000518e01000001a02cf438f0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160638,"packet_length":93,"packet_hex":"00000000000000518e01000001a02cf438f0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:24:07] local.INFO: Processing buffer {"connection_id":160638,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a02cf438f0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:24:07] local.INFO: Packet analysis {"connection_id":160638,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a02cf4"} 
[2026-08-23 10:24:07] local.INFO: Extracted packet for processing {"connection_id":160638,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a02cf4"} 
[2026-08-23 10:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-23 10:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:24:07] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:24:07] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-23 10:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160638,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-23 10:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160638,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-23 10:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160638,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-23 10:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-23 10:24:07] local.WARNING: DEBUG: No valid data to process  
[2026-08-23 10:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":160638,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-23 10:24:07] local.ERROR: GPS data processing failed {"connection_id":160638,"error":"No valid data to process"} 
[2026-08-23 10:24:07] local.INFO: Acknowledgment sent {"connection_id":160638,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-23 10:24:24] local.INFO: TCP Data received {"connection_id":161590,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:24:24] local.INFO: Processing buffer {"connection_id":161590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf32780012d34c50006aa4098000a00851f..."} 
[2026-08-23 10:24:24] local.INFO: Packet analysis {"connection_id":161590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:24:24] local.INFO: Extracted packet for processing {"connection_id":161590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf3"} 
[2026-08-23 10:24:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589818112001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787460528000,"timestamp_ms":1787460528000,"timestamp_seconds":1787460528,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf32780"} 
[2026-08-23 10:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 10:24:24] 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-08-23 10:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:24:24] 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-08-23 10:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589818112001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589818112001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:24:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:24:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589818112001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":161590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:24:24] local.INFO: GPS data processed {"connection_id":161590,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:24:24] local.INFO: Acknowledgment sent {"connection_id":161590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:24:30] local.INFO: TCP Data received {"connection_id":160419,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:24:30] local.INFO: Processing buffer {"connection_id":160419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:24:30] local.INFO: IMEI packet received {"connection_id":160419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":160419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:24:35] local.INFO: TCP Data received {"connection_id":160419,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:24:35] local.INFO: Processing buffer {"connection_id":160419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:24:35] local.INFO: IMEI packet received {"connection_id":160419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":160419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:24:36] local.INFO: TCP Data received {"connection_id":160419,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf48af8012d1967c0071feea80038011d28..."} 
[2026-08-23 10:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf48af8012d1967c0071feea80038011d28..."} 
[2026-08-23 10:24:36] local.INFO: Processing buffer {"connection_id":160419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf48af8012d1967c0071feea80038011d28..."} 
[2026-08-23 10:24:36] local.INFO: Packet analysis {"connection_id":160419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf4"} 
[2026-08-23 10:24:36] local.INFO: Extracted packet for processing {"connection_id":160419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf4"} 
[2026-08-23 10:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589913088001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787460619000,"timestamp_ms":1787460619000,"timestamp_seconds":1787460619,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf48af8"} 
[2026-08-23 10:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:24:36] 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-08-23 10:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589913088001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589913088001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:24:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589913088001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":160419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:24:36] local.INFO: GPS data processed {"connection_id":160419,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:24:36] local.INFO: Acknowledgment sent {"connection_id":160419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:24:46] local.INFO: TCP Data received {"connection_id":160420,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:24:46] local.INFO: Processing buffer {"connection_id":160420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:24:46] local.INFO: IMEI packet received {"connection_id":160420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":160420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:24:51] local.INFO: TCP Data received {"connection_id":160420,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:24:51] local.INFO: Processing buffer {"connection_id":160420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:24:51] local.INFO: IMEI packet received {"connection_id":160420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":160420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:24:53] local.INFO: TCP Data received {"connection_id":160420,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:24:53] local.INFO: Processing buffer {"connection_id":160420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:24:53] local.INFO: Packet analysis {"connection_id":160420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf7"} 
[2026-08-23 10:24:53] local.INFO: Extracted packet for processing {"connection_id":160420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf7"} 
[2026-08-23 10:24:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589895168001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787460829000,"timestamp_ms":1787460829000,"timestamp_seconds":1787460829,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf7bf48"} 
[2026-08-23 10:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:24:53] 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-08-23 10:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:24:53] 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-08-23 10:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589895168001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589895168001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:24:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:24:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589895168001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":160420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:24:53] local.INFO: GPS data processed {"connection_id":160420,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:24:53] local.INFO: Acknowledgment sent {"connection_id":160420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:25:07] local.INFO: TCP Data received {"connection_id":160419,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf4dd00012d1967c0071feea80038011d29..."} 
[2026-08-23 10:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf4dd00012d1967c0071feea80038011d29..."} 
[2026-08-23 10:25:07] local.INFO: Processing buffer {"connection_id":160419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf4dd00012d1967c0071feea80038011d29..."} 
[2026-08-23 10:25:07] local.INFO: Packet analysis {"connection_id":160419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf4"} 
[2026-08-23 10:25:07] local.INFO: Extracted packet for processing {"connection_id":160419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf4"} 
[2026-08-23 10:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589918464001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787460640000,"timestamp_ms":1787460640000,"timestamp_seconds":1787460640,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf4dd00"} 
[2026-08-23 10:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:25:07] 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-08-23 10:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589918464001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589918464001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:25:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589918464001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":160419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:25:07] local.INFO: GPS data processed {"connection_id":160419,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:25:07] local.INFO: Acknowledgment sent {"connection_id":160419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:25:25] local.INFO: TCP Data received {"connection_id":160420,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:25:25] local.INFO: Processing buffer {"connection_id":160420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:25:25] local.INFO: Packet analysis {"connection_id":160420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf7"} 
[2026-08-23 10:25:25] local.INFO: Extracted packet for processing {"connection_id":160420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf7"} 
[2026-08-23 10:25:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589895168001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787460829000,"timestamp_ms":1787460829000,"timestamp_seconds":1787460829,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf7bf48"} 
[2026-08-23 10:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589895168001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589895168001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:25:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:25:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589895168001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":160420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:25:25] local.INFO: GPS data processed {"connection_id":160420,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:25:25] local.INFO: Acknowledgment sent {"connection_id":160420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:25:30] local.INFO: TCP Data received {"connection_id":160639,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:25:30] local.INFO: Processing buffer {"connection_id":160639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:25:30] local.INFO: IMEI packet received {"connection_id":160639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":160639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:25:30] local.INFO: TCP Data received {"connection_id":160639,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:25:30] local.INFO: Processing buffer {"connection_id":160639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:25:30] local.INFO: IMEI packet received {"connection_id":160639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":160639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:25:35] local.INFO: TCP Data received {"connection_id":160639,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:25:35] local.INFO: Processing buffer {"connection_id":160639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:25:35] local.INFO: IMEI packet received {"connection_id":160639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":160639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:25:36] local.INFO: TCP Data received {"connection_id":160639,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf52f08012d1967c0071feea80038011d20..."} 
[2026-08-23 10:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf52f08012d1967c0071feea80038011d20..."} 
[2026-08-23 10:25:36] local.INFO: Processing buffer {"connection_id":160639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf52f08012d1967c0071feea80038011d20..."} 
[2026-08-23 10:25:36] local.INFO: Packet analysis {"connection_id":160639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf5"} 
[2026-08-23 10:25:36] local.INFO: Extracted packet for processing {"connection_id":160639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf5"} 
[2026-08-23 10:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":32,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589923840001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787460661000,"timestamp_ms":1787460661000,"timestamp_seconds":1787460661,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf52f08"} 
[2026-08-23 10:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 10:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589923840001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589923840001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:25:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:25:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589923840001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":160639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:25:36] local.INFO: GPS data processed {"connection_id":160639,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:25:36] local.INFO: Acknowledgment sent {"connection_id":160639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:25:46] local.INFO: TCP Data received {"connection_id":160640,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:25:46] local.INFO: Processing buffer {"connection_id":160640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:25:46] local.INFO: IMEI packet received {"connection_id":160640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":160640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:25:52] local.INFO: TCP Data received {"connection_id":160640,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:25:52] local.INFO: Processing buffer {"connection_id":160640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:25:52] local.INFO: IMEI packet received {"connection_id":160640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":160640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:26:02] local.INFO: TCP Data received {"connection_id":160640,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:26:02] local.INFO: Processing buffer {"connection_id":160640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:26:02] local.INFO: Packet analysis {"connection_id":160640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf7"} 
[2026-08-23 10:26:02] local.INFO: Extracted packet for processing {"connection_id":160640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf7"} 
[2026-08-23 10:26:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589895168001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787460829000,"timestamp_ms":1787460829000,"timestamp_seconds":1787460829,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf7bf48"} 
[2026-08-23 10:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589895168001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589895168001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:26:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:26:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589895168001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":160640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:26:02] local.INFO: GPS data processed {"connection_id":160640,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:26:02] local.INFO: Acknowledgment sent {"connection_id":160640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:26:10] local.INFO: TCP Data received {"connection_id":160639,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf58110012d1967c0071feea80038011d26..."} 
[2026-08-23 10:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf58110012d1967c0071feea80038011d26..."} 
[2026-08-23 10:26:10] local.INFO: Processing buffer {"connection_id":160639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf58110012d1967c0071feea80038011d26..."} 
[2026-08-23 10:26:10] local.INFO: Packet analysis {"connection_id":160639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf5"} 
[2026-08-23 10:26:10] local.INFO: Extracted packet for processing {"connection_id":160639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf5"} 
[2026-08-23 10:26:10] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 10:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589929216001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787460682000,"timestamp_ms":1787460682000,"timestamp_seconds":1787460682,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf58110"} 
[2026-08-23 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-08-23 10:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 10:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 10:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589929216001,"66":12037,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589929216001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:26:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:26:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589929216001,"power":12037,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":160639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:26:10] local.INFO: GPS data processed {"connection_id":160639,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:26:10] local.INFO: Acknowledgment sent {"connection_id":160639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:26:33] local.INFO: TCP Data received {"connection_id":161591,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:26:33] local.INFO: Processing buffer {"connection_id":161591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:26:33] local.INFO: IMEI packet received {"connection_id":161591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":161591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:26:35] local.INFO: TCP Data received {"connection_id":161591,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:26:35] local.INFO: Processing buffer {"connection_id":161591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:26:35] local.INFO: IMEI packet received {"connection_id":161591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":161591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:26:40] local.INFO: TCP Data received {"connection_id":161591,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:26:40] local.INFO: Processing buffer {"connection_id":161591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:26:40] local.INFO: IMEI packet received {"connection_id":161591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":161591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:26:40] local.INFO: TCP Data received {"connection_id":161591,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf90768012d1967c0071feea80038011d27..."} 
[2026-08-23 10:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf90768012d1967c0071feea80038011d27..."} 
[2026-08-23 10:26:40] local.INFO: Processing buffer {"connection_id":161591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf90768012d1967c0071feea80038011d27..."} 
[2026-08-23 10:26:40] local.INFO: Packet analysis {"connection_id":161591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf9"} 
[2026-08-23 10:26:40] local.INFO: Extracted packet for processing {"connection_id":161591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf9"} 
[2026-08-23 10:26:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589988352001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787460913000,"timestamp_ms":1787460913000,"timestamp_seconds":1787460913,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf90768"} 
[2026-08-23 10:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:26:40] 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-08-23 10: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-08-23 10:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589988352001,"66":12363,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589988352001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:26:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:26:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589988352001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":161591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:26:40] local.INFO: GPS data processed {"connection_id":161591,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:26:40] local.INFO: Acknowledgment sent {"connection_id":161591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:26:46] local.INFO: TCP Data received {"connection_id":163004,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:26:46] local.INFO: Processing buffer {"connection_id":163004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:26:46] local.INFO: IMEI packet received {"connection_id":163004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":163004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:26:52] local.INFO: TCP Data received {"connection_id":163004,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:26:52] local.INFO: Processing buffer {"connection_id":163004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:26:52] local.INFO: IMEI packet received {"connection_id":163004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":163004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:26:54] local.INFO: TCP Data received {"connection_id":163004,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:26:54] local.INFO: Processing buffer {"connection_id":163004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:26:54] local.INFO: Packet analysis {"connection_id":163004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf7"} 
[2026-08-23 10:26:54] local.INFO: Extracted packet for processing {"connection_id":163004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf7"} 
[2026-08-23 10:26:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589895168001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787460829000,"timestamp_ms":1787460829000,"timestamp_seconds":1787460829,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf7bf48"} 
[2026-08-23 10:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:26:54] 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-08-23 10: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-08-23 10:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589895168001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589895168001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:26:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:26:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589895168001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":163004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:26:54] local.INFO: GPS data processed {"connection_id":163004,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:26:54] local.INFO: Acknowledgment sent {"connection_id":163004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:27:11] local.INFO: TCP Data received {"connection_id":161591,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf95970012d1967c0071feea80038011d28..."} 
[2026-08-23 10:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf95970012d1967c0071feea80038011d28..."} 
[2026-08-23 10:27:11] local.INFO: Processing buffer {"connection_id":161591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf95970012d1967c0071feea80038011d28..."} 
[2026-08-23 10:27:11] local.INFO: Packet analysis {"connection_id":161591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf9"} 
[2026-08-23 10:27:11] local.INFO: Extracted packet for processing {"connection_id":161591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf9"} 
[2026-08-23 10:27:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589993728001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787460934000,"timestamp_ms":1787460934000,"timestamp_seconds":1787460934,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf95970"} 
[2026-08-23 10:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 10:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589993728001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589993728001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:27:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:27:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589993728001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":161591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:27:12] local.INFO: GPS data processed {"connection_id":161591,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:27:12] local.INFO: Acknowledgment sent {"connection_id":161591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:27:25] local.INFO: TCP Data received {"connection_id":163004,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:27:25] local.INFO: Processing buffer {"connection_id":163004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:27:25] local.INFO: Packet analysis {"connection_id":163004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf7"} 
[2026-08-23 10:27:25] local.INFO: Extracted packet for processing {"connection_id":163004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf7"} 
[2026-08-23 10:27:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589895168001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787460829000,"timestamp_ms":1787460829000,"timestamp_seconds":1787460829,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf7bf48"} 
[2026-08-23 10:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589895168001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589895168001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:27:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:27:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589895168001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":163004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:27:25] local.INFO: GPS data processed {"connection_id":163004,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:27:25] local.INFO: Acknowledgment sent {"connection_id":163004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:27:30] local.INFO: TCP Data received {"connection_id":160641,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:27:30] local.INFO: Processing buffer {"connection_id":160641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:27:30] local.INFO: IMEI packet received {"connection_id":160641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":160641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:27:35] local.INFO: TCP Data received {"connection_id":160641,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:27:35] local.INFO: Processing buffer {"connection_id":160641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:27:35] local.INFO: IMEI packet received {"connection_id":160641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":160641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:27:36] local.INFO: TCP Data received {"connection_id":160641,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf9ab78012d1967c0071feea80038011d28..."} 
[2026-08-23 10:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf9ab78012d1967c0071feea80038011d28..."} 
[2026-08-23 10:27:36] local.INFO: Processing buffer {"connection_id":160641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf9ab78012d1967c0071feea80038011d28..."} 
[2026-08-23 10:27:36] local.INFO: Packet analysis {"connection_id":160641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf9"} 
[2026-08-23 10:27:36] local.INFO: Extracted packet for processing {"connection_id":160641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf9"} 
[2026-08-23 10:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589999104001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787460955000,"timestamp_ms":1787460955000,"timestamp_seconds":1787460955,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf9ab78"} 
[2026-08-23 10:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 10:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589999104001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589999104001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:27:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:27:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589999104001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":160641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:27:36] local.INFO: GPS data processed {"connection_id":160641,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:27:36] local.INFO: Acknowledgment sent {"connection_id":160641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:27:46] local.INFO: TCP Data received {"connection_id":160421,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:27:46] local.INFO: Processing buffer {"connection_id":160421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:27:46] local.INFO: IMEI packet received {"connection_id":160421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":160421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:27:51] local.INFO: TCP Data received {"connection_id":160421,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:27:51] local.INFO: Processing buffer {"connection_id":160421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:27:51] local.INFO: IMEI packet received {"connection_id":160421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":160421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:27:55] local.INFO: TCP Data received {"connection_id":160421,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:27:55] local.INFO: Processing buffer {"connection_id":160421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:27:55] local.INFO: Packet analysis {"connection_id":160421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf7"} 
[2026-08-23 10:27:55] local.INFO: Extracted packet for processing {"connection_id":160421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf7"} 
[2026-08-23 10:27:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 10:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589895168001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787460829000,"timestamp_ms":1787460829000,"timestamp_seconds":1787460829,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf7bf48"} 
[2026-08-23 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-08-23 10:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:27:55] 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-08-23 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-08-23 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-08-23 10:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589895168001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589895168001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:27:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:27:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589895168001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":160421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:27:55] local.INFO: GPS data processed {"connection_id":160421,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:27:55] local.INFO: Acknowledgment sent {"connection_id":160421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:28:07] local.INFO: TCP Data received {"connection_id":160641,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf9fd80012d1967c0071feea80038011d26..."} 
[2026-08-23 10:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf9fd80012d1967c0071feea80038011d26..."} 
[2026-08-23 10:28:07] local.INFO: Processing buffer {"connection_id":160641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf9fd80012d1967c0071feea80038011d26..."} 
[2026-08-23 10:28:07] local.INFO: Packet analysis {"connection_id":160641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf9"} 
[2026-08-23 10:28:07] local.INFO: Extracted packet for processing {"connection_id":160641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf9"} 
[2026-08-23 10:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590004480001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787460976000,"timestamp_ms":1787460976000,"timestamp_seconds":1787460976,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf9fd80"} 
[2026-08-23 10:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:28:07] 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-08-23 10:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590004480001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590004480001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:28:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:28:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590004480001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":160641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:28:07] local.INFO: GPS data processed {"connection_id":160641,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:28:07] local.INFO: Acknowledgment sent {"connection_id":160641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:28:27] local.INFO: TCP Data received {"connection_id":160421,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:28:27] local.INFO: Processing buffer {"connection_id":160421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:28:27] local.INFO: Packet analysis {"connection_id":160421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf7"} 
[2026-08-23 10:28:27] local.INFO: Extracted packet for processing {"connection_id":160421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf7"} 
[2026-08-23 10:28:27] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589895168001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787460829000,"timestamp_ms":1787460829000,"timestamp_seconds":1787460829,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf7bf48"} 
[2026-08-23 10:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:28:27] 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-08-23 10:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589895168001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589895168001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:28:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:28:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589895168001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":160421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:28:27] local.INFO: GPS data processed {"connection_id":160421,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:28:27] local.INFO: Acknowledgment sent {"connection_id":160421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:28:30] local.INFO: TCP Data received {"connection_id":161592,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:28:30] local.INFO: Processing buffer {"connection_id":161592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:28:30] local.INFO: IMEI packet received {"connection_id":161592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":161592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:28:35] local.INFO: TCP Data received {"connection_id":161592,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:28:35] local.INFO: Processing buffer {"connection_id":161592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:28:35] local.INFO: IMEI packet received {"connection_id":161592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":161592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:28:36] local.INFO: TCP Data received {"connection_id":161592,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfa4f88012d1967c0071feea80038011d25..."} 
[2026-08-23 10:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfa4f88012d1967c0071feea80038011d25..."} 
[2026-08-23 10:28:36] local.INFO: Processing buffer {"connection_id":161592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfa4f88012d1967c0071feea80038011d25..."} 
[2026-08-23 10:28:36] local.INFO: Packet analysis {"connection_id":161592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfa"} 
[2026-08-23 10:28:36] local.INFO: Extracted packet for processing {"connection_id":161592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfa"} 
[2026-08-23 10:28:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590009856001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787460997000,"timestamp_ms":1787460997000,"timestamp_seconds":1787460997,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfa4f88"} 
[2026-08-23 10:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:28:36] 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-08-23 10:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590009856001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590009856001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:28:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:28:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590009856001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":161592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:28:36] local.INFO: GPS data processed {"connection_id":161592,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:28:36] local.INFO: Acknowledgment sent {"connection_id":161592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:28:51] local.INFO: TCP Data received {"connection_id":160642,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:28:51] local.INFO: Processing buffer {"connection_id":160642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:28:51] local.INFO: IMEI packet received {"connection_id":160642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":160642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:28:56] local.INFO: TCP Data received {"connection_id":160642,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:28:56] local.INFO: Processing buffer {"connection_id":160642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:28:56] local.INFO: IMEI packet received {"connection_id":160642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":160642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:28:58] local.INFO: TCP Data received {"connection_id":160642,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:28:58] local.INFO: Processing buffer {"connection_id":160642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf7bf48012d34c50006aa4098000a008524..."} 
[2026-08-23 10:28:58] local.INFO: Packet analysis {"connection_id":160642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf7"} 
[2026-08-23 10:28:58] local.INFO: Extracted packet for processing {"connection_id":160642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf7"} 
[2026-08-23 10:28:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589895168001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787460829000,"timestamp_ms":1787460829000,"timestamp_seconds":1787460829,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf7bf48"} 
[2026-08-23 10:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589895168001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589895168001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:28:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:28:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589895168001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":160642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:28:58] local.INFO: GPS data processed {"connection_id":160642,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:28:58] local.INFO: Acknowledgment sent {"connection_id":160642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:29:07] local.INFO: TCP Data received {"connection_id":161592,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfaa190012d1967c0071feea80038011d26..."} 
[2026-08-23 10:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfaa190012d1967c0071feea80038011d26..."} 
[2026-08-23 10:29:07] local.INFO: Processing buffer {"connection_id":161592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfaa190012d1967c0071feea80038011d26..."} 
[2026-08-23 10:29:07] local.INFO: Packet analysis {"connection_id":161592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfa"} 
[2026-08-23 10:29:07] local.INFO: Extracted packet for processing {"connection_id":161592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfa"} 
[2026-08-23 10:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590015232001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787461018000,"timestamp_ms":1787461018000,"timestamp_seconds":1787461018,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfaa190"} 
[2026-08-23 10:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 10:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590015232001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590015232001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:29:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:29:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590015232001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":161592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:29:07] local.INFO: GPS data processed {"connection_id":161592,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:29:07] local.INFO: Acknowledgment sent {"connection_id":161592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:29:30] local.INFO: TCP Data received {"connection_id":160642,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:29:30] local.INFO: Processing buffer {"connection_id":160642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:29:30] local.INFO: Packet analysis {"connection_id":160642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:29:30] local.INFO: Extracted packet for processing {"connection_id":160642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:29:30] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":15,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589972224001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787461130000,"timestamp_ms":1787461130000,"timestamp_seconds":1787461130,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfc5710"} 
[2026-08-23 10:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589972224001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589972224001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:29:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:29:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589972224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":160642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:29:30] local.INFO: GPS data processed {"connection_id":160642,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:29:30] local.INFO: Acknowledgment sent {"connection_id":160642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:29:30] local.INFO: TCP Data received {"connection_id":160422,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:29:30] local.INFO: Processing buffer {"connection_id":160422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:29:30] local.INFO: IMEI packet received {"connection_id":160422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":160422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:29:35] local.INFO: TCP Data received {"connection_id":160422,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:29:35] local.INFO: Processing buffer {"connection_id":160422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:29:35] local.INFO: IMEI packet received {"connection_id":160422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":160422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:29:36] local.INFO: TCP Data received {"connection_id":160422,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfaf398012d1967c0071feea80038011d27..."} 
[2026-08-23 10:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfaf398012d1967c0071feea80038011d27..."} 
[2026-08-23 10:29:36] local.INFO: Processing buffer {"connection_id":160422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfaf398012d1967c0071feea80038011d27..."} 
[2026-08-23 10:29:36] local.INFO: Packet analysis {"connection_id":160422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfa"} 
[2026-08-23 10:29:36] local.INFO: Extracted packet for processing {"connection_id":160422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfa"} 
[2026-08-23 10:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590020608001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787461039000,"timestamp_ms":1787461039000,"timestamp_seconds":1787461039,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfaf398"} 
[2026-08-23 10:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:29:36] 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-08-23 10:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590020608001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590020608001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:29:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590020608001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":160422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:29:36] local.INFO: GPS data processed {"connection_id":160422,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:29:36] local.INFO: Acknowledgment sent {"connection_id":160422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:29:46] local.INFO: TCP Data received {"connection_id":160643,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:29:46] local.INFO: Processing buffer {"connection_id":160643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:29:46] local.INFO: IMEI packet received {"connection_id":160643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":160643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:29:54] local.INFO: TCP Data received {"connection_id":160643,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:29:54] local.INFO: Processing buffer {"connection_id":160643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:29:54] local.INFO: IMEI packet received {"connection_id":160643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":160643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:29:55] local.INFO: TCP Data received {"connection_id":160643,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:29:55] local.INFO: Processing buffer {"connection_id":160643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:29:55] local.INFO: Packet analysis {"connection_id":160643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:29:55] local.INFO: Extracted packet for processing {"connection_id":160643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:29:55] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":15,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 10:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589972224001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787461130000,"timestamp_ms":1787461130000,"timestamp_seconds":1787461130,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfc5710"} 
[2026-08-23 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-08-23 10:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:29:55] 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-08-23 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-08-23 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-08-23 10:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589972224001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589972224001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:29:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:29:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589972224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":160643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:29:55] local.INFO: GPS data processed {"connection_id":160643,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:29:55] local.INFO: Acknowledgment sent {"connection_id":160643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:30:07] local.INFO: TCP Data received {"connection_id":160422,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfb45a0012d1967c0071feea80038011d24..."} 
[2026-08-23 10:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfb45a0012d1967c0071feea80038011d24..."} 
[2026-08-23 10:30:07] local.INFO: Processing buffer {"connection_id":160422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfb45a0012d1967c0071feea80038011d24..."} 
[2026-08-23 10:30:07] local.INFO: Packet analysis {"connection_id":160422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfb"} 
[2026-08-23 10:30:07] local.INFO: Extracted packet for processing {"connection_id":160422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfb"} 
[2026-08-23 10:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590025984001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787461060000,"timestamp_ms":1787461060000,"timestamp_seconds":1787461060,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfb45a0"} 
[2026-08-23 10:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:30:07] 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-08-23 10:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590025984001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590025984001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:30:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:30:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590025984001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":160422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:30:07] local.INFO: GPS data processed {"connection_id":160422,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:30:07] local.INFO: Acknowledgment sent {"connection_id":160422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:30:26] local.INFO: TCP Data received {"connection_id":160643,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:30:26] local.INFO: Processing buffer {"connection_id":160643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:30:26] local.INFO: Packet analysis {"connection_id":160643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:30:26] local.INFO: Extracted packet for processing {"connection_id":160643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:30:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":15,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 10:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589972224001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787461130000,"timestamp_ms":1787461130000,"timestamp_seconds":1787461130,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfc5710"} 
[2026-08-23 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-08-23 10:30: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-08-23 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 10:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589972224001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589972224001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:30:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:30:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589972224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":160643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:30:26] local.INFO: GPS data processed {"connection_id":160643,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:30:26] local.INFO: Acknowledgment sent {"connection_id":160643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:30:30] local.INFO: TCP Data received {"connection_id":163005,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:30:30] local.INFO: Processing buffer {"connection_id":163005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:30:30] local.INFO: IMEI packet received {"connection_id":163005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":163005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:30:35] local.INFO: TCP Data received {"connection_id":163005,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:30:35] local.INFO: Processing buffer {"connection_id":163005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:30:35] local.INFO: IMEI packet received {"connection_id":163005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":163005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:30:36] local.INFO: TCP Data received {"connection_id":163005,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfb97a8012d1967c0071feea80038011d28..."} 
[2026-08-23 10:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfb97a8012d1967c0071feea80038011d28..."} 
[2026-08-23 10:30:36] local.INFO: Processing buffer {"connection_id":163005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfb97a8012d1967c0071feea80038011d28..."} 
[2026-08-23 10:30:36] local.INFO: Packet analysis {"connection_id":163005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfb"} 
[2026-08-23 10:30:36] local.INFO: Extracted packet for processing {"connection_id":163005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfb"} 
[2026-08-23 10:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590031360001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787461081000,"timestamp_ms":1787461081000,"timestamp_seconds":1787461081,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfb97a8"} 
[2026-08-23 10:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 10:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590031360001,"66":11971,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590031360001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:30:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590031360001,"power":11971,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":163005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:30:36] local.INFO: GPS data processed {"connection_id":163005,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:30:36] local.INFO: Acknowledgment sent {"connection_id":163005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:30:46] local.INFO: TCP Data received {"connection_id":160644,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:30:46] local.INFO: Processing buffer {"connection_id":160644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:30:46] local.INFO: IMEI packet received {"connection_id":160644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":160644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:30:51] local.INFO: TCP Data received {"connection_id":160644,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:30:51] local.INFO: Processing buffer {"connection_id":160644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:30:51] local.INFO: IMEI packet received {"connection_id":160644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":160644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:30:53] local.INFO: TCP Data received {"connection_id":160644,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:30:53] local.INFO: Processing buffer {"connection_id":160644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:30:53] local.INFO: Packet analysis {"connection_id":160644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:30:53] local.INFO: Extracted packet for processing {"connection_id":160644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:30:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":15,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589972224001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787461130000,"timestamp_ms":1787461130000,"timestamp_seconds":1787461130,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfc5710"} 
[2026-08-23 10:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:30:53] 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-08-23 10: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-08-23 10:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:30:53] 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-08-23 10:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589972224001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589972224001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:30:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:30:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589972224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":160644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:30:53] local.INFO: GPS data processed {"connection_id":160644,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:30:53] local.INFO: Acknowledgment sent {"connection_id":160644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:31:06] local.INFO: TCP Data received {"connection_id":163005,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfbe9b0012d1967c0071feea80038011d22..."} 
[2026-08-23 10:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfbe9b0012d1967c0071feea80038011d22..."} 
[2026-08-23 10:31:06] local.INFO: Processing buffer {"connection_id":163005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfbe9b0012d1967c0071feea80038011d22..."} 
[2026-08-23 10:31:06] local.INFO: Packet analysis {"connection_id":163005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfb"} 
[2026-08-23 10:31:06] local.INFO: Extracted packet for processing {"connection_id":163005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfb"} 
[2026-08-23 10:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":34,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590036736001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787461102000,"timestamp_ms":1787461102000,"timestamp_seconds":1787461102,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfbe9b0"} 
[2026-08-23 10:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-23 10:31:06] 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-08-23 10:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590036736001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590036736001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:31:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590036736001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":163005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:31:07] local.INFO: GPS data processed {"connection_id":163005,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:31:07] local.INFO: Acknowledgment sent {"connection_id":163005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:31:24] local.INFO: TCP Data received {"connection_id":160644,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:31:24] local.INFO: Processing buffer {"connection_id":160644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:31:24] local.INFO: Packet analysis {"connection_id":160644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:31:24] local.INFO: Extracted packet for processing {"connection_id":160644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:31:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":15,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589972224001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787461130000,"timestamp_ms":1787461130000,"timestamp_seconds":1787461130,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfc5710"} 
[2026-08-23 10:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:31:24] 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-08-23 10:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589972224001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589972224001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:31:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:31:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589972224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":160644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:31:24] local.INFO: GPS data processed {"connection_id":160644,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:31:24] local.INFO: Acknowledgment sent {"connection_id":160644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:31:35] local.INFO: TCP Data received {"connection_id":161593,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:31:35] local.INFO: Processing buffer {"connection_id":161593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:31:35] local.INFO: IMEI packet received {"connection_id":161593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":161593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:31:40] local.INFO: TCP Data received {"connection_id":161593,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:31:40] local.INFO: Processing buffer {"connection_id":161593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:31:40] local.INFO: IMEI packet received {"connection_id":161593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":161593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:31:40] local.INFO: TCP Data received {"connection_id":161593,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfc3bb8012d1967c0071feea80038011d26..."} 
[2026-08-23 10:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfc3bb8012d1967c0071feea80038011d26..."} 
[2026-08-23 10:31:40] local.INFO: Processing buffer {"connection_id":161593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfc3bb8012d1967c0071feea80038011d26..."} 
[2026-08-23 10:31:40] local.INFO: Packet analysis {"connection_id":161593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:31:40] local.INFO: Extracted packet for processing {"connection_id":161593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:31:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590042112001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787461123000,"timestamp_ms":1787461123000,"timestamp_seconds":1787461123,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfc3bb8"} 
[2026-08-23 10:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:31:40] 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-08-23 10: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 10:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:40] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:40] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:40] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3240809938773940583,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:40] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:40] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80262149804392448,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:40] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:40] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4204892161,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:40] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 10:31:40] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:40] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:40] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:40] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,22,160,151,45,192,238,56,40,10,66,69,36,243,1,240,53,227,44,31,4,113,205,79,103,168,37,239,47,2,54,7],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 10:31:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538772966768640,"timestamp_seconds":4035538772966768.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 10:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590042112001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590042112001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:31:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:31:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590042112001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":161593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:31:40] local.INFO: GPS data processed {"connection_id":161593,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:31:40] local.INFO: Acknowledgment sent {"connection_id":161593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:31:45] local.INFO: TCP Data received {"connection_id":161593,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfc8dc0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfc8dc0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:31:45] local.INFO: Processing buffer {"connection_id":161593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfc8dc0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:31:45] local.INFO: Packet analysis {"connection_id":161593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:31:45] local.INFO: Extracted packet for processing {"connection_id":161593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:31:45] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590047488001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787461144000,"timestamp_ms":1787461144000,"timestamp_seconds":1787461144,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfc8dc0"} 
[2026-08-23 10:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:31:45] 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-08-23 10:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590047488001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590047488001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:31:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:31:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590047488001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":161593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:31:45] local.INFO: GPS data processed {"connection_id":161593,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:31:45] local.INFO: Acknowledgment sent {"connection_id":161593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:31:46] local.INFO: TCP Data received {"connection_id":160423,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:31:46] local.INFO: Processing buffer {"connection_id":160423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:31:46] local.INFO: IMEI packet received {"connection_id":160423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":160423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:31:51] local.INFO: TCP Data received {"connection_id":160423,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:31:51] local.INFO: Processing buffer {"connection_id":160423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:31:51] local.INFO: IMEI packet received {"connection_id":160423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":160423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:31:52] local.INFO: TCP Data received {"connection_id":160423,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:31:52] local.INFO: Processing buffer {"connection_id":160423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:31:52] local.INFO: Packet analysis {"connection_id":160423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:31:52] local.INFO: Extracted packet for processing {"connection_id":160423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:31:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":15,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589972224001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787461130000,"timestamp_ms":1787461130000,"timestamp_seconds":1787461130,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfc5710"} 
[2026-08-23 10:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:31:52] 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-08-23 10: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-08-23 10:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:31:52] 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-08-23 10:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589972224001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589972224001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:31:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:31:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589972224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":160423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:31:52] local.INFO: GPS data processed {"connection_id":160423,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:31:52] local.INFO: Acknowledgment sent {"connection_id":160423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:32:23] local.INFO: TCP Data received {"connection_id":160423,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:32:24] local.INFO: Processing buffer {"connection_id":160423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:32:24] local.INFO: Packet analysis {"connection_id":160423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:32:24] local.INFO: Extracted packet for processing {"connection_id":160423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:32:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":15,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589972224001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787461130000,"timestamp_ms":1787461130000,"timestamp_seconds":1787461130,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfc5710"} 
[2026-08-23 10:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:32:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:32:24] 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-08-23 10:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589972224001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589972224001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:32:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:32:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589972224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":160423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:32:24] local.INFO: GPS data processed {"connection_id":160423,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:32:24] local.INFO: Acknowledgment sent {"connection_id":160423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:32:30] local.INFO: TCP Data received {"connection_id":160645,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:32:30] local.INFO: Processing buffer {"connection_id":160645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:32:30] local.INFO: IMEI packet received {"connection_id":160645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":160645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:32:30] local.INFO: TCP Data received {"connection_id":160645,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:32:30] local.INFO: Processing buffer {"connection_id":160645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:32:30] local.INFO: IMEI packet received {"connection_id":160645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":160645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:32:35] local.INFO: TCP Data received {"connection_id":160645,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:32:35] local.INFO: Processing buffer {"connection_id":160645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:32:35] local.INFO: IMEI packet received {"connection_id":160645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":160645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:32:36] local.INFO: TCP Data received {"connection_id":160645,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfcdfc8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfcdfc8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:32:36] local.INFO: Processing buffer {"connection_id":160645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfcdfc8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:32:36] local.INFO: Packet analysis {"connection_id":160645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:32:36] local.INFO: Extracted packet for processing {"connection_id":160645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:32:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590052864001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787461165000,"timestamp_ms":1787461165000,"timestamp_seconds":1787461165,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfcdfc8"} 
[2026-08-23 10:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:32:36] 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-08-23 10:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:32:36] 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-08-23 10:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590052864001,"66":12363,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590052864001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:32:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:32:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590052864001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":160645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:32:36] local.INFO: GPS data processed {"connection_id":160645,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:32:36] local.INFO: Acknowledgment sent {"connection_id":160645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:32:46] local.INFO: TCP Data received {"connection_id":161594,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:32:46] local.INFO: Processing buffer {"connection_id":161594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:32:46] local.INFO: IMEI packet received {"connection_id":161594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":161594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:32:51] local.INFO: TCP Data received {"connection_id":161594,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:32:51] local.INFO: Processing buffer {"connection_id":161594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:32:51] local.INFO: IMEI packet received {"connection_id":161594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":161594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:32:53] local.INFO: TCP Data received {"connection_id":161594,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:32:53] local.INFO: Processing buffer {"connection_id":161594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:32:53] local.INFO: Packet analysis {"connection_id":161594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:32:53] local.INFO: Extracted packet for processing {"connection_id":161594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:32:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":15,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589972224001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787461130000,"timestamp_ms":1787461130000,"timestamp_seconds":1787461130,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfc5710"} 
[2026-08-23 10:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:32:53] 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-08-23 10: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-08-23 10:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:32:53] 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-08-23 10:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589972224001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589972224001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:32:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:32:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589972224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":161594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:32:53] local.INFO: GPS data processed {"connection_id":161594,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:32:53] local.INFO: Acknowledgment sent {"connection_id":161594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:33:07] local.INFO: TCP Data received {"connection_id":160645,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfd31d0012d1967c0071feea80038011d29..."} 
[2026-08-23 10:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfd31d0012d1967c0071feea80038011d29..."} 
[2026-08-23 10:33:07] local.INFO: Processing buffer {"connection_id":160645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfd31d0012d1967c0071feea80038011d29..."} 
[2026-08-23 10:33:07] local.INFO: Packet analysis {"connection_id":160645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfd"} 
[2026-08-23 10:33:07] local.INFO: Extracted packet for processing {"connection_id":160645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfd"} 
[2026-08-23 10:33:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590058240001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787461186000,"timestamp_ms":1787461186000,"timestamp_seconds":1787461186,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfd31d0"} 
[2026-08-23 10:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 10:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590058240001,"66":12374,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590058240001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:33:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:33:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590058240001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":160645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:33:07] local.INFO: GPS data processed {"connection_id":160645,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:33:07] local.INFO: Acknowledgment sent {"connection_id":160645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:33:21] local.INFO: TCP Data received {"connection_id":160646,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:33:21] local.INFO: Processing buffer {"connection_id":160646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:33:21] local.INFO: IMEI packet received {"connection_id":160646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 10:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":160646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:33:25] local.INFO: TCP Data received {"connection_id":161594,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:33:25] local.INFO: Processing buffer {"connection_id":161594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:33:25] local.INFO: Packet analysis {"connection_id":161594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:33:25] local.INFO: Extracted packet for processing {"connection_id":161594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:33:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":15,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589972224001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787461130000,"timestamp_ms":1787461130000,"timestamp_seconds":1787461130,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfc5710"} 
[2026-08-23 10:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:33:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:33:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589972224001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589972224001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:33:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:33:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589972224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":161594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:33:25] local.INFO: GPS data processed {"connection_id":161594,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:33:25] local.INFO: Acknowledgment sent {"connection_id":161594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:33:30] local.INFO: TCP Data received {"connection_id":160647,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:33:30] local.INFO: Processing buffer {"connection_id":160647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:33:30] local.INFO: IMEI packet received {"connection_id":160647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":160647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:33:33] local.INFO: TCP Data received {"connection_id":160647,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:33:33] local.INFO: Processing buffer {"connection_id":160647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:33:33] local.INFO: IMEI packet received {"connection_id":160647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":160647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:33:34] local.INFO: TCP Data received {"connection_id":160647,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfd83d8012d1967c0071feea80038011d23..."} 
[2026-08-23 10:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfd83d8012d1967c0071feea80038011d23..."} 
[2026-08-23 10:33:34] local.INFO: Processing buffer {"connection_id":160647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfd83d8012d1967c0071feea80038011d23..."} 
[2026-08-23 10:33:34] local.INFO: Packet analysis {"connection_id":160647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfd"} 
[2026-08-23 10:33:34] local.INFO: Extracted packet for processing {"connection_id":160647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfd"} 
[2026-08-23 10:33:34] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590063616001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787461207000,"timestamp_ms":1787461207000,"timestamp_seconds":1787461207,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfd83d8"} 
[2026-08-23 10:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:33:34] 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-08-23 10:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 10:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590063616001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590063616001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:33:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:33:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590063616001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":160647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:33:34] local.INFO: GPS data processed {"connection_id":160647,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:33:34] local.INFO: Acknowledgment sent {"connection_id":160647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:33:52] local.INFO: TCP Data received {"connection_id":160424,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:33:52] local.INFO: Processing buffer {"connection_id":160424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:33:52] local.INFO: IMEI packet received {"connection_id":160424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":160424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:33:56] local.INFO: TCP Data received {"connection_id":160424,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:33:56] local.INFO: Processing buffer {"connection_id":160424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:33:56] local.INFO: IMEI packet received {"connection_id":160424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":160424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:33:57] local.INFO: TCP Data received {"connection_id":160424,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:33:57] local.INFO: Processing buffer {"connection_id":160424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:33:57] local.INFO: Packet analysis {"connection_id":160424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:33:57] local.INFO: Extracted packet for processing {"connection_id":160424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:33:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":15,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589972224001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787461130000,"timestamp_ms":1787461130000,"timestamp_seconds":1787461130,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfc5710"} 
[2026-08-23 10:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589972224001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589972224001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:33:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:33:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589972224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":160424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:33:57] local.INFO: GPS data processed {"connection_id":160424,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:33:57] local.INFO: Acknowledgment sent {"connection_id":160424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:34:05] local.INFO: TCP Data received {"connection_id":160647,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfdd5e0012d1967c0071feea80038011d27..."} 
[2026-08-23 10:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfdd5e0012d1967c0071feea80038011d27..."} 
[2026-08-23 10:34:05] local.INFO: Processing buffer {"connection_id":160647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfdd5e0012d1967c0071feea80038011d27..."} 
[2026-08-23 10:34:05] local.INFO: Packet analysis {"connection_id":160647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfd"} 
[2026-08-23 10:34:05] local.INFO: Extracted packet for processing {"connection_id":160647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfd"} 
[2026-08-23 10:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590068992001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787461228000,"timestamp_ms":1787461228000,"timestamp_seconds":1787461228,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfdd5e0"} 
[2026-08-23 10:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:34:05] 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-08-23 10:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590068992001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590068992001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:34:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590068992001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":160647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:34:05] local.INFO: GPS data processed {"connection_id":160647,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:34:05] local.INFO: Acknowledgment sent {"connection_id":160647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:34:29] local.INFO: TCP Data received {"connection_id":160424,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:34:29] local.INFO: Processing buffer {"connection_id":160424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfc5710012d34c50006aa4098000f008523..."} 
[2026-08-23 10:34:29] local.INFO: Packet analysis {"connection_id":160424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:34:29] local.INFO: Extracted packet for processing {"connection_id":160424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfc"} 
[2026-08-23 10:34:29] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":15,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589972224001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787461130000,"timestamp_ms":1787461130000,"timestamp_seconds":1787461130,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfc5710"} 
[2026-08-23 10:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:34:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589972224001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589972224001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:34:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:34:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589972224001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":160424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:34:29] local.INFO: GPS data processed {"connection_id":160424,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:34:29] local.INFO: Acknowledgment sent {"connection_id":160424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:34:30] local.INFO: TCP Data received {"connection_id":161595,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:34:30] local.INFO: Processing buffer {"connection_id":161595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:34:30] local.INFO: IMEI packet received {"connection_id":161595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":161595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:34:35] local.INFO: TCP Data received {"connection_id":161595,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:34:35] local.INFO: Processing buffer {"connection_id":161595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:34:35] local.INFO: IMEI packet received {"connection_id":161595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":161595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:34:36] local.INFO: TCP Data received {"connection_id":161595,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfe27e8012d1967c0071feea80038011d25..."} 
[2026-08-23 10:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfe27e8012d1967c0071feea80038011d25..."} 
[2026-08-23 10:34:36] local.INFO: Processing buffer {"connection_id":161595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfe27e8012d1967c0071feea80038011d25..."} 
[2026-08-23 10:34:36] local.INFO: Packet analysis {"connection_id":161595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfe"} 
[2026-08-23 10:34:36] local.INFO: Extracted packet for processing {"connection_id":161595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfe"} 
[2026-08-23 10:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590074368001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787461249000,"timestamp_ms":1787461249000,"timestamp_seconds":1787461249,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfe27e8"} 
[2026-08-23 10:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:34:36] 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-08-23 10:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:34:36] 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-08-23 10:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590074368001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590074368001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:34:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:34:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590074368001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":161595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:34:36] local.INFO: GPS data processed {"connection_id":161595,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:34:36] local.INFO: Acknowledgment sent {"connection_id":161595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:34:46] local.INFO: TCP Data received {"connection_id":160648,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:34:46] local.INFO: Processing buffer {"connection_id":160648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:34:46] local.INFO: IMEI packet received {"connection_id":160648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":160648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:34:51] local.INFO: TCP Data received {"connection_id":160648,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:34:51] local.INFO: Processing buffer {"connection_id":160648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:34:51] local.INFO: IMEI packet received {"connection_id":160648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":160648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:34:53] local.INFO: TCP Data received {"connection_id":160648,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:34:53] local.INFO: Processing buffer {"connection_id":160648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:34:53] local.INFO: Packet analysis {"connection_id":160648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:34:53] local.INFO: Extracted packet for processing {"connection_id":160648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":15,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:34: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-08-23 10:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590049280001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787461431000,"timestamp_ms":1787461431000,"timestamp_seconds":1787461431,"priority":1,"record_length":96,"hex_timestamp":"000001a02d00eed8"} 
[2026-08-23 10:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:34:53] 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-08-23 10:34: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-08-23 10:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:34:53] 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-08-23 10:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590049280001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590049280001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:34:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:34:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590049280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":160648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:34:53] local.INFO: GPS data processed {"connection_id":160648,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:34:53] local.INFO: Acknowledgment sent {"connection_id":160648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:35:07] local.INFO: TCP Data received {"connection_id":161595,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfe79f0012d1967c0071feea80038011d26..."} 
[2026-08-23 10:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfe79f0012d1967c0071feea80038011d26..."} 
[2026-08-23 10:35:07] local.INFO: Processing buffer {"connection_id":161595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfe79f0012d1967c0071feea80038011d26..."} 
[2026-08-23 10:35:07] local.INFO: Packet analysis {"connection_id":161595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfe"} 
[2026-08-23 10:35:07] local.INFO: Extracted packet for processing {"connection_id":161595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfe"} 
[2026-08-23 10:35:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590079744001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787461270000,"timestamp_ms":1787461270000,"timestamp_seconds":1787461270,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfe79f0"} 
[2026-08-23 10:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:35:07] 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-08-23 10:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590079744001,"66":11830,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590079744001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:35:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:35:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590079744001,"power":11830,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":161595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:35:07] local.INFO: GPS data processed {"connection_id":161595,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:35:07] local.INFO: Acknowledgment sent {"connection_id":161595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:35:24] local.INFO: TCP Data received {"connection_id":160648,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:35:24] local.INFO: Processing buffer {"connection_id":160648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:35:24] local.INFO: Packet analysis {"connection_id":160648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:35:24] local.INFO: Extracted packet for processing {"connection_id":160648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":15,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590049280001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787461431000,"timestamp_ms":1787461431000,"timestamp_seconds":1787461431,"priority":1,"record_length":96,"hex_timestamp":"000001a02d00eed8"} 
[2026-08-23 10:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:35:24] 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-08-23 10:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590049280001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590049280001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:35:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590049280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":160648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:35:24] local.INFO: GPS data processed {"connection_id":160648,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:35:24] local.INFO: Acknowledgment sent {"connection_id":160648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:35:30] local.INFO: TCP Data received {"connection_id":163006,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:35:30] local.INFO: Processing buffer {"connection_id":163006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:35:30] local.INFO: IMEI packet received {"connection_id":163006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":163006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:35:35] local.INFO: TCP Data received {"connection_id":163006,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:35:35] local.INFO: Processing buffer {"connection_id":163006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:35:35] local.INFO: IMEI packet received {"connection_id":163006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":163006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:35:36] local.INFO: TCP Data received {"connection_id":163006,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfecbf8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfecbf8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:35:36] local.INFO: Processing buffer {"connection_id":163006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfecbf8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:35:36] local.INFO: Packet analysis {"connection_id":163006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfe"} 
[2026-08-23 10:35:36] local.INFO: Extracted packet for processing {"connection_id":163006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfe"} 
[2026-08-23 10:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590085120001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787461291000,"timestamp_ms":1787461291000,"timestamp_seconds":1787461291,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfecbf8"} 
[2026-08-23 10:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:35:36] 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-08-23 10:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-23 10:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590085120001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590085120001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:35:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590085120001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":163006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:35:36] local.INFO: GPS data processed {"connection_id":163006,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:35:36] local.INFO: Acknowledgment sent {"connection_id":163006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:35:46] local.INFO: TCP Data received {"connection_id":160649,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:35:46] local.INFO: Processing buffer {"connection_id":160649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:35:46] local.INFO: IMEI packet received {"connection_id":160649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":160649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:35:51] local.INFO: TCP Data received {"connection_id":160649,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:35:51] local.INFO: Processing buffer {"connection_id":160649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:35:51] local.INFO: IMEI packet received {"connection_id":160649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":160649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:35:52] local.INFO: TCP Data received {"connection_id":160649,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:35:52] local.INFO: Processing buffer {"connection_id":160649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:35:52] local.INFO: Packet analysis {"connection_id":160649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:35:52] local.INFO: Extracted packet for processing {"connection_id":160649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":15,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590049280001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787461431000,"timestamp_ms":1787461431000,"timestamp_seconds":1787461431,"priority":1,"record_length":96,"hex_timestamp":"000001a02d00eed8"} 
[2026-08-23 10:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:35:52] 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-08-23 10:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:35:52] 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-08-23 10:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590049280001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590049280001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:35:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590049280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":160649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:35:52] local.INFO: GPS data processed {"connection_id":160649,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:35:52] local.INFO: Acknowledgment sent {"connection_id":160649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:36:07] local.INFO: TCP Data received {"connection_id":163006,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cff1e00012d1967c0071feea80038011d29..."} 
[2026-08-23 10:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cff1e00012d1967c0071feea80038011d29..."} 
[2026-08-23 10:36:07] local.INFO: Processing buffer {"connection_id":163006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cff1e00012d1967c0071feea80038011d29..."} 
[2026-08-23 10:36:07] local.INFO: Packet analysis {"connection_id":163006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cff"} 
[2026-08-23 10:36:07] local.INFO: Extracted packet for processing {"connection_id":163006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cff"} 
[2026-08-23 10:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590090496001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787461312000,"timestamp_ms":1787461312000,"timestamp_seconds":1787461312,"priority":1,"record_length":96,"hex_timestamp":"000001a02cff1e00"} 
[2026-08-23 10:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:36:07] 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-08-23 10: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-08-23 10:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590090496001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590090496001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:36:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590090496001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":163006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:36:07] local.INFO: GPS data processed {"connection_id":163006,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:36:07] local.INFO: Acknowledgment sent {"connection_id":163006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:36:23] local.INFO: TCP Data received {"connection_id":160649,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:36:23] local.INFO: Processing buffer {"connection_id":160649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:36:23] local.INFO: Packet analysis {"connection_id":160649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:36:23] local.INFO: Extracted packet for processing {"connection_id":160649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:36:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":15,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590049280001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787461431000,"timestamp_ms":1787461431000,"timestamp_seconds":1787461431,"priority":1,"record_length":96,"hex_timestamp":"000001a02d00eed8"} 
[2026-08-23 10:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:36:23] 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-08-23 10:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:36:23] 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-08-23 10:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590049280001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590049280001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:36:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:36:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590049280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":160649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:36:23] local.INFO: GPS data processed {"connection_id":160649,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:36:23] local.INFO: Acknowledgment sent {"connection_id":160649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:36:30] local.INFO: TCP Data received {"connection_id":161596,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:36:30] local.INFO: Processing buffer {"connection_id":161596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:36:30] local.INFO: IMEI packet received {"connection_id":161596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":161596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:36:35] local.INFO: TCP Data received {"connection_id":161596,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:36:35] local.INFO: Processing buffer {"connection_id":161596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:36:35] local.INFO: IMEI packet received {"connection_id":161596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":161596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:36:36] local.INFO: TCP Data received {"connection_id":161596,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cff7008012d1967c0071feea80038011d27..."} 
[2026-08-23 10:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cff7008012d1967c0071feea80038011d27..."} 
[2026-08-23 10:36:36] local.INFO: Processing buffer {"connection_id":161596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cff7008012d1967c0071feea80038011d27..."} 
[2026-08-23 10:36:36] local.INFO: Packet analysis {"connection_id":161596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cff"} 
[2026-08-23 10:36:36] local.INFO: Extracted packet for processing {"connection_id":161596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cff"} 
[2026-08-23 10:36:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590095872001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787461333000,"timestamp_ms":1787461333000,"timestamp_seconds":1787461333,"priority":1,"record_length":96,"hex_timestamp":"000001a02cff7008"} 
[2026-08-23 10:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:36:36] 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-08-23 10:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:36:36] 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-08-23 10:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590095872001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590095872001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:36:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:36:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590095872001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":161596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:36:36] local.INFO: GPS data processed {"connection_id":161596,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:36:36] local.INFO: Acknowledgment sent {"connection_id":161596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:36:46] local.INFO: TCP Data received {"connection_id":160650,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:36:46] local.INFO: Processing buffer {"connection_id":160650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:36:46] local.INFO: IMEI packet received {"connection_id":160650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":160650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:36:51] local.INFO: TCP Data received {"connection_id":160650,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:36:51] local.INFO: Processing buffer {"connection_id":160650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:36:51] local.INFO: IMEI packet received {"connection_id":160650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":160650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:36:53] local.INFO: TCP Data received {"connection_id":160650,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:36:53] local.INFO: Processing buffer {"connection_id":160650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:36:53] local.INFO: Packet analysis {"connection_id":160650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:36:53] local.INFO: Extracted packet for processing {"connection_id":160650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:36:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":15,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590049280001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787461431000,"timestamp_ms":1787461431000,"timestamp_seconds":1787461431,"priority":1,"record_length":96,"hex_timestamp":"000001a02d00eed8"} 
[2026-08-23 10:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:36:53] 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-08-23 10:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:36:53] 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-08-23 10:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590049280001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590049280001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:36:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:36:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590049280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":160650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:36:53] local.INFO: GPS data processed {"connection_id":160650,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:36:53] local.INFO: Acknowledgment sent {"connection_id":160650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:37:07] local.INFO: TCP Data received {"connection_id":161596,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02cffc210012d1967c0071feea80038011d28..."} 
[2026-08-23 10:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cffc210012d1967c0071feea80038011d28..."} 
[2026-08-23 10:37:07] local.INFO: Processing buffer {"connection_id":161596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cffc210012d1967c0071feea80038011d28..."} 
[2026-08-23 10:37:07] local.INFO: Packet analysis {"connection_id":161596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cff"} 
[2026-08-23 10:37:07] local.INFO: Extracted packet for processing {"connection_id":161596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cff"} 
[2026-08-23 10:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590101248001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787461354000,"timestamp_ms":1787461354000,"timestamp_seconds":1787461354,"priority":1,"record_length":96,"hex_timestamp":"000001a02cffc210"} 
[2026-08-23 10:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:37:07] 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-08-23 10:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590101248001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590101248001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:37:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590101248001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":161596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:37:07] local.INFO: GPS data processed {"connection_id":161596,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:37:07] local.INFO: Acknowledgment sent {"connection_id":161596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:37:30] local.INFO: TCP Data received {"connection_id":160425,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:37:30] local.INFO: Processing buffer {"connection_id":160425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:37:30] local.INFO: IMEI packet received {"connection_id":160425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":160425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:37:35] local.INFO: TCP Data received {"connection_id":160425,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:37:35] local.INFO: Processing buffer {"connection_id":160425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:37:35] local.INFO: IMEI packet received {"connection_id":160425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":160425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:37:36] local.INFO: TCP Data received {"connection_id":160425,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d001418012d1967c0071feea80038011d28..."} 
[2026-08-23 10:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d001418012d1967c0071feea80038011d28..."} 
[2026-08-23 10:37:36] local.INFO: Processing buffer {"connection_id":160425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d001418012d1967c0071feea80038011d28..."} 
[2026-08-23 10:37:36] local.INFO: Packet analysis {"connection_id":160425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:37:36] local.INFO: Extracted packet for processing {"connection_id":160425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:37:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590106624001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787461375000,"timestamp_ms":1787461375000,"timestamp_seconds":1787461375,"priority":1,"record_length":96,"hex_timestamp":"000001a02d001418"} 
[2026-08-23 10:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:37:36] 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-08-23 10:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:37:36] 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-08-23 10:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590106624001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590106624001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:37:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:37:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590106624001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":160425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:37:36] local.INFO: GPS data processed {"connection_id":160425,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:37:36] local.INFO: Acknowledgment sent {"connection_id":160425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:37:41] local.INFO: TCP Data received {"connection_id":160651,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:37:41] local.INFO: Processing buffer {"connection_id":160651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:37:41] local.INFO: IMEI packet received {"connection_id":160651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":160651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:37:47] local.INFO: TCP Data received {"connection_id":160651,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:37:47] local.INFO: Processing buffer {"connection_id":160651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:37:47] local.INFO: IMEI packet received {"connection_id":160651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":160651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:37:48] local.INFO: TCP Data received {"connection_id":160651,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:37:48] local.INFO: Processing buffer {"connection_id":160651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:37:48] local.INFO: Packet analysis {"connection_id":160651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:37:48] local.INFO: Extracted packet for processing {"connection_id":160651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":15,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590049280001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787461431000,"timestamp_ms":1787461431000,"timestamp_seconds":1787461431,"priority":1,"record_length":96,"hex_timestamp":"000001a02d00eed8"} 
[2026-08-23 10:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:37: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-08-23 10:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590049280001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590049280001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:37:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590049280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":160651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:37:48] local.INFO: GPS data processed {"connection_id":160651,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:37:48] local.INFO: Acknowledgment sent {"connection_id":160651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:37:52] local.INFO: TCP Data received {"connection_id":160651,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:37:52] local.INFO: Processing buffer {"connection_id":160651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:37:52] local.INFO: Packet analysis {"connection_id":160651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:37:52] local.INFO: Extracted packet for processing {"connection_id":160651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:37:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":15,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590049280001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787461431000,"timestamp_ms":1787461431000,"timestamp_seconds":1787461431,"priority":1,"record_length":96,"hex_timestamp":"000001a02d00eed8"} 
[2026-08-23 10:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:37:52] 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-08-23 10:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590049280001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590049280001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:37:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:37:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590049280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":160651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:37:52] local.INFO: GPS data processed {"connection_id":160651,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:37:52] local.INFO: Acknowledgment sent {"connection_id":160651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:38:07] local.INFO: TCP Data received {"connection_id":160425,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d039a70012d1967c0071feea80038011d26..."} 
[2026-08-23 10:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d039a70012d1967c0071feea80038011d26..."} 
[2026-08-23 10:38:07] local.INFO: Processing buffer {"connection_id":160425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d039a70012d1967c0071feea80038011d26..."} 
[2026-08-23 10:38:07] local.INFO: Packet analysis {"connection_id":160425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d03"} 
[2026-08-23 10:38:07] local.INFO: Extracted packet for processing {"connection_id":160425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d03"} 
[2026-08-23 10:38:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590165760001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787461606000,"timestamp_ms":1787461606000,"timestamp_seconds":1787461606,"priority":1,"record_length":96,"hex_timestamp":"000001a02d039a70"} 
[2026-08-23 10:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 10:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590165760001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590165760001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:38:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:38:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590165760001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":160425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:38:07] local.INFO: GPS data processed {"connection_id":160425,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:38:07] local.INFO: Acknowledgment sent {"connection_id":160425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:38:24] local.INFO: TCP Data received {"connection_id":160651,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:38:24] local.INFO: Processing buffer {"connection_id":160651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:38:24] local.INFO: Packet analysis {"connection_id":160651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:38:24] local.INFO: Extracted packet for processing {"connection_id":160651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:38:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":15,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590049280001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787461431000,"timestamp_ms":1787461431000,"timestamp_seconds":1787461431,"priority":1,"record_length":96,"hex_timestamp":"000001a02d00eed8"} 
[2026-08-23 10:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590049280001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590049280001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:38:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:38:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590049280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":160651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:38:24] local.INFO: GPS data processed {"connection_id":160651,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:38:24] local.INFO: Acknowledgment sent {"connection_id":160651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:38:35] local.INFO: TCP Data received {"connection_id":163007,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:38:35] local.INFO: Processing buffer {"connection_id":163007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:38:35] local.INFO: IMEI packet received {"connection_id":163007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":163007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:38:40] local.INFO: TCP Data received {"connection_id":163007,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:38:40] local.INFO: Processing buffer {"connection_id":163007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:38:40] local.INFO: IMEI packet received {"connection_id":163007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":163007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:38:40] local.INFO: TCP Data received {"connection_id":163007,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d03ec78012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d03ec78012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:38:40] local.INFO: Processing buffer {"connection_id":163007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d03ec78012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:38:40] local.INFO: Packet analysis {"connection_id":163007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d03"} 
[2026-08-23 10:38:40] local.INFO: Extracted packet for processing {"connection_id":163007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d03"} 
[2026-08-23 10:38:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590171136001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787461627000,"timestamp_ms":1787461627000,"timestamp_seconds":1787461627,"priority":1,"record_length":96,"hex_timestamp":"000001a02d03ec78"} 
[2026-08-23 10:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:38:40] 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-08-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:38:40] 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-08-23 10: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-08-23 10:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590171136001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590171136001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:38:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:38:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590171136001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":163007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:38:40] local.INFO: GPS data processed {"connection_id":163007,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:38:40] local.INFO: Acknowledgment sent {"connection_id":163007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:38:45] local.INFO: TCP Data received {"connection_id":163007,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d043e80012d1967c0071feea80038011d28..."} 
[2026-08-23 10:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d043e80012d1967c0071feea80038011d28..."} 
[2026-08-23 10:38:45] local.INFO: Processing buffer {"connection_id":163007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d043e80012d1967c0071feea80038011d28..."} 
[2026-08-23 10:38:45] local.INFO: Packet analysis {"connection_id":163007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d04"} 
[2026-08-23 10:38:45] local.INFO: Extracted packet for processing {"connection_id":163007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d04"} 
[2026-08-23 10:38:45] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590176512001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787461648000,"timestamp_ms":1787461648000,"timestamp_seconds":1787461648,"priority":1,"record_length":96,"hex_timestamp":"000001a02d043e80"} 
[2026-08-23 10:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:38:45] 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-08-23 10:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:38:45] 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-08-23 10:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590176512001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590176512001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:38:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:38:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590176512001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":163007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:38:45] local.INFO: GPS data processed {"connection_id":163007,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:38:45] local.INFO: Acknowledgment sent {"connection_id":163007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:38:47] local.INFO: TCP Data received {"connection_id":160426,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:38:47] local.INFO: Processing buffer {"connection_id":160426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:38:47] local.INFO: IMEI packet received {"connection_id":160426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":160426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:38:51] local.INFO: TCP Data received {"connection_id":160426,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:38:51] local.INFO: Processing buffer {"connection_id":160426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:38:51] local.INFO: IMEI packet received {"connection_id":160426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":160426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:38:52] local.INFO: TCP Data received {"connection_id":160426,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:38:52] local.INFO: Processing buffer {"connection_id":160426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:38:52] local.INFO: Packet analysis {"connection_id":160426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:38:52] local.INFO: Extracted packet for processing {"connection_id":160426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:38:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":15,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590049280001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787461431000,"timestamp_ms":1787461431000,"timestamp_seconds":1787461431,"priority":1,"record_length":96,"hex_timestamp":"000001a02d00eed8"} 
[2026-08-23 10:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:38:52] 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-08-23 10:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590049280001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590049280001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:38:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:38:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590049280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":160426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:38:52] local.INFO: GPS data processed {"connection_id":160426,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:38:52] local.INFO: Acknowledgment sent {"connection_id":160426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:38:57] local.INFO: TCP Data received {"connection_id":160426,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:38:57] local.INFO: Processing buffer {"connection_id":160426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:38:57] local.INFO: Packet analysis {"connection_id":160426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:38:57] local.INFO: Extracted packet for processing {"connection_id":160426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:38:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":15,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590049280001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787461431000,"timestamp_ms":1787461431000,"timestamp_seconds":1787461431,"priority":1,"record_length":96,"hex_timestamp":"000001a02d00eed8"} 
[2026-08-23 10:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590049280001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590049280001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:38:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:38:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590049280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":160426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:38:57] local.INFO: GPS data processed {"connection_id":160426,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:38:57] local.INFO: Acknowledgment sent {"connection_id":160426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:39:12] local.INFO: TCP Data received {"connection_id":161597,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:39:12] local.INFO: Processing buffer {"connection_id":161597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:39:12] local.INFO: IMEI packet received {"connection_id":161597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 10:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":161597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:39:16] local.INFO: TCP Data received {"connection_id":161597,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:39:16] local.INFO: Processing buffer {"connection_id":161597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:39:16] local.INFO: IMEI packet received {"connection_id":161597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 10:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":161597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:39:18] local.INFO: TCP Data received {"connection_id":161597,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ce87538012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ce87538012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:39:18] local.INFO: Processing buffer {"connection_id":161597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ce87538012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:39:18] local.INFO: Packet analysis {"connection_id":161597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ce8"} 
[2026-08-23 10:39:18] local.INFO: Extracted packet for processing {"connection_id":161597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ce8"} 
[2026-08-23 10:39:18] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589638656001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:39:18] 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-08-23 10:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787459827000,"timestamp_ms":1787459827000,"timestamp_seconds":1787459827,"priority":1,"record_length":96,"hex_timestamp":"000001a02ce87538"} 
[2026-08-23 10:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:39:18] 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-08-23 10:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 10:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589638656001,"66":2231,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 10:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589638656001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:39:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 10:39:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 10:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457589638656001,"power":2231,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":161597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:39:18] local.INFO: GPS data processed {"connection_id":161597,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:39:18] local.INFO: Acknowledgment sent {"connection_id":161597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:39:22] local.INFO: TCP Data received {"connection_id":161597,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf00e88012d7e154005d3bf000007006c29..."} 
[2026-08-23 10:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf00e88012d7e154005d3bf000007006c29..."} 
[2026-08-23 10:39:22] local.INFO: Processing buffer {"connection_id":161597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf00e88012d7e154005d3bf000007006c29..."} 
[2026-08-23 10:39:22] local.INFO: Packet analysis {"connection_id":161597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf0"} 
[2026-08-23 10:39:22] local.INFO: Extracted packet for processing {"connection_id":161597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf0"} 
[2026-08-23 10:39:22] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589715712001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:39:22] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-23 10:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787460325000,"timestamp_ms":1787460325000,"timestamp_seconds":1787460325,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf00e88"} 
[2026-08-23 10:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 10:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589715712001,"66":2231,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-23 10:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589715712001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:39:22] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457589715712001,"power":2231,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":161597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:39:22] local.INFO: GPS data processed {"connection_id":161597,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:39:22] local.INFO: Acknowledgment sent {"connection_id":161597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:39:28] local.INFO: TCP Data received {"connection_id":160426,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:39:28] local.INFO: Processing buffer {"connection_id":160426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d00eed8012d34c50006aa4098000f008520..."} 
[2026-08-23 10:39:28] local.INFO: Packet analysis {"connection_id":160426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:39:28] local.INFO: Extracted packet for processing {"connection_id":160426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d00"} 
[2026-08-23 10:39:28] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":15,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590049280001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787461431000,"timestamp_ms":1787461431000,"timestamp_seconds":1787461431,"priority":1,"record_length":96,"hex_timestamp":"000001a02d00eed8"} 
[2026-08-23 10:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590049280001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590049280001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:39:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:39:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590049280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":160426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:39:28] local.INFO: GPS data processed {"connection_id":160426,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:39:28] local.INFO: Acknowledgment sent {"connection_id":160426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:39:30] local.INFO: TCP Data received {"connection_id":163008,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:39:30] local.INFO: Processing buffer {"connection_id":163008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:39:30] local.INFO: IMEI packet received {"connection_id":163008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":163008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:39:31] local.INFO: TCP Data received {"connection_id":163008,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:39:31] local.INFO: Processing buffer {"connection_id":163008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:39:31] local.INFO: IMEI packet received {"connection_id":163008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":163008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:39:35] local.INFO: TCP Data received {"connection_id":163008,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:39:35] local.INFO: Processing buffer {"connection_id":163008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:39:35] local.INFO: IMEI packet received {"connection_id":163008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":163008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:39:36] local.INFO: TCP Data received {"connection_id":163008,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d049088012d1967c0071feea80038011d27..."} 
[2026-08-23 10:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d049088012d1967c0071feea80038011d27..."} 
[2026-08-23 10:39:36] local.INFO: Processing buffer {"connection_id":163008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d049088012d1967c0071feea80038011d27..."} 
[2026-08-23 10:39:36] local.INFO: Packet analysis {"connection_id":163008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d04"} 
[2026-08-23 10:39:36] local.INFO: Extracted packet for processing {"connection_id":163008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d04"} 
[2026-08-23 10:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590181888001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787461669000,"timestamp_ms":1787461669000,"timestamp_seconds":1787461669,"priority":1,"record_length":96,"hex_timestamp":"000001a02d049088"} 
[2026-08-23 10:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:39:36] 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-08-23 10:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:39:36] 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-08-23 10:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590181888001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590181888001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:39:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:39:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590181888001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":163008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:39:36] local.INFO: GPS data processed {"connection_id":163008,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:39:36] local.INFO: Acknowledgment sent {"connection_id":163008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:39:46] local.INFO: TCP Data received {"connection_id":160652,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:39:46] local.INFO: Processing buffer {"connection_id":160652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:39:46] local.INFO: IMEI packet received {"connection_id":160652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":160652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:39:51] local.INFO: TCP Data received {"connection_id":160652,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:39:51] local.INFO: Processing buffer {"connection_id":160652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:39:51] local.INFO: IMEI packet received {"connection_id":160652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":160652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:39:52] local.INFO: TCP Data received {"connection_id":160652,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:39:52] local.INFO: Processing buffer {"connection_id":160652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:39:52] local.INFO: Packet analysis {"connection_id":160652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:39:52] local.INFO: Extracted packet for processing {"connection_id":160652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590126336001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787461732000,"timestamp_ms":1787461732000,"timestamp_seconds":1787461732,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0586a0"} 
[2026-08-23 10:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 10:39:52] 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-08-23 10: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-08-23 10:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:39:52] 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-08-23 10:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590126336001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590126336001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:39:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:39:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590126336001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":160652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:39:52] local.INFO: GPS data processed {"connection_id":160652,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:39:52] local.INFO: Acknowledgment sent {"connection_id":160652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:40:06] local.INFO: TCP Data received {"connection_id":163009,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:40:06] local.INFO: Processing buffer {"connection_id":163009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:40:06] local.INFO: IMEI packet received {"connection_id":163009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 10:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":163009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:40:07] local.INFO: TCP Data received {"connection_id":163008,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d04e290012d1967c0071feea80038011d25..."} 
[2026-08-23 10:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d04e290012d1967c0071feea80038011d25..."} 
[2026-08-23 10:40:07] local.INFO: Processing buffer {"connection_id":163008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d04e290012d1967c0071feea80038011d25..."} 
[2026-08-23 10:40:07] local.INFO: Packet analysis {"connection_id":163008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d04"} 
[2026-08-23 10:40:07] local.INFO: Extracted packet for processing {"connection_id":163008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d04"} 
[2026-08-23 10:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590187264001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787461690000,"timestamp_ms":1787461690000,"timestamp_seconds":1787461690,"priority":1,"record_length":96,"hex_timestamp":"000001a02d04e290"} 
[2026-08-23 10:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:40:07] 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-08-23 10:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590187264001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590187264001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:40:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:40:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590187264001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":163008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:40:07] local.INFO: GPS data processed {"connection_id":163008,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:40:07] local.INFO: Acknowledgment sent {"connection_id":163008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:40:11] local.INFO: TCP Data received {"connection_id":163009,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:40:11] local.INFO: Processing buffer {"connection_id":163009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:40:11] local.INFO: IMEI packet received {"connection_id":163009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 10:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":163009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:40:12] local.INFO: TCP Data received {"connection_id":163009,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf4a650012d7e154005d3bf000007006c29..."} 
[2026-08-23 10:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf4a650012d7e154005d3bf000007006c29..."} 
[2026-08-23 10:40:12] local.INFO: Processing buffer {"connection_id":163009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf4a650012d7e154005d3bf000007006c29..."} 
[2026-08-23 10:40:12] local.INFO: Packet analysis {"connection_id":163009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf4"} 
[2026-08-23 10:40:12] local.INFO: Extracted packet for processing {"connection_id":163009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf4"} 
[2026-08-23 10:40:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":41,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589843200001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:40:12] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-23 10:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787460626000,"timestamp_ms":1787460626000,"timestamp_seconds":1787460626,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf4a650"} 
[2026-08-23 10:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 10:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589843200001,"66":2231,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-23 10:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589843200001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:40:12] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457589843200001,"power":2231,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":163009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:40:12] local.INFO: GPS data processed {"connection_id":163009,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:40:12] local.INFO: Acknowledgment sent {"connection_id":163009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:40:24] local.INFO: TCP Data received {"connection_id":160652,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:40:24] local.INFO: Processing buffer {"connection_id":160652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:40:24] local.INFO: Packet analysis {"connection_id":160652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:40:24] local.INFO: Extracted packet for processing {"connection_id":160652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:40:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590126336001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787461732000,"timestamp_ms":1787461732000,"timestamp_seconds":1787461732,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0586a0"} 
[2026-08-23 10:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 10:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:40: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-08-23 10:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590126336001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590126336001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:40:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:40:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590126336001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":160652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:40:24] local.INFO: GPS data processed {"connection_id":160652,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:40:24] local.INFO: Acknowledgment sent {"connection_id":160652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:40:30] local.INFO: TCP Data received {"connection_id":161598,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:40:30] local.INFO: Processing buffer {"connection_id":161598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:40:30] local.INFO: IMEI packet received {"connection_id":161598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":161598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:40:33] local.INFO: TCP Data received {"connection_id":161598,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:40:33] local.INFO: Processing buffer {"connection_id":161598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:40:33] local.INFO: IMEI packet received {"connection_id":161598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":161598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:40:34] local.INFO: TCP Data received {"connection_id":161598,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d053498012d1967c0071feea80038011d27..."} 
[2026-08-23 10:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d053498012d1967c0071feea80038011d27..."} 
[2026-08-23 10:40:34] local.INFO: Processing buffer {"connection_id":161598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d053498012d1967c0071feea80038011d27..."} 
[2026-08-23 10:40:34] local.INFO: Packet analysis {"connection_id":161598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:40:34] local.INFO: Extracted packet for processing {"connection_id":161598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:40:34] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590192640001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787461711000,"timestamp_ms":1787461711000,"timestamp_seconds":1787461711,"priority":1,"record_length":96,"hex_timestamp":"000001a02d053498"} 
[2026-08-23 10:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:40:34] 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-08-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 10:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590192640001,"66":12363,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590192640001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:40:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:40:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590192640001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":161598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:40:34] local.INFO: GPS data processed {"connection_id":161598,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:40:34] local.INFO: Acknowledgment sent {"connection_id":161598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:40:44] local.INFO: TCP Data received {"connection_id":163009,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02cf93e18012d7e154005d3bf000007006c25..."} 
[2026-08-23 10:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cf93e18012d7e154005d3bf000007006c25..."} 
[2026-08-23 10:40:44] local.INFO: Processing buffer {"connection_id":163009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cf93e18012d7e154005d3bf000007006c25..."} 
[2026-08-23 10:40:44] local.INFO: Packet analysis {"connection_id":163009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cf9"} 
[2026-08-23 10:40:44] local.INFO: Extracted packet for processing {"connection_id":163009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cf9"} 
[2026-08-23 10:40:44] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589920256001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:40:44] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-23 10:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787460927000,"timestamp_ms":1787460927000,"timestamp_seconds":1787460927,"priority":1,"record_length":96,"hex_timestamp":"000001a02cf93e18"} 
[2026-08-23 10:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7424,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 10:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589920256001,"66":2242,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-23 10:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589920256001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:40:44] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457589920256001,"power":2242,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":163009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:40:44] local.INFO: GPS data processed {"connection_id":163009,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:40:44] local.INFO: Acknowledgment sent {"connection_id":163009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:40:46] local.INFO: TCP Data received {"connection_id":161599,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:40:46] local.INFO: Processing buffer {"connection_id":161599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:40:46] local.INFO: IMEI packet received {"connection_id":161599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":161599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:40:51] local.INFO: TCP Data received {"connection_id":161599,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:40:51] local.INFO: Processing buffer {"connection_id":161599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:40:51] local.INFO: IMEI packet received {"connection_id":161599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":161599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:40:52] local.INFO: TCP Data received {"connection_id":161599,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:40:52] local.INFO: Processing buffer {"connection_id":161599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:40:52] local.INFO: Packet analysis {"connection_id":161599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:40:52] local.INFO: Extracted packet for processing {"connection_id":161599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:40:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590126336001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787461732000,"timestamp_ms":1787461732000,"timestamp_seconds":1787461732,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0586a0"} 
[2026-08-23 10:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 10:40:52] 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-08-23 10:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:40:52] 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-08-23 10:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590126336001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590126336001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:40:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:40:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590126336001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":161599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:40:52] local.INFO: GPS data processed {"connection_id":161599,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:40:52] local.INFO: Acknowledgment sent {"connection_id":161599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:41:05] local.INFO: TCP Data received {"connection_id":161598,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0586a0012d1967c0071feea80038011d26..."} 
[2026-08-23 10:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0586a0012d1967c0071feea80038011d26..."} 
[2026-08-23 10:41:05] local.INFO: Processing buffer {"connection_id":161598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0586a0012d1967c0071feea80038011d26..."} 
[2026-08-23 10:41:05] local.INFO: Packet analysis {"connection_id":161598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:41:05] local.INFO: Extracted packet for processing {"connection_id":161598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590198016001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787461732000,"timestamp_ms":1787461732000,"timestamp_seconds":1787461732,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0586a0"} 
[2026-08-23 10:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 10:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590198016001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590198016001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:41:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:41:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590198016001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":161598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:41:05] local.INFO: GPS data processed {"connection_id":161598,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:41:05] local.INFO: Acknowledgment sent {"connection_id":161598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:41:08] local.INFO: TCP Data received {"connection_id":160653,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:41:08] local.INFO: Processing buffer {"connection_id":160653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:41:08] local.INFO: IMEI packet received {"connection_id":160653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 10:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":160653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:41:11] local.INFO: TCP Data received {"connection_id":160653,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:41:11] local.INFO: Processing buffer {"connection_id":160653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:41:11] local.INFO: IMEI packet received {"connection_id":160653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 10:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":160653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:41:12] local.INFO: TCP Data received {"connection_id":160653,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02cfdd5e0012d7e154005d3bf000007006c24..."} 
[2026-08-23 10:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cfdd5e0012d7e154005d3bf000007006c24..."} 
[2026-08-23 10:41:12] local.INFO: Processing buffer {"connection_id":160653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cfdd5e0012d7e154005d3bf000007006c24..."} 
[2026-08-23 10:41:12] local.INFO: Packet analysis {"connection_id":160653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cfd"} 
[2026-08-23 10:41:12] local.INFO: Extracted packet for processing {"connection_id":160653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cfd"} 
[2026-08-23 10:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457589997312001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:41:12] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-23 10:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787461228000,"timestamp_ms":1787461228000,"timestamp_seconds":1787461228,"priority":1,"record_length":96,"hex_timestamp":"000001a02cfdd5e0"} 
[2026-08-23 10:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":3328,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 10:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457589997312001,"66":2046,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-23 10:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457589997312001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:41:12] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457589997312001,"power":2046,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":160653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:41:12] local.INFO: GPS data processed {"connection_id":160653,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:41:12] local.INFO: Acknowledgment sent {"connection_id":160653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:41:24] local.INFO: TCP Data received {"connection_id":161599,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:41:24] local.INFO: Processing buffer {"connection_id":161599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:41:24] local.INFO: Packet analysis {"connection_id":161599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:41:24] local.INFO: Extracted packet for processing {"connection_id":161599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:41:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590126336001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787461732000,"timestamp_ms":1787461732000,"timestamp_seconds":1787461732,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0586a0"} 
[2026-08-23 10:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 10:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:41: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-08-23 10:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590126336001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590126336001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:41:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:41:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590126336001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":161599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:41:24] local.INFO: GPS data processed {"connection_id":161599,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:41:24] local.INFO: Acknowledgment sent {"connection_id":161599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:41:30] local.INFO: TCP Data received {"connection_id":160427,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:41:30] local.INFO: Processing buffer {"connection_id":160427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:41:30] local.INFO: IMEI packet received {"connection_id":160427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":160427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:41:35] local.INFO: TCP Data received {"connection_id":160427,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:41:35] local.INFO: Processing buffer {"connection_id":160427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:41:35] local.INFO: IMEI packet received {"connection_id":160427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":160427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:41:36] local.INFO: TCP Data received {"connection_id":160427,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d05d8a8012d1967c0071feea80038011d28..."} 
[2026-08-23 10:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d05d8a8012d1967c0071feea80038011d28..."} 
[2026-08-23 10:41:36] local.INFO: Processing buffer {"connection_id":160427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d05d8a8012d1967c0071feea80038011d28..."} 
[2026-08-23 10:41:36] local.INFO: Packet analysis {"connection_id":160427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:41:36] local.INFO: Extracted packet for processing {"connection_id":160427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:41:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590203392001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787461753000,"timestamp_ms":1787461753000,"timestamp_seconds":1787461753,"priority":1,"record_length":96,"hex_timestamp":"000001a02d05d8a8"} 
[2026-08-23 10:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:41:36] 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-08-23 10:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:41:36] 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-08-23 10:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590203392001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590203392001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:41:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:41:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590203392001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":160427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:41:36] local.INFO: GPS data processed {"connection_id":160427,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:41:36] local.INFO: Acknowledgment sent {"connection_id":160427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:41:43] local.INFO: TCP Data received {"connection_id":160653,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02cffd980012d7e154005d3bf000007006c24..."} 
[2026-08-23 10:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cffd980012d7e154005d3bf000007006c24..."} 
[2026-08-23 10:41:43] local.INFO: Processing buffer {"connection_id":160653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cffd980012d7e154005d3bf000007006c24..."} 
[2026-08-23 10:41:43] local.INFO: Packet analysis {"connection_id":160653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cff"} 
[2026-08-23 10:41:43] local.INFO: Extracted packet for processing {"connection_id":160653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cff"} 
[2026-08-23 10:41:43] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590074368001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:41:43] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-23 10:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787461360000,"timestamp_ms":1787461360000,"timestamp_seconds":1787461360,"priority":1,"record_length":96,"hex_timestamp":"000001a02cffd980"} 
[2026-08-23 10:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:41:43] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":7,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-23 10:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590074368001,"66":1753,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-23 10:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590074368001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:41:43] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457590074368001,"power":1753,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":160653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:41:43] local.INFO: GPS data processed {"connection_id":160653,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:41:43] local.INFO: Acknowledgment sent {"connection_id":160653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:41:51] local.INFO: TCP Data received {"connection_id":163010,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:41:51] local.INFO: Processing buffer {"connection_id":163010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:41:51] local.INFO: IMEI packet received {"connection_id":163010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":163010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:41:56] local.INFO: TCP Data received {"connection_id":163010,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:41:56] local.INFO: Processing buffer {"connection_id":163010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:41:56] local.INFO: IMEI packet received {"connection_id":163010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":163010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:41:57] local.INFO: TCP Data received {"connection_id":163010,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:41:57] local.INFO: Processing buffer {"connection_id":163010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:41:57] local.INFO: Packet analysis {"connection_id":163010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:41:57] local.INFO: Extracted packet for processing {"connection_id":163010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:41:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590126336001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787461732000,"timestamp_ms":1787461732000,"timestamp_seconds":1787461732,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0586a0"} 
[2026-08-23 10:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 10: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-08-23 10:41:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:41:57] 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-08-23 10:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590126336001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590126336001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:41:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:41:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590126336001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":163010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:41:57] local.INFO: GPS data processed {"connection_id":163010,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:41:57] local.INFO: Acknowledgment sent {"connection_id":163010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:42:06] local.INFO: TCP Data received {"connection_id":163011,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:42:06] local.INFO: Processing buffer {"connection_id":163011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:42:06] local.INFO: IMEI packet received {"connection_id":163011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 10:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":163011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:42:07] local.INFO: TCP Data received {"connection_id":160427,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d062ab0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d062ab0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:42:07] local.INFO: Processing buffer {"connection_id":160427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d062ab0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:42:07] local.INFO: Packet analysis {"connection_id":160427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d06"} 
[2026-08-23 10:42:07] local.INFO: Extracted packet for processing {"connection_id":160427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d06"} 
[2026-08-23 10:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590208768001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787461774000,"timestamp_ms":1787461774000,"timestamp_seconds":1787461774,"priority":1,"record_length":96,"hex_timestamp":"000001a02d062ab0"} 
[2026-08-23 10:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:42:07] 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-08-23 10: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-08-23 10:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590208768001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590208768001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:42:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:42:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590208768001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":160427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:42:07] local.INFO: GPS data processed {"connection_id":160427,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:42:07] local.INFO: Acknowledgment sent {"connection_id":160427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:42:11] local.INFO: TCP Data received {"connection_id":163011,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:42:11] local.INFO: Processing buffer {"connection_id":163011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:42:11] local.INFO: IMEI packet received {"connection_id":163011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 10:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":163011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:42:12] local.INFO: TCP Data received {"connection_id":163011,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02cffdd68012d7e154005d3bf000007006c23..."} 
[2026-08-23 10:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02cffdd68012d7e154005d3bf000007006c23..."} 
[2026-08-23 10:42:12] local.INFO: Processing buffer {"connection_id":163011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02cffdd68012d7e154005d3bf000007006c23..."} 
[2026-08-23 10:42:12] local.INFO: Packet analysis {"connection_id":163011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02cff"} 
[2026-08-23 10:42:12] local.INFO: Extracted packet for processing {"connection_id":163011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02cff"} 
[2026-08-23 10:42:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10:42: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-08-23 10:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590108160001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:42:12] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-23 10:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787461361000,"timestamp_ms":1787461361000,"timestamp_seconds":1787461361,"priority":1,"record_length":96,"hex_timestamp":"000001a02cffdd68"} 
[2026-08-23 10:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:42: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":6,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-23 10:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2181,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590108160001,"66":1753,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-23 10:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590108160001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:42:12] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457590108160001,"power":1753,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":163011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:42:12] local.INFO: GPS data processed {"connection_id":163011,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:42:12] local.INFO: Acknowledgment sent {"connection_id":163011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:42:29] local.INFO: TCP Data received {"connection_id":163010,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:42:29] local.INFO: Processing buffer {"connection_id":163010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:42:29] local.INFO: Packet analysis {"connection_id":163010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:42:29] local.INFO: Extracted packet for processing {"connection_id":163010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:42:29] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590126336001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787461732000,"timestamp_ms":1787461732000,"timestamp_seconds":1787461732,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0586a0"} 
[2026-08-23 10:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 10: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-08-23 10:42:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:42:29] 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-08-23 10:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590126336001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590126336001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:42:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:42:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590126336001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":163010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:42:29] local.INFO: GPS data processed {"connection_id":163010,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:42:29] local.INFO: Acknowledgment sent {"connection_id":163010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:42:30] local.INFO: TCP Data received {"connection_id":161600,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:42:30] local.INFO: Processing buffer {"connection_id":161600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:42:30] local.INFO: IMEI packet received {"connection_id":161600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":161600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:42:35] local.INFO: TCP Data received {"connection_id":161600,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:42:35] local.INFO: Processing buffer {"connection_id":161600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:42:35] local.INFO: IMEI packet received {"connection_id":161600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":161600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:42:36] local.INFO: TCP Data received {"connection_id":161600,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d067cb8012d1967c0071feea80038011d26..."} 
[2026-08-23 10:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d067cb8012d1967c0071feea80038011d26..."} 
[2026-08-23 10:42:36] local.INFO: Processing buffer {"connection_id":161600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d067cb8012d1967c0071feea80038011d26..."} 
[2026-08-23 10:42:36] local.INFO: Packet analysis {"connection_id":161600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d06"} 
[2026-08-23 10:42:36] local.INFO: Extracted packet for processing {"connection_id":161600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d06"} 
[2026-08-23 10:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590214144001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787461795000,"timestamp_ms":1787461795000,"timestamp_seconds":1787461795,"priority":1,"record_length":96,"hex_timestamp":"000001a02d067cb8"} 
[2026-08-23 10:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:42:36] 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-08-23 10:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:42:36] 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-08-23 10:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590214144001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590214144001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:42:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:42:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590214144001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":161600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:42:36] local.INFO: GPS data processed {"connection_id":161600,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:42:36] local.INFO: Acknowledgment sent {"connection_id":161600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:42:46] local.INFO: TCP Data received {"connection_id":161601,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:42:46] local.INFO: Processing buffer {"connection_id":161601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:42:46] local.INFO: IMEI packet received {"connection_id":161601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":161601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:42:51] local.INFO: TCP Data received {"connection_id":161601,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:42:51] local.INFO: Processing buffer {"connection_id":161601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:42:51] local.INFO: IMEI packet received {"connection_id":161601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":161601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:42:52] local.INFO: TCP Data received {"connection_id":161601,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:42:52] local.INFO: Processing buffer {"connection_id":161601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:42:52] local.INFO: Packet analysis {"connection_id":161601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:42:52] local.INFO: Extracted packet for processing {"connection_id":161601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:42:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590126336001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787461732000,"timestamp_ms":1787461732000,"timestamp_seconds":1787461732,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0586a0"} 
[2026-08-23 10:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 10:42:52] 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-08-23 10:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:42:52] 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-08-23 10:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590126336001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590126336001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:42:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:42:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590126336001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":161601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:42:52] local.INFO: GPS data processed {"connection_id":161601,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:42:52] local.INFO: Acknowledgment sent {"connection_id":161601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:43:07] local.INFO: TCP Data received {"connection_id":161600,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d06cec0012d1967c0071feea80038011d26..."} 
[2026-08-23 10:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d06cec0012d1967c0071feea80038011d26..."} 
[2026-08-23 10:43:07] local.INFO: Processing buffer {"connection_id":161600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d06cec0012d1967c0071feea80038011d26..."} 
[2026-08-23 10:43:07] local.INFO: Packet analysis {"connection_id":161600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d06"} 
[2026-08-23 10:43:07] local.INFO: Extracted packet for processing {"connection_id":161600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d06"} 
[2026-08-23 10:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590219520001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787461816000,"timestamp_ms":1787461816000,"timestamp_seconds":1787461816,"priority":1,"record_length":96,"hex_timestamp":"000001a02d06cec0"} 
[2026-08-23 10:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:43:07] 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-08-23 10:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590219520001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590219520001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:43:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:43:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590219520001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":161600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:43:07] local.INFO: GPS data processed {"connection_id":161600,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:43:07] local.INFO: Acknowledgment sent {"connection_id":161600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:43:24] local.INFO: TCP Data received {"connection_id":161601,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:43:24] local.INFO: Processing buffer {"connection_id":161601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:43:24] local.INFO: Packet analysis {"connection_id":161601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:43:24] local.INFO: Extracted packet for processing {"connection_id":161601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:43:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590126336001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787461732000,"timestamp_ms":1787461732000,"timestamp_seconds":1787461732,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0586a0"} 
[2026-08-23 10:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 10:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:43: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-08-23 10:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590126336001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590126336001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:43:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:43:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590126336001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":161601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:43:24] local.INFO: GPS data processed {"connection_id":161601,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:43:24] local.INFO: Acknowledgment sent {"connection_id":161601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:43:35] local.INFO: TCP Data received {"connection_id":163012,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:43:35] local.INFO: Processing buffer {"connection_id":163012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:43:35] local.INFO: IMEI packet received {"connection_id":163012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":163012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:43:40] local.INFO: TCP Data received {"connection_id":163012,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:43:40] local.INFO: Processing buffer {"connection_id":163012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:43:40] local.INFO: IMEI packet received {"connection_id":163012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":163012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:43:41] local.INFO: TCP Data received {"connection_id":163012,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0720c8012d1967c0071feea80038011d26..."} 
[2026-08-23 10:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0720c8012d1967c0071feea80038011d26..."} 
[2026-08-23 10:43:41] local.INFO: Processing buffer {"connection_id":163012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0720c8012d1967c0071feea80038011d26..."} 
[2026-08-23 10:43:41] local.INFO: Packet analysis {"connection_id":163012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d07"} 
[2026-08-23 10:43:41] local.INFO: Extracted packet for processing {"connection_id":163012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d07"} 
[2026-08-23 10:43:41] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590224896001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787461837000,"timestamp_ms":1787461837000,"timestamp_seconds":1787461837,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0720c8"} 
[2026-08-23 10:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:43:41] 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-08-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:43:41] 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-08-23 10: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-08-23 10:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590224896001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590224896001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:43:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590224896001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":163012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:43:41] local.INFO: GPS data processed {"connection_id":163012,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:43:41] local.INFO: Acknowledgment sent {"connection_id":163012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:43:42] local.INFO: TCP Data received {"connection_id":163012,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0772d0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0772d0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:43:42] local.INFO: Processing buffer {"connection_id":163012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0772d0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:43:42] local.INFO: Packet analysis {"connection_id":163012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d07"} 
[2026-08-23 10:43:42] local.INFO: Extracted packet for processing {"connection_id":163012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d07"} 
[2026-08-23 10:43:42] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 10:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590230272001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787461858000,"timestamp_ms":1787461858000,"timestamp_seconds":1787461858,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0772d0"} 
[2026-08-23 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-08-23 10:43:42] 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-08-23 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 10:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590230272001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590230272001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:43:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:43:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590230272001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":163012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":685999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:43:42] local.INFO: GPS data processed {"connection_id":163012,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:43:42] local.INFO: Acknowledgment sent {"connection_id":163012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:43:47] local.INFO: TCP Data received {"connection_id":163013,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:43:47] local.INFO: Processing buffer {"connection_id":163013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:43:47] local.INFO: IMEI packet received {"connection_id":163013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":163013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:43:51] local.INFO: TCP Data received {"connection_id":163013,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:43:51] local.INFO: Processing buffer {"connection_id":163013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:43:51] local.INFO: IMEI packet received {"connection_id":163013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":163013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:43:52] local.INFO: TCP Data received {"connection_id":163013,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:43:52] local.INFO: Processing buffer {"connection_id":163013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:43:52] local.INFO: Packet analysis {"connection_id":163013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:43:52] local.INFO: Extracted packet for processing {"connection_id":163013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:43:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590126336001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787461732000,"timestamp_ms":1787461732000,"timestamp_seconds":1787461732,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0586a0"} 
[2026-08-23 10:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 10:43:52] 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-08-23 10:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:43:52] 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-08-23 10:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590126336001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590126336001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:43:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:43:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590126336001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":163013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:43:52] local.INFO: GPS data processed {"connection_id":163013,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:43:52] local.INFO: Acknowledgment sent {"connection_id":163013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:44:13] local.INFO: TCP Data received {"connection_id":163012,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d07c4d8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d07c4d8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:44:13] local.INFO: Processing buffer {"connection_id":163012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d07c4d8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:44:13] local.INFO: Packet analysis {"connection_id":163012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d07"} 
[2026-08-23 10:44:13] local.INFO: Extracted packet for processing {"connection_id":163012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d07"} 
[2026-08-23 10:44:13] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590235648001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787461879000,"timestamp_ms":1787461879000,"timestamp_seconds":1787461879,"priority":1,"record_length":96,"hex_timestamp":"000001a02d07c4d8"} 
[2026-08-23 10:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:44:13] 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-08-23 10:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:44:13] 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-08-23 10:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590235648001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590235648001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:44:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:44:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590235648001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":163012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:44:13] local.INFO: GPS data processed {"connection_id":163012,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:44:13] local.INFO: Acknowledgment sent {"connection_id":163012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:44:24] local.INFO: TCP Data received {"connection_id":163013,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:44:24] local.INFO: Processing buffer {"connection_id":163013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0586a0012d34c50006aa4098000c008522..."} 
[2026-08-23 10:44:24] local.INFO: Packet analysis {"connection_id":163013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:44:24] local.INFO: Extracted packet for processing {"connection_id":163013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d05"} 
[2026-08-23 10:44:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590126336001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787461732000,"timestamp_ms":1787461732000,"timestamp_seconds":1787461732,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0586a0"} 
[2026-08-23 10:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 10:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:44: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-08-23 10:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590126336001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590126336001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:44:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:44:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590126336001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":163013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:44:24] local.INFO: GPS data processed {"connection_id":163013,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:44:24] local.INFO: Acknowledgment sent {"connection_id":163013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:44:30] local.INFO: TCP Data received {"connection_id":160428,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:44:30] local.INFO: Processing buffer {"connection_id":160428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:44:30] local.INFO: IMEI packet received {"connection_id":160428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":160428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:44:35] local.INFO: TCP Data received {"connection_id":160428,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:44:35] local.INFO: Processing buffer {"connection_id":160428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:44:35] local.INFO: IMEI packet received {"connection_id":160428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":160428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:44:36] local.INFO: TCP Data received {"connection_id":160428,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0816e0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0816e0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:44:36] local.INFO: Processing buffer {"connection_id":160428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0816e0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:44:36] local.INFO: Packet analysis {"connection_id":160428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d08"} 
[2026-08-23 10:44:36] local.INFO: Extracted packet for processing {"connection_id":160428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d08"} 
[2026-08-23 10:44:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590241024001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787461900000,"timestamp_ms":1787461900000,"timestamp_seconds":1787461900,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0816e0"} 
[2026-08-23 10:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:44:36] 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-08-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:44:36] 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-08-23 10: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-08-23 10:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590241024001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590241024001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:44:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:44:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590241024001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":160428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:44:36] local.INFO: GPS data processed {"connection_id":160428,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:44:36] local.INFO: Acknowledgment sent {"connection_id":160428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:44:40] local.INFO: TCP Data received {"connection_id":160428,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0868e8012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0868e8012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:44:40] local.INFO: Processing buffer {"connection_id":160428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0868e8012d1967c0071feea80038011d2b..."} 
[2026-08-23 10:44:40] local.INFO: Packet analysis {"connection_id":160428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d08"} 
[2026-08-23 10:44:40] local.INFO: Extracted packet for processing {"connection_id":160428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d08"} 
[2026-08-23 10:44:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590246400001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787461921000,"timestamp_ms":1787461921000,"timestamp_seconds":1787461921,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0868e8"} 
[2026-08-23 10:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:44:40] 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-08-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 10:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590246400001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590246400001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:44:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:44:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590246400001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":160428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:44:40] local.INFO: GPS data processed {"connection_id":160428,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:44:40] local.INFO: Acknowledgment sent {"connection_id":160428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:44:46] local.INFO: TCP Data received {"connection_id":160654,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:44:46] local.INFO: Processing buffer {"connection_id":160654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:44:46] local.INFO: IMEI packet received {"connection_id":160654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":160654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:44:51] local.INFO: TCP Data received {"connection_id":160654,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:44:51] local.INFO: Processing buffer {"connection_id":160654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:44:51] local.INFO: IMEI packet received {"connection_id":160654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":160654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:44:52] local.INFO: TCP Data received {"connection_id":160654,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:44:52] local.INFO: Processing buffer {"connection_id":160654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:44:52] local.INFO: Packet analysis {"connection_id":160654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:44:52] local.INFO: Extracted packet for processing {"connection_id":160654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:44:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590203392001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787462033000,"timestamp_ms":1787462033000,"timestamp_seconds":1787462033,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0a1e68"} 
[2026-08-23 10:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 10:44:52] 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-08-23 10:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:44:52] 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-08-23 10:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590203392001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590203392001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:44:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:44:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590203392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":160654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:44:52] local.INFO: GPS data processed {"connection_id":160654,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:44:52] local.INFO: Acknowledgment sent {"connection_id":160654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:45:11] local.INFO: TCP Data received {"connection_id":160428,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d08baf0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d08baf0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:45:11] local.INFO: Processing buffer {"connection_id":160428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d08baf0012d1967c0071feea80038011d28..."} 
[2026-08-23 10:45:11] local.INFO: Packet analysis {"connection_id":160428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d08"} 
[2026-08-23 10:45:11] local.INFO: Extracted packet for processing {"connection_id":160428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d08"} 
[2026-08-23 10:45:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 10:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590251776001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787461942000,"timestamp_ms":1787461942000,"timestamp_seconds":1787461942,"priority":1,"record_length":96,"hex_timestamp":"000001a02d08baf0"} 
[2026-08-23 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-08-23 10:45:11] 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-08-23 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 10:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 10:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590251776001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590251776001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:45:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:45:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590251776001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":160428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:45:11] local.INFO: GPS data processed {"connection_id":160428,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:45:11] local.INFO: Acknowledgment sent {"connection_id":160428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:45:23] local.INFO: TCP Data received {"connection_id":160654,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:45:23] local.INFO: Processing buffer {"connection_id":160654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:45:23] local.INFO: Packet analysis {"connection_id":160654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:45:23] local.INFO: Extracted packet for processing {"connection_id":160654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:45:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590203392001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787462033000,"timestamp_ms":1787462033000,"timestamp_seconds":1787462033,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0a1e68"} 
[2026-08-23 10:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 10:45:23] 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-08-23 10:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:45:23] 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-08-23 10:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590203392001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590203392001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:45:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:45:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590203392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":160654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:45:23] local.INFO: GPS data processed {"connection_id":160654,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:45:23] local.INFO: Acknowledgment sent {"connection_id":160654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:45:27] local.INFO: TCP Data received {"connection_id":160655,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:45:27] local.INFO: Processing buffer {"connection_id":160655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:45:27] local.INFO: IMEI packet received {"connection_id":160655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":160655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:45:30] local.INFO: TCP Data received {"connection_id":160655,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:45:30] local.INFO: Processing buffer {"connection_id":160655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:45:30] local.INFO: IMEI packet received {"connection_id":160655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":160655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:45:35] local.INFO: TCP Data received {"connection_id":160655,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:45:35] local.INFO: Processing buffer {"connection_id":160655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:45:35] local.INFO: IMEI packet received {"connection_id":160655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":160655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:45:36] local.INFO: TCP Data received {"connection_id":160655,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d090cf8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d090cf8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:45:36] local.INFO: Processing buffer {"connection_id":160655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d090cf8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:45:36] local.INFO: Packet analysis {"connection_id":160655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:45:36] local.INFO: Extracted packet for processing {"connection_id":160655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:45:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590257152001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787461963000,"timestamp_ms":1787461963000,"timestamp_seconds":1787461963,"priority":1,"record_length":96,"hex_timestamp":"000001a02d090cf8"} 
[2026-08-23 10:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:45:36] 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-08-23 10:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 10:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:36] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3244417711302580583,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:36] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80262149804392448,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 10:45:36] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:36] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,22,160,104,45,192,238,56,43,10,66,40,196,1,240,53,227,31,4,113,205,32,103,168,38,239,48,2,54,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 10:45:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538798736572416,"timestamp_seconds":4035538798736572.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 10:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590257152001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590257152001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:45:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:45:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590257152001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":160655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:45:36] local.INFO: GPS data processed {"connection_id":160655,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:45:36] local.INFO: Acknowledgment sent {"connection_id":160655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:45:51] local.INFO: TCP Data received {"connection_id":161602,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:45:51] local.INFO: Processing buffer {"connection_id":161602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:45:51] local.INFO: IMEI packet received {"connection_id":161602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":161602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:45:56] local.INFO: TCP Data received {"connection_id":161602,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:45:56] local.INFO: Processing buffer {"connection_id":161602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:45:56] local.INFO: IMEI packet received {"connection_id":161602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":161602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:45:57] local.INFO: TCP Data received {"connection_id":161602,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:45:57] local.INFO: Processing buffer {"connection_id":161602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:45:57] local.INFO: Packet analysis {"connection_id":161602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:45:57] local.INFO: Extracted packet for processing {"connection_id":161602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:45:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590203392001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787462033000,"timestamp_ms":1787462033000,"timestamp_seconds":1787462033,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0a1e68"} 
[2026-08-23 10:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 10:45:57] 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-08-23 10:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:45:57] 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-08-23 10:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590203392001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590203392001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:45:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:45:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590203392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":161602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:45:57] local.INFO: GPS data processed {"connection_id":161602,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:45:57] local.INFO: Acknowledgment sent {"connection_id":161602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:46:02] local.INFO: TCP Data received {"connection_id":161602,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:46:02] local.INFO: Processing buffer {"connection_id":161602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:46:02] local.INFO: Packet analysis {"connection_id":161602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:46:02] local.INFO: Extracted packet for processing {"connection_id":161602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:46:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590203392001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787462033000,"timestamp_ms":1787462033000,"timestamp_seconds":1787462033,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0a1e68"} 
[2026-08-23 10:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 10:46:02] 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-08-23 10: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-08-23 10:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:46:02] 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-08-23 10:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590203392001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590203392001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:46:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:46:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590203392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":161602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:46:02] local.INFO: GPS data processed {"connection_id":161602,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:46:02] local.INFO: Acknowledgment sent {"connection_id":161602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:46:07] local.INFO: TCP Data received {"connection_id":160655,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d095f00012d1967c0071feea80038011d28..."} 
[2026-08-23 10:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d095f00012d1967c0071feea80038011d28..."} 
[2026-08-23 10:46:07] local.INFO: Processing buffer {"connection_id":160655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d095f00012d1967c0071feea80038011d28..."} 
[2026-08-23 10:46:07] local.INFO: Packet analysis {"connection_id":160655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:46:07] local.INFO: Extracted packet for processing {"connection_id":160655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590262528001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787461984000,"timestamp_ms":1787461984000,"timestamp_seconds":1787461984,"priority":1,"record_length":96,"hex_timestamp":"000001a02d095f00"} 
[2026-08-23 10:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 10:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590262528001,"66":12102,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590262528001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:46:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:46:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590262528001,"power":12102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":160655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:46:07] local.INFO: GPS data processed {"connection_id":160655,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:46:07] local.INFO: Acknowledgment sent {"connection_id":160655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:46:30] local.INFO: TCP Data received {"connection_id":160429,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:46:30] local.INFO: Processing buffer {"connection_id":160429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:46:30] local.INFO: IMEI packet received {"connection_id":160429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":160429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:46:30] local.INFO: TCP Data received {"connection_id":160429,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:46:30] local.INFO: Processing buffer {"connection_id":160429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:46:30] local.INFO: IMEI packet received {"connection_id":160429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":160429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:46:35] local.INFO: TCP Data received {"connection_id":160429,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:46:35] local.INFO: Processing buffer {"connection_id":160429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:46:35] local.INFO: IMEI packet received {"connection_id":160429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":160429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:46:35] local.INFO: TCP Data received {"connection_id":160429,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d09b108012d1967c0071feea80038011d29..."} 
[2026-08-23 10:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d09b108012d1967c0071feea80038011d29..."} 
[2026-08-23 10:46:35] local.INFO: Processing buffer {"connection_id":160429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d09b108012d1967c0071feea80038011d29..."} 
[2026-08-23 10:46:35] local.INFO: Packet analysis {"connection_id":160429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:46:35] local.INFO: Extracted packet for processing {"connection_id":160429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:46:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590267904001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787462005000,"timestamp_ms":1787462005000,"timestamp_seconds":1787462005,"priority":1,"record_length":96,"hex_timestamp":"000001a02d09b108"} 
[2026-08-23 10:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-23 10:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590267904001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590267904001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:46:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590267904001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":160429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:46:35] local.INFO: GPS data processed {"connection_id":160429,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:46:35] local.INFO: Acknowledgment sent {"connection_id":160429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:46:47] local.INFO: TCP Data received {"connection_id":161603,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:46:47] local.INFO: Processing buffer {"connection_id":161603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:46:47] local.INFO: IMEI packet received {"connection_id":161603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":161603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:46:51] local.INFO: TCP Data received {"connection_id":161603,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:46:51] local.INFO: Processing buffer {"connection_id":161603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:46:51] local.INFO: IMEI packet received {"connection_id":161603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":161603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:46:52] local.INFO: TCP Data received {"connection_id":161603,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:46:52] local.INFO: Processing buffer {"connection_id":161603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:46:52] local.INFO: Packet analysis {"connection_id":161603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:46:52] local.INFO: Extracted packet for processing {"connection_id":161603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590203392001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787462033000,"timestamp_ms":1787462033000,"timestamp_seconds":1787462033,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0a1e68"} 
[2026-08-23 10:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 10:46:52] 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-08-23 10:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:46:52] 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-08-23 10:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590203392001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590203392001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:46:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590203392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":161603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:46:52] local.INFO: GPS data processed {"connection_id":161603,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:46:52] local.INFO: Acknowledgment sent {"connection_id":161603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:47:06] local.INFO: TCP Data received {"connection_id":160429,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0a0310012d1967c0071feea80038011d28..."} 
[2026-08-23 10:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0a0310012d1967c0071feea80038011d28..."} 
[2026-08-23 10:47:06] local.INFO: Processing buffer {"connection_id":160429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0a0310012d1967c0071feea80038011d28..."} 
[2026-08-23 10:47:06] local.INFO: Packet analysis {"connection_id":160429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:47:06] local.INFO: Extracted packet for processing {"connection_id":160429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590273280001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787462026000,"timestamp_ms":1787462026000,"timestamp_seconds":1787462026,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0a0310"} 
[2026-08-23 10:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:47:06] 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-08-23 10:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 10:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:06] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3244688294242228583,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:06] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80263249316020224,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 10:47:06] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:06] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:06] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,22,160,95,45,192,238,56,40,10,66,12,39,186,1,240,227,31,4,113,205,103,168,239,47,2,54,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 10:47:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538803031539712,"timestamp_seconds":4035538803031539.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 10:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590273280001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590273280001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:47:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590273280001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":160429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:47:07] local.INFO: GPS data processed {"connection_id":160429,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:47:07] local.INFO: Acknowledgment sent {"connection_id":160429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:47:24] local.INFO: TCP Data received {"connection_id":161603,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:47:24] local.INFO: Processing buffer {"connection_id":161603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:47:24] local.INFO: Packet analysis {"connection_id":161603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:47:24] local.INFO: Extracted packet for processing {"connection_id":161603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:47:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590203392001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787462033000,"timestamp_ms":1787462033000,"timestamp_seconds":1787462033,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0a1e68"} 
[2026-08-23 10:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 10:47:24] 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-08-23 10:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:47:24] 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-08-23 10:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590203392001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590203392001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:47:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:47:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590203392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":161603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:47:24] local.INFO: GPS data processed {"connection_id":161603,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:47:24] local.INFO: Acknowledgment sent {"connection_id":161603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:47:30] local.INFO: TCP Data received {"connection_id":163014,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:47:30] local.INFO: Processing buffer {"connection_id":163014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:47:30] local.INFO: IMEI packet received {"connection_id":163014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":163014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:47:31] local.INFO: TCP Data received {"connection_id":161604,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:47:31] local.INFO: Processing buffer {"connection_id":161604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:47:31] local.INFO: IMEI packet received {"connection_id":161604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 10:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":161604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:47:33] local.INFO: TCP Data received {"connection_id":163014,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:47:33] local.INFO: Processing buffer {"connection_id":163014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:47:33] local.INFO: IMEI packet received {"connection_id":163014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":163014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:47:35] local.INFO: TCP Data received {"connection_id":163014,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:47:35] local.INFO: Processing buffer {"connection_id":163014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:47:35] local.INFO: IMEI packet received {"connection_id":163014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":163014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:47:35] local.INFO: TCP Data received {"connection_id":163014,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0a5518012d1967c0071feea80038011d27..."} 
[2026-08-23 10:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0a5518012d1967c0071feea80038011d27..."} 
[2026-08-23 10:47:35] local.INFO: Processing buffer {"connection_id":163014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0a5518012d1967c0071feea80038011d27..."} 
[2026-08-23 10:47:35] local.INFO: Packet analysis {"connection_id":163014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:47:35] local.INFO: Extracted packet for processing {"connection_id":163014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:47:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590278656001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787462047000,"timestamp_ms":1787462047000,"timestamp_seconds":1787462047,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0a5518"} 
[2026-08-23 10:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:47:35] 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-08-23 10: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-08-23 10:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590278656001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590278656001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:47:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:47:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590278656001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":163014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:47:35] local.INFO: GPS data processed {"connection_id":163014,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:47:35] local.INFO: Acknowledgment sent {"connection_id":163014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:47:36] local.INFO: TCP Data received {"connection_id":161604,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:47:36] local.INFO: Processing buffer {"connection_id":161604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:47:36] local.INFO: IMEI packet received {"connection_id":161604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 10:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":161604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:47:37] local.INFO: TCP Data received {"connection_id":161604,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02d090140012d7e154005d3bf000007006c25..."} 
[2026-08-23 10:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d090140012d7e154005d3bf000007006c25..."} 
[2026-08-23 10:47:37] local.INFO: Processing buffer {"connection_id":161604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d090140012d7e154005d3bf000007006c25..."} 
[2026-08-23 10:47:37] local.INFO: Packet analysis {"connection_id":161604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:47:37] local.INFO: Extracted packet for processing {"connection_id":161604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590190080001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:37] 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-08-23 10:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787461960000,"timestamp_ms":1787461960000,"timestamp_seconds":1787461960,"priority":1,"record_length":96,"hex_timestamp":"000001a02d090140"} 
[2026-08-23 10:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1792,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590190080001,"66":7047,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 10:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590190080001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:47:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 10:47:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 10:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590190080001,"power":7047,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":161604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:47:37] local.INFO: GPS data processed {"connection_id":161604,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:47:37] local.INFO: Acknowledgment sent {"connection_id":161604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:47:40] local.INFO: TCP Data received {"connection_id":163014,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0aa720012d1967c0071feea80038011d28..."} 
[2026-08-23 10:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0aa720012d1967c0071feea80038011d28..."} 
[2026-08-23 10:47:40] local.INFO: Processing buffer {"connection_id":163014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0aa720012d1967c0071feea80038011d28..."} 
[2026-08-23 10:47:40] local.INFO: Packet analysis {"connection_id":163014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:47:40] local.INFO: Extracted packet for processing {"connection_id":163014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:47:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590284032001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787462068000,"timestamp_ms":1787462068000,"timestamp_seconds":1787462068,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0aa720"} 
[2026-08-23 10:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:47:40] 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-08-23 10: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-08-23 10:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590284032001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590284032001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:47:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:47:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590284032001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":163014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:47:40] local.INFO: GPS data processed {"connection_id":163014,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:47:40] local.INFO: Acknowledgment sent {"connection_id":163014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:47:46] local.INFO: TCP Data received {"connection_id":161605,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:47:46] local.INFO: Processing buffer {"connection_id":161605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:47:46] local.INFO: IMEI packet received {"connection_id":161605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":161605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:47:51] local.INFO: TCP Data received {"connection_id":161605,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:47:51] local.INFO: Processing buffer {"connection_id":161605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:47:51] local.INFO: IMEI packet received {"connection_id":161605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":161605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:47:53] local.INFO: TCP Data received {"connection_id":161605,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:47:53] local.INFO: Processing buffer {"connection_id":161605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:47:53] local.INFO: Packet analysis {"connection_id":161605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:47:53] local.INFO: Extracted packet for processing {"connection_id":161605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:47:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590203392001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787462033000,"timestamp_ms":1787462033000,"timestamp_seconds":1787462033,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0a1e68"} 
[2026-08-23 10:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 10:47:53] 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-08-23 10: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-08-23 10:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:47:53] 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-08-23 10:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590203392001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590203392001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:47:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:47:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590203392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":161605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:47:53] local.INFO: GPS data processed {"connection_id":161605,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:47:53] local.INFO: Acknowledgment sent {"connection_id":161605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:48:01] local.INFO: TCP Data received {"connection_id":160656,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:48:01] local.INFO: Processing buffer {"connection_id":160656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:48:01] local.INFO: IMEI packet received {"connection_id":160656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 10:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":160656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:48:08] local.INFO: TCP Data received {"connection_id":160656,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:48:08] local.INFO: Processing buffer {"connection_id":160656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:48:08] local.INFO: IMEI packet received {"connection_id":160656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 10:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":160656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:48:10] local.INFO: TCP Data received {"connection_id":160656,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02d090140012d7e154005d3bf000007006c25..."} 
[2026-08-23 10:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d090140012d7e154005d3bf000007006c25..."} 
[2026-08-23 10:48:10] local.INFO: Processing buffer {"connection_id":160656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d090140012d7e154005d3bf000007006c25..."} 
[2026-08-23 10:48:10] local.INFO: Packet analysis {"connection_id":160656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:48:10] local.INFO: Extracted packet for processing {"connection_id":160656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:48:10] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590261760001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:10] 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-08-23 10:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787461960000,"timestamp_ms":1787461960000,"timestamp_seconds":1787461960,"priority":1,"record_length":96,"hex_timestamp":"000001a02d090140"} 
[2026-08-23 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-08-23 10:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":3328,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":27,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 10:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1548,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 10:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590261760001,"66":7047,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 10:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590261760001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 10:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 10:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590261760001,"power":7047,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":160656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686020,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:48:10] local.INFO: GPS data processed {"connection_id":160656,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:48:10] local.INFO: Acknowledgment sent {"connection_id":160656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:48:11] local.INFO: TCP Data received {"connection_id":163014,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0af928012d1967c0071feea80038011d25..."} 
[2026-08-23 10:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0af928012d1967c0071feea80038011d25..."} 
[2026-08-23 10:48:11] local.INFO: Processing buffer {"connection_id":163014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0af928012d1967c0071feea80038011d25..."} 
[2026-08-23 10:48:11] local.INFO: Packet analysis {"connection_id":163014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:48:11] local.INFO: Extracted packet for processing {"connection_id":163014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:48:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590289408001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787462089000,"timestamp_ms":1787462089000,"timestamp_seconds":1787462089,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0af928"} 
[2026-08-23 10:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:48:11] 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-08-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:48:11] 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-08-23 10: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-08-23 10:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590289408001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590289408001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:48:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:48:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590289408001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":163014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:48:11] local.INFO: GPS data processed {"connection_id":163014,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:48:11] local.INFO: Acknowledgment sent {"connection_id":163014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:48:24] local.INFO: TCP Data received {"connection_id":161605,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:48:24] local.INFO: Processing buffer {"connection_id":161605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:48:24] local.INFO: Packet analysis {"connection_id":161605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:48:24] local.INFO: Extracted packet for processing {"connection_id":161605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:48:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590203392001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787462033000,"timestamp_ms":1787462033000,"timestamp_seconds":1787462033,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0a1e68"} 
[2026-08-23 10:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 10:48:24] 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-08-23 10: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-08-23 10:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:48:24] 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-08-23 10:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590203392001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590203392001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:48:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:48:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590203392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":161605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:48:24] local.INFO: GPS data processed {"connection_id":161605,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:48:24] local.INFO: Acknowledgment sent {"connection_id":161605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:48:30] local.INFO: TCP Data received {"connection_id":161606,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:48:30] local.INFO: Processing buffer {"connection_id":161606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:48:30] local.INFO: IMEI packet received {"connection_id":161606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":161606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:48:35] local.INFO: TCP Data received {"connection_id":161606,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:48:35] local.INFO: Processing buffer {"connection_id":161606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:48:35] local.INFO: IMEI packet received {"connection_id":161606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":161606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:48:35] local.INFO: TCP Data received {"connection_id":161606,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0b4b30012d1967c0071feea80038011d28..."} 
[2026-08-23 10:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0b4b30012d1967c0071feea80038011d28..."} 
[2026-08-23 10:48:35] local.INFO: Processing buffer {"connection_id":161606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0b4b30012d1967c0071feea80038011d28..."} 
[2026-08-23 10:48:35] local.INFO: Packet analysis {"connection_id":161606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0b"} 
[2026-08-23 10:48:35] local.INFO: Extracted packet for processing {"connection_id":161606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0b"} 
[2026-08-23 10:48:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590294784001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787462110000,"timestamp_ms":1787462110000,"timestamp_seconds":1787462110,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0b4b30"} 
[2026-08-23 10:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 10:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:35] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:35] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3245049071495092583,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:35] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:35] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80263249316020224,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:35] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:35] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 10:48:35] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:35] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,22,160,167,45,192,238,56,40,10,66,85,39,3,1,240,53,227,31,4,113,205,95,103,168,239,47,2,54,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 10:48:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538785851670528,"timestamp_seconds":4035538785851670.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 10:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590294784001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590294784001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:48:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:48:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590294784001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":161606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:48:35] local.INFO: GPS data processed {"connection_id":161606,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:48:35] local.INFO: Acknowledgment sent {"connection_id":161606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:48:46] local.INFO: TCP Data received {"connection_id":160430,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:48:46] local.INFO: Processing buffer {"connection_id":160430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:48:46] local.INFO: IMEI packet received {"connection_id":160430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":160430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:48:49] local.INFO: TCP Data received {"connection_id":160656,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02d094f60012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d094f60012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:48:49] local.INFO: Processing buffer {"connection_id":160656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d094f60012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:48:49] local.INFO: Packet analysis {"connection_id":160656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:48:49] local.INFO: Extracted packet for processing {"connection_id":160656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:48:49] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590261760001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:49] 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-08-23 10:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787461980000,"timestamp_ms":1787461980000,"timestamp_seconds":1787461980,"priority":1,"record_length":96,"hex_timestamp":"000001a02d094f60"} 
[2026-08-23 10:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":3328,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":27,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 10:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1548,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":160656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":160656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":160656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590261760001,"66":2209,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 10:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590261760001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:48:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 10:48:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 10:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590261760001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":160656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:48:49] local.INFO: GPS data processed {"connection_id":160656,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:48:49] local.INFO: Acknowledgment sent {"connection_id":160656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:48:51] local.INFO: TCP Data received {"connection_id":160430,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:48:51] local.INFO: Processing buffer {"connection_id":160430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:48:51] local.INFO: IMEI packet received {"connection_id":160430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":160430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:48:52] local.INFO: TCP Data received {"connection_id":160430,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:48:52] local.INFO: Processing buffer {"connection_id":160430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:48:52] local.INFO: Packet analysis {"connection_id":160430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:48:52] local.INFO: Extracted packet for processing {"connection_id":160430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:48:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590203392001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787462033000,"timestamp_ms":1787462033000,"timestamp_seconds":1787462033,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0a1e68"} 
[2026-08-23 10:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 10:48:52] 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-08-23 10: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-08-23 10:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:48:52] 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-08-23 10:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590203392001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590203392001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:48:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:48:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590203392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":160430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:48:52] local.INFO: GPS data processed {"connection_id":160430,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:48:52] local.INFO: Acknowledgment sent {"connection_id":160430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:49:06] local.INFO: TCP Data received {"connection_id":160657,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:49:06] local.INFO: Processing buffer {"connection_id":160657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:49:06] local.INFO: IMEI packet received {"connection_id":160657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 10:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":160657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:49:06] local.INFO: TCP Data received {"connection_id":161606,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0b9d38012d1967c0071feea80038011d26..."} 
[2026-08-23 10:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0b9d38012d1967c0071feea80038011d26..."} 
[2026-08-23 10:49:06] local.INFO: Processing buffer {"connection_id":161606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0b9d38012d1967c0071feea80038011d26..."} 
[2026-08-23 10:49:06] local.INFO: Packet analysis {"connection_id":161606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0b"} 
[2026-08-23 10:49:06] local.INFO: Extracted packet for processing {"connection_id":161606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0b"} 
[2026-08-23 10:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590300160001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787462131000,"timestamp_ms":1787462131000,"timestamp_seconds":1787462131,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0b9d38"} 
[2026-08-23 10:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:49:06] 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-08-23 10:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:49:06] 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-08-23 10:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590300160001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590300160001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:49:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590300160001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":161606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:49:07] local.INFO: GPS data processed {"connection_id":161606,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:49:07] local.INFO: Acknowledgment sent {"connection_id":161606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:49:11] local.INFO: TCP Data received {"connection_id":160657,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:49:11] local.INFO: Processing buffer {"connection_id":160657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:49:11] local.INFO: IMEI packet received {"connection_id":160657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 10:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":160657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:49:12] local.INFO: TCP Data received {"connection_id":160657,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02d094f60012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d094f60012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:49:12] local.INFO: Processing buffer {"connection_id":160657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d094f60012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:49:12] local.INFO: Packet analysis {"connection_id":160657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:49:12] local.INFO: Extracted packet for processing {"connection_id":160657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:49:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10:49: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-08-23 10:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590266880001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:49:12] 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-08-23 10:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787461980000,"timestamp_ms":1787461980000,"timestamp_seconds":1787461980,"priority":1,"record_length":96,"hex_timestamp":"000001a02d094f60"} 
[2026-08-23 10:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":256,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 10:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590266880001,"66":2209,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 10:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590266880001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:49:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 10:49:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 10:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590266880001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":160657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:49:12] local.INFO: GPS data processed {"connection_id":160657,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:49:12] local.INFO: Acknowledgment sent {"connection_id":160657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:49:24] local.INFO: TCP Data received {"connection_id":160430,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:49:24] local.INFO: Processing buffer {"connection_id":160430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0a1e68012d34c50006aa4098000c00851e..."} 
[2026-08-23 10:49:24] local.INFO: Packet analysis {"connection_id":160430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:49:24] local.INFO: Extracted packet for processing {"connection_id":160430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0a"} 
[2026-08-23 10:49:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:49: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-08-23 10:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590203392001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787462033000,"timestamp_ms":1787462033000,"timestamp_seconds":1787462033,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0a1e68"} 
[2026-08-23 10:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 10:49:24] 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-08-23 10:49: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-08-23 10:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:49: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-08-23 10:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590203392001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590203392001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:49:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:49:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590203392001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":160430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:49:24] local.INFO: GPS data processed {"connection_id":160430,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:49:24] local.INFO: Acknowledgment sent {"connection_id":160430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:49:30] local.INFO: TCP Data received {"connection_id":161607,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:49:30] local.INFO: Processing buffer {"connection_id":161607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:49:30] local.INFO: IMEI packet received {"connection_id":161607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":161607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:49:35] local.INFO: TCP Data received {"connection_id":161607,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:49:35] local.INFO: Processing buffer {"connection_id":161607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:49:35] local.INFO: IMEI packet received {"connection_id":161607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":161607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:49:36] local.INFO: TCP Data received {"connection_id":161607,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0bef40012d1967c0071feea80038011d28..."} 
[2026-08-23 10:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0bef40012d1967c0071feea80038011d28..."} 
[2026-08-23 10:49:36] local.INFO: Processing buffer {"connection_id":161607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0bef40012d1967c0071feea80038011d28..."} 
[2026-08-23 10:49:36] local.INFO: Packet analysis {"connection_id":161607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0b"} 
[2026-08-23 10:49:36] local.INFO: Extracted packet for processing {"connection_id":161607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0b"} 
[2026-08-23 10:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590305536001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787462152000,"timestamp_ms":1787462152000,"timestamp_seconds":1787462152,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0bef40"} 
[2026-08-23 10:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:49:36] 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-08-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 10:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590305536001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590305536001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:49:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590305536001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":161607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:49:36] local.INFO: GPS data processed {"connection_id":161607,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:49:36] local.INFO: Acknowledgment sent {"connection_id":161607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:49:43] local.INFO: TCP Data received {"connection_id":160657,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02d095348012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d095348012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:49:43] local.INFO: Processing buffer {"connection_id":160657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d095348012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:49:43] local.INFO: Packet analysis {"connection_id":160657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:49:43] local.INFO: Extracted packet for processing {"connection_id":160657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:49:43] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590266880001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:49:43] 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-08-23 10:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787461981000,"timestamp_ms":1787461981000,"timestamp_seconds":1787461981,"priority":1,"record_length":96,"hex_timestamp":"000001a02d095348"} 
[2026-08-23 10:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":256,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 10:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590266880001,"66":2209,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 10:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590266880001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:49:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 10:49:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 10:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590266880001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":160657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:49:43] local.INFO: GPS data processed {"connection_id":160657,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:49:43] local.INFO: Acknowledgment sent {"connection_id":160657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:49:46] local.INFO: TCP Data received {"connection_id":161608,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:49:46] local.INFO: Processing buffer {"connection_id":161608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:49:46] local.INFO: IMEI packet received {"connection_id":161608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":161608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:49:52] local.INFO: TCP Data received {"connection_id":161608,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:49:52] local.INFO: Processing buffer {"connection_id":161608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:49:52] local.INFO: IMEI packet received {"connection_id":161608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":161608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:49:53] local.INFO: TCP Data received {"connection_id":161608,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:49:53] local.INFO: Processing buffer {"connection_id":161608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:49:53] local.INFO: Packet analysis {"connection_id":161608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0e"} 
[2026-08-23 10:49:53] local.INFO: Extracted packet for processing {"connection_id":161608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0e"} 
[2026-08-23 10:49:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590280448001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787462334000,"timestamp_ms":1787462334000,"timestamp_seconds":1787462334,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0eb630"} 
[2026-08-23 10:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:49:53] 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-08-23 10:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590280448001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590280448001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:49:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:49:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590280448001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":161608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:49:53] local.INFO: GPS data processed {"connection_id":161608,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:49:53] local.INFO: Acknowledgment sent {"connection_id":161608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:50:06] local.INFO: TCP Data received {"connection_id":161609,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:50:06] local.INFO: Processing buffer {"connection_id":161609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:50:06] local.INFO: IMEI packet received {"connection_id":161609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 10:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":161609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:50:07] local.INFO: TCP Data received {"connection_id":161607,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0c4148012d1967c0071feea80038011d28..."} 
[2026-08-23 10:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0c4148012d1967c0071feea80038011d28..."} 
[2026-08-23 10:50:07] local.INFO: Processing buffer {"connection_id":161607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0c4148012d1967c0071feea80038011d28..."} 
[2026-08-23 10:50:07] local.INFO: Packet analysis {"connection_id":161607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0c"} 
[2026-08-23 10:50:07] local.INFO: Extracted packet for processing {"connection_id":161607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0c"} 
[2026-08-23 10:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590310912001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787462173000,"timestamp_ms":1787462173000,"timestamp_seconds":1787462173,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0c4148"} 
[2026-08-23 10:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 10:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590310912001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590310912001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:50:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590310912001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":161607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:50:07] local.INFO: GPS data processed {"connection_id":161607,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:50:07] local.INFO: Acknowledgment sent {"connection_id":161607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:50:11] local.INFO: TCP Data received {"connection_id":161609,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:50:11] local.INFO: Processing buffer {"connection_id":161609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:50:11] local.INFO: IMEI packet received {"connection_id":161609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 10:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":161609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:50:12] local.INFO: TCP Data received {"connection_id":161609,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02d095348012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d095348012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:50:12] local.INFO: Processing buffer {"connection_id":161609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d095348012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:50:12] local.INFO: Packet analysis {"connection_id":161609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:50:12] local.INFO: Extracted packet for processing {"connection_id":161609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:50:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590266880001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:50:12] 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-08-23 10:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787461981000,"timestamp_ms":1787461981000,"timestamp_seconds":1787461981,"priority":1,"record_length":96,"hex_timestamp":"000001a02d095348"} 
[2026-08-23 10:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":256,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 10:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590266880001,"66":2209,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 10:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590266880001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:50:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 10:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 10:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590266880001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":161609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:50:12] local.INFO: GPS data processed {"connection_id":161609,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:50:12] local.INFO: Acknowledgment sent {"connection_id":161609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:50:24] local.INFO: TCP Data received {"connection_id":161608,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:50:24] local.INFO: Processing buffer {"connection_id":161608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:50:24] local.INFO: Packet analysis {"connection_id":161608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0e"} 
[2026-08-23 10:50:24] local.INFO: Extracted packet for processing {"connection_id":161608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0e"} 
[2026-08-23 10:50:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590280448001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787462334000,"timestamp_ms":1787462334000,"timestamp_seconds":1787462334,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0eb630"} 
[2026-08-23 10:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:50:24] 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-08-23 10:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590280448001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590280448001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:50:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:50:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590280448001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":161608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:50:24] local.INFO: GPS data processed {"connection_id":161608,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:50:24] local.INFO: Acknowledgment sent {"connection_id":161608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:50:35] local.INFO: TCP Data received {"connection_id":160658,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:50:35] local.INFO: Processing buffer {"connection_id":160658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:50:35] local.INFO: IMEI packet received {"connection_id":160658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":160658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:50:40] local.INFO: TCP Data received {"connection_id":160658,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:50:40] local.INFO: Processing buffer {"connection_id":160658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:50:40] local.INFO: IMEI packet received {"connection_id":160658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":160658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:50:40] local.INFO: TCP Data received {"connection_id":160658,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0c9350012d1967c0071feea80038011d27..."} 
[2026-08-23 10:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0c9350012d1967c0071feea80038011d27..."} 
[2026-08-23 10:50:40] local.INFO: Processing buffer {"connection_id":160658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0c9350012d1967c0071feea80038011d27..."} 
[2026-08-23 10:50:40] local.INFO: Packet analysis {"connection_id":160658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0c"} 
[2026-08-23 10:50:40] local.INFO: Extracted packet for processing {"connection_id":160658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0c"} 
[2026-08-23 10:50:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 10:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590316288001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787462194000,"timestamp_ms":1787462194000,"timestamp_seconds":1787462194,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0c9350"} 
[2026-08-23 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-08-23 10:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:50:40] 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-08-23 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-08-23 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-08-23 10:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590316288001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590316288001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:50:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:50:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590316288001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":160658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:50:40] local.INFO: GPS data processed {"connection_id":160658,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:50:40] local.INFO: Acknowledgment sent {"connection_id":160658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:50:43] local.INFO: TCP Data received {"connection_id":161609,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02d095348012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d095348012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:50:43] local.INFO: Processing buffer {"connection_id":161609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d095348012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:50:43] local.INFO: Packet analysis {"connection_id":161609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:50:43] local.INFO: Extracted packet for processing {"connection_id":161609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:50:43] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590266880001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:50:43] 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-08-23 10:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787461981000,"timestamp_ms":1787461981000,"timestamp_seconds":1787461981,"priority":1,"record_length":96,"hex_timestamp":"000001a02d095348"} 
[2026-08-23 10:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":256,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 10:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590266880001,"66":2209,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 10:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590266880001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:50:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 10:50:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 10:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590266880001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":161609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:50:44] local.INFO: GPS data processed {"connection_id":161609,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:50:44] local.INFO: Acknowledgment sent {"connection_id":161609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:50:45] local.INFO: TCP Data received {"connection_id":160658,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0ce558012d1967c0071feea80038011d24..."} 
[2026-08-23 10:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0ce558012d1967c0071feea80038011d24..."} 
[2026-08-23 10:50:45] local.INFO: Processing buffer {"connection_id":160658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0ce558012d1967c0071feea80038011d24..."} 
[2026-08-23 10:50:45] local.INFO: Packet analysis {"connection_id":160658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0c"} 
[2026-08-23 10:50:45] local.INFO: Extracted packet for processing {"connection_id":160658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0c"} 
[2026-08-23 10:50:45] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590321664001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787462215000,"timestamp_ms":1787462215000,"timestamp_seconds":1787462215,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0ce558"} 
[2026-08-23 10:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:50:45] 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-08-23 10:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590321664001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590321664001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:50:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:50:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590321664001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":160658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:50:45] local.INFO: GPS data processed {"connection_id":160658,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:50:45] local.INFO: Acknowledgment sent {"connection_id":160658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:50:46] local.INFO: TCP Data received {"connection_id":163015,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:50:46] local.INFO: Processing buffer {"connection_id":163015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:50:46] local.INFO: IMEI packet received {"connection_id":163015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":163015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:50:51] local.INFO: TCP Data received {"connection_id":163015,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:50:51] local.INFO: Processing buffer {"connection_id":163015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:50:51] local.INFO: IMEI packet received {"connection_id":163015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":163015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:50:52] local.INFO: TCP Data received {"connection_id":163015,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:50:52] local.INFO: Processing buffer {"connection_id":163015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:50:52] local.INFO: Packet analysis {"connection_id":163015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0e"} 
[2026-08-23 10:50:52] local.INFO: Extracted packet for processing {"connection_id":163015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0e"} 
[2026-08-23 10:50:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590280448001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787462334000,"timestamp_ms":1787462334000,"timestamp_seconds":1787462334,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0eb630"} 
[2026-08-23 10:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:50:52] 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-08-23 10:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:50:52] 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-08-23 10:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590280448001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590280448001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:50:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590280448001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":163015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:50:52] local.INFO: GPS data processed {"connection_id":163015,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:50:52] local.INFO: Acknowledgment sent {"connection_id":163015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:51:06] local.INFO: TCP Data received {"connection_id":163016,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:51:06] local.INFO: Processing buffer {"connection_id":163016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:51:06] local.INFO: IMEI packet received {"connection_id":163016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 10:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":163016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:51:11] local.INFO: TCP Data received {"connection_id":163016,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:51:11] local.INFO: Processing buffer {"connection_id":163016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:51:11] local.INFO: IMEI packet received {"connection_id":163016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 10:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":163016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:51:12] local.INFO: TCP Data received {"connection_id":163016,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02d095348012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d095348012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:51:12] local.INFO: Processing buffer {"connection_id":163016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d095348012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:51:12] local.INFO: Packet analysis {"connection_id":163016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:51:12] local.INFO: Extracted packet for processing {"connection_id":163016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:51:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590266880001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:12] 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-08-23 10:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787461981000,"timestamp_ms":1787461981000,"timestamp_seconds":1787461981,"priority":1,"record_length":96,"hex_timestamp":"000001a02d095348"} 
[2026-08-23 10:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":256,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 10:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590266880001,"66":2209,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 10:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590266880001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:51:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 10:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 10:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590266880001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":163016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:51:12] local.INFO: GPS data processed {"connection_id":163016,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:51:12] local.INFO: Acknowledgment sent {"connection_id":163016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:51:24] local.INFO: TCP Data received {"connection_id":163015,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:51:24] local.INFO: Processing buffer {"connection_id":163015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:51:24] local.INFO: Packet analysis {"connection_id":163015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0e"} 
[2026-08-23 10:51:24] local.INFO: Extracted packet for processing {"connection_id":163015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0e"} 
[2026-08-23 10:51:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590280448001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787462334000,"timestamp_ms":1787462334000,"timestamp_seconds":1787462334,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0eb630"} 
[2026-08-23 10:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:51:24] 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-08-23 10:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:51:24] 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-08-23 10:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590280448001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590280448001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:51:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:51:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590280448001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":163015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:51:24] local.INFO: GPS data processed {"connection_id":163015,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:51:24] local.INFO: Acknowledgment sent {"connection_id":163015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:51:30] local.INFO: TCP Data received {"connection_id":160659,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:51:30] local.INFO: Processing buffer {"connection_id":160659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:51:30] local.INFO: IMEI packet received {"connection_id":160659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":160659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:51:35] local.INFO: TCP Data received {"connection_id":160659,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:51:35] local.INFO: Processing buffer {"connection_id":160659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:51:35] local.INFO: IMEI packet received {"connection_id":160659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":160659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:51:36] local.INFO: TCP Data received {"connection_id":160659,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0d3760012d1967c0071feea80038011d26..."} 
[2026-08-23 10:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0d3760012d1967c0071feea80038011d26..."} 
[2026-08-23 10:51:36] local.INFO: Processing buffer {"connection_id":160659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0d3760012d1967c0071feea80038011d26..."} 
[2026-08-23 10:51:36] local.INFO: Packet analysis {"connection_id":160659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0d"} 
[2026-08-23 10:51:36] local.INFO: Extracted packet for processing {"connection_id":160659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0d"} 
[2026-08-23 10:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590327040001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787462236000,"timestamp_ms":1787462236000,"timestamp_seconds":1787462236,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0d3760"} 
[2026-08-23 10:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:51:36] 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-08-23 10:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 10:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:36] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3245590237374388583,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:36] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80261050292764672,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 10:51:36] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:36] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,22,160,147,45,192,238,56,39,10,66,65,40,239,1,240,255,227,31,4,113,205,75,103,168,48,2,54,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 10:51:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538781556703232,"timestamp_seconds":4035538781556703.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 10:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590327040001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590327040001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:51:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590327040001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":160659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:51:36] local.INFO: GPS data processed {"connection_id":160659,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:51:36] local.INFO: Acknowledgment sent {"connection_id":160659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:51:45] local.INFO: TCP Data received {"connection_id":163016,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02d095348012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d095348012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:51:45] local.INFO: Processing buffer {"connection_id":163016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d095348012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:51:45] local.INFO: Packet analysis {"connection_id":163016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:51:45] local.INFO: Extracted packet for processing {"connection_id":163016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:51:45] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590266880001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:45] 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-08-23 10:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787461981000,"timestamp_ms":1787461981000,"timestamp_seconds":1787461981,"priority":1,"record_length":96,"hex_timestamp":"000001a02d095348"} 
[2026-08-23 10:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":256,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 10:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590266880001,"66":2209,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 10:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590266880001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:51:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 10:51:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 10:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590266880001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":163016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:51:45] local.INFO: GPS data processed {"connection_id":163016,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:51:45] local.INFO: Acknowledgment sent {"connection_id":163016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:51:46] local.INFO: TCP Data received {"connection_id":161610,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:51:46] local.INFO: Processing buffer {"connection_id":161610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:51:46] local.INFO: IMEI packet received {"connection_id":161610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":161610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:51:51] local.INFO: TCP Data received {"connection_id":161610,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:51:51] local.INFO: Processing buffer {"connection_id":161610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:51:51] local.INFO: IMEI packet received {"connection_id":161610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":161610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:51:53] local.INFO: TCP Data received {"connection_id":161610,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:51:53] local.INFO: Processing buffer {"connection_id":161610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:51:53] local.INFO: Packet analysis {"connection_id":161610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0e"} 
[2026-08-23 10:51:53] local.INFO: Extracted packet for processing {"connection_id":161610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0e"} 
[2026-08-23 10:51:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590280448001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787462334000,"timestamp_ms":1787462334000,"timestamp_seconds":1787462334,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0eb630"} 
[2026-08-23 10:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:51:53] 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-08-23 10: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-08-23 10:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:51:53] 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-08-23 10:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590280448001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590280448001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:51:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:51:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590280448001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":161610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:51:53] local.INFO: GPS data processed {"connection_id":161610,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:51:53] local.INFO: Acknowledgment sent {"connection_id":161610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:52:07] local.INFO: TCP Data received {"connection_id":160659,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0d8968012d1967c0071feea80038011d29..."} 
[2026-08-23 10:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0d8968012d1967c0071feea80038011d29..."} 
[2026-08-23 10:52:07] local.INFO: Processing buffer {"connection_id":160659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0d8968012d1967c0071feea80038011d29..."} 
[2026-08-23 10:52:07] local.INFO: Packet analysis {"connection_id":160659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0d"} 
[2026-08-23 10:52:07] local.INFO: Extracted packet for processing {"connection_id":160659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0d"} 
[2026-08-23 10:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590332416001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787462257000,"timestamp_ms":1787462257000,"timestamp_seconds":1787462257,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0d8968"} 
[2026-08-23 10:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:52:07] 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-08-23 10:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590332416001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590332416001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:52:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:52:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590332416001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":160659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:52:07] local.INFO: GPS data processed {"connection_id":160659,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:52:07] local.INFO: Acknowledgment sent {"connection_id":160659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:52:07] local.INFO: TCP Data received {"connection_id":163017,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:52:07] local.INFO: Processing buffer {"connection_id":163017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:52:07] local.INFO: IMEI packet received {"connection_id":163017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 10:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":163017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:52:11] local.INFO: TCP Data received {"connection_id":163017,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:52:11] local.INFO: Processing buffer {"connection_id":163017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 10:52:11] local.INFO: IMEI packet received {"connection_id":163017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 10:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":163017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:52:13] local.INFO: TCP Data received {"connection_id":163017,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02d095348012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d095348012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:52:13] local.INFO: Processing buffer {"connection_id":163017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d095348012d7e154005d3bf000007006c26..."} 
[2026-08-23 10:52:13] local.INFO: Packet analysis {"connection_id":163017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:52:13] local.INFO: Extracted packet for processing {"connection_id":163017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d09"} 
[2026-08-23 10:52:13] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590266880001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787461981000,"timestamp_ms":1787461981000,"timestamp_seconds":1787461981,"priority":1,"record_length":96,"hex_timestamp":"000001a02d095348"} 
[2026-08-23 10:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":256,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 10:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590266880001,"66":2209,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 10:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590266880001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:52:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 10:52:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 10:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590266880001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":163017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:52:13] local.INFO: GPS data processed {"connection_id":163017,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:52:13] local.INFO: Acknowledgment sent {"connection_id":163017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:52:25] local.INFO: TCP Data received {"connection_id":161610,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:52:25] local.INFO: Processing buffer {"connection_id":161610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:52:25] local.INFO: Packet analysis {"connection_id":161610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0e"} 
[2026-08-23 10:52:25] local.INFO: Extracted packet for processing {"connection_id":161610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0e"} 
[2026-08-23 10:52:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590280448001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787462334000,"timestamp_ms":1787462334000,"timestamp_seconds":1787462334,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0eb630"} 
[2026-08-23 10:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:52:25] 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-08-23 10: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-08-23 10:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:52:25] 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-08-23 10:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590280448001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590280448001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:52:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:52:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590280448001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":161610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:52:25] local.INFO: GPS data processed {"connection_id":161610,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:52:25] local.INFO: Acknowledgment sent {"connection_id":161610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:52:30] local.INFO: TCP Data received {"connection_id":160660,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:52:30] local.INFO: Processing buffer {"connection_id":160660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:52:30] local.INFO: IMEI packet received {"connection_id":160660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":160660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:52:35] local.INFO: TCP Data received {"connection_id":160660,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:52:35] local.INFO: Processing buffer {"connection_id":160660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:52:35] local.INFO: IMEI packet received {"connection_id":160660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":160660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:52:36] local.INFO: TCP Data received {"connection_id":160660,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0ddb70012d1967c0071feea80038011d29..."} 
[2026-08-23 10:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0ddb70012d1967c0071feea80038011d29..."} 
[2026-08-23 10:52:36] local.INFO: Processing buffer {"connection_id":160660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0ddb70012d1967c0071feea80038011d29..."} 
[2026-08-23 10:52:36] local.INFO: Packet analysis {"connection_id":160660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0d"} 
[2026-08-23 10:52:36] local.INFO: Extracted packet for processing {"connection_id":160660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0d"} 
[2026-08-23 10:52:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590337792001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787462278000,"timestamp_ms":1787462278000,"timestamp_seconds":1787462278,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0ddb70"} 
[2026-08-23 10:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:52:36] 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-08-23 10:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:52:36] 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-08-23 10:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590337792001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590337792001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:52:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:52:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590337792001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":160660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:52:36] local.INFO: GPS data processed {"connection_id":160660,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:52:36] local.INFO: Acknowledgment sent {"connection_id":160660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:52:44] local.INFO: TCP Data received {"connection_id":163017,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02d11c758012d7e154005d3bf000007006c25..."} 
[2026-08-23 10:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d11c758012d7e154005d3bf000007006c25..."} 
[2026-08-23 10:52:44] local.INFO: Processing buffer {"connection_id":163017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d11c758012d7e154005d3bf000007006c25..."} 
[2026-08-23 10:52:44] local.INFO: Packet analysis {"connection_id":163017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d11"} 
[2026-08-23 10:52:44] local.INFO: Extracted packet for processing {"connection_id":163017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d11"} 
[2026-08-23 10:52:44] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 10:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590267136001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 10:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 10:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787462535000,"timestamp_ms":1787462535000,"timestamp_seconds":1787462535,"priority":1,"record_length":96,"hex_timestamp":"000001a02d11c758"} 
[2026-08-23 10:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":256,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 10:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 10:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 10:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 10:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590267136001,"66":12298,"109":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 10:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 10:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 10:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590267136001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:52:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 10:52:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 10:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 10:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590267136001,"power":12298,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 10:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":163017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:52:44] local.INFO: GPS data processed {"connection_id":163017,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:52:44] local.INFO: Acknowledgment sent {"connection_id":163017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:52:46] local.INFO: TCP Data received {"connection_id":161611,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:52:46] local.INFO: Processing buffer {"connection_id":161611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:52:46] local.INFO: IMEI packet received {"connection_id":161611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":161611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:52:51] local.INFO: TCP Data received {"connection_id":161611,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:52:51] local.INFO: Processing buffer {"connection_id":161611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:52:51] local.INFO: IMEI packet received {"connection_id":161611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":161611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:52:52] local.INFO: TCP Data received {"connection_id":161611,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:52:52] local.INFO: Processing buffer {"connection_id":161611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:52:52] local.INFO: Packet analysis {"connection_id":161611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0e"} 
[2026-08-23 10:52:52] local.INFO: Extracted packet for processing {"connection_id":161611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0e"} 
[2026-08-23 10:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590280448001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787462334000,"timestamp_ms":1787462334000,"timestamp_seconds":1787462334,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0eb630"} 
[2026-08-23 10:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:52:52] 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-08-23 10:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:52:52] 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-08-23 10:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590280448001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590280448001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:52:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590280448001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":161611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:52:52] local.INFO: GPS data processed {"connection_id":161611,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:52:52] local.INFO: Acknowledgment sent {"connection_id":161611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:53:07] local.INFO: TCP Data received {"connection_id":160660,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0e2d78012d1967c0071feea80038011d28..."} 
[2026-08-23 10:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0e2d78012d1967c0071feea80038011d28..."} 
[2026-08-23 10:53:07] local.INFO: Processing buffer {"connection_id":160660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0e2d78012d1967c0071feea80038011d28..."} 
[2026-08-23 10:53:07] local.INFO: Packet analysis {"connection_id":160660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0e"} 
[2026-08-23 10:53:07] local.INFO: Extracted packet for processing {"connection_id":160660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0e"} 
[2026-08-23 10:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590343168001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787462299000,"timestamp_ms":1787462299000,"timestamp_seconds":1787462299,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0e2d78"} 
[2026-08-23 10:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 10:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590343168001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590343168001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:53:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590343168001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":160660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:53:07] local.INFO: GPS data processed {"connection_id":160660,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:53:07] local.INFO: Acknowledgment sent {"connection_id":160660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:53:24] local.INFO: TCP Data received {"connection_id":161611,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:53:24] local.INFO: Processing buffer {"connection_id":161611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:53:24] local.INFO: Packet analysis {"connection_id":161611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0e"} 
[2026-08-23 10:53:24] local.INFO: Extracted packet for processing {"connection_id":161611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0e"} 
[2026-08-23 10:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590280448001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787462334000,"timestamp_ms":1787462334000,"timestamp_seconds":1787462334,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0eb630"} 
[2026-08-23 10:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:53:24] 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-08-23 10:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:53:24] 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-08-23 10:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590280448001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590280448001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:53:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590280448001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":161611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:53:24] local.INFO: GPS data processed {"connection_id":161611,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:53:24] local.INFO: Acknowledgment sent {"connection_id":161611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:53:30] local.INFO: TCP Data received {"connection_id":163018,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:53:30] local.INFO: Processing buffer {"connection_id":163018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:53:30] local.INFO: IMEI packet received {"connection_id":163018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":163018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:53:31] local.INFO: TCP Data received {"connection_id":163018,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:53:31] local.INFO: Processing buffer {"connection_id":163018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:53:31] local.INFO: IMEI packet received {"connection_id":163018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":163018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:53:35] local.INFO: TCP Data received {"connection_id":163018,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:53:35] local.INFO: Processing buffer {"connection_id":163018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:53:35] local.INFO: IMEI packet received {"connection_id":163018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":163018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:53:36] local.INFO: TCP Data received {"connection_id":163018,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d11b3d0012d1967c0071feea80038011d26..."} 
[2026-08-23 10:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d11b3d0012d1967c0071feea80038011d26..."} 
[2026-08-23 10:53:36] local.INFO: Processing buffer {"connection_id":163018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d11b3d0012d1967c0071feea80038011d26..."} 
[2026-08-23 10:53:36] local.INFO: Packet analysis {"connection_id":163018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d11"} 
[2026-08-23 10:53:36] local.INFO: Extracted packet for processing {"connection_id":163018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d11"} 
[2026-08-23 10:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590402304001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787462530000,"timestamp_ms":1787462530000,"timestamp_seconds":1787462530,"priority":1,"record_length":96,"hex_timestamp":"000001a02d11b3d0"} 
[2026-08-23 10:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:53:36] 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-08-23 10:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 10:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:36] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3246852957759412583,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:36] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80264348827648000,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:36] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 10:53:36] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:36] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:36] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,22,160,15,45,192,238,56,40,10,66,189,39,107,1,240,53,227,31,4,113,205,199,103,168,38,239,47,2,54,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 10:53:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538768671801344,"timestamp_seconds":4035538768671801.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 10:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590402304001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590402304001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:53:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590402304001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":163018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:53:36] local.INFO: GPS data processed {"connection_id":163018,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:53:36] local.INFO: Acknowledgment sent {"connection_id":163018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:53:52] local.INFO: TCP Data received {"connection_id":160661,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:53:52] local.INFO: Processing buffer {"connection_id":160661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:53:52] local.INFO: IMEI packet received {"connection_id":160661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":160661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:53:56] local.INFO: TCP Data received {"connection_id":160661,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:53:56] local.INFO: Processing buffer {"connection_id":160661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:53:56] local.INFO: IMEI packet received {"connection_id":160661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":160661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:53:57] local.INFO: TCP Data received {"connection_id":160661,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:53:57] local.INFO: Processing buffer {"connection_id":160661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:53:57] local.INFO: Packet analysis {"connection_id":160661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0e"} 
[2026-08-23 10:53:57] local.INFO: Extracted packet for processing {"connection_id":160661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0e"} 
[2026-08-23 10:53:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590280448001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787462334000,"timestamp_ms":1787462334000,"timestamp_seconds":1787462334,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0eb630"} 
[2026-08-23 10:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:53:57] 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-08-23 10:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590280448001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590280448001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:53:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:53:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590280448001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":160661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:53:57] local.INFO: GPS data processed {"connection_id":160661,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:53:57] local.INFO: Acknowledgment sent {"connection_id":160661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:54:02] local.INFO: TCP Data received {"connection_id":160661,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:54:02] local.INFO: Processing buffer {"connection_id":160661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d0eb630012d34c50006aa4098000c00851c..."} 
[2026-08-23 10:54:02] local.INFO: Packet analysis {"connection_id":160661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d0e"} 
[2026-08-23 10:54:02] local.INFO: Extracted packet for processing {"connection_id":160661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d0e"} 
[2026-08-23 10:54:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590280448001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787462334000,"timestamp_ms":1787462334000,"timestamp_seconds":1787462334,"priority":1,"record_length":96,"hex_timestamp":"000001a02d0eb630"} 
[2026-08-23 10:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 10:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:54:02] 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-08-23 10:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590280448001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590280448001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:54:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:54:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590280448001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":160661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:54:02] local.INFO: GPS data processed {"connection_id":160661,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:54:02] local.INFO: Acknowledgment sent {"connection_id":160661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:54:07] local.INFO: TCP Data received {"connection_id":163018,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1205d8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1205d8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:54:07] local.INFO: Processing buffer {"connection_id":163018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1205d8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:54:07] local.INFO: Packet analysis {"connection_id":163018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d12"} 
[2026-08-23 10:54:07] local.INFO: Extracted packet for processing {"connection_id":163018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d12"} 
[2026-08-23 10:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590407680001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787462551000,"timestamp_ms":1787462551000,"timestamp_seconds":1787462551,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1205d8"} 
[2026-08-23 10:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:54:07] 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-08-23 10: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-08-23 10:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590407680001,"66":12102,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590407680001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:54:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:54:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590407680001,"power":12102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":163018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:54:07] local.INFO: GPS data processed {"connection_id":163018,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:54:07] local.INFO: Acknowledgment sent {"connection_id":163018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:54:29] local.INFO: TCP Data received {"connection_id":161612,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:54:30] local.INFO: Processing buffer {"connection_id":161612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:54:30] local.INFO: IMEI packet received {"connection_id":161612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":161612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:54:33] local.INFO: TCP Data received {"connection_id":161612,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:54:33] local.INFO: Processing buffer {"connection_id":161612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:54:33] local.INFO: IMEI packet received {"connection_id":161612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":161612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:54:35] local.INFO: TCP Data received {"connection_id":161612,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:54:35] local.INFO: Processing buffer {"connection_id":161612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:54:35] local.INFO: IMEI packet received {"connection_id":161612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":161612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:54:35] local.INFO: TCP Data received {"connection_id":161612,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1257e0012d1967c0071feea80038011d25..."} 
[2026-08-23 10:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1257e0012d1967c0071feea80038011d25..."} 
[2026-08-23 10:54:35] local.INFO: Processing buffer {"connection_id":161612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1257e0012d1967c0071feea80038011d25..."} 
[2026-08-23 10:54:35] local.INFO: Packet analysis {"connection_id":161612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d12"} 
[2026-08-23 10:54:35] local.INFO: Extracted packet for processing {"connection_id":161612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d12"} 
[2026-08-23 10:54:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590413056001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787462572000,"timestamp_ms":1787462572000,"timestamp_seconds":1787462572,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1257e0"} 
[2026-08-23 10:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-23 10:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590413056001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590413056001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:54:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590413056001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":161612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:54:35] local.INFO: GPS data processed {"connection_id":161612,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:54:35] local.INFO: Acknowledgment sent {"connection_id":161612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:54:40] local.INFO: TCP Data received {"connection_id":161612,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d12a9e8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d12a9e8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:54:40] local.INFO: Processing buffer {"connection_id":161612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d12a9e8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:54:40] local.INFO: Packet analysis {"connection_id":161612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d12"} 
[2026-08-23 10:54:40] local.INFO: Extracted packet for processing {"connection_id":161612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d12"} 
[2026-08-23 10:54:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590418432001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787462593000,"timestamp_ms":1787462593000,"timestamp_seconds":1787462593,"priority":1,"record_length":96,"hex_timestamp":"000001a02d12a9e8"} 
[2026-08-23 10:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 10:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590418432001,"66":12363,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590418432001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:54:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:54:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590418432001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":161612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:54:40] local.INFO: GPS data processed {"connection_id":161612,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:54:40] local.INFO: Acknowledgment sent {"connection_id":161612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:54:46] local.INFO: TCP Data received {"connection_id":161613,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:54:46] local.INFO: Processing buffer {"connection_id":161613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:54:46] local.INFO: IMEI packet received {"connection_id":161613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":161613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:54:51] local.INFO: TCP Data received {"connection_id":161613,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:54:51] local.INFO: Processing buffer {"connection_id":161613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:54:51] local.INFO: IMEI packet received {"connection_id":161613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":161613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:54:52] local.INFO: TCP Data received {"connection_id":161613,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:54:52] local.INFO: Processing buffer {"connection_id":161613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:54:52] local.INFO: Packet analysis {"connection_id":161613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:54:52] local.INFO: Extracted packet for processing {"connection_id":161613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:54:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590357504001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787462635000,"timestamp_ms":1787462635000,"timestamp_seconds":1787462635,"priority":1,"record_length":96,"hex_timestamp":"000001a02d134df8"} 
[2026-08-23 10:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:54:52] 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-08-23 10:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590357504001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590357504001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:54:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:54:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590357504001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":161613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:54:52] local.INFO: GPS data processed {"connection_id":161613,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:54:52] local.INFO: Acknowledgment sent {"connection_id":161613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:55:12] local.INFO: TCP Data received {"connection_id":161612,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d12fbf0012d1967c0071feea80038011d27..."} 
[2026-08-23 10:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d12fbf0012d1967c0071feea80038011d27..."} 
[2026-08-23 10:55:12] local.INFO: Processing buffer {"connection_id":161612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d12fbf0012d1967c0071feea80038011d27..."} 
[2026-08-23 10:55:12] local.INFO: Packet analysis {"connection_id":161612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d12"} 
[2026-08-23 10:55:12] local.INFO: Extracted packet for processing {"connection_id":161612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d12"} 
[2026-08-23 10:55:12] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590423808001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787462614000,"timestamp_ms":1787462614000,"timestamp_seconds":1787462614,"priority":1,"record_length":96,"hex_timestamp":"000001a02d12fbf0"} 
[2026-08-23 10:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 10:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590423808001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590423808001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:55:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:55:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590423808001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":161612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:55:12] local.INFO: GPS data processed {"connection_id":161612,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:55:12] local.INFO: Acknowledgment sent {"connection_id":161612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:55:24] local.INFO: TCP Data received {"connection_id":161613,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:55:24] local.INFO: Processing buffer {"connection_id":161613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:55:24] local.INFO: Packet analysis {"connection_id":161613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:55:24] local.INFO: Extracted packet for processing {"connection_id":161613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:55:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590357504001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787462635000,"timestamp_ms":1787462635000,"timestamp_seconds":1787462635,"priority":1,"record_length":96,"hex_timestamp":"000001a02d134df8"} 
[2026-08-23 10:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590357504001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590357504001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:55:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:55:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590357504001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":161613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:55:24] local.INFO: GPS data processed {"connection_id":161613,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:55:24] local.INFO: Acknowledgment sent {"connection_id":161613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:55:29] local.INFO: TCP Data received {"connection_id":160662,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:55:29] local.INFO: Processing buffer {"connection_id":160662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:55:29] local.INFO: IMEI packet received {"connection_id":160662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":160662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:55:35] local.INFO: TCP Data received {"connection_id":160662,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:55:35] local.INFO: Processing buffer {"connection_id":160662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:55:35] local.INFO: IMEI packet received {"connection_id":160662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":160662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:55:36] local.INFO: TCP Data received {"connection_id":160662,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d134df8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d134df8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:55:36] local.INFO: Processing buffer {"connection_id":160662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d134df8012d1967c0071feea80038011d27..."} 
[2026-08-23 10:55:36] local.INFO: Packet analysis {"connection_id":160662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:55:36] local.INFO: Extracted packet for processing {"connection_id":160662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:55:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590429184001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787462635000,"timestamp_ms":1787462635000,"timestamp_seconds":1787462635,"priority":1,"record_length":96,"hex_timestamp":"000001a02d134df8"} 
[2026-08-23 10:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:55:36] 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-08-23 10:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590429184001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590429184001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:55:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590429184001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":160662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:55:36] local.INFO: GPS data processed {"connection_id":160662,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:55:36] local.INFO: Acknowledgment sent {"connection_id":160662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:55:46] local.INFO: TCP Data received {"connection_id":160663,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:55:46] local.INFO: Processing buffer {"connection_id":160663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:55:46] local.INFO: IMEI packet received {"connection_id":160663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":160663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:55:51] local.INFO: TCP Data received {"connection_id":160663,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:55:51] local.INFO: Processing buffer {"connection_id":160663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:55:51] local.INFO: IMEI packet received {"connection_id":160663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":160663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:55:52] local.INFO: TCP Data received {"connection_id":160663,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:55:52] local.INFO: Processing buffer {"connection_id":160663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:55:52] local.INFO: Packet analysis {"connection_id":160663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:55:52] local.INFO: Extracted packet for processing {"connection_id":160663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:55:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:55: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-08-23 10:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590357504001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787462635000,"timestamp_ms":1787462635000,"timestamp_seconds":1787462635,"priority":1,"record_length":96,"hex_timestamp":"000001a02d134df8"} 
[2026-08-23 10:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:55:52] 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-08-23 10:55: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-08-23 10:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590357504001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590357504001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:55:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:55:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590357504001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":160663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:55:52] local.INFO: GPS data processed {"connection_id":160663,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:55:52] local.INFO: Acknowledgment sent {"connection_id":160663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:56:07] local.INFO: TCP Data received {"connection_id":160662,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d13a000012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d13a000012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:56:07] local.INFO: Processing buffer {"connection_id":160662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d13a000012d1967c0071feea80038011d2a..."} 
[2026-08-23 10:56:07] local.INFO: Packet analysis {"connection_id":160662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:56:07] local.INFO: Extracted packet for processing {"connection_id":160662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590434560001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787462656000,"timestamp_ms":1787462656000,"timestamp_seconds":1787462656,"priority":1,"record_length":96,"hex_timestamp":"000001a02d13a000"} 
[2026-08-23 10:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 10:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590434560001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590434560001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:56:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:56:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590434560001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":160662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:56:07] local.INFO: GPS data processed {"connection_id":160662,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:56:07] local.INFO: Acknowledgment sent {"connection_id":160662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:56:23] local.INFO: TCP Data received {"connection_id":160663,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:56:23] local.INFO: Processing buffer {"connection_id":160663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:56:23] local.INFO: Packet analysis {"connection_id":160663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:56:23] local.INFO: Extracted packet for processing {"connection_id":160663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:56:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590357504001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787462635000,"timestamp_ms":1787462635000,"timestamp_seconds":1787462635,"priority":1,"record_length":96,"hex_timestamp":"000001a02d134df8"} 
[2026-08-23 10:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:56:23] 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-08-23 10:56:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590357504001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590357504001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:56:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:56:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590357504001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":160663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:56:23] local.INFO: GPS data processed {"connection_id":160663,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:56:23] local.INFO: Acknowledgment sent {"connection_id":160663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:56:35] local.INFO: TCP Data received {"connection_id":161614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:56:35] local.INFO: Processing buffer {"connection_id":161614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:56:35] local.INFO: IMEI packet received {"connection_id":161614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":161614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:56:39] local.INFO: TCP Data received {"connection_id":161614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:56:39] local.INFO: Processing buffer {"connection_id":161614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:56:39] local.INFO: IMEI packet received {"connection_id":161614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":161614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:56:40] local.INFO: TCP Data received {"connection_id":161614,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d13f208012d1967c0071feea80038011d28..."} 
[2026-08-23 10:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d13f208012d1967c0071feea80038011d28..."} 
[2026-08-23 10:56:40] local.INFO: Processing buffer {"connection_id":161614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d13f208012d1967c0071feea80038011d28..."} 
[2026-08-23 10:56:40] local.INFO: Packet analysis {"connection_id":161614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:56:40] local.INFO: Extracted packet for processing {"connection_id":161614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:56:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590439936001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787462677000,"timestamp_ms":1787462677000,"timestamp_seconds":1787462677,"priority":1,"record_length":96,"hex_timestamp":"000001a02d13f208"} 
[2026-08-23 10:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:56:40] 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-08-23 10: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-08-23 10:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590439936001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590439936001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:56:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:56:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590439936001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":161614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:56:40] local.INFO: GPS data processed {"connection_id":161614,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:56:40] local.INFO: Acknowledgment sent {"connection_id":161614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:56:41] local.INFO: TCP Data received {"connection_id":161614,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d144410012d1967c0071feea80038011d27..."} 
[2026-08-23 10:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d144410012d1967c0071feea80038011d27..."} 
[2026-08-23 10:56:41] local.INFO: Processing buffer {"connection_id":161614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d144410012d1967c0071feea80038011d27..."} 
[2026-08-23 10:56:41] local.INFO: Packet analysis {"connection_id":161614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d14"} 
[2026-08-23 10:56:41] local.INFO: Extracted packet for processing {"connection_id":161614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d14"} 
[2026-08-23 10:56:41] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590445312001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787462698000,"timestamp_ms":1787462698000,"timestamp_seconds":1787462698,"priority":1,"record_length":96,"hex_timestamp":"000001a02d144410"} 
[2026-08-23 10:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 10:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10: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-08-23 10:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590445312001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590445312001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:56:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:56:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590445312001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":161614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:56:41] local.INFO: GPS data processed {"connection_id":161614,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:56:41] local.INFO: Acknowledgment sent {"connection_id":161614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:56:46] local.INFO: TCP Data received {"connection_id":160431,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:56:46] local.INFO: Processing buffer {"connection_id":160431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:56:46] local.INFO: IMEI packet received {"connection_id":160431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":160431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:56:51] local.INFO: TCP Data received {"connection_id":160431,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:56:51] local.INFO: Processing buffer {"connection_id":160431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:56:51] local.INFO: IMEI packet received {"connection_id":160431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":160431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:56:53] local.INFO: TCP Data received {"connection_id":160431,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:56:53] local.INFO: Processing buffer {"connection_id":160431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:56:53] local.INFO: Packet analysis {"connection_id":160431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:56:53] local.INFO: Extracted packet for processing {"connection_id":160431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590357504001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787462635000,"timestamp_ms":1787462635000,"timestamp_seconds":1787462635,"priority":1,"record_length":96,"hex_timestamp":"000001a02d134df8"} 
[2026-08-23 10:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:56:53] 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-08-23 10:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:56:53] 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-08-23 10:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590357504001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590357504001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:56:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:56:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590357504001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":160431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:56:53] local.INFO: GPS data processed {"connection_id":160431,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:56:53] local.INFO: Acknowledgment sent {"connection_id":160431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:57:12] local.INFO: TCP Data received {"connection_id":161614,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d149618012d1967c0071feea80038011d27..."} 
[2026-08-23 10:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d149618012d1967c0071feea80038011d27..."} 
[2026-08-23 10:57:12] local.INFO: Processing buffer {"connection_id":161614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d149618012d1967c0071feea80038011d27..."} 
[2026-08-23 10:57:12] local.INFO: Packet analysis {"connection_id":161614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d14"} 
[2026-08-23 10:57:12] local.INFO: Extracted packet for processing {"connection_id":161614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d14"} 
[2026-08-23 10:57:12] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10: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-08-23 10:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590450688001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787462719000,"timestamp_ms":1787462719000,"timestamp_seconds":1787462719,"priority":1,"record_length":96,"hex_timestamp":"000001a02d149618"} 
[2026-08-23 10:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:57:12] 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-08-23 10: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-08-23 10:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590450688001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590450688001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:57:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:57:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590450688001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":161614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:57:12] local.INFO: GPS data processed {"connection_id":161614,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:57:12] local.INFO: Acknowledgment sent {"connection_id":161614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:57:25] local.INFO: TCP Data received {"connection_id":160431,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:57:25] local.INFO: Processing buffer {"connection_id":160431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:57:25] local.INFO: Packet analysis {"connection_id":160431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:57:25] local.INFO: Extracted packet for processing {"connection_id":160431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:57:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590357504001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787462635000,"timestamp_ms":1787462635000,"timestamp_seconds":1787462635,"priority":1,"record_length":96,"hex_timestamp":"000001a02d134df8"} 
[2026-08-23 10:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:57:25] 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-08-23 10:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590357504001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590357504001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:57:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:57:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590357504001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":160431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:57:25] local.INFO: GPS data processed {"connection_id":160431,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:57:25] local.INFO: Acknowledgment sent {"connection_id":160431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:57:30] local.INFO: TCP Data received {"connection_id":163019,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:57:30] local.INFO: Processing buffer {"connection_id":163019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:57:30] local.INFO: IMEI packet received {"connection_id":163019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":163019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:57:35] local.INFO: TCP Data received {"connection_id":163019,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:57:35] local.INFO: Processing buffer {"connection_id":163019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:57:35] local.INFO: IMEI packet received {"connection_id":163019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":163019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:57:36] local.INFO: TCP Data received {"connection_id":163019,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d14e820012d1967c0071feea80038011d20..."} 
[2026-08-23 10:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d14e820012d1967c0071feea80038011d20..."} 
[2026-08-23 10:57:36] local.INFO: Processing buffer {"connection_id":163019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d14e820012d1967c0071feea80038011d20..."} 
[2026-08-23 10:57:36] local.INFO: Packet analysis {"connection_id":163019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d14"} 
[2026-08-23 10:57:36] local.INFO: Extracted packet for processing {"connection_id":163019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d14"} 
[2026-08-23 10:57:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":32,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590456064001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787462740000,"timestamp_ms":1787462740000,"timestamp_seconds":1787462740,"priority":1,"record_length":96,"hex_timestamp":"000001a02d14e820"} 
[2026-08-23 10:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 10:57:36] 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-08-23 10:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590456064001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590456064001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:57:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:57:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590456064001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":163019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:57:36] local.INFO: GPS data processed {"connection_id":163019,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:57:36] local.INFO: Acknowledgment sent {"connection_id":163019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:57:46] local.INFO: TCP Data received {"connection_id":161615,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:57:46] local.INFO: Processing buffer {"connection_id":161615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:57:46] local.INFO: IMEI packet received {"connection_id":161615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":161615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:57:51] local.INFO: TCP Data received {"connection_id":161615,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:57:51] local.INFO: Processing buffer {"connection_id":161615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:57:51] local.INFO: IMEI packet received {"connection_id":161615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":161615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:57:52] local.INFO: TCP Data received {"connection_id":161615,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:57:52] local.INFO: Processing buffer {"connection_id":161615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:57:52] local.INFO: Packet analysis {"connection_id":161615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:57:52] local.INFO: Extracted packet for processing {"connection_id":161615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:57: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-08-23 10:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590357504001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787462635000,"timestamp_ms":1787462635000,"timestamp_seconds":1787462635,"priority":1,"record_length":96,"hex_timestamp":"000001a02d134df8"} 
[2026-08-23 10:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:57:52] 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-08-23 10:57: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-08-23 10:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590357504001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590357504001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:57:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590357504001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":161615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:57:52] local.INFO: GPS data processed {"connection_id":161615,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:57:52] local.INFO: Acknowledgment sent {"connection_id":161615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:58:07] local.INFO: TCP Data received {"connection_id":163019,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d153a28012d1967c0071feea80038011d22..."} 
[2026-08-23 10:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d153a28012d1967c0071feea80038011d22..."} 
[2026-08-23 10:58:07] local.INFO: Processing buffer {"connection_id":163019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d153a28012d1967c0071feea80038011d22..."} 
[2026-08-23 10:58:07] local.INFO: Packet analysis {"connection_id":163019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d15"} 
[2026-08-23 10:58:07] local.INFO: Extracted packet for processing {"connection_id":163019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d15"} 
[2026-08-23 10:58:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":34,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590461440001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787462761000,"timestamp_ms":1787462761000,"timestamp_seconds":1787462761,"priority":1,"record_length":96,"hex_timestamp":"000001a02d153a28"} 
[2026-08-23 10:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 10:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590461440001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590461440001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:58:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:58:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590461440001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":163019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:58:07] local.INFO: GPS data processed {"connection_id":163019,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:58:07] local.INFO: Acknowledgment sent {"connection_id":163019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:58:24] local.INFO: TCP Data received {"connection_id":161615,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:58:24] local.INFO: Processing buffer {"connection_id":161615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:58:24] local.INFO: Packet analysis {"connection_id":161615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:58:24] local.INFO: Extracted packet for processing {"connection_id":161615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:58:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590357504001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787462635000,"timestamp_ms":1787462635000,"timestamp_seconds":1787462635,"priority":1,"record_length":96,"hex_timestamp":"000001a02d134df8"} 
[2026-08-23 10:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590357504001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590357504001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:58:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:58:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590357504001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":161615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:58:24] local.INFO: GPS data processed {"connection_id":161615,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:58:24] local.INFO: Acknowledgment sent {"connection_id":161615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:58:30] local.INFO: TCP Data received {"connection_id":160432,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:58:30] local.INFO: Processing buffer {"connection_id":160432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:58:30] local.INFO: IMEI packet received {"connection_id":160432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":160432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:58:35] local.INFO: TCP Data received {"connection_id":160432,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:58:35] local.INFO: Processing buffer {"connection_id":160432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:58:35] local.INFO: IMEI packet received {"connection_id":160432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":160432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:58:36] local.INFO: TCP Data received {"connection_id":160432,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d158c30012d1967c0071feea80038011d25..."} 
[2026-08-23 10:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d158c30012d1967c0071feea80038011d25..."} 
[2026-08-23 10:58:36] local.INFO: Processing buffer {"connection_id":160432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d158c30012d1967c0071feea80038011d25..."} 
[2026-08-23 10:58:36] local.INFO: Packet analysis {"connection_id":160432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d15"} 
[2026-08-23 10:58:36] local.INFO: Extracted packet for processing {"connection_id":160432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d15"} 
[2026-08-23 10:58:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590466816001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787462782000,"timestamp_ms":1787462782000,"timestamp_seconds":1787462782,"priority":1,"record_length":96,"hex_timestamp":"000001a02d158c30"} 
[2026-08-23 10:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:58:36] 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-08-23 10:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 10:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590466816001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590466816001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:58:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:58:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590466816001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":160432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:58:36] local.INFO: GPS data processed {"connection_id":160432,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:58:36] local.INFO: Acknowledgment sent {"connection_id":160432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:58:51] local.INFO: TCP Data received {"connection_id":160664,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:58:51] local.INFO: Processing buffer {"connection_id":160664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:58:51] local.INFO: IMEI packet received {"connection_id":160664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":160664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:58:56] local.INFO: TCP Data received {"connection_id":160664,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:58:56] local.INFO: Processing buffer {"connection_id":160664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:58:56] local.INFO: IMEI packet received {"connection_id":160664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":160664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:58:57] local.INFO: TCP Data received {"connection_id":160664,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:58:57] local.INFO: Processing buffer {"connection_id":160664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:58:57] local.INFO: Packet analysis {"connection_id":160664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:58:57] local.INFO: Extracted packet for processing {"connection_id":160664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:58:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590357504001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787462635000,"timestamp_ms":1787462635000,"timestamp_seconds":1787462635,"priority":1,"record_length":96,"hex_timestamp":"000001a02d134df8"} 
[2026-08-23 10:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:58:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:58:57] 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-08-23 10:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590357504001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590357504001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:58:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:58:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590357504001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":160664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:58:57] local.INFO: GPS data processed {"connection_id":160664,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:58:57] local.INFO: Acknowledgment sent {"connection_id":160664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:59:02] local.INFO: TCP Data received {"connection_id":160664,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:59:02] local.INFO: Processing buffer {"connection_id":160664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d134df8012d34c50006aa4098000c00851b..."} 
[2026-08-23 10:59:02] local.INFO: Packet analysis {"connection_id":160664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:59:02] local.INFO: Extracted packet for processing {"connection_id":160664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 10:59:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590357504001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787462635000,"timestamp_ms":1787462635000,"timestamp_seconds":1787462635,"priority":1,"record_length":96,"hex_timestamp":"000001a02d134df8"} 
[2026-08-23 10:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 10:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:59:02] 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-08-23 10:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590357504001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590357504001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:59:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:59:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590357504001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":160664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:59:02] local.INFO: GPS data processed {"connection_id":160664,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:59:02] local.INFO: Acknowledgment sent {"connection_id":160664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:59:07] local.INFO: TCP Data received {"connection_id":160432,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d15de38012d1967c0071feea80038011d24..."} 
[2026-08-23 10:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d15de38012d1967c0071feea80038011d24..."} 
[2026-08-23 10:59:07] local.INFO: Processing buffer {"connection_id":160432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d15de38012d1967c0071feea80038011d24..."} 
[2026-08-23 10:59:07] local.INFO: Packet analysis {"connection_id":160432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d15"} 
[2026-08-23 10:59:07] local.INFO: Extracted packet for processing {"connection_id":160432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d15"} 
[2026-08-23 10:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590472192001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787462803000,"timestamp_ms":1787462803000,"timestamp_seconds":1787462803,"priority":1,"record_length":96,"hex_timestamp":"000001a02d15de38"} 
[2026-08-23 10:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 10:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 10:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590472192001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590472192001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:59:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:59:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590472192001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":160432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:59:07] local.INFO: GPS data processed {"connection_id":160432,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:59:07] local.INFO: Acknowledgment sent {"connection_id":160432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:59:30] local.INFO: TCP Data received {"connection_id":161616,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:59:30] local.INFO: Processing buffer {"connection_id":161616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:59:30] local.INFO: IMEI packet received {"connection_id":161616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 10:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":161616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:59:35] local.INFO: TCP Data received {"connection_id":161616,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:59:35] local.INFO: Processing buffer {"connection_id":161616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 10:59:35] local.INFO: IMEI packet received {"connection_id":161616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 10:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":161616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:59:36] local.INFO: TCP Data received {"connection_id":161616,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d163040012d1967c0071feea80038011d23..."} 
[2026-08-23 10:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d163040012d1967c0071feea80038011d23..."} 
[2026-08-23 10:59:36] local.INFO: Processing buffer {"connection_id":161616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d163040012d1967c0071feea80038011d23..."} 
[2026-08-23 10:59:36] local.INFO: Packet analysis {"connection_id":161616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d16"} 
[2026-08-23 10:59:36] local.INFO: Extracted packet for processing {"connection_id":161616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d16"} 
[2026-08-23 10:59:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 10:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590477568001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 10:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 10:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787462824000,"timestamp_ms":1787462824000,"timestamp_seconds":1787462824,"priority":1,"record_length":96,"hex_timestamp":"000001a02d163040"} 
[2026-08-23 10:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:59:36] 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-08-23 10:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 10:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 10:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 10:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 10:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 10:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590477568001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 10:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 10:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 10:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590477568001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:59:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 10:59:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 10:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 10:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590477568001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 10:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":161616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:59:36] local.INFO: GPS data processed {"connection_id":161616,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:59:36] local.INFO: Acknowledgment sent {"connection_id":161616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 10:59:46] local.INFO: TCP Data received {"connection_id":160665,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:59:46] local.INFO: Processing buffer {"connection_id":160665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:59:46] local.INFO: IMEI packet received {"connection_id":160665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 10:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":160665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 10:59:52] local.INFO: TCP Data received {"connection_id":160665,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:59:52] local.INFO: Processing buffer {"connection_id":160665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 10:59:52] local.INFO: IMEI packet received {"connection_id":160665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 10:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":160665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 10:59:53] local.INFO: TCP Data received {"connection_id":160665,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 10:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 10:59:53] local.INFO: Processing buffer {"connection_id":160665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 10:59:53] local.INFO: Packet analysis {"connection_id":160665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 10:59:53] local.INFO: Extracted packet for processing {"connection_id":160665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 10:59:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 10:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 10:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590434560001,"note":"Value kept but may cause issues"} 
[2026-08-23 10:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 10:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 10:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 10:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787462936000,"timestamp_ms":1787462936000,"timestamp_seconds":1787462936,"priority":1,"record_length":96,"hex_timestamp":"000001a02d17e5c0"} 
[2026-08-23 10:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 10:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 10:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 10:59:53] 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-08-23 10:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 10:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 10:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 10:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 10:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 10:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 10:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 10:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 10:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590434560001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 10:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 10:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 10:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590434560001,"description":"Unknown IO ID 0"} 
[2026-08-23 10:59:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 10:59:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 10:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 10:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 10:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590434560001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 10:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":160665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 10:59:53] local.INFO: GPS data processed {"connection_id":160665,"processed":1,"errors":0,"total":1} 
[2026-08-23 10:59:53] local.INFO: Acknowledgment sent {"connection_id":160665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:00:07] local.INFO: TCP Data received {"connection_id":161616,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d168248012d1967c0071feea80038011d21..."} 
[2026-08-23 11:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d168248012d1967c0071feea80038011d21..."} 
[2026-08-23 11:00:07] local.INFO: Processing buffer {"connection_id":161616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d168248012d1967c0071feea80038011d21..."} 
[2026-08-23 11:00:07] local.INFO: Packet analysis {"connection_id":161616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d16"} 
[2026-08-23 11:00:07] local.INFO: Extracted packet for processing {"connection_id":161616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d16"} 
[2026-08-23 11:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":33,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590482944001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787462845000,"timestamp_ms":1787462845000,"timestamp_seconds":1787462845,"priority":1,"record_length":96,"hex_timestamp":"000001a02d168248"} 
[2026-08-23 11:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 11:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590482944001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590482944001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:00:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590482944001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":161616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:00:07] local.INFO: GPS data processed {"connection_id":161616,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:00:07] local.INFO: Acknowledgment sent {"connection_id":161616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:00:24] local.INFO: TCP Data received {"connection_id":160665,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:00:24] local.INFO: Processing buffer {"connection_id":160665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:00:24] local.INFO: Packet analysis {"connection_id":160665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:00:24] local.INFO: Extracted packet for processing {"connection_id":160665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:00:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590434560001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787462936000,"timestamp_ms":1787462936000,"timestamp_seconds":1787462936,"priority":1,"record_length":96,"hex_timestamp":"000001a02d17e5c0"} 
[2026-08-23 11:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:00:24] 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-08-23 11:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590434560001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590434560001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:00:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:00:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590434560001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":160665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:00:24] local.INFO: GPS data processed {"connection_id":160665,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:00:24] local.INFO: Acknowledgment sent {"connection_id":160665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:00:30] local.INFO: TCP Data received {"connection_id":160666,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:00:30] local.INFO: Processing buffer {"connection_id":160666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:00:30] local.INFO: IMEI packet received {"connection_id":160666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":160666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:00:30] local.INFO: TCP Data received {"connection_id":160666,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:00:30] local.INFO: Processing buffer {"connection_id":160666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:00:30] local.INFO: IMEI packet received {"connection_id":160666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":160666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:00:35] local.INFO: TCP Data received {"connection_id":160666,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:00:35] local.INFO: Processing buffer {"connection_id":160666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:00:35] local.INFO: IMEI packet received {"connection_id":160666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":160666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:00:36] local.INFO: TCP Data received {"connection_id":160666,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d16d450012d1967c0071feea80038011d26..."} 
[2026-08-23 11:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d16d450012d1967c0071feea80038011d26..."} 
[2026-08-23 11:00:36] local.INFO: Processing buffer {"connection_id":160666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d16d450012d1967c0071feea80038011d26..."} 
[2026-08-23 11:00:36] local.INFO: Packet analysis {"connection_id":160666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d16"} 
[2026-08-23 11:00:36] local.INFO: Extracted packet for processing {"connection_id":160666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d16"} 
[2026-08-23 11:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11:00: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-08-23 11:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590488320001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787462866000,"timestamp_ms":1787462866000,"timestamp_seconds":1787462866,"priority":1,"record_length":96,"hex_timestamp":"000001a02d16d450"} 
[2026-08-23 11:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 11:00:36] 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-08-23 11:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590488320001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590488320001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:00:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590488320001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":160666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:00:36] local.INFO: GPS data processed {"connection_id":160666,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:00:36] local.INFO: Acknowledgment sent {"connection_id":160666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:00:46] local.INFO: TCP Data received {"connection_id":163020,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:00:46] local.INFO: Processing buffer {"connection_id":163020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:00:46] local.INFO: IMEI packet received {"connection_id":163020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":163020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:00:51] local.INFO: TCP Data received {"connection_id":163020,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:00:51] local.INFO: Processing buffer {"connection_id":163020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:00:51] local.INFO: IMEI packet received {"connection_id":163020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":163020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:00:52] local.INFO: TCP Data received {"connection_id":163020,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:00:52] local.INFO: Processing buffer {"connection_id":163020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:00:52] local.INFO: Packet analysis {"connection_id":163020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:00:52] local.INFO: Extracted packet for processing {"connection_id":163020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:00:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:00: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-08-23 11:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590434560001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787462936000,"timestamp_ms":1787462936000,"timestamp_seconds":1787462936,"priority":1,"record_length":96,"hex_timestamp":"000001a02d17e5c0"} 
[2026-08-23 11:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:00:52] 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-08-23 11:00: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-08-23 11:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:00:52] 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-08-23 11:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590434560001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590434560001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:00:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:00:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590434560001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":163020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:00:52] local.INFO: GPS data processed {"connection_id":163020,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:00:52] local.INFO: Acknowledgment sent {"connection_id":163020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:01:07] local.INFO: TCP Data received {"connection_id":160666,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d172658012d1967c0071feea80038011d27..."} 
[2026-08-23 11:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d172658012d1967c0071feea80038011d27..."} 
[2026-08-23 11:01:07] local.INFO: Processing buffer {"connection_id":160666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d172658012d1967c0071feea80038011d27..."} 
[2026-08-23 11:01:07] local.INFO: Packet analysis {"connection_id":160666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:01:07] local.INFO: Extracted packet for processing {"connection_id":160666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590493696001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787462887000,"timestamp_ms":1787462887000,"timestamp_seconds":1787462887,"priority":1,"record_length":96,"hex_timestamp":"000001a02d172658"} 
[2026-08-23 11:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 11:01:07] 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-08-23 11:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590493696001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590493696001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:01:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590493696001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":160666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:01:07] local.INFO: GPS data processed {"connection_id":160666,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:01:07] local.INFO: Acknowledgment sent {"connection_id":160666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:01:23] local.INFO: TCP Data received {"connection_id":163020,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:01:23] local.INFO: Processing buffer {"connection_id":163020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:01:23] local.INFO: Packet analysis {"connection_id":163020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:01:23] local.INFO: Extracted packet for processing {"connection_id":163020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:01:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590434560001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787462936000,"timestamp_ms":1787462936000,"timestamp_seconds":1787462936,"priority":1,"record_length":96,"hex_timestamp":"000001a02d17e5c0"} 
[2026-08-23 11:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:01:23] 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-08-23 11:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:01:23] 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-08-23 11:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590434560001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590434560001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:01:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:01:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590434560001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":163020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:01:23] local.INFO: GPS data processed {"connection_id":163020,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:01:23] local.INFO: Acknowledgment sent {"connection_id":163020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:01:29] local.INFO: TCP Data received {"connection_id":160667,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:01:29] local.INFO: Processing buffer {"connection_id":160667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:01:29] local.INFO: IMEI packet received {"connection_id":160667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":160667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:01:33] local.INFO: TCP Data received {"connection_id":160667,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:01:33] local.INFO: Processing buffer {"connection_id":160667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:01:33] local.INFO: IMEI packet received {"connection_id":160667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":160667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:01:34] local.INFO: TCP Data received {"connection_id":160667,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:01:34] local.INFO: Processing buffer {"connection_id":160667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:01:34] local.INFO: IMEI packet received {"connection_id":160667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":160667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:01:35] local.INFO: TCP Data received {"connection_id":160667,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d177860012d1967c0071feea80038011d24..."} 
[2026-08-23 11:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d177860012d1967c0071feea80038011d24..."} 
[2026-08-23 11:01:35] local.INFO: Processing buffer {"connection_id":160667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d177860012d1967c0071feea80038011d24..."} 
[2026-08-23 11:01:35] local.INFO: Packet analysis {"connection_id":160667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:01:35] local.INFO: Extracted packet for processing {"connection_id":160667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:01:35] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590499072001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787462908000,"timestamp_ms":1787462908000,"timestamp_seconds":1787462908,"priority":1,"record_length":96,"hex_timestamp":"000001a02d177860"} 
[2026-08-23 11:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 11:01:35] 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-08-23 11:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590499072001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590499072001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:01:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:01:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590499072001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":160667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:01:35] local.INFO: GPS data processed {"connection_id":160667,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:01:35] local.INFO: Acknowledgment sent {"connection_id":160667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:01:46] local.INFO: TCP Data received {"connection_id":161617,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:01:46] local.INFO: Processing buffer {"connection_id":161617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:01:46] local.INFO: IMEI packet received {"connection_id":161617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":161617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:01:52] local.INFO: TCP Data received {"connection_id":161617,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:01:52] local.INFO: Processing buffer {"connection_id":161617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:01:52] local.INFO: IMEI packet received {"connection_id":161617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":161617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:01:53] local.INFO: TCP Data received {"connection_id":161617,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:01:53] local.INFO: Processing buffer {"connection_id":161617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:01:53] local.INFO: Packet analysis {"connection_id":161617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:01:53] local.INFO: Extracted packet for processing {"connection_id":161617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:01:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590434560001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787462936000,"timestamp_ms":1787462936000,"timestamp_seconds":1787462936,"priority":1,"record_length":96,"hex_timestamp":"000001a02d17e5c0"} 
[2026-08-23 11:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:01:53] 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-08-23 11:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:01:53] 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-08-23 11:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590434560001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590434560001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:01:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:01:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590434560001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":161617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:01:53] local.INFO: GPS data processed {"connection_id":161617,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:01:53] local.INFO: Acknowledgment sent {"connection_id":161617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:02:06] local.INFO: TCP Data received {"connection_id":160434,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:02:06] local.INFO: Processing buffer {"connection_id":160434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:02:06] local.INFO: IMEI packet received {"connection_id":160434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 11:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":160434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:02:06] local.INFO: TCP Data received {"connection_id":160667,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d17ca68012d1967c0071feea80038011d1e..."} 
[2026-08-23 11:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d17ca68012d1967c0071feea80038011d1e..."} 
[2026-08-23 11:02:06] local.INFO: Processing buffer {"connection_id":160667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d17ca68012d1967c0071feea80038011d1e..."} 
[2026-08-23 11:02:06] local.INFO: Packet analysis {"connection_id":160667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:02:06] local.INFO: Extracted packet for processing {"connection_id":160667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":30,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590504448001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787462929000,"timestamp_ms":1787462929000,"timestamp_seconds":1787462929,"priority":1,"record_length":96,"hex_timestamp":"000001a02d17ca68"} 
[2026-08-23 11:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 11:02:06] 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-08-23 11:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590504448001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590504448001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:02:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590504448001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":160667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:02:07] local.INFO: GPS data processed {"connection_id":160667,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:02:07] local.INFO: Acknowledgment sent {"connection_id":160667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:02:11] local.INFO: TCP Data received {"connection_id":160434,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:02:11] local.INFO: Processing buffer {"connection_id":160434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:02:11] local.INFO: IMEI packet received {"connection_id":160434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":160434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:02:12] local.INFO: TCP Data received {"connection_id":160434,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d127338012d7e154005d3bf000007006c25..."} 
[2026-08-23 11:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d127338012d7e154005d3bf000007006c25..."} 
[2026-08-23 11:02:12] local.INFO: Processing buffer {"connection_id":160434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d127338012d7e154005d3bf000007006c25..."} 
[2026-08-23 11:02:12] local.INFO: Packet analysis {"connection_id":160434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d12"} 
[2026-08-23 11:02:12] local.INFO: Extracted packet for processing {"connection_id":160434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d12"} 
[2026-08-23 11:02:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 11:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590408960001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787462579000,"timestamp_ms":1787462579000,"timestamp_seconds":1787462579,"priority":1,"record_length":96,"hex_timestamp":"000001a02d127338"} 
[2026-08-23 11:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4352,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 11:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:12] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436516815360,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:12] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186035,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:12] local.WARNING: Large IO value detected {"io_id":131,"raw_value":8142508126285856769,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3242553695496142357,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:12] local.WARNING: Large IO value detected {"io_id":64,"raw_value":419889196996952172,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:12] local.WARNING: Large IO value detected {"io_id":7,"raw_value":30441078926606336,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:12] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055303,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:12] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569353490638,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:12] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3204448263,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3192979662,"corrected_to":0} 
[2026-08-23 11:02:12] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2264976830,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:12] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2205220864,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3552509952,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:12] local.WARNING: Large IO value detected {"io_id":35,"raw_value":283468496900,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:12] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,131,160,83,45,64,191,7,38,10,66,81,79,240,161,227,211,4,113,205,1,21,37,239,27,2,179,5,35],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3192979662,"validated":0}]} 
[2026-08-23 11:02:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504522064435085312,"timestamp_seconds":504522064435085.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 11:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590408960001,"66":12298,"110":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 11:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590408960001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:02:12] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 11:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 11:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590408960001,"power":12298,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 11:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":160434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:02:12] local.INFO: GPS data processed {"connection_id":160434,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:02:12] local.INFO: Acknowledgment sent {"connection_id":160434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:02:24] local.INFO: TCP Data received {"connection_id":161617,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:02:24] local.INFO: Processing buffer {"connection_id":161617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:02:24] local.INFO: Packet analysis {"connection_id":161617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:02:24] local.INFO: Extracted packet for processing {"connection_id":161617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:02:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590434560001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787462936000,"timestamp_ms":1787462936000,"timestamp_seconds":1787462936,"priority":1,"record_length":96,"hex_timestamp":"000001a02d17e5c0"} 
[2026-08-23 11:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:02:24] 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-08-23 11:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590434560001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590434560001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:02:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:02:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590434560001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":161617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:02:24] local.INFO: GPS data processed {"connection_id":161617,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:02:24] local.INFO: Acknowledgment sent {"connection_id":161617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:02:35] local.INFO: TCP Data received {"connection_id":161618,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:02:35] local.INFO: Processing buffer {"connection_id":161618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:02:35] local.INFO: IMEI packet received {"connection_id":161618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":161618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:02:36] local.INFO: TCP Data received {"connection_id":161618,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:02:36] local.INFO: Processing buffer {"connection_id":161618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:02:36] local.INFO: IMEI packet received {"connection_id":161618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":161618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:02:36] local.INFO: TCP Data received {"connection_id":161618,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d181c70012d1967c0071feea80038011d20..."} 
[2026-08-23 11:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d181c70012d1967c0071feea80038011d20..."} 
[2026-08-23 11:02:36] local.INFO: Processing buffer {"connection_id":161618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d181c70012d1967c0071feea80038011d20..."} 
[2026-08-23 11:02:36] local.INFO: Packet analysis {"connection_id":161618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d18"} 
[2026-08-23 11:02:36] local.INFO: Extracted packet for processing {"connection_id":161618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d18"} 
[2026-08-23 11:02:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":32,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590509824001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787462950000,"timestamp_ms":1787462950000,"timestamp_seconds":1787462950,"priority":1,"record_length":96,"hex_timestamp":"000001a02d181c70"} 
[2026-08-23 11:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 11:02:36] 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-08-23 11: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-08-23 11:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590509824001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590509824001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:02:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:02:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590509824001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":161618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:02:36] local.INFO: GPS data processed {"connection_id":161618,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:02:36] local.INFO: Acknowledgment sent {"connection_id":161618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:02:40] local.INFO: TCP Data received {"connection_id":161618,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d186e78012d1967c0071feea80038011d25..."} 
[2026-08-23 11:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d186e78012d1967c0071feea80038011d25..."} 
[2026-08-23 11:02:40] local.INFO: Processing buffer {"connection_id":161618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d186e78012d1967c0071feea80038011d25..."} 
[2026-08-23 11:02:40] local.INFO: Packet analysis {"connection_id":161618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d18"} 
[2026-08-23 11:02:40] local.INFO: Extracted packet for processing {"connection_id":161618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d18"} 
[2026-08-23 11:02:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590515200001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787462971000,"timestamp_ms":1787462971000,"timestamp_seconds":1787462971,"priority":1,"record_length":96,"hex_timestamp":"000001a02d186e78"} 
[2026-08-23 11:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 11:02:40] 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-08-23 11: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-08-23 11:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590515200001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590515200001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:02:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:02:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590515200001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":161618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:02:40] local.INFO: GPS data processed {"connection_id":161618,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:02:40] local.INFO: Acknowledgment sent {"connection_id":161618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:02:45] local.INFO: TCP Data received {"connection_id":160434,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d127338012d7e154005d3bf000007006c25..."} 
[2026-08-23 11:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d127338012d7e154005d3bf000007006c25..."} 
[2026-08-23 11:02:45] local.INFO: Processing buffer {"connection_id":160434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d127338012d7e154005d3bf000007006c25..."} 
[2026-08-23 11:02:45] local.INFO: Packet analysis {"connection_id":160434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d12"} 
[2026-08-23 11:02:45] local.INFO: Extracted packet for processing {"connection_id":160434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d12"} 
[2026-08-23 11:02:45] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 11:02:45] 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-08-23 11:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590420224001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787462579000,"timestamp_ms":1787462579000,"timestamp_seconds":1787462579,"priority":1,"record_length":96,"hex_timestamp":"000001a02d127338"} 
[2026-08-23 11:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4608,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 11:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:45] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436516815360,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:45] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186035,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:45] local.WARNING: Large IO value detected {"io_id":131,"raw_value":8142508126285856769,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:45] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3243923790063566357,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:45] local.WARNING: Large IO value detected {"io_id":64,"raw_value":419889196996952172,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":30439979414986496,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:45] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055309,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:45] local.WARNING: Large IO value detected {"io_id":66,"raw_value":1983555044541268174,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:45] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3204448263,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3192979662,"corrected_to":0} 
[2026-08-23 11:02:45] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2264976830,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:45] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2205220864,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3552509952,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:45] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,110,85,24,241,157,16,131,160,199,45,64,191,7,37,10,66,109,83,38,81,79,240,161,227,211,4,113,205,1,21,239,27,2,179,5],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3192979662,"validated":0}]} 
[2026-08-23 11:02:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504522064435085343,"timestamp_seconds":504522064435085.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 11:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590420224001,"66":12298,"110":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 11:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590420224001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:02:45] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 11:02:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 11:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590420224001,"power":12298,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 11:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":160434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:02:45] local.INFO: GPS data processed {"connection_id":160434,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:02:45] local.INFO: Acknowledgment sent {"connection_id":160434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:02:51] local.INFO: TCP Data received {"connection_id":160668,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:02:51] local.INFO: Processing buffer {"connection_id":160668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:02:51] local.INFO: IMEI packet received {"connection_id":160668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":160668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:02:56] local.INFO: TCP Data received {"connection_id":160668,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:02:56] local.INFO: Processing buffer {"connection_id":160668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:02:56] local.INFO: IMEI packet received {"connection_id":160668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":160668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:02:58] local.INFO: TCP Data received {"connection_id":160668,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:02:58] local.INFO: Processing buffer {"connection_id":160668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:02:58] local.INFO: Packet analysis {"connection_id":160668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:02:58] local.INFO: Extracted packet for processing {"connection_id":160668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:02:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590434560001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787462936000,"timestamp_ms":1787462936000,"timestamp_seconds":1787462936,"priority":1,"record_length":96,"hex_timestamp":"000001a02d17e5c0"} 
[2026-08-23 11:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:02:58] 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-08-23 11:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590434560001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590434560001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:02:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:02:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590434560001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":160668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:02:58] local.INFO: GPS data processed {"connection_id":160668,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:02:58] local.INFO: Acknowledgment sent {"connection_id":160668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:03:01] local.INFO: TCP Data received {"connection_id":160668,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:03:01] local.INFO: Processing buffer {"connection_id":160668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:03:01] local.INFO: Packet analysis {"connection_id":160668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:03:01] local.INFO: Extracted packet for processing {"connection_id":160668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:03:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590434560001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787462936000,"timestamp_ms":1787462936000,"timestamp_seconds":1787462936,"priority":1,"record_length":96,"hex_timestamp":"000001a02d17e5c0"} 
[2026-08-23 11:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590434560001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590434560001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:03:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:03:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590434560001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":160668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:03:01] local.INFO: GPS data processed {"connection_id":160668,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:03:01] local.INFO: Acknowledgment sent {"connection_id":160668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:03:11] local.INFO: TCP Data received {"connection_id":161618,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d18c080012d1967c0071feea80038011d26..."} 
[2026-08-23 11:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d18c080012d1967c0071feea80038011d26..."} 
[2026-08-23 11:03:11] local.INFO: Processing buffer {"connection_id":161618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d18c080012d1967c0071feea80038011d26..."} 
[2026-08-23 11:03:11] local.INFO: Packet analysis {"connection_id":161618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d18"} 
[2026-08-23 11:03:11] local.INFO: Extracted packet for processing {"connection_id":161618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d18"} 
[2026-08-23 11:03:11] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590520576001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787462992000,"timestamp_ms":1787462992000,"timestamp_seconds":1787462992,"priority":1,"record_length":96,"hex_timestamp":"000001a02d18c080"} 
[2026-08-23 11:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 11:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:11] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:11] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:11] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3248837232650164583,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:11] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:11] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80256652246253568,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:11] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:11] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:11] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":26625,"corrected_to":0} 
[2026-08-23 11:03:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 11:03:11] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:11] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,22,160,28,45,192,238,56,32,10,66,202,30,120,1,240,53,227,31,4,113,205,212,103,168,38,239,48,2,54,7,35],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":202,"original":26625,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 11:03:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538785851670528,"timestamp_seconds":4035538785851670.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 11:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590520576001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590520576001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:03:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:03:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590520576001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":161618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:03:11] local.INFO: GPS data processed {"connection_id":161618,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:03:11] local.INFO: Acknowledgment sent {"connection_id":161618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:03:11] local.INFO: TCP Data received {"connection_id":163021,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163021,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:03:11] local.INFO: Processing buffer {"connection_id":163021,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:03:11] local.INFO: IMEI packet received {"connection_id":163021,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 11:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":163021,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:03:16] local.INFO: TCP Data received {"connection_id":163021,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163021,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:03:16] local.INFO: Processing buffer {"connection_id":163021,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:03:16] local.INFO: IMEI packet received {"connection_id":163021,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":163021,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:03:17] local.INFO: TCP Data received {"connection_id":163021,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d130b90012d7e154005d3bf000007006c21..."} 
[2026-08-23 11:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d130b90012d7e154005d3bf000007006c21..."} 
[2026-08-23 11:03:17] local.INFO: Processing buffer {"connection_id":163021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d130b90012d7e154005d3bf000007006c21..."} 
[2026-08-23 11:03:17] local.INFO: Packet analysis {"connection_id":163021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 11:03:17] local.INFO: Extracted packet for processing {"connection_id":163021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 11:03:17] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":33,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 11:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590420224001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787462618000,"timestamp_ms":1787462618000,"timestamp_seconds":1787462618,"priority":1,"record_length":96,"hex_timestamp":"000001a02d130b90"} 
[2026-08-23 11:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4608,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 11:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:17] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436516815360,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:17] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186035,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:17] local.WARNING: Large IO value detected {"io_id":131,"raw_value":8142508126285856769,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3245126380906446357,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:17] local.WARNING: Large IO value detected {"io_id":64,"raw_value":419889196996952172,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:17] local.WARNING: Large IO value detected {"io_id":7,"raw_value":30439979414995456,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:17] local.WARNING: Large IO value detected {"io_id":37,"raw_value":133144641540,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:17] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055309,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:17] local.WARNING: Large IO value detected {"io_id":66,"raw_value":1983555044541268174,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:17] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3204448263,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3192979662,"corrected_to":0} 
[2026-08-23 11:03:17] local.WARNING: Large IO value detected {"io_id":8,"raw_value":2701184446,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:17] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2205220864,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:17] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3552509952,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:17] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,110,85,24,241,157,16,131,160,115,45,64,191,7,37,10,66,199,109,83,240,161,227,211,4,113,205,79,21,38,239,1,8,81,2,179,5],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3192979662,"validated":0}]} 
[2026-08-23 11:03:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504522064435085378,"timestamp_seconds":504522064435085.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 11:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590420224001,"66":2209,"110":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 11:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590420224001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:03:17] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 11:03:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 11:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590420224001,"power":2209,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 11:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":163021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:03:17] local.INFO: GPS data processed {"connection_id":163021,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:03:17] local.INFO: Acknowledgment sent {"connection_id":163021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:03:22] local.INFO: TCP Data received {"connection_id":163021,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d130b90012d7e154005d3bf000007006c21..."} 
[2026-08-23 11:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d130b90012d7e154005d3bf000007006c21..."} 
[2026-08-23 11:03:22] local.INFO: Processing buffer {"connection_id":163021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d130b90012d7e154005d3bf000007006c21..."} 
[2026-08-23 11:03:22] local.INFO: Packet analysis {"connection_id":163021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 11:03:22] local.INFO: Extracted packet for processing {"connection_id":163021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d13"} 
[2026-08-23 11:03:22] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":33,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 11:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590430208001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787462618000,"timestamp_ms":1787462618000,"timestamp_seconds":1787462618,"priority":1,"record_length":96,"hex_timestamp":"000001a02d130b90"} 
[2026-08-23 11:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":768,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 11:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590430208001,"66":2209,"110":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 11:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590430208001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:03:22] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 11:03:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 11:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590430208001,"power":2209,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 11:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":163021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:03:22] local.INFO: GPS data processed {"connection_id":163021,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:03:22] local.INFO: Acknowledgment sent {"connection_id":163021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:03:30] local.INFO: TCP Data received {"connection_id":160435,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:03:30] local.INFO: Processing buffer {"connection_id":160435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:03:30] local.INFO: IMEI packet received {"connection_id":160435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":160435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:03:35] local.INFO: TCP Data received {"connection_id":160435,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:03:35] local.INFO: Processing buffer {"connection_id":160435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:03:35] local.INFO: IMEI packet received {"connection_id":160435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":160435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:03:36] local.INFO: TCP Data received {"connection_id":160435,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d191288012d1967c0071feea80038011d24..."} 
[2026-08-23 11:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d191288012d1967c0071feea80038011d24..."} 
[2026-08-23 11:03:36] local.INFO: Processing buffer {"connection_id":160435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d191288012d1967c0071feea80038011d24..."} 
[2026-08-23 11:03:36] local.INFO: Packet analysis {"connection_id":160435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d19"} 
[2026-08-23 11:03:36] local.INFO: Extracted packet for processing {"connection_id":160435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d19"} 
[2026-08-23 11:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11:03: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-08-23 11:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590525952001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787463013000,"timestamp_ms":1787463013000,"timestamp_seconds":1787463013,"priority":1,"record_length":96,"hex_timestamp":"000001a02d191288"} 
[2026-08-23 11:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 11:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:03: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-08-23 11:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590525952001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590525952001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:03:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590525952001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":160435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:03:36] local.INFO: GPS data processed {"connection_id":160435,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:03:36] local.INFO: Acknowledgment sent {"connection_id":160435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:03:46] local.INFO: TCP Data received {"connection_id":163022,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:03:46] local.INFO: Processing buffer {"connection_id":163022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:03:46] local.INFO: IMEI packet received {"connection_id":163022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":163022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:03:51] local.INFO: TCP Data received {"connection_id":163022,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:03:51] local.INFO: Processing buffer {"connection_id":163022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:03:51] local.INFO: IMEI packet received {"connection_id":163022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":163022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:03:52] local.INFO: TCP Data received {"connection_id":163022,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:03:52] local.INFO: Processing buffer {"connection_id":163022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:03:52] local.INFO: Packet analysis {"connection_id":163022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:03:52] local.INFO: Extracted packet for processing {"connection_id":163022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:03:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590434560001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787462936000,"timestamp_ms":1787462936000,"timestamp_seconds":1787462936,"priority":1,"record_length":96,"hex_timestamp":"000001a02d17e5c0"} 
[2026-08-23 11:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:03:52] 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-08-23 11:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590434560001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590434560001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:03:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:03:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590434560001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":163022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:03:52] local.INFO: GPS data processed {"connection_id":163022,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:03:52] local.INFO: Acknowledgment sent {"connection_id":163022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:04:07] local.INFO: TCP Data received {"connection_id":160435,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d196490012d1967c0071feea80038011d24..."} 
[2026-08-23 11:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d196490012d1967c0071feea80038011d24..."} 
[2026-08-23 11:04:07] local.INFO: Processing buffer {"connection_id":160435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d196490012d1967c0071feea80038011d24..."} 
[2026-08-23 11:04:07] local.INFO: Packet analysis {"connection_id":160435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d19"} 
[2026-08-23 11:04:07] local.INFO: Extracted packet for processing {"connection_id":160435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d19"} 
[2026-08-23 11:04:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590531328001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787463034000,"timestamp_ms":1787463034000,"timestamp_seconds":1787463034,"priority":1,"record_length":96,"hex_timestamp":"000001a02d196490"} 
[2026-08-23 11:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 11:04:07] 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-08-23 11: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-08-23 11:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590531328001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590531328001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:04:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:04:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590531328001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":160435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:04:07] local.INFO: GPS data processed {"connection_id":160435,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:04:07] local.INFO: Acknowledgment sent {"connection_id":160435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:04:24] local.INFO: TCP Data received {"connection_id":163022,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:04:24] local.INFO: Processing buffer {"connection_id":163022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d17e5c0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:04:24] local.INFO: Packet analysis {"connection_id":163022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:04:24] local.INFO: Extracted packet for processing {"connection_id":163022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d17"} 
[2026-08-23 11:04:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590434560001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787462936000,"timestamp_ms":1787462936000,"timestamp_seconds":1787462936,"priority":1,"record_length":96,"hex_timestamp":"000001a02d17e5c0"} 
[2026-08-23 11:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:04:24] 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-08-23 11:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590434560001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590434560001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:04:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:04:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590434560001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":163022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:04:24] local.INFO: GPS data processed {"connection_id":163022,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:04:24] local.INFO: Acknowledgment sent {"connection_id":163022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:04:30] local.INFO: TCP Data received {"connection_id":160669,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:04:30] local.INFO: Processing buffer {"connection_id":160669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:04:30] local.INFO: IMEI packet received {"connection_id":160669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":160669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:04:35] local.INFO: TCP Data received {"connection_id":160669,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:04:35] local.INFO: Processing buffer {"connection_id":160669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:04:35] local.INFO: IMEI packet received {"connection_id":160669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":160669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:04:36] local.INFO: TCP Data received {"connection_id":160669,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d19b698012d1967c0071feea80038011d26..."} 
[2026-08-23 11:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d19b698012d1967c0071feea80038011d26..."} 
[2026-08-23 11:04:36] local.INFO: Processing buffer {"connection_id":160669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d19b698012d1967c0071feea80038011d26..."} 
[2026-08-23 11:04:36] local.INFO: Packet analysis {"connection_id":160669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d19"} 
[2026-08-23 11:04:36] local.INFO: Extracted packet for processing {"connection_id":160669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d19"} 
[2026-08-23 11:04:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590536704001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787463055000,"timestamp_ms":1787463055000,"timestamp_seconds":1787463055,"priority":1,"record_length":96,"hex_timestamp":"000001a02d19b698"} 
[2026-08-23 11:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 11:04:36] 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-08-23 11:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590536704001,"66":12287,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590536704001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:04:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:04:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590536704001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":160669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:04:36] local.INFO: GPS data processed {"connection_id":160669,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:04:36] local.INFO: Acknowledgment sent {"connection_id":160669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:04:46] local.INFO: TCP Data received {"connection_id":160670,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:04:46] local.INFO: Processing buffer {"connection_id":160670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:04:46] local.INFO: IMEI packet received {"connection_id":160670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":160670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:04:52] local.INFO: TCP Data received {"connection_id":160670,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:04:52] local.INFO: Processing buffer {"connection_id":160670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:04:52] local.INFO: IMEI packet received {"connection_id":160670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":160670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:04:54] local.INFO: TCP Data received {"connection_id":160670,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:04:54] local.INFO: Processing buffer {"connection_id":160670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:04:54] local.INFO: Packet analysis {"connection_id":160670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:04:54] local.INFO: Extracted packet for processing {"connection_id":160670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:04:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590511616001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787463237000,"timestamp_ms":1787463237000,"timestamp_seconds":1787463237,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1c7d88"} 
[2026-08-23 11:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 11:04:54] 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-08-23 11: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-08-23 11:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590511616001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590511616001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:04:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:04:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590511616001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":160670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:04:54] local.INFO: GPS data processed {"connection_id":160670,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:04:54] local.INFO: Acknowledgment sent {"connection_id":160670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:05:07] local.INFO: TCP Data received {"connection_id":160669,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1a08a0012d1967c0071feea80038011d25..."} 
[2026-08-23 11:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1a08a0012d1967c0071feea80038011d25..."} 
[2026-08-23 11:05:07] local.INFO: Processing buffer {"connection_id":160669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1a08a0012d1967c0071feea80038011d25..."} 
[2026-08-23 11:05:07] local.INFO: Packet analysis {"connection_id":160669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1a"} 
[2026-08-23 11:05:07] local.INFO: Extracted packet for processing {"connection_id":160669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1a"} 
[2026-08-23 11:05:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590542080001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787463076000,"timestamp_ms":1787463076000,"timestamp_seconds":1787463076,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1a08a0"} 
[2026-08-23 11:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 11:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590542080001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590542080001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:05:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:05:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590542080001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":160669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:05:07] local.INFO: GPS data processed {"connection_id":160669,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:05:07] local.INFO: Acknowledgment sent {"connection_id":160669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:05:26] local.INFO: TCP Data received {"connection_id":160670,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:05:26] local.INFO: Processing buffer {"connection_id":160670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:05:26] local.INFO: Packet analysis {"connection_id":160670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:05:26] local.INFO: Extracted packet for processing {"connection_id":160670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:05:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 11:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590511616001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787463237000,"timestamp_ms":1787463237000,"timestamp_seconds":1787463237,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1c7d88"} 
[2026-08-23 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-08-23 11:05: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-08-23 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 11:05:26] 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-08-23 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-08-23 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-08-23 11:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590511616001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590511616001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:05:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:05:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590511616001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":160670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:05:26] local.INFO: GPS data processed {"connection_id":160670,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:05:26] local.INFO: Acknowledgment sent {"connection_id":160670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:05:30] local.INFO: TCP Data received {"connection_id":160436,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:05:30] local.INFO: Processing buffer {"connection_id":160436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:05:30] local.INFO: IMEI packet received {"connection_id":160436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":160436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:05:35] local.INFO: TCP Data received {"connection_id":160436,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:05:35] local.INFO: Processing buffer {"connection_id":160436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:05:35] local.INFO: IMEI packet received {"connection_id":160436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":160436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:05:36] local.INFO: TCP Data received {"connection_id":160436,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1a5aa8012d1967c0071feea80038011d24..."} 
[2026-08-23 11:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1a5aa8012d1967c0071feea80038011d24..."} 
[2026-08-23 11:05:36] local.INFO: Processing buffer {"connection_id":160436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1a5aa8012d1967c0071feea80038011d24..."} 
[2026-08-23 11:05:36] local.INFO: Packet analysis {"connection_id":160436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1a"} 
[2026-08-23 11:05:36] local.INFO: Extracted packet for processing {"connection_id":160436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1a"} 
[2026-08-23 11:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590547456001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787463097000,"timestamp_ms":1787463097000,"timestamp_seconds":1787463097,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1a5aa8"} 
[2026-08-23 11:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 11:05:36] 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-08-23 11:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590547456001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590547456001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:05:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590547456001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":160436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:05:36] local.INFO: GPS data processed {"connection_id":160436,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:05:36] local.INFO: Acknowledgment sent {"connection_id":160436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:05:46] local.INFO: TCP Data received {"connection_id":160437,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:05:46] local.INFO: Processing buffer {"connection_id":160437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:05:46] local.INFO: IMEI packet received {"connection_id":160437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":160437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:05:51] local.INFO: TCP Data received {"connection_id":160437,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:05:51] local.INFO: Processing buffer {"connection_id":160437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:05:51] local.INFO: IMEI packet received {"connection_id":160437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":160437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:05:53] local.INFO: TCP Data received {"connection_id":160437,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:05:53] local.INFO: Processing buffer {"connection_id":160437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:05:53] local.INFO: Packet analysis {"connection_id":160437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:05:53] local.INFO: Extracted packet for processing {"connection_id":160437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:05:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590511616001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787463237000,"timestamp_ms":1787463237000,"timestamp_seconds":1787463237,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1c7d88"} 
[2026-08-23 11:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 11:05:53] 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-08-23 11: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-08-23 11:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590511616001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590511616001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:05:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:05:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590511616001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":160437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:05:53] local.INFO: GPS data processed {"connection_id":160437,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:05:53] local.INFO: Acknowledgment sent {"connection_id":160437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:06:07] local.INFO: TCP Data received {"connection_id":160436,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1aacb0012d1967c0071feea80038011d26..."} 
[2026-08-23 11:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1aacb0012d1967c0071feea80038011d26..."} 
[2026-08-23 11:06:07] local.INFO: Processing buffer {"connection_id":160436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1aacb0012d1967c0071feea80038011d26..."} 
[2026-08-23 11:06:07] local.INFO: Packet analysis {"connection_id":160436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1a"} 
[2026-08-23 11:06:07] local.INFO: Extracted packet for processing {"connection_id":160436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1a"} 
[2026-08-23 11:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590552832001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787463118000,"timestamp_ms":1787463118000,"timestamp_seconds":1787463118,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1aacb0"} 
[2026-08-23 11:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:06: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-08-23 11:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 11:06:07] 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-08-23 11:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590552832001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590552832001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:06:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590552832001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":160436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:06:07] local.INFO: GPS data processed {"connection_id":160436,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:06:07] local.INFO: Acknowledgment sent {"connection_id":160436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:06:25] local.INFO: TCP Data received {"connection_id":160437,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:06:25] local.INFO: Processing buffer {"connection_id":160437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:06:25] local.INFO: Packet analysis {"connection_id":160437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:06:25] local.INFO: Extracted packet for processing {"connection_id":160437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:06:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590511616001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787463237000,"timestamp_ms":1787463237000,"timestamp_seconds":1787463237,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1c7d88"} 
[2026-08-23 11:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 11:06:25] 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-08-23 11:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590511616001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590511616001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:06:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:06:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590511616001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":160437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:06:25] local.INFO: GPS data processed {"connection_id":160437,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:06:25] local.INFO: Acknowledgment sent {"connection_id":160437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:06:29] local.INFO: TCP Data received {"connection_id":161619,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:06:29] local.INFO: Processing buffer {"connection_id":161619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:06:29] local.INFO: IMEI packet received {"connection_id":161619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":161619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:06:35] local.INFO: TCP Data received {"connection_id":161619,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:06:35] local.INFO: Processing buffer {"connection_id":161619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:06:35] local.INFO: IMEI packet received {"connection_id":161619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":161619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:06:36] local.INFO: TCP Data received {"connection_id":161619,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1afeb8012d1967c0071feea80038011d27..."} 
[2026-08-23 11:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1afeb8012d1967c0071feea80038011d27..."} 
[2026-08-23 11:06:36] local.INFO: Processing buffer {"connection_id":161619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1afeb8012d1967c0071feea80038011d27..."} 
[2026-08-23 11:06:36] local.INFO: Packet analysis {"connection_id":161619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1a"} 
[2026-08-23 11:06:36] local.INFO: Extracted packet for processing {"connection_id":161619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1a"} 
[2026-08-23 11:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590558208001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787463139000,"timestamp_ms":1787463139000,"timestamp_seconds":1787463139,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1afeb8"} 
[2026-08-23 11:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 11:06:36] 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-08-23 11: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-08-23 11:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590558208001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590558208001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:06:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590558208001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":161619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:06:36] local.INFO: GPS data processed {"connection_id":161619,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:06:36] local.INFO: Acknowledgment sent {"connection_id":161619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:06:46] local.INFO: TCP Data received {"connection_id":160671,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:06:46] local.INFO: Processing buffer {"connection_id":160671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:06:46] local.INFO: IMEI packet received {"connection_id":160671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":160671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:06:51] local.INFO: TCP Data received {"connection_id":160671,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:06:51] local.INFO: Processing buffer {"connection_id":160671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:06:51] local.INFO: IMEI packet received {"connection_id":160671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":160671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:06:52] local.INFO: TCP Data received {"connection_id":160671,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:06:52] local.INFO: Processing buffer {"connection_id":160671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:06:52] local.INFO: Packet analysis {"connection_id":160671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:06:52] local.INFO: Extracted packet for processing {"connection_id":160671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:06: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-08-23 11:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590511616001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787463237000,"timestamp_ms":1787463237000,"timestamp_seconds":1787463237,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1c7d88"} 
[2026-08-23 11:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 11:06:52] 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-08-23 11:06: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-08-23 11:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:06:52] 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-08-23 11:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590511616001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590511616001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:06:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590511616001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":160671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:06:52] local.INFO: GPS data processed {"connection_id":160671,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:06:52] local.INFO: Acknowledgment sent {"connection_id":160671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:07:07] local.INFO: TCP Data received {"connection_id":161619,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1b50c0012d1967c0071feea80038011d28..."} 
[2026-08-23 11:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1b50c0012d1967c0071feea80038011d28..."} 
[2026-08-23 11:07:07] local.INFO: Processing buffer {"connection_id":161619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1b50c0012d1967c0071feea80038011d28..."} 
[2026-08-23 11:07:07] local.INFO: Packet analysis {"connection_id":161619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1b"} 
[2026-08-23 11:07:07] local.INFO: Extracted packet for processing {"connection_id":161619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1b"} 
[2026-08-23 11:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590563584001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787463160000,"timestamp_ms":1787463160000,"timestamp_seconds":1787463160,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1b50c0"} 
[2026-08-23 11:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 11:07:07] 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-08-23 11:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590563584001,"66":12319,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590563584001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:07:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:07:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590563584001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":161619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:07:07] local.INFO: GPS data processed {"connection_id":161619,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:07:07] local.INFO: Acknowledgment sent {"connection_id":161619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:07:25] local.INFO: TCP Data received {"connection_id":160671,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:07:25] local.INFO: Processing buffer {"connection_id":160671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:07:25] local.INFO: Packet analysis {"connection_id":160671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:07:25] local.INFO: Extracted packet for processing {"connection_id":160671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:07:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590511616001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787463237000,"timestamp_ms":1787463237000,"timestamp_seconds":1787463237,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1c7d88"} 
[2026-08-23 11:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 11:07:25] 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-08-23 11:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:07:25] 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-08-23 11:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590511616001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590511616001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:07:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:07:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590511616001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":160671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:07:25] local.INFO: GPS data processed {"connection_id":160671,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:07:25] local.INFO: Acknowledgment sent {"connection_id":160671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:07:30] local.INFO: TCP Data received {"connection_id":163023,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:07:30] local.INFO: Processing buffer {"connection_id":163023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:07:30] local.INFO: IMEI packet received {"connection_id":163023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":163023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:07:30] local.INFO: TCP Data received {"connection_id":163023,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:07:30] local.INFO: Processing buffer {"connection_id":163023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:07:30] local.INFO: IMEI packet received {"connection_id":163023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":163023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:07:35] local.INFO: TCP Data received {"connection_id":163023,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:07:35] local.INFO: Processing buffer {"connection_id":163023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:07:35] local.INFO: IMEI packet received {"connection_id":163023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":163023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:07:36] local.INFO: TCP Data received {"connection_id":163023,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1ba2c8012d1967c0071feea80038011d28..."} 
[2026-08-23 11:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1ba2c8012d1967c0071feea80038011d28..."} 
[2026-08-23 11:07:36] local.INFO: Processing buffer {"connection_id":163023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1ba2c8012d1967c0071feea80038011d28..."} 
[2026-08-23 11:07:36] local.INFO: Packet analysis {"connection_id":163023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1b"} 
[2026-08-23 11:07:36] local.INFO: Extracted packet for processing {"connection_id":163023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1b"} 
[2026-08-23 11:07:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590568960001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787463181000,"timestamp_ms":1787463181000,"timestamp_seconds":1787463181,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1ba2c8"} 
[2026-08-23 11:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 11:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590568960001,"66":12298,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590568960001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:07:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:07:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590568960001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":163023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:07:36] local.INFO: GPS data processed {"connection_id":163023,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:07:36] local.INFO: Acknowledgment sent {"connection_id":163023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:07:51] local.INFO: TCP Data received {"connection_id":160438,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:07:51] local.INFO: Processing buffer {"connection_id":160438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:07:51] local.INFO: IMEI packet received {"connection_id":160438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":160438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:07:56] local.INFO: TCP Data received {"connection_id":160438,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:07:56] local.INFO: Processing buffer {"connection_id":160438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:07:56] local.INFO: IMEI packet received {"connection_id":160438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":160438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:07:57] local.INFO: TCP Data received {"connection_id":160438,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:07:57] local.INFO: Processing buffer {"connection_id":160438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:07:57] local.INFO: Packet analysis {"connection_id":160438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:07:57] local.INFO: Extracted packet for processing {"connection_id":160438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:07:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590511616001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787463237000,"timestamp_ms":1787463237000,"timestamp_seconds":1787463237,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1c7d88"} 
[2026-08-23 11:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 11:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590511616001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590511616001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:07:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:07:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590511616001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":160438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:07:57] local.INFO: GPS data processed {"connection_id":160438,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:07:57] local.INFO: Acknowledgment sent {"connection_id":160438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:08:02] local.INFO: TCP Data received {"connection_id":160438,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:08:02] local.INFO: Processing buffer {"connection_id":160438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:08:02] local.INFO: Packet analysis {"connection_id":160438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:08:02] local.INFO: Extracted packet for processing {"connection_id":160438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:08:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590511616001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787463237000,"timestamp_ms":1787463237000,"timestamp_seconds":1787463237,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1c7d88"} 
[2026-08-23 11:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 11:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590511616001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590511616001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:08:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:08:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590511616001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":160438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:08:02] local.INFO: GPS data processed {"connection_id":160438,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:08:02] local.INFO: Acknowledgment sent {"connection_id":160438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:08:07] local.INFO: TCP Data received {"connection_id":163023,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1bf4d0012d1967c0071feea80038011d27..."} 
[2026-08-23 11:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1bf4d0012d1967c0071feea80038011d27..."} 
[2026-08-23 11:08:07] local.INFO: Processing buffer {"connection_id":163023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1bf4d0012d1967c0071feea80038011d27..."} 
[2026-08-23 11:08:07] local.INFO: Packet analysis {"connection_id":163023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1b"} 
[2026-08-23 11:08:07] local.INFO: Extracted packet for processing {"connection_id":163023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1b"} 
[2026-08-23 11:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590574336001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787463202000,"timestamp_ms":1787463202000,"timestamp_seconds":1787463202,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1bf4d0"} 
[2026-08-23 11:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 11:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185654,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:07] local.WARNING: Large IO value detected {"io_id":22,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3249739175782324583,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:07] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391287869112605,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:07] local.WARNING: Large IO value detected {"io_id":56,"raw_value":80262149804392448,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832587,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4003987512,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 11:08:07] local.WARNING: Large IO value detected {"io_id":8,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:07] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:07] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,22,160,80,45,192,238,56,40,10,66,254,39,172,1,240,53,227,31,4,113,205,8,103,168,37,239,48,2,54,7,36],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 11:08:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035538798736572416,"timestamp_seconds":4035538798736572.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 11:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590574336001,"66":12211,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590574336001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:08:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590574336001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":163023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:08:07] local.INFO: GPS data processed {"connection_id":163023,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:08:07] local.INFO: Acknowledgment sent {"connection_id":163023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:08:33] local.INFO: TCP Data received {"connection_id":160439,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:08:33] local.INFO: Processing buffer {"connection_id":160439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:08:33] local.INFO: IMEI packet received {"connection_id":160439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":160439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:08:34] local.INFO: TCP Data received {"connection_id":160439,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:08:34] local.INFO: Processing buffer {"connection_id":160439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:08:34] local.INFO: IMEI packet received {"connection_id":160439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":160439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:08:39] local.INFO: TCP Data received {"connection_id":160439,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:08:39] local.INFO: Processing buffer {"connection_id":160439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:08:39] local.INFO: IMEI packet received {"connection_id":160439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":160439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:08:40] local.INFO: TCP Data received {"connection_id":160439,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1f7b28012d1967c0071feea80038011d28..."} 
[2026-08-23 11:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1f7b28012d1967c0071feea80038011d28..."} 
[2026-08-23 11:08:40] local.INFO: Processing buffer {"connection_id":160439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1f7b28012d1967c0071feea80038011d28..."} 
[2026-08-23 11:08:40] local.INFO: Packet analysis {"connection_id":160439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1f"} 
[2026-08-23 11:08:40] local.INFO: Extracted packet for processing {"connection_id":160439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1f"} 
[2026-08-23 11:08:40] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590633472001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787463433000,"timestamp_ms":1787463433000,"timestamp_seconds":1787463433,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1f7b28"} 
[2026-08-23 11:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 11:08:40] 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-08-23 11: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-08-23 11:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590633472001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590633472001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:08:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:08:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590633472001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":160439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:08:40] local.INFO: GPS data processed {"connection_id":160439,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:08:40] local.INFO: Acknowledgment sent {"connection_id":160439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:08:45] local.INFO: TCP Data received {"connection_id":160439,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1fcd30012d1967c0071feea80038011d21..."} 
[2026-08-23 11:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1fcd30012d1967c0071feea80038011d21..."} 
[2026-08-23 11:08:45] local.INFO: Processing buffer {"connection_id":160439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1fcd30012d1967c0071feea80038011d21..."} 
[2026-08-23 11:08:45] local.INFO: Packet analysis {"connection_id":160439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1f"} 
[2026-08-23 11:08:45] local.INFO: Extracted packet for processing {"connection_id":160439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1f"} 
[2026-08-23 11:08:45] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":33,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590638848001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787463454000,"timestamp_ms":1787463454000,"timestamp_seconds":1787463454,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1fcd30"} 
[2026-08-23 11:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 11:08:45] 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-08-23 11:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590638848001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590638848001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:08:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:08:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590638848001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":160439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:08:45] local.INFO: GPS data processed {"connection_id":160439,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:08:45] local.INFO: Acknowledgment sent {"connection_id":160439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:08:46] local.INFO: TCP Data received {"connection_id":163024,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:08:46] local.INFO: Processing buffer {"connection_id":163024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:08:46] local.INFO: IMEI packet received {"connection_id":163024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":163024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:08:51] local.INFO: TCP Data received {"connection_id":163024,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:08:51] local.INFO: Processing buffer {"connection_id":163024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:08:51] local.INFO: IMEI packet received {"connection_id":163024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":163024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:08:53] local.INFO: TCP Data received {"connection_id":163024,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:08:53] local.INFO: Processing buffer {"connection_id":163024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:08:53] local.INFO: Packet analysis {"connection_id":163024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:08:53] local.INFO: Extracted packet for processing {"connection_id":163024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:08:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590511616001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787463237000,"timestamp_ms":1787463237000,"timestamp_seconds":1787463237,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1c7d88"} 
[2026-08-23 11:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 11:08:53] 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-08-23 11:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590511616001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590511616001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:08:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:08:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590511616001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":163024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:08:53] local.INFO: GPS data processed {"connection_id":163024,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:08:53] local.INFO: Acknowledgment sent {"connection_id":163024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:08:57] local.INFO: TCP Data received {"connection_id":163024,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:08:57] local.INFO: Processing buffer {"connection_id":163024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:08:57] local.INFO: Packet analysis {"connection_id":163024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:08:57] local.INFO: Extracted packet for processing {"connection_id":163024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:08:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590511616001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787463237000,"timestamp_ms":1787463237000,"timestamp_seconds":1787463237,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1c7d88"} 
[2026-08-23 11:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 11:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590511616001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590511616001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:08:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:08:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590511616001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":163024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:08:57] local.INFO: GPS data processed {"connection_id":163024,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:08:57] local.INFO: Acknowledgment sent {"connection_id":163024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:09:06] local.INFO: TCP Data received {"connection_id":161620,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:09:06] local.INFO: Processing buffer {"connection_id":161620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:09:06] local.INFO: IMEI packet received {"connection_id":161620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 11:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":161620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:09:11] local.INFO: TCP Data received {"connection_id":161620,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:09:11] local.INFO: Processing buffer {"connection_id":161620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:09:11] local.INFO: IMEI packet received {"connection_id":161620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":161620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:09:12] local.INFO: TCP Data received {"connection_id":161620,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1b1628012d7e154005d3bf000007006c24..."} 
[2026-08-23 11:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1b1628012d7e154005d3bf000007006c24..."} 
[2026-08-23 11:09:12] local.INFO: Processing buffer {"connection_id":161620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1b1628012d7e154005d3bf000007006c24..."} 
[2026-08-23 11:09:12] local.INFO: Packet analysis {"connection_id":161620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1b"} 
[2026-08-23 11:09:12] local.INFO: Extracted packet for processing {"connection_id":161620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1b"} 
[2026-08-23 11:09:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 11:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590430208001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 11:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 11:09:12] 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-08-23 11:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787463145000,"timestamp_ms":1787463145000,"timestamp_seconds":1787463145,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1b1628"} 
[2026-08-23 11:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":768,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 11:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590430208001,"66":12200,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 11:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590430208001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:09:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 11:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 11:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590430208001,"power":12200,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 11:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":161620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:09:12] local.INFO: GPS data processed {"connection_id":161620,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:09:12] local.INFO: Acknowledgment sent {"connection_id":161620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:09:28] local.INFO: TCP Data received {"connection_id":163024,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:09:28] local.INFO: Processing buffer {"connection_id":163024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1c7d88012d34c50006aa4098000c008521..."} 
[2026-08-23 11:09:28] local.INFO: Packet analysis {"connection_id":163024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:09:28] local.INFO: Extracted packet for processing {"connection_id":163024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:09:28] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590511616001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787463237000,"timestamp_ms":1787463237000,"timestamp_seconds":1787463237,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1c7d88"} 
[2026-08-23 11:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 11:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590511616001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590511616001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:09:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:09:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590511616001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":163024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:09:28] local.INFO: GPS data processed {"connection_id":163024,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:09:28] local.INFO: Acknowledgment sent {"connection_id":163024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:09:30] local.INFO: TCP Data received {"connection_id":163025,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:09:30] local.INFO: Processing buffer {"connection_id":163025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:09:30] local.INFO: IMEI packet received {"connection_id":163025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":163025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:09:35] local.INFO: TCP Data received {"connection_id":163025,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:09:35] local.INFO: Processing buffer {"connection_id":163025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:09:35] local.INFO: IMEI packet received {"connection_id":163025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":163025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:09:36] local.INFO: TCP Data received {"connection_id":163025,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d201f38012d1967c0071feea80038011d28..."} 
[2026-08-23 11:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d201f38012d1967c0071feea80038011d28..."} 
[2026-08-23 11:09:36] local.INFO: Processing buffer {"connection_id":163025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d201f38012d1967c0071feea80038011d28..."} 
[2026-08-23 11:09:36] local.INFO: Packet analysis {"connection_id":163025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d20"} 
[2026-08-23 11:09:36] local.INFO: Extracted packet for processing {"connection_id":163025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d20"} 
[2026-08-23 11:09:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590644224001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787463475000,"timestamp_ms":1787463475000,"timestamp_seconds":1787463475,"priority":1,"record_length":96,"hex_timestamp":"000001a02d201f38"} 
[2026-08-23 11:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 11:09:36] 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-08-23 11:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590644224001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590644224001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:09:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:09:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590644224001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":163025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:09:36] local.INFO: GPS data processed {"connection_id":163025,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:09:36] local.INFO: Acknowledgment sent {"connection_id":163025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:09:43] local.INFO: TCP Data received {"connection_id":161620,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1c2f68012d7e154005d3bf000007006c24..."} 
[2026-08-23 11:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1c2f68012d7e154005d3bf000007006c24..."} 
[2026-08-23 11:09:43] local.INFO: Processing buffer {"connection_id":161620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1c2f68012d7e154005d3bf000007006c24..."} 
[2026-08-23 11:09:43] local.INFO: Packet analysis {"connection_id":161620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:09:43] local.INFO: Extracted packet for processing {"connection_id":161620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:09:43] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 11:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590565120001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 11:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 11:09:43] 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-08-23 11:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787463217000,"timestamp_ms":1787463217000,"timestamp_seconds":1787463217,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1c2f68"} 
[2026-08-23 11:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4608,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-23 11:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590565120001,"66":12232,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 11:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590565120001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:09:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 11:09:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 11:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590565120001,"power":12232,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 11:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":161620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:09:43] local.INFO: GPS data processed {"connection_id":161620,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:09:43] local.INFO: Acknowledgment sent {"connection_id":161620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:09:46] local.INFO: TCP Data received {"connection_id":160672,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:09:46] local.INFO: Processing buffer {"connection_id":160672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:09:46] local.INFO: IMEI packet received {"connection_id":160672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":160672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:09:51] local.INFO: TCP Data received {"connection_id":160672,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:09:51] local.INFO: Processing buffer {"connection_id":160672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:09:51] local.INFO: IMEI packet received {"connection_id":160672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":160672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:09:53] local.INFO: TCP Data received {"connection_id":160672,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:09:53] local.INFO: Processing buffer {"connection_id":160672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:09:53] local.INFO: Packet analysis {"connection_id":160672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d21"} 
[2026-08-23 11:09:53] local.INFO: Extracted packet for processing {"connection_id":160672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d21"} 
[2026-08-23 11:09:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":26,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590588672001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787463538000,"timestamp_ms":1787463538000,"timestamp_seconds":1787463538,"priority":1,"record_length":96,"hex_timestamp":"000001a02d211550"} 
[2026-08-23 11:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 11:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590588672001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590588672001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:09:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:09:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590588672001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":160672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:09:53] local.INFO: GPS data processed {"connection_id":160672,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:09:53] local.INFO: Acknowledgment sent {"connection_id":160672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:10:07] local.INFO: TCP Data received {"connection_id":163025,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d207140012d1967c0071feea80038011d2b..."} 
[2026-08-23 11:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d207140012d1967c0071feea80038011d2b..."} 
[2026-08-23 11:10:07] local.INFO: Processing buffer {"connection_id":163025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d207140012d1967c0071feea80038011d2b..."} 
[2026-08-23 11:10:07] local.INFO: Packet analysis {"connection_id":163025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d20"} 
[2026-08-23 11:10:07] local.INFO: Extracted packet for processing {"connection_id":163025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d20"} 
[2026-08-23 11:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590649600001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787463496000,"timestamp_ms":1787463496000,"timestamp_seconds":1787463496,"priority":1,"record_length":96,"hex_timestamp":"000001a02d207140"} 
[2026-08-23 11:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:10: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-08-23 11:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 11:10:07] 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-08-23 11:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590649600001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590649600001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:10:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:10:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590649600001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":163025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:10:07] local.INFO: GPS data processed {"connection_id":163025,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:10:07] local.INFO: Acknowledgment sent {"connection_id":163025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:10:11] local.INFO: TCP Data received {"connection_id":160440,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:10:11] local.INFO: Processing buffer {"connection_id":160440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:10:11] local.INFO: IMEI packet received {"connection_id":160440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 11:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":160440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:10:16] local.INFO: TCP Data received {"connection_id":160440,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:10:16] local.INFO: Processing buffer {"connection_id":160440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:10:16] local.INFO: IMEI packet received {"connection_id":160440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":160440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:10:21] local.INFO: TCP Data received {"connection_id":160440,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1c2f68012d7e154005d3bf000007006c24..."} 
[2026-08-23 11:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1c2f68012d7e154005d3bf000007006c24..."} 
[2026-08-23 11:10:21] local.INFO: Processing buffer {"connection_id":160440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1c2f68012d7e154005d3bf000007006c24..."} 
[2026-08-23 11:10:21] local.INFO: Packet analysis {"connection_id":160440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:10:21] local.INFO: Extracted packet for processing {"connection_id":160440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1c"} 
[2026-08-23 11:10:21] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":36,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 11:10:21] 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-08-23 11:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590583552001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 11:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 11:10:21] 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-08-23 11:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787463217000,"timestamp_ms":1787463217000,"timestamp_seconds":1787463217,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1c2f68"} 
[2026-08-23 11:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4352,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 11:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":160440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":160440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":160440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590583552001,"66":12232,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 11:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590583552001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:10:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 11:10:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 11:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590583552001,"power":12232,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 11:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":160440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:10:21] local.INFO: GPS data processed {"connection_id":160440,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:10:21] local.INFO: Acknowledgment sent {"connection_id":160440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:10:25] local.INFO: TCP Data received {"connection_id":160672,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:10:25] local.INFO: Processing buffer {"connection_id":160672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:10:25] local.INFO: Packet analysis {"connection_id":160672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d21"} 
[2026-08-23 11:10:25] local.INFO: Extracted packet for processing {"connection_id":160672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d21"} 
[2026-08-23 11:10:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":26,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590588672001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787463538000,"timestamp_ms":1787463538000,"timestamp_seconds":1787463538,"priority":1,"record_length":96,"hex_timestamp":"000001a02d211550"} 
[2026-08-23 11:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 11:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590588672001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590588672001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:10:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:10:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590588672001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":160672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:10:25] local.INFO: GPS data processed {"connection_id":160672,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:10:25] local.INFO: Acknowledgment sent {"connection_id":160672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:10:27] local.INFO: TCP Data received {"connection_id":160440,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1e3ec0012d7e154005d3bf000007006c26..."} 
[2026-08-23 11:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1e3ec0012d7e154005d3bf000007006c26..."} 
[2026-08-23 11:10:27] local.INFO: Processing buffer {"connection_id":160440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1e3ec0012d7e154005d3bf000007006c26..."} 
[2026-08-23 11:10:27] local.INFO: Packet analysis {"connection_id":160440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1e"} 
[2026-08-23 11:10:27] local.INFO: Extracted packet for processing {"connection_id":160440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1e"} 
[2026-08-23 11:10:27] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 11:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590583552001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 11:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 11:10:27] 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-08-23 11:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787463352000,"timestamp_ms":1787463352000,"timestamp_seconds":1787463352,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1e3ec0"} 
[2026-08-23 11:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4352,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 11:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590583552001,"66":1905,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 11:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590583552001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:10:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 11:10:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 11:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590583552001,"power":1905,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 11:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":160440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:10:27] local.INFO: GPS data processed {"connection_id":160440,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:10:27] local.INFO: Acknowledgment sent {"connection_id":160440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:10:30] local.INFO: TCP Data received {"connection_id":160673,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:10:30] local.INFO: Processing buffer {"connection_id":160673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:10:30] local.INFO: IMEI packet received {"connection_id":160673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":160673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:10:35] local.INFO: TCP Data received {"connection_id":160673,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:10:35] local.INFO: Processing buffer {"connection_id":160673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:10:35] local.INFO: IMEI packet received {"connection_id":160673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":160673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:10:36] local.INFO: TCP Data received {"connection_id":160673,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d20c348012d1967c0071feea80038011d29..."} 
[2026-08-23 11:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d20c348012d1967c0071feea80038011d29..."} 
[2026-08-23 11:10:36] local.INFO: Processing buffer {"connection_id":160673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d20c348012d1967c0071feea80038011d29..."} 
[2026-08-23 11:10:36] local.INFO: Packet analysis {"connection_id":160673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d20"} 
[2026-08-23 11:10:36] local.INFO: Extracted packet for processing {"connection_id":160673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d20"} 
[2026-08-23 11:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590654976001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787463517000,"timestamp_ms":1787463517000,"timestamp_seconds":1787463517,"priority":1,"record_length":96,"hex_timestamp":"000001a02d20c348"} 
[2026-08-23 11:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 11:10:36] 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-08-23 11:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590654976001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590654976001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:10:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:10:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590654976001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":160673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:10:36] local.INFO: GPS data processed {"connection_id":160673,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:10:36] local.INFO: Acknowledgment sent {"connection_id":160673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:10:46] local.INFO: TCP Data received {"connection_id":160674,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:10:46] local.INFO: Processing buffer {"connection_id":160674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:10:46] local.INFO: IMEI packet received {"connection_id":160674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":160674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:10:51] local.INFO: TCP Data received {"connection_id":160674,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:10:51] local.INFO: Processing buffer {"connection_id":160674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:10:51] local.INFO: IMEI packet received {"connection_id":160674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":160674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:10:53] local.INFO: TCP Data received {"connection_id":160674,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:10:53] local.INFO: Processing buffer {"connection_id":160674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:10:53] local.INFO: Packet analysis {"connection_id":160674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d21"} 
[2026-08-23 11:10:53] local.INFO: Extracted packet for processing {"connection_id":160674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d21"} 
[2026-08-23 11:10:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":26,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590588672001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787463538000,"timestamp_ms":1787463538000,"timestamp_seconds":1787463538,"priority":1,"record_length":96,"hex_timestamp":"000001a02d211550"} 
[2026-08-23 11:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 11:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590588672001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590588672001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:10:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:10:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590588672001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":160674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:10:53] local.INFO: GPS data processed {"connection_id":160674,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:10:53] local.INFO: Acknowledgment sent {"connection_id":160674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:11:06] local.INFO: TCP Data received {"connection_id":161621,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:11:06] local.INFO: Processing buffer {"connection_id":161621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:11:06] local.INFO: IMEI packet received {"connection_id":161621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 11:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":161621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:11:07] local.INFO: TCP Data received {"connection_id":160673,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d211550012d1967c0071feea80038011d27..."} 
[2026-08-23 11:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d211550012d1967c0071feea80038011d27..."} 
[2026-08-23 11:11:07] local.INFO: Processing buffer {"connection_id":160673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d211550012d1967c0071feea80038011d27..."} 
[2026-08-23 11:11:07] local.INFO: Packet analysis {"connection_id":160673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d21"} 
[2026-08-23 11:11:07] local.INFO: Extracted packet for processing {"connection_id":160673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d21"} 
[2026-08-23 11:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119533224,"longitude_deg":75.663968,"latitude_deg":11.9533224,"altitude":56,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071feea8","is_valid_coordinates":true} 
[2026-08-23 11:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590660352001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224499423150080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382434304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787463538000,"timestamp_ms":1787463538000,"timestamp_seconds":1787463538,"priority":1,"record_length":96,"hex_timestamp":"000001a02d211550"} 
[2026-08-23 11:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 11:11:07] 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-08-23 11:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590660352001,"66":12341,"102":206,"83":41984,"24":0,"16":15224499423150080,"45":1830642910382434304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 11:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590660352001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:11:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 11:11:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224499423150080,"km_value":15224499423150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382434304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590660352001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830642910382434304}} 
[2026-08-23 11:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":160673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:11:07] local.INFO: GPS data processed {"connection_id":160673,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:11:07] local.INFO: Acknowledgment sent {"connection_id":160673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:11:11] local.INFO: TCP Data received {"connection_id":161621,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:11:11] local.INFO: Processing buffer {"connection_id":161621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:11:11] local.INFO: IMEI packet received {"connection_id":161621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":161621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:11:12] local.INFO: TCP Data received {"connection_id":161621,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1e3ec0012d7e154005d3bf000007006c26..."} 
[2026-08-23 11:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1e3ec0012d7e154005d3bf000007006c26..."} 
[2026-08-23 11:11:12] local.INFO: Processing buffer {"connection_id":161621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1e3ec0012d7e154005d3bf000007006c26..."} 
[2026-08-23 11:11:12] local.INFO: Packet analysis {"connection_id":161621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1e"} 
[2026-08-23 11:11:12] local.INFO: Extracted packet for processing {"connection_id":161621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1e"} 
[2026-08-23 11:11:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 11:11: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-08-23 11:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590618112001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 11:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 11:11:12] 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-08-23 11:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787463352000,"timestamp_ms":1787463352000,"timestamp_seconds":1787463352,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1e3ec0"} 
[2026-08-23 11:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:11: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":7,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 11:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590618112001,"66":1905,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 11:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590618112001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:11:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 11:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 11:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590618112001,"power":1905,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 11:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":161621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:11:12] local.INFO: GPS data processed {"connection_id":161621,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:11:12] local.INFO: Acknowledgment sent {"connection_id":161621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:11:24] local.INFO: TCP Data received {"connection_id":160674,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:11:24] local.INFO: Processing buffer {"connection_id":160674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:11:24] local.INFO: Packet analysis {"connection_id":160674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d21"} 
[2026-08-23 11:11:24] local.INFO: Extracted packet for processing {"connection_id":160674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d21"} 
[2026-08-23 11:11:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":26,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590588672001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787463538000,"timestamp_ms":1787463538000,"timestamp_seconds":1787463538,"priority":1,"record_length":96,"hex_timestamp":"000001a02d211550"} 
[2026-08-23 11:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 11:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590588672001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590588672001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:11:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:11:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590588672001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":160674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:11:24] local.INFO: GPS data processed {"connection_id":160674,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:11:24] local.INFO: Acknowledgment sent {"connection_id":160674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:11:30] local.INFO: TCP Data received {"connection_id":160675,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:11:30] local.INFO: Processing buffer {"connection_id":160675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:11:30] local.INFO: IMEI packet received {"connection_id":160675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":160675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:11:34] local.INFO: TCP Data received {"connection_id":160675,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:11:34] local.INFO: Processing buffer {"connection_id":160675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:11:34] local.INFO: IMEI packet received {"connection_id":160675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":160675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:11:35] local.INFO: TCP Data received {"connection_id":160675,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2278c8012d197f00071fed70003a003f24..."} 
[2026-08-23 11:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2278c8012d197f00071fed70003a003f24..."} 
[2026-08-23 11:11:35] local.INFO: Processing buffer {"connection_id":160675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2278c8012d197f00071fed70003a003f24..."} 
[2026-08-23 11:11:35] local.INFO: Packet analysis {"connection_id":160675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d22"} 
[2026-08-23 11:11:35] local.INFO: Extracted packet for processing {"connection_id":160675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d22"} 
[2026-08-23 11:11:35] local.INFO: GPS Element Parsed {"raw_longitude":756645632,"raw_latitude":119532912,"longitude_deg":75.6645632,"latitude_deg":11.9532912,"altitude":58,"angle":63,"satellites":36,"speed":21,"hex_longitude":"2d197f00","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-23 11:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590688768001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224825840664576,"note":"Value kept but may cause issues"} 
[2026-08-23 11:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836624253637396480,"note":"Value kept but may cause issues"} 
[2026-08-23 11:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787463629000,"timestamp_ms":1787463629000,"timestamp_seconds":1787463629,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2278c8"} 
[2026-08-23 11:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 11:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590688768001,"66":13678,"101":206,"83":41984,"24":21,"16":15224825840664576,"45":1836624253637396480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590688768001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:11:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:11:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224825840664576,"km_value":15224825840664.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836624253637396480,"description":"Unknown IO ID 45"} 
[2026-08-23 11:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590688768001,"power":13678,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1836624253637396480}} 
[2026-08-23 11:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":160675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:11:35] local.INFO: GPS data processed {"connection_id":160675,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:11:35] local.INFO: Acknowledgment sent {"connection_id":160675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:11:43] local.INFO: TCP Data received {"connection_id":161621,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1fadf0012d7e154005d3bf000007006c23..."} 
[2026-08-23 11:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1fadf0012d7e154005d3bf000007006c23..."} 
[2026-08-23 11:11:43] local.INFO: Processing buffer {"connection_id":161621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1fadf0012d7e154005d3bf000007006c23..."} 
[2026-08-23 11:11:43] local.INFO: Packet analysis {"connection_id":161621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1f"} 
[2026-08-23 11:11:43] local.INFO: Extracted packet for processing {"connection_id":161621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1f"} 
[2026-08-23 11:11:43] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 11:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590618112001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 11:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 11:11:43] 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-08-23 11:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787463446000,"timestamp_ms":1787463446000,"timestamp_seconds":1787463446,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1fadf0"} 
[2026-08-23 11:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:11:43] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":7,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 11:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590618112001,"66":12330,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 11:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590618112001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:11:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 11:11:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 11:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590618112001,"power":12330,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 11:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":161621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:11:43] local.INFO: GPS data processed {"connection_id":161621,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:11:43] local.INFO: Acknowledgment sent {"connection_id":161621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:11:46] local.INFO: TCP Data received {"connection_id":163026,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:11:46] local.INFO: Processing buffer {"connection_id":163026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:11:46] local.INFO: IMEI packet received {"connection_id":163026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":163026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:11:51] local.INFO: TCP Data received {"connection_id":163026,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:11:51] local.INFO: Processing buffer {"connection_id":163026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:11:51] local.INFO: IMEI packet received {"connection_id":163026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":163026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:11:52] local.INFO: TCP Data received {"connection_id":163026,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:11:52] local.INFO: Processing buffer {"connection_id":163026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:11:52] local.INFO: Packet analysis {"connection_id":163026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d21"} 
[2026-08-23 11:11:52] local.INFO: Extracted packet for processing {"connection_id":163026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d21"} 
[2026-08-23 11:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":26,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590588672001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787463538000,"timestamp_ms":1787463538000,"timestamp_seconds":1787463538,"priority":1,"record_length":96,"hex_timestamp":"000001a02d211550"} 
[2026-08-23 11:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 11:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590588672001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590588672001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:11:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590588672001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":163026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:11:52] local.INFO: GPS data processed {"connection_id":163026,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:11:52] local.INFO: Acknowledgment sent {"connection_id":163026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:12:06] local.INFO: TCP Data received {"connection_id":160675,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d228480012d198480071ff0c0003b005027..."} 
[2026-08-23 11:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d228480012d198480071ff0c0003b005027..."} 
[2026-08-23 11:12:06] local.INFO: Processing buffer {"connection_id":160675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d228480012d198480071ff0c0003b005027..."} 
[2026-08-23 11:12:06] local.INFO: Packet analysis {"connection_id":160675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d22"} 
[2026-08-23 11:12:06] local.INFO: Extracted packet for processing {"connection_id":160675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d22"} 
[2026-08-23 11:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756647040,"raw_latitude":119533760,"longitude_deg":75.664704,"latitude_deg":11.953376,"altitude":59,"angle":80,"satellites":39,"speed":22,"hex_longitude":"2d198480","hex_latitude":"071ff0c0","is_valid_coordinates":true} 
[2026-08-23 11:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590689024001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224903150075904,"note":"Value kept but may cause issues"} 
[2026-08-23 11:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837187203590877184,"note":"Value kept but may cause issues"} 
[2026-08-23 11:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787463632000,"timestamp_ms":1787463632000,"timestamp_seconds":1787463632,"priority":1,"record_length":96,"hex_timestamp":"000001a02d228480"} 
[2026-08-23 11:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-23 11:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590689024001,"66":13993,"101":206,"83":41984,"24":22,"16":15224903150075904,"45":1837187203590877184},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590689024001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:12:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224903150075904,"km_value":15224903150075.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837187203590877184,"description":"Unknown IO ID 45"} 
[2026-08-23 11:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590689024001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1837187203590877184}} 
[2026-08-23 11:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":160675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:12:06] local.INFO: GPS data processed {"connection_id":160675,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:12:06] local.INFO: Acknowledgment sent {"connection_id":160675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:12:24] local.INFO: TCP Data received {"connection_id":163026,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:12:24] local.INFO: Processing buffer {"connection_id":163026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:12:24] local.INFO: Packet analysis {"connection_id":163026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d21"} 
[2026-08-23 11:12:24] local.INFO: Extracted packet for processing {"connection_id":163026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d21"} 
[2026-08-23 11:12:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":26,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590588672001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787463538000,"timestamp_ms":1787463538000,"timestamp_seconds":1787463538,"priority":1,"record_length":96,"hex_timestamp":"000001a02d211550"} 
[2026-08-23 11:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 11:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590588672001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590588672001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:12:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:12:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590588672001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":163026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:12:24] local.INFO: GPS data processed {"connection_id":163026,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:12:24] local.INFO: Acknowledgment sent {"connection_id":163026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:12:29] local.INFO: TCP Data received {"connection_id":161622,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:12:29] local.INFO: Processing buffer {"connection_id":161622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:12:29] local.INFO: IMEI packet received {"connection_id":161622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":161622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:12:31] local.INFO: TCP Data received {"connection_id":161622,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:12:31] local.INFO: Processing buffer {"connection_id":161622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:12:31] local.INFO: IMEI packet received {"connection_id":161622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":161622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:12:31] local.INFO: TCP Data received {"connection_id":160441,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:12:31] local.INFO: Processing buffer {"connection_id":160441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:12:31] local.INFO: IMEI packet received {"connection_id":160441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 11:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":160441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:12:35] local.INFO: TCP Data received {"connection_id":161622,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:12:35] local.INFO: Processing buffer {"connection_id":161622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:12:35] local.INFO: IMEI packet received {"connection_id":161622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":161622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:12:36] local.INFO: TCP Data received {"connection_id":161622,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d229038012d198b00071ff0e8003b005d29..."} 
[2026-08-23 11:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d229038012d198b00071ff0e8003b005d29..."} 
[2026-08-23 11:12:36] local.INFO: Processing buffer {"connection_id":161622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d229038012d198b00071ff0e8003b005d29..."} 
[2026-08-23 11:12:36] local.INFO: Packet analysis {"connection_id":161622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d22"} 
[2026-08-23 11:12:36] local.INFO: Extracted packet for processing {"connection_id":161622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d22"} 
[2026-08-23 11:12:36] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119533800,"longitude_deg":75.6648704,"latitude_deg":11.95338,"altitude":59,"angle":93,"satellites":41,"speed":22,"hex_longitude":"2d198b00","hex_latitude":"071ff0e8","is_valid_coordinates":true} 
[2026-08-23 11:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590689792001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15224984754454528,"note":"Value kept but may cause issues"} 
[2026-08-23 11:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838735315963002880,"note":"Value kept but may cause issues"} 
[2026-08-23 11:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787463635000,"timestamp_ms":1787463635000,"timestamp_seconds":1787463635,"priority":1,"record_length":96,"hex_timestamp":"000001a02d229038"} 
[2026-08-23 11:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-23 11:12:36] 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-08-23 11:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590689792001,"66":13722,"101":206,"83":41984,"24":22,"16":15224984754454528,"45":1838735315963002880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590689792001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:12:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:12:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15224984754454528,"km_value":15224984754454.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838735315963002880,"description":"Unknown IO ID 45"} 
[2026-08-23 11:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590689792001,"power":13722,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1838735315963002880}} 
[2026-08-23 11:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":161622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:12:36] local.INFO: GPS data processed {"connection_id":161622,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:12:36] local.INFO: Acknowledgment sent {"connection_id":161622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:12:38] local.INFO: TCP Data received {"connection_id":160441,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:12:38] local.INFO: Processing buffer {"connection_id":160441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:12:38] local.INFO: IMEI packet received {"connection_id":160441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":160441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:12:39] local.INFO: TCP Data received {"connection_id":160441,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1fadf0012d7e154005d3bf000007006c23..."} 
[2026-08-23 11:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1fadf0012d7e154005d3bf000007006c23..."} 
[2026-08-23 11:12:39] local.INFO: Processing buffer {"connection_id":160441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1fadf0012d7e154005d3bf000007006c23..."} 
[2026-08-23 11:12:39] local.INFO: Packet analysis {"connection_id":160441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1f"} 
[2026-08-23 11:12:39] local.INFO: Extracted packet for processing {"connection_id":160441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1f"} 
[2026-08-23 11:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590618112001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 11:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 11:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787463446000,"timestamp_ms":1787463446000,"timestamp_seconds":1787463446,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1fadf0"} 
[2026-08-23 11:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:12:39] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":7,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 11:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590618112001,"66":12330,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 11:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590618112001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:12:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 11:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 11:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590618112001,"power":12330,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 11:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":160441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:12:39] local.INFO: GPS data processed {"connection_id":160441,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:12:39] local.INFO: Acknowledgment sent {"connection_id":160441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:12:51] local.INFO: TCP Data received {"connection_id":163027,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:12:51] local.INFO: Processing buffer {"connection_id":163027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:12:51] local.INFO: IMEI packet received {"connection_id":163027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":163027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:12:56] local.INFO: TCP Data received {"connection_id":163027,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:12:56] local.INFO: Processing buffer {"connection_id":163027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:12:56] local.INFO: IMEI packet received {"connection_id":163027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":163027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:12:58] local.INFO: TCP Data received {"connection_id":163027,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:12:58] local.INFO: Processing buffer {"connection_id":163027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:12:58] local.INFO: Packet analysis {"connection_id":163027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d21"} 
[2026-08-23 11:12:58] local.INFO: Extracted packet for processing {"connection_id":163027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d21"} 
[2026-08-23 11:12:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":26,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590588672001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787463538000,"timestamp_ms":1787463538000,"timestamp_seconds":1787463538,"priority":1,"record_length":96,"hex_timestamp":"000001a02d211550"} 
[2026-08-23 11:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 11:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:12:58] 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-08-23 11:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590588672001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590588672001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:12:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:12:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590588672001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":163027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:12:58] local.INFO: GPS data processed {"connection_id":163027,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:12:58] local.INFO: Acknowledgment sent {"connection_id":163027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:13:02] local.INFO: TCP Data received {"connection_id":163027,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:13:02] local.INFO: Processing buffer {"connection_id":163027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:13:02] local.INFO: Packet analysis {"connection_id":163027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d21"} 
[2026-08-23 11:13:02] local.INFO: Extracted packet for processing {"connection_id":163027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d21"} 
[2026-08-23 11:13:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":26,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590588672001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787463538000,"timestamp_ms":1787463538000,"timestamp_seconds":1787463538,"priority":1,"record_length":96,"hex_timestamp":"000001a02d211550"} 
[2026-08-23 11:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 11:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:13:02] 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-08-23 11:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590588672001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590588672001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:13:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:13:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590588672001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":163027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:13:02] local.INFO: GPS data processed {"connection_id":163027,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:13:02] local.INFO: Acknowledgment sent {"connection_id":163027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:13:06] local.INFO: TCP Data received {"connection_id":160676,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:13:06] local.INFO: Processing buffer {"connection_id":160676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:13:06] local.INFO: IMEI packet received {"connection_id":160676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 11:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":160676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:13:07] local.INFO: TCP Data received {"connection_id":161622,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d22bb30012d19a1c0071feeb00036007c27..."} 
[2026-08-23 11:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d22bb30012d19a1c0071feeb00036007c27..."} 
[2026-08-23 11:13:07] local.INFO: Processing buffer {"connection_id":161622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d22bb30012d19a1c0071feeb00036007c27..."} 
[2026-08-23 11:13:07] local.INFO: Packet analysis {"connection_id":161622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d22"} 
[2026-08-23 11:13:07] local.INFO: Extracted packet for processing {"connection_id":161622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d22"} 
[2026-08-23 11:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756654528,"raw_latitude":119533232,"longitude_deg":75.6654528,"latitude_deg":11.9533232,"altitude":54,"angle":124,"satellites":39,"speed":12,"hex_longitude":"2d19a1c0","hex_latitude":"071feeb0","is_valid_coordinates":true} 
[2026-08-23 11:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590690560001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15225263927328768,"note":"Value kept but may cause issues"} 
[2026-08-23 11:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903311632384,"note":"Value kept but may cause issues"} 
[2026-08-23 11:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787463646000,"timestamp_ms":1787463646000,"timestamp_seconds":1787463646,"priority":1,"record_length":96,"hex_timestamp":"000001a02d22bb30"} 
[2026-08-23 11:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-23 11:13:07] 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-08-23 11:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590690560001,"66":13504,"101":206,"83":41984,"24":12,"16":15225263927328768,"45":1840564903311632384},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590690560001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:13:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:13:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15225263927328768,"km_value":15225263927328.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903311632384,"description":"Unknown IO ID 45"} 
[2026-08-23 11:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590690560001,"power":13504,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1840564903311632384}} 
[2026-08-23 11:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":161622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:13:07] local.INFO: GPS data processed {"connection_id":161622,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:13:07] local.INFO: Acknowledgment sent {"connection_id":161622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:13:11] local.INFO: TCP Data received {"connection_id":160676,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:13:11] local.INFO: Processing buffer {"connection_id":160676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:13:11] local.INFO: IMEI packet received {"connection_id":160676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":160676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:13:12] local.INFO: TCP Data received {"connection_id":160676,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1fadf0012d7e154005d3bf000007006c23..."} 
[2026-08-23 11:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1fadf0012d7e154005d3bf000007006c23..."} 
[2026-08-23 11:13:12] local.INFO: Processing buffer {"connection_id":160676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1fadf0012d7e154005d3bf000007006c23..."} 
[2026-08-23 11:13:12] local.INFO: Packet analysis {"connection_id":160676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1f"} 
[2026-08-23 11:13:12] local.INFO: Extracted packet for processing {"connection_id":160676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1f"} 
[2026-08-23 11:13:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590618112001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 11:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 11:13:12] 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-08-23 11:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787463446000,"timestamp_ms":1787463446000,"timestamp_seconds":1787463446,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1fadf0"} 
[2026-08-23 11:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:13: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":7,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 11:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590618112001,"66":12330,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 11:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590618112001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:13:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 11:13:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 11:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590618112001,"power":12330,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 11:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":160676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:13:12] local.INFO: GPS data processed {"connection_id":160676,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:13:12] local.INFO: Acknowledgment sent {"connection_id":160676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:13:29] local.INFO: TCP Data received {"connection_id":163028,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:13:29] local.INFO: Processing buffer {"connection_id":163028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:13:29] local.INFO: IMEI packet received {"connection_id":163028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":163028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:13:34] local.INFO: TCP Data received {"connection_id":163028,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:13:34] local.INFO: Processing buffer {"connection_id":163028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:13:34] local.INFO: IMEI packet received {"connection_id":163028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":163028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:13:34] local.INFO: TCP Data received {"connection_id":163028,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:13:34] local.INFO: Processing buffer {"connection_id":163028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:13:34] local.INFO: IMEI packet received {"connection_id":163028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":163028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:13:35] local.INFO: TCP Data received {"connection_id":163028,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2412f0012d19aa00071fc0500035006b22..."} 
[2026-08-23 11:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2412f0012d19aa00071fc0500035006b22..."} 
[2026-08-23 11:13:35] local.INFO: Processing buffer {"connection_id":163028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2412f0012d19aa00071fc0500035006b22..."} 
[2026-08-23 11:13:35] local.INFO: Packet analysis {"connection_id":163028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d24"} 
[2026-08-23 11:13:35] local.INFO: Extracted packet for processing {"connection_id":163028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d24"} 
[2026-08-23 11:13:35] local.INFO: GPS Element Parsed {"raw_longitude":756656640,"raw_latitude":119521360,"longitude_deg":75.665664,"latitude_deg":11.952136,"altitude":53,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2d19aa00","hex_latitude":"071fc050","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590710528001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15225886697586688,"note":"Value kept but may cause issues"} 
[2026-08-23 11:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849290627586478080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787463734000,"timestamp_ms":1787463734000,"timestamp_seconds":1787463734,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2412f0"} 
[2026-08-23 11:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-23 11:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590710528001,"66":12993,"101":206,"83":41984,"24":0,"16":15225886697586688,"45":1849290627586478080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590710528001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:13:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:13:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15225886697586688,"km_value":15225886697586.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849290627586478080,"description":"Unknown IO ID 45"} 
[2026-08-23 11:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590710528001,"power":12993,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1849290627586478080}} 
[2026-08-23 11:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":163028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:13:35] local.INFO: GPS data processed {"connection_id":163028,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:13:35] local.INFO: Acknowledgment sent {"connection_id":163028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:13:40] local.INFO: TCP Data received {"connection_id":163028,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2464f8012d19aa00071fc0500035006b1f..."} 
[2026-08-23 11:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2464f8012d19aa00071fc0500035006b1f..."} 
[2026-08-23 11:13:40] local.INFO: Processing buffer {"connection_id":163028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2464f8012d19aa00071fc0500035006b1f..."} 
[2026-08-23 11:13:40] local.INFO: Packet analysis {"connection_id":163028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d24"} 
[2026-08-23 11:13:40] local.INFO: Extracted packet for processing {"connection_id":163028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d24"} 
[2026-08-23 11:13:40] local.INFO: GPS Element Parsed {"raw_longitude":756656640,"raw_latitude":119521360,"longitude_deg":75.665664,"latitude_deg":11.952136,"altitude":53,"angle":107,"satellites":31,"speed":0,"hex_longitude":"2d19aa00","hex_latitude":"071fc050","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590715904001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15225886697586688,"note":"Value kept but may cause issues"} 
[2026-08-23 11:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849290627586478080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787463755000,"timestamp_ms":1787463755000,"timestamp_seconds":1787463755,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2464f8"} 
[2026-08-23 11:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-23 11:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590715904001,"66":12972,"101":206,"83":41984,"24":0,"16":15225886697586688,"45":1849290627586478080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590715904001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:13:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:13:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15225886697586688,"km_value":15225886697586.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849290627586478080,"description":"Unknown IO ID 45"} 
[2026-08-23 11:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590715904001,"power":12972,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1849290627586478080}} 
[2026-08-23 11:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":163028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:13:40] local.INFO: GPS data processed {"connection_id":163028,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:13:40] local.INFO: Acknowledgment sent {"connection_id":163028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:13:44] local.INFO: TCP Data received {"connection_id":160676,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02d1fadf0012d7e154005d3bf000007006c23..."} 
[2026-08-23 11:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d1fadf0012d7e154005d3bf000007006c23..."} 
[2026-08-23 11:13:44] local.INFO: Processing buffer {"connection_id":160676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d1fadf0012d7e154005d3bf000007006c23..."} 
[2026-08-23 11:13:44] local.INFO: Packet analysis {"connection_id":160676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d1f"} 
[2026-08-23 11:13:44] local.INFO: Extracted packet for processing {"connection_id":160676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d1f"} 
[2026-08-23 11:13:44] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 11:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590618112001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 11:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 11:13:44] 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-08-23 11:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787463446000,"timestamp_ms":1787463446000,"timestamp_seconds":1787463446,"priority":1,"record_length":96,"hex_timestamp":"000001a02d1fadf0"} 
[2026-08-23 11:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:13: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":7,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 11:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590618112001,"66":12330,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 11:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590618112001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 11:13:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 11:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590618112001,"power":12330,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 11:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":160676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:13:44] local.INFO: GPS data processed {"connection_id":160676,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:13:44] local.INFO: Acknowledgment sent {"connection_id":160676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:13:46] local.INFO: TCP Data received {"connection_id":161623,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:13:46] local.INFO: Processing buffer {"connection_id":161623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:13:46] local.INFO: IMEI packet received {"connection_id":161623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":161623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:13:51] local.INFO: TCP Data received {"connection_id":161623,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:13:51] local.INFO: Processing buffer {"connection_id":161623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:13:51] local.INFO: IMEI packet received {"connection_id":161623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":161623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:13:53] local.INFO: TCP Data received {"connection_id":161623,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:13:53] local.INFO: Processing buffer {"connection_id":161623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:13:53] local.INFO: Packet analysis {"connection_id":161623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d21"} 
[2026-08-23 11:13:53] local.INFO: Extracted packet for processing {"connection_id":161623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d21"} 
[2026-08-23 11:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":26,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590588672001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787463538000,"timestamp_ms":1787463538000,"timestamp_seconds":1787463538,"priority":1,"record_length":96,"hex_timestamp":"000001a02d211550"} 
[2026-08-23 11:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 11:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:13:53] 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-08-23 11:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590588672001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590588672001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:13:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590588672001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":161623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:13:53] local.INFO: GPS data processed {"connection_id":161623,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:13:53] local.INFO: Acknowledgment sent {"connection_id":161623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:14:11] local.INFO: TCP Data received {"connection_id":163028,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d24b700012d19aa00071fc0500035006b20..."} 
[2026-08-23 11:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d24b700012d19aa00071fc0500035006b20..."} 
[2026-08-23 11:14:11] local.INFO: Processing buffer {"connection_id":163028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d24b700012d19aa00071fc0500035006b20..."} 
[2026-08-23 11:14:11] local.INFO: Packet analysis {"connection_id":163028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d24"} 
[2026-08-23 11:14:11] local.INFO: Extracted packet for processing {"connection_id":163028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d24"} 
[2026-08-23 11:14:11] local.INFO: GPS Element Parsed {"raw_longitude":756656640,"raw_latitude":119521360,"longitude_deg":75.665664,"latitude_deg":11.952136,"altitude":53,"angle":107,"satellites":32,"speed":0,"hex_longitude":"2d19aa00","hex_latitude":"071fc050","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590721280001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15225886697586688,"note":"Value kept but may cause issues"} 
[2026-08-23 11:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849290627586478080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787463776000,"timestamp_ms":1787463776000,"timestamp_seconds":1787463776,"priority":1,"record_length":96,"hex_timestamp":"000001a02d24b700"} 
[2026-08-23 11:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 11:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590721280001,"66":12917,"101":206,"83":41984,"24":0,"16":15225886697586688,"45":1849290627586478080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590721280001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:14:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:14:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15225886697586688,"km_value":15225886697586.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849290627586478080,"description":"Unknown IO ID 45"} 
[2026-08-23 11:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590721280001,"power":12917,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1849290627586478080}} 
[2026-08-23 11:14:11] local.INFO: TCP Data received {"connection_id":160677,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:14:11] local.INFO: Processing buffer {"connection_id":160677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:14:11] local.INFO: IMEI packet received {"connection_id":160677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 11:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":160677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":163028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:14:11] local.INFO: GPS data processed {"connection_id":163028,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:14:11] local.INFO: Acknowledgment sent {"connection_id":163028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:14:16] local.INFO: TCP Data received {"connection_id":160677,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:14:16] local.INFO: Processing buffer {"connection_id":160677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:14:16] local.INFO: IMEI packet received {"connection_id":160677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":160677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:14:17] local.INFO: TCP Data received {"connection_id":160677,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2589f0012d7e154005d3bf000007006c25..."} 
[2026-08-23 11:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2589f0012d7e154005d3bf000007006c25..."} 
[2026-08-23 11:14:17] local.INFO: Processing buffer {"connection_id":160677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2589f0012d7e154005d3bf000007006c25..."} 
[2026-08-23 11:14:17] local.INFO: Packet analysis {"connection_id":160677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:14:17] local.INFO: Extracted packet for processing {"connection_id":160677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:14:17] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 11:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590642176001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 11:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 11:14:17] 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-08-23 11:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787463830000,"timestamp_ms":1787463830000,"timestamp_seconds":1787463830,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2589f0"} 
[2026-08-23 11:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:14:17] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-23 11:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590642176001,"66":12298,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 11:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590642176001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:14:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 11:14:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 11:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590642176001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 11:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":160677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:14:17] local.INFO: GPS data processed {"connection_id":160677,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:14:17] local.INFO: Acknowledgment sent {"connection_id":160677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:14:23] local.INFO: TCP Data received {"connection_id":160677,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2589f0012d7e154005d3bf000007006c25..."} 
[2026-08-23 11:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2589f0012d7e154005d3bf000007006c25..."} 
[2026-08-23 11:14:23] local.INFO: Processing buffer {"connection_id":160677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2589f0012d7e154005d3bf000007006c25..."} 
[2026-08-23 11:14:23] local.INFO: Packet analysis {"connection_id":160677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:14:23] local.INFO: Extracted packet for processing {"connection_id":160677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:14:23] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 11:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590642176001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 11:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 11:14: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-08-23 11:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787463830000,"timestamp_ms":1787463830000,"timestamp_seconds":1787463830,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2589f0"} 
[2026-08-23 11:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:14:23] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-23 11:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:14:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590642176001,"66":12298,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 11:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590642176001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:14:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 11:14:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 11:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590642176001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 11:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":160677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:14:23] local.INFO: GPS data processed {"connection_id":160677,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:14:23] local.INFO: Acknowledgment sent {"connection_id":160677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:14:24] local.INFO: TCP Data received {"connection_id":161623,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:14:24] local.INFO: Processing buffer {"connection_id":161623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d211550012d34c50006aa4098000c00851a..."} 
[2026-08-23 11:14:24] local.INFO: Packet analysis {"connection_id":161623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d21"} 
[2026-08-23 11:14:24] local.INFO: Extracted packet for processing {"connection_id":161623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d21"} 
[2026-08-23 11:14:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":26,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590588672001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787463538000,"timestamp_ms":1787463538000,"timestamp_seconds":1787463538,"priority":1,"record_length":96,"hex_timestamp":"000001a02d211550"} 
[2026-08-23 11:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 11:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:14: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-08-23 11:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590588672001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590588672001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:14:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:14:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590588672001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":161623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:14:24] local.INFO: GPS data processed {"connection_id":161623,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:14:24] local.INFO: Acknowledgment sent {"connection_id":161623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:14:29] local.INFO: TCP Data received {"connection_id":160442,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:14:29] local.INFO: Processing buffer {"connection_id":160442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:14:29] local.INFO: IMEI packet received {"connection_id":160442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":160442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:14:35] local.INFO: TCP Data received {"connection_id":160442,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:14:35] local.INFO: Processing buffer {"connection_id":160442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:14:35] local.INFO: IMEI packet received {"connection_id":160442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":160442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:14:36] local.INFO: TCP Data received {"connection_id":160442,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d250908012d19aa00071fc0500035006b20..."} 
[2026-08-23 11:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d250908012d19aa00071fc0500035006b20..."} 
[2026-08-23 11:14:36] local.INFO: Processing buffer {"connection_id":160442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d250908012d19aa00071fc0500035006b20..."} 
[2026-08-23 11:14:36] local.INFO: Packet analysis {"connection_id":160442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:14:36] local.INFO: Extracted packet for processing {"connection_id":160442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756656640,"raw_latitude":119521360,"longitude_deg":75.665664,"latitude_deg":11.952136,"altitude":53,"angle":107,"satellites":32,"speed":0,"hex_longitude":"2d19aa00","hex_latitude":"071fc050","is_valid_coordinates":true} 
[2026-08-23 11:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590726656001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15225886697586688,"note":"Value kept but may cause issues"} 
[2026-08-23 11:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849290627586478080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787463797000,"timestamp_ms":1787463797000,"timestamp_seconds":1787463797,"priority":1,"record_length":96,"hex_timestamp":"000001a02d250908"} 
[2026-08-23 11:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 11:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590726656001,"66":12722,"101":206,"83":41984,"24":0,"16":15225886697586688,"45":1849290627586478080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590726656001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:14:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15225886697586688,"km_value":15225886697586.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849290627586478080,"description":"Unknown IO ID 45"} 
[2026-08-23 11:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590726656001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1849290627586478080}} 
[2026-08-23 11:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":160442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:14:36] local.INFO: GPS data processed {"connection_id":160442,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:14:36] local.INFO: Acknowledgment sent {"connection_id":160442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:14:47] local.INFO: TCP Data received {"connection_id":163029,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:14:47] local.INFO: Processing buffer {"connection_id":163029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:14:47] local.INFO: IMEI packet received {"connection_id":163029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":163029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:14:51] local.INFO: TCP Data received {"connection_id":163029,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:14:51] local.INFO: Processing buffer {"connection_id":163029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:14:51] local.INFO: IMEI packet received {"connection_id":163029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":163029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:14:52] local.INFO: TCP Data received {"connection_id":163029,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:14:52] local.INFO: Processing buffer {"connection_id":163029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:14:52] local.INFO: Packet analysis {"connection_id":163029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:14:52] local.INFO: Extracted packet for processing {"connection_id":163029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:14:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590665728001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787463839000,"timestamp_ms":1787463839000,"timestamp_seconds":1787463839,"priority":1,"record_length":96,"hex_timestamp":"000001a02d25ad18"} 
[2026-08-23 11:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:14:52] 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-08-23 11:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:14:52] 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-08-23 11:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590665728001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590665728001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:14:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:14:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590665728001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":163029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:14:52] local.INFO: GPS data processed {"connection_id":163029,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:14:52] local.INFO: Acknowledgment sent {"connection_id":163029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:15:06] local.INFO: TCP Data received {"connection_id":160678,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:15:06] local.INFO: Processing buffer {"connection_id":160678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:15:06] local.INFO: IMEI packet received {"connection_id":160678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 11:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":160678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:15:07] local.INFO: TCP Data received {"connection_id":160442,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d255b10012d19aa00071fc0500035006b21..."} 
[2026-08-23 11:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d255b10012d19aa00071fc0500035006b21..."} 
[2026-08-23 11:15:07] local.INFO: Processing buffer {"connection_id":160442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d255b10012d19aa00071fc0500035006b21..."} 
[2026-08-23 11:15:07] local.INFO: Packet analysis {"connection_id":160442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:15:07] local.INFO: Extracted packet for processing {"connection_id":160442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756656640,"raw_latitude":119521360,"longitude_deg":75.665664,"latitude_deg":11.952136,"altitude":53,"angle":107,"satellites":33,"speed":0,"hex_longitude":"2d19aa00","hex_latitude":"071fc050","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590732032001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15225886697586688,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849290627586478080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787463818000,"timestamp_ms":1787463818000,"timestamp_seconds":1787463818,"priority":1,"record_length":96,"hex_timestamp":"000001a02d255b10"} 
[2026-08-23 11:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:15: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-08-23 11: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":178,"data_length":795,"current_offset":136} 
[2026-08-23 11:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590732032001,"66":13961,"101":206,"83":41984,"24":0,"16":15225886697586688,"45":1849290627586478080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590732032001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:15:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15225886697586688,"km_value":15225886697586.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849290627586478080,"description":"Unknown IO ID 45"} 
[2026-08-23 11:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590732032001,"power":13961,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1849290627586478080}} 
[2026-08-23 11:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":160442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:15:07] local.INFO: GPS data processed {"connection_id":160442,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:15:07] local.INFO: Acknowledgment sent {"connection_id":160442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:15:11] local.INFO: TCP Data received {"connection_id":160678,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:15:11] local.INFO: Processing buffer {"connection_id":160678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:15:11] local.INFO: IMEI packet received {"connection_id":160678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":160678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:15:12] local.INFO: TCP Data received {"connection_id":160678,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2589f0012d7e154005d3bf000007006c25..."} 
[2026-08-23 11:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2589f0012d7e154005d3bf000007006c25..."} 
[2026-08-23 11:15:12] local.INFO: Processing buffer {"connection_id":160678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2589f0012d7e154005d3bf000007006c25..."} 
[2026-08-23 11:15:12] local.INFO: Packet analysis {"connection_id":160678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:15:12] local.INFO: Extracted packet for processing {"connection_id":160678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:15:12] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 11:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590642176001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:12] 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-08-23 11:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787463830000,"timestamp_ms":1787463830000,"timestamp_seconds":1787463830,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2589f0"} 
[2026-08-23 11:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:15: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-23 11:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590642176001,"66":12298,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 11:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590642176001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:15:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 11:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 11:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590642176001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 11:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":160678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:15:12] local.INFO: GPS data processed {"connection_id":160678,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:15:12] local.INFO: Acknowledgment sent {"connection_id":160678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:15:16] local.INFO: TCP Data received {"connection_id":160678,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2589f0012d7e154005d3bf000007006c25..."} 
[2026-08-23 11:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2589f0012d7e154005d3bf000007006c25..."} 
[2026-08-23 11:15:16] local.INFO: Processing buffer {"connection_id":160678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2589f0012d7e154005d3bf000007006c25..."} 
[2026-08-23 11:15:16] local.INFO: Packet analysis {"connection_id":160678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:15:16] local.INFO: Extracted packet for processing {"connection_id":160678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:15:16] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590642176001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:16] 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-08-23 11:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787463830000,"timestamp_ms":1787463830000,"timestamp_seconds":1787463830,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2589f0"} 
[2026-08-23 11:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:15:16] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-23 11:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590642176001,"66":12298,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 11:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590642176001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 11:15:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 11:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590642176001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 11:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":160678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:15:17] local.INFO: GPS data processed {"connection_id":160678,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:15:17] local.INFO: Acknowledgment sent {"connection_id":160678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:15:24] local.INFO: TCP Data received {"connection_id":163029,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:15:24] local.INFO: Processing buffer {"connection_id":163029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:15:24] local.INFO: Packet analysis {"connection_id":163029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:15:24] local.INFO: Extracted packet for processing {"connection_id":163029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:15:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590665728001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787463839000,"timestamp_ms":1787463839000,"timestamp_seconds":1787463839,"priority":1,"record_length":96,"hex_timestamp":"000001a02d25ad18"} 
[2026-08-23 11:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:15:24] 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-08-23 11:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:15:24] 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-08-23 11:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590665728001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590665728001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:15:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:15:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590665728001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":163029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:15:24] local.INFO: GPS data processed {"connection_id":163029,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:15:24] local.INFO: Acknowledgment sent {"connection_id":163029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:15:33] local.INFO: TCP Data received {"connection_id":160679,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:15:33] local.INFO: Processing buffer {"connection_id":160679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:15:33] local.INFO: IMEI packet received {"connection_id":160679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":160679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:15:35] local.INFO: TCP Data received {"connection_id":160679,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:15:35] local.INFO: Processing buffer {"connection_id":160679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:15:35] local.INFO: IMEI packet received {"connection_id":160679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":160679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:15:36] local.INFO: TCP Data received {"connection_id":160679,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:15:36] local.INFO: Processing buffer {"connection_id":160679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:15:36] local.INFO: IMEI packet received {"connection_id":160679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":160679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:15:39] local.INFO: TCP Data received {"connection_id":160679,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:15:39] local.INFO: Processing buffer {"connection_id":160679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:15:39] local.INFO: IMEI packet received {"connection_id":160679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":160679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:15:40] local.INFO: TCP Data received {"connection_id":160679,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d25ad18012d19aa00071fc0500035006b23..."} 
[2026-08-23 11:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d25ad18012d19aa00071fc0500035006b23..."} 
[2026-08-23 11:15:40] local.INFO: Processing buffer {"connection_id":160679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d25ad18012d19aa00071fc0500035006b23..."} 
[2026-08-23 11:15:40] local.INFO: Packet analysis {"connection_id":160679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:15:40] local.INFO: Extracted packet for processing {"connection_id":160679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:15:40] local.INFO: GPS Element Parsed {"raw_longitude":756656640,"raw_latitude":119521360,"longitude_deg":75.665664,"latitude_deg":11.952136,"altitude":53,"angle":107,"satellites":35,"speed":0,"hex_longitude":"2d19aa00","hex_latitude":"071fc050","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590737408001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15225886697586688,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849290627586478080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787463839000,"timestamp_ms":1787463839000,"timestamp_seconds":1787463839,"priority":1,"record_length":96,"hex_timestamp":"000001a02d25ad18"} 
[2026-08-23 11:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-23 11:15:40] 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-08-23 11: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-08-23 11:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590737408001,"66":13254,"101":206,"83":41984,"24":0,"16":15225886697586688,"45":1849290627586478080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590737408001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:15:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:15:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15225886697586688,"km_value":15225886697586.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849290627586478080,"description":"Unknown IO ID 45"} 
[2026-08-23 11:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590737408001,"power":13254,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1849290627586478080}} 
[2026-08-23 11:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":160679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:15:40] local.INFO: GPS data processed {"connection_id":160679,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:15:40] local.INFO: Acknowledgment sent {"connection_id":160679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:15:40] local.INFO: TCP Data received {"connection_id":160679,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d25ff20012d19aa00071fc0500035006b22..."} 
[2026-08-23 11:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d25ff20012d19aa00071fc0500035006b22..."} 
[2026-08-23 11:15:40] local.INFO: Processing buffer {"connection_id":160679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d25ff20012d19aa00071fc0500035006b22..."} 
[2026-08-23 11:15:40] local.INFO: Packet analysis {"connection_id":160679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:15:40] local.INFO: Extracted packet for processing {"connection_id":160679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:15:40] local.INFO: GPS Element Parsed {"raw_longitude":756656640,"raw_latitude":119521360,"longitude_deg":75.665664,"latitude_deg":11.952136,"altitude":53,"angle":107,"satellites":34,"speed":0,"hex_longitude":"2d19aa00","hex_latitude":"071fc050","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590742784001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15225886697586688,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849290627586478080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787463860000,"timestamp_ms":1787463860000,"timestamp_seconds":1787463860,"priority":1,"record_length":96,"hex_timestamp":"000001a02d25ff20"} 
[2026-08-23 11:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-23 11:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590742784001,"66":14004,"101":206,"83":41984,"24":0,"16":15225886697586688,"45":1849290627586478080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590742784001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:15:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:15:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15225886697586688,"km_value":15225886697586.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849290627586478080,"description":"Unknown IO ID 45"} 
[2026-08-23 11:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590742784001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1849290627586478080}} 
[2026-08-23 11:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":160679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:15:41] local.INFO: GPS data processed {"connection_id":160679,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:15:41] local.INFO: Acknowledgment sent {"connection_id":160679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:15:46] local.INFO: TCP Data received {"connection_id":160443,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:15:46] local.INFO: Processing buffer {"connection_id":160443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:15:46] local.INFO: IMEI packet received {"connection_id":160443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":160443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:15:48] local.INFO: TCP Data received {"connection_id":160678,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2589f0012d7e154005d3bf000007006c25..."} 
[2026-08-23 11:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2589f0012d7e154005d3bf000007006c25..."} 
[2026-08-23 11:15:48] local.INFO: Processing buffer {"connection_id":160678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2589f0012d7e154005d3bf000007006c25..."} 
[2026-08-23 11:15:48] local.INFO: Packet analysis {"connection_id":160678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:15:48] local.INFO: Extracted packet for processing {"connection_id":160678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:15:48] local.INFO: GPS Element Parsed {"raw_longitude":763237696,"raw_latitude":97763072,"longitude_deg":76.3237696,"latitude_deg":9.7763072,"altitude":7,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d7e1540","hex_latitude":"05d3bf00","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590642176001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217061367808,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:48] 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-08-23 11:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787463830000,"timestamp_ms":1787463830000,"timestamp_seconds":1787463830,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2589f0"} 
[2026-08-23 11:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:15:48] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-23 11:15:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590642176001,"66":12298,"81":206,"85":15104,"24":0,"16":122586136223678464,"45":9085238217061367808},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 11:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590642176001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:15:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 11:15:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122586136223678464,"km_value":122586136223678.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217061367808,"description":"Unknown IO ID 45"} 
[2026-08-23 11:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590642176001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085238217061367808}} 
[2026-08-23 11:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":160678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:15:48] local.INFO: GPS data processed {"connection_id":160678,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:15:48] local.INFO: Acknowledgment sent {"connection_id":160678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:15:51] local.INFO: TCP Data received {"connection_id":160443,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:15:51] local.INFO: Processing buffer {"connection_id":160443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:15:51] local.INFO: IMEI packet received {"connection_id":160443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":160443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:15:52] local.INFO: TCP Data received {"connection_id":160443,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:15:52] local.INFO: Processing buffer {"connection_id":160443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:15:52] local.INFO: Packet analysis {"connection_id":160443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:15:52] local.INFO: Extracted packet for processing {"connection_id":160443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:15:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:15: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-08-23 11:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590665728001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787463839000,"timestamp_ms":1787463839000,"timestamp_seconds":1787463839,"priority":1,"record_length":96,"hex_timestamp":"000001a02d25ad18"} 
[2026-08-23 11:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:15:52] 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-08-23 11:15: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-08-23 11:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590665728001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590665728001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:15:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:15:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590665728001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":160443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:15:52] local.INFO: GPS data processed {"connection_id":160443,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:15:52] local.INFO: Acknowledgment sent {"connection_id":160443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:16:12] local.INFO: TCP Data received {"connection_id":160679,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d271090012d19cb80071ff428002e002223..."} 
[2026-08-23 11:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d271090012d19cb80071ff428002e002223..."} 
[2026-08-23 11:16:12] local.INFO: Processing buffer {"connection_id":160679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d271090012d19cb80071ff428002e002223..."} 
[2026-08-23 11:16:12] local.INFO: Packet analysis {"connection_id":160679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d27"} 
[2026-08-23 11:16:12] local.INFO: Extracted packet for processing {"connection_id":160679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d27"} 
[2026-08-23 11:16:12] local.INFO: GPS Element Parsed {"raw_longitude":756665216,"raw_latitude":119534632,"longitude_deg":75.6665216,"latitude_deg":11.9534632,"altitude":46,"angle":34,"satellites":35,"speed":17,"hex_longitude":"2d19cb80","hex_latitude":"071ff428","is_valid_coordinates":true} 
[2026-08-23 11:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590765824001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15227080698494976,"note":"Value kept but may cause issues"} 
[2026-08-23 11:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858368195588712448,"note":"Value kept but may cause issues"} 
[2026-08-23 11:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787463930000,"timestamp_ms":1787463930000,"timestamp_seconds":1787463930,"priority":1,"record_length":96,"hex_timestamp":"000001a02d271090"} 
[2026-08-23 11:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-23 11:16:12] 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-08-23 11:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590765824001,"66":14135,"101":206,"83":41984,"24":17,"16":15227080698494976,"45":1858368195588712448},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590765824001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:16:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:16:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15227080698494976,"km_value":15227080698494.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858368195588712448,"description":"Unknown IO ID 45"} 
[2026-08-23 11:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590765824001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1858368195588712448}} 
[2026-08-23 11:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":160679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:16:12] local.INFO: GPS data processed {"connection_id":160679,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:16:12] local.INFO: Acknowledgment sent {"connection_id":160679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:16:24] local.INFO: TCP Data received {"connection_id":160443,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:16:24] local.INFO: Processing buffer {"connection_id":160443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:16:24] local.INFO: Packet analysis {"connection_id":160443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:16:24] local.INFO: Extracted packet for processing {"connection_id":160443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:16:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:16: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-08-23 11:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590665728001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787463839000,"timestamp_ms":1787463839000,"timestamp_seconds":1787463839,"priority":1,"record_length":96,"hex_timestamp":"000001a02d25ad18"} 
[2026-08-23 11:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:16:24] 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-08-23 11:16: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-08-23 11:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590665728001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590665728001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:16:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:16:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590665728001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":160443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:16:24] local.INFO: GPS data processed {"connection_id":160443,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:16:24] local.INFO: Acknowledgment sent {"connection_id":160443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:16:30] local.INFO: TCP Data received {"connection_id":163030,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:16:30] local.INFO: Processing buffer {"connection_id":163030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:16:30] local.INFO: IMEI packet received {"connection_id":163030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":163030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:16:32] local.INFO: TCP Data received {"connection_id":163030,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:16:32] local.INFO: Processing buffer {"connection_id":163030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:16:32] local.INFO: IMEI packet received {"connection_id":163030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":163030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:16:35] local.INFO: TCP Data received {"connection_id":163030,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:16:35] local.INFO: Processing buffer {"connection_id":163030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:16:35] local.INFO: IMEI packet received {"connection_id":163030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":163030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:16:36] local.INFO: TCP Data received {"connection_id":163030,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d271478012d19cc00071ff610002f001322..."} 
[2026-08-23 11:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d271478012d19cc00071ff610002f001322..."} 
[2026-08-23 11:16:36] local.INFO: Processing buffer {"connection_id":163030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d271478012d19cc00071ff610002f001322..."} 
[2026-08-23 11:16:36] local.INFO: Packet analysis {"connection_id":163030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d27"} 
[2026-08-23 11:16:36] local.INFO: Extracted packet for processing {"connection_id":163030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d27"} 
[2026-08-23 11:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756665344,"raw_latitude":119535120,"longitude_deg":75.6665344,"latitude_deg":11.953512,"altitude":47,"angle":19,"satellites":34,"speed":20,"hex_longitude":"2d19cc00","hex_latitude":"071ff610","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590766080001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15227102173331456,"note":"Value kept but may cause issues"} 
[2026-08-23 11:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858720039309682688,"note":"Value kept but may cause issues"} 
[2026-08-23 11:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787463931000,"timestamp_ms":1787463931000,"timestamp_seconds":1787463931,"priority":1,"record_length":96,"hex_timestamp":"000001a02d271478"} 
[2026-08-23 11:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-23 11:16:36] 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-08-23 11: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-08-23 11:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590766080001,"66":13722,"101":206,"83":41984,"24":20,"16":15227102173331456,"45":1858720039309682688},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590766080001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:16:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15227102173331456,"km_value":15227102173331.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858720039309682688,"description":"Unknown IO ID 45"} 
[2026-08-23 11:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590766080001,"power":13722,"unknown_101":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1858720039309682688}} 
[2026-08-23 11:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":163030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:16:36] local.INFO: GPS data processed {"connection_id":163030,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:16:36] local.INFO: Acknowledgment sent {"connection_id":163030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:16:37] local.INFO: TCP Data received {"connection_id":163030,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d271c48012d19ce80071ff9b0002d002a22..."} 
[2026-08-23 11:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d271c48012d19ce80071ff9b0002d002a22..."} 
[2026-08-23 11:16:37] local.INFO: Processing buffer {"connection_id":163030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d271c48012d19ce80071ff9b0002d002a22..."} 
[2026-08-23 11:16:37] local.INFO: Packet analysis {"connection_id":163030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d27"} 
[2026-08-23 11:16:37] local.INFO: Extracted packet for processing {"connection_id":163030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d27"} 
[2026-08-23 11:16:37] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119536048,"longitude_deg":75.6665984,"latitude_deg":11.9536048,"altitude":45,"angle":42,"satellites":34,"speed":21,"hex_longitude":"2d19ce80","hex_latitude":"071ff9b0","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590766336001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15227158007906304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858860776798162944,"note":"Value kept but may cause issues"} 
[2026-08-23 11:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787463933000,"timestamp_ms":1787463933000,"timestamp_seconds":1787463933,"priority":1,"record_length":96,"hex_timestamp":"000001a02d271c48"} 
[2026-08-23 11:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-23 11:16: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-08-23 11: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-08-23 11:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590766336001,"66":14189,"101":206,"83":41984,"24":21,"16":15227158007906304,"45":1858860776798162944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590766336001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:16:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15227158007906304,"km_value":15227158007906.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858860776798162944,"description":"Unknown IO ID 45"} 
[2026-08-23 11:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590766336001,"power":14189,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1858860776798162944}} 
[2026-08-23 11:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":163030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:16:37] local.INFO: GPS data processed {"connection_id":163030,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:16:37] local.INFO: Acknowledgment sent {"connection_id":163030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:16:46] local.INFO: TCP Data received {"connection_id":161624,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:16:46] local.INFO: Processing buffer {"connection_id":161624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:16:46] local.INFO: IMEI packet received {"connection_id":161624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":161624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:16:51] local.INFO: TCP Data received {"connection_id":161624,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:16:51] local.INFO: Processing buffer {"connection_id":161624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:16:51] local.INFO: IMEI packet received {"connection_id":161624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":161624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:16:53] local.INFO: TCP Data received {"connection_id":161624,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:16:53] local.INFO: Processing buffer {"connection_id":161624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:16:53] local.INFO: Packet analysis {"connection_id":161624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:16:53] local.INFO: Extracted packet for processing {"connection_id":161624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:16:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590665728001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787463839000,"timestamp_ms":1787463839000,"timestamp_seconds":1787463839,"priority":1,"record_length":96,"hex_timestamp":"000001a02d25ad18"} 
[2026-08-23 11:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:16:53] 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-08-23 11:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590665728001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590665728001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:16:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:16:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590665728001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":161624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:16:53] local.INFO: GPS data processed {"connection_id":161624,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:16:53] local.INFO: Acknowledgment sent {"connection_id":161624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:17:08] local.INFO: TCP Data received {"connection_id":163030,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d27cff8012d19b800072066a00021015827..."} 
[2026-08-23 11:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d27cff8012d19b800072066a00021015827..."} 
[2026-08-23 11:17:08] local.INFO: Processing buffer {"connection_id":163030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d27cff8012d19b800072066a00021015827..."} 
[2026-08-23 11:17:08] local.INFO: Packet analysis {"connection_id":163030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d27"} 
[2026-08-23 11:17:08] local.INFO: Extracted packet for processing {"connection_id":163030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d27"} 
[2026-08-23 11:17:08] local.INFO: GPS Element Parsed {"raw_longitude":756660224,"raw_latitude":119563936,"longitude_deg":75.6660224,"latitude_deg":11.9563936,"altitude":33,"angle":344,"satellites":39,"speed":37,"hex_longitude":"2d19b800","hex_latitude":"072066a0","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590776064001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15228777210576896,"note":"Value kept but may cause issues"} 
[2026-08-23 11:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854568283408295936,"note":"Value kept but may cause issues"} 
[2026-08-23 11:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787463979000,"timestamp_ms":1787463979000,"timestamp_seconds":1787463979,"priority":1,"record_length":96,"hex_timestamp":"000001a02d27cff8"} 
[2026-08-23 11:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-23 11:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590776064001,"66":13993,"103":206,"83":41984,"24":37,"16":15228777210576896,"45":1854568283408295936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590776064001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:17:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:17:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15228777210576896,"km_value":15228777210576.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854568283408295936,"description":"Unknown IO ID 45"} 
[2026-08-23 11:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590776064001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1854568283408295936}} 
[2026-08-23 11:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":163030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:17:08] local.INFO: GPS data processed {"connection_id":163030,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:17:08] local.INFO: Acknowledgment sent {"connection_id":163030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:17:25] local.INFO: TCP Data received {"connection_id":161624,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:17:25] local.INFO: Processing buffer {"connection_id":161624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:17:25] local.INFO: Packet analysis {"connection_id":161624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:17:25] local.INFO: Extracted packet for processing {"connection_id":161624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:17:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590665728001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787463839000,"timestamp_ms":1787463839000,"timestamp_seconds":1787463839,"priority":1,"record_length":96,"hex_timestamp":"000001a02d25ad18"} 
[2026-08-23 11:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:17:25] 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-08-23 11: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-08-23 11:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590665728001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590665728001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:17:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:17:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590665728001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":161624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:17:25] local.INFO: GPS data processed {"connection_id":161624,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:17:25] local.INFO: Acknowledgment sent {"connection_id":161624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:17:30] local.INFO: TCP Data received {"connection_id":160444,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:17:30] local.INFO: Processing buffer {"connection_id":160444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:17:30] local.INFO: IMEI packet received {"connection_id":160444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":160444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:17:35] local.INFO: TCP Data received {"connection_id":160444,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:17:35] local.INFO: Processing buffer {"connection_id":160444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:17:35] local.INFO: IMEI packet received {"connection_id":160444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":160444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:17:36] local.INFO: TCP Data received {"connection_id":160444,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d27cff8012d19b800072066a00021015827..."} 
[2026-08-23 11:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d27cff8012d19b800072066a00021015827..."} 
[2026-08-23 11:17:36] local.INFO: Processing buffer {"connection_id":160444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d27cff8012d19b800072066a00021015827..."} 
[2026-08-23 11:17:36] local.INFO: Packet analysis {"connection_id":160444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d27"} 
[2026-08-23 11:17:36] local.INFO: Extracted packet for processing {"connection_id":160444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d27"} 
[2026-08-23 11:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756660224,"raw_latitude":119563936,"longitude_deg":75.6660224,"latitude_deg":11.9563936,"altitude":33,"angle":344,"satellites":39,"speed":37,"hex_longitude":"2d19b800","hex_latitude":"072066a0","is_valid_coordinates":true} 
[2026-08-23 11:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590778624001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15228777210576896,"note":"Value kept but may cause issues"} 
[2026-08-23 11:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853231277271326720,"note":"Value kept but may cause issues"} 
[2026-08-23 11:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787463979000,"timestamp_ms":1787463979000,"timestamp_seconds":1787463979,"priority":1,"record_length":96,"hex_timestamp":"000001a02d27cff8"} 
[2026-08-23 11:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-23 11:17:36] 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-08-23 11:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590778624001,"66":13993,"103":206,"83":41984,"24":37,"16":15228777210576896,"45":1853231277271326720},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590778624001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:17:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15228777210576896,"km_value":15228777210576.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853231277271326720,"description":"Unknown IO ID 45"} 
[2026-08-23 11:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590778624001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1853231277271326720}} 
[2026-08-23 11:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":160444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:17:36] local.INFO: GPS data processed {"connection_id":160444,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:17:36] local.INFO: Acknowledgment sent {"connection_id":160444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:17:51] local.INFO: TCP Data received {"connection_id":163031,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:17:51] local.INFO: Processing buffer {"connection_id":163031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:17:51] local.INFO: IMEI packet received {"connection_id":163031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":163031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:17:57] local.INFO: TCP Data received {"connection_id":163031,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:17:57] local.INFO: Processing buffer {"connection_id":163031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:17:57] local.INFO: IMEI packet received {"connection_id":163031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":163031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:17:59] local.INFO: TCP Data received {"connection_id":163031,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:17:59] local.INFO: Processing buffer {"connection_id":163031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:17:59] local.INFO: Packet analysis {"connection_id":163031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:17:59] local.INFO: Extracted packet for processing {"connection_id":163031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:17:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590665728001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787463839000,"timestamp_ms":1787463839000,"timestamp_seconds":1787463839,"priority":1,"record_length":96,"hex_timestamp":"000001a02d25ad18"} 
[2026-08-23 11:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":163031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":163031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":163031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:17:59] 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-08-23 11:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590665728001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590665728001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:17:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:17:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590665728001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":163031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:17:59] local.INFO: GPS data processed {"connection_id":163031,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:17:59] local.INFO: Acknowledgment sent {"connection_id":163031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:18:07] local.INFO: TCP Data received {"connection_id":160444,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d28be40012d1991800720af38003600a228..."} 
[2026-08-23 11:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d28be40012d1991800720af38003600a228..."} 
[2026-08-23 11:18:07] local.INFO: Processing buffer {"connection_id":160444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d28be40012d1991800720af38003600a228..."} 
[2026-08-23 11:18:07] local.INFO: Packet analysis {"connection_id":160444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d28"} 
[2026-08-23 11:18:07] local.INFO: Extracted packet for processing {"connection_id":160444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d28"} 
[2026-08-23 11:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756650368,"raw_latitude":119582520,"longitude_deg":75.6650368,"latitude_deg":11.958252,"altitude":54,"angle":162,"satellites":40,"speed":6,"hex_longitude":"2d199180","hex_latitude":"0720af38","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590789376001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15230228909522944,"note":"Value kept but may cause issues"} 
[2026-08-23 11:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842605596905457664,"note":"Value kept but may cause issues"} 
[2026-08-23 11:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787464040000,"timestamp_ms":1787464040000,"timestamp_seconds":1787464040,"priority":1,"record_length":96,"hex_timestamp":"000001a02d28be40"} 
[2026-08-23 11:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:18: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-08-23 11: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-23 11:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590789376001,"66":13439,"103":206,"83":41984,"24":6,"16":15230228909522944,"45":1842605596905457664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590789376001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:18:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15230228909522944,"km_value":15230228909522.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842605596905457664,"description":"Unknown IO ID 45"} 
[2026-08-23 11:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590789376001,"power":13439,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1842605596905457664}} 
[2026-08-23 11:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":160444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:18:07] local.INFO: GPS data processed {"connection_id":160444,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:18:07] local.INFO: Acknowledgment sent {"connection_id":160444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:18:29] local.INFO: TCP Data received {"connection_id":160680,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:18:30] local.INFO: Processing buffer {"connection_id":160680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:18:30] local.INFO: IMEI packet received {"connection_id":160680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":160680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:18:30] local.INFO: TCP Data received {"connection_id":163031,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:18:30] local.INFO: Processing buffer {"connection_id":163031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:18:30] local.INFO: Packet analysis {"connection_id":163031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:18:30] local.INFO: Extracted packet for processing {"connection_id":163031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:18:30] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590665728001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787463839000,"timestamp_ms":1787463839000,"timestamp_seconds":1787463839,"priority":1,"record_length":96,"hex_timestamp":"000001a02d25ad18"} 
[2026-08-23 11:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":163031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":163031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":163031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:18:30] 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-08-23 11:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590665728001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590665728001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:18:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:18:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590665728001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":163031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:18:30] local.INFO: GPS data processed {"connection_id":163031,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:18:30] local.INFO: Acknowledgment sent {"connection_id":163031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:18:32] local.INFO: TCP Data received {"connection_id":160680,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:18:32] local.INFO: Processing buffer {"connection_id":160680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:18:32] local.INFO: IMEI packet received {"connection_id":160680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":160680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:18:35] local.INFO: TCP Data received {"connection_id":160680,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:18:35] local.INFO: Processing buffer {"connection_id":160680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:18:35] local.INFO: IMEI packet received {"connection_id":160680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":160680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:18:36] local.INFO: TCP Data received {"connection_id":160680,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d28c9f8012d1992000720ac60003700b028..."} 
[2026-08-23 11:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d28c9f8012d1992000720ac60003700b028..."} 
[2026-08-23 11:18:36] local.INFO: Processing buffer {"connection_id":160680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d28c9f8012d1992000720ac60003700b028..."} 
[2026-08-23 11:18:36] local.INFO: Packet analysis {"connection_id":160680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d28"} 
[2026-08-23 11:18:36] local.INFO: Extracted packet for processing {"connection_id":160680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d28"} 
[2026-08-23 11:18:36] local.INFO: GPS Element Parsed {"raw_longitude":756650496,"raw_latitude":119581792,"longitude_deg":75.6650496,"latitude_deg":11.9581792,"altitude":55,"angle":176,"satellites":40,"speed":10,"hex_longitude":"2d199200","hex_latitude":"0720ac60","is_valid_coordinates":true} 
[2026-08-23 11:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590794240001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15230263269261312,"note":"Value kept but may cause issues"} 
[2026-08-23 11:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842394490672723968,"note":"Value kept but may cause issues"} 
[2026-08-23 11:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787464043000,"timestamp_ms":1787464043000,"timestamp_seconds":1787464043,"priority":1,"record_length":96,"hex_timestamp":"000001a02d28c9f8"} 
[2026-08-23 11:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-23 11:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590794240001,"66":13374,"103":206,"83":41984,"24":10,"16":15230263269261312,"45":1842394490672723968},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590794240001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:18:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15230263269261312,"km_value":15230263269261.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842394490672723968,"description":"Unknown IO ID 45"} 
[2026-08-23 11:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590794240001,"power":13374,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1842394490672723968}} 
[2026-08-23 11:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":160680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:18:36] local.INFO: GPS data processed {"connection_id":160680,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:18:36] local.INFO: Acknowledgment sent {"connection_id":160680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:18:47] local.INFO: TCP Data received {"connection_id":160681,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:18:47] local.INFO: Processing buffer {"connection_id":160681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:18:47] local.INFO: IMEI packet received {"connection_id":160681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":160681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:18:51] local.INFO: TCP Data received {"connection_id":160681,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:18:51] local.INFO: Processing buffer {"connection_id":160681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:18:51] local.INFO: IMEI packet received {"connection_id":160681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":160681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:18:52] local.INFO: TCP Data received {"connection_id":160681,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:18:52] local.INFO: Processing buffer {"connection_id":160681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:18:52] local.INFO: Packet analysis {"connection_id":160681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:18:52] local.INFO: Extracted packet for processing {"connection_id":160681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:18:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590665728001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787463839000,"timestamp_ms":1787463839000,"timestamp_seconds":1787463839,"priority":1,"record_length":96,"hex_timestamp":"000001a02d25ad18"} 
[2026-08-23 11:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:18:52] 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-08-23 11:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590665728001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590665728001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:18:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:18:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590665728001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":160681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:18:52] local.INFO: GPS data processed {"connection_id":160681,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:18:52] local.INFO: Acknowledgment sent {"connection_id":160681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:19:07] local.INFO: TCP Data received {"connection_id":160680,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d28e168012d1992400720a628003700a029..."} 
[2026-08-23 11:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d28e168012d1992400720a628003700a029..."} 
[2026-08-23 11:19:07] local.INFO: Processing buffer {"connection_id":160680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d28e168012d1992400720a628003700a029..."} 
[2026-08-23 11:19:07] local.INFO: Packet analysis {"connection_id":160680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d28"} 
[2026-08-23 11:19:07] local.INFO: Extracted packet for processing {"connection_id":160680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d28"} 
[2026-08-23 11:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756650560,"raw_latitude":119580200,"longitude_deg":75.665056,"latitude_deg":11.95802,"altitude":55,"angle":160,"satellites":41,"speed":9,"hex_longitude":"2d199240","hex_latitude":"0720a628","is_valid_coordinates":true} 
[2026-08-23 11:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590795008001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15230340578672640,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842535228160892928,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787464049000,"timestamp_ms":1787464049000,"timestamp_seconds":1787464049,"priority":1,"record_length":96,"hex_timestamp":"000001a02d28e168"} 
[2026-08-23 11:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:19: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-08-23 11:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-23 11:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590795008001,"66":13352,"103":206,"83":41984,"24":9,"16":15230340578672640,"45":1842535228160892928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590795008001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:19:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15230340578672640,"km_value":15230340578672.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842535228160892928,"description":"Unknown IO ID 45"} 
[2026-08-23 11:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590795008001,"power":13352,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1842535228160892928}} 
[2026-08-23 11:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":160680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:19:07] local.INFO: GPS data processed {"connection_id":160680,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:19:07] local.INFO: Acknowledgment sent {"connection_id":160680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:19:25] local.INFO: TCP Data received {"connection_id":160681,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:19:25] local.INFO: Processing buffer {"connection_id":160681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d25ad18012d34c50006aa4098000c008520..."} 
[2026-08-23 11:19:25] local.INFO: Packet analysis {"connection_id":160681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:19:25] local.INFO: Extracted packet for processing {"connection_id":160681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d25"} 
[2026-08-23 11:19:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590665728001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787463839000,"timestamp_ms":1787463839000,"timestamp_seconds":1787463839,"priority":1,"record_length":96,"hex_timestamp":"000001a02d25ad18"} 
[2026-08-23 11:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:19:25] 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-08-23 11:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590665728001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590665728001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:19:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:19:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590665728001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":160681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:19:25] local.INFO: GPS data processed {"connection_id":160681,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:19:25] local.INFO: Acknowledgment sent {"connection_id":160681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:19:35] local.INFO: TCP Data received {"connection_id":160445,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:19:35] local.INFO: Processing buffer {"connection_id":160445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:19:35] local.INFO: IMEI packet received {"connection_id":160445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":160445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:19:40] local.INFO: TCP Data received {"connection_id":160445,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:19:40] local.INFO: Processing buffer {"connection_id":160445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:19:40] local.INFO: IMEI packet received {"connection_id":160445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":160445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:19:41] local.INFO: TCP Data received {"connection_id":160445,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d28e938012d1993000720a4b00037008e2a..."} 
[2026-08-23 11:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d28e938012d1993000720a4b00037008e2a..."} 
[2026-08-23 11:19:41] local.INFO: Processing buffer {"connection_id":160445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d28e938012d1993000720a4b00037008e2a..."} 
[2026-08-23 11:19:41] local.INFO: Packet analysis {"connection_id":160445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d28"} 
[2026-08-23 11:19:41] local.INFO: Extracted packet for processing {"connection_id":160445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d28"} 
[2026-08-23 11:19:41] local.INFO: GPS Element Parsed {"raw_longitude":756650752,"raw_latitude":119579824,"longitude_deg":75.6650752,"latitude_deg":11.9579824,"altitude":55,"angle":142,"satellites":42,"speed":8,"hex_longitude":"2d199300","hex_latitude":"0720a4b0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 11:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590796544001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15230362053509120,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842605596904663040,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787464051000,"timestamp_ms":1787464051000,"timestamp_seconds":1787464051,"priority":1,"record_length":96,"hex_timestamp":"000001a02d28e938"} 
[2026-08-23 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-08-23 11:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-23 11:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 11:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590796544001,"66":13319,"103":206,"83":41984,"24":8,"16":15230362053509120,"45":1842605596904663040},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590796544001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:19:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:19:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15230362053509120,"km_value":15230362053509.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842605596904663040,"description":"Unknown IO ID 45"} 
[2026-08-23 11:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590796544001,"power":13319,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1842605596904663040}} 
[2026-08-23 11:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":160445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:19:41] local.INFO: GPS data processed {"connection_id":160445,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:19:41] local.INFO: Acknowledgment sent {"connection_id":160445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:19:45] local.INFO: TCP Data received {"connection_id":160445,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d28f108012d1993c00720a348003700a42a..."} 
[2026-08-23 11:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d28f108012d1993c00720a348003700a42a..."} 
[2026-08-23 11:19:45] local.INFO: Processing buffer {"connection_id":160445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d28f108012d1993c00720a348003700a42a..."} 
[2026-08-23 11:19:45] local.INFO: Packet analysis {"connection_id":160445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d28"} 
[2026-08-23 11:19:45] local.INFO: Extracted packet for processing {"connection_id":160445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d28"} 
[2026-08-23 11:19:45] local.INFO: GPS Element Parsed {"raw_longitude":756650944,"raw_latitude":119579464,"longitude_deg":75.6650944,"latitude_deg":11.9579464,"altitude":55,"angle":164,"satellites":42,"speed":6,"hex_longitude":"2d1993c0","hex_latitude":"0720a348","is_valid_coordinates":true} 
[2026-08-23 11:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590797056001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15230383528345600,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842816703137099776,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787464053000,"timestamp_ms":1787464053000,"timestamp_seconds":1787464053,"priority":1,"record_length":96,"hex_timestamp":"000001a02d28f108"} 
[2026-08-23 11:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 11:19:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:45] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:45] local.WARNING: Large IO value detected {"io_id":40,"raw_value":5264709257611689991,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:45] local.WARNING: Large IO value detected {"io_id":32,"raw_value":-5726326711434663936,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-23 11:19:45] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3221692594,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:45] local.WARNING: Large IO value detected {"io_id":218,"raw_value":57834754016170916,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:45] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,27,160,225,45,64,166,55,41,10,66,201,172,40,190,128,1,240,127,227,32,4,113,205,6,112,146,152,239,54,2,7,51,19,218],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-23 11:19:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963323983126331392,"timestamp_seconds":3963323983126331.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 11:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590797056001,"66":13319,"103":206,"83":41984,"24":6,"16":15230383528345600,"45":1842816703137099776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590797056001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:19:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:19:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15230383528345600,"km_value":15230383528345.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842816703137099776,"description":"Unknown IO ID 45"} 
[2026-08-23 11:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590797056001,"power":13319,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1842816703137099776}} 
[2026-08-23 11:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":160445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:19:45] local.INFO: GPS data processed {"connection_id":160445,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:19:45] local.INFO: Acknowledgment sent {"connection_id":160445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:19:47] local.INFO: TCP Data received {"connection_id":161625,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:19:47] local.INFO: Processing buffer {"connection_id":161625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:19:47] local.INFO: IMEI packet received {"connection_id":161625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":161625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:19:52] local.INFO: TCP Data received {"connection_id":161625,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:19:52] local.INFO: Processing buffer {"connection_id":161625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:19:52] local.INFO: IMEI packet received {"connection_id":161625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":161625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:19:53] local.INFO: TCP Data received {"connection_id":161625,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:19:53] local.INFO: Processing buffer {"connection_id":161625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:19:53] local.INFO: Packet analysis {"connection_id":161625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:19:53] local.INFO: Extracted packet for processing {"connection_id":161625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:19:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590742784001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787464140000,"timestamp_ms":1787464140000,"timestamp_seconds":1787464140,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2a44e0"} 
[2026-08-23 11:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:19:53] 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-08-23 11:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590742784001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590742784001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:19:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:19:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590742784001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":161625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:19:53] local.INFO: GPS data processed {"connection_id":161625,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:19:53] local.INFO: Acknowledgment sent {"connection_id":161625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:20:25] local.INFO: TCP Data received {"connection_id":161625,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:20:25] local.INFO: Processing buffer {"connection_id":161625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:20:25] local.INFO: Packet analysis {"connection_id":161625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:20:25] local.INFO: Extracted packet for processing {"connection_id":161625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:20:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590742784001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787464140000,"timestamp_ms":1787464140000,"timestamp_seconds":1787464140,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2a44e0"} 
[2026-08-23 11:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:20:25] 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-08-23 11:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590742784001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590742784001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:20:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:20:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590742784001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":161625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:20:25] local.INFO: GPS data processed {"connection_id":161625,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:20:25] local.INFO: Acknowledgment sent {"connection_id":161625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:20:30] local.INFO: TCP Data received {"connection_id":160682,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:20:30] local.INFO: Processing buffer {"connection_id":160682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:20:30] local.INFO: IMEI packet received {"connection_id":160682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":160682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:20:32] local.INFO: TCP Data received {"connection_id":160682,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:20:32] local.INFO: Processing buffer {"connection_id":160682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:20:32] local.INFO: IMEI packet received {"connection_id":160682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":160682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:20:33] local.INFO: TCP Data received {"connection_id":160682,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d294310012d1993800720a1b8003700a41e..."} 
[2026-08-23 11:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d294310012d1993800720a1b8003700a41e..."} 
[2026-08-23 11:20:33] local.INFO: Processing buffer {"connection_id":160682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d294310012d1993800720a1b8003700a41e..."} 
[2026-08-23 11:20:33] local.INFO: Packet analysis {"connection_id":160682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d29"} 
[2026-08-23 11:20:33] local.INFO: Extracted packet for processing {"connection_id":160682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d29"} 
[2026-08-23 11:20:33] local.INFO: GPS Element Parsed {"raw_longitude":756650880,"raw_latitude":119579064,"longitude_deg":75.665088,"latitude_deg":11.9579064,"altitude":55,"angle":164,"satellites":30,"speed":0,"hex_longitude":"2d199380","hex_latitude":"0720a1b8","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590797568001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15230405003182080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843027809369540608,"note":"Value kept but may cause issues"} 
[2026-08-23 11:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787464074000,"timestamp_ms":1787464074000,"timestamp_seconds":1787464074,"priority":1,"record_length":96,"hex_timestamp":"000001a02d294310"} 
[2026-08-23 11:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 11:20:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 11:20:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 11:20:33] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3623878656,"note":"Value kept but may cause issues"} 
[2026-08-23 11:20:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-08-23 11:20:33] local.WARNING: Large IO value detected {"io_id":32,"raw_value":-5559693520927774208,"note":"Value kept but may cause issues"} 
[2026-08-23 11:20:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-23 11:20:33] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376824,"note":"Value kept but may cause issues"} 
[2026-08-23 11:20:33] local.WARNING: Large IO value detected {"io_id":224,"raw_value":57834754016170916,"note":"Value kept but may cause issues"} 
[2026-08-23 11:20:33] local.WARNING: Large IO value detected {"io_id":40,"raw_value":7516509071295741959,"note":"Value kept but may cause issues"} 
[2026-08-23 11:20:33] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,27,160,233,45,164,55,42,10,66,225,64,166,41,201,1,240,62,227,32,4,113,205,6,116,146,72,239,52,2,54,7,51,9,224,40],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-23 11:20:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963348172382011392,"timestamp_seconds":3963348172382011.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 11:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590797568001,"66":13167,"103":206,"83":41984,"24":0,"16":15230405003182080,"45":1843027809369540608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590797568001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:20:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:20:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15230405003182080,"km_value":15230405003182.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843027809369540608,"description":"Unknown IO ID 45"} 
[2026-08-23 11:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590797568001,"power":13167,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1843027809369540608}} 
[2026-08-23 11:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":160682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:20:33] local.INFO: GPS data processed {"connection_id":160682,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:20:33] local.INFO: Acknowledgment sent {"connection_id":160682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:20:46] local.INFO: TCP Data received {"connection_id":160683,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:20:46] local.INFO: Processing buffer {"connection_id":160683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:20:46] local.INFO: IMEI packet received {"connection_id":160683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":160683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:20:51] local.INFO: TCP Data received {"connection_id":160683,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:20:51] local.INFO: Processing buffer {"connection_id":160683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:20:51] local.INFO: IMEI packet received {"connection_id":160683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":160683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:20:54] local.INFO: TCP Data received {"connection_id":160683,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:20:54] local.INFO: Processing buffer {"connection_id":160683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:20:54] local.INFO: Packet analysis {"connection_id":160683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:20:54] local.INFO: Extracted packet for processing {"connection_id":160683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:20:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 11:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590742784001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787464140000,"timestamp_ms":1787464140000,"timestamp_seconds":1787464140,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2a44e0"} 
[2026-08-23 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-08-23 11:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:20:54] 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-08-23 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-08-23 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-08-23 11:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:20:54] 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-08-23 11:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590742784001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590742784001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:20:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:20:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590742784001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":160683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:20:54] local.INFO: GPS data processed {"connection_id":160683,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:20:54] local.INFO: Acknowledgment sent {"connection_id":160683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:21:04] local.INFO: TCP Data received {"connection_id":160682,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d296250012d1993c00720a1b8003700021c..."} 
[2026-08-23 11:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d296250012d1993c00720a1b8003700021c..."} 
[2026-08-23 11:21:04] local.INFO: Processing buffer {"connection_id":160682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d296250012d1993c00720a1b8003700021c..."} 
[2026-08-23 11:21:04] local.INFO: Packet analysis {"connection_id":160682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d29"} 
[2026-08-23 11:21:04] local.INFO: Extracted packet for processing {"connection_id":160682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d29"} 
[2026-08-23 11:21:04] local.INFO: GPS Element Parsed {"raw_longitude":756650944,"raw_latitude":119579064,"longitude_deg":75.6650944,"latitude_deg":11.9579064,"altitude":55,"angle":2,"satellites":28,"speed":1,"hex_longitude":"2d1993c0","hex_latitude":"0720a1b8","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590802944001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15230409298149376,"note":"Value kept but may cause issues"} 
[2026-08-23 11:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842957440625260544,"note":"Value kept but may cause issues"} 
[2026-08-23 11:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787464082000,"timestamp_ms":1787464082000,"timestamp_seconds":1787464082,"priority":1,"record_length":96,"hex_timestamp":"000001a02d296250"} 
[2026-08-23 11:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-23 11:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590802944001,"66":13243,"103":206,"83":41984,"24":1,"16":15230409298149376,"45":1842957440625260544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590802944001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:21:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:21:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15230409298149376,"km_value":15230409298149.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842957440625260544,"description":"Unknown IO ID 45"} 
[2026-08-23 11:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590802944001,"power":13243,"unknown_103":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1842957440625260544}} 
[2026-08-23 11:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":160682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:21:04] local.INFO: GPS data processed {"connection_id":160682,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:21:04] local.INFO: Acknowledgment sent {"connection_id":160682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:21:25] local.INFO: TCP Data received {"connection_id":160683,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:21:25] local.INFO: Processing buffer {"connection_id":160683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:21:25] local.INFO: Packet analysis {"connection_id":160683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:21:25] local.INFO: Extracted packet for processing {"connection_id":160683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:21:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590742784001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787464140000,"timestamp_ms":1787464140000,"timestamp_seconds":1787464140,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2a44e0"} 
[2026-08-23 11:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:21:25] 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-08-23 11:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:21:25] 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-08-23 11:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590742784001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590742784001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:21:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:21:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590742784001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":160683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:21:25] local.INFO: GPS data processed {"connection_id":160683,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:21:25] local.INFO: Acknowledgment sent {"connection_id":160683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:21:30] local.INFO: TCP Data received {"connection_id":163032,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:21:30] local.INFO: Processing buffer {"connection_id":163032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:21:30] local.INFO: IMEI packet received {"connection_id":163032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":163032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:21:35] local.INFO: TCP Data received {"connection_id":163032,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:21:35] local.INFO: Processing buffer {"connection_id":163032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:21:35] local.INFO: IMEI packet received {"connection_id":163032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":163032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:21:36] local.INFO: TCP Data received {"connection_id":163032,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2971f0012d1993c00720a228003901591e..."} 
[2026-08-23 11:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2971f0012d1993c00720a228003901591e..."} 
[2026-08-23 11:21:36] local.INFO: Processing buffer {"connection_id":163032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2971f0012d1993c00720a228003901591e..."} 
[2026-08-23 11:21:36] local.INFO: Packet analysis {"connection_id":163032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d29"} 
[2026-08-23 11:21:36] local.INFO: Extracted packet for processing {"connection_id":163032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d29"} 
[2026-08-23 11:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756650944,"raw_latitude":119579176,"longitude_deg":75.6650944,"latitude_deg":11.9579176,"altitude":57,"angle":345,"satellites":30,"speed":1,"hex_longitude":"2d1993c0","hex_latitude":"0720a228","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590804992001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15230413593116672,"note":"Value kept but may cause issues"} 
[2026-08-23 11:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843027809369438208,"note":"Value kept but may cause issues"} 
[2026-08-23 11:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787464086000,"timestamp_ms":1787464086000,"timestamp_seconds":1787464086,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2971f0"} 
[2026-08-23 11:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-23 11:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590804992001,"66":13254,"103":206,"83":41984,"24":1,"16":15230413593116672,"45":1843027809369438208},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590804992001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:21:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:21:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15230413593116672,"km_value":15230413593116.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843027809369438208,"description":"Unknown IO ID 45"} 
[2026-08-23 11:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590804992001,"power":13254,"unknown_103":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1843027809369438208}} 
[2026-08-23 11:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":163032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:21:36] local.INFO: GPS data processed {"connection_id":163032,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:21:36] local.INFO: Acknowledgment sent {"connection_id":163032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:21:51] local.INFO: TCP Data received {"connection_id":161626,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:21:51] local.INFO: Processing buffer {"connection_id":161626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:21:51] local.INFO: IMEI packet received {"connection_id":161626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":161626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:21:56] local.INFO: TCP Data received {"connection_id":161626,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:21:56] local.INFO: Processing buffer {"connection_id":161626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:21:56] local.INFO: IMEI packet received {"connection_id":161626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":161626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:21:58] local.INFO: TCP Data received {"connection_id":161626,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:21:58] local.INFO: Processing buffer {"connection_id":161626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:21:58] local.INFO: Packet analysis {"connection_id":161626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:21:58] local.INFO: Extracted packet for processing {"connection_id":161626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:21:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590742784001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787464140000,"timestamp_ms":1787464140000,"timestamp_seconds":1787464140,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2a44e0"} 
[2026-08-23 11:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:21: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-08-23 11:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590742784001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590742784001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:21:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:21:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590742784001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":161626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:21:58] local.INFO: GPS data processed {"connection_id":161626,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:21:58] local.INFO: Acknowledgment sent {"connection_id":161626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:22:03] local.INFO: TCP Data received {"connection_id":161626,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:22:03] local.INFO: Processing buffer {"connection_id":161626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:22:03] local.INFO: Packet analysis {"connection_id":161626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:22:03] local.INFO: Extracted packet for processing {"connection_id":161626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:22:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590742784001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787464140000,"timestamp_ms":1787464140000,"timestamp_seconds":1787464140,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2a44e0"} 
[2026-08-23 11:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:22:03] 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-08-23 11:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590742784001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590742784001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:22:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:22:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590742784001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":161626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:22:03] local.INFO: GPS data processed {"connection_id":161626,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:22:03] local.INFO: Acknowledgment sent {"connection_id":161626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:22:07] local.INFO: TCP Data received {"connection_id":163032,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d297da8012d1993800720a280003a014b1f..."} 
[2026-08-23 11:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d297da8012d1993800720a280003a014b1f..."} 
[2026-08-23 11:22:07] local.INFO: Processing buffer {"connection_id":163032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d297da8012d1993800720a280003a014b1f..."} 
[2026-08-23 11:22:07] local.INFO: Packet analysis {"connection_id":163032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d29"} 
[2026-08-23 11:22:07] local.INFO: Extracted packet for processing {"connection_id":163032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d29"} 
[2026-08-23 11:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756650880,"raw_latitude":119579264,"longitude_deg":75.665088,"latitude_deg":11.9579264,"altitude":58,"angle":331,"satellites":31,"speed":1,"hex_longitude":"2d199380","hex_latitude":"0720a280","is_valid_coordinates":true} 
[2026-08-23 11:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590806016001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15230422183051264,"note":"Value kept but may cause issues"} 
[2026-08-23 11:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843027809369466880,"note":"Value kept but may cause issues"} 
[2026-08-23 11:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787464089000,"timestamp_ms":1787464089000,"timestamp_seconds":1787464089,"priority":1,"record_length":96,"hex_timestamp":"000001a02d297da8"} 
[2026-08-23 11:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-23 11:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590806016001,"66":13243,"103":206,"83":41984,"24":1,"16":15230422183051264,"45":1843027809369466880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590806016001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:22:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15230422183051264,"km_value":15230422183051.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843027809369466880,"description":"Unknown IO ID 45"} 
[2026-08-23 11:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590806016001,"power":13243,"unknown_103":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1843027809369466880}} 
[2026-08-23 11:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":163032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:22:07] local.INFO: GPS data processed {"connection_id":163032,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:22:07] local.INFO: Acknowledgment sent {"connection_id":163032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:22:30] local.INFO: TCP Data received {"connection_id":161627,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:22:30] local.INFO: Processing buffer {"connection_id":161627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:22:30] local.INFO: IMEI packet received {"connection_id":161627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":161627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:22:35] local.INFO: TCP Data received {"connection_id":161627,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:22:35] local.INFO: Processing buffer {"connection_id":161627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:22:35] local.INFO: IMEI packet received {"connection_id":161627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":161627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:22:36] local.INFO: TCP Data received {"connection_id":161627,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d29cfb0012d1993c00720a2d0003c014c24..."} 
[2026-08-23 11:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d29cfb0012d1993c00720a2d0003c014c24..."} 
[2026-08-23 11:22:36] local.INFO: Processing buffer {"connection_id":161627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d29cfb0012d1993c00720a2d0003c014c24..."} 
[2026-08-23 11:22:36] local.INFO: Packet analysis {"connection_id":161627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d29"} 
[2026-08-23 11:22:36] local.INFO: Extracted packet for processing {"connection_id":161627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d29"} 
[2026-08-23 11:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756650944,"raw_latitude":119579344,"longitude_deg":75.6650944,"latitude_deg":11.9579344,"altitude":60,"angle":332,"satellites":36,"speed":0,"hex_longitude":"2d1993c0","hex_latitude":"0720a2d0","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590806784001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15230430772985856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842957440625311744,"note":"Value kept but may cause issues"} 
[2026-08-23 11:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787464110000,"timestamp_ms":1787464110000,"timestamp_seconds":1787464110,"priority":1,"record_length":96,"hex_timestamp":"000001a02d29cfb0"} 
[2026-08-23 11:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-23 11:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590806784001,"66":12558,"103":206,"83":41984,"24":0,"16":15230430772985856,"45":1842957440625311744},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590806784001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:22:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15230430772985856,"km_value":15230430772985.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842957440625311744,"description":"Unknown IO ID 45"} 
[2026-08-23 11:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590806784001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1842957440625311744}} 
[2026-08-23 11:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":161627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:22:36] local.INFO: GPS data processed {"connection_id":161627,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:22:36] local.INFO: Acknowledgment sent {"connection_id":161627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:22:46] local.INFO: TCP Data received {"connection_id":160446,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:22:46] local.INFO: Processing buffer {"connection_id":160446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:22:46] local.INFO: IMEI packet received {"connection_id":160446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":160446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:22:51] local.INFO: TCP Data received {"connection_id":160446,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:22:51] local.INFO: Processing buffer {"connection_id":160446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:22:51] local.INFO: IMEI packet received {"connection_id":160446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":160446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:22:53] local.INFO: TCP Data received {"connection_id":160446,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:22:53] local.INFO: Processing buffer {"connection_id":160446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:22:53] local.INFO: Packet analysis {"connection_id":160446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:22:53] local.INFO: Extracted packet for processing {"connection_id":160446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:22:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590742784001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787464140000,"timestamp_ms":1787464140000,"timestamp_seconds":1787464140,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2a44e0"} 
[2026-08-23 11:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:22:53] 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-08-23 11:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590742784001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590742784001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:22:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:22:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590742784001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":160446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:22:53] local.INFO: GPS data processed {"connection_id":160446,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:22:53] local.INFO: Acknowledgment sent {"connection_id":160446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:23:07] local.INFO: TCP Data received {"connection_id":161627,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2a21b8012d1993c00720a2d0003c014c26..."} 
[2026-08-23 11:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2a21b8012d1993c00720a2d0003c014c26..."} 
[2026-08-23 11:23:07] local.INFO: Processing buffer {"connection_id":161627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2a21b8012d1993c00720a2d0003c014c26..."} 
[2026-08-23 11:23:07] local.INFO: Packet analysis {"connection_id":161627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:23:07] local.INFO: Extracted packet for processing {"connection_id":161627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756650944,"raw_latitude":119579344,"longitude_deg":75.6650944,"latitude_deg":11.9579344,"altitude":60,"angle":332,"satellites":38,"speed":0,"hex_longitude":"2d1993c0","hex_latitude":"0720a2d0","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590812160001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15230430772985856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843027809369509888,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787464131000,"timestamp_ms":1787464131000,"timestamp_seconds":1787464131,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2a21b8"} 
[2026-08-23 11:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:23: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-08-23 11: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-23 11:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:07] local.WARNING: Large IO value detected {"io_id":27,"raw_value":4194304000,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249789409819665960,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:07] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2713190455,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-23 11:23:07] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3221692579,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:07] local.WARNING: Large IO value detected {"io_id":8,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:07] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:07] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408371202,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:07] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,27,160,125,45,128,162,58,31,10,66,113,192,57,30,98,1,240,187,227,32,4,205,147,72,42,239,52,2,54,7,55,8,120,76,206],"length":575,"final_offset":705,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-23 11:23:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323820834754920448,"timestamp_seconds":4323820834754920.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 11:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590812160001,"66":13102,"103":206,"83":41984,"24":0,"16":15230430772985856,"45":1843027809369509888},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590812160001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:23:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15230430772985856,"km_value":15230430772985.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843027809369509888,"description":"Unknown IO ID 45"} 
[2026-08-23 11:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590812160001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1843027809369509888}} 
[2026-08-23 11:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":161627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:23:07] local.INFO: GPS data processed {"connection_id":161627,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:23:07] local.INFO: Acknowledgment sent {"connection_id":161627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:23:25] local.INFO: TCP Data received {"connection_id":160446,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:23:25] local.INFO: Processing buffer {"connection_id":160446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:23:25] local.INFO: Packet analysis {"connection_id":160446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:23:25] local.INFO: Extracted packet for processing {"connection_id":160446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:23:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590742784001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787464140000,"timestamp_ms":1787464140000,"timestamp_seconds":1787464140,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2a44e0"} 
[2026-08-23 11:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:23:25] 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-08-23 11:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590742784001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590742784001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:23:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:23:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590742784001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":160446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:23:25] local.INFO: GPS data processed {"connection_id":160446,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:23:25] local.INFO: Acknowledgment sent {"connection_id":160446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:23:30] local.INFO: TCP Data received {"connection_id":163033,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:23:30] local.INFO: Processing buffer {"connection_id":163033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:23:30] local.INFO: IMEI packet received {"connection_id":163033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":163033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:23:35] local.INFO: TCP Data received {"connection_id":163033,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:23:35] local.INFO: Processing buffer {"connection_id":163033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:23:35] local.INFO: IMEI packet received {"connection_id":163033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":163033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:23:36] local.INFO: TCP Data received {"connection_id":163033,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2a73c0012d1993c00720a2d0003c014c25..."} 
[2026-08-23 11:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2a73c0012d1993c00720a2d0003c014c25..."} 
[2026-08-23 11:23:36] local.INFO: Processing buffer {"connection_id":163033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2a73c0012d1993c00720a2d0003c014c25..."} 
[2026-08-23 11:23:36] local.INFO: Packet analysis {"connection_id":163033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:23:36] local.INFO: Extracted packet for processing {"connection_id":163033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756650944,"raw_latitude":119579344,"longitude_deg":75.6650944,"latitude_deg":11.9579344,"altitude":60,"angle":332,"satellites":37,"speed":0,"hex_longitude":"2d1993c0","hex_latitude":"0720a2d0","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590817536001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15230430772985856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843027809369509888,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787464152000,"timestamp_ms":1787464152000,"timestamp_seconds":1787464152,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2a73c0"} 
[2026-08-23 11:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-23 11:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590817536001,"66":13048,"103":206,"83":41984,"24":0,"16":15230430772985856,"45":1843027809369509888},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590817536001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:23:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15230430772985856,"km_value":15230430772985.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843027809369509888,"description":"Unknown IO ID 45"} 
[2026-08-23 11:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590817536001,"power":13048,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1843027809369509888}} 
[2026-08-23 11:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":163033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:23:36] local.INFO: GPS data processed {"connection_id":163033,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:23:36] local.INFO: Acknowledgment sent {"connection_id":163033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:23:46] local.INFO: TCP Data received {"connection_id":160447,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:23:46] local.INFO: Processing buffer {"connection_id":160447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:23:46] local.INFO: IMEI packet received {"connection_id":160447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":160447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:23:51] local.INFO: TCP Data received {"connection_id":160447,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:23:51] local.INFO: Processing buffer {"connection_id":160447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:23:51] local.INFO: IMEI packet received {"connection_id":160447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":160447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:23:52] local.INFO: TCP Data received {"connection_id":160447,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:23:52] local.INFO: Processing buffer {"connection_id":160447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:23:52] local.INFO: Packet analysis {"connection_id":160447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:23:52] local.INFO: Extracted packet for processing {"connection_id":160447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590742784001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787464140000,"timestamp_ms":1787464140000,"timestamp_seconds":1787464140,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2a44e0"} 
[2026-08-23 11:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:23:52] 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-08-23 11:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:23:52] 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-08-23 11:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590742784001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590742784001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:23:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590742784001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":160447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:23:52] local.INFO: GPS data processed {"connection_id":160447,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:23:52] local.INFO: Acknowledgment sent {"connection_id":160447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:24:07] local.INFO: TCP Data received {"connection_id":163033,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2ac5c8012d1993c00720a2d0003c014c25..."} 
[2026-08-23 11:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2ac5c8012d1993c00720a2d0003c014c25..."} 
[2026-08-23 11:24:07] local.INFO: Processing buffer {"connection_id":163033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2ac5c8012d1993c00720a2d0003c014c25..."} 
[2026-08-23 11:24:07] local.INFO: Packet analysis {"connection_id":163033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:24:07] local.INFO: Extracted packet for processing {"connection_id":163033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756650944,"raw_latitude":119579344,"longitude_deg":75.6650944,"latitude_deg":11.9579344,"altitude":60,"angle":332,"satellites":37,"speed":0,"hex_longitude":"2d1993c0","hex_latitude":"0720a2d0","is_valid_coordinates":true} 
[2026-08-23 11:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590822912001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15230430772985856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843027809369509888,"note":"Value kept but may cause issues"} 
[2026-08-23 11:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787464173000,"timestamp_ms":1787464173000,"timestamp_seconds":1787464173,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2ac5c8"} 
[2026-08-23 11:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:24: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-08-23 11:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-23 11:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590822912001,"66":13015,"103":206,"83":41984,"24":0,"16":15230430772985856,"45":1843027809369509888},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590822912001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:24:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15230430772985856,"km_value":15230430772985.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843027809369509888,"description":"Unknown IO ID 45"} 
[2026-08-23 11:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590822912001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1843027809369509888}} 
[2026-08-23 11:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":163033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:24:07] local.INFO: GPS data processed {"connection_id":163033,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:24:07] local.INFO: Acknowledgment sent {"connection_id":163033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:24:24] local.INFO: TCP Data received {"connection_id":160447,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:24:24] local.INFO: Processing buffer {"connection_id":160447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2a44e0012d34c50006aa4098000c008521..."} 
[2026-08-23 11:24:24] local.INFO: Packet analysis {"connection_id":160447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:24:24] local.INFO: Extracted packet for processing {"connection_id":160447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2a"} 
[2026-08-23 11:24:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590742784001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787464140000,"timestamp_ms":1787464140000,"timestamp_seconds":1787464140,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2a44e0"} 
[2026-08-23 11:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:24:24] 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-08-23 11:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:24:24] 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-08-23 11:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590742784001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590742784001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:24:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:24:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590742784001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":160447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:24:25] local.INFO: GPS data processed {"connection_id":160447,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:24:25] local.INFO: Acknowledgment sent {"connection_id":160447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:24:29] local.INFO: TCP Data received {"connection_id":160684,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:24:29] local.INFO: Processing buffer {"connection_id":160684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:24:29] local.INFO: IMEI packet received {"connection_id":160684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":160684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:24:32] local.INFO: TCP Data received {"connection_id":160684,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:24:32] local.INFO: Processing buffer {"connection_id":160684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:24:32] local.INFO: IMEI packet received {"connection_id":160684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":160684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:24:33] local.INFO: TCP Data received {"connection_id":160684,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:24:33] local.INFO: Processing buffer {"connection_id":160684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:24:33] local.INFO: IMEI packet received {"connection_id":160684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":160684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:24:34] local.INFO: TCP Data received {"connection_id":160684,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:24:34] local.INFO: Processing buffer {"connection_id":160684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:24:34] local.INFO: IMEI packet received {"connection_id":160684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":160684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:24:34] local.INFO: TCP Data received {"connection_id":160684,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2e7330012d1992400720a2f80040015f22..."} 
[2026-08-23 11:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2e7330012d1992400720a2f80040015f22..."} 
[2026-08-23 11:24:34] local.INFO: Processing buffer {"connection_id":160684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2e7330012d1992400720a2f80040015f22..."} 
[2026-08-23 11:24:34] local.INFO: Packet analysis {"connection_id":160684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2e"} 
[2026-08-23 11:24:34] local.INFO: Extracted packet for processing {"connection_id":160684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2e"} 
[2026-08-23 11:24:34] local.INFO: GPS Element Parsed {"raw_longitude":756650560,"raw_latitude":119579384,"longitude_deg":75.665056,"latitude_deg":11.9579384,"altitude":64,"angle":351,"satellites":34,"speed":8,"hex_longitude":"2d199240","hex_latitude":"0720a2f8","is_valid_coordinates":true} 
[2026-08-23 11:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590887936001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15230447952855040,"note":"Value kept but may cause issues"} 
[2026-08-23 11:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843027809369509888,"note":"Value kept but may cause issues"} 
[2026-08-23 11:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787464414000,"timestamp_ms":1787464414000,"timestamp_seconds":1787464414,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2e7330"} 
[2026-08-23 11:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-23 11:24:34] 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-08-23 11:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590887936001,"66":14102,"103":206,"83":41984,"24":8,"16":15230447952855040,"45":1843027809369509888},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590887936001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:24:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:24:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15230447952855040,"km_value":15230447952855.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843027809369509888,"description":"Unknown IO ID 45"} 
[2026-08-23 11:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590887936001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1843027809369509888}} 
[2026-08-23 11:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":160684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:24:35] local.INFO: GPS data processed {"connection_id":160684,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:24:35] local.INFO: Acknowledgment sent {"connection_id":160684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:24:46] local.INFO: TCP Data received {"connection_id":161628,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:24:46] local.INFO: Processing buffer {"connection_id":161628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:24:46] local.INFO: IMEI packet received {"connection_id":161628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":161628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:24:51] local.INFO: TCP Data received {"connection_id":161628,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:24:51] local.INFO: Processing buffer {"connection_id":161628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:24:51] local.INFO: IMEI packet received {"connection_id":161628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":161628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:24:52] local.INFO: TCP Data received {"connection_id":161628,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:24:52] local.INFO: Processing buffer {"connection_id":161628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:24:52] local.INFO: Packet analysis {"connection_id":161628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2e"} 
[2026-08-23 11:24:52] local.INFO: Extracted packet for processing {"connection_id":161628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2e"} 
[2026-08-23 11:24:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590819840001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787464441000,"timestamp_ms":1787464441000,"timestamp_seconds":1787464441,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2edca8"} 
[2026-08-23 11:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:24:52] 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-08-23 11:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:24:52] 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-08-23 11:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590819840001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590819840001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:24:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:24:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590819840001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":161628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:24:52] local.INFO: GPS data processed {"connection_id":161628,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:24:52] local.INFO: Acknowledgment sent {"connection_id":161628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:25:07] local.INFO: TCP Data received {"connection_id":160684,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2f3298012d19ae4007208d58003a00c527..."} 
[2026-08-23 11:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2f3298012d19ae4007208d58003a00c527..."} 
[2026-08-23 11:25:07] local.INFO: Processing buffer {"connection_id":160684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2f3298012d19ae4007208d58003a00c527..."} 
[2026-08-23 11:25:07] local.INFO: Packet analysis {"connection_id":160684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2f"} 
[2026-08-23 11:25:07] local.INFO: Extracted packet for processing {"connection_id":160684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2f"} 
[2026-08-23 11:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119573848,"longitude_deg":75.6657728,"latitude_deg":11.9573848,"altitude":58,"angle":197,"satellites":39,"speed":39,"hex_longitude":"2d19ae40","hex_latitude":"07208d58","is_valid_coordinates":true} 
[2026-08-23 11:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590901248001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15231547464482816,"note":"Value kept but may cause issues"} 
[2026-08-23 11:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120995786752,"note":"Value kept but may cause issues"} 
[2026-08-23 11:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787464463000,"timestamp_ms":1787464463000,"timestamp_seconds":1787464463,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2f3298"} 
[2026-08-23 11:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-23 11:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590901248001,"66":13972,"103":206,"83":41984,"24":39,"16":15231547464482816,"45":1853583120995786752},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590901248001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:25:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15231547464482816,"km_value":15231547464482.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120995786752,"description":"Unknown IO ID 45"} 
[2026-08-23 11:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590901248001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1853583120995786752}} 
[2026-08-23 11:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":160684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:25:07] local.INFO: GPS data processed {"connection_id":160684,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:25:07] local.INFO: Acknowledgment sent {"connection_id":160684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:25:24] local.INFO: TCP Data received {"connection_id":161628,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:25:24] local.INFO: Processing buffer {"connection_id":161628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:25:24] local.INFO: Packet analysis {"connection_id":161628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2e"} 
[2026-08-23 11:25:24] local.INFO: Extracted packet for processing {"connection_id":161628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2e"} 
[2026-08-23 11:25:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590819840001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787464441000,"timestamp_ms":1787464441000,"timestamp_seconds":1787464441,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2edca8"} 
[2026-08-23 11:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:25:24] 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-08-23 11:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590819840001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590819840001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:25:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:25:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590819840001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":161628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:25:24] local.INFO: GPS data processed {"connection_id":161628,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:25:24] local.INFO: Acknowledgment sent {"connection_id":161628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:25:29] local.INFO: TCP Data received {"connection_id":160448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:25:29] local.INFO: Processing buffer {"connection_id":160448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:25:29] local.INFO: IMEI packet received {"connection_id":160448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":160448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:25:29] local.INFO: TCP Data received {"connection_id":160448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:25:29] local.INFO: Processing buffer {"connection_id":160448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:25:29] local.INFO: IMEI packet received {"connection_id":160448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":160448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:25:31] local.INFO: TCP Data received {"connection_id":160448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:25:31] local.INFO: Processing buffer {"connection_id":160448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:25:31] local.INFO: IMEI packet received {"connection_id":160448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":160448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:25:34] local.INFO: TCP Data received {"connection_id":160448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:25:34] local.INFO: Processing buffer {"connection_id":160448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:25:34] local.INFO: IMEI packet received {"connection_id":160448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":160448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:25:51] local.INFO: TCP Data received {"connection_id":160685,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:25:51] local.INFO: Processing buffer {"connection_id":160685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:25:51] local.INFO: IMEI packet received {"connection_id":160685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":160685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:25:56] local.INFO: TCP Data received {"connection_id":160685,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:25:56] local.INFO: Processing buffer {"connection_id":160685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:25:56] local.INFO: IMEI packet received {"connection_id":160685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":160685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:25:57] local.INFO: TCP Data received {"connection_id":160685,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:25:57] local.INFO: Processing buffer {"connection_id":160685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:25:57] local.INFO: Packet analysis {"connection_id":160685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2e"} 
[2026-08-23 11:25:57] local.INFO: Extracted packet for processing {"connection_id":160685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2e"} 
[2026-08-23 11:25:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590819840001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787464441000,"timestamp_ms":1787464441000,"timestamp_seconds":1787464441,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2edca8"} 
[2026-08-23 11:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:25:57] 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-08-23 11:25:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590819840001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590819840001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:25:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:25:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590819840001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":160685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:25:57] local.INFO: GPS data processed {"connection_id":160685,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:25:57] local.INFO: Acknowledgment sent {"connection_id":160685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:26:02] local.INFO: TCP Data received {"connection_id":160685,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:26:02] local.INFO: Processing buffer {"connection_id":160685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:26:02] local.INFO: Packet analysis {"connection_id":160685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2e"} 
[2026-08-23 11:26:02] local.INFO: Extracted packet for processing {"connection_id":160685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2e"} 
[2026-08-23 11:26:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590819840001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787464441000,"timestamp_ms":1787464441000,"timestamp_seconds":1787464441,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2edca8"} 
[2026-08-23 11:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:26:02] 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-08-23 11:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590819840001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590819840001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:26:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:26:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590819840001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":160685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:26:02] local.INFO: GPS data processed {"connection_id":160685,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:26:02] local.INFO: Acknowledgment sent {"connection_id":160685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:26:47] local.INFO: TCP Data received {"connection_id":163034,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:26:47] local.INFO: Processing buffer {"connection_id":163034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:26:47] local.INFO: IMEI packet received {"connection_id":163034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":163034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:26:51] local.INFO: TCP Data received {"connection_id":163034,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:26:51] local.INFO: Processing buffer {"connection_id":163034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:26:51] local.INFO: IMEI packet received {"connection_id":163034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":163034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:26:52] local.INFO: TCP Data received {"connection_id":163034,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:26:52] local.INFO: Processing buffer {"connection_id":163034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:26:52] local.INFO: Packet analysis {"connection_id":163034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2e"} 
[2026-08-23 11:26:52] local.INFO: Extracted packet for processing {"connection_id":163034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2e"} 
[2026-08-23 11:26:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590819840001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787464441000,"timestamp_ms":1787464441000,"timestamp_seconds":1787464441,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2edca8"} 
[2026-08-23 11:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:26:52] 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-08-23 11:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:26:52] 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-08-23 11:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590819840001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590819840001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:26:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:26:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590819840001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":163034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:26:52] local.INFO: GPS data processed {"connection_id":163034,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:26:52] local.INFO: Acknowledgment sent {"connection_id":163034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:27:24] local.INFO: TCP Data received {"connection_id":163034,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:27:24] local.INFO: Processing buffer {"connection_id":163034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:27:24] local.INFO: Packet analysis {"connection_id":163034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2e"} 
[2026-08-23 11:27:24] local.INFO: Extracted packet for processing {"connection_id":163034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2e"} 
[2026-08-23 11:27:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590819840001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787464441000,"timestamp_ms":1787464441000,"timestamp_seconds":1787464441,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2edca8"} 
[2026-08-23 11:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:27:24] 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-08-23 11: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-08-23 11:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590819840001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590819840001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:27:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:27:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590819840001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":163034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:27:24] local.INFO: GPS data processed {"connection_id":163034,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:27:24] local.INFO: Acknowledgment sent {"connection_id":163034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:27:46] local.INFO: TCP Data received {"connection_id":160686,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:27:46] local.INFO: Processing buffer {"connection_id":160686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:27:46] local.INFO: IMEI packet received {"connection_id":160686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":160686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:27:51] local.INFO: TCP Data received {"connection_id":160686,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:27:51] local.INFO: Processing buffer {"connection_id":160686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:27:51] local.INFO: IMEI packet received {"connection_id":160686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":160686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:27:52] local.INFO: TCP Data received {"connection_id":160686,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:27:52] local.INFO: Processing buffer {"connection_id":160686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:27:52] local.INFO: Packet analysis {"connection_id":160686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2e"} 
[2026-08-23 11:27:52] local.INFO: Extracted packet for processing {"connection_id":160686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2e"} 
[2026-08-23 11:27:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590819840001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787464441000,"timestamp_ms":1787464441000,"timestamp_seconds":1787464441,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2edca8"} 
[2026-08-23 11:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:27:52] 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-08-23 11: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-08-23 11:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590819840001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590819840001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:27:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:27:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590819840001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":160686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:27:52] local.INFO: GPS data processed {"connection_id":160686,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:27:52] local.INFO: Acknowledgment sent {"connection_id":160686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:28:23] local.INFO: TCP Data received {"connection_id":160686,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:28:23] local.INFO: Processing buffer {"connection_id":160686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:28:23] local.INFO: Packet analysis {"connection_id":160686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2e"} 
[2026-08-23 11:28:23] local.INFO: Extracted packet for processing {"connection_id":160686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2e"} 
[2026-08-23 11:28:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590819840001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787464441000,"timestamp_ms":1787464441000,"timestamp_seconds":1787464441,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2edca8"} 
[2026-08-23 11:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:28:23] 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-08-23 11:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590819840001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590819840001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:28:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:28:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590819840001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":160686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:28:23] local.INFO: GPS data processed {"connection_id":160686,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:28:23] local.INFO: Acknowledgment sent {"connection_id":160686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:28:46] local.INFO: TCP Data received {"connection_id":161630,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:28:46] local.INFO: Processing buffer {"connection_id":161630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:28:46] local.INFO: IMEI packet received {"connection_id":161630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":161630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:28:51] local.INFO: TCP Data received {"connection_id":161630,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:28:51] local.INFO: Processing buffer {"connection_id":161630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:28:51] local.INFO: IMEI packet received {"connection_id":161630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":161630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:28:52] local.INFO: TCP Data received {"connection_id":161630,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:28:52] local.INFO: Processing buffer {"connection_id":161630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:28:52] local.INFO: Packet analysis {"connection_id":161630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2e"} 
[2026-08-23 11:28:52] local.INFO: Extracted packet for processing {"connection_id":161630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2e"} 
[2026-08-23 11:28:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:28: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-08-23 11:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590819840001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787464441000,"timestamp_ms":1787464441000,"timestamp_seconds":1787464441,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2edca8"} 
[2026-08-23 11:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:28:52] 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-08-23 11:28: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-08-23 11:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:28:52] 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-08-23 11:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590819840001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590819840001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:28:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:28:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590819840001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":161630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:28:52] local.INFO: GPS data processed {"connection_id":161630,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:28:52] local.INFO: Acknowledgment sent {"connection_id":161630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:29:25] local.INFO: TCP Data received {"connection_id":161630,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:29:25] local.INFO: Processing buffer {"connection_id":161630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d2edca8012d34c50006aa4098000c008523..."} 
[2026-08-23 11:29:25] local.INFO: Packet analysis {"connection_id":161630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d2e"} 
[2026-08-23 11:29:25] local.INFO: Extracted packet for processing {"connection_id":161630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d2e"} 
[2026-08-23 11:29:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590819840001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787464441000,"timestamp_ms":1787464441000,"timestamp_seconds":1787464441,"priority":1,"record_length":96,"hex_timestamp":"000001a02d2edca8"} 
[2026-08-23 11:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:29:25] 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-08-23 11:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:29:25] 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-08-23 11:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590819840001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590819840001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:29:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:29:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590819840001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":161630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:29:25] local.INFO: GPS data processed {"connection_id":161630,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:29:25] local.INFO: Acknowledgment sent {"connection_id":161630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:29:46] local.INFO: TCP Data received {"connection_id":160687,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:29:46] local.INFO: Processing buffer {"connection_id":160687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:29:46] local.INFO: IMEI packet received {"connection_id":160687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":160687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:29:51] local.INFO: TCP Data received {"connection_id":160687,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:29:51] local.INFO: Processing buffer {"connection_id":160687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:29:51] local.INFO: IMEI packet received {"connection_id":160687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":160687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:29:52] local.INFO: TCP Data received {"connection_id":160687,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:29:52] local.INFO: Processing buffer {"connection_id":160687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:29:52] local.INFO: Packet analysis {"connection_id":160687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d33"} 
[2026-08-23 11:29:52] local.INFO: Extracted packet for processing {"connection_id":160687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d33"} 
[2026-08-23 11:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590896896001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787464742000,"timestamp_ms":1787464742000,"timestamp_seconds":1787464742,"priority":1,"record_length":96,"hex_timestamp":"000001a02d337470"} 
[2026-08-23 11:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:29:52] 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-08-23 11:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590896896001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590896896001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:29:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:29:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590896896001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":160687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:29:52] local.INFO: GPS data processed {"connection_id":160687,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:29:52] local.INFO: Acknowledgment sent {"connection_id":160687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:30:26] local.INFO: TCP Data received {"connection_id":160687,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:30:26] local.INFO: Processing buffer {"connection_id":160687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:30:26] local.INFO: Packet analysis {"connection_id":160687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d33"} 
[2026-08-23 11:30:26] local.INFO: Extracted packet for processing {"connection_id":160687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d33"} 
[2026-08-23 11:30:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590896896001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787464742000,"timestamp_ms":1787464742000,"timestamp_seconds":1787464742,"priority":1,"record_length":96,"hex_timestamp":"000001a02d337470"} 
[2026-08-23 11:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:30:26] 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-08-23 11: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-08-23 11:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590896896001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590896896001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:30:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:30:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590896896001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":160687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:30:26] local.INFO: GPS data processed {"connection_id":160687,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:30:26] local.INFO: Acknowledgment sent {"connection_id":160687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:30:34] local.INFO: TCP Data received {"connection_id":161631,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:30:34] local.INFO: Processing buffer {"connection_id":161631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:30:34] local.INFO: IMEI packet received {"connection_id":161631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":161631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:30:36] local.INFO: TCP Data received {"connection_id":161631,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:30:36] local.INFO: Processing buffer {"connection_id":161631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:30:36] local.INFO: IMEI packet received {"connection_id":161631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":161631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:30:37] local.INFO: TCP Data received {"connection_id":161631,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:30:37] local.INFO: Processing buffer {"connection_id":161631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:30:37] local.INFO: IMEI packet received {"connection_id":161631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":161631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:30:38] local.INFO: TCP Data received {"connection_id":161631,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:30:38] local.INFO: Processing buffer {"connection_id":161631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:30:38] local.INFO: IMEI packet received {"connection_id":161631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":161631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:30:46] local.INFO: TCP Data received {"connection_id":160450,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:30:46] local.INFO: Processing buffer {"connection_id":160450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:30:46] local.INFO: IMEI packet received {"connection_id":160450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":160450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:30:51] local.INFO: TCP Data received {"connection_id":160450,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:30:51] local.INFO: Processing buffer {"connection_id":160450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:30:51] local.INFO: IMEI packet received {"connection_id":160450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":160450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:30:53] local.INFO: TCP Data received {"connection_id":160450,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:30:53] local.INFO: Processing buffer {"connection_id":160450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:30:53] local.INFO: Packet analysis {"connection_id":160450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d33"} 
[2026-08-23 11:30:53] local.INFO: Extracted packet for processing {"connection_id":160450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d33"} 
[2026-08-23 11:30:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590896896001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787464742000,"timestamp_ms":1787464742000,"timestamp_seconds":1787464742,"priority":1,"record_length":96,"hex_timestamp":"000001a02d337470"} 
[2026-08-23 11:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:30:53] 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-08-23 11: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-08-23 11:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:30:53] 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-08-23 11:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590896896001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590896896001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:30:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:30:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590896896001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":160450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:30:53] local.INFO: GPS data processed {"connection_id":160450,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:30:53] local.INFO: Acknowledgment sent {"connection_id":160450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:31:06] local.INFO: TCP Data received {"connection_id":163036,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:31:06] local.INFO: Processing buffer {"connection_id":163036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:31:06] local.INFO: IMEI packet received {"connection_id":163036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 11:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":163036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:31:06] local.INFO: TCP Data received {"connection_id":163036,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:31:06] local.INFO: Processing buffer {"connection_id":163036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:31:06] local.INFO: IMEI packet received {"connection_id":163036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":163036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:31:10] local.INFO: TCP Data received {"connection_id":163036,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:31:10] local.INFO: Processing buffer {"connection_id":163036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:31:10] local.INFO: IMEI packet received {"connection_id":163036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":163036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:31:11] local.INFO: TCP Data received {"connection_id":163036,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-23 11:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163036,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-23 11:31:11] local.INFO: Processing buffer {"connection_id":163036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-23 11:31:11] local.INFO: Packet analysis {"connection_id":163036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-23 11:31:11] local.INFO: Extracted packet for processing {"connection_id":163036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-23 11:31:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122586136223678464,"note":"Value kept but may cause issues"} 
[2026-08-23 11:31:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 11:31:11] 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-08-23 11:31:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-23 11:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163036,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163036,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-23 11:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163036,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-23 11:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-23 11:31:11] local.WARNING: DEBUG: No valid data to process  
[2026-08-23 11:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":163036,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-23 11:31:11] local.ERROR: GPS data processing failed {"connection_id":163036,"error":"No valid data to process"} 
[2026-08-23 11:31:11] local.INFO: Acknowledgment sent {"connection_id":163036,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-23 11:31:24] local.INFO: TCP Data received {"connection_id":160450,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:31:24] local.INFO: Processing buffer {"connection_id":160450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:31:24] local.INFO: Packet analysis {"connection_id":160450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d33"} 
[2026-08-23 11:31:24] local.INFO: Extracted packet for processing {"connection_id":160450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d33"} 
[2026-08-23 11:31:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590896896001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787464742000,"timestamp_ms":1787464742000,"timestamp_seconds":1787464742,"priority":1,"record_length":96,"hex_timestamp":"000001a02d337470"} 
[2026-08-23 11:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:31:24] 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-08-23 11: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-08-23 11:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590896896001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590896896001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:31:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:31:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590896896001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":160450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:31:24] local.INFO: GPS data processed {"connection_id":160450,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:31:24] local.INFO: Acknowledgment sent {"connection_id":160450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:31:47] local.INFO: TCP Data received {"connection_id":161633,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:31:47] local.INFO: Processing buffer {"connection_id":161633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:31:47] local.INFO: IMEI packet received {"connection_id":161633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":161633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:31:51] local.INFO: TCP Data received {"connection_id":161633,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:31:51] local.INFO: Processing buffer {"connection_id":161633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:31:51] local.INFO: IMEI packet received {"connection_id":161633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":161633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:31:53] local.INFO: TCP Data received {"connection_id":161633,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:31:53] local.INFO: Processing buffer {"connection_id":161633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:31:53] local.INFO: Packet analysis {"connection_id":161633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d33"} 
[2026-08-23 11:31:53] local.INFO: Extracted packet for processing {"connection_id":161633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d33"} 
[2026-08-23 11:31:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590896896001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787464742000,"timestamp_ms":1787464742000,"timestamp_seconds":1787464742,"priority":1,"record_length":96,"hex_timestamp":"000001a02d337470"} 
[2026-08-23 11:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:31:53] 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-08-23 11:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:31:53] 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-08-23 11:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590896896001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590896896001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:31:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:31:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590896896001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":161633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:31:53] local.INFO: GPS data processed {"connection_id":161633,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:31:53] local.INFO: Acknowledgment sent {"connection_id":161633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:32:24] local.INFO: TCP Data received {"connection_id":161633,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:32:24] local.INFO: Processing buffer {"connection_id":161633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:32:24] local.INFO: Packet analysis {"connection_id":161633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d33"} 
[2026-08-23 11:32:24] local.INFO: Extracted packet for processing {"connection_id":161633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d33"} 
[2026-08-23 11:32:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590896896001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787464742000,"timestamp_ms":1787464742000,"timestamp_seconds":1787464742,"priority":1,"record_length":96,"hex_timestamp":"000001a02d337470"} 
[2026-08-23 11:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:32:24] 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-08-23 11:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:32:24] 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-08-23 11:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590896896001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590896896001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:32:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:32:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590896896001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":161633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:32:24] local.INFO: GPS data processed {"connection_id":161633,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:32:24] local.INFO: Acknowledgment sent {"connection_id":161633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:32:46] local.INFO: TCP Data received {"connection_id":161634,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:32:46] local.INFO: Processing buffer {"connection_id":161634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:32:46] local.INFO: IMEI packet received {"connection_id":161634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":161634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:32:51] local.INFO: TCP Data received {"connection_id":161634,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:32:51] local.INFO: Processing buffer {"connection_id":161634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:32:51] local.INFO: IMEI packet received {"connection_id":161634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":161634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:32:53] local.INFO: TCP Data received {"connection_id":161634,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:32:53] local.INFO: Processing buffer {"connection_id":161634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:32:53] local.INFO: Packet analysis {"connection_id":161634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d33"} 
[2026-08-23 11:32:53] local.INFO: Extracted packet for processing {"connection_id":161634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d33"} 
[2026-08-23 11:32:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590896896001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787464742000,"timestamp_ms":1787464742000,"timestamp_seconds":1787464742,"priority":1,"record_length":96,"hex_timestamp":"000001a02d337470"} 
[2026-08-23 11:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:32:53] 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-08-23 11: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-08-23 11:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:32:53] 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-08-23 11:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590896896001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590896896001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:32:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:32:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590896896001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":161634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:32:53] local.INFO: GPS data processed {"connection_id":161634,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:32:53] local.INFO: Acknowledgment sent {"connection_id":161634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:33:24] local.INFO: TCP Data received {"connection_id":161634,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:33:24] local.INFO: Processing buffer {"connection_id":161634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:33:24] local.INFO: Packet analysis {"connection_id":161634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d33"} 
[2026-08-23 11:33:24] local.INFO: Extracted packet for processing {"connection_id":161634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d33"} 
[2026-08-23 11:33:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590896896001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787464742000,"timestamp_ms":1787464742000,"timestamp_seconds":1787464742,"priority":1,"record_length":96,"hex_timestamp":"000001a02d337470"} 
[2026-08-23 11:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:33:24] 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-08-23 11:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:33:24] 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-08-23 11:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590896896001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590896896001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:33:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:33:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590896896001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":161634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:33:24] local.INFO: GPS data processed {"connection_id":161634,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:33:24] local.INFO: Acknowledgment sent {"connection_id":161634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:33:46] local.INFO: TCP Data received {"connection_id":163039,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:33:46] local.INFO: Processing buffer {"connection_id":163039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:33:46] local.INFO: IMEI packet received {"connection_id":163039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":163039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:33:51] local.INFO: TCP Data received {"connection_id":163039,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:33:51] local.INFO: Processing buffer {"connection_id":163039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:33:51] local.INFO: IMEI packet received {"connection_id":163039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":163039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:33:52] local.INFO: TCP Data received {"connection_id":163039,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:33:52] local.INFO: Processing buffer {"connection_id":163039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:33:52] local.INFO: Packet analysis {"connection_id":163039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d33"} 
[2026-08-23 11:33:52] local.INFO: Extracted packet for processing {"connection_id":163039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d33"} 
[2026-08-23 11:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590896896001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787464742000,"timestamp_ms":1787464742000,"timestamp_seconds":1787464742,"priority":1,"record_length":96,"hex_timestamp":"000001a02d337470"} 
[2026-08-23 11:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:33:52] 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-08-23 11:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:33:52] 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-08-23 11:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590896896001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590896896001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:33:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:33:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590896896001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":163039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:33:52] local.INFO: GPS data processed {"connection_id":163039,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:33:52] local.INFO: Acknowledgment sent {"connection_id":163039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:34:24] local.INFO: TCP Data received {"connection_id":163039,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:34:24] local.INFO: Processing buffer {"connection_id":163039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d337470012d34c50006aa40980010008522..."} 
[2026-08-23 11:34:24] local.INFO: Packet analysis {"connection_id":163039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d33"} 
[2026-08-23 11:34:24] local.INFO: Extracted packet for processing {"connection_id":163039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d33"} 
[2026-08-23 11:34:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590896896001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787464742000,"timestamp_ms":1787464742000,"timestamp_seconds":1787464742,"priority":1,"record_length":96,"hex_timestamp":"000001a02d337470"} 
[2026-08-23 11:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:34:24] 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-08-23 11:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:34:24] 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-08-23 11:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590896896001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590896896001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:34:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:34:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590896896001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":163039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:34:24] local.INFO: GPS data processed {"connection_id":163039,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:34:24] local.INFO: Acknowledgment sent {"connection_id":163039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:34:46] local.INFO: TCP Data received {"connection_id":163040,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:34:46] local.INFO: Processing buffer {"connection_id":163040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:34:46] local.INFO: IMEI packet received {"connection_id":163040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":163040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:34:51] local.INFO: TCP Data received {"connection_id":163040,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:34:51] local.INFO: Processing buffer {"connection_id":163040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:34:51] local.INFO: IMEI packet received {"connection_id":163040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":163040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:34:53] local.INFO: TCP Data received {"connection_id":163040,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:34:53] local.INFO: Processing buffer {"connection_id":163040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:34:53] local.INFO: Packet analysis {"connection_id":163040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d38"} 
[2026-08-23 11:34:53] local.INFO: Extracted packet for processing {"connection_id":163040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d38"} 
[2026-08-23 11:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:34: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-08-23 11:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590973952001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787465043000,"timestamp_ms":1787465043000,"timestamp_seconds":1787465043,"priority":1,"record_length":96,"hex_timestamp":"000001a02d380c38"} 
[2026-08-23 11:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:34:53] 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-08-23 11:34: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-08-23 11:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:34:53] 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-08-23 11:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590973952001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590973952001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:34:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:34:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590973952001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":163040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:34:53] local.INFO: GPS data processed {"connection_id":163040,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:34:53] local.INFO: Acknowledgment sent {"connection_id":163040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:35:27] local.INFO: TCP Data received {"connection_id":163040,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:35:27] local.INFO: Processing buffer {"connection_id":163040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:35:27] local.INFO: Packet analysis {"connection_id":163040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d38"} 
[2026-08-23 11:35:27] local.INFO: Extracted packet for processing {"connection_id":163040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d38"} 
[2026-08-23 11:35:27] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590973952001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787465043000,"timestamp_ms":1787465043000,"timestamp_seconds":1787465043,"priority":1,"record_length":96,"hex_timestamp":"000001a02d380c38"} 
[2026-08-23 11:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":163040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":163040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":163040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:35:27] 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-08-23 11:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590973952001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590973952001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:35:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:35:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590973952001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":163040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:35:27] local.INFO: GPS data processed {"connection_id":163040,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:35:27] local.INFO: Acknowledgment sent {"connection_id":163040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:35:41] local.INFO: TCP Data received {"connection_id":160451,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:35:41] local.INFO: Processing buffer {"connection_id":160451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:35:41] local.INFO: IMEI packet received {"connection_id":160451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":160451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:35:42] local.INFO: TCP Data received {"connection_id":160451,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d38ac60012d19b8c0072062f0002e01602a..."} 
[2026-08-23 11:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d38ac60012d19b8c0072062f0002e01602a..."} 
[2026-08-23 11:35:42] local.INFO: Processing buffer {"connection_id":160451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d38ac60012d19b8c0072062f0002e01602a..."} 
[2026-08-23 11:35:42] local.INFO: Packet analysis {"connection_id":160451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d38"} 
[2026-08-23 11:35:42] local.INFO: Extracted packet for processing {"connection_id":160451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d38"} 
[2026-08-23 11:35:42] local.INFO: GPS Element Parsed {"raw_longitude":756660416,"raw_latitude":119562992,"longitude_deg":75.6660416,"latitude_deg":11.9562992,"altitude":46,"angle":352,"satellites":42,"speed":43,"hex_longitude":"2d19b8c0","hex_latitude":"072062f0","is_valid_coordinates":true} 
[2026-08-23 11:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591059456001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15253417437954048,"note":"Value kept but may cause issues"} 
[2026-08-23 11:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854357177175578624,"note":"Value kept but may cause issues"} 
[2026-08-23 11:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787465084000,"timestamp_ms":1787465084000,"timestamp_seconds":1787465084,"priority":1,"record_length":96,"hex_timestamp":"000001a02d38ac60"} 
[2026-08-23 11:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:35: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-08-23 11:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-23 11:35:42] 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-08-23 11:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591059456001,"66":14080,"103":206,"83":41984,"24":43,"16":15253417437954048,"45":1854357177175578624},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591059456001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:35:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:35:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15253417437954048,"km_value":15253417437954.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854357177175578624,"description":"Unknown IO ID 45"} 
[2026-08-23 11:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591059456001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1854357177175578624}} 
[2026-08-23 11:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":160451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:35:42] local.INFO: GPS data processed {"connection_id":160451,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:35:42] local.INFO: Acknowledgment sent {"connection_id":160451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:35:46] local.INFO: TCP Data received {"connection_id":163041,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:35:46] local.INFO: Processing buffer {"connection_id":163041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:35:46] local.INFO: IMEI packet received {"connection_id":163041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":163041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:35:51] local.INFO: TCP Data received {"connection_id":163041,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:35:51] local.INFO: Processing buffer {"connection_id":163041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:35:51] local.INFO: IMEI packet received {"connection_id":163041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":163041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:35:52] local.INFO: TCP Data received {"connection_id":163041,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:35:52] local.INFO: Processing buffer {"connection_id":163041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:35:52] local.INFO: Packet analysis {"connection_id":163041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d38"} 
[2026-08-23 11:35:52] local.INFO: Extracted packet for processing {"connection_id":163041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d38"} 
[2026-08-23 11:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590973952001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787465043000,"timestamp_ms":1787465043000,"timestamp_seconds":1787465043,"priority":1,"record_length":96,"hex_timestamp":"000001a02d380c38"} 
[2026-08-23 11:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:35:52] 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-08-23 11:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:35:52] 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-08-23 11:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590973952001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590973952001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:35:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590973952001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":163041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:35:52] local.INFO: GPS data processed {"connection_id":163041,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:35:52] local.INFO: Acknowledgment sent {"connection_id":163041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:36:13] local.INFO: TCP Data received {"connection_id":160451,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d395458012d1992400720ac30003d00a328..."} 
[2026-08-23 11:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d395458012d1992400720ac30003d00a328..."} 
[2026-08-23 11:36:13] local.INFO: Processing buffer {"connection_id":160451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d395458012d1992400720ac30003d00a328..."} 
[2026-08-23 11:36:13] local.INFO: Packet analysis {"connection_id":160451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d39"} 
[2026-08-23 11:36:13] local.INFO: Extracted packet for processing {"connection_id":160451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d39"} 
[2026-08-23 11:36:13] local.INFO: GPS Element Parsed {"raw_longitude":756650560,"raw_latitude":119581744,"longitude_deg":75.665056,"latitude_deg":11.9581744,"altitude":61,"angle":163,"satellites":40,"speed":11,"hex_longitude":"2d199240","hex_latitude":"0720ac30","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591071232001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15254959331213312,"note":"Value kept but may cause issues"} 
[2026-08-23 11:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842605596905388032,"note":"Value kept but may cause issues"} 
[2026-08-23 11:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787465127000,"timestamp_ms":1787465127000,"timestamp_seconds":1787465127,"priority":1,"record_length":96,"hex_timestamp":"000001a02d395458"} 
[2026-08-23 11:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:36: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-08-23 11: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-23 11:36:13] 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-08-23 11: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-08-23 11:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591071232001,"66":14428,"103":206,"83":41984,"24":11,"16":15254959331213312,"45":1842605596905388032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591071232001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:36:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:36:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15254959331213312,"km_value":15254959331213.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842605596905388032,"description":"Unknown IO ID 45"} 
[2026-08-23 11:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591071232001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1842605596905388032}} 
[2026-08-23 11:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":160451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:36:13] local.INFO: GPS data processed {"connection_id":160451,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:36:13] local.INFO: Acknowledgment sent {"connection_id":160451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:36:26] local.INFO: TCP Data received {"connection_id":163041,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:36:26] local.INFO: Processing buffer {"connection_id":163041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:36:26] local.INFO: Packet analysis {"connection_id":163041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d38"} 
[2026-08-23 11:36:26] local.INFO: Extracted packet for processing {"connection_id":163041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d38"} 
[2026-08-23 11:36:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 11:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590973952001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787465043000,"timestamp_ms":1787465043000,"timestamp_seconds":1787465043,"priority":1,"record_length":96,"hex_timestamp":"000001a02d380c38"} 
[2026-08-23 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-08-23 11:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 11:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":163041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":163041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":163041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:36:26] 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-08-23 11:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590973952001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590973952001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:36:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:36:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590973952001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":163041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:36:26] local.INFO: GPS data processed {"connection_id":163041,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:36:26] local.INFO: Acknowledgment sent {"connection_id":163041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:36:29] local.INFO: TCP Data received {"connection_id":163042,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:36:29] local.INFO: Processing buffer {"connection_id":163042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:36:29] local.INFO: IMEI packet received {"connection_id":163042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":163042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:36:35] local.INFO: TCP Data received {"connection_id":163042,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:36:35] local.INFO: Processing buffer {"connection_id":163042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:36:35] local.INFO: IMEI packet received {"connection_id":163042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":163042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:36:36] local.INFO: TCP Data received {"connection_id":163042,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d396010012d1992800720a918003e00b229..."} 
[2026-08-23 11:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d396010012d1992800720a918003e00b229..."} 
[2026-08-23 11:36:36] local.INFO: Processing buffer {"connection_id":163042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d396010012d1992800720a918003e00b229..."} 
[2026-08-23 11:36:36] local.INFO: Packet analysis {"connection_id":163042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d39"} 
[2026-08-23 11:36:36] local.INFO: Extracted packet for processing {"connection_id":163042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d39"} 
[2026-08-23 11:36:36] local.INFO: GPS Element Parsed {"raw_longitude":756650624,"raw_latitude":119580952,"longitude_deg":75.6650624,"latitude_deg":11.9580952,"altitude":62,"angle":178,"satellites":41,"speed":9,"hex_longitude":"2d199280","hex_latitude":"0720a918","is_valid_coordinates":true} 
[2026-08-23 11:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591072512001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15254997985918976,"note":"Value kept but may cause issues"} 
[2026-08-23 11:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842605596905058304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787465130000,"timestamp_ms":1787465130000,"timestamp_seconds":1787465130,"priority":1,"record_length":96,"hex_timestamp":"000001a02d396010"} 
[2026-08-23 11:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 11:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591072512001,"66":14374,"103":206,"83":41984,"24":9,"16":15254997985918976,"45":1842605596905058304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591072512001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:36:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:36:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15254997985918976,"km_value":15254997985918.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842605596905058304,"description":"Unknown IO ID 45"} 
[2026-08-23 11:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591072512001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1842605596905058304}} 
[2026-08-23 11:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":163042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:36:36] local.INFO: GPS data processed {"connection_id":163042,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:36:36] local.INFO: Acknowledgment sent {"connection_id":163042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:36:46] local.INFO: TCP Data received {"connection_id":160452,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:36:46] local.INFO: Processing buffer {"connection_id":160452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:36:46] local.INFO: IMEI packet received {"connection_id":160452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":160452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:36:51] local.INFO: TCP Data received {"connection_id":160452,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:36:51] local.INFO: Processing buffer {"connection_id":160452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:36:51] local.INFO: IMEI packet received {"connection_id":160452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":160452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:36:52] local.INFO: TCP Data received {"connection_id":160452,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:36:52] local.INFO: Processing buffer {"connection_id":160452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:36:52] local.INFO: Packet analysis {"connection_id":160452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d38"} 
[2026-08-23 11:36:52] local.INFO: Extracted packet for processing {"connection_id":160452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d38"} 
[2026-08-23 11:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:36: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-08-23 11:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590973952001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787465043000,"timestamp_ms":1787465043000,"timestamp_seconds":1787465043,"priority":1,"record_length":96,"hex_timestamp":"000001a02d380c38"} 
[2026-08-23 11:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:36:52] 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-08-23 11:36: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-08-23 11:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:36:52] 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-08-23 11:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590973952001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590973952001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:36:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:36:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590973952001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":160452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:36:52] local.INFO: GPS data processed {"connection_id":160452,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:36:52] local.INFO: Acknowledgment sent {"connection_id":160452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:37:07] local.INFO: TCP Data received {"connection_id":163042,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d396bc8012d1992c00720a620003f009029..."} 
[2026-08-23 11:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d396bc8012d1992c00720a620003f009029..."} 
[2026-08-23 11:37:07] local.INFO: Processing buffer {"connection_id":163042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d396bc8012d1992c00720a620003f009029..."} 
[2026-08-23 11:37:07] local.INFO: Packet analysis {"connection_id":163042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d39"} 
[2026-08-23 11:37:07] local.INFO: Extracted packet for processing {"connection_id":163042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d39"} 
[2026-08-23 11:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756650688,"raw_latitude":119580192,"longitude_deg":75.6650688,"latitude_deg":11.9580192,"altitude":63,"angle":144,"satellites":41,"speed":9,"hex_longitude":"2d1992c0","hex_latitude":"0720a620","is_valid_coordinates":true} 
[2026-08-23 11:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591073280001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15255036640624640,"note":"Value kept but may cause issues"} 
[2026-08-23 11:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842675965649033216,"note":"Value kept but may cause issues"} 
[2026-08-23 11:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787465133000,"timestamp_ms":1787465133000,"timestamp_seconds":1787465133,"priority":1,"record_length":96,"hex_timestamp":"000001a02d396bc8"} 
[2026-08-23 11:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:37:07] 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-08-23 11:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-23 11:37: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-08-23 11:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591073280001,"66":14428,"103":206,"83":41984,"24":9,"16":15255036640624640,"45":1842675965649033216},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591073280001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:37:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15255036640624640,"km_value":15255036640624.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842675965649033216,"description":"Unknown IO ID 45"} 
[2026-08-23 11:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591073280001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1842675965649033216}} 
[2026-08-23 11:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":163042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:37:07] local.INFO: GPS data processed {"connection_id":163042,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:37:07] local.INFO: Acknowledgment sent {"connection_id":163042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:37:24] local.INFO: TCP Data received {"connection_id":160452,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:37:24] local.INFO: Processing buffer {"connection_id":160452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:37:24] local.INFO: Packet analysis {"connection_id":160452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d38"} 
[2026-08-23 11:37:24] local.INFO: Extracted packet for processing {"connection_id":160452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d38"} 
[2026-08-23 11:37:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590973952001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787465043000,"timestamp_ms":1787465043000,"timestamp_seconds":1787465043,"priority":1,"record_length":96,"hex_timestamp":"000001a02d380c38"} 
[2026-08-23 11:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:37:24] 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-08-23 11:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:37:24] 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-08-23 11:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590973952001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590973952001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:37:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:37:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590973952001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":160452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:37:24] local.INFO: GPS data processed {"connection_id":160452,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:37:24] local.INFO: Acknowledgment sent {"connection_id":160452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:37:29] local.INFO: TCP Data received {"connection_id":160453,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:37:29] local.INFO: Processing buffer {"connection_id":160453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:37:29] local.INFO: IMEI packet received {"connection_id":160453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":160453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:37:35] local.INFO: TCP Data received {"connection_id":160453,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:37:35] local.INFO: Processing buffer {"connection_id":160453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:37:35] local.INFO: IMEI packet received {"connection_id":160453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":160453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:37:36] local.INFO: TCP Data received {"connection_id":160453,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d397780012d1994000720a438004000aa29..."} 
[2026-08-23 11:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d397780012d1994000720a438004000aa29..."} 
[2026-08-23 11:37:36] local.INFO: Processing buffer {"connection_id":160453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d397780012d1994000720a438004000aa29..."} 
[2026-08-23 11:37:36] local.INFO: Packet analysis {"connection_id":160453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d39"} 
[2026-08-23 11:37:36] local.INFO: Extracted packet for processing {"connection_id":160453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d39"} 
[2026-08-23 11:37:36] local.INFO: GPS Element Parsed {"raw_longitude":756651008,"raw_latitude":119579704,"longitude_deg":75.6651008,"latitude_deg":11.9579704,"altitude":64,"angle":170,"satellites":41,"speed":7,"hex_longitude":"2d199400","hex_latitude":"0720a438","is_valid_coordinates":true} 
[2026-08-23 11:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591074048001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15255066705395712,"note":"Value kept but may cause issues"} 
[2026-08-23 11:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842746334393016320,"note":"Value kept but may cause issues"} 
[2026-08-23 11:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787465136000,"timestamp_ms":1787465136000,"timestamp_seconds":1787465136,"priority":1,"record_length":96,"hex_timestamp":"000001a02d397780"} 
[2026-08-23 11:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 11:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591074048001,"66":14374,"103":206,"83":41984,"24":7,"16":15255066705395712,"45":1842746334393016320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591074048001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:37:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:37:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15255066705395712,"km_value":15255066705395.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842746334393016320,"description":"Unknown IO ID 45"} 
[2026-08-23 11:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591074048001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1842746334393016320}} 
[2026-08-23 11:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":160453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:37:36] local.INFO: GPS data processed {"connection_id":160453,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:37:36] local.INFO: Acknowledgment sent {"connection_id":160453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:37:52] local.INFO: TCP Data received {"connection_id":161635,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:37:52] local.INFO: Processing buffer {"connection_id":161635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:37:52] local.INFO: IMEI packet received {"connection_id":161635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":161635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:37:56] local.INFO: TCP Data received {"connection_id":161635,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:37:56] local.INFO: Processing buffer {"connection_id":161635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:37:56] local.INFO: IMEI packet received {"connection_id":161635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":161635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:37:58] local.INFO: TCP Data received {"connection_id":161635,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:37:58] local.INFO: Processing buffer {"connection_id":161635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:37:58] local.INFO: Packet analysis {"connection_id":161635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d38"} 
[2026-08-23 11:37:58] local.INFO: Extracted packet for processing {"connection_id":161635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d38"} 
[2026-08-23 11:37:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590973952001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787465043000,"timestamp_ms":1787465043000,"timestamp_seconds":1787465043,"priority":1,"record_length":96,"hex_timestamp":"000001a02d380c38"} 
[2026-08-23 11:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:37:58] 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-08-23 11:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:37:58] 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-08-23 11:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590973952001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590973952001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:37:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:37:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590973952001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":161635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:37:58] local.INFO: GPS data processed {"connection_id":161635,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:37:58] local.INFO: Acknowledgment sent {"connection_id":161635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:38:02] local.INFO: TCP Data received {"connection_id":161635,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:38:02] local.INFO: Processing buffer {"connection_id":161635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:38:02] local.INFO: Packet analysis {"connection_id":161635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d38"} 
[2026-08-23 11:38:02] local.INFO: Extracted packet for processing {"connection_id":161635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d38"} 
[2026-08-23 11:38:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 11:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590973952001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787465043000,"timestamp_ms":1787465043000,"timestamp_seconds":1787465043,"priority":1,"record_length":96,"hex_timestamp":"000001a02d380c38"} 
[2026-08-23 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-08-23 11:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:38:02] 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-08-23 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-08-23 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-08-23 11:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:38:02] 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-08-23 11:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590973952001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590973952001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:38:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:38:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590973952001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":161635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:38:02] local.INFO: GPS data processed {"connection_id":161635,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:38:02] local.INFO: Acknowledgment sent {"connection_id":161635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:38:07] local.INFO: TCP Data received {"connection_id":160453,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3b11a8012d19bb000720a2a8003700c52a..."} 
[2026-08-23 11:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3b11a8012d19bb000720a2a8003700c52a..."} 
[2026-08-23 11:38:07] local.INFO: Processing buffer {"connection_id":160453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3b11a8012d19bb000720a2a8003700c52a..."} 
[2026-08-23 11:38:07] local.INFO: Packet analysis {"connection_id":160453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3b"} 
[2026-08-23 11:38:07] local.INFO: Extracted packet for processing {"connection_id":160453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3b"} 
[2026-08-23 11:38:07] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119579304,"longitude_deg":75.6660992,"latitude_deg":11.9579304,"altitude":55,"angle":197,"satellites":42,"speed":20,"hex_longitude":"2d19bb00","hex_latitude":"0720a2a8","is_valid_coordinates":true} 
[2026-08-23 11:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591101440001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15255895634083840,"note":"Value kept but may cause issues"} 
[2026-08-23 11:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854216439693877248,"note":"Value kept but may cause issues"} 
[2026-08-23 11:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787465241000,"timestamp_ms":1787465241000,"timestamp_seconds":1787465241,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3b11a8"} 
[2026-08-23 11:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:38:07] 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-08-23 11:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-23 11:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591101440001,"66":14276,"103":206,"83":41984,"24":20,"16":15255895634083840,"45":1854216439693877248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591101440001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:38:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:38:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15255895634083840,"km_value":15255895634083.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854216439693877248,"description":"Unknown IO ID 45"} 
[2026-08-23 11:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591101440001,"power":14276,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1854216439693877248}} 
[2026-08-23 11:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":160453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:38:08] local.INFO: GPS data processed {"connection_id":160453,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:38:08] local.INFO: Acknowledgment sent {"connection_id":160453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:38:29] local.INFO: TCP Data received {"connection_id":163043,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:38:29] local.INFO: Processing buffer {"connection_id":163043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:38:29] local.INFO: IMEI packet received {"connection_id":163043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":163043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:38:35] local.INFO: TCP Data received {"connection_id":163043,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:38:35] local.INFO: Processing buffer {"connection_id":163043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:38:35] local.INFO: IMEI packet received {"connection_id":163043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":163043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:38:36] local.INFO: TCP Data received {"connection_id":163043,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3b1590012d19b9c00720a0c0003700d42a..."} 
[2026-08-23 11:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3b1590012d19b9c00720a0c0003700d42a..."} 
[2026-08-23 11:38:36] local.INFO: Processing buffer {"connection_id":163043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3b1590012d19b9c00720a0c0003700d42a..."} 
[2026-08-23 11:38:36] local.INFO: Packet analysis {"connection_id":163043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3b"} 
[2026-08-23 11:38:36] local.INFO: Extracted packet for processing {"connection_id":163043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3b"} 
[2026-08-23 11:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119578816,"longitude_deg":75.6660672,"latitude_deg":11.9578816,"altitude":55,"angle":212,"satellites":42,"speed":23,"hex_longitude":"2d19b9c0","hex_latitude":"0720a0c0","is_valid_coordinates":true} 
[2026-08-23 11:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591101696001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15255921403887616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702205392896,"note":"Value kept but may cause issues"} 
[2026-08-23 11:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787465242000,"timestamp_ms":1787465242000,"timestamp_seconds":1787465242,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3b1590"} 
[2026-08-23 11:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 11:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591101696001,"66":14276,"103":206,"83":41984,"24":23,"16":15255921403887616,"45":1854075702205392896},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591101696001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:38:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:38:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15255921403887616,"km_value":15255921403887.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702205392896,"description":"Unknown IO ID 45"} 
[2026-08-23 11:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591101696001,"power":14276,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1854075702205392896}} 
[2026-08-23 11:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":163043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:38:36] local.INFO: GPS data processed {"connection_id":163043,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:38:36] local.INFO: Acknowledgment sent {"connection_id":163043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:38:46] local.INFO: TCP Data received {"connection_id":161636,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:38:46] local.INFO: Processing buffer {"connection_id":161636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:38:46] local.INFO: IMEI packet received {"connection_id":161636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":161636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:38:51] local.INFO: TCP Data received {"connection_id":161636,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:38:51] local.INFO: Processing buffer {"connection_id":161636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:38:51] local.INFO: IMEI packet received {"connection_id":161636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":161636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:38:53] local.INFO: TCP Data received {"connection_id":161636,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:38:53] local.INFO: Processing buffer {"connection_id":161636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:38:53] local.INFO: Packet analysis {"connection_id":161636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d38"} 
[2026-08-23 11:38:53] local.INFO: Extracted packet for processing {"connection_id":161636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d38"} 
[2026-08-23 11:38:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590973952001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787465043000,"timestamp_ms":1787465043000,"timestamp_seconds":1787465043,"priority":1,"record_length":96,"hex_timestamp":"000001a02d380c38"} 
[2026-08-23 11:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:38:53] 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-08-23 11:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:38:53] 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-08-23 11:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590973952001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590973952001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:38:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:38:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590973952001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":161636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:38:53] local.INFO: GPS data processed {"connection_id":161636,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:38:53] local.INFO: Acknowledgment sent {"connection_id":161636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:39:07] local.INFO: TCP Data received {"connection_id":163043,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3bfc08012d19d700071ffe58002c00e12c..."} 
[2026-08-23 11:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3bfc08012d19d700071ffe58002c00e12c..."} 
[2026-08-23 11:39:07] local.INFO: Processing buffer {"connection_id":163043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3bfc08012d19d700071ffe58002c00e12c..."} 
[2026-08-23 11:39:07] local.INFO: Packet analysis {"connection_id":163043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3b"} 
[2026-08-23 11:39:07] local.INFO: Extracted packet for processing {"connection_id":163043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3b"} 
[2026-08-23 11:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756668160,"raw_latitude":119537240,"longitude_deg":75.666816,"latitude_deg":11.953724,"altitude":44,"angle":225,"satellites":44,"speed":9,"hex_longitude":"2d19d700","hex_latitude":"071ffe58","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591116544001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15258180556685312,"note":"Value kept but may cause issues"} 
[2026-08-23 11:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862308845263501312,"note":"Value kept but may cause issues"} 
[2026-08-23 11:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787465301000,"timestamp_ms":1787465301000,"timestamp_seconds":1787465301,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3bfc08"} 
[2026-08-23 11:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:39:07] 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-08-23 11: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 11:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591116544001,"66":13624,"101":206,"83":41984,"24":9,"16":15258180556685312,"45":1862308845263501312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591116544001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:39:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15258180556685312,"km_value":15258180556685.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862308845263501312,"description":"Unknown IO ID 45"} 
[2026-08-23 11:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591116544001,"power":13624,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1862308845263501312}} 
[2026-08-23 11:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":163043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:39:08] local.INFO: GPS data processed {"connection_id":163043,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:39:08] local.INFO: Acknowledgment sent {"connection_id":163043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:39:24] local.INFO: TCP Data received {"connection_id":161636,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:39:24] local.INFO: Processing buffer {"connection_id":161636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d380c38012d34c50006aa4098000e008521..."} 
[2026-08-23 11:39:24] local.INFO: Packet analysis {"connection_id":161636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d38"} 
[2026-08-23 11:39:24] local.INFO: Extracted packet for processing {"connection_id":161636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d38"} 
[2026-08-23 11:39:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457590973952001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787465043000,"timestamp_ms":1787465043000,"timestamp_seconds":1787465043,"priority":1,"record_length":96,"hex_timestamp":"000001a02d380c38"} 
[2026-08-23 11:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 11:39:24] 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-08-23 11:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:39:24] 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-08-23 11:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457590973952001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457590973952001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:39:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:39:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457590973952001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":161636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:39:24] local.INFO: GPS data processed {"connection_id":161636,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:39:24] local.INFO: Acknowledgment sent {"connection_id":161636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:39:32] local.INFO: TCP Data received {"connection_id":160690,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:39:32] local.INFO: Processing buffer {"connection_id":160690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:39:32] local.INFO: IMEI packet received {"connection_id":160690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":160690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:39:34] local.INFO: TCP Data received {"connection_id":160690,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:39:34] local.INFO: Processing buffer {"connection_id":160690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:39:34] local.INFO: IMEI packet received {"connection_id":160690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":160690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:39:34] local.INFO: TCP Data received {"connection_id":160690,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:39:34] local.INFO: Processing buffer {"connection_id":160690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:39:34] local.INFO: IMEI packet received {"connection_id":160690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":160690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:39:40] local.INFO: TCP Data received {"connection_id":160690,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:39:40] local.INFO: Processing buffer {"connection_id":160690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:39:40] local.INFO: IMEI packet received {"connection_id":160690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":160690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:39:41] local.INFO: TCP Data received {"connection_id":160690,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3c03d8012d19d580071ffd28002c00f12c..."} 
[2026-08-23 11:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3c03d8012d19d580071ffd28002c00f12c..."} 
[2026-08-23 11:39:41] local.INFO: Processing buffer {"connection_id":160690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3c03d8012d19d580071ffd28002c00f12c..."} 
[2026-08-23 11:39:41] local.INFO: Packet analysis {"connection_id":160690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:39:41] local.INFO: Extracted packet for processing {"connection_id":160690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:39:41] local.INFO: GPS Element Parsed {"raw_longitude":756667776,"raw_latitude":119536936,"longitude_deg":75.6667776,"latitude_deg":11.9536936,"altitude":44,"angle":241,"satellites":44,"speed":10,"hex_longitude":"2d19d580","hex_latitude":"071ffd28","is_valid_coordinates":true} 
[2026-08-23 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-08-23 11:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591117056001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15258206326489088,"note":"Value kept but may cause issues"} 
[2026-08-23 11:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861957001542522880,"note":"Value kept but may cause issues"} 
[2026-08-23 11:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787465303000,"timestamp_ms":1787465303000,"timestamp_seconds":1787465303,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3c03d8"} 
[2026-08-23 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-08-23 11:39: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-08-23 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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-23 11:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 11:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591117056001,"66":14070,"101":206,"83":41984,"24":10,"16":15258206326489088,"45":1861957001542522880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591117056001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:39:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15258206326489088,"km_value":15258206326489.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861957001542522880,"description":"Unknown IO ID 45"} 
[2026-08-23 11:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591117056001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1861957001542522880}} 
[2026-08-23 11:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":160690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:39:41] local.INFO: GPS data processed {"connection_id":160690,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:39:41] local.INFO: Acknowledgment sent {"connection_id":160690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:39:46] local.INFO: TCP Data received {"connection_id":163044,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:39:46] local.INFO: Processing buffer {"connection_id":163044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:39:46] local.INFO: IMEI packet received {"connection_id":163044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":163044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:39:51] local.INFO: TCP Data received {"connection_id":163044,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:39:51] local.INFO: Processing buffer {"connection_id":163044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:39:51] local.INFO: IMEI packet received {"connection_id":163044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":163044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:39:52] local.INFO: TCP Data received {"connection_id":163044,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:39:52] local.INFO: Processing buffer {"connection_id":163044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:39:52] local.INFO: Packet analysis {"connection_id":163044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:39:52] local.INFO: Extracted packet for processing {"connection_id":163044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591051008001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787465344000,"timestamp_ms":1787465344000,"timestamp_seconds":1787465344,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3ca400"} 
[2026-08-23 11:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:39:52] 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-08-23 11: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-08-23 11:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591051008001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591051008001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:39:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:39:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591051008001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":163044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:39:52] local.INFO: GPS data processed {"connection_id":163044,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:39:52] local.INFO: Acknowledgment sent {"connection_id":163044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:40:12] local.INFO: TCP Data received {"connection_id":160690,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3cee38012d19a2c0071fd8b00032009229..."} 
[2026-08-23 11:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3cee38012d19a2c0071fd8b00032009229..."} 
[2026-08-23 11:40:12] local.INFO: Processing buffer {"connection_id":160690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3cee38012d19a2c0071fd8b00032009229..."} 
[2026-08-23 11:40:12] local.INFO: Packet analysis {"connection_id":160690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:40:12] local.INFO: Extracted packet for processing {"connection_id":160690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:40:12] local.INFO: GPS Element Parsed {"raw_longitude":756654784,"raw_latitude":119527600,"longitude_deg":75.6654784,"latitude_deg":11.95276,"altitude":50,"angle":146,"satellites":41,"speed":9,"hex_longitude":"2d19a2c0","hex_latitude":"071fd8b0","is_valid_coordinates":true} 
[2026-08-23 11:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591132416001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15259215643803648,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847038827774498816,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787465363000,"timestamp_ms":1787465363000,"timestamp_seconds":1787465363,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3cee38"} 
[2026-08-23 11:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:40:12] 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-08-23 11:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 11:40:12] 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-08-23 11:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591132416001,"66":14341,"101":206,"83":41984,"24":9,"16":15259215643803648,"45":1847038827774498816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591132416001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:40:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:40:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15259215643803648,"km_value":15259215643803.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847038827774498816,"description":"Unknown IO ID 45"} 
[2026-08-23 11:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591132416001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1847038827774498816}} 
[2026-08-23 11:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":160690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:40:12] local.INFO: GPS data processed {"connection_id":160690,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:40:12] local.INFO: Acknowledgment sent {"connection_id":160690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:40:24] local.INFO: TCP Data received {"connection_id":163044,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:40:24] local.INFO: Processing buffer {"connection_id":163044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:40:24] local.INFO: Packet analysis {"connection_id":163044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:40:24] local.INFO: Extracted packet for processing {"connection_id":163044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:40:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591051008001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787465344000,"timestamp_ms":1787465344000,"timestamp_seconds":1787465344,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3ca400"} 
[2026-08-23 11:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:40:24] 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-08-23 11:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591051008001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591051008001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:40:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:40:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591051008001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":163044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:40:24] local.INFO: GPS data processed {"connection_id":163044,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:40:24] local.INFO: Acknowledgment sent {"connection_id":163044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:40:30] local.INFO: TCP Data received {"connection_id":161637,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:40:30] local.INFO: Processing buffer {"connection_id":161637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:40:30] local.INFO: IMEI packet received {"connection_id":161637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":161637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:40:32] local.INFO: TCP Data received {"connection_id":161637,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:40:32] local.INFO: Processing buffer {"connection_id":161637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:40:32] local.INFO: IMEI packet received {"connection_id":161637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":161637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:40:33] local.INFO: TCP Data received {"connection_id":161637,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3cf9f0012d19a4c0071fd530003100a328..."} 
[2026-08-23 11:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3cf9f0012d19a4c0071fd530003100a328..."} 
[2026-08-23 11:40:33] local.INFO: Processing buffer {"connection_id":161637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3cf9f0012d19a4c0071fd530003100a328..."} 
[2026-08-23 11:40:33] local.INFO: Packet analysis {"connection_id":161637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:40:33] local.INFO: Extracted packet for processing {"connection_id":161637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756655296,"raw_latitude":119526704,"longitude_deg":75.6655296,"latitude_deg":11.9526704,"altitude":49,"angle":163,"satellites":40,"speed":16,"hex_longitude":"2d19a4c0","hex_latitude":"071fd530","is_valid_coordinates":true} 
[2026-08-23 11:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591132928001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15259262888443904,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847249934006923264,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787465366000,"timestamp_ms":1787465366000,"timestamp_seconds":1787465366,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3cf9f0"} 
[2026-08-23 11:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:40: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-08-23 11:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 11:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6982286398,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:33] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503832457314304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:33] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3942645760,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4042784820,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-23 11:40:33] local.WARNING: Large IO value detected {"io_id":124,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:33] local.WARNING: Large IO value detected {"io_id":163,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:33] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391992,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:33] local.WARNING: Large IO value detected {"io_id":112,"raw_value":84752300815884273,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:33] local.WARNING: Large IO value detected {"io_id":40,"raw_value":12667512789405696,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:33] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,101,83,24,241,157,16,54,160,230,45,218,50,41,10,66,210,192,226,183,1,240,104,227,53,31,4,113,205,7,124,163,208,35,239,51,2,25,206,112,40],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-23 11:40:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603040406688301056,"timestamp_seconds":3603040406688301.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 11:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591132928001,"66":14157,"101":206,"83":41984,"24":16,"16":15259262888443904,"45":1847249934006923264},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591132928001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:40:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:40:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15259262888443904,"km_value":15259262888443.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847249934006923264,"description":"Unknown IO ID 45"} 
[2026-08-23 11:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591132928001,"power":14157,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1847249934006923264}} 
[2026-08-23 11:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":161637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:40:33] local.INFO: GPS data processed {"connection_id":161637,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:40:33] local.INFO: Acknowledgment sent {"connection_id":161637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:40:46] local.INFO: TCP Data received {"connection_id":160691,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:40:46] local.INFO: Processing buffer {"connection_id":160691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:40:46] local.INFO: IMEI packet received {"connection_id":160691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":160691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:40:51] local.INFO: TCP Data received {"connection_id":160691,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:40:51] local.INFO: Processing buffer {"connection_id":160691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:40:51] local.INFO: IMEI packet received {"connection_id":160691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":160691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:40:53] local.INFO: TCP Data received {"connection_id":160691,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:40:53] local.INFO: Processing buffer {"connection_id":160691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:40:53] local.INFO: Packet analysis {"connection_id":160691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:40:53] local.INFO: Extracted packet for processing {"connection_id":160691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:40:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591051008001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787465344000,"timestamp_ms":1787465344000,"timestamp_seconds":1787465344,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3ca400"} 
[2026-08-23 11:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:40:53] 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-08-23 11:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591051008001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591051008001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:40:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:40:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591051008001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":160691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:40:53] local.INFO: GPS data processed {"connection_id":160691,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:40:53] local.INFO: Acknowledgment sent {"connection_id":160691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:41:04] local.INFO: TCP Data received {"connection_id":161637,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3d01c0012d19a540071fd190003100b129..."} 
[2026-08-23 11:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3d01c0012d19a540071fd190003100b129..."} 
[2026-08-23 11:41:04] local.INFO: Processing buffer {"connection_id":161637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3d01c0012d19a540071fd190003100b129..."} 
[2026-08-23 11:41:04] local.INFO: Packet analysis {"connection_id":161637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3d"} 
[2026-08-23 11:41:04] local.INFO: Extracted packet for processing {"connection_id":161637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3d"} 
[2026-08-23 11:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756655424,"raw_latitude":119525776,"longitude_deg":75.6655424,"latitude_deg":11.9525776,"altitude":49,"angle":177,"satellites":41,"speed":19,"hex_longitude":"2d19a540","hex_latitude":"071fd190","is_valid_coordinates":true} 
[2026-08-23 11:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591133696001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15259310133084160,"note":"Value kept but may cause issues"} 
[2026-08-23 11:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847812883960115200,"note":"Value kept but may cause issues"} 
[2026-08-23 11:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787465368000,"timestamp_ms":1787465368000,"timestamp_seconds":1787465368,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3d01c0"} 
[2026-08-23 11:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:41: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-08-23 11:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 11:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591133696001,"66":14494,"101":206,"83":41984,"24":19,"16":15259310133084160,"45":1847812883960115200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591133696001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:41:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:41:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15259310133084160,"km_value":15259310133084.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847812883960115200,"description":"Unknown IO ID 45"} 
[2026-08-23 11:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591133696001,"power":14494,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1847812883960115200}} 
[2026-08-23 11:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":161637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:41:04] local.INFO: GPS data processed {"connection_id":161637,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:41:04] local.INFO: Acknowledgment sent {"connection_id":161637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:41:24] local.INFO: TCP Data received {"connection_id":160691,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:41:24] local.INFO: Processing buffer {"connection_id":160691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:41:24] local.INFO: Packet analysis {"connection_id":160691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:41:24] local.INFO: Extracted packet for processing {"connection_id":160691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:41:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591051008001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787465344000,"timestamp_ms":1787465344000,"timestamp_seconds":1787465344,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3ca400"} 
[2026-08-23 11:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:41:24] 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-08-23 11:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591051008001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591051008001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:41:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:41:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591051008001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":160691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:41:25] local.INFO: GPS data processed {"connection_id":160691,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:41:25] local.INFO: Acknowledgment sent {"connection_id":160691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:41:30] local.INFO: TCP Data received {"connection_id":161638,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:41:30] local.INFO: Processing buffer {"connection_id":161638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:41:30] local.INFO: IMEI packet received {"connection_id":161638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":161638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:41:35] local.INFO: TCP Data received {"connection_id":161638,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:41:35] local.INFO: Processing buffer {"connection_id":161638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:41:35] local.INFO: IMEI packet received {"connection_id":161638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":161638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:41:36] local.INFO: TCP Data received {"connection_id":161638,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3d24e8012d19a540071fc348003400c128..."} 
[2026-08-23 11:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3d24e8012d19a540071fc348003400c128..."} 
[2026-08-23 11:41:36] local.INFO: Processing buffer {"connection_id":161638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3d24e8012d19a540071fc348003400c128..."} 
[2026-08-23 11:41:36] local.INFO: Packet analysis {"connection_id":161638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3d"} 
[2026-08-23 11:41:36] local.INFO: Extracted packet for processing {"connection_id":161638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3d"} 
[2026-08-23 11:41:36] local.INFO: GPS Element Parsed {"raw_longitude":756655424,"raw_latitude":119522120,"longitude_deg":75.6655424,"latitude_deg":11.952212,"altitude":52,"angle":193,"satellites":40,"speed":8,"hex_longitude":"2d19a540","hex_latitude":"071fc348","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591134208001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15259486226743296,"note":"Value kept but may cause issues"} 
[2026-08-23 11:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847953621448232960,"note":"Value kept but may cause issues"} 
[2026-08-23 11:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787465377000,"timestamp_ms":1787465377000,"timestamp_seconds":1787465377,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3d24e8"} 
[2026-08-23 11:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-23 11:41:36] 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-08-23 11: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-08-23 11:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591134208001,"66":14515,"101":206,"83":41984,"24":8,"16":15259486226743296,"45":1847953621448232960},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591134208001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:41:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:41:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15259486226743296,"km_value":15259486226743.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847953621448232960,"description":"Unknown IO ID 45"} 
[2026-08-23 11:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591134208001,"power":14515,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1847953621448232960}} 
[2026-08-23 11:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":161638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:41:36] local.INFO: GPS data processed {"connection_id":161638,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:41:36] local.INFO: Acknowledgment sent {"connection_id":161638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:41:46] local.INFO: TCP Data received {"connection_id":160454,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:41:46] local.INFO: Processing buffer {"connection_id":160454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:41:46] local.INFO: IMEI packet received {"connection_id":160454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":160454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:41:51] local.INFO: TCP Data received {"connection_id":160454,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:41:51] local.INFO: Processing buffer {"connection_id":160454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:41:51] local.INFO: IMEI packet received {"connection_id":160454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":160454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:41:52] local.INFO: TCP Data received {"connection_id":160454,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:41:52] local.INFO: Processing buffer {"connection_id":160454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:41:52] local.INFO: Packet analysis {"connection_id":160454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:41:52] local.INFO: Extracted packet for processing {"connection_id":160454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:41:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:41: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-08-23 11:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591051008001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787465344000,"timestamp_ms":1787465344000,"timestamp_seconds":1787465344,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3ca400"} 
[2026-08-23 11:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:41:52] 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-08-23 11:41: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-08-23 11:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591051008001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591051008001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:41:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:41:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591051008001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":160454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:41:52] local.INFO: GPS data processed {"connection_id":160454,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:41:52] local.INFO: Acknowledgment sent {"connection_id":160454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:42:07] local.INFO: TCP Data received {"connection_id":161638,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3ea7a0012d198e40071fbbc8003e006829..."} 
[2026-08-23 11:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3ea7a0012d198e40071fbbc8003e006829..."} 
[2026-08-23 11:42:07] local.INFO: Processing buffer {"connection_id":161638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3ea7a0012d198e40071fbbc8003e006829..."} 
[2026-08-23 11:42:07] local.INFO: Packet analysis {"connection_id":161638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3e"} 
[2026-08-23 11:42:07] local.INFO: Extracted packet for processing {"connection_id":161638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3e"} 
[2026-08-23 11:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756649536,"raw_latitude":119520200,"longitude_deg":75.6649536,"latitude_deg":11.95202,"altitude":62,"angle":104,"satellites":41,"speed":9,"hex_longitude":"2d198e40","hex_latitude":"071fbbc8","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591161088001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15259958673145856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747029121024,"note":"Value kept but may cause issues"} 
[2026-08-23 11:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787465476000,"timestamp_ms":1787465476000,"timestamp_seconds":1787465476,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3ea7a0"} 
[2026-08-23 11:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:42:07] 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-08-23 11: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-23 11:42:07] 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-08-23 11: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-08-23 11:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591161088001,"66":14374,"101":206,"83":41984,"24":9,"16":15259958673145856,"45":1840916747029121024},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591161088001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:42:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:42:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15259958673145856,"km_value":15259958673145.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747029121024,"description":"Unknown IO ID 45"} 
[2026-08-23 11:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591161088001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1840916747029121024}} 
[2026-08-23 11:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":161638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:42:07] local.INFO: GPS data processed {"connection_id":161638,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:42:07] local.INFO: Acknowledgment sent {"connection_id":161638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:42:23] local.INFO: TCP Data received {"connection_id":160454,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:42:23] local.INFO: Processing buffer {"connection_id":160454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:42:23] local.INFO: Packet analysis {"connection_id":160454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:42:23] local.INFO: Extracted packet for processing {"connection_id":160454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:42:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591051008001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787465344000,"timestamp_ms":1787465344000,"timestamp_seconds":1787465344,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3ca400"} 
[2026-08-23 11:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:42:23] 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-08-23 11:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591051008001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591051008001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:42:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:42:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591051008001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":160454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:42:23] local.INFO: GPS data processed {"connection_id":160454,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:42:23] local.INFO: Acknowledgment sent {"connection_id":160454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:42:30] local.INFO: TCP Data received {"connection_id":161639,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:42:30] local.INFO: Processing buffer {"connection_id":161639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:42:30] local.INFO: IMEI packet received {"connection_id":161639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":161639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:42:33] local.INFO: TCP Data received {"connection_id":161639,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:42:33] local.INFO: Processing buffer {"connection_id":161639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:42:33] local.INFO: IMEI packet received {"connection_id":161639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":161639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:42:34] local.INFO: TCP Data received {"connection_id":161639,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:42:34] local.INFO: Processing buffer {"connection_id":161639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:42:34] local.INFO: IMEI packet received {"connection_id":161639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":161639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:42:35] local.INFO: TCP Data received {"connection_id":161639,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3eab88012d198f40071fbba8003f00572a..."} 
[2026-08-23 11:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3eab88012d198f40071fbba8003f00572a..."} 
[2026-08-23 11:42:35] local.INFO: Processing buffer {"connection_id":161639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3eab88012d198f40071fbba8003f00572a..."} 
[2026-08-23 11:42:35] local.INFO: Packet analysis {"connection_id":161639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3e"} 
[2026-08-23 11:42:35] local.INFO: Extracted packet for processing {"connection_id":161639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3e"} 
[2026-08-23 11:42:35] local.INFO: GPS Element Parsed {"raw_longitude":756649792,"raw_latitude":119520168,"longitude_deg":75.6649792,"latitude_deg":11.9520168,"altitude":63,"angle":87,"satellites":42,"speed":9,"hex_longitude":"2d198f40","hex_latitude":"071fbba8","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591161856001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15259971558047744,"note":"Value kept but may cause issues"} 
[2026-08-23 11:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841479696982460416,"note":"Value kept but may cause issues"} 
[2026-08-23 11:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787465477000,"timestamp_ms":1787465477000,"timestamp_seconds":1787465477,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3eab88"} 
[2026-08-23 11:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11: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-08-23 11: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-23 11:42:35] 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-08-23 11: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-08-23 11:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591161856001,"66":13678,"101":206,"83":41984,"24":9,"16":15259971558047744,"45":1841479696982460416},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591161856001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:42:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:42:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15259971558047744,"km_value":15259971558047.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841479696982460416,"description":"Unknown IO ID 45"} 
[2026-08-23 11:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591161856001,"power":13678,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1841479696982460416}} 
[2026-08-23 11:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":161639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:42:35] local.INFO: GPS data processed {"connection_id":161639,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:42:35] local.INFO: Acknowledgment sent {"connection_id":161639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:42:40] local.INFO: TCP Data received {"connection_id":161639,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3eb358012d199080071fbc30003f00412a..."} 
[2026-08-23 11:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3eb358012d199080071fbc30003f00412a..."} 
[2026-08-23 11:42:40] local.INFO: Processing buffer {"connection_id":161639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3eb358012d199080071fbc30003f00412a..."} 
[2026-08-23 11:42:40] local.INFO: Packet analysis {"connection_id":161639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3e"} 
[2026-08-23 11:42:40] local.INFO: Extracted packet for processing {"connection_id":161639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3e"} 
[2026-08-23 11:42:40] local.INFO: GPS Element Parsed {"raw_longitude":756650112,"raw_latitude":119520304,"longitude_deg":75.6650112,"latitude_deg":11.9520304,"altitude":63,"angle":65,"satellites":42,"speed":8,"hex_longitude":"2d199080","hex_latitude":"071fbc30","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591162112001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15259984442949632,"note":"Value kept but may cause issues"} 
[2026-08-23 11:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841761171959162880,"note":"Value kept but may cause issues"} 
[2026-08-23 11:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787465479000,"timestamp_ms":1787465479000,"timestamp_seconds":1787465479,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3eb358"} 
[2026-08-23 11:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-23 11:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591162112001,"66":13678,"101":206,"83":41984,"24":8,"16":15259984442949632,"45":1841761171959162880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591162112001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:42:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:42:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15259984442949632,"km_value":15259984442949.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841761171959162880,"description":"Unknown IO ID 45"} 
[2026-08-23 11:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591162112001,"power":13678,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1841761171959162880}} 
[2026-08-23 11:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":161639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:42:40] local.INFO: GPS data processed {"connection_id":161639,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:42:40] local.INFO: Acknowledgment sent {"connection_id":161639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:42:55] local.INFO: TCP Data received {"connection_id":163045,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:42:55] local.INFO: Processing buffer {"connection_id":163045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:42:55] local.INFO: IMEI packet received {"connection_id":163045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":163045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:42:56] local.INFO: TCP Data received {"connection_id":163045,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:42:56] local.INFO: Processing buffer {"connection_id":163045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:42:56] local.INFO: IMEI packet received {"connection_id":163045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":163045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:42:57] local.INFO: TCP Data received {"connection_id":163045,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:42:57] local.INFO: Processing buffer {"connection_id":163045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:42:57] local.INFO: Packet analysis {"connection_id":163045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:42:57] local.INFO: Extracted packet for processing {"connection_id":163045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:42:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591051008001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787465344000,"timestamp_ms":1787465344000,"timestamp_seconds":1787465344,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3ca400"} 
[2026-08-23 11:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:42:57] 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-08-23 11:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591051008001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591051008001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:42:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:42:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591051008001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":163045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:42:57] local.INFO: GPS data processed {"connection_id":163045,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:42:57] local.INFO: Acknowledgment sent {"connection_id":163045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:43:01] local.INFO: TCP Data received {"connection_id":163045,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:43:01] local.INFO: Processing buffer {"connection_id":163045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:43:01] local.INFO: Packet analysis {"connection_id":163045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:43:01] local.INFO: Extracted packet for processing {"connection_id":163045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:43:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591051008001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787465344000,"timestamp_ms":1787465344000,"timestamp_seconds":1787465344,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3ca400"} 
[2026-08-23 11:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":163045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":163045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":163045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:43:01] 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-08-23 11:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591051008001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591051008001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:43:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:43:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591051008001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":163045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:43:01] local.INFO: GPS data processed {"connection_id":163045,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:43:01] local.INFO: Acknowledgment sent {"connection_id":163045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:43:11] local.INFO: TCP Data received {"connection_id":161639,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3fb910012d19a240071ff008003b003628..."} 
[2026-08-23 11:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3fb910012d19a240071ff008003b003628..."} 
[2026-08-23 11:43:11] local.INFO: Processing buffer {"connection_id":161639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3fb910012d19a240071ff008003b003628..."} 
[2026-08-23 11:43:11] local.INFO: Packet analysis {"connection_id":161639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3f"} 
[2026-08-23 11:43:11] local.INFO: Extracted packet for processing {"connection_id":161639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3f"} 
[2026-08-23 11:43:11] local.INFO: GPS Element Parsed {"raw_longitude":756654656,"raw_latitude":119533576,"longitude_deg":75.6654656,"latitude_deg":11.9533576,"altitude":59,"angle":54,"satellites":40,"speed":11,"hex_longitude":"2d19a240","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-23 11:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591179520001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15260826256539648,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846898090287521792,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787465546000,"timestamp_ms":1787465546000,"timestamp_seconds":1787465546,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3fb910"} 
[2026-08-23 11:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-23 11:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591179520001,"66":14070,"101":206,"83":41984,"24":11,"16":15260826256539648,"45":1846898090287521792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591179520001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:43:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:43:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15260826256539648,"km_value":15260826256539.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846898090287521792,"description":"Unknown IO ID 45"} 
[2026-08-23 11:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591179520001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1846898090287521792}} 
[2026-08-23 11:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":161639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:43:12] local.INFO: GPS data processed {"connection_id":161639,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:43:12] local.INFO: Acknowledgment sent {"connection_id":161639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:43:16] local.INFO: TCP Data received {"connection_id":161640,"ip":"117.224.29.135","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161640,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:43:16] local.INFO: Processing buffer {"connection_id":161640,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:43:16] local.INFO: IMEI packet received {"connection_id":161640,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 11:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":161640,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:43:19] local.INFO: TCP Data received {"connection_id":161640,"ip":"117.224.29.135","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161640,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:43:19] local.INFO: Processing buffer {"connection_id":161640,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:43:19] local.INFO: IMEI packet received {"connection_id":161640,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":161640,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:43:21] local.INFO: TCP Data received {"connection_id":161640,"ip":"117.224.29.135","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3f6708012d7e10c005d290880010010422..."} 
[2026-08-23 11:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3f6708012d7e10c005d290880010010422..."} 
[2026-08-23 11:43:21] local.INFO: Processing buffer {"connection_id":161640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3f6708012d7e10c005d290880010010422..."} 
[2026-08-23 11:43:21] local.INFO: Packet analysis {"connection_id":161640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3f"} 
[2026-08-23 11:43:21] local.INFO: Extracted packet for processing {"connection_id":161640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3f"} 
[2026-08-23 11:43:21] local.INFO: GPS Element Parsed {"raw_longitude":763236544,"raw_latitude":97685640,"longitude_deg":76.3236544,"latitude_deg":9.768564,"altitude":16,"angle":260,"satellites":34,"speed":24,"hex_longitude":"2d7e10c0","hex_latitude":"05d29088","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591173888001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122590414011105280,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085238217041643520,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:21] 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-08-23 11:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787465525000,"timestamp_ms":1787465525000,"timestamp_seconds":1787465525,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3f6708"} 
[2026-08-23 11:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 11:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.29.135","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591173888001,"66":13048,"111":206,"19":45824,"24":24,"16":122590414011105280,"45":9085238217041643520},"client_ip":"117.224.29.135","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,19,24,16,45]} 
[2026-08-23 11:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591173888001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:43:21] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-23 11:43:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-23 11:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122590414011105280,"km_value":122590414011105.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085238217041643520,"description":"Unknown IO ID 45"} 
[2026-08-23 11:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591173888001,"power":13048,"unknown_111":206,"unknown_19":45824,"ignition":24,"odometer":null,"unknown_45":9085238217041643520}} 
[2026-08-23 11:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":161640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:43:21] local.INFO: GPS data processed {"connection_id":161640,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:43:21] local.INFO: Acknowledgment sent {"connection_id":161640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:43:23] local.INFO: TCP Data received {"connection_id":161640,"ip":"117.224.29.135","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3f6ed8012d7e0b8005d29048000e011121..."} 
[2026-08-23 11:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3f6ed8012d7e0b8005d29048000e011121..."} 
[2026-08-23 11:43:23] local.INFO: Processing buffer {"connection_id":161640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3f6ed8012d7e0b8005d29048000e011121..."} 
[2026-08-23 11:43:23] local.INFO: Packet analysis {"connection_id":161640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3f"} 
[2026-08-23 11:43:23] local.INFO: Extracted packet for processing {"connection_id":161640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3f"} 
[2026-08-23 11:43:23] local.INFO: GPS Element Parsed {"raw_longitude":763235200,"raw_latitude":97685576,"longitude_deg":76.32352,"latitude_deg":9.7685576,"altitude":14,"angle":273,"satellites":33,"speed":28,"hex_longitude":"2d7e0b80","hex_latitude":"05d29048","is_valid_coordinates":true} 
[2026-08-23 11:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591174400001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122590482730582016,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083971579646347264,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:23] 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-08-23 11:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787465527000,"timestamp_ms":1787465527000,"timestamp_seconds":1787465527,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3f6ed8"} 
[2026-08-23 11:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-23 11:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.29.135","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591174400001,"66":12961,"111":206,"19":45824,"24":28,"16":122590482730582016,"45":9083971579646347264},"client_ip":"117.224.29.135","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,19,24,16,45]} 
[2026-08-23 11:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591174400001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:43:23] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-23 11:43:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-23 11:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122590482730582016,"km_value":122590482730582.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083971579646347264,"description":"Unknown IO ID 45"} 
[2026-08-23 11:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591174400001,"power":12961,"unknown_111":206,"unknown_19":45824,"ignition":28,"odometer":null,"unknown_45":9083971579646347264}} 
[2026-08-23 11:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":161640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:43:23] local.INFO: GPS data processed {"connection_id":161640,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:43:23] local.INFO: Acknowledgment sent {"connection_id":161640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:43:30] local.INFO: TCP Data received {"connection_id":160692,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:43:30] local.INFO: Processing buffer {"connection_id":160692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:43:30] local.INFO: IMEI packet received {"connection_id":160692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":160692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:43:30] local.INFO: TCP Data received {"connection_id":160692,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:43:30] local.INFO: Processing buffer {"connection_id":160692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:43:30] local.INFO: IMEI packet received {"connection_id":160692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":160692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:43:34] local.INFO: TCP Data received {"connection_id":160692,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:43:34] local.INFO: Processing buffer {"connection_id":160692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:43:34] local.INFO: IMEI packet received {"connection_id":160692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":160692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:43:35] local.INFO: TCP Data received {"connection_id":160692,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:43:35] local.INFO: Processing buffer {"connection_id":160692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:43:35] local.INFO: IMEI packet received {"connection_id":160692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":160692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:43:35] local.INFO: TCP Data received {"connection_id":160692,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3fc0e0012d19a4c0071ff0c0003b005128..."} 
[2026-08-23 11:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3fc0e0012d19a4c0071ff0c0003b005128..."} 
[2026-08-23 11:43:35] local.INFO: Processing buffer {"connection_id":160692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3fc0e0012d19a4c0071ff0c0003b005128..."} 
[2026-08-23 11:43:35] local.INFO: Packet analysis {"connection_id":160692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3f"} 
[2026-08-23 11:43:35] local.INFO: Extracted packet for processing {"connection_id":160692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3f"} 
[2026-08-23 11:43:35] local.INFO: GPS Element Parsed {"raw_longitude":756655296,"raw_latitude":119533760,"longitude_deg":75.6655296,"latitude_deg":11.953376,"altitude":59,"angle":81,"satellites":40,"speed":14,"hex_longitude":"2d19a4c0","hex_latitude":"071ff0c0","is_valid_coordinates":true} 
[2026-08-23 11:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591179776001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15260856321310720,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847109196520097792,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787465548000,"timestamp_ms":1787465548000,"timestamp_seconds":1787465548,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3fc0e0"} 
[2026-08-23 11:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:43: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-08-23 11:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-23 11:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591179776001,"66":13798,"101":206,"83":41984,"24":14,"16":15260856321310720,"45":1847109196520097792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591179776001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:43:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:43:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15260856321310720,"km_value":15260856321310.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847109196520097792,"description":"Unknown IO ID 45"} 
[2026-08-23 11:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591179776001,"power":13798,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1847109196520097792}} 
[2026-08-23 11:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":160692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:43:36] local.INFO: GPS data processed {"connection_id":160692,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:43:36] local.INFO: Acknowledgment sent {"connection_id":160692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:43:36] local.INFO: TCP Data received {"connection_id":160692,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3fc4c8012d19a640071ff090003a006127..."} 
[2026-08-23 11:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3fc4c8012d19a640071ff090003a006127..."} 
[2026-08-23 11:43:36] local.INFO: Processing buffer {"connection_id":160692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3fc4c8012d19a640071ff090003a006127..."} 
[2026-08-23 11:43:36] local.INFO: Packet analysis {"connection_id":160692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3f"} 
[2026-08-23 11:43:36] local.INFO: Extracted packet for processing {"connection_id":160692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3f"} 
[2026-08-23 11:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756655680,"raw_latitude":119533712,"longitude_deg":75.665568,"latitude_deg":11.9533712,"altitude":58,"angle":97,"satellites":39,"speed":16,"hex_longitude":"2d19a640","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-23 11:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591180288001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15260877796147200,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847812883961921536,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787465549000,"timestamp_ms":1787465549000,"timestamp_seconds":1787465549,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3fc4c8"} 
[2026-08-23 11:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-23 11:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591180288001,"66":13352,"101":206,"83":41984,"24":16,"16":15260877796147200,"45":1847812883961921536},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591180288001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:43:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:43:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15260877796147200,"km_value":15260877796147.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847812883961921536,"description":"Unknown IO ID 45"} 
[2026-08-23 11:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591180288001,"power":13352,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1847812883961921536}} 
[2026-08-23 11:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":160692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:43:36] local.INFO: GPS data processed {"connection_id":160692,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:43:36] local.INFO: Acknowledgment sent {"connection_id":160692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:43:46] local.INFO: TCP Data received {"connection_id":163046,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:43:46] local.INFO: Processing buffer {"connection_id":163046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:43:46] local.INFO: IMEI packet received {"connection_id":163046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":163046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:43:51] local.INFO: TCP Data received {"connection_id":163046,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:43:51] local.INFO: Processing buffer {"connection_id":163046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:43:51] local.INFO: IMEI packet received {"connection_id":163046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":163046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:43:52] local.INFO: TCP Data received {"connection_id":163046,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:43:52] local.INFO: Processing buffer {"connection_id":163046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:43:52] local.INFO: Packet analysis {"connection_id":163046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:43:52] local.INFO: Extracted packet for processing {"connection_id":163046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:43:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591051008001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787465344000,"timestamp_ms":1787465344000,"timestamp_seconds":1787465344,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3ca400"} 
[2026-08-23 11:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:43:52] 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-08-23 11:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:43:52] 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-08-23 11:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591051008001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591051008001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:43:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:43:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591051008001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":163046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:43:52] local.INFO: GPS data processed {"connection_id":163046,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:43:52] local.INFO: Acknowledgment sent {"connection_id":163046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:43:56] local.INFO: TCP Data received {"connection_id":161640,"ip":"117.224.29.135","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3fa1a0012d7de5c005d290d0000b010d22..."} 
[2026-08-23 11:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3fa1a0012d7de5c005d290d0000b010d22..."} 
[2026-08-23 11:43:56] local.INFO: Processing buffer {"connection_id":161640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3fa1a0012d7de5c005d290d0000b010d22..."} 
[2026-08-23 11:43:56] local.INFO: Packet analysis {"connection_id":161640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3f"} 
[2026-08-23 11:43:56] local.INFO: Extracted packet for processing {"connection_id":161640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3f"} 
[2026-08-23 11:43:56] local.INFO: GPS Element Parsed {"raw_longitude":763225536,"raw_latitude":97685712,"longitude_deg":76.3225536,"latitude_deg":9.7685712,"altitude":11,"angle":269,"satellites":34,"speed":28,"hex_longitude":"2d7de5c0","hex_latitude":"05d290d0","is_valid_coordinates":true} 
[2026-08-23 11:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591174912001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122590942292082688,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9082493836018599936,"note":"Value kept but may cause issues"} 
[2026-08-23 11:43:56] 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-08-23 11:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787465540000,"timestamp_ms":1787465540000,"timestamp_seconds":1787465540,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3fa1a0"} 
[2026-08-23 11:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 11:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.29.135","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591174912001,"66":13406,"111":206,"19":45824,"24":28,"16":122590942292082688,"45":9082493836018599936},"client_ip":"117.224.29.135","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,19,24,16,45]} 
[2026-08-23 11:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591174912001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:43:56] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-23 11:43:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-23 11:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122590942292082688,"km_value":122590942292082.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9082493836018599936,"description":"Unknown IO ID 45"} 
[2026-08-23 11:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591174912001,"power":13406,"unknown_111":206,"unknown_19":45824,"ignition":28,"odometer":null,"unknown_45":9082493836018599936}} 
[2026-08-23 11:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":161640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:43:56] local.INFO: GPS data processed {"connection_id":161640,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:43:56] local.INFO: Acknowledgment sent {"connection_id":161640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:44:07] local.INFO: TCP Data received {"connection_id":160692,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4039f8012d19dd8007200ad0002f01282a..."} 
[2026-08-23 11:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4039f8012d19dd8007200ad0002f01282a..."} 
[2026-08-23 11:44:07] local.INFO: Processing buffer {"connection_id":160692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4039f8012d19dd8007200ad0002f01282a..."} 
[2026-08-23 11:44:07] local.INFO: Packet analysis {"connection_id":160692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d40"} 
[2026-08-23 11:44:07] local.INFO: Extracted packet for processing {"connection_id":160692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d40"} 
[2026-08-23 11:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756669824,"raw_latitude":119540432,"longitude_deg":75.6669824,"latitude_deg":11.9540432,"altitude":47,"angle":296,"satellites":42,"speed":7,"hex_longitude":"2d19dd80","hex_latitude":"07200ad0","is_valid_coordinates":true} 
[2026-08-23 11:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591187968001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15261736789606400,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863997695124463616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787465579000,"timestamp_ms":1787465579000,"timestamp_seconds":1787465579,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4039f8"} 
[2026-08-23 11:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:44:07] 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-08-23 11:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-23 11:44: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-08-23 11:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591187968001,"66":14048,"101":206,"83":41984,"24":7,"16":15261736789606400,"45":1863997695124463616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591187968001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:44:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:44:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15261736789606400,"km_value":15261736789606.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863997695124463616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591187968001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1863997695124463616}} 
[2026-08-23 11:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":160692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:44:08] local.INFO: GPS data processed {"connection_id":160692,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:44:08] local.INFO: Acknowledgment sent {"connection_id":160692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:44:23] local.INFO: TCP Data received {"connection_id":163046,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:44:23] local.INFO: Processing buffer {"connection_id":163046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3ca400012d34c50006aa4098000e008523..."} 
[2026-08-23 11:44:23] local.INFO: Packet analysis {"connection_id":163046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:44:23] local.INFO: Extracted packet for processing {"connection_id":163046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3c"} 
[2026-08-23 11:44:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591051008001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787465344000,"timestamp_ms":1787465344000,"timestamp_seconds":1787465344,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3ca400"} 
[2026-08-23 11:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:44:23] 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-08-23 11:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591051008001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591051008001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:44:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:44:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591051008001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":163046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:44:23] local.INFO: GPS data processed {"connection_id":163046,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:44:23] local.INFO: Acknowledgment sent {"connection_id":163046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:44:27] local.INFO: TCP Data received {"connection_id":161640,"ip":"117.224.29.135","data_length":795,"data_hex":"000000000000030f8e0a000001a02d3fd080012d7dc1c005d28f60000d010a22..."} 
[2026-08-23 11:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d3fd080012d7dc1c005d28f60000d010a22..."} 
[2026-08-23 11:44:27] local.INFO: Processing buffer {"connection_id":161640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d3fd080012d7dc1c005d28f60000d010a22..."} 
[2026-08-23 11:44:27] local.INFO: Packet analysis {"connection_id":161640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d3f"} 
[2026-08-23 11:44:27] local.INFO: Extracted packet for processing {"connection_id":161640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d3f"} 
[2026-08-23 11:44:27] local.INFO: GPS Element Parsed {"raw_longitude":763216320,"raw_latitude":97685344,"longitude_deg":76.321632,"latitude_deg":9.7685344,"altitude":13,"angle":266,"satellites":34,"speed":30,"hex_longitude":"2d7dc1c0","hex_latitude":"05d28f60","is_valid_coordinates":true} 
[2026-08-23 11:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591178240001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122591384673714176,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9071868155647807488,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:27] 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-08-23 11:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787465552000,"timestamp_ms":1787465552000,"timestamp_seconds":1787465552,"priority":1,"record_length":96,"hex_timestamp":"000001a02d3fd080"} 
[2026-08-23 11:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-23 11:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.29.135","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591178240001,"66":13319,"111":206,"19":45824,"24":30,"16":122591384673714176,"45":9071868155647807488},"client_ip":"117.224.29.135","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,19,24,16,45]} 
[2026-08-23 11:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591178240001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:44:27] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-23 11:44:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-23 11:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122591384673714176,"km_value":122591384673714.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9071868155647807488,"description":"Unknown IO ID 45"} 
[2026-08-23 11:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591178240001,"power":13319,"unknown_111":206,"unknown_19":45824,"ignition":30,"odometer":null,"unknown_45":9071868155647807488}} 
[2026-08-23 11:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":161640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:44:28] local.INFO: GPS data processed {"connection_id":161640,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:44:28] local.INFO: Acknowledgment sent {"connection_id":161640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:44:29] local.INFO: TCP Data received {"connection_id":160693,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:44:29] local.INFO: Processing buffer {"connection_id":160693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:44:29] local.INFO: IMEI packet received {"connection_id":160693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":160693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:44:35] local.INFO: TCP Data received {"connection_id":160693,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:44:35] local.INFO: Processing buffer {"connection_id":160693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:44:35] local.INFO: IMEI packet received {"connection_id":160693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":160693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:44:36] local.INFO: TCP Data received {"connection_id":160693,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d408c00012d19db4007200c00002d012e29..."} 
[2026-08-23 11:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d408c00012d19db4007200c00002d012e29..."} 
[2026-08-23 11:44:36] local.INFO: Processing buffer {"connection_id":160693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d408c00012d19db4007200c00002d012e29..."} 
[2026-08-23 11:44:36] local.INFO: Packet analysis {"connection_id":160693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d40"} 
[2026-08-23 11:44:36] local.INFO: Extracted packet for processing {"connection_id":160693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d40"} 
[2026-08-23 11:44:36] local.INFO: GPS Element Parsed {"raw_longitude":756669248,"raw_latitude":119540736,"longitude_deg":75.6669248,"latitude_deg":11.9540736,"altitude":45,"angle":302,"satellites":41,"speed":5,"hex_longitude":"2d19db40","hex_latitude":"07200c00","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591188224001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15261766854377472,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863786588891959296,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787465600000,"timestamp_ms":1787465600000,"timestamp_seconds":1787465600,"priority":1,"record_length":96,"hex_timestamp":"000001a02d408c00"} 
[2026-08-23 11:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 11:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591188224001,"66":14102,"101":206,"83":41984,"24":5,"16":15261766854377472,"45":1863786588891959296},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 11:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591188224001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:44:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 11:44:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15261766854377472,"km_value":15261766854377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863786588891959296,"description":"Unknown IO ID 45"} 
[2026-08-23 11:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591188224001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1863786588891959296}} 
[2026-08-23 11:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":160693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:44:36] local.INFO: GPS data processed {"connection_id":160693,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:44:36] local.INFO: Acknowledgment sent {"connection_id":160693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:44:47] local.INFO: TCP Data received {"connection_id":160455,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:44:47] local.INFO: Processing buffer {"connection_id":160455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:44:47] local.INFO: IMEI packet received {"connection_id":160455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":160455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:44:51] local.INFO: TCP Data received {"connection_id":160455,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:44:51] local.INFO: Processing buffer {"connection_id":160455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:44:51] local.INFO: IMEI packet received {"connection_id":160455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":160455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:44:53] local.INFO: TCP Data received {"connection_id":160455,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:44:53] local.INFO: Processing buffer {"connection_id":160455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:44:53] local.INFO: Packet analysis {"connection_id":160455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:44:53] local.INFO: Extracted packet for processing {"connection_id":160455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:44:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:44: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-08-23 11:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591128064001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787465645000,"timestamp_ms":1787465645000,"timestamp_seconds":1787465645,"priority":1,"record_length":96,"hex_timestamp":"000001a02d413bc8"} 
[2026-08-23 11:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:44:53] 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-08-23 11:44: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-08-23 11:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591128064001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591128064001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:44:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:44:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591128064001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":160455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:44:53] local.INFO: GPS data processed {"connection_id":160455,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:44:53] local.INFO: Acknowledgment sent {"connection_id":160455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:44:59] local.INFO: TCP Data received {"connection_id":161640,"ip":"117.224.29.135","data_length":795,"data_hex":"000000000000030f8e0a000001a02d400730012d7d9d8005d28e60000c010a23..."} 
[2026-08-23 11:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d400730012d7d9d8005d28e60000c010a23..."} 
[2026-08-23 11:44:59] local.INFO: Processing buffer {"connection_id":161640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d400730012d7d9d8005d28e60000c010a23..."} 
[2026-08-23 11:44:59] local.INFO: Packet analysis {"connection_id":161640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d40"} 
[2026-08-23 11:44:59] local.INFO: Extracted packet for processing {"connection_id":161640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d40"} 
[2026-08-23 11:44:59] local.INFO: GPS Element Parsed {"raw_longitude":763207040,"raw_latitude":97685088,"longitude_deg":76.320704,"latitude_deg":9.7685088,"altitude":12,"angle":266,"satellites":35,"speed":24,"hex_longitude":"2d7d9d80","hex_latitude":"05d28e60","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591181312001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122591827055345664,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9061735056486129664,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:59] 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-08-23 11:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787465566000,"timestamp_ms":1787465566000,"timestamp_seconds":1787465566,"priority":1,"record_length":96,"hex_timestamp":"000001a02d400730"} 
[2026-08-23 11:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 11:44:59] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3003127808,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:59] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-4463067170580192768,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2725183694,"corrected_to":0} 
[2026-08-23 11:44:59] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422370,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:59] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2265448448,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3535276032,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:59] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57880967864259507,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:59] local.WARNING: Large IO value detected {"io_id":62,"raw_value":-1020064020695433211,"note":"Value kept but may cause issues"} 
[2026-08-23 11:44:59] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,111,19,24,241,158,16,136,160,161,45,192,144,11,34,10,66,135,110,128,14,33,103,1,240,248,210,4,113,205,60,37,56,239,51,2,179,5,15,27,166,62],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2725183694,"validated":0}]} 
[2026-08-23 11:44:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937041338616905728,"timestamp_seconds":937041338616905.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 11:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.29.135","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591181312001,"66":13406,"174":206,"19":45824,"24":24,"16":122591827055345664,"45":9061735056486129664},"client_ip":"117.224.29.135","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-08-23 11:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591181312001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:44:59] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-23 11:44:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-23 11:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122591827055345664,"km_value":122591827055345.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9061735056486129664,"description":"Unknown IO ID 45"} 
[2026-08-23 11:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591181312001,"power":13406,"unknown_174":206,"unknown_19":45824,"ignition":24,"odometer":null,"unknown_45":9061735056486129664}} 
[2026-08-23 11:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":161640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:44:59] local.INFO: GPS data processed {"connection_id":161640,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:44:59] local.INFO: Acknowledgment sent {"connection_id":161640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:45:07] local.INFO: TCP Data received {"connection_id":160693,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4189e8012d19b9c00720a6000022001e23..."} 
[2026-08-23 11:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4189e8012d19b9c00720a6000022001e23..."} 
[2026-08-23 11:45:07] local.INFO: Processing buffer {"connection_id":160693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4189e8012d19b9c00720a6000022001e23..."} 
[2026-08-23 11:45:07] local.INFO: Packet analysis {"connection_id":160693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:45:07] local.INFO: Extracted packet for processing {"connection_id":160693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119580160,"longitude_deg":75.6660672,"latitude_deg":11.958016,"altitude":34,"angle":30,"satellites":35,"speed":0,"hex_longitude":"2d19b9c0","hex_latitude":"0720a600","is_valid_coordinates":true} 
[2026-08-23 11:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591204864001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15263914338025472,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851472058670383104,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787465665000,"timestamp_ms":1787465665000,"timestamp_seconds":1787465665,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4189e8"} 
[2026-08-23 11:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:45:07] 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-08-23 11:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 11:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6982287570,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:07] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503832516034560,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-23 11:45:07] local.WARNING: Large IO value detected {"io_id":80,"raw_value":84752277193564216,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:07] local.WARNING: Large IO value detected {"io_id":176,"raw_value":9290148059555328,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:07] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,58,160,48,45,64,150,28,38,10,66,44,192,146,27,39,36,1,240,185,227,32,4,113,205,183,239,54,2,7,31,42,206,80,176],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-23 11:45:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2161769765790744576,"timestamp_seconds":2161769765790744.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 11:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591204864001,"66":14341,"103":206,"83":41984,"24":0,"16":15263914338025472,"45":1851472058670383104},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591204864001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:45:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15263914338025472,"km_value":15263914338025.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851472058670383104,"description":"Unknown IO ID 45"} 
[2026-08-23 11:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591204864001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1851472058670383104}} 
[2026-08-23 11:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":160693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:45:07] local.INFO: GPS data processed {"connection_id":160693,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:45:07] local.INFO: Acknowledgment sent {"connection_id":160693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:45:24] local.INFO: TCP Data received {"connection_id":160455,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:45:24] local.INFO: Processing buffer {"connection_id":160455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:45:24] local.INFO: Packet analysis {"connection_id":160455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:45:24] local.INFO: Extracted packet for processing {"connection_id":160455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:45:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591128064001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787465645000,"timestamp_ms":1787465645000,"timestamp_seconds":1787465645,"priority":1,"record_length":96,"hex_timestamp":"000001a02d413bc8"} 
[2026-08-23 11:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:45:24] 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-08-23 11:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591128064001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591128064001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:45:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:45:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591128064001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":160455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:45:24] local.INFO: GPS data processed {"connection_id":160455,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:45:24] local.INFO: Acknowledgment sent {"connection_id":160455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:45:32] local.INFO: TCP Data received {"connection_id":161640,"ip":"117.224.29.135","data_length":795,"data_hex":"000000000000030f8e0a000001a02d421e58012d7d414005d268e8001300c725..."} 
[2026-08-23 11:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d421e58012d7d414005d268e8001300c725..."} 
[2026-08-23 11:45:32] local.INFO: Processing buffer {"connection_id":161640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d421e58012d7d414005d268e8001300c725..."} 
[2026-08-23 11:45:32] local.INFO: Packet analysis {"connection_id":161640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d42"} 
[2026-08-23 11:45:32] local.INFO: Extracted packet for processing {"connection_id":161640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d42"} 
[2026-08-23 11:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763183424,"raw_latitude":97675496,"longitude_deg":76.3183424,"latitude_deg":9.7675496,"altitude":19,"angle":199,"satellites":37,"speed":4,"hex_longitude":"2d7d4140","hex_latitude":"05d268e8","is_valid_coordinates":true} 
[2026-08-23 11:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591219456001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122593377538539520,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025635890720536576,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:32] 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-08-23 11:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787465703000,"timestamp_ms":1787465703000,"timestamp_seconds":1787465703,"priority":1,"record_length":96,"hex_timestamp":"000001a02d421e58"} 
[2026-08-23 11:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:45:32] 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-08-23 11:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-23 11:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.29.135","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591219456001,"66":13319,"163":206,"19":45824,"24":4,"16":122593377538539520,"45":9025635890720536576},"client_ip":"117.224.29.135","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-08-23 11:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591219456001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:45:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-23 11:45:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-23 11:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122593377538539520,"km_value":122593377538539.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025635890720536576,"description":"Unknown IO ID 45"} 
[2026-08-23 11:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591219456001,"power":13319,"unknown_163":206,"unknown_19":45824,"ignition":4,"odometer":null,"unknown_45":9025635890720536576}} 
[2026-08-23 11:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":161640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686272,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:45:32] local.INFO: GPS data processed {"connection_id":161640,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:45:32] local.INFO: Acknowledgment sent {"connection_id":161640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:45:32] local.INFO: TCP Data received {"connection_id":163047,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:45:32] local.INFO: Processing buffer {"connection_id":163047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:45:32] local.INFO: IMEI packet received {"connection_id":163047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":163047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:45:35] local.INFO: TCP Data received {"connection_id":163047,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:45:35] local.INFO: Processing buffer {"connection_id":163047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:45:35] local.INFO: IMEI packet received {"connection_id":163047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":163047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:45:40] local.INFO: TCP Data received {"connection_id":163047,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:45:40] local.INFO: Processing buffer {"connection_id":163047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:45:40] local.INFO: IMEI packet received {"connection_id":163047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":163047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:45:41] local.INFO: TCP Data received {"connection_id":163047,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4191b8012d19b9400720a7080023015123..."} 
[2026-08-23 11:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4191b8012d19b9400720a7080023015123..."} 
[2026-08-23 11:45:41] local.INFO: Processing buffer {"connection_id":163047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4191b8012d19b9400720a7080023015123..."} 
[2026-08-23 11:45:41] local.INFO: Packet analysis {"connection_id":163047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:45:41] local.INFO: Extracted packet for processing {"connection_id":163047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:45:41] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119580424,"longitude_deg":75.6660544,"latitude_deg":11.9580424,"altitude":35,"angle":337,"satellites":35,"speed":4,"hex_longitude":"2d19b940","hex_latitude":"0720a708","is_valid_coordinates":true} 
[2026-08-23 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-08-23 11:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591210240001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15263927222927360,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858484723712,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787465667000,"timestamp_ms":1787465667000,"timestamp_seconds":1787465667,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4191b8"} 
[2026-08-23 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-08-23 11:45: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-08-23 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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 11:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6982287582,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:41] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503832523177984,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:41] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2341470234,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-23 11:45:41] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84752269677371460,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":8727249645742592,"corrected_to":0} 
[2026-08-23 11:45:41] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,58,160,55,45,192,156,30,38,10,66,48,64,150,28,44,1,240,218,227,32,4,113,205,36,183,239,54,2,7,25,39,206,8,200],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":200,"original":8727249645742592,"validated":0}]} 
[2026-08-23 11:45:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2449991332962238464,"timestamp_seconds":2449991332962238.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 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-08-23 11:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591210240001,"66":14363,"103":206,"83":41984,"24":4,"16":15263927222927360,"45":1853723858484723712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591210240001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:45:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15263927222927360,"km_value":15263927222927.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858484723712,"description":"Unknown IO ID 45"} 
[2026-08-23 11:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591210240001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1853723858484723712}} 
[2026-08-23 11:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":163047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:45:41] local.INFO: GPS data processed {"connection_id":163047,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:45:41] local.INFO: Acknowledgment sent {"connection_id":163047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:45:42] local.INFO: TCP Data received {"connection_id":163047,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d419988012d19b8400720a8400023013924..."} 
[2026-08-23 11:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d419988012d19b8400720a8400023013924..."} 
[2026-08-23 11:45:42] local.INFO: Processing buffer {"connection_id":163047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d419988012d19b8400720a8400023013924..."} 
[2026-08-23 11:45:42] local.INFO: Packet analysis {"connection_id":163047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:45:42] local.INFO: Extracted packet for processing {"connection_id":163047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:45:42] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119580736,"longitude_deg":75.6660288,"latitude_deg":11.9580736,"altitude":35,"angle":313,"satellites":36,"speed":8,"hex_longitude":"2d19b840","hex_latitude":"0720a840","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591210752001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15263948697763840,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996435968,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787465669000,"timestamp_ms":1787465669000,"timestamp_seconds":1787465669,"priority":1,"record_length":96,"hex_timestamp":"000001a02d419988"} 
[2026-08-23 11:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:45: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-08-23 11: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-23 11:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591210752001,"66":14374,"103":206,"83":41984,"24":8,"16":15263948697763840,"45":1853583120996435968},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591210752001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:45:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:45:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15263948697763840,"km_value":15263948697763.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996435968,"description":"Unknown IO ID 45"} 
[2026-08-23 11:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591210752001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1853583120996435968}} 
[2026-08-23 11:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":163047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:45:42] local.INFO: GPS data processed {"connection_id":163047,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:45:42] local.INFO: Acknowledgment sent {"connection_id":163047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:45:46] local.INFO: TCP Data received {"connection_id":160694,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:45:46] local.INFO: Processing buffer {"connection_id":160694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:45:46] local.INFO: IMEI packet received {"connection_id":160694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":160694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:45:50] local.INFO: TCP Data received {"connection_id":160695,"ip":"117.224.29.135","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:45:50] local.INFO: Processing buffer {"connection_id":160695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:45:50] local.INFO: IMEI packet received {"connection_id":160695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 11:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":160695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:45:50] local.INFO: TCP Data received {"connection_id":160695,"ip":"117.224.29.135","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:45:50] local.INFO: Processing buffer {"connection_id":160695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:45:50] local.INFO: IMEI packet received {"connection_id":160695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":160695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:45:51] local.INFO: TCP Data received {"connection_id":160694,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:45:51] local.INFO: Processing buffer {"connection_id":160694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:45:51] local.INFO: IMEI packet received {"connection_id":160694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":160694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:45:52] local.INFO: TCP Data received {"connection_id":160694,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:45:52] local.INFO: Processing buffer {"connection_id":160694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:45:52] local.INFO: Packet analysis {"connection_id":160694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:45:52] local.INFO: Extracted packet for processing {"connection_id":160694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591128064001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787465645000,"timestamp_ms":1787465645000,"timestamp_seconds":1787465645,"priority":1,"record_length":96,"hex_timestamp":"000001a02d413bc8"} 
[2026-08-23 11:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:45:52] 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-08-23 11:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:45:52] 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-08-23 11:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591128064001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591128064001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:45:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591128064001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":160694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:45:52] local.INFO: GPS data processed {"connection_id":160694,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:45:52] local.INFO: Acknowledgment sent {"connection_id":160694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:45:56] local.INFO: TCP Data received {"connection_id":160695,"ip":"117.224.29.135","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:45:56] local.INFO: Processing buffer {"connection_id":160695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:45:56] local.INFO: IMEI packet received {"connection_id":160695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":160695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:45:57] local.INFO: TCP Data received {"connection_id":160695,"ip":"117.224.29.135","data_length":795,"data_hex":"000000000000030f8e0a000001a02d422a10012d7d410005d26770001400b925..."} 
[2026-08-23 11:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d422a10012d7d410005d26770001400b925..."} 
[2026-08-23 11:45:57] local.INFO: Processing buffer {"connection_id":160695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d422a10012d7d410005d26770001400b925..."} 
[2026-08-23 11:45:57] local.INFO: Packet analysis {"connection_id":160695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d42"} 
[2026-08-23 11:45:57] local.INFO: Extracted packet for processing {"connection_id":160695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d42"} 
[2026-08-23 11:45:57] local.INFO: GPS Element Parsed {"raw_longitude":763183360,"raw_latitude":97675120,"longitude_deg":76.318336,"latitude_deg":9.767512,"altitude":20,"angle":185,"satellites":37,"speed":4,"hex_longitude":"2d7d4100","hex_latitude":"05d26770","is_valid_coordinates":true} 
[2026-08-23 11:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591219968001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122593394718408704,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025565521976289280,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:57] 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-08-23 11:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787465706000,"timestamp_ms":1787465706000,"timestamp_seconds":1787465706,"priority":1,"record_length":96,"hex_timestamp":"000001a02d422a10"} 
[2026-08-23 11:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:45:57] 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-08-23 11:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 11:45:57] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3003127808,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":26625,"corrected_to":0} 
[2026-08-23 11:45:57] local.WARNING: Large IO value detected {"io_id":137,"raw_value":3623878656,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:57] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-8288875049734954496,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2745368782,"corrected_to":0} 
[2026-08-23 11:45:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3532427264,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:57] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252835,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:57] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2309423104,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:57] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57882290714186675,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":-6106879799827464187,"note":"Value kept but may cause issues"} 
[2026-08-23 11:45:57] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,163,19,24,241,158,16,138,160,22,45,128,105,37,10,66,200,120,17,36,137,196,1,240,133,210,4,113,205,5,75,68,216,239,50,2,179,15,117,64],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":200,"original":26625,"validated":0},{"io_id":205,"original":2745368782,"validated":0}]} 
[2026-08-23 11:45:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1369313248448610304,"timestamp_seconds":1369313248448610.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 11:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.29.135","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591219968001,"66":12950,"163":206,"19":45824,"24":4,"16":122593394718408704,"45":9025565521976289280},"client_ip":"117.224.29.135","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-08-23 11:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591219968001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:45:57] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-23 11:45:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-23 11:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122593394718408704,"km_value":122593394718408.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025565521976289280,"description":"Unknown IO ID 45"} 
[2026-08-23 11:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591219968001,"power":12950,"unknown_163":206,"unknown_19":45824,"ignition":4,"odometer":null,"unknown_45":9025565521976289280}} 
[2026-08-23 11:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":160695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:45:58] local.INFO: GPS data processed {"connection_id":160695,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:45:58] local.INFO: Acknowledgment sent {"connection_id":160695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:46:02] local.INFO: TCP Data received {"connection_id":160695,"ip":"117.224.29.135","data_length":795,"data_hex":"000000000000030f8e0a000001a02d427c18012d7d3dc005d25560001100bd26..."} 
[2026-08-23 11:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d427c18012d7d3dc005d25560001100bd26..."} 
[2026-08-23 11:46:02] local.INFO: Processing buffer {"connection_id":160695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d427c18012d7d3dc005d25560001100bd26..."} 
[2026-08-23 11:46:02] local.INFO: Packet analysis {"connection_id":160695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d42"} 
[2026-08-23 11:46:02] local.INFO: Extracted packet for processing {"connection_id":160695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d42"} 
[2026-08-23 11:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763182528,"raw_latitude":97670496,"longitude_deg":76.3182528,"latitude_deg":9.7670496,"altitude":17,"angle":189,"satellites":38,"speed":4,"hex_longitude":"2d7d3dc0","hex_latitude":"05d25560","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591220736001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122593626646642688,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025495153232015360,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:02] 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-08-23 11:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787465727000,"timestamp_ms":1787465727000,"timestamp_seconds":1787465727,"priority":1,"record_length":96,"hex_timestamp":"000001a02d427c18"} 
[2026-08-23 11:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 11:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.29.135","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591220736001,"66":13102,"163":206,"19":45824,"24":4,"16":122593626646642688,"45":9025495153232015360},"client_ip":"117.224.29.135","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-08-23 11:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591220736001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:46:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-23 11:46:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-23 11:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122593626646642688,"km_value":122593626646642.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025495153232015360,"description":"Unknown IO ID 45"} 
[2026-08-23 11:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591220736001,"power":13102,"unknown_163":206,"unknown_19":45824,"ignition":4,"odometer":null,"unknown_45":9025495153232015360}} 
[2026-08-23 11:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":160695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:46:02] local.INFO: GPS data processed {"connection_id":160695,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:46:02] local.INFO: Acknowledgment sent {"connection_id":160695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:46:13] local.INFO: TCP Data received {"connection_id":163047,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d419d70012d19b7400720a8d00023012a25..."} 
[2026-08-23 11:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d419d70012d19b7400720a8d00023012a25..."} 
[2026-08-23 11:46:13] local.INFO: Processing buffer {"connection_id":163047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d419d70012d19b7400720a8d00023012a25..."} 
[2026-08-23 11:46:13] local.INFO: Packet analysis {"connection_id":163047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:46:13] local.INFO: Extracted packet for processing {"connection_id":163047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:46:13] local.INFO: GPS Element Parsed {"raw_longitude":756660032,"raw_latitude":119580880,"longitude_deg":75.6660032,"latitude_deg":11.958088,"altitude":35,"angle":298,"satellites":37,"speed":12,"hex_longitude":"2d19b740","hex_latitude":"0720a8d0","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591211264001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15263961582665728,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646019805184,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787465670000,"timestamp_ms":1787465670000,"timestamp_seconds":1787465670,"priority":1,"record_length":96,"hex_timestamp":"000001a02d419d70"} 
[2026-08-23 11:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:46: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-08-23 11: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-23 11:46:13] 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-08-23 11: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-08-23 11:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591211264001,"66":14374,"103":206,"83":41984,"24":12,"16":15263961582665728,"45":1853301646019805184},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591211264001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:46:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:46:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15263961582665728,"km_value":15263961582665.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646019805184,"description":"Unknown IO ID 45"} 
[2026-08-23 11:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591211264001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1853301646019805184}} 
[2026-08-23 11:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":163047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:46:13] local.INFO: GPS data processed {"connection_id":163047,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:46:13] local.INFO: Acknowledgment sent {"connection_id":163047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:46:24] local.INFO: TCP Data received {"connection_id":160694,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:46:24] local.INFO: Processing buffer {"connection_id":160694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:46:24] local.INFO: Packet analysis {"connection_id":160694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:46:24] local.INFO: Extracted packet for processing {"connection_id":160694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:46:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591128064001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787465645000,"timestamp_ms":1787465645000,"timestamp_seconds":1787465645,"priority":1,"record_length":96,"hex_timestamp":"000001a02d413bc8"} 
[2026-08-23 11:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:46:24] 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-08-23 11:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:46:24] 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-08-23 11:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591128064001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591128064001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:46:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:46:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591128064001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":160694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:46:24] local.INFO: GPS data processed {"connection_id":160694,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:46:24] local.INFO: Acknowledgment sent {"connection_id":160694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:46:27] local.INFO: TCP Data received {"connection_id":160696,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:46:27] local.INFO: Processing buffer {"connection_id":160696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:46:27] local.INFO: IMEI packet received {"connection_id":160696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":160696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:46:30] local.INFO: TCP Data received {"connection_id":160696,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:46:30] local.INFO: Processing buffer {"connection_id":160696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:46:30] local.INFO: IMEI packet received {"connection_id":160696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":160696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:46:31] local.INFO: TCP Data received {"connection_id":160696,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:46:31] local.INFO: Processing buffer {"connection_id":160696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:46:31] local.INFO: IMEI packet received {"connection_id":160696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":160696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:46:34] local.INFO: TCP Data received {"connection_id":160696,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:46:34] local.INFO: Processing buffer {"connection_id":160696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:46:34] local.INFO: IMEI packet received {"connection_id":160696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":160696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:46:35] local.INFO: TCP Data received {"connection_id":160695,"ip":"117.224.29.135","data_length":795,"data_hex":"000000000000030f8e0a000001a02d42ce20012d7d3b4005d24658000e00b926..."} 
[2026-08-23 11:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d42ce20012d7d3b4005d24658000e00b926..."} 
[2026-08-23 11:46:35] local.INFO: Processing buffer {"connection_id":160695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d42ce20012d7d3b4005d24658000e00b926..."} 
[2026-08-23 11:46:35] local.INFO: Packet analysis {"connection_id":160695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d42"} 
[2026-08-23 11:46:35] local.INFO: Extracted packet for processing {"connection_id":160695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d42"} 
[2026-08-23 11:46:35] local.INFO: GPS Element Parsed {"raw_longitude":763181888,"raw_latitude":97666648,"longitude_deg":76.3181888,"latitude_deg":9.7666648,"altitude":14,"angle":185,"satellites":38,"speed":9,"hex_longitude":"2d7d3b40","hex_latitude":"05d24658","is_valid_coordinates":true} 
[2026-08-23 11:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591226112001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122593819920171008,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024580359556521984,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:35] 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-08-23 11:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787465748000,"timestamp_ms":1787465748000,"timestamp_seconds":1787465748,"priority":1,"record_length":96,"hex_timestamp":"000001a02d42ce20"} 
[2026-08-23 11:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-23 11:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.29.135","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591226112001,"66":13135,"163":206,"19":45824,"24":9,"16":122593819920171008,"45":9024580359556521984},"client_ip":"117.224.29.135","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-08-23 11:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591226112001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:46:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-23 11:46:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-23 11:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122593819920171008,"km_value":122593819920171.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024580359556521984,"description":"Unknown IO ID 45"} 
[2026-08-23 11:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591226112001,"power":13135,"unknown_163":206,"unknown_19":45824,"ignition":9,"odometer":null,"unknown_45":9024580359556521984}} 
[2026-08-23 11:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":160695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:46:36] local.INFO: GPS data processed {"connection_id":160695,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:46:36] local.INFO: Acknowledgment sent {"connection_id":160695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:46:36] local.INFO: TCP Data received {"connection_id":160696,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d42be80012d18e1800720f3a80039013d24..."} 
[2026-08-23 11:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d42be80012d18e1800720f3a80039013d24..."} 
[2026-08-23 11:46:36] local.INFO: Processing buffer {"connection_id":160696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d42be80012d18e1800720f3a80039013d24..."} 
[2026-08-23 11:46:36] local.INFO: Packet analysis {"connection_id":160696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d42"} 
[2026-08-23 11:46:36] local.INFO: Extracted packet for processing {"connection_id":160696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d42"} 
[2026-08-23 11:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756605312,"raw_latitude":119600040,"longitude_deg":75.6605312,"latitude_deg":11.960004,"altitude":57,"angle":317,"satellites":36,"speed":32,"hex_longitude":"2d18e180","hex_latitude":"0720f3a8","is_valid_coordinates":true} 
[2026-08-23 11:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591228672001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15266925110099968,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796021488262897664,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787465744000,"timestamp_ms":1787465744000,"timestamp_seconds":1787465744,"priority":1,"record_length":96,"hex_timestamp":"000001a02d42be80"} 
[2026-08-23 11:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-23 11:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591228672001,"66":13993,"103":206,"83":41984,"24":32,"16":15266925110099968,"45":1796021488262897664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591228672001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:46:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15266925110099968,"km_value":15266925110099.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796021488262897664,"description":"Unknown IO ID 45"} 
[2026-08-23 11:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591228672001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1796021488262897664}} 
[2026-08-23 11:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":160696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:46:36] local.INFO: GPS data processed {"connection_id":160696,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:46:36] local.INFO: Acknowledgment sent {"connection_id":160696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:46:36] local.INFO: TCP Data received {"connection_id":160696,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d42d208012d18d680072100500039014b23..."} 
[2026-08-23 11:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d42d208012d18d680072100500039014b23..."} 
[2026-08-23 11:46:36] local.INFO: Processing buffer {"connection_id":160696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d42d208012d18d680072100500039014b23..."} 
[2026-08-23 11:46:36] local.INFO: Packet analysis {"connection_id":160696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d42"} 
[2026-08-23 11:46:36] local.INFO: Extracted packet for processing {"connection_id":160696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d42"} 
[2026-08-23 11:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756602496,"raw_latitude":119603280,"longitude_deg":75.6602496,"latitude_deg":11.960328,"altitude":57,"angle":331,"satellites":35,"speed":34,"hex_longitude":"2d18d680","hex_latitude":"07210050","is_valid_coordinates":true} 
[2026-08-23 11:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591230464001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15267131268530176,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792854894776133632,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787465749000,"timestamp_ms":1787465749000,"timestamp_seconds":1787465749,"priority":1,"record_length":96,"hex_timestamp":"000001a02d42d208"} 
[2026-08-23 11:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:46: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-08-23 11:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-23 11:46:36] 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-08-23 11:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591230464001,"66":13972,"103":206,"83":41984,"24":34,"16":15267131268530176,"45":1792854894776133632},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591230464001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:46:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15267131268530176,"km_value":15267131268530.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792854894776133632,"description":"Unknown IO ID 45"} 
[2026-08-23 11:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591230464001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1792854894776133632}} 
[2026-08-23 11:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":160696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:46:36] local.INFO: GPS data processed {"connection_id":160696,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:46:36] local.INFO: Acknowledgment sent {"connection_id":160696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:46:40] local.INFO: TCP Data received {"connection_id":160696,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d42ddc0012d18d2c0072109f8003a015823..."} 
[2026-08-23 11:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d42ddc0012d18d2c0072109f8003a015823..."} 
[2026-08-23 11:46:40] local.INFO: Processing buffer {"connection_id":160696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d42ddc0012d18d2c0072109f8003a015823..."} 
[2026-08-23 11:46:40] local.INFO: Packet analysis {"connection_id":160696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d42"} 
[2026-08-23 11:46:40] local.INFO: Extracted packet for processing {"connection_id":160696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d42"} 
[2026-08-23 11:46:40] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119605752,"longitude_deg":75.6601536,"latitude_deg":11.9605752,"altitude":58,"angle":344,"satellites":35,"speed":35,"hex_longitude":"2d18d2c0","hex_latitude":"072109f8","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591231744001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15267260117549056,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789758670033145856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787465752000,"timestamp_ms":1787465752000,"timestamp_seconds":1787465752,"priority":1,"record_length":96,"hex_timestamp":"000001a02d42ddc0"} 
[2026-08-23 11:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-23 11:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591231744001,"66":14070,"103":206,"83":41984,"24":35,"16":15267260117549056,"45":1789758670033145856},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591231744001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:46:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:46:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15267260117549056,"km_value":15267260117549.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789758670033145856,"description":"Unknown IO ID 45"} 
[2026-08-23 11:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591231744001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1789758670033145856}} 
[2026-08-23 11:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":160696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:46:40] local.INFO: GPS data processed {"connection_id":160696,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:46:40] local.INFO: Acknowledgment sent {"connection_id":160696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:46:51] local.INFO: TCP Data received {"connection_id":161641,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:46:51] local.INFO: Processing buffer {"connection_id":161641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:46:51] local.INFO: IMEI packet received {"connection_id":161641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":161641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:46:56] local.INFO: TCP Data received {"connection_id":161641,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:46:56] local.INFO: Processing buffer {"connection_id":161641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:46:56] local.INFO: IMEI packet received {"connection_id":161641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":161641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:46:58] local.INFO: TCP Data received {"connection_id":161641,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:46:58] local.INFO: Processing buffer {"connection_id":161641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:46:58] local.INFO: Packet analysis {"connection_id":161641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:46:58] local.INFO: Extracted packet for processing {"connection_id":161641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:46:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591128064001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787465645000,"timestamp_ms":1787465645000,"timestamp_seconds":1787465645,"priority":1,"record_length":96,"hex_timestamp":"000001a02d413bc8"} 
[2026-08-23 11:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:46: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-08-23 11:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:46:58] 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-08-23 11:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591128064001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591128064001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:46:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:46:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591128064001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":161641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:46:58] local.INFO: GPS data processed {"connection_id":161641,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:46:58] local.INFO: Acknowledgment sent {"connection_id":161641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:47:02] local.INFO: TCP Data received {"connection_id":161641,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:47:02] local.INFO: Processing buffer {"connection_id":161641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:47:02] local.INFO: Packet analysis {"connection_id":161641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:47:02] local.INFO: Extracted packet for processing {"connection_id":161641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:47:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591128064001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787465645000,"timestamp_ms":1787465645000,"timestamp_seconds":1787465645,"priority":1,"record_length":96,"hex_timestamp":"000001a02d413bc8"} 
[2026-08-23 11:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:47:02] 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-08-23 11:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591128064001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591128064001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:47:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:47:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591128064001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":161641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:47:02] local.INFO: GPS data processed {"connection_id":161641,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:47:02] local.INFO: Acknowledgment sent {"connection_id":161641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:47:08] local.INFO: TCP Data received {"connection_id":160695,"ip":"117.224.29.135","data_length":795,"data_hex":"000000000000030f8e0a000001a02d43eb48012d7d2bc005d1a6180011013027..."} 
[2026-08-23 11:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d43eb48012d7d2bc005d1a6180011013027..."} 
[2026-08-23 11:47:08] local.INFO: Processing buffer {"connection_id":160695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d43eb48012d7d2bc005d1a6180011013027..."} 
[2026-08-23 11:47:08] local.INFO: Packet analysis {"connection_id":160695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d43"} 
[2026-08-23 11:47:08] local.INFO: Extracted packet for processing {"connection_id":160695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d43"} 
[2026-08-23 11:47:08] local.INFO: GPS Element Parsed {"raw_longitude":763177920,"raw_latitude":97625624,"longitude_deg":76.317792,"latitude_deg":9.7625624,"altitude":17,"angle":304,"satellites":39,"speed":18,"hex_longitude":"2d7d2bc0","hex_latitude":"05d1a618","is_valid_coordinates":true} 
[2026-08-23 11:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591249920001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122595907274276864,"note":"Value kept but may cause issues"} 
[2026-08-23 11:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019936022429253632,"note":"Value kept but may cause issues"} 
[2026-08-23 11:47:08] 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-08-23 11:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787465821000,"timestamp_ms":1787465821000,"timestamp_seconds":1787465821,"priority":1,"record_length":96,"hex_timestamp":"000001a02d43eb48"} 
[2026-08-23 11:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-23 11:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.29.135","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591249920001,"66":13091,"163":206,"19":45824,"24":18,"16":122595907274276864,"45":9019936022429253632},"client_ip":"117.224.29.135","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-08-23 11:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591249920001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:47:08] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-23 11:47:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-23 11:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122595907274276864,"km_value":122595907274276.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019936022429253632,"description":"Unknown IO ID 45"} 
[2026-08-23 11:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591249920001,"power":13091,"unknown_163":206,"unknown_19":45824,"ignition":18,"odometer":null,"unknown_45":9019936022429253632}} 
[2026-08-23 11:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":160695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:47:08] local.INFO: GPS data processed {"connection_id":160695,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:47:08] local.INFO: Acknowledgment sent {"connection_id":160695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:47:13] local.INFO: TCP Data received {"connection_id":160696,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d42ed60012d18d0c0072117f0003a016725..."} 
[2026-08-23 11:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d42ed60012d18d0c0072117f0003a016725..."} 
[2026-08-23 11:47:13] local.INFO: Processing buffer {"connection_id":160696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d42ed60012d18d0c0072117f0003a016725..."} 
[2026-08-23 11:47:13] local.INFO: Packet analysis {"connection_id":160696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d42"} 
[2026-08-23 11:47:13] local.INFO: Extracted packet for processing {"connection_id":160696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d42"} 
[2026-08-23 11:47:13] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119609328,"longitude_deg":75.6601024,"latitude_deg":11.9609328,"altitude":58,"angle":359,"satellites":37,"speed":34,"hex_longitude":"2d18d0c0","hex_latitude":"072117f0","is_valid_coordinates":true} 
[2026-08-23 11:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591232512001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15267436211208192,"note":"Value kept but may cause issues"} 
[2026-08-23 11:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138871113728,"note":"Value kept but may cause issues"} 
[2026-08-23 11:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787465756000,"timestamp_ms":1787465756000,"timestamp_seconds":1787465756,"priority":1,"record_length":96,"hex_timestamp":"000001a02d42ed60"} 
[2026-08-23 11:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11: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-08-23 11:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-23 11:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591232512001,"66":13102,"103":206,"83":41984,"24":34,"16":15267436211208192,"45":1788703138871113728},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591232512001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:47:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:47:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15267436211208192,"km_value":15267436211208.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138871113728,"description":"Unknown IO ID 45"} 
[2026-08-23 11:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591232512001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1788703138871113728}} 
[2026-08-23 11:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":160696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:47:13] local.INFO: GPS data processed {"connection_id":160696,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:47:13] local.INFO: Acknowledgment sent {"connection_id":160696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:47:30] local.INFO: TCP Data received {"connection_id":160697,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:47:30] local.INFO: Processing buffer {"connection_id":160697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:47:30] local.INFO: IMEI packet received {"connection_id":160697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":160697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:47:35] local.INFO: TCP Data received {"connection_id":160697,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:47:35] local.INFO: Processing buffer {"connection_id":160697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:47:35] local.INFO: IMEI packet received {"connection_id":160697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":160697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:47:36] local.INFO: TCP Data received {"connection_id":160697,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d439d28012d187580072181b80047010c26..."} 
[2026-08-23 11:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d439d28012d187580072181b80047010c26..."} 
[2026-08-23 11:47:36] local.INFO: Processing buffer {"connection_id":160697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d439d28012d187580072181b80047010c26..."} 
[2026-08-23 11:47:36] local.INFO: Packet analysis {"connection_id":160697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d43"} 
[2026-08-23 11:47:36] local.INFO: Extracted packet for processing {"connection_id":160697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d43"} 
[2026-08-23 11:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756577664,"raw_latitude":119636408,"longitude_deg":75.6577664,"latitude_deg":11.9636408,"altitude":71,"angle":268,"satellites":38,"speed":40,"hex_longitude":"2d187580","hex_latitude":"072181b8","is_valid_coordinates":true} 
[2026-08-23 11:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591244288001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15269364651524096,"note":"Value kept but may cause issues"} 
[2026-08-23 11:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765903665765353472,"note":"Value kept but may cause issues"} 
[2026-08-23 11:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787465801000,"timestamp_ms":1787465801000,"timestamp_seconds":1787465801,"priority":1,"record_length":96,"hex_timestamp":"000001a02d439d28"} 
[2026-08-23 11:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-23 11:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591244288001,"66":13863,"105":206,"83":41984,"24":40,"16":15269364651524096,"45":1765903665765353472},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 11:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591244288001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:47:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 11:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15269364651524096,"km_value":15269364651524.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765903665765353472,"description":"Unknown IO ID 45"} 
[2026-08-23 11:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591244288001,"power":13863,"unknown_105":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1765903665765353472}} 
[2026-08-23 11:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":160697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:47:36] local.INFO: GPS data processed {"connection_id":160697,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:47:36] local.INFO: Acknowledgment sent {"connection_id":160697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:47:41] local.INFO: TCP Data received {"connection_id":160695,"ip":"117.224.29.135","data_length":795,"data_hex":"000000000000030f8e0a000001a02d43ef30012d7d2a4005d1a7d00012014527..."} 
[2026-08-23 11:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d43ef30012d7d2a4005d1a7d00012014527..."} 
[2026-08-23 11:47:41] local.INFO: Processing buffer {"connection_id":160695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d43ef30012d7d2a4005d1a7d00012014527..."} 
[2026-08-23 11:47:41] local.INFO: Packet analysis {"connection_id":160695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d43"} 
[2026-08-23 11:47:41] local.INFO: Extracted packet for processing {"connection_id":160695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d43"} 
[2026-08-23 11:47:41] local.INFO: GPS Element Parsed {"raw_longitude":763177536,"raw_latitude":97626064,"longitude_deg":76.3177536,"latitude_deg":9.7626064,"altitude":18,"angle":325,"satellites":39,"speed":23,"hex_longitude":"2d7d2a40","hex_latitude":"05d1a7d0","is_valid_coordinates":true} 
[2026-08-23 11:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591250176001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122595937339047936,"note":"Value kept but may cause issues"} 
[2026-08-23 11:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019513809964242944,"note":"Value kept but may cause issues"} 
[2026-08-23 11:47:41] 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-08-23 11:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787465822000,"timestamp_ms":1787465822000,"timestamp_seconds":1787465822,"priority":1,"record_length":96,"hex_timestamp":"000001a02d43ef30"} 
[2026-08-23 11:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-23 11:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.29.135","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591250176001,"66":13178,"163":206,"19":45824,"24":23,"16":122595937339047936,"45":9019513809964242944},"client_ip":"117.224.29.135","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-08-23 11:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591250176001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:47:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-23 11:47:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-23 11:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122595937339047936,"km_value":122595937339047.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019513809964242944,"description":"Unknown IO ID 45"} 
[2026-08-23 11:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591250176001,"power":13178,"unknown_163":206,"unknown_19":45824,"ignition":23,"odometer":null,"unknown_45":9019513809964242944}} 
[2026-08-23 11:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":160695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:47:41] local.INFO: GPS data processed {"connection_id":160695,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:47:41] local.INFO: Acknowledgment sent {"connection_id":160695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:47:46] local.INFO: TCP Data received {"connection_id":160698,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:47:46] local.INFO: Processing buffer {"connection_id":160698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:47:46] local.INFO: IMEI packet received {"connection_id":160698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":160698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:47:51] local.INFO: TCP Data received {"connection_id":160698,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:47:51] local.INFO: Processing buffer {"connection_id":160698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:47:51] local.INFO: IMEI packet received {"connection_id":160698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":160698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:47:52] local.INFO: TCP Data received {"connection_id":160698,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:47:52] local.INFO: Processing buffer {"connection_id":160698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:47:52] local.INFO: Packet analysis {"connection_id":160698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:47:52] local.INFO: Extracted packet for processing {"connection_id":160698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:47: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-08-23 11:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591128064001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787465645000,"timestamp_ms":1787465645000,"timestamp_seconds":1787465645,"priority":1,"record_length":96,"hex_timestamp":"000001a02d413bc8"} 
[2026-08-23 11:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:47:52] 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-08-23 11:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:47:52] 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-08-23 11:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591128064001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591128064001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:47:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591128064001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":160698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:47:52] local.INFO: GPS data processed {"connection_id":160698,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:47:52] local.INFO: Acknowledgment sent {"connection_id":160698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:48:07] local.INFO: TCP Data received {"connection_id":160697,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d43b0b0012d1860c0072182580047011d25..."} 
[2026-08-23 11:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d43b0b0012d1860c0072182580047011d25..."} 
[2026-08-23 11:48:07] local.INFO: Processing buffer {"connection_id":160697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d43b0b0012d1860c0072182580047011d25..."} 
[2026-08-23 11:48:07] local.INFO: Packet analysis {"connection_id":160697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d43"} 
[2026-08-23 11:48:07] local.INFO: Extracted packet for processing {"connection_id":160697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d43"} 
[2026-08-23 11:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756572352,"raw_latitude":119636568,"longitude_deg":75.6572352,"latitude_deg":11.9636568,"altitude":71,"angle":285,"satellites":37,"speed":41,"hex_longitude":"2d1860c0","hex_latitude":"07218258","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591245056001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15269622349561856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762455597300692992,"note":"Value kept but may cause issues"} 
[2026-08-23 11:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787465806000,"timestamp_ms":1787465806000,"timestamp_seconds":1787465806,"priority":1,"record_length":96,"hex_timestamp":"000001a02d43b0b0"} 
[2026-08-23 11:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-23 11:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591245056001,"66":14004,"105":206,"83":41984,"24":41,"16":15269622349561856,"45":1762455597300692992},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 11:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591245056001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:48:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 11:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15269622349561856,"km_value":15269622349561.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762455597300692992,"description":"Unknown IO ID 45"} 
[2026-08-23 11:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591245056001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1762455597300692992}} 
[2026-08-23 11:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":160697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:48:07] local.INFO: GPS data processed {"connection_id":160697,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:48:07] local.INFO: Acknowledgment sent {"connection_id":160697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:48:14] local.INFO: TCP Data received {"connection_id":160695,"ip":"117.224.29.135","data_length":795,"data_hex":"000000000000030f8e0a000001a02d43f700012d7d284005d1aca80013015a27..."} 
[2026-08-23 11:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d43f700012d7d284005d1aca80013015a27..."} 
[2026-08-23 11:48:14] local.INFO: Processing buffer {"connection_id":160695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d43f700012d7d284005d1aca80013015a27..."} 
[2026-08-23 11:48:14] local.INFO: Packet analysis {"connection_id":160695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d43"} 
[2026-08-23 11:48:14] local.INFO: Extracted packet for processing {"connection_id":160695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d43"} 
[2026-08-23 11:48:14] local.INFO: GPS Element Parsed {"raw_longitude":763177024,"raw_latitude":97627304,"longitude_deg":76.3177024,"latitude_deg":9.7627304,"altitude":19,"angle":346,"satellites":39,"speed":28,"hex_longitude":"2d7d2840","hex_latitude":"05d1aca8","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591250432001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122596001763557376,"note":"Value kept but may cause issues"} 
[2026-08-23 11:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019091597499289600,"note":"Value kept but may cause issues"} 
[2026-08-23 11:48:14] 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-08-23 11:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787465824000,"timestamp_ms":1787465824000,"timestamp_seconds":1787465824,"priority":1,"record_length":96,"hex_timestamp":"000001a02d43f700"} 
[2026-08-23 11:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-23 11:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.29.135","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591250432001,"66":13037,"163":206,"19":45824,"24":28,"16":122596001763557376,"45":9019091597499289600},"client_ip":"117.224.29.135","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-08-23 11:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591250432001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:48:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-23 11:48:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-23 11:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122596001763557376,"km_value":122596001763557.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019091597499289600,"description":"Unknown IO ID 45"} 
[2026-08-23 11:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591250432001,"power":13037,"unknown_163":206,"unknown_19":45824,"ignition":28,"odometer":null,"unknown_45":9019091597499289600}} 
[2026-08-23 11:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":160695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:48:14] local.INFO: GPS data processed {"connection_id":160695,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:48:14] local.INFO: Acknowledgment sent {"connection_id":160695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:48:24] local.INFO: TCP Data received {"connection_id":160698,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:48:24] local.INFO: Processing buffer {"connection_id":160698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:48:24] local.INFO: Packet analysis {"connection_id":160698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:48:24] local.INFO: Extracted packet for processing {"connection_id":160698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:48:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591128064001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787465645000,"timestamp_ms":1787465645000,"timestamp_seconds":1787465645,"priority":1,"record_length":96,"hex_timestamp":"000001a02d413bc8"} 
[2026-08-23 11:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:48:24] 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-08-23 11: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-08-23 11:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:48:24] 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-08-23 11:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591128064001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591128064001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:48:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:48:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591128064001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":160698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:48:24] local.INFO: GPS data processed {"connection_id":160698,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:48:24] local.INFO: Acknowledgment sent {"connection_id":160698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:48:29] local.INFO: TCP Data received {"connection_id":163048,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:48:29] local.INFO: Processing buffer {"connection_id":163048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:48:29] local.INFO: IMEI packet received {"connection_id":163048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":163048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:48:30] local.INFO: TCP Data received {"connection_id":163048,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:48:30] local.INFO: Processing buffer {"connection_id":163048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:48:30] local.INFO: IMEI packet received {"connection_id":163048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":163048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:48:34] local.INFO: TCP Data received {"connection_id":163048,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:48:34] local.INFO: Processing buffer {"connection_id":163048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:48:34] local.INFO: IMEI packet received {"connection_id":163048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":163048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:48:35] local.INFO: TCP Data received {"connection_id":163048,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d43bc68012d185580072187580046012924..."} 
[2026-08-23 11:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d43bc68012d185580072187580046012924..."} 
[2026-08-23 11:48:35] local.INFO: Processing buffer {"connection_id":163048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d43bc68012d185580072187580046012924..."} 
[2026-08-23 11:48:35] local.INFO: Packet analysis {"connection_id":163048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d43"} 
[2026-08-23 11:48:35] local.INFO: Extracted packet for processing {"connection_id":163048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d43"} 
[2026-08-23 11:48:35] local.INFO: GPS Element Parsed {"raw_longitude":756569472,"raw_latitude":119637848,"longitude_deg":75.6569472,"latitude_deg":11.9637848,"altitude":70,"angle":297,"satellites":36,"speed":42,"hex_longitude":"2d185580","hex_latitude":"07218758","is_valid_coordinates":true} 
[2026-08-23 11:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591246336001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15269772673417216,"note":"Value kept but may cause issues"} 
[2026-08-23 11:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756614991533987840,"note":"Value kept but may cause issues"} 
[2026-08-23 11:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787465809000,"timestamp_ms":1787465809000,"timestamp_seconds":1787465809,"priority":1,"record_length":96,"hex_timestamp":"000001a02d43bc68"} 
[2026-08-23 11:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:48:35] 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-08-23 11:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-23 11:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591246336001,"66":13972,"105":206,"83":41984,"24":42,"16":15269772673417216,"45":1756614991533987840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 11:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591246336001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:48:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 11:48:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15269772673417216,"km_value":15269772673417.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756614991533987840,"description":"Unknown IO ID 45"} 
[2026-08-23 11:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591246336001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1756614991533987840}} 
[2026-08-23 11:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":163048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:48:35] local.INFO: GPS data processed {"connection_id":163048,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:48:35] local.INFO: Acknowledgment sent {"connection_id":163048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:48:46] local.INFO: TCP Data received {"connection_id":160456,"ip":"117.224.29.135","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:48:46] local.INFO: Processing buffer {"connection_id":160456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:48:46] local.INFO: IMEI packet received {"connection_id":160456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 11:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":160456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:48:47] local.INFO: TCP Data received {"connection_id":160457,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:48:47] local.INFO: Processing buffer {"connection_id":160457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:48:47] local.INFO: IMEI packet received {"connection_id":160457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":160457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:48:47] local.INFO: TCP Data received {"connection_id":160456,"ip":"117.224.29.135","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:48:47] local.INFO: Processing buffer {"connection_id":160456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:48:47] local.INFO: IMEI packet received {"connection_id":160456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":160456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:48:51] local.INFO: TCP Data received {"connection_id":160457,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:48:51] local.INFO: Processing buffer {"connection_id":160457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:48:51] local.INFO: IMEI packet received {"connection_id":160457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":160457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:48:52] local.INFO: TCP Data received {"connection_id":160456,"ip":"117.224.29.135","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:48:52] local.INFO: Processing buffer {"connection_id":160456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:48:52] local.INFO: IMEI packet received {"connection_id":160456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":160456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:48:53] local.INFO: TCP Data received {"connection_id":160457,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:48:53] local.INFO: Processing buffer {"connection_id":160457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:48:53] local.INFO: Packet analysis {"connection_id":160457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:48:53] local.INFO: Extracted packet for processing {"connection_id":160457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591128064001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787465645000,"timestamp_ms":1787465645000,"timestamp_seconds":1787465645,"priority":1,"record_length":96,"hex_timestamp":"000001a02d413bc8"} 
[2026-08-23 11:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:48:53] 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-08-23 11:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591128064001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591128064001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:48:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591128064001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":160457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:48:53] local.INFO: GPS data processed {"connection_id":160457,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:48:53] local.INFO: Acknowledgment sent {"connection_id":160457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:48:53] local.INFO: TCP Data received {"connection_id":160456,"ip":"117.224.29.135","data_length":795,"data_hex":"000000000000030f8e0a000001a02d43fed0012d7d27c005d1b2f00013016527..."} 
[2026-08-23 11:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d43fed0012d7d27c005d1b2f00013016527..."} 
[2026-08-23 11:48:53] local.INFO: Processing buffer {"connection_id":160456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d43fed0012d7d27c005d1b2f00013016527..."} 
[2026-08-23 11:48:53] local.INFO: Packet analysis {"connection_id":160456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d43"} 
[2026-08-23 11:48:53] local.INFO: Extracted packet for processing {"connection_id":160456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d43"} 
[2026-08-23 11:48:53] local.INFO: GPS Element Parsed {"raw_longitude":763176896,"raw_latitude":97628912,"longitude_deg":76.3176896,"latitude_deg":9.7628912,"altitude":19,"angle":357,"satellites":39,"speed":34,"hex_longitude":"2d7d27c0","hex_latitude":"05d1b2f0","is_valid_coordinates":true} 
[2026-08-23 11:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591250944001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122596079072968704,"note":"Value kept but may cause issues"} 
[2026-08-23 11:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018528647546185728,"note":"Value kept but may cause issues"} 
[2026-08-23 11:48:53] 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-08-23 11:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787465826000,"timestamp_ms":1787465826000,"timestamp_seconds":1787465826,"priority":1,"record_length":96,"hex_timestamp":"000001a02d43fed0"} 
[2026-08-23 11:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-23 11:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.29.135","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591250944001,"66":13048,"163":206,"19":45824,"24":34,"16":122596079072968704,"45":9018528647546185728},"client_ip":"117.224.29.135","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-08-23 11:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591250944001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:48:53] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-23 11:48:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-23 11:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122596079072968704,"km_value":122596079072968.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018528647546185728,"description":"Unknown IO ID 45"} 
[2026-08-23 11:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591250944001,"power":13048,"unknown_163":206,"unknown_19":45824,"ignition":34,"odometer":null,"unknown_45":9018528647546185728}} 
[2026-08-23 11:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":160456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:48:53] local.INFO: GPS data processed {"connection_id":160456,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:48:53] local.INFO: Acknowledgment sent {"connection_id":160456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:49:06] local.INFO: TCP Data received {"connection_id":163048,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d44d5a8012d181f400721a758004500852a..."} 
[2026-08-23 11:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d44d5a8012d181f400721a758004500852a..."} 
[2026-08-23 11:49:06] local.INFO: Processing buffer {"connection_id":163048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d44d5a8012d181f400721a758004500852a..."} 
[2026-08-23 11:49:06] local.INFO: Packet analysis {"connection_id":163048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d44"} 
[2026-08-23 11:49:06] local.INFO: Extracted packet for processing {"connection_id":163048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d44"} 
[2026-08-23 11:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646040,"longitude_deg":75.6555584,"latitude_deg":11.964604,"altitude":69,"angle":133,"satellites":42,"speed":6,"hex_longitude":"2d181f40","hex_latitude":"0721a758","is_valid_coordinates":true} 
[2026-08-23 11:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591265280001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15270618781974528,"note":"Value kept but may cause issues"} 
[2026-08-23 11:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329360384,"note":"Value kept but may cause issues"} 
[2026-08-23 11:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787465881000,"timestamp_ms":1787465881000,"timestamp_seconds":1787465881,"priority":1,"record_length":96,"hex_timestamp":"000001a02d44d5a8"} 
[2026-08-23 11:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:49: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-08-23 11:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-23 11:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591265280001,"66":13896,"105":206,"83":41984,"24":6,"16":15270618781974528,"45":1737967274329360384},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 11:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591265280001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:49:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 11:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15270618781974528,"km_value":15270618781974.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329360384,"description":"Unknown IO ID 45"} 
[2026-08-23 11:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591265280001,"power":13896,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737967274329360384}} 
[2026-08-23 11:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":163048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:49:06] local.INFO: GPS data processed {"connection_id":163048,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:49:06] local.INFO: Acknowledgment sent {"connection_id":163048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:49:25] local.INFO: TCP Data received {"connection_id":160457,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:49:25] local.INFO: Processing buffer {"connection_id":160457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d413bc8012d34c50006aa4098000e008524..."} 
[2026-08-23 11:49:25] local.INFO: Packet analysis {"connection_id":160457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:49:25] local.INFO: Extracted packet for processing {"connection_id":160457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d41"} 
[2026-08-23 11:49:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591128064001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787465645000,"timestamp_ms":1787465645000,"timestamp_seconds":1787465645,"priority":1,"record_length":96,"hex_timestamp":"000001a02d413bc8"} 
[2026-08-23 11:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:49:25] 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-08-23 11:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591128064001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591128064001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:49:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:49:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591128064001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":160457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:49:25] local.INFO: GPS data processed {"connection_id":160457,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:49:25] local.INFO: Acknowledgment sent {"connection_id":160457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:49:27] local.INFO: TCP Data received {"connection_id":160456,"ip":"117.224.29.135","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4421f8012d7d248005d1d7f00011016327..."} 
[2026-08-23 11:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4421f8012d7d248005d1d7f00011016327..."} 
[2026-08-23 11:49:27] local.INFO: Processing buffer {"connection_id":160456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4421f8012d7d248005d1d7f00011016327..."} 
[2026-08-23 11:49:27] local.INFO: Packet analysis {"connection_id":160456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d44"} 
[2026-08-23 11:49:27] local.INFO: Extracted packet for processing {"connection_id":160456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d44"} 
[2026-08-23 11:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763176064,"raw_latitude":97638384,"longitude_deg":76.3176064,"latitude_deg":9.7638384,"altitude":17,"angle":355,"satellites":39,"speed":43,"hex_longitude":"2d7d2480","hex_latitude":"05d1d7f0","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591251456001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122596542929436672,"note":"Value kept but may cause issues"} 
[2026-08-23 11:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018387910058242048,"note":"Value kept but may cause issues"} 
[2026-08-23 11:49:27] 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-08-23 11:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787465835000,"timestamp_ms":1787465835000,"timestamp_seconds":1787465835,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4421f8"} 
[2026-08-23 11:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-23 11:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.29.135","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591251456001,"66":13037,"163":206,"19":45824,"24":43,"16":122596542929436672,"45":9018387910058242048},"client_ip":"117.224.29.135","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-08-23 11:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591251456001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:49:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-23 11:49:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-23 11:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122596542929436672,"km_value":122596542929436.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018387910058242048,"description":"Unknown IO ID 45"} 
[2026-08-23 11:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591251456001,"power":13037,"unknown_163":206,"unknown_19":45824,"ignition":43,"odometer":null,"unknown_45":9018387910058242048}} 
[2026-08-23 11:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":160456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:49:27] local.INFO: GPS data processed {"connection_id":160456,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:49:27] local.INFO: Acknowledgment sent {"connection_id":160456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:49:29] local.INFO: TCP Data received {"connection_id":161642,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:49:29] local.INFO: Processing buffer {"connection_id":161642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:49:29] local.INFO: IMEI packet received {"connection_id":161642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":161642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:49:35] local.INFO: TCP Data received {"connection_id":161642,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:49:35] local.INFO: Processing buffer {"connection_id":161642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:49:35] local.INFO: IMEI packet received {"connection_id":161642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":161642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:49:36] local.INFO: TCP Data received {"connection_id":161642,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d450488012d182d8007219a10004a007827..."} 
[2026-08-23 11:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d450488012d182d8007219a10004a007827..."} 
[2026-08-23 11:49:36] local.INFO: Processing buffer {"connection_id":161642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d450488012d182d8007219a10004a007827..."} 
[2026-08-23 11:49:36] local.INFO: Packet analysis {"connection_id":161642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:49:36] local.INFO: Extracted packet for processing {"connection_id":161642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756559232,"raw_latitude":119642640,"longitude_deg":75.6559232,"latitude_deg":11.964264,"altitude":74,"angle":120,"satellites":39,"speed":26,"hex_longitude":"2d182d80","hex_latitude":"07219a10","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591265536001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15270859300143104,"note":"Value kept but may cause issues"} 
[2026-08-23 11:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561864704,"note":"Value kept but may cause issues"} 
[2026-08-23 11:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787465893000,"timestamp_ms":1787465893000,"timestamp_seconds":1787465893,"priority":1,"record_length":96,"hex_timestamp":"000001a02d450488"} 
[2026-08-23 11:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-08-23 11:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591265536001,"66":13972,"105":206,"83":41984,"24":26,"16":15270859300143104,"45":1738178380561864704},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 11:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591265536001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:49:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 11:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15270859300143104,"km_value":15270859300143.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561864704,"description":"Unknown IO ID 45"} 
[2026-08-23 11:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591265536001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1738178380561864704}} 
[2026-08-23 11:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":161642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:49:36] local.INFO: GPS data processed {"connection_id":161642,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:49:36] local.INFO: Acknowledgment sent {"connection_id":161642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:49:45] local.INFO: TCP Data received {"connection_id":163049,"ip":"117.224.29.135","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:49:45] local.INFO: Processing buffer {"connection_id":163049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:49:45] local.INFO: IMEI packet received {"connection_id":163049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 11:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":163049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:49:46] local.INFO: TCP Data received {"connection_id":163050,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:49:46] local.INFO: Processing buffer {"connection_id":163050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:49:46] local.INFO: IMEI packet received {"connection_id":163050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":163050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:49:49] local.INFO: TCP Data received {"connection_id":163049,"ip":"117.224.29.135","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:49:49] local.INFO: Processing buffer {"connection_id":163049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:49:49] local.INFO: IMEI packet received {"connection_id":163049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":163049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:49:50] local.INFO: TCP Data received {"connection_id":163049,"ip":"117.224.29.135","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:49:50] local.INFO: Processing buffer {"connection_id":163049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:49:50] local.INFO: IMEI packet received {"connection_id":163049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":163049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:49:51] local.INFO: TCP Data received {"connection_id":163050,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:49:51] local.INFO: Processing buffer {"connection_id":163050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:49:51] local.INFO: IMEI packet received {"connection_id":163050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":163050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:49:52] local.INFO: TCP Data received {"connection_id":163049,"ip":"117.224.29.135","data_length":795,"data_hex":"000000000000030f8e0a000001a02d444908012d7d238005d1fc60000f000027..."} 
[2026-08-23 11:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d444908012d7d238005d1fc60000f000027..."} 
[2026-08-23 11:49:52] local.INFO: Processing buffer {"connection_id":163049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d444908012d7d238005d1fc60000f000027..."} 
[2026-08-23 11:49:52] local.INFO: Packet analysis {"connection_id":163049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d44"} 
[2026-08-23 11:49:52] local.INFO: Extracted packet for processing {"connection_id":163049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d44"} 
[2026-08-23 11:49:52] local.INFO: GPS Element Parsed {"raw_longitude":763175808,"raw_latitude":97647712,"longitude_deg":76.3175808,"latitude_deg":9.7647712,"altitude":15,"angle":0,"satellites":39,"speed":33,"hex_longitude":"2d7d2380","hex_latitude":"05d1fc60","is_valid_coordinates":true} 
[2026-08-23 11:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591253760001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122596993901002752,"note":"Value kept but may cause issues"} 
[2026-08-23 11:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017473116386357248,"note":"Value kept but may cause issues"} 
[2026-08-23 11:49:52] 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-08-23 11:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787465845000,"timestamp_ms":1787465845000,"timestamp_seconds":1787465845,"priority":1,"record_length":96,"hex_timestamp":"000001a02d444908"} 
[2026-08-23 11:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-23 11:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.29.135","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591253760001,"66":12982,"163":206,"19":45824,"24":33,"16":122596993901002752,"45":9017473116386357248},"client_ip":"117.224.29.135","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-08-23 11:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591253760001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:49:52] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-23 11:49:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-23 11:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122596993901002752,"km_value":122596993901002.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017473116386357248,"description":"Unknown IO ID 45"} 
[2026-08-23 11:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591253760001,"power":12982,"unknown_163":206,"unknown_19":45824,"ignition":33,"odometer":null,"unknown_45":9017473116386357248}} 
[2026-08-23 11:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":163049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:49:52] local.INFO: GPS data processed {"connection_id":163049,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:49:52] local.INFO: Acknowledgment sent {"connection_id":163049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:49:53] local.INFO: TCP Data received {"connection_id":163050,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:49:53] local.INFO: Processing buffer {"connection_id":163050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:49:53] local.INFO: Packet analysis {"connection_id":163050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:49:53] local.INFO: Extracted packet for processing {"connection_id":163050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:49:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591205120001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787465946000,"timestamp_ms":1787465946000,"timestamp_seconds":1787465946,"priority":1,"record_length":96,"hex_timestamp":"000001a02d45d390"} 
[2026-08-23 11:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 11:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591205120001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591205120001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:49:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:49:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591205120001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":163050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:49:53] local.INFO: GPS data processed {"connection_id":163050,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:49:53] local.INFO: Acknowledgment sent {"connection_id":163050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:49:57] local.INFO: TCP Data received {"connection_id":163049,"ip":"117.224.29.135","data_length":795,"data_hex":"000000000000030f8e0a000001a02d448f58012d7d268005d21dd0000c000e27..."} 
[2026-08-23 11:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d448f58012d7d268005d21dd0000c000e27..."} 
[2026-08-23 11:49:57] local.INFO: Processing buffer {"connection_id":163049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d448f58012d7d268005d21dd0000c000e27..."} 
[2026-08-23 11:49:57] local.INFO: Packet analysis {"connection_id":163049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d44"} 
[2026-08-23 11:49:57] local.INFO: Extracted packet for processing {"connection_id":163049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d44"} 
[2026-08-23 11:49:57] local.INFO: GPS Element Parsed {"raw_longitude":763176576,"raw_latitude":97656272,"longitude_deg":76.3176576,"latitude_deg":9.7656272,"altitude":12,"angle":14,"satellites":39,"speed":6,"hex_longitude":"2d7d2680","hex_latitude":"05d21dd0","is_valid_coordinates":true} 
[2026-08-23 11:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591256320001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122597410512830464,"note":"Value kept but may cause issues"} 
[2026-08-23 11:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017191641412034560,"note":"Value kept but may cause issues"} 
[2026-08-23 11:49:57] 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-08-23 11:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787465863000,"timestamp_ms":1787465863000,"timestamp_seconds":1787465863,"priority":1,"record_length":96,"hex_timestamp":"000001a02d448f58"} 
[2026-08-23 11:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 11:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.29.135","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591256320001,"66":13048,"163":206,"19":45824,"24":6,"16":122597410512830464,"45":9017191641412034560},"client_ip":"117.224.29.135","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-08-23 11:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591256320001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:49:57] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-23 11:49:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-23 11:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122597410512830464,"km_value":122597410512830.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017191641412034560,"description":"Unknown IO ID 45"} 
[2026-08-23 11:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591256320001,"power":13048,"unknown_163":206,"unknown_19":45824,"ignition":6,"odometer":null,"unknown_45":9017191641412034560}} 
[2026-08-23 11:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":163049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:49:57] local.INFO: GPS data processed {"connection_id":163049,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:49:57] local.INFO: Acknowledgment sent {"connection_id":163049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:50:14] local.INFO: TCP Data received {"connection_id":160699,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:50:14] local.INFO: Processing buffer {"connection_id":160699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:50:14] local.INFO: IMEI packet received {"connection_id":160699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":160699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:50:24] local.INFO: TCP Data received {"connection_id":163050,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:50:24] local.INFO: Processing buffer {"connection_id":163050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:50:24] local.INFO: Packet analysis {"connection_id":163050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:50:24] local.INFO: Extracted packet for processing {"connection_id":163050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:50:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591205120001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787465946000,"timestamp_ms":1787465946000,"timestamp_seconds":1787465946,"priority":1,"record_length":96,"hex_timestamp":"000001a02d45d390"} 
[2026-08-23 11:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 11:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591205120001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591205120001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:50:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:50:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591205120001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":163050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:50:24] local.INFO: GPS data processed {"connection_id":163050,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:50:24] local.INFO: Acknowledgment sent {"connection_id":163050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:50:31] local.INFO: TCP Data received {"connection_id":163049,"ip":"117.224.29.135","data_length":795,"data_hex":"000000000000030f8e0a000001a02d44dd78012d7d280005d227a0000c000727..."} 
[2026-08-23 11:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d44dd78012d7d280005d227a0000c000727..."} 
[2026-08-23 11:50:31] local.INFO: Processing buffer {"connection_id":163049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d44dd78012d7d280005d227a0000c000727..."} 
[2026-08-23 11:50:31] local.INFO: Packet analysis {"connection_id":163049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d44"} 
[2026-08-23 11:50:31] local.INFO: Extracted packet for processing {"connection_id":163049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d44"} 
[2026-08-23 11:50:31] local.INFO: GPS Element Parsed {"raw_longitude":763176960,"raw_latitude":97658784,"longitude_deg":76.317696,"latitude_deg":9.7658784,"altitude":12,"angle":7,"satellites":39,"speed":0,"hex_longitude":"2d7d2800","hex_latitude":"05d227a0","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591260928001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122597539361849344,"note":"Value kept but may cause issues"} 
[2026-08-23 11:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018036066344357888,"note":"Value kept but may cause issues"} 
[2026-08-23 11:50:31] 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-08-23 11:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787465883000,"timestamp_ms":1787465883000,"timestamp_seconds":1787465883,"priority":1,"record_length":96,"hex_timestamp":"000001a02d44dd78"} 
[2026-08-23 11:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-23 11:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":163049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":163049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":163049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.29.135","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591260928001,"66":13222,"163":206,"19":45824,"24":0,"16":122597539361849344,"45":9018036066344357888},"client_ip":"117.224.29.135","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-08-23 11:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591260928001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:50:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-23 11:50:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-23 11:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122597539361849344,"km_value":122597539361849.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018036066344357888,"description":"Unknown IO ID 45"} 
[2026-08-23 11:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591260928001,"power":13222,"unknown_163":206,"unknown_19":45824,"ignition":0,"odometer":null,"unknown_45":9018036066344357888}} 
[2026-08-23 11:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":163049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:50:32] local.INFO: GPS data processed {"connection_id":163049,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:50:32] local.INFO: Acknowledgment sent {"connection_id":163049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:50:45] local.INFO: TCP Data received {"connection_id":160700,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:50:45] local.INFO: Processing buffer {"connection_id":160700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:50:45] local.INFO: IMEI packet received {"connection_id":160700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":160700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:50:45] local.INFO: TCP Data received {"connection_id":160701,"ip":"117.224.29.135","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:50:45] local.INFO: Processing buffer {"connection_id":160701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:50:45] local.INFO: IMEI packet received {"connection_id":160701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 11:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":160701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:50:46] local.INFO: TCP Data received {"connection_id":160701,"ip":"117.224.29.135","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:50:46] local.INFO: Processing buffer {"connection_id":160701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:50:46] local.INFO: IMEI packet received {"connection_id":160701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":160701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:50:47] local.INFO: TCP Data received {"connection_id":160700,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:50:47] local.INFO: Processing buffer {"connection_id":160700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:50:47] local.INFO: IMEI packet received {"connection_id":160700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":160700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:50:48] local.INFO: TCP Data received {"connection_id":160701,"ip":"117.224.29.135","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:50:48] local.INFO: Processing buffer {"connection_id":160701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:50:48] local.INFO: IMEI packet received {"connection_id":160701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":160701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:50:50] local.INFO: TCP Data received {"connection_id":160700,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:50:50] local.INFO: Processing buffer {"connection_id":160700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:50:50] local.INFO: IMEI packet received {"connection_id":160700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":160700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:50:50] local.INFO: TCP Data received {"connection_id":160701,"ip":"117.224.29.135","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:50:50] local.INFO: Processing buffer {"connection_id":160701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:50:50] local.INFO: IMEI packet received {"connection_id":160701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":160701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:50:51] local.INFO: TCP Data received {"connection_id":160700,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d466fd0012d18fcc007214a080045008629..."} 
[2026-08-23 11:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d466fd0012d18fcc007214a080045008629..."} 
[2026-08-23 11:50:51] local.INFO: Processing buffer {"connection_id":160700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d466fd0012d18fcc007214a080045008629..."} 
[2026-08-23 11:50:51] local.INFO: Packet analysis {"connection_id":160700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d46"} 
[2026-08-23 11:50:51] local.INFO: Extracted packet for processing {"connection_id":160700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d46"} 
[2026-08-23 11:50:51] local.INFO: GPS Element Parsed {"raw_longitude":756612288,"raw_latitude":119622152,"longitude_deg":75.6612288,"latitude_deg":11.9622152,"altitude":69,"angle":134,"satellites":41,"speed":10,"hex_longitude":"2d18fcc0","hex_latitude":"07214a08","is_valid_coordinates":true} 
[2026-08-23 11:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591292160001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15273702568493056,"note":"Value kept but may cause issues"} 
[2026-08-23 11:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800313981664669696,"note":"Value kept but may cause issues"} 
[2026-08-23 11:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787465986000,"timestamp_ms":1787465986000,"timestamp_seconds":1787465986,"priority":1,"record_length":96,"hex_timestamp":"000001a02d466fd0"} 
[2026-08-23 11:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 11:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591292160001,"66":14048,"103":206,"83":41984,"24":10,"16":15273702568493056,"45":1800313981664669696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591292160001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:50:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:50:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15273702568493056,"km_value":15273702568493.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800313981664669696,"description":"Unknown IO ID 45"} 
[2026-08-23 11:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591292160001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1800313981664669696}} 
[2026-08-23 11:50:51] local.INFO: TCP Data received {"connection_id":160458,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:50:51] local.INFO: Processing buffer {"connection_id":160458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:50:51] local.INFO: IMEI packet received {"connection_id":160458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":160458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":160700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:50:51] local.INFO: GPS data processed {"connection_id":160700,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:50:51] local.INFO: Acknowledgment sent {"connection_id":160700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:50:52] local.INFO: TCP Data received {"connection_id":160701,"ip":"117.224.29.135","data_length":795,"data_hex":"000000000000030f8e0a000001a02d452f80012d7d2d0005d24578000e000a28..."} 
[2026-08-23 11:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d452f80012d7d2d0005d24578000e000a28..."} 
[2026-08-23 11:50:52] local.INFO: Processing buffer {"connection_id":160701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d452f80012d7d2d0005d24578000e000a28..."} 
[2026-08-23 11:50:52] local.INFO: Packet analysis {"connection_id":160701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:50:52] local.INFO: Extracted packet for processing {"connection_id":160701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:50:52] local.INFO: GPS Element Parsed {"raw_longitude":763178240,"raw_latitude":97666424,"longitude_deg":76.317824,"latitude_deg":9.7666424,"altitude":14,"angle":10,"satellites":40,"speed":13,"hex_longitude":"2d7d2d00","hex_latitude":"05d24578","is_valid_coordinates":true} 
[2026-08-23 11:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591266048001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122597917318971392,"note":"Value kept but may cause issues"} 
[2026-08-23 11:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018458278810066944,"note":"Value kept but may cause issues"} 
[2026-08-23 11:50:52] 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-08-23 11:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787465904000,"timestamp_ms":1787465904000,"timestamp_seconds":1787465904,"priority":1,"record_length":96,"hex_timestamp":"000001a02d452f80"} 
[2026-08-23 11:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:50:52] 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-08-23 11:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 11:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.29.135","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591266048001,"66":12809,"163":206,"19":45824,"24":13,"16":122597917318971392,"45":9018458278810066944},"client_ip":"117.224.29.135","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,19,24,16,45]} 
[2026-08-23 11:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591266048001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:50:52] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-23 11:50:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-08-23 11:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122597917318971392,"km_value":122597917318971.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018458278810066944,"description":"Unknown IO ID 45"} 
[2026-08-23 11:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591266048001,"power":12809,"unknown_163":206,"unknown_19":45824,"ignition":13,"odometer":null,"unknown_45":9018458278810066944}} 
[2026-08-23 11:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":160701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:50:52] local.INFO: GPS data processed {"connection_id":160701,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:50:52] local.INFO: Acknowledgment sent {"connection_id":160701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:50:52] local.INFO: TCP Data received {"connection_id":160700,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4673b8012d18fd80072149180045009a28..."} 
[2026-08-23 11:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4673b8012d18fd80072149180045009a28..."} 
[2026-08-23 11:50:52] local.INFO: Processing buffer {"connection_id":160700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4673b8012d18fd80072149180045009a28..."} 
[2026-08-23 11:50:52] local.INFO: Packet analysis {"connection_id":160700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d46"} 
[2026-08-23 11:50:52] local.INFO: Extracted packet for processing {"connection_id":160700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d46"} 
[2026-08-23 11:50:52] local.INFO: GPS Element Parsed {"raw_longitude":756612480,"raw_latitude":119621912,"longitude_deg":75.661248,"latitude_deg":11.9621912,"altitude":69,"angle":154,"satellites":40,"speed":11,"hex_longitude":"2d18fd80","hex_latitude":"07214918","is_valid_coordinates":true} 
[2026-08-23 11:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591292416001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15273719748362240,"note":"Value kept but may cause issues"} 
[2026-08-23 11:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800525087897159680,"note":"Value kept but may cause issues"} 
[2026-08-23 11:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787465987000,"timestamp_ms":1787465987000,"timestamp_seconds":1787465987,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4673b8"} 
[2026-08-23 11:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:50:52] 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-08-23 11:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 11:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591292416001,"66":13559,"103":206,"83":41984,"24":11,"16":15273719748362240,"45":1800525087897159680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591292416001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:50:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:50:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15273719748362240,"km_value":15273719748362.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800525087897159680,"description":"Unknown IO ID 45"} 
[2026-08-23 11:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591292416001,"power":13559,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1800525087897159680}} 
[2026-08-23 11:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":160700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:50:52] local.INFO: GPS data processed {"connection_id":160700,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:50:52] local.INFO: Acknowledgment sent {"connection_id":160700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:50:56] local.INFO: TCP Data received {"connection_id":160458,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:50:56] local.INFO: Processing buffer {"connection_id":160458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:50:56] local.INFO: IMEI packet received {"connection_id":160458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":160458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:50:58] local.INFO: TCP Data received {"connection_id":160458,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:50:58] local.INFO: Processing buffer {"connection_id":160458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:50:58] local.INFO: Packet analysis {"connection_id":160458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:50:58] local.INFO: Extracted packet for processing {"connection_id":160458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:50:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591205120001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787465946000,"timestamp_ms":1787465946000,"timestamp_seconds":1787465946,"priority":1,"record_length":96,"hex_timestamp":"000001a02d45d390"} 
[2026-08-23 11:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 11:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:50: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-08-23 11:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591205120001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591205120001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:50:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:50:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591205120001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":160458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:50:58] local.INFO: GPS data processed {"connection_id":160458,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:50:58] local.INFO: Acknowledgment sent {"connection_id":160458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:51:01] local.INFO: TCP Data received {"connection_id":160458,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:51:01] local.INFO: Processing buffer {"connection_id":160458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:51:01] local.INFO: Packet analysis {"connection_id":160458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:51:01] local.INFO: Extracted packet for processing {"connection_id":160458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:51:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591205120001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787465946000,"timestamp_ms":1787465946000,"timestamp_seconds":1787465946,"priority":1,"record_length":96,"hex_timestamp":"000001a02d45d390"} 
[2026-08-23 11:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 11:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:51:01] 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-08-23 11:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591205120001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591205120001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:51:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:51:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591205120001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":160458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:51:01] local.INFO: GPS data processed {"connection_id":160458,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:51:01] local.INFO: Acknowledgment sent {"connection_id":160458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:51:30] local.INFO: TCP Data received {"connection_id":161643,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:51:30] local.INFO: Processing buffer {"connection_id":161643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:51:30] local.INFO: IMEI packet received {"connection_id":161643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":161643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:51:34] local.INFO: TCP Data received {"connection_id":161643,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:51:34] local.INFO: Processing buffer {"connection_id":161643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:51:34] local.INFO: IMEI packet received {"connection_id":161643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":161643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:51:35] local.INFO: TCP Data received {"connection_id":161643,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4692f8012d1902c007213ef00046008f28..."} 
[2026-08-23 11:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4692f8012d1902c007213ef00046008f28..."} 
[2026-08-23 11:51:35] local.INFO: Processing buffer {"connection_id":161643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4692f8012d1902c007213ef00046008f28..."} 
[2026-08-23 11:51:35] local.INFO: Packet analysis {"connection_id":161643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d46"} 
[2026-08-23 11:51:35] local.INFO: Extracted packet for processing {"connection_id":161643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d46"} 
[2026-08-23 11:51:35] local.INFO: GPS Element Parsed {"raw_longitude":756613824,"raw_latitude":119619312,"longitude_deg":75.6613824,"latitude_deg":11.9619312,"altitude":70,"angle":143,"satellites":40,"speed":14,"hex_longitude":"2d1902c0","hex_latitude":"07213ef0","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591292672001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15273861482283008,"note":"Value kept but may cause issues"} 
[2026-08-23 11:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800736194129631232,"note":"Value kept but may cause issues"} 
[2026-08-23 11:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787465995000,"timestamp_ms":1787465995000,"timestamp_seconds":1787465995,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4692f8"} 
[2026-08-23 11:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:51: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-08-23 11: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-23 11:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591292672001,"66":14102,"103":206,"83":41984,"24":14,"16":15273861482283008,"45":1800736194129631232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591292672001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:51:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:51:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15273861482283008,"km_value":15273861482283.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800736194129631232,"description":"Unknown IO ID 45"} 
[2026-08-23 11:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591292672001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1800736194129631232}} 
[2026-08-23 11:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":161643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:51:35] local.INFO: GPS data processed {"connection_id":161643,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:51:35] local.INFO: Acknowledgment sent {"connection_id":161643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:51:46] local.INFO: TCP Data received {"connection_id":161644,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:51:46] local.INFO: Processing buffer {"connection_id":161644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:51:46] local.INFO: IMEI packet received {"connection_id":161644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":161644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:51:51] local.INFO: TCP Data received {"connection_id":161644,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:51:51] local.INFO: Processing buffer {"connection_id":161644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:51:51] local.INFO: IMEI packet received {"connection_id":161644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":161644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:51:52] local.INFO: TCP Data received {"connection_id":161644,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:51:52] local.INFO: Processing buffer {"connection_id":161644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:51:52] local.INFO: Packet analysis {"connection_id":161644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:51:52] local.INFO: Extracted packet for processing {"connection_id":161644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:51: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-08-23 11:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591205120001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787465946000,"timestamp_ms":1787465946000,"timestamp_seconds":1787465946,"priority":1,"record_length":96,"hex_timestamp":"000001a02d45d390"} 
[2026-08-23 11:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 11:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:51: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-08-23 11:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591205120001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591205120001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:51:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591205120001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":161644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:51:52] local.INFO: GPS data processed {"connection_id":161644,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:51:52] local.INFO: Acknowledgment sent {"connection_id":161644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:52:07] local.INFO: TCP Data received {"connection_id":161643,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d473af0012d19118007213e080046010425..."} 
[2026-08-23 11:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d473af0012d19118007213e080046010425..."} 
[2026-08-23 11:52:07] local.INFO: Processing buffer {"connection_id":161643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d473af0012d19118007213e080046010425..."} 
[2026-08-23 11:52:07] local.INFO: Packet analysis {"connection_id":161643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d47"} 
[2026-08-23 11:52:07] local.INFO: Extracted packet for processing {"connection_id":161643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d47"} 
[2026-08-23 11:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756617600,"raw_latitude":119619080,"longitude_deg":75.66176,"latitude_deg":11.961908,"altitude":70,"angle":260,"satellites":37,"speed":0,"hex_longitude":"2d191180","hex_latitude":"07213e08","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591304960001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15274071935680512,"note":"Value kept but may cause issues"} 
[2026-08-23 11:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806365693663119360,"note":"Value kept but may cause issues"} 
[2026-08-23 11:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787466038000,"timestamp_ms":1787466038000,"timestamp_seconds":1787466038,"priority":1,"record_length":96,"hex_timestamp":"000001a02d473af0"} 
[2026-08-23 11:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-23 11:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591304960001,"66":14396,"103":206,"83":41984,"24":0,"16":15274071935680512,"45":1806365693663119360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591304960001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:52:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:52:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15274071935680512,"km_value":15274071935680.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806365693663119360,"description":"Unknown IO ID 45"} 
[2026-08-23 11:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591304960001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1806365693663119360}} 
[2026-08-23 11:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":161643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:52:07] local.INFO: GPS data processed {"connection_id":161643,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:52:07] local.INFO: Acknowledgment sent {"connection_id":161643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:52:25] local.INFO: TCP Data received {"connection_id":161644,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:52:25] local.INFO: Processing buffer {"connection_id":161644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:52:25] local.INFO: Packet analysis {"connection_id":161644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:52:25] local.INFO: Extracted packet for processing {"connection_id":161644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:52:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591205120001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787465946000,"timestamp_ms":1787465946000,"timestamp_seconds":1787465946,"priority":1,"record_length":96,"hex_timestamp":"000001a02d45d390"} 
[2026-08-23 11:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 11:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591205120001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591205120001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:52:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:52:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591205120001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":161644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:52:25] local.INFO: GPS data processed {"connection_id":161644,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:52:25] local.INFO: Acknowledgment sent {"connection_id":161644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:52:29] local.INFO: TCP Data received {"connection_id":160459,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:52:29] local.INFO: Processing buffer {"connection_id":160459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:52:29] local.INFO: IMEI packet received {"connection_id":160459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":160459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:52:34] local.INFO: TCP Data received {"connection_id":160459,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:52:34] local.INFO: Processing buffer {"connection_id":160459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:52:34] local.INFO: IMEI packet received {"connection_id":160459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":160459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:52:35] local.INFO: TCP Data received {"connection_id":160459,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d478cf8012d19118007213e000046010d21..."} 
[2026-08-23 11:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d478cf8012d19118007213e000046010d21..."} 
[2026-08-23 11:52:35] local.INFO: Processing buffer {"connection_id":160459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d478cf8012d19118007213e000046010d21..."} 
[2026-08-23 11:52:35] local.INFO: Packet analysis {"connection_id":160459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d47"} 
[2026-08-23 11:52:35] local.INFO: Extracted packet for processing {"connection_id":160459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d47"} 
[2026-08-23 11:52:35] local.INFO: GPS Element Parsed {"raw_longitude":756617600,"raw_latitude":119619072,"longitude_deg":75.66176,"latitude_deg":11.9619072,"altitude":70,"angle":269,"satellites":33,"speed":0,"hex_longitude":"2d191180","hex_latitude":"07213e00","is_valid_coordinates":true} 
[2026-08-23 11:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591305728001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15274071935680512,"note":"Value kept but may cause issues"} 
[2026-08-23 11:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806365693663119360,"note":"Value kept but may cause issues"} 
[2026-08-23 11:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787466059000,"timestamp_ms":1787466059000,"timestamp_seconds":1787466059,"priority":1,"record_length":96,"hex_timestamp":"000001a02d478cf8"} 
[2026-08-23 11:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:52:35] 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-08-23 11:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-23 11:52:35] 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-08-23 11:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591305728001,"66":13678,"103":206,"83":41984,"24":0,"16":15274071935680512,"45":1806365693663119360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591305728001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:52:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:52:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15274071935680512,"km_value":15274071935680.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806365693663119360,"description":"Unknown IO ID 45"} 
[2026-08-23 11:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591305728001,"power":13678,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1806365693663119360}} 
[2026-08-23 11:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":160459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:52:35] local.INFO: GPS data processed {"connection_id":160459,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:52:35] local.INFO: Acknowledgment sent {"connection_id":160459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:52:46] local.INFO: TCP Data received {"connection_id":161645,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:52:46] local.INFO: Processing buffer {"connection_id":161645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:52:46] local.INFO: IMEI packet received {"connection_id":161645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":161645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:52:51] local.INFO: TCP Data received {"connection_id":161645,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:52:51] local.INFO: Processing buffer {"connection_id":161645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:52:51] local.INFO: IMEI packet received {"connection_id":161645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":161645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:52:52] local.INFO: TCP Data received {"connection_id":161645,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:52:52] local.INFO: Processing buffer {"connection_id":161645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:52:52] local.INFO: Packet analysis {"connection_id":161645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:52:52] local.INFO: Extracted packet for processing {"connection_id":161645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591205120001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787465946000,"timestamp_ms":1787465946000,"timestamp_seconds":1787465946,"priority":1,"record_length":96,"hex_timestamp":"000001a02d45d390"} 
[2026-08-23 11:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 11:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591205120001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591205120001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:52:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591205120001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":161645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:52:52] local.INFO: GPS data processed {"connection_id":161645,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:52:52] local.INFO: Acknowledgment sent {"connection_id":161645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:53:07] local.INFO: TCP Data received {"connection_id":160459,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d47df00012d19118007213e000046010d21..."} 
[2026-08-23 11:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d47df00012d19118007213e000046010d21..."} 
[2026-08-23 11:53:07] local.INFO: Processing buffer {"connection_id":160459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d47df00012d19118007213e000046010d21..."} 
[2026-08-23 11:53:07] local.INFO: Packet analysis {"connection_id":160459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d47"} 
[2026-08-23 11:53:07] local.INFO: Extracted packet for processing {"connection_id":160459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d47"} 
[2026-08-23 11:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756617600,"raw_latitude":119619072,"longitude_deg":75.66176,"latitude_deg":11.9619072,"altitude":70,"angle":269,"satellites":33,"speed":0,"hex_longitude":"2d191180","hex_latitude":"07213e00","is_valid_coordinates":true} 
[2026-08-23 11:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591311104001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15274071935680512,"note":"Value kept but may cause issues"} 
[2026-08-23 11:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806365693663117312,"note":"Value kept but may cause issues"} 
[2026-08-23 11:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787466080000,"timestamp_ms":1787466080000,"timestamp_seconds":1787466080,"priority":1,"record_length":96,"hex_timestamp":"000001a02d47df00"} 
[2026-08-23 11:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-23 11:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591311104001,"66":14515,"103":206,"83":41984,"24":0,"16":15274071935680512,"45":1806365693663117312},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591311104001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:53:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15274071935680512,"km_value":15274071935680.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806365693663117312,"description":"Unknown IO ID 45"} 
[2026-08-23 11:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591311104001,"power":14515,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1806365693663117312}} 
[2026-08-23 11:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":160459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:53:07] local.INFO: GPS data processed {"connection_id":160459,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:53:07] local.INFO: Acknowledgment sent {"connection_id":160459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:53:25] local.INFO: TCP Data received {"connection_id":161645,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:53:25] local.INFO: Processing buffer {"connection_id":161645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:53:25] local.INFO: Packet analysis {"connection_id":161645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:53:25] local.INFO: Extracted packet for processing {"connection_id":161645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:53:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591205120001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787465946000,"timestamp_ms":1787465946000,"timestamp_seconds":1787465946,"priority":1,"record_length":96,"hex_timestamp":"000001a02d45d390"} 
[2026-08-23 11:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 11:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591205120001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591205120001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:53:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:53:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591205120001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":161645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:53:25] local.INFO: GPS data processed {"connection_id":161645,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:53:25] local.INFO: Acknowledgment sent {"connection_id":161645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:53:35] local.INFO: TCP Data received {"connection_id":161646,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:53:35] local.INFO: Processing buffer {"connection_id":161646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:53:35] local.INFO: IMEI packet received {"connection_id":161646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":161646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:53:36] local.INFO: TCP Data received {"connection_id":161646,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:53:36] local.INFO: Processing buffer {"connection_id":161646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:53:36] local.INFO: IMEI packet received {"connection_id":161646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":161646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:53:37] local.INFO: TCP Data received {"connection_id":161646,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4834f0012d19118007213e000046010d22..."} 
[2026-08-23 11:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4834f0012d19118007213e000046010d22..."} 
[2026-08-23 11:53:37] local.INFO: Processing buffer {"connection_id":161646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4834f0012d19118007213e000046010d22..."} 
[2026-08-23 11:53:37] local.INFO: Packet analysis {"connection_id":161646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d48"} 
[2026-08-23 11:53:37] local.INFO: Extracted packet for processing {"connection_id":161646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d48"} 
[2026-08-23 11:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756617600,"raw_latitude":119619072,"longitude_deg":75.66176,"latitude_deg":11.9619072,"altitude":70,"angle":269,"satellites":34,"speed":0,"hex_longitude":"2d191180","hex_latitude":"07213e00","is_valid_coordinates":true} 
[2026-08-23 11:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591316480001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15274071935680512,"note":"Value kept but may cause issues"} 
[2026-08-23 11:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806365693663117312,"note":"Value kept but may cause issues"} 
[2026-08-23 11:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787466102000,"timestamp_ms":1787466102000,"timestamp_seconds":1787466102,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4834f0"} 
[2026-08-23 11:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:53: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-08-23 11:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-23 11:53: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-08-23 11:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591316480001,"66":14428,"103":206,"83":41984,"24":0,"16":15274071935680512,"45":1806365693663117312},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591316480001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:53:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15274071935680512,"km_value":15274071935680.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806365693663117312,"description":"Unknown IO ID 45"} 
[2026-08-23 11:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591316480001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1806365693663117312}} 
[2026-08-23 11:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":161646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:53:37] local.INFO: GPS data processed {"connection_id":161646,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:53:37] local.INFO: Acknowledgment sent {"connection_id":161646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:53:38] local.INFO: TCP Data received {"connection_id":161646,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4886f8012d19118007213e000046010d21..."} 
[2026-08-23 11:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4886f8012d19118007213e000046010d21..."} 
[2026-08-23 11:53:38] local.INFO: Processing buffer {"connection_id":161646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4886f8012d19118007213e000046010d21..."} 
[2026-08-23 11:53:38] local.INFO: Packet analysis {"connection_id":161646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d48"} 
[2026-08-23 11:53:38] local.INFO: Extracted packet for processing {"connection_id":161646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d48"} 
[2026-08-23 11:53:38] local.INFO: GPS Element Parsed {"raw_longitude":756617600,"raw_latitude":119619072,"longitude_deg":75.66176,"latitude_deg":11.9619072,"altitude":70,"angle":269,"satellites":33,"speed":0,"hex_longitude":"2d191180","hex_latitude":"07213e00","is_valid_coordinates":true} 
[2026-08-23 11:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591322112001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15274071935680512,"note":"Value kept but may cause issues"} 
[2026-08-23 11:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806365693663117312,"note":"Value kept but may cause issues"} 
[2026-08-23 11:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787466123000,"timestamp_ms":1787466123000,"timestamp_seconds":1787466123,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4886f8"} 
[2026-08-23 11:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:53: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-08-23 11:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 11:53: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-08-23 11:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591322112001,"66":14363,"103":206,"83":41984,"24":0,"16":15274071935680512,"45":1806365693663117312},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591322112001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:53:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:53:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15274071935680512,"km_value":15274071935680.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806365693663117312,"description":"Unknown IO ID 45"} 
[2026-08-23 11:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591322112001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1806365693663117312}} 
[2026-08-23 11:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":161646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:53:38] local.INFO: GPS data processed {"connection_id":161646,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:53:38] local.INFO: Acknowledgment sent {"connection_id":161646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:53:46] local.INFO: TCP Data received {"connection_id":160460,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:53:46] local.INFO: Processing buffer {"connection_id":160460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:53:46] local.INFO: IMEI packet received {"connection_id":160460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":160460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:53:51] local.INFO: TCP Data received {"connection_id":160460,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:53:51] local.INFO: Processing buffer {"connection_id":160460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:53:51] local.INFO: IMEI packet received {"connection_id":160460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":160460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:53:53] local.INFO: TCP Data received {"connection_id":160460,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:53:53] local.INFO: Processing buffer {"connection_id":160460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:53:53] local.INFO: Packet analysis {"connection_id":160460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:53:53] local.INFO: Extracted packet for processing {"connection_id":160460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:53:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591205120001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787465946000,"timestamp_ms":1787465946000,"timestamp_seconds":1787465946,"priority":1,"record_length":96,"hex_timestamp":"000001a02d45d390"} 
[2026-08-23 11:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 11:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:53:53] 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-08-23 11:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591205120001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591205120001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:53:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:53:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591205120001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":160460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:53:53] local.INFO: GPS data processed {"connection_id":160460,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:53:53] local.INFO: Acknowledgment sent {"connection_id":160460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:54:10] local.INFO: TCP Data received {"connection_id":161646,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d49cf18012d18ff40072149380047013d29..."} 
[2026-08-23 11:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d49cf18012d18ff40072149380047013d29..."} 
[2026-08-23 11:54:10] local.INFO: Processing buffer {"connection_id":161646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d49cf18012d18ff40072149380047013d29..."} 
[2026-08-23 11:54:10] local.INFO: Packet analysis {"connection_id":161646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d49"} 
[2026-08-23 11:54:10] local.INFO: Extracted packet for processing {"connection_id":161646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d49"} 
[2026-08-23 11:54:10] local.INFO: GPS Element Parsed {"raw_longitude":756612928,"raw_latitude":119621944,"longitude_deg":75.6612928,"latitude_deg":11.9621944,"altitude":71,"angle":317,"satellites":41,"speed":8,"hex_longitude":"2d18ff40","hex_latitude":"07214938","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591348736001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15274458482737152,"note":"Value kept but may cause issues"} 
[2026-08-23 11:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801299144083019776,"note":"Value kept but may cause issues"} 
[2026-08-23 11:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787466207000,"timestamp_ms":1787466207000,"timestamp_seconds":1787466207,"priority":1,"record_length":96,"hex_timestamp":"000001a02d49cf18"} 
[2026-08-23 11:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:54: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-08-23 11: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 11:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6982289667,"note":"Value kept but may cause issues"} 
[2026-08-23 11:54:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 11:54:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 11:54:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503832695078912,"note":"Value kept but may cause issues"} 
[2026-08-23 11:54:10] local.WARNING: Large IO value detected {"io_id":67,"raw_value":4261412864,"note":"Value kept but may cause issues"} 
[2026-08-23 11:54:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-23 11:54:10] local.WARNING: Large IO value detected {"io_id":93,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-08-23 11:54:10] local.WARNING: Large IO value detected {"io_id":255,"raw_value":3221692742,"note":"Value kept but may cause issues"} 
[2026-08-23 11:54:10] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84751480477131070,"note":"Value kept but may cause issues"} 
[2026-08-23 11:54:10] local.WARNING: Large IO value detected {"io_id":128,"raw_value":19986081260767744,"note":"Value kept but may cause issues"} 
[2026-08-23 11:54:10] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,68,160,191,45,64,70,41,10,66,164,37,144,1,240,71,227,67,33,4,113,205,93,255,36,239,52,2,54,7,206,248,128],"length":529,"final_offset":659,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-23 11:54:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044398995632619520,"timestamp_seconds":5044398995632620.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 11:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591348736001,"66":14374,"103":206,"83":41984,"24":8,"16":15274458482737152,"45":1801299144083019776},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591348736001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:54:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:54:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15274458482737152,"km_value":15274458482737.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801299144083019776,"description":"Unknown IO ID 45"} 
[2026-08-23 11:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591348736001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1801299144083019776}} 
[2026-08-23 11:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":161646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:54:10] local.INFO: GPS data processed {"connection_id":161646,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:54:10] local.INFO: Acknowledgment sent {"connection_id":161646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:54:24] local.INFO: TCP Data received {"connection_id":160460,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:54:24] local.INFO: Processing buffer {"connection_id":160460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d45d390012d34c50006aa4098000e008521..."} 
[2026-08-23 11:54:24] local.INFO: Packet analysis {"connection_id":160460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:54:24] local.INFO: Extracted packet for processing {"connection_id":160460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d45"} 
[2026-08-23 11:54:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591205120001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787465946000,"timestamp_ms":1787465946000,"timestamp_seconds":1787465946,"priority":1,"record_length":96,"hex_timestamp":"000001a02d45d390"} 
[2026-08-23 11:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 11:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:54: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-08-23 11:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591205120001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591205120001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:54:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:54:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591205120001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":160460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:54:24] local.INFO: GPS data processed {"connection_id":160460,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:54:24] local.INFO: Acknowledgment sent {"connection_id":160460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:54:29] local.INFO: TCP Data received {"connection_id":160702,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:54:29] local.INFO: Processing buffer {"connection_id":160702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:54:29] local.INFO: IMEI packet received {"connection_id":160702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":160702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:54:33] local.INFO: TCP Data received {"connection_id":160702,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:54:33] local.INFO: Processing buffer {"connection_id":160702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:54:33] local.INFO: IMEI packet received {"connection_id":160702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":160702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:54:34] local.INFO: TCP Data received {"connection_id":160702,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d49d300012d18fec0072149b8004701292a..."} 
[2026-08-23 11:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d49d300012d18fec0072149b8004701292a..."} 
[2026-08-23 11:54:34] local.INFO: Processing buffer {"connection_id":160702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d49d300012d18fec0072149b8004701292a..."} 
[2026-08-23 11:54:34] local.INFO: Packet analysis {"connection_id":160702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d49"} 
[2026-08-23 11:54:34] local.INFO: Extracted packet for processing {"connection_id":160702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d49"} 
[2026-08-23 11:54:34] local.INFO: GPS Element Parsed {"raw_longitude":756612800,"raw_latitude":119622072,"longitude_deg":75.66128,"latitude_deg":11.9622072,"altitude":71,"angle":297,"satellites":42,"speed":7,"hex_longitude":"2d18fec0","hex_latitude":"072149b8","is_valid_coordinates":true} 
[2026-08-23 11:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591348992001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15274467072671744,"note":"Value kept but may cause issues"} 
[2026-08-23 11:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801228775338883072,"note":"Value kept but may cause issues"} 
[2026-08-23 11:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787466208000,"timestamp_ms":1787466208000,"timestamp_seconds":1787466208,"priority":1,"record_length":96,"hex_timestamp":"000001a02d49d300"} 
[2026-08-23 11:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-23 11:54:34] 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-08-23 11:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591348992001,"66":14374,"103":206,"83":41984,"24":7,"16":15274467072671744,"45":1801228775338883072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 11:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591348992001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:54:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 11:54:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15274467072671744,"km_value":15274467072671.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801228775338883072,"description":"Unknown IO ID 45"} 
[2026-08-23 11:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591348992001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1801228775338883072}} 
[2026-08-23 11:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":160702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:54:34] local.INFO: GPS data processed {"connection_id":160702,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:54:34] local.INFO: Acknowledgment sent {"connection_id":160702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:54:45] local.INFO: TCP Data received {"connection_id":160461,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:54:45] local.INFO: Processing buffer {"connection_id":160461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:54:45] local.INFO: IMEI packet received {"connection_id":160461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":160461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:54:46] local.INFO: TCP Data received {"connection_id":160461,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:54:46] local.INFO: Processing buffer {"connection_id":160461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:54:46] local.INFO: IMEI packet received {"connection_id":160461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":160461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:54:51] local.INFO: TCP Data received {"connection_id":160461,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:54:51] local.INFO: Processing buffer {"connection_id":160461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:54:51] local.INFO: IMEI packet received {"connection_id":160461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":160461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:54:53] local.INFO: TCP Data received {"connection_id":160461,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:54:53] local.INFO: Processing buffer {"connection_id":160461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:54:53] local.INFO: Packet analysis {"connection_id":160461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:54:53] local.INFO: Extracted packet for processing {"connection_id":160461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:54:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591282176001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787466247000,"timestamp_ms":1787466247000,"timestamp_seconds":1787466247,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4a6b58"} 
[2026-08-23 11:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:54:53] 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-08-23 11: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-08-23 11:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:54:53] 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-08-23 11:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591282176001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591282176001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:54:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:54:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591282176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":160461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:54:53] local.INFO: GPS data processed {"connection_id":160461,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:54:53] local.INFO: Acknowledgment sent {"connection_id":160461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:55:06] local.INFO: TCP Data received {"connection_id":160702,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4a9a38012d18c2c0072153c00045012828..."} 
[2026-08-23 11:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4a9a38012d18c2c0072153c00045012828..."} 
[2026-08-23 11:55:06] local.INFO: Processing buffer {"connection_id":160702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4a9a38012d18c2c0072153c00045012828..."} 
[2026-08-23 11:55:06] local.INFO: Packet analysis {"connection_id":160702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:55:06] local.INFO: Extracted packet for processing {"connection_id":160702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756597440,"raw_latitude":119624640,"longitude_deg":75.659744,"latitude_deg":11.962464,"altitude":69,"angle":296,"satellites":40,"speed":13,"hex_longitude":"2d18c2c0","hex_latitude":"072153c0","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591357952001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15275235871817728,"note":"Value kept but may cause issues"} 
[2026-08-23 11:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791517888642951168,"note":"Value kept but may cause issues"} 
[2026-08-23 11:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787466259000,"timestamp_ms":1787466259000,"timestamp_seconds":1787466259,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4a9a38"} 
[2026-08-23 11:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-23 11:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591357952001,"66":14428,"106":206,"83":41984,"24":13,"16":15275235871817728,"45":1791517888642951168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 11:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591357952001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:55:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 11:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15275235871817728,"km_value":15275235871817.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791517888642951168,"description":"Unknown IO ID 45"} 
[2026-08-23 11:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591357952001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1791517888642951168}} 
[2026-08-23 11:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":160702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:55:06] local.INFO: GPS data processed {"connection_id":160702,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:55:06] local.INFO: Acknowledgment sent {"connection_id":160702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:55:25] local.INFO: TCP Data received {"connection_id":160461,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:55:25] local.INFO: Processing buffer {"connection_id":160461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:55:25] local.INFO: Packet analysis {"connection_id":160461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:55:25] local.INFO: Extracted packet for processing {"connection_id":160461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:55:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591282176001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787466247000,"timestamp_ms":1787466247000,"timestamp_seconds":1787466247,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4a6b58"} 
[2026-08-23 11:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:55:25] 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-08-23 11: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-08-23 11:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:55:25] 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-08-23 11:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591282176001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591282176001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:55:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:55:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591282176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":160461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:55:25] local.INFO: GPS data processed {"connection_id":160461,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:55:25] local.INFO: Acknowledgment sent {"connection_id":160461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:55:29] local.INFO: TCP Data received {"connection_id":160703,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:55:29] local.INFO: Processing buffer {"connection_id":160703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:55:29] local.INFO: IMEI packet received {"connection_id":160703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":160703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:55:29] local.INFO: TCP Data received {"connection_id":160703,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:55:29] local.INFO: Processing buffer {"connection_id":160703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:55:29] local.INFO: IMEI packet received {"connection_id":160703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":160703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:55:35] local.INFO: TCP Data received {"connection_id":160703,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:55:35] local.INFO: Processing buffer {"connection_id":160703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:55:35] local.INFO: IMEI packet received {"connection_id":160703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":160703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:55:35] local.INFO: TCP Data received {"connection_id":160703,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4a9e20012d18c180072154980045013729..."} 
[2026-08-23 11:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4a9e20012d18c180072154980045013729..."} 
[2026-08-23 11:55:35] local.INFO: Processing buffer {"connection_id":160703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4a9e20012d18c180072154980045013729..."} 
[2026-08-23 11:55:35] local.INFO: Packet analysis {"connection_id":160703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:55:35] local.INFO: Extracted packet for processing {"connection_id":160703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:55:35] local.INFO: GPS Element Parsed {"raw_longitude":756597120,"raw_latitude":119624856,"longitude_deg":75.659712,"latitude_deg":11.9624856,"altitude":69,"angle":311,"satellites":41,"speed":16,"hex_longitude":"2d18c180","hex_latitude":"07215498","is_valid_coordinates":true} 
[2026-08-23 11:55: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-08-23 11:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591362304001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15275253051686912,"note":"Value kept but may cause issues"} 
[2026-08-23 11:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784199539248578560,"note":"Value kept but may cause issues"} 
[2026-08-23 11:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787466260000,"timestamp_ms":1787466260000,"timestamp_seconds":1787466260,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4a9e20"} 
[2026-08-23 11:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:55:35] 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-08-23 11:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 11:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:55: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-08-23 11:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591362304001,"66":14428,"106":206,"83":41984,"24":16,"16":15275253051686912,"45":1784199539248578560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 11:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591362304001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:55:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 11:55:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15275253051686912,"km_value":15275253051686.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784199539248578560,"description":"Unknown IO ID 45"} 
[2026-08-23 11:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591362304001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1784199539248578560}} 
[2026-08-23 11:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":160703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:55:36] local.INFO: GPS data processed {"connection_id":160703,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:55:36] local.INFO: Acknowledgment sent {"connection_id":160703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:55:51] local.INFO: TCP Data received {"connection_id":160462,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:55:51] local.INFO: Processing buffer {"connection_id":160462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:55:51] local.INFO: IMEI packet received {"connection_id":160462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":160462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:55:55] local.INFO: TCP Data received {"connection_id":160704,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:55:55] local.INFO: Processing buffer {"connection_id":160704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:55:55] local.INFO: IMEI packet received {"connection_id":160704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 11:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":160704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:55:56] local.INFO: TCP Data received {"connection_id":160462,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:55:56] local.INFO: Processing buffer {"connection_id":160462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:55:56] local.INFO: IMEI packet received {"connection_id":160462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":160462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:55:57] local.INFO: TCP Data received {"connection_id":160704,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:55:57] local.INFO: Processing buffer {"connection_id":160704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:55:57] local.INFO: IMEI packet received {"connection_id":160704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":160704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:56:01] local.INFO: TCP Data received {"connection_id":160704,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:56:01] local.INFO: Processing buffer {"connection_id":160704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:56:01] local.INFO: IMEI packet received {"connection_id":160704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":160704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:56:02] local.INFO: TCP Data received {"connection_id":160704,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4b59a0012d7d43c005d29948000b00982c..."} 
[2026-08-23 11:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4b59a0012d7d43c005d29948000b00982c..."} 
[2026-08-23 11:56:02] local.INFO: Processing buffer {"connection_id":160704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4b59a0012d7d43c005d29948000b00982c..."} 
[2026-08-23 11:56:02] local.INFO: Packet analysis {"connection_id":160704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4b"} 
[2026-08-23 11:56:02] local.INFO: Extracted packet for processing {"connection_id":160704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4b"} 
[2026-08-23 11:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763184064,"raw_latitude":97687880,"longitude_deg":76.3184064,"latitude_deg":9.768788,"altitude":11,"angle":152,"satellites":44,"speed":8,"hex_longitude":"2d7d43c0","hex_latitude":"05d29948","is_valid_coordinates":true} 
[2026-08-23 11:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591374592001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122600361155362816,"note":"Value kept but may cause issues"} 
[2026-08-23 11:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026269209421279232,"note":"Value kept but may cause issues"} 
[2026-08-23 11:56:02] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-23 11:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787466308000,"timestamp_ms":1787466308000,"timestamp_seconds":1787466308,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4b59a0"} 
[2026-08-23 11:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 11:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591374592001,"66":13059,"24":8,"16":122600361155362816,"45":9026269209421279232},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-23 11:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591374592001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122600361155362816,"km_value":122600361155362.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026269209421279232,"description":"Unknown IO ID 45"} 
[2026-08-23 11:56:02] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457591374592001,"power":13059,"ignition":8,"odometer":null,"unknown_45":9026269209421279232}} 
[2026-08-23 11:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":160704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:56:02] local.INFO: GPS data processed {"connection_id":160704,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:56:02] local.INFO: Acknowledgment sent {"connection_id":160704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:56:07] local.INFO: TCP Data received {"connection_id":160703,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4aadc0012d18bcc007215a700044014329..."} 
[2026-08-23 11:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4aadc0012d18bcc007215a700044014329..."} 
[2026-08-23 11:56:07] local.INFO: Processing buffer {"connection_id":160703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4aadc0012d18bcc007215a700044014329..."} 
[2026-08-23 11:56:07] local.INFO: Packet analysis {"connection_id":160703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:56:07] local.INFO: Extracted packet for processing {"connection_id":160703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756595904,"raw_latitude":119626352,"longitude_deg":75.6595904,"latitude_deg":11.9626352,"altitude":68,"angle":323,"satellites":41,"speed":20,"hex_longitude":"2d18bcc0","hex_latitude":"07215a70","is_valid_coordinates":true} 
[2026-08-23 11:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591362560001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15275347540967424,"note":"Value kept but may cause issues"} 
[2026-08-23 11:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783847695527745536,"note":"Value kept but may cause issues"} 
[2026-08-23 11:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787466264000,"timestamp_ms":1787466264000,"timestamp_seconds":1787466264,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4aadc0"} 
[2026-08-23 11:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 11:56: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-08-23 11:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591362560001,"66":14428,"106":206,"83":41984,"24":20,"16":15275347540967424,"45":1783847695527745536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 11:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591362560001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:56:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 11:56:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15275347540967424,"km_value":15275347540967.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783847695527745536,"description":"Unknown IO ID 45"} 
[2026-08-23 11:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591362560001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1783847695527745536}} 
[2026-08-23 11:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":160703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:56:07] local.INFO: GPS data processed {"connection_id":160703,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:56:07] local.INFO: Acknowledgment sent {"connection_id":160703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:56:09] local.INFO: TCP Data received {"connection_id":160462,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:56:09] local.INFO: Processing buffer {"connection_id":160462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:56:09] local.INFO: Packet analysis {"connection_id":160462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:56:09] local.INFO: Extracted packet for processing {"connection_id":160462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591282176001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787466247000,"timestamp_ms":1787466247000,"timestamp_seconds":1787466247,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4a6b58"} 
[2026-08-23 11:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:56:09] 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-08-23 11: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-08-23 11:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591282176001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591282176001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591282176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":160462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:56:09] local.INFO: GPS data processed {"connection_id":160462,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:56:09] local.INFO: Acknowledgment sent {"connection_id":160462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:56:11] local.INFO: TCP Data received {"connection_id":160462,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:56:11] local.INFO: Processing buffer {"connection_id":160462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:56:11] local.INFO: Packet analysis {"connection_id":160462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:56:11] local.INFO: Extracted packet for processing {"connection_id":160462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:56:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591282176001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787466247000,"timestamp_ms":1787466247000,"timestamp_seconds":1787466247,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4a6b58"} 
[2026-08-23 11:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:56: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-08-23 11: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:56:11] 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-08-23 11: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-08-23 11:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591282176001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591282176001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:56:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:56:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591282176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":160462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:56:11] local.INFO: GPS data processed {"connection_id":160462,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:56:11] local.INFO: Acknowledgment sent {"connection_id":160462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:56:30] local.INFO: TCP Data received {"connection_id":163051,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:56:30] local.INFO: Processing buffer {"connection_id":163051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:56:30] local.INFO: IMEI packet received {"connection_id":163051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":163051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:56:35] local.INFO: TCP Data received {"connection_id":163051,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:56:35] local.INFO: Processing buffer {"connection_id":163051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:56:35] local.INFO: IMEI packet received {"connection_id":163051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":163051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:56:35] local.INFO: TCP Data received {"connection_id":163051,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4b8c68012d181ec00721a6800044013f28..."} 
[2026-08-23 11:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4b8c68012d181ec00721a6800044013f28..."} 
[2026-08-23 11:56:35] local.INFO: Processing buffer {"connection_id":163051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4b8c68012d181ec00721a6800044013f28..."} 
[2026-08-23 11:56:35] local.INFO: Packet analysis {"connection_id":163051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4b"} 
[2026-08-23 11:56:35] local.INFO: Extracted packet for processing {"connection_id":163051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4b"} 
[2026-08-23 11:56:35] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119645824,"longitude_deg":75.6555456,"latitude_deg":11.9645824,"altitude":68,"angle":319,"satellites":40,"speed":9,"hex_longitude":"2d181ec0","hex_latitude":"0721a680","is_valid_coordinates":true} 
[2026-08-23 11:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591376128001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15277572334026752,"note":"Value kept but may cause issues"} 
[2026-08-23 11:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741837555258288128,"note":"Value kept but may cause issues"} 
[2026-08-23 11:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787466321000,"timestamp_ms":1787466321000,"timestamp_seconds":1787466321,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4b8c68"} 
[2026-08-23 11:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:56:35] 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-08-23 11:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-23 11:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591376128001,"66":14396,"105":206,"83":41984,"24":9,"16":15277572334026752,"45":1741837555258288128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 11:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591376128001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:56:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 11:56:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15277572334026752,"km_value":15277572334026.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741837555258288128,"description":"Unknown IO ID 45"} 
[2026-08-23 11:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591376128001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1741837555258288128}} 
[2026-08-23 11:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":163051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:56:36] local.INFO: GPS data processed {"connection_id":163051,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:56:36] local.INFO: Acknowledgment sent {"connection_id":163051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:56:46] local.INFO: TCP Data received {"connection_id":161647,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:56:46] local.INFO: Processing buffer {"connection_id":161647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:56:46] local.INFO: IMEI packet received {"connection_id":161647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":161647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:56:50] local.INFO: TCP Data received {"connection_id":160705,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160705,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:56:50] local.INFO: Processing buffer {"connection_id":160705,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:56:50] local.INFO: IMEI packet received {"connection_id":160705,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 11:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":160705,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:56:51] local.INFO: TCP Data received {"connection_id":161647,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:56:51] local.INFO: Processing buffer {"connection_id":161647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:56:51] local.INFO: IMEI packet received {"connection_id":161647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":161647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:56:53] local.INFO: TCP Data received {"connection_id":161647,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:56:53] local.INFO: Processing buffer {"connection_id":161647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:56:53] local.INFO: Packet analysis {"connection_id":161647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:56:53] local.INFO: Extracted packet for processing {"connection_id":161647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591282176001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787466247000,"timestamp_ms":1787466247000,"timestamp_seconds":1787466247,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4a6b58"} 
[2026-08-23 11:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:56:53] 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-08-23 11:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591282176001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591282176001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:56:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:56:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591282176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":161647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:56:53] local.INFO: GPS data processed {"connection_id":161647,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:56:53] local.INFO: Acknowledgment sent {"connection_id":161647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:56:56] local.INFO: TCP Data received {"connection_id":160705,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160705,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:56:56] local.INFO: Processing buffer {"connection_id":160705,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:56:56] local.INFO: IMEI packet received {"connection_id":160705,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":160705,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:56:57] local.INFO: TCP Data received {"connection_id":160705,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4c72e0012d7e120005d29200000400512b..."} 
[2026-08-23 11:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4c72e0012d7e120005d29200000400512b..."} 
[2026-08-23 11:56:57] local.INFO: Processing buffer {"connection_id":160705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4c72e0012d7e120005d29200000400512b..."} 
[2026-08-23 11:56:57] local.INFO: Packet analysis {"connection_id":160705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4c"} 
[2026-08-23 11:56:57] local.INFO: Extracted packet for processing {"connection_id":160705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4c"} 
[2026-08-23 11:56:57] local.INFO: GPS Element Parsed {"raw_longitude":763236864,"raw_latitude":97686016,"longitude_deg":76.3236864,"latitude_deg":9.7686016,"altitude":4,"angle":81,"satellites":43,"speed":22,"hex_longitude":"2d7e1200","hex_latitude":"05d29200","is_valid_coordinates":true} 
[2026-08-23 11:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591392256001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122602942430707712,"note":"Value kept but may cause issues"} 
[2026-08-23 11:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9081297567367694336,"note":"Value kept but may cause issues"} 
[2026-08-23 11:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787466380000,"timestamp_ms":1787466380000,"timestamp_seconds":1787466380,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4c72e0"} 
[2026-08-23 11:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 11:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:56:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591392256001,"66":12982,"116":206,"85":15104,"24":22,"16":122602942430707712,"45":9081297567367694336},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 11:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591392256001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:56:57] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 11:56:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122602942430707712,"km_value":122602942430707.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9081297567367694336,"description":"Unknown IO ID 45"} 
[2026-08-23 11:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591392256001,"power":12982,"unknown_116":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9081297567367694336}} 
[2026-08-23 11:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":160705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:56:57] local.INFO: GPS data processed {"connection_id":160705,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:56:57] local.INFO: Acknowledgment sent {"connection_id":160705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:57:06] local.INFO: TCP Data received {"connection_id":163051,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4bb760012d181e400721aa10004600152a..."} 
[2026-08-23 11:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4bb760012d181e400721aa10004600152a..."} 
[2026-08-23 11:57:06] local.INFO: Processing buffer {"connection_id":163051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4bb760012d181e400721aa10004600152a..."} 
[2026-08-23 11:57:06] local.INFO: Packet analysis {"connection_id":163051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4b"} 
[2026-08-23 11:57:06] local.INFO: Extracted packet for processing {"connection_id":163051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4b"} 
[2026-08-23 11:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646736,"longitude_deg":75.6555328,"latitude_deg":11.9646736,"altitude":70,"angle":21,"satellites":42,"speed":7,"hex_longitude":"2d181e40","hex_latitude":"0721aa10","is_valid_coordinates":true} 
[2026-08-23 11:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591378176001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15277623873634304,"note":"Value kept but may cause issues"} 
[2026-08-23 11:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073454080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787466332000,"timestamp_ms":1787466332000,"timestamp_seconds":1787466332,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4bb760"} 
[2026-08-23 11:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-23 11:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591378176001,"66":14396,"105":206,"83":41984,"24":7,"16":15277623873634304,"45":1738037643073454080},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 11:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591378176001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:57:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 11:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15277623873634304,"km_value":15277623873634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073454080,"description":"Unknown IO ID 45"} 
[2026-08-23 11:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591378176001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738037643073454080}} 
[2026-08-23 11:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":163051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:57:07] local.INFO: GPS data processed {"connection_id":163051,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:57:07] local.INFO: Acknowledgment sent {"connection_id":163051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:57:25] local.INFO: TCP Data received {"connection_id":161647,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:57:25] local.INFO: Processing buffer {"connection_id":161647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:57:25] local.INFO: Packet analysis {"connection_id":161647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:57:25] local.INFO: Extracted packet for processing {"connection_id":161647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:57:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591282176001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787466247000,"timestamp_ms":1787466247000,"timestamp_seconds":1787466247,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4a6b58"} 
[2026-08-23 11:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:57:25] 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-08-23 11:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591282176001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591282176001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:57:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:57:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591282176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":161647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:57:25] local.INFO: GPS data processed {"connection_id":161647,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:57:25] local.INFO: Acknowledgment sent {"connection_id":161647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:57:28] local.INFO: TCP Data received {"connection_id":160705,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4d4da0012d7e5f8005d30358000700462c..."} 
[2026-08-23 11:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4d4da0012d7e5f8005d30358000700462c..."} 
[2026-08-23 11:57:28] local.INFO: Processing buffer {"connection_id":160705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4d4da0012d7e5f8005d30358000700462c..."} 
[2026-08-23 11:57:28] local.INFO: Packet analysis {"connection_id":160705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4d"} 
[2026-08-23 11:57:28] local.INFO: Extracted packet for processing {"connection_id":160705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4d"} 
[2026-08-23 11:57:28] local.INFO: GPS Element Parsed {"raw_longitude":763256704,"raw_latitude":97715032,"longitude_deg":76.3256704,"latitude_deg":9.7715032,"altitude":7,"angle":70,"satellites":44,"speed":11,"hex_longitude":"2d7e5f80","hex_latitude":"05d30358","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591407360001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122604759201873920,"note":"Value kept but may cause issues"} 
[2026-08-23 11:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105715521604743168,"note":"Value kept but may cause issues"} 
[2026-08-23 11:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787466436000,"timestamp_ms":1787466436000,"timestamp_seconds":1787466436,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4d4da0"} 
[2026-08-23 11:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 11:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591407360001,"66":12319,"116":206,"85":15104,"24":11,"16":122604759201873920,"45":9105715521604743168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 11:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591407360001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:57:28] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 11:57:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122604759201873920,"km_value":122604759201873.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105715521604743168,"description":"Unknown IO ID 45"} 
[2026-08-23 11:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591407360001,"power":12319,"unknown_116":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9105715521604743168}} 
[2026-08-23 11:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":160705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:57:28] local.INFO: GPS data processed {"connection_id":160705,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:57:28] local.INFO: Acknowledgment sent {"connection_id":160705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:57:34] local.INFO: TCP Data received {"connection_id":160706,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:57:34] local.INFO: Processing buffer {"connection_id":160706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:57:34] local.INFO: IMEI packet received {"connection_id":160706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":160706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:57:40] local.INFO: TCP Data received {"connection_id":160706,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:57:40] local.INFO: Processing buffer {"connection_id":160706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:57:40] local.INFO: IMEI packet received {"connection_id":160706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":160706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:57:41] local.INFO: TCP Data received {"connection_id":160706,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4bbf30012d181f800721abb80046002328..."} 
[2026-08-23 11:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4bbf30012d181f800721abb80046002328..."} 
[2026-08-23 11:57:41] local.INFO: Processing buffer {"connection_id":160706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4bbf30012d181f800721abb80046002328..."} 
[2026-08-23 11:57:41] local.INFO: Packet analysis {"connection_id":160706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4b"} 
[2026-08-23 11:57:41] local.INFO: Extracted packet for processing {"connection_id":160706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4b"} 
[2026-08-23 11:57:41] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119647160,"longitude_deg":75.6555648,"latitude_deg":11.964716,"altitude":70,"angle":35,"satellites":40,"speed":11,"hex_longitude":"2d181f80","hex_latitude":"0721abb8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 11:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591380992001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15277649643438080,"note":"Value kept but may cause issues"} 
[2026-08-23 11:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585332224,"note":"Value kept but may cause issues"} 
[2026-08-23 11:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787466334000,"timestamp_ms":1787466334000,"timestamp_seconds":1787466334,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4bbf30"} 
[2026-08-23 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-08-23 11:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-23 11:57: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-08-23 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-08-23 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-08-23 11:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591380992001,"66":14428,"105":206,"83":41984,"24":11,"16":15277649643438080,"45":1737896905585332224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 11:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591380992001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:57:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 11:57:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 11:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15277649643438080,"km_value":15277649643438.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585332224,"description":"Unknown IO ID 45"} 
[2026-08-23 11:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591380992001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737896905585332224}} 
[2026-08-23 11:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":160706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:57:41] local.INFO: GPS data processed {"connection_id":160706,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:57:41] local.INFO: Acknowledgment sent {"connection_id":160706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:57:45] local.INFO: TCP Data received {"connection_id":160463,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:57:45] local.INFO: Processing buffer {"connection_id":160463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:57:45] local.INFO: IMEI packet received {"connection_id":160463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 11:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":160463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:57:47] local.INFO: TCP Data received {"connection_id":163052,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:57:47] local.INFO: Processing buffer {"connection_id":163052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:57:47] local.INFO: IMEI packet received {"connection_id":163052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":163052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:57:48] local.INFO: TCP Data received {"connection_id":160463,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:57:48] local.INFO: Processing buffer {"connection_id":160463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:57:48] local.INFO: IMEI packet received {"connection_id":160463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":160463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:57:51] local.INFO: TCP Data received {"connection_id":160463,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:57:51] local.INFO: Processing buffer {"connection_id":160463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:57:51] local.INFO: IMEI packet received {"connection_id":160463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":160463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:57:51] local.INFO: TCP Data received {"connection_id":163052,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:57:51] local.INFO: Processing buffer {"connection_id":163052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:57:51] local.INFO: IMEI packet received {"connection_id":163052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":163052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:57:52] local.INFO: TCP Data received {"connection_id":160463,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4d6ce0012d7e640005d304d8000800332b..."} 
[2026-08-23 11:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4d6ce0012d7e640005d304d8000800332b..."} 
[2026-08-23 11:57:52] local.INFO: Processing buffer {"connection_id":160463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4d6ce0012d7e640005d304d8000800332b..."} 
[2026-08-23 11:57:52] local.INFO: Packet analysis {"connection_id":160463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4d"} 
[2026-08-23 11:57:52] local.INFO: Extracted packet for processing {"connection_id":160463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4d"} 
[2026-08-23 11:57:52] local.INFO: GPS Element Parsed {"raw_longitude":763257856,"raw_latitude":97715416,"longitude_deg":76.3257856,"latitude_deg":9.7715416,"altitude":8,"angle":51,"satellites":43,"speed":10,"hex_longitude":"2d7e6400","hex_latitude":"05d304d8","is_valid_coordinates":true} 
[2026-08-23 11:57: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-08-23 11:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591407616001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122604819331416064,"note":"Value kept but may cause issues"} 
[2026-08-23 11:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106137734069835776,"note":"Value kept but may cause issues"} 
[2026-08-23 11:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787466444000,"timestamp_ms":1787466444000,"timestamp_seconds":1787466444,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4d6ce0"} 
[2026-08-23 11:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:57:52] 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-08-23 11:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 11:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:57: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-08-23 11:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591407616001,"66":12515,"116":206,"85":15104,"24":10,"16":122604819331416064,"45":9106137734069835776},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 11:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591407616001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:57:52] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 11:57:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122604819331416064,"km_value":122604819331416.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106137734069835776,"description":"Unknown IO ID 45"} 
[2026-08-23 11:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591407616001,"power":12515,"unknown_116":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9106137734069835776}} 
[2026-08-23 11:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":160463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:57:52] local.INFO: GPS data processed {"connection_id":160463,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:57:52] local.INFO: Acknowledgment sent {"connection_id":160463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:57:52] local.INFO: TCP Data received {"connection_id":163052,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:57:52] local.INFO: Processing buffer {"connection_id":163052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:57:52] local.INFO: Packet analysis {"connection_id":163052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:57:52] local.INFO: Extracted packet for processing {"connection_id":163052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:57: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-08-23 11:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591282176001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787466247000,"timestamp_ms":1787466247000,"timestamp_seconds":1787466247,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4a6b58"} 
[2026-08-23 11:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:57:52] 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-08-23 11:57: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-08-23 11:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:57:52] 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-08-23 11:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591282176001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591282176001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:57:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591282176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":163052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:57:52] local.INFO: GPS data processed {"connection_id":163052,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:57:52] local.INFO: Acknowledgment sent {"connection_id":163052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:58:12] local.INFO: TCP Data received {"connection_id":160706,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4d6510012d18a2000722c9d0006d000e2c..."} 
[2026-08-23 11:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4d6510012d18a2000722c9d0006d000e2c..."} 
[2026-08-23 11:58:12] local.INFO: Processing buffer {"connection_id":160706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4d6510012d18a2000722c9d0006d000e2c..."} 
[2026-08-23 11:58:12] local.INFO: Packet analysis {"connection_id":160706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4d"} 
[2026-08-23 11:58:12] local.INFO: Extracted packet for processing {"connection_id":160706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4d"} 
[2026-08-23 11:58:12] local.INFO: GPS Element Parsed {"raw_longitude":756589056,"raw_latitude":119720400,"longitude_deg":75.6589056,"latitude_deg":11.97204,"altitude":109,"angle":14,"satellites":44,"speed":45,"hex_longitude":"2d18a200","hex_latitude":"0722c9d0","is_valid_coordinates":true} 
[2026-08-23 11: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-08-23 11:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591408640001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15281678322761728,"note":"Value kept but may cause issues"} 
[2026-08-23 11:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774629390064351232,"note":"Value kept but may cause issues"} 
[2026-08-23 11:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787466442000,"timestamp_ms":1787466442000,"timestamp_seconds":1787466442,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4d6510"} 
[2026-08-23 11:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:58:12] 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-08-23 11: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-23 11:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11: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-08-23 11:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591408640001,"66":14374,"137":206,"83":42752,"24":45,"16":15281678322761728,"45":1774629390064351232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-23 11:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591408640001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:58:12] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-23 11:58:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 11:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15281678322761728,"km_value":15281678322761.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774629390064351232,"description":"Unknown IO ID 45"} 
[2026-08-23 11:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591408640001,"power":14374,"unknown_137":206,"unknown_83":42752,"ignition":45,"odometer":null,"unknown_45":1774629390064351232}} 
[2026-08-23 11:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":160706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:58:12] local.INFO: GPS data processed {"connection_id":160706,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:58:12] local.INFO: Acknowledgment sent {"connection_id":160706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:58:23] local.INFO: TCP Data received {"connection_id":160463,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4d70c8012d7e64c005d305b0000800212b..."} 
[2026-08-23 11:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4d70c8012d7e64c005d305b0000800212b..."} 
[2026-08-23 11:58:23] local.INFO: Processing buffer {"connection_id":160463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4d70c8012d7e64c005d305b0000800212b..."} 
[2026-08-23 11:58:23] local.INFO: Packet analysis {"connection_id":160463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4d"} 
[2026-08-23 11:58:23] local.INFO: Extracted packet for processing {"connection_id":160463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4d"} 
[2026-08-23 11:58:23] local.INFO: GPS Element Parsed {"raw_longitude":763258048,"raw_latitude":97715632,"longitude_deg":76.3258048,"latitude_deg":9.7715632,"altitude":8,"angle":33,"satellites":43,"speed":13,"hex_longitude":"2d7e64c0","hex_latitude":"05d305b0","is_valid_coordinates":true} 
[2026-08-23 11:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591409664001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122604836511285248,"note":"Value kept but may cause issues"} 
[2026-08-23 11:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107404371465132032,"note":"Value kept but may cause issues"} 
[2026-08-23 11:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787466445000,"timestamp_ms":1787466445000,"timestamp_seconds":1787466445,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4d70c8"} 
[2026-08-23 11:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-23 11:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591409664001,"66":12515,"116":206,"85":15104,"24":13,"16":122604836511285248,"45":9107404371465132032},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 11:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591409664001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:58:23] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 11:58:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122604836511285248,"km_value":122604836511285.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107404371465132032,"description":"Unknown IO ID 45"} 
[2026-08-23 11:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591409664001,"power":12515,"unknown_116":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9107404371465132032}} 
[2026-08-23 11:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":160463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:58:23] local.INFO: GPS data processed {"connection_id":160463,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:58:23] local.INFO: Acknowledgment sent {"connection_id":160463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:58:24] local.INFO: TCP Data received {"connection_id":163052,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:58:24] local.INFO: Processing buffer {"connection_id":163052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:58:24] local.INFO: Packet analysis {"connection_id":163052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:58:24] local.INFO: Extracted packet for processing {"connection_id":163052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:58:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591282176001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787466247000,"timestamp_ms":1787466247000,"timestamp_seconds":1787466247,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4a6b58"} 
[2026-08-23 11:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:58:24] 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-08-23 11:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:58:24] 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-08-23 11:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591282176001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591282176001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:58:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:58:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591282176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":163052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:58:24] local.INFO: GPS data processed {"connection_id":163052,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:58:24] local.INFO: Acknowledgment sent {"connection_id":163052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:58:29] local.INFO: TCP Data received {"connection_id":161648,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:58:29] local.INFO: Processing buffer {"connection_id":161648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:58:29] local.INFO: IMEI packet received {"connection_id":161648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":161648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:58:30] local.INFO: TCP Data received {"connection_id":161648,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:58:30] local.INFO: Processing buffer {"connection_id":161648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:58:30] local.INFO: IMEI packet received {"connection_id":161648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":161648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:58:31] local.INFO: TCP Data received {"connection_id":161648,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:58:31] local.INFO: Processing buffer {"connection_id":161648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:58:31] local.INFO: IMEI packet received {"connection_id":161648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":161648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:58:33] local.INFO: TCP Data received {"connection_id":161648,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:58:33] local.INFO: Processing buffer {"connection_id":161648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:58:33] local.INFO: IMEI packet received {"connection_id":161648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":161648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:58:34] local.INFO: TCP Data received {"connection_id":161648,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4d6ce0012d18a5800722d1f8006c001f2b..."} 
[2026-08-23 11:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4d6ce0012d18a5800722d1f8006c001f2b..."} 
[2026-08-23 11:58:34] local.INFO: Processing buffer {"connection_id":161648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4d6ce0012d18a5800722d1f8006c001f2b..."} 
[2026-08-23 11:58:34] local.INFO: Packet analysis {"connection_id":161648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4d"} 
[2026-08-23 11:58:34] local.INFO: Extracted packet for processing {"connection_id":161648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4d"} 
[2026-08-23 11:58:34] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119722488,"longitude_deg":75.6589952,"latitude_deg":11.9722488,"altitude":108,"angle":31,"satellites":43,"speed":45,"hex_longitude":"2d18a580","hex_latitude":"0722d1f8","is_valid_coordinates":true} 
[2026-08-23 11:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591409152001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15281789991911424,"note":"Value kept but may cause issues"} 
[2026-08-23 11:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774981233785819136,"note":"Value kept but may cause issues"} 
[2026-08-23 11:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787466444000,"timestamp_ms":1787466444000,"timestamp_seconds":1787466444,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4d6ce0"} 
[2026-08-23 11:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-23 11:58:34] 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-08-23 11:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591409152001,"66":14374,"137":206,"83":42752,"24":45,"16":15281789991911424,"45":1774981233785819136},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-23 11:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591409152001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:58:34] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-23 11:58:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 11:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15281789991911424,"km_value":15281789991911.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774981233785819136,"description":"Unknown IO ID 45"} 
[2026-08-23 11:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591409152001,"power":14374,"unknown_137":206,"unknown_83":42752,"ignition":45,"odometer":null,"unknown_45":1774981233785819136}} 
[2026-08-23 11:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":161648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:58:34] local.INFO: GPS data processed {"connection_id":161648,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:58:34] local.INFO: Acknowledgment sent {"connection_id":161648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:58:45] local.INFO: TCP Data received {"connection_id":160707,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:58:45] local.INFO: Processing buffer {"connection_id":160707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:58:45] local.INFO: IMEI packet received {"connection_id":160707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 11:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":160707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:58:46] local.INFO: TCP Data received {"connection_id":160464,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:58:46] local.INFO: Processing buffer {"connection_id":160464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:58:46] local.INFO: IMEI packet received {"connection_id":160464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":160464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:58:50] local.INFO: TCP Data received {"connection_id":160707,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160707,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:58:50] local.INFO: Processing buffer {"connection_id":160707,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:58:50] local.INFO: IMEI packet received {"connection_id":160707,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":160707,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:58:51] local.INFO: TCP Data received {"connection_id":160464,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:58:51] local.INFO: Processing buffer {"connection_id":160464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:58:51] local.INFO: IMEI packet received {"connection_id":160464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":160464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:58:51] local.INFO: TCP Data received {"connection_id":160707,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4d74b0012d7e658005d306f0000800112b..."} 
[2026-08-23 11:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4d74b0012d7e658005d306f0000800112b..."} 
[2026-08-23 11:58:51] local.INFO: Processing buffer {"connection_id":160707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4d74b0012d7e658005d306f0000800112b..."} 
[2026-08-23 11:58:51] local.INFO: Packet analysis {"connection_id":160707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4d"} 
[2026-08-23 11:58:51] local.INFO: Extracted packet for processing {"connection_id":160707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4d"} 
[2026-08-23 11:58:51] local.INFO: GPS Element Parsed {"raw_longitude":763258240,"raw_latitude":97715952,"longitude_deg":76.325824,"latitude_deg":9.7715952,"altitude":8,"angle":17,"satellites":43,"speed":14,"hex_longitude":"2d7e6580","hex_latitude":"05d306f0","is_valid_coordinates":true} 
[2026-08-23 11:58: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-08-23 11:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591409920001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122604853691154432,"note":"Value kept but may cause issues"} 
[2026-08-23 11:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107615477697720320,"note":"Value kept but may cause issues"} 
[2026-08-23 11:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787466446000,"timestamp_ms":1787466446000,"timestamp_seconds":1787466446,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4d74b0"} 
[2026-08-23 11:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-23 11:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591409920001,"66":12156,"116":206,"85":15104,"24":14,"16":122604853691154432,"45":9107615477697720320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 11:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591409920001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:58:51] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 11:58:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122604853691154432,"km_value":122604853691154.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107615477697720320,"description":"Unknown IO ID 45"} 
[2026-08-23 11:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591409920001,"power":12156,"unknown_116":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9107615477697720320}} 
[2026-08-23 11:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":160707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:58:51] local.INFO: GPS data processed {"connection_id":160707,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:58:51] local.INFO: Acknowledgment sent {"connection_id":160707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:58:52] local.INFO: TCP Data received {"connection_id":160464,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:58:52] local.INFO: Processing buffer {"connection_id":160464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:58:52] local.INFO: Packet analysis {"connection_id":160464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:58:52] local.INFO: Extracted packet for processing {"connection_id":160464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:58:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591282176001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787466247000,"timestamp_ms":1787466247000,"timestamp_seconds":1787466247,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4a6b58"} 
[2026-08-23 11:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:58:52] 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-08-23 11:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591282176001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591282176001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:58:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:58:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591282176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":160464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:58:52] local.INFO: GPS data processed {"connection_id":160464,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:58:52] local.INFO: Acknowledgment sent {"connection_id":160464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:59:06] local.INFO: TCP Data received {"connection_id":161648,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4e2478012d192e00072333e80054002c22..."} 
[2026-08-23 11:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4e2478012d192e00072333e80054002c22..."} 
[2026-08-23 11:59:06] local.INFO: Processing buffer {"connection_id":161648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4e2478012d192e00072333e80054002c22..."} 
[2026-08-23 11:59:06] local.INFO: Packet analysis {"connection_id":161648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4e"} 
[2026-08-23 11:59:06] local.INFO: Extracted packet for processing {"connection_id":161648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4e"} 
[2026-08-23 11:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756624896,"raw_latitude":119747560,"longitude_deg":75.6624896,"latitude_deg":11.974756,"altitude":84,"angle":44,"satellites":34,"speed":54,"hex_longitude":"2d192e00","hex_latitude":"072333e8","is_valid_coordinates":true} 
[2026-08-23 11:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591419904001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15284199468564480,"note":"Value kept but may cause issues"} 
[2026-08-23 11:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381136115712,"note":"Value kept but may cause issues"} 
[2026-08-23 11:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787466491000,"timestamp_ms":1787466491000,"timestamp_seconds":1787466491,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4e2478"} 
[2026-08-23 11:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-23 11:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591419904001,"66":14461,"186":206,"83":42752,"24":54,"16":15284199468564480,"45":1807069381136115712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-08-23 11:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591419904001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:59:06] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-23 11:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 11:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15284199468564480,"km_value":15284199468564.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381136115712,"description":"Unknown IO ID 45"} 
[2026-08-23 11:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591419904001,"power":14461,"unknown_186":206,"unknown_83":42752,"ignition":54,"odometer":null,"unknown_45":1807069381136115712}} 
[2026-08-23 11:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":161648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:59:06] local.INFO: GPS data processed {"connection_id":161648,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:59:06] local.INFO: Acknowledgment sent {"connection_id":161648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:59:22] local.INFO: TCP Data received {"connection_id":160707,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4f2260012d7e1fc005d3a2b0000901382b..."} 
[2026-08-23 11:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4f2260012d7e1fc005d3a2b0000901382b..."} 
[2026-08-23 11:59:22] local.INFO: Processing buffer {"connection_id":160707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4f2260012d7e1fc005d3a2b0000901382b..."} 
[2026-08-23 11:59:22] local.INFO: Packet analysis {"connection_id":160707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4f"} 
[2026-08-23 11:59:22] local.INFO: Extracted packet for processing {"connection_id":160707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4f"} 
[2026-08-23 11:59:22] local.INFO: GPS Element Parsed {"raw_longitude":763240384,"raw_latitude":97755824,"longitude_deg":76.3240384,"latitude_deg":9.7755824,"altitude":9,"angle":312,"satellites":43,"speed":11,"hex_longitude":"2d7e1fc0","hex_latitude":"05d3a2b0","is_valid_coordinates":true} 
[2026-08-23 11:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591438080001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122607404901728256,"note":"Value kept but may cause issues"} 
[2026-08-23 11:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088475179291648000,"note":"Value kept but may cause issues"} 
[2026-08-23 11:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787466556000,"timestamp_ms":1787466556000,"timestamp_seconds":1787466556,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4f2260"} 
[2026-08-23 11:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 11:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 11:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160707,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 11:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 11:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 11:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591438080001,"66":12939,"109":206,"85":15104,"24":11,"16":122607404901728256,"45":9088475179291648000},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 11:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 11:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 11:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591438080001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:59:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 11:59:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 11:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122607404901728256,"km_value":122607404901728.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088475179291648000,"description":"Unknown IO ID 45"} 
[2026-08-23 11:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591438080001,"power":12939,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9088475179291648000}} 
[2026-08-23 11:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":160707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:59:22] local.INFO: GPS data processed {"connection_id":160707,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:59:22] local.INFO: Acknowledgment sent {"connection_id":160707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:59:24] local.INFO: TCP Data received {"connection_id":160464,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:59:24] local.INFO: Processing buffer {"connection_id":160464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4a6b58012d34c50006aa4098000e008520..."} 
[2026-08-23 11:59:24] local.INFO: Packet analysis {"connection_id":160464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:59:24] local.INFO: Extracted packet for processing {"connection_id":160464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4a"} 
[2026-08-23 11:59:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591282176001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787466247000,"timestamp_ms":1787466247000,"timestamp_seconds":1787466247,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4a6b58"} 
[2026-08-23 11:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 11:59:24] 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-08-23 11:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591282176001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591282176001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:59:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:59:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591282176001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":160464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:59:24] local.INFO: GPS data processed {"connection_id":160464,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:59:24] local.INFO: Acknowledgment sent {"connection_id":160464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:59:34] local.INFO: TCP Data received {"connection_id":163053,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:59:34] local.INFO: Processing buffer {"connection_id":163053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:59:34] local.INFO: IMEI packet received {"connection_id":163053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 11:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":163053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:59:37] local.INFO: TCP Data received {"connection_id":163053,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:59:37] local.INFO: Processing buffer {"connection_id":163053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 11:59:37] local.INFO: IMEI packet received {"connection_id":163053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 11:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":163053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:59:38] local.INFO: TCP Data received {"connection_id":163053,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4e3fd0012d19460007234ed8004f002423..."} 
[2026-08-23 11:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4e3fd0012d19460007234ed8004f002423..."} 
[2026-08-23 11:59:38] local.INFO: Processing buffer {"connection_id":163053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4e3fd0012d19460007234ed8004f002423..."} 
[2026-08-23 11:59:38] local.INFO: Packet analysis {"connection_id":163053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4e"} 
[2026-08-23 11:59:38] local.INFO: Extracted packet for processing {"connection_id":163053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4e"} 
[2026-08-23 11:59:38] local.INFO: GPS Element Parsed {"raw_longitude":756631040,"raw_latitude":119754456,"longitude_deg":75.663104,"latitude_deg":11.9754456,"altitude":79,"angle":36,"satellites":35,"speed":50,"hex_longitude":"2d194600","hex_latitude":"07234ed8","is_valid_coordinates":true} 
[2026-08-23 11:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591421696001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15284641850195968,"note":"Value kept but may cause issues"} 
[2026-08-23 11:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1814387730532263936,"note":"Value kept but may cause issues"} 
[2026-08-23 11:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787466498000,"timestamp_ms":1787466498000,"timestamp_seconds":1787466498,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4e3fd0"} 
[2026-08-23 11:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:59: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-08-23 11:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 11:59: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-08-23 11:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 11:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 11:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 11:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 11:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591421696001,"66":13993,"177":206,"83":42752,"24":50,"16":15284641850195968,"45":1814387730532263936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-08-23 11:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 11:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 11:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591421696001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:59:38] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-23 11:59:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 11:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15284641850195968,"km_value":15284641850195.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1814387730532263936,"description":"Unknown IO ID 45"} 
[2026-08-23 11:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591421696001,"power":13993,"unknown_177":206,"unknown_83":42752,"ignition":50,"odometer":null,"unknown_45":1814387730532263936}} 
[2026-08-23 11:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":163053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:59:38] local.INFO: GPS data processed {"connection_id":163053,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:59:38] local.INFO: Acknowledgment sent {"connection_id":163053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 11:59:46] local.INFO: TCP Data received {"connection_id":160465,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:59:46] local.INFO: Processing buffer {"connection_id":160465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:59:46] local.INFO: IMEI packet received {"connection_id":160465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 11:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":160465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:59:46] local.INFO: TCP Data received {"connection_id":160465,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:59:46] local.INFO: Processing buffer {"connection_id":160465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:59:46] local.INFO: IMEI packet received {"connection_id":160465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":160465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:59:46] local.INFO: TCP Data received {"connection_id":160708,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:59:46] local.INFO: Processing buffer {"connection_id":160708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:59:46] local.INFO: IMEI packet received {"connection_id":160708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 11:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":160708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 11:59:46] local.INFO: TCP Data received {"connection_id":160708,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:59:46] local.INFO: Processing buffer {"connection_id":160708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:59:46] local.INFO: IMEI packet received {"connection_id":160708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":160708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:59:46] local.INFO: TCP Data received {"connection_id":160465,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:59:46] local.INFO: Processing buffer {"connection_id":160465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:59:46] local.INFO: IMEI packet received {"connection_id":160465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":160465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:59:48] local.INFO: TCP Data received {"connection_id":160465,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:59:48] local.INFO: Processing buffer {"connection_id":160465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 11:59:48] local.INFO: IMEI packet received {"connection_id":160465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 11:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":160465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:59:51] local.INFO: TCP Data received {"connection_id":160708,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:59:51] local.INFO: Processing buffer {"connection_id":160708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 11:59:51] local.INFO: IMEI packet received {"connection_id":160708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 11:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":160708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 11:59:52] local.INFO: TCP Data received {"connection_id":160708,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 11:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 11:59:52] local.INFO: Processing buffer {"connection_id":160708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 11:59:52] local.INFO: Packet analysis {"connection_id":160708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4f"} 
[2026-08-23 11:59:52] local.INFO: Extracted packet for processing {"connection_id":160708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4f"} 
[2026-08-23 11:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":34,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 11:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 11:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591359232001,"note":"Value kept but may cause issues"} 
[2026-08-23 11:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 11:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 11:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 11:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787466548000,"timestamp_ms":1787466548000,"timestamp_seconds":1787466548,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4f0320"} 
[2026-08-23 11:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 11:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 11:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 11:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 11:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 11:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 11:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 11:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 11:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 11:59:52] 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-08-23 11:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 11:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 11:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591359232001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 11:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 11:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 11:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591359232001,"description":"Unknown IO ID 0"} 
[2026-08-23 11:59:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 11:59:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 11:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 11:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 11:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591359232001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 11:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":160708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 11:59:52] local.INFO: GPS data processed {"connection_id":160708,"processed":1,"errors":0,"total":1} 
[2026-08-23 11:59:52] local.INFO: Acknowledgment sent {"connection_id":160708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:00:13] local.INFO: TCP Data received {"connection_id":163053,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4e5b28012d19598007236f100049001c23..."} 
[2026-08-23 12:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4e5b28012d19598007236f100049001c23..."} 
[2026-08-23 12:00:13] local.INFO: Processing buffer {"connection_id":163053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4e5b28012d19598007236f100049001c23..."} 
[2026-08-23 12:00:13] local.INFO: Packet analysis {"connection_id":163053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4e"} 
[2026-08-23 12:00:13] local.INFO: Extracted packet for processing {"connection_id":163053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4e"} 
[2026-08-23 12:00:13] local.INFO: GPS Element Parsed {"raw_longitude":756636032,"raw_latitude":119762704,"longitude_deg":75.6636032,"latitude_deg":11.9762704,"altitude":73,"angle":28,"satellites":35,"speed":57,"hex_longitude":"2d195980","hex_latitude":"07236f10","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591423488001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15285110001631232,"note":"Value kept but may cause issues"} 
[2026-08-23 12:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821143129975085056,"note":"Value kept but may cause issues"} 
[2026-08-23 12:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787466505000,"timestamp_ms":1787466505000,"timestamp_seconds":1787466505,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4e5b28"} 
[2026-08-23 12:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:00: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-08-23 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-23 12:00:13] 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-08-23 12: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-08-23 12:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591423488001,"66":13928,"177":206,"83":42752,"24":57,"16":15285110001631232,"45":1821143129975085056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-08-23 12:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591423488001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:00:13] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-23 12:00:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15285110001631232,"km_value":15285110001631.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821143129975085056,"description":"Unknown IO ID 45"} 
[2026-08-23 12:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591423488001,"power":13928,"unknown_177":206,"unknown_83":42752,"ignition":57,"odometer":null,"unknown_45":1821143129975085056}} 
[2026-08-23 12:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":163053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:00:13] local.INFO: GPS data processed {"connection_id":163053,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:00:13] local.INFO: Acknowledgment sent {"connection_id":163053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:00:24] local.INFO: TCP Data received {"connection_id":160708,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:00:24] local.INFO: Processing buffer {"connection_id":160708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:00:24] local.INFO: Packet analysis {"connection_id":160708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4f"} 
[2026-08-23 12:00:24] local.INFO: Extracted packet for processing {"connection_id":160708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4f"} 
[2026-08-23 12:00:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":34,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591359232001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787466548000,"timestamp_ms":1787466548000,"timestamp_seconds":1787466548,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4f0320"} 
[2026-08-23 12:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 12:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:00:24] 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-08-23 12:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591359232001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591359232001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:00:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:00:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591359232001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":160708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:00:24] local.INFO: GPS data processed {"connection_id":160708,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:00:24] local.INFO: Acknowledgment sent {"connection_id":160708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:00:30] local.INFO: TCP Data received {"connection_id":161649,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:00:30] local.INFO: Processing buffer {"connection_id":161649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:00:30] local.INFO: IMEI packet received {"connection_id":161649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":161649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:00:34] local.INFO: TCP Data received {"connection_id":161649,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:00:34] local.INFO: Processing buffer {"connection_id":161649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:00:34] local.INFO: IMEI packet received {"connection_id":161649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":161649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:00:35] local.INFO: TCP Data received {"connection_id":161649,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4e7298012d196c4007238b700045002b22..."} 
[2026-08-23 12:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4e7298012d196c4007238b700045002b22..."} 
[2026-08-23 12:00:35] local.INFO: Processing buffer {"connection_id":161649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4e7298012d196c4007238b700045002b22..."} 
[2026-08-23 12:00:35] local.INFO: Packet analysis {"connection_id":161649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4e"} 
[2026-08-23 12:00:35] local.INFO: Extracted packet for processing {"connection_id":161649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4e"} 
[2026-08-23 12:00:35] local.INFO: GPS Element Parsed {"raw_longitude":756640832,"raw_latitude":119769968,"longitude_deg":75.6640832,"latitude_deg":11.9769968,"altitude":69,"angle":43,"satellites":34,"speed":55,"hex_longitude":"2d196c40","hex_latitude":"07238b70","is_valid_coordinates":true} 
[2026-08-23 12:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591425280001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15285530908426240,"note":"Value kept but may cause issues"} 
[2026-08-23 12:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826631892023054336,"note":"Value kept but may cause issues"} 
[2026-08-23 12:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787466511000,"timestamp_ms":1787466511000,"timestamp_seconds":1787466511,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4e7298"} 
[2026-08-23 12:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:00:35] 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-08-23 12:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 12:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591425280001,"66":13993,"177":206,"83":42752,"24":55,"16":15285530908426240,"45":1826631892023054336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-08-23 12:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591425280001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:00:35] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-23 12:00:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15285530908426240,"km_value":15285530908426.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826631892023054336,"description":"Unknown IO ID 45"} 
[2026-08-23 12:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591425280001,"power":13993,"unknown_177":206,"unknown_83":42752,"ignition":55,"odometer":null,"unknown_45":1826631892023054336}} 
[2026-08-23 12:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":161649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:00:35] local.INFO: GPS data processed {"connection_id":161649,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:00:35] local.INFO: Acknowledgment sent {"connection_id":161649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:00:47] local.INFO: TCP Data received {"connection_id":160466,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:00:47] local.INFO: Processing buffer {"connection_id":160466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:00:47] local.INFO: IMEI packet received {"connection_id":160466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":160466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:00:51] local.INFO: TCP Data received {"connection_id":160466,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:00:51] local.INFO: Processing buffer {"connection_id":160466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:00:51] local.INFO: IMEI packet received {"connection_id":160466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":160466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:00:52] local.INFO: TCP Data received {"connection_id":160466,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:00:52] local.INFO: Processing buffer {"connection_id":160466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:00:52] local.INFO: Packet analysis {"connection_id":160466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4f"} 
[2026-08-23 12:00:52] local.INFO: Extracted packet for processing {"connection_id":160466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4f"} 
[2026-08-23 12:00:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":34,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:00: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-08-23 12:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591359232001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787466548000,"timestamp_ms":1787466548000,"timestamp_seconds":1787466548,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4f0320"} 
[2026-08-23 12:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 12:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:00: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-08-23 12:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:00:52] 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-08-23 12:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591359232001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591359232001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:00:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:00:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591359232001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":160466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:00:52] local.INFO: GPS data processed {"connection_id":160466,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:00:52] local.INFO: Acknowledgment sent {"connection_id":160466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:01:06] local.INFO: TCP Data received {"connection_id":161649,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5010a8012d1ad0c0072439800030003729..."} 
[2026-08-23 12:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5010a8012d1ad0c0072439800030003729..."} 
[2026-08-23 12:01:06] local.INFO: Processing buffer {"connection_id":161649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5010a8012d1ad0c0072439800030003729..."} 
[2026-08-23 12:01:06] local.INFO: Packet analysis {"connection_id":161649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d50"} 
[2026-08-23 12:01:06] local.INFO: Extracted packet for processing {"connection_id":161649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d50"} 
[2026-08-23 12:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756732096,"raw_latitude":119814528,"longitude_deg":75.6732096,"latitude_deg":11.9814528,"altitude":48,"angle":55,"satellites":41,"speed":24,"hex_longitude":"2d1ad0c0","hex_latitude":"07243980","is_valid_coordinates":true} 
[2026-08-23 12:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591451392001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15289727091474432,"note":"Value kept but may cause issues"} 
[2026-08-23 12:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924233340209852416,"note":"Value kept but may cause issues"} 
[2026-08-23 12:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787466617000,"timestamp_ms":1787466617000,"timestamp_seconds":1787466617,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5010a8"} 
[2026-08-23 12:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 12:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591451392001,"66":14341,"176":206,"83":42752,"24":24,"16":15289727091474432,"45":1924233340209852416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-23 12:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591451392001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:01:06] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-23 12:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15289727091474432,"km_value":15289727091474.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924233340209852416,"description":"Unknown IO ID 45"} 
[2026-08-23 12:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591451392001,"power":14341,"unknown_176":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1924233340209852416}} 
[2026-08-23 12:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":161649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:01:06] local.INFO: GPS data processed {"connection_id":161649,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:01:06] local.INFO: Acknowledgment sent {"connection_id":161649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:01:23] local.INFO: TCP Data received {"connection_id":160466,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:01:23] local.INFO: Processing buffer {"connection_id":160466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:01:23] local.INFO: Packet analysis {"connection_id":160466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4f"} 
[2026-08-23 12:01:23] local.INFO: Extracted packet for processing {"connection_id":160466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4f"} 
[2026-08-23 12:01:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":34,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591359232001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787466548000,"timestamp_ms":1787466548000,"timestamp_seconds":1787466548,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4f0320"} 
[2026-08-23 12:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 12:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591359232001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591359232001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:01:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:01:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591359232001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":160466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:01:23] local.INFO: GPS data processed {"connection_id":160466,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:01:23] local.INFO: Acknowledgment sent {"connection_id":160466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:01:30] local.INFO: TCP Data received {"connection_id":160709,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:01:30] local.INFO: Processing buffer {"connection_id":160709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:01:30] local.INFO: IMEI packet received {"connection_id":160709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":160709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:01:35] local.INFO: TCP Data received {"connection_id":160709,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:01:35] local.INFO: Processing buffer {"connection_id":160709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:01:35] local.INFO: IMEI packet received {"connection_id":160709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":160709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:01:36] local.INFO: TCP Data received {"connection_id":160709,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d502430012d1adb00072442100030002c29..."} 
[2026-08-23 12:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d502430012d1adb00072442100030002c29..."} 
[2026-08-23 12:01:36] local.INFO: Processing buffer {"connection_id":160709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d502430012d1adb00072442100030002c29..."} 
[2026-08-23 12:01:36] local.INFO: Packet analysis {"connection_id":160709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d50"} 
[2026-08-23 12:01:36] local.INFO: Extracted packet for processing {"connection_id":160709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d50"} 
[2026-08-23 12:01:36] local.INFO: GPS Element Parsed {"raw_longitude":756734720,"raw_latitude":119816720,"longitude_deg":75.673472,"latitude_deg":11.981672,"altitude":48,"angle":44,"satellites":41,"speed":29,"hex_longitude":"2d1adb00","hex_latitude":"07244210","is_valid_coordinates":true} 
[2026-08-23 12:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591453952001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15289886005264384,"note":"Value kept but may cause issues"} 
[2026-08-23 12:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1932255377046994944,"note":"Value kept but may cause issues"} 
[2026-08-23 12:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787466622000,"timestamp_ms":1787466622000,"timestamp_seconds":1787466622,"priority":1,"record_length":96,"hex_timestamp":"000001a02d502430"} 
[2026-08-23 12:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:01: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-08-23 12:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 12:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6982291195,"note":"Value kept but may cause issues"} 
[2026-08-23 12:01:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-23 12:01:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 12:01:36] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503832895029248,"note":"Value kept but may cause issues"} 
[2026-08-23 12:01:36] local.WARNING: Large IO value detected {"io_id":80,"raw_value":12666576536870656,"note":"Value kept but may cause issues"} 
[2026-08-23 12:01:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596653774,"corrected_to":0} 
[2026-08-23 12:01:36] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,176,83,24,241,157,16,81,160,233,45,64,43,46,39,10,66,137,190,128,28,143,1,240,22,227,80,36,4,113,205,33,85,82,40,41,239,55,2,54,7,23,206],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1596653774,"validated":0}]} 
[2026-08-23 12:01:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458825163055300608,"timestamp_seconds":3458825163055300.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 12:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591453952001,"66":13906,"176":206,"83":42752,"24":29,"16":15289886005264384,"45":1932255377046994944},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-23 12:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591453952001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:01:36] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-23 12:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15289886005264384,"km_value":15289886005264.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1932255377046994944,"description":"Unknown IO ID 45"} 
[2026-08-23 12:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591453952001,"power":13906,"unknown_176":206,"unknown_83":42752,"ignition":29,"odometer":null,"unknown_45":1932255377046994944}} 
[2026-08-23 12:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":160709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:01:36] local.INFO: GPS data processed {"connection_id":160709,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:01:36] local.INFO: Acknowledgment sent {"connection_id":160709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:01:46] local.INFO: TCP Data received {"connection_id":160467,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:01:46] local.INFO: Processing buffer {"connection_id":160467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:01:46] local.INFO: IMEI packet received {"connection_id":160467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":160467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:01:51] local.INFO: TCP Data received {"connection_id":160467,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:01:51] local.INFO: Processing buffer {"connection_id":160467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:01:51] local.INFO: IMEI packet received {"connection_id":160467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":160467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:01:52] local.INFO: TCP Data received {"connection_id":160467,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:01:52] local.INFO: Processing buffer {"connection_id":160467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:01:52] local.INFO: Packet analysis {"connection_id":160467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4f"} 
[2026-08-23 12:01:52] local.INFO: Extracted packet for processing {"connection_id":160467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4f"} 
[2026-08-23 12:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":34,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591359232001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787466548000,"timestamp_ms":1787466548000,"timestamp_seconds":1787466548,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4f0320"} 
[2026-08-23 12:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 12:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591359232001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591359232001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:01:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591359232001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":160467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:01:52] local.INFO: GPS data processed {"connection_id":160467,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:01:52] local.INFO: Acknowledgment sent {"connection_id":160467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:02:07] local.INFO: TCP Data received {"connection_id":160709,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5037b8012d1ae48007244e00002f001e27..."} 
[2026-08-23 12:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5037b8012d1ae48007244e00002f001e27..."} 
[2026-08-23 12:02:07] local.INFO: Processing buffer {"connection_id":160709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5037b8012d1ae48007244e00002f001e27..."} 
[2026-08-23 12:02:07] local.INFO: Packet analysis {"connection_id":160709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d50"} 
[2026-08-23 12:02:07] local.INFO: Extracted packet for processing {"connection_id":160709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d50"} 
[2026-08-23 12:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756737152,"raw_latitude":119819776,"longitude_deg":75.6737152,"latitude_deg":11.9819776,"altitude":47,"angle":30,"satellites":39,"speed":32,"hex_longitude":"2d1ae480","hex_latitude":"07244e00","is_valid_coordinates":true} 
[2026-08-23 12:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591455232001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15290074983825408,"note":"Value kept but may cause issues"} 
[2026-08-23 12:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935140495558840320,"note":"Value kept but may cause issues"} 
[2026-08-23 12:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787466627000,"timestamp_ms":1787466627000,"timestamp_seconds":1787466627,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5037b8"} 
[2026-08-23 12:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:02: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-08-23 12:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-23 12:02:07] 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-08-23 12:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591455232001,"66":14233,"176":206,"83":42752,"24":32,"16":15290074983825408,"45":1935140495558840320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-23 12:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591455232001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:02:07] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-23 12:02:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15290074983825408,"km_value":15290074983825.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935140495558840320,"description":"Unknown IO ID 45"} 
[2026-08-23 12:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591455232001,"power":14233,"unknown_176":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1935140495558840320}} 
[2026-08-23 12:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":160709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:02:07] local.INFO: GPS data processed {"connection_id":160709,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:02:07] local.INFO: Acknowledgment sent {"connection_id":160709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:02:24] local.INFO: TCP Data received {"connection_id":160467,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:02:24] local.INFO: Processing buffer {"connection_id":160467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:02:24] local.INFO: Packet analysis {"connection_id":160467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4f"} 
[2026-08-23 12:02:24] local.INFO: Extracted packet for processing {"connection_id":160467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4f"} 
[2026-08-23 12:02:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":34,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591359232001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787466548000,"timestamp_ms":1787466548000,"timestamp_seconds":1787466548,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4f0320"} 
[2026-08-23 12:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 12:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591359232001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591359232001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:02:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:02:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591359232001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":160467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:02:24] local.INFO: GPS data processed {"connection_id":160467,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:02:24] local.INFO: Acknowledgment sent {"connection_id":160467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:02:29] local.INFO: TCP Data received {"connection_id":163055,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:02:29] local.INFO: Processing buffer {"connection_id":163055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:02:29] local.INFO: IMEI packet received {"connection_id":163055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":163055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:02:34] local.INFO: TCP Data received {"connection_id":163055,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:02:34] local.INFO: Processing buffer {"connection_id":163055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:02:34] local.INFO: IMEI packet received {"connection_id":163055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":163055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:02:35] local.INFO: TCP Data received {"connection_id":163055,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d505ae0012d1af58007246940002b002a25..."} 
[2026-08-23 12:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d505ae0012d1af58007246940002b002a25..."} 
[2026-08-23 12:02:35] local.INFO: Processing buffer {"connection_id":163055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d505ae0012d1af58007246940002b002a25..."} 
[2026-08-23 12:02:35] local.INFO: Packet analysis {"connection_id":163055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d50"} 
[2026-08-23 12:02:35] local.INFO: Extracted packet for processing {"connection_id":163055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d50"} 
[2026-08-23 12:02:35] local.INFO: GPS Element Parsed {"raw_longitude":756741504,"raw_latitude":119826752,"longitude_deg":75.6741504,"latitude_deg":11.9826752,"altitude":43,"angle":42,"satellites":37,"speed":36,"hex_longitude":"2d1af580","hex_latitude":"07246940","is_valid_coordinates":true} 
[2026-08-23 12:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591456512001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15290474415783936,"note":"Value kept but may cause issues"} 
[2026-08-23 12:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1937814507838373888,"note":"Value kept but may cause issues"} 
[2026-08-23 12:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787466636000,"timestamp_ms":1787466636000,"timestamp_seconds":1787466636,"priority":1,"record_length":96,"hex_timestamp":"000001a02d505ae0"} 
[2026-08-23 12:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:02: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-08-23 12:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-23 12:02:35] 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-08-23 12:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591456512001,"66":14135,"176":206,"83":42752,"24":36,"16":15290474415783936,"45":1937814507838373888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-23 12:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591456512001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:02:35] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-23 12:02:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15290474415783936,"km_value":15290474415783.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1937814507838373888,"description":"Unknown IO ID 45"} 
[2026-08-23 12:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591456512001,"power":14135,"unknown_176":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1937814507838373888}} 
[2026-08-23 12:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":163055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:02:35] local.INFO: GPS data processed {"connection_id":163055,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:02:35] local.INFO: Acknowledgment sent {"connection_id":163055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:02:46] local.INFO: TCP Data received {"connection_id":160469,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:02:46] local.INFO: Processing buffer {"connection_id":160469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:02:46] local.INFO: IMEI packet received {"connection_id":160469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":160469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:02:51] local.INFO: TCP Data received {"connection_id":160469,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:02:51] local.INFO: Processing buffer {"connection_id":160469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:02:51] local.INFO: IMEI packet received {"connection_id":160469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":160469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:02:53] local.INFO: TCP Data received {"connection_id":160469,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:02:53] local.INFO: Processing buffer {"connection_id":160469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:02:53] local.INFO: Packet analysis {"connection_id":160469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4f"} 
[2026-08-23 12:02:53] local.INFO: Extracted packet for processing {"connection_id":160469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4f"} 
[2026-08-23 12:02:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":34,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591359232001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787466548000,"timestamp_ms":1787466548000,"timestamp_seconds":1787466548,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4f0320"} 
[2026-08-23 12:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 12:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591359232001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591359232001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:02:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:02:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591359232001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":160469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:02:53] local.INFO: GPS data processed {"connection_id":160469,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:02:53] local.INFO: Acknowledgment sent {"connection_id":160469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:03:06] local.INFO: TCP Data received {"connection_id":163055,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d509190012d1b0e40072483f80028002d25..."} 
[2026-08-23 12:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d509190012d1b0e40072483f80028002d25..."} 
[2026-08-23 12:03:06] local.INFO: Processing buffer {"connection_id":163055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d509190012d1b0e40072483f80028002d25..."} 
[2026-08-23 12:03:06] local.INFO: Packet analysis {"connection_id":163055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d50"} 
[2026-08-23 12:03:06] local.INFO: Extracted packet for processing {"connection_id":163055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d50"} 
[2026-08-23 12:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756747840,"raw_latitude":119833592,"longitude_deg":75.674784,"latitude_deg":11.9833592,"altitude":40,"angle":45,"satellites":37,"speed":22,"hex_longitude":"2d1b0e40","hex_latitude":"072483f8","is_valid_coordinates":true} 
[2026-08-23 12:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591458816001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15290921092382720,"note":"Value kept but may cause issues"} 
[2026-08-23 12:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1942599582444240896,"note":"Value kept but may cause issues"} 
[2026-08-23 12:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787466650000,"timestamp_ms":1787466650000,"timestamp_seconds":1787466650,"priority":1,"record_length":96,"hex_timestamp":"000001a02d509190"} 
[2026-08-23 12:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-23 12:03:06] 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-08-23 12:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591458816001,"66":14157,"136":206,"83":42752,"24":22,"16":15290921092382720,"45":1942599582444240896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-23 12:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591458816001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:03:06] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-23 12:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15290921092382720,"km_value":15290921092382.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1942599582444240896,"description":"Unknown IO ID 45"} 
[2026-08-23 12:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591458816001,"power":14157,"unknown_136":206,"unknown_83":42752,"ignition":22,"odometer":null,"unknown_45":1942599582444240896}} 
[2026-08-23 12:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":163055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:03:06] local.INFO: GPS data processed {"connection_id":163055,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:03:06] local.INFO: Acknowledgment sent {"connection_id":163055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:03:24] local.INFO: TCP Data received {"connection_id":160469,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:03:24] local.INFO: Processing buffer {"connection_id":160469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:03:24] local.INFO: Packet analysis {"connection_id":160469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4f"} 
[2026-08-23 12:03:24] local.INFO: Extracted packet for processing {"connection_id":160469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4f"} 
[2026-08-23 12:03:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":34,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591359232001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787466548000,"timestamp_ms":1787466548000,"timestamp_seconds":1787466548,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4f0320"} 
[2026-08-23 12:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 12:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591359232001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591359232001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:03:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:03:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591359232001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":160469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:03:25] local.INFO: GPS data processed {"connection_id":160469,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:03:25] local.INFO: Acknowledgment sent {"connection_id":160469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:03:29] local.INFO: TCP Data received {"connection_id":161650,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:03:29] local.INFO: Processing buffer {"connection_id":161650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:03:29] local.INFO: IMEI packet received {"connection_id":161650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":161650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:03:39] local.INFO: TCP Data received {"connection_id":161650,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:03:39] local.INFO: Processing buffer {"connection_id":161650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:03:39] local.INFO: IMEI packet received {"connection_id":161650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":161650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:03:41] local.INFO: TCP Data received {"connection_id":161650,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d50d7e0012d1b290007249ac00027003524..."} 
[2026-08-23 12:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d50d7e0012d1b290007249ac00027003524..."} 
[2026-08-23 12:03:41] local.INFO: Processing buffer {"connection_id":161650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d50d7e0012d1b290007249ac00027003524..."} 
[2026-08-23 12:03:41] local.INFO: Packet analysis {"connection_id":161650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d50"} 
[2026-08-23 12:03:41] local.INFO: Extracted packet for processing {"connection_id":161650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d50"} 
[2026-08-23 12:03:41] local.INFO: GPS Element Parsed {"raw_longitude":756754688,"raw_latitude":119839424,"longitude_deg":75.6754688,"latitude_deg":11.9839424,"altitude":39,"angle":53,"satellites":36,"speed":23,"hex_longitude":"2d1b2900","hex_latitude":"07249ac0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 12:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591462400001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15291354884079616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949566088119580672,"note":"Value kept but may cause issues"} 
[2026-08-23 12:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787466668000,"timestamp_ms":1787466668000,"timestamp_seconds":1787466668,"priority":1,"record_length":96,"hex_timestamp":"000001a02d50d7e0"} 
[2026-08-23 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-08-23 12:03:41] 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-08-23 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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 12:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 12:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591462400001,"66":14265,"136":206,"83":42752,"24":23,"16":15291354884079616,"45":1949566088119580672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-23 12:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591462400001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:03:41] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-23 12:03:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15291354884079616,"km_value":15291354884079.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949566088119580672,"description":"Unknown IO ID 45"} 
[2026-08-23 12:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591462400001,"power":14265,"unknown_136":206,"unknown_83":42752,"ignition":23,"odometer":null,"unknown_45":1949566088119580672}} 
[2026-08-23 12:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":161650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:03:41] local.INFO: GPS data processed {"connection_id":161650,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:03:41] local.INFO: Acknowledgment sent {"connection_id":161650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:03:46] local.INFO: TCP Data received {"connection_id":161651,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:03:46] local.INFO: Processing buffer {"connection_id":161651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:03:46] local.INFO: IMEI packet received {"connection_id":161651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":161651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:03:51] local.INFO: TCP Data received {"connection_id":161651,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:03:51] local.INFO: Processing buffer {"connection_id":161651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:03:51] local.INFO: IMEI packet received {"connection_id":161651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":161651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:03:52] local.INFO: TCP Data received {"connection_id":161651,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:03:52] local.INFO: Processing buffer {"connection_id":161651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:03:52] local.INFO: Packet analysis {"connection_id":161651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4f"} 
[2026-08-23 12:03:52] local.INFO: Extracted packet for processing {"connection_id":161651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4f"} 
[2026-08-23 12:03:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":34,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591359232001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787466548000,"timestamp_ms":1787466548000,"timestamp_seconds":1787466548,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4f0320"} 
[2026-08-23 12:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 12:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:03:52] 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-08-23 12:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591359232001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591359232001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:03:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:03:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591359232001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":161651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:03:52] local.INFO: GPS data processed {"connection_id":161651,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:03:52] local.INFO: Acknowledgment sent {"connection_id":161651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:04:12] local.INFO: TCP Data received {"connection_id":161650,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5281a8012d1b62c0072561f8002801542a..."} 
[2026-08-23 12:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5281a8012d1b62c0072561f8002801542a..."} 
[2026-08-23 12:04:12] local.INFO: Processing buffer {"connection_id":161650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5281a8012d1b62c0072561f8002801542a..."} 
[2026-08-23 12:04:12] local.INFO: Packet analysis {"connection_id":161650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d52"} 
[2026-08-23 12:04:12] local.INFO: Extracted packet for processing {"connection_id":161650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d52"} 
[2026-08-23 12:04:12] local.INFO: GPS Element Parsed {"raw_longitude":756769472,"raw_latitude":119890424,"longitude_deg":75.6769472,"latitude_deg":11.9890424,"altitude":40,"angle":340,"satellites":42,"speed":18,"hex_longitude":"2d1b62c0","hex_latitude":"072561f8","is_valid_coordinates":true} 
[2026-08-23 12:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591492608001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15294120843018240,"note":"Value kept but may cause issues"} 
[2026-08-23 12:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973984042362804224,"note":"Value kept but may cause issues"} 
[2026-08-23 12:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787466777000,"timestamp_ms":1787466777000,"timestamp_seconds":1787466777,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5281a8"} 
[2026-08-23 12:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:04:12] 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-08-23 12:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-23 12:04:12] 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-08-23 12:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591492608001,"66":14559,"43":206,"83":41984,"24":18,"16":15294120843018240,"45":1973984042362804224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-23 12:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591492608001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:04:12] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-23 12:04:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 12:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15294120843018240,"km_value":15294120843018.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973984042362804224,"description":"Unknown IO ID 45"} 
[2026-08-23 12:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591492608001,"power":14559,"unknown_43":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1973984042362804224}} 
[2026-08-23 12:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":161650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:04:12] local.INFO: GPS data processed {"connection_id":161650,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:04:12] local.INFO: Acknowledgment sent {"connection_id":161650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:04:24] local.INFO: TCP Data received {"connection_id":161651,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:04:24] local.INFO: Processing buffer {"connection_id":161651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d4f0320012d34c50006aa40980022008520..."} 
[2026-08-23 12:04:24] local.INFO: Packet analysis {"connection_id":161651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d4f"} 
[2026-08-23 12:04:24] local.INFO: Extracted packet for processing {"connection_id":161651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d4f"} 
[2026-08-23 12:04:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":34,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591359232001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787466548000,"timestamp_ms":1787466548000,"timestamp_seconds":1787466548,"priority":1,"record_length":96,"hex_timestamp":"000001a02d4f0320"} 
[2026-08-23 12:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 12:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:04:24] 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-08-23 12:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591359232001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591359232001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:04:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:04:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591359232001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":161651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:04:24] local.INFO: GPS data processed {"connection_id":161651,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:04:24] local.INFO: Acknowledgment sent {"connection_id":161651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:04:37] local.INFO: TCP Data received {"connection_id":163057,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:04:37] local.INFO: Processing buffer {"connection_id":163057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:04:37] local.INFO: IMEI packet received {"connection_id":163057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":163057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:04:38] local.INFO: TCP Data received {"connection_id":163057,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:04:38] local.INFO: Processing buffer {"connection_id":163057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:04:38] local.INFO: IMEI packet received {"connection_id":163057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":163057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:04:41] local.INFO: TCP Data received {"connection_id":163057,"ip":"42.106.6.17","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a02d..."} 
[2026-08-23 12:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163057,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a02d..."} 
[2026-08-23 12:04:41] local.INFO: Processing buffer {"connection_id":163057,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a02d..."} 
[2026-08-23 12:04:41] local.INFO: IMEI packet received {"connection_id":163057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":163057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:04:47] local.INFO: TCP Data received {"connection_id":163057,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d52db80012d1b47c0072584580029014729..."} 
[2026-08-23 12:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d52db80012d1b47c0072584580029014729..."} 
[2026-08-23 12:04:47] local.INFO: Processing buffer {"connection_id":163057,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a02d529148012d1b5f4007256960002801402b..."} 
[2026-08-23 12:04:47] local.INFO: Packet analysis {"connection_id":163057,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02d52"} 
[2026-08-23 12:04:47] local.INFO: Extracted packet for processing {"connection_id":163057,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d52"} 
[2026-08-23 12:04:47] local.INFO: GPS Element Parsed {"raw_longitude":756768576,"raw_latitude":119892320,"longitude_deg":75.6768576,"latitude_deg":11.989232,"altitude":40,"angle":320,"satellites":43,"speed":22,"hex_longitude":"2d1b5f40","hex_latitude":"07256960","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591494912001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15294223922233344,"note":"Value kept but may cause issues"} 
[2026-08-23 12:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973350723666180096,"note":"Value kept but may cause issues"} 
[2026-08-23 12:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787466781000,"timestamp_ms":1787466781000,"timestamp_seconds":1787466781,"priority":1,"record_length":96,"hex_timestamp":"000001a02d529148"} 
[2026-08-23 12:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:04:47] 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-08-23 12: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-23 12:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591494912001,"66":14494,"43":206,"83":41984,"24":22,"16":15294223922233344,"45":1973350723666180096},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-23 12:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591494912001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:04:47] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-23 12:04:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 12:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15294223922233344,"km_value":15294223922233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973350723666180096,"description":"Unknown IO ID 45"} 
[2026-08-23 12:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591494912001,"power":14494,"unknown_43":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1973350723666180096}} 
[2026-08-23 12:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":163057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:04:47] local.INFO: GPS data processed {"connection_id":163057,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:04:47] local.INFO: Acknowledgment sent {"connection_id":163057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:04:47] local.INFO: Packet analysis {"connection_id":163057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d52"} 
[2026-08-23 12:04:47] local.INFO: Extracted packet for processing {"connection_id":163057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d52"} 
[2026-08-23 12:04:47] local.INFO: GPS Element Parsed {"raw_longitude":756762560,"raw_latitude":119899224,"longitude_deg":75.676256,"latitude_deg":11.9899224,"altitude":41,"angle":327,"satellites":41,"speed":19,"hex_longitude":"2d1b47c0","hex_latitude":"07258458","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591495936001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15294666303864832,"note":"Value kept but may cause issues"} 
[2026-08-23 12:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972365561248178176,"note":"Value kept but may cause issues"} 
[2026-08-23 12:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787466800000,"timestamp_ms":1787466800000,"timestamp_seconds":1787466800,"priority":1,"record_length":96,"hex_timestamp":"000001a02d52db80"} 
[2026-08-23 12:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:04:47] 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-08-23 12: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-23 12:04:47] 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-08-23 12: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-08-23 12:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591495936001,"66":14450,"217":206,"83":42752,"24":19,"16":15294666303864832,"45":1972365561248178176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 12:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591495936001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:04:47] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 12:04:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15294666303864832,"km_value":15294666303864.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972365561248178176,"description":"Unknown IO ID 45"} 
[2026-08-23 12:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591495936001,"power":14450,"unknown_217":206,"unknown_83":42752,"ignition":19,"odometer":null,"unknown_45":1972365561248178176}} 
[2026-08-23 12:04:47] local.INFO: TCP Data received {"connection_id":161652,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:04:47] local.INFO: Processing buffer {"connection_id":161652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:04:47] local.INFO: IMEI packet received {"connection_id":161652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":161652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":163057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:04:47] local.INFO: GPS data processed {"connection_id":163057,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:04:47] local.INFO: Acknowledgment sent {"connection_id":163057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:04:48] local.INFO: TCP Data received {"connection_id":163057,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d531de8012d1b37800725a368002a015129..."} 
[2026-08-23 12:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d531de8012d1b37800725a368002a015129..."} 
[2026-08-23 12:04:48] local.INFO: Processing buffer {"connection_id":163057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d531de8012d1b37800725a368002a015129..."} 
[2026-08-23 12:04:48] local.INFO: Packet analysis {"connection_id":163057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:04:48] local.INFO: Extracted packet for processing {"connection_id":163057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:04:48] local.INFO: GPS Element Parsed {"raw_longitude":756758400,"raw_latitude":119907176,"longitude_deg":75.67584,"latitude_deg":11.9907176,"altitude":42,"angle":337,"satellites":41,"speed":18,"hex_longitude":"2d1b3780","hex_latitude":"0725a368","is_valid_coordinates":true} 
[2026-08-23 12:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591500800001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15295100095561728,"note":"Value kept but may cause issues"} 
[2026-08-23 12:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965750899297245184,"note":"Value kept but may cause issues"} 
[2026-08-23 12:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787466817000,"timestamp_ms":1787466817000,"timestamp_seconds":1787466817,"priority":1,"record_length":96,"hex_timestamp":"000001a02d531de8"} 
[2026-08-23 12:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:04:48] 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-08-23 12:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-23 12:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591500800001,"66":14080,"217":206,"83":42752,"24":18,"16":15295100095561728,"45":1965750899297245184},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 12:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591500800001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:04:48] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 12:04:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15295100095561728,"km_value":15295100095561.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965750899297245184,"description":"Unknown IO ID 45"} 
[2026-08-23 12:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591500800001,"power":14080,"unknown_217":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1965750899297245184}} 
[2026-08-23 12:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":163057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:04:48] local.INFO: GPS data processed {"connection_id":163057,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:04:48] local.INFO: Acknowledgment sent {"connection_id":163057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:04:50] local.INFO: TCP Data received {"connection_id":160711,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:04:50] local.INFO: Processing buffer {"connection_id":160711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:04:50] local.INFO: IMEI packet received {"connection_id":160711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 12:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":160711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:04:51] local.INFO: TCP Data received {"connection_id":161652,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:04:51] local.INFO: Processing buffer {"connection_id":161652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:04:51] local.INFO: IMEI packet received {"connection_id":161652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":161652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:04:55] local.INFO: TCP Data received {"connection_id":160711,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:04:55] local.INFO: Processing buffer {"connection_id":160711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:04:55] local.INFO: IMEI packet received {"connection_id":160711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":160711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:04:56] local.INFO: TCP Data received {"connection_id":160711,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d53b258012d7e1c4005d3a7800005007a2a..."} 
[2026-08-23 12:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d53b258012d7e1c4005d3a7800005007a2a..."} 
[2026-08-23 12:04:56] local.INFO: Processing buffer {"connection_id":160711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d53b258012d7e1c4005d3a7800005007a2a..."} 
[2026-08-23 12:04:56] local.INFO: Packet analysis {"connection_id":160711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:04:56] local.INFO: Extracted packet for processing {"connection_id":160711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:04:56] local.INFO: GPS Element Parsed {"raw_longitude":763239488,"raw_latitude":97757056,"longitude_deg":76.3239488,"latitude_deg":9.7757056,"altitude":5,"angle":122,"satellites":42,"speed":8,"hex_longitude":"2d7e1c40","hex_latitude":"05d3a780","is_valid_coordinates":true} 
[2026-08-23 12:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591514368001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122608444283813888,"note":"Value kept but may cause issues"} 
[2026-08-23 12:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086715960687597568,"note":"Value kept but may cause issues"} 
[2026-08-23 12:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787466855000,"timestamp_ms":1787466855000,"timestamp_seconds":1787466855,"priority":1,"record_length":96,"hex_timestamp":"000001a02d53b258"} 
[2026-08-23 12:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-23 12:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591514368001,"66":12798,"109":206,"85":15104,"24":8,"16":122608444283813888,"45":9086715960687597568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 12:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591514368001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:04:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 12:04:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122608444283813888,"km_value":122608444283813.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086715960687597568,"description":"Unknown IO ID 45"} 
[2026-08-23 12:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591514368001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9086715960687597568}} 
[2026-08-23 12:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":160711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:04:56] local.INFO: GPS data processed {"connection_id":160711,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:04:56] local.INFO: Acknowledgment sent {"connection_id":160711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:04:56] local.INFO: TCP Data received {"connection_id":161652,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:04:56] local.INFO: Processing buffer {"connection_id":161652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:04:56] local.INFO: IMEI packet received {"connection_id":161652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":161652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:04:57] local.INFO: TCP Data received {"connection_id":161652,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:04:57] local.INFO: Processing buffer {"connection_id":161652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:04:57] local.INFO: Packet analysis {"connection_id":161652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:04:57] local.INFO: Extracted packet for processing {"connection_id":161652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:04:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591436288001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787466849000,"timestamp_ms":1787466849000,"timestamp_seconds":1787466849,"priority":1,"record_length":96,"hex_timestamp":"000001a02d539ae8"} 
[2026-08-23 12:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:04:57] 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-08-23 12:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591436288001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591436288001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:04:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:04:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591436288001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":161652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:04:57] local.INFO: GPS data processed {"connection_id":161652,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:04:57] local.INFO: Acknowledgment sent {"connection_id":161652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:05:01] local.INFO: TCP Data received {"connection_id":160711,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d53b640012d7e1cc005d3a700000500942b..."} 
[2026-08-23 12:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d53b640012d7e1cc005d3a700000500942b..."} 
[2026-08-23 12:05:01] local.INFO: Processing buffer {"connection_id":160711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d53b640012d7e1cc005d3a700000500942b..."} 
[2026-08-23 12:05:01] local.INFO: Packet analysis {"connection_id":160711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:05:01] local.INFO: Extracted packet for processing {"connection_id":160711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763239616,"raw_latitude":97756928,"longitude_deg":76.3239616,"latitude_deg":9.7756928,"altitude":5,"angle":148,"satellites":43,"speed":7,"hex_longitude":"2d7e1cc0","hex_latitude":"05d3a700","is_valid_coordinates":true} 
[2026-08-23 12:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591514880001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122608448578781184,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087208541896802304,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787466856000,"timestamp_ms":1787466856000,"timestamp_seconds":1787466856,"priority":1,"record_length":96,"hex_timestamp":"000001a02d53b640"} 
[2026-08-23 12:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-23 12:05:01] 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-08-23 12:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591514880001,"66":12765,"109":206,"85":15104,"24":7,"16":122608448578781184,"45":9087208541896802304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 12:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591514880001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:05:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 12:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122608448578781184,"km_value":122608448578781.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087208541896802304,"description":"Unknown IO ID 45"} 
[2026-08-23 12:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591514880001,"power":12765,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9087208541896802304}} 
[2026-08-23 12:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":160711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:05:01] local.INFO: GPS data processed {"connection_id":160711,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:05:01] local.INFO: Acknowledgment sent {"connection_id":160711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:05:02] local.INFO: TCP Data received {"connection_id":161652,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:05:02] local.INFO: Processing buffer {"connection_id":161652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:05:02] local.INFO: Packet analysis {"connection_id":161652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:05:02] local.INFO: Extracted packet for processing {"connection_id":161652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:05:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591436288001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787466849000,"timestamp_ms":1787466849000,"timestamp_seconds":1787466849,"priority":1,"record_length":96,"hex_timestamp":"000001a02d539ae8"} 
[2026-08-23 12:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:05:02] 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-08-23 12:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591436288001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591436288001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:05:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:05:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591436288001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":161652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:05:02] local.INFO: GPS data processed {"connection_id":161652,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:05:02] local.INFO: Acknowledgment sent {"connection_id":161652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:05:25] local.INFO: TCP Data received {"connection_id":160712,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:05:25] local.INFO: Processing buffer {"connection_id":160712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:05:25] local.INFO: IMEI packet received {"connection_id":160712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":160712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:05:27] local.INFO: TCP Data received {"connection_id":160712,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:05:27] local.INFO: Processing buffer {"connection_id":160712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:05:27] local.INFO: IMEI packet received {"connection_id":160712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":160712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:05:30] local.INFO: TCP Data received {"connection_id":160712,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:05:30] local.INFO: Processing buffer {"connection_id":160712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:05:30] local.INFO: IMEI packet received {"connection_id":160712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":160712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:05:30] local.INFO: TCP Data received {"connection_id":160712,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:05:30] local.INFO: Processing buffer {"connection_id":160712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:05:30] local.INFO: IMEI packet received {"connection_id":160712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":160712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:05:46] local.INFO: TCP Data received {"connection_id":161654,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:05:46] local.INFO: Processing buffer {"connection_id":161654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:05:46] local.INFO: IMEI packet received {"connection_id":161654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":161654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:05:47] local.INFO: TCP Data received {"connection_id":161653,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:05:47] local.INFO: Processing buffer {"connection_id":161653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:05:47] local.INFO: IMEI packet received {"connection_id":161653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 12:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":161653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:05:49] local.INFO: TCP Data received {"connection_id":161653,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:05:49] local.INFO: Processing buffer {"connection_id":161653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:05:49] local.INFO: IMEI packet received {"connection_id":161653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":161653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:05:50] local.INFO: TCP Data received {"connection_id":161653,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d54b810012d7e4c0005d3a1d0000600992a..."} 
[2026-08-23 12:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d54b810012d7e4c0005d3a1d0000600992a..."} 
[2026-08-23 12:05:50] local.INFO: Processing buffer {"connection_id":161653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d54b810012d7e4c0005d3a1d0000600992a..."} 
[2026-08-23 12:05:50] local.INFO: Packet analysis {"connection_id":161653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d54"} 
[2026-08-23 12:05:50] local.INFO: Extracted packet for processing {"connection_id":161653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d54"} 
[2026-08-23 12:05:50] local.INFO: GPS Element Parsed {"raw_longitude":763251712,"raw_latitude":97755600,"longitude_deg":76.3251712,"latitude_deg":9.77556,"altitude":6,"angle":153,"satellites":42,"speed":8,"hex_longitude":"2d7e4c00","hex_latitude":"05d3a1d0","is_valid_coordinates":true} 
[2026-08-23 12:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591531520001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122609079938973696,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100297128313559040,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787466922000,"timestamp_ms":1787466922000,"timestamp_seconds":1787466922,"priority":1,"record_length":96,"hex_timestamp":"000001a02d54b810"} 
[2026-08-23 12:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-23 12:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160445947213,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:50] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58077557095399432,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:50] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2724200452,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-23 12:05:50] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2550214014,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:50] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465421,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:50] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2546860032,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3550658560,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:50] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,109,85,24,241,157,16,152,160,172,45,64,163,6,41,10,66,117,42,39,1,240,227,211,4,113,205,15,209,32,144,239,49,2,179,5,8],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-08-23 12:05:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432485378298413056,"timestamp_seconds":432485378298413.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 12:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591531520001,"66":13189,"109":206,"85":15104,"24":8,"16":122609079938973696,"45":9100297128313559040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 12:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591531520001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:05:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 12:05:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122609079938973696,"km_value":122609079938973.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100297128313559040,"description":"Unknown IO ID 45"} 
[2026-08-23 12:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591531520001,"power":13189,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9100297128313559040}} 
[2026-08-23 12:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":161653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:05:50] local.INFO: GPS data processed {"connection_id":161653,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:05:50] local.INFO: Acknowledgment sent {"connection_id":161653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:05:51] local.INFO: TCP Data received {"connection_id":161653,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d54df20012d7e518005d39420000800a52b..."} 
[2026-08-23 12:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d54df20012d7e518005d39420000800a52b..."} 
[2026-08-23 12:05:51] local.INFO: Processing buffer {"connection_id":161653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d54df20012d7e518005d39420000800a52b..."} 
[2026-08-23 12:05:51] local.INFO: Packet analysis {"connection_id":161653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d54"} 
[2026-08-23 12:05:51] local.INFO: Extracted packet for processing {"connection_id":161653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d54"} 
[2026-08-23 12:05:51] local.INFO: GPS Element Parsed {"raw_longitude":763253120,"raw_latitude":97752096,"longitude_deg":76.325312,"latitude_deg":9.7752096,"altitude":8,"angle":165,"satellites":43,"speed":13,"hex_longitude":"2d7e5180","hex_latitude":"05d39420","is_valid_coordinates":true} 
[2026-08-23 12:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591532032001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122609264622567424,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100648972034363392,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787466932000,"timestamp_ms":1787466932000,"timestamp_seconds":1787466932,"priority":1,"record_length":96,"hex_timestamp":"000001a02d54df20"} 
[2026-08-23 12:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 12:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591532032001,"66":13200,"109":206,"85":15104,"24":13,"16":122609264622567424,"45":9100648972034363392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 12:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591532032001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:05:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 12:05:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122609264622567424,"km_value":122609264622567.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100648972034363392,"description":"Unknown IO ID 45"} 
[2026-08-23 12:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591532032001,"power":13200,"unknown_109":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9100648972034363392}} 
[2026-08-23 12:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":161653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:05:51] local.INFO: GPS data processed {"connection_id":161653,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:05:51] local.INFO: Acknowledgment sent {"connection_id":161653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:05:51] local.INFO: TCP Data received {"connection_id":161654,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:05:51] local.INFO: Processing buffer {"connection_id":161654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:05:51] local.INFO: IMEI packet received {"connection_id":161654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":161654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:05:52] local.INFO: TCP Data received {"connection_id":161654,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:05:52] local.INFO: Processing buffer {"connection_id":161654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:05:52] local.INFO: Packet analysis {"connection_id":161654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:05:52] local.INFO: Extracted packet for processing {"connection_id":161654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591436288001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787466849000,"timestamp_ms":1787466849000,"timestamp_seconds":1787466849,"priority":1,"record_length":96,"hex_timestamp":"000001a02d539ae8"} 
[2026-08-23 12:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:05:52] 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-08-23 12:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:05:52] 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-08-23 12:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591436288001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591436288001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:05:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:05:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591436288001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":161654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:05:52] local.INFO: GPS data processed {"connection_id":161654,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:05:52] local.INFO: Acknowledgment sent {"connection_id":161654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:06:22] local.INFO: TCP Data received {"connection_id":161653,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d54ead8012d7e524005d38e88000800b22b..."} 
[2026-08-23 12:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d54ead8012d7e524005d38e88000800b22b..."} 
[2026-08-23 12:06:22] local.INFO: Processing buffer {"connection_id":161653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d54ead8012d7e524005d38e88000800b22b..."} 
[2026-08-23 12:06:22] local.INFO: Packet analysis {"connection_id":161653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d54"} 
[2026-08-23 12:06:22] local.INFO: Extracted packet for processing {"connection_id":161653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d54"} 
[2026-08-23 12:06:22] local.INFO: GPS Element Parsed {"raw_longitude":763253312,"raw_latitude":97750664,"longitude_deg":76.3253312,"latitude_deg":9.7750664,"altitude":8,"angle":178,"satellites":43,"speed":21,"hex_longitude":"2d7e5240","hex_latitude":"05d38e88","is_valid_coordinates":true} 
[2026-08-23 12:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591534592001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122609333342044160,"note":"Value kept but may cause issues"} 
[2026-08-23 12:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102197084405374976,"note":"Value kept but may cause issues"} 
[2026-08-23 12:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787466935000,"timestamp_ms":1787466935000,"timestamp_seconds":1787466935,"priority":1,"record_length":96,"hex_timestamp":"000001a02d54ead8"} 
[2026-08-23 12:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-23 12:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591534592001,"66":13015,"109":206,"85":15104,"24":21,"16":122609333342044160,"45":9102197084405374976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 12:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591534592001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:06:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 12:06:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122609333342044160,"km_value":122609333342044.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102197084405374976,"description":"Unknown IO ID 45"} 
[2026-08-23 12:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591534592001,"power":13015,"unknown_109":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9102197084405374976}} 
[2026-08-23 12:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":161653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:06:22] local.INFO: GPS data processed {"connection_id":161653,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:06:22] local.INFO: Acknowledgment sent {"connection_id":161653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:06:23] local.INFO: TCP Data received {"connection_id":161654,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:06:23] local.INFO: Processing buffer {"connection_id":161654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:06:23] local.INFO: Packet analysis {"connection_id":161654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:06:23] local.INFO: Extracted packet for processing {"connection_id":161654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:06:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591436288001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787466849000,"timestamp_ms":1787466849000,"timestamp_seconds":1787466849,"priority":1,"record_length":96,"hex_timestamp":"000001a02d539ae8"} 
[2026-08-23 12:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:06:23] 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-08-23 12: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-08-23 12:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:06:23] 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-08-23 12:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591436288001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591436288001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:06:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:06:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591436288001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":161654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:06:24] local.INFO: GPS data processed {"connection_id":161654,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:06:24] local.INFO: Acknowledgment sent {"connection_id":161654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:06:45] local.INFO: TCP Data received {"connection_id":163059,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:06:45] local.INFO: Processing buffer {"connection_id":163059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:06:45] local.INFO: IMEI packet received {"connection_id":163059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 12:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":163059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:06:46] local.INFO: TCP Data received {"connection_id":160470,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:06:46] local.INFO: Processing buffer {"connection_id":160470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:06:46] local.INFO: IMEI packet received {"connection_id":160470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":160470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:06:51] local.INFO: TCP Data received {"connection_id":163059,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:06:51] local.INFO: Processing buffer {"connection_id":163059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:06:51] local.INFO: IMEI packet received {"connection_id":163059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":163059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:06:51] local.INFO: TCP Data received {"connection_id":160470,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:06:51] local.INFO: Processing buffer {"connection_id":160470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:06:51] local.INFO: IMEI packet received {"connection_id":160470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":160470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:06:52] local.INFO: TCP Data received {"connection_id":163059,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5519b8012d7e528005d36b38000900ae2a..."} 
[2026-08-23 12:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5519b8012d7e528005d36b38000900ae2a..."} 
[2026-08-23 12:06:52] local.INFO: Processing buffer {"connection_id":163059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5519b8012d7e528005d36b38000900ae2a..."} 
[2026-08-23 12:06:52] local.INFO: Packet analysis {"connection_id":163059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d55"} 
[2026-08-23 12:06:52] local.INFO: Extracted packet for processing {"connection_id":163059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d55"} 
[2026-08-23 12:06:52] local.INFO: GPS Element Parsed {"raw_longitude":763253376,"raw_latitude":97741624,"longitude_deg":76.3253376,"latitude_deg":9.7741624,"altitude":9,"angle":174,"satellites":42,"speed":32,"hex_longitude":"2d7e5280","hex_latitude":"05d36b38","is_valid_coordinates":true} 
[2026-08-23 12:06: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-08-23 12:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591535360001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122609775723675648,"note":"Value kept but may cause issues"} 
[2026-08-23 12:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102408190637541376,"note":"Value kept but may cause issues"} 
[2026-08-23 12:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787466947000,"timestamp_ms":1787466947000,"timestamp_seconds":1787466947,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5519b8"} 
[2026-08-23 12:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 12:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:06: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-08-23 12:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591535360001,"66":13015,"109":206,"85":15104,"24":32,"16":122609775723675648,"45":9102408190637541376},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 12:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591535360001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:06:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 12:06:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122609775723675648,"km_value":122609775723675.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102408190637541376,"description":"Unknown IO ID 45"} 
[2026-08-23 12:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591535360001,"power":13015,"unknown_109":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9102408190637541376}} 
[2026-08-23 12:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":163059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:06:52] local.INFO: GPS data processed {"connection_id":163059,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:06:52] local.INFO: Acknowledgment sent {"connection_id":163059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:06:52] local.INFO: TCP Data received {"connection_id":160470,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:06:52] local.INFO: Processing buffer {"connection_id":160470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:06:52] local.INFO: Packet analysis {"connection_id":160470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:06:52] local.INFO: Extracted packet for processing {"connection_id":160470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:06: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-08-23 12:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591436288001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787466849000,"timestamp_ms":1787466849000,"timestamp_seconds":1787466849,"priority":1,"record_length":96,"hex_timestamp":"000001a02d539ae8"} 
[2026-08-23 12:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:06:52] 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-08-23 12:06: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-08-23 12:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:06:52] 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-08-23 12:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591436288001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591436288001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:06:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591436288001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":160470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:06:52] local.INFO: GPS data processed {"connection_id":160470,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:06:52] local.INFO: Acknowledgment sent {"connection_id":160470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:07:22] local.INFO: TCP Data received {"connection_id":163059,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5563f0012d7e548005d35ba8000500a32b..."} 
[2026-08-23 12:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5563f0012d7e548005d35ba8000500a32b..."} 
[2026-08-23 12:07:22] local.INFO: Processing buffer {"connection_id":163059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5563f0012d7e548005d35ba8000500a32b..."} 
[2026-08-23 12:07:22] local.INFO: Packet analysis {"connection_id":163059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d55"} 
[2026-08-23 12:07:22] local.INFO: Extracted packet for processing {"connection_id":163059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d55"} 
[2026-08-23 12:07:22] local.INFO: GPS Element Parsed {"raw_longitude":763253888,"raw_latitude":97737640,"longitude_deg":76.3253888,"latitude_deg":9.773764,"altitude":5,"angle":163,"satellites":43,"speed":3,"hex_longitude":"2d7e5480","hex_latitude":"05d35ba8","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591538432001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122609973292171264,"note":"Value kept but may cause issues"} 
[2026-08-23 12:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102478559379404800,"note":"Value kept but may cause issues"} 
[2026-08-23 12:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787466966000,"timestamp_ms":1787466966000,"timestamp_seconds":1787466966,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5563f0"} 
[2026-08-23 12:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 12:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591538432001,"66":13059,"109":206,"85":15104,"24":3,"16":122609973292171264,"45":9102478559379404800},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 12:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591538432001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:07:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 12:07:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122609973292171264,"km_value":122609973292171.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102478559379404800,"description":"Unknown IO ID 45"} 
[2026-08-23 12:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591538432001,"power":13059,"unknown_109":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9102478559379404800}} 
[2026-08-23 12:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":163059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:07:22] local.INFO: GPS data processed {"connection_id":163059,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:07:22] local.INFO: Acknowledgment sent {"connection_id":163059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:07:23] local.INFO: TCP Data received {"connection_id":160470,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:07:23] local.INFO: Processing buffer {"connection_id":160470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:07:23] local.INFO: Packet analysis {"connection_id":160470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:07:23] local.INFO: Extracted packet for processing {"connection_id":160470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:07:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591436288001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787466849000,"timestamp_ms":1787466849000,"timestamp_seconds":1787466849,"priority":1,"record_length":96,"hex_timestamp":"000001a02d539ae8"} 
[2026-08-23 12:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:07:23] 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-08-23 12: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-08-23 12:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:07:23] 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-08-23 12:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591436288001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591436288001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:07:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:07:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591436288001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":160470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:07:23] local.INFO: GPS data processed {"connection_id":160470,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:07:23] local.INFO: Acknowledgment sent {"connection_id":160470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:07:46] local.INFO: TCP Data received {"connection_id":160713,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:07:46] local.INFO: Processing buffer {"connection_id":160713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:07:46] local.INFO: IMEI packet received {"connection_id":160713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 12:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":160713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:07:46] local.INFO: TCP Data received {"connection_id":160472,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:07:46] local.INFO: Processing buffer {"connection_id":160472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:07:46] local.INFO: IMEI packet received {"connection_id":160472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":160472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:07:50] local.INFO: TCP Data received {"connection_id":160713,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:07:50] local.INFO: Processing buffer {"connection_id":160713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:07:50] local.INFO: IMEI packet received {"connection_id":160713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":160713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:07:50] local.INFO: TCP Data received {"connection_id":160713,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d569c70012d7e650005d30390000700e82b..."} 
[2026-08-23 12:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d569c70012d7e650005d30390000700e82b..."} 
[2026-08-23 12:07:50] local.INFO: Processing buffer {"connection_id":160713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d569c70012d7e650005d30390000700e82b..."} 
[2026-08-23 12:07:50] local.INFO: Packet analysis {"connection_id":160713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d56"} 
[2026-08-23 12:07:50] local.INFO: Extracted packet for processing {"connection_id":160713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d56"} 
[2026-08-23 12:07:50] local.INFO: GPS Element Parsed {"raw_longitude":763258112,"raw_latitude":97715088,"longitude_deg":76.3258112,"latitude_deg":9.7715088,"altitude":7,"angle":232,"satellites":43,"speed":6,"hex_longitude":"2d7e6500","hex_latitude":"05d30390","is_valid_coordinates":true} 
[2026-08-23 12:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591563520001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122611124343406592,"note":"Value kept but may cause issues"} 
[2026-08-23 12:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107896952674326528,"note":"Value kept but may cause issues"} 
[2026-08-23 12:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787467046000,"timestamp_ms":1787467046000,"timestamp_seconds":1787467046,"priority":1,"record_length":96,"hex_timestamp":"000001a02d569c70"} 
[2026-08-23 12:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 12:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":160713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":160713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":160713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591563520001,"66":12950,"109":206,"85":15104,"24":6,"16":122611124343406592,"45":9107896952674326528},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 12:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591563520001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:07:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 12:07:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122611124343406592,"km_value":122611124343406.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107896952674326528,"description":"Unknown IO ID 45"} 
[2026-08-23 12:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591563520001,"power":12950,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9107896952674326528}} 
[2026-08-23 12:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":160713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:07:50] local.INFO: GPS data processed {"connection_id":160713,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:07:50] local.INFO: Acknowledgment sent {"connection_id":160713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:07:51] local.INFO: TCP Data received {"connection_id":160472,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:07:51] local.INFO: Processing buffer {"connection_id":160472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:07:51] local.INFO: IMEI packet received {"connection_id":160472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":160472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:07:52] local.INFO: TCP Data received {"connection_id":160472,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:07:52] local.INFO: Processing buffer {"connection_id":160472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:07:52] local.INFO: Packet analysis {"connection_id":160472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:07:52] local.INFO: Extracted packet for processing {"connection_id":160472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591436288001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787466849000,"timestamp_ms":1787466849000,"timestamp_seconds":1787466849,"priority":1,"record_length":96,"hex_timestamp":"000001a02d539ae8"} 
[2026-08-23 12:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:07:52] 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-08-23 12:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:07:52] 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-08-23 12:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591436288001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591436288001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:07:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591436288001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":160472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:07:52] local.INFO: GPS data processed {"connection_id":160472,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:07:52] local.INFO: Acknowledgment sent {"connection_id":160472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:08:24] local.INFO: TCP Data received {"connection_id":160472,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:08:24] local.INFO: Processing buffer {"connection_id":160472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:08:24] local.INFO: Packet analysis {"connection_id":160472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:08:24] local.INFO: Extracted packet for processing {"connection_id":160472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:08:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591436288001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787466849000,"timestamp_ms":1787466849000,"timestamp_seconds":1787466849,"priority":1,"record_length":96,"hex_timestamp":"000001a02d539ae8"} 
[2026-08-23 12:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:08:24] 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-08-23 12: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-08-23 12:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:08:24] 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-08-23 12:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591436288001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591436288001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:08:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:08:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591436288001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":160472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:08:24] local.INFO: GPS data processed {"connection_id":160472,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:08:24] local.INFO: Acknowledgment sent {"connection_id":160472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:08:25] local.INFO: TCP Data received {"connection_id":160713,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d56a440012d7e640005d302c8000700f82b..."} 
[2026-08-23 12:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d56a440012d7e640005d302c8000700f82b..."} 
[2026-08-23 12:08:25] local.INFO: Processing buffer {"connection_id":160713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d56a440012d7e640005d302c8000700f82b..."} 
[2026-08-23 12:08:25] local.INFO: Packet analysis {"connection_id":160713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d56"} 
[2026-08-23 12:08:25] local.INFO: Extracted packet for processing {"connection_id":160713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d56"} 
[2026-08-23 12:08:25] local.INFO: GPS Element Parsed {"raw_longitude":763257856,"raw_latitude":97714888,"longitude_deg":76.3257856,"latitude_deg":9.7714888,"altitude":7,"angle":248,"satellites":43,"speed":8,"hex_longitude":"2d7e6400","hex_latitude":"05d302c8","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591563776001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122611141523275776,"note":"Value kept but may cause issues"} 
[2026-08-23 12:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107685846441758720,"note":"Value kept but may cause issues"} 
[2026-08-23 12:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787467048000,"timestamp_ms":1787467048000,"timestamp_seconds":1787467048,"priority":1,"record_length":96,"hex_timestamp":"000001a02d56a440"} 
[2026-08-23 12:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:08:25] 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-08-23 12: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":150,"data_length":795,"current_offset":136} 
[2026-08-23 12:08:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:08:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591563776001,"66":13276,"109":206,"85":15104,"24":8,"16":122611141523275776,"45":9107685846441758720},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 12:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591563776001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:08:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 12:08:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122611141523275776,"km_value":122611141523275.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107685846441758720,"description":"Unknown IO ID 45"} 
[2026-08-23 12:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591563776001,"power":13276,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9107685846441758720}} 
[2026-08-23 12:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":160713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:08:25] local.INFO: GPS data processed {"connection_id":160713,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:08:25] local.INFO: Acknowledgment sent {"connection_id":160713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:08:44] local.INFO: TCP Data received {"connection_id":163060,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163060,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:08:44] local.INFO: Processing buffer {"connection_id":163060,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:08:44] local.INFO: IMEI packet received {"connection_id":163060,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 12:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":163060,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:08:45] local.INFO: TCP Data received {"connection_id":163060,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163060,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:08:45] local.INFO: Processing buffer {"connection_id":163060,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:08:45] local.INFO: IMEI packet received {"connection_id":163060,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":163060,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:08:51] local.INFO: TCP Data received {"connection_id":163060,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163060,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:08:51] local.INFO: Processing buffer {"connection_id":163060,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:08:51] local.INFO: IMEI packet received {"connection_id":163060,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":163060,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:08:51] local.INFO: TCP Data received {"connection_id":160473,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:08:51] local.INFO: Processing buffer {"connection_id":160473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:08:51] local.INFO: IMEI packet received {"connection_id":160473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":160473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:08:52] local.INFO: TCP Data received {"connection_id":163060,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d57a9f8012d7e160005d291c8000200ed29..."} 
[2026-08-23 12:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d57a9f8012d7e160005d291c8000200ed29..."} 
[2026-08-23 12:08:52] local.INFO: Processing buffer {"connection_id":163060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d57a9f8012d7e160005d291c8000200ed29..."} 
[2026-08-23 12:08:52] local.INFO: Packet analysis {"connection_id":163060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d57"} 
[2026-08-23 12:08:52] local.INFO: Extracted packet for processing {"connection_id":163060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d57"} 
[2026-08-23 12:08:52] local.INFO: GPS Element Parsed {"raw_longitude":763237888,"raw_latitude":97685960,"longitude_deg":76.3237888,"latitude_deg":9.768596,"altitude":2,"angle":237,"satellites":41,"speed":6,"hex_longitude":"2d7e1600","hex_latitude":"05d291c8","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591576832001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122612945409540096,"note":"Value kept but may cause issues"} 
[2026-08-23 12:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090938085321125888,"note":"Value kept but may cause issues"} 
[2026-08-23 12:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787467115000,"timestamp_ms":1787467115000,"timestamp_seconds":1787467115,"priority":1,"record_length":96,"hex_timestamp":"000001a02d57a9f8"} 
[2026-08-23 12:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 12:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591576832001,"66":12874,"116":206,"85":15104,"24":6,"16":122612945409540096,"45":9090938085321125888},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 12:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591576832001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:08:52] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 12:08:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122612945409540096,"km_value":122612945409540.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090938085321125888,"description":"Unknown IO ID 45"} 
[2026-08-23 12:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591576832001,"power":12874,"unknown_116":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9090938085321125888}} 
[2026-08-23 12:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":163060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:08:52] local.INFO: GPS data processed {"connection_id":163060,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:08:52] local.INFO: Acknowledgment sent {"connection_id":163060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:08:56] local.INFO: TCP Data received {"connection_id":160473,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:08:56] local.INFO: Processing buffer {"connection_id":160473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:08:56] local.INFO: IMEI packet received {"connection_id":160473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":160473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:08:57] local.INFO: TCP Data received {"connection_id":160473,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:08:57] local.INFO: Processing buffer {"connection_id":160473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:08:57] local.INFO: Packet analysis {"connection_id":160473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:08:57] local.INFO: Extracted packet for processing {"connection_id":160473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:08:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591436288001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787466849000,"timestamp_ms":1787466849000,"timestamp_seconds":1787466849,"priority":1,"record_length":96,"hex_timestamp":"000001a02d539ae8"} 
[2026-08-23 12:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:08:57] 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-08-23 12:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591436288001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591436288001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:08:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:08:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591436288001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":160473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:08:57] local.INFO: GPS data processed {"connection_id":160473,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:08:57] local.INFO: Acknowledgment sent {"connection_id":160473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:09:01] local.INFO: TCP Data received {"connection_id":160473,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:09:01] local.INFO: Processing buffer {"connection_id":160473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d539ae8012d34c50006aa4098003a008522..."} 
[2026-08-23 12:09:01] local.INFO: Packet analysis {"connection_id":160473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:09:01] local.INFO: Extracted packet for processing {"connection_id":160473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d53"} 
[2026-08-23 12:09:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591436288001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787466849000,"timestamp_ms":1787466849000,"timestamp_seconds":1787466849,"priority":1,"record_length":96,"hex_timestamp":"000001a02d539ae8"} 
[2026-08-23 12:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:09:01] 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-08-23 12:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591436288001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591436288001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:09:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:09:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591436288001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":160473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:09:01] local.INFO: GPS data processed {"connection_id":160473,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:09:01] local.INFO: Acknowledgment sent {"connection_id":160473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:09:23] local.INFO: TCP Data received {"connection_id":163060,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d57bd80012d7e134005d29050000301012b..."} 
[2026-08-23 12:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d57bd80012d7e134005d29050000301012b..."} 
[2026-08-23 12:09:23] local.INFO: Processing buffer {"connection_id":163060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d57bd80012d7e134005d29050000301012b..."} 
[2026-08-23 12:09:23] local.INFO: Packet analysis {"connection_id":163060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d57"} 
[2026-08-23 12:09:23] local.INFO: Extracted packet for processing {"connection_id":163060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d57"} 
[2026-08-23 12:09:23] local.INFO: GPS Element Parsed {"raw_longitude":763237184,"raw_latitude":97685584,"longitude_deg":76.3237184,"latitude_deg":9.7685584,"altitude":3,"angle":257,"satellites":43,"speed":8,"hex_longitude":"2d7e1340","hex_latitude":"05d29050","is_valid_coordinates":true} 
[2026-08-23 12:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591581440001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122612988359213056,"note":"Value kept but may cause issues"} 
[2026-08-23 12:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085449323274160128,"note":"Value kept but may cause issues"} 
[2026-08-23 12:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787467120000,"timestamp_ms":1787467120000,"timestamp_seconds":1787467120,"priority":1,"record_length":96,"hex_timestamp":"000001a02d57bd80"} 
[2026-08-23 12:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-23 12:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591581440001,"66":13015,"116":206,"85":15104,"24":8,"16":122612988359213056,"45":9085449323274160128},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 12:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591581440001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:09:23] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 12:09:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122612988359213056,"km_value":122612988359213.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085449323274160128,"description":"Unknown IO ID 45"} 
[2026-08-23 12:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591581440001,"power":13015,"unknown_116":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9085449323274160128}} 
[2026-08-23 12:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":163060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:09:23] local.INFO: GPS data processed {"connection_id":163060,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:09:23] local.INFO: Acknowledgment sent {"connection_id":163060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:09:44] local.INFO: TCP Data received {"connection_id":160716,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:09:44] local.INFO: Processing buffer {"connection_id":160716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:09:44] local.INFO: IMEI packet received {"connection_id":160716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 12:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":160716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:09:46] local.INFO: TCP Data received {"connection_id":160715,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:09:46] local.INFO: Processing buffer {"connection_id":160715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:09:46] local.INFO: IMEI packet received {"connection_id":160715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":160715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:09:47] local.INFO: TCP Data received {"connection_id":160716,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:09:47] local.INFO: Processing buffer {"connection_id":160716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:09:47] local.INFO: IMEI packet received {"connection_id":160716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":160716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:09:48] local.INFO: TCP Data received {"connection_id":160715,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:09:48] local.INFO: Processing buffer {"connection_id":160715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:09:48] local.INFO: IMEI packet received {"connection_id":160715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":160715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:09:49] local.INFO: TCP Data received {"connection_id":160715,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:09:49] local.INFO: Processing buffer {"connection_id":160715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:09:49] local.INFO: Packet analysis {"connection_id":160715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:09:49] local.INFO: Extracted packet for processing {"connection_id":160715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:09:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591513344001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787467150000,"timestamp_ms":1787467150000,"timestamp_seconds":1787467150,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5832b0"} 
[2026-08-23 12:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:09: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-08-23 12:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 12:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":160715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":160715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":160715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591513344001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591513344001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:09:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:09:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591513344001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":160715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:09:49] local.INFO: GPS data processed {"connection_id":160715,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:09:49] local.INFO: Acknowledgment sent {"connection_id":160715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:09:51] local.INFO: TCP Data received {"connection_id":160716,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160716,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:09:51] local.INFO: Processing buffer {"connection_id":160716,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:09:51] local.INFO: IMEI packet received {"connection_id":160716,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":160716,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:09:53] local.INFO: TCP Data received {"connection_id":160716,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d57c550012d7e110005d290200004010d2b..."} 
[2026-08-23 12:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d57c550012d7e110005d290200004010d2b..."} 
[2026-08-23 12:09:53] local.INFO: Processing buffer {"connection_id":160716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d57c550012d7e110005d290200004010d2b..."} 
[2026-08-23 12:09:53] local.INFO: Packet analysis {"connection_id":160716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d57"} 
[2026-08-23 12:09:53] local.INFO: Extracted packet for processing {"connection_id":160716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d57"} 
[2026-08-23 12:09:53] local.INFO: GPS Element Parsed {"raw_longitude":763236608,"raw_latitude":97685536,"longitude_deg":76.3236608,"latitude_deg":9.7685536,"altitude":4,"angle":269,"satellites":43,"speed":12,"hex_longitude":"2d7e1100","hex_latitude":"05d29020","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591582720001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122613014129016832,"note":"Value kept but may cause issues"} 
[2026-08-23 12:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084675267088109568,"note":"Value kept but may cause issues"} 
[2026-08-23 12:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787467122000,"timestamp_ms":1787467122000,"timestamp_seconds":1787467122,"priority":1,"record_length":96,"hex_timestamp":"000001a02d57c550"} 
[2026-08-23 12:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:09: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-08-23 12: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 12:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591582720001,"66":12374,"116":206,"85":15104,"24":12,"16":122613014129016832,"45":9084675267088109568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 12:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591582720001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:09:53] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 12:09:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122613014129016832,"km_value":122613014129016.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084675267088109568,"description":"Unknown IO ID 45"} 
[2026-08-23 12:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591582720001,"power":12374,"unknown_116":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9084675267088109568}} 
[2026-08-23 12:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":160716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:09:53] local.INFO: GPS data processed {"connection_id":160716,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:09:53] local.INFO: Acknowledgment sent {"connection_id":160716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:10:21] local.INFO: TCP Data received {"connection_id":160715,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:10:21] local.INFO: Processing buffer {"connection_id":160715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:10:21] local.INFO: Packet analysis {"connection_id":160715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:10:21] local.INFO: Extracted packet for processing {"connection_id":160715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:10:21] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591513344001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787467150000,"timestamp_ms":1787467150000,"timestamp_seconds":1787467150,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5832b0"} 
[2026-08-23 12:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:10: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-08-23 12: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":194,"data_length":795,"current_offset":136} 
[2026-08-23 12:10: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-08-23 12: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-08-23 12:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":160715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":160715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":160715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591513344001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591513344001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:10:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:10:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591513344001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":160715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:10:21] local.INFO: GPS data processed {"connection_id":160715,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:10:21] local.INFO: Acknowledgment sent {"connection_id":160715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:10:24] local.INFO: TCP Data received {"connection_id":160716,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d57ffe8012d7decc005d29188000601102a..."} 
[2026-08-23 12:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d57ffe8012d7decc005d29188000601102a..."} 
[2026-08-23 12:10:24] local.INFO: Processing buffer {"connection_id":160716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d57ffe8012d7decc005d29188000601102a..."} 
[2026-08-23 12:10:24] local.INFO: Packet analysis {"connection_id":160716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d57"} 
[2026-08-23 12:10:24] local.INFO: Extracted packet for processing {"connection_id":160716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d57"} 
[2026-08-23 12:10:24] local.INFO: GPS Element Parsed {"raw_longitude":763227328,"raw_latitude":97685896,"longitude_deg":76.3227328,"latitude_deg":9.7685896,"altitude":6,"angle":272,"satellites":42,"speed":25,"hex_longitude":"2d7decc0","hex_latitude":"05d29188","is_valid_coordinates":true} 
[2026-08-23 12:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591583232001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122613456510648320,"note":"Value kept but may cause issues"} 
[2026-08-23 12:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084041948390498304,"note":"Value kept but may cause issues"} 
[2026-08-23 12:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787467137000,"timestamp_ms":1787467137000,"timestamp_seconds":1787467137,"priority":1,"record_length":96,"hex_timestamp":"000001a02d57ffe8"} 
[2026-08-23 12:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 12:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160716,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591583232001,"66":12885,"116":206,"85":15104,"24":25,"16":122613456510648320,"45":9084041948390498304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 12:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591583232001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:10:24] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 12:10:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122613456510648320,"km_value":122613456510648.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084041948390498304,"description":"Unknown IO ID 45"} 
[2026-08-23 12:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591583232001,"power":12885,"unknown_116":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9084041948390498304}} 
[2026-08-23 12:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":160716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:10:24] local.INFO: GPS data processed {"connection_id":160716,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:10:24] local.INFO: Acknowledgment sent {"connection_id":160716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:10:34] local.INFO: TCP Data received {"connection_id":163061,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:10:34] local.INFO: Processing buffer {"connection_id":163061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:10:34] local.INFO: IMEI packet received {"connection_id":163061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":163061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:10:34] local.INFO: TCP Data received {"connection_id":163061,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:10:34] local.INFO: Processing buffer {"connection_id":163061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:10:34] local.INFO: IMEI packet received {"connection_id":163061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":163061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:10:37] local.INFO: TCP Data received {"connection_id":163061,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:10:37] local.INFO: Processing buffer {"connection_id":163061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:10:37] local.INFO: IMEI packet received {"connection_id":163061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":163061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:10:45] local.INFO: TCP Data received {"connection_id":160475,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:10:45] local.INFO: Processing buffer {"connection_id":160475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:10:45] local.INFO: IMEI packet received {"connection_id":160475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 12:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":160475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:10:46] local.INFO: TCP Data received {"connection_id":161655,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:10:46] local.INFO: Processing buffer {"connection_id":161655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:10:46] local.INFO: IMEI packet received {"connection_id":161655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":161655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:10:46] local.INFO: TCP Data received {"connection_id":160475,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:10:46] local.INFO: Processing buffer {"connection_id":160475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:10:46] local.INFO: IMEI packet received {"connection_id":160475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":160475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:10:47] local.INFO: TCP Data received {"connection_id":163061,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d58d6c0012d170a40072513000027010521..."} 
[2026-08-23 12:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d58d6c0012d170a40072513000027010521..."} 
[2026-08-23 12:10:47] local.INFO: Processing buffer {"connection_id":163061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d58d6c0012d170a40072513000027010521..."} 
[2026-08-23 12:10:47] local.INFO: Packet analysis {"connection_id":163061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:10:47] local.INFO: Extracted packet for processing {"connection_id":163061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:10:47] local.INFO: GPS Element Parsed {"raw_longitude":756484672,"raw_latitude":119870208,"longitude_deg":75.6484672,"latitude_deg":11.9870208,"altitude":39,"angle":261,"satellites":33,"speed":44,"hex_longitude":"2d170a40","hex_latitude":"07251300","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591600384001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15311635719651328,"note":"Value kept but may cause issues"} 
[2026-08-23 12:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1663939355512033280,"note":"Value kept but may cause issues"} 
[2026-08-23 12:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787467192000,"timestamp_ms":1787467192000,"timestamp_seconds":1787467192,"priority":1,"record_length":96,"hex_timestamp":"000001a02d58d6c0"} 
[2026-08-23 12:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:10:47] 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-08-23 12: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-23 12:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591600384001,"66":13993,"135":206,"83":42752,"24":44,"16":15311635719651328,"45":1663939355512033280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-23 12:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591600384001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:10:47] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-23 12:10:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15311635719651328,"km_value":15311635719651.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1663939355512033280,"description":"Unknown IO ID 45"} 
[2026-08-23 12:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591600384001,"power":13993,"unknown_135":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1663939355512033280}} 
[2026-08-23 12:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":163061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:10:47] local.INFO: GPS data processed {"connection_id":163061,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:10:47] local.INFO: Acknowledgment sent {"connection_id":163061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:10:51] local.INFO: TCP Data received {"connection_id":160475,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:10:51] local.INFO: Processing buffer {"connection_id":160475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:10:51] local.INFO: IMEI packet received {"connection_id":160475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":160475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:10:51] local.INFO: TCP Data received {"connection_id":161655,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:10:51] local.INFO: Processing buffer {"connection_id":161655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:10:51] local.INFO: IMEI packet received {"connection_id":161655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":161655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:10:51] local.INFO: TCP Data received {"connection_id":160475,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5832b0012d7dc78005d29040000901092a..."} 
[2026-08-23 12:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5832b0012d7dc78005d29040000901092a..."} 
[2026-08-23 12:10:51] local.INFO: Processing buffer {"connection_id":160475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5832b0012d7dc78005d29040000901092a..."} 
[2026-08-23 12:10:51] local.INFO: Packet analysis {"connection_id":160475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:10:51] local.INFO: Extracted packet for processing {"connection_id":160475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:10:51] local.INFO: GPS Element Parsed {"raw_longitude":763217792,"raw_latitude":97685568,"longitude_deg":76.3217792,"latitude_deg":9.7685568,"altitude":9,"angle":265,"satellites":42,"speed":29,"hex_longitude":"2d7dc780","hex_latitude":"05d29040","is_valid_coordinates":true} 
[2026-08-23 12:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591587072001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122613916072148992,"note":"Value kept but may cause issues"} 
[2026-08-23 12:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9073838480484829184,"note":"Value kept but may cause issues"} 
[2026-08-23 12:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787467150000,"timestamp_ms":1787467150000,"timestamp_seconds":1787467150,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5832b0"} 
[2026-08-23 12:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-23 12:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591587072001,"66":12906,"116":206,"85":15104,"24":29,"16":122613916072148992,"45":9073838480484829184},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 12:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591587072001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:10:51] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 12:10:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122613916072148992,"km_value":122613916072148.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9073838480484829184,"description":"Unknown IO ID 45"} 
[2026-08-23 12:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591587072001,"power":12906,"unknown_116":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9073838480484829184}} 
[2026-08-23 12:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":160475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:10:52] local.INFO: GPS data processed {"connection_id":160475,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:10:52] local.INFO: Acknowledgment sent {"connection_id":160475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:10:52] local.INFO: TCP Data received {"connection_id":161655,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:10:52] local.INFO: Processing buffer {"connection_id":161655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:10:52] local.INFO: Packet analysis {"connection_id":161655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:10:52] local.INFO: Extracted packet for processing {"connection_id":161655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:10:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591513344001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787467150000,"timestamp_ms":1787467150000,"timestamp_seconds":1787467150,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5832b0"} 
[2026-08-23 12:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 12:10:52] 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-08-23 12:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591513344001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591513344001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:10:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:10:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591513344001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":161655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:10:52] local.INFO: GPS data processed {"connection_id":161655,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:10:52] local.INFO: Acknowledgment sent {"connection_id":161655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:11:23] local.INFO: TCP Data received {"connection_id":160475,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d586190012d7da44005d28ed0000a010e2a..."} 
[2026-08-23 12:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d586190012d7da44005d28ed0000a010e2a..."} 
[2026-08-23 12:11:23] local.INFO: Processing buffer {"connection_id":160475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d586190012d7da44005d28ed0000a010e2a..."} 
[2026-08-23 12:11:23] local.INFO: Packet analysis {"connection_id":160475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:11:23] local.INFO: Extracted packet for processing {"connection_id":160475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:11:23] local.INFO: GPS Element Parsed {"raw_longitude":763208768,"raw_latitude":97685200,"longitude_deg":76.3208768,"latitude_deg":9.76852,"altitude":10,"angle":270,"satellites":42,"speed":28,"hex_longitude":"2d7da440","hex_latitude":"05d28ed0","is_valid_coordinates":true} 
[2026-08-23 12:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591590400001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122614345568878592,"note":"Value kept but may cause issues"} 
[2026-08-23 12:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063353537602273280,"note":"Value kept but may cause issues"} 
[2026-08-23 12:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787467162000,"timestamp_ms":1787467162000,"timestamp_seconds":1787467162,"priority":1,"record_length":96,"hex_timestamp":"000001a02d586190"} 
[2026-08-23 12:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-23 12:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591590400001,"66":12928,"116":206,"85":15104,"24":28,"16":122614345568878592,"45":9063353537602273280},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 12:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591590400001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:11:23] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 12:11:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122614345568878592,"km_value":122614345568878.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063353537602273280,"description":"Unknown IO ID 45"} 
[2026-08-23 12:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591590400001,"power":12928,"unknown_116":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9063353537602273280}} 
[2026-08-23 12:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":160475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:11:23] local.INFO: GPS data processed {"connection_id":160475,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:11:23] local.INFO: Acknowledgment sent {"connection_id":160475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:11:24] local.INFO: TCP Data received {"connection_id":161655,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:11:24] local.INFO: Processing buffer {"connection_id":161655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:11:24] local.INFO: Packet analysis {"connection_id":161655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:11:24] local.INFO: Extracted packet for processing {"connection_id":161655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:11:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591513344001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787467150000,"timestamp_ms":1787467150000,"timestamp_seconds":1787467150,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5832b0"} 
[2026-08-23 12:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 12:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591513344001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591513344001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:11:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:11:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591513344001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":161655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:11:24] local.INFO: GPS data processed {"connection_id":161655,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:11:24] local.INFO: Acknowledgment sent {"connection_id":161655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:11:30] local.INFO: TCP Data received {"connection_id":163062,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:11:30] local.INFO: Processing buffer {"connection_id":163062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:11:30] local.INFO: IMEI packet received {"connection_id":163062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":163062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:11:33] local.INFO: TCP Data received {"connection_id":163062,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:11:33] local.INFO: Processing buffer {"connection_id":163062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:11:33] local.INFO: IMEI packet received {"connection_id":163062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":163062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:11:34] local.INFO: TCP Data received {"connection_id":163062,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d599240012d1696c0072595d8002c015327..."} 
[2026-08-23 12:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d599240012d1696c0072595d8002c015327..."} 
[2026-08-23 12:11:34] local.INFO: Processing buffer {"connection_id":163062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d599240012d1696c0072595d8002c015327..."} 
[2026-08-23 12:11:34] local.INFO: Packet analysis {"connection_id":163062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d59"} 
[2026-08-23 12:11:34] local.INFO: Extracted packet for processing {"connection_id":163062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d59"} 
[2026-08-23 12:11:34] local.INFO: GPS Element Parsed {"raw_longitude":756455104,"raw_latitude":119903704,"longitude_deg":75.6455104,"latitude_deg":11.9903704,"altitude":44,"angle":339,"satellites":39,"speed":44,"hex_longitude":"2d1696c0","hex_latitude":"072595d8","is_valid_coordinates":true} 
[2026-08-23 12:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591611392001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15314088145977344,"note":"Value kept but may cause issues"} 
[2026-08-23 12:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1630443833289531392,"note":"Value kept but may cause issues"} 
[2026-08-23 12:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787467240000,"timestamp_ms":1787467240000,"timestamp_seconds":1787467240,"priority":1,"record_length":96,"hex_timestamp":"000001a02d599240"} 
[2026-08-23 12:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 12:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591611392001,"66":14407,"135":206,"83":42752,"24":44,"16":15314088145977344,"45":1630443833289531392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-23 12:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591611392001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:11:34] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-23 12:11:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15314088145977344,"km_value":15314088145977.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1630443833289531392,"description":"Unknown IO ID 45"} 
[2026-08-23 12:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591611392001,"power":14407,"unknown_135":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1630443833289531392}} 
[2026-08-23 12:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":163062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:11:34] local.INFO: GPS data processed {"connection_id":163062,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:11:34] local.INFO: Acknowledgment sent {"connection_id":163062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:11:45] local.INFO: TCP Data received {"connection_id":161656,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:11:45] local.INFO: Processing buffer {"connection_id":161656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:11:45] local.INFO: IMEI packet received {"connection_id":161656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 12:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":161656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:11:46] local.INFO: TCP Data received {"connection_id":161657,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:11:46] local.INFO: Processing buffer {"connection_id":161657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:11:46] local.INFO: IMEI packet received {"connection_id":161657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":161657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:11:51] local.INFO: TCP Data received {"connection_id":161656,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:11:51] local.INFO: Processing buffer {"connection_id":161656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:11:51] local.INFO: IMEI packet received {"connection_id":161656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":161656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:11:51] local.INFO: TCP Data received {"connection_id":161657,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:11:51] local.INFO: Processing buffer {"connection_id":161657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:11:51] local.INFO: IMEI packet received {"connection_id":161657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":161657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:11:52] local.INFO: TCP Data received {"connection_id":161656,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d58afb0012d7d88c005d28ea00009010c2b..."} 
[2026-08-23 12:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d58afb0012d7d88c005d28ea00009010c2b..."} 
[2026-08-23 12:11:52] local.INFO: Processing buffer {"connection_id":161656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d58afb0012d7d88c005d28ea00009010c2b..."} 
[2026-08-23 12:11:52] local.INFO: Packet analysis {"connection_id":161656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:11:52] local.INFO: Extracted packet for processing {"connection_id":161656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:11:52] local.INFO: GPS Element Parsed {"raw_longitude":763201728,"raw_latitude":97685152,"longitude_deg":76.3201728,"latitude_deg":9.7685152,"altitude":9,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d7d88c0","hex_latitude":"05d28ea0","is_valid_coordinates":true} 
[2026-08-23 12:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591593472001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122614680576327680,"note":"Value kept but may cause issues"} 
[2026-08-23 12:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9053431544673128448,"note":"Value kept but may cause issues"} 
[2026-08-23 12:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787467182000,"timestamp_ms":1787467182000,"timestamp_seconds":1787467182,"priority":1,"record_length":96,"hex_timestamp":"000001a02d58afb0"} 
[2026-08-23 12:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-23 12:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591593472001,"66":12765,"116":206,"85":15104,"24":0,"16":122614680576327680,"45":9053431544673128448},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 12:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591593472001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:11:52] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 12:11:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122614680576327680,"km_value":122614680576327.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9053431544673128448,"description":"Unknown IO ID 45"} 
[2026-08-23 12:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591593472001,"power":12765,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9053431544673128448}} 
[2026-08-23 12:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":161656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:11:52] local.INFO: GPS data processed {"connection_id":161656,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:11:52] local.INFO: Acknowledgment sent {"connection_id":161656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:11:52] local.INFO: TCP Data received {"connection_id":161657,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:11:52] local.INFO: Processing buffer {"connection_id":161657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:11:52] local.INFO: Packet analysis {"connection_id":161657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:11:52] local.INFO: Extracted packet for processing {"connection_id":161657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591513344001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787467150000,"timestamp_ms":1787467150000,"timestamp_seconds":1787467150,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5832b0"} 
[2026-08-23 12:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 12:11:52] 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-08-23 12:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591513344001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591513344001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:11:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591513344001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":161657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:11:52] local.INFO: GPS data processed {"connection_id":161657,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:11:52] local.INFO: Acknowledgment sent {"connection_id":161657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:12:04] local.INFO: TCP Data received {"connection_id":163062,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d599240012d1696c0072595d8002c015327..."} 
[2026-08-23 12:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d599240012d1696c0072595d8002c015327..."} 
[2026-08-23 12:12:04] local.INFO: Processing buffer {"connection_id":163062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d599240012d1696c0072595d8002c015327..."} 
[2026-08-23 12:12:04] local.INFO: Packet analysis {"connection_id":163062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d59"} 
[2026-08-23 12:12:04] local.INFO: Extracted packet for processing {"connection_id":163062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d59"} 
[2026-08-23 12:12:04] local.INFO: GPS Element Parsed {"raw_longitude":756455104,"raw_latitude":119903704,"longitude_deg":75.6455104,"latitude_deg":11.9903704,"altitude":44,"angle":339,"satellites":39,"speed":44,"hex_longitude":"2d1696c0","hex_latitude":"072595d8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 12:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591613440001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15314088145977344,"note":"Value kept but may cause issues"} 
[2026-08-23 12:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1627699452268894208,"note":"Value kept but may cause issues"} 
[2026-08-23 12:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787467240000,"timestamp_ms":1787467240000,"timestamp_seconds":1787467240,"priority":1,"record_length":96,"hex_timestamp":"000001a02d599240"} 
[2026-08-23 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-08-23 12:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-23 12:12: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-08-23 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-08-23 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-08-23 12:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591613440001,"66":14407,"135":206,"83":42752,"24":44,"16":15314088145977344,"45":1627699452268894208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-23 12:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591613440001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:12:04] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-23 12:12:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15314088145977344,"km_value":15314088145977.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1627699452268894208,"description":"Unknown IO ID 45"} 
[2026-08-23 12:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591613440001,"power":14407,"unknown_135":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1627699452268894208}} 
[2026-08-23 12:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":163062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:12:05] local.INFO: GPS data processed {"connection_id":163062,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:12:05] local.INFO: Acknowledgment sent {"connection_id":163062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:12:24] local.INFO: TCP Data received {"connection_id":161657,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:12:24] local.INFO: Processing buffer {"connection_id":161657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:12:24] local.INFO: Packet analysis {"connection_id":161657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:12:24] local.INFO: Extracted packet for processing {"connection_id":161657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:12:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591513344001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787467150000,"timestamp_ms":1787467150000,"timestamp_seconds":1787467150,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5832b0"} 
[2026-08-23 12:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 12:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591513344001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591513344001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:12:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:12:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591513344001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":161657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:12:24] local.INFO: GPS data processed {"connection_id":161657,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:12:24] local.INFO: Acknowledgment sent {"connection_id":161657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:12:25] local.INFO: TCP Data received {"connection_id":161656,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5af5b8012d7d430005d281e8000f00bd27..."} 
[2026-08-23 12:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5af5b8012d7d430005d281e8000f00bd27..."} 
[2026-08-23 12:12:25] local.INFO: Processing buffer {"connection_id":161656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5af5b8012d7d430005d281e8000f00bd27..."} 
[2026-08-23 12:12:25] local.INFO: Packet analysis {"connection_id":161656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5a"} 
[2026-08-23 12:12:25] local.INFO: Extracted packet for processing {"connection_id":161656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5a"} 
[2026-08-23 12:12:25] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":97681896,"longitude_deg":76.3183872,"latitude_deg":9.7681896,"altitude":15,"angle":189,"satellites":39,"speed":0,"hex_longitude":"2d7d4300","hex_latitude":"05d281e8","is_valid_coordinates":true} 
[2026-08-23 12:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591635968001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122615677008740352,"note":"Value kept but may cause issues"} 
[2026-08-23 12:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026058103187212288,"note":"Value kept but may cause issues"} 
[2026-08-23 12:12:25] 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-08-23 12:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787467331000,"timestamp_ms":1787467331000,"timestamp_seconds":1787467331,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5af5b8"} 
[2026-08-23 12:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-23 12:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591635968001,"66":12678,"117":206,"85":15104,"24":0,"16":122615677008740352,"45":9026058103187212288},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 12:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591635968001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:12:25] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 12:12:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122615677008740352,"km_value":122615677008740.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026058103187212288,"description":"Unknown IO ID 45"} 
[2026-08-23 12:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591635968001,"power":12678,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9026058103187212288}} 
[2026-08-23 12:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":161656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:12:25] local.INFO: GPS data processed {"connection_id":161656,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:12:25] local.INFO: Acknowledgment sent {"connection_id":161656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:12:30] local.INFO: TCP Data received {"connection_id":160717,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:12:30] local.INFO: Processing buffer {"connection_id":160717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:12:30] local.INFO: IMEI packet received {"connection_id":160717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":160717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:12:31] local.INFO: TCP Data received {"connection_id":160717,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:12:31] local.INFO: Processing buffer {"connection_id":160717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:12:31] local.INFO: IMEI packet received {"connection_id":160717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":160717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:12:35] local.INFO: TCP Data received {"connection_id":160717,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:12:35] local.INFO: Processing buffer {"connection_id":160717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:12:35] local.INFO: IMEI packet received {"connection_id":160717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":160717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:12:35] local.INFO: TCP Data received {"connection_id":160717,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d59b180012d1689000725b7000029015128..."} 
[2026-08-23 12:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d59b180012d1689000725b7000029015128..."} 
[2026-08-23 12:12:35] local.INFO: Processing buffer {"connection_id":160717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d59b180012d1689000725b7000029015128..."} 
[2026-08-23 12:12:35] local.INFO: Packet analysis {"connection_id":160717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d59"} 
[2026-08-23 12:12:35] local.INFO: Extracted packet for processing {"connection_id":160717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d59"} 
[2026-08-23 12:12:35] local.INFO: GPS Element Parsed {"raw_longitude":756451584,"raw_latitude":119912192,"longitude_deg":75.6451584,"latitude_deg":11.9912192,"altitude":41,"angle":337,"satellites":40,"speed":44,"hex_longitude":"2d168900","hex_latitude":"0725b700","is_valid_coordinates":true} 
[2026-08-23 12:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591613440001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15314530527608832,"note":"Value kept but may cause issues"} 
[2026-08-23 12:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1627699452268894208,"note":"Value kept but may cause issues"} 
[2026-08-23 12:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787467248000,"timestamp_ms":1787467248000,"timestamp_seconds":1787467248,"priority":1,"record_length":96,"hex_timestamp":"000001a02d59b180"} 
[2026-08-23 12:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:12: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-08-23 12:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-23 12:12:35] 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-08-23 12:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591613440001,"66":14428,"135":206,"83":42752,"24":44,"16":15314530527608832,"45":1627699452268894208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-23 12:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591613440001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:12:35] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-23 12:12:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15314530527608832,"km_value":15314530527608.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1627699452268894208,"description":"Unknown IO ID 45"} 
[2026-08-23 12:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591613440001,"power":14428,"unknown_135":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1627699452268894208}} 
[2026-08-23 12:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":160717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:12:36] local.INFO: GPS data processed {"connection_id":160717,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:12:36] local.INFO: Acknowledgment sent {"connection_id":160717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:12:40] local.INFO: TCP Data received {"connection_id":160717,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d59ccd8012d167ac00725d300002701442a..."} 
[2026-08-23 12:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d59ccd8012d167ac00725d300002701442a..."} 
[2026-08-23 12:12:40] local.INFO: Processing buffer {"connection_id":160717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d59ccd8012d167ac00725d300002701442a..."} 
[2026-08-23 12:12:40] local.INFO: Packet analysis {"connection_id":160717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d59"} 
[2026-08-23 12:12:40] local.INFO: Extracted packet for processing {"connection_id":160717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d59"} 
[2026-08-23 12:12:40] local.INFO: GPS Element Parsed {"raw_longitude":756447936,"raw_latitude":119919360,"longitude_deg":75.6447936,"latitude_deg":11.991936,"altitude":39,"angle":324,"satellites":42,"speed":45,"hex_longitude":"2d167ac0","hex_latitude":"0725d300","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591615488001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15314921369632768,"note":"Value kept but may cause issues"} 
[2026-08-23 12:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1623829171341295616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787467255000,"timestamp_ms":1787467255000,"timestamp_seconds":1787467255,"priority":1,"record_length":96,"hex_timestamp":"000001a02d59ccd8"} 
[2026-08-23 12:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 12:12:40] 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-08-23 12: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-08-23 12:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591615488001,"66":14483,"135":206,"83":42752,"24":45,"16":15314921369632768,"45":1623829171341295616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-23 12:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591615488001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:12:40] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-23 12:12:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15314921369632768,"km_value":15314921369632.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1623829171341295616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591615488001,"power":14483,"unknown_135":206,"unknown_83":42752,"ignition":45,"odometer":null,"unknown_45":1623829171341295616}} 
[2026-08-23 12:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":160717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:12:40] local.INFO: GPS data processed {"connection_id":160717,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:12:40] local.INFO: Acknowledgment sent {"connection_id":160717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:12:45] local.INFO: TCP Data received {"connection_id":160718,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:12:45] local.INFO: Processing buffer {"connection_id":160718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:12:45] local.INFO: IMEI packet received {"connection_id":160718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 12:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":160718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:12:49] local.INFO: TCP Data received {"connection_id":160718,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:12:49] local.INFO: Processing buffer {"connection_id":160718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:12:49] local.INFO: IMEI packet received {"connection_id":160718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":160718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:12:50] local.INFO: TCP Data received {"connection_id":160718,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:12:50] local.INFO: Processing buffer {"connection_id":160718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:12:50] local.INFO: IMEI packet received {"connection_id":160718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":160718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:12:51] local.INFO: TCP Data received {"connection_id":160718,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5b0558012d7d430005d280c0000f00b226..."} 
[2026-08-23 12:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5b0558012d7d430005d280c0000f00b226..."} 
[2026-08-23 12:12:51] local.INFO: Processing buffer {"connection_id":160718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5b0558012d7d430005d280c0000f00b226..."} 
[2026-08-23 12:12:51] local.INFO: Packet analysis {"connection_id":160718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5b"} 
[2026-08-23 12:12:51] local.INFO: Extracted packet for processing {"connection_id":160718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5b"} 
[2026-08-23 12:12:51] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":97681600,"longitude_deg":76.3183872,"latitude_deg":9.76816,"altitude":15,"angle":178,"satellites":38,"speed":3,"hex_longitude":"2d7d4300","hex_latitude":"05d280c0","is_valid_coordinates":true} 
[2026-08-23 12:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591636736001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122615689893642240,"note":"Value kept but may cause issues"} 
[2026-08-23 12:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026058103187171328,"note":"Value kept but may cause issues"} 
[2026-08-23 12:12:51] 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-08-23 12:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787467335000,"timestamp_ms":1787467335000,"timestamp_seconds":1787467335,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5b0558"} 
[2026-08-23 12:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-23 12:12:51] 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-08-23 12:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591636736001,"66":13091,"117":206,"85":15104,"24":3,"16":122615689893642240,"45":9026058103187171328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 12:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591636736001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:12:51] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 12:12:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122615689893642240,"km_value":122615689893642.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026058103187171328,"description":"Unknown IO ID 45"} 
[2026-08-23 12:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591636736001,"power":13091,"unknown_117":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9026058103187171328}} 
[2026-08-23 12:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":160718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:12:51] local.INFO: GPS data processed {"connection_id":160718,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:12:51] local.INFO: Acknowledgment sent {"connection_id":160718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:12:51] local.INFO: TCP Data received {"connection_id":160476,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:12:51] local.INFO: Processing buffer {"connection_id":160476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:12:51] local.INFO: IMEI packet received {"connection_id":160476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":160476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:12:56] local.INFO: TCP Data received {"connection_id":160476,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:12:56] local.INFO: Processing buffer {"connection_id":160476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:12:56] local.INFO: IMEI packet received {"connection_id":160476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":160476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:12:57] local.INFO: TCP Data received {"connection_id":160476,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:12:57] local.INFO: Processing buffer {"connection_id":160476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:12:57] local.INFO: Packet analysis {"connection_id":160476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:12:57] local.INFO: Extracted packet for processing {"connection_id":160476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:12:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591513344001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787467150000,"timestamp_ms":1787467150000,"timestamp_seconds":1787467150,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5832b0"} 
[2026-08-23 12:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 12:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591513344001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591513344001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:12:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:12:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591513344001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":160476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:12:57] local.INFO: GPS data processed {"connection_id":160476,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:12:57] local.INFO: Acknowledgment sent {"connection_id":160476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:13:02] local.INFO: TCP Data received {"connection_id":160476,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:13:02] local.INFO: Processing buffer {"connection_id":160476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:13:02] local.INFO: Packet analysis {"connection_id":160476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:13:02] local.INFO: Extracted packet for processing {"connection_id":160476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:13:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591513344001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787467150000,"timestamp_ms":1787467150000,"timestamp_seconds":1787467150,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5832b0"} 
[2026-08-23 12:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 12:13:02] 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-08-23 12:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591513344001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591513344001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:13:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:13:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591513344001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":160476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:13:02] local.INFO: GPS data processed {"connection_id":160476,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:13:02] local.INFO: Acknowledgment sent {"connection_id":160476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:13:11] local.INFO: TCP Data received {"connection_id":160717,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5b18e0012d153c00072673980028013823..."} 
[2026-08-23 12:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5b18e0012d153c00072673980028013823..."} 
[2026-08-23 12:13:11] local.INFO: Processing buffer {"connection_id":160717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5b18e0012d153c00072673980028013823..."} 
[2026-08-23 12:13:11] local.INFO: Packet analysis {"connection_id":160717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5b"} 
[2026-08-23 12:13:11] local.INFO: Extracted packet for processing {"connection_id":160717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5b"} 
[2026-08-23 12:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756366336,"raw_latitude":119960472,"longitude_deg":75.6366336,"latitude_deg":11.9960472,"altitude":40,"angle":312,"satellites":35,"speed":37,"hex_longitude":"2d153c00","hex_latitude":"07267398","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591636480001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15319392430587904,"note":"Value kept but may cause issues"} 
[2026-08-23 12:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1537275616013438976,"note":"Value kept but may cause issues"} 
[2026-08-23 12:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787467340000,"timestamp_ms":1787467340000,"timestamp_seconds":1787467340,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5b18e0"} 
[2026-08-23 12:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 12:13:11] 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-08-23 12: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-08-23 12:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591636480001,"66":14483,"137":206,"83":42752,"24":37,"16":15319392430587904,"45":1537275616013438976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-23 12:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591636480001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:13:11] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-23 12:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15319392430587904,"km_value":15319392430587.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1537275616013438976,"description":"Unknown IO ID 45"} 
[2026-08-23 12:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591636480001,"power":14483,"unknown_137":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1537275616013438976}} 
[2026-08-23 12:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":160717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:13:11] local.INFO: GPS data processed {"connection_id":160717,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:13:11] local.INFO: Acknowledgment sent {"connection_id":160717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:13:30] local.INFO: TCP Data received {"connection_id":160477,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:13:30] local.INFO: Processing buffer {"connection_id":160477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:13:30] local.INFO: IMEI packet received {"connection_id":160477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":160477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:13:30] local.INFO: TCP Data received {"connection_id":160477,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:13:30] local.INFO: Processing buffer {"connection_id":160477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:13:30] local.INFO: IMEI packet received {"connection_id":160477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":160477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:13:35] local.INFO: TCP Data received {"connection_id":160477,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:13:35] local.INFO: Processing buffer {"connection_id":160477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:13:35] local.INFO: IMEI packet received {"connection_id":160477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":160477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:13:40] local.INFO: TCP Data received {"connection_id":160477,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5b2880012d152f4007267ce80027012b21..."} 
[2026-08-23 12:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5b2880012d152f4007267ce80027012b21..."} 
[2026-08-23 12:13:40] local.INFO: Processing buffer {"connection_id":160477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5b2880012d152f4007267ce80027012b21..."} 
[2026-08-23 12:13:40] local.INFO: Packet analysis {"connection_id":160477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5b"} 
[2026-08-23 12:13:40] local.INFO: Extracted packet for processing {"connection_id":160477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5b"} 
[2026-08-23 12:13:40] local.INFO: GPS Element Parsed {"raw_longitude":756363072,"raw_latitude":119962856,"longitude_deg":75.6363072,"latitude_deg":11.9962856,"altitude":39,"angle":299,"satellites":33,"speed":42,"hex_longitude":"2d152f40","hex_latitude":"07267ce8","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591639040001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15319585704116224,"note":"Value kept but may cause issues"} 
[2026-08-23 12:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1530098004109006848,"note":"Value kept but may cause issues"} 
[2026-08-23 12:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787467344000,"timestamp_ms":1787467344000,"timestamp_seconds":1787467344,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5b2880"} 
[2026-08-23 12:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-23 12:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591639040001,"66":14428,"52":206,"83":42752,"24":42,"16":15319585704116224,"45":1530098004109006848},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-08-23 12:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591639040001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:13:40] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-23 12:13:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15319585704116224,"km_value":15319585704116.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1530098004109006848,"description":"Unknown IO ID 45"} 
[2026-08-23 12:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591639040001,"power":14428,"unknown_52":206,"unknown_83":42752,"ignition":42,"odometer":null,"unknown_45":1530098004109006848}} 
[2026-08-23 12:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":160477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:13:40] local.INFO: GPS data processed {"connection_id":160477,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:13:40] local.INFO: Acknowledgment sent {"connection_id":160477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:13:41] local.INFO: TCP Data received {"connection_id":160477,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5b3820012d151ec0072683880027012027..."} 
[2026-08-23 12:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5b3820012d151ec0072683880027012027..."} 
[2026-08-23 12:13:41] local.INFO: Processing buffer {"connection_id":160477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5b3820012d151ec0072683880027012027..."} 
[2026-08-23 12:13:41] local.INFO: Packet analysis {"connection_id":160477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5b"} 
[2026-08-23 12:13:41] local.INFO: Extracted packet for processing {"connection_id":160477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5b"} 
[2026-08-23 12:13:41] local.INFO: GPS Element Parsed {"raw_longitude":756358848,"raw_latitude":119964552,"longitude_deg":75.6358848,"latitude_deg":11.9964552,"altitude":39,"angle":288,"satellites":39,"speed":45,"hex_longitude":"2d151ec0","hex_latitude":"07268388","is_valid_coordinates":true} 
[2026-08-23 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-08-23 12:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591640064001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15319800452481024,"note":"Value kept but may cause issues"} 
[2026-08-23 12:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1526509198156556288,"note":"Value kept but may cause issues"} 
[2026-08-23 12:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787467348000,"timestamp_ms":1787467348000,"timestamp_seconds":1787467348,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5b3820"} 
[2026-08-23 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-08-23 12:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 12:13: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-08-23 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-08-23 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-08-23 12:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591640064001,"66":14428,"52":206,"83":42752,"24":45,"16":15319800452481024,"45":1526509198156556288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-08-23 12:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591640064001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:13:41] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-23 12:13:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15319800452481024,"km_value":15319800452481.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1526509198156556288,"description":"Unknown IO ID 45"} 
[2026-08-23 12:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591640064001,"power":14428,"unknown_52":206,"unknown_83":42752,"ignition":45,"odometer":null,"unknown_45":1526509198156556288}} 
[2026-08-23 12:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":160477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:13:41] local.INFO: GPS data processed {"connection_id":160477,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:13:41] local.INFO: Acknowledgment sent {"connection_id":160477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:13:46] local.INFO: TCP Data received {"connection_id":163063,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:13:46] local.INFO: Processing buffer {"connection_id":163063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:13:46] local.INFO: IMEI packet received {"connection_id":163063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":163063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:13:51] local.INFO: TCP Data received {"connection_id":163063,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:13:51] local.INFO: Processing buffer {"connection_id":163063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:13:51] local.INFO: IMEI packet received {"connection_id":163063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":163063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:13:52] local.INFO: TCP Data received {"connection_id":163063,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:13:52] local.INFO: Processing buffer {"connection_id":163063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:13:52] local.INFO: Packet analysis {"connection_id":163063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:13:52] local.INFO: Extracted packet for processing {"connection_id":163063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:13:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591513344001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787467150000,"timestamp_ms":1787467150000,"timestamp_seconds":1787467150,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5832b0"} 
[2026-08-23 12:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 12:13:52] 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-08-23 12:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:13:52] 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-08-23 12:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591513344001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591513344001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:13:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:13:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591513344001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":163063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:13:52] local.INFO: GPS data processed {"connection_id":163063,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:13:52] local.INFO: Acknowledgment sent {"connection_id":163063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:13:54] local.INFO: TCP Data received {"connection_id":160718,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5b14f8012d7d430005d27f90000f00c026..."} 
[2026-08-23 12:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5b14f8012d7d430005d27f90000f00c026..."} 
[2026-08-23 12:13:54] local.INFO: Processing buffer {"connection_id":160718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5b14f8012d7d430005d27f90000f00c026..."} 
[2026-08-23 12:13:54] local.INFO: Packet analysis {"connection_id":160718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5b"} 
[2026-08-23 12:13:54] local.INFO: Extracted packet for processing {"connection_id":160718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5b"} 
[2026-08-23 12:13:54] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":97681296,"longitude_deg":76.3183872,"latitude_deg":9.7681296,"altitude":15,"angle":192,"satellites":38,"speed":0,"hex_longitude":"2d7d4300","hex_latitude":"05d27f90","is_valid_coordinates":true} 
[2026-08-23 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-08-23 12:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591637760001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122615707073511424,"note":"Value kept but may cause issues"} 
[2026-08-23 12:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026058103187095552,"note":"Value kept but may cause issues"} 
[2026-08-23 12:13:54] 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-08-23 12:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787467339000,"timestamp_ms":1787467339000,"timestamp_seconds":1787467339,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5b14f8"} 
[2026-08-23 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-08-23 12:13: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-08-23 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-23 12:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 12:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591637760001,"66":13222,"117":206,"85":15104,"24":0,"16":122615707073511424,"45":9026058103187095552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 12:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591637760001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:13:54] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 12:13:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122615707073511424,"km_value":122615707073511.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026058103187095552,"description":"Unknown IO ID 45"} 
[2026-08-23 12:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591637760001,"power":13222,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9026058103187095552}} 
[2026-08-23 12:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":160718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:13:54] local.INFO: GPS data processed {"connection_id":160718,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:13:54] local.INFO: Acknowledgment sent {"connection_id":160718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:14:01] local.INFO: TCP Data received {"connection_id":163064,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:14:01] local.INFO: Processing buffer {"connection_id":163064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:14:01] local.INFO: IMEI packet received {"connection_id":163064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 12:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":163064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:14:06] local.INFO: TCP Data received {"connection_id":163064,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:14:06] local.INFO: Processing buffer {"connection_id":163064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:14:06] local.INFO: IMEI packet received {"connection_id":163064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":163064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:14:07] local.INFO: TCP Data received {"connection_id":163064,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5b2498012d7d42c005d27db8000f00b427..."} 
[2026-08-23 12:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5b2498012d7d42c005d27db8000f00b427..."} 
[2026-08-23 12:14:07] local.INFO: Processing buffer {"connection_id":163064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5b2498012d7d42c005d27db8000f00b427..."} 
[2026-08-23 12:14:07] local.INFO: Packet analysis {"connection_id":163064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5b"} 
[2026-08-23 12:14:07] local.INFO: Extracted packet for processing {"connection_id":163064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5b"} 
[2026-08-23 12:14:07] local.INFO: GPS Element Parsed {"raw_longitude":763183808,"raw_latitude":97680824,"longitude_deg":76.3183808,"latitude_deg":9.7680824,"altitude":15,"angle":180,"satellites":39,"speed":5,"hex_longitude":"2d7d42c0","hex_latitude":"05d27db8","is_valid_coordinates":true} 
[2026-08-23 12:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591638784001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122615728548347904,"note":"Value kept but may cause issues"} 
[2026-08-23 12:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026058103187017728,"note":"Value kept but may cause issues"} 
[2026-08-23 12:14:07] 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-08-23 12:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787467343000,"timestamp_ms":1787467343000,"timestamp_seconds":1787467343,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5b2498"} 
[2026-08-23 12:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 12:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591638784001,"66":13037,"117":206,"85":15104,"24":5,"16":122615728548347904,"45":9026058103187017728},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 12:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591638784001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:14:07] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 12:14:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122615728548347904,"km_value":122615728548347.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026058103187017728,"description":"Unknown IO ID 45"} 
[2026-08-23 12:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591638784001,"power":13037,"unknown_117":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9026058103187017728}} 
[2026-08-23 12:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":163064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:14:07] local.INFO: GPS data processed {"connection_id":163064,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:14:07] local.INFO: Acknowledgment sent {"connection_id":163064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:14:20] local.INFO: TCP Data received {"connection_id":160477,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5c1e98012d141c8007268b500025011c26..."} 
[2026-08-23 12:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5c1e98012d141c8007268b500025011c26..."} 
[2026-08-23 12:14:20] local.INFO: Processing buffer {"connection_id":160477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5c1e98012d141c8007268b500025011c26..."} 
[2026-08-23 12:14:20] local.INFO: Packet analysis {"connection_id":160477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:14:20] local.INFO: Extracted packet for processing {"connection_id":160477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:14:20] local.INFO: GPS Element Parsed {"raw_longitude":756292736,"raw_latitude":119966544,"longitude_deg":75.6292736,"latitude_deg":11.9966544,"altitude":37,"angle":284,"satellites":38,"speed":44,"hex_longitude":"2d141c80","hex_latitude":"07268b50","is_valid_coordinates":true} 
[2026-08-23 12:14: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-08-23 12:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591655680001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15323030267887616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1451707223096563712,"note":"Value kept but may cause issues"} 
[2026-08-23 12:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787467407000,"timestamp_ms":1787467407000,"timestamp_seconds":1787467407,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5c1e98"} 
[2026-08-23 12:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 12:14:20] 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-08-23 12:14: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-08-23 12:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":160477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":160477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":160477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591655680001,"66":14461,"52":206,"83":42752,"24":44,"16":15323030267887616,"45":1451707223096563712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-08-23 12:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591655680001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:14:20] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-23 12:14:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15323030267887616,"km_value":15323030267887.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1451707223096563712,"description":"Unknown IO ID 45"} 
[2026-08-23 12:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591655680001,"power":14461,"unknown_52":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1451707223096563712}} 
[2026-08-23 12:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":160477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:14:20] local.INFO: GPS data processed {"connection_id":160477,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:14:20] local.INFO: Acknowledgment sent {"connection_id":160477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:14:24] local.INFO: TCP Data received {"connection_id":163063,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:14:24] local.INFO: Processing buffer {"connection_id":163063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5832b0012d34c50006aa4098003a008520..."} 
[2026-08-23 12:14:24] local.INFO: Packet analysis {"connection_id":163063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:14:24] local.INFO: Extracted packet for processing {"connection_id":163063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d58"} 
[2026-08-23 12:14:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591513344001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787467150000,"timestamp_ms":1787467150000,"timestamp_seconds":1787467150,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5832b0"} 
[2026-08-23 12:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 12:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:14:24] 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-08-23 12:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591513344001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591513344001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:14:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:14:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591513344001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":163063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:14:24] local.INFO: GPS data processed {"connection_id":163063,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:14:24] local.INFO: Acknowledgment sent {"connection_id":163063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:14:30] local.INFO: TCP Data received {"connection_id":163065,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:14:30] local.INFO: Processing buffer {"connection_id":163065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:14:30] local.INFO: IMEI packet received {"connection_id":163065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":163065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:14:30] local.INFO: TCP Data received {"connection_id":163065,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:14:30] local.INFO: Processing buffer {"connection_id":163065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:14:30] local.INFO: IMEI packet received {"connection_id":163065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":163065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:14:35] local.INFO: TCP Data received {"connection_id":163065,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:14:35] local.INFO: Processing buffer {"connection_id":163065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:14:35] local.INFO: IMEI packet received {"connection_id":163065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":163065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:14:35] local.INFO: TCP Data received {"connection_id":163065,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5c2668012d14148007268e900025012a28..."} 
[2026-08-23 12:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5c2668012d14148007268e900025012a28..."} 
[2026-08-23 12:14:35] local.INFO: Processing buffer {"connection_id":163065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5c2668012d14148007268e900025012a28..."} 
[2026-08-23 12:14:35] local.INFO: Packet analysis {"connection_id":163065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:14:35] local.INFO: Extracted packet for processing {"connection_id":163065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:14:35] local.INFO: GPS Element Parsed {"raw_longitude":756290688,"raw_latitude":119967376,"longitude_deg":75.6290688,"latitude_deg":11.9967376,"altitude":37,"angle":298,"satellites":40,"speed":44,"hex_longitude":"2d141480","hex_latitude":"07268e90","is_valid_coordinates":true} 
[2026-08-23 12:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591656192001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15323137642070016,"note":"Value kept but may cause issues"} 
[2026-08-23 12:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1449173948306247680,"note":"Value kept but may cause issues"} 
[2026-08-23 12:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787467409000,"timestamp_ms":1787467409000,"timestamp_seconds":1787467409,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5c2668"} 
[2026-08-23 12:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:14: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-08-23 12:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 12:14:35] 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-08-23 12:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591656192001,"66":14428,"52":206,"83":42752,"24":44,"16":15323137642070016,"45":1449173948306247680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-08-23 12:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591656192001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:14:35] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-23 12:14:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15323137642070016,"km_value":15323137642070.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1449173948306247680,"description":"Unknown IO ID 45"} 
[2026-08-23 12:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591656192001,"power":14428,"unknown_52":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1449173948306247680}} 
[2026-08-23 12:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":163065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:14:36] local.INFO: GPS data processed {"connection_id":163065,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:14:36] local.INFO: Acknowledgment sent {"connection_id":163065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:14:46] local.INFO: TCP Data received {"connection_id":160478,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:14:46] local.INFO: Processing buffer {"connection_id":160478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:14:46] local.INFO: IMEI packet received {"connection_id":160478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 12:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":160478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:14:46] local.INFO: TCP Data received {"connection_id":161658,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:14:46] local.INFO: Processing buffer {"connection_id":161658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:14:46] local.INFO: IMEI packet received {"connection_id":161658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":161658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:14:47] local.INFO: TCP Data received {"connection_id":160478,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:14:47] local.INFO: Processing buffer {"connection_id":160478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:14:47] local.INFO: IMEI packet received {"connection_id":160478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":160478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:14:49] local.INFO: TCP Data received {"connection_id":160478,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:14:49] local.INFO: Processing buffer {"connection_id":160478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:14:49] local.INFO: IMEI packet received {"connection_id":160478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":160478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:14:50] local.INFO: TCP Data received {"connection_id":161658,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:14:50] local.INFO: Processing buffer {"connection_id":161658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:14:50] local.INFO: IMEI packet received {"connection_id":161658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":161658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:14:51] local.INFO: TCP Data received {"connection_id":160478,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5b6ae8012d7d428005d273a0000d009f2a..."} 
[2026-08-23 12:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5b6ae8012d7d428005d273a0000d009f2a..."} 
[2026-08-23 12:14:51] local.INFO: Processing buffer {"connection_id":160478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5b6ae8012d7d428005d273a0000d009f2a..."} 
[2026-08-23 12:14:51] local.INFO: Packet analysis {"connection_id":160478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5b"} 
[2026-08-23 12:14:51] local.INFO: Extracted packet for processing {"connection_id":160478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5b"} 
[2026-08-23 12:14:51] local.INFO: GPS Element Parsed {"raw_longitude":763183744,"raw_latitude":97678240,"longitude_deg":76.3183744,"latitude_deg":9.767824,"altitude":13,"angle":159,"satellites":42,"speed":3,"hex_longitude":"2d7d4280","hex_latitude":"05d273a0","is_valid_coordinates":true} 
[2026-08-23 12:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591639808001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122615857397366784,"note":"Value kept but may cause issues"} 
[2026-08-23 12:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025987734442719232,"note":"Value kept but may cause issues"} 
[2026-08-23 12:14:51] 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-08-23 12:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787467361000,"timestamp_ms":1787467361000,"timestamp_seconds":1787467361,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5b6ae8"} 
[2026-08-23 12:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-23 12:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591639808001,"66":13167,"117":206,"85":15104,"24":3,"16":122615857397366784,"45":9025987734442719232},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 12:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591639808001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:14:51] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 12:14:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122615857397366784,"km_value":122615857397366.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025987734442719232,"description":"Unknown IO ID 45"} 
[2026-08-23 12:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591639808001,"power":13167,"unknown_117":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9025987734442719232}} 
[2026-08-23 12:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":160478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:14:51] local.INFO: GPS data processed {"connection_id":160478,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:14:51] local.INFO: Acknowledgment sent {"connection_id":160478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:14:51] local.INFO: TCP Data received {"connection_id":161658,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:14:51] local.INFO: Processing buffer {"connection_id":161658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:14:51] local.INFO: Packet analysis {"connection_id":161658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:14:51] local.INFO: Extracted packet for processing {"connection_id":161658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591590400001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787467451000,"timestamp_ms":1787467451000,"timestamp_seconds":1787467451,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5cca78"} 
[2026-08-23 12:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 12:14:51] 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-08-23 12:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:14:51] 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-08-23 12:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591590400001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591590400001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:14:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591590400001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":161658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:14:51] local.INFO: GPS data processed {"connection_id":161658,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:14:51] local.INFO: Acknowledgment sent {"connection_id":161658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:15:22] local.INFO: TCP Data received {"connection_id":160478,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5d8dc8012d7d284005d1ad70000e015629..."} 
[2026-08-23 12:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5d8dc8012d7d284005d1ad70000e015629..."} 
[2026-08-23 12:15:22] local.INFO: Processing buffer {"connection_id":160478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5d8dc8012d7d284005d1ad70000e015629..."} 
[2026-08-23 12:15:22] local.INFO: Packet analysis {"connection_id":160478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5d"} 
[2026-08-23 12:15:22] local.INFO: Extracted packet for processing {"connection_id":160478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5d"} 
[2026-08-23 12:15:22] local.INFO: GPS Element Parsed {"raw_longitude":763177024,"raw_latitude":97627504,"longitude_deg":76.3177024,"latitude_deg":9.7627504,"altitude":14,"angle":342,"satellites":41,"speed":18,"hex_longitude":"2d7d2840","hex_latitude":"05d1ad70","is_valid_coordinates":true} 
[2026-08-23 12:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591680000001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122618550341861376,"note":"Value kept but may cause issues"} 
[2026-08-23 12:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018810122522843136,"note":"Value kept but may cause issues"} 
[2026-08-23 12:15:22] 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-08-23 12:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787467501000,"timestamp_ms":1787467501000,"timestamp_seconds":1787467501,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5d8dc8"} 
[2026-08-23 12:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 12:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591680000001,"66":13135,"23":206,"85":15104,"24":18,"16":122618550341861376,"45":9018810122522843136},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-23 12:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591680000001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:15:22] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-23 12:15:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122618550341861376,"km_value":122618550341861.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018810122522843136,"description":"Unknown IO ID 45"} 
[2026-08-23 12:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591680000001,"power":13135,"unknown_23":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9018810122522843136}} 
[2026-08-23 12:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":160478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:15:22] local.INFO: GPS data processed {"connection_id":160478,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:15:22] local.INFO: Acknowledgment sent {"connection_id":160478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:15:23] local.INFO: TCP Data received {"connection_id":161658,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:15:23] local.INFO: Processing buffer {"connection_id":161658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:15:23] local.INFO: Packet analysis {"connection_id":161658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:15:23] local.INFO: Extracted packet for processing {"connection_id":161658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:15:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591590400001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787467451000,"timestamp_ms":1787467451000,"timestamp_seconds":1787467451,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5cca78"} 
[2026-08-23 12:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 12:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:15:23] 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-08-23 12:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591590400001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591590400001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:15:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:15:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591590400001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":161658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:15:23] local.INFO: GPS data processed {"connection_id":161658,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:15:23] local.INFO: Acknowledgment sent {"connection_id":161658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:15:28] local.INFO: TCP Data received {"connection_id":163065,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5c2e38012d140d40072693d80024013629..."} 
[2026-08-23 12:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5c2e38012d140d40072693d80024013629..."} 
[2026-08-23 12:15:28] local.INFO: Processing buffer {"connection_id":163065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5c2e38012d140d40072693d80024013629..."} 
[2026-08-23 12:15:28] local.INFO: Packet analysis {"connection_id":163065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:15:28] local.INFO: Extracted packet for processing {"connection_id":163065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:15:28] local.INFO: GPS Element Parsed {"raw_longitude":756288832,"raw_latitude":119968728,"longitude_deg":75.6288832,"latitude_deg":11.9968728,"altitude":36,"angle":310,"satellites":41,"speed":45,"hex_longitude":"2d140d40","hex_latitude":"072693d8","is_valid_coordinates":true} 
[2026-08-23 12:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591656704001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15323245016252416,"note":"Value kept but may cause issues"} 
[2026-08-23 12:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1446922148492775424,"note":"Value kept but may cause issues"} 
[2026-08-23 12:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787467411000,"timestamp_ms":1787467411000,"timestamp_seconds":1787467411,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5c2e38"} 
[2026-08-23 12:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 12:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591656704001,"66":14494,"52":206,"83":42752,"24":45,"16":15323245016252416,"45":1446922148492775424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-08-23 12:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591656704001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:15:28] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-23 12:15:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15323245016252416,"km_value":15323245016252.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1446922148492775424,"description":"Unknown IO ID 45"} 
[2026-08-23 12:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591656704001,"power":14494,"unknown_52":206,"unknown_83":42752,"ignition":45,"odometer":null,"unknown_45":1446922148492775424}} 
[2026-08-23 12:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":163065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:15:28] local.INFO: GPS data processed {"connection_id":163065,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:15:28] local.INFO: Acknowledgment sent {"connection_id":163065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:15:35] local.INFO: TCP Data received {"connection_id":160479,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:15:35] local.INFO: Processing buffer {"connection_id":160479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:15:35] local.INFO: IMEI packet received {"connection_id":160479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":160479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:15:36] local.INFO: TCP Data received {"connection_id":160479,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:15:36] local.INFO: Processing buffer {"connection_id":160479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:15:36] local.INFO: IMEI packet received {"connection_id":160479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":160479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:15:37] local.INFO: TCP Data received {"connection_id":160479,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5c4d78012d13f1800726abb00022013727..."} 
[2026-08-23 12:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5c4d78012d13f1800726abb00022013727..."} 
[2026-08-23 12:15:37] local.INFO: Processing buffer {"connection_id":160479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5c4d78012d13f1800726abb00022013727..."} 
[2026-08-23 12:15:37] local.INFO: Packet analysis {"connection_id":160479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:15:37] local.INFO: Extracted packet for processing {"connection_id":160479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756281728,"raw_latitude":119974832,"longitude_deg":75.6281728,"latitude_deg":11.9974832,"altitude":34,"angle":311,"satellites":39,"speed":45,"hex_longitude":"2d13f180","hex_latitude":"0726abb0","is_valid_coordinates":true} 
[2026-08-23 12:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591657216001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15323691692851200,"note":"Value kept but may cause issues"} 
[2026-08-23 12:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1444881454911969280,"note":"Value kept but may cause issues"} 
[2026-08-23 12:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787467419000,"timestamp_ms":1787467419000,"timestamp_seconds":1787467419,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5c4d78"} 
[2026-08-23 12:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:15: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-08-23 12:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-23 12:15:37] 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-08-23 12:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591657216001,"66":14483,"52":206,"83":42752,"24":45,"16":15323691692851200,"45":1444881454911969280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-08-23 12:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591657216001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:15:37] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-23 12:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15323691692851200,"km_value":15323691692851.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1444881454911969280,"description":"Unknown IO ID 45"} 
[2026-08-23 12:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591657216001,"power":14483,"unknown_52":206,"unknown_83":42752,"ignition":45,"odometer":null,"unknown_45":1444881454911969280}} 
[2026-08-23 12:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":160479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:15:37] local.INFO: GPS data processed {"connection_id":160479,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:15:37] local.INFO: Acknowledgment sent {"connection_id":160479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:15:40] local.INFO: TCP Data received {"connection_id":160479,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5c6100012d13e2400726b848001f012728..."} 
[2026-08-23 12:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5c6100012d13e2400726b848001f012728..."} 
[2026-08-23 12:15:40] local.INFO: Processing buffer {"connection_id":160479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5c6100012d13e2400726b848001f012728..."} 
[2026-08-23 12:15:40] local.INFO: Packet analysis {"connection_id":160479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:15:40] local.INFO: Extracted packet for processing {"connection_id":160479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:15:40] local.INFO: GPS Element Parsed {"raw_longitude":756277824,"raw_latitude":119978056,"longitude_deg":75.6277824,"latitude_deg":11.9978056,"altitude":31,"angle":295,"satellites":40,"speed":35,"hex_longitude":"2d13e240","hex_latitude":"0726b848","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591659264001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15323936505987072,"note":"Value kept but may cause issues"} 
[2026-08-23 12:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1437070524309811200,"note":"Value kept but may cause issues"} 
[2026-08-23 12:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787467424000,"timestamp_ms":1787467424000,"timestamp_seconds":1787467424,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5c6100"} 
[2026-08-23 12:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-23 12:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591659264001,"66":14428,"52":206,"83":42752,"24":35,"16":15323936505987072,"45":1437070524309811200},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-08-23 12:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591659264001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:15:40] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-23 12:15:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15323936505987072,"km_value":15323936505987.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1437070524309811200,"description":"Unknown IO ID 45"} 
[2026-08-23 12:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591659264001,"power":14428,"unknown_52":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1437070524309811200}} 
[2026-08-23 12:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":160479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:15:40] local.INFO: GPS data processed {"connection_id":160479,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:15:40] local.INFO: Acknowledgment sent {"connection_id":160479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:15:45] local.INFO: TCP Data received {"connection_id":160719,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:15:45] local.INFO: Processing buffer {"connection_id":160719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:15:45] local.INFO: IMEI packet received {"connection_id":160719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 12:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":160719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:15:46] local.INFO: TCP Data received {"connection_id":160719,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:15:46] local.INFO: Processing buffer {"connection_id":160719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:15:46] local.INFO: IMEI packet received {"connection_id":160719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":160719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:15:46] local.INFO: TCP Data received {"connection_id":160480,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:15:46] local.INFO: Processing buffer {"connection_id":160480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:15:46] local.INFO: IMEI packet received {"connection_id":160480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":160480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:15:51] local.INFO: TCP Data received {"connection_id":160719,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:15:51] local.INFO: Processing buffer {"connection_id":160719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:15:51] local.INFO: IMEI packet received {"connection_id":160719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":160719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:15:51] local.INFO: TCP Data received {"connection_id":160480,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:15:51] local.INFO: Processing buffer {"connection_id":160480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:15:51] local.INFO: IMEI packet received {"connection_id":160480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":160480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:15:52] local.INFO: TCP Data received {"connection_id":160719,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5d91b0012d7d280005d1af68000e016228..."} 
[2026-08-23 12:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5d91b0012d7d280005d1af68000e016228..."} 
[2026-08-23 12:15:52] local.INFO: Processing buffer {"connection_id":160719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5d91b0012d7d280005d1af68000e016228..."} 
[2026-08-23 12:15:52] local.INFO: Packet analysis {"connection_id":160719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5d"} 
[2026-08-23 12:15:52] local.INFO: Extracted packet for processing {"connection_id":160719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5d"} 
[2026-08-23 12:15:52] local.INFO: GPS Element Parsed {"raw_longitude":763176960,"raw_latitude":97628008,"longitude_deg":76.317696,"latitude_deg":9.7628008,"altitude":14,"angle":354,"satellites":40,"speed":20,"hex_longitude":"2d7d2800","hex_latitude":"05d1af68","is_valid_coordinates":true} 
[2026-08-23 12:15: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-08-23 12:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591680256001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122618576111665152,"note":"Value kept but may cause issues"} 
[2026-08-23 12:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018528647546236928,"note":"Value kept but may cause issues"} 
[2026-08-23 12:15:52] 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-08-23 12:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787467502000,"timestamp_ms":1787467502000,"timestamp_seconds":1787467502,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5d91b0"} 
[2026-08-23 12:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 12:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:15: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-08-23 12:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591680256001,"66":13374,"23":206,"85":15104,"24":20,"16":122618576111665152,"45":9018528647546236928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-23 12:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591680256001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:15:52] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-23 12:15:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122618576111665152,"km_value":122618576111665.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018528647546236928,"description":"Unknown IO ID 45"} 
[2026-08-23 12:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591680256001,"power":13374,"unknown_23":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9018528647546236928}} 
[2026-08-23 12:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":160719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:15:52] local.INFO: GPS data processed {"connection_id":160719,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:15:52] local.INFO: Acknowledgment sent {"connection_id":160719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:15:52] local.INFO: TCP Data received {"connection_id":160480,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:15:52] local.INFO: Processing buffer {"connection_id":160480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:15:52] local.INFO: Packet analysis {"connection_id":160480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:15:52] local.INFO: Extracted packet for processing {"connection_id":160480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:15:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:15: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-08-23 12:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591590400001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787467451000,"timestamp_ms":1787467451000,"timestamp_seconds":1787467451,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5cca78"} 
[2026-08-23 12:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 12:15:52] 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-08-23 12:15: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-08-23 12:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:15:52] 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-08-23 12:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591590400001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591590400001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:15:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:15:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591590400001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":160480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:15:52] local.INFO: GPS data processed {"connection_id":160480,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:15:52] local.INFO: Acknowledgment sent {"connection_id":160480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:16:11] local.INFO: TCP Data received {"connection_id":160479,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5da150012d12a24007266c30003000e722..."} 
[2026-08-23 12:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5da150012d12a24007266c30003000e722..."} 
[2026-08-23 12:16:11] local.INFO: Processing buffer {"connection_id":160479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5da150012d12a24007266c30003000e722..."} 
[2026-08-23 12:16:11] local.INFO: Packet analysis {"connection_id":160479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5d"} 
[2026-08-23 12:16:11] local.INFO: Extracted packet for processing {"connection_id":160479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5d"} 
[2026-08-23 12:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756195904,"raw_latitude":119958576,"longitude_deg":75.6195904,"latitude_deg":11.9958576,"altitude":48,"angle":231,"satellites":34,"speed":51,"hex_longitude":"2d12a240","hex_latitude":"07266c30","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591679488001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15328094034329600,"note":"Value kept but may cause issues"} 
[2026-08-23 12:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1351361393898678272,"note":"Value kept but may cause issues"} 
[2026-08-23 12:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787467506000,"timestamp_ms":1787467506000,"timestamp_seconds":1787467506,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5da150"} 
[2026-08-23 12:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:16:11] 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-08-23 12: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-23 12:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591679488001,"66":14461,"106":206,"83":42752,"24":51,"16":15328094034329600,"45":1351361393898678272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 12:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591679488001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:16:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 12:16:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 12:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15328094034329600,"km_value":15328094034329.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1351361393898678272,"description":"Unknown IO ID 45"} 
[2026-08-23 12:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591679488001,"power":14461,"unknown_106":206,"unknown_83":42752,"ignition":51,"odometer":null,"unknown_45":1351361393898678272}} 
[2026-08-23 12:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":160479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:16:11] local.INFO: GPS data processed {"connection_id":160479,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:16:11] local.INFO: Acknowledgment sent {"connection_id":160479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:16:23] local.INFO: TCP Data received {"connection_id":160719,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5dc090012d7d250005d1d558000b016328..."} 
[2026-08-23 12:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5dc090012d7d250005d1d558000b016328..."} 
[2026-08-23 12:16:23] local.INFO: Processing buffer {"connection_id":160719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5dc090012d7d250005d1d558000b016328..."} 
[2026-08-23 12:16:23] local.INFO: Packet analysis {"connection_id":160719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5d"} 
[2026-08-23 12:16:23] local.INFO: Extracted packet for processing {"connection_id":160719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5d"} 
[2026-08-23 12:16:23] local.INFO: GPS Element Parsed {"raw_longitude":763176192,"raw_latitude":97637720,"longitude_deg":76.3176192,"latitude_deg":9.763772,"altitude":11,"angle":355,"satellites":40,"speed":37,"hex_longitude":"2d7d2500","hex_latitude":"05d1d558","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591680512001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122619048558067712,"note":"Value kept but may cause issues"} 
[2026-08-23 12:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018458278802188288,"note":"Value kept but may cause issues"} 
[2026-08-23 12:16:23] 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-08-23 12:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787467514000,"timestamp_ms":1787467514000,"timestamp_seconds":1787467514,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5dc090"} 
[2026-08-23 12:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-23 12:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591680512001,"66":13428,"23":206,"85":15104,"24":37,"16":122619048558067712,"45":9018458278802188288},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-23 12:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591680512001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:16:23] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-23 12:16:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122619048558067712,"km_value":122619048558067.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018458278802188288,"description":"Unknown IO ID 45"} 
[2026-08-23 12:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591680512001,"power":13428,"unknown_23":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9018458278802188288}} 
[2026-08-23 12:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":160719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:16:23] local.INFO: GPS data processed {"connection_id":160719,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:16:23] local.INFO: Acknowledgment sent {"connection_id":160719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:16:24] local.INFO: TCP Data received {"connection_id":160480,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:16:24] local.INFO: Processing buffer {"connection_id":160480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:16:24] local.INFO: Packet analysis {"connection_id":160480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:16:24] local.INFO: Extracted packet for processing {"connection_id":160480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:16:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:16: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-08-23 12:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591590400001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787467451000,"timestamp_ms":1787467451000,"timestamp_seconds":1787467451,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5cca78"} 
[2026-08-23 12:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 12:16:24] 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-08-23 12:16: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-08-23 12:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:16:24] 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-08-23 12:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591590400001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591590400001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:16:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:16:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591590400001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":160480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:16:24] local.INFO: GPS data processed {"connection_id":160480,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:16:24] local.INFO: Acknowledgment sent {"connection_id":160480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:16:28] local.INFO: TCP Data received {"connection_id":163066,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:16:28] local.INFO: Processing buffer {"connection_id":163066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:16:28] local.INFO: IMEI packet received {"connection_id":163066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":163066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:16:29] local.INFO: TCP Data received {"connection_id":163066,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:16:29] local.INFO: Processing buffer {"connection_id":163066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:16:29] local.INFO: IMEI packet received {"connection_id":163066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":163066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:16:31] local.INFO: TCP Data received {"connection_id":163066,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:16:31] local.INFO: Processing buffer {"connection_id":163066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:16:31] local.INFO: IMEI packet received {"connection_id":163066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":163066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:16:31] local.INFO: TCP Data received {"connection_id":163066,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:16:31] local.INFO: Processing buffer {"connection_id":163066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:16:31] local.INFO: IMEI packet received {"connection_id":163066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":163066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:16:46] local.INFO: TCP Data received {"connection_id":161659,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:16:46] local.INFO: Processing buffer {"connection_id":161659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:16:46] local.INFO: IMEI packet received {"connection_id":161659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 12:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":161659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:16:46] local.INFO: TCP Data received {"connection_id":163067,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:16:46] local.INFO: Processing buffer {"connection_id":163067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:16:46] local.INFO: IMEI packet received {"connection_id":163067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":163067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:16:51] local.INFO: TCP Data received {"connection_id":161659,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:16:51] local.INFO: Processing buffer {"connection_id":161659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:16:51] local.INFO: IMEI packet received {"connection_id":161659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":161659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:16:51] local.INFO: TCP Data received {"connection_id":163067,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:16:51] local.INFO: Processing buffer {"connection_id":163067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:16:51] local.INFO: IMEI packet received {"connection_id":163067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":163067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:16:52] local.INFO: TCP Data received {"connection_id":161659,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5de7a0012d7d23c005d1f9a80007000028..."} 
[2026-08-23 12:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5de7a0012d7d23c005d1f9a80007000028..."} 
[2026-08-23 12:16:52] local.INFO: Processing buffer {"connection_id":161659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5de7a0012d7d23c005d1f9a80007000028..."} 
[2026-08-23 12:16:52] local.INFO: Packet analysis {"connection_id":161659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5d"} 
[2026-08-23 12:16:52] local.INFO: Extracted packet for processing {"connection_id":161659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5d"} 
[2026-08-23 12:16:52] local.INFO: GPS Element Parsed {"raw_longitude":763175872,"raw_latitude":97647016,"longitude_deg":76.3175872,"latitude_deg":9.7647016,"altitude":7,"angle":0,"satellites":40,"speed":39,"hex_longitude":"2d7d23c0","hex_latitude":"05d1f9a8","is_valid_coordinates":true} 
[2026-08-23 12:16: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-08-23 12:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591683584001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122619499529633792,"note":"Value kept but may cause issues"} 
[2026-08-23 12:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017613853874542592,"note":"Value kept but may cause issues"} 
[2026-08-23 12:16:52] 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-08-23 12:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787467524000,"timestamp_ms":1787467524000,"timestamp_seconds":1787467524,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5de7a0"} 
[2026-08-23 12:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-23 12:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:16: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-08-23 12:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591683584001,"66":13428,"23":206,"85":15104,"24":39,"16":122619499529633792,"45":9017613853874542592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-23 12:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591683584001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:16:52] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-23 12:16:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122619499529633792,"km_value":122619499529633.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017613853874542592,"description":"Unknown IO ID 45"} 
[2026-08-23 12:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591683584001,"power":13428,"unknown_23":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9017613853874542592}} 
[2026-08-23 12:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":161659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:16:52] local.INFO: GPS data processed {"connection_id":161659,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:16:52] local.INFO: Acknowledgment sent {"connection_id":161659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:16:52] local.INFO: TCP Data received {"connection_id":163067,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:16:52] local.INFO: Processing buffer {"connection_id":163067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:16:52] local.INFO: Packet analysis {"connection_id":163067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:16:52] local.INFO: Extracted packet for processing {"connection_id":163067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:16:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:16: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-08-23 12:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591590400001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787467451000,"timestamp_ms":1787467451000,"timestamp_seconds":1787467451,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5cca78"} 
[2026-08-23 12:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 12:16:52] 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-08-23 12:16: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-08-23 12:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591590400001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591590400001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:16:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:16:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591590400001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":163067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:16:52] local.INFO: GPS data processed {"connection_id":163067,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:16:52] local.INFO: Acknowledgment sent {"connection_id":163067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:17:23] local.INFO: TCP Data received {"connection_id":161659,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5e0ac8012d7d27c005d21fd00005000828..."} 
[2026-08-23 12:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5e0ac8012d7d27c005d21fd00005000828..."} 
[2026-08-23 12:17:23] local.INFO: Processing buffer {"connection_id":161659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5e0ac8012d7d27c005d21fd00005000828..."} 
[2026-08-23 12:17:23] local.INFO: Packet analysis {"connection_id":161659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5e"} 
[2026-08-23 12:17:23] local.INFO: Extracted packet for processing {"connection_id":161659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5e"} 
[2026-08-23 12:17:23] local.INFO: GPS Element Parsed {"raw_longitude":763176896,"raw_latitude":97656784,"longitude_deg":76.3176896,"latitude_deg":9.7656784,"altitude":5,"angle":8,"satellites":40,"speed":41,"hex_longitude":"2d7d27c0","hex_latitude":"05d21fd0","is_valid_coordinates":true} 
[2026-08-23 12:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591686144001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122619976271003648,"note":"Value kept but may cause issues"} 
[2026-08-23 12:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017262010156034048,"note":"Value kept but may cause issues"} 
[2026-08-23 12:17:23] 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-08-23 12:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787467533000,"timestamp_ms":1787467533000,"timestamp_seconds":1787467533,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5e0ac8"} 
[2026-08-23 12:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-23 12:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591686144001,"66":13102,"23":206,"85":15104,"24":41,"16":122619976271003648,"45":9017262010156034048},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-23 12:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591686144001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:17:23] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-23 12:17:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122619976271003648,"km_value":122619976271003.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017262010156034048,"description":"Unknown IO ID 45"} 
[2026-08-23 12:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591686144001,"power":13102,"unknown_23":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9017262010156034048}} 
[2026-08-23 12:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":161659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:17:23] local.INFO: GPS data processed {"connection_id":161659,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:17:23] local.INFO: Acknowledgment sent {"connection_id":161659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:17:24] local.INFO: TCP Data received {"connection_id":163067,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:17:24] local.INFO: Processing buffer {"connection_id":163067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:17:24] local.INFO: Packet analysis {"connection_id":163067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:17:24] local.INFO: Extracted packet for processing {"connection_id":163067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:17:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591590400001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787467451000,"timestamp_ms":1787467451000,"timestamp_seconds":1787467451,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5cca78"} 
[2026-08-23 12:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 12:17:24] 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-08-23 12: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-08-23 12:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591590400001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591590400001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:17:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:17:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591590400001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":163067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:17:24] local.INFO: GPS data processed {"connection_id":163067,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:17:24] local.INFO: Acknowledgment sent {"connection_id":163067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:17:44] local.INFO: TCP Data received {"connection_id":160720,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:17:45] local.INFO: Processing buffer {"connection_id":160720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:17:45] local.INFO: IMEI packet received {"connection_id":160720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 12:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":160720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:17:45] local.INFO: TCP Data received {"connection_id":160720,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:17:45] local.INFO: Processing buffer {"connection_id":160720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:17:45] local.INFO: IMEI packet received {"connection_id":160720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":160720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:17:51] local.INFO: TCP Data received {"connection_id":160720,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:17:51] local.INFO: Processing buffer {"connection_id":160720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:17:51] local.INFO: IMEI packet received {"connection_id":160720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":160720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:17:51] local.INFO: TCP Data received {"connection_id":161661,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:17:51] local.INFO: Processing buffer {"connection_id":161661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:17:51] local.INFO: IMEI packet received {"connection_id":161661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":161661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:17:52] local.INFO: TCP Data received {"connection_id":160720,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5f6288012d7d150005d290180006010d29..."} 
[2026-08-23 12:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5f6288012d7d150005d290180006010d29..."} 
[2026-08-23 12:17:52] local.INFO: Processing buffer {"connection_id":160720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5f6288012d7d150005d290180006010d29..."} 
[2026-08-23 12:17:52] local.INFO: Packet analysis {"connection_id":160720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5f"} 
[2026-08-23 12:17:52] local.INFO: Extracted packet for processing {"connection_id":160720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5f"} 
[2026-08-23 12:17:52] local.INFO: GPS Element Parsed {"raw_longitude":763172096,"raw_latitude":97685528,"longitude_deg":76.3172096,"latitude_deg":9.7685528,"altitude":6,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d7d1500","hex_latitude":"05d29018","is_valid_coordinates":true} 
[2026-08-23 12:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591705856001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122621784452235264,"note":"Value kept but may cause issues"} 
[2026-08-23 12:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014869472863928320,"note":"Value kept but may cause issues"} 
[2026-08-23 12:17:52] 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-08-23 12:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787467621000,"timestamp_ms":1787467621000,"timestamp_seconds":1787467621,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5f6288"} 
[2026-08-23 12:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-23 12:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591705856001,"66":12819,"117":206,"85":15104,"24":0,"16":122621784452235264,"45":9014869472863928320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 12:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591705856001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:17:52] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 12:17:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122621784452235264,"km_value":122621784452235.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014869472863928320,"description":"Unknown IO ID 45"} 
[2026-08-23 12:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591705856001,"power":12819,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9014869472863928320}} 
[2026-08-23 12:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":160720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:17:52] local.INFO: GPS data processed {"connection_id":160720,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:17:52] local.INFO: Acknowledgment sent {"connection_id":160720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:17:56] local.INFO: TCP Data received {"connection_id":161661,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:17:56] local.INFO: Processing buffer {"connection_id":161661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:17:56] local.INFO: IMEI packet received {"connection_id":161661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":161661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:17:57] local.INFO: TCP Data received {"connection_id":161661,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:17:57] local.INFO: Processing buffer {"connection_id":161661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:17:57] local.INFO: Packet analysis {"connection_id":161661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:17:57] local.INFO: Extracted packet for processing {"connection_id":161661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:17:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591590400001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787467451000,"timestamp_ms":1787467451000,"timestamp_seconds":1787467451,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5cca78"} 
[2026-08-23 12:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 12:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:17:57] 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-08-23 12:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591590400001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591590400001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:17:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:17:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591590400001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":161661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:17:57] local.INFO: GPS data processed {"connection_id":161661,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:17:57] local.INFO: Acknowledgment sent {"connection_id":161661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:18:02] local.INFO: TCP Data received {"connection_id":161661,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:18:02] local.INFO: Processing buffer {"connection_id":161661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:18:02] local.INFO: Packet analysis {"connection_id":161661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:18:02] local.INFO: Extracted packet for processing {"connection_id":161661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:18:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591590400001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787467451000,"timestamp_ms":1787467451000,"timestamp_seconds":1787467451,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5cca78"} 
[2026-08-23 12:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 12:18:02] 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-08-23 12:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:18:02] 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-08-23 12:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591590400001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591590400001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:18:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:18:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591590400001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":161661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:18:02] local.INFO: GPS data processed {"connection_id":161661,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:18:02] local.INFO: Acknowledgment sent {"connection_id":161661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:18:23] local.INFO: TCP Data received {"connection_id":160720,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5fb490012d7d150005d290180006010d29..."} 
[2026-08-23 12:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5fb490012d7d150005d290180006010d29..."} 
[2026-08-23 12:18:23] local.INFO: Processing buffer {"connection_id":160720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5fb490012d7d150005d290180006010d29..."} 
[2026-08-23 12:18:23] local.INFO: Packet analysis {"connection_id":160720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5f"} 
[2026-08-23 12:18:23] local.INFO: Extracted packet for processing {"connection_id":160720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5f"} 
[2026-08-23 12:18:23] local.INFO: GPS Element Parsed {"raw_longitude":763172096,"raw_latitude":97685528,"longitude_deg":76.3172096,"latitude_deg":9.7685528,"altitude":6,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d7d1500","hex_latitude":"05d29018","is_valid_coordinates":true} 
[2026-08-23 12:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591710976001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122621784452235264,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013110254259410944,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:23] 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-08-23 12:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787467642000,"timestamp_ms":1787467642000,"timestamp_seconds":1787467642,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5fb490"} 
[2026-08-23 12:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 12:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:23] local.WARNING: Large IO value detected {"io_id":163,"raw_value":2717908992,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6831424078104835712,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:23] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505470680498176,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:23] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2447900682,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:23] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5620756222048534784,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6452250004945174504,"corrected_to":0} 
[2026-08-23 12:18:23] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2684431741,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:23] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3221607057,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:23] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182173875044608,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:23] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2743664640,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3275198848388999640,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:23] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-5332035843995414955,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:23] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755459570729201,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:23] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195133952,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:23] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84861643166962310,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2814763339876352,"corrected_to":0} 
[2026-08-23 12:18:23] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,117,85,24,241,157,16,163,160,20,45,64,145,8,41,10,66,4,9,128,1,240,187,227,210,113,205,22,225,49,239,51,2,179,5,14,50,59,127,69,168,200],"length":625,"final_offset":755,"validated_count":42,"validation_warnings":[{"io_id":205,"original":-6452250004945174504,"validated":0},{"io_id":200,"original":2814763339876352,"validated":0}]} 
[2026-08-23 12:18:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432641508949098496,"timestamp_seconds":432641508949098.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 12:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591710976001,"66":12689,"117":206,"85":15104,"24":0,"16":122621784452235264,"45":9013110254259410944},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 12:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591710976001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:18:23] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 12:18:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122621784452235264,"km_value":122621784452235.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013110254259410944,"description":"Unknown IO ID 45"} 
[2026-08-23 12:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591710976001,"power":12689,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9013110254259410944}} 
[2026-08-23 12:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":160720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:18:23] local.INFO: GPS data processed {"connection_id":160720,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:18:23] local.INFO: Acknowledgment sent {"connection_id":160720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:18:45] local.INFO: TCP Data received {"connection_id":163068,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:18:45] local.INFO: Processing buffer {"connection_id":163068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:18:45] local.INFO: IMEI packet received {"connection_id":163068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 12:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":163068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:18:46] local.INFO: TCP Data received {"connection_id":161662,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:18:46] local.INFO: Processing buffer {"connection_id":161662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:18:46] local.INFO: IMEI packet received {"connection_id":161662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":161662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:18:51] local.INFO: TCP Data received {"connection_id":163068,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:18:51] local.INFO: Processing buffer {"connection_id":163068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:18:51] local.INFO: IMEI packet received {"connection_id":163068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":163068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:18:51] local.INFO: TCP Data received {"connection_id":161662,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:18:51] local.INFO: Processing buffer {"connection_id":161662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:18:51] local.INFO: IMEI packet received {"connection_id":161662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":161662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:18:52] local.INFO: TCP Data received {"connection_id":163068,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5ff310012d7d150005d290500006012829..."} 
[2026-08-23 12:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5ff310012d7d150005d290500006012829..."} 
[2026-08-23 12:18:52] local.INFO: Processing buffer {"connection_id":163068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5ff310012d7d150005d290500006012829..."} 
[2026-08-23 12:18:52] local.INFO: Packet analysis {"connection_id":163068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5f"} 
[2026-08-23 12:18:52] local.INFO: Extracted packet for processing {"connection_id":163068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5f"} 
[2026-08-23 12:18:52] local.INFO: GPS Element Parsed {"raw_longitude":763172096,"raw_latitude":97685584,"longitude_deg":76.3172096,"latitude_deg":9.7685584,"altitude":6,"angle":296,"satellites":41,"speed":5,"hex_longitude":"2d7d1500","hex_latitude":"05d29050","is_valid_coordinates":true} 
[2026-08-23 12:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591716352001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122621784452235264,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013110254259410944,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:52] 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-08-23 12:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787467658000,"timestamp_ms":1787467658000,"timestamp_seconds":1787467658,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5ff310"} 
[2026-08-23 12:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:18:52] 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-08-23 12:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-23 12:18:52] 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-08-23 12:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591716352001,"66":13048,"117":206,"85":15104,"24":5,"16":122621784452235264,"45":9013110254259410944},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 12:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591716352001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:18:52] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 12:18:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122621784452235264,"km_value":122621784452235.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013110254259410944,"description":"Unknown IO ID 45"} 
[2026-08-23 12:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591716352001,"power":13048,"unknown_117":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9013110254259410944}} 
[2026-08-23 12:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":163068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:18:52] local.INFO: GPS data processed {"connection_id":163068,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:18:52] local.INFO: Acknowledgment sent {"connection_id":163068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:18:52] local.INFO: TCP Data received {"connection_id":161662,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:18:52] local.INFO: Processing buffer {"connection_id":161662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:18:52] local.INFO: Packet analysis {"connection_id":161662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:18:52] local.INFO: Extracted packet for processing {"connection_id":161662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:18:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591590400001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787467451000,"timestamp_ms":1787467451000,"timestamp_seconds":1787467451,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5cca78"} 
[2026-08-23 12:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 12:18:52] 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-08-23 12:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591590400001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591590400001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:18:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:18:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591590400001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":161662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:18:52] local.INFO: GPS data processed {"connection_id":161662,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:18:52] local.INFO: Acknowledgment sent {"connection_id":161662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:19:23] local.INFO: TCP Data received {"connection_id":163068,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d616df8012d7c8c0005d291380008012229..."} 
[2026-08-23 12:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d616df8012d7c8c0005d291380008012229..."} 
[2026-08-23 12:19:23] local.INFO: Processing buffer {"connection_id":163068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d616df8012d7c8c0005d291380008012229..."} 
[2026-08-23 12:19:23] local.INFO: Packet analysis {"connection_id":163068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:19:23] local.INFO: Extracted packet for processing {"connection_id":163068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:19:23] local.INFO: GPS Element Parsed {"raw_longitude":763137024,"raw_latitude":97685816,"longitude_deg":76.3137024,"latitude_deg":9.7685816,"altitude":8,"angle":290,"satellites":41,"speed":10,"hex_longitude":"2d7c8c00","hex_latitude":"05d29138","is_valid_coordinates":true} 
[2026-08-23 12:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591744256001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122623480964317184,"note":"Value kept but may cause issues"} 
[2026-08-23 12:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975322238635997184,"note":"Value kept but may cause issues"} 
[2026-08-23 12:19:23] 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-08-23 12:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787467755000,"timestamp_ms":1787467755000,"timestamp_seconds":1787467755,"priority":1,"record_length":96,"hex_timestamp":"000001a02d616df8"} 
[2026-08-23 12:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-23 12:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591744256001,"66":12461,"117":206,"85":15104,"24":10,"16":122623480964317184,"45":8975322238635997184},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 12:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591744256001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:19:23] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 12:19:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122623480964317184,"km_value":122623480964317.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975322238635997184,"description":"Unknown IO ID 45"} 
[2026-08-23 12:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591744256001,"power":12461,"unknown_117":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8975322238635997184}} 
[2026-08-23 12:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":163068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:19:23] local.INFO: GPS data processed {"connection_id":163068,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:19:23] local.INFO: Acknowledgment sent {"connection_id":163068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:19:23] local.INFO: TCP Data received {"connection_id":161662,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:19:23] local.INFO: Processing buffer {"connection_id":161662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d5cca78012d34c50006aa4098003a008522..."} 
[2026-08-23 12:19:23] local.INFO: Packet analysis {"connection_id":161662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:19:23] local.INFO: Extracted packet for processing {"connection_id":161662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d5c"} 
[2026-08-23 12:19:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":58,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591590400001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787467451000,"timestamp_ms":1787467451000,"timestamp_seconds":1787467451,"priority":1,"record_length":96,"hex_timestamp":"000001a02d5cca78"} 
[2026-08-23 12:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 12:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591590400001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591590400001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:19:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:19:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591590400001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":161662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:19:23] local.INFO: GPS data processed {"connection_id":161662,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:19:23] local.INFO: Acknowledgment sent {"connection_id":161662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:19:46] local.INFO: TCP Data received {"connection_id":160483,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:19:46] local.INFO: Processing buffer {"connection_id":160483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:19:46] local.INFO: IMEI packet received {"connection_id":160483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":160483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:19:47] local.INFO: TCP Data received {"connection_id":161663,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:19:47] local.INFO: Processing buffer {"connection_id":161663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:19:47] local.INFO: IMEI packet received {"connection_id":161663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 12:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":161663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:19:50] local.INFO: TCP Data received {"connection_id":160483,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:19:50] local.INFO: Processing buffer {"connection_id":160483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:19:50] local.INFO: IMEI packet received {"connection_id":160483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":160483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:19:52] local.INFO: TCP Data received {"connection_id":160483,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:19:52] local.INFO: Processing buffer {"connection_id":160483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:19:52] local.INFO: Packet analysis {"connection_id":160483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:19:52] local.INFO: Extracted packet for processing {"connection_id":160483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":43,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591667456001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787467752000,"timestamp_ms":1787467752000,"timestamp_seconds":1787467752,"priority":1,"record_length":96,"hex_timestamp":"000001a02d616240"} 
[2026-08-23 12:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:19:52] 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-08-23 12:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:19:52] 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-08-23 12:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591667456001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591667456001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:19:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591667456001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":160483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:19:52] local.INFO: GPS data processed {"connection_id":160483,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:19:52] local.INFO: Acknowledgment sent {"connection_id":160483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:20:07] local.INFO: TCP Data received {"connection_id":161663,"ip":"42.106.6.20","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 12:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161663,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 12:20:07] local.INFO: Processing buffer {"connection_id":161663,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 12:20:07] local.INFO: IMEI packet received {"connection_id":161663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":161663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:20:09] local.INFO: TCP Data received {"connection_id":161663,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6171e0012d7c8b4005d291600008011629..."} 
[2026-08-23 12:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6171e0012d7c8b4005d291600008011629..."} 
[2026-08-23 12:20:09] local.INFO: Processing buffer {"connection_id":161663,"buffer_length":829,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 12:20:09] local.INFO: IMEI packet received {"connection_id":161663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":161663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:20:10] local.INFO: TCP Data received {"connection_id":161663,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6179b0012d7c89c005d291b00007012929..."} 
[2026-08-23 12:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6179b0012d7c89c005d291b00007012929..."} 
[2026-08-23 12:20:10] local.INFO: Processing buffer {"connection_id":161663,"buffer_length":1607,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a02d..."} 
[2026-08-23 12:20:10] local.INFO: IMEI packet received {"connection_id":161663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":161663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:20:13] local.INFO: TCP Data received {"connection_id":161663,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d61b448012d7c888005d292c80006014f29..."} 
[2026-08-23 12:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d61b448012d7c888005d292c80006014f29..."} 
[2026-08-23 12:20:13] local.INFO: Processing buffer {"connection_id":161663,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a02d6171e0012d7c8b4005d291600008011629..."} 
[2026-08-23 12:20:13] local.INFO: Packet analysis {"connection_id":161663,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:20:13] local.INFO: Extracted packet for processing {"connection_id":161663,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:20:13] local.INFO: GPS Element Parsed {"raw_longitude":763136832,"raw_latitude":97685856,"longitude_deg":76.3136832,"latitude_deg":9.7685856,"altitude":8,"angle":278,"satellites":41,"speed":8,"hex_longitude":"2d7c8b40","hex_latitude":"05d29160","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591745280001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122623489554251776,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974548182450124800,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] 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-08-23 12:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787467756000,"timestamp_ms":1787467756000,"timestamp_seconds":1787467756,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6171e0"} 
[2026-08-23 12:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:20: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-08-23 12:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 12:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591745280001,"66":12993,"117":206,"85":15104,"24":8,"16":122623489554251776,"45":8974548182450124800},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 12:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591745280001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:20:13] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 12:20:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122623489554251776,"km_value":122623489554251.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974548182450124800,"description":"Unknown IO ID 45"} 
[2026-08-23 12:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591745280001,"power":12993,"unknown_117":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8974548182450124800}} 
[2026-08-23 12:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":161663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:20:13] local.INFO: GPS data processed {"connection_id":161663,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:20:13] local.INFO: Acknowledgment sent {"connection_id":161663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:20:13] local.INFO: Packet analysis {"connection_id":161663,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:20:13] local.INFO: Extracted packet for processing {"connection_id":161663,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:20:13] local.INFO: GPS Element Parsed {"raw_longitude":763136448,"raw_latitude":97685936,"longitude_deg":76.3136448,"latitude_deg":9.7685936,"altitude":7,"angle":297,"satellites":41,"speed":6,"hex_longitude":"2d7c89c0","hex_latitude":"05d291b0","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591745536001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122623511029088256,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974337076217602048,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] 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-08-23 12:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787467758000,"timestamp_ms":1787467758000,"timestamp_seconds":1787467758,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6179b0"} 
[2026-08-23 12:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:20: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-08-23 12:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-23 12:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591745536001,"66":12819,"117":206,"85":15104,"24":6,"16":122623511029088256,"45":8974337076217602048},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 12:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591745536001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:20:13] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 12:20:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122623511029088256,"km_value":122623511029088.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974337076217602048,"description":"Unknown IO ID 45"} 
[2026-08-23 12:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591745536001,"power":12819,"unknown_117":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8974337076217602048}} 
[2026-08-23 12:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":161663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:20:13] local.INFO: GPS data processed {"connection_id":161663,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:20:13] local.INFO: Acknowledgment sent {"connection_id":161663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:20:13] local.INFO: Packet analysis {"connection_id":161663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:20:13] local.INFO: Extracted packet for processing {"connection_id":161663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:20:13] local.INFO: GPS Element Parsed {"raw_longitude":763136128,"raw_latitude":97686216,"longitude_deg":76.3136128,"latitude_deg":9.7686216,"altitude":6,"angle":335,"satellites":41,"speed":4,"hex_longitude":"2d7c8880","hex_latitude":"05d292c8","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591746048001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122623532503924736,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973914863752556544,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] 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-08-23 12:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787467773000,"timestamp_ms":1787467773000,"timestamp_seconds":1787467773,"priority":1,"record_length":96,"hex_timestamp":"000001a02d61b448"} 
[2026-08-23 12:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:20: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-08-23 12:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5764871410124390656,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6993052287387878144,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":8,"raw_value":3378894409309440,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505470702714880,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2376597514,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6452250004945174504,"corrected_to":0} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":70,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182182464979200,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422374,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2772631552,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3274671082757351895,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3675163410745577045,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755519700271345,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195128320,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.WARNING: Large IO value detected {"io_id":80,"raw_value":84861144950755982,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:13] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,117,85,24,241,157,16,165,160,113,45,64,145,8,41,10,66,109,94,192,1,240,227,210,4,205,19,70,152,120,239,51,2,179,5,12,28,52,59,69,80],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":-6452250004945174504,"validated":0}]} 
[2026-08-23 12:20:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504729889312997376,"timestamp_seconds":504729889312997.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 12:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591746048001,"66":12982,"117":206,"85":15104,"24":4,"16":122623532503924736,"45":8973914863752556544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 12:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591746048001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:20:13] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 12:20:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122623532503924736,"km_value":122623532503924.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973914863752556544,"description":"Unknown IO ID 45"} 
[2026-08-23 12:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591746048001,"power":12982,"unknown_117":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8973914863752556544}} 
[2026-08-23 12:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":161663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:20:13] local.INFO: GPS data processed {"connection_id":161663,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:20:13] local.INFO: Acknowledgment sent {"connection_id":161663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:20:14] local.INFO: TCP Data received {"connection_id":161663,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d61c3e8012d7c888005d293080006008629..."} 
[2026-08-23 12:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d61c3e8012d7c888005d293080006008629..."} 
[2026-08-23 12:20:14] local.INFO: Processing buffer {"connection_id":161663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d61c3e8012d7c888005d293080006008629..."} 
[2026-08-23 12:20:14] local.INFO: Packet analysis {"connection_id":161663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:20:14] local.INFO: Extracted packet for processing {"connection_id":161663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:20:14] local.INFO: GPS Element Parsed {"raw_longitude":763136128,"raw_latitude":97686280,"longitude_deg":76.3136128,"latitude_deg":9.768628,"altitude":6,"angle":134,"satellites":41,"speed":0,"hex_longitude":"2d7c8880","hex_latitude":"05d29308","is_valid_coordinates":true} 
[2026-08-23 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-08-23 12:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591749888001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122623536798892032,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973563020031739904,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:14] 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-08-23 12:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787467777000,"timestamp_ms":1787467777000,"timestamp_seconds":1787467777,"priority":1,"record_length":96,"hex_timestamp":"000001a02d61c3e8"} 
[2026-08-23 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-08-23 12:20:14] 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-08-23 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 12:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 12:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591749888001,"66":12972,"117":206,"85":15104,"24":0,"16":122623536798892032,"45":8973563020031739904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 12:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591749888001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:20:14] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 12:20:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122623536798892032,"km_value":122623536798892.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973563020031739904,"description":"Unknown IO ID 45"} 
[2026-08-23 12:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591749888001,"power":12972,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8973563020031739904}} 
[2026-08-23 12:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":161663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:20:14] local.INFO: GPS data processed {"connection_id":161663,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:20:14] local.INFO: Acknowledgment sent {"connection_id":161663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:20:23] local.INFO: TCP Data received {"connection_id":160483,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:20:23] local.INFO: Processing buffer {"connection_id":160483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:20:23] local.INFO: Packet analysis {"connection_id":160483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:20:23] local.INFO: Extracted packet for processing {"connection_id":160483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:20:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":43,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591667456001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787467752000,"timestamp_ms":1787467752000,"timestamp_seconds":1787467752,"priority":1,"record_length":96,"hex_timestamp":"000001a02d616240"} 
[2026-08-23 12:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:20:23] 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-08-23 12:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:20:23] 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-08-23 12:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591667456001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591667456001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:20:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:20:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591667456001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":160483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:20:23] local.INFO: GPS data processed {"connection_id":160483,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:20:23] local.INFO: Acknowledgment sent {"connection_id":160483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:20:46] local.INFO: TCP Data received {"connection_id":160722,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:20:46] local.INFO: Processing buffer {"connection_id":160722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:20:46] local.INFO: IMEI packet received {"connection_id":160722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":160722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:20:48] local.INFO: TCP Data received {"connection_id":160484,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:20:48] local.INFO: Processing buffer {"connection_id":160484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:20:48] local.INFO: IMEI packet received {"connection_id":160484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 12:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":160484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:20:48] local.INFO: TCP Data received {"connection_id":160484,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:20:48] local.INFO: Processing buffer {"connection_id":160484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:20:48] local.INFO: IMEI packet received {"connection_id":160484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":160484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:20:51] local.INFO: TCP Data received {"connection_id":160484,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:20:51] local.INFO: Processing buffer {"connection_id":160484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:20:51] local.INFO: IMEI packet received {"connection_id":160484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":160484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:20:51] local.INFO: TCP Data received {"connection_id":160722,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:20:51] local.INFO: Processing buffer {"connection_id":160722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:20:51] local.INFO: IMEI packet received {"connection_id":160722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":160722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:20:52] local.INFO: TCP Data received {"connection_id":160484,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d61db58012d7c89c005d291880006009329..."} 
[2026-08-23 12:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d61db58012d7c89c005d291880006009329..."} 
[2026-08-23 12:20:52] local.INFO: Processing buffer {"connection_id":160484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d61db58012d7c89c005d291880006009329..."} 
[2026-08-23 12:20:52] local.INFO: Packet analysis {"connection_id":160484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:20:52] local.INFO: Extracted packet for processing {"connection_id":160484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:20:52] local.INFO: GPS Element Parsed {"raw_longitude":763136448,"raw_latitude":97685896,"longitude_deg":76.3136448,"latitude_deg":9.7685896,"altitude":6,"angle":147,"satellites":41,"speed":3,"hex_longitude":"2d7c89c0","hex_latitude":"05d29188","is_valid_coordinates":true} 
[2026-08-23 12:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591750912001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122623562568695808,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973563020031756288,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:52] 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-08-23 12:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787467783000,"timestamp_ms":1787467783000,"timestamp_seconds":1787467783,"priority":1,"record_length":96,"hex_timestamp":"000001a02d61db58"} 
[2026-08-23 12:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:20:52] 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-08-23 12:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 12:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591750912001,"66":12765,"117":206,"85":15104,"24":3,"16":122623562568695808,"45":8973563020031756288},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 12:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591750912001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:20:52] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 12:20:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122623562568695808,"km_value":122623562568695.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973563020031756288,"description":"Unknown IO ID 45"} 
[2026-08-23 12:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591750912001,"power":12765,"unknown_117":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8973563020031756288}} 
[2026-08-23 12:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":160484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:20:52] local.INFO: GPS data processed {"connection_id":160484,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:20:52] local.INFO: Acknowledgment sent {"connection_id":160484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:20:52] local.INFO: TCP Data received {"connection_id":160722,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:20:52] local.INFO: Processing buffer {"connection_id":160722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:20:52] local.INFO: Packet analysis {"connection_id":160722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:20:52] local.INFO: Extracted packet for processing {"connection_id":160722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:20:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":43,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591667456001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787467752000,"timestamp_ms":1787467752000,"timestamp_seconds":1787467752,"priority":1,"record_length":96,"hex_timestamp":"000001a02d616240"} 
[2026-08-23 12:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:20:52] 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-08-23 12:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:20:52] 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-08-23 12:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591667456001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591667456001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:20:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:20:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591667456001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":160722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:20:52] local.INFO: GPS data processed {"connection_id":160722,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:20:52] local.INFO: Acknowledgment sent {"connection_id":160722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:20:53] local.INFO: TCP Data received {"connection_id":160484,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d61e328012d7c89c005d290e8000600a929..."} 
[2026-08-23 12:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d61e328012d7c89c005d290e8000600a929..."} 
[2026-08-23 12:20:53] local.INFO: Processing buffer {"connection_id":160484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d61e328012d7c89c005d290e8000600a929..."} 
[2026-08-23 12:20:53] local.INFO: Packet analysis {"connection_id":160484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:20:53] local.INFO: Extracted packet for processing {"connection_id":160484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:20:53] local.INFO: GPS Element Parsed {"raw_longitude":763136448,"raw_latitude":97685736,"longitude_deg":76.3136448,"latitude_deg":9.7685736,"altitude":6,"angle":169,"satellites":41,"speed":3,"hex_longitude":"2d7c89c0","hex_latitude":"05d290e8","is_valid_coordinates":true} 
[2026-08-23 12:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591752448001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122623571158630400,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973914863752546304,"note":"Value kept but may cause issues"} 
[2026-08-23 12:20:53] 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-08-23 12:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787467785000,"timestamp_ms":1787467785000,"timestamp_seconds":1787467785,"priority":1,"record_length":96,"hex_timestamp":"000001a02d61e328"} 
[2026-08-23 12:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-23 12:20:53] 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-08-23 12:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591752448001,"66":12972,"117":206,"85":15104,"24":3,"16":122623571158630400,"45":8973914863752546304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 12:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591752448001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:20:53] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 12:20:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122623571158630400,"km_value":122623571158630.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973914863752546304,"description":"Unknown IO ID 45"} 
[2026-08-23 12:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591752448001,"power":12972,"unknown_117":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8973914863752546304}} 
[2026-08-23 12:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":160484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:20:53] local.INFO: GPS data processed {"connection_id":160484,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:20:53] local.INFO: Acknowledgment sent {"connection_id":160484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:21:24] local.INFO: TCP Data received {"connection_id":160722,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:21:24] local.INFO: Processing buffer {"connection_id":160722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:21:24] local.INFO: Packet analysis {"connection_id":160722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:21:24] local.INFO: Extracted packet for processing {"connection_id":160722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:21:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":43,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591667456001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787467752000,"timestamp_ms":1787467752000,"timestamp_seconds":1787467752,"priority":1,"record_length":96,"hex_timestamp":"000001a02d616240"} 
[2026-08-23 12:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:21:24] 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-08-23 12:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:21:24] 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-08-23 12:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591667456001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591667456001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:21:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:21:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591667456001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":160722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:21:24] local.INFO: GPS data processed {"connection_id":160722,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:21:24] local.INFO: Acknowledgment sent {"connection_id":160722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:21:24] local.INFO: TCP Data received {"connection_id":160484,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d61e710012d7c89c005d290b8000600bf29..."} 
[2026-08-23 12:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d61e710012d7c89c005d290b8000600bf29..."} 
[2026-08-23 12:21:24] local.INFO: Processing buffer {"connection_id":160484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d61e710012d7c89c005d290b8000600bf29..."} 
[2026-08-23 12:21:24] local.INFO: Packet analysis {"connection_id":160484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:21:24] local.INFO: Extracted packet for processing {"connection_id":160484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:21:24] local.INFO: GPS Element Parsed {"raw_longitude":763136448,"raw_latitude":97685688,"longitude_deg":76.3136448,"latitude_deg":9.7685688,"altitude":6,"angle":191,"satellites":41,"speed":1,"hex_longitude":"2d7c89c0","hex_latitude":"05d290b8","is_valid_coordinates":true} 
[2026-08-23 12:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591752960001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122623575453597696,"note":"Value kept but may cause issues"} 
[2026-08-23 12:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973914863752505344,"note":"Value kept but may cause issues"} 
[2026-08-23 12:21:24] 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-08-23 12:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787467786000,"timestamp_ms":1787467786000,"timestamp_seconds":1787467786,"priority":1,"record_length":96,"hex_timestamp":"000001a02d61e710"} 
[2026-08-23 12:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 12:21:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591752960001,"66":12863,"117":206,"85":15104,"24":1,"16":122623575453597696,"45":8973914863752505344},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 12:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591752960001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:21:24] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 12:21:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122623575453597696,"km_value":122623575453597.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973914863752505344,"description":"Unknown IO ID 45"} 
[2026-08-23 12:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591752960001,"power":12863,"unknown_117":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8973914863752505344}} 
[2026-08-23 12:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":160484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:21:24] local.INFO: GPS data processed {"connection_id":160484,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:21:24] local.INFO: Acknowledgment sent {"connection_id":160484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:21:46] local.INFO: TCP Data received {"connection_id":161664,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:21:46] local.INFO: Processing buffer {"connection_id":161664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:21:46] local.INFO: IMEI packet received {"connection_id":161664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 12:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":161664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:21:51] local.INFO: TCP Data received {"connection_id":161664,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:21:51] local.INFO: Processing buffer {"connection_id":161664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:21:51] local.INFO: IMEI packet received {"connection_id":161664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":161664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:21:51] local.INFO: TCP Data received {"connection_id":163069,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:21:51] local.INFO: Processing buffer {"connection_id":163069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:21:51] local.INFO: IMEI packet received {"connection_id":163069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":163069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:21:51] local.INFO: TCP Data received {"connection_id":161664,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d623530012d7c89c005d29090000600bf29..."} 
[2026-08-23 12:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d623530012d7c89c005d29090000600bf29..."} 
[2026-08-23 12:21:51] local.INFO: Processing buffer {"connection_id":161664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d623530012d7c89c005d29090000600bf29..."} 
[2026-08-23 12:21:51] local.INFO: Packet analysis {"connection_id":161664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d62"} 
[2026-08-23 12:21:51] local.INFO: Extracted packet for processing {"connection_id":161664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d62"} 
[2026-08-23 12:21:51] local.INFO: GPS Element Parsed {"raw_longitude":763136448,"raw_latitude":97685648,"longitude_deg":76.3136448,"latitude_deg":9.7685648,"altitude":6,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c89c0","hex_latitude":"05d29090","is_valid_coordinates":true} 
[2026-08-23 12:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591753216001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122623575453597696,"note":"Value kept but may cause issues"} 
[2026-08-23 12:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973914863752493056,"note":"Value kept but may cause issues"} 
[2026-08-23 12:21:51] 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-08-23 12:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787467806000,"timestamp_ms":1787467806000,"timestamp_seconds":1787467806,"priority":1,"record_length":96,"hex_timestamp":"000001a02d623530"} 
[2026-08-23 12:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 12:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591753216001,"66":13059,"117":206,"85":15104,"24":0,"16":122623575453597696,"45":8973914863752493056},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 12:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591753216001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:21:51] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 12:21:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122623575453597696,"km_value":122623575453597.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973914863752493056,"description":"Unknown IO ID 45"} 
[2026-08-23 12:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591753216001,"power":13059,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8973914863752493056}} 
[2026-08-23 12:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":161664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:21:52] local.INFO: GPS data processed {"connection_id":161664,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:21:52] local.INFO: Acknowledgment sent {"connection_id":161664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:21:56] local.INFO: TCP Data received {"connection_id":163069,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:21:56] local.INFO: Processing buffer {"connection_id":163069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:21:56] local.INFO: IMEI packet received {"connection_id":163069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":163069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:21:57] local.INFO: TCP Data received {"connection_id":163069,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:21:57] local.INFO: Processing buffer {"connection_id":163069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:21:57] local.INFO: Packet analysis {"connection_id":163069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:21:57] local.INFO: Extracted packet for processing {"connection_id":163069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:21:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":43,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591667456001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787467752000,"timestamp_ms":1787467752000,"timestamp_seconds":1787467752,"priority":1,"record_length":96,"hex_timestamp":"000001a02d616240"} 
[2026-08-23 12:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:21:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591667456001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591667456001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:21:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:21:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591667456001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":163069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:21:57] local.INFO: GPS data processed {"connection_id":163069,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:21:57] local.INFO: Acknowledgment sent {"connection_id":163069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:22:02] local.INFO: TCP Data received {"connection_id":163069,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:22:02] local.INFO: Processing buffer {"connection_id":163069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:22:02] local.INFO: Packet analysis {"connection_id":163069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:22:02] local.INFO: Extracted packet for processing {"connection_id":163069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:22:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":43,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591667456001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787467752000,"timestamp_ms":1787467752000,"timestamp_seconds":1787467752,"priority":1,"record_length":96,"hex_timestamp":"000001a02d616240"} 
[2026-08-23 12:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591667456001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591667456001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:22:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:22:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591667456001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":163069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:22:02] local.INFO: GPS data processed {"connection_id":163069,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:22:02] local.INFO: Acknowledgment sent {"connection_id":163069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:22:15] local.INFO: TCP Data received {"connection_id":160723,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:22:15] local.INFO: Processing buffer {"connection_id":160723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:22:15] local.INFO: IMEI packet received {"connection_id":160723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":160723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:22:18] local.INFO: TCP Data received {"connection_id":160723,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 12:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160723,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 12:22:18] local.INFO: Processing buffer {"connection_id":160723,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 12:22:18] local.INFO: IMEI packet received {"connection_id":160723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:22:18] local.ERROR: TCP Connection error {"connection_id":160723,"code":2,"message":"client closed"} 
[2026-08-23 12:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":160723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:22:23] local.INFO: TCP Data received {"connection_id":161664,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d628738012d7c89c005d29090000600bf29..."} 
[2026-08-23 12:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d628738012d7c89c005d29090000600bf29..."} 
[2026-08-23 12:22:23] local.INFO: Processing buffer {"connection_id":161664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d628738012d7c89c005d29090000600bf29..."} 
[2026-08-23 12:22:23] local.INFO: Packet analysis {"connection_id":161664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d62"} 
[2026-08-23 12:22:23] local.INFO: Extracted packet for processing {"connection_id":161664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d62"} 
[2026-08-23 12:22:23] local.INFO: GPS Element Parsed {"raw_longitude":763136448,"raw_latitude":97685648,"longitude_deg":76.3136448,"latitude_deg":9.7685648,"altitude":6,"angle":191,"satellites":41,"speed":0,"hex_longitude":"2d7c89c0","hex_latitude":"05d29090","is_valid_coordinates":true} 
[2026-08-23 12:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591758336001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122623575453597696,"note":"Value kept but may cause issues"} 
[2026-08-23 12:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973914863752482816,"note":"Value kept but may cause issues"} 
[2026-08-23 12:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787467827000,"timestamp_ms":1787467827000,"timestamp_seconds":1787467827,"priority":1,"record_length":96,"hex_timestamp":"000001a02d628738"} 
[2026-08-23 12:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-23 12:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158986329510,"note":"Value kept but may cause issues"} 
[2026-08-23 12:22:23] local.WARNING: Large IO value detected {"io_id":117,"raw_value":58077557095399430,"note":"Value kept but may cause issues"} 
[2026-08-23 12:22:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 12:22:23] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2466775046,"note":"Value kept but may cause issues"} 
[2026-08-23 12:22:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792685774,"corrected_to":0} 
[2026-08-23 12:22:23] local.WARNING: Large IO value detected {"io_id":136,"raw_value":2147865234,"note":"Value kept but may cause issues"} 
[2026-08-23 12:22:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":393551,"corrected_to":0} 
[2026-08-23 12:22:23] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505958,"note":"Value kept but may cause issues"} 
[2026-08-23 12:22:23] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2775842816,"note":"Value kept but may cause issues"} 
[2026-08-23 12:22:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3532763136,"note":"Value kept but may cause issues"} 
[2026-08-23 12:22:23] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,117,85,24,241,157,16,165,160,231,45,192,144,6,41,10,66,227,219,1,240,221,210,4,113,205,180,136,200,239,50,2,179,5,7],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2792685774,"validated":0},{"io_id":200,"original":393551,"validated":0}]} 
[2026-08-23 12:22:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432555747042131968,"timestamp_seconds":432555747042131.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 12:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591758336001,"66":12961,"209":206,"85":15104,"24":0,"16":122623575453597696,"45":8973914863752482816},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-23 12:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591758336001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:22:23] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-23 12:22:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122623575453597696,"km_value":122623575453597.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973914863752482816,"description":"Unknown IO ID 45"} 
[2026-08-23 12:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591758336001,"power":12961,"unknown_209":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8973914863752482816}} 
[2026-08-23 12:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":161664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:22:23] local.INFO: GPS data processed {"connection_id":161664,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:22:23] local.INFO: Acknowledgment sent {"connection_id":161664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:22:27] local.INFO: TCP Data received {"connection_id":160724,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:22:27] local.INFO: Processing buffer {"connection_id":160724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:22:27] local.INFO: IMEI packet received {"connection_id":160724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":160724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:22:43] local.INFO: TCP Data received {"connection_id":161665,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:22:43] local.INFO: Processing buffer {"connection_id":161665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:22:43] local.INFO: IMEI packet received {"connection_id":161665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 12:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":161665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:22:46] local.INFO: TCP Data received {"connection_id":161665,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:22:46] local.INFO: Processing buffer {"connection_id":161665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:22:46] local.INFO: IMEI packet received {"connection_id":161665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":161665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:22:46] local.INFO: TCP Data received {"connection_id":163070,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:22:46] local.INFO: Processing buffer {"connection_id":163070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:22:46] local.INFO: IMEI packet received {"connection_id":163070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":163070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:22:51] local.INFO: TCP Data received {"connection_id":161665,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:22:51] local.INFO: Processing buffer {"connection_id":161665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:22:51] local.INFO: IMEI packet received {"connection_id":161665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":161665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:22:51] local.INFO: TCP Data received {"connection_id":163070,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:22:51] local.INFO: Processing buffer {"connection_id":163070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:22:51] local.INFO: IMEI packet received {"connection_id":163070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":163070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:22:51] local.INFO: TCP Data received {"connection_id":161665,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02d62c5b8012d7c8b4005d290e00008006f29..."} 
[2026-08-23 12:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d62c5b8012d7c8b4005d290e00008006f29..."} 
[2026-08-23 12:22:51] local.INFO: Processing buffer {"connection_id":161665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d62c5b8012d7c8b4005d290e00008006f29..."} 
[2026-08-23 12:22:51] local.INFO: Packet analysis {"connection_id":161665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d62"} 
[2026-08-23 12:22:51] local.INFO: Extracted packet for processing {"connection_id":161665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d62"} 
[2026-08-23 12:22:51] local.INFO: GPS Element Parsed {"raw_longitude":763136832,"raw_latitude":97685728,"longitude_deg":76.3136832,"latitude_deg":9.7685728,"altitude":8,"angle":111,"satellites":41,"speed":6,"hex_longitude":"2d7c8b40","hex_latitude":"05d290e0","is_valid_coordinates":true} 
[2026-08-23 12:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591763712001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122623592633466880,"note":"Value kept but may cause issues"} 
[2026-08-23 12:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973914863752482816,"note":"Value kept but may cause issues"} 
[2026-08-23 12:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787467843000,"timestamp_ms":1787467843000,"timestamp_seconds":1787467843,"priority":1,"record_length":96,"hex_timestamp":"000001a02d62c5b8"} 
[2026-08-23 12:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 12:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:22: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-08-23 12:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591763712001,"66":13254,"209":206,"85":15104,"24":6,"16":122623592633466880,"45":8973914863752482816},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-23 12:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591763712001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:22:51] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-23 12:22:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 12:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122623592633466880,"km_value":122623592633466.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973914863752482816,"description":"Unknown IO ID 45"} 
[2026-08-23 12:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591763712001,"power":13254,"unknown_209":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8973914863752482816}} 
[2026-08-23 12:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":161665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:22:52] local.INFO: GPS data processed {"connection_id":161665,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:22:52] local.INFO: Acknowledgment sent {"connection_id":161665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:22:52] local.INFO: TCP Data received {"connection_id":163070,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:22:52] local.INFO: Processing buffer {"connection_id":163070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:22:52] local.INFO: Packet analysis {"connection_id":163070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:22:52] local.INFO: Extracted packet for processing {"connection_id":163070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:22:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":43,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591667456001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787467752000,"timestamp_ms":1787467752000,"timestamp_seconds":1787467752,"priority":1,"record_length":96,"hex_timestamp":"000001a02d616240"} 
[2026-08-23 12:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:22:52] 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-08-23 12: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-08-23 12:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:22:52] 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-08-23 12:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591667456001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591667456001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:22:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:22:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591667456001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":163070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:22:52] local.INFO: GPS data processed {"connection_id":163070,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:22:52] local.INFO: Acknowledgment sent {"connection_id":163070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:23:23] local.INFO: TCP Data received {"connection_id":163070,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:23:23] local.INFO: Processing buffer {"connection_id":163070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:23:23] local.INFO: Packet analysis {"connection_id":163070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:23:23] local.INFO: Extracted packet for processing {"connection_id":163070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:23:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":43,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591667456001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787467752000,"timestamp_ms":1787467752000,"timestamp_seconds":1787467752,"priority":1,"record_length":96,"hex_timestamp":"000001a02d616240"} 
[2026-08-23 12:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:23:23] 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-08-23 12:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:23:23] 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-08-23 12:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591667456001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591667456001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:23:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:23:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591667456001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":163070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:23:23] local.INFO: GPS data processed {"connection_id":163070,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:23:23] local.INFO: Acknowledgment sent {"connection_id":163070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:23:46] local.INFO: TCP Data received {"connection_id":160485,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:23:46] local.INFO: Processing buffer {"connection_id":160485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:23:46] local.INFO: IMEI packet received {"connection_id":160485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":160485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:23:51] local.INFO: TCP Data received {"connection_id":160485,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:23:51] local.INFO: Processing buffer {"connection_id":160485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:23:51] local.INFO: IMEI packet received {"connection_id":160485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":160485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:23:52] local.INFO: TCP Data received {"connection_id":160485,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:23:52] local.INFO: Processing buffer {"connection_id":160485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:23:52] local.INFO: Packet analysis {"connection_id":160485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:23:52] local.INFO: Extracted packet for processing {"connection_id":160485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":43,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591667456001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787467752000,"timestamp_ms":1787467752000,"timestamp_seconds":1787467752,"priority":1,"record_length":96,"hex_timestamp":"000001a02d616240"} 
[2026-08-23 12:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:23:52] 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-08-23 12:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591667456001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591667456001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:23:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591667456001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":160485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:23:52] local.INFO: GPS data processed {"connection_id":160485,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:23:52] local.INFO: Acknowledgment sent {"connection_id":160485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:24:24] local.INFO: TCP Data received {"connection_id":160485,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:24:24] local.INFO: Processing buffer {"connection_id":160485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d616240012d34c50006aa4098002b008525..."} 
[2026-08-23 12:24:24] local.INFO: Packet analysis {"connection_id":160485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:24:24] local.INFO: Extracted packet for processing {"connection_id":160485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d61"} 
[2026-08-23 12:24:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":43,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591667456001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787467752000,"timestamp_ms":1787467752000,"timestamp_seconds":1787467752,"priority":1,"record_length":96,"hex_timestamp":"000001a02d616240"} 
[2026-08-23 12:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:24:24] 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-08-23 12:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591667456001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591667456001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:24:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:24:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591667456001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":160485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:24:24] local.INFO: GPS data processed {"connection_id":160485,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:24:24] local.INFO: Acknowledgment sent {"connection_id":160485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:24:46] local.INFO: TCP Data received {"connection_id":161666,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:24:46] local.INFO: Processing buffer {"connection_id":161666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:24:46] local.INFO: IMEI packet received {"connection_id":161666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":161666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:24:51] local.INFO: TCP Data received {"connection_id":161666,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:24:51] local.INFO: Processing buffer {"connection_id":161666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:24:51] local.INFO: IMEI packet received {"connection_id":161666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":161666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:24:52] local.INFO: TCP Data received {"connection_id":161666,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:24:52] local.INFO: Processing buffer {"connection_id":161666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:24:52] local.INFO: Packet analysis {"connection_id":161666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d65"} 
[2026-08-23 12:24:52] local.INFO: Extracted packet for processing {"connection_id":161666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d65"} 
[2026-08-23 12:24:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":27,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591744512001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787468053000,"timestamp_ms":1787468053000,"timestamp_seconds":1787468053,"priority":1,"record_length":96,"hex_timestamp":"000001a02d65fa08"} 
[2026-08-23 12:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:24:52] 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-08-23 12:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591744512001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591744512001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:24:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:24:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591744512001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":161666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:24:52] local.INFO: GPS data processed {"connection_id":161666,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:24:52] local.INFO: Acknowledgment sent {"connection_id":161666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:25:23] local.INFO: TCP Data received {"connection_id":161666,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:25:23] local.INFO: Processing buffer {"connection_id":161666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:25:23] local.INFO: Packet analysis {"connection_id":161666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d65"} 
[2026-08-23 12:25:23] local.INFO: Extracted packet for processing {"connection_id":161666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d65"} 
[2026-08-23 12:25:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":27,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591744512001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787468053000,"timestamp_ms":1787468053000,"timestamp_seconds":1787468053,"priority":1,"record_length":96,"hex_timestamp":"000001a02d65fa08"} 
[2026-08-23 12:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:25:23] 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-08-23 12: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-08-23 12:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591744512001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591744512001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:25:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:25:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591744512001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":161666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:25:23] local.INFO: GPS data processed {"connection_id":161666,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:25:23] local.INFO: Acknowledgment sent {"connection_id":161666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:25:46] local.INFO: TCP Data received {"connection_id":160726,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:25:46] local.INFO: Processing buffer {"connection_id":160726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:25:46] local.INFO: IMEI packet received {"connection_id":160726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":160726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:25:51] local.INFO: TCP Data received {"connection_id":160726,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:25:51] local.INFO: Processing buffer {"connection_id":160726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:25:51] local.INFO: IMEI packet received {"connection_id":160726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":160726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:25:52] local.INFO: TCP Data received {"connection_id":160726,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:25:52] local.INFO: Processing buffer {"connection_id":160726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:25:52] local.INFO: Packet analysis {"connection_id":160726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d65"} 
[2026-08-23 12:25:52] local.INFO: Extracted packet for processing {"connection_id":160726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d65"} 
[2026-08-23 12:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":27,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591744512001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787468053000,"timestamp_ms":1787468053000,"timestamp_seconds":1787468053,"priority":1,"record_length":96,"hex_timestamp":"000001a02d65fa08"} 
[2026-08-23 12:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:25:52] 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-08-23 12:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:25:52] 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-08-23 12:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591744512001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591744512001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:25:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591744512001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":160726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:25:52] local.INFO: GPS data processed {"connection_id":160726,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:25:52] local.INFO: Acknowledgment sent {"connection_id":160726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:26:24] local.INFO: TCP Data received {"connection_id":160726,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:26:24] local.INFO: Processing buffer {"connection_id":160726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:26:24] local.INFO: Packet analysis {"connection_id":160726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d65"} 
[2026-08-23 12:26:24] local.INFO: Extracted packet for processing {"connection_id":160726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d65"} 
[2026-08-23 12:26:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":27,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591744512001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787468053000,"timestamp_ms":1787468053000,"timestamp_seconds":1787468053,"priority":1,"record_length":96,"hex_timestamp":"000001a02d65fa08"} 
[2026-08-23 12:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:26:24] 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-08-23 12: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-08-23 12:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:26:24] 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-08-23 12:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591744512001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591744512001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:26:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:26:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591744512001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":160726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:26:24] local.INFO: GPS data processed {"connection_id":160726,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:26:24] local.INFO: Acknowledgment sent {"connection_id":160726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:26:46] local.INFO: TCP Data received {"connection_id":160728,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:26:46] local.INFO: Processing buffer {"connection_id":160728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:26:46] local.INFO: IMEI packet received {"connection_id":160728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":160728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:26:51] local.INFO: TCP Data received {"connection_id":160728,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:26:51] local.INFO: Processing buffer {"connection_id":160728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:26:51] local.INFO: IMEI packet received {"connection_id":160728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":160728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:26:52] local.INFO: TCP Data received {"connection_id":160728,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:26:52] local.INFO: Processing buffer {"connection_id":160728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:26:52] local.INFO: Packet analysis {"connection_id":160728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d65"} 
[2026-08-23 12:26:52] local.INFO: Extracted packet for processing {"connection_id":160728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d65"} 
[2026-08-23 12:26:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":27,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591744512001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787468053000,"timestamp_ms":1787468053000,"timestamp_seconds":1787468053,"priority":1,"record_length":96,"hex_timestamp":"000001a02d65fa08"} 
[2026-08-23 12:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:26:52] 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-08-23 12:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:26:52] 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-08-23 12:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591744512001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591744512001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:26:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:26:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591744512001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":160728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:26:52] local.INFO: GPS data processed {"connection_id":160728,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:26:52] local.INFO: Acknowledgment sent {"connection_id":160728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:27:24] local.INFO: TCP Data received {"connection_id":160728,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:27:24] local.INFO: Processing buffer {"connection_id":160728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:27:24] local.INFO: Packet analysis {"connection_id":160728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d65"} 
[2026-08-23 12:27:24] local.INFO: Extracted packet for processing {"connection_id":160728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d65"} 
[2026-08-23 12:27:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":27,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591744512001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787468053000,"timestamp_ms":1787468053000,"timestamp_seconds":1787468053,"priority":1,"record_length":96,"hex_timestamp":"000001a02d65fa08"} 
[2026-08-23 12:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:27:24] 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-08-23 12: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-08-23 12:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:27:24] 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-08-23 12:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591744512001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591744512001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:27:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:27:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591744512001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":160728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:27:24] local.INFO: GPS data processed {"connection_id":160728,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:27:24] local.INFO: Acknowledgment sent {"connection_id":160728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:27:29] local.INFO: TCP Data received {"connection_id":160487,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:27:29] local.INFO: Processing buffer {"connection_id":160487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:27:29] local.INFO: IMEI packet received {"connection_id":160487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":160487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:27:34] local.INFO: TCP Data received {"connection_id":160487,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:27:34] local.INFO: Processing buffer {"connection_id":160487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:27:34] local.INFO: IMEI packet received {"connection_id":160487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":160487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:27:34] local.INFO: TCP Data received {"connection_id":160487,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d680960012d0be6000724c4e00023012828..."} 
[2026-08-23 12:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d680960012d0be6000724c4e00023012828..."} 
[2026-08-23 12:27:34] local.INFO: Processing buffer {"connection_id":160487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d680960012d0be6000724c4e00023012828..."} 
[2026-08-23 12:27:34] local.INFO: Packet analysis {"connection_id":160487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d68"} 
[2026-08-23 12:27:34] local.INFO: Extracted packet for processing {"connection_id":160487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d68"} 
[2026-08-23 12:27:34] local.INFO: GPS Element Parsed {"raw_longitude":755754496,"raw_latitude":119850208,"longitude_deg":75.5754496,"latitude_deg":11.9850208,"altitude":35,"angle":296,"satellites":40,"speed":28,"hex_longitude":"2d0be600","hex_latitude":"0724c4e0","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591853056001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15355745033781248,"note":"Value kept but may cause issues"} 
[2026-08-23 12:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":866239271508117504,"note":"Value kept but may cause issues"} 
[2026-08-23 12:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787468188000,"timestamp_ms":1787468188000,"timestamp_seconds":1787468188,"priority":1,"record_length":96,"hex_timestamp":"000001a02d680960"} 
[2026-08-23 12:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:27: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-08-23 12: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-23 12:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591853056001,"66":13906,"115":206,"83":41984,"24":28,"16":15355745033781248,"45":866239271508117504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-08-23 12:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591853056001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:27:34] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-23 12:27:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 12:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15355745033781248,"km_value":15355745033781.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":866239271508117504,"description":"Unknown IO ID 45"} 
[2026-08-23 12:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591853056001,"power":13906,"unknown_115":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":866239271508117504}} 
[2026-08-23 12:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":160487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:27:35] local.INFO: GPS data processed {"connection_id":160487,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:27:35] local.INFO: Acknowledgment sent {"connection_id":160487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:27:38] local.INFO: TCP Data received {"connection_id":160488,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:27:38] local.INFO: Processing buffer {"connection_id":160488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:27:38] local.INFO: IMEI packet received {"connection_id":160488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 12:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":160488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:27:43] local.INFO: TCP Data received {"connection_id":160488,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:27:43] local.INFO: Processing buffer {"connection_id":160488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 12:27:43] local.INFO: IMEI packet received {"connection_id":160488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 12:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":160488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:27:43] local.INFO: TCP Data received {"connection_id":160488,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d68a988012d7d320005d27be8000e011325..."} 
[2026-08-23 12:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d68a988012d7d320005d27be8000e011325..."} 
[2026-08-23 12:27:43] local.INFO: Processing buffer {"connection_id":160488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d68a988012d7d320005d27be8000e011325..."} 
[2026-08-23 12:27:43] local.INFO: Packet analysis {"connection_id":160488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d68"} 
[2026-08-23 12:27:43] local.INFO: Extracted packet for processing {"connection_id":160488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d68"} 
[2026-08-23 12:27:43] local.INFO: GPS Element Parsed {"raw_longitude":763179520,"raw_latitude":97680360,"longitude_deg":76.317952,"latitude_deg":9.768036,"altitude":14,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d7d3200","hex_latitude":"05d27be8","is_valid_coordinates":true} 
[2026-08-23 12:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591861248001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122625959160446976,"note":"Value kept but may cause issues"} 
[2026-08-23 12:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347280279552,"note":"Value kept but may cause issues"} 
[2026-08-23 12:27:43] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-23 12:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787468229000,"timestamp_ms":1787468229000,"timestamp_seconds":1787468229,"priority":1,"record_length":96,"hex_timestamp":"000001a02d68a988"} 
[2026-08-23 12:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12: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":10,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 12:27:43] 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-08-23 12: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-08-23 12:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591861248001,"66":2546,"24":0,"16":122625959160446976,"45":9021906347280279552},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-23 12:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591861248001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122625959160446976,"km_value":122625959160446.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347280279552,"description":"Unknown IO ID 45"} 
[2026-08-23 12:27:43] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457591861248001,"power":2546,"ignition":0,"odometer":null,"unknown_45":9021906347280279552}} 
[2026-08-23 12:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":160488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:27:44] local.INFO: GPS data processed {"connection_id":160488,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:27:44] local.INFO: Acknowledgment sent {"connection_id":160488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:27:46] local.INFO: TCP Data received {"connection_id":160489,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:27:46] local.INFO: Processing buffer {"connection_id":160489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:27:46] local.INFO: IMEI packet received {"connection_id":160489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":160489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:27:51] local.INFO: TCP Data received {"connection_id":160489,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:27:51] local.INFO: Processing buffer {"connection_id":160489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:27:51] local.INFO: IMEI packet received {"connection_id":160489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":160489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:27:52] local.INFO: TCP Data received {"connection_id":160489,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:27:52] local.INFO: Processing buffer {"connection_id":160489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:27:52] local.INFO: Packet analysis {"connection_id":160489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d65"} 
[2026-08-23 12:27:52] local.INFO: Extracted packet for processing {"connection_id":160489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d65"} 
[2026-08-23 12:27:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":27,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591744512001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787468053000,"timestamp_ms":1787468053000,"timestamp_seconds":1787468053,"priority":1,"record_length":96,"hex_timestamp":"000001a02d65fa08"} 
[2026-08-23 12:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:27:52] 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-08-23 12: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-08-23 12:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:27:52] 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-08-23 12:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591744512001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591744512001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:27:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:27:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591744512001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":160489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:27:52] local.INFO: GPS data processed {"connection_id":160489,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:27:52] local.INFO: Acknowledgment sent {"connection_id":160489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:28:06] local.INFO: TCP Data received {"connection_id":160487,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d681518012d0bde400724c8300025011d27..."} 
[2026-08-23 12:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d681518012d0bde400724c8300025011d27..."} 
[2026-08-23 12:28:06] local.INFO: Processing buffer {"connection_id":160487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d681518012d0bde400724c8300025011d27..."} 
[2026-08-23 12:28:06] local.INFO: Packet analysis {"connection_id":160487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d68"} 
[2026-08-23 12:28:06] local.INFO: Extracted packet for processing {"connection_id":160487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d68"} 
[2026-08-23 12:28:06] local.INFO: GPS Element Parsed {"raw_longitude":755752512,"raw_latitude":119851056,"longitude_deg":75.5752512,"latitude_deg":11.9851056,"altitude":37,"angle":285,"satellites":39,"speed":28,"hex_longitude":"2d0bde40","hex_latitude":"0724c830","is_valid_coordinates":true} 
[2026-08-23 12:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591856128001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15355848112996352,"note":"Value kept but may cause issues"} 
[2026-08-23 12:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":857372809742311424,"note":"Value kept but may cause issues"} 
[2026-08-23 12:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787468191000,"timestamp_ms":1787468191000,"timestamp_seconds":1787468191,"priority":1,"record_length":96,"hex_timestamp":"000001a02d681518"} 
[2026-08-23 12:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:28:06] 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-08-23 12:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-23 12:28:06] 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-08-23 12:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591856128001,"66":14048,"115":206,"83":41984,"24":28,"16":15355848112996352,"45":857372809742311424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-08-23 12:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591856128001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:28:06] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-23 12:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 12:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15355848112996352,"km_value":15355848112996.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":857372809742311424,"description":"Unknown IO ID 45"} 
[2026-08-23 12:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591856128001,"power":14048,"unknown_115":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":857372809742311424}} 
[2026-08-23 12:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":160487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:28:06] local.INFO: GPS data processed {"connection_id":160487,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:28:06] local.INFO: Acknowledgment sent {"connection_id":160487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:28:15] local.INFO: TCP Data received {"connection_id":160488,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d68a988012d7d320005d27be8000e011325..."} 
[2026-08-23 12:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d68a988012d7d320005d27be8000e011325..."} 
[2026-08-23 12:28:15] local.INFO: Processing buffer {"connection_id":160488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d68a988012d7d320005d27be8000e011325..."} 
[2026-08-23 12:28:15] local.INFO: Packet analysis {"connection_id":160488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d68"} 
[2026-08-23 12:28:15] local.INFO: Extracted packet for processing {"connection_id":160488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d68"} 
[2026-08-23 12:28:15] local.INFO: GPS Element Parsed {"raw_longitude":763179520,"raw_latitude":97680360,"longitude_deg":76.317952,"latitude_deg":9.768036,"altitude":14,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d7d3200","hex_latitude":"05d27be8","is_valid_coordinates":true} 
[2026-08-23 12:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591861248001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122625959160446976,"note":"Value kept but may cause issues"} 
[2026-08-23 12:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347280279552,"note":"Value kept but may cause issues"} 
[2026-08-23 12:28:15] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-23 12:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787468229000,"timestamp_ms":1787468229000,"timestamp_seconds":1787468229,"priority":1,"record_length":96,"hex_timestamp":"000001a02d68a988"} 
[2026-08-23 12:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 12:28:15] 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-08-23 12:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591861248001,"66":2546,"24":0,"16":122625959160446976,"45":9021906347280279552},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-23 12:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591861248001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122625959160446976,"km_value":122625959160446.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347280279552,"description":"Unknown IO ID 45"} 
[2026-08-23 12:28:15] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457591861248001,"power":2546,"ignition":0,"odometer":null,"unknown_45":9021906347280279552}} 
[2026-08-23 12:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":160488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686478,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:28:15] local.INFO: GPS data processed {"connection_id":160488,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:28:15] local.INFO: Acknowledgment sent {"connection_id":160488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:28:24] local.INFO: TCP Data received {"connection_id":160489,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:28:24] local.INFO: Processing buffer {"connection_id":160489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:28:24] local.INFO: Packet analysis {"connection_id":160489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d65"} 
[2026-08-23 12:28:24] local.INFO: Extracted packet for processing {"connection_id":160489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d65"} 
[2026-08-23 12:28:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":27,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591744512001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787468053000,"timestamp_ms":1787468053000,"timestamp_seconds":1787468053,"priority":1,"record_length":96,"hex_timestamp":"000001a02d65fa08"} 
[2026-08-23 12:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:28:24] 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-08-23 12:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:28: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-08-23 12:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591744512001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591744512001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:28:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:28:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591744512001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":160489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:28:24] local.INFO: GPS data processed {"connection_id":160489,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:28:24] local.INFO: Acknowledgment sent {"connection_id":160489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:28:29] local.INFO: TCP Data received {"connection_id":160729,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:28:29] local.INFO: Processing buffer {"connection_id":160729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:28:29] local.INFO: IMEI packet received {"connection_id":160729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":160729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:28:30] local.INFO: TCP Data received {"connection_id":160729,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:28:30] local.INFO: Processing buffer {"connection_id":160729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:28:30] local.INFO: IMEI packet received {"connection_id":160729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":160729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:28:35] local.INFO: TCP Data received {"connection_id":160729,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:28:35] local.INFO: Processing buffer {"connection_id":160729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:28:35] local.INFO: IMEI packet received {"connection_id":160729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":160729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:28:43] local.INFO: TCP Data received {"connection_id":160729,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d68e808012d0b2bc00724a0480018010c23..."} 
[2026-08-23 12:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d68e808012d0b2bc00724a0480018010c23..."} 
[2026-08-23 12:28:43] local.INFO: Processing buffer {"connection_id":160729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d68e808012d0b2bc00724a0480018010c23..."} 
[2026-08-23 12:28:43] local.INFO: Packet analysis {"connection_id":160729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d68"} 
[2026-08-23 12:28:43] local.INFO: Extracted packet for processing {"connection_id":160729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d68"} 
[2026-08-23 12:28:43] local.INFO: GPS Element Parsed {"raw_longitude":755706816,"raw_latitude":119840840,"longitude_deg":75.5706816,"latitude_deg":11.984084,"altitude":24,"angle":268,"satellites":35,"speed":45,"hex_longitude":"2d0b2bc0","hex_latitude":"0724a048","is_valid_coordinates":true} 
[2026-08-23 12:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591868672001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15358141625532416,"note":"Value kept but may cause issues"} 
[2026-08-23 12:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815151563233425408,"note":"Value kept but may cause issues"} 
[2026-08-23 12:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787468245000,"timestamp_ms":1787468245000,"timestamp_seconds":1787468245,"priority":1,"record_length":96,"hex_timestamp":"000001a02d68e808"} 
[2026-08-23 12:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-23 12:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591868672001,"66":14483,"117":206,"83":41984,"24":45,"16":15358141625532416,"45":815151563233425408},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-23 12:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591868672001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:28:43] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 12:28:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 12:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15358141625532416,"km_value":15358141625532.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":815151563233425408,"description":"Unknown IO ID 45"} 
[2026-08-23 12:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591868672001,"power":14483,"unknown_117":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":815151563233425408}} 
[2026-08-23 12:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":160729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:28:43] local.INFO: GPS data processed {"connection_id":160729,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:28:43] local.INFO: Acknowledgment sent {"connection_id":160729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:28:46] local.INFO: TCP Data received {"connection_id":163073,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:28:46] local.INFO: Processing buffer {"connection_id":163073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:28:46] local.INFO: IMEI packet received {"connection_id":163073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":163073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:28:46] local.INFO: TCP Data received {"connection_id":160488,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d68a988012d7d320005d27be8000e011325..."} 
[2026-08-23 12:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d68a988012d7d320005d27be8000e011325..."} 
[2026-08-23 12:28:46] local.INFO: Processing buffer {"connection_id":160488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d68a988012d7d320005d27be8000e011325..."} 
[2026-08-23 12:28:46] local.INFO: Packet analysis {"connection_id":160488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d68"} 
[2026-08-23 12:28:46] local.INFO: Extracted packet for processing {"connection_id":160488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d68"} 
[2026-08-23 12:28:46] local.INFO: GPS Element Parsed {"raw_longitude":763179520,"raw_latitude":97680360,"longitude_deg":76.317952,"latitude_deg":9.768036,"altitude":14,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d7d3200","hex_latitude":"05d27be8","is_valid_coordinates":true} 
[2026-08-23 12:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591861248001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122625959160446976,"note":"Value kept but may cause issues"} 
[2026-08-23 12:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347280279552,"note":"Value kept but may cause issues"} 
[2026-08-23 12:28:46] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-23 12:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787468229000,"timestamp_ms":1787468229000,"timestamp_seconds":1787468229,"priority":1,"record_length":96,"hex_timestamp":"000001a02d68a988"} 
[2026-08-23 12:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:28:46] 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-08-23 12:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 12:28:46] 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-08-23 12:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591861248001,"66":2546,"24":0,"16":122625959160446976,"45":9021906347280279552},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-23 12:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591861248001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122625959160446976,"km_value":122625959160446.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347280279552,"description":"Unknown IO ID 45"} 
[2026-08-23 12:28:46] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457591861248001,"power":2546,"ignition":0,"odometer":null,"unknown_45":9021906347280279552}} 
[2026-08-23 12:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":160488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:28:46] local.INFO: GPS data processed {"connection_id":160488,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:28:46] local.INFO: Acknowledgment sent {"connection_id":160488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:28:51] local.INFO: TCP Data received {"connection_id":163073,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:28:51] local.INFO: Processing buffer {"connection_id":163073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:28:51] local.INFO: IMEI packet received {"connection_id":163073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":163073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:28:52] local.INFO: TCP Data received {"connection_id":163073,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:28:52] local.INFO: Processing buffer {"connection_id":163073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:28:52] local.INFO: Packet analysis {"connection_id":163073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d65"} 
[2026-08-23 12:28:52] local.INFO: Extracted packet for processing {"connection_id":163073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d65"} 
[2026-08-23 12:28:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":27,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:28: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-08-23 12:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591744512001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787468053000,"timestamp_ms":1787468053000,"timestamp_seconds":1787468053,"priority":1,"record_length":96,"hex_timestamp":"000001a02d65fa08"} 
[2026-08-23 12:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:28:52] 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-08-23 12:28: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-08-23 12:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:28:52] 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-08-23 12:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591744512001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591744512001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:28:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:28:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591744512001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":163073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:28:52] local.INFO: GPS data processed {"connection_id":163073,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:28:52] local.INFO: Acknowledgment sent {"connection_id":163073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:29:14] local.INFO: TCP Data received {"connection_id":160729,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d690748012d0b07000724a0600013011227..."} 
[2026-08-23 12:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d690748012d0b07000724a0600013011227..."} 
[2026-08-23 12:29:14] local.INFO: Processing buffer {"connection_id":160729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d690748012d0b07000724a0600013011227..."} 
[2026-08-23 12:29:14] local.INFO: Packet analysis {"connection_id":160729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d69"} 
[2026-08-23 12:29:14] local.INFO: Extracted packet for processing {"connection_id":160729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d69"} 
[2026-08-23 12:29:14] local.INFO: GPS Element Parsed {"raw_longitude":755697408,"raw_latitude":119840864,"longitude_deg":75.5697408,"latitude_deg":11.9840864,"altitude":19,"angle":274,"satellites":39,"speed":45,"hex_longitude":"2d0b0700","hex_latitude":"0724a060","is_valid_coordinates":true} 
[2026-08-23 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-08-23 12:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591870720001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15358588302131200,"note":"Value kept but may cause issues"} 
[2026-08-23 12:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804948095327553536,"note":"Value kept but may cause issues"} 
[2026-08-23 12:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787468253000,"timestamp_ms":1787468253000,"timestamp_seconds":1787468253,"priority":1,"record_length":96,"hex_timestamp":"000001a02d690748"} 
[2026-08-23 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-08-23 12:29:14] 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-08-23 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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-23 12:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 12:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591870720001,"66":14461,"117":206,"83":41984,"24":45,"16":15358588302131200,"45":804948095327553536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-23 12:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591870720001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:29:14] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 12:29:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 12:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15358588302131200,"km_value":15358588302131.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":804948095327553536,"description":"Unknown IO ID 45"} 
[2026-08-23 12:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591870720001,"power":14461,"unknown_117":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":804948095327553536}} 
[2026-08-23 12:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":160729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:29:14] local.INFO: GPS data processed {"connection_id":160729,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:29:14] local.INFO: Acknowledgment sent {"connection_id":160729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:29:17] local.INFO: TCP Data received {"connection_id":160488,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d68a988012d7d320005d27be8000e011325..."} 
[2026-08-23 12:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d68a988012d7d320005d27be8000e011325..."} 
[2026-08-23 12:29:17] local.INFO: Processing buffer {"connection_id":160488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d68a988012d7d320005d27be8000e011325..."} 
[2026-08-23 12:29:17] local.INFO: Packet analysis {"connection_id":160488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d68"} 
[2026-08-23 12:29:17] local.INFO: Extracted packet for processing {"connection_id":160488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d68"} 
[2026-08-23 12:29:17] local.INFO: GPS Element Parsed {"raw_longitude":763179520,"raw_latitude":97680360,"longitude_deg":76.317952,"latitude_deg":9.768036,"altitude":14,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d7d3200","hex_latitude":"05d27be8","is_valid_coordinates":true} 
[2026-08-23 12:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591861248001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122625959160446976,"note":"Value kept but may cause issues"} 
[2026-08-23 12:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347280279552,"note":"Value kept but may cause issues"} 
[2026-08-23 12:29:17] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-23 12:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787468229000,"timestamp_ms":1787468229000,"timestamp_seconds":1787468229,"priority":1,"record_length":96,"hex_timestamp":"000001a02d68a988"} 
[2026-08-23 12:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:29:17] 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-08-23 12:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 12:29:17] 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-08-23 12:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591861248001,"66":2546,"24":0,"16":122625959160446976,"45":9021906347280279552},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-23 12:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591861248001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122625959160446976,"km_value":122625959160446.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347280279552,"description":"Unknown IO ID 45"} 
[2026-08-23 12:29:17] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457591861248001,"power":2546,"ignition":0,"odometer":null,"unknown_45":9021906347280279552}} 
[2026-08-23 12:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":160488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:29:17] local.INFO: GPS data processed {"connection_id":160488,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:29:17] local.INFO: Acknowledgment sent {"connection_id":160488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:29:25] local.INFO: TCP Data received {"connection_id":163073,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:29:25] local.INFO: Processing buffer {"connection_id":163073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:29:25] local.INFO: Packet analysis {"connection_id":163073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d65"} 
[2026-08-23 12:29:25] local.INFO: Extracted packet for processing {"connection_id":163073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d65"} 
[2026-08-23 12:29:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":27,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591744512001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787468053000,"timestamp_ms":1787468053000,"timestamp_seconds":1787468053,"priority":1,"record_length":96,"hex_timestamp":"000001a02d65fa08"} 
[2026-08-23 12:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:29:25] 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-08-23 12:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591744512001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591744512001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:29:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:29:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591744512001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":163073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:29:25] local.INFO: GPS data processed {"connection_id":163073,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:29:25] local.INFO: Acknowledgment sent {"connection_id":163073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:29:34] local.INFO: TCP Data received {"connection_id":161667,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:29:34] local.INFO: Processing buffer {"connection_id":161667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:29:34] local.INFO: IMEI packet received {"connection_id":161667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":161667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:29:37] local.INFO: TCP Data received {"connection_id":161667,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:29:37] local.INFO: Processing buffer {"connection_id":161667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:29:37] local.INFO: IMEI packet received {"connection_id":161667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":161667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:29:40] local.INFO: TCP Data received {"connection_id":161667,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:29:40] local.INFO: Processing buffer {"connection_id":161667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:29:40] local.INFO: IMEI packet received {"connection_id":161667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":161667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:29:42] local.INFO: TCP Data received {"connection_id":161667,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6a14d0012d09e9400724a820001600dc27..."} 
[2026-08-23 12:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6a14d0012d09e9400724a820001600dc27..."} 
[2026-08-23 12:29:42] local.INFO: Processing buffer {"connection_id":161667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6a14d0012d09e9400724a820001600dc27..."} 
[2026-08-23 12:29:42] local.INFO: Packet analysis {"connection_id":161667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:29:42] local.INFO: Extracted packet for processing {"connection_id":161667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:29:42] local.INFO: GPS Element Parsed {"raw_longitude":755624256,"raw_latitude":119842848,"longitude_deg":75.5624256,"latitude_deg":11.9842848,"altitude":22,"angle":220,"satellites":39,"speed":42,"hex_longitude":"2d09e940","hex_latitude":"0724a820","is_valid_coordinates":true} 
[2026-08-23 12:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591889152001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15362342103547904,"note":"Value kept but may cause issues"} 
[2026-08-23 12:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":718957489943887872,"note":"Value kept but may cause issues"} 
[2026-08-23 12:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787468322000,"timestamp_ms":1787468322000,"timestamp_seconds":1787468322,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6a14d0"} 
[2026-08-23 12:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 12:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591889152001,"66":14102,"117":206,"83":41984,"24":42,"16":15362342103547904,"45":718957489943887872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-23 12:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591889152001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:29:42] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 12:29:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 12:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15362342103547904,"km_value":15362342103547.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":718957489943887872,"description":"Unknown IO ID 45"} 
[2026-08-23 12:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591889152001,"power":14102,"unknown_117":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":718957489943887872}} 
[2026-08-23 12:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":161667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:29:42] local.INFO: GPS data processed {"connection_id":161667,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:29:42] local.INFO: Acknowledgment sent {"connection_id":161667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:29:46] local.INFO: TCP Data received {"connection_id":160730,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:29:46] local.INFO: Processing buffer {"connection_id":160730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:29:46] local.INFO: IMEI packet received {"connection_id":160730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":160730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:29:48] local.INFO: TCP Data received {"connection_id":160488,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d68a988012d7d320005d27be8000e011325..."} 
[2026-08-23 12:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d68a988012d7d320005d27be8000e011325..."} 
[2026-08-23 12:29:48] local.INFO: Processing buffer {"connection_id":160488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d68a988012d7d320005d27be8000e011325..."} 
[2026-08-23 12:29:48] local.INFO: Packet analysis {"connection_id":160488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d68"} 
[2026-08-23 12:29:48] local.INFO: Extracted packet for processing {"connection_id":160488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d68"} 
[2026-08-23 12:29:48] local.INFO: GPS Element Parsed {"raw_longitude":763179520,"raw_latitude":97680360,"longitude_deg":76.317952,"latitude_deg":9.768036,"altitude":14,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2d7d3200","hex_latitude":"05d27be8","is_valid_coordinates":true} 
[2026-08-23 12:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591861248001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122625959160446976,"note":"Value kept but may cause issues"} 
[2026-08-23 12:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347280279552,"note":"Value kept but may cause issues"} 
[2026-08-23 12:29:48] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-23 12:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787468229000,"timestamp_ms":1787468229000,"timestamp_seconds":1787468229,"priority":1,"record_length":96,"hex_timestamp":"000001a02d68a988"} 
[2026-08-23 12:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:29:48] 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-08-23 12: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":10,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 12:29:48] 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-08-23 12: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-08-23 12:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 12:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 12:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 12:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591861248001,"66":2546,"24":0,"16":122625959160446976,"45":9021906347280279552},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-23 12:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 12:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 12:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591861248001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122625959160446976,"km_value":122625959160446.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347280279552,"description":"Unknown IO ID 45"} 
[2026-08-23 12:29:48] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457591861248001,"power":2546,"ignition":0,"odometer":null,"unknown_45":9021906347280279552}} 
[2026-08-23 12:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":160488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:29:48] local.INFO: GPS data processed {"connection_id":160488,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:29:48] local.INFO: Acknowledgment sent {"connection_id":160488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:29:51] local.INFO: TCP Data received {"connection_id":160730,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:29:51] local.INFO: Processing buffer {"connection_id":160730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:29:51] local.INFO: IMEI packet received {"connection_id":160730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":160730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:29:53] local.INFO: TCP Data received {"connection_id":160730,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:29:53] local.INFO: Processing buffer {"connection_id":160730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d65fa08012d34c50006aa4098001b008526..."} 
[2026-08-23 12:29:53] local.INFO: Packet analysis {"connection_id":160730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d65"} 
[2026-08-23 12:29:53] local.INFO: Extracted packet for processing {"connection_id":160730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d65"} 
[2026-08-23 12:29:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":27,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591744512001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787468053000,"timestamp_ms":1787468053000,"timestamp_seconds":1787468053,"priority":1,"record_length":96,"hex_timestamp":"000001a02d65fa08"} 
[2026-08-23 12:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:29:53] 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-08-23 12: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-08-23 12:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591744512001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591744512001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:29:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:29:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591744512001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":160730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:29:53] local.INFO: GPS data processed {"connection_id":160730,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:29:53] local.INFO: Acknowledgment sent {"connection_id":160730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:30:13] local.INFO: TCP Data received {"connection_id":161667,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6a37f8012d09d2c007248d70001700e426..."} 
[2026-08-23 12:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6a37f8012d09d2c007248d70001700e426..."} 
[2026-08-23 12:30:13] local.INFO: Processing buffer {"connection_id":161667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6a37f8012d09d2c007248d70001700e426..."} 
[2026-08-23 12:30:13] local.INFO: Packet analysis {"connection_id":161667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:30:13] local.INFO: Extracted packet for processing {"connection_id":161667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:30:13] local.INFO: GPS Element Parsed {"raw_longitude":755618496,"raw_latitude":119836016,"longitude_deg":75.5618496,"latitude_deg":11.9836016,"altitude":23,"angle":228,"satellites":38,"speed":39,"hex_longitude":"2d09d2c0","hex_latitude":"07248d70","is_valid_coordinates":true} 
[2026-08-23 12:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591890432001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15362771600277504,"note":"Value kept but may cause issues"} 
[2026-08-23 12:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714172415338881024,"note":"Value kept but may cause issues"} 
[2026-08-23 12:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787468331000,"timestamp_ms":1787468331000,"timestamp_seconds":1787468331,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6a37f8"} 
[2026-08-23 12:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:30:13] 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-08-23 12:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-23 12:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591890432001,"66":14102,"117":206,"83":41984,"24":39,"16":15362771600277504,"45":714172415338881024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-08-23 12:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591890432001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:30:13] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 12:30:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 12:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15362771600277504,"km_value":15362771600277.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":714172415338881024,"description":"Unknown IO ID 45"} 
[2026-08-23 12:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591890432001,"power":14102,"unknown_117":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":714172415338881024}} 
[2026-08-23 12:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":161667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:30:13] local.INFO: GPS data processed {"connection_id":161667,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:30:13] local.INFO: Acknowledgment sent {"connection_id":161667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:30:23] local.INFO: TCP Data received {"connection_id":160730,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:30:23] local.INFO: Processing buffer {"connection_id":160730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:30:23] local.INFO: Packet analysis {"connection_id":160730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:30:23] local.INFO: Extracted packet for processing {"connection_id":160730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:30:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":27,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591821568001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787468354000,"timestamp_ms":1787468354000,"timestamp_seconds":1787468354,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6a91d0"} 
[2026-08-23 12:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 12:30:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591821568001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591821568001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:30:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:30:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591821568001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":160730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:30:23] local.INFO: GPS data processed {"connection_id":160730,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:30:23] local.INFO: Acknowledgment sent {"connection_id":160730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:30:29] local.INFO: TCP Data received {"connection_id":161668,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:30:29] local.INFO: Processing buffer {"connection_id":161668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:30:29] local.INFO: IMEI packet received {"connection_id":161668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":161668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:30:30] local.INFO: TCP Data received {"connection_id":161668,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:30:30] local.INFO: Processing buffer {"connection_id":161668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:30:30] local.INFO: IMEI packet received {"connection_id":161668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":161668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:30:31] local.INFO: TCP Data received {"connection_id":161668,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:30:31] local.INFO: Processing buffer {"connection_id":161668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:30:31] local.INFO: IMEI packet received {"connection_id":161668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":161668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:30:32] local.INFO: TCP Data received {"connection_id":161668,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:30:32] local.INFO: Processing buffer {"connection_id":161668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:30:32] local.INFO: IMEI packet received {"connection_id":161668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":161668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:30:46] local.INFO: TCP Data received {"connection_id":163074,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:30:46] local.INFO: Processing buffer {"connection_id":163074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:30:46] local.INFO: IMEI packet received {"connection_id":163074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":163074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:30:51] local.INFO: TCP Data received {"connection_id":163074,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:30:51] local.INFO: Processing buffer {"connection_id":163074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:30:51] local.INFO: IMEI packet received {"connection_id":163074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":163074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:30:52] local.INFO: TCP Data received {"connection_id":163074,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:30:52] local.INFO: Processing buffer {"connection_id":163074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:30:52] local.INFO: Packet analysis {"connection_id":163074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:30:52] local.INFO: Extracted packet for processing {"connection_id":163074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":27,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591821568001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787468354000,"timestamp_ms":1787468354000,"timestamp_seconds":1787468354,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6a91d0"} 
[2026-08-23 12:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 12:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:30:52] 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-08-23 12:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591821568001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591821568001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:30:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591821568001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":163074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:30:52] local.INFO: GPS data processed {"connection_id":163074,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:30:52] local.INFO: Acknowledgment sent {"connection_id":163074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:31:24] local.INFO: TCP Data received {"connection_id":163074,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:31:24] local.INFO: Processing buffer {"connection_id":163074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:31:24] local.INFO: Packet analysis {"connection_id":163074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:31:24] local.INFO: Extracted packet for processing {"connection_id":163074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:31:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":27,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591821568001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787468354000,"timestamp_ms":1787468354000,"timestamp_seconds":1787468354,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6a91d0"} 
[2026-08-23 12:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 12:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:31:24] 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-08-23 12:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591821568001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591821568001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:31:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:31:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591821568001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":163074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:31:24] local.INFO: GPS data processed {"connection_id":163074,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:31:24] local.INFO: Acknowledgment sent {"connection_id":163074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:31:46] local.INFO: TCP Data received {"connection_id":161669,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:31:46] local.INFO: Processing buffer {"connection_id":161669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:31:46] local.INFO: IMEI packet received {"connection_id":161669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":161669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:31:51] local.INFO: TCP Data received {"connection_id":161669,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:31:51] local.INFO: Processing buffer {"connection_id":161669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:31:51] local.INFO: IMEI packet received {"connection_id":161669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":161669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:31:52] local.INFO: TCP Data received {"connection_id":161669,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:31:52] local.INFO: Processing buffer {"connection_id":161669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:31:52] local.INFO: Packet analysis {"connection_id":161669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:31:52] local.INFO: Extracted packet for processing {"connection_id":161669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:31:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":27,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591821568001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787468354000,"timestamp_ms":1787468354000,"timestamp_seconds":1787468354,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6a91d0"} 
[2026-08-23 12:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 12:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591821568001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591821568001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:31:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:31:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591821568001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":161669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:31:52] local.INFO: GPS data processed {"connection_id":161669,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:31:52] local.INFO: Acknowledgment sent {"connection_id":161669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:32:23] local.INFO: TCP Data received {"connection_id":161669,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:32:23] local.INFO: Processing buffer {"connection_id":161669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:32:23] local.INFO: Packet analysis {"connection_id":161669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:32:23] local.INFO: Extracted packet for processing {"connection_id":161669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:32:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":27,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591821568001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787468354000,"timestamp_ms":1787468354000,"timestamp_seconds":1787468354,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6a91d0"} 
[2026-08-23 12:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 12:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591821568001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591821568001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:32:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:32:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591821568001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":161669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:32:23] local.INFO: GPS data processed {"connection_id":161669,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:32:23] local.INFO: Acknowledgment sent {"connection_id":161669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:32:46] local.INFO: TCP Data received {"connection_id":160732,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:32:46] local.INFO: Processing buffer {"connection_id":160732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:32:46] local.INFO: IMEI packet received {"connection_id":160732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":160732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:32:51] local.INFO: TCP Data received {"connection_id":160732,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:32:51] local.INFO: Processing buffer {"connection_id":160732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:32:51] local.INFO: IMEI packet received {"connection_id":160732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":160732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:32:53] local.INFO: TCP Data received {"connection_id":160732,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:32:53] local.INFO: Processing buffer {"connection_id":160732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:32:53] local.INFO: Packet analysis {"connection_id":160732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:32:53] local.INFO: Extracted packet for processing {"connection_id":160732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:32:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":27,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591821568001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787468354000,"timestamp_ms":1787468354000,"timestamp_seconds":1787468354,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6a91d0"} 
[2026-08-23 12:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 12:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591821568001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591821568001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:32:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:32:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591821568001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":160732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:32:53] local.INFO: GPS data processed {"connection_id":160732,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:32:53] local.INFO: Acknowledgment sent {"connection_id":160732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:33:24] local.INFO: TCP Data received {"connection_id":160732,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:33:24] local.INFO: Processing buffer {"connection_id":160732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:33:24] local.INFO: Packet analysis {"connection_id":160732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:33:24] local.INFO: Extracted packet for processing {"connection_id":160732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:33:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":27,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591821568001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787468354000,"timestamp_ms":1787468354000,"timestamp_seconds":1787468354,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6a91d0"} 
[2026-08-23 12:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 12:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591821568001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591821568001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:33:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:33:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591821568001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":160732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:33:24] local.INFO: GPS data processed {"connection_id":160732,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:33:24] local.INFO: Acknowledgment sent {"connection_id":160732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:33:46] local.INFO: TCP Data received {"connection_id":160734,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:33:46] local.INFO: Processing buffer {"connection_id":160734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:33:46] local.INFO: IMEI packet received {"connection_id":160734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":160734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:33:51] local.INFO: TCP Data received {"connection_id":160734,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:33:51] local.INFO: Processing buffer {"connection_id":160734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:33:51] local.INFO: IMEI packet received {"connection_id":160734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":160734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:33:52] local.INFO: TCP Data received {"connection_id":160734,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:33:52] local.INFO: Processing buffer {"connection_id":160734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:33:52] local.INFO: Packet analysis {"connection_id":160734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:33:52] local.INFO: Extracted packet for processing {"connection_id":160734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":27,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591821568001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787468354000,"timestamp_ms":1787468354000,"timestamp_seconds":1787468354,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6a91d0"} 
[2026-08-23 12:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 12:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591821568001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591821568001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:33:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:33:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591821568001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":160734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:33:52] local.INFO: GPS data processed {"connection_id":160734,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:33:52] local.INFO: Acknowledgment sent {"connection_id":160734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:34:23] local.INFO: TCP Data received {"connection_id":160734,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:34:23] local.INFO: Processing buffer {"connection_id":160734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:34:23] local.INFO: Packet analysis {"connection_id":160734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:34:23] local.INFO: Extracted packet for processing {"connection_id":160734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:34:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":27,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591821568001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787468354000,"timestamp_ms":1787468354000,"timestamp_seconds":1787468354,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6a91d0"} 
[2026-08-23 12:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 12:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591821568001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591821568001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:34:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:34:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591821568001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":160734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:34:23] local.INFO: GPS data processed {"connection_id":160734,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:34:23] local.INFO: Acknowledgment sent {"connection_id":160734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:34:46] local.INFO: TCP Data received {"connection_id":161671,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:34:46] local.INFO: Processing buffer {"connection_id":161671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:34:46] local.INFO: IMEI packet received {"connection_id":161671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":161671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:34:51] local.INFO: TCP Data received {"connection_id":161671,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:34:51] local.INFO: Processing buffer {"connection_id":161671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:34:51] local.INFO: IMEI packet received {"connection_id":161671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":161671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:34:52] local.INFO: TCP Data received {"connection_id":161671,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:34:52] local.INFO: Processing buffer {"connection_id":161671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6a91d0012d34c50006aa4098001b008524..."} 
[2026-08-23 12:34:52] local.INFO: Packet analysis {"connection_id":161671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:34:52] local.INFO: Extracted packet for processing {"connection_id":161671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6a"} 
[2026-08-23 12:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":27,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591821568001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787468354000,"timestamp_ms":1787468354000,"timestamp_seconds":1787468354,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6a91d0"} 
[2026-08-23 12:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 12:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591821568001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591821568001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:34:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591821568001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":161671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:34:52] local.INFO: GPS data processed {"connection_id":161671,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:34:52] local.INFO: Acknowledgment sent {"connection_id":161671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:35:24] local.INFO: TCP Data received {"connection_id":161671,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:35:24] local.INFO: Processing buffer {"connection_id":161671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:35:24] local.INFO: Packet analysis {"connection_id":161671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:35:24] local.INFO: Extracted packet for processing {"connection_id":161671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591898624001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787468655000,"timestamp_ms":1787468655000,"timestamp_seconds":1787468655,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6f2998"} 
[2026-08-23 12:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:35:24] 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-08-23 12:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591898624001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591898624001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:35:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591898624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":161671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:35:24] local.INFO: GPS data processed {"connection_id":161671,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:35:24] local.INFO: Acknowledgment sent {"connection_id":161671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:35:35] local.INFO: TCP Data received {"connection_id":160735,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:35:35] local.INFO: Processing buffer {"connection_id":160735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:35:35] local.INFO: IMEI packet received {"connection_id":160735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":160735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:35:40] local.INFO: TCP Data received {"connection_id":160735,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:35:40] local.INFO: Processing buffer {"connection_id":160735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:35:40] local.INFO: IMEI packet received {"connection_id":160735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":160735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:35:40] local.INFO: TCP Data received {"connection_id":160735,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6f8370012d07f940072610f8001900491e..."} 
[2026-08-23 12:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6f8370012d07f940072610f8001900491e..."} 
[2026-08-23 12:35:40] local.INFO: Processing buffer {"connection_id":160735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6f8370012d07f940072610f8001900491e..."} 
[2026-08-23 12:35:40] local.INFO: Packet analysis {"connection_id":160735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:35:40] local.INFO: Extracted packet for processing {"connection_id":160735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:35:40] local.INFO: GPS Element Parsed {"raw_longitude":755497280,"raw_latitude":119935224,"longitude_deg":75.549728,"latitude_deg":11.9935224,"altitude":25,"angle":73,"satellites":30,"speed":20,"hex_longitude":"2d07f940","hex_latitude":"072610f8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 12:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591980544001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15373942810214400,"note":"Value kept but may cause issues"} 
[2026-08-23 12:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":572520133332606976,"note":"Value kept but may cause issues"} 
[2026-08-23 12:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787468678000,"timestamp_ms":1787468678000,"timestamp_seconds":1787468678,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6f8370"} 
[2026-08-23 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-08-23 12:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-23 12:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 12:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591980544001,"66":13906,"25":206,"83":44288,"24":20,"16":15373942810214400,"45":572520133332606976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-23 12:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591980544001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:35:40] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-23 12:35:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15373942810214400,"km_value":15373942810214.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":572520133332606976,"description":"Unknown IO ID 45"} 
[2026-08-23 12:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591980544001,"power":13906,"unknown_25":206,"unknown_83":44288,"ignition":20,"odometer":null,"unknown_45":572520133332606976}} 
[2026-08-23 12:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":160735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:35:40] local.INFO: GPS data processed {"connection_id":160735,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:35:40] local.INFO: Acknowledgment sent {"connection_id":160735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:35:47] local.INFO: TCP Data received {"connection_id":163077,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:35:47] local.INFO: Processing buffer {"connection_id":163077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:35:47] local.INFO: IMEI packet received {"connection_id":163077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":163077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:35:51] local.INFO: TCP Data received {"connection_id":163077,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:35:51] local.INFO: Processing buffer {"connection_id":163077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:35:51] local.INFO: IMEI packet received {"connection_id":163077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":163077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:35:52] local.INFO: TCP Data received {"connection_id":163077,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:35:52] local.INFO: Processing buffer {"connection_id":163077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:35:52] local.INFO: Packet analysis {"connection_id":163077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:35:52] local.INFO: Extracted packet for processing {"connection_id":163077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591898624001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787468655000,"timestamp_ms":1787468655000,"timestamp_seconds":1787468655,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6f2998"} 
[2026-08-23 12:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:35:52] 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-08-23 12:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:35:52] 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-08-23 12:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591898624001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591898624001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:35:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591898624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":163077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:35:52] local.INFO: GPS data processed {"connection_id":163077,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:35:52] local.INFO: Acknowledgment sent {"connection_id":163077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:36:11] local.INFO: TCP Data received {"connection_id":160735,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6f8b40012d07fd40072611400019005b1d..."} 
[2026-08-23 12:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6f8b40012d07fd40072611400019005b1d..."} 
[2026-08-23 12:36:11] local.INFO: Processing buffer {"connection_id":160735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6f8b40012d07fd40072611400019005b1d..."} 
[2026-08-23 12:36:11] local.INFO: Packet analysis {"connection_id":160735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:36:11] local.INFO: Extracted packet for processing {"connection_id":160735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:36:11] local.INFO: GPS Element Parsed {"raw_longitude":755498304,"raw_latitude":119935296,"longitude_deg":75.5498304,"latitude_deg":11.9935296,"altitude":25,"angle":91,"satellites":29,"speed":20,"hex_longitude":"2d07fd40","hex_latitude":"07261140","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591981568001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15373990054854656,"note":"Value kept but may cause issues"} 
[2026-08-23 12:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":574560826914043904,"note":"Value kept but may cause issues"} 
[2026-08-23 12:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787468680000,"timestamp_ms":1787468680000,"timestamp_seconds":1787468680,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6f8b40"} 
[2026-08-23 12:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-23 12:36:11] 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-08-23 12: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-08-23 12:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591981568001,"66":13928,"25":206,"83":44288,"24":20,"16":15373990054854656,"45":574560826914043904},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-23 12:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591981568001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:36:11] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-23 12:36:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15373990054854656,"km_value":15373990054854.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":574560826914043904,"description":"Unknown IO ID 45"} 
[2026-08-23 12:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591981568001,"power":13928,"unknown_25":206,"unknown_83":44288,"ignition":20,"odometer":null,"unknown_45":574560826914043904}} 
[2026-08-23 12:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":160735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:36:11] local.INFO: GPS data processed {"connection_id":160735,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:36:11] local.INFO: Acknowledgment sent {"connection_id":160735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:36:24] local.INFO: TCP Data received {"connection_id":163077,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:36:24] local.INFO: Processing buffer {"connection_id":163077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:36:24] local.INFO: Packet analysis {"connection_id":163077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:36:24] local.INFO: Extracted packet for processing {"connection_id":163077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:36:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591898624001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787468655000,"timestamp_ms":1787468655000,"timestamp_seconds":1787468655,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6f2998"} 
[2026-08-23 12:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:36:24] 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-08-23 12:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:36:24] 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-08-23 12:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591898624001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591898624001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:36:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:36:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591898624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":163077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:36:24] local.INFO: GPS data processed {"connection_id":163077,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:36:24] local.INFO: Acknowledgment sent {"connection_id":163077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:36:29] local.INFO: TCP Data received {"connection_id":161672,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:36:29] local.INFO: Processing buffer {"connection_id":161672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:36:29] local.INFO: IMEI packet received {"connection_id":161672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":161672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:36:35] local.INFO: TCP Data received {"connection_id":161672,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:36:35] local.INFO: Processing buffer {"connection_id":161672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:36:35] local.INFO: IMEI packet received {"connection_id":161672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":161672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:36:35] local.INFO: TCP Data received {"connection_id":161672,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d705a48012d08468007263280001c00291b..."} 
[2026-08-23 12:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d705a48012d08468007263280001c00291b..."} 
[2026-08-23 12:36:35] local.INFO: Processing buffer {"connection_id":161672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d705a48012d08468007263280001c00291b..."} 
[2026-08-23 12:36:35] local.INFO: Packet analysis {"connection_id":161672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d70"} 
[2026-08-23 12:36:35] local.INFO: Extracted packet for processing {"connection_id":161672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d70"} 
[2026-08-23 12:36:35] local.INFO: GPS Element Parsed {"raw_longitude":755517056,"raw_latitude":119943808,"longitude_deg":75.5517056,"latitude_deg":11.9943808,"altitude":28,"angle":41,"satellites":27,"speed":19,"hex_longitude":"2d084680","hex_latitude":"07263280","is_valid_coordinates":true} 
[2026-08-23 12:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591995136001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15375046616809472,"note":"Value kept but may cause issues"} 
[2026-08-23 12:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":595530712680996864,"note":"Value kept but may cause issues"} 
[2026-08-23 12:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787468733000,"timestamp_ms":1787468733000,"timestamp_seconds":1787468733,"priority":1,"record_length":96,"hex_timestamp":"000001a02d705a48"} 
[2026-08-23 12:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 12:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591995136001,"66":14428,"237":206,"83":44288,"24":19,"16":15375046616809472,"45":595530712680996864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-23 12:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591995136001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:36:35] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 12:36:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15375046616809472,"km_value":15375046616809.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":595530712680996864,"description":"Unknown IO ID 45"} 
[2026-08-23 12:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591995136001,"power":14428,"unknown_237":206,"unknown_83":44288,"ignition":19,"odometer":null,"unknown_45":595530712680996864}} 
[2026-08-23 12:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":161672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:36:36] local.INFO: GPS data processed {"connection_id":161672,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:36:36] local.INFO: Acknowledgment sent {"connection_id":161672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:36:46] local.INFO: TCP Data received {"connection_id":163078,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:36:46] local.INFO: Processing buffer {"connection_id":163078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:36:46] local.INFO: IMEI packet received {"connection_id":163078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":163078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:36:51] local.INFO: TCP Data received {"connection_id":163078,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:36:51] local.INFO: Processing buffer {"connection_id":163078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:36:51] local.INFO: IMEI packet received {"connection_id":163078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":163078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:36:52] local.INFO: TCP Data received {"connection_id":163078,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:36:52] local.INFO: Processing buffer {"connection_id":163078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:36:52] local.INFO: Packet analysis {"connection_id":163078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:36:52] local.INFO: Extracted packet for processing {"connection_id":163078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:36: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-08-23 12:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591898624001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787468655000,"timestamp_ms":1787468655000,"timestamp_seconds":1787468655,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6f2998"} 
[2026-08-23 12:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:36:52] 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-08-23 12:36: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-08-23 12:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:36:52] 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-08-23 12:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591898624001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591898624001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:36:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:36:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591898624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":163078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:36:52] local.INFO: GPS data processed {"connection_id":163078,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:36:52] local.INFO: Acknowledgment sent {"connection_id":163078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:37:07] local.INFO: TCP Data received {"connection_id":161672,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d706600012d084a0007263858001a001d1c..."} 
[2026-08-23 12:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d706600012d084a0007263858001a001d1c..."} 
[2026-08-23 12:37:07] local.INFO: Processing buffer {"connection_id":161672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d706600012d084a0007263858001a001d1c..."} 
[2026-08-23 12:37:07] local.INFO: Packet analysis {"connection_id":161672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d70"} 
[2026-08-23 12:37:07] local.INFO: Extracted packet for processing {"connection_id":161672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d70"} 
[2026-08-23 12:37:07] local.INFO: GPS Element Parsed {"raw_longitude":755517952,"raw_latitude":119945304,"longitude_deg":75.5517952,"latitude_deg":11.9945304,"altitude":26,"angle":29,"satellites":28,"speed":24,"hex_longitude":"2d084a00","hex_latitude":"07263858","is_valid_coordinates":true} 
[2026-08-23 12:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591995648001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15375132516155392,"note":"Value kept but may cause issues"} 
[2026-08-23 12:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":596304768867139584,"note":"Value kept but may cause issues"} 
[2026-08-23 12:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787468736000,"timestamp_ms":1787468736000,"timestamp_seconds":1787468736,"priority":1,"record_length":96,"hex_timestamp":"000001a02d706600"} 
[2026-08-23 12:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:37:07] 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-08-23 12:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 12:37: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-08-23 12:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591995648001,"66":14374,"237":206,"83":44288,"24":24,"16":15375132516155392,"45":596304768867139584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-23 12:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591995648001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:37:07] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 12:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15375132516155392,"km_value":15375132516155.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":596304768867139584,"description":"Unknown IO ID 45"} 
[2026-08-23 12:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591995648001,"power":14374,"unknown_237":206,"unknown_83":44288,"ignition":24,"odometer":null,"unknown_45":596304768867139584}} 
[2026-08-23 12:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":161672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:37:07] local.INFO: GPS data processed {"connection_id":161672,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:37:07] local.INFO: Acknowledgment sent {"connection_id":161672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:37:23] local.INFO: TCP Data received {"connection_id":163078,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:37:23] local.INFO: Processing buffer {"connection_id":163078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:37:23] local.INFO: Packet analysis {"connection_id":163078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:37:23] local.INFO: Extracted packet for processing {"connection_id":163078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:37:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:37: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-08-23 12:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591898624001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787468655000,"timestamp_ms":1787468655000,"timestamp_seconds":1787468655,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6f2998"} 
[2026-08-23 12:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:37: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":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:37:23] 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-08-23 12:37: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-08-23 12:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:37:23] 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-08-23 12:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591898624001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591898624001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:37:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:37:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591898624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":163078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:37:23] local.INFO: GPS data processed {"connection_id":163078,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:37:23] local.INFO: Acknowledgment sent {"connection_id":163078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:37:29] local.INFO: TCP Data received {"connection_id":160490,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:37:29] local.INFO: Processing buffer {"connection_id":160490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:37:29] local.INFO: IMEI packet received {"connection_id":160490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":160490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:37:30] local.INFO: TCP Data received {"connection_id":160490,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:37:30] local.INFO: Processing buffer {"connection_id":160490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:37:30] local.INFO: IMEI packet received {"connection_id":160490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":160490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:37:32] local.INFO: TCP Data received {"connection_id":160490,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:37:32] local.INFO: Processing buffer {"connection_id":160490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:37:32] local.INFO: IMEI packet received {"connection_id":160490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":160490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:37:35] local.INFO: TCP Data received {"connection_id":160490,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:37:35] local.INFO: Processing buffer {"connection_id":160490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:37:35] local.INFO: IMEI packet received {"connection_id":160490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":160490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:37:35] local.INFO: TCP Data received {"connection_id":160490,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d708158012d085040072647d8001400111d..."} 
[2026-08-23 12:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d708158012d085040072647d8001400111d..."} 
[2026-08-23 12:37:35] local.INFO: Processing buffer {"connection_id":160490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d708158012d085040072647d8001400111d..."} 
[2026-08-23 12:37:35] local.INFO: Packet analysis {"connection_id":160490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d70"} 
[2026-08-23 12:37:35] local.INFO: Extracted packet for processing {"connection_id":160490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d70"} 
[2026-08-23 12:37:35] local.INFO: GPS Element Parsed {"raw_longitude":755519552,"raw_latitude":119949272,"longitude_deg":75.5519552,"latitude_deg":11.9949272,"altitude":20,"angle":17,"satellites":29,"speed":19,"hex_longitude":"2d085040","hex_latitude":"072647d8","is_valid_coordinates":true} 
[2026-08-23 12:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591996416001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15375338674585600,"note":"Value kept but may cause issues"} 
[2026-08-23 12:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":597289931286009856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787468743000,"timestamp_ms":1787468743000,"timestamp_seconds":1787468743,"priority":1,"record_length":96,"hex_timestamp":"000001a02d708158"} 
[2026-08-23 12:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-23 12:37:35] 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-08-23 12:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591996416001,"66":13559,"237":206,"83":44288,"24":19,"16":15375338674585600,"45":597289931286009856},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-23 12:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591996416001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:37:35] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 12:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15375338674585600,"km_value":15375338674585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":597289931286009856,"description":"Unknown IO ID 45"} 
[2026-08-23 12:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591996416001,"power":13559,"unknown_237":206,"unknown_83":44288,"ignition":19,"odometer":null,"unknown_45":597289931286009856}} 
[2026-08-23 12:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":160490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:37:35] local.INFO: GPS data processed {"connection_id":160490,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:37:35] local.INFO: Acknowledgment sent {"connection_id":160490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:37:46] local.INFO: TCP Data received {"connection_id":161673,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:37:46] local.INFO: Processing buffer {"connection_id":161673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:37:46] local.INFO: IMEI packet received {"connection_id":161673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":161673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:37:51] local.INFO: TCP Data received {"connection_id":161673,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:37:51] local.INFO: Processing buffer {"connection_id":161673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:37:51] local.INFO: IMEI packet received {"connection_id":161673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":161673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:37:53] local.INFO: TCP Data received {"connection_id":161673,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:37:53] local.INFO: Processing buffer {"connection_id":161673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:37:53] local.INFO: Packet analysis {"connection_id":161673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:37:53] local.INFO: Extracted packet for processing {"connection_id":161673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:37:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591898624001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787468655000,"timestamp_ms":1787468655000,"timestamp_seconds":1787468655,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6f2998"} 
[2026-08-23 12:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:37:53] 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-08-23 12: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-08-23 12:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591898624001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591898624001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:37:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:37:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591898624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":161673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:37:53] local.INFO: GPS data processed {"connection_id":161673,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:37:53] local.INFO: Acknowledgment sent {"connection_id":161673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:38:06] local.INFO: TCP Data received {"connection_id":160490,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d71d530012d08a2c00726cd70001c002e23..."} 
[2026-08-23 12:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d71d530012d08a2c00726cd70001c002e23..."} 
[2026-08-23 12:38:06] local.INFO: Processing buffer {"connection_id":160490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d71d530012d08a2c00726cd70001c002e23..."} 
[2026-08-23 12:38:06] local.INFO: Packet analysis {"connection_id":160490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d71"} 
[2026-08-23 12:38:06] local.INFO: Extracted packet for processing {"connection_id":160490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d71"} 
[2026-08-23 12:38:06] local.INFO: GPS Element Parsed {"raw_longitude":755540672,"raw_latitude":119983472,"longitude_deg":75.5540672,"latitude_deg":11.9983472,"altitude":28,"angle":46,"satellites":35,"speed":27,"hex_longitude":"2d08a2c0","hex_latitude":"0726cd70","is_valid_coordinates":true} 
[2026-08-23 12:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592018688001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15377400258887680,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":619033873245790208,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787468830000,"timestamp_ms":1787468830000,"timestamp_seconds":1787468830,"priority":1,"record_length":96,"hex_timestamp":"000001a02d71d530"} 
[2026-08-23 12:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-23 12:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733144064,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2902464512,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:06] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84733327797855904,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:06] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503834259030016,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:06] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2859466784,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637447953732077,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:06] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5908986598200246528,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1374486734,"corrected_to":0} 
[2026-08-23 12:38:06] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2704080896,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:06] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:06] local.WARNING: Large IO value detected {"io_id":144,"raw_value":9288953974756096,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:06] local.WARNING: Large IO value detected {"io_id":8,"raw_value":9043235914179412001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:06] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,237,83,24,241,157,16,161,160,178,45,128,188,32,37,10,66,146,175,35,138,192,1,240,169,227,38,4,113,205,127,145,136,239,54,2,7,18,206,144,8],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1374486734,"validated":0}]} 
[2026-08-23 12:38:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2305878352501014528,"timestamp_seconds":2305878352501014.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 12:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592018688001,"66":14428,"237":206,"83":44288,"24":27,"16":15377400258887680,"45":619033873245790208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-23 12:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592018688001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:38:06] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 12:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15377400258887680,"km_value":15377400258887.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":619033873245790208,"description":"Unknown IO ID 45"} 
[2026-08-23 12:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592018688001,"power":14428,"unknown_237":206,"unknown_83":44288,"ignition":27,"odometer":null,"unknown_45":619033873245790208}} 
[2026-08-23 12:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":160490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:38:06] local.INFO: GPS data processed {"connection_id":160490,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:38:06] local.INFO: Acknowledgment sent {"connection_id":160490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:38:25] local.INFO: TCP Data received {"connection_id":161673,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:38:25] local.INFO: Processing buffer {"connection_id":161673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:38:25] local.INFO: Packet analysis {"connection_id":161673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:38:25] local.INFO: Extracted packet for processing {"connection_id":161673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:38:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591898624001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787468655000,"timestamp_ms":1787468655000,"timestamp_seconds":1787468655,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6f2998"} 
[2026-08-23 12:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:38:25] 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-08-23 12: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-08-23 12:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591898624001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591898624001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:38:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:38:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591898624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":161673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:38:25] local.INFO: GPS data processed {"connection_id":161673,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:38:25] local.INFO: Acknowledgment sent {"connection_id":161673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:38:29] local.INFO: TCP Data received {"connection_id":161674,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:38:29] local.INFO: Processing buffer {"connection_id":161674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:38:29] local.INFO: IMEI packet received {"connection_id":161674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":161674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:38:32] local.INFO: TCP Data received {"connection_id":161674,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:38:32] local.INFO: Processing buffer {"connection_id":161674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:38:32] local.INFO: IMEI packet received {"connection_id":161674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":161674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:38:35] local.INFO: TCP Data received {"connection_id":161674,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:38:35] local.INFO: Processing buffer {"connection_id":161674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:38:35] local.INFO: IMEI packet received {"connection_id":161674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":161674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:38:35] local.INFO: TCP Data received {"connection_id":161674,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d71e4d0012d08abc00726d3b0001a003a22..."} 
[2026-08-23 12:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d71e4d0012d08abc00726d3b0001a003a22..."} 
[2026-08-23 12:38:35] local.INFO: Processing buffer {"connection_id":161674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d71e4d0012d08abc00726d3b0001a003a22..."} 
[2026-08-23 12:38:35] local.INFO: Packet analysis {"connection_id":161674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d71"} 
[2026-08-23 12:38:35] local.INFO: Extracted packet for processing {"connection_id":161674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d71"} 
[2026-08-23 12:38:35] local.INFO: GPS Element Parsed {"raw_longitude":755542976,"raw_latitude":119985072,"longitude_deg":75.5542976,"latitude_deg":11.9985072,"altitude":26,"angle":58,"satellites":34,"speed":26,"hex_longitude":"2d08abc0","hex_latitude":"0726d3b0","is_valid_coordinates":true} 
[2026-08-23 12:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592020480001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15377533402873856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":622270835478851584,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787468834000,"timestamp_ms":1787468834000,"timestamp_seconds":1787468834,"priority":1,"record_length":96,"hex_timestamp":"000001a02d71e4d0"} 
[2026-08-23 12:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 12:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592020480001,"66":14428,"237":206,"83":44288,"24":26,"16":15377533402873856,"45":622270835478851584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-23 12:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592020480001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:38:36] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 12:38:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15377533402873856,"km_value":15377533402873.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":622270835478851584,"description":"Unknown IO ID 45"} 
[2026-08-23 12:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592020480001,"power":14428,"unknown_237":206,"unknown_83":44288,"ignition":26,"odometer":null,"unknown_45":622270835478851584}} 
[2026-08-23 12:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":161674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:38:36] local.INFO: GPS data processed {"connection_id":161674,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:38:36] local.INFO: Acknowledgment sent {"connection_id":161674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:38:46] local.INFO: TCP Data received {"connection_id":163079,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:38:46] local.INFO: Processing buffer {"connection_id":163079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:38:46] local.INFO: IMEI packet received {"connection_id":163079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":163079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:38:51] local.INFO: TCP Data received {"connection_id":163079,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:38:51] local.INFO: Processing buffer {"connection_id":163079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:38:51] local.INFO: IMEI packet received {"connection_id":163079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":163079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:38:53] local.INFO: TCP Data received {"connection_id":163079,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:38:53] local.INFO: Processing buffer {"connection_id":163079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:38:53] local.INFO: Packet analysis {"connection_id":163079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:38:53] local.INFO: Extracted packet for processing {"connection_id":163079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:38:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591898624001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787468655000,"timestamp_ms":1787468655000,"timestamp_seconds":1787468655,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6f2998"} 
[2026-08-23 12:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:38:53] 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-08-23 12:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591898624001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591898624001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:38:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:38:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591898624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":163079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:38:53] local.INFO: GPS data processed {"connection_id":163079,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:38:53] local.INFO: Acknowledgment sent {"connection_id":163079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:39:07] local.INFO: TCP Data received {"connection_id":161674,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d72fa28012d08f8c0072700f80012006420..."} 
[2026-08-23 12:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d72fa28012d08f8c0072700f80012006420..."} 
[2026-08-23 12:39:07] local.INFO: Processing buffer {"connection_id":161674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d72fa28012d08f8c0072700f80012006420..."} 
[2026-08-23 12:39:07] local.INFO: Packet analysis {"connection_id":161674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d72"} 
[2026-08-23 12:39:07] local.INFO: Extracted packet for processing {"connection_id":161674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d72"} 
[2026-08-23 12:39:07] local.INFO: GPS Element Parsed {"raw_longitude":755562688,"raw_latitude":119996664,"longitude_deg":75.5562688,"latitude_deg":11.9996664,"altitude":18,"angle":100,"satellites":32,"speed":5,"hex_longitude":"2d08f8c0","hex_latitude":"072700f8","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592038656001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15378658684305408,"note":"Value kept but may cause issues"} 
[2026-08-23 12:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":645985102270087168,"note":"Value kept but may cause issues"} 
[2026-08-23 12:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787468905000,"timestamp_ms":1787468905000,"timestamp_seconds":1787468905,"priority":1,"record_length":96,"hex_timestamp":"000001a02d72fa28"} 
[2026-08-23 12:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:39:07] 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-08-23 12: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-23 12:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592038656001,"66":14048,"237":206,"83":44288,"24":5,"16":15378658684305408,"45":645985102270087168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-23 12:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592038656001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:39:07] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 12:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15378658684305408,"km_value":15378658684305.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":645985102270087168,"description":"Unknown IO ID 45"} 
[2026-08-23 12:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592038656001,"power":14048,"unknown_237":206,"unknown_83":44288,"ignition":5,"odometer":null,"unknown_45":645985102270087168}} 
[2026-08-23 12:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":161674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:39:07] local.INFO: GPS data processed {"connection_id":161674,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:39:07] local.INFO: Acknowledgment sent {"connection_id":161674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:39:24] local.INFO: TCP Data received {"connection_id":163079,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:39:24] local.INFO: Processing buffer {"connection_id":163079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:39:24] local.INFO: Packet analysis {"connection_id":163079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:39:24] local.INFO: Extracted packet for processing {"connection_id":163079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:39:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591898624001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787468655000,"timestamp_ms":1787468655000,"timestamp_seconds":1787468655,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6f2998"} 
[2026-08-23 12:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:39:24] 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-08-23 12:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591898624001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591898624001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:39:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:39:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591898624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":163079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:39:24] local.INFO: GPS data processed {"connection_id":163079,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:39:24] local.INFO: Acknowledgment sent {"connection_id":163079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:39:29] local.INFO: TCP Data received {"connection_id":160736,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:39:29] local.INFO: Processing buffer {"connection_id":160736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:39:29] local.INFO: IMEI packet received {"connection_id":160736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":160736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:39:35] local.INFO: TCP Data received {"connection_id":160736,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:39:35] local.INFO: Processing buffer {"connection_id":160736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:39:35] local.INFO: IMEI packet received {"connection_id":160736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":160736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:39:35] local.INFO: TCP Data received {"connection_id":160736,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d72fe10012d08f940072700c80012007320..."} 
[2026-08-23 12:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d72fe10012d08f940072700c80012007320..."} 
[2026-08-23 12:39:35] local.INFO: Processing buffer {"connection_id":160736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d72fe10012d08f940072700c80012007320..."} 
[2026-08-23 12:39:35] local.INFO: Packet analysis {"connection_id":160736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d72"} 
[2026-08-23 12:39:35] local.INFO: Extracted packet for processing {"connection_id":160736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d72"} 
[2026-08-23 12:39:35] local.INFO: GPS Element Parsed {"raw_longitude":755562816,"raw_latitude":119996616,"longitude_deg":75.5562816,"latitude_deg":11.9996616,"altitude":18,"angle":115,"satellites":32,"speed":5,"hex_longitude":"2d08f940","hex_latitude":"072700c8","is_valid_coordinates":true} 
[2026-08-23 12:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592039680001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15378667274240000,"note":"Value kept but may cause issues"} 
[2026-08-23 12:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":646477683479345152,"note":"Value kept but may cause issues"} 
[2026-08-23 12:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787468906000,"timestamp_ms":1787468906000,"timestamp_seconds":1787468906,"priority":1,"record_length":96,"hex_timestamp":"000001a02d72fe10"} 
[2026-08-23 12:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 12:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592039680001,"66":14048,"237":206,"83":44288,"24":5,"16":15378667274240000,"45":646477683479345152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-23 12:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592039680001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:39:35] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 12:39:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15378667274240000,"km_value":15378667274240,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":646477683479345152,"description":"Unknown IO ID 45"} 
[2026-08-23 12:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592039680001,"power":14048,"unknown_237":206,"unknown_83":44288,"ignition":5,"odometer":null,"unknown_45":646477683479345152}} 
[2026-08-23 12:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":160736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:39:35] local.INFO: GPS data processed {"connection_id":160736,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:39:35] local.INFO: Acknowledgment sent {"connection_id":160736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:39:46] local.INFO: TCP Data received {"connection_id":160491,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:39:46] local.INFO: Processing buffer {"connection_id":160491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:39:46] local.INFO: IMEI packet received {"connection_id":160491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":160491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:39:51] local.INFO: TCP Data received {"connection_id":160491,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:39:51] local.INFO: Processing buffer {"connection_id":160491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:39:51] local.INFO: IMEI packet received {"connection_id":160491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":160491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:39:52] local.INFO: TCP Data received {"connection_id":160491,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:39:52] local.INFO: Processing buffer {"connection_id":160491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d6f2998012d34c50006aa4098000b008523..."} 
[2026-08-23 12:39:52] local.INFO: Packet analysis {"connection_id":160491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:39:52] local.INFO: Extracted packet for processing {"connection_id":160491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d6f"} 
[2026-08-23 12:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591898624001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787468655000,"timestamp_ms":1787468655000,"timestamp_seconds":1787468655,"priority":1,"record_length":96,"hex_timestamp":"000001a02d6f2998"} 
[2026-08-23 12:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 12:39:52] 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-08-23 12:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:39:52] 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-08-23 12:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591898624001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591898624001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:39:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:39:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591898624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":160491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:39:52] local.INFO: GPS data processed {"connection_id":160491,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:39:52] local.INFO: Acknowledgment sent {"connection_id":160491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:40:06] local.INFO: TCP Data received {"connection_id":160736,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d7301f8012d08f980072700800012007f20..."} 
[2026-08-23 12:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d7301f8012d08f980072700800012007f20..."} 
[2026-08-23 12:40:06] local.INFO: Processing buffer {"connection_id":160736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d7301f8012d08f980072700800012007f20..."} 
[2026-08-23 12:40:06] local.INFO: Packet analysis {"connection_id":160736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:40:06] local.INFO: Extracted packet for processing {"connection_id":160736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:40:06] local.INFO: GPS Element Parsed {"raw_longitude":755562880,"raw_latitude":119996544,"longitude_deg":75.556288,"latitude_deg":11.9996544,"altitude":18,"angle":127,"satellites":32,"speed":4,"hex_longitude":"2d08f980","hex_latitude":"07270080","is_valid_coordinates":true} 
[2026-08-23 12:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592039936001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15378671569207296,"note":"Value kept but may cause issues"} 
[2026-08-23 12:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":646618420967688192,"note":"Value kept but may cause issues"} 
[2026-08-23 12:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787468907000,"timestamp_ms":1787468907000,"timestamp_seconds":1787468907,"priority":1,"record_length":96,"hex_timestamp":"000001a02d7301f8"} 
[2026-08-23 12:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:40:06] 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-08-23 12:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 12:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592039936001,"66":14070,"237":206,"83":44288,"24":4,"16":15378671569207296,"45":646618420967688192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-23 12:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592039936001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:40:06] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 12:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15378671569207296,"km_value":15378671569207.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":646618420967688192,"description":"Unknown IO ID 45"} 
[2026-08-23 12:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592039936001,"power":14070,"unknown_237":206,"unknown_83":44288,"ignition":4,"odometer":null,"unknown_45":646618420967688192}} 
[2026-08-23 12:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":160736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:40:06] local.INFO: GPS data processed {"connection_id":160736,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:40:06] local.INFO: Acknowledgment sent {"connection_id":160736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:40:23] local.INFO: TCP Data received {"connection_id":160491,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:40:23] local.INFO: Processing buffer {"connection_id":160491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:40:23] local.INFO: Packet analysis {"connection_id":160491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:40:23] local.INFO: Extracted packet for processing {"connection_id":160491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:40:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591975680001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787468956000,"timestamp_ms":1787468956000,"timestamp_seconds":1787468956,"priority":1,"record_length":96,"hex_timestamp":"000001a02d73c160"} 
[2026-08-23 12:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 12:40:23] 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-08-23 12: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-08-23 12:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591975680001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591975680001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:40:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:40:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591975680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":160491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:40:23] local.INFO: GPS data processed {"connection_id":160491,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:40:23] local.INFO: Acknowledgment sent {"connection_id":160491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:40:35] local.INFO: TCP Data received {"connection_id":161675,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:40:35] local.INFO: Processing buffer {"connection_id":161675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:40:35] local.INFO: IMEI packet received {"connection_id":161675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":161675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:40:40] local.INFO: TCP Data received {"connection_id":161675,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:40:40] local.INFO: Processing buffer {"connection_id":161675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:40:40] local.INFO: IMEI packet received {"connection_id":161675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":161675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:40:40] local.INFO: TCP Data received {"connection_id":161675,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d735400012d08f9c0072700600012008820..."} 
[2026-08-23 12:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d735400012d08f9c0072700600012008820..."} 
[2026-08-23 12:40:40] local.INFO: Processing buffer {"connection_id":161675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d735400012d08f9c0072700600012008820..."} 
[2026-08-23 12:40:40] local.INFO: Packet analysis {"connection_id":161675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:40:40] local.INFO: Extracted packet for processing {"connection_id":161675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:40:40] local.INFO: GPS Element Parsed {"raw_longitude":755562944,"raw_latitude":119996512,"longitude_deg":75.5562944,"latitude_deg":11.9996512,"altitude":18,"angle":136,"satellites":32,"speed":0,"hex_longitude":"2d08f9c0","hex_latitude":"07270060","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592040192001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15378675864174592,"note":"Value kept but may cause issues"} 
[2026-08-23 12:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":646688789711847424,"note":"Value kept but may cause issues"} 
[2026-08-23 12:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787468928000,"timestamp_ms":1787468928000,"timestamp_seconds":1787468928,"priority":1,"record_length":96,"hex_timestamp":"000001a02d735400"} 
[2026-08-23 12:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:40:40] 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-08-23 12: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-23 12:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592040192001,"66":13993,"237":206,"83":44288,"24":0,"16":15378675864174592,"45":646688789711847424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-23 12:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592040192001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:40:40] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 12:40:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15378675864174592,"km_value":15378675864174.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":646688789711847424,"description":"Unknown IO ID 45"} 
[2026-08-23 12:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592040192001,"power":13993,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":646688789711847424}} 
[2026-08-23 12:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":161675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:40:41] local.INFO: GPS data processed {"connection_id":161675,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:40:41] local.INFO: Acknowledgment sent {"connection_id":161675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:40:41] local.INFO: TCP Data received {"connection_id":161675,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d73a608012d08f9c007270060001200881d..."} 
[2026-08-23 12:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d73a608012d08f9c007270060001200881d..."} 
[2026-08-23 12:40:41] local.INFO: Processing buffer {"connection_id":161675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d73a608012d08f9c007270060001200881d..."} 
[2026-08-23 12:40:41] local.INFO: Packet analysis {"connection_id":161675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:40:41] local.INFO: Extracted packet for processing {"connection_id":161675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:40:41] local.INFO: GPS Element Parsed {"raw_longitude":755562944,"raw_latitude":119996512,"longitude_deg":75.5562944,"latitude_deg":11.9996512,"altitude":18,"angle":136,"satellites":29,"speed":0,"hex_longitude":"2d08f9c0","hex_latitude":"07270060","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592045568001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15378675864174592,"note":"Value kept but may cause issues"} 
[2026-08-23 12:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":646759158456016896,"note":"Value kept but may cause issues"} 
[2026-08-23 12:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787468949000,"timestamp_ms":1787468949000,"timestamp_seconds":1787468949,"priority":1,"record_length":96,"hex_timestamp":"000001a02d73a608"} 
[2026-08-23 12:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:40:41] 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-08-23 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-23 12:40:41] 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-08-23 12: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-08-23 12:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592045568001,"66":14461,"237":206,"83":44288,"24":0,"16":15378675864174592,"45":646759158456016896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-23 12:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592045568001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:40:41] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 12:40:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15378675864174592,"km_value":15378675864174.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":646759158456016896,"description":"Unknown IO ID 45"} 
[2026-08-23 12:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592045568001,"power":14461,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":646759158456016896}} 
[2026-08-23 12:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":161675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:40:41] local.INFO: GPS data processed {"connection_id":161675,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:40:41] local.INFO: Acknowledgment sent {"connection_id":161675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:40:47] local.INFO: TCP Data received {"connection_id":160737,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:40:47] local.INFO: Processing buffer {"connection_id":160737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:40:47] local.INFO: IMEI packet received {"connection_id":160737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":160737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:40:51] local.INFO: TCP Data received {"connection_id":160737,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:40:51] local.INFO: Processing buffer {"connection_id":160737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:40:51] local.INFO: IMEI packet received {"connection_id":160737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":160737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:40:52] local.INFO: TCP Data received {"connection_id":160737,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:40:52] local.INFO: Processing buffer {"connection_id":160737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:40:52] local.INFO: Packet analysis {"connection_id":160737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:40:52] local.INFO: Extracted packet for processing {"connection_id":160737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:40:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591975680001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787468956000,"timestamp_ms":1787468956000,"timestamp_seconds":1787468956,"priority":1,"record_length":96,"hex_timestamp":"000001a02d73c160"} 
[2026-08-23 12:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 12:40:52] 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-08-23 12:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:40:52] 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-08-23 12:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591975680001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591975680001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:40:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:40:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591975680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":160737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:40:52] local.INFO: GPS data processed {"connection_id":160737,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:40:52] local.INFO: Acknowledgment sent {"connection_id":160737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:41:12] local.INFO: TCP Data received {"connection_id":161675,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d73f810012d08f9c0072700600012008820..."} 
[2026-08-23 12:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d73f810012d08f9c0072700600012008820..."} 
[2026-08-23 12:41:12] local.INFO: Processing buffer {"connection_id":161675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d73f810012d08f9c0072700600012008820..."} 
[2026-08-23 12:41:12] local.INFO: Packet analysis {"connection_id":161675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:41:12] local.INFO: Extracted packet for processing {"connection_id":161675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:41:12] local.INFO: GPS Element Parsed {"raw_longitude":755562944,"raw_latitude":119996512,"longitude_deg":75.5562944,"latitude_deg":11.9996512,"altitude":18,"angle":136,"satellites":32,"speed":0,"hex_longitude":"2d08f9c0","hex_latitude":"07270060","is_valid_coordinates":true} 
[2026-08-23 12:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592050944001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15378675864174592,"note":"Value kept but may cause issues"} 
[2026-08-23 12:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":646759158456016896,"note":"Value kept but may cause issues"} 
[2026-08-23 12:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787468970000,"timestamp_ms":1787468970000,"timestamp_seconds":1787468970,"priority":1,"record_length":96,"hex_timestamp":"000001a02d73f810"} 
[2026-08-23 12:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:41:12] 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-08-23 12:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 12:41:12] 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-08-23 12:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592050944001,"66":14407,"237":206,"83":44288,"24":0,"16":15378675864174592,"45":646759158456016896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-23 12:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592050944001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:41:12] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 12:41:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15378675864174592,"km_value":15378675864174.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":646759158456016896,"description":"Unknown IO ID 45"} 
[2026-08-23 12:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592050944001,"power":14407,"unknown_237":206,"unknown_83":44288,"ignition":0,"odometer":null,"unknown_45":646759158456016896}} 
[2026-08-23 12:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":161675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:41:12] local.INFO: GPS data processed {"connection_id":161675,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:41:12] local.INFO: Acknowledgment sent {"connection_id":161675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:41:24] local.INFO: TCP Data received {"connection_id":160737,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:41:24] local.INFO: Processing buffer {"connection_id":160737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:41:24] local.INFO: Packet analysis {"connection_id":160737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:41:24] local.INFO: Extracted packet for processing {"connection_id":160737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:41:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591975680001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787468956000,"timestamp_ms":1787468956000,"timestamp_seconds":1787468956,"priority":1,"record_length":96,"hex_timestamp":"000001a02d73c160"} 
[2026-08-23 12:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 12:41:24] 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-08-23 12:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:41:24] 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-08-23 12:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591975680001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591975680001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:41:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:41:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591975680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":160737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:41:24] local.INFO: GPS data processed {"connection_id":160737,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:41:24] local.INFO: Acknowledgment sent {"connection_id":160737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:41:30] local.INFO: TCP Data received {"connection_id":160738,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:41:30] local.INFO: Processing buffer {"connection_id":160738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:41:30] local.INFO: IMEI packet received {"connection_id":160738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":160738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:41:30] local.INFO: TCP Data received {"connection_id":160738,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:41:30] local.INFO: Processing buffer {"connection_id":160738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:41:30] local.INFO: IMEI packet received {"connection_id":160738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":160738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:41:35] local.INFO: TCP Data received {"connection_id":160738,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:41:35] local.INFO: Processing buffer {"connection_id":160738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:41:35] local.INFO: IMEI packet received {"connection_id":160738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":160738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:41:38] local.INFO: TCP Data received {"connection_id":160738,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d74f210012d08f7c0072701680014012421..."} 
[2026-08-23 12:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d74f210012d08f7c0072701680014012421..."} 
[2026-08-23 12:41:38] local.INFO: Processing buffer {"connection_id":160738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d74f210012d08f7c0072701680014012421..."} 
[2026-08-23 12:41:38] local.INFO: Packet analysis {"connection_id":160738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d74"} 
[2026-08-23 12:41:38] local.INFO: Extracted packet for processing {"connection_id":160738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d74"} 
[2026-08-23 12:41:38] local.INFO: GPS Element Parsed {"raw_longitude":755562432,"raw_latitude":119996776,"longitude_deg":75.5562432,"latitude_deg":11.9996776,"altitude":20,"angle":292,"satellites":33,"speed":3,"hex_longitude":"2d08f7c0","hex_latitude":"07270168","is_valid_coordinates":true} 
[2026-08-23 12:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592069888001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15378783238356992,"note":"Value kept but may cause issues"} 
[2026-08-23 12:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":646336945990959104,"note":"Value kept but may cause issues"} 
[2026-08-23 12:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787469034000,"timestamp_ms":1787469034000,"timestamp_seconds":1787469034,"priority":1,"record_length":96,"hex_timestamp":"000001a02d74f210"} 
[2026-08-23 12:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 12:41: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-08-23 12:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592069888001,"66":14102,"237":206,"83":44288,"24":3,"16":15378783238356992,"45":646336945990959104},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-23 12:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592069888001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:41:38] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 12:41:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15378783238356992,"km_value":15378783238356.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":646336945990959104,"description":"Unknown IO ID 45"} 
[2026-08-23 12:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592069888001,"power":14102,"unknown_237":206,"unknown_83":44288,"ignition":3,"odometer":null,"unknown_45":646336945990959104}} 
[2026-08-23 12:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":160738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:41:38] local.INFO: GPS data processed {"connection_id":160738,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:41:38] local.INFO: Acknowledgment sent {"connection_id":160738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:41:46] local.INFO: TCP Data received {"connection_id":163080,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:41:46] local.INFO: Processing buffer {"connection_id":163080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:41:46] local.INFO: IMEI packet received {"connection_id":163080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":163080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:41:51] local.INFO: TCP Data received {"connection_id":163080,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:41:51] local.INFO: Processing buffer {"connection_id":163080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:41:51] local.INFO: IMEI packet received {"connection_id":163080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":163080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:41:52] local.INFO: TCP Data received {"connection_id":163080,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:41:52] local.INFO: Processing buffer {"connection_id":163080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:41:52] local.INFO: Packet analysis {"connection_id":163080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:41:52] local.INFO: Extracted packet for processing {"connection_id":163080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:41:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:41: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-08-23 12:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591975680001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787468956000,"timestamp_ms":1787468956000,"timestamp_seconds":1787468956,"priority":1,"record_length":96,"hex_timestamp":"000001a02d73c160"} 
[2026-08-23 12:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 12:41:52] 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-08-23 12:41: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-08-23 12:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591975680001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591975680001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:41:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:41:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591975680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":163080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:41:52] local.INFO: GPS data processed {"connection_id":163080,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:41:52] local.INFO: Acknowledgment sent {"connection_id":163080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:42:12] local.INFO: TCP Data received {"connection_id":160738,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d74f9e0012d08f700072701880014011822..."} 
[2026-08-23 12:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d74f9e0012d08f700072701880014011822..."} 
[2026-08-23 12:42:12] local.INFO: Processing buffer {"connection_id":160738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d74f9e0012d08f700072701880014011822..."} 
[2026-08-23 12:42:12] local.INFO: Packet analysis {"connection_id":160738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d74"} 
[2026-08-23 12:42:12] local.INFO: Extracted packet for processing {"connection_id":160738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d74"} 
[2026-08-23 12:42:12] local.INFO: GPS Element Parsed {"raw_longitude":755562240,"raw_latitude":119996808,"longitude_deg":75.556224,"latitude_deg":11.9996808,"altitude":20,"angle":280,"satellites":34,"speed":3,"hex_longitude":"2d08f700","hex_latitude":"07270188","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592072704001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15378796123258880,"note":"Value kept but may cause issues"} 
[2026-08-23 12:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":646196208502663168,"note":"Value kept but may cause issues"} 
[2026-08-23 12:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787469036000,"timestamp_ms":1787469036000,"timestamp_seconds":1787469036,"priority":1,"record_length":96,"hex_timestamp":"000001a02d74f9e0"} 
[2026-08-23 12:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:42:12] 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-08-23 12: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-23 12:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592072704001,"66":14189,"237":206,"83":44288,"24":3,"16":15378796123258880,"45":646196208502663168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-23 12:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592072704001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:42:12] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 12:42:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15378796123258880,"km_value":15378796123258.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":646196208502663168,"description":"Unknown IO ID 45"} 
[2026-08-23 12:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592072704001,"power":14189,"unknown_237":206,"unknown_83":44288,"ignition":3,"odometer":null,"unknown_45":646196208502663168}} 
[2026-08-23 12:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":160738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:42:12] local.INFO: GPS data processed {"connection_id":160738,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:42:12] local.INFO: Acknowledgment sent {"connection_id":160738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:42:25] local.INFO: TCP Data received {"connection_id":163080,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:42:25] local.INFO: Processing buffer {"connection_id":163080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:42:25] local.INFO: Packet analysis {"connection_id":163080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:42:25] local.INFO: Extracted packet for processing {"connection_id":163080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:42:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591975680001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787468956000,"timestamp_ms":1787468956000,"timestamp_seconds":1787468956,"priority":1,"record_length":96,"hex_timestamp":"000001a02d73c160"} 
[2026-08-23 12:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 12:42:25] 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-08-23 12:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591975680001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591975680001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:42:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:42:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591975680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":163080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:42:25] local.INFO: GPS data processed {"connection_id":163080,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:42:25] local.INFO: Acknowledgment sent {"connection_id":163080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:42:30] local.INFO: TCP Data received {"connection_id":161676,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:42:30] local.INFO: Processing buffer {"connection_id":161676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:42:30] local.INFO: IMEI packet received {"connection_id":161676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":161676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:42:30] local.INFO: TCP Data received {"connection_id":161676,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:42:30] local.INFO: Processing buffer {"connection_id":161676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:42:30] local.INFO: IMEI packet received {"connection_id":161676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":161676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:42:31] local.INFO: TCP Data received {"connection_id":161676,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:42:31] local.INFO: Processing buffer {"connection_id":161676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:42:31] local.INFO: IMEI packet received {"connection_id":161676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":161676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:42:35] local.INFO: TCP Data received {"connection_id":161676,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:42:35] local.INFO: Processing buffer {"connection_id":161676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:42:35] local.INFO: IMEI packet received {"connection_id":161676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":161676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:42:39] local.INFO: TCP Data received {"connection_id":161676,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d761320012d08ac000726d338001700f525..."} 
[2026-08-23 12:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d761320012d08ac000726d338001700f525..."} 
[2026-08-23 12:42:39] local.INFO: Processing buffer {"connection_id":161676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d761320012d08ac000726d338001700f525..."} 
[2026-08-23 12:42:39] local.INFO: Packet analysis {"connection_id":161676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d76"} 
[2026-08-23 12:42:39] local.INFO: Extracted packet for processing {"connection_id":161676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d76"} 
[2026-08-23 12:42:39] local.INFO: GPS Element Parsed {"raw_longitude":755543040,"raw_latitude":119984952,"longitude_deg":75.554304,"latitude_deg":11.9984952,"altitude":23,"angle":245,"satellites":37,"speed":21,"hex_longitude":"2d08ac00","hex_latitude":"0726d338","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592090112001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15379895634886656,"note":"Value kept but may cause issues"} 
[2026-08-23 12:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":627970703758092288,"note":"Value kept but may cause issues"} 
[2026-08-23 12:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787469108000,"timestamp_ms":1787469108000,"timestamp_seconds":1787469108,"priority":1,"record_length":96,"hex_timestamp":"000001a02d761320"} 
[2026-08-23 12:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:42: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-08-23 12: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-08-23 12:42:39] 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-08-23 12: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-08-23 12:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592090112001,"66":14026,"237":206,"83":44288,"24":21,"16":15379895634886656,"45":627970703758092288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-23 12:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592090112001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:42:39] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 12:42:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15379895634886656,"km_value":15379895634886.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":627970703758092288,"description":"Unknown IO ID 45"} 
[2026-08-23 12:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592090112001,"power":14026,"unknown_237":206,"unknown_83":44288,"ignition":21,"odometer":null,"unknown_45":627970703758092288}} 
[2026-08-23 12:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":161676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:42:39] local.INFO: GPS data processed {"connection_id":161676,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:42:39] local.INFO: Acknowledgment sent {"connection_id":161676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:42:46] local.INFO: TCP Data received {"connection_id":163081,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:42:46] local.INFO: Processing buffer {"connection_id":163081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:42:46] local.INFO: IMEI packet received {"connection_id":163081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":163081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:42:51] local.INFO: TCP Data received {"connection_id":163081,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:42:51] local.INFO: Processing buffer {"connection_id":163081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:42:51] local.INFO: IMEI packet received {"connection_id":163081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":163081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:42:52] local.INFO: TCP Data received {"connection_id":163081,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:42:52] local.INFO: Processing buffer {"connection_id":163081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:42:52] local.INFO: Packet analysis {"connection_id":163081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:42:52] local.INFO: Extracted packet for processing {"connection_id":163081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:42:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591975680001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787468956000,"timestamp_ms":1787468956000,"timestamp_seconds":1787468956,"priority":1,"record_length":96,"hex_timestamp":"000001a02d73c160"} 
[2026-08-23 12:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 12:42:52] 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-08-23 12:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:42:52] 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-08-23 12:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591975680001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591975680001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:42:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:42:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591975680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":163081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:42:52] local.INFO: GPS data processed {"connection_id":163081,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:42:52] local.INFO: Acknowledgment sent {"connection_id":163081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:43:10] local.INFO: TCP Data received {"connection_id":161676,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d769fc0012d087fc007269e80002a00ea25..."} 
[2026-08-23 12:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d769fc0012d087fc007269e80002a00ea25..."} 
[2026-08-23 12:43:10] local.INFO: Processing buffer {"connection_id":161676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d769fc0012d087fc007269e80002a00ea25..."} 
[2026-08-23 12:43:10] local.INFO: Packet analysis {"connection_id":161676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d76"} 
[2026-08-23 12:43:10] local.INFO: Extracted packet for processing {"connection_id":161676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d76"} 
[2026-08-23 12:43:10] local.INFO: GPS Element Parsed {"raw_longitude":755531712,"raw_latitude":119971456,"longitude_deg":75.5531712,"latitude_deg":11.9971456,"altitude":42,"angle":234,"satellites":37,"speed":21,"hex_longitude":"2d087fc0","hex_latitude":"07269e80","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592100352001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15380810462920704,"note":"Value kept but may cause issues"} 
[2026-08-23 12:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":613404373709518848,"note":"Value kept but may cause issues"} 
[2026-08-23 12:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787469144000,"timestamp_ms":1787469144000,"timestamp_seconds":1787469144,"priority":1,"record_length":96,"hex_timestamp":"000001a02d769fc0"} 
[2026-08-23 12:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:43: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-08-23 12: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-23 12:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592100352001,"66":13678,"237":206,"83":44288,"24":21,"16":15380810462920704,"45":613404373709518848},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-23 12:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592100352001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:43:10] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 12:43:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15380810462920704,"km_value":15380810462920.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":613404373709518848,"description":"Unknown IO ID 45"} 
[2026-08-23 12:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592100352001,"power":13678,"unknown_237":206,"unknown_83":44288,"ignition":21,"odometer":null,"unknown_45":613404373709518848}} 
[2026-08-23 12:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":161676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:43:10] local.INFO: GPS data processed {"connection_id":161676,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:43:10] local.INFO: Acknowledgment sent {"connection_id":161676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:43:24] local.INFO: TCP Data received {"connection_id":163081,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:43:24] local.INFO: Processing buffer {"connection_id":163081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:43:24] local.INFO: Packet analysis {"connection_id":163081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:43:24] local.INFO: Extracted packet for processing {"connection_id":163081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:43:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591975680001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787468956000,"timestamp_ms":1787468956000,"timestamp_seconds":1787468956,"priority":1,"record_length":96,"hex_timestamp":"000001a02d73c160"} 
[2026-08-23 12:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 12:43:24] 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-08-23 12:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:43:24] 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-08-23 12:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591975680001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591975680001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:43:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:43:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591975680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":163081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:43:24] local.INFO: GPS data processed {"connection_id":163081,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:43:24] local.INFO: Acknowledgment sent {"connection_id":163081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:43:29] local.INFO: TCP Data received {"connection_id":160739,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:43:29] local.INFO: Processing buffer {"connection_id":160739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:43:29] local.INFO: IMEI packet received {"connection_id":160739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":160739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:43:35] local.INFO: TCP Data received {"connection_id":160739,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:43:35] local.INFO: Processing buffer {"connection_id":160739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:43:35] local.INFO: IMEI packet received {"connection_id":160739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":160739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:43:35] local.INFO: TCP Data received {"connection_id":160739,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d76a790012d087cc007269b88002a00da26..."} 
[2026-08-23 12:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d76a790012d087cc007269b88002a00da26..."} 
[2026-08-23 12:43:35] local.INFO: Processing buffer {"connection_id":160739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d76a790012d087cc007269b88002a00da26..."} 
[2026-08-23 12:43:35] local.INFO: Packet analysis {"connection_id":160739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d76"} 
[2026-08-23 12:43:35] local.INFO: Extracted packet for processing {"connection_id":160739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d76"} 
[2026-08-23 12:43:35] local.INFO: GPS Element Parsed {"raw_longitude":755530944,"raw_latitude":119970696,"longitude_deg":75.5530944,"latitude_deg":11.9970696,"altitude":42,"angle":218,"satellites":38,"speed":21,"hex_longitude":"2d087cc0","hex_latitude":"07269b88","is_valid_coordinates":true} 
[2026-08-23 12:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592100864001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15380862002528256,"note":"Value kept but may cause issues"} 
[2026-08-23 12:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":612419211290902528,"note":"Value kept but may cause issues"} 
[2026-08-23 12:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787469146000,"timestamp_ms":1787469146000,"timestamp_seconds":1787469146,"priority":1,"record_length":96,"hex_timestamp":"000001a02d76a790"} 
[2026-08-23 12:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-23 12:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592100864001,"66":13102,"237":206,"83":44288,"24":21,"16":15380862002528256,"45":612419211290902528},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-23 12:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592100864001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:43:35] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 12:43:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15380862002528256,"km_value":15380862002528.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":612419211290902528,"description":"Unknown IO ID 45"} 
[2026-08-23 12:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592100864001,"power":13102,"unknown_237":206,"unknown_83":44288,"ignition":21,"odometer":null,"unknown_45":612419211290902528}} 
[2026-08-23 12:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":160739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:43:35] local.INFO: GPS data processed {"connection_id":160739,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:43:35] local.INFO: Acknowledgment sent {"connection_id":160739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:43:46] local.INFO: TCP Data received {"connection_id":161677,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:43:46] local.INFO: Processing buffer {"connection_id":161677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:43:46] local.INFO: IMEI packet received {"connection_id":161677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":161677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:43:51] local.INFO: TCP Data received {"connection_id":161677,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:43:51] local.INFO: Processing buffer {"connection_id":161677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:43:51] local.INFO: IMEI packet received {"connection_id":161677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":161677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:43:52] local.INFO: TCP Data received {"connection_id":161677,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:43:52] local.INFO: Processing buffer {"connection_id":161677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:43:52] local.INFO: Packet analysis {"connection_id":161677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:43:52] local.INFO: Extracted packet for processing {"connection_id":161677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:43:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591975680001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787468956000,"timestamp_ms":1787468956000,"timestamp_seconds":1787468956,"priority":1,"record_length":96,"hex_timestamp":"000001a02d73c160"} 
[2026-08-23 12:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 12:43:52] 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-08-23 12:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:43:52] 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-08-23 12:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591975680001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591975680001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:43:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:43:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591975680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":161677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:43:52] local.INFO: GPS data processed {"connection_id":161677,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:43:52] local.INFO: Acknowledgment sent {"connection_id":161677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:44:06] local.INFO: TCP Data received {"connection_id":160739,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d76bf00012d087400072692d8002700e926..."} 
[2026-08-23 12:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d76bf00012d087400072692d8002700e926..."} 
[2026-08-23 12:44:06] local.INFO: Processing buffer {"connection_id":160739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d76bf00012d087400072692d8002700e926..."} 
[2026-08-23 12:44:06] local.INFO: Packet analysis {"connection_id":160739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d76"} 
[2026-08-23 12:44:06] local.INFO: Extracted packet for processing {"connection_id":160739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d76"} 
[2026-08-23 12:44:06] local.INFO: GPS Element Parsed {"raw_longitude":755528704,"raw_latitude":119968472,"longitude_deg":75.5528704,"latitude_deg":11.9968472,"altitude":39,"angle":233,"satellites":38,"speed":21,"hex_longitude":"2d087400","hex_latitude":"072692d8","is_valid_coordinates":true} 
[2026-08-23 12:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592101376001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15381012326383616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":611574786360576000,"note":"Value kept but may cause issues"} 
[2026-08-23 12:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787469152000,"timestamp_ms":1787469152000,"timestamp_seconds":1787469152,"priority":1,"record_length":96,"hex_timestamp":"000001a02d76bf00"} 
[2026-08-23 12:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:44:06] 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-08-23 12:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-23 12:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592101376001,"66":14483,"237":206,"83":44288,"24":21,"16":15381012326383616,"45":611574786360576000},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-23 12:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592101376001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:44:06] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-23 12:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15381012326383616,"km_value":15381012326383.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":611574786360576000,"description":"Unknown IO ID 45"} 
[2026-08-23 12:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592101376001,"power":14483,"unknown_237":206,"unknown_83":44288,"ignition":21,"odometer":null,"unknown_45":611574786360576000}} 
[2026-08-23 12:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":160739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:44:06] local.INFO: GPS data processed {"connection_id":160739,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:44:06] local.INFO: Acknowledgment sent {"connection_id":160739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:44:24] local.INFO: TCP Data received {"connection_id":161677,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:44:24] local.INFO: Processing buffer {"connection_id":161677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:44:24] local.INFO: Packet analysis {"connection_id":161677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:44:24] local.INFO: Extracted packet for processing {"connection_id":161677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:44:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591975680001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787468956000,"timestamp_ms":1787468956000,"timestamp_seconds":1787468956,"priority":1,"record_length":96,"hex_timestamp":"000001a02d73c160"} 
[2026-08-23 12:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 12:44:24] 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-08-23 12:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:44:24] 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-08-23 12:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591975680001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591975680001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:44:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:44:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591975680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":161677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:44:24] local.INFO: GPS data processed {"connection_id":161677,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:44:24] local.INFO: Acknowledgment sent {"connection_id":161677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:44:29] local.INFO: TCP Data received {"connection_id":161678,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:44:29] local.INFO: Processing buffer {"connection_id":161678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:44:29] local.INFO: IMEI packet received {"connection_id":161678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":161678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:44:35] local.INFO: TCP Data received {"connection_id":161678,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:44:35] local.INFO: Processing buffer {"connection_id":161678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:44:35] local.INFO: IMEI packet received {"connection_id":161678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":161678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:44:35] local.INFO: TCP Data received {"connection_id":161678,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d77a190012d08410007262e78001c00fe1e..."} 
[2026-08-23 12:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d77a190012d08410007262e78001c00fe1e..."} 
[2026-08-23 12:44:35] local.INFO: Processing buffer {"connection_id":161678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d77a190012d08410007262e78001c00fe1e..."} 
[2026-08-23 12:44:35] local.INFO: Packet analysis {"connection_id":161678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d77"} 
[2026-08-23 12:44:35] local.INFO: Extracted packet for processing {"connection_id":161678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d77"} 
[2026-08-23 12:44:35] local.INFO: GPS Element Parsed {"raw_longitude":755515648,"raw_latitude":119942776,"longitude_deg":75.5515648,"latitude_deg":11.9942776,"altitude":28,"angle":254,"satellites":30,"speed":16,"hex_longitude":"2d084100","hex_latitude":"07262e78","is_valid_coordinates":true} 
[2026-08-23 12:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592117504001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15382455435395072,"note":"Value kept but may cause issues"} 
[2026-08-23 12:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":595108500215898112,"note":"Value kept but may cause issues"} 
[2026-08-23 12:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787469210000,"timestamp_ms":1787469210000,"timestamp_seconds":1787469210,"priority":1,"record_length":96,"hex_timestamp":"000001a02d77a190"} 
[2026-08-23 12:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-23 12:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592117504001,"66":13863,"25":206,"83":44288,"24":16,"16":15382455435395072,"45":595108500215898112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-23 12:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592117504001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:44:35] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-23 12:44:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15382455435395072,"km_value":15382455435395.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":595108500215898112,"description":"Unknown IO ID 45"} 
[2026-08-23 12:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592117504001,"power":13863,"unknown_25":206,"unknown_83":44288,"ignition":16,"odometer":null,"unknown_45":595108500215898112}} 
[2026-08-23 12:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":161678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:44:35] local.INFO: GPS data processed {"connection_id":161678,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:44:35] local.INFO: Acknowledgment sent {"connection_id":161678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:44:46] local.INFO: TCP Data received {"connection_id":160740,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:44:46] local.INFO: Processing buffer {"connection_id":160740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:44:46] local.INFO: IMEI packet received {"connection_id":160740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":160740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:44:51] local.INFO: TCP Data received {"connection_id":160740,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:44:51] local.INFO: Processing buffer {"connection_id":160740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:44:51] local.INFO: IMEI packet received {"connection_id":160740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":160740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:44:52] local.INFO: TCP Data received {"connection_id":160740,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:44:52] local.INFO: Processing buffer {"connection_id":160740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d73c160012d34c50006aa4098000b008521..."} 
[2026-08-23 12:44:52] local.INFO: Packet analysis {"connection_id":160740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:44:52] local.INFO: Extracted packet for processing {"connection_id":160740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d73"} 
[2026-08-23 12:44:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457591975680001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787468956000,"timestamp_ms":1787468956000,"timestamp_seconds":1787468956,"priority":1,"record_length":96,"hex_timestamp":"000001a02d73c160"} 
[2026-08-23 12:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 12:44:52] 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-08-23 12:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457591975680001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457591975680001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:44:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:44:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457591975680001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":160740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:44:52] local.INFO: GPS data processed {"connection_id":160740,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:44:52] local.INFO: Acknowledgment sent {"connection_id":160740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:45:07] local.INFO: TCP Data received {"connection_id":161678,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d77ad48012d083c0007262e00001e011421..."} 
[2026-08-23 12:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d77ad48012d083c0007262e00001e011421..."} 
[2026-08-23 12:45:07] local.INFO: Processing buffer {"connection_id":161678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d77ad48012d083c0007262e00001e011421..."} 
[2026-08-23 12:45:07] local.INFO: Packet analysis {"connection_id":161678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d77"} 
[2026-08-23 12:45:07] local.INFO: Extracted packet for processing {"connection_id":161678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d77"} 
[2026-08-23 12:45:07] local.INFO: GPS Element Parsed {"raw_longitude":755514368,"raw_latitude":119942656,"longitude_deg":75.5514368,"latitude_deg":11.9942656,"altitude":30,"angle":276,"satellites":33,"speed":18,"hex_longitude":"2d083c00","hex_latitude":"07262e00","is_valid_coordinates":true} 
[2026-08-23 12:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592117760001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15382515564937216,"note":"Value kept but may cause issues"} 
[2026-08-23 12:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":594756656494966784,"note":"Value kept but may cause issues"} 
[2026-08-23 12:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787469213000,"timestamp_ms":1787469213000,"timestamp_seconds":1787469213,"priority":1,"record_length":96,"hex_timestamp":"000001a02d77ad48"} 
[2026-08-23 12:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:45:07] 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-08-23 12:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-23 12:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592117760001,"66":13678,"25":206,"83":44288,"24":18,"16":15382515564937216,"45":594756656494966784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-08-23 12:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592117760001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:45:07] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-23 12:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15382515564937216,"km_value":15382515564937.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":594756656494966784,"description":"Unknown IO ID 45"} 
[2026-08-23 12:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592117760001,"power":13678,"unknown_25":206,"unknown_83":44288,"ignition":18,"odometer":null,"unknown_45":594756656494966784}} 
[2026-08-23 12:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":161678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:45:07] local.INFO: GPS data processed {"connection_id":161678,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:45:07] local.INFO: Acknowledgment sent {"connection_id":161678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:45:24] local.INFO: TCP Data received {"connection_id":160740,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:45:24] local.INFO: Processing buffer {"connection_id":160740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:45:24] local.INFO: Packet analysis {"connection_id":160740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d78"} 
[2026-08-23 12:45:24] local.INFO: Extracted packet for processing {"connection_id":160740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d78"} 
[2026-08-23 12:45:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592052736001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787469257000,"timestamp_ms":1787469257000,"timestamp_seconds":1787469257,"priority":1,"record_length":96,"hex_timestamp":"000001a02d785928"} 
[2026-08-23 12:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 12:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592052736001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592052736001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:45:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:45:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592052736001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":160740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:45:24] local.INFO: GPS data processed {"connection_id":160740,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:45:24] local.INFO: Acknowledgment sent {"connection_id":160740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:45:29] local.INFO: TCP Data received {"connection_id":160492,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:45:29] local.INFO: Processing buffer {"connection_id":160492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:45:29] local.INFO: IMEI packet received {"connection_id":160492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":160492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:45:30] local.INFO: TCP Data received {"connection_id":160492,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:45:30] local.INFO: Processing buffer {"connection_id":160492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:45:30] local.INFO: IMEI packet received {"connection_id":160492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":160492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:45:32] local.INFO: TCP Data received {"connection_id":160492,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:45:32] local.INFO: Processing buffer {"connection_id":160492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:45:32] local.INFO: IMEI packet received {"connection_id":160492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":160492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:45:34] local.INFO: TCP Data received {"connection_id":160492,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:45:34] local.INFO: Processing buffer {"connection_id":160492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:45:34] local.INFO: IMEI packet received {"connection_id":160492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":160492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:45:46] local.INFO: TCP Data received {"connection_id":160493,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:45:47] local.INFO: Processing buffer {"connection_id":160493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:45:47] local.INFO: IMEI packet received {"connection_id":160493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":160493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:45:51] local.INFO: TCP Data received {"connection_id":160493,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:45:51] local.INFO: Processing buffer {"connection_id":160493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:45:51] local.INFO: IMEI packet received {"connection_id":160493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":160493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:45:53] local.INFO: TCP Data received {"connection_id":160493,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:45:53] local.INFO: Processing buffer {"connection_id":160493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:45:53] local.INFO: Packet analysis {"connection_id":160493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d78"} 
[2026-08-23 12:45:53] local.INFO: Extracted packet for processing {"connection_id":160493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d78"} 
[2026-08-23 12:45:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:45: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-08-23 12:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592052736001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787469257000,"timestamp_ms":1787469257000,"timestamp_seconds":1787469257,"priority":1,"record_length":96,"hex_timestamp":"000001a02d785928"} 
[2026-08-23 12:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 12:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:45: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-08-23 12:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592052736001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592052736001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:45:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:45:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592052736001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":160493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:45:53] local.INFO: GPS data processed {"connection_id":160493,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:45:53] local.INFO: Acknowledgment sent {"connection_id":160493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:46:24] local.INFO: TCP Data received {"connection_id":160493,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:46:24] local.INFO: Processing buffer {"connection_id":160493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:46:24] local.INFO: Packet analysis {"connection_id":160493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d78"} 
[2026-08-23 12:46:24] local.INFO: Extracted packet for processing {"connection_id":160493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d78"} 
[2026-08-23 12:46:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592052736001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787469257000,"timestamp_ms":1787469257000,"timestamp_seconds":1787469257,"priority":1,"record_length":96,"hex_timestamp":"000001a02d785928"} 
[2026-08-23 12:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 12:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592052736001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592052736001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:46:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:46:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592052736001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":160493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:46:24] local.INFO: GPS data processed {"connection_id":160493,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:46:24] local.INFO: Acknowledgment sent {"connection_id":160493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:46:46] local.INFO: TCP Data received {"connection_id":161679,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:46:46] local.INFO: Processing buffer {"connection_id":161679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:46:46] local.INFO: IMEI packet received {"connection_id":161679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":161679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:46:51] local.INFO: TCP Data received {"connection_id":161679,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:46:51] local.INFO: Processing buffer {"connection_id":161679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:46:51] local.INFO: IMEI packet received {"connection_id":161679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":161679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:46:52] local.INFO: TCP Data received {"connection_id":161679,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:46:52] local.INFO: Processing buffer {"connection_id":161679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:46:52] local.INFO: Packet analysis {"connection_id":161679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d78"} 
[2026-08-23 12:46:52] local.INFO: Extracted packet for processing {"connection_id":161679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d78"} 
[2026-08-23 12:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592052736001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787469257000,"timestamp_ms":1787469257000,"timestamp_seconds":1787469257,"priority":1,"record_length":96,"hex_timestamp":"000001a02d785928"} 
[2026-08-23 12:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 12:46:52] 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-08-23 12:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:46:52] 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-08-23 12:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592052736001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592052736001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:46:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592052736001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":161679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:46:52] local.INFO: GPS data processed {"connection_id":161679,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:46:52] local.INFO: Acknowledgment sent {"connection_id":161679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:47:23] local.INFO: TCP Data received {"connection_id":161679,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:47:23] local.INFO: Processing buffer {"connection_id":161679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:47:23] local.INFO: Packet analysis {"connection_id":161679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d78"} 
[2026-08-23 12:47:23] local.INFO: Extracted packet for processing {"connection_id":161679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d78"} 
[2026-08-23 12:47:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592052736001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787469257000,"timestamp_ms":1787469257000,"timestamp_seconds":1787469257,"priority":1,"record_length":96,"hex_timestamp":"000001a02d785928"} 
[2026-08-23 12:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 12:47:23] 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-08-23 12:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:47:23] 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-08-23 12:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592052736001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592052736001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:47:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:47:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592052736001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":161679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:47:23] local.INFO: GPS data processed {"connection_id":161679,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:47:23] local.INFO: Acknowledgment sent {"connection_id":161679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:47:46] local.INFO: TCP Data received {"connection_id":160742,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:47:46] local.INFO: Processing buffer {"connection_id":160742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:47:46] local.INFO: IMEI packet received {"connection_id":160742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":160742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:47:51] local.INFO: TCP Data received {"connection_id":160742,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:47:51] local.INFO: Processing buffer {"connection_id":160742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:47:51] local.INFO: IMEI packet received {"connection_id":160742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":160742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:47:52] local.INFO: TCP Data received {"connection_id":160742,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:47:52] local.INFO: Processing buffer {"connection_id":160742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:47:52] local.INFO: Packet analysis {"connection_id":160742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d78"} 
[2026-08-23 12:47:52] local.INFO: Extracted packet for processing {"connection_id":160742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d78"} 
[2026-08-23 12:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:47: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-08-23 12:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592052736001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787469257000,"timestamp_ms":1787469257000,"timestamp_seconds":1787469257,"priority":1,"record_length":96,"hex_timestamp":"000001a02d785928"} 
[2026-08-23 12:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 12:47:52] 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-08-23 12:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:47:52] 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-08-23 12:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592052736001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592052736001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:47:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592052736001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":160742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:47:52] local.INFO: GPS data processed {"connection_id":160742,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:47:52] local.INFO: Acknowledgment sent {"connection_id":160742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:48:24] local.INFO: TCP Data received {"connection_id":160742,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:48:24] local.INFO: Processing buffer {"connection_id":160742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:48:24] local.INFO: Packet analysis {"connection_id":160742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d78"} 
[2026-08-23 12:48:24] local.INFO: Extracted packet for processing {"connection_id":160742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d78"} 
[2026-08-23 12:48:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592052736001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787469257000,"timestamp_ms":1787469257000,"timestamp_seconds":1787469257,"priority":1,"record_length":96,"hex_timestamp":"000001a02d785928"} 
[2026-08-23 12:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 12:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:48:24] 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-08-23 12:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592052736001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592052736001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:48:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:48:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592052736001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":160742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:48:24] local.INFO: GPS data processed {"connection_id":160742,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:48:24] local.INFO: Acknowledgment sent {"connection_id":160742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:48:46] local.INFO: TCP Data received {"connection_id":163083,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:48:46] local.INFO: Processing buffer {"connection_id":163083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:48:46] local.INFO: IMEI packet received {"connection_id":163083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":163083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:48:51] local.INFO: TCP Data received {"connection_id":163083,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:48:51] local.INFO: Processing buffer {"connection_id":163083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:48:51] local.INFO: IMEI packet received {"connection_id":163083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":163083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:48:53] local.INFO: TCP Data received {"connection_id":163083,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:48:53] local.INFO: Processing buffer {"connection_id":163083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:48:53] local.INFO: Packet analysis {"connection_id":163083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d78"} 
[2026-08-23 12:48:53] local.INFO: Extracted packet for processing {"connection_id":163083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d78"} 
[2026-08-23 12:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592052736001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787469257000,"timestamp_ms":1787469257000,"timestamp_seconds":1787469257,"priority":1,"record_length":96,"hex_timestamp":"000001a02d785928"} 
[2026-08-23 12:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 12:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:48:53] 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-08-23 12:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592052736001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592052736001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:48:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592052736001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":163083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:48:53] local.INFO: GPS data processed {"connection_id":163083,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:48:53] local.INFO: Acknowledgment sent {"connection_id":163083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:49:24] local.INFO: TCP Data received {"connection_id":163083,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:49:24] local.INFO: Processing buffer {"connection_id":163083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d785928012d34c50006aa4098000b008523..."} 
[2026-08-23 12:49:24] local.INFO: Packet analysis {"connection_id":163083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d78"} 
[2026-08-23 12:49:24] local.INFO: Extracted packet for processing {"connection_id":163083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d78"} 
[2026-08-23 12:49:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:49: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-08-23 12:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592052736001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787469257000,"timestamp_ms":1787469257000,"timestamp_seconds":1787469257,"priority":1,"record_length":96,"hex_timestamp":"000001a02d785928"} 
[2026-08-23 12:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 12:49:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:49: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-08-23 12:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:49:24] 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-08-23 12:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592052736001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592052736001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:49:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:49:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592052736001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":163083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:49:24] local.INFO: GPS data processed {"connection_id":163083,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:49:24] local.INFO: Acknowledgment sent {"connection_id":163083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:49:51] local.INFO: TCP Data received {"connection_id":160745,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:49:51] local.INFO: Processing buffer {"connection_id":160745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:49:51] local.INFO: IMEI packet received {"connection_id":160745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":160745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:49:56] local.INFO: TCP Data received {"connection_id":160745,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:49:56] local.INFO: Processing buffer {"connection_id":160745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:49:56] local.INFO: IMEI packet received {"connection_id":160745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":160745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:49:57] local.INFO: TCP Data received {"connection_id":160745,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:49:57] local.INFO: Processing buffer {"connection_id":160745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:49:57] local.INFO: Packet analysis {"connection_id":160745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:49:57] local.INFO: Extracted packet for processing {"connection_id":160745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:49:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592129792001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787469558000,"timestamp_ms":1787469558000,"timestamp_seconds":1787469558,"priority":1,"record_length":96,"hex_timestamp":"000001a02d7cf0f0"} 
[2026-08-23 12:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 12:49: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-08-23 12:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:49:57] 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-08-23 12:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592129792001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592129792001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:49:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:49:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592129792001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":160745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:49:57] local.INFO: GPS data processed {"connection_id":160745,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:49:57] local.INFO: Acknowledgment sent {"connection_id":160745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:49:58] local.INFO: TCP Data received {"connection_id":160745,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:49:58] local.INFO: Processing buffer {"connection_id":160745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:49:58] local.INFO: Packet analysis {"connection_id":160745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:49:58] local.INFO: Extracted packet for processing {"connection_id":160745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:49:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592129792001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787469558000,"timestamp_ms":1787469558000,"timestamp_seconds":1787469558,"priority":1,"record_length":96,"hex_timestamp":"000001a02d7cf0f0"} 
[2026-08-23 12:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 12:49: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-08-23 12:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:49: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-08-23 12:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592129792001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592129792001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:49:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:49:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592129792001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":160745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:49:58] local.INFO: GPS data processed {"connection_id":160745,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:49:58] local.INFO: Acknowledgment sent {"connection_id":160745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:50:29] local.INFO: TCP Data received {"connection_id":160745,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:50:29] local.INFO: Processing buffer {"connection_id":160745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:50:29] local.INFO: Packet analysis {"connection_id":160745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:50:29] local.INFO: Extracted packet for processing {"connection_id":160745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:50:29] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592129792001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787469558000,"timestamp_ms":1787469558000,"timestamp_seconds":1787469558,"priority":1,"record_length":96,"hex_timestamp":"000001a02d7cf0f0"} 
[2026-08-23 12:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 12:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:50: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-08-23 12:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592129792001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592129792001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:50:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:50:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592129792001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":160745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:50:29] local.INFO: GPS data processed {"connection_id":160745,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:50:29] local.INFO: Acknowledgment sent {"connection_id":160745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:50:34] local.INFO: TCP Data received {"connection_id":160494,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:50:34] local.INFO: Processing buffer {"connection_id":160494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:50:34] local.INFO: IMEI packet received {"connection_id":160494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":160494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:50:35] local.INFO: TCP Data received {"connection_id":160494,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d7cd1b0012d08a34007248f70001a008d26..."} 
[2026-08-23 12:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d7cd1b0012d08a34007248f70001a008d26..."} 
[2026-08-23 12:50:35] local.INFO: Processing buffer {"connection_id":160494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d7cd1b0012d08a34007248f70001a008d26..."} 
[2026-08-23 12:50:35] local.INFO: Packet analysis {"connection_id":160494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:50:35] local.INFO: Extracted packet for processing {"connection_id":160494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:50:35] local.INFO: GPS Element Parsed {"raw_longitude":755540800,"raw_latitude":119836528,"longitude_deg":75.55408,"latitude_deg":11.9836528,"altitude":26,"angle":141,"satellites":38,"speed":5,"hex_longitude":"2d08a340","hex_latitude":"07248f70","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592204032001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15390263685939200,"note":"Value kept but may cause issues"} 
[2026-08-23 12:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":622130097952933888,"note":"Value kept but may cause issues"} 
[2026-08-23 12:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787469550000,"timestamp_ms":1787469550000,"timestamp_seconds":1787469550,"priority":1,"record_length":96,"hex_timestamp":"000001a02d7cd1b0"} 
[2026-08-23 12:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12: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":60,"data_length":795,"current_offset":136} 
[2026-08-23 12:50:35] 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-08-23 12: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-08-23 12:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592204032001,"66":14396,"128":206,"83":44288,"24":5,"16":15390263685939200,"45":622130097952933888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-08-23 12:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592204032001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:50:35] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-23 12:50:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15390263685939200,"km_value":15390263685939.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":622130097952933888,"description":"Unknown IO ID 45"} 
[2026-08-23 12:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592204032001,"power":14396,"unknown_128":206,"unknown_83":44288,"ignition":5,"odometer":null,"unknown_45":622130097952933888}} 
[2026-08-23 12:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":160494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:50:35] local.INFO: GPS data processed {"connection_id":160494,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:50:35] local.INFO: Acknowledgment sent {"connection_id":160494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:50:46] local.INFO: TCP Data received {"connection_id":161680,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:50:46] local.INFO: Processing buffer {"connection_id":161680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:50:46] local.INFO: IMEI packet received {"connection_id":161680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":161680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:50:51] local.INFO: TCP Data received {"connection_id":161680,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:50:51] local.INFO: Processing buffer {"connection_id":161680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:50:51] local.INFO: IMEI packet received {"connection_id":161680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":161680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:50:52] local.INFO: TCP Data received {"connection_id":161680,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:50:52] local.INFO: Processing buffer {"connection_id":161680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:50:52] local.INFO: Packet analysis {"connection_id":161680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:50:52] local.INFO: Extracted packet for processing {"connection_id":161680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:50:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592129792001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787469558000,"timestamp_ms":1787469558000,"timestamp_seconds":1787469558,"priority":1,"record_length":96,"hex_timestamp":"000001a02d7cf0f0"} 
[2026-08-23 12:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 12:50:52] 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-08-23 12:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:50:52] 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-08-23 12:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592129792001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592129792001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:50:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592129792001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":161680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:50:52] local.INFO: GPS data processed {"connection_id":161680,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:50:52] local.INFO: Acknowledgment sent {"connection_id":161680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:51:06] local.INFO: TCP Data received {"connection_id":160494,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d7cd980012d08a40007248e88001a007c26..."} 
[2026-08-23 12:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d7cd980012d08a40007248e88001a007c26..."} 
[2026-08-23 12:51:06] local.INFO: Processing buffer {"connection_id":160494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d7cd980012d08a40007248e88001a007c26..."} 
[2026-08-23 12:51:06] local.INFO: Packet analysis {"connection_id":160494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:51:06] local.INFO: Extracted packet for processing {"connection_id":160494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:51:06] local.INFO: GPS Element Parsed {"raw_longitude":755540992,"raw_latitude":119836296,"longitude_deg":75.5540992,"latitude_deg":11.9836296,"altitude":26,"angle":124,"satellites":38,"speed":7,"hex_longitude":"2d08a400","hex_latitude":"07248e88","is_valid_coordinates":true} 
[2026-08-23 12:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592204800001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15390280865808384,"note":"Value kept but may cause issues"} 
[2026-08-23 12:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":622411572929589248,"note":"Value kept but may cause issues"} 
[2026-08-23 12:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787469552000,"timestamp_ms":1787469552000,"timestamp_seconds":1787469552,"priority":1,"record_length":96,"hex_timestamp":"000001a02d7cd980"} 
[2026-08-23 12:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-23 12:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592204800001,"66":14374,"128":206,"83":44288,"24":7,"16":15390280865808384,"45":622411572929589248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-08-23 12:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592204800001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:51:06] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-23 12:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44288,"description":"Unknown IO ID 83"} 
[2026-08-23 12:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15390280865808384,"km_value":15390280865808.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":622411572929589248,"description":"Unknown IO ID 45"} 
[2026-08-23 12:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592204800001,"power":14374,"unknown_128":206,"unknown_83":44288,"ignition":7,"odometer":null,"unknown_45":622411572929589248}} 
[2026-08-23 12:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":160494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:51:06] local.INFO: GPS data processed {"connection_id":160494,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:51:06] local.INFO: Acknowledgment sent {"connection_id":160494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:51:24] local.INFO: TCP Data received {"connection_id":161680,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:51:24] local.INFO: Processing buffer {"connection_id":161680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:51:24] local.INFO: Packet analysis {"connection_id":161680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:51:24] local.INFO: Extracted packet for processing {"connection_id":161680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:51:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592129792001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787469558000,"timestamp_ms":1787469558000,"timestamp_seconds":1787469558,"priority":1,"record_length":96,"hex_timestamp":"000001a02d7cf0f0"} 
[2026-08-23 12:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 12:51:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:51:24] 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-08-23 12:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592129792001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592129792001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:51:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:51:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592129792001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":161680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:51:24] local.INFO: GPS data processed {"connection_id":161680,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:51:24] local.INFO: Acknowledgment sent {"connection_id":161680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:51:28] local.INFO: TCP Data received {"connection_id":160495,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:51:28] local.INFO: Processing buffer {"connection_id":160495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:51:28] local.INFO: IMEI packet received {"connection_id":160495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":160495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:51:29] local.INFO: TCP Data received {"connection_id":160495,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:51:29] local.INFO: Processing buffer {"connection_id":160495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:51:29] local.INFO: IMEI packet received {"connection_id":160495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":160495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:51:42] local.INFO: TCP Data received {"connection_id":160495,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:51:42] local.INFO: Processing buffer {"connection_id":160495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:51:42] local.INFO: IMEI packet received {"connection_id":160495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":160495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:51:44] local.INFO: TCP Data received {"connection_id":160495,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:51:44] local.INFO: Processing buffer {"connection_id":160495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:51:44] local.INFO: IMEI packet received {"connection_id":160495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":160495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:51:46] local.INFO: TCP Data received {"connection_id":160496,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:51:46] local.INFO: Processing buffer {"connection_id":160496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:51:46] local.INFO: IMEI packet received {"connection_id":160496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":160496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:51:51] local.INFO: TCP Data received {"connection_id":160496,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:51:51] local.INFO: Processing buffer {"connection_id":160496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:51:51] local.INFO: IMEI packet received {"connection_id":160496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":160496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:51:52] local.INFO: TCP Data received {"connection_id":160496,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:51:52] local.INFO: Processing buffer {"connection_id":160496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:51:52] local.INFO: Packet analysis {"connection_id":160496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:51:52] local.INFO: Extracted packet for processing {"connection_id":160496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:51: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-08-23 12:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592129792001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787469558000,"timestamp_ms":1787469558000,"timestamp_seconds":1787469558,"priority":1,"record_length":96,"hex_timestamp":"000001a02d7cf0f0"} 
[2026-08-23 12:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 12:51:52] 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-08-23 12:51: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-08-23 12:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592129792001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592129792001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:51:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592129792001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":160496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:51:52] local.INFO: GPS data processed {"connection_id":160496,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:51:52] local.INFO: Acknowledgment sent {"connection_id":160496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:52:23] local.INFO: TCP Data received {"connection_id":160496,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:52:23] local.INFO: Processing buffer {"connection_id":160496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:52:23] local.INFO: Packet analysis {"connection_id":160496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:52:23] local.INFO: Extracted packet for processing {"connection_id":160496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:52:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592129792001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787469558000,"timestamp_ms":1787469558000,"timestamp_seconds":1787469558,"priority":1,"record_length":96,"hex_timestamp":"000001a02d7cf0f0"} 
[2026-08-23 12:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 12:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592129792001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592129792001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:52:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:52:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592129792001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":160496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:52:23] local.INFO: GPS data processed {"connection_id":160496,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:52:23] local.INFO: Acknowledgment sent {"connection_id":160496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:52:46] local.INFO: TCP Data received {"connection_id":163085,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:52:46] local.INFO: Processing buffer {"connection_id":163085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:52:46] local.INFO: IMEI packet received {"connection_id":163085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":163085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:52:51] local.INFO: TCP Data received {"connection_id":163085,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:52:51] local.INFO: Processing buffer {"connection_id":163085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:52:51] local.INFO: IMEI packet received {"connection_id":163085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":163085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:52:53] local.INFO: TCP Data received {"connection_id":163085,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:52:53] local.INFO: Processing buffer {"connection_id":163085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:52:53] local.INFO: Packet analysis {"connection_id":163085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:52:53] local.INFO: Extracted packet for processing {"connection_id":163085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:52:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592129792001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787469558000,"timestamp_ms":1787469558000,"timestamp_seconds":1787469558,"priority":1,"record_length":96,"hex_timestamp":"000001a02d7cf0f0"} 
[2026-08-23 12:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 12:52:53] 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-08-23 12:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:52:53] 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-08-23 12:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592129792001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592129792001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:52:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:52:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592129792001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":163085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:52:53] local.INFO: GPS data processed {"connection_id":163085,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:52:53] local.INFO: Acknowledgment sent {"connection_id":163085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:53:24] local.INFO: TCP Data received {"connection_id":163085,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:53:24] local.INFO: Processing buffer {"connection_id":163085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:53:24] local.INFO: Packet analysis {"connection_id":163085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:53:24] local.INFO: Extracted packet for processing {"connection_id":163085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592129792001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787469558000,"timestamp_ms":1787469558000,"timestamp_seconds":1787469558,"priority":1,"record_length":96,"hex_timestamp":"000001a02d7cf0f0"} 
[2026-08-23 12:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 12:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:53:24] 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-08-23 12:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592129792001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592129792001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:53:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592129792001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":163085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:53:24] local.INFO: GPS data processed {"connection_id":163085,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:53:24] local.INFO: Acknowledgment sent {"connection_id":163085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:53:51] local.INFO: TCP Data received {"connection_id":163086,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:53:51] local.INFO: Processing buffer {"connection_id":163086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:53:51] local.INFO: IMEI packet received {"connection_id":163086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":163086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:53:56] local.INFO: TCP Data received {"connection_id":163086,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:53:56] local.INFO: Processing buffer {"connection_id":163086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:53:56] local.INFO: IMEI packet received {"connection_id":163086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":163086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:53:57] local.INFO: TCP Data received {"connection_id":163086,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:53:57] local.INFO: Processing buffer {"connection_id":163086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:53:57] local.INFO: Packet analysis {"connection_id":163086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:53:57] local.INFO: Extracted packet for processing {"connection_id":163086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:53:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592129792001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787469558000,"timestamp_ms":1787469558000,"timestamp_seconds":1787469558,"priority":1,"record_length":96,"hex_timestamp":"000001a02d7cf0f0"} 
[2026-08-23 12:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 12:53: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-08-23 12:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:53:57] 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-08-23 12:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592129792001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592129792001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:53:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:53:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592129792001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":163086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:53:57] local.INFO: GPS data processed {"connection_id":163086,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:53:57] local.INFO: Acknowledgment sent {"connection_id":163086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:54:02] local.INFO: TCP Data received {"connection_id":163086,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:54:02] local.INFO: Processing buffer {"connection_id":163086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:54:02] local.INFO: Packet analysis {"connection_id":163086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:54:02] local.INFO: Extracted packet for processing {"connection_id":163086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:54:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592129792001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787469558000,"timestamp_ms":1787469558000,"timestamp_seconds":1787469558,"priority":1,"record_length":96,"hex_timestamp":"000001a02d7cf0f0"} 
[2026-08-23 12:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 12:54:02] 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-08-23 12: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-08-23 12:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:54:02] 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-08-23 12:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592129792001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592129792001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:54:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:54:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592129792001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":163086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:54:02] local.INFO: GPS data processed {"connection_id":163086,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:54:02] local.INFO: Acknowledgment sent {"connection_id":163086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:54:46] local.INFO: TCP Data received {"connection_id":160748,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:54:46] local.INFO: Processing buffer {"connection_id":160748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:54:46] local.INFO: IMEI packet received {"connection_id":160748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":160748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:54:51] local.INFO: TCP Data received {"connection_id":160748,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:54:51] local.INFO: Processing buffer {"connection_id":160748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:54:51] local.INFO: IMEI packet received {"connection_id":160748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":160748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:54:53] local.INFO: TCP Data received {"connection_id":160748,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:54:53] local.INFO: Processing buffer {"connection_id":160748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:54:53] local.INFO: Packet analysis {"connection_id":160748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:54:53] local.INFO: Extracted packet for processing {"connection_id":160748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:54:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592129792001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787469558000,"timestamp_ms":1787469558000,"timestamp_seconds":1787469558,"priority":1,"record_length":96,"hex_timestamp":"000001a02d7cf0f0"} 
[2026-08-23 12:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 12:54:53] 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-08-23 12: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-08-23 12:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:54:53] 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-08-23 12:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592129792001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592129792001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:54:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:54:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592129792001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":160748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:54:53] local.INFO: GPS data processed {"connection_id":160748,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:54:53] local.INFO: Acknowledgment sent {"connection_id":160748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:54:57] local.INFO: TCP Data received {"connection_id":160748,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:54:57] local.INFO: Processing buffer {"connection_id":160748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d7cf0f0012d34c50006aa4098000b008525..."} 
[2026-08-23 12:54:57] local.INFO: Packet analysis {"connection_id":160748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:54:57] local.INFO: Extracted packet for processing {"connection_id":160748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d7c"} 
[2026-08-23 12:54:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592129792001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787469558000,"timestamp_ms":1787469558000,"timestamp_seconds":1787469558,"priority":1,"record_length":96,"hex_timestamp":"000001a02d7cf0f0"} 
[2026-08-23 12:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 12:54: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-08-23 12:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:54:57] 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-08-23 12:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592129792001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592129792001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:54:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:54:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592129792001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":160748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:54:57] local.INFO: GPS data processed {"connection_id":160748,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:54:57] local.INFO: Acknowledgment sent {"connection_id":160748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:55:29] local.INFO: TCP Data received {"connection_id":160748,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:55:29] local.INFO: Processing buffer {"connection_id":160748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:55:29] local.INFO: Packet analysis {"connection_id":160748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d81"} 
[2026-08-23 12:55:29] local.INFO: Extracted packet for processing {"connection_id":160748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d81"} 
[2026-08-23 12:55:29] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592206848001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787469859000,"timestamp_ms":1787469859000,"timestamp_seconds":1787469859,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8188b8"} 
[2026-08-23 12:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 12:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:55:29] 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-08-23 12:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592206848001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592206848001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:55:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:55:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592206848001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":160748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:55:29] local.INFO: GPS data processed {"connection_id":160748,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:55:29] local.INFO: Acknowledgment sent {"connection_id":160748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:55:46] local.INFO: TCP Data received {"connection_id":163087,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:55:46] local.INFO: Processing buffer {"connection_id":163087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:55:46] local.INFO: IMEI packet received {"connection_id":163087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":163087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:55:51] local.INFO: TCP Data received {"connection_id":163087,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:55:51] local.INFO: Processing buffer {"connection_id":163087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:55:51] local.INFO: IMEI packet received {"connection_id":163087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":163087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:55:52] local.INFO: TCP Data received {"connection_id":163087,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:55:52] local.INFO: Processing buffer {"connection_id":163087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:55:52] local.INFO: Packet analysis {"connection_id":163087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d81"} 
[2026-08-23 12:55:52] local.INFO: Extracted packet for processing {"connection_id":163087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d81"} 
[2026-08-23 12:55:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:55: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-08-23 12:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592206848001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787469859000,"timestamp_ms":1787469859000,"timestamp_seconds":1787469859,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8188b8"} 
[2026-08-23 12:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 12:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:55: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-08-23 12:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:55:52] 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-08-23 12:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592206848001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592206848001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:55:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:55:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592206848001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":163087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:55:52] local.INFO: GPS data processed {"connection_id":163087,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:55:52] local.INFO: Acknowledgment sent {"connection_id":163087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:56:24] local.INFO: TCP Data received {"connection_id":163087,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:56:24] local.INFO: Processing buffer {"connection_id":163087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:56:24] local.INFO: Packet analysis {"connection_id":163087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d81"} 
[2026-08-23 12:56:24] local.INFO: Extracted packet for processing {"connection_id":163087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d81"} 
[2026-08-23 12:56:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592206848001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787469859000,"timestamp_ms":1787469859000,"timestamp_seconds":1787469859,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8188b8"} 
[2026-08-23 12:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 12:56:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:56:24] 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-08-23 12:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592206848001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592206848001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:56:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:56:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592206848001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":163087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:56:24] local.INFO: GPS data processed {"connection_id":163087,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:56:24] local.INFO: Acknowledgment sent {"connection_id":163087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:56:46] local.INFO: TCP Data received {"connection_id":160749,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:56:46] local.INFO: Processing buffer {"connection_id":160749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:56:46] local.INFO: IMEI packet received {"connection_id":160749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":160749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:56:51] local.INFO: TCP Data received {"connection_id":160749,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:56:51] local.INFO: Processing buffer {"connection_id":160749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:56:51] local.INFO: IMEI packet received {"connection_id":160749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":160749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:56:52] local.INFO: TCP Data received {"connection_id":160749,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:56:52] local.INFO: Processing buffer {"connection_id":160749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:56:52] local.INFO: Packet analysis {"connection_id":160749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d81"} 
[2026-08-23 12:56:52] local.INFO: Extracted packet for processing {"connection_id":160749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d81"} 
[2026-08-23 12:56:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592206848001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787469859000,"timestamp_ms":1787469859000,"timestamp_seconds":1787469859,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8188b8"} 
[2026-08-23 12:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 12:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:56:52] 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-08-23 12:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592206848001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592206848001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:56:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:56:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592206848001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":160749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:56:52] local.INFO: GPS data processed {"connection_id":160749,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:56:52] local.INFO: Acknowledgment sent {"connection_id":160749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:57:00] local.INFO: TCP Data received {"connection_id":163088,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:57:00] local.INFO: Processing buffer {"connection_id":163088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:57:00] local.INFO: IMEI packet received {"connection_id":163088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":163088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:57:04] local.INFO: TCP Data received {"connection_id":163088,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:57:04] local.INFO: Processing buffer {"connection_id":163088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:57:04] local.INFO: IMEI packet received {"connection_id":163088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":163088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:57:05] local.INFO: TCP Data received {"connection_id":163088,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:57:05] local.INFO: Processing buffer {"connection_id":163088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:57:05] local.INFO: IMEI packet received {"connection_id":163088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":163088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:57:12] local.INFO: TCP Data received {"connection_id":163088,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:57:12] local.INFO: Processing buffer {"connection_id":163088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:57:12] local.INFO: IMEI packet received {"connection_id":163088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":163088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:57:24] local.INFO: TCP Data received {"connection_id":160749,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:57:24] local.INFO: Processing buffer {"connection_id":160749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:57:24] local.INFO: Packet analysis {"connection_id":160749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d81"} 
[2026-08-23 12:57:24] local.INFO: Extracted packet for processing {"connection_id":160749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d81"} 
[2026-08-23 12:57:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592206848001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787469859000,"timestamp_ms":1787469859000,"timestamp_seconds":1787469859,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8188b8"} 
[2026-08-23 12:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 12:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:57:24] 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-08-23 12:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592206848001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592206848001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:57:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:57:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592206848001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":160749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:57:24] local.INFO: GPS data processed {"connection_id":160749,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:57:24] local.INFO: Acknowledgment sent {"connection_id":160749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:57:43] local.INFO: TCP Data received {"connection_id":163088,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d82e460012d0da5c007255c80002f002b25..."} 
[2026-08-23 12:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d82e460012d0da5c007255c80002f002b25..."} 
[2026-08-23 12:57:43] local.INFO: Processing buffer {"connection_id":163088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d82e460012d0da5c007255c80002f002b25..."} 
[2026-08-23 12:57:43] local.INFO: Packet analysis {"connection_id":163088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d82"} 
[2026-08-23 12:57:43] local.INFO: Extracted packet for processing {"connection_id":163088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d82"} 
[2026-08-23 12:57:43] local.INFO: GPS Element Parsed {"raw_longitude":755869120,"raw_latitude":119889024,"longitude_deg":75.586912,"latitude_deg":11.9889024,"altitude":47,"angle":43,"satellites":37,"speed":31,"hex_longitude":"2d0da5c0","hex_latitude":"07255c80","is_valid_coordinates":true} 
[2026-08-23 12: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-08-23 12:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592304128001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15408100685119488,"note":"Value kept but may cause issues"} 
[2026-08-23 12:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":975451562480990208,"note":"Value kept but may cause issues"} 
[2026-08-23 12:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787469948000,"timestamp_ms":1787469948000,"timestamp_seconds":1787469948,"priority":1,"record_length":96,"hex_timestamp":"000001a02d82e460"} 
[2026-08-23 12:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 12:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12: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-08-23 12:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592304128001,"66":13917,"115":206,"83":41984,"24":31,"16":15408100685119488,"45":975451562480990208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,45]} 
[2026-08-23 12:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592304128001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:57:43] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-23 12:57:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 12:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15408100685119488,"km_value":15408100685119.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":975451562480990208,"description":"Unknown IO ID 45"} 
[2026-08-23 12:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592304128001,"power":13917,"unknown_115":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":975451562480990208}} 
[2026-08-23 12:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":163088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:57:43] local.INFO: GPS data processed {"connection_id":163088,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:57:43] local.INFO: Acknowledgment sent {"connection_id":163088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:57:46] local.INFO: TCP Data received {"connection_id":160498,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:57:46] local.INFO: Processing buffer {"connection_id":160498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:57:46] local.INFO: IMEI packet received {"connection_id":160498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":160498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:57:50] local.INFO: TCP Data received {"connection_id":160499,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:57:50] local.INFO: Processing buffer {"connection_id":160499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:57:50] local.INFO: IMEI packet received {"connection_id":160499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":160499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:57:51] local.INFO: TCP Data received {"connection_id":160499,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:57:51] local.INFO: Processing buffer {"connection_id":160499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:57:51] local.INFO: IMEI packet received {"connection_id":160499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":160499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:57:51] local.INFO: TCP Data received {"connection_id":160498,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:57:51] local.INFO: Processing buffer {"connection_id":160498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:57:51] local.INFO: IMEI packet received {"connection_id":160498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":160498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:57:52] local.INFO: TCP Data received {"connection_id":160498,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:57:52] local.INFO: Processing buffer {"connection_id":160498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:57:52] local.INFO: Packet analysis {"connection_id":160498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d81"} 
[2026-08-23 12:57:52] local.INFO: Extracted packet for processing {"connection_id":160498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d81"} 
[2026-08-23 12:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:57: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-08-23 12:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592206848001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787469859000,"timestamp_ms":1787469859000,"timestamp_seconds":1787469859,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8188b8"} 
[2026-08-23 12:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 12:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:57: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-08-23 12:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592206848001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592206848001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:57:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592206848001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":160498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:57:52] local.INFO: GPS data processed {"connection_id":160498,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:57:52] local.INFO: Acknowledgment sent {"connection_id":160498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:57:55] local.INFO: TCP Data received {"connection_id":160499,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:57:55] local.INFO: Processing buffer {"connection_id":160499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:57:55] local.INFO: IMEI packet received {"connection_id":160499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":160499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:57:57] local.INFO: TCP Data received {"connection_id":160499,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d837100012d0e28c007253f680028005f26..."} 
[2026-08-23 12:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d837100012d0e28c007253f680028005f26..."} 
[2026-08-23 12:57:57] local.INFO: Processing buffer {"connection_id":160499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d837100012d0e28c007253f680028005f26..."} 
[2026-08-23 12:57:57] local.INFO: Packet analysis {"connection_id":160499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d83"} 
[2026-08-23 12:57:57] local.INFO: Extracted packet for processing {"connection_id":160499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d83"} 
[2026-08-23 12:57:57] local.INFO: GPS Element Parsed {"raw_longitude":755902656,"raw_latitude":119881576,"longitude_deg":75.5902656,"latitude_deg":11.9881576,"altitude":40,"angle":95,"satellites":38,"speed":45,"hex_longitude":"2d0e28c0","hex_latitude":"07253f68","is_valid_coordinates":true} 
[2026-08-23 12:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592315392001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15409805787136000,"note":"Value kept but may cause issues"} 
[2026-08-23 12:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1017743177731209216,"note":"Value kept but may cause issues"} 
[2026-08-23 12:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787469984000,"timestamp_ms":1787469984000,"timestamp_seconds":1787469984,"priority":1,"record_length":96,"hex_timestamp":"000001a02d837100"} 
[2026-08-23 12:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 12:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-23 12:57:57] 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-08-23 12:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 12:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 12:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 12:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592315392001,"66":14341,"127":206,"83":41984,"24":45,"16":15409805787136000,"45":1017743177731209216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,83,24,16,45]} 
[2026-08-23 12:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 12:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 12:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592315392001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:57:57] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-23 12:57:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 12:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15409805787136000,"km_value":15409805787136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1017743177731209216,"description":"Unknown IO ID 45"} 
[2026-08-23 12:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592315392001,"power":14341,"unknown_127":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1017743177731209216}} 
[2026-08-23 12:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":160499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:57:57] local.INFO: GPS data processed {"connection_id":160499,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:57:57] local.INFO: Acknowledgment sent {"connection_id":160499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:58:23] local.INFO: TCP Data received {"connection_id":160498,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:58:23] local.INFO: Processing buffer {"connection_id":160498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:58:23] local.INFO: Packet analysis {"connection_id":160498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d81"} 
[2026-08-23 12:58:23] local.INFO: Extracted packet for processing {"connection_id":160498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d81"} 
[2026-08-23 12:58:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592206848001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787469859000,"timestamp_ms":1787469859000,"timestamp_seconds":1787469859,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8188b8"} 
[2026-08-23 12:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 12:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 12:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592206848001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592206848001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:58:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:58:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592206848001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":160498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:58:23] local.INFO: GPS data processed {"connection_id":160498,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:58:23] local.INFO: Acknowledgment sent {"connection_id":160498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:58:30] local.INFO: TCP Data received {"connection_id":163089,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:58:30] local.INFO: Processing buffer {"connection_id":163089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:58:30] local.INFO: IMEI packet received {"connection_id":163089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 12:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":163089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:58:31] local.INFO: TCP Data received {"connection_id":163089,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 12:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163089,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 12:58:31] local.INFO: Processing buffer {"connection_id":163089,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 12:58:31] local.INFO: IMEI packet received {"connection_id":163089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":163089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:58:32] local.INFO: TCP Data received {"connection_id":163089,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 12:58:32] local.INFO: Processing buffer {"connection_id":163089,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 12:58:32] local.INFO: IMEI packet received {"connection_id":163089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 12:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":163089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:58:51] local.INFO: TCP Data received {"connection_id":163090,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:58:51] local.INFO: Processing buffer {"connection_id":163090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:58:51] local.INFO: IMEI packet received {"connection_id":163090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":163090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:58:56] local.INFO: TCP Data received {"connection_id":163090,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:58:56] local.INFO: Processing buffer {"connection_id":163090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:58:56] local.INFO: IMEI packet received {"connection_id":163090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":163090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:58:57] local.INFO: TCP Data received {"connection_id":163090,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:58:57] local.INFO: Processing buffer {"connection_id":163090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:58:57] local.INFO: Packet analysis {"connection_id":163090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d81"} 
[2026-08-23 12:58:57] local.INFO: Extracted packet for processing {"connection_id":163090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d81"} 
[2026-08-23 12:58:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592206848001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787469859000,"timestamp_ms":1787469859000,"timestamp_seconds":1787469859,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8188b8"} 
[2026-08-23 12:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 12:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:58:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:58:57] 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-08-23 12:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592206848001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592206848001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:58:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:58:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592206848001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":163090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:58:57] local.INFO: GPS data processed {"connection_id":163090,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:58:57] local.INFO: Acknowledgment sent {"connection_id":163090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:59:01] local.INFO: TCP Data received {"connection_id":163090,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:59:01] local.INFO: Processing buffer {"connection_id":163090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:59:01] local.INFO: Packet analysis {"connection_id":163090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d81"} 
[2026-08-23 12:59:01] local.INFO: Extracted packet for processing {"connection_id":163090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d81"} 
[2026-08-23 12:59:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592206848001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787469859000,"timestamp_ms":1787469859000,"timestamp_seconds":1787469859,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8188b8"} 
[2026-08-23 12:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 12:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":163090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":163090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":163090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:59:01] 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-08-23 12:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592206848001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592206848001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:59:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:59:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592206848001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":163090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:59:01] local.INFO: GPS data processed {"connection_id":163090,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:59:01] local.INFO: Acknowledgment sent {"connection_id":163090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 12:59:46] local.INFO: TCP Data received {"connection_id":161681,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:59:46] local.INFO: Processing buffer {"connection_id":161681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:59:46] local.INFO: IMEI packet received {"connection_id":161681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 12:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":161681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 12:59:51] local.INFO: TCP Data received {"connection_id":161681,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:59:51] local.INFO: Processing buffer {"connection_id":161681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 12:59:51] local.INFO: IMEI packet received {"connection_id":161681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 12:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":161681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 12:59:53] local.INFO: TCP Data received {"connection_id":161681,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:59:53] local.INFO: Processing buffer {"connection_id":161681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8188b8012d34c50006aa4098000b008525..."} 
[2026-08-23 12:59:53] local.INFO: Packet analysis {"connection_id":161681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d81"} 
[2026-08-23 12:59:53] local.INFO: Extracted packet for processing {"connection_id":161681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d81"} 
[2026-08-23 12:59:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":11,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 12:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 12:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592206848001,"note":"Value kept but may cause issues"} 
[2026-08-23 12:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 12:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 12:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 12:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787469859000,"timestamp_ms":1787469859000,"timestamp_seconds":1787469859,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8188b8"} 
[2026-08-23 12:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 12:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 12:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 12:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 12:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 12:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 12:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 12:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 12:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 12:59:53] 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-08-23 12:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 12:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 12:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592206848001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 12:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 12:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 12:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592206848001,"description":"Unknown IO ID 0"} 
[2026-08-23 12:59:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 12:59:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 12:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 12:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 12:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592206848001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 12:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":161681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 12:59:53] local.INFO: GPS data processed {"connection_id":161681,"processed":1,"errors":0,"total":1} 
[2026-08-23 12:59:53] local.INFO: Acknowledgment sent {"connection_id":161681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:00:25] local.INFO: TCP Data received {"connection_id":161681,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:00:25] local.INFO: Processing buffer {"connection_id":161681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:00:25] local.INFO: Packet analysis {"connection_id":161681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d86"} 
[2026-08-23 13:00:25] local.INFO: Extracted packet for processing {"connection_id":161681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d86"} 
[2026-08-23 13:00:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592283904001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787470160000,"timestamp_ms":1787470160000,"timestamp_seconds":1787470160,"priority":1,"record_length":96,"hex_timestamp":"000001a02d862080"} 
[2026-08-23 13:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:00:25] 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-08-23 13:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:00: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-08-23 13:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592283904001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592283904001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:00:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:00:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592283904001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":161681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:00:25] local.INFO: GPS data processed {"connection_id":161681,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:00:25] local.INFO: Acknowledgment sent {"connection_id":161681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:00:46] local.INFO: TCP Data received {"connection_id":163091,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:00:46] local.INFO: Processing buffer {"connection_id":163091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:00:46] local.INFO: IMEI packet received {"connection_id":163091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":163091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:00:51] local.INFO: TCP Data received {"connection_id":163091,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:00:51] local.INFO: Processing buffer {"connection_id":163091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:00:51] local.INFO: IMEI packet received {"connection_id":163091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":163091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:00:52] local.INFO: TCP Data received {"connection_id":163091,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:00:52] local.INFO: Processing buffer {"connection_id":163091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:00:52] local.INFO: Packet analysis {"connection_id":163091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d86"} 
[2026-08-23 13:00:52] local.INFO: Extracted packet for processing {"connection_id":163091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d86"} 
[2026-08-23 13:00:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:00: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-08-23 13:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592283904001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787470160000,"timestamp_ms":1787470160000,"timestamp_seconds":1787470160,"priority":1,"record_length":96,"hex_timestamp":"000001a02d862080"} 
[2026-08-23 13:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:00:52] 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-08-23 13:00: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-08-23 13:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:00:52] 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-08-23 13:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592283904001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592283904001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:00:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:00:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592283904001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":163091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:00:52] local.INFO: GPS data processed {"connection_id":163091,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:00:52] local.INFO: Acknowledgment sent {"connection_id":163091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:01:23] local.INFO: TCP Data received {"connection_id":163091,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:01:23] local.INFO: Processing buffer {"connection_id":163091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:01:23] local.INFO: Packet analysis {"connection_id":163091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d86"} 
[2026-08-23 13:01:23] local.INFO: Extracted packet for processing {"connection_id":163091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d86"} 
[2026-08-23 13:01:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592283904001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787470160000,"timestamp_ms":1787470160000,"timestamp_seconds":1787470160,"priority":1,"record_length":96,"hex_timestamp":"000001a02d862080"} 
[2026-08-23 13:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:01:23] 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-08-23 13:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:01:23] 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-08-23 13:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592283904001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592283904001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:01:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:01:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592283904001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":163091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:01:23] local.INFO: GPS data processed {"connection_id":163091,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:01:23] local.INFO: Acknowledgment sent {"connection_id":163091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:01:46] local.INFO: TCP Data received {"connection_id":161683,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:01:46] local.INFO: Processing buffer {"connection_id":161683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:01:46] local.INFO: IMEI packet received {"connection_id":161683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":161683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:01:51] local.INFO: TCP Data received {"connection_id":161683,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:01:51] local.INFO: Processing buffer {"connection_id":161683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:01:51] local.INFO: IMEI packet received {"connection_id":161683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":161683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:01:52] local.INFO: TCP Data received {"connection_id":161683,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:01:52] local.INFO: Processing buffer {"connection_id":161683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:01:52] local.INFO: Packet analysis {"connection_id":161683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d86"} 
[2026-08-23 13:01:52] local.INFO: Extracted packet for processing {"connection_id":161683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d86"} 
[2026-08-23 13:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592283904001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787470160000,"timestamp_ms":1787470160000,"timestamp_seconds":1787470160,"priority":1,"record_length":96,"hex_timestamp":"000001a02d862080"} 
[2026-08-23 13:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:01:52] 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-08-23 13:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:01:52] 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-08-23 13:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592283904001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592283904001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:01:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592283904001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":161683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:01:52] local.INFO: GPS data processed {"connection_id":161683,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:01:52] local.INFO: Acknowledgment sent {"connection_id":161683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:02:24] local.INFO: TCP Data received {"connection_id":161683,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:02:24] local.INFO: Processing buffer {"connection_id":161683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:02:24] local.INFO: Packet analysis {"connection_id":161683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d86"} 
[2026-08-23 13:02:24] local.INFO: Extracted packet for processing {"connection_id":161683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d86"} 
[2026-08-23 13:02:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592283904001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787470160000,"timestamp_ms":1787470160000,"timestamp_seconds":1787470160,"priority":1,"record_length":96,"hex_timestamp":"000001a02d862080"} 
[2026-08-23 13:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:02:24] 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-08-23 13:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:02: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-08-23 13:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592283904001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592283904001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:02:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:02:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592283904001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":161683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:02:24] local.INFO: GPS data processed {"connection_id":161683,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:02:24] local.INFO: Acknowledgment sent {"connection_id":161683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:02:51] local.INFO: TCP Data received {"connection_id":163092,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:02:51] local.INFO: Processing buffer {"connection_id":163092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:02:51] local.INFO: IMEI packet received {"connection_id":163092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":163092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:02:56] local.INFO: TCP Data received {"connection_id":163092,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:02:56] local.INFO: Processing buffer {"connection_id":163092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:02:56] local.INFO: IMEI packet received {"connection_id":163092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":163092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:02:57] local.INFO: TCP Data received {"connection_id":163092,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:02:57] local.INFO: Processing buffer {"connection_id":163092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:02:57] local.INFO: Packet analysis {"connection_id":163092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d86"} 
[2026-08-23 13:02:57] local.INFO: Extracted packet for processing {"connection_id":163092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d86"} 
[2026-08-23 13:02:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592283904001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787470160000,"timestamp_ms":1787470160000,"timestamp_seconds":1787470160,"priority":1,"record_length":96,"hex_timestamp":"000001a02d862080"} 
[2026-08-23 13:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:02:57] 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-08-23 13:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592283904001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592283904001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:02:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:02:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592283904001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":163092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:02:57] local.INFO: GPS data processed {"connection_id":163092,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:02:57] local.INFO: Acknowledgment sent {"connection_id":163092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:03:02] local.INFO: TCP Data received {"connection_id":163092,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:03:02] local.INFO: Processing buffer {"connection_id":163092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:03:02] local.INFO: Packet analysis {"connection_id":163092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d86"} 
[2026-08-23 13:03:02] local.INFO: Extracted packet for processing {"connection_id":163092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d86"} 
[2026-08-23 13:03:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592283904001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787470160000,"timestamp_ms":1787470160000,"timestamp_seconds":1787470160,"priority":1,"record_length":96,"hex_timestamp":"000001a02d862080"} 
[2026-08-23 13:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:03:02] 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-08-23 13: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-08-23 13:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592283904001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592283904001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:03:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:03:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592283904001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":163092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:03:02] local.INFO: GPS data processed {"connection_id":163092,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:03:02] local.INFO: Acknowledgment sent {"connection_id":163092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:03:35] local.INFO: TCP Data received {"connection_id":160750,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:03:35] local.INFO: Processing buffer {"connection_id":160750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:03:35] local.INFO: IMEI packet received {"connection_id":160750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":160750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:03:39] local.INFO: TCP Data received {"connection_id":160750,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d894148012d123d40072603b80025016626..."} 
[2026-08-23 13:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d894148012d123d40072603b80025016626..."} 
[2026-08-23 13:03:39] local.INFO: Processing buffer {"connection_id":160750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d894148012d123d40072603b80025016626..."} 
[2026-08-23 13:03:39] local.INFO: Packet analysis {"connection_id":160750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d89"} 
[2026-08-23 13:03:39] local.INFO: Extracted packet for processing {"connection_id":160750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d89"} 
[2026-08-23 13:03:39] local.INFO: GPS Element Parsed {"raw_longitude":756170048,"raw_latitude":119931832,"longitude_deg":75.6170048,"latitude_deg":11.9931832,"altitude":37,"angle":358,"satellites":38,"speed":37,"hex_longitude":"2d123d40","hex_latitude":"072603b8","is_valid_coordinates":true} 
[2026-08-23 13:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592412928001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15427505347362816,"note":"Value kept but may cause issues"} 
[2026-08-23 13:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1314769646917554176,"note":"Value kept but may cause issues"} 
[2026-08-23 13:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787470365000,"timestamp_ms":1787470365000,"timestamp_seconds":1787470365,"priority":1,"record_length":96,"hex_timestamp":"000001a02d894148"} 
[2026-08-23 13:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 13:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592412928001,"66":13939,"106":206,"83":42752,"24":37,"16":15427505347362816,"45":1314769646917554176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 13:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592412928001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:03:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 13:03:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15427505347362816,"km_value":15427505347362.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1314769646917554176,"description":"Unknown IO ID 45"} 
[2026-08-23 13:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592412928001,"power":13939,"unknown_106":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1314769646917554176}} 
[2026-08-23 13:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":160750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:03:39] local.INFO: GPS data processed {"connection_id":160750,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:03:39] local.INFO: Acknowledgment sent {"connection_id":160750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:03:46] local.INFO: TCP Data received {"connection_id":160751,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:03:46] local.INFO: Processing buffer {"connection_id":160751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:03:46] local.INFO: IMEI packet received {"connection_id":160751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":160751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:03:51] local.INFO: TCP Data received {"connection_id":160751,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:03:51] local.INFO: Processing buffer {"connection_id":160751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:03:51] local.INFO: IMEI packet received {"connection_id":160751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":160751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:03:52] local.INFO: TCP Data received {"connection_id":160751,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:03:52] local.INFO: Processing buffer {"connection_id":160751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:03:52] local.INFO: Packet analysis {"connection_id":160751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d86"} 
[2026-08-23 13:03:52] local.INFO: Extracted packet for processing {"connection_id":160751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d86"} 
[2026-08-23 13:03:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592283904001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787470160000,"timestamp_ms":1787470160000,"timestamp_seconds":1787470160,"priority":1,"record_length":96,"hex_timestamp":"000001a02d862080"} 
[2026-08-23 13:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:03:52] 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-08-23 13:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592283904001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592283904001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:03:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:03:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592283904001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":160751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:03:52] local.INFO: GPS data processed {"connection_id":160751,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:03:52] local.INFO: Acknowledgment sent {"connection_id":160751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:04:10] local.INFO: TCP Data received {"connection_id":160750,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d894530012d123e40072607280026000d26..."} 
[2026-08-23 13:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d894530012d123e40072607280026000d26..."} 
[2026-08-23 13:04:10] local.INFO: Processing buffer {"connection_id":160750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d894530012d123e40072607280026000d26..."} 
[2026-08-23 13:04:10] local.INFO: Packet analysis {"connection_id":160750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d89"} 
[2026-08-23 13:04:10] local.INFO: Extracted packet for processing {"connection_id":160750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d89"} 
[2026-08-23 13:04:10] local.INFO: GPS Element Parsed {"raw_longitude":756170304,"raw_latitude":119932712,"longitude_deg":75.6170304,"latitude_deg":11.9932712,"altitude":38,"angle":13,"satellites":38,"speed":35,"hex_longitude":"2d123e40","hex_latitude":"07260728","is_valid_coordinates":true} 
[2026-08-23 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-08-23 13:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592413440001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15427548297035776,"note":"Value kept but may cause issues"} 
[2026-08-23 13:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1314277065708779520,"note":"Value kept but may cause issues"} 
[2026-08-23 13:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787470366000,"timestamp_ms":1787470366000,"timestamp_seconds":1787470366,"priority":1,"record_length":96,"hex_timestamp":"000001a02d894530"} 
[2026-08-23 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-08-23 13:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-23 13:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 13:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592413440001,"66":13939,"106":206,"83":42752,"24":35,"16":15427548297035776,"45":1314277065708779520},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 13:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592413440001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:04:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 13:04:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15427548297035776,"km_value":15427548297035.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1314277065708779520,"description":"Unknown IO ID 45"} 
[2026-08-23 13:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592413440001,"power":13939,"unknown_106":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1314277065708779520}} 
[2026-08-23 13:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":160750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:04:10] local.INFO: GPS data processed {"connection_id":160750,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:04:10] local.INFO: Acknowledgment sent {"connection_id":160750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:04:23] local.INFO: TCP Data received {"connection_id":160751,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:04:23] local.INFO: Processing buffer {"connection_id":160751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:04:23] local.INFO: Packet analysis {"connection_id":160751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d86"} 
[2026-08-23 13:04:23] local.INFO: Extracted packet for processing {"connection_id":160751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d86"} 
[2026-08-23 13:04:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592283904001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787470160000,"timestamp_ms":1787470160000,"timestamp_seconds":1787470160,"priority":1,"record_length":96,"hex_timestamp":"000001a02d862080"} 
[2026-08-23 13:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:04:23] 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-08-23 13:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592283904001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592283904001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:04:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:04:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592283904001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":160751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:04:23] local.INFO: GPS data processed {"connection_id":160751,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:04:23] local.INFO: Acknowledgment sent {"connection_id":160751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:04:30] local.INFO: TCP Data received {"connection_id":160503,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:04:30] local.INFO: Processing buffer {"connection_id":160503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:04:30] local.INFO: IMEI packet received {"connection_id":160503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":160503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:04:35] local.INFO: TCP Data received {"connection_id":160503,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:04:35] local.INFO: Processing buffer {"connection_id":160503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:04:35] local.INFO: IMEI packet received {"connection_id":160503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":160503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:04:46] local.INFO: TCP Data received {"connection_id":161684,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:04:46] local.INFO: Processing buffer {"connection_id":161684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:04:46] local.INFO: IMEI packet received {"connection_id":161684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":161684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:04:51] local.INFO: TCP Data received {"connection_id":161684,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:04:51] local.INFO: Processing buffer {"connection_id":161684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:04:51] local.INFO: IMEI packet received {"connection_id":161684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":161684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:04:52] local.INFO: TCP Data received {"connection_id":161684,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:04:52] local.INFO: Processing buffer {"connection_id":161684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d862080012d34c50006aa40980010008525..."} 
[2026-08-23 13:04:52] local.INFO: Packet analysis {"connection_id":161684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d86"} 
[2026-08-23 13:04:52] local.INFO: Extracted packet for processing {"connection_id":161684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d86"} 
[2026-08-23 13:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592283904001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787470160000,"timestamp_ms":1787470160000,"timestamp_seconds":1787470160,"priority":1,"record_length":96,"hex_timestamp":"000001a02d862080"} 
[2026-08-23 13:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:04:52] 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-08-23 13:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:04:52] 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-08-23 13:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592283904001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592283904001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:04:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592283904001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":161684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:04:52] local.INFO: GPS data processed {"connection_id":161684,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:04:52] local.INFO: Acknowledgment sent {"connection_id":161684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:05:04] local.INFO: TCP Data received {"connection_id":160503,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d894918012d123f8007260a580026001925..."} 
[2026-08-23 13:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d894918012d123f8007260a580026001925..."} 
[2026-08-23 13:05:04] local.INFO: Processing buffer {"connection_id":160503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d894918012d123f8007260a580026001925..."} 
[2026-08-23 13:05:04] local.INFO: Packet analysis {"connection_id":160503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d89"} 
[2026-08-23 13:05:04] local.INFO: Extracted packet for processing {"connection_id":160503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d89"} 
[2026-08-23 13:05:04] local.INFO: GPS Element Parsed {"raw_longitude":756170624,"raw_latitude":119933528,"longitude_deg":75.6170624,"latitude_deg":11.9933528,"altitude":38,"angle":25,"satellites":37,"speed":34,"hex_longitude":"2d123f80","hex_latitude":"07260a58","is_valid_coordinates":true} 
[2026-08-23 13:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592413696001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15427591246708736,"note":"Value kept but may cause issues"} 
[2026-08-23 13:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1314558540685715456,"note":"Value kept but may cause issues"} 
[2026-08-23 13:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787470367000,"timestamp_ms":1787470367000,"timestamp_seconds":1787470367,"priority":1,"record_length":96,"hex_timestamp":"000001a02d894918"} 
[2026-08-23 13:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-23 13:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592413696001,"66":13993,"106":206,"83":42752,"24":34,"16":15427591246708736,"45":1314558540685715456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 13:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592413696001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:05:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 13:05:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15427591246708736,"km_value":15427591246708.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1314558540685715456,"description":"Unknown IO ID 45"} 
[2026-08-23 13:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592413696001,"power":13993,"unknown_106":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1314558540685715456}} 
[2026-08-23 13:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":160503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:05:05] local.INFO: GPS data processed {"connection_id":160503,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:05:05] local.INFO: Acknowledgment sent {"connection_id":160503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:05:23] local.INFO: TCP Data received {"connection_id":161684,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:05:23] local.INFO: Processing buffer {"connection_id":161684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:05:23] local.INFO: Packet analysis {"connection_id":161684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8a"} 
[2026-08-23 13:05:23] local.INFO: Extracted packet for processing {"connection_id":161684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8a"} 
[2026-08-23 13:05:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592360960001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787470461000,"timestamp_ms":1787470461000,"timestamp_seconds":1787470461,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8ab848"} 
[2026-08-23 13:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 13:05:23] 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-08-23 13:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:05:23] 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-08-23 13:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592360960001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592360960001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:05:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:05:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592360960001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":161684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:05:23] local.INFO: GPS data processed {"connection_id":161684,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:05:23] local.INFO: Acknowledgment sent {"connection_id":161684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:05:30] local.INFO: TCP Data received {"connection_id":160752,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:05:30] local.INFO: Processing buffer {"connection_id":160752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:05:30] local.INFO: IMEI packet received {"connection_id":160752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":160752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:05:35] local.INFO: TCP Data received {"connection_id":160752,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:05:35] local.INFO: Processing buffer {"connection_id":160752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:05:35] local.INFO: IMEI packet received {"connection_id":160752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":160752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:05:36] local.INFO: TCP Data received {"connection_id":160752,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8aa0d8012d135fc00726bdf8002e006227..."} 
[2026-08-23 13:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8aa0d8012d135fc00726bdf8002e006227..."} 
[2026-08-23 13:05:36] local.INFO: Processing buffer {"connection_id":160752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8aa0d8012d135fc00726bdf8002e006227..."} 
[2026-08-23 13:05:36] local.INFO: Packet analysis {"connection_id":160752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8a"} 
[2026-08-23 13:05:36] local.INFO: Extracted packet for processing {"connection_id":160752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8a"} 
[2026-08-23 13:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756244416,"raw_latitude":119979512,"longitude_deg":75.6244416,"latitude_deg":11.9979512,"altitude":46,"angle":98,"satellites":39,"speed":48,"hex_longitude":"2d135fc0","hex_latitude":"0726bdf8","is_valid_coordinates":true} 
[2026-08-23 13:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592434688001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15431890508972032,"note":"Value kept but may cause issues"} 
[2026-08-23 13:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1386616134735558656,"note":"Value kept but may cause issues"} 
[2026-08-23 13:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787470455000,"timestamp_ms":1787470455000,"timestamp_seconds":1787470455,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8aa0d8"} 
[2026-08-23 13:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-23 13:05:36] 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-08-23 13:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592434688001,"66":14374,"52":206,"83":42752,"24":48,"16":15431890508972032,"45":1386616134735558656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-08-23 13:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592434688001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:05:36] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-23 13:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15431890508972032,"km_value":15431890508972.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1386616134735558656,"description":"Unknown IO ID 45"} 
[2026-08-23 13:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592434688001,"power":14374,"unknown_52":206,"unknown_83":42752,"ignition":48,"odometer":null,"unknown_45":1386616134735558656}} 
[2026-08-23 13:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":160752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:05:36] local.INFO: GPS data processed {"connection_id":160752,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:05:36] local.INFO: Acknowledgment sent {"connection_id":160752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:05:51] local.INFO: TCP Data received {"connection_id":160504,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:05:51] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:05:51] local.INFO: IMEI packet received {"connection_id":160504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":160504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:05:56] local.INFO: TCP Data received {"connection_id":160504,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:05:56] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:05:56] local.INFO: IMEI packet received {"connection_id":160504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":160504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:05:58] local.INFO: TCP Data received {"connection_id":160504,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:05:58] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:05:58] local.INFO: Packet analysis {"connection_id":160504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8a"} 
[2026-08-23 13:05:58] local.INFO: Extracted packet for processing {"connection_id":160504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8a"} 
[2026-08-23 13:05:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592360960001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787470461000,"timestamp_ms":1787470461000,"timestamp_seconds":1787470461,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8ab848"} 
[2026-08-23 13:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 13:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13: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-08-23 13:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592360960001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592360960001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:05:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:05:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592360960001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":160504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:05:58] local.INFO: GPS data processed {"connection_id":160504,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:05:58] local.INFO: Acknowledgment sent {"connection_id":160504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:06:02] local.INFO: TCP Data received {"connection_id":160504,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:06:02] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:06:02] local.INFO: Packet analysis {"connection_id":160504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8a"} 
[2026-08-23 13:06:02] local.INFO: Extracted packet for processing {"connection_id":160504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8a"} 
[2026-08-23 13:06:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592360960001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787470461000,"timestamp_ms":1787470461000,"timestamp_seconds":1787470461,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8ab848"} 
[2026-08-23 13:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 13:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:06:02] 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-08-23 13:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592360960001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592360960001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:06:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:06:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592360960001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":160504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:06:02] local.INFO: GPS data processed {"connection_id":160504,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:06:02] local.INFO: Acknowledgment sent {"connection_id":160504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:06:07] local.INFO: TCP Data received {"connection_id":160752,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8b8750012d144c80072691480025004a27..."} 
[2026-08-23 13:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8b8750012d144c80072691480025004a27..."} 
[2026-08-23 13:06:07] local.INFO: Processing buffer {"connection_id":160752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8b8750012d144c80072691480025004a27..."} 
[2026-08-23 13:06:07] local.INFO: Packet analysis {"connection_id":160752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8b"} 
[2026-08-23 13:06:07] local.INFO: Extracted packet for processing {"connection_id":160752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8b"} 
[2026-08-23 13:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756305024,"raw_latitude":119968072,"longitude_deg":75.6305024,"latitude_deg":11.9968072,"altitude":37,"angle":74,"satellites":39,"speed":46,"hex_longitude":"2d144c80","hex_latitude":"07269148","is_valid_coordinates":true} 
[2026-08-23 13:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592449792001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15434982885425152,"note":"Value kept but may cause issues"} 
[2026-08-23 13:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1453536810445240320,"note":"Value kept but may cause issues"} 
[2026-08-23 13:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787470514000,"timestamp_ms":1787470514000,"timestamp_seconds":1787470514,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8b8750"} 
[2026-08-23 13:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-23 13:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592449792001,"66":14070,"52":206,"83":42752,"24":46,"16":15434982885425152,"45":1453536810445240320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-08-23 13:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592449792001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:06:07] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-23 13:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15434982885425152,"km_value":15434982885425.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1453536810445240320,"description":"Unknown IO ID 45"} 
[2026-08-23 13:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592449792001,"power":14070,"unknown_52":206,"unknown_83":42752,"ignition":46,"odometer":null,"unknown_45":1453536810445240320}} 
[2026-08-23 13:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":160752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:06:07] local.INFO: GPS data processed {"connection_id":160752,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:06:07] local.INFO: Acknowledgment sent {"connection_id":160752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:06:27] local.INFO: TCP Data received {"connection_id":160753,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:06:27] local.INFO: Processing buffer {"connection_id":160753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:06:27] local.INFO: IMEI packet received {"connection_id":160753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":160753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:06:30] local.INFO: TCP Data received {"connection_id":160753,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:06:30] local.INFO: Processing buffer {"connection_id":160753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:06:30] local.INFO: IMEI packet received {"connection_id":160753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":160753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:06:30] local.INFO: TCP Data received {"connection_id":160753,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:06:30] local.INFO: Processing buffer {"connection_id":160753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:06:30] local.INFO: IMEI packet received {"connection_id":160753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":160753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:06:35] local.INFO: TCP Data received {"connection_id":160753,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:06:35] local.INFO: Processing buffer {"connection_id":160753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:06:35] local.INFO: IMEI packet received {"connection_id":160753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":160753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:06:35] local.INFO: TCP Data received {"connection_id":160753,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8b9ad8012d1462c0072695300028005c27..."} 
[2026-08-23 13:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8b9ad8012d1462c0072695300028005c27..."} 
[2026-08-23 13:06:35] local.INFO: Processing buffer {"connection_id":160753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8b9ad8012d1462c0072695300028005c27..."} 
[2026-08-23 13:06:35] local.INFO: Packet analysis {"connection_id":160753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8b"} 
[2026-08-23 13:06:35] local.INFO: Extracted packet for processing {"connection_id":160753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8b"} 
[2026-08-23 13:06:35] local.INFO: GPS Element Parsed {"raw_longitude":756310720,"raw_latitude":119969072,"longitude_deg":75.631072,"latitude_deg":11.9969072,"altitude":40,"angle":92,"satellites":39,"speed":45,"hex_longitude":"2d1462c0","hex_latitude":"07269530","is_valid_coordinates":true} 
[2026-08-23 13:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592451584001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15435262058299392,"note":"Value kept but may cause issues"} 
[2026-08-23 13:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1462684747188750336,"note":"Value kept but may cause issues"} 
[2026-08-23 13:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787470519000,"timestamp_ms":1787470519000,"timestamp_seconds":1787470519,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8b9ad8"} 
[2026-08-23 13:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-23 13:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592451584001,"66":14004,"52":206,"83":42752,"24":45,"16":15435262058299392,"45":1462684747188750336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,45]} 
[2026-08-23 13:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592451584001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:06:35] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-23 13:06:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15435262058299392,"km_value":15435262058299.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1462684747188750336,"description":"Unknown IO ID 45"} 
[2026-08-23 13:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592451584001,"power":14004,"unknown_52":206,"unknown_83":42752,"ignition":45,"odometer":null,"unknown_45":1462684747188750336}} 
[2026-08-23 13:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":160753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:06:35] local.INFO: GPS data processed {"connection_id":160753,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:06:35] local.INFO: Acknowledgment sent {"connection_id":160753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:06:46] local.INFO: TCP Data received {"connection_id":160505,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:06:46] local.INFO: Processing buffer {"connection_id":160505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:06:46] local.INFO: IMEI packet received {"connection_id":160505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":160505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:06:51] local.INFO: TCP Data received {"connection_id":160505,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:06:51] local.INFO: Processing buffer {"connection_id":160505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:06:51] local.INFO: IMEI packet received {"connection_id":160505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":160505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:06:52] local.INFO: TCP Data received {"connection_id":160505,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:06:52] local.INFO: Processing buffer {"connection_id":160505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:06:52] local.INFO: Packet analysis {"connection_id":160505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8a"} 
[2026-08-23 13:06:52] local.INFO: Extracted packet for processing {"connection_id":160505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8a"} 
[2026-08-23 13:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:06: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-08-23 13:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592360960001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787470461000,"timestamp_ms":1787470461000,"timestamp_seconds":1787470461,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8ab848"} 
[2026-08-23 13:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 13:06:52] 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-08-23 13:06: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-08-23 13:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:06:52] 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-08-23 13:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592360960001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592360960001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:06:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592360960001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":160505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:06:52] local.INFO: GPS data processed {"connection_id":160505,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:06:52] local.INFO: Acknowledgment sent {"connection_id":160505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:07:11] local.INFO: TCP Data received {"connection_id":160753,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8ba2a8012d146bc0072693b00028006924..."} 
[2026-08-23 13:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8ba2a8012d146bc0072693b00028006924..."} 
[2026-08-23 13:07:11] local.INFO: Processing buffer {"connection_id":160753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8ba2a8012d146bc0072693b00028006924..."} 
[2026-08-23 13:07:11] local.INFO: Packet analysis {"connection_id":160753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8b"} 
[2026-08-23 13:07:11] local.INFO: Extracted packet for processing {"connection_id":160753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8b"} 
[2026-08-23 13:07:11] local.INFO: GPS Element Parsed {"raw_longitude":756313024,"raw_latitude":119968688,"longitude_deg":75.6313024,"latitude_deg":11.9968688,"altitude":40,"angle":105,"satellites":36,"speed":45,"hex_longitude":"2d146bc0","hex_latitude":"072693b0","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592452864001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15435369432481792,"note":"Value kept but may cause issues"} 
[2026-08-23 13:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1468947565420818432,"note":"Value kept but may cause issues"} 
[2026-08-23 13:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787470521000,"timestamp_ms":1787470521000,"timestamp_seconds":1787470521,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8ba2a8"} 
[2026-08-23 13:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-23 13:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13: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-08-23 13:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592452864001,"66":13972,"137":206,"83":42752,"24":45,"16":15435369432481792,"45":1468947565420818432},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-23 13:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592452864001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:07:11] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-23 13:07:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15435369432481792,"km_value":15435369432481.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1468947565420818432,"description":"Unknown IO ID 45"} 
[2026-08-23 13:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592452864001,"power":13972,"unknown_137":206,"unknown_83":42752,"ignition":45,"odometer":null,"unknown_45":1468947565420818432}} 
[2026-08-23 13:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":160753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:07:11] local.INFO: GPS data processed {"connection_id":160753,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:07:11] local.INFO: Acknowledgment sent {"connection_id":160753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:07:23] local.INFO: TCP Data received {"connection_id":160505,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:07:23] local.INFO: Processing buffer {"connection_id":160505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:07:23] local.INFO: Packet analysis {"connection_id":160505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8a"} 
[2026-08-23 13:07:23] local.INFO: Extracted packet for processing {"connection_id":160505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8a"} 
[2026-08-23 13:07:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 13:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592360960001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787470461000,"timestamp_ms":1787470461000,"timestamp_seconds":1787470461,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8ab848"} 
[2026-08-23 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-08-23 13:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 13:07:23] 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-08-23 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-08-23 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-08-23 13:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:07:23] 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-08-23 13:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592360960001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592360960001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:07:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:07:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592360960001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":160505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:07:23] local.INFO: GPS data processed {"connection_id":160505,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:07:23] local.INFO: Acknowledgment sent {"connection_id":160505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:07:30] local.INFO: TCP Data received {"connection_id":160754,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:07:30] local.INFO: Processing buffer {"connection_id":160754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:07:30] local.INFO: IMEI packet received {"connection_id":160754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":160754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:07:30] local.INFO: TCP Data received {"connection_id":160754,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:07:30] local.INFO: Processing buffer {"connection_id":160754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:07:30] local.INFO: IMEI packet received {"connection_id":160754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":160754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:07:31] local.INFO: TCP Data received {"connection_id":160754,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:07:31] local.INFO: Processing buffer {"connection_id":160754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:07:31] local.INFO: IMEI packet received {"connection_id":160754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":160754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:07:35] local.INFO: TCP Data received {"connection_id":160754,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:07:35] local.INFO: Processing buffer {"connection_id":160754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:07:35] local.INFO: IMEI packet received {"connection_id":160754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":160754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:07:39] local.INFO: TCP Data received {"connection_id":160754,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8c8d08012d1566c007264d280026007b20..."} 
[2026-08-23 13:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8c8d08012d1566c007264d280026007b20..."} 
[2026-08-23 13:07:39] local.INFO: Processing buffer {"connection_id":160754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8c8d08012d1566c007264d280026007b20..."} 
[2026-08-23 13:07:39] local.INFO: Packet analysis {"connection_id":160754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8c"} 
[2026-08-23 13:07:39] local.INFO: Extracted packet for processing {"connection_id":160754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8c"} 
[2026-08-23 13:07:39] local.INFO: GPS Element Parsed {"raw_longitude":756377280,"raw_latitude":119950632,"longitude_deg":75.637728,"latitude_deg":11.9950632,"altitude":38,"angle":123,"satellites":32,"speed":48,"hex_longitude":"2d1566c0","hex_latitude":"07264d28","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592467968001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15438736686841856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1539034834617632768,"note":"Value kept but may cause issues"} 
[2026-08-23 13:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787470581000,"timestamp_ms":1787470581000,"timestamp_seconds":1787470581,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8c8d08"} 
[2026-08-23 13:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-23 13:07:39] 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-08-23 13: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-08-23 13:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592467968001,"66":14515,"137":206,"83":42752,"24":48,"16":15438736686841856,"45":1539034834617632768},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-23 13:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592467968001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:07:39] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-23 13:07:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15438736686841856,"km_value":15438736686841.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1539034834617632768,"description":"Unknown IO ID 45"} 
[2026-08-23 13:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592467968001,"power":14515,"unknown_137":206,"unknown_83":42752,"ignition":48,"odometer":null,"unknown_45":1539034834617632768}} 
[2026-08-23 13:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":160754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:07:39] local.INFO: GPS data processed {"connection_id":160754,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:07:39] local.INFO: Acknowledgment sent {"connection_id":160754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:07:46] local.INFO: TCP Data received {"connection_id":160755,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:07:46] local.INFO: Processing buffer {"connection_id":160755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:07:46] local.INFO: IMEI packet received {"connection_id":160755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":160755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:07:51] local.INFO: TCP Data received {"connection_id":160755,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:07:51] local.INFO: Processing buffer {"connection_id":160755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:07:51] local.INFO: IMEI packet received {"connection_id":160755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":160755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:07:53] local.INFO: TCP Data received {"connection_id":160755,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:07:53] local.INFO: Processing buffer {"connection_id":160755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:07:53] local.INFO: Packet analysis {"connection_id":160755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8a"} 
[2026-08-23 13:07:53] local.INFO: Extracted packet for processing {"connection_id":160755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8a"} 
[2026-08-23 13:07:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:07: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-08-23 13:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592360960001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787470461000,"timestamp_ms":1787470461000,"timestamp_seconds":1787470461,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8ab848"} 
[2026-08-23 13:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 13:07:53] 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-08-23 13:07: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-08-23 13:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:07:53] 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-08-23 13:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592360960001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592360960001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:07:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:07:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592360960001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":160755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:07:53] local.INFO: GPS data processed {"connection_id":160755,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:07:53] local.INFO: Acknowledgment sent {"connection_id":160755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:08:10] local.INFO: TCP Data received {"connection_id":160754,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8cac48012d15884007263b980028007323..."} 
[2026-08-23 13:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8cac48012d15884007263b980028007323..."} 
[2026-08-23 13:08:10] local.INFO: Processing buffer {"connection_id":160754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8cac48012d15884007263b980028007323..."} 
[2026-08-23 13:08:10] local.INFO: Packet analysis {"connection_id":160754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8c"} 
[2026-08-23 13:08:10] local.INFO: Extracted packet for processing {"connection_id":160754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8c"} 
[2026-08-23 13:08:10] local.INFO: GPS Element Parsed {"raw_longitude":756385856,"raw_latitude":119946136,"longitude_deg":75.6385856,"latitude_deg":11.9946136,"altitude":40,"angle":115,"satellites":35,"speed":46,"hex_longitude":"2d158840","hex_latitude":"07263b98","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592468736001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15439200543309824,"note":"Value kept but may cause issues"} 
[2026-08-23 13:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1542131059360868352,"note":"Value kept but may cause issues"} 
[2026-08-23 13:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787470589000,"timestamp_ms":1787470589000,"timestamp_seconds":1787470589,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8cac48"} 
[2026-08-23 13:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:08: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-08-23 13: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-23 13:08: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-08-23 13: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-08-23 13:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592468736001,"66":14537,"137":206,"83":42752,"24":46,"16":15439200543309824,"45":1542131059360868352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-23 13:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592468736001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:08:10] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-23 13:08:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15439200543309824,"km_value":15439200543309.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1542131059360868352,"description":"Unknown IO ID 45"} 
[2026-08-23 13:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592468736001,"power":14537,"unknown_137":206,"unknown_83":42752,"ignition":46,"odometer":null,"unknown_45":1542131059360868352}} 
[2026-08-23 13:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":160754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:08:11] local.INFO: GPS data processed {"connection_id":160754,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:08:11] local.INFO: Acknowledgment sent {"connection_id":160754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:08:24] local.INFO: TCP Data received {"connection_id":160755,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:08:24] local.INFO: Processing buffer {"connection_id":160755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:08:24] local.INFO: Packet analysis {"connection_id":160755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8a"} 
[2026-08-23 13:08:24] local.INFO: Extracted packet for processing {"connection_id":160755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8a"} 
[2026-08-23 13:08:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592360960001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787470461000,"timestamp_ms":1787470461000,"timestamp_seconds":1787470461,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8ab848"} 
[2026-08-23 13:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 13:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13: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-08-23 13:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592360960001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592360960001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:08:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:08:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592360960001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":160755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:08:24] local.INFO: GPS data processed {"connection_id":160755,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:08:24] local.INFO: Acknowledgment sent {"connection_id":160755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:08:34] local.INFO: TCP Data received {"connection_id":160506,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:08:34] local.INFO: Processing buffer {"connection_id":160506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:08:34] local.INFO: IMEI packet received {"connection_id":160506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":160506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:08:34] local.INFO: TCP Data received {"connection_id":160506,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:08:34] local.INFO: Processing buffer {"connection_id":160506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:08:34] local.INFO: IMEI packet received {"connection_id":160506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":160506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:08:35] local.INFO: TCP Data received {"connection_id":160506,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:08:35] local.INFO: Processing buffer {"connection_id":160506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:08:35] local.INFO: IMEI packet received {"connection_id":160506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":160506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:08:37] local.INFO: TCP Data received {"connection_id":160506,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:08:37] local.INFO: Processing buffer {"connection_id":160506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:08:37] local.INFO: IMEI packet received {"connection_id":160506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":160506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:08:38] local.INFO: TCP Data received {"connection_id":160506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8daa30012d1690000725aba80021009d26..."} 
[2026-08-23 13:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8daa30012d1690000725aba80021009d26..."} 
[2026-08-23 13:08:38] local.INFO: Processing buffer {"connection_id":160506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8daa30012d1690000725aba80021009d26..."} 
[2026-08-23 13:08:38] local.INFO: Packet analysis {"connection_id":160506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8d"} 
[2026-08-23 13:08:38] local.INFO: Extracted packet for processing {"connection_id":160506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8d"} 
[2026-08-23 13:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756453376,"raw_latitude":119909288,"longitude_deg":75.6453376,"latitude_deg":11.9909288,"altitude":33,"angle":157,"satellites":38,"speed":47,"hex_longitude":"2d169000","hex_latitude":"0725aba8","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592485376001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15443061718908928,"note":"Value kept but may cause issues"} 
[2026-08-23 13:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1621366265296498688,"note":"Value kept but may cause issues"} 
[2026-08-23 13:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787470654000,"timestamp_ms":1787470654000,"timestamp_seconds":1787470654,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8daa30"} 
[2026-08-23 13:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:08: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-08-23 13: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-23 13:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13: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-08-23 13:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592485376001,"66":13939,"135":206,"83":42752,"24":47,"16":15443061718908928,"45":1621366265296498688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-23 13:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592485376001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:08:38] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-23 13:08:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15443061718908928,"km_value":15443061718908.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1621366265296498688,"description":"Unknown IO ID 45"} 
[2026-08-23 13:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592485376001,"power":13939,"unknown_135":206,"unknown_83":42752,"ignition":47,"odometer":null,"unknown_45":1621366265296498688}} 
[2026-08-23 13:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":160506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:08:38] local.INFO: GPS data processed {"connection_id":160506,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:08:38] local.INFO: Acknowledgment sent {"connection_id":160506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:08:39] local.INFO: TCP Data received {"connection_id":160506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8dc970012d169dc007258870002200a228..."} 
[2026-08-23 13:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8dc970012d169dc007258870002200a228..."} 
[2026-08-23 13:08:39] local.INFO: Processing buffer {"connection_id":160506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8dc970012d169dc007258870002200a228..."} 
[2026-08-23 13:08:39] local.INFO: Packet analysis {"connection_id":160506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8d"} 
[2026-08-23 13:08:39] local.INFO: Extracted packet for processing {"connection_id":160506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8d"} 
[2026-08-23 13:08:39] local.INFO: GPS Element Parsed {"raw_longitude":756456896,"raw_latitude":119900272,"longitude_deg":75.6456896,"latitude_deg":11.9900272,"altitude":34,"angle":162,"satellites":40,"speed":47,"hex_longitude":"2d169dc0","hex_latitude":"07258870","is_valid_coordinates":true} 
[2026-08-23 13:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592487424001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15443529870344192,"note":"Value kept but may cause issues"} 
[2026-08-23 13:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1625799496177526784,"note":"Value kept but may cause issues"} 
[2026-08-23 13:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787470662000,"timestamp_ms":1787470662000,"timestamp_seconds":1787470662,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8dc970"} 
[2026-08-23 13:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-23 13:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592487424001,"66":13939,"135":206,"83":42752,"24":47,"16":15443529870344192,"45":1625799496177526784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-23 13:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592487424001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:08:40] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-23 13:08:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15443529870344192,"km_value":15443529870344.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1625799496177526784,"description":"Unknown IO ID 45"} 
[2026-08-23 13:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592487424001,"power":13939,"unknown_135":206,"unknown_83":42752,"ignition":47,"odometer":null,"unknown_45":1625799496177526784}} 
[2026-08-23 13:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":160506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:08:40] local.INFO: GPS data processed {"connection_id":160506,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:08:40] local.INFO: Acknowledgment sent {"connection_id":160506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:08:46] local.INFO: TCP Data received {"connection_id":163093,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:08:46] local.INFO: Processing buffer {"connection_id":163093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:08:46] local.INFO: IMEI packet received {"connection_id":163093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":163093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:08:51] local.INFO: TCP Data received {"connection_id":163093,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:08:51] local.INFO: Processing buffer {"connection_id":163093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:08:51] local.INFO: IMEI packet received {"connection_id":163093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":163093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:08:52] local.INFO: TCP Data received {"connection_id":163093,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:08:52] local.INFO: Processing buffer {"connection_id":163093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:08:52] local.INFO: Packet analysis {"connection_id":163093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8a"} 
[2026-08-23 13:08:52] local.INFO: Extracted packet for processing {"connection_id":163093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8a"} 
[2026-08-23 13:08:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592360960001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787470461000,"timestamp_ms":1787470461000,"timestamp_seconds":1787470461,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8ab848"} 
[2026-08-23 13:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 13:08:52] 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-08-23 13: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-08-23 13:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:08:52] 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-08-23 13:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592360960001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592360960001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:08:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:08:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592360960001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":163093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:08:52] local.INFO: GPS data processed {"connection_id":163093,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:08:52] local.INFO: Acknowledgment sent {"connection_id":163093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:09:11] local.INFO: TCP Data received {"connection_id":160506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8ddcf8012d16a340072571c0002400ad28..."} 
[2026-08-23 13:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8ddcf8012d16a340072571c0002400ad28..."} 
[2026-08-23 13:09:11] local.INFO: Processing buffer {"connection_id":160506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8ddcf8012d16a340072571c0002400ad28..."} 
[2026-08-23 13:09:11] local.INFO: Packet analysis {"connection_id":160506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8d"} 
[2026-08-23 13:09:11] local.INFO: Extracted packet for processing {"connection_id":160506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8d"} 
[2026-08-23 13:09:11] local.INFO: GPS Element Parsed {"raw_longitude":756458304,"raw_latitude":119894464,"longitude_deg":75.6458304,"latitude_deg":11.9894464,"altitude":36,"angle":173,"satellites":40,"speed":48,"hex_longitude":"2d16a340","hex_latitude":"072571c0","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592489472001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15443817633153024,"note":"Value kept but may cause issues"} 
[2026-08-23 13:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629669777104990208,"note":"Value kept but may cause issues"} 
[2026-08-23 13:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787470667000,"timestamp_ms":1787470667000,"timestamp_seconds":1787470667,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8ddcf8"} 
[2026-08-23 13:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-23 13:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13: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-08-23 13:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592489472001,"66":13993,"135":206,"83":42752,"24":48,"16":15443817633153024,"45":1629669777104990208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-23 13:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592489472001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:09:11] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-23 13:09:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15443817633153024,"km_value":15443817633153.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629669777104990208,"description":"Unknown IO ID 45"} 
[2026-08-23 13:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592489472001,"power":13993,"unknown_135":206,"unknown_83":42752,"ignition":48,"odometer":null,"unknown_45":1629669777104990208}} 
[2026-08-23 13:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":160506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:09:11] local.INFO: GPS data processed {"connection_id":160506,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:09:11] local.INFO: Acknowledgment sent {"connection_id":160506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:09:24] local.INFO: TCP Data received {"connection_id":163093,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:09:24] local.INFO: Processing buffer {"connection_id":163093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:09:24] local.INFO: Packet analysis {"connection_id":163093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8a"} 
[2026-08-23 13:09:24] local.INFO: Extracted packet for processing {"connection_id":163093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8a"} 
[2026-08-23 13:09:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592360960001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787470461000,"timestamp_ms":1787470461000,"timestamp_seconds":1787470461,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8ab848"} 
[2026-08-23 13:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 13:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13: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-08-23 13:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592360960001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592360960001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:09:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:09:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592360960001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":163093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:09:24] local.INFO: GPS data processed {"connection_id":163093,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:09:24] local.INFO: Acknowledgment sent {"connection_id":163093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:09:30] local.INFO: TCP Data received {"connection_id":160507,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:09:30] local.INFO: Processing buffer {"connection_id":160507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:09:30] local.INFO: IMEI packet received {"connection_id":160507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":160507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:09:31] local.INFO: TCP Data received {"connection_id":160507,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:09:31] local.INFO: Processing buffer {"connection_id":160507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:09:31] local.INFO: IMEI packet received {"connection_id":160507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":160507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:09:35] local.INFO: TCP Data received {"connection_id":160507,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:09:35] local.INFO: Processing buffer {"connection_id":160507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:09:35] local.INFO: IMEI packet received {"connection_id":160507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":160507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:09:35] local.INFO: TCP Data received {"connection_id":160507,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8e90a8012d173e80072524d80021004423..."} 
[2026-08-23 13:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8e90a8012d173e80072524d80021004423..."} 
[2026-08-23 13:09:35] local.INFO: Processing buffer {"connection_id":160507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8e90a8012d173e80072524d80021004423..."} 
[2026-08-23 13:09:35] local.INFO: Packet analysis {"connection_id":160507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8e"} 
[2026-08-23 13:09:35] local.INFO: Extracted packet for processing {"connection_id":160507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8e"} 
[2026-08-23 13:09:35] local.INFO: GPS Element Parsed {"raw_longitude":756498048,"raw_latitude":119874776,"longitude_deg":75.6498048,"latitude_deg":11.9874776,"altitude":33,"angle":68,"satellites":35,"speed":49,"hex_longitude":"2d173e80","hex_latitude":"072524d8","is_valid_coordinates":true} 
[2026-08-23 13:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592500480001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15446450448105472,"note":"Value kept but may cause issues"} 
[2026-08-23 13:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1664572674209681408,"note":"Value kept but may cause issues"} 
[2026-08-23 13:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787470713000,"timestamp_ms":1787470713000,"timestamp_seconds":1787470713,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8e90a8"} 
[2026-08-23 13:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-23 13:09:35] 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-08-23 13:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592500480001,"66":14428,"187":206,"83":42752,"24":49,"16":15446450448105472,"45":1664572674209681408},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592500480001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:09:35] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:09:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15446450448105472,"km_value":15446450448105.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1664572674209681408,"description":"Unknown IO ID 45"} 
[2026-08-23 13:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592500480001,"power":14428,"unknown_187":206,"unknown_83":42752,"ignition":49,"odometer":null,"unknown_45":1664572674209681408}} 
[2026-08-23 13:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":160507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:09:35] local.INFO: GPS data processed {"connection_id":160507,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:09:35] local.INFO: Acknowledgment sent {"connection_id":160507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:09:46] local.INFO: TCP Data received {"connection_id":161685,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:09:46] local.INFO: Processing buffer {"connection_id":161685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:09:46] local.INFO: IMEI packet received {"connection_id":161685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":161685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:09:51] local.INFO: TCP Data received {"connection_id":161685,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:09:51] local.INFO: Processing buffer {"connection_id":161685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:09:51] local.INFO: IMEI packet received {"connection_id":161685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":161685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:09:52] local.INFO: TCP Data received {"connection_id":161685,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:09:52] local.INFO: Processing buffer {"connection_id":161685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8ab848012d34c50006aa40980013008524..."} 
[2026-08-23 13:09:52] local.INFO: Packet analysis {"connection_id":161685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8a"} 
[2026-08-23 13:09:52] local.INFO: Extracted packet for processing {"connection_id":161685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8a"} 
[2026-08-23 13:09:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:09: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-08-23 13:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592360960001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787470461000,"timestamp_ms":1787470461000,"timestamp_seconds":1787470461,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8ab848"} 
[2026-08-23 13:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 13:09:52] 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-08-23 13:09: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-08-23 13:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592360960001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592360960001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:09:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:09:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592360960001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":161685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:09:52] local.INFO: GPS data processed {"connection_id":161685,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:09:52] local.INFO: Acknowledgment sent {"connection_id":161685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:10:06] local.INFO: TCP Data received {"connection_id":160507,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8eb3d0012d176740072534600024004123..."} 
[2026-08-23 13:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8eb3d0012d176740072534600024004123..."} 
[2026-08-23 13:10:06] local.INFO: Processing buffer {"connection_id":160507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8eb3d0012d176740072534600024004123..."} 
[2026-08-23 13:10:06] local.INFO: Packet analysis {"connection_id":160507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8e"} 
[2026-08-23 13:10:06] local.INFO: Extracted packet for processing {"connection_id":160507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8e"} 
[2026-08-23 13:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756508480,"raw_latitude":119878752,"longitude_deg":75.650848,"latitude_deg":11.9878752,"altitude":36,"angle":65,"satellites":35,"speed":48,"hex_longitude":"2d176740","hex_latitude":"07253460","is_valid_coordinates":true} 
[2026-08-23 13:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592502528001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15446983024050176,"note":"Value kept but may cause issues"} 
[2026-08-23 13:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1674916879604701184,"note":"Value kept but may cause issues"} 
[2026-08-23 13:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787470722000,"timestamp_ms":1787470722000,"timestamp_seconds":1787470722,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8eb3d0"} 
[2026-08-23 13:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 13:10:06] 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-08-23 13:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592502528001,"66":14461,"187":206,"83":42752,"24":48,"16":15446983024050176,"45":1674916879604701184},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592502528001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:10:06] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15446983024050176,"km_value":15446983024050.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1674916879604701184,"description":"Unknown IO ID 45"} 
[2026-08-23 13:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592502528001,"power":14461,"unknown_187":206,"unknown_83":42752,"ignition":48,"odometer":null,"unknown_45":1674916879604701184}} 
[2026-08-23 13:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":160507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:10:06] local.INFO: GPS data processed {"connection_id":160507,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:10:06] local.INFO: Acknowledgment sent {"connection_id":160507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:10:24] local.INFO: TCP Data received {"connection_id":161685,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:10:24] local.INFO: Processing buffer {"connection_id":161685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:10:24] local.INFO: Packet analysis {"connection_id":161685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8f"} 
[2026-08-23 13:10:24] local.INFO: Extracted packet for processing {"connection_id":161685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8f"} 
[2026-08-23 13:10:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592438016001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787470762000,"timestamp_ms":1787470762000,"timestamp_seconds":1787470762,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8f5010"} 
[2026-08-23 13:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:10:24] 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-08-23 13:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592438016001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592438016001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:10:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:10:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592438016001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":161685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:10:24] local.INFO: GPS data processed {"connection_id":161685,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:10:24] local.INFO: Acknowledgment sent {"connection_id":161685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:10:30] local.INFO: TCP Data received {"connection_id":160756,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:10:30] local.INFO: Processing buffer {"connection_id":160756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:10:30] local.INFO: IMEI packet received {"connection_id":160756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":160756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:10:30] local.INFO: TCP Data received {"connection_id":160756,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:10:30] local.INFO: Processing buffer {"connection_id":160756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:10:30] local.INFO: IMEI packet received {"connection_id":160756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":160756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:10:35] local.INFO: TCP Data received {"connection_id":160756,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:10:35] local.INFO: Processing buffer {"connection_id":160756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:10:35] local.INFO: IMEI packet received {"connection_id":160756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":160756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:10:35] local.INFO: TCP Data received {"connection_id":160756,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8f6f50012d182480072585400020000a24..."} 
[2026-08-23 13:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8f6f50012d182480072585400020000a24..."} 
[2026-08-23 13:10:35] local.INFO: Processing buffer {"connection_id":160756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8f6f50012d182480072585400020000a24..."} 
[2026-08-23 13:10:35] local.INFO: Packet analysis {"connection_id":160756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8f"} 
[2026-08-23 13:10:35] local.INFO: Extracted packet for processing {"connection_id":160756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8f"} 
[2026-08-23 13:10:35] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119899456,"longitude_deg":75.6556928,"latitude_deg":11.9899456,"altitude":32,"angle":10,"satellites":36,"speed":45,"hex_longitude":"2d182480","hex_latitude":"07258540","is_valid_coordinates":true} 
[2026-08-23 13:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592516352001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15449663083642880,"note":"Value kept but may cause issues"} 
[2026-08-23 13:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855602655232,"note":"Value kept but may cause issues"} 
[2026-08-23 13:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787470770000,"timestamp_ms":1787470770000,"timestamp_seconds":1787470770,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8f6f50"} 
[2026-08-23 13:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 13:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592516352001,"66":13972,"187":206,"83":42752,"24":45,"16":15449663083642880,"45":1738459855602655232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592516352001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:10:35] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:10:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15449663083642880,"km_value":15449663083642.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855602655232,"description":"Unknown IO ID 45"} 
[2026-08-23 13:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592516352001,"power":13972,"unknown_187":206,"unknown_83":42752,"ignition":45,"odometer":null,"unknown_45":1738459855602655232}} 
[2026-08-23 13:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":160756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:10:35] local.INFO: GPS data processed {"connection_id":160756,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:10:35] local.INFO: Acknowledgment sent {"connection_id":160756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:10:46] local.INFO: TCP Data received {"connection_id":163094,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:10:46] local.INFO: Processing buffer {"connection_id":163094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:10:46] local.INFO: IMEI packet received {"connection_id":163094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":163094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:10:51] local.INFO: TCP Data received {"connection_id":163094,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:10:51] local.INFO: Processing buffer {"connection_id":163094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:10:51] local.INFO: IMEI packet received {"connection_id":163094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":163094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:10:52] local.INFO: TCP Data received {"connection_id":163094,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:10:52] local.INFO: Processing buffer {"connection_id":163094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:10:52] local.INFO: Packet analysis {"connection_id":163094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8f"} 
[2026-08-23 13:10:52] local.INFO: Extracted packet for processing {"connection_id":163094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8f"} 
[2026-08-23 13:10:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592438016001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787470762000,"timestamp_ms":1787470762000,"timestamp_seconds":1787470762,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8f5010"} 
[2026-08-23 13:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:10:52] 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-08-23 13:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:10:52] 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-08-23 13:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592438016001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592438016001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:10:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:10:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592438016001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":163094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:10:52] local.INFO: GPS data processed {"connection_id":163094,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:10:52] local.INFO: Acknowledgment sent {"connection_id":163094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:11:08] local.INFO: TCP Data received {"connection_id":160756,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d901f18012d18ab800725c0d0002f001629..."} 
[2026-08-23 13:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d901f18012d18ab800725c0d0002f001629..."} 
[2026-08-23 13:11:08] local.INFO: Processing buffer {"connection_id":160756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d901f18012d18ab800725c0d0002f001629..."} 
[2026-08-23 13:11:08] local.INFO: Packet analysis {"connection_id":160756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d90"} 
[2026-08-23 13:11:08] local.INFO: Extracted packet for processing {"connection_id":160756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d90"} 
[2026-08-23 13:11:08] local.INFO: GPS Element Parsed {"raw_longitude":756591488,"raw_latitude":119914704,"longitude_deg":75.6591488,"latitude_deg":11.9914704,"altitude":47,"angle":22,"satellites":41,"speed":35,"hex_longitude":"2d18ab80","hex_latitude":"0725c0d0","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592528128001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15451823452192768,"note":"Value kept but may cause issues"} 
[2026-08-23 13:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777162664904599552,"note":"Value kept but may cause issues"} 
[2026-08-23 13:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787470815000,"timestamp_ms":1787470815000,"timestamp_seconds":1787470815,"priority":1,"record_length":96,"hex_timestamp":"000001a02d901f18"} 
[2026-08-23 13:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 13:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13: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-08-23 13:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592528128001,"66":14004,"187":206,"83":42752,"24":35,"16":15451823452192768,"45":1777162664904599552},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592528128001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:11:08] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:11:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15451823452192768,"km_value":15451823452192.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777162664904599552,"description":"Unknown IO ID 45"} 
[2026-08-23 13:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592528128001,"power":14004,"unknown_187":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1777162664904599552}} 
[2026-08-23 13:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":160756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:11:08] local.INFO: GPS data processed {"connection_id":160756,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:11:08] local.INFO: Acknowledgment sent {"connection_id":160756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:11:24] local.INFO: TCP Data received {"connection_id":163094,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:11:24] local.INFO: Processing buffer {"connection_id":163094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:11:24] local.INFO: Packet analysis {"connection_id":163094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8f"} 
[2026-08-23 13:11:24] local.INFO: Extracted packet for processing {"connection_id":163094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8f"} 
[2026-08-23 13:11:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592438016001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787470762000,"timestamp_ms":1787470762000,"timestamp_seconds":1787470762,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8f5010"} 
[2026-08-23 13:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:11:24] 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-08-23 13:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:11: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-08-23 13:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592438016001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592438016001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:11:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:11:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592438016001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":163094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:11:24] local.INFO: GPS data processed {"connection_id":163094,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:11:24] local.INFO: Acknowledgment sent {"connection_id":163094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:11:29] local.INFO: TCP Data received {"connection_id":160508,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:11:29] local.INFO: Processing buffer {"connection_id":160508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:11:29] local.INFO: IMEI packet received {"connection_id":160508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":160508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:11:30] local.INFO: TCP Data received {"connection_id":160508,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:11:30] local.INFO: Processing buffer {"connection_id":160508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:11:30] local.INFO: IMEI packet received {"connection_id":160508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":160508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:11:34] local.INFO: TCP Data received {"connection_id":160508,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:11:34] local.INFO: Processing buffer {"connection_id":160508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:11:34] local.INFO: IMEI packet received {"connection_id":160508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":160508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:11:35] local.INFO: TCP Data received {"connection_id":160508,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9026e8012d18af000725c6a80031002829..."} 
[2026-08-23 13:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9026e8012d18af000725c6a80031002829..."} 
[2026-08-23 13:11:35] local.INFO: Processing buffer {"connection_id":160508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9026e8012d18af000725c6a80031002829..."} 
[2026-08-23 13:11:35] local.INFO: Packet analysis {"connection_id":160508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d90"} 
[2026-08-23 13:11:35] local.INFO: Extracted packet for processing {"connection_id":160508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d90"} 
[2026-08-23 13:11:35] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119916200,"longitude_deg":75.6592384,"latitude_deg":11.99162,"altitude":49,"angle":40,"satellites":41,"speed":34,"hex_longitude":"2d18af00","hex_latitude":"0725c6a8","is_valid_coordinates":true} 
[2026-08-23 13:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592528640001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15451909351538688,"note":"Value kept but may cause issues"} 
[2026-08-23 13:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777655246114312192,"note":"Value kept but may cause issues"} 
[2026-08-23 13:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787470817000,"timestamp_ms":1787470817000,"timestamp_seconds":1787470817,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9026e8"} 
[2026-08-23 13:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-23 13:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592528640001,"66":13961,"187":206,"83":42752,"24":34,"16":15451909351538688,"45":1777655246114312192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592528640001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:11:35] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:11:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15451909351538688,"km_value":15451909351538.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777655246114312192,"description":"Unknown IO ID 45"} 
[2026-08-23 13:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592528640001,"power":13961,"unknown_187":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1777655246114312192}} 
[2026-08-23 13:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":160508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:11:35] local.INFO: GPS data processed {"connection_id":160508,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:11:35] local.INFO: Acknowledgment sent {"connection_id":160508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:11:46] local.INFO: TCP Data received {"connection_id":161686,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:11:46] local.INFO: Processing buffer {"connection_id":161686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:11:46] local.INFO: IMEI packet received {"connection_id":161686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":161686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:11:51] local.INFO: TCP Data received {"connection_id":161686,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:11:51] local.INFO: Processing buffer {"connection_id":161686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:11:51] local.INFO: IMEI packet received {"connection_id":161686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":161686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:11:52] local.INFO: TCP Data received {"connection_id":161686,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:11:52] local.INFO: Processing buffer {"connection_id":161686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:11:52] local.INFO: Packet analysis {"connection_id":161686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8f"} 
[2026-08-23 13:11:52] local.INFO: Extracted packet for processing {"connection_id":161686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8f"} 
[2026-08-23 13:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592438016001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787470762000,"timestamp_ms":1787470762000,"timestamp_seconds":1787470762,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8f5010"} 
[2026-08-23 13:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:11:52] 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-08-23 13:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592438016001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592438016001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:11:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592438016001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":161686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:11:52] local.INFO: GPS data processed {"connection_id":161686,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:11:52] local.INFO: Acknowledgment sent {"connection_id":161686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:12:06] local.INFO: TCP Data received {"connection_id":160508,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d902eb8012d18b4800725cb700031003429..."} 
[2026-08-23 13:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d902eb8012d18b4800725cb700031003429..."} 
[2026-08-23 13:12:06] local.INFO: Processing buffer {"connection_id":160508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d902eb8012d18b4800725cb700031003429..."} 
[2026-08-23 13:12:06] local.INFO: Packet analysis {"connection_id":160508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d90"} 
[2026-08-23 13:12:06] local.INFO: Extracted packet for processing {"connection_id":160508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d90"} 
[2026-08-23 13:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756593792,"raw_latitude":119917424,"longitude_deg":75.6593792,"latitude_deg":11.9917424,"altitude":49,"angle":52,"satellites":41,"speed":35,"hex_longitude":"2d18b480","hex_latitude":"0725cb70","is_valid_coordinates":true} 
[2026-08-23 13:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592529152001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15451995250884608,"note":"Value kept but may cause issues"} 
[2026-08-23 13:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408533182464,"note":"Value kept but may cause issues"} 
[2026-08-23 13:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787470819000,"timestamp_ms":1787470819000,"timestamp_seconds":1787470819,"priority":1,"record_length":96,"hex_timestamp":"000001a02d902eb8"} 
[2026-08-23 13:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-23 13:12:06] 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-08-23 13:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592529152001,"66":14070,"187":206,"83":42752,"24":35,"16":15451995250884608,"45":1778640408533182464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592529152001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:12:06] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15451995250884608,"km_value":15451995250884.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408533182464,"description":"Unknown IO ID 45"} 
[2026-08-23 13:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592529152001,"power":14070,"unknown_187":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1778640408533182464}} 
[2026-08-23 13:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":160508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:12:06] local.INFO: GPS data processed {"connection_id":160508,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:12:06] local.INFO: Acknowledgment sent {"connection_id":160508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:12:24] local.INFO: TCP Data received {"connection_id":161686,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:12:24] local.INFO: Processing buffer {"connection_id":161686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:12:24] local.INFO: Packet analysis {"connection_id":161686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8f"} 
[2026-08-23 13:12:24] local.INFO: Extracted packet for processing {"connection_id":161686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8f"} 
[2026-08-23 13:12:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592438016001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787470762000,"timestamp_ms":1787470762000,"timestamp_seconds":1787470762,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8f5010"} 
[2026-08-23 13:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:12:24] 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-08-23 13:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592438016001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592438016001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:12:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:12:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592438016001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":161686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:12:24] local.INFO: GPS data processed {"connection_id":161686,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:12:24] local.INFO: Acknowledgment sent {"connection_id":161686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:12:30] local.INFO: TCP Data received {"connection_id":163095,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:12:30] local.INFO: Processing buffer {"connection_id":163095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:12:30] local.INFO: IMEI packet received {"connection_id":163095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":163095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:12:32] local.INFO: TCP Data received {"connection_id":163095,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:12:32] local.INFO: Processing buffer {"connection_id":163095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:12:32] local.INFO: IMEI packet received {"connection_id":163095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":163095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:12:34] local.INFO: TCP Data received {"connection_id":163095,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:12:34] local.INFO: Processing buffer {"connection_id":163095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:12:34] local.INFO: IMEI packet received {"connection_id":163095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":163095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:12:40] local.INFO: TCP Data received {"connection_id":163095,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:12:40] local.INFO: Processing buffer {"connection_id":163095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:12:40] local.INFO: IMEI packet received {"connection_id":163095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":163095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:12:46] local.INFO: TCP Data received {"connection_id":160757,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:12:46] local.INFO: Processing buffer {"connection_id":160757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:12:46] local.INFO: IMEI packet received {"connection_id":160757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":160757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:12:51] local.INFO: TCP Data received {"connection_id":160757,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:12:51] local.INFO: Processing buffer {"connection_id":160757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:12:51] local.INFO: IMEI packet received {"connection_id":160757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":160757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:12:52] local.INFO: TCP Data received {"connection_id":160757,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:12:52] local.INFO: Processing buffer {"connection_id":160757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:12:52] local.INFO: Packet analysis {"connection_id":160757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8f"} 
[2026-08-23 13:12:52] local.INFO: Extracted packet for processing {"connection_id":160757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8f"} 
[2026-08-23 13:12:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592438016001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787470762000,"timestamp_ms":1787470762000,"timestamp_seconds":1787470762,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8f5010"} 
[2026-08-23 13:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:12:52] 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-08-23 13: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-08-23 13:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592438016001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592438016001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:12:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:12:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592438016001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":160757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:12:52] local.INFO: GPS data processed {"connection_id":160757,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:12:52] local.INFO: Acknowledgment sent {"connection_id":160757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:13:24] local.INFO: TCP Data received {"connection_id":160757,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:13:24] local.INFO: Processing buffer {"connection_id":160757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:13:24] local.INFO: Packet analysis {"connection_id":160757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8f"} 
[2026-08-23 13:13:24] local.INFO: Extracted packet for processing {"connection_id":160757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8f"} 
[2026-08-23 13:13:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592438016001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787470762000,"timestamp_ms":1787470762000,"timestamp_seconds":1787470762,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8f5010"} 
[2026-08-23 13:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:13:24] 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-08-23 13:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592438016001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592438016001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:13:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:13:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592438016001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":160757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:13:24] local.INFO: GPS data processed {"connection_id":160757,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:13:24] local.INFO: Acknowledgment sent {"connection_id":160757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:13:46] local.INFO: TCP Data received {"connection_id":161688,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:13:46] local.INFO: Processing buffer {"connection_id":161688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:13:46] local.INFO: IMEI packet received {"connection_id":161688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":161688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:13:51] local.INFO: TCP Data received {"connection_id":161688,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:13:51] local.INFO: Processing buffer {"connection_id":161688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:13:51] local.INFO: IMEI packet received {"connection_id":161688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":161688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:13:52] local.INFO: TCP Data received {"connection_id":161688,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:13:52] local.INFO: Processing buffer {"connection_id":161688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:13:52] local.INFO: Packet analysis {"connection_id":161688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8f"} 
[2026-08-23 13:13:52] local.INFO: Extracted packet for processing {"connection_id":161688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8f"} 
[2026-08-23 13:13:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592438016001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787470762000,"timestamp_ms":1787470762000,"timestamp_seconds":1787470762,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8f5010"} 
[2026-08-23 13:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:13:52] 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-08-23 13:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592438016001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592438016001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:13:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:13:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592438016001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":161688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:13:52] local.INFO: GPS data processed {"connection_id":161688,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:13:52] local.INFO: Acknowledgment sent {"connection_id":161688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:14:23] local.INFO: TCP Data received {"connection_id":161688,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:14:23] local.INFO: Processing buffer {"connection_id":161688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:14:23] local.INFO: Packet analysis {"connection_id":161688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8f"} 
[2026-08-23 13:14:23] local.INFO: Extracted packet for processing {"connection_id":161688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8f"} 
[2026-08-23 13:14:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592438016001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787470762000,"timestamp_ms":1787470762000,"timestamp_seconds":1787470762,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8f5010"} 
[2026-08-23 13:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:14:23] 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-08-23 13: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-08-23 13:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592438016001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592438016001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:14:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:14:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592438016001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":161688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:14:23] local.INFO: GPS data processed {"connection_id":161688,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:14:23] local.INFO: Acknowledgment sent {"connection_id":161688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:14:46] local.INFO: TCP Data received {"connection_id":161689,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:14:46] local.INFO: Processing buffer {"connection_id":161689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:14:46] local.INFO: IMEI packet received {"connection_id":161689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":161689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:14:51] local.INFO: TCP Data received {"connection_id":161689,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:14:51] local.INFO: Processing buffer {"connection_id":161689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:14:51] local.INFO: IMEI packet received {"connection_id":161689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":161689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:14:52] local.INFO: TCP Data received {"connection_id":161689,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:14:52] local.INFO: Processing buffer {"connection_id":161689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d8f5010012d34c50006aa40980013008523..."} 
[2026-08-23 13:14:52] local.INFO: Packet analysis {"connection_id":161689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d8f"} 
[2026-08-23 13:14:52] local.INFO: Extracted packet for processing {"connection_id":161689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d8f"} 
[2026-08-23 13:14:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592438016001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787470762000,"timestamp_ms":1787470762000,"timestamp_seconds":1787470762,"priority":1,"record_length":96,"hex_timestamp":"000001a02d8f5010"} 
[2026-08-23 13:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:14:52] 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-08-23 13:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592438016001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592438016001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:14:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:14:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592438016001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":161689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:14:52] local.INFO: GPS data processed {"connection_id":161689,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:14:52] local.INFO: Acknowledgment sent {"connection_id":161689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:15:23] local.INFO: TCP Data received {"connection_id":161689,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:15:23] local.INFO: Processing buffer {"connection_id":161689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:15:23] local.INFO: Packet analysis {"connection_id":161689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d93"} 
[2026-08-23 13:15:23] local.INFO: Extracted packet for processing {"connection_id":161689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d93"} 
[2026-08-23 13:15:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592515072001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787471063000,"timestamp_ms":1787471063000,"timestamp_seconds":1787471063,"priority":1,"record_length":96,"hex_timestamp":"000001a02d93e7d8"} 
[2026-08-23 13:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 13:15:23] 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-08-23 13:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592515072001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592515072001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:15:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:15:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592515072001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":161689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:15:23] local.INFO: GPS data processed {"connection_id":161689,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:15:23] local.INFO: Acknowledgment sent {"connection_id":161689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:15:46] local.INFO: TCP Data received {"connection_id":160509,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:15:46] local.INFO: Processing buffer {"connection_id":160509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:15:46] local.INFO: IMEI packet received {"connection_id":160509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":160509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:15:51] local.INFO: TCP Data received {"connection_id":160509,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:15:51] local.INFO: Processing buffer {"connection_id":160509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:15:51] local.INFO: IMEI packet received {"connection_id":160509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":160509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:15:52] local.INFO: TCP Data received {"connection_id":160509,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:15:52] local.INFO: Processing buffer {"connection_id":160509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:15:52] local.INFO: Packet analysis {"connection_id":160509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d93"} 
[2026-08-23 13:15:52] local.INFO: Extracted packet for processing {"connection_id":160509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d93"} 
[2026-08-23 13:15:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:15: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-08-23 13:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592515072001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787471063000,"timestamp_ms":1787471063000,"timestamp_seconds":1787471063,"priority":1,"record_length":96,"hex_timestamp":"000001a02d93e7d8"} 
[2026-08-23 13:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 13:15:52] 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-08-23 13:15: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-08-23 13:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:15:52] 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-08-23 13:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592515072001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592515072001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:15:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:15:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592515072001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":160509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:15:52] local.INFO: GPS data processed {"connection_id":160509,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:15:52] local.INFO: Acknowledgment sent {"connection_id":160509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:16:24] local.INFO: TCP Data received {"connection_id":160509,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:16:24] local.INFO: Processing buffer {"connection_id":160509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:16:24] local.INFO: Packet analysis {"connection_id":160509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d93"} 
[2026-08-23 13:16:24] local.INFO: Extracted packet for processing {"connection_id":160509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d93"} 
[2026-08-23 13:16:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:16: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-08-23 13:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592515072001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787471063000,"timestamp_ms":1787471063000,"timestamp_seconds":1787471063,"priority":1,"record_length":96,"hex_timestamp":"000001a02d93e7d8"} 
[2026-08-23 13:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 13:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:16: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-08-23 13:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:16:24] 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-08-23 13:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592515072001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592515072001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:16:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:16:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592515072001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":160509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:16:24] local.INFO: GPS data processed {"connection_id":160509,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:16:24] local.INFO: Acknowledgment sent {"connection_id":160509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:16:46] local.INFO: TCP Data received {"connection_id":161691,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:16:46] local.INFO: Processing buffer {"connection_id":161691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:16:46] local.INFO: IMEI packet received {"connection_id":161691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":161691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:16:51] local.INFO: TCP Data received {"connection_id":161691,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:16:51] local.INFO: Processing buffer {"connection_id":161691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:16:51] local.INFO: IMEI packet received {"connection_id":161691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":161691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:16:52] local.INFO: TCP Data received {"connection_id":161691,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:16:52] local.INFO: Processing buffer {"connection_id":161691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:16:52] local.INFO: Packet analysis {"connection_id":161691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d93"} 
[2026-08-23 13:16:52] local.INFO: Extracted packet for processing {"connection_id":161691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d93"} 
[2026-08-23 13:16:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:16: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-08-23 13:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592515072001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787471063000,"timestamp_ms":1787471063000,"timestamp_seconds":1787471063,"priority":1,"record_length":96,"hex_timestamp":"000001a02d93e7d8"} 
[2026-08-23 13:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 13:16:52] 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-08-23 13:16: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-08-23 13:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:16:52] 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-08-23 13:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592515072001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592515072001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:16:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:16:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592515072001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":161691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:16:52] local.INFO: GPS data processed {"connection_id":161691,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:16:52] local.INFO: Acknowledgment sent {"connection_id":161691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:17:23] local.INFO: TCP Data received {"connection_id":161691,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:17:23] local.INFO: Processing buffer {"connection_id":161691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:17:23] local.INFO: Packet analysis {"connection_id":161691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d93"} 
[2026-08-23 13:17:23] local.INFO: Extracted packet for processing {"connection_id":161691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d93"} 
[2026-08-23 13:17:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592515072001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787471063000,"timestamp_ms":1787471063000,"timestamp_seconds":1787471063,"priority":1,"record_length":96,"hex_timestamp":"000001a02d93e7d8"} 
[2026-08-23 13:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 13:17:23] 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-08-23 13:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:17:23] 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-08-23 13:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592515072001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592515072001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:17:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:17:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592515072001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":161691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:17:23] local.INFO: GPS data processed {"connection_id":161691,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:17:23] local.INFO: Acknowledgment sent {"connection_id":161691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:17:37] local.INFO: TCP Data received {"connection_id":163097,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:17:37] local.INFO: Processing buffer {"connection_id":163097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:17:37] local.INFO: IMEI packet received {"connection_id":163097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":163097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:17:38] local.INFO: TCP Data received {"connection_id":163097,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9585e8012d1b648007255f680029012629..."} 
[2026-08-23 13:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9585e8012d1b648007255f680029012629..."} 
[2026-08-23 13:17:38] local.INFO: Processing buffer {"connection_id":163097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9585e8012d1b648007255f680029012629..."} 
[2026-08-23 13:17:38] local.INFO: Packet analysis {"connection_id":163097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d95"} 
[2026-08-23 13:17:38] local.INFO: Extracted packet for processing {"connection_id":163097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d95"} 
[2026-08-23 13:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756769920,"raw_latitude":119889768,"longitude_deg":75.676992,"latitude_deg":11.9889768,"altitude":41,"angle":294,"satellites":41,"speed":10,"hex_longitude":"2d1b6480","hex_latitude":"07255f68","is_valid_coordinates":true} 
[2026-08-23 13:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592619008001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15463553007878144,"note":"Value kept but may cause issues"} 
[2026-08-23 13:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974124779851958272,"note":"Value kept but may cause issues"} 
[2026-08-23 13:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787471169000,"timestamp_ms":1787471169000,"timestamp_seconds":1787471169,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9585e8"} 
[2026-08-23 13:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 13:17: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-08-23 13:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592619008001,"66":14428,"217":206,"83":42752,"24":10,"16":15463553007878144,"45":1974124779851958272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 13:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592619008001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:17:38] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 13:17:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15463553007878144,"km_value":15463553007878.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974124779851958272,"description":"Unknown IO ID 45"} 
[2026-08-23 13:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592619008001,"power":14428,"unknown_217":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1974124779851958272}} 
[2026-08-23 13:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":163097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:17:38] local.INFO: GPS data processed {"connection_id":163097,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:17:38] local.INFO: Acknowledgment sent {"connection_id":163097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:17:46] local.INFO: TCP Data received {"connection_id":160510,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:17:46] local.INFO: Processing buffer {"connection_id":160510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:17:46] local.INFO: IMEI packet received {"connection_id":160510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":160510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:17:51] local.INFO: TCP Data received {"connection_id":160510,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:17:51] local.INFO: Processing buffer {"connection_id":160510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:17:51] local.INFO: IMEI packet received {"connection_id":160510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":160510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:17:53] local.INFO: TCP Data received {"connection_id":160510,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:17:53] local.INFO: Processing buffer {"connection_id":160510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:17:53] local.INFO: Packet analysis {"connection_id":160510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d93"} 
[2026-08-23 13:17:53] local.INFO: Extracted packet for processing {"connection_id":160510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d93"} 
[2026-08-23 13:17:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:17: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-08-23 13:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592515072001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787471063000,"timestamp_ms":1787471063000,"timestamp_seconds":1787471063,"priority":1,"record_length":96,"hex_timestamp":"000001a02d93e7d8"} 
[2026-08-23 13:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 13:17:53] 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-08-23 13:17: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-08-23 13:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:17:53] 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-08-23 13:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592515072001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592515072001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:17:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:17:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592515072001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":160510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:17:53] local.INFO: GPS data processed {"connection_id":160510,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:17:53] local.INFO: Acknowledgment sent {"connection_id":160510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:18:08] local.INFO: TCP Data received {"connection_id":163097,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d96b698012d1b580007261960002b003527..."} 
[2026-08-23 13:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d96b698012d1b580007261960002b003527..."} 
[2026-08-23 13:18:08] local.INFO: Processing buffer {"connection_id":163097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d96b698012d1b580007261960002b003527..."} 
[2026-08-23 13:18:08] local.INFO: Packet analysis {"connection_id":163097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d96"} 
[2026-08-23 13:18:08] local.INFO: Extracted packet for processing {"connection_id":163097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d96"} 
[2026-08-23 13:18:08] local.INFO: GPS Element Parsed {"raw_longitude":756766720,"raw_latitude":119937376,"longitude_deg":75.676672,"latitude_deg":11.9937376,"altitude":43,"angle":53,"satellites":39,"speed":14,"hex_longitude":"2d1b5800","hex_latitude":"07261960","is_valid_coordinates":true} 
[2026-08-23 13:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592638720001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15466129988255744,"note":"Value kept but may cause issues"} 
[2026-08-23 13:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969902655213400064,"note":"Value kept but may cause issues"} 
[2026-08-23 13:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787471247000,"timestamp_ms":1787471247000,"timestamp_seconds":1787471247,"priority":1,"record_length":96,"hex_timestamp":"000001a02d96b698"} 
[2026-08-23 13:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 13:18: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-08-23 13:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592638720001,"66":14396,"215":206,"83":42752,"24":14,"16":15466129988255744,"45":1969902655213400064},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-23 13:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592638720001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:18:08] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-23 13:18:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15466129988255744,"km_value":15466129988255.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969902655213400064,"description":"Unknown IO ID 45"} 
[2026-08-23 13:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592638720001,"power":14396,"unknown_215":206,"unknown_83":42752,"ignition":14,"odometer":null,"unknown_45":1969902655213400064}} 
[2026-08-23 13:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":163097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:18:09] local.INFO: GPS data processed {"connection_id":163097,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:18:09] local.INFO: Acknowledgment sent {"connection_id":163097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:18:24] local.INFO: TCP Data received {"connection_id":160510,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:18:24] local.INFO: Processing buffer {"connection_id":160510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:18:24] local.INFO: Packet analysis {"connection_id":160510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d93"} 
[2026-08-23 13:18:24] local.INFO: Extracted packet for processing {"connection_id":160510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d93"} 
[2026-08-23 13:18:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592515072001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787471063000,"timestamp_ms":1787471063000,"timestamp_seconds":1787471063,"priority":1,"record_length":96,"hex_timestamp":"000001a02d93e7d8"} 
[2026-08-23 13:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 13:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592515072001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592515072001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:18:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:18:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592515072001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":160510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:18:24] local.INFO: GPS data processed {"connection_id":160510,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:18:24] local.INFO: Acknowledgment sent {"connection_id":160510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:18:30] local.INFO: TCP Data received {"connection_id":160759,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:18:30] local.INFO: Processing buffer {"connection_id":160759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:18:30] local.INFO: IMEI packet received {"connection_id":160759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":160759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:18:31] local.INFO: TCP Data received {"connection_id":160759,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:18:31] local.INFO: Processing buffer {"connection_id":160759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:18:31] local.INFO: IMEI packet received {"connection_id":160759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":160759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:18:32] local.INFO: TCP Data received {"connection_id":160759,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d96ba80012d1b598007261a10002b004327..."} 
[2026-08-23 13:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d96ba80012d1b598007261a10002b004327..."} 
[2026-08-23 13:18:32] local.INFO: Processing buffer {"connection_id":160759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d96ba80012d1b598007261a10002b004327..."} 
[2026-08-23 13:18:32] local.INFO: Packet analysis {"connection_id":160759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d96"} 
[2026-08-23 13:18:32] local.INFO: Extracted packet for processing {"connection_id":160759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d96"} 
[2026-08-23 13:18:32] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":119937552,"longitude_deg":75.6767104,"latitude_deg":11.9937552,"altitude":43,"angle":67,"satellites":39,"speed":15,"hex_longitude":"2d1b5980","hex_latitude":"07261a10","is_valid_coordinates":true} 
[2026-08-23 13:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592639232001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15466151463092224,"note":"Value kept but may cause issues"} 
[2026-08-23 13:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970324867678560256,"note":"Value kept but may cause issues"} 
[2026-08-23 13:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787471248000,"timestamp_ms":1787471248000,"timestamp_seconds":1787471248,"priority":1,"record_length":96,"hex_timestamp":"000001a02d96ba80"} 
[2026-08-23 13:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-23 13:18:32] 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-08-23 13:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592639232001,"66":14135,"215":206,"83":42752,"24":15,"16":15466151463092224,"45":1970324867678560256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-23 13:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592639232001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:18:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-23 13:18:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15466151463092224,"km_value":15466151463092.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970324867678560256,"description":"Unknown IO ID 45"} 
[2026-08-23 13:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592639232001,"power":14135,"unknown_215":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1970324867678560256}} 
[2026-08-23 13:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":160759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:18:32] local.INFO: GPS data processed {"connection_id":160759,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:18:32] local.INFO: Acknowledgment sent {"connection_id":160759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:18:34] local.INFO: TCP Data received {"connection_id":160759,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d96c250012d1b5c8007261ad8002b005428..."} 
[2026-08-23 13:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d96c250012d1b5c8007261ad8002b005428..."} 
[2026-08-23 13:18:34] local.INFO: Processing buffer {"connection_id":160759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d96c250012d1b5c8007261ad8002b005428..."} 
[2026-08-23 13:18:34] local.INFO: Packet analysis {"connection_id":160759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d96"} 
[2026-08-23 13:18:34] local.INFO: Extracted packet for processing {"connection_id":160759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d96"} 
[2026-08-23 13:18:34] local.INFO: GPS Element Parsed {"raw_longitude":756767872,"raw_latitude":119937752,"longitude_deg":75.6767872,"latitude_deg":11.9937752,"altitude":43,"angle":84,"satellites":40,"speed":16,"hex_longitude":"2d1b5c80","hex_latitude":"07261ad8","is_valid_coordinates":true} 
[2026-08-23 13:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592639488001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15466190117797888,"note":"Value kept but may cause issues"} 
[2026-08-23 13:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747080143671296,"note":"Value kept but may cause issues"} 
[2026-08-23 13:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787471250000,"timestamp_ms":1787471250000,"timestamp_seconds":1787471250,"priority":1,"record_length":96,"hex_timestamp":"000001a02d96c250"} 
[2026-08-23 13:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-23 13:18:34] 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-08-23 13:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592639488001,"66":14374,"215":206,"83":42752,"24":16,"16":15466190117797888,"45":1970747080143671296},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-23 13:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592639488001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:18:34] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-23 13:18:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15466190117797888,"km_value":15466190117797.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747080143671296,"description":"Unknown IO ID 45"} 
[2026-08-23 13:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592639488001,"power":14374,"unknown_215":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1970747080143671296}} 
[2026-08-23 13:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":160759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:18:34] local.INFO: GPS data processed {"connection_id":160759,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:18:34] local.INFO: Acknowledgment sent {"connection_id":160759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:18:46] local.INFO: TCP Data received {"connection_id":163098,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:18:46] local.INFO: Processing buffer {"connection_id":163098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:18:46] local.INFO: IMEI packet received {"connection_id":163098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":163098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:18:51] local.INFO: TCP Data received {"connection_id":163098,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:18:51] local.INFO: Processing buffer {"connection_id":163098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:18:51] local.INFO: IMEI packet received {"connection_id":163098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":163098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:18:52] local.INFO: TCP Data received {"connection_id":163098,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:18:52] local.INFO: Processing buffer {"connection_id":163098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:18:52] local.INFO: Packet analysis {"connection_id":163098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d93"} 
[2026-08-23 13:18:52] local.INFO: Extracted packet for processing {"connection_id":163098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d93"} 
[2026-08-23 13:18:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592515072001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787471063000,"timestamp_ms":1787471063000,"timestamp_seconds":1787471063,"priority":1,"record_length":96,"hex_timestamp":"000001a02d93e7d8"} 
[2026-08-23 13:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 13:18:52] 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-08-23 13:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:18:52] 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-08-23 13:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592515072001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592515072001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:18:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:18:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592515072001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":163098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:18:52] local.INFO: GPS data processed {"connection_id":163098,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:18:52] local.INFO: Acknowledgment sent {"connection_id":163098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:19:05] local.INFO: TCP Data received {"connection_id":160759,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02d96ca20012d1b608007261ab0002b006127..."} 
[2026-08-23 13:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d96ca20012d1b608007261ab0002b006127..."} 
[2026-08-23 13:19:05] local.INFO: Processing buffer {"connection_id":160759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d96ca20012d1b608007261ab0002b006127..."} 
[2026-08-23 13:19:05] local.INFO: Packet analysis {"connection_id":160759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d96"} 
[2026-08-23 13:19:05] local.INFO: Extracted packet for processing {"connection_id":160759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d96"} 
[2026-08-23 13:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756768896,"raw_latitude":119937712,"longitude_deg":75.6768896,"latitude_deg":11.9937712,"altitude":43,"angle":97,"satellites":39,"speed":21,"hex_longitude":"2d1b6080","hex_latitude":"07261ab0","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592640000001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15466237362438144,"note":"Value kept but may cause issues"} 
[2026-08-23 13:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971591505073854464,"note":"Value kept but may cause issues"} 
[2026-08-23 13:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787471252000,"timestamp_ms":1787471252000,"timestamp_seconds":1787471252,"priority":1,"record_length":96,"hex_timestamp":"000001a02d96ca20"} 
[2026-08-23 13:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-23 13:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13: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-08-23 13:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592640000001,"66":14374,"215":206,"83":42752,"24":21,"16":15466237362438144,"45":1971591505073854464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-08-23 13:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592640000001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:19:05] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-23 13:19:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15466237362438144,"km_value":15466237362438.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971591505073854464,"description":"Unknown IO ID 45"} 
[2026-08-23 13:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592640000001,"power":14374,"unknown_215":206,"unknown_83":42752,"ignition":21,"odometer":null,"unknown_45":1971591505073854464}} 
[2026-08-23 13:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":160759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:19:05] local.INFO: GPS data processed {"connection_id":160759,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:19:05] local.INFO: Acknowledgment sent {"connection_id":160759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:19:24] local.INFO: TCP Data received {"connection_id":163098,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:19:24] local.INFO: Processing buffer {"connection_id":163098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:19:24] local.INFO: Packet analysis {"connection_id":163098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d93"} 
[2026-08-23 13:19:24] local.INFO: Extracted packet for processing {"connection_id":163098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d93"} 
[2026-08-23 13:19:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592515072001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787471063000,"timestamp_ms":1787471063000,"timestamp_seconds":1787471063,"priority":1,"record_length":96,"hex_timestamp":"000001a02d93e7d8"} 
[2026-08-23 13:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 13:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:19:24] 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-08-23 13:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592515072001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592515072001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:19:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:19:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592515072001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":163098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:19:24] local.INFO: GPS data processed {"connection_id":163098,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:19:24] local.INFO: Acknowledgment sent {"connection_id":163098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:19:30] local.INFO: TCP Data received {"connection_id":160511,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:19:30] local.INFO: Processing buffer {"connection_id":160511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:19:30] local.INFO: IMEI packet received {"connection_id":160511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":160511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:19:32] local.INFO: TCP Data received {"connection_id":160511,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 13:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160511,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 13:19:32] local.INFO: Processing buffer {"connection_id":160511,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 13:19:32] local.INFO: IMEI packet received {"connection_id":160511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":160511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:19:33] local.INFO: TCP Data received {"connection_id":160511,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d979d10012d1c35000725ffa80028002824..."} 
[2026-08-23 13:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d979d10012d1c35000725ffa80028002824..."} 
[2026-08-23 13:19:33] local.INFO: Processing buffer {"connection_id":160511,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a02d..."} 
[2026-08-23 13:19:33] local.INFO: IMEI packet received {"connection_id":160511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":160511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:19:35] local.INFO: TCP Data received {"connection_id":160511,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d97b868012d1c4a0007261b700027002d26..."} 
[2026-08-23 13:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d97b868012d1c4a0007261b700027002d26..."} 
[2026-08-23 13:19:35] local.INFO: Processing buffer {"connection_id":160511,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a02d979d10012d1c35000725ffa80028002824..."} 
[2026-08-23 13:19:35] local.INFO: Packet analysis {"connection_id":160511,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02d97"} 
[2026-08-23 13:19:35] local.INFO: Extracted packet for processing {"connection_id":160511,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d97"} 
[2026-08-23 13:19:35] local.INFO: GPS Element Parsed {"raw_longitude":756823296,"raw_latitude":119930792,"longitude_deg":75.6823296,"latitude_deg":11.9930792,"altitude":40,"angle":40,"satellites":36,"speed":46,"hex_longitude":"2d1c3500","hex_latitude":"0725ffa8","is_valid_coordinates":true} 
[2026-08-23 13:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592653568001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15469033386147840,"note":"Value kept but may cause issues"} 
[2026-08-23 13:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2029716087762202624,"note":"Value kept but may cause issues"} 
[2026-08-23 13:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787471306000,"timestamp_ms":1787471306000,"timestamp_seconds":1787471306,"priority":1,"record_length":96,"hex_timestamp":"000001a02d979d10"} 
[2026-08-23 13:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-23 13:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592653568001,"66":13993,"135":206,"83":42752,"24":46,"16":15469033386147840,"45":2029716087762202624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-23 13:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592653568001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:19:35] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-23 13:19:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15469033386147840,"km_value":15469033386147.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2029716087762202624,"description":"Unknown IO ID 45"} 
[2026-08-23 13:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592653568001,"power":13993,"unknown_135":206,"unknown_83":42752,"ignition":46,"odometer":null,"unknown_45":2029716087762202624}} 
[2026-08-23 13:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":160511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:19:35] local.INFO: GPS data processed {"connection_id":160511,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:19:35] local.INFO: Acknowledgment sent {"connection_id":160511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:19:35] local.INFO: Packet analysis {"connection_id":160511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d97"} 
[2026-08-23 13:19:35] local.INFO: Extracted packet for processing {"connection_id":160511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d97"} 
[2026-08-23 13:19:35] local.INFO: GPS Element Parsed {"raw_longitude":756828672,"raw_latitude":119937904,"longitude_deg":75.6828672,"latitude_deg":11.9937904,"altitude":39,"angle":45,"satellites":38,"speed":52,"hex_longitude":"2d1c4a00","hex_latitude":"07261b70","is_valid_coordinates":true} 
[2026-08-23 13:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592654336001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15469462882877440,"note":"Value kept but may cause issues"} 
[2026-08-23 13:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2032530837529929728,"note":"Value kept but may cause issues"} 
[2026-08-23 13:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787471313000,"timestamp_ms":1787471313000,"timestamp_seconds":1787471313,"priority":1,"record_length":96,"hex_timestamp":"000001a02d97b868"} 
[2026-08-23 13:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-23 13:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592654336001,"66":13972,"135":206,"83":42752,"24":52,"16":15469462882877440,"45":2032530837529929728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-23 13:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592654336001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:19:35] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-23 13:19:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15469462882877440,"km_value":15469462882877.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2032530837529929728,"description":"Unknown IO ID 45"} 
[2026-08-23 13:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592654336001,"power":13972,"unknown_135":206,"unknown_83":42752,"ignition":52,"odometer":null,"unknown_45":2032530837529929728}} 
[2026-08-23 13:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":160511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:19:35] local.INFO: GPS data processed {"connection_id":160511,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:19:35] local.INFO: Acknowledgment sent {"connection_id":160511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:19:35] local.INFO: TCP Data received {"connection_id":160511,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d97d7a8012d1c68c0072633d00026003428..."} 
[2026-08-23 13:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d97d7a8012d1c68c0072633d00026003428..."} 
[2026-08-23 13:19:35] local.INFO: Processing buffer {"connection_id":160511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d97d7a8012d1c68c0072633d00026003428..."} 
[2026-08-23 13:19:35] local.INFO: Packet analysis {"connection_id":160511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d97"} 
[2026-08-23 13:19:35] local.INFO: Extracted packet for processing {"connection_id":160511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d97"} 
[2026-08-23 13:19:35] local.INFO: GPS Element Parsed {"raw_longitude":756836544,"raw_latitude":119944144,"longitude_deg":75.6836544,"latitude_deg":11.9944144,"altitude":38,"angle":52,"satellites":40,"speed":47,"hex_longitude":"2d1c68c0","hex_latitude":"072633d0","is_valid_coordinates":true} 
[2026-08-23 13:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592656128001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15469943919214592,"note":"Value kept but may cause issues"} 
[2026-08-23 13:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2038441812042674176,"note":"Value kept but may cause issues"} 
[2026-08-23 13:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787471321000,"timestamp_ms":1787471321000,"timestamp_seconds":1787471321,"priority":1,"record_length":96,"hex_timestamp":"000001a02d97d7a8"} 
[2026-08-23 13:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-23 13:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592656128001,"66":13961,"135":206,"83":42752,"24":47,"16":15469943919214592,"45":2038441812042674176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-23 13:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592656128001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:19:35] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-23 13:19:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15469943919214592,"km_value":15469943919214.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2038441812042674176,"description":"Unknown IO ID 45"} 
[2026-08-23 13:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592656128001,"power":13961,"unknown_135":206,"unknown_83":42752,"ignition":47,"odometer":null,"unknown_45":2038441812042674176}} 
[2026-08-23 13:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":160511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:19:35] local.INFO: GPS data processed {"connection_id":160511,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:19:35] local.INFO: Acknowledgment sent {"connection_id":160511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:19:46] local.INFO: TCP Data received {"connection_id":161692,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:19:46] local.INFO: Processing buffer {"connection_id":161692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:19:46] local.INFO: IMEI packet received {"connection_id":161692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":161692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:19:51] local.INFO: TCP Data received {"connection_id":161692,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:19:51] local.INFO: Processing buffer {"connection_id":161692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:19:51] local.INFO: IMEI packet received {"connection_id":161692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":161692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:19:52] local.INFO: TCP Data received {"connection_id":161692,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:19:52] local.INFO: Processing buffer {"connection_id":161692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d93e7d8012d34c50006aa40980013008525..."} 
[2026-08-23 13:19:52] local.INFO: Packet analysis {"connection_id":161692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d93"} 
[2026-08-23 13:19:52] local.INFO: Extracted packet for processing {"connection_id":161692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d93"} 
[2026-08-23 13:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592515072001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787471063000,"timestamp_ms":1787471063000,"timestamp_seconds":1787471063,"priority":1,"record_length":96,"hex_timestamp":"000001a02d93e7d8"} 
[2026-08-23 13:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 13:19:52] 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-08-23 13:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:19:52] 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-08-23 13:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592515072001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592515072001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:19:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592515072001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":161692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:19:52] local.INFO: GPS data processed {"connection_id":161692,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:19:52] local.INFO: Acknowledgment sent {"connection_id":161692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:20:07] local.INFO: TCP Data received {"connection_id":160511,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d97ef18012d1c7dc0072645f00027002729..."} 
[2026-08-23 13:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d97ef18012d1c7dc0072645f00027002729..."} 
[2026-08-23 13:20:07] local.INFO: Processing buffer {"connection_id":160511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d97ef18012d1c7dc0072645f00027002729..."} 
[2026-08-23 13:20:07] local.INFO: Packet analysis {"connection_id":160511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d97"} 
[2026-08-23 13:20:07] local.INFO: Extracted packet for processing {"connection_id":160511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d97"} 
[2026-08-23 13:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756841920,"raw_latitude":119948784,"longitude_deg":75.684192,"latitude_deg":11.9948784,"altitude":39,"angle":39,"satellites":41,"speed":45,"hex_longitude":"2d1c7dc0","hex_latitude":"072645f0","is_valid_coordinates":true} 
[2026-08-23 13:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592658176001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15470283221630976,"note":"Value kept but may cause issues"} 
[2026-08-23 13:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2047097167578124288,"note":"Value kept but may cause issues"} 
[2026-08-23 13:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787471327000,"timestamp_ms":1787471327000,"timestamp_seconds":1787471327,"priority":1,"record_length":96,"hex_timestamp":"000001a02d97ef18"} 
[2026-08-23 13:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-23 13:20:07] 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-08-23 13:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592658176001,"66":13972,"236":206,"83":42752,"24":45,"16":15470283221630976,"45":2047097167578124288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-08-23 13:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592658176001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:20:07] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-23 13:20:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15470283221630976,"km_value":15470283221630.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2047097167578124288,"description":"Unknown IO ID 45"} 
[2026-08-23 13:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592658176001,"power":13972,"unknown_236":206,"unknown_83":42752,"ignition":45,"odometer":null,"unknown_45":2047097167578124288}} 
[2026-08-23 13:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":160511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:20:07] local.INFO: GPS data processed {"connection_id":160511,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:20:07] local.INFO: Acknowledgment sent {"connection_id":160511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:20:24] local.INFO: TCP Data received {"connection_id":161692,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:20:24] local.INFO: Processing buffer {"connection_id":161692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:20:24] local.INFO: Packet analysis {"connection_id":161692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:20:24] local.INFO: Extracted packet for processing {"connection_id":161692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:20:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592592128001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787471364000,"timestamp_ms":1787471364000,"timestamp_seconds":1787471364,"priority":1,"record_length":96,"hex_timestamp":"000001a02d987fa0"} 
[2026-08-23 13:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 13:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13: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-08-23 13:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:20:24] 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-08-23 13:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592592128001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592592128001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:20:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:20:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592592128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":161692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:20:24] local.INFO: GPS data processed {"connection_id":161692,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:20:24] local.INFO: Acknowledgment sent {"connection_id":161692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:20:29] local.INFO: TCP Data received {"connection_id":160760,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:20:29] local.INFO: Processing buffer {"connection_id":160760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:20:29] local.INFO: IMEI packet received {"connection_id":160760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":160760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:20:34] local.INFO: TCP Data received {"connection_id":160760,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:20:34] local.INFO: Processing buffer {"connection_id":160760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:20:34] local.INFO: IMEI packet received {"connection_id":160760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":160760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:20:35] local.INFO: TCP Data received {"connection_id":160760,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d98c5f0012d1cd90007271ed00023002427..."} 
[2026-08-23 13:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d98c5f0012d1cd90007271ed00023002427..."} 
[2026-08-23 13:20:35] local.INFO: Processing buffer {"connection_id":160760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d98c5f0012d1cd90007271ed00023002427..."} 
[2026-08-23 13:20:35] local.INFO: Packet analysis {"connection_id":160760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:20:35] local.INFO: Extracted packet for processing {"connection_id":160760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:20:35] local.INFO: GPS Element Parsed {"raw_longitude":756865280,"raw_latitude":120004304,"longitude_deg":75.686528,"latitude_deg":12.0004304,"altitude":35,"angle":36,"satellites":39,"speed":39,"hex_longitude":"2d1cd900","hex_latitude":"07271ed0","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592671488001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15473268223901696,"note":"Value kept but may cause issues"} 
[2026-08-23 13:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2072500284239847424,"note":"Value kept but may cause issues"} 
[2026-08-23 13:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787471382000,"timestamp_ms":1787471382000,"timestamp_seconds":1787471382,"priority":1,"record_length":96,"hex_timestamp":"000001a02d98c5f0"} 
[2026-08-23 13:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-23 13:20:35] 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-08-23 13: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-08-23 13:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592671488001,"66":13722,"197":206,"83":42752,"24":39,"16":15473268223901696,"45":2072500284239847424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,45]} 
[2026-08-23 13:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592671488001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:20:35] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-23 13:20:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15473268223901696,"km_value":15473268223901.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2072500284239847424,"description":"Unknown IO ID 45"} 
[2026-08-23 13:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592671488001,"power":13722,"unknown_197":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":2072500284239847424}} 
[2026-08-23 13:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":160760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:20:35] local.INFO: GPS data processed {"connection_id":160760,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:20:35] local.INFO: Acknowledgment sent {"connection_id":160760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:20:46] local.INFO: TCP Data received {"connection_id":163099,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:20:46] local.INFO: Processing buffer {"connection_id":163099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:20:46] local.INFO: IMEI packet received {"connection_id":163099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":163099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:20:51] local.INFO: TCP Data received {"connection_id":163099,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:20:51] local.INFO: Processing buffer {"connection_id":163099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:20:51] local.INFO: IMEI packet received {"connection_id":163099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":163099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:20:52] local.INFO: TCP Data received {"connection_id":163099,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:20:52] local.INFO: Processing buffer {"connection_id":163099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:20:52] local.INFO: Packet analysis {"connection_id":163099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:20:52] local.INFO: Extracted packet for processing {"connection_id":163099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:20:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592592128001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787471364000,"timestamp_ms":1787471364000,"timestamp_seconds":1787471364,"priority":1,"record_length":96,"hex_timestamp":"000001a02d987fa0"} 
[2026-08-23 13:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 13:20:52] 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-08-23 13:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:20:52] 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-08-23 13:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592592128001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592592128001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:20:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:20:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592592128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":163099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:20:52] local.INFO: GPS data processed {"connection_id":163099,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:20:52] local.INFO: Acknowledgment sent {"connection_id":163099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:21:06] local.INFO: TCP Data received {"connection_id":160760,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d98dd60012d1ce5c0072733480024001727..."} 
[2026-08-23 13:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d98dd60012d1ce5c0072733480024001727..."} 
[2026-08-23 13:21:06] local.INFO: Processing buffer {"connection_id":160760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d98dd60012d1ce5c0072733480024001727..."} 
[2026-08-23 13:21:06] local.INFO: Packet analysis {"connection_id":160760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:21:06] local.INFO: Extracted packet for processing {"connection_id":160760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756868544,"raw_latitude":120009544,"longitude_deg":75.6868544,"latitude_deg":12.0009544,"altitude":36,"angle":23,"satellites":39,"speed":43,"hex_longitude":"2d1ce5c0","hex_latitude":"07273348","is_valid_coordinates":true} 
[2026-08-23 13:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592673792001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15473564576645120,"note":"Value kept but may cause issues"} 
[2026-08-23 13:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2078692733729296384,"note":"Value kept but may cause issues"} 
[2026-08-23 13:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787471388000,"timestamp_ms":1787471388000,"timestamp_seconds":1787471388,"priority":1,"record_length":96,"hex_timestamp":"000001a02d98dd60"} 
[2026-08-23 13:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-23 13:21:06] 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-08-23 13:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592673792001,"66":14004,"197":206,"83":42752,"24":43,"16":15473564576645120,"45":2078692733729296384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,45]} 
[2026-08-23 13:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592673792001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:21:06] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-23 13:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15473564576645120,"km_value":15473564576645.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2078692733729296384,"description":"Unknown IO ID 45"} 
[2026-08-23 13:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592673792001,"power":14004,"unknown_197":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":2078692733729296384}} 
[2026-08-23 13:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":160760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:21:06] local.INFO: GPS data processed {"connection_id":160760,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:21:06] local.INFO: Acknowledgment sent {"connection_id":160760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:21:23] local.INFO: TCP Data received {"connection_id":163099,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:21:23] local.INFO: Processing buffer {"connection_id":163099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:21:23] local.INFO: Packet analysis {"connection_id":163099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:21:23] local.INFO: Extracted packet for processing {"connection_id":163099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:21:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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":795,"current_offset":40} 
[2026-08-23 13:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592592128001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787471364000,"timestamp_ms":1787471364000,"timestamp_seconds":1787471364,"priority":1,"record_length":96,"hex_timestamp":"000001a02d987fa0"} 
[2026-08-23 13:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:21: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":194,"data_length":795,"current_offset":136} 
[2026-08-23 13:21:23] 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-08-23 13:21: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-08-23 13:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:21:23] 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-08-23 13:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592592128001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592592128001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:21:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:21:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592592128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":163099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:21:23] local.INFO: GPS data processed {"connection_id":163099,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:21:23] local.INFO: Acknowledgment sent {"connection_id":163099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:21:30] local.INFO: TCP Data received {"connection_id":160512,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:21:30] local.INFO: Processing buffer {"connection_id":160512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:21:30] local.INFO: IMEI packet received {"connection_id":160512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":160512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:21:31] local.INFO: TCP Data received {"connection_id":160512,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:21:31] local.INFO: Processing buffer {"connection_id":160512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:21:31] local.INFO: IMEI packet received {"connection_id":160512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":160512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:21:35] local.INFO: TCP Data received {"connection_id":160512,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:21:35] local.INFO: Processing buffer {"connection_id":160512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:21:35] local.INFO: IMEI packet received {"connection_id":160512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":160512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:21:35] local.INFO: TCP Data received {"connection_id":160512,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d99a880012d1d5a8007276d600028006d24..."} 
[2026-08-23 13:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d99a880012d1d5a8007276d600028006d24..."} 
[2026-08-23 13:21:35] local.INFO: Processing buffer {"connection_id":160512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d99a880012d1d5a8007276d600028006d24..."} 
[2026-08-23 13:21:35] local.INFO: Packet analysis {"connection_id":160512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d99"} 
[2026-08-23 13:21:35] local.INFO: Extracted packet for processing {"connection_id":160512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d99"} 
[2026-08-23 13:21:35] local.INFO: GPS Element Parsed {"raw_longitude":756898432,"raw_latitude":120024416,"longitude_deg":75.6898432,"latitude_deg":12.0024416,"altitude":40,"angle":109,"satellites":36,"speed":29,"hex_longitude":"2d1d5a80","hex_latitude":"07276d60","is_valid_coordinates":true} 
[2026-08-23 13:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592688640001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15475548851535872,"note":"Value kept but may cause issues"} 
[2026-08-23 13:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2115143743218475008,"note":"Value kept but may cause issues"} 
[2026-08-23 13:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787471440000,"timestamp_ms":1787471440000,"timestamp_seconds":1787471440,"priority":1,"record_length":96,"hex_timestamp":"000001a02d99a880"} 
[2026-08-23 13:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-23 13:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592688640001,"66":14243,"196":206,"83":42752,"24":29,"16":15475548851535872,"45":2115143743218475008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,45]} 
[2026-08-23 13:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592688640001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:21:35] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-23 13:21:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15475548851535872,"km_value":15475548851535.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2115143743218475008,"description":"Unknown IO ID 45"} 
[2026-08-23 13:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592688640001,"power":14243,"unknown_196":206,"unknown_83":42752,"ignition":29,"odometer":null,"unknown_45":2115143743218475008}} 
[2026-08-23 13:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":160512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:21:35] local.INFO: GPS data processed {"connection_id":160512,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:21:35] local.INFO: Acknowledgment sent {"connection_id":160512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:21:46] local.INFO: TCP Data received {"connection_id":160761,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:21:46] local.INFO: Processing buffer {"connection_id":160761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:21:46] local.INFO: IMEI packet received {"connection_id":160761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":160761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:21:51] local.INFO: TCP Data received {"connection_id":160761,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:21:51] local.INFO: Processing buffer {"connection_id":160761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:21:51] local.INFO: IMEI packet received {"connection_id":160761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":160761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:21:52] local.INFO: TCP Data received {"connection_id":160761,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:21:52] local.INFO: Processing buffer {"connection_id":160761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:21:52] local.INFO: Packet analysis {"connection_id":160761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:21:52] local.INFO: Extracted packet for processing {"connection_id":160761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:21:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:21: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-08-23 13:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592592128001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787471364000,"timestamp_ms":1787471364000,"timestamp_seconds":1787471364,"priority":1,"record_length":96,"hex_timestamp":"000001a02d987fa0"} 
[2026-08-23 13:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 13:21:52] 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-08-23 13:21: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-08-23 13:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:21:52] 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-08-23 13:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592592128001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592592128001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:21:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:21:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592592128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":160761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:21:52] local.INFO: GPS data processed {"connection_id":160761,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:21:52] local.INFO: Acknowledgment sent {"connection_id":160761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:22:07] local.INFO: TCP Data received {"connection_id":160512,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d99b438012d1d638007276bb80029005f24..."} 
[2026-08-23 13:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d99b438012d1d638007276bb80029005f24..."} 
[2026-08-23 13:22:07] local.INFO: Processing buffer {"connection_id":160512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d99b438012d1d638007276bb80029005f24..."} 
[2026-08-23 13:22:07] local.INFO: Packet analysis {"connection_id":160512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d99"} 
[2026-08-23 13:22:07] local.INFO: Extracted packet for processing {"connection_id":160512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d99"} 
[2026-08-23 13:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756900736,"raw_latitude":120023992,"longitude_deg":75.6900736,"latitude_deg":12.0023992,"altitude":41,"angle":95,"satellites":36,"speed":32,"hex_longitude":"2d1d6380","hex_latitude":"07276bb8","is_valid_coordinates":true} 
[2026-08-23 13:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592688640001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15475660520685568,"note":"Value kept but may cause issues"} 
[2026-08-23 13:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2115143743218475008,"note":"Value kept but may cause issues"} 
[2026-08-23 13:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787471443000,"timestamp_ms":1787471443000,"timestamp_seconds":1787471443,"priority":1,"record_length":96,"hex_timestamp":"000001a02d99b438"} 
[2026-08-23 13:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-23 13:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592688640001,"66":14374,"196":206,"83":42752,"24":32,"16":15475660520685568,"45":2115143743218475008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,45]} 
[2026-08-23 13:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592688640001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:22:07] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-23 13:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15475660520685568,"km_value":15475660520685.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2115143743218475008,"description":"Unknown IO ID 45"} 
[2026-08-23 13:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592688640001,"power":14374,"unknown_196":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":2115143743218475008}} 
[2026-08-23 13:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":160512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:22:07] local.INFO: GPS data processed {"connection_id":160512,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:22:07] local.INFO: Acknowledgment sent {"connection_id":160512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:22:23] local.INFO: TCP Data received {"connection_id":160761,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:22:23] local.INFO: Processing buffer {"connection_id":160761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:22:23] local.INFO: Packet analysis {"connection_id":160761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:22:23] local.INFO: Extracted packet for processing {"connection_id":160761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:22:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 13:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592592128001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787471364000,"timestamp_ms":1787471364000,"timestamp_seconds":1787471364,"priority":1,"record_length":96,"hex_timestamp":"000001a02d987fa0"} 
[2026-08-23 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-08-23 13:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":194,"data_length":795,"current_offset":136} 
[2026-08-23 13:22:23] 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-08-23 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-08-23 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-08-23 13:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:22:23] 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-08-23 13:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592592128001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592592128001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:22:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:22:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592592128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":160761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:22:23] local.INFO: GPS data processed {"connection_id":160761,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:22:23] local.INFO: Acknowledgment sent {"connection_id":160761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:22:29] local.INFO: TCP Data received {"connection_id":163100,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:22:29] local.INFO: Processing buffer {"connection_id":163100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:22:29] local.INFO: IMEI packet received {"connection_id":163100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":163100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:22:30] local.INFO: TCP Data received {"connection_id":163100,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:22:30] local.INFO: Processing buffer {"connection_id":163100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:22:30] local.INFO: IMEI packet received {"connection_id":163100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":163100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:22:35] local.INFO: TCP Data received {"connection_id":163100,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:22:35] local.INFO: Processing buffer {"connection_id":163100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:22:35] local.INFO: IMEI packet received {"connection_id":163100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":163100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:22:35] local.INFO: TCP Data received {"connection_id":163100,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9a7b70012d1df3400726e3c80027007027..."} 
[2026-08-23 13:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9a7b70012d1df3400726e3c80027007027..."} 
[2026-08-23 13:22:35] local.INFO: Processing buffer {"connection_id":163100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9a7b70012d1df3400726e3c80027007027..."} 
[2026-08-23 13:22:35] local.INFO: Packet analysis {"connection_id":163100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9a"} 
[2026-08-23 13:22:35] local.INFO: Extracted packet for processing {"connection_id":163100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9a"} 
[2026-08-23 13:22:35] local.INFO: GPS Element Parsed {"raw_longitude":756937536,"raw_latitude":119989192,"longitude_deg":75.6937536,"latitude_deg":11.9989192,"altitude":39,"angle":112,"satellites":39,"speed":38,"hex_longitude":"2d1df340","hex_latitude":"0726e3c8","is_valid_coordinates":true} 
[2026-08-23 13:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592702208001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15478344875245568,"note":"Value kept but may cause issues"} 
[2026-08-23 13:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2157153883483625472,"note":"Value kept but may cause issues"} 
[2026-08-23 13:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787471494000,"timestamp_ms":1787471494000,"timestamp_seconds":1787471494,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9a7b70"} 
[2026-08-23 13:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-23 13:22:35] 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-08-23 13:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592702208001,"66":13972,"61":206,"83":42752,"24":38,"16":15478344875245568,"45":2157153883483625472},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-08-23 13:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592702208001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:22:35] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 13:22:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15478344875245568,"km_value":15478344875245.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2157153883483625472,"description":"Unknown IO ID 45"} 
[2026-08-23 13:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592702208001,"power":13972,"unknown_61":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":2157153883483625472}} 
[2026-08-23 13:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":163100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:22:35] local.INFO: GPS data processed {"connection_id":163100,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:22:35] local.INFO: Acknowledgment sent {"connection_id":163100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:22:46] local.INFO: TCP Data received {"connection_id":160513,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:22:46] local.INFO: Processing buffer {"connection_id":160513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:22:46] local.INFO: IMEI packet received {"connection_id":160513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":160513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:22:51] local.INFO: TCP Data received {"connection_id":160513,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:22:51] local.INFO: Processing buffer {"connection_id":160513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:22:51] local.INFO: IMEI packet received {"connection_id":160513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":160513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:22:52] local.INFO: TCP Data received {"connection_id":160513,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:22:52] local.INFO: Processing buffer {"connection_id":160513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:22:52] local.INFO: Packet analysis {"connection_id":160513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:22:52] local.INFO: Extracted packet for processing {"connection_id":160513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:22:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592592128001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787471364000,"timestamp_ms":1787471364000,"timestamp_seconds":1787471364,"priority":1,"record_length":96,"hex_timestamp":"000001a02d987fa0"} 
[2026-08-23 13:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 13:22:52] 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-08-23 13:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:22:52] 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-08-23 13:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592592128001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592592128001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:22:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:22:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592592128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":160513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:22:52] local.INFO: GPS data processed {"connection_id":160513,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:22:52] local.INFO: Acknowledgment sent {"connection_id":160513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:23:01] local.INFO: TCP Data received {"connection_id":163101,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:23:01] local.INFO: Processing buffer {"connection_id":163101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:23:01] local.INFO: IMEI packet received {"connection_id":163101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 13:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":163101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:23:02] local.INFO: TCP Data received {"connection_id":163101,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:23:02] local.INFO: Processing buffer {"connection_id":163101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:23:02] local.INFO: IMEI packet received {"connection_id":163101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 13:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":163101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:23:06] local.INFO: TCP Data received {"connection_id":163101,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163101,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:23:06] local.INFO: Processing buffer {"connection_id":163101,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:23:06] local.INFO: IMEI packet received {"connection_id":163101,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 13:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":163101,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:23:07] local.INFO: TCP Data received {"connection_id":163100,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9a7f58012d1df7400726e3680026006027..."} 
[2026-08-23 13:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9a7f58012d1df7400726e3680026006027..."} 
[2026-08-23 13:23:07] local.INFO: Processing buffer {"connection_id":163100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9a7f58012d1df7400726e3680026006027..."} 
[2026-08-23 13:23:07] local.INFO: Packet analysis {"connection_id":163100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9a"} 
[2026-08-23 13:23:07] local.INFO: Extracted packet for processing {"connection_id":163100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9a"} 
[2026-08-23 13:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756938560,"raw_latitude":119989096,"longitude_deg":75.693856,"latitude_deg":11.9989096,"altitude":38,"angle":96,"satellites":39,"speed":38,"hex_longitude":"2d1df740","hex_latitude":"0726e368","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592702464001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15478392119885824,"note":"Value kept but may cause issues"} 
[2026-08-23 13:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2158139045902010368,"note":"Value kept but may cause issues"} 
[2026-08-23 13:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787471495000,"timestamp_ms":1787471495000,"timestamp_seconds":1787471495,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9a7f58"} 
[2026-08-23 13:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-23 13:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13: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-08-23 13:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592702464001,"66":13972,"61":206,"83":42752,"24":38,"16":15478392119885824,"45":2158139045902010368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-08-23 13:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592702464001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:23:07] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 13:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15478392119885824,"km_value":15478392119885.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2158139045902010368,"description":"Unknown IO ID 45"} 
[2026-08-23 13:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592702464001,"power":13972,"unknown_61":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":2158139045902010368}} 
[2026-08-23 13:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":163100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:23:07] local.INFO: GPS data processed {"connection_id":163100,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:23:07] local.INFO: Acknowledgment sent {"connection_id":163100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:23:07] local.INFO: TCP Data received {"connection_id":163101,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-23 13:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163101,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-23 13:23:07] local.INFO: Processing buffer {"connection_id":163101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-23 13:23:07] local.INFO: Packet analysis {"connection_id":163101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-23 13:23:07] local.INFO: Extracted packet for processing {"connection_id":163101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-23 13:23:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122625993520185344,"note":"Value kept but may cause issues"} 
[2026-08-23 13:23:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,117,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 13:23:07] 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-08-23 13:23:07] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-23 13:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163101,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163101,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-23 13:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163101,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-23 13:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-23 13:23:07] local.WARNING: DEBUG: No valid data to process  
[2026-08-23 13:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":163101,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-23 13:23:07] local.ERROR: GPS data processing failed {"connection_id":163101,"error":"No valid data to process"} 
[2026-08-23 13:23:07] local.INFO: Acknowledgment sent {"connection_id":163101,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-23 13:23:23] local.INFO: TCP Data received {"connection_id":160513,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:23:23] local.INFO: Processing buffer {"connection_id":160513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:23:23] local.INFO: Packet analysis {"connection_id":160513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:23:23] local.INFO: Extracted packet for processing {"connection_id":160513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:23:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592592128001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787471364000,"timestamp_ms":1787471364000,"timestamp_seconds":1787471364,"priority":1,"record_length":96,"hex_timestamp":"000001a02d987fa0"} 
[2026-08-23 13:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 13:23:23] 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-08-23 13:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:23:23] 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-08-23 13:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592592128001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592592128001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:23:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:23:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592592128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":160513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:23:23] local.INFO: GPS data processed {"connection_id":160513,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:23:23] local.INFO: Acknowledgment sent {"connection_id":160513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:23:29] local.INFO: TCP Data received {"connection_id":161693,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:23:29] local.INFO: Processing buffer {"connection_id":161693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:23:29] local.INFO: IMEI packet received {"connection_id":161693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":161693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:23:34] local.INFO: TCP Data received {"connection_id":161693,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:23:34] local.INFO: Processing buffer {"connection_id":161693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:23:34] local.INFO: IMEI packet received {"connection_id":161693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":161693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:23:35] local.INFO: TCP Data received {"connection_id":161693,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9a8728012d1dff800726e4500026004f27..."} 
[2026-08-23 13:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9a8728012d1dff800726e4500026004f27..."} 
[2026-08-23 13:23:35] local.INFO: Processing buffer {"connection_id":161693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9a8728012d1dff800726e4500026004f27..."} 
[2026-08-23 13:23:35] local.INFO: Packet analysis {"connection_id":161693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9a"} 
[2026-08-23 13:23:35] local.INFO: Extracted packet for processing {"connection_id":161693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9a"} 
[2026-08-23 13:23:35] local.INFO: GPS Element Parsed {"raw_longitude":756940672,"raw_latitude":119989328,"longitude_deg":75.6940672,"latitude_deg":11.9989328,"altitude":38,"angle":79,"satellites":39,"speed":42,"hex_longitude":"2d1dff80","hex_latitude":"0726e450","is_valid_coordinates":true} 
[2026-08-23 13:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592702720001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15478490904133632,"note":"Value kept but may cause issues"} 
[2026-08-23 13:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2159264945808828416,"note":"Value kept but may cause issues"} 
[2026-08-23 13:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787471497000,"timestamp_ms":1787471497000,"timestamp_seconds":1787471497,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9a8728"} 
[2026-08-23 13:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-23 13:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592702720001,"66":13939,"61":206,"83":42752,"24":42,"16":15478490904133632,"45":2159264945808828416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-08-23 13:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592702720001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:23:35] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 13:23:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15478490904133632,"km_value":15478490904133.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2159264945808828416,"description":"Unknown IO ID 45"} 
[2026-08-23 13:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592702720001,"power":13939,"unknown_61":206,"unknown_83":42752,"ignition":42,"odometer":null,"unknown_45":2159264945808828416}} 
[2026-08-23 13:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":161693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:23:35] local.INFO: GPS data processed {"connection_id":161693,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:23:35] local.INFO: Acknowledgment sent {"connection_id":161693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:23:38] local.INFO: TCP Data received {"connection_id":163101,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-23 13:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163101,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-23 13:23:38] local.INFO: Processing buffer {"connection_id":163101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-23 13:23:38] local.INFO: Packet analysis {"connection_id":163101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-23 13:23:38] local.INFO: Extracted packet for processing {"connection_id":163101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-23 13:23: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-08-23 13:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122625993520185344,"note":"Value kept but may cause issues"} 
[2026-08-23 13:23:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,117,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 13:23:38] 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-08-23 13:23:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-23 13:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163101,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163101,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-23 13:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163101,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-23 13:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-23 13:23:38] local.WARNING: DEBUG: No valid data to process  
[2026-08-23 13:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":163101,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-23 13:23:38] local.ERROR: GPS data processing failed {"connection_id":163101,"error":"No valid data to process"} 
[2026-08-23 13:23:38] local.INFO: Acknowledgment sent {"connection_id":163101,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-23 13:23:46] local.INFO: TCP Data received {"connection_id":160762,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:23:46] local.INFO: Processing buffer {"connection_id":160762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:23:46] local.INFO: IMEI packet received {"connection_id":160762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":160762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:23:51] local.INFO: TCP Data received {"connection_id":160762,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:23:51] local.INFO: Processing buffer {"connection_id":160762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:23:51] local.INFO: IMEI packet received {"connection_id":160762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":160762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:23:52] local.INFO: TCP Data received {"connection_id":160762,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:23:52] local.INFO: Processing buffer {"connection_id":160762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:23:52] local.INFO: Packet analysis {"connection_id":160762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:23:52] local.INFO: Extracted packet for processing {"connection_id":160762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592592128001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787471364000,"timestamp_ms":1787471364000,"timestamp_seconds":1787471364,"priority":1,"record_length":96,"hex_timestamp":"000001a02d987fa0"} 
[2026-08-23 13:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 13:23:52] 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-08-23 13:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:23:52] 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-08-23 13:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592592128001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592592128001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:23:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592592128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":160762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:23:52] local.INFO: GPS data processed {"connection_id":160762,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:23:52] local.INFO: Acknowledgment sent {"connection_id":160762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:24:07] local.INFO: TCP Data received {"connection_id":161693,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9a92e0012d1e0c800726e8800026004125..."} 
[2026-08-23 13:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9a92e0012d1e0c800726e8800026004125..."} 
[2026-08-23 13:24:07] local.INFO: Processing buffer {"connection_id":161693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9a92e0012d1e0c800726e8800026004125..."} 
[2026-08-23 13:24:07] local.INFO: Packet analysis {"connection_id":161693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9a"} 
[2026-08-23 13:24:07] local.INFO: Extracted packet for processing {"connection_id":161693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9a"} 
[2026-08-23 13:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756944000,"raw_latitude":119990400,"longitude_deg":75.6944,"latitude_deg":11.99904,"altitude":38,"angle":65,"satellites":37,"speed":46,"hex_longitude":"2d1e0c80","hex_latitude":"0726e880","is_valid_coordinates":true} 
[2026-08-23 13:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592703232001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15478658407858176,"note":"Value kept but may cause issues"} 
[2026-08-23 13:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2161587114366750720,"note":"Value kept but may cause issues"} 
[2026-08-23 13:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787471500000,"timestamp_ms":1787471500000,"timestamp_seconds":1787471500,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9a92e0"} 
[2026-08-23 13:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-23 13:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592703232001,"66":14048,"61":206,"83":42752,"24":46,"16":15478658407858176,"45":2161587114366750720},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-08-23 13:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592703232001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:24:07] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 13:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15478658407858176,"km_value":15478658407858.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2161587114366750720,"description":"Unknown IO ID 45"} 
[2026-08-23 13:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592703232001,"power":14048,"unknown_61":206,"unknown_83":42752,"ignition":46,"odometer":null,"unknown_45":2161587114366750720}} 
[2026-08-23 13:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":161693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:24:07] local.INFO: GPS data processed {"connection_id":161693,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:24:07] local.INFO: Acknowledgment sent {"connection_id":161693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:24:13] local.INFO: TCP Data received {"connection_id":163101,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9c67a0012d7d390005d284c8005000e709..."} 
[2026-08-23 13:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9c67a0012d7d390005d284c8005000e709..."} 
[2026-08-23 13:24:13] local.INFO: Processing buffer {"connection_id":163101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9c67a0012d7d390005d284c8005000e709..."} 
[2026-08-23 13:24:13] local.INFO: Packet analysis {"connection_id":163101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9c"} 
[2026-08-23 13:24:13] local.INFO: Extracted packet for processing {"connection_id":163101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9c"} 
[2026-08-23 13:24:13] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":97682632,"longitude_deg":76.3181312,"latitude_deg":9.7682632,"altitude":80,"angle":231,"satellites":9,"speed":0,"hex_longitude":"2d7d3900","hex_latitude":"05d284c8","is_valid_coordinates":true} 
[2026-08-23 13:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122625993520185344,"note":"Value kept but may cause issues"} 
[2026-08-23 13:24:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,117,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 13:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787471620000,"timestamp_ms":1787471620000,"timestamp_seconds":1787471620,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9c67a0"} 
[2026-08-23 13:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-08-23 13:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":864,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 13:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 13:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 13:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 13:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":11721,"117":206,"85":15104,"24":0,"16":122625993520185344},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16]} 
[2026-08-23 13:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 13:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 13:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-23 13:24:13] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 13:24:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 13:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122625993520185344,"km_value":122625993520185.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:24:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":11721,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-23 13:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":163101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686660,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:24:13] local.INFO: GPS data processed {"connection_id":163101,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:24:13] local.INFO: Acknowledgment sent {"connection_id":163101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:24:23] local.INFO: TCP Data received {"connection_id":160762,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:24:23] local.INFO: Processing buffer {"connection_id":160762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:24:23] local.INFO: Packet analysis {"connection_id":160762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:24:23] local.INFO: Extracted packet for processing {"connection_id":160762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:24:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592592128001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787471364000,"timestamp_ms":1787471364000,"timestamp_seconds":1787471364,"priority":1,"record_length":96,"hex_timestamp":"000001a02d987fa0"} 
[2026-08-23 13:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 13:24:23] 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-08-23 13:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:24:23] 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-08-23 13:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592592128001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592592128001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:24:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:24:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592592128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":160762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:24:23] local.INFO: GPS data processed {"connection_id":160762,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:24:23] local.INFO: Acknowledgment sent {"connection_id":160762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:24:35] local.INFO: TCP Data received {"connection_id":163102,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:24:35] local.INFO: Processing buffer {"connection_id":163102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:24:35] local.INFO: IMEI packet received {"connection_id":163102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":163102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:24:37] local.INFO: TCP Data received {"connection_id":163102,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:24:37] local.INFO: Processing buffer {"connection_id":163102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:24:37] local.INFO: IMEI packet received {"connection_id":163102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":163102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:24:37] local.INFO: TCP Data received {"connection_id":163102,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9bfa40012d1ee240072735d00028005b2b..."} 
[2026-08-23 13:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9bfa40012d1ee240072735d00028005b2b..."} 
[2026-08-23 13:24:37] local.INFO: Processing buffer {"connection_id":163102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9bfa40012d1ee240072735d00028005b2b..."} 
[2026-08-23 13:24:37] local.INFO: Packet analysis {"connection_id":163102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9b"} 
[2026-08-23 13:24:37] local.INFO: Extracted packet for processing {"connection_id":163102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9b"} 
[2026-08-23 13:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756998720,"raw_latitude":120010192,"longitude_deg":75.699872,"latitude_deg":12.0010192,"altitude":40,"angle":91,"satellites":43,"speed":5,"hex_longitude":"2d1ee240","hex_latitude":"072735d0","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592724224001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15481463021502464,"note":"Value kept but may cause issues"} 
[2026-08-23 13:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2225130090364495872,"note":"Value kept but may cause issues"} 
[2026-08-23 13:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787471592000,"timestamp_ms":1787471592000,"timestamp_seconds":1787471592,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9bfa40"} 
[2026-08-23 13:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:24: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-08-23 13: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-23 13:24: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-08-23 13: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-08-23 13:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592724224001,"66":14428,"236":206,"83":42752,"24":5,"16":15481463021502464,"45":2225130090364495872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-08-23 13:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592724224001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:24:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-23 13:24:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15481463021502464,"km_value":15481463021502.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2225130090364495872,"description":"Unknown IO ID 45"} 
[2026-08-23 13:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592724224001,"power":14428,"unknown_236":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":2225130090364495872}} 
[2026-08-23 13:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":163102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:24:37] local.INFO: GPS data processed {"connection_id":163102,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:24:37] local.INFO: Acknowledgment sent {"connection_id":163102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:24:40] local.INFO: TCP Data received {"connection_id":163102,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9c4860012d1f06c007273380002a00632b..."} 
[2026-08-23 13:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9c4860012d1f06c007273380002a00632b..."} 
[2026-08-23 13:24:40] local.INFO: Processing buffer {"connection_id":163102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9c4860012d1f06c007273380002a00632b..."} 
[2026-08-23 13:24:40] local.INFO: Packet analysis {"connection_id":163102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9c"} 
[2026-08-23 13:24:40] local.INFO: Extracted packet for processing {"connection_id":163102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9c"} 
[2026-08-23 13:24:40] local.INFO: GPS Element Parsed {"raw_longitude":757008064,"raw_latitude":120009600,"longitude_deg":75.7008064,"latitude_deg":12.00096,"altitude":42,"angle":99,"satellites":43,"speed":21,"hex_longitude":"2d1f06c0","hex_latitude":"07273380","is_valid_coordinates":true} 
[2026-08-23 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-08-23 13:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592727552001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15481905403133952,"note":"Value kept but may cause issues"} 
[2026-08-23 13:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2225411565341233152,"note":"Value kept but may cause issues"} 
[2026-08-23 13:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787471612000,"timestamp_ms":1787471612000,"timestamp_seconds":1787471612,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9c4860"} 
[2026-08-23 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-08-23 13:24: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-08-23 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 13:24:40] 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-08-23 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-08-23 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-08-23 13:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592727552001,"66":14461,"61":206,"83":42752,"24":21,"16":15481905403133952,"45":2225411565341233152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-08-23 13:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592727552001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:24:40] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 13:24:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15481905403133952,"km_value":15481905403133.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2225411565341233152,"description":"Unknown IO ID 45"} 
[2026-08-23 13:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592727552001,"power":14461,"unknown_61":206,"unknown_83":42752,"ignition":21,"odometer":null,"unknown_45":2225411565341233152}} 
[2026-08-23 13:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":163102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:24:40] local.INFO: GPS data processed {"connection_id":163102,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:24:40] local.INFO: Acknowledgment sent {"connection_id":163102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:24:43] local.INFO: TCP Data received {"connection_id":163101,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9c6b88012d7d390005d284b8005000e709..."} 
[2026-08-23 13:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9c6b88012d7d390005d284b8005000e709..."} 
[2026-08-23 13:24:43] local.INFO: Processing buffer {"connection_id":163101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9c6b88012d7d390005d284b8005000e709..."} 
[2026-08-23 13:24:43] local.INFO: Packet analysis {"connection_id":163101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9c"} 
[2026-08-23 13:24:43] local.INFO: Extracted packet for processing {"connection_id":163101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9c"} 
[2026-08-23 13:24:43] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":97682616,"longitude_deg":76.3181312,"latitude_deg":9.7682616,"altitude":80,"angle":231,"satellites":9,"speed":0,"hex_longitude":"2d7d3900","hex_latitude":"05d284b8","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592734720001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122625993520185344,"note":"Value kept but may cause issues"} 
[2026-08-23 13:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353420253184,"note":"Value kept but may cause issues"} 
[2026-08-23 13:24:43] 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-08-23 13:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787471621000,"timestamp_ms":1787471621000,"timestamp_seconds":1787471621,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9c6b88"} 
[2026-08-23 13:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-23 13:24:43] 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-08-23 13: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-08-23 13:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 13:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 13:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 13:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 13:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592734720001,"66":11624,"117":206,"85":15104,"24":0,"16":122625993520185344,"45":9023243353420253184},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 13:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 13:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 13:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592734720001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:24:43] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 13:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 13:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122625993520185344,"km_value":122625993520185.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353420253184,"description":"Unknown IO ID 45"} 
[2026-08-23 13:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592734720001,"power":11624,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9023243353420253184}} 
[2026-08-23 13:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":163101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686664,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:24:43] local.INFO: GPS data processed {"connection_id":163101,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:24:43] local.INFO: Acknowledgment sent {"connection_id":163101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:24:51] local.INFO: TCP Data received {"connection_id":160763,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:24:51] local.INFO: Processing buffer {"connection_id":160763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:24:51] local.INFO: IMEI packet received {"connection_id":160763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":160763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:24:56] local.INFO: TCP Data received {"connection_id":160763,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:24:56] local.INFO: Processing buffer {"connection_id":160763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:24:56] local.INFO: IMEI packet received {"connection_id":160763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":160763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:24:58] local.INFO: TCP Data received {"connection_id":160763,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:24:58] local.INFO: Processing buffer {"connection_id":160763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:24:58] local.INFO: Packet analysis {"connection_id":160763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:24:58] local.INFO: Extracted packet for processing {"connection_id":160763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:24:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592592128001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787471364000,"timestamp_ms":1787471364000,"timestamp_seconds":1787471364,"priority":1,"record_length":96,"hex_timestamp":"000001a02d987fa0"} 
[2026-08-23 13:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 13:24:58] 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-08-23 13:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:24:58] 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-08-23 13:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592592128001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592592128001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:24:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:24:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592592128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":160763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:24:58] local.INFO: GPS data processed {"connection_id":160763,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:24:58] local.INFO: Acknowledgment sent {"connection_id":160763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:25:01] local.INFO: TCP Data received {"connection_id":160763,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:25:01] local.INFO: Processing buffer {"connection_id":160763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d987fa0012d34c50006aa40980013008525..."} 
[2026-08-23 13:25:01] local.INFO: Packet analysis {"connection_id":160763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:25:01] local.INFO: Extracted packet for processing {"connection_id":160763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d98"} 
[2026-08-23 13:25:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592592128001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787471364000,"timestamp_ms":1787471364000,"timestamp_seconds":1787471364,"priority":1,"record_length":96,"hex_timestamp":"000001a02d987fa0"} 
[2026-08-23 13:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 13:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:25:01] 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-08-23 13:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592592128001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592592128001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:25:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:25:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592592128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":160763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:25:01] local.INFO: GPS data processed {"connection_id":160763,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:25:01] local.INFO: Acknowledgment sent {"connection_id":160763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:25:11] local.INFO: TCP Data received {"connection_id":163102,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9c8eb0012d1f2a0007272c780029006329..."} 
[2026-08-23 13:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9c8eb0012d1f2a0007272c780029006329..."} 
[2026-08-23 13:25:11] local.INFO: Processing buffer {"connection_id":163102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9c8eb0012d1f2a0007272c780029006329..."} 
[2026-08-23 13:25:11] local.INFO: Packet analysis {"connection_id":163102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9c"} 
[2026-08-23 13:25:11] local.INFO: Extracted packet for processing {"connection_id":163102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9c"} 
[2026-08-23 13:25:11] local.INFO: GPS Element Parsed {"raw_longitude":757017088,"raw_latitude":120007800,"longitude_deg":75.7017088,"latitude_deg":12.00078,"altitude":41,"angle":99,"satellites":41,"speed":19,"hex_longitude":"2d1f2a00","hex_latitude":"07272c78","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592732672001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15482343489798144,"note":"Value kept but may cause issues"} 
[2026-08-23 13:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2235685401991020544,"note":"Value kept but may cause issues"} 
[2026-08-23 13:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787471630000,"timestamp_ms":1787471630000,"timestamp_seconds":1787471630,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9c8eb0"} 
[2026-08-23 13:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 13:25:11] 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-08-23 13: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-08-23 13:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592732672001,"66":14483,"61":206,"83":42752,"24":19,"16":15482343489798144,"45":2235685401991020544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-08-23 13:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592732672001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:25:11] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 13:25:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15482343489798144,"km_value":15482343489798.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2235685401991020544,"description":"Unknown IO ID 45"} 
[2026-08-23 13:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592732672001,"power":14483,"unknown_61":206,"unknown_83":42752,"ignition":19,"odometer":null,"unknown_45":2235685401991020544}} 
[2026-08-23 13:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":163102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:25:11] local.INFO: GPS data processed {"connection_id":163102,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:25:11] local.INFO: Acknowledgment sent {"connection_id":163102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:25:15] local.INFO: TCP Data received {"connection_id":163101,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9cbd90012d7d350005d28538002c00e70c..."} 
[2026-08-23 13:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9cbd90012d7d350005d28538002c00e70c..."} 
[2026-08-23 13:25:15] local.INFO: Processing buffer {"connection_id":163101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9cbd90012d7d350005d28538002c00e70c..."} 
[2026-08-23 13:25:15] local.INFO: Packet analysis {"connection_id":163101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9c"} 
[2026-08-23 13:25:15] local.INFO: Extracted packet for processing {"connection_id":163101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9c"} 
[2026-08-23 13:25:15] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":97682744,"longitude_deg":76.3180288,"latitude_deg":9.7682744,"altitude":44,"angle":231,"satellites":12,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05d28538","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592734976001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122626045059792896,"note":"Value kept but may cause issues"} 
[2026-08-23 13:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353420249088,"note":"Value kept but may cause issues"} 
[2026-08-23 13:25: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-08-23 13:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787471642000,"timestamp_ms":1787471642000,"timestamp_seconds":1787471642,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9cbd90"} 
[2026-08-23 13:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 13:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13: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-08-23 13:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 13:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 13:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 13:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 13:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592734976001,"66":11047,"117":206,"85":15104,"24":0,"16":122626045059792896,"45":9023243353420249088},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 13:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 13:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 13:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592734976001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:25:15] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 13:25:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 13:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122626045059792896,"km_value":122626045059792.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353420249088,"description":"Unknown IO ID 45"} 
[2026-08-23 13:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592734976001,"power":11047,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9023243353420249088}} 
[2026-08-23 13:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":163101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:25:15] local.INFO: GPS data processed {"connection_id":163101,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:25:15] local.INFO: Acknowledgment sent {"connection_id":163101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:25:28] local.INFO: TCP Data received {"connection_id":163103,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:25:28] local.INFO: Processing buffer {"connection_id":163103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:25:28] local.INFO: IMEI packet received {"connection_id":163103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":163103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:25:29] local.INFO: TCP Data received {"connection_id":163103,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:25:29] local.INFO: Processing buffer {"connection_id":163103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:25:29] local.INFO: IMEI packet received {"connection_id":163103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":163103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:25:34] local.INFO: TCP Data received {"connection_id":163103,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:25:34] local.INFO: Processing buffer {"connection_id":163103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:25:34] local.INFO: IMEI packet received {"connection_id":163103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":163103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:25:35] local.INFO: TCP Data received {"connection_id":163103,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9d4648012d1f9180072740980024007c27..."} 
[2026-08-23 13:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9d4648012d1f9180072740980024007c27..."} 
[2026-08-23 13:25:35] local.INFO: Processing buffer {"connection_id":163103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9d4648012d1f9180072740980024007c27..."} 
[2026-08-23 13:25:35] local.INFO: Packet analysis {"connection_id":163103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:25:35] local.INFO: Extracted packet for processing {"connection_id":163103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:25:35] local.INFO: GPS Element Parsed {"raw_longitude":757043584,"raw_latitude":120012952,"longitude_deg":75.7043584,"latitude_deg":12.0012952,"altitude":36,"angle":124,"satellites":39,"speed":26,"hex_longitude":"2d1f9180","hex_latitude":"07274098","is_valid_coordinates":true} 
[2026-08-23 13:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592748800001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15483730764234752,"note":"Value kept but may cause issues"} 
[2026-08-23 13:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2273614155103772672,"note":"Value kept but may cause issues"} 
[2026-08-23 13:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787471677000,"timestamp_ms":1787471677000,"timestamp_seconds":1787471677,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9d4648"} 
[2026-08-23 13:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 13:25:35] 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-08-23 13:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592748800001,"66":14428,"61":206,"83":42752,"24":26,"16":15483730764234752,"45":2273614155103772672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-08-23 13:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592748800001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:25:35] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 13:25:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15483730764234752,"km_value":15483730764234.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2273614155103772672,"description":"Unknown IO ID 45"} 
[2026-08-23 13:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592748800001,"power":14428,"unknown_61":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":2273614155103772672}} 
[2026-08-23 13:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":163103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:25:35] local.INFO: GPS data processed {"connection_id":163103,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:25:35] local.INFO: Acknowledgment sent {"connection_id":163103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:25:46] local.INFO: TCP Data received {"connection_id":163101,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9d0f98012d7d34c005d285f0002200e70c..."} 
[2026-08-23 13:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9d0f98012d7d34c005d285f0002200e70c..."} 
[2026-08-23 13:25:46] local.INFO: Processing buffer {"connection_id":163101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9d0f98012d7d34c005d285f0002200e70c..."} 
[2026-08-23 13:25:46] local.INFO: Packet analysis {"connection_id":163101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:25:46] local.INFO: Extracted packet for processing {"connection_id":163101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:25:46] local.INFO: GPS Element Parsed {"raw_longitude":763180224,"raw_latitude":97682928,"longitude_deg":76.3180224,"latitude_deg":9.7682928,"altitude":34,"angle":231,"satellites":12,"speed":0,"hex_longitude":"2d7d34c0","hex_latitude":"05d285f0","is_valid_coordinates":true} 
[2026-08-23 13:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592740352001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122626053649727488,"note":"Value kept but may cause issues"} 
[2026-08-23 13:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453513439232,"note":"Value kept but may cause issues"} 
[2026-08-23 13:25:46] 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-08-23 13:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787471663000,"timestamp_ms":1787471663000,"timestamp_seconds":1787471663,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9d0f98"} 
[2026-08-23 13:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-23 13:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":764,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 13:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 13:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 13:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 13:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592740352001,"66":11711,"117":206,"85":15104,"24":0,"16":122626053649727488,"45":9022117453513439232},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 13:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 13:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 13:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592740352001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:25:46] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 13:25:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 13:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122626053649727488,"km_value":122626053649727.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453513439232,"description":"Unknown IO ID 45"} 
[2026-08-23 13:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592740352001,"power":11711,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9022117453513439232}} 
[2026-08-23 13:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":163101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:25:46] local.INFO: GPS data processed {"connection_id":163101,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:25:46] local.INFO: Acknowledgment sent {"connection_id":163101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:25:46] local.INFO: TCP Data received {"connection_id":160764,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:25:46] local.INFO: Processing buffer {"connection_id":160764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:25:46] local.INFO: IMEI packet received {"connection_id":160764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":160764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:25:51] local.INFO: TCP Data received {"connection_id":160764,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:25:51] local.INFO: Processing buffer {"connection_id":160764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:25:51] local.INFO: IMEI packet received {"connection_id":160764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":160764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:25:52] local.INFO: TCP Data received {"connection_id":160764,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:25:52] local.INFO: Processing buffer {"connection_id":160764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:25:52] local.INFO: Packet analysis {"connection_id":160764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:25:52] local.INFO: Extracted packet for processing {"connection_id":160764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592669184001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787471665000,"timestamp_ms":1787471665000,"timestamp_seconds":1787471665,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9d1768"} 
[2026-08-23 13:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:25:52] 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-08-23 13:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:25:52] 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-08-23 13:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592669184001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592669184001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:25:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592669184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":160764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:25:53] local.INFO: GPS data processed {"connection_id":160764,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:25:53] local.INFO: Acknowledgment sent {"connection_id":160764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:26:06] local.INFO: TCP Data received {"connection_id":163103,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9d4e18012d1f95c007273cb80024008827..."} 
[2026-08-23 13:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9d4e18012d1f95c007273cb80024008827..."} 
[2026-08-23 13:26:06] local.INFO: Processing buffer {"connection_id":163103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9d4e18012d1f95c007273cb80024008827..."} 
[2026-08-23 13:26:06] local.INFO: Packet analysis {"connection_id":163103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:26:06] local.INFO: Extracted packet for processing {"connection_id":163103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:26:06] local.INFO: GPS Element Parsed {"raw_longitude":757044672,"raw_latitude":120011960,"longitude_deg":75.7044672,"latitude_deg":12.001196,"altitude":36,"angle":136,"satellites":39,"speed":31,"hex_longitude":"2d1f95c0","hex_latitude":"07273cb8","is_valid_coordinates":true} 
[2026-08-23 13:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592749312001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15483799483711488,"note":"Value kept but may cause issues"} 
[2026-08-23 13:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2274740055010482176,"note":"Value kept but may cause issues"} 
[2026-08-23 13:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787471679000,"timestamp_ms":1787471679000,"timestamp_seconds":1787471679,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9d4e18"} 
[2026-08-23 13:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 13:26:06] 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-08-23 13:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592749312001,"66":14428,"61":206,"83":42752,"24":31,"16":15483799483711488,"45":2274740055010482176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-08-23 13:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592749312001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:26:06] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 13:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15483799483711488,"km_value":15483799483711.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2274740055010482176,"description":"Unknown IO ID 45"} 
[2026-08-23 13:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592749312001,"power":14428,"unknown_61":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":2274740055010482176}} 
[2026-08-23 13:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":163103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:26:06] local.INFO: GPS data processed {"connection_id":163103,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:26:06] local.INFO: Acknowledgment sent {"connection_id":163103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:26:17] local.INFO: TCP Data received {"connection_id":163101,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9d5200012d7d34c005d28640002000e70e..."} 
[2026-08-23 13:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9d5200012d7d34c005d28640002000e70e..."} 
[2026-08-23 13:26:17] local.INFO: Processing buffer {"connection_id":163101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9d5200012d7d34c005d28640002000e70e..."} 
[2026-08-23 13:26:17] local.INFO: Packet analysis {"connection_id":163101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:26:17] local.INFO: Extracted packet for processing {"connection_id":163101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:26:17] local.INFO: GPS Element Parsed {"raw_longitude":763180224,"raw_latitude":97683008,"longitude_deg":76.3180224,"latitude_deg":9.7683008,"altitude":32,"angle":231,"satellites":14,"speed":0,"hex_longitude":"2d7d34c0","hex_latitude":"05d28640","is_valid_coordinates":true} 
[2026-08-23 13:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592745728001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122626062239662080,"note":"Value kept but may cause issues"} 
[2026-08-23 13:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022047084769308672,"note":"Value kept but may cause issues"} 
[2026-08-23 13:26:17] 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-08-23 13:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787471680000,"timestamp_ms":1787471680000,"timestamp_seconds":1787471680,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9d5200"} 
[2026-08-23 13:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-23 13:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13: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-08-23 13:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 13:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 13:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 13:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 13:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592745728001,"66":11656,"117":206,"85":15104,"24":0,"16":122626062239662080,"45":9022047084769308672},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 13:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 13:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 13:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592745728001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:26:17] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 13:26:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 13:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122626062239662080,"km_value":122626062239662.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022047084769308672,"description":"Unknown IO ID 45"} 
[2026-08-23 13:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592745728001,"power":11656,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9022047084769308672}} 
[2026-08-23 13:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":163101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:26:17] local.INFO: GPS data processed {"connection_id":163101,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:26:17] local.INFO: Acknowledgment sent {"connection_id":163101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:26:24] local.INFO: TCP Data received {"connection_id":160764,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:26:24] local.INFO: Processing buffer {"connection_id":160764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:26:24] local.INFO: Packet analysis {"connection_id":160764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:26:24] local.INFO: Extracted packet for processing {"connection_id":160764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:26:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592669184001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787471665000,"timestamp_ms":1787471665000,"timestamp_seconds":1787471665,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9d1768"} 
[2026-08-23 13:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:26:24] 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-08-23 13: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-08-23 13:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592669184001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592669184001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:26:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:26:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592669184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":160764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:26:24] local.INFO: GPS data processed {"connection_id":160764,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:26:24] local.INFO: Acknowledgment sent {"connection_id":160764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:26:26] local.INFO: TCP Data received {"connection_id":160765,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:26:26] local.INFO: Processing buffer {"connection_id":160765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:26:26] local.INFO: IMEI packet received {"connection_id":160765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":160765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:26:27] local.INFO: TCP Data received {"connection_id":160765,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:26:27] local.INFO: Processing buffer {"connection_id":160765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:26:27] local.INFO: IMEI packet received {"connection_id":160765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":160765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:26:29] local.INFO: TCP Data received {"connection_id":160765,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:26:29] local.INFO: Processing buffer {"connection_id":160765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:26:29] local.INFO: IMEI packet received {"connection_id":160765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":160765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:26:34] local.INFO: TCP Data received {"connection_id":160765,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:26:34] local.INFO: Processing buffer {"connection_id":160765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:26:34] local.INFO: IMEI packet received {"connection_id":160765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":160765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:26:35] local.INFO: TCP Data received {"connection_id":160765,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9d7528012d1fb180072725a00024008527..."} 
[2026-08-23 13:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9d7528012d1fb180072725a00024008527..."} 
[2026-08-23 13:26:35] local.INFO: Processing buffer {"connection_id":160765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9d7528012d1fb180072725a00024008527..."} 
[2026-08-23 13:26:35] local.INFO: Packet analysis {"connection_id":160765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:26:35] local.INFO: Extracted packet for processing {"connection_id":160765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:26:35] local.INFO: GPS Element Parsed {"raw_longitude":757051776,"raw_latitude":120006048,"longitude_deg":75.7051776,"latitude_deg":12.0006048,"altitude":36,"angle":133,"satellites":39,"speed":37,"hex_longitude":"2d1fb180","hex_latitude":"072725a0","is_valid_coordinates":true} 
[2026-08-23 13:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592749824001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15484246160310272,"note":"Value kept but may cause issues"} 
[2026-08-23 13:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2275936323661248512,"note":"Value kept but may cause issues"} 
[2026-08-23 13:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787471689000,"timestamp_ms":1787471689000,"timestamp_seconds":1787471689,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9d7528"} 
[2026-08-23 13:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 13:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592749824001,"66":13689,"61":206,"83":42752,"24":37,"16":15484246160310272,"45":2275936323661248512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-08-23 13:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592749824001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:26:35] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 13:26:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15484246160310272,"km_value":15484246160310.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2275936323661248512,"description":"Unknown IO ID 45"} 
[2026-08-23 13:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592749824001,"power":13689,"unknown_61":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":2275936323661248512}} 
[2026-08-23 13:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":160765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:26:36] local.INFO: GPS data processed {"connection_id":160765,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:26:36] local.INFO: Acknowledgment sent {"connection_id":160765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:26:46] local.INFO: TCP Data received {"connection_id":160514,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:26:46] local.INFO: Processing buffer {"connection_id":160514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:26:46] local.INFO: IMEI packet received {"connection_id":160514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":160514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:26:51] local.INFO: TCP Data received {"connection_id":163101,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9d5200012d7d34c005d28640002000e70e..."} 
[2026-08-23 13:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9d5200012d7d34c005d28640002000e70e..."} 
[2026-08-23 13:26:51] local.INFO: Processing buffer {"connection_id":163101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9d5200012d7d34c005d28640002000e70e..."} 
[2026-08-23 13:26:51] local.INFO: Packet analysis {"connection_id":163101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:26:51] local.INFO: Extracted packet for processing {"connection_id":163101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:26:51] local.INFO: GPS Element Parsed {"raw_longitude":763180224,"raw_latitude":97683008,"longitude_deg":76.3180224,"latitude_deg":9.7683008,"altitude":32,"angle":231,"satellites":14,"speed":0,"hex_longitude":"2d7d34c0","hex_latitude":"05d28640","is_valid_coordinates":true} 
[2026-08-23 13:26:51] 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-08-23 13:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592750080001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122626062239662080,"note":"Value kept but may cause issues"} 
[2026-08-23 13:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022047084769329152,"note":"Value kept but may cause issues"} 
[2026-08-23 13:26:51] 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-08-23 13:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787471680000,"timestamp_ms":1787471680000,"timestamp_seconds":1787471680,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9d5200"} 
[2026-08-23 13:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":3584,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-08-23 13:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 13:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 13:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 13:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 13:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592750080001,"66":11656,"117":206,"85":15104,"24":0,"16":122626062239662080,"45":9022047084769329152},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 13:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 13:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 13:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592750080001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:26:51] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 13:26:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 13:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122626062239662080,"km_value":122626062239662.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022047084769329152,"description":"Unknown IO ID 45"} 
[2026-08-23 13:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592750080001,"power":11656,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9022047084769329152}} 
[2026-08-23 13:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":163101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:26:51] local.INFO: GPS data processed {"connection_id":163101,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:26:51] local.INFO: Acknowledgment sent {"connection_id":163101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:26:51] local.INFO: TCP Data received {"connection_id":160514,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:26:51] local.INFO: Processing buffer {"connection_id":160514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:26:51] local.INFO: IMEI packet received {"connection_id":160514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":160514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:26:52] local.INFO: TCP Data received {"connection_id":160514,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:26:52] local.INFO: Processing buffer {"connection_id":160514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:26:52] local.INFO: Packet analysis {"connection_id":160514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:26:52] local.INFO: Extracted packet for processing {"connection_id":160514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:26:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592669184001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787471665000,"timestamp_ms":1787471665000,"timestamp_seconds":1787471665,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9d1768"} 
[2026-08-23 13:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:26:52] 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-08-23 13:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:26:52] 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-08-23 13:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592669184001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592669184001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:26:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:26:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592669184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":160514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:26:52] local.INFO: GPS data processed {"connection_id":160514,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:26:52] local.INFO: Acknowledgment sent {"connection_id":160514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:27:07] local.INFO: TCP Data received {"connection_id":160765,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9ec130012d20d3c00726df480035005b26..."} 
[2026-08-23 13:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9ec130012d20d3c00726df480035005b26..."} 
[2026-08-23 13:27:07] local.INFO: Processing buffer {"connection_id":160765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9ec130012d20d3c00726df480035005b26..."} 
[2026-08-23 13:27:07] local.INFO: Packet analysis {"connection_id":160765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9e"} 
[2026-08-23 13:27:07] local.INFO: Extracted packet for processing {"connection_id":160765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9e"} 
[2026-08-23 13:27:07] local.INFO: GPS Element Parsed {"raw_longitude":757126080,"raw_latitude":119988040,"longitude_deg":75.712608,"latitude_deg":11.998804,"altitude":53,"angle":91,"satellites":38,"speed":44,"hex_longitude":"2d20d3c0","hex_latitude":"0726df48","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592773376001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15488133105713152,"note":"Value kept but may cause issues"} 
[2026-08-23 13:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2361786191551836160,"note":"Value kept but may cause issues"} 
[2026-08-23 13:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787471774000,"timestamp_ms":1787471774000,"timestamp_seconds":1787471774,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9ec130"} 
[2026-08-23 13:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 13:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13: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-08-23 13:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592773376001,"66":14407,"59":206,"83":42752,"24":44,"16":15488133105713152,"45":2361786191551836160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,83,24,16,45]} 
[2026-08-23 13:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592773376001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:27:07] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-23 13:27:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15488133105713152,"km_value":15488133105713.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2361786191551836160,"description":"Unknown IO ID 45"} 
[2026-08-23 13:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592773376001,"power":14407,"unknown_59":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":2361786191551836160}} 
[2026-08-23 13:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":160765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:27:07] local.INFO: GPS data processed {"connection_id":160765,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:27:07] local.INFO: Acknowledgment sent {"connection_id":160765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:27:23] local.INFO: TCP Data received {"connection_id":160514,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:27:23] local.INFO: Processing buffer {"connection_id":160514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:27:23] local.INFO: Packet analysis {"connection_id":160514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:27:23] local.INFO: Extracted packet for processing {"connection_id":160514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:27:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592669184001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787471665000,"timestamp_ms":1787471665000,"timestamp_seconds":1787471665,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9d1768"} 
[2026-08-23 13:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13: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":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:27:23] 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-08-23 13: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-08-23 13:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592669184001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592669184001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:27:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:27:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592669184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":160514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:27:23] local.INFO: GPS data processed {"connection_id":160514,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:27:23] local.INFO: Acknowledgment sent {"connection_id":160514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:27:24] local.INFO: TCP Data received {"connection_id":163101,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9ef7e0012d7d344005d28910001800a910..."} 
[2026-08-23 13:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9ef7e0012d7d344005d28910001800a910..."} 
[2026-08-23 13:27:24] local.INFO: Processing buffer {"connection_id":163101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9ef7e0012d7d344005d28910001800a910..."} 
[2026-08-23 13:27:24] local.INFO: Packet analysis {"connection_id":163101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9e"} 
[2026-08-23 13:27:24] local.INFO: Extracted packet for processing {"connection_id":163101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9e"} 
[2026-08-23 13:27:24] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":97683728,"longitude_deg":76.3180096,"latitude_deg":9.7683728,"altitude":24,"angle":169,"satellites":16,"speed":1,"hex_longitude":"2d7d3440","hex_latitude":"05d28910","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592776448001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122626165318877184,"note":"Value kept but may cause issues"} 
[2026-08-23 13:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347281186816,"note":"Value kept but may cause issues"} 
[2026-08-23 13:27:24] 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-08-23 13:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787471788000,"timestamp_ms":1787471788000,"timestamp_seconds":1787471788,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9ef7e0"} 
[2026-08-23 13:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13: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":45,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-08-23 13:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":864,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13: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-08-23 13:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 13:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163101,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 13:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 13:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 13:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592776448001,"66":11461,"117":206,"85":15104,"24":1,"16":122626165318877184,"45":9021906347281186816},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 13:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 13:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 13:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592776448001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:27:24] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 13:27:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 13:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122626165318877184,"km_value":122626165318877.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347281186816,"description":"Unknown IO ID 45"} 
[2026-08-23 13:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592776448001,"power":11461,"unknown_117":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9021906347281186816}} 
[2026-08-23 13:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":163101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:27:24] local.INFO: GPS data processed {"connection_id":163101,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:27:24] local.INFO: Acknowledgment sent {"connection_id":163101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:27:27] local.INFO: TCP Data received {"connection_id":160766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:27:27] local.INFO: Processing buffer {"connection_id":160766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:27:27] local.INFO: IMEI packet received {"connection_id":160766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":160766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:27:30] local.INFO: TCP Data received {"connection_id":160766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:27:30] local.INFO: Processing buffer {"connection_id":160766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:27:30] local.INFO: IMEI packet received {"connection_id":160766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":160766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:27:30] local.INFO: TCP Data received {"connection_id":160766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:27:30] local.INFO: Processing buffer {"connection_id":160766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:27:30] local.INFO: IMEI packet received {"connection_id":160766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":160766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:27:34] local.INFO: TCP Data received {"connection_id":160766,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:27:34] local.INFO: Processing buffer {"connection_id":160766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:27:34] local.INFO: IMEI packet received {"connection_id":160766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":160766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:27:35] local.INFO: TCP Data received {"connection_id":160766,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9ed0d0012d20e6000726dc980036006e26..."} 
[2026-08-23 13:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9ed0d0012d20e6000726dc980036006e26..."} 
[2026-08-23 13:27:35] local.INFO: Processing buffer {"connection_id":160766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9ed0d0012d20e6000726dc980036006e26..."} 
[2026-08-23 13:27:35] local.INFO: Packet analysis {"connection_id":160766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9e"} 
[2026-08-23 13:27:35] local.INFO: Extracted packet for processing {"connection_id":160766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9e"} 
[2026-08-23 13:27:35] local.INFO: GPS Element Parsed {"raw_longitude":757130752,"raw_latitude":119987352,"longitude_deg":75.7130752,"latitude_deg":11.9987352,"altitude":54,"angle":110,"satellites":38,"speed":48,"hex_longitude":"2d20e600","hex_latitude":"0726dc98","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592774144001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15488360738979840,"note":"Value kept but may cause issues"} 
[2026-08-23 13:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2365445366249113600,"note":"Value kept but may cause issues"} 
[2026-08-23 13:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787471778000,"timestamp_ms":1787471778000,"timestamp_seconds":1787471778,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9ed0d0"} 
[2026-08-23 13:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-23 13:27:35] 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-08-23 13: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-08-23 13:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592774144001,"66":14559,"59":206,"83":42752,"24":48,"16":15488360738979840,"45":2365445366249113600},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,83,24,16,45]} 
[2026-08-23 13:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592774144001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:27:35] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-23 13:27:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15488360738979840,"km_value":15488360738979.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2365445366249113600,"description":"Unknown IO ID 45"} 
[2026-08-23 13:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592774144001,"power":14559,"unknown_59":206,"unknown_83":42752,"ignition":48,"odometer":null,"unknown_45":2365445366249113600}} 
[2026-08-23 13:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":160766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:27:35] local.INFO: GPS data processed {"connection_id":160766,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:27:35] local.INFO: Acknowledgment sent {"connection_id":160766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:27:41] local.INFO: TCP Data received {"connection_id":161694,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:27:41] local.INFO: Processing buffer {"connection_id":161694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:27:41] local.INFO: IMEI packet received {"connection_id":161694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 13:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":161694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:27:46] local.INFO: TCP Data received {"connection_id":161695,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:27:46] local.INFO: Processing buffer {"connection_id":161695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:27:46] local.INFO: IMEI packet received {"connection_id":161695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":161695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:27:46] local.INFO: TCP Data received {"connection_id":161694,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:27:46] local.INFO: Processing buffer {"connection_id":161694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:27:46] local.INFO: IMEI packet received {"connection_id":161694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 13:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":161694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:27:47] local.INFO: TCP Data received {"connection_id":161694,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9f49e8012d7d348005d28910001800a911..."} 
[2026-08-23 13:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9f49e8012d7d348005d28910001800a911..."} 
[2026-08-23 13:27:47] local.INFO: Processing buffer {"connection_id":161694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9f49e8012d7d348005d28910001800a911..."} 
[2026-08-23 13:27:47] local.INFO: Packet analysis {"connection_id":161694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9f"} 
[2026-08-23 13:27:47] local.INFO: Extracted packet for processing {"connection_id":161694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9f"} 
[2026-08-23 13:27:47] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":97683728,"longitude_deg":76.318016,"latitude_deg":9.7683728,"altitude":24,"angle":169,"satellites":17,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05d28910","is_valid_coordinates":true} 
[2026-08-23 13:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592777728001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122626169613844480,"note":"Value kept but may cause issues"} 
[2026-08-23 13:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347281158144,"note":"Value kept but may cause issues"} 
[2026-08-23 13:27:47] 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-08-23 13:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787471809000,"timestamp_ms":1787471809000,"timestamp_seconds":1787471809,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9f49e8"} 
[2026-08-23 13:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-08-23 13:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2191,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 13:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 13:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 13:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 13:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592777728001,"66":11471,"117":206,"85":15104,"24":0,"16":122626169613844480,"45":9021906347281158144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 13:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 13:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 13:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592777728001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:27:47] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 13:27:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 13:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122626169613844480,"km_value":122626169613844.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347281158144,"description":"Unknown IO ID 45"} 
[2026-08-23 13:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592777728001,"power":11471,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9021906347281158144}} 
[2026-08-23 13:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":161694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:27:47] local.INFO: GPS data processed {"connection_id":161694,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:27:47] local.INFO: Acknowledgment sent {"connection_id":161694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:27:51] local.INFO: TCP Data received {"connection_id":161695,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:27:51] local.INFO: Processing buffer {"connection_id":161695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:27:51] local.INFO: IMEI packet received {"connection_id":161695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":161695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:27:52] local.INFO: TCP Data received {"connection_id":161695,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:27:52] local.INFO: Processing buffer {"connection_id":161695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:27:52] local.INFO: Packet analysis {"connection_id":161695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:27:52] local.INFO: Extracted packet for processing {"connection_id":161695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:27:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592669184001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787471665000,"timestamp_ms":1787471665000,"timestamp_seconds":1787471665,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9d1768"} 
[2026-08-23 13:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:27:52] 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-08-23 13: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-08-23 13:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592669184001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592669184001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:27:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:27:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592669184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":161695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:27:52] local.INFO: GPS data processed {"connection_id":161695,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:27:52] local.INFO: Acknowledgment sent {"connection_id":161695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:28:06] local.INFO: TCP Data received {"connection_id":160766,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9ed8a0012d20ee400726d8100036007b24..."} 
[2026-08-23 13:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9ed8a0012d20ee400726d8100036007b24..."} 
[2026-08-23 13:28:06] local.INFO: Processing buffer {"connection_id":160766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9ed8a0012d20ee400726d8100036007b24..."} 
[2026-08-23 13:28:06] local.INFO: Packet analysis {"connection_id":160766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9e"} 
[2026-08-23 13:28:06] local.INFO: Extracted packet for processing {"connection_id":160766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9e"} 
[2026-08-23 13:28:06] local.INFO: GPS Element Parsed {"raw_longitude":757132864,"raw_latitude":119986192,"longitude_deg":75.7132864,"latitude_deg":11.9986192,"altitude":54,"angle":123,"satellites":36,"speed":47,"hex_longitude":"2d20ee40","hex_latitude":"0726d810","is_valid_coordinates":true} 
[2026-08-23 13:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592775168001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15488476703096832,"note":"Value kept but may cause issues"} 
[2026-08-23 13:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2370582284573906944,"note":"Value kept but may cause issues"} 
[2026-08-23 13:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787471780000,"timestamp_ms":1787471780000,"timestamp_seconds":1787471780,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9ed8a0"} 
[2026-08-23 13:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-23 13:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592775168001,"66":14559,"59":206,"83":42752,"24":47,"16":15488476703096832,"45":2370582284573906944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,83,24,16,45]} 
[2026-08-23 13:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592775168001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:28:06] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-23 13:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15488476703096832,"km_value":15488476703096.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2370582284573906944,"description":"Unknown IO ID 45"} 
[2026-08-23 13:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592775168001,"power":14559,"unknown_59":206,"unknown_83":42752,"ignition":47,"odometer":null,"unknown_45":2370582284573906944}} 
[2026-08-23 13:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":160766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:28:06] local.INFO: GPS data processed {"connection_id":160766,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:28:06] local.INFO: Acknowledgment sent {"connection_id":160766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:28:18] local.INFO: TCP Data received {"connection_id":161694,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9f9bf0012d7d348005d28958001700a916..."} 
[2026-08-23 13:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9f9bf0012d7d348005d28958001700a916..."} 
[2026-08-23 13:28:18] local.INFO: Processing buffer {"connection_id":161694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9f9bf0012d7d348005d28958001700a916..."} 
[2026-08-23 13:28:18] local.INFO: Packet analysis {"connection_id":161694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9f"} 
[2026-08-23 13:28:18] local.INFO: Extracted packet for processing {"connection_id":161694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9f"} 
[2026-08-23 13:28:18] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":97683800,"longitude_deg":76.318016,"latitude_deg":9.76838,"altitude":23,"angle":169,"satellites":22,"speed":1,"hex_longitude":"2d7d3480","hex_latitude":"05d28958","is_valid_coordinates":true} 
[2026-08-23 13:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592783104001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122626173908811776,"note":"Value kept but may cause issues"} 
[2026-08-23 13:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716025335808,"note":"Value kept but may cause issues"} 
[2026-08-23 13:28:18] 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-08-23 13:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787471830000,"timestamp_ms":1787471830000,"timestamp_seconds":1787471830,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9f9bf0"} 
[2026-08-23 13:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 13:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 13:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 13:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 13:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 13:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592783104001,"66":11547,"117":206,"85":15104,"24":1,"16":122626173908811776,"45":9021976716025335808},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 13:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 13:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 13:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592783104001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:28:18] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 13:28:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 13:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122626173908811776,"km_value":122626173908811.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716025335808,"description":"Unknown IO ID 45"} 
[2026-08-23 13:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592783104001,"power":11547,"unknown_117":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9021976716025335808}} 
[2026-08-23 13:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":161694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:28:18] local.INFO: GPS data processed {"connection_id":161694,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:28:18] local.INFO: Acknowledgment sent {"connection_id":161694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:28:23] local.INFO: TCP Data received {"connection_id":161695,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:28:23] local.INFO: Processing buffer {"connection_id":161695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:28:23] local.INFO: Packet analysis {"connection_id":161695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:28:23] local.INFO: Extracted packet for processing {"connection_id":161695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:28:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592669184001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787471665000,"timestamp_ms":1787471665000,"timestamp_seconds":1787471665,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9d1768"} 
[2026-08-23 13:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:28:23] 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-08-23 13:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592669184001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592669184001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:28:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:28:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592669184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":161695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:28:23] local.INFO: GPS data processed {"connection_id":161695,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:28:23] local.INFO: Acknowledgment sent {"connection_id":161695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:28:29] local.INFO: TCP Data received {"connection_id":160515,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:28:29] local.INFO: Processing buffer {"connection_id":160515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:28:29] local.INFO: IMEI packet received {"connection_id":160515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":160515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:28:34] local.INFO: TCP Data received {"connection_id":160515,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:28:34] local.INFO: Processing buffer {"connection_id":160515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:28:34] local.INFO: IMEI packet received {"connection_id":160515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":160515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:28:35] local.INFO: TCP Data received {"connection_id":160515,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9fd2a0012d21dd8007264aa80031005726..."} 
[2026-08-23 13:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9fd2a0012d21dd8007264aa80031005726..."} 
[2026-08-23 13:28:35] local.INFO: Processing buffer {"connection_id":160515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9fd2a0012d21dd8007264aa80031005726..."} 
[2026-08-23 13:28:35] local.INFO: Packet analysis {"connection_id":160515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9f"} 
[2026-08-23 13:28:35] local.INFO: Extracted packet for processing {"connection_id":160515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9f"} 
[2026-08-23 13:28:35] local.INFO: GPS Element Parsed {"raw_longitude":757194112,"raw_latitude":119949992,"longitude_deg":75.7194112,"latitude_deg":11.9949992,"altitude":49,"angle":87,"satellites":38,"speed":42,"hex_longitude":"2d21dd80","hex_latitude":"07264aa8","is_valid_coordinates":true} 
[2026-08-23 13:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592791296001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15492050115887104,"note":"Value kept but may cause issues"} 
[2026-08-23 13:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2436728904091437056,"note":"Value kept but may cause issues"} 
[2026-08-23 13:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787471844000,"timestamp_ms":1787471844000,"timestamp_seconds":1787471844,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9fd2a0"} 
[2026-08-23 13:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-23 13:28:35] 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-08-23 13:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592791296001,"66":14048,"187":206,"83":42752,"24":42,"16":15492050115887104,"45":2436728904091437056},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592791296001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:28:35] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:28:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15492050115887104,"km_value":15492050115887.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2436728904091437056,"description":"Unknown IO ID 45"} 
[2026-08-23 13:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592791296001,"power":14048,"unknown_187":206,"unknown_83":42752,"ignition":42,"odometer":null,"unknown_45":2436728904091437056}} 
[2026-08-23 13:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":160515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:28:35] local.INFO: GPS data processed {"connection_id":160515,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:28:35] local.INFO: Acknowledgment sent {"connection_id":160515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:28:46] local.INFO: TCP Data received {"connection_id":161696,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:28:46] local.INFO: Processing buffer {"connection_id":161696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:28:46] local.INFO: IMEI packet received {"connection_id":161696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":161696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:28:51] local.INFO: TCP Data received {"connection_id":161696,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:28:51] local.INFO: Processing buffer {"connection_id":161696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:28:51] local.INFO: IMEI packet received {"connection_id":161696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":161696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:28:53] local.INFO: TCP Data received {"connection_id":161696,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:28:53] local.INFO: Processing buffer {"connection_id":161696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:28:53] local.INFO: Packet analysis {"connection_id":161696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:28:53] local.INFO: Extracted packet for processing {"connection_id":161696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:28:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592669184001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787471665000,"timestamp_ms":1787471665000,"timestamp_seconds":1787471665,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9d1768"} 
[2026-08-23 13:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:28:53] 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-08-23 13:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:28:53] 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-08-23 13:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592669184001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592669184001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:28:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:28:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592669184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":161696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:28:53] local.INFO: GPS data processed {"connection_id":161696,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:28:53] local.INFO: Acknowledgment sent {"connection_id":161696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:29:06] local.INFO: TCP Data received {"connection_id":160515,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9ff5c8012d22038007264e400036005b26..."} 
[2026-08-23 13:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9ff5c8012d22038007264e400036005b26..."} 
[2026-08-23 13:29:06] local.INFO: Processing buffer {"connection_id":160515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9ff5c8012d22038007264e400036005b26..."} 
[2026-08-23 13:29:06] local.INFO: Packet analysis {"connection_id":160515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9f"} 
[2026-08-23 13:29:06] local.INFO: Extracted packet for processing {"connection_id":160515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9f"} 
[2026-08-23 13:29:06] local.INFO: GPS Element Parsed {"raw_longitude":757203840,"raw_latitude":119950912,"longitude_deg":75.720384,"latitude_deg":11.9950912,"altitude":54,"angle":91,"satellites":38,"speed":40,"hex_longitude":"2d220380","hex_latitude":"07264e40","is_valid_coordinates":true} 
[2026-08-23 13:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592792064001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15492513972355072,"note":"Value kept but may cause issues"} 
[2026-08-23 13:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2440247341300230144,"note":"Value kept but may cause issues"} 
[2026-08-23 13:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787471853000,"timestamp_ms":1787471853000,"timestamp_seconds":1787471853,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9ff5c8"} 
[2026-08-23 13:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 13:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592792064001,"66":13167,"187":206,"83":42752,"24":40,"16":15492513972355072,"45":2440247341300230144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592792064001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:29:06] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:29:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15492513972355072,"km_value":15492513972355.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2440247341300230144,"description":"Unknown IO ID 45"} 
[2026-08-23 13:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592792064001,"power":13167,"unknown_187":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":2440247341300230144}} 
[2026-08-23 13:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":160515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:29:06] local.INFO: GPS data processed {"connection_id":160515,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:29:06] local.INFO: Acknowledgment sent {"connection_id":160515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:29:24] local.INFO: TCP Data received {"connection_id":161696,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:29:24] local.INFO: Processing buffer {"connection_id":161696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:29:24] local.INFO: Packet analysis {"connection_id":161696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:29:24] local.INFO: Extracted packet for processing {"connection_id":161696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:29:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592669184001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787471665000,"timestamp_ms":1787471665000,"timestamp_seconds":1787471665,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9d1768"} 
[2026-08-23 13:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:29:24] 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-08-23 13:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:29:24] 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-08-23 13:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592669184001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592669184001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:29:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:29:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592669184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":161696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:29:24] local.INFO: GPS data processed {"connection_id":161696,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:29:24] local.INFO: Acknowledgment sent {"connection_id":161696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:29:30] local.INFO: TCP Data received {"connection_id":160516,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:29:30] local.INFO: Processing buffer {"connection_id":160516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:29:30] local.INFO: IMEI packet received {"connection_id":160516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":160516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:29:30] local.INFO: TCP Data received {"connection_id":160516,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:29:30] local.INFO: Processing buffer {"connection_id":160516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:29:30] local.INFO: IMEI packet received {"connection_id":160516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":160516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:29:34] local.INFO: TCP Data received {"connection_id":160516,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:29:34] local.INFO: Processing buffer {"connection_id":160516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:29:34] local.INFO: IMEI packet received {"connection_id":160516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":160516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:29:35] local.INFO: TCP Data received {"connection_id":160516,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da00950012d22150007264f880037004f27..."} 
[2026-08-23 13:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da00950012d22150007264f880037004f27..."} 
[2026-08-23 13:29:35] local.INFO: Processing buffer {"connection_id":160516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da00950012d22150007264f880037004f27..."} 
[2026-08-23 13:29:35] local.INFO: Packet analysis {"connection_id":160516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da0"} 
[2026-08-23 13:29:35] local.INFO: Extracted packet for processing {"connection_id":160516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da0"} 
[2026-08-23 13:29:35] local.INFO: GPS Element Parsed {"raw_longitude":757208320,"raw_latitude":119951240,"longitude_deg":75.720832,"latitude_deg":11.995124,"altitude":55,"angle":79,"satellites":39,"speed":30,"hex_longitude":"2d221500","hex_latitude":"07264f88","is_valid_coordinates":true} 
[2026-08-23 13:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592794368001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15492728720719872,"note":"Value kept but may cause issues"} 
[2026-08-23 13:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2450943390415470592,"note":"Value kept but may cause issues"} 
[2026-08-23 13:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787471858000,"timestamp_ms":1787471858000,"timestamp_seconds":1787471858,"priority":1,"record_length":96,"hex_timestamp":"000001a02da00950"} 
[2026-08-23 13:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-23 13:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592794368001,"66":13135,"187":206,"83":42752,"24":30,"16":15492728720719872,"45":2450943390415470592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592794368001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:29:35] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:29:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15492728720719872,"km_value":15492728720719.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2450943390415470592,"description":"Unknown IO ID 45"} 
[2026-08-23 13:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592794368001,"power":13135,"unknown_187":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":2450943390415470592}} 
[2026-08-23 13:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":160516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:29:35] local.INFO: GPS data processed {"connection_id":160516,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:29:35] local.INFO: Acknowledgment sent {"connection_id":160516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:29:51] local.INFO: TCP Data received {"connection_id":160767,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:29:51] local.INFO: Processing buffer {"connection_id":160767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:29:51] local.INFO: IMEI packet received {"connection_id":160767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":160767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:29:56] local.INFO: TCP Data received {"connection_id":160767,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:29:56] local.INFO: Processing buffer {"connection_id":160767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:29:56] local.INFO: IMEI packet received {"connection_id":160767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":160767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:29:58] local.INFO: TCP Data received {"connection_id":160767,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:29:58] local.INFO: Processing buffer {"connection_id":160767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:29:58] local.INFO: Packet analysis {"connection_id":160767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:29:58] local.INFO: Extracted packet for processing {"connection_id":160767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:29:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592669184001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787471665000,"timestamp_ms":1787471665000,"timestamp_seconds":1787471665,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9d1768"} 
[2026-08-23 13:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13: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":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:29:58] 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-08-23 13: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-08-23 13:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592669184001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592669184001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:29:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:29:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592669184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":160767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:29:58] local.INFO: GPS data processed {"connection_id":160767,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:29:58] local.INFO: Acknowledgment sent {"connection_id":160767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:30:02] local.INFO: TCP Data received {"connection_id":160767,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:30:02] local.INFO: Processing buffer {"connection_id":160767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02d9d1768012d34c50006aa40980013008527..."} 
[2026-08-23 13:30:02] local.INFO: Packet analysis {"connection_id":160767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:30:02] local.INFO: Extracted packet for processing {"connection_id":160767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02d9d"} 
[2026-08-23 13:30:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592669184001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787471665000,"timestamp_ms":1787471665000,"timestamp_seconds":1787471665,"priority":1,"record_length":96,"hex_timestamp":"000001a02d9d1768"} 
[2026-08-23 13:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:30:02] 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-08-23 13:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592669184001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592669184001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:30:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:30:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592669184001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":160767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:30:02] local.INFO: GPS data processed {"connection_id":160767,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:30:02] local.INFO: Acknowledgment sent {"connection_id":160767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:30:06] local.INFO: TCP Data received {"connection_id":160516,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da020c0012d222140072652080038005e25..."} 
[2026-08-23 13:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da020c0012d222140072652080038005e25..."} 
[2026-08-23 13:30:06] local.INFO: Processing buffer {"connection_id":160516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da020c0012d222140072652080038005e25..."} 
[2026-08-23 13:30:06] local.INFO: Packet analysis {"connection_id":160516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da0"} 
[2026-08-23 13:30:06] local.INFO: Extracted packet for processing {"connection_id":160516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da0"} 
[2026-08-23 13:30:06] local.INFO: GPS Element Parsed {"raw_longitude":757211456,"raw_latitude":119951880,"longitude_deg":75.7211456,"latitude_deg":11.995188,"altitude":56,"angle":94,"satellites":37,"speed":15,"hex_longitude":"2d222140","hex_latitude":"07265208","is_valid_coordinates":true} 
[2026-08-23 13:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592795648001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15492879044575232,"note":"Value kept but may cause issues"} 
[2026-08-23 13:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2455869202507991040,"note":"Value kept but may cause issues"} 
[2026-08-23 13:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787471864000,"timestamp_ms":1787471864000,"timestamp_seconds":1787471864,"priority":1,"record_length":96,"hex_timestamp":"000001a02da020c0"} 
[2026-08-23 13:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 13:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592795648001,"66":13200,"187":206,"83":42752,"24":15,"16":15492879044575232,"45":2455869202507991040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592795648001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:30:06] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15492879044575232,"km_value":15492879044575.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2455869202507991040,"description":"Unknown IO ID 45"} 
[2026-08-23 13:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592795648001,"power":13200,"unknown_187":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":2455869202507991040}} 
[2026-08-23 13:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":160516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:30:06] local.INFO: GPS data processed {"connection_id":160516,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:30:06] local.INFO: Acknowledgment sent {"connection_id":160516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:30:31] local.INFO: TCP Data received {"connection_id":160768,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:30:31] local.INFO: Processing buffer {"connection_id":160768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:30:31] local.INFO: IMEI packet received {"connection_id":160768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":160768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:30:32] local.INFO: TCP Data received {"connection_id":160768,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:30:32] local.INFO: Processing buffer {"connection_id":160768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:30:32] local.INFO: IMEI packet received {"connection_id":160768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":160768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:30:35] local.INFO: TCP Data received {"connection_id":160768,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:30:35] local.INFO: Processing buffer {"connection_id":160768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:30:35] local.INFO: IMEI packet received {"connection_id":160768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":160768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:30:35] local.INFO: TCP Data received {"connection_id":160768,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da024a8012d222280072651c00038006a27..."} 
[2026-08-23 13:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da024a8012d222280072651c00038006a27..."} 
[2026-08-23 13:30:35] local.INFO: Processing buffer {"connection_id":160768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da024a8012d222280072651c00038006a27..."} 
[2026-08-23 13:30:35] local.INFO: Packet analysis {"connection_id":160768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da0"} 
[2026-08-23 13:30:35] local.INFO: Extracted packet for processing {"connection_id":160768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da0"} 
[2026-08-23 13:30:35] local.INFO: GPS Element Parsed {"raw_longitude":757211776,"raw_latitude":119951808,"longitude_deg":75.7211776,"latitude_deg":11.9951808,"altitude":56,"angle":106,"satellites":39,"speed":13,"hex_longitude":"2d222280","hex_latitude":"072651c0","is_valid_coordinates":true} 
[2026-08-23 13:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592797184001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15492891929477120,"note":"Value kept but may cause issues"} 
[2026-08-23 13:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2459317270972860416,"note":"Value kept but may cause issues"} 
[2026-08-23 13:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787471865000,"timestamp_ms":1787471865000,"timestamp_seconds":1787471865,"priority":1,"record_length":96,"hex_timestamp":"000001a02da024a8"} 
[2026-08-23 13:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-23 13:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592797184001,"66":13200,"187":206,"83":42752,"24":13,"16":15492891929477120,"45":2459317270972860416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592797184001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:30:35] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:30:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15492891929477120,"km_value":15492891929477.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2459317270972860416,"description":"Unknown IO ID 45"} 
[2026-08-23 13:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592797184001,"power":13200,"unknown_187":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":2459317270972860416}} 
[2026-08-23 13:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":160768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:30:35] local.INFO: GPS data processed {"connection_id":160768,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:30:35] local.INFO: Acknowledgment sent {"connection_id":160768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:30:40] local.INFO: TCP Data received {"connection_id":160768,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da02890012d2223c0072651100038008427..."} 
[2026-08-23 13:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da02890012d2223c0072651100038008427..."} 
[2026-08-23 13:30:40] local.INFO: Processing buffer {"connection_id":160768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da02890012d2223c0072651100038008427..."} 
[2026-08-23 13:30:40] local.INFO: Packet analysis {"connection_id":160768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da0"} 
[2026-08-23 13:30:40] local.INFO: Extracted packet for processing {"connection_id":160768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da0"} 
[2026-08-23 13:30:40] local.INFO: GPS Element Parsed {"raw_longitude":757212096,"raw_latitude":119951632,"longitude_deg":75.7212096,"latitude_deg":11.9951632,"altitude":56,"angle":132,"satellites":39,"speed":12,"hex_longitude":"2d2223c0","hex_latitude":"07265110","is_valid_coordinates":true} 
[2026-08-23 13:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592797440001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15492909109346304,"note":"Value kept but may cause issues"} 
[2026-08-23 13:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2459669114693730304,"note":"Value kept but may cause issues"} 
[2026-08-23 13:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787471866000,"timestamp_ms":1787471866000,"timestamp_seconds":1787471866,"priority":1,"record_length":96,"hex_timestamp":"000001a02da02890"} 
[2026-08-23 13:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-23 13:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592797440001,"66":13102,"187":206,"83":42752,"24":12,"16":15492909109346304,"45":2459669114693730304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592797440001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:30:40] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:30:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15492909109346304,"km_value":15492909109346.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2459669114693730304,"description":"Unknown IO ID 45"} 
[2026-08-23 13:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592797440001,"power":13102,"unknown_187":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":2459669114693730304}} 
[2026-08-23 13:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":160768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:30:40] local.INFO: GPS data processed {"connection_id":160768,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:30:40] local.INFO: Acknowledgment sent {"connection_id":160768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:30:46] local.INFO: TCP Data received {"connection_id":161697,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:30:46] local.INFO: Processing buffer {"connection_id":161697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:30:46] local.INFO: IMEI packet received {"connection_id":161697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":161697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:30:51] local.INFO: TCP Data received {"connection_id":161697,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:30:51] local.INFO: Processing buffer {"connection_id":161697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:30:51] local.INFO: IMEI packet received {"connection_id":161697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":161697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:30:52] local.INFO: TCP Data received {"connection_id":161697,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:30:52] local.INFO: Processing buffer {"connection_id":161697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:30:52] local.INFO: Packet analysis {"connection_id":161697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:30:52] local.INFO: Extracted packet for processing {"connection_id":161697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592746240001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787471966000,"timestamp_ms":1787471966000,"timestamp_seconds":1787471966,"priority":1,"record_length":96,"hex_timestamp":"000001a02da1af30"} 
[2026-08-23 13:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 13:30:52] 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-08-23 13:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592746240001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592746240001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:30:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592746240001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":161697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:30:52] local.INFO: GPS data processed {"connection_id":161697,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:30:52] local.INFO: Acknowledgment sent {"connection_id":161697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:31:11] local.INFO: TCP Data received {"connection_id":160768,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da02c78012d222440072650300039009a27..."} 
[2026-08-23 13:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da02c78012d222440072650300039009a27..."} 
[2026-08-23 13:31:11] local.INFO: Processing buffer {"connection_id":160768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da02c78012d222440072650300039009a27..."} 
[2026-08-23 13:31:11] local.INFO: Packet analysis {"connection_id":160768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da0"} 
[2026-08-23 13:31:11] local.INFO: Extracted packet for processing {"connection_id":160768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da0"} 
[2026-08-23 13:31:11] local.INFO: GPS Element Parsed {"raw_longitude":757212224,"raw_latitude":119951408,"longitude_deg":75.7212224,"latitude_deg":11.9951408,"altitude":57,"angle":154,"satellites":39,"speed":13,"hex_longitude":"2d222440","hex_latitude":"07265030","is_valid_coordinates":true} 
[2026-08-23 13:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592797696001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15492921994248192,"note":"Value kept but may cause issues"} 
[2026-08-23 13:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2460020958414573568,"note":"Value kept but may cause issues"} 
[2026-08-23 13:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787471867000,"timestamp_ms":1787471867000,"timestamp_seconds":1787471867,"priority":1,"record_length":96,"hex_timestamp":"000001a02da02c78"} 
[2026-08-23 13:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-23 13:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592797696001,"66":13102,"187":206,"83":42752,"24":13,"16":15492921994248192,"45":2460020958414573568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592797696001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:31:11] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:31:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15492921994248192,"km_value":15492921994248.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2460020958414573568,"description":"Unknown IO ID 45"} 
[2026-08-23 13:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592797696001,"power":13102,"unknown_187":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":2460020958414573568}} 
[2026-08-23 13:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":160768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:31:11] local.INFO: GPS data processed {"connection_id":160768,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:31:11] local.INFO: Acknowledgment sent {"connection_id":160768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:31:24] local.INFO: TCP Data received {"connection_id":161697,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:31:24] local.INFO: Processing buffer {"connection_id":161697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:31:24] local.INFO: Packet analysis {"connection_id":161697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:31:24] local.INFO: Extracted packet for processing {"connection_id":161697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:31:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592746240001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787471966000,"timestamp_ms":1787471966000,"timestamp_seconds":1787471966,"priority":1,"record_length":96,"hex_timestamp":"000001a02da1af30"} 
[2026-08-23 13:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 13:31:24] 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-08-23 13: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-08-23 13:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592746240001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592746240001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:31:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:31:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592746240001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":161697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:31:24] local.INFO: GPS data processed {"connection_id":161697,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:31:24] local.INFO: Acknowledgment sent {"connection_id":161697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:31:29] local.INFO: TCP Data received {"connection_id":160517,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:31:29] local.INFO: Processing buffer {"connection_id":160517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:31:29] local.INFO: IMEI packet received {"connection_id":160517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":160517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:31:34] local.INFO: TCP Data received {"connection_id":160517,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:31:34] local.INFO: Processing buffer {"connection_id":160517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:31:34] local.INFO: IMEI packet received {"connection_id":160517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":160517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:31:35] local.INFO: TCP Data received {"connection_id":160517,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da03060012d2224c007264ed0003900a626..."} 
[2026-08-23 13:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da03060012d2224c007264ed0003900a626..."} 
[2026-08-23 13:31:35] local.INFO: Processing buffer {"connection_id":160517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da03060012d2224c007264ed0003900a626..."} 
[2026-08-23 13:31:35] local.INFO: Packet analysis {"connection_id":160517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da0"} 
[2026-08-23 13:31:35] local.INFO: Extracted packet for processing {"connection_id":160517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da0"} 
[2026-08-23 13:31:35] local.INFO: GPS Element Parsed {"raw_longitude":757212352,"raw_latitude":119951056,"longitude_deg":75.7212352,"latitude_deg":11.9951056,"altitude":57,"angle":166,"satellites":38,"speed":15,"hex_longitude":"2d2224c0","hex_latitude":"07264ed0","is_valid_coordinates":true} 
[2026-08-23 13:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592797952001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15492943469084672,"note":"Value kept but may cause issues"} 
[2026-08-23 13:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2460161695902871552,"note":"Value kept but may cause issues"} 
[2026-08-23 13:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787471868000,"timestamp_ms":1787471868000,"timestamp_seconds":1787471868,"priority":1,"record_length":96,"hex_timestamp":"000001a02da03060"} 
[2026-08-23 13:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-23 13:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592797952001,"66":13156,"187":206,"83":42752,"24":15,"16":15492943469084672,"45":2460161695902871552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592797952001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:31:35] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:31:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15492943469084672,"km_value":15492943469084.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2460161695902871552,"description":"Unknown IO ID 45"} 
[2026-08-23 13:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592797952001,"power":13156,"unknown_187":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":2460161695902871552}} 
[2026-08-23 13:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":160517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:31:35] local.INFO: GPS data processed {"connection_id":160517,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:31:35] local.INFO: Acknowledgment sent {"connection_id":160517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:31:46] local.INFO: TCP Data received {"connection_id":163104,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:31:46] local.INFO: Processing buffer {"connection_id":163104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:31:46] local.INFO: IMEI packet received {"connection_id":163104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":163104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:31:51] local.INFO: TCP Data received {"connection_id":163104,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:31:51] local.INFO: Processing buffer {"connection_id":163104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:31:51] local.INFO: IMEI packet received {"connection_id":163104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":163104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:31:52] local.INFO: TCP Data received {"connection_id":163104,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:31:52] local.INFO: Processing buffer {"connection_id":163104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:31:52] local.INFO: Packet analysis {"connection_id":163104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:31:52] local.INFO: Extracted packet for processing {"connection_id":163104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:31:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592746240001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787471966000,"timestamp_ms":1787471966000,"timestamp_seconds":1787471966,"priority":1,"record_length":96,"hex_timestamp":"000001a02da1af30"} 
[2026-08-23 13:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 13:31:52] 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-08-23 13: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-08-23 13:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592746240001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592746240001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:31:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:31:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592746240001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":163104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:31:52] local.INFO: GPS data processed {"connection_id":163104,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:31:52] local.INFO: Acknowledgment sent {"connection_id":163104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:32:06] local.INFO: TCP Data received {"connection_id":160517,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da08268012d22268007264898003d00a822..."} 
[2026-08-23 13:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da08268012d22268007264898003d00a822..."} 
[2026-08-23 13:32:06] local.INFO: Processing buffer {"connection_id":160517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da08268012d22268007264898003d00a822..."} 
[2026-08-23 13:32:06] local.INFO: Packet analysis {"connection_id":160517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da0"} 
[2026-08-23 13:32:06] local.INFO: Extracted packet for processing {"connection_id":160517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da0"} 
[2026-08-23 13:32:06] local.INFO: GPS Element Parsed {"raw_longitude":757212800,"raw_latitude":119949464,"longitude_deg":75.72128,"latitude_deg":11.9949464,"altitude":61,"angle":168,"satellites":34,"speed":0,"hex_longitude":"2d222680","hex_latitude":"07264898","is_valid_coordinates":true} 
[2026-08-23 13:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592798208001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15493029368430592,"note":"Value kept but may cause issues"} 
[2026-08-23 13:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2460302433391136768,"note":"Value kept but may cause issues"} 
[2026-08-23 13:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787471889000,"timestamp_ms":1787471889000,"timestamp_seconds":1787471889,"priority":1,"record_length":96,"hex_timestamp":"000001a02da08268"} 
[2026-08-23 13:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-23 13:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592798208001,"66":12982,"187":206,"83":42752,"24":0,"16":15493029368430592,"45":2460302433391136768},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592798208001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:32:06] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15493029368430592,"km_value":15493029368430.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2460302433391136768,"description":"Unknown IO ID 45"} 
[2026-08-23 13:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592798208001,"power":12982,"unknown_187":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2460302433391136768}} 
[2026-08-23 13:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":160517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:32:06] local.INFO: GPS data processed {"connection_id":160517,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:32:06] local.INFO: Acknowledgment sent {"connection_id":160517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:32:24] local.INFO: TCP Data received {"connection_id":163104,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:32:24] local.INFO: Processing buffer {"connection_id":163104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:32:24] local.INFO: Packet analysis {"connection_id":163104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:32:24] local.INFO: Extracted packet for processing {"connection_id":163104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:32:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592746240001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787471966000,"timestamp_ms":1787471966000,"timestamp_seconds":1787471966,"priority":1,"record_length":96,"hex_timestamp":"000001a02da1af30"} 
[2026-08-23 13:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 13:32:24] 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-08-23 13:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592746240001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592746240001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:32:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:32:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592746240001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":163104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:32:24] local.INFO: GPS data processed {"connection_id":163104,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:32:24] local.INFO: Acknowledgment sent {"connection_id":163104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:32:29] local.INFO: TCP Data received {"connection_id":161698,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:32:29] local.INFO: Processing buffer {"connection_id":161698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:32:29] local.INFO: IMEI packet received {"connection_id":161698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":161698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:32:34] local.INFO: TCP Data received {"connection_id":161698,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:32:34] local.INFO: Processing buffer {"connection_id":161698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:32:34] local.INFO: IMEI packet received {"connection_id":161698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":161698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:32:35] local.INFO: TCP Data received {"connection_id":161698,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da0d470012d22268007264898003d00a821..."} 
[2026-08-23 13:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da0d470012d22268007264898003d00a821..."} 
[2026-08-23 13:32:35] local.INFO: Processing buffer {"connection_id":161698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da0d470012d22268007264898003d00a821..."} 
[2026-08-23 13:32:35] local.INFO: Packet analysis {"connection_id":161698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da0"} 
[2026-08-23 13:32:35] local.INFO: Extracted packet for processing {"connection_id":161698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da0"} 
[2026-08-23 13:32:35] local.INFO: GPS Element Parsed {"raw_longitude":757212800,"raw_latitude":119949464,"longitude_deg":75.72128,"latitude_deg":11.9949464,"altitude":61,"angle":168,"satellites":33,"speed":0,"hex_longitude":"2d222680","hex_latitude":"07264898","is_valid_coordinates":true} 
[2026-08-23 13:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592803584001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15493029368430592,"note":"Value kept but may cause issues"} 
[2026-08-23 13:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2460795014599972864,"note":"Value kept but may cause issues"} 
[2026-08-23 13:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787471910000,"timestamp_ms":1787471910000,"timestamp_seconds":1787471910,"priority":1,"record_length":96,"hex_timestamp":"000001a02da0d470"} 
[2026-08-23 13:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 13:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592803584001,"66":13015,"187":206,"83":42752,"24":0,"16":15493029368430592,"45":2460795014599972864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592803584001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:32:35] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:32:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15493029368430592,"km_value":15493029368430.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2460795014599972864,"description":"Unknown IO ID 45"} 
[2026-08-23 13:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592803584001,"power":13015,"unknown_187":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2460795014599972864}} 
[2026-08-23 13:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":161698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:32:36] local.INFO: GPS data processed {"connection_id":161698,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:32:36] local.INFO: Acknowledgment sent {"connection_id":161698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:32:46] local.INFO: TCP Data received {"connection_id":163105,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:32:46] local.INFO: Processing buffer {"connection_id":163105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:32:46] local.INFO: IMEI packet received {"connection_id":163105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":163105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:32:51] local.INFO: TCP Data received {"connection_id":163105,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:32:51] local.INFO: Processing buffer {"connection_id":163105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:32:51] local.INFO: IMEI packet received {"connection_id":163105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":163105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:32:52] local.INFO: TCP Data received {"connection_id":163105,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:32:52] local.INFO: Processing buffer {"connection_id":163105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:32:52] local.INFO: Packet analysis {"connection_id":163105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:32:52] local.INFO: Extracted packet for processing {"connection_id":163105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:32:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592746240001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787471966000,"timestamp_ms":1787471966000,"timestamp_seconds":1787471966,"priority":1,"record_length":96,"hex_timestamp":"000001a02da1af30"} 
[2026-08-23 13:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 13:32:52] 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-08-23 13:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:32:52] 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-08-23 13:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592746240001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592746240001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:32:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:32:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592746240001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":163105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:32:52] local.INFO: GPS data processed {"connection_id":163105,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:32:52] local.INFO: Acknowledgment sent {"connection_id":163105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:33:06] local.INFO: TCP Data received {"connection_id":161698,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da12678012d22268007264898003d00a822..."} 
[2026-08-23 13:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da12678012d22268007264898003d00a822..."} 
[2026-08-23 13:33:06] local.INFO: Processing buffer {"connection_id":161698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da12678012d22268007264898003d00a822..."} 
[2026-08-23 13:33:06] local.INFO: Packet analysis {"connection_id":161698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:33:06] local.INFO: Extracted packet for processing {"connection_id":161698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:33:06] local.INFO: GPS Element Parsed {"raw_longitude":757212800,"raw_latitude":119949464,"longitude_deg":75.72128,"latitude_deg":11.9949464,"altitude":61,"angle":168,"satellites":34,"speed":0,"hex_longitude":"2d222680","hex_latitude":"07264898","is_valid_coordinates":true} 
[2026-08-23 13:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592808960001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15493029368430592,"note":"Value kept but may cause issues"} 
[2026-08-23 13:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2460795014599972864,"note":"Value kept but may cause issues"} 
[2026-08-23 13:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787471931000,"timestamp_ms":1787471931000,"timestamp_seconds":1787471931,"priority":1,"record_length":96,"hex_timestamp":"000001a02da12678"} 
[2026-08-23 13:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 13:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592808960001,"66":12982,"187":206,"83":42752,"24":0,"16":15493029368430592,"45":2460795014599972864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592808960001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:33:06] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15493029368430592,"km_value":15493029368430.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2460795014599972864,"description":"Unknown IO ID 45"} 
[2026-08-23 13:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592808960001,"power":12982,"unknown_187":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2460795014599972864}} 
[2026-08-23 13:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":161698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:33:06] local.INFO: GPS data processed {"connection_id":161698,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:33:06] local.INFO: Acknowledgment sent {"connection_id":161698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:33:23] local.INFO: TCP Data received {"connection_id":163105,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:33:23] local.INFO: Processing buffer {"connection_id":163105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:33:23] local.INFO: Packet analysis {"connection_id":163105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:33:23] local.INFO: Extracted packet for processing {"connection_id":163105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:33:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592746240001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787471966000,"timestamp_ms":1787471966000,"timestamp_seconds":1787471966,"priority":1,"record_length":96,"hex_timestamp":"000001a02da1af30"} 
[2026-08-23 13:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 13:33:23] 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-08-23 13: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-08-23 13:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:33:23] 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-08-23 13:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592746240001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592746240001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:33:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:33:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592746240001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":163105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:33:23] local.INFO: GPS data processed {"connection_id":163105,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:33:23] local.INFO: Acknowledgment sent {"connection_id":163105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:33:34] local.INFO: TCP Data received {"connection_id":160518,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:33:34] local.INFO: Processing buffer {"connection_id":160518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:33:34] local.INFO: IMEI packet received {"connection_id":160518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":160518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:33:39] local.INFO: TCP Data received {"connection_id":160518,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:33:39] local.INFO: Processing buffer {"connection_id":160518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:33:39] local.INFO: IMEI packet received {"connection_id":160518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":160518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:33:40] local.INFO: TCP Data received {"connection_id":160518,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da17880012d22268007264898003d00a825..."} 
[2026-08-23 13:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da17880012d22268007264898003d00a825..."} 
[2026-08-23 13:33:40] local.INFO: Processing buffer {"connection_id":160518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da17880012d22268007264898003d00a825..."} 
[2026-08-23 13:33:40] local.INFO: Packet analysis {"connection_id":160518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:33:40] local.INFO: Extracted packet for processing {"connection_id":160518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:33:40] local.INFO: GPS Element Parsed {"raw_longitude":757212800,"raw_latitude":119949464,"longitude_deg":75.72128,"latitude_deg":11.9949464,"altitude":61,"angle":168,"satellites":37,"speed":0,"hex_longitude":"2d222680","hex_latitude":"07264898","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592814336001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15493029368430592,"note":"Value kept but may cause issues"} 
[2026-08-23 13:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2460795014599972864,"note":"Value kept but may cause issues"} 
[2026-08-23 13:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787471952000,"timestamp_ms":1787471952000,"timestamp_seconds":1787471952,"priority":1,"record_length":96,"hex_timestamp":"000001a02da17880"} 
[2026-08-23 13:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:33: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-08-23 13: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 13:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13: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-08-23 13:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592814336001,"66":12950,"187":206,"83":42752,"24":0,"16":15493029368430592,"45":2460795014599972864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592814336001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:33:40] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:33:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15493029368430592,"km_value":15493029368430.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2460795014599972864,"description":"Unknown IO ID 45"} 
[2026-08-23 13:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592814336001,"power":12950,"unknown_187":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2460795014599972864}} 
[2026-08-23 13:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":160518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:33:40] local.INFO: GPS data processed {"connection_id":160518,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:33:40] local.INFO: Acknowledgment sent {"connection_id":160518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:33:41] local.INFO: TCP Data received {"connection_id":160518,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da1ca88012d22268007264898003d00a824..."} 
[2026-08-23 13:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da1ca88012d22268007264898003d00a824..."} 
[2026-08-23 13:33:41] local.INFO: Processing buffer {"connection_id":160518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da1ca88012d22268007264898003d00a824..."} 
[2026-08-23 13:33:41] local.INFO: Packet analysis {"connection_id":160518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:33:41] local.INFO: Extracted packet for processing {"connection_id":160518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:33:41] local.INFO: GPS Element Parsed {"raw_longitude":757212800,"raw_latitude":119949464,"longitude_deg":75.72128,"latitude_deg":11.9949464,"altitude":61,"angle":168,"satellites":36,"speed":0,"hex_longitude":"2d222680","hex_latitude":"07264898","is_valid_coordinates":true} 
[2026-08-23 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-08-23 13:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592819712001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15493029368430592,"note":"Value kept but may cause issues"} 
[2026-08-23 13:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2460795014599972864,"note":"Value kept but may cause issues"} 
[2026-08-23 13:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787471973000,"timestamp_ms":1787471973000,"timestamp_seconds":1787471973,"priority":1,"record_length":96,"hex_timestamp":"000001a02da1ca88"} 
[2026-08-23 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-08-23 13:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 13:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 13:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592819712001,"66":12928,"187":206,"83":42752,"24":0,"16":15493029368430592,"45":2460795014599972864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592819712001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:33:41] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:33:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15493029368430592,"km_value":15493029368430.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2460795014599972864,"description":"Unknown IO ID 45"} 
[2026-08-23 13:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592819712001,"power":12928,"unknown_187":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2460795014599972864}} 
[2026-08-23 13:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":160518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:33:41] local.INFO: GPS data processed {"connection_id":160518,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:33:41] local.INFO: Acknowledgment sent {"connection_id":160518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:33:51] local.INFO: TCP Data received {"connection_id":160519,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:33:51] local.INFO: Processing buffer {"connection_id":160519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:33:51] local.INFO: IMEI packet received {"connection_id":160519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":160519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:33:56] local.INFO: TCP Data received {"connection_id":160519,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:33:56] local.INFO: Processing buffer {"connection_id":160519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:33:56] local.INFO: IMEI packet received {"connection_id":160519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":160519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:33:57] local.INFO: TCP Data received {"connection_id":160519,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:33:57] local.INFO: Processing buffer {"connection_id":160519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:33:57] local.INFO: Packet analysis {"connection_id":160519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:33:57] local.INFO: Extracted packet for processing {"connection_id":160519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:33:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592746240001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787471966000,"timestamp_ms":1787471966000,"timestamp_seconds":1787471966,"priority":1,"record_length":96,"hex_timestamp":"000001a02da1af30"} 
[2026-08-23 13:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 13:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:33:57] 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-08-23 13:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592746240001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592746240001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:33:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:33:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592746240001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":160519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:33:57] local.INFO: GPS data processed {"connection_id":160519,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:33:57] local.INFO: Acknowledgment sent {"connection_id":160519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:34:12] local.INFO: TCP Data received {"connection_id":160518,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da550e0012d21ff0007264dc00043010f26..."} 
[2026-08-23 13:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da550e0012d21ff0007264dc00043010f26..."} 
[2026-08-23 13:34:12] local.INFO: Processing buffer {"connection_id":160518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da550e0012d21ff0007264dc00043010f26..."} 
[2026-08-23 13:34:12] local.INFO: Packet analysis {"connection_id":160518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da5"} 
[2026-08-23 13:34:12] local.INFO: Extracted packet for processing {"connection_id":160518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da5"} 
[2026-08-23 13:34:12] local.INFO: GPS Element Parsed {"raw_longitude":757202688,"raw_latitude":119950784,"longitude_deg":75.7202688,"latitude_deg":11.9950784,"altitude":67,"angle":271,"satellites":38,"speed":34,"hex_longitude":"2d21ff00","hex_latitude":"07264dc0","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592880896001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15493639253786624,"note":"Value kept but may cause issues"} 
[2026-08-23 13:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2459880220926259200,"note":"Value kept but may cause issues"} 
[2026-08-23 13:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787472204000,"timestamp_ms":1787472204000,"timestamp_seconds":1787472204,"priority":1,"record_length":96,"hex_timestamp":"000001a02da550e0"} 
[2026-08-23 13:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 13:34:12] 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-08-23 13: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-08-23 13:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592880896001,"66":14265,"187":206,"83":42752,"24":34,"16":15493639253786624,"45":2459880220926259200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592880896001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:34:12] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:34:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15493639253786624,"km_value":15493639253786.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2459880220926259200,"description":"Unknown IO ID 45"} 
[2026-08-23 13:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592880896001,"power":14265,"unknown_187":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":2459880220926259200}} 
[2026-08-23 13:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":160518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:34:12] local.INFO: GPS data processed {"connection_id":160518,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:34:12] local.INFO: Acknowledgment sent {"connection_id":160518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:34:27] local.INFO: TCP Data received {"connection_id":163106,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:34:27] local.INFO: Processing buffer {"connection_id":163106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:34:27] local.INFO: IMEI packet received {"connection_id":163106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":163106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:34:28] local.INFO: TCP Data received {"connection_id":160519,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:34:28] local.INFO: Processing buffer {"connection_id":160519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:34:28] local.INFO: Packet analysis {"connection_id":160519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:34:28] local.INFO: Extracted packet for processing {"connection_id":160519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:34:28] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592746240001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787471966000,"timestamp_ms":1787471966000,"timestamp_seconds":1787471966,"priority":1,"record_length":96,"hex_timestamp":"000001a02da1af30"} 
[2026-08-23 13:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 13:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:34:28] 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-08-23 13:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592746240001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592746240001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:34:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:34:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592746240001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":160519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:34:28] local.INFO: GPS data processed {"connection_id":160519,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:34:28] local.INFO: Acknowledgment sent {"connection_id":160519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:34:31] local.INFO: TCP Data received {"connection_id":163106,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:34:31] local.INFO: Processing buffer {"connection_id":163106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:34:31] local.INFO: IMEI packet received {"connection_id":163106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":163106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:34:32] local.INFO: TCP Data received {"connection_id":163106,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:34:32] local.INFO: Processing buffer {"connection_id":163106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:34:32] local.INFO: IMEI packet received {"connection_id":163106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":163106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:34:33] local.INFO: TCP Data received {"connection_id":163106,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da55c98012d21f3c007264cd00041010426..."} 
[2026-08-23 13:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da55c98012d21f3c007264cd00041010426..."} 
[2026-08-23 13:34:33] local.INFO: Processing buffer {"connection_id":163106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da55c98012d21f3c007264cd00041010426..."} 
[2026-08-23 13:34:33] local.INFO: Packet analysis {"connection_id":163106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da5"} 
[2026-08-23 13:34:33] local.INFO: Extracted packet for processing {"connection_id":163106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da5"} 
[2026-08-23 13:34:33] local.INFO: GPS Element Parsed {"raw_longitude":757199808,"raw_latitude":119950544,"longitude_deg":75.7199808,"latitude_deg":11.9950544,"altitude":65,"angle":260,"satellites":38,"speed":40,"hex_longitude":"2d21f3c0","hex_latitude":"07264cd0","is_valid_coordinates":true} 
[2026-08-23 13:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592884224001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15493776692740096,"note":"Value kept but may cause issues"} 
[2026-08-23 13:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2449676753020239872,"note":"Value kept but may cause issues"} 
[2026-08-23 13:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787472207000,"timestamp_ms":1787472207000,"timestamp_seconds":1787472207,"priority":1,"record_length":96,"hex_timestamp":"000001a02da55c98"} 
[2026-08-23 13:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 13:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":163106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":163106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":163106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592884224001,"66":14243,"187":206,"83":42752,"24":40,"16":15493776692740096,"45":2449676753020239872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592884224001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:34:33] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:34:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15493776692740096,"km_value":15493776692740.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":2449676753020239872,"description":"Unknown IO ID 45"} 
[2026-08-23 13:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592884224001,"power":14243,"unknown_187":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":2449676753020239872}} 
[2026-08-23 13:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":163106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:34:33] local.INFO: GPS data processed {"connection_id":163106,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:34:33] local.INFO: Acknowledgment sent {"connection_id":163106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:34:37] local.INFO: TCP Data received {"connection_id":163106,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da57408012d21dc8007264a58003d011423..."} 
[2026-08-23 13:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da57408012d21dc8007264a58003d011423..."} 
[2026-08-23 13:34:37] local.INFO: Processing buffer {"connection_id":163106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da57408012d21dc8007264a58003d011423..."} 
[2026-08-23 13:34:37] local.INFO: Packet analysis {"connection_id":163106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da5"} 
[2026-08-23 13:34:37] local.INFO: Extracted packet for processing {"connection_id":163106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da5"} 
[2026-08-23 13:34:37] local.INFO: GPS Element Parsed {"raw_longitude":757193856,"raw_latitude":119949912,"longitude_deg":75.7193856,"latitude_deg":11.9949912,"altitude":61,"angle":276,"satellites":35,"speed":39,"hex_longitude":"2d21dc80","hex_latitude":"07264a58","is_valid_coordinates":true} 
[2026-08-23 13:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592884992001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15494060160581632,"note":"Value kept but may cause issues"} 
[2026-08-23 13:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2446510159532183552,"note":"Value kept but may cause issues"} 
[2026-08-23 13:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787472213000,"timestamp_ms":1787472213000,"timestamp_seconds":1787472213,"priority":1,"record_length":96,"hex_timestamp":"000001a02da57408"} 
[2026-08-23 13:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:34: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-08-23 13:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-23 13:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592884992001,"66":14265,"187":206,"83":42752,"24":39,"16":15494060160581632,"45":2446510159532183552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592884992001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:34:37] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:34:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15494060160581632,"km_value":15494060160581.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2446510159532183552,"description":"Unknown IO ID 45"} 
[2026-08-23 13:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592884992001,"power":14265,"unknown_187":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":2446510159532183552}} 
[2026-08-23 13:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":163106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:34:38] local.INFO: GPS data processed {"connection_id":163106,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:34:38] local.INFO: Acknowledgment sent {"connection_id":163106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:34:46] local.INFO: TCP Data received {"connection_id":161699,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:34:46] local.INFO: Processing buffer {"connection_id":161699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:34:46] local.INFO: IMEI packet received {"connection_id":161699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":161699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:34:51] local.INFO: TCP Data received {"connection_id":161699,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:34:51] local.INFO: Processing buffer {"connection_id":161699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:34:51] local.INFO: IMEI packet received {"connection_id":161699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":161699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:34:52] local.INFO: TCP Data received {"connection_id":161699,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:34:52] local.INFO: Processing buffer {"connection_id":161699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da1af30012d34c50006aa40980013008526..."} 
[2026-08-23 13:34:52] local.INFO: Packet analysis {"connection_id":161699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:34:52] local.INFO: Extracted packet for processing {"connection_id":161699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da1"} 
[2026-08-23 13:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592746240001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787471966000,"timestamp_ms":1787471966000,"timestamp_seconds":1787471966,"priority":1,"record_length":96,"hex_timestamp":"000001a02da1af30"} 
[2026-08-23 13:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 13:34:52] 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-08-23 13: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-08-23 13:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:34:52] 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-08-23 13:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592746240001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592746240001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:34:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592746240001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":161699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:34:52] local.INFO: GPS data processed {"connection_id":161699,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:34:52] local.INFO: Acknowledgment sent {"connection_id":161699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:35:09] local.INFO: TCP Data received {"connection_id":163106,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da59348012d21b840072652380038011d25..."} 
[2026-08-23 13:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da59348012d21b840072652380038011d25..."} 
[2026-08-23 13:35:09] local.INFO: Processing buffer {"connection_id":163106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da59348012d21b840072652380038011d25..."} 
[2026-08-23 13:35:09] local.INFO: Packet analysis {"connection_id":163106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da5"} 
[2026-08-23 13:35:09] local.INFO: Extracted packet for processing {"connection_id":163106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da5"} 
[2026-08-23 13:35:09] local.INFO: GPS Element Parsed {"raw_longitude":757184576,"raw_latitude":119951928,"longitude_deg":75.7184576,"latitude_deg":11.9951928,"altitude":56,"angle":285,"satellites":37,"speed":48,"hex_longitude":"2d21b840","hex_latitude":"07265238","is_valid_coordinates":true} 
[2026-08-23 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-08-23 13:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592886528001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15494511132147712,"note":"Value kept but may cause issues"} 
[2026-08-23 13:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2439965866323499008,"note":"Value kept but may cause issues"} 
[2026-08-23 13:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787472221000,"timestamp_ms":1787472221000,"timestamp_seconds":1787472221,"priority":1,"record_length":96,"hex_timestamp":"000001a02da59348"} 
[2026-08-23 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-08-23 13:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 13:35:09] 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-08-23 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-08-23 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-08-23 13:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592886528001,"66":14374,"187":206,"83":42752,"24":48,"16":15494511132147712,"45":2439965866323499008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,83,24,16,45]} 
[2026-08-23 13:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592886528001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:35:09] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 13:35:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15494511132147712,"km_value":15494511132147.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2439965866323499008,"description":"Unknown IO ID 45"} 
[2026-08-23 13:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592886528001,"power":14374,"unknown_187":206,"unknown_83":42752,"ignition":48,"odometer":null,"unknown_45":2439965866323499008}} 
[2026-08-23 13:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":163106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:35:09] local.INFO: GPS data processed {"connection_id":163106,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:35:09] local.INFO: Acknowledgment sent {"connection_id":163106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:35:23] local.INFO: TCP Data received {"connection_id":161699,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:35:23] local.INFO: Processing buffer {"connection_id":161699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:35:23] local.INFO: Packet analysis {"connection_id":161699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:35:23] local.INFO: Extracted packet for processing {"connection_id":161699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:35:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592823296001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787472267000,"timestamp_ms":1787472267000,"timestamp_seconds":1787472267,"priority":1,"record_length":96,"hex_timestamp":"000001a02da646f8"} 
[2026-08-23 13:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 13:35:23] 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-08-23 13: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-08-23 13:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:35:23] 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-08-23 13:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592823296001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592823296001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:35:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:35:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592823296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":161699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:35:23] local.INFO: GPS data processed {"connection_id":161699,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:35:23] local.INFO: Acknowledgment sent {"connection_id":161699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:35:27] local.INFO: TCP Data received {"connection_id":160520,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:35:27] local.INFO: Processing buffer {"connection_id":160520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:35:27] local.INFO: IMEI packet received {"connection_id":160520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":160520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:35:30] local.INFO: TCP Data received {"connection_id":160520,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:35:30] local.INFO: Processing buffer {"connection_id":160520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:35:30] local.INFO: IMEI packet received {"connection_id":160520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":160520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:35:31] local.INFO: TCP Data received {"connection_id":160520,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:35:31] local.INFO: Processing buffer {"connection_id":160520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:35:31] local.INFO: IMEI packet received {"connection_id":160520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":160520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:35:32] local.INFO: TCP Data received {"connection_id":160520,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da69130012d20df800726dd100032011e24..."} 
[2026-08-23 13:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da69130012d20df800726dd100032011e24..."} 
[2026-08-23 13:35:32] local.INFO: Processing buffer {"connection_id":160520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da69130012d20df800726dd100032011e24..."} 
[2026-08-23 13:35:32] local.INFO: Packet analysis {"connection_id":160520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:35:32] local.INFO: Extracted packet for processing {"connection_id":160520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:35:32] local.INFO: GPS Element Parsed {"raw_longitude":757129088,"raw_latitude":119987472,"longitude_deg":75.7129088,"latitude_deg":11.9987472,"altitude":50,"angle":286,"satellites":36,"speed":37,"hex_longitude":"2d20df80","hex_latitude":"0726dd10","is_valid_coordinates":true} 
[2026-08-23 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-08-23 13:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592904448001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15497805372063744,"note":"Value kept but may cause issues"} 
[2026-08-23 13:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2371919290713040896,"note":"Value kept but may cause issues"} 
[2026-08-23 13:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787472286000,"timestamp_ms":1787472286000,"timestamp_seconds":1787472286,"priority":1,"record_length":96,"hex_timestamp":"000001a02da69130"} 
[2026-08-23 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-08-23 13:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-23 13:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 13:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592904448001,"66":14298,"59":206,"83":42752,"24":37,"16":15497805372063744,"45":2371919290713040896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,83,24,16,45]} 
[2026-08-23 13:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592904448001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:35:32] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-23 13:35:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15497805372063744,"km_value":15497805372063.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":2371919290713040896,"description":"Unknown IO ID 45"} 
[2026-08-23 13:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592904448001,"power":14298,"unknown_59":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":2371919290713040896}} 
[2026-08-23 13:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":160520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:35:32] local.INFO: GPS data processed {"connection_id":160520,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:35:32] local.INFO: Acknowledgment sent {"connection_id":160520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:35:46] local.INFO: TCP Data received {"connection_id":160521,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:35:46] local.INFO: Processing buffer {"connection_id":160521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:35:46] local.INFO: IMEI packet received {"connection_id":160521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":160521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:35:51] local.INFO: TCP Data received {"connection_id":160521,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:35:51] local.INFO: Processing buffer {"connection_id":160521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:35:51] local.INFO: IMEI packet received {"connection_id":160521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":160521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:35:52] local.INFO: TCP Data received {"connection_id":160521,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:35:52] local.INFO: Processing buffer {"connection_id":160521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:35:52] local.INFO: Packet analysis {"connection_id":160521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:35:52] local.INFO: Extracted packet for processing {"connection_id":160521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592823296001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787472267000,"timestamp_ms":1787472267000,"timestamp_seconds":1787472267,"priority":1,"record_length":96,"hex_timestamp":"000001a02da646f8"} 
[2026-08-23 13:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 13:35:52] 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-08-23 13:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:35:52] 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-08-23 13:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592823296001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592823296001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:35:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592823296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":160521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:35:52] local.INFO: GPS data processed {"connection_id":160521,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:35:52] local.INFO: Acknowledgment sent {"connection_id":160521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:36:03] local.INFO: TCP Data received {"connection_id":160520,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da69ce8012d20d4000726de700033011023..."} 
[2026-08-23 13:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da69ce8012d20d4000726de700033011023..."} 
[2026-08-23 13:36:03] local.INFO: Processing buffer {"connection_id":160520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da69ce8012d20d4000726de700033011023..."} 
[2026-08-23 13:36:03] local.INFO: Packet analysis {"connection_id":160520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:36:03] local.INFO: Extracted packet for processing {"connection_id":160520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:36:03] local.INFO: GPS Element Parsed {"raw_longitude":757126144,"raw_latitude":119987824,"longitude_deg":75.7126144,"latitude_deg":11.9987824,"altitude":51,"angle":272,"satellites":35,"speed":39,"hex_longitude":"2d20d400","hex_latitude":"0726de70","is_valid_coordinates":true} 
[2026-08-23 13:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592905216001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15497947105984512,"note":"Value kept but may cause issues"} 
[2026-08-23 13:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2368752697225318400,"note":"Value kept but may cause issues"} 
[2026-08-23 13:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787472289000,"timestamp_ms":1787472289000,"timestamp_seconds":1787472289,"priority":1,"record_length":96,"hex_timestamp":"000001a02da69ce8"} 
[2026-08-23 13:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-23 13:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592905216001,"66":14428,"59":206,"83":42752,"24":39,"16":15497947105984512,"45":2368752697225318400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,83,24,16,45]} 
[2026-08-23 13:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592905216001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:36:03] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-23 13:36:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15497947105984512,"km_value":15497947105984.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2368752697225318400,"description":"Unknown IO ID 45"} 
[2026-08-23 13:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592905216001,"power":14428,"unknown_59":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":2368752697225318400}} 
[2026-08-23 13:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":160520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:36:03] local.INFO: GPS data processed {"connection_id":160520,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:36:03] local.INFO: Acknowledgment sent {"connection_id":160520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:36:23] local.INFO: TCP Data received {"connection_id":160521,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:36:23] local.INFO: Processing buffer {"connection_id":160521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:36:23] local.INFO: Packet analysis {"connection_id":160521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:36:23] local.INFO: Extracted packet for processing {"connection_id":160521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:36:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592823296001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787472267000,"timestamp_ms":1787472267000,"timestamp_seconds":1787472267,"priority":1,"record_length":96,"hex_timestamp":"000001a02da646f8"} 
[2026-08-23 13:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 13:36:23] 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-08-23 13:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592823296001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592823296001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:36:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:36:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592823296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":160521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:36:23] local.INFO: GPS data processed {"connection_id":160521,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:36:23] local.INFO: Acknowledgment sent {"connection_id":160521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:36:30] local.INFO: TCP Data received {"connection_id":160769,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:36:30] local.INFO: Processing buffer {"connection_id":160769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:36:30] local.INFO: IMEI packet received {"connection_id":160769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":160769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:36:30] local.INFO: TCP Data received {"connection_id":160769,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:36:30] local.INFO: Processing buffer {"connection_id":160769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:36:30] local.INFO: IMEI packet received {"connection_id":160769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":160769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:36:35] local.INFO: TCP Data received {"connection_id":160769,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:36:35] local.INFO: Processing buffer {"connection_id":160769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:36:35] local.INFO: IMEI packet received {"connection_id":160769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":160769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:36:36] local.INFO: TCP Data received {"connection_id":160769,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da76fd8012d1ff7000726ef880023011a23..."} 
[2026-08-23 13:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da76fd8012d1ff7000726ef880023011a23..."} 
[2026-08-23 13:36:36] local.INFO: Processing buffer {"connection_id":160769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da76fd8012d1ff7000726ef880023011a23..."} 
[2026-08-23 13:36:36] local.INFO: Packet analysis {"connection_id":160769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da7"} 
[2026-08-23 13:36:36] local.INFO: Extracted packet for processing {"connection_id":160769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da7"} 
[2026-08-23 13:36:36] local.INFO: GPS Element Parsed {"raw_longitude":757069568,"raw_latitude":119992200,"longitude_deg":75.7069568,"latitude_deg":11.99922,"altitude":35,"angle":282,"satellites":35,"speed":45,"hex_longitude":"2d1ff700","hex_latitude":"0726ef88","is_valid_coordinates":true} 
[2026-08-23 13:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592917504001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15500747424661504,"note":"Value kept but may cause issues"} 
[2026-08-23 13:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2313442864302063616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787472343000,"timestamp_ms":1787472343000,"timestamp_seconds":1787472343,"priority":1,"record_length":96,"hex_timestamp":"000001a02da76fd8"} 
[2026-08-23 13:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 13:36:36] 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-08-23 13:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592917504001,"66":14374,"61":206,"83":42752,"24":45,"16":15500747424661504,"45":2313442864302063616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-08-23 13:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592917504001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:36:36] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 13:36:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15500747424661504,"km_value":15500747424661.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2313442864302063616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592917504001,"power":14374,"unknown_61":206,"unknown_83":42752,"ignition":45,"odometer":null,"unknown_45":2313442864302063616}} 
[2026-08-23 13:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":160769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:36:36] local.INFO: GPS data processed {"connection_id":160769,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:36:36] local.INFO: Acknowledgment sent {"connection_id":160769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:36:46] local.INFO: TCP Data received {"connection_id":161700,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:36:46] local.INFO: Processing buffer {"connection_id":161700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:36:46] local.INFO: IMEI packet received {"connection_id":161700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":161700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:36:51] local.INFO: TCP Data received {"connection_id":161700,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:36:51] local.INFO: Processing buffer {"connection_id":161700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:36:51] local.INFO: IMEI packet received {"connection_id":161700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":161700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:36:53] local.INFO: TCP Data received {"connection_id":161700,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:36:53] local.INFO: Processing buffer {"connection_id":161700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:36:53] local.INFO: Packet analysis {"connection_id":161700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:36:53] local.INFO: Extracted packet for processing {"connection_id":161700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:36:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592823296001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787472267000,"timestamp_ms":1787472267000,"timestamp_seconds":1787472267,"priority":1,"record_length":96,"hex_timestamp":"000001a02da646f8"} 
[2026-08-23 13:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 13:36:53] 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-08-23 13:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:36:53] 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-08-23 13:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592823296001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592823296001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:36:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:36:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592823296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":161700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:36:53] local.INFO: GPS data processed {"connection_id":161700,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:36:53] local.INFO: Acknowledgment sent {"connection_id":161700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:37:07] local.INFO: TCP Data received {"connection_id":160769,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da813e8012d1f5f00072742e8002100f823..."} 
[2026-08-23 13:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da813e8012d1f5f00072742e8002100f823..."} 
[2026-08-23 13:37:07] local.INFO: Processing buffer {"connection_id":160769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da813e8012d1f5f00072742e8002100f823..."} 
[2026-08-23 13:37:07] local.INFO: Packet analysis {"connection_id":160769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da8"} 
[2026-08-23 13:37:07] local.INFO: Extracted packet for processing {"connection_id":160769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da8"} 
[2026-08-23 13:37:07] local.INFO: GPS Element Parsed {"raw_longitude":757030656,"raw_latitude":120013544,"longitude_deg":75.7030656,"latitude_deg":12.0013544,"altitude":33,"angle":248,"satellites":35,"speed":38,"hex_longitude":"2d1f5f00","hex_latitude":"072742e8","is_valid_coordinates":true} 
[2026-08-23 13:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592930304001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15502985102622720,"note":"Value kept but may cause issues"} 
[2026-08-23 13:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2261510731105314816,"note":"Value kept but may cause issues"} 
[2026-08-23 13:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787472385000,"timestamp_ms":1787472385000,"timestamp_seconds":1787472385,"priority":1,"record_length":96,"hex_timestamp":"000001a02da813e8"} 
[2026-08-23 13:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-23 13:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592930304001,"66":14483,"61":206,"83":42752,"24":38,"16":15502985102622720,"45":2261510731105314816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-08-23 13:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592930304001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:37:07] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 13:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15502985102622720,"km_value":15502985102622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2261510731105314816,"description":"Unknown IO ID 45"} 
[2026-08-23 13:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592930304001,"power":14483,"unknown_61":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":2261510731105314816}} 
[2026-08-23 13:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":160769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:37:07] local.INFO: GPS data processed {"connection_id":160769,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:37:07] local.INFO: Acknowledgment sent {"connection_id":160769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:37:24] local.INFO: TCP Data received {"connection_id":161700,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:37:24] local.INFO: Processing buffer {"connection_id":161700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:37:24] local.INFO: Packet analysis {"connection_id":161700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:37:24] local.INFO: Extracted packet for processing {"connection_id":161700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:37:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592823296001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787472267000,"timestamp_ms":1787472267000,"timestamp_seconds":1787472267,"priority":1,"record_length":96,"hex_timestamp":"000001a02da646f8"} 
[2026-08-23 13:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 13:37:24] 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-08-23 13:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:37: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-08-23 13:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592823296001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592823296001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:37:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:37:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592823296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":161700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:37:24] local.INFO: GPS data processed {"connection_id":161700,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:37:24] local.INFO: Acknowledgment sent {"connection_id":161700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:37:29] local.INFO: TCP Data received {"connection_id":161701,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:37:29] local.INFO: Processing buffer {"connection_id":161701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:37:29] local.INFO: IMEI packet received {"connection_id":161701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":161701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:37:35] local.INFO: TCP Data received {"connection_id":161701,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:37:35] local.INFO: Processing buffer {"connection_id":161701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:37:35] local.INFO: IMEI packet received {"connection_id":161701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":161701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:37:35] local.INFO: TCP Data received {"connection_id":161701,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da81bb8012d1f58c007273e38002100e823..."} 
[2026-08-23 13:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da81bb8012d1f58c007273e38002100e823..."} 
[2026-08-23 13:37:35] local.INFO: Processing buffer {"connection_id":161701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da81bb8012d1f58c007273e38002100e823..."} 
[2026-08-23 13:37:35] local.INFO: Packet analysis {"connection_id":161701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da8"} 
[2026-08-23 13:37:35] local.INFO: Extracted packet for processing {"connection_id":161701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da8"} 
[2026-08-23 13:37:35] local.INFO: GPS Element Parsed {"raw_longitude":757029056,"raw_latitude":120012344,"longitude_deg":75.7029056,"latitude_deg":12.0012344,"altitude":33,"angle":232,"satellites":35,"speed":39,"hex_longitude":"2d1f58c0","hex_latitude":"07273e38","is_valid_coordinates":true} 
[2026-08-23 13:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592930560001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15503079591903232,"note":"Value kept but may cause issues"} 
[2026-08-23 13:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260525568686745600,"note":"Value kept but may cause issues"} 
[2026-08-23 13:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787472387000,"timestamp_ms":1787472387000,"timestamp_seconds":1787472387,"priority":1,"record_length":96,"hex_timestamp":"000001a02da81bb8"} 
[2026-08-23 13:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-23 13:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592930560001,"66":14407,"61":206,"83":42752,"24":39,"16":15503079591903232,"45":2260525568686745600},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-08-23 13:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592930560001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:37:35] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 13:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15503079591903232,"km_value":15503079591903.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260525568686745600,"description":"Unknown IO ID 45"} 
[2026-08-23 13:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592930560001,"power":14407,"unknown_61":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":2260525568686745600}} 
[2026-08-23 13:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":161701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:37:35] local.INFO: GPS data processed {"connection_id":161701,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:37:35] local.INFO: Acknowledgment sent {"connection_id":161701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:37:51] local.INFO: TCP Data received {"connection_id":163107,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:37:51] local.INFO: Processing buffer {"connection_id":163107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:37:51] local.INFO: IMEI packet received {"connection_id":163107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":163107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:37:56] local.INFO: TCP Data received {"connection_id":163107,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:37:56] local.INFO: Processing buffer {"connection_id":163107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:37:56] local.INFO: IMEI packet received {"connection_id":163107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":163107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:38:02] local.INFO: TCP Data received {"connection_id":163107,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:38:02] local.INFO: Processing buffer {"connection_id":163107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:38:02] local.INFO: Packet analysis {"connection_id":163107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:38:02] local.INFO: Extracted packet for processing {"connection_id":163107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:38:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592823296001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787472267000,"timestamp_ms":1787472267000,"timestamp_seconds":1787472267,"priority":1,"record_length":96,"hex_timestamp":"000001a02da646f8"} 
[2026-08-23 13:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 13:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13: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-08-23 13:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:38:02] 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-08-23 13:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592823296001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592823296001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:38:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:38:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592823296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":163107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:38:02] local.INFO: GPS data processed {"connection_id":163107,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:38:02] local.INFO: Acknowledgment sent {"connection_id":163107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:38:06] local.INFO: TCP Data received {"connection_id":161701,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da81fa0012d1f564007273a88002200dd23..."} 
[2026-08-23 13:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da81fa0012d1f564007273a88002200dd23..."} 
[2026-08-23 13:38:06] local.INFO: Processing buffer {"connection_id":161701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da81fa0012d1f564007273a88002200dd23..."} 
[2026-08-23 13:38:06] local.INFO: Packet analysis {"connection_id":161701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da8"} 
[2026-08-23 13:38:06] local.INFO: Extracted packet for processing {"connection_id":161701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da8"} 
[2026-08-23 13:38:06] local.INFO: GPS Element Parsed {"raw_longitude":757028416,"raw_latitude":120011400,"longitude_deg":75.7028416,"latitude_deg":12.00114,"altitude":34,"angle":221,"satellites":35,"speed":39,"hex_longitude":"2d1f5640","hex_latitude":"07273a88","is_valid_coordinates":true} 
[2026-08-23 13:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592931072001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15503135426478080,"note":"Value kept but may cause issues"} 
[2026-08-23 13:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2258766350081996800,"note":"Value kept but may cause issues"} 
[2026-08-23 13:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787472388000,"timestamp_ms":1787472388000,"timestamp_seconds":1787472388,"priority":1,"record_length":96,"hex_timestamp":"000001a02da81fa0"} 
[2026-08-23 13:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-23 13:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592931072001,"66":14374,"61":206,"83":42752,"24":39,"16":15503135426478080,"45":2258766350081996800},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-08-23 13:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592931072001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:38:06] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 13:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15503135426478080,"km_value":15503135426478.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2258766350081996800,"description":"Unknown IO ID 45"} 
[2026-08-23 13:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592931072001,"power":14374,"unknown_61":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":2258766350081996800}} 
[2026-08-23 13:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":161701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:38:06] local.INFO: GPS data processed {"connection_id":161701,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:38:06] local.INFO: Acknowledgment sent {"connection_id":161701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:38:07] local.INFO: TCP Data received {"connection_id":163107,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:38:07] local.INFO: Processing buffer {"connection_id":163107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:38:07] local.INFO: Packet analysis {"connection_id":163107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:38:07] local.INFO: Extracted packet for processing {"connection_id":163107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:38:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592823296001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787472267000,"timestamp_ms":1787472267000,"timestamp_seconds":1787472267,"priority":1,"record_length":96,"hex_timestamp":"000001a02da646f8"} 
[2026-08-23 13:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 13:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:38:07] 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-08-23 13:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592823296001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592823296001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:38:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:38:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592823296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":163107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:38:07] local.INFO: GPS data processed {"connection_id":163107,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:38:07] local.INFO: Acknowledgment sent {"connection_id":163107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:38:29] local.INFO: TCP Data received {"connection_id":160770,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:38:29] local.INFO: Processing buffer {"connection_id":160770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:38:29] local.INFO: IMEI packet received {"connection_id":160770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":160770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:38:34] local.INFO: TCP Data received {"connection_id":160770,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:38:34] local.INFO: Processing buffer {"connection_id":160770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:38:34] local.INFO: IMEI packet received {"connection_id":160770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":160770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:38:43] local.INFO: TCP Data received {"connection_id":160770,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da82f40012d1f4b8007272eb8002200ec24..."} 
[2026-08-23 13:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da82f40012d1f4b8007272eb8002200ec24..."} 
[2026-08-23 13:38:43] local.INFO: Processing buffer {"connection_id":160770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da82f40012d1f4b8007272eb8002200ec24..."} 
[2026-08-23 13:38:43] local.INFO: Packet analysis {"connection_id":160770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da8"} 
[2026-08-23 13:38:43] local.INFO: Extracted packet for processing {"connection_id":160770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da8"} 
[2026-08-23 13:38:43] local.INFO: GPS Element Parsed {"raw_longitude":757025664,"raw_latitude":120008376,"longitude_deg":75.7025664,"latitude_deg":12.0008376,"altitude":34,"angle":236,"satellites":36,"speed":39,"hex_longitude":"2d1f4b80","hex_latitude":"07272eb8","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592931328001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15503332994973696,"note":"Value kept but may cause issues"} 
[2026-08-23 13:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2258062662639978496,"note":"Value kept but may cause issues"} 
[2026-08-23 13:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787472392000,"timestamp_ms":1787472392000,"timestamp_seconds":1787472392,"priority":1,"record_length":96,"hex_timestamp":"000001a02da82f40"} 
[2026-08-23 13:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-23 13:38:43] 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-08-23 13: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-08-23 13:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592931328001,"66":14080,"61":206,"83":42752,"24":39,"16":15503332994973696,"45":2258062662639978496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-08-23 13:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592931328001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:38:43] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 13:38:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15503332994973696,"km_value":15503332994973.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2258062662639978496,"description":"Unknown IO ID 45"} 
[2026-08-23 13:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592931328001,"power":14080,"unknown_61":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":2258062662639978496}} 
[2026-08-23 13:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":160770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:38:43] local.INFO: GPS data processed {"connection_id":160770,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:38:43] local.INFO: Acknowledgment sent {"connection_id":160770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:38:47] local.INFO: TCP Data received {"connection_id":160522,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:38:47] local.INFO: Processing buffer {"connection_id":160522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:38:47] local.INFO: IMEI packet received {"connection_id":160522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":160522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:38:51] local.INFO: TCP Data received {"connection_id":160522,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:38:51] local.INFO: Processing buffer {"connection_id":160522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:38:51] local.INFO: IMEI packet received {"connection_id":160522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":160522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:38:52] local.INFO: TCP Data received {"connection_id":160522,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:38:52] local.INFO: Processing buffer {"connection_id":160522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:38:52] local.INFO: Packet analysis {"connection_id":160522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:38:52] local.INFO: Extracted packet for processing {"connection_id":160522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:38:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592823296001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787472267000,"timestamp_ms":1787472267000,"timestamp_seconds":1787472267,"priority":1,"record_length":96,"hex_timestamp":"000001a02da646f8"} 
[2026-08-23 13:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 13:38:52] 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-08-23 13:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:38:52] 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-08-23 13:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592823296001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592823296001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:38:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:38:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592823296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":160522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:38:52] local.INFO: GPS data processed {"connection_id":160522,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:38:52] local.INFO: Acknowledgment sent {"connection_id":160522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:38:57] local.INFO: TCP Data received {"connection_id":160522,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:38:57] local.INFO: Processing buffer {"connection_id":160522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:38:57] local.INFO: Packet analysis {"connection_id":160522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:38:57] local.INFO: Extracted packet for processing {"connection_id":160522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:38:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592823296001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787472267000,"timestamp_ms":1787472267000,"timestamp_seconds":1787472267,"priority":1,"record_length":96,"hex_timestamp":"000001a02da646f8"} 
[2026-08-23 13:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 13:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:38:57] 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-08-23 13:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592823296001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592823296001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:38:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:38:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592823296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":160522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:38:57] local.INFO: GPS data processed {"connection_id":160522,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:38:57] local.INFO: Acknowledgment sent {"connection_id":160522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:39:14] local.INFO: TCP Data received {"connection_id":160770,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02da83710012d1f43c007272c500022010023..."} 
[2026-08-23 13:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da83710012d1f43c007272c500022010023..."} 
[2026-08-23 13:39:14] local.INFO: Processing buffer {"connection_id":160770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da83710012d1f43c007272c500022010023..."} 
[2026-08-23 13:39:14] local.INFO: Packet analysis {"connection_id":160770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da8"} 
[2026-08-23 13:39:14] local.INFO: Extracted packet for processing {"connection_id":160770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da8"} 
[2026-08-23 13:39:14] local.INFO: GPS Element Parsed {"raw_longitude":757023680,"raw_latitude":120007760,"longitude_deg":75.702368,"latitude_deg":12.000776,"altitude":34,"angle":256,"satellites":35,"speed":40,"hex_longitude":"2d1f43c0","hex_latitude":"07272c50","is_valid_coordinates":true} 
[2026-08-23 13:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592932352001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15503431779221504,"note":"Value kept but may cause issues"} 
[2026-08-23 13:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2255036806639564800,"note":"Value kept but may cause issues"} 
[2026-08-23 13:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787472394000,"timestamp_ms":1787472394000,"timestamp_seconds":1787472394,"priority":1,"record_length":96,"hex_timestamp":"000001a02da83710"} 
[2026-08-23 13:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:39: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-08-23 13:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-23 13:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3450289408,"note":"Value kept but may cause issues"} 
[2026-08-23 13:39:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-23 13:39:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 13:39:14] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3791650816,"note":"Value kept but may cause issues"} 
[2026-08-23 13:39:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805792974,"corrected_to":0} 
[2026-08-23 13:39:14] local.WARNING: Large IO value detected {"io_id":244,"raw_value":2818649375,"note":"Value kept but may cause issues"} 
[2026-08-23 13:39:14] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743911,"note":"Value kept but may cause issues"} 
[2026-08-23 13:39:14] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,61,83,24,241,157,16,20,160,31,45,64,58,34,35,10,66,27,192,62,33,19,1,240,147,227,39,4,113,205,38,244,128,37,239,53,2,55,7,32],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2805792974,"validated":0}]} 
[2026-08-23 13:39:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2450217836655083520,"timestamp_seconds":2450217836655083.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 13:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592932352001,"66":14428,"61":206,"83":42752,"24":40,"16":15503431779221504,"45":2255036806639564800},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-08-23 13:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592932352001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:39:14] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 13:39:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15503431779221504,"km_value":15503431779221.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2255036806639564800,"description":"Unknown IO ID 45"} 
[2026-08-23 13:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592932352001,"power":14428,"unknown_61":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":2255036806639564800}} 
[2026-08-23 13:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":160770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:39:14] local.INFO: GPS data processed {"connection_id":160770,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:39:14] local.INFO: Acknowledgment sent {"connection_id":160770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:39:29] local.INFO: TCP Data received {"connection_id":160522,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:39:29] local.INFO: Processing buffer {"connection_id":160522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:39:29] local.INFO: Packet analysis {"connection_id":160522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:39:29] local.INFO: Extracted packet for processing {"connection_id":160522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:39:29] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592823296001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787472267000,"timestamp_ms":1787472267000,"timestamp_seconds":1787472267,"priority":1,"record_length":96,"hex_timestamp":"000001a02da646f8"} 
[2026-08-23 13:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 13:39: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-08-23 13:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:39:29] 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-08-23 13:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592823296001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592823296001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:39:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:39:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592823296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":160522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:39:29] local.INFO: GPS data processed {"connection_id":160522,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:39:29] local.INFO: Acknowledgment sent {"connection_id":160522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:39:29] local.INFO: TCP Data received {"connection_id":163108,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:39:29] local.INFO: Processing buffer {"connection_id":163108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:39:29] local.INFO: IMEI packet received {"connection_id":163108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":163108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:39:30] local.INFO: TCP Data received {"connection_id":163108,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:39:30] local.INFO: Processing buffer {"connection_id":163108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:39:30] local.INFO: IMEI packet received {"connection_id":163108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":163108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:39:36] local.INFO: TCP Data received {"connection_id":163108,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:39:36] local.INFO: Processing buffer {"connection_id":163108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:39:36] local.INFO: IMEI packet received {"connection_id":163108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":163108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:39:36] local.INFO: TCP Data received {"connection_id":163108,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:39:36] local.INFO: Processing buffer {"connection_id":163108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:39:36] local.INFO: IMEI packet received {"connection_id":163108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":163108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:39:46] local.INFO: TCP Data received {"connection_id":160771,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:39:46] local.INFO: Processing buffer {"connection_id":160771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:39:46] local.INFO: IMEI packet received {"connection_id":160771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":160771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:39:51] local.INFO: TCP Data received {"connection_id":160771,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:39:51] local.INFO: Processing buffer {"connection_id":160771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:39:51] local.INFO: IMEI packet received {"connection_id":160771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":160771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:39:52] local.INFO: TCP Data received {"connection_id":160771,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:39:52] local.INFO: Processing buffer {"connection_id":160771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02da646f8012d34c50006aa40980013008526..."} 
[2026-08-23 13:39:52] local.INFO: Packet analysis {"connection_id":160771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:39:52] local.INFO: Extracted packet for processing {"connection_id":160771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02da6"} 
[2026-08-23 13:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592823296001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787472267000,"timestamp_ms":1787472267000,"timestamp_seconds":1787472267,"priority":1,"record_length":96,"hex_timestamp":"000001a02da646f8"} 
[2026-08-23 13:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 13:39:52] 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-08-23 13: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-08-23 13:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:39:52] 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-08-23 13:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592823296001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592823296001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:39:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:39:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592823296001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":160771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:39:52] local.INFO: GPS data processed {"connection_id":160771,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:39:52] local.INFO: Acknowledgment sent {"connection_id":160771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:40:24] local.INFO: TCP Data received {"connection_id":160771,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:40:24] local.INFO: Processing buffer {"connection_id":160771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:40:24] local.INFO: Packet analysis {"connection_id":160771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02daa"} 
[2026-08-23 13:40:24] local.INFO: Extracted packet for processing {"connection_id":160771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02daa"} 
[2026-08-23 13:40:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592900352001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787472568000,"timestamp_ms":1787472568000,"timestamp_seconds":1787472568,"priority":1,"record_length":96,"hex_timestamp":"000001a02daadec0"} 
[2026-08-23 13:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 13:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:40: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-08-23 13:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592900352001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592900352001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:40:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:40:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592900352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":160771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:40:24] local.INFO: GPS data processed {"connection_id":160771,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:40:24] local.INFO: Acknowledgment sent {"connection_id":160771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:40:46] local.INFO: TCP Data received {"connection_id":163109,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:40:46] local.INFO: Processing buffer {"connection_id":163109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:40:46] local.INFO: IMEI packet received {"connection_id":163109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":163109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:40:51] local.INFO: TCP Data received {"connection_id":163109,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:40:51] local.INFO: Processing buffer {"connection_id":163109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:40:51] local.INFO: IMEI packet received {"connection_id":163109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":163109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:40:52] local.INFO: TCP Data received {"connection_id":163109,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:40:52] local.INFO: Processing buffer {"connection_id":163109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:40:52] local.INFO: Packet analysis {"connection_id":163109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02daa"} 
[2026-08-23 13:40:52] local.INFO: Extracted packet for processing {"connection_id":163109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02daa"} 
[2026-08-23 13:40:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592900352001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787472568000,"timestamp_ms":1787472568000,"timestamp_seconds":1787472568,"priority":1,"record_length":96,"hex_timestamp":"000001a02daadec0"} 
[2026-08-23 13:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 13:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592900352001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592900352001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:40:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:40:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592900352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":163109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:40:52] local.INFO: GPS data processed {"connection_id":163109,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:40:52] local.INFO: Acknowledgment sent {"connection_id":163109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:41:23] local.INFO: TCP Data received {"connection_id":163109,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:41:23] local.INFO: Processing buffer {"connection_id":163109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:41:23] local.INFO: Packet analysis {"connection_id":163109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02daa"} 
[2026-08-23 13:41:23] local.INFO: Extracted packet for processing {"connection_id":163109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02daa"} 
[2026-08-23 13:41:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592900352001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787472568000,"timestamp_ms":1787472568000,"timestamp_seconds":1787472568,"priority":1,"record_length":96,"hex_timestamp":"000001a02daadec0"} 
[2026-08-23 13:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 13:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592900352001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592900352001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:41:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:41:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592900352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":163109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:41:23] local.INFO: GPS data processed {"connection_id":163109,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:41:23] local.INFO: Acknowledgment sent {"connection_id":163109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:41:51] local.INFO: TCP Data received {"connection_id":161702,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:41:51] local.INFO: Processing buffer {"connection_id":161702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:41:51] local.INFO: IMEI packet received {"connection_id":161702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":161702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:41:56] local.INFO: TCP Data received {"connection_id":161702,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:41:56] local.INFO: Processing buffer {"connection_id":161702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:41:56] local.INFO: IMEI packet received {"connection_id":161702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":161702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:41:57] local.INFO: TCP Data received {"connection_id":161702,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:41:57] local.INFO: Processing buffer {"connection_id":161702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:41:57] local.INFO: Packet analysis {"connection_id":161702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02daa"} 
[2026-08-23 13:41:57] local.INFO: Extracted packet for processing {"connection_id":161702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02daa"} 
[2026-08-23 13:41:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592900352001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787472568000,"timestamp_ms":1787472568000,"timestamp_seconds":1787472568,"priority":1,"record_length":96,"hex_timestamp":"000001a02daadec0"} 
[2026-08-23 13:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 13:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:41:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:41:57] 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-08-23 13:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592900352001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592900352001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:41:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:41:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592900352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":161702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:41:57] local.INFO: GPS data processed {"connection_id":161702,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:41:57] local.INFO: Acknowledgment sent {"connection_id":161702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:42:02] local.INFO: TCP Data received {"connection_id":161702,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:42:02] local.INFO: Processing buffer {"connection_id":161702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:42:02] local.INFO: Packet analysis {"connection_id":161702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02daa"} 
[2026-08-23 13:42:02] local.INFO: Extracted packet for processing {"connection_id":161702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02daa"} 
[2026-08-23 13:42:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592900352001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787472568000,"timestamp_ms":1787472568000,"timestamp_seconds":1787472568,"priority":1,"record_length":96,"hex_timestamp":"000001a02daadec0"} 
[2026-08-23 13:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 13:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:42:02] 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-08-23 13:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592900352001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592900352001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:42:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:42:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592900352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":161702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:42:02] local.INFO: GPS data processed {"connection_id":161702,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:42:02] local.INFO: Acknowledgment sent {"connection_id":161702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:42:46] local.INFO: TCP Data received {"connection_id":161704,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:42:46] local.INFO: Processing buffer {"connection_id":161704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:42:46] local.INFO: IMEI packet received {"connection_id":161704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":161704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:42:51] local.INFO: TCP Data received {"connection_id":161704,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:42:51] local.INFO: Processing buffer {"connection_id":161704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:42:51] local.INFO: IMEI packet received {"connection_id":161704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":161704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:42:52] local.INFO: TCP Data received {"connection_id":161704,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:42:52] local.INFO: Processing buffer {"connection_id":161704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:42:52] local.INFO: Packet analysis {"connection_id":161704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02daa"} 
[2026-08-23 13:42:52] local.INFO: Extracted packet for processing {"connection_id":161704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02daa"} 
[2026-08-23 13:42:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592900352001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787472568000,"timestamp_ms":1787472568000,"timestamp_seconds":1787472568,"priority":1,"record_length":96,"hex_timestamp":"000001a02daadec0"} 
[2026-08-23 13:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 13:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:42:52] 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-08-23 13:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592900352001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592900352001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:42:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:42:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592900352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":161704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:42:52] local.INFO: GPS data processed {"connection_id":161704,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:42:52] local.INFO: Acknowledgment sent {"connection_id":161704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:43:23] local.INFO: TCP Data received {"connection_id":161704,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:43:23] local.INFO: Processing buffer {"connection_id":161704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:43:23] local.INFO: Packet analysis {"connection_id":161704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02daa"} 
[2026-08-23 13:43:23] local.INFO: Extracted packet for processing {"connection_id":161704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02daa"} 
[2026-08-23 13:43:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592900352001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787472568000,"timestamp_ms":1787472568000,"timestamp_seconds":1787472568,"priority":1,"record_length":96,"hex_timestamp":"000001a02daadec0"} 
[2026-08-23 13:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 13:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:43:23] 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-08-23 13:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592900352001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592900352001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:43:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:43:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592900352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":161704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:43:23] local.INFO: GPS data processed {"connection_id":161704,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:43:23] local.INFO: Acknowledgment sent {"connection_id":161704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:43:46] local.INFO: TCP Data received {"connection_id":160524,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:43:46] local.INFO: Processing buffer {"connection_id":160524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:43:46] local.INFO: IMEI packet received {"connection_id":160524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":160524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:43:51] local.INFO: TCP Data received {"connection_id":160524,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:43:51] local.INFO: Processing buffer {"connection_id":160524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:43:51] local.INFO: IMEI packet received {"connection_id":160524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":160524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:43:52] local.INFO: TCP Data received {"connection_id":160524,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:43:52] local.INFO: Processing buffer {"connection_id":160524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:43:52] local.INFO: Packet analysis {"connection_id":160524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02daa"} 
[2026-08-23 13:43:52] local.INFO: Extracted packet for processing {"connection_id":160524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02daa"} 
[2026-08-23 13:43:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592900352001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787472568000,"timestamp_ms":1787472568000,"timestamp_seconds":1787472568,"priority":1,"record_length":96,"hex_timestamp":"000001a02daadec0"} 
[2026-08-23 13:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 13:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:43:52] 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-08-23 13:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592900352001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592900352001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:43:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:43:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592900352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":160524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:43:52] local.INFO: GPS data processed {"connection_id":160524,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:43:52] local.INFO: Acknowledgment sent {"connection_id":160524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:44:23] local.INFO: TCP Data received {"connection_id":160524,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:44:23] local.INFO: Processing buffer {"connection_id":160524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:44:23] local.INFO: Packet analysis {"connection_id":160524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02daa"} 
[2026-08-23 13:44:23] local.INFO: Extracted packet for processing {"connection_id":160524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02daa"} 
[2026-08-23 13:44:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592900352001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787472568000,"timestamp_ms":1787472568000,"timestamp_seconds":1787472568,"priority":1,"record_length":96,"hex_timestamp":"000001a02daadec0"} 
[2026-08-23 13:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 13:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:44:23] 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-08-23 13:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592900352001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592900352001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:44:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:44:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592900352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":160524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:44:23] local.INFO: GPS data processed {"connection_id":160524,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:44:23] local.INFO: Acknowledgment sent {"connection_id":160524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:44:38] local.INFO: TCP Data received {"connection_id":160773,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:44:38] local.INFO: Processing buffer {"connection_id":160773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:44:38] local.INFO: IMEI packet received {"connection_id":160773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":160773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:44:39] local.INFO: TCP Data received {"connection_id":160773,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02dae9010012d1b810007261540002a01141e..."} 
[2026-08-23 13:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dae9010012d1b810007261540002a01141e..."} 
[2026-08-23 13:44:39] local.INFO: Processing buffer {"connection_id":160773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dae9010012d1b810007261540002a01141e..."} 
[2026-08-23 13:44:39] local.INFO: Packet analysis {"connection_id":160773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dae"} 
[2026-08-23 13:44:39] local.INFO: Extracted packet for processing {"connection_id":160773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dae"} 
[2026-08-23 13:44:39] local.INFO: GPS Element Parsed {"raw_longitude":756777216,"raw_latitude":119936320,"longitude_deg":75.6777216,"latitude_deg":11.993632,"altitude":42,"angle":276,"satellites":30,"speed":42,"hex_longitude":"2d1b8100","hex_latitude":"07261540","is_valid_coordinates":true} 
[2026-08-23 13:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593037056001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15519464892137472,"note":"Value kept but may cause issues"} 
[2026-08-23 13:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1992491022093946880,"note":"Value kept but may cause issues"} 
[2026-08-23 13:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787472810000,"timestamp_ms":1787472810000,"timestamp_seconds":1787472810,"priority":1,"record_length":96,"hex_timestamp":"000001a02dae9010"} 
[2026-08-23 13:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-23 13:44:39] 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-08-23 13:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593037056001,"66":14048,"43":206,"83":41984,"24":42,"16":15519464892137472,"45":1992491022093946880},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-23 13:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593037056001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:44:39] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-23 13:44:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 13:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15519464892137472,"km_value":15519464892137.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1992491022093946880,"description":"Unknown IO ID 45"} 
[2026-08-23 13:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593037056001,"power":14048,"unknown_43":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1992491022093946880}} 
[2026-08-23 13:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":160773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:44:40] local.INFO: GPS data processed {"connection_id":160773,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:44:40] local.INFO: Acknowledgment sent {"connection_id":160773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:44:46] local.INFO: TCP Data received {"connection_id":160525,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:44:46] local.INFO: Processing buffer {"connection_id":160525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:44:46] local.INFO: IMEI packet received {"connection_id":160525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":160525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:44:51] local.INFO: TCP Data received {"connection_id":160525,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:44:51] local.INFO: Processing buffer {"connection_id":160525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:44:51] local.INFO: IMEI packet received {"connection_id":160525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":160525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:44:52] local.INFO: TCP Data received {"connection_id":160525,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:44:52] local.INFO: Processing buffer {"connection_id":160525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02daadec0012d34c50006aa40980013008523..."} 
[2026-08-23 13:44:52] local.INFO: Packet analysis {"connection_id":160525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02daa"} 
[2026-08-23 13:44:52] local.INFO: Extracted packet for processing {"connection_id":160525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02daa"} 
[2026-08-23 13:44:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":19,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592900352001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787472568000,"timestamp_ms":1787472568000,"timestamp_seconds":1787472568,"priority":1,"record_length":96,"hex_timestamp":"000001a02daadec0"} 
[2026-08-23 13:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 13:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:44:52] 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-08-23 13:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592900352001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592900352001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:44:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:44:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592900352001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":160525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:44:52] local.INFO: GPS data processed {"connection_id":160525,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:44:52] local.INFO: Acknowledgment sent {"connection_id":160525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:45:11] local.INFO: TCP Data received {"connection_id":160773,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02daebef0012d1b5cc0072618a00028010620..."} 
[2026-08-23 13:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02daebef0012d1b5cc0072618a00028010620..."} 
[2026-08-23 13:45:11] local.INFO: Processing buffer {"connection_id":160773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02daebef0012d1b5cc0072618a00028010620..."} 
[2026-08-23 13:45:11] local.INFO: Packet analysis {"connection_id":160773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dae"} 
[2026-08-23 13:45:11] local.INFO: Extracted packet for processing {"connection_id":160773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dae"} 
[2026-08-23 13:45:11] local.INFO: GPS Element Parsed {"raw_longitude":756767936,"raw_latitude":119937184,"longitude_deg":75.6767936,"latitude_deg":11.9937184,"altitude":40,"angle":262,"satellites":32,"speed":13,"hex_longitude":"2d1b5cc0","hex_latitude":"072618a0","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593039360001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15519907273768960,"note":"Value kept but may cause issues"} 
[2026-08-23 13:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1981865341723426816,"note":"Value kept but may cause issues"} 
[2026-08-23 13:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787472822000,"timestamp_ms":1787472822000,"timestamp_seconds":1787472822,"priority":1,"record_length":96,"hex_timestamp":"000001a02daebef0"} 
[2026-08-23 13:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 13:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13: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-08-23 13:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593039360001,"66":14048,"43":206,"83":41984,"24":13,"16":15519907273768960,"45":1981865341723426816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-23 13:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593039360001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:45:11] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-23 13:45:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 13:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15519907273768960,"km_value":15519907273768.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1981865341723426816,"description":"Unknown IO ID 45"} 
[2026-08-23 13:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593039360001,"power":14048,"unknown_43":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1981865341723426816}} 
[2026-08-23 13:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":160773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:45:11] local.INFO: GPS data processed {"connection_id":160773,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:45:11] local.INFO: Acknowledgment sent {"connection_id":160773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:45:23] local.INFO: TCP Data received {"connection_id":160525,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:45:23] local.INFO: Processing buffer {"connection_id":160525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:45:23] local.INFO: Packet analysis {"connection_id":160525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02daf"} 
[2026-08-23 13:45:23] local.INFO: Extracted packet for processing {"connection_id":160525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02daf"} 
[2026-08-23 13:45:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592977408001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787472869000,"timestamp_ms":1787472869000,"timestamp_seconds":1787472869,"priority":1,"record_length":96,"hex_timestamp":"000001a02daf7688"} 
[2026-08-23 13:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:45:23] 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-08-23 13:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:45:23] 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-08-23 13:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592977408001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592977408001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:45:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:45:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592977408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":160525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:45:23] local.INFO: GPS data processed {"connection_id":160525,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:45:23] local.INFO: Acknowledgment sent {"connection_id":160525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:45:29] local.INFO: TCP Data received {"connection_id":160526,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:45:29] local.INFO: Processing buffer {"connection_id":160526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:45:29] local.INFO: IMEI packet received {"connection_id":160526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":160526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:45:34] local.INFO: TCP Data received {"connection_id":160526,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:45:34] local.INFO: Processing buffer {"connection_id":160526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:45:34] local.INFO: IMEI packet received {"connection_id":160526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":160526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:45:35] local.INFO: TCP Data received {"connection_id":160526,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02daebef0012d1b5cc0072618a00028010620..."} 
[2026-08-23 13:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02daebef0012d1b5cc0072618a00028010620..."} 
[2026-08-23 13:45:35] local.INFO: Processing buffer {"connection_id":160526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02daebef0012d1b5cc0072618a00028010620..."} 
[2026-08-23 13:45:35] local.INFO: Packet analysis {"connection_id":160526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dae"} 
[2026-08-23 13:45:35] local.INFO: Extracted packet for processing {"connection_id":160526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dae"} 
[2026-08-23 13:45:35] local.INFO: GPS Element Parsed {"raw_longitude":756767936,"raw_latitude":119937184,"longitude_deg":75.6767936,"latitude_deg":11.9937184,"altitude":40,"angle":262,"satellites":32,"speed":13,"hex_longitude":"2d1b5cc0","hex_latitude":"072618a0","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593042432001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15519907273768960,"note":"Value kept but may cause issues"} 
[2026-08-23 13:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971661873817886720,"note":"Value kept but may cause issues"} 
[2026-08-23 13:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787472822000,"timestamp_ms":1787472822000,"timestamp_seconds":1787472822,"priority":1,"record_length":96,"hex_timestamp":"000001a02daebef0"} 
[2026-08-23 13:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 13:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13: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-08-23 13:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593042432001,"66":14048,"43":206,"83":41984,"24":13,"16":15519907273768960,"45":1971661873817886720},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-23 13:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593042432001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:45:35] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-23 13:45:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 13:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15519907273768960,"km_value":15519907273768.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971661873817886720,"description":"Unknown IO ID 45"} 
[2026-08-23 13:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593042432001,"power":14048,"unknown_43":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1971661873817886720}} 
[2026-08-23 13:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":160526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:45:35] local.INFO: GPS data processed {"connection_id":160526,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:45:35] local.INFO: Acknowledgment sent {"connection_id":160526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:45:51] local.INFO: TCP Data received {"connection_id":161705,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:45:51] local.INFO: Processing buffer {"connection_id":161705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:45:51] local.INFO: IMEI packet received {"connection_id":161705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":161705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:45:56] local.INFO: TCP Data received {"connection_id":161705,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:45:56] local.INFO: Processing buffer {"connection_id":161705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:45:56] local.INFO: IMEI packet received {"connection_id":161705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":161705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:45:57] local.INFO: TCP Data received {"connection_id":161705,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:45:57] local.INFO: Processing buffer {"connection_id":161705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:45:57] local.INFO: Packet analysis {"connection_id":161705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02daf"} 
[2026-08-23 13:45:57] local.INFO: Extracted packet for processing {"connection_id":161705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02daf"} 
[2026-08-23 13:45:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592977408001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787472869000,"timestamp_ms":1787472869000,"timestamp_seconds":1787472869,"priority":1,"record_length":96,"hex_timestamp":"000001a02daf7688"} 
[2026-08-23 13:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:45:57] 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-08-23 13:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592977408001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592977408001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:45:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:45:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592977408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":161705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:45:57] local.INFO: GPS data processed {"connection_id":161705,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:45:57] local.INFO: Acknowledgment sent {"connection_id":161705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:46:02] local.INFO: TCP Data received {"connection_id":161705,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:46:02] local.INFO: Processing buffer {"connection_id":161705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:46:02] local.INFO: Packet analysis {"connection_id":161705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02daf"} 
[2026-08-23 13:46:02] local.INFO: Extracted packet for processing {"connection_id":161705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02daf"} 
[2026-08-23 13:46:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592977408001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787472869000,"timestamp_ms":1787472869000,"timestamp_seconds":1787472869,"priority":1,"record_length":96,"hex_timestamp":"000001a02daf7688"} 
[2026-08-23 13:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:46:02] 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-08-23 13: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-08-23 13:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592977408001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592977408001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:46:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:46:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592977408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":161705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:46:02] local.INFO: GPS data processed {"connection_id":161705,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:46:02] local.INFO: Acknowledgment sent {"connection_id":161705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:46:07] local.INFO: TCP Data received {"connection_id":160526,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02db00710012d1b3a000725b478002a00b125..."} 
[2026-08-23 13:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db00710012d1b3a000725b478002a00b125..."} 
[2026-08-23 13:46:07] local.INFO: Processing buffer {"connection_id":160526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db00710012d1b3a000725b478002a00b125..."} 
[2026-08-23 13:46:07] local.INFO: Packet analysis {"connection_id":160526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db0"} 
[2026-08-23 13:46:07] local.INFO: Extracted packet for processing {"connection_id":160526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db0"} 
[2026-08-23 13:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756759040,"raw_latitude":119911544,"longitude_deg":75.675904,"latitude_deg":11.9911544,"altitude":42,"angle":177,"satellites":37,"speed":15,"hex_longitude":"2d1b3a00","hex_latitude":"0725b478","is_valid_coordinates":true} 
[2026-08-23 13:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593062912001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15521260188467200,"note":"Value kept but may cause issues"} 
[2026-08-23 13:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962021355859382272,"note":"Value kept but may cause issues"} 
[2026-08-23 13:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787472906000,"timestamp_ms":1787472906000,"timestamp_seconds":1787472906,"priority":1,"record_length":96,"hex_timestamp":"000001a02db00710"} 
[2026-08-23 13:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-23 13:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3442158336,"note":"Value kept but may cause issues"} 
[2026-08-23 13:46:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-23 13:46:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 13:46:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535574222,"corrected_to":0} 
[2026-08-23 13:46:07] local.WARNING: Large IO value detected {"io_id":28,"raw_value":2952867099,"note":"Value kept but may cause issues"} 
[2026-08-23 13:46:07] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,217,83,24,241,157,16,36,160,196,45,128,197,41,38,10,66,114,64,201,40,135,95,1,240,125,227,37,4,113,205,19,28,80,239,55,2,7,42],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1535574222,"validated":0}]} 
[2026-08-23 13:46:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026632413763534848,"timestamp_seconds":3026632413763535.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 13:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593062912001,"66":14494,"217":206,"83":42752,"24":15,"16":15521260188467200,"45":1962021355859382272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 13:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593062912001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:46:07] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 13:46:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15521260188467200,"km_value":15521260188467.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962021355859382272,"description":"Unknown IO ID 45"} 
[2026-08-23 13:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593062912001,"power":14494,"unknown_217":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1962021355859382272}} 
[2026-08-23 13:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":160526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:46:07] local.INFO: GPS data processed {"connection_id":160526,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:46:07] local.INFO: Acknowledgment sent {"connection_id":160526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:46:29] local.INFO: TCP Data received {"connection_id":160774,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:46:29] local.INFO: Processing buffer {"connection_id":160774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:46:29] local.INFO: IMEI packet received {"connection_id":160774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":160774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:46:30] local.INFO: TCP Data received {"connection_id":160774,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:46:30] local.INFO: Processing buffer {"connection_id":160774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:46:30] local.INFO: IMEI packet received {"connection_id":160774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":160774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:46:34] local.INFO: TCP Data received {"connection_id":160774,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:46:34] local.INFO: Processing buffer {"connection_id":160774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:46:34] local.INFO: IMEI packet received {"connection_id":160774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":160774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:46:35] local.INFO: TCP Data received {"connection_id":160774,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02db02650012d1b3b400725a6f8002c00a526..."} 
[2026-08-23 13:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db02650012d1b3b400725a6f8002c00a526..."} 
[2026-08-23 13:46:35] local.INFO: Processing buffer {"connection_id":160774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db02650012d1b3b400725a6f8002c00a526..."} 
[2026-08-23 13:46:35] local.INFO: Packet analysis {"connection_id":160774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db0"} 
[2026-08-23 13:46:35] local.INFO: Extracted packet for processing {"connection_id":160774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db0"} 
[2026-08-23 13:46:35] local.INFO: GPS Element Parsed {"raw_longitude":756759360,"raw_latitude":119908088,"longitude_deg":75.675936,"latitude_deg":11.9908088,"altitude":44,"angle":165,"satellites":38,"speed":19,"hex_longitude":"2d1b3b40","hex_latitude":"0725a6f8","is_valid_coordinates":true} 
[2026-08-23 13:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593063936001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15521431987159040,"note":"Value kept but may cause issues"} 
[2026-08-23 13:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961880618370627584,"note":"Value kept but may cause issues"} 
[2026-08-23 13:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787472914000,"timestamp_ms":1787472914000,"timestamp_seconds":1787472914,"priority":1,"record_length":96,"hex_timestamp":"000001a02db02650"} 
[2026-08-23 13:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-23 13:46:35] 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-08-23 13:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593063936001,"66":14494,"217":206,"83":42752,"24":19,"16":15521431987159040,"45":1961880618370627584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 13:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593063936001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:46:35] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 13:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15521431987159040,"km_value":15521431987159.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961880618370627584,"description":"Unknown IO ID 45"} 
[2026-08-23 13:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593063936001,"power":14494,"unknown_217":206,"unknown_83":42752,"ignition":19,"odometer":null,"unknown_45":1961880618370627584}} 
[2026-08-23 13:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":160774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:46:35] local.INFO: GPS data processed {"connection_id":160774,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:46:35] local.INFO: Acknowledgment sent {"connection_id":160774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:46:46] local.INFO: TCP Data received {"connection_id":163111,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:46:46] local.INFO: Processing buffer {"connection_id":163111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:46:46] local.INFO: IMEI packet received {"connection_id":163111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":163111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:46:51] local.INFO: TCP Data received {"connection_id":163111,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:46:51] local.INFO: Processing buffer {"connection_id":163111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:46:51] local.INFO: IMEI packet received {"connection_id":163111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":163111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:46:52] local.INFO: TCP Data received {"connection_id":163111,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:46:52] local.INFO: Processing buffer {"connection_id":163111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:46:52] local.INFO: Packet analysis {"connection_id":163111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02daf"} 
[2026-08-23 13:46:52] local.INFO: Extracted packet for processing {"connection_id":163111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02daf"} 
[2026-08-23 13:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592977408001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787472869000,"timestamp_ms":1787472869000,"timestamp_seconds":1787472869,"priority":1,"record_length":96,"hex_timestamp":"000001a02daf7688"} 
[2026-08-23 13:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:46:52] 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-08-23 13:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592977408001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592977408001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:46:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592977408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":163111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:46:52] local.INFO: GPS data processed {"connection_id":163111,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:46:52] local.INFO: Acknowledgment sent {"connection_id":163111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:47:07] local.INFO: TCP Data received {"connection_id":160774,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02db035f0012d1b3ec007259e10002d009a24..."} 
[2026-08-23 13:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db035f0012d1b3ec007259e10002d009a24..."} 
[2026-08-23 13:47:07] local.INFO: Processing buffer {"connection_id":160774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db035f0012d1b3ec007259e10002d009a24..."} 
[2026-08-23 13:47:07] local.INFO: Packet analysis {"connection_id":160774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db0"} 
[2026-08-23 13:47:07] local.INFO: Extracted packet for processing {"connection_id":160774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db0"} 
[2026-08-23 13:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756760256,"raw_latitude":119905808,"longitude_deg":75.6760256,"latitude_deg":11.9905808,"altitude":45,"angle":154,"satellites":36,"speed":29,"hex_longitude":"2d1b3ec0","hex_latitude":"07259e10","is_valid_coordinates":true} 
[2026-08-23 13:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593065984001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15521547951276032,"note":"Value kept but may cause issues"} 
[2026-08-23 13:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962232462090631168,"note":"Value kept but may cause issues"} 
[2026-08-23 13:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787472918000,"timestamp_ms":1787472918000,"timestamp_seconds":1787472918,"priority":1,"record_length":96,"hex_timestamp":"000001a02db035f0"} 
[2026-08-23 13:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-23 13:47:07] 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-08-23 13:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593065984001,"66":14233,"217":206,"83":42752,"24":29,"16":15521547951276032,"45":1962232462090631168},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 13:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593065984001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:47:07] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 13:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15521547951276032,"km_value":15521547951276.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962232462090631168,"description":"Unknown IO ID 45"} 
[2026-08-23 13:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593065984001,"power":14233,"unknown_217":206,"unknown_83":42752,"ignition":29,"odometer":null,"unknown_45":1962232462090631168}} 
[2026-08-23 13:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":160774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:47:07] local.INFO: GPS data processed {"connection_id":160774,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:47:07] local.INFO: Acknowledgment sent {"connection_id":160774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:47:23] local.INFO: TCP Data received {"connection_id":163111,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:47:23] local.INFO: Processing buffer {"connection_id":163111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:47:23] local.INFO: Packet analysis {"connection_id":163111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02daf"} 
[2026-08-23 13:47:23] local.INFO: Extracted packet for processing {"connection_id":163111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02daf"} 
[2026-08-23 13:47:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592977408001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787472869000,"timestamp_ms":1787472869000,"timestamp_seconds":1787472869,"priority":1,"record_length":96,"hex_timestamp":"000001a02daf7688"} 
[2026-08-23 13:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:47:23] 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-08-23 13:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592977408001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592977408001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:47:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:47:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592977408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":163111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:47:23] local.INFO: GPS data processed {"connection_id":163111,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:47:23] local.INFO: Acknowledgment sent {"connection_id":163111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:47:29] local.INFO: TCP Data received {"connection_id":160527,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:47:29] local.INFO: Processing buffer {"connection_id":160527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:47:29] local.INFO: IMEI packet received {"connection_id":160527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":160527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:47:30] local.INFO: TCP Data received {"connection_id":160527,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:47:30] local.INFO: Processing buffer {"connection_id":160527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:47:30] local.INFO: IMEI packet received {"connection_id":160527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":160527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:47:35] local.INFO: TCP Data received {"connection_id":160527,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:47:35] local.INFO: Processing buffer {"connection_id":160527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:47:35] local.INFO: IMEI packet received {"connection_id":160527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":160527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:47:36] local.INFO: TCP Data received {"connection_id":160527,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02db19198012d1b57400724be80002500cd28..."} 
[2026-08-23 13:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db19198012d1b57400724be80002500cd28..."} 
[2026-08-23 13:47:36] local.INFO: Processing buffer {"connection_id":160527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db19198012d1b57400724be80002500cd28..."} 
[2026-08-23 13:47:36] local.INFO: Packet analysis {"connection_id":160527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db1"} 
[2026-08-23 13:47:36] local.INFO: Extracted packet for processing {"connection_id":160527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db1"} 
[2026-08-23 13:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756766528,"raw_latitude":119848576,"longitude_deg":75.6766528,"latitude_deg":11.9848576,"altitude":37,"angle":205,"satellites":40,"speed":22,"hex_longitude":"2d1b5740","hex_latitude":"0724be80","is_valid_coordinates":true} 
[2026-08-23 13:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593087488001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15524515773677568,"note":"Value kept but may cause issues"} 
[2026-08-23 13:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971521136308525056,"note":"Value kept but may cause issues"} 
[2026-08-23 13:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787473007000,"timestamp_ms":1787473007000,"timestamp_seconds":1787473007,"priority":1,"record_length":96,"hex_timestamp":"000001a02db19198"} 
[2026-08-23 13:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:47: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-08-23 13:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-23 13:47:36] 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-08-23 13:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593087488001,"66":14461,"136":206,"83":42752,"24":22,"16":15524515773677568,"45":1971521136308525056},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-23 13:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593087488001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:47:36] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-23 13:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15524515773677568,"km_value":15524515773677.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971521136308525056,"description":"Unknown IO ID 45"} 
[2026-08-23 13:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593087488001,"power":14461,"unknown_136":206,"unknown_83":42752,"ignition":22,"odometer":null,"unknown_45":1971521136308525056}} 
[2026-08-23 13:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":160527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:47:36] local.INFO: GPS data processed {"connection_id":160527,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:47:36] local.INFO: Acknowledgment sent {"connection_id":160527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:47:46] local.INFO: TCP Data received {"connection_id":163112,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:47:46] local.INFO: Processing buffer {"connection_id":163112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:47:46] local.INFO: IMEI packet received {"connection_id":163112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":163112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:47:51] local.INFO: TCP Data received {"connection_id":163112,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:47:51] local.INFO: Processing buffer {"connection_id":163112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:47:51] local.INFO: IMEI packet received {"connection_id":163112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":163112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:47:52] local.INFO: TCP Data received {"connection_id":163112,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:47:52] local.INFO: Processing buffer {"connection_id":163112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:47:52] local.INFO: Packet analysis {"connection_id":163112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02daf"} 
[2026-08-23 13:47:52] local.INFO: Extracted packet for processing {"connection_id":163112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02daf"} 
[2026-08-23 13:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:47: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-08-23 13:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592977408001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787472869000,"timestamp_ms":1787472869000,"timestamp_seconds":1787472869,"priority":1,"record_length":96,"hex_timestamp":"000001a02daf7688"} 
[2026-08-23 13:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:47:52] 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-08-23 13:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:47:52] 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-08-23 13:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592977408001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592977408001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:47:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592977408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":163112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:47:52] local.INFO: GPS data processed {"connection_id":163112,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:47:52] local.INFO: Acknowledgment sent {"connection_id":163112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:48:07] local.INFO: TCP Data received {"connection_id":160527,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02db1a520012d1b51c00724b710002300d826..."} 
[2026-08-23 13:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db1a520012d1b51c00724b710002300d826..."} 
[2026-08-23 13:48:07] local.INFO: Processing buffer {"connection_id":160527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db1a520012d1b51c00724b710002300d826..."} 
[2026-08-23 13:48:07] local.INFO: Packet analysis {"connection_id":160527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db1"} 
[2026-08-23 13:48:07] local.INFO: Extracted packet for processing {"connection_id":160527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db1"} 
[2026-08-23 13:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756765120,"raw_latitude":119846672,"longitude_deg":75.676512,"latitude_deg":11.9846672,"altitude":35,"angle":216,"satellites":38,"speed":17,"hex_longitude":"2d1b51c0","hex_latitude":"0724b710","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593089792001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15524631737794560,"note":"Value kept but may cause issues"} 
[2026-08-23 13:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970113761423294464,"note":"Value kept but may cause issues"} 
[2026-08-23 13:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787473012000,"timestamp_ms":1787473012000,"timestamp_seconds":1787473012,"priority":1,"record_length":96,"hex_timestamp":"000001a02db1a520"} 
[2026-08-23 13:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 13:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13: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-08-23 13:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593089792001,"66":14515,"136":206,"83":42752,"24":17,"16":15524631737794560,"45":1970113761423294464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-23 13:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593089792001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:48:07] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-23 13:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15524631737794560,"km_value":15524631737794.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970113761423294464,"description":"Unknown IO ID 45"} 
[2026-08-23 13:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593089792001,"power":14515,"unknown_136":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1970113761423294464}} 
[2026-08-23 13:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":160527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:48:08] local.INFO: GPS data processed {"connection_id":160527,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:48:08] local.INFO: Acknowledgment sent {"connection_id":160527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:48:24] local.INFO: TCP Data received {"connection_id":163112,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:48:24] local.INFO: Processing buffer {"connection_id":163112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:48:24] local.INFO: Packet analysis {"connection_id":163112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02daf"} 
[2026-08-23 13:48:24] local.INFO: Extracted packet for processing {"connection_id":163112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02daf"} 
[2026-08-23 13:48:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592977408001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787472869000,"timestamp_ms":1787472869000,"timestamp_seconds":1787472869,"priority":1,"record_length":96,"hex_timestamp":"000001a02daf7688"} 
[2026-08-23 13:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:48:24] 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-08-23 13: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-08-23 13:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592977408001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592977408001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:48:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:48:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592977408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":163112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:48:24] local.INFO: GPS data processed {"connection_id":163112,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:48:24] local.INFO: Acknowledgment sent {"connection_id":163112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:48:35] local.INFO: TCP Data received {"connection_id":161706,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:48:35] local.INFO: Processing buffer {"connection_id":161706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:48:35] local.INFO: IMEI packet received {"connection_id":161706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":161706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:48:40] local.INFO: TCP Data received {"connection_id":161706,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:48:40] local.INFO: Processing buffer {"connection_id":161706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:48:40] local.INFO: IMEI packet received {"connection_id":161706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":161706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:48:41] local.INFO: TCP Data received {"connection_id":161706,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02db1b4c0012d1b4d400724b248002400e526..."} 
[2026-08-23 13:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db1b4c0012d1b4d400724b248002400e526..."} 
[2026-08-23 13:48:41] local.INFO: Processing buffer {"connection_id":161706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db1b4c0012d1b4d400724b248002400e526..."} 
[2026-08-23 13:48:41] local.INFO: Packet analysis {"connection_id":161706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db1"} 
[2026-08-23 13:48:41] local.INFO: Extracted packet for processing {"connection_id":161706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db1"} 
[2026-08-23 13:48:41] local.INFO: GPS Element Parsed {"raw_longitude":756763968,"raw_latitude":119845448,"longitude_deg":75.6763968,"latitude_deg":11.9845448,"altitude":36,"angle":229,"satellites":38,"speed":16,"hex_longitude":"2d1b4d40","hex_latitude":"0724b248","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593091072001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15524713342173184,"note":"Value kept but may cause issues"} 
[2026-08-23 13:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968565649050898432,"note":"Value kept but may cause issues"} 
[2026-08-23 13:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787473016000,"timestamp_ms":1787473016000,"timestamp_seconds":1787473016,"priority":1,"record_length":96,"hex_timestamp":"000001a02db1b4c0"} 
[2026-08-23 13:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13: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":179,"data_length":795,"current_offset":136} 
[2026-08-23 13:48:41] 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-08-23 13: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-08-23 13:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593091072001,"66":14483,"136":206,"83":42752,"24":16,"16":15524713342173184,"45":1968565649050898432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-23 13:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593091072001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:48:41] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-23 13:48:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15524713342173184,"km_value":15524713342173.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968565649050898432,"description":"Unknown IO ID 45"} 
[2026-08-23 13:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593091072001,"power":14483,"unknown_136":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1968565649050898432}} 
[2026-08-23 13:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":161706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:48:41] local.INFO: GPS data processed {"connection_id":161706,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:48:41] local.INFO: Acknowledgment sent {"connection_id":161706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:48:42] local.INFO: TCP Data received {"connection_id":161706,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02db1f340012d1b3d400724a678002a00f027..."} 
[2026-08-23 13:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db1f340012d1b3d400724a678002a00f027..."} 
[2026-08-23 13:48:42] local.INFO: Processing buffer {"connection_id":161706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db1f340012d1b3d400724a678002a00f027..."} 
[2026-08-23 13:48:42] local.INFO: Packet analysis {"connection_id":161706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db1"} 
[2026-08-23 13:48:42] local.INFO: Extracted packet for processing {"connection_id":161706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db1"} 
[2026-08-23 13:48:42] local.INFO: GPS Element Parsed {"raw_longitude":756759872,"raw_latitude":119842424,"longitude_deg":75.6759872,"latitude_deg":11.9842424,"altitude":42,"angle":240,"satellites":39,"speed":11,"hex_longitude":"2d1b3d40","hex_latitude":"0724a678","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593092096001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15524958155309056,"note":"Value kept but may cause issues"} 
[2026-08-23 13:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967299011655387136,"note":"Value kept but may cause issues"} 
[2026-08-23 13:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787473032000,"timestamp_ms":1787473032000,"timestamp_seconds":1787473032,"priority":1,"record_length":96,"hex_timestamp":"000001a02db1f340"} 
[2026-08-23 13:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:48: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-08-23 13: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-23 13:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13: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-08-23 13:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593092096001,"66":14559,"136":206,"83":42752,"24":11,"16":15524958155309056,"45":1967299011655387136},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-23 13:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593092096001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:48:42] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-23 13:48:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 13:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15524958155309056,"km_value":15524958155309.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967299011655387136,"description":"Unknown IO ID 45"} 
[2026-08-23 13:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593092096001,"power":14559,"unknown_136":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1967299011655387136}} 
[2026-08-23 13:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":161706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:48:42] local.INFO: GPS data processed {"connection_id":161706,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:48:42] local.INFO: Acknowledgment sent {"connection_id":161706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:48:46] local.INFO: TCP Data received {"connection_id":163113,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:48:46] local.INFO: Processing buffer {"connection_id":163113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:48:46] local.INFO: IMEI packet received {"connection_id":163113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":163113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:48:52] local.INFO: TCP Data received {"connection_id":163113,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:48:52] local.INFO: Processing buffer {"connection_id":163113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:48:52] local.INFO: IMEI packet received {"connection_id":163113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":163113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:48:53] local.INFO: TCP Data received {"connection_id":163113,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:48:53] local.INFO: Processing buffer {"connection_id":163113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:48:53] local.INFO: Packet analysis {"connection_id":163113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02daf"} 
[2026-08-23 13:48:53] local.INFO: Extracted packet for processing {"connection_id":163113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02daf"} 
[2026-08-23 13:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592977408001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787472869000,"timestamp_ms":1787472869000,"timestamp_seconds":1787472869,"priority":1,"record_length":96,"hex_timestamp":"000001a02daf7688"} 
[2026-08-23 13:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:48:53] 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-08-23 13:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592977408001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592977408001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:48:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592977408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":163113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:48:53] local.INFO: GPS data processed {"connection_id":163113,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:48:53] local.INFO: Acknowledgment sent {"connection_id":163113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:49:25] local.INFO: TCP Data received {"connection_id":163113,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:49:25] local.INFO: Processing buffer {"connection_id":163113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:49:25] local.INFO: Packet analysis {"connection_id":163113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02daf"} 
[2026-08-23 13:49:25] local.INFO: Extracted packet for processing {"connection_id":163113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02daf"} 
[2026-08-23 13:49:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592977408001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787472869000,"timestamp_ms":1787472869000,"timestamp_seconds":1787472869,"priority":1,"record_length":96,"hex_timestamp":"000001a02daf7688"} 
[2026-08-23 13:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:49:25] 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-08-23 13:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592977408001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592977408001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:49:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:49:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592977408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":163113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:49:25] local.INFO: GPS data processed {"connection_id":163113,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:49:25] local.INFO: Acknowledgment sent {"connection_id":163113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:49:46] local.INFO: TCP Data received {"connection_id":161707,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:49:46] local.INFO: Processing buffer {"connection_id":161707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:49:46] local.INFO: IMEI packet received {"connection_id":161707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":161707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:49:51] local.INFO: TCP Data received {"connection_id":161707,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:49:51] local.INFO: Processing buffer {"connection_id":161707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:49:51] local.INFO: IMEI packet received {"connection_id":161707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":161707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:49:52] local.INFO: TCP Data received {"connection_id":161707,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:49:52] local.INFO: Processing buffer {"connection_id":161707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02daf7688012d34c50006aa4098000e008524..."} 
[2026-08-23 13:49:52] local.INFO: Packet analysis {"connection_id":161707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02daf"} 
[2026-08-23 13:49:52] local.INFO: Extracted packet for processing {"connection_id":161707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02daf"} 
[2026-08-23 13:49:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457592977408001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787472869000,"timestamp_ms":1787472869000,"timestamp_seconds":1787472869,"priority":1,"record_length":96,"hex_timestamp":"000001a02daf7688"} 
[2026-08-23 13:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:49:52] 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-08-23 13:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457592977408001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457592977408001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:49:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:49:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457592977408001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":161707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:49:52] local.INFO: GPS data processed {"connection_id":161707,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:49:52] local.INFO: Acknowledgment sent {"connection_id":161707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:50:24] local.INFO: TCP Data received {"connection_id":161707,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:50:24] local.INFO: Processing buffer {"connection_id":161707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:50:24] local.INFO: Packet analysis {"connection_id":161707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db4"} 
[2026-08-23 13:50:24] local.INFO: Extracted packet for processing {"connection_id":161707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db4"} 
[2026-08-23 13:50:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593054464001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787473170000,"timestamp_ms":1787473170000,"timestamp_seconds":1787473170,"priority":1,"record_length":96,"hex_timestamp":"000001a02db40e50"} 
[2026-08-23 13:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:50:24] 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-08-23 13:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593054464001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593054464001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:50:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:50:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593054464001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":161707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:50:24] local.INFO: GPS data processed {"connection_id":161707,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:50:24] local.INFO: Acknowledgment sent {"connection_id":161707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:50:46] local.INFO: TCP Data received {"connection_id":160528,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:50:46] local.INFO: Processing buffer {"connection_id":160528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:50:46] local.INFO: IMEI packet received {"connection_id":160528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":160528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:50:51] local.INFO: TCP Data received {"connection_id":160528,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:50:51] local.INFO: Processing buffer {"connection_id":160528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:50:51] local.INFO: IMEI packet received {"connection_id":160528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":160528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:50:52] local.INFO: TCP Data received {"connection_id":160528,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:50:52] local.INFO: Processing buffer {"connection_id":160528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:50:52] local.INFO: Packet analysis {"connection_id":160528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db4"} 
[2026-08-23 13:50:52] local.INFO: Extracted packet for processing {"connection_id":160528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db4"} 
[2026-08-23 13:50:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593054464001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787473170000,"timestamp_ms":1787473170000,"timestamp_seconds":1787473170,"priority":1,"record_length":96,"hex_timestamp":"000001a02db40e50"} 
[2026-08-23 13:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:50:52] 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-08-23 13:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:50:52] 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-08-23 13:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593054464001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593054464001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:50:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593054464001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":160528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:50:52] local.INFO: GPS data processed {"connection_id":160528,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:50:52] local.INFO: Acknowledgment sent {"connection_id":160528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:51:20] local.INFO: TCP Data received {"connection_id":161708,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:51:20] local.INFO: Processing buffer {"connection_id":161708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:51:20] local.INFO: IMEI packet received {"connection_id":161708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 13:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":161708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:51:20] local.INFO: TCP Data received {"connection_id":161708,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:51:20] local.INFO: Processing buffer {"connection_id":161708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:51:20] local.INFO: IMEI packet received {"connection_id":161708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 13:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":161708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:51:23] local.INFO: TCP Data received {"connection_id":160528,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:51:23] local.INFO: Processing buffer {"connection_id":160528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:51:23] local.INFO: Packet analysis {"connection_id":160528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db4"} 
[2026-08-23 13:51:23] local.INFO: Extracted packet for processing {"connection_id":160528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db4"} 
[2026-08-23 13:51:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593054464001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787473170000,"timestamp_ms":1787473170000,"timestamp_seconds":1787473170,"priority":1,"record_length":96,"hex_timestamp":"000001a02db40e50"} 
[2026-08-23 13:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:51:23] 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-08-23 13:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:51:23] 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-08-23 13:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593054464001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593054464001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:51:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:51:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593054464001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":160528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:51:23] local.INFO: GPS data processed {"connection_id":160528,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:51:23] local.INFO: Acknowledgment sent {"connection_id":160528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:51:24] local.INFO: TCP Data received {"connection_id":161708,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:51:24] local.INFO: Processing buffer {"connection_id":161708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:51:24] local.INFO: IMEI packet received {"connection_id":161708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 13:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":161708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:51:25] local.INFO: TCP Data received {"connection_id":161708,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-23 13:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161708,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-23 13:51:25] local.INFO: Processing buffer {"connection_id":161708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-23 13:51:25] local.INFO: Packet analysis {"connection_id":161708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-23 13:51:25] local.INFO: Extracted packet for processing {"connection_id":161708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-23 13:51: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-08-23 13:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122626173908811776,"note":"Value kept but may cause issues"} 
[2026-08-23 13:51:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,115,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 13:51: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-08-23 13:51:25] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-23 13:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161708,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161708,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-23 13:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161708,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-23 13:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-23 13:51:25] local.WARNING: DEBUG: No valid data to process  
[2026-08-23 13:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":161708,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-23 13:51:25] local.ERROR: GPS data processing failed {"connection_id":161708,"error":"No valid data to process"} 
[2026-08-23 13:51:25] local.INFO: Acknowledgment sent {"connection_id":161708,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-23 13:51:46] local.INFO: TCP Data received {"connection_id":163114,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:51:46] local.INFO: Processing buffer {"connection_id":163114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:51:46] local.INFO: IMEI packet received {"connection_id":163114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":163114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:51:51] local.INFO: TCP Data received {"connection_id":163114,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:51:51] local.INFO: Processing buffer {"connection_id":163114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:51:51] local.INFO: IMEI packet received {"connection_id":163114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":163114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:51:52] local.INFO: TCP Data received {"connection_id":163114,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:51:52] local.INFO: Processing buffer {"connection_id":163114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:51:52] local.INFO: Packet analysis {"connection_id":163114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db4"} 
[2026-08-23 13:51:52] local.INFO: Extracted packet for processing {"connection_id":163114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db4"} 
[2026-08-23 13:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:51: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-08-23 13:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593054464001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787473170000,"timestamp_ms":1787473170000,"timestamp_seconds":1787473170,"priority":1,"record_length":96,"hex_timestamp":"000001a02db40e50"} 
[2026-08-23 13:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:51:52] 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-08-23 13:51: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-08-23 13:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:51:52] 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-08-23 13:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593054464001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593054464001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:51:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593054464001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":163114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:51:52] local.INFO: GPS data processed {"connection_id":163114,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:51:52] local.INFO: Acknowledgment sent {"connection_id":163114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:52:24] local.INFO: TCP Data received {"connection_id":163114,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:52:24] local.INFO: Processing buffer {"connection_id":163114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:52:24] local.INFO: Packet analysis {"connection_id":163114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db4"} 
[2026-08-23 13:52:24] local.INFO: Extracted packet for processing {"connection_id":163114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db4"} 
[2026-08-23 13:52:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593054464001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787473170000,"timestamp_ms":1787473170000,"timestamp_seconds":1787473170,"priority":1,"record_length":96,"hex_timestamp":"000001a02db40e50"} 
[2026-08-23 13:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:52:24] 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-08-23 13:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:52:24] 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-08-23 13:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593054464001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593054464001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:52:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:52:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593054464001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":163114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:52:24] local.INFO: GPS data processed {"connection_id":163114,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:52:24] local.INFO: Acknowledgment sent {"connection_id":163114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:52:46] local.INFO: TCP Data received {"connection_id":160529,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:52:46] local.INFO: Processing buffer {"connection_id":160529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:52:46] local.INFO: IMEI packet received {"connection_id":160529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":160529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:52:51] local.INFO: TCP Data received {"connection_id":160529,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:52:51] local.INFO: Processing buffer {"connection_id":160529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:52:51] local.INFO: IMEI packet received {"connection_id":160529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":160529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:52:52] local.INFO: TCP Data received {"connection_id":160529,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:52:52] local.INFO: Processing buffer {"connection_id":160529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:52:52] local.INFO: Packet analysis {"connection_id":160529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db4"} 
[2026-08-23 13:52:52] local.INFO: Extracted packet for processing {"connection_id":160529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db4"} 
[2026-08-23 13:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593054464001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787473170000,"timestamp_ms":1787473170000,"timestamp_seconds":1787473170,"priority":1,"record_length":96,"hex_timestamp":"000001a02db40e50"} 
[2026-08-23 13:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:52:52] 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-08-23 13: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-08-23 13:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593054464001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593054464001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:52:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593054464001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":160529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:52:52] local.INFO: GPS data processed {"connection_id":160529,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:52:52] local.INFO: Acknowledgment sent {"connection_id":160529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:53:23] local.INFO: TCP Data received {"connection_id":160529,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:53:23] local.INFO: Processing buffer {"connection_id":160529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:53:23] local.INFO: Packet analysis {"connection_id":160529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db4"} 
[2026-08-23 13:53:23] local.INFO: Extracted packet for processing {"connection_id":160529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db4"} 
[2026-08-23 13:53:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593054464001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787473170000,"timestamp_ms":1787473170000,"timestamp_seconds":1787473170,"priority":1,"record_length":96,"hex_timestamp":"000001a02db40e50"} 
[2026-08-23 13:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:53:23] 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-08-23 13: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-08-23 13:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593054464001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593054464001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:53:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:53:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593054464001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":160529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:53:23] local.INFO: GPS data processed {"connection_id":160529,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:53:23] local.INFO: Acknowledgment sent {"connection_id":160529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:53:46] local.INFO: TCP Data received {"connection_id":161709,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:53:46] local.INFO: Processing buffer {"connection_id":161709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:53:46] local.INFO: IMEI packet received {"connection_id":161709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":161709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:53:51] local.INFO: TCP Data received {"connection_id":161709,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:53:51] local.INFO: Processing buffer {"connection_id":161709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:53:51] local.INFO: IMEI packet received {"connection_id":161709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":161709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:53:52] local.INFO: TCP Data received {"connection_id":161709,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:53:52] local.INFO: Processing buffer {"connection_id":161709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:53:52] local.INFO: Packet analysis {"connection_id":161709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db4"} 
[2026-08-23 13:53:52] local.INFO: Extracted packet for processing {"connection_id":161709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db4"} 
[2026-08-23 13:53:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593054464001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787473170000,"timestamp_ms":1787473170000,"timestamp_seconds":1787473170,"priority":1,"record_length":96,"hex_timestamp":"000001a02db40e50"} 
[2026-08-23 13:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:53:52] 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-08-23 13:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593054464001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593054464001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:53:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:53:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593054464001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":161709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:53:52] local.INFO: GPS data processed {"connection_id":161709,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:53:52] local.INFO: Acknowledgment sent {"connection_id":161709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:54:23] local.INFO: TCP Data received {"connection_id":161709,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:54:23] local.INFO: Processing buffer {"connection_id":161709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:54:23] local.INFO: Packet analysis {"connection_id":161709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db4"} 
[2026-08-23 13:54:23] local.INFO: Extracted packet for processing {"connection_id":161709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db4"} 
[2026-08-23 13:54:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593054464001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787473170000,"timestamp_ms":1787473170000,"timestamp_seconds":1787473170,"priority":1,"record_length":96,"hex_timestamp":"000001a02db40e50"} 
[2026-08-23 13:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:54:23] 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-08-23 13:54:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593054464001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593054464001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:54:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:54:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593054464001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":161709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:54:23] local.INFO: GPS data processed {"connection_id":161709,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:54:23] local.INFO: Acknowledgment sent {"connection_id":161709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:54:46] local.INFO: TCP Data received {"connection_id":160530,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:54:46] local.INFO: Processing buffer {"connection_id":160530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:54:46] local.INFO: IMEI packet received {"connection_id":160530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":160530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:54:51] local.INFO: TCP Data received {"connection_id":160530,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:54:51] local.INFO: Processing buffer {"connection_id":160530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:54:51] local.INFO: IMEI packet received {"connection_id":160530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":160530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:54:52] local.INFO: TCP Data received {"connection_id":160530,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:54:52] local.INFO: Processing buffer {"connection_id":160530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db40e50012d34c50006aa4098000e008524..."} 
[2026-08-23 13:54:52] local.INFO: Packet analysis {"connection_id":160530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db4"} 
[2026-08-23 13:54:52] local.INFO: Extracted packet for processing {"connection_id":160530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db4"} 
[2026-08-23 13:54:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593054464001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787473170000,"timestamp_ms":1787473170000,"timestamp_seconds":1787473170,"priority":1,"record_length":96,"hex_timestamp":"000001a02db40e50"} 
[2026-08-23 13:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 13:54:52] 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-08-23 13:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:54:52] 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-08-23 13:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593054464001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593054464001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:54:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:54:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593054464001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":160530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:54:52] local.INFO: GPS data processed {"connection_id":160530,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:54:52] local.INFO: Acknowledgment sent {"connection_id":160530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:55:24] local.INFO: TCP Data received {"connection_id":160530,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:55:24] local.INFO: Processing buffer {"connection_id":160530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:55:24] local.INFO: Packet analysis {"connection_id":160530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db8"} 
[2026-08-23 13:55:24] local.INFO: Extracted packet for processing {"connection_id":160530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db8"} 
[2026-08-23 13:55:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593131520001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787473471000,"timestamp_ms":1787473471000,"timestamp_seconds":1787473471,"priority":1,"record_length":96,"hex_timestamp":"000001a02db8a618"} 
[2026-08-23 13:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 13:55:24] 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-08-23 13:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:55:24] 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-08-23 13:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593131520001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593131520001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:55:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:55:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593131520001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":160530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:55:24] local.INFO: GPS data processed {"connection_id":160530,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:55:24] local.INFO: Acknowledgment sent {"connection_id":160530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:55:46] local.INFO: TCP Data received {"connection_id":163115,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:55:46] local.INFO: Processing buffer {"connection_id":163115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:55:46] local.INFO: IMEI packet received {"connection_id":163115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":163115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:55:51] local.INFO: TCP Data received {"connection_id":163115,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:55:51] local.INFO: Processing buffer {"connection_id":163115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:55:51] local.INFO: IMEI packet received {"connection_id":163115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":163115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:55:52] local.INFO: TCP Data received {"connection_id":163115,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:55:52] local.INFO: Processing buffer {"connection_id":163115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:55:52] local.INFO: Packet analysis {"connection_id":163115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db8"} 
[2026-08-23 13:55:52] local.INFO: Extracted packet for processing {"connection_id":163115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db8"} 
[2026-08-23 13:55:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:55: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-08-23 13:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593131520001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787473471000,"timestamp_ms":1787473471000,"timestamp_seconds":1787473471,"priority":1,"record_length":96,"hex_timestamp":"000001a02db8a618"} 
[2026-08-23 13:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 13:55:52] 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-08-23 13:55: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-08-23 13:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:55:52] 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-08-23 13:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593131520001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593131520001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:55:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:55:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593131520001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":163115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:55:52] local.INFO: GPS data processed {"connection_id":163115,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:55:52] local.INFO: Acknowledgment sent {"connection_id":163115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:56:24] local.INFO: TCP Data received {"connection_id":163115,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:56:24] local.INFO: Processing buffer {"connection_id":163115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:56:24] local.INFO: Packet analysis {"connection_id":163115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db8"} 
[2026-08-23 13:56:24] local.INFO: Extracted packet for processing {"connection_id":163115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db8"} 
[2026-08-23 13:56:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593131520001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787473471000,"timestamp_ms":1787473471000,"timestamp_seconds":1787473471,"priority":1,"record_length":96,"hex_timestamp":"000001a02db8a618"} 
[2026-08-23 13:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 13:56:24] 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-08-23 13:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:56:24] 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-08-23 13:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593131520001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593131520001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:56:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:56:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593131520001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":163115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:56:24] local.INFO: GPS data processed {"connection_id":163115,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:56:24] local.INFO: Acknowledgment sent {"connection_id":163115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:56:46] local.INFO: TCP Data received {"connection_id":161710,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:56:46] local.INFO: Processing buffer {"connection_id":161710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:56:46] local.INFO: IMEI packet received {"connection_id":161710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":161710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:56:51] local.INFO: TCP Data received {"connection_id":161710,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:56:51] local.INFO: Processing buffer {"connection_id":161710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:56:51] local.INFO: IMEI packet received {"connection_id":161710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":161710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:56:52] local.INFO: TCP Data received {"connection_id":161710,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:56:52] local.INFO: Processing buffer {"connection_id":161710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:56:52] local.INFO: Packet analysis {"connection_id":161710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db8"} 
[2026-08-23 13:56:52] local.INFO: Extracted packet for processing {"connection_id":161710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db8"} 
[2026-08-23 13:56:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593131520001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787473471000,"timestamp_ms":1787473471000,"timestamp_seconds":1787473471,"priority":1,"record_length":96,"hex_timestamp":"000001a02db8a618"} 
[2026-08-23 13:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 13:56:52] 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-08-23 13:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:56:52] 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-08-23 13:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593131520001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593131520001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:56:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:56:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593131520001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":161710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:56:52] local.INFO: GPS data processed {"connection_id":161710,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:56:52] local.INFO: Acknowledgment sent {"connection_id":161710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:57:24] local.INFO: TCP Data received {"connection_id":161710,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:57:24] local.INFO: Processing buffer {"connection_id":161710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:57:24] local.INFO: Packet analysis {"connection_id":161710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db8"} 
[2026-08-23 13:57:24] local.INFO: Extracted packet for processing {"connection_id":161710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db8"} 
[2026-08-23 13:57:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593131520001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787473471000,"timestamp_ms":1787473471000,"timestamp_seconds":1787473471,"priority":1,"record_length":96,"hex_timestamp":"000001a02db8a618"} 
[2026-08-23 13:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 13:57:24] 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-08-23 13:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:57:24] 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-08-23 13:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593131520001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593131520001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:57:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:57:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593131520001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":161710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:57:24] local.INFO: GPS data processed {"connection_id":161710,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:57:24] local.INFO: Acknowledgment sent {"connection_id":161710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:57:46] local.INFO: TCP Data received {"connection_id":161711,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:57:46] local.INFO: Processing buffer {"connection_id":161711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:57:46] local.INFO: IMEI packet received {"connection_id":161711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":161711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:57:51] local.INFO: TCP Data received {"connection_id":161711,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:57:51] local.INFO: Processing buffer {"connection_id":161711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:57:51] local.INFO: IMEI packet received {"connection_id":161711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":161711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:57:52] local.INFO: TCP Data received {"connection_id":161711,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:57:52] local.INFO: Processing buffer {"connection_id":161711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:57:52] local.INFO: Packet analysis {"connection_id":161711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db8"} 
[2026-08-23 13:57:52] local.INFO: Extracted packet for processing {"connection_id":161711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db8"} 
[2026-08-23 13:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:57: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-08-23 13:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593131520001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787473471000,"timestamp_ms":1787473471000,"timestamp_seconds":1787473471,"priority":1,"record_length":96,"hex_timestamp":"000001a02db8a618"} 
[2026-08-23 13:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 13:57:52] 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-08-23 13:57: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-08-23 13:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:57:52] 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-08-23 13:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593131520001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593131520001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:57:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593131520001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":161711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:57:52] local.INFO: GPS data processed {"connection_id":161711,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:57:52] local.INFO: Acknowledgment sent {"connection_id":161711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:58:23] local.INFO: TCP Data received {"connection_id":161711,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:58:23] local.INFO: Processing buffer {"connection_id":161711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:58:23] local.INFO: Packet analysis {"connection_id":161711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db8"} 
[2026-08-23 13:58:23] local.INFO: Extracted packet for processing {"connection_id":161711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db8"} 
[2026-08-23 13:58:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593131520001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787473471000,"timestamp_ms":1787473471000,"timestamp_seconds":1787473471,"priority":1,"record_length":96,"hex_timestamp":"000001a02db8a618"} 
[2026-08-23 13:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 13:58:23] 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-08-23 13:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:58:23] 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-08-23 13:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593131520001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593131520001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:58:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:58:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593131520001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":161711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:58:23] local.INFO: GPS data processed {"connection_id":161711,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:58:23] local.INFO: Acknowledgment sent {"connection_id":161711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:58:44] local.INFO: TCP Data received {"connection_id":160531,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:58:44] local.INFO: Processing buffer {"connection_id":160531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:58:44] local.INFO: IMEI packet received {"connection_id":160531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":160531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:58:44] local.INFO: TCP Data received {"connection_id":160531,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:58:44] local.INFO: Processing buffer {"connection_id":160531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:58:44] local.INFO: IMEI packet received {"connection_id":160531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":160531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:58:46] local.INFO: TCP Data received {"connection_id":160532,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:58:46] local.INFO: Processing buffer {"connection_id":160532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:58:46] local.INFO: IMEI packet received {"connection_id":160532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":160532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:58:49] local.INFO: TCP Data received {"connection_id":160531,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:58:49] local.INFO: Processing buffer {"connection_id":160531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:58:49] local.INFO: IMEI packet received {"connection_id":160531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":160531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:58:50] local.INFO: TCP Data received {"connection_id":160531,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbb22d0012d1821c00721ada0004900da26..."} 
[2026-08-23 13:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbb22d0012d1821c00721ada0004900da26..."} 
[2026-08-23 13:58:50] local.INFO: Processing buffer {"connection_id":160531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbb22d0012d1821c00721ada0004900da26..."} 
[2026-08-23 13:58:50] local.INFO: Packet analysis {"connection_id":160531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbb"} 
[2026-08-23 13:58:50] local.INFO: Extracted packet for processing {"connection_id":160531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbb"} 
[2026-08-23 13:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119647648,"longitude_deg":75.6556224,"latitude_deg":11.9647648,"altitude":73,"angle":218,"satellites":38,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721ada0","is_valid_coordinates":true} 
[2026-08-23 13: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-08-23 13:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593244928001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15538813719805952,"note":"Value kept but may cause issues"} 
[2026-08-23 13:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542980870144,"note":"Value kept but may cause issues"} 
[2026-08-23 13:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787473634000,"timestamp_ms":1787473634000,"timestamp_seconds":1787473634,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbb22d0"} 
[2026-08-23 13:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:58: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-08-23 13: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-23 13:58:50] 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-08-23 13: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-08-23 13:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":160531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":160531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":160531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593244928001,"66":13004,"105":206,"83":41984,"24":0,"16":15538813719805952,"45":1739163542980870144},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 13:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593244928001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:58:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 13:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 13:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15538813719805952,"km_value":15538813719805.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542980870144,"description":"Unknown IO ID 45"} 
[2026-08-23 13:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593244928001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542980870144}} 
[2026-08-23 13:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":160531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:58:50] local.INFO: GPS data processed {"connection_id":160531,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:58:50] local.INFO: Acknowledgment sent {"connection_id":160531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:58:51] local.INFO: TCP Data received {"connection_id":160532,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:58:51] local.INFO: Processing buffer {"connection_id":160532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:58:51] local.INFO: IMEI packet received {"connection_id":160532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":160532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:58:52] local.INFO: TCP Data received {"connection_id":160532,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:58:52] local.INFO: Processing buffer {"connection_id":160532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:58:52] local.INFO: Packet analysis {"connection_id":160532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db8"} 
[2026-08-23 13:58:52] local.INFO: Extracted packet for processing {"connection_id":160532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db8"} 
[2026-08-23 13:58:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593131520001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787473471000,"timestamp_ms":1787473471000,"timestamp_seconds":1787473471,"priority":1,"record_length":96,"hex_timestamp":"000001a02db8a618"} 
[2026-08-23 13:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 13:58:52] 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-08-23 13:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593131520001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593131520001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:58:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:58:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593131520001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":160532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:58:52] local.INFO: GPS data processed {"connection_id":160532,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:58:52] local.INFO: Acknowledgment sent {"connection_id":160532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:59:23] local.INFO: TCP Data received {"connection_id":161713,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:59:23] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:59:23] local.INFO: IMEI packet received {"connection_id":161713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 13:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":161713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:59:23] local.INFO: TCP Data received {"connection_id":160532,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:59:23] local.INFO: Processing buffer {"connection_id":160532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:59:23] local.INFO: Packet analysis {"connection_id":160532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db8"} 
[2026-08-23 13:59:23] local.INFO: Extracted packet for processing {"connection_id":160532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db8"} 
[2026-08-23 13:59:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593131520001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787473471000,"timestamp_ms":1787473471000,"timestamp_seconds":1787473471,"priority":1,"record_length":96,"hex_timestamp":"000001a02db8a618"} 
[2026-08-23 13:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 13:59:23] 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-08-23 13:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593131520001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593131520001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:59:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:59:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593131520001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":160532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:59:23] local.INFO: GPS data processed {"connection_id":160532,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:59:23] local.INFO: Acknowledgment sent {"connection_id":160532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:59:24] local.INFO: TCP Data received {"connection_id":161713,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:59:24] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:59:24] local.INFO: IMEI packet received {"connection_id":161713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 13:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":161713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:59:28] local.INFO: TCP Data received {"connection_id":161713,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:59:28] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 13:59:28] local.INFO: IMEI packet received {"connection_id":161713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 13:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":161713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:59:29] local.INFO: TCP Data received {"connection_id":161713,"ip":"42.109.136.5","data_length":639,"data_hex":"00000000000002738e08000000000000b7980100000000000000000000000000..."} 
[2026-08-23 13:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":639,"packet_hex":"00000000000002738e08000000000000b7980100000000000000000000000000..."} 
[2026-08-23 13:59:29] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":639,"buffer_hex":"00000000000002738e08000000000000b7980100000000000000000000000000..."} 
[2026-08-23 13:59:29] local.INFO: Packet analysis {"connection_id":161713,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e08000000000000"} 
[2026-08-23 13:59:29] local.INFO: Extracted packet for processing {"connection_id":161713,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e08000000000000"} 
[2026-08-23 13:59:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 13: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":639,"current_offset":40} 
[2026-08-23 13:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122626173908811776,"note":"Value kept but may cause issues"} 
[2026-08-23 13:59:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,117,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 13:59:29] 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-08-23 13:59:29] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":8,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:59:29] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":0,"records_with_valid_data":0} 
[2026-08-23 13:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161713,"avl_records_parsed":0,"avl_records_expected":8,"crc_valid":false} 
[2026-08-23 13:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161713,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-23 13:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161713,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-23 13:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-23 13:59:29] local.WARNING: DEBUG: No valid data to process  
[2026-08-23 13:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":161713,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-23 13:59:29] local.ERROR: GPS data processing failed {"connection_id":161713,"error":"No valid data to process"} 
[2026-08-23 13:59:29] local.INFO: Acknowledgment sent {"connection_id":161713,"records_acknowledged":0,"records_expected":8,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-23 13:59:29] local.INFO: TCP Data received {"connection_id":163116,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:59:29] local.INFO: Processing buffer {"connection_id":163116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:59:29] local.INFO: IMEI packet received {"connection_id":163116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 13:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":163116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:59:34] local.INFO: TCP Data received {"connection_id":163116,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:59:34] local.INFO: Processing buffer {"connection_id":163116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 13:59:34] local.INFO: IMEI packet received {"connection_id":163116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 13:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":163116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:59:35] local.INFO: TCP Data received {"connection_id":163116,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbb45f8012d181fc00721adb8004a013426..."} 
[2026-08-23 13:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbb45f8012d181fc00721adb8004a013426..."} 
[2026-08-23 13:59:35] local.INFO: Processing buffer {"connection_id":163116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbb45f8012d181fc00721adb8004a013426..."} 
[2026-08-23 13:59:35] local.INFO: Packet analysis {"connection_id":163116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbb"} 
[2026-08-23 13:59:35] local.INFO: Extracted packet for processing {"connection_id":163116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbb"} 
[2026-08-23 13:59:35] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119647672,"longitude_deg":75.6555712,"latitude_deg":11.9647672,"altitude":74,"angle":308,"satellites":38,"speed":5,"hex_longitude":"2d181fc0","hex_latitude":"0721adb8","is_valid_coordinates":true} 
[2026-08-23 13:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593250304001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15538839489609728,"note":"Value kept but may cause issues"} 
[2026-08-23 13:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004052992,"note":"Value kept but may cause issues"} 
[2026-08-23 13:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787473643000,"timestamp_ms":1787473643000,"timestamp_seconds":1787473643,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbb45f8"} 
[2026-08-23 13:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 13:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-23 13:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 13:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 13:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 13:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593250304001,"66":13015,"105":206,"83":41984,"24":5,"16":15538839489609728,"45":1738882068004052992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 13:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 13:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 13:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593250304001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:59:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 13:59:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 13:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15538839489609728,"km_value":15538839489609.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004052992,"description":"Unknown IO ID 45"} 
[2026-08-23 13:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593250304001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1738882068004052992}} 
[2026-08-23 13:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":163116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:59:35] local.INFO: GPS data processed {"connection_id":163116,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:59:35] local.INFO: Acknowledgment sent {"connection_id":163116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 13:59:51] local.INFO: TCP Data received {"connection_id":160775,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:59:51] local.INFO: Processing buffer {"connection_id":160775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:59:51] local.INFO: IMEI packet received {"connection_id":160775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 13:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":160775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 13:59:56] local.INFO: TCP Data received {"connection_id":160775,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:59:56] local.INFO: Processing buffer {"connection_id":160775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 13:59:56] local.INFO: IMEI packet received {"connection_id":160775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 13:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":160775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 13:59:57] local.INFO: TCP Data received {"connection_id":160775,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:59:57] local.INFO: Processing buffer {"connection_id":160775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 13:59:57] local.INFO: Packet analysis {"connection_id":160775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db8"} 
[2026-08-23 13:59:57] local.INFO: Extracted packet for processing {"connection_id":160775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db8"} 
[2026-08-23 13:59:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 13:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 13:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593131520001,"note":"Value kept but may cause issues"} 
[2026-08-23 13:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 13:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 13:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 13:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787473471000,"timestamp_ms":1787473471000,"timestamp_seconds":1787473471,"priority":1,"record_length":96,"hex_timestamp":"000001a02db8a618"} 
[2026-08-23 13:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 13:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 13:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 13:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 13:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 13:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 13:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 13:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 13:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 13:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 13:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 13:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 13:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593131520001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 13:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 13:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 13:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593131520001,"description":"Unknown IO ID 0"} 
[2026-08-23 13:59:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 13:59:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 13:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 13:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 13:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593131520001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 13:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":160775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 13:59:57] local.INFO: GPS data processed {"connection_id":160775,"processed":1,"errors":0,"total":1} 
[2026-08-23 13:59:57] local.INFO: Acknowledgment sent {"connection_id":160775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:00:00] local.INFO: TCP Data received {"connection_id":161713,"ip":"42.109.136.5","data_length":93,"data_hex":"00000000000000518e0100000000000109a00100000000000000000000000000..."} 
[2026-08-23 14:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":93,"packet_hex":"00000000000000518e0100000000000109a00100000000000000000000000000..."} 
[2026-08-23 14:00:00] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":93,"buffer_hex":"00000000000000518e0100000000000109a00100000000000000000000000000..."} 
[2026-08-23 14:00:00] local.INFO: Packet analysis {"connection_id":161713,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-08-23 14:00:00] local.INFO: Extracted packet for processing {"connection_id":161713,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-08-23 14:00:00] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 14:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-23 14:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:00:00] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:00:00] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-23 14:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161713,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-23 14:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161713,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-23 14:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161713,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-23 14:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-23 14:00:00] local.WARNING: DEBUG: No valid data to process  
[2026-08-23 14:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":161713,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-23 14:00:00] local.ERROR: GPS data processing failed {"connection_id":161713,"error":"No valid data to process"} 
[2026-08-23 14:00:00] local.INFO: Acknowledgment sent {"connection_id":161713,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-23 14:00:02] local.INFO: TCP Data received {"connection_id":160775,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 14:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 14:00:02] local.INFO: Processing buffer {"connection_id":160775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02db8a618012d34c50006aa4098000e008524..."} 
[2026-08-23 14:00:02] local.INFO: Packet analysis {"connection_id":160775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02db8"} 
[2026-08-23 14:00:02] local.INFO: Extracted packet for processing {"connection_id":160775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02db8"} 
[2026-08-23 14:00:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593131520001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787473471000,"timestamp_ms":1787473471000,"timestamp_seconds":1787473471,"priority":1,"record_length":96,"hex_timestamp":"000001a02db8a618"} 
[2026-08-23 14:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593131520001,"66":25593,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593131520001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:00:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:00:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593131520001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":160775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:00:02] local.INFO: GPS data processed {"connection_id":160775,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:00:02] local.INFO: Acknowledgment sent {"connection_id":160775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:00:06] local.INFO: TCP Data received {"connection_id":163116,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbb9800012d181dc00721ace0004b013427..."} 
[2026-08-23 14:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbb9800012d181dc00721ace0004b013427..."} 
[2026-08-23 14:00:06] local.INFO: Processing buffer {"connection_id":163116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbb9800012d181dc00721ace0004b013427..."} 
[2026-08-23 14:00:06] local.INFO: Packet analysis {"connection_id":163116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbb"} 
[2026-08-23 14:00:06] local.INFO: Extracted packet for processing {"connection_id":163116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbb"} 
[2026-08-23 14:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647456,"longitude_deg":75.65552,"latitude_deg":11.9647456,"altitude":75,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ace0","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593252608001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15538873849348096,"note":"Value kept but may cause issues"} 
[2026-08-23 14:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050637824,"note":"Value kept but may cause issues"} 
[2026-08-23 14:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787473664000,"timestamp_ms":1787473664000,"timestamp_seconds":1787473664,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbb9800"} 
[2026-08-23 14:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 14:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593252608001,"66":13048,"105":206,"83":41984,"24":0,"16":15538873849348096,"45":1738319118050637824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 14:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593252608001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:00:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 14:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15538873849348096,"km_value":15538873849348.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050637824,"description":"Unknown IO ID 45"} 
[2026-08-23 14:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593252608001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050637824}} 
[2026-08-23 14:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":163116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:00:06] local.INFO: GPS data processed {"connection_id":163116,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:00:06] local.INFO: Acknowledgment sent {"connection_id":163116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:00:28] local.INFO: TCP Data received {"connection_id":160533,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:00:28] local.INFO: Processing buffer {"connection_id":160533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:00:28] local.INFO: IMEI packet received {"connection_id":160533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":160533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:00:29] local.INFO: TCP Data received {"connection_id":160533,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:00:29] local.INFO: Processing buffer {"connection_id":160533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:00:29] local.INFO: IMEI packet received {"connection_id":160533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":160533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:00:31] local.INFO: TCP Data received {"connection_id":161713,"ip":"42.109.136.5","data_length":93,"data_hex":"00000000000000518e010000000000015ba80100000000000000000000000000..."} 
[2026-08-23 14:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":93,"packet_hex":"00000000000000518e010000000000015ba80100000000000000000000000000..."} 
[2026-08-23 14:00:31] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":93,"buffer_hex":"00000000000000518e010000000000015ba80100000000000000000000000000..."} 
[2026-08-23 14:00:31] local.INFO: Packet analysis {"connection_id":161713,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-08-23 14:00:31] local.INFO: Extracted packet for processing {"connection_id":161713,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-08-23 14:00:31] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 14: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":93,"current_offset":40} 
[2026-08-23 14:00:31] 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-08-23 14:00:31] 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-08-23 14:00:31] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:00:31] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-23 14:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161713,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-23 14:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161713,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-23 14:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161713,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-23 14:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-23 14:00:31] local.WARNING: DEBUG: No valid data to process  
[2026-08-23 14:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":161713,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-23 14:00:31] local.ERROR: GPS data processing failed {"connection_id":161713,"error":"No valid data to process"} 
[2026-08-23 14:00:31] local.INFO: Acknowledgment sent {"connection_id":161713,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-23 14:00:34] local.INFO: TCP Data received {"connection_id":160533,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:00:34] local.INFO: Processing buffer {"connection_id":160533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:00:34] local.INFO: IMEI packet received {"connection_id":160533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":160533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:00:35] local.INFO: TCP Data received {"connection_id":160533,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbbea08012d181dc00721ace0004b013425..."} 
[2026-08-23 14:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbbea08012d181dc00721ace0004b013425..."} 
[2026-08-23 14:00:35] local.INFO: Processing buffer {"connection_id":160533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbbea08012d181dc00721ace0004b013425..."} 
[2026-08-23 14:00:35] local.INFO: Packet analysis {"connection_id":160533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbb"} 
[2026-08-23 14:00:35] local.INFO: Extracted packet for processing {"connection_id":160533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbb"} 
[2026-08-23 14:00:35] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647456,"longitude_deg":75.65552,"latitude_deg":11.9647456,"altitude":75,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ace0","is_valid_coordinates":true} 
[2026-08-23 14:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593257984001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15538873849348096,"note":"Value kept but may cause issues"} 
[2026-08-23 14:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097161216,"note":"Value kept but may cause issues"} 
[2026-08-23 14:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787473685000,"timestamp_ms":1787473685000,"timestamp_seconds":1787473685,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbbea08"} 
[2026-08-23 14:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-23 14:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593257984001,"66":13015,"105":206,"83":41984,"24":0,"16":15538873849348096,"45":1737756168097161216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 14:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593257984001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:00:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 14:00:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15538873849348096,"km_value":15538873849348.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097161216,"description":"Unknown IO ID 45"} 
[2026-08-23 14:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593257984001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097161216}} 
[2026-08-23 14:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":160533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:00:35] local.INFO: GPS data processed {"connection_id":160533,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:00:35] local.INFO: Acknowledgment sent {"connection_id":160533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:00:46] local.INFO: TCP Data received {"connection_id":161714,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:00:46] local.INFO: Processing buffer {"connection_id":161714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:00:46] local.INFO: IMEI packet received {"connection_id":161714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":161714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:00:51] local.INFO: TCP Data received {"connection_id":161714,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:00:51] local.INFO: Processing buffer {"connection_id":161714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:00:51] local.INFO: IMEI packet received {"connection_id":161714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":161714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:00:52] local.INFO: TCP Data received {"connection_id":161714,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:00:52] local.INFO: Processing buffer {"connection_id":161714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:00:52] local.INFO: Packet analysis {"connection_id":161714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:00:52] local.INFO: Extracted packet for processing {"connection_id":161714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:00:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:00: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-08-23 14:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593208576001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787473772000,"timestamp_ms":1787473772000,"timestamp_seconds":1787473772,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbd3de0"} 
[2026-08-23 14:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 14:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:00: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-08-23 14:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593208576001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593208576001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:00:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:00:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593208576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":161714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:00:52] local.INFO: GPS data processed {"connection_id":161714,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:00:52] local.INFO: Acknowledgment sent {"connection_id":161714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:01:02] local.INFO: TCP Data received {"connection_id":161713,"ip":"42.109.136.5","data_length":93,"data_hex":"00000000000000518e01000000000001adb00100000000000000000000000000..."} 
[2026-08-23 14:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":93,"packet_hex":"00000000000000518e01000000000001adb00100000000000000000000000000..."} 
[2026-08-23 14:01:02] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":93,"buffer_hex":"00000000000000518e01000000000001adb00100000000000000000000000000..."} 
[2026-08-23 14:01:02] local.INFO: Packet analysis {"connection_id":161713,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-08-23 14:01:02] local.INFO: Extracted packet for processing {"connection_id":161713,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-08-23 14:01:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 14:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-23 14:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:01:02] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:01:02] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-23 14:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161713,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-23 14:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161713,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-23 14:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161713,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-23 14:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-23 14:01:02] local.WARNING: DEBUG: No valid data to process  
[2026-08-23 14:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":161713,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-23 14:01:02] local.ERROR: GPS data processing failed {"connection_id":161713,"error":"No valid data to process"} 
[2026-08-23 14:01:02] local.INFO: Acknowledgment sent {"connection_id":161713,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-23 14:01:06] local.INFO: TCP Data received {"connection_id":160533,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbc3c10012d181dc00721ace0004b013426..."} 
[2026-08-23 14:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbc3c10012d181dc00721ace0004b013426..."} 
[2026-08-23 14:01:06] local.INFO: Processing buffer {"connection_id":160533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbc3c10012d181dc00721ace0004b013426..."} 
[2026-08-23 14:01:06] local.INFO: Packet analysis {"connection_id":160533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbc"} 
[2026-08-23 14:01:06] local.INFO: Extracted packet for processing {"connection_id":160533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbc"} 
[2026-08-23 14:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647456,"longitude_deg":75.65552,"latitude_deg":11.9647456,"altitude":75,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ace0","is_valid_coordinates":true} 
[2026-08-23 14:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593263360001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15538873849348096,"note":"Value kept but may cause issues"} 
[2026-08-23 14:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097161216,"note":"Value kept but may cause issues"} 
[2026-08-23 14:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787473706000,"timestamp_ms":1787473706000,"timestamp_seconds":1787473706,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbc3c10"} 
[2026-08-23 14:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 14:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593263360001,"66":12982,"105":206,"83":41984,"24":0,"16":15538873849348096,"45":1737756168097161216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 14:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593263360001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:01:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 14:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15538873849348096,"km_value":15538873849348.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097161216,"description":"Unknown IO ID 45"} 
[2026-08-23 14:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593263360001,"power":12982,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097161216}} 
[2026-08-23 14:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":160533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:01:06] local.INFO: GPS data processed {"connection_id":160533,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:01:06] local.INFO: Acknowledgment sent {"connection_id":160533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:01:24] local.INFO: TCP Data received {"connection_id":161714,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:01:24] local.INFO: Processing buffer {"connection_id":161714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:01:24] local.INFO: Packet analysis {"connection_id":161714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:01:24] local.INFO: Extracted packet for processing {"connection_id":161714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:01:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593208576001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787473772000,"timestamp_ms":1787473772000,"timestamp_seconds":1787473772,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbd3de0"} 
[2026-08-23 14:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 14:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593208576001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593208576001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:01:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:01:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593208576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":161714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:01:24] local.INFO: GPS data processed {"connection_id":161714,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:01:24] local.INFO: Acknowledgment sent {"connection_id":161714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:01:29] local.INFO: TCP Data received {"connection_id":161715,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:01:29] local.INFO: Processing buffer {"connection_id":161715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:01:29] local.INFO: IMEI packet received {"connection_id":161715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":161715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:01:31] local.INFO: TCP Data received {"connection_id":161715,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:01:31] local.INFO: Processing buffer {"connection_id":161715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:01:31] local.INFO: IMEI packet received {"connection_id":161715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":161715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:01:34] local.INFO: TCP Data received {"connection_id":161713,"ip":"42.109.136.5","data_length":93,"data_hex":"00000000000000518e01000001a02dbe5ef00100000000000000000000000000..."} 
[2026-08-23 14:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":93,"packet_hex":"00000000000000518e01000001a02dbe5ef00100000000000000000000000000..."} 
[2026-08-23 14:01:34] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a02dbe5ef00100000000000000000000000000..."} 
[2026-08-23 14:01:34] local.INFO: Packet analysis {"connection_id":161713,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a02dbe"} 
[2026-08-23 14:01:34] local.INFO: Extracted packet for processing {"connection_id":161713,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a02dbe"} 
[2026-08-23 14:01:34] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 14:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-23 14:01:34] 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-08-23 14:01:34] 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-08-23 14:01:34] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:01:34] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-23 14:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161713,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-23 14:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161713,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-23 14:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161713,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-23 14:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-23 14:01:34] local.WARNING: DEBUG: No valid data to process  
[2026-08-23 14:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":161713,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-23 14:01:34] local.ERROR: GPS data processing failed {"connection_id":161713,"error":"No valid data to process"} 
[2026-08-23 14:01:34] local.INFO: Acknowledgment sent {"connection_id":161713,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-23 14:01:34] local.INFO: TCP Data received {"connection_id":161715,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:01:34] local.INFO: Processing buffer {"connection_id":161715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:01:34] local.INFO: IMEI packet received {"connection_id":161715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":161715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:01:35] local.INFO: TCP Data received {"connection_id":161715,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbc8e18012d181dc00721ace0004b013427..."} 
[2026-08-23 14:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbc8e18012d181dc00721ace0004b013427..."} 
[2026-08-23 14:01:35] local.INFO: Processing buffer {"connection_id":161715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbc8e18012d181dc00721ace0004b013427..."} 
[2026-08-23 14:01:35] local.INFO: Packet analysis {"connection_id":161715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbc"} 
[2026-08-23 14:01:35] local.INFO: Extracted packet for processing {"connection_id":161715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbc"} 
[2026-08-23 14:01:35] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647456,"longitude_deg":75.65552,"latitude_deg":11.9647456,"altitude":75,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ace0","is_valid_coordinates":true} 
[2026-08-23 14:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593268736001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15538873849348096,"note":"Value kept but may cause issues"} 
[2026-08-23 14:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097161216,"note":"Value kept but may cause issues"} 
[2026-08-23 14:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787473727000,"timestamp_ms":1787473727000,"timestamp_seconds":1787473727,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbc8e18"} 
[2026-08-23 14:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 14:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593268736001,"66":13004,"105":206,"83":41984,"24":0,"16":15538873849348096,"45":1737756168097161216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 14:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593268736001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:01:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 14:01:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15538873849348096,"km_value":15538873849348.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097161216,"description":"Unknown IO ID 45"} 
[2026-08-23 14:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593268736001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097161216}} 
[2026-08-23 14:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":161715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:01:35] local.INFO: GPS data processed {"connection_id":161715,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:01:35] local.INFO: Acknowledgment sent {"connection_id":161715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:01:46] local.INFO: TCP Data received {"connection_id":163117,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:01:46] local.INFO: Processing buffer {"connection_id":163117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:01:46] local.INFO: IMEI packet received {"connection_id":163117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":163117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:01:51] local.INFO: TCP Data received {"connection_id":163117,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:01:51] local.INFO: Processing buffer {"connection_id":163117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:01:51] local.INFO: IMEI packet received {"connection_id":163117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":163117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:01:53] local.INFO: TCP Data received {"connection_id":163117,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:01:53] local.INFO: Processing buffer {"connection_id":163117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:01:53] local.INFO: Packet analysis {"connection_id":163117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:01:53] local.INFO: Extracted packet for processing {"connection_id":163117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:01:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593208576001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787473772000,"timestamp_ms":1787473772000,"timestamp_seconds":1787473772,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbd3de0"} 
[2026-08-23 14:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 14:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:01:53] 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-08-23 14:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593208576001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593208576001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:01:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:01:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593208576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":163117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:01:53] local.INFO: GPS data processed {"connection_id":163117,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:01:53] local.INFO: Acknowledgment sent {"connection_id":163117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:02:05] local.INFO: TCP Data received {"connection_id":161713,"ip":"42.109.136.5","data_length":171,"data_hex":"000000000000009f8e02000001a02dbeb0f80100000000000000000000000000..."} 
[2026-08-23 14:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":171,"packet_hex":"000000000000009f8e02000001a02dbeb0f80100000000000000000000000000..."} 
[2026-08-23 14:02:05] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":171,"buffer_hex":"000000000000009f8e02000001a02dbeb0f80100000000000000000000000000..."} 
[2026-08-23 14:02:05] local.INFO: Packet analysis {"connection_id":161713,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e02000001a02dbe"} 
[2026-08-23 14:02:05] local.INFO: Extracted packet for processing {"connection_id":161713,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e02000001a02dbe"} 
[2026-08-23 14:02:05] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 14: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":171,"current_offset":40} 
[2026-08-23 14:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122626173908811776,"note":"Value kept but may cause issues"} 
[2026-08-23 14:02:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,117,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 14:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787473867000,"timestamp_ms":1787473867000,"timestamp_seconds":1787473867,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbeb0f8"} 
[2026-08-23 14:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":44,"n8_eight_byte":164,"data_length":171,"current_offset":136} 
[2026-08-23 14:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:02:05] 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-08-23 14:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:02:05] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161713,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-08-23 14:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":161713,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-23 14:02:05] local.INFO: GPS data processed {"connection_id":161713,"processed":0,"errors":0,"total":1} 
[2026-08-23 14:02:05] local.INFO: Acknowledgment sent {"connection_id":161713,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:02:06] local.INFO: TCP Data received {"connection_id":161715,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbce020012d181dc00721ace0004b013427..."} 
[2026-08-23 14:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbce020012d181dc00721ace0004b013427..."} 
[2026-08-23 14:02:06] local.INFO: Processing buffer {"connection_id":161715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbce020012d181dc00721ace0004b013427..."} 
[2026-08-23 14:02:06] local.INFO: Packet analysis {"connection_id":161715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbc"} 
[2026-08-23 14:02:06] local.INFO: Extracted packet for processing {"connection_id":161715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbc"} 
[2026-08-23 14:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647456,"longitude_deg":75.65552,"latitude_deg":11.9647456,"altitude":75,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ace0","is_valid_coordinates":true} 
[2026-08-23 14:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593274112001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15538873849348096,"note":"Value kept but may cause issues"} 
[2026-08-23 14:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097161216,"note":"Value kept but may cause issues"} 
[2026-08-23 14:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787473748000,"timestamp_ms":1787473748000,"timestamp_seconds":1787473748,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbce020"} 
[2026-08-23 14:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-23 14:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593274112001,"66":12982,"105":206,"83":41984,"24":0,"16":15538873849348096,"45":1737756168097161216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 14:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593274112001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:02:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 14:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15538873849348096,"km_value":15538873849348.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097161216,"description":"Unknown IO ID 45"} 
[2026-08-23 14:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593274112001,"power":12982,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097161216}} 
[2026-08-23 14:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":161715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:02:07] local.INFO: GPS data processed {"connection_id":161715,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:02:07] local.INFO: Acknowledgment sent {"connection_id":161715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:02:24] local.INFO: TCP Data received {"connection_id":163117,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:02:24] local.INFO: Processing buffer {"connection_id":163117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:02:24] local.INFO: Packet analysis {"connection_id":163117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:02:24] local.INFO: Extracted packet for processing {"connection_id":163117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:02:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593208576001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787473772000,"timestamp_ms":1787473772000,"timestamp_seconds":1787473772,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbd3de0"} 
[2026-08-23 14:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 14:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:02:24] 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-08-23 14:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593208576001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593208576001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:02:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:02:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593208576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":163117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:02:24] local.INFO: GPS data processed {"connection_id":163117,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:02:24] local.INFO: Acknowledgment sent {"connection_id":163117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:02:34] local.INFO: TCP Data received {"connection_id":163118,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:02:34] local.INFO: Processing buffer {"connection_id":163118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:02:34] local.INFO: IMEI packet received {"connection_id":163118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":163118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:02:35] local.INFO: TCP Data received {"connection_id":163118,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:02:35] local.INFO: Processing buffer {"connection_id":163118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:02:35] local.INFO: IMEI packet received {"connection_id":163118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":163118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:02:36] local.INFO: TCP Data received {"connection_id":161713,"ip":"42.109.136.5","data_length":249,"data_hex":"00000000000000ed8e03000001a02dbf03000100000000000000000000000000..."} 
[2026-08-23 14:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":249,"packet_hex":"00000000000000ed8e03000001a02dbf03000100000000000000000000000000..."} 
[2026-08-23 14:02:36] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":249,"buffer_hex":"00000000000000ed8e03000001a02dbf03000100000000000000000000000000..."} 
[2026-08-23 14:02:36] local.INFO: Packet analysis {"connection_id":161713,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e03000001a02dbf"} 
[2026-08-23 14:02:36] local.INFO: Extracted packet for processing {"connection_id":161713,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e03000001a02dbf"} 
[2026-08-23 14:02:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 14:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-08-23 14:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122626173908811776,"note":"Value kept but may cause issues"} 
[2026-08-23 14:02:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,117,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 14:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787473888000,"timestamp_ms":1787473888000,"timestamp_seconds":1787473888,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbf0300"} 
[2026-08-23 14:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":30,"data_length":249,"current_offset":136} 
[2026-08-23 14:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":673,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:02:36] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161713,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-08-23 14:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":161713,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-23 14:02:36] local.INFO: GPS data processed {"connection_id":161713,"processed":0,"errors":0,"total":1} 
[2026-08-23 14:02:36] local.INFO: Acknowledgment sent {"connection_id":161713,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:02:39] local.INFO: TCP Data received {"connection_id":163118,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:02:39] local.INFO: Processing buffer {"connection_id":163118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:02:39] local.INFO: IMEI packet received {"connection_id":163118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":163118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:02:40] local.INFO: TCP Data received {"connection_id":163118,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbd3228012d181dc00721ace0004b013426..."} 
[2026-08-23 14:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbd3228012d181dc00721ace0004b013426..."} 
[2026-08-23 14:02:40] local.INFO: Processing buffer {"connection_id":163118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbd3228012d181dc00721ace0004b013426..."} 
[2026-08-23 14:02:40] local.INFO: Packet analysis {"connection_id":163118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:02:40] local.INFO: Extracted packet for processing {"connection_id":163118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:02:40] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647456,"longitude_deg":75.65552,"latitude_deg":11.9647456,"altitude":75,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ace0","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593279488001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15538873849348096,"note":"Value kept but may cause issues"} 
[2026-08-23 14:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097161216,"note":"Value kept but may cause issues"} 
[2026-08-23 14:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787473769000,"timestamp_ms":1787473769000,"timestamp_seconds":1787473769,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbd3228"} 
[2026-08-23 14:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 14:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593279488001,"66":12917,"105":206,"83":41984,"24":0,"16":15538873849348096,"45":1737756168097161216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 14:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593279488001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:02:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 14:02:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15538873849348096,"km_value":15538873849348.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097161216,"description":"Unknown IO ID 45"} 
[2026-08-23 14:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593279488001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097161216}} 
[2026-08-23 14:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":163118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:02:40] local.INFO: GPS data processed {"connection_id":163118,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:02:40] local.INFO: Acknowledgment sent {"connection_id":163118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:02:45] local.INFO: TCP Data received {"connection_id":163118,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbd8430012d181dc00721ace0004b013424..."} 
[2026-08-23 14:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbd8430012d181dc00721ace0004b013424..."} 
[2026-08-23 14:02:45] local.INFO: Processing buffer {"connection_id":163118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbd8430012d181dc00721ace0004b013424..."} 
[2026-08-23 14:02:45] local.INFO: Packet analysis {"connection_id":163118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:02:45] local.INFO: Extracted packet for processing {"connection_id":163118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:02:45] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647456,"longitude_deg":75.65552,"latitude_deg":11.9647456,"altitude":75,"angle":308,"satellites":36,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ace0","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593284864001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15538873849348096,"note":"Value kept but may cause issues"} 
[2026-08-23 14:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097161216,"note":"Value kept but may cause issues"} 
[2026-08-23 14:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787473790000,"timestamp_ms":1787473790000,"timestamp_seconds":1787473790,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbd8430"} 
[2026-08-23 14:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 14:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593284864001,"66":12917,"105":206,"83":41984,"24":0,"16":15538873849348096,"45":1737756168097161216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 14:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593284864001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:02:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 14:02:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15538873849348096,"km_value":15538873849348.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097161216,"description":"Unknown IO ID 45"} 
[2026-08-23 14:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593284864001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097161216}} 
[2026-08-23 14:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":163118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:02:45] local.INFO: GPS data processed {"connection_id":163118,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:02:45] local.INFO: Acknowledgment sent {"connection_id":163118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:02:46] local.INFO: TCP Data received {"connection_id":160534,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:02:46] local.INFO: Processing buffer {"connection_id":160534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:02:46] local.INFO: IMEI packet received {"connection_id":160534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":160534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:02:51] local.INFO: TCP Data received {"connection_id":160534,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:02:51] local.INFO: Processing buffer {"connection_id":160534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:02:51] local.INFO: IMEI packet received {"connection_id":160534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":160534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:02:53] local.INFO: TCP Data received {"connection_id":160534,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:02:53] local.INFO: Processing buffer {"connection_id":160534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:02:53] local.INFO: Packet analysis {"connection_id":160534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:02:53] local.INFO: Extracted packet for processing {"connection_id":160534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:02:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593208576001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787473772000,"timestamp_ms":1787473772000,"timestamp_seconds":1787473772,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbd3de0"} 
[2026-08-23 14:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 14:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:02:53] 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-08-23 14:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593208576001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593208576001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:02:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:02:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593208576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":160534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:02:53] local.INFO: GPS data processed {"connection_id":160534,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:02:53] local.INFO: Acknowledgment sent {"connection_id":160534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:03:06] local.INFO: TCP Data received {"connection_id":161713,"ip":"42.109.136.5","data_length":327,"data_hex":"000000000000013b8e04000001a02dbf55080100000000000000000000000000..."} 
[2026-08-23 14:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":327,"packet_hex":"000000000000013b8e04000001a02dbf55080100000000000000000000000000..."} 
[2026-08-23 14:03:06] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":327,"buffer_hex":"000000000000013b8e04000001a02dbf55080100000000000000000000000000..."} 
[2026-08-23 14:03:06] local.INFO: Packet analysis {"connection_id":161713,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e04000001a02dbf"} 
[2026-08-23 14:03:06] local.INFO: Extracted packet for processing {"connection_id":161713,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e04000001a02dbf"} 
[2026-08-23 14:03:06] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 14:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-08-23 14:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122626173908811776,"note":"Value kept but may cause issues"} 
[2026-08-23 14:03:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,117,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 14:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787473909000,"timestamp_ms":1787473909000,"timestamp_seconds":1787473909,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbf5508"} 
[2026-08-23 14:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:03:06] 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-08-23 14:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":164,"data_length":327,"current_offset":136} 
[2026-08-23 14:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:03:06] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161713,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-23 14:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":161713,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-23 14:03:06] local.INFO: GPS data processed {"connection_id":161713,"processed":0,"errors":0,"total":1} 
[2026-08-23 14:03:06] local.INFO: Acknowledgment sent {"connection_id":161713,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:03:25] local.INFO: TCP Data received {"connection_id":160534,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:03:25] local.INFO: Processing buffer {"connection_id":160534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:03:25] local.INFO: Packet analysis {"connection_id":160534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:03:25] local.INFO: Extracted packet for processing {"connection_id":160534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:03:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593208576001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787473772000,"timestamp_ms":1787473772000,"timestamp_seconds":1787473772,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbd3de0"} 
[2026-08-23 14:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 14:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:03:25] 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-08-23 14:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593208576001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593208576001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:03:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593208576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":160534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:03:25] local.INFO: GPS data processed {"connection_id":160534,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:03:25] local.INFO: Acknowledgment sent {"connection_id":160534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:03:29] local.INFO: TCP Data received {"connection_id":163119,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:03:29] local.INFO: Processing buffer {"connection_id":163119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:03:29] local.INFO: IMEI packet received {"connection_id":163119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":163119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:03:34] local.INFO: TCP Data received {"connection_id":163119,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:03:34] local.INFO: Processing buffer {"connection_id":163119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:03:34] local.INFO: IMEI packet received {"connection_id":163119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":163119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:03:35] local.INFO: TCP Data received {"connection_id":163119,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbdd638012d181dc00721ace0004b013423..."} 
[2026-08-23 14:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbdd638012d181dc00721ace0004b013423..."} 
[2026-08-23 14:03:35] local.INFO: Processing buffer {"connection_id":163119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbdd638012d181dc00721ace0004b013423..."} 
[2026-08-23 14:03:35] local.INFO: Packet analysis {"connection_id":163119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:03:35] local.INFO: Extracted packet for processing {"connection_id":163119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:03:35] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647456,"longitude_deg":75.65552,"latitude_deg":11.9647456,"altitude":75,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ace0","is_valid_coordinates":true} 
[2026-08-23 14:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593290240001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15538873849348096,"note":"Value kept but may cause issues"} 
[2026-08-23 14:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097161216,"note":"Value kept but may cause issues"} 
[2026-08-23 14:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787473811000,"timestamp_ms":1787473811000,"timestamp_seconds":1787473811,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbdd638"} 
[2026-08-23 14:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 14:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593290240001,"66":12939,"105":206,"83":41984,"24":0,"16":15538873849348096,"45":1737756168097161216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 14:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593290240001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:03:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 14:03:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15538873849348096,"km_value":15538873849348.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097161216,"description":"Unknown IO ID 45"} 
[2026-08-23 14:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593290240001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097161216}} 
[2026-08-23 14:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":163119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:03:35] local.INFO: GPS data processed {"connection_id":163119,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:03:35] local.INFO: Acknowledgment sent {"connection_id":163119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:03:39] local.INFO: TCP Data received {"connection_id":161713,"ip":"42.109.136.5","data_length":405,"data_hex":"00000000000001898e05000001a02dbfa7100100000000000000000000000000..."} 
[2026-08-23 14:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":405,"packet_hex":"00000000000001898e05000001a02dbfa7100100000000000000000000000000..."} 
[2026-08-23 14:03:39] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":405,"buffer_hex":"00000000000001898e05000001a02dbfa7100100000000000000000000000000..."} 
[2026-08-23 14:03:39] local.INFO: Packet analysis {"connection_id":161713,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e05000001a02dbf"} 
[2026-08-23 14:03:39] local.INFO: Extracted packet for processing {"connection_id":161713,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e05000001a02dbf"} 
[2026-08-23 14:03:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 14:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":405,"current_offset":40} 
[2026-08-23 14:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122626173908811776,"note":"Value kept but may cause issues"} 
[2026-08-23 14:03:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,117,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 14:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787473930000,"timestamp_ms":1787473930000,"timestamp_seconds":1787473930,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbfa710"} 
[2026-08-23 14:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":235,"data_length":405,"current_offset":136} 
[2026-08-23 14:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2528,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:03:39] 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-08-23 14:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:03:39] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161713,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-23 14:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":161713,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-23 14:03:39] local.INFO: GPS data processed {"connection_id":161713,"processed":0,"errors":0,"total":1} 
[2026-08-23 14:03:39] local.INFO: Acknowledgment sent {"connection_id":161713,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:03:51] local.INFO: TCP Data received {"connection_id":161716,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:03:51] local.INFO: Processing buffer {"connection_id":161716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:03:51] local.INFO: IMEI packet received {"connection_id":161716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":161716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:03:56] local.INFO: TCP Data received {"connection_id":161716,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:03:56] local.INFO: Processing buffer {"connection_id":161716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:03:56] local.INFO: IMEI packet received {"connection_id":161716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":161716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:03:57] local.INFO: TCP Data received {"connection_id":161716,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:03:57] local.INFO: Processing buffer {"connection_id":161716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:03:57] local.INFO: Packet analysis {"connection_id":161716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:03:57] local.INFO: Extracted packet for processing {"connection_id":161716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:03:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 14:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593208576001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787473772000,"timestamp_ms":1787473772000,"timestamp_seconds":1787473772,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbd3de0"} 
[2026-08-23 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-08-23 14:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 14:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 14:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:03:57] 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-08-23 14:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593208576001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593208576001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:03:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:03:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593208576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":161716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:03:57] local.INFO: GPS data processed {"connection_id":161716,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:03:57] local.INFO: Acknowledgment sent {"connection_id":161716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:04:01] local.INFO: TCP Data received {"connection_id":161716,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:04:01] local.INFO: Processing buffer {"connection_id":161716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:04:01] local.INFO: Packet analysis {"connection_id":161716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:04:01] local.INFO: Extracted packet for processing {"connection_id":161716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:04:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593208576001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787473772000,"timestamp_ms":1787473772000,"timestamp_seconds":1787473772,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbd3de0"} 
[2026-08-23 14:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 14:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:04:01] 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-08-23 14:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593208576001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593208576001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:04:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:04:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593208576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":161716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:04:01] local.INFO: GPS data processed {"connection_id":161716,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:04:01] local.INFO: Acknowledgment sent {"connection_id":161716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:04:03] local.INFO: TCP Data received {"connection_id":163120,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:04:03] local.INFO: Processing buffer {"connection_id":163120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:04:03] local.INFO: IMEI packet received {"connection_id":163120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":163120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:04:06] local.INFO: TCP Data received {"connection_id":163119,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbe2840012d181dc00721ace0004b013426..."} 
[2026-08-23 14:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbe2840012d181dc00721ace0004b013426..."} 
[2026-08-23 14:04:06] local.INFO: Processing buffer {"connection_id":163119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbe2840012d181dc00721ace0004b013426..."} 
[2026-08-23 14:04:06] local.INFO: Packet analysis {"connection_id":163119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbe"} 
[2026-08-23 14:04:06] local.INFO: Extracted packet for processing {"connection_id":163119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbe"} 
[2026-08-23 14:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647456,"longitude_deg":75.65552,"latitude_deg":11.9647456,"altitude":75,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ace0","is_valid_coordinates":true} 
[2026-08-23 14:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593295616001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15538873849348096,"note":"Value kept but may cause issues"} 
[2026-08-23 14:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097161216,"note":"Value kept but may cause issues"} 
[2026-08-23 14:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787473832000,"timestamp_ms":1787473832000,"timestamp_seconds":1787473832,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbe2840"} 
[2026-08-23 14:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-23 14:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593295616001,"66":12874,"105":206,"83":41984,"24":0,"16":15538873849348096,"45":1737756168097161216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 14:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593295616001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:04:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 14:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15538873849348096,"km_value":15538873849348.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097161216,"description":"Unknown IO ID 45"} 
[2026-08-23 14:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593295616001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097161216}} 
[2026-08-23 14:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":163119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:04:06] local.INFO: GPS data processed {"connection_id":163119,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:04:06] local.INFO: Acknowledgment sent {"connection_id":163119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:04:08] local.INFO: TCP Data received {"connection_id":163120,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:04:08] local.INFO: Processing buffer {"connection_id":163120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:04:08] local.INFO: IMEI packet received {"connection_id":163120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":163120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:04:08] local.INFO: TCP Data received {"connection_id":163120,"ip":"42.109.136.5","data_length":483,"data_hex":"00000000000001d78e06000001a02dbff9180100000000000000000000000000..."} 
[2026-08-23 14:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163120,"packet_length":483,"packet_hex":"00000000000001d78e06000001a02dbff9180100000000000000000000000000..."} 
[2026-08-23 14:04:08] local.INFO: Processing buffer {"connection_id":163120,"buffer_length":483,"buffer_hex":"00000000000001d78e06000001a02dbff9180100000000000000000000000000..."} 
[2026-08-23 14:04:08] local.INFO: Packet analysis {"connection_id":163120,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e06000001a02dbf"} 
[2026-08-23 14:04:08] local.INFO: Extracted packet for processing {"connection_id":163120,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e06000001a02dbf"} 
[2026-08-23 14:04:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 14: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":483,"current_offset":40} 
[2026-08-23 14:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122626173908811776,"note":"Value kept but may cause issues"} 
[2026-08-23 14:04:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,117,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 14:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787473951000,"timestamp_ms":1787473951000,"timestamp_seconds":1787473951,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbff918"} 
[2026-08-23 14:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:04:08] 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-08-23 14: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":44,"n8_eight_byte":251,"data_length":483,"current_offset":136} 
[2026-08-23 14:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:04:08] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163120,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-08-23 14:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":163120,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-23 14:04:08] local.INFO: GPS data processed {"connection_id":163120,"processed":0,"errors":0,"total":1} 
[2026-08-23 14:04:08] local.INFO: Acknowledgment sent {"connection_id":163120,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:04:29] local.INFO: TCP Data received {"connection_id":163121,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:04:29] local.INFO: Processing buffer {"connection_id":163121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:04:29] local.INFO: IMEI packet received {"connection_id":163121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":163121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:04:34] local.INFO: TCP Data received {"connection_id":163121,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:04:34] local.INFO: Processing buffer {"connection_id":163121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:04:34] local.INFO: IMEI packet received {"connection_id":163121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":163121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:04:35] local.INFO: TCP Data received {"connection_id":163121,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbe7a48012d181dc00721ace0004b013427..."} 
[2026-08-23 14:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbe7a48012d181dc00721ace0004b013427..."} 
[2026-08-23 14:04:35] local.INFO: Processing buffer {"connection_id":163121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbe7a48012d181dc00721ace0004b013427..."} 
[2026-08-23 14:04:35] local.INFO: Packet analysis {"connection_id":163121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbe"} 
[2026-08-23 14:04:35] local.INFO: Extracted packet for processing {"connection_id":163121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbe"} 
[2026-08-23 14:04:35] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647456,"longitude_deg":75.65552,"latitude_deg":11.9647456,"altitude":75,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ace0","is_valid_coordinates":true} 
[2026-08-23 14:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593300992001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15538873849348096,"note":"Value kept but may cause issues"} 
[2026-08-23 14:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097161216,"note":"Value kept but may cause issues"} 
[2026-08-23 14:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787473853000,"timestamp_ms":1787473853000,"timestamp_seconds":1787473853,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbe7a48"} 
[2026-08-23 14:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-23 14:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593300992001,"66":12852,"105":206,"83":41984,"24":0,"16":15538873849348096,"45":1737756168097161216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 14:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593300992001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:04:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 14:04:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15538873849348096,"km_value":15538873849348.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097161216,"description":"Unknown IO ID 45"} 
[2026-08-23 14:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593300992001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097161216}} 
[2026-08-23 14:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":163121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:04:35] local.INFO: GPS data processed {"connection_id":163121,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:04:35] local.INFO: Acknowledgment sent {"connection_id":163121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:04:39] local.INFO: TCP Data received {"connection_id":163120,"ip":"42.109.136.5","data_length":561,"data_hex":"00000000000002258e07000001a02dc04b200100000000000000000000000000..."} 
[2026-08-23 14:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163120,"packet_length":561,"packet_hex":"00000000000002258e07000001a02dc04b200100000000000000000000000000..."} 
[2026-08-23 14:04:39] local.INFO: Processing buffer {"connection_id":163120,"buffer_length":561,"buffer_hex":"00000000000002258e07000001a02dc04b200100000000000000000000000000..."} 
[2026-08-23 14:04:39] local.INFO: Packet analysis {"connection_id":163120,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e07000001a02dc0"} 
[2026-08-23 14:04:39] local.INFO: Extracted packet for processing {"connection_id":163120,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e07000001a02dc0"} 
[2026-08-23 14:04:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 14: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":561,"current_offset":40} 
[2026-08-23 14:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122626173908811776,"note":"Value kept but may cause issues"} 
[2026-08-23 14:04:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,117,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 14:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787473972000,"timestamp_ms":1787473972000,"timestamp_seconds":1787473972,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc04b20"} 
[2026-08-23 14:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":45,"n8_eight_byte":27,"data_length":561,"current_offset":136} 
[2026-08-23 14:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:04:39] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163120,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-08-23 14:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":163120,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-23 14:04:39] local.INFO: GPS data processed {"connection_id":163120,"processed":0,"errors":0,"total":1} 
[2026-08-23 14:04:39] local.INFO: Acknowledgment sent {"connection_id":163120,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:04:46] local.INFO: TCP Data received {"connection_id":160776,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:04:46] local.INFO: Processing buffer {"connection_id":160776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:04:46] local.INFO: IMEI packet received {"connection_id":160776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":160776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:04:51] local.INFO: TCP Data received {"connection_id":160776,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:04:51] local.INFO: Processing buffer {"connection_id":160776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:04:51] local.INFO: IMEI packet received {"connection_id":160776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":160776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:04:52] local.INFO: TCP Data received {"connection_id":160776,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:04:52] local.INFO: Processing buffer {"connection_id":160776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbd3de0012d34c50006aa4098000e008525..."} 
[2026-08-23 14:04:52] local.INFO: Packet analysis {"connection_id":160776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:04:52] local.INFO: Extracted packet for processing {"connection_id":160776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbd"} 
[2026-08-23 14:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593208576001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787473772000,"timestamp_ms":1787473772000,"timestamp_seconds":1787473772,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbd3de0"} 
[2026-08-23 14:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 14:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:04:52] 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-08-23 14:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593208576001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593208576001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:04:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593208576001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":160776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:04:52] local.INFO: GPS data processed {"connection_id":160776,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:04:52] local.INFO: Acknowledgment sent {"connection_id":160776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:05:06] local.INFO: TCP Data received {"connection_id":163121,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbecc50012d181dc00721ace0004b013426..."} 
[2026-08-23 14:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbecc50012d181dc00721ace0004b013426..."} 
[2026-08-23 14:05:06] local.INFO: Processing buffer {"connection_id":163121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbecc50012d181dc00721ace0004b013426..."} 
[2026-08-23 14:05:06] local.INFO: Packet analysis {"connection_id":163121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbe"} 
[2026-08-23 14:05:06] local.INFO: Extracted packet for processing {"connection_id":163121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbe"} 
[2026-08-23 14:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647456,"longitude_deg":75.65552,"latitude_deg":11.9647456,"altitude":75,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ace0","is_valid_coordinates":true} 
[2026-08-23 14:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593306368001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15538873849348096,"note":"Value kept but may cause issues"} 
[2026-08-23 14:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097161216,"note":"Value kept but may cause issues"} 
[2026-08-23 14:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787473874000,"timestamp_ms":1787473874000,"timestamp_seconds":1787473874,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbecc50"} 
[2026-08-23 14:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-23 14:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593306368001,"66":12874,"105":206,"83":41984,"24":0,"16":15538873849348096,"45":1737756168097161216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 14:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593306368001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:05:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 14:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15538873849348096,"km_value":15538873849348.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097161216,"description":"Unknown IO ID 45"} 
[2026-08-23 14:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593306368001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097161216}} 
[2026-08-23 14:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":163121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:05:06] local.INFO: GPS data processed {"connection_id":163121,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:05:06] local.INFO: Acknowledgment sent {"connection_id":163121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:05:10] local.INFO: TCP Data received {"connection_id":163120,"ip":"42.109.136.5","data_length":639,"data_hex":"00000000000002738e08000001a02dc09d280100000000000000000000000000..."} 
[2026-08-23 14:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163120,"packet_length":639,"packet_hex":"00000000000002738e08000001a02dc09d280100000000000000000000000000..."} 
[2026-08-23 14:05:10] local.INFO: Processing buffer {"connection_id":163120,"buffer_length":639,"buffer_hex":"00000000000002738e08000001a02dc09d280100000000000000000000000000..."} 
[2026-08-23 14:05:10] local.INFO: Packet analysis {"connection_id":163120,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e08000001a02dc0"} 
[2026-08-23 14:05:10] local.INFO: Extracted packet for processing {"connection_id":163120,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e08000001a02dc0"} 
[2026-08-23 14:05:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-23 14: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":639,"current_offset":40} 
[2026-08-23 14:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122626173908811776,"note":"Value kept but may cause issues"} 
[2026-08-23 14:05:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,117,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 14:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787473993000,"timestamp_ms":1787473993000,"timestamp_seconds":1787473993,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc09d28"} 
[2026-08-23 14:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":48,"n8_eight_byte":184,"data_length":639,"current_offset":136} 
[2026-08-23 14:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:05:10] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163120,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-08-23 14:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":163120,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-23 14:05:10] local.INFO: GPS data processed {"connection_id":163120,"processed":0,"errors":0,"total":1} 
[2026-08-23 14:05:10] local.INFO: Acknowledgment sent {"connection_id":163120,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:05:23] local.INFO: TCP Data received {"connection_id":160776,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:05:23] local.INFO: Processing buffer {"connection_id":160776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:05:23] local.INFO: Packet analysis {"connection_id":160776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc1"} 
[2026-08-23 14:05:23] local.INFO: Extracted packet for processing {"connection_id":160776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc1"} 
[2026-08-23 14:05:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593285632001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787474073000,"timestamp_ms":1787474073000,"timestamp_seconds":1787474073,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc1d5a8"} 
[2026-08-23 14:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 14:05:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:05:23] 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-08-23 14:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593285632001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593285632001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:05:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:05:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593285632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":160776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:05:23] local.INFO: GPS data processed {"connection_id":160776,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:05:23] local.INFO: Acknowledgment sent {"connection_id":160776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:05:29] local.INFO: TCP Data received {"connection_id":160777,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:05:29] local.INFO: Processing buffer {"connection_id":160777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:05:29] local.INFO: IMEI packet received {"connection_id":160777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":160777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:05:35] local.INFO: TCP Data received {"connection_id":160777,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:05:35] local.INFO: Processing buffer {"connection_id":160777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:05:35] local.INFO: IMEI packet received {"connection_id":160777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":160777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:05:36] local.INFO: TCP Data received {"connection_id":160777,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbf1e58012d181dc00721ace0004b013426..."} 
[2026-08-23 14:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbf1e58012d181dc00721ace0004b013426..."} 
[2026-08-23 14:05:36] local.INFO: Processing buffer {"connection_id":160777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbf1e58012d181dc00721ace0004b013426..."} 
[2026-08-23 14:05:36] local.INFO: Packet analysis {"connection_id":160777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbf"} 
[2026-08-23 14:05:36] local.INFO: Extracted packet for processing {"connection_id":160777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbf"} 
[2026-08-23 14:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647456,"longitude_deg":75.65552,"latitude_deg":11.9647456,"altitude":75,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ace0","is_valid_coordinates":true} 
[2026-08-23 14:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593311744001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15538873849348096,"note":"Value kept but may cause issues"} 
[2026-08-23 14:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097161216,"note":"Value kept but may cause issues"} 
[2026-08-23 14:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787473895000,"timestamp_ms":1787473895000,"timestamp_seconds":1787473895,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbf1e58"} 
[2026-08-23 14:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-23 14:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593311744001,"66":12852,"105":206,"83":41984,"24":0,"16":15538873849348096,"45":1737756168097161216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 14:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593311744001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:05:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 14:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15538873849348096,"km_value":15538873849348.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097161216,"description":"Unknown IO ID 45"} 
[2026-08-23 14:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593311744001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097161216}} 
[2026-08-23 14:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":160777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:05:36] local.INFO: GPS data processed {"connection_id":160777,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:05:36] local.INFO: Acknowledgment sent {"connection_id":160777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:05:41] local.INFO: TCP Data received {"connection_id":163120,"ip":"42.109.136.5","data_length":717,"data_hex":"00000000000002c18e09000001a02dc0ef300100000000000000000000000000..."} 
[2026-08-23 14:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163120,"packet_length":717,"packet_hex":"00000000000002c18e09000001a02dc0ef300100000000000000000000000000..."} 
[2026-08-23 14:05:41] local.INFO: Processing buffer {"connection_id":163120,"buffer_length":717,"buffer_hex":"00000000000002c18e09000001a02dc0ef300100000000000000000000000000..."} 
[2026-08-23 14:05:41] local.INFO: Packet analysis {"connection_id":163120,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e09000001a02dc0"} 
[2026-08-23 14:05:41] local.INFO: Extracted packet for processing {"connection_id":163120,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e09000001a02dc0"} 
[2026-08-23 14:05: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-08-23 14: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":717,"current_offset":40} 
[2026-08-23 14:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122626173908811776,"note":"Value kept but may cause issues"} 
[2026-08-23 14:05:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,115,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 14:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787474014000,"timestamp_ms":1787474014000,"timestamp_seconds":1787474014,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc0ef30"} 
[2026-08-23 14:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":50,"n8_eight_byte":215,"data_length":717,"current_offset":136} 
[2026-08-23 14:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:05:41] 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-08-23 14:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:05:41] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163120,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-08-23 14:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":163120,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-23 14:05:41] local.INFO: GPS data processed {"connection_id":163120,"processed":0,"errors":0,"total":1} 
[2026-08-23 14:05:41] local.INFO: Acknowledgment sent {"connection_id":163120,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:05:51] local.INFO: TCP Data received {"connection_id":160535,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:05:51] local.INFO: Processing buffer {"connection_id":160535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:05:51] local.INFO: IMEI packet received {"connection_id":160535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":160535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:05:56] local.INFO: TCP Data received {"connection_id":160535,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:05:56] local.INFO: Processing buffer {"connection_id":160535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:05:56] local.INFO: IMEI packet received {"connection_id":160535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":160535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:05:57] local.INFO: TCP Data received {"connection_id":160535,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:05:57] local.INFO: Processing buffer {"connection_id":160535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:05:57] local.INFO: Packet analysis {"connection_id":160535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc1"} 
[2026-08-23 14:05:57] local.INFO: Extracted packet for processing {"connection_id":160535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc1"} 
[2026-08-23 14:05:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593285632001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787474073000,"timestamp_ms":1787474073000,"timestamp_seconds":1787474073,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc1d5a8"} 
[2026-08-23 14:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 14:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593285632001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593285632001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:05:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:05:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593285632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":160535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:05:57] local.INFO: GPS data processed {"connection_id":160535,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:05:57] local.INFO: Acknowledgment sent {"connection_id":160535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:06:02] local.INFO: TCP Data received {"connection_id":160535,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:06:02] local.INFO: Processing buffer {"connection_id":160535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:06:02] local.INFO: Packet analysis {"connection_id":160535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc1"} 
[2026-08-23 14:06:02] local.INFO: Extracted packet for processing {"connection_id":160535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc1"} 
[2026-08-23 14:06:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593285632001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787474073000,"timestamp_ms":1787474073000,"timestamp_seconds":1787474073,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc1d5a8"} 
[2026-08-23 14:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 14:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593285632001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593285632001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:06:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:06:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593285632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":160535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:06:02] local.INFO: GPS data processed {"connection_id":160535,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:06:02] local.INFO: Acknowledgment sent {"connection_id":160535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:06:03] local.INFO: TCP Data received {"connection_id":161717,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:06:03] local.INFO: Processing buffer {"connection_id":161717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:06:03] local.INFO: IMEI packet received {"connection_id":161717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":161717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:06:07] local.INFO: TCP Data received {"connection_id":160777,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbf7060012d181dc00721ace0004b013426..."} 
[2026-08-23 14:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbf7060012d181dc00721ace0004b013426..."} 
[2026-08-23 14:06:07] local.INFO: Processing buffer {"connection_id":160777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbf7060012d181dc00721ace0004b013426..."} 
[2026-08-23 14:06:07] local.INFO: Packet analysis {"connection_id":160777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbf"} 
[2026-08-23 14:06:07] local.INFO: Extracted packet for processing {"connection_id":160777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbf"} 
[2026-08-23 14:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647456,"longitude_deg":75.65552,"latitude_deg":11.9647456,"altitude":75,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ace0","is_valid_coordinates":true} 
[2026-08-23 14:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593317120001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15538873849348096,"note":"Value kept but may cause issues"} 
[2026-08-23 14:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097161216,"note":"Value kept but may cause issues"} 
[2026-08-23 14:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787473916000,"timestamp_ms":1787473916000,"timestamp_seconds":1787473916,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbf7060"} 
[2026-08-23 14:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-23 14:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593317120001,"66":12841,"105":206,"83":41984,"24":0,"16":15538873849348096,"45":1737756168097161216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 14:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593317120001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:06:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 14:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15538873849348096,"km_value":15538873849348.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097161216,"description":"Unknown IO ID 45"} 
[2026-08-23 14:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593317120001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097161216}} 
[2026-08-23 14:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":160777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:06:07] local.INFO: GPS data processed {"connection_id":160777,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:06:07] local.INFO: Acknowledgment sent {"connection_id":160777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:06:08] local.INFO: TCP Data received {"connection_id":161717,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161717,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:06:08] local.INFO: Processing buffer {"connection_id":161717,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:06:08] local.INFO: IMEI packet received {"connection_id":161717,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":161717,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:06:09] local.INFO: TCP Data received {"connection_id":161717,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc31dc8012d7e59c005d357000009006808..."} 
[2026-08-23 14:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc31dc8012d7e59c005d357000009006808..."} 
[2026-08-23 14:06:09] local.INFO: Processing buffer {"connection_id":161717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc31dc8012d7e59c005d357000009006808..."} 
[2026-08-23 14:06:09] local.INFO: Packet analysis {"connection_id":161717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc3"} 
[2026-08-23 14:06:09] local.INFO: Extracted packet for processing {"connection_id":161717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc3"} 
[2026-08-23 14:06:09] local.INFO: GPS Element Parsed {"raw_longitude":763255232,"raw_latitude":97736448,"longitude_deg":76.3255232,"latitude_deg":9.7736448,"altitude":9,"angle":104,"satellites":8,"speed":1,"hex_longitude":"2d7e59c0","hex_latitude":"05d35700","is_valid_coordinates":true} 
[2026-08-23 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-08-23 14:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593382656001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122626216858484736,"note":"Value kept but may cause issues"} 
[2026-08-23 14:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104519252959219712,"note":"Value kept but may cause issues"} 
[2026-08-23 14:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787474157000,"timestamp_ms":1787474157000,"timestamp_seconds":1787474157,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc31dc8"} 
[2026-08-23 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-08-23 14:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-23 14:06: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-08-23 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-08-23 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-08-23 14:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593382656001,"66":12765,"109":206,"85":15104,"24":1,"16":122626216858484736,"45":9104519252959219712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593382656001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:06:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122626216858484736,"km_value":122626216858484.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104519252959219712,"description":"Unknown IO ID 45"} 
[2026-08-23 14:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593382656001,"power":12765,"unknown_109":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9104519252959219712}} 
[2026-08-23 14:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":161717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:06:09] local.INFO: GPS data processed {"connection_id":161717,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:06:09] local.INFO: Acknowledgment sent {"connection_id":161717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:06:29] local.INFO: TCP Data received {"connection_id":160778,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:06:29] local.INFO: Processing buffer {"connection_id":160778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:06:29] local.INFO: IMEI packet received {"connection_id":160778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":160778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:06:34] local.INFO: TCP Data received {"connection_id":160778,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:06:34] local.INFO: Processing buffer {"connection_id":160778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:06:34] local.INFO: IMEI packet received {"connection_id":160778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":160778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:06:35] local.INFO: TCP Data received {"connection_id":160778,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dbfc268012d181dc00721ace0004b013427..."} 
[2026-08-23 14:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dbfc268012d181dc00721ace0004b013427..."} 
[2026-08-23 14:06:35] local.INFO: Processing buffer {"connection_id":160778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dbfc268012d181dc00721ace0004b013427..."} 
[2026-08-23 14:06:35] local.INFO: Packet analysis {"connection_id":160778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dbf"} 
[2026-08-23 14:06:35] local.INFO: Extracted packet for processing {"connection_id":160778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dbf"} 
[2026-08-23 14:06:35] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647456,"longitude_deg":75.65552,"latitude_deg":11.9647456,"altitude":75,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ace0","is_valid_coordinates":true} 
[2026-08-23 14:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593322496001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15538873849348096,"note":"Value kept but may cause issues"} 
[2026-08-23 14:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097161216,"note":"Value kept but may cause issues"} 
[2026-08-23 14:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787473937000,"timestamp_ms":1787473937000,"timestamp_seconds":1787473937,"priority":1,"record_length":96,"hex_timestamp":"000001a02dbfc268"} 
[2026-08-23 14:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 14:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593322496001,"66":12841,"105":206,"83":41984,"24":0,"16":15538873849348096,"45":1737756168097161216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 14:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593322496001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:06:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 14:06:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15538873849348096,"km_value":15538873849348.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097161216,"description":"Unknown IO ID 45"} 
[2026-08-23 14:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593322496001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097161216}} 
[2026-08-23 14:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":160778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:06:35] local.INFO: GPS data processed {"connection_id":160778,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:06:35] local.INFO: Acknowledgment sent {"connection_id":160778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:06:40] local.INFO: TCP Data received {"connection_id":161717,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc321b0012d7e5a0005d356e80009008308..."} 
[2026-08-23 14:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc321b0012d7e5a0005d356e80009008308..."} 
[2026-08-23 14:06:40] local.INFO: Processing buffer {"connection_id":161717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc321b0012d7e5a0005d356e80009008308..."} 
[2026-08-23 14:06:40] local.INFO: Packet analysis {"connection_id":161717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc3"} 
[2026-08-23 14:06:40] local.INFO: Extracted packet for processing {"connection_id":161717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc3"} 
[2026-08-23 14:06:40] local.INFO: GPS Element Parsed {"raw_longitude":763255296,"raw_latitude":97736424,"longitude_deg":76.3255296,"latitude_deg":9.7736424,"altitude":9,"angle":131,"satellites":8,"speed":2,"hex_longitude":"2d7e5a00","hex_latitude":"05d356e8","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593384192001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122626221153452032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104519252959232000,"note":"Value kept but may cause issues"} 
[2026-08-23 14:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787474158000,"timestamp_ms":1787474158000,"timestamp_seconds":1787474158,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc321b0"} 
[2026-08-23 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-08-23 14:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-23 14:06:40] 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-08-23 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-08-23 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-08-23 14:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161717,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593384192001,"66":12885,"109":206,"85":15104,"24":2,"16":122626221153452032,"45":9104519252959232000},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593384192001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:06:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122626221153452032,"km_value":122626221153452.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104519252959232000,"description":"Unknown IO ID 45"} 
[2026-08-23 14:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593384192001,"power":12885,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9104519252959232000}} 
[2026-08-23 14:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":161717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:06:40] local.INFO: GPS data processed {"connection_id":161717,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:06:40] local.INFO: Acknowledgment sent {"connection_id":161717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:06:46] local.INFO: TCP Data received {"connection_id":163122,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:06:46] local.INFO: Processing buffer {"connection_id":163122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:06:46] local.INFO: IMEI packet received {"connection_id":163122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":163122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:06:51] local.INFO: TCP Data received {"connection_id":163122,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:06:51] local.INFO: Processing buffer {"connection_id":163122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:06:51] local.INFO: IMEI packet received {"connection_id":163122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":163122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:06:52] local.INFO: TCP Data received {"connection_id":163122,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:06:52] local.INFO: Processing buffer {"connection_id":163122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:06:52] local.INFO: Packet analysis {"connection_id":163122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc1"} 
[2026-08-23 14:06:52] local.INFO: Extracted packet for processing {"connection_id":163122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc1"} 
[2026-08-23 14:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:06: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-08-23 14:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593285632001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787474073000,"timestamp_ms":1787474073000,"timestamp_seconds":1787474073,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc1d5a8"} 
[2026-08-23 14:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 14:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:06: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-08-23 14:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:06:52] 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-08-23 14:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593285632001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593285632001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:06:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593285632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":163122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:06:52] local.INFO: GPS data processed {"connection_id":163122,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:06:52] local.INFO: Acknowledgment sent {"connection_id":163122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:07:06] local.INFO: TCP Data received {"connection_id":160778,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc01470012d181dc00721ace0004b013427..."} 
[2026-08-23 14:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc01470012d181dc00721ace0004b013427..."} 
[2026-08-23 14:07:06] local.INFO: Processing buffer {"connection_id":160778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc01470012d181dc00721ace0004b013427..."} 
[2026-08-23 14:07:06] local.INFO: Packet analysis {"connection_id":160778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc0"} 
[2026-08-23 14:07:06] local.INFO: Extracted packet for processing {"connection_id":160778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc0"} 
[2026-08-23 14:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647456,"longitude_deg":75.65552,"latitude_deg":11.9647456,"altitude":75,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ace0","is_valid_coordinates":true} 
[2026-08-23 14:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593327872001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15538873849348096,"note":"Value kept but may cause issues"} 
[2026-08-23 14:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097161216,"note":"Value kept but may cause issues"} 
[2026-08-23 14:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787473958000,"timestamp_ms":1787473958000,"timestamp_seconds":1787473958,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc01470"} 
[2026-08-23 14:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 14:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593327872001,"66":12765,"105":206,"83":41984,"24":0,"16":15538873849348096,"45":1737756168097161216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 14:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593327872001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:07:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 14:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15538873849348096,"km_value":15538873849348.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097161216,"description":"Unknown IO ID 45"} 
[2026-08-23 14:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593327872001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097161216}} 
[2026-08-23 14:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":160778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:07:06] local.INFO: GPS data processed {"connection_id":160778,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:07:06] local.INFO: Acknowledgment sent {"connection_id":160778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:07:08] local.INFO: TCP Data received {"connection_id":160779,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:07:08] local.INFO: Processing buffer {"connection_id":160779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:07:08] local.INFO: IMEI packet received {"connection_id":160779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":160779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:07:13] local.INFO: TCP Data received {"connection_id":160779,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:07:13] local.INFO: Processing buffer {"connection_id":160779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:07:13] local.INFO: IMEI packet received {"connection_id":160779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":160779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:07:14] local.INFO: TCP Data received {"connection_id":160779,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc3ecd0012d7e4c0005d3a190000901370b..."} 
[2026-08-23 14:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc3ecd0012d7e4c0005d3a190000901370b..."} 
[2026-08-23 14:07:14] local.INFO: Processing buffer {"connection_id":160779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc3ecd0012d7e4c0005d3a190000901370b..."} 
[2026-08-23 14:07:14] local.INFO: Packet analysis {"connection_id":160779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc3"} 
[2026-08-23 14:07:14] local.INFO: Extracted packet for processing {"connection_id":160779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc3"} 
[2026-08-23 14:07:14] local.INFO: GPS Element Parsed {"raw_longitude":763251712,"raw_latitude":97755536,"longitude_deg":76.3251712,"latitude_deg":9.7755536,"altitude":9,"angle":311,"satellites":11,"speed":11,"hex_longitude":"2d7e4c00","hex_latitude":"05d3a190","is_valid_coordinates":true} 
[2026-08-23 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-08-23 14:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593396224001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122627221880832000,"note":"Value kept but may cause issues"} 
[2026-08-23 14:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101845240684640256,"note":"Value kept but may cause issues"} 
[2026-08-23 14:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787474210000,"timestamp_ms":1787474210000,"timestamp_seconds":1787474210,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc3ecd0"} 
[2026-08-23 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-08-23 14:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 14:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 14:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593396224001,"66":12863,"109":206,"85":15104,"24":11,"16":122627221880832000,"45":9101845240684640256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593396224001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:07:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:07:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122627221880832000,"km_value":122627221880832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101845240684640256,"description":"Unknown IO ID 45"} 
[2026-08-23 14:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593396224001,"power":12863,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9101845240684640256}} 
[2026-08-23 14:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":160779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:07:14] local.INFO: GPS data processed {"connection_id":160779,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:07:14] local.INFO: Acknowledgment sent {"connection_id":160779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:07:26] local.INFO: TCP Data received {"connection_id":163122,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:07:26] local.INFO: Processing buffer {"connection_id":163122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:07:26] local.INFO: Packet analysis {"connection_id":163122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc1"} 
[2026-08-23 14:07:26] local.INFO: Extracted packet for processing {"connection_id":163122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc1"} 
[2026-08-23 14:07:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593285632001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787474073000,"timestamp_ms":1787474073000,"timestamp_seconds":1787474073,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc1d5a8"} 
[2026-08-23 14:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:07: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-08-23 14:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 14:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":163122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":163122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":163122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:07:26] 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-08-23 14:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593285632001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593285632001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:07:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:07:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593285632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":163122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:07:26] local.INFO: GPS data processed {"connection_id":163122,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:07:26] local.INFO: Acknowledgment sent {"connection_id":163122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:07:29] local.INFO: TCP Data received {"connection_id":161718,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:07:29] local.INFO: Processing buffer {"connection_id":161718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:07:29] local.INFO: IMEI packet received {"connection_id":161718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":161718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:07:34] local.INFO: TCP Data received {"connection_id":161718,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:07:34] local.INFO: Processing buffer {"connection_id":161718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:07:34] local.INFO: IMEI packet received {"connection_id":161718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":161718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:07:35] local.INFO: TCP Data received {"connection_id":161718,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc392f8012d181b800721abb0004b00d725..."} 
[2026-08-23 14:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc392f8012d181b800721abb0004b00d725..."} 
[2026-08-23 14:07:35] local.INFO: Processing buffer {"connection_id":161718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc392f8012d181b800721abb0004b00d725..."} 
[2026-08-23 14:07:35] local.INFO: Packet analysis {"connection_id":161718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc3"} 
[2026-08-23 14:07:35] local.INFO: Extracted packet for processing {"connection_id":161718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc3"} 
[2026-08-23 14:07:35] local.INFO: GPS Element Parsed {"raw_longitude":756554624,"raw_latitude":119647152,"longitude_deg":75.6554624,"latitude_deg":11.9647152,"altitude":75,"angle":215,"satellites":37,"speed":7,"hex_longitude":"2d181b80","hex_latitude":"0721abb0","is_valid_coordinates":true} 
[2026-08-23 14:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593387008001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15538903914119168,"note":"Value kept but may cause issues"} 
[2026-08-23 14:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097161216,"note":"Value kept but may cause issues"} 
[2026-08-23 14:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787474187000,"timestamp_ms":1787474187000,"timestamp_seconds":1787474187,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc392f8"} 
[2026-08-23 14:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-23 14:07:35] 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-08-23 14:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593387008001,"66":13928,"105":206,"83":41984,"24":7,"16":15538903914119168,"45":1737756168097161216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 14:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593387008001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:07:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 14:07:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15538903914119168,"km_value":15538903914119.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097161216,"description":"Unknown IO ID 45"} 
[2026-08-23 14:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593387008001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737756168097161216}} 
[2026-08-23 14:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":161718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:07:35] local.INFO: GPS data processed {"connection_id":161718,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:07:35] local.INFO: Acknowledgment sent {"connection_id":161718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:07:44] local.INFO: TCP Data received {"connection_id":160779,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc3f0b8012d7e4ac005d3a2a8000a01270b..."} 
[2026-08-23 14:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc3f0b8012d7e4ac005d3a2a8000a01270b..."} 
[2026-08-23 14:07:44] local.INFO: Processing buffer {"connection_id":160779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc3f0b8012d7e4ac005d3a2a8000a01270b..."} 
[2026-08-23 14:07:44] local.INFO: Packet analysis {"connection_id":160779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc3"} 
[2026-08-23 14:07:44] local.INFO: Extracted packet for processing {"connection_id":160779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc3"} 
[2026-08-23 14:07:44] local.INFO: GPS Element Parsed {"raw_longitude":763251392,"raw_latitude":97755816,"longitude_deg":76.3251392,"latitude_deg":9.7755816,"altitude":10,"angle":295,"satellites":11,"speed":8,"hex_longitude":"2d7e4ac0","hex_latitude":"05d3a2a8","is_valid_coordinates":true} 
[2026-08-23 14:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593397760001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122627239060701184,"note":"Value kept but may cause issues"} 
[2026-08-23 14:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100648972034347008,"note":"Value kept but may cause issues"} 
[2026-08-23 14:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787474211000,"timestamp_ms":1787474211000,"timestamp_seconds":1787474211,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc3f0b8"} 
[2026-08-23 14:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 14:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593397760001,"66":12982,"109":206,"85":15104,"24":8,"16":122627239060701184,"45":9100648972034347008},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593397760001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:07:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:07:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122627239060701184,"km_value":122627239060701.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100648972034347008,"description":"Unknown IO ID 45"} 
[2026-08-23 14:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593397760001,"power":12982,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9100648972034347008}} 
[2026-08-23 14:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":160779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686822,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:07:44] local.INFO: GPS data processed {"connection_id":160779,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:07:44] local.INFO: Acknowledgment sent {"connection_id":160779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:07:46] local.INFO: TCP Data received {"connection_id":161719,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:07:46] local.INFO: Processing buffer {"connection_id":161719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:07:46] local.INFO: IMEI packet received {"connection_id":161719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":161719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:07:51] local.INFO: TCP Data received {"connection_id":161719,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:07:51] local.INFO: Processing buffer {"connection_id":161719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:07:51] local.INFO: IMEI packet received {"connection_id":161719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":161719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:07:52] local.INFO: TCP Data received {"connection_id":161719,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:07:52] local.INFO: Processing buffer {"connection_id":161719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:07:52] local.INFO: Packet analysis {"connection_id":161719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc1"} 
[2026-08-23 14:07:52] local.INFO: Extracted packet for processing {"connection_id":161719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc1"} 
[2026-08-23 14:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593285632001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787474073000,"timestamp_ms":1787474073000,"timestamp_seconds":1787474073,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc1d5a8"} 
[2026-08-23 14:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 14:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:07:52] 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-08-23 14:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593285632001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593285632001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:07:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593285632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":161719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:07:52] local.INFO: GPS data processed {"connection_id":161719,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:07:52] local.INFO: Acknowledgment sent {"connection_id":161719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:08:01] local.INFO: TCP Data received {"connection_id":160780,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:08:01] local.INFO: Processing buffer {"connection_id":160780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:08:01] local.INFO: IMEI packet received {"connection_id":160780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":160780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:08:03] local.INFO: TCP Data received {"connection_id":160780,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:08:03] local.INFO: Processing buffer {"connection_id":160780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:08:03] local.INFO: IMEI packet received {"connection_id":160780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":160780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:08:05] local.INFO: TCP Data received {"connection_id":160780,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:08:05] local.INFO: Processing buffer {"connection_id":160780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:08:05] local.INFO: IMEI packet received {"connection_id":160780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":160780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:08:05] local.INFO: TCP Data received {"connection_id":160780,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc4f288012d7e198005d3a9800000010f0d..."} 
[2026-08-23 14:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc4f288012d7e198005d3a9800000010f0d..."} 
[2026-08-23 14:08:05] local.INFO: Processing buffer {"connection_id":160780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc4f288012d7e198005d3a9800000010f0d..."} 
[2026-08-23 14:08:05] local.INFO: Packet analysis {"connection_id":160780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc4"} 
[2026-08-23 14:08:05] local.INFO: Extracted packet for processing {"connection_id":160780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc4"} 
[2026-08-23 14:08:05] local.INFO: GPS Element Parsed {"raw_longitude":763238784,"raw_latitude":97757568,"longitude_deg":76.3238784,"latitude_deg":9.7757568,"altitude":0,"angle":271,"satellites":13,"speed":12,"hex_longitude":"2d7e1980","hex_latitude":"05d3a980","is_valid_coordinates":true} 
[2026-08-23 14:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593414400001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122627896190697472,"note":"Value kept but may cause issues"} 
[2026-08-23 14:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087067804408565760,"note":"Value kept but may cause issues"} 
[2026-08-23 14:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787474277000,"timestamp_ms":1787474277000,"timestamp_seconds":1787474277,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc4f288"} 
[2026-08-23 14:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:08:05] 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-08-23 14:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 14:08: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-08-23 14:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593414400001,"66":12863,"109":206,"85":15104,"24":12,"16":122627896190697472,"45":9087067804408565760},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593414400001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:08:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:08:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122627896190697472,"km_value":122627896190697.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087067804408565760,"description":"Unknown IO ID 45"} 
[2026-08-23 14:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593414400001,"power":12863,"unknown_109":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9087067804408565760}} 
[2026-08-23 14:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":160780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:08:05] local.INFO: GPS data processed {"connection_id":160780,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:08:05] local.INFO: Acknowledgment sent {"connection_id":160780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:08:06] local.INFO: TCP Data received {"connection_id":161718,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc3ba08012d1816c00721a3c0004b00cb25..."} 
[2026-08-23 14:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc3ba08012d1816c00721a3c0004b00cb25..."} 
[2026-08-23 14:08:06] local.INFO: Processing buffer {"connection_id":161718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc3ba08012d1816c00721a3c0004b00cb25..."} 
[2026-08-23 14:08:06] local.INFO: Packet analysis {"connection_id":161718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc3"} 
[2026-08-23 14:08:06] local.INFO: Extracted packet for processing {"connection_id":161718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc3"} 
[2026-08-23 14:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756553408,"raw_latitude":119645120,"longitude_deg":75.6553408,"latitude_deg":11.964512,"altitude":75,"angle":203,"satellites":37,"speed":7,"hex_longitude":"2d1816c0","hex_latitude":"0721a3c0","is_valid_coordinates":true} 
[2026-08-23 14:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593391872001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15539019878236160,"note":"Value kept but may cause issues"} 
[2026-08-23 14:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737122849399484416,"note":"Value kept but may cause issues"} 
[2026-08-23 14:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787474197000,"timestamp_ms":1787474197000,"timestamp_seconds":1787474197,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc3ba08"} 
[2026-08-23 14:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 14:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593391872001,"66":14233,"105":206,"83":41984,"24":7,"16":15539019878236160,"45":1737122849399484416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 14:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593391872001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:08:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 14:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15539019878236160,"km_value":15539019878236.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737122849399484416,"description":"Unknown IO ID 45"} 
[2026-08-23 14:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593391872001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737122849399484416}} 
[2026-08-23 14:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":161718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:08:06] local.INFO: GPS data processed {"connection_id":161718,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:08:06] local.INFO: Acknowledgment sent {"connection_id":161718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:08:23] local.INFO: TCP Data received {"connection_id":161719,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:08:23] local.INFO: Processing buffer {"connection_id":161719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:08:23] local.INFO: Packet analysis {"connection_id":161719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc1"} 
[2026-08-23 14:08:23] local.INFO: Extracted packet for processing {"connection_id":161719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc1"} 
[2026-08-23 14:08:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593285632001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787474073000,"timestamp_ms":1787474073000,"timestamp_seconds":1787474073,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc1d5a8"} 
[2026-08-23 14:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 14:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:08:23] 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-08-23 14:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593285632001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593285632001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:08:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:08:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593285632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":161719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:08:23] local.INFO: GPS data processed {"connection_id":161719,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:08:23] local.INFO: Acknowledgment sent {"connection_id":161719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:08:34] local.INFO: TCP Data received {"connection_id":160781,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:08:34] local.INFO: Processing buffer {"connection_id":160781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:08:34] local.INFO: IMEI packet received {"connection_id":160781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":160781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:08:34] local.INFO: TCP Data received {"connection_id":160781,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:08:34] local.INFO: Processing buffer {"connection_id":160781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:08:34] local.INFO: IMEI packet received {"connection_id":160781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":160781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:08:36] local.INFO: TCP Data received {"connection_id":160780,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc4fa58012d7e16c005d3a928000000ff0d..."} 
[2026-08-23 14:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc4fa58012d7e16c005d3a928000000ff0d..."} 
[2026-08-23 14:08:36] local.INFO: Processing buffer {"connection_id":160780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc4fa58012d7e16c005d3a928000000ff0d..."} 
[2026-08-23 14:08:36] local.INFO: Packet analysis {"connection_id":160780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc4"} 
[2026-08-23 14:08:36] local.INFO: Extracted packet for processing {"connection_id":160780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc4"} 
[2026-08-23 14:08:36] local.INFO: GPS Element Parsed {"raw_longitude":763238080,"raw_latitude":97757480,"longitude_deg":76.323808,"latitude_deg":9.775748,"altitude":0,"angle":255,"satellites":13,"speed":11,"hex_longitude":"2d7e16c0","hex_latitude":"05d3a928","is_valid_coordinates":true} 
[2026-08-23 14:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593414912001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122627930550435840,"note":"Value kept but may cause issues"} 
[2026-08-23 14:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086434485710979072,"note":"Value kept but may cause issues"} 
[2026-08-23 14:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787474279000,"timestamp_ms":1787474279000,"timestamp_seconds":1787474279,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc4fa58"} 
[2026-08-23 14:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 14:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593414912001,"66":12874,"109":206,"85":15104,"24":11,"16":122627930550435840,"45":9086434485710979072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593414912001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:08:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:08:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122627930550435840,"km_value":122627930550435.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086434485710979072,"description":"Unknown IO ID 45"} 
[2026-08-23 14:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593414912001,"power":12874,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9086434485710979072}} 
[2026-08-23 14:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":160780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:08:36] local.INFO: GPS data processed {"connection_id":160780,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:08:36] local.INFO: Acknowledgment sent {"connection_id":160780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:08:39] local.INFO: TCP Data received {"connection_id":160781,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:08:39] local.INFO: Processing buffer {"connection_id":160781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:08:39] local.INFO: IMEI packet received {"connection_id":160781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":160781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:08:40] local.INFO: TCP Data received {"connection_id":160781,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc47d58012d180ec0072185e0004600a926..."} 
[2026-08-23 14:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc47d58012d180ec0072185e0004600a926..."} 
[2026-08-23 14:08:40] local.INFO: Processing buffer {"connection_id":160781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc47d58012d180ec0072185e0004600a926..."} 
[2026-08-23 14:08:40] local.INFO: Packet analysis {"connection_id":160781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc4"} 
[2026-08-23 14:08:40] local.INFO: Extracted packet for processing {"connection_id":160781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc4"} 
[2026-08-23 14:08:40] local.INFO: GPS Element Parsed {"raw_longitude":756551360,"raw_latitude":119637472,"longitude_deg":75.655136,"latitude_deg":11.9637472,"altitude":70,"angle":169,"satellites":38,"speed":15,"hex_longitude":"2d180ec0","hex_latitude":"072185e0","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593406976001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15539449374965760,"note":"Value kept but may cause issues"} 
[2026-08-23 14:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733463674699862016,"note":"Value kept but may cause issues"} 
[2026-08-23 14:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787474247000,"timestamp_ms":1787474247000,"timestamp_seconds":1787474247,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc47d58"} 
[2026-08-23 14:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 14:08:40] 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-08-23 14: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-08-23 14:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593406976001,"66":14265,"107":206,"83":41984,"24":15,"16":15539449374965760,"45":1733463674699862016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 14:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593406976001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:08:40] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 14:08:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15539449374965760,"km_value":15539449374965.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733463674699862016,"description":"Unknown IO ID 45"} 
[2026-08-23 14:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593406976001,"power":14265,"unknown_107":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1733463674699862016}} 
[2026-08-23 14:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":160781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:08:40] local.INFO: GPS data processed {"connection_id":160781,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:08:40] local.INFO: Acknowledgment sent {"connection_id":160781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:08:56] local.INFO: TCP Data received {"connection_id":161720,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:08:56] local.INFO: Processing buffer {"connection_id":161720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:08:56] local.INFO: IMEI packet received {"connection_id":161720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":161720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:09:01] local.INFO: TCP Data received {"connection_id":161720,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:09:01] local.INFO: Processing buffer {"connection_id":161720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:09:01] local.INFO: IMEI packet received {"connection_id":161720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":161720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:09:01] local.INFO: TCP Data received {"connection_id":161720,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:09:01] local.INFO: Processing buffer {"connection_id":161720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:09:01] local.INFO: Packet analysis {"connection_id":161720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc1"} 
[2026-08-23 14:09:01] local.INFO: Extracted packet for processing {"connection_id":161720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc1"} 
[2026-08-23 14:09:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593285632001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787474073000,"timestamp_ms":1787474073000,"timestamp_seconds":1787474073,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc1d5a8"} 
[2026-08-23 14:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 14:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593285632001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593285632001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:09:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:09:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593285632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":161720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:09:01] local.INFO: GPS data processed {"connection_id":161720,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:09:01] local.INFO: Acknowledgment sent {"connection_id":161720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:09:03] local.INFO: TCP Data received {"connection_id":163123,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:09:03] local.INFO: Processing buffer {"connection_id":163123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:09:03] local.INFO: IMEI packet received {"connection_id":163123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":163123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:09:05] local.INFO: TCP Data received {"connection_id":163123,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:09:05] local.INFO: Processing buffer {"connection_id":163123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:09:05] local.INFO: IMEI packet received {"connection_id":163123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":163123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:09:05] local.INFO: TCP Data received {"connection_id":163123,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc55048012d7e160005d3b9480000015d0d..."} 
[2026-08-23 14:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc55048012d7e160005d3b9480000015d0d..."} 
[2026-08-23 14:09:05] local.INFO: Processing buffer {"connection_id":163123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc55048012d7e160005d3b9480000015d0d..."} 
[2026-08-23 14:09:05] local.INFO: Packet analysis {"connection_id":163123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc5"} 
[2026-08-23 14:09:05] local.INFO: Extracted packet for processing {"connection_id":163123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc5"} 
[2026-08-23 14:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763237888,"raw_latitude":97761608,"longitude_deg":76.3237888,"latitude_deg":9.7761608,"altitude":0,"angle":349,"satellites":13,"speed":13,"hex_longitude":"2d7e1600","hex_latitude":"05d3b948","is_valid_coordinates":true} 
[2026-08-23 14:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593420800001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628222608211968,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085449323293435904,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787474301000,"timestamp_ms":1787474301000,"timestamp_seconds":1787474301,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc55048"} 
[2026-08-23 14:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:09:05] 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-08-23 14:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-23 14:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160445947213,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:05] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58077557095399435,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:05] local.WARNING: Large IO value detected {"io_id":169,"raw_value":2818572288,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:05] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3026714624,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-23 14:09:05] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4026609022,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:05] local.WARNING: Large IO value detected {"io_id":17,"raw_value":3221607347,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:05] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2845900800,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3551707136,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,109,85,24,241,157,16,169,160,72,45,192,182,13,10,66,68,64,181,60,128,1,240,139,227,211,4,113,205,52,17,239,50,2,179,5,11],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-08-23 14:09:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6652905127936,"timestamp_seconds":6652905127.936,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 14:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593420800001,"66":13254,"109":206,"85":15104,"24":13,"16":122628222608211968,"45":9085449323293435904},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593420800001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:09:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:09:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628222608211968,"km_value":122628222608211.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085449323293435904,"description":"Unknown IO ID 45"} 
[2026-08-23 14:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593420800001,"power":13254,"unknown_109":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9085449323293435904}} 
[2026-08-23 14:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":163123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:09:05] local.INFO: GPS data processed {"connection_id":163123,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:09:05] local.INFO: Acknowledgment sent {"connection_id":163123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:09:11] local.INFO: TCP Data received {"connection_id":160781,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc534f0012d182b00072156e8004700a626..."} 
[2026-08-23 14:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc534f0012d182b00072156e8004700a626..."} 
[2026-08-23 14:09:11] local.INFO: Processing buffer {"connection_id":160781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc534f0012d182b00072156e8004700a626..."} 
[2026-08-23 14:09:11] local.INFO: Packet analysis {"connection_id":160781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc5"} 
[2026-08-23 14:09:11] local.INFO: Extracted packet for processing {"connection_id":160781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc5"} 
[2026-08-23 14:09:11] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119625448,"longitude_deg":75.6558592,"latitude_deg":11.9625448,"altitude":71,"angle":166,"satellites":38,"speed":15,"hex_longitude":"2d182b00","hex_latitude":"072156e8","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593419008001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15540256828817408,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342788864000,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787474294000,"timestamp_ms":1787474294000,"timestamp_seconds":1787474294,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc534f0"} 
[2026-08-23 14:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:09: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-08-23 14: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-23 14:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593419008001,"66":14483,"107":206,"83":41984,"24":15,"16":15540256828817408,"45":1741415342788864000},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 14:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593419008001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:09:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 14:09:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15540256828817408,"km_value":15540256828817.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342788864000,"description":"Unknown IO ID 45"} 
[2026-08-23 14:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593419008001,"power":14483,"unknown_107":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1741415342788864000}} 
[2026-08-23 14:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":160781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:09:11] local.INFO: GPS data processed {"connection_id":160781,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:09:11] local.INFO: Acknowledgment sent {"connection_id":160781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:09:28] local.INFO: TCP Data received {"connection_id":160536,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:09:28] local.INFO: Processing buffer {"connection_id":160536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:09:28] local.INFO: IMEI packet received {"connection_id":160536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":160536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:09:29] local.INFO: TCP Data received {"connection_id":160536,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:09:29] local.INFO: Processing buffer {"connection_id":160536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:09:29] local.INFO: IMEI packet received {"connection_id":160536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":160536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:09:30] local.INFO: TCP Data received {"connection_id":160536,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:09:30] local.INFO: Processing buffer {"connection_id":160536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:09:30] local.INFO: IMEI packet received {"connection_id":160536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":160536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:09:30] local.INFO: TCP Data received {"connection_id":160536,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:09:30] local.INFO: Processing buffer {"connection_id":160536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:09:30] local.INFO: IMEI packet received {"connection_id":160536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":160536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:09:31] local.INFO: TCP Data received {"connection_id":160536,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc53cc0012d182b4007215360004600b126..."} 
[2026-08-23 14:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc53cc0012d182b4007215360004600b126..."} 
[2026-08-23 14:09:31] local.INFO: Processing buffer {"connection_id":160536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc53cc0012d182b4007215360004600b126..."} 
[2026-08-23 14:09:31] local.INFO: Packet analysis {"connection_id":160536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc5"} 
[2026-08-23 14:09:31] local.INFO: Extracted packet for processing {"connection_id":160536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc5"} 
[2026-08-23 14:09:31] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119624544,"longitude_deg":75.6558656,"latitude_deg":11.9624544,"altitude":70,"angle":177,"satellites":38,"speed":18,"hex_longitude":"2d182b40","hex_latitude":"07215360","is_valid_coordinates":true} 
[2026-08-23 14:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593419264001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15540299778490368,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711532943360,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787474296000,"timestamp_ms":1787474296000,"timestamp_seconds":1787474296,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc53cc0"} 
[2026-08-23 14:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:09: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-08-23 14:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-23 14:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593419264001,"66":14483,"107":206,"83":41984,"24":18,"16":15540299778490368,"45":1741485711532943360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 14:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593419264001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:09:31] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 14:09:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15540299778490368,"km_value":15540299778490.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711532943360,"description":"Unknown IO ID 45"} 
[2026-08-23 14:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593419264001,"power":14483,"unknown_107":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1741485711532943360}} 
[2026-08-23 14:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":160536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:09:31] local.INFO: GPS data processed {"connection_id":160536,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:09:31] local.INFO: Acknowledgment sent {"connection_id":160536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:09:36] local.INFO: TCP Data received {"connection_id":163123,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc5a250012d7e168005d3c008000001660d..."} 
[2026-08-23 14:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc5a250012d7e168005d3c008000001660d..."} 
[2026-08-23 14:09:36] local.INFO: Processing buffer {"connection_id":163123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc5a250012d7e168005d3c008000001660d..."} 
[2026-08-23 14:09:36] local.INFO: Packet analysis {"connection_id":163123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc5"} 
[2026-08-23 14:09:36] local.INFO: Extracted packet for processing {"connection_id":163123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc5"} 
[2026-08-23 14:09:36] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763336,"longitude_deg":76.3238016,"latitude_deg":9.7763336,"altitude":0,"angle":358,"satellites":13,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3c008","is_valid_coordinates":true} 
[2026-08-23 14:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593421056001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628325687427072,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085449323293526016,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787474322000,"timestamp_ms":1787474322000,"timestamp_seconds":1787474322,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc5a250"} 
[2026-08-23 14:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-23 14:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593421056001,"66":12982,"109":206,"85":15104,"24":0,"16":122628325687427072,"45":9085449323293526016},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593421056001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:09:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:09:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628325687427072,"km_value":122628325687427.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085449323293526016,"description":"Unknown IO ID 45"} 
[2026-08-23 14:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593421056001,"power":12982,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085449323293526016}} 
[2026-08-23 14:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":163123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:09:36] local.INFO: GPS data processed {"connection_id":163123,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:09:36] local.INFO: Acknowledgment sent {"connection_id":163123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:09:46] local.INFO: TCP Data received {"connection_id":160782,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:09:46] local.INFO: Processing buffer {"connection_id":160782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:09:46] local.INFO: IMEI packet received {"connection_id":160782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":160782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:09:51] local.INFO: TCP Data received {"connection_id":160782,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:09:51] local.INFO: Processing buffer {"connection_id":160782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:09:51] local.INFO: IMEI packet received {"connection_id":160782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":160782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:09:52] local.INFO: TCP Data received {"connection_id":160782,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:09:52] local.INFO: Processing buffer {"connection_id":160782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc1d5a8012d34c50006aa4098000e008526..."} 
[2026-08-23 14:09:52] local.INFO: Packet analysis {"connection_id":160782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc1"} 
[2026-08-23 14:09:52] local.INFO: Extracted packet for processing {"connection_id":160782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc1"} 
[2026-08-23 14:09:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:09: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-08-23 14:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593285632001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787474073000,"timestamp_ms":1787474073000,"timestamp_seconds":1787474073,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc1d5a8"} 
[2026-08-23 14:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 14:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:09: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-08-23 14:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593285632001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593285632001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:09:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:09:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593285632001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":160782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:09:52] local.INFO: GPS data processed {"connection_id":160782,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:09:52] local.INFO: Acknowledgment sent {"connection_id":160782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:10:02] local.INFO: TCP Data received {"connection_id":160536,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc60fb0012d185900072105a80037006e24..."} 
[2026-08-23 14:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc60fb0012d185900072105a80037006e24..."} 
[2026-08-23 14:10:02] local.INFO: Processing buffer {"connection_id":160536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc60fb0012d185900072105a80037006e24..."} 
[2026-08-23 14:10:02] local.INFO: Packet analysis {"connection_id":160536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:10:02] local.INFO: Extracted packet for processing {"connection_id":160536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:10:02] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119604648,"longitude_deg":75.6570368,"latitude_deg":11.9604648,"altitude":55,"angle":110,"satellites":36,"speed":19,"hex_longitude":"2d185900","hex_latitude":"072105a8","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593433344001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15541708527763456,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753940979247097856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787474350000,"timestamp_ms":1787474350000,"timestamp_seconds":1787474350,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc60fb0"} 
[2026-08-23 14:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-23 14:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:02] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951466,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-23 14:10:02] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221692677,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:02] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,106,83,24,241,157,16,55,160,236,45,192,1,52,36,10,66,54,232,228,128,240,92,227,33,4,113,205,22,209,57,224,239,2,7,15],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-23 14:10:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963265678946074624,"timestamp_seconds":3963265678946074.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 14:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593433344001,"66":13319,"106":206,"83":41984,"24":19,"16":15541708527763456,"45":1753940979247097856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 14:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593433344001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:10:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 14:10:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15541708527763456,"km_value":15541708527763.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753940979247097856,"description":"Unknown IO ID 45"} 
[2026-08-23 14:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593433344001,"power":13319,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1753940979247097856}} 
[2026-08-23 14:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":160536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:10:02] local.INFO: GPS data processed {"connection_id":160536,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:10:02] local.INFO: Acknowledgment sent {"connection_id":160536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:10:03] local.INFO: TCP Data received {"connection_id":161721,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:10:03] local.INFO: Processing buffer {"connection_id":161721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:10:03] local.INFO: IMEI packet received {"connection_id":161721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":161721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:10:05] local.INFO: TCP Data received {"connection_id":161721,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:10:05] local.INFO: Processing buffer {"connection_id":161721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:10:05] local.INFO: IMEI packet received {"connection_id":161721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":161721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:10:08] local.INFO: TCP Data received {"connection_id":161721,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:10:08] local.INFO: Processing buffer {"connection_id":161721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:10:08] local.INFO: IMEI packet received {"connection_id":161721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":161721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:10:09] local.INFO: TCP Data received {"connection_id":161721,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc5f458012d7e168005d3c008000001660d..."} 
[2026-08-23 14:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc5f458012d7e168005d3c008000001660d..."} 
[2026-08-23 14:10:09] local.INFO: Processing buffer {"connection_id":161721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc5f458012d7e168005d3c008000001660d..."} 
[2026-08-23 14:10:09] local.INFO: Packet analysis {"connection_id":161721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc5"} 
[2026-08-23 14:10:09] local.INFO: Extracted packet for processing {"connection_id":161721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc5"} 
[2026-08-23 14:10:09] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763336,"longitude_deg":76.3238016,"latitude_deg":9.7763336,"altitude":0,"angle":358,"satellites":13,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3c008","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593426432001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628325687427072,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782323712,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10: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-08-23 14:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787474343000,"timestamp_ms":1787474343000,"timestamp_seconds":1787474343,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc5f458"} 
[2026-08-23 14:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 14:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593426432001,"66":12863,"81":206,"85":15104,"24":0,"16":122628325687427072,"45":9085590060782323712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 14:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593426432001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 14:10:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628325687427072,"km_value":122628325687427.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782323712,"description":"Unknown IO ID 45"} 
[2026-08-23 14:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593426432001,"power":12863,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782323712}} 
[2026-08-23 14:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":161721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:10:09] local.INFO: GPS data processed {"connection_id":161721,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:10:09] local.INFO: Acknowledgment sent {"connection_id":161721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:10:14] local.INFO: TCP Data received {"connection_id":161721,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc64660012d7e168005d3c008000001660f..."} 
[2026-08-23 14:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc64660012d7e168005d3c008000001660f..."} 
[2026-08-23 14:10:14] local.INFO: Processing buffer {"connection_id":161721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc64660012d7e168005d3c008000001660f..."} 
[2026-08-23 14:10:14] local.INFO: Packet analysis {"connection_id":161721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:10:14] local.INFO: Extracted packet for processing {"connection_id":161721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:10:14] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97763336,"longitude_deg":76.3238016,"latitude_deg":9.7763336,"altitude":0,"angle":358,"satellites":15,"speed":0,"hex_longitude":"2d7e1680","hex_latitude":"05d3c008","is_valid_coordinates":true} 
[2026-08-23 14:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593431808001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628325687427072,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782323712,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:14] 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-08-23 14:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787474364000,"timestamp_ms":1787474364000,"timestamp_seconds":1787474364,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc64660"} 
[2026-08-23 14:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 14:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593431808001,"66":12982,"81":206,"85":15104,"24":0,"16":122628325687427072,"45":9085590060782323712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 14:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593431808001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:10:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 14:10:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628325687427072,"km_value":122628325687427.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782323712,"description":"Unknown IO ID 45"} 
[2026-08-23 14:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593431808001,"power":12982,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085590060782323712}} 
[2026-08-23 14:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":161721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:10:14] local.INFO: GPS data processed {"connection_id":161721,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:10:14] local.INFO: Acknowledgment sent {"connection_id":161721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:10:23] local.INFO: TCP Data received {"connection_id":160782,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:10:23] local.INFO: Processing buffer {"connection_id":160782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:10:23] local.INFO: Packet analysis {"connection_id":160782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:10:23] local.INFO: Extracted packet for processing {"connection_id":160782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:10:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593362688001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787474374000,"timestamp_ms":1787474374000,"timestamp_seconds":1787474374,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc66d70"} 
[2026-08-23 14:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:10:23] 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-08-23 14: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-08-23 14:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593362688001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593362688001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:10:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:10:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593362688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":160782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:10:24] local.INFO: GPS data processed {"connection_id":160782,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:10:24] local.INFO: Acknowledgment sent {"connection_id":160782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:10:29] local.INFO: TCP Data received {"connection_id":160537,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:10:29] local.INFO: Processing buffer {"connection_id":160537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:10:29] local.INFO: IMEI packet received {"connection_id":160537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":160537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:10:30] local.INFO: TCP Data received {"connection_id":160537,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:10:30] local.INFO: Processing buffer {"connection_id":160537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:10:30] local.INFO: IMEI packet received {"connection_id":160537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":160537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:10:32] local.INFO: TCP Data received {"connection_id":160537,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:10:32] local.INFO: Processing buffer {"connection_id":160537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:10:32] local.INFO: IMEI packet received {"connection_id":160537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":160537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:10:33] local.INFO: TCP Data received {"connection_id":160537,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc68cb0012d1879800720d028003d006d27..."} 
[2026-08-23 14:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc68cb0012d1879800720d028003d006d27..."} 
[2026-08-23 14:10:33] local.INFO: Processing buffer {"connection_id":160537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc68cb0012d1879800720d028003d006d27..."} 
[2026-08-23 14:10:33] local.INFO: Packet analysis {"connection_id":160537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:10:33] local.INFO: Extracted packet for processing {"connection_id":160537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756578688,"raw_latitude":119590952,"longitude_deg":75.6578688,"latitude_deg":11.9590952,"altitude":61,"angle":109,"satellites":39,"speed":20,"hex_longitude":"2d187980","hex_latitude":"0720d028","is_valid_coordinates":true} 
[2026-08-23 14:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593440768001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15542554636320768,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761329697382301696,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787474382000,"timestamp_ms":1787474382000,"timestamp_seconds":1787474382,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc68cb0"} 
[2026-08-23 14:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:10: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-08-23 14:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-23 14:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593440768001,"66":14048,"103":206,"83":41984,"24":20,"16":15542554636320768,"45":1761329697382301696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 14:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593440768001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:10:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 14:10:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15542554636320768,"km_value":15542554636320.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761329697382301696,"description":"Unknown IO ID 45"} 
[2026-08-23 14:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593440768001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1761329697382301696}} 
[2026-08-23 14:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":160537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:10:33] local.INFO: GPS data processed {"connection_id":160537,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:10:33] local.INFO: Acknowledgment sent {"connection_id":160537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:10:34] local.INFO: TCP Data received {"connection_id":160537,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc69480012d187d000720ce18003e008327..."} 
[2026-08-23 14:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc69480012d187d000720ce18003e008327..."} 
[2026-08-23 14:10:34] local.INFO: Processing buffer {"connection_id":160537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc69480012d187d000720ce18003e008327..."} 
[2026-08-23 14:10:34] local.INFO: Packet analysis {"connection_id":160537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:10:34] local.INFO: Extracted packet for processing {"connection_id":160537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:10:34] local.INFO: GPS Element Parsed {"raw_longitude":756579584,"raw_latitude":119590424,"longitude_deg":75.6579584,"latitude_deg":11.9590424,"altitude":62,"angle":131,"satellites":39,"speed":21,"hex_longitude":"2d187d00","hex_latitude":"0720ce18","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593441792001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15542606175928320,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763581497195898880,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787474384000,"timestamp_ms":1787474384000,"timestamp_seconds":1787474384,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc69480"} 
[2026-08-23 14:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 14:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593441792001,"66":14243,"103":206,"83":41984,"24":21,"16":15542606175928320,"45":1763581497195898880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 14:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593441792001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:10:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 14:10:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15542606175928320,"km_value":15542606175928.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763581497195898880,"description":"Unknown IO ID 45"} 
[2026-08-23 14:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593441792001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1763581497195898880}} 
[2026-08-23 14:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":160537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:10:34] local.INFO: GPS data processed {"connection_id":160537,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:10:34] local.INFO: Acknowledgment sent {"connection_id":160537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:10:44] local.INFO: TCP Data received {"connection_id":161721,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc66988012d7e16c005d3bf68000000bd0f..."} 
[2026-08-23 14:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc66988012d7e16c005d3bf68000000bd0f..."} 
[2026-08-23 14:10:44] local.INFO: Processing buffer {"connection_id":161721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc66988012d7e16c005d3bf68000000bd0f..."} 
[2026-08-23 14:10:44] local.INFO: Packet analysis {"connection_id":161721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:10:44] local.INFO: Extracted packet for processing {"connection_id":161721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:10:44] local.INFO: GPS Element Parsed {"raw_longitude":763238080,"raw_latitude":97763176,"longitude_deg":76.323808,"latitude_deg":9.7763176,"altitude":0,"angle":189,"satellites":15,"speed":2,"hex_longitude":"2d7e16c0","hex_latitude":"05d3bf68","is_valid_coordinates":true} 
[2026-08-23 14:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593437184001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628334277361664,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085590060782323712,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:44] 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-08-23 14:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787474373000,"timestamp_ms":1787474373000,"timestamp_seconds":1787474373,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc66988"} 
[2026-08-23 14:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 14:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593437184001,"66":12939,"81":206,"85":15104,"24":2,"16":122628334277361664,"45":9085590060782323712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 14:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593437184001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:10:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 14:10:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628334277361664,"km_value":122628334277361.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085590060782323712,"description":"Unknown IO ID 45"} 
[2026-08-23 14:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593437184001,"power":12939,"unknown_81":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9085590060782323712}} 
[2026-08-23 14:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":161721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:10:44] local.INFO: GPS data processed {"connection_id":161721,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:10:44] local.INFO: Acknowledgment sent {"connection_id":161721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:10:46] local.INFO: TCP Data received {"connection_id":160783,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:10:46] local.INFO: Processing buffer {"connection_id":160783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:10:46] local.INFO: IMEI packet received {"connection_id":160783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":160783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:10:51] local.INFO: TCP Data received {"connection_id":160783,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:10:51] local.INFO: Processing buffer {"connection_id":160783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:10:51] local.INFO: IMEI packet received {"connection_id":160783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":160783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:10:52] local.INFO: TCP Data received {"connection_id":160783,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:10:52] local.INFO: Processing buffer {"connection_id":160783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:10:52] local.INFO: Packet analysis {"connection_id":160783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:10:52] local.INFO: Extracted packet for processing {"connection_id":160783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:10:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593362688001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787474374000,"timestamp_ms":1787474374000,"timestamp_seconds":1787474374,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc66d70"} 
[2026-08-23 14:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:10:52] 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-08-23 14:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593362688001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593362688001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:10:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:10:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593362688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":160783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:10:52] local.INFO: GPS data processed {"connection_id":160783,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:10:52] local.INFO: Acknowledgment sent {"connection_id":160783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:11:03] local.INFO: TCP Data received {"connection_id":160784,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:11:03] local.INFO: Processing buffer {"connection_id":160784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:11:03] local.INFO: IMEI packet received {"connection_id":160784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":160784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:11:05] local.INFO: TCP Data received {"connection_id":160537,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc728f0012d189a8007208b180031009b25..."} 
[2026-08-23 14:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc728f0012d189a8007208b180031009b25..."} 
[2026-08-23 14:11:05] local.INFO: Processing buffer {"connection_id":160537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc728f0012d189a8007208b180031009b25..."} 
[2026-08-23 14:11:05] local.INFO: Packet analysis {"connection_id":160537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc7"} 
[2026-08-23 14:11:05] local.INFO: Extracted packet for processing {"connection_id":160537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc7"} 
[2026-08-23 14:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756587136,"raw_latitude":119573272,"longitude_deg":75.6587136,"latitude_deg":11.9573272,"altitude":49,"angle":155,"satellites":37,"speed":14,"hex_longitude":"2d189a80","hex_latitude":"07208b18","is_valid_coordinates":true} 
[2026-08-23 14:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593449984001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15543632673112064,"note":"Value kept but may cause issues"} 
[2026-08-23 14:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773010908912404480,"note":"Value kept but may cause issues"} 
[2026-08-23 14:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787474422000,"timestamp_ms":1787474422000,"timestamp_seconds":1787474422,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc728f0"} 
[2026-08-23 14:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-23 14:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593449984001,"66":14461,"103":206,"83":41984,"24":14,"16":15543632673112064,"45":1773010908912404480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 14:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593449984001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:11:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 14:11:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15543632673112064,"km_value":15543632673112.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773010908912404480,"description":"Unknown IO ID 45"} 
[2026-08-23 14:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593449984001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1773010908912404480}} 
[2026-08-23 14:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":160537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:11:05] local.INFO: GPS data processed {"connection_id":160537,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:11:05] local.INFO: Acknowledgment sent {"connection_id":160537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:11:08] local.INFO: TCP Data received {"connection_id":160784,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:11:08] local.INFO: Processing buffer {"connection_id":160784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:11:08] local.INFO: IMEI packet received {"connection_id":160784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":160784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:11:09] local.INFO: TCP Data received {"connection_id":160784,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc66d70012d7e16c005d3bf38000000ae0f..."} 
[2026-08-23 14:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc66d70012d7e16c005d3bf38000000ae0f..."} 
[2026-08-23 14:11:09] local.INFO: Processing buffer {"connection_id":160784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc66d70012d7e16c005d3bf38000000ae0f..."} 
[2026-08-23 14:11:09] local.INFO: Packet analysis {"connection_id":160784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:11:09] local.INFO: Extracted packet for processing {"connection_id":160784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:11:09] local.INFO: GPS Element Parsed {"raw_longitude":763238080,"raw_latitude":97763128,"longitude_deg":76.323808,"latitude_deg":9.7763128,"altitude":0,"angle":174,"satellites":15,"speed":2,"hex_longitude":"2d7e16c0","hex_latitude":"05d3bf38","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593439488001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628338572328960,"note":"Value kept but may cause issues"} 
[2026-08-23 14:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085660429526460416,"note":"Value kept but may cause issues"} 
[2026-08-23 14:11: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-08-23 14:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787474374000,"timestamp_ms":1787474374000,"timestamp_seconds":1787474374,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc66d70"} 
[2026-08-23 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-08-23 14:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-23 14:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 14:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593439488001,"66":12939,"81":206,"85":15104,"24":2,"16":122628338572328960,"45":9085660429526460416},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 14:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593439488001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 14:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628338572328960,"km_value":122628338572328.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085660429526460416,"description":"Unknown IO ID 45"} 
[2026-08-23 14:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593439488001,"power":12939,"unknown_81":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9085660429526460416}} 
[2026-08-23 14:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":160784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:11:09] local.INFO: GPS data processed {"connection_id":160784,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:11:09] local.INFO: Acknowledgment sent {"connection_id":160784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:11:24] local.INFO: TCP Data received {"connection_id":160783,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:11:24] local.INFO: Processing buffer {"connection_id":160783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:11:24] local.INFO: Packet analysis {"connection_id":160783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:11:24] local.INFO: Extracted packet for processing {"connection_id":160783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:11:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593362688001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787474374000,"timestamp_ms":1787474374000,"timestamp_seconds":1787474374,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc66d70"} 
[2026-08-23 14:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:11:24] 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-08-23 14:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593362688001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593362688001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:11:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:11:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593362688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":160783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:11:24] local.INFO: GPS data processed {"connection_id":160783,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:11:24] local.INFO: Acknowledgment sent {"connection_id":160783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:11:29] local.INFO: TCP Data received {"connection_id":160785,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:11:29] local.INFO: Processing buffer {"connection_id":160785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:11:29] local.INFO: IMEI packet received {"connection_id":160785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":160785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:11:29] local.INFO: TCP Data received {"connection_id":160785,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:11:29] local.INFO: Processing buffer {"connection_id":160785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:11:29] local.INFO: IMEI packet received {"connection_id":160785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":160785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:11:30] local.INFO: TCP Data received {"connection_id":160785,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:11:30] local.INFO: Processing buffer {"connection_id":160785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:11:30] local.INFO: IMEI packet received {"connection_id":160785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":160785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:11:31] local.INFO: TCP Data received {"connection_id":160785,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:11:31] local.INFO: Processing buffer {"connection_id":160785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:11:31] local.INFO: IMEI packet received {"connection_id":160785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":160785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:11:32] local.INFO: TCP Data received {"connection_id":160785,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc72cd8012d189b8007208a080031008625..."} 
[2026-08-23 14:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc72cd8012d189b8007208a080031008625..."} 
[2026-08-23 14:11:32] local.INFO: Processing buffer {"connection_id":160785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc72cd8012d189b8007208a080031008625..."} 
[2026-08-23 14:11:32] local.INFO: Packet analysis {"connection_id":160785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc7"} 
[2026-08-23 14:11:32] local.INFO: Extracted packet for processing {"connection_id":160785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc7"} 
[2026-08-23 14:11:32] local.INFO: GPS Element Parsed {"raw_longitude":756587392,"raw_latitude":119573000,"longitude_deg":75.6587392,"latitude_deg":11.9573,"altitude":49,"angle":134,"satellites":37,"speed":12,"hex_longitude":"2d189b80","hex_latitude":"07208a08","is_valid_coordinates":true} 
[2026-08-23 14:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593452032001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15543649852981248,"note":"Value kept but may cause issues"} 
[2026-08-23 14:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772870171422824448,"note":"Value kept but may cause issues"} 
[2026-08-23 14:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787474423000,"timestamp_ms":1787474423000,"timestamp_seconds":1787474423,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc72cd8"} 
[2026-08-23 14:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 14:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593452032001,"66":14461,"103":206,"83":41984,"24":12,"16":15543649852981248,"45":1772870171422824448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 14:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593452032001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:11:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 14:11:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15543649852981248,"km_value":15543649852981.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772870171422824448,"description":"Unknown IO ID 45"} 
[2026-08-23 14:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593452032001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1772870171422824448}} 
[2026-08-23 14:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":160785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:11:32] local.INFO: GPS data processed {"connection_id":160785,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:11:32] local.INFO: Acknowledgment sent {"connection_id":160785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:11:40] local.INFO: TCP Data received {"connection_id":160784,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc67928012d7e16c005d3be90000000a00f..."} 
[2026-08-23 14:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc67928012d7e16c005d3be90000000a00f..."} 
[2026-08-23 14:11:40] local.INFO: Processing buffer {"connection_id":160784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc67928012d7e16c005d3be90000000a00f..."} 
[2026-08-23 14:11:40] local.INFO: Packet analysis {"connection_id":160784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:11:40] local.INFO: Extracted packet for processing {"connection_id":160784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:11:40] local.INFO: GPS Element Parsed {"raw_longitude":763238080,"raw_latitude":97762960,"longitude_deg":76.323808,"latitude_deg":9.776296,"altitude":0,"angle":160,"satellites":15,"speed":2,"hex_longitude":"2d7e16c0","hex_latitude":"05d3be90","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593439744001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628347162263552,"note":"Value kept but may cause issues"} 
[2026-08-23 14:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085660429526448128,"note":"Value kept but may cause issues"} 
[2026-08-23 14:11: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-08-23 14:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787474377000,"timestamp_ms":1787474377000,"timestamp_seconds":1787474377,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc67928"} 
[2026-08-23 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-08-23 14:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-23 14:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 14:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593439744001,"66":12950,"81":206,"85":15104,"24":2,"16":122628347162263552,"45":9085660429526448128},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 14:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593439744001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:11:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 14:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628347162263552,"km_value":122628347162263.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085660429526448128,"description":"Unknown IO ID 45"} 
[2026-08-23 14:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593439744001,"power":12950,"unknown_81":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9085660429526448128}} 
[2026-08-23 14:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":160784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:11:40] local.INFO: GPS data processed {"connection_id":160784,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:11:40] local.INFO: Acknowledgment sent {"connection_id":160784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:11:46] local.INFO: TCP Data received {"connection_id":160538,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:11:46] local.INFO: Processing buffer {"connection_id":160538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:11:46] local.INFO: IMEI packet received {"connection_id":160538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":160538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:11:51] local.INFO: TCP Data received {"connection_id":160538,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:11:51] local.INFO: Processing buffer {"connection_id":160538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:11:51] local.INFO: IMEI packet received {"connection_id":160538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":160538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:11:52] local.INFO: TCP Data received {"connection_id":160538,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:11:52] local.INFO: Processing buffer {"connection_id":160538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:11:52] local.INFO: Packet analysis {"connection_id":160538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:11:52] local.INFO: Extracted packet for processing {"connection_id":160538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593362688001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787474374000,"timestamp_ms":1787474374000,"timestamp_seconds":1787474374,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc66d70"} 
[2026-08-23 14:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:11:52] 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-08-23 14:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:11:52] 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-08-23 14:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593362688001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593362688001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:11:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593362688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":160538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:11:52] local.INFO: GPS data processed {"connection_id":160538,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:11:52] local.INFO: Acknowledgment sent {"connection_id":160538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:12:03] local.INFO: TCP Data received {"connection_id":160785,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc7ec40012d18c58007207c38002a00a625..."} 
[2026-08-23 14:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc7ec40012d18c58007207c38002a00a625..."} 
[2026-08-23 14:12:03] local.INFO: Processing buffer {"connection_id":160785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc7ec40012d18c58007207c38002a00a625..."} 
[2026-08-23 14:12:03] local.INFO: Packet analysis {"connection_id":160785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc7"} 
[2026-08-23 14:12:03] local.INFO: Extracted packet for processing {"connection_id":160785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc7"} 
[2026-08-23 14:12:03] local.INFO: GPS Element Parsed {"raw_longitude":756598144,"raw_latitude":119569464,"longitude_deg":75.6598144,"latitude_deg":11.9569464,"altitude":42,"angle":166,"satellites":37,"speed":14,"hex_longitude":"2d18c580","hex_latitude":"07207c38","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593464320001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15544444421931008,"note":"Value kept but may cause issues"} 
[2026-08-23 14:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751699695616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787474472000,"timestamp_ms":1787474472000,"timestamp_seconds":1787474472,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc7ec40"} 
[2026-08-23 14:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-23 14:12:03] 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-08-23 14: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-08-23 14:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593464320001,"66":13917,"103":206,"83":41984,"24":14,"16":15544444421931008,"45":1784621751699695616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 14:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593464320001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:12:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 14:12:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15544444421931008,"km_value":15544444421931.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751699695616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593464320001,"power":13917,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1784621751699695616}} 
[2026-08-23 14:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":160785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:12:03] local.INFO: GPS data processed {"connection_id":160785,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:12:03] local.INFO: Acknowledgment sent {"connection_id":160785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:12:23] local.INFO: TCP Data received {"connection_id":160538,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:12:23] local.INFO: Processing buffer {"connection_id":160538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:12:23] local.INFO: Packet analysis {"connection_id":160538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:12:23] local.INFO: Extracted packet for processing {"connection_id":160538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:12:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 14:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593362688001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787474374000,"timestamp_ms":1787474374000,"timestamp_seconds":1787474374,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc66d70"} 
[2026-08-23 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-08-23 14:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:12:23] 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-08-23 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-08-23 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-08-23 14:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:12:23] 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-08-23 14:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593362688001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593362688001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:12:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:12:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593362688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":160538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:12:23] local.INFO: GPS data processed {"connection_id":160538,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:12:23] local.INFO: Acknowledgment sent {"connection_id":160538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:12:30] local.INFO: TCP Data received {"connection_id":160539,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:12:30] local.INFO: Processing buffer {"connection_id":160539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:12:30] local.INFO: IMEI packet received {"connection_id":160539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":160539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:12:34] local.INFO: TCP Data received {"connection_id":160539,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:12:34] local.INFO: Processing buffer {"connection_id":160539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:12:34] local.INFO: IMEI packet received {"connection_id":160539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":160539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:12:35] local.INFO: TCP Data received {"connection_id":160539,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc7ffc8012d18c74007207658002b009625..."} 
[2026-08-23 14:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc7ffc8012d18c74007207658002b009625..."} 
[2026-08-23 14:12:35] local.INFO: Processing buffer {"connection_id":160539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc7ffc8012d18c74007207658002b009625..."} 
[2026-08-23 14:12:35] local.INFO: Packet analysis {"connection_id":160539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc7"} 
[2026-08-23 14:12:35] local.INFO: Extracted packet for processing {"connection_id":160539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc7"} 
[2026-08-23 14:12:35] local.INFO: GPS Element Parsed {"raw_longitude":756598592,"raw_latitude":119567960,"longitude_deg":75.6598592,"latitude_deg":11.956796,"altitude":43,"angle":150,"satellites":37,"speed":12,"hex_longitude":"2d18c740","hex_latitude":"07207658","is_valid_coordinates":true} 
[2026-08-23 14:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593464832001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15544521731342336,"note":"Value kept but may cause issues"} 
[2026-08-23 14:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784973595420407808,"note":"Value kept but may cause issues"} 
[2026-08-23 14:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787474477000,"timestamp_ms":1787474477000,"timestamp_seconds":1787474477,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc7ffc8"} 
[2026-08-23 14:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-23 14:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593464832001,"66":14428,"103":206,"83":41984,"24":12,"16":15544521731342336,"45":1784973595420407808},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 14:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593464832001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:12:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 14:12:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15544521731342336,"km_value":15544521731342.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784973595420407808,"description":"Unknown IO ID 45"} 
[2026-08-23 14:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593464832001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1784973595420407808}} 
[2026-08-23 14:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":160539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:12:36] local.INFO: GPS data processed {"connection_id":160539,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:12:36] local.INFO: Acknowledgment sent {"connection_id":160539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:12:46] local.INFO: TCP Data received {"connection_id":163124,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:12:46] local.INFO: Processing buffer {"connection_id":163124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:12:46] local.INFO: IMEI packet received {"connection_id":163124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":163124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:12:51] local.INFO: TCP Data received {"connection_id":163124,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:12:51] local.INFO: Processing buffer {"connection_id":163124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:12:51] local.INFO: IMEI packet received {"connection_id":163124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":163124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:12:52] local.INFO: TCP Data received {"connection_id":163124,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:12:52] local.INFO: Processing buffer {"connection_id":163124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:12:52] local.INFO: Packet analysis {"connection_id":163124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:12:52] local.INFO: Extracted packet for processing {"connection_id":163124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:12:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593362688001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787474374000,"timestamp_ms":1787474374000,"timestamp_seconds":1787474374,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc66d70"} 
[2026-08-23 14:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:12:52] 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-08-23 14: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-08-23 14:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:12:52] 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-08-23 14:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593362688001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593362688001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:12:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:12:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593362688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":163124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:12:52] local.INFO: GPS data processed {"connection_id":163124,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:12:52] local.INFO: Acknowledgment sent {"connection_id":163124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:13:06] local.INFO: TCP Data received {"connection_id":160539,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc90580012d18dcc007201b700031007124..."} 
[2026-08-23 14:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc90580012d18dcc007201b700031007124..."} 
[2026-08-23 14:13:06] local.INFO: Processing buffer {"connection_id":160539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc90580012d18dcc007201b700031007124..."} 
[2026-08-23 14:13:06] local.INFO: Packet analysis {"connection_id":160539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc9"} 
[2026-08-23 14:13:06] local.INFO: Extracted packet for processing {"connection_id":160539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc9"} 
[2026-08-23 14:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756604096,"raw_latitude":119544688,"longitude_deg":75.6604096,"latitude_deg":11.9544688,"altitude":49,"angle":113,"satellites":36,"speed":11,"hex_longitude":"2d18dcc0","hex_latitude":"07201b70","is_valid_coordinates":true} 
[2026-08-23 14:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593483008001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15545780156760064,"note":"Value kept but may cause issues"} 
[2026-08-23 14:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791236413645912064,"note":"Value kept but may cause issues"} 
[2026-08-23 14:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787474544000,"timestamp_ms":1787474544000,"timestamp_seconds":1787474544,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc90580"} 
[2026-08-23 14:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-23 14:13:06] 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-08-23 14:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593483008001,"66":14026,"102":206,"83":41984,"24":11,"16":15545780156760064,"45":1791236413645912064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593483008001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:13:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15545780156760064,"km_value":15545780156760.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791236413645912064,"description":"Unknown IO ID 45"} 
[2026-08-23 14:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593483008001,"power":14026,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1791236413645912064}} 
[2026-08-23 14:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":160539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:13:07] local.INFO: GPS data processed {"connection_id":160539,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:13:07] local.INFO: Acknowledgment sent {"connection_id":160539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:13:23] local.INFO: TCP Data received {"connection_id":163124,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:13:23] local.INFO: Processing buffer {"connection_id":163124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:13:23] local.INFO: Packet analysis {"connection_id":163124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:13:23] local.INFO: Extracted packet for processing {"connection_id":163124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:13:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593362688001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787474374000,"timestamp_ms":1787474374000,"timestamp_seconds":1787474374,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc66d70"} 
[2026-08-23 14:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:13:23] 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-08-23 14: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-08-23 14:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:13:23] 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-08-23 14:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593362688001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593362688001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:13:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:13:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593362688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":163124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:13:23] local.INFO: GPS data processed {"connection_id":163124,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:13:23] local.INFO: Acknowledgment sent {"connection_id":163124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:13:28] local.INFO: TCP Data received {"connection_id":161722,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:13:28] local.INFO: Processing buffer {"connection_id":161722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:13:28] local.INFO: IMEI packet received {"connection_id":161722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":161722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:13:29] local.INFO: TCP Data received {"connection_id":161722,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:13:29] local.INFO: Processing buffer {"connection_id":161722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:13:29] local.INFO: IMEI packet received {"connection_id":161722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":161722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:13:29] local.INFO: TCP Data received {"connection_id":161722,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:13:29] local.INFO: Processing buffer {"connection_id":161722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:13:29] local.INFO: IMEI packet received {"connection_id":161722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":161722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:13:30] local.INFO: TCP Data received {"connection_id":161722,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:13:30] local.INFO: Processing buffer {"connection_id":161722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:13:30] local.INFO: IMEI packet received {"connection_id":161722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":161722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:13:46] local.INFO: TCP Data received {"connection_id":163125,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:13:46] local.INFO: Processing buffer {"connection_id":163125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:13:46] local.INFO: IMEI packet received {"connection_id":163125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":163125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:13:51] local.INFO: TCP Data received {"connection_id":163125,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:13:51] local.INFO: Processing buffer {"connection_id":163125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:13:51] local.INFO: IMEI packet received {"connection_id":163125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":163125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:13:52] local.INFO: TCP Data received {"connection_id":163125,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:13:52] local.INFO: Processing buffer {"connection_id":163125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:13:52] local.INFO: Packet analysis {"connection_id":163125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:13:52] local.INFO: Extracted packet for processing {"connection_id":163125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:13:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593362688001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787474374000,"timestamp_ms":1787474374000,"timestamp_seconds":1787474374,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc66d70"} 
[2026-08-23 14:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:13:52] 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-08-23 14:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:13:52] 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-08-23 14:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593362688001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593362688001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:13:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:13:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593362688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":163125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:13:52] local.INFO: GPS data processed {"connection_id":163125,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:13:52] local.INFO: Acknowledgment sent {"connection_id":163125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:14:24] local.INFO: TCP Data received {"connection_id":163125,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:14:24] local.INFO: Processing buffer {"connection_id":163125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:14:24] local.INFO: Packet analysis {"connection_id":163125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:14:24] local.INFO: Extracted packet for processing {"connection_id":163125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:14:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593362688001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787474374000,"timestamp_ms":1787474374000,"timestamp_seconds":1787474374,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc66d70"} 
[2026-08-23 14:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:14:24] 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-08-23 14:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593362688001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593362688001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:14:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:14:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593362688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":163125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:14:24] local.INFO: GPS data processed {"connection_id":163125,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:14:24] local.INFO: Acknowledgment sent {"connection_id":163125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:14:46] local.INFO: TCP Data received {"connection_id":160786,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:14:46] local.INFO: Processing buffer {"connection_id":160786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:14:46] local.INFO: IMEI packet received {"connection_id":160786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":160786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:14:51] local.INFO: TCP Data received {"connection_id":160786,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:14:51] local.INFO: Processing buffer {"connection_id":160786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:14:51] local.INFO: IMEI packet received {"connection_id":160786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":160786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:14:53] local.INFO: TCP Data received {"connection_id":160786,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:14:53] local.INFO: Processing buffer {"connection_id":160786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc66d70012d34c50006aa4098000e008524..."} 
[2026-08-23 14:14:53] local.INFO: Packet analysis {"connection_id":160786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:14:53] local.INFO: Extracted packet for processing {"connection_id":160786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:14:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593362688001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787474374000,"timestamp_ms":1787474374000,"timestamp_seconds":1787474374,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc66d70"} 
[2026-08-23 14:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:14:53] 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-08-23 14:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:14:53] 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-08-23 14:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593362688001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593362688001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:14:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:14:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593362688001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":160786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:14:53] local.INFO: GPS data processed {"connection_id":160786,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:14:53] local.INFO: Acknowledgment sent {"connection_id":160786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:15:25] local.INFO: TCP Data received {"connection_id":160786,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:15:25] local.INFO: Processing buffer {"connection_id":160786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:15:25] local.INFO: Packet analysis {"connection_id":160786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:15:25] local.INFO: Extracted packet for processing {"connection_id":160786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:15:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593439744001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787474675000,"timestamp_ms":1787474675000,"timestamp_seconds":1787474675,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcb0538"} 
[2026-08-23 14:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 14:15:25] 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-08-23 14:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:15:25] 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-08-23 14:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593439744001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593439744001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:15:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:15:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593439744001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":160786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:15:25] local.INFO: GPS data processed {"connection_id":160786,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:15:25] local.INFO: Acknowledgment sent {"connection_id":160786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:15:46] local.INFO: TCP Data received {"connection_id":163126,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:15:46] local.INFO: Processing buffer {"connection_id":163126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:15:46] local.INFO: IMEI packet received {"connection_id":163126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":163126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:15:51] local.INFO: TCP Data received {"connection_id":163126,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:15:51] local.INFO: Processing buffer {"connection_id":163126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:15:51] local.INFO: IMEI packet received {"connection_id":163126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":163126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:15:52] local.INFO: TCP Data received {"connection_id":163126,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:15:52] local.INFO: Processing buffer {"connection_id":163126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:15:52] local.INFO: Packet analysis {"connection_id":163126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:15:52] local.INFO: Extracted packet for processing {"connection_id":163126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:15:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:15: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-08-23 14:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593439744001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787474675000,"timestamp_ms":1787474675000,"timestamp_seconds":1787474675,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcb0538"} 
[2026-08-23 14:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 14:15:52] 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-08-23 14:15: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-08-23 14:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:15:52] 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-08-23 14:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593439744001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593439744001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:15:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:15:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593439744001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":163126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:15:52] local.INFO: GPS data processed {"connection_id":163126,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:15:52] local.INFO: Acknowledgment sent {"connection_id":163126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:16:18] local.INFO: TCP Data received {"connection_id":163127,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:16:18] local.INFO: Processing buffer {"connection_id":163127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:16:18] local.INFO: IMEI packet received {"connection_id":163127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":163127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:16:23] local.INFO: TCP Data received {"connection_id":163127,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:16:23] local.INFO: Processing buffer {"connection_id":163127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:16:23] local.INFO: IMEI packet received {"connection_id":163127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":163127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:16:23] local.INFO: TCP Data received {"connection_id":163126,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:16:23] local.INFO: Processing buffer {"connection_id":163126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:16:23] local.INFO: Packet analysis {"connection_id":163126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:16:23] local.INFO: Extracted packet for processing {"connection_id":163126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:16:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593439744001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787474675000,"timestamp_ms":1787474675000,"timestamp_seconds":1787474675,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcb0538"} 
[2026-08-23 14:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 14:16:23] 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-08-23 14: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-08-23 14:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:16:23] 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-08-23 14:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593439744001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593439744001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:16:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:16:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593439744001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":163126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:16:23] local.INFO: GPS data processed {"connection_id":163126,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:16:23] local.INFO: Acknowledgment sent {"connection_id":163126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:16:24] local.INFO: TCP Data received {"connection_id":163127,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc684e0012d7e170005d3be100000008a0f..."} 
[2026-08-23 14:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc684e0012d7e170005d3be100000008a0f..."} 
[2026-08-23 14:16:24] local.INFO: Processing buffer {"connection_id":163127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc684e0012d7e170005d3be100000008a0f..."} 
[2026-08-23 14:16:24] local.INFO: Packet analysis {"connection_id":163127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:16:24] local.INFO: Extracted packet for processing {"connection_id":163127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:16:24] local.INFO: GPS Element Parsed {"raw_longitude":763238144,"raw_latitude":97762832,"longitude_deg":76.3238144,"latitude_deg":9.7762832,"altitude":0,"angle":138,"satellites":15,"speed":2,"hex_longitude":"2d7e1700","hex_latitude":"05d3be10","is_valid_coordinates":true} 
[2026-08-23 14:16: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-08-23 14:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593440512001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628355752198144,"note":"Value kept but may cause issues"} 
[2026-08-23 14:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085660429526405120,"note":"Value kept but may cause issues"} 
[2026-08-23 14:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787474380000,"timestamp_ms":1787474380000,"timestamp_seconds":1787474380,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc684e0"} 
[2026-08-23 14:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 14:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:16: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-08-23 14:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593440512001,"66":12863,"81":206,"85":15104,"24":2,"16":122628355752198144,"45":9085660429526405120},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 14:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593440512001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:16:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 14:16:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628355752198144,"km_value":122628355752198.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085660429526405120,"description":"Unknown IO ID 45"} 
[2026-08-23 14:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593440512001,"power":12863,"unknown_81":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9085660429526405120}} 
[2026-08-23 14:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":163127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:16:24] local.INFO: GPS data processed {"connection_id":163127,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:16:24] local.INFO: Acknowledgment sent {"connection_id":163127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:16:46] local.INFO: TCP Data received {"connection_id":160540,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:16:46] local.INFO: Processing buffer {"connection_id":160540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:16:46] local.INFO: IMEI packet received {"connection_id":160540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":160540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:16:51] local.INFO: TCP Data received {"connection_id":160540,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:16:51] local.INFO: Processing buffer {"connection_id":160540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:16:51] local.INFO: IMEI packet received {"connection_id":160540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":160540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:16:53] local.INFO: TCP Data received {"connection_id":160540,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:16:53] local.INFO: Processing buffer {"connection_id":160540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:16:53] local.INFO: Packet analysis {"connection_id":160540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:16:53] local.INFO: Extracted packet for processing {"connection_id":160540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:16:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593439744001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787474675000,"timestamp_ms":1787474675000,"timestamp_seconds":1787474675,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcb0538"} 
[2026-08-23 14:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 14:16:53] 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-08-23 14:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:16:53] 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-08-23 14:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593439744001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593439744001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:16:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:16:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593439744001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":160540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:16:53] local.INFO: GPS data processed {"connection_id":160540,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:16:53] local.INFO: Acknowledgment sent {"connection_id":160540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:17:03] local.INFO: TCP Data received {"connection_id":160541,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:17:03] local.INFO: Processing buffer {"connection_id":160541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:17:03] local.INFO: IMEI packet received {"connection_id":160541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":160541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:17:08] local.INFO: TCP Data received {"connection_id":160541,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:17:08] local.INFO: Processing buffer {"connection_id":160541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:17:08] local.INFO: IMEI packet received {"connection_id":160541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":160541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:17:09] local.INFO: TCP Data received {"connection_id":160541,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc6d6e8012d7e174005d3be10000000830f..."} 
[2026-08-23 14:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc6d6e8012d7e174005d3be10000000830f..."} 
[2026-08-23 14:17:09] local.INFO: Processing buffer {"connection_id":160541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc6d6e8012d7e174005d3be10000000830f..."} 
[2026-08-23 14:17:09] local.INFO: Packet analysis {"connection_id":160541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:17:09] local.INFO: Extracted packet for processing {"connection_id":160541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc6"} 
[2026-08-23 14:17:09] local.INFO: GPS Element Parsed {"raw_longitude":763238208,"raw_latitude":97762832,"longitude_deg":76.3238208,"latitude_deg":9.7762832,"altitude":0,"angle":131,"satellites":15,"speed":0,"hex_longitude":"2d7e1740","hex_latitude":"05d3be10","is_valid_coordinates":true} 
[2026-08-23 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-08-23 14:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593441280001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628360047165440,"note":"Value kept but may cause issues"} 
[2026-08-23 14:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085730798270550016,"note":"Value kept but may cause issues"} 
[2026-08-23 14:17: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-08-23 14:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787474401000,"timestamp_ms":1787474401000,"timestamp_seconds":1787474401,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc6d6e8"} 
[2026-08-23 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-08-23 14:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 14:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 14:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593441280001,"66":13059,"81":206,"85":15104,"24":0,"16":122628360047165440,"45":9085730798270550016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 14:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593441280001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 14:17:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628360047165440,"km_value":122628360047165.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085730798270550016,"description":"Unknown IO ID 45"} 
[2026-08-23 14:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593441280001,"power":13059,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085730798270550016}} 
[2026-08-23 14:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":160541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:17:09] local.INFO: GPS data processed {"connection_id":160541,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:17:09] local.INFO: Acknowledgment sent {"connection_id":160541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:17:25] local.INFO: TCP Data received {"connection_id":160540,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:17:25] local.INFO: Processing buffer {"connection_id":160540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:17:25] local.INFO: Packet analysis {"connection_id":160540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:17:25] local.INFO: Extracted packet for processing {"connection_id":160540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:17:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593439744001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787474675000,"timestamp_ms":1787474675000,"timestamp_seconds":1787474675,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcb0538"} 
[2026-08-23 14:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 14:17:25] 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-08-23 14: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-08-23 14:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593439744001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593439744001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:17:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:17:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593439744001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":160540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:17:25] local.INFO: GPS data processed {"connection_id":160540,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:17:25] local.INFO: Acknowledgment sent {"connection_id":160540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:17:40] local.INFO: TCP Data received {"connection_id":160541,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc728f0012d7e174005d3be100000008313..."} 
[2026-08-23 14:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc728f0012d7e174005d3be100000008313..."} 
[2026-08-23 14:17:40] local.INFO: Processing buffer {"connection_id":160541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc728f0012d7e174005d3be100000008313..."} 
[2026-08-23 14:17:40] local.INFO: Packet analysis {"connection_id":160541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc7"} 
[2026-08-23 14:17:40] local.INFO: Extracted packet for processing {"connection_id":160541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc7"} 
[2026-08-23 14:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763238208,"raw_latitude":97762832,"longitude_deg":76.3238208,"latitude_deg":9.7762832,"altitude":0,"angle":131,"satellites":19,"speed":0,"hex_longitude":"2d7e1740","hex_latitude":"05d3be10","is_valid_coordinates":true} 
[2026-08-23 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-08-23 14:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593446656001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628360047165440,"note":"Value kept but may cause issues"} 
[2026-08-23 14:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085801167014727680,"note":"Value kept but may cause issues"} 
[2026-08-23 14:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787474422000,"timestamp_ms":1787474422000,"timestamp_seconds":1787474422,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc728f0"} 
[2026-08-23 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-08-23 14:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-23 14:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303159724527038,"note":"Value kept but may cause issues"} 
[2026-08-23 14:17:40] local.WARNING: Large IO value detected {"io_id":81,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-23 14:17:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 14:17:40] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3539992576,"note":"Value kept but may cause issues"} 
[2026-08-23 14:17:40] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3211264000,"note":"Value kept but may cause issues"} 
[2026-08-23 14:17:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3192979662,"corrected_to":0} 
[2026-08-23 14:17:40] local.WARNING: Large IO value detected {"io_id":22,"raw_value":2147865536,"note":"Value kept but may cause issues"} 
[2026-08-23 14:17:40] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505982,"note":"Value kept but may cause issues"} 
[2026-08-23 14:17:40] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2848980992,"note":"Value kept but may cause issues"} 
[2026-08-23 14:17:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3552577536,"note":"Value kept but may cause issues"} 
[2026-08-23 14:17:40] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,81,85,24,241,157,16,169,160,132,45,190,15,10,66,121,192,109,1,240,139,227,211,4,113,205,2,70,22,8,239,50,179,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3192979662,"validated":0}]} 
[2026-08-23 14:17:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144100447748096,"timestamp_seconds":144100447748.096,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 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-08-23 14:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593446656001,"66":13059,"110":206,"85":15104,"24":0,"16":122628360047165440,"45":9085801167014727680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593446656001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:17:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628360047165440,"km_value":122628360047165.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085801167014727680,"description":"Unknown IO ID 45"} 
[2026-08-23 14:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593446656001,"power":13059,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085801167014727680}} 
[2026-08-23 14:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":160541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:17:40] local.INFO: GPS data processed {"connection_id":160541,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:17:40] local.INFO: Acknowledgment sent {"connection_id":160541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:17:46] local.INFO: TCP Data received {"connection_id":160542,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:17:46] local.INFO: Processing buffer {"connection_id":160542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:17:46] local.INFO: IMEI packet received {"connection_id":160542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":160542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:17:51] local.INFO: TCP Data received {"connection_id":160542,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:17:51] local.INFO: Processing buffer {"connection_id":160542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:17:51] local.INFO: IMEI packet received {"connection_id":160542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":160542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:17:52] local.INFO: TCP Data received {"connection_id":160542,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:17:52] local.INFO: Processing buffer {"connection_id":160542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:17:52] local.INFO: Packet analysis {"connection_id":160542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:17:52] local.INFO: Extracted packet for processing {"connection_id":160542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593439744001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787474675000,"timestamp_ms":1787474675000,"timestamp_seconds":1787474675,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcb0538"} 
[2026-08-23 14:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 14:17:52] 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-08-23 14:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:17:52] 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-08-23 14:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593439744001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593439744001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:17:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593439744001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":160542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:17:52] local.INFO: GPS data processed {"connection_id":160542,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:17:52] local.INFO: Acknowledgment sent {"connection_id":160542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:18:08] local.INFO: TCP Data received {"connection_id":160543,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:18:08] local.INFO: Processing buffer {"connection_id":160543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:18:08] local.INFO: IMEI packet received {"connection_id":160543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":160543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:18:13] local.INFO: TCP Data received {"connection_id":160543,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:18:13] local.INFO: Processing buffer {"connection_id":160543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:18:13] local.INFO: IMEI packet received {"connection_id":160543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":160543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:18:14] local.INFO: TCP Data received {"connection_id":160543,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc76770012d7e178005d3be500000003b14..."} 
[2026-08-23 14:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc76770012d7e178005d3be500000003b14..."} 
[2026-08-23 14:18:14] local.INFO: Processing buffer {"connection_id":160543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc76770012d7e178005d3be500000003b14..."} 
[2026-08-23 14:18:14] local.INFO: Packet analysis {"connection_id":160543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc7"} 
[2026-08-23 14:18:14] local.INFO: Extracted packet for processing {"connection_id":160543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc7"} 
[2026-08-23 14:18:14] local.INFO: GPS Element Parsed {"raw_longitude":763238272,"raw_latitude":97762896,"longitude_deg":76.3238272,"latitude_deg":9.7762896,"altitude":0,"angle":59,"satellites":20,"speed":1,"hex_longitude":"2d7e1780","hex_latitude":"05d3be50","is_valid_coordinates":true} 
[2026-08-23 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-08-23 14:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593452032001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628364342132736,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085801167014727680,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787474438000,"timestamp_ms":1787474438000,"timestamp_seconds":1787474438,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc76770"} 
[2026-08-23 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-08-23 14:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-23 14:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161721015742,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:14] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3573547008,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:14] local.WARNING: Large IO value detected {"io_id":81,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:14] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3208118272,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3192979662,"corrected_to":0} 
[2026-08-23 14:18:14] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2281778558,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:14] local.WARNING: Large IO value detected {"io_id":22,"raw_value":3221607359,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:14] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085694,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:14] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2849112064,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3552577536,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:14] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,110,85,24,241,157,16,169,160,214,45,64,190,15,10,66,81,132,121,192,1,240,150,227,211,4,113,205,2,105,22,104,239,50,179,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3192979662,"validated":0}]} 
[2026-08-23 14:18:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144117627617280,"timestamp_seconds":144117627617.28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 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-08-23 14:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593452032001,"66":12809,"110":206,"85":15104,"24":1,"16":122628364342132736,"45":9085801167014727680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593452032001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:18:14] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:18:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628364342132736,"km_value":122628364342132.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085801167014727680,"description":"Unknown IO ID 45"} 
[2026-08-23 14:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593452032001,"power":12809,"unknown_110":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9085801167014727680}} 
[2026-08-23 14:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":160543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:18:14] local.INFO: GPS data processed {"connection_id":160543,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:18:14] local.INFO: Acknowledgment sent {"connection_id":160543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:18:23] local.INFO: TCP Data received {"connection_id":160542,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:18:23] local.INFO: Processing buffer {"connection_id":160542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:18:23] local.INFO: Packet analysis {"connection_id":160542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:18:23] local.INFO: Extracted packet for processing {"connection_id":160542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:18:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593439744001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787474675000,"timestamp_ms":1787474675000,"timestamp_seconds":1787474675,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcb0538"} 
[2026-08-23 14:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 14:18:23] 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-08-23 14:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:18:23] 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-08-23 14:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593439744001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593439744001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:18:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:18:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593439744001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":160542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:18:23] local.INFO: GPS data processed {"connection_id":160542,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:18:23] local.INFO: Acknowledgment sent {"connection_id":160542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:18:39] local.INFO: TCP Data received {"connection_id":163128,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:18:39] local.INFO: Processing buffer {"connection_id":163128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:18:39] local.INFO: IMEI packet received {"connection_id":163128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":163128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:18:44] local.INFO: TCP Data received {"connection_id":163128,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:18:44] local.INFO: Processing buffer {"connection_id":163128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:18:44] local.INFO: IMEI packet received {"connection_id":163128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":163128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:18:45] local.INFO: TCP Data received {"connection_id":163128,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:18:45] local.INFO: Processing buffer {"connection_id":163128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:18:45] local.INFO: Packet analysis {"connection_id":163128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcd"} 
[2026-08-23 14:18:45] local.INFO: Extracted packet for processing {"connection_id":163128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcd"} 
[2026-08-23 14:18:45] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119532968,"longitude_deg":75.6639232,"latitude_deg":11.9532968,"altitude":61,"angle":89,"satellites":38,"speed":4,"hex_longitude":"2d196600","hex_latitude":"071feda8","is_valid_coordinates":true} 
[2026-08-23 14:18: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-08-23 14:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593554176001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219716096,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787474824000,"timestamp_ms":1787474824000,"timestamp_seconds":1787474824,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcd4b40"} 
[2026-08-23 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-08-23 14:18:45] 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-08-23 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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-23 14:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 14:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593554176001,"66":12841,"102":206,"83":41984,"24":4,"16":15547755841716224,"45":1829587379219716096},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593554176001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:18:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:18:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219716096,"description":"Unknown IO ID 45"} 
[2026-08-23 14:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593554176001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1829587379219716096}} 
[2026-08-23 14:18:45] local.INFO: TCP Data received {"connection_id":160543,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc77af8012d7e180005d3be780000004414..."} 
[2026-08-23 14:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc77af8012d7e180005d3be780000004414..."} 
[2026-08-23 14:18:45] local.INFO: Processing buffer {"connection_id":160543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc77af8012d7e180005d3be780000004414..."} 
[2026-08-23 14:18:45] local.INFO: Packet analysis {"connection_id":160543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc7"} 
[2026-08-23 14:18:45] local.INFO: Extracted packet for processing {"connection_id":160543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc7"} 
[2026-08-23 14:18:45] local.INFO: GPS Element Parsed {"raw_longitude":763238400,"raw_latitude":97762936,"longitude_deg":76.32384,"latitude_deg":9.7762936,"altitude":0,"angle":68,"satellites":20,"speed":0,"hex_longitude":"2d7e1800","hex_latitude":"05d3be78","is_valid_coordinates":true} 
[2026-08-23 14:18: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-08-23 14:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593456128001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085871535758921728,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":163128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787474443000,"timestamp_ms":1787474443000,"timestamp_seconds":1787474443,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc77af8"} 
[2026-08-23 14:18:45] local.INFO: GPS data processed {"connection_id":163128,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:18:45] local.INFO: Acknowledgment sent {"connection_id":163128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 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-08-23 14:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-23 14:18:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:45] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3607101440,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4159531647655602560,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:45] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3197108224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3192979662,"corrected_to":0} 
[2026-08-23 14:18:45] local.WARNING: Large IO value detected {"io_id":22,"raw_value":3221607359,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:45] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512285151080875,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:45] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2849177600,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3188539740085197297,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:45] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:45] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,110,85,24,241,157,16,169,160,40,45,64,190,19,10,66,214,15,81,132,1,240,63,227,211,4,113,205,2,109,22,56,239,50,179,5,59,210],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3192979662,"validated":0}]} 
[2026-08-23 14:18:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":64957085450240,"timestamp_seconds":64957085450.24,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 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-08-23 14:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593456128001,"66":13015,"110":206,"85":15104,"24":0,"16":122628368637100032,"45":9085871535758921728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593456128001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:18:45] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:18:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085871535758921728,"description":"Unknown IO ID 45"} 
[2026-08-23 14:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593456128001,"power":13015,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085871535758921728}} 
[2026-08-23 14:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":160543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:18:45] local.INFO: GPS data processed {"connection_id":160543,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:18:45] local.INFO: Acknowledgment sent {"connection_id":160543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:18:46] local.INFO: TCP Data received {"connection_id":160787,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:18:46] local.INFO: Processing buffer {"connection_id":160787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:18:46] local.INFO: IMEI packet received {"connection_id":160787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":160787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:18:51] local.INFO: TCP Data received {"connection_id":160787,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:18:51] local.INFO: Processing buffer {"connection_id":160787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:18:51] local.INFO: IMEI packet received {"connection_id":160787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":160787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:18:52] local.INFO: TCP Data received {"connection_id":160787,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:18:52] local.INFO: Processing buffer {"connection_id":160787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:18:52] local.INFO: Packet analysis {"connection_id":160787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:18:52] local.INFO: Extracted packet for processing {"connection_id":160787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:18:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593439744001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787474675000,"timestamp_ms":1787474675000,"timestamp_seconds":1787474675,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcb0538"} 
[2026-08-23 14:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 14:18:52] 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-08-23 14:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593439744001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593439744001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:18:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:18:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593439744001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":160787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:18:52] local.INFO: GPS data processed {"connection_id":160787,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:18:52] local.INFO: Acknowledgment sent {"connection_id":160787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:19:03] local.INFO: TCP Data received {"connection_id":163129,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:19:03] local.INFO: Processing buffer {"connection_id":163129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:19:03] local.INFO: IMEI packet received {"connection_id":163129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":163129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:19:08] local.INFO: TCP Data received {"connection_id":163129,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:19:08] local.INFO: Processing buffer {"connection_id":163129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:19:08] local.INFO: IMEI packet received {"connection_id":163129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":163129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:19:09] local.INFO: TCP Data received {"connection_id":163129,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc77af8012d7e180005d3be780000004414..."} 
[2026-08-23 14:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc77af8012d7e180005d3be780000004414..."} 
[2026-08-23 14:19:09] local.INFO: Processing buffer {"connection_id":163129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc77af8012d7e180005d3be780000004414..."} 
[2026-08-23 14:19:09] local.INFO: Packet analysis {"connection_id":163129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc7"} 
[2026-08-23 14:19:09] local.INFO: Extracted packet for processing {"connection_id":163129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc7"} 
[2026-08-23 14:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763238400,"raw_latitude":97762936,"longitude_deg":76.32384,"latitude_deg":9.7762936,"altitude":0,"angle":68,"satellites":20,"speed":0,"hex_longitude":"2d7e1800","hex_latitude":"05d3be78","is_valid_coordinates":true} 
[2026-08-23 14:19:09] 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-08-23 14:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593457408001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086012273247287296,"note":"Value kept but may cause issues"} 
[2026-08-23 14:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787474443000,"timestamp_ms":1787474443000,"timestamp_seconds":1787474443,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc77af8"} 
[2026-08-23 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-08-23 14:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 14:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 14:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593457408001,"66":13015,"110":206,"85":15104,"24":0,"16":122628368637100032,"45":9086012273247287296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593457408001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:19:09] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086012273247287296,"description":"Unknown IO ID 45"} 
[2026-08-23 14:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593457408001,"power":13015,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9086012273247287296}} 
[2026-08-23 14:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":163129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:19:09] local.INFO: GPS data processed {"connection_id":163129,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:19:09] local.INFO: Acknowledgment sent {"connection_id":163129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:19:24] local.INFO: TCP Data received {"connection_id":160787,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:19:24] local.INFO: Processing buffer {"connection_id":160787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:19:24] local.INFO: Packet analysis {"connection_id":160787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:19:24] local.INFO: Extracted packet for processing {"connection_id":160787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:19:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593439744001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787474675000,"timestamp_ms":1787474675000,"timestamp_seconds":1787474675,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcb0538"} 
[2026-08-23 14:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 14:19:24] 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-08-23 14:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593439744001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593439744001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:19:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:19:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593439744001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":160787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:19:24] local.INFO: GPS data processed {"connection_id":160787,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:19:24] local.INFO: Acknowledgment sent {"connection_id":160787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:19:29] local.INFO: TCP Data received {"connection_id":163130,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:19:29] local.INFO: Processing buffer {"connection_id":163130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:19:29] local.INFO: IMEI packet received {"connection_id":163130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":163130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:19:34] local.INFO: TCP Data received {"connection_id":163130,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:19:34] local.INFO: Processing buffer {"connection_id":163130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:19:34] local.INFO: IMEI packet received {"connection_id":163130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":163130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:19:35] local.INFO: TCP Data received {"connection_id":163130,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:19:35] local.INFO: Processing buffer {"connection_id":163130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:19:35] local.INFO: Packet analysis {"connection_id":163130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcd"} 
[2026-08-23 14:19:35] local.INFO: Extracted packet for processing {"connection_id":163130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcd"} 
[2026-08-23 14:19:35] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119532968,"longitude_deg":75.6639232,"latitude_deg":11.9532968,"altitude":61,"angle":89,"satellites":38,"speed":4,"hex_longitude":"2d196600","hex_latitude":"071feda8","is_valid_coordinates":true} 
[2026-08-23 14:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593554944001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173125120,"note":"Value kept but may cause issues"} 
[2026-08-23 14:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787474824000,"timestamp_ms":1787474824000,"timestamp_seconds":1787474824,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcd4b40"} 
[2026-08-23 14:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 14:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593554944001,"66":12841,"102":206,"83":41984,"24":4,"16":15547755841716224,"45":1830150329173125120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593554944001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:19:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:19:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173125120,"description":"Unknown IO ID 45"} 
[2026-08-23 14:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593554944001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1830150329173125120}} 
[2026-08-23 14:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":163130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:19:35] local.INFO: GPS data processed {"connection_id":163130,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:19:35] local.INFO: Acknowledgment sent {"connection_id":163130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:19:40] local.INFO: TCP Data received {"connection_id":163129,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc85d88012d7e160005d3beb00000004416..."} 
[2026-08-23 14:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc85d88012d7e160005d3beb00000004416..."} 
[2026-08-23 14:19:40] local.INFO: Processing buffer {"connection_id":163129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc85d88012d7e160005d3beb00000004416..."} 
[2026-08-23 14:19:40] local.INFO: Packet analysis {"connection_id":163129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc8"} 
[2026-08-23 14:19:40] local.INFO: Extracted packet for processing {"connection_id":163129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc8"} 
[2026-08-23 14:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763237888,"raw_latitude":97762992,"longitude_deg":76.3237888,"latitude_deg":9.7762992,"altitude":0,"angle":68,"satellites":22,"speed":0,"hex_longitude":"2d7e1600","hex_latitude":"05d3beb0","is_valid_coordinates":true} 
[2026-08-23 14:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593457408001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086012273247287296,"note":"Value kept but may cause issues"} 
[2026-08-23 14:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787474501000,"timestamp_ms":1787474501000,"timestamp_seconds":1787474501,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc85d88"} 
[2026-08-23 14:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 14:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593457408001,"66":12972,"110":206,"85":15104,"24":0,"16":122628368637100032,"45":9086012273247287296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593457408001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:19:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086012273247287296,"description":"Unknown IO ID 45"} 
[2026-08-23 14:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593457408001,"power":12972,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9086012273247287296}} 
[2026-08-23 14:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":163129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:19:40] local.INFO: GPS data processed {"connection_id":163129,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:19:40] local.INFO: Acknowledgment sent {"connection_id":163129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:19:51] local.INFO: TCP Data received {"connection_id":163131,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:19:51] local.INFO: Processing buffer {"connection_id":163131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:19:51] local.INFO: IMEI packet received {"connection_id":163131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":163131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:19:56] local.INFO: TCP Data received {"connection_id":163131,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:19:56] local.INFO: Processing buffer {"connection_id":163131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:19:56] local.INFO: IMEI packet received {"connection_id":163131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":163131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:19:57] local.INFO: TCP Data received {"connection_id":163131,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:19:57] local.INFO: Processing buffer {"connection_id":163131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:19:57] local.INFO: Packet analysis {"connection_id":163131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:19:57] local.INFO: Extracted packet for processing {"connection_id":163131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:19:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593439744001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787474675000,"timestamp_ms":1787474675000,"timestamp_seconds":1787474675,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcb0538"} 
[2026-08-23 14:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 14:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593439744001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593439744001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:19:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:19:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593439744001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":163131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:19:57] local.INFO: GPS data processed {"connection_id":163131,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:19:57] local.INFO: Acknowledgment sent {"connection_id":163131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:20:01] local.INFO: TCP Data received {"connection_id":163131,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:20:01] local.INFO: Processing buffer {"connection_id":163131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcb0538012d34c50006aa4098000e008522..."} 
[2026-08-23 14:20:01] local.INFO: Packet analysis {"connection_id":163131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:20:01] local.INFO: Extracted packet for processing {"connection_id":163131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:20:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593439744001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787474675000,"timestamp_ms":1787474675000,"timestamp_seconds":1787474675,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcb0538"} 
[2026-08-23 14:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 14:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":163131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":163131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":163131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593439744001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593439744001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:20:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:20:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593439744001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":163131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:20:01] local.INFO: GPS data processed {"connection_id":163131,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:20:01] local.INFO: Acknowledgment sent {"connection_id":163131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:20:03] local.INFO: TCP Data received {"connection_id":161727,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:20:03] local.INFO: Processing buffer {"connection_id":161727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:20:03] local.INFO: IMEI packet received {"connection_id":161727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":161727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:20:07] local.INFO: TCP Data received {"connection_id":163130,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:20:07] local.INFO: Processing buffer {"connection_id":163130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:20:07] local.INFO: Packet analysis {"connection_id":163130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcd"} 
[2026-08-23 14:20:07] local.INFO: Extracted packet for processing {"connection_id":163130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcd"} 
[2026-08-23 14:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119532968,"longitude_deg":75.6639232,"latitude_deg":11.9532968,"altitude":61,"angle":89,"satellites":38,"speed":4,"hex_longitude":"2d196600","hex_latitude":"071feda8","is_valid_coordinates":true} 
[2026-08-23 14:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593554944001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173125120,"note":"Value kept but may cause issues"} 
[2026-08-23 14:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787474824000,"timestamp_ms":1787474824000,"timestamp_seconds":1787474824,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcd4b40"} 
[2026-08-23 14:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 14:20:07] 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-08-23 14:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593554944001,"66":12841,"102":206,"83":41984,"24":4,"16":15547755841716224,"45":1830150329173125120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593554944001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:20:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:20:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173125120,"description":"Unknown IO ID 45"} 
[2026-08-23 14:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593554944001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1830150329173125120}} 
[2026-08-23 14:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":163130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:20:07] local.INFO: GPS data processed {"connection_id":163130,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:20:07] local.INFO: Acknowledgment sent {"connection_id":163130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:20:08] local.INFO: TCP Data received {"connection_id":161727,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:20:08] local.INFO: Processing buffer {"connection_id":161727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:20:08] local.INFO: IMEI packet received {"connection_id":161727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":161727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:20:09] local.INFO: TCP Data received {"connection_id":161727,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02dc85d88012d7e160005d3beb00000004416..."} 
[2026-08-23 14:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dc85d88012d7e160005d3beb00000004416..."} 
[2026-08-23 14:20:09] local.INFO: Processing buffer {"connection_id":161727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dc85d88012d7e160005d3beb00000004416..."} 
[2026-08-23 14:20:09] local.INFO: Packet analysis {"connection_id":161727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dc8"} 
[2026-08-23 14:20:09] local.INFO: Extracted packet for processing {"connection_id":161727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dc8"} 
[2026-08-23 14:20:09] local.INFO: GPS Element Parsed {"raw_longitude":763237888,"raw_latitude":97762992,"longitude_deg":76.3237888,"latitude_deg":9.7762992,"altitude":0,"angle":68,"satellites":22,"speed":0,"hex_longitude":"2d7e1600","hex_latitude":"05d3beb0","is_valid_coordinates":true} 
[2026-08-23 14:20: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-08-23 14:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593472256001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085449323293880320,"note":"Value kept but may cause issues"} 
[2026-08-23 14:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787474501000,"timestamp_ms":1787474501000,"timestamp_seconds":1787474501,"priority":1,"record_length":96,"hex_timestamp":"000001a02dc85d88"} 
[2026-08-23 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-08-23 14:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 14:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 14:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593472256001,"66":12972,"110":206,"85":15104,"24":0,"16":122628368637100032,"45":9085449323293880320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593472256001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:20:09] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085449323293880320,"description":"Unknown IO ID 45"} 
[2026-08-23 14:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593472256001,"power":12972,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085449323293880320}} 
[2026-08-23 14:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":161727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:20:09] local.INFO: GPS data processed {"connection_id":161727,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:20:09] local.INFO: Acknowledgment sent {"connection_id":161727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:20:29] local.INFO: TCP Data received {"connection_id":160544,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:20:29] local.INFO: Processing buffer {"connection_id":160544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:20:29] local.INFO: IMEI packet received {"connection_id":160544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":160544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:20:34] local.INFO: TCP Data received {"connection_id":160544,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:20:34] local.INFO: Processing buffer {"connection_id":160544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:20:34] local.INFO: IMEI packet received {"connection_id":160544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":160544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:20:35] local.INFO: TCP Data received {"connection_id":160544,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:20:35] local.INFO: Processing buffer {"connection_id":160544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:20:35] local.INFO: Packet analysis {"connection_id":160544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcd"} 
[2026-08-23 14:20:35] local.INFO: Extracted packet for processing {"connection_id":160544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcd"} 
[2026-08-23 14:20:35] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119532968,"longitude_deg":75.6639232,"latitude_deg":11.9532968,"altitude":61,"angle":89,"satellites":38,"speed":4,"hex_longitude":"2d196600","hex_latitude":"071feda8","is_valid_coordinates":true} 
[2026-08-23 14:20:35] 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-08-23 14:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593554944001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173125120,"note":"Value kept but may cause issues"} 
[2026-08-23 14:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787474824000,"timestamp_ms":1787474824000,"timestamp_seconds":1787474824,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcd4b40"} 
[2026-08-23 14:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 14:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593554944001,"66":12841,"102":206,"83":41984,"24":4,"16":15547755841716224,"45":1830150329173125120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593554944001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:20:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:20:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173125120,"description":"Unknown IO ID 45"} 
[2026-08-23 14:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593554944001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1830150329173125120}} 
[2026-08-23 14:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":160544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:20:35] local.INFO: GPS data processed {"connection_id":160544,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:20:35] local.INFO: Acknowledgment sent {"connection_id":160544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:20:41] local.INFO: TCP Data received {"connection_id":161727,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcb2478012d7e15c005d3bec0000000441c..."} 
[2026-08-23 14:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcb2478012d7e15c005d3bec0000000441c..."} 
[2026-08-23 14:20:41] local.INFO: Processing buffer {"connection_id":161727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcb2478012d7e15c005d3bec0000000441c..."} 
[2026-08-23 14:20:41] local.INFO: Packet analysis {"connection_id":161727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:20:41] local.INFO: Extracted packet for processing {"connection_id":161727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:20:41] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763008,"longitude_deg":76.3237824,"latitude_deg":9.7763008,"altitude":0,"angle":68,"satellites":28,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3bec0","is_valid_coordinates":true} 
[2026-08-23 14:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593472256001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085449323293880320,"note":"Value kept but may cause issues"} 
[2026-08-23 14:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787474683000,"timestamp_ms":1787474683000,"timestamp_seconds":1787474683,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcb2478"} 
[2026-08-23 14:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 14:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593472256001,"66":2209,"110":206,"85":15104,"24":0,"16":122628368637100032,"45":9085449323293880320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593472256001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:20:41] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085449323293880320,"description":"Unknown IO ID 45"} 
[2026-08-23 14:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593472256001,"power":2209,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085449323293880320}} 
[2026-08-23 14:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":161727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:20:41] local.INFO: GPS data processed {"connection_id":161727,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:20:41] local.INFO: Acknowledgment sent {"connection_id":161727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:20:46] local.INFO: TCP Data received {"connection_id":161728,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:20:46] local.INFO: Processing buffer {"connection_id":161728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:20:46] local.INFO: IMEI packet received {"connection_id":161728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":161728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:20:51] local.INFO: TCP Data received {"connection_id":161728,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:20:51] local.INFO: Processing buffer {"connection_id":161728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:20:51] local.INFO: IMEI packet received {"connection_id":161728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":161728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:20:52] local.INFO: TCP Data received {"connection_id":161728,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:20:52] local.INFO: Processing buffer {"connection_id":161728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:20:52] local.INFO: Packet analysis {"connection_id":161728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcf"} 
[2026-08-23 14:20:52] local.INFO: Extracted packet for processing {"connection_id":161728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcf"} 
[2026-08-23 14:20:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593516800001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787474976000,"timestamp_ms":1787474976000,"timestamp_seconds":1787474976,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcf9d00"} 
[2026-08-23 14:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:20:52] 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-08-23 14:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593516800001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593516800001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:20:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:20:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593516800001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":161728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:20:52] local.INFO: GPS data processed {"connection_id":161728,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:20:52] local.INFO: Acknowledgment sent {"connection_id":161728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:21:03] local.INFO: TCP Data received {"connection_id":163132,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:21:03] local.INFO: Processing buffer {"connection_id":163132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:21:03] local.INFO: IMEI packet received {"connection_id":163132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":163132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:21:03] local.INFO: TCP Data received {"connection_id":163132,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:21:03] local.INFO: Processing buffer {"connection_id":163132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:21:03] local.INFO: IMEI packet received {"connection_id":163132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":163132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:21:07] local.INFO: TCP Data received {"connection_id":160544,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:21:07] local.INFO: Processing buffer {"connection_id":160544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:21:07] local.INFO: Packet analysis {"connection_id":160544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcd"} 
[2026-08-23 14:21:07] local.INFO: Extracted packet for processing {"connection_id":160544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcd"} 
[2026-08-23 14:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119532968,"longitude_deg":75.6639232,"latitude_deg":11.9532968,"altitude":61,"angle":89,"satellites":38,"speed":4,"hex_longitude":"2d196600","hex_latitude":"071feda8","is_valid_coordinates":true} 
[2026-08-23 14:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593554944001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173125120,"note":"Value kept but may cause issues"} 
[2026-08-23 14:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787474824000,"timestamp_ms":1787474824000,"timestamp_seconds":1787474824,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcd4b40"} 
[2026-08-23 14:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 14:21:07] 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-08-23 14: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-08-23 14:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593554944001,"66":12841,"102":206,"83":41984,"24":4,"16":15547755841716224,"45":1830150329173125120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593554944001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:21:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173125120,"description":"Unknown IO ID 45"} 
[2026-08-23 14:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593554944001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1830150329173125120}} 
[2026-08-23 14:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":160544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:21:07] local.INFO: GPS data processed {"connection_id":160544,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:21:07] local.INFO: Acknowledgment sent {"connection_id":160544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:21:09] local.INFO: TCP Data received {"connection_id":163132,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:21:09] local.INFO: Processing buffer {"connection_id":163132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:21:09] local.INFO: IMEI packet received {"connection_id":163132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":163132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:21:09] local.INFO: TCP Data received {"connection_id":163132,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcb2860012d7e15c005d3bec0000000441c..."} 
[2026-08-23 14:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcb2860012d7e15c005d3bec0000000441c..."} 
[2026-08-23 14:21:09] local.INFO: Processing buffer {"connection_id":163132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcb2860012d7e15c005d3bec0000000441c..."} 
[2026-08-23 14:21:09] local.INFO: Packet analysis {"connection_id":163132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:21:09] local.INFO: Extracted packet for processing {"connection_id":163132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcb"} 
[2026-08-23 14:21:09] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763008,"longitude_deg":76.3237824,"latitude_deg":9.7763008,"altitude":0,"angle":68,"satellites":28,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3bec0","is_valid_coordinates":true} 
[2026-08-23 14:21: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-08-23 14:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593518848001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549706752,"note":"Value kept but may cause issues"} 
[2026-08-23 14:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787474684000,"timestamp_ms":1787474684000,"timestamp_seconds":1787474684,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcb2860"} 
[2026-08-23 14:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5888,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 14:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593518848001,"66":12689,"110":206,"85":15104,"24":0,"16":122628368637100032,"45":9085378954549706752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593518848001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:21:09] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:21:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549706752,"description":"Unknown IO ID 45"} 
[2026-08-23 14:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593518848001,"power":12689,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085378954549706752}} 
[2026-08-23 14:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":163132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:21:09] local.INFO: GPS data processed {"connection_id":163132,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:21:09] local.INFO: Acknowledgment sent {"connection_id":163132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:21:24] local.INFO: TCP Data received {"connection_id":161728,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:21:24] local.INFO: Processing buffer {"connection_id":161728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:21:24] local.INFO: Packet analysis {"connection_id":161728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcf"} 
[2026-08-23 14:21:24] local.INFO: Extracted packet for processing {"connection_id":161728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcf"} 
[2026-08-23 14:21:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593516800001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787474976000,"timestamp_ms":1787474976000,"timestamp_seconds":1787474976,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcf9d00"} 
[2026-08-23 14:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:21:24] 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-08-23 14:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593516800001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593516800001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:21:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:21:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593516800001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":161728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:21:24] local.INFO: GPS data processed {"connection_id":161728,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:21:24] local.INFO: Acknowledgment sent {"connection_id":161728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:21:34] local.INFO: TCP Data received {"connection_id":160545,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:21:34] local.INFO: Processing buffer {"connection_id":160545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:21:34] local.INFO: IMEI packet received {"connection_id":160545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":160545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:21:39] local.INFO: TCP Data received {"connection_id":160545,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:21:39] local.INFO: Processing buffer {"connection_id":160545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:21:39] local.INFO: IMEI packet received {"connection_id":160545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":160545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:21:40] local.INFO: TCP Data received {"connection_id":160545,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:21:40] local.INFO: Processing buffer {"connection_id":160545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:21:40] local.INFO: Packet analysis {"connection_id":160545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcd"} 
[2026-08-23 14:21:40] local.INFO: Extracted packet for processing {"connection_id":160545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcd"} 
[2026-08-23 14:21:40] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119532968,"longitude_deg":75.6639232,"latitude_deg":11.9532968,"altitude":61,"angle":89,"satellites":38,"speed":4,"hex_longitude":"2d196600","hex_latitude":"071feda8","is_valid_coordinates":true} 
[2026-08-23 14:21:40] 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-08-23 14:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593554944001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173125120,"note":"Value kept but may cause issues"} 
[2026-08-23 14:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787474824000,"timestamp_ms":1787474824000,"timestamp_seconds":1787474824,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcd4b40"} 
[2026-08-23 14:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 14:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593554944001,"66":12841,"102":206,"83":41984,"24":4,"16":15547755841716224,"45":1830150329173125120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593554944001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:21:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:21:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173125120,"description":"Unknown IO ID 45"} 
[2026-08-23 14:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593554944001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1830150329173125120}} 
[2026-08-23 14:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":160545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:21:40] local.INFO: GPS data processed {"connection_id":160545,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:21:40] local.INFO: Acknowledgment sent {"connection_id":160545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:21:40] local.INFO: TCP Data received {"connection_id":163132,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcc1a90012d7e15c005d3bec0000000441e..."} 
[2026-08-23 14:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcc1a90012d7e15c005d3bec0000000441e..."} 
[2026-08-23 14:21:40] local.INFO: Processing buffer {"connection_id":163132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcc1a90012d7e15c005d3bec0000000441e..."} 
[2026-08-23 14:21:40] local.INFO: Packet analysis {"connection_id":163132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcc"} 
[2026-08-23 14:21:40] local.INFO: Extracted packet for processing {"connection_id":163132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcc"} 
[2026-08-23 14:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763008,"longitude_deg":76.3237824,"latitude_deg":9.7763008,"altitude":0,"angle":68,"satellites":30,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3bec0","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593519104001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549706752,"note":"Value kept but may cause issues"} 
[2026-08-23 14:21:40] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-23 14:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787474746000,"timestamp_ms":1787474746000,"timestamp_seconds":1787474746,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcc1a90"} 
[2026-08-23 14:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5888,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-23 14:21:40] 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-08-23 14: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-08-23 14:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593519104001,"66":12613,"24":0,"16":122628368637100032,"45":9085378954549706752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-23 14:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593519104001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549706752,"description":"Unknown IO ID 45"} 
[2026-08-23 14:21:40] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457593519104001,"power":12613,"ignition":0,"odometer":null,"unknown_45":9085378954549706752}} 
[2026-08-23 14:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":163132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:21:41] local.INFO: GPS data processed {"connection_id":163132,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:21:41] local.INFO: Acknowledgment sent {"connection_id":163132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:21:45] local.INFO: TCP Data received {"connection_id":160545,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:21:45] local.INFO: Processing buffer {"connection_id":160545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:21:45] local.INFO: Packet analysis {"connection_id":160545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcd"} 
[2026-08-23 14:21:45] local.INFO: Extracted packet for processing {"connection_id":160545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcd"} 
[2026-08-23 14:21:45] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119532968,"longitude_deg":75.6639232,"latitude_deg":11.9532968,"altitude":61,"angle":89,"satellites":38,"speed":4,"hex_longitude":"2d196600","hex_latitude":"071feda8","is_valid_coordinates":true} 
[2026-08-23 14:21:45] 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-08-23 14:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593554944001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173125120,"note":"Value kept but may cause issues"} 
[2026-08-23 14:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787474824000,"timestamp_ms":1787474824000,"timestamp_seconds":1787474824,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcd4b40"} 
[2026-08-23 14:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 14:21:45] 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-08-23 14:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593554944001,"66":12841,"102":206,"83":41984,"24":4,"16":15547755841716224,"45":1830150329173125120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593554944001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:21:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:21:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173125120,"description":"Unknown IO ID 45"} 
[2026-08-23 14:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593554944001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1830150329173125120}} 
[2026-08-23 14:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":160545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:21:45] local.INFO: GPS data processed {"connection_id":160545,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:21:45] local.INFO: Acknowledgment sent {"connection_id":160545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:21:46] local.INFO: TCP Data received {"connection_id":160546,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:21:46] local.INFO: Processing buffer {"connection_id":160546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:21:46] local.INFO: IMEI packet received {"connection_id":160546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":160546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:21:51] local.INFO: TCP Data received {"connection_id":160546,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:21:51] local.INFO: Processing buffer {"connection_id":160546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:21:51] local.INFO: IMEI packet received {"connection_id":160546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":160546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:21:53] local.INFO: TCP Data received {"connection_id":160546,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:21:53] local.INFO: Processing buffer {"connection_id":160546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:21:53] local.INFO: Packet analysis {"connection_id":160546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcf"} 
[2026-08-23 14:21:53] local.INFO: Extracted packet for processing {"connection_id":160546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcf"} 
[2026-08-23 14:21:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593516800001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787474976000,"timestamp_ms":1787474976000,"timestamp_seconds":1787474976,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcf9d00"} 
[2026-08-23 14:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:21:53] 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-08-23 14:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593516800001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593516800001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:21:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:21:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593516800001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":160546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:21:53] local.INFO: GPS data processed {"connection_id":160546,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:21:53] local.INFO: Acknowledgment sent {"connection_id":160546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:22:03] local.INFO: TCP Data received {"connection_id":160788,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:22:03] local.INFO: Processing buffer {"connection_id":160788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:22:03] local.INFO: IMEI packet received {"connection_id":160788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":160788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:22:08] local.INFO: TCP Data received {"connection_id":160788,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:22:08] local.INFO: Processing buffer {"connection_id":160788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:22:08] local.INFO: IMEI packet received {"connection_id":160788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":160788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:22:09] local.INFO: TCP Data received {"connection_id":160788,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd0e908012d7e15c005d3bec00000004422..."} 
[2026-08-23 14:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd0e908012d7e15c005d3bec00000004422..."} 
[2026-08-23 14:22:09] local.INFO: Processing buffer {"connection_id":160788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd0e908012d7e15c005d3bec00000004422..."} 
[2026-08-23 14:22:09] local.INFO: Packet analysis {"connection_id":160788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd0"} 
[2026-08-23 14:22:09] local.INFO: Extracted packet for processing {"connection_id":160788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd0"} 
[2026-08-23 14:22:09] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763008,"longitude_deg":76.3237824,"latitude_deg":9.7763008,"altitude":0,"angle":68,"satellites":34,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3bec0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 14:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593534976001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549706752,"note":"Value kept but may cause issues"} 
[2026-08-23 14:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787475061000,"timestamp_ms":1787475061000,"timestamp_seconds":1787475061,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd0e908"} 
[2026-08-23 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-08-23 14:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7936,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-23 14:22:09] 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-08-23 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-08-23 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-08-23 14:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593534976001,"66":12461,"110":206,"85":15104,"24":0,"16":122628368637100032,"45":9085378954549706752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593534976001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:22:09] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:22:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549706752,"description":"Unknown IO ID 45"} 
[2026-08-23 14:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593534976001,"power":12461,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085378954549706752}} 
[2026-08-23 14:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":160788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:22:09] local.INFO: GPS data processed {"connection_id":160788,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:22:09] local.INFO: Acknowledgment sent {"connection_id":160788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:22:25] local.INFO: TCP Data received {"connection_id":160546,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:22:25] local.INFO: Processing buffer {"connection_id":160546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:22:25] local.INFO: Packet analysis {"connection_id":160546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcf"} 
[2026-08-23 14:22:25] local.INFO: Extracted packet for processing {"connection_id":160546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcf"} 
[2026-08-23 14:22:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593516800001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787474976000,"timestamp_ms":1787474976000,"timestamp_seconds":1787474976,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcf9d00"} 
[2026-08-23 14:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:22:25] 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-08-23 14:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593516800001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593516800001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:22:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:22:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593516800001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":160546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:22:25] local.INFO: GPS data processed {"connection_id":160546,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:22:25] local.INFO: Acknowledgment sent {"connection_id":160546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:22:29] local.INFO: TCP Data received {"connection_id":160547,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:22:29] local.INFO: Processing buffer {"connection_id":160547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:22:29] local.INFO: IMEI packet received {"connection_id":160547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":160547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:22:34] local.INFO: TCP Data received {"connection_id":160547,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:22:34] local.INFO: Processing buffer {"connection_id":160547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:22:34] local.INFO: IMEI packet received {"connection_id":160547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":160547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:22:35] local.INFO: TCP Data received {"connection_id":160547,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:22:35] local.INFO: Processing buffer {"connection_id":160547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcd4b40012d196600071feda8003d005926..."} 
[2026-08-23 14:22:35] local.INFO: Packet analysis {"connection_id":160547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcd"} 
[2026-08-23 14:22:35] local.INFO: Extracted packet for processing {"connection_id":160547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcd"} 
[2026-08-23 14:22:35] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119532968,"longitude_deg":75.6639232,"latitude_deg":11.9532968,"altitude":61,"angle":89,"satellites":38,"speed":4,"hex_longitude":"2d196600","hex_latitude":"071feda8","is_valid_coordinates":true} 
[2026-08-23 14:22:35] 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-08-23 14:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593554944001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173125120,"note":"Value kept but may cause issues"} 
[2026-08-23 14:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787474824000,"timestamp_ms":1787474824000,"timestamp_seconds":1787474824,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcd4b40"} 
[2026-08-23 14:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 14:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593554944001,"66":12841,"102":206,"83":41984,"24":4,"16":15547755841716224,"45":1830150329173125120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593554944001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:22:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:22:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173125120,"description":"Unknown IO ID 45"} 
[2026-08-23 14:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593554944001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1830150329173125120}} 
[2026-08-23 14:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":160547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:22:36] local.INFO: GPS data processed {"connection_id":160547,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:22:36] local.INFO: Acknowledgment sent {"connection_id":160547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:22:40] local.INFO: TCP Data received {"connection_id":160788,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd0e908012d7e15c005d3bec00000004422..."} 
[2026-08-23 14:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd0e908012d7e15c005d3bec00000004422..."} 
[2026-08-23 14:22:40] local.INFO: Processing buffer {"connection_id":160788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd0e908012d7e15c005d3bec00000004422..."} 
[2026-08-23 14:22:40] local.INFO: Packet analysis {"connection_id":160788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd0"} 
[2026-08-23 14:22:40] local.INFO: Extracted packet for processing {"connection_id":160788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd0"} 
[2026-08-23 14:22:40] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763008,"longitude_deg":76.3237824,"latitude_deg":9.7763008,"altitude":0,"angle":68,"satellites":34,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3bec0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 14:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593534976001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549706752,"note":"Value kept but may cause issues"} 
[2026-08-23 14:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787475061000,"timestamp_ms":1787475061000,"timestamp_seconds":1787475061,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd0e908"} 
[2026-08-23 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-08-23 14:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7936,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-23 14:22:40] 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-08-23 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-08-23 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-08-23 14:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593534976001,"66":12461,"110":206,"85":15104,"24":0,"16":122628368637100032,"45":9085378954549706752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593534976001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:22:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549706752,"description":"Unknown IO ID 45"} 
[2026-08-23 14:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593534976001,"power":12461,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085378954549706752}} 
[2026-08-23 14:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":160788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:22:40] local.INFO: GPS data processed {"connection_id":160788,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:22:40] local.INFO: Acknowledgment sent {"connection_id":160788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:22:46] local.INFO: TCP Data received {"connection_id":163133,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:22:46] local.INFO: Processing buffer {"connection_id":163133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:22:46] local.INFO: IMEI packet received {"connection_id":163133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":163133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:22:51] local.INFO: TCP Data received {"connection_id":163133,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:22:51] local.INFO: Processing buffer {"connection_id":163133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:22:51] local.INFO: IMEI packet received {"connection_id":163133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":163133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:22:52] local.INFO: TCP Data received {"connection_id":163133,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:22:52] local.INFO: Processing buffer {"connection_id":163133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:22:52] local.INFO: Packet analysis {"connection_id":163133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcf"} 
[2026-08-23 14:22:52] local.INFO: Extracted packet for processing {"connection_id":163133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcf"} 
[2026-08-23 14:22:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593516800001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787474976000,"timestamp_ms":1787474976000,"timestamp_seconds":1787474976,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcf9d00"} 
[2026-08-23 14:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:22:52] 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-08-23 14: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-08-23 14:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593516800001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593516800001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:22:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:22:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593516800001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":163133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:22:52] local.INFO: GPS data processed {"connection_id":163133,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:22:52] local.INFO: Acknowledgment sent {"connection_id":163133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:23:03] local.INFO: TCP Data received {"connection_id":163134,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:23:03] local.INFO: Processing buffer {"connection_id":163134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:23:03] local.INFO: IMEI packet received {"connection_id":163134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":163134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:23:07] local.INFO: TCP Data received {"connection_id":160547,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:23:07] local.INFO: Processing buffer {"connection_id":160547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:23:07] local.INFO: Packet analysis {"connection_id":160547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd1"} 
[2026-08-23 14:23:07] local.INFO: Extracted packet for processing {"connection_id":160547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd1"} 
[2026-08-23 14:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593554944001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173125120,"note":"Value kept but may cause issues"} 
[2026-08-23 14:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787475127000,"timestamp_ms":1787475127000,"timestamp_seconds":1787475127,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd1ead8"} 
[2026-08-23 14:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 14:23:07] 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-08-23 14: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-08-23 14:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593554944001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1830150329173125120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593554944001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:23:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173125120,"description":"Unknown IO ID 45"} 
[2026-08-23 14:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593554944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173125120}} 
[2026-08-23 14:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":160547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:23:07] local.INFO: GPS data processed {"connection_id":160547,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:23:07] local.INFO: Acknowledgment sent {"connection_id":160547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:23:08] local.INFO: TCP Data received {"connection_id":163134,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:23:08] local.INFO: Processing buffer {"connection_id":163134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:23:08] local.INFO: IMEI packet received {"connection_id":163134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":163134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:23:09] local.INFO: TCP Data received {"connection_id":163134,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd0e908012d7e15c005d3bec00000004422..."} 
[2026-08-23 14:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd0e908012d7e15c005d3bec00000004422..."} 
[2026-08-23 14:23:09] local.INFO: Processing buffer {"connection_id":163134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd0e908012d7e15c005d3bec00000004422..."} 
[2026-08-23 14:23:09] local.INFO: Packet analysis {"connection_id":163134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd0"} 
[2026-08-23 14:23:09] local.INFO: Extracted packet for processing {"connection_id":163134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd0"} 
[2026-08-23 14:23:09] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763008,"longitude_deg":76.3237824,"latitude_deg":9.7763008,"altitude":0,"angle":68,"satellites":34,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3bec0","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593534976001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549706752,"note":"Value kept but may cause issues"} 
[2026-08-23 14:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787475061000,"timestamp_ms":1787475061000,"timestamp_seconds":1787475061,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd0e908"} 
[2026-08-23 14:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7936,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-23 14:23:09] 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-08-23 14: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-08-23 14:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593534976001,"66":12461,"110":206,"85":15104,"24":0,"16":122628368637100032,"45":9085378954549706752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593534976001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:23:09] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:23:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549706752,"description":"Unknown IO ID 45"} 
[2026-08-23 14:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593534976001,"power":12461,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085378954549706752}} 
[2026-08-23 14:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":163134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:23:09] local.INFO: GPS data processed {"connection_id":163134,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:23:09] local.INFO: Acknowledgment sent {"connection_id":163134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:23:23] local.INFO: TCP Data received {"connection_id":163133,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:23:23] local.INFO: Processing buffer {"connection_id":163133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:23:23] local.INFO: Packet analysis {"connection_id":163133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcf"} 
[2026-08-23 14:23:23] local.INFO: Extracted packet for processing {"connection_id":163133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcf"} 
[2026-08-23 14:23:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593516800001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787474976000,"timestamp_ms":1787474976000,"timestamp_seconds":1787474976,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcf9d00"} 
[2026-08-23 14:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:23:23] 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-08-23 14:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593516800001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593516800001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:23:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:23:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593516800001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":163133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:23:23] local.INFO: GPS data processed {"connection_id":163133,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:23:23] local.INFO: Acknowledgment sent {"connection_id":163133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:23:29] local.INFO: TCP Data received {"connection_id":161729,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:23:29] local.INFO: Processing buffer {"connection_id":161729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:23:29] local.INFO: IMEI packet received {"connection_id":161729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":161729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:23:34] local.INFO: TCP Data received {"connection_id":161729,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:23:34] local.INFO: Processing buffer {"connection_id":161729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:23:34] local.INFO: IMEI packet received {"connection_id":161729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":161729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:23:35] local.INFO: TCP Data received {"connection_id":161729,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:23:35] local.INFO: Processing buffer {"connection_id":161729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:23:35] local.INFO: Packet analysis {"connection_id":161729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd1"} 
[2026-08-23 14:23:35] local.INFO: Extracted packet for processing {"connection_id":161729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd1"} 
[2026-08-23 14:23:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593554944001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173125120,"note":"Value kept but may cause issues"} 
[2026-08-23 14:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787475127000,"timestamp_ms":1787475127000,"timestamp_seconds":1787475127,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd1ead8"} 
[2026-08-23 14:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 14:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593554944001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1830150329173125120},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593554944001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:23:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:23:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173125120,"description":"Unknown IO ID 45"} 
[2026-08-23 14:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593554944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173125120}} 
[2026-08-23 14:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":161729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:23:35] local.INFO: GPS data processed {"connection_id":161729,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:23:35] local.INFO: Acknowledgment sent {"connection_id":161729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:23:40] local.INFO: TCP Data received {"connection_id":163134,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd0e908012d7e15c005d3bec00000004422..."} 
[2026-08-23 14:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd0e908012d7e15c005d3bec00000004422..."} 
[2026-08-23 14:23:40] local.INFO: Processing buffer {"connection_id":163134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd0e908012d7e15c005d3bec00000004422..."} 
[2026-08-23 14:23:40] local.INFO: Packet analysis {"connection_id":163134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd0"} 
[2026-08-23 14:23:40] local.INFO: Extracted packet for processing {"connection_id":163134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd0"} 
[2026-08-23 14:23:40] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763008,"longitude_deg":76.3237824,"latitude_deg":9.7763008,"altitude":0,"angle":68,"satellites":34,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3bec0","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593534976001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549706752,"note":"Value kept but may cause issues"} 
[2026-08-23 14:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787475061000,"timestamp_ms":1787475061000,"timestamp_seconds":1787475061,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd0e908"} 
[2026-08-23 14:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7936,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-23 14:23:40] 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-08-23 14: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-08-23 14:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593534976001,"66":12461,"110":206,"85":15104,"24":0,"16":122628368637100032,"45":9085378954549706752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593534976001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:23:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549706752,"description":"Unknown IO ID 45"} 
[2026-08-23 14:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593534976001,"power":12461,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085378954549706752}} 
[2026-08-23 14:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":163134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:23:40] local.INFO: GPS data processed {"connection_id":163134,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:23:40] local.INFO: Acknowledgment sent {"connection_id":163134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:23:51] local.INFO: TCP Data received {"connection_id":161730,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:23:51] local.INFO: Processing buffer {"connection_id":161730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:23:51] local.INFO: IMEI packet received {"connection_id":161730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":161730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:23:56] local.INFO: TCP Data received {"connection_id":161730,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:23:56] local.INFO: Processing buffer {"connection_id":161730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:23:56] local.INFO: IMEI packet received {"connection_id":161730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":161730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:23:57] local.INFO: TCP Data received {"connection_id":161730,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:23:57] local.INFO: Processing buffer {"connection_id":161730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:23:57] local.INFO: Packet analysis {"connection_id":161730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcf"} 
[2026-08-23 14:23:57] local.INFO: Extracted packet for processing {"connection_id":161730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcf"} 
[2026-08-23 14:23:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593516800001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787474976000,"timestamp_ms":1787474976000,"timestamp_seconds":1787474976,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcf9d00"} 
[2026-08-23 14:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:23:57] 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-08-23 14:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:23:57] 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-08-23 14:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593516800001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593516800001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:23:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:23:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593516800001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":161730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:23:57] local.INFO: GPS data processed {"connection_id":161730,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:23:57] local.INFO: Acknowledgment sent {"connection_id":161730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:24:01] local.INFO: TCP Data received {"connection_id":161730,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:24:01] local.INFO: Processing buffer {"connection_id":161730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:24:01] local.INFO: Packet analysis {"connection_id":161730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcf"} 
[2026-08-23 14:24:01] local.INFO: Extracted packet for processing {"connection_id":161730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcf"} 
[2026-08-23 14:24:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593516800001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787474976000,"timestamp_ms":1787474976000,"timestamp_seconds":1787474976,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcf9d00"} 
[2026-08-23 14:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:24:01] 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-08-23 14:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593516800001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593516800001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:24:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:24:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593516800001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":161730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:24:01] local.INFO: GPS data processed {"connection_id":161730,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:24:01] local.INFO: Acknowledgment sent {"connection_id":161730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:24:03] local.INFO: TCP Data received {"connection_id":161731,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:24:03] local.INFO: Processing buffer {"connection_id":161731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:24:03] local.INFO: IMEI packet received {"connection_id":161731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":161731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:24:06] local.INFO: TCP Data received {"connection_id":161729,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:24:06] local.INFO: Processing buffer {"connection_id":161729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:24:06] local.INFO: Packet analysis {"connection_id":161729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd1"} 
[2026-08-23 14:24:06] local.INFO: Extracted packet for processing {"connection_id":161729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd1"} 
[2026-08-23 14:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593554944001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173125120,"note":"Value kept but may cause issues"} 
[2026-08-23 14:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787475127000,"timestamp_ms":1787475127000,"timestamp_seconds":1787475127,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd1ead8"} 
[2026-08-23 14:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 14:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593554944001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1830150329173125120},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593554944001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:24:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173125120,"description":"Unknown IO ID 45"} 
[2026-08-23 14:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593554944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173125120}} 
[2026-08-23 14:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":161729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:24:06] local.INFO: GPS data processed {"connection_id":161729,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:24:06] local.INFO: Acknowledgment sent {"connection_id":161729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:24:08] local.INFO: TCP Data received {"connection_id":161731,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161731,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:24:08] local.INFO: Processing buffer {"connection_id":161731,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:24:08] local.INFO: IMEI packet received {"connection_id":161731,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":161731,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:24:09] local.INFO: TCP Data received {"connection_id":161731,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd0e908012d7e15c005d3bec00000004422..."} 
[2026-08-23 14:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd0e908012d7e15c005d3bec00000004422..."} 
[2026-08-23 14:24:09] local.INFO: Processing buffer {"connection_id":161731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd0e908012d7e15c005d3bec00000004422..."} 
[2026-08-23 14:24:09] local.INFO: Packet analysis {"connection_id":161731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd0"} 
[2026-08-23 14:24:09] local.INFO: Extracted packet for processing {"connection_id":161731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd0"} 
[2026-08-23 14:24:09] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763008,"longitude_deg":76.3237824,"latitude_deg":9.7763008,"altitude":0,"angle":68,"satellites":34,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3bec0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 14:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593534976001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549706752,"note":"Value kept but may cause issues"} 
[2026-08-23 14:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787475061000,"timestamp_ms":1787475061000,"timestamp_seconds":1787475061,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd0e908"} 
[2026-08-23 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-08-23 14:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7936,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-23 14:24:09] 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-08-23 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-08-23 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-08-23 14:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593534976001,"66":12461,"110":206,"85":15104,"24":0,"16":122628368637100032,"45":9085378954549706752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593534976001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:24:09] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:24:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549706752,"description":"Unknown IO ID 45"} 
[2026-08-23 14:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593534976001,"power":12461,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085378954549706752}} 
[2026-08-23 14:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":161731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:24:09] local.INFO: GPS data processed {"connection_id":161731,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:24:09] local.INFO: Acknowledgment sent {"connection_id":161731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:24:30] local.INFO: TCP Data received {"connection_id":160548,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:24:30] local.INFO: Processing buffer {"connection_id":160548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:24:30] local.INFO: IMEI packet received {"connection_id":160548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":160548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:24:34] local.INFO: TCP Data received {"connection_id":160548,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:24:34] local.INFO: Processing buffer {"connection_id":160548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:24:34] local.INFO: IMEI packet received {"connection_id":160548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":160548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:24:35] local.INFO: TCP Data received {"connection_id":160548,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:24:35] local.INFO: Processing buffer {"connection_id":160548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:24:35] local.INFO: Packet analysis {"connection_id":160548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd1"} 
[2026-08-23 14:24:35] local.INFO: Extracted packet for processing {"connection_id":160548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd1"} 
[2026-08-23 14:24:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593554944001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173125120,"note":"Value kept but may cause issues"} 
[2026-08-23 14:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787475127000,"timestamp_ms":1787475127000,"timestamp_seconds":1787475127,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd1ead8"} 
[2026-08-23 14:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 14:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593554944001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1830150329173125120},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593554944001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:24:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:24:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173125120,"description":"Unknown IO ID 45"} 
[2026-08-23 14:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593554944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173125120}} 
[2026-08-23 14:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":160548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:24:35] local.INFO: GPS data processed {"connection_id":160548,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:24:35] local.INFO: Acknowledgment sent {"connection_id":160548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:24:40] local.INFO: TCP Data received {"connection_id":161731,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd0e908012d7e15c005d3bec00000004422..."} 
[2026-08-23 14:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd0e908012d7e15c005d3bec00000004422..."} 
[2026-08-23 14:24:40] local.INFO: Processing buffer {"connection_id":161731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd0e908012d7e15c005d3bec00000004422..."} 
[2026-08-23 14:24:40] local.INFO: Packet analysis {"connection_id":161731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd0"} 
[2026-08-23 14:24:40] local.INFO: Extracted packet for processing {"connection_id":161731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd0"} 
[2026-08-23 14:24:40] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763008,"longitude_deg":76.3237824,"latitude_deg":9.7763008,"altitude":0,"angle":68,"satellites":34,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3bec0","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593534976001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549706752,"note":"Value kept but may cause issues"} 
[2026-08-23 14:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787475061000,"timestamp_ms":1787475061000,"timestamp_seconds":1787475061,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd0e908"} 
[2026-08-23 14:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7936,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-23 14:24:40] 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-08-23 14: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-08-23 14:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161731,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593534976001,"66":12461,"110":206,"85":15104,"24":0,"16":122628368637100032,"45":9085378954549706752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593534976001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:24:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:24:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549706752,"description":"Unknown IO ID 45"} 
[2026-08-23 14:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593534976001,"power":12461,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085378954549706752}} 
[2026-08-23 14:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":161731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:24:40] local.INFO: GPS data processed {"connection_id":161731,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:24:40] local.INFO: Acknowledgment sent {"connection_id":161731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:24:46] local.INFO: TCP Data received {"connection_id":160789,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:24:46] local.INFO: Processing buffer {"connection_id":160789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:24:46] local.INFO: IMEI packet received {"connection_id":160789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":160789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:24:51] local.INFO: TCP Data received {"connection_id":160789,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:24:51] local.INFO: Processing buffer {"connection_id":160789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:24:51] local.INFO: IMEI packet received {"connection_id":160789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":160789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:24:52] local.INFO: TCP Data received {"connection_id":160789,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:24:52] local.INFO: Processing buffer {"connection_id":160789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dcf9d00012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:24:52] local.INFO: Packet analysis {"connection_id":160789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dcf"} 
[2026-08-23 14:24:52] local.INFO: Extracted packet for processing {"connection_id":160789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dcf"} 
[2026-08-23 14:24:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593516800001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787474976000,"timestamp_ms":1787474976000,"timestamp_seconds":1787474976,"priority":1,"record_length":96,"hex_timestamp":"000001a02dcf9d00"} 
[2026-08-23 14:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:24:52] 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-08-23 14:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593516800001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593516800001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:24:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:24:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593516800001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":160789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:24:52] local.INFO: GPS data processed {"connection_id":160789,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:24:52] local.INFO: Acknowledgment sent {"connection_id":160789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:25:07] local.INFO: TCP Data received {"connection_id":160548,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:25:07] local.INFO: Processing buffer {"connection_id":160548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:25:07] local.INFO: Packet analysis {"connection_id":160548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd1"} 
[2026-08-23 14:25:07] local.INFO: Extracted packet for processing {"connection_id":160548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd1"} 
[2026-08-23 14:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593554944001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173125120,"note":"Value kept but may cause issues"} 
[2026-08-23 14:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787475127000,"timestamp_ms":1787475127000,"timestamp_seconds":1787475127,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd1ead8"} 
[2026-08-23 14:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 14:25:07] 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-08-23 14:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593554944001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1830150329173125120},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593554944001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:25:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173125120,"description":"Unknown IO ID 45"} 
[2026-08-23 14:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593554944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173125120}} 
[2026-08-23 14:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":160548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:25:07] local.INFO: GPS data processed {"connection_id":160548,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:25:07] local.INFO: Acknowledgment sent {"connection_id":160548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:25:24] local.INFO: TCP Data received {"connection_id":160789,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:25:24] local.INFO: Processing buffer {"connection_id":160789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:25:24] local.INFO: Packet analysis {"connection_id":160789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:25:24] local.INFO: Extracted packet for processing {"connection_id":160789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:25:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593593856001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787475277000,"timestamp_ms":1787475277000,"timestamp_seconds":1787475277,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd434c8"} 
[2026-08-23 14:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:25:24] 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-08-23 14:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593593856001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593593856001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:25:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:25:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593593856001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":160789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:25:24] local.INFO: GPS data processed {"connection_id":160789,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:25:24] local.INFO: Acknowledgment sent {"connection_id":160789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:25:29] local.INFO: TCP Data received {"connection_id":160549,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:25:29] local.INFO: Processing buffer {"connection_id":160549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:25:29] local.INFO: IMEI packet received {"connection_id":160549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":160549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:25:34] local.INFO: TCP Data received {"connection_id":160549,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:25:34] local.INFO: Processing buffer {"connection_id":160549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:25:34] local.INFO: IMEI packet received {"connection_id":160549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":160549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:25:35] local.INFO: TCP Data received {"connection_id":160549,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:25:35] local.INFO: Processing buffer {"connection_id":160549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:25:35] local.INFO: Packet analysis {"connection_id":160549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd1"} 
[2026-08-23 14:25:35] local.INFO: Extracted packet for processing {"connection_id":160549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd1"} 
[2026-08-23 14:25:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593554944001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173125120,"note":"Value kept but may cause issues"} 
[2026-08-23 14:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787475127000,"timestamp_ms":1787475127000,"timestamp_seconds":1787475127,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd1ead8"} 
[2026-08-23 14:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 14:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593554944001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1830150329173125120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593554944001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:25:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:25:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173125120,"description":"Unknown IO ID 45"} 
[2026-08-23 14:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593554944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173125120}} 
[2026-08-23 14:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":160549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:25:35] local.INFO: GPS data processed {"connection_id":160549,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:25:35] local.INFO: Acknowledgment sent {"connection_id":160549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:25:46] local.INFO: TCP Data received {"connection_id":160790,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:25:46] local.INFO: Processing buffer {"connection_id":160790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:25:46] local.INFO: IMEI packet received {"connection_id":160790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":160790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:25:51] local.INFO: TCP Data received {"connection_id":160790,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:25:51] local.INFO: Processing buffer {"connection_id":160790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:25:51] local.INFO: IMEI packet received {"connection_id":160790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":160790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:25:52] local.INFO: TCP Data received {"connection_id":160790,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:25:52] local.INFO: Processing buffer {"connection_id":160790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:25:52] local.INFO: Packet analysis {"connection_id":160790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:25:52] local.INFO: Extracted packet for processing {"connection_id":160790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593593856001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787475277000,"timestamp_ms":1787475277000,"timestamp_seconds":1787475277,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd434c8"} 
[2026-08-23 14:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:25:52] 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-08-23 14:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593593856001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593593856001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:25:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593593856001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":160790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:25:52] local.INFO: GPS data processed {"connection_id":160790,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:25:52] local.INFO: Acknowledgment sent {"connection_id":160790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:26:06] local.INFO: TCP Data received {"connection_id":160549,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:26:06] local.INFO: Processing buffer {"connection_id":160549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:26:06] local.INFO: Packet analysis {"connection_id":160549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd1"} 
[2026-08-23 14:26:06] local.INFO: Extracted packet for processing {"connection_id":160549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd1"} 
[2026-08-23 14:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593554944001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173125120,"note":"Value kept but may cause issues"} 
[2026-08-23 14:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787475127000,"timestamp_ms":1787475127000,"timestamp_seconds":1787475127,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd1ead8"} 
[2026-08-23 14:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 14:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593554944001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1830150329173125120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593554944001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:26:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173125120,"description":"Unknown IO ID 45"} 
[2026-08-23 14:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593554944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173125120}} 
[2026-08-23 14:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":160549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:26:06] local.INFO: GPS data processed {"connection_id":160549,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:26:06] local.INFO: Acknowledgment sent {"connection_id":160549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:26:23] local.INFO: TCP Data received {"connection_id":160790,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:26:23] local.INFO: Processing buffer {"connection_id":160790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:26:23] local.INFO: Packet analysis {"connection_id":160790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:26:23] local.INFO: Extracted packet for processing {"connection_id":160790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:26:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593593856001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787475277000,"timestamp_ms":1787475277000,"timestamp_seconds":1787475277,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd434c8"} 
[2026-08-23 14:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:26:23] 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-08-23 14:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593593856001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593593856001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:26:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:26:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593593856001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":160790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:26:23] local.INFO: GPS data processed {"connection_id":160790,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:26:23] local.INFO: Acknowledgment sent {"connection_id":160790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:26:34] local.INFO: TCP Data received {"connection_id":160550,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:26:34] local.INFO: Processing buffer {"connection_id":160550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:26:34] local.INFO: IMEI packet received {"connection_id":160550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":160550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:26:39] local.INFO: TCP Data received {"connection_id":160550,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:26:39] local.INFO: Processing buffer {"connection_id":160550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:26:39] local.INFO: IMEI packet received {"connection_id":160550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":160550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:26:40] local.INFO: TCP Data received {"connection_id":160550,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:26:40] local.INFO: Processing buffer {"connection_id":160550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:26:40] local.INFO: Packet analysis {"connection_id":160550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd1"} 
[2026-08-23 14:26:40] local.INFO: Extracted packet for processing {"connection_id":160550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd1"} 
[2026-08-23 14:26:40] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593554944001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173125120,"note":"Value kept but may cause issues"} 
[2026-08-23 14:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787475127000,"timestamp_ms":1787475127000,"timestamp_seconds":1787475127,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd1ead8"} 
[2026-08-23 14:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 14:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593554944001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1830150329173125120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593554944001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:26:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:26:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173125120,"description":"Unknown IO ID 45"} 
[2026-08-23 14:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593554944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173125120}} 
[2026-08-23 14:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":160550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:26:40] local.INFO: GPS data processed {"connection_id":160550,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:26:40] local.INFO: Acknowledgment sent {"connection_id":160550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:26:45] local.INFO: TCP Data received {"connection_id":160550,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:26:45] local.INFO: Processing buffer {"connection_id":160550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:26:45] local.INFO: Packet analysis {"connection_id":160550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd1"} 
[2026-08-23 14:26:45] local.INFO: Extracted packet for processing {"connection_id":160550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd1"} 
[2026-08-23 14:26:45] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 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-08-23 14:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593554944001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173125120,"note":"Value kept but may cause issues"} 
[2026-08-23 14:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787475127000,"timestamp_ms":1787475127000,"timestamp_seconds":1787475127,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd1ead8"} 
[2026-08-23 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-08-23 14:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 14:26:45] 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-08-23 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-08-23 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-08-23 14:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593554944001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1830150329173125120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593554944001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:26:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:26:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173125120,"description":"Unknown IO ID 45"} 
[2026-08-23 14:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593554944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173125120}} 
[2026-08-23 14:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":160550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:26:45] local.INFO: GPS data processed {"connection_id":160550,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:26:45] local.INFO: Acknowledgment sent {"connection_id":160550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:26:51] local.INFO: TCP Data received {"connection_id":163135,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:26:51] local.INFO: Processing buffer {"connection_id":163135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:26:51] local.INFO: IMEI packet received {"connection_id":163135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":163135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:26:56] local.INFO: TCP Data received {"connection_id":163135,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:26:56] local.INFO: Processing buffer {"connection_id":163135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:26:56] local.INFO: IMEI packet received {"connection_id":163135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":163135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:26:57] local.INFO: TCP Data received {"connection_id":163135,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:26:57] local.INFO: Processing buffer {"connection_id":163135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:26:57] local.INFO: Packet analysis {"connection_id":163135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:26:57] local.INFO: Extracted packet for processing {"connection_id":163135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:26:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593593856001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787475277000,"timestamp_ms":1787475277000,"timestamp_seconds":1787475277,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd434c8"} 
[2026-08-23 14:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593593856001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593593856001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:26:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:26:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593593856001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":163135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:26:57] local.INFO: GPS data processed {"connection_id":163135,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:26:57] local.INFO: Acknowledgment sent {"connection_id":163135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:27:02] local.INFO: TCP Data received {"connection_id":163135,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:27:02] local.INFO: Processing buffer {"connection_id":163135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:27:02] local.INFO: Packet analysis {"connection_id":163135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:27:02] local.INFO: Extracted packet for processing {"connection_id":163135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:27:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593593856001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787475277000,"timestamp_ms":1787475277000,"timestamp_seconds":1787475277,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd434c8"} 
[2026-08-23 14:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593593856001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593593856001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:27:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:27:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593593856001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":163135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:27:02] local.INFO: GPS data processed {"connection_id":163135,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:27:02] local.INFO: Acknowledgment sent {"connection_id":163135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:27:29] local.INFO: TCP Data received {"connection_id":161732,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:27:29] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:27:29] local.INFO: IMEI packet received {"connection_id":161732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":161732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:27:34] local.INFO: TCP Data received {"connection_id":161732,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:27:34] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:27:34] local.INFO: IMEI packet received {"connection_id":161732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":161732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:27:35] local.INFO: TCP Data received {"connection_id":161732,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:27:35] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd1ead8012d196940071fed78003d005927..."} 
[2026-08-23 14:27:35] local.INFO: Packet analysis {"connection_id":161732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd1"} 
[2026-08-23 14:27:35] local.INFO: Extracted packet for processing {"connection_id":161732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd1"} 
[2026-08-23 14:27:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593554944001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173125120,"note":"Value kept but may cause issues"} 
[2026-08-23 14:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787475127000,"timestamp_ms":1787475127000,"timestamp_seconds":1787475127,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd1ead8"} 
[2026-08-23 14:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 14:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593554944001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1830150329173125120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593554944001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:27:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:27:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173125120,"description":"Unknown IO ID 45"} 
[2026-08-23 14:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593554944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173125120}} 
[2026-08-23 14:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":161732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:27:36] local.INFO: GPS data processed {"connection_id":161732,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:27:36] local.INFO: Acknowledgment sent {"connection_id":161732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:27:46] local.INFO: TCP Data received {"connection_id":160791,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:27:46] local.INFO: Processing buffer {"connection_id":160791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:27:46] local.INFO: IMEI packet received {"connection_id":160791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":160791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:27:51] local.INFO: TCP Data received {"connection_id":160791,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:27:51] local.INFO: Processing buffer {"connection_id":160791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:27:51] local.INFO: IMEI packet received {"connection_id":160791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":160791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:27:53] local.INFO: TCP Data received {"connection_id":160791,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:27:53] local.INFO: Processing buffer {"connection_id":160791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:27:53] local.INFO: Packet analysis {"connection_id":160791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:27:53] local.INFO: Extracted packet for processing {"connection_id":160791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:27:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593593856001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787475277000,"timestamp_ms":1787475277000,"timestamp_seconds":1787475277,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd434c8"} 
[2026-08-23 14:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:27:53] 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-08-23 14:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593593856001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593593856001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:27:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:27:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593593856001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":160791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:27:53] local.INFO: GPS data processed {"connection_id":160791,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:27:53] local.INFO: Acknowledgment sent {"connection_id":160791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:28:07] local.INFO: TCP Data received {"connection_id":161732,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:28:07] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:28:07] local.INFO: Packet analysis {"connection_id":161732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:28:07] local.INFO: Extracted packet for processing {"connection_id":161732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593632512001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787475428000,"timestamp_ms":1787475428000,"timestamp_seconds":1787475428,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd682a0"} 
[2026-08-23 14:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593632512001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593632512001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:28:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:28:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593632512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":161732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:28:07] local.INFO: GPS data processed {"connection_id":161732,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:28:07] local.INFO: Acknowledgment sent {"connection_id":161732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:28:24] local.INFO: TCP Data received {"connection_id":160791,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:28:24] local.INFO: Processing buffer {"connection_id":160791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:28:24] local.INFO: Packet analysis {"connection_id":160791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:28:24] local.INFO: Extracted packet for processing {"connection_id":160791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:28:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593593856001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787475277000,"timestamp_ms":1787475277000,"timestamp_seconds":1787475277,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd434c8"} 
[2026-08-23 14:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:28:24] 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-08-23 14:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593593856001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593593856001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:28:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:28:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593593856001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":160791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:28:24] local.INFO: GPS data processed {"connection_id":160791,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:28:24] local.INFO: Acknowledgment sent {"connection_id":160791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:28:29] local.INFO: TCP Data received {"connection_id":160792,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:28:29] local.INFO: Processing buffer {"connection_id":160792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:28:29] local.INFO: IMEI packet received {"connection_id":160792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":160792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:28:34] local.INFO: TCP Data received {"connection_id":160792,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:28:34] local.INFO: Processing buffer {"connection_id":160792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:28:34] local.INFO: IMEI packet received {"connection_id":160792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":160792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:28:35] local.INFO: TCP Data received {"connection_id":160792,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:28:35] local.INFO: Processing buffer {"connection_id":160792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:28:35] local.INFO: Packet analysis {"connection_id":160792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:28:35] local.INFO: Extracted packet for processing {"connection_id":160792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:28:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593632512001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787475428000,"timestamp_ms":1787475428000,"timestamp_seconds":1787475428,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd682a0"} 
[2026-08-23 14:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593632512001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593632512001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:28:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:28:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593632512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":160792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:28:35] local.INFO: GPS data processed {"connection_id":160792,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:28:35] local.INFO: Acknowledgment sent {"connection_id":160792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:28:46] local.INFO: TCP Data received {"connection_id":163136,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:28:46] local.INFO: Processing buffer {"connection_id":163136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:28:46] local.INFO: IMEI packet received {"connection_id":163136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":163136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:28:51] local.INFO: TCP Data received {"connection_id":163136,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:28:51] local.INFO: Processing buffer {"connection_id":163136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:28:51] local.INFO: IMEI packet received {"connection_id":163136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":163136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:28:52] local.INFO: TCP Data received {"connection_id":163136,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:28:52] local.INFO: Processing buffer {"connection_id":163136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:28:52] local.INFO: Packet analysis {"connection_id":163136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:28:52] local.INFO: Extracted packet for processing {"connection_id":163136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:28:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:28: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-08-23 14:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593593856001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787475277000,"timestamp_ms":1787475277000,"timestamp_seconds":1787475277,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd434c8"} 
[2026-08-23 14:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:28:52] 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-08-23 14:28: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-08-23 14:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593593856001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593593856001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:28:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:28:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593593856001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":163136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:28:52] local.INFO: GPS data processed {"connection_id":163136,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:28:52] local.INFO: Acknowledgment sent {"connection_id":163136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:29:07] local.INFO: TCP Data received {"connection_id":160792,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:29:07] local.INFO: Processing buffer {"connection_id":160792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:29:07] local.INFO: Packet analysis {"connection_id":160792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:29:07] local.INFO: Extracted packet for processing {"connection_id":160792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593632512001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787475428000,"timestamp_ms":1787475428000,"timestamp_seconds":1787475428,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd682a0"} 
[2026-08-23 14:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593632512001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593632512001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:29:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:29:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593632512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":160792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:29:07] local.INFO: GPS data processed {"connection_id":160792,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:29:07] local.INFO: Acknowledgment sent {"connection_id":160792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:29:23] local.INFO: TCP Data received {"connection_id":163136,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:29:23] local.INFO: Processing buffer {"connection_id":163136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:29:23] local.INFO: Packet analysis {"connection_id":163136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:29:23] local.INFO: Extracted packet for processing {"connection_id":163136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:29:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593593856001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787475277000,"timestamp_ms":1787475277000,"timestamp_seconds":1787475277,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd434c8"} 
[2026-08-23 14:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:29:23] 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-08-23 14:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593593856001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593593856001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:29:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:29:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593593856001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":163136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:29:23] local.INFO: GPS data processed {"connection_id":163136,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:29:23] local.INFO: Acknowledgment sent {"connection_id":163136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:29:30] local.INFO: TCP Data received {"connection_id":161733,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:29:30] local.INFO: Processing buffer {"connection_id":161733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:29:30] local.INFO: IMEI packet received {"connection_id":161733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":161733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:29:34] local.INFO: TCP Data received {"connection_id":161733,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:29:34] local.INFO: Processing buffer {"connection_id":161733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:29:34] local.INFO: IMEI packet received {"connection_id":161733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":161733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:29:35] local.INFO: TCP Data received {"connection_id":161733,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:29:35] local.INFO: Processing buffer {"connection_id":161733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:29:35] local.INFO: Packet analysis {"connection_id":161733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:29:35] local.INFO: Extracted packet for processing {"connection_id":161733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:29:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593632512001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787475428000,"timestamp_ms":1787475428000,"timestamp_seconds":1787475428,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd682a0"} 
[2026-08-23 14:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593632512001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593632512001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:29:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:29:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593632512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":161733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:29:36] local.INFO: GPS data processed {"connection_id":161733,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:29:36] local.INFO: Acknowledgment sent {"connection_id":161733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:29:46] local.INFO: TCP Data received {"connection_id":160793,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:29:46] local.INFO: Processing buffer {"connection_id":160793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:29:46] local.INFO: IMEI packet received {"connection_id":160793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":160793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:29:51] local.INFO: TCP Data received {"connection_id":160793,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:29:51] local.INFO: Processing buffer {"connection_id":160793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:29:51] local.INFO: IMEI packet received {"connection_id":160793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":160793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:29:52] local.INFO: TCP Data received {"connection_id":160793,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:29:52] local.INFO: Processing buffer {"connection_id":160793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd434c8012d34c50006aa4098000e008522..."} 
[2026-08-23 14:29:52] local.INFO: Packet analysis {"connection_id":160793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:29:52] local.INFO: Extracted packet for processing {"connection_id":160793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593593856001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787475277000,"timestamp_ms":1787475277000,"timestamp_seconds":1787475277,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd434c8"} 
[2026-08-23 14:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:29:52] 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-08-23 14:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:29:52] 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-08-23 14:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593593856001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593593856001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:29:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:29:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593593856001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":160793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:29:52] local.INFO: GPS data processed {"connection_id":160793,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:29:52] local.INFO: Acknowledgment sent {"connection_id":160793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:30:07] local.INFO: TCP Data received {"connection_id":161733,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:30:07] local.INFO: Processing buffer {"connection_id":161733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:30:07] local.INFO: Packet analysis {"connection_id":161733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:30:07] local.INFO: Extracted packet for processing {"connection_id":161733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593632512001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787475428000,"timestamp_ms":1787475428000,"timestamp_seconds":1787475428,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd682a0"} 
[2026-08-23 14:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593632512001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593632512001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:30:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:30:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593632512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":161733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:30:07] local.INFO: GPS data processed {"connection_id":161733,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:30:07] local.INFO: Acknowledgment sent {"connection_id":161733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:30:24] local.INFO: TCP Data received {"connection_id":160793,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:30:24] local.INFO: Processing buffer {"connection_id":160793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:30:24] local.INFO: Packet analysis {"connection_id":160793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd8"} 
[2026-08-23 14:30:24] local.INFO: Extracted packet for processing {"connection_id":160793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd8"} 
[2026-08-23 14:30:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593670912001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787475578000,"timestamp_ms":1787475578000,"timestamp_seconds":1787475578,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd8cc90"} 
[2026-08-23 14:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:30:24] 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-08-23 14:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:30:24] 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-08-23 14:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593670912001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593670912001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:30:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:30:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593670912001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":160793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:30:24] local.INFO: GPS data processed {"connection_id":160793,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:30:24] local.INFO: Acknowledgment sent {"connection_id":160793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:30:29] local.INFO: TCP Data received {"connection_id":163137,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:30:29] local.INFO: Processing buffer {"connection_id":163137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:30:29] local.INFO: IMEI packet received {"connection_id":163137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":163137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:30:34] local.INFO: TCP Data received {"connection_id":163137,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:30:34] local.INFO: Processing buffer {"connection_id":163137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:30:34] local.INFO: IMEI packet received {"connection_id":163137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":163137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:30:35] local.INFO: TCP Data received {"connection_id":163137,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:30:35] local.INFO: Processing buffer {"connection_id":163137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:30:35] local.INFO: Packet analysis {"connection_id":163137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:30:35] local.INFO: Extracted packet for processing {"connection_id":163137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:30:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593632512001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787475428000,"timestamp_ms":1787475428000,"timestamp_seconds":1787475428,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd682a0"} 
[2026-08-23 14:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593632512001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593632512001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:30:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:30:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593632512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":163137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:30:35] local.INFO: GPS data processed {"connection_id":163137,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:30:35] local.INFO: Acknowledgment sent {"connection_id":163137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:30:51] local.INFO: TCP Data received {"connection_id":161734,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:30:51] local.INFO: Processing buffer {"connection_id":161734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:30:51] local.INFO: IMEI packet received {"connection_id":161734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":161734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:30:56] local.INFO: TCP Data received {"connection_id":161734,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:30:56] local.INFO: Processing buffer {"connection_id":161734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:30:56] local.INFO: IMEI packet received {"connection_id":161734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":161734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:30:57] local.INFO: TCP Data received {"connection_id":161734,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:30:57] local.INFO: Processing buffer {"connection_id":161734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:30:57] local.INFO: Packet analysis {"connection_id":161734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd8"} 
[2026-08-23 14:30:57] local.INFO: Extracted packet for processing {"connection_id":161734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd8"} 
[2026-08-23 14:30:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593670912001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787475578000,"timestamp_ms":1787475578000,"timestamp_seconds":1787475578,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd8cc90"} 
[2026-08-23 14:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593670912001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593670912001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:30:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:30:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593670912001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":161734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:30:57] local.INFO: GPS data processed {"connection_id":161734,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:30:57] local.INFO: Acknowledgment sent {"connection_id":161734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:31:01] local.INFO: TCP Data received {"connection_id":161734,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:31:01] local.INFO: Processing buffer {"connection_id":161734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:31:01] local.INFO: Packet analysis {"connection_id":161734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd8"} 
[2026-08-23 14:31:01] local.INFO: Extracted packet for processing {"connection_id":161734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd8"} 
[2026-08-23 14:31:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593670912001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787475578000,"timestamp_ms":1787475578000,"timestamp_seconds":1787475578,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd8cc90"} 
[2026-08-23 14:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593670912001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593670912001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:31:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:31:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593670912001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":161734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:31:01] local.INFO: GPS data processed {"connection_id":161734,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:31:01] local.INFO: Acknowledgment sent {"connection_id":161734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:31:03] local.INFO: TCP Data received {"connection_id":160794,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:31:03] local.INFO: Processing buffer {"connection_id":160794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:31:03] local.INFO: IMEI packet received {"connection_id":160794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":160794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:31:07] local.INFO: TCP Data received {"connection_id":163137,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:31:07] local.INFO: Processing buffer {"connection_id":163137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:31:07] local.INFO: Packet analysis {"connection_id":163137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:31:07] local.INFO: Extracted packet for processing {"connection_id":163137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:31:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593632512001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787475428000,"timestamp_ms":1787475428000,"timestamp_seconds":1787475428,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd682a0"} 
[2026-08-23 14:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593632512001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593632512001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:31:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:31:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593632512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":163137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:31:07] local.INFO: GPS data processed {"connection_id":163137,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:31:07] local.INFO: Acknowledgment sent {"connection_id":163137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:31:08] local.INFO: TCP Data received {"connection_id":160794,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:31:08] local.INFO: Processing buffer {"connection_id":160794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:31:08] local.INFO: IMEI packet received {"connection_id":160794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":160794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:31:09] local.INFO: TCP Data received {"connection_id":160794,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd44c38012d7e15c005d3bec00000004423..."} 
[2026-08-23 14:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd44c38012d7e15c005d3bec00000004423..."} 
[2026-08-23 14:31:09] local.INFO: Processing buffer {"connection_id":160794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd44c38012d7e15c005d3bec00000004423..."} 
[2026-08-23 14:31:09] local.INFO: Packet analysis {"connection_id":160794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:31:09] local.INFO: Extracted packet for processing {"connection_id":160794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:31:09] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763008,"longitude_deg":76.3237824,"latitude_deg":9.7763008,"altitude":0,"angle":68,"satellites":35,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3bec0","is_valid_coordinates":true} 
[2026-08-23 14:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593615616001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549706752,"note":"Value kept but may cause issues"} 
[2026-08-23 14:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787475283000,"timestamp_ms":1787475283000,"timestamp_seconds":1787475283,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd44c38"} 
[2026-08-23 14:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7936,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 14:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593615616001,"66":12385,"110":206,"85":15104,"24":0,"16":122628368637100032,"45":9085378954549706752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593615616001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:31:09] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:31:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549706752,"description":"Unknown IO ID 45"} 
[2026-08-23 14:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593615616001,"power":12385,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085378954549706752}} 
[2026-08-23 14:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":160794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:31:09] local.INFO: GPS data processed {"connection_id":160794,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:31:09] local.INFO: Acknowledgment sent {"connection_id":160794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:31:34] local.INFO: TCP Data received {"connection_id":160551,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:31:34] local.INFO: Processing buffer {"connection_id":160551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:31:34] local.INFO: IMEI packet received {"connection_id":160551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":160551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:31:39] local.INFO: TCP Data received {"connection_id":160551,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:31:39] local.INFO: Processing buffer {"connection_id":160551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:31:39] local.INFO: IMEI packet received {"connection_id":160551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":160551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:31:40] local.INFO: TCP Data received {"connection_id":160794,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd44c38012d7e15c005d3bec00000004423..."} 
[2026-08-23 14:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd44c38012d7e15c005d3bec00000004423..."} 
[2026-08-23 14:31:40] local.INFO: Processing buffer {"connection_id":160794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd44c38012d7e15c005d3bec00000004423..."} 
[2026-08-23 14:31:40] local.INFO: Packet analysis {"connection_id":160794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:31:40] local.INFO: Extracted packet for processing {"connection_id":160794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd4"} 
[2026-08-23 14:31:40] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763008,"longitude_deg":76.3237824,"latitude_deg":9.7763008,"altitude":0,"angle":68,"satellites":35,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3bec0","is_valid_coordinates":true} 
[2026-08-23 14:31:40] 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-08-23 14:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593672448001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549706752,"note":"Value kept but may cause issues"} 
[2026-08-23 14:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787475283000,"timestamp_ms":1787475283000,"timestamp_seconds":1787475283,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd44c38"} 
[2026-08-23 14:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7680,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 14:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593672448001,"66":12385,"110":206,"85":15104,"24":0,"16":122628368637100032,"45":9085378954549706752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593672448001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:31:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:31:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549706752,"description":"Unknown IO ID 45"} 
[2026-08-23 14:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593672448001,"power":12385,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085378954549706752}} 
[2026-08-23 14:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":160794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:31:40] local.INFO: GPS data processed {"connection_id":160794,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:31:40] local.INFO: Acknowledgment sent {"connection_id":160794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:31:40] local.INFO: TCP Data received {"connection_id":160551,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:31:40] local.INFO: Processing buffer {"connection_id":160551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:31:40] local.INFO: Packet analysis {"connection_id":160551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:31:40] local.INFO: Extracted packet for processing {"connection_id":160551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:31:40] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593632512001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787475428000,"timestamp_ms":1787475428000,"timestamp_seconds":1787475428,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd682a0"} 
[2026-08-23 14:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593632512001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593632512001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:31:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:31:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593632512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":160551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:31:41] local.INFO: GPS data processed {"connection_id":160551,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:31:41] local.INFO: Acknowledgment sent {"connection_id":160551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:31:45] local.INFO: TCP Data received {"connection_id":160551,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:31:45] local.INFO: Processing buffer {"connection_id":160551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:31:45] local.INFO: Packet analysis {"connection_id":160551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:31:45] local.INFO: Extracted packet for processing {"connection_id":160551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:31:45] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593632512001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787475428000,"timestamp_ms":1787475428000,"timestamp_seconds":1787475428,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd682a0"} 
[2026-08-23 14:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593632512001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593632512001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:31:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:31:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593632512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":160551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:31:45] local.INFO: GPS data processed {"connection_id":160551,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:31:45] local.INFO: Acknowledgment sent {"connection_id":160551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:31:46] local.INFO: TCP Data received {"connection_id":160552,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:31:46] local.INFO: Processing buffer {"connection_id":160552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:31:46] local.INFO: IMEI packet received {"connection_id":160552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":160552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:31:52] local.INFO: TCP Data received {"connection_id":160552,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:31:52] local.INFO: Processing buffer {"connection_id":160552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:31:52] local.INFO: IMEI packet received {"connection_id":160552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":160552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:31:53] local.INFO: TCP Data received {"connection_id":160552,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:31:53] local.INFO: Processing buffer {"connection_id":160552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:31:53] local.INFO: Packet analysis {"connection_id":160552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd8"} 
[2026-08-23 14:31:53] local.INFO: Extracted packet for processing {"connection_id":160552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd8"} 
[2026-08-23 14:31:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593670912001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787475578000,"timestamp_ms":1787475578000,"timestamp_seconds":1787475578,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd8cc90"} 
[2026-08-23 14:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:31:53] 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-08-23 14:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593670912001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593670912001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:31:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:31:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593670912001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":160552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:31:53] local.INFO: GPS data processed {"connection_id":160552,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:31:53] local.INFO: Acknowledgment sent {"connection_id":160552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:32:24] local.INFO: TCP Data received {"connection_id":160552,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:32:24] local.INFO: Processing buffer {"connection_id":160552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:32:24] local.INFO: Packet analysis {"connection_id":160552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd8"} 
[2026-08-23 14:32:24] local.INFO: Extracted packet for processing {"connection_id":160552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd8"} 
[2026-08-23 14:32:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593670912001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787475578000,"timestamp_ms":1787475578000,"timestamp_seconds":1787475578,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd8cc90"} 
[2026-08-23 14:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:32:24] 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-08-23 14:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593670912001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593670912001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:32:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:32:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593670912001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":160552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:32:24] local.INFO: GPS data processed {"connection_id":160552,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:32:24] local.INFO: Acknowledgment sent {"connection_id":160552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:32:29] local.INFO: TCP Data received {"connection_id":161735,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:32:29] local.INFO: Processing buffer {"connection_id":161735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:32:29] local.INFO: IMEI packet received {"connection_id":161735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":161735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:32:34] local.INFO: TCP Data received {"connection_id":161735,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:32:34] local.INFO: Processing buffer {"connection_id":161735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:32:34] local.INFO: IMEI packet received {"connection_id":161735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":161735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:32:35] local.INFO: TCP Data received {"connection_id":161735,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:32:35] local.INFO: Processing buffer {"connection_id":161735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd682a0012d196940071fed78003d005927..."} 
[2026-08-23 14:32:35] local.INFO: Packet analysis {"connection_id":161735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:32:35] local.INFO: Extracted packet for processing {"connection_id":161735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:32:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593632512001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787475428000,"timestamp_ms":1787475428000,"timestamp_seconds":1787475428,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd682a0"} 
[2026-08-23 14:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593632512001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593632512001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:32:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:32:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593632512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":161735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:32:35] local.INFO: GPS data processed {"connection_id":161735,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:32:35] local.INFO: Acknowledgment sent {"connection_id":161735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:32:46] local.INFO: TCP Data received {"connection_id":160553,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:32:46] local.INFO: Processing buffer {"connection_id":160553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:32:46] local.INFO: IMEI packet received {"connection_id":160553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":160553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:32:51] local.INFO: TCP Data received {"connection_id":160553,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:32:51] local.INFO: Processing buffer {"connection_id":160553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:32:51] local.INFO: IMEI packet received {"connection_id":160553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":160553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:32:52] local.INFO: TCP Data received {"connection_id":160553,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:32:52] local.INFO: Processing buffer {"connection_id":160553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:32:52] local.INFO: Packet analysis {"connection_id":160553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd8"} 
[2026-08-23 14:32:52] local.INFO: Extracted packet for processing {"connection_id":160553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd8"} 
[2026-08-23 14:32:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593670912001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787475578000,"timestamp_ms":1787475578000,"timestamp_seconds":1787475578,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd8cc90"} 
[2026-08-23 14:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:32:52] 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-08-23 14:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:32:52] 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-08-23 14:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593670912001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593670912001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:32:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:32:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593670912001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":160553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:32:52] local.INFO: GPS data processed {"connection_id":160553,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:32:52] local.INFO: Acknowledgment sent {"connection_id":160553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:33:07] local.INFO: TCP Data received {"connection_id":161735,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:33:07] local.INFO: Processing buffer {"connection_id":161735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:33:07] local.INFO: Packet analysis {"connection_id":161735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddb"} 
[2026-08-23 14:33:07] local.INFO: Extracted packet for processing {"connection_id":161735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddb"} 
[2026-08-23 14:33:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593709568001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787475729000,"timestamp_ms":1787475729000,"timestamp_seconds":1787475729,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddb1a68"} 
[2026-08-23 14:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593709568001,"66":2177,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593709568001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:33:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:33:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593709568001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":161735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:33:07] local.INFO: GPS data processed {"connection_id":161735,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:33:07] local.INFO: Acknowledgment sent {"connection_id":161735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:33:23] local.INFO: TCP Data received {"connection_id":160553,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:33:23] local.INFO: Processing buffer {"connection_id":160553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:33:23] local.INFO: Packet analysis {"connection_id":160553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd8"} 
[2026-08-23 14:33:23] local.INFO: Extracted packet for processing {"connection_id":160553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd8"} 
[2026-08-23 14:33:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593670912001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787475578000,"timestamp_ms":1787475578000,"timestamp_seconds":1787475578,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd8cc90"} 
[2026-08-23 14:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:33:23] 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-08-23 14: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-08-23 14:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593670912001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593670912001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:33:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:33:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593670912001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":160553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:33:23] local.INFO: GPS data processed {"connection_id":160553,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:33:23] local.INFO: Acknowledgment sent {"connection_id":160553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:33:29] local.INFO: TCP Data received {"connection_id":161736,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:33:29] local.INFO: Processing buffer {"connection_id":161736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:33:29] local.INFO: IMEI packet received {"connection_id":161736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":161736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:33:34] local.INFO: TCP Data received {"connection_id":161736,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:33:34] local.INFO: Processing buffer {"connection_id":161736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:33:34] local.INFO: IMEI packet received {"connection_id":161736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":161736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:33:35] local.INFO: TCP Data received {"connection_id":161736,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:33:35] local.INFO: Processing buffer {"connection_id":161736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:33:35] local.INFO: Packet analysis {"connection_id":161736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddb"} 
[2026-08-23 14:33:35] local.INFO: Extracted packet for processing {"connection_id":161736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddb"} 
[2026-08-23 14:33:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593709568001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787475729000,"timestamp_ms":1787475729000,"timestamp_seconds":1787475729,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddb1a68"} 
[2026-08-23 14:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593709568001,"66":2177,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593709568001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:33:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:33:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593709568001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":161736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:33:35] local.INFO: GPS data processed {"connection_id":161736,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:33:35] local.INFO: Acknowledgment sent {"connection_id":161736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:33:38] local.INFO: TCP Data received {"connection_id":160795,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:33:38] local.INFO: Processing buffer {"connection_id":160795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:33:38] local.INFO: IMEI packet received {"connection_id":160795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":160795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:33:43] local.INFO: TCP Data received {"connection_id":160795,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:33:43] local.INFO: Processing buffer {"connection_id":160795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:33:43] local.INFO: IMEI packet received {"connection_id":160795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":160795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:33:46] local.INFO: TCP Data received {"connection_id":163138,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:33:46] local.INFO: Processing buffer {"connection_id":163138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:33:46] local.INFO: IMEI packet received {"connection_id":163138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":163138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:33:48] local.INFO: TCP Data received {"connection_id":160795,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd580d0012d7e15c005d3bec00000004424..."} 
[2026-08-23 14:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd580d0012d7e15c005d3bec00000004424..."} 
[2026-08-23 14:33:48] local.INFO: Processing buffer {"connection_id":160795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd580d0012d7e15c005d3bec00000004424..."} 
[2026-08-23 14:33:48] local.INFO: Packet analysis {"connection_id":160795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd5"} 
[2026-08-23 14:33:48] local.INFO: Extracted packet for processing {"connection_id":160795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd5"} 
[2026-08-23 14:33:48] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763008,"longitude_deg":76.3237824,"latitude_deg":9.7763008,"altitude":0,"angle":68,"satellites":36,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3bec0","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593672448001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549706752,"note":"Value kept but may cause issues"} 
[2026-08-23 14:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787475362000,"timestamp_ms":1787475362000,"timestamp_seconds":1787475362,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd580d0"} 
[2026-08-23 14:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7680,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 14:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593672448001,"66":2220,"110":206,"85":15104,"24":0,"16":122628368637100032,"45":9085378954549706752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593672448001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:33:48] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:33:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549706752,"description":"Unknown IO ID 45"} 
[2026-08-23 14:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593672448001,"power":2220,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085378954549706752}} 
[2026-08-23 14:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":160795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:33:48] local.INFO: GPS data processed {"connection_id":160795,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:33:48] local.INFO: Acknowledgment sent {"connection_id":160795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:33:51] local.INFO: TCP Data received {"connection_id":163138,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:33:51] local.INFO: Processing buffer {"connection_id":163138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:33:51] local.INFO: IMEI packet received {"connection_id":163138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":163138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:33:52] local.INFO: TCP Data received {"connection_id":163138,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:33:52] local.INFO: Processing buffer {"connection_id":163138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:33:52] local.INFO: Packet analysis {"connection_id":163138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd8"} 
[2026-08-23 14:33:52] local.INFO: Extracted packet for processing {"connection_id":163138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd8"} 
[2026-08-23 14:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593670912001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787475578000,"timestamp_ms":1787475578000,"timestamp_seconds":1787475578,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd8cc90"} 
[2026-08-23 14:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:33:52] 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-08-23 14:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:33:52] 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-08-23 14:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593670912001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593670912001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:33:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:33:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593670912001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":163138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:33:52] local.INFO: GPS data processed {"connection_id":163138,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:33:52] local.INFO: Acknowledgment sent {"connection_id":163138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:34:07] local.INFO: TCP Data received {"connection_id":161736,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:34:07] local.INFO: Processing buffer {"connection_id":161736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:34:07] local.INFO: Packet analysis {"connection_id":161736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddb"} 
[2026-08-23 14:34:07] local.INFO: Extracted packet for processing {"connection_id":161736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddb"} 
[2026-08-23 14:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593709568001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787475729000,"timestamp_ms":1787475729000,"timestamp_seconds":1787475729,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddb1a68"} 
[2026-08-23 14:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593709568001,"66":2177,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593709568001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:34:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:34:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593709568001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":161736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:34:07] local.INFO: GPS data processed {"connection_id":161736,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:34:07] local.INFO: Acknowledgment sent {"connection_id":161736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:34:08] local.INFO: TCP Data received {"connection_id":161738,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:34:08] local.INFO: Processing buffer {"connection_id":161738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:34:08] local.INFO: IMEI packet received {"connection_id":161738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":161738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:34:13] local.INFO: TCP Data received {"connection_id":161738,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:34:13] local.INFO: Processing buffer {"connection_id":161738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:34:13] local.INFO: IMEI packet received {"connection_id":161738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":161738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:34:14] local.INFO: TCP Data received {"connection_id":161738,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd63480012d7e15c005d3bec00000004423..."} 
[2026-08-23 14:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd63480012d7e15c005d3bec00000004423..."} 
[2026-08-23 14:34:14] local.INFO: Processing buffer {"connection_id":161738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd63480012d7e15c005d3bec00000004423..."} 
[2026-08-23 14:34:14] local.INFO: Packet analysis {"connection_id":161738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:34:14] local.INFO: Extracted packet for processing {"connection_id":161738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:34:14] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763008,"longitude_deg":76.3237824,"latitude_deg":9.7763008,"altitude":0,"angle":68,"satellites":35,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3bec0","is_valid_coordinates":true} 
[2026-08-23 14:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593692672001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549706752,"note":"Value kept but may cause issues"} 
[2026-08-23 14:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787475408000,"timestamp_ms":1787475408000,"timestamp_seconds":1787475408,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd63480"} 
[2026-08-23 14:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":3072,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 14:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593692672001,"66":2209,"110":206,"85":15104,"24":0,"16":122628368637100032,"45":9085378954549706752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593692672001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:34:14] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:34:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549706752,"description":"Unknown IO ID 45"} 
[2026-08-23 14:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593692672001,"power":2209,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085378954549706752}} 
[2026-08-23 14:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":161738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:34:14] local.INFO: GPS data processed {"connection_id":161738,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:34:14] local.INFO: Acknowledgment sent {"connection_id":161738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:34:23] local.INFO: TCP Data received {"connection_id":163138,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:34:23] local.INFO: Processing buffer {"connection_id":163138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:34:23] local.INFO: Packet analysis {"connection_id":163138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd8"} 
[2026-08-23 14:34:23] local.INFO: Extracted packet for processing {"connection_id":163138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd8"} 
[2026-08-23 14:34:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593670912001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787475578000,"timestamp_ms":1787475578000,"timestamp_seconds":1787475578,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd8cc90"} 
[2026-08-23 14:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:34:23] 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-08-23 14:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593670912001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593670912001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:34:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:34:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593670912001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":163138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:34:23] local.INFO: GPS data processed {"connection_id":163138,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:34:23] local.INFO: Acknowledgment sent {"connection_id":163138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:34:29] local.INFO: TCP Data received {"connection_id":160554,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:34:29] local.INFO: Processing buffer {"connection_id":160554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:34:29] local.INFO: IMEI packet received {"connection_id":160554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":160554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:34:34] local.INFO: TCP Data received {"connection_id":160554,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:34:34] local.INFO: Processing buffer {"connection_id":160554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:34:34] local.INFO: IMEI packet received {"connection_id":160554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":160554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:34:35] local.INFO: TCP Data received {"connection_id":160554,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:34:35] local.INFO: Processing buffer {"connection_id":160554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:34:35] local.INFO: Packet analysis {"connection_id":160554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddb"} 
[2026-08-23 14:34:35] local.INFO: Extracted packet for processing {"connection_id":160554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddb"} 
[2026-08-23 14:34:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593709568001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787475729000,"timestamp_ms":1787475729000,"timestamp_seconds":1787475729,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddb1a68"} 
[2026-08-23 14:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593709568001,"66":2177,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593709568001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:34:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:34:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593709568001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":160554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:34:35] local.INFO: GPS data processed {"connection_id":160554,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:34:35] local.INFO: Acknowledgment sent {"connection_id":160554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:34:45] local.INFO: TCP Data received {"connection_id":161738,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd63480012d7e15c005d3bec00000004423..."} 
[2026-08-23 14:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd63480012d7e15c005d3bec00000004423..."} 
[2026-08-23 14:34:45] local.INFO: Processing buffer {"connection_id":161738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd63480012d7e15c005d3bec00000004423..."} 
[2026-08-23 14:34:45] local.INFO: Packet analysis {"connection_id":161738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:34:45] local.INFO: Extracted packet for processing {"connection_id":161738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd6"} 
[2026-08-23 14:34:45] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763008,"longitude_deg":76.3237824,"latitude_deg":9.7763008,"altitude":0,"angle":68,"satellites":35,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3bec0","is_valid_coordinates":true} 
[2026-08-23 14:34:45] 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-08-23 14:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593704448001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549706752,"note":"Value kept but may cause issues"} 
[2026-08-23 14:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787475408000,"timestamp_ms":1787475408000,"timestamp_seconds":1787475408,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd63480"} 
[2026-08-23 14:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1536,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 14:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593704448001,"66":2209,"110":206,"85":15104,"24":0,"16":122628368637100032,"45":9085378954549706752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593704448001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:34:45] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:34:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549706752,"description":"Unknown IO ID 45"} 
[2026-08-23 14:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593704448001,"power":2209,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085378954549706752}} 
[2026-08-23 14:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":161738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:34:45] local.INFO: GPS data processed {"connection_id":161738,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:34:45] local.INFO: Acknowledgment sent {"connection_id":161738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:34:46] local.INFO: TCP Data received {"connection_id":163139,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:34:46] local.INFO: Processing buffer {"connection_id":163139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:34:46] local.INFO: IMEI packet received {"connection_id":163139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":163139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:34:51] local.INFO: TCP Data received {"connection_id":163139,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:34:51] local.INFO: Processing buffer {"connection_id":163139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:34:51] local.INFO: IMEI packet received {"connection_id":163139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":163139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:34:52] local.INFO: TCP Data received {"connection_id":163139,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:34:52] local.INFO: Processing buffer {"connection_id":163139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dd8cc90012d34c50006aa4098000e008520..."} 
[2026-08-23 14:34:52] local.INFO: Packet analysis {"connection_id":163139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dd8"} 
[2026-08-23 14:34:52] local.INFO: Extracted packet for processing {"connection_id":163139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dd8"} 
[2026-08-23 14:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593670912001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787475578000,"timestamp_ms":1787475578000,"timestamp_seconds":1787475578,"priority":1,"record_length":96,"hex_timestamp":"000001a02dd8cc90"} 
[2026-08-23 14:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:34:52] 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-08-23 14: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-08-23 14:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:34:52] 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-08-23 14:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593670912001,"66":25625,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593670912001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:34:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593670912001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":163139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:34:52] local.INFO: GPS data processed {"connection_id":163139,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:34:52] local.INFO: Acknowledgment sent {"connection_id":163139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:35:03] local.INFO: TCP Data received {"connection_id":160797,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:35:03] local.INFO: Processing buffer {"connection_id":160797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:35:03] local.INFO: IMEI packet received {"connection_id":160797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":160797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:35:06] local.INFO: TCP Data received {"connection_id":160554,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:35:06] local.INFO: Processing buffer {"connection_id":160554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:35:06] local.INFO: Packet analysis {"connection_id":160554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddb"} 
[2026-08-23 14:35:06] local.INFO: Extracted packet for processing {"connection_id":160554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddb"} 
[2026-08-23 14:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593709568001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787475729000,"timestamp_ms":1787475729000,"timestamp_seconds":1787475729,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddb1a68"} 
[2026-08-23 14:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593709568001,"66":2177,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593709568001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:35:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593709568001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":160554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:35:06] local.INFO: GPS data processed {"connection_id":160554,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:35:06] local.INFO: Acknowledgment sent {"connection_id":160554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:35:08] local.INFO: TCP Data received {"connection_id":160797,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:35:08] local.INFO: Processing buffer {"connection_id":160797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:35:08] local.INFO: IMEI packet received {"connection_id":160797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":160797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:35:09] local.INFO: TCP Data received {"connection_id":160797,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddd0a80012d7e15c005d3bec00000004425..."} 
[2026-08-23 14:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddd0a80012d7e15c005d3bec00000004425..."} 
[2026-08-23 14:35:09] local.INFO: Processing buffer {"connection_id":160797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddd0a80012d7e15c005d3bec00000004425..."} 
[2026-08-23 14:35:09] local.INFO: Packet analysis {"connection_id":160797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:35:09] local.INFO: Extracted packet for processing {"connection_id":160797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763008,"longitude_deg":76.3237824,"latitude_deg":9.7763008,"altitude":0,"angle":68,"satellites":37,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3bec0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 14:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593704448001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549706752,"note":"Value kept but may cause issues"} 
[2026-08-23 14:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787475856000,"timestamp_ms":1787475856000,"timestamp_seconds":1787475856,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddd0a80"} 
[2026-08-23 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-08-23 14:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1536,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 14:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 14:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593704448001,"66":12330,"110":206,"85":15104,"24":0,"16":122628368637100032,"45":9085378954549706752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593704448001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:35:09] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549706752,"description":"Unknown IO ID 45"} 
[2026-08-23 14:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593704448001,"power":12330,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085378954549706752}} 
[2026-08-23 14:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":160797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:35:09] local.INFO: GPS data processed {"connection_id":160797,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:35:09] local.INFO: Acknowledgment sent {"connection_id":160797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:35:23] local.INFO: TCP Data received {"connection_id":163139,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:35:23] local.INFO: Processing buffer {"connection_id":163139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:35:23] local.INFO: Packet analysis {"connection_id":163139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:35:23] local.INFO: Extracted packet for processing {"connection_id":163139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:35:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593747968001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787475879000,"timestamp_ms":1787475879000,"timestamp_seconds":1787475879,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddd6458"} 
[2026-08-23 14:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 14:35:23] 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-08-23 14: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-08-23 14:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593747968001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593747968001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:35:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:35:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593747968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":163139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:35:23] local.INFO: GPS data processed {"connection_id":163139,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:35:23] local.INFO: Acknowledgment sent {"connection_id":163139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:35:29] local.INFO: TCP Data received {"connection_id":160555,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:35:29] local.INFO: Processing buffer {"connection_id":160555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:35:29] local.INFO: IMEI packet received {"connection_id":160555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":160555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:35:34] local.INFO: TCP Data received {"connection_id":160555,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:35:34] local.INFO: Processing buffer {"connection_id":160555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:35:34] local.INFO: IMEI packet received {"connection_id":160555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":160555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:35:35] local.INFO: TCP Data received {"connection_id":160555,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:35:35] local.INFO: Processing buffer {"connection_id":160555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:35:35] local.INFO: Packet analysis {"connection_id":160555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddb"} 
[2026-08-23 14:35:35] local.INFO: Extracted packet for processing {"connection_id":160555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddb"} 
[2026-08-23 14:35:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593709568001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787475729000,"timestamp_ms":1787475729000,"timestamp_seconds":1787475729,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddb1a68"} 
[2026-08-23 14:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593709568001,"66":2177,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593709568001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:35:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:35:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593709568001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":160555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:35:35] local.INFO: GPS data processed {"connection_id":160555,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:35:35] local.INFO: Acknowledgment sent {"connection_id":160555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:35:40] local.INFO: TCP Data received {"connection_id":160797,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddd0a80012d7e15c005d3bec00000004425..."} 
[2026-08-23 14:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddd0a80012d7e15c005d3bec00000004425..."} 
[2026-08-23 14:35:40] local.INFO: Processing buffer {"connection_id":160797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddd0a80012d7e15c005d3bec00000004425..."} 
[2026-08-23 14:35:40] local.INFO: Packet analysis {"connection_id":160797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:35:40] local.INFO: Extracted packet for processing {"connection_id":160797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763008,"longitude_deg":76.3237824,"latitude_deg":9.7763008,"altitude":0,"angle":68,"satellites":37,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3bec0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 14:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593704448001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549706752,"note":"Value kept but may cause issues"} 
[2026-08-23 14:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787475856000,"timestamp_ms":1787475856000,"timestamp_seconds":1787475856,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddd0a80"} 
[2026-08-23 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-08-23 14:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1536,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 14:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 14:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593704448001,"66":12330,"110":206,"85":15104,"24":0,"16":122628368637100032,"45":9085378954549706752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593704448001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:35:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549706752,"description":"Unknown IO ID 45"} 
[2026-08-23 14:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593704448001,"power":12330,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085378954549706752}} 
[2026-08-23 14:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":160797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:35:40] local.INFO: GPS data processed {"connection_id":160797,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:35:40] local.INFO: Acknowledgment sent {"connection_id":160797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:35:51] local.INFO: TCP Data received {"connection_id":160556,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:35:51] local.INFO: Processing buffer {"connection_id":160556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:35:51] local.INFO: IMEI packet received {"connection_id":160556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":160556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:35:56] local.INFO: TCP Data received {"connection_id":160556,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:35:56] local.INFO: Processing buffer {"connection_id":160556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:35:56] local.INFO: IMEI packet received {"connection_id":160556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":160556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:35:57] local.INFO: TCP Data received {"connection_id":160556,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:35:57] local.INFO: Processing buffer {"connection_id":160556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:35:57] local.INFO: Packet analysis {"connection_id":160556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:35:57] local.INFO: Extracted packet for processing {"connection_id":160556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:35:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593747968001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787475879000,"timestamp_ms":1787475879000,"timestamp_seconds":1787475879,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddd6458"} 
[2026-08-23 14:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 14:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:35:57] 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-08-23 14:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593747968001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593747968001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:35:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:35:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593747968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":160556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:35:57] local.INFO: GPS data processed {"connection_id":160556,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:35:57] local.INFO: Acknowledgment sent {"connection_id":160556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:36:01] local.INFO: TCP Data received {"connection_id":160556,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:36:01] local.INFO: Processing buffer {"connection_id":160556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:36:01] local.INFO: Packet analysis {"connection_id":160556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:36:01] local.INFO: Extracted packet for processing {"connection_id":160556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:36:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593747968001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787475879000,"timestamp_ms":1787475879000,"timestamp_seconds":1787475879,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddd6458"} 
[2026-08-23 14:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 14:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:36:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:36:01] 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-08-23 14:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593747968001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593747968001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:36:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:36:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593747968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":160556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:36:01] local.INFO: GPS data processed {"connection_id":160556,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:36:01] local.INFO: Acknowledgment sent {"connection_id":160556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:36:03] local.INFO: TCP Data received {"connection_id":163140,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:36:03] local.INFO: Processing buffer {"connection_id":163140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:36:03] local.INFO: IMEI packet received {"connection_id":163140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":163140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:36:07] local.INFO: TCP Data received {"connection_id":160555,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:36:07] local.INFO: Processing buffer {"connection_id":160555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:36:07] local.INFO: Packet analysis {"connection_id":160555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddb"} 
[2026-08-23 14:36:07] local.INFO: Extracted packet for processing {"connection_id":160555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddb"} 
[2026-08-23 14:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593709568001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787475729000,"timestamp_ms":1787475729000,"timestamp_seconds":1787475729,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddb1a68"} 
[2026-08-23 14:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593709568001,"66":2177,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593709568001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:36:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593709568001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":160555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:36:07] local.INFO: GPS data processed {"connection_id":160555,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:36:07] local.INFO: Acknowledgment sent {"connection_id":160555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:36:08] local.INFO: TCP Data received {"connection_id":163140,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:36:08] local.INFO: Processing buffer {"connection_id":163140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:36:08] local.INFO: IMEI packet received {"connection_id":163140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":163140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:36:09] local.INFO: TCP Data received {"connection_id":163140,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddd0a80012d7e15c005d3bec00000004425..."} 
[2026-08-23 14:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddd0a80012d7e15c005d3bec00000004425..."} 
[2026-08-23 14:36:09] local.INFO: Processing buffer {"connection_id":163140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddd0a80012d7e15c005d3bec00000004425..."} 
[2026-08-23 14:36:09] local.INFO: Packet analysis {"connection_id":163140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:36:09] local.INFO: Extracted packet for processing {"connection_id":163140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:36:09] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763008,"longitude_deg":76.3237824,"latitude_deg":9.7763008,"altitude":0,"angle":68,"satellites":37,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3bec0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 14:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593704448001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549706752,"note":"Value kept but may cause issues"} 
[2026-08-23 14:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787475856000,"timestamp_ms":1787475856000,"timestamp_seconds":1787475856,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddd0a80"} 
[2026-08-23 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-08-23 14:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1536,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 14:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 14:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593704448001,"66":12330,"110":206,"85":15104,"24":0,"16":122628368637100032,"45":9085378954549706752},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593704448001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:36:09] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:36:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549706752,"description":"Unknown IO ID 45"} 
[2026-08-23 14:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593704448001,"power":12330,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085378954549706752}} 
[2026-08-23 14:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":163140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:36:09] local.INFO: GPS data processed {"connection_id":163140,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:36:09] local.INFO: Acknowledgment sent {"connection_id":163140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:36:34] local.INFO: TCP Data received {"connection_id":161739,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:36:34] local.INFO: Processing buffer {"connection_id":161739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:36:34] local.INFO: IMEI packet received {"connection_id":161739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":161739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:36:39] local.INFO: TCP Data received {"connection_id":161739,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:36:39] local.INFO: Processing buffer {"connection_id":161739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:36:39] local.INFO: IMEI packet received {"connection_id":161739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":161739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:36:40] local.INFO: TCP Data received {"connection_id":161739,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:36:40] local.INFO: Processing buffer {"connection_id":161739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:36:40] local.INFO: Packet analysis {"connection_id":161739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddb"} 
[2026-08-23 14:36:40] local.INFO: Extracted packet for processing {"connection_id":161739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddb"} 
[2026-08-23 14:36:40] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593709568001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787475729000,"timestamp_ms":1787475729000,"timestamp_seconds":1787475729,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddb1a68"} 
[2026-08-23 14:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593709568001,"66":2177,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593709568001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:36:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:36:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593709568001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":161739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:36:40] local.INFO: GPS data processed {"connection_id":161739,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:36:40] local.INFO: Acknowledgment sent {"connection_id":161739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:36:45] local.INFO: TCP Data received {"connection_id":161739,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:36:45] local.INFO: Processing buffer {"connection_id":161739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:36:45] local.INFO: Packet analysis {"connection_id":161739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddb"} 
[2026-08-23 14:36:45] local.INFO: Extracted packet for processing {"connection_id":161739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddb"} 
[2026-08-23 14:36:45] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593709568001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787475729000,"timestamp_ms":1787475729000,"timestamp_seconds":1787475729,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddb1a68"} 
[2026-08-23 14:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593709568001,"66":2177,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593709568001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:36:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:36:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593709568001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":161739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:36:45] local.INFO: GPS data processed {"connection_id":161739,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:36:45] local.INFO: Acknowledgment sent {"connection_id":161739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:36:46] local.INFO: TCP Data received {"connection_id":163141,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:36:46] local.INFO: Processing buffer {"connection_id":163141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:36:46] local.INFO: IMEI packet received {"connection_id":163141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":163141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:36:51] local.INFO: TCP Data received {"connection_id":163141,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:36:51] local.INFO: Processing buffer {"connection_id":163141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:36:51] local.INFO: IMEI packet received {"connection_id":163141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":163141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:36:52] local.INFO: TCP Data received {"connection_id":163141,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:36:52] local.INFO: Processing buffer {"connection_id":163141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:36:52] local.INFO: Packet analysis {"connection_id":163141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:36:52] local.INFO: Extracted packet for processing {"connection_id":163141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:36: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-08-23 14:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593747968001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787475879000,"timestamp_ms":1787475879000,"timestamp_seconds":1787475879,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddd6458"} 
[2026-08-23 14:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 14:36:52] 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-08-23 14:36: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-08-23 14:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593747968001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593747968001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:36:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:36:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593747968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":163141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:36:52] local.INFO: GPS data processed {"connection_id":163141,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:36:52] local.INFO: Acknowledgment sent {"connection_id":163141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:37:24] local.INFO: TCP Data received {"connection_id":163141,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:37:24] local.INFO: Processing buffer {"connection_id":163141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:37:24] local.INFO: Packet analysis {"connection_id":163141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:37:24] local.INFO: Extracted packet for processing {"connection_id":163141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:37:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593747968001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787475879000,"timestamp_ms":1787475879000,"timestamp_seconds":1787475879,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddd6458"} 
[2026-08-23 14:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 14:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593747968001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593747968001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:37:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:37:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593747968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":163141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:37:24] local.INFO: GPS data processed {"connection_id":163141,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:37:24] local.INFO: Acknowledgment sent {"connection_id":163141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:37:29] local.INFO: TCP Data received {"connection_id":163142,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:37:29] local.INFO: Processing buffer {"connection_id":163142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:37:29] local.INFO: IMEI packet received {"connection_id":163142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":163142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:37:34] local.INFO: TCP Data received {"connection_id":163142,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:37:34] local.INFO: Processing buffer {"connection_id":163142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:37:34] local.INFO: IMEI packet received {"connection_id":163142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":163142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:37:35] local.INFO: TCP Data received {"connection_id":163142,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:37:35] local.INFO: Processing buffer {"connection_id":163142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddb1a68012d196940071fed78003d005928..."} 
[2026-08-23 14:37:35] local.INFO: Packet analysis {"connection_id":163142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddb"} 
[2026-08-23 14:37:35] local.INFO: Extracted packet for processing {"connection_id":163142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddb"} 
[2026-08-23 14:37:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593709568001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787475729000,"timestamp_ms":1787475729000,"timestamp_seconds":1787475729,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddb1a68"} 
[2026-08-23 14:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593709568001,"66":2177,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593709568001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:37:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593709568001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":163142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:37:35] local.INFO: GPS data processed {"connection_id":163142,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:37:35] local.INFO: Acknowledgment sent {"connection_id":163142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:38:06] local.INFO: TCP Data received {"connection_id":163142,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:38:06] local.INFO: Processing buffer {"connection_id":163142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:38:06] local.INFO: Packet analysis {"connection_id":163142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:38:06] local.INFO: Extracted packet for processing {"connection_id":163142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593786624001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787476030000,"timestamp_ms":1787476030000,"timestamp_seconds":1787476030,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddfb230"} 
[2026-08-23 14:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 14:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593786624001,"66":2155,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593786624001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:38:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593786624001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":163142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:38:06] local.INFO: GPS data processed {"connection_id":163142,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:38:06] local.INFO: Acknowledgment sent {"connection_id":163142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:38:16] local.INFO: TCP Data received {"connection_id":161740,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:38:16] local.INFO: Processing buffer {"connection_id":161740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:38:16] local.INFO: IMEI packet received {"connection_id":161740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":161740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:38:21] local.INFO: TCP Data received {"connection_id":161740,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:38:21] local.INFO: Processing buffer {"connection_id":161740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:38:21] local.INFO: IMEI packet received {"connection_id":161740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":161740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:38:22] local.INFO: TCP Data received {"connection_id":161740,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:38:22] local.INFO: Processing buffer {"connection_id":161740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:38:22] local.INFO: Packet analysis {"connection_id":161740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:38:22] local.INFO: Extracted packet for processing {"connection_id":161740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:38:22] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593747968001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787475879000,"timestamp_ms":1787475879000,"timestamp_seconds":1787475879,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddd6458"} 
[2026-08-23 14:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 14:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593747968001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593747968001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:38:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:38:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593747968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":161740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:38:22] local.INFO: GPS data processed {"connection_id":161740,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:38:22] local.INFO: Acknowledgment sent {"connection_id":161740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:38:30] local.INFO: TCP Data received {"connection_id":163143,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:38:30] local.INFO: Processing buffer {"connection_id":163143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:38:30] local.INFO: IMEI packet received {"connection_id":163143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":163143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:38:34] local.INFO: TCP Data received {"connection_id":163143,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:38:34] local.INFO: Processing buffer {"connection_id":163143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:38:34] local.INFO: IMEI packet received {"connection_id":163143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":163143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:38:35] local.INFO: TCP Data received {"connection_id":163143,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:38:35] local.INFO: Processing buffer {"connection_id":163143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:38:35] local.INFO: Packet analysis {"connection_id":163143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:38:35] local.INFO: Extracted packet for processing {"connection_id":163143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:38:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593786624001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787476030000,"timestamp_ms":1787476030000,"timestamp_seconds":1787476030,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddfb230"} 
[2026-08-23 14:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 14:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593786624001,"66":2155,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593786624001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:38:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:38:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593786624001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":163143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:38:36] local.INFO: GPS data processed {"connection_id":163143,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:38:36] local.INFO: Acknowledgment sent {"connection_id":163143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:38:46] local.INFO: TCP Data received {"connection_id":160798,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:38:46] local.INFO: Processing buffer {"connection_id":160798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:38:46] local.INFO: IMEI packet received {"connection_id":160798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":160798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:38:53] local.INFO: TCP Data received {"connection_id":160798,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:38:53] local.INFO: Processing buffer {"connection_id":160798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:38:53] local.INFO: IMEI packet received {"connection_id":160798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":160798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:38:54] local.INFO: TCP Data received {"connection_id":160798,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:38:54] local.INFO: Processing buffer {"connection_id":160798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:38:54] local.INFO: Packet analysis {"connection_id":160798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:38:54] local.INFO: Extracted packet for processing {"connection_id":160798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:38:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593747968001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787475879000,"timestamp_ms":1787475879000,"timestamp_seconds":1787475879,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddd6458"} 
[2026-08-23 14:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 14:38:54] 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-08-23 14: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-08-23 14:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593747968001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593747968001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:38:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:38:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593747968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":160798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:38:54] local.INFO: GPS data processed {"connection_id":160798,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:38:54] local.INFO: Acknowledgment sent {"connection_id":160798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:39:07] local.INFO: TCP Data received {"connection_id":163143,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:39:07] local.INFO: Processing buffer {"connection_id":163143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:39:07] local.INFO: Packet analysis {"connection_id":163143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:39:07] local.INFO: Extracted packet for processing {"connection_id":163143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593786624001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787476030000,"timestamp_ms":1787476030000,"timestamp_seconds":1787476030,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddfb230"} 
[2026-08-23 14:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 14:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593786624001,"66":2155,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593786624001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:39:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593786624001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":163143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:39:07] local.INFO: GPS data processed {"connection_id":163143,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:39:07] local.INFO: Acknowledgment sent {"connection_id":163143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:39:27] local.INFO: TCP Data received {"connection_id":160798,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:39:27] local.INFO: Processing buffer {"connection_id":160798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:39:27] local.INFO: Packet analysis {"connection_id":160798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:39:27] local.INFO: Extracted packet for processing {"connection_id":160798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:39:27] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593747968001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787475879000,"timestamp_ms":1787475879000,"timestamp_seconds":1787475879,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddd6458"} 
[2026-08-23 14:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 14:39:27] 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-08-23 14:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593747968001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593747968001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:39:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:39:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593747968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":160798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:39:27] local.INFO: GPS data processed {"connection_id":160798,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:39:27] local.INFO: Acknowledgment sent {"connection_id":160798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:39:29] local.INFO: TCP Data received {"connection_id":163144,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:39:29] local.INFO: Processing buffer {"connection_id":163144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:39:29] local.INFO: IMEI packet received {"connection_id":163144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":163144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:39:34] local.INFO: TCP Data received {"connection_id":163144,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:39:34] local.INFO: Processing buffer {"connection_id":163144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:39:34] local.INFO: IMEI packet received {"connection_id":163144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":163144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:39:35] local.INFO: TCP Data received {"connection_id":163144,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:39:35] local.INFO: Processing buffer {"connection_id":163144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:39:35] local.INFO: Packet analysis {"connection_id":163144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:39:35] local.INFO: Extracted packet for processing {"connection_id":163144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:39:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593786624001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787476030000,"timestamp_ms":1787476030000,"timestamp_seconds":1787476030,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddfb230"} 
[2026-08-23 14:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 14:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593786624001,"66":2155,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593786624001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:39:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:39:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593786624001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":163144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:39:35] local.INFO: GPS data processed {"connection_id":163144,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:39:35] local.INFO: Acknowledgment sent {"connection_id":163144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:39:46] local.INFO: TCP Data received {"connection_id":161741,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:39:46] local.INFO: Processing buffer {"connection_id":161741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:39:46] local.INFO: IMEI packet received {"connection_id":161741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":161741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:39:51] local.INFO: TCP Data received {"connection_id":161741,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:39:51] local.INFO: Processing buffer {"connection_id":161741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:39:51] local.INFO: IMEI packet received {"connection_id":161741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":161741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:39:52] local.INFO: TCP Data received {"connection_id":161741,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:39:52] local.INFO: Processing buffer {"connection_id":161741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddd6458012d34c50006aa4098000e00851f..."} 
[2026-08-23 14:39:52] local.INFO: Packet analysis {"connection_id":161741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:39:52] local.INFO: Extracted packet for processing {"connection_id":161741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddd"} 
[2026-08-23 14:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593747968001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787475879000,"timestamp_ms":1787475879000,"timestamp_seconds":1787475879,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddd6458"} 
[2026-08-23 14:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-23 14:39:52] 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-08-23 14: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-08-23 14:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593747968001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593747968001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:39:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:39:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593747968001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":161741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:39:52] local.INFO: GPS data processed {"connection_id":161741,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:39:52] local.INFO: Acknowledgment sent {"connection_id":161741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:40:06] local.INFO: TCP Data received {"connection_id":163144,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:40:06] local.INFO: Processing buffer {"connection_id":163144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:40:06] local.INFO: Packet analysis {"connection_id":163144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:40:06] local.INFO: Extracted packet for processing {"connection_id":163144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593786624001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787476030000,"timestamp_ms":1787476030000,"timestamp_seconds":1787476030,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddfb230"} 
[2026-08-23 14:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 14:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593786624001,"66":2155,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593786624001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:40:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593786624001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":163144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:40:06] local.INFO: GPS data processed {"connection_id":163144,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:40:06] local.INFO: Acknowledgment sent {"connection_id":163144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:40:24] local.INFO: TCP Data received {"connection_id":161741,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:40:24] local.INFO: Processing buffer {"connection_id":161741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:40:24] local.INFO: Packet analysis {"connection_id":161741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de1"} 
[2026-08-23 14:40:24] local.INFO: Extracted packet for processing {"connection_id":161741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de1"} 
[2026-08-23 14:40:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":24,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593825024001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787476180000,"timestamp_ms":1787476180000,"timestamp_seconds":1787476180,"priority":1,"record_length":96,"hex_timestamp":"000001a02de1fc20"} 
[2026-08-23 14:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:40: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-08-23 14:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:40:24] 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-08-23 14:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593825024001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593825024001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:40:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:40:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593825024001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":161741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:40:24] local.INFO: GPS data processed {"connection_id":161741,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:40:24] local.INFO: Acknowledgment sent {"connection_id":161741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:40:34] local.INFO: TCP Data received {"connection_id":160557,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:40:34] local.INFO: Processing buffer {"connection_id":160557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:40:34] local.INFO: IMEI packet received {"connection_id":160557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":160557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:40:39] local.INFO: TCP Data received {"connection_id":160557,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:40:39] local.INFO: Processing buffer {"connection_id":160557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:40:39] local.INFO: IMEI packet received {"connection_id":160557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":160557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:40:40] local.INFO: TCP Data received {"connection_id":160557,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:40:40] local.INFO: Processing buffer {"connection_id":160557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:40:40] local.INFO: Packet analysis {"connection_id":160557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:40:40] local.INFO: Extracted packet for processing {"connection_id":160557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:40:40] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593786624001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787476030000,"timestamp_ms":1787476030000,"timestamp_seconds":1787476030,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddfb230"} 
[2026-08-23 14:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 14:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593786624001,"66":2155,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593786624001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:40:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:40:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593786624001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":160557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:40:40] local.INFO: GPS data processed {"connection_id":160557,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:40:40] local.INFO: Acknowledgment sent {"connection_id":160557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:40:45] local.INFO: TCP Data received {"connection_id":160557,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:40:45] local.INFO: Processing buffer {"connection_id":160557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:40:45] local.INFO: Packet analysis {"connection_id":160557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:40:45] local.INFO: Extracted packet for processing {"connection_id":160557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:40:45] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593786624001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787476030000,"timestamp_ms":1787476030000,"timestamp_seconds":1787476030,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddfb230"} 
[2026-08-23 14:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 14:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593786624001,"66":2155,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593786624001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:40:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:40:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593786624001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":160557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:40:45] local.INFO: GPS data processed {"connection_id":160557,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:40:45] local.INFO: Acknowledgment sent {"connection_id":160557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:40:46] local.INFO: TCP Data received {"connection_id":160558,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:40:46] local.INFO: Processing buffer {"connection_id":160558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:40:46] local.INFO: IMEI packet received {"connection_id":160558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":160558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:40:51] local.INFO: TCP Data received {"connection_id":160558,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:40:51] local.INFO: Processing buffer {"connection_id":160558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:40:51] local.INFO: IMEI packet received {"connection_id":160558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":160558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:40:52] local.INFO: TCP Data received {"connection_id":160558,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:40:52] local.INFO: Processing buffer {"connection_id":160558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:40:52] local.INFO: Packet analysis {"connection_id":160558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de1"} 
[2026-08-23 14:40:52] local.INFO: Extracted packet for processing {"connection_id":160558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de1"} 
[2026-08-23 14:40:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":24,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593825024001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787476180000,"timestamp_ms":1787476180000,"timestamp_seconds":1787476180,"priority":1,"record_length":96,"hex_timestamp":"000001a02de1fc20"} 
[2026-08-23 14:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:40: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-08-23 14:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:40:52] 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-08-23 14:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593825024001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593825024001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:40:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:40:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593825024001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":160558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:40:52] local.INFO: GPS data processed {"connection_id":160558,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:40:52] local.INFO: Acknowledgment sent {"connection_id":160558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:40:56] local.INFO: TCP Data received {"connection_id":160558,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:40:56] local.INFO: Processing buffer {"connection_id":160558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:40:56] local.INFO: Packet analysis {"connection_id":160558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de1"} 
[2026-08-23 14:40:56] local.INFO: Extracted packet for processing {"connection_id":160558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de1"} 
[2026-08-23 14:40:56] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":24,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593825024001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787476180000,"timestamp_ms":1787476180000,"timestamp_seconds":1787476180,"priority":1,"record_length":96,"hex_timestamp":"000001a02de1fc20"} 
[2026-08-23 14:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:40:56] 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-08-23 14:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593825024001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593825024001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:40:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:40:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593825024001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":160558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:40:56] local.INFO: GPS data processed {"connection_id":160558,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:40:56] local.INFO: Acknowledgment sent {"connection_id":160558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:41:28] local.INFO: TCP Data received {"connection_id":160558,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:41:28] local.INFO: Processing buffer {"connection_id":160558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:41:28] local.INFO: Packet analysis {"connection_id":160558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de1"} 
[2026-08-23 14:41:28] local.INFO: Extracted packet for processing {"connection_id":160558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de1"} 
[2026-08-23 14:41:28] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":24,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593825024001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787476180000,"timestamp_ms":1787476180000,"timestamp_seconds":1787476180,"priority":1,"record_length":96,"hex_timestamp":"000001a02de1fc20"} 
[2026-08-23 14:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593825024001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593825024001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:41:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:41:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593825024001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":160558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:41:28] local.INFO: GPS data processed {"connection_id":160558,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:41:28] local.INFO: Acknowledgment sent {"connection_id":160558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:41:29] local.INFO: TCP Data received {"connection_id":161742,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:41:29] local.INFO: Processing buffer {"connection_id":161742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:41:29] local.INFO: IMEI packet received {"connection_id":161742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":161742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:41:34] local.INFO: TCP Data received {"connection_id":161742,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:41:34] local.INFO: Processing buffer {"connection_id":161742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:41:34] local.INFO: IMEI packet received {"connection_id":161742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":161742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:41:35] local.INFO: TCP Data received {"connection_id":161742,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:41:35] local.INFO: Processing buffer {"connection_id":161742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:41:35] local.INFO: Packet analysis {"connection_id":161742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:41:35] local.INFO: Extracted packet for processing {"connection_id":161742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:41:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593786624001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787476030000,"timestamp_ms":1787476030000,"timestamp_seconds":1787476030,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddfb230"} 
[2026-08-23 14:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 14:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593786624001,"66":2155,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593786624001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:41:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:41:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593786624001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":161742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:41:35] local.INFO: GPS data processed {"connection_id":161742,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:41:35] local.INFO: Acknowledgment sent {"connection_id":161742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:41:38] local.INFO: TCP Data received {"connection_id":160559,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:41:38] local.INFO: Processing buffer {"connection_id":160559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:41:38] local.INFO: IMEI packet received {"connection_id":160559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":160559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:41:43] local.INFO: TCP Data received {"connection_id":160559,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:41:43] local.INFO: Processing buffer {"connection_id":160559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:41:43] local.INFO: IMEI packet received {"connection_id":160559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":160559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:41:44] local.INFO: TCP Data received {"connection_id":160559,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddf5858012d7e15c005d3bec00000004425..."} 
[2026-08-23 14:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddf5858012d7e15c005d3bec00000004425..."} 
[2026-08-23 14:41:44] local.INFO: Processing buffer {"connection_id":160559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddf5858012d7e15c005d3bec00000004425..."} 
[2026-08-23 14:41:44] local.INFO: Packet analysis {"connection_id":160559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:41:44] local.INFO: Extracted packet for processing {"connection_id":160559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:41:44] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763008,"longitude_deg":76.3237824,"latitude_deg":9.7763008,"altitude":0,"angle":68,"satellites":37,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3bec0","is_valid_coordinates":true} 
[2026-08-23 14:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593819136001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549706752,"note":"Value kept but may cause issues"} 
[2026-08-23 14:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787476007000,"timestamp_ms":1787476007000,"timestamp_seconds":1787476007,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddf5858"} 
[2026-08-23 14:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4352,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-23 14:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593819136001,"66":12298,"110":206,"85":15104,"24":0,"16":122628368637100032,"45":9085378954549706752},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593819136001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:41:44] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:41:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549706752,"description":"Unknown IO ID 45"} 
[2026-08-23 14:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593819136001,"power":12298,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085378954549706752}} 
[2026-08-23 14:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":160559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:41:44] local.INFO: GPS data processed {"connection_id":160559,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:41:44] local.INFO: Acknowledgment sent {"connection_id":160559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:41:46] local.INFO: TCP Data received {"connection_id":161743,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:41:46] local.INFO: Processing buffer {"connection_id":161743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:41:46] local.INFO: IMEI packet received {"connection_id":161743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":161743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:41:51] local.INFO: TCP Data received {"connection_id":161743,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:41:51] local.INFO: Processing buffer {"connection_id":161743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:41:51] local.INFO: IMEI packet received {"connection_id":161743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":161743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:41:52] local.INFO: TCP Data received {"connection_id":161743,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:41:52] local.INFO: Processing buffer {"connection_id":161743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:41:52] local.INFO: Packet analysis {"connection_id":161743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de1"} 
[2026-08-23 14:41:52] local.INFO: Extracted packet for processing {"connection_id":161743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de1"} 
[2026-08-23 14:41:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":24,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:41: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-08-23 14:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593825024001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787476180000,"timestamp_ms":1787476180000,"timestamp_seconds":1787476180,"priority":1,"record_length":96,"hex_timestamp":"000001a02de1fc20"} 
[2026-08-23 14:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:41: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-08-23 14:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:41:52] 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-08-23 14:41: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-08-23 14:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:41:52] 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-08-23 14:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593825024001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593825024001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:41:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:41:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593825024001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":161743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:41:52] local.INFO: GPS data processed {"connection_id":161743,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:41:52] local.INFO: Acknowledgment sent {"connection_id":161743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:42:06] local.INFO: TCP Data received {"connection_id":161742,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:42:06] local.INFO: Processing buffer {"connection_id":161742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:42:06] local.INFO: Packet analysis {"connection_id":161742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:42:06] local.INFO: Extracted packet for processing {"connection_id":161742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593786624001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787476030000,"timestamp_ms":1787476030000,"timestamp_seconds":1787476030,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddfb230"} 
[2026-08-23 14:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 14:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593786624001,"66":2155,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593786624001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:42:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593786624001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":161742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:42:06] local.INFO: GPS data processed {"connection_id":161742,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:42:06] local.INFO: Acknowledgment sent {"connection_id":161742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:42:08] local.INFO: TCP Data received {"connection_id":161744,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:42:08] local.INFO: Processing buffer {"connection_id":161744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:42:08] local.INFO: IMEI packet received {"connection_id":161744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":161744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:42:13] local.INFO: TCP Data received {"connection_id":161744,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:42:13] local.INFO: Processing buffer {"connection_id":161744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:42:13] local.INFO: IMEI packet received {"connection_id":161744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":161744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:42:14] local.INFO: TCP Data received {"connection_id":161744,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddf5858012d7e15c005d3bec00000004425..."} 
[2026-08-23 14:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddf5858012d7e15c005d3bec00000004425..."} 
[2026-08-23 14:42:14] local.INFO: Processing buffer {"connection_id":161744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddf5858012d7e15c005d3bec00000004425..."} 
[2026-08-23 14:42:14] local.INFO: Packet analysis {"connection_id":161744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:42:14] local.INFO: Extracted packet for processing {"connection_id":161744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:42:14] local.INFO: GPS Element Parsed {"raw_longitude":763237824,"raw_latitude":97763008,"longitude_deg":76.3237824,"latitude_deg":9.7763008,"altitude":0,"angle":68,"satellites":37,"speed":0,"hex_longitude":"2d7e15c0","hex_latitude":"05d3bec0","is_valid_coordinates":true} 
[2026-08-23 14:42:14] 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-08-23 14:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593857792001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122628368637100032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085378954549706752,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787476007000,"timestamp_ms":1787476007000,"timestamp_seconds":1787476007,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddf5858"} 
[2026-08-23 14:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4608,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 14:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:14] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436516815360,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:14] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186035,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:14] local.WARNING: Large IO value detected {"io_id":169,"raw_value":-2738188573441261567,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:14] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3301394747451342357,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:14] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055326,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:14] local.WARNING: Large IO value detected {"io_id":192,"raw_value":419888922118586436,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:14] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068468328825038,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:14] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3200253952,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1299054798,"corrected_to":0} 
[2026-08-23 14:42:14] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3221607358,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:14] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2849636352,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3552493568,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:14] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,110,85,24,241,157,16,169,160,10,45,192,190,37,66,52,35,240,161,227,211,4,113,205,76,21,239,1,48,2,179,5,34],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1299054798,"validated":0}]} 
[2026-08-23 14:42:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":74925704478751,"timestamp_seconds":74925704478.751,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 14:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593857792001,"66":12298,"110":206,"85":15104,"24":0,"16":122628368637100032,"45":9085378954549706752},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 14:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593857792001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:42:14] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 14:42:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122628368637100032,"km_value":122628368637100.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085378954549706752,"description":"Unknown IO ID 45"} 
[2026-08-23 14:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593857792001,"power":12298,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9085378954549706752}} 
[2026-08-23 14:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":161744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:42:14] local.INFO: GPS data processed {"connection_id":161744,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:42:14] local.INFO: Acknowledgment sent {"connection_id":161744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:42:23] local.INFO: TCP Data received {"connection_id":161743,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:42:23] local.INFO: Processing buffer {"connection_id":161743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:42:23] local.INFO: Packet analysis {"connection_id":161743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de1"} 
[2026-08-23 14:42:23] local.INFO: Extracted packet for processing {"connection_id":161743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de1"} 
[2026-08-23 14:42:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":24,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593825024001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787476180000,"timestamp_ms":1787476180000,"timestamp_seconds":1787476180,"priority":1,"record_length":96,"hex_timestamp":"000001a02de1fc20"} 
[2026-08-23 14:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:42: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-08-23 14:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:42:23] 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-08-23 14:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:42:23] 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-08-23 14:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593825024001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593825024001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:42:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:42:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593825024001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":161743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:42:23] local.INFO: GPS data processed {"connection_id":161743,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:42:23] local.INFO: Acknowledgment sent {"connection_id":161743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:42:29] local.INFO: TCP Data received {"connection_id":160560,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:42:29] local.INFO: Processing buffer {"connection_id":160560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:42:29] local.INFO: IMEI packet received {"connection_id":160560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":160560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:42:34] local.INFO: TCP Data received {"connection_id":160560,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:42:34] local.INFO: Processing buffer {"connection_id":160560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:42:34] local.INFO: IMEI packet received {"connection_id":160560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":160560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:42:35] local.INFO: TCP Data received {"connection_id":160560,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:42:35] local.INFO: Processing buffer {"connection_id":160560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ddfb230012d196940071fed78003d005927..."} 
[2026-08-23 14:42:35] local.INFO: Packet analysis {"connection_id":160560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:42:35] local.INFO: Extracted packet for processing {"connection_id":160560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ddf"} 
[2026-08-23 14:42:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593786624001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787476030000,"timestamp_ms":1787476030000,"timestamp_seconds":1787476030,"priority":1,"record_length":96,"hex_timestamp":"000001a02ddfb230"} 
[2026-08-23 14:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 14:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593786624001,"66":2155,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593786624001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:42:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:42:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593786624001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":160560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:42:35] local.INFO: GPS data processed {"connection_id":160560,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:42:35] local.INFO: Acknowledgment sent {"connection_id":160560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:42:46] local.INFO: TCP Data received {"connection_id":160799,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:42:46] local.INFO: Processing buffer {"connection_id":160799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:42:46] local.INFO: IMEI packet received {"connection_id":160799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":160799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:42:51] local.INFO: TCP Data received {"connection_id":160799,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:42:51] local.INFO: Processing buffer {"connection_id":160799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:42:51] local.INFO: IMEI packet received {"connection_id":160799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":160799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:42:52] local.INFO: TCP Data received {"connection_id":160799,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:42:52] local.INFO: Processing buffer {"connection_id":160799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:42:52] local.INFO: Packet analysis {"connection_id":160799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de1"} 
[2026-08-23 14:42:52] local.INFO: Extracted packet for processing {"connection_id":160799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de1"} 
[2026-08-23 14:42:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":24,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593825024001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787476180000,"timestamp_ms":1787476180000,"timestamp_seconds":1787476180,"priority":1,"record_length":96,"hex_timestamp":"000001a02de1fc20"} 
[2026-08-23 14:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:42: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-08-23 14:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:42:52] 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-08-23 14:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593825024001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593825024001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:42:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:42:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593825024001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":160799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:42:52] local.INFO: GPS data processed {"connection_id":160799,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:42:52] local.INFO: Acknowledgment sent {"connection_id":160799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:43:07] local.INFO: TCP Data received {"connection_id":160560,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:43:07] local.INFO: Processing buffer {"connection_id":160560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:43:07] local.INFO: Packet analysis {"connection_id":160560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de4"} 
[2026-08-23 14:43:07] local.INFO: Extracted packet for processing {"connection_id":160560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de4"} 
[2026-08-23 14:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593863680001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787476331000,"timestamp_ms":1787476331000,"timestamp_seconds":1787476331,"priority":1,"record_length":96,"hex_timestamp":"000001a02de449f8"} 
[2026-08-23 14:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:43:07] 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-08-23 14:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 14:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593863680001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593863680001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:43:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:43:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593863680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":160560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:43:07] local.INFO: GPS data processed {"connection_id":160560,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:43:07] local.INFO: Acknowledgment sent {"connection_id":160560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:43:23] local.INFO: TCP Data received {"connection_id":160799,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:43:23] local.INFO: Processing buffer {"connection_id":160799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:43:23] local.INFO: Packet analysis {"connection_id":160799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de1"} 
[2026-08-23 14:43:23] local.INFO: Extracted packet for processing {"connection_id":160799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de1"} 
[2026-08-23 14:43:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":24,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593825024001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787476180000,"timestamp_ms":1787476180000,"timestamp_seconds":1787476180,"priority":1,"record_length":96,"hex_timestamp":"000001a02de1fc20"} 
[2026-08-23 14:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:43: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-08-23 14:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:43:23] 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-08-23 14:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593825024001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593825024001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:43:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:43:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593825024001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":160799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:43:23] local.INFO: GPS data processed {"connection_id":160799,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:43:23] local.INFO: Acknowledgment sent {"connection_id":160799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:43:29] local.INFO: TCP Data received {"connection_id":163145,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:43:29] local.INFO: Processing buffer {"connection_id":163145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:43:29] local.INFO: IMEI packet received {"connection_id":163145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":163145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:43:34] local.INFO: TCP Data received {"connection_id":163145,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:43:34] local.INFO: Processing buffer {"connection_id":163145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:43:34] local.INFO: IMEI packet received {"connection_id":163145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":163145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:43:35] local.INFO: TCP Data received {"connection_id":163145,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:43:35] local.INFO: Processing buffer {"connection_id":163145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:43:35] local.INFO: Packet analysis {"connection_id":163145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de4"} 
[2026-08-23 14:43:35] local.INFO: Extracted packet for processing {"connection_id":163145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de4"} 
[2026-08-23 14:43:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593863680001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787476331000,"timestamp_ms":1787476331000,"timestamp_seconds":1787476331,"priority":1,"record_length":96,"hex_timestamp":"000001a02de449f8"} 
[2026-08-23 14:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:43:35] 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-08-23 14:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 14:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593863680001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593863680001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:43:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:43:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593863680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":163145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:43:35] local.INFO: GPS data processed {"connection_id":163145,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:43:35] local.INFO: Acknowledgment sent {"connection_id":163145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:43:46] local.INFO: TCP Data received {"connection_id":160800,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:43:46] local.INFO: Processing buffer {"connection_id":160800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:43:46] local.INFO: IMEI packet received {"connection_id":160800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":160800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:43:51] local.INFO: TCP Data received {"connection_id":160800,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:43:51] local.INFO: Processing buffer {"connection_id":160800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:43:51] local.INFO: IMEI packet received {"connection_id":160800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":160800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:43:52] local.INFO: TCP Data received {"connection_id":160800,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:43:52] local.INFO: Processing buffer {"connection_id":160800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:43:52] local.INFO: Packet analysis {"connection_id":160800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de1"} 
[2026-08-23 14:43:52] local.INFO: Extracted packet for processing {"connection_id":160800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de1"} 
[2026-08-23 14:43:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":24,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593825024001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787476180000,"timestamp_ms":1787476180000,"timestamp_seconds":1787476180,"priority":1,"record_length":96,"hex_timestamp":"000001a02de1fc20"} 
[2026-08-23 14:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:43: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-08-23 14:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:43:52] 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-08-23 14:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593825024001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593825024001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:43:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:43:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593825024001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":160800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:43:52] local.INFO: GPS data processed {"connection_id":160800,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:43:52] local.INFO: Acknowledgment sent {"connection_id":160800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:44:06] local.INFO: TCP Data received {"connection_id":163145,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:44:06] local.INFO: Processing buffer {"connection_id":163145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:44:06] local.INFO: Packet analysis {"connection_id":163145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de4"} 
[2026-08-23 14:44:06] local.INFO: Extracted packet for processing {"connection_id":163145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de4"} 
[2026-08-23 14:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593863680001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787476331000,"timestamp_ms":1787476331000,"timestamp_seconds":1787476331,"priority":1,"record_length":96,"hex_timestamp":"000001a02de449f8"} 
[2026-08-23 14:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 14:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593863680001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593863680001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:44:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593863680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":163145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:44:06] local.INFO: GPS data processed {"connection_id":163145,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:44:06] local.INFO: Acknowledgment sent {"connection_id":163145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:44:23] local.INFO: TCP Data received {"connection_id":160800,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:44:23] local.INFO: Processing buffer {"connection_id":160800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:44:23] local.INFO: Packet analysis {"connection_id":160800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de1"} 
[2026-08-23 14:44:23] local.INFO: Extracted packet for processing {"connection_id":160800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de1"} 
[2026-08-23 14:44:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":24,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593825024001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787476180000,"timestamp_ms":1787476180000,"timestamp_seconds":1787476180,"priority":1,"record_length":96,"hex_timestamp":"000001a02de1fc20"} 
[2026-08-23 14:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:44: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-08-23 14:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:44:23] 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-08-23 14:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593825024001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593825024001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:44:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:44:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593825024001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":160800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:44:23] local.INFO: GPS data processed {"connection_id":160800,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:44:23] local.INFO: Acknowledgment sent {"connection_id":160800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:44:29] local.INFO: TCP Data received {"connection_id":160561,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:44:29] local.INFO: Processing buffer {"connection_id":160561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:44:29] local.INFO: IMEI packet received {"connection_id":160561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":160561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:44:34] local.INFO: TCP Data received {"connection_id":160561,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:44:34] local.INFO: Processing buffer {"connection_id":160561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:44:34] local.INFO: IMEI packet received {"connection_id":160561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":160561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:44:35] local.INFO: TCP Data received {"connection_id":160561,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:44:35] local.INFO: Processing buffer {"connection_id":160561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:44:35] local.INFO: Packet analysis {"connection_id":160561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de4"} 
[2026-08-23 14:44:35] local.INFO: Extracted packet for processing {"connection_id":160561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de4"} 
[2026-08-23 14:44:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593863680001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787476331000,"timestamp_ms":1787476331000,"timestamp_seconds":1787476331,"priority":1,"record_length":96,"hex_timestamp":"000001a02de449f8"} 
[2026-08-23 14:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:44:35] 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-08-23 14:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 14:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593863680001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593863680001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:44:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:44:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593863680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":160561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:44:35] local.INFO: GPS data processed {"connection_id":160561,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:44:35] local.INFO: Acknowledgment sent {"connection_id":160561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:44:46] local.INFO: TCP Data received {"connection_id":163146,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:44:46] local.INFO: Processing buffer {"connection_id":163146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:44:46] local.INFO: IMEI packet received {"connection_id":163146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":163146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:44:51] local.INFO: TCP Data received {"connection_id":163146,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:44:51] local.INFO: Processing buffer {"connection_id":163146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:44:51] local.INFO: IMEI packet received {"connection_id":163146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":163146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:44:52] local.INFO: TCP Data received {"connection_id":163146,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:44:52] local.INFO: Processing buffer {"connection_id":163146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de1fc20012d34c50006aa4098001800851e..."} 
[2026-08-23 14:44:52] local.INFO: Packet analysis {"connection_id":163146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de1"} 
[2026-08-23 14:44:52] local.INFO: Extracted packet for processing {"connection_id":163146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de1"} 
[2026-08-23 14:44:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":24,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593825024001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787476180000,"timestamp_ms":1787476180000,"timestamp_seconds":1787476180,"priority":1,"record_length":96,"hex_timestamp":"000001a02de1fc20"} 
[2026-08-23 14:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:44: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-08-23 14:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:44:52] 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-08-23 14:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:44:52] 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-08-23 14:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593825024001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593825024001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:44:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:44:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593825024001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":163146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:44:52] local.INFO: GPS data processed {"connection_id":163146,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:44:52] local.INFO: Acknowledgment sent {"connection_id":163146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:45:06] local.INFO: TCP Data received {"connection_id":160561,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:45:06] local.INFO: Processing buffer {"connection_id":160561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:45:06] local.INFO: Packet analysis {"connection_id":160561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de4"} 
[2026-08-23 14:45:06] local.INFO: Extracted packet for processing {"connection_id":160561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de4"} 
[2026-08-23 14:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593863680001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787476331000,"timestamp_ms":1787476331000,"timestamp_seconds":1787476331,"priority":1,"record_length":96,"hex_timestamp":"000001a02de449f8"} 
[2026-08-23 14:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 14:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593863680001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593863680001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:45:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593863680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":160561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:45:06] local.INFO: GPS data processed {"connection_id":160561,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:45:06] local.INFO: Acknowledgment sent {"connection_id":160561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:45:24] local.INFO: TCP Data received {"connection_id":163146,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:45:24] local.INFO: Processing buffer {"connection_id":163146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:45:24] local.INFO: Packet analysis {"connection_id":163146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de6"} 
[2026-08-23 14:45:24] local.INFO: Extracted packet for processing {"connection_id":163146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de6"} 
[2026-08-23 14:45:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":23,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593902080001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787476481000,"timestamp_ms":1787476481000,"timestamp_seconds":1787476481,"priority":1,"record_length":96,"hex_timestamp":"000001a02de693e8"} 
[2026-08-23 14:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:45:24] 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-08-23 14:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:45:24] 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-08-23 14:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593902080001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593902080001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:45:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:45:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593902080001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":163146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:45:24] local.INFO: GPS data processed {"connection_id":163146,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:45:24] local.INFO: Acknowledgment sent {"connection_id":163146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:45:34] local.INFO: TCP Data received {"connection_id":160801,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:45:34] local.INFO: Processing buffer {"connection_id":160801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:45:34] local.INFO: IMEI packet received {"connection_id":160801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":160801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:45:39] local.INFO: TCP Data received {"connection_id":160801,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:45:39] local.INFO: Processing buffer {"connection_id":160801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:45:39] local.INFO: IMEI packet received {"connection_id":160801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":160801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:45:40] local.INFO: TCP Data received {"connection_id":160801,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:45:40] local.INFO: Processing buffer {"connection_id":160801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:45:40] local.INFO: Packet analysis {"connection_id":160801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de4"} 
[2026-08-23 14:45:40] local.INFO: Extracted packet for processing {"connection_id":160801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de4"} 
[2026-08-23 14:45:40] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593863680001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787476331000,"timestamp_ms":1787476331000,"timestamp_seconds":1787476331,"priority":1,"record_length":96,"hex_timestamp":"000001a02de449f8"} 
[2026-08-23 14:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:45:40] 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-08-23 14:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 14:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593863680001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593863680001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:45:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:45:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593863680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":160801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":686999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:45:40] local.INFO: GPS data processed {"connection_id":160801,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:45:40] local.INFO: Acknowledgment sent {"connection_id":160801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:45:45] local.INFO: TCP Data received {"connection_id":160801,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:45:45] local.INFO: Processing buffer {"connection_id":160801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:45:45] local.INFO: Packet analysis {"connection_id":160801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de4"} 
[2026-08-23 14:45:45] local.INFO: Extracted packet for processing {"connection_id":160801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de4"} 
[2026-08-23 14:45:45] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593863680001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787476331000,"timestamp_ms":1787476331000,"timestamp_seconds":1787476331,"priority":1,"record_length":96,"hex_timestamp":"000001a02de449f8"} 
[2026-08-23 14:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:45:45] 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-08-23 14: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 14:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593863680001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593863680001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:45:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:45:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593863680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":160801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:45:45] local.INFO: GPS data processed {"connection_id":160801,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:45:45] local.INFO: Acknowledgment sent {"connection_id":160801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:45:51] local.INFO: TCP Data received {"connection_id":160802,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:45:51] local.INFO: Processing buffer {"connection_id":160802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:45:51] local.INFO: IMEI packet received {"connection_id":160802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":160802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:45:56] local.INFO: TCP Data received {"connection_id":160802,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:45:56] local.INFO: Processing buffer {"connection_id":160802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:45:56] local.INFO: IMEI packet received {"connection_id":160802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":160802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:45:57] local.INFO: TCP Data received {"connection_id":160802,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:45:57] local.INFO: Processing buffer {"connection_id":160802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:45:57] local.INFO: Packet analysis {"connection_id":160802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de6"} 
[2026-08-23 14:45:57] local.INFO: Extracted packet for processing {"connection_id":160802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de6"} 
[2026-08-23 14:45:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":23,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593902080001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787476481000,"timestamp_ms":1787476481000,"timestamp_seconds":1787476481,"priority":1,"record_length":96,"hex_timestamp":"000001a02de693e8"} 
[2026-08-23 14:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593902080001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593902080001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:45:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:45:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593902080001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":160802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:45:57] local.INFO: GPS data processed {"connection_id":160802,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:45:57] local.INFO: Acknowledgment sent {"connection_id":160802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:46:05] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:46:05] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:46:05] local.INFO: IMEI packet received {"connection_id":161745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":161745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:46:06] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:46:06] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:46:06] local.INFO: IMEI packet received {"connection_id":161745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":161745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:46:08] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:46:08] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:46:08] local.INFO: IMEI packet received {"connection_id":161745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":161745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:46:09] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02de7ad28012d7e568005d355c80005010925..."} 
[2026-08-23 14:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de7ad28012d7e568005d355c80005010925..."} 
[2026-08-23 14:46:09] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de7ad28012d7e568005d355c80005010925..."} 
[2026-08-23 14:46:09] local.INFO: Packet analysis {"connection_id":161745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de7"} 
[2026-08-23 14:46:09] local.INFO: Extracted packet for processing {"connection_id":161745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de7"} 
[2026-08-23 14:46:09] local.INFO: GPS Element Parsed {"raw_longitude":763254400,"raw_latitude":97736136,"longitude_deg":76.32544,"latitude_deg":9.7736136,"altitude":5,"angle":265,"satellites":37,"speed":2,"hex_longitude":"2d7e5680","hex_latitude":"05d355c8","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593996800001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122630232652906496,"note":"Value kept but may cause issues"} 
[2026-08-23 14:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103604459284836352,"note":"Value kept but may cause issues"} 
[2026-08-23 14:46: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-08-23 14:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787476553000,"timestamp_ms":1787476553000,"timestamp_seconds":1787476553,"priority":1,"record_length":96,"hex_timestamp":"000001a02de7ad28"} 
[2026-08-23 14:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-23 14:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593996800001,"66":11515,"81":206,"85":15104,"24":2,"16":122630232652906496,"45":9103604459284836352},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 14:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593996800001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 14:46:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122630232652906496,"km_value":122630232652906.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103604459284836352,"description":"Unknown IO ID 45"} 
[2026-08-23 14:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593996800001,"power":11515,"unknown_81":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9103604459284836352}} 
[2026-08-23 14:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":161745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:46:09] local.INFO: GPS data processed {"connection_id":161745,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:46:09] local.INFO: Acknowledgment sent {"connection_id":161745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:46:10] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02de7b8e0012d7e554005d355d80004012225..."} 
[2026-08-23 14:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de7b8e0012d7e554005d355d80004012225..."} 
[2026-08-23 14:46:10] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de7b8e0012d7e554005d355d80004012225..."} 
[2026-08-23 14:46:10] local.INFO: Packet analysis {"connection_id":161745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de7"} 
[2026-08-23 14:46:10] local.INFO: Extracted packet for processing {"connection_id":161745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de7"} 
[2026-08-23 14:46:10] local.INFO: GPS Element Parsed {"raw_longitude":763254080,"raw_latitude":97736152,"longitude_deg":76.325408,"latitude_deg":9.7736152,"altitude":4,"angle":290,"satellites":37,"speed":6,"hex_longitude":"2d7e5540","hex_latitude":"05d355d8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 14:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593997568001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122630249832775680,"note":"Value kept but may cause issues"} 
[2026-08-23 14:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103604459284842496,"note":"Value kept but may cause issues"} 
[2026-08-23 14:46:10] 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-08-23 14:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787476556000,"timestamp_ms":1787476556000,"timestamp_seconds":1787476556,"priority":1,"record_length":96,"hex_timestamp":"000001a02de7b8e0"} 
[2026-08-23 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-08-23 14:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-08-23 14:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 14:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593997568001,"66":11482,"81":206,"85":15104,"24":6,"16":122630249832775680,"45":9103604459284842496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 14:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593997568001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 14:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122630249832775680,"km_value":122630249832775.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103604459284842496,"description":"Unknown IO ID 45"} 
[2026-08-23 14:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593997568001,"power":11482,"unknown_81":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9103604459284842496}} 
[2026-08-23 14:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":161745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:46:10] local.INFO: GPS data processed {"connection_id":161745,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:46:10] local.INFO: Acknowledgment sent {"connection_id":161745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:46:28] local.INFO: TCP Data received {"connection_id":160802,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:46:28] local.INFO: Processing buffer {"connection_id":160802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:46:28] local.INFO: Packet analysis {"connection_id":160802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de6"} 
[2026-08-23 14:46:28] local.INFO: Extracted packet for processing {"connection_id":160802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de6"} 
[2026-08-23 14:46:28] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":23,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593902080001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787476481000,"timestamp_ms":1787476481000,"timestamp_seconds":1787476481,"priority":1,"record_length":96,"hex_timestamp":"000001a02de693e8"} 
[2026-08-23 14:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593902080001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593902080001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:46:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:46:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593902080001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":160802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:46:29] local.INFO: GPS data processed {"connection_id":160802,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:46:29] local.INFO: Acknowledgment sent {"connection_id":160802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:46:29] local.INFO: TCP Data received {"connection_id":161746,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:46:29] local.INFO: Processing buffer {"connection_id":161746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:46:29] local.INFO: IMEI packet received {"connection_id":161746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":161746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:46:34] local.INFO: TCP Data received {"connection_id":161746,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:46:34] local.INFO: Processing buffer {"connection_id":161746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:46:34] local.INFO: IMEI packet received {"connection_id":161746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":161746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:46:35] local.INFO: TCP Data received {"connection_id":161746,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:46:35] local.INFO: Processing buffer {"connection_id":161746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de449f8012d196940071fed78003d005928..."} 
[2026-08-23 14:46:35] local.INFO: Packet analysis {"connection_id":161746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de4"} 
[2026-08-23 14:46:35] local.INFO: Extracted packet for processing {"connection_id":161746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de4"} 
[2026-08-23 14:46:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593863680001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787476331000,"timestamp_ms":1787476331000,"timestamp_seconds":1787476331,"priority":1,"record_length":96,"hex_timestamp":"000001a02de449f8"} 
[2026-08-23 14:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:46:35] 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-08-23 14:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 14:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593863680001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593863680001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:46:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593863680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":161746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:46:35] local.INFO: GPS data processed {"connection_id":161746,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:46:35] local.INFO: Acknowledgment sent {"connection_id":161746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:46:41] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02de84198012d7e2fc005d35518000400ac25..."} 
[2026-08-23 14:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de84198012d7e2fc005d35518000400ac25..."} 
[2026-08-23 14:46:41] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de84198012d7e2fc005d35518000400ac25..."} 
[2026-08-23 14:46:41] local.INFO: Packet analysis {"connection_id":161745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de8"} 
[2026-08-23 14:46:41] local.INFO: Extracted packet for processing {"connection_id":161745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de8"} 
[2026-08-23 14:46:41] local.INFO: GPS Element Parsed {"raw_longitude":763244480,"raw_latitude":97735960,"longitude_deg":76.324448,"latitude_deg":9.773596,"altitude":4,"angle":172,"satellites":37,"speed":7,"hex_longitude":"2d7e2fc0","hex_latitude":"05d35518","is_valid_coordinates":true} 
[2026-08-23 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-08-23 14:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594006784001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122630739459047424,"note":"Value kept but may cause issues"} 
[2026-08-23 14:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092767672681529344,"note":"Value kept but may cause issues"} 
[2026-08-23 14:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787476591000,"timestamp_ms":1787476591000,"timestamp_seconds":1787476591,"priority":1,"record_length":96,"hex_timestamp":"000001a02de84198"} 
[2026-08-23 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-08-23 14:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":44,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-23 14:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2578,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 14:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594006784001,"66":11547,"109":206,"85":15104,"24":7,"16":122630739459047424,"45":9092767672681529344},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594006784001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:46:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122630739459047424,"km_value":122630739459047.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092767672681529344,"description":"Unknown IO ID 45"} 
[2026-08-23 14:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594006784001,"power":11547,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9092767672681529344}} 
[2026-08-23 14:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":161745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:46:41] local.INFO: GPS data processed {"connection_id":161745,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:46:41] local.INFO: Acknowledgment sent {"connection_id":161745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:46:46] local.INFO: TCP Data received {"connection_id":161747,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:46:46] local.INFO: Processing buffer {"connection_id":161747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:46:46] local.INFO: IMEI packet received {"connection_id":161747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":161747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:46:51] local.INFO: TCP Data received {"connection_id":161747,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:46:51] local.INFO: Processing buffer {"connection_id":161747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:46:51] local.INFO: IMEI packet received {"connection_id":161747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":161747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:46:52] local.INFO: TCP Data received {"connection_id":161747,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:46:52] local.INFO: Processing buffer {"connection_id":161747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:46:52] local.INFO: Packet analysis {"connection_id":161747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de6"} 
[2026-08-23 14:46:52] local.INFO: Extracted packet for processing {"connection_id":161747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de6"} 
[2026-08-23 14:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":23,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593902080001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787476481000,"timestamp_ms":1787476481000,"timestamp_seconds":1787476481,"priority":1,"record_length":96,"hex_timestamp":"000001a02de693e8"} 
[2026-08-23 14:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:46:52] 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-08-23 14:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:46:52] 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-08-23 14:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593902080001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593902080001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:46:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593902080001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":161747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:46:52] local.INFO: GPS data processed {"connection_id":161747,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:46:52] local.INFO: Acknowledgment sent {"connection_id":161747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:47:06] local.INFO: TCP Data received {"connection_id":161746,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02de7d438012d196940071fed78003d005928..."} 
[2026-08-23 14:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de7d438012d196940071fed78003d005928..."} 
[2026-08-23 14:47:06] local.INFO: Processing buffer {"connection_id":161746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de7d438012d196940071fed78003d005928..."} 
[2026-08-23 14:47:06] local.INFO: Packet analysis {"connection_id":161746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de7"} 
[2026-08-23 14:47:06] local.INFO: Extracted packet for processing {"connection_id":161746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de7"} 
[2026-08-23 14:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593940736001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787476563000,"timestamp_ms":1787476563000,"timestamp_seconds":1787476563,"priority":1,"record_length":96,"hex_timestamp":"000001a02de7d438"} 
[2026-08-23 14:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593940736001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593940736001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:47:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593940736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":161746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:47:06] local.INFO: GPS data processed {"connection_id":161746,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:47:06] local.INFO: Acknowledgment sent {"connection_id":161746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:47:12] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02de84580012d7e300005d354580004009b25..."} 
[2026-08-23 14:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de84580012d7e300005d354580004009b25..."} 
[2026-08-23 14:47:12] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de84580012d7e300005d354580004009b25..."} 
[2026-08-23 14:47:12] local.INFO: Packet analysis {"connection_id":161745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de8"} 
[2026-08-23 14:47:12] local.INFO: Extracted packet for processing {"connection_id":161745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de8"} 
[2026-08-23 14:47:12] local.INFO: GPS Element Parsed {"raw_longitude":763244544,"raw_latitude":97735768,"longitude_deg":76.3244544,"latitude_deg":9.7735768,"altitude":4,"angle":155,"satellites":37,"speed":7,"hex_longitude":"2d7e3000","hex_latitude":"05d35458","is_valid_coordinates":true} 
[2026-08-23 14:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594007296001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122630748048982016,"note":"Value kept but may cause issues"} 
[2026-08-23 14:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092697303937259520,"note":"Value kept but may cause issues"} 
[2026-08-23 14:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787476592000,"timestamp_ms":1787476592000,"timestamp_seconds":1787476592,"priority":1,"record_length":96,"hex_timestamp":"000001a02de84580"} 
[2026-08-23 14:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-23 14:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594007296001,"66":11547,"109":206,"85":15104,"24":7,"16":122630748048982016,"45":9092697303937259520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594007296001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:47:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122630748048982016,"km_value":122630748048982.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092697303937259520,"description":"Unknown IO ID 45"} 
[2026-08-23 14:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594007296001,"power":11547,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9092697303937259520}} 
[2026-08-23 14:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":161745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:47:12] local.INFO: GPS data processed {"connection_id":161745,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:47:12] local.INFO: Acknowledgment sent {"connection_id":161745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:47:24] local.INFO: TCP Data received {"connection_id":161747,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:47:24] local.INFO: Processing buffer {"connection_id":161747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:47:24] local.INFO: Packet analysis {"connection_id":161747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de6"} 
[2026-08-23 14:47:24] local.INFO: Extracted packet for processing {"connection_id":161747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de6"} 
[2026-08-23 14:47:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":23,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593902080001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787476481000,"timestamp_ms":1787476481000,"timestamp_seconds":1787476481,"priority":1,"record_length":96,"hex_timestamp":"000001a02de693e8"} 
[2026-08-23 14:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:47:24] 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-08-23 14:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593902080001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593902080001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:47:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:47:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593902080001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":161747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:47:24] local.INFO: GPS data processed {"connection_id":161747,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:47:24] local.INFO: Acknowledgment sent {"connection_id":161747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:47:34] local.INFO: TCP Data received {"connection_id":163147,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:47:34] local.INFO: Processing buffer {"connection_id":163147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:47:34] local.INFO: IMEI packet received {"connection_id":163147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":163147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:47:34] local.INFO: TCP Data received {"connection_id":163147,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:47:34] local.INFO: Processing buffer {"connection_id":163147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:47:34] local.INFO: IMEI packet received {"connection_id":163147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":163147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:47:39] local.INFO: TCP Data received {"connection_id":163147,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:47:39] local.INFO: Processing buffer {"connection_id":163147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:47:39] local.INFO: IMEI packet received {"connection_id":163147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":163147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:47:40] local.INFO: TCP Data received {"connection_id":163147,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02de7d438012d196940071fed78003d005928..."} 
[2026-08-23 14:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de7d438012d196940071fed78003d005928..."} 
[2026-08-23 14:47:40] local.INFO: Processing buffer {"connection_id":163147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de7d438012d196940071fed78003d005928..."} 
[2026-08-23 14:47:40] local.INFO: Packet analysis {"connection_id":163147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de7"} 
[2026-08-23 14:47:40] local.INFO: Extracted packet for processing {"connection_id":163147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de7"} 
[2026-08-23 14:47:40] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:47:40] 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-08-23 14:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594000128001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787476563000,"timestamp_ms":1787476563000,"timestamp_seconds":1787476563,"priority":1,"record_length":96,"hex_timestamp":"000001a02de7d438"} 
[2026-08-23 14:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594000128001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594000128001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:47:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:47:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594000128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":163147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:47:40] local.INFO: GPS data processed {"connection_id":163147,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:47:40] local.INFO: Acknowledgment sent {"connection_id":163147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:47:41] local.INFO: TCP Data received {"connection_id":163147,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02de7d438012d196940071fed78003d005928..."} 
[2026-08-23 14:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de7d438012d196940071fed78003d005928..."} 
[2026-08-23 14:47:41] local.INFO: Processing buffer {"connection_id":163147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de7d438012d196940071fed78003d005928..."} 
[2026-08-23 14:47:41] local.INFO: Packet analysis {"connection_id":163147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de7"} 
[2026-08-23 14:47:41] local.INFO: Extracted packet for processing {"connection_id":163147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de7"} 
[2026-08-23 14:47:41] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532920,"longitude_deg":75.6640064,"latitude_deg":11.953292,"altitude":61,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fed78","is_valid_coordinates":true} 
[2026-08-23 14:47: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-08-23 14:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594000128001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787476563000,"timestamp_ms":1787476563000,"timestamp_seconds":1787476563,"priority":1,"record_length":96,"hex_timestamp":"000001a02de7d438"} 
[2026-08-23 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-08-23 14:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 14:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594000128001,"66":2166,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594000128001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:47:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:47:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594000128001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":163147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:47:41] local.INFO: GPS data processed {"connection_id":163147,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:47:41] local.INFO: Acknowledgment sent {"connection_id":163147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:47:43] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02de84968012d7e30c005d353a80004008f25..."} 
[2026-08-23 14:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de84968012d7e30c005d353a80004008f25..."} 
[2026-08-23 14:47:43] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de84968012d7e30c005d353a80004008f25..."} 
[2026-08-23 14:47:43] local.INFO: Packet analysis {"connection_id":161745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de8"} 
[2026-08-23 14:47:43] local.INFO: Extracted packet for processing {"connection_id":161745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de8"} 
[2026-08-23 14:47:43] local.INFO: GPS Element Parsed {"raw_longitude":763244736,"raw_latitude":97735592,"longitude_deg":76.3244736,"latitude_deg":9.7735592,"altitude":4,"angle":143,"satellites":37,"speed":8,"hex_longitude":"2d7e30c0","hex_latitude":"05d353a8","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594007552001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122630760933883904,"note":"Value kept but may cause issues"} 
[2026-08-23 14:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092767672681388032,"note":"Value kept but may cause issues"} 
[2026-08-23 14:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787476593000,"timestamp_ms":1787476593000,"timestamp_seconds":1787476593,"priority":1,"record_length":96,"hex_timestamp":"000001a02de84968"} 
[2026-08-23 14:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-23 14:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594007552001,"66":11341,"109":206,"85":15104,"24":8,"16":122630760933883904,"45":9092767672681388032},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594007552001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:47:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:47:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122630760933883904,"km_value":122630760933883.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092767672681388032,"description":"Unknown IO ID 45"} 
[2026-08-23 14:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594007552001,"power":11341,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9092767672681388032}} 
[2026-08-23 14:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":161745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:47:43] local.INFO: GPS data processed {"connection_id":161745,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:47:43] local.INFO: Acknowledgment sent {"connection_id":161745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:47:46] local.INFO: TCP Data received {"connection_id":161748,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:47:46] local.INFO: Processing buffer {"connection_id":161748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:47:46] local.INFO: IMEI packet received {"connection_id":161748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":161748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:47:51] local.INFO: TCP Data received {"connection_id":161748,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:47:51] local.INFO: Processing buffer {"connection_id":161748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:47:51] local.INFO: IMEI packet received {"connection_id":161748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":161748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:47:52] local.INFO: TCP Data received {"connection_id":161748,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:47:52] local.INFO: Processing buffer {"connection_id":161748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:47:52] local.INFO: Packet analysis {"connection_id":161748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de6"} 
[2026-08-23 14:47:52] local.INFO: Extracted packet for processing {"connection_id":161748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de6"} 
[2026-08-23 14:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":23,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:47: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-08-23 14:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593902080001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787476481000,"timestamp_ms":1787476481000,"timestamp_seconds":1787476481,"priority":1,"record_length":96,"hex_timestamp":"000001a02de693e8"} 
[2026-08-23 14:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:47:52] 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-08-23 14:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:47: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-08-23 14:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593902080001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593902080001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:47:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593902080001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":161748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:47:52] local.INFO: GPS data processed {"connection_id":161748,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:47:52] local.INFO: Acknowledgment sent {"connection_id":161748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:48:12] local.INFO: TCP Data received {"connection_id":163147,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02de831f8012d196700071fed70003d005927..."} 
[2026-08-23 14:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de831f8012d196700071fed70003d005927..."} 
[2026-08-23 14:48:12] local.INFO: Processing buffer {"connection_id":163147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de831f8012d196700071fed70003d005927..."} 
[2026-08-23 14:48:12] local.INFO: Packet analysis {"connection_id":163147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de8"} 
[2026-08-23 14:48:12] local.INFO: Extracted packet for processing {"connection_id":163147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de8"} 
[2026-08-23 14:48:12] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119532912,"longitude_deg":75.6639488,"latitude_deg":11.9532912,"altitude":61,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-23 14:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594000128001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15547755841716224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847422464,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787476587000,"timestamp_ms":1787476587000,"timestamp_seconds":1787476587,"priority":1,"record_length":96,"hex_timestamp":"000001a02de831f8"} 
[2026-08-23 14:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 14:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594000128001,"66":14004,"102":206,"83":41984,"24":0,"16":15547755841716224,"45":1831065122847422464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 14:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594000128001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:48:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 14:48:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15547755841716224,"km_value":15547755841716.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847422464,"description":"Unknown IO ID 45"} 
[2026-08-23 14:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594000128001,"power":14004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847422464}} 
[2026-08-23 14:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":163147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:48:13] local.INFO: GPS data processed {"connection_id":163147,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:48:13] local.INFO: Acknowledgment sent {"connection_id":163147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:48:14] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02de860d8012d7e330005d351300004008a24..."} 
[2026-08-23 14:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de860d8012d7e330005d351300004008a24..."} 
[2026-08-23 14:48:14] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de860d8012d7e330005d351300004008a24..."} 
[2026-08-23 14:48:14] local.INFO: Packet analysis {"connection_id":161745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de8"} 
[2026-08-23 14:48:14] local.INFO: Extracted packet for processing {"connection_id":161745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de8"} 
[2026-08-23 14:48:14] local.INFO: GPS Element Parsed {"raw_longitude":763245312,"raw_latitude":97734960,"longitude_deg":76.3245312,"latitude_deg":9.773496,"altitude":4,"angle":138,"satellites":36,"speed":0,"hex_longitude":"2d7e3300","hex_latitude":"05d35130","is_valid_coordinates":true} 
[2026-08-23 14:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594007808001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122630803883556864,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092978778913875968,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787476599000,"timestamp_ms":1787476599000,"timestamp_seconds":1787476599,"priority":1,"record_length":96,"hex_timestamp":"000001a02de860d8"} 
[2026-08-23 14:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 14:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1111,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594007808001,"66":11352,"109":206,"85":15104,"24":0,"16":122630803883556864,"45":9092978778913875968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594007808001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:48:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:48:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122630803883556864,"km_value":122630803883556.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092978778913875968,"description":"Unknown IO ID 45"} 
[2026-08-23 14:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594007808001,"power":11352,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9092978778913875968}} 
[2026-08-23 14:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":161745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:48:14] local.INFO: GPS data processed {"connection_id":161745,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:48:14] local.INFO: Acknowledgment sent {"connection_id":161745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:48:24] local.INFO: TCP Data received {"connection_id":161748,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:48:24] local.INFO: Processing buffer {"connection_id":161748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:48:24] local.INFO: Packet analysis {"connection_id":161748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de6"} 
[2026-08-23 14:48:24] local.INFO: Extracted packet for processing {"connection_id":161748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de6"} 
[2026-08-23 14:48:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":23,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 14:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593902080001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787476481000,"timestamp_ms":1787476481000,"timestamp_seconds":1787476481,"priority":1,"record_length":96,"hex_timestamp":"000001a02de693e8"} 
[2026-08-23 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-08-23 14:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:48:24] 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-08-23 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-08-23 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-08-23 14:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593902080001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593902080001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:48:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:48:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593902080001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":161748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:48:24] local.INFO: GPS data processed {"connection_id":161748,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:48:24] local.INFO: Acknowledgment sent {"connection_id":161748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:48:28] local.INFO: TCP Data received {"connection_id":160803,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:48:28] local.INFO: Processing buffer {"connection_id":160803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:48:28] local.INFO: IMEI packet received {"connection_id":160803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":160803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:48:30] local.INFO: TCP Data received {"connection_id":160803,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 14:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160803,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 14:48:30] local.INFO: Processing buffer {"connection_id":160803,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 14:48:30] local.INFO: IMEI packet received {"connection_id":160803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":160803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:48:32] local.INFO: TCP Data received {"connection_id":160803,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02de92040012d19b2c0071fef380033005427..."} 
[2026-08-23 14:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de92040012d19b2c0071fef380033005427..."} 
[2026-08-23 14:48:32] local.INFO: Processing buffer {"connection_id":160803,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a02d..."} 
[2026-08-23 14:48:32] local.INFO: IMEI packet received {"connection_id":160803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":160803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:48:33] local.INFO: TCP Data received {"connection_id":160803,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02de93f80012d19c8c0071ff230002f004826..."} 
[2026-08-23 14:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de93f80012d19c8c0071ff230002f004826..."} 
[2026-08-23 14:48:33] local.INFO: Processing buffer {"connection_id":160803,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a02de92040012d19b2c0071fef380033005427..."} 
[2026-08-23 14:48:33] local.INFO: Packet analysis {"connection_id":160803,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02de9"} 
[2026-08-23 14:48:33] local.INFO: Extracted packet for processing {"connection_id":160803,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de9"} 
[2026-08-23 14:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756658880,"raw_latitude":119533368,"longitude_deg":75.665888,"latitude_deg":11.9533368,"altitude":51,"angle":84,"satellites":39,"speed":28,"hex_longitude":"2d19b2c0","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594020608001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15548700734521344,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848305465171195904,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787476648000,"timestamp_ms":1787476648000,"timestamp_seconds":1787476648,"priority":1,"record_length":96,"hex_timestamp":"000001a02de92040"} 
[2026-08-23 14:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-23 14:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594020608001,"66":14352,"101":206,"83":41984,"24":28,"16":15548700734521344,"45":1848305465171195904},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 14:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594020608001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:48:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 14:48:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15548700734521344,"km_value":15548700734521.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848305465171195904,"description":"Unknown IO ID 45"} 
[2026-08-23 14:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594020608001,"power":14352,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1848305465171195904}} 
[2026-08-23 14:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":160803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:48:33] local.INFO: GPS data processed {"connection_id":160803,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:48:33] local.INFO: Acknowledgment sent {"connection_id":160803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:48:33] local.INFO: Packet analysis {"connection_id":160803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de9"} 
[2026-08-23 14:48:33] local.INFO: Extracted packet for processing {"connection_id":160803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de9"} 
[2026-08-23 14:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756664512,"raw_latitude":119534128,"longitude_deg":75.6664512,"latitude_deg":11.9534128,"altitude":47,"angle":72,"satellites":38,"speed":19,"hex_longitude":"2d19c8c0","hex_latitude":"071ff230","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594021888001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15548971317460992,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851753533635770368,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787476656000,"timestamp_ms":1787476656000,"timestamp_seconds":1787476656,"priority":1,"record_length":96,"hex_timestamp":"000001a02de93f80"} 
[2026-08-23 14:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-23 14:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143808,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:33] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503836871557120,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4045930555,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638757918767205,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:33] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-23 14:48:33] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:33] local.WARNING: Large IO value detected {"io_id":176,"raw_value":84751987283271660,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:33] local.WARNING: Large IO value detected {"io_id":104,"raw_value":16325858557956608,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:33] local.WARNING: Large IO value detected {"io_id":25,"raw_value":8791034306311487546,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:33] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,101,83,24,241,157,16,61,160,12,45,128,54,40,10,66,8,192,253,1,240,5,227,31,4,113,205,23,206,132,216,239,55,2,7,58,18,176,104,25],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-23 14:48:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675029822416617472,"timestamp_seconds":3675029822416617.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 14:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594021888001,"66":14265,"101":206,"83":41984,"24":19,"16":15548971317460992,"45":1851753533635770368},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 14:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594021888001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:48:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 14:48:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15548971317460992,"km_value":15548971317460.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851753533635770368,"description":"Unknown IO ID 45"} 
[2026-08-23 14:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594021888001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1851753533635770368}} 
[2026-08-23 14:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":160803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:48:33] local.INFO: GPS data processed {"connection_id":160803,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:48:33] local.INFO: Acknowledgment sent {"connection_id":160803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:48:34] local.INFO: TCP Data received {"connection_id":160803,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02de94368012d19ca40071ff310002f003a26..."} 
[2026-08-23 14:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de94368012d19ca40071ff310002f003a26..."} 
[2026-08-23 14:48:34] local.INFO: Processing buffer {"connection_id":160803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de94368012d19ca40071ff310002f003a26..."} 
[2026-08-23 14:48:34] local.INFO: Packet analysis {"connection_id":160803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de9"} 
[2026-08-23 14:48:34] local.INFO: Extracted packet for processing {"connection_id":160803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de9"} 
[2026-08-23 14:48:34] local.INFO: GPS Element Parsed {"raw_longitude":756664896,"raw_latitude":119534352,"longitude_deg":75.6664896,"latitude_deg":11.9534352,"altitude":47,"angle":58,"satellites":38,"speed":17,"hex_longitude":"2d19ca40","hex_latitude":"071ff310","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594023936001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15548992792297472,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857945983123599360,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787476657000,"timestamp_ms":1787476657000,"timestamp_seconds":1787476657,"priority":1,"record_length":96,"hex_timestamp":"000001a02de94368"} 
[2026-08-23 14:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:48: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-08-23 14: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 14:48:34] 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-08-23 14: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-08-23 14:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594023936001,"66":14265,"101":206,"83":41984,"24":17,"16":15548992792297472,"45":1857945983123599360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 14:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594023936001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:48:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 14:48:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15548992792297472,"km_value":15548992792297.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857945983123599360,"description":"Unknown IO ID 45"} 
[2026-08-23 14:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594023936001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1857945983123599360}} 
[2026-08-23 14:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":160803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:48:34] local.INFO: GPS data processed {"connection_id":160803,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:48:34] local.INFO: Acknowledgment sent {"connection_id":160803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:48:45] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02de860d8012d7e330005d351300004008a24..."} 
[2026-08-23 14:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de860d8012d7e330005d351300004008a24..."} 
[2026-08-23 14:48:45] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de860d8012d7e330005d351300004008a24..."} 
[2026-08-23 14:48:45] local.INFO: Packet analysis {"connection_id":161745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de8"} 
[2026-08-23 14:48:45] local.INFO: Extracted packet for processing {"connection_id":161745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de8"} 
[2026-08-23 14:48:45] local.INFO: GPS Element Parsed {"raw_longitude":763245312,"raw_latitude":97734960,"longitude_deg":76.3245312,"latitude_deg":9.773496,"altitude":4,"angle":138,"satellites":36,"speed":0,"hex_longitude":"2d7e3300","hex_latitude":"05d35130","is_valid_coordinates":true} 
[2026-08-23 14:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594009344001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122630803883556864,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093612097611313152,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787476599000,"timestamp_ms":1787476599000,"timestamp_seconds":1787476599,"priority":1,"record_length":96,"hex_timestamp":"000001a02de860d8"} 
[2026-08-23 14:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":44,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-23 14:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1210,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594009344001,"66":11352,"109":206,"85":15104,"24":0,"16":122630803883556864,"45":9093612097611313152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594009344001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:48:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:48:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122630803883556864,"km_value":122630803883556.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093612097611313152,"description":"Unknown IO ID 45"} 
[2026-08-23 14:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594009344001,"power":11352,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093612097611313152}} 
[2026-08-23 14:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":161745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:48:45] local.INFO: GPS data processed {"connection_id":161745,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:48:45] local.INFO: Acknowledgment sent {"connection_id":161745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:48:46] local.INFO: TCP Data received {"connection_id":163148,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:48:46] local.INFO: Processing buffer {"connection_id":163148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:48:46] local.INFO: IMEI packet received {"connection_id":163148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":163148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:48:51] local.INFO: TCP Data received {"connection_id":163148,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:48:51] local.INFO: Processing buffer {"connection_id":163148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:48:51] local.INFO: IMEI packet received {"connection_id":163148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":163148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:48:52] local.INFO: TCP Data received {"connection_id":163148,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:48:52] local.INFO: Processing buffer {"connection_id":163148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:48:52] local.INFO: Packet analysis {"connection_id":163148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de6"} 
[2026-08-23 14:48:52] local.INFO: Extracted packet for processing {"connection_id":163148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de6"} 
[2026-08-23 14:48:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":23,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593902080001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787476481000,"timestamp_ms":1787476481000,"timestamp_seconds":1787476481,"priority":1,"record_length":96,"hex_timestamp":"000001a02de693e8"} 
[2026-08-23 14:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:48:52] 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-08-23 14: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-08-23 14:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:48:52] 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-08-23 14:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593902080001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593902080001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:48:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:48:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593902080001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":163148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:48:52] local.INFO: GPS data processed {"connection_id":163148,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:48:52] local.INFO: Acknowledgment sent {"connection_id":163148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:49:05] local.INFO: TCP Data received {"connection_id":160803,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02de9d7d8012d19be0007203ad00027015629..."} 
[2026-08-23 14:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de9d7d8012d19be0007203ad00027015629..."} 
[2026-08-23 14:49:05] local.INFO: Processing buffer {"connection_id":160803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de9d7d8012d19be0007203ad00027015629..."} 
[2026-08-23 14:49:05] local.INFO: Packet analysis {"connection_id":160803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de9"} 
[2026-08-23 14:49:05] local.INFO: Extracted packet for processing {"connection_id":160803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de9"} 
[2026-08-23 14:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756661760,"raw_latitude":119552720,"longitude_deg":75.666176,"latitude_deg":11.955272,"altitude":39,"angle":342,"satellites":41,"speed":41,"hex_longitude":"2d19be00","hex_latitude":"07203ad0","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594033920001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15550135253598208,"note":"Value kept but may cause issues"} 
[2026-08-23 14:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854920127128719360,"note":"Value kept but may cause issues"} 
[2026-08-23 14:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787476695000,"timestamp_ms":1787476695000,"timestamp_seconds":1787476695,"priority":1,"record_length":96,"hex_timestamp":"000001a02de9d7d8"} 
[2026-08-23 14:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 14:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594033920001,"66":14157,"103":206,"83":41984,"24":41,"16":15550135253598208,"45":1854920127128719360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 14:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594033920001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:49:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 14:49:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15550135253598208,"km_value":15550135253598.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854920127128719360,"description":"Unknown IO ID 45"} 
[2026-08-23 14:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594033920001,"power":14157,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1854920127128719360}} 
[2026-08-23 14:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":160803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:49:05] local.INFO: GPS data processed {"connection_id":160803,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:49:05] local.INFO: Acknowledgment sent {"connection_id":160803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:49:16] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02de860d8012d7e330005d351300004008a24..."} 
[2026-08-23 14:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de860d8012d7e330005d351300004008a24..."} 
[2026-08-23 14:49:16] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de860d8012d7e330005d351300004008a24..."} 
[2026-08-23 14:49:16] local.INFO: Packet analysis {"connection_id":161745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de8"} 
[2026-08-23 14:49:16] local.INFO: Extracted packet for processing {"connection_id":161745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de8"} 
[2026-08-23 14:49:16] local.INFO: GPS Element Parsed {"raw_longitude":763245312,"raw_latitude":97734960,"longitude_deg":76.3245312,"latitude_deg":9.773496,"altitude":4,"angle":138,"satellites":36,"speed":0,"hex_longitude":"2d7e3300","hex_latitude":"05d35130","is_valid_coordinates":true} 
[2026-08-23 14:49:16] 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-08-23 14:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594009344001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122630803883556864,"note":"Value kept but may cause issues"} 
[2026-08-23 14:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093612097611313152,"note":"Value kept but may cause issues"} 
[2026-08-23 14:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787476599000,"timestamp_ms":1787476599000,"timestamp_seconds":1787476599,"priority":1,"record_length":96,"hex_timestamp":"000001a02de860d8"} 
[2026-08-23 14:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":44,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-23 14:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1210,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594009344001,"66":11352,"109":206,"85":15104,"24":0,"16":122630803883556864,"45":9093612097611313152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594009344001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:49:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:49:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122630803883556864,"km_value":122630803883556.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093612097611313152,"description":"Unknown IO ID 45"} 
[2026-08-23 14:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594009344001,"power":11352,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093612097611313152}} 
[2026-08-23 14:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":161745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:49:16] local.INFO: GPS data processed {"connection_id":161745,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:49:16] local.INFO: Acknowledgment sent {"connection_id":161745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:49:27] local.INFO: TCP Data received {"connection_id":163148,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:49:27] local.INFO: Processing buffer {"connection_id":163148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:49:27] local.INFO: Packet analysis {"connection_id":163148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de6"} 
[2026-08-23 14:49:27] local.INFO: Extracted packet for processing {"connection_id":163148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de6"} 
[2026-08-23 14:49:27] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":23,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593902080001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787476481000,"timestamp_ms":1787476481000,"timestamp_seconds":1787476481,"priority":1,"record_length":96,"hex_timestamp":"000001a02de693e8"} 
[2026-08-23 14:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":163148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":163148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":163148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593902080001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593902080001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:49:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:49:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593902080001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":163148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:49:27] local.INFO: GPS data processed {"connection_id":163148,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:49:27] local.INFO: Acknowledgment sent {"connection_id":163148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:49:28] local.INFO: TCP Data received {"connection_id":160562,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:49:28] local.INFO: Processing buffer {"connection_id":160562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:49:28] local.INFO: IMEI packet received {"connection_id":160562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":160562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:49:29] local.INFO: TCP Data received {"connection_id":160562,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:49:29] local.INFO: Processing buffer {"connection_id":160562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:49:29] local.INFO: IMEI packet received {"connection_id":160562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":160562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:49:29] local.INFO: TCP Data received {"connection_id":160562,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:49:29] local.INFO: Processing buffer {"connection_id":160562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:49:29] local.INFO: IMEI packet received {"connection_id":160562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":160562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:49:34] local.INFO: TCP Data received {"connection_id":160562,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:49:34] local.INFO: Processing buffer {"connection_id":160562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:49:34] local.INFO: IMEI packet received {"connection_id":160562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":160562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:49:35] local.INFO: TCP Data received {"connection_id":160562,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02de9dfa8012d19bc80072043680026016529..."} 
[2026-08-23 14:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de9dfa8012d19bc80072043680026016529..."} 
[2026-08-23 14:49:35] local.INFO: Processing buffer {"connection_id":160562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de9dfa8012d19bc80072043680026016529..."} 
[2026-08-23 14:49:35] local.INFO: Packet analysis {"connection_id":160562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de9"} 
[2026-08-23 14:49:35] local.INFO: Extracted packet for processing {"connection_id":160562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de9"} 
[2026-08-23 14:49:35] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119554920,"longitude_deg":75.6661376,"latitude_deg":11.955492,"altitude":38,"angle":357,"satellites":41,"speed":45,"hex_longitude":"2d19bc80","hex_latitude":"07204368","is_valid_coordinates":true} 
[2026-08-23 14:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594033920001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15550242627780608,"note":"Value kept but may cause issues"} 
[2026-08-23 14:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854920127128719360,"note":"Value kept but may cause issues"} 
[2026-08-23 14:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787476697000,"timestamp_ms":1787476697000,"timestamp_seconds":1787476697,"priority":1,"record_length":96,"hex_timestamp":"000001a02de9dfa8"} 
[2026-08-23 14:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 14:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594033920001,"66":13928,"103":206,"83":41984,"24":45,"16":15550242627780608,"45":1854920127128719360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 14:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594033920001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:49:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 14:49:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15550242627780608,"km_value":15550242627780.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854920127128719360,"description":"Unknown IO ID 45"} 
[2026-08-23 14:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594033920001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1854920127128719360}} 
[2026-08-23 14:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":160562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:49:35] local.INFO: GPS data processed {"connection_id":160562,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:49:35] local.INFO: Acknowledgment sent {"connection_id":160562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:49:46] local.INFO: TCP Data received {"connection_id":163149,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:49:46] local.INFO: Processing buffer {"connection_id":163149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:49:46] local.INFO: IMEI packet received {"connection_id":163149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":163149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:49:47] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02deb1828012d7e330005d351400004008a26..."} 
[2026-08-23 14:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02deb1828012d7e330005d351400004008a26..."} 
[2026-08-23 14:49:47] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02deb1828012d7e330005d351400004008a26..."} 
[2026-08-23 14:49:47] local.INFO: Packet analysis {"connection_id":161745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:49:47] local.INFO: Extracted packet for processing {"connection_id":161745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:49:47] local.INFO: GPS Element Parsed {"raw_longitude":763245312,"raw_latitude":97734976,"longitude_deg":76.3245312,"latitude_deg":9.7734976,"altitude":4,"angle":138,"satellites":38,"speed":0,"hex_longitude":"2d7e3300","hex_latitude":"05d35140","is_valid_coordinates":true} 
[2026-08-23 14:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594009344001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122630803883556864,"note":"Value kept but may cause issues"} 
[2026-08-23 14:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093612097611313152,"note":"Value kept but may cause issues"} 
[2026-08-23 14:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787476777000,"timestamp_ms":1787476777000,"timestamp_seconds":1787476777,"priority":1,"record_length":96,"hex_timestamp":"000001a02deb1828"} 
[2026-08-23 14:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14: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":44,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-23 14:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1210,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594009344001,"66":12298,"109":206,"85":15104,"24":0,"16":122630803883556864,"45":9093612097611313152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594009344001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:49:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:49:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122630803883556864,"km_value":122630803883556.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093612097611313152,"description":"Unknown IO ID 45"} 
[2026-08-23 14:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594009344001,"power":12298,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093612097611313152}} 
[2026-08-23 14:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":161745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:49:47] local.INFO: GPS data processed {"connection_id":161745,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:49:47] local.INFO: Acknowledgment sent {"connection_id":161745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:49:51] local.INFO: TCP Data received {"connection_id":163149,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:49:51] local.INFO: Processing buffer {"connection_id":163149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:49:51] local.INFO: IMEI packet received {"connection_id":163149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":163149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:49:52] local.INFO: TCP Data received {"connection_id":163149,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:49:52] local.INFO: Processing buffer {"connection_id":163149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de693e8012d34c50006aa4098001700851e..."} 
[2026-08-23 14:49:52] local.INFO: Packet analysis {"connection_id":163149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de6"} 
[2026-08-23 14:49:52] local.INFO: Extracted packet for processing {"connection_id":163149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de6"} 
[2026-08-23 14:49:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":23,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593902080001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787476481000,"timestamp_ms":1787476481000,"timestamp_seconds":1787476481,"priority":1,"record_length":96,"hex_timestamp":"000001a02de693e8"} 
[2026-08-23 14:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:49:52] 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-08-23 14:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593902080001,"66":25615,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593902080001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:49:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:49:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593902080001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":163149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:49:52] local.INFO: GPS data processed {"connection_id":163149,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:49:52] local.INFO: Acknowledgment sent {"connection_id":163149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:50:06] local.INFO: TCP Data received {"connection_id":160562,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02de9fee8012d19b8c0072066480026015a28..."} 
[2026-08-23 14:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02de9fee8012d19b8c0072066480026015a28..."} 
[2026-08-23 14:50:06] local.INFO: Processing buffer {"connection_id":160562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02de9fee8012d19b8c0072066480026015a28..."} 
[2026-08-23 14:50:06] local.INFO: Packet analysis {"connection_id":160562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02de9"} 
[2026-08-23 14:50:06] local.INFO: Extracted packet for processing {"connection_id":160562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02de9"} 
[2026-08-23 14:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756660416,"raw_latitude":119563848,"longitude_deg":75.6660416,"latitude_deg":11.9563848,"altitude":38,"angle":346,"satellites":40,"speed":42,"hex_longitude":"2d19b8c0","hex_latitude":"07206648","is_valid_coordinates":true} 
[2026-08-23 14:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594034432001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15550676419477504,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914664216576,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787476705000,"timestamp_ms":1787476705000,"timestamp_seconds":1787476705,"priority":1,"record_length":96,"hex_timestamp":"000001a02de9fee8"} 
[2026-08-23 14:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:50:06] 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-08-23 14:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 14:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594034432001,"66":14483,"103":206,"83":41984,"24":42,"16":15550676419477504,"45":1854497914664216576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 14:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594034432001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:50:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 14:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15550676419477504,"km_value":15550676419477.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914664216576,"description":"Unknown IO ID 45"} 
[2026-08-23 14:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594034432001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1854497914664216576}} 
[2026-08-23 14:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":160562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:50:06] local.INFO: GPS data processed {"connection_id":160562,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:50:06] local.INFO: Acknowledgment sent {"connection_id":160562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:50:18] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02deb1828012d7e330005d351400004008a26..."} 
[2026-08-23 14:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02deb1828012d7e330005d351400004008a26..."} 
[2026-08-23 14:50:18] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02deb1828012d7e330005d351400004008a26..."} 
[2026-08-23 14:50:18] local.INFO: Packet analysis {"connection_id":161745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:50:18] local.INFO: Extracted packet for processing {"connection_id":161745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:50:18] local.INFO: GPS Element Parsed {"raw_longitude":763245312,"raw_latitude":97734976,"longitude_deg":76.3245312,"latitude_deg":9.7734976,"altitude":4,"angle":138,"satellites":38,"speed":0,"hex_longitude":"2d7e3300","hex_latitude":"05d35140","is_valid_coordinates":true} 
[2026-08-23 14:50:18] 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-08-23 14:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594054912001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122630803883556864,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093612097611317248,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787476777000,"timestamp_ms":1787476777000,"timestamp_seconds":1787476777,"priority":1,"record_length":96,"hex_timestamp":"000001a02deb1828"} 
[2026-08-23 14:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 14:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:18] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436617478656,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:18] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186035,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3307953162512334384,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:18] local.WARNING: Large IO value detected {"io_id":4,"raw_value":56898627326443520,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:18] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832551,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:18] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3238089013846671566,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:18] local.WARNING: Large IO value detected {"io_id":192,"raw_value":419774916507009243,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-23 14:50:18] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2550214014,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:18] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3221607253,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:18] local.WARNING: Large IO value detected {"io_id":37,"raw_value":1970324837629956,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:18] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2885812224,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545661440,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:18] local.WARNING: Large IO value detected {"io_id":171,"raw_value":-216172782113783807,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:18] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,109,85,24,241,157,16,172,160,96,45,81,4,36,10,66,73,192,1,240,77,227,211,113,205,7,65,47,37,239,2,179,5,171],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-08-23 14:50:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288382271965102319,"timestamp_seconds":288382271965102.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 14:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161745,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594054912001,"66":12298,"109":206,"85":15104,"24":0,"16":122630803883556864,"45":9093612097611317248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594054912001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:50:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:50:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122630803883556864,"km_value":122630803883556.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093612097611317248,"description":"Unknown IO ID 45"} 
[2026-08-23 14:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594054912001,"power":12298,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093612097611317248}} 
[2026-08-23 14:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":161745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:50:18] local.INFO: GPS data processed {"connection_id":161745,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:50:18] local.INFO: Acknowledgment sent {"connection_id":161745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:50:24] local.INFO: TCP Data received {"connection_id":163149,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:50:24] local.INFO: Processing buffer {"connection_id":163149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:50:24] local.INFO: Packet analysis {"connection_id":163149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:50:24] local.INFO: Extracted packet for processing {"connection_id":163149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:50:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593979136001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787476782000,"timestamp_ms":1787476782000,"timestamp_seconds":1787476782,"priority":1,"record_length":96,"hex_timestamp":"000001a02deb2bb0"} 
[2026-08-23 14:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:50:24] 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-08-23 14:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593979136001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593979136001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:50:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:50:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593979136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":163149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:50:24] local.INFO: GPS data processed {"connection_id":163149,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:50:24] local.INFO: Acknowledgment sent {"connection_id":163149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:50:29] local.INFO: TCP Data received {"connection_id":161749,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:50:29] local.INFO: Processing buffer {"connection_id":161749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:50:29] local.INFO: IMEI packet received {"connection_id":161749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":161749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:50:34] local.INFO: TCP Data received {"connection_id":160804,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:50:34] local.INFO: Processing buffer {"connection_id":160804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:50:34] local.INFO: IMEI packet received {"connection_id":160804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":160804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:50:34] local.INFO: TCP Data received {"connection_id":161749,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:50:34] local.INFO: Processing buffer {"connection_id":161749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:50:34] local.INFO: IMEI packet received {"connection_id":161749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":161749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:50:35] local.INFO: TCP Data received {"connection_id":161749,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dea1e28012d19b00007207f280028016628..."} 
[2026-08-23 14:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dea1e28012d19b00007207f280028016628..."} 
[2026-08-23 14:50:35] local.INFO: Processing buffer {"connection_id":161749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dea1e28012d19b00007207f280028016628..."} 
[2026-08-23 14:50:35] local.INFO: Packet analysis {"connection_id":161749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dea"} 
[2026-08-23 14:50:35] local.INFO: Extracted packet for processing {"connection_id":161749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dea"} 
[2026-08-23 14:50:35] local.INFO: GPS Element Parsed {"raw_longitude":756658176,"raw_latitude":119570216,"longitude_deg":75.6658176,"latitude_deg":11.9570216,"altitude":40,"angle":358,"satellites":40,"speed":14,"hex_longitude":"2d19b000","hex_latitude":"07207f28","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594036480001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15551007131959296,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853442383503837184,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787476713000,"timestamp_ms":1787476713000,"timestamp_seconds":1787476713,"priority":1,"record_length":96,"hex_timestamp":"000001a02dea1e28"} 
[2026-08-23 14:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":147,"data_length":795,"current_offset":136} 
[2026-08-23 14:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594036480001,"66":14080,"103":206,"83":41984,"24":14,"16":15551007131959296,"45":1853442383503837184},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 14:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594036480001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:50:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 14:50:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15551007131959296,"km_value":15551007131959.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853442383503837184,"description":"Unknown IO ID 45"} 
[2026-08-23 14:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594036480001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1853442383503837184}} 
[2026-08-23 14:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":161749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:50:35] local.INFO: GPS data processed {"connection_id":161749,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:50:35] local.INFO: Acknowledgment sent {"connection_id":161749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:50:39] local.INFO: TCP Data received {"connection_id":160804,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:50:39] local.INFO: Processing buffer {"connection_id":160804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:50:39] local.INFO: IMEI packet received {"connection_id":160804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":160804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:50:40] local.INFO: TCP Data received {"connection_id":160804,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02debcbd8012d7e3a4005d359d00004005e27..."} 
[2026-08-23 14:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02debcbd8012d7e3a4005d359d00004005e27..."} 
[2026-08-23 14:50:40] local.INFO: Processing buffer {"connection_id":160804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02debcbd8012d7e3a4005d359d00004005e27..."} 
[2026-08-23 14:50:40] local.INFO: Packet analysis {"connection_id":160804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:50:40] local.INFO: Extracted packet for processing {"connection_id":160804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:50:40] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97737168,"longitude_deg":76.3247168,"latitude_deg":9.7737168,"altitude":4,"angle":94,"satellites":39,"speed":14,"hex_longitude":"2d7e3a40","hex_latitude":"05d359d0","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594066176001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122631044401725440,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735007072256,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787476823000,"timestamp_ms":1787476823000,"timestamp_seconds":1787476823,"priority":1,"record_length":96,"hex_timestamp":"000001a02debcbd8"} 
[2026-08-23 14:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 14:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594066176001,"66":11482,"109":206,"85":15104,"24":14,"16":122631044401725440,"45":9094878735007072256},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594066176001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:50:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122631044401725440,"km_value":122631044401725.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735007072256,"description":"Unknown IO ID 45"} 
[2026-08-23 14:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594066176001,"power":11482,"unknown_109":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9094878735007072256}} 
[2026-08-23 14:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":160804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:50:40] local.INFO: GPS data processed {"connection_id":160804,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:50:40] local.INFO: Acknowledgment sent {"connection_id":160804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:50:51] local.INFO: TCP Data received {"connection_id":163150,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:50:51] local.INFO: Processing buffer {"connection_id":163150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:50:51] local.INFO: IMEI packet received {"connection_id":163150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":163150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:50:56] local.INFO: TCP Data received {"connection_id":163150,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:50:56] local.INFO: Processing buffer {"connection_id":163150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:50:56] local.INFO: IMEI packet received {"connection_id":163150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":163150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:50:57] local.INFO: TCP Data received {"connection_id":163150,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:50:57] local.INFO: Processing buffer {"connection_id":163150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:50:57] local.INFO: Packet analysis {"connection_id":163150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:50:57] local.INFO: Extracted packet for processing {"connection_id":163150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:50:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593979136001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787476782000,"timestamp_ms":1787476782000,"timestamp_seconds":1787476782,"priority":1,"record_length":96,"hex_timestamp":"000001a02deb2bb0"} 
[2026-08-23 14:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593979136001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593979136001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:50:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:50:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593979136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":163150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:50:57] local.INFO: GPS data processed {"connection_id":163150,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:50:57] local.INFO: Acknowledgment sent {"connection_id":163150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:51:01] local.INFO: TCP Data received {"connection_id":163150,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:51:01] local.INFO: Processing buffer {"connection_id":163150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:51:01] local.INFO: Packet analysis {"connection_id":163150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:51:01] local.INFO: Extracted packet for processing {"connection_id":163150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:51:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593979136001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787476782000,"timestamp_ms":1787476782000,"timestamp_seconds":1787476782,"priority":1,"record_length":96,"hex_timestamp":"000001a02deb2bb0"} 
[2026-08-23 14:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":163150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":163150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":163150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593979136001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593979136001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:51:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:51:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593979136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":163150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:51:01] local.INFO: GPS data processed {"connection_id":163150,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:51:01] local.INFO: Acknowledgment sent {"connection_id":163150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:51:06] local.INFO: TCP Data received {"connection_id":161749,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02deb9910012d19c34007208198002d011826..."} 
[2026-08-23 14:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02deb9910012d19c34007208198002d011826..."} 
[2026-08-23 14:51:06] local.INFO: Processing buffer {"connection_id":161749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02deb9910012d19c34007208198002d011826..."} 
[2026-08-23 14:51:06] local.INFO: Packet analysis {"connection_id":161749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:51:06] local.INFO: Extracted packet for processing {"connection_id":161749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756663104,"raw_latitude":119570840,"longitude_deg":75.6663104,"latitude_deg":11.957084,"altitude":45,"angle":280,"satellites":38,"speed":6,"hex_longitude":"2d19c340","hex_latitude":"07208198","is_valid_coordinates":true} 
[2026-08-23 14:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594061824001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15551393679015936,"note":"Value kept but may cause issues"} 
[2026-08-23 14:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558202783744,"note":"Value kept but may cause issues"} 
[2026-08-23 14:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787476810000,"timestamp_ms":1787476810000,"timestamp_seconds":1787476810,"priority":1,"record_length":96,"hex_timestamp":"000001a02deb9910"} 
[2026-08-23 14:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:51:06] 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-08-23 14:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-23 14:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594061824001,"66":13515,"103":206,"83":41984,"24":6,"16":15551393679015936,"45":1857101558202783744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 14:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594061824001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:51:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 14:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15551393679015936,"km_value":15551393679015.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558202783744,"description":"Unknown IO ID 45"} 
[2026-08-23 14:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594061824001,"power":13515,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1857101558202783744}} 
[2026-08-23 14:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":161749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:51:07] local.INFO: GPS data processed {"connection_id":161749,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:51:07] local.INFO: Acknowledgment sent {"connection_id":161749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:51:11] local.INFO: TCP Data received {"connection_id":160804,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02debd3a8012d7e3d4005d359300004006b27..."} 
[2026-08-23 14:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02debd3a8012d7e3d4005d359300004006b27..."} 
[2026-08-23 14:51:11] local.INFO: Processing buffer {"connection_id":160804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02debd3a8012d7e3d4005d359300004006b27..."} 
[2026-08-23 14:51:11] local.INFO: Packet analysis {"connection_id":160804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:51:11] local.INFO: Extracted packet for processing {"connection_id":160804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:51:11] local.INFO: GPS Element Parsed {"raw_longitude":763247936,"raw_latitude":97737008,"longitude_deg":76.3247936,"latitude_deg":9.7737008,"altitude":4,"angle":107,"satellites":39,"speed":16,"hex_longitude":"2d7e3d40","hex_latitude":"05d35930","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594066688001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122631083056431104,"note":"Value kept but may cause issues"} 
[2026-08-23 14:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791193030656,"note":"Value kept but may cause issues"} 
[2026-08-23 14:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787476825000,"timestamp_ms":1787476825000,"timestamp_seconds":1787476825,"priority":1,"record_length":96,"hex_timestamp":"000001a02debd3a8"} 
[2026-08-23 14:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":44,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-23 14:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2380,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594066688001,"66":11482,"109":206,"85":15104,"24":16,"16":122631083056431104,"45":9095652791193030656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594066688001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:51:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122631083056431104,"km_value":122631083056431.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791193030656,"description":"Unknown IO ID 45"} 
[2026-08-23 14:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594066688001,"power":11482,"unknown_109":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9095652791193030656}} 
[2026-08-23 14:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":160804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:51:11] local.INFO: GPS data processed {"connection_id":160804,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:51:11] local.INFO: Acknowledgment sent {"connection_id":160804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:51:28] local.INFO: TCP Data received {"connection_id":163151,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:51:28] local.INFO: Processing buffer {"connection_id":163151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:51:28] local.INFO: IMEI packet received {"connection_id":163151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":163151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:51:29] local.INFO: TCP Data received {"connection_id":163151,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:51:29] local.INFO: Processing buffer {"connection_id":163151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:51:29] local.INFO: IMEI packet received {"connection_id":163151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":163151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:51:29] local.INFO: TCP Data received {"connection_id":163151,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:51:29] local.INFO: Processing buffer {"connection_id":163151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:51:29] local.INFO: IMEI packet received {"connection_id":163151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":163151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:51:30] local.INFO: TCP Data received {"connection_id":163151,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:51:30] local.INFO: Processing buffer {"connection_id":163151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:51:30] local.INFO: IMEI packet received {"connection_id":163151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":163151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:51:34] local.INFO: TCP Data received {"connection_id":163152,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:51:34] local.INFO: Processing buffer {"connection_id":163152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:51:34] local.INFO: IMEI packet received {"connection_id":163152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":163152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:51:39] local.INFO: TCP Data received {"connection_id":163152,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:51:39] local.INFO: Processing buffer {"connection_id":163152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:51:39] local.INFO: IMEI packet received {"connection_id":163152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":163152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:51:40] local.INFO: TCP Data received {"connection_id":163152,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02debe348012d7e438005d357800004005827..."} 
[2026-08-23 14:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02debe348012d7e438005d357800004005827..."} 
[2026-08-23 14:51:40] local.INFO: Processing buffer {"connection_id":163152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02debe348012d7e438005d357800004005827..."} 
[2026-08-23 14:51:40] local.INFO: Packet analysis {"connection_id":163152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:51:40] local.INFO: Extracted packet for processing {"connection_id":163152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:51:40] local.INFO: GPS Element Parsed {"raw_longitude":763249536,"raw_latitude":97736576,"longitude_deg":76.3249536,"latitude_deg":9.7736576,"altitude":4,"angle":88,"satellites":39,"speed":14,"hex_longitude":"2d7e4380","hex_latitude":"05d35780","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594067200001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122631160365842432,"note":"Value kept but may cause issues"} 
[2026-08-23 14:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096497216123121664,"note":"Value kept but may cause issues"} 
[2026-08-23 14:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787476829000,"timestamp_ms":1787476829000,"timestamp_seconds":1787476829,"priority":1,"record_length":96,"hex_timestamp":"000001a02debe348"} 
[2026-08-23 14:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":44,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-23 14:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2380,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594067200001,"66":11406,"109":206,"85":15104,"24":14,"16":122631160365842432,"45":9096497216123121664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594067200001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:51:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122631160365842432,"km_value":122631160365842.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096497216123121664,"description":"Unknown IO ID 45"} 
[2026-08-23 14:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594067200001,"power":11406,"unknown_109":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9096497216123121664}} 
[2026-08-23 14:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":163152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:51:40] local.INFO: GPS data processed {"connection_id":163152,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:51:40] local.INFO: Acknowledgment sent {"connection_id":163152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:51:47] local.INFO: TCP Data received {"connection_id":160805,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:51:47] local.INFO: Processing buffer {"connection_id":160805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:51:47] local.INFO: IMEI packet received {"connection_id":160805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":160805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:51:51] local.INFO: TCP Data received {"connection_id":160805,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:51:51] local.INFO: Processing buffer {"connection_id":160805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:51:51] local.INFO: IMEI packet received {"connection_id":160805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":160805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:51:52] local.INFO: TCP Data received {"connection_id":160805,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:51:52] local.INFO: Processing buffer {"connection_id":160805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:51:52] local.INFO: Packet analysis {"connection_id":160805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:51:52] local.INFO: Extracted packet for processing {"connection_id":160805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:51: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-08-23 14:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593979136001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787476782000,"timestamp_ms":1787476782000,"timestamp_seconds":1787476782,"priority":1,"record_length":96,"hex_timestamp":"000001a02deb2bb0"} 
[2026-08-23 14:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:51:52] 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-08-23 14:51: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-08-23 14:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:51:52] 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-08-23 14:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593979136001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593979136001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:51:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593979136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":160805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:51:52] local.INFO: GPS data processed {"connection_id":160805,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:51:52] local.INFO: Acknowledgment sent {"connection_id":160805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:51:56] local.INFO: TCP Data received {"connection_id":160805,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:51:56] local.INFO: Processing buffer {"connection_id":160805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:51:56] local.INFO: Packet analysis {"connection_id":160805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:51:56] local.INFO: Extracted packet for processing {"connection_id":160805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:51:56] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593979136001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787476782000,"timestamp_ms":1787476782000,"timestamp_seconds":1787476782,"priority":1,"record_length":96,"hex_timestamp":"000001a02deb2bb0"} 
[2026-08-23 14:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:51:56] 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-08-23 14:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593979136001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593979136001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:51:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:51:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593979136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":160805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:51:56] local.INFO: GPS data processed {"connection_id":160805,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:51:56] local.INFO: Acknowledgment sent {"connection_id":160805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:52:11] local.INFO: TCP Data received {"connection_id":163152,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02ded42d8012d7e588005d2f2f0000800b327..."} 
[2026-08-23 14:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ded42d8012d7e588005d2f2f0000800b327..."} 
[2026-08-23 14:52:11] local.INFO: Processing buffer {"connection_id":163152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ded42d8012d7e588005d2f2f0000800b327..."} 
[2026-08-23 14:52:11] local.INFO: Packet analysis {"connection_id":163152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ded"} 
[2026-08-23 14:52:11] local.INFO: Extracted packet for processing {"connection_id":163152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ded"} 
[2026-08-23 14:52:11] local.INFO: GPS Element Parsed {"raw_longitude":763254912,"raw_latitude":97710832,"longitude_deg":76.3254912,"latitude_deg":9.7710832,"altitude":8,"angle":179,"satellites":39,"speed":33,"hex_longitude":"2d7e5880","hex_latitude":"05d2f2f0","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594090752001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122632788158447616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104167409232201728,"note":"Value kept but may cause issues"} 
[2026-08-23 14:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787476919000,"timestamp_ms":1787476919000,"timestamp_seconds":1787476919,"priority":1,"record_length":96,"hex_timestamp":"000001a02ded42d8"} 
[2026-08-23 14:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":43,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-23 14:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2627,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594090752001,"66":11254,"109":206,"85":15104,"24":33,"16":122632788158447616,"45":9104167409232201728},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594090752001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:52:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122632788158447616,"km_value":122632788158447.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104167409232201728,"description":"Unknown IO ID 45"} 
[2026-08-23 14:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594090752001,"power":11254,"unknown_109":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9104167409232201728}} 
[2026-08-23 14:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":163152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:52:11] local.INFO: GPS data processed {"connection_id":163152,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:52:11] local.INFO: Acknowledgment sent {"connection_id":163152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:52:29] local.INFO: TCP Data received {"connection_id":160805,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:52:29] local.INFO: Processing buffer {"connection_id":160805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:52:29] local.INFO: Packet analysis {"connection_id":160805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:52:29] local.INFO: Extracted packet for processing {"connection_id":160805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:52:29] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593979136001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787476782000,"timestamp_ms":1787476782000,"timestamp_seconds":1787476782,"priority":1,"record_length":96,"hex_timestamp":"000001a02deb2bb0"} 
[2026-08-23 14:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:52:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593979136001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593979136001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:52:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:52:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593979136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":160805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:52:29] local.INFO: GPS data processed {"connection_id":160805,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:52:29] local.INFO: Acknowledgment sent {"connection_id":160805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:52:34] local.INFO: TCP Data received {"connection_id":161751,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:52:34] local.INFO: Processing buffer {"connection_id":161751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:52:34] local.INFO: IMEI packet received {"connection_id":161751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":161751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:52:37] local.INFO: TCP Data received {"connection_id":161751,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:52:37] local.INFO: Processing buffer {"connection_id":161751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:52:37] local.INFO: IMEI packet received {"connection_id":161751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":161751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:52:39] local.INFO: TCP Data received {"connection_id":161751,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:52:39] local.INFO: Processing buffer {"connection_id":161751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:52:39] local.INFO: IMEI packet received {"connection_id":161751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":161751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:52:40] local.INFO: TCP Data received {"connection_id":161751,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02ded6218012d7e57c005d2d4a0000900c327..."} 
[2026-08-23 14:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ded6218012d7e57c005d2d4a0000900c327..."} 
[2026-08-23 14:52:40] local.INFO: Processing buffer {"connection_id":161751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ded6218012d7e57c005d2d4a0000900c327..."} 
[2026-08-23 14:52:40] local.INFO: Packet analysis {"connection_id":161751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ded"} 
[2026-08-23 14:52:40] local.INFO: Extracted packet for processing {"connection_id":161751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ded"} 
[2026-08-23 14:52:40] local.INFO: GPS Element Parsed {"raw_longitude":763254720,"raw_latitude":97703072,"longitude_deg":76.325472,"latitude_deg":9.7703072,"altitude":9,"angle":195,"satellites":39,"speed":40,"hex_longitude":"2d7e57c0","hex_latitude":"05d2d4a0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 14:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594091264001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122633166115569664,"note":"Value kept but may cause issues"} 
[2026-08-23 14:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104167409231785984,"note":"Value kept but may cause issues"} 
[2026-08-23 14:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787476927000,"timestamp_ms":1787476927000,"timestamp_seconds":1787476927,"priority":1,"record_length":96,"hex_timestamp":"000001a02ded6218"} 
[2026-08-23 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-08-23 14:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":43,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-23 14:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2627,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 14:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594091264001,"66":11243,"109":206,"85":15104,"24":40,"16":122633166115569664,"45":9104167409231785984},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594091264001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:52:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:52:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122633166115569664,"km_value":122633166115569.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104167409231785984,"description":"Unknown IO ID 45"} 
[2026-08-23 14:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594091264001,"power":11243,"unknown_109":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9104167409231785984}} 
[2026-08-23 14:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":161751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:52:40] local.INFO: GPS data processed {"connection_id":161751,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:52:40] local.INFO: Acknowledgment sent {"connection_id":161751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:52:46] local.INFO: TCP Data received {"connection_id":163153,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:52:46] local.INFO: Processing buffer {"connection_id":163153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:52:46] local.INFO: IMEI packet received {"connection_id":163153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":163153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:52:52] local.INFO: TCP Data received {"connection_id":163153,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:52:52] local.INFO: Processing buffer {"connection_id":163153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:52:52] local.INFO: IMEI packet received {"connection_id":163153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":163153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:52:52] local.INFO: TCP Data received {"connection_id":163153,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:52:52] local.INFO: Processing buffer {"connection_id":163153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:52:52] local.INFO: Packet analysis {"connection_id":163153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:52:52] local.INFO: Extracted packet for processing {"connection_id":163153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 14:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593979136001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787476782000,"timestamp_ms":1787476782000,"timestamp_seconds":1787476782,"priority":1,"record_length":96,"hex_timestamp":"000001a02deb2bb0"} 
[2026-08-23 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-08-23 14:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:52:52] 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-08-23 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-08-23 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-08-23 14:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:52:52] 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-08-23 14:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593979136001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593979136001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:52:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593979136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":163153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:52:52] local.INFO: GPS data processed {"connection_id":163153,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:52:52] local.INFO: Acknowledgment sent {"connection_id":163153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:53:11] local.INFO: TCP Data received {"connection_id":161751,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02ded69e8012d7e540005d2cd00000800d127..."} 
[2026-08-23 14:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ded69e8012d7e540005d2cd00000800d127..."} 
[2026-08-23 14:53:11] local.INFO: Processing buffer {"connection_id":161751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ded69e8012d7e540005d2cd00000800d127..."} 
[2026-08-23 14:53:11] local.INFO: Packet analysis {"connection_id":161751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ded"} 
[2026-08-23 14:53:11] local.INFO: Extracted packet for processing {"connection_id":161751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ded"} 
[2026-08-23 14:53:11] local.INFO: GPS Element Parsed {"raw_longitude":763253760,"raw_latitude":97701120,"longitude_deg":76.325376,"latitude_deg":9.770112,"altitude":8,"angle":209,"satellites":39,"speed":43,"hex_longitude":"2d7e5400","hex_latitude":"05d2cd00","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594093312001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122633269194784768,"note":"Value kept but may cause issues"} 
[2026-08-23 14:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103956302997266432,"note":"Value kept but may cause issues"} 
[2026-08-23 14:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787476929000,"timestamp_ms":1787476929000,"timestamp_seconds":1787476929,"priority":1,"record_length":96,"hex_timestamp":"000001a02ded69e8"} 
[2026-08-23 14:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":43,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-23 14:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2528,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594093312001,"66":11167,"109":206,"85":15104,"24":43,"16":122633269194784768,"45":9103956302997266432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594093312001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:53:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122633269194784768,"km_value":122633269194784.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103956302997266432,"description":"Unknown IO ID 45"} 
[2026-08-23 14:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594093312001,"power":11167,"unknown_109":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9103956302997266432}} 
[2026-08-23 14:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":161751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:53:11] local.INFO: GPS data processed {"connection_id":161751,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:53:11] local.INFO: Acknowledgment sent {"connection_id":161751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:53:24] local.INFO: TCP Data received {"connection_id":163153,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:53:24] local.INFO: Processing buffer {"connection_id":163153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:53:24] local.INFO: Packet analysis {"connection_id":163153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:53:24] local.INFO: Extracted packet for processing {"connection_id":163153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593979136001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787476782000,"timestamp_ms":1787476782000,"timestamp_seconds":1787476782,"priority":1,"record_length":96,"hex_timestamp":"000001a02deb2bb0"} 
[2026-08-23 14:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:53:24] 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-08-23 14:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:53:24] 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-08-23 14:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593979136001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593979136001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:53:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593979136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":163153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:53:24] local.INFO: GPS data processed {"connection_id":163153,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:53:24] local.INFO: Acknowledgment sent {"connection_id":163153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:53:39] local.INFO: TCP Data received {"connection_id":163155,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:53:39] local.INFO: Processing buffer {"connection_id":163155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:53:39] local.INFO: IMEI packet received {"connection_id":163155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":163155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:53:43] local.INFO: TCP Data received {"connection_id":163155,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:53:43] local.INFO: Processing buffer {"connection_id":163155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:53:43] local.INFO: IMEI packet received {"connection_id":163155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":163155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:53:44] local.INFO: TCP Data received {"connection_id":163155,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02ded7d70012d7e488005d2bda8000600dc27..."} 
[2026-08-23 14:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ded7d70012d7e488005d2bda8000600dc27..."} 
[2026-08-23 14:53:44] local.INFO: Processing buffer {"connection_id":163155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ded7d70012d7e488005d2bda8000600dc27..."} 
[2026-08-23 14:53:44] local.INFO: Packet analysis {"connection_id":163155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ded"} 
[2026-08-23 14:53:44] local.INFO: Extracted packet for processing {"connection_id":163155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ded"} 
[2026-08-23 14:53:44] local.INFO: GPS Element Parsed {"raw_longitude":763250816,"raw_latitude":97697192,"longitude_deg":76.3250816,"latitude_deg":9.7697192,"altitude":6,"angle":220,"satellites":39,"speed":30,"hex_longitude":"2d7e4880","hex_latitude":"05d2bda8","is_valid_coordinates":true} 
[2026-08-23 14:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594093824001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122633509712953344,"note":"Value kept but may cause issues"} 
[2026-08-23 14:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102900771834101760,"note":"Value kept but may cause issues"} 
[2026-08-23 14:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787476934000,"timestamp_ms":1787476934000,"timestamp_seconds":1787476934,"priority":1,"record_length":96,"hex_timestamp":"000001a02ded7d70"} 
[2026-08-23 14:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-23 14:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1844,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594093824001,"66":11124,"109":206,"85":15104,"24":30,"16":122633509712953344,"45":9102900771834101760},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594093824001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:53:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:53:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122633509712953344,"km_value":122633509712953.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102900771834101760,"description":"Unknown IO ID 45"} 
[2026-08-23 14:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594093824001,"power":11124,"unknown_109":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9102900771834101760}} 
[2026-08-23 14:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":163155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:53:44] local.INFO: GPS data processed {"connection_id":163155,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:53:44] local.INFO: Acknowledgment sent {"connection_id":163155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:53:45] local.INFO: TCP Data received {"connection_id":163155,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02ded8d10012d7e3f8005d2b568000400e827..."} 
[2026-08-23 14:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ded8d10012d7e3f8005d2b568000400e827..."} 
[2026-08-23 14:53:45] local.INFO: Processing buffer {"connection_id":163155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ded8d10012d7e3f8005d2b568000400e827..."} 
[2026-08-23 14:53:45] local.INFO: Packet analysis {"connection_id":163155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ded"} 
[2026-08-23 14:53:45] local.INFO: Extracted packet for processing {"connection_id":163155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ded"} 
[2026-08-23 14:53:45] local.INFO: GPS Element Parsed {"raw_longitude":763248512,"raw_latitude":97695080,"longitude_deg":76.3248512,"latitude_deg":9.769508,"altitude":4,"angle":232,"satellites":39,"speed":30,"hex_longitude":"2d7e3f80","hex_latitude":"05d2b568","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594095104001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122633660036808704,"note":"Value kept but may cause issues"} 
[2026-08-23 14:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099663809600923648,"note":"Value kept but may cause issues"} 
[2026-08-23 14:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787476938000,"timestamp_ms":1787476938000,"timestamp_seconds":1787476938,"priority":1,"record_length":96,"hex_timestamp":"000001a02ded8d10"} 
[2026-08-23 14:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":43,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-23 14:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1457,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594095104001,"66":11384,"109":206,"85":15104,"24":30,"16":122633660036808704,"45":9099663809600923648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 14:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594095104001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:53:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 14:53:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122633660036808704,"km_value":122633660036808.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099663809600923648,"description":"Unknown IO ID 45"} 
[2026-08-23 14:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594095104001,"power":11384,"unknown_109":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9099663809600923648}} 
[2026-08-23 14:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":163155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:53:45] local.INFO: GPS data processed {"connection_id":163155,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:53:45] local.INFO: Acknowledgment sent {"connection_id":163155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:53:45] local.INFO: TCP Data received {"connection_id":160806,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:53:46] local.INFO: Processing buffer {"connection_id":160806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:53:46] local.INFO: IMEI packet received {"connection_id":160806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":160806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:53:51] local.INFO: TCP Data received {"connection_id":160806,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:53:51] local.INFO: Processing buffer {"connection_id":160806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:53:51] local.INFO: IMEI packet received {"connection_id":160806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":160806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:53:52] local.INFO: TCP Data received {"connection_id":160806,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:53:52] local.INFO: Processing buffer {"connection_id":160806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:53:52] local.INFO: Packet analysis {"connection_id":160806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:53:52] local.INFO: Extracted packet for processing {"connection_id":160806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:53:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593979136001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787476782000,"timestamp_ms":1787476782000,"timestamp_seconds":1787476782,"priority":1,"record_length":96,"hex_timestamp":"000001a02deb2bb0"} 
[2026-08-23 14:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:53:52] 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-08-23 14:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:53:52] 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-08-23 14:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593979136001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593979136001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:53:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:53:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593979136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":160806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:53:52] local.INFO: GPS data processed {"connection_id":160806,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:53:52] local.INFO: Acknowledgment sent {"connection_id":160806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:54:17] local.INFO: TCP Data received {"connection_id":163155,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02dedcf78012d7e238005d29e70000200e527..."} 
[2026-08-23 14:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dedcf78012d7e238005d29e70000200e527..."} 
[2026-08-23 14:54:17] local.INFO: Processing buffer {"connection_id":163155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dedcf78012d7e238005d29e70000200e527..."} 
[2026-08-23 14:54:17] local.INFO: Packet analysis {"connection_id":163155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ded"} 
[2026-08-23 14:54:17] local.INFO: Extracted packet for processing {"connection_id":163155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ded"} 
[2026-08-23 14:54:17] local.INFO: GPS Element Parsed {"raw_longitude":763241344,"raw_latitude":97689200,"longitude_deg":76.3241344,"latitude_deg":9.76892,"altitude":2,"angle":229,"satellites":39,"speed":20,"hex_longitude":"2d7e2380","hex_latitude":"05d29e70","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594096128001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122634106713407488,"note":"Value kept but may cause issues"} 
[2026-08-23 14:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097130534809987072,"note":"Value kept but may cause issues"} 
[2026-08-23 14:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787476955000,"timestamp_ms":1787476955000,"timestamp_seconds":1787476955,"priority":1,"record_length":96,"hex_timestamp":"000001a02dedcf78"} 
[2026-08-23 14:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":44,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-08-23 14:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1498,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594096128001,"66":10960,"116":206,"85":15104,"24":20,"16":122634106713407488,"45":9097130534809987072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 14:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594096128001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:54:17] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 14:54:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122634106713407488,"km_value":122634106713407.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097130534809987072,"description":"Unknown IO ID 45"} 
[2026-08-23 14:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594096128001,"power":10960,"unknown_116":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9097130534809987072}} 
[2026-08-23 14:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":163155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:54:17] local.INFO: GPS data processed {"connection_id":163155,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:54:17] local.INFO: Acknowledgment sent {"connection_id":163155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:54:24] local.INFO: TCP Data received {"connection_id":160806,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:54:24] local.INFO: Processing buffer {"connection_id":160806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:54:24] local.INFO: Packet analysis {"connection_id":160806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:54:24] local.INFO: Extracted packet for processing {"connection_id":160806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:54:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593979136001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787476782000,"timestamp_ms":1787476782000,"timestamp_seconds":1787476782,"priority":1,"record_length":96,"hex_timestamp":"000001a02deb2bb0"} 
[2026-08-23 14:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:54:24] 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-08-23 14:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:54: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-08-23 14:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593979136001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593979136001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:54:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:54:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593979136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":160806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:54:24] local.INFO: GPS data processed {"connection_id":160806,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:54:24] local.INFO: Acknowledgment sent {"connection_id":160806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:54:35] local.INFO: TCP Data received {"connection_id":161753,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:54:35] local.INFO: Processing buffer {"connection_id":161753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:54:35] local.INFO: IMEI packet received {"connection_id":161753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":161753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:54:35] local.INFO: TCP Data received {"connection_id":161753,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:54:35] local.INFO: Processing buffer {"connection_id":161753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:54:35] local.INFO: IMEI packet received {"connection_id":161753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":161753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:54:40] local.INFO: TCP Data received {"connection_id":161753,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:54:40] local.INFO: Processing buffer {"connection_id":161753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:54:40] local.INFO: IMEI packet received {"connection_id":161753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":161753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:54:41] local.INFO: TCP Data received {"connection_id":161753,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02dedf2a0012d7e150005d29148000200f527..."} 
[2026-08-23 14:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dedf2a0012d7e150005d29148000200f527..."} 
[2026-08-23 14:54:41] local.INFO: Processing buffer {"connection_id":161753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dedf2a0012d7e150005d29148000200f527..."} 
[2026-08-23 14:54:41] local.INFO: Packet analysis {"connection_id":161753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ded"} 
[2026-08-23 14:54:41] local.INFO: Extracted packet for processing {"connection_id":161753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ded"} 
[2026-08-23 14:54:41] local.INFO: GPS Element Parsed {"raw_longitude":763237632,"raw_latitude":97685832,"longitude_deg":76.3237632,"latitude_deg":9.7685832,"altitude":2,"angle":245,"satellites":39,"speed":17,"hex_longitude":"2d7e1500","hex_latitude":"05d29148","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594100480001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122634347231576064,"note":"Value kept but may cause issues"} 
[2026-08-23 14:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089249235460583424,"note":"Value kept but may cause issues"} 
[2026-08-23 14:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787476964000,"timestamp_ms":1787476964000,"timestamp_seconds":1787476964,"priority":1,"record_length":96,"hex_timestamp":"000001a02dedf2a0"} 
[2026-08-23 14:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":42,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-23 14:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2280,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594100480001,"66":11134,"116":206,"85":15104,"24":17,"16":122634347231576064,"45":9089249235460583424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 14:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594100480001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:54:41] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 14:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122634347231576064,"km_value":122634347231576.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089249235460583424,"description":"Unknown IO ID 45"} 
[2026-08-23 14:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594100480001,"power":11134,"unknown_116":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9089249235460583424}} 
[2026-08-23 14:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":161753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687052,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:54:41] local.INFO: GPS data processed {"connection_id":161753,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:54:41] local.INFO: Acknowledgment sent {"connection_id":161753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:54:42] local.INFO: TCP Data received {"connection_id":161753,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02dedfa70012d7e10c005d290680003010927..."} 
[2026-08-23 14:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dedfa70012d7e10c005d290680003010927..."} 
[2026-08-23 14:54:42] local.INFO: Processing buffer {"connection_id":161753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dedfa70012d7e10c005d290680003010927..."} 
[2026-08-23 14:54:42] local.INFO: Packet analysis {"connection_id":161753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ded"} 
[2026-08-23 14:54:42] local.INFO: Extracted packet for processing {"connection_id":161753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ded"} 
[2026-08-23 14:54:42] local.INFO: GPS Element Parsed {"raw_longitude":763236544,"raw_latitude":97685608,"longitude_deg":76.3236544,"latitude_deg":9.7685608,"altitude":3,"angle":265,"satellites":39,"speed":23,"hex_longitude":"2d7e10c0","hex_latitude":"05d29068","is_valid_coordinates":true} 
[2026-08-23 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":795,"current_offset":40} 
[2026-08-23 14:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594102784001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122634398771183616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085167848297416704,"note":"Value kept but may cause issues"} 
[2026-08-23 14:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787476966000,"timestamp_ms":1787476966000,"timestamp_seconds":1787476966,"priority":1,"record_length":96,"hex_timestamp":"000001a02dedfa70"} 
[2026-08-23 14:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":43,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-08-23 14:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1547,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594102784001,"66":10971,"116":206,"85":15104,"24":23,"16":122634398771183616,"45":9085167848297416704},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 14:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594102784001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:54:42] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 14:54:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122634398771183616,"km_value":122634398771183.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085167848297416704,"description":"Unknown IO ID 45"} 
[2026-08-23 14:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594102784001,"power":10971,"unknown_116":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9085167848297416704}} 
[2026-08-23 14:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":161753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:54:42] local.INFO: GPS data processed {"connection_id":161753,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:54:42] local.INFO: Acknowledgment sent {"connection_id":161753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:54:44] local.INFO: TCP Data received {"connection_id":161753,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02dee3120012d7deb4005d291380004010d26..."} 
[2026-08-23 14:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dee3120012d7deb4005d291380004010d26..."} 
[2026-08-23 14:54:44] local.INFO: Processing buffer {"connection_id":161753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dee3120012d7deb4005d291380004010d26..."} 
[2026-08-23 14:54:44] local.INFO: Packet analysis {"connection_id":161753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dee"} 
[2026-08-23 14:54:44] local.INFO: Extracted packet for processing {"connection_id":161753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dee"} 
[2026-08-23 14:54:44] local.INFO: GPS Element Parsed {"raw_longitude":763226944,"raw_latitude":97685816,"longitude_deg":76.3226944,"latitude_deg":9.7685816,"altitude":4,"angle":269,"satellites":38,"speed":28,"hex_longitude":"2d7deb40","hex_latitude":"05d29138","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594103296001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122634858332684288,"note":"Value kept but may cause issues"} 
[2026-08-23 14:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083971579646339072,"note":"Value kept but may cause issues"} 
[2026-08-23 14:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787476980000,"timestamp_ms":1787476980000,"timestamp_seconds":1787476980,"priority":1,"record_length":96,"hex_timestamp":"000001a02dee3120"} 
[2026-08-23 14:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:54:44] 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-08-23 14: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":42,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-08-23 14:54:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2379,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594103296001,"66":11297,"116":206,"85":15104,"24":28,"16":122634858332684288,"45":9083971579646339072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 14:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594103296001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:54:44] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 14:54:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122634858332684288,"km_value":122634858332684.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083971579646339072,"description":"Unknown IO ID 45"} 
[2026-08-23 14:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594103296001,"power":11297,"unknown_116":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9083971579646339072}} 
[2026-08-23 14:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":161753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:54:44] local.INFO: GPS data processed {"connection_id":161753,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:54:44] local.INFO: Acknowledgment sent {"connection_id":161753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:54:46] local.INFO: TCP Data received {"connection_id":161754,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:54:46] local.INFO: Processing buffer {"connection_id":161754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:54:46] local.INFO: IMEI packet received {"connection_id":161754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":161754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:54:51] local.INFO: TCP Data received {"connection_id":161754,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:54:51] local.INFO: Processing buffer {"connection_id":161754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:54:51] local.INFO: IMEI packet received {"connection_id":161754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":161754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:54:52] local.INFO: TCP Data received {"connection_id":161754,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:54:52] local.INFO: Processing buffer {"connection_id":161754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02deb2bb0012d34c50006aa4098000e008520..."} 
[2026-08-23 14:54:52] local.INFO: Packet analysis {"connection_id":161754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:54:52] local.INFO: Extracted packet for processing {"connection_id":161754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02deb"} 
[2026-08-23 14:54:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":14,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457593979136001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787476782000,"timestamp_ms":1787476782000,"timestamp_seconds":1787476782,"priority":1,"record_length":96,"hex_timestamp":"000001a02deb2bb0"} 
[2026-08-23 14:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-23 14:54:52] 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-08-23 14:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457593979136001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457593979136001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:54:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:54:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457593979136001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":161754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:54:52] local.INFO: GPS data processed {"connection_id":161754,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:54:52] local.INFO: Acknowledgment sent {"connection_id":161754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:55:15] local.INFO: TCP Data received {"connection_id":161753,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02dee67d0012d7dc74005d290100005010b27..."} 
[2026-08-23 14:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dee67d0012d7dc74005d290100005010b27..."} 
[2026-08-23 14:55:15] local.INFO: Processing buffer {"connection_id":161753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dee67d0012d7dc74005d290100005010b27..."} 
[2026-08-23 14:55:15] local.INFO: Packet analysis {"connection_id":161753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dee"} 
[2026-08-23 14:55:15] local.INFO: Extracted packet for processing {"connection_id":161753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dee"} 
[2026-08-23 14:55:15] local.INFO: GPS Element Parsed {"raw_longitude":763217728,"raw_latitude":97685520,"longitude_deg":76.3217728,"latitude_deg":9.768552,"altitude":5,"angle":267,"satellites":39,"speed":28,"hex_longitude":"2d7dc740","hex_latitude":"05d29010","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594106880001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122635300714315776,"note":"Value kept but may cause issues"} 
[2026-08-23 14:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9073416268019742720,"note":"Value kept but may cause issues"} 
[2026-08-23 14:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787476994000,"timestamp_ms":1787476994000,"timestamp_seconds":1787476994,"priority":1,"record_length":96,"hex_timestamp":"000001a02dee67d0"} 
[2026-08-23 14:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-23 14:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":161753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":161753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":161753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594106880001,"66":11134,"116":206,"85":15104,"24":28,"16":122635300714315776,"45":9073416268019742720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 14:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594106880001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:55:15] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 14:55:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122635300714315776,"km_value":122635300714315.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9073416268019742720,"description":"Unknown IO ID 45"} 
[2026-08-23 14:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594106880001,"power":11134,"unknown_116":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9073416268019742720}} 
[2026-08-23 14:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":161753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:55:15] local.INFO: GPS data processed {"connection_id":161753,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:55:15] local.INFO: Acknowledgment sent {"connection_id":161753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:55:23] local.INFO: TCP Data received {"connection_id":161754,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:55:23] local.INFO: Processing buffer {"connection_id":161754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:55:23] local.INFO: Packet analysis {"connection_id":161754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02def"} 
[2026-08-23 14:55:23] local.INFO: Extracted packet for processing {"connection_id":161754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02def"} 
[2026-08-23 14:55:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:55: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-08-23 14:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594056192001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787477083000,"timestamp_ms":1787477083000,"timestamp_seconds":1787477083,"priority":1,"record_length":96,"hex_timestamp":"000001a02defc378"} 
[2026-08-23 14:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:55: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":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:55:23] 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-08-23 14:55: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-08-23 14:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594056192001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594056192001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:55:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:55:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594056192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":161754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:55:23] local.INFO: GPS data processed {"connection_id":161754,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:55:23] local.INFO: Acknowledgment sent {"connection_id":161754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:55:34] local.INFO: TCP Data received {"connection_id":160808,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:55:35] local.INFO: Processing buffer {"connection_id":160808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:55:35] local.INFO: IMEI packet received {"connection_id":160808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":160808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:55:42] local.INFO: TCP Data received {"connection_id":160808,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:55:42] local.INFO: Processing buffer {"connection_id":160808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:55:42] local.INFO: IMEI packet received {"connection_id":160808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":160808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:55:43] local.INFO: TCP Data received {"connection_id":160808,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02deeaa38012d7da40005d28e500007010f27..."} 
[2026-08-23 14:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02deeaa38012d7da40005d28e500007010f27..."} 
[2026-08-23 14:55:43] local.INFO: Processing buffer {"connection_id":160808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02deeaa38012d7da40005d28e500007010f27..."} 
[2026-08-23 14:55:43] local.INFO: Packet analysis {"connection_id":160808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dee"} 
[2026-08-23 14:55:43] local.INFO: Extracted packet for processing {"connection_id":160808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dee"} 
[2026-08-23 14:55:43] local.INFO: GPS Element Parsed {"raw_longitude":763208704,"raw_latitude":97685072,"longitude_deg":76.3208704,"latitude_deg":9.7685072,"altitude":7,"angle":271,"satellites":39,"speed":25,"hex_longitude":"2d7da400","hex_latitude":"05d28e50","is_valid_coordinates":true} 
[2026-08-23 14:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594110464001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122635734506012672,"note":"Value kept but may cause issues"} 
[2026-08-23 14:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063283168858083328,"note":"Value kept but may cause issues"} 
[2026-08-23 14:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787477011000,"timestamp_ms":1787477011000,"timestamp_seconds":1787477011,"priority":1,"record_length":96,"hex_timestamp":"000001a02deeaa38"} 
[2026-08-23 14:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-08-23 14:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1547,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594110464001,"66":10645,"116":206,"85":15104,"24":25,"16":122635734506012672,"45":9063283168858083328},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 14:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594110464001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:55:43] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 14:55:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122635734506012672,"km_value":122635734506012.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063283168858083328,"description":"Unknown IO ID 45"} 
[2026-08-23 14:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594110464001,"power":10645,"unknown_116":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9063283168858083328}} 
[2026-08-23 14:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":160808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:55:43] local.INFO: GPS data processed {"connection_id":160808,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:55:43] local.INFO: Acknowledgment sent {"connection_id":160808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:55:51] local.INFO: TCP Data received {"connection_id":160809,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:55:51] local.INFO: Processing buffer {"connection_id":160809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:55:51] local.INFO: IMEI packet received {"connection_id":160809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":160809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:55:55] local.INFO: TCP Data received {"connection_id":160809,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:55:55] local.INFO: Processing buffer {"connection_id":160809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:55:55] local.INFO: IMEI packet received {"connection_id":160809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":160809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:56:01] local.INFO: TCP Data received {"connection_id":160809,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:56:01] local.INFO: Processing buffer {"connection_id":160809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:56:01] local.INFO: IMEI packet received {"connection_id":160809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":160809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:56:02] local.INFO: TCP Data received {"connection_id":160809,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:56:02] local.INFO: Processing buffer {"connection_id":160809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:56:02] local.INFO: Packet analysis {"connection_id":160809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02def"} 
[2026-08-23 14:56:02] local.INFO: Extracted packet for processing {"connection_id":160809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02def"} 
[2026-08-23 14:56:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594056192001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787477083000,"timestamp_ms":1787477083000,"timestamp_seconds":1787477083,"priority":1,"record_length":96,"hex_timestamp":"000001a02defc378"} 
[2026-08-23 14:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:56:02] 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-08-23 14:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:56:02] 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-08-23 14:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594056192001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594056192001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:56:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:56:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594056192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":160809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:56:02] local.INFO: GPS data processed {"connection_id":160809,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:56:02] local.INFO: Acknowledgment sent {"connection_id":160809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:56:14] local.INFO: TCP Data received {"connection_id":160808,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df0c160012d7d418005d27ba8000900b527..."} 
[2026-08-23 14:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df0c160012d7d418005d27ba8000900b527..."} 
[2026-08-23 14:56:14] local.INFO: Processing buffer {"connection_id":160808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df0c160012d7d418005d27ba8000900b527..."} 
[2026-08-23 14:56:14] local.INFO: Packet analysis {"connection_id":160808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df0"} 
[2026-08-23 14:56:14] local.INFO: Extracted packet for processing {"connection_id":160808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df0"} 
[2026-08-23 14:56:14] local.INFO: GPS Element Parsed {"raw_longitude":763183488,"raw_latitude":97680296,"longitude_deg":76.3183488,"latitude_deg":9.7680296,"altitude":9,"angle":181,"satellites":39,"speed":5,"hex_longitude":"2d7d4180","hex_latitude":"05d27ba8","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594148608001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122637126075416576,"note":"Value kept but may cause issues"} 
[2026-08-23 14:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025776628210225152,"note":"Value kept but may cause issues"} 
[2026-08-23 14:56:14] 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-08-23 14:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787477148000,"timestamp_ms":1787477148000,"timestamp_seconds":1787477148,"priority":1,"record_length":96,"hex_timestamp":"000001a02df0c160"} 
[2026-08-23 14:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":42,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-23 14:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2091,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594148608001,"66":11004,"23":206,"85":15104,"24":5,"16":122637126075416576,"45":9025776628210225152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-23 14:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594148608001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:56:14] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-23 14:56:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122637126075416576,"km_value":122637126075416.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025776628210225152,"description":"Unknown IO ID 45"} 
[2026-08-23 14:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594148608001,"power":11004,"unknown_23":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9025776628210225152}} 
[2026-08-23 14:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":160808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:56:14] local.INFO: GPS data processed {"connection_id":160808,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:56:14] local.INFO: Acknowledgment sent {"connection_id":160808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:56:32] local.INFO: TCP Data received {"connection_id":160564,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160564,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:56:32] local.INFO: Processing buffer {"connection_id":160564,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:56:32] local.INFO: IMEI packet received {"connection_id":160564,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":160564,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:56:35] local.INFO: TCP Data received {"connection_id":160564,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160564,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:56:35] local.INFO: Processing buffer {"connection_id":160564,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:56:35] local.INFO: IMEI packet received {"connection_id":160564,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":160564,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:56:37] local.INFO: TCP Data received {"connection_id":161756,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:56:37] local.INFO: Processing buffer {"connection_id":161756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:56:37] local.INFO: IMEI packet received {"connection_id":161756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":161756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:56:38] local.INFO: TCP Data received {"connection_id":161756,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02def7170012d1846000721e868004c002226..."} 
[2026-08-23 14:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02def7170012d1846000721e868004c002226..."} 
[2026-08-23 14:56:38] local.INFO: Processing buffer {"connection_id":161756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02def7170012d1846000721e868004c002226..."} 
[2026-08-23 14:56:38] local.INFO: Packet analysis {"connection_id":161756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02def"} 
[2026-08-23 14:56:38] local.INFO: Extracted packet for processing {"connection_id":161756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02def"} 
[2026-08-23 14:56:38] local.INFO: GPS Element Parsed {"raw_longitude":756565504,"raw_latitude":119662696,"longitude_deg":75.6565504,"latitude_deg":11.9662696,"altitude":76,"angle":34,"satellites":38,"speed":36,"hex_longitude":"2d184600","hex_latitude":"0721e868","is_valid_coordinates":true} 
[2026-08-23 14:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594125312001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15559773160210432,"note":"Value kept but may cause issues"} 
[2026-08-23 14:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743526405121718272,"note":"Value kept but may cause issues"} 
[2026-08-23 14:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787477062000,"timestamp_ms":1787477062000,"timestamp_seconds":1787477062,"priority":1,"record_length":96,"hex_timestamp":"000001a02def7170"} 
[2026-08-23 14:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:56: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-08-23 14:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 14:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594125312001,"66":14070,"105":206,"83":41984,"24":36,"16":15559773160210432,"45":1743526405121718272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 14:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594125312001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:56:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 14:56:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 14:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15559773160210432,"km_value":15559773160210.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743526405121718272,"description":"Unknown IO ID 45"} 
[2026-08-23 14:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594125312001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1743526405121718272}} 
[2026-08-23 14:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":161756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:56:38] local.INFO: GPS data processed {"connection_id":161756,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:56:38] local.INFO: Acknowledgment sent {"connection_id":161756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:56:39] local.INFO: TCP Data received {"connection_id":160564,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160564,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:56:39] local.INFO: Processing buffer {"connection_id":160564,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:56:39] local.INFO: IMEI packet received {"connection_id":160564,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":160564,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:56:41] local.INFO: TCP Data received {"connection_id":160564,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df10f80012d7d410005d26cc0000a00b327..."} 
[2026-08-23 14:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df10f80012d7d410005d26cc0000a00b327..."} 
[2026-08-23 14:56:41] local.INFO: Processing buffer {"connection_id":160564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df10f80012d7d410005d26cc0000a00b327..."} 
[2026-08-23 14:56:41] local.INFO: Packet analysis {"connection_id":160564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df1"} 
[2026-08-23 14:56:41] local.INFO: Extracted packet for processing {"connection_id":160564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df1"} 
[2026-08-23 14:56:41] local.INFO: GPS Element Parsed {"raw_longitude":763183360,"raw_latitude":97676480,"longitude_deg":76.318336,"latitude_deg":9.767648,"altitude":10,"angle":179,"satellites":39,"speed":15,"hex_longitude":"2d7d4100","hex_latitude":"05d26cc0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 14:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594149888001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122637319348944896,"note":"Value kept but may cause issues"} 
[2026-08-23 14:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025635890721695744,"note":"Value kept but may cause issues"} 
[2026-08-23 14:56: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-08-23 14:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787477168000,"timestamp_ms":1787477168000,"timestamp_seconds":1787477168,"priority":1,"record_length":96,"hex_timestamp":"000001a02df10f80"} 
[2026-08-23 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-08-23 14:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":42,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-23 14:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2676,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 14:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594149888001,"66":11210,"23":206,"85":15104,"24":15,"16":122637319348944896,"45":9025635890721695744},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-23 14:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594149888001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:56:41] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-23 14:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122637319348944896,"km_value":122637319348944.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025635890721695744,"description":"Unknown IO ID 45"} 
[2026-08-23 14:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594149888001,"power":11210,"unknown_23":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9025635890721695744}} 
[2026-08-23 14:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":160564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:56:41] local.INFO: GPS data processed {"connection_id":160564,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:56:41] local.INFO: Acknowledgment sent {"connection_id":160564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:56:46] local.INFO: TCP Data received {"connection_id":160810,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:56:46] local.INFO: Processing buffer {"connection_id":160810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:56:46] local.INFO: IMEI packet received {"connection_id":160810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":160810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:56:51] local.INFO: TCP Data received {"connection_id":160810,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:56:51] local.INFO: Processing buffer {"connection_id":160810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:56:51] local.INFO: IMEI packet received {"connection_id":160810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":160810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:56:52] local.INFO: TCP Data received {"connection_id":160810,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:56:52] local.INFO: Processing buffer {"connection_id":160810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:56:52] local.INFO: Packet analysis {"connection_id":160810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02def"} 
[2026-08-23 14:56:52] local.INFO: Extracted packet for processing {"connection_id":160810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02def"} 
[2026-08-23 14:56:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594056192001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787477083000,"timestamp_ms":1787477083000,"timestamp_seconds":1787477083,"priority":1,"record_length":96,"hex_timestamp":"000001a02defc378"} 
[2026-08-23 14:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:56:52] 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-08-23 14:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:56:52] 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-08-23 14:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594056192001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594056192001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:56:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:56:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594056192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":160810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:56:52] local.INFO: GPS data processed {"connection_id":160810,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:56:52] local.INFO: Acknowledgment sent {"connection_id":160810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:57:09] local.INFO: TCP Data received {"connection_id":161756,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df151e8012d18ec800722f8b0005c006425..."} 
[2026-08-23 14:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df151e8012d18ec800722f8b0005c006425..."} 
[2026-08-23 14:57:09] local.INFO: Processing buffer {"connection_id":161756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df151e8012d18ec800722f8b0005c006425..."} 
[2026-08-23 14:57:09] local.INFO: Packet analysis {"connection_id":161756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df1"} 
[2026-08-23 14:57:09] local.INFO: Extracted packet for processing {"connection_id":161756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df1"} 
[2026-08-23 14:57:09] local.INFO: GPS Element Parsed {"raw_longitude":756608128,"raw_latitude":119732400,"longitude_deg":75.6608128,"latitude_deg":11.97324,"altitude":92,"angle":100,"satellites":37,"speed":24,"hex_longitude":"2d18ec80","hex_latitude":"0722f8b0","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594157056001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15564312940642304,"note":"Value kept but may cause issues"} 
[2026-08-23 14:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789406826345957376,"note":"Value kept but may cause issues"} 
[2026-08-23 14:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787477185000,"timestamp_ms":1787477185000,"timestamp_seconds":1787477185,"priority":1,"record_length":96,"hex_timestamp":"000001a02df151e8"} 
[2026-08-23 14:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:57:09] 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-08-23 14: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-23 14:57: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-08-23 14: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-08-23 14:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594157056001,"66":14102,"186":206,"83":42752,"24":24,"16":15564312940642304,"45":1789406826345957376},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-08-23 14:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594157056001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:57:09] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-23 14:57:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 14:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15564312940642304,"km_value":15564312940642.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789406826345957376,"description":"Unknown IO ID 45"} 
[2026-08-23 14:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594157056001,"power":14102,"unknown_186":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1789406826345957376}} 
[2026-08-23 14:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":161756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:57:09] local.INFO: GPS data processed {"connection_id":161756,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:57:09] local.INFO: Acknowledgment sent {"connection_id":161756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:57:12] local.INFO: TCP Data received {"connection_id":160564,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df11b38012d7d40c005d26858000b00c127..."} 
[2026-08-23 14:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df11b38012d7d40c005d26858000b00c127..."} 
[2026-08-23 14:57:12] local.INFO: Processing buffer {"connection_id":160564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df11b38012d7d40c005d26858000b00c127..."} 
[2026-08-23 14:57:12] local.INFO: Packet analysis {"connection_id":160564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df1"} 
[2026-08-23 14:57:12] local.INFO: Extracted packet for processing {"connection_id":160564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df1"} 
[2026-08-23 14:57:12] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":97675352,"longitude_deg":76.3183296,"latitude_deg":9.7675352,"altitude":11,"angle":193,"satellites":39,"speed":13,"hex_longitude":"2d7d40c0","hex_latitude":"05d26858","is_valid_coordinates":true} 
[2026-08-23 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-08-23 14:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594155008001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122637370888552448,"note":"Value kept but may cause issues"} 
[2026-08-23 14:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025495153232363520,"note":"Value kept but may cause issues"} 
[2026-08-23 14:57:12] 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-08-23 14:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787477171000,"timestamp_ms":1787477171000,"timestamp_seconds":1787477171,"priority":1,"record_length":96,"hex_timestamp":"000001a02df11b38"} 
[2026-08-23 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-08-23 14:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":43,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-23 14:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2231,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 14:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594155008001,"66":10841,"23":206,"85":15104,"24":13,"16":122637370888552448,"45":9025495153232363520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-23 14:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594155008001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:57:12] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-23 14:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122637370888552448,"km_value":122637370888552.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025495153232363520,"description":"Unknown IO ID 45"} 
[2026-08-23 14:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594155008001,"power":10841,"unknown_23":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9025495153232363520}} 
[2026-08-23 14:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":160564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:57:12] local.INFO: GPS data processed {"connection_id":160564,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:57:12] local.INFO: Acknowledgment sent {"connection_id":160564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:57:23] local.INFO: TCP Data received {"connection_id":160810,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:57:23] local.INFO: Processing buffer {"connection_id":160810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:57:23] local.INFO: Packet analysis {"connection_id":160810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02def"} 
[2026-08-23 14:57:23] local.INFO: Extracted packet for processing {"connection_id":160810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02def"} 
[2026-08-23 14:57:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594056192001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787477083000,"timestamp_ms":1787477083000,"timestamp_seconds":1787477083,"priority":1,"record_length":96,"hex_timestamp":"000001a02defc378"} 
[2026-08-23 14:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:57:23] 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-08-23 14:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:57:23] 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-08-23 14:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594056192001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594056192001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:57:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:57:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594056192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":160810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:57:23] local.INFO: GPS data processed {"connection_id":160810,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:57:23] local.INFO: Acknowledgment sent {"connection_id":160810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:57:29] local.INFO: TCP Data received {"connection_id":163156,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:57:29] local.INFO: Processing buffer {"connection_id":163156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:57:29] local.INFO: IMEI packet received {"connection_id":163156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":163156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:57:29] local.INFO: TCP Data received {"connection_id":163156,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:57:29] local.INFO: Processing buffer {"connection_id":163156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:57:29] local.INFO: IMEI packet received {"connection_id":163156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":163156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:57:34] local.INFO: TCP Data received {"connection_id":163156,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:57:34] local.INFO: Processing buffer {"connection_id":163156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:57:34] local.INFO: IMEI packet received {"connection_id":163156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":163156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:57:35] local.INFO: TCP Data received {"connection_id":163157,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:57:35] local.INFO: Processing buffer {"connection_id":163157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:57:35] local.INFO: IMEI packet received {"connection_id":163157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":163157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:57:35] local.INFO: TCP Data received {"connection_id":163156,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df159b8012d18f1000722f878005b005225..."} 
[2026-08-23 14:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df159b8012d18f1000722f878005b005225..."} 
[2026-08-23 14:57:35] local.INFO: Processing buffer {"connection_id":163156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df159b8012d18f1000722f878005b005225..."} 
[2026-08-23 14:57:35] local.INFO: Packet analysis {"connection_id":163156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df1"} 
[2026-08-23 14:57:35] local.INFO: Extracted packet for processing {"connection_id":163156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df1"} 
[2026-08-23 14:57:35] local.INFO: GPS Element Parsed {"raw_longitude":756609280,"raw_latitude":119732344,"longitude_deg":75.660928,"latitude_deg":11.9732344,"altitude":91,"angle":82,"satellites":37,"speed":23,"hex_longitude":"2d18f100","hex_latitude":"0722f878","is_valid_coordinates":true} 
[2026-08-23 14:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594159360001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15564364480249856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795951119553835008,"note":"Value kept but may cause issues"} 
[2026-08-23 14:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787477187000,"timestamp_ms":1787477187000,"timestamp_seconds":1787477187,"priority":1,"record_length":96,"hex_timestamp":"000001a02df159b8"} 
[2026-08-23 14:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-23 14:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594159360001,"66":14048,"186":206,"83":42752,"24":23,"16":15564364480249856,"45":1795951119553835008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-08-23 14:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594159360001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:57:35] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-23 14:57:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 14:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15564364480249856,"km_value":15564364480249.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795951119553835008,"description":"Unknown IO ID 45"} 
[2026-08-23 14:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594159360001,"power":14048,"unknown_186":206,"unknown_83":42752,"ignition":23,"odometer":null,"unknown_45":1795951119553835008}} 
[2026-08-23 14:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":163156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:57:35] local.INFO: GPS data processed {"connection_id":163156,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:57:35] local.INFO: Acknowledgment sent {"connection_id":163156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:57:40] local.INFO: TCP Data received {"connection_id":163157,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:57:40] local.INFO: Processing buffer {"connection_id":163157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:57:40] local.INFO: IMEI packet received {"connection_id":163157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":163157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:57:40] local.INFO: TCP Data received {"connection_id":163157,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df16958012d7d3cc005d252f8000d00bd27..."} 
[2026-08-23 14:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df16958012d7d3cc005d252f8000d00bd27..."} 
[2026-08-23 14:57:40] local.INFO: Processing buffer {"connection_id":163157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df16958012d7d3cc005d252f8000d00bd27..."} 
[2026-08-23 14:57:40] local.INFO: Packet analysis {"connection_id":163157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df1"} 
[2026-08-23 14:57:40] local.INFO: Extracted packet for processing {"connection_id":163157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df1"} 
[2026-08-23 14:57:40] local.INFO: GPS Element Parsed {"raw_longitude":763182272,"raw_latitude":97669880,"longitude_deg":76.3182272,"latitude_deg":9.766988,"altitude":13,"angle":189,"satellites":39,"speed":14,"hex_longitude":"2d7d3cc0","hex_latitude":"05d252f8","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594155776001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122637645766459392,"note":"Value kept but may cause issues"} 
[2026-08-23 14:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784487897088,"note":"Value kept but may cause issues"} 
[2026-08-23 14:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787477191000,"timestamp_ms":1787477191000,"timestamp_seconds":1787477191,"priority":1,"record_length":96,"hex_timestamp":"000001a02df16958"} 
[2026-08-23 14:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":42,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-08-23 14:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1209,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594155776001,"66":11004,"117":206,"85":15104,"24":14,"16":122637645766459392,"45":9025424784487897088},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 14:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594155776001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:57:40] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 14:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122637645766459392,"km_value":122637645766459.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784487897088,"description":"Unknown IO ID 45"} 
[2026-08-23 14:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594155776001,"power":11004,"unknown_117":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9025424784487897088}} 
[2026-08-23 14:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":163157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:57:41] local.INFO: GPS data processed {"connection_id":163157,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:57:41] local.INFO: Acknowledgment sent {"connection_id":163157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:57:46] local.INFO: TCP Data received {"connection_id":160811,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:57:46] local.INFO: Processing buffer {"connection_id":160811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:57:46] local.INFO: IMEI packet received {"connection_id":160811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":160811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:57:51] local.INFO: TCP Data received {"connection_id":160811,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:57:51] local.INFO: Processing buffer {"connection_id":160811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:57:51] local.INFO: IMEI packet received {"connection_id":160811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":160811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:57:52] local.INFO: TCP Data received {"connection_id":160811,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:57:52] local.INFO: Processing buffer {"connection_id":160811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:57:52] local.INFO: Packet analysis {"connection_id":160811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02def"} 
[2026-08-23 14:57:52] local.INFO: Extracted packet for processing {"connection_id":160811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02def"} 
[2026-08-23 14:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:57: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-08-23 14:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594056192001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787477083000,"timestamp_ms":1787477083000,"timestamp_seconds":1787477083,"priority":1,"record_length":96,"hex_timestamp":"000001a02defc378"} 
[2026-08-23 14:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:57:52] 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-08-23 14:57: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-08-23 14:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:57:52] 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-08-23 14:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594056192001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594056192001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:57:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594056192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":160811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:57:52] local.INFO: GPS data processed {"connection_id":160811,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:57:52] local.INFO: Acknowledgment sent {"connection_id":160811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:58:06] local.INFO: TCP Data received {"connection_id":163156,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df16188012d18f5c00722f9d8005b004225..."} 
[2026-08-23 14:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df16188012d18f5c00722f9d8005b004225..."} 
[2026-08-23 14:58:06] local.INFO: Processing buffer {"connection_id":163156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df16188012d18f5c00722f9d8005b004225..."} 
[2026-08-23 14:58:06] local.INFO: Packet analysis {"connection_id":163156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df1"} 
[2026-08-23 14:58:06] local.INFO: Extracted packet for processing {"connection_id":163156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df1"} 
[2026-08-23 14:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756610496,"raw_latitude":119732696,"longitude_deg":75.6610496,"latitude_deg":11.9732696,"altitude":91,"angle":66,"satellites":37,"speed":26,"hex_longitude":"2d18f5c0","hex_latitude":"0722f9d8","is_valid_coordinates":true} 
[2026-08-23 14:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594159872001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15564428904759296,"note":"Value kept but may cause issues"} 
[2026-08-23 14:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797217756949018624,"note":"Value kept but may cause issues"} 
[2026-08-23 14:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787477189000,"timestamp_ms":1787477189000,"timestamp_seconds":1787477189,"priority":1,"record_length":96,"hex_timestamp":"000001a02df16188"} 
[2026-08-23 14:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 14:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594159872001,"66":14080,"186":206,"83":42752,"24":26,"16":15564428904759296,"45":1797217756949018624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-08-23 14:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594159872001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:58:06] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-23 14:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 14:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15564428904759296,"km_value":15564428904759.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797217756949018624,"description":"Unknown IO ID 45"} 
[2026-08-23 14:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594159872001,"power":14080,"unknown_186":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":1797217756949018624}} 
[2026-08-23 14:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":163156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:58:07] local.INFO: GPS data processed {"connection_id":163156,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:58:07] local.INFO: Acknowledgment sent {"connection_id":163156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:58:11] local.INFO: TCP Data received {"connection_id":163157,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df1bb60012d7d390005d23d58000a00c227..."} 
[2026-08-23 14:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df1bb60012d7d390005d23d58000a00c227..."} 
[2026-08-23 14:58:11] local.INFO: Processing buffer {"connection_id":163157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df1bb60012d7d390005d23d58000a00c227..."} 
[2026-08-23 14:58:11] local.INFO: Packet analysis {"connection_id":163157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df1"} 
[2026-08-23 14:58:11] local.INFO: Extracted packet for processing {"connection_id":163157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df1"} 
[2026-08-23 14:58:11] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":97664344,"longitude_deg":76.3181312,"latitude_deg":9.7664344,"altitude":10,"angle":194,"satellites":39,"speed":10,"hex_longitude":"2d7d3900","hex_latitude":"05d23d58","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594160896001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122637920644366336,"note":"Value kept but may cause issues"} 
[2026-08-23 14:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024298884579653632,"note":"Value kept but may cause issues"} 
[2026-08-23 14:58:11] 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-08-23 14:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787477212000,"timestamp_ms":1787477212000,"timestamp_seconds":1787477212,"priority":1,"record_length":96,"hex_timestamp":"000001a02df1bb60"} 
[2026-08-23 14:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":42,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-23 14:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2676,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594160896001,"66":11069,"23":206,"85":15104,"24":10,"16":122637920644366336,"45":9024298884579653632},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-23 14:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594160896001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:58:11] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-23 14:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122637920644366336,"km_value":122637920644366.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024298884579653632,"description":"Unknown IO ID 45"} 
[2026-08-23 14:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594160896001,"power":11069,"unknown_23":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9024298884579653632}} 
[2026-08-23 14:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":163157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687071,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:58:11] local.INFO: GPS data processed {"connection_id":163157,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:58:11] local.INFO: Acknowledgment sent {"connection_id":163157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:58:23] local.INFO: TCP Data received {"connection_id":160811,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:58:23] local.INFO: Processing buffer {"connection_id":160811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:58:23] local.INFO: Packet analysis {"connection_id":160811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02def"} 
[2026-08-23 14:58:23] local.INFO: Extracted packet for processing {"connection_id":160811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02def"} 
[2026-08-23 14:58:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594056192001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787477083000,"timestamp_ms":1787477083000,"timestamp_seconds":1787477083,"priority":1,"record_length":96,"hex_timestamp":"000001a02defc378"} 
[2026-08-23 14:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:58:23] 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-08-23 14:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:58:23] 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-08-23 14:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594056192001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594056192001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:58:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:58:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594056192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":160811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:58:23] local.INFO: GPS data processed {"connection_id":160811,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:58:23] local.INFO: Acknowledgment sent {"connection_id":160811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:58:30] local.INFO: TCP Data received {"connection_id":163158,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:58:30] local.INFO: Processing buffer {"connection_id":163158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:58:30] local.INFO: IMEI packet received {"connection_id":163158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":163158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:58:34] local.INFO: TCP Data received {"connection_id":163158,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:58:34] local.INFO: Processing buffer {"connection_id":163158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:58:34] local.INFO: IMEI packet received {"connection_id":163158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":163158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:58:36] local.INFO: TCP Data received {"connection_id":163158,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:58:36] local.INFO: Processing buffer {"connection_id":163158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:58:36] local.INFO: IMEI packet received {"connection_id":163158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":163158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:58:37] local.INFO: TCP Data received {"connection_id":163158,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df23860012d19b2000723a1a80038005222..."} 
[2026-08-23 14:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df23860012d19b2000723a1a80038005222..."} 
[2026-08-23 14:58:37] local.INFO: Processing buffer {"connection_id":163158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df23860012d19b2000723a1a80038005222..."} 
[2026-08-23 14:58:37] local.INFO: Packet analysis {"connection_id":163158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df2"} 
[2026-08-23 14:58:37] local.INFO: Extracted packet for processing {"connection_id":163158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df2"} 
[2026-08-23 14:58:37] local.INFO: GPS Element Parsed {"raw_longitude":756658688,"raw_latitude":119775656,"longitude_deg":75.6658688,"latitude_deg":11.9775656,"altitude":56,"angle":82,"satellites":34,"speed":51,"hex_longitude":"2d19b200","hex_latitude":"0723a1a8","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594172672001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15567671605067776,"note":"Value kept but may cause issues"} 
[2026-08-23 14:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841409328303372288,"note":"Value kept but may cause issues"} 
[2026-08-23 14:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787477244000,"timestamp_ms":1787477244000,"timestamp_seconds":1787477244,"priority":1,"record_length":96,"hex_timestamp":"000001a02df23860"} 
[2026-08-23 14:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14: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-08-23 14: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-08-23 14:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594172672001,"66":14428,"42":206,"83":42752,"24":51,"16":15567671605067776,"45":1841409328303372288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-23 14:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594172672001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:58:37] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-23 14:58:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 14:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15567671605067776,"km_value":15567671605067.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841409328303372288,"description":"Unknown IO ID 45"} 
[2026-08-23 14:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594172672001,"power":14428,"unknown_42":206,"unknown_83":42752,"ignition":51,"odometer":null,"unknown_45":1841409328303372288}} 
[2026-08-23 14:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":163158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:58:37] local.INFO: GPS data processed {"connection_id":163158,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:58:37] local.INFO: Acknowledgment sent {"connection_id":163158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:58:39] local.INFO: TCP Data received {"connection_id":163159,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:58:39] local.INFO: Processing buffer {"connection_id":163159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:58:39] local.INFO: IMEI packet received {"connection_id":163159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":163159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:58:40] local.INFO: TCP Data received {"connection_id":163158,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df257a0012d19d8400723a6480034005321..."} 
[2026-08-23 14:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df257a0012d19d8400723a6480034005321..."} 
[2026-08-23 14:58:40] local.INFO: Processing buffer {"connection_id":163158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df257a0012d19d8400723a6480034005321..."} 
[2026-08-23 14:58:40] local.INFO: Packet analysis {"connection_id":163158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df2"} 
[2026-08-23 14:58:40] local.INFO: Extracted packet for processing {"connection_id":163158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df2"} 
[2026-08-23 14:58:40] local.INFO: GPS Element Parsed {"raw_longitude":756668480,"raw_latitude":119776840,"longitude_deg":75.666848,"latitude_deg":11.977684,"altitude":52,"angle":83,"satellites":33,"speed":45,"hex_longitude":"2d19d840","hex_latitude":"0723a648","is_valid_coordinates":true} 
[2026-08-23 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":795,"current_offset":40} 
[2026-08-23 14:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594174464001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15568139756503040,"note":"Value kept but may cause issues"} 
[2026-08-23 14:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851542427465263104,"note":"Value kept but may cause issues"} 
[2026-08-23 14:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787477252000,"timestamp_ms":1787477252000,"timestamp_seconds":1787477252,"priority":1,"record_length":96,"hex_timestamp":"000001a02df257a0"} 
[2026-08-23 14:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":92,"data_length":795,"current_offset":136} 
[2026-08-23 14:58:40] 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-08-23 14: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-08-23 14:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594174464001,"66":14428,"42":206,"83":42752,"24":45,"16":15568139756503040,"45":1851542427465263104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-23 14:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594174464001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:58:40] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-23 14:58:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 14:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15568139756503040,"km_value":15568139756503.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851542427465263104,"description":"Unknown IO ID 45"} 
[2026-08-23 14:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594174464001,"power":14428,"unknown_42":206,"unknown_83":42752,"ignition":45,"odometer":null,"unknown_45":1851542427465263104}} 
[2026-08-23 14:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":163158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:58:41] local.INFO: GPS data processed {"connection_id":163158,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:58:41] local.INFO: Acknowledgment sent {"connection_id":163158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:58:44] local.INFO: TCP Data received {"connection_id":163159,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:58:44] local.INFO: Processing buffer {"connection_id":163159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:58:44] local.INFO: IMEI packet received {"connection_id":163159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":163159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:58:45] local.INFO: TCP Data received {"connection_id":163159,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df2e440012d7d280005d1ac900006015128..."} 
[2026-08-23 14:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df2e440012d7d280005d1ac900006015128..."} 
[2026-08-23 14:58:45] local.INFO: Processing buffer {"connection_id":163159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df2e440012d7d280005d1ac900006015128..."} 
[2026-08-23 14:58:45] local.INFO: Packet analysis {"connection_id":163159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df2"} 
[2026-08-23 14:58:45] local.INFO: Extracted packet for processing {"connection_id":163159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df2"} 
[2026-08-23 14:58:45] local.INFO: GPS Element Parsed {"raw_longitude":763176960,"raw_latitude":97627280,"longitude_deg":76.317696,"latitude_deg":9.762728,"altitude":6,"angle":337,"satellites":40,"speed":8,"hex_longitude":"2d7d2800","hex_latitude":"05d1ac90","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594185216001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122639930689060864,"note":"Value kept but may cause issues"} 
[2026-08-23 14:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018739753778630656,"note":"Value kept but may cause issues"} 
[2026-08-23 14:58:45] 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-08-23 14:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787477288000,"timestamp_ms":1787477288000,"timestamp_seconds":1787477288,"priority":1,"record_length":96,"hex_timestamp":"000001a02df2e440"} 
[2026-08-23 14:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-23 14:58:45] 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-08-23 14: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-08-23 14:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594185216001,"66":12906,"23":206,"85":15104,"24":8,"16":122639930689060864,"45":9018739753778630656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-23 14:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594185216001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:58:45] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-23 14:58:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122639930689060864,"km_value":122639930689060.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018739753778630656,"description":"Unknown IO ID 45"} 
[2026-08-23 14:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594185216001,"power":12906,"unknown_23":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9018739753778630656}} 
[2026-08-23 14:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":163159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:58:45] local.INFO: GPS data processed {"connection_id":163159,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:58:45] local.INFO: Acknowledgment sent {"connection_id":163159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:58:45] local.INFO: TCP Data received {"connection_id":163160,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:58:45] local.INFO: Processing buffer {"connection_id":163160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:58:45] local.INFO: IMEI packet received {"connection_id":163160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":163160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:58:51] local.INFO: TCP Data received {"connection_id":163160,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:58:51] local.INFO: Processing buffer {"connection_id":163160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:58:51] local.INFO: IMEI packet received {"connection_id":163160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":163160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:58:52] local.INFO: TCP Data received {"connection_id":163160,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:58:52] local.INFO: Processing buffer {"connection_id":163160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:58:52] local.INFO: Packet analysis {"connection_id":163160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02def"} 
[2026-08-23 14:58:52] local.INFO: Extracted packet for processing {"connection_id":163160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02def"} 
[2026-08-23 14:58:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594056192001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787477083000,"timestamp_ms":1787477083000,"timestamp_seconds":1787477083,"priority":1,"record_length":96,"hex_timestamp":"000001a02defc378"} 
[2026-08-23 14:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:58:52] 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-08-23 14:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:58: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-08-23 14:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594056192001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594056192001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:58:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:58:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594056192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":163160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:58:52] local.INFO: GPS data processed {"connection_id":163160,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:58:52] local.INFO: Acknowledgment sent {"connection_id":163160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:59:12] local.INFO: TCP Data received {"connection_id":163158,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df276e0012d19fdc00723aa600032005225..."} 
[2026-08-23 14:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df276e0012d19fdc00723aa600032005225..."} 
[2026-08-23 14:59:12] local.INFO: Processing buffer {"connection_id":163158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df276e0012d19fdc00723aa600032005225..."} 
[2026-08-23 14:59:12] local.INFO: Packet analysis {"connection_id":163158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df2"} 
[2026-08-23 14:59:12] local.INFO: Extracted packet for processing {"connection_id":163158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df2"} 
[2026-08-23 14:59:12] local.INFO: GPS Element Parsed {"raw_longitude":756678080,"raw_latitude":119777888,"longitude_deg":75.667808,"latitude_deg":11.9777888,"altitude":50,"angle":82,"satellites":37,"speed":45,"hex_longitude":"2d19fdc0","hex_latitude":"0723aa60","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594176512001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15568595023036416,"note":"Value kept but may cause issues"} 
[2026-08-23 14:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862308845324748800,"note":"Value kept but may cause issues"} 
[2026-08-23 14:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787477260000,"timestamp_ms":1787477260000,"timestamp_seconds":1787477260,"priority":1,"record_length":96,"hex_timestamp":"000001a02df276e0"} 
[2026-08-23 14:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:59:12] 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-08-23 14: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 14:59:12] 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-08-23 14: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-08-23 14:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594176512001,"66":14374,"43":206,"83":42752,"24":45,"16":15568595023036416,"45":1862308845324748800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-23 14:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594176512001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:59:12] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-23 14:59:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 14:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15568595023036416,"km_value":15568595023036.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862308845324748800,"description":"Unknown IO ID 45"} 
[2026-08-23 14:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594176512001,"power":14374,"unknown_43":206,"unknown_83":42752,"ignition":45,"odometer":null,"unknown_45":1862308845324748800}} 
[2026-08-23 14:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":163158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:59:12] local.INFO: GPS data processed {"connection_id":163158,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:59:12] local.INFO: Acknowledgment sent {"connection_id":163158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:59:16] local.INFO: TCP Data received {"connection_id":163159,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df2ec10012d7d27c005d1ae900006016128..."} 
[2026-08-23 14:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df2ec10012d7d27c005d1ae900006016128..."} 
[2026-08-23 14:59:16] local.INFO: Processing buffer {"connection_id":163159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df2ec10012d7d27c005d1ae900006016128..."} 
[2026-08-23 14:59:16] local.INFO: Packet analysis {"connection_id":163159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df2"} 
[2026-08-23 14:59:16] local.INFO: Extracted packet for processing {"connection_id":163159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df2"} 
[2026-08-23 14:59:16] local.INFO: GPS Element Parsed {"raw_longitude":763176896,"raw_latitude":97627792,"longitude_deg":76.3176896,"latitude_deg":9.7627792,"altitude":6,"angle":353,"satellites":40,"speed":12,"hex_longitude":"2d7d27c0","hex_latitude":"05d1ae90","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594185728001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122639956458864640,"note":"Value kept but may cause issues"} 
[2026-08-23 14:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018458278802001920,"note":"Value kept but may cause issues"} 
[2026-08-23 14:59: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-08-23 14:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787477290000,"timestamp_ms":1787477290000,"timestamp_seconds":1787477290,"priority":1,"record_length":96,"hex_timestamp":"000001a02df2ec10"} 
[2026-08-23 14:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-23 14:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594185728001,"66":12015,"23":206,"85":15104,"24":12,"16":122639956458864640,"45":9018458278802001920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-23 14:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594185728001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:59:16] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-23 14:59:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122639956458864640,"km_value":122639956458864.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018458278802001920,"description":"Unknown IO ID 45"} 
[2026-08-23 14:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594185728001,"power":12015,"unknown_23":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9018458278802001920}} 
[2026-08-23 14:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":163159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:59:16] local.INFO: GPS data processed {"connection_id":163159,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:59:16] local.INFO: Acknowledgment sent {"connection_id":163159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:59:24] local.INFO: TCP Data received {"connection_id":163160,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:59:24] local.INFO: Processing buffer {"connection_id":163160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:59:24] local.INFO: Packet analysis {"connection_id":163160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02def"} 
[2026-08-23 14:59:24] local.INFO: Extracted packet for processing {"connection_id":163160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02def"} 
[2026-08-23 14:59:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594056192001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787477083000,"timestamp_ms":1787477083000,"timestamp_seconds":1787477083,"priority":1,"record_length":96,"hex_timestamp":"000001a02defc378"} 
[2026-08-23 14:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:59:24] 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-08-23 14:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594056192001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594056192001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:59:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:59:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594056192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":163160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:59:24] local.INFO: GPS data processed {"connection_id":163160,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:59:24] local.INFO: Acknowledgment sent {"connection_id":163160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:59:29] local.INFO: TCP Data received {"connection_id":163161,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:59:29] local.INFO: Processing buffer {"connection_id":163161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:59:29] local.INFO: IMEI packet received {"connection_id":163161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 14:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":163161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:59:30] local.INFO: TCP Data received {"connection_id":163161,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:59:30] local.INFO: Processing buffer {"connection_id":163161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:59:30] local.INFO: IMEI packet received {"connection_id":163161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":163161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:59:34] local.INFO: TCP Data received {"connection_id":163161,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:59:34] local.INFO: Processing buffer {"connection_id":163161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 14:59:34] local.INFO: IMEI packet received {"connection_id":163161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 14:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":163161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:59:34] local.INFO: TCP Data received {"connection_id":160812,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:59:34] local.INFO: Processing buffer {"connection_id":160812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:59:34] local.INFO: IMEI packet received {"connection_id":160812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 14:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":160812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:59:35] local.INFO: TCP Data received {"connection_id":163161,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df29238012d1a1a800723b060002e004527..."} 
[2026-08-23 14:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df29238012d1a1a800723b060002e004527..."} 
[2026-08-23 14:59:35] local.INFO: Processing buffer {"connection_id":163161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df29238012d1a1a800723b060002e004527..."} 
[2026-08-23 14:59:35] local.INFO: Packet analysis {"connection_id":163161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df2"} 
[2026-08-23 14:59:35] local.INFO: Extracted packet for processing {"connection_id":163161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df2"} 
[2026-08-23 14:59:35] local.INFO: GPS Element Parsed {"raw_longitude":756685440,"raw_latitude":119779424,"longitude_deg":75.668544,"latitude_deg":11.9779424,"altitude":46,"angle":69,"satellites":39,"speed":37,"hex_longitude":"2d1a1a80","hex_latitude":"0723b060","is_valid_coordinates":true} 
[2026-08-23 14:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594178560001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15568951505321984,"note":"Value kept but may cause issues"} 
[2026-08-23 14:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872864156951666688,"note":"Value kept but may cause issues"} 
[2026-08-23 14:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787477267000,"timestamp_ms":1787477267000,"timestamp_seconds":1787477267,"priority":1,"record_length":96,"hex_timestamp":"000001a02df29238"} 
[2026-08-23 14:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-23 14:59:35] 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-08-23 14:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 14:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 14:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 14:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594178560001,"66":14428,"43":206,"83":42752,"24":37,"16":15568951505321984,"45":1872864156951666688},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-23 14:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 14:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 14:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594178560001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:59:35] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-23 14:59:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 14:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15568951505321984,"km_value":15568951505321.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872864156951666688,"description":"Unknown IO ID 45"} 
[2026-08-23 14:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594178560001,"power":14428,"unknown_43":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1872864156951666688}} 
[2026-08-23 14:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":163161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:59:35] local.INFO: GPS data processed {"connection_id":163161,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:59:35] local.INFO: Acknowledgment sent {"connection_id":163161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:59:35] local.INFO: TCP Data received {"connection_id":160812,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:59:35] local.INFO: Processing buffer {"connection_id":160812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:59:35] local.INFO: IMEI packet received {"connection_id":160812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":160812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:59:39] local.INFO: TCP Data received {"connection_id":160812,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:59:39] local.INFO: Processing buffer {"connection_id":160812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 14:59:39] local.INFO: IMEI packet received {"connection_id":160812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 14:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":160812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:59:40] local.INFO: TCP Data received {"connection_id":160812,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df33e18012d7d268005d1bd400008016428..."} 
[2026-08-23 14:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df33e18012d7d268005d1bd400008016428..."} 
[2026-08-23 14:59:40] local.INFO: Processing buffer {"connection_id":160812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df33e18012d7d268005d1bd400008016428..."} 
[2026-08-23 14:59:40] local.INFO: Packet analysis {"connection_id":160812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df3"} 
[2026-08-23 14:59:40] local.INFO: Extracted packet for processing {"connection_id":160812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df3"} 
[2026-08-23 14:59:40] local.INFO: GPS Element Parsed {"raw_longitude":763176576,"raw_latitude":97631552,"longitude_deg":76.3176576,"latitude_deg":9.7631552,"altitude":8,"angle":356,"satellites":40,"speed":0,"hex_longitude":"2d7d2680","hex_latitude":"05d1bd40","is_valid_coordinates":true} 
[2026-08-23 14: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-08-23 14:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594186240001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122640141142458368,"note":"Value kept but may cause issues"} 
[2026-08-23 14:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018387910057955328,"note":"Value kept but may cause issues"} 
[2026-08-23 14:59:40] 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-08-23 14:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787477311000,"timestamp_ms":1787477311000,"timestamp_seconds":1787477311,"priority":1,"record_length":96,"hex_timestamp":"000001a02df33e18"} 
[2026-08-23 14:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 14: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-23 14:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 14: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-08-23 14:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 14:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 14:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 14:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 14:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594186240001,"66":12330,"23":206,"85":15104,"24":0,"16":122640141142458368,"45":9018387910057955328},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-23 14:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 14:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 14:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594186240001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:59:40] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-23 14:59:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 14:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122640141142458368,"km_value":122640141142458.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018387910057955328,"description":"Unknown IO ID 45"} 
[2026-08-23 14:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594186240001,"power":12330,"unknown_23":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9018387910057955328}} 
[2026-08-23 14:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":160812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:59:41] local.INFO: GPS data processed {"connection_id":160812,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:59:41] local.INFO: Acknowledgment sent {"connection_id":160812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 14:59:45] local.INFO: TCP Data received {"connection_id":160565,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:59:45] local.INFO: Processing buffer {"connection_id":160565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:59:45] local.INFO: IMEI packet received {"connection_id":160565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 14:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":160565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 14:59:51] local.INFO: TCP Data received {"connection_id":160565,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:59:51] local.INFO: Processing buffer {"connection_id":160565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 14:59:51] local.INFO: IMEI packet received {"connection_id":160565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 14:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":160565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 14:59:52] local.INFO: TCP Data received {"connection_id":160565,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:59:52] local.INFO: Processing buffer {"connection_id":160565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02defc378012d34c50006aa40980012008522..."} 
[2026-08-23 14:59:52] local.INFO: Packet analysis {"connection_id":160565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02def"} 
[2026-08-23 14:59:52] local.INFO: Extracted packet for processing {"connection_id":160565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02def"} 
[2026-08-23 14:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 14:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 14:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594056192001,"note":"Value kept but may cause issues"} 
[2026-08-23 14:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 14:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 14:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 14:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787477083000,"timestamp_ms":1787477083000,"timestamp_seconds":1787477083,"priority":1,"record_length":96,"hex_timestamp":"000001a02defc378"} 
[2026-08-23 14:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 14:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 14:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 14:59:52] 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-08-23 14:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 14:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 14:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 14:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 14:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 14:59:52] 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-08-23 14:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 14:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 14:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594056192001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 14:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 14:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 14:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594056192001,"description":"Unknown IO ID 0"} 
[2026-08-23 14:59:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 14:59:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 14:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 14:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 14:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594056192001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 14:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":160565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 14:59:52] local.INFO: GPS data processed {"connection_id":160565,"processed":1,"errors":0,"total":1} 
[2026-08-23 14:59:52] local.INFO: Acknowledgment sent {"connection_id":160565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:00:07] local.INFO: TCP Data received {"connection_id":163161,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df2a5c0012d1a29800723b7e8002d003727..."} 
[2026-08-23 15:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df2a5c0012d1a29800723b7e8002d003727..."} 
[2026-08-23 15:00:07] local.INFO: Processing buffer {"connection_id":163161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df2a5c0012d1a29800723b7e8002d003727..."} 
[2026-08-23 15:00:07] local.INFO: Packet analysis {"connection_id":163161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df2"} 
[2026-08-23 15:00:07] local.INFO: Extracted packet for processing {"connection_id":163161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df2"} 
[2026-08-23 15:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756689280,"raw_latitude":119781352,"longitude_deg":75.668928,"latitude_deg":11.9781352,"altitude":45,"angle":55,"satellites":39,"speed":32,"hex_longitude":"2d1a2980","hex_latitude":"0723b7e8","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594180352001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15569161958719488,"note":"Value kept but may cause issues"} 
[2026-08-23 15:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1880956562532491264,"note":"Value kept but may cause issues"} 
[2026-08-23 15:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787477272000,"timestamp_ms":1787477272000,"timestamp_seconds":1787477272,"priority":1,"record_length":96,"hex_timestamp":"000001a02df2a5c0"} 
[2026-08-23 15:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 15:00: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-08-23 15: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-08-23 15:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594180352001,"66":14374,"43":206,"83":42752,"24":32,"16":15569161958719488,"45":1880956562532491264},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-23 15:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594180352001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:00:07] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-23 15:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15569161958719488,"km_value":15569161958719.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1880956562532491264,"description":"Unknown IO ID 45"} 
[2026-08-23 15:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594180352001,"power":14374,"unknown_43":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1880956562532491264}} 
[2026-08-23 15:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":163161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:00:07] local.INFO: GPS data processed {"connection_id":163161,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:00:07] local.INFO: Acknowledgment sent {"connection_id":163161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:00:11] local.INFO: TCP Data received {"connection_id":160812,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df39020012d7d264005d1c0900009016728..."} 
[2026-08-23 15:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df39020012d7d264005d1c0900009016728..."} 
[2026-08-23 15:00:11] local.INFO: Processing buffer {"connection_id":160812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df39020012d7d264005d1c0900009016728..."} 
[2026-08-23 15:00:11] local.INFO: Packet analysis {"connection_id":160812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df3"} 
[2026-08-23 15:00:11] local.INFO: Extracted packet for processing {"connection_id":160812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df3"} 
[2026-08-23 15:00:11] local.INFO: GPS Element Parsed {"raw_longitude":763176512,"raw_latitude":97632400,"longitude_deg":76.3176512,"latitude_deg":9.76324,"altitude":9,"angle":359,"satellites":40,"speed":12,"hex_longitude":"2d7d2640","hex_latitude":"05d1c090","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594191616001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122640179797164032,"note":"Value kept but may cause issues"} 
[2026-08-23 15:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018036066338029568,"note":"Value kept but may cause issues"} 
[2026-08-23 15:00:11] 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-08-23 15:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787477332000,"timestamp_ms":1787477332000,"timestamp_seconds":1787477332,"priority":1,"record_length":96,"hex_timestamp":"000001a02df39020"} 
[2026-08-23 15:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-23 15:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594191616001,"66":12319,"23":206,"85":15104,"24":12,"16":122640179797164032,"45":9018036066338029568},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-23 15:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594191616001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:00:11] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-23 15:00:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122640179797164032,"km_value":122640179797164.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018036066338029568,"description":"Unknown IO ID 45"} 
[2026-08-23 15:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594191616001,"power":12319,"unknown_23":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9018036066338029568}} 
[2026-08-23 15:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":160812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:00:11] local.INFO: GPS data processed {"connection_id":160812,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:00:11] local.INFO: Acknowledgment sent {"connection_id":160812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:00:23] local.INFO: TCP Data received {"connection_id":160565,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:00:23] local.INFO: Processing buffer {"connection_id":160565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:00:23] local.INFO: Packet analysis {"connection_id":160565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:00:23] local.INFO: Extracted packet for processing {"connection_id":160565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:00:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594133248001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787477384000,"timestamp_ms":1787477384000,"timestamp_seconds":1787477384,"priority":1,"record_length":96,"hex_timestamp":"000001a02df45b40"} 
[2026-08-23 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-08-23 15:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:00:23] 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-08-23 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-08-23 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-08-23 15:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:00:23] 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-08-23 15:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594133248001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594133248001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:00:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:00:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594133248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":160565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:00:23] local.INFO: GPS data processed {"connection_id":160565,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:00:23] local.INFO: Acknowledgment sent {"connection_id":160565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:00:34] local.INFO: TCP Data received {"connection_id":160813,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:00:34] local.INFO: Processing buffer {"connection_id":160813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:00:34] local.INFO: IMEI packet received {"connection_id":160813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":160813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:00:38] local.INFO: TCP Data received {"connection_id":160813,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:00:38] local.INFO: Processing buffer {"connection_id":160813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:00:38] local.INFO: IMEI packet received {"connection_id":160813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":160813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:00:39] local.INFO: TCP Data received {"connection_id":160813,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df3e228012d7d250005d1d1f8000b016428..."} 
[2026-08-23 15:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df3e228012d7d250005d1d1f8000b016428..."} 
[2026-08-23 15:00:39] local.INFO: Processing buffer {"connection_id":160813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df3e228012d7d250005d1d1f8000b016428..."} 
[2026-08-23 15:00:39] local.INFO: Packet analysis {"connection_id":160813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df3"} 
[2026-08-23 15:00:39] local.INFO: Extracted packet for processing {"connection_id":160813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df3"} 
[2026-08-23 15:00:39] local.INFO: GPS Element Parsed {"raw_longitude":763176192,"raw_latitude":97636856,"longitude_deg":76.3176192,"latitude_deg":9.7636856,"altitude":11,"angle":356,"satellites":40,"speed":7,"hex_longitude":"2d7d2500","hex_latitude":"05d1d1f8","is_valid_coordinates":true} 
[2026-08-23 15:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594196992001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122640398840496128,"note":"Value kept but may cause issues"} 
[2026-08-23 15:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017965697594068992,"note":"Value kept but may cause issues"} 
[2026-08-23 15:00:39] 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-08-23 15:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787477353000,"timestamp_ms":1787477353000,"timestamp_seconds":1787477353,"priority":1,"record_length":96,"hex_timestamp":"000001a02df3e228"} 
[2026-08-23 15:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 15:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594196992001,"66":12689,"197":206,"85":15104,"24":7,"16":122640398840496128,"45":9017965697594068992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-23 15:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594196992001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:00:39] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-23 15:00:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122640398840496128,"km_value":122640398840496.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017965697594068992,"description":"Unknown IO ID 45"} 
[2026-08-23 15:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594196992001,"power":12689,"unknown_197":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9017965697594068992}} 
[2026-08-23 15:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":160813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:00:39] local.INFO: GPS data processed {"connection_id":160813,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:00:39] local.INFO: Acknowledgment sent {"connection_id":160813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:00:39] local.INFO: TCP Data received {"connection_id":161757,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:00:39] local.INFO: Processing buffer {"connection_id":161757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:00:39] local.INFO: IMEI packet received {"connection_id":161757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":161757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:00:40] local.INFO: TCP Data received {"connection_id":161757,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:00:40] local.INFO: Processing buffer {"connection_id":161757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:00:40] local.INFO: IMEI packet received {"connection_id":161757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":161757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:00:41] local.INFO: TCP Data received {"connection_id":161757,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df3da58012d1af340072469100025002825..."} 
[2026-08-23 15:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df3da58012d1af340072469100025002825..."} 
[2026-08-23 15:00:41] local.INFO: Processing buffer {"connection_id":161757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df3da58012d1af340072469100025002825..."} 
[2026-08-23 15:00:41] local.INFO: Packet analysis {"connection_id":161757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df3"} 
[2026-08-23 15:00:41] local.INFO: Extracted packet for processing {"connection_id":161757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df3"} 
[2026-08-23 15:00:41] local.INFO: GPS Element Parsed {"raw_longitude":756740928,"raw_latitude":119826704,"longitude_deg":75.6740928,"latitude_deg":11.9826704,"altitude":37,"angle":40,"satellites":37,"speed":15,"hex_longitude":"2d1af340","hex_latitude":"07246910","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594198528001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15572563572817920,"note":"Value kept but may cause issues"} 
[2026-08-23 15:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936970082907963392,"note":"Value kept but may cause issues"} 
[2026-08-23 15:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787477351000,"timestamp_ms":1787477351000,"timestamp_seconds":1787477351,"priority":1,"record_length":96,"hex_timestamp":"000001a02df3da58"} 
[2026-08-23 15:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-23 15:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594198528001,"66":14515,"176":206,"83":42752,"24":15,"16":15572563572817920,"45":1936970082907963392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-23 15:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594198528001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:00:41] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-23 15:00:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15572563572817920,"km_value":15572563572817.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936970082907963392,"description":"Unknown IO ID 45"} 
[2026-08-23 15:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594198528001,"power":14515,"unknown_176":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1936970082907963392}} 
[2026-08-23 15:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":161757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:00:41] local.INFO: GPS data processed {"connection_id":161757,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:00:41] local.INFO: Acknowledgment sent {"connection_id":161757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:00:41] local.INFO: TCP Data received {"connection_id":161757,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df42c60012d1b0900072480100020002a29..."} 
[2026-08-23 15:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df42c60012d1b0900072480100020002a29..."} 
[2026-08-23 15:00:41] local.INFO: Processing buffer {"connection_id":161757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df42c60012d1b0900072480100020002a29..."} 
[2026-08-23 15:00:41] local.INFO: Packet analysis {"connection_id":161757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:00:41] local.INFO: Extracted packet for processing {"connection_id":161757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:00:41] local.INFO: GPS Element Parsed {"raw_longitude":756746496,"raw_latitude":119832592,"longitude_deg":75.6746496,"latitude_deg":11.9832592,"altitude":32,"angle":42,"satellites":41,"speed":22,"hex_longitude":"2d1b0900","hex_latitude":"07248010","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594201856001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15572954414841856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1941966263746629632,"note":"Value kept but may cause issues"} 
[2026-08-23 15:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787477372000,"timestamp_ms":1787477372000,"timestamp_seconds":1787477372,"priority":1,"record_length":96,"hex_timestamp":"000001a02df42c60"} 
[2026-08-23 15:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-23 15:00:41] 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-08-23 15: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-08-23 15:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594201856001,"66":14189,"136":206,"83":42752,"24":22,"16":15572954414841856,"45":1941966263746629632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-23 15:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594201856001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:00:41] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-23 15:00:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15572954414841856,"km_value":15572954414841.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1941966263746629632,"description":"Unknown IO ID 45"} 
[2026-08-23 15:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594201856001,"power":14189,"unknown_136":206,"unknown_83":42752,"ignition":22,"odometer":null,"unknown_45":1941966263746629632}} 
[2026-08-23 15:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":161757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:00:42] local.INFO: GPS data processed {"connection_id":161757,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:00:42] local.INFO: Acknowledgment sent {"connection_id":161757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:00:51] local.INFO: TCP Data received {"connection_id":160566,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:00:51] local.INFO: Processing buffer {"connection_id":160566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:00:51] local.INFO: IMEI packet received {"connection_id":160566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":160566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:00:56] local.INFO: TCP Data received {"connection_id":160566,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:00:56] local.INFO: Processing buffer {"connection_id":160566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:00:56] local.INFO: IMEI packet received {"connection_id":160566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":160566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:00:59] local.INFO: TCP Data received {"connection_id":160566,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:00:59] local.INFO: Processing buffer {"connection_id":160566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:00:59] local.INFO: Packet analysis {"connection_id":160566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:00:59] local.INFO: Extracted packet for processing {"connection_id":160566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:00:59] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594133248001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787477384000,"timestamp_ms":1787477384000,"timestamp_seconds":1787477384,"priority":1,"record_length":96,"hex_timestamp":"000001a02df45b40"} 
[2026-08-23 15:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:00:59] 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-08-23 15:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594133248001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594133248001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:00:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:00:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594133248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":160566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:00:59] local.INFO: GPS data processed {"connection_id":160566,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:00:59] local.INFO: Acknowledgment sent {"connection_id":160566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:01:10] local.INFO: TCP Data received {"connection_id":160813,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df43430012d7d23c005d1ded0000d016528..."} 
[2026-08-23 15:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df43430012d7d23c005d1ded0000d016528..."} 
[2026-08-23 15:01:10] local.INFO: Processing buffer {"connection_id":160813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df43430012d7d23c005d1ded0000d016528..."} 
[2026-08-23 15:01:10] local.INFO: Packet analysis {"connection_id":160813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:01:10] local.INFO: Extracted packet for processing {"connection_id":160813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763175872,"raw_latitude":97640144,"longitude_deg":76.3175872,"latitude_deg":9.7640144,"altitude":13,"angle":357,"satellites":40,"speed":7,"hex_longitude":"2d7d23c0","hex_latitude":"05d1ded0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594202368001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122640562049253376,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017613853874321408,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01: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-08-23 15:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787477374000,"timestamp_ms":1787477374000,"timestamp_seconds":1787477374,"priority":1,"record_length":96,"hex_timestamp":"000001a02df43430"} 
[2026-08-23 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-08-23 15:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-23 15:01:10] 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-08-23 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-08-23 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-08-23 15:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594202368001,"66":13037,"23":206,"85":15104,"24":7,"16":122640562049253376,"45":9017613853874321408},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-23 15:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594202368001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:01:10] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-23 15:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122640562049253376,"km_value":122640562049253.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017613853874321408,"description":"Unknown IO ID 45"} 
[2026-08-23 15:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594202368001,"power":13037,"unknown_23":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9017613853874321408}} 
[2026-08-23 15:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":160813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:01:10] local.INFO: GPS data processed {"connection_id":160813,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:01:10] local.INFO: Acknowledgment sent {"connection_id":160813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:01:21] local.INFO: TCP Data received {"connection_id":161757,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df466f8012d1b1fc0072494680023003623..."} 
[2026-08-23 15:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df466f8012d1b1fc0072494680023003623..."} 
[2026-08-23 15:01:21] local.INFO: Processing buffer {"connection_id":161757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df466f8012d1b1fc0072494680023003623..."} 
[2026-08-23 15:01:21] local.INFO: Packet analysis {"connection_id":161757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:01:21] local.INFO: Extracted packet for processing {"connection_id":161757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:01:21] local.INFO: GPS Element Parsed {"raw_longitude":756752320,"raw_latitude":119837800,"longitude_deg":75.675232,"latitude_deg":11.98378,"altitude":35,"angle":54,"satellites":35,"speed":18,"hex_longitude":"2d1b1fc0","hex_latitude":"07249468","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594207232001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15573328076996608,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1948088344491593728,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787477387000,"timestamp_ms":1787477387000,"timestamp_seconds":1787477387,"priority":1,"record_length":96,"hex_timestamp":"000001a02df466f8"} 
[2026-08-23 15:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-23 15:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594207232001,"66":14428,"136":206,"83":42752,"24":18,"16":15573328076996608,"45":1948088344491593728},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-23 15:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594207232001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:01:21] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-23 15:01:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15573328076996608,"km_value":15573328076996.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1948088344491593728,"description":"Unknown IO ID 45"} 
[2026-08-23 15:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594207232001,"power":14428,"unknown_136":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1948088344491593728}} 
[2026-08-23 15:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":161757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:01:21] local.INFO: GPS data processed {"connection_id":161757,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:01:21] local.INFO: Acknowledgment sent {"connection_id":161757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:01:31] local.INFO: TCP Data received {"connection_id":160566,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:01:31] local.INFO: Processing buffer {"connection_id":160566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:01:31] local.INFO: Packet analysis {"connection_id":160566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:01:31] local.INFO: Extracted packet for processing {"connection_id":160566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:01:31] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594133248001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787477384000,"timestamp_ms":1787477384000,"timestamp_seconds":1787477384,"priority":1,"record_length":96,"hex_timestamp":"000001a02df45b40"} 
[2026-08-23 15:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:01:31] 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-08-23 15:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594133248001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594133248001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:01:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:01:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594133248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":160566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:01:31] local.INFO: GPS data processed {"connection_id":160566,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:01:31] local.INFO: Acknowledgment sent {"connection_id":160566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:01:38] local.INFO: TCP Data received {"connection_id":160814,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:01:38] local.INFO: Processing buffer {"connection_id":160814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:01:38] local.INFO: IMEI packet received {"connection_id":160814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":160814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:01:39] local.INFO: TCP Data received {"connection_id":160814,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:01:39] local.INFO: Processing buffer {"connection_id":160814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:01:39] local.INFO: IMEI packet received {"connection_id":160814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":160814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:01:41] local.INFO: TCP Data received {"connection_id":160567,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:01:41] local.INFO: Processing buffer {"connection_id":160567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:01:41] local.INFO: IMEI packet received {"connection_id":160567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":160567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:01:41] local.INFO: TCP Data received {"connection_id":160567,"ip":"42.109.136.8","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 15:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160567,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 15:01:41] local.INFO: Processing buffer {"connection_id":160567,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 15:01:41] local.INFO: IMEI packet received {"connection_id":160567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":160567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:01:41] local.INFO: TCP Data received {"connection_id":160814,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:01:41] local.INFO: Processing buffer {"connection_id":160814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:01:41] local.INFO: IMEI packet received {"connection_id":160814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":160814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:01:42] local.INFO: TCP Data received {"connection_id":160567,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df48638012d7d238005d1e8a8000b016328..."} 
[2026-08-23 15:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df48638012d7d238005d1e8a8000b016328..."} 
[2026-08-23 15:01:42] local.INFO: Processing buffer {"connection_id":160567,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a02d..."} 
[2026-08-23 15:01:42] local.INFO: IMEI packet received {"connection_id":160567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":160567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:01:42] local.INFO: TCP Data received {"connection_id":160814,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df4b900012d1b35800724a3c8002a003528..."} 
[2026-08-23 15:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df4b900012d1b35800724a3c8002a003528..."} 
[2026-08-23 15:01:42] local.INFO: Processing buffer {"connection_id":160814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df4b900012d1b35800724a3c8002a003528..."} 
[2026-08-23 15:01:42] local.INFO: Packet analysis {"connection_id":160814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:01:42] local.INFO: Extracted packet for processing {"connection_id":160814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:01:42] local.INFO: GPS Element Parsed {"raw_longitude":756757888,"raw_latitude":119841736,"longitude_deg":75.6757888,"latitude_deg":11.9841736,"altitude":42,"angle":53,"satellites":40,"speed":10,"hex_longitude":"2d1b3580","hex_latitude":"0724a3c8","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594211072001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1954491900213094400,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15573654494511104,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 15:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787477408000,"timestamp_ms":1787477408000,"timestamp_seconds":1787477408,"priority":1,"record_length":96,"hex_timestamp":"000001a02df4b900"} 
[2026-08-23 15:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 15:01: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-08-23 15: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-08-23 15:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594211072001,"66":14070,"45":1954491900213094400,"83":41984,"24":10,"16":15573654494511104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-08-23 15:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594211072001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1954491900213094400,"description":"Unknown IO ID 45"} 
[2026-08-23 15:01:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15573654494511104,"km_value":15573654494511.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:01:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457594211072001,"power":14070,"unknown_45":1954491900213094400,"unknown_83":41984,"ignition":10,"odometer":null}} 
[2026-08-23 15:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":160814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:01:42] local.INFO: GPS data processed {"connection_id":160814,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:01:42] local.INFO: Acknowledgment sent {"connection_id":160814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:01:44] local.INFO: TCP Data received {"connection_id":160567,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df4d840012d7d238005d1ea08000b016327..."} 
[2026-08-23 15:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df4d840012d7d238005d1ea08000b016327..."} 
[2026-08-23 15:01:45] local.INFO: Processing buffer {"connection_id":160567,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a02df48638012d7d238005d1e8a8000b016328..."} 
[2026-08-23 15:01:45] local.INFO: Packet analysis {"connection_id":160567,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:01:45] local.INFO: Extracted packet for processing {"connection_id":160567,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:01:45] local.INFO: GPS Element Parsed {"raw_longitude":763175808,"raw_latitude":97642664,"longitude_deg":76.3175808,"latitude_deg":9.7642664,"altitude":11,"angle":355,"satellites":40,"speed":4,"hex_longitude":"2d7d2380","hex_latitude":"05d1e8a8","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594207744001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122640686603304960,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017262010154274816,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:45] 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-08-23 15:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787477395000,"timestamp_ms":1787477395000,"timestamp_seconds":1787477395,"priority":1,"record_length":96,"hex_timestamp":"000001a02df48638"} 
[2026-08-23 15:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-23 15:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594207744001,"66":12635,"197":206,"85":15104,"24":4,"16":122640686603304960,"45":9017262010154274816},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-23 15:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594207744001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:01:45] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-23 15:01:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122640686603304960,"km_value":122640686603304.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017262010154274816,"description":"Unknown IO ID 45"} 
[2026-08-23 15:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594207744001,"power":12635,"unknown_197":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9017262010154274816}} 
[2026-08-23 15:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":160567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:01:45] local.INFO: GPS data processed {"connection_id":160567,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:01:45] local.INFO: Acknowledgment sent {"connection_id":160567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:01:45] local.INFO: Packet analysis {"connection_id":160567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:01:45] local.INFO: Extracted packet for processing {"connection_id":160567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:01:45] local.INFO: GPS Element Parsed {"raw_longitude":763175808,"raw_latitude":97643016,"longitude_deg":76.3175808,"latitude_deg":9.7643016,"altitude":11,"angle":355,"satellites":39,"speed":0,"hex_longitude":"2d7d2380","hex_latitude":"05d1ea08","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594213120001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122640703783174144,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017191641410742272,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:45] 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-08-23 15:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787477416000,"timestamp_ms":1787477416000,"timestamp_seconds":1787477416,"priority":1,"record_length":96,"hex_timestamp":"000001a02df4d840"} 
[2026-08-23 15:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-23 15:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594213120001,"66":12906,"23":206,"85":15104,"24":0,"16":122640703783174144,"45":9017191641410742272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-23 15:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594213120001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:01:45] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-23 15:01:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122640703783174144,"km_value":122640703783174.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017191641410742272,"description":"Unknown IO ID 45"} 
[2026-08-23 15:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594213120001,"power":12906,"unknown_23":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9017191641410742272}} 
[2026-08-23 15:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":160567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:01:45] local.INFO: GPS data processed {"connection_id":160567,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:01:45] local.INFO: Acknowledgment sent {"connection_id":160567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:01:46] local.INFO: TCP Data received {"connection_id":163162,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:01:46] local.INFO: Processing buffer {"connection_id":163162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:01:46] local.INFO: IMEI packet received {"connection_id":163162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":163162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:01:50] local.INFO: TCP Data received {"connection_id":160567,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df52a48012d7d238005d1ea08000b016328..."} 
[2026-08-23 15:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df52a48012d7d238005d1ea08000b016328..."} 
[2026-08-23 15:01:50] local.INFO: Processing buffer {"connection_id":160567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df52a48012d7d238005d1ea08000b016328..."} 
[2026-08-23 15:01:50] local.INFO: Packet analysis {"connection_id":160567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df5"} 
[2026-08-23 15:01:50] local.INFO: Extracted packet for processing {"connection_id":160567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df5"} 
[2026-08-23 15:01:50] local.INFO: GPS Element Parsed {"raw_longitude":763175808,"raw_latitude":97643016,"longitude_deg":76.3175808,"latitude_deg":9.7643016,"altitude":11,"angle":355,"satellites":40,"speed":0,"hex_longitude":"2d7d2380","hex_latitude":"05d1ea08","is_valid_coordinates":true} 
[2026-08-23 15:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594218496001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122640703783174144,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017191641410832384,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:50] 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-08-23 15:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787477437000,"timestamp_ms":1787477437000,"timestamp_seconds":1787477437,"priority":1,"record_length":96,"hex_timestamp":"000001a02df52a48"} 
[2026-08-23 15:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-23 15:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":160567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":160567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":160567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594218496001,"66":12722,"23":206,"85":15104,"24":0,"16":122640703783174144,"45":9017191641410832384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-23 15:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594218496001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:01:50] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-23 15:01:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122640703783174144,"km_value":122640703783174.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017191641410832384,"description":"Unknown IO ID 45"} 
[2026-08-23 15:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594218496001,"power":12722,"unknown_23":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9017191641410832384}} 
[2026-08-23 15:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":160567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:01:50] local.INFO: GPS data processed {"connection_id":160567,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:01:50] local.INFO: Acknowledgment sent {"connection_id":160567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:01:51] local.INFO: TCP Data received {"connection_id":163162,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:01:51] local.INFO: Processing buffer {"connection_id":163162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:01:51] local.INFO: IMEI packet received {"connection_id":163162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":163162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:01:52] local.INFO: TCP Data received {"connection_id":163162,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:01:52] local.INFO: Processing buffer {"connection_id":163162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:01:52] local.INFO: Packet analysis {"connection_id":163162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:01:52] local.INFO: Extracted packet for processing {"connection_id":163162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594133248001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787477384000,"timestamp_ms":1787477384000,"timestamp_seconds":1787477384,"priority":1,"record_length":96,"hex_timestamp":"000001a02df45b40"} 
[2026-08-23 15:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:01:52] 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-08-23 15:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:01:52] 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-08-23 15:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594133248001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594133248001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:01:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594133248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":163162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:01:52] local.INFO: GPS data processed {"connection_id":163162,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:01:52] local.INFO: Acknowledgment sent {"connection_id":163162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:02:13] local.INFO: TCP Data received {"connection_id":160814,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df4cc88012d1b3ac00724a6e80029004128..."} 
[2026-08-23 15:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df4cc88012d1b3ac00724a6e80029004128..."} 
[2026-08-23 15:02:13] local.INFO: Processing buffer {"connection_id":160814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df4cc88012d1b3ac00724a6e80029004128..."} 
[2026-08-23 15:02:13] local.INFO: Packet analysis {"connection_id":160814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:02:13] local.INFO: Extracted packet for processing {"connection_id":160814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:02:13] local.INFO: GPS Element Parsed {"raw_longitude":756759232,"raw_latitude":119842536,"longitude_deg":75.6759232,"latitude_deg":11.9842536,"altitude":41,"angle":65,"satellites":40,"speed":15,"hex_longitude":"2d1b3ac0","hex_latitude":"0724a6e8","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594216448001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960613980957558784,"note":"Value kept but may cause issues"} 
[2026-08-23 15:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15573731803922432,"note":"Value kept but may cause issues"} 
[2026-08-23 15:02:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 15:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787477413000,"timestamp_ms":1787477413000,"timestamp_seconds":1787477413,"priority":1,"record_length":96,"hex_timestamp":"000001a02df4cc88"} 
[2026-08-23 15:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-23 15:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594216448001,"66":13972,"45":1960613980957558784,"83":41984,"24":15,"16":15573731803922432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-08-23 15:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594216448001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960613980957558784,"description":"Unknown IO ID 45"} 
[2026-08-23 15:02:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15573731803922432,"km_value":15573731803922.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:02:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457594216448001,"power":13972,"unknown_45":1960613980957558784,"unknown_83":41984,"ignition":15,"odometer":null}} 
[2026-08-23 15:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":160814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:02:13] local.INFO: GPS data processed {"connection_id":160814,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:02:13] local.INFO: Acknowledgment sent {"connection_id":160814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:02:16] local.INFO: TCP Data received {"connection_id":161758,"ip":"85.217.149.36","data_length":8,"data_hex":"3030303030303030..."} 
[2026-08-23 15:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161758,"packet_length":8,"packet_hex":"3030303030303030..."} 
[2026-08-23 15:02:16] local.INFO: Processing buffer {"connection_id":161758,"buffer_length":8,"buffer_hex":"3030303030303030..."} 
[2026-08-23 15:02:23] local.INFO: TCP Data received {"connection_id":163162,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:02:23] local.INFO: Processing buffer {"connection_id":163162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:02:23] local.INFO: Packet analysis {"connection_id":163162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:02:23] local.INFO: Extracted packet for processing {"connection_id":163162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:02:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594133248001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787477384000,"timestamp_ms":1787477384000,"timestamp_seconds":1787477384,"priority":1,"record_length":96,"hex_timestamp":"000001a02df45b40"} 
[2026-08-23 15:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:02:23] 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-08-23 15:02:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:02:23] 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-08-23 15:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594133248001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594133248001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:02:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:02:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594133248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":163162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:02:23] local.INFO: GPS data processed {"connection_id":163162,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:02:23] local.INFO: Acknowledgment sent {"connection_id":163162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:02:29] local.INFO: TCP Data received {"connection_id":160815,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:02:29] local.INFO: Processing buffer {"connection_id":160815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:02:29] local.INFO: IMEI packet received {"connection_id":160815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":160815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:02:32] local.INFO: TCP Data received {"connection_id":160815,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:02:32] local.INFO: Processing buffer {"connection_id":160815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:02:32] local.INFO: IMEI packet received {"connection_id":160815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":160815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:02:33] local.INFO: TCP Data received {"connection_id":160815,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df60cd8012d1b684007255e300021002228..."} 
[2026-08-23 15:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df60cd8012d1b684007255e300021002228..."} 
[2026-08-23 15:02:33] local.INFO: Processing buffer {"connection_id":160815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df60cd8012d1b684007255e300021002228..."} 
[2026-08-23 15:02:33] local.INFO: Packet analysis {"connection_id":160815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df6"} 
[2026-08-23 15:02:33] local.INFO: Extracted packet for processing {"connection_id":160815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df6"} 
[2026-08-23 15:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756770880,"raw_latitude":119889456,"longitude_deg":75.677088,"latitude_deg":11.9889456,"altitude":33,"angle":34,"satellites":40,"speed":11,"hex_longitude":"2d1b6840","hex_latitude":"07255e30","is_valid_coordinates":true} 
[2026-08-23 15:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594238208001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15576171345346560,"note":"Value kept but may cause issues"} 
[2026-08-23 15:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974617361061009408,"note":"Value kept but may cause issues"} 
[2026-08-23 15:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787477495000,"timestamp_ms":1787477495000,"timestamp_seconds":1787477495,"priority":1,"record_length":96,"hex_timestamp":"000001a02df60cd8"} 
[2026-08-23 15:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-23 15:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594238208001,"66":13450,"43":206,"83":41984,"24":11,"16":15576171345346560,"45":1974617361061009408},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-23 15:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594238208001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:02:33] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-23 15:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15576171345346560,"km_value":15576171345346.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974617361061009408,"description":"Unknown IO ID 45"} 
[2026-08-23 15:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594238208001,"power":13450,"unknown_43":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1974617361061009408}} 
[2026-08-23 15:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":160815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:02:33] local.INFO: GPS data processed {"connection_id":160815,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:02:33] local.INFO: Acknowledgment sent {"connection_id":160815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:02:34] local.INFO: TCP Data received {"connection_id":161759,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:02:34] local.INFO: Processing buffer {"connection_id":161759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:02:34] local.INFO: IMEI packet received {"connection_id":161759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":161759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:02:44] local.INFO: TCP Data received {"connection_id":161759,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:02:44] local.INFO: Processing buffer {"connection_id":161759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:02:44] local.INFO: IMEI packet received {"connection_id":161759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":161759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:02:45] local.INFO: TCP Data received {"connection_id":161759,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df560f8012d7d234005d1f898000a000828..."} 
[2026-08-23 15:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df560f8012d7d234005d1f898000a000828..."} 
[2026-08-23 15:02:45] local.INFO: Processing buffer {"connection_id":161759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df560f8012d7d234005d1f898000a000828..."} 
[2026-08-23 15:02:45] local.INFO: Packet analysis {"connection_id":161759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df5"} 
[2026-08-23 15:02:45] local.INFO: Extracted packet for processing {"connection_id":161759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df5"} 
[2026-08-23 15:02:45] local.INFO: GPS Element Parsed {"raw_longitude":763175744,"raw_latitude":97646744,"longitude_deg":76.3175744,"latitude_deg":9.7646744,"altitude":10,"angle":8,"satellites":40,"speed":5,"hex_longitude":"2d7d2340","hex_latitude":"05d1f898","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594223872001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122640884171800576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017191641410832384,"note":"Value kept but may cause issues"} 
[2026-08-23 15:02:45] 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-08-23 15:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787477451000,"timestamp_ms":1787477451000,"timestamp_seconds":1787477451,"priority":1,"record_length":96,"hex_timestamp":"000001a02df560f8"} 
[2026-08-23 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-08-23 15:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 15:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 15:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594223872001,"66":12722,"197":206,"85":15104,"24":5,"16":122640884171800576,"45":9017191641410832384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-23 15:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594223872001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:02:45] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-23 15:02:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122640884171800576,"km_value":122640884171800.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017191641410832384,"description":"Unknown IO ID 45"} 
[2026-08-23 15:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594223872001,"power":12722,"unknown_197":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9017191641410832384}} 
[2026-08-23 15:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":161759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:02:45] local.INFO: GPS data processed {"connection_id":161759,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:02:45] local.INFO: Acknowledgment sent {"connection_id":161759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:02:46] local.INFO: TCP Data received {"connection_id":160568,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:02:46] local.INFO: Processing buffer {"connection_id":160568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:02:46] local.INFO: IMEI packet received {"connection_id":160568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":160568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:02:51] local.INFO: TCP Data received {"connection_id":160568,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:02:51] local.INFO: Processing buffer {"connection_id":160568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:02:51] local.INFO: IMEI packet received {"connection_id":160568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":160568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:02:52] local.INFO: TCP Data received {"connection_id":160568,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:02:52] local.INFO: Processing buffer {"connection_id":160568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:02:52] local.INFO: Packet analysis {"connection_id":160568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:02:52] local.INFO: Extracted packet for processing {"connection_id":160568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:02:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594133248001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787477384000,"timestamp_ms":1787477384000,"timestamp_seconds":1787477384,"priority":1,"record_length":96,"hex_timestamp":"000001a02df45b40"} 
[2026-08-23 15:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:02:52] 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-08-23 15:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594133248001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594133248001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:02:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:02:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594133248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":160568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:02:52] local.INFO: GPS data processed {"connection_id":160568,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:02:52] local.INFO: Acknowledgment sent {"connection_id":160568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:03:16] local.INFO: TCP Data received {"connection_id":161759,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df58808012d7d234005d1fe20000a016527..."} 
[2026-08-23 15:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df58808012d7d234005d1fe20000a016527..."} 
[2026-08-23 15:03:16] local.INFO: Processing buffer {"connection_id":161759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df58808012d7d234005d1fe20000a016527..."} 
[2026-08-23 15:03:16] local.INFO: Packet analysis {"connection_id":161759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df5"} 
[2026-08-23 15:03:16] local.INFO: Extracted packet for processing {"connection_id":161759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df5"} 
[2026-08-23 15:03:16] local.INFO: GPS Element Parsed {"raw_longitude":763175744,"raw_latitude":97648160,"longitude_deg":76.3175744,"latitude_deg":9.764816,"altitude":10,"angle":357,"satellites":39,"speed":5,"hex_longitude":"2d7d2340","hex_latitude":"05d1fe20","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594227456001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122640957186244608,"note":"Value kept but may cause issues"} 
[2026-08-23 15:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017121272667609088,"note":"Value kept but may cause issues"} 
[2026-08-23 15:03: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-08-23 15:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787477461000,"timestamp_ms":1787477461000,"timestamp_seconds":1787477461,"priority":1,"record_length":96,"hex_timestamp":"000001a02df58808"} 
[2026-08-23 15:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 15:03:16] 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-08-23 15: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-08-23 15:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594227456001,"66":12461,"23":206,"85":15104,"24":5,"16":122640957186244608,"45":9017121272667609088},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-23 15:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594227456001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:03:16] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-23 15:03:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122640957186244608,"km_value":122640957186244.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017121272667609088,"description":"Unknown IO ID 45"} 
[2026-08-23 15:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594227456001,"power":12461,"unknown_23":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9017121272667609088}} 
[2026-08-23 15:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":161759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:03:16] local.INFO: GPS data processed {"connection_id":161759,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:03:16] local.INFO: Acknowledgment sent {"connection_id":161759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:03:24] local.INFO: TCP Data received {"connection_id":160568,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:03:24] local.INFO: Processing buffer {"connection_id":160568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:03:24] local.INFO: Packet analysis {"connection_id":160568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:03:24] local.INFO: Extracted packet for processing {"connection_id":160568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:03:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594133248001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787477384000,"timestamp_ms":1787477384000,"timestamp_seconds":1787477384,"priority":1,"record_length":96,"hex_timestamp":"000001a02df45b40"} 
[2026-08-23 15:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:03:24] 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-08-23 15: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-08-23 15:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594133248001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594133248001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:03:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:03:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594133248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":160568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:03:24] local.INFO: GPS data processed {"connection_id":160568,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:03:24] local.INFO: Acknowledgment sent {"connection_id":160568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:03:30] local.INFO: TCP Data received {"connection_id":163163,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:03:30] local.INFO: Processing buffer {"connection_id":163163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:03:30] local.INFO: IMEI packet received {"connection_id":163163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":163163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:03:34] local.INFO: TCP Data received {"connection_id":160816,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:03:34] local.INFO: Processing buffer {"connection_id":160816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:03:34] local.INFO: IMEI packet received {"connection_id":160816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":160816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:03:34] local.INFO: TCP Data received {"connection_id":163163,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:03:34] local.INFO: Processing buffer {"connection_id":163163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:03:34] local.INFO: IMEI packet received {"connection_id":163163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":163163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:03:35] local.INFO: TCP Data received {"connection_id":163163,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df62448012d1b6c00072564a80021001329..."} 
[2026-08-23 15:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df62448012d1b6c00072564a80021001329..."} 
[2026-08-23 15:03:35] local.INFO: Processing buffer {"connection_id":163163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df62448012d1b6c00072564a80021001329..."} 
[2026-08-23 15:03:35] local.INFO: Packet analysis {"connection_id":163163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df6"} 
[2026-08-23 15:03:35] local.INFO: Extracted packet for processing {"connection_id":163163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df6"} 
[2026-08-23 15:03:35] local.INFO: GPS Element Parsed {"raw_longitude":756771840,"raw_latitude":119891112,"longitude_deg":75.677184,"latitude_deg":11.9891112,"altitude":33,"angle":19,"satellites":41,"speed":11,"hex_longitude":"2d1b6c00","hex_latitude":"072564a8","is_valid_coordinates":true} 
[2026-08-23 15:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594238720001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15576265834627072,"note":"Value kept but may cause issues"} 
[2026-08-23 15:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974898836037840896,"note":"Value kept but may cause issues"} 
[2026-08-23 15:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787477501000,"timestamp_ms":1787477501000,"timestamp_seconds":1787477501,"priority":1,"record_length":96,"hex_timestamp":"000001a02df62448"} 
[2026-08-23 15:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-23 15:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594238720001,"66":14080,"43":206,"83":41984,"24":11,"16":15576265834627072,"45":1974898836037840896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-23 15:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594238720001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:03:35] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-23 15:03:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15576265834627072,"km_value":15576265834627.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974898836037840896,"description":"Unknown IO ID 45"} 
[2026-08-23 15:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594238720001,"power":14080,"unknown_43":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1974898836037840896}} 
[2026-08-23 15:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":163163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:03:35] local.INFO: GPS data processed {"connection_id":163163,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:03:35] local.INFO: Acknowledgment sent {"connection_id":163163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:03:37] local.INFO: TCP Data received {"connection_id":160816,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:03:37] local.INFO: Processing buffer {"connection_id":160816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:03:37] local.INFO: IMEI packet received {"connection_id":160816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":160816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:03:39] local.INFO: TCP Data received {"connection_id":160816,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:03:39] local.INFO: Processing buffer {"connection_id":160816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:03:39] local.INFO: IMEI packet received {"connection_id":160816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":160816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:03:41] local.INFO: TCP Data received {"connection_id":160816,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df5d628012d7d238005d205380009000427..."} 
[2026-08-23 15:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df5d628012d7d238005d205380009000427..."} 
[2026-08-23 15:03:41] local.INFO: Processing buffer {"connection_id":160816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df5d628012d7d238005d205380009000427..."} 
[2026-08-23 15:03:41] local.INFO: Packet analysis {"connection_id":160816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df5"} 
[2026-08-23 15:03:41] local.INFO: Extracted packet for processing {"connection_id":160816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df5"} 
[2026-08-23 15:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763175808,"raw_latitude":97649976,"longitude_deg":76.3175808,"latitude_deg":9.7649976,"altitude":9,"angle":4,"satellites":39,"speed":12,"hex_longitude":"2d7d2380","hex_latitude":"05d20538","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594230016001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122641047380557824,"note":"Value kept but may cause issues"} 
[2026-08-23 15:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017121272667971584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:03: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-08-23 15:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787477481000,"timestamp_ms":1787477481000,"timestamp_seconds":1787477481,"priority":1,"record_length":96,"hex_timestamp":"000001a02df5d628"} 
[2026-08-23 15:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:03:41] 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-08-23 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594230016001,"66":12624,"23":206,"85":15104,"24":12,"16":122641047380557824,"45":9017121272667971584},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-23 15:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594230016001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:03:41] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-23 15:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122641047380557824,"km_value":122641047380557.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017121272667971584,"description":"Unknown IO ID 45"} 
[2026-08-23 15:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594230016001,"power":12624,"unknown_23":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9017121272667971584}} 
[2026-08-23 15:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":160816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:03:41] local.INFO: GPS data processed {"connection_id":160816,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:03:41] local.INFO: Acknowledgment sent {"connection_id":160816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:03:46] local.INFO: TCP Data received {"connection_id":160817,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:03:46] local.INFO: Processing buffer {"connection_id":160817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:03:46] local.INFO: IMEI packet received {"connection_id":160817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":160817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:03:51] local.INFO: TCP Data received {"connection_id":160817,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:03:51] local.INFO: Processing buffer {"connection_id":160817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:03:51] local.INFO: IMEI packet received {"connection_id":160817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":160817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:03:52] local.INFO: TCP Data received {"connection_id":160817,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:03:52] local.INFO: Processing buffer {"connection_id":160817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:03:52] local.INFO: Packet analysis {"connection_id":160817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:03:52] local.INFO: Extracted packet for processing {"connection_id":160817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:03:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594133248001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787477384000,"timestamp_ms":1787477384000,"timestamp_seconds":1787477384,"priority":1,"record_length":96,"hex_timestamp":"000001a02df45b40"} 
[2026-08-23 15:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:03:52] 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-08-23 15:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594133248001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594133248001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:03:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:03:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594133248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":160817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:03:52] local.INFO: GPS data processed {"connection_id":160817,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:03:52] local.INFO: Acknowledgment sent {"connection_id":160817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:04:06] local.INFO: TCP Data received {"connection_id":163163,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df63000012d1b6cc0072568100021000129..."} 
[2026-08-23 15:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df63000012d1b6cc0072568100021000129..."} 
[2026-08-23 15:04:06] local.INFO: Processing buffer {"connection_id":163163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df63000012d1b6cc0072568100021000129..."} 
[2026-08-23 15:04:06] local.INFO: Packet analysis {"connection_id":163163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df6"} 
[2026-08-23 15:04:06] local.INFO: Extracted packet for processing {"connection_id":163163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df6"} 
[2026-08-23 15:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756772032,"raw_latitude":119891984,"longitude_deg":75.6772032,"latitude_deg":11.9891984,"altitude":33,"angle":1,"satellites":41,"speed":12,"hex_longitude":"2d1b6cc0","hex_latitude":"07256810","is_valid_coordinates":true} 
[2026-08-23 15:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594240256001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15576308784300032,"note":"Value kept but may cause issues"} 
[2026-08-23 15:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975954367200929792,"note":"Value kept but may cause issues"} 
[2026-08-23 15:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787477504000,"timestamp_ms":1787477504000,"timestamp_seconds":1787477504,"priority":1,"record_length":96,"hex_timestamp":"000001a02df63000"} 
[2026-08-23 15:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-23 15:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3445327616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:04:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-23 15:04:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 15:04:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535574222,"corrected_to":0} 
[2026-08-23 15:04:06] local.WARNING: Large IO value detected {"io_id":143,"raw_value":3623955739,"note":"Value kept but may cause issues"} 
[2026-08-23 15:04:06] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,43,83,24,241,157,16,86,160,12,45,64,94,33,40,10,66,5,92,34,39,233,1,240,154,227,37,4,113,205,36,143,88,48,38,239,54,135,2,55,7,32],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1535574222,"validated":0}]} 
[2026-08-23 15:04:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2377921670066929664,"timestamp_seconds":2377921670066929.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 15:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594240256001,"66":14396,"43":206,"83":41984,"24":12,"16":15576308784300032,"45":1975954367200929792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-23 15:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594240256001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:04:06] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-23 15:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15576308784300032,"km_value":15576308784300.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975954367200929792,"description":"Unknown IO ID 45"} 
[2026-08-23 15:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594240256001,"power":14396,"unknown_43":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1975954367200929792}} 
[2026-08-23 15:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":163163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:04:06] local.INFO: GPS data processed {"connection_id":163163,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:04:06] local.INFO: Acknowledgment sent {"connection_id":163163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:04:12] local.INFO: TCP Data received {"connection_id":160816,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df833a0012d7d330005d28f880008013027..."} 
[2026-08-23 15:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df833a0012d7d330005d28f880008013027..."} 
[2026-08-23 15:04:12] local.INFO: Processing buffer {"connection_id":160816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df833a0012d7d330005d28f880008013027..."} 
[2026-08-23 15:04:12] local.INFO: Packet analysis {"connection_id":160816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:04:12] local.INFO: Extracted packet for processing {"connection_id":160816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:04:12] local.INFO: GPS Element Parsed {"raw_longitude":763179776,"raw_latitude":97685384,"longitude_deg":76.3179776,"latitude_deg":9.7685384,"altitude":8,"angle":304,"satellites":39,"speed":9,"hex_longitude":"2d7d3300","hex_latitude":"05d28f88","is_valid_coordinates":true} 
[2026-08-23 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":795,"current_offset":40} 
[2026-08-23 15:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594274048001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122642804022181888,"note":"Value kept but may cause issues"} 
[2026-08-23 15:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022047084769826816,"note":"Value kept but may cause issues"} 
[2026-08-23 15:04:12] 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-08-23 15:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787477636000,"timestamp_ms":1787477636000,"timestamp_seconds":1787477636,"priority":1,"record_length":96,"hex_timestamp":"000001a02df833a0"} 
[2026-08-23 15:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-23 15:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594274048001,"66":12906,"117":206,"85":15104,"24":9,"16":122642804022181888,"45":9022047084769826816},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 15:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594274048001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:04:12] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 15:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122642804022181888,"km_value":122642804022181.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022047084769826816,"description":"Unknown IO ID 45"} 
[2026-08-23 15:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594274048001,"power":12906,"unknown_117":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9022047084769826816}} 
[2026-08-23 15:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":160816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:04:12] local.INFO: GPS data processed {"connection_id":160816,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:04:12] local.INFO: Acknowledgment sent {"connection_id":160816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:04:24] local.INFO: TCP Data received {"connection_id":160817,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:04:24] local.INFO: Processing buffer {"connection_id":160817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:04:24] local.INFO: Packet analysis {"connection_id":160817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:04:24] local.INFO: Extracted packet for processing {"connection_id":160817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:04:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594133248001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787477384000,"timestamp_ms":1787477384000,"timestamp_seconds":1787477384,"priority":1,"record_length":96,"hex_timestamp":"000001a02df45b40"} 
[2026-08-23 15:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:04:24] 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-08-23 15: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-08-23 15:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594133248001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594133248001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:04:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:04:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594133248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":160817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:04:24] local.INFO: GPS data processed {"connection_id":160817,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:04:24] local.INFO: Acknowledgment sent {"connection_id":160817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:04:29] local.INFO: TCP Data received {"connection_id":163164,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:04:29] local.INFO: Processing buffer {"connection_id":163164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:04:29] local.INFO: IMEI packet received {"connection_id":163164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":163164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:04:34] local.INFO: TCP Data received {"connection_id":163164,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:04:34] local.INFO: Processing buffer {"connection_id":163164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:04:34] local.INFO: IMEI packet received {"connection_id":163164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":163164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:04:35] local.INFO: TCP Data received {"connection_id":163164,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df7d5e0012d1b8e80072573080029009229..."} 
[2026-08-23 15:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df7d5e0012d1b8e80072573080029009229..."} 
[2026-08-23 15:04:35] local.INFO: Processing buffer {"connection_id":163164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df7d5e0012d1b8e80072573080029009229..."} 
[2026-08-23 15:04:35] local.INFO: Packet analysis {"connection_id":163164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df7"} 
[2026-08-23 15:04:35] local.INFO: Extracted packet for processing {"connection_id":163164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df7"} 
[2026-08-23 15:04:35] local.INFO: GPS Element Parsed {"raw_longitude":756780672,"raw_latitude":119894792,"longitude_deg":75.6780672,"latitude_deg":11.9894792,"altitude":41,"angle":146,"satellites":41,"speed":1,"hex_longitude":"2d1b8e80","hex_latitude":"07257308","is_valid_coordinates":true} 
[2026-08-23 15:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594268416001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15576841360244736,"note":"Value kept but may cause issues"} 
[2026-08-23 15:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1985665253898395648,"note":"Value kept but may cause issues"} 
[2026-08-23 15:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787477612000,"timestamp_ms":1787477612000,"timestamp_seconds":1787477612,"priority":1,"record_length":96,"hex_timestamp":"000001a02df7d5e0"} 
[2026-08-23 15:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 15:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594268416001,"66":14450,"216":206,"83":42752,"24":1,"16":15576841360244736,"45":1985665253898395648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-23 15:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594268416001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:04:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 15:04:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15576841360244736,"km_value":15576841360244.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1985665253898395648,"description":"Unknown IO ID 45"} 
[2026-08-23 15:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594268416001,"power":14450,"unknown_216":206,"unknown_83":42752,"ignition":1,"odometer":null,"unknown_45":1985665253898395648}} 
[2026-08-23 15:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":163164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:04:35] local.INFO: GPS data processed {"connection_id":163164,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:04:35] local.INFO: Acknowledgment sent {"connection_id":163164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:04:39] local.INFO: TCP Data received {"connection_id":160569,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:04:39] local.INFO: Processing buffer {"connection_id":160569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:04:39] local.INFO: IMEI packet received {"connection_id":160569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":160569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:04:42] local.INFO: TCP Data received {"connection_id":160569,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:04:42] local.INFO: Processing buffer {"connection_id":160569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:04:42] local.INFO: IMEI packet received {"connection_id":160569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":160569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:04:43] local.INFO: TCP Data received {"connection_id":160569,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df83b70012d7d310005d290700008012028..."} 
[2026-08-23 15:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df83b70012d7d310005d290700008012028..."} 
[2026-08-23 15:04:43] local.INFO: Processing buffer {"connection_id":160569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df83b70012d7d310005d290700008012028..."} 
[2026-08-23 15:04:43] local.INFO: Packet analysis {"connection_id":160569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:04:43] local.INFO: Extracted packet for processing {"connection_id":160569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:04:43] local.INFO: GPS Element Parsed {"raw_longitude":763179264,"raw_latitude":97685616,"longitude_deg":76.3179264,"latitude_deg":9.7685616,"altitude":8,"angle":288,"satellites":40,"speed":13,"hex_longitude":"2d7d3100","hex_latitude":"05d29070","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594274816001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122642834086952960,"note":"Value kept but may cause issues"} 
[2026-08-23 15:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021554503560693760,"note":"Value kept but may cause issues"} 
[2026-08-23 15:04:43] 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-08-23 15:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787477638000,"timestamp_ms":1787477638000,"timestamp_seconds":1787477638,"priority":1,"record_length":96,"hex_timestamp":"000001a02df83b70"} 
[2026-08-23 15:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-23 15:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594274816001,"66":12689,"117":206,"85":15104,"24":13,"16":122642834086952960,"45":9021554503560693760},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 15:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594274816001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:04:43] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 15:04:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122642834086952960,"km_value":122642834086952.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021554503560693760,"description":"Unknown IO ID 45"} 
[2026-08-23 15:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594274816001,"power":12689,"unknown_117":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9021554503560693760}} 
[2026-08-23 15:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":160569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:04:43] local.INFO: GPS data processed {"connection_id":160569,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:04:43] local.INFO: Acknowledgment sent {"connection_id":160569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:04:51] local.INFO: TCP Data received {"connection_id":160818,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:04:51] local.INFO: Processing buffer {"connection_id":160818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:04:51] local.INFO: IMEI packet received {"connection_id":160818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":160818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:04:56] local.INFO: TCP Data received {"connection_id":160818,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:04:56] local.INFO: Processing buffer {"connection_id":160818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:04:56] local.INFO: IMEI packet received {"connection_id":160818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":160818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:04:57] local.INFO: TCP Data received {"connection_id":160818,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:04:57] local.INFO: Processing buffer {"connection_id":160818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:04:57] local.INFO: Packet analysis {"connection_id":160818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:04:57] local.INFO: Extracted packet for processing {"connection_id":160818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:04:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594133248001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787477384000,"timestamp_ms":1787477384000,"timestamp_seconds":1787477384,"priority":1,"record_length":96,"hex_timestamp":"000001a02df45b40"} 
[2026-08-23 15:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594133248001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594133248001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:04:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:04:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594133248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":160818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:04:57] local.INFO: GPS data processed {"connection_id":160818,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:04:57] local.INFO: Acknowledgment sent {"connection_id":160818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:05:01] local.INFO: TCP Data received {"connection_id":160818,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:05:01] local.INFO: Processing buffer {"connection_id":160818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df45b40012d34c50006aa40980012008520..."} 
[2026-08-23 15:05:01] local.INFO: Packet analysis {"connection_id":160818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:05:01] local.INFO: Extracted packet for processing {"connection_id":160818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df4"} 
[2026-08-23 15:05:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":18,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594133248001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787477384000,"timestamp_ms":1787477384000,"timestamp_seconds":1787477384,"priority":1,"record_length":96,"hex_timestamp":"000001a02df45b40"} 
[2026-08-23 15:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594133248001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594133248001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:05:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:05:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594133248001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":160818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:05:01] local.INFO: GPS data processed {"connection_id":160818,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:05:01] local.INFO: Acknowledgment sent {"connection_id":160818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:05:06] local.INFO: TCP Data received {"connection_id":163164,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df7fcf0012d1b8e40072572d8002a00bd29..."} 
[2026-08-23 15:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df7fcf0012d1b8e40072572d8002a00bd29..."} 
[2026-08-23 15:05:06] local.INFO: Processing buffer {"connection_id":163164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df7fcf0012d1b8e40072572d8002a00bd29..."} 
[2026-08-23 15:05:06] local.INFO: Packet analysis {"connection_id":163164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df7"} 
[2026-08-23 15:05:06] local.INFO: Extracted packet for processing {"connection_id":163164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df7"} 
[2026-08-23 15:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756780608,"raw_latitude":119894744,"longitude_deg":75.6780608,"latitude_deg":11.9894744,"altitude":42,"angle":189,"satellites":41,"speed":3,"hex_longitude":"2d1b8e40","hex_latitude":"072572d8","is_valid_coordinates":true} 
[2026-08-23 15:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594268672001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15576854245146624,"note":"Value kept but may cause issues"} 
[2026-08-23 15:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1985665253898389504,"note":"Value kept but may cause issues"} 
[2026-08-23 15:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787477622000,"timestamp_ms":1787477622000,"timestamp_seconds":1787477622,"priority":1,"record_length":96,"hex_timestamp":"000001a02df7fcf0"} 
[2026-08-23 15:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-23 15:05:06] 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-08-23 15:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594268672001,"66":14113,"216":206,"83":42752,"24":3,"16":15576854245146624,"45":1985665253898389504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-23 15:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594268672001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:05:06] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 15:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15576854245146624,"km_value":15576854245146.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1985665253898389504,"description":"Unknown IO ID 45"} 
[2026-08-23 15:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594268672001,"power":14113,"unknown_216":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1985665253898389504}} 
[2026-08-23 15:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":163164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:05:06] local.INFO: GPS data processed {"connection_id":163164,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:05:06] local.INFO: Acknowledgment sent {"connection_id":163164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:05:14] local.INFO: TCP Data received {"connection_id":160569,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df84340012d7d2e0005d290e00007010d28..."} 
[2026-08-23 15:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df84340012d7d2e0005d290e00007010d28..."} 
[2026-08-23 15:05:14] local.INFO: Processing buffer {"connection_id":160569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df84340012d7d2e0005d290e00007010d28..."} 
[2026-08-23 15:05:14] local.INFO: Packet analysis {"connection_id":160569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:05:14] local.INFO: Extracted packet for processing {"connection_id":160569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:05:14] local.INFO: GPS Element Parsed {"raw_longitude":763178496,"raw_latitude":97685728,"longitude_deg":76.3178496,"latitude_deg":9.7685728,"altitude":7,"angle":269,"satellites":40,"speed":17,"hex_longitude":"2d7d2e00","hex_latitude":"05d290e0","is_valid_coordinates":true} 
[2026-08-23 15:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594275328001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122642868446691328,"note":"Value kept but may cause issues"} 
[2026-08-23 15:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991553607331840,"note":"Value kept but may cause issues"} 
[2026-08-23 15:05:14] 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-08-23 15:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787477640000,"timestamp_ms":1787477640000,"timestamp_seconds":1787477640,"priority":1,"record_length":96,"hex_timestamp":"000001a02df84340"} 
[2026-08-23 15:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-23 15:05:14] 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-08-23 15:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594275328001,"66":12689,"117":206,"85":15104,"24":17,"16":122642868446691328,"45":9020991553607331840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 15:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594275328001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:05:14] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 15:05:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122642868446691328,"km_value":122642868446691.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991553607331840,"description":"Unknown IO ID 45"} 
[2026-08-23 15:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594275328001,"power":12689,"unknown_117":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9020991553607331840}} 
[2026-08-23 15:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":160569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:05:14] local.INFO: GPS data processed {"connection_id":160569,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:05:14] local.INFO: Acknowledgment sent {"connection_id":160569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:05:29] local.INFO: TCP Data received {"connection_id":160570,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:05:29] local.INFO: Processing buffer {"connection_id":160570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:05:29] local.INFO: IMEI packet received {"connection_id":160570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":160570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:05:31] local.INFO: TCP Data received {"connection_id":160570,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:05:31] local.INFO: Processing buffer {"connection_id":160570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:05:31] local.INFO: IMEI packet received {"connection_id":160570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":160570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:05:34] local.INFO: TCP Data received {"connection_id":160570,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:05:34] local.INFO: Processing buffer {"connection_id":160570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:05:34] local.INFO: IMEI packet received {"connection_id":160570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":160570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:05:35] local.INFO: TCP Data received {"connection_id":161760,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:05:35] local.INFO: Processing buffer {"connection_id":161760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:05:35] local.INFO: IMEI packet received {"connection_id":161760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":161760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:05:35] local.INFO: TCP Data received {"connection_id":160570,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df8cbf8012d1b700007256f88002c00c428..."} 
[2026-08-23 15:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df8cbf8012d1b700007256f88002c00c428..."} 
[2026-08-23 15:05:35] local.INFO: Processing buffer {"connection_id":160570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df8cbf8012d1b700007256f88002c00c428..."} 
[2026-08-23 15:05:35] local.INFO: Packet analysis {"connection_id":160570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:05:35] local.INFO: Extracted packet for processing {"connection_id":160570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:05:35] local.INFO: GPS Element Parsed {"raw_longitude":756772864,"raw_latitude":119893896,"longitude_deg":75.6772864,"latitude_deg":11.9893896,"altitude":44,"angle":196,"satellites":40,"speed":3,"hex_longitude":"2d1b7000","hex_latitude":"07256f88","is_valid_coordinates":true} 
[2026-08-23 15:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594281472001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15577262267039744,"note":"Value kept but may cause issues"} 
[2026-08-23 15:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976939529620156416,"note":"Value kept but may cause issues"} 
[2026-08-23 15:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787477675000,"timestamp_ms":1787477675000,"timestamp_seconds":1787477675,"priority":1,"record_length":96,"hex_timestamp":"000001a02df8cbf8"} 
[2026-08-23 15:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-23 15:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594281472001,"66":14026,"216":206,"83":42752,"24":3,"16":15577262267039744,"45":1976939529620156416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-23 15:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594281472001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:05:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 15:05:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15577262267039744,"km_value":15577262267039.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976939529620156416,"description":"Unknown IO ID 45"} 
[2026-08-23 15:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594281472001,"power":14026,"unknown_216":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1976939529620156416}} 
[2026-08-23 15:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":160570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:05:35] local.INFO: GPS data processed {"connection_id":160570,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:05:35] local.INFO: Acknowledgment sent {"connection_id":160570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:05:35] local.INFO: TCP Data received {"connection_id":161760,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:05:35] local.INFO: Processing buffer {"connection_id":161760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:05:35] local.INFO: IMEI packet received {"connection_id":161760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":161760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:05:40] local.INFO: TCP Data received {"connection_id":161760,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:05:40] local.INFO: Processing buffer {"connection_id":161760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:05:40] local.INFO: IMEI packet received {"connection_id":161760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":161760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:05:40] local.INFO: TCP Data received {"connection_id":161760,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df89160012d7d104005d29058000a010828..."} 
[2026-08-23 15:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df89160012d7d104005d29058000a010828..."} 
[2026-08-23 15:05:40] local.INFO: Processing buffer {"connection_id":161760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df89160012d7d104005d29058000a010828..."} 
[2026-08-23 15:05:40] local.INFO: Packet analysis {"connection_id":161760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:05:40] local.INFO: Extracted packet for processing {"connection_id":161760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:05:40] local.INFO: GPS Element Parsed {"raw_longitude":763170880,"raw_latitude":97685592,"longitude_deg":76.317088,"latitude_deg":9.7685592,"altitude":10,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2d7d1040","hex_latitude":"05d29058","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594275840001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122643237813878784,"note":"Value kept but may cause issues"} 
[2026-08-23 15:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020147128677228544,"note":"Value kept but may cause issues"} 
[2026-08-23 15:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787477660000,"timestamp_ms":1787477660000,"timestamp_seconds":1787477660,"priority":1,"record_length":96,"hex_timestamp":"000001a02df89160"} 
[2026-08-23 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-08-23 15:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-23 15:05:40] 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-08-23 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-08-23 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-08-23 15:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594275840001,"66":12874,"117":206,"85":15104,"24":0,"16":122643237813878784,"45":9020147128677228544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 15:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594275840001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:05:40] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 15:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122643237813878784,"km_value":122643237813878.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020147128677228544,"description":"Unknown IO ID 45"} 
[2026-08-23 15:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594275840001,"power":12874,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9020147128677228544}} 
[2026-08-23 15:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":161760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:05:40] local.INFO: GPS data processed {"connection_id":161760,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:05:40] local.INFO: Acknowledgment sent {"connection_id":161760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:05:41] local.INFO: TCP Data received {"connection_id":161760,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df8e368012d7d0f4005d29090000a010d28..."} 
[2026-08-23 15:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df8e368012d7d0f4005d29090000a010d28..."} 
[2026-08-23 15:05:41] local.INFO: Processing buffer {"connection_id":161760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df8e368012d7d0f4005d29090000a010d28..."} 
[2026-08-23 15:05:41] local.INFO: Packet analysis {"connection_id":161760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:05:41] local.INFO: Extracted packet for processing {"connection_id":161760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:05:41] local.INFO: GPS Element Parsed {"raw_longitude":763170624,"raw_latitude":97685648,"longitude_deg":76.3170624,"latitude_deg":9.7685648,"altitude":10,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2d7d0f40","hex_latitude":"05d29090","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594280960001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122643250698780672,"note":"Value kept but may cause issues"} 
[2026-08-23 15:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011773248120051712,"note":"Value kept but may cause issues"} 
[2026-08-23 15:05: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-08-23 15:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787477681000,"timestamp_ms":1787477681000,"timestamp_seconds":1787477681,"priority":1,"record_length":96,"hex_timestamp":"000001a02df8e368"} 
[2026-08-23 15:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-23 15:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594280960001,"66":12602,"117":206,"85":15104,"24":0,"16":122643250698780672,"45":9011773248120051712},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 15:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594280960001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:05:41] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 15:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122643250698780672,"km_value":122643250698780.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011773248120051712,"description":"Unknown IO ID 45"} 
[2026-08-23 15:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594280960001,"power":12602,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9011773248120051712}} 
[2026-08-23 15:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":161760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:05:41] local.INFO: GPS data processed {"connection_id":161760,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:05:41] local.INFO: Acknowledgment sent {"connection_id":161760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:05:46] local.INFO: TCP Data received {"connection_id":160571,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:05:46] local.INFO: Processing buffer {"connection_id":160571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:05:46] local.INFO: IMEI packet received {"connection_id":160571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":160571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:05:51] local.INFO: TCP Data received {"connection_id":160571,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:05:51] local.INFO: Processing buffer {"connection_id":160571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:05:51] local.INFO: IMEI packet received {"connection_id":160571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":160571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:05:52] local.INFO: TCP Data received {"connection_id":160571,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:05:52] local.INFO: Processing buffer {"connection_id":160571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:05:52] local.INFO: Packet analysis {"connection_id":160571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:05:52] local.INFO: Extracted packet for processing {"connection_id":160571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594210304001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787477685000,"timestamp_ms":1787477685000,"timestamp_seconds":1787477685,"priority":1,"record_length":96,"hex_timestamp":"000001a02df8f308"} 
[2026-08-23 15:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:05:52] 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-08-23 15:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:05:52] 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-08-23 15:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594210304001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594210304001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:05:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:05:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594210304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":160571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:05:52] local.INFO: GPS data processed {"connection_id":160571,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:05:52] local.INFO: Acknowledgment sent {"connection_id":160571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:06:06] local.INFO: TCP Data received {"connection_id":160570,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df8db98012d1b6f0007256c10002c00b828..."} 
[2026-08-23 15:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df8db98012d1b6f0007256c10002c00b828..."} 
[2026-08-23 15:06:06] local.INFO: Processing buffer {"connection_id":160570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df8db98012d1b6f0007256c10002c00b828..."} 
[2026-08-23 15:06:06] local.INFO: Packet analysis {"connection_id":160570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:06:06] local.INFO: Extracted packet for processing {"connection_id":160570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756772608,"raw_latitude":119893008,"longitude_deg":75.6772608,"latitude_deg":11.9893008,"altitude":44,"angle":184,"satellites":40,"speed":12,"hex_longitude":"2d1b6f00","hex_latitude":"07256c10","is_valid_coordinates":true} 
[2026-08-23 15:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594284800001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15577305216712704,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977080267108485120,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787477679000,"timestamp_ms":1787477679000,"timestamp_seconds":1787477679,"priority":1,"record_length":96,"hex_timestamp":"000001a02df8db98"} 
[2026-08-23 15:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-23 15:06:06] 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-08-23 15:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594284800001,"66":14080,"216":206,"83":42752,"24":12,"16":15577305216712704,"45":1977080267108485120},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-23 15:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594284800001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:06:06] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 15:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15577305216712704,"km_value":15577305216712.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977080267108485120,"description":"Unknown IO ID 45"} 
[2026-08-23 15:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594284800001,"power":14080,"unknown_216":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1977080267108485120}} 
[2026-08-23 15:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":160570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:06:06] local.INFO: GPS data processed {"connection_id":160570,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:06:06] local.INFO: Acknowledgment sent {"connection_id":160570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:06:12] local.INFO: TCP Data received {"connection_id":161760,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02df90690012d7d0ec005d29198000a011928..."} 
[2026-08-23 15:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df90690012d7d0ec005d29198000a011928..."} 
[2026-08-23 15:06:12] local.INFO: Processing buffer {"connection_id":161760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df90690012d7d0ec005d29198000a011928..."} 
[2026-08-23 15:06:12] local.INFO: Packet analysis {"connection_id":161760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df9"} 
[2026-08-23 15:06:12] local.INFO: Extracted packet for processing {"connection_id":161760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df9"} 
[2026-08-23 15:06:12] local.INFO: GPS Element Parsed {"raw_longitude":763170496,"raw_latitude":97685912,"longitude_deg":76.3170496,"latitude_deg":9.7685912,"altitude":10,"angle":281,"satellites":40,"speed":2,"hex_longitude":"2d7d0ec0","hex_latitude":"05d29198","is_valid_coordinates":true} 
[2026-08-23 15:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594286336001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122643263583682560,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011491773143355392,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:12] 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-08-23 15:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787477690000,"timestamp_ms":1787477690000,"timestamp_seconds":1787477690,"priority":1,"record_length":96,"hex_timestamp":"000001a02df90690"} 
[2026-08-23 15:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-23 15:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594286336001,"66":12906,"117":206,"85":15104,"24":2,"16":122643263583682560,"45":9011491773143355392},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 15:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594286336001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:06:12] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 15:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122643263583682560,"km_value":122643263583682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011491773143355392,"description":"Unknown IO ID 45"} 
[2026-08-23 15:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594286336001,"power":12906,"unknown_117":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9011491773143355392}} 
[2026-08-23 15:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":161760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:06:12] local.INFO: GPS data processed {"connection_id":161760,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:06:12] local.INFO: Acknowledgment sent {"connection_id":161760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:06:23] local.INFO: TCP Data received {"connection_id":160571,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:06:23] local.INFO: Processing buffer {"connection_id":160571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:06:23] local.INFO: Packet analysis {"connection_id":160571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:06:23] local.INFO: Extracted packet for processing {"connection_id":160571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:06:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594210304001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787477685000,"timestamp_ms":1787477685000,"timestamp_seconds":1787477685,"priority":1,"record_length":96,"hex_timestamp":"000001a02df8f308"} 
[2026-08-23 15:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:06:23] 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-08-23 15: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-08-23 15:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594210304001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594210304001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:06:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:06:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594210304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":160571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:06:23] local.INFO: GPS data processed {"connection_id":160571,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:06:23] local.INFO: Acknowledgment sent {"connection_id":160571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:06:34] local.INFO: TCP Data received {"connection_id":161761,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:06:34] local.INFO: Processing buffer {"connection_id":161761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:06:34] local.INFO: IMEI packet received {"connection_id":161761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":161761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:06:34] local.INFO: TCP Data received {"connection_id":160819,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:06:34] local.INFO: Processing buffer {"connection_id":160819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:06:34] local.INFO: IMEI packet received {"connection_id":160819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":160819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:06:35] local.INFO: TCP Data received {"connection_id":161761,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:06:35] local.INFO: Processing buffer {"connection_id":161761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:06:35] local.INFO: IMEI packet received {"connection_id":161761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":161761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:06:36] local.INFO: TCP Data received {"connection_id":160819,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:06:36] local.INFO: Processing buffer {"connection_id":160819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:06:36] local.INFO: IMEI packet received {"connection_id":160819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":160819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:06:37] local.INFO: TCP Data received {"connection_id":160819,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfa0090012d7cf34005d291b00005005d28..."} 
[2026-08-23 15:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfa0090012d7cf34005d291b00005005d28..."} 
[2026-08-23 15:06:37] local.INFO: Processing buffer {"connection_id":160819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfa0090012d7cf34005d291b00005005d28..."} 
[2026-08-23 15:06:37] local.INFO: Packet analysis {"connection_id":160819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfa"} 
[2026-08-23 15:06:37] local.INFO: Extracted packet for processing {"connection_id":160819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfa"} 
[2026-08-23 15:06:37] local.INFO: GPS Element Parsed {"raw_longitude":763163456,"raw_latitude":97685936,"longitude_deg":76.3163456,"latitude_deg":9.7685936,"altitude":5,"angle":93,"satellites":40,"speed":17,"hex_longitude":"2d7cf340","hex_latitude":"05d291b0","is_valid_coordinates":true} 
[2026-08-23 15:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594303232001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122643903533809664,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001358673981769728,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787477754000,"timestamp_ms":1787477754000,"timestamp_seconds":1787477754,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfa0090"} 
[2026-08-23 15:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-23 15:06:37] 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-08-23 15:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594303232001,"66":12645,"117":206,"85":15104,"24":17,"16":122643903533809664,"45":9001358673981769728},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 15:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594303232001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:06:37] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 15:06:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122643903533809664,"km_value":122643903533809.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001358673981769728,"description":"Unknown IO ID 45"} 
[2026-08-23 15:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594303232001,"power":12645,"unknown_117":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9001358673981769728}} 
[2026-08-23 15:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":160819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:06:37] local.INFO: GPS data processed {"connection_id":160819,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:06:37] local.INFO: Acknowledgment sent {"connection_id":160819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:06:39] local.INFO: TCP Data received {"connection_id":161761,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:06:39] local.INFO: Processing buffer {"connection_id":161761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:06:39] local.INFO: IMEI packet received {"connection_id":161761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":161761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:06:41] local.INFO: TCP Data received {"connection_id":161761,"ip":"42.109.136.1","data_length":1348,"data_hex":"000000000000030f8e0a000001a02df91248012d1b6ac007255748002a00c327..."} 
[2026-08-23 15:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161761,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a02df91248012d1b6ac007255748002a00c327..."} 
[2026-08-23 15:06:41] local.INFO: Processing buffer {"connection_id":161761,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a02df91248012d1b6ac007255748002a00c327..."} 
[2026-08-23 15:06:41] local.INFO: Packet analysis {"connection_id":161761,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a02df9"} 
[2026-08-23 15:06:41] local.INFO: Extracted packet for processing {"connection_id":161761,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a02df9"} 
[2026-08-23 15:06:41] local.INFO: GPS Element Parsed {"raw_longitude":756771520,"raw_latitude":119887688,"longitude_deg":75.677152,"latitude_deg":11.9887688,"altitude":42,"angle":195,"satellites":39,"speed":15,"hex_longitude":"2d1b6ac0","hex_latitude":"07255748","is_valid_coordinates":true} 
[2026-08-23 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":795,"current_offset":40} 
[2026-08-23 15:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594285824001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15577571504685056,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976798792131547136,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787477693000,"timestamp_ms":1787477693000,"timestamp_seconds":1787477693,"priority":1,"record_length":96,"hex_timestamp":"000001a02df91248"} 
[2026-08-23 15:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-23 15:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446331392,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:41] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:41] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":63489,"corrected_to":0} 
[2026-08-23 15:06:41] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3221693810,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-08-23 15:06:41] local.WARNING: Large IO value detected {"io_id":129,"raw_value":3221302555,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:41] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,216,83,24,241,157,16,87,160,203,45,111,44,40,10,66,153,128,145,1,240,60,227,37,4,113,205,6,129,41,239,56,2,55,7],"length":479,"final_offset":609,"validated_count":35,"validation_warnings":[{"io_id":203,"original":63489,"validated":0},{"io_id":205,"original":1792540878,"validated":0}]} 
[2026-08-23 15:06:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170736619607818240,"timestamp_seconds":3170736619607818.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 15:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594285824001,"66":13798,"216":206,"83":42752,"24":15,"16":15577571504685056,"45":1976798792131547136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-23 15:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594285824001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:06:41] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 15:06:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15577571504685056,"km_value":15577571504685.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976798792131547136,"description":"Unknown IO ID 45"} 
[2026-08-23 15:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594285824001,"power":13798,"unknown_216":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1976798792131547136}} 
[2026-08-23 15:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":161761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:06:41] local.INFO: GPS data processed {"connection_id":161761,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:06:41] local.INFO: Acknowledgment sent {"connection_id":161761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:06:41] local.INFO: Packet analysis {"connection_id":161761,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a02df9"} 
[2026-08-23 15:06:41] local.INFO: Incomplete packet, waiting for more data {"connection_id":161761,"needed":795,"available":553} 
[2026-08-23 15:06:42] local.INFO: TCP Data received {"connection_id":161761,"ip":"42.109.136.1","data_length":242,"data_hex":"000000000001a02df881c0012d1b71c0072572a0002c00f72900060000000a00..."} 
[2026-08-23 15:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161761,"packet_length":242,"packet_hex":"000000000001a02df881c0012d1b71c0072572a0002c00f72900060000000a00..."} 
[2026-08-23 15:06:42] local.INFO: Processing buffer {"connection_id":161761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df96068012d1b62c0072535a8002900bf27..."} 
[2026-08-23 15:06:42] local.INFO: Packet analysis {"connection_id":161761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df9"} 
[2026-08-23 15:06:42] local.INFO: Extracted packet for processing {"connection_id":161761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df9"} 
[2026-08-23 15:06:42] local.INFO: GPS Element Parsed {"raw_longitude":756769472,"raw_latitude":119879080,"longitude_deg":75.6769472,"latitude_deg":11.987908,"altitude":41,"angle":191,"satellites":39,"speed":14,"hex_longitude":"2d1b62c0","hex_latitude":"072535a8","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594289408001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15578001001414656,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975602523479164928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787477713000,"timestamp_ms":1787477713000,"timestamp_seconds":1787477713,"priority":1,"record_length":96,"hex_timestamp":"000001a02df96068"} 
[2026-08-23 15:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-23 15:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594289408001,"66":14407,"216":206,"83":42752,"24":14,"16":15578001001414656,"45":1975602523479164928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-23 15:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594289408001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:06:42] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 15:06:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15578001001414656,"km_value":15578001001414.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975602523479164928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594289408001,"power":14407,"unknown_216":206,"unknown_83":42752,"ignition":14,"odometer":null,"unknown_45":1975602523479164928}} 
[2026-08-23 15:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":161761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:06:42] local.INFO: GPS data processed {"connection_id":161761,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:06:42] local.INFO: Acknowledgment sent {"connection_id":161761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:06:45] local.INFO: TCP Data received {"connection_id":161761,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df96838012d1b620007253308002900ca27..."} 
[2026-08-23 15:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df96838012d1b620007253308002900ca27..."} 
[2026-08-23 15:06:45] local.INFO: Processing buffer {"connection_id":161761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df96838012d1b620007253308002900ca27..."} 
[2026-08-23 15:06:45] local.INFO: Packet analysis {"connection_id":161761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df9"} 
[2026-08-23 15:06:45] local.INFO: Extracted packet for processing {"connection_id":161761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df9"} 
[2026-08-23 15:06:45] local.INFO: GPS Element Parsed {"raw_longitude":756769280,"raw_latitude":119878408,"longitude_deg":75.676928,"latitude_deg":11.9878408,"altitude":41,"angle":202,"satellites":39,"speed":14,"hex_longitude":"2d1b6200","hex_latitude":"07253308","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594294528001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15578035361153024,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973350723663276032,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787477715000,"timestamp_ms":1787477715000,"timestamp_seconds":1787477715,"priority":1,"record_length":96,"hex_timestamp":"000001a02df96838"} 
[2026-08-23 15:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:06:45] 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-08-23 15: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-23 15:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594294528001,"66":14363,"216":206,"83":42752,"24":14,"16":15578035361153024,"45":1973350723663276032},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-23 15:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594294528001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:06:45] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 15:06:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15578035361153024,"km_value":15578035361153.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973350723663276032,"description":"Unknown IO ID 45"} 
[2026-08-23 15:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594294528001,"power":14363,"unknown_216":206,"unknown_83":42752,"ignition":14,"odometer":null,"unknown_45":1973350723663276032}} 
[2026-08-23 15:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":161761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:06:45] local.INFO: GPS data processed {"connection_id":161761,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:06:45] local.INFO: Acknowledgment sent {"connection_id":161761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:06:46] local.INFO: TCP Data received {"connection_id":163165,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:06:46] local.INFO: Processing buffer {"connection_id":163165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:06:46] local.INFO: IMEI packet received {"connection_id":163165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":163165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:06:51] local.INFO: TCP Data received {"connection_id":163165,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:06:51] local.INFO: Processing buffer {"connection_id":163165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:06:51] local.INFO: IMEI packet received {"connection_id":163165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":163165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:06:53] local.INFO: TCP Data received {"connection_id":163165,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:06:53] local.INFO: Processing buffer {"connection_id":163165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:06:53] local.INFO: Packet analysis {"connection_id":163165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:06:53] local.INFO: Extracted packet for processing {"connection_id":163165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:06:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594210304001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787477685000,"timestamp_ms":1787477685000,"timestamp_seconds":1787477685,"priority":1,"record_length":96,"hex_timestamp":"000001a02df8f308"} 
[2026-08-23 15:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:06:54] 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-08-23 15: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-08-23 15:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594210304001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594210304001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:06:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:06:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594210304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":163165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:06:54] local.INFO: GPS data processed {"connection_id":163165,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:06:54] local.INFO: Acknowledgment sent {"connection_id":163165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:07:08] local.INFO: TCP Data received {"connection_id":160819,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfa4eb0012d7d0a0005d292100009005928..."} 
[2026-08-23 15:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfa4eb0012d7d0a0005d292100009005928..."} 
[2026-08-23 15:07:08] local.INFO: Processing buffer {"connection_id":160819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfa4eb0012d7d0a0005d292100009005928..."} 
[2026-08-23 15:07:08] local.INFO: Packet analysis {"connection_id":160819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfa"} 
[2026-08-23 15:07:08] local.INFO: Extracted packet for processing {"connection_id":160819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfa"} 
[2026-08-23 15:07:08] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":97686032,"longitude_deg":76.316928,"latitude_deg":9.7686032,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d7d0a00","hex_latitude":"05d29210","is_valid_coordinates":true} 
[2026-08-23 15:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594305024001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122644182706683904,"note":"Value kept but may cause issues"} 
[2026-08-23 15:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003610473795530752,"note":"Value kept but may cause issues"} 
[2026-08-23 15:07:08] 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-08-23 15:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787477774000,"timestamp_ms":1787477774000,"timestamp_seconds":1787477774,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfa4eb0"} 
[2026-08-23 15:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-23 15:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594305024001,"66":12526,"117":206,"85":15104,"24":0,"16":122644182706683904,"45":9003610473795530752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 15:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594305024001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:07:08] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 15:07:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122644182706683904,"km_value":122644182706683.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003610473795530752,"description":"Unknown IO ID 45"} 
[2026-08-23 15:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594305024001,"power":12526,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9003610473795530752}} 
[2026-08-23 15:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":160819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:07:08] local.INFO: GPS data processed {"connection_id":160819,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:07:08] local.INFO: Acknowledgment sent {"connection_id":160819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:07:25] local.INFO: TCP Data received {"connection_id":163165,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:07:25] local.INFO: Processing buffer {"connection_id":163165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:07:25] local.INFO: Packet analysis {"connection_id":163165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:07:25] local.INFO: Extracted packet for processing {"connection_id":163165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:07:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594210304001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787477685000,"timestamp_ms":1787477685000,"timestamp_seconds":1787477685,"priority":1,"record_length":96,"hex_timestamp":"000001a02df8f308"} 
[2026-08-23 15:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:07:25] 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-08-23 15:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594210304001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594210304001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:07:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:07:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594210304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":163165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:07:25] local.INFO: GPS data processed {"connection_id":163165,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:07:25] local.INFO: Acknowledgment sent {"connection_id":163165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:07:29] local.INFO: TCP Data received {"connection_id":161762,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:07:29] local.INFO: Processing buffer {"connection_id":161762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:07:29] local.INFO: IMEI packet received {"connection_id":161762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":161762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:07:30] local.INFO: TCP Data received {"connection_id":161762,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:07:30] local.INFO: Processing buffer {"connection_id":161762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:07:30] local.INFO: IMEI packet received {"connection_id":161762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":161762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:07:34] local.INFO: TCP Data received {"connection_id":161762,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:07:34] local.INFO: Processing buffer {"connection_id":161762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:07:34] local.INFO: IMEI packet received {"connection_id":161762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":161762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:07:34] local.INFO: TCP Data received {"connection_id":160572,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:07:34] local.INFO: Processing buffer {"connection_id":160572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:07:34] local.INFO: IMEI packet received {"connection_id":160572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":160572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:07:35] local.INFO: TCP Data received {"connection_id":161762,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df97008012d1b610007252fd8002900bc27..."} 
[2026-08-23 15:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df97008012d1b610007252fd8002900bc27..."} 
[2026-08-23 15:07:35] local.INFO: Processing buffer {"connection_id":161762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df97008012d1b610007252fd8002900bc27..."} 
[2026-08-23 15:07:35] local.INFO: Packet analysis {"connection_id":161762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df9"} 
[2026-08-23 15:07:35] local.INFO: Extracted packet for processing {"connection_id":161762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df9"} 
[2026-08-23 15:07:35] local.INFO: GPS Element Parsed {"raw_longitude":756769024,"raw_latitude":119877592,"longitude_deg":75.6769024,"latitude_deg":11.9877592,"altitude":41,"angle":188,"satellites":39,"speed":17,"hex_longitude":"2d1b6100","hex_latitude":"07252fd8","is_valid_coordinates":true} 
[2026-08-23 15:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594295040001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15578078310825984,"note":"Value kept but may cause issues"} 
[2026-08-23 15:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973139617430571008,"note":"Value kept but may cause issues"} 
[2026-08-23 15:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787477717000,"timestamp_ms":1787477717000,"timestamp_seconds":1787477717,"priority":1,"record_length":96,"hex_timestamp":"000001a02df97008"} 
[2026-08-23 15:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-23 15:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594295040001,"66":14396,"216":206,"83":42752,"24":17,"16":15578078310825984,"45":1973139617430571008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-23 15:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594295040001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:07:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 15:07:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15578078310825984,"km_value":15578078310825.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973139617430571008,"description":"Unknown IO ID 45"} 
[2026-08-23 15:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594295040001,"power":14396,"unknown_216":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1973139617430571008}} 
[2026-08-23 15:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":161762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:07:35] local.INFO: GPS data processed {"connection_id":161762,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:07:35] local.INFO: Acknowledgment sent {"connection_id":161762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:07:41] local.INFO: TCP Data received {"connection_id":160572,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:07:41] local.INFO: Processing buffer {"connection_id":160572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:07:41] local.INFO: IMEI packet received {"connection_id":160572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":160572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:07:41] local.INFO: TCP Data received {"connection_id":160572,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfaa0b8012d7d0a0005d292100009005928..."} 
[2026-08-23 15:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfaa0b8012d7d0a0005d292100009005928..."} 
[2026-08-23 15:07:41] local.INFO: Processing buffer {"connection_id":160572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfaa0b8012d7d0a0005d292100009005928..."} 
[2026-08-23 15:07:41] local.INFO: Packet analysis {"connection_id":160572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfa"} 
[2026-08-23 15:07:41] local.INFO: Extracted packet for processing {"connection_id":160572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfa"} 
[2026-08-23 15:07:41] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":97686032,"longitude_deg":76.316928,"latitude_deg":9.7686032,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d7d0a00","hex_latitude":"05d29210","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594310144001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122644182706683904,"note":"Value kept but may cause issues"} 
[2026-08-23 15:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010014029515722752,"note":"Value kept but may cause issues"} 
[2026-08-23 15:07: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-08-23 15:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787477795000,"timestamp_ms":1787477795000,"timestamp_seconds":1787477795,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfaa0b8"} 
[2026-08-23 15:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594310144001,"66":12722,"117":206,"85":15104,"24":0,"16":122644182706683904,"45":9010014029515722752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 15:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594310144001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:07:41] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 15:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122644182706683904,"km_value":122644182706683.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010014029515722752,"description":"Unknown IO ID 45"} 
[2026-08-23 15:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594310144001,"power":12722,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9010014029515722752}} 
[2026-08-23 15:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":160572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:07:41] local.INFO: GPS data processed {"connection_id":160572,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:07:41] local.INFO: Acknowledgment sent {"connection_id":160572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:07:46] local.INFO: TCP Data received {"connection_id":161763,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:07:46] local.INFO: Processing buffer {"connection_id":161763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:07:46] local.INFO: IMEI packet received {"connection_id":161763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":161763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:07:50] local.INFO: TCP Data received {"connection_id":161763,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:07:50] local.INFO: Processing buffer {"connection_id":161763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:07:50] local.INFO: IMEI packet received {"connection_id":161763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":161763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:07:52] local.INFO: TCP Data received {"connection_id":161763,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:07:52] local.INFO: Processing buffer {"connection_id":161763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:07:52] local.INFO: Packet analysis {"connection_id":161763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:07:52] local.INFO: Extracted packet for processing {"connection_id":161763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594210304001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787477685000,"timestamp_ms":1787477685000,"timestamp_seconds":1787477685,"priority":1,"record_length":96,"hex_timestamp":"000001a02df8f308"} 
[2026-08-23 15:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:07:52] 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-08-23 15:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594210304001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594210304001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:07:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594210304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":161763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:07:52] local.INFO: GPS data processed {"connection_id":161763,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:07:52] local.INFO: Acknowledgment sent {"connection_id":161763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:08:08] local.INFO: TCP Data received {"connection_id":161762,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02df9c210012d1b5fc0072529f0002a00c028..."} 
[2026-08-23 15:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df9c210012d1b5fc0072529f0002a00c028..."} 
[2026-08-23 15:08:08] local.INFO: Processing buffer {"connection_id":161762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df9c210012d1b5fc0072529f0002a00c028..."} 
[2026-08-23 15:08:08] local.INFO: Packet analysis {"connection_id":161762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df9"} 
[2026-08-23 15:08:08] local.INFO: Extracted packet for processing {"connection_id":161762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df9"} 
[2026-08-23 15:08:08] local.INFO: GPS Element Parsed {"raw_longitude":756768704,"raw_latitude":119876080,"longitude_deg":75.6768704,"latitude_deg":11.987608,"altitude":42,"angle":192,"satellites":40,"speed":9,"hex_longitude":"2d1b5fc0","hex_latitude":"072529f0","is_valid_coordinates":true} 
[2026-08-23 15:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594295552001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15578155620237312,"note":"Value kept but may cause issues"} 
[2026-08-23 15:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972858142453651456,"note":"Value kept but may cause issues"} 
[2026-08-23 15:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787477738000,"timestamp_ms":1787477738000,"timestamp_seconds":1787477738,"priority":1,"record_length":96,"hex_timestamp":"000001a02df9c210"} 
[2026-08-23 15:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-23 15:08:08] 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-08-23 15:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594295552001,"66":14363,"216":206,"83":42752,"24":9,"16":15578155620237312,"45":1972858142453651456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-23 15:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594295552001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:08:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 15:08:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15578155620237312,"km_value":15578155620237.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972858142453651456,"description":"Unknown IO ID 45"} 
[2026-08-23 15:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594295552001,"power":14363,"unknown_216":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1972858142453651456}} 
[2026-08-23 15:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":161762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:08:08] local.INFO: GPS data processed {"connection_id":161762,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:08:08] local.INFO: Acknowledgment sent {"connection_id":161762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:08:12] local.INFO: TCP Data received {"connection_id":160572,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfaf2c0012d7d0a0005d292100009005928..."} 
[2026-08-23 15:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfaf2c0012d7d0a0005d292100009005928..."} 
[2026-08-23 15:08:12] local.INFO: Processing buffer {"connection_id":160572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfaf2c0012d7d0a0005d292100009005928..."} 
[2026-08-23 15:08:12] local.INFO: Packet analysis {"connection_id":160572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfa"} 
[2026-08-23 15:08:12] local.INFO: Extracted packet for processing {"connection_id":160572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfa"} 
[2026-08-23 15:08:12] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":97686032,"longitude_deg":76.316928,"latitude_deg":9.7686032,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d7d0a00","hex_latitude":"05d29210","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594315520001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122644182706683904,"note":"Value kept but may cause issues"} 
[2026-08-23 15:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010014029515722752,"note":"Value kept but may cause issues"} 
[2026-08-23 15:08:12] 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-08-23 15:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787477816000,"timestamp_ms":1787477816000,"timestamp_seconds":1787477816,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfaf2c0"} 
[2026-08-23 15:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:08:12] 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-08-23 15: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 15:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594315520001,"66":12493,"117":206,"85":15104,"24":0,"16":122644182706683904,"45":9010014029515722752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 15:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594315520001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:08:12] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 15:08:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122644182706683904,"km_value":122644182706683.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010014029515722752,"description":"Unknown IO ID 45"} 
[2026-08-23 15:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594315520001,"power":12493,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9010014029515722752}} 
[2026-08-23 15:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":160572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:08:12] local.INFO: GPS data processed {"connection_id":160572,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:08:12] local.INFO: Acknowledgment sent {"connection_id":160572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:08:23] local.INFO: TCP Data received {"connection_id":161763,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:08:23] local.INFO: Processing buffer {"connection_id":161763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:08:23] local.INFO: Packet analysis {"connection_id":161763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:08:23] local.INFO: Extracted packet for processing {"connection_id":161763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:08:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594210304001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787477685000,"timestamp_ms":1787477685000,"timestamp_seconds":1787477685,"priority":1,"record_length":96,"hex_timestamp":"000001a02df8f308"} 
[2026-08-23 15:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:08:23] 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-08-23 15:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594210304001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594210304001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:08:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:08:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594210304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":161763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:08:23] local.INFO: GPS data processed {"connection_id":161763,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:08:23] local.INFO: Acknowledgment sent {"connection_id":161763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:08:29] local.INFO: TCP Data received {"connection_id":160820,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:08:29] local.INFO: Processing buffer {"connection_id":160820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:08:29] local.INFO: IMEI packet received {"connection_id":160820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":160820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:08:34] local.INFO: TCP Data received {"connection_id":160820,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:08:34] local.INFO: Processing buffer {"connection_id":160820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:08:34] local.INFO: IMEI packet received {"connection_id":160820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":160820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:08:35] local.INFO: TCP Data received {"connection_id":161764,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:08:35] local.INFO: Processing buffer {"connection_id":161764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:08:35] local.INFO: IMEI packet received {"connection_id":161764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":161764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:08:36] local.INFO: TCP Data received {"connection_id":160820,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfa0860012d1b5840072505b0002c00bb27..."} 
[2026-08-23 15:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfa0860012d1b5840072505b0002c00bb27..."} 
[2026-08-23 15:08:36] local.INFO: Processing buffer {"connection_id":160820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfa0860012d1b5840072505b0002c00bb27..."} 
[2026-08-23 15:08:36] local.INFO: Packet analysis {"connection_id":160820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfa"} 
[2026-08-23 15:08:36] local.INFO: Extracted packet for processing {"connection_id":160820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfa"} 
[2026-08-23 15:08:36] local.INFO: GPS Element Parsed {"raw_longitude":756766784,"raw_latitude":119866800,"longitude_deg":75.6766784,"latitude_deg":11.98668,"altitude":44,"angle":187,"satellites":39,"speed":26,"hex_longitude":"2d1b5840","hex_latitude":"072505b0","is_valid_coordinates":true} 
[2026-08-23 15:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594300928001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15578619476705280,"note":"Value kept but may cause issues"} 
[2026-08-23 15:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972506298732376064,"note":"Value kept but may cause issues"} 
[2026-08-23 15:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787477756000,"timestamp_ms":1787477756000,"timestamp_seconds":1787477756,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfa0860"} 
[2026-08-23 15:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-23 15:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594300928001,"66":13993,"216":206,"83":42752,"24":26,"16":15578619476705280,"45":1972506298732376064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-23 15:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594300928001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:08:36] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 15:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15578619476705280,"km_value":15578619476705.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972506298732376064,"description":"Unknown IO ID 45"} 
[2026-08-23 15:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594300928001,"power":13993,"unknown_216":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":1972506298732376064}} 
[2026-08-23 15:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":160820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:08:36] local.INFO: GPS data processed {"connection_id":160820,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:08:36] local.INFO: Acknowledgment sent {"connection_id":160820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:08:39] local.INFO: TCP Data received {"connection_id":161764,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:08:39] local.INFO: Processing buffer {"connection_id":161764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:08:39] local.INFO: IMEI packet received {"connection_id":161764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":161764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:08:41] local.INFO: TCP Data received {"connection_id":161764,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfb44c8012d7d0a0005d292100009005928..."} 
[2026-08-23 15:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfb44c8012d7d0a0005d292100009005928..."} 
[2026-08-23 15:08:41] local.INFO: Processing buffer {"connection_id":161764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfb44c8012d7d0a0005d292100009005928..."} 
[2026-08-23 15:08:41] local.INFO: Packet analysis {"connection_id":161764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfb"} 
[2026-08-23 15:08:41] local.INFO: Extracted packet for processing {"connection_id":161764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfb"} 
[2026-08-23 15:08:41] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":97686032,"longitude_deg":76.316928,"latitude_deg":9.7686032,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d7d0a00","hex_latitude":"05d29210","is_valid_coordinates":true} 
[2026-08-23 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":795,"current_offset":40} 
[2026-08-23 15:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594320896001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122644182706683904,"note":"Value kept but may cause issues"} 
[2026-08-23 15:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010014029515722752,"note":"Value kept but may cause issues"} 
[2026-08-23 15:08: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-08-23 15:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787477837000,"timestamp_ms":1787477837000,"timestamp_seconds":1787477837,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfb44c8"} 
[2026-08-23 15:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:08:41] 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-08-23 15: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-08-23 15:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594320896001,"66":12982,"117":206,"85":15104,"24":0,"16":122644182706683904,"45":9010014029515722752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 15:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594320896001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:08:41] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 15:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122644182706683904,"km_value":122644182706683.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010014029515722752,"description":"Unknown IO ID 45"} 
[2026-08-23 15:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594320896001,"power":12982,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9010014029515722752}} 
[2026-08-23 15:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":161764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:08:41] local.INFO: GPS data processed {"connection_id":161764,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:08:41] local.INFO: Acknowledgment sent {"connection_id":161764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:08:45] local.INFO: TCP Data received {"connection_id":160573,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:08:45] local.INFO: Processing buffer {"connection_id":160573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:08:45] local.INFO: IMEI packet received {"connection_id":160573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":160573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:08:51] local.INFO: TCP Data received {"connection_id":160573,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:08:51] local.INFO: Processing buffer {"connection_id":160573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:08:51] local.INFO: IMEI packet received {"connection_id":160573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":160573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:08:53] local.INFO: TCP Data received {"connection_id":160573,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:08:53] local.INFO: Processing buffer {"connection_id":160573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:08:53] local.INFO: Packet analysis {"connection_id":160573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:08:53] local.INFO: Extracted packet for processing {"connection_id":160573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:08:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594210304001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787477685000,"timestamp_ms":1787477685000,"timestamp_seconds":1787477685,"priority":1,"record_length":96,"hex_timestamp":"000001a02df8f308"} 
[2026-08-23 15:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:08:53] 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-08-23 15:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594210304001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594210304001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:08:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:08:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594210304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":160573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:08:53] local.INFO: GPS data processed {"connection_id":160573,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:08:53] local.INFO: Acknowledgment sent {"connection_id":160573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:09:07] local.INFO: TCP Data received {"connection_id":160820,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfa1be8012d1b58c00724fa40002e00b026..."} 
[2026-08-23 15:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfa1be8012d1b58c00724fa40002e00b026..."} 
[2026-08-23 15:09:07] local.INFO: Processing buffer {"connection_id":160820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfa1be8012d1b58c00724fa40002e00b026..."} 
[2026-08-23 15:09:07] local.INFO: Packet analysis {"connection_id":160820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfa"} 
[2026-08-23 15:09:07] local.INFO: Extracted packet for processing {"connection_id":160820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfa"} 
[2026-08-23 15:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756766912,"raw_latitude":119863872,"longitude_deg":75.6766912,"latitude_deg":11.9863872,"altitude":46,"angle":176,"satellites":38,"speed":15,"hex_longitude":"2d1b58c0","hex_latitude":"0724fa40","is_valid_coordinates":true} 
[2026-08-23 15:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594305536001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15578761210626048,"note":"Value kept but may cause issues"} 
[2026-08-23 15:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970395236404670464,"note":"Value kept but may cause issues"} 
[2026-08-23 15:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787477761000,"timestamp_ms":1787477761000,"timestamp_seconds":1787477761,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfa1be8"} 
[2026-08-23 15:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-23 15:09:07] 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-08-23 15:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594305536001,"66":14157,"216":206,"83":42752,"24":15,"16":15578761210626048,"45":1970395236404670464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-23 15:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594305536001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:09:07] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 15:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15578761210626048,"km_value":15578761210626.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970395236404670464,"description":"Unknown IO ID 45"} 
[2026-08-23 15:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594305536001,"power":14157,"unknown_216":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1970395236404670464}} 
[2026-08-23 15:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":160820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:09:08] local.INFO: GPS data processed {"connection_id":160820,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:09:08] local.INFO: Acknowledgment sent {"connection_id":160820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:09:12] local.INFO: TCP Data received {"connection_id":161764,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfb96d0012d7d0a0005d292100009005928..."} 
[2026-08-23 15:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfb96d0012d7d0a0005d292100009005928..."} 
[2026-08-23 15:09:12] local.INFO: Processing buffer {"connection_id":161764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfb96d0012d7d0a0005d292100009005928..."} 
[2026-08-23 15:09:12] local.INFO: Packet analysis {"connection_id":161764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfb"} 
[2026-08-23 15:09:12] local.INFO: Extracted packet for processing {"connection_id":161764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfb"} 
[2026-08-23 15:09:12] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":97686032,"longitude_deg":76.316928,"latitude_deg":9.7686032,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d7d0a00","hex_latitude":"05d29210","is_valid_coordinates":true} 
[2026-08-23 15:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594326272001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122644182706683904,"note":"Value kept but may cause issues"} 
[2026-08-23 15:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010014029515722752,"note":"Value kept but may cause issues"} 
[2026-08-23 15:09:12] 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-08-23 15:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787477858000,"timestamp_ms":1787477858000,"timestamp_seconds":1787477858,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfb96d0"} 
[2026-08-23 15:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 15:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594326272001,"66":12917,"117":206,"85":15104,"24":0,"16":122644182706683904,"45":9010014029515722752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 15:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594326272001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:09:12] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 15:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122644182706683904,"km_value":122644182706683.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010014029515722752,"description":"Unknown IO ID 45"} 
[2026-08-23 15:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594326272001,"power":12917,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9010014029515722752}} 
[2026-08-23 15:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":161764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:09:12] local.INFO: GPS data processed {"connection_id":161764,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:09:12] local.INFO: Acknowledgment sent {"connection_id":161764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:09:24] local.INFO: TCP Data received {"connection_id":160573,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:09:24] local.INFO: Processing buffer {"connection_id":160573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:09:24] local.INFO: Packet analysis {"connection_id":160573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:09:24] local.INFO: Extracted packet for processing {"connection_id":160573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:09:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594210304001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787477685000,"timestamp_ms":1787477685000,"timestamp_seconds":1787477685,"priority":1,"record_length":96,"hex_timestamp":"000001a02df8f308"} 
[2026-08-23 15:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:09:24] 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-08-23 15: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-08-23 15:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:09:24] 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-08-23 15:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594210304001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594210304001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:09:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:09:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594210304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":160573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:09:24] local.INFO: GPS data processed {"connection_id":160573,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:09:24] local.INFO: Acknowledgment sent {"connection_id":160573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:09:29] local.INFO: TCP Data received {"connection_id":163166,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:09:29] local.INFO: Processing buffer {"connection_id":163166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:09:29] local.INFO: IMEI packet received {"connection_id":163166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":163166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:09:34] local.INFO: TCP Data received {"connection_id":160821,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:09:34] local.INFO: Processing buffer {"connection_id":160821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:09:34] local.INFO: IMEI packet received {"connection_id":160821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":160821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:09:34] local.INFO: TCP Data received {"connection_id":163166,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:09:34] local.INFO: Processing buffer {"connection_id":163166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:09:34] local.INFO: IMEI packet received {"connection_id":163166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":163166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:09:35] local.INFO: TCP Data received {"connection_id":163166,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfa5680012d1b5b000724d698002f00ba28..."} 
[2026-08-23 15:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfa5680012d1b5b000724d698002f00ba28..."} 
[2026-08-23 15:09:35] local.INFO: Processing buffer {"connection_id":163166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfa5680012d1b5b000724d698002f00ba28..."} 
[2026-08-23 15:09:35] local.INFO: Packet analysis {"connection_id":163166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfa"} 
[2026-08-23 15:09:35] local.INFO: Extracted packet for processing {"connection_id":163166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfa"} 
[2026-08-23 15:09:35] local.INFO: GPS Element Parsed {"raw_longitude":756767488,"raw_latitude":119854744,"longitude_deg":75.6767488,"latitude_deg":11.9854744,"altitude":47,"angle":186,"satellites":40,"speed":26,"hex_longitude":"2d1b5b00","hex_latitude":"0724d698","is_valid_coordinates":true} 
[2026-08-23 15:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594306816001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15579207887224832,"note":"Value kept but may cause issues"} 
[2026-08-23 15:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970535973892276224,"note":"Value kept but may cause issues"} 
[2026-08-23 15:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787477776000,"timestamp_ms":1787477776000,"timestamp_seconds":1787477776,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfa5680"} 
[2026-08-23 15:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 15:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594306816001,"66":14515,"136":206,"83":42752,"24":26,"16":15579207887224832,"45":1970535973892276224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-23 15:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594306816001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:09:35] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-23 15:09:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15579207887224832,"km_value":15579207887224.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970535973892276224,"description":"Unknown IO ID 45"} 
[2026-08-23 15:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594306816001,"power":14515,"unknown_136":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":1970535973892276224}} 
[2026-08-23 15:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":163166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:09:35] local.INFO: GPS data processed {"connection_id":163166,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:09:35] local.INFO: Acknowledgment sent {"connection_id":163166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:09:39] local.INFO: TCP Data received {"connection_id":160821,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:09:39] local.INFO: Processing buffer {"connection_id":160821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:09:39] local.INFO: IMEI packet received {"connection_id":160821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":160821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:09:40] local.INFO: TCP Data received {"connection_id":160821,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfbe8d8012d7d0a0005d292100009005928..."} 
[2026-08-23 15:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfbe8d8012d7d0a0005d292100009005928..."} 
[2026-08-23 15:09:40] local.INFO: Processing buffer {"connection_id":160821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfbe8d8012d7d0a0005d292100009005928..."} 
[2026-08-23 15:09:40] local.INFO: Packet analysis {"connection_id":160821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfb"} 
[2026-08-23 15:09:40] local.INFO: Extracted packet for processing {"connection_id":160821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfb"} 
[2026-08-23 15:09:40] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":97686032,"longitude_deg":76.316928,"latitude_deg":9.7686032,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d7d0a00","hex_latitude":"05d29210","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594331648001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122644182706683904,"note":"Value kept but may cause issues"} 
[2026-08-23 15:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010014029515722752,"note":"Value kept but may cause issues"} 
[2026-08-23 15:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787477879000,"timestamp_ms":1787477879000,"timestamp_seconds":1787477879,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfbe8d8"} 
[2026-08-23 15:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 15:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594331648001,"66":12906,"117":206,"85":15104,"24":0,"16":122644182706683904,"45":9010014029515722752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 15:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594331648001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:09:40] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 15:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122644182706683904,"km_value":122644182706683.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010014029515722752,"description":"Unknown IO ID 45"} 
[2026-08-23 15:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594331648001,"power":12906,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9010014029515722752}} 
[2026-08-23 15:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":160821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:09:40] local.INFO: GPS data processed {"connection_id":160821,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:09:40] local.INFO: Acknowledgment sent {"connection_id":160821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:09:51] local.INFO: TCP Data received {"connection_id":161765,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:09:51] local.INFO: Processing buffer {"connection_id":161765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:09:51] local.INFO: IMEI packet received {"connection_id":161765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":161765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:09:56] local.INFO: TCP Data received {"connection_id":161765,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:09:56] local.INFO: Processing buffer {"connection_id":161765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:09:56] local.INFO: IMEI packet received {"connection_id":161765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":161765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:09:57] local.INFO: TCP Data received {"connection_id":161765,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:09:57] local.INFO: Processing buffer {"connection_id":161765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:09:57] local.INFO: Packet analysis {"connection_id":161765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:09:57] local.INFO: Extracted packet for processing {"connection_id":161765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:09:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594210304001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787477685000,"timestamp_ms":1787477685000,"timestamp_seconds":1787477685,"priority":1,"record_length":96,"hex_timestamp":"000001a02df8f308"} 
[2026-08-23 15:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594210304001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594210304001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:09:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:09:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594210304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":161765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:09:57] local.INFO: GPS data processed {"connection_id":161765,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:09:57] local.INFO: Acknowledgment sent {"connection_id":161765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:10:01] local.INFO: TCP Data received {"connection_id":161765,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:10:01] local.INFO: Processing buffer {"connection_id":161765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02df8f308012d34c50006aa4098000600851f..."} 
[2026-08-23 15:10:01] local.INFO: Packet analysis {"connection_id":161765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:10:01] local.INFO: Extracted packet for processing {"connection_id":161765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02df8"} 
[2026-08-23 15:10:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594210304001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787477685000,"timestamp_ms":1787477685000,"timestamp_seconds":1787477685,"priority":1,"record_length":96,"hex_timestamp":"000001a02df8f308"} 
[2026-08-23 15:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594210304001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594210304001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:10:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:10:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594210304001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":161765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:10:01] local.INFO: GPS data processed {"connection_id":161765,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:10:01] local.INFO: Acknowledgment sent {"connection_id":161765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:10:07] local.INFO: TCP Data received {"connection_id":163166,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfd09e8012d1ade8007244508002d00d826..."} 
[2026-08-23 15:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfd09e8012d1ade8007244508002d00d826..."} 
[2026-08-23 15:10:07] local.INFO: Processing buffer {"connection_id":163166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfd09e8012d1ade8007244508002d00d826..."} 
[2026-08-23 15:10:07] local.INFO: Packet analysis {"connection_id":163166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:10:07] local.INFO: Extracted packet for processing {"connection_id":163166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756735616,"raw_latitude":119817480,"longitude_deg":75.6735616,"latitude_deg":11.981748,"altitude":45,"angle":216,"satellites":38,"speed":26,"hex_longitude":"2d1ade80","hex_latitude":"07244508","is_valid_coordinates":true} 
[2026-08-23 15:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594352384001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15581651723616256,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1941684788769609728,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787477953000,"timestamp_ms":1787477953000,"timestamp_seconds":1787477953,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfd09e8"} 
[2026-08-23 15:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-23 15:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594352384001,"66":14080,"176":206,"83":42752,"24":26,"16":15581651723616256,"45":1941684788769609728},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-23 15:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594352384001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:10:07] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-23 15:10:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15581651723616256,"km_value":15581651723616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1941684788769609728,"description":"Unknown IO ID 45"} 
[2026-08-23 15:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594352384001,"power":14080,"unknown_176":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":1941684788769609728}} 
[2026-08-23 15:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":163166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:10:07] local.INFO: GPS data processed {"connection_id":163166,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:10:07] local.INFO: Acknowledgment sent {"connection_id":163166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:10:11] local.INFO: TCP Data received {"connection_id":160821,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfc3ae0012d7d0a0005d292100009005928..."} 
[2026-08-23 15:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfc3ae0012d7d0a0005d292100009005928..."} 
[2026-08-23 15:10:11] local.INFO: Processing buffer {"connection_id":160821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfc3ae0012d7d0a0005d292100009005928..."} 
[2026-08-23 15:10:11] local.INFO: Packet analysis {"connection_id":160821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfc"} 
[2026-08-23 15:10:11] local.INFO: Extracted packet for processing {"connection_id":160821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfc"} 
[2026-08-23 15:10:11] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":97686032,"longitude_deg":76.316928,"latitude_deg":9.7686032,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d7d0a00","hex_latitude":"05d29210","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594337024001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122644182706683904,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010014029515722752,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:11] 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-08-23 15:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787477900000,"timestamp_ms":1787477900000,"timestamp_seconds":1787477900,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfc3ae0"} 
[2026-08-23 15:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-23 15:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594337024001,"66":12917,"117":206,"85":15104,"24":0,"16":122644182706683904,"45":9010014029515722752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 15:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594337024001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:10:11] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 15:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122644182706683904,"km_value":122644182706683.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010014029515722752,"description":"Unknown IO ID 45"} 
[2026-08-23 15:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594337024001,"power":12917,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9010014029515722752}} 
[2026-08-23 15:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":160821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:10:11] local.INFO: GPS data processed {"connection_id":160821,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:10:11] local.INFO: Acknowledgment sent {"connection_id":160821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:10:29] local.INFO: TCP Data received {"connection_id":163167,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:10:29] local.INFO: Processing buffer {"connection_id":163167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:10:29] local.INFO: IMEI packet received {"connection_id":163167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":163167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:10:34] local.INFO: TCP Data received {"connection_id":163167,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:10:34] local.INFO: Processing buffer {"connection_id":163167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:10:34] local.INFO: IMEI packet received {"connection_id":163167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":163167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:10:35] local.INFO: TCP Data received {"connection_id":163167,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfd1d70012d1ad64007243bf0002f00e326..."} 
[2026-08-23 15:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfd1d70012d1ad64007243bf0002f00e326..."} 
[2026-08-23 15:10:35] local.INFO: Processing buffer {"connection_id":163167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfd1d70012d1ad64007243bf0002f00e326..."} 
[2026-08-23 15:10:35] local.INFO: Packet analysis {"connection_id":163167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:10:35] local.INFO: Extracted packet for processing {"connection_id":163167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:10:35] local.INFO: GPS Element Parsed {"raw_longitude":756733504,"raw_latitude":119815152,"longitude_deg":75.6733504,"latitude_deg":11.9815152,"altitude":47,"angle":227,"satellites":38,"speed":22,"hex_longitude":"2d1ad640","hex_latitude":"07243bf0","is_valid_coordinates":true} 
[2026-08-23 15:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594355968001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15581802047471616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936125657977522176,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787477958000,"timestamp_ms":1787477958000,"timestamp_seconds":1787477958,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfd1d70"} 
[2026-08-23 15:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-23 15:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3445327872,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:35] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2524971049,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535639758,"corrected_to":0} 
[2026-08-23 15:10:35] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2650852699,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:35] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,176,83,24,241,157,16,91,160,211,45,64,100,41,40,10,66,133,127,39,90,51,128,1,240,125,227,36,4,113,205,143,62,239,56,136,2,55,7,12],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1535639758,"validated":0}]} 
[2026-08-23 15:10:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242829389428817920,"timestamp_seconds":3242829389428818.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 15:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594355968001,"66":14004,"176":206,"83":42752,"24":22,"16":15581802047471616,"45":1936125657977522176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-23 15:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594355968001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:10:35] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-23 15:10:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15581802047471616,"km_value":15581802047471.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936125657977522176,"description":"Unknown IO ID 45"} 
[2026-08-23 15:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594355968001,"power":14004,"unknown_176":206,"unknown_83":42752,"ignition":22,"odometer":null,"unknown_45":1936125657977522176}} 
[2026-08-23 15:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":163167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:10:35] local.INFO: GPS data processed {"connection_id":163167,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:10:35] local.INFO: Acknowledgment sent {"connection_id":163167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:10:39] local.INFO: TCP Data received {"connection_id":163168,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163168,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:10:39] local.INFO: Processing buffer {"connection_id":163168,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:10:39] local.INFO: IMEI packet received {"connection_id":163168,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":163168,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:10:44] local.INFO: TCP Data received {"connection_id":163168,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163168,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:10:44] local.INFO: Processing buffer {"connection_id":163168,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:10:44] local.INFO: IMEI packet received {"connection_id":163168,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":163168,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:10:45] local.INFO: TCP Data received {"connection_id":163168,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfc8ce8012d7d0a0005d292100009005928..."} 
[2026-08-23 15:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfc8ce8012d7d0a0005d292100009005928..."} 
[2026-08-23 15:10:45] local.INFO: Processing buffer {"connection_id":163168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfc8ce8012d7d0a0005d292100009005928..."} 
[2026-08-23 15:10:45] local.INFO: Packet analysis {"connection_id":163168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfc"} 
[2026-08-23 15:10:45] local.INFO: Extracted packet for processing {"connection_id":163168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfc"} 
[2026-08-23 15:10:45] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":97686032,"longitude_deg":76.316928,"latitude_deg":9.7686032,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d7d0a00","hex_latitude":"05d29210","is_valid_coordinates":true} 
[2026-08-23 15:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594342400001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122644182706683904,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010014029515722752,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:45] 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-08-23 15:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787477921000,"timestamp_ms":1787477921000,"timestamp_seconds":1787477921,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfc8ce8"} 
[2026-08-23 15:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 15:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594342400001,"66":12982,"117":206,"85":15104,"24":0,"16":122644182706683904,"45":9010014029515722752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 15:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594342400001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:10:45] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 15:10:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122644182706683904,"km_value":122644182706683.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010014029515722752,"description":"Unknown IO ID 45"} 
[2026-08-23 15:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594342400001,"power":12982,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9010014029515722752}} 
[2026-08-23 15:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":163168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:10:45] local.INFO: GPS data processed {"connection_id":163168,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:10:45] local.INFO: Acknowledgment sent {"connection_id":163168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:10:46] local.INFO: TCP Data received {"connection_id":163169,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:10:46] local.INFO: Processing buffer {"connection_id":163169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:10:46] local.INFO: IMEI packet received {"connection_id":163169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":163169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:10:48] local.INFO: TCP Data received {"connection_id":163168,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfcdef0012d7d0a0005d292100009005928..."} 
[2026-08-23 15:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfcdef0012d7d0a0005d292100009005928..."} 
[2026-08-23 15:10:48] local.INFO: Processing buffer {"connection_id":163168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfcdef0012d7d0a0005d292100009005928..."} 
[2026-08-23 15:10:48] local.INFO: Packet analysis {"connection_id":163168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfc"} 
[2026-08-23 15:10:48] local.INFO: Extracted packet for processing {"connection_id":163168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfc"} 
[2026-08-23 15:10:48] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":97686032,"longitude_deg":76.316928,"latitude_deg":9.7686032,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d7d0a00","hex_latitude":"05d29210","is_valid_coordinates":true} 
[2026-08-23 15:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594347776001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122644182706683904,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010014029515722752,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:48] 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-08-23 15:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787477942000,"timestamp_ms":1787477942000,"timestamp_seconds":1787477942,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfcdef0"} 
[2026-08-23 15:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 15:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594347776001,"66":13015,"117":206,"85":15104,"24":0,"16":122644182706683904,"45":9010014029515722752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 15:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594347776001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:10:48] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 15:10:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122644182706683904,"km_value":122644182706683.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010014029515722752,"description":"Unknown IO ID 45"} 
[2026-08-23 15:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594347776001,"power":13015,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9010014029515722752}} 
[2026-08-23 15:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":163168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:10:48] local.INFO: GPS data processed {"connection_id":163168,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:10:48] local.INFO: Acknowledgment sent {"connection_id":163168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:10:51] local.INFO: TCP Data received {"connection_id":163169,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:10:51] local.INFO: Processing buffer {"connection_id":163169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:10:51] local.INFO: IMEI packet received {"connection_id":163169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":163169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:10:52] local.INFO: TCP Data received {"connection_id":163169,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:10:52] local.INFO: Processing buffer {"connection_id":163169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:10:52] local.INFO: Packet analysis {"connection_id":163169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:10:52] local.INFO: Extracted packet for processing {"connection_id":163169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:10:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594287360001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787477986000,"timestamp_ms":1787477986000,"timestamp_seconds":1787477986,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfd8ad0"} 
[2026-08-23 15:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:10:52] 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-08-23 15:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:10: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-08-23 15:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594287360001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594287360001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:10:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:10:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594287360001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":163169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:10:52] local.INFO: GPS data processed {"connection_id":163169,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:10:52] local.INFO: Acknowledgment sent {"connection_id":163169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:11:06] local.INFO: TCP Data received {"connection_id":163167,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfd2d10012d1ad080072437f8002e00f227..."} 
[2026-08-23 15:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfd2d10012d1ad080072437f8002e00f227..."} 
[2026-08-23 15:11:06] local.INFO: Processing buffer {"connection_id":163167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfd2d10012d1ad080072437f8002e00f227..."} 
[2026-08-23 15:11:06] local.INFO: Packet analysis {"connection_id":163167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:11:06] local.INFO: Extracted packet for processing {"connection_id":163167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756732032,"raw_latitude":119814136,"longitude_deg":75.6732032,"latitude_deg":11.9814136,"altitude":46,"angle":242,"satellites":39,"speed":14,"hex_longitude":"2d1ad080","hex_latitude":"072437f8","is_valid_coordinates":true} 
[2026-08-23 15:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594357248001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15581887946817536,"note":"Value kept but may cause issues"} 
[2026-08-23 15:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1933803489419063296,"note":"Value kept but may cause issues"} 
[2026-08-23 15:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787477962000,"timestamp_ms":1787477962000,"timestamp_seconds":1787477962,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfd2d10"} 
[2026-08-23 15:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-23 15:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594357248001,"66":13439,"176":206,"83":42752,"24":14,"16":15581887946817536,"45":1933803489419063296},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-23 15:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594357248001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:11:06] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-23 15:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15581887946817536,"km_value":15581887946817.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1933803489419063296,"description":"Unknown IO ID 45"} 
[2026-08-23 15:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594357248001,"power":13439,"unknown_176":206,"unknown_83":42752,"ignition":14,"odometer":null,"unknown_45":1933803489419063296}} 
[2026-08-23 15:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":163167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:11:07] local.INFO: GPS data processed {"connection_id":163167,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:11:07] local.INFO: Acknowledgment sent {"connection_id":163167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:11:20] local.INFO: TCP Data received {"connection_id":163168,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfd30f8012d7d0a0005d292100009005926..."} 
[2026-08-23 15:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfd30f8012d7d0a0005d292100009005926..."} 
[2026-08-23 15:11:20] local.INFO: Processing buffer {"connection_id":163168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfd30f8012d7d0a0005d292100009005926..."} 
[2026-08-23 15:11:20] local.INFO: Packet analysis {"connection_id":163168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:11:20] local.INFO: Extracted packet for processing {"connection_id":163168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:11:20] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":97686032,"longitude_deg":76.316928,"latitude_deg":9.7686032,"altitude":9,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d7d0a00","hex_latitude":"05d29210","is_valid_coordinates":true} 
[2026-08-23 15:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594353152001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122644182706683904,"note":"Value kept but may cause issues"} 
[2026-08-23 15:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010014029515722752,"note":"Value kept but may cause issues"} 
[2026-08-23 15:11:20] 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-08-23 15:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787477963000,"timestamp_ms":1787477963000,"timestamp_seconds":1787477963,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfd30f8"} 
[2026-08-23 15:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 15:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594353152001,"66":12765,"117":206,"85":15104,"24":0,"16":122644182706683904,"45":9010014029515722752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 15:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594353152001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:11:20] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 15:11:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122644182706683904,"km_value":122644182706683.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010014029515722752,"description":"Unknown IO ID 45"} 
[2026-08-23 15:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594353152001,"power":12765,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9010014029515722752}} 
[2026-08-23 15:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":163168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:11:20] local.INFO: GPS data processed {"connection_id":163168,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:11:20] local.INFO: Acknowledgment sent {"connection_id":163168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:11:23] local.INFO: TCP Data received {"connection_id":163169,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:11:23] local.INFO: Processing buffer {"connection_id":163169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:11:23] local.INFO: Packet analysis {"connection_id":163169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:11:23] local.INFO: Extracted packet for processing {"connection_id":163169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:11:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594287360001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787477986000,"timestamp_ms":1787477986000,"timestamp_seconds":1787477986,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfd8ad0"} 
[2026-08-23 15:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:11:23] 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-08-23 15:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594287360001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594287360001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:11:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:11:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594287360001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":163169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:11:23] local.INFO: GPS data processed {"connection_id":163169,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:11:23] local.INFO: Acknowledgment sent {"connection_id":163169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:11:33] local.INFO: TCP Data received {"connection_id":161766,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:11:33] local.INFO: Processing buffer {"connection_id":161766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:11:33] local.INFO: IMEI packet received {"connection_id":161766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":161766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:11:34] local.INFO: TCP Data received {"connection_id":161766,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:11:34] local.INFO: Processing buffer {"connection_id":161766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:11:34] local.INFO: IMEI packet received {"connection_id":161766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":161766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:11:34] local.INFO: TCP Data received {"connection_id":160574,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:11:34] local.INFO: Processing buffer {"connection_id":160574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:11:34] local.INFO: IMEI packet received {"connection_id":160574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":160574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:11:39] local.INFO: TCP Data received {"connection_id":161766,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:11:39] local.INFO: Processing buffer {"connection_id":161766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:11:39] local.INFO: IMEI packet received {"connection_id":161766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":161766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:11:39] local.INFO: TCP Data received {"connection_id":160574,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:11:39] local.INFO: Processing buffer {"connection_id":160574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:11:39] local.INFO: IMEI packet received {"connection_id":160574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":160574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:11:40] local.INFO: TCP Data received {"connection_id":161766,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfd5fd8012d1ab000072428d0002c00f628..."} 
[2026-08-23 15:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfd5fd8012d1ab000072428d0002c00f628..."} 
[2026-08-23 15:11:40] local.INFO: Processing buffer {"connection_id":161766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfd5fd8012d1ab000072428d0002c00f628..."} 
[2026-08-23 15:11:40] local.INFO: Packet analysis {"connection_id":161766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:11:40] local.INFO: Extracted packet for processing {"connection_id":161766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:11:40] local.INFO: GPS Element Parsed {"raw_longitude":756723712,"raw_latitude":119810256,"longitude_deg":75.6723712,"latitude_deg":11.9810256,"altitude":44,"angle":246,"satellites":40,"speed":34,"hex_longitude":"2d1ab000","hex_latitude":"072428d0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594358272001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15582326033481728,"note":"Value kept but may cause issues"} 
[2026-08-23 15:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1932185008302716928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787477975000,"timestamp_ms":1787477975000,"timestamp_seconds":1787477975,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfd5fd8"} 
[2026-08-23 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-08-23 15:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-23 15:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 15:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594358272001,"66":14004,"41":206,"83":42752,"24":34,"16":15582326033481728,"45":1932185008302716928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,83,24,16,45]} 
[2026-08-23 15:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594358272001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:11:40] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-23 15:11:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15582326033481728,"km_value":15582326033481.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1932185008302716928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594358272001,"power":14004,"unknown_41":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1932185008302716928}} 
[2026-08-23 15:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":161766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:11:40] local.INFO: GPS data processed {"connection_id":161766,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:11:40] local.INFO: Acknowledgment sent {"connection_id":161766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:11:41] local.INFO: TCP Data received {"connection_id":160574,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfd8300012d7d0a0005d292100009005928..."} 
[2026-08-23 15:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfd8300012d7d0a0005d292100009005928..."} 
[2026-08-23 15:11:41] local.INFO: Processing buffer {"connection_id":160574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfd8300012d7d0a0005d292100009005928..."} 
[2026-08-23 15:11:41] local.INFO: Packet analysis {"connection_id":160574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:11:41] local.INFO: Extracted packet for processing {"connection_id":160574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":97686032,"longitude_deg":76.316928,"latitude_deg":9.7686032,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d7d0a00","hex_latitude":"05d29210","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594358528001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122644182706683904,"note":"Value kept but may cause issues"} 
[2026-08-23 15:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010014029515722752,"note":"Value kept but may cause issues"} 
[2026-08-23 15:11: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-08-23 15:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787477984000,"timestamp_ms":1787477984000,"timestamp_seconds":1787477984,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfd8300"} 
[2026-08-23 15:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-23 15:11:41] 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-08-23 15: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-08-23 15:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594358528001,"66":12917,"117":206,"85":15104,"24":0,"16":122644182706683904,"45":9010014029515722752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 15:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594358528001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:11:41] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 15:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122644182706683904,"km_value":122644182706683.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010014029515722752,"description":"Unknown IO ID 45"} 
[2026-08-23 15:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594358528001,"power":12917,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9010014029515722752}} 
[2026-08-23 15:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":160574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:11:41] local.INFO: GPS data processed {"connection_id":160574,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:11:41] local.INFO: Acknowledgment sent {"connection_id":160574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:11:46] local.INFO: TCP Data received {"connection_id":161767,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:11:46] local.INFO: Processing buffer {"connection_id":161767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:11:46] local.INFO: IMEI packet received {"connection_id":161767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":161767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:11:51] local.INFO: TCP Data received {"connection_id":161767,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:11:51] local.INFO: Processing buffer {"connection_id":161767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:11:51] local.INFO: IMEI packet received {"connection_id":161767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":161767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:11:52] local.INFO: TCP Data received {"connection_id":161767,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:11:52] local.INFO: Processing buffer {"connection_id":161767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:11:52] local.INFO: Packet analysis {"connection_id":161767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:11:52] local.INFO: Extracted packet for processing {"connection_id":161767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594287360001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787477986000,"timestamp_ms":1787477986000,"timestamp_seconds":1787477986,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfd8ad0"} 
[2026-08-23 15:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:11:52] 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-08-23 15:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:11:52] 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-08-23 15:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594287360001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594287360001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:11:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594287360001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":161767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:11:52] local.INFO: GPS data processed {"connection_id":161767,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:11:52] local.INFO: Acknowledgment sent {"connection_id":161767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:12:12] local.INFO: TCP Data received {"connection_id":160574,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfdd508012d7d0a0005d292100009005928..."} 
[2026-08-23 15:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfdd508012d7d0a0005d292100009005928..."} 
[2026-08-23 15:12:12] local.INFO: Processing buffer {"connection_id":160574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfdd508012d7d0a0005d292100009005928..."} 
[2026-08-23 15:12:12] local.INFO: Packet analysis {"connection_id":160574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:12:12] local.INFO: Extracted packet for processing {"connection_id":160574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:12:12] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":97686032,"longitude_deg":76.316928,"latitude_deg":9.7686032,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d7d0a00","hex_latitude":"05d29210","is_valid_coordinates":true} 
[2026-08-23 15:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594363904001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122644182706683904,"note":"Value kept but may cause issues"} 
[2026-08-23 15:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010014029515722752,"note":"Value kept but may cause issues"} 
[2026-08-23 15:12:12] 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-08-23 15:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787478005000,"timestamp_ms":1787478005000,"timestamp_seconds":1787478005,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfdd508"} 
[2026-08-23 15:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 15:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594363904001,"66":12722,"117":206,"85":15104,"24":0,"16":122644182706683904,"45":9010014029515722752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 15:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594363904001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:12:12] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 15:12:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122644182706683904,"km_value":122644182706683.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010014029515722752,"description":"Unknown IO ID 45"} 
[2026-08-23 15:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594363904001,"power":12722,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9010014029515722752}} 
[2026-08-23 15:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":160574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:12:12] local.INFO: GPS data processed {"connection_id":160574,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:12:12] local.INFO: Acknowledgment sent {"connection_id":160574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:12:18] local.INFO: TCP Data received {"connection_id":161766,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfd8eb8012d1a8e4007241918002d00f529..."} 
[2026-08-23 15:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfd8eb8012d1a8e4007241918002d00f529..."} 
[2026-08-23 15:12:18] local.INFO: Processing buffer {"connection_id":161766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfd8eb8012d1a8e4007241918002d00f529..."} 
[2026-08-23 15:12:18] local.INFO: Packet analysis {"connection_id":161766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:12:18] local.INFO: Extracted packet for processing {"connection_id":161766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:12:18] local.INFO: GPS Element Parsed {"raw_longitude":756715072,"raw_latitude":119806232,"longitude_deg":75.6715072,"latitude_deg":11.9806232,"altitude":45,"angle":245,"satellites":41,"speed":26,"hex_longitude":"2d1a8e40","hex_latitude":"07241918","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594361600001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15582777005047808,"note":"Value kept but may cause issues"} 
[2026-08-23 15:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923037071558627328,"note":"Value kept but may cause issues"} 
[2026-08-23 15:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787477987000,"timestamp_ms":1787477987000,"timestamp_seconds":1787477987,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfd8eb8"} 
[2026-08-23 15:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:12:18] 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-08-23 15: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-23 15:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594361600001,"66":14428,"41":206,"83":42752,"24":26,"16":15582777005047808,"45":1923037071558627328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,83,24,16,45]} 
[2026-08-23 15:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594361600001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:12:18] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-23 15:12:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15582777005047808,"km_value":15582777005047.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923037071558627328,"description":"Unknown IO ID 45"} 
[2026-08-23 15:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594361600001,"power":14428,"unknown_41":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":1923037071558627328}} 
[2026-08-23 15:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":161766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:12:18] local.INFO: GPS data processed {"connection_id":161766,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:12:18] local.INFO: Acknowledgment sent {"connection_id":161766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:12:23] local.INFO: TCP Data received {"connection_id":161767,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:12:23] local.INFO: Processing buffer {"connection_id":161767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:12:23] local.INFO: Packet analysis {"connection_id":161767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:12:23] local.INFO: Extracted packet for processing {"connection_id":161767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:12:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594287360001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787477986000,"timestamp_ms":1787477986000,"timestamp_seconds":1787477986,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfd8ad0"} 
[2026-08-23 15:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:12:23] 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-08-23 15:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594287360001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594287360001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:12:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:12:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594287360001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":161767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:12:23] local.INFO: GPS data processed {"connection_id":161767,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:12:23] local.INFO: Acknowledgment sent {"connection_id":161767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:12:29] local.INFO: TCP Data received {"connection_id":161768,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:12:29] local.INFO: Processing buffer {"connection_id":161768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:12:29] local.INFO: IMEI packet received {"connection_id":161768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":161768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:12:31] local.INFO: TCP Data received {"connection_id":161768,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:12:31] local.INFO: Processing buffer {"connection_id":161768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:12:31] local.INFO: IMEI packet received {"connection_id":161768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":161768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:12:32] local.INFO: TCP Data received {"connection_id":161768,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfdcd38012d1a74c007240c08002e00e228..."} 
[2026-08-23 15:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfdcd38012d1a74c007240c08002e00e228..."} 
[2026-08-23 15:12:32] local.INFO: Processing buffer {"connection_id":161768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfdcd38012d1a74c007240c08002e00e228..."} 
[2026-08-23 15:12:32] local.INFO: Packet analysis {"connection_id":161768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:12:32] local.INFO: Extracted packet for processing {"connection_id":161768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:12:32] local.INFO: GPS Element Parsed {"raw_longitude":756708544,"raw_latitude":119802888,"longitude_deg":75.6708544,"latitude_deg":11.9802888,"altitude":46,"angle":226,"satellites":40,"speed":12,"hex_longitude":"2d1a74c0","hex_latitude":"07240c08","is_valid_coordinates":true} 
[2026-08-23 15:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594364672001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15583129192366080,"note":"Value kept but may cause issues"} 
[2026-08-23 15:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913537291093612544,"note":"Value kept but may cause issues"} 
[2026-08-23 15:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787478003000,"timestamp_ms":1787478003000,"timestamp_seconds":1787478003,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfdcd38"} 
[2026-08-23 15:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 15:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594364672001,"66":14537,"41":206,"83":42752,"24":12,"16":15583129192366080,"45":1913537291093612544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,83,24,16,45]} 
[2026-08-23 15:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594364672001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:12:32] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-23 15:12:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15583129192366080,"km_value":15583129192366.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913537291093612544,"description":"Unknown IO ID 45"} 
[2026-08-23 15:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594364672001,"power":14537,"unknown_41":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1913537291093612544}} 
[2026-08-23 15:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":161768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:12:32] local.INFO: GPS data processed {"connection_id":161768,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:12:32] local.INFO: Acknowledgment sent {"connection_id":161768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:12:34] local.INFO: TCP Data received {"connection_id":161769,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:12:34] local.INFO: Processing buffer {"connection_id":161769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:12:34] local.INFO: IMEI packet received {"connection_id":161769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":161769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:12:34] local.INFO: TCP Data received {"connection_id":161769,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:12:34] local.INFO: Processing buffer {"connection_id":161769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:12:34] local.INFO: IMEI packet received {"connection_id":161769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":161769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:12:39] local.INFO: TCP Data received {"connection_id":161769,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:12:39] local.INFO: Processing buffer {"connection_id":161769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:12:39] local.INFO: IMEI packet received {"connection_id":161769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":161769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:12:41] local.INFO: TCP Data received {"connection_id":161769,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfe2710012d7d0a0005d292100009005928..."} 
[2026-08-23 15:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfe2710012d7d0a0005d292100009005928..."} 
[2026-08-23 15:12:41] local.INFO: Processing buffer {"connection_id":161769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfe2710012d7d0a0005d292100009005928..."} 
[2026-08-23 15:12:41] local.INFO: Packet analysis {"connection_id":161769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfe"} 
[2026-08-23 15:12:41] local.INFO: Extracted packet for processing {"connection_id":161769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfe"} 
[2026-08-23 15:12:41] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":97686032,"longitude_deg":76.316928,"latitude_deg":9.7686032,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d7d0a00","hex_latitude":"05d29210","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594369280001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122644182706683904,"note":"Value kept but may cause issues"} 
[2026-08-23 15:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010014029515722752,"note":"Value kept but may cause issues"} 
[2026-08-23 15:12: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-08-23 15:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787478026000,"timestamp_ms":1787478026000,"timestamp_seconds":1787478026,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfe2710"} 
[2026-08-23 15:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 15:12:41] 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-08-23 15: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-08-23 15:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594369280001,"66":12635,"117":206,"85":15104,"24":0,"16":122644182706683904,"45":9010014029515722752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 15:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594369280001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:12:41] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 15:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122644182706683904,"km_value":122644182706683.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010014029515722752,"description":"Unknown IO ID 45"} 
[2026-08-23 15:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594369280001,"power":12635,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9010014029515722752}} 
[2026-08-23 15:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":161769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:12:41] local.INFO: GPS data processed {"connection_id":161769,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:12:41] local.INFO: Acknowledgment sent {"connection_id":161769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:12:45] local.INFO: TCP Data received {"connection_id":163170,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:12:45] local.INFO: Processing buffer {"connection_id":163170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:12:45] local.INFO: IMEI packet received {"connection_id":163170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":163170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:12:51] local.INFO: TCP Data received {"connection_id":163170,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:12:51] local.INFO: Processing buffer {"connection_id":163170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:12:51] local.INFO: IMEI packet received {"connection_id":163170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":163170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:12:52] local.INFO: TCP Data received {"connection_id":163170,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:12:52] local.INFO: Processing buffer {"connection_id":163170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:12:52] local.INFO: Packet analysis {"connection_id":163170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:12:52] local.INFO: Extracted packet for processing {"connection_id":163170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:12:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594287360001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787477986000,"timestamp_ms":1787477986000,"timestamp_seconds":1787477986,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfd8ad0"} 
[2026-08-23 15:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:12:52] 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-08-23 15: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-08-23 15:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:12:52] 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-08-23 15:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594287360001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594287360001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:12:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:12:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594287360001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":163170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:12:52] local.INFO: GPS data processed {"connection_id":163170,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:12:52] local.INFO: Acknowledgment sent {"connection_id":163170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:13:12] local.INFO: TCP Data received {"connection_id":161769,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfe7918012d7d0a0005d292100009005929..."} 
[2026-08-23 15:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfe7918012d7d0a0005d292100009005929..."} 
[2026-08-23 15:13:12] local.INFO: Processing buffer {"connection_id":161769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfe7918012d7d0a0005d292100009005929..."} 
[2026-08-23 15:13:12] local.INFO: Packet analysis {"connection_id":161769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfe"} 
[2026-08-23 15:13:12] local.INFO: Extracted packet for processing {"connection_id":161769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfe"} 
[2026-08-23 15:13:12] local.INFO: GPS Element Parsed {"raw_longitude":763169280,"raw_latitude":97686032,"longitude_deg":76.316928,"latitude_deg":9.7686032,"altitude":9,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d7d0a00","hex_latitude":"05d29210","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594374656001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122644182706683904,"note":"Value kept but may cause issues"} 
[2026-08-23 15:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010014029515722752,"note":"Value kept but may cause issues"} 
[2026-08-23 15:13:12] 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-08-23 15:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787478047000,"timestamp_ms":1787478047000,"timestamp_seconds":1787478047,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfe7918"} 
[2026-08-23 15:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-23 15:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594374656001,"66":12722,"117":206,"85":15104,"24":0,"16":122644182706683904,"45":9010014029515722752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-23 15:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594374656001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:13:12] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-23 15:13:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122644182706683904,"km_value":122644182706683.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010014029515722752,"description":"Unknown IO ID 45"} 
[2026-08-23 15:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594374656001,"power":12722,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9010014029515722752}} 
[2026-08-23 15:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":161769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:13:12] local.INFO: GPS data processed {"connection_id":161769,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:13:12] local.INFO: Acknowledgment sent {"connection_id":161769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:13:24] local.INFO: TCP Data received {"connection_id":163170,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:13:24] local.INFO: Processing buffer {"connection_id":163170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:13:24] local.INFO: Packet analysis {"connection_id":163170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:13:24] local.INFO: Extracted packet for processing {"connection_id":163170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:13:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594287360001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787477986000,"timestamp_ms":1787477986000,"timestamp_seconds":1787477986,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfd8ad0"} 
[2026-08-23 15:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:13:24] 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-08-23 15:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594287360001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594287360001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:13:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:13:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594287360001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":163170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:13:24] local.INFO: GPS data processed {"connection_id":163170,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:13:24] local.INFO: Acknowledgment sent {"connection_id":163170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:13:35] local.INFO: TCP Data received {"connection_id":161770,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:13:35] local.INFO: Processing buffer {"connection_id":161770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:13:35] local.INFO: IMEI packet received {"connection_id":161770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":161770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:13:35] local.INFO: TCP Data received {"connection_id":161770,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:13:35] local.INFO: Processing buffer {"connection_id":161770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:13:35] local.INFO: IMEI packet received {"connection_id":161770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":161770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:13:36] local.INFO: TCP Data received {"connection_id":161770,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:13:36] local.INFO: Processing buffer {"connection_id":161770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:13:36] local.INFO: IMEI packet received {"connection_id":161770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":161770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:13:37] local.INFO: TCP Data received {"connection_id":161770,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:13:37] local.INFO: Processing buffer {"connection_id":161770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:13:37] local.INFO: IMEI packet received {"connection_id":161770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":161770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:13:51] local.INFO: TCP Data received {"connection_id":160822,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:13:51] local.INFO: Processing buffer {"connection_id":160822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:13:51] local.INFO: IMEI packet received {"connection_id":160822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":160822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:13:56] local.INFO: TCP Data received {"connection_id":160822,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:13:56] local.INFO: Processing buffer {"connection_id":160822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:13:56] local.INFO: IMEI packet received {"connection_id":160822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":160822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:13:58] local.INFO: TCP Data received {"connection_id":160822,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:13:58] local.INFO: Processing buffer {"connection_id":160822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:13:58] local.INFO: Packet analysis {"connection_id":160822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:13:58] local.INFO: Extracted packet for processing {"connection_id":160822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:13:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594287360001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787477986000,"timestamp_ms":1787477986000,"timestamp_seconds":1787477986,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfd8ad0"} 
[2026-08-23 15:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:13: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-08-23 15: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-08-23 15:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594287360001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594287360001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:13:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:13:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594287360001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":160822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:13:58] local.INFO: GPS data processed {"connection_id":160822,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:13:58] local.INFO: Acknowledgment sent {"connection_id":160822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:14:02] local.INFO: TCP Data received {"connection_id":160822,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:14:02] local.INFO: Processing buffer {"connection_id":160822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:14:02] local.INFO: Packet analysis {"connection_id":160822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:14:02] local.INFO: Extracted packet for processing {"connection_id":160822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:14:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594287360001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787477986000,"timestamp_ms":1787477986000,"timestamp_seconds":1787477986,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfd8ad0"} 
[2026-08-23 15:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:14:02] 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-08-23 15:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594287360001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594287360001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:14:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:14:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594287360001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":160822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:14:02] local.INFO: GPS data processed {"connection_id":160822,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:14:02] local.INFO: Acknowledgment sent {"connection_id":160822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:14:11] local.INFO: TCP Data received {"connection_id":161768,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02dffb968012d196e8007238b48004400e322..."} 
[2026-08-23 15:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dffb968012d196e8007238b48004400e322..."} 
[2026-08-23 15:14:11] local.INFO: Processing buffer {"connection_id":161768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dffb968012d196e8007238b48004400e322..."} 
[2026-08-23 15:14:11] local.INFO: Packet analysis {"connection_id":161768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dff"} 
[2026-08-23 15:14:11] local.INFO: Extracted packet for processing {"connection_id":161768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dff"} 
[2026-08-23 15:14:11] local.INFO: GPS Element Parsed {"raw_longitude":756641408,"raw_latitude":119769928,"longitude_deg":75.6641408,"latitude_deg":11.9769928,"altitude":68,"angle":227,"satellites":34,"speed":33,"hex_longitude":"2d196e80","hex_latitude":"07238b48","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594400000001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15586921648488448,"note":"Value kept but may cause issues"} 
[2026-08-23 15:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835639091280140288,"note":"Value kept but may cause issues"} 
[2026-08-23 15:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787478129000,"timestamp_ms":1787478129000,"timestamp_seconds":1787478129,"priority":1,"record_length":96,"hex_timestamp":"000001a02dffb968"} 
[2026-08-23 15:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 15:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594400000001,"66":14004,"186":206,"83":42752,"24":33,"16":15586921648488448,"45":1835639091280140288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-08-23 15:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594400000001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:14:11] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-23 15:14:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 15:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15586921648488448,"km_value":15586921648488.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835639091280140288,"description":"Unknown IO ID 45"} 
[2026-08-23 15:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594400000001,"power":14004,"unknown_186":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1835639091280140288}} 
[2026-08-23 15:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":161768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:14:11] local.INFO: GPS data processed {"connection_id":161768,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:14:11] local.INFO: Acknowledgment sent {"connection_id":161768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:14:34] local.INFO: TCP Data received {"connection_id":160575,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:14:34] local.INFO: Processing buffer {"connection_id":160575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:14:34] local.INFO: IMEI packet received {"connection_id":160575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":160575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:14:37] local.INFO: TCP Data received {"connection_id":160575,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:14:37] local.INFO: Processing buffer {"connection_id":160575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:14:37] local.INFO: IMEI packet received {"connection_id":160575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":160575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:14:39] local.INFO: TCP Data received {"connection_id":160575,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:14:39] local.INFO: Processing buffer {"connection_id":160575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:14:39] local.INFO: IMEI packet received {"connection_id":160575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":160575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:14:40] local.INFO: TCP Data received {"connection_id":160575,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e00b368012d18ca80072303980061011827..."} 
[2026-08-23 15:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e00b368012d18ca80072303980061011827..."} 
[2026-08-23 15:14:40] local.INFO: Processing buffer {"connection_id":160575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e00b368012d18ca80072303980061011827..."} 
[2026-08-23 15:14:40] local.INFO: Packet analysis {"connection_id":160575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e00"} 
[2026-08-23 15:14:40] local.INFO: Extracted packet for processing {"connection_id":160575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e00"} 
[2026-08-23 15:14:40] local.INFO: GPS Element Parsed {"raw_longitude":756599424,"raw_latitude":119735192,"longitude_deg":75.6599424,"latitude_deg":11.9735192,"altitude":97,"angle":280,"satellites":39,"speed":37,"hex_longitude":"2d18ca80","hex_latitude":"07230398","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594415616001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15589859406118912,"note":"Value kept but may cause issues"} 
[2026-08-23 15:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793628950995957760,"note":"Value kept but may cause issues"} 
[2026-08-23 15:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787478193000,"timestamp_ms":1787478193000,"timestamp_seconds":1787478193,"priority":1,"record_length":96,"hex_timestamp":"000001a02e00b368"} 
[2026-08-23 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-08-23 15:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-23 15:14: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-08-23 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-08-23 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-08-23 15:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594415616001,"66":14428,"238":206,"83":43776,"24":37,"16":15589859406118912,"45":1793628950995957760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,83,24,16,45]} 
[2026-08-23 15:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594415616001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:14:40] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-23 15:14:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-08-23 15:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15589859406118912,"km_value":15589859406118.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793628950995957760,"description":"Unknown IO ID 45"} 
[2026-08-23 15:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594415616001,"power":14428,"unknown_238":206,"unknown_83":43776,"ignition":37,"odometer":null,"unknown_45":1793628950995957760}} 
[2026-08-23 15:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":160575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:14:40] local.INFO: GPS data processed {"connection_id":160575,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:14:40] local.INFO: Acknowledgment sent {"connection_id":160575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:14:41] local.INFO: TCP Data received {"connection_id":160575,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e00bb38012d18c300072303400063010327..."} 
[2026-08-23 15:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e00bb38012d18c300072303400063010327..."} 
[2026-08-23 15:14:41] local.INFO: Processing buffer {"connection_id":160575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e00bb38012d18c300072303400063010327..."} 
[2026-08-23 15:14:41] local.INFO: Packet analysis {"connection_id":160575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e00"} 
[2026-08-23 15:14:41] local.INFO: Extracted packet for processing {"connection_id":160575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e00"} 
[2026-08-23 15:14:41] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119735104,"longitude_deg":75.6597504,"latitude_deg":11.9735104,"altitude":99,"angle":259,"satellites":39,"speed":36,"hex_longitude":"2d18c300","hex_latitude":"07230340","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594417408001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15589949600432128,"note":"Value kept but may cause issues"} 
[2026-08-23 15:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786380970346387456,"note":"Value kept but may cause issues"} 
[2026-08-23 15:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787478195000,"timestamp_ms":1787478195000,"timestamp_seconds":1787478195,"priority":1,"record_length":96,"hex_timestamp":"000001a02e00bb38"} 
[2026-08-23 15:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 15:14: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-08-23 15: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-08-23 15:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594417408001,"66":14396,"238":206,"83":43776,"24":36,"16":15589949600432128,"45":1786380970346387456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,83,24,16,45]} 
[2026-08-23 15:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594417408001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:14:41] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-23 15:14:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-08-23 15:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15589949600432128,"km_value":15589949600432.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786380970346387456,"description":"Unknown IO ID 45"} 
[2026-08-23 15:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594417408001,"power":14396,"unknown_238":206,"unknown_83":43776,"ignition":36,"odometer":null,"unknown_45":1786380970346387456}} 
[2026-08-23 15:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":160575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:14:41] local.INFO: GPS data processed {"connection_id":160575,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:14:41] local.INFO: Acknowledgment sent {"connection_id":160575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:14:46] local.INFO: TCP Data received {"connection_id":160823,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:14:46] local.INFO: Processing buffer {"connection_id":160823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:14:46] local.INFO: IMEI packet received {"connection_id":160823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":160823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:14:51] local.INFO: TCP Data received {"connection_id":160823,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:14:51] local.INFO: Processing buffer {"connection_id":160823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:14:51] local.INFO: IMEI packet received {"connection_id":160823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":160823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:14:52] local.INFO: TCP Data received {"connection_id":160823,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:14:52] local.INFO: Processing buffer {"connection_id":160823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:14:52] local.INFO: Packet analysis {"connection_id":160823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:14:52] local.INFO: Extracted packet for processing {"connection_id":160823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:14:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594287360001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787477986000,"timestamp_ms":1787477986000,"timestamp_seconds":1787477986,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfd8ad0"} 
[2026-08-23 15:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:14:52] 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-08-23 15:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594287360001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594287360001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:14:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:14:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594287360001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":160823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:14:52] local.INFO: GPS data processed {"connection_id":160823,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:14:52] local.INFO: Acknowledgment sent {"connection_id":160823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:15:12] local.INFO: TCP Data received {"connection_id":160575,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e01ad68012d186e8007222308005a00d526..."} 
[2026-08-23 15:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e01ad68012d186e8007222308005a00d526..."} 
[2026-08-23 15:15:12] local.INFO: Processing buffer {"connection_id":160575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e01ad68012d186e8007222308005a00d526..."} 
[2026-08-23 15:15:12] local.INFO: Packet analysis {"connection_id":160575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e01"} 
[2026-08-23 15:15:12] local.INFO: Extracted packet for processing {"connection_id":160575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e01"} 
[2026-08-23 15:15:12] local.INFO: GPS Element Parsed {"raw_longitude":756575872,"raw_latitude":119677704,"longitude_deg":75.6575872,"latitude_deg":11.9677704,"altitude":90,"angle":213,"satellites":38,"speed":58,"hex_longitude":"2d186e80","hex_latitude":"07222308","is_valid_coordinates":true} 
[2026-08-23 15:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594432000001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15593054861787136,"note":"Value kept but may cause issues"} 
[2026-08-23 15:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766888828196642816,"note":"Value kept but may cause issues"} 
[2026-08-23 15:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787478257000,"timestamp_ms":1787478257000,"timestamp_seconds":1787478257,"priority":1,"record_length":96,"hex_timestamp":"000001a02e01ad68"} 
[2026-08-23 15:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 15:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594432000001,"66":12526,"105":206,"83":41984,"24":58,"16":15593054861787136,"45":1766888828196642816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594432000001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:15:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:15:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15593054861787136,"km_value":15593054861787.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766888828196642816,"description":"Unknown IO ID 45"} 
[2026-08-23 15:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594432000001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":58,"odometer":null,"unknown_45":1766888828196642816}} 
[2026-08-23 15:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":160575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:15:13] local.INFO: GPS data processed {"connection_id":160575,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:15:13] local.INFO: Acknowledgment sent {"connection_id":160575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:15:23] local.INFO: TCP Data received {"connection_id":160823,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:15:23] local.INFO: Processing buffer {"connection_id":160823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02dfd8ad0012d34c50006aa40980006008523..."} 
[2026-08-23 15:15:23] local.INFO: Packet analysis {"connection_id":160823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:15:23] local.INFO: Extracted packet for processing {"connection_id":160823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02dfd"} 
[2026-08-23 15:15:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594287360001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787477986000,"timestamp_ms":1787477986000,"timestamp_seconds":1787477986,"priority":1,"record_length":96,"hex_timestamp":"000001a02dfd8ad0"} 
[2026-08-23 15:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:15:23] 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-08-23 15:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594287360001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594287360001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:15:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:15:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594287360001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":160823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:15:23] local.INFO: GPS data processed {"connection_id":160823,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:15:23] local.INFO: Acknowledgment sent {"connection_id":160823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:15:29] local.INFO: TCP Data received {"connection_id":160824,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:15:29] local.INFO: Processing buffer {"connection_id":160824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:15:29] local.INFO: IMEI packet received {"connection_id":160824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":160824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:15:34] local.INFO: TCP Data received {"connection_id":160824,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:15:34] local.INFO: Processing buffer {"connection_id":160824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:15:34] local.INFO: IMEI packet received {"connection_id":160824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":160824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:15:35] local.INFO: TCP Data received {"connection_id":160824,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e01c4d8012d185b40072205d8005500d625..."} 
[2026-08-23 15:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e01c4d8012d185b40072205d8005500d625..."} 
[2026-08-23 15:15:35] local.INFO: Processing buffer {"connection_id":160824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e01c4d8012d185b40072205d8005500d625..."} 
[2026-08-23 15:15:35] local.INFO: Packet analysis {"connection_id":160824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e01"} 
[2026-08-23 15:15:35] local.INFO: Extracted packet for processing {"connection_id":160824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e01"} 
[2026-08-23 15:15:35] local.INFO: GPS Element Parsed {"raw_longitude":756570944,"raw_latitude":119670232,"longitude_deg":75.6570944,"latitude_deg":11.9670232,"altitude":85,"angle":214,"satellites":37,"speed":59,"hex_longitude":"2d185b40","hex_latitude":"072205d8","is_valid_coordinates":true} 
[2026-08-23 15:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594433792001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15593484358516736,"note":"Value kept but may cause issues"} 
[2026-08-23 15:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760485272474290176,"note":"Value kept but may cause issues"} 
[2026-08-23 15:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787478263000,"timestamp_ms":1787478263000,"timestamp_seconds":1787478263,"priority":1,"record_length":96,"hex_timestamp":"000001a02e01c4d8"} 
[2026-08-23 15:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594433792001,"66":12428,"105":206,"83":41984,"24":59,"16":15593484358516736,"45":1760485272474290176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594433792001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:15:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:15:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15593484358516736,"km_value":15593484358516.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760485272474290176,"description":"Unknown IO ID 45"} 
[2026-08-23 15:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594433792001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":59,"odometer":null,"unknown_45":1760485272474290176}} 
[2026-08-23 15:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":160824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:15:35] local.INFO: GPS data processed {"connection_id":160824,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:15:35] local.INFO: Acknowledgment sent {"connection_id":160824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:15:46] local.INFO: TCP Data received {"connection_id":161771,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:15:46] local.INFO: Processing buffer {"connection_id":161771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:15:46] local.INFO: IMEI packet received {"connection_id":161771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":161771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:15:51] local.INFO: TCP Data received {"connection_id":161771,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:15:51] local.INFO: Processing buffer {"connection_id":161771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:15:51] local.INFO: IMEI packet received {"connection_id":161771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":161771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:15:52] local.INFO: TCP Data received {"connection_id":161771,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:15:52] local.INFO: Processing buffer {"connection_id":161771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:15:52] local.INFO: Packet analysis {"connection_id":161771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:15:52] local.INFO: Extracted packet for processing {"connection_id":161771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:15:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:15: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-08-23 15:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594364416001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787478287000,"timestamp_ms":1787478287000,"timestamp_seconds":1787478287,"priority":1,"record_length":96,"hex_timestamp":"000001a02e022298"} 
[2026-08-23 15:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 15:15:52] 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-08-23 15:15: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-08-23 15:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:15:52] 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-08-23 15:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594364416001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594364416001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:15:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:15:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594364416001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":161771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:15:52] local.INFO: GPS data processed {"connection_id":161771,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:15:52] local.INFO: Acknowledgment sent {"connection_id":161771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:16:06] local.INFO: TCP Data received {"connection_id":160824,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e01dc48012d1847800721e938005000d626..."} 
[2026-08-23 15:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e01dc48012d1847800721e938005000d626..."} 
[2026-08-23 15:16:06] local.INFO: Processing buffer {"connection_id":160824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e01dc48012d1847800721e938005000d626..."} 
[2026-08-23 15:16:06] local.INFO: Packet analysis {"connection_id":160824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e01"} 
[2026-08-23 15:16:06] local.INFO: Extracted packet for processing {"connection_id":160824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e01"} 
[2026-08-23 15:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756565888,"raw_latitude":119662904,"longitude_deg":75.6565888,"latitude_deg":11.9662904,"altitude":80,"angle":214,"satellites":38,"speed":55,"hex_longitude":"2d184780","hex_latitude":"0721e938","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594435328001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15593913855246336,"note":"Value kept but may cause issues"} 
[2026-08-23 15:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755066879170697216,"note":"Value kept but may cause issues"} 
[2026-08-23 15:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787478269000,"timestamp_ms":1787478269000,"timestamp_seconds":1787478269,"priority":1,"record_length":96,"hex_timestamp":"000001a02e01dc48"} 
[2026-08-23 15:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 15:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594435328001,"66":12428,"105":206,"83":41984,"24":55,"16":15593913855246336,"45":1755066879170697216},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594435328001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:16:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15593913855246336,"km_value":15593913855246.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755066879170697216,"description":"Unknown IO ID 45"} 
[2026-08-23 15:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594435328001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":55,"odometer":null,"unknown_45":1755066879170697216}} 
[2026-08-23 15:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":160824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:16:07] local.INFO: GPS data processed {"connection_id":160824,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:16:07] local.INFO: Acknowledgment sent {"connection_id":160824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:16:23] local.INFO: TCP Data received {"connection_id":161771,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:16:23] local.INFO: Processing buffer {"connection_id":161771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:16:23] local.INFO: Packet analysis {"connection_id":161771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:16:23] local.INFO: Extracted packet for processing {"connection_id":161771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:16:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594364416001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787478287000,"timestamp_ms":1787478287000,"timestamp_seconds":1787478287,"priority":1,"record_length":96,"hex_timestamp":"000001a02e022298"} 
[2026-08-23 15:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 15:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:16:23] 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-08-23 15:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594364416001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594364416001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:16:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:16:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594364416001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":161771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:16:23] local.INFO: GPS data processed {"connection_id":161771,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:16:23] local.INFO: Acknowledgment sent {"connection_id":161771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:16:29] local.INFO: TCP Data received {"connection_id":163171,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:16:29] local.INFO: Processing buffer {"connection_id":163171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:16:29] local.INFO: IMEI packet received {"connection_id":163171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":163171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:16:34] local.INFO: TCP Data received {"connection_id":163171,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:16:34] local.INFO: Processing buffer {"connection_id":163171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:16:34] local.INFO: IMEI packet received {"connection_id":163171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":163171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:16:35] local.INFO: TCP Data received {"connection_id":163171,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e01f7a0012d1832800721caf0004b00d526..."} 
[2026-08-23 15:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e01f7a0012d1832800721caf0004b00d526..."} 
[2026-08-23 15:16:36] local.INFO: Processing buffer {"connection_id":163171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e01f7a0012d1832800721caf0004b00d526..."} 
[2026-08-23 15:16:36] local.INFO: Packet analysis {"connection_id":163171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e01"} 
[2026-08-23 15:16:36] local.INFO: Extracted packet for processing {"connection_id":163171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e01"} 
[2026-08-23 15:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756560512,"raw_latitude":119655152,"longitude_deg":75.6560512,"latitude_deg":11.9655152,"altitude":75,"angle":213,"satellites":38,"speed":52,"hex_longitude":"2d183280","hex_latitude":"0721caf0","is_valid_coordinates":true} 
[2026-08-23 15:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594436864001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594369121779712,"note":"Value kept but may cause issues"} 
[2026-08-23 15:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749507748378785792,"note":"Value kept but may cause issues"} 
[2026-08-23 15:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787478276000,"timestamp_ms":1787478276000,"timestamp_seconds":1787478276,"priority":1,"record_length":96,"hex_timestamp":"000001a02e01f7a0"} 
[2026-08-23 15:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 15:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594436864001,"66":12287,"105":206,"83":41984,"24":52,"16":15594369121779712,"45":1749507748378785792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594436864001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:16:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594369121779712,"km_value":15594369121779.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749507748378785792,"description":"Unknown IO ID 45"} 
[2026-08-23 15:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594436864001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":52,"odometer":null,"unknown_45":1749507748378785792}} 
[2026-08-23 15:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":163171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:16:36] local.INFO: GPS data processed {"connection_id":163171,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:16:36] local.INFO: Acknowledgment sent {"connection_id":163171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:16:46] local.INFO: TCP Data received {"connection_id":163172,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:16:46] local.INFO: Processing buffer {"connection_id":163172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:16:46] local.INFO: IMEI packet received {"connection_id":163172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":163172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:16:51] local.INFO: TCP Data received {"connection_id":163172,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:16:51] local.INFO: Processing buffer {"connection_id":163172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:16:51] local.INFO: IMEI packet received {"connection_id":163172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":163172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:16:52] local.INFO: TCP Data received {"connection_id":163172,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:16:52] local.INFO: Processing buffer {"connection_id":163172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:16:52] local.INFO: Packet analysis {"connection_id":163172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:16:52] local.INFO: Extracted packet for processing {"connection_id":163172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:16:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:16: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-08-23 15:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594364416001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787478287000,"timestamp_ms":1787478287000,"timestamp_seconds":1787478287,"priority":1,"record_length":96,"hex_timestamp":"000001a02e022298"} 
[2026-08-23 15:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 15:16:52] 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-08-23 15:16: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-08-23 15:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:16:52] 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-08-23 15:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594364416001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594364416001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:16:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:16:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594364416001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":163172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:16:52] local.INFO: GPS data processed {"connection_id":163172,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:16:52] local.INFO: Acknowledgment sent {"connection_id":163172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:17:07] local.INFO: TCP Data received {"connection_id":163171,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0249a8012d1821000721b370004600db27..."} 
[2026-08-23 15:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0249a8012d1821000721b370004600db27..."} 
[2026-08-23 15:17:07] local.INFO: Processing buffer {"connection_id":163171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0249a8012d1821000721b370004600db27..."} 
[2026-08-23 15:17:07] local.INFO: Packet analysis {"connection_id":163171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:17:07] local.INFO: Extracted packet for processing {"connection_id":163171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 15:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594438656001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743596773865877504,"note":"Value kept but may cause issues"} 
[2026-08-23 15:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787478297000,"timestamp_ms":1787478297000,"timestamp_seconds":1787478297,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0249a8"} 
[2026-08-23 15:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 15:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594438656001,"66":12254,"105":206,"83":41984,"24":0,"16":15594729899032576,"45":1743596773865877504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594438656001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:17:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:17:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743596773865877504,"description":"Unknown IO ID 45"} 
[2026-08-23 15:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594438656001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1743596773865877504}} 
[2026-08-23 15:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":163171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:17:07] local.INFO: GPS data processed {"connection_id":163171,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:17:07] local.INFO: Acknowledgment sent {"connection_id":163171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:17:23] local.INFO: TCP Data received {"connection_id":163172,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:17:23] local.INFO: Processing buffer {"connection_id":163172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:17:23] local.INFO: Packet analysis {"connection_id":163172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:17:23] local.INFO: Extracted packet for processing {"connection_id":163172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:17:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594364416001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787478287000,"timestamp_ms":1787478287000,"timestamp_seconds":1787478287,"priority":1,"record_length":96,"hex_timestamp":"000001a02e022298"} 
[2026-08-23 15:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 15:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:17:23] 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-08-23 15:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594364416001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594364416001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:17:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:17:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594364416001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":163172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:17:23] local.INFO: GPS data processed {"connection_id":163172,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:17:23] local.INFO: Acknowledgment sent {"connection_id":163172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:17:34] local.INFO: TCP Data received {"connection_id":160578,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:17:34] local.INFO: Processing buffer {"connection_id":160578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:17:34] local.INFO: IMEI packet received {"connection_id":160578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":160578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:17:39] local.INFO: TCP Data received {"connection_id":160578,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:17:39] local.INFO: Processing buffer {"connection_id":160578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:17:39] local.INFO: IMEI packet received {"connection_id":160578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":160578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:17:40] local.INFO: TCP Data received {"connection_id":160578,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e029bb0012d1821000721b370004600db29..."} 
[2026-08-23 15:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e029bb0012d1821000721b370004600db29..."} 
[2026-08-23 15:17:40] local.INFO: Processing buffer {"connection_id":160578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e029bb0012d1821000721b370004600db29..."} 
[2026-08-23 15:17:40] local.INFO: Packet analysis {"connection_id":160578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:17:40] local.INFO: Extracted packet for processing {"connection_id":160578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:17:40] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594444032001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787478318000,"timestamp_ms":1787478318000,"timestamp_seconds":1787478318,"priority":1,"record_length":96,"hex_timestamp":"000001a02e029bb0"} 
[2026-08-23 15:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-23 15:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594444032001,"66":12156,"105":206,"83":41984,"24":0,"16":15594729899032576,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594444032001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:17:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:17:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594444032001,"power":12156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":160578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:17:41] local.INFO: GPS data processed {"connection_id":160578,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:17:41] local.INFO: Acknowledgment sent {"connection_id":160578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:17:42] local.INFO: TCP Data received {"connection_id":160578,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e02edb8012d1821000721b370004600db28..."} 
[2026-08-23 15:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e02edb8012d1821000721b370004600db28..."} 
[2026-08-23 15:17:42] local.INFO: Processing buffer {"connection_id":160578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e02edb8012d1821000721b370004600db28..."} 
[2026-08-23 15:17:42] local.INFO: Packet analysis {"connection_id":160578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:17:42] local.INFO: Extracted packet for processing {"connection_id":160578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:17:42] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594449408001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787478339000,"timestamp_ms":1787478339000,"timestamp_seconds":1787478339,"priority":1,"record_length":96,"hex_timestamp":"000001a02e02edb8"} 
[2026-08-23 15:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-23 15:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594449408001,"66":12113,"105":206,"83":41984,"24":0,"16":15594729899032576,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594449408001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:17:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:17:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594449408001,"power":12113,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":160578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:17:42] local.INFO: GPS data processed {"connection_id":160578,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:17:42] local.INFO: Acknowledgment sent {"connection_id":160578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:17:51] local.INFO: TCP Data received {"connection_id":163173,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:17:51] local.INFO: Processing buffer {"connection_id":163173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:17:51] local.INFO: IMEI packet received {"connection_id":163173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":163173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:17:56] local.INFO: TCP Data received {"connection_id":163173,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:17:56] local.INFO: Processing buffer {"connection_id":163173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:17:56] local.INFO: IMEI packet received {"connection_id":163173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":163173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:17:57] local.INFO: TCP Data received {"connection_id":163173,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:17:57] local.INFO: Processing buffer {"connection_id":163173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:17:57] local.INFO: Packet analysis {"connection_id":163173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:17:57] local.INFO: Extracted packet for processing {"connection_id":163173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:17:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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":795,"current_offset":40} 
[2026-08-23 15:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594364416001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787478287000,"timestamp_ms":1787478287000,"timestamp_seconds":1787478287,"priority":1,"record_length":96,"hex_timestamp":"000001a02e022298"} 
[2026-08-23 15:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 15:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594364416001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594364416001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:17:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:17:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594364416001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":163173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:17:57] local.INFO: GPS data processed {"connection_id":163173,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:17:57] local.INFO: Acknowledgment sent {"connection_id":163173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:18:02] local.INFO: TCP Data received {"connection_id":163173,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:18:02] local.INFO: Processing buffer {"connection_id":163173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:18:02] local.INFO: Packet analysis {"connection_id":163173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:18:02] local.INFO: Extracted packet for processing {"connection_id":163173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:18:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594364416001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787478287000,"timestamp_ms":1787478287000,"timestamp_seconds":1787478287,"priority":1,"record_length":96,"hex_timestamp":"000001a02e022298"} 
[2026-08-23 15:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 15:18:02] 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-08-23 15:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594364416001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594364416001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:18:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:18:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594364416001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":163173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:18:02] local.INFO: GPS data processed {"connection_id":163173,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:18:02] local.INFO: Acknowledgment sent {"connection_id":163173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:18:13] local.INFO: TCP Data received {"connection_id":160578,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e033fc0012d1821000721b370004600db29..."} 
[2026-08-23 15:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e033fc0012d1821000721b370004600db29..."} 
[2026-08-23 15:18:13] local.INFO: Processing buffer {"connection_id":160578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e033fc0012d1821000721b370004600db29..."} 
[2026-08-23 15:18:13] local.INFO: Packet analysis {"connection_id":160578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e03"} 
[2026-08-23 15:18:13] local.INFO: Extracted packet for processing {"connection_id":160578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e03"} 
[2026-08-23 15:18:13] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594454784001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787478360000,"timestamp_ms":1787478360000,"timestamp_seconds":1787478360,"priority":1,"record_length":96,"hex_timestamp":"000001a02e033fc0"} 
[2026-08-23 15:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-23 15:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594454784001,"66":12287,"107":206,"83":41984,"24":0,"16":15594729899032576,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 15:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594454784001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:18:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 15:18:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594454784001,"power":12287,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":160578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:18:13] local.INFO: GPS data processed {"connection_id":160578,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:18:13] local.INFO: Acknowledgment sent {"connection_id":160578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:18:29] local.INFO: TCP Data received {"connection_id":163174,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:18:29] local.INFO: Processing buffer {"connection_id":163174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:18:29] local.INFO: IMEI packet received {"connection_id":163174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":163174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:18:34] local.INFO: TCP Data received {"connection_id":163174,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:18:34] local.INFO: Processing buffer {"connection_id":163174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:18:34] local.INFO: IMEI packet received {"connection_id":163174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":163174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:18:35] local.INFO: TCP Data received {"connection_id":163174,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0391c8012d1821000721b370004600db27..."} 
[2026-08-23 15:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0391c8012d1821000721b370004600db27..."} 
[2026-08-23 15:18:35] local.INFO: Processing buffer {"connection_id":163174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0391c8012d1821000721b370004600db27..."} 
[2026-08-23 15:18:35] local.INFO: Packet analysis {"connection_id":163174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e03"} 
[2026-08-23 15:18:35] local.INFO: Extracted packet for processing {"connection_id":163174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e03"} 
[2026-08-23 15:18:35] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 15:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594460160001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787478381000,"timestamp_ms":1787478381000,"timestamp_seconds":1787478381,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0391c8"} 
[2026-08-23 15:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 15:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594460160001,"66":12298,"107":206,"83":41984,"24":0,"16":15594729899032576,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 15:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594460160001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:18:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 15:18:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594460160001,"power":12298,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":163174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:18:35] local.INFO: GPS data processed {"connection_id":163174,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:18:35] local.INFO: Acknowledgment sent {"connection_id":163174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:18:39] local.INFO: TCP Data received {"connection_id":160826,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:18:40] local.INFO: Processing buffer {"connection_id":160826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:18:40] local.INFO: IMEI packet received {"connection_id":160826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":160826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:18:40] local.INFO: TCP Data received {"connection_id":160826,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0556e8012d7dd98005d292b00009005828..."} 
[2026-08-23 15:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0556e8012d7dd98005d292b00009005828..."} 
[2026-08-23 15:18:40] local.INFO: Processing buffer {"connection_id":160826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0556e8012d7dd98005d292b00009005828..."} 
[2026-08-23 15:18:40] local.INFO: Packet analysis {"connection_id":160826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e05"} 
[2026-08-23 15:18:40] local.INFO: Extracted packet for processing {"connection_id":160826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e05"} 
[2026-08-23 15:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763222400,"raw_latitude":97686192,"longitude_deg":76.32224,"latitude_deg":9.7686192,"altitude":9,"angle":88,"satellites":40,"speed":42,"hex_longitude":"2d7dd980","hex_latitude":"05d292b0","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594491904001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122648112601759744,"note":"Value kept but may cause issues"} 
[2026-08-23 15:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9057794406812217344,"note":"Value kept but may cause issues"} 
[2026-08-23 15:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787478497000,"timestamp_ms":1787478497000,"timestamp_seconds":1787478497,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0556e8"} 
[2026-08-23 15:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-23 15:18:40] 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-08-23 15: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-08-23 15:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594491904001,"66":12678,"116":206,"85":15104,"24":42,"16":122648112601759744,"45":9057794406812217344},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 15:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594491904001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:18:40] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 15:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122648112601759744,"km_value":122648112601759.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9057794406812217344,"description":"Unknown IO ID 45"} 
[2026-08-23 15:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594491904001,"power":12678,"unknown_116":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9057794406812217344}} 
[2026-08-23 15:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":160826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:18:41] local.INFO: GPS data processed {"connection_id":160826,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:18:41] local.INFO: Acknowledgment sent {"connection_id":160826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:18:46] local.INFO: TCP Data received {"connection_id":160827,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:18:46] local.INFO: Processing buffer {"connection_id":160827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:18:46] local.INFO: IMEI packet received {"connection_id":160827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":160827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:18:51] local.INFO: TCP Data received {"connection_id":160827,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:18:51] local.INFO: Processing buffer {"connection_id":160827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:18:51] local.INFO: IMEI packet received {"connection_id":160827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":160827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:18:56] local.INFO: TCP Data received {"connection_id":160827,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:18:56] local.INFO: Processing buffer {"connection_id":160827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:18:56] local.INFO: Packet analysis {"connection_id":160827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:18:56] local.INFO: Extracted packet for processing {"connection_id":160827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:18:56] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594364416001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787478287000,"timestamp_ms":1787478287000,"timestamp_seconds":1787478287,"priority":1,"record_length":96,"hex_timestamp":"000001a02e022298"} 
[2026-08-23 15:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 15:18:56] 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-08-23 15:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594364416001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594364416001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:18:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:18:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594364416001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":160827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:18:56] local.INFO: GPS data processed {"connection_id":160827,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:18:56] local.INFO: Acknowledgment sent {"connection_id":160827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:19:06] local.INFO: TCP Data received {"connection_id":163174,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e03e3d0012d1821000721b370004600db27..."} 
[2026-08-23 15:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e03e3d0012d1821000721b370004600db27..."} 
[2026-08-23 15:19:06] local.INFO: Processing buffer {"connection_id":163174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e03e3d0012d1821000721b370004600db27..."} 
[2026-08-23 15:19:06] local.INFO: Packet analysis {"connection_id":163174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e03"} 
[2026-08-23 15:19:06] local.INFO: Extracted packet for processing {"connection_id":163174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e03"} 
[2026-08-23 15:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 15:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594465536001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787478402000,"timestamp_ms":1787478402000,"timestamp_seconds":1787478402,"priority":1,"record_length":96,"hex_timestamp":"000001a02e03e3d0"} 
[2026-08-23 15:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 15:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272262287556096,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185655,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3315147232733108315,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3498171892813594830,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3010461766,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-23 15:19:06] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2684431640,"corrected_to":0} 
[2026-08-23 15:19:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2147951050,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:06] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242666,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:06] local.WARNING: Large IO value detected {"io_id":80,"raw_value":60277427380682752,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:06] local.WARNING: Large IO value detected {"io_id":102,"raw_value":-7710162562058289151,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:06] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513979732750303446,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:06] local.WARNING: Large IO value detected {"io_id":37,"raw_value":16607023626584068,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:06] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,107,83,24,241,157,16,103,160,63,45,179,70,41,10,66,237,40,105,155,1,240,124,227,46,33,4,113,205,247,50,38,239,47,2,55,7,80,102,64,37],"length":534,"final_offset":664,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":247,"original":2684431640,"validated":0}]} 
[2026-08-23 15:19:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044272543205163008,"timestamp_seconds":5044272543205163.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 15:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594465536001,"66":12341,"105":206,"83":41984,"24":0,"16":15594729899032576,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594465536001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:19:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594465536001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":163174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:19:06] local.INFO: GPS data processed {"connection_id":163174,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:19:06] local.INFO: Acknowledgment sent {"connection_id":163174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:19:11] local.INFO: TCP Data received {"connection_id":160826,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e057a10012d7e004005d292800008005d28..."} 
[2026-08-23 15:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e057a10012d7e004005d292800008005d28..."} 
[2026-08-23 15:19:11] local.INFO: Processing buffer {"connection_id":160826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e057a10012d7e004005d292800008005d28..."} 
[2026-08-23 15:19:11] local.INFO: Packet analysis {"connection_id":160826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e05"} 
[2026-08-23 15:19:11] local.INFO: Extracted packet for processing {"connection_id":160826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e05"} 
[2026-08-23 15:19:11] local.INFO: GPS Element Parsed {"raw_longitude":763232320,"raw_latitude":97686144,"longitude_deg":76.323232,"latitude_deg":9.7686144,"altitude":8,"angle":93,"satellites":40,"speed":39,"hex_longitude":"2d7e0040","hex_latitude":"05d29280","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594495232001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122648585048162304,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068420087183224832,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787478506000,"timestamp_ms":1787478506000,"timestamp_seconds":1787478506,"priority":1,"record_length":96,"hex_timestamp":"000001a02e057a10"} 
[2026-08-23 15:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-23 15:19: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-08-23 15: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-08-23 15:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594495232001,"66":13015,"116":206,"85":15104,"24":39,"16":122648585048162304,"45":9068420087183224832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 15:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594495232001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:19:11] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 15:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122648585048162304,"km_value":122648585048162.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068420087183224832,"description":"Unknown IO ID 45"} 
[2026-08-23 15:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594495232001,"power":13015,"unknown_116":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9068420087183224832}} 
[2026-08-23 15:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":160826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:19:11] local.INFO: GPS data processed {"connection_id":160826,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:19:11] local.INFO: Acknowledgment sent {"connection_id":160826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:19:27] local.INFO: TCP Data received {"connection_id":160827,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:19:27] local.INFO: Processing buffer {"connection_id":160827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:19:27] local.INFO: Packet analysis {"connection_id":160827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:19:27] local.INFO: Extracted packet for processing {"connection_id":160827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:19:27] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594364416001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787478287000,"timestamp_ms":1787478287000,"timestamp_seconds":1787478287,"priority":1,"record_length":96,"hex_timestamp":"000001a02e022298"} 
[2026-08-23 15:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 15:19:27] 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-08-23 15:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594364416001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594364416001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:19:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:19:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594364416001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":160827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:19:27] local.INFO: GPS data processed {"connection_id":160827,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:19:27] local.INFO: Acknowledgment sent {"connection_id":160827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:19:29] local.INFO: TCP Data received {"connection_id":161772,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:19:29] local.INFO: Processing buffer {"connection_id":161772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:19:29] local.INFO: IMEI packet received {"connection_id":161772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":161772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:19:34] local.INFO: TCP Data received {"connection_id":160580,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:19:34] local.INFO: Processing buffer {"connection_id":160580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:19:34] local.INFO: IMEI packet received {"connection_id":160580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":160580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:19:34] local.INFO: TCP Data received {"connection_id":161772,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:19:34] local.INFO: Processing buffer {"connection_id":161772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:19:34] local.INFO: IMEI packet received {"connection_id":161772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":161772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:19:35] local.INFO: TCP Data received {"connection_id":161772,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0435d8012d1821000721b370004600db27..."} 
[2026-08-23 15:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0435d8012d1821000721b370004600db27..."} 
[2026-08-23 15:19:35] local.INFO: Processing buffer {"connection_id":161772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0435d8012d1821000721b370004600db27..."} 
[2026-08-23 15:19:35] local.INFO: Packet analysis {"connection_id":161772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e04"} 
[2026-08-23 15:19:35] local.INFO: Extracted packet for processing {"connection_id":161772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e04"} 
[2026-08-23 15:19:35] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 15:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594470912001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787478423000,"timestamp_ms":1787478423000,"timestamp_seconds":1787478423,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0435d8"} 
[2026-08-23 15:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 15:19:35] 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-08-23 15:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594470912001,"66":12341,"105":206,"83":41984,"24":0,"16":15594729899032576,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594470912001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:19:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:19:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594470912001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":161772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:19:35] local.INFO: GPS data processed {"connection_id":161772,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:19:35] local.INFO: Acknowledgment sent {"connection_id":161772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:19:38] local.INFO: TCP Data received {"connection_id":160580,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:19:38] local.INFO: Processing buffer {"connection_id":160580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:19:38] local.INFO: IMEI packet received {"connection_id":160580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":160580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:19:39] local.INFO: TCP Data received {"connection_id":160580,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:19:39] local.INFO: Processing buffer {"connection_id":160580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:19:39] local.INFO: IMEI packet received {"connection_id":160580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":160580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:19:40] local.INFO: TCP Data received {"connection_id":160580,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e059568012d7e140005d292300007004828..."} 
[2026-08-23 15:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e059568012d7e140005d292300007004828..."} 
[2026-08-23 15:19:40] local.INFO: Processing buffer {"connection_id":160580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e059568012d7e140005d292300007004828..."} 
[2026-08-23 15:19:40] local.INFO: Packet analysis {"connection_id":160580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e05"} 
[2026-08-23 15:19:40] local.INFO: Extracted packet for processing {"connection_id":160580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e05"} 
[2026-08-23 15:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763237376,"raw_latitude":97686064,"longitude_deg":76.3237376,"latitude_deg":9.7686064,"altitude":7,"angle":72,"satellites":40,"speed":20,"hex_longitude":"2d7e1400","hex_latitude":"05d29230","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594497536001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122648825566330880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079327242530750464,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787478513000,"timestamp_ms":1787478513000,"timestamp_seconds":1787478513,"priority":1,"record_length":96,"hex_timestamp":"000001a02e059568"} 
[2026-08-23 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-08-23 15:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 15:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 15:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594497536001,"66":12678,"116":206,"85":15104,"24":20,"16":122648825566330880,"45":9079327242530750464},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 15:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594497536001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:19:40] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 15:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122648825566330880,"km_value":122648825566330.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079327242530750464,"description":"Unknown IO ID 45"} 
[2026-08-23 15:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594497536001,"power":12678,"unknown_116":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9079327242530750464}} 
[2026-08-23 15:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":160580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:19:40] local.INFO: GPS data processed {"connection_id":160580,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:19:40] local.INFO: Acknowledgment sent {"connection_id":160580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:19:41] local.INFO: TCP Data received {"connection_id":160580,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e059d38012d7e180005d294500006003528..."} 
[2026-08-23 15:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e059d38012d7e180005d294500006003528..."} 
[2026-08-23 15:19:41] local.INFO: Processing buffer {"connection_id":160580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e059d38012d7e180005d294500006003528..."} 
[2026-08-23 15:19:41] local.INFO: Packet analysis {"connection_id":160580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e05"} 
[2026-08-23 15:19:41] local.INFO: Extracted packet for processing {"connection_id":160580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e05"} 
[2026-08-23 15:19:41] local.INFO: GPS Element Parsed {"raw_longitude":763238400,"raw_latitude":97686608,"longitude_deg":76.32384,"latitude_deg":9.7686608,"altitude":6,"angle":53,"satellites":40,"speed":24,"hex_longitude":"2d7e1800","hex_latitude":"05d29450","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594499328001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122648881400905728,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084886373320765440,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787478515000,"timestamp_ms":1787478515000,"timestamp_seconds":1787478515,"priority":1,"record_length":96,"hex_timestamp":"000001a02e059d38"} 
[2026-08-23 15:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-23 15:19:41] 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-08-23 15: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-08-23 15:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594499328001,"66":12037,"116":206,"85":15104,"24":24,"16":122648881400905728,"45":9084886373320765440},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 15:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594499328001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:19:41] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 15:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122648881400905728,"km_value":122648881400905.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084886373320765440,"description":"Unknown IO ID 45"} 
[2026-08-23 15:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594499328001,"power":12037,"unknown_116":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9084886373320765440}} 
[2026-08-23 15:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":160580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:19:41] local.INFO: GPS data processed {"connection_id":160580,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:19:41] local.INFO: Acknowledgment sent {"connection_id":160580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:19:46] local.INFO: TCP Data received {"connection_id":160828,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:19:46] local.INFO: Processing buffer {"connection_id":160828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:19:46] local.INFO: IMEI packet received {"connection_id":160828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":160828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:19:51] local.INFO: TCP Data received {"connection_id":160828,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:19:51] local.INFO: Processing buffer {"connection_id":160828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:19:51] local.INFO: IMEI packet received {"connection_id":160828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":160828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:19:52] local.INFO: TCP Data received {"connection_id":160828,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:19:52] local.INFO: Processing buffer {"connection_id":160828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:19:52] local.INFO: Packet analysis {"connection_id":160828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:19:52] local.INFO: Extracted packet for processing {"connection_id":160828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594364416001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787478287000,"timestamp_ms":1787478287000,"timestamp_seconds":1787478287,"priority":1,"record_length":96,"hex_timestamp":"000001a02e022298"} 
[2026-08-23 15:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 15:19:52] 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-08-23 15:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:19:52] 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-08-23 15:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594364416001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594364416001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:19:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594364416001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":160828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:19:52] local.INFO: GPS data processed {"connection_id":160828,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:19:52] local.INFO: Acknowledgment sent {"connection_id":160828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:20:06] local.INFO: TCP Data received {"connection_id":161772,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0487e0012d1821000721b370004600db27..."} 
[2026-08-23 15:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0487e0012d1821000721b370004600db27..."} 
[2026-08-23 15:20:06] local.INFO: Processing buffer {"connection_id":161772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0487e0012d1821000721b370004600db27..."} 
[2026-08-23 15:20:06] local.INFO: Packet analysis {"connection_id":161772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e04"} 
[2026-08-23 15:20:06] local.INFO: Extracted packet for processing {"connection_id":161772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e04"} 
[2026-08-23 15:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 15:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594476288001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787478444000,"timestamp_ms":1787478444000,"timestamp_seconds":1787478444,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0487e0"} 
[2026-08-23 15:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 15:20:06] 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-08-23 15:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594476288001,"66":12319,"105":206,"83":41984,"24":0,"16":15594729899032576,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594476288001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:20:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594476288001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":161772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:20:06] local.INFO: GPS data processed {"connection_id":161772,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:20:06] local.INFO: Acknowledgment sent {"connection_id":161772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:20:12] local.INFO: TCP Data received {"connection_id":160580,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e05cc18012d7e338005d2add80005003027..."} 
[2026-08-23 15:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e05cc18012d7e338005d2add80005003027..."} 
[2026-08-23 15:20:12] local.INFO: Processing buffer {"connection_id":160580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e05cc18012d7e338005d2add80005003027..."} 
[2026-08-23 15:20:12] local.INFO: Packet analysis {"connection_id":160580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e05"} 
[2026-08-23 15:20:12] local.INFO: Extracted packet for processing {"connection_id":160580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e05"} 
[2026-08-23 15:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97693144,"longitude_deg":76.324544,"latitude_deg":9.7693144,"altitude":5,"angle":48,"satellites":39,"speed":35,"hex_longitude":"2d7e3380","hex_latitude":"05d2add8","is_valid_coordinates":true} 
[2026-08-23 15:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594499840001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122649345257373696,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086012273227747328,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787478527000,"timestamp_ms":1787478527000,"timestamp_seconds":1787478527,"priority":1,"record_length":96,"hex_timestamp":"000001a02e05cc18"} 
[2026-08-23 15:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-23 15:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1152921504774620160,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:12] local.WARNING: Large IO value detected {"io_id":187,"raw_value":3472883712,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:12] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2414870532,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6452250004945174504,"corrected_to":0} 
[2026-08-23 15:20:12] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3489738109,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:12] local.WARNING: Large IO value detected {"io_id":144,"raw_value":2147865231,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:12] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:12] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802214,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:12] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3137208320,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3274152113352976599,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:12] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194992128,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:12] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,116,85,24,241,157,16,188,160,149,45,146,7,40,10,66,122,64,8,86,128,1,240,134,227,187,46,210,4,113,205,18,221,144,48,239,50,117,2,179,5,69],"length":484,"final_offset":614,"validated_count":42,"validation_warnings":[{"io_id":205,"original":-6452250004945174504,"validated":0}]} 
[2026-08-23 15:20:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432404010144104448,"timestamp_seconds":432404010144104.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 15:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594499840001,"66":12798,"116":206,"85":15104,"24":35,"16":122649345257373696,"45":9086012273227747328},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-08-23 15:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594499840001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:20:12] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-23 15:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122649345257373696,"km_value":122649345257373.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086012273227747328,"description":"Unknown IO ID 45"} 
[2026-08-23 15:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594499840001,"power":12798,"unknown_116":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9086012273227747328}} 
[2026-08-23 15:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":160580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:20:12] local.INFO: GPS data processed {"connection_id":160580,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:20:12] local.INFO: Acknowledgment sent {"connection_id":160580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:20:23] local.INFO: TCP Data received {"connection_id":160828,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:20:23] local.INFO: Processing buffer {"connection_id":160828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e022298012d34c50006aa40980006008524..."} 
[2026-08-23 15:20:23] local.INFO: Packet analysis {"connection_id":160828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:20:23] local.INFO: Extracted packet for processing {"connection_id":160828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e02"} 
[2026-08-23 15:20:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594364416001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787478287000,"timestamp_ms":1787478287000,"timestamp_seconds":1787478287,"priority":1,"record_length":96,"hex_timestamp":"000001a02e022298"} 
[2026-08-23 15:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 15:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:20:23] 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-08-23 15:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594364416001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594364416001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:20:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:20:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594364416001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":160828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:20:23] local.INFO: GPS data processed {"connection_id":160828,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:20:23] local.INFO: Acknowledgment sent {"connection_id":160828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:20:29] local.INFO: TCP Data received {"connection_id":160581,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:20:29] local.INFO: Processing buffer {"connection_id":160581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:20:29] local.INFO: IMEI packet received {"connection_id":160581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":160581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:20:29] local.INFO: TCP Data received {"connection_id":160581,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:20:29] local.INFO: Processing buffer {"connection_id":160581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:20:29] local.INFO: IMEI packet received {"connection_id":160581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":160581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:20:34] local.INFO: TCP Data received {"connection_id":160581,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:20:34] local.INFO: Processing buffer {"connection_id":160581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:20:34] local.INFO: IMEI packet received {"connection_id":160581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":160581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:20:35] local.INFO: TCP Data received {"connection_id":160581,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e04d9e8012d1821000721b370004600db29..."} 
[2026-08-23 15:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e04d9e8012d1821000721b370004600db29..."} 
[2026-08-23 15:20:35] local.INFO: Processing buffer {"connection_id":160581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e04d9e8012d1821000721b370004600db29..."} 
[2026-08-23 15:20:35] local.INFO: Packet analysis {"connection_id":160581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e04"} 
[2026-08-23 15:20:35] local.INFO: Extracted packet for processing {"connection_id":160581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e04"} 
[2026-08-23 15:20:35] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594481664001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787478465000,"timestamp_ms":1787478465000,"timestamp_seconds":1787478465,"priority":1,"record_length":96,"hex_timestamp":"000001a02e04d9e8"} 
[2026-08-23 15:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 15:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594481664001,"66":12406,"105":206,"83":41984,"24":0,"16":15594729899032576,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594481664001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:20:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:20:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594481664001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":160581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:20:35] local.INFO: GPS data processed {"connection_id":160581,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:20:35] local.INFO: Acknowledgment sent {"connection_id":160581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:20:39] local.INFO: TCP Data received {"connection_id":160829,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:20:39] local.INFO: Processing buffer {"connection_id":160829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:20:39] local.INFO: IMEI packet received {"connection_id":160829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":160829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:20:40] local.INFO: TCP Data received {"connection_id":160829,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:20:40] local.INFO: Processing buffer {"connection_id":160829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:20:40] local.INFO: IMEI packet received {"connection_id":160829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":160829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:20:41] local.INFO: TCP Data received {"connection_id":160829,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:20:41] local.INFO: Processing buffer {"connection_id":160829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:20:41] local.INFO: IMEI packet received {"connection_id":160829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":160829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:20:42] local.INFO: TCP Data received {"connection_id":160829,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e070498012d7e628005d328580000016428..."} 
[2026-08-23 15:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e070498012d7e628005d328580000016428..."} 
[2026-08-23 15:20:42] local.INFO: Processing buffer {"connection_id":160829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e070498012d7e628005d328580000016428..."} 
[2026-08-23 15:20:42] local.INFO: Packet analysis {"connection_id":160829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e07"} 
[2026-08-23 15:20:42] local.INFO: Extracted packet for processing {"connection_id":160829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e07"} 
[2026-08-23 15:20:42] local.INFO: GPS Element Parsed {"raw_longitude":763257472,"raw_latitude":97724504,"longitude_deg":76.3257472,"latitude_deg":9.7724504,"altitude":0,"angle":356,"satellites":40,"speed":29,"hex_longitude":"2d7e6280","hex_latitude":"05d32858","is_valid_coordinates":true} 
[2026-08-23 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":795,"current_offset":40} 
[2026-08-23 15:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594519808001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122651114783899648,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107545108953546752,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787478607000,"timestamp_ms":1787478607000,"timestamp_seconds":1787478607,"priority":1,"record_length":96,"hex_timestamp":"000001a02e070498"} 
[2026-08-23 15:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-23 15:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594519808001,"66":12819,"109":206,"85":15104,"24":29,"16":122651114783899648,"45":9107545108953546752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 15:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594519808001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:20:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 15:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122651114783899648,"km_value":122651114783899.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107545108953546752,"description":"Unknown IO ID 45"} 
[2026-08-23 15:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594519808001,"power":12819,"unknown_109":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9107545108953546752}} 
[2026-08-23 15:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":160829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:20:42] local.INFO: GPS data processed {"connection_id":160829,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:20:42] local.INFO: Acknowledgment sent {"connection_id":160829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:20:43] local.INFO: TCP Data received {"connection_id":160829,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e073760012d7e5f8005d34c000000015e28..."} 
[2026-08-23 15:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e073760012d7e5f8005d34c000000015e28..."} 
[2026-08-23 15:20:43] local.INFO: Processing buffer {"connection_id":160829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e073760012d7e5f8005d34c000000015e28..."} 
[2026-08-23 15:20:43] local.INFO: Packet analysis {"connection_id":160829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e07"} 
[2026-08-23 15:20:43] local.INFO: Extracted packet for processing {"connection_id":160829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e07"} 
[2026-08-23 15:20:43] local.INFO: GPS Element Parsed {"raw_longitude":763256704,"raw_latitude":97733632,"longitude_deg":76.3256704,"latitude_deg":9.7733632,"altitude":0,"angle":350,"satellites":40,"speed":19,"hex_longitude":"2d7e5f80","hex_latitude":"05d34c00","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594523392001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122651557165531136,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106982159002392576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787478620000,"timestamp_ms":1787478620000,"timestamp_seconds":1787478620,"priority":1,"record_length":96,"hex_timestamp":"000001a02e073760"} 
[2026-08-23 15:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 15:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6452531479921885160,"corrected_to":0} 
[2026-08-23 15:20:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3252821587774142937,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:43] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505471119065088,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:43] local.WARNING: Large IO value detected {"io_id":46,"raw_value":460616212259165952,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:43] local.WARNING: Large IO value detected {"io_id":210,"raw_value":4289724421,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:43] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5476641033972678912,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:43] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3221607165,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:43] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182165285110016,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:43] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4539854539183935061,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:43] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3187474432,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:43] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755502520402161,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:43] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195003136,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:43] local.WARNING: Large IO value detected {"io_id":184,"raw_value":84862876896318166,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:43] local.WARNING: Large IO value detected {"io_id":208,"raw_value":1970398505732352,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:43] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,109,85,24,241,157,16,190,160,205,45,128,5,3,41,10,66,116,162,2,40,155,1,240,22,227,46,210,4,113,147,89,224,239,50,179,59,246,69,184,208],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":-6452531479921885160,"validated":0}]} 
[2026-08-23 15:20:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":391597940080640,"timestamp_seconds":391597940080.64,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 15:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594523392001,"66":12798,"109":206,"85":15104,"24":19,"16":122651557165531136,"45":9106982159002392576},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 15:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594523392001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:20:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 15:20:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122651557165531136,"km_value":122651557165531.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106982159002392576,"description":"Unknown IO ID 45"} 
[2026-08-23 15:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594523392001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9106982159002392576}} 
[2026-08-23 15:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":160829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:20:43] local.INFO: GPS data processed {"connection_id":160829,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:20:43] local.INFO: Acknowledgment sent {"connection_id":160829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:20:46] local.INFO: TCP Data received {"connection_id":160582,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:20:46] local.INFO: Processing buffer {"connection_id":160582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:20:46] local.INFO: IMEI packet received {"connection_id":160582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":160582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:20:51] local.INFO: TCP Data received {"connection_id":160582,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:20:51] local.INFO: Processing buffer {"connection_id":160582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:20:51] local.INFO: IMEI packet received {"connection_id":160582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":160582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:20:52] local.INFO: TCP Data received {"connection_id":160582,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:20:52] local.INFO: Processing buffer {"connection_id":160582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:20:52] local.INFO: Packet analysis {"connection_id":160582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:20:52] local.INFO: Extracted packet for processing {"connection_id":160582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:20:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594441472001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787478588000,"timestamp_ms":1787478588000,"timestamp_seconds":1787478588,"priority":1,"record_length":96,"hex_timestamp":"000001a02e06ba60"} 
[2026-08-23 15:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 15:20:52] 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-08-23 15:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594441472001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594441472001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:20:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:20:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594441472001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":160582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:20:52] local.INFO: GPS data processed {"connection_id":160582,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:20:52] local.INFO: Acknowledgment sent {"connection_id":160582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:21:06] local.INFO: TCP Data received {"connection_id":160581,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e052bf0012d1821000721b370004600db28..."} 
[2026-08-23 15:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e052bf0012d1821000721b370004600db28..."} 
[2026-08-23 15:21:06] local.INFO: Processing buffer {"connection_id":160581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e052bf0012d1821000721b370004600db28..."} 
[2026-08-23 15:21:06] local.INFO: Packet analysis {"connection_id":160581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e05"} 
[2026-08-23 15:21:06] local.INFO: Extracted packet for processing {"connection_id":160581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e05"} 
[2026-08-23 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 15:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594487040001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787478486000,"timestamp_ms":1787478486000,"timestamp_seconds":1787478486,"priority":1,"record_length":96,"hex_timestamp":"000001a02e052bf0"} 
[2026-08-23 15:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 15:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594487040001,"66":12385,"105":206,"83":41984,"24":0,"16":15594729899032576,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594487040001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:21:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594487040001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":160581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:21:06] local.INFO: GPS data processed {"connection_id":160581,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:21:06] local.INFO: Acknowledgment sent {"connection_id":160581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:21:14] local.INFO: TCP Data received {"connection_id":160829,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e073f30012d7e5e4005d34f800000014c27..."} 
[2026-08-23 15:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e073f30012d7e5e4005d34f800000014c27..."} 
[2026-08-23 15:21:14] local.INFO: Processing buffer {"connection_id":160829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e073f30012d7e5e4005d34f800000014c27..."} 
[2026-08-23 15:21:14] local.INFO: Packet analysis {"connection_id":160829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e07"} 
[2026-08-23 15:21:14] local.INFO: Extracted packet for processing {"connection_id":160829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e07"} 
[2026-08-23 15:21:14] local.INFO: GPS Element Parsed {"raw_longitude":763256384,"raw_latitude":97734528,"longitude_deg":76.3256384,"latitude_deg":9.7734528,"altitude":0,"angle":332,"satellites":39,"speed":17,"hex_longitude":"2d7e5e40","hex_latitude":"05d34f80","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594526720001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122651604410171392,"note":"Value kept but may cause issues"} 
[2026-08-23 15:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106137734074597376,"note":"Value kept but may cause issues"} 
[2026-08-23 15:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787478622000,"timestamp_ms":1787478622000,"timestamp_seconds":1787478622,"priority":1,"record_length":96,"hex_timestamp":"000001a02e073f30"} 
[2026-08-23 15:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-23 15:21:14] 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-08-23 15: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-08-23 15:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594526720001,"66":12798,"109":206,"85":15104,"24":17,"16":122651604410171392,"45":9106137734074597376},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 15:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594526720001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:21:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 15:21:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122651604410171392,"km_value":122651604410171.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106137734074597376,"description":"Unknown IO ID 45"} 
[2026-08-23 15:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594526720001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9106137734074597376}} 
[2026-08-23 15:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":160829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:21:14] local.INFO: GPS data processed {"connection_id":160829,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:21:14] local.INFO: Acknowledgment sent {"connection_id":160829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:21:24] local.INFO: TCP Data received {"connection_id":160582,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:21:24] local.INFO: Processing buffer {"connection_id":160582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:21:24] local.INFO: Packet analysis {"connection_id":160582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:21:24] local.INFO: Extracted packet for processing {"connection_id":160582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:21:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594441472001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787478588000,"timestamp_ms":1787478588000,"timestamp_seconds":1787478588,"priority":1,"record_length":96,"hex_timestamp":"000001a02e06ba60"} 
[2026-08-23 15:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 15:21:24] 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-08-23 15:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594441472001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594441472001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:21:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:21:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594441472001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":160582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:21:24] local.INFO: GPS data processed {"connection_id":160582,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:21:24] local.INFO: Acknowledgment sent {"connection_id":160582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:21:29] local.INFO: TCP Data received {"connection_id":160583,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:21:29] local.INFO: Processing buffer {"connection_id":160583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:21:29] local.INFO: IMEI packet received {"connection_id":160583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":160583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:21:32] local.INFO: TCP Data received {"connection_id":160583,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:21:32] local.INFO: Processing buffer {"connection_id":160583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:21:32] local.INFO: IMEI packet received {"connection_id":160583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":160583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:21:34] local.INFO: TCP Data received {"connection_id":160584,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:21:34] local.INFO: Processing buffer {"connection_id":160584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:21:34] local.INFO: IMEI packet received {"connection_id":160584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":160584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:21:35] local.INFO: TCP Data received {"connection_id":160583,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:21:35] local.INFO: Processing buffer {"connection_id":160583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:21:35] local.INFO: IMEI packet received {"connection_id":160583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":160583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:21:35] local.INFO: TCP Data received {"connection_id":160583,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e057df8012d1821000721b370004600db27..."} 
[2026-08-23 15:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e057df8012d1821000721b370004600db27..."} 
[2026-08-23 15:21:35] local.INFO: Processing buffer {"connection_id":160583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e057df8012d1821000721b370004600db27..."} 
[2026-08-23 15:21:35] local.INFO: Packet analysis {"connection_id":160583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e05"} 
[2026-08-23 15:21:35] local.INFO: Extracted packet for processing {"connection_id":160583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e05"} 
[2026-08-23 15:21:35] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 15:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594492416001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787478507000,"timestamp_ms":1787478507000,"timestamp_seconds":1787478507,"priority":1,"record_length":96,"hex_timestamp":"000001a02e057df8"} 
[2026-08-23 15:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 15:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594492416001,"66":12385,"105":206,"83":41984,"24":0,"16":15594729899032576,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594492416001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:21:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:21:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594492416001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":160583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:21:36] local.INFO: GPS data processed {"connection_id":160583,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:21:36] local.INFO: Acknowledgment sent {"connection_id":160583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:21:36] local.INFO: TCP Data received {"connection_id":160584,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:21:36] local.INFO: Processing buffer {"connection_id":160584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:21:36] local.INFO: IMEI packet received {"connection_id":160584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":160584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:21:37] local.INFO: TCP Data received {"connection_id":160584,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e082d78012d7e3a4005d3a3100004010428..."} 
[2026-08-23 15:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e082d78012d7e3a4005d3a3100004010428..."} 
[2026-08-23 15:21:37] local.INFO: Processing buffer {"connection_id":160584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e082d78012d7e3a4005d3a3100004010428..."} 
[2026-08-23 15:21:37] local.INFO: Packet analysis {"connection_id":160584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e08"} 
[2026-08-23 15:21:37] local.INFO: Extracted packet for processing {"connection_id":160584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e08"} 
[2026-08-23 15:21:37] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97755920,"longitude_deg":76.3247168,"latitude_deg":9.775592,"altitude":4,"angle":260,"satellites":40,"speed":22,"hex_longitude":"2d7e3a40","hex_latitude":"05d3a310","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594540544001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122652935850033152,"note":"Value kept but may cause issues"} 
[2026-08-23 15:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100015653336889344,"note":"Value kept but may cause issues"} 
[2026-08-23 15:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787478683000,"timestamp_ms":1787478683000,"timestamp_seconds":1787478683,"priority":1,"record_length":96,"hex_timestamp":"000001a02e082d78"} 
[2026-08-23 15:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-23 15:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594540544001,"66":13015,"109":206,"85":15104,"24":22,"16":122652935850033152,"45":9100015653336889344},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 15:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594540544001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:21:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 15:21:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122652935850033152,"km_value":122652935850033.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100015653336889344,"description":"Unknown IO ID 45"} 
[2026-08-23 15:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594540544001,"power":13015,"unknown_109":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9100015653336889344}} 
[2026-08-23 15:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":160584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:21:37] local.INFO: GPS data processed {"connection_id":160584,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:21:37] local.INFO: Acknowledgment sent {"connection_id":160584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:21:45] local.INFO: TCP Data received {"connection_id":161773,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:21:45] local.INFO: Processing buffer {"connection_id":161773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:21:45] local.INFO: IMEI packet received {"connection_id":161773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":161773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:21:51] local.INFO: TCP Data received {"connection_id":161773,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:21:51] local.INFO: Processing buffer {"connection_id":161773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:21:51] local.INFO: IMEI packet received {"connection_id":161773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":161773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:21:52] local.INFO: TCP Data received {"connection_id":161773,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:21:52] local.INFO: Processing buffer {"connection_id":161773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:21:52] local.INFO: Packet analysis {"connection_id":161773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:21:52] local.INFO: Extracted packet for processing {"connection_id":161773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:21:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:21: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-08-23 15:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594441472001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787478588000,"timestamp_ms":1787478588000,"timestamp_seconds":1787478588,"priority":1,"record_length":96,"hex_timestamp":"000001a02e06ba60"} 
[2026-08-23 15:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 15:21:52] 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-08-23 15:21: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-08-23 15:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594441472001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594441472001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:21:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:21:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594441472001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":161773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:21:52] local.INFO: GPS data processed {"connection_id":161773,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:21:52] local.INFO: Acknowledgment sent {"connection_id":161773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:22:07] local.INFO: TCP Data received {"connection_id":160583,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e05d000012d1821000721b370004600db28..."} 
[2026-08-23 15:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e05d000012d1821000721b370004600db28..."} 
[2026-08-23 15:22:07] local.INFO: Processing buffer {"connection_id":160583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e05d000012d1821000721b370004600db28..."} 
[2026-08-23 15:22:07] local.INFO: Packet analysis {"connection_id":160583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e05"} 
[2026-08-23 15:22:07] local.INFO: Extracted packet for processing {"connection_id":160583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e05"} 
[2026-08-23 15:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 15:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594497792001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787478528000,"timestamp_ms":1787478528000,"timestamp_seconds":1787478528,"priority":1,"record_length":96,"hex_timestamp":"000001a02e05d000"} 
[2026-08-23 15:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 15:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594497792001,"66":12439,"105":206,"83":41984,"24":0,"16":15594729899032576,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594497792001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:22:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594497792001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":160583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:22:07] local.INFO: GPS data processed {"connection_id":160583,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:22:07] local.INFO: Acknowledgment sent {"connection_id":160583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:22:08] local.INFO: TCP Data received {"connection_id":160584,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e08b248012d7e120005d3aa000006000227..."} 
[2026-08-23 15:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e08b248012d7e120005d3aa000006000227..."} 
[2026-08-23 15:22:08] local.INFO: Processing buffer {"connection_id":160584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e08b248012d7e120005d3aa000006000227..."} 
[2026-08-23 15:22:08] local.INFO: Packet analysis {"connection_id":160584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e08"} 
[2026-08-23 15:22:08] local.INFO: Extracted packet for processing {"connection_id":160584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e08"} 
[2026-08-23 15:22:08] local.INFO: GPS Element Parsed {"raw_longitude":763236864,"raw_latitude":97757696,"longitude_deg":76.3236864,"latitude_deg":9.7757696,"altitude":6,"angle":2,"satellites":39,"speed":5,"hex_longitude":"2d7e1200","hex_latitude":"05d3aa00","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594551296001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122653481310879744,"note":"Value kept but may cause issues"} 
[2026-08-23 15:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084393792129816576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787478717000,"timestamp_ms":1787478717000,"timestamp_seconds":1787478717,"priority":1,"record_length":96,"hex_timestamp":"000001a02e08b248"} 
[2026-08-23 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-08-23 15:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-23 15:22:08] 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-08-23 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-08-23 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-08-23 15:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594551296001,"66":12906,"109":206,"85":15104,"24":5,"16":122653481310879744,"45":9084393792129816576},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 15:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594551296001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:22:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 15:22:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122653481310879744,"km_value":122653481310879.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084393792129816576,"description":"Unknown IO ID 45"} 
[2026-08-23 15:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594551296001,"power":12906,"unknown_109":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9084393792129816576}} 
[2026-08-23 15:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":160584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:22:08] local.INFO: GPS data processed {"connection_id":160584,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:22:08] local.INFO: Acknowledgment sent {"connection_id":160584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:22:23] local.INFO: TCP Data received {"connection_id":161773,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:22:23] local.INFO: Processing buffer {"connection_id":161773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:22:23] local.INFO: Packet analysis {"connection_id":161773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:22:23] local.INFO: Extracted packet for processing {"connection_id":161773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:22:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594441472001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787478588000,"timestamp_ms":1787478588000,"timestamp_seconds":1787478588,"priority":1,"record_length":96,"hex_timestamp":"000001a02e06ba60"} 
[2026-08-23 15:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15: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":129,"data_length":795,"current_offset":136} 
[2026-08-23 15:22:23] 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-08-23 15: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-08-23 15:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594441472001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594441472001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:22:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:22:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594441472001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":161773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:22:23] local.INFO: GPS data processed {"connection_id":161773,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:22:23] local.INFO: Acknowledgment sent {"connection_id":161773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:22:34] local.INFO: TCP Data received {"connection_id":161774,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:22:34] local.INFO: Processing buffer {"connection_id":161774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:22:34] local.INFO: IMEI packet received {"connection_id":161774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":161774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:22:34] local.INFO: TCP Data received {"connection_id":160585,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:22:34] local.INFO: Processing buffer {"connection_id":160585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:22:34] local.INFO: IMEI packet received {"connection_id":160585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":160585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:22:35] local.INFO: TCP Data received {"connection_id":160585,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:22:35] local.INFO: Processing buffer {"connection_id":160585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:22:35] local.INFO: IMEI packet received {"connection_id":160585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":160585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:22:36] local.INFO: TCP Data received {"connection_id":160585,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e062208012d1821000721b370004600db29..."} 
[2026-08-23 15:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e062208012d1821000721b370004600db29..."} 
[2026-08-23 15:22:36] local.INFO: Processing buffer {"connection_id":160585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e062208012d1821000721b370004600db29..."} 
[2026-08-23 15:22:36] local.INFO: Packet analysis {"connection_id":160585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:22:36] local.INFO: Extracted packet for processing {"connection_id":160585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594503168001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787478549000,"timestamp_ms":1787478549000,"timestamp_seconds":1787478549,"priority":1,"record_length":96,"hex_timestamp":"000001a02e062208"} 
[2026-08-23 15:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 15:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594503168001,"66":12461,"105":206,"83":41984,"24":0,"16":15594729899032576,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594503168001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:22:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594503168001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":160585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:22:36] local.INFO: GPS data processed {"connection_id":160585,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:22:36] local.INFO: Acknowledgment sent {"connection_id":160585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:22:40] local.INFO: TCP Data received {"connection_id":160585,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e067410012d1821000721b370004600db2a..."} 
[2026-08-23 15:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e067410012d1821000721b370004600db2a..."} 
[2026-08-23 15:22:40] local.INFO: Processing buffer {"connection_id":160585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e067410012d1821000721b370004600db2a..."} 
[2026-08-23 15:22:40] local.INFO: Packet analysis {"connection_id":160585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:22:40] local.INFO: Extracted packet for processing {"connection_id":160585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:22:40] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594508544001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787478570000,"timestamp_ms":1787478570000,"timestamp_seconds":1787478570,"priority":1,"record_length":96,"hex_timestamp":"000001a02e067410"} 
[2026-08-23 15:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594508544001,"66":12385,"105":206,"83":41984,"24":0,"16":15594729899032576,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594508544001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:22:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:22:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594508544001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:22:40] local.INFO: TCP Data received {"connection_id":161774,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:22:40] local.INFO: Processing buffer {"connection_id":161774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:22:40] local.INFO: IMEI packet received {"connection_id":161774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":161774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":160585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:22:40] local.INFO: GPS data processed {"connection_id":160585,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:22:40] local.INFO: Acknowledgment sent {"connection_id":160585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:22:41] local.INFO: TCP Data received {"connection_id":161774,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e08d188012d7e11c005d3b3500004001d27..."} 
[2026-08-23 15:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e08d188012d7e11c005d3b3500004001d27..."} 
[2026-08-23 15:22:41] local.INFO: Processing buffer {"connection_id":161774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e08d188012d7e11c005d3b3500004001d27..."} 
[2026-08-23 15:22:41] local.INFO: Packet analysis {"connection_id":161774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e08"} 
[2026-08-23 15:22:41] local.INFO: Extracted packet for processing {"connection_id":161774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e08"} 
[2026-08-23 15:22:41] local.INFO: GPS Element Parsed {"raw_longitude":763236800,"raw_latitude":97760080,"longitude_deg":76.32368,"latitude_deg":9.776008,"altitude":4,"angle":29,"satellites":39,"speed":13,"hex_longitude":"2d7e11c0","hex_latitude":"05d3b350","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594551552001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122653601569964032,"note":"Value kept but may cause issues"} 
[2026-08-23 15:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084323423385681920,"note":"Value kept but may cause issues"} 
[2026-08-23 15:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787478725000,"timestamp_ms":1787478725000,"timestamp_seconds":1787478725,"priority":1,"record_length":96,"hex_timestamp":"000001a02e08d188"} 
[2026-08-23 15:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-23 15:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594551552001,"66":12906,"109":206,"85":15104,"24":13,"16":122653601569964032,"45":9084323423385681920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 15:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594551552001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:22:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 15:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122653601569964032,"km_value":122653601569964.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084323423385681920,"description":"Unknown IO ID 45"} 
[2026-08-23 15:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594551552001,"power":12906,"unknown_109":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9084323423385681920}} 
[2026-08-23 15:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":161774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:22:41] local.INFO: GPS data processed {"connection_id":161774,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:22:41] local.INFO: Acknowledgment sent {"connection_id":161774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:22:51] local.INFO: TCP Data received {"connection_id":160586,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:22:51] local.INFO: Processing buffer {"connection_id":160586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:22:51] local.INFO: IMEI packet received {"connection_id":160586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":160586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:22:56] local.INFO: TCP Data received {"connection_id":160586,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:22:56] local.INFO: Processing buffer {"connection_id":160586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:22:56] local.INFO: IMEI packet received {"connection_id":160586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":160586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:22:57] local.INFO: TCP Data received {"connection_id":160586,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:22:57] local.INFO: Processing buffer {"connection_id":160586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:22:57] local.INFO: Packet analysis {"connection_id":160586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:22:57] local.INFO: Extracted packet for processing {"connection_id":160586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:22:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594441472001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787478588000,"timestamp_ms":1787478588000,"timestamp_seconds":1787478588,"priority":1,"record_length":96,"hex_timestamp":"000001a02e06ba60"} 
[2026-08-23 15:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 15:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594441472001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594441472001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:22:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:22:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594441472001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":160586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:22:57] local.INFO: GPS data processed {"connection_id":160586,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:22:57] local.INFO: Acknowledgment sent {"connection_id":160586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:23:11] local.INFO: TCP Data received {"connection_id":160585,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e06c618012d1821000721b370004600db29..."} 
[2026-08-23 15:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e06c618012d1821000721b370004600db29..."} 
[2026-08-23 15:23:11] local.INFO: Processing buffer {"connection_id":160585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e06c618012d1821000721b370004600db29..."} 
[2026-08-23 15:23:11] local.INFO: Packet analysis {"connection_id":160585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:23:11] local.INFO: Extracted packet for processing {"connection_id":160585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:23:11] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594513920001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787478591000,"timestamp_ms":1787478591000,"timestamp_seconds":1787478591,"priority":1,"record_length":96,"hex_timestamp":"000001a02e06c618"} 
[2026-08-23 15:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 15:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594513920001,"66":12406,"105":206,"83":41984,"24":0,"16":15594729899032576,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594513920001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:23:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:23:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594513920001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":160585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:23:11] local.INFO: GPS data processed {"connection_id":160585,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:23:11] local.INFO: Acknowledgment sent {"connection_id":160585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:23:11] local.INFO: TCP Data received {"connection_id":161774,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e08d570012d7e128005d3b4300004003728..."} 
[2026-08-23 15:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e08d570012d7e128005d3b4300004003728..."} 
[2026-08-23 15:23:11] local.INFO: Processing buffer {"connection_id":161774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e08d570012d7e128005d3b4300004003728..."} 
[2026-08-23 15:23:11] local.INFO: Packet analysis {"connection_id":161774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e08"} 
[2026-08-23 15:23:11] local.INFO: Extracted packet for processing {"connection_id":161774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e08"} 
[2026-08-23 15:23:11] local.INFO: GPS Element Parsed {"raw_longitude":763236992,"raw_latitude":97760304,"longitude_deg":76.3236992,"latitude_deg":9.7760304,"altitude":4,"angle":55,"satellites":40,"speed":12,"hex_longitude":"2d7e1280","hex_latitude":"05d3b430","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594553600001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122653614454865920,"note":"Value kept but may cause issues"} 
[2026-08-23 15:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084253054642114560,"note":"Value kept but may cause issues"} 
[2026-08-23 15:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787478726000,"timestamp_ms":1787478726000,"timestamp_seconds":1787478726,"priority":1,"record_length":96,"hex_timestamp":"000001a02e08d570"} 
[2026-08-23 15:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-23 15:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594553600001,"66":12906,"109":206,"85":15104,"24":12,"16":122653614454865920,"45":9084253054642114560},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 15:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594553600001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:23:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 15:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122653614454865920,"km_value":122653614454865.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084253054642114560,"description":"Unknown IO ID 45"} 
[2026-08-23 15:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594553600001,"power":12906,"unknown_109":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9084253054642114560}} 
[2026-08-23 15:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":161774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:23:11] local.INFO: GPS data processed {"connection_id":161774,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:23:11] local.INFO: Acknowledgment sent {"connection_id":161774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:23:28] local.INFO: TCP Data received {"connection_id":160586,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:23:28] local.INFO: Processing buffer {"connection_id":160586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:23:28] local.INFO: Packet analysis {"connection_id":160586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:23:28] local.INFO: Extracted packet for processing {"connection_id":160586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:23:28] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594441472001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787478588000,"timestamp_ms":1787478588000,"timestamp_seconds":1787478588,"priority":1,"record_length":96,"hex_timestamp":"000001a02e06ba60"} 
[2026-08-23 15:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 15:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594441472001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594441472001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:23:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:23:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594441472001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":160586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:23:28] local.INFO: GPS data processed {"connection_id":160586,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:23:28] local.INFO: Acknowledgment sent {"connection_id":160586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:23:29] local.INFO: TCP Data received {"connection_id":160587,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:23:29] local.INFO: Processing buffer {"connection_id":160587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:23:29] local.INFO: IMEI packet received {"connection_id":160587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":160587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:23:34] local.INFO: TCP Data received {"connection_id":160587,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:23:34] local.INFO: Processing buffer {"connection_id":160587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:23:34] local.INFO: IMEI packet received {"connection_id":160587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":160587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:23:34] local.INFO: TCP Data received {"connection_id":161775,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:23:34] local.INFO: Processing buffer {"connection_id":161775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:23:34] local.INFO: IMEI packet received {"connection_id":161775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":161775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:23:35] local.INFO: TCP Data received {"connection_id":160587,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e071820012d1821000721b370004600db27..."} 
[2026-08-23 15:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e071820012d1821000721b370004600db27..."} 
[2026-08-23 15:23:35] local.INFO: Processing buffer {"connection_id":160587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e071820012d1821000721b370004600db27..."} 
[2026-08-23 15:23:35] local.INFO: Packet analysis {"connection_id":160587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e07"} 
[2026-08-23 15:23:35] local.INFO: Extracted packet for processing {"connection_id":160587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e07"} 
[2026-08-23 15:23:35] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 15:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594519296001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787478612000,"timestamp_ms":1787478612000,"timestamp_seconds":1787478612,"priority":1,"record_length":96,"hex_timestamp":"000001a02e071820"} 
[2026-08-23 15:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 15:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594519296001,"66":12461,"105":206,"83":41984,"24":0,"16":15594729899032576,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594519296001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:23:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:23:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594519296001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":160587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:23:35] local.INFO: GPS data processed {"connection_id":160587,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:23:35] local.INFO: Acknowledgment sent {"connection_id":160587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:23:38] local.INFO: TCP Data received {"connection_id":161775,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:23:38] local.INFO: Processing buffer {"connection_id":161775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:23:38] local.INFO: IMEI packet received {"connection_id":161775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":161775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:23:39] local.INFO: TCP Data received {"connection_id":160587,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e076a28012d1821000721b370004600db29..."} 
[2026-08-23 15:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e076a28012d1821000721b370004600db29..."} 
[2026-08-23 15:23:39] local.INFO: Processing buffer {"connection_id":160587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e076a28012d1821000721b370004600db29..."} 
[2026-08-23 15:23:39] local.INFO: Packet analysis {"connection_id":160587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e07"} 
[2026-08-23 15:23:39] local.INFO: Extracted packet for processing {"connection_id":160587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e07"} 
[2026-08-23 15:23:39] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 15:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594524672001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787478633000,"timestamp_ms":1787478633000,"timestamp_seconds":1787478633,"priority":1,"record_length":96,"hex_timestamp":"000001a02e076a28"} 
[2026-08-23 15:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594524672001,"66":12461,"105":206,"83":41984,"24":0,"16":15594729899032576,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594524672001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:23:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:23:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594524672001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":160587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:23:39] local.INFO: GPS data processed {"connection_id":160587,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:23:39] local.INFO: Acknowledgment sent {"connection_id":160587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:23:39] local.INFO: TCP Data received {"connection_id":161775,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e08d958012d7e138005d3b4e00004004327..."} 
[2026-08-23 15:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e08d958012d7e138005d3b4e00004004327..."} 
[2026-08-23 15:23:39] local.INFO: Processing buffer {"connection_id":161775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e08d958012d7e138005d3b4e00004004327..."} 
[2026-08-23 15:23:39] local.INFO: Packet analysis {"connection_id":161775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e08"} 
[2026-08-23 15:23:39] local.INFO: Extracted packet for processing {"connection_id":161775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e08"} 
[2026-08-23 15:23:39] local.INFO: GPS Element Parsed {"raw_longitude":763237248,"raw_latitude":97760480,"longitude_deg":76.3237248,"latitude_deg":9.776048,"altitude":4,"angle":67,"satellites":39,"speed":11,"hex_longitude":"2d7e1380","hex_latitude":"05d3b4e0","is_valid_coordinates":true} 
[2026-08-23 15:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594553856001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122653631634735104,"note":"Value kept but may cause issues"} 
[2026-08-23 15:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084464160874704896,"note":"Value kept but may cause issues"} 
[2026-08-23 15:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787478727000,"timestamp_ms":1787478727000,"timestamp_seconds":1787478727,"priority":1,"record_length":96,"hex_timestamp":"000001a02e08d958"} 
[2026-08-23 15:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-23 15:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594553856001,"66":13091,"109":206,"85":15104,"24":11,"16":122653631634735104,"45":9084464160874704896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 15:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594553856001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:23:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 15:23:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122653631634735104,"km_value":122653631634735.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084464160874704896,"description":"Unknown IO ID 45"} 
[2026-08-23 15:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594553856001,"power":13091,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9084464160874704896}} 
[2026-08-23 15:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":161775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:23:39] local.INFO: GPS data processed {"connection_id":161775,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:23:39] local.INFO: Acknowledgment sent {"connection_id":161775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:23:46] local.INFO: TCP Data received {"connection_id":160588,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:23:46] local.INFO: Processing buffer {"connection_id":160588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:23:46] local.INFO: IMEI packet received {"connection_id":160588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":160588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:23:51] local.INFO: TCP Data received {"connection_id":160588,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:23:51] local.INFO: Processing buffer {"connection_id":160588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:23:51] local.INFO: IMEI packet received {"connection_id":160588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":160588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:23:52] local.INFO: TCP Data received {"connection_id":160588,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:23:52] local.INFO: Processing buffer {"connection_id":160588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:23:52] local.INFO: Packet analysis {"connection_id":160588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:23:52] local.INFO: Extracted packet for processing {"connection_id":160588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594441472001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787478588000,"timestamp_ms":1787478588000,"timestamp_seconds":1787478588,"priority":1,"record_length":96,"hex_timestamp":"000001a02e06ba60"} 
[2026-08-23 15:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 15:23:52] 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-08-23 15:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:23: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-08-23 15:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594441472001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594441472001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:23:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594441472001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":160588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:23:52] local.INFO: GPS data processed {"connection_id":160588,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:23:52] local.INFO: Acknowledgment sent {"connection_id":160588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:24:10] local.INFO: TCP Data received {"connection_id":161775,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e08e510012d7e168005d3b6d80004002528..."} 
[2026-08-23 15:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e08e510012d7e168005d3b6d80004002528..."} 
[2026-08-23 15:24:10] local.INFO: Processing buffer {"connection_id":161775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e08e510012d7e168005d3b6d80004002528..."} 
[2026-08-23 15:24:10] local.INFO: Packet analysis {"connection_id":161775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e08"} 
[2026-08-23 15:24:10] local.INFO: Extracted packet for processing {"connection_id":161775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e08"} 
[2026-08-23 15:24:10] local.INFO: GPS Element Parsed {"raw_longitude":763238016,"raw_latitude":97760984,"longitude_deg":76.3238016,"latitude_deg":9.7760984,"altitude":4,"angle":37,"satellites":40,"speed":11,"hex_longitude":"2d7e1680","hex_latitude":"05d3b6d8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594554112001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122653674584408064,"note":"Value kept but may cause issues"} 
[2026-08-23 15:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084745635851460608,"note":"Value kept but may cause issues"} 
[2026-08-23 15:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787478730000,"timestamp_ms":1787478730000,"timestamp_seconds":1787478730,"priority":1,"record_length":96,"hex_timestamp":"000001a02e08e510"} 
[2026-08-23 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-08-23 15:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-23 15:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 15:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594554112001,"66":13048,"109":206,"85":15104,"24":11,"16":122653674584408064,"45":9084745635851460608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 15:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594554112001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:24:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 15:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122653674584408064,"km_value":122653674584408.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084745635851460608,"description":"Unknown IO ID 45"} 
[2026-08-23 15:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594554112001,"power":13048,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9084745635851460608}} 
[2026-08-23 15:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":161775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:24:10] local.INFO: GPS data processed {"connection_id":161775,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:24:10] local.INFO: Acknowledgment sent {"connection_id":161775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:24:10] local.INFO: TCP Data received {"connection_id":160587,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e07bc30012d1821000721b370004600db2a..."} 
[2026-08-23 15:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e07bc30012d1821000721b370004600db2a..."} 
[2026-08-23 15:24:10] local.INFO: Processing buffer {"connection_id":160587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e07bc30012d1821000721b370004600db2a..."} 
[2026-08-23 15:24:10] local.INFO: Packet analysis {"connection_id":160587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e07"} 
[2026-08-23 15:24:10] local.INFO: Extracted packet for processing {"connection_id":160587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e07"} 
[2026-08-23 15:24:10] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594530048001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787478654000,"timestamp_ms":1787478654000,"timestamp_seconds":1787478654,"priority":1,"record_length":96,"hex_timestamp":"000001a02e07bc30"} 
[2026-08-23 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-08-23 15:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 15:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594530048001,"66":12428,"105":206,"83":41984,"24":0,"16":15594729899032576,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594530048001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:24:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:24:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594530048001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":160587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:24:10] local.INFO: GPS data processed {"connection_id":160587,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:24:10] local.INFO: Acknowledgment sent {"connection_id":160587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:24:24] local.INFO: TCP Data received {"connection_id":160588,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:24:24] local.INFO: Processing buffer {"connection_id":160588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:24:24] local.INFO: Packet analysis {"connection_id":160588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:24:24] local.INFO: Extracted packet for processing {"connection_id":160588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:24:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594441472001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787478588000,"timestamp_ms":1787478588000,"timestamp_seconds":1787478588,"priority":1,"record_length":96,"hex_timestamp":"000001a02e06ba60"} 
[2026-08-23 15:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 15:24:24] 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-08-23 15:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594441472001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594441472001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:24:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:24:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594441472001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":160588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:24:24] local.INFO: GPS data processed {"connection_id":160588,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:24:24] local.INFO: Acknowledgment sent {"connection_id":160588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:24:29] local.INFO: TCP Data received {"connection_id":163175,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:24:29] local.INFO: Processing buffer {"connection_id":163175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:24:29] local.INFO: IMEI packet received {"connection_id":163175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":163175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:24:33] local.INFO: TCP Data received {"connection_id":160830,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160830,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:24:33] local.INFO: Processing buffer {"connection_id":160830,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:24:33] local.INFO: IMEI packet received {"connection_id":160830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":160830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:24:34] local.INFO: TCP Data received {"connection_id":163175,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:24:34] local.INFO: Processing buffer {"connection_id":163175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:24:34] local.INFO: IMEI packet received {"connection_id":163175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":163175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:24:35] local.INFO: TCP Data received {"connection_id":163175,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e080e38012d1821000721b370004600db27..."} 
[2026-08-23 15:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e080e38012d1821000721b370004600db27..."} 
[2026-08-23 15:24:35] local.INFO: Processing buffer {"connection_id":163175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e080e38012d1821000721b370004600db27..."} 
[2026-08-23 15:24:35] local.INFO: Packet analysis {"connection_id":163175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e08"} 
[2026-08-23 15:24:35] local.INFO: Extracted packet for processing {"connection_id":163175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e08"} 
[2026-08-23 15:24:35] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 15:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594535424001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787478675000,"timestamp_ms":1787478675000,"timestamp_seconds":1787478675,"priority":1,"record_length":96,"hex_timestamp":"000001a02e080e38"} 
[2026-08-23 15:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 15:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594535424001,"66":12461,"105":206,"83":41984,"24":0,"16":15594729899032576,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594535424001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:24:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:24:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594535424001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:24:35] local.INFO: TCP Data received {"connection_id":160830,"ip":"42.109.136.8","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 15:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160830,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 15:24:35] local.INFO: Processing buffer {"connection_id":160830,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 15:24:35] local.INFO: IMEI packet received {"connection_id":160830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":160830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":163175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:24:35] local.INFO: GPS data processed {"connection_id":163175,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:24:35] local.INFO: Acknowledgment sent {"connection_id":163175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:24:36] local.INFO: TCP Data received {"connection_id":160830,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160830,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:24:36] local.INFO: Processing buffer {"connection_id":160830,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 15:24:36] local.INFO: IMEI packet received {"connection_id":160830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":160830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:24:46] local.INFO: TCP Data received {"connection_id":163176,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:24:46] local.INFO: Processing buffer {"connection_id":163176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:24:46] local.INFO: IMEI packet received {"connection_id":163176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":163176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:24:51] local.INFO: TCP Data received {"connection_id":163176,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:24:51] local.INFO: Processing buffer {"connection_id":163176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:24:51] local.INFO: IMEI packet received {"connection_id":163176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":163176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:24:52] local.INFO: TCP Data received {"connection_id":163176,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:24:52] local.INFO: Processing buffer {"connection_id":163176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:24:52] local.INFO: Packet analysis {"connection_id":163176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:24:52] local.INFO: Extracted packet for processing {"connection_id":163176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:24:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594441472001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787478588000,"timestamp_ms":1787478588000,"timestamp_seconds":1787478588,"priority":1,"record_length":96,"hex_timestamp":"000001a02e06ba60"} 
[2026-08-23 15:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 15:24:52] 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-08-23 15:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:24: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-08-23 15:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594441472001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594441472001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:24:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:24:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594441472001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":163176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:24:52] local.INFO: GPS data processed {"connection_id":163176,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:24:52] local.INFO: Acknowledgment sent {"connection_id":163176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:25:06] local.INFO: TCP Data received {"connection_id":163175,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e086040012d1821000721b370004600db27..."} 
[2026-08-23 15:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e086040012d1821000721b370004600db27..."} 
[2026-08-23 15:25:06] local.INFO: Processing buffer {"connection_id":163175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e086040012d1821000721b370004600db27..."} 
[2026-08-23 15:25:06] local.INFO: Packet analysis {"connection_id":163175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e08"} 
[2026-08-23 15:25:06] local.INFO: Extracted packet for processing {"connection_id":163175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e08"} 
[2026-08-23 15:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 15:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594540800001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787478696000,"timestamp_ms":1787478696000,"timestamp_seconds":1787478696,"priority":1,"record_length":96,"hex_timestamp":"000001a02e086040"} 
[2026-08-23 15:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594540800001,"66":12461,"105":206,"83":41984,"24":0,"16":15594729899032576,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594540800001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:25:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594540800001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":163175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:25:06] local.INFO: GPS data processed {"connection_id":163175,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:25:06] local.INFO: Acknowledgment sent {"connection_id":163175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:25:24] local.INFO: TCP Data received {"connection_id":163176,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:25:24] local.INFO: Processing buffer {"connection_id":163176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e06ba60012d34c50006aa40980006008525..."} 
[2026-08-23 15:25:24] local.INFO: Packet analysis {"connection_id":163176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:25:24] local.INFO: Extracted packet for processing {"connection_id":163176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e06"} 
[2026-08-23 15:25:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594441472001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787478588000,"timestamp_ms":1787478588000,"timestamp_seconds":1787478588,"priority":1,"record_length":96,"hex_timestamp":"000001a02e06ba60"} 
[2026-08-23 15:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 15:25:24] 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-08-23 15:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594441472001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594441472001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:25:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:25:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594441472001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":163176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:25:24] local.INFO: GPS data processed {"connection_id":163176,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:25:24] local.INFO: Acknowledgment sent {"connection_id":163176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:25:27] local.INFO: TCP Data received {"connection_id":160831,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:25:27] local.INFO: Processing buffer {"connection_id":160831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:25:27] local.INFO: IMEI packet received {"connection_id":160831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":160831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:25:29] local.INFO: TCP Data received {"connection_id":160831,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:25:29] local.INFO: Processing buffer {"connection_id":160831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:25:29] local.INFO: IMEI packet received {"connection_id":160831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":160831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:25:34] local.INFO: TCP Data received {"connection_id":160831,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:25:34] local.INFO: Processing buffer {"connection_id":160831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:25:34] local.INFO: IMEI packet received {"connection_id":160831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":160831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:25:35] local.INFO: TCP Data received {"connection_id":160831,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e08b248012d1821000721b370004600db27..."} 
[2026-08-23 15:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e08b248012d1821000721b370004600db27..."} 
[2026-08-23 15:25:35] local.INFO: Processing buffer {"connection_id":160831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e08b248012d1821000721b370004600db27..."} 
[2026-08-23 15:25:35] local.INFO: Packet analysis {"connection_id":160831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e08"} 
[2026-08-23 15:25:35] local.INFO: Extracted packet for processing {"connection_id":160831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e08"} 
[2026-08-23 15:25:35] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 15:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594546176001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787478717000,"timestamp_ms":1787478717000,"timestamp_seconds":1787478717,"priority":1,"record_length":96,"hex_timestamp":"000001a02e08b248"} 
[2026-08-23 15:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594546176001,"66":12461,"105":206,"83":41984,"24":0,"16":15594729899032576,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594546176001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:25:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:25:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594546176001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":160831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:25:35] local.INFO: GPS data processed {"connection_id":160831,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:25:35] local.INFO: Acknowledgment sent {"connection_id":160831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:25:51] local.INFO: TCP Data received {"connection_id":163177,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:25:51] local.INFO: Processing buffer {"connection_id":163177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:25:51] local.INFO: IMEI packet received {"connection_id":163177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":163177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:25:56] local.INFO: TCP Data received {"connection_id":163177,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:25:56] local.INFO: Processing buffer {"connection_id":163177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:25:56] local.INFO: IMEI packet received {"connection_id":163177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":163177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:25:58] local.INFO: TCP Data received {"connection_id":163177,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:25:58] local.INFO: Processing buffer {"connection_id":163177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:25:58] local.INFO: Packet analysis {"connection_id":163177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0b"} 
[2026-08-23 15:25:58] local.INFO: Extracted packet for processing {"connection_id":163177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0b"} 
[2026-08-23 15:25:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594518528001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787478889000,"timestamp_ms":1787478889000,"timestamp_seconds":1787478889,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0b5228"} 
[2026-08-23 15:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:25: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-08-23 15: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-08-23 15:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594518528001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594518528001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:25:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:25:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594518528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":163177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:25:58] local.INFO: GPS data processed {"connection_id":163177,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:25:58] local.INFO: Acknowledgment sent {"connection_id":163177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:26:02] local.INFO: TCP Data received {"connection_id":163177,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:26:02] local.INFO: Processing buffer {"connection_id":163177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:26:02] local.INFO: Packet analysis {"connection_id":163177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0b"} 
[2026-08-23 15:26:02] local.INFO: Extracted packet for processing {"connection_id":163177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0b"} 
[2026-08-23 15:26:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594518528001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787478889000,"timestamp_ms":1787478889000,"timestamp_seconds":1787478889,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0b5228"} 
[2026-08-23 15:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:26:02] 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-08-23 15:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594518528001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594518528001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:26:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:26:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594518528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":163177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:26:02] local.INFO: GPS data processed {"connection_id":163177,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:26:02] local.INFO: Acknowledgment sent {"connection_id":163177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:26:06] local.INFO: TCP Data received {"connection_id":160831,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e090450012d1821000721b370004600db27..."} 
[2026-08-23 15:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e090450012d1821000721b370004600db27..."} 
[2026-08-23 15:26:06] local.INFO: Processing buffer {"connection_id":160831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e090450012d1821000721b370004600db27..."} 
[2026-08-23 15:26:06] local.INFO: Packet analysis {"connection_id":160831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e09"} 
[2026-08-23 15:26:06] local.INFO: Extracted packet for processing {"connection_id":160831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e09"} 
[2026-08-23 15:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":39,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 15:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594551552001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787478738000,"timestamp_ms":1787478738000,"timestamp_seconds":1787478738,"priority":1,"record_length":96,"hex_timestamp":"000001a02e090450"} 
[2026-08-23 15:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594551552001,"66":12461,"105":206,"83":41984,"24":0,"16":15594729899032576,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594551552001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:26:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594551552001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":160831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:26:06] local.INFO: GPS data processed {"connection_id":160831,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:26:06] local.INFO: Acknowledgment sent {"connection_id":160831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:26:29] local.INFO: TCP Data received {"connection_id":160589,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:26:29] local.INFO: Processing buffer {"connection_id":160589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:26:29] local.INFO: IMEI packet received {"connection_id":160589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":160589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:26:30] local.INFO: TCP Data received {"connection_id":160589,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:26:30] local.INFO: Processing buffer {"connection_id":160589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:26:30] local.INFO: IMEI packet received {"connection_id":160589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":160589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:26:34] local.INFO: TCP Data received {"connection_id":160589,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:26:34] local.INFO: Processing buffer {"connection_id":160589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:26:34] local.INFO: IMEI packet received {"connection_id":160589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":160589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:26:35] local.INFO: TCP Data received {"connection_id":160589,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e095658012d1821000721b370004600db29..."} 
[2026-08-23 15:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e095658012d1821000721b370004600db29..."} 
[2026-08-23 15:26:35] local.INFO: Processing buffer {"connection_id":160589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e095658012d1821000721b370004600db29..."} 
[2026-08-23 15:26:35] local.INFO: Packet analysis {"connection_id":160589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e09"} 
[2026-08-23 15:26:35] local.INFO: Extracted packet for processing {"connection_id":160589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e09"} 
[2026-08-23 15:26:35] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":70,"angle":219,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-23 15:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594556928001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594729899032576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787478759000,"timestamp_ms":1787478759000,"timestamp_seconds":1787478759,"priority":1,"record_length":96,"hex_timestamp":"000001a02e095658"} 
[2026-08-23 15:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594556928001,"66":12461,"105":206,"83":41984,"24":0,"16":15594729899032576,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594556928001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:26:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:26:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594729899032576,"km_value":15594729899032.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594556928001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":160589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:26:35] local.INFO: GPS data processed {"connection_id":160589,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:26:35] local.INFO: Acknowledgment sent {"connection_id":160589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:26:46] local.INFO: TCP Data received {"connection_id":161777,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:26:46] local.INFO: Processing buffer {"connection_id":161777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:26:46] local.INFO: IMEI packet received {"connection_id":161777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":161777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:26:51] local.INFO: TCP Data received {"connection_id":161777,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:26:51] local.INFO: Processing buffer {"connection_id":161777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:26:51] local.INFO: IMEI packet received {"connection_id":161777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":161777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:26:53] local.INFO: TCP Data received {"connection_id":161777,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:26:53] local.INFO: Processing buffer {"connection_id":161777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:26:53] local.INFO: Packet analysis {"connection_id":161777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0b"} 
[2026-08-23 15:26:53] local.INFO: Extracted packet for processing {"connection_id":161777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0b"} 
[2026-08-23 15:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594518528001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787478889000,"timestamp_ms":1787478889000,"timestamp_seconds":1787478889,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0b5228"} 
[2026-08-23 15:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:26:53] 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-08-23 15:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594518528001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594518528001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:26:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594518528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":161777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:26:53] local.INFO: GPS data processed {"connection_id":161777,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:26:53] local.INFO: Acknowledgment sent {"connection_id":161777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:27:06] local.INFO: TCP Data received {"connection_id":160589,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e09a860012d181f800721b108004e00d92b..."} 
[2026-08-23 15:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e09a860012d181f800721b108004e00d92b..."} 
[2026-08-23 15:27:06] local.INFO: Processing buffer {"connection_id":160589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e09a860012d181f800721b108004e00d92b..."} 
[2026-08-23 15:27:06] local.INFO: Packet analysis {"connection_id":160589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e09"} 
[2026-08-23 15:27:06] local.INFO: Extracted packet for processing {"connection_id":160589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e09"} 
[2026-08-23 15:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648520,"longitude_deg":75.6555648,"latitude_deg":11.964852,"altitude":78,"angle":217,"satellites":43,"speed":3,"hex_longitude":"2d181f80","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-23 15:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594562304001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594768553738240,"note":"Value kept but may cause issues"} 
[2026-08-23 15:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787478780000,"timestamp_ms":1787478780000,"timestamp_seconds":1787478780,"priority":1,"record_length":96,"hex_timestamp":"000001a02e09a860"} 
[2026-08-23 15:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594562304001,"66":12504,"105":206,"83":41984,"24":3,"16":15594768553738240,"45":1738670961771900928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594562304001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:27:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594768553738240,"km_value":15594768553738.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-23 15:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594562304001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-23 15:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":160589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:27:06] local.INFO: GPS data processed {"connection_id":160589,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:27:06] local.INFO: Acknowledgment sent {"connection_id":160589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:27:25] local.INFO: TCP Data received {"connection_id":161777,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:27:25] local.INFO: Processing buffer {"connection_id":161777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:27:25] local.INFO: Packet analysis {"connection_id":161777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0b"} 
[2026-08-23 15:27:25] local.INFO: Extracted packet for processing {"connection_id":161777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0b"} 
[2026-08-23 15:27:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594518528001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787478889000,"timestamp_ms":1787478889000,"timestamp_seconds":1787478889,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0b5228"} 
[2026-08-23 15:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:27:25] 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-08-23 15: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-08-23 15:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594518528001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594518528001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:27:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:27:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594518528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":161777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:27:25] local.INFO: GPS data processed {"connection_id":161777,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:27:25] local.INFO: Acknowledgment sent {"connection_id":161777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:27:29] local.INFO: TCP Data received {"connection_id":160591,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:27:29] local.INFO: Processing buffer {"connection_id":160591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:27:29] local.INFO: IMEI packet received {"connection_id":160591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":160591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:27:33] local.INFO: TCP Data received {"connection_id":160591,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:27:33] local.INFO: Processing buffer {"connection_id":160591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:27:33] local.INFO: IMEI packet received {"connection_id":160591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":160591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:27:34] local.INFO: TCP Data received {"connection_id":160591,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e09b800012d181e800721aff8004e00c82b..."} 
[2026-08-23 15:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e09b800012d181e800721aff8004e00c82b..."} 
[2026-08-23 15:27:34] local.INFO: Processing buffer {"connection_id":160591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e09b800012d181e800721aff8004e00c82b..."} 
[2026-08-23 15:27:34] local.INFO: Packet analysis {"connection_id":160591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e09"} 
[2026-08-23 15:27:34] local.INFO: Extracted packet for processing {"connection_id":160591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e09"} 
[2026-08-23 15:27:34] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648248,"longitude_deg":75.6555392,"latitude_deg":11.9648248,"altitude":78,"angle":200,"satellites":43,"speed":2,"hex_longitude":"2d181e80","hex_latitude":"0721aff8","is_valid_coordinates":true} 
[2026-08-23 15:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594567680001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594785733607424,"note":"Value kept but may cause issues"} 
[2026-08-23 15:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306677248,"note":"Value kept but may cause issues"} 
[2026-08-23 15:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787478784000,"timestamp_ms":1787478784000,"timestamp_seconds":1787478784,"priority":1,"record_length":96,"hex_timestamp":"000001a02e09b800"} 
[2026-08-23 15:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 15:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594567680001,"66":12385,"105":206,"83":41984,"24":2,"16":15594785733607424,"45":1738248749306677248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594567680001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:27:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:27:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594785733607424,"km_value":15594785733607.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306677248,"description":"Unknown IO ID 45"} 
[2026-08-23 15:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594567680001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738248749306677248}} 
[2026-08-23 15:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":160591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:27:34] local.INFO: GPS data processed {"connection_id":160591,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:27:34] local.INFO: Acknowledgment sent {"connection_id":160591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:27:46] local.INFO: TCP Data received {"connection_id":163178,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:27:46] local.INFO: Processing buffer {"connection_id":163178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:27:46] local.INFO: IMEI packet received {"connection_id":163178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":163178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:27:51] local.INFO: TCP Data received {"connection_id":163178,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:27:51] local.INFO: Processing buffer {"connection_id":163178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:27:51] local.INFO: IMEI packet received {"connection_id":163178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":163178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:27:53] local.INFO: TCP Data received {"connection_id":163178,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:27:53] local.INFO: Processing buffer {"connection_id":163178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:27:53] local.INFO: Packet analysis {"connection_id":163178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0b"} 
[2026-08-23 15:27:53] local.INFO: Extracted packet for processing {"connection_id":163178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0b"} 
[2026-08-23 15:27:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594518528001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787478889000,"timestamp_ms":1787478889000,"timestamp_seconds":1787478889,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0b5228"} 
[2026-08-23 15:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:27:53] 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-08-23 15:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594518528001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594518528001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:27:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:27:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594518528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":163178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:27:53] local.INFO: GPS data processed {"connection_id":163178,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:27:53] local.INFO: Acknowledgment sent {"connection_id":163178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:28:05] local.INFO: TCP Data received {"connection_id":160591,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0a0a08012d181e400721afb8004e00cc29..."} 
[2026-08-23 15:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0a0a08012d181e400721afb8004e00cc29..."} 
[2026-08-23 15:28:05] local.INFO: Processing buffer {"connection_id":160591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0a0a08012d181e400721afb8004e00cc29..."} 
[2026-08-23 15:28:05] local.INFO: Packet analysis {"connection_id":160591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0a"} 
[2026-08-23 15:28:05] local.INFO: Extracted packet for processing {"connection_id":160591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0a"} 
[2026-08-23 15:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648184,"longitude_deg":75.6555328,"latitude_deg":11.9648184,"altitude":78,"angle":204,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-23 15:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594568704001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594790028574720,"note":"Value kept but may cause issues"} 
[2026-08-23 15:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329896960,"note":"Value kept but may cause issues"} 
[2026-08-23 15:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787478805000,"timestamp_ms":1787478805000,"timestamp_seconds":1787478805,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0a0a08"} 
[2026-08-23 15:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 15:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594568704001,"66":12428,"105":206,"83":41984,"24":0,"16":15594790028574720,"45":1737967274329896960},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594568704001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:28:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:28:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594790028574720,"km_value":15594790028574.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329896960,"description":"Unknown IO ID 45"} 
[2026-08-23 15:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594568704001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329896960}} 
[2026-08-23 15:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":160591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:28:05] local.INFO: GPS data processed {"connection_id":160591,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:28:05] local.INFO: Acknowledgment sent {"connection_id":160591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:28:24] local.INFO: TCP Data received {"connection_id":163178,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:28:24] local.INFO: Processing buffer {"connection_id":163178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:28:24] local.INFO: Packet analysis {"connection_id":163178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0b"} 
[2026-08-23 15:28:24] local.INFO: Extracted packet for processing {"connection_id":163178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0b"} 
[2026-08-23 15:28:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594518528001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787478889000,"timestamp_ms":1787478889000,"timestamp_seconds":1787478889,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0b5228"} 
[2026-08-23 15:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594518528001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594518528001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:28:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:28:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594518528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":163178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:28:24] local.INFO: GPS data processed {"connection_id":163178,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:28:24] local.INFO: Acknowledgment sent {"connection_id":163178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:28:29] local.INFO: TCP Data received {"connection_id":160592,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:28:29] local.INFO: Processing buffer {"connection_id":160592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:28:29] local.INFO: IMEI packet received {"connection_id":160592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":160592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:28:34] local.INFO: TCP Data received {"connection_id":160592,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:28:34] local.INFO: Processing buffer {"connection_id":160592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:28:34] local.INFO: IMEI packet received {"connection_id":160592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":160592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:28:35] local.INFO: TCP Data received {"connection_id":160592,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0a5c10012d181e400721afb8004e00cc29..."} 
[2026-08-23 15:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0a5c10012d181e400721afb8004e00cc29..."} 
[2026-08-23 15:28:35] local.INFO: Processing buffer {"connection_id":160592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0a5c10012d181e400721afb8004e00cc29..."} 
[2026-08-23 15:28:35] local.INFO: Packet analysis {"connection_id":160592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0a"} 
[2026-08-23 15:28:35] local.INFO: Extracted packet for processing {"connection_id":160592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0a"} 
[2026-08-23 15:28:35] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648184,"longitude_deg":75.6555328,"latitude_deg":11.9648184,"altitude":78,"angle":204,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-23 15:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594574080001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594790028574720,"note":"Value kept but may cause issues"} 
[2026-08-23 15:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585702912,"note":"Value kept but may cause issues"} 
[2026-08-23 15:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787478826000,"timestamp_ms":1787478826000,"timestamp_seconds":1787478826,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0a5c10"} 
[2026-08-23 15:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 15:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594574080001,"66":12461,"105":206,"83":41984,"24":0,"16":15594790028574720,"45":1737896905585702912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594574080001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:28:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:28:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594790028574720,"km_value":15594790028574.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585702912,"description":"Unknown IO ID 45"} 
[2026-08-23 15:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594574080001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585702912}} 
[2026-08-23 15:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":160592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:28:35] local.INFO: GPS data processed {"connection_id":160592,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:28:35] local.INFO: Acknowledgment sent {"connection_id":160592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:28:46] local.INFO: TCP Data received {"connection_id":163179,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:28:46] local.INFO: Processing buffer {"connection_id":163179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:28:46] local.INFO: IMEI packet received {"connection_id":163179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":163179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:28:51] local.INFO: TCP Data received {"connection_id":163179,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:28:51] local.INFO: Processing buffer {"connection_id":163179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:28:51] local.INFO: IMEI packet received {"connection_id":163179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":163179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:28:53] local.INFO: TCP Data received {"connection_id":163179,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:28:53] local.INFO: Processing buffer {"connection_id":163179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:28:53] local.INFO: Packet analysis {"connection_id":163179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0b"} 
[2026-08-23 15:28:53] local.INFO: Extracted packet for processing {"connection_id":163179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0b"} 
[2026-08-23 15:28:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594518528001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787478889000,"timestamp_ms":1787478889000,"timestamp_seconds":1787478889,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0b5228"} 
[2026-08-23 15:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:28:53] 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-08-23 15:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594518528001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594518528001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:28:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:28:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594518528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":163179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:28:53] local.INFO: GPS data processed {"connection_id":163179,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:28:53] local.INFO: Acknowledgment sent {"connection_id":163179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:29:06] local.INFO: TCP Data received {"connection_id":160592,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0de268012d181e400721afb8004e00cc2a..."} 
[2026-08-23 15:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0de268012d181e400721afb8004e00cc2a..."} 
[2026-08-23 15:29:06] local.INFO: Processing buffer {"connection_id":160592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0de268012d181e400721afb8004e00cc2a..."} 
[2026-08-23 15:29:06] local.INFO: Packet analysis {"connection_id":160592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0d"} 
[2026-08-23 15:29:06] local.INFO: Extracted packet for processing {"connection_id":160592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0d"} 
[2026-08-23 15:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648184,"longitude_deg":75.6555328,"latitude_deg":11.9648184,"altitude":78,"angle":204,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-23 15:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594633216001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594790028574720,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585702912,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787479057000,"timestamp_ms":1787479057000,"timestamp_seconds":1787479057,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0de268"} 
[2026-08-23 15:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594633216001,"66":12461,"105":206,"83":41984,"24":0,"16":15594790028574720,"45":1737896905585702912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594633216001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:29:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:29:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594790028574720,"km_value":15594790028574.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585702912,"description":"Unknown IO ID 45"} 
[2026-08-23 15:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594633216001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585702912}} 
[2026-08-23 15:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":160592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:29:07] local.INFO: GPS data processed {"connection_id":160592,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:29:07] local.INFO: Acknowledgment sent {"connection_id":160592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:29:24] local.INFO: TCP Data received {"connection_id":163179,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:29:24] local.INFO: Processing buffer {"connection_id":163179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:29:24] local.INFO: Packet analysis {"connection_id":163179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0b"} 
[2026-08-23 15:29:24] local.INFO: Extracted packet for processing {"connection_id":163179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0b"} 
[2026-08-23 15:29:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594518528001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787478889000,"timestamp_ms":1787478889000,"timestamp_seconds":1787478889,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0b5228"} 
[2026-08-23 15:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:29: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-08-23 15:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594518528001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594518528001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:29:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:29:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594518528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":163179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:29:24] local.INFO: GPS data processed {"connection_id":163179,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:29:24] local.INFO: Acknowledgment sent {"connection_id":163179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:29:34] local.INFO: TCP Data received {"connection_id":160832,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:29:34] local.INFO: Processing buffer {"connection_id":160832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:29:34] local.INFO: IMEI packet received {"connection_id":160832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":160832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:29:39] local.INFO: TCP Data received {"connection_id":160832,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:29:39] local.INFO: Processing buffer {"connection_id":160832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:29:39] local.INFO: IMEI packet received {"connection_id":160832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":160832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:29:39] local.INFO: TCP Data received {"connection_id":160594,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:29:39] local.INFO: Processing buffer {"connection_id":160594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:29:39] local.INFO: IMEI packet received {"connection_id":160594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":160594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:29:40] local.INFO: TCP Data received {"connection_id":160594,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0f4db0012d7e600005d351c8000600aa2a..."} 
[2026-08-23 15:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0f4db0012d7e600005d351c8000600aa2a..."} 
[2026-08-23 15:29:40] local.INFO: Processing buffer {"connection_id":160594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0f4db0012d7e600005d351c8000600aa2a..."} 
[2026-08-23 15:29:40] local.INFO: Packet analysis {"connection_id":160594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:29:40] local.INFO: Extracted packet for processing {"connection_id":160594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763256832,"raw_latitude":97735112,"longitude_deg":76.3256832,"latitude_deg":9.7735112,"altitude":6,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d7e6000","hex_latitude":"05d351c8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594657024001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122656096945963008,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106278471563331584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787479150000,"timestamp_ms":1787479150000,"timestamp_seconds":1787479150,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0f4db0"} 
[2026-08-23 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-08-23 15:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-23 15:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163549732173,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:40] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545352192,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-23 15:29:40] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2147560830,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":393386,"corrected_to":0} 
[2026-08-23 15:29:40] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184333,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:40] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3272736768,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:40] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,85,24,241,157,16,195,160,169,45,81,6,43,10,66,87,41,5,1,240,215,227,46,211,4,113,205,97,96,200,40,239,50,2,179],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0},{"io_id":200,"original":393386,"validated":0}]} 
[2026-08-23 15:29:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432532657297948672,"timestamp_seconds":432532657297948.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 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-08-23 15:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594657024001,"66":13276,"109":206,"85":15104,"24":0,"16":122656096945963008,"45":9106278471563331584},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 15:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594657024001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:29:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 15:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122656096945963008,"km_value":122656096945963.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106278471563331584,"description":"Unknown IO ID 45"} 
[2026-08-23 15:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594657024001,"power":13276,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9106278471563331584}} 
[2026-08-23 15:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":160594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:29:40] local.INFO: GPS data processed {"connection_id":160594,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:29:40] local.INFO: Acknowledgment sent {"connection_id":160594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:29:40] local.INFO: TCP Data received {"connection_id":160832,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0e3470012d181e400721afb8004e00cc28..."} 
[2026-08-23 15:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0e3470012d181e400721afb8004e00cc28..."} 
[2026-08-23 15:29:40] local.INFO: Processing buffer {"connection_id":160832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0e3470012d181e400721afb8004e00cc28..."} 
[2026-08-23 15:29:40] local.INFO: Packet analysis {"connection_id":160832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0e"} 
[2026-08-23 15:29:40] local.INFO: Extracted packet for processing {"connection_id":160832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0e"} 
[2026-08-23 15:29:40] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648184,"longitude_deg":75.6555328,"latitude_deg":11.9648184,"altitude":78,"angle":204,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594638592001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594790028574720,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585702912,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787479078000,"timestamp_ms":1787479078000,"timestamp_seconds":1787479078,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0e3470"} 
[2026-08-23 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-08-23 15:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 15:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594638592001,"66":12385,"105":206,"83":41984,"24":0,"16":15594790028574720,"45":1737896905585702912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594638592001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:29:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:29:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594790028574720,"km_value":15594790028574.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585702912,"description":"Unknown IO ID 45"} 
[2026-08-23 15:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594638592001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585702912}} 
[2026-08-23 15:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":160832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:29:40] local.INFO: GPS data processed {"connection_id":160832,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:29:40] local.INFO: Acknowledgment sent {"connection_id":160832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:29:41] local.INFO: TCP Data received {"connection_id":160832,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0e8678012d181e400721afb8004e00cc28..."} 
[2026-08-23 15:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0e8678012d181e400721afb8004e00cc28..."} 
[2026-08-23 15:29:41] local.INFO: Processing buffer {"connection_id":160832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0e8678012d181e400721afb8004e00cc28..."} 
[2026-08-23 15:29:41] local.INFO: Packet analysis {"connection_id":160832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0e"} 
[2026-08-23 15:29:41] local.INFO: Extracted packet for processing {"connection_id":160832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0e"} 
[2026-08-23 15:29:41] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648184,"longitude_deg":75.6555328,"latitude_deg":11.9648184,"altitude":78,"angle":204,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594643968001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594790028574720,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585702912,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787479099000,"timestamp_ms":1787479099000,"timestamp_seconds":1787479099,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0e8678"} 
[2026-08-23 15:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 15:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594643968001,"66":12461,"105":206,"83":41984,"24":0,"16":15594790028574720,"45":1737896905585702912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594643968001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:29:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:29:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594790028574720,"km_value":15594790028574.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585702912,"description":"Unknown IO ID 45"} 
[2026-08-23 15:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594643968001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585702912}} 
[2026-08-23 15:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":160832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:29:41] local.INFO: GPS data processed {"connection_id":160832,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:29:41] local.INFO: Acknowledgment sent {"connection_id":160832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:29:45] local.INFO: TCP Data received {"connection_id":161779,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:29:45] local.INFO: Processing buffer {"connection_id":161779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:29:45] local.INFO: IMEI packet received {"connection_id":161779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":161779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:29:51] local.INFO: TCP Data received {"connection_id":161779,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:29:51] local.INFO: Processing buffer {"connection_id":161779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:29:51] local.INFO: IMEI packet received {"connection_id":161779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":161779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:29:54] local.INFO: TCP Data received {"connection_id":161779,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:29:54] local.INFO: Processing buffer {"connection_id":161779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:29:54] local.INFO: Packet analysis {"connection_id":161779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0b"} 
[2026-08-23 15:29:54] local.INFO: Extracted packet for processing {"connection_id":161779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0b"} 
[2026-08-23 15:29:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594518528001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787478889000,"timestamp_ms":1787478889000,"timestamp_seconds":1787478889,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0b5228"} 
[2026-08-23 15:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:29:54] 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-08-23 15: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-08-23 15:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594518528001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594518528001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:29:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:29:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594518528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":161779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:29:54] local.INFO: GPS data processed {"connection_id":161779,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:29:54] local.INFO: Acknowledgment sent {"connection_id":161779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:30:11] local.INFO: TCP Data received {"connection_id":160594,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0f6908012d7e5e0005d35210000301232a..."} 
[2026-08-23 15:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0f6908012d7e5e0005d35210000301232a..."} 
[2026-08-23 15:30:11] local.INFO: Processing buffer {"connection_id":160594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0f6908012d7e5e0005d35210000301232a..."} 
[2026-08-23 15:30:11] local.INFO: Packet analysis {"connection_id":160594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:30:11] local.INFO: Extracted packet for processing {"connection_id":160594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:30:11] local.INFO: GPS Element Parsed {"raw_longitude":763256320,"raw_latitude":97735184,"longitude_deg":76.325632,"latitude_deg":9.7735184,"altitude":3,"angle":291,"satellites":42,"speed":8,"hex_longitude":"2d7e5e00","hex_latitude":"05d35210","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594662400001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122656122715766784,"note":"Value kept but may cause issues"} 
[2026-08-23 15:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106278471563331584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787479157000,"timestamp_ms":1787479157000,"timestamp_seconds":1787479157,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0f6908"} 
[2026-08-23 15:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:30:11] 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-08-23 15: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 15:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594662400001,"66":13417,"109":206,"85":15104,"24":8,"16":122656122715766784,"45":9106278471563331584},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 15:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594662400001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:30:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 15:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122656122715766784,"km_value":122656122715766.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106278471563331584,"description":"Unknown IO ID 45"} 
[2026-08-23 15:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594662400001,"power":13417,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9106278471563331584}} 
[2026-08-23 15:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":160594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:30:11] local.INFO: GPS data processed {"connection_id":160594,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:30:11] local.INFO: Acknowledgment sent {"connection_id":160594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:30:12] local.INFO: TCP Data received {"connection_id":160832,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0ed880012d181e400721afb8004e00cc28..."} 
[2026-08-23 15:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0ed880012d181e400721afb8004e00cc28..."} 
[2026-08-23 15:30:12] local.INFO: Processing buffer {"connection_id":160832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0ed880012d181e400721afb8004e00cc28..."} 
[2026-08-23 15:30:12] local.INFO: Packet analysis {"connection_id":160832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0e"} 
[2026-08-23 15:30:12] local.INFO: Extracted packet for processing {"connection_id":160832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0e"} 
[2026-08-23 15:30:12] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648184,"longitude_deg":75.6555328,"latitude_deg":11.9648184,"altitude":78,"angle":204,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-23 15:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594649344001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594790028574720,"note":"Value kept but may cause issues"} 
[2026-08-23 15:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585702912,"note":"Value kept but may cause issues"} 
[2026-08-23 15:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787479120000,"timestamp_ms":1787479120000,"timestamp_seconds":1787479120,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0ed880"} 
[2026-08-23 15:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594649344001,"66":12461,"105":206,"83":41984,"24":0,"16":15594790028574720,"45":1737896905585702912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594649344001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:30:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:30:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594790028574720,"km_value":15594790028574.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585702912,"description":"Unknown IO ID 45"} 
[2026-08-23 15:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594649344001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585702912}} 
[2026-08-23 15:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":160832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:30:12] local.INFO: GPS data processed {"connection_id":160832,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:30:12] local.INFO: Acknowledgment sent {"connection_id":160832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:30:26] local.INFO: TCP Data received {"connection_id":161779,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:30:26] local.INFO: Processing buffer {"connection_id":161779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0b5228012d34c50006aa40980006008522..."} 
[2026-08-23 15:30:26] local.INFO: Packet analysis {"connection_id":161779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0b"} 
[2026-08-23 15:30:26] local.INFO: Extracted packet for processing {"connection_id":161779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0b"} 
[2026-08-23 15:30:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594518528001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787478889000,"timestamp_ms":1787478889000,"timestamp_seconds":1787478889,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0b5228"} 
[2026-08-23 15:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:30:26] 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-08-23 15: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-08-23 15:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594518528001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594518528001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:30:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:30:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594518528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":161779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:30:26] local.INFO: GPS data processed {"connection_id":161779,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:30:26] local.INFO: Acknowledgment sent {"connection_id":161779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:30:29] local.INFO: TCP Data received {"connection_id":163180,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:30:29] local.INFO: Processing buffer {"connection_id":163180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:30:29] local.INFO: IMEI packet received {"connection_id":163180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":163180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:30:30] local.INFO: TCP Data received {"connection_id":163180,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:30:30] local.INFO: Processing buffer {"connection_id":163180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:30:30] local.INFO: IMEI packet received {"connection_id":163180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":163180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:30:33] local.INFO: TCP Data received {"connection_id":161780,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:30:33] local.INFO: Processing buffer {"connection_id":161780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:30:33] local.INFO: IMEI packet received {"connection_id":161780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":161780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:30:34] local.INFO: TCP Data received {"connection_id":161780,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:30:34] local.INFO: Processing buffer {"connection_id":161780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:30:34] local.INFO: IMEI packet received {"connection_id":161780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":161780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:30:34] local.INFO: TCP Data received {"connection_id":163180,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:30:34] local.INFO: Processing buffer {"connection_id":163180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:30:34] local.INFO: IMEI packet received {"connection_id":163180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":163180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:30:35] local.INFO: TCP Data received {"connection_id":163180,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0f2a88012d181e400721afb8004e00cc28..."} 
[2026-08-23 15:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0f2a88012d181e400721afb8004e00cc28..."} 
[2026-08-23 15:30:35] local.INFO: Processing buffer {"connection_id":163180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0f2a88012d181e400721afb8004e00cc28..."} 
[2026-08-23 15:30:35] local.INFO: Packet analysis {"connection_id":163180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:30:35] local.INFO: Extracted packet for processing {"connection_id":163180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:30:35] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648184,"longitude_deg":75.6555328,"latitude_deg":11.9648184,"altitude":78,"angle":204,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-23 15:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594654720001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594790028574720,"note":"Value kept but may cause issues"} 
[2026-08-23 15:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585702912,"note":"Value kept but may cause issues"} 
[2026-08-23 15:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787479141000,"timestamp_ms":1787479141000,"timestamp_seconds":1787479141,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0f2a88"} 
[2026-08-23 15:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594654720001,"66":12461,"105":206,"83":41984,"24":0,"16":15594790028574720,"45":1737896905585702912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594654720001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:30:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:30:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594790028574720,"km_value":15594790028574.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585702912,"description":"Unknown IO ID 45"} 
[2026-08-23 15:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594654720001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585702912}} 
[2026-08-23 15:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":163180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:30:35] local.INFO: GPS data processed {"connection_id":163180,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:30:35] local.INFO: Acknowledgment sent {"connection_id":163180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:30:36] local.INFO: TCP Data received {"connection_id":161780,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:30:36] local.INFO: Processing buffer {"connection_id":161780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:30:36] local.INFO: IMEI packet received {"connection_id":161780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":161780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:30:39] local.INFO: TCP Data received {"connection_id":161780,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:30:39] local.INFO: Processing buffer {"connection_id":161780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:30:39] local.INFO: IMEI packet received {"connection_id":161780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":161780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:30:40] local.INFO: TCP Data received {"connection_id":161780,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0f70d8012d7e5c4005d35328000401322a..."} 
[2026-08-23 15:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0f70d8012d7e5c4005d35328000401322a..."} 
[2026-08-23 15:30:40] local.INFO: Processing buffer {"connection_id":161780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0f70d8012d7e5c4005d35328000401322a..."} 
[2026-08-23 15:30:40] local.INFO: Packet analysis {"connection_id":161780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:30:40] local.INFO: Extracted packet for processing {"connection_id":161780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763255872,"raw_latitude":97735464,"longitude_deg":76.3255872,"latitude_deg":9.7735464,"altitude":4,"angle":306,"satellites":42,"speed":12,"hex_longitude":"2d7e5c40","hex_latitude":"05d35328","is_valid_coordinates":true} 
[2026-08-23 15:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594664192001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122656148485570560,"note":"Value kept but may cause issues"} 
[2026-08-23 15:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105715521609928704,"note":"Value kept but may cause issues"} 
[2026-08-23 15:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787479159000,"timestamp_ms":1787479159000,"timestamp_seconds":1787479159,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0f70d8"} 
[2026-08-23 15:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-23 15:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594664192001,"66":12461,"109":206,"85":15104,"24":12,"16":122656148485570560,"45":9105715521609928704},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 15:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594664192001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:30:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 15:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122656148485570560,"km_value":122656148485570.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105715521609928704,"description":"Unknown IO ID 45"} 
[2026-08-23 15:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594664192001,"power":12461,"unknown_109":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9105715521609928704}} 
[2026-08-23 15:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":161780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:30:40] local.INFO: GPS data processed {"connection_id":161780,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:30:40] local.INFO: Acknowledgment sent {"connection_id":161780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:30:44] local.INFO: TCP Data received {"connection_id":161780,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0f9018012d7e568005d35738000501472a..."} 
[2026-08-23 15:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0f9018012d7e568005d35738000501472a..."} 
[2026-08-23 15:30:44] local.INFO: Processing buffer {"connection_id":161780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0f9018012d7e568005d35738000501472a..."} 
[2026-08-23 15:30:44] local.INFO: Packet analysis {"connection_id":161780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:30:44] local.INFO: Extracted packet for processing {"connection_id":161780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:30:44] local.INFO: GPS Element Parsed {"raw_longitude":763254400,"raw_latitude":97736504,"longitude_deg":76.32544,"latitude_deg":9.7736504,"altitude":5,"angle":327,"satellites":42,"speed":7,"hex_longitude":"2d7e5680","hex_latitude":"05d35738","is_valid_coordinates":true} 
[2026-08-23 15:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594664704001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122656234384916480,"note":"Value kept but may cause issues"} 
[2026-08-23 15:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105222940400756736,"note":"Value kept but may cause issues"} 
[2026-08-23 15:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787479167000,"timestamp_ms":1787479167000,"timestamp_seconds":1787479167,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0f9018"} 
[2026-08-23 15:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:30:44] 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-08-23 15:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594664704001,"66":13102,"109":206,"85":15104,"24":7,"16":122656234384916480,"45":9105222940400756736},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 15:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594664704001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:30:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 15:30:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122656234384916480,"km_value":122656234384916.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105222940400756736,"description":"Unknown IO ID 45"} 
[2026-08-23 15:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594664704001,"power":13102,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9105222940400756736}} 
[2026-08-23 15:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":161780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:30:44] local.INFO: GPS data processed {"connection_id":161780,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:30:44] local.INFO: Acknowledgment sent {"connection_id":161780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:30:51] local.INFO: TCP Data received {"connection_id":160833,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:30:51] local.INFO: Processing buffer {"connection_id":160833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:30:51] local.INFO: IMEI packet received {"connection_id":160833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":160833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:30:56] local.INFO: TCP Data received {"connection_id":160833,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:30:56] local.INFO: Processing buffer {"connection_id":160833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:30:56] local.INFO: IMEI packet received {"connection_id":160833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":160833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:30:57] local.INFO: TCP Data received {"connection_id":160833,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:30:57] local.INFO: Processing buffer {"connection_id":160833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:30:57] local.INFO: Packet analysis {"connection_id":160833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:30:57] local.INFO: Extracted packet for processing {"connection_id":160833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:30:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594595584001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787479190000,"timestamp_ms":1787479190000,"timestamp_seconds":1787479190,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0fe9f0"} 
[2026-08-23 15:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 15:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594595584001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594595584001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:30:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:30:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594595584001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":160833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:30:57] local.INFO: GPS data processed {"connection_id":160833,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:30:57] local.INFO: Acknowledgment sent {"connection_id":160833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:31:01] local.INFO: TCP Data received {"connection_id":160833,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:31:01] local.INFO: Processing buffer {"connection_id":160833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:31:01] local.INFO: Packet analysis {"connection_id":160833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:31:01] local.INFO: Extracted packet for processing {"connection_id":160833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:31:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594595584001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787479190000,"timestamp_ms":1787479190000,"timestamp_seconds":1787479190,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0fe9f0"} 
[2026-08-23 15:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 15:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594595584001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594595584001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:31:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:31:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594595584001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":160833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:31:01] local.INFO: GPS data processed {"connection_id":160833,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:31:01] local.INFO: Acknowledgment sent {"connection_id":160833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:31:06] local.INFO: TCP Data received {"connection_id":163180,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0f7c90012d181e400721afb8004e00cc28..."} 
[2026-08-23 15:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0f7c90012d181e400721afb8004e00cc28..."} 
[2026-08-23 15:31:06] local.INFO: Processing buffer {"connection_id":163180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0f7c90012d181e400721afb8004e00cc28..."} 
[2026-08-23 15:31:06] local.INFO: Packet analysis {"connection_id":163180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:31:06] local.INFO: Extracted packet for processing {"connection_id":163180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648184,"longitude_deg":75.6555328,"latitude_deg":11.9648184,"altitude":78,"angle":204,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-23 15:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594660096001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594790028574720,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585702912,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787479162000,"timestamp_ms":1787479162000,"timestamp_seconds":1787479162,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0f7c90"} 
[2026-08-23 15:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594660096001,"66":12461,"105":206,"83":41984,"24":0,"16":15594790028574720,"45":1737896905585702912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594660096001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:31:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594790028574720,"km_value":15594790028574.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585702912,"description":"Unknown IO ID 45"} 
[2026-08-23 15:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594660096001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585702912}} 
[2026-08-23 15:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":163180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:31:06] local.INFO: GPS data processed {"connection_id":163180,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:31:06] local.INFO: Acknowledgment sent {"connection_id":163180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:31:16] local.INFO: TCP Data received {"connection_id":161780,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e10c898012d7e420005d40b900001015a28..."} 
[2026-08-23 15:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e10c898012d7e420005d40b900001015a28..."} 
[2026-08-23 15:31:16] local.INFO: Processing buffer {"connection_id":161780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e10c898012d7e420005d40b900001015a28..."} 
[2026-08-23 15:31:16] local.INFO: Packet analysis {"connection_id":161780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e10"} 
[2026-08-23 15:31:16] local.INFO: Extracted packet for processing {"connection_id":161780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e10"} 
[2026-08-23 15:31:16] local.INFO: GPS Element Parsed {"raw_longitude":763249152,"raw_latitude":97782672,"longitude_deg":76.3249152,"latitude_deg":9.7782672,"altitude":1,"angle":346,"satellites":40,"speed":32,"hex_longitude":"2d7e4200","hex_latitude":"05d40b90","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594684160001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122658510717583360,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099171228411414528,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787479247000,"timestamp_ms":1787479247000,"timestamp_seconds":1787479247,"priority":1,"record_length":96,"hex_timestamp":"000001a02e10c898"} 
[2026-08-23 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-08-23 15:31:16] 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-08-23 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 15:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 15:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594684160001,"66":13319,"109":206,"85":15104,"24":32,"16":122658510717583360,"45":9099171228411414528},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 15:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594684160001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:31:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 15:31:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122658510717583360,"km_value":122658510717583.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099171228411414528,"description":"Unknown IO ID 45"} 
[2026-08-23 15:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594684160001,"power":13319,"unknown_109":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9099171228411414528}} 
[2026-08-23 15:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":161780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:31:16] local.INFO: GPS data processed {"connection_id":161780,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:31:16] local.INFO: Acknowledgment sent {"connection_id":161780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:31:29] local.INFO: TCP Data received {"connection_id":160595,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:31:29] local.INFO: Processing buffer {"connection_id":160595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:31:29] local.INFO: IMEI packet received {"connection_id":160595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":160595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:31:33] local.INFO: TCP Data received {"connection_id":160595,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:31:33] local.INFO: Processing buffer {"connection_id":160595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:31:33] local.INFO: IMEI packet received {"connection_id":160595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":160595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:31:34] local.INFO: TCP Data received {"connection_id":160595,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0fce98012d181e400721afb8004e00cc27..."} 
[2026-08-23 15:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0fce98012d181e400721afb8004e00cc27..."} 
[2026-08-23 15:31:34] local.INFO: Processing buffer {"connection_id":160595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0fce98012d181e400721afb8004e00cc27..."} 
[2026-08-23 15:31:34] local.INFO: Packet analysis {"connection_id":160595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:31:34] local.INFO: Extracted packet for processing {"connection_id":160595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:31:34] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648184,"longitude_deg":75.6555328,"latitude_deg":11.9648184,"altitude":78,"angle":204,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-08-23 15:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594665472001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594790028574720,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585702912,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787479183000,"timestamp_ms":1787479183000,"timestamp_seconds":1787479183,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0fce98"} 
[2026-08-23 15:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594665472001,"66":12461,"105":206,"83":41984,"24":0,"16":15594790028574720,"45":1737896905585702912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594665472001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:31:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:31:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594790028574720,"km_value":15594790028574.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585702912,"description":"Unknown IO ID 45"} 
[2026-08-23 15:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594665472001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585702912}} 
[2026-08-23 15:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":160595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:31:34] local.INFO: GPS data processed {"connection_id":160595,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:31:34] local.INFO: Acknowledgment sent {"connection_id":160595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:31:35] local.INFO: TCP Data received {"connection_id":160596,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:31:35] local.INFO: Processing buffer {"connection_id":160596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:31:35] local.INFO: IMEI packet received {"connection_id":160596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":160596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:31:39] local.INFO: TCP Data received {"connection_id":160596,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:31:39] local.INFO: Processing buffer {"connection_id":160596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:31:39] local.INFO: IMEI packet received {"connection_id":160596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":160596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:31:40] local.INFO: TCP Data received {"connection_id":160596,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e110b00012d7e3a8005d42f28000201612a..."} 
[2026-08-23 15:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e110b00012d7e3a8005d42f28000201612a..."} 
[2026-08-23 15:31:40] local.INFO: Processing buffer {"connection_id":160596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e110b00012d7e3a8005d42f28000201612a..."} 
[2026-08-23 15:31:40] local.INFO: Packet analysis {"connection_id":160596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e11"} 
[2026-08-23 15:31:40] local.INFO: Extracted packet for processing {"connection_id":160596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e11"} 
[2026-08-23 15:31:40] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97791784,"longitude_deg":76.3247232,"latitude_deg":9.7791784,"altitude":2,"angle":353,"satellites":42,"speed":36,"hex_longitude":"2d7e3a80","hex_latitude":"05d42f28","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594687232001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122658965984116736,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097834222274187264,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787479264000,"timestamp_ms":1787479264000,"timestamp_seconds":1787479264,"priority":1,"record_length":96,"hex_timestamp":"000001a02e110b00"} 
[2026-08-23 15:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 15:31:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:40] local.WARNING: Large IO value detected {"io_id":196,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:40] local.WARNING: Large IO value detected {"io_id":211,"raw_value":-8860832241080718848,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-23 15:31:40] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3221607315,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:40] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3286368256,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:40] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:40] local.WARNING: Large IO value detected {"io_id":15,"raw_value":-2152719326978670587,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:40] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,109,85,24,241,157,16,197,160,153,45,192,234,2,40,10,66,196,142,128,231,79,1,240,12,227,46,211,4,113,205,34,253,81,8,43,239,51,179,5,214,15],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-08-23 15:31:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72438196861927424,"timestamp_seconds":72438196861927.42,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 15:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594687232001,"66":13319,"109":206,"85":15104,"24":36,"16":122658965984116736,"45":9097834222274187264},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 15:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594687232001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:31:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 15:31:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122658965984116736,"km_value":122658965984116.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097834222274187264,"description":"Unknown IO ID 45"} 
[2026-08-23 15:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594687232001,"power":13319,"unknown_109":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9097834222274187264}} 
[2026-08-23 15:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":160596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:31:40] local.INFO: GPS data processed {"connection_id":160596,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:31:40] local.INFO: Acknowledgment sent {"connection_id":160596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:31:46] local.INFO: TCP Data received {"connection_id":163181,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:31:46] local.INFO: Processing buffer {"connection_id":163181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:31:46] local.INFO: IMEI packet received {"connection_id":163181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":163181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:31:51] local.INFO: TCP Data received {"connection_id":163181,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:31:51] local.INFO: Processing buffer {"connection_id":163181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:31:51] local.INFO: IMEI packet received {"connection_id":163181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":163181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:31:52] local.INFO: TCP Data received {"connection_id":163181,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:31:52] local.INFO: Processing buffer {"connection_id":163181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:31:52] local.INFO: Packet analysis {"connection_id":163181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:31:52] local.INFO: Extracted packet for processing {"connection_id":163181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:31:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594595584001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787479190000,"timestamp_ms":1787479190000,"timestamp_seconds":1787479190,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0fe9f0"} 
[2026-08-23 15:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 15:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594595584001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594595584001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:31:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:31:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594595584001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":163181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:31:52] local.INFO: GPS data processed {"connection_id":163181,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:31:52] local.INFO: Acknowledgment sent {"connection_id":163181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:32:05] local.INFO: TCP Data received {"connection_id":160595,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0ff1c0012d181dc00721af68004b00d928..."} 
[2026-08-23 15:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0ff1c0012d181dc00721af68004b00d928..."} 
[2026-08-23 15:32:05] local.INFO: Processing buffer {"connection_id":160595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0ff1c0012d181dc00721af68004b00d928..."} 
[2026-08-23 15:32:05] local.INFO: Packet analysis {"connection_id":160595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:32:05] local.INFO: Extracted packet for processing {"connection_id":160595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648104,"longitude_deg":75.65552,"latitude_deg":11.9648104,"altitude":75,"angle":217,"satellites":40,"speed":1,"hex_longitude":"2d181dc0","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-08-23 15:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594670848001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594798618509312,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585702912,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787479192000,"timestamp_ms":1787479192000,"timestamp_seconds":1787479192,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0ff1c0"} 
[2026-08-23 15:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594670848001,"66":12428,"105":206,"83":41984,"24":1,"16":15594798618509312,"45":1737896905585702912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594670848001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:32:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:32:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594798618509312,"km_value":15594798618509.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585702912,"description":"Unknown IO ID 45"} 
[2026-08-23 15:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594670848001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1737896905585702912}} 
[2026-08-23 15:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":160595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:32:06] local.INFO: GPS data processed {"connection_id":160595,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:32:06] local.INFO: Acknowledgment sent {"connection_id":160595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:32:11] local.INFO: TCP Data received {"connection_id":160596,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e112e28012d7e380005d452700002015c28..."} 
[2026-08-23 15:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e112e28012d7e380005d452700002015c28..."} 
[2026-08-23 15:32:11] local.INFO: Processing buffer {"connection_id":160596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e112e28012d7e380005d452700002015c28..."} 
[2026-08-23 15:32:11] local.INFO: Packet analysis {"connection_id":160596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e11"} 
[2026-08-23 15:32:11] local.INFO: Extracted packet for processing {"connection_id":160596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e11"} 
[2026-08-23 15:32:11] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97800816,"longitude_deg":76.3246592,"latitude_deg":9.7800816,"altitude":2,"angle":348,"satellites":40,"speed":36,"hex_longitude":"2d7e3800","hex_latitude":"05d45270","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594691584001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122659404070780928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159951190016,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787479273000,"timestamp_ms":1787479273000,"timestamp_seconds":1787479273,"priority":1,"record_length":96,"hex_timestamp":"000001a02e112e28"} 
[2026-08-23 15:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:32:11] 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-08-23 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 15:32:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":38913,"corrected_to":0} 
[2026-08-23 15:32:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:11] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:11] local.WARNING: Large IO value detected {"io_id":211,"raw_value":-8192047700688688640,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-23 15:32:11] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2281778558,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:11] local.WARNING: Large IO value detected {"io_id":74,"raw_value":2147865515,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:11] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070413,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:11] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3291152384,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:11] local.WARNING: Large IO value detected {"io_id":3,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:11] local.WARNING: Large IO value detected {"io_id":15,"raw_value":-745344443425325051,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:11] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,109,85,24,241,157,16,197,160,200,45,11,1,40,10,66,153,192,234,2,196,142,128,240,122,227,46,211,4,113,205,37,36,74,48,42,239,51,179,5,23,3,15],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":200,"original":38913,"validated":0},{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-08-23 15:32:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144503496071446528,"timestamp_seconds":144503496071446.53,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 15:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594691584001,"66":13037,"109":206,"85":15104,"24":36,"16":122659404070780928,"45":9095723159951190016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 15:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594691584001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:32:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 15:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122659404070780928,"km_value":122659404070780.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159951190016,"description":"Unknown IO ID 45"} 
[2026-08-23 15:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594691584001,"power":13037,"unknown_109":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9095723159951190016}} 
[2026-08-23 15:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":160596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:32:11] local.INFO: GPS data processed {"connection_id":160596,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:32:11] local.INFO: Acknowledgment sent {"connection_id":160596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:32:24] local.INFO: TCP Data received {"connection_id":163181,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:32:24] local.INFO: Processing buffer {"connection_id":163181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:32:24] local.INFO: Packet analysis {"connection_id":163181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:32:24] local.INFO: Extracted packet for processing {"connection_id":163181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:32:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594595584001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787479190000,"timestamp_ms":1787479190000,"timestamp_seconds":1787479190,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0fe9f0"} 
[2026-08-23 15:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 15:32:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:32: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-08-23 15:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594595584001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594595584001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:32:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:32:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594595584001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":163181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:32:24] local.INFO: GPS data processed {"connection_id":163181,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:32:24] local.INFO: Acknowledgment sent {"connection_id":163181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:32:30] local.INFO: TCP Data received {"connection_id":161781,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:32:30] local.INFO: Processing buffer {"connection_id":161781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:32:30] local.INFO: IMEI packet received {"connection_id":161781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":161781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:32:34] local.INFO: TCP Data received {"connection_id":160834,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:32:34] local.INFO: Processing buffer {"connection_id":160834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:32:34] local.INFO: IMEI packet received {"connection_id":160834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":160834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:32:34] local.INFO: TCP Data received {"connection_id":161781,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:32:34] local.INFO: Processing buffer {"connection_id":161781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:32:34] local.INFO: IMEI packet received {"connection_id":161781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":161781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:32:35] local.INFO: TCP Data received {"connection_id":161781,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1043c8012d181d400721af48004b00d92a..."} 
[2026-08-23 15:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1043c8012d181d400721af48004b00d92a..."} 
[2026-08-23 15:32:35] local.INFO: Processing buffer {"connection_id":161781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1043c8012d181d400721af48004b00d92a..."} 
[2026-08-23 15:32:35] local.INFO: Packet analysis {"connection_id":161781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e10"} 
[2026-08-23 15:32:35] local.INFO: Extracted packet for processing {"connection_id":161781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e10"} 
[2026-08-23 15:32:35] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119648072,"longitude_deg":75.6555072,"latitude_deg":11.9648072,"altitude":75,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594673152001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594802913476608,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097327104,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787479213000,"timestamp_ms":1787479213000,"timestamp_seconds":1787479213,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1043c8"} 
[2026-08-23 15:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 15:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594673152001,"66":12385,"105":206,"83":41984,"24":0,"16":15594802913476608,"45":1737756168097327104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594673152001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:32:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:32:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594802913476608,"km_value":15594802913476.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097327104,"description":"Unknown IO ID 45"} 
[2026-08-23 15:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594673152001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097327104}} 
[2026-08-23 15:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":161781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:32:35] local.INFO: GPS data processed {"connection_id":161781,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:32:35] local.INFO: Acknowledgment sent {"connection_id":161781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:32:39] local.INFO: TCP Data received {"connection_id":160834,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:32:39] local.INFO: Processing buffer {"connection_id":160834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:32:39] local.INFO: IMEI packet received {"connection_id":160834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":160834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:32:40] local.INFO: TCP Data received {"connection_id":160834,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e122058012d7e230005d506c80004013329..."} 
[2026-08-23 15:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e122058012d7e230005d506c80004013329..."} 
[2026-08-23 15:32:40] local.INFO: Processing buffer {"connection_id":160834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e122058012d7e230005d506c80004013329..."} 
[2026-08-23 15:32:40] local.INFO: Packet analysis {"connection_id":160834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e12"} 
[2026-08-23 15:32:40] local.INFO: Extracted packet for processing {"connection_id":160834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e12"} 
[2026-08-23 15:32:40] local.INFO: GPS Element Parsed {"raw_longitude":763241216,"raw_latitude":97846984,"longitude_deg":76.3241216,"latitude_deg":9.7846984,"altitude":4,"angle":307,"satellites":41,"speed":8,"hex_longitude":"2d7e2300","hex_latitude":"05d506c8","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594709504001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122661697583316992,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089249235500933120,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787479335000,"timestamp_ms":1787479335000,"timestamp_seconds":1787479335,"priority":1,"record_length":96,"hex_timestamp":"000001a02e122058"} 
[2026-08-23 15:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-23 15:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594709504001,"66":12982,"111":206,"85":15104,"24":8,"16":122661697583316992,"45":9089249235500933120},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-23 15:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594709504001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:32:40] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-23 15:32:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122661697583316992,"km_value":122661697583316.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089249235500933120,"description":"Unknown IO ID 45"} 
[2026-08-23 15:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594709504001,"power":12982,"unknown_111":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9089249235500933120}} 
[2026-08-23 15:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":160834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:32:40] local.INFO: GPS data processed {"connection_id":160834,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:32:40] local.INFO: Acknowledgment sent {"connection_id":160834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:32:46] local.INFO: TCP Data received {"connection_id":163182,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:32:46] local.INFO: Processing buffer {"connection_id":163182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:32:46] local.INFO: IMEI packet received {"connection_id":163182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":163182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:32:51] local.INFO: TCP Data received {"connection_id":163182,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:32:51] local.INFO: Processing buffer {"connection_id":163182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:32:51] local.INFO: IMEI packet received {"connection_id":163182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":163182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:32:52] local.INFO: TCP Data received {"connection_id":163182,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:32:52] local.INFO: Processing buffer {"connection_id":163182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:32:52] local.INFO: Packet analysis {"connection_id":163182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:32:52] local.INFO: Extracted packet for processing {"connection_id":163182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:32:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594595584001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787479190000,"timestamp_ms":1787479190000,"timestamp_seconds":1787479190,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0fe9f0"} 
[2026-08-23 15:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 15:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594595584001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594595584001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:32:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:32:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594595584001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":163182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:32:52] local.INFO: GPS data processed {"connection_id":163182,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:32:52] local.INFO: Acknowledgment sent {"connection_id":163182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:33:06] local.INFO: TCP Data received {"connection_id":161781,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1095d0012d181d400721af48004b00d92a..."} 
[2026-08-23 15:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1095d0012d181d400721af48004b00d92a..."} 
[2026-08-23 15:33:06] local.INFO: Processing buffer {"connection_id":161781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1095d0012d181d400721af48004b00d92a..."} 
[2026-08-23 15:33:06] local.INFO: Packet analysis {"connection_id":161781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e10"} 
[2026-08-23 15:33:06] local.INFO: Extracted packet for processing {"connection_id":161781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e10"} 
[2026-08-23 15:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119648072,"longitude_deg":75.6555072,"latitude_deg":11.9648072,"altitude":75,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-08-23 15:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594678528001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594802913476608,"note":"Value kept but may cause issues"} 
[2026-08-23 15:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608963584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787479234000,"timestamp_ms":1787479234000,"timestamp_seconds":1787479234,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1095d0"} 
[2026-08-23 15:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 15:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594678528001,"66":12461,"105":206,"83":41984,"24":0,"16":15594802913476608,"45":1737615430608963584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594678528001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:33:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594802913476608,"km_value":15594802913476.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608963584,"description":"Unknown IO ID 45"} 
[2026-08-23 15:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594678528001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608963584}} 
[2026-08-23 15:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":161781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:33:06] local.INFO: GPS data processed {"connection_id":161781,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:33:06] local.INFO: Acknowledgment sent {"connection_id":161781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:33:11] local.INFO: TCP Data received {"connection_id":160834,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e122440012d7e220005d507280004011929..."} 
[2026-08-23 15:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e122440012d7e220005d507280004011929..."} 
[2026-08-23 15:33:11] local.INFO: Processing buffer {"connection_id":160834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e122440012d7e220005d507280004011929..."} 
[2026-08-23 15:33:11] local.INFO: Packet analysis {"connection_id":160834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e12"} 
[2026-08-23 15:33:11] local.INFO: Extracted packet for processing {"connection_id":160834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e12"} 
[2026-08-23 15:33:11] local.INFO: GPS Element Parsed {"raw_longitude":763240960,"raw_latitude":97847080,"longitude_deg":76.324096,"latitude_deg":9.784708,"altitude":4,"angle":281,"satellites":41,"speed":9,"hex_longitude":"2d7e2200","hex_latitude":"05d50728","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594709760001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122661706173251584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089108498012620800,"note":"Value kept but may cause issues"} 
[2026-08-23 15:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787479336000,"timestamp_ms":1787479336000,"timestamp_seconds":1787479336,"priority":1,"record_length":96,"hex_timestamp":"000001a02e122440"} 
[2026-08-23 15:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:33:11] 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-08-23 15: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 15:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594709760001,"66":12982,"111":206,"85":15104,"24":9,"16":122661706173251584,"45":9089108498012620800},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-23 15:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594709760001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:33:11] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-23 15:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122661706173251584,"km_value":122661706173251.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089108498012620800,"description":"Unknown IO ID 45"} 
[2026-08-23 15:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594709760001,"power":12982,"unknown_111":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9089108498012620800}} 
[2026-08-23 15:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":160834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687272,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:33:11] local.INFO: GPS data processed {"connection_id":160834,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:33:11] local.INFO: Acknowledgment sent {"connection_id":160834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:33:23] local.INFO: TCP Data received {"connection_id":163182,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:33:23] local.INFO: Processing buffer {"connection_id":163182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:33:23] local.INFO: Packet analysis {"connection_id":163182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:33:23] local.INFO: Extracted packet for processing {"connection_id":163182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:33:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594595584001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787479190000,"timestamp_ms":1787479190000,"timestamp_seconds":1787479190,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0fe9f0"} 
[2026-08-23 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-08-23 15:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 15:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 15:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594595584001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594595584001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:33:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:33:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594595584001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":163182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:33:23] local.INFO: GPS data processed {"connection_id":163182,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:33:23] local.INFO: Acknowledgment sent {"connection_id":163182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:33:29] local.INFO: TCP Data received {"connection_id":161782,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:33:29] local.INFO: Processing buffer {"connection_id":161782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:33:29] local.INFO: IMEI packet received {"connection_id":161782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":161782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:33:34] local.INFO: TCP Data received {"connection_id":160597,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:33:34] local.INFO: Processing buffer {"connection_id":160597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:33:34] local.INFO: IMEI packet received {"connection_id":160597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":160597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:33:34] local.INFO: TCP Data received {"connection_id":161782,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:33:34] local.INFO: Processing buffer {"connection_id":161782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:33:34] local.INFO: IMEI packet received {"connection_id":161782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":161782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:33:35] local.INFO: TCP Data received {"connection_id":161782,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e10e7d8012d181d400721af48004b00d929..."} 
[2026-08-23 15:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e10e7d8012d181d400721af48004b00d929..."} 
[2026-08-23 15:33:35] local.INFO: Processing buffer {"connection_id":161782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e10e7d8012d181d400721af48004b00d929..."} 
[2026-08-23 15:33:35] local.INFO: Packet analysis {"connection_id":161782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e10"} 
[2026-08-23 15:33:35] local.INFO: Extracted packet for processing {"connection_id":161782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e10"} 
[2026-08-23 15:33:35] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119648072,"longitude_deg":75.6555072,"latitude_deg":11.9648072,"altitude":75,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-08-23 15:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594683904001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594802913476608,"note":"Value kept but may cause issues"} 
[2026-08-23 15:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608963584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787479255000,"timestamp_ms":1787479255000,"timestamp_seconds":1787479255,"priority":1,"record_length":96,"hex_timestamp":"000001a02e10e7d8"} 
[2026-08-23 15:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594683904001,"66":12461,"105":206,"83":41984,"24":0,"16":15594802913476608,"45":1737615430608963584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594683904001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:33:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:33:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594802913476608,"km_value":15594802913476.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608963584,"description":"Unknown IO ID 45"} 
[2026-08-23 15:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594683904001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608963584}} 
[2026-08-23 15:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":161782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:33:35] local.INFO: GPS data processed {"connection_id":161782,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:33:35] local.INFO: Acknowledgment sent {"connection_id":161782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:33:38] local.INFO: TCP Data received {"connection_id":160597,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:33:38] local.INFO: Processing buffer {"connection_id":160597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:33:38] local.INFO: IMEI packet received {"connection_id":160597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":160597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:33:39] local.INFO: TCP Data received {"connection_id":160597,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:33:39] local.INFO: Processing buffer {"connection_id":160597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:33:39] local.INFO: IMEI packet received {"connection_id":160597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":160597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:33:40] local.INFO: TCP Data received {"connection_id":160597,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e122828012d7e214005d507300004010729..."} 
[2026-08-23 15:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e122828012d7e214005d507300004010729..."} 
[2026-08-23 15:33:40] local.INFO: Processing buffer {"connection_id":160597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e122828012d7e214005d507300004010729..."} 
[2026-08-23 15:33:40] local.INFO: Packet analysis {"connection_id":160597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e12"} 
[2026-08-23 15:33:40] local.INFO: Extracted packet for processing {"connection_id":160597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e12"} 
[2026-08-23 15:33:40] local.INFO: GPS Element Parsed {"raw_longitude":763240768,"raw_latitude":97847088,"longitude_deg":76.3240768,"latitude_deg":9.7847088,"altitude":4,"angle":263,"satellites":41,"speed":9,"hex_longitude":"2d7e2140","hex_latitude":"05d50730","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594710016001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122661719058153472,"note":"Value kept but may cause issues"} 
[2026-08-23 15:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088827023035934720,"note":"Value kept but may cause issues"} 
[2026-08-23 15:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787479337000,"timestamp_ms":1787479337000,"timestamp_seconds":1787479337,"priority":1,"record_length":96,"hex_timestamp":"000001a02e122828"} 
[2026-08-23 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-08-23 15:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 15:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 15:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594710016001,"66":13363,"111":206,"85":15104,"24":9,"16":122661719058153472,"45":9088827023035934720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-23 15:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594710016001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:33:40] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-23 15:33:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122661719058153472,"km_value":122661719058153.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088827023035934720,"description":"Unknown IO ID 45"} 
[2026-08-23 15:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594710016001,"power":13363,"unknown_111":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9088827023035934720}} 
[2026-08-23 15:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":160597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687275,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:33:40] local.INFO: GPS data processed {"connection_id":160597,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:33:40] local.INFO: Acknowledgment sent {"connection_id":160597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:33:45] local.INFO: TCP Data received {"connection_id":160835,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:33:45] local.INFO: Processing buffer {"connection_id":160835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:33:45] local.INFO: IMEI packet received {"connection_id":160835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":160835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:33:51] local.INFO: TCP Data received {"connection_id":160835,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:33:51] local.INFO: Processing buffer {"connection_id":160835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:33:51] local.INFO: IMEI packet received {"connection_id":160835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":160835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:33:52] local.INFO: TCP Data received {"connection_id":160835,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:33:52] local.INFO: Processing buffer {"connection_id":160835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:33:52] local.INFO: Packet analysis {"connection_id":160835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:33:52] local.INFO: Extracted packet for processing {"connection_id":160835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594595584001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787479190000,"timestamp_ms":1787479190000,"timestamp_seconds":1787479190,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0fe9f0"} 
[2026-08-23 15:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 15:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594595584001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594595584001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:33:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:33:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594595584001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":160835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:33:52] local.INFO: GPS data processed {"connection_id":160835,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:33:52] local.INFO: Acknowledgment sent {"connection_id":160835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:34:06] local.INFO: TCP Data received {"connection_id":161782,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1139e0012d181d400721af48004b00d92a..."} 
[2026-08-23 15:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1139e0012d181d400721af48004b00d92a..."} 
[2026-08-23 15:34:06] local.INFO: Processing buffer {"connection_id":161782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1139e0012d181d400721af48004b00d92a..."} 
[2026-08-23 15:34:06] local.INFO: Packet analysis {"connection_id":161782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e11"} 
[2026-08-23 15:34:06] local.INFO: Extracted packet for processing {"connection_id":161782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e11"} 
[2026-08-23 15:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119648072,"longitude_deg":75.6555072,"latitude_deg":11.9648072,"altitude":75,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-08-23 15:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594689280001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594802913476608,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608963584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787479276000,"timestamp_ms":1787479276000,"timestamp_seconds":1787479276,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1139e0"} 
[2026-08-23 15:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594689280001,"66":12439,"105":206,"83":41984,"24":0,"16":15594802913476608,"45":1737615430608963584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594689280001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:34:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594802913476608,"km_value":15594802913476.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608963584,"description":"Unknown IO ID 45"} 
[2026-08-23 15:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594689280001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608963584}} 
[2026-08-23 15:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":161782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:34:07] local.INFO: GPS data processed {"connection_id":161782,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:34:07] local.INFO: Acknowledgment sent {"connection_id":161782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:34:11] local.INFO: TCP Data received {"connection_id":160597,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e13be68012d7dcf4005d4f8d0000300df28..."} 
[2026-08-23 15:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e13be68012d7dcf4005d4f8d0000300df28..."} 
[2026-08-23 15:34:11] local.INFO: Processing buffer {"connection_id":160597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e13be68012d7dcf4005d4f8d0000300df28..."} 
[2026-08-23 15:34:11] local.INFO: Packet analysis {"connection_id":160597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e13"} 
[2026-08-23 15:34:11] local.INFO: Extracted packet for processing {"connection_id":160597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e13"} 
[2026-08-23 15:34:11] local.INFO: GPS Element Parsed {"raw_longitude":763219776,"raw_latitude":97843408,"longitude_deg":76.3219776,"latitude_deg":9.7843408,"altitude":3,"angle":223,"satellites":40,"speed":11,"hex_longitude":"2d7dcf40","hex_latitude":"05d4f8d0","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594736640001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122662973188603904,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065675706200602624,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787479441000,"timestamp_ms":1787479441000,"timestamp_seconds":1787479441,"priority":1,"record_length":96,"hex_timestamp":"000001a02e13be68"} 
[2026-08-23 15:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-23 15:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594736640001,"66":13374,"111":206,"85":15104,"24":11,"16":122662973188603904,"45":9065675706200602624},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-23 15:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594736640001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:34:11] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-23 15:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122662973188603904,"km_value":122662973188603.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065675706200602624,"description":"Unknown IO ID 45"} 
[2026-08-23 15:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594736640001,"power":13374,"unknown_111":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9065675706200602624}} 
[2026-08-23 15:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":160597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:34:11] local.INFO: GPS data processed {"connection_id":160597,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:34:11] local.INFO: Acknowledgment sent {"connection_id":160597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:34:25] local.INFO: TCP Data received {"connection_id":160835,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:34:25] local.INFO: Processing buffer {"connection_id":160835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:34:25] local.INFO: Packet analysis {"connection_id":160835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:34:25] local.INFO: Extracted packet for processing {"connection_id":160835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:34:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594595584001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787479190000,"timestamp_ms":1787479190000,"timestamp_seconds":1787479190,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0fe9f0"} 
[2026-08-23 15:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 15:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594595584001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594595584001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:34:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:34:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594595584001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":160835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:34:25] local.INFO: GPS data processed {"connection_id":160835,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:34:25] local.INFO: Acknowledgment sent {"connection_id":160835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:34:34] local.INFO: TCP Data received {"connection_id":160598,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:34:34] local.INFO: Processing buffer {"connection_id":160598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:34:34] local.INFO: IMEI packet received {"connection_id":160598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":160598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:34:39] local.INFO: TCP Data received {"connection_id":160598,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:34:39] local.INFO: Processing buffer {"connection_id":160598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:34:39] local.INFO: IMEI packet received {"connection_id":160598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":160598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:34:40] local.INFO: TCP Data received {"connection_id":160598,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e118be8012d181d400721af48004b00d92a..."} 
[2026-08-23 15:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e118be8012d181d400721af48004b00d92a..."} 
[2026-08-23 15:34:40] local.INFO: Processing buffer {"connection_id":160598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e118be8012d181d400721af48004b00d92a..."} 
[2026-08-23 15:34:40] local.INFO: Packet analysis {"connection_id":160598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e11"} 
[2026-08-23 15:34:40] local.INFO: Extracted packet for processing {"connection_id":160598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e11"} 
[2026-08-23 15:34:40] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119648072,"longitude_deg":75.6555072,"latitude_deg":11.9648072,"altitude":75,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594694656001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594802913476608,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608963584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787479297000,"timestamp_ms":1787479297000,"timestamp_seconds":1787479297,"priority":1,"record_length":96,"hex_timestamp":"000001a02e118be8"} 
[2026-08-23 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-08-23 15:34: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-08-23 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 15:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 15:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594694656001,"66":12461,"105":206,"83":41984,"24":0,"16":15594802913476608,"45":1737615430608963584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594694656001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:34:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:34:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594802913476608,"km_value":15594802913476.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608963584,"description":"Unknown IO ID 45"} 
[2026-08-23 15:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594694656001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608963584}} 
[2026-08-23 15:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":160598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:34:40] local.INFO: GPS data processed {"connection_id":160598,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:34:40] local.INFO: Acknowledgment sent {"connection_id":160598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:34:42] local.INFO: TCP Data received {"connection_id":160598,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e11ddf0012d181d400721af48004b00d929..."} 
[2026-08-23 15:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e11ddf0012d181d400721af48004b00d929..."} 
[2026-08-23 15:34:42] local.INFO: Processing buffer {"connection_id":160598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e11ddf0012d181d400721af48004b00d929..."} 
[2026-08-23 15:34:42] local.INFO: Packet analysis {"connection_id":160598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e11"} 
[2026-08-23 15:34:42] local.INFO: Extracted packet for processing {"connection_id":160598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e11"} 
[2026-08-23 15:34:42] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119648072,"longitude_deg":75.6555072,"latitude_deg":11.9648072,"altitude":75,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594700032001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594802913476608,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608963584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787479318000,"timestamp_ms":1787479318000,"timestamp_seconds":1787479318,"priority":1,"record_length":96,"hex_timestamp":"000001a02e11ddf0"} 
[2026-08-23 15:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594700032001,"66":12461,"105":206,"83":41984,"24":0,"16":15594802913476608,"45":1737615430608963584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594700032001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:34:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:34:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594802913476608,"km_value":15594802913476.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608963584,"description":"Unknown IO ID 45"} 
[2026-08-23 15:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594700032001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608963584}} 
[2026-08-23 15:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":160598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:34:42] local.INFO: GPS data processed {"connection_id":160598,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:34:42] local.INFO: Acknowledgment sent {"connection_id":160598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:34:44] local.INFO: TCP Data received {"connection_id":161783,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:34:44] local.INFO: Processing buffer {"connection_id":161783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:34:44] local.INFO: IMEI packet received {"connection_id":161783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":161783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:34:46] local.INFO: TCP Data received {"connection_id":161783,"ip":"42.109.136.8","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 15:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161783,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 15:34:46] local.INFO: Processing buffer {"connection_id":161783,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 15:34:46] local.INFO: IMEI packet received {"connection_id":161783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":161783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:34:51] local.INFO: TCP Data received {"connection_id":160836,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:34:51] local.INFO: Processing buffer {"connection_id":160836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:34:51] local.INFO: IMEI packet received {"connection_id":160836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":160836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:34:54] local.INFO: TCP Data received {"connection_id":161783,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e13c250012d7dce4005d4f828000300f328..."} 
[2026-08-23 15:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e13c250012d7dce4005d4f828000300f328..."} 
[2026-08-23 15:34:54] local.INFO: Processing buffer {"connection_id":161783,"buffer_length":829,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 15:34:54] local.INFO: IMEI packet received {"connection_id":161783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":161783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:34:55] local.INFO: TCP Data received {"connection_id":161783,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e13ca20012d7dcb8005d4f7600003010027..."} 
[2026-08-23 15:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e13ca20012d7dcb8005d4f7600003010027..."} 
[2026-08-23 15:34:55] local.INFO: Processing buffer {"connection_id":161783,"buffer_length":1607,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a02e..."} 
[2026-08-23 15:34:55] local.INFO: IMEI packet received {"connection_id":161783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":161783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:34:56] local.INFO: TCP Data received {"connection_id":160836,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:34:56] local.INFO: Processing buffer {"connection_id":160836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:34:56] local.INFO: IMEI packet received {"connection_id":160836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":160836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:34:56] local.INFO: TCP Data received {"connection_id":161783,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e13e960012d7dc48005d4f5d0000400f427..."} 
[2026-08-23 15:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e13e960012d7dc48005d4f5d0000400f427..."} 
[2026-08-23 15:34:56] local.INFO: Processing buffer {"connection_id":161783,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a02e13c250012d7dce4005d4f828000300f328..."} 
[2026-08-23 15:34:56] local.INFO: Packet analysis {"connection_id":161783,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a02e13"} 
[2026-08-23 15:34:56] local.INFO: Extracted packet for processing {"connection_id":161783,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02e13"} 
[2026-08-23 15:34:56] local.INFO: GPS Element Parsed {"raw_longitude":763219520,"raw_latitude":97843240,"longitude_deg":76.321952,"latitude_deg":9.784324,"altitude":3,"angle":243,"satellites":40,"speed":11,"hex_longitude":"2d7dce40","hex_latitude":"05d4f828","is_valid_coordinates":true} 
[2026-08-23 15:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594736896001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122662990368473088,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065534968712187904,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787479442000,"timestamp_ms":1787479442000,"timestamp_seconds":1787479442,"priority":1,"record_length":96,"hex_timestamp":"000001a02e13c250"} 
[2026-08-23 15:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-23 15:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594736896001,"66":13374,"111":206,"85":15104,"24":11,"16":122662990368473088,"45":9065534968712187904},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-23 15:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594736896001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:34:56] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-23 15:34:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122662990368473088,"km_value":122662990368473.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065534968712187904,"description":"Unknown IO ID 45"} 
[2026-08-23 15:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594736896001,"power":13374,"unknown_111":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9065534968712187904}} 
[2026-08-23 15:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":161783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:34:56] local.INFO: GPS data processed {"connection_id":161783,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:34:56] local.INFO: Acknowledgment sent {"connection_id":161783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:34:56] local.INFO: Packet analysis {"connection_id":161783,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02e13"} 
[2026-08-23 15:34:56] local.INFO: Extracted packet for processing {"connection_id":161783,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e13"} 
[2026-08-23 15:34:56] local.INFO: GPS Element Parsed {"raw_longitude":763218816,"raw_latitude":97843040,"longitude_deg":76.3218816,"latitude_deg":9.784304,"altitude":3,"angle":256,"satellites":39,"speed":13,"hex_longitude":"2d7dcb80","hex_latitude":"05d4f760","is_valid_coordinates":true} 
[2026-08-23 15:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594737152001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122663024728211456,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065253493735434240,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787479444000,"timestamp_ms":1787479444000,"timestamp_seconds":1787479444,"priority":1,"record_length":96,"hex_timestamp":"000001a02e13ca20"} 
[2026-08-23 15:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-23 15:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594737152001,"66":13222,"111":206,"85":15104,"24":13,"16":122663024728211456,"45":9065253493735434240},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-23 15:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594737152001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:34:56] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-23 15:34:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122663024728211456,"km_value":122663024728211.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065253493735434240,"description":"Unknown IO ID 45"} 
[2026-08-23 15:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594737152001,"power":13222,"unknown_111":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9065253493735434240}} 
[2026-08-23 15:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":161783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:34:56] local.INFO: GPS data processed {"connection_id":161783,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:34:56] local.INFO: Acknowledgment sent {"connection_id":161783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:34:56] local.INFO: Packet analysis {"connection_id":161783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e13"} 
[2026-08-23 15:34:56] local.INFO: Extracted packet for processing {"connection_id":161783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e13"} 
[2026-08-23 15:34:56] local.INFO: GPS Element Parsed {"raw_longitude":763217024,"raw_latitude":97842640,"longitude_deg":76.3217024,"latitude_deg":9.784264,"altitude":4,"angle":244,"satellites":39,"speed":6,"hex_longitude":"2d7dc480","hex_latitude":"05d4f5d0","is_valid_coordinates":true} 
[2026-08-23 15:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594737664001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122663110627557376,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064479437549428736,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787479452000,"timestamp_ms":1787479452000,"timestamp_seconds":1787479452,"priority":1,"record_length":96,"hex_timestamp":"000001a02e13e960"} 
[2026-08-23 15:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 15:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594737664001,"66":12906,"111":206,"85":15104,"24":6,"16":122663110627557376,"45":9064479437549428736},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-23 15:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594737664001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:34:56] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-23 15:34:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122663110627557376,"km_value":122663110627557.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064479437549428736,"description":"Unknown IO ID 45"} 
[2026-08-23 15:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594737664001,"power":12906,"unknown_111":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9064479437549428736}} 
[2026-08-23 15:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":161783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:34:56] local.INFO: GPS data processed {"connection_id":161783,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:34:56] local.INFO: Acknowledgment sent {"connection_id":161783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:34:57] local.INFO: TCP Data received {"connection_id":161783,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e13f518012d7dc34005d4f4a8000500d528..."} 
[2026-08-23 15:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e13f518012d7dc34005d4f4a8000500d528..."} 
[2026-08-23 15:34:57] local.INFO: Processing buffer {"connection_id":161783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e13f518012d7dc34005d4f4a8000500d528..."} 
[2026-08-23 15:34:57] local.INFO: Packet analysis {"connection_id":161783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e13"} 
[2026-08-23 15:34:57] local.INFO: Extracted packet for processing {"connection_id":161783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e13"} 
[2026-08-23 15:34:57] local.INFO: GPS Element Parsed {"raw_longitude":763216704,"raw_latitude":97842344,"longitude_deg":76.3216704,"latitude_deg":9.7842344,"altitude":5,"angle":213,"satellites":40,"speed":5,"hex_longitude":"2d7dc340","hex_latitude":"05d4f4a8","is_valid_coordinates":true} 
[2026-08-23 15:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594739712001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122663132102393856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062509112712351744,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787479455000,"timestamp_ms":1787479455000,"timestamp_seconds":1787479455,"priority":1,"record_length":96,"hex_timestamp":"000001a02e13f518"} 
[2026-08-23 15:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-23 15:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594739712001,"66":13363,"111":206,"85":15104,"24":5,"16":122663132102393856,"45":9062509112712351744},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-23 15:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594739712001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:34:57] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-23 15:34:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122663132102393856,"km_value":122663132102393.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062509112712351744,"description":"Unknown IO ID 45"} 
[2026-08-23 15:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594739712001,"power":13363,"unknown_111":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9062509112712351744}} 
[2026-08-23 15:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":161783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:34:57] local.INFO: GPS data processed {"connection_id":161783,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:34:57] local.INFO: Acknowledgment sent {"connection_id":161783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:34:57] local.INFO: TCP Data received {"connection_id":160836,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:34:57] local.INFO: Processing buffer {"connection_id":160836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:34:57] local.INFO: Packet analysis {"connection_id":160836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:34:57] local.INFO: Extracted packet for processing {"connection_id":160836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:34:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594595584001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787479190000,"timestamp_ms":1787479190000,"timestamp_seconds":1787479190,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0fe9f0"} 
[2026-08-23 15:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 15:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594595584001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594595584001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:34:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:34:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594595584001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":160836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:34:57] local.INFO: GPS data processed {"connection_id":160836,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:34:57] local.INFO: Acknowledgment sent {"connection_id":160836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:34:57] local.INFO: TCP Data received {"connection_id":161783,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1400d0012d7dc18005d4f308000500e829..."} 
[2026-08-23 15:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1400d0012d7dc18005d4f308000500e829..."} 
[2026-08-23 15:34:58] local.INFO: Processing buffer {"connection_id":161783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1400d0012d7dc18005d4f308000500e829..."} 
[2026-08-23 15:34:58] local.INFO: Packet analysis {"connection_id":161783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:34:58] local.INFO: Extracted packet for processing {"connection_id":161783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:34:58] local.INFO: GPS Element Parsed {"raw_longitude":763216256,"raw_latitude":97841928,"longitude_deg":76.3216256,"latitude_deg":9.7841928,"altitude":5,"angle":232,"satellites":41,"speed":9,"hex_longitude":"2d7dc180","hex_latitude":"05d4f308","is_valid_coordinates":true} 
[2026-08-23 15:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594740480001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122663162167164928,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062157268991387648,"note":"Value kept but may cause issues"} 
[2026-08-23 15:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787479458000,"timestamp_ms":1787479458000,"timestamp_seconds":1787479458,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1400d0"} 
[2026-08-23 15:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-23 15:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594740480001,"66":13276,"111":206,"85":15104,"24":9,"16":122663162167164928,"45":9062157268991387648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-23 15:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594740480001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:34:58] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-23 15:34:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122663162167164928,"km_value":122663162167164.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062157268991387648,"description":"Unknown IO ID 45"} 
[2026-08-23 15:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594740480001,"power":13276,"unknown_111":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9062157268991387648}} 
[2026-08-23 15:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":161783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:34:58] local.INFO: GPS data processed {"connection_id":161783,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:34:58] local.INFO: Acknowledgment sent {"connection_id":161783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:35:01] local.INFO: TCP Data received {"connection_id":160836,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:35:01] local.INFO: Processing buffer {"connection_id":160836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e0fe9f0012d34c50006aa40980006008522..."} 
[2026-08-23 15:35:01] local.INFO: Packet analysis {"connection_id":160836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:35:01] local.INFO: Extracted packet for processing {"connection_id":160836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e0f"} 
[2026-08-23 15:35:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594595584001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787479190000,"timestamp_ms":1787479190000,"timestamp_seconds":1787479190,"priority":1,"record_length":96,"hex_timestamp":"000001a02e0fe9f0"} 
[2026-08-23 15:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 15:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594595584001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594595584001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:35:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:35:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594595584001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":160836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:35:01] local.INFO: GPS data processed {"connection_id":160836,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:35:01] local.INFO: Acknowledgment sent {"connection_id":160836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:35:13] local.INFO: TCP Data received {"connection_id":160598,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e122ff8012d181d400721af48004b00d926..."} 
[2026-08-23 15:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e122ff8012d181d400721af48004b00d926..."} 
[2026-08-23 15:35:13] local.INFO: Processing buffer {"connection_id":160598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e122ff8012d181d400721af48004b00d926..."} 
[2026-08-23 15:35:13] local.INFO: Packet analysis {"connection_id":160598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e12"} 
[2026-08-23 15:35:13] local.INFO: Extracted packet for processing {"connection_id":160598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e12"} 
[2026-08-23 15:35:13] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119648072,"longitude_deg":75.6555072,"latitude_deg":11.9648072,"altitude":75,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-08-23 15:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594705408001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594802913476608,"note":"Value kept but may cause issues"} 
[2026-08-23 15:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608963584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787479339000,"timestamp_ms":1787479339000,"timestamp_seconds":1787479339,"priority":1,"record_length":96,"hex_timestamp":"000001a02e122ff8"} 
[2026-08-23 15:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594705408001,"66":12461,"105":206,"83":41984,"24":0,"16":15594802913476608,"45":1737615430608963584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594705408001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:35:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:35:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594802913476608,"km_value":15594802913476.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608963584,"description":"Unknown IO ID 45"} 
[2026-08-23 15:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594705408001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608963584}} 
[2026-08-23 15:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":160598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:35:13] local.INFO: GPS data processed {"connection_id":160598,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:35:13] local.INFO: Acknowledgment sent {"connection_id":160598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:35:29] local.INFO: TCP Data received {"connection_id":163183,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:35:29] local.INFO: Processing buffer {"connection_id":163183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:35:29] local.INFO: IMEI packet received {"connection_id":163183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":163183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:35:34] local.INFO: TCP Data received {"connection_id":163183,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:35:34] local.INFO: Processing buffer {"connection_id":163183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:35:34] local.INFO: IMEI packet received {"connection_id":163183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":163183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:35:34] local.INFO: TCP Data received {"connection_id":163184,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:35:34] local.INFO: Processing buffer {"connection_id":163184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:35:34] local.INFO: IMEI packet received {"connection_id":163184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":163184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:35:35] local.INFO: TCP Data received {"connection_id":163183,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e128200012d181d400721af48004b00d92a..."} 
[2026-08-23 15:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e128200012d181d400721af48004b00d92a..."} 
[2026-08-23 15:35:35] local.INFO: Processing buffer {"connection_id":163183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e128200012d181d400721af48004b00d92a..."} 
[2026-08-23 15:35:35] local.INFO: Packet analysis {"connection_id":163183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e12"} 
[2026-08-23 15:35:35] local.INFO: Extracted packet for processing {"connection_id":163183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e12"} 
[2026-08-23 15:35:35] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119648072,"longitude_deg":75.6555072,"latitude_deg":11.9648072,"altitude":75,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-08-23 15:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594710784001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594802913476608,"note":"Value kept but may cause issues"} 
[2026-08-23 15:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608963584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787479360000,"timestamp_ms":1787479360000,"timestamp_seconds":1787479360,"priority":1,"record_length":96,"hex_timestamp":"000001a02e128200"} 
[2026-08-23 15:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594710784001,"66":12428,"105":206,"83":41984,"24":0,"16":15594802913476608,"45":1737615430608963584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594710784001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:35:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:35:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594802913476608,"km_value":15594802913476.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608963584,"description":"Unknown IO ID 45"} 
[2026-08-23 15:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594710784001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608963584}} 
[2026-08-23 15:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":163183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:35:35] local.INFO: GPS data processed {"connection_id":163183,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:35:35] local.INFO: Acknowledgment sent {"connection_id":163183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:35:35] local.INFO: TCP Data received {"connection_id":163184,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:35:35] local.INFO: Processing buffer {"connection_id":163184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:35:35] local.INFO: IMEI packet received {"connection_id":163184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":163184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:35:39] local.INFO: TCP Data received {"connection_id":163184,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:35:39] local.INFO: Processing buffer {"connection_id":163184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:35:39] local.INFO: IMEI packet received {"connection_id":163184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":163184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:35:40] local.INFO: TCP Data received {"connection_id":163184,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e14fad0012d7da44005d4ec10000300f829..."} 
[2026-08-23 15:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e14fad0012d7da44005d4ec10000300f829..."} 
[2026-08-23 15:35:40] local.INFO: Processing buffer {"connection_id":163184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e14fad0012d7da44005d4ec10000300f829..."} 
[2026-08-23 15:35:40] local.INFO: Packet analysis {"connection_id":163184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:35:40] local.INFO: Extracted packet for processing {"connection_id":163184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763208768,"raw_latitude":97840144,"longitude_deg":76.3208768,"latitude_deg":9.7840144,"altitude":3,"angle":248,"satellites":41,"speed":5,"hex_longitude":"2d7da440","hex_latitude":"05d4ec10","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594756864001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122663608843763712,"note":"Value kept but may cause issues"} 
[2026-08-23 15:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9053853757177905152,"note":"Value kept but may cause issues"} 
[2026-08-23 15:35: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-08-23 15:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787479522000,"timestamp_ms":1787479522000,"timestamp_seconds":1787479522,"priority":1,"record_length":96,"hex_timestamp":"000001a02e14fad0"} 
[2026-08-23 15:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:35:40] 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-08-23 15: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-23 15:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594756864001,"66":12798,"81":206,"85":15104,"24":5,"16":122663608843763712,"45":9053853757177905152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 15:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594756864001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:35:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 15:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122663608843763712,"km_value":122663608843763.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9053853757177905152,"description":"Unknown IO ID 45"} 
[2026-08-23 15:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594756864001,"power":12798,"unknown_81":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9053853757177905152}} 
[2026-08-23 15:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":163184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:35:40] local.INFO: GPS data processed {"connection_id":163184,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:35:40] local.INFO: Acknowledgment sent {"connection_id":163184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:35:46] local.INFO: TCP Data received {"connection_id":161784,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:35:46] local.INFO: Processing buffer {"connection_id":161784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:35:46] local.INFO: IMEI packet received {"connection_id":161784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":161784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:35:51] local.INFO: TCP Data received {"connection_id":161784,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:35:51] local.INFO: Processing buffer {"connection_id":161784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:35:51] local.INFO: IMEI packet received {"connection_id":161784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":161784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:35:52] local.INFO: TCP Data received {"connection_id":161784,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:35:52] local.INFO: Processing buffer {"connection_id":161784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:35:52] local.INFO: Packet analysis {"connection_id":161784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:35:52] local.INFO: Extracted packet for processing {"connection_id":161784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594672640001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787479491000,"timestamp_ms":1787479491000,"timestamp_seconds":1787479491,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1481b8"} 
[2026-08-23 15:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:35:52] 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-08-23 15:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594672640001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594672640001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:35:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594672640001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":161784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:35:52] local.INFO: GPS data processed {"connection_id":161784,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:35:52] local.INFO: Acknowledgment sent {"connection_id":161784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:36:06] local.INFO: TCP Data received {"connection_id":163183,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e12d408012d181d400721af48004b00d929..."} 
[2026-08-23 15:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e12d408012d181d400721af48004b00d929..."} 
[2026-08-23 15:36:06] local.INFO: Processing buffer {"connection_id":163183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e12d408012d181d400721af48004b00d929..."} 
[2026-08-23 15:36:06] local.INFO: Packet analysis {"connection_id":163183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e12"} 
[2026-08-23 15:36:06] local.INFO: Extracted packet for processing {"connection_id":163183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e12"} 
[2026-08-23 15:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119648072,"longitude_deg":75.6555072,"latitude_deg":11.9648072,"altitude":75,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-08-23 15:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594716160001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594802913476608,"note":"Value kept but may cause issues"} 
[2026-08-23 15:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608963584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787479381000,"timestamp_ms":1787479381000,"timestamp_seconds":1787479381,"priority":1,"record_length":96,"hex_timestamp":"000001a02e12d408"} 
[2026-08-23 15:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 15:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594716160001,"66":12461,"105":206,"83":41984,"24":0,"16":15594802913476608,"45":1737615430608963584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594716160001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:36:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594802913476608,"km_value":15594802913476.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608963584,"description":"Unknown IO ID 45"} 
[2026-08-23 15:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594716160001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608963584}} 
[2026-08-23 15:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":163183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:36:06] local.INFO: GPS data processed {"connection_id":163183,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:36:06] local.INFO: Acknowledgment sent {"connection_id":163183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:36:11] local.INFO: TCP Data received {"connection_id":163184,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e14feb8012d7da34005d4ebf80003010b29..."} 
[2026-08-23 15:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e14feb8012d7da34005d4ebf80003010b29..."} 
[2026-08-23 15:36:11] local.INFO: Processing buffer {"connection_id":163184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e14feb8012d7da34005d4ebf80003010b29..."} 
[2026-08-23 15:36:11] local.INFO: Packet analysis {"connection_id":163184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:36:11] local.INFO: Extracted packet for processing {"connection_id":163184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:36:11] local.INFO: GPS Element Parsed {"raw_longitude":763208512,"raw_latitude":97840120,"longitude_deg":76.3208512,"latitude_deg":9.784012,"altitude":3,"angle":267,"satellites":41,"speed":7,"hex_longitude":"2d7da340","hex_latitude":"05d4ebf8","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594757632001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122663621728665600,"note":"Value kept but may cause issues"} 
[2026-08-23 15:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9053431544712794112,"note":"Value kept but may cause issues"} 
[2026-08-23 15:36:11] 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-08-23 15:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787479523000,"timestamp_ms":1787479523000,"timestamp_seconds":1787479523,"priority":1,"record_length":96,"hex_timestamp":"000001a02e14feb8"} 
[2026-08-23 15:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-23 15:36:11] 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-08-23 15: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-08-23 15:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594757632001,"66":13124,"81":206,"85":15104,"24":7,"16":122663621728665600,"45":9053431544712794112},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 15:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594757632001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:36:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 15:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122663621728665600,"km_value":122663621728665.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9053431544712794112,"description":"Unknown IO ID 45"} 
[2026-08-23 15:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594757632001,"power":13124,"unknown_81":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9053431544712794112}} 
[2026-08-23 15:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":163184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:36:11] local.INFO: GPS data processed {"connection_id":163184,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:36:11] local.INFO: Acknowledgment sent {"connection_id":163184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:36:23] local.INFO: TCP Data received {"connection_id":161784,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:36:23] local.INFO: Processing buffer {"connection_id":161784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:36:23] local.INFO: Packet analysis {"connection_id":161784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:36:23] local.INFO: Extracted packet for processing {"connection_id":161784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:36:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594672640001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787479491000,"timestamp_ms":1787479491000,"timestamp_seconds":1787479491,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1481b8"} 
[2026-08-23 15:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594672640001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594672640001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:36:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:36:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594672640001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":161784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:36:23] local.INFO: GPS data processed {"connection_id":161784,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:36:23] local.INFO: Acknowledgment sent {"connection_id":161784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:36:27] local.INFO: TCP Data received {"connection_id":160837,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:36:27] local.INFO: Processing buffer {"connection_id":160837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:36:27] local.INFO: IMEI packet received {"connection_id":160837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":160837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:36:29] local.INFO: TCP Data received {"connection_id":160837,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:36:29] local.INFO: Processing buffer {"connection_id":160837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:36:29] local.INFO: IMEI packet received {"connection_id":160837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":160837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:36:34] local.INFO: TCP Data received {"connection_id":160837,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:36:34] local.INFO: Processing buffer {"connection_id":160837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:36:34] local.INFO: IMEI packet received {"connection_id":160837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":160837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:36:35] local.INFO: TCP Data received {"connection_id":160837,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e132610012d181d400721af48004b00d92a..."} 
[2026-08-23 15:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e132610012d181d400721af48004b00d92a..."} 
[2026-08-23 15:36:35] local.INFO: Processing buffer {"connection_id":160837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e132610012d181d400721af48004b00d92a..."} 
[2026-08-23 15:36:35] local.INFO: Packet analysis {"connection_id":160837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e13"} 
[2026-08-23 15:36:35] local.INFO: Extracted packet for processing {"connection_id":160837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e13"} 
[2026-08-23 15:36:35] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119648072,"longitude_deg":75.6555072,"latitude_deg":11.9648072,"altitude":75,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-08-23 15:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594721536001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594802913476608,"note":"Value kept but may cause issues"} 
[2026-08-23 15:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608963584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787479402000,"timestamp_ms":1787479402000,"timestamp_seconds":1787479402,"priority":1,"record_length":96,"hex_timestamp":"000001a02e132610"} 
[2026-08-23 15:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 15:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594721536001,"66":12461,"105":206,"83":41984,"24":0,"16":15594802913476608,"45":1737615430608963584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594721536001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:36:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:36:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594802913476608,"km_value":15594802913476.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608963584,"description":"Unknown IO ID 45"} 
[2026-08-23 15:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594721536001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608963584}} 
[2026-08-23 15:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":160837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:36:35] local.INFO: GPS data processed {"connection_id":160837,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:36:35] local.INFO: Acknowledgment sent {"connection_id":160837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:36:39] local.INFO: TCP Data received {"connection_id":160838,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:36:39] local.INFO: Processing buffer {"connection_id":160838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:36:39] local.INFO: IMEI packet received {"connection_id":160838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":160838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:36:44] local.INFO: TCP Data received {"connection_id":160838,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:36:44] local.INFO: Processing buffer {"connection_id":160838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:36:44] local.INFO: IMEI packet received {"connection_id":160838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":160838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:36:45] local.INFO: TCP Data received {"connection_id":160838,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e15f8b8012d7d70c005d4df30000000e429..."} 
[2026-08-23 15:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e15f8b8012d7d70c005d4df30000000e429..."} 
[2026-08-23 15:36:45] local.INFO: Processing buffer {"connection_id":160838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e15f8b8012d7d70c005d4df30000000e429..."} 
[2026-08-23 15:36:45] local.INFO: Packet analysis {"connection_id":160838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e15"} 
[2026-08-23 15:36:45] local.INFO: Extracted packet for processing {"connection_id":160838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e15"} 
[2026-08-23 15:36:45] local.INFO: GPS Element Parsed {"raw_longitude":763195584,"raw_latitude":97836848,"longitude_deg":76.3195584,"latitude_deg":9.7836848,"altitude":0,"angle":228,"satellites":41,"speed":11,"hex_longitude":"2d7d70c0","hex_latitude":"05d4df30","is_valid_coordinates":true} 
[2026-08-23 15:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594773760001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122664283153629184,"note":"Value kept but may cause issues"} 
[2026-08-23 15:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9039357795876485120,"note":"Value kept but may cause issues"} 
[2026-08-23 15:36:45] 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-08-23 15:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787479587000,"timestamp_ms":1787479587000,"timestamp_seconds":1787479587,"priority":1,"record_length":96,"hex_timestamp":"000001a02e15f8b8"} 
[2026-08-23 15:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:36:45] 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-08-23 15:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-23 15:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594773760001,"66":13515,"254":206,"85":15104,"24":11,"16":122664283153629184,"45":9039357795876485120},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-08-23 15:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594773760001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:36:45] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-23 15:36:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122664283153629184,"km_value":122664283153629.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9039357795876485120,"description":"Unknown IO ID 45"} 
[2026-08-23 15:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594773760001,"power":13515,"unknown_254":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9039357795876485120}} 
[2026-08-23 15:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":160838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:36:45] local.INFO: GPS data processed {"connection_id":160838,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:36:45] local.INFO: Acknowledgment sent {"connection_id":160838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:36:46] local.INFO: TCP Data received {"connection_id":160838,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e160470012d7d6d4005d4dcd8000000fb29..."} 
[2026-08-23 15:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e160470012d7d6d4005d4dcd8000000fb29..."} 
[2026-08-23 15:36:46] local.INFO: Processing buffer {"connection_id":160838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e160470012d7d6d4005d4dcd8000000fb29..."} 
[2026-08-23 15:36:46] local.INFO: Packet analysis {"connection_id":160838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e16"} 
[2026-08-23 15:36:46] local.INFO: Extracted packet for processing {"connection_id":160838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e16"} 
[2026-08-23 15:36:46] local.INFO: GPS Element Parsed {"raw_longitude":763194688,"raw_latitude":97836248,"longitude_deg":76.3194688,"latitude_deg":9.7836248,"altitude":0,"angle":251,"satellites":41,"speed":18,"hex_longitude":"2d7d6d40","hex_latitude":"05d4dcd8","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594774272001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122664334693236736,"note":"Value kept but may cause issues"} 
[2026-08-23 15:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9038935583411351552,"note":"Value kept but may cause issues"} 
[2026-08-23 15:36:46] 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-08-23 15:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787479590000,"timestamp_ms":1787479590000,"timestamp_seconds":1787479590,"priority":1,"record_length":96,"hex_timestamp":"000001a02e160470"} 
[2026-08-23 15:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:36:46] 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-08-23 15: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-23 15:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594774272001,"66":13319,"254":206,"85":15104,"24":18,"16":122664334693236736,"45":9038935583411351552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-08-23 15:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594774272001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:36:46] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-23 15:36:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122664334693236736,"km_value":122664334693236.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9038935583411351552,"description":"Unknown IO ID 45"} 
[2026-08-23 15:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594774272001,"power":13319,"unknown_254":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9038935583411351552}} 
[2026-08-23 15:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":160838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:36:46] local.INFO: GPS data processed {"connection_id":160838,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:36:46] local.INFO: Acknowledgment sent {"connection_id":160838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:36:46] local.INFO: TCP Data received {"connection_id":160599,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:36:46] local.INFO: Processing buffer {"connection_id":160599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:36:46] local.INFO: IMEI packet received {"connection_id":160599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":160599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:36:51] local.INFO: TCP Data received {"connection_id":160599,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:36:51] local.INFO: Processing buffer {"connection_id":160599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:36:51] local.INFO: IMEI packet received {"connection_id":160599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":160599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:36:52] local.INFO: TCP Data received {"connection_id":160599,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:36:52] local.INFO: Processing buffer {"connection_id":160599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:36:52] local.INFO: Packet analysis {"connection_id":160599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:36:52] local.INFO: Extracted packet for processing {"connection_id":160599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:36: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-08-23 15:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594672640001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787479491000,"timestamp_ms":1787479491000,"timestamp_seconds":1787479491,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1481b8"} 
[2026-08-23 15:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:36:52] 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-08-23 15:36: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-08-23 15:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594672640001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594672640001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:36:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:36:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594672640001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":160599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:36:52] local.INFO: GPS data processed {"connection_id":160599,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:36:52] local.INFO: Acknowledgment sent {"connection_id":160599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:37:06] local.INFO: TCP Data received {"connection_id":160837,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e15c9d8012d181c400721ab58004a00b427..."} 
[2026-08-23 15:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e15c9d8012d181c400721ab58004a00b427..."} 
[2026-08-23 15:37:06] local.INFO: Processing buffer {"connection_id":160837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e15c9d8012d181c400721ab58004a00b427..."} 
[2026-08-23 15:37:06] local.INFO: Packet analysis {"connection_id":160837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e15"} 
[2026-08-23 15:37:06] local.INFO: Extracted packet for processing {"connection_id":160837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e15"} 
[2026-08-23 15:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119647064,"longitude_deg":75.6554816,"latitude_deg":11.9647064,"altitude":74,"angle":180,"satellites":39,"speed":4,"hex_longitude":"2d181c40","hex_latitude":"0721ab58","is_valid_coordinates":true} 
[2026-08-23 15:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594770944001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594854453084160,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955632023552,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787479575000,"timestamp_ms":1787479575000,"timestamp_seconds":1787479575,"priority":1,"record_length":96,"hex_timestamp":"000001a02e15c9d8"} 
[2026-08-23 15:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-08-23 15:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594770944001,"66":13896,"105":206,"83":41984,"24":4,"16":15594854453084160,"45":1737333955632023552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594770944001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:37:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594854453084160,"km_value":15594854453084.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955632023552,"description":"Unknown IO ID 45"} 
[2026-08-23 15:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594770944001,"power":13896,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1737333955632023552}} 
[2026-08-23 15:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":160837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:37:06] local.INFO: GPS data processed {"connection_id":160837,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:37:06] local.INFO: Acknowledgment sent {"connection_id":160837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:37:17] local.INFO: TCP Data received {"connection_id":160838,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e160858012d7d6b0005d4dc780000010729..."} 
[2026-08-23 15:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e160858012d7d6b0005d4dc780000010729..."} 
[2026-08-23 15:37:17] local.INFO: Processing buffer {"connection_id":160838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e160858012d7d6b0005d4dc780000010729..."} 
[2026-08-23 15:37:17] local.INFO: Packet analysis {"connection_id":160838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e16"} 
[2026-08-23 15:37:17] local.INFO: Extracted packet for processing {"connection_id":160838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e16"} 
[2026-08-23 15:37:17] local.INFO: GPS Element Parsed {"raw_longitude":763194112,"raw_latitude":97836152,"longitude_deg":76.3194112,"latitude_deg":9.7836152,"altitude":0,"angle":263,"satellites":41,"speed":21,"hex_longitude":"2d7d6b00","hex_latitude":"05d4dc78","is_valid_coordinates":true} 
[2026-08-23 15:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594775040001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122664364758007808,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9037950420992710656,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:17] 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-08-23 15:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787479591000,"timestamp_ms":1787479591000,"timestamp_seconds":1787479591,"priority":1,"record_length":96,"hex_timestamp":"000001a02e160858"} 
[2026-08-23 15:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:37:17] 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-08-23 15:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 15:37:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:17] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2046820352,"corrected_to":0} 
[2026-08-23 15:37:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:17] local.WARNING: Large IO value detected {"io_id":212,"raw_value":-1889260022192264960,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2835218638,"corrected_to":0} 
[2026-08-23 15:37:17] local.WARNING: Large IO value detected {"io_id":21,"raw_value":-7843017456174006267,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:17] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3355520381,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:17] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3221607649,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:17] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3393060864,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:17] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3571601408,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:17] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57888179114366267,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:17] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,254,85,24,241,157,16,202,160,248,45,192,223,41,10,66,240,64,224,233,1,7,227,46,212,4,113,205,21,162,136,184,239,52,2,179,5,20,116],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":202,"original":2046820352,"validated":0},{"io_id":205,"original":2835218638,"validated":0}]} 
[2026-08-23 15:37:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":276153513410560,"timestamp_seconds":276153513410.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 15:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594775040001,"66":13319,"254":206,"85":15104,"24":21,"16":122664364758007808,"45":9037950420992710656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-08-23 15:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594775040001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:37:17] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-23 15:37:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122664364758007808,"km_value":122664364758007.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9037950420992710656,"description":"Unknown IO ID 45"} 
[2026-08-23 15:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594775040001,"power":13319,"unknown_254":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9037950420992710656}} 
[2026-08-23 15:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":160838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:37:17] local.INFO: GPS data processed {"connection_id":160838,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:37:17] local.INFO: Acknowledgment sent {"connection_id":160838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:37:24] local.INFO: TCP Data received {"connection_id":160599,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:37:24] local.INFO: Processing buffer {"connection_id":160599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:37:24] local.INFO: Packet analysis {"connection_id":160599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:37:24] local.INFO: Extracted packet for processing {"connection_id":160599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:37:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594672640001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787479491000,"timestamp_ms":1787479491000,"timestamp_seconds":1787479491,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1481b8"} 
[2026-08-23 15:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:37: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-08-23 15:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594672640001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594672640001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:37:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:37:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594672640001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":160599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:37:24] local.INFO: GPS data processed {"connection_id":160599,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:37:24] local.INFO: Acknowledgment sent {"connection_id":160599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:37:28] local.INFO: TCP Data received {"connection_id":163185,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:37:28] local.INFO: Processing buffer {"connection_id":163185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:37:28] local.INFO: IMEI packet received {"connection_id":163185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":163185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:37:29] local.INFO: TCP Data received {"connection_id":163185,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:37:29] local.INFO: Processing buffer {"connection_id":163185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:37:29] local.INFO: IMEI packet received {"connection_id":163185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":163185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:37:34] local.INFO: TCP Data received {"connection_id":163185,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:37:34] local.INFO: Processing buffer {"connection_id":163185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:37:34] local.INFO: IMEI packet received {"connection_id":163185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":163185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:37:34] local.INFO: TCP Data received {"connection_id":163186,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:37:34] local.INFO: Processing buffer {"connection_id":163186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:37:34] local.INFO: IMEI packet received {"connection_id":163186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":163186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:37:35] local.INFO: TCP Data received {"connection_id":163186,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:37:35] local.INFO: Processing buffer {"connection_id":163186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:37:35] local.INFO: IMEI packet received {"connection_id":163186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":163186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:37:35] local.INFO: TCP Data received {"connection_id":163185,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e15cdc0012d181c800721aae0004a009a28..."} 
[2026-08-23 15:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e15cdc0012d181c800721aae0004a009a28..."} 
[2026-08-23 15:37:35] local.INFO: Processing buffer {"connection_id":163185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e15cdc0012d181c800721aae0004a009a28..."} 
[2026-08-23 15:37:35] local.INFO: Packet analysis {"connection_id":163185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e15"} 
[2026-08-23 15:37:35] local.INFO: Extracted packet for processing {"connection_id":163185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e15"} 
[2026-08-23 15:37:35] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646944,"longitude_deg":75.655488,"latitude_deg":11.9646944,"altitude":74,"angle":154,"satellites":40,"speed":6,"hex_longitude":"2d181c80","hex_latitude":"0721aae0","is_valid_coordinates":true} 
[2026-08-23 15:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594771200001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594863043018752,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631994880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787479576000,"timestamp_ms":1787479576000,"timestamp_seconds":1787479576,"priority":1,"record_length":96,"hex_timestamp":"000001a02e15cdc0"} 
[2026-08-23 15:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-08-23 15:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594771200001,"66":13928,"105":206,"83":41984,"24":6,"16":15594863043018752,"45":1737333955631994880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594771200001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:37:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594863043018752,"km_value":15594863043018.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631994880,"description":"Unknown IO ID 45"} 
[2026-08-23 15:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594771200001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737333955631994880}} 
[2026-08-23 15:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":163185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:37:35] local.INFO: GPS data processed {"connection_id":163185,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:37:35] local.INFO: Acknowledgment sent {"connection_id":163185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:37:39] local.INFO: TCP Data received {"connection_id":163186,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:37:39] local.INFO: Processing buffer {"connection_id":163186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:37:39] local.INFO: IMEI packet received {"connection_id":163186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":163186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:37:40] local.INFO: TCP Data received {"connection_id":163186,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e16a498012d7d330005d4e250000500ff28..."} 
[2026-08-23 15:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e16a498012d7d330005d4e250000500ff28..."} 
[2026-08-23 15:37:40] local.INFO: Processing buffer {"connection_id":163186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e16a498012d7d330005d4e250000500ff28..."} 
[2026-08-23 15:37:40] local.INFO: Packet analysis {"connection_id":163186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e16"} 
[2026-08-23 15:37:40] local.INFO: Extracted packet for processing {"connection_id":163186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e16"} 
[2026-08-23 15:37:40] local.INFO: GPS Element Parsed {"raw_longitude":763179776,"raw_latitude":97837648,"longitude_deg":76.3179776,"latitude_deg":9.7837648,"altitude":5,"angle":255,"satellites":40,"speed":7,"hex_longitude":"2d7d3300","hex_latitude":"05d4e250","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594785280001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122665112082317312,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021695241088038912,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:40] 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-08-23 15:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787479631000,"timestamp_ms":1787479631000,"timestamp_seconds":1787479631,"priority":1,"record_length":96,"hex_timestamp":"000001a02e16a498"} 
[2026-08-23 15:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:37:40] 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-08-23 15: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 15:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594785280001,"66":12917,"254":206,"85":15104,"24":7,"16":122665112082317312,"45":9021695241088038912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-08-23 15:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594785280001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:37:40] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-23 15:37:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122665112082317312,"km_value":122665112082317.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021695241088038912,"description":"Unknown IO ID 45"} 
[2026-08-23 15:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594785280001,"power":12917,"unknown_254":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9021695241088038912}} 
[2026-08-23 15:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":163186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:37:40] local.INFO: GPS data processed {"connection_id":163186,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:37:40] local.INFO: Acknowledgment sent {"connection_id":163186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:37:45] local.INFO: TCP Data received {"connection_id":160839,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:37:45] local.INFO: Processing buffer {"connection_id":160839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:37:45] local.INFO: IMEI packet received {"connection_id":160839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":160839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:37:51] local.INFO: TCP Data received {"connection_id":160839,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:37:51] local.INFO: Processing buffer {"connection_id":160839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:37:51] local.INFO: IMEI packet received {"connection_id":160839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":160839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:37:52] local.INFO: TCP Data received {"connection_id":160839,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:37:53] local.INFO: Processing buffer {"connection_id":160839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:37:53] local.INFO: Packet analysis {"connection_id":160839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:37:53] local.INFO: Extracted packet for processing {"connection_id":160839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:37:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594672640001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787479491000,"timestamp_ms":1787479491000,"timestamp_seconds":1787479491,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1481b8"} 
[2026-08-23 15:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:37:53] 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-08-23 15:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594672640001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594672640001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:37:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:37:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594672640001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":160839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:37:53] local.INFO: GPS data processed {"connection_id":160839,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:37:53] local.INFO: Acknowledgment sent {"connection_id":160839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:38:07] local.INFO: TCP Data received {"connection_id":163185,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e15d1a8012d181d000721aa20004a008e2a..."} 
[2026-08-23 15:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e15d1a8012d181d000721aa20004a008e2a..."} 
[2026-08-23 15:38:07] local.INFO: Processing buffer {"connection_id":163185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e15d1a8012d181d000721aa20004a008e2a..."} 
[2026-08-23 15:38:07] local.INFO: Packet analysis {"connection_id":163185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e15"} 
[2026-08-23 15:38:07] local.INFO: Extracted packet for processing {"connection_id":163185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e15"} 
[2026-08-23 15:38:07] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646752,"longitude_deg":75.6555008,"latitude_deg":11.9646752,"altitude":74,"angle":142,"satellites":42,"speed":9,"hex_longitude":"2d181d00","hex_latitude":"0721aa20","is_valid_coordinates":true} 
[2026-08-23 15:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594771456001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15594875927920640,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376141824,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787479577000,"timestamp_ms":1787479577000,"timestamp_seconds":1787479577,"priority":1,"record_length":96,"hex_timestamp":"000001a02e15d1a8"} 
[2026-08-23 15:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 15:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594771456001,"66":13928,"105":206,"83":41984,"24":9,"16":15594875927920640,"45":1737404324376141824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 15:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594771456001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:38:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 15:38:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15594875927920640,"km_value":15594875927920.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376141824,"description":"Unknown IO ID 45"} 
[2026-08-23 15:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594771456001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737404324376141824}} 
[2026-08-23 15:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":163185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:38:07] local.INFO: GPS data processed {"connection_id":163185,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:38:07] local.INFO: Acknowledgment sent {"connection_id":163185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:38:11] local.INFO: TCP Data received {"connection_id":163186,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e175848012d7d370005d480800005015823..."} 
[2026-08-23 15:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e175848012d7d370005d480800005015823..."} 
[2026-08-23 15:38:11] local.INFO: Processing buffer {"connection_id":163186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e175848012d7d370005d480800005015823..."} 
[2026-08-23 15:38:11] local.INFO: Packet analysis {"connection_id":163186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e17"} 
[2026-08-23 15:38:11] local.INFO: Extracted packet for processing {"connection_id":163186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e17"} 
[2026-08-23 15:38:11] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":97812608,"longitude_deg":76.31808,"latitude_deg":9.7812608,"altitude":5,"angle":344,"satellites":35,"speed":16,"hex_longitude":"2d7d3700","hex_latitude":"05d48080","is_valid_coordinates":true} 
[2026-08-23 15:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594797056001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122666495061786624,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022821140988348416,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:11] 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-08-23 15:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787479677000,"timestamp_ms":1787479677000,"timestamp_seconds":1787479677,"priority":1,"record_length":96,"hex_timestamp":"000001a02e175848"} 
[2026-08-23 15:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:38:11] 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-08-23 15:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-23 15:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303159355428264,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:11] local.WARNING: Large IO value detected {"io_id":254,"raw_value":58077557095399475,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:11] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1946157056,"corrected_to":0} 
[2026-08-23 15:38:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3566809088,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2835218638,"corrected_to":0} 
[2026-08-23 15:38:11] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3221607549,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:11] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3429826560,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:11] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,254,85,24,241,157,16,204,160,76,45,64,124,5,37,10,66,72,6,68,1,240,220,227,46,212,4,113,205,8,60,88,35,239,52,2,179,51],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":204,"original":1946157056,"validated":0},{"io_id":205,"original":2835218638,"validated":0}]} 
[2026-08-23 15:38:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360649859839885312,"timestamp_seconds":360649859839885.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 15:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594797056001,"66":12917,"254":206,"85":15104,"24":16,"16":122666495061786624,"45":9022821140988348416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-08-23 15:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594797056001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:38:11] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-23 15:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122666495061786624,"km_value":122666495061786.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022821140988348416,"description":"Unknown IO ID 45"} 
[2026-08-23 15:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594797056001,"power":12917,"unknown_254":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9022821140988348416}} 
[2026-08-23 15:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":163186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:38:11] local.INFO: GPS data processed {"connection_id":163186,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:38:11] local.INFO: Acknowledgment sent {"connection_id":163186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:38:24] local.INFO: TCP Data received {"connection_id":160839,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:38:24] local.INFO: Processing buffer {"connection_id":160839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:38:24] local.INFO: Packet analysis {"connection_id":160839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:38:24] local.INFO: Extracted packet for processing {"connection_id":160839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:38:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594672640001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787479491000,"timestamp_ms":1787479491000,"timestamp_seconds":1787479491,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1481b8"} 
[2026-08-23 15:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:38: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-08-23 15:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594672640001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594672640001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:38:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:38:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594672640001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":160839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:38:24] local.INFO: GPS data processed {"connection_id":160839,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:38:24] local.INFO: Acknowledgment sent {"connection_id":160839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:38:29] local.INFO: TCP Data received {"connection_id":160600,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:38:29] local.INFO: Processing buffer {"connection_id":160600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:38:29] local.INFO: IMEI packet received {"connection_id":160600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":160600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:38:30] local.INFO: TCP Data received {"connection_id":160600,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:38:30] local.INFO: Processing buffer {"connection_id":160600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:38:30] local.INFO: IMEI packet received {"connection_id":160600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":160600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:38:34] local.INFO: TCP Data received {"connection_id":160840,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160840,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:38:34] local.INFO: Processing buffer {"connection_id":160840,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:38:34] local.INFO: IMEI packet received {"connection_id":160840,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":160840,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:38:34] local.INFO: TCP Data received {"connection_id":160600,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:38:34] local.INFO: Processing buffer {"connection_id":160600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:38:34] local.INFO: IMEI packet received {"connection_id":160600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":160600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:38:35] local.INFO: TCP Data received {"connection_id":160600,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e16d760012d188d0007217f300049006f26..."} 
[2026-08-23 15:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e16d760012d188d0007217f300049006f26..."} 
[2026-08-23 15:38:35] local.INFO: Processing buffer {"connection_id":160600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e16d760012d188d0007217f300049006f26..."} 
[2026-08-23 15:38:35] local.INFO: Packet analysis {"connection_id":160600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e16"} 
[2026-08-23 15:38:35] local.INFO: Extracted packet for processing {"connection_id":160600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e16"} 
[2026-08-23 15:38:35] local.INFO: GPS Element Parsed {"raw_longitude":756583680,"raw_latitude":119635760,"longitude_deg":75.658368,"latitude_deg":11.963576,"altitude":73,"angle":111,"satellites":38,"speed":37,"hex_longitude":"2d188d00","hex_latitude":"07217f30","is_valid_coordinates":true} 
[2026-08-23 15:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594788096001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15596383461441536,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766114771997980672,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787479644000,"timestamp_ms":1787479644000,"timestamp_seconds":1787479644,"priority":1,"record_length":96,"hex_timestamp":"000001a02e16d760"} 
[2026-08-23 15:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-23 15:38:35] 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-08-23 15:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594788096001,"66":14102,"106":206,"83":41984,"24":37,"16":15596383461441536,"45":1766114771997980672},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 15:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594788096001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:38:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 15:38:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15596383461441536,"km_value":15596383461441.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766114771997980672,"description":"Unknown IO ID 45"} 
[2026-08-23 15:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594788096001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1766114771997980672}} 
[2026-08-23 15:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":160600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:38:35] local.INFO: GPS data processed {"connection_id":160600,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:38:35] local.INFO: Acknowledgment sent {"connection_id":160600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:38:37] local.INFO: TCP Data received {"connection_id":160840,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160840,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:38:37] local.INFO: Processing buffer {"connection_id":160840,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:38:37] local.INFO: IMEI packet received {"connection_id":160840,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":160840,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:38:38] local.INFO: TCP Data received {"connection_id":160840,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e175c30012d7d368005d483080005016323..."} 
[2026-08-23 15:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e175c30012d7d368005d483080005016323..."} 
[2026-08-23 15:38:38] local.INFO: Processing buffer {"connection_id":160840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e175c30012d7d368005d483080005016323..."} 
[2026-08-23 15:38:38] local.INFO: Packet analysis {"connection_id":160840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e17"} 
[2026-08-23 15:38:38] local.INFO: Extracted packet for processing {"connection_id":160840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e17"} 
[2026-08-23 15:38:38] local.INFO: GPS Element Parsed {"raw_longitude":763180672,"raw_latitude":97813256,"longitude_deg":76.3180672,"latitude_deg":9.7813256,"altitude":5,"angle":355,"satellites":35,"speed":21,"hex_longitude":"2d7d3680","hex_latitude":"05d48308","is_valid_coordinates":true} 
[2026-08-23 15:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594797312001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122666525126557696,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403500105728,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:38] 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-08-23 15:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787479678000,"timestamp_ms":1787479678000,"timestamp_seconds":1787479678,"priority":1,"record_length":96,"hex_timestamp":"000001a02e175c30"} 
[2026-08-23 15:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 15:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594797312001,"66":12917,"254":206,"85":15104,"24":21,"16":122666525126557696,"45":9022680403500105728},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-08-23 15:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594797312001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:38:38] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-23 15:38:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122666525126557696,"km_value":122666525126557.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403500105728,"description":"Unknown IO ID 45"} 
[2026-08-23 15:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594797312001,"power":12917,"unknown_254":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9022680403500105728}} 
[2026-08-23 15:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":160840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:38:38] local.INFO: GPS data processed {"connection_id":160840,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:38:38] local.INFO: Acknowledgment sent {"connection_id":160840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:38:45] local.INFO: TCP Data received {"connection_id":160601,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:38:45] local.INFO: Processing buffer {"connection_id":160601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:38:45] local.INFO: IMEI packet received {"connection_id":160601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":160601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:38:51] local.INFO: TCP Data received {"connection_id":160601,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:38:51] local.INFO: Processing buffer {"connection_id":160601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:38:51] local.INFO: IMEI packet received {"connection_id":160601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":160601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:38:52] local.INFO: TCP Data received {"connection_id":160601,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:38:52] local.INFO: Processing buffer {"connection_id":160601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:38:52] local.INFO: Packet analysis {"connection_id":160601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:38:52] local.INFO: Extracted packet for processing {"connection_id":160601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:38:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594672640001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787479491000,"timestamp_ms":1787479491000,"timestamp_seconds":1787479491,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1481b8"} 
[2026-08-23 15:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:38:52] 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-08-23 15:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594672640001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594672640001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:38:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:38:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594672640001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":160601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:38:52] local.INFO: GPS data processed {"connection_id":160601,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:38:52] local.INFO: Acknowledgment sent {"connection_id":160601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:39:07] local.INFO: TCP Data received {"connection_id":160600,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e17a280012d18e8000720ed100035009527..."} 
[2026-08-23 15:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e17a280012d18e8000720ed100035009527..."} 
[2026-08-23 15:39:07] local.INFO: Processing buffer {"connection_id":160600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e17a280012d18e8000720ed100035009527..."} 
[2026-08-23 15:39:07] local.INFO: Packet analysis {"connection_id":160600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e17"} 
[2026-08-23 15:39:07] local.INFO: Extracted packet for processing {"connection_id":160600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e17"} 
[2026-08-23 15:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756606976,"raw_latitude":119598352,"longitude_deg":75.6606976,"latitude_deg":11.9598352,"altitude":53,"angle":149,"satellites":39,"speed":36,"hex_longitude":"2d18e800","hex_latitude":"0720ed10","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594800896001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15598664089075712,"note":"Value kept but may cause issues"} 
[2026-08-23 15:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791166044916318208,"note":"Value kept but may cause issues"} 
[2026-08-23 15:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787479696000,"timestamp_ms":1787479696000,"timestamp_seconds":1787479696,"priority":1,"record_length":96,"hex_timestamp":"000001a02e17a280"} 
[2026-08-23 15:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-23 15:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594800896001,"66":14243,"103":206,"83":41984,"24":36,"16":15598664089075712,"45":1791166044916318208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594800896001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:39:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15598664089075712,"km_value":15598664089075.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791166044916318208,"description":"Unknown IO ID 45"} 
[2026-08-23 15:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594800896001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1791166044916318208}} 
[2026-08-23 15:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":160600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:39:07] local.INFO: GPS data processed {"connection_id":160600,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:39:07] local.INFO: Acknowledgment sent {"connection_id":160600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:39:09] local.INFO: TCP Data received {"connection_id":160840,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e178728012d7d2fc005d4a3a8000201551d..."} 
[2026-08-23 15:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e178728012d7d2fc005d4a3a8000201551d..."} 
[2026-08-23 15:39:09] local.INFO: Processing buffer {"connection_id":160840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e178728012d7d2fc005d4a3a8000201551d..."} 
[2026-08-23 15:39:09] local.INFO: Packet analysis {"connection_id":160840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e17"} 
[2026-08-23 15:39:09] local.INFO: Extracted packet for processing {"connection_id":160840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e17"} 
[2026-08-23 15:39:09] local.INFO: GPS Element Parsed {"raw_longitude":763178944,"raw_latitude":97821608,"longitude_deg":76.3178944,"latitude_deg":9.7821608,"altitude":2,"angle":341,"satellites":29,"speed":18,"hex_longitude":"2d7d2fc0","hex_latitude":"05d4a3a8","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594797568001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122666941738385408,"note":"Value kept but may cause issues"} 
[2026-08-23 15:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666011916288,"note":"Value kept but may cause issues"} 
[2026-08-23 15:39: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-08-23 15:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787479689000,"timestamp_ms":1787479689000,"timestamp_seconds":1787479689,"priority":1,"record_length":96,"hex_timestamp":"000001a02e178728"} 
[2026-08-23 15:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:39: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-08-23 15: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 15:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594797568001,"66":12472,"81":206,"85":15104,"24":18,"16":122666941738385408,"45":9022539666011916288},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-23 15:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594797568001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-23 15:39:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122666941738385408,"km_value":122666941738385.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666011916288,"description":"Unknown IO ID 45"} 
[2026-08-23 15:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594797568001,"power":12472,"unknown_81":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9022539666011916288}} 
[2026-08-23 15:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":160840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:39:09] local.INFO: GPS data processed {"connection_id":160840,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:39:09] local.INFO: Acknowledgment sent {"connection_id":160840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:39:24] local.INFO: TCP Data received {"connection_id":160601,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:39:24] local.INFO: Processing buffer {"connection_id":160601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:39:24] local.INFO: Packet analysis {"connection_id":160601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:39:24] local.INFO: Extracted packet for processing {"connection_id":160601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:39:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594672640001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787479491000,"timestamp_ms":1787479491000,"timestamp_seconds":1787479491,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1481b8"} 
[2026-08-23 15:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:39:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:39: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-08-23 15:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594672640001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594672640001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:39:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:39:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594672640001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":160601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:39:24] local.INFO: GPS data processed {"connection_id":160601,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:39:24] local.INFO: Acknowledgment sent {"connection_id":160601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:39:29] local.INFO: TCP Data received {"connection_id":160841,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:39:29] local.INFO: Processing buffer {"connection_id":160841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:39:29] local.INFO: IMEI packet received {"connection_id":160841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":160841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:39:29] local.INFO: TCP Data received {"connection_id":160841,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:39:29] local.INFO: Processing buffer {"connection_id":160841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:39:29] local.INFO: IMEI packet received {"connection_id":160841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":160841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:39:30] local.INFO: TCP Data received {"connection_id":160841,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:39:30] local.INFO: Processing buffer {"connection_id":160841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:39:30] local.INFO: IMEI packet received {"connection_id":160841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":160841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:39:31] local.INFO: TCP Data received {"connection_id":160841,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:39:31] local.INFO: Processing buffer {"connection_id":160841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:39:31] local.INFO: IMEI packet received {"connection_id":160841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":160841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:39:34] local.INFO: TCP Data received {"connection_id":160842,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:39:34] local.INFO: Processing buffer {"connection_id":160842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:39:34] local.INFO: IMEI packet received {"connection_id":160842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":160842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:39:39] local.INFO: TCP Data received {"connection_id":160842,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:39:39] local.INFO: Processing buffer {"connection_id":160842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:39:39] local.INFO: IMEI packet received {"connection_id":160842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":160842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:39:40] local.INFO: TCP Data received {"connection_id":160842,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1869b8012d7c908005d479880001010524..."} 
[2026-08-23 15:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1869b8012d7c908005d479880001010524..."} 
[2026-08-23 15:39:40] local.INFO: Processing buffer {"connection_id":160842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1869b8012d7c908005d479880001010524..."} 
[2026-08-23 15:39:40] local.INFO: Packet analysis {"connection_id":160842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e18"} 
[2026-08-23 15:39:40] local.INFO: Extracted packet for processing {"connection_id":160842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e18"} 
[2026-08-23 15:39:40] local.INFO: GPS Element Parsed {"raw_longitude":763138176,"raw_latitude":97810824,"longitude_deg":76.3138176,"latitude_deg":9.7810824,"altitude":1,"angle":261,"satellites":36,"speed":27,"hex_longitude":"2d7c9080","hex_latitude":"05d47988","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594812416001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122669011912622080,"note":"Value kept but may cause issues"} 
[2026-08-23 15:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8986018287783407616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:39:40] 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-08-23 15:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787479747000,"timestamp_ms":1787479747000,"timestamp_seconds":1787479747,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1869b8"} 
[2026-08-23 15:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:39:40] 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-08-23 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 15:39:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 15:39:40] local.WARNING: Large IO value detected {"io_id":23,"raw_value":-7581808677792989179,"note":"Value kept but may cause issues"} 
[2026-08-23 15:39:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-23 15:39:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2013343101,"corrected_to":0} 
[2026-08-23 15:39:40] local.WARNING: Large IO value detected {"io_id":212,"raw_value":-6455910052932869632,"note":"Value kept but may cause issues"} 
[2026-08-23 15:39:40] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3446145024,"note":"Value kept but may cause issues"} 
[2026-08-23 15:39:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3567673344,"note":"Value kept but may cause issues"} 
[2026-08-23 15:39:40] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57888179114366267,"note":"Value kept but may cause issues"} 
[2026-08-23 15:39:40] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,254,85,24,241,157,16,206,160,23,45,128,136,1,35,10,66,248,142,205,240,51,227,46,212,4,113,28,7,32,29,239,53,2,179,5,3,166],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2013343101,"validated":0}]} 
[2026-08-23 15:39:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144400116208435200,"timestamp_seconds":144400116208435.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 15:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594812416001,"66":13472,"254":206,"85":15104,"24":27,"16":122669011912622080,"45":8986018287783407616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-08-23 15:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594812416001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:39:40] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-23 15:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122669011912622080,"km_value":122669011912622.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8986018287783407616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594812416001,"power":13472,"unknown_254":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8986018287783407616}} 
[2026-08-23 15:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":160842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:39:40] local.INFO: GPS data processed {"connection_id":160842,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:39:40] local.INFO: Acknowledgment sent {"connection_id":160842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:39:45] local.INFO: TCP Data received {"connection_id":160602,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:39:45] local.INFO: Processing buffer {"connection_id":160602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:39:45] local.INFO: IMEI packet received {"connection_id":160602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":160602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:39:51] local.INFO: TCP Data received {"connection_id":160602,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:39:51] local.INFO: Processing buffer {"connection_id":160602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:39:51] local.INFO: IMEI packet received {"connection_id":160602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":160602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:39:52] local.INFO: TCP Data received {"connection_id":160602,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:39:52] local.INFO: Processing buffer {"connection_id":160602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:39:52] local.INFO: Packet analysis {"connection_id":160602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:39:52] local.INFO: Extracted packet for processing {"connection_id":160602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594672640001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787479491000,"timestamp_ms":1787479491000,"timestamp_seconds":1787479491,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1481b8"} 
[2026-08-23 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-08-23 15:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:39:52] 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-08-23 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-08-23 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-08-23 15:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594672640001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594672640001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:39:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:39:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594672640001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":160602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:39:52] local.INFO: GPS data processed {"connection_id":160602,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:39:52] local.INFO: Acknowledgment sent {"connection_id":160602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:40:12] local.INFO: TCP Data received {"connection_id":160842,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e189898012d7c6c8005d473880001010c28..."} 
[2026-08-23 15:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e189898012d7c6c8005d473880001010c28..."} 
[2026-08-23 15:40:12] local.INFO: Processing buffer {"connection_id":160842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e189898012d7c6c8005d473880001010c28..."} 
[2026-08-23 15:40:12] local.INFO: Packet analysis {"connection_id":160842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e18"} 
[2026-08-23 15:40:12] local.INFO: Extracted packet for processing {"connection_id":160842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e18"} 
[2026-08-23 15:40:12] local.INFO: GPS Element Parsed {"raw_longitude":763128960,"raw_latitude":97809288,"longitude_deg":76.312896,"latitude_deg":9.7809288,"altitude":1,"angle":268,"satellites":40,"speed":32,"hex_longitude":"2d7c6c80","hex_latitude":"05d47388","is_valid_coordinates":true} 
[2026-08-23 15:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594815232001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122669462884188160,"note":"Value kept but may cause issues"} 
[2026-08-23 15:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975814819877324800,"note":"Value kept but may cause issues"} 
[2026-08-23 15:40:12] 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-08-23 15:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787479759000,"timestamp_ms":1787479759000,"timestamp_seconds":1787479759,"priority":1,"record_length":96,"hex_timestamp":"000001a02e189898"} 
[2026-08-23 15:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:40:12] 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-08-23 15:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-23 15:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594815232001,"66":13059,"254":206,"85":15104,"24":32,"16":122669462884188160,"45":8975814819877324800},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-08-23 15:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594815232001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:40:12] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-08-23 15:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122669462884188160,"km_value":122669462884188.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975814819877324800,"description":"Unknown IO ID 45"} 
[2026-08-23 15:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594815232001,"power":13059,"unknown_254":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8975814819877324800}} 
[2026-08-23 15:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":160842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:40:12] local.INFO: GPS data processed {"connection_id":160842,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:40:12] local.INFO: Acknowledgment sent {"connection_id":160842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:40:23] local.INFO: TCP Data received {"connection_id":160602,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:40:23] local.INFO: Processing buffer {"connection_id":160602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1481b8012d34c50006aa4098000600851e..."} 
[2026-08-23 15:40:23] local.INFO: Packet analysis {"connection_id":160602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:40:23] local.INFO: Extracted packet for processing {"connection_id":160602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e14"} 
[2026-08-23 15:40:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":6,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594672640001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787479491000,"timestamp_ms":1787479491000,"timestamp_seconds":1787479491,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1481b8"} 
[2026-08-23 15:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 15:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594672640001,"66":25560,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594672640001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:40:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:40:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594672640001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":160602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:40:23] local.INFO: GPS data processed {"connection_id":160602,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:40:23] local.INFO: Acknowledgment sent {"connection_id":160602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:40:51] local.INFO: TCP Data received {"connection_id":163187,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:40:51] local.INFO: Processing buffer {"connection_id":163187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:40:51] local.INFO: IMEI packet received {"connection_id":163187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":163187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:40:56] local.INFO: TCP Data received {"connection_id":163187,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:40:56] local.INFO: Processing buffer {"connection_id":163187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:40:56] local.INFO: IMEI packet received {"connection_id":163187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":163187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:40:57] local.INFO: TCP Data received {"connection_id":163187,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:40:57] local.INFO: Processing buffer {"connection_id":163187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:40:57] local.INFO: Packet analysis {"connection_id":163187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e19"} 
[2026-08-23 15:40:57] local.INFO: Extracted packet for processing {"connection_id":163187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e19"} 
[2026-08-23 15:40:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594749696001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787479792000,"timestamp_ms":1787479792000,"timestamp_seconds":1787479792,"priority":1,"record_length":96,"hex_timestamp":"000001a02e191980"} 
[2026-08-23 15:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15: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":216,"data_length":795,"current_offset":136} 
[2026-08-23 15:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594749696001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594749696001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:40:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:40:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594749696001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":163187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:40:57] local.INFO: GPS data processed {"connection_id":163187,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:40:57] local.INFO: Acknowledgment sent {"connection_id":163187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:41:28] local.INFO: TCP Data received {"connection_id":163187,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:41:28] local.INFO: Processing buffer {"connection_id":163187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:41:28] local.INFO: Packet analysis {"connection_id":163187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e19"} 
[2026-08-23 15:41:28] local.INFO: Extracted packet for processing {"connection_id":163187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e19"} 
[2026-08-23 15:41:28] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594749696001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787479792000,"timestamp_ms":1787479792000,"timestamp_seconds":1787479792,"priority":1,"record_length":96,"hex_timestamp":"000001a02e191980"} 
[2026-08-23 15:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 15:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594749696001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594749696001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:41:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:41:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594749696001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":163187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:41:28] local.INFO: GPS data processed {"connection_id":163187,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:41:28] local.INFO: Acknowledgment sent {"connection_id":163187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:41:44] local.INFO: TCP Data received {"connection_id":160605,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:41:44] local.INFO: Processing buffer {"connection_id":160605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:41:44] local.INFO: IMEI packet received {"connection_id":160605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":160605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:41:46] local.INFO: TCP Data received {"connection_id":163188,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:41:46] local.INFO: Processing buffer {"connection_id":163188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:41:46] local.INFO: IMEI packet received {"connection_id":163188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":163188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:41:50] local.INFO: TCP Data received {"connection_id":160605,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:41:50] local.INFO: Processing buffer {"connection_id":160605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:41:50] local.INFO: IMEI packet received {"connection_id":160605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":160605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:41:51] local.INFO: TCP Data received {"connection_id":163188,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:41:51] local.INFO: Processing buffer {"connection_id":163188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:41:51] local.INFO: IMEI packet received {"connection_id":163188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":163188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:41:51] local.INFO: TCP Data received {"connection_id":160605,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1a7cf8012d7b298005d456800003012c28..."} 
[2026-08-23 15:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1a7cf8012d7b298005d456800003012c28..."} 
[2026-08-23 15:41:51] local.INFO: Processing buffer {"connection_id":160605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1a7cf8012d7b298005d456800003012c28..."} 
[2026-08-23 15:41:51] local.INFO: Packet analysis {"connection_id":160605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1a"} 
[2026-08-23 15:41:51] local.INFO: Extracted packet for processing {"connection_id":160605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1a"} 
[2026-08-23 15:41:51] local.INFO: GPS Element Parsed {"raw_longitude":763046272,"raw_latitude":97801856,"longitude_deg":76.3046272,"latitude_deg":9.7801856,"altitude":3,"angle":300,"satellites":40,"speed":10,"hex_longitude":"2d7b2980","hex_latitude":"05d45680","is_valid_coordinates":true} 
[2026-08-23 15:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594849536001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122673543103119360,"note":"Value kept but may cause issues"} 
[2026-08-23 15:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875187515700932608,"note":"Value kept but may cause issues"} 
[2026-08-23 15:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787479883000,"timestamp_ms":1787479883000,"timestamp_seconds":1787479883,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1a7cf8"} 
[2026-08-23 15:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:41:51] 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-08-23 15:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-23 15:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594849536001,"66":13319,"5":206,"85":15104,"24":10,"16":122673543103119360,"45":8875187515700932608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-08-23 15:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594849536001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:41:51] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-23 15:41:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122673543103119360,"km_value":122673543103119.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875187515700932608,"description":"Unknown IO ID 45"} 
[2026-08-23 15:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594849536001,"power":13319,"unknown_5":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8875187515700932608}} 
[2026-08-23 15:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":160605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:41:51] local.INFO: GPS data processed {"connection_id":160605,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:41:51] local.INFO: Acknowledgment sent {"connection_id":160605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:41:52] local.INFO: TCP Data received {"connection_id":163188,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:41:52] local.INFO: Processing buffer {"connection_id":163188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:41:52] local.INFO: Packet analysis {"connection_id":163188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e19"} 
[2026-08-23 15:41:52] local.INFO: Extracted packet for processing {"connection_id":163188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e19"} 
[2026-08-23 15:41:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:41: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-08-23 15:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594749696001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787479792000,"timestamp_ms":1787479792000,"timestamp_seconds":1787479792,"priority":1,"record_length":96,"hex_timestamp":"000001a02e191980"} 
[2026-08-23 15:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 15:41:52] 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-08-23 15:41: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-08-23 15:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594749696001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594749696001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:41:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:41:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594749696001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":163188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:41:52] local.INFO: GPS data processed {"connection_id":163188,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:41:52] local.INFO: Acknowledgment sent {"connection_id":163188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:41:55] local.INFO: TCP Data received {"connection_id":160605,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1a80e0012d7b284005d457600003013728..."} 
[2026-08-23 15:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1a80e0012d7b284005d457600003013728..."} 
[2026-08-23 15:41:55] local.INFO: Processing buffer {"connection_id":160605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1a80e0012d7b284005d457600003013728..."} 
[2026-08-23 15:41:55] local.INFO: Packet analysis {"connection_id":160605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1a"} 
[2026-08-23 15:41:55] local.INFO: Extracted packet for processing {"connection_id":160605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1a"} 
[2026-08-23 15:41:55] local.INFO: GPS Element Parsed {"raw_longitude":763045952,"raw_latitude":97802080,"longitude_deg":76.3045952,"latitude_deg":9.780208,"altitude":3,"angle":311,"satellites":40,"speed":16,"hex_longitude":"2d7b2840","hex_latitude":"05d45760","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594850048001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122673560282988544,"note":"Value kept but may cause issues"} 
[2026-08-23 15:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874765303235903488,"note":"Value kept but may cause issues"} 
[2026-08-23 15:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787479884000,"timestamp_ms":1787479884000,"timestamp_seconds":1787479884,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1a80e0"} 
[2026-08-23 15:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 15:41:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3563245568,"note":"Value kept but may cause issues"} 
[2026-08-23 15:41:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 15:41:55] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3556769792,"note":"Value kept but may cause issues"} 
[2026-08-23 15:41:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 15:41:55] local.WARNING: Large IO value detected {"io_id":212,"raw_value":7347622804956850176,"note":"Value kept but may cause issues"} 
[2026-08-23 15:41:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2835218638,"corrected_to":0} 
[2026-08-23 15:41:55] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2516635048,"note":"Value kept but may cause issues"} 
[2026-08-23 15:41:55] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3532652544,"note":"Value kept but may cause issues"} 
[2026-08-23 15:41:55] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57888179114366267,"note":"Value kept but may cause issues"} 
[2026-08-23 15:41:55] local.WARNING: Large IO value detected {"io_id":26,"raw_value":279224471752196101,"note":"Value kept but may cause issues"} 
[2026-08-23 15:41:55] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,5,85,24,241,157,16,210,160,117,45,3,40,10,66,113,192,93,1,240,166,227,46,212,4,205,7,31,74,88,41,239,50,254,2,179,35,51,26],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2835218638,"validated":0}]} 
[2026-08-23 15:41:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216502807401463808,"timestamp_seconds":216502807401463.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 15:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594850048001,"66":13319,"5":206,"85":15104,"24":16,"16":122673560282988544,"45":8874765303235903488},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-08-23 15:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594850048001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:41:55] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-23 15:41:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122673560282988544,"km_value":122673560282988.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874765303235903488,"description":"Unknown IO ID 45"} 
[2026-08-23 15:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594850048001,"power":13319,"unknown_5":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8874765303235903488}} 
[2026-08-23 15:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":160605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:41:55] local.INFO: GPS data processed {"connection_id":160605,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:41:55] local.INFO: Acknowledgment sent {"connection_id":160605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:42:23] local.INFO: TCP Data received {"connection_id":163188,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:42:23] local.INFO: Processing buffer {"connection_id":163188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:42:23] local.INFO: Packet analysis {"connection_id":163188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e19"} 
[2026-08-23 15:42:23] local.INFO: Extracted packet for processing {"connection_id":163188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e19"} 
[2026-08-23 15:42:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594749696001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787479792000,"timestamp_ms":1787479792000,"timestamp_seconds":1787479792,"priority":1,"record_length":96,"hex_timestamp":"000001a02e191980"} 
[2026-08-23 15:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 15:42:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594749696001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594749696001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:42:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:42:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594749696001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":163188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:42:23] local.INFO: GPS data processed {"connection_id":163188,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:42:23] local.INFO: Acknowledgment sent {"connection_id":163188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:42:34] local.INFO: TCP Data received {"connection_id":163189,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:42:34] local.INFO: Processing buffer {"connection_id":163189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:42:34] local.INFO: IMEI packet received {"connection_id":163189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":163189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:42:39] local.INFO: TCP Data received {"connection_id":163189,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:42:39] local.INFO: Processing buffer {"connection_id":163189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:42:39] local.INFO: IMEI packet received {"connection_id":163189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":163189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:42:40] local.INFO: TCP Data received {"connection_id":163189,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1a84c8012d7b278005d458a80003014428..."} 
[2026-08-23 15:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1a84c8012d7b278005d458a80003014428..."} 
[2026-08-23 15:42:40] local.INFO: Processing buffer {"connection_id":163189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1a84c8012d7b278005d458a80003014428..."} 
[2026-08-23 15:42:40] local.INFO: Packet analysis {"connection_id":163189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1a"} 
[2026-08-23 15:42:40] local.INFO: Extracted packet for processing {"connection_id":163189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1a"} 
[2026-08-23 15:42:40] local.INFO: GPS Element Parsed {"raw_longitude":763045760,"raw_latitude":97802408,"longitude_deg":76.304576,"latitude_deg":9.7802408,"altitude":3,"angle":324,"satellites":40,"speed":19,"hex_longitude":"2d7b2780","hex_latitude":"05d458a8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594850304001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122673581757825024,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874413459515072512,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787479885000,"timestamp_ms":1787479885000,"timestamp_seconds":1787479885,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1a84c8"} 
[2026-08-23 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-08-23 15:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 15:42:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3562887168,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:40] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3909091328,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:40] local.WARNING: Large IO value detected {"io_id":212,"raw_value":7120191019478820864,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2835218638,"corrected_to":0} 
[2026-08-23 15:42:40] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137392040,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:40] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3536650240,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:40] local.WARNING: Large IO value detected {"io_id":150,"raw_value":57888179114366267,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:40] local.WARNING: Large IO value detected {"io_id":26,"raw_value":1123649401883475973,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:40] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,5,85,24,241,157,16,210,160,124,45,128,86,3,40,10,66,117,113,192,1,240,215,227,46,212,4,205,9,78,53,248,39,239,51,254,2,179,150,26],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2835218638,"validated":0}]} 
[2026-08-23 15:42:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216514902029762560,"timestamp_seconds":216514902029762.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 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-08-23 15:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594850304001,"66":13319,"5":206,"85":15104,"24":19,"16":122673581757825024,"45":8874413459515072512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-08-23 15:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594850304001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:42:40] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-23 15:42:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122673581757825024,"km_value":122673581757825.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874413459515072512,"description":"Unknown IO ID 45"} 
[2026-08-23 15:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594850304001,"power":13319,"unknown_5":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8874413459515072512}} 
[2026-08-23 15:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":163189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:42:40] local.INFO: GPS data processed {"connection_id":163189,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:42:40] local.INFO: Acknowledgment sent {"connection_id":163189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:42:41] local.INFO: TCP Data received {"connection_id":163189,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1a88b0012d7b264005d45a700003015128..."} 
[2026-08-23 15:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1a88b0012d7b264005d45a700003015128..."} 
[2026-08-23 15:42:41] local.INFO: Processing buffer {"connection_id":163189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1a88b0012d7b264005d45a700003015128..."} 
[2026-08-23 15:42:41] local.INFO: Packet analysis {"connection_id":163189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1a"} 
[2026-08-23 15:42:41] local.INFO: Extracted packet for processing {"connection_id":163189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1a"} 
[2026-08-23 15:42:41] local.INFO: GPS Element Parsed {"raw_longitude":763045440,"raw_latitude":97802864,"longitude_deg":76.304544,"latitude_deg":9.7802864,"altitude":3,"angle":337,"satellites":40,"speed":21,"hex_longitude":"2d7b2640","hex_latitude":"05d45a70","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594850560001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122673607527628800,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874202353282623488,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787479886000,"timestamp_ms":1787479886000,"timestamp_seconds":1787479886,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1a88b0"} 
[2026-08-23 15:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 15:42:41] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3562600448,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:41] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3942645760,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:41] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13454853,"corrected_to":0} 
[2026-08-23 15:42:41] local.WARNING: Large IO value detected {"io_id":212,"raw_value":6726126052084754688,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1308950734,"corrected_to":0} 
[2026-08-23 15:42:41] local.WARNING: Large IO value detected {"io_id":93,"raw_value":3087084923,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:41] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3221607512,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:41] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070504,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:41] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3537108992,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:41] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57888179114366267,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:41] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2249549308725166085,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:41] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,5,85,24,241,157,16,210,160,128,45,64,87,3,40,10,66,124,86,117,1,240,247,227,46,212,4,113,205,93,50,120,239,51,254,2,179,7,187,26],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":247,"original":13454853,"validated":0},{"io_id":205,"original":1308950734,"validated":0}]} 
[2026-08-23 15:42:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216529195681120256,"timestamp_seconds":216529195681120.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 15:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594850560001,"66":13319,"5":206,"85":15104,"24":21,"16":122673607527628800,"45":8874202353282623488},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-08-23 15:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594850560001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:42:41] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-23 15:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122673607527628800,"km_value":122673607527628.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874202353282623488,"description":"Unknown IO ID 45"} 
[2026-08-23 15:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594850560001,"power":13319,"unknown_5":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8874202353282623488}} 
[2026-08-23 15:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":163189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687326,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:42:41] local.INFO: GPS data processed {"connection_id":163189,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:42:41] local.INFO: Acknowledgment sent {"connection_id":163189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:42:46] local.INFO: TCP Data received {"connection_id":161786,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:42:46] local.INFO: Processing buffer {"connection_id":161786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:42:46] local.INFO: IMEI packet received {"connection_id":161786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":161786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:42:51] local.INFO: TCP Data received {"connection_id":161786,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:42:51] local.INFO: Processing buffer {"connection_id":161786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:42:51] local.INFO: IMEI packet received {"connection_id":161786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":161786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:42:52] local.INFO: TCP Data received {"connection_id":161786,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:42:52] local.INFO: Processing buffer {"connection_id":161786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:42:52] local.INFO: Packet analysis {"connection_id":161786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e19"} 
[2026-08-23 15:42:52] local.INFO: Extracted packet for processing {"connection_id":161786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e19"} 
[2026-08-23 15:42:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594749696001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787479792000,"timestamp_ms":1787479792000,"timestamp_seconds":1787479792,"priority":1,"record_length":96,"hex_timestamp":"000001a02e191980"} 
[2026-08-23 15:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 15:42:52] 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-08-23 15:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594749696001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594749696001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:42:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:42:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594749696001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":161786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:42:52] local.INFO: GPS data processed {"connection_id":161786,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:42:52] local.INFO: Acknowledgment sent {"connection_id":161786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:43:13] local.INFO: TCP Data received {"connection_id":163189,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1bcce8012d7b040005d585a00003015a2a..."} 
[2026-08-23 15:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1bcce8012d7b040005d585a00003015a2a..."} 
[2026-08-23 15:43:13] local.INFO: Processing buffer {"connection_id":163189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1bcce8012d7b040005d585a00003015a2a..."} 
[2026-08-23 15:43:13] local.INFO: Packet analysis {"connection_id":163189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1b"} 
[2026-08-23 15:43:13] local.INFO: Extracted packet for processing {"connection_id":163189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1b"} 
[2026-08-23 15:43:13] local.INFO: GPS Element Parsed {"raw_longitude":763036672,"raw_latitude":97879456,"longitude_deg":76.3036672,"latitude_deg":9.7879456,"altitude":3,"angle":346,"satellites":42,"speed":48,"hex_longitude":"2d7b0400","hex_latitude":"05d585a0","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594870016001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122677395688783872,"note":"Value kept but may cause issues"} 
[2026-08-23 15:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867024741394003968,"note":"Value kept but may cause issues"} 
[2026-08-23 15:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787479969000,"timestamp_ms":1787479969000,"timestamp_seconds":1787479969,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1bcce8"} 
[2026-08-23 15:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-23 15:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594870016001,"66":13319,"5":206,"85":15104,"24":48,"16":122677395688783872,"45":8867024741394003968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-08-23 15:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594870016001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:43:13] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-23 15:43:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122677395688783872,"km_value":122677395688783.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867024741394003968,"description":"Unknown IO ID 45"} 
[2026-08-23 15:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594870016001,"power":13319,"unknown_5":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8867024741394003968}} 
[2026-08-23 15:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":163189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:43:13] local.INFO: GPS data processed {"connection_id":163189,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:43:13] local.INFO: Acknowledgment sent {"connection_id":163189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:43:23] local.INFO: TCP Data received {"connection_id":161786,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:43:23] local.INFO: Processing buffer {"connection_id":161786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:43:23] local.INFO: Packet analysis {"connection_id":161786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e19"} 
[2026-08-23 15:43:23] local.INFO: Extracted packet for processing {"connection_id":161786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e19"} 
[2026-08-23 15:43:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594749696001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787479792000,"timestamp_ms":1787479792000,"timestamp_seconds":1787479792,"priority":1,"record_length":96,"hex_timestamp":"000001a02e191980"} 
[2026-08-23 15:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 15:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594749696001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594749696001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:43:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:43:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594749696001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":161786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:43:23] local.INFO: GPS data processed {"connection_id":161786,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:43:23] local.INFO: Acknowledgment sent {"connection_id":161786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:43:31] local.INFO: TCP Data received {"connection_id":163191,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:43:31] local.INFO: Processing buffer {"connection_id":163191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:43:31] local.INFO: IMEI packet received {"connection_id":163191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":163191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:43:34] local.INFO: TCP Data received {"connection_id":163191,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:43:34] local.INFO: Processing buffer {"connection_id":163191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:43:34] local.INFO: IMEI packet received {"connection_id":163191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":163191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:43:35] local.INFO: TCP Data received {"connection_id":163191,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:43:35] local.INFO: Processing buffer {"connection_id":163191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:43:35] local.INFO: IMEI packet received {"connection_id":163191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":163191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:43:36] local.INFO: TCP Data received {"connection_id":163191,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:43:36] local.INFO: Processing buffer {"connection_id":163191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:43:36] local.INFO: IMEI packet received {"connection_id":163191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":163191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:43:37] local.INFO: TCP Data received {"connection_id":163191,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1be840012d7afdc005d5a7d80004015f29..."} 
[2026-08-23 15:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1be840012d7afdc005d5a7d80004015f29..."} 
[2026-08-23 15:43:37] local.INFO: Processing buffer {"connection_id":163191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1be840012d7afdc005d5a7d80004015f29..."} 
[2026-08-23 15:43:37] local.INFO: Packet analysis {"connection_id":163191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1b"} 
[2026-08-23 15:43:37] local.INFO: Extracted packet for processing {"connection_id":163191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1b"} 
[2026-08-23 15:43:37] local.INFO: GPS Element Parsed {"raw_longitude":763035072,"raw_latitude":97888216,"longitude_deg":76.3035072,"latitude_deg":9.7888216,"altitude":4,"angle":351,"satellites":41,"speed":50,"hex_longitude":"2d7afdc0","hex_latitude":"05d5a7d8","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594872064001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122677825185513472,"note":"Value kept but may cause issues"} 
[2026-08-23 15:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864209991629119488,"note":"Value kept but may cause issues"} 
[2026-08-23 15:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787479976000,"timestamp_ms":1787479976000,"timestamp_seconds":1787479976,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1be840"} 
[2026-08-23 15:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 15:43:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3572869120,"note":"Value kept but may cause issues"} 
[2026-08-23 15:43:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 15:43:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 15:43:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1308950734,"corrected_to":0} 
[2026-08-23 15:43:37] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3087084923,"note":"Value kept but may cause issues"} 
[2026-08-23 15:43:37] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3221607703,"note":"Value kept but may cause issues"} 
[2026-08-23 15:43:37] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827406,"note":"Value kept but may cause issues"} 
[2026-08-23 15:43:37] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3576233984,"note":"Value kept but may cause issues"} 
[2026-08-23 15:43:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57788153621009723,"note":"Value kept but may cause issues"} 
[2026-08-23 15:43:37] local.WARNING: Large IO value detected {"io_id":27,"raw_value":1535728767783895045,"note":"Value kept but may cause issues"} 
[2026-08-23 15:43:37] local.WARNING: Large IO value detected {"io_id":212,"raw_value":-3519563108767356416,"note":"Value kept but may cause issues"} 
[2026-08-23 15:43:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,5,85,24,241,157,16,214,160,173,45,99,3,42,10,66,158,192,40,213,122,1,240,227,46,4,113,205,37,87,12,104,239,52,2,179,48,7,27,212],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1308950734,"validated":0}]} 
[2026-08-23 15:43:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216553393528766464,"timestamp_seconds":216553393528766.47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 15:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594872064001,"66":13319,"5":206,"85":15104,"24":50,"16":122677825185513472,"45":8864209991629119488},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-08-23 15:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594872064001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:43:37] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-23 15:43:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122677825185513472,"km_value":122677825185513.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864209991629119488,"description":"Unknown IO ID 45"} 
[2026-08-23 15:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594872064001,"power":13319,"unknown_5":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8864209991629119488}} 
[2026-08-23 15:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":163191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:43:37] local.INFO: GPS data processed {"connection_id":163191,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:43:37] local.INFO: Acknowledgment sent {"connection_id":163191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:43:45] local.INFO: TCP Data received {"connection_id":163192,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:43:45] local.INFO: Processing buffer {"connection_id":163192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:43:45] local.INFO: IMEI packet received {"connection_id":163192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":163192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:43:51] local.INFO: TCP Data received {"connection_id":163192,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:43:51] local.INFO: Processing buffer {"connection_id":163192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:43:51] local.INFO: IMEI packet received {"connection_id":163192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":163192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:43:52] local.INFO: TCP Data received {"connection_id":163192,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:43:52] local.INFO: Processing buffer {"connection_id":163192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:43:52] local.INFO: Packet analysis {"connection_id":163192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e19"} 
[2026-08-23 15:43:52] local.INFO: Extracted packet for processing {"connection_id":163192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e19"} 
[2026-08-23 15:43:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594749696001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787479792000,"timestamp_ms":1787479792000,"timestamp_seconds":1787479792,"priority":1,"record_length":96,"hex_timestamp":"000001a02e191980"} 
[2026-08-23 15:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 15:43:52] 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-08-23 15:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594749696001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594749696001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:43:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:43:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594749696001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":163192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:43:52] local.INFO: GPS data processed {"connection_id":163192,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:43:52] local.INFO: Acknowledgment sent {"connection_id":163192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:44:08] local.INFO: TCP Data received {"connection_id":163191,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1c0398012d7af44005d5cde80004015729..."} 
[2026-08-23 15:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1c0398012d7af44005d5cde80004015729..."} 
[2026-08-23 15:44:08] local.INFO: Processing buffer {"connection_id":163191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1c0398012d7af44005d5cde80004015729..."} 
[2026-08-23 15:44:08] local.INFO: Packet analysis {"connection_id":163191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1c"} 
[2026-08-23 15:44:08] local.INFO: Extracted packet for processing {"connection_id":163191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1c"} 
[2026-08-23 15:44:08] local.INFO: GPS Element Parsed {"raw_longitude":763032640,"raw_latitude":97897960,"longitude_deg":76.303264,"latitude_deg":9.789796,"altitude":4,"angle":343,"satellites":41,"speed":57,"hex_longitude":"2d7af440","hex_latitude":"05d5cde8","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594873856001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122678314811785216,"note":"Value kept but may cause issues"} 
[2026-08-23 15:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8862450773026920448,"note":"Value kept but may cause issues"} 
[2026-08-23 15:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787479983000,"timestamp_ms":1787479983000,"timestamp_seconds":1787479983,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1c0398"} 
[2026-08-23 15:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 15:44:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3575080960,"note":"Value kept but may cause issues"} 
[2026-08-23 15:44:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 15:44:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 15:44:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1308950734,"corrected_to":0} 
[2026-08-23 15:44:08] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040078,"note":"Value kept but may cause issues"} 
[2026-08-23 15:44:08] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3581345792,"note":"Value kept but may cause issues"} 
[2026-08-23 15:44:08] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":57788153621009723,"corrected_to":0} 
[2026-08-23 15:44:08] local.WARNING: Large IO value detected {"io_id":27,"raw_value":4350478534890061829,"note":"Value kept but may cause issues"} 
[2026-08-23 15:44:08] local.WARNING: Large IO value detected {"io_id":212,"raw_value":-745345738307131136,"note":"Value kept but may cause issues"} 
[2026-08-23 15:44:08] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,5,85,24,241,157,16,214,160,204,45,133,3,42,10,66,173,99,158,192,1,240,181,227,213,46,4,113,205,39,115,7,152,239,51,2,179,203,27,212],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1308950734,"validated":0},{"io_id":203,"original":57788153621009723,"validated":0}]} 
[2026-08-23 15:44:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288616480829997056,"timestamp_seconds":288616480829997.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 15:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594873856001,"66":13363,"5":206,"85":15104,"24":57,"16":122678314811785216,"45":8862450773026920448},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-08-23 15:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594873856001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:44:08] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-23 15:44:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122678314811785216,"km_value":122678314811785.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8862450773026920448,"description":"Unknown IO ID 45"} 
[2026-08-23 15:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594873856001,"power":13363,"unknown_5":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":8862450773026920448}} 
[2026-08-23 15:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":163191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:44:08] local.INFO: GPS data processed {"connection_id":163191,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:44:08] local.INFO: Acknowledgment sent {"connection_id":163191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:44:23] local.INFO: TCP Data received {"connection_id":163192,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:44:23] local.INFO: Processing buffer {"connection_id":163192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:44:23] local.INFO: Packet analysis {"connection_id":163192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e19"} 
[2026-08-23 15:44:23] local.INFO: Extracted packet for processing {"connection_id":163192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e19"} 
[2026-08-23 15:44:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594749696001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787479792000,"timestamp_ms":1787479792000,"timestamp_seconds":1787479792,"priority":1,"record_length":96,"hex_timestamp":"000001a02e191980"} 
[2026-08-23 15:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 15:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594749696001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594749696001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:44:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:44:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594749696001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":163192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:44:23] local.INFO: GPS data processed {"connection_id":163192,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:44:23] local.INFO: Acknowledgment sent {"connection_id":163192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:44:34] local.INFO: TCP Data received {"connection_id":160843,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:44:34] local.INFO: Processing buffer {"connection_id":160843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:44:34] local.INFO: IMEI packet received {"connection_id":160843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":160843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:44:35] local.INFO: TCP Data received {"connection_id":160606,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:44:35] local.INFO: Processing buffer {"connection_id":160606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:44:35] local.INFO: IMEI packet received {"connection_id":160606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":160606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:44:35] local.INFO: TCP Data received {"connection_id":160606,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1c6d10012d19240007200c680030016125..."} 
[2026-08-23 15:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1c6d10012d19240007200c680030016125..."} 
[2026-08-23 15:44:35] local.INFO: Processing buffer {"connection_id":160606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1c6d10012d19240007200c680030016125..."} 
[2026-08-23 15:44:35] local.INFO: Packet analysis {"connection_id":160606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1c"} 
[2026-08-23 15:44:35] local.INFO: Extracted packet for processing {"connection_id":160606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1c"} 
[2026-08-23 15:44:35] local.INFO: GPS Element Parsed {"raw_longitude":756622336,"raw_latitude":119540840,"longitude_deg":75.6622336,"latitude_deg":11.954084,"altitude":48,"angle":353,"satellites":37,"speed":3,"hex_longitude":"2d192400","hex_latitude":"07200c68","is_valid_coordinates":true} 
[2026-08-23 15:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594879232001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15603646251139072,"note":"Value kept but may cause issues"} 
[2026-08-23 15:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811643349456336896,"note":"Value kept but may cause issues"} 
[2026-08-23 15:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787480010000,"timestamp_ms":1787480010000,"timestamp_seconds":1787480010,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1c6d10"} 
[2026-08-23 15:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-23 15:44:35] 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-08-23 15:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594879232001,"66":14428,"102":206,"83":41984,"24":3,"16":15603646251139072,"45":1811643349456336896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 15:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594879232001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:44:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 15:44:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15603646251139072,"km_value":15603646251139.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811643349456336896,"description":"Unknown IO ID 45"} 
[2026-08-23 15:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594879232001,"power":14428,"unknown_102":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1811643349456336896}} 
[2026-08-23 15:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":160606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:44:35] local.INFO: GPS data processed {"connection_id":160606,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:44:35] local.INFO: Acknowledgment sent {"connection_id":160606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:44:39] local.INFO: TCP Data received {"connection_id":160843,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:44:39] local.INFO: Processing buffer {"connection_id":160843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:44:39] local.INFO: IMEI packet received {"connection_id":160843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":160843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:44:40] local.INFO: TCP Data received {"connection_id":160843,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1d0950012d7ac04005d6eb700003015425..."} 
[2026-08-23 15:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1d0950012d7ac04005d6eb700003015425..."} 
[2026-08-23 15:44:40] local.INFO: Processing buffer {"connection_id":160843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1d0950012d7ac04005d6eb700003015425..."} 
[2026-08-23 15:44:40] local.INFO: Packet analysis {"connection_id":160843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:44:40] local.INFO: Extracted packet for processing {"connection_id":160843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:44:40] local.INFO: GPS Element Parsed {"raw_longitude":763019328,"raw_latitude":97971056,"longitude_deg":76.3019328,"latitude_deg":9.7971056,"altitude":3,"angle":340,"satellites":37,"speed":44,"hex_longitude":"2d7ac040","hex_latitude":"05d6eb70","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594890752001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122681944059150336,"note":"Value kept but may cause issues"} 
[2026-08-23 15:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847743705512583168,"note":"Value kept but may cause issues"} 
[2026-08-23 15:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787480050000,"timestamp_ms":1787480050000,"timestamp_seconds":1787480050,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1d0950"} 
[2026-08-23 15:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-23 15:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594890752001,"66":12798,"243":206,"85":15104,"24":44,"16":122681944059150336,"45":8847743705512583168},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,45]} 
[2026-08-23 15:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594890752001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:44:40] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-23 15:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122681944059150336,"km_value":122681944059150.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847743705512583168,"description":"Unknown IO ID 45"} 
[2026-08-23 15:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594890752001,"power":12798,"unknown_243":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8847743705512583168}} 
[2026-08-23 15:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":160843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:44:40] local.INFO: GPS data processed {"connection_id":160843,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:44:40] local.INFO: Acknowledgment sent {"connection_id":160843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:44:51] local.INFO: TCP Data received {"connection_id":163193,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:44:51] local.INFO: Processing buffer {"connection_id":163193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:44:51] local.INFO: IMEI packet received {"connection_id":163193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":163193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:44:56] local.INFO: TCP Data received {"connection_id":163193,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:44:56] local.INFO: Processing buffer {"connection_id":163193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:44:56] local.INFO: IMEI packet received {"connection_id":163193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":163193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:44:57] local.INFO: TCP Data received {"connection_id":163193,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:44:57] local.INFO: Processing buffer {"connection_id":163193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:44:57] local.INFO: Packet analysis {"connection_id":163193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e19"} 
[2026-08-23 15:44:57] local.INFO: Extracted packet for processing {"connection_id":163193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e19"} 
[2026-08-23 15:44:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594749696001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787479792000,"timestamp_ms":1787479792000,"timestamp_seconds":1787479792,"priority":1,"record_length":96,"hex_timestamp":"000001a02e191980"} 
[2026-08-23 15:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 15:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:44:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594749696001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594749696001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:44:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:44:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594749696001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":163193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:44:57] local.INFO: GPS data processed {"connection_id":163193,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:44:57] local.INFO: Acknowledgment sent {"connection_id":163193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:45:01] local.INFO: TCP Data received {"connection_id":163193,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:45:01] local.INFO: Processing buffer {"connection_id":163193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e191980012d34c50006aa4098000a00851f..."} 
[2026-08-23 15:45:01] local.INFO: Packet analysis {"connection_id":163193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e19"} 
[2026-08-23 15:45:01] local.INFO: Extracted packet for processing {"connection_id":163193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e19"} 
[2026-08-23 15:45:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":31,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594749696001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787479792000,"timestamp_ms":1787479792000,"timestamp_seconds":1787479792,"priority":1,"record_length":96,"hex_timestamp":"000001a02e191980"} 
[2026-08-23 15:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 15:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":163193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":163193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":163193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594749696001,"66":25604,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594749696001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:45:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:45:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594749696001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":163193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:45:01] local.INFO: GPS data processed {"connection_id":163193,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:45:01] local.INFO: Acknowledgment sent {"connection_id":163193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:45:06] local.INFO: TCP Data received {"connection_id":160606,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1c74e0012d19240007200d280030000925..."} 
[2026-08-23 15:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1c74e0012d19240007200d280030000925..."} 
[2026-08-23 15:45:06] local.INFO: Processing buffer {"connection_id":160606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1c74e0012d19240007200d280030000925..."} 
[2026-08-23 15:45:06] local.INFO: Packet analysis {"connection_id":160606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1c"} 
[2026-08-23 15:45:06] local.INFO: Extracted packet for processing {"connection_id":160606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1c"} 
[2026-08-23 15:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756622336,"raw_latitude":119541032,"longitude_deg":75.6622336,"latitude_deg":11.9541032,"altitude":48,"angle":9,"satellites":37,"speed":4,"hex_longitude":"2d192400","hex_latitude":"07200d28","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594882560001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15603654841073664,"note":"Value kept but may cause issues"} 
[2026-08-23 15:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811572980712237056,"note":"Value kept but may cause issues"} 
[2026-08-23 15:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787480012000,"timestamp_ms":1787480012000,"timestamp_seconds":1787480012,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1c74e0"} 
[2026-08-23 15:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 15:45:06] 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-08-23 15: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-08-23 15:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594882560001,"66":14374,"102":206,"83":41984,"24":4,"16":15603654841073664,"45":1811572980712237056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 15:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594882560001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:45:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 15:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15603654841073664,"km_value":15603654841073.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811572980712237056,"description":"Unknown IO ID 45"} 
[2026-08-23 15:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594882560001,"power":14374,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1811572980712237056}} 
[2026-08-23 15:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":160606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:45:06] local.INFO: GPS data processed {"connection_id":160606,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:45:06] local.INFO: Acknowledgment sent {"connection_id":160606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:45:11] local.INFO: TCP Data received {"connection_id":160843,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1d1cd8012d7aba8005d6fcd00003016026..."} 
[2026-08-23 15:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1d1cd8012d7aba8005d6fcd00003016026..."} 
[2026-08-23 15:45:11] local.INFO: Processing buffer {"connection_id":160843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1d1cd8012d7aba8005d6fcd00003016026..."} 
[2026-08-23 15:45:11] local.INFO: Packet analysis {"connection_id":160843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:45:11] local.INFO: Extracted packet for processing {"connection_id":160843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:45:11] local.INFO: GPS Element Parsed {"raw_longitude":763017856,"raw_latitude":97975504,"longitude_deg":76.3017856,"latitude_deg":9.7975504,"altitude":3,"angle":352,"satellites":38,"speed":31,"hex_longitude":"2d7aba80","hex_latitude":"05d6fcd0","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594892800001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122682171692417024,"note":"Value kept but may cause issues"} 
[2026-08-23 15:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8845140061980422144,"note":"Value kept but may cause issues"} 
[2026-08-23 15:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787480055000,"timestamp_ms":1787480055000,"timestamp_seconds":1787480055,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1d1cd8"} 
[2026-08-23 15:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-23 15:45:11] 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-08-23 15: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-08-23 15:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594892800001,"66":13254,"243":206,"85":15104,"24":31,"16":122682171692417024,"45":8845140061980422144},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,45]} 
[2026-08-23 15:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594892800001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:45:11] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-23 15:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122682171692417024,"km_value":122682171692417.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8845140061980422144,"description":"Unknown IO ID 45"} 
[2026-08-23 15:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594892800001,"power":13254,"unknown_243":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8845140061980422144}} 
[2026-08-23 15:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":160843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:45:11] local.INFO: GPS data processed {"connection_id":160843,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:45:11] local.INFO: Acknowledgment sent {"connection_id":160843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:45:34] local.INFO: TCP Data received {"connection_id":161787,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:45:34] local.INFO: Processing buffer {"connection_id":161787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:45:34] local.INFO: IMEI packet received {"connection_id":161787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":161787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:45:34] local.INFO: TCP Data received {"connection_id":160844,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:45:34] local.INFO: Processing buffer {"connection_id":160844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:45:34] local.INFO: IMEI packet received {"connection_id":160844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":160844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:45:35] local.INFO: TCP Data received {"connection_id":160844,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:45:35] local.INFO: Processing buffer {"connection_id":160844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:45:35] local.INFO: IMEI packet received {"connection_id":160844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":160844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:45:39] local.INFO: TCP Data received {"connection_id":160844,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:45:39] local.INFO: Processing buffer {"connection_id":160844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:45:39] local.INFO: IMEI packet received {"connection_id":160844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":160844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:45:39] local.INFO: TCP Data received {"connection_id":161787,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:45:39] local.INFO: Processing buffer {"connection_id":161787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:45:39] local.INFO: IMEI packet received {"connection_id":161787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":161787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:45:40] local.INFO: TCP Data received {"connection_id":160844,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1d6af8012d19278007200740003100af27..."} 
[2026-08-23 15:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1d6af8012d19278007200740003100af27..."} 
[2026-08-23 15:45:40] local.INFO: Processing buffer {"connection_id":160844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1d6af8012d19278007200740003100af27..."} 
[2026-08-23 15:45:40] local.INFO: Packet analysis {"connection_id":160844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:45:40] local.INFO: Extracted packet for processing {"connection_id":160844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:45:40] local.INFO: GPS Element Parsed {"raw_longitude":756623232,"raw_latitude":119539520,"longitude_deg":75.6623232,"latitude_deg":11.953952,"altitude":49,"angle":175,"satellites":39,"speed":9,"hex_longitude":"2d192780","hex_latitude":"07200740","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594898432001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15603783690092544,"note":"Value kept but may cause issues"} 
[2026-08-23 15:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812417405642182656,"note":"Value kept but may cause issues"} 
[2026-08-23 15:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787480075000,"timestamp_ms":1787480075000,"timestamp_seconds":1787480075,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1d6af8"} 
[2026-08-23 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-08-23 15:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 15:45:40] 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-08-23 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-08-23 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-08-23 15:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594898432001,"66":14515,"102":206,"83":41984,"24":9,"16":15603783690092544,"45":1812417405642182656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 15:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594898432001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:45:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 15:45:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15603783690092544,"km_value":15603783690092.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812417405642182656,"description":"Unknown IO ID 45"} 
[2026-08-23 15:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594898432001,"power":14515,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1812417405642182656}} 
[2026-08-23 15:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":160844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:45:40] local.INFO: GPS data processed {"connection_id":160844,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:45:40] local.INFO: Acknowledgment sent {"connection_id":160844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:45:40] local.INFO: TCP Data received {"connection_id":161787,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1d2890012d7aba4005d706800003000326..."} 
[2026-08-23 15:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1d2890012d7aba4005d706800003000326..."} 
[2026-08-23 15:45:40] local.INFO: Processing buffer {"connection_id":161787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1d2890012d7aba4005d706800003000326..."} 
[2026-08-23 15:45:40] local.INFO: Packet analysis {"connection_id":161787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:45:40] local.INFO: Extracted packet for processing {"connection_id":161787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:45:40] local.INFO: GPS Element Parsed {"raw_longitude":763017792,"raw_latitude":97977984,"longitude_deg":76.3017792,"latitude_deg":9.7977984,"altitude":3,"angle":3,"satellites":38,"speed":35,"hex_longitude":"2d7aba40","hex_latitude":"05d70680","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594894080001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122682291951501312,"note":"Value kept but may cause issues"} 
[2026-08-23 15:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8843521580865474560,"note":"Value kept but may cause issues"} 
[2026-08-23 15:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787480058000,"timestamp_ms":1787480058000,"timestamp_seconds":1787480058,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1d2890"} 
[2026-08-23 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-08-23 15:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-23 15:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 15:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594894080001,"66":13559,"243":206,"85":15104,"24":35,"16":122682291951501312,"45":8843521580865474560},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,45]} 
[2026-08-23 15:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594894080001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:45:40] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-23 15:45:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122682291951501312,"km_value":122682291951501.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8843521580865474560,"description":"Unknown IO ID 45"} 
[2026-08-23 15:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594894080001,"power":13559,"unknown_243":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8843521580865474560}} 
[2026-08-23 15:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":161787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:45:40] local.INFO: GPS data processed {"connection_id":161787,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:45:40] local.INFO: Acknowledgment sent {"connection_id":161787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:45:43] local.INFO: TCP Data received {"connection_id":160844,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1d8268012d1927c0072000e0003200a427..."} 
[2026-08-23 15:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1d8268012d1927c0072000e0003200a427..."} 
[2026-08-23 15:45:43] local.INFO: Processing buffer {"connection_id":160844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1d8268012d1927c0072000e0003200a427..."} 
[2026-08-23 15:45:43] local.INFO: Packet analysis {"connection_id":160844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:45:43] local.INFO: Extracted packet for processing {"connection_id":160844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:45:43] local.INFO: GPS Element Parsed {"raw_longitude":756623296,"raw_latitude":119537888,"longitude_deg":75.6623296,"latitude_deg":11.9537888,"altitude":50,"angle":164,"satellites":39,"speed":13,"hex_longitude":"2d1927c0","hex_latitude":"072000e0","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594899200001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15603860999503872,"note":"Value kept but may cause issues"} 
[2026-08-23 15:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812558143130386432,"note":"Value kept but may cause issues"} 
[2026-08-23 15:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787480081000,"timestamp_ms":1787480081000,"timestamp_seconds":1787480081,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1d8268"} 
[2026-08-23 15:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-23 15:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594899200001,"66":14483,"102":206,"83":41984,"24":13,"16":15603860999503872,"45":1812558143130386432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 15:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594899200001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:45:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 15:45:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15603860999503872,"km_value":15603860999503.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812558143130386432,"description":"Unknown IO ID 45"} 
[2026-08-23 15:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594899200001,"power":14483,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1812558143130386432}} 
[2026-08-23 15:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":160844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:45:44] local.INFO: GPS data processed {"connection_id":160844,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:45:44] local.INFO: Acknowledgment sent {"connection_id":160844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:45:46] local.INFO: TCP Data received {"connection_id":161788,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:45:46] local.INFO: Processing buffer {"connection_id":161788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:45:46] local.INFO: IMEI packet received {"connection_id":161788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":161788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:45:51] local.INFO: TCP Data received {"connection_id":161788,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:45:51] local.INFO: Processing buffer {"connection_id":161788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:45:51] local.INFO: IMEI packet received {"connection_id":161788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":161788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:45:52] local.INFO: TCP Data received {"connection_id":161788,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:45:52] local.INFO: Processing buffer {"connection_id":161788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:45:52] local.INFO: Packet analysis {"connection_id":161788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:45:52] local.INFO: Extracted packet for processing {"connection_id":161788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594826752001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787480093000,"timestamp_ms":1787480093000,"timestamp_seconds":1787480093,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1db148"} 
[2026-08-23 15:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 15:45:52] 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-08-23 15:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594826752001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594826752001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:45:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594826752001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":161788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:45:52] local.INFO: GPS data processed {"connection_id":161788,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:45:52] local.INFO: Acknowledgment sent {"connection_id":161788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:46:24] local.INFO: TCP Data received {"connection_id":161788,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:46:24] local.INFO: Processing buffer {"connection_id":161788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:46:24] local.INFO: Packet analysis {"connection_id":161788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:46:24] local.INFO: Extracted packet for processing {"connection_id":161788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:46:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594826752001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787480093000,"timestamp_ms":1787480093000,"timestamp_seconds":1787480093,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1db148"} 
[2026-08-23 15:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 15:46:24] 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-08-23 15:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:46: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-08-23 15:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594826752001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594826752001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:46:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:46:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594826752001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":161788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:46:24] local.INFO: GPS data processed {"connection_id":161788,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:46:24] local.INFO: Acknowledgment sent {"connection_id":161788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:46:25] local.INFO: TCP Data received {"connection_id":163194,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:46:25] local.INFO: Processing buffer {"connection_id":163194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:46:25] local.INFO: IMEI packet received {"connection_id":163194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":163194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:46:28] local.INFO: TCP Data received {"connection_id":161787,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1e8c08012d7a9e0005d827780005016329..."} 
[2026-08-23 15:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1e8c08012d7a9e0005d827780005016329..."} 
[2026-08-23 15:46:28] local.INFO: Processing buffer {"connection_id":161787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1e8c08012d7a9e0005d827780005016329..."} 
[2026-08-23 15:46:28] local.INFO: Packet analysis {"connection_id":161787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1e"} 
[2026-08-23 15:46:28] local.INFO: Extracted packet for processing {"connection_id":161787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1e"} 
[2026-08-23 15:46:28] local.INFO: GPS Element Parsed {"raw_longitude":763010560,"raw_latitude":98051960,"longitude_deg":76.301056,"latitude_deg":9.805196,"altitude":5,"angle":355,"satellites":41,"speed":46,"hex_longitude":"2d7a9e00","hex_latitude":"05d82778","is_valid_coordinates":true} 
[2026-08-23 15:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594918144001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122685998508277760,"note":"Value kept but may cause issues"} 
[2026-08-23 15:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835499544048793600,"note":"Value kept but may cause issues"} 
[2026-08-23 15:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787480149000,"timestamp_ms":1787480149000,"timestamp_seconds":1787480149,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1e8c08"} 
[2026-08-23 15:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-23 15:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594918144001,"66":13374,"245":206,"85":15104,"24":46,"16":122685998508277760,"45":8835499544048793600},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 15:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594918144001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:46:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122685998508277760,"km_value":122685998508277.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835499544048793600,"description":"Unknown IO ID 45"} 
[2026-08-23 15:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594918144001,"power":13374,"geofence_id":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8835499544048793600}} 
[2026-08-23 15:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":161787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:46:28] local.INFO: GPS data processed {"connection_id":161787,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:46:28] local.INFO: Acknowledgment sent {"connection_id":161787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:46:29] local.INFO: TCP Data received {"connection_id":163194,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:46:29] local.INFO: Processing buffer {"connection_id":163194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:46:29] local.INFO: IMEI packet received {"connection_id":163194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":163194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:46:34] local.INFO: TCP Data received {"connection_id":163194,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:46:34] local.INFO: Processing buffer {"connection_id":163194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:46:34] local.INFO: IMEI packet received {"connection_id":163194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":163194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:46:35] local.INFO: TCP Data received {"connection_id":163194,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1e64f8012d1977c0071fec58003e005726..."} 
[2026-08-23 15:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1e64f8012d1977c0071fec58003e005726..."} 
[2026-08-23 15:46:35] local.INFO: Processing buffer {"connection_id":163194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1e64f8012d1977c0071fec58003e005726..."} 
[2026-08-23 15:46:35] local.INFO: Packet analysis {"connection_id":163194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1e"} 
[2026-08-23 15:46:35] local.INFO: Extracted packet for processing {"connection_id":163194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1e"} 
[2026-08-23 15:46:35] local.INFO: GPS Element Parsed {"raw_longitude":756643776,"raw_latitude":119532632,"longitude_deg":75.6643776,"latitude_deg":11.9532632,"altitude":62,"angle":87,"satellites":38,"speed":16,"hex_longitude":"2d1977c0","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-08-23 15:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594910976001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15604908971524096,"note":"Value kept but may cause issues"} 
[2026-08-23 15:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827546685638727680,"note":"Value kept but may cause issues"} 
[2026-08-23 15:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787480139000,"timestamp_ms":1787480139000,"timestamp_seconds":1787480139,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1e64f8"} 
[2026-08-23 15:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-23 15:46:35] 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-08-23 15:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594910976001,"66":14070,"101":206,"83":41984,"24":16,"16":15604908971524096,"45":1827546685638727680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 15:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594910976001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:46:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 15:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15604908971524096,"km_value":15604908971524.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827546685638727680,"description":"Unknown IO ID 45"} 
[2026-08-23 15:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594910976001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1827546685638727680}} 
[2026-08-23 15:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":163194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:46:35] local.INFO: GPS data processed {"connection_id":163194,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:46:35] local.INFO: Acknowledgment sent {"connection_id":163194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:46:36] local.INFO: TCP Data received {"connection_id":163194,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1e70b0012d197cc0071fed58003f003d26..."} 
[2026-08-23 15:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1e70b0012d197cc0071fed58003f003d26..."} 
[2026-08-23 15:46:36] local.INFO: Processing buffer {"connection_id":163194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1e70b0012d197cc0071fed58003f003d26..."} 
[2026-08-23 15:46:36] local.INFO: Packet analysis {"connection_id":163194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1e"} 
[2026-08-23 15:46:36] local.INFO: Extracted packet for processing {"connection_id":163194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1e"} 
[2026-08-23 15:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756645056,"raw_latitude":119532888,"longitude_deg":75.6645056,"latitude_deg":11.9532888,"altitude":63,"angle":61,"satellites":38,"speed":17,"hex_longitude":"2d197cc0","hex_latitude":"071fed58","is_valid_coordinates":true} 
[2026-08-23 15:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594915584001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15604973396033536,"note":"Value kept but may cause issues"} 
[2026-08-23 15:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835146510009653248,"note":"Value kept but may cause issues"} 
[2026-08-23 15:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787480142000,"timestamp_ms":1787480142000,"timestamp_seconds":1787480142,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1e70b0"} 
[2026-08-23 15:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:46: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-08-23 15:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-23 15:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594915584001,"66":13852,"101":206,"83":41984,"24":17,"16":15604973396033536,"45":1835146510009653248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 15:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594915584001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:46:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 15:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15604973396033536,"km_value":15604973396033.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835146510009653248,"description":"Unknown IO ID 45"} 
[2026-08-23 15:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594915584001,"power":13852,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1835146510009653248}} 
[2026-08-23 15:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":163194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:46:36] local.INFO: GPS data processed {"connection_id":163194,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:46:36] local.INFO: Acknowledgment sent {"connection_id":163194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:46:40] local.INFO: TCP Data received {"connection_id":163195,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:46:40] local.INFO: Processing buffer {"connection_id":163195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:46:40] local.INFO: IMEI packet received {"connection_id":163195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":163195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:46:42] local.INFO: TCP Data received {"connection_id":163195,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:46:42] local.INFO: Processing buffer {"connection_id":163195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:46:42] local.INFO: IMEI packet received {"connection_id":163195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":163195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:46:43] local.INFO: TCP Data received {"connection_id":163195,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1eab48012d7a974005d84a680004015b27..."} 
[2026-08-23 15:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1eab48012d7a974005d84a680004015b27..."} 
[2026-08-23 15:46:43] local.INFO: Processing buffer {"connection_id":163195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1eab48012d7a974005d84a680004015b27..."} 
[2026-08-23 15:46:43] local.INFO: Packet analysis {"connection_id":163195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1e"} 
[2026-08-23 15:46:43] local.INFO: Extracted packet for processing {"connection_id":163195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1e"} 
[2026-08-23 15:46:43] local.INFO: GPS Element Parsed {"raw_longitude":763008832,"raw_latitude":98060904,"longitude_deg":76.3008832,"latitude_deg":9.8060904,"altitude":4,"angle":347,"satellites":39,"speed":39,"hex_longitude":"2d7a9740","hex_latitude":"05d84a68","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594918144001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122686436594941952,"note":"Value kept but may cause issues"} 
[2026-08-23 15:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835499544048793600,"note":"Value kept but may cause issues"} 
[2026-08-23 15:46:43] 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-08-23 15:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787480157000,"timestamp_ms":1787480157000,"timestamp_seconds":1787480157,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1eab48"} 
[2026-08-23 15:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:46:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-23 15:46:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594918144001,"66":13472,"245":206,"85":15104,"24":39,"16":122686436594941952,"45":8835499544048793600},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 15:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594918144001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:46:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122686436594941952,"km_value":122686436594941.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835499544048793600,"description":"Unknown IO ID 45"} 
[2026-08-23 15:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594918144001,"power":13472,"geofence_id":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8835499544048793600}} 
[2026-08-23 15:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":163195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:46:43] local.INFO: GPS data processed {"connection_id":163195,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:46:43] local.INFO: Acknowledgment sent {"connection_id":163195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:46:45] local.INFO: TCP Data received {"connection_id":160845,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:46:45] local.INFO: Processing buffer {"connection_id":160845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:46:45] local.INFO: IMEI packet received {"connection_id":160845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":160845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:46:51] local.INFO: TCP Data received {"connection_id":160845,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:46:51] local.INFO: Processing buffer {"connection_id":160845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:46:51] local.INFO: IMEI packet received {"connection_id":160845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":160845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:46:52] local.INFO: TCP Data received {"connection_id":160845,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:46:52] local.INFO: Processing buffer {"connection_id":160845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:46:52] local.INFO: Packet analysis {"connection_id":160845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:46:52] local.INFO: Extracted packet for processing {"connection_id":160845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594826752001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787480093000,"timestamp_ms":1787480093000,"timestamp_seconds":1787480093,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1db148"} 
[2026-08-23 15:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 15:46:52] 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-08-23 15:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594826752001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594826752001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:46:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594826752001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":160845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:46:52] local.INFO: GPS data processed {"connection_id":160845,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:46:52] local.INFO: Acknowledgment sent {"connection_id":160845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:47:07] local.INFO: TCP Data received {"connection_id":163194,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1f0138012d19b240071fef600035005829..."} 
[2026-08-23 15:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1f0138012d19b240071fef600035005829..."} 
[2026-08-23 15:47:07] local.INFO: Processing buffer {"connection_id":163194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1f0138012d19b240071fef600035005829..."} 
[2026-08-23 15:47:07] local.INFO: Packet analysis {"connection_id":163194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1f"} 
[2026-08-23 15:47:07] local.INFO: Extracted packet for processing {"connection_id":163194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1f"} 
[2026-08-23 15:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756658752,"raw_latitude":119533408,"longitude_deg":75.6658752,"latitude_deg":11.9533408,"altitude":53,"angle":88,"satellites":41,"speed":28,"hex_longitude":"2d19b240","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-08-23 15:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594924544001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15605647705899008,"note":"Value kept but may cause issues"} 
[2026-08-23 15:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848235096427042816,"note":"Value kept but may cause issues"} 
[2026-08-23 15:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787480179000,"timestamp_ms":1787480179000,"timestamp_seconds":1787480179,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1f0138"} 
[2026-08-23 15:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-23 15:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594924544001,"66":14450,"101":206,"83":41984,"24":28,"16":15605647705899008,"45":1848235096427042816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 15:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594924544001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:47:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 15:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15605647705899008,"km_value":15605647705899.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848235096427042816,"description":"Unknown IO ID 45"} 
[2026-08-23 15:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594924544001,"power":14450,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1848235096427042816}} 
[2026-08-23 15:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":163194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:47:07] local.INFO: GPS data processed {"connection_id":163194,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:47:07] local.INFO: Acknowledgment sent {"connection_id":163194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:47:15] local.INFO: TCP Data received {"connection_id":163195,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1f95a8012d7a778005d95af00000014627..."} 
[2026-08-23 15:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1f95a8012d7a778005d95af00000014627..."} 
[2026-08-23 15:47:15] local.INFO: Processing buffer {"connection_id":163195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1f95a8012d7a778005d95af00000014627..."} 
[2026-08-23 15:47:15] local.INFO: Packet analysis {"connection_id":163195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1f"} 
[2026-08-23 15:47:15] local.INFO: Extracted packet for processing {"connection_id":163195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1f"} 
[2026-08-23 15:47:15] local.INFO: GPS Element Parsed {"raw_longitude":763000704,"raw_latitude":98130672,"longitude_deg":76.3000704,"latitude_deg":9.8130672,"altitude":0,"angle":326,"satellites":39,"speed":48,"hex_longitude":"2d7a7780","hex_latitude":"05d95af0","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594935040001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122689902633549824,"note":"Value kept but may cause issues"} 
[2026-08-23 15:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8825859026116065280,"note":"Value kept but may cause issues"} 
[2026-08-23 15:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787480217000,"timestamp_ms":1787480217000,"timestamp_seconds":1787480217,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1f95a8"} 
[2026-08-23 15:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 15:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594935040001,"66":13602,"231":206,"85":15104,"24":48,"16":122689902633549824,"45":8825859026116065280},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,45]} 
[2026-08-23 15:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594935040001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:47:15] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-23 15:47:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122689902633549824,"km_value":122689902633549.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8825859026116065280,"description":"Unknown IO ID 45"} 
[2026-08-23 15:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594935040001,"power":13602,"unknown_231":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8825859026116065280}} 
[2026-08-23 15:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":163195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:47:15] local.INFO: GPS data processed {"connection_id":163195,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:47:15] local.INFO: Acknowledgment sent {"connection_id":163195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:47:23] local.INFO: TCP Data received {"connection_id":160845,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:47:23] local.INFO: Processing buffer {"connection_id":160845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:47:23] local.INFO: Packet analysis {"connection_id":160845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:47:23] local.INFO: Extracted packet for processing {"connection_id":160845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:47:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594826752001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787480093000,"timestamp_ms":1787480093000,"timestamp_seconds":1787480093,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1db148"} 
[2026-08-23 15:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 15:47:23] 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-08-23 15:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594826752001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594826752001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:47:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:47:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594826752001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":160845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:47:24] local.INFO: GPS data processed {"connection_id":160845,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:47:24] local.INFO: Acknowledgment sent {"connection_id":160845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:47:27] local.INFO: TCP Data received {"connection_id":160846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:47:27] local.INFO: Processing buffer {"connection_id":160846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:47:27] local.INFO: IMEI packet received {"connection_id":160846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":160846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:47:29] local.INFO: TCP Data received {"connection_id":160846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:47:29] local.INFO: Processing buffer {"connection_id":160846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:47:29] local.INFO: IMEI packet received {"connection_id":160846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":160846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:47:29] local.INFO: TCP Data received {"connection_id":160846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:47:29] local.INFO: Processing buffer {"connection_id":160846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:47:29] local.INFO: IMEI packet received {"connection_id":160846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":160846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:47:34] local.INFO: TCP Data received {"connection_id":160846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:47:34] local.INFO: Processing buffer {"connection_id":160846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:47:34] local.INFO: IMEI packet received {"connection_id":160846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":160846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:47:34] local.INFO: TCP Data received {"connection_id":163196,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:47:34] local.INFO: Processing buffer {"connection_id":163196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:47:34] local.INFO: IMEI packet received {"connection_id":163196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":163196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:47:35] local.INFO: TCP Data received {"connection_id":160846,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1f66c8012d19dd80072008e80031016527..."} 
[2026-08-23 15:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1f66c8012d19dd80072008e80031016527..."} 
[2026-08-23 15:47:35] local.INFO: Processing buffer {"connection_id":160846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1f66c8012d19dd80072008e80031016527..."} 
[2026-08-23 15:47:35] local.INFO: Packet analysis {"connection_id":160846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1f"} 
[2026-08-23 15:47:35] local.INFO: Extracted packet for processing {"connection_id":160846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1f"} 
[2026-08-23 15:47:35] local.INFO: GPS Element Parsed {"raw_longitude":756669824,"raw_latitude":119539944,"longitude_deg":75.6669824,"latitude_deg":11.9539944,"altitude":49,"angle":357,"satellites":39,"speed":8,"hex_longitude":"2d19dd80","hex_latitude":"072008e8","is_valid_coordinates":true} 
[2026-08-23 15:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594932224001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15606304835895296,"note":"Value kept but may cause issues"} 
[2026-08-23 15:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863786588891777024,"note":"Value kept but may cause issues"} 
[2026-08-23 15:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787480205000,"timestamp_ms":1787480205000,"timestamp_seconds":1787480205,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1f66c8"} 
[2026-08-23 15:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-23 15:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594932224001,"66":13798,"101":206,"83":41984,"24":8,"16":15606304835895296,"45":1863786588891777024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 15:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594932224001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:47:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 15:47:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15606304835895296,"km_value":15606304835895.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863786588891777024,"description":"Unknown IO ID 45"} 
[2026-08-23 15:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594932224001,"power":13798,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1863786588891777024}} 
[2026-08-23 15:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":160846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:47:35] local.INFO: GPS data processed {"connection_id":160846,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:47:35] local.INFO: Acknowledgment sent {"connection_id":160846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:47:37] local.INFO: TCP Data received {"connection_id":163196,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:47:37] local.INFO: Processing buffer {"connection_id":163196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:47:37] local.INFO: IMEI packet received {"connection_id":163196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":163196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:47:41] local.INFO: TCP Data received {"connection_id":163196,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:47:41] local.INFO: Processing buffer {"connection_id":163196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:47:41] local.INFO: IMEI packet received {"connection_id":163196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":163196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:47:42] local.INFO: TCP Data received {"connection_id":163196,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1fa930012d7a6b4005d96ff80002015528..."} 
[2026-08-23 15:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1fa930012d7a6b4005d96ff80002015528..."} 
[2026-08-23 15:47:42] local.INFO: Processing buffer {"connection_id":163196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1fa930012d7a6b4005d96ff80002015528..."} 
[2026-08-23 15:47:42] local.INFO: Packet analysis {"connection_id":163196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1f"} 
[2026-08-23 15:47:42] local.INFO: Extracted packet for processing {"connection_id":163196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1f"} 
[2026-08-23 15:47:42] local.INFO: GPS Element Parsed {"raw_longitude":762997568,"raw_latitude":98136056,"longitude_deg":76.2997568,"latitude_deg":9.8136056,"altitude":2,"angle":341,"satellites":40,"speed":49,"hex_longitude":"2d7a6b40","hex_latitude":"05d96ff8","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594935552001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122690203281260544,"note":"Value kept but may cause issues"} 
[2026-08-23 15:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824662757465583616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787480222000,"timestamp_ms":1787480222000,"timestamp_seconds":1787480222,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1fa930"} 
[2026-08-23 15:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-23 15:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594935552001,"66":13276,"231":206,"85":15104,"24":49,"16":122690203281260544,"45":8824662757465583616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,45]} 
[2026-08-23 15:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594935552001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:47:42] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-23 15:47:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122690203281260544,"km_value":122690203281260.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824662757465583616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594935552001,"power":13276,"unknown_231":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8824662757465583616}} 
[2026-08-23 15:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":163196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:47:42] local.INFO: GPS data processed {"connection_id":163196,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:47:42] local.INFO: Acknowledgment sent {"connection_id":163196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:47:42] local.INFO: TCP Data received {"connection_id":163196,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1fbcb8012d7a668005d986300002016128..."} 
[2026-08-23 15:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1fbcb8012d7a668005d986300002016128..."} 
[2026-08-23 15:47:42] local.INFO: Processing buffer {"connection_id":163196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1fbcb8012d7a668005d986300002016128..."} 
[2026-08-23 15:47:42] local.INFO: Packet analysis {"connection_id":163196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1f"} 
[2026-08-23 15:47:42] local.INFO: Extracted packet for processing {"connection_id":163196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1f"} 
[2026-08-23 15:47:42] local.INFO: GPS Element Parsed {"raw_longitude":762996352,"raw_latitude":98141744,"longitude_deg":76.2996352,"latitude_deg":9.8141744,"altitude":2,"angle":353,"satellites":40,"speed":45,"hex_longitude":"2d7a6680","hex_latitude":"05d98630","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594936832001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122690486749102080,"note":"Value kept but may cause issues"} 
[2026-08-23 15:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821214689002256384,"note":"Value kept but may cause issues"} 
[2026-08-23 15:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787480227000,"timestamp_ms":1787480227000,"timestamp_seconds":1787480227,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1fbcb8"} 
[2026-08-23 15:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 15:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594936832001,"66":13178,"231":206,"85":15104,"24":45,"16":122690486749102080,"45":8821214689002256384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,45]} 
[2026-08-23 15:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594936832001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:47:42] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-23 15:47:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122690486749102080,"km_value":122690486749102.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821214689002256384,"description":"Unknown IO ID 45"} 
[2026-08-23 15:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594936832001,"power":13178,"unknown_231":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8821214689002256384}} 
[2026-08-23 15:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":163196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:47:43] local.INFO: GPS data processed {"connection_id":163196,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:47:43] local.INFO: Acknowledgment sent {"connection_id":163196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:47:45] local.INFO: TCP Data received {"connection_id":161789,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:47:45] local.INFO: Processing buffer {"connection_id":161789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:47:45] local.INFO: IMEI packet received {"connection_id":161789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":161789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:47:51] local.INFO: TCP Data received {"connection_id":161789,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:47:51] local.INFO: Processing buffer {"connection_id":161789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:47:51] local.INFO: IMEI packet received {"connection_id":161789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":161789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:47:52] local.INFO: TCP Data received {"connection_id":161789,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:47:52] local.INFO: Processing buffer {"connection_id":161789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:47:52] local.INFO: Packet analysis {"connection_id":161789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:47:52] local.INFO: Extracted packet for processing {"connection_id":161789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:47: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-08-23 15:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594826752001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787480093000,"timestamp_ms":1787480093000,"timestamp_seconds":1787480093,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1db148"} 
[2026-08-23 15:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 15:47:52] 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-08-23 15:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594826752001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594826752001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:47:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594826752001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":161789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:47:52] local.INFO: GPS data processed {"connection_id":161789,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:47:52] local.INFO: Acknowledgment sent {"connection_id":161789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:48:06] local.INFO: TCP Data received {"connection_id":160846,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1f6e98012d19dd40072009f80030015828..."} 
[2026-08-23 15:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1f6e98012d19dd40072009f80030015828..."} 
[2026-08-23 15:48:06] local.INFO: Processing buffer {"connection_id":160846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1f6e98012d19dd40072009f80030015828..."} 
[2026-08-23 15:48:06] local.INFO: Packet analysis {"connection_id":160846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1f"} 
[2026-08-23 15:48:06] local.INFO: Extracted packet for processing {"connection_id":160846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1f"} 
[2026-08-23 15:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756669760,"raw_latitude":119540216,"longitude_deg":75.666976,"latitude_deg":11.9540216,"altitude":48,"angle":344,"satellites":40,"speed":5,"hex_longitude":"2d19dd40","hex_latitude":"072009f8","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594932480001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15606322015764480,"note":"Value kept but may cause issues"} 
[2026-08-23 15:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863786588891834368,"note":"Value kept but may cause issues"} 
[2026-08-23 15:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787480207000,"timestamp_ms":1787480207000,"timestamp_seconds":1787480207,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1f6e98"} 
[2026-08-23 15:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-23 15:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594932480001,"66":13439,"101":206,"83":41984,"24":5,"16":15606322015764480,"45":1863786588891834368},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 15:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594932480001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:48:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 15:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15606322015764480,"km_value":15606322015764.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863786588891834368,"description":"Unknown IO ID 45"} 
[2026-08-23 15:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594932480001,"power":13439,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1863786588891834368}} 
[2026-08-23 15:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":160846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:48:06] local.INFO: GPS data processed {"connection_id":160846,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:48:06] local.INFO: Acknowledgment sent {"connection_id":160846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:48:14] local.INFO: TCP Data received {"connection_id":163196,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1fdfe0012d7a64c005d9acc00003016024..."} 
[2026-08-23 15:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1fdfe0012d7a64c005d9acc00003016024..."} 
[2026-08-23 15:48:14] local.INFO: Processing buffer {"connection_id":163196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1fdfe0012d7a64c005d9acc00003016024..."} 
[2026-08-23 15:48:14] local.INFO: Packet analysis {"connection_id":163196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1f"} 
[2026-08-23 15:48:14] local.INFO: Extracted packet for processing {"connection_id":163196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1f"} 
[2026-08-23 15:48:14] local.INFO: GPS Element Parsed {"raw_longitude":762995904,"raw_latitude":98151616,"longitude_deg":76.2995904,"latitude_deg":9.8151616,"altitude":3,"angle":352,"satellites":36,"speed":40,"hex_longitude":"2d7a64c0","hex_latitude":"05d9acc0","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594938112001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122690967785439232,"note":"Value kept but may cause issues"} 
[2026-08-23 15:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819877682864336896,"note":"Value kept but may cause issues"} 
[2026-08-23 15:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787480236000,"timestamp_ms":1787480236000,"timestamp_seconds":1787480236,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1fdfe0"} 
[2026-08-23 15:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-23 15:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594938112001,"66":13330,"231":206,"85":15104,"24":40,"16":122690967785439232,"45":8819877682864336896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,45]} 
[2026-08-23 15:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594938112001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:48:14] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-23 15:48:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122690967785439232,"km_value":122690967785439.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819877682864336896,"description":"Unknown IO ID 45"} 
[2026-08-23 15:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594938112001,"power":13330,"unknown_231":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8819877682864336896}} 
[2026-08-23 15:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":163196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:48:14] local.INFO: GPS data processed {"connection_id":163196,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:48:14] local.INFO: Acknowledgment sent {"connection_id":163196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:48:23] local.INFO: TCP Data received {"connection_id":161789,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:48:23] local.INFO: Processing buffer {"connection_id":161789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:48:23] local.INFO: Packet analysis {"connection_id":161789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:48:23] local.INFO: Extracted packet for processing {"connection_id":161789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:48:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594826752001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787480093000,"timestamp_ms":1787480093000,"timestamp_seconds":1787480093,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1db148"} 
[2026-08-23 15:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 15:48:23] 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-08-23 15:48:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594826752001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594826752001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:48:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:48:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594826752001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":161789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:48:23] local.INFO: GPS data processed {"connection_id":161789,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:48:23] local.INFO: Acknowledgment sent {"connection_id":161789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:48:30] local.INFO: TCP Data received {"connection_id":160847,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:48:30] local.INFO: Processing buffer {"connection_id":160847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:48:30] local.INFO: IMEI packet received {"connection_id":160847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":160847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:48:30] local.INFO: TCP Data received {"connection_id":160847,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:48:30] local.INFO: Processing buffer {"connection_id":160847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:48:30] local.INFO: IMEI packet received {"connection_id":160847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":160847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:48:31] local.INFO: TCP Data received {"connection_id":160847,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:48:31] local.INFO: Processing buffer {"connection_id":160847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:48:31] local.INFO: IMEI packet received {"connection_id":160847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":160847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:48:33] local.INFO: TCP Data received {"connection_id":161790,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:48:33] local.INFO: Processing buffer {"connection_id":161790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:48:33] local.INFO: IMEI packet received {"connection_id":161790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":161790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:48:34] local.INFO: TCP Data received {"connection_id":161790,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:48:34] local.INFO: Processing buffer {"connection_id":161790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:48:34] local.INFO: IMEI packet received {"connection_id":161790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":161790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:48:34] local.INFO: TCP Data received {"connection_id":160847,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:48:34] local.INFO: Processing buffer {"connection_id":160847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:48:34] local.INFO: IMEI packet received {"connection_id":160847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":160847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:48:35] local.INFO: TCP Data received {"connection_id":160847,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e202e00012d19ac00072090280031000028..."} 
[2026-08-23 15:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e202e00012d19ac00072090280031000028..."} 
[2026-08-23 15:48:35] local.INFO: Processing buffer {"connection_id":160847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e202e00012d19ac00072090280031000028..."} 
[2026-08-23 15:48:35] local.INFO: Packet analysis {"connection_id":160847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e20"} 
[2026-08-23 15:48:35] local.INFO: Extracted packet for processing {"connection_id":160847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e20"} 
[2026-08-23 15:48:35] local.INFO: GPS Element Parsed {"raw_longitude":756657152,"raw_latitude":119574568,"longitude_deg":75.6657152,"latitude_deg":11.9574568,"altitude":49,"angle":0,"satellites":40,"speed":34,"hex_longitude":"2d19ac00","hex_latitude":"07209028","is_valid_coordinates":true} 
[2026-08-23 15:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594945024001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15608151671832576,"note":"Value kept but may cause issues"} 
[2026-08-23 15:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850064683785603072,"note":"Value kept but may cause issues"} 
[2026-08-23 15:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787480256000,"timestamp_ms":1787480256000,"timestamp_seconds":1787480256,"priority":1,"record_length":96,"hex_timestamp":"000001a02e202e00"} 
[2026-08-23 15:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 15:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594945024001,"66":12287,"103":206,"83":41984,"24":34,"16":15608151671832576,"45":1850064683785603072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594945024001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:48:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:48:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15608151671832576,"km_value":15608151671832.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850064683785603072,"description":"Unknown IO ID 45"} 
[2026-08-23 15:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594945024001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1850064683785603072}} 
[2026-08-23 15:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":160847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:48:35] local.INFO: GPS data processed {"connection_id":160847,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:48:35] local.INFO: Acknowledgment sent {"connection_id":160847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:48:39] local.INFO: TCP Data received {"connection_id":161790,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:48:39] local.INFO: Processing buffer {"connection_id":161790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:48:39] local.INFO: IMEI packet received {"connection_id":161790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":161790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:48:40] local.INFO: TCP Data received {"connection_id":161790,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e20e1b0012d7a3dc005da93100003002928..."} 
[2026-08-23 15:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e20e1b0012d7a3dc005da93100003002928..."} 
[2026-08-23 15:48:40] local.INFO: Processing buffer {"connection_id":161790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e20e1b0012d7a3dc005da93100003002928..."} 
[2026-08-23 15:48:40] local.INFO: Packet analysis {"connection_id":161790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e20"} 
[2026-08-23 15:48:40] local.INFO: Extracted packet for processing {"connection_id":161790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e20"} 
[2026-08-23 15:48:40] local.INFO: GPS Element Parsed {"raw_longitude":762985920,"raw_latitude":98210576,"longitude_deg":76.298592,"latitude_deg":9.8210576,"altitude":3,"angle":41,"satellites":40,"speed":7,"hex_longitude":"2d7a3dc0","hex_latitude":"05da9310","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594956544001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122693884068233216,"note":"Value kept but may cause issues"} 
[2026-08-23 15:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808266840092557312,"note":"Value kept but may cause issues"} 
[2026-08-23 15:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787480302000,"timestamp_ms":1787480302000,"timestamp_seconds":1787480302,"priority":1,"record_length":96,"hex_timestamp":"000001a02e20e1b0"} 
[2026-08-23 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-08-23 15:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 15:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 15:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594956544001,"66":13624,"229":206,"85":15104,"24":7,"16":122693884068233216,"45":8808266840092557312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-23 15:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594956544001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:48:40] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-23 15:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122693884068233216,"km_value":122693884068233.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808266840092557312,"description":"Unknown IO ID 45"} 
[2026-08-23 15:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594956544001,"power":13624,"unknown_229":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8808266840092557312}} 
[2026-08-23 15:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":161790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:48:40] local.INFO: GPS data processed {"connection_id":161790,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:48:40] local.INFO: Acknowledgment sent {"connection_id":161790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:48:45] local.INFO: TCP Data received {"connection_id":163197,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:48:45] local.INFO: Processing buffer {"connection_id":163197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:48:45] local.INFO: IMEI packet received {"connection_id":163197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":163197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:48:51] local.INFO: TCP Data received {"connection_id":163197,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:48:51] local.INFO: Processing buffer {"connection_id":163197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:48:51] local.INFO: IMEI packet received {"connection_id":163197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":163197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:48:52] local.INFO: TCP Data received {"connection_id":163197,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:48:52] local.INFO: Processing buffer {"connection_id":163197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:48:52] local.INFO: Packet analysis {"connection_id":163197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:48:52] local.INFO: Extracted packet for processing {"connection_id":163197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:48:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594826752001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787480093000,"timestamp_ms":1787480093000,"timestamp_seconds":1787480093,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1db148"} 
[2026-08-23 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-08-23 15:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 15:48:52] 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-08-23 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-08-23 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-08-23 15:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594826752001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594826752001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:48:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:48:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594826752001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":163197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:48:52] local.INFO: GPS data processed {"connection_id":163197,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:48:52] local.INFO: Acknowledgment sent {"connection_id":163197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:49:06] local.INFO: TCP Data received {"connection_id":160847,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2031e8012d19acc0072093600031000d28..."} 
[2026-08-23 15:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2031e8012d19acc0072093600031000d28..."} 
[2026-08-23 15:49:06] local.INFO: Processing buffer {"connection_id":160847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2031e8012d19acc0072093600031000d28..."} 
[2026-08-23 15:49:06] local.INFO: Packet analysis {"connection_id":160847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e20"} 
[2026-08-23 15:49:06] local.INFO: Extracted packet for processing {"connection_id":160847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e20"} 
[2026-08-23 15:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756657344,"raw_latitude":119575392,"longitude_deg":75.6657344,"latitude_deg":11.9575392,"altitude":49,"angle":13,"satellites":40,"speed":32,"hex_longitude":"2d19acc0","hex_latitude":"07209360","is_valid_coordinates":true} 
[2026-08-23 15:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594945536001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15608194621505536,"note":"Value kept but may cause issues"} 
[2026-08-23 15:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849853577553520640,"note":"Value kept but may cause issues"} 
[2026-08-23 15:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787480257000,"timestamp_ms":1787480257000,"timestamp_seconds":1787480257,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2031e8"} 
[2026-08-23 15:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 15:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594945536001,"66":12287,"103":206,"83":41984,"24":32,"16":15608194621505536,"45":1849853577553520640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594945536001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:49:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15608194621505536,"km_value":15608194621505.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849853577553520640,"description":"Unknown IO ID 45"} 
[2026-08-23 15:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594945536001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1849853577553520640}} 
[2026-08-23 15:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":160847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:49:06] local.INFO: GPS data processed {"connection_id":160847,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:49:06] local.INFO: Acknowledgment sent {"connection_id":160847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:49:11] local.INFO: TCP Data received {"connection_id":161790,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e20e598012d7a3e4005da93900003003a28..."} 
[2026-08-23 15:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e20e598012d7a3e4005da93900003003a28..."} 
[2026-08-23 15:49:11] local.INFO: Processing buffer {"connection_id":161790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e20e598012d7a3e4005da93900003003a28..."} 
[2026-08-23 15:49:11] local.INFO: Packet analysis {"connection_id":161790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e20"} 
[2026-08-23 15:49:11] local.INFO: Extracted packet for processing {"connection_id":161790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e20"} 
[2026-08-23 15:49:11] local.INFO: GPS Element Parsed {"raw_longitude":762986048,"raw_latitude":98210704,"longitude_deg":76.2986048,"latitude_deg":9.8210704,"altitude":3,"angle":58,"satellites":40,"speed":9,"hex_longitude":"2d7a3e40","hex_latitude":"05da9390","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594957312001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122693892658167808,"note":"Value kept but may cause issues"} 
[2026-08-23 15:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808407577580998656,"note":"Value kept but may cause issues"} 
[2026-08-23 15:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787480303000,"timestamp_ms":1787480303000,"timestamp_seconds":1787480303,"priority":1,"record_length":96,"hex_timestamp":"000001a02e20e598"} 
[2026-08-23 15:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-23 15:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594957312001,"66":13428,"229":206,"85":15104,"24":9,"16":122693892658167808,"45":8808407577580998656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-23 15:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594957312001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:49:11] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-23 15:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122693892658167808,"km_value":122693892658167.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808407577580998656,"description":"Unknown IO ID 45"} 
[2026-08-23 15:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594957312001,"power":13428,"unknown_229":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8808407577580998656}} 
[2026-08-23 15:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":161790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:49:11] local.INFO: GPS data processed {"connection_id":161790,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:49:11] local.INFO: Acknowledgment sent {"connection_id":161790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:49:24] local.INFO: TCP Data received {"connection_id":163197,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:49:24] local.INFO: Processing buffer {"connection_id":163197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:49:24] local.INFO: Packet analysis {"connection_id":163197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:49:24] local.INFO: Extracted packet for processing {"connection_id":163197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:49:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:49: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-08-23 15:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594826752001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787480093000,"timestamp_ms":1787480093000,"timestamp_seconds":1787480093,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1db148"} 
[2026-08-23 15:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 15:49:24] 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-08-23 15:49: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-08-23 15:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:49: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-08-23 15:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594826752001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594826752001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:49:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:49:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594826752001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":163197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:49:24] local.INFO: GPS data processed {"connection_id":163197,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:49:24] local.INFO: Acknowledgment sent {"connection_id":163197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:49:29] local.INFO: TCP Data received {"connection_id":160848,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:49:29] local.INFO: Processing buffer {"connection_id":160848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:49:29] local.INFO: IMEI packet received {"connection_id":160848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":160848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:49:34] local.INFO: TCP Data received {"connection_id":160607,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:49:34] local.INFO: Processing buffer {"connection_id":160607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:49:34] local.INFO: IMEI packet received {"connection_id":160607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":160607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:49:34] local.INFO: TCP Data received {"connection_id":160848,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:49:34] local.INFO: Processing buffer {"connection_id":160848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:49:34] local.INFO: IMEI packet received {"connection_id":160848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":160848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:49:35] local.INFO: TCP Data received {"connection_id":160848,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e20a718012d198c000720b2b0003800fd28..."} 
[2026-08-23 15:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e20a718012d198c000720b2b0003800fd28..."} 
[2026-08-23 15:49:35] local.INFO: Processing buffer {"connection_id":160848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e20a718012d198c000720b2b0003800fd28..."} 
[2026-08-23 15:49:35] local.INFO: Packet analysis {"connection_id":160848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e20"} 
[2026-08-23 15:49:35] local.INFO: Extracted packet for processing {"connection_id":160848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e20"} 
[2026-08-23 15:49:35] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583408,"longitude_deg":75.664896,"latitude_deg":11.9583408,"altitude":56,"angle":253,"satellites":40,"speed":6,"hex_longitude":"2d198c00","hex_latitude":"0720b2b0","is_valid_coordinates":true} 
[2026-08-23 15:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594952960001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609092269670400,"note":"Value kept but may cause issues"} 
[2026-08-23 15:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841268590766131200,"note":"Value kept but may cause issues"} 
[2026-08-23 15:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787480287000,"timestamp_ms":1787480287000,"timestamp_seconds":1787480287,"priority":1,"record_length":96,"hex_timestamp":"000001a02e20a718"} 
[2026-08-23 15:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-23 15:49:35] 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-08-23 15:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594952960001,"66":12504,"103":206,"83":41984,"24":6,"16":15609092269670400,"45":1841268590766131200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594952960001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:49:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:49:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609092269670400,"km_value":15609092269670.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841268590766131200,"description":"Unknown IO ID 45"} 
[2026-08-23 15:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594952960001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1841268590766131200}} 
[2026-08-23 15:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":160848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:49:35] local.INFO: GPS data processed {"connection_id":160848,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:49:35] local.INFO: Acknowledgment sent {"connection_id":160848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:49:39] local.INFO: TCP Data received {"connection_id":160607,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:49:39] local.INFO: Processing buffer {"connection_id":160607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:49:39] local.INFO: IMEI packet received {"connection_id":160607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":160607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:49:40] local.INFO: TCP Data received {"connection_id":160607,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e20e980012d7a3f8005da93f80003004b28..."} 
[2026-08-23 15:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e20e980012d7a3f8005da93f80003004b28..."} 
[2026-08-23 15:49:40] local.INFO: Processing buffer {"connection_id":160607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e20e980012d7a3f8005da93f80003004b28..."} 
[2026-08-23 15:49:40] local.INFO: Packet analysis {"connection_id":160607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e20"} 
[2026-08-23 15:49:40] local.INFO: Extracted packet for processing {"connection_id":160607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e20"} 
[2026-08-23 15:49:40] local.INFO: GPS Element Parsed {"raw_longitude":762986368,"raw_latitude":98210808,"longitude_deg":76.2986368,"latitude_deg":9.8210808,"altitude":3,"angle":75,"satellites":40,"speed":14,"hex_longitude":"2d7a3f80","hex_latitude":"05da93f8","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594957568001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122693909838036992,"note":"Value kept but may cause issues"} 
[2026-08-23 15:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808548315069386752,"note":"Value kept but may cause issues"} 
[2026-08-23 15:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787480304000,"timestamp_ms":1787480304000,"timestamp_seconds":1787480304,"priority":1,"record_length":96,"hex_timestamp":"000001a02e20e980"} 
[2026-08-23 15:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-23 15:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594957568001,"66":13428,"229":206,"85":15104,"24":14,"16":122693909838036992,"45":8808548315069386752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-23 15:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594957568001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:49:40] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-23 15:49:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122693909838036992,"km_value":122693909838036.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808548315069386752,"description":"Unknown IO ID 45"} 
[2026-08-23 15:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594957568001,"power":13428,"unknown_229":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8808548315069386752}} 
[2026-08-23 15:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":160607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:49:40] local.INFO: GPS data processed {"connection_id":160607,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:49:40] local.INFO: Acknowledgment sent {"connection_id":160607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:49:51] local.INFO: TCP Data received {"connection_id":161791,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:49:51] local.INFO: Processing buffer {"connection_id":161791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:49:51] local.INFO: IMEI packet received {"connection_id":161791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":161791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:49:56] local.INFO: TCP Data received {"connection_id":161791,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:49:56] local.INFO: Processing buffer {"connection_id":161791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:49:56] local.INFO: IMEI packet received {"connection_id":161791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":161791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:49:57] local.INFO: TCP Data received {"connection_id":161791,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:49:57] local.INFO: Processing buffer {"connection_id":161791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:49:57] local.INFO: Packet analysis {"connection_id":161791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:49:57] local.INFO: Extracted packet for processing {"connection_id":161791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:49:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594826752001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787480093000,"timestamp_ms":1787480093000,"timestamp_seconds":1787480093,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1db148"} 
[2026-08-23 15:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 15:49:57] 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-08-23 15:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594826752001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594826752001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:49:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:49:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594826752001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":161791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:49:57] local.INFO: GPS data processed {"connection_id":161791,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:49:57] local.INFO: Acknowledgment sent {"connection_id":161791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:50:02] local.INFO: TCP Data received {"connection_id":161791,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:50:02] local.INFO: Processing buffer {"connection_id":161791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e1db148012d34c50006aa4098001100851d..."} 
[2026-08-23 15:50:02] local.INFO: Packet analysis {"connection_id":161791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:50:02] local.INFO: Extracted packet for processing {"connection_id":161791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e1d"} 
[2026-08-23 15:50:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594826752001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787480093000,"timestamp_ms":1787480093000,"timestamp_seconds":1787480093,"priority":1,"record_length":96,"hex_timestamp":"000001a02e1db148"} 
[2026-08-23 15:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 15:50:02] 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-08-23 15:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594826752001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594826752001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:50:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:50:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594826752001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":161791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:50:02] local.INFO: GPS data processed {"connection_id":161791,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:50:02] local.INFO: Acknowledgment sent {"connection_id":161791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:50:06] local.INFO: TCP Data received {"connection_id":160848,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e20f920012d198b000720b1f0003800fd21..."} 
[2026-08-23 15:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e20f920012d198b000720b1f0003800fd21..."} 
[2026-08-23 15:50:06] local.INFO: Processing buffer {"connection_id":160848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e20f920012d198b000720b1f0003800fd21..."} 
[2026-08-23 15:50:06] local.INFO: Packet analysis {"connection_id":160848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e20"} 
[2026-08-23 15:50:06] local.INFO: Extracted packet for processing {"connection_id":160848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e20"} 
[2026-08-23 15:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":33,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 15:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594953472001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378301042688,"note":"Value kept but may cause issues"} 
[2026-08-23 15:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787480308000,"timestamp_ms":1787480308000,"timestamp_seconds":1787480308,"priority":1,"record_length":96,"hex_timestamp":"000001a02e20f920"} 
[2026-08-23 15:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 15:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594953472001,"66":12385,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840846378301042688},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594953472001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:50:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378301042688,"description":"Unknown IO ID 45"} 
[2026-08-23 15:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594953472001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378301042688}} 
[2026-08-23 15:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":160848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:50:06] local.INFO: GPS data processed {"connection_id":160848,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:50:06] local.INFO: Acknowledgment sent {"connection_id":160848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:50:12] local.INFO: TCP Data received {"connection_id":160607,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2108c0012d7a548005da95b00006005628..."} 
[2026-08-23 15:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2108c0012d7a548005da95b00006005628..."} 
[2026-08-23 15:50:12] local.INFO: Processing buffer {"connection_id":160607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2108c0012d7a548005da95b00006005628..."} 
[2026-08-23 15:50:12] local.INFO: Packet analysis {"connection_id":160607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e21"} 
[2026-08-23 15:50:12] local.INFO: Extracted packet for processing {"connection_id":160607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e21"} 
[2026-08-23 15:50:12] local.INFO: GPS Element Parsed {"raw_longitude":762991744,"raw_latitude":98211248,"longitude_deg":76.2991744,"latitude_deg":9.8211248,"altitude":6,"angle":86,"satellites":40,"speed":34,"hex_longitude":"2d7a5480","hex_latitude":"05da95b0","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594957824001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122694163241107456,"note":"Value kept but may cause issues"} 
[2026-08-23 15:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808900158790301696,"note":"Value kept but may cause issues"} 
[2026-08-23 15:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787480312000,"timestamp_ms":1787480312000,"timestamp_seconds":1787480312,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2108c0"} 
[2026-08-23 15:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-23 15:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594957824001,"66":13461,"229":206,"85":15104,"24":34,"16":122694163241107456,"45":8808900158790301696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-23 15:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594957824001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:50:12] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-23 15:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122694163241107456,"km_value":122694163241107.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808900158790301696,"description":"Unknown IO ID 45"} 
[2026-08-23 15:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594957824001,"power":13461,"unknown_229":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8808900158790301696}} 
[2026-08-23 15:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":160607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:50:12] local.INFO: GPS data processed {"connection_id":160607,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:50:12] local.INFO: Acknowledgment sent {"connection_id":160607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:50:29] local.INFO: TCP Data received {"connection_id":163198,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:50:29] local.INFO: Processing buffer {"connection_id":163198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:50:29] local.INFO: IMEI packet received {"connection_id":163198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":163198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:50:30] local.INFO: TCP Data received {"connection_id":163198,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:50:30] local.INFO: Processing buffer {"connection_id":163198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:50:30] local.INFO: IMEI packet received {"connection_id":163198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":163198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:50:34] local.INFO: TCP Data received {"connection_id":163198,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:50:34] local.INFO: Processing buffer {"connection_id":163198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:50:34] local.INFO: IMEI packet received {"connection_id":163198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":163198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:50:35] local.INFO: TCP Data received {"connection_id":163198,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e214b28012d198b000720b1f0003800fd28..."} 
[2026-08-23 15:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e214b28012d198b000720b1f0003800fd28..."} 
[2026-08-23 15:50:35] local.INFO: Processing buffer {"connection_id":163198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e214b28012d198b000720b1f0003800fd28..."} 
[2026-08-23 15:50:35] local.INFO: Packet analysis {"connection_id":163198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e21"} 
[2026-08-23 15:50:35] local.INFO: Extracted packet for processing {"connection_id":163198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e21"} 
[2026-08-23 15:50:35] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594958848001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787480329000,"timestamp_ms":1787480329000,"timestamp_seconds":1787480329,"priority":1,"record_length":96,"hex_timestamp":"000001a02e214b28"} 
[2026-08-23 15:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 15:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594958848001,"66":12298,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594958848001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:50:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:50:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 15:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594958848001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 15:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":163198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:50:35] local.INFO: GPS data processed {"connection_id":163198,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:50:35] local.INFO: Acknowledgment sent {"connection_id":163198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:50:39] local.INFO: TCP Data received {"connection_id":163199,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:50:39] local.INFO: Processing buffer {"connection_id":163199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:50:39] local.INFO: IMEI packet received {"connection_id":163199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":163199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:50:43] local.INFO: TCP Data received {"connection_id":163199,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:50:43] local.INFO: Processing buffer {"connection_id":163199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:50:43] local.INFO: IMEI packet received {"connection_id":163199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":163199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:50:43] local.INFO: TCP Data received {"connection_id":163199,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e212800012d7a718005da9a100009004b28..."} 
[2026-08-23 15:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e212800012d7a718005da9a100009004b28..."} 
[2026-08-23 15:50:43] local.INFO: Processing buffer {"connection_id":163199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e212800012d7a718005da9a100009004b28..."} 
[2026-08-23 15:50:43] local.INFO: Packet analysis {"connection_id":163199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e21"} 
[2026-08-23 15:50:43] local.INFO: Extracted packet for processing {"connection_id":163199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e21"} 
[2026-08-23 15:50:43] local.INFO: GPS Element Parsed {"raw_longitude":762999168,"raw_latitude":98212368,"longitude_deg":76.2999168,"latitude_deg":9.8212368,"altitude":9,"angle":75,"satellites":40,"speed":40,"hex_longitude":"2d7a7180","hex_latitude":"05da9a10","is_valid_coordinates":true} 
[2026-08-23 15:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594959872001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122694528313327616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814811133301338112,"note":"Value kept but may cause issues"} 
[2026-08-23 15:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787480320000,"timestamp_ms":1787480320000,"timestamp_seconds":1787480320,"priority":1,"record_length":96,"hex_timestamp":"000001a02e212800"} 
[2026-08-23 15:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-23 15:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594959872001,"66":13602,"229":206,"85":15104,"24":40,"16":122694528313327616,"45":8814811133301338112},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-23 15:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594959872001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:50:43] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-23 15:50:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122694528313327616,"km_value":122694528313327.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814811133301338112,"description":"Unknown IO ID 45"} 
[2026-08-23 15:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594959872001,"power":13602,"unknown_229":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8814811133301338112}} 
[2026-08-23 15:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":163199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:50:43] local.INFO: GPS data processed {"connection_id":163199,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:50:43] local.INFO: Acknowledgment sent {"connection_id":163199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:50:44] local.INFO: TCP Data received {"connection_id":163199,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e214b28012d7a968005daa458000a004922..."} 
[2026-08-23 15:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e214b28012d7a968005daa458000a004922..."} 
[2026-08-23 15:50:44] local.INFO: Processing buffer {"connection_id":163199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e214b28012d7a968005daa458000a004922..."} 
[2026-08-23 15:50:44] local.INFO: Packet analysis {"connection_id":163199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e21"} 
[2026-08-23 15:50:44] local.INFO: Extracted packet for processing {"connection_id":163199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e21"} 
[2026-08-23 15:50:44] local.INFO: GPS Element Parsed {"raw_longitude":763008640,"raw_latitude":98215000,"longitude_deg":76.300864,"latitude_deg":9.8215,"altitude":10,"angle":73,"satellites":34,"speed":41,"hex_longitude":"2d7a9680","hex_latitude":"05daa458","is_valid_coordinates":true} 
[2026-08-23 15:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594961920001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122694996464762880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822973907626233856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787480329000,"timestamp_ms":1787480329000,"timestamp_seconds":1787480329,"priority":1,"record_length":96,"hex_timestamp":"000001a02e214b28"} 
[2026-08-23 15:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-23 15:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594961920001,"66":13363,"229":206,"85":15104,"24":41,"16":122694996464762880,"45":8822973907626233856},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-23 15:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594961920001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:50:44] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-23 15:50:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122694996464762880,"km_value":122694996464762.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822973907626233856,"description":"Unknown IO ID 45"} 
[2026-08-23 15:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594961920001,"power":13363,"unknown_229":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8822973907626233856}} 
[2026-08-23 15:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":163199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:50:44] local.INFO: GPS data processed {"connection_id":163199,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:50:44] local.INFO: Acknowledgment sent {"connection_id":163199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:50:47] local.INFO: TCP Data received {"connection_id":160608,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:50:47] local.INFO: Processing buffer {"connection_id":160608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:50:47] local.INFO: IMEI packet received {"connection_id":160608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":160608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:51:06] local.INFO: TCP Data received {"connection_id":160608,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:51:06] local.INFO: Processing buffer {"connection_id":160608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:51:06] local.INFO: IMEI packet received {"connection_id":160608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":160608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:51:06] local.INFO: TCP Data received {"connection_id":163198,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e219d30012d198b000720b1f0003800fd2b..."} 
[2026-08-23 15:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e219d30012d198b000720b1f0003800fd2b..."} 
[2026-08-23 15:51:06] local.INFO: Processing buffer {"connection_id":163198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e219d30012d198b000720b1f0003800fd2b..."} 
[2026-08-23 15:51:06] local.INFO: Packet analysis {"connection_id":163198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e21"} 
[2026-08-23 15:51:06] local.INFO: Extracted packet for processing {"connection_id":163198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e21"} 
[2026-08-23 15:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":43,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 15:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594964224001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787480350000,"timestamp_ms":1787480350000,"timestamp_seconds":1787480350,"priority":1,"record_length":96,"hex_timestamp":"000001a02e219d30"} 
[2026-08-23 15:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 15:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272262857981440,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185655,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3323754347194292664,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832598,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3614421058429845710,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-23 15:51:06] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:06] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3221692590,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:06] local.WARNING: Large IO value detected {"io_id":51,"raw_value":85890550179299328,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:06] local.WARNING: Large IO value detected {"io_id":115,"raw_value":-1729382256910270463,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513597755536638287,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:06] local.WARNING: Large IO value detected {"io_id":37,"raw_value":5348024558157828,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:06] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,116,160,249,45,177,56,33,10,66,167,178,40,159,128,1,240,227,46,32,4,113,205,26,104,174,208,239,50,2,55,7,51,115,192,37],"length":534,"final_offset":664,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-23 15:51:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035503614364483584,"timestamp_seconds":4035503614364483.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 15:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594964224001,"66":12232,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594964224001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:51:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 15:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594964224001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 15:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":163198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:51:06] local.INFO: GPS data processed {"connection_id":163198,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:51:06] local.INFO: Acknowledgment sent {"connection_id":163198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:51:06] local.INFO: TCP Data received {"connection_id":160608,"ip":"42.106.6.21","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 15:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160608,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 15:51:06] local.INFO: Processing buffer {"connection_id":160608,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-23 15:51:06] local.INFO: IMEI packet received {"connection_id":160608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":160608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:51:16] local.INFO: TCP Data received {"connection_id":163199,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e219178012d7ab98005daaea80008004629..."} 
[2026-08-23 15:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e219178012d7ab98005daaea80008004629..."} 
[2026-08-23 15:51:16] local.INFO: Processing buffer {"connection_id":163199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e219178012d7ab98005daaea80008004629..."} 
[2026-08-23 15:51:16] local.INFO: Packet analysis {"connection_id":163199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e21"} 
[2026-08-23 15:51:16] local.INFO: Extracted packet for processing {"connection_id":163199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e21"} 
[2026-08-23 15:51:16] local.INFO: GPS Element Parsed {"raw_longitude":763017600,"raw_latitude":98217640,"longitude_deg":76.30176,"latitude_deg":9.821764,"altitude":8,"angle":70,"satellites":41,"speed":24,"hex_longitude":"2d7ab980","hex_latitude":"05daaea8","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594964224001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122695443141361664,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8833388481765201920,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787480347000,"timestamp_ms":1787480347000,"timestamp_seconds":1787480347,"priority":1,"record_length":96,"hex_timestamp":"000001a02e219178"} 
[2026-08-23 15:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-23 15:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594964224001,"66":13515,"229":206,"85":15104,"24":24,"16":122695443141361664,"45":8833388481765201920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-23 15:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594964224001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:51:16] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-23 15:51:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122695443141361664,"km_value":122695443141361.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8833388481765201920,"description":"Unknown IO ID 45"} 
[2026-08-23 15:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594964224001,"power":13515,"unknown_229":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8833388481765201920}} 
[2026-08-23 15:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":163199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:51:16] local.INFO: GPS data processed {"connection_id":163199,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:51:16] local.INFO: Acknowledgment sent {"connection_id":163199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:51:33] local.INFO: TCP Data received {"connection_id":160849,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:51:33] local.INFO: Processing buffer {"connection_id":160849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:51:33] local.INFO: IMEI packet received {"connection_id":160849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":160849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:51:34] local.INFO: TCP Data received {"connection_id":160849,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:51:34] local.INFO: Processing buffer {"connection_id":160849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:51:34] local.INFO: IMEI packet received {"connection_id":160849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":160849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:51:34] local.INFO: TCP Data received {"connection_id":160850,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:51:34] local.INFO: Processing buffer {"connection_id":160850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:51:34] local.INFO: IMEI packet received {"connection_id":160850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":160850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:51:39] local.INFO: TCP Data received {"connection_id":160849,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:51:39] local.INFO: Processing buffer {"connection_id":160849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:51:39] local.INFO: IMEI packet received {"connection_id":160849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":160849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:51:39] local.INFO: TCP Data received {"connection_id":160850,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:51:39] local.INFO: Processing buffer {"connection_id":160850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:51:39] local.INFO: IMEI packet received {"connection_id":160850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":160850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:51:40] local.INFO: TCP Data received {"connection_id":160849,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e21ef38012d198b000720b1f0003800fd28..."} 
[2026-08-23 15:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e21ef38012d198b000720b1f0003800fd28..."} 
[2026-08-23 15:51:40] local.INFO: Processing buffer {"connection_id":160849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e21ef38012d198b000720b1f0003800fd28..."} 
[2026-08-23 15:51:40] local.INFO: Packet analysis {"connection_id":160849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e21"} 
[2026-08-23 15:51:40] local.INFO: Extracted packet for processing {"connection_id":160849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e21"} 
[2026-08-23 15:51:40] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594969600001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787480371000,"timestamp_ms":1787480371000,"timestamp_seconds":1787480371,"priority":1,"record_length":96,"hex_timestamp":"000001a02e21ef38"} 
[2026-08-23 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-08-23 15:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 15:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 15:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594969600001,"66":12211,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594969600001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:51:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:51:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 15:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594969600001,"power":12211,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 15:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":160849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:51:40] local.INFO: GPS data processed {"connection_id":160849,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:51:40] local.INFO: Acknowledgment sent {"connection_id":160849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:51:40] local.INFO: TCP Data received {"connection_id":160850,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e21b888012d7adb0005dab9100008004928..."} 
[2026-08-23 15:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e21b888012d7adb0005dab9100008004928..."} 
[2026-08-23 15:51:40] local.INFO: Processing buffer {"connection_id":160850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e21b888012d7adb0005dab9100008004928..."} 
[2026-08-23 15:51:40] local.INFO: Packet analysis {"connection_id":160850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e21"} 
[2026-08-23 15:51:40] local.INFO: Extracted packet for processing {"connection_id":160850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e21"} 
[2026-08-23 15:51:40] local.INFO: GPS Element Parsed {"raw_longitude":763026176,"raw_latitude":98220304,"longitude_deg":76.3026176,"latitude_deg":9.8220304,"altitude":8,"angle":73,"satellites":40,"speed":38,"hex_longitude":"2d7adb00","hex_latitude":"05dab910","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594968832001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122695872638091264,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8843240105950750720,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787480357000,"timestamp_ms":1787480357000,"timestamp_seconds":1787480357,"priority":1,"record_length":96,"hex_timestamp":"000001a02e21b888"} 
[2026-08-23 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-08-23 15:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-23 15:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 15:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594968832001,"66":13276,"229":206,"85":15104,"24":38,"16":122695872638091264,"45":8843240105950750720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-23 15:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594968832001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:51:40] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-23 15:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122695872638091264,"km_value":122695872638091.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8843240105950750720,"description":"Unknown IO ID 45"} 
[2026-08-23 15:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594968832001,"power":13276,"unknown_229":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8843240105950750720}} 
[2026-08-23 15:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":160850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:51:40] local.INFO: GPS data processed {"connection_id":160850,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:51:40] local.INFO: Acknowledgment sent {"connection_id":160850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:51:45] local.INFO: TCP Data received {"connection_id":160849,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e224140012d198b000720b1f0003800fd29..."} 
[2026-08-23 15:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e224140012d198b000720b1f0003800fd29..."} 
[2026-08-23 15:51:45] local.INFO: Processing buffer {"connection_id":160849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e224140012d198b000720b1f0003800fd29..."} 
[2026-08-23 15:51:45] local.INFO: Packet analysis {"connection_id":160849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e22"} 
[2026-08-23 15:51:45] local.INFO: Extracted packet for processing {"connection_id":160849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e22"} 
[2026-08-23 15:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 15:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594974976001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787480392000,"timestamp_ms":1787480392000,"timestamp_seconds":1787480392,"priority":1,"record_length":96,"hex_timestamp":"000001a02e224140"} 
[2026-08-23 15:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:51: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-08-23 15:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-23 15:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594974976001,"66":12287,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594974976001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:51:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:51:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 15:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594974976001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 15:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":160849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:51:45] local.INFO: GPS data processed {"connection_id":160849,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:51:45] local.INFO: Acknowledgment sent {"connection_id":160849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:52:11] local.INFO: TCP Data received {"connection_id":160850,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2421b8012d7c218005daf940000d016322..."} 
[2026-08-23 15:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2421b8012d7c218005daf940000d016322..."} 
[2026-08-23 15:52:11] local.INFO: Processing buffer {"connection_id":160850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2421b8012d7c218005daf940000d016322..."} 
[2026-08-23 15:52:11] local.INFO: Packet analysis {"connection_id":160850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e24"} 
[2026-08-23 15:52:11] local.INFO: Extracted packet for processing {"connection_id":160850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e24"} 
[2026-08-23 15:52:11] local.INFO: GPS Element Parsed {"raw_longitude":763109760,"raw_latitude":98236736,"longitude_deg":76.310976,"latitude_deg":9.8236736,"altitude":13,"angle":355,"satellites":34,"speed":26,"hex_longitude":"2d7c2180","hex_latitude":"05daf940","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595011328001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122700043051335680,"note":"Value kept but may cause issues"} 
[2026-08-23 15:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944711835059548160,"note":"Value kept but may cause issues"} 
[2026-08-23 15:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787480515000,"timestamp_ms":1787480515000,"timestamp_seconds":1787480515,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2421b8"} 
[2026-08-23 15:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 15:52:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 15:52:11] local.WARNING: Large IO value detected {"io_id":234,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-08-23 15:52:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-23 15:52:11] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-1272266860366715648,"note":"Value kept but may cause issues"} 
[2026-08-23 15:52:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797338830,"corrected_to":0} 
[2026-08-23 15:52:11] local.WARNING: Large IO value detected {"io_id":156,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-08-23 15:52:11] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3937337344,"note":"Value kept but may cause issues"} 
[2026-08-23 15:52:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3673163776,"note":"Value kept but may cause issues"} 
[2026-08-23 15:52:11] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57885696623269179,"note":"Value kept but may cause issues"} 
[2026-08-23 15:52:11] local.WARNING: Large IO value detected {"io_id":35,"raw_value":47289090950037509,"note":"Value kept but may cause issues"} 
[2026-08-23 15:52:11] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,187,85,24,241,157,16,234,160,18,45,128,242,14,38,10,66,192,37,64,1,240,78,227,46,218,4,113,205,156,9,120,239,52,188,2,179,5,122,35],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2797338830,"validated":0}]} 
[2026-08-23 15:52:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008815280128720896,"timestamp_seconds":1008815280128720.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 15:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595011328001,"66":13406,"187":206,"85":15104,"24":26,"16":122700043051335680,"45":8944711835059548160},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-23 15:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595011328001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:52:11] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 15:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122700043051335680,"km_value":122700043051335.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944711835059548160,"description":"Unknown IO ID 45"} 
[2026-08-23 15:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595011328001,"power":13406,"unknown_187":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8944711835059548160}} 
[2026-08-23 15:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":160850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:52:11] local.INFO: GPS data processed {"connection_id":160850,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:52:11] local.INFO: Acknowledgment sent {"connection_id":160850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:52:30] local.INFO: TCP Data received {"connection_id":163200,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:52:30] local.INFO: Processing buffer {"connection_id":163200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:52:30] local.INFO: IMEI packet received {"connection_id":163200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":163200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:52:34] local.INFO: TCP Data received {"connection_id":163200,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:52:34] local.INFO: Processing buffer {"connection_id":163200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:52:34] local.INFO: IMEI packet received {"connection_id":163200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":163200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:52:34] local.INFO: TCP Data received {"connection_id":161793,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:52:34] local.INFO: Processing buffer {"connection_id":161793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:52:34] local.INFO: IMEI packet received {"connection_id":161793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":161793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:52:35] local.INFO: TCP Data received {"connection_id":161793,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:52:35] local.INFO: Processing buffer {"connection_id":161793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:52:35] local.INFO: IMEI packet received {"connection_id":161793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":161793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:52:35] local.INFO: TCP Data received {"connection_id":163200,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e229348012d198b000720b1f0003800fd29..."} 
[2026-08-23 15:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e229348012d198b000720b1f0003800fd29..."} 
[2026-08-23 15:52:35] local.INFO: Processing buffer {"connection_id":163200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e229348012d198b000720b1f0003800fd29..."} 
[2026-08-23 15:52:35] local.INFO: Packet analysis {"connection_id":163200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e22"} 
[2026-08-23 15:52:35] local.INFO: Extracted packet for processing {"connection_id":163200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e22"} 
[2026-08-23 15:52:35] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 15:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594980352001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787480413000,"timestamp_ms":1787480413000,"timestamp_seconds":1787480413,"priority":1,"record_length":96,"hex_timestamp":"000001a02e229348"} 
[2026-08-23 15:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 15:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594980352001,"66":12374,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594980352001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:52:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:52:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 15:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594980352001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 15:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":163200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:52:35] local.INFO: GPS data processed {"connection_id":163200,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:52:35] local.INFO: Acknowledgment sent {"connection_id":163200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:52:39] local.INFO: TCP Data received {"connection_id":161793,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:52:39] local.INFO: Processing buffer {"connection_id":161793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:52:39] local.INFO: IMEI packet received {"connection_id":161793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":161793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:52:41] local.INFO: TCP Data received {"connection_id":161793,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2448c8012d7c19c005db1bb8000c01571d..."} 
[2026-08-23 15:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2448c8012d7c19c005db1bb8000c01571d..."} 
[2026-08-23 15:52:41] local.INFO: Processing buffer {"connection_id":161793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2448c8012d7c19c005db1bb8000c01571d..."} 
[2026-08-23 15:52:41] local.INFO: Packet analysis {"connection_id":161793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e24"} 
[2026-08-23 15:52:41] local.INFO: Extracted packet for processing {"connection_id":161793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e24"} 
[2026-08-23 15:52:41] local.INFO: GPS Element Parsed {"raw_longitude":763107776,"raw_latitude":98245560,"longitude_deg":76.3107776,"latitude_deg":9.824556,"altitude":12,"angle":343,"satellites":29,"speed":32,"hex_longitude":"2d7c19c0","hex_latitude":"05db1bb8","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595011840001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122700481137999872,"note":"Value kept but may cause issues"} 
[2026-08-23 15:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944571097571475456,"note":"Value kept but may cause issues"} 
[2026-08-23 15:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787480525000,"timestamp_ms":1787480525000,"timestamp_seconds":1787480525,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2448c8"} 
[2026-08-23 15:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-23 15:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595011840001,"66":13276,"187":206,"85":15104,"24":32,"16":122700481137999872,"45":8944571097571475456},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-23 15:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595011840001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:52:41] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 15:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122700481137999872,"km_value":122700481137999.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944571097571475456,"description":"Unknown IO ID 45"} 
[2026-08-23 15:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595011840001,"power":13276,"unknown_187":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8944571097571475456}} 
[2026-08-23 15:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":161793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:52:41] local.INFO: GPS data processed {"connection_id":161793,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:52:41] local.INFO: Acknowledgment sent {"connection_id":161793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:53:06] local.INFO: TCP Data received {"connection_id":163200,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e22e550012d198b000720b1f0003800fd28..."} 
[2026-08-23 15:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e22e550012d198b000720b1f0003800fd28..."} 
[2026-08-23 15:53:06] local.INFO: Processing buffer {"connection_id":163200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e22e550012d198b000720b1f0003800fd28..."} 
[2026-08-23 15:53:06] local.INFO: Packet analysis {"connection_id":163200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e22"} 
[2026-08-23 15:53:06] local.INFO: Extracted packet for processing {"connection_id":163200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e22"} 
[2026-08-23 15:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 15:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594985728001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787480434000,"timestamp_ms":1787480434000,"timestamp_seconds":1787480434,"priority":1,"record_length":96,"hex_timestamp":"000001a02e22e550"} 
[2026-08-23 15:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 15:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594985728001,"66":12385,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594985728001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:53:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 15:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594985728001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 15:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":163200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:53:06] local.INFO: GPS data processed {"connection_id":163200,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:53:06] local.INFO: Acknowledgment sent {"connection_id":163200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:53:12] local.INFO: TCP Data received {"connection_id":161793,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2448c8012d7c19c005db1bb8000c01571d..."} 
[2026-08-23 15:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2448c8012d7c19c005db1bb8000c01571d..."} 
[2026-08-23 15:53:12] local.INFO: Processing buffer {"connection_id":161793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2448c8012d7c19c005db1bb8000c01571d..."} 
[2026-08-23 15:53:12] local.INFO: Packet analysis {"connection_id":161793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e24"} 
[2026-08-23 15:53:12] local.INFO: Extracted packet for processing {"connection_id":161793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e24"} 
[2026-08-23 15:53:12] local.INFO: GPS Element Parsed {"raw_longitude":763107776,"raw_latitude":98245560,"longitude_deg":76.3107776,"latitude_deg":9.824556,"altitude":12,"angle":343,"satellites":29,"speed":32,"hex_longitude":"2d7c19c0","hex_latitude":"05db1bb8","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595014400001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122700481137999872,"note":"Value kept but may cause issues"} 
[2026-08-23 15:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942389666504226816,"note":"Value kept but may cause issues"} 
[2026-08-23 15:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787480525000,"timestamp_ms":1787480525000,"timestamp_seconds":1787480525,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2448c8"} 
[2026-08-23 15:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 15:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595014400001,"66":13276,"187":206,"85":15104,"24":32,"16":122700481137999872,"45":8942389666504226816},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-23 15:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595014400001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:53:12] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-23 15:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122700481137999872,"km_value":122700481137999.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942389666504226816,"description":"Unknown IO ID 45"} 
[2026-08-23 15:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595014400001,"power":13276,"unknown_187":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8942389666504226816}} 
[2026-08-23 15:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":161793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:53:12] local.INFO: GPS data processed {"connection_id":161793,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:53:12] local.INFO: Acknowledgment sent {"connection_id":161793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:53:29] local.INFO: TCP Data received {"connection_id":160851,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:53:29] local.INFO: Processing buffer {"connection_id":160851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:53:29] local.INFO: IMEI packet received {"connection_id":160851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":160851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:53:34] local.INFO: TCP Data received {"connection_id":160851,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:53:34] local.INFO: Processing buffer {"connection_id":160851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:53:34] local.INFO: IMEI packet received {"connection_id":160851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":160851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:53:35] local.INFO: TCP Data received {"connection_id":160851,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e233758012d198b000720b1f0003800fd25..."} 
[2026-08-23 15:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e233758012d198b000720b1f0003800fd25..."} 
[2026-08-23 15:53:35] local.INFO: Processing buffer {"connection_id":160851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e233758012d198b000720b1f0003800fd25..."} 
[2026-08-23 15:53:35] local.INFO: Packet analysis {"connection_id":160851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e23"} 
[2026-08-23 15:53:35] local.INFO: Extracted packet for processing {"connection_id":160851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e23"} 
[2026-08-23 15:53:35] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 15:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594991104001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787480455000,"timestamp_ms":1787480455000,"timestamp_seconds":1787480455,"priority":1,"record_length":96,"hex_timestamp":"000001a02e233758"} 
[2026-08-23 15:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 15:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594991104001,"66":12385,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594991104001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:53:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:53:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 15:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594991104001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 15:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":160851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:53:35] local.INFO: GPS data processed {"connection_id":160851,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:53:35] local.INFO: Acknowledgment sent {"connection_id":160851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:53:48] local.INFO: TCP Data received {"connection_id":161794,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:53:48] local.INFO: Processing buffer {"connection_id":161794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:53:48] local.INFO: IMEI packet received {"connection_id":161794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":161794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:54:06] local.INFO: TCP Data received {"connection_id":160851,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e238960012d198b000720b1f0003800fd27..."} 
[2026-08-23 15:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e238960012d198b000720b1f0003800fd27..."} 
[2026-08-23 15:54:06] local.INFO: Processing buffer {"connection_id":160851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e238960012d198b000720b1f0003800fd27..."} 
[2026-08-23 15:54:06] local.INFO: Packet analysis {"connection_id":160851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e23"} 
[2026-08-23 15:54:06] local.INFO: Extracted packet for processing {"connection_id":160851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e23"} 
[2026-08-23 15:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 15:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594996480001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787480476000,"timestamp_ms":1787480476000,"timestamp_seconds":1787480476,"priority":1,"record_length":96,"hex_timestamp":"000001a02e238960"} 
[2026-08-23 15:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 15:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594996480001,"66":12406,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594996480001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:54:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 15:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594996480001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 15:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":160851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:54:06] local.INFO: GPS data processed {"connection_id":160851,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:54:06] local.INFO: Acknowledgment sent {"connection_id":160851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:54:15] local.INFO: TCP Data received {"connection_id":161794,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:54:16] local.INFO: Processing buffer {"connection_id":161794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:54:16] local.INFO: IMEI packet received {"connection_id":161794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":161794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:54:29] local.INFO: TCP Data received {"connection_id":163201,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:54:29] local.INFO: Processing buffer {"connection_id":163201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:54:29] local.INFO: IMEI packet received {"connection_id":163201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":163201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:54:32] local.INFO: TCP Data received {"connection_id":163202,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:54:32] local.INFO: Processing buffer {"connection_id":163202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:54:32] local.INFO: IMEI packet received {"connection_id":163202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":163202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:54:34] local.INFO: TCP Data received {"connection_id":163202,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:54:34] local.INFO: Processing buffer {"connection_id":163202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:54:34] local.INFO: IMEI packet received {"connection_id":163202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 15:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":163202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:54:34] local.INFO: TCP Data received {"connection_id":163201,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:54:34] local.INFO: Processing buffer {"connection_id":163201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:54:34] local.INFO: IMEI packet received {"connection_id":163201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":163201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:54:35] local.INFO: TCP Data received {"connection_id":163201,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e23db68012d198b000720b1f0003800fd26..."} 
[2026-08-23 15:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e23db68012d198b000720b1f0003800fd26..."} 
[2026-08-23 15:54:35] local.INFO: Processing buffer {"connection_id":163201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e23db68012d198b000720b1f0003800fd26..."} 
[2026-08-23 15:54:35] local.INFO: Packet analysis {"connection_id":163201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e23"} 
[2026-08-23 15:54:35] local.INFO: Extracted packet for processing {"connection_id":163201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e23"} 
[2026-08-23 15:54:35] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595001856001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787480497000,"timestamp_ms":1787480497000,"timestamp_seconds":1787480497,"priority":1,"record_length":96,"hex_timestamp":"000001a02e23db68"} 
[2026-08-23 15:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 15:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595001856001,"66":12385,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595001856001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:54:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 15:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595001856001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 15:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":163201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:54:35] local.INFO: GPS data processed {"connection_id":163201,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:54:35] local.INFO: Acknowledgment sent {"connection_id":163201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:55:06] local.INFO: TCP Data received {"connection_id":163201,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e242d70012d198b000720b1f0003800fd24..."} 
[2026-08-23 15:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e242d70012d198b000720b1f0003800fd24..."} 
[2026-08-23 15:55:06] local.INFO: Processing buffer {"connection_id":163201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e242d70012d198b000720b1f0003800fd24..."} 
[2026-08-23 15:55:06] local.INFO: Packet analysis {"connection_id":163201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e24"} 
[2026-08-23 15:55:06] local.INFO: Extracted packet for processing {"connection_id":163201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e24"} 
[2026-08-23 15:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 15:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595007232001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787480518000,"timestamp_ms":1787480518000,"timestamp_seconds":1787480518,"priority":1,"record_length":96,"hex_timestamp":"000001a02e242d70"} 
[2026-08-23 15:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 15:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595007232001,"66":12374,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595007232001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:55:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 15:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595007232001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 15:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":163201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:55:06] local.INFO: GPS data processed {"connection_id":163201,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:55:06] local.INFO: Acknowledgment sent {"connection_id":163201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:55:29] local.INFO: TCP Data received {"connection_id":163203,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:55:29] local.INFO: Processing buffer {"connection_id":163203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:55:29] local.INFO: IMEI packet received {"connection_id":163203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":163203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:55:34] local.INFO: TCP Data received {"connection_id":163203,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:55:34] local.INFO: Processing buffer {"connection_id":163203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:55:34] local.INFO: IMEI packet received {"connection_id":163203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":163203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:55:35] local.INFO: TCP Data received {"connection_id":163203,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e247f78012d198b000720b1f0003800fd27..."} 
[2026-08-23 15:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e247f78012d198b000720b1f0003800fd27..."} 
[2026-08-23 15:55:35] local.INFO: Processing buffer {"connection_id":163203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e247f78012d198b000720b1f0003800fd27..."} 
[2026-08-23 15:55:35] local.INFO: Packet analysis {"connection_id":163203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e24"} 
[2026-08-23 15:55:35] local.INFO: Extracted packet for processing {"connection_id":163203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e24"} 
[2026-08-23 15:55:35] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 15:55: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-08-23 15:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595012608001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787480539000,"timestamp_ms":1787480539000,"timestamp_seconds":1787480539,"priority":1,"record_length":96,"hex_timestamp":"000001a02e247f78"} 
[2026-08-23 15:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 15:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:55: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-08-23 15:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595012608001,"66":12385,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595012608001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:55:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:55:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 15:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595012608001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 15:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":163203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:55:35] local.INFO: GPS data processed {"connection_id":163203,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:55:35] local.INFO: Acknowledgment sent {"connection_id":163203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:56:06] local.INFO: TCP Data received {"connection_id":163203,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e24d180012d198b000720b1f0003800fd27..."} 
[2026-08-23 15:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e24d180012d198b000720b1f0003800fd27..."} 
[2026-08-23 15:56:06] local.INFO: Processing buffer {"connection_id":163203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e24d180012d198b000720b1f0003800fd27..."} 
[2026-08-23 15:56:06] local.INFO: Packet analysis {"connection_id":163203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e24"} 
[2026-08-23 15:56:06] local.INFO: Extracted packet for processing {"connection_id":163203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e24"} 
[2026-08-23 15:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 15:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595017984001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787480560000,"timestamp_ms":1787480560000,"timestamp_seconds":1787480560,"priority":1,"record_length":96,"hex_timestamp":"000001a02e24d180"} 
[2026-08-23 15:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 15:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595017984001,"66":12385,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595017984001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:56:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 15:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595017984001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 15:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":163203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:56:06] local.INFO: GPS data processed {"connection_id":163203,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:56:06] local.INFO: Acknowledgment sent {"connection_id":163203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:56:12] local.INFO: TCP Data received {"connection_id":160853,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:56:12] local.INFO: Processing buffer {"connection_id":160853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:56:12] local.INFO: IMEI packet received {"connection_id":160853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":160853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:56:15] local.INFO: TCP Data received {"connection_id":160853,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e224910012d34c50006aa4098001100851e..."} 
[2026-08-23 15:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e224910012d34c50006aa4098001100851e..."} 
[2026-08-23 15:56:15] local.INFO: Processing buffer {"connection_id":160853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e224910012d34c50006aa4098001100851e..."} 
[2026-08-23 15:56:15] local.INFO: Packet analysis {"connection_id":160853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e22"} 
[2026-08-23 15:56:15] local.INFO: Extracted packet for processing {"connection_id":160853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e22"} 
[2026-08-23 15:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594903808001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787480394000,"timestamp_ms":1787480394000,"timestamp_seconds":1787480394,"priority":1,"record_length":96,"hex_timestamp":"000001a02e224910"} 
[2026-08-23 15:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15: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":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:56: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-08-23 15: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-08-23 15:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594903808001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594903808001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:56:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:56:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594903808001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":160853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:56:15] local.INFO: GPS data processed {"connection_id":160853,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:56:15] local.INFO: Acknowledgment sent {"connection_id":160853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:56:29] local.INFO: TCP Data received {"connection_id":161797,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:56:29] local.INFO: Processing buffer {"connection_id":161797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:56:29] local.INFO: IMEI packet received {"connection_id":161797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":161797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:56:34] local.INFO: TCP Data received {"connection_id":161797,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:56:34] local.INFO: Processing buffer {"connection_id":161797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:56:34] local.INFO: IMEI packet received {"connection_id":161797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":161797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:56:35] local.INFO: TCP Data received {"connection_id":161797,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e252388012d198b000720b1f0003800fd22..."} 
[2026-08-23 15:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e252388012d198b000720b1f0003800fd22..."} 
[2026-08-23 15:56:35] local.INFO: Processing buffer {"connection_id":161797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e252388012d198b000720b1f0003800fd22..."} 
[2026-08-23 15:56:35] local.INFO: Packet analysis {"connection_id":161797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e25"} 
[2026-08-23 15:56:35] local.INFO: Extracted packet for processing {"connection_id":161797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e25"} 
[2026-08-23 15:56:35] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":34,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 15:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595023360001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787480581000,"timestamp_ms":1787480581000,"timestamp_seconds":1787480581,"priority":1,"record_length":96,"hex_timestamp":"000001a02e252388"} 
[2026-08-23 15:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 15:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595023360001,"66":12385,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595023360001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:56:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:56:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 15:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595023360001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 15:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":161797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:56:35] local.INFO: GPS data processed {"connection_id":161797,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:56:35] local.INFO: Acknowledgment sent {"connection_id":161797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:56:46] local.INFO: TCP Data received {"connection_id":163204,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:56:46] local.INFO: Processing buffer {"connection_id":163204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:56:46] local.INFO: IMEI packet received {"connection_id":163204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":163204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:56:51] local.INFO: TCP Data received {"connection_id":163204,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:56:51] local.INFO: Processing buffer {"connection_id":163204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:56:51] local.INFO: IMEI packet received {"connection_id":163204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":163204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:56:53] local.INFO: TCP Data received {"connection_id":163204,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02e26e0d8012d34c50006aa40980011008520..."} 
[2026-08-23 15:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e26e0d8012d34c50006aa40980011008520..."} 
[2026-08-23 15:56:53] local.INFO: Processing buffer {"connection_id":163204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e26e0d8012d34c50006aa40980011008520..."} 
[2026-08-23 15:56:53] local.INFO: Packet analysis {"connection_id":163204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e26"} 
[2026-08-23 15:56:53] local.INFO: Extracted packet for processing {"connection_id":163204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e26"} 
[2026-08-23 15:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594980864001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787480695000,"timestamp_ms":1787480695000,"timestamp_seconds":1787480695,"priority":1,"record_length":96,"hex_timestamp":"000001a02e26e0d8"} 
[2026-08-23 15:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:56:53] 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-08-23 15:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:56:53] 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-08-23 15:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594980864001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594980864001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:56:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:56:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594980864001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":163204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:56:54] local.INFO: GPS data processed {"connection_id":163204,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:56:54] local.INFO: Acknowledgment sent {"connection_id":163204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:57:06] local.INFO: TCP Data received {"connection_id":161797,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e257590012d198b000720b1f0003800fd26..."} 
[2026-08-23 15:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e257590012d198b000720b1f0003800fd26..."} 
[2026-08-23 15:57:06] local.INFO: Processing buffer {"connection_id":161797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e257590012d198b000720b1f0003800fd26..."} 
[2026-08-23 15:57:06] local.INFO: Packet analysis {"connection_id":161797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e25"} 
[2026-08-23 15:57:06] local.INFO: Extracted packet for processing {"connection_id":161797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e25"} 
[2026-08-23 15:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 15:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595028736001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787480602000,"timestamp_ms":1787480602000,"timestamp_seconds":1787480602,"priority":1,"record_length":96,"hex_timestamp":"000001a02e257590"} 
[2026-08-23 15:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 15:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595028736001,"66":12319,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595028736001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:57:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 15:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595028736001,"power":12319,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 15:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":161797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:57:06] local.INFO: GPS data processed {"connection_id":161797,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:57:06] local.INFO: Acknowledgment sent {"connection_id":161797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:57:25] local.INFO: TCP Data received {"connection_id":163204,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02e26e0d8012d34c50006aa40980011008520..."} 
[2026-08-23 15:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e26e0d8012d34c50006aa40980011008520..."} 
[2026-08-23 15:57:25] local.INFO: Processing buffer {"connection_id":163204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e26e0d8012d34c50006aa40980011008520..."} 
[2026-08-23 15:57:25] local.INFO: Packet analysis {"connection_id":163204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e26"} 
[2026-08-23 15:57:25] local.INFO: Extracted packet for processing {"connection_id":163204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e26"} 
[2026-08-23 15:57:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594980864001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787480695000,"timestamp_ms":1787480695000,"timestamp_seconds":1787480695,"priority":1,"record_length":96,"hex_timestamp":"000001a02e26e0d8"} 
[2026-08-23 15:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:57:25] 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-08-23 15:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594980864001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594980864001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:57:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:57:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594980864001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":163204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:57:25] local.INFO: GPS data processed {"connection_id":163204,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:57:25] local.INFO: Acknowledgment sent {"connection_id":163204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:57:30] local.INFO: TCP Data received {"connection_id":160854,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:57:30] local.INFO: Processing buffer {"connection_id":160854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:57:30] local.INFO: IMEI packet received {"connection_id":160854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":160854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:57:30] local.INFO: TCP Data received {"connection_id":160854,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:57:30] local.INFO: Processing buffer {"connection_id":160854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:57:30] local.INFO: IMEI packet received {"connection_id":160854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":160854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:57:34] local.INFO: TCP Data received {"connection_id":160854,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:57:34] local.INFO: Processing buffer {"connection_id":160854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:57:34] local.INFO: IMEI packet received {"connection_id":160854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":160854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:57:35] local.INFO: TCP Data received {"connection_id":160854,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e25c798012d198b000720b1f0003800fd29..."} 
[2026-08-23 15:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e25c798012d198b000720b1f0003800fd29..."} 
[2026-08-23 15:57:35] local.INFO: Processing buffer {"connection_id":160854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e25c798012d198b000720b1f0003800fd29..."} 
[2026-08-23 15:57:35] local.INFO: Packet analysis {"connection_id":160854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e25"} 
[2026-08-23 15:57:35] local.INFO: Extracted packet for processing {"connection_id":160854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e25"} 
[2026-08-23 15:57:35] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":41,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 15:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595034112001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787480623000,"timestamp_ms":1787480623000,"timestamp_seconds":1787480623,"priority":1,"record_length":96,"hex_timestamp":"000001a02e25c798"} 
[2026-08-23 15:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 15:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595034112001,"66":12385,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595034112001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:57:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:57:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 15:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595034112001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 15:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":160854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:57:35] local.INFO: GPS data processed {"connection_id":160854,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:57:35] local.INFO: Acknowledgment sent {"connection_id":160854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:57:45] local.INFO: TCP Data received {"connection_id":160610,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:57:45] local.INFO: Processing buffer {"connection_id":160610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:57:45] local.INFO: IMEI packet received {"connection_id":160610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":160610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:57:51] local.INFO: TCP Data received {"connection_id":160610,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:57:51] local.INFO: Processing buffer {"connection_id":160610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:57:51] local.INFO: IMEI packet received {"connection_id":160610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":160610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:58:06] local.INFO: TCP Data received {"connection_id":160854,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2619a0012d198b000720b1f0003800fd28..."} 
[2026-08-23 15:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2619a0012d198b000720b1f0003800fd28..."} 
[2026-08-23 15:58:06] local.INFO: Processing buffer {"connection_id":160854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2619a0012d198b000720b1f0003800fd28..."} 
[2026-08-23 15:58:06] local.INFO: Packet analysis {"connection_id":160854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e26"} 
[2026-08-23 15:58:06] local.INFO: Extracted packet for processing {"connection_id":160854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e26"} 
[2026-08-23 15:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 15:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595039488001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787480644000,"timestamp_ms":1787480644000,"timestamp_seconds":1787480644,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2619a0"} 
[2026-08-23 15:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 15:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595039488001,"66":12385,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595039488001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:58:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 15:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595039488001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 15:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":160854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:58:06] local.INFO: GPS data processed {"connection_id":160854,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:58:06] local.INFO: Acknowledgment sent {"connection_id":160854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:58:13] local.INFO: TCP Data received {"connection_id":160610,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02e26e0d8012d34c50006aa40980011008520..."} 
[2026-08-23 15:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e26e0d8012d34c50006aa40980011008520..."} 
[2026-08-23 15:58:13] local.INFO: Processing buffer {"connection_id":160610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e26e0d8012d34c50006aa40980011008520..."} 
[2026-08-23 15:58:13] local.INFO: Packet analysis {"connection_id":160610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e26"} 
[2026-08-23 15:58:13] local.INFO: Extracted packet for processing {"connection_id":160610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e26"} 
[2026-08-23 15:58:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594980864001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787480695000,"timestamp_ms":1787480695000,"timestamp_seconds":1787480695,"priority":1,"record_length":96,"hex_timestamp":"000001a02e26e0d8"} 
[2026-08-23 15:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:58: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-08-23 15: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-08-23 15:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594980864001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594980864001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:58:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:58:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594980864001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":160610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:58:13] local.INFO: GPS data processed {"connection_id":160610,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:58:13] local.INFO: Acknowledgment sent {"connection_id":160610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:58:29] local.INFO: TCP Data received {"connection_id":161799,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:58:29] local.INFO: Processing buffer {"connection_id":161799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:58:29] local.INFO: IMEI packet received {"connection_id":161799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":161799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:58:33] local.INFO: TCP Data received {"connection_id":161799,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:58:33] local.INFO: Processing buffer {"connection_id":161799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:58:33] local.INFO: IMEI packet received {"connection_id":161799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":161799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:58:34] local.INFO: TCP Data received {"connection_id":161799,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:58:34] local.INFO: Processing buffer {"connection_id":161799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:58:34] local.INFO: IMEI packet received {"connection_id":161799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":161799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:58:34] local.INFO: TCP Data received {"connection_id":161799,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e266ba8012d198b000720b1f0003800fd27..."} 
[2026-08-23 15:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e266ba8012d198b000720b1f0003800fd27..."} 
[2026-08-23 15:58:34] local.INFO: Processing buffer {"connection_id":161799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e266ba8012d198b000720b1f0003800fd27..."} 
[2026-08-23 15:58:34] local.INFO: Packet analysis {"connection_id":161799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e26"} 
[2026-08-23 15:58:34] local.INFO: Extracted packet for processing {"connection_id":161799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e26"} 
[2026-08-23 15:58:34] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 15:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595044864001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787480665000,"timestamp_ms":1787480665000,"timestamp_seconds":1787480665,"priority":1,"record_length":96,"hex_timestamp":"000001a02e266ba8"} 
[2026-08-23 15:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 15:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595044864001,"66":12385,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595044864001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:58:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:58:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 15:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595044864001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 15:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":161799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:58:35] local.INFO: GPS data processed {"connection_id":161799,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:58:35] local.INFO: Acknowledgment sent {"connection_id":161799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:58:39] local.INFO: TCP Data received {"connection_id":161799,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e26bdb0012d198b000720b1f0003800fd28..."} 
[2026-08-23 15:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e26bdb0012d198b000720b1f0003800fd28..."} 
[2026-08-23 15:58:39] local.INFO: Processing buffer {"connection_id":161799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e26bdb0012d198b000720b1f0003800fd28..."} 
[2026-08-23 15:58:39] local.INFO: Packet analysis {"connection_id":161799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e26"} 
[2026-08-23 15:58:39] local.INFO: Extracted packet for processing {"connection_id":161799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e26"} 
[2026-08-23 15:58:39] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 15: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-08-23 15:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595050240001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787480686000,"timestamp_ms":1787480686000,"timestamp_seconds":1787480686,"priority":1,"record_length":96,"hex_timestamp":"000001a02e26bdb0"} 
[2026-08-23 15:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 15:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 15: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-08-23 15:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595050240001,"66":12374,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595050240001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:58:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:58:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 15:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595050240001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 15:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":161799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:58:40] local.INFO: GPS data processed {"connection_id":161799,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:58:40] local.INFO: Acknowledgment sent {"connection_id":161799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:58:45] local.INFO: TCP Data received {"connection_id":160855,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:58:45] local.INFO: Processing buffer {"connection_id":160855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:58:45] local.INFO: IMEI packet received {"connection_id":160855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":160855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:58:51] local.INFO: TCP Data received {"connection_id":160855,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:58:51] local.INFO: Processing buffer {"connection_id":160855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:58:51] local.INFO: IMEI packet received {"connection_id":160855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":160855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:58:52] local.INFO: TCP Data received {"connection_id":160855,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02e26e0d8012d34c50006aa40980011008520..."} 
[2026-08-23 15:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e26e0d8012d34c50006aa40980011008520..."} 
[2026-08-23 15:58:52] local.INFO: Processing buffer {"connection_id":160855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e26e0d8012d34c50006aa40980011008520..."} 
[2026-08-23 15:58:52] local.INFO: Packet analysis {"connection_id":160855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e26"} 
[2026-08-23 15:58:52] local.INFO: Extracted packet for processing {"connection_id":160855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e26"} 
[2026-08-23 15:58:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594980864001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787480695000,"timestamp_ms":1787480695000,"timestamp_seconds":1787480695,"priority":1,"record_length":96,"hex_timestamp":"000001a02e26e0d8"} 
[2026-08-23 15:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:58:52] 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-08-23 15:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:58: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-08-23 15:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594980864001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594980864001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:58:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:58:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594980864001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":160855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:58:52] local.INFO: GPS data processed {"connection_id":160855,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:58:52] local.INFO: Acknowledgment sent {"connection_id":160855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:59:11] local.INFO: TCP Data received {"connection_id":161799,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e270fb8012d198b000720b1f0003800fd27..."} 
[2026-08-23 15:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e270fb8012d198b000720b1f0003800fd27..."} 
[2026-08-23 15:59:11] local.INFO: Processing buffer {"connection_id":161799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e270fb8012d198b000720b1f0003800fd27..."} 
[2026-08-23 15:59:11] local.INFO: Packet analysis {"connection_id":161799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e27"} 
[2026-08-23 15:59:11] local.INFO: Extracted packet for processing {"connection_id":161799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e27"} 
[2026-08-23 15:59:11] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595055616001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787480707000,"timestamp_ms":1787480707000,"timestamp_seconds":1787480707,"priority":1,"record_length":96,"hex_timestamp":"000001a02e270fb8"} 
[2026-08-23 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-08-23 15:59: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-08-23 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 15:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 15:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595055616001,"66":12374,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595055616001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:59:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:59:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 15:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595055616001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 15:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":161799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:59:11] local.INFO: GPS data processed {"connection_id":161799,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:59:11] local.INFO: Acknowledgment sent {"connection_id":161799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:59:23] local.INFO: TCP Data received {"connection_id":160855,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02e26e0d8012d34c50006aa40980011008520..."} 
[2026-08-23 15:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e26e0d8012d34c50006aa40980011008520..."} 
[2026-08-23 15:59:23] local.INFO: Processing buffer {"connection_id":160855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e26e0d8012d34c50006aa40980011008520..."} 
[2026-08-23 15:59:23] local.INFO: Packet analysis {"connection_id":160855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e26"} 
[2026-08-23 15:59:23] local.INFO: Extracted packet for processing {"connection_id":160855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e26"} 
[2026-08-23 15:59:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594980864001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787480695000,"timestamp_ms":1787480695000,"timestamp_seconds":1787480695,"priority":1,"record_length":96,"hex_timestamp":"000001a02e26e0d8"} 
[2026-08-23 15:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:59:23] 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-08-23 15:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:59:23] 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-08-23 15:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594980864001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594980864001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:59:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:59:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594980864001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":160855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:59:23] local.INFO: GPS data processed {"connection_id":160855,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:59:23] local.INFO: Acknowledgment sent {"connection_id":160855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:59:34] local.INFO: TCP Data received {"connection_id":161800,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:59:34] local.INFO: Processing buffer {"connection_id":161800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:59:34] local.INFO: IMEI packet received {"connection_id":161800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 15:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":161800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:59:36] local.INFO: TCP Data received {"connection_id":161800,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:59:36] local.INFO: Processing buffer {"connection_id":161800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 15:59:36] local.INFO: IMEI packet received {"connection_id":161800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 15:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":161800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:59:37] local.INFO: TCP Data received {"connection_id":161800,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2761c0012d198b000720b1f0003800fd24..."} 
[2026-08-23 15:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2761c0012d198b000720b1f0003800fd24..."} 
[2026-08-23 15:59:37] local.INFO: Processing buffer {"connection_id":161800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2761c0012d198b000720b1f0003800fd24..."} 
[2026-08-23 15:59:37] local.INFO: Packet analysis {"connection_id":161800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e27"} 
[2026-08-23 15:59:37] local.INFO: Extracted packet for processing {"connection_id":161800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e27"} 
[2026-08-23 15:59:37] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595060992001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787480728000,"timestamp_ms":1787480728000,"timestamp_seconds":1787480728,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2761c0"} 
[2026-08-23 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-08-23 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-08-23 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 15:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 15:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595060992001,"66":11547,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595060992001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:59:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:59:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 15:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595060992001,"power":11547,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 15:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":161800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:59:37] local.INFO: GPS data processed {"connection_id":161800,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:59:37] local.INFO: Acknowledgment sent {"connection_id":161800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:59:39] local.INFO: TCP Data received {"connection_id":161801,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:59:39] local.INFO: Processing buffer {"connection_id":161801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 15:59:39] local.INFO: IMEI packet received {"connection_id":161801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 15:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":161801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:59:40] local.INFO: TCP Data received {"connection_id":161800,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e27b3c8012d198b000720b1f0003800fd28..."} 
[2026-08-23 15:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e27b3c8012d198b000720b1f0003800fd28..."} 
[2026-08-23 15:59:40] local.INFO: Processing buffer {"connection_id":161800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e27b3c8012d198b000720b1f0003800fd28..."} 
[2026-08-23 15:59:40] local.INFO: Packet analysis {"connection_id":161800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e27"} 
[2026-08-23 15:59:40] local.INFO: Extracted packet for processing {"connection_id":161800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e27"} 
[2026-08-23 15:59:40] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595066368001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 15:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 15:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787480749000,"timestamp_ms":1787480749000,"timestamp_seconds":1787480749,"priority":1,"record_length":96,"hex_timestamp":"000001a02e27b3c8"} 
[2026-08-23 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-08-23 15:59: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-08-23 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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-23 15:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 15:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 15:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 15:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 15:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595066368001,"66":12254,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 15:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 15:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 15:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595066368001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:59:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 15:59:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 15:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 15:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595066368001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 15:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":161800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:59:40] local.INFO: GPS data processed {"connection_id":161800,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:59:40] local.INFO: Acknowledgment sent {"connection_id":161800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:59:40] local.INFO: TCP Data received {"connection_id":161801,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2ad878012d7a488005e0f8880009010327..."} 
[2026-08-23 15:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2ad878012d7a488005e0f8880009010327..."} 
[2026-08-23 15:59:40] local.INFO: Processing buffer {"connection_id":161801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2ad878012d7a488005e0f8880009010327..."} 
[2026-08-23 15:59:40] local.INFO: Packet analysis {"connection_id":161801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2a"} 
[2026-08-23 15:59:40] local.INFO: Extracted packet for processing {"connection_id":161801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2a"} 
[2026-08-23 15:59:40] local.INFO: GPS Element Parsed {"raw_longitude":762988672,"raw_latitude":98629768,"longitude_deg":76.2988672,"latitude_deg":9.8629768,"altitude":9,"angle":259,"satellites":39,"speed":34,"hex_longitude":"2d7a4880","hex_latitude":"05e0f888","is_valid_coordinates":true} 
[2026-08-23 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-08-23 15:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595123200001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122723897299697664,"note":"Value kept but may cause issues"} 
[2026-08-23 15:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815866664571432960,"note":"Value kept but may cause issues"} 
[2026-08-23 15:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787480955000,"timestamp_ms":1787480955000,"timestamp_seconds":1787480955,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2ad878"} 
[2026-08-23 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-08-23 15:59: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-08-23 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-23 15:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 15:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 15:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 15:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 15:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 15:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595123200001,"66":13624,"217":206,"85":15104,"24":34,"16":122723897299697664,"45":8815866664571432960},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-23 15:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 15:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 15:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595123200001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:59:40] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 15:59:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 15:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122723897299697664,"km_value":122723897299697.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815866664571432960,"description":"Unknown IO ID 45"} 
[2026-08-23 15:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595123200001,"power":13624,"unknown_217":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8815866664571432960}} 
[2026-08-23 15:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":161801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:59:40] local.INFO: GPS data processed {"connection_id":161801,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:59:40] local.INFO: Acknowledgment sent {"connection_id":161801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 15:59:45] local.INFO: TCP Data received {"connection_id":160856,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:59:45] local.INFO: Processing buffer {"connection_id":160856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:59:45] local.INFO: IMEI packet received {"connection_id":160856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 15:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":160856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 15:59:51] local.INFO: TCP Data received {"connection_id":160856,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:59:51] local.INFO: Processing buffer {"connection_id":160856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 15:59:51] local.INFO: IMEI packet received {"connection_id":160856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 15:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":160856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 15:59:52] local.INFO: TCP Data received {"connection_id":160856,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02e26e0d8012d34c50006aa40980011008520..."} 
[2026-08-23 15:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e26e0d8012d34c50006aa40980011008520..."} 
[2026-08-23 15:59:52] local.INFO: Processing buffer {"connection_id":160856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e26e0d8012d34c50006aa40980011008520..."} 
[2026-08-23 15:59:52] local.INFO: Packet analysis {"connection_id":160856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e26"} 
[2026-08-23 15:59:52] local.INFO: Extracted packet for processing {"connection_id":160856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e26"} 
[2026-08-23 15:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 15:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 15:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594980864001,"note":"Value kept but may cause issues"} 
[2026-08-23 15:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 15:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 15:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 15:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787480695000,"timestamp_ms":1787480695000,"timestamp_seconds":1787480695,"priority":1,"record_length":96,"hex_timestamp":"000001a02e26e0d8"} 
[2026-08-23 15:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 15:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 15:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 15:59:52] 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-08-23 15:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 15:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 15:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 15:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 15:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 15:59:52] 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-08-23 15:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 15:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 15:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594980864001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 15:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 15:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 15:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594980864001,"description":"Unknown IO ID 0"} 
[2026-08-23 15:59:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 15:59:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 15:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 15:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 15:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594980864001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 15:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":160856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 15:59:52] local.INFO: GPS data processed {"connection_id":160856,"processed":1,"errors":0,"total":1} 
[2026-08-23 15:59:52] local.INFO: Acknowledgment sent {"connection_id":160856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:00:11] local.INFO: TCP Data received {"connection_id":161800,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2805d0012d198b000720b1f0003800fd23..."} 
[2026-08-23 16:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2805d0012d198b000720b1f0003800fd23..."} 
[2026-08-23 16:00:11] local.INFO: Processing buffer {"connection_id":161800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2805d0012d198b000720b1f0003800fd23..."} 
[2026-08-23 16:00:11] local.INFO: Packet analysis {"connection_id":161800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e28"} 
[2026-08-23 16:00:11] local.INFO: Extracted packet for processing {"connection_id":161800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e28"} 
[2026-08-23 16:00:11] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":35,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595071744001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787480770000,"timestamp_ms":1787480770000,"timestamp_seconds":1787480770,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2805d0"} 
[2026-08-23 16:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:00: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-08-23 16: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-23 16:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595071744001,"66":12298,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595071744001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:00:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:00:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 16:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595071744001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 16:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":161800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:00:11] local.INFO: GPS data processed {"connection_id":161800,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:00:11] local.INFO: Acknowledgment sent {"connection_id":161800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:00:11] local.INFO: TCP Data received {"connection_id":161801,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2ba398012d7a29c005e0e440000500b527..."} 
[2026-08-23 16:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2ba398012d7a29c005e0e440000500b527..."} 
[2026-08-23 16:00:11] local.INFO: Processing buffer {"connection_id":161801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2ba398012d7a29c005e0e440000500b527..."} 
[2026-08-23 16:00:11] local.INFO: Packet analysis {"connection_id":161801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:00:11] local.INFO: Extracted packet for processing {"connection_id":161801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:00:11] local.INFO: GPS Element Parsed {"raw_longitude":762980800,"raw_latitude":98624576,"longitude_deg":76.29808,"latitude_deg":9.8624576,"altitude":5,"angle":181,"satellites":39,"speed":5,"hex_longitude":"2d7a29c0","hex_latitude":"05e0e440","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595137280001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122724490005184512,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802778078152839168,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787481007000,"timestamp_ms":1787481007000,"timestamp_seconds":1787481007,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2ba398"} 
[2026-08-23 16:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-23 16:00:11] 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-08-23 16: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-08-23 16:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595137280001,"66":13091,"83":206,"87":12288,"24":5,"16":122724490005184512,"45":8802778078152839168},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-08-23 16:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595137280001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:00:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-23 16:00:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-23 16:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122724490005184512,"km_value":122724490005184.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802778078152839168,"description":"Unknown IO ID 45"} 
[2026-08-23 16:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595137280001,"power":13091,"unknown_83":206,"unknown_87":12288,"ignition":5,"odometer":null,"unknown_45":8802778078152839168}} 
[2026-08-23 16:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":161801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:00:11] local.INFO: GPS data processed {"connection_id":161801,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:00:11] local.INFO: Acknowledgment sent {"connection_id":161801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:00:23] local.INFO: TCP Data received {"connection_id":160856,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02e26e0d8012d34c50006aa40980011008520..."} 
[2026-08-23 16:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e26e0d8012d34c50006aa40980011008520..."} 
[2026-08-23 16:00:23] local.INFO: Processing buffer {"connection_id":160856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e26e0d8012d34c50006aa40980011008520..."} 
[2026-08-23 16:00:23] local.INFO: Packet analysis {"connection_id":160856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e26"} 
[2026-08-23 16:00:23] local.INFO: Extracted packet for processing {"connection_id":160856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e26"} 
[2026-08-23 16:00:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457594980864001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787480695000,"timestamp_ms":1787480695000,"timestamp_seconds":1787480695,"priority":1,"record_length":96,"hex_timestamp":"000001a02e26e0d8"} 
[2026-08-23 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-08-23 16:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:00:23] 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-08-23 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-08-23 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-08-23 16:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:00:23] 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-08-23 16:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457594980864001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457594980864001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:00:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:00:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457594980864001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":160856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:00:23] local.INFO: GPS data processed {"connection_id":160856,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:00:23] local.INFO: Acknowledgment sent {"connection_id":160856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:00:29] local.INFO: TCP Data received {"connection_id":163206,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:00:29] local.INFO: Processing buffer {"connection_id":163206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:00:29] local.INFO: IMEI packet received {"connection_id":163206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":163206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:00:34] local.INFO: TCP Data received {"connection_id":161802,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161802,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:00:34] local.INFO: Processing buffer {"connection_id":161802,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:00:34] local.INFO: IMEI packet received {"connection_id":161802,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":161802,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:00:34] local.INFO: TCP Data received {"connection_id":163206,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:00:34] local.INFO: Processing buffer {"connection_id":163206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:00:34] local.INFO: IMEI packet received {"connection_id":163206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":163206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:00:35] local.INFO: TCP Data received {"connection_id":163206,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2857d8012d198b000720b1f0003800fd24..."} 
[2026-08-23 16:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2857d8012d198b000720b1f0003800fd24..."} 
[2026-08-23 16:00:35] local.INFO: Processing buffer {"connection_id":163206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2857d8012d198b000720b1f0003800fd24..."} 
[2026-08-23 16:00:35] local.INFO: Packet analysis {"connection_id":163206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e28"} 
[2026-08-23 16:00:35] local.INFO: Extracted packet for processing {"connection_id":163206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e28"} 
[2026-08-23 16:00:35] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 16:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595077120001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787480791000,"timestamp_ms":1787480791000,"timestamp_seconds":1787480791,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2857d8"} 
[2026-08-23 16:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 16:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513606001874174205,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:35] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185655,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:35] local.WARNING: Large IO value detected {"io_id":116,"raw_value":7421932185906577409,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3325283355551668619,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:35] local.WARNING: Large IO value detected {"io_id":56,"raw_value":71257149572907008,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:35] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832599,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068469049786574,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:35] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2985295928,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-23 16:00:35] local.WARNING: Large IO value detected {"io_id":107,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:35] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,116,160,179,45,177,56,40,10,66,97,36,15,1,240,86,227,46,32,4,113,205,107,139,39,239,48,2,55,7,41],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-23 16:00:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035503592889647104,"timestamp_seconds":4035503592889647.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 16:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595077120001,"66":12298,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595077120001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:00:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:00:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 16:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595077120001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 16:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":163206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:00:35] local.INFO: GPS data processed {"connection_id":163206,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:00:35] local.INFO: Acknowledgment sent {"connection_id":163206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:00:39] local.INFO: TCP Data received {"connection_id":161802,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161802,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:00:39] local.INFO: Processing buffer {"connection_id":161802,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:00:39] local.INFO: IMEI packet received {"connection_id":161802,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":161802,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:00:40] local.INFO: TCP Data received {"connection_id":161802,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2ba780012d7a29c005e0e3c0000500c227..."} 
[2026-08-23 16:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2ba780012d7a29c005e0e3c0000500c227..."} 
[2026-08-23 16:00:40] local.INFO: Processing buffer {"connection_id":161802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2ba780012d7a29c005e0e3c0000500c227..."} 
[2026-08-23 16:00:40] local.INFO: Packet analysis {"connection_id":161802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:00:40] local.INFO: Extracted packet for processing {"connection_id":161802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:00:40] local.INFO: GPS Element Parsed {"raw_longitude":762980800,"raw_latitude":98624448,"longitude_deg":76.29808,"latitude_deg":9.8624448,"altitude":5,"angle":194,"satellites":39,"speed":4,"hex_longitude":"2d7a29c0","hex_latitude":"05e0e3c0","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595137792001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122724498595119104,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802778078152769536,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787481008000,"timestamp_ms":1787481008000,"timestamp_seconds":1787481008,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2ba780"} 
[2026-08-23 16:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-23 16:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595137792001,"66":13091,"83":206,"87":12288,"24":4,"16":122724498595119104,"45":8802778078152769536},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-08-23 16:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595137792001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:00:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-23 16:00:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-23 16:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122724498595119104,"km_value":122724498595119.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802778078152769536,"description":"Unknown IO ID 45"} 
[2026-08-23 16:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595137792001,"power":13091,"unknown_83":206,"unknown_87":12288,"ignition":4,"odometer":null,"unknown_45":8802778078152769536}} 
[2026-08-23 16:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":161802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:00:40] local.INFO: GPS data processed {"connection_id":161802,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:00:40] local.INFO: Acknowledgment sent {"connection_id":161802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:00:51] local.INFO: TCP Data received {"connection_id":161803,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:00:51] local.INFO: Processing buffer {"connection_id":161803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:00:51] local.INFO: IMEI packet received {"connection_id":161803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":161803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:00:56] local.INFO: TCP Data received {"connection_id":161803,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:00:56] local.INFO: Processing buffer {"connection_id":161803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:00:56] local.INFO: IMEI packet received {"connection_id":161803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":161803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:00:58] local.INFO: TCP Data received {"connection_id":161803,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:00:58] local.INFO: Processing buffer {"connection_id":161803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:00:58] local.INFO: Packet analysis {"connection_id":161803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:00:58] local.INFO: Extracted packet for processing {"connection_id":161803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:00:58] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595057920001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787480996000,"timestamp_ms":1787480996000,"timestamp_seconds":1787480996,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2b78a0"} 
[2026-08-23 16:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 16:00: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-08-23 16:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595057920001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595057920001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:00:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:00:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595057920001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":161803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:00:58] local.INFO: GPS data processed {"connection_id":161803,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:00:58] local.INFO: Acknowledgment sent {"connection_id":161803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:01:06] local.INFO: TCP Data received {"connection_id":163206,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e28a9e0012d198b000720b1f0003800fd27..."} 
[2026-08-23 16:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e28a9e0012d198b000720b1f0003800fd27..."} 
[2026-08-23 16:01:06] local.INFO: Processing buffer {"connection_id":163206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e28a9e0012d198b000720b1f0003800fd27..."} 
[2026-08-23 16:01:06] local.INFO: Packet analysis {"connection_id":163206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e28"} 
[2026-08-23 16:01:06] local.INFO: Extracted packet for processing {"connection_id":163206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e28"} 
[2026-08-23 16:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 16:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595082496001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787480812000,"timestamp_ms":1787480812000,"timestamp_seconds":1787480812,"priority":1,"record_length":96,"hex_timestamp":"000001a02e28a9e0"} 
[2026-08-23 16:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 16:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513606001874174205,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185655,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:06] local.WARNING: Large IO value detected {"io_id":116,"raw_value":7421932185906577409,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3325373549864884619,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:06] local.WARNING: Large IO value detected {"io_id":56,"raw_value":71256050061279232,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832599,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068469049786574,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:06] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2985295928,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-23 16:01:06] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:06] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,116,160,5,45,177,56,35,10,66,179,40,97,1,240,27,227,46,32,4,113,205,189,139,239,48,2,55,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-23 16:01:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035503597184614400,"timestamp_seconds":4035503597184614.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 16:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595082496001,"66":12298,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595082496001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:01:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 16:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595082496001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 16:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":163206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:01:06] local.INFO: GPS data processed {"connection_id":163206,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:01:06] local.INFO: Acknowledgment sent {"connection_id":163206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:01:11] local.INFO: TCP Data received {"connection_id":161802,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2bab68012d7a29c005e0e348000500d327..."} 
[2026-08-23 16:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2bab68012d7a29c005e0e348000500d327..."} 
[2026-08-23 16:01:11] local.INFO: Processing buffer {"connection_id":161802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2bab68012d7a29c005e0e348000500d327..."} 
[2026-08-23 16:01:11] local.INFO: Packet analysis {"connection_id":161802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:01:11] local.INFO: Extracted packet for processing {"connection_id":161802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:01:11] local.INFO: GPS Element Parsed {"raw_longitude":762980800,"raw_latitude":98624328,"longitude_deg":76.29808,"latitude_deg":9.8624328,"altitude":5,"angle":211,"satellites":39,"speed":5,"hex_longitude":"2d7a29c0","hex_latitude":"05e0e348","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595138048001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122724502890086400,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802778078152736768,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787481009000,"timestamp_ms":1787481009000,"timestamp_seconds":1787481009,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2bab68"} 
[2026-08-23 16:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-23 16:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595138048001,"66":12982,"83":206,"87":12288,"24":5,"16":122724502890086400,"45":8802778078152736768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-08-23 16:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595138048001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:01:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-23 16:01:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-23 16:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122724502890086400,"km_value":122724502890086.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802778078152736768,"description":"Unknown IO ID 45"} 
[2026-08-23 16:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595138048001,"power":12982,"unknown_83":206,"unknown_87":12288,"ignition":5,"odometer":null,"unknown_45":8802778078152736768}} 
[2026-08-23 16:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":161802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:01:12] local.INFO: GPS data processed {"connection_id":161802,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:01:12] local.INFO: Acknowledgment sent {"connection_id":161802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:01:29] local.INFO: TCP Data received {"connection_id":160857,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:01:29] local.INFO: Processing buffer {"connection_id":160857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:01:29] local.INFO: IMEI packet received {"connection_id":160857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":160857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:01:29] local.INFO: TCP Data received {"connection_id":161803,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:01:29] local.INFO: Processing buffer {"connection_id":161803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:01:29] local.INFO: Packet analysis {"connection_id":161803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:01:29] local.INFO: Extracted packet for processing {"connection_id":161803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:01:29] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595057920001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787480996000,"timestamp_ms":1787480996000,"timestamp_seconds":1787480996,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2b78a0"} 
[2026-08-23 16:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 16:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595057920001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595057920001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:01:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:01:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595057920001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":161803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:01:29] local.INFO: GPS data processed {"connection_id":161803,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:01:29] local.INFO: Acknowledgment sent {"connection_id":161803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:01:34] local.INFO: TCP Data received {"connection_id":160857,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:01:34] local.INFO: Processing buffer {"connection_id":160857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:01:34] local.INFO: IMEI packet received {"connection_id":160857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":160857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:01:35] local.INFO: TCP Data received {"connection_id":160857,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e28fbe8012d198b000720b1f0003800fd27..."} 
[2026-08-23 16:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e28fbe8012d198b000720b1f0003800fd27..."} 
[2026-08-23 16:01:35] local.INFO: Processing buffer {"connection_id":160857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e28fbe8012d198b000720b1f0003800fd27..."} 
[2026-08-23 16:01:35] local.INFO: Packet analysis {"connection_id":160857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e28"} 
[2026-08-23 16:01:35] local.INFO: Extracted packet for processing {"connection_id":160857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e28"} 
[2026-08-23 16:01:35] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 16:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595087872001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787480833000,"timestamp_ms":1787480833000,"timestamp_seconds":1787480833,"priority":1,"record_length":96,"hex_timestamp":"000001a02e28fbe8"} 
[2026-08-23 16:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 16:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513606001874174205,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:35] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185655,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:35] local.WARNING: Large IO value detected {"io_id":116,"raw_value":7421932185906577409,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3325463744178100619,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:35] local.WARNING: Large IO value detected {"io_id":56,"raw_value":71257149572907008,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:35] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832599,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972244305969358,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:35] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2985295928,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-23 16:01:35] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:35] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,103,83,24,241,157,16,116,160,87,45,177,56,36,10,66,5,35,179,1,240,222,227,46,32,4,113,205,15,139,39,239,48,2,55,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-23 16:01:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035503610069516288,"timestamp_seconds":4035503610069516.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 16:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595087872001,"66":12385,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595087872001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:01:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:01:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 16:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595087872001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 16:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":160857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:01:35] local.INFO: GPS data processed {"connection_id":160857,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:01:35] local.INFO: Acknowledgment sent {"connection_id":160857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:01:39] local.INFO: TCP Data received {"connection_id":160612,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:01:39] local.INFO: Processing buffer {"connection_id":160612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:01:39] local.INFO: IMEI packet received {"connection_id":160612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":160612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:01:44] local.INFO: TCP Data received {"connection_id":160612,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:01:44] local.INFO: Processing buffer {"connection_id":160612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:01:44] local.INFO: IMEI packet received {"connection_id":160612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":160612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:01:45] local.INFO: TCP Data received {"connection_id":160612,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2bc6c0012d7a29c005e0e3080005000028..."} 
[2026-08-23 16:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2bc6c0012d7a29c005e0e3080005000028..."} 
[2026-08-23 16:01:45] local.INFO: Processing buffer {"connection_id":160612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2bc6c0012d7a29c005e0e3080005000028..."} 
[2026-08-23 16:01:45] local.INFO: Packet analysis {"connection_id":160612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:01:45] local.INFO: Extracted packet for processing {"connection_id":160612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:01:45] local.INFO: GPS Element Parsed {"raw_longitude":762980800,"raw_latitude":98624264,"longitude_deg":76.29808,"latitude_deg":9.8624264,"altitude":5,"angle":0,"satellites":40,"speed":2,"hex_longitude":"2d7a29c0","hex_latitude":"05e0e308","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595138304001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122724520069955584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802778078152706048,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787481016000,"timestamp_ms":1787481016000,"timestamp_seconds":1787481016,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2bc6c0"} 
[2026-08-23 16:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:01: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-08-23 16:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 16:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595138304001,"66":13396,"83":206,"87":12288,"24":2,"16":122724520069955584,"45":8802778078152706048},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-08-23 16:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595138304001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:01:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-23 16:01:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-23 16:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122724520069955584,"km_value":122724520069955.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802778078152706048,"description":"Unknown IO ID 45"} 
[2026-08-23 16:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595138304001,"power":13396,"unknown_83":206,"unknown_87":12288,"ignition":2,"odometer":null,"unknown_45":8802778078152706048}} 
[2026-08-23 16:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":160612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:01:45] local.INFO: GPS data processed {"connection_id":160612,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:01:45] local.INFO: Acknowledgment sent {"connection_id":160612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:01:45] local.INFO: TCP Data received {"connection_id":163207,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:01:45] local.INFO: Processing buffer {"connection_id":163207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:01:45] local.INFO: IMEI packet received {"connection_id":163207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":163207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:01:46] local.INFO: TCP Data received {"connection_id":160612,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2bce90012d7a2a0005e0e3880005000f27..."} 
[2026-08-23 16:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2bce90012d7a2a0005e0e3880005000f27..."} 
[2026-08-23 16:01:46] local.INFO: Processing buffer {"connection_id":160612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2bce90012d7a2a0005e0e3880005000f27..."} 
[2026-08-23 16:01:46] local.INFO: Packet analysis {"connection_id":160612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:01:46] local.INFO: Extracted packet for processing {"connection_id":160612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:01:46] local.INFO: GPS Element Parsed {"raw_longitude":762980864,"raw_latitude":98624392,"longitude_deg":76.2980864,"latitude_deg":9.8624392,"altitude":5,"angle":15,"satellites":39,"speed":2,"hex_longitude":"2d7a2a00","hex_latitude":"05e0e388","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595140096001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122724528659890176,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802778078152689664,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787481018000,"timestamp_ms":1787481018000,"timestamp_seconds":1787481018,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2bce90"} 
[2026-08-23 16:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:01: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-08-23 16: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-23 16:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595140096001,"66":13396,"83":206,"87":12288,"24":2,"16":122724528659890176,"45":8802778078152689664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-08-23 16:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595140096001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-23 16:01:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-23 16:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122724528659890176,"km_value":122724528659890.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802778078152689664,"description":"Unknown IO ID 45"} 
[2026-08-23 16:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595140096001,"power":13396,"unknown_83":206,"unknown_87":12288,"ignition":2,"odometer":null,"unknown_45":8802778078152689664}} 
[2026-08-23 16:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":160612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:01:46] local.INFO: GPS data processed {"connection_id":160612,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:01:46] local.INFO: Acknowledgment sent {"connection_id":160612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:01:51] local.INFO: TCP Data received {"connection_id":163207,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:01:51] local.INFO: Processing buffer {"connection_id":163207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:01:51] local.INFO: IMEI packet received {"connection_id":163207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":163207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:01:52] local.INFO: TCP Data received {"connection_id":163207,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:01:52] local.INFO: Processing buffer {"connection_id":163207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:01:52] local.INFO: Packet analysis {"connection_id":163207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:01:52] local.INFO: Extracted packet for processing {"connection_id":163207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595057920001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787480996000,"timestamp_ms":1787480996000,"timestamp_seconds":1787480996,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2b78a0"} 
[2026-08-23 16:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 16:01:52] 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-08-23 16:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:01:52] 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-08-23 16:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595057920001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595057920001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:01:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595057920001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":163207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:01:52] local.INFO: GPS data processed {"connection_id":163207,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:01:52] local.INFO: Acknowledgment sent {"connection_id":163207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:02:06] local.INFO: TCP Data received {"connection_id":160857,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e294df0012d198b000720b1f0003800fd28..."} 
[2026-08-23 16:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e294df0012d198b000720b1f0003800fd28..."} 
[2026-08-23 16:02:06] local.INFO: Processing buffer {"connection_id":160857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e294df0012d198b000720b1f0003800fd28..."} 
[2026-08-23 16:02:06] local.INFO: Packet analysis {"connection_id":160857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e29"} 
[2026-08-23 16:02:06] local.INFO: Extracted packet for processing {"connection_id":160857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e29"} 
[2026-08-23 16:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 16:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595093248001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787480854000,"timestamp_ms":1787480854000,"timestamp_seconds":1787480854,"priority":1,"record_length":96,"hex_timestamp":"000001a02e294df0"} 
[2026-08-23 16:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 16:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595093248001,"66":12385,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595093248001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:02:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 16:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595093248001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 16:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":160857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:02:06] local.INFO: GPS data processed {"connection_id":160857,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:02:06] local.INFO: Acknowledgment sent {"connection_id":160857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:02:17] local.INFO: TCP Data received {"connection_id":160612,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2d8be0012d7a2ac005e0f4280001000229..."} 
[2026-08-23 16:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2d8be0012d7a2ac005e0f4280001000229..."} 
[2026-08-23 16:02:17] local.INFO: Processing buffer {"connection_id":160612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2d8be0012d7a2ac005e0f4280001000229..."} 
[2026-08-23 16:02:17] local.INFO: Packet analysis {"connection_id":160612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2d"} 
[2026-08-23 16:02:17] local.INFO: Extracted packet for processing {"connection_id":160612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2d"} 
[2026-08-23 16:02:17] local.INFO: GPS Element Parsed {"raw_longitude":762981056,"raw_latitude":98628648,"longitude_deg":76.2981056,"latitude_deg":9.8628648,"altitude":1,"angle":2,"satellites":41,"speed":8,"hex_longitude":"2d7a2ac0","hex_latitude":"05e0f428","is_valid_coordinates":true} 
[2026-08-23 16:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595168768001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122724769178058752,"note":"Value kept but may cause issues"} 
[2026-08-23 16:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803129921874470912,"note":"Value kept but may cause issues"} 
[2026-08-23 16:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787481132000,"timestamp_ms":1787481132000,"timestamp_seconds":1787481132,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2d8be0"} 
[2026-08-23 16:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:02: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-08-23 16:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 16:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595168768001,"66":13254,"83":206,"87":12288,"24":8,"16":122724769178058752,"45":8803129921874470912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-08-23 16:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595168768001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:02:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-23 16:02:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-23 16:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122724769178058752,"km_value":122724769178058.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803129921874470912,"description":"Unknown IO ID 45"} 
[2026-08-23 16:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595168768001,"power":13254,"unknown_83":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8803129921874470912}} 
[2026-08-23 16:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":160612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:02:17] local.INFO: GPS data processed {"connection_id":160612,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:02:17] local.INFO: Acknowledgment sent {"connection_id":160612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:02:23] local.INFO: TCP Data received {"connection_id":163207,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:02:23] local.INFO: Processing buffer {"connection_id":163207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:02:23] local.INFO: Packet analysis {"connection_id":163207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:02:23] local.INFO: Extracted packet for processing {"connection_id":163207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:02:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595057920001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787480996000,"timestamp_ms":1787480996000,"timestamp_seconds":1787480996,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2b78a0"} 
[2026-08-23 16:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 16:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:02:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:02:23] 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-08-23 16:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595057920001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595057920001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:02:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:02:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595057920001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":163207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:02:23] local.INFO: GPS data processed {"connection_id":163207,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:02:23] local.INFO: Acknowledgment sent {"connection_id":163207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:02:29] local.INFO: TCP Data received {"connection_id":160613,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:02:29] local.INFO: Processing buffer {"connection_id":160613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:02:29] local.INFO: IMEI packet received {"connection_id":160613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":160613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:02:34] local.INFO: TCP Data received {"connection_id":160613,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:02:34] local.INFO: Processing buffer {"connection_id":160613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:02:34] local.INFO: IMEI packet received {"connection_id":160613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":160613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:02:35] local.INFO: TCP Data received {"connection_id":160613,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e299ff8012d198b000720b1f0003800fd28..."} 
[2026-08-23 16:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e299ff8012d198b000720b1f0003800fd28..."} 
[2026-08-23 16:02:35] local.INFO: Processing buffer {"connection_id":160613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e299ff8012d198b000720b1f0003800fd28..."} 
[2026-08-23 16:02:35] local.INFO: Packet analysis {"connection_id":160613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e29"} 
[2026-08-23 16:02:35] local.INFO: Extracted packet for processing {"connection_id":160613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e29"} 
[2026-08-23 16:02:35] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 16:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595098624001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787480875000,"timestamp_ms":1787480875000,"timestamp_seconds":1787480875,"priority":1,"record_length":96,"hex_timestamp":"000001a02e299ff8"} 
[2026-08-23 16:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 16:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595098624001,"66":12374,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595098624001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:02:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:02:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 16:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595098624001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 16:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":160613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:02:35] local.INFO: GPS data processed {"connection_id":160613,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:02:35] local.INFO: Acknowledgment sent {"connection_id":160613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:02:35] local.INFO: TCP Data received {"connection_id":163208,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:02:35] local.INFO: Processing buffer {"connection_id":163208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:02:35] local.INFO: IMEI packet received {"connection_id":163208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":163208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:02:37] local.INFO: TCP Data received {"connection_id":163208,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:02:37] local.INFO: Processing buffer {"connection_id":163208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:02:37] local.INFO: IMEI packet received {"connection_id":163208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":163208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:02:38] local.INFO: TCP Data received {"connection_id":163208,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2d93b0012d7a2b0005e0f5c80002001c29..."} 
[2026-08-23 16:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2d93b0012d7a2b0005e0f5c80002001c29..."} 
[2026-08-23 16:02:38] local.INFO: Processing buffer {"connection_id":163208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2d93b0012d7a2b0005e0f5c80002001c29..."} 
[2026-08-23 16:02:38] local.INFO: Packet analysis {"connection_id":163208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2d"} 
[2026-08-23 16:02:38] local.INFO: Extracted packet for processing {"connection_id":163208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2d"} 
[2026-08-23 16:02:38] local.INFO: GPS Element Parsed {"raw_longitude":762981120,"raw_latitude":98629064,"longitude_deg":76.298112,"latitude_deg":9.8629064,"altitude":2,"angle":28,"satellites":41,"speed":9,"hex_longitude":"2d7a2b00","hex_latitude":"05e0f5c8","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595169792001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122724790652895232,"note":"Value kept but may cause issues"} 
[2026-08-23 16:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803059553130522624,"note":"Value kept but may cause issues"} 
[2026-08-23 16:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787481134000,"timestamp_ms":1787481134000,"timestamp_seconds":1787481134,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2d93b0"} 
[2026-08-23 16:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-23 16:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595169792001,"66":12015,"83":206,"87":12288,"24":9,"16":122724790652895232,"45":8803059553130522624},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-08-23 16:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595169792001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:02:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-23 16:02:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-23 16:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122724790652895232,"km_value":122724790652895.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803059553130522624,"description":"Unknown IO ID 45"} 
[2026-08-23 16:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595169792001,"power":12015,"unknown_83":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8803059553130522624}} 
[2026-08-23 16:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":163208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:02:38] local.INFO: GPS data processed {"connection_id":163208,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:02:38] local.INFO: Acknowledgment sent {"connection_id":163208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:02:39] local.INFO: TCP Data received {"connection_id":163208,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2d9798012d7a2b8005e0f6880002002e29..."} 
[2026-08-23 16:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2d9798012d7a2b8005e0f6880002002e29..."} 
[2026-08-23 16:02:39] local.INFO: Processing buffer {"connection_id":163208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2d9798012d7a2b8005e0f6880002002e29..."} 
[2026-08-23 16:02:39] local.INFO: Packet analysis {"connection_id":163208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2d"} 
[2026-08-23 16:02:39] local.INFO: Extracted packet for processing {"connection_id":163208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2d"} 
[2026-08-23 16:02:39] local.INFO: GPS Element Parsed {"raw_longitude":762981248,"raw_latitude":98629256,"longitude_deg":76.2981248,"latitude_deg":9.8629256,"altitude":2,"angle":46,"satellites":41,"speed":10,"hex_longitude":"2d7a2b80","hex_latitude":"05e0f688","is_valid_coordinates":true} 
[2026-08-23 16:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595170304001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122724799242829824,"note":"Value kept but may cause issues"} 
[2026-08-23 16:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803129921874806784,"note":"Value kept but may cause issues"} 
[2026-08-23 16:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787481135000,"timestamp_ms":1787481135000,"timestamp_seconds":1787481135,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2d9798"} 
[2026-08-23 16:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-23 16:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595170304001,"66":12015,"83":206,"87":12288,"24":10,"16":122724799242829824,"45":8803129921874806784},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-08-23 16:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595170304001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:02:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-23 16:02:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-23 16:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122724799242829824,"km_value":122724799242829.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803129921874806784,"description":"Unknown IO ID 45"} 
[2026-08-23 16:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595170304001,"power":12015,"unknown_83":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8803129921874806784}} 
[2026-08-23 16:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":163208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:02:39] local.INFO: GPS data processed {"connection_id":163208,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:02:39] local.INFO: Acknowledgment sent {"connection_id":163208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:02:45] local.INFO: TCP Data received {"connection_id":163209,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:02:45] local.INFO: Processing buffer {"connection_id":163209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:02:45] local.INFO: IMEI packet received {"connection_id":163209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":163209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:02:51] local.INFO: TCP Data received {"connection_id":163209,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:02:51] local.INFO: Processing buffer {"connection_id":163209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:02:51] local.INFO: IMEI packet received {"connection_id":163209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":163209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:02:53] local.INFO: TCP Data received {"connection_id":163209,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:02:53] local.INFO: Processing buffer {"connection_id":163209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:02:53] local.INFO: Packet analysis {"connection_id":163209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:02:53] local.INFO: Extracted packet for processing {"connection_id":163209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:02:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595057920001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787480996000,"timestamp_ms":1787480996000,"timestamp_seconds":1787480996,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2b78a0"} 
[2026-08-23 16:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 16:02:53] 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-08-23 16:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595057920001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595057920001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:02:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:02:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595057920001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":163209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:02:53] local.INFO: GPS data processed {"connection_id":163209,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:02:53] local.INFO: Acknowledgment sent {"connection_id":163209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:03:06] local.INFO: TCP Data received {"connection_id":160613,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e29f200012d198b000720b1f0003800fd28..."} 
[2026-08-23 16:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e29f200012d198b000720b1f0003800fd28..."} 
[2026-08-23 16:03:06] local.INFO: Processing buffer {"connection_id":160613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e29f200012d198b000720b1f0003800fd28..."} 
[2026-08-23 16:03:06] local.INFO: Packet analysis {"connection_id":160613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e29"} 
[2026-08-23 16:03:06] local.INFO: Extracted packet for processing {"connection_id":160613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e29"} 
[2026-08-23 16:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 16:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595104000001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787480896000,"timestamp_ms":1787480896000,"timestamp_seconds":1787480896,"priority":1,"record_length":96,"hex_timestamp":"000001a02e29f200"} 
[2026-08-23 16:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 16:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595104000001,"66":12374,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595104000001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:03:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 16:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595104000001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 16:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":160613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:03:06] local.INFO: GPS data processed {"connection_id":160613,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:03:06] local.INFO: Acknowledgment sent {"connection_id":160613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:03:10] local.INFO: TCP Data received {"connection_id":163208,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2d9b80012d7a2c8005e0f6f00003004528..."} 
[2026-08-23 16:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2d9b80012d7a2c8005e0f6f00003004528..."} 
[2026-08-23 16:03:10] local.INFO: Processing buffer {"connection_id":163208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2d9b80012d7a2c8005e0f6f00003004528..."} 
[2026-08-23 16:03:10] local.INFO: Packet analysis {"connection_id":163208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2d"} 
[2026-08-23 16:03:10] local.INFO: Extracted packet for processing {"connection_id":163208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2d"} 
[2026-08-23 16:03:10] local.INFO: GPS Element Parsed {"raw_longitude":762981504,"raw_latitude":98629360,"longitude_deg":76.2981504,"latitude_deg":9.862936,"altitude":3,"angle":69,"satellites":40,"speed":8,"hex_longitude":"2d7a2c80","hex_latitude":"05e0f6f0","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595170560001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122724812127731712,"note":"Value kept but may cause issues"} 
[2026-08-23 16:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803270659363211264,"note":"Value kept but may cause issues"} 
[2026-08-23 16:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787481136000,"timestamp_ms":1787481136000,"timestamp_seconds":1787481136,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2d9b80"} 
[2026-08-23 16:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-23 16:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595170560001,"66":12015,"83":206,"87":12288,"24":8,"16":122724812127731712,"45":8803270659363211264},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,87,24,16,45]} 
[2026-08-23 16:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595170560001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:03:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-23 16:03:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-23 16:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122724812127731712,"km_value":122724812127731.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803270659363211264,"description":"Unknown IO ID 45"} 
[2026-08-23 16:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595170560001,"power":12015,"unknown_83":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8803270659363211264}} 
[2026-08-23 16:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":163208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:03:10] local.INFO: GPS data processed {"connection_id":163208,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:03:10] local.INFO: Acknowledgment sent {"connection_id":163208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:03:24] local.INFO: TCP Data received {"connection_id":163209,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:03:24] local.INFO: Processing buffer {"connection_id":163209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:03:24] local.INFO: Packet analysis {"connection_id":163209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:03:24] local.INFO: Extracted packet for processing {"connection_id":163209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:03:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595057920001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787480996000,"timestamp_ms":1787480996000,"timestamp_seconds":1787480996,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2b78a0"} 
[2026-08-23 16:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 16:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595057920001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595057920001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:03:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:03:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595057920001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":163209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:03:24] local.INFO: GPS data processed {"connection_id":163209,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:03:24] local.INFO: Acknowledgment sent {"connection_id":163209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:03:27] local.INFO: TCP Data received {"connection_id":160858,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:03:27] local.INFO: Processing buffer {"connection_id":160858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:03:27] local.INFO: IMEI packet received {"connection_id":160858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":160858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:03:29] local.INFO: TCP Data received {"connection_id":160858,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:03:30] local.INFO: Processing buffer {"connection_id":160858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:03:30] local.INFO: IMEI packet received {"connection_id":160858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":160858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:03:34] local.INFO: TCP Data received {"connection_id":160858,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:03:34] local.INFO: Processing buffer {"connection_id":160858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:03:34] local.INFO: IMEI packet received {"connection_id":160858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":160858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:03:35] local.INFO: TCP Data received {"connection_id":160859,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:03:35] local.INFO: Processing buffer {"connection_id":160859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:03:35] local.INFO: IMEI packet received {"connection_id":160859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":160859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:03:35] local.INFO: TCP Data received {"connection_id":160858,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2d7858012d198b000720b1f0003800fd28..."} 
[2026-08-23 16:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2d7858012d198b000720b1f0003800fd28..."} 
[2026-08-23 16:03:35] local.INFO: Processing buffer {"connection_id":160858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2d7858012d198b000720b1f0003800fd28..."} 
[2026-08-23 16:03:35] local.INFO: Packet analysis {"connection_id":160858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2d"} 
[2026-08-23 16:03:35] local.INFO: Extracted packet for processing {"connection_id":160858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2d"} 
[2026-08-23 16:03:35] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 16:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595163136001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787481127000,"timestamp_ms":1787481127000,"timestamp_seconds":1787481127,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2d7858"} 
[2026-08-23 16:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 16:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595163136001,"66":12374,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595163136001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:03:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:03:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 16:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595163136001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 16:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":160858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:03:35] local.INFO: GPS data processed {"connection_id":160858,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:03:35] local.INFO: Acknowledgment sent {"connection_id":160858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:03:35] local.INFO: TCP Data received {"connection_id":160859,"ip":"42.109.136.8","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 16:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160859,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 16:03:35] local.INFO: Processing buffer {"connection_id":160859,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 16:03:35] local.INFO: IMEI packet received {"connection_id":160859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":160859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:03:36] local.INFO: TCP Data received {"connection_id":160859,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:03:36] local.INFO: Processing buffer {"connection_id":160859,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 16:03:36] local.INFO: IMEI packet received {"connection_id":160859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":160859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:03:46] local.INFO: TCP Data received {"connection_id":160614,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:03:46] local.INFO: Processing buffer {"connection_id":160614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:03:46] local.INFO: IMEI packet received {"connection_id":160614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":160614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:03:51] local.INFO: TCP Data received {"connection_id":160614,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:03:51] local.INFO: Processing buffer {"connection_id":160614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:03:51] local.INFO: IMEI packet received {"connection_id":160614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":160614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:03:52] local.INFO: TCP Data received {"connection_id":160614,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:03:52] local.INFO: Processing buffer {"connection_id":160614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:03:52] local.INFO: Packet analysis {"connection_id":160614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:03:52] local.INFO: Extracted packet for processing {"connection_id":160614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:03:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595057920001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787480996000,"timestamp_ms":1787480996000,"timestamp_seconds":1787480996,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2b78a0"} 
[2026-08-23 16:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 16:03:52] 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-08-23 16:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:03:52] 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-08-23 16:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595057920001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595057920001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:03:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:03:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595057920001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":160614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:03:52] local.INFO: GPS data processed {"connection_id":160614,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:03:52] local.INFO: Acknowledgment sent {"connection_id":160614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:04:06] local.INFO: TCP Data received {"connection_id":160858,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2dca60012d198b000720b1f0003800fd28..."} 
[2026-08-23 16:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2dca60012d198b000720b1f0003800fd28..."} 
[2026-08-23 16:04:06] local.INFO: Processing buffer {"connection_id":160858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2dca60012d198b000720b1f0003800fd28..."} 
[2026-08-23 16:04:06] local.INFO: Packet analysis {"connection_id":160858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2d"} 
[2026-08-23 16:04:06] local.INFO: Extracted packet for processing {"connection_id":160858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2d"} 
[2026-08-23 16:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 16:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595168512001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787481148000,"timestamp_ms":1787481148000,"timestamp_seconds":1787481148,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2dca60"} 
[2026-08-23 16:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 16:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595168512001,"66":12287,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595168512001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:04:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 16:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595168512001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 16:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":160858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:04:06] local.INFO: GPS data processed {"connection_id":160858,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:04:06] local.INFO: Acknowledgment sent {"connection_id":160858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:04:23] local.INFO: TCP Data received {"connection_id":160614,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:04:23] local.INFO: Processing buffer {"connection_id":160614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:04:23] local.INFO: Packet analysis {"connection_id":160614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:04:23] local.INFO: Extracted packet for processing {"connection_id":160614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:04:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595057920001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787480996000,"timestamp_ms":1787480996000,"timestamp_seconds":1787480996,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2b78a0"} 
[2026-08-23 16:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 16:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:04:23] 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-08-23 16:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595057920001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595057920001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:04:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:04:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595057920001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":160614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:04:23] local.INFO: GPS data processed {"connection_id":160614,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:04:23] local.INFO: Acknowledgment sent {"connection_id":160614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:04:29] local.INFO: TCP Data received {"connection_id":161804,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:04:29] local.INFO: Processing buffer {"connection_id":161804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:04:29] local.INFO: IMEI packet received {"connection_id":161804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":161804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:04:30] local.INFO: TCP Data received {"connection_id":161804,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:04:30] local.INFO: Processing buffer {"connection_id":161804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:04:30] local.INFO: IMEI packet received {"connection_id":161804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":161804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:04:34] local.INFO: TCP Data received {"connection_id":161804,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:04:34] local.INFO: Processing buffer {"connection_id":161804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:04:34] local.INFO: IMEI packet received {"connection_id":161804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":161804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:04:35] local.INFO: TCP Data received {"connection_id":161804,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2e1c68012d198b000720b1f0003800fd28..."} 
[2026-08-23 16:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2e1c68012d198b000720b1f0003800fd28..."} 
[2026-08-23 16:04:35] local.INFO: Processing buffer {"connection_id":161804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2e1c68012d198b000720b1f0003800fd28..."} 
[2026-08-23 16:04:35] local.INFO: Packet analysis {"connection_id":161804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2e"} 
[2026-08-23 16:04:35] local.INFO: Extracted packet for processing {"connection_id":161804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2e"} 
[2026-08-23 16:04:35] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 16:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595173888001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787481169000,"timestamp_ms":1787481169000,"timestamp_seconds":1787481169,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2e1c68"} 
[2026-08-23 16:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 16:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595173888001,"66":12341,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595173888001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:04:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:04:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 16:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595173888001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 16:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":161804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:04:35] local.INFO: GPS data processed {"connection_id":161804,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:04:35] local.INFO: Acknowledgment sent {"connection_id":161804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:04:51] local.INFO: TCP Data received {"connection_id":160861,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:04:51] local.INFO: Processing buffer {"connection_id":160861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:04:51] local.INFO: IMEI packet received {"connection_id":160861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":160861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:04:56] local.INFO: TCP Data received {"connection_id":160861,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:04:56] local.INFO: Processing buffer {"connection_id":160861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:04:56] local.INFO: IMEI packet received {"connection_id":160861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":160861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:04:57] local.INFO: TCP Data received {"connection_id":160861,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:04:57] local.INFO: Processing buffer {"connection_id":160861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:04:57] local.INFO: Packet analysis {"connection_id":160861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:04:57] local.INFO: Extracted packet for processing {"connection_id":160861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:04:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595057920001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787480996000,"timestamp_ms":1787480996000,"timestamp_seconds":1787480996,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2b78a0"} 
[2026-08-23 16:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 16:04: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-08-23 16:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595057920001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595057920001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:04:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:04:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595057920001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":160861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:04:57] local.INFO: GPS data processed {"connection_id":160861,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:04:57] local.INFO: Acknowledgment sent {"connection_id":160861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:05:01] local.INFO: TCP Data received {"connection_id":160861,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:05:01] local.INFO: Processing buffer {"connection_id":160861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2b78a0012d34c50006aa40980011008522..."} 
[2026-08-23 16:05:01] local.INFO: Packet analysis {"connection_id":160861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:05:01] local.INFO: Extracted packet for processing {"connection_id":160861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2b"} 
[2026-08-23 16:05:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":17,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595057920001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787480996000,"timestamp_ms":1787480996000,"timestamp_seconds":1787480996,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2b78a0"} 
[2026-08-23 16:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 16:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595057920001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595057920001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:05:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:05:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595057920001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":160861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:05:01] local.INFO: GPS data processed {"connection_id":160861,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:05:01] local.INFO: Acknowledgment sent {"connection_id":160861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:05:06] local.INFO: TCP Data received {"connection_id":161804,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2e6e70012d198b000720b1f0003800fd27..."} 
[2026-08-23 16:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2e6e70012d198b000720b1f0003800fd27..."} 
[2026-08-23 16:05:06] local.INFO: Processing buffer {"connection_id":161804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2e6e70012d198b000720b1f0003800fd27..."} 
[2026-08-23 16:05:06] local.INFO: Packet analysis {"connection_id":161804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2e"} 
[2026-08-23 16:05:06] local.INFO: Extracted packet for processing {"connection_id":161804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2e"} 
[2026-08-23 16:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 16:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595179264001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787481190000,"timestamp_ms":1787481190000,"timestamp_seconds":1787481190,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2e6e70"} 
[2026-08-23 16:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 16:05:06] 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-08-23 16:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595179264001,"66":12341,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595179264001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:05:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 16:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595179264001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 16:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":161804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:05:06] local.INFO: GPS data processed {"connection_id":161804,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:05:06] local.INFO: Acknowledgment sent {"connection_id":161804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:05:29] local.INFO: TCP Data received {"connection_id":163210,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:05:29] local.INFO: Processing buffer {"connection_id":163210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:05:29] local.INFO: IMEI packet received {"connection_id":163210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":163210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:05:33] local.INFO: TCP Data received {"connection_id":163210,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:05:33] local.INFO: Processing buffer {"connection_id":163210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:05:33] local.INFO: IMEI packet received {"connection_id":163210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":163210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:05:34] local.INFO: TCP Data received {"connection_id":163210,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2ec078012d198b000720b1f0003800fd25..."} 
[2026-08-23 16:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2ec078012d198b000720b1f0003800fd25..."} 
[2026-08-23 16:05:34] local.INFO: Processing buffer {"connection_id":163210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2ec078012d198b000720b1f0003800fd25..."} 
[2026-08-23 16:05:34] local.INFO: Packet analysis {"connection_id":163210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2e"} 
[2026-08-23 16:05:34] local.INFO: Extracted packet for processing {"connection_id":163210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2e"} 
[2026-08-23 16:05:34] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 16:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595184640001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787481211000,"timestamp_ms":1787481211000,"timestamp_seconds":1787481211,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2ec078"} 
[2026-08-23 16:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 16:05:34] 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-08-23 16:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595184640001,"66":12298,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595184640001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:05:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:05:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 16:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595184640001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 16:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":163210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:05:34] local.INFO: GPS data processed {"connection_id":163210,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:05:34] local.INFO: Acknowledgment sent {"connection_id":163210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:05:46] local.INFO: TCP Data received {"connection_id":160863,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:05:46] local.INFO: Processing buffer {"connection_id":160863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:05:46] local.INFO: IMEI packet received {"connection_id":160863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":160863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:05:51] local.INFO: TCP Data received {"connection_id":160863,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:05:51] local.INFO: Processing buffer {"connection_id":160863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:05:51] local.INFO: IMEI packet received {"connection_id":160863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":160863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:05:52] local.INFO: TCP Data received {"connection_id":160863,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:05:52] local.INFO: Processing buffer {"connection_id":160863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:05:52] local.INFO: Packet analysis {"connection_id":160863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:05:52] local.INFO: Extracted packet for processing {"connection_id":160863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595134976001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787481297000,"timestamp_ms":1787481297000,"timestamp_seconds":1787481297,"priority":1,"record_length":96,"hex_timestamp":"000001a02e301068"} 
[2026-08-23 16:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:05:52] 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-08-23 16:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595134976001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595134976001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:05:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:05:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595134976001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":160863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:05:52] local.INFO: GPS data processed {"connection_id":160863,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:05:52] local.INFO: Acknowledgment sent {"connection_id":160863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:06:05] local.INFO: TCP Data received {"connection_id":163210,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2f1280012d198b000720b1f0003800fd27..."} 
[2026-08-23 16:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2f1280012d198b000720b1f0003800fd27..."} 
[2026-08-23 16:06:05] local.INFO: Processing buffer {"connection_id":163210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2f1280012d198b000720b1f0003800fd27..."} 
[2026-08-23 16:06:05] local.INFO: Packet analysis {"connection_id":163210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2f"} 
[2026-08-23 16:06:05] local.INFO: Extracted packet for processing {"connection_id":163210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2f"} 
[2026-08-23 16:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":39,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 16:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595190016001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787481232000,"timestamp_ms":1787481232000,"timestamp_seconds":1787481232,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2f1280"} 
[2026-08-23 16:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 16:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513606001874174205,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:05] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185655,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:05] local.WARNING: Large IO value detected {"io_id":116,"raw_value":7421932185906577409,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3327177436129204619,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:05] local.WARNING: Large IO value detected {"io_id":56,"raw_value":71254950549651456,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832600,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:05] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972244305969358,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:05] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":24577,"corrected_to":0} 
[2026-08-23 16:06:05] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2985295928,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-23 16:06:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,116,160,110,45,177,56,39,10,66,28,40,202,1,240,255,227,46,32,4,113,205,38,139,35,239,48,2,55,7,36],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":202,"original":24577,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-23 16:06:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035503601479581696,"timestamp_seconds":4035503601479581.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 16:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595190016001,"66":11602,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595190016001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:06:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 16:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595190016001,"power":11602,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 16:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":163210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:06:05] local.INFO: GPS data processed {"connection_id":163210,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:06:05] local.INFO: Acknowledgment sent {"connection_id":163210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:06:23] local.INFO: TCP Data received {"connection_id":160863,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:06:23] local.INFO: Processing buffer {"connection_id":160863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:06:23] local.INFO: Packet analysis {"connection_id":160863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:06:23] local.INFO: Extracted packet for processing {"connection_id":160863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:06:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595134976001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787481297000,"timestamp_ms":1787481297000,"timestamp_seconds":1787481297,"priority":1,"record_length":96,"hex_timestamp":"000001a02e301068"} 
[2026-08-23 16:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:06:23] 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-08-23 16:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595134976001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595134976001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:06:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:06:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595134976001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":160863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:06:24] local.INFO: GPS data processed {"connection_id":160863,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:06:24] local.INFO: Acknowledgment sent {"connection_id":160863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:06:34] local.INFO: TCP Data received {"connection_id":161805,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:06:34] local.INFO: Processing buffer {"connection_id":161805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:06:34] local.INFO: IMEI packet received {"connection_id":161805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":161805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:06:36] local.INFO: TCP Data received {"connection_id":161805,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:06:36] local.INFO: Processing buffer {"connection_id":161805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:06:36] local.INFO: IMEI packet received {"connection_id":161805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":161805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:06:37] local.INFO: TCP Data received {"connection_id":161805,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2f6488012d198b000720b1f0003800fd25..."} 
[2026-08-23 16:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2f6488012d198b000720b1f0003800fd25..."} 
[2026-08-23 16:06:37] local.INFO: Processing buffer {"connection_id":161805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2f6488012d198b000720b1f0003800fd25..."} 
[2026-08-23 16:06:37] local.INFO: Packet analysis {"connection_id":161805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2f"} 
[2026-08-23 16:06:37] local.INFO: Extracted packet for processing {"connection_id":161805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2f"} 
[2026-08-23 16:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 16:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595195392001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787481253000,"timestamp_ms":1787481253000,"timestamp_seconds":1787481253,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2f6488"} 
[2026-08-23 16:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:06: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-08-23 16:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-23 16:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595195392001,"66":12385,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595195392001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:06:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:06:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 16:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595195392001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 16:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":161805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:06:37] local.INFO: GPS data processed {"connection_id":161805,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:06:37] local.INFO: Acknowledgment sent {"connection_id":161805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:06:40] local.INFO: TCP Data received {"connection_id":161805,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e2fb690012d198b000720b1f0003800fd26..."} 
[2026-08-23 16:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e2fb690012d198b000720b1f0003800fd26..."} 
[2026-08-23 16:06:40] local.INFO: Processing buffer {"connection_id":161805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e2fb690012d198b000720b1f0003800fd26..."} 
[2026-08-23 16:06:40] local.INFO: Packet analysis {"connection_id":161805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e2f"} 
[2026-08-23 16:06:40] local.INFO: Extracted packet for processing {"connection_id":161805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e2f"} 
[2026-08-23 16:06:40] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":38,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595200768001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787481274000,"timestamp_ms":1787481274000,"timestamp_seconds":1787481274,"priority":1,"record_length":96,"hex_timestamp":"000001a02e2fb690"} 
[2026-08-23 16:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 16:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595200768001,"66":12374,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595200768001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:06:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:06:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 16:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595200768001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 16:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":161805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:06:40] local.INFO: GPS data processed {"connection_id":161805,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:06:40] local.INFO: Acknowledgment sent {"connection_id":161805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:06:45] local.INFO: TCP Data received {"connection_id":163211,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:06:45] local.INFO: Processing buffer {"connection_id":163211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:06:45] local.INFO: IMEI packet received {"connection_id":163211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":163211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:06:51] local.INFO: TCP Data received {"connection_id":163211,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:06:51] local.INFO: Processing buffer {"connection_id":163211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:06:51] local.INFO: IMEI packet received {"connection_id":163211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":163211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:06:52] local.INFO: TCP Data received {"connection_id":163211,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:06:52] local.INFO: Processing buffer {"connection_id":163211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:06:52] local.INFO: Packet analysis {"connection_id":163211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:06:52] local.INFO: Extracted packet for processing {"connection_id":163211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:06: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-08-23 16:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595134976001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787481297000,"timestamp_ms":1787481297000,"timestamp_seconds":1787481297,"priority":1,"record_length":96,"hex_timestamp":"000001a02e301068"} 
[2026-08-23 16:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:06: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-08-23 16:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:06: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-08-23 16:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595134976001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595134976001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:06:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595134976001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":163211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:06:52] local.INFO: GPS data processed {"connection_id":163211,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:06:52] local.INFO: Acknowledgment sent {"connection_id":163211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:07:11] local.INFO: TCP Data received {"connection_id":161805,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e300898012d198b000720b1f0003800fd28..."} 
[2026-08-23 16:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e300898012d198b000720b1f0003800fd28..."} 
[2026-08-23 16:07:11] local.INFO: Processing buffer {"connection_id":161805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e300898012d198b000720b1f0003800fd28..."} 
[2026-08-23 16:07:11] local.INFO: Packet analysis {"connection_id":161805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:07:11] local.INFO: Extracted packet for processing {"connection_id":161805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:07:11] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595206144001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787481295000,"timestamp_ms":1787481295000,"timestamp_seconds":1787481295,"priority":1,"record_length":96,"hex_timestamp":"000001a02e300898"} 
[2026-08-23 16:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:07: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-08-23 16: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 16:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595206144001,"66":12374,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595206144001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:07:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:07:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 16:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595206144001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 16:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":161805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:07:11] local.INFO: GPS data processed {"connection_id":161805,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:07:11] local.INFO: Acknowledgment sent {"connection_id":161805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:07:23] local.INFO: TCP Data received {"connection_id":163211,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:07:23] local.INFO: Processing buffer {"connection_id":163211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:07:23] local.INFO: Packet analysis {"connection_id":163211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:07:23] local.INFO: Extracted packet for processing {"connection_id":163211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:07:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595134976001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787481297000,"timestamp_ms":1787481297000,"timestamp_seconds":1787481297,"priority":1,"record_length":96,"hex_timestamp":"000001a02e301068"} 
[2026-08-23 16:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595134976001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595134976001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:07:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:07:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595134976001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":163211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:07:23] local.INFO: GPS data processed {"connection_id":163211,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:07:23] local.INFO: Acknowledgment sent {"connection_id":163211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:07:29] local.INFO: TCP Data received {"connection_id":163212,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:07:29] local.INFO: Processing buffer {"connection_id":163212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:07:29] local.INFO: IMEI packet received {"connection_id":163212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":163212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:07:34] local.INFO: TCP Data received {"connection_id":163212,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:07:34] local.INFO: Processing buffer {"connection_id":163212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:07:34] local.INFO: IMEI packet received {"connection_id":163212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":163212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:07:35] local.INFO: TCP Data received {"connection_id":163212,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e305aa0012d198b000720b1f0003800fd24..."} 
[2026-08-23 16:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e305aa0012d198b000720b1f0003800fd24..."} 
[2026-08-23 16:07:35] local.INFO: Processing buffer {"connection_id":163212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e305aa0012d198b000720b1f0003800fd24..."} 
[2026-08-23 16:07:35] local.INFO: Packet analysis {"connection_id":163212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:07:35] local.INFO: Extracted packet for processing {"connection_id":163212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:07:35] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 16:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595211520001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787481316000,"timestamp_ms":1787481316000,"timestamp_seconds":1787481316,"priority":1,"record_length":96,"hex_timestamp":"000001a02e305aa0"} 
[2026-08-23 16:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 16:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595211520001,"66":12374,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595211520001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:07:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:07:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 16:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595211520001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 16:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":163212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:07:35] local.INFO: GPS data processed {"connection_id":163212,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:07:35] local.INFO: Acknowledgment sent {"connection_id":163212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:07:45] local.INFO: TCP Data received {"connection_id":160864,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:07:45] local.INFO: Processing buffer {"connection_id":160864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:07:45] local.INFO: IMEI packet received {"connection_id":160864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":160864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:07:51] local.INFO: TCP Data received {"connection_id":160864,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:07:51] local.INFO: Processing buffer {"connection_id":160864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:07:51] local.INFO: IMEI packet received {"connection_id":160864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":160864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:07:53] local.INFO: TCP Data received {"connection_id":160864,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:07:53] local.INFO: Processing buffer {"connection_id":160864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:07:53] local.INFO: Packet analysis {"connection_id":160864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:07:53] local.INFO: Extracted packet for processing {"connection_id":160864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:07:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:07: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-08-23 16:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595134976001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787481297000,"timestamp_ms":1787481297000,"timestamp_seconds":1787481297,"priority":1,"record_length":96,"hex_timestamp":"000001a02e301068"} 
[2026-08-23 16:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:07: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-08-23 16:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:07:53] 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-08-23 16:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595134976001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595134976001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:07:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:07:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595134976001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":160864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:07:53] local.INFO: GPS data processed {"connection_id":160864,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:07:53] local.INFO: Acknowledgment sent {"connection_id":160864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:08:06] local.INFO: TCP Data received {"connection_id":163212,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e30aca8012d198b000720b1f0003800fd25..."} 
[2026-08-23 16:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e30aca8012d198b000720b1f0003800fd25..."} 
[2026-08-23 16:08:06] local.INFO: Processing buffer {"connection_id":163212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e30aca8012d198b000720b1f0003800fd25..."} 
[2026-08-23 16:08:06] local.INFO: Packet analysis {"connection_id":163212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:08:06] local.INFO: Extracted packet for processing {"connection_id":163212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 16:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595216896001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787481337000,"timestamp_ms":1787481337000,"timestamp_seconds":1787481337,"priority":1,"record_length":96,"hex_timestamp":"000001a02e30aca8"} 
[2026-08-23 16:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:08:06] local.INFO: 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-08-23 16:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 16:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595216896001,"66":12363,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595216896001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:08:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 16:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595216896001,"power":12363,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 16:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":163212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:08:06] local.INFO: GPS data processed {"connection_id":163212,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:08:06] local.INFO: Acknowledgment sent {"connection_id":163212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:08:25] local.INFO: TCP Data received {"connection_id":160864,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:08:25] local.INFO: Processing buffer {"connection_id":160864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:08:25] local.INFO: Packet analysis {"connection_id":160864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:08:25] local.INFO: Extracted packet for processing {"connection_id":160864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:08:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595134976001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787481297000,"timestamp_ms":1787481297000,"timestamp_seconds":1787481297,"priority":1,"record_length":96,"hex_timestamp":"000001a02e301068"} 
[2026-08-23 16:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:08:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:08:25] 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-08-23 16:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595134976001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595134976001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:08:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:08:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595134976001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":160864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:08:25] local.INFO: GPS data processed {"connection_id":160864,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:08:25] local.INFO: Acknowledgment sent {"connection_id":160864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:08:29] local.INFO: TCP Data received {"connection_id":161808,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:08:29] local.INFO: Processing buffer {"connection_id":161808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:08:29] local.INFO: IMEI packet received {"connection_id":161808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":161808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:08:34] local.INFO: TCP Data received {"connection_id":161808,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:08:34] local.INFO: Processing buffer {"connection_id":161808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:08:34] local.INFO: IMEI packet received {"connection_id":161808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":161808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:08:35] local.INFO: TCP Data received {"connection_id":161808,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e30feb0012d198b000720b1f0003800fd21..."} 
[2026-08-23 16:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e30feb0012d198b000720b1f0003800fd21..."} 
[2026-08-23 16:08:35] local.INFO: Processing buffer {"connection_id":161808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e30feb0012d198b000720b1f0003800fd21..."} 
[2026-08-23 16:08:35] local.INFO: Packet analysis {"connection_id":161808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:08:35] local.INFO: Extracted packet for processing {"connection_id":161808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:08:35] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":33,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595222272001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787481358000,"timestamp_ms":1787481358000,"timestamp_seconds":1787481358,"priority":1,"record_length":96,"hex_timestamp":"000001a02e30feb0"} 
[2026-08-23 16:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 16:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595222272001,"66":12287,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595222272001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:08:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:08:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 16:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595222272001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 16:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":161808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:08:35] local.INFO: GPS data processed {"connection_id":161808,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:08:35] local.INFO: Acknowledgment sent {"connection_id":161808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:08:39] local.INFO: TCP Data received {"connection_id":163213,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:08:39] local.INFO: Processing buffer {"connection_id":163213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:08:39] local.INFO: IMEI packet received {"connection_id":163213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":163213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:08:43] local.INFO: TCP Data received {"connection_id":163213,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:08:43] local.INFO: Processing buffer {"connection_id":163213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:08:43] local.INFO: IMEI packet received {"connection_id":163213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":163213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:08:45] local.INFO: TCP Data received {"connection_id":163213,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3348a0012d7ae70005e13470000700482a..."} 
[2026-08-23 16:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3348a0012d7ae70005e13470000700482a..."} 
[2026-08-23 16:08:45] local.INFO: Processing buffer {"connection_id":163213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3348a0012d7ae70005e13470000700482a..."} 
[2026-08-23 16:08:45] local.INFO: Packet analysis {"connection_id":163213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e33"} 
[2026-08-23 16:08:45] local.INFO: Extracted packet for processing {"connection_id":163213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e33"} 
[2026-08-23 16:08:45] local.INFO: GPS Element Parsed {"raw_longitude":763029248,"raw_latitude":98645104,"longitude_deg":76.3029248,"latitude_deg":9.8645104,"altitude":7,"angle":72,"satellites":42,"speed":21,"hex_longitude":"2d7ae700","hex_latitude":"05e13470","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595263744001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122727311798697984,"note":"Value kept but may cause issues"} 
[2026-08-23 16:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851191774151528448,"note":"Value kept but may cause issues"} 
[2026-08-23 16:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787481508000,"timestamp_ms":1787481508000,"timestamp_seconds":1787481508,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3348a0"} 
[2026-08-23 16:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595263744001,"66":13254,"218":206,"85":15104,"24":21,"16":122727311798697984,"45":8851191774151528448},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-08-23 16:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595263744001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:08:45] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-23 16:08:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122727311798697984,"km_value":122727311798697.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851191774151528448,"description":"Unknown IO ID 45"} 
[2026-08-23 16:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595263744001,"power":13254,"unknown_218":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8851191774151528448}} 
[2026-08-23 16:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":163213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:08:45] local.INFO: GPS data processed {"connection_id":163213,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:08:45] local.INFO: Acknowledgment sent {"connection_id":163213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:08:46] local.INFO: TCP Data received {"connection_id":163213,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e337f50012d7b080005e14128000a003a26..."} 
[2026-08-23 16:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e337f50012d7b080005e14128000a003a26..."} 
[2026-08-23 16:08:46] local.INFO: Processing buffer {"connection_id":163213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e337f50012d7b080005e14128000a003a26..."} 
[2026-08-23 16:08:46] local.INFO: Packet analysis {"connection_id":163213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e33"} 
[2026-08-23 16:08:46] local.INFO: Extracted packet for processing {"connection_id":163213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e33"} 
[2026-08-23 16:08:46] local.INFO: GPS Element Parsed {"raw_longitude":763037696,"raw_latitude":98648360,"longitude_deg":76.3037696,"latitude_deg":9.864836,"altitude":10,"angle":58,"satellites":38,"speed":23,"hex_longitude":"2d7b0800","hex_latitude":"05e14128","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595266048001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122727745590394880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856047217500516352,"note":"Value kept but may cause issues"} 
[2026-08-23 16:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787481522000,"timestamp_ms":1787481522000,"timestamp_seconds":1787481522,"priority":1,"record_length":96,"hex_timestamp":"000001a02e337f50"} 
[2026-08-23 16:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-23 16:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595266048001,"66":13135,"218":206,"85":15104,"24":23,"16":122727745590394880,"45":8856047217500516352},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-08-23 16:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595266048001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:08:46] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-23 16:08:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122727745590394880,"km_value":122727745590394.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856047217500516352,"description":"Unknown IO ID 45"} 
[2026-08-23 16:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595266048001,"power":13135,"unknown_218":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8856047217500516352}} 
[2026-08-23 16:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":163213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:08:46] local.INFO: GPS data processed {"connection_id":163213,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:08:46] local.INFO: Acknowledgment sent {"connection_id":163213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:08:51] local.INFO: TCP Data received {"connection_id":161809,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:08:51] local.INFO: Processing buffer {"connection_id":161809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:08:51] local.INFO: IMEI packet received {"connection_id":161809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":161809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:08:56] local.INFO: TCP Data received {"connection_id":161809,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:08:56] local.INFO: Processing buffer {"connection_id":161809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:08:56] local.INFO: IMEI packet received {"connection_id":161809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":161809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:08:57] local.INFO: TCP Data received {"connection_id":161809,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:08:57] local.INFO: Processing buffer {"connection_id":161809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:08:57] local.INFO: Packet analysis {"connection_id":161809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:08:57] local.INFO: Extracted packet for processing {"connection_id":161809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:08:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595134976001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787481297000,"timestamp_ms":1787481297000,"timestamp_seconds":1787481297,"priority":1,"record_length":96,"hex_timestamp":"000001a02e301068"} 
[2026-08-23 16:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595134976001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595134976001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:08:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:08:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595134976001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":161809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:08:57] local.INFO: GPS data processed {"connection_id":161809,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:08:57] local.INFO: Acknowledgment sent {"connection_id":161809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:09:01] local.INFO: TCP Data received {"connection_id":161809,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:09:01] local.INFO: Processing buffer {"connection_id":161809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:09:01] local.INFO: Packet analysis {"connection_id":161809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:09:01] local.INFO: Extracted packet for processing {"connection_id":161809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:09:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595134976001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787481297000,"timestamp_ms":1787481297000,"timestamp_seconds":1787481297,"priority":1,"record_length":96,"hex_timestamp":"000001a02e301068"} 
[2026-08-23 16:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595134976001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595134976001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:09:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:09:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595134976001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":161809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:09:01] local.INFO: GPS data processed {"connection_id":161809,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:09:01] local.INFO: Acknowledgment sent {"connection_id":161809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:09:06] local.INFO: TCP Data received {"connection_id":161808,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3150b8012d198b000720b1f0003800fd22..."} 
[2026-08-23 16:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3150b8012d198b000720b1f0003800fd22..."} 
[2026-08-23 16:09:06] local.INFO: Processing buffer {"connection_id":161808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3150b8012d198b000720b1f0003800fd22..."} 
[2026-08-23 16:09:06] local.INFO: Packet analysis {"connection_id":161808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e31"} 
[2026-08-23 16:09:06] local.INFO: Extracted packet for processing {"connection_id":161808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e31"} 
[2026-08-23 16:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":34,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 16:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595227648001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787481379000,"timestamp_ms":1787481379000,"timestamp_seconds":1787481379,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3150b8"} 
[2026-08-23 16:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:09:06] local.INFO: 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-08-23 16:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 16:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595227648001,"66":12374,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595227648001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:09:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 16:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595227648001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 16:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":161808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:09:06] local.INFO: GPS data processed {"connection_id":161808,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:09:06] local.INFO: Acknowledgment sent {"connection_id":161808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:09:17] local.INFO: TCP Data received {"connection_id":163213,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e337f50012d7b080005e14128000a003a26..."} 
[2026-08-23 16:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e337f50012d7b080005e14128000a003a26..."} 
[2026-08-23 16:09:17] local.INFO: Processing buffer {"connection_id":163213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e337f50012d7b080005e14128000a003a26..."} 
[2026-08-23 16:09:17] local.INFO: Packet analysis {"connection_id":163213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e33"} 
[2026-08-23 16:09:17] local.INFO: Extracted packet for processing {"connection_id":163213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e33"} 
[2026-08-23 16:09:17] local.INFO: GPS Element Parsed {"raw_longitude":763037696,"raw_latitude":98648360,"longitude_deg":76.3037696,"latitude_deg":9.864836,"altitude":10,"angle":58,"satellites":38,"speed":23,"hex_longitude":"2d7b0800","hex_latitude":"05e14128","is_valid_coordinates":true} 
[2026-08-23 16:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595269632001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122727745590394880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865335891732801536,"note":"Value kept but may cause issues"} 
[2026-08-23 16:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787481522000,"timestamp_ms":1787481522000,"timestamp_seconds":1787481522,"priority":1,"record_length":96,"hex_timestamp":"000001a02e337f50"} 
[2026-08-23 16:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 16:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595269632001,"66":13222,"218":206,"85":15104,"24":23,"16":122727745590394880,"45":8865335891732801536},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-08-23 16:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595269632001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:09:17] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-23 16:09:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122727745590394880,"km_value":122727745590394.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865335891732801536,"description":"Unknown IO ID 45"} 
[2026-08-23 16:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595269632001,"power":13222,"unknown_218":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8865335891732801536}} 
[2026-08-23 16:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":163213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:09:17] local.INFO: GPS data processed {"connection_id":163213,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:09:17] local.INFO: Acknowledgment sent {"connection_id":163213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:09:29] local.INFO: TCP Data received {"connection_id":163214,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:09:29] local.INFO: Processing buffer {"connection_id":163214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:09:29] local.INFO: IMEI packet received {"connection_id":163214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":163214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:09:34] local.INFO: TCP Data received {"connection_id":163214,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:09:34] local.INFO: Processing buffer {"connection_id":163214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:09:34] local.INFO: IMEI packet received {"connection_id":163214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":163214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:09:35] local.INFO: TCP Data received {"connection_id":160615,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:09:35] local.INFO: Processing buffer {"connection_id":160615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:09:35] local.INFO: IMEI packet received {"connection_id":160615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":160615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:09:35] local.INFO: TCP Data received {"connection_id":163214,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e31a2c0012d198b000720b1f0003800fd20..."} 
[2026-08-23 16:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e31a2c0012d198b000720b1f0003800fd20..."} 
[2026-08-23 16:09:35] local.INFO: Processing buffer {"connection_id":163214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e31a2c0012d198b000720b1f0003800fd20..."} 
[2026-08-23 16:09:35] local.INFO: Packet analysis {"connection_id":163214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e31"} 
[2026-08-23 16:09:35] local.INFO: Extracted packet for processing {"connection_id":163214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e31"} 
[2026-08-23 16:09:35] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":32,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 16:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595233024001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787481400000,"timestamp_ms":1787481400000,"timestamp_seconds":1787481400,"priority":1,"record_length":96,"hex_timestamp":"000001a02e31a2c0"} 
[2026-08-23 16:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 16:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595233024001,"66":12319,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595233024001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:09:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:09:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 16:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595233024001,"power":12319,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 16:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":163214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:09:35] local.INFO: GPS data processed {"connection_id":163214,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:09:35] local.INFO: Acknowledgment sent {"connection_id":163214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:09:36] local.INFO: TCP Data received {"connection_id":160615,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:09:36] local.INFO: Processing buffer {"connection_id":160615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:09:36] local.INFO: IMEI packet received {"connection_id":160615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":160615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:09:36] local.INFO: TCP Data received {"connection_id":160615,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:09:36] local.INFO: Processing buffer {"connection_id":160615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:09:36] local.INFO: IMEI packet received {"connection_id":160615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":160615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:09:38] local.INFO: TCP Data received {"connection_id":160615,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e339aa8012d7b148005e14a600009002d27..."} 
[2026-08-23 16:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e339aa8012d7b148005e14a600009002d27..."} 
[2026-08-23 16:09:38] local.INFO: Processing buffer {"connection_id":160615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e339aa8012d7b148005e14a600009002d27..."} 
[2026-08-23 16:09:38] local.INFO: Packet analysis {"connection_id":160615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e33"} 
[2026-08-23 16:09:38] local.INFO: Extracted packet for processing {"connection_id":160615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e33"} 
[2026-08-23 16:09:38] local.INFO: GPS Element Parsed {"raw_longitude":763040896,"raw_latitude":98650720,"longitude_deg":76.3040896,"latitude_deg":9.865072,"altitude":9,"angle":45,"satellites":39,"speed":21,"hex_longitude":"2d7b1480","hex_latitude":"05e14a60","is_valid_coordinates":true} 
[2026-08-23 16:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595269632001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122727938863923200,"note":"Value kept but may cause issues"} 
[2026-08-23 16:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865335891732801536,"note":"Value kept but may cause issues"} 
[2026-08-23 16:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787481529000,"timestamp_ms":1787481529000,"timestamp_seconds":1787481529,"priority":1,"record_length":96,"hex_timestamp":"000001a02e339aa8"} 
[2026-08-23 16:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 16:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595269632001,"66":13091,"218":206,"85":15104,"24":21,"16":122727938863923200,"45":8865335891732801536},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-08-23 16:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595269632001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:09:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-23 16:09:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122727938863923200,"km_value":122727938863923.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865335891732801536,"description":"Unknown IO ID 45"} 
[2026-08-23 16:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595269632001,"power":13091,"unknown_218":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8865335891732801536}} 
[2026-08-23 16:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":160615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:09:38] local.INFO: GPS data processed {"connection_id":160615,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:09:38] local.INFO: Acknowledgment sent {"connection_id":160615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:09:40] local.INFO: TCP Data received {"connection_id":160615,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e33ae30012d7b1c0005e150e00009003928..."} 
[2026-08-23 16:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e33ae30012d7b1c0005e150e00009003928..."} 
[2026-08-23 16:09:40] local.INFO: Processing buffer {"connection_id":160615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e33ae30012d7b1c0005e150e00009003928..."} 
[2026-08-23 16:09:40] local.INFO: Packet analysis {"connection_id":160615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e33"} 
[2026-08-23 16:09:40] local.INFO: Extracted packet for processing {"connection_id":160615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e33"} 
[2026-08-23 16:09:40] local.INFO: GPS Element Parsed {"raw_longitude":763042816,"raw_latitude":98652384,"longitude_deg":76.3042816,"latitude_deg":9.8652384,"altitude":9,"angle":57,"satellites":40,"speed":18,"hex_longitude":"2d7b1c00","hex_latitude":"05e150e0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595271424001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122728059123007488,"note":"Value kept but may cause issues"} 
[2026-08-23 16:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868854328942288896,"note":"Value kept but may cause issues"} 
[2026-08-23 16:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787481534000,"timestamp_ms":1787481534000,"timestamp_seconds":1787481534,"priority":1,"record_length":96,"hex_timestamp":"000001a02e33ae30"} 
[2026-08-23 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-08-23 16:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-23 16:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 16:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595271424001,"66":12863,"218":206,"85":15104,"24":18,"16":122728059123007488,"45":8868854328942288896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-08-23 16:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595271424001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:09:40] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-23 16:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122728059123007488,"km_value":122728059123007.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868854328942288896,"description":"Unknown IO ID 45"} 
[2026-08-23 16:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595271424001,"power":12863,"unknown_218":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8868854328942288896}} 
[2026-08-23 16:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":160615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:09:40] local.INFO: GPS data processed {"connection_id":160615,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:09:40] local.INFO: Acknowledgment sent {"connection_id":160615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:09:46] local.INFO: TCP Data received {"connection_id":163215,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:09:46] local.INFO: Processing buffer {"connection_id":163215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:09:46] local.INFO: IMEI packet received {"connection_id":163215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":163215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:09:51] local.INFO: TCP Data received {"connection_id":163215,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:09:51] local.INFO: Processing buffer {"connection_id":163215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:09:51] local.INFO: IMEI packet received {"connection_id":163215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":163215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:09:53] local.INFO: TCP Data received {"connection_id":163215,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:09:53] local.INFO: Processing buffer {"connection_id":163215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:09:53] local.INFO: Packet analysis {"connection_id":163215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:09:53] local.INFO: Extracted packet for processing {"connection_id":163215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:09:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595134976001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787481297000,"timestamp_ms":1787481297000,"timestamp_seconds":1787481297,"priority":1,"record_length":96,"hex_timestamp":"000001a02e301068"} 
[2026-08-23 16:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:09:53] 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-08-23 16:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595134976001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595134976001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:09:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:09:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595134976001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":163215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:09:53] local.INFO: GPS data processed {"connection_id":163215,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:09:53] local.INFO: Acknowledgment sent {"connection_id":163215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:10:06] local.INFO: TCP Data received {"connection_id":163214,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e31f4c8012d198b000720b1f0003800fd25..."} 
[2026-08-23 16:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e31f4c8012d198b000720b1f0003800fd25..."} 
[2026-08-23 16:10:06] local.INFO: Processing buffer {"connection_id":163214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e31f4c8012d198b000720b1f0003800fd25..."} 
[2026-08-23 16:10:06] local.INFO: Packet analysis {"connection_id":163214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e31"} 
[2026-08-23 16:10:06] local.INFO: Extracted packet for processing {"connection_id":163214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e31"} 
[2026-08-23 16:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583216,"longitude_deg":75.6648704,"latitude_deg":11.9583216,"altitude":56,"angle":253,"satellites":37,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-08-23 16:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595238400001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609109449539584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324282880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787481421000,"timestamp_ms":1787481421000,"timestamp_seconds":1787481421,"priority":1,"record_length":96,"hex_timestamp":"000001a02e31f4c8"} 
[2026-08-23 16:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:10:06] local.INFO: 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-08-23 16:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 16:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595238400001,"66":12341,"103":206,"83":41984,"24":0,"16":15609109449539584,"45":1840564903324282880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595238400001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:10:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609109449539584,"km_value":15609109449539.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324282880,"description":"Unknown IO ID 45"} 
[2026-08-23 16:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595238400001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324282880}} 
[2026-08-23 16:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":163214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:10:06] local.INFO: GPS data processed {"connection_id":163214,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:10:06] local.INFO: Acknowledgment sent {"connection_id":163214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:10:11] local.INFO: TCP Data received {"connection_id":160615,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e33c1b8012d7b248005e155080009004728..."} 
[2026-08-23 16:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e33c1b8012d7b248005e155080009004728..."} 
[2026-08-23 16:10:11] local.INFO: Processing buffer {"connection_id":160615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e33c1b8012d7b248005e155080009004728..."} 
[2026-08-23 16:10:11] local.INFO: Packet analysis {"connection_id":160615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e33"} 
[2026-08-23 16:10:11] local.INFO: Extracted packet for processing {"connection_id":160615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e33"} 
[2026-08-23 16:10:11] local.INFO: GPS Element Parsed {"raw_longitude":763044992,"raw_latitude":98653448,"longitude_deg":76.3044992,"latitude_deg":9.8653448,"altitude":9,"angle":71,"satellites":40,"speed":17,"hex_longitude":"2d7b2480","hex_latitude":"05e15508","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595272704001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122728175087124480,"note":"Value kept but may cause issues"} 
[2026-08-23 16:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870965391268044800,"note":"Value kept but may cause issues"} 
[2026-08-23 16:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787481539000,"timestamp_ms":1787481539000,"timestamp_seconds":1787481539,"priority":1,"record_length":96,"hex_timestamp":"000001a02e33c1b8"} 
[2026-08-23 16:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 16:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595272704001,"66":13450,"218":206,"85":15104,"24":17,"16":122728175087124480,"45":8870965391268044800},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-08-23 16:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595272704001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:10:11] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-23 16:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122728175087124480,"km_value":122728175087124.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870965391268044800,"description":"Unknown IO ID 45"} 
[2026-08-23 16:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595272704001,"power":13450,"unknown_218":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8870965391268044800}} 
[2026-08-23 16:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":160615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:10:11] local.INFO: GPS data processed {"connection_id":160615,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:10:11] local.INFO: Acknowledgment sent {"connection_id":160615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:10:28] local.INFO: TCP Data received {"connection_id":163215,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:10:28] local.INFO: Processing buffer {"connection_id":163215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e301068012d34c50006aa40980007008522..."} 
[2026-08-23 16:10:28] local.INFO: Packet analysis {"connection_id":163215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:10:28] local.INFO: Extracted packet for processing {"connection_id":163215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e30"} 
[2026-08-23 16:10:28] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595134976001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787481297000,"timestamp_ms":1787481297000,"timestamp_seconds":1787481297,"priority":1,"record_length":96,"hex_timestamp":"000001a02e301068"} 
[2026-08-23 16:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595134976001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595134976001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:10:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:10:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595134976001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":163215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:10:28] local.INFO: GPS data processed {"connection_id":163215,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:10:28] local.INFO: Acknowledgment sent {"connection_id":163215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:10:29] local.INFO: TCP Data received {"connection_id":161810,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:10:29] local.INFO: Processing buffer {"connection_id":161810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:10:29] local.INFO: IMEI packet received {"connection_id":161810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":161810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:10:30] local.INFO: TCP Data received {"connection_id":161810,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:10:30] local.INFO: Processing buffer {"connection_id":161810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:10:30] local.INFO: IMEI packet received {"connection_id":161810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":161810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:10:31] local.INFO: TCP Data received {"connection_id":161810,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:10:31] local.INFO: Processing buffer {"connection_id":161810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:10:31] local.INFO: IMEI packet received {"connection_id":161810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":161810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:10:34] local.INFO: TCP Data received {"connection_id":160616,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:10:34] local.INFO: Processing buffer {"connection_id":160616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:10:34] local.INFO: IMEI packet received {"connection_id":160616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":160616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:10:34] local.INFO: TCP Data received {"connection_id":161810,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:10:34] local.INFO: Processing buffer {"connection_id":161810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:10:34] local.INFO: IMEI packet received {"connection_id":161810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":161810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:10:35] local.INFO: TCP Data received {"connection_id":161810,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e347d38012d194e000720aae80035011a25..."} 
[2026-08-23 16:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e347d38012d194e000720aae80035011a25..."} 
[2026-08-23 16:10:35] local.INFO: Processing buffer {"connection_id":161810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e347d38012d194e000720aae80035011a25..."} 
[2026-08-23 16:10:35] local.INFO: Packet analysis {"connection_id":161810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:10:35] local.INFO: Extracted packet for processing {"connection_id":161810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:10:35] local.INFO: GPS Element Parsed {"raw_longitude":756633088,"raw_latitude":119581416,"longitude_deg":75.6633088,"latitude_deg":11.9581416,"altitude":53,"angle":282,"satellites":37,"speed":35,"hex_longitude":"2d194e00","hex_latitude":"0720aae8","is_valid_coordinates":true} 
[2026-08-23 16:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595284480001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15609925493325824,"note":"Value kept but may cause issues"} 
[2026-08-23 16:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116720488448,"note":"Value kept but may cause issues"} 
[2026-08-23 16:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787481587000,"timestamp_ms":1787481587000,"timestamp_seconds":1787481587,"priority":1,"record_length":96,"hex_timestamp":"000001a02e347d38"} 
[2026-08-23 16:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-23 16:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595284480001,"66":14080,"103":206,"83":41984,"24":35,"16":15609925493325824,"45":1829728116720488448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595284480001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:10:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:10:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15609925493325824,"km_value":15609925493325.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116720488448,"description":"Unknown IO ID 45"} 
[2026-08-23 16:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595284480001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1829728116720488448}} 
[2026-08-23 16:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":161810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:10:35] local.INFO: GPS data processed {"connection_id":161810,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:10:35] local.INFO: Acknowledgment sent {"connection_id":161810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:10:39] local.INFO: TCP Data received {"connection_id":160616,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160616,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:10:39] local.INFO: Processing buffer {"connection_id":160616,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:10:39] local.INFO: IMEI packet received {"connection_id":160616,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":160616,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:10:40] local.INFO: TCP Data received {"connection_id":160616,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e340420012d7b3ac005e15af8000d005429..."} 
[2026-08-23 16:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e340420012d7b3ac005e15af8000d005429..."} 
[2026-08-23 16:10:40] local.INFO: Processing buffer {"connection_id":160616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e340420012d7b3ac005e15af8000d005429..."} 
[2026-08-23 16:10:40] local.INFO: Packet analysis {"connection_id":160616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:10:40] local.INFO: Extracted packet for processing {"connection_id":160616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:10:40] local.INFO: GPS Element Parsed {"raw_longitude":763050688,"raw_latitude":98654968,"longitude_deg":76.3050688,"latitude_deg":9.8654968,"altitude":13,"angle":84,"satellites":41,"speed":13,"hex_longitude":"2d7b3ac0","hex_latitude":"05e15af8","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595273984001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122728458554966016,"note":"Value kept but may cause issues"} 
[2026-08-23 16:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873357928570357760,"note":"Value kept but may cause issues"} 
[2026-08-23 16:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787481556000,"timestamp_ms":1787481556000,"timestamp_seconds":1787481556,"priority":1,"record_length":96,"hex_timestamp":"000001a02e340420"} 
[2026-08-23 16:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-23 16:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595273984001,"66":12917,"218":206,"85":15104,"24":13,"16":122728458554966016,"45":8873357928570357760},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-08-23 16:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595273984001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:10:40] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-23 16:10:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122728458554966016,"km_value":122728458554966.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873357928570357760,"description":"Unknown IO ID 45"} 
[2026-08-23 16:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595273984001,"power":12917,"unknown_218":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8873357928570357760}} 
[2026-08-23 16:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":160616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:10:41] local.INFO: GPS data processed {"connection_id":160616,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:10:41] local.INFO: Acknowledgment sent {"connection_id":160616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:10:46] local.INFO: TCP Data received {"connection_id":160865,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:10:46] local.INFO: Processing buffer {"connection_id":160865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:10:46] local.INFO: IMEI packet received {"connection_id":160865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":160865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:10:51] local.INFO: TCP Data received {"connection_id":160865,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:10:51] local.INFO: Processing buffer {"connection_id":160865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:10:51] local.INFO: IMEI packet received {"connection_id":160865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":160865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:10:53] local.INFO: TCP Data received {"connection_id":160865,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:10:53] local.INFO: Processing buffer {"connection_id":160865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:10:53] local.INFO: Packet analysis {"connection_id":160865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:10:53] local.INFO: Extracted packet for processing {"connection_id":160865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:10:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595212032001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787481598000,"timestamp_ms":1787481598000,"timestamp_seconds":1787481598,"priority":1,"record_length":96,"hex_timestamp":"000001a02e34a830"} 
[2026-08-23 16:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:10:53] 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-08-23 16:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595212032001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595212032001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:10:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:10:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595212032001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":160865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:10:53] local.INFO: GPS data processed {"connection_id":160865,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:10:53] local.INFO: Acknowledgment sent {"connection_id":160865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:11:06] local.INFO: TCP Data received {"connection_id":161810,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e348cd8012d1940000720af300034012725..."} 
[2026-08-23 16:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e348cd8012d1940000720af300034012725..."} 
[2026-08-23 16:11:06] local.INFO: Processing buffer {"connection_id":161810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e348cd8012d1940000720af300034012725..."} 
[2026-08-23 16:11:06] local.INFO: Packet analysis {"connection_id":161810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:11:06] local.INFO: Extracted packet for processing {"connection_id":161810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756629504,"raw_latitude":119582512,"longitude_deg":75.6629504,"latitude_deg":11.9582512,"altitude":52,"angle":295,"satellites":37,"speed":35,"hex_longitude":"2d194000","hex_latitude":"0720af30","is_valid_coordinates":true} 
[2026-08-23 16:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595286272001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15610101586984960,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823394929744472064,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787481591000,"timestamp_ms":1787481591000,"timestamp_seconds":1787481591,"priority":1,"record_length":96,"hex_timestamp":"000001a02e348cd8"} 
[2026-08-23 16:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-23 16:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:06] local.WARNING: Large IO value detected {"io_id":224,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:06] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3019898941,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-23 16:11:06] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,117,160,97,45,128,171,57,38,10,66,116,43,179,61,37,23,192,1,240,224,227,46,32,4,113,205,3,139,239,54,2,55,7,56],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-23 16:11:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819362705205297152,"timestamp_seconds":3819362705205297.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 16:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595286272001,"66":13928,"103":206,"83":41984,"24":35,"16":15610101586984960,"45":1823394929744472064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595286272001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:11:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15610101586984960,"km_value":15610101586984.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823394929744472064,"description":"Unknown IO ID 45"} 
[2026-08-23 16:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595286272001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1823394929744472064}} 
[2026-08-23 16:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":161810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:11:06] local.INFO: GPS data processed {"connection_id":161810,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:11:06] local.INFO: Acknowledgment sent {"connection_id":161810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:11:12] local.INFO: TCP Data received {"connection_id":160616,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e35a618012d7b440005e1b0100008006f28..."} 
[2026-08-23 16:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e35a618012d7b440005e1b0100008006f28..."} 
[2026-08-23 16:11:12] local.INFO: Processing buffer {"connection_id":160616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e35a618012d7b440005e1b0100008006f28..."} 
[2026-08-23 16:11:12] local.INFO: Packet analysis {"connection_id":160616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e35"} 
[2026-08-23 16:11:12] local.INFO: Extracted packet for processing {"connection_id":160616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e35"} 
[2026-08-23 16:11:12] local.INFO: GPS Element Parsed {"raw_longitude":763053056,"raw_latitude":98676752,"longitude_deg":76.3053056,"latitude_deg":9.8676752,"altitude":8,"angle":111,"satellites":40,"speed":11,"hex_longitude":"2d7b4400","hex_latitude":"05e1b010","is_valid_coordinates":true} 
[2026-08-23 16:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595305216001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122731778564685824,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881520702901024768,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:12] 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-08-23 16:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787481663000,"timestamp_ms":1787481663000,"timestamp_seconds":1787481663,"priority":1,"record_length":96,"hex_timestamp":"000001a02e35a618"} 
[2026-08-23 16:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 16:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160616,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595305216001,"66":13037,"216":206,"85":15104,"24":11,"16":122731778564685824,"45":8881520702901024768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-23 16:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595305216001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:11:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 16:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122731778564685824,"km_value":122731778564685.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881520702901024768,"description":"Unknown IO ID 45"} 
[2026-08-23 16:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595305216001,"power":13037,"unknown_216":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8881520702901024768}} 
[2026-08-23 16:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":160616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:11:12] local.INFO: GPS data processed {"connection_id":160616,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:11:12] local.INFO: Acknowledgment sent {"connection_id":160616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:11:24] local.INFO: TCP Data received {"connection_id":160865,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:11:24] local.INFO: Processing buffer {"connection_id":160865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:11:24] local.INFO: Packet analysis {"connection_id":160865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:11:24] local.INFO: Extracted packet for processing {"connection_id":160865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:11:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595212032001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787481598000,"timestamp_ms":1787481598000,"timestamp_seconds":1787481598,"priority":1,"record_length":96,"hex_timestamp":"000001a02e34a830"} 
[2026-08-23 16:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:11:24] 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-08-23 16:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:11: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-08-23 16:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595212032001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595212032001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:11:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:11:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595212032001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":160865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:11:24] local.INFO: GPS data processed {"connection_id":160865,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:11:24] local.INFO: Acknowledgment sent {"connection_id":160865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:11:29] local.INFO: TCP Data received {"connection_id":160866,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:11:29] local.INFO: Processing buffer {"connection_id":160866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:11:29] local.INFO: IMEI packet received {"connection_id":160866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":160866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:11:34] local.INFO: TCP Data received {"connection_id":161811,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:11:34] local.INFO: Processing buffer {"connection_id":161811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:11:34] local.INFO: IMEI packet received {"connection_id":161811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":161811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:11:34] local.INFO: TCP Data received {"connection_id":160866,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:11:34] local.INFO: Processing buffer {"connection_id":160866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:11:34] local.INFO: IMEI packet received {"connection_id":160866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":160866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:11:35] local.INFO: TCP Data received {"connection_id":160866,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3494a8012d193a000720b2c80034013325..."} 
[2026-08-23 16:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3494a8012d193a000720b2c80034013325..."} 
[2026-08-23 16:11:35] local.INFO: Processing buffer {"connection_id":160866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3494a8012d193a000720b2c80034013325..."} 
[2026-08-23 16:11:35] local.INFO: Packet analysis {"connection_id":160866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:11:35] local.INFO: Extracted packet for processing {"connection_id":160866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:11:35] local.INFO: GPS Element Parsed {"raw_longitude":756627968,"raw_latitude":119583432,"longitude_deg":75.6627968,"latitude_deg":11.9583432,"altitude":52,"angle":307,"satellites":37,"speed":35,"hex_longitude":"2d193a00","hex_latitude":"0720b2c8","is_valid_coordinates":true} 
[2026-08-23 16:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595287296001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15610187486330880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819454280070803456,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787481593000,"timestamp_ms":1787481593000,"timestamp_seconds":1787481593,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3494a8"} 
[2026-08-23 16:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 16:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595287296001,"66":12928,"103":206,"83":41984,"24":35,"16":15610187486330880,"45":1819454280070803456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595287296001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:11:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:11:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15610187486330880,"km_value":15610187486330.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819454280070803456,"description":"Unknown IO ID 45"} 
[2026-08-23 16:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595287296001,"power":12928,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1819454280070803456}} 
[2026-08-23 16:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":160866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:11:35] local.INFO: GPS data processed {"connection_id":160866,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:11:35] local.INFO: Acknowledgment sent {"connection_id":160866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:11:39] local.INFO: TCP Data received {"connection_id":161811,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:11:39] local.INFO: Processing buffer {"connection_id":161811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:11:39] local.INFO: IMEI packet received {"connection_id":161811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":161811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:11:39] local.INFO: TCP Data received {"connection_id":161811,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e35aa00012d7b454005e1afd00008005f28..."} 
[2026-08-23 16:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e35aa00012d7b454005e1afd00008005f28..."} 
[2026-08-23 16:11:39] local.INFO: Processing buffer {"connection_id":161811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e35aa00012d7b454005e1afd00008005f28..."} 
[2026-08-23 16:11:39] local.INFO: Packet analysis {"connection_id":161811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e35"} 
[2026-08-23 16:11:39] local.INFO: Extracted packet for processing {"connection_id":161811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e35"} 
[2026-08-23 16:11:39] local.INFO: GPS Element Parsed {"raw_longitude":763053376,"raw_latitude":98676688,"longitude_deg":76.3053376,"latitude_deg":9.8676688,"altitude":8,"angle":95,"satellites":40,"speed":12,"hex_longitude":"2d7b4540","hex_latitude":"05e1afd0","is_valid_coordinates":true} 
[2026-08-23 16:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595305728001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122731791449587712,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882224390342709248,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:39] 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-08-23 16:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787481664000,"timestamp_ms":1787481664000,"timestamp_seconds":1787481664,"priority":1,"record_length":96,"hex_timestamp":"000001a02e35aa00"} 
[2026-08-23 16:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-23 16:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595305728001,"66":13037,"216":206,"85":15104,"24":12,"16":122731791449587712,"45":8882224390342709248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-23 16:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595305728001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:11:39] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 16:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122731791449587712,"km_value":122731791449587.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882224390342709248,"description":"Unknown IO ID 45"} 
[2026-08-23 16:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595305728001,"power":13037,"unknown_216":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8882224390342709248}} 
[2026-08-23 16:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":161811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:11:39] local.INFO: GPS data processed {"connection_id":161811,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:11:39] local.INFO: Acknowledgment sent {"connection_id":161811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:11:45] local.INFO: TCP Data received {"connection_id":163216,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:11:45] local.INFO: Processing buffer {"connection_id":163216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:11:45] local.INFO: IMEI packet received {"connection_id":163216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":163216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:11:51] local.INFO: TCP Data received {"connection_id":163216,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:11:51] local.INFO: Processing buffer {"connection_id":163216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:11:51] local.INFO: IMEI packet received {"connection_id":163216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":163216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:11:52] local.INFO: TCP Data received {"connection_id":163216,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:11:52] local.INFO: Processing buffer {"connection_id":163216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:11:52] local.INFO: Packet analysis {"connection_id":163216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:11:52] local.INFO: Extracted packet for processing {"connection_id":163216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595212032001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787481598000,"timestamp_ms":1787481598000,"timestamp_seconds":1787481598,"priority":1,"record_length":96,"hex_timestamp":"000001a02e34a830"} 
[2026-08-23 16:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:11:52] 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-08-23 16:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595212032001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595212032001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:11:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595212032001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":163216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:11:52] local.INFO: GPS data processed {"connection_id":163216,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:11:52] local.INFO: Acknowledgment sent {"connection_id":163216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:12:06] local.INFO: TCP Data received {"connection_id":160866,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e34a060012d1931400720b8780034012826..."} 
[2026-08-23 16:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e34a060012d1931400720b8780034012826..."} 
[2026-08-23 16:12:06] local.INFO: Processing buffer {"connection_id":160866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e34a060012d1931400720b8780034012826..."} 
[2026-08-23 16:12:06] local.INFO: Packet analysis {"connection_id":160866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:12:06] local.INFO: Extracted packet for processing {"connection_id":160866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756625728,"raw_latitude":119584888,"longitude_deg":75.6625728,"latitude_deg":11.9584888,"altitude":52,"angle":296,"satellites":38,"speed":33,"hex_longitude":"2d193140","hex_latitude":"0720b878","is_valid_coordinates":true} 
[2026-08-23 16:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595287808001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15610316335349760,"note":"Value kept but may cause issues"} 
[2026-08-23 16:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817765430210775040,"note":"Value kept but may cause issues"} 
[2026-08-23 16:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787481596000,"timestamp_ms":1787481596000,"timestamp_seconds":1787481596,"priority":1,"record_length":96,"hex_timestamp":"000001a02e34a060"} 
[2026-08-23 16:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-23 16:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595287808001,"66":13852,"103":206,"83":41984,"24":33,"16":15610316335349760,"45":1817765430210775040},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595287808001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:12:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15610316335349760,"km_value":15610316335349.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817765430210775040,"description":"Unknown IO ID 45"} 
[2026-08-23 16:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595287808001,"power":13852,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1817765430210775040}} 
[2026-08-23 16:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":160866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:12:06] local.INFO: GPS data processed {"connection_id":160866,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:12:06] local.INFO: Acknowledgment sent {"connection_id":160866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:12:11] local.INFO: TCP Data received {"connection_id":161811,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e35b1d0012d7b484005e1b0000008005328..."} 
[2026-08-23 16:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e35b1d0012d7b484005e1b0000008005328..."} 
[2026-08-23 16:12:11] local.INFO: Processing buffer {"connection_id":161811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e35b1d0012d7b484005e1b0000008005328..."} 
[2026-08-23 16:12:11] local.INFO: Packet analysis {"connection_id":161811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e35"} 
[2026-08-23 16:12:11] local.INFO: Extracted packet for processing {"connection_id":161811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e35"} 
[2026-08-23 16:12:11] local.INFO: GPS Element Parsed {"raw_longitude":763054144,"raw_latitude":98676736,"longitude_deg":76.3054144,"latitude_deg":9.8676736,"altitude":8,"angle":83,"satellites":40,"speed":14,"hex_longitude":"2d7b4840","hex_latitude":"05e1b000","is_valid_coordinates":true} 
[2026-08-23 16:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595305984001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122731830104293376,"note":"Value kept but may cause issues"} 
[2026-08-23 16:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882576234063581184,"note":"Value kept but may cause issues"} 
[2026-08-23 16:12:11] 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-08-23 16:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787481666000,"timestamp_ms":1787481666000,"timestamp_seconds":1787481666,"priority":1,"record_length":96,"hex_timestamp":"000001a02e35b1d0"} 
[2026-08-23 16:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-23 16:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595305984001,"66":13363,"216":206,"85":15104,"24":14,"16":122731830104293376,"45":8882576234063581184},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-23 16:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595305984001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:12:11] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 16:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122731830104293376,"km_value":122731830104293.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882576234063581184,"description":"Unknown IO ID 45"} 
[2026-08-23 16:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595305984001,"power":13363,"unknown_216":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8882576234063581184}} 
[2026-08-23 16:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":161811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:12:11] local.INFO: GPS data processed {"connection_id":161811,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:12:11] local.INFO: Acknowledgment sent {"connection_id":161811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:12:23] local.INFO: TCP Data received {"connection_id":163216,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:12:23] local.INFO: Processing buffer {"connection_id":163216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:12:23] local.INFO: Packet analysis {"connection_id":163216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:12:23] local.INFO: Extracted packet for processing {"connection_id":163216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:12:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595212032001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787481598000,"timestamp_ms":1787481598000,"timestamp_seconds":1787481598,"priority":1,"record_length":96,"hex_timestamp":"000001a02e34a830"} 
[2026-08-23 16:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:12:23] 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-08-23 16: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-08-23 16:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:12:23] 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-08-23 16:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595212032001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595212032001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:12:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:12:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595212032001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":163216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:12:23] local.INFO: GPS data processed {"connection_id":163216,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:12:23] local.INFO: Acknowledgment sent {"connection_id":163216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:12:29] local.INFO: TCP Data received {"connection_id":160867,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:12:29] local.INFO: Processing buffer {"connection_id":160867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:12:29] local.INFO: IMEI packet received {"connection_id":160867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":160867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:12:31] local.INFO: TCP Data received {"connection_id":160867,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:12:31] local.INFO: Processing buffer {"connection_id":160867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:12:31] local.INFO: IMEI packet received {"connection_id":160867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":160867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:12:32] local.INFO: TCP Data received {"connection_id":160867,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:12:32] local.INFO: Processing buffer {"connection_id":160867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:12:32] local.INFO: IMEI packet received {"connection_id":160867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":160867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:12:34] local.INFO: TCP Data received {"connection_id":161812,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:12:34] local.INFO: Processing buffer {"connection_id":161812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:12:34] local.INFO: IMEI packet received {"connection_id":161812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":161812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:12:34] local.INFO: TCP Data received {"connection_id":160867,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:12:34] local.INFO: Processing buffer {"connection_id":160867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:12:34] local.INFO: IMEI packet received {"connection_id":160867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":160867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:12:35] local.INFO: TCP Data received {"connection_id":160867,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e35fff0012d18d7000720ff10003e004927..."} 
[2026-08-23 16:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e35fff0012d18d7000720ff10003e004927..."} 
[2026-08-23 16:12:35] local.INFO: Processing buffer {"connection_id":160867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e35fff0012d18d7000720ff10003e004927..."} 
[2026-08-23 16:12:35] local.INFO: Packet analysis {"connection_id":160867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e35"} 
[2026-08-23 16:12:35] local.INFO: Extracted packet for processing {"connection_id":160867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e35"} 
[2026-08-23 16:12:35] local.INFO: GPS Element Parsed {"raw_longitude":756602624,"raw_latitude":119602960,"longitude_deg":75.6602624,"latitude_deg":11.960296,"altitude":62,"angle":73,"satellites":39,"speed":0,"hex_longitude":"2d18d700","hex_latitude":"0720ff10","is_valid_coordinates":true} 
[2026-08-23 16:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595310848001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15611798099066880,"note":"Value kept but may cause issues"} 
[2026-08-23 16:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777233408,"note":"Value kept but may cause issues"} 
[2026-08-23 16:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787481686000,"timestamp_ms":1787481686000,"timestamp_seconds":1787481686,"priority":1,"record_length":96,"hex_timestamp":"000001a02e35fff0"} 
[2026-08-23 16:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-23 16:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595310848001,"66":14135,"103":206,"83":41984,"24":0,"16":15611798099066880,"45":1789829038777233408},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595310848001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:12:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:12:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15611798099066880,"km_value":15611798099066.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777233408,"description":"Unknown IO ID 45"} 
[2026-08-23 16:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595310848001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777233408}} 
[2026-08-23 16:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":160867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:12:35] local.INFO: GPS data processed {"connection_id":160867,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:12:35] local.INFO: Acknowledgment sent {"connection_id":160867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:12:39] local.INFO: TCP Data received {"connection_id":161812,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:12:39] local.INFO: Processing buffer {"connection_id":161812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:12:39] local.INFO: IMEI packet received {"connection_id":161812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":161812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:12:40] local.INFO: TCP Data received {"connection_id":161812,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e35f438012d7b6b0005e1b4a0000900582a..."} 
[2026-08-23 16:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e35f438012d7b6b0005e1b4a0000900582a..."} 
[2026-08-23 16:12:40] local.INFO: Processing buffer {"connection_id":161812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e35f438012d7b6b0005e1b4a0000900582a..."} 
[2026-08-23 16:12:40] local.INFO: Packet analysis {"connection_id":161812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e35"} 
[2026-08-23 16:12:40] local.INFO: Extracted packet for processing {"connection_id":161812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e35"} 
[2026-08-23 16:12:40] local.INFO: GPS Element Parsed {"raw_longitude":763063040,"raw_latitude":98677920,"longitude_deg":76.306304,"latitude_deg":9.867792,"altitude":9,"angle":88,"satellites":42,"speed":7,"hex_longitude":"2d7b6b00","hex_latitude":"05e1b4a0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595306496001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122732263895990272,"note":"Value kept but may cause issues"} 
[2026-08-23 16:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883420658993725440,"note":"Value kept but may cause issues"} 
[2026-08-23 16:12: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-08-23 16:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787481683000,"timestamp_ms":1787481683000,"timestamp_seconds":1787481683,"priority":1,"record_length":96,"hex_timestamp":"000001a02e35f438"} 
[2026-08-23 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-08-23 16:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-23 16:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 16:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595306496001,"66":13048,"216":206,"85":15104,"24":7,"16":122732263895990272,"45":8883420658993725440},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-23 16:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595306496001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:12:40] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 16:12:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122732263895990272,"km_value":122732263895990.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883420658993725440,"description":"Unknown IO ID 45"} 
[2026-08-23 16:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595306496001,"power":13048,"unknown_216":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8883420658993725440}} 
[2026-08-23 16:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":161812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:12:40] local.INFO: GPS data processed {"connection_id":161812,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:12:40] local.INFO: Acknowledgment sent {"connection_id":161812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:12:51] local.INFO: TCP Data received {"connection_id":160868,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:12:51] local.INFO: Processing buffer {"connection_id":160868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:12:51] local.INFO: IMEI packet received {"connection_id":160868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":160868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:12:56] local.INFO: TCP Data received {"connection_id":160868,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:12:56] local.INFO: Processing buffer {"connection_id":160868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:12:56] local.INFO: IMEI packet received {"connection_id":160868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":160868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:12:57] local.INFO: TCP Data received {"connection_id":160868,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:12:57] local.INFO: Processing buffer {"connection_id":160868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:12:57] local.INFO: Packet analysis {"connection_id":160868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:12:57] local.INFO: Extracted packet for processing {"connection_id":160868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:12:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595212032001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787481598000,"timestamp_ms":1787481598000,"timestamp_seconds":1787481598,"priority":1,"record_length":96,"hex_timestamp":"000001a02e34a830"} 
[2026-08-23 16:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595212032001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595212032001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:12:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:12:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595212032001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":160868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:12:57] local.INFO: GPS data processed {"connection_id":160868,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:12:57] local.INFO: Acknowledgment sent {"connection_id":160868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:13:01] local.INFO: TCP Data received {"connection_id":160868,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:13:01] local.INFO: Processing buffer {"connection_id":160868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:13:01] local.INFO: Packet analysis {"connection_id":160868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:13:01] local.INFO: Extracted packet for processing {"connection_id":160868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:13:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595212032001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787481598000,"timestamp_ms":1787481598000,"timestamp_seconds":1787481598,"priority":1,"record_length":96,"hex_timestamp":"000001a02e34a830"} 
[2026-08-23 16:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595212032001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595212032001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:13:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:13:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595212032001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":160868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:13:01] local.INFO: GPS data processed {"connection_id":160868,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:13:01] local.INFO: Acknowledgment sent {"connection_id":160868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:13:07] local.INFO: TCP Data received {"connection_id":160867,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e36bb70012d1974000720aee0003200491f..."} 
[2026-08-23 16:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e36bb70012d1974000720aee0003200491f..."} 
[2026-08-23 16:13:07] local.INFO: Processing buffer {"connection_id":160867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e36bb70012d1974000720aee0003200491f..."} 
[2026-08-23 16:13:07] local.INFO: Packet analysis {"connection_id":160867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e36"} 
[2026-08-23 16:13:07] local.INFO: Extracted packet for processing {"connection_id":160867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e36"} 
[2026-08-23 16:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119582432,"longitude_deg":75.6642816,"latitude_deg":11.9582432,"altitude":50,"angle":73,"satellites":31,"speed":34,"hex_longitude":"2d197400","hex_latitude":"0720aee0","is_valid_coordinates":true} 
[2026-08-23 16:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595322112001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15614091611602944,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827405948162613248,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787481734000,"timestamp_ms":1787481734000,"timestamp_seconds":1787481734,"priority":1,"record_length":96,"hex_timestamp":"000001a02e36bb70"} 
[2026-08-23 16:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-23 16:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595322112001,"66":14233,"103":206,"83":41984,"24":34,"16":15614091611602944,"45":1827405948162613248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595322112001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:13:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:13:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15614091611602944,"km_value":15614091611602.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827405948162613248,"description":"Unknown IO ID 45"} 
[2026-08-23 16:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595322112001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1827405948162613248}} 
[2026-08-23 16:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":160867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:13:07] local.INFO: GPS data processed {"connection_id":160867,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:13:07] local.INFO: Acknowledgment sent {"connection_id":160867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:13:07] local.INFO: TCP Data received {"connection_id":160868,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:13:07] local.INFO: Processing buffer {"connection_id":160868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:13:07] local.INFO: Packet analysis {"connection_id":160868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:13:07] local.INFO: Extracted packet for processing {"connection_id":160868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:13:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595212032001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787481598000,"timestamp_ms":1787481598000,"timestamp_seconds":1787481598,"priority":1,"record_length":96,"hex_timestamp":"000001a02e34a830"} 
[2026-08-23 16:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595212032001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595212032001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:13:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:13:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595212032001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":160868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:13:07] local.INFO: GPS data processed {"connection_id":160868,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:13:07] local.INFO: Acknowledgment sent {"connection_id":160868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:13:11] local.INFO: TCP Data received {"connection_id":161812,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e378690012d7c35c005e1dea00007004f29..."} 
[2026-08-23 16:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e378690012d7c35c005e1dea00007004f29..."} 
[2026-08-23 16:13:11] local.INFO: Processing buffer {"connection_id":161812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e378690012d7c35c005e1dea00007004f29..."} 
[2026-08-23 16:13:11] local.INFO: Packet analysis {"connection_id":161812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e37"} 
[2026-08-23 16:13:11] local.INFO: Extracted packet for processing {"connection_id":161812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e37"} 
[2026-08-23 16:13:11] local.INFO: GPS Element Parsed {"raw_longitude":763114944,"raw_latitude":98688672,"longitude_deg":76.3114944,"latitude_deg":9.8688672,"altitude":7,"angle":79,"satellites":41,"speed":13,"hex_longitude":"2d7c35c0","hex_latitude":"05e1dea0","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595335424001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945626628849901568,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122734896710942720,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:11] 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-08-23 16:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787481786000,"timestamp_ms":1787481786000,"timestamp_seconds":1787481786,"priority":1,"record_length":96,"hex_timestamp":"000001a02e378690"} 
[2026-08-23 16:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-23 16:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595335424001,"66":13341,"45":8945626628849901568,"85":15104,"24":13,"16":122734896710942720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-23 16:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595335424001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945626628849901568,"description":"Unknown IO ID 45"} 
[2026-08-23 16:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122734896710942720,"km_value":122734896710942.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:13:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457595335424001,"power":13341,"unknown_45":8945626628849901568,"unknown_85":15104,"ignition":13,"odometer":null}} 
[2026-08-23 16:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":161812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:13:11] local.INFO: GPS data processed {"connection_id":161812,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:13:11] local.INFO: Acknowledgment sent {"connection_id":161812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:13:29] local.INFO: TCP Data received {"connection_id":160869,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:13:29] local.INFO: Processing buffer {"connection_id":160869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:13:29] local.INFO: IMEI packet received {"connection_id":160869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":160869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:13:34] local.INFO: TCP Data received {"connection_id":161813,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:13:34] local.INFO: Processing buffer {"connection_id":161813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:13:34] local.INFO: IMEI packet received {"connection_id":161813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":161813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:13:34] local.INFO: TCP Data received {"connection_id":160869,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:13:34] local.INFO: Processing buffer {"connection_id":160869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:13:34] local.INFO: IMEI packet received {"connection_id":160869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":160869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:13:35] local.INFO: TCP Data received {"connection_id":160869,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3730a0012d19af0007208f90002e00ba25..."} 
[2026-08-23 16:13:35] local.INFO: TCP Data received {"connection_id":161813,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3730a0012d19af0007208f90002e00ba25..."} 
[2026-08-23 16:13:35] local.INFO: Processing buffer {"connection_id":160869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3730a0012d19af0007208f90002e00ba25..."} 
[2026-08-23 16:13:35] local.INFO: Packet analysis {"connection_id":160869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e37"} 
[2026-08-23 16:13:35] local.INFO: Extracted packet for processing {"connection_id":160869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e37"} 
[2026-08-23 16:13:35] local.INFO: GPS Element Parsed {"raw_longitude":756657920,"raw_latitude":119574416,"longitude_deg":75.665792,"latitude_deg":11.9574416,"altitude":46,"angle":186,"satellites":37,"speed":32,"hex_longitude":"2d19af00","hex_latitude":"07208f90","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595331328001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15615367216889856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850979477460527104,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787481764000,"timestamp_ms":1787481764000,"timestamp_seconds":1787481764,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3730a0"} 
[2026-08-23 16:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-23 16:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:13:35] local.INFO: Processing buffer {"connection_id":161813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:13:35] local.INFO: IMEI packet received {"connection_id":161813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":161813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595331328001,"66":14135,"103":206,"83":41984,"24":32,"16":15615367216889856,"45":1850979477460527104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595331328001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:13:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:13:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15615367216889856,"km_value":15615367216889.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850979477460527104,"description":"Unknown IO ID 45"} 
[2026-08-23 16:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595331328001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1850979477460527104}} 
[2026-08-23 16:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":160869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:13:35] local.INFO: GPS data processed {"connection_id":160869,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:13:35] local.INFO: Acknowledgment sent {"connection_id":160869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:13:36] local.INFO: TCP Data received {"connection_id":161813,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:13:36] local.INFO: Processing buffer {"connection_id":161813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:13:36] local.INFO: IMEI packet received {"connection_id":161813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":161813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:13:39] local.INFO: TCP Data received {"connection_id":161813,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:13:39] local.INFO: Processing buffer {"connection_id":161813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:13:39] local.INFO: IMEI packet received {"connection_id":161813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":161813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:13:40] local.INFO: TCP Data received {"connection_id":161813,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e378e60012d7c38c005e1dfb80008003e29..."} 
[2026-08-23 16:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e378e60012d7c38c005e1dfb80008003e29..."} 
[2026-08-23 16:13:40] local.INFO: Processing buffer {"connection_id":161813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e378e60012d7c38c005e1dfb80008003e29..."} 
[2026-08-23 16:13:40] local.INFO: Packet analysis {"connection_id":161813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e37"} 
[2026-08-23 16:13:40] local.INFO: Extracted packet for processing {"connection_id":161813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e37"} 
[2026-08-23 16:13:40] local.INFO: GPS Element Parsed {"raw_longitude":763115712,"raw_latitude":98688952,"longitude_deg":76.3115712,"latitude_deg":9.8688952,"altitude":8,"angle":62,"satellites":41,"speed":18,"hex_longitude":"2d7c38c0","hex_latitude":"05e1dfb8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595337216001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950270965965561856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122734935365648384,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:40] 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-08-23 16:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787481788000,"timestamp_ms":1787481788000,"timestamp_seconds":1787481788,"priority":1,"record_length":96,"hex_timestamp":"000001a02e378e60"} 
[2026-08-23 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-08-23 16:13:40] 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-08-23 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-23 16:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 16:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595337216001,"66":13472,"45":8950270965965561856,"85":15104,"24":18,"16":122734935365648384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-23 16:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595337216001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950270965965561856,"description":"Unknown IO ID 45"} 
[2026-08-23 16:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122734935365648384,"km_value":122734935365648.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:13:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457595337216001,"power":13472,"unknown_45":8950270965965561856,"unknown_85":15104,"ignition":18,"odometer":null}} 
[2026-08-23 16:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":161813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:13:40] local.INFO: GPS data processed {"connection_id":161813,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:13:40] local.INFO: Acknowledgment sent {"connection_id":161813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:13:46] local.INFO: TCP Data received {"connection_id":163217,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:13:46] local.INFO: Processing buffer {"connection_id":163217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:13:46] local.INFO: IMEI packet received {"connection_id":163217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":163217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:13:51] local.INFO: TCP Data received {"connection_id":163217,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:13:51] local.INFO: Processing buffer {"connection_id":163217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:13:51] local.INFO: IMEI packet received {"connection_id":163217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":163217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:13:52] local.INFO: TCP Data received {"connection_id":163217,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:13:52] local.INFO: Processing buffer {"connection_id":163217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:13:52] local.INFO: Packet analysis {"connection_id":163217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:13:52] local.INFO: Extracted packet for processing {"connection_id":163217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:13:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595212032001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787481598000,"timestamp_ms":1787481598000,"timestamp_seconds":1787481598,"priority":1,"record_length":96,"hex_timestamp":"000001a02e34a830"} 
[2026-08-23 16:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:13:52] 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-08-23 16:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:13:52] 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-08-23 16:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595212032001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595212032001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:13:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:13:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595212032001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":163217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:13:52] local.INFO: GPS data processed {"connection_id":163217,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:13:52] local.INFO: Acknowledgment sent {"connection_id":163217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:13:56] local.INFO: TCP Data received {"connection_id":163217,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:13:56] local.INFO: Processing buffer {"connection_id":163217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:13:56] local.INFO: Packet analysis {"connection_id":163217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:13:56] local.INFO: Extracted packet for processing {"connection_id":163217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:13:56] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595212032001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787481598000,"timestamp_ms":1787481598000,"timestamp_seconds":1787481598,"priority":1,"record_length":96,"hex_timestamp":"000001a02e34a830"} 
[2026-08-23 16:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595212032001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595212032001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:13:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:13:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595212032001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":163217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:13:56] local.INFO: GPS data processed {"connection_id":163217,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:13:56] local.INFO: Acknowledgment sent {"connection_id":163217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:14:06] local.INFO: TCP Data received {"connection_id":160869,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e373488012d19aec007208c28002e00ad25..."} 
[2026-08-23 16:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e373488012d19aec007208c28002e00ad25..."} 
[2026-08-23 16:14:06] local.INFO: Processing buffer {"connection_id":160869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e373488012d19aec007208c28002e00ad25..."} 
[2026-08-23 16:14:06] local.INFO: Packet analysis {"connection_id":160869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e37"} 
[2026-08-23 16:14:06] local.INFO: Extracted packet for processing {"connection_id":160869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e37"} 
[2026-08-23 16:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119573544,"longitude_deg":75.6657856,"latitude_deg":11.9573544,"altitude":46,"angle":173,"satellites":37,"speed":35,"hex_longitude":"2d19aec0","hex_latitude":"07208c28","is_valid_coordinates":true} 
[2026-08-23 16:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595331584001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15615410166562816,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850698002483613696,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787481765000,"timestamp_ms":1787481765000,"timestamp_seconds":1787481765,"priority":1,"record_length":96,"hex_timestamp":"000001a02e373488"} 
[2026-08-23 16:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:14:06] local.INFO: 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-08-23 16:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-23 16:14:06] 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-08-23 16:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595331584001,"66":14135,"103":206,"83":41984,"24":35,"16":15615410166562816,"45":1850698002483613696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595331584001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:14:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15615410166562816,"km_value":15615410166562.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850698002483613696,"description":"Unknown IO ID 45"} 
[2026-08-23 16:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595331584001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1850698002483613696}} 
[2026-08-23 16:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":160869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:14:06] local.INFO: GPS data processed {"connection_id":160869,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:14:06] local.INFO: Acknowledgment sent {"connection_id":160869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:14:11] local.INFO: TCP Data received {"connection_id":161813,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e379248012d7c3a4005e1e0f00008002e28..."} 
[2026-08-23 16:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e379248012d7c3a4005e1e0f00008002e28..."} 
[2026-08-23 16:14:11] local.INFO: Processing buffer {"connection_id":161813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e379248012d7c3a4005e1e0f00008002e28..."} 
[2026-08-23 16:14:11] local.INFO: Packet analysis {"connection_id":161813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e37"} 
[2026-08-23 16:14:11] local.INFO: Extracted packet for processing {"connection_id":161813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e37"} 
[2026-08-23 16:14:11] local.INFO: GPS Element Parsed {"raw_longitude":763116096,"raw_latitude":98689264,"longitude_deg":76.3116096,"latitude_deg":9.8689264,"altitude":8,"angle":46,"satellites":40,"speed":20,"hex_longitude":"2d7c3a40","hex_latitude":"05e1e0f0","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595337728001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951115390895765504,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122734956840484864,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:11] 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-08-23 16:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787481789000,"timestamp_ms":1787481789000,"timestamp_seconds":1787481789,"priority":1,"record_length":96,"hex_timestamp":"000001a02e379248"} 
[2026-08-23 16:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:14:11] 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-08-23 16: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-23 16:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595337728001,"66":13428,"45":8951115390895765504,"85":15104,"24":20,"16":122734956840484864},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-23 16:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595337728001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951115390895765504,"description":"Unknown IO ID 45"} 
[2026-08-23 16:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122734956840484864,"km_value":122734956840484.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:14:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457595337728001,"power":13428,"unknown_45":8951115390895765504,"unknown_85":15104,"ignition":20,"odometer":null}} 
[2026-08-23 16:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":161813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:14:11] local.INFO: GPS data processed {"connection_id":161813,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:14:11] local.INFO: Acknowledgment sent {"connection_id":161813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:14:28] local.INFO: TCP Data received {"connection_id":163217,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:14:28] local.INFO: Processing buffer {"connection_id":163217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:14:28] local.INFO: Packet analysis {"connection_id":163217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:14:28] local.INFO: Extracted packet for processing {"connection_id":163217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:14:28] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595212032001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787481598000,"timestamp_ms":1787481598000,"timestamp_seconds":1787481598,"priority":1,"record_length":96,"hex_timestamp":"000001a02e34a830"} 
[2026-08-23 16:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595212032001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595212032001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:14:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:14:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595212032001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":163217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:14:28] local.INFO: GPS data processed {"connection_id":163217,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:14:28] local.INFO: Acknowledgment sent {"connection_id":163217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:14:32] local.INFO: TCP Data received {"connection_id":161814,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:14:32] local.INFO: Processing buffer {"connection_id":161814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:14:32] local.INFO: IMEI packet received {"connection_id":161814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":161814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:14:34] local.INFO: TCP Data received {"connection_id":161814,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:14:34] local.INFO: Processing buffer {"connection_id":161814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:14:34] local.INFO: IMEI packet received {"connection_id":161814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":161814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:14:35] local.INFO: TCP Data received {"connection_id":161814,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:14:35] local.INFO: Processing buffer {"connection_id":161814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:14:35] local.INFO: IMEI packet received {"connection_id":161814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":161814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:14:36] local.INFO: TCP Data received {"connection_id":161814,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:14:36] local.INFO: Processing buffer {"connection_id":161814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:14:36] local.INFO: IMEI packet received {"connection_id":161814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":161814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:14:36] local.INFO: TCP Data received {"connection_id":161814,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e37e068012d19f0c0071ffac0002f007025..."} 
[2026-08-23 16:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e37e068012d19f0c0071ffac0002f007025..."} 
[2026-08-23 16:14:36] local.INFO: Processing buffer {"connection_id":161814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e37e068012d19f0c0071ffac0002f007025..."} 
[2026-08-23 16:14:36] local.INFO: Packet analysis {"connection_id":161814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e37"} 
[2026-08-23 16:14:36] local.INFO: Extracted packet for processing {"connection_id":161814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e37"} 
[2026-08-23 16:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756674752,"raw_latitude":119536320,"longitude_deg":75.6674752,"latitude_deg":11.953632,"altitude":47,"angle":112,"satellites":37,"speed":29,"hex_longitude":"2d19f0c0","hex_latitude":"071ffac0","is_valid_coordinates":true} 
[2026-08-23 16:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595342592001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15617484635766784,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867586501076670464,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787481809000,"timestamp_ms":1787481809000,"timestamp_seconds":1787481809,"priority":1,"record_length":96,"hex_timestamp":"000001a02e37e068"} 
[2026-08-23 16:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-23 16:14:36] 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-08-23 16:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595342592001,"66":13624,"101":206,"83":41984,"24":29,"16":15617484635766784,"45":1867586501076670464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 16:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595342592001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:14:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 16:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15617484635766784,"km_value":15617484635766.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867586501076670464,"description":"Unknown IO ID 45"} 
[2026-08-23 16:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595342592001,"power":13624,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1867586501076670464}} 
[2026-08-23 16:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":161814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:14:37] local.INFO: GPS data processed {"connection_id":161814,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:14:37] local.INFO: Acknowledgment sent {"connection_id":161814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:14:39] local.INFO: TCP Data received {"connection_id":161814,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e37e450012d19f3c0071ffae0002f006025..."} 
[2026-08-23 16:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e37e450012d19f3c0071ffae0002f006025..."} 
[2026-08-23 16:14:39] local.INFO: Processing buffer {"connection_id":161814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e37e450012d19f3c0071ffae0002f006025..."} 
[2026-08-23 16:14:39] local.INFO: Packet analysis {"connection_id":161814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e37"} 
[2026-08-23 16:14:39] local.INFO: Extracted packet for processing {"connection_id":161814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e37"} 
[2026-08-23 16:14:39] local.INFO: GPS Element Parsed {"raw_longitude":756675520,"raw_latitude":119536352,"longitude_deg":75.667552,"latitude_deg":11.9536352,"altitude":47,"angle":96,"satellites":37,"speed":28,"hex_longitude":"2d19f3c0","hex_latitude":"071ffae0","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595343104001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15617518995505152,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1869204982192586752,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787481810000,"timestamp_ms":1787481810000,"timestamp_seconds":1787481810,"priority":1,"record_length":96,"hex_timestamp":"000001a02e37e450"} 
[2026-08-23 16:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-23 16:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595343104001,"66":12841,"101":206,"83":41984,"24":28,"16":15617518995505152,"45":1869204982192586752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 16:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595343104001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:14:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 16:14:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15617518995505152,"km_value":15617518995505.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1869204982192586752,"description":"Unknown IO ID 45"} 
[2026-08-23 16:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595343104001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1869204982192586752}} 
[2026-08-23 16:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":161814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:14:39] local.INFO: GPS data processed {"connection_id":161814,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:14:39] local.INFO: Acknowledgment sent {"connection_id":161814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:14:39] local.INFO: TCP Data received {"connection_id":161815,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:14:39] local.INFO: Processing buffer {"connection_id":161815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:14:39] local.INFO: IMEI packet received {"connection_id":161815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":161815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:14:44] local.INFO: TCP Data received {"connection_id":161815,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:14:44] local.INFO: Processing buffer {"connection_id":161815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:14:44] local.INFO: IMEI packet received {"connection_id":161815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":161815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:14:45] local.INFO: TCP Data received {"connection_id":161815,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e379a18012d7c3c8005e1e4400008001f29..."} 
[2026-08-23 16:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e379a18012d7c3c8005e1e4400008001f29..."} 
[2026-08-23 16:14:45] local.INFO: Processing buffer {"connection_id":161815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e379a18012d7c3c8005e1e4400008001f29..."} 
[2026-08-23 16:14:45] local.INFO: Packet analysis {"connection_id":161815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e37"} 
[2026-08-23 16:14:45] local.INFO: Extracted packet for processing {"connection_id":161815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e37"} 
[2026-08-23 16:14:45] local.INFO: GPS Element Parsed {"raw_longitude":763116672,"raw_latitude":98690112,"longitude_deg":76.3116672,"latitude_deg":9.8690112,"altitude":8,"angle":31,"satellites":41,"speed":21,"hex_longitude":"2d7c3c80","hex_latitude":"05e1e440","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595337984001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951537603360911360,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122735008380092416,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:45] 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-08-23 16:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787481791000,"timestamp_ms":1787481791000,"timestamp_seconds":1787481791,"priority":1,"record_length":96,"hex_timestamp":"000001a02e379a18"} 
[2026-08-23 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-08-23 16:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-23 16:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 16:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595337984001,"66":13189,"45":8951537603360911360,"85":15104,"24":21,"16":122735008380092416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-23 16:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595337984001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951537603360911360,"description":"Unknown IO ID 45"} 
[2026-08-23 16:14:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122735008380092416,"km_value":122735008380092.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:14:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457595337984001,"power":13189,"unknown_45":8951537603360911360,"unknown_85":15104,"ignition":21,"odometer":null}} 
[2026-08-23 16:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":161815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:14:45] local.INFO: GPS data processed {"connection_id":161815,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:14:45] local.INFO: Acknowledgment sent {"connection_id":161815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:14:46] local.INFO: TCP Data received {"connection_id":163218,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:14:46] local.INFO: Processing buffer {"connection_id":163218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:14:46] local.INFO: IMEI packet received {"connection_id":163218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":163218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:14:46] local.INFO: TCP Data received {"connection_id":161815,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e37b188012d7c448005e1f0880009002f29..."} 
[2026-08-23 16:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e37b188012d7c448005e1f0880009002f29..."} 
[2026-08-23 16:14:46] local.INFO: Processing buffer {"connection_id":161815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e37b188012d7c448005e1f0880009002f29..."} 
[2026-08-23 16:14:46] local.INFO: Packet analysis {"connection_id":161815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e37"} 
[2026-08-23 16:14:46] local.INFO: Extracted packet for processing {"connection_id":161815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e37"} 
[2026-08-23 16:14:46] local.INFO: GPS Element Parsed {"raw_longitude":763118720,"raw_latitude":98693256,"longitude_deg":76.311872,"latitude_deg":9.8693256,"altitude":9,"angle":47,"satellites":41,"speed":27,"hex_longitude":"2d7c4480","hex_latitude":"05e1f088","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595338496001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122735193063686144,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952170922058727424,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787481797000,"timestamp_ms":1787481797000,"timestamp_seconds":1787481797,"priority":1,"record_length":96,"hex_timestamp":"000001a02e37b188"} 
[2026-08-23 16:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 16:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595338496001,"66":13102,"43":206,"85":15104,"24":27,"16":122735193063686144,"45":8952170922058727424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-23 16:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595338496001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:14:46] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-23 16:14:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122735193063686144,"km_value":122735193063686.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952170922058727424,"description":"Unknown IO ID 45"} 
[2026-08-23 16:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595338496001,"power":13102,"unknown_43":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8952170922058727424}} 
[2026-08-23 16:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":161815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:14:47] local.INFO: GPS data processed {"connection_id":161815,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:14:47] local.INFO: Acknowledgment sent {"connection_id":161815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:14:51] local.INFO: TCP Data received {"connection_id":163218,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:14:51] local.INFO: Processing buffer {"connection_id":163218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:14:51] local.INFO: IMEI packet received {"connection_id":163218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":163218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:14:53] local.INFO: TCP Data received {"connection_id":163218,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:14:53] local.INFO: Processing buffer {"connection_id":163218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:14:53] local.INFO: Packet analysis {"connection_id":163218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:14:53] local.INFO: Extracted packet for processing {"connection_id":163218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:14:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595212032001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787481598000,"timestamp_ms":1787481598000,"timestamp_seconds":1787481598,"priority":1,"record_length":96,"hex_timestamp":"000001a02e34a830"} 
[2026-08-23 16:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:14:53] 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-08-23 16:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:14:53] 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-08-23 16:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595212032001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595212032001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:14:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:14:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595212032001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":163218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:14:53] local.INFO: GPS data processed {"connection_id":163218,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:14:53] local.INFO: Acknowledgment sent {"connection_id":163218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:15:11] local.INFO: TCP Data received {"connection_id":161814,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e37f3f0012d1a02c0071ff9f0002f006c26..."} 
[2026-08-23 16:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e37f3f0012d1a02c0071ff9f0002f006c26..."} 
[2026-08-23 16:15:11] local.INFO: Processing buffer {"connection_id":161814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e37f3f0012d1a02c0071ff9f0002f006c26..."} 
[2026-08-23 16:15:11] local.INFO: Packet analysis {"connection_id":161814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e37"} 
[2026-08-23 16:15:11] local.INFO: Extracted packet for processing {"connection_id":161814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e37"} 
[2026-08-23 16:15:11] local.INFO: GPS Element Parsed {"raw_longitude":756679360,"raw_latitude":119536112,"longitude_deg":75.667936,"latitude_deg":11.9536112,"altitude":47,"angle":108,"satellites":38,"speed":41,"hex_longitude":"2d1a02c0","hex_latitude":"071ff9f0","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595343360001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15617707974066176,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1870049407122726912,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787481814000,"timestamp_ms":1787481814000,"timestamp_seconds":1787481814,"priority":1,"record_length":96,"hex_timestamp":"000001a02e37f3f0"} 
[2026-08-23 16:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 16:15:11] 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-08-23 16: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-08-23 16:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595343360001,"66":13472,"101":206,"83":41984,"24":41,"16":15617707974066176,"45":1870049407122726912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 16:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595343360001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:15:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 16:15:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15617707974066176,"km_value":15617707974066.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1870049407122726912,"description":"Unknown IO ID 45"} 
[2026-08-23 16:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595343360001,"power":13472,"unknown_101":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1870049407122726912}} 
[2026-08-23 16:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":161814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:15:11] local.INFO: GPS data processed {"connection_id":161814,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:15:11] local.INFO: Acknowledgment sent {"connection_id":161814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:15:18] local.INFO: TCP Data received {"connection_id":161815,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e390948012d7d26c005e20a28000a005e29..."} 
[2026-08-23 16:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e390948012d7d26c005e20a28000a005e29..."} 
[2026-08-23 16:15:18] local.INFO: Processing buffer {"connection_id":161815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e390948012d7d26c005e20a28000a005e29..."} 
[2026-08-23 16:15:18] local.INFO: Packet analysis {"connection_id":161815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:15:18] local.INFO: Extracted packet for processing {"connection_id":161815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:15:18] local.INFO: GPS Element Parsed {"raw_longitude":763176640,"raw_latitude":98699816,"longitude_deg":76.317664,"latitude_deg":9.8699816,"altitude":10,"angle":94,"satellites":41,"speed":31,"hex_longitude":"2d7d26c0","hex_latitude":"05e20a28","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595358720001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122738203835760640,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008043704938502144,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787481885000,"timestamp_ms":1787481885000,"timestamp_seconds":1787481885,"priority":1,"record_length":96,"hex_timestamp":"000001a02e390948"} 
[2026-08-23 16:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 16:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595358720001,"66":13319,"61":206,"85":15104,"24":31,"16":122738203835760640,"45":9008043704938502144},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-23 16:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595358720001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:15:18] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 16:15:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122738203835760640,"km_value":122738203835760.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008043704938502144,"description":"Unknown IO ID 45"} 
[2026-08-23 16:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595358720001,"power":13319,"unknown_61":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9008043704938502144}} 
[2026-08-23 16:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":161815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:15:18] local.INFO: GPS data processed {"connection_id":161815,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:15:18] local.INFO: Acknowledgment sent {"connection_id":161815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:15:24] local.INFO: TCP Data received {"connection_id":163218,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:15:24] local.INFO: Processing buffer {"connection_id":163218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e34a830012d34c50006aa40980007008524..."} 
[2026-08-23 16:15:24] local.INFO: Packet analysis {"connection_id":163218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:15:24] local.INFO: Extracted packet for processing {"connection_id":163218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e34"} 
[2026-08-23 16:15:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595212032001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787481598000,"timestamp_ms":1787481598000,"timestamp_seconds":1787481598,"priority":1,"record_length":96,"hex_timestamp":"000001a02e34a830"} 
[2026-08-23 16:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:15:24] 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-08-23 16:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:15:24] 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-08-23 16:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595212032001,"66":25582,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595212032001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:15:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:15:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595212032001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":163218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:15:24] local.INFO: GPS data processed {"connection_id":163218,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:15:24] local.INFO: Acknowledgment sent {"connection_id":163218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:15:29] local.INFO: TCP Data received {"connection_id":160617,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:15:29] local.INFO: Processing buffer {"connection_id":160617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:15:29] local.INFO: IMEI packet received {"connection_id":160617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":160617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:15:32] local.INFO: TCP Data received {"connection_id":160617,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:15:32] local.INFO: Processing buffer {"connection_id":160617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:15:32] local.INFO: IMEI packet received {"connection_id":160617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":160617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:15:33] local.INFO: TCP Data received {"connection_id":160617,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e381330012d1a24c0071fefb0002f006a26..."} 
[2026-08-23 16:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e381330012d1a24c0071fefb0002f006a26..."} 
[2026-08-23 16:15:33] local.INFO: Processing buffer {"connection_id":160617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e381330012d1a24c0071fefb0002f006a26..."} 
[2026-08-23 16:15:33] local.INFO: Packet analysis {"connection_id":160617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e38"} 
[2026-08-23 16:15:33] local.INFO: Extracted packet for processing {"connection_id":160617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e38"} 
[2026-08-23 16:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756688064,"raw_latitude":119533488,"longitude_deg":75.6688064,"latitude_deg":11.9533488,"altitude":47,"angle":106,"satellites":38,"speed":47,"hex_longitude":"2d1a24c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-08-23 16:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595344384001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15618137470795776,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1874271531773325312,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787481822000,"timestamp_ms":1787481822000,"timestamp_seconds":1787481822,"priority":1,"record_length":96,"hex_timestamp":"000001a02e381330"} 
[2026-08-23 16:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-23 16:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595344384001,"66":13993,"101":206,"83":41984,"24":47,"16":15618137470795776,"45":1874271531773325312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 16:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595344384001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:15:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 16:15:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15618137470795776,"km_value":15618137470795.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1874271531773325312,"description":"Unknown IO ID 45"} 
[2026-08-23 16:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595344384001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1874271531773325312}} 
[2026-08-23 16:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":160617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:15:33] local.INFO: GPS data processed {"connection_id":160617,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:15:33] local.INFO: Acknowledgment sent {"connection_id":160617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:15:34] local.INFO: TCP Data received {"connection_id":160870,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:15:34] local.INFO: Processing buffer {"connection_id":160870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:15:34] local.INFO: IMEI packet received {"connection_id":160870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":160870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:15:39] local.INFO: TCP Data received {"connection_id":160870,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:15:39] local.INFO: Processing buffer {"connection_id":160870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:15:39] local.INFO: IMEI packet received {"connection_id":160870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":160870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:15:40] local.INFO: TCP Data received {"connection_id":160870,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e393ff8012d7d4c0005e20748000b005e29..."} 
[2026-08-23 16:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e393ff8012d7d4c0005e20748000b005e29..."} 
[2026-08-23 16:15:40] local.INFO: Processing buffer {"connection_id":160870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e393ff8012d7d4c0005e20748000b005e29..."} 
[2026-08-23 16:15:40] local.INFO: Packet analysis {"connection_id":160870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:15:40] local.INFO: Extracted packet for processing {"connection_id":160870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:15:40] local.INFO: GPS Element Parsed {"raw_longitude":763186176,"raw_latitude":98699080,"longitude_deg":76.3186176,"latitude_deg":9.869908,"altitude":11,"angle":94,"satellites":41,"speed":25,"hex_longitude":"2d7d4c00","hex_latitude":"05e20748","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595362560001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122738663397261312,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018106435355682816,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787481899000,"timestamp_ms":1787481899000,"timestamp_seconds":1787481899,"priority":1,"record_length":96,"hex_timestamp":"000001a02e393ff8"} 
[2026-08-23 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-08-23 16:15:40] 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-08-23 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 16:15:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:40] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3774873600,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:40] local.WARNING: Large IO value detected {"io_id":226,"raw_value":1461418122036717056,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-08-23 16:15:40] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2684431740,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:40] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3221611020,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792951296,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:40] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57788316829766971,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:40] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-587718456499601403,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:40] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,61,85,24,241,157,16,13,160,206,45,10,40,66,43,179,14,9,41,140,1,240,133,227,12,46,226,4,113,205,19,42,147,224,39,239,51,2,180,5,34,138,55],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-08-23 16:15:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720679470567981056,"timestamp_seconds":720679470567981.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 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-08-23 16:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595362560001,"66":13059,"61":206,"85":15104,"24":25,"16":122738663397261312,"45":9018106435355682816},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-23 16:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595362560001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:15:40] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 16:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122738663397261312,"km_value":122738663397261.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018106435355682816,"description":"Unknown IO ID 45"} 
[2026-08-23 16:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595362560001,"power":13059,"unknown_61":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9018106435355682816}} 
[2026-08-23 16:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":160870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:15:40] local.INFO: GPS data processed {"connection_id":160870,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:15:40] local.INFO: Acknowledgment sent {"connection_id":160870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:15:46] local.INFO: TCP Data received {"connection_id":160871,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:15:46] local.INFO: Processing buffer {"connection_id":160871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:15:46] local.INFO: IMEI packet received {"connection_id":160871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":160871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:15:51] local.INFO: TCP Data received {"connection_id":160871,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:15:51] local.INFO: Processing buffer {"connection_id":160871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:15:51] local.INFO: IMEI packet received {"connection_id":160871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":160871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:15:52] local.INFO: TCP Data received {"connection_id":160871,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:15:53] local.INFO: Processing buffer {"connection_id":160871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:15:53] local.INFO: Packet analysis {"connection_id":160871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:15:53] local.INFO: Extracted packet for processing {"connection_id":160871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:15:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595289088001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787481899000,"timestamp_ms":1787481899000,"timestamp_seconds":1787481899,"priority":1,"record_length":96,"hex_timestamp":"000001a02e393ff8"} 
[2026-08-23 16:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:15:53] 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-08-23 16:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:15:53] 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-08-23 16:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595289088001,"66":25517,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595289088001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:15:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:15:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595289088001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":160871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:15:53] local.INFO: GPS data processed {"connection_id":160871,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:15:53] local.INFO: Acknowledgment sent {"connection_id":160871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:16:04] local.INFO: TCP Data received {"connection_id":160617,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3995e8012d1a76c0071fcd180039016326..."} 
[2026-08-23 16:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3995e8012d1a76c0071fcd180039016326..."} 
[2026-08-23 16:16:04] local.INFO: Processing buffer {"connection_id":160617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3995e8012d1a76c0071fcd180039016326..."} 
[2026-08-23 16:16:04] local.INFO: Packet analysis {"connection_id":160617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:16:04] local.INFO: Extracted packet for processing {"connection_id":160617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:16:04] local.INFO: GPS Element Parsed {"raw_longitude":756709056,"raw_latitude":119524632,"longitude_deg":75.6709056,"latitude_deg":11.9524632,"altitude":57,"angle":355,"satellites":38,"speed":4,"hex_longitude":"2d1a76c0","hex_latitude":"071fcd18","is_valid_coordinates":true} 
[2026-08-23 16:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595371520001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15619309996867584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906992997812973568,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787481921000,"timestamp_ms":1787481921000,"timestamp_seconds":1787481921,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3995e8"} 
[2026-08-23 16:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 16:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595371520001,"66":13928,"101":206,"83":41984,"24":4,"16":15619309996867584,"45":1906992997812973568},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 16:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595371520001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:16:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 16:16:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15619309996867584,"km_value":15619309996867.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906992997812973568,"description":"Unknown IO ID 45"} 
[2026-08-23 16:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595371520001,"power":13928,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1906992997812973568}} 
[2026-08-23 16:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":160617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:16:04] local.INFO: GPS data processed {"connection_id":160617,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:16:04] local.INFO: Acknowledgment sent {"connection_id":160617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:16:11] local.INFO: TCP Data received {"connection_id":160870,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3976a8012d7d6f4005e20440000b005d2a..."} 
[2026-08-23 16:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3976a8012d7d6f4005e20440000b005d2a..."} 
[2026-08-23 16:16:11] local.INFO: Processing buffer {"connection_id":160870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3976a8012d7d6f4005e20440000b005d2a..."} 
[2026-08-23 16:16:11] local.INFO: Packet analysis {"connection_id":160870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:16:11] local.INFO: Extracted packet for processing {"connection_id":160870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:16:11] local.INFO: GPS Element Parsed {"raw_longitude":763195200,"raw_latitude":98698304,"longitude_deg":76.31952,"latitude_deg":9.8698304,"altitude":11,"angle":93,"satellites":42,"speed":23,"hex_longitude":"2d7d6f40","hex_latitude":"05e20440","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595366144001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122739092893990912,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028591378237966336,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787481913000,"timestamp_ms":1787481913000,"timestamp_seconds":1787481913,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3976a8"} 
[2026-08-23 16:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:16:11] 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-08-23 16: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-23 16:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165009349966,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:11] local.WARNING: Large IO value detected {"io_id":85,"raw_value":2550214012,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:11] local.WARNING: Large IO value detected {"io_id":43,"raw_value":58077557095399464,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-08-23 16:16:11] local.WARNING: Large IO value detected {"io_id":183,"raw_value":3221611015,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792494592,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:11] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,61,85,24,241,157,16,14,160,9,45,192,10,41,66,13,206,40,43,179,1,240,227,46,226,4,113,205,28,183,48,239,52,2,180,5,8],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-08-23 16:16:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792737064605515776,"timestamp_seconds":792737064605515.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 16:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595366144001,"66":13493,"61":206,"85":15104,"24":23,"16":122739092893990912,"45":9028591378237966336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-23 16:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595366144001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:16:11] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 16:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122739092893990912,"km_value":122739092893990.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028591378237966336,"description":"Unknown IO ID 45"} 
[2026-08-23 16:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595366144001,"power":13493,"unknown_61":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9028591378237966336}} 
[2026-08-23 16:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":160870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:16:11] local.INFO: GPS data processed {"connection_id":160870,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:16:11] local.INFO: Acknowledgment sent {"connection_id":160870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:16:24] local.INFO: TCP Data received {"connection_id":160871,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:16:24] local.INFO: Processing buffer {"connection_id":160871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:16:24] local.INFO: Packet analysis {"connection_id":160871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:16:24] local.INFO: Extracted packet for processing {"connection_id":160871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:16:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:16: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-08-23 16:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595289088001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787481899000,"timestamp_ms":1787481899000,"timestamp_seconds":1787481899,"priority":1,"record_length":96,"hex_timestamp":"000001a02e393ff8"} 
[2026-08-23 16:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:16:24] 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-08-23 16:16: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-08-23 16:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:16:24] 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-08-23 16:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595289088001,"66":25517,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595289088001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:16:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:16:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595289088001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":160871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:16:24] local.INFO: GPS data processed {"connection_id":160871,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:16:24] local.INFO: Acknowledgment sent {"connection_id":160871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:16:29] local.INFO: TCP Data received {"connection_id":160618,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:16:29] local.INFO: Processing buffer {"connection_id":160618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:16:29] local.INFO: IMEI packet received {"connection_id":160618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":160618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:16:32] local.INFO: TCP Data received {"connection_id":160618,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:16:32] local.INFO: Processing buffer {"connection_id":160618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:16:32] local.INFO: IMEI packet received {"connection_id":160618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":160618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:16:33] local.INFO: TCP Data received {"connection_id":160618,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3999d0012d1a76c0071fcd880039015826..."} 
[2026-08-23 16:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3999d0012d1a76c0071fcd880039015826..."} 
[2026-08-23 16:16:33] local.INFO: Processing buffer {"connection_id":160618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3999d0012d1a76c0071fcd880039015826..."} 
[2026-08-23 16:16:33] local.INFO: Packet analysis {"connection_id":160618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:16:33] local.INFO: Extracted packet for processing {"connection_id":160618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756709056,"raw_latitude":119524744,"longitude_deg":75.6709056,"latitude_deg":11.9524744,"altitude":57,"angle":344,"satellites":38,"speed":4,"hex_longitude":"2d1a76c0","hex_latitude":"071fcd88","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595371776001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15619318586802176,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906922629068822528,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787481922000,"timestamp_ms":1787481922000,"timestamp_seconds":1787481922,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3999d0"} 
[2026-08-23 16:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 16:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595371776001,"66":14233,"101":206,"83":41984,"24":4,"16":15619318586802176,"45":1906922629068822528},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 16:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595371776001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:16:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 16:16:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15619318586802176,"km_value":15619318586802.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906922629068822528,"description":"Unknown IO ID 45"} 
[2026-08-23 16:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595371776001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1906922629068822528}} 
[2026-08-23 16:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":160618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:16:33] local.INFO: GPS data processed {"connection_id":160618,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:16:33] local.INFO: Acknowledgment sent {"connection_id":160618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:16:34] local.INFO: TCP Data received {"connection_id":161816,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:16:34] local.INFO: Processing buffer {"connection_id":161816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:16:34] local.INFO: IMEI packet received {"connection_id":161816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":161816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:16:39] local.INFO: TCP Data received {"connection_id":161816,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:16:39] local.INFO: Processing buffer {"connection_id":161816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:16:39] local.INFO: IMEI packet received {"connection_id":161816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":161816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:16:40] local.INFO: TCP Data received {"connection_id":161816,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3a93d0012d7e2d0005e20950000500a427..."} 
[2026-08-23 16:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3a93d0012d7e2d0005e20950000500a427..."} 
[2026-08-23 16:16:40] local.INFO: Processing buffer {"connection_id":161816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3a93d0012d7e2d0005e20950000500a427..."} 
[2026-08-23 16:16:40] local.INFO: Packet analysis {"connection_id":161816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3a"} 
[2026-08-23 16:16:40] local.INFO: Extracted packet for processing {"connection_id":161816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3a"} 
[2026-08-23 16:16:40] local.INFO: GPS Element Parsed {"raw_longitude":763243776,"raw_latitude":98699600,"longitude_deg":76.3243776,"latitude_deg":9.86996,"altitude":5,"angle":164,"satellites":39,"speed":19,"hex_longitude":"2d7e2d00","hex_latitude":"05e20950","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595388160001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122741510960578560,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091782510509756416,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787481986000,"timestamp_ms":1787481986000,"timestamp_seconds":1787481986,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3a93d0"} 
[2026-08-23 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-08-23 16:16:40] 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-08-23 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-23 16:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 16:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595388160001,"66":13091,"61":206,"85":15104,"24":19,"16":122741510960578560,"45":9091782510509756416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-23 16:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595388160001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:16:40] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 16:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122741510960578560,"km_value":122741510960578.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091782510509756416,"description":"Unknown IO ID 45"} 
[2026-08-23 16:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595388160001,"power":13091,"unknown_61":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9091782510509756416}} 
[2026-08-23 16:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":161816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:16:40] local.INFO: GPS data processed {"connection_id":161816,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:16:40] local.INFO: Acknowledgment sent {"connection_id":161816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:16:45] local.INFO: TCP Data received {"connection_id":160619,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:16:45] local.INFO: Processing buffer {"connection_id":160619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:16:45] local.INFO: IMEI packet received {"connection_id":160619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":160619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:16:51] local.INFO: TCP Data received {"connection_id":160619,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:16:51] local.INFO: Processing buffer {"connection_id":160619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:16:51] local.INFO: IMEI packet received {"connection_id":160619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":160619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:16:52] local.INFO: TCP Data received {"connection_id":160619,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:16:52] local.INFO: Processing buffer {"connection_id":160619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:16:52] local.INFO: Packet analysis {"connection_id":160619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:16:52] local.INFO: Extracted packet for processing {"connection_id":160619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:16:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:16: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-08-23 16:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595289088001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787481899000,"timestamp_ms":1787481899000,"timestamp_seconds":1787481899,"priority":1,"record_length":96,"hex_timestamp":"000001a02e393ff8"} 
[2026-08-23 16:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:16:52] 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-08-23 16:16: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-08-23 16:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595289088001,"66":25517,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595289088001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:16:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:16:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595289088001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":160619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:16:52] local.INFO: GPS data processed {"connection_id":160619,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:16:52] local.INFO: Acknowledgment sent {"connection_id":160619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:17:05] local.INFO: TCP Data received {"connection_id":160618,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3a4d80012d19e540071ffeb00031012a27..."} 
[2026-08-23 16:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3a4d80012d19e540071ffeb00031012a27..."} 
[2026-08-23 16:17:05] local.INFO: Processing buffer {"connection_id":160618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3a4d80012d19e540071ffeb00031012a27..."} 
[2026-08-23 16:17:05] local.INFO: Packet analysis {"connection_id":160618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3a"} 
[2026-08-23 16:17:05] local.INFO: Extracted packet for processing {"connection_id":160618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3a"} 
[2026-08-23 16:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756671808,"raw_latitude":119537328,"longitude_deg":75.6671808,"latitude_deg":11.9537328,"altitude":49,"angle":298,"satellites":39,"speed":29,"hex_longitude":"2d19e540","hex_latitude":"071ffeb0","is_valid_coordinates":true} 
[2026-08-23 16:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595383296001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15621229847248896,"note":"Value kept but may cause issues"} 
[2026-08-23 16:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867516132332382208,"note":"Value kept but may cause issues"} 
[2026-08-23 16:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787481968000,"timestamp_ms":1787481968000,"timestamp_seconds":1787481968,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3a4d80"} 
[2026-08-23 16:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-23 16:17:05] 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-08-23 16:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595383296001,"66":14276,"101":206,"83":41984,"24":29,"16":15621229847248896,"45":1867516132332382208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 16:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595383296001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:17:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 16:17:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15621229847248896,"km_value":15621229847248.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867516132332382208,"description":"Unknown IO ID 45"} 
[2026-08-23 16:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595383296001,"power":14276,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1867516132332382208}} 
[2026-08-23 16:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":160618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:17:05] local.INFO: GPS data processed {"connection_id":160618,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:17:05] local.INFO: Acknowledgment sent {"connection_id":160618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:17:11] local.INFO: TCP Data received {"connection_id":161816,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3a97b8012d7e2d4005e20738000500b427..."} 
[2026-08-23 16:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3a97b8012d7e2d4005e20738000500b427..."} 
[2026-08-23 16:17:11] local.INFO: Processing buffer {"connection_id":161816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3a97b8012d7e2d4005e20738000500b427..."} 
[2026-08-23 16:17:11] local.INFO: Packet analysis {"connection_id":161816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3a"} 
[2026-08-23 16:17:11] local.INFO: Extracted packet for processing {"connection_id":161816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3a"} 
[2026-08-23 16:17:11] local.INFO: GPS Element Parsed {"raw_longitude":763243840,"raw_latitude":98699064,"longitude_deg":76.324384,"latitude_deg":9.8699064,"altitude":5,"angle":180,"satellites":39,"speed":21,"hex_longitude":"2d7e2d40","hex_latitude":"05e20738","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595388416001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122741536730382336,"note":"Value kept but may cause issues"} 
[2026-08-23 16:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091923247997997056,"note":"Value kept but may cause issues"} 
[2026-08-23 16:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787481987000,"timestamp_ms":1787481987000,"timestamp_seconds":1787481987,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3a97b8"} 
[2026-08-23 16:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:17:11] 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-08-23 16: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-23 16:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595388416001,"66":13091,"61":206,"85":15104,"24":21,"16":122741536730382336,"45":9091923247997997056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-23 16:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595388416001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:17:11] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-23 16:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122741536730382336,"km_value":122741536730382.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091923247997997056,"description":"Unknown IO ID 45"} 
[2026-08-23 16:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595388416001,"power":13091,"unknown_61":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9091923247997997056}} 
[2026-08-23 16:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":161816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:17:11] local.INFO: GPS data processed {"connection_id":161816,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:17:11] local.INFO: Acknowledgment sent {"connection_id":161816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:17:24] local.INFO: TCP Data received {"connection_id":160619,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:17:24] local.INFO: Processing buffer {"connection_id":160619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:17:24] local.INFO: Packet analysis {"connection_id":160619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:17:24] local.INFO: Extracted packet for processing {"connection_id":160619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:17:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595289088001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787481899000,"timestamp_ms":1787481899000,"timestamp_seconds":1787481899,"priority":1,"record_length":96,"hex_timestamp":"000001a02e393ff8"} 
[2026-08-23 16:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:17:24] 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-08-23 16: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-08-23 16:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:17: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-08-23 16:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595289088001,"66":25517,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595289088001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:17:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:17:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595289088001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":160619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:17:24] local.INFO: GPS data processed {"connection_id":160619,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:17:24] local.INFO: Acknowledgment sent {"connection_id":160619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:17:29] local.INFO: TCP Data received {"connection_id":163219,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:17:29] local.INFO: Processing buffer {"connection_id":163219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:17:29] local.INFO: IMEI packet received {"connection_id":163219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":163219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:17:32] local.INFO: TCP Data received {"connection_id":163219,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:17:32] local.INFO: Processing buffer {"connection_id":163219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:17:32] local.INFO: IMEI packet received {"connection_id":163219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":163219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:17:33] local.INFO: TCP Data received {"connection_id":163219,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3a5168012d19e340072001880032013927..."} 
[2026-08-23 16:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3a5168012d19e340072001880032013927..."} 
[2026-08-23 16:17:33] local.INFO: Processing buffer {"connection_id":163219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3a5168012d19e340072001880032013927..."} 
[2026-08-23 16:17:33] local.INFO: Packet analysis {"connection_id":163219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3a"} 
[2026-08-23 16:17:33] local.INFO: Extracted packet for processing {"connection_id":163219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3a"} 
[2026-08-23 16:17:33] local.INFO: GPS Element Parsed {"raw_longitude":756671296,"raw_latitude":119538056,"longitude_deg":75.6671296,"latitude_deg":11.9538056,"altitude":50,"angle":313,"satellites":39,"speed":32,"hex_longitude":"2d19e340","hex_latitude":"07200188","is_valid_coordinates":true} 
[2026-08-23 16:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595383808001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15621272796921856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865968019960672256,"note":"Value kept but may cause issues"} 
[2026-08-23 16:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787481969000,"timestamp_ms":1787481969000,"timestamp_seconds":1787481969,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3a5168"} 
[2026-08-23 16:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-23 16:17:33] 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-08-23 16:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":163219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":163219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":163219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595383808001,"66":14276,"101":206,"83":41984,"24":32,"16":15621272796921856,"45":1865968019960672256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 16:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595383808001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:17:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 16:17:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15621272796921856,"km_value":15621272796921.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865968019960672256,"description":"Unknown IO ID 45"} 
[2026-08-23 16:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595383808001,"power":14276,"unknown_101":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1865968019960672256}} 
[2026-08-23 16:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":163219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:17:33] local.INFO: GPS data processed {"connection_id":163219,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:17:33] local.INFO: Acknowledgment sent {"connection_id":163219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:17:34] local.INFO: TCP Data received {"connection_id":160620,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:17:34] local.INFO: Processing buffer {"connection_id":160620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:17:34] local.INFO: IMEI packet received {"connection_id":160620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":160620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:17:35] local.INFO: TCP Data received {"connection_id":160620,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:17:35] local.INFO: Processing buffer {"connection_id":160620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:17:35] local.INFO: IMEI packet received {"connection_id":160620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":160620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:17:38] local.INFO: TCP Data received {"connection_id":160620,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:17:38] local.INFO: Processing buffer {"connection_id":160620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:17:38] local.INFO: IMEI packet received {"connection_id":160620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":160620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:17:39] local.INFO: TCP Data received {"connection_id":160620,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:17:39] local.INFO: Processing buffer {"connection_id":160620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:17:39] local.INFO: IMEI packet received {"connection_id":160620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":160620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:17:40] local.INFO: TCP Data received {"connection_id":160620,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3b89e8012d7e1ec005e11d90000300c926..."} 
[2026-08-23 16:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3b89e8012d7e1ec005e11d90000300c926..."} 
[2026-08-23 16:17:40] local.INFO: Processing buffer {"connection_id":160620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3b89e8012d7e1ec005e11d90000300c926..."} 
[2026-08-23 16:17:40] local.INFO: Packet analysis {"connection_id":160620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3b"} 
[2026-08-23 16:17:40] local.INFO: Extracted packet for processing {"connection_id":160620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3b"} 
[2026-08-23 16:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763240128,"raw_latitude":98639248,"longitude_deg":76.3240128,"latitude_deg":9.8639248,"altitude":3,"angle":201,"satellites":38,"speed":40,"hex_longitude":"2d7e1ec0","hex_latitude":"05e11d90","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595404032001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122744495962849280,"note":"Value kept but may cause issues"} 
[2026-08-23 16:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088615917006694400,"note":"Value kept but may cause issues"} 
[2026-08-23 16:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787482049000,"timestamp_ms":1787482049000,"timestamp_seconds":1787482049,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3b89e8"} 
[2026-08-23 16:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:17:40] 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-08-23 16: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-23 16:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595404032001,"66":12743,"105":206,"85":15104,"24":40,"16":122744495962849280,"45":9088615917006694400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-23 16:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595404032001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:17:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122744495962849280,"km_value":122744495962849.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088615917006694400,"description":"Unknown IO ID 45"} 
[2026-08-23 16:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595404032001,"power":12743,"unknown_105":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9088615917006694400}} 
[2026-08-23 16:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":160620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:17:40] local.INFO: GPS data processed {"connection_id":160620,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:17:40] local.INFO: Acknowledgment sent {"connection_id":160620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:17:45] local.INFO: TCP Data received {"connection_id":163220,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:17:45] local.INFO: Processing buffer {"connection_id":163220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:17:45] local.INFO: IMEI packet received {"connection_id":163220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":163220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:17:51] local.INFO: TCP Data received {"connection_id":163220,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:17:51] local.INFO: Processing buffer {"connection_id":163220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:17:51] local.INFO: IMEI packet received {"connection_id":163220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":163220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:17:52] local.INFO: TCP Data received {"connection_id":163220,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:17:52] local.INFO: Processing buffer {"connection_id":163220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:17:52] local.INFO: Packet analysis {"connection_id":163220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:17:52] local.INFO: Extracted packet for processing {"connection_id":163220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595289088001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787481899000,"timestamp_ms":1787481899000,"timestamp_seconds":1787481899,"priority":1,"record_length":96,"hex_timestamp":"000001a02e393ff8"} 
[2026-08-23 16:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:17:52] 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-08-23 16:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:17:52] 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-08-23 16:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595289088001,"66":25517,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595289088001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:17:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595289088001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":163220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:17:52] local.INFO: GPS data processed {"connection_id":163220,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:17:52] local.INFO: Acknowledgment sent {"connection_id":163220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:18:04] local.INFO: TCP Data received {"connection_id":163219,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3b5b08012d19b7400720ab600032013427..."} 
[2026-08-23 16:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3b5b08012d19b7400720ab600032013427..."} 
[2026-08-23 16:18:04] local.INFO: Processing buffer {"connection_id":163219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3b5b08012d19b7400720ab600032013427..."} 
[2026-08-23 16:18:04] local.INFO: Packet analysis {"connection_id":163219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3b"} 
[2026-08-23 16:18:04] local.INFO: Extracted packet for processing {"connection_id":163219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3b"} 
[2026-08-23 16:18:04] local.INFO: GPS Element Parsed {"raw_longitude":756660032,"raw_latitude":119581536,"longitude_deg":75.6660032,"latitude_deg":11.9581536,"altitude":50,"angle":308,"satellites":39,"speed":20,"hex_longitude":"2d19b740","hex_latitude":"0720ab60","is_valid_coordinates":true} 
[2026-08-23 16:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595401216001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15623647913836544,"note":"Value kept but may cause issues"} 
[2026-08-23 16:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996640768,"note":"Value kept but may cause issues"} 
[2026-08-23 16:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787482037000,"timestamp_ms":1787482037000,"timestamp_seconds":1787482037,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3b5b08"} 
[2026-08-23 16:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-23 16:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595401216001,"66":13863,"103":206,"83":41984,"24":20,"16":15623647913836544,"45":1853583120996640768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595401216001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:18:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:18:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15623647913836544,"km_value":15623647913836.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996640768,"description":"Unknown IO ID 45"} 
[2026-08-23 16:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595401216001,"power":13863,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1853583120996640768}} 
[2026-08-23 16:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":163219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:18:04] local.INFO: GPS data processed {"connection_id":163219,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:18:04] local.INFO: Acknowledgment sent {"connection_id":163219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:18:11] local.INFO: TCP Data received {"connection_id":160620,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3b91b8012d7e1a8005e11710000300d726..."} 
[2026-08-23 16:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3b91b8012d7e1a8005e11710000300d726..."} 
[2026-08-23 16:18:11] local.INFO: Processing buffer {"connection_id":160620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3b91b8012d7e1a8005e11710000300d726..."} 
[2026-08-23 16:18:11] local.INFO: Packet analysis {"connection_id":160620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3b"} 
[2026-08-23 16:18:11] local.INFO: Extracted packet for processing {"connection_id":160620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3b"} 
[2026-08-23 16:18:11] local.INFO: GPS Element Parsed {"raw_longitude":763239040,"raw_latitude":98637584,"longitude_deg":76.323904,"latitude_deg":9.8637584,"altitude":3,"angle":215,"satellites":38,"speed":39,"hex_longitude":"2d7e1a80","hex_latitude":"05e11710","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595404544001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122744594747097088,"note":"Value kept but may cause issues"} 
[2026-08-23 16:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087912229564420096,"note":"Value kept but may cause issues"} 
[2026-08-23 16:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787482051000,"timestamp_ms":1787482051000,"timestamp_seconds":1787482051,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3b91b8"} 
[2026-08-23 16:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:18:11] 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-08-23 16: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-23 16:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595404544001,"66":12026,"105":206,"85":15104,"24":39,"16":122744594747097088,"45":9087912229564420096},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-23 16:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595404544001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:18:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122744594747097088,"km_value":122744594747097.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087912229564420096,"description":"Unknown IO ID 45"} 
[2026-08-23 16:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595404544001,"power":12026,"unknown_105":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9087912229564420096}} 
[2026-08-23 16:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":160620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:18:11] local.INFO: GPS data processed {"connection_id":160620,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:18:11] local.INFO: Acknowledgment sent {"connection_id":160620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:18:23] local.INFO: TCP Data received {"connection_id":163220,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:18:24] local.INFO: Processing buffer {"connection_id":163220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:18:24] local.INFO: Packet analysis {"connection_id":163220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:18:24] local.INFO: Extracted packet for processing {"connection_id":163220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:18:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595289088001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787481899000,"timestamp_ms":1787481899000,"timestamp_seconds":1787481899,"priority":1,"record_length":96,"hex_timestamp":"000001a02e393ff8"} 
[2026-08-23 16:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:18:24] 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-08-23 16:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:18:24] 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-08-23 16:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595289088001,"66":25517,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595289088001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:18:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:18:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595289088001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":163220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:18:24] local.INFO: GPS data processed {"connection_id":163220,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:18:24] local.INFO: Acknowledgment sent {"connection_id":163220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:18:29] local.INFO: TCP Data received {"connection_id":161817,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:18:29] local.INFO: Processing buffer {"connection_id":161817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:18:29] local.INFO: IMEI packet received {"connection_id":161817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":161817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:18:30] local.INFO: TCP Data received {"connection_id":161817,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:18:30] local.INFO: Processing buffer {"connection_id":161817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:18:30] local.INFO: IMEI packet received {"connection_id":161817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":161817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:18:34] local.INFO: TCP Data received {"connection_id":163221,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163221,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:18:34] local.INFO: Processing buffer {"connection_id":163221,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:18:34] local.INFO: IMEI packet received {"connection_id":163221,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":163221,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:18:35] local.INFO: TCP Data received {"connection_id":161817,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:18:35] local.INFO: Processing buffer {"connection_id":161817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:18:35] local.INFO: IMEI packet received {"connection_id":161817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":161817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:18:36] local.INFO: TCP Data received {"connection_id":161817,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3b62d8012d19b2000720ada00034012826..."} 
[2026-08-23 16:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3b62d8012d19b2000720ada00034012826..."} 
[2026-08-23 16:18:36] local.INFO: Processing buffer {"connection_id":161817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3b62d8012d19b2000720ada00034012826..."} 
[2026-08-23 16:18:36] local.INFO: Packet analysis {"connection_id":161817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3b"} 
[2026-08-23 16:18:36] local.INFO: Extracted packet for processing {"connection_id":161817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3b"} 
[2026-08-23 16:18:36] local.INFO: GPS Element Parsed {"raw_longitude":756658688,"raw_latitude":119582112,"longitude_deg":75.6658688,"latitude_deg":11.9582112,"altitude":52,"angle":296,"satellites":38,"speed":26,"hex_longitude":"2d19b200","hex_latitude":"0720ada0","is_valid_coordinates":true} 
[2026-08-23 16:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595401472001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15623712338345984,"note":"Value kept but may cause issues"} 
[2026-08-23 16:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853020171043299328,"note":"Value kept but may cause issues"} 
[2026-08-23 16:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787482039000,"timestamp_ms":1787482039000,"timestamp_seconds":1787482039,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3b62d8"} 
[2026-08-23 16:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-23 16:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595401472001,"66":13863,"103":206,"83":41984,"24":26,"16":15623712338345984,"45":1853020171043299328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595401472001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:18:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15623712338345984,"km_value":15623712338345.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853020171043299328,"description":"Unknown IO ID 45"} 
[2026-08-23 16:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595401472001,"power":13863,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1853020171043299328}} 
[2026-08-23 16:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":161817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:18:36] local.INFO: GPS data processed {"connection_id":161817,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:18:36] local.INFO: Acknowledgment sent {"connection_id":161817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:18:39] local.INFO: TCP Data received {"connection_id":163221,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163221,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:18:39] local.INFO: Processing buffer {"connection_id":163221,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:18:39] local.INFO: IMEI packet received {"connection_id":163221,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":163221,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:18:40] local.INFO: TCP Data received {"connection_id":163221,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3c39b0012d7e304005e0aba80004009627..."} 
[2026-08-23 16:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3c39b0012d7e304005e0aba80004009627..."} 
[2026-08-23 16:18:40] local.INFO: Processing buffer {"connection_id":163221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3c39b0012d7e304005e0aba80004009627..."} 
[2026-08-23 16:18:40] local.INFO: Packet analysis {"connection_id":163221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3c"} 
[2026-08-23 16:18:40] local.INFO: Extracted packet for processing {"connection_id":163221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3c"} 
[2026-08-23 16:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763244608,"raw_latitude":98610088,"longitude_deg":76.3244608,"latitude_deg":9.8610088,"altitude":4,"angle":150,"satellites":39,"speed":28,"hex_longitude":"2d7e3040","hex_latitude":"05e0aba8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595415296001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122746149525258240,"note":"Value kept but may cause issues"} 
[2026-08-23 16:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091571404254574592,"note":"Value kept but may cause issues"} 
[2026-08-23 16:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787482094000,"timestamp_ms":1787482094000,"timestamp_seconds":1787482094,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3c39b0"} 
[2026-08-23 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-08-23 16:18:40] 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-08-23 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-23 16:18:40] 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-08-23 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-08-23 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-08-23 16:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595415296001,"66":13048,"105":206,"85":15104,"24":28,"16":122746149525258240,"45":9091571404254574592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-23 16:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595415296001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:18:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122746149525258240,"km_value":122746149525258.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091571404254574592,"description":"Unknown IO ID 45"} 
[2026-08-23 16:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595415296001,"power":13048,"unknown_105":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9091571404254574592}} 
[2026-08-23 16:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":163221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:18:40] local.INFO: GPS data processed {"connection_id":163221,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:18:40] local.INFO: Acknowledgment sent {"connection_id":163221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:18:51] local.INFO: TCP Data received {"connection_id":161818,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:18:51] local.INFO: Processing buffer {"connection_id":161818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:18:51] local.INFO: IMEI packet received {"connection_id":161818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":161818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:18:56] local.INFO: TCP Data received {"connection_id":161818,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:18:56] local.INFO: Processing buffer {"connection_id":161818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:18:56] local.INFO: IMEI packet received {"connection_id":161818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":161818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:18:57] local.INFO: TCP Data received {"connection_id":161818,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:18:57] local.INFO: Processing buffer {"connection_id":161818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:18:57] local.INFO: Packet analysis {"connection_id":161818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:18:57] local.INFO: Extracted packet for processing {"connection_id":161818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:18:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595289088001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787481899000,"timestamp_ms":1787481899000,"timestamp_seconds":1787481899,"priority":1,"record_length":96,"hex_timestamp":"000001a02e393ff8"} 
[2026-08-23 16:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:18:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595289088001,"66":25517,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595289088001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:18:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:18:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595289088001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":161818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:18:57] local.INFO: GPS data processed {"connection_id":161818,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:18:57] local.INFO: Acknowledgment sent {"connection_id":161818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:19:02] local.INFO: TCP Data received {"connection_id":161818,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:19:02] local.INFO: Processing buffer {"connection_id":161818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:19:02] local.INFO: Packet analysis {"connection_id":161818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:19:02] local.INFO: Extracted packet for processing {"connection_id":161818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:19:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595289088001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787481899000,"timestamp_ms":1787481899000,"timestamp_seconds":1787481899,"priority":1,"record_length":96,"hex_timestamp":"000001a02e393ff8"} 
[2026-08-23 16:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595289088001,"66":25517,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595289088001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:19:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:19:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595289088001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":161818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:19:02] local.INFO: GPS data processed {"connection_id":161818,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:19:02] local.INFO: Acknowledgment sent {"connection_id":161818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:19:07] local.INFO: TCP Data received {"connection_id":161817,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3b6e90012d19aa400720aff80036011926..."} 
[2026-08-23 16:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3b6e90012d19aa400720aff80036011926..."} 
[2026-08-23 16:19:07] local.INFO: Processing buffer {"connection_id":161817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3b6e90012d19aa400720aff80036011926..."} 
[2026-08-23 16:19:07] local.INFO: Packet analysis {"connection_id":161817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3b"} 
[2026-08-23 16:19:07] local.INFO: Extracted packet for processing {"connection_id":161817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3b"} 
[2026-08-23 16:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756656704,"raw_latitude":119582712,"longitude_deg":75.6656704,"latitude_deg":11.9582712,"altitude":54,"angle":281,"satellites":38,"speed":26,"hex_longitude":"2d19aa40","hex_latitude":"0720aff8","is_valid_coordinates":true} 
[2026-08-23 16:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595401984001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15623811122593792,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851542427415715840,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787482042000,"timestamp_ms":1787482042000,"timestamp_seconds":1787482042,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3b6e90"} 
[2026-08-23 16:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-23 16:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595401984001,"66":14048,"103":206,"83":41984,"24":26,"16":15623811122593792,"45":1851542427415715840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595401984001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:19:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15623811122593792,"km_value":15623811122593.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851542427415715840,"description":"Unknown IO ID 45"} 
[2026-08-23 16:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595401984001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1851542427415715840}} 
[2026-08-23 16:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":161817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:19:07] local.INFO: GPS data processed {"connection_id":161817,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:19:07] local.INFO: Acknowledgment sent {"connection_id":161817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:19:12] local.INFO: TCP Data received {"connection_id":163221,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3c4180012d7e328005e0a5a8000300a628..."} 
[2026-08-23 16:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3c4180012d7e328005e0a5a8000300a628..."} 
[2026-08-23 16:19:12] local.INFO: Processing buffer {"connection_id":163221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3c4180012d7e328005e0a5a8000300a628..."} 
[2026-08-23 16:19:12] local.INFO: Packet analysis {"connection_id":163221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3c"} 
[2026-08-23 16:19:12] local.INFO: Extracted packet for processing {"connection_id":163221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3c"} 
[2026-08-23 16:19:12] local.INFO: GPS Element Parsed {"raw_longitude":763245184,"raw_latitude":98608552,"longitude_deg":76.3245184,"latitude_deg":9.8608552,"altitude":3,"angle":166,"satellites":40,"speed":34,"hex_longitude":"2d7e3280","hex_latitude":"05e0a5a8","is_valid_coordinates":true} 
[2026-08-23 16:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595416064001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122746226834669568,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092838041649391616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787482096000,"timestamp_ms":1787482096000,"timestamp_seconds":1787482096,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3c4180"} 
[2026-08-23 16:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-23 16:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595416064001,"66":13222,"105":206,"85":15104,"24":34,"16":122746226834669568,"45":9092838041649391616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-23 16:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595416064001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:19:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:19:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122746226834669568,"km_value":122746226834669.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092838041649391616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595416064001,"power":13222,"unknown_105":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9092838041649391616}} 
[2026-08-23 16:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":163221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:19:12] local.INFO: GPS data processed {"connection_id":163221,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:19:12] local.INFO: Acknowledgment sent {"connection_id":163221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:19:29] local.INFO: TCP Data received {"connection_id":160621,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:19:29] local.INFO: Processing buffer {"connection_id":160621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:19:29] local.INFO: IMEI packet received {"connection_id":160621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":160621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:19:32] local.INFO: TCP Data received {"connection_id":160621,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:19:32] local.INFO: Processing buffer {"connection_id":160621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:19:32] local.INFO: IMEI packet received {"connection_id":160621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":160621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:19:34] local.INFO: TCP Data received {"connection_id":160621,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:19:34] local.INFO: Processing buffer {"connection_id":160621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:19:34] local.INFO: IMEI packet received {"connection_id":160621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":160621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:19:35] local.INFO: TCP Data received {"connection_id":160621,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3c8bb8012d18d540072101f80040014f26..."} 
[2026-08-23 16:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3c8bb8012d18d540072101f80040014f26..."} 
[2026-08-23 16:19:35] local.INFO: Processing buffer {"connection_id":160621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3c8bb8012d18d540072101f80040014f26..."} 
[2026-08-23 16:19:35] local.INFO: Packet analysis {"connection_id":160621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3c"} 
[2026-08-23 16:19:35] local.INFO: Extracted packet for processing {"connection_id":160621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3c"} 
[2026-08-23 16:19:35] local.INFO: GPS Element Parsed {"raw_longitude":756602176,"raw_latitude":119603704,"longitude_deg":75.6602176,"latitude_deg":11.9603704,"altitude":64,"angle":335,"satellites":38,"speed":36,"hex_longitude":"2d18d540","hex_latitude":"072101f8","is_valid_coordinates":true} 
[2026-08-23 16:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595420160001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15626826189635584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792784526032037888,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787482115000,"timestamp_ms":1787482115000,"timestamp_seconds":1787482115,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3c8bb8"} 
[2026-08-23 16:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 16:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595420160001,"66":14428,"103":206,"83":41984,"24":36,"16":15626826189635584,"45":1792784526032037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595420160001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:19:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:19:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15626826189635584,"km_value":15626826189635.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792784526032037888,"description":"Unknown IO ID 45"} 
[2026-08-23 16:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595420160001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1792784526032037888}} 
[2026-08-23 16:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":160621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:19:35] local.INFO: GPS data processed {"connection_id":160621,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:19:35] local.INFO: Acknowledgment sent {"connection_id":160621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:19:36] local.INFO: TCP Data received {"connection_id":160621,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3c9b58012d18d1c007210ee00040015d25..."} 
[2026-08-23 16:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3c9b58012d18d1c007210ee00040015d25..."} 
[2026-08-23 16:19:36] local.INFO: Processing buffer {"connection_id":160621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3c9b58012d18d1c007210ee00040015d25..."} 
[2026-08-23 16:19:36] local.INFO: Packet analysis {"connection_id":160621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3c"} 
[2026-08-23 16:19:36] local.INFO: Extracted packet for processing {"connection_id":160621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3c"} 
[2026-08-23 16:19:36] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607008,"longitude_deg":75.660128,"latitude_deg":11.9607008,"altitude":64,"angle":349,"satellites":37,"speed":33,"hex_longitude":"2d18d1c0","hex_latitude":"07210ee0","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595421440001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15626993693360128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789406826312366080,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787482119000,"timestamp_ms":1787482119000,"timestamp_seconds":1787482119,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3c9b58"} 
[2026-08-23 16:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 16:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595421440001,"66":14374,"103":206,"83":41984,"24":33,"16":15626993693360128,"45":1789406826312366080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595421440001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:19:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:19:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15626993693360128,"km_value":15626993693360.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789406826312366080,"description":"Unknown IO ID 45"} 
[2026-08-23 16:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595421440001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1789406826312366080}} 
[2026-08-23 16:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":160621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:19:36] local.INFO: GPS data processed {"connection_id":160621,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:19:36] local.INFO: Acknowledgment sent {"connection_id":160621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:19:39] local.INFO: TCP Data received {"connection_id":160872,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:19:39] local.INFO: Processing buffer {"connection_id":160872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:19:39] local.INFO: IMEI packet received {"connection_id":160872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":160872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:19:44] local.INFO: TCP Data received {"connection_id":160872,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:19:44] local.INFO: Processing buffer {"connection_id":160872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:19:44] local.INFO: IMEI packet received {"connection_id":160872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":160872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:19:45] local.INFO: TCP Data received {"connection_id":160872,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3c64a8012d7e398005e08380000300a429..."} 
[2026-08-23 16:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3c64a8012d7e398005e08380000300a429..."} 
[2026-08-23 16:19:45] local.INFO: Processing buffer {"connection_id":160872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3c64a8012d7e398005e08380000300a429..."} 
[2026-08-23 16:19:45] local.INFO: Packet analysis {"connection_id":160872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3c"} 
[2026-08-23 16:19:45] local.INFO: Extracted packet for processing {"connection_id":160872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3c"} 
[2026-08-23 16:19:45] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":98599808,"longitude_deg":76.3246976,"latitude_deg":9.8599808,"altitude":3,"angle":164,"satellites":41,"speed":41,"hex_longitude":"2d7e3980","hex_latitude":"05e08380","is_valid_coordinates":true} 
[2026-08-23 16:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595416576001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122746660626366464,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093471360346597376,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787482105000,"timestamp_ms":1787482105000,"timestamp_seconds":1787482105,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3c64a8"} 
[2026-08-23 16:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 16:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595416576001,"66":12819,"105":206,"85":15104,"24":41,"16":122746660626366464,"45":9093471360346597376},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-23 16:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595416576001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:19:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:19:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122746660626366464,"km_value":122746660626366.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093471360346597376,"description":"Unknown IO ID 45"} 
[2026-08-23 16:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595416576001,"power":12819,"unknown_105":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9093471360346597376}} 
[2026-08-23 16:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":160872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:19:45] local.INFO: GPS data processed {"connection_id":160872,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:19:45] local.INFO: Acknowledgment sent {"connection_id":160872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:19:46] local.INFO: TCP Data received {"connection_id":160873,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:19:46] local.INFO: Processing buffer {"connection_id":160873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:19:46] local.INFO: IMEI packet received {"connection_id":160873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":160873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:19:46] local.INFO: TCP Data received {"connection_id":160872,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3c8000012d7e3f4005e06918000300b228..."} 
[2026-08-23 16:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3c8000012d7e3f4005e06918000300b228..."} 
[2026-08-23 16:19:46] local.INFO: Processing buffer {"connection_id":160872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3c8000012d7e3f4005e06918000300b228..."} 
[2026-08-23 16:19:46] local.INFO: Packet analysis {"connection_id":160872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3c"} 
[2026-08-23 16:19:46] local.INFO: Extracted packet for processing {"connection_id":160872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3c"} 
[2026-08-23 16:19:46] local.INFO: GPS Element Parsed {"raw_longitude":763248448,"raw_latitude":98593048,"longitude_deg":76.3248448,"latitude_deg":9.8593048,"altitude":3,"angle":178,"satellites":40,"speed":37,"hex_longitude":"2d7e3f40","hex_latitude":"05e06918","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595418880001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122746995633815552,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441685181333504,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787482112000,"timestamp_ms":1787482112000,"timestamp_seconds":1787482112,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3c8000"} 
[2026-08-23 16:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 16:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:46] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2147868862,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:46] local.WARNING: Large IO value detected {"io_id":20,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505472577568768,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:46] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4323200560636236224,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:46] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3168796676,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:46] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6370624034085470232,"corrected_to":0} 
[2026-08-23 16:19:46] local.WARNING: Large IO value detected {"io_id":6,"raw_value":3892391294,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:46] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182225414652160,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:46] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070424,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2250849835588477146,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:46] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-576234972700946859,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:46] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755523995238641,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:46] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195075584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:46] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84862578396094662,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:46] local.WARNING: Large IO value detected {"io_id":72,"raw_value":845160023858688,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:46] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,105,85,24,241,157,16,21,160,65,45,128,165,3,40,10,66,57,64,171,4,39,20,192,1,240,254,227,46,224,113,205,32,6,239,51,2,180,5,29,50,59,144,69,48,72],"length":625,"final_offset":755,"validated_count":46,"validation_warnings":[{"io_id":205,"original":6370624034085470232,"validated":0}]} 
[2026-08-23 16:19:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216353278117085184,"timestamp_seconds":216353278117085.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 16:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595418880001,"66":13276,"104":206,"85":15104,"24":37,"16":122746995633815552,"45":9095441685181333504},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-23 16:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595418880001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:19:46] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-23 16:19:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122746995633815552,"km_value":122746995633815.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441685181333504,"description":"Unknown IO ID 45"} 
[2026-08-23 16:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595418880001,"power":13276,"unknown_104":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9095441685181333504}} 
[2026-08-23 16:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":160872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:19:46] local.INFO: GPS data processed {"connection_id":160872,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:19:46] local.INFO: Acknowledgment sent {"connection_id":160872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:19:51] local.INFO: TCP Data received {"connection_id":160873,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:19:51] local.INFO: Processing buffer {"connection_id":160873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:19:51] local.INFO: IMEI packet received {"connection_id":160873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":160873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:19:52] local.INFO: TCP Data received {"connection_id":160873,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:19:52] local.INFO: Processing buffer {"connection_id":160873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:19:52] local.INFO: Packet analysis {"connection_id":160873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:19:52] local.INFO: Extracted packet for processing {"connection_id":160873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595289088001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787481899000,"timestamp_ms":1787481899000,"timestamp_seconds":1787481899,"priority":1,"record_length":96,"hex_timestamp":"000001a02e393ff8"} 
[2026-08-23 16:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:19:52] 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-08-23 16:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:19:52] 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-08-23 16:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595289088001,"66":25517,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595289088001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:19:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595289088001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":160873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:19:52] local.INFO: GPS data processed {"connection_id":160873,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:19:52] local.INFO: Acknowledgment sent {"connection_id":160873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:20:07] local.INFO: TCP Data received {"connection_id":160621,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3ca710012d18d140072119700040000125..."} 
[2026-08-23 16:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3ca710012d18d140072119700040000125..."} 
[2026-08-23 16:20:07] local.INFO: Processing buffer {"connection_id":160621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3ca710012d18d140072119700040000125..."} 
[2026-08-23 16:20:07] local.INFO: Packet analysis {"connection_id":160621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3c"} 
[2026-08-23 16:20:07] local.INFO: Extracted packet for processing {"connection_id":160621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3c"} 
[2026-08-23 16:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756601152,"raw_latitude":119609712,"longitude_deg":75.6601152,"latitude_deg":11.9609712,"altitude":64,"angle":1,"satellites":37,"speed":36,"hex_longitude":"2d18d140","hex_latitude":"07211970","is_valid_coordinates":true} 
[2026-08-23 16:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595422464001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15627122542379008,"note":"Value kept but may cause issues"} 
[2026-08-23 16:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894724608,"note":"Value kept but may cause issues"} 
[2026-08-23 16:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787482122000,"timestamp_ms":1787482122000,"timestamp_seconds":1787482122,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3ca710"} 
[2026-08-23 16:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-23 16:20: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-08-23 16:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595422464001,"66":14396,"103":206,"83":41984,"24":36,"16":15627122542379008,"45":1788421663894724608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595422464001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:20:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:20:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15627122542379008,"km_value":15627122542379.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894724608,"description":"Unknown IO ID 45"} 
[2026-08-23 16:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595422464001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1788421663894724608}} 
[2026-08-23 16:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":160621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:20:07] local.INFO: GPS data processed {"connection_id":160621,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:20:07] local.INFO: Acknowledgment sent {"connection_id":160621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:20:17] local.INFO: TCP Data received {"connection_id":160872,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3ca328012d7e428005e04470000200a628..."} 
[2026-08-23 16:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3ca328012d7e428005e04470000200a628..."} 
[2026-08-23 16:20:17] local.INFO: Processing buffer {"connection_id":160872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3ca328012d7e428005e04470000200a628..."} 
[2026-08-23 16:20:17] local.INFO: Packet analysis {"connection_id":160872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3c"} 
[2026-08-23 16:20:17] local.INFO: Extracted packet for processing {"connection_id":160872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3c"} 
[2026-08-23 16:20:17] local.INFO: GPS Element Parsed {"raw_longitude":763249280,"raw_latitude":98583664,"longitude_deg":76.324928,"latitude_deg":9.8583664,"altitude":2,"angle":166,"satellites":40,"speed":44,"hex_longitude":"2d7e4280","hex_latitude":"05e04470","is_valid_coordinates":true} 
[2026-08-23 16:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595420672001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122747455195316224,"note":"Value kept but may cause issues"} 
[2026-08-23 16:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097060166295689216,"note":"Value kept but may cause issues"} 
[2026-08-23 16:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787482121000,"timestamp_ms":1787482121000,"timestamp_seconds":1787482121,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3ca328"} 
[2026-08-23 16:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 16:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595420672001,"66":13504,"104":206,"85":15104,"24":44,"16":122747455195316224,"45":9097060166295689216},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-23 16:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595420672001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:20:17] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-23 16:20:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122747455195316224,"km_value":122747455195316.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097060166295689216,"description":"Unknown IO ID 45"} 
[2026-08-23 16:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595420672001,"power":13504,"unknown_104":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9097060166295689216}} 
[2026-08-23 16:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":160872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:20:17] local.INFO: GPS data processed {"connection_id":160872,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:20:17] local.INFO: Acknowledgment sent {"connection_id":160872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:20:23] local.INFO: TCP Data received {"connection_id":160873,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:20:23] local.INFO: Processing buffer {"connection_id":160873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e393ff8012d34c50006aa40980007008522..."} 
[2026-08-23 16:20:23] local.INFO: Packet analysis {"connection_id":160873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:20:23] local.INFO: Extracted packet for processing {"connection_id":160873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e39"} 
[2026-08-23 16:20:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":7,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595289088001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787481899000,"timestamp_ms":1787481899000,"timestamp_seconds":1787481899,"priority":1,"record_length":96,"hex_timestamp":"000001a02e393ff8"} 
[2026-08-23 16:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 16:20:23] 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-08-23 16:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:20:23] 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-08-23 16:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595289088001,"66":25517,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595289088001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:20:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:20:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595289088001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":160873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:20:23] local.INFO: GPS data processed {"connection_id":160873,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:20:23] local.INFO: Acknowledgment sent {"connection_id":160873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:20:29] local.INFO: TCP Data received {"connection_id":161819,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:20:29] local.INFO: Processing buffer {"connection_id":161819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:20:29] local.INFO: IMEI packet received {"connection_id":161819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":161819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:20:30] local.INFO: TCP Data received {"connection_id":161819,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:20:30] local.INFO: Processing buffer {"connection_id":161819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:20:30] local.INFO: IMEI packet received {"connection_id":161819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":161819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:20:34] local.INFO: TCP Data received {"connection_id":161819,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:20:34] local.INFO: Processing buffer {"connection_id":161819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:20:34] local.INFO: IMEI packet received {"connection_id":161819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":161819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:20:34] local.INFO: TCP Data received {"connection_id":160874,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:20:34] local.INFO: Processing buffer {"connection_id":160874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:20:34] local.INFO: IMEI packet received {"connection_id":160874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":160874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:20:34] local.INFO: TCP Data received {"connection_id":161819,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3d6290012d187f80072181c8004a010e26..."} 
[2026-08-23 16:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3d6290012d187f80072181c8004a010e26..."} 
[2026-08-23 16:20:34] local.INFO: Processing buffer {"connection_id":161819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3d6290012d187f80072181c8004a010e26..."} 
[2026-08-23 16:20:34] local.INFO: Packet analysis {"connection_id":161819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:20:34] local.INFO: Extracted packet for processing {"connection_id":161819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:20:34] local.INFO: GPS Element Parsed {"raw_longitude":756580224,"raw_latitude":119636424,"longitude_deg":75.6580224,"latitude_deg":11.9636424,"altitude":74,"angle":270,"satellites":38,"speed":43,"hex_longitude":"2d187f80","hex_latitude":"072181c8","is_valid_coordinates":true} 
[2026-08-23 16:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595435520001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15628930723610624,"note":"Value kept but may cause issues"} 
[2026-08-23 16:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765270347067803648,"note":"Value kept but may cause issues"} 
[2026-08-23 16:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787482170000,"timestamp_ms":1787482170000,"timestamp_seconds":1787482170,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3d6290"} 
[2026-08-23 16:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-23 16:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595435520001,"66":14102,"105":206,"83":41984,"24":43,"16":15628930723610624,"45":1765270347067803648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595435520001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:20:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:20:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15628930723610624,"km_value":15628930723610.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765270347067803648,"description":"Unknown IO ID 45"} 
[2026-08-23 16:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595435520001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1765270347067803648}} 
[2026-08-23 16:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":161819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:20:34] local.INFO: GPS data processed {"connection_id":161819,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:20:34] local.INFO: Acknowledgment sent {"connection_id":161819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:20:39] local.INFO: TCP Data received {"connection_id":160874,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:20:39] local.INFO: Processing buffer {"connection_id":160874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:20:39] local.INFO: IMEI packet received {"connection_id":160874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":160874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:20:40] local.INFO: TCP Data received {"connection_id":160874,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3ca328012d7e428005e04470000200a628..."} 
[2026-08-23 16:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3ca328012d7e428005e04470000200a628..."} 
[2026-08-23 16:20:40] local.INFO: Processing buffer {"connection_id":160874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3ca328012d7e428005e04470000200a628..."} 
[2026-08-23 16:20:40] local.INFO: Packet analysis {"connection_id":160874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3c"} 
[2026-08-23 16:20:40] local.INFO: Extracted packet for processing {"connection_id":160874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3c"} 
[2026-08-23 16:20:40] local.INFO: GPS Element Parsed {"raw_longitude":763249280,"raw_latitude":98583664,"longitude_deg":76.324928,"latitude_deg":9.8583664,"altitude":2,"angle":166,"satellites":40,"speed":44,"hex_longitude":"2d7e4280","hex_latitude":"05e04470","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595422976001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122747455195316224,"note":"Value kept but may cause issues"} 
[2026-08-23 16:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097974959967596544,"note":"Value kept but may cause issues"} 
[2026-08-23 16:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787482121000,"timestamp_ms":1787482121000,"timestamp_seconds":1787482121,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3ca328"} 
[2026-08-23 16:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:20:40] 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-08-23 16: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-23 16:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595422976001,"66":13504,"104":206,"85":15104,"24":44,"16":122747455195316224,"45":9097974959967596544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-23 16:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595422976001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:20:40] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-23 16:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122747455195316224,"km_value":122747455195316.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097974959967596544,"description":"Unknown IO ID 45"} 
[2026-08-23 16:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595422976001,"power":13504,"unknown_104":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9097974959967596544}} 
[2026-08-23 16:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":160874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:20:40] local.INFO: GPS data processed {"connection_id":160874,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:20:40] local.INFO: Acknowledgment sent {"connection_id":160874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:20:46] local.INFO: TCP Data received {"connection_id":160622,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:20:46] local.INFO: Processing buffer {"connection_id":160622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:20:46] local.INFO: IMEI packet received {"connection_id":160622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":160622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:20:51] local.INFO: TCP Data received {"connection_id":160622,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:20:51] local.INFO: Processing buffer {"connection_id":160622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:20:51] local.INFO: IMEI packet received {"connection_id":160622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":160622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:20:54] local.INFO: TCP Data received {"connection_id":160622,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:20:54] local.INFO: Processing buffer {"connection_id":160622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:20:54] local.INFO: Packet analysis {"connection_id":160622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:20:54] local.INFO: Extracted packet for processing {"connection_id":160622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:20:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595366144001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787482200000,"timestamp_ms":1787482200000,"timestamp_seconds":1787482200,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3dd7c0"} 
[2026-08-23 16:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595366144001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595366144001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:20:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:20:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595366144001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":160622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:20:54] local.INFO: GPS data processed {"connection_id":160622,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:20:54] local.INFO: Acknowledgment sent {"connection_id":160622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:21:05] local.INFO: TCP Data received {"connection_id":161819,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3d7de8012d1860c007218278004a011d24..."} 
[2026-08-23 16:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3d7de8012d1860c007218278004a011d24..."} 
[2026-08-23 16:21:05] local.INFO: Processing buffer {"connection_id":161819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3d7de8012d1860c007218278004a011d24..."} 
[2026-08-23 16:21:05] local.INFO: Packet analysis {"connection_id":161819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:21:05] local.INFO: Extracted packet for processing {"connection_id":161819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756572352,"raw_latitude":119636600,"longitude_deg":75.6572352,"latitude_deg":11.96366,"altitude":74,"angle":285,"satellites":36,"speed":44,"hex_longitude":"2d1860c0","hex_latitude":"07218278","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595435520001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15629304385765376,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765270347067803648,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787482177000,"timestamp_ms":1787482177000,"timestamp_seconds":1787482177,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3d7de8"} 
[2026-08-23 16:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-23 16:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595435520001,"66":14080,"105":206,"83":41984,"24":44,"16":15629304385765376,"45":1765270347067803648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595435520001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:21:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15629304385765376,"km_value":15629304385765.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765270347067803648,"description":"Unknown IO ID 45"} 
[2026-08-23 16:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595435520001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1765270347067803648}} 
[2026-08-23 16:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":161819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:21:06] local.INFO: GPS data processed {"connection_id":161819,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:21:06] local.INFO: Acknowledgment sent {"connection_id":161819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:21:11] local.INFO: TCP Data received {"connection_id":160874,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3cc650012d7e4f0005e02238000000a02c..."} 
[2026-08-23 16:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3cc650012d7e4f0005e02238000000a02c..."} 
[2026-08-23 16:21:11] local.INFO: Processing buffer {"connection_id":160874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3cc650012d7e4f0005e02238000000a02c..."} 
[2026-08-23 16:21:11] local.INFO: Packet analysis {"connection_id":160874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3c"} 
[2026-08-23 16:21:11] local.INFO: Extracted packet for processing {"connection_id":160874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3c"} 
[2026-08-23 16:21:11] local.INFO: GPS Element Parsed {"raw_longitude":763252480,"raw_latitude":98574904,"longitude_deg":76.325248,"latitude_deg":9.8574904,"altitude":0,"angle":160,"satellites":44,"speed":41,"hex_longitude":"2d7e4f00","hex_latitude":"05e02238","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595422976001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122747906166882304,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097974959967596544,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787482130000,"timestamp_ms":1787482130000,"timestamp_seconds":1787482130,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3cc650"} 
[2026-08-23 16:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:21:11] 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-08-23 16: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-23 16:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595422976001,"66":12961,"104":206,"85":15104,"24":41,"16":122747906166882304,"45":9097974959967596544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-23 16:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595422976001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:21:11] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-23 16:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122747906166882304,"km_value":122747906166882.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097974959967596544,"description":"Unknown IO ID 45"} 
[2026-08-23 16:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595422976001,"power":12961,"unknown_104":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9097974959967596544}} 
[2026-08-23 16:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":160874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:21:11] local.INFO: GPS data processed {"connection_id":160874,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:21:11] local.INFO: Acknowledgment sent {"connection_id":160874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:21:29] local.INFO: TCP Data received {"connection_id":161820,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:21:29] local.INFO: Processing buffer {"connection_id":161820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:21:29] local.INFO: IMEI packet received {"connection_id":161820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":161820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:21:32] local.INFO: TCP Data received {"connection_id":161821,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:21:32] local.INFO: Processing buffer {"connection_id":161821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:21:32] local.INFO: IMEI packet received {"connection_id":161821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":161821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:21:33] local.INFO: TCP Data received {"connection_id":161820,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:21:33] local.INFO: Processing buffer {"connection_id":161820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:21:33] local.INFO: IMEI packet received {"connection_id":161820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":161820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:21:34] local.INFO: TCP Data received {"connection_id":161820,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:21:34] local.INFO: Processing buffer {"connection_id":161820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:21:34] local.INFO: IMEI packet received {"connection_id":161820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":161820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:21:34] local.INFO: TCP Data received {"connection_id":161820,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3d85b8012d1858c0072185c0004b012822..."} 
[2026-08-23 16:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3d85b8012d1858c0072185c0004b012822..."} 
[2026-08-23 16:21:34] local.INFO: Processing buffer {"connection_id":161820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3d85b8012d1858c0072185c0004b012822..."} 
[2026-08-23 16:21:34] local.INFO: Packet analysis {"connection_id":161820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:21:34] local.INFO: Extracted packet for processing {"connection_id":161820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:21:34] local.INFO: GPS Element Parsed {"raw_longitude":756570304,"raw_latitude":119637440,"longitude_deg":75.6570304,"latitude_deg":11.963744,"altitude":75,"angle":296,"satellites":34,"speed":43,"hex_longitude":"2d1858c0","hex_latitude":"072185c0","is_valid_coordinates":true} 
[2026-08-23 16:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595437312001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15629411759947776,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756614991533996032,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787482179000,"timestamp_ms":1787482179000,"timestamp_seconds":1787482179,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3d85b8"} 
[2026-08-23 16:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-23 16:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-23 16:21:34] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:34] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2147950959,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:34] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2245853184,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,134,160,98,45,128,129,74,38,10,66,59,192,1,240,28,227,46,33,4,113,205,31,43,174,48,239,54,106,2,55,7,70,18],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-23 16:21:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332575474242289664,"timestamp_seconds":5332575474242290.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 16:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595437312001,"66":14048,"105":206,"83":41984,"24":43,"16":15629411759947776,"45":1756614991533996032},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595437312001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:21:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:21:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15629411759947776,"km_value":15629411759947.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756614991533996032,"description":"Unknown IO ID 45"} 
[2026-08-23 16:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595437312001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1756614991533996032}} 
[2026-08-23 16:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":161820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:21:35] local.INFO: GPS data processed {"connection_id":161820,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:21:35] local.INFO: Acknowledgment sent {"connection_id":161820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:21:35] local.INFO: TCP Data received {"connection_id":161821,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:21:35] local.INFO: Processing buffer {"connection_id":161821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:21:35] local.INFO: IMEI packet received {"connection_id":161821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":161821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:21:36] local.INFO: TCP Data received {"connection_id":160622,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:21:36] local.INFO: Processing buffer {"connection_id":160622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:21:36] local.INFO: Packet analysis {"connection_id":160622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:21:36] local.INFO: Extracted packet for processing {"connection_id":160622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595366144001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787482200000,"timestamp_ms":1787482200000,"timestamp_seconds":1787482200,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3dd7c0"} 
[2026-08-23 16:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595366144001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595366144001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:21:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:21:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595366144001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":160622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:21:36] local.INFO: GPS data processed {"connection_id":160622,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:21:36] local.INFO: Acknowledgment sent {"connection_id":160622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:21:39] local.INFO: TCP Data received {"connection_id":161821,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:21:39] local.INFO: Processing buffer {"connection_id":161821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:21:39] local.INFO: IMEI packet received {"connection_id":161821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":161821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:21:40] local.INFO: TCP Data received {"connection_id":161821,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3ec220012d7ea90005df1870000900912a..."} 
[2026-08-23 16:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3ec220012d7ea90005df1870000900912a..."} 
[2026-08-23 16:21:40] local.INFO: Processing buffer {"connection_id":161821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3ec220012d7ea90005df1870000900912a..."} 
[2026-08-23 16:21:40] local.INFO: Packet analysis {"connection_id":161821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3e"} 
[2026-08-23 16:21:40] local.INFO: Extracted packet for processing {"connection_id":161821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3e"} 
[2026-08-23 16:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763275520,"raw_latitude":98506864,"longitude_deg":76.327552,"latitude_deg":9.8506864,"altitude":9,"angle":145,"satellites":42,"speed":24,"hex_longitude":"2d7ea900","hex_latitude":"05df1870","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595457024001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122751402270261248,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125348401433815040,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:40] 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-08-23 16:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787482260000,"timestamp_ms":1787482260000,"timestamp_seconds":1787482260,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3ec220"} 
[2026-08-23 16:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 16:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595457024001,"66":13254,"207":206,"85":15104,"24":24,"16":122751402270261248,"45":9125348401433815040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-23 16:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595457024001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:21:40] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-23 16:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122751402270261248,"km_value":122751402270261.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125348401433815040,"description":"Unknown IO ID 45"} 
[2026-08-23 16:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595457024001,"power":13254,"unknown_207":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9125348401433815040}} 
[2026-08-23 16:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":161821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:21:40] local.INFO: GPS data processed {"connection_id":161821,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:21:40] local.INFO: Acknowledgment sent {"connection_id":161821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:21:45] local.INFO: TCP Data received {"connection_id":160875,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:21:45] local.INFO: Processing buffer {"connection_id":160875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:21:45] local.INFO: IMEI packet received {"connection_id":160875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":160875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:21:51] local.INFO: TCP Data received {"connection_id":160875,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:21:51] local.INFO: Processing buffer {"connection_id":160875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:21:51] local.INFO: IMEI packet received {"connection_id":160875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":160875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:21:52] local.INFO: TCP Data received {"connection_id":160875,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:21:52] local.INFO: Processing buffer {"connection_id":160875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:21:52] local.INFO: Packet analysis {"connection_id":160875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:21:52] local.INFO: Extracted packet for processing {"connection_id":160875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:21:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:21: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-08-23 16:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595366144001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787482200000,"timestamp_ms":1787482200000,"timestamp_seconds":1787482200,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3dd7c0"} 
[2026-08-23 16:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:21: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-08-23 16:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:21: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-08-23 16:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595366144001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595366144001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:21:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:21:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595366144001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":160875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:21:52] local.INFO: GPS data processed {"connection_id":160875,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:21:52] local.INFO: Acknowledgment sent {"connection_id":160875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:22:06] local.INFO: TCP Data received {"connection_id":161820,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3f1810012d1824400721b6a8004b014f27..."} 
[2026-08-23 16:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3f1810012d1824400721b6a8004b014f27..."} 
[2026-08-23 16:22:06] local.INFO: Processing buffer {"connection_id":161820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3f1810012d1824400721b6a8004b014f27..."} 
[2026-08-23 16:22:06] local.INFO: Packet analysis {"connection_id":161820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3f"} 
[2026-08-23 16:22:06] local.INFO: Extracted packet for processing {"connection_id":161820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3f"} 
[2026-08-23 16:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119649960,"longitude_deg":75.6556864,"latitude_deg":11.964996,"altitude":75,"angle":335,"satellites":39,"speed":7,"hex_longitude":"2d182440","hex_latitude":"0721b6a8","is_valid_coordinates":true} 
[2026-08-23 16:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595463936001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630485501771776,"note":"Value kept but may cause issues"} 
[2026-08-23 16:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190552064,"note":"Value kept but may cause issues"} 
[2026-08-23 16:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787482282000,"timestamp_ms":1787482282000,"timestamp_seconds":1787482282,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3f1810"} 
[2026-08-23 16:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:22:06] local.INFO: 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-08-23 16:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 16:22:06] 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-08-23 16:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595463936001,"66":14461,"105":206,"83":41984,"24":7,"16":15630485501771776,"45":1739656124190552064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595463936001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:22:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630485501771776,"km_value":15630485501771.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190552064,"description":"Unknown IO ID 45"} 
[2026-08-23 16:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595463936001,"power":14461,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739656124190552064}} 
[2026-08-23 16:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":161820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:22:06] local.INFO: GPS data processed {"connection_id":161820,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:22:06] local.INFO: Acknowledgment sent {"connection_id":161820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:22:12] local.INFO: TCP Data received {"connection_id":161821,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3ef100012d7ebcc005df02e8000a008529..."} 
[2026-08-23 16:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3ef100012d7ebcc005df02e8000a008529..."} 
[2026-08-23 16:22:12] local.INFO: Processing buffer {"connection_id":161821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3ef100012d7ebcc005df02e8000a008529..."} 
[2026-08-23 16:22:12] local.INFO: Packet analysis {"connection_id":161821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3e"} 
[2026-08-23 16:22:12] local.INFO: Extracted packet for processing {"connection_id":161821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3e"} 
[2026-08-23 16:22:12] local.INFO: GPS Element Parsed {"raw_longitude":763280576,"raw_latitude":98501352,"longitude_deg":76.3280576,"latitude_deg":9.8501352,"altitude":10,"angle":133,"satellites":41,"speed":12,"hex_longitude":"2d7ebcc0","hex_latitude":"05df02e8","is_valid_coordinates":true} 
[2026-08-23 16:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595458560001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122751763047514112,"note":"Value kept but may cause issues"} 
[2026-08-23 16:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126826145060777984,"note":"Value kept but may cause issues"} 
[2026-08-23 16:22: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-08-23 16:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787482272000,"timestamp_ms":1787482272000,"timestamp_seconds":1787482272,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3ef100"} 
[2026-08-23 16:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-23 16:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595458560001,"66":13298,"207":206,"85":15104,"24":12,"16":122751763047514112,"45":9126826145060777984},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-23 16:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595458560001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:22:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-23 16:22:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122751763047514112,"km_value":122751763047514.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126826145060777984,"description":"Unknown IO ID 45"} 
[2026-08-23 16:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595458560001,"power":13298,"unknown_207":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9126826145060777984}} 
[2026-08-23 16:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":161821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:22:12] local.INFO: GPS data processed {"connection_id":161821,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:22:12] local.INFO: Acknowledgment sent {"connection_id":161821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:22:24] local.INFO: TCP Data received {"connection_id":160875,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:22:24] local.INFO: Processing buffer {"connection_id":160875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:22:24] local.INFO: Packet analysis {"connection_id":160875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:22:24] local.INFO: Extracted packet for processing {"connection_id":160875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:22:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595366144001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787482200000,"timestamp_ms":1787482200000,"timestamp_seconds":1787482200,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3dd7c0"} 
[2026-08-23 16:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:22:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595366144001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595366144001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:22:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:22:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595366144001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":160875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:22:24] local.INFO: GPS data processed {"connection_id":160875,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:22:24] local.INFO: Acknowledgment sent {"connection_id":160875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:22:34] local.INFO: TCP Data received {"connection_id":161822,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:22:34] local.INFO: Processing buffer {"connection_id":161822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:22:34] local.INFO: IMEI packet received {"connection_id":161822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":161822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:22:34] local.INFO: TCP Data received {"connection_id":160876,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:22:34] local.INFO: Processing buffer {"connection_id":160876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:22:34] local.INFO: IMEI packet received {"connection_id":160876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":160876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:22:39] local.INFO: TCP Data received {"connection_id":160876,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:22:39] local.INFO: Processing buffer {"connection_id":160876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:22:39] local.INFO: IMEI packet received {"connection_id":160876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":160876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:22:39] local.INFO: TCP Data received {"connection_id":161822,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:22:39] local.INFO: Processing buffer {"connection_id":161822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:22:39] local.INFO: IMEI packet received {"connection_id":161822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":161822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:22:40] local.INFO: TCP Data received {"connection_id":160876,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3f1bf8012d1823800721b740004b013d27..."} 
[2026-08-23 16:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3f1bf8012d1823800721b740004b013d27..."} 
[2026-08-23 16:22:40] local.INFO: Processing buffer {"connection_id":160876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3f1bf8012d1823800721b740004b013d27..."} 
[2026-08-23 16:22:40] local.INFO: Packet analysis {"connection_id":160876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3f"} 
[2026-08-23 16:22:40] local.INFO: Extracted packet for processing {"connection_id":160876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3f"} 
[2026-08-23 16:22:40] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650112,"longitude_deg":75.6556672,"latitude_deg":11.9650112,"altitude":75,"angle":317,"satellites":39,"speed":7,"hex_longitude":"2d182380","hex_latitude":"0721b740","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595464192001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630498386673664,"note":"Value kept but may cause issues"} 
[2026-08-23 16:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446421504,"note":"Value kept but may cause issues"} 
[2026-08-23 16:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787482283000,"timestamp_ms":1787482283000,"timestamp_seconds":1787482283,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3f1bf8"} 
[2026-08-23 16:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 16:22:40] 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-08-23 16: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-08-23 16:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595464192001,"66":14461,"105":206,"83":41984,"24":7,"16":15630498386673664,"45":1739585755446421504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595464192001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:22:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:22:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630498386673664,"km_value":15630498386673.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446421504,"description":"Unknown IO ID 45"} 
[2026-08-23 16:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595464192001,"power":14461,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739585755446421504}} 
[2026-08-23 16:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":160876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:22:40] local.INFO: GPS data processed {"connection_id":160876,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:22:40] local.INFO: Acknowledgment sent {"connection_id":160876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:22:40] local.INFO: TCP Data received {"connection_id":161822,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3f0870012d7ec18005defdb0000a009724..."} 
[2026-08-23 16:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3f0870012d7ec18005defdb0000a009724..."} 
[2026-08-23 16:22:40] local.INFO: Processing buffer {"connection_id":161822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3f0870012d7ec18005defdb0000a009724..."} 
[2026-08-23 16:22:40] local.INFO: Packet analysis {"connection_id":161822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3f"} 
[2026-08-23 16:22:40] local.INFO: Extracted packet for processing {"connection_id":161822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3f"} 
[2026-08-23 16:22:40] local.INFO: GPS Element Parsed {"raw_longitude":763281792,"raw_latitude":98500016,"longitude_deg":76.3281792,"latitude_deg":9.8500016,"altitude":10,"angle":151,"satellites":36,"speed":7,"hex_longitude":"2d7ec180","hex_latitude":"05defdb0","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595461632001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122751853241827328,"note":"Value kept but may cause issues"} 
[2026-08-23 16:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132385275849402368,"note":"Value kept but may cause issues"} 
[2026-08-23 16:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787482278000,"timestamp_ms":1787482278000,"timestamp_seconds":1787482278,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3f0870"} 
[2026-08-23 16:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-23 16:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595461632001,"66":12841,"206":206,"85":15104,"24":7,"16":122751853241827328,"45":9132385275849402368},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-08-23 16:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595461632001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:22:40] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-23 16:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122751853241827328,"km_value":122751853241827.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132385275849402368,"description":"Unknown IO ID 45"} 
[2026-08-23 16:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595461632001,"power":12841,"unknown_206":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9132385275849402368}} 
[2026-08-23 16:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":161822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:22:40] local.INFO: GPS data processed {"connection_id":161822,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:22:40] local.INFO: Acknowledgment sent {"connection_id":161822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:22:44] local.INFO: TCP Data received {"connection_id":160876,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3f1fe0012d1823000721b7b8004b013127..."} 
[2026-08-23 16:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3f1fe0012d1823000721b7b8004b013127..."} 
[2026-08-23 16:22:44] local.INFO: Processing buffer {"connection_id":160876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3f1fe0012d1823000721b7b8004b013127..."} 
[2026-08-23 16:22:44] local.INFO: Packet analysis {"connection_id":160876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3f"} 
[2026-08-23 16:22:44] local.INFO: Extracted packet for processing {"connection_id":160876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3f"} 
[2026-08-23 16:22:44] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650232,"longitude_deg":75.6556544,"latitude_deg":11.9650232,"altitude":75,"angle":305,"satellites":39,"speed":5,"hex_longitude":"2d182300","hex_latitude":"0721b7b8","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595464448001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630506976608256,"note":"Value kept but may cause issues"} 
[2026-08-23 16:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213927424,"note":"Value kept but may cause issues"} 
[2026-08-23 16:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787482284000,"timestamp_ms":1787482284000,"timestamp_seconds":1787482284,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3f1fe0"} 
[2026-08-23 16:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:22:44] local.INFO: 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-08-23 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 16:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595464448001,"66":14461,"105":206,"83":41984,"24":5,"16":15630506976608256,"45":1739374649213927424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595464448001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:22:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:22:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630506976608256,"km_value":15630506976608.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213927424,"description":"Unknown IO ID 45"} 
[2026-08-23 16:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595464448001,"power":14461,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739374649213927424}} 
[2026-08-23 16:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":160876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:22:45] local.INFO: GPS data processed {"connection_id":160876,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:22:45] local.INFO: Acknowledgment sent {"connection_id":160876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:22:45] local.INFO: TCP Data received {"connection_id":161823,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:22:45] local.INFO: Processing buffer {"connection_id":161823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:22:45] local.INFO: IMEI packet received {"connection_id":161823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":161823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:22:51] local.INFO: TCP Data received {"connection_id":161823,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:22:51] local.INFO: Processing buffer {"connection_id":161823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:22:51] local.INFO: IMEI packet received {"connection_id":161823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":161823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:22:52] local.INFO: TCP Data received {"connection_id":161823,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:22:52] local.INFO: Processing buffer {"connection_id":161823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:22:52] local.INFO: Packet analysis {"connection_id":161823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:22:52] local.INFO: Extracted packet for processing {"connection_id":161823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:22:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595366144001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787482200000,"timestamp_ms":1787482200000,"timestamp_seconds":1787482200,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3dd7c0"} 
[2026-08-23 16:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:22:52] 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-08-23 16:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595366144001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595366144001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:22:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:22:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595366144001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":161823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:22:52] local.INFO: GPS data processed {"connection_id":161823,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:22:52] local.INFO: Acknowledgment sent {"connection_id":161823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:23:11] local.INFO: TCP Data received {"connection_id":161822,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3f3b38012d7eccc005deeaa8000800a429..."} 
[2026-08-23 16:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3f3b38012d7eccc005deeaa8000800a429..."} 
[2026-08-23 16:23:12] local.INFO: Processing buffer {"connection_id":161822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3f3b38012d7eccc005deeaa8000800a429..."} 
[2026-08-23 16:23:12] local.INFO: Packet analysis {"connection_id":161822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3f"} 
[2026-08-23 16:23:12] local.INFO: Extracted packet for processing {"connection_id":161822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3f"} 
[2026-08-23 16:23:12] local.INFO: GPS Element Parsed {"raw_longitude":763284672,"raw_latitude":98495144,"longitude_deg":76.3284672,"latitude_deg":9.8495144,"altitude":8,"angle":164,"satellites":41,"speed":31,"hex_longitude":"2d7eccc0","hex_latitude":"05deeaa8","is_valid_coordinates":true} 
[2026-08-23 16:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595463168001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122752128119734272,"note":"Value kept but may cause issues"} 
[2026-08-23 16:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133722281988435968,"note":"Value kept but may cause issues"} 
[2026-08-23 16:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787482291000,"timestamp_ms":1787482291000,"timestamp_seconds":1787482291,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3f3b38"} 
[2026-08-23 16:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 16:23:12] 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-08-23 16:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595463168001,"66":12982,"206":206,"85":15104,"24":31,"16":122752128119734272,"45":9133722281988435968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-08-23 16:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595463168001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:23:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-23 16:23:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122752128119734272,"km_value":122752128119734.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133722281988435968,"description":"Unknown IO ID 45"} 
[2026-08-23 16:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595463168001,"power":12982,"unknown_206":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9133722281988435968}} 
[2026-08-23 16:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":161822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:23:12] local.INFO: GPS data processed {"connection_id":161822,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:23:12] local.INFO: Acknowledgment sent {"connection_id":161822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:23:23] local.INFO: TCP Data received {"connection_id":161823,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:23:23] local.INFO: Processing buffer {"connection_id":161823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:23:23] local.INFO: Packet analysis {"connection_id":161823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:23:23] local.INFO: Extracted packet for processing {"connection_id":161823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:23:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595366144001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787482200000,"timestamp_ms":1787482200000,"timestamp_seconds":1787482200,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3dd7c0"} 
[2026-08-23 16:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595366144001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595366144001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:23:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:23:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595366144001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":161823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:23:23] local.INFO: GPS data processed {"connection_id":161823,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:23:23] local.INFO: Acknowledgment sent {"connection_id":161823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:23:26] local.INFO: TCP Data received {"connection_id":163222,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:23:26] local.INFO: Processing buffer {"connection_id":163222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:23:26] local.INFO: IMEI packet received {"connection_id":163222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":163222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:23:29] local.INFO: TCP Data received {"connection_id":163222,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:23:29] local.INFO: Processing buffer {"connection_id":163222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:23:29] local.INFO: IMEI packet received {"connection_id":163222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":163222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:23:34] local.INFO: TCP Data received {"connection_id":163222,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:23:34] local.INFO: Processing buffer {"connection_id":163222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:23:34] local.INFO: IMEI packet received {"connection_id":163222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":163222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:23:34] local.INFO: TCP Data received {"connection_id":163223,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:23:34] local.INFO: Processing buffer {"connection_id":163223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:23:34] local.INFO: IMEI packet received {"connection_id":163223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":163223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:23:34] local.INFO: TCP Data received {"connection_id":163222,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3f71e8012d1822800721b830004c013127..."} 
[2026-08-23 16:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3f71e8012d1822800721b830004c013127..."} 
[2026-08-23 16:23:34] local.INFO: Processing buffer {"connection_id":163222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3f71e8012d1822800721b830004c013127..."} 
[2026-08-23 16:23:34] local.INFO: Packet analysis {"connection_id":163222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3f"} 
[2026-08-23 16:23:34] local.INFO: Extracted packet for processing {"connection_id":163222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3f"} 
[2026-08-23 16:23:34] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119650352,"longitude_deg":75.6556416,"latitude_deg":11.9650352,"altitude":76,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-08-23 16:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595464704001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630545631313920,"note":"Value kept but may cause issues"} 
[2026-08-23 16:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725602816,"note":"Value kept but may cause issues"} 
[2026-08-23 16:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787482305000,"timestamp_ms":1787482305000,"timestamp_seconds":1787482305,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3f71e8"} 
[2026-08-23 16:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 16:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595464704001,"66":14004,"105":206,"83":41984,"24":0,"16":15630545631313920,"45":1739233911725602816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595464704001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:23:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:23:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630545631313920,"km_value":15630545631313.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725602816,"description":"Unknown IO ID 45"} 
[2026-08-23 16:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595464704001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725602816}} 
[2026-08-23 16:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":163222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:23:35] local.INFO: GPS data processed {"connection_id":163222,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:23:35] local.INFO: Acknowledgment sent {"connection_id":163222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:23:39] local.INFO: TCP Data received {"connection_id":163223,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:23:39] local.INFO: Processing buffer {"connection_id":163223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:23:39] local.INFO: IMEI packet received {"connection_id":163223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":163223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:23:40] local.INFO: TCP Data received {"connection_id":163223,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e40a680012d7f350005ddbb080003009f2a..."} 
[2026-08-23 16:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e40a680012d7f350005ddbb080003009f2a..."} 
[2026-08-23 16:23:40] local.INFO: Processing buffer {"connection_id":163223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e40a680012d7f350005ddbb080003009f2a..."} 
[2026-08-23 16:23:40] local.INFO: Packet analysis {"connection_id":163223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e40"} 
[2026-08-23 16:23:40] local.INFO: Extracted packet for processing {"connection_id":163223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e40"} 
[2026-08-23 16:23:40] local.INFO: GPS Element Parsed {"raw_longitude":763311360,"raw_latitude":98417416,"longitude_deg":76.331136,"latitude_deg":9.8417416,"altitude":3,"angle":159,"satellites":42,"speed":44,"hex_longitude":"2d7f3500","hex_latitude":"05ddbb08","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595490304001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122756148209123328,"note":"Value kept but may cause issues"} 
[2026-08-23 16:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166232641777371136,"note":"Value kept but may cause issues"} 
[2026-08-23 16:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787482384000,"timestamp_ms":1787482384000,"timestamp_seconds":1787482384,"priority":1,"record_length":96,"hex_timestamp":"000001a02e40a680"} 
[2026-08-23 16:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-23 16:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595490304001,"66":12939,"101":206,"85":15104,"24":44,"16":122756148209123328,"45":9166232641777371136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-08-23 16:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595490304001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:23:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 16:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122756148209123328,"km_value":122756148209123.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166232641777371136,"description":"Unknown IO ID 45"} 
[2026-08-23 16:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595490304001,"power":12939,"unknown_101":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9166232641777371136}} 
[2026-08-23 16:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":163223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:23:41] local.INFO: GPS data processed {"connection_id":163223,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:23:41] local.INFO: Acknowledgment sent {"connection_id":163223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:23:46] local.INFO: TCP Data received {"connection_id":160623,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:23:46] local.INFO: Processing buffer {"connection_id":160623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:23:46] local.INFO: IMEI packet received {"connection_id":160623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":160623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:23:51] local.INFO: TCP Data received {"connection_id":160623,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:23:51] local.INFO: Processing buffer {"connection_id":160623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:23:51] local.INFO: IMEI packet received {"connection_id":160623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":160623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:23:52] local.INFO: TCP Data received {"connection_id":160623,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:23:52] local.INFO: Processing buffer {"connection_id":160623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:23:52] local.INFO: Packet analysis {"connection_id":160623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:23:52] local.INFO: Extracted packet for processing {"connection_id":160623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595366144001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787482200000,"timestamp_ms":1787482200000,"timestamp_seconds":1787482200,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3dd7c0"} 
[2026-08-23 16:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595366144001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595366144001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:23:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595366144001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":160623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:23:52] local.INFO: GPS data processed {"connection_id":160623,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:23:52] local.INFO: Acknowledgment sent {"connection_id":160623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:24:06] local.INFO: TCP Data received {"connection_id":163222,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3fc3f0012d1823400721b7d0004b013127..."} 
[2026-08-23 16:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3fc3f0012d1823400721b7d0004b013127..."} 
[2026-08-23 16:24:06] local.INFO: Processing buffer {"connection_id":163222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3fc3f0012d1823400721b7d0004b013127..."} 
[2026-08-23 16:24:06] local.INFO: Packet analysis {"connection_id":163222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3f"} 
[2026-08-23 16:24:06] local.INFO: Extracted packet for processing {"connection_id":163222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3f"} 
[2026-08-23 16:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650256,"longitude_deg":75.6556608,"latitude_deg":11.9650256,"altitude":75,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b7d0","is_valid_coordinates":true} 
[2026-08-23 16:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595470080001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630567106150400,"note":"Value kept but may cause issues"} 
[2026-08-23 16:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237278208,"note":"Value kept but may cause issues"} 
[2026-08-23 16:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787482326000,"timestamp_ms":1787482326000,"timestamp_seconds":1787482326,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3fc3f0"} 
[2026-08-23 16:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:24:06] local.INFO: 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-08-23 16:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-23 16:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595470080001,"66":13091,"105":206,"83":41984,"24":0,"16":15630567106150400,"45":1739093174237278208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595470080001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:24:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630567106150400,"km_value":15630567106150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237278208,"description":"Unknown IO ID 45"} 
[2026-08-23 16:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595470080001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237278208}} 
[2026-08-23 16:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":163222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:24:06] local.INFO: GPS data processed {"connection_id":163222,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:24:06] local.INFO: Acknowledgment sent {"connection_id":163222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:24:20] local.INFO: TCP Data received {"connection_id":163223,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e40c1d8012d7f3dc005dd9b80000200af29..."} 
[2026-08-23 16:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e40c1d8012d7f3dc005dd9b80000200af29..."} 
[2026-08-23 16:24:20] local.INFO: Processing buffer {"connection_id":163223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e40c1d8012d7f3dc005dd9b80000200af29..."} 
[2026-08-23 16:24:20] local.INFO: Packet analysis {"connection_id":163223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e40"} 
[2026-08-23 16:24:20] local.INFO: Extracted packet for processing {"connection_id":163223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e40"} 
[2026-08-23 16:24:20] local.INFO: GPS Element Parsed {"raw_longitude":763313600,"raw_latitude":98409344,"longitude_deg":76.33136,"latitude_deg":9.8409344,"altitude":2,"angle":175,"satellites":41,"speed":46,"hex_longitude":"2d7f3dc0","hex_latitude":"05dd9b80","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595490304001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122756556231016448,"note":"Value kept but may cause issues"} 
[2026-08-23 16:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166232641777371136,"note":"Value kept but may cause issues"} 
[2026-08-23 16:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787482391000,"timestamp_ms":1787482391000,"timestamp_seconds":1787482391,"priority":1,"record_length":96,"hex_timestamp":"000001a02e40c1d8"} 
[2026-08-23 16:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-23 16:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595490304001,"66":13254,"101":206,"85":15104,"24":46,"16":122756556231016448,"45":9166232641777371136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-08-23 16:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595490304001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:24:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 16:24:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122756556231016448,"km_value":122756556231016.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166232641777371136,"description":"Unknown IO ID 45"} 
[2026-08-23 16:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595490304001,"power":13254,"unknown_101":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9166232641777371136}} 
[2026-08-23 16:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":163223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:24:20] local.INFO: GPS data processed {"connection_id":163223,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:24:20] local.INFO: Acknowledgment sent {"connection_id":163223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:24:24] local.INFO: TCP Data received {"connection_id":160623,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:24:24] local.INFO: Processing buffer {"connection_id":160623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:24:24] local.INFO: Packet analysis {"connection_id":160623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:24:24] local.INFO: Extracted packet for processing {"connection_id":160623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:24:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595366144001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787482200000,"timestamp_ms":1787482200000,"timestamp_seconds":1787482200,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3dd7c0"} 
[2026-08-23 16:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595366144001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595366144001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:24:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:24:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595366144001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":160623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:24:24] local.INFO: GPS data processed {"connection_id":160623,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:24:24] local.INFO: Acknowledgment sent {"connection_id":160623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:24:29] local.INFO: TCP Data received {"connection_id":163224,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:24:29] local.INFO: Processing buffer {"connection_id":163224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:24:29] local.INFO: IMEI packet received {"connection_id":163224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":163224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:24:30] local.INFO: TCP Data received {"connection_id":163224,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:24:30] local.INFO: Processing buffer {"connection_id":163224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:24:30] local.INFO: IMEI packet received {"connection_id":163224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":163224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:24:34] local.INFO: TCP Data received {"connection_id":163224,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:24:34] local.INFO: Processing buffer {"connection_id":163224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:24:34] local.INFO: IMEI packet received {"connection_id":163224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":163224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:24:35] local.INFO: TCP Data received {"connection_id":163224,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4015f8012d1823800721b850004b013127..."} 
[2026-08-23 16:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4015f8012d1823800721b850004b013127..."} 
[2026-08-23 16:24:35] local.INFO: Processing buffer {"connection_id":163224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4015f8012d1823800721b850004b013127..."} 
[2026-08-23 16:24:35] local.INFO: Packet analysis {"connection_id":163224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e40"} 
[2026-08-23 16:24:35] local.INFO: Extracted packet for processing {"connection_id":163224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e40"} 
[2026-08-23 16:24:35] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650384,"longitude_deg":75.6556672,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595475456001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630579991052288,"note":"Value kept but may cause issues"} 
[2026-08-23 16:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469786624,"note":"Value kept but may cause issues"} 
[2026-08-23 16:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787482347000,"timestamp_ms":1787482347000,"timestamp_seconds":1787482347,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4015f8"} 
[2026-08-23 16:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-23 16:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595475456001,"66":13004,"105":206,"83":41984,"24":0,"16":15630579991052288,"45":1739304280469786624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595475456001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:24:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:24:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630579991052288,"km_value":15630579991052.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469786624,"description":"Unknown IO ID 45"} 
[2026-08-23 16:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595475456001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469786624}} 
[2026-08-23 16:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":163224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:24:35] local.INFO: GPS data processed {"connection_id":163224,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:24:35] local.INFO: Acknowledgment sent {"connection_id":163224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:24:39] local.INFO: TCP Data received {"connection_id":160624,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:24:39] local.INFO: Processing buffer {"connection_id":160624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:24:39] local.INFO: IMEI packet received {"connection_id":160624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":160624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:24:42] local.INFO: TCP Data received {"connection_id":160624,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:24:42] local.INFO: Processing buffer {"connection_id":160624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:24:42] local.INFO: IMEI packet received {"connection_id":160624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":160624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:24:43] local.INFO: TCP Data received {"connection_id":160624,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e40e118012d7f3ec005dd78b8000200a829..."} 
[2026-08-23 16:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e40e118012d7f3ec005dd78b8000200a829..."} 
[2026-08-23 16:24:43] local.INFO: Processing buffer {"connection_id":160624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e40e118012d7f3ec005dd78b8000200a829..."} 
[2026-08-23 16:24:43] local.INFO: Packet analysis {"connection_id":160624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e40"} 
[2026-08-23 16:24:43] local.INFO: Extracted packet for processing {"connection_id":160624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e40"} 
[2026-08-23 16:24:43] local.INFO: GPS Element Parsed {"raw_longitude":763313856,"raw_latitude":98400440,"longitude_deg":76.3313856,"latitude_deg":9.840044,"altitude":2,"angle":168,"satellites":41,"speed":40,"hex_longitude":"2d7f3ec0","hex_latitude":"05dd78b8","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595492096001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122756990022713344,"note":"Value kept but may cause issues"} 
[2026-08-23 16:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168695547821522944,"note":"Value kept but may cause issues"} 
[2026-08-23 16:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787482399000,"timestamp_ms":1787482399000,"timestamp_seconds":1787482399,"priority":1,"record_length":96,"hex_timestamp":"000001a02e40e118"} 
[2026-08-23 16:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:24: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-08-23 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-23 16:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595492096001,"66":12809,"101":206,"85":15104,"24":40,"16":122756990022713344,"45":9168695547821522944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,45]} 
[2026-08-23 16:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595492096001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:24:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 16:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122756990022713344,"km_value":122756990022713.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168695547821522944,"description":"Unknown IO ID 45"} 
[2026-08-23 16:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595492096001,"power":12809,"unknown_101":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9168695547821522944}} 
[2026-08-23 16:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":160624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687557,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:24:43] local.INFO: GPS data processed {"connection_id":160624,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:24:43] local.INFO: Acknowledgment sent {"connection_id":160624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:24:45] local.INFO: TCP Data received {"connection_id":163225,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:24:45] local.INFO: Processing buffer {"connection_id":163225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:24:45] local.INFO: IMEI packet received {"connection_id":163225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":163225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:24:51] local.INFO: TCP Data received {"connection_id":163225,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:24:51] local.INFO: Processing buffer {"connection_id":163225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:24:51] local.INFO: IMEI packet received {"connection_id":163225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":163225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:24:52] local.INFO: TCP Data received {"connection_id":163225,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:24:52] local.INFO: Processing buffer {"connection_id":163225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:24:52] local.INFO: Packet analysis {"connection_id":163225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:24:52] local.INFO: Extracted packet for processing {"connection_id":163225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:24:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595366144001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787482200000,"timestamp_ms":1787482200000,"timestamp_seconds":1787482200,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3dd7c0"} 
[2026-08-23 16:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595366144001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595366144001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:24:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:24:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595366144001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":163225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:24:52] local.INFO: GPS data processed {"connection_id":163225,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:24:52] local.INFO: Acknowledgment sent {"connection_id":163225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:25:06] local.INFO: TCP Data received {"connection_id":163224,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e406800012d1823400721b850004b013126..."} 
[2026-08-23 16:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e406800012d1823400721b850004b013126..."} 
[2026-08-23 16:25:06] local.INFO: Processing buffer {"connection_id":163224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e406800012d1823400721b850004b013126..."} 
[2026-08-23 16:25:06] local.INFO: Packet analysis {"connection_id":163224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e40"} 
[2026-08-23 16:25:06] local.INFO: Extracted packet for processing {"connection_id":163224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e40"} 
[2026-08-23 16:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595480832001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213997056,"note":"Value kept but may cause issues"} 
[2026-08-23 16:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787482368000,"timestamp_ms":1787482368000,"timestamp_seconds":1787482368,"priority":1,"record_length":96,"hex_timestamp":"000001a02e406800"} 
[2026-08-23 16:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:25:06] local.INFO: 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-08-23 16:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-23 16:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595480832001,"66":12950,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739374649213997056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595480832001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:25:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213997056,"description":"Unknown IO ID 45"} 
[2026-08-23 16:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595480832001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213997056}} 
[2026-08-23 16:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":163224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:25:06] local.INFO: GPS data processed {"connection_id":163224,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:25:06] local.INFO: Acknowledgment sent {"connection_id":163224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:25:15] local.INFO: TCP Data received {"connection_id":160624,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4238d8012d7fa9c005dc7eb0000100532a..."} 
[2026-08-23 16:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4238d8012d7fa9c005dc7eb0000100532a..."} 
[2026-08-23 16:25:15] local.INFO: Processing buffer {"connection_id":160624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4238d8012d7fa9c005dc7eb0000100532a..."} 
[2026-08-23 16:25:15] local.INFO: Packet analysis {"connection_id":160624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:25:15] local.INFO: Extracted packet for processing {"connection_id":160624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:25:15] local.INFO: GPS Element Parsed {"raw_longitude":763341248,"raw_latitude":98336432,"longitude_deg":76.3341248,"latitude_deg":9.8336432,"altitude":1,"angle":83,"satellites":42,"speed":11,"hex_longitude":"2d7fa9c0","hex_latitude":"05dc7eb0","is_valid_coordinates":true} 
[2026-08-23 16:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595516160001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122760456061321216,"note":"Value kept but may cause issues"} 
[2026-08-23 16:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198320789101643776,"note":"Value kept but may cause issues"} 
[2026-08-23 16:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787482487000,"timestamp_ms":1787482487000,"timestamp_seconds":1787482487,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4238d8"} 
[2026-08-23 16:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-23 16:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595516160001,"66":12232,"53":206,"85":15104,"24":11,"16":122760456061321216,"45":9198320789101643776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-23 16:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595516160001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:25:15] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-23 16:25:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122760456061321216,"km_value":122760456061321.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198320789101643776,"description":"Unknown IO ID 45"} 
[2026-08-23 16:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595516160001,"power":12232,"unknown_53":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9198320789101643776}} 
[2026-08-23 16:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":160624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:25:15] local.INFO: GPS data processed {"connection_id":160624,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:25:15] local.INFO: Acknowledgment sent {"connection_id":160624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:25:24] local.INFO: TCP Data received {"connection_id":163225,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:25:24] local.INFO: Processing buffer {"connection_id":163225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e3dd7c0012d34c50006aa4098000a008522..."} 
[2026-08-23 16:25:24] local.INFO: Packet analysis {"connection_id":163225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:25:24] local.INFO: Extracted packet for processing {"connection_id":163225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e3d"} 
[2026-08-23 16:25:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":10,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595366144001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787482200000,"timestamp_ms":1787482200000,"timestamp_seconds":1787482200,"priority":1,"record_length":96,"hex_timestamp":"000001a02e3dd7c0"} 
[2026-08-23 16:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595366144001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595366144001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:25:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:25:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595366144001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":163225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:25:24] local.INFO: GPS data processed {"connection_id":163225,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:25:24] local.INFO: Acknowledgment sent {"connection_id":163225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:25:29] local.INFO: TCP Data received {"connection_id":161824,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:25:29] local.INFO: Processing buffer {"connection_id":161824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:25:29] local.INFO: IMEI packet received {"connection_id":161824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":161824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:25:32] local.INFO: TCP Data received {"connection_id":161824,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:25:32] local.INFO: Processing buffer {"connection_id":161824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:25:32] local.INFO: IMEI packet received {"connection_id":161824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":161824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:25:32] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:25:32] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:25:32] local.INFO: IMEI packet received {"connection_id":161825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":161825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:25:34] local.INFO: TCP Data received {"connection_id":161824,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:25:34] local.INFO: Processing buffer {"connection_id":161824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:25:34] local.INFO: IMEI packet received {"connection_id":161824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":161824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:25:34] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:25:34] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:25:34] local.INFO: IMEI packet received {"connection_id":161825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":161825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:25:35] local.INFO: TCP Data received {"connection_id":161824,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e40ba08012d1823400721b850004b013128..."} 
[2026-08-23 16:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e40ba08012d1823400721b850004b013128..."} 
[2026-08-23 16:25:35] local.INFO: Processing buffer {"connection_id":161824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e40ba08012d1823400721b850004b013128..."} 
[2026-08-23 16:25:35] local.INFO: Packet analysis {"connection_id":161824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e40"} 
[2026-08-23 16:25:35] local.INFO: Extracted packet for processing {"connection_id":161824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e40"} 
[2026-08-23 16:25:35] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595486208001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787482389000,"timestamp_ms":1787482389000,"timestamp_seconds":1787482389,"priority":1,"record_length":96,"hex_timestamp":"000001a02e40ba08"} 
[2026-08-23 16:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 16:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595486208001,"66":12950,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595486208001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:25:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:25:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595486208001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":161824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:25:35] local.INFO: GPS data processed {"connection_id":161824,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:25:35] local.INFO: Acknowledgment sent {"connection_id":161824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:25:39] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:25:39] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:25:39] local.INFO: IMEI packet received {"connection_id":161825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":161825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:25:39] local.INFO: TCP Data received {"connection_id":161824,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e410c10012d1823400721b850004b013128..."} 
[2026-08-23 16:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e410c10012d1823400721b850004b013128..."} 
[2026-08-23 16:25:39] local.INFO: Processing buffer {"connection_id":161824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e410c10012d1823400721b850004b013128..."} 
[2026-08-23 16:25:39] local.INFO: Packet analysis {"connection_id":161824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e41"} 
[2026-08-23 16:25:39] local.INFO: Extracted packet for processing {"connection_id":161824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e41"} 
[2026-08-23 16:25:39] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595491584001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787482410000,"timestamp_ms":1787482410000,"timestamp_seconds":1787482410,"priority":1,"record_length":96,"hex_timestamp":"000001a02e410c10"} 
[2026-08-23 16:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 16:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595491584001,"66":12885,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595491584001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:25:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:25:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595491584001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":161824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:25:39] local.INFO: GPS data processed {"connection_id":161824,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:25:39] local.INFO: Acknowledgment sent {"connection_id":161824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:25:40] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e426ba0012d7fc00005dc8470000300482b..."} 
[2026-08-23 16:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e426ba0012d7fc00005dc8470000300482b..."} 
[2026-08-23 16:25:40] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e426ba0012d7fc00005dc8470000300482b..."} 
[2026-08-23 16:25:40] local.INFO: Packet analysis {"connection_id":161825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:25:40] local.INFO: Extracted packet for processing {"connection_id":161825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:25:40] local.INFO: GPS Element Parsed {"raw_longitude":763346944,"raw_latitude":98337904,"longitude_deg":76.3346944,"latitude_deg":9.8337904,"altitude":3,"angle":72,"satellites":43,"speed":26,"hex_longitude":"2d7fc000","hex_latitude":"05dc8470","is_valid_coordinates":true} 
[2026-08-23 16:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595516672001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122760739529162752,"note":"Value kept but may cause issues"} 
[2026-08-23 16:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199094845287608320,"note":"Value kept but may cause issues"} 
[2026-08-23 16:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787482500000,"timestamp_ms":1787482500000,"timestamp_seconds":1787482500,"priority":1,"record_length":96,"hex_timestamp":"000001a02e426ba0"} 
[2026-08-23 16:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 16:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595516672001,"66":13091,"53":206,"85":15104,"24":26,"16":122760739529162752,"45":9199094845287608320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-23 16:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595516672001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:25:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-23 16:25:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122760739529162752,"km_value":122760739529162.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199094845287608320,"description":"Unknown IO ID 45"} 
[2026-08-23 16:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595516672001,"power":13091,"unknown_53":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9199094845287608320}} 
[2026-08-23 16:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":161825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:25:40] local.INFO: GPS data processed {"connection_id":161825,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:25:40] local.INFO: Acknowledgment sent {"connection_id":161825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:25:45] local.INFO: TCP Data received {"connection_id":163226,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:25:45] local.INFO: Processing buffer {"connection_id":163226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:25:45] local.INFO: IMEI packet received {"connection_id":163226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":163226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:25:51] local.INFO: TCP Data received {"connection_id":163226,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:25:51] local.INFO: Processing buffer {"connection_id":163226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:25:51] local.INFO: IMEI packet received {"connection_id":163226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":163226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:25:52] local.INFO: TCP Data received {"connection_id":163226,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:25:52] local.INFO: Processing buffer {"connection_id":163226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:25:52] local.INFO: Packet analysis {"connection_id":163226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:25:52] local.INFO: Extracted packet for processing {"connection_id":163226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":4,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595443200001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787482501000,"timestamp_ms":1787482501000,"timestamp_seconds":1787482501,"priority":1,"record_length":96,"hex_timestamp":"000001a02e426f88"} 
[2026-08-23 16:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 16:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595443200001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595443200001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:25:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595443200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":163226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:25:52] local.INFO: GPS data processed {"connection_id":163226,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:25:52] local.INFO: Acknowledgment sent {"connection_id":163226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:26:11] local.INFO: TCP Data received {"connection_id":161824,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e415e18012d1823400721b850004b013128..."} 
[2026-08-23 16:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e415e18012d1823400721b850004b013128..."} 
[2026-08-23 16:26:11] local.INFO: Processing buffer {"connection_id":161824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e415e18012d1823400721b850004b013128..."} 
[2026-08-23 16:26:11] local.INFO: Packet analysis {"connection_id":161824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e41"} 
[2026-08-23 16:26:11] local.INFO: Extracted packet for processing {"connection_id":161824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e41"} 
[2026-08-23 16:26:11] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595496960001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787482431000,"timestamp_ms":1787482431000,"timestamp_seconds":1787482431,"priority":1,"record_length":96,"hex_timestamp":"000001a02e415e18"} 
[2026-08-23 16:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-23 16:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595496960001,"66":12841,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595496960001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:26:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:26:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595496960001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":161824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:26:11] local.INFO: GPS data processed {"connection_id":161824,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:26:11] local.INFO: Acknowledgment sent {"connection_id":161824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:26:11] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4292b0012d7fe24005dc8d180003004d29..."} 
[2026-08-23 16:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4292b0012d7fe24005dc8d180003004d29..."} 
[2026-08-23 16:26:11] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4292b0012d7fe24005dc8d180003004d29..."} 
[2026-08-23 16:26:11] local.INFO: Packet analysis {"connection_id":161825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:26:11] local.INFO: Extracted packet for processing {"connection_id":161825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763355712,"raw_latitude":98340120,"longitude_deg":76.3355712,"latitude_deg":9.834012,"altitude":3,"angle":77,"satellites":41,"speed":38,"hex_longitude":"2d7fe240","hex_latitude":"05dc8d18","is_valid_coordinates":true} 
[2026-08-23 16:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595520000001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122761173320859648,"note":"Value kept but may cause issues"} 
[2026-08-23 16:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9205357663519797248,"note":"Value kept but may cause issues"} 
[2026-08-23 16:26:11] 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-08-23 16:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787482510000,"timestamp_ms":1787482510000,"timestamp_seconds":1787482510,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4292b0"} 
[2026-08-23 16:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-23 16:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595520000001,"66":13363,"251":206,"85":15104,"24":38,"16":122761173320859648,"45":9205357663519797248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-23 16:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595520000001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:26:11] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-23 16:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122761173320859648,"km_value":122761173320859.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9205357663519797248,"description":"Unknown IO ID 45"} 
[2026-08-23 16:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595520000001,"power":13363,"unknown_251":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9205357663519797248}} 
[2026-08-23 16:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":161825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:26:11] local.INFO: GPS data processed {"connection_id":161825,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:26:11] local.INFO: Acknowledgment sent {"connection_id":161825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:26:23] local.INFO: TCP Data received {"connection_id":163226,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:26:23] local.INFO: Processing buffer {"connection_id":163226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:26:23] local.INFO: Packet analysis {"connection_id":163226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:26:23] local.INFO: Extracted packet for processing {"connection_id":163226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:26:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":4,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595443200001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787482501000,"timestamp_ms":1787482501000,"timestamp_seconds":1787482501,"priority":1,"record_length":96,"hex_timestamp":"000001a02e426f88"} 
[2026-08-23 16:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:26: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-08-23 16:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 16:26:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595443200001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595443200001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:26:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:26:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595443200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":163226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:26:23] local.INFO: GPS data processed {"connection_id":163226,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:26:23] local.INFO: Acknowledgment sent {"connection_id":163226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:26:29] local.INFO: TCP Data received {"connection_id":160625,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:26:29] local.INFO: Processing buffer {"connection_id":160625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:26:29] local.INFO: IMEI packet received {"connection_id":160625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":160625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:26:32] local.INFO: TCP Data received {"connection_id":161826,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:26:32] local.INFO: Processing buffer {"connection_id":161826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:26:32] local.INFO: IMEI packet received {"connection_id":161826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":161826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:26:34] local.INFO: TCP Data received {"connection_id":160625,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:26:34] local.INFO: Processing buffer {"connection_id":160625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:26:34] local.INFO: IMEI packet received {"connection_id":160625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":160625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:26:34] local.INFO: TCP Data received {"connection_id":161826,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:26:34] local.INFO: Processing buffer {"connection_id":161826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:26:34] local.INFO: IMEI packet received {"connection_id":161826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":161826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:26:35] local.INFO: TCP Data received {"connection_id":160625,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e41b020012d1823400721b850004b013128..."} 
[2026-08-23 16:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e41b020012d1823400721b850004b013128..."} 
[2026-08-23 16:26:35] local.INFO: Processing buffer {"connection_id":160625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e41b020012d1823400721b850004b013128..."} 
[2026-08-23 16:26:35] local.INFO: Packet analysis {"connection_id":160625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e41"} 
[2026-08-23 16:26:35] local.INFO: Extracted packet for processing {"connection_id":160625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e41"} 
[2026-08-23 16:26:35] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595502336001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787482452000,"timestamp_ms":1787482452000,"timestamp_seconds":1787482452,"priority":1,"record_length":96,"hex_timestamp":"000001a02e41b020"} 
[2026-08-23 16:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 16:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595502336001,"66":12809,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595502336001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:26:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:26:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595502336001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":160625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:26:35] local.INFO: GPS data processed {"connection_id":160625,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:26:35] local.INFO: Acknowledgment sent {"connection_id":160625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:26:38] local.INFO: TCP Data received {"connection_id":161826,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:26:38] local.INFO: Processing buffer {"connection_id":161826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:26:38] local.INFO: IMEI packet received {"connection_id":161826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":161826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:26:39] local.INFO: TCP Data received {"connection_id":161826,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e42b9c0012d80078005dc95400004004c2a..."} 
[2026-08-23 16:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e42b9c0012d80078005dc95400004004c2a..."} 
[2026-08-23 16:26:39] local.INFO: Processing buffer {"connection_id":161826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e42b9c0012d80078005dc95400004004c2a..."} 
[2026-08-23 16:26:39] local.INFO: Packet analysis {"connection_id":161826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:26:39] local.INFO: Extracted packet for processing {"connection_id":161826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:26:39] local.INFO: GPS Element Parsed {"raw_longitude":763365248,"raw_latitude":98342208,"longitude_deg":76.3365248,"latitude_deg":9.8342208,"altitude":4,"angle":76,"satellites":42,"speed":34,"hex_longitude":"2d800780","hex_latitude":"05dc9540","is_valid_coordinates":true} 
[2026-08-23 16:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595522560001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122761641472294912,"note":"Value kept but may cause issues"} 
[2026-08-23 16:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9214998181472704512,"note":"Value kept but may cause issues"} 
[2026-08-23 16:26:39] 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-08-23 16:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787482520000,"timestamp_ms":1787482520000,"timestamp_seconds":1787482520,"priority":1,"record_length":96,"hex_timestamp":"000001a02e42b9c0"} 
[2026-08-23 16:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-23 16:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595522560001,"66":13048,"251":206,"85":15104,"24":34,"16":122761641472294912,"45":9214998181472704512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-23 16:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595522560001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:26:39] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-23 16:26:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122761641472294912,"km_value":122761641472294.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9214998181472704512,"description":"Unknown IO ID 45"} 
[2026-08-23 16:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595522560001,"power":13048,"unknown_251":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9214998181472704512}} 
[2026-08-23 16:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":161826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:26:39] local.INFO: GPS data processed {"connection_id":161826,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:26:39] local.INFO: Acknowledgment sent {"connection_id":161826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:26:45] local.INFO: TCP Data received {"connection_id":163227,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:26:45] local.INFO: Processing buffer {"connection_id":163227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:26:45] local.INFO: IMEI packet received {"connection_id":163227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":163227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:26:51] local.INFO: TCP Data received {"connection_id":163227,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:26:51] local.INFO: Processing buffer {"connection_id":163227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:26:51] local.INFO: IMEI packet received {"connection_id":163227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":163227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:26:52] local.INFO: TCP Data received {"connection_id":163227,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:26:52] local.INFO: Processing buffer {"connection_id":163227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:26:52] local.INFO: Packet analysis {"connection_id":163227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:26:52] local.INFO: Extracted packet for processing {"connection_id":163227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:26:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":4,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595443200001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787482501000,"timestamp_ms":1787482501000,"timestamp_seconds":1787482501,"priority":1,"record_length":96,"hex_timestamp":"000001a02e426f88"} 
[2026-08-23 16:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 16:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:26:52] 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-08-23 16:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595443200001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595443200001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:26:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:26:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595443200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":163227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:26:52] local.INFO: GPS data processed {"connection_id":163227,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:26:52] local.INFO: Acknowledgment sent {"connection_id":163227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:27:06] local.INFO: TCP Data received {"connection_id":160625,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e420228012d1823400721b850004b013127..."} 
[2026-08-23 16:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e420228012d1823400721b850004b013127..."} 
[2026-08-23 16:27:06] local.INFO: Processing buffer {"connection_id":160625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e420228012d1823400721b850004b013127..."} 
[2026-08-23 16:27:06] local.INFO: Packet analysis {"connection_id":160625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:27:06] local.INFO: Extracted packet for processing {"connection_id":160625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595507712001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787482473000,"timestamp_ms":1787482473000,"timestamp_seconds":1787482473,"priority":1,"record_length":96,"hex_timestamp":"000001a02e420228"} 
[2026-08-23 16:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:27:06] local.INFO: 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-08-23 16:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-23 16:27:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:06] local.WARNING: Large IO value detected {"io_id":135,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:06] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4571690188506931840,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3092250699,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-23 16:27:06] local.WARNING: Large IO value detected {"io_id":21,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:06] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147951032,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3422604650,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:06] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2280521728,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:06] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429744776799662375,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:06] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241648239365715,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:06] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:06] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,135,160,94,45,64,184,75,40,10,66,12,186,1,240,150,227,46,33,4,113,205,21,35,80,39,239,50,2,55,7,51,164,235],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-23 16:27:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404655075689758720,"timestamp_seconds":5404655075689759.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 16:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595507712001,"66":12776,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595507712001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:27:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595507712001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":160625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:27:06] local.INFO: GPS data processed {"connection_id":160625,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:27:06] local.INFO: Acknowledgment sent {"connection_id":160625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:27:10] local.INFO: TCP Data received {"connection_id":161826,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e442120012d80b68005dbf8900009009e29..."} 
[2026-08-23 16:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e442120012d80b68005dbf8900009009e29..."} 
[2026-08-23 16:27:10] local.INFO: Processing buffer {"connection_id":161826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e442120012d80b68005dbf8900009009e29..."} 
[2026-08-23 16:27:10] local.INFO: Packet analysis {"connection_id":161826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e44"} 
[2026-08-23 16:27:10] local.INFO: Extracted packet for processing {"connection_id":161826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e44"} 
[2026-08-23 16:27:10] local.INFO: GPS Element Parsed {"raw_longitude":763410048,"raw_latitude":98302096,"longitude_deg":76.3410048,"latitude_deg":9.8302096,"altitude":9,"angle":158,"satellites":41,"speed":51,"hex_longitude":"2d80b680","hex_latitude":"05dbf890","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595546880001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122765253539790848,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9175943478111526912,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27: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-08-23 16:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787482612000,"timestamp_ms":1787482612000,"timestamp_seconds":1787482612,"priority":1,"record_length":96,"hex_timestamp":"000001a02e442120"} 
[2026-08-23 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-08-23 16:27:10] 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-08-23 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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 16:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 16:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595546880001,"66":13396,"251":206,"85":15104,"24":51,"16":122765253539790848,"45":-9175943478111526912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-23 16:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595546880001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:27:10] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-23 16:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122765253539790848,"km_value":122765253539790.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9175943478111526912,"description":"Unknown IO ID 45"} 
[2026-08-23 16:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595546880001,"power":13396,"unknown_251":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":-9175943478111526912}} 
[2026-08-23 16:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":161826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:27:11] local.INFO: GPS data processed {"connection_id":161826,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:27:11] local.INFO: Acknowledgment sent {"connection_id":161826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:27:23] local.INFO: TCP Data received {"connection_id":163227,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:27:23] local.INFO: Processing buffer {"connection_id":163227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:27:23] local.INFO: Packet analysis {"connection_id":163227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:27:23] local.INFO: Extracted packet for processing {"connection_id":163227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:27:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":4,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595443200001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787482501000,"timestamp_ms":1787482501000,"timestamp_seconds":1787482501,"priority":1,"record_length":96,"hex_timestamp":"000001a02e426f88"} 
[2026-08-23 16:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:27: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-08-23 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 16:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:27:23] 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-08-23 16:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595443200001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595443200001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:27:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:27:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595443200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":163227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:27:23] local.INFO: GPS data processed {"connection_id":163227,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:27:23] local.INFO: Acknowledgment sent {"connection_id":163227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:27:29] local.INFO: TCP Data received {"connection_id":161827,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:27:29] local.INFO: Processing buffer {"connection_id":161827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:27:29] local.INFO: IMEI packet received {"connection_id":161827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":161827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:27:34] local.INFO: TCP Data received {"connection_id":161827,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:27:34] local.INFO: Processing buffer {"connection_id":161827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:27:34] local.INFO: IMEI packet received {"connection_id":161827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":161827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:27:34] local.INFO: TCP Data received {"connection_id":160877,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:27:34] local.INFO: Processing buffer {"connection_id":160877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:27:34] local.INFO: IMEI packet received {"connection_id":160877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":160877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:27:35] local.INFO: TCP Data received {"connection_id":161827,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e425430012d1823400721b850004b013127..."} 
[2026-08-23 16:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e425430012d1823400721b850004b013127..."} 
[2026-08-23 16:27:35] local.INFO: Processing buffer {"connection_id":161827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e425430012d1823400721b850004b013127..."} 
[2026-08-23 16:27:35] local.INFO: Packet analysis {"connection_id":161827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:27:35] local.INFO: Extracted packet for processing {"connection_id":161827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:27:35] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595513088001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787482494000,"timestamp_ms":1787482494000,"timestamp_seconds":1787482494,"priority":1,"record_length":96,"hex_timestamp":"000001a02e425430"} 
[2026-08-23 16:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-23 16:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595513088001,"66":12722,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595513088001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:27:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:27:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595513088001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":161827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:27:35] local.INFO: GPS data processed {"connection_id":161827,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:27:35] local.INFO: Acknowledgment sent {"connection_id":161827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:27:39] local.INFO: TCP Data received {"connection_id":160877,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:27:39] local.INFO: Processing buffer {"connection_id":160877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:27:39] local.INFO: IMEI packet received {"connection_id":160877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":160877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:27:40] local.INFO: TCP Data received {"connection_id":160877,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e444060012d80c5c005dbd5b00008009b29..."} 
[2026-08-23 16:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e444060012d80c5c005dbd5b00008009b29..."} 
[2026-08-23 16:27:40] local.INFO: Processing buffer {"connection_id":160877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e444060012d80c5c005dbd5b00008009b29..."} 
[2026-08-23 16:27:40] local.INFO: Packet analysis {"connection_id":160877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e44"} 
[2026-08-23 16:27:40] local.INFO: Extracted packet for processing {"connection_id":160877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e44"} 
[2026-08-23 16:27:40] local.INFO: GPS Element Parsed {"raw_longitude":763413952,"raw_latitude":98293168,"longitude_deg":76.3413952,"latitude_deg":9.8293168,"altitude":8,"angle":155,"satellites":41,"speed":44,"hex_longitude":"2d80c5c0","hex_latitude":"05dbd5b0","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595548672001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122765725986193408,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172002828439744512,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787482620000,"timestamp_ms":1787482620000,"timestamp_seconds":1787482620,"priority":1,"record_length":96,"hex_timestamp":"000001a02e444060"} 
[2026-08-23 16:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-23 16:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595548672001,"66":13374,"155":206,"85":15104,"24":44,"16":122765725986193408,"45":-9172002828439744512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-23 16:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595548672001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:27:40] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-23 16:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122765725986193408,"km_value":122765725986193.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172002828439744512,"description":"Unknown IO ID 45"} 
[2026-08-23 16:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595548672001,"power":13374,"unknown_155":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9172002828439744512}} 
[2026-08-23 16:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":160877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:27:40] local.INFO: GPS data processed {"connection_id":160877,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:27:40] local.INFO: Acknowledgment sent {"connection_id":160877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:27:41] local.INFO: TCP Data received {"connection_id":160878,"ip":"193.46.255.144","data_length":128,"data_hex":"160301007b010000770303aae4d58e636b8027ebe924fdd149f901da1057dbf6..."} 
[2026-08-23 16:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160878,"packet_length":128,"packet_hex":"160301007b010000770303aae4d58e636b8027ebe924fdd149f901da1057dbf6..."} 
[2026-08-23 16:27:41] local.INFO: Processing buffer {"connection_id":160878,"buffer_length":128,"buffer_hex":"160301007b010000770303aae4d58e636b8027ebe924fdd149f901da1057dbf6..."} 
[2026-08-23 16:27:41] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":160878,"buffer_length":128,"first_bytes_hex":"160301007b010000770303aae4d58e63"} 
[2026-08-23 16:27:41] local.INFO: TCP Data received {"connection_id":160878,"ip":"193.46.255.144","data_length":7,"data_hex":"15030100020216..."} 
[2026-08-23 16:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160878,"packet_length":7,"packet_hex":"15030100020216..."} 
[2026-08-23 16:27:41] local.INFO: Processing buffer {"connection_id":160878,"buffer_length":7,"buffer_hex":"15030100020216..."} 
[2026-08-23 16:27:45] local.INFO: TCP Data received {"connection_id":160626,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:27:45] local.INFO: Processing buffer {"connection_id":160626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:27:45] local.INFO: IMEI packet received {"connection_id":160626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":160626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:27:51] local.INFO: TCP Data received {"connection_id":160626,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:27:51] local.INFO: Processing buffer {"connection_id":160626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:27:51] local.INFO: IMEI packet received {"connection_id":160626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":160626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:27:52] local.INFO: TCP Data received {"connection_id":160626,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:27:52] local.INFO: Processing buffer {"connection_id":160626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:27:52] local.INFO: Packet analysis {"connection_id":160626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:27:52] local.INFO: Extracted packet for processing {"connection_id":160626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:27:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":4,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595443200001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787482501000,"timestamp_ms":1787482501000,"timestamp_seconds":1787482501,"priority":1,"record_length":96,"hex_timestamp":"000001a02e426f88"} 
[2026-08-23 16:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 16:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:27:52] 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-08-23 16:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595443200001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595443200001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:27:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:27:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595443200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":160626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:27:52] local.INFO: GPS data processed {"connection_id":160626,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:27:52] local.INFO: Acknowledgment sent {"connection_id":160626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:28:06] local.INFO: TCP Data received {"connection_id":161827,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e42a638012d1823400721b850004b013127..."} 
[2026-08-23 16:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e42a638012d1823400721b850004b013127..."} 
[2026-08-23 16:28:06] local.INFO: Processing buffer {"connection_id":161827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e42a638012d1823400721b850004b013127..."} 
[2026-08-23 16:28:06] local.INFO: Packet analysis {"connection_id":161827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:28:06] local.INFO: Extracted packet for processing {"connection_id":161827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595518464001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787482515000,"timestamp_ms":1787482515000,"timestamp_seconds":1787482515,"priority":1,"record_length":96,"hex_timestamp":"000001a02e42a638"} 
[2026-08-23 16:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:28:06] local.INFO: 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-08-23 16:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 16:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595518464001,"66":12711,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595518464001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:28:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595518464001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":161827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:28:06] local.INFO: GPS data processed {"connection_id":161827,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:28:06] local.INFO: Acknowledgment sent {"connection_id":161827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:28:12] local.INFO: TCP Data received {"connection_id":160877,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e445fa0012d80d74005dbb5480007009128..."} 
[2026-08-23 16:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e445fa0012d80d74005dbb5480007009128..."} 
[2026-08-23 16:28:12] local.INFO: Processing buffer {"connection_id":160877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e445fa0012d80d74005dbb5480007009128..."} 
[2026-08-23 16:28:12] local.INFO: Packet analysis {"connection_id":160877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e44"} 
[2026-08-23 16:28:12] local.INFO: Extracted packet for processing {"connection_id":160877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e44"} 
[2026-08-23 16:28:12] local.INFO: GPS Element Parsed {"raw_longitude":763418432,"raw_latitude":98284872,"longitude_deg":76.3418432,"latitude_deg":9.8284872,"altitude":7,"angle":145,"satellites":40,"speed":48,"hex_longitude":"2d80d740","hex_latitude":"05dbb548","is_valid_coordinates":true} 
[2026-08-23 16:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595550720001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122766181252726784,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9167710335047192576,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787482628000,"timestamp_ms":1787482628000,"timestamp_seconds":1787482628,"priority":1,"record_length":96,"hex_timestamp":"000001a02e445fa0"} 
[2026-08-23 16:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:28:12] 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-08-23 16:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-23 16:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595550720001,"66":13363,"155":206,"85":15104,"24":48,"16":122766181252726784,"45":-9167710335047192576},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-23 16:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595550720001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:28:12] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-23 16:28:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122766181252726784,"km_value":122766181252726.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9167710335047192576,"description":"Unknown IO ID 45"} 
[2026-08-23 16:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595550720001,"power":13363,"unknown_155":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-9167710335047192576}} 
[2026-08-23 16:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":160877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:28:12] local.INFO: GPS data processed {"connection_id":160877,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:28:12] local.INFO: Acknowledgment sent {"connection_id":160877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:28:23] local.INFO: TCP Data received {"connection_id":160626,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:28:23] local.INFO: Processing buffer {"connection_id":160626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:28:23] local.INFO: Packet analysis {"connection_id":160626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:28:23] local.INFO: Extracted packet for processing {"connection_id":160626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:28:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":4,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595443200001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787482501000,"timestamp_ms":1787482501000,"timestamp_seconds":1787482501,"priority":1,"record_length":96,"hex_timestamp":"000001a02e426f88"} 
[2026-08-23 16:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:28: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-08-23 16:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 16:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:28:23] 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-08-23 16:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595443200001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595443200001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:28:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:28:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595443200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":160626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:28:23] local.INFO: GPS data processed {"connection_id":160626,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:28:23] local.INFO: Acknowledgment sent {"connection_id":160626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:28:34] local.INFO: TCP Data received {"connection_id":161828,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:28:34] local.INFO: Processing buffer {"connection_id":161828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:28:34] local.INFO: IMEI packet received {"connection_id":161828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":161828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:28:34] local.INFO: TCP Data received {"connection_id":163228,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:28:34] local.INFO: Processing buffer {"connection_id":163228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:28:34] local.INFO: IMEI packet received {"connection_id":163228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":163228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:28:36] local.INFO: TCP Data received {"connection_id":161828,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:28:36] local.INFO: Processing buffer {"connection_id":161828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:28:36] local.INFO: IMEI packet received {"connection_id":161828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":161828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:28:39] local.INFO: TCP Data received {"connection_id":163228,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:28:39] local.INFO: Processing buffer {"connection_id":163228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:28:39] local.INFO: IMEI packet received {"connection_id":163228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":163228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:28:39] local.INFO: TCP Data received {"connection_id":161828,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:28:39] local.INFO: Processing buffer {"connection_id":161828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:28:39] local.INFO: IMEI packet received {"connection_id":161828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":161828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:28:40] local.INFO: TCP Data received {"connection_id":163228,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e42f840012d1823400721b850004b013128..."} 
[2026-08-23 16:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e42f840012d1823400721b850004b013128..."} 
[2026-08-23 16:28:40] local.INFO: Processing buffer {"connection_id":163228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e42f840012d1823400721b850004b013128..."} 
[2026-08-23 16:28:40] local.INFO: Packet analysis {"connection_id":163228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:28:40] local.INFO: Extracted packet for processing {"connection_id":163228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:28:40] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595523840001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787482536000,"timestamp_ms":1787482536000,"timestamp_seconds":1787482536,"priority":1,"record_length":96,"hex_timestamp":"000001a02e42f840"} 
[2026-08-23 16:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-23 16:28:40] 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-08-23 16: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-08-23 16:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595523840001,"66":12667,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595523840001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:28:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:28:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595523840001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":163228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:28:40] local.INFO: GPS data processed {"connection_id":163228,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:28:40] local.INFO: Acknowledgment sent {"connection_id":163228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:28:40] local.INFO: TCP Data received {"connection_id":161828,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e453290012d814a0005daeb98000300a528..."} 
[2026-08-23 16:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e453290012d814a0005daeb98000300a528..."} 
[2026-08-23 16:28:40] local.INFO: Processing buffer {"connection_id":161828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e453290012d814a0005daeb98000300a528..."} 
[2026-08-23 16:28:40] local.INFO: Packet analysis {"connection_id":161828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e45"} 
[2026-08-23 16:28:40] local.INFO: Extracted packet for processing {"connection_id":161828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e45"} 
[2026-08-23 16:28:40] local.INFO: GPS Element Parsed {"raw_longitude":763447808,"raw_latitude":98233240,"longitude_deg":76.3447808,"latitude_deg":9.823324,"altitude":3,"angle":165,"satellites":40,"speed":36,"hex_longitude":"2d814a00","hex_latitude":"05daeb98","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595566080001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122769080355651584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9131188956833912832,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787482682000,"timestamp_ms":1787482682000,"timestamp_seconds":1787482682,"priority":1,"record_length":96,"hex_timestamp":"000001a02e453290"} 
[2026-08-23 16:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 16:28:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:40] local.WARNING: Large IO value detected {"io_id":46,"raw_value":57887749617636667,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:40] local.WARNING: Large IO value detected {"io_id":219,"raw_value":7685392781297985536,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2828665038,"corrected_to":0} 
[2026-08-23 16:28:40] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3087084929,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:40] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802216,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3680202752,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:40] local.WARNING: Large IO value detected {"io_id":68,"raw_value":-6208210791380893691,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:40] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,154,85,24,241,157,16,41,160,31,45,128,248,2,39,10,66,23,253,40,255,1,240,35,227,46,219,4,113,205,216,27,37,239,50,180,5,68],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2828665038,"validated":0}]} 
[2026-08-23 16:28:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144276988085993472,"timestamp_seconds":144276988085993.47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 16:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595566080001,"66":13091,"154":206,"85":15104,"24":36,"16":122769080355651584,"45":-9131188956833912832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-23 16:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595566080001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:28:40] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-23 16:28:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122769080355651584,"km_value":122769080355651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9131188956833912832,"description":"Unknown IO ID 45"} 
[2026-08-23 16:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595566080001,"power":13091,"unknown_154":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9131188956833912832}} 
[2026-08-23 16:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":161828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:28:40] local.INFO: GPS data processed {"connection_id":161828,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:28:40] local.INFO: Acknowledgment sent {"connection_id":161828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:28:41] local.INFO: TCP Data received {"connection_id":163228,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e434a48012d1823400721b850004b013126..."} 
[2026-08-23 16:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e434a48012d1823400721b850004b013126..."} 
[2026-08-23 16:28:41] local.INFO: Processing buffer {"connection_id":163228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e434a48012d1823400721b850004b013126..."} 
[2026-08-23 16:28:41] local.INFO: Packet analysis {"connection_id":163228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e43"} 
[2026-08-23 16:28:41] local.INFO: Extracted packet for processing {"connection_id":163228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e43"} 
[2026-08-23 16:28:41] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595529216001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787482557000,"timestamp_ms":1787482557000,"timestamp_seconds":1787482557,"priority":1,"record_length":96,"hex_timestamp":"000001a02e434a48"} 
[2026-08-23 16:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-23 16:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595529216001,"66":12580,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595529216001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:28:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:28:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595529216001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":163228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:28:41] local.INFO: GPS data processed {"connection_id":163228,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:28:41] local.INFO: Acknowledgment sent {"connection_id":163228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:28:45] local.INFO: TCP Data received {"connection_id":160879,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:28:45] local.INFO: Processing buffer {"connection_id":160879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:28:45] local.INFO: IMEI packet received {"connection_id":160879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":160879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:28:51] local.INFO: TCP Data received {"connection_id":160879,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:28:51] local.INFO: Processing buffer {"connection_id":160879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:28:51] local.INFO: IMEI packet received {"connection_id":160879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":160879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:28:52] local.INFO: TCP Data received {"connection_id":160879,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:28:52] local.INFO: Processing buffer {"connection_id":160879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:28:52] local.INFO: Packet analysis {"connection_id":160879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:28:52] local.INFO: Extracted packet for processing {"connection_id":160879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:28:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":4,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:28: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-08-23 16:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595443200001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787482501000,"timestamp_ms":1787482501000,"timestamp_seconds":1787482501,"priority":1,"record_length":96,"hex_timestamp":"000001a02e426f88"} 
[2026-08-23 16:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 16:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:28: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-08-23 16:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595443200001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595443200001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:28:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:28:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595443200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":160879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:28:52] local.INFO: GPS data processed {"connection_id":160879,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:28:52] local.INFO: Acknowledgment sent {"connection_id":160879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:29:11] local.INFO: TCP Data received {"connection_id":161828,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4555b8012d8150c005dac750000400a529..."} 
[2026-08-23 16:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4555b8012d8150c005dac750000400a529..."} 
[2026-08-23 16:29:11] local.INFO: Processing buffer {"connection_id":161828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4555b8012d8150c005dac750000400a529..."} 
[2026-08-23 16:29:11] local.INFO: Packet analysis {"connection_id":161828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e45"} 
[2026-08-23 16:29:11] local.INFO: Extracted packet for processing {"connection_id":161828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e45"} 
[2026-08-23 16:29:11] local.INFO: GPS Element Parsed {"raw_longitude":763449536,"raw_latitude":98223952,"longitude_deg":76.3449536,"latitude_deg":9.8223952,"altitude":4,"angle":165,"satellites":41,"speed":45,"hex_longitude":"2d8150c0","hex_latitude":"05dac750","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595566592001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122769535622184960,"note":"Value kept but may cause issues"} 
[2026-08-23 16:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9130485269392549888,"note":"Value kept but may cause issues"} 
[2026-08-23 16:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787482691000,"timestamp_ms":1787482691000,"timestamp_seconds":1787482691,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4555b8"} 
[2026-08-23 16:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:29: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-08-23 16:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-23 16:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595566592001,"66":13243,"154":206,"85":15104,"24":45,"16":122769535622184960,"45":-9130485269392549888},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-23 16:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595566592001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:29:11] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-23 16:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122769535622184960,"km_value":122769535622184.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9130485269392549888,"description":"Unknown IO ID 45"} 
[2026-08-23 16:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595566592001,"power":13243,"unknown_154":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9130485269392549888}} 
[2026-08-23 16:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":161828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:29:11] local.INFO: GPS data processed {"connection_id":161828,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:29:11] local.INFO: Acknowledgment sent {"connection_id":161828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:29:12] local.INFO: TCP Data received {"connection_id":163228,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e439c50012d1823400721b850004b013128..."} 
[2026-08-23 16:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e439c50012d1823400721b850004b013128..."} 
[2026-08-23 16:29:12] local.INFO: Processing buffer {"connection_id":163228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e439c50012d1823400721b850004b013128..."} 
[2026-08-23 16:29:12] local.INFO: Packet analysis {"connection_id":163228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e43"} 
[2026-08-23 16:29:12] local.INFO: Extracted packet for processing {"connection_id":163228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e43"} 
[2026-08-23 16:29:12] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595534592001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787482578000,"timestamp_ms":1787482578000,"timestamp_seconds":1787482578,"priority":1,"record_length":96,"hex_timestamp":"000001a02e439c50"} 
[2026-08-23 16:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-23 16:29:12] 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-08-23 16: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-08-23 16:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595534592001,"66":12591,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595534592001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:29:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:29:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595534592001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":163228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:29:12] local.INFO: GPS data processed {"connection_id":163228,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:29:12] local.INFO: Acknowledgment sent {"connection_id":163228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:29:24] local.INFO: TCP Data received {"connection_id":160879,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:29:24] local.INFO: Processing buffer {"connection_id":160879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:29:24] local.INFO: Packet analysis {"connection_id":160879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:29:24] local.INFO: Extracted packet for processing {"connection_id":160879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:29:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":4,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595443200001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787482501000,"timestamp_ms":1787482501000,"timestamp_seconds":1787482501,"priority":1,"record_length":96,"hex_timestamp":"000001a02e426f88"} 
[2026-08-23 16:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 16:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595443200001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595443200001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:29:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:29:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595443200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":160879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:29:24] local.INFO: GPS data processed {"connection_id":160879,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:29:24] local.INFO: Acknowledgment sent {"connection_id":160879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:29:29] local.INFO: TCP Data received {"connection_id":160627,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:29:29] local.INFO: Processing buffer {"connection_id":160627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:29:29] local.INFO: IMEI packet received {"connection_id":160627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":160627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:29:34] local.INFO: TCP Data received {"connection_id":160628,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:29:34] local.INFO: Processing buffer {"connection_id":160628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:29:34] local.INFO: IMEI packet received {"connection_id":160628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":160628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:29:34] local.INFO: TCP Data received {"connection_id":160627,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:29:34] local.INFO: Processing buffer {"connection_id":160627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:29:34] local.INFO: IMEI packet received {"connection_id":160627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":160627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:29:35] local.INFO: TCP Data received {"connection_id":160627,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e43ee58012d1823400721b850004b013128..."} 
[2026-08-23 16:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e43ee58012d1823400721b850004b013128..."} 
[2026-08-23 16:29:35] local.INFO: Processing buffer {"connection_id":160627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e43ee58012d1823400721b850004b013128..."} 
[2026-08-23 16:29:35] local.INFO: Packet analysis {"connection_id":160627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e43"} 
[2026-08-23 16:29:35] local.INFO: Extracted packet for processing {"connection_id":160627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e43"} 
[2026-08-23 16:29:35] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595539968001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787482599000,"timestamp_ms":1787482599000,"timestamp_seconds":1787482599,"priority":1,"record_length":96,"hex_timestamp":"000001a02e43ee58"} 
[2026-08-23 16:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 16:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595539968001,"66":12558,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595539968001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:29:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:29:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595539968001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":160627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:29:35] local.INFO: GPS data processed {"connection_id":160627,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:29:35] local.INFO: Acknowledgment sent {"connection_id":160627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:29:39] local.INFO: TCP Data received {"connection_id":160628,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:29:39] local.INFO: Processing buffer {"connection_id":160628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:29:39] local.INFO: IMEI packet received {"connection_id":160628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":160628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:29:40] local.INFO: TCP Data received {"connection_id":160628,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e464400012d820a8005da8b980004004925..."} 
[2026-08-23 16:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e464400012d820a8005da8b980004004925..."} 
[2026-08-23 16:29:40] local.INFO: Processing buffer {"connection_id":160628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e464400012d820a8005da8b980004004925..."} 
[2026-08-23 16:29:40] local.INFO: Packet analysis {"connection_id":160628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e46"} 
[2026-08-23 16:29:40] local.INFO: Extracted packet for processing {"connection_id":160628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e46"} 
[2026-08-23 16:29:40] local.INFO: GPS Element Parsed {"raw_longitude":763497088,"raw_latitude":98208664,"longitude_deg":76.3497088,"latitude_deg":9.8208664,"altitude":4,"angle":73,"satellites":37,"speed":41,"hex_longitude":"2d820a80","hex_latitude":"05da8b98","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595582208001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122772473379815424,"note":"Value kept but may cause issues"} 
[2026-08-23 16:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9086856648009445376,"note":"Value kept but may cause issues"} 
[2026-08-23 16:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787482752000,"timestamp_ms":1787482752000,"timestamp_seconds":1787482752,"priority":1,"record_length":96,"hex_timestamp":"000001a02e464400"} 
[2026-08-23 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-08-23 16:29: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-08-23 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 16:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 16:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595582208001,"66":12982,"71":206,"85":15104,"24":41,"16":122772473379815424,"45":-9086856648009445376},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-23 16:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595582208001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:29:40] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-23 16:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122772473379815424,"km_value":122772473379815.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9086856648009445376,"description":"Unknown IO ID 45"} 
[2026-08-23 16:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595582208001,"power":12982,"unknown_71":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9086856648009445376}} 
[2026-08-23 16:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":160628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:29:40] local.INFO: GPS data processed {"connection_id":160628,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:29:40] local.INFO: Acknowledgment sent {"connection_id":160628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:29:51] local.INFO: TCP Data received {"connection_id":161829,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:29:51] local.INFO: Processing buffer {"connection_id":161829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:29:51] local.INFO: IMEI packet received {"connection_id":161829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":161829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:29:56] local.INFO: TCP Data received {"connection_id":161829,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:29:56] local.INFO: Processing buffer {"connection_id":161829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:29:56] local.INFO: IMEI packet received {"connection_id":161829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":161829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:29:57] local.INFO: TCP Data received {"connection_id":161829,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:29:57] local.INFO: Processing buffer {"connection_id":161829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:29:57] local.INFO: Packet analysis {"connection_id":161829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:29:57] local.INFO: Extracted packet for processing {"connection_id":161829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:29:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":4,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595443200001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787482501000,"timestamp_ms":1787482501000,"timestamp_seconds":1787482501,"priority":1,"record_length":96,"hex_timestamp":"000001a02e426f88"} 
[2026-08-23 16:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 16:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595443200001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595443200001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:29:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:29:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595443200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":161829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:29:57] local.INFO: GPS data processed {"connection_id":161829,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:29:57] local.INFO: Acknowledgment sent {"connection_id":161829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:30:01] local.INFO: TCP Data received {"connection_id":161829,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:30:01] local.INFO: Processing buffer {"connection_id":161829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e426f88012d34c50006aa40980004008522..."} 
[2026-08-23 16:30:01] local.INFO: Packet analysis {"connection_id":161829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:30:01] local.INFO: Extracted packet for processing {"connection_id":161829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e42"} 
[2026-08-23 16:30:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":4,"angle":133,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595443200001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787482501000,"timestamp_ms":1787482501000,"timestamp_seconds":1787482501,"priority":1,"record_length":96,"hex_timestamp":"000001a02e426f88"} 
[2026-08-23 16:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 16:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595443200001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595443200001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:30:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:30:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595443200001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":161829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:30:01] local.INFO: GPS data processed {"connection_id":161829,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:30:01] local.INFO: Acknowledgment sent {"connection_id":161829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:30:06] local.INFO: TCP Data received {"connection_id":160627,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e444060012d1823400721b850004b013128..."} 
[2026-08-23 16:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e444060012d1823400721b850004b013128..."} 
[2026-08-23 16:30:06] local.INFO: Processing buffer {"connection_id":160627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e444060012d1823400721b850004b013128..."} 
[2026-08-23 16:30:06] local.INFO: Packet analysis {"connection_id":160627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e44"} 
[2026-08-23 16:30:06] local.INFO: Extracted packet for processing {"connection_id":160627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e44"} 
[2026-08-23 16:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595545344001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787482620000,"timestamp_ms":1787482620000,"timestamp_seconds":1787482620,"priority":1,"record_length":96,"hex_timestamp":"000001a02e444060"} 
[2026-08-23 16:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:30:06] local.INFO: 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-08-23 16:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-23 16:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:06] local.WARNING: Large IO value detected {"io_id":135,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385889052342352,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3092250699,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-23 16:30:06] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397034,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:06] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2280587264,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:06] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:06] local.WARNING: Large IO value detected {"io_id":88,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:06] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,135,160,156,45,64,184,75,40,10,66,74,38,248,1,240,123,227,46,33,4,113,205,84,35,80,39,239,49,2,55,7,106,88,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-23 16:30:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404655075689758720,"timestamp_seconds":5404655075689759.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 16:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595545344001,"66":12548,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595545344001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:30:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595545344001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":160627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:30:06] local.INFO: GPS data processed {"connection_id":160627,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:30:06] local.INFO: Acknowledgment sent {"connection_id":160627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:30:10] local.INFO: TCP Data received {"connection_id":160628,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e465788012d821b4005da8f480006005e28..."} 
[2026-08-23 16:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e465788012d821b4005da8f480006005e28..."} 
[2026-08-23 16:30:10] local.INFO: Processing buffer {"connection_id":160628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e465788012d821b4005da8f480006005e28..."} 
[2026-08-23 16:30:10] local.INFO: Packet analysis {"connection_id":160628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e46"} 
[2026-08-23 16:30:10] local.INFO: Extracted packet for processing {"connection_id":160628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e46"} 
[2026-08-23 16:30:10] local.INFO: GPS Element Parsed {"raw_longitude":763501376,"raw_latitude":98209608,"longitude_deg":76.3501376,"latitude_deg":9.8209608,"altitude":6,"angle":94,"satellites":40,"speed":25,"hex_longitude":"2d821b40","hex_latitude":"05da8f48","is_valid_coordinates":true} 
[2026-08-23 16:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595584512001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122772683833212928,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9076301336382040064,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787482757000,"timestamp_ms":1787482757000,"timestamp_seconds":1787482757,"priority":1,"record_length":96,"hex_timestamp":"000001a02e465788"} 
[2026-08-23 16:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:30: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-08-23 16:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 16:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595584512001,"66":13178,"71":206,"85":15104,"24":25,"16":122772683833212928,"45":-9076301336382040064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-23 16:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595584512001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:30:10] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-23 16:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122772683833212928,"km_value":122772683833212.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9076301336382040064,"description":"Unknown IO ID 45"} 
[2026-08-23 16:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595584512001,"power":13178,"unknown_71":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9076301336382040064}} 
[2026-08-23 16:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":160628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:30:10] local.INFO: GPS data processed {"connection_id":160628,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:30:10] local.INFO: Acknowledgment sent {"connection_id":160628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:30:29] local.INFO: TCP Data received {"connection_id":161830,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:30:29] local.INFO: Processing buffer {"connection_id":161830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:30:29] local.INFO: IMEI packet received {"connection_id":161830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":161830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:30:34] local.INFO: TCP Data received {"connection_id":161830,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:30:34] local.INFO: Processing buffer {"connection_id":161830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:30:34] local.INFO: IMEI packet received {"connection_id":161830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":161830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:30:35] local.INFO: TCP Data received {"connection_id":161830,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e449268012d1823400721b850004b013128..."} 
[2026-08-23 16:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e449268012d1823400721b850004b013128..."} 
[2026-08-23 16:30:35] local.INFO: Processing buffer {"connection_id":161830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e449268012d1823400721b850004b013128..."} 
[2026-08-23 16:30:35] local.INFO: Packet analysis {"connection_id":161830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e44"} 
[2026-08-23 16:30:35] local.INFO: Extracted packet for processing {"connection_id":161830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e44"} 
[2026-08-23 16:30:35] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595550720001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787482641000,"timestamp_ms":1787482641000,"timestamp_seconds":1787482641,"priority":1,"record_length":96,"hex_timestamp":"000001a02e449268"} 
[2026-08-23 16:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 16:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:35] local.WARNING: Large IO value detected {"io_id":135,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184208433357,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:35] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3092250699,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-23 16:30:35] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847658,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:35] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2280587264,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:35] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:35] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,135,160,238,45,64,184,75,40,10,66,156,74,1,240,36,227,46,33,4,113,205,166,35,80,39,239,49,2,55,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-23 16:30:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404655075689758720,"timestamp_seconds":5404655075689759.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 16:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595550720001,"66":12537,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595550720001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:30:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:30:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595550720001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":161830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:30:35] local.INFO: GPS data processed {"connection_id":161830,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:30:35] local.INFO: Acknowledgment sent {"connection_id":161830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:30:40] local.INFO: TCP Data received {"connection_id":160629,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:30:40] local.INFO: Processing buffer {"connection_id":160629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:30:40] local.INFO: IMEI packet received {"connection_id":160629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":160629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:30:42] local.INFO: TCP Data received {"connection_id":160629,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:30:42] local.INFO: Processing buffer {"connection_id":160629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:30:42] local.INFO: IMEI packet received {"connection_id":160629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":160629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:30:43] local.INFO: TCP Data received {"connection_id":160629,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4741e8012d82524005d9ab80000500a727..."} 
[2026-08-23 16:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4741e8012d82524005d9ab80000500a727..."} 
[2026-08-23 16:30:43] local.INFO: Processing buffer {"connection_id":160629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4741e8012d82524005d9ab80000500a727..."} 
[2026-08-23 16:30:43] local.INFO: Packet analysis {"connection_id":160629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:30:43] local.INFO: Extracted packet for processing {"connection_id":160629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:30:43] local.INFO: GPS Element Parsed {"raw_longitude":763515456,"raw_latitude":98151296,"longitude_deg":76.3515456,"latitude_deg":9.8151296,"altitude":5,"angle":167,"satellites":39,"speed":46,"hex_longitude":"2d825240","hex_latitude":"05d9ab80","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595598848001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122775630180777984,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058498044117520384,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787482817000,"timestamp_ms":1787482817000,"timestamp_seconds":1787482817,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4741e8"} 
[2026-08-23 16:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:30: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-08-23 16: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-23 16:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595598848001,"66":13015,"71":206,"85":15104,"24":46,"16":122775630180777984,"45":-9058498044117520384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-23 16:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595598848001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:30:43] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-23 16:30:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122775630180777984,"km_value":122775630180777.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058498044117520384,"description":"Unknown IO ID 45"} 
[2026-08-23 16:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595598848001,"power":13015,"unknown_71":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9058498044117520384}} 
[2026-08-23 16:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":160629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:30:43] local.INFO: GPS data processed {"connection_id":160629,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:30:43] local.INFO: Acknowledgment sent {"connection_id":160629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:30:44] local.INFO: TCP Data received {"connection_id":160629,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e476128012d825a0005d98688000400a824..."} 
[2026-08-23 16:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e476128012d825a0005d98688000400a824..."} 
[2026-08-23 16:30:44] local.INFO: Processing buffer {"connection_id":160629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e476128012d825a0005d98688000400a824..."} 
[2026-08-23 16:30:44] local.INFO: Packet analysis {"connection_id":160629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:30:44] local.INFO: Extracted packet for processing {"connection_id":160629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:30:44] local.INFO: GPS Element Parsed {"raw_longitude":763517440,"raw_latitude":98141832,"longitude_deg":76.351744,"latitude_deg":9.8141832,"altitude":4,"angle":168,"satellites":36,"speed":46,"hex_longitude":"2d825a00","hex_latitude":"05d98688","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595601152001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122776098332213248,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9056105506817736704,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787482825000,"timestamp_ms":1787482825000,"timestamp_seconds":1787482825,"priority":1,"record_length":96,"hex_timestamp":"000001a02e476128"} 
[2026-08-23 16:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:30:44] 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-08-23 16: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 16:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595601152001,"66":13135,"71":206,"85":15104,"24":46,"16":122776098332213248,"45":-9056105506817736704},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-23 16:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595601152001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:30:44] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-23 16:30:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122776098332213248,"km_value":122776098332213.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9056105506817736704,"description":"Unknown IO ID 45"} 
[2026-08-23 16:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595601152001,"power":13135,"unknown_71":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9056105506817736704}} 
[2026-08-23 16:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":160629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:30:44] local.INFO: GPS data processed {"connection_id":160629,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:30:44] local.INFO: Acknowledgment sent {"connection_id":160629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:30:46] local.INFO: TCP Data received {"connection_id":160630,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:30:46] local.INFO: Processing buffer {"connection_id":160630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:30:46] local.INFO: IMEI packet received {"connection_id":160630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":160630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:30:51] local.INFO: TCP Data received {"connection_id":160630,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:30:51] local.INFO: Processing buffer {"connection_id":160630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:30:51] local.INFO: IMEI packet received {"connection_id":160630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":160630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:30:52] local.INFO: TCP Data received {"connection_id":160630,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:30:52] local.INFO: Processing buffer {"connection_id":160630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:30:52] local.INFO: Packet analysis {"connection_id":160630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:30:52] local.INFO: Extracted packet for processing {"connection_id":160630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":4,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595520256001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787482801000,"timestamp_ms":1787482801000,"timestamp_seconds":1787482801,"priority":1,"record_length":96,"hex_timestamp":"000001a02e470368"} 
[2026-08-23 16:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:30:52] 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-08-23 16:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595520256001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595520256001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:30:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595520256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":160630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:30:52] local.INFO: GPS data processed {"connection_id":160630,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:30:52] local.INFO: Acknowledgment sent {"connection_id":160630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:31:06] local.INFO: TCP Data received {"connection_id":161830,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e44e470012d1823400721b850004b013128..."} 
[2026-08-23 16:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e44e470012d1823400721b850004b013128..."} 
[2026-08-23 16:31:06] local.INFO: Processing buffer {"connection_id":161830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e44e470012d1823400721b850004b013128..."} 
[2026-08-23 16:31:06] local.INFO: Packet analysis {"connection_id":161830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e44"} 
[2026-08-23 16:31:06] local.INFO: Extracted packet for processing {"connection_id":161830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e44"} 
[2026-08-23 16:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595556096001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787482662000,"timestamp_ms":1787482662000,"timestamp_seconds":1787482662,"priority":1,"record_length":96,"hex_timestamp":"000001a02e44e470"} 
[2026-08-23 16:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:31:06] local.INFO: 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-08-23 16:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-23 16:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595556096001,"66":12504,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595556096001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:31:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595556096001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":161830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:31:06] local.INFO: GPS data processed {"connection_id":161830,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:31:06] local.INFO: Acknowledgment sent {"connection_id":161830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:31:16] local.INFO: TCP Data received {"connection_id":160629,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e478068012d82630005d96278000500a226..."} 
[2026-08-23 16:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e478068012d82630005d96278000500a226..."} 
[2026-08-23 16:31:16] local.INFO: Processing buffer {"connection_id":160629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e478068012d82630005d96278000500a226..."} 
[2026-08-23 16:31:16] local.INFO: Packet analysis {"connection_id":160629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:31:16] local.INFO: Extracted packet for processing {"connection_id":160629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:31:16] local.INFO: GPS Element Parsed {"raw_longitude":763519744,"raw_latitude":98132600,"longitude_deg":76.3519744,"latitude_deg":9.81326,"altitude":5,"angle":162,"satellites":38,"speed":48,"hex_longitude":"2d826300","hex_latitude":"05d96278","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595603200001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122776557893713920,"note":"Value kept but may cause issues"} 
[2026-08-23 16:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9053924075750651904,"note":"Value kept but may cause issues"} 
[2026-08-23 16:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787482833000,"timestamp_ms":1787482833000,"timestamp_seconds":1787482833,"priority":1,"record_length":96,"hex_timestamp":"000001a02e478068"} 
[2026-08-23 16:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:31:16] 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-08-23 16: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 16:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595603200001,"66":13276,"69":206,"85":15104,"24":48,"16":122776557893713920,"45":-9053924075750651904},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-23 16:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595603200001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:31:16] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-23 16:31:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122776557893713920,"km_value":122776557893713.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9053924075750651904,"description":"Unknown IO ID 45"} 
[2026-08-23 16:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595603200001,"power":13276,"unknown_69":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-9053924075750651904}} 
[2026-08-23 16:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":160629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:31:16] local.INFO: GPS data processed {"connection_id":160629,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:31:16] local.INFO: Acknowledgment sent {"connection_id":160629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:31:23] local.INFO: TCP Data received {"connection_id":160630,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:31:23] local.INFO: Processing buffer {"connection_id":160630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:31:23] local.INFO: Packet analysis {"connection_id":160630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:31:23] local.INFO: Extracted packet for processing {"connection_id":160630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:31:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":4,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595520256001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787482801000,"timestamp_ms":1787482801000,"timestamp_seconds":1787482801,"priority":1,"record_length":96,"hex_timestamp":"000001a02e470368"} 
[2026-08-23 16:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:31:23] 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-08-23 16:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595520256001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595520256001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:31:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:31:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595520256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":160630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:31:23] local.INFO: GPS data processed {"connection_id":160630,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:31:23] local.INFO: Acknowledgment sent {"connection_id":160630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:31:29] local.INFO: TCP Data received {"connection_id":160880,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:31:29] local.INFO: Processing buffer {"connection_id":160880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:31:29] local.INFO: IMEI packet received {"connection_id":160880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":160880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:31:29] local.INFO: TCP Data received {"connection_id":160880,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:31:29] local.INFO: Processing buffer {"connection_id":160880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:31:29] local.INFO: IMEI packet received {"connection_id":160880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":160880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:31:34] local.INFO: TCP Data received {"connection_id":160880,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:31:34] local.INFO: Processing buffer {"connection_id":160880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:31:34] local.INFO: IMEI packet received {"connection_id":160880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":160880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:31:34] local.INFO: TCP Data received {"connection_id":160631,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160631,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:31:34] local.INFO: Processing buffer {"connection_id":160631,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:31:34] local.INFO: IMEI packet received {"connection_id":160631,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":160631,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:31:35] local.INFO: TCP Data received {"connection_id":160880,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e453678012d1823400721b850004b013127..."} 
[2026-08-23 16:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e453678012d1823400721b850004b013127..."} 
[2026-08-23 16:31:35] local.INFO: Processing buffer {"connection_id":160880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e453678012d1823400721b850004b013127..."} 
[2026-08-23 16:31:35] local.INFO: Packet analysis {"connection_id":160880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e45"} 
[2026-08-23 16:31:35] local.INFO: Extracted packet for processing {"connection_id":160880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e45"} 
[2026-08-23 16:31:35] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595561472001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787482683000,"timestamp_ms":1787482683000,"timestamp_seconds":1787482683,"priority":1,"record_length":96,"hex_timestamp":"000001a02e453678"} 
[2026-08-23 16:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 16:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595561472001,"66":12428,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595561472001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:31:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:31:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595561472001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":160880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:31:35] local.INFO: GPS data processed {"connection_id":160880,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:31:35] local.INFO: Acknowledgment sent {"connection_id":160880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:31:39] local.INFO: TCP Data received {"connection_id":160631,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160631,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:31:39] local.INFO: Processing buffer {"connection_id":160631,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:31:39] local.INFO: IMEI packet received {"connection_id":160631,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":160631,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:31:40] local.INFO: TCP Data received {"connection_id":160631,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e479fa8012d826fc005d93f500005009e26..."} 
[2026-08-23 16:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e479fa8012d826fc005d93f500005009e26..."} 
[2026-08-23 16:31:40] local.INFO: Processing buffer {"connection_id":160631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e479fa8012d826fc005d93f500005009e26..."} 
[2026-08-23 16:31:40] local.INFO: Packet analysis {"connection_id":160631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:31:40] local.INFO: Extracted packet for processing {"connection_id":160631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:31:40] local.INFO: GPS Element Parsed {"raw_longitude":763523008,"raw_latitude":98123600,"longitude_deg":76.3523008,"latitude_deg":9.81236,"altitude":5,"angle":158,"satellites":38,"speed":46,"hex_longitude":"2d826fc0","hex_latitude":"05d93f50","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595605248001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122777021750181888,"note":"Value kept but may cause issues"} 
[2026-08-23 16:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9051390800962619392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787482841000,"timestamp_ms":1787482841000,"timestamp_seconds":1787482841,"priority":1,"record_length":96,"hex_timestamp":"000001a02e479fa8"} 
[2026-08-23 16:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:31: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-08-23 16: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 16:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595605248001,"66":12722,"69":206,"85":15104,"24":46,"16":122777021750181888,"45":-9051390800962619392},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-23 16:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595605248001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:31:40] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-23 16:31:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122777021750181888,"km_value":122777021750181.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9051390800962619392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595605248001,"power":12722,"unknown_69":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9051390800962619392}} 
[2026-08-23 16:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":160631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:31:41] local.INFO: GPS data processed {"connection_id":160631,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:31:41] local.INFO: Acknowledgment sent {"connection_id":160631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:31:41] local.INFO: TCP Data received {"connection_id":160631,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e47bee8012d827d0005d91ce8000600a327..."} 
[2026-08-23 16:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e47bee8012d827d0005d91ce8000600a327..."} 
[2026-08-23 16:31:41] local.INFO: Processing buffer {"connection_id":160631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e47bee8012d827d0005d91ce8000600a327..."} 
[2026-08-23 16:31:41] local.INFO: Packet analysis {"connection_id":160631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:31:41] local.INFO: Extracted packet for processing {"connection_id":160631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:31:41] local.INFO: GPS Element Parsed {"raw_longitude":763526400,"raw_latitude":98114792,"longitude_deg":76.35264,"latitude_deg":9.8114792,"altitude":6,"angle":163,"satellites":39,"speed":46,"hex_longitude":"2d827d00","hex_latitude":"05d91ce8","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595607296001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122777477016715264,"note":"Value kept but may cause issues"} 
[2026-08-23 16:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9047801995011862528,"note":"Value kept but may cause issues"} 
[2026-08-23 16:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787482849000,"timestamp_ms":1787482849000,"timestamp_seconds":1787482849,"priority":1,"record_length":96,"hex_timestamp":"000001a02e47bee8"} 
[2026-08-23 16:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:31: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-08-23 16: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 16:31:41] 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-08-23 16: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-08-23 16:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595607296001,"66":13222,"69":206,"85":15104,"24":46,"16":122777477016715264,"45":-9047801995011862528},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-23 16:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595607296001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:31:41] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-23 16:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122777477016715264,"km_value":122777477016715.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9047801995011862528,"description":"Unknown IO ID 45"} 
[2026-08-23 16:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595607296001,"power":13222,"unknown_69":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9047801995011862528}} 
[2026-08-23 16:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":160631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:31:41] local.INFO: GPS data processed {"connection_id":160631,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:31:41] local.INFO: Acknowledgment sent {"connection_id":160631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:31:45] local.INFO: TCP Data received {"connection_id":161831,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:31:45] local.INFO: Processing buffer {"connection_id":161831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:31:45] local.INFO: IMEI packet received {"connection_id":161831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":161831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:31:51] local.INFO: TCP Data received {"connection_id":161831,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:31:51] local.INFO: Processing buffer {"connection_id":161831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:31:51] local.INFO: IMEI packet received {"connection_id":161831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":161831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:31:52] local.INFO: TCP Data received {"connection_id":161831,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:31:52] local.INFO: Processing buffer {"connection_id":161831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:31:52] local.INFO: Packet analysis {"connection_id":161831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:31:52] local.INFO: Extracted packet for processing {"connection_id":161831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:31:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":4,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595520256001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787482801000,"timestamp_ms":1787482801000,"timestamp_seconds":1787482801,"priority":1,"record_length":96,"hex_timestamp":"000001a02e470368"} 
[2026-08-23 16:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:31:52] 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-08-23 16:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595520256001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595520256001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:31:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:31:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595520256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":161831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:31:52] local.INFO: GPS data processed {"connection_id":161831,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:31:52] local.INFO: Acknowledgment sent {"connection_id":161831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:32:06] local.INFO: TCP Data received {"connection_id":160880,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e458880012d1823400721b850004b013128..."} 
[2026-08-23 16:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e458880012d1823400721b850004b013128..."} 
[2026-08-23 16:32:06] local.INFO: Processing buffer {"connection_id":160880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e458880012d1823400721b850004b013128..."} 
[2026-08-23 16:32:06] local.INFO: Packet analysis {"connection_id":160880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e45"} 
[2026-08-23 16:32:06] local.INFO: Extracted packet for processing {"connection_id":160880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e45"} 
[2026-08-23 16:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595566848001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787482704000,"timestamp_ms":1787482704000,"timestamp_seconds":1787482704,"priority":1,"record_length":96,"hex_timestamp":"000001a02e458880"} 
[2026-08-23 16:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:32:06] local.INFO: 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-08-23 16:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 16:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595566848001,"66":12461,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595566848001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:32:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595566848001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":160880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:32:06] local.INFO: GPS data processed {"connection_id":160880,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:32:06] local.INFO: Acknowledgment sent {"connection_id":160880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:32:13] local.INFO: TCP Data received {"connection_id":160631,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e47de28012d82830005d8f9f8000500ae27..."} 
[2026-08-23 16:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e47de28012d82830005d8f9f8000500ae27..."} 
[2026-08-23 16:32:13] local.INFO: Processing buffer {"connection_id":160631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e47de28012d82830005d8f9f8000500ae27..."} 
[2026-08-23 16:32:13] local.INFO: Packet analysis {"connection_id":160631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:32:13] local.INFO: Extracted packet for processing {"connection_id":160631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:32:13] local.INFO: GPS Element Parsed {"raw_longitude":763527936,"raw_latitude":98105848,"longitude_deg":76.3527936,"latitude_deg":9.8105848,"altitude":5,"angle":174,"satellites":39,"speed":46,"hex_longitude":"2d828300","hex_latitude":"05d8f9f8","is_valid_coordinates":true} 
[2026-08-23 16:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595609344001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122777919398346752,"note":"Value kept but may cause issues"} 
[2026-08-23 16:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044072451572701184,"note":"Value kept but may cause issues"} 
[2026-08-23 16:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787482857000,"timestamp_ms":1787482857000,"timestamp_seconds":1787482857,"priority":1,"record_length":96,"hex_timestamp":"000001a02e47de28"} 
[2026-08-23 16:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:32: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-08-23 16:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 16:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595609344001,"66":12461,"69":206,"85":15104,"24":46,"16":122777919398346752,"45":-9044072451572701184},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-23 16:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595609344001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:32:13] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-23 16:32:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122777919398346752,"km_value":122777919398346.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044072451572701184,"description":"Unknown IO ID 45"} 
[2026-08-23 16:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595609344001,"power":12461,"unknown_69":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9044072451572701184}} 
[2026-08-23 16:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":160631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:32:13] local.INFO: GPS data processed {"connection_id":160631,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:32:13] local.INFO: Acknowledgment sent {"connection_id":160631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:32:23] local.INFO: TCP Data received {"connection_id":161831,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:32:23] local.INFO: Processing buffer {"connection_id":161831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:32:23] local.INFO: Packet analysis {"connection_id":161831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:32:23] local.INFO: Extracted packet for processing {"connection_id":161831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:32:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":4,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595520256001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787482801000,"timestamp_ms":1787482801000,"timestamp_seconds":1787482801,"priority":1,"record_length":96,"hex_timestamp":"000001a02e470368"} 
[2026-08-23 16:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:32:23] 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-08-23 16:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595520256001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595520256001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:32:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:32:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595520256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":161831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:32:23] local.INFO: GPS data processed {"connection_id":161831,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:32:23] local.INFO: Acknowledgment sent {"connection_id":161831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:32:29] local.INFO: TCP Data received {"connection_id":160881,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:32:29] local.INFO: Processing buffer {"connection_id":160881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:32:29] local.INFO: IMEI packet received {"connection_id":160881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":160881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:32:32] local.INFO: TCP Data received {"connection_id":160881,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:32:32] local.INFO: Processing buffer {"connection_id":160881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:32:32] local.INFO: IMEI packet received {"connection_id":160881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":160881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:32:34] local.INFO: TCP Data received {"connection_id":160881,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:32:34] local.INFO: Processing buffer {"connection_id":160881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:32:34] local.INFO: IMEI packet received {"connection_id":160881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":160881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:32:34] local.INFO: TCP Data received {"connection_id":163229,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:32:34] local.INFO: Processing buffer {"connection_id":163229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:32:34] local.INFO: IMEI packet received {"connection_id":163229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":163229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:32:35] local.INFO: TCP Data received {"connection_id":160881,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e45da88012d1823400721b850004b013129..."} 
[2026-08-23 16:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e45da88012d1823400721b850004b013129..."} 
[2026-08-23 16:32:35] local.INFO: Processing buffer {"connection_id":160881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e45da88012d1823400721b850004b013129..."} 
[2026-08-23 16:32:35] local.INFO: Packet analysis {"connection_id":160881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e45"} 
[2026-08-23 16:32:35] local.INFO: Extracted packet for processing {"connection_id":160881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e45"} 
[2026-08-23 16:32:35] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595572224001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787482725000,"timestamp_ms":1787482725000,"timestamp_seconds":1787482725,"priority":1,"record_length":96,"hex_timestamp":"000001a02e45da88"} 
[2026-08-23 16:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595572224001,"66":12428,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595572224001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:32:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:32:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595572224001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":160881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:32:35] local.INFO: GPS data processed {"connection_id":160881,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:32:35] local.INFO: Acknowledgment sent {"connection_id":160881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:32:38] local.INFO: TCP Data received {"connection_id":163229,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:32:38] local.INFO: Processing buffer {"connection_id":163229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:32:38] local.INFO: IMEI packet received {"connection_id":163229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":163229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:32:39] local.INFO: TCP Data received {"connection_id":163229,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e47fd68012d82858005d8d6e0000600af27..."} 
[2026-08-23 16:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e47fd68012d82858005d8d6e0000600af27..."} 
[2026-08-23 16:32:39] local.INFO: Processing buffer {"connection_id":163229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e47fd68012d82858005d8d6e0000600af27..."} 
[2026-08-23 16:32:39] local.INFO: Packet analysis {"connection_id":163229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:32:39] local.INFO: Extracted packet for processing {"connection_id":163229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763528576,"raw_latitude":98096864,"longitude_deg":76.3528576,"latitude_deg":9.8096864,"altitude":6,"angle":175,"satellites":39,"speed":43,"hex_longitude":"2d828580","hex_latitude":"05d8d6e0","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595611392001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122778357485010944,"note":"Value kept but may cause issues"} 
[2026-08-23 16:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042383601714726912,"note":"Value kept but may cause issues"} 
[2026-08-23 16:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787482865000,"timestamp_ms":1787482865000,"timestamp_seconds":1787482865,"priority":1,"record_length":96,"hex_timestamp":"000001a02e47fd68"} 
[2026-08-23 16:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:32: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-08-23 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595611392001,"66":13080,"69":206,"85":15104,"24":43,"16":122778357485010944,"45":-9042383601714726912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-23 16:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595611392001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:32:39] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-23 16:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122778357485010944,"km_value":122778357485010.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042383601714726912,"description":"Unknown IO ID 45"} 
[2026-08-23 16:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595611392001,"power":13080,"unknown_69":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9042383601714726912}} 
[2026-08-23 16:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":163229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:32:39] local.INFO: GPS data processed {"connection_id":163229,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:32:39] local.INFO: Acknowledgment sent {"connection_id":163229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:32:45] local.INFO: TCP Data received {"connection_id":160632,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:32:45] local.INFO: Processing buffer {"connection_id":160632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:32:45] local.INFO: IMEI packet received {"connection_id":160632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":160632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:32:51] local.INFO: TCP Data received {"connection_id":160632,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:32:51] local.INFO: Processing buffer {"connection_id":160632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:32:51] local.INFO: IMEI packet received {"connection_id":160632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":160632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:32:52] local.INFO: TCP Data received {"connection_id":160632,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:32:52] local.INFO: Processing buffer {"connection_id":160632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:32:52] local.INFO: Packet analysis {"connection_id":160632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:32:52] local.INFO: Extracted packet for processing {"connection_id":160632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:32:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":4,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595520256001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787482801000,"timestamp_ms":1787482801000,"timestamp_seconds":1787482801,"priority":1,"record_length":96,"hex_timestamp":"000001a02e470368"} 
[2026-08-23 16:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:32:52] 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-08-23 16:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595520256001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595520256001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:32:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:32:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595520256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":160632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:32:52] local.INFO: GPS data processed {"connection_id":160632,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:32:52] local.INFO: Acknowledgment sent {"connection_id":160632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:33:06] local.INFO: TCP Data received {"connection_id":160881,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e462c90012d1823400721b850004b013129..."} 
[2026-08-23 16:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e462c90012d1823400721b850004b013129..."} 
[2026-08-23 16:33:06] local.INFO: Processing buffer {"connection_id":160881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e462c90012d1823400721b850004b013129..."} 
[2026-08-23 16:33:06] local.INFO: Packet analysis {"connection_id":160881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e46"} 
[2026-08-23 16:33:06] local.INFO: Extracted packet for processing {"connection_id":160881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e46"} 
[2026-08-23 16:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595577600001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787482746000,"timestamp_ms":1787482746000,"timestamp_seconds":1787482746,"priority":1,"record_length":96,"hex_timestamp":"000001a02e462c90"} 
[2026-08-23 16:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:33:06] local.INFO: 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-08-23 16:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 16:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595577600001,"66":12461,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595577600001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:33:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595577600001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":160881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:33:06] local.INFO: GPS data processed {"connection_id":160881,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:33:06] local.INFO: Acknowledgment sent {"connection_id":160881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:33:11] local.INFO: TCP Data received {"connection_id":163229,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e482090012d82880005d8b3f8000500b227..."} 
[2026-08-23 16:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e482090012d82880005d8b3f8000500b227..."} 
[2026-08-23 16:33:11] local.INFO: Processing buffer {"connection_id":163229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e482090012d82880005d8b3f8000500b227..."} 
[2026-08-23 16:33:11] local.INFO: Packet analysis {"connection_id":163229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e48"} 
[2026-08-23 16:33:11] local.INFO: Extracted packet for processing {"connection_id":163229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e48"} 
[2026-08-23 16:33:11] local.INFO: GPS Element Parsed {"raw_longitude":763529216,"raw_latitude":98087928,"longitude_deg":76.3529216,"latitude_deg":9.8087928,"altitude":5,"angle":178,"satellites":39,"speed":36,"hex_longitude":"2d828800","hex_latitude":"05d8b3f8","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595613440001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122778791276707840,"note":"Value kept but may cause issues"} 
[2026-08-23 16:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041679914275250176,"note":"Value kept but may cause issues"} 
[2026-08-23 16:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787482874000,"timestamp_ms":1787482874000,"timestamp_seconds":1787482874,"priority":1,"record_length":96,"hex_timestamp":"000001a02e482090"} 
[2026-08-23 16:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:33: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-08-23 16: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-23 16:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595613440001,"66":13015,"49":206,"85":15104,"24":36,"16":122778791276707840,"45":-9041679914275250176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-23 16:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595613440001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:33:11] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-23 16:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122778791276707840,"km_value":122778791276707.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041679914275250176,"description":"Unknown IO ID 45"} 
[2026-08-23 16:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595613440001,"power":13015,"unknown_49":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9041679914275250176}} 
[2026-08-23 16:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":163229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:33:11] local.INFO: GPS data processed {"connection_id":163229,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:33:11] local.INFO: Acknowledgment sent {"connection_id":163229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:33:25] local.INFO: TCP Data received {"connection_id":160632,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:33:25] local.INFO: Processing buffer {"connection_id":160632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:33:25] local.INFO: Packet analysis {"connection_id":160632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:33:25] local.INFO: Extracted packet for processing {"connection_id":160632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:33:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":4,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595520256001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787482801000,"timestamp_ms":1787482801000,"timestamp_seconds":1787482801,"priority":1,"record_length":96,"hex_timestamp":"000001a02e470368"} 
[2026-08-23 16:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:33:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:33:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:33:25] 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-08-23 16:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595520256001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595520256001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:33:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:33:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595520256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":160632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:33:25] local.INFO: GPS data processed {"connection_id":160632,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:33:25] local.INFO: Acknowledgment sent {"connection_id":160632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:33:34] local.INFO: TCP Data received {"connection_id":163230,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:33:34] local.INFO: Processing buffer {"connection_id":163230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:33:34] local.INFO: IMEI packet received {"connection_id":163230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":163230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:33:34] local.INFO: TCP Data received {"connection_id":161832,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:33:34] local.INFO: Processing buffer {"connection_id":161832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:33:34] local.INFO: IMEI packet received {"connection_id":161832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":161832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:33:35] local.INFO: TCP Data received {"connection_id":163230,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:33:35] local.INFO: Processing buffer {"connection_id":163230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:33:35] local.INFO: IMEI packet received {"connection_id":163230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":163230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:33:36] local.INFO: TCP Data received {"connection_id":163230,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e467e98012d1823400721b850004b013128..."} 
[2026-08-23 16:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e467e98012d1823400721b850004b013128..."} 
[2026-08-23 16:33:36] local.INFO: Processing buffer {"connection_id":163230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e467e98012d1823400721b850004b013128..."} 
[2026-08-23 16:33:36] local.INFO: Packet analysis {"connection_id":163230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e46"} 
[2026-08-23 16:33:36] local.INFO: Extracted packet for processing {"connection_id":163230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e46"} 
[2026-08-23 16:33:36] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595582976001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787482767000,"timestamp_ms":1787482767000,"timestamp_seconds":1787482767,"priority":1,"record_length":96,"hex_timestamp":"000001a02e467e98"} 
[2026-08-23 16:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595582976001,"66":12406,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595582976001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:33:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:33:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595582976001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":163230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:33:36] local.INFO: GPS data processed {"connection_id":163230,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:33:36] local.INFO: Acknowledgment sent {"connection_id":163230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:33:39] local.INFO: TCP Data received {"connection_id":163230,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e46d0a0012d1823400721b850004b013128..."} 
[2026-08-23 16:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e46d0a0012d1823400721b850004b013128..."} 
[2026-08-23 16:33:39] local.INFO: Processing buffer {"connection_id":163230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e46d0a0012d1823400721b850004b013128..."} 
[2026-08-23 16:33:39] local.INFO: Packet analysis {"connection_id":163230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e46"} 
[2026-08-23 16:33:39] local.INFO: Extracted packet for processing {"connection_id":163230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e46"} 
[2026-08-23 16:33:39] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595588352001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787482788000,"timestamp_ms":1787482788000,"timestamp_seconds":1787482788,"priority":1,"record_length":96,"hex_timestamp":"000001a02e46d0a0"} 
[2026-08-23 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-08-23 16:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 16:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 16:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595588352001,"66":12461,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595588352001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:33:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:33:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595588352001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":163230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:33:39] local.INFO: GPS data processed {"connection_id":163230,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:33:39] local.INFO: Acknowledgment sent {"connection_id":163230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:33:39] local.INFO: TCP Data received {"connection_id":161832,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:33:39] local.INFO: Processing buffer {"connection_id":161832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:33:39] local.INFO: IMEI packet received {"connection_id":161832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":161832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:33:40] local.INFO: TCP Data received {"connection_id":161832,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e499790012d82a8c005d76570000100ad26..."} 
[2026-08-23 16:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e499790012d82a8c005d76570000100ad26..."} 
[2026-08-23 16:33:40] local.INFO: Processing buffer {"connection_id":161832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e499790012d82a8c005d76570000100ad26..."} 
[2026-08-23 16:33:40] local.INFO: Packet analysis {"connection_id":161832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e49"} 
[2026-08-23 16:33:40] local.INFO: Extracted packet for processing {"connection_id":161832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e49"} 
[2026-08-23 16:33:40] local.INFO: GPS Element Parsed {"raw_longitude":763537600,"raw_latitude":98002288,"longitude_deg":76.35376,"latitude_deg":9.8002288,"altitude":1,"angle":173,"satellites":38,"speed":26,"hex_longitude":"2d82a8c0","hex_latitude":"05d76570","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595636992001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122782991754723328,"note":"Value kept but may cause issues"} 
[2026-08-23 16:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032461608809840640,"note":"Value kept but may cause issues"} 
[2026-08-23 16:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787482970000,"timestamp_ms":1787482970000,"timestamp_seconds":1787482970,"priority":1,"record_length":96,"hex_timestamp":"000001a02e499790"} 
[2026-08-23 16:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:33: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-08-23 16: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 16:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595636992001,"66":13059,"155":206,"85":15104,"24":26,"16":122782991754723328,"45":-9032461608809840640},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-23 16:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595636992001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:33:40] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-23 16:33:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122782991754723328,"km_value":122782991754723.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032461608809840640,"description":"Unknown IO ID 45"} 
[2026-08-23 16:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595636992001,"power":13059,"unknown_155":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9032461608809840640}} 
[2026-08-23 16:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":161832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:33:40] local.INFO: GPS data processed {"connection_id":161832,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:33:40] local.INFO: Acknowledgment sent {"connection_id":161832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:33:51] local.INFO: TCP Data received {"connection_id":160882,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:33:51] local.INFO: Processing buffer {"connection_id":160882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:33:51] local.INFO: IMEI packet received {"connection_id":160882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":160882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:33:56] local.INFO: TCP Data received {"connection_id":160882,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:33:56] local.INFO: Processing buffer {"connection_id":160882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:33:56] local.INFO: IMEI packet received {"connection_id":160882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":160882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:33:57] local.INFO: TCP Data received {"connection_id":160882,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:33:57] local.INFO: Processing buffer {"connection_id":160882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:33:57] local.INFO: Packet analysis {"connection_id":160882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:33:57] local.INFO: Extracted packet for processing {"connection_id":160882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:33:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":4,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595520256001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787482801000,"timestamp_ms":1787482801000,"timestamp_seconds":1787482801,"priority":1,"record_length":96,"hex_timestamp":"000001a02e470368"} 
[2026-08-23 16:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595520256001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595520256001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:33:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:33:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595520256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":160882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:33:57] local.INFO: GPS data processed {"connection_id":160882,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:33:57] local.INFO: Acknowledgment sent {"connection_id":160882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:34:01] local.INFO: TCP Data received {"connection_id":160882,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:34:01] local.INFO: Processing buffer {"connection_id":160882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:34:01] local.INFO: Packet analysis {"connection_id":160882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:34:01] local.INFO: Extracted packet for processing {"connection_id":160882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:34:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":4,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595520256001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787482801000,"timestamp_ms":1787482801000,"timestamp_seconds":1787482801,"priority":1,"record_length":96,"hex_timestamp":"000001a02e470368"} 
[2026-08-23 16:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:34:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595520256001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595520256001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:34:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:34:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595520256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":160882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:34:01] local.INFO: GPS data processed {"connection_id":160882,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:34:01] local.INFO: Acknowledgment sent {"connection_id":160882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:34:10] local.INFO: TCP Data received {"connection_id":163230,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4722a8012d1823400721b850004b013128..."} 
[2026-08-23 16:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4722a8012d1823400721b850004b013128..."} 
[2026-08-23 16:34:10] local.INFO: Processing buffer {"connection_id":163230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4722a8012d1823400721b850004b013128..."} 
[2026-08-23 16:34:10] local.INFO: Packet analysis {"connection_id":163230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:34:10] local.INFO: Extracted packet for processing {"connection_id":163230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:34:10] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595593728001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787482809000,"timestamp_ms":1787482809000,"timestamp_seconds":1787482809,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4722a8"} 
[2026-08-23 16:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595593728001,"66":12461,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595593728001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:34:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:34:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595593728001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":163230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:34:10] local.INFO: GPS data processed {"connection_id":163230,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:34:10] local.INFO: Acknowledgment sent {"connection_id":163230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:34:11] local.INFO: TCP Data received {"connection_id":161832,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e49e5b0012d82abc005d75568000300ac27..."} 
[2026-08-23 16:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e49e5b0012d82abc005d75568000300ac27..."} 
[2026-08-23 16:34:11] local.INFO: Processing buffer {"connection_id":161832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e49e5b0012d82abc005d75568000300ac27..."} 
[2026-08-23 16:34:11] local.INFO: Packet analysis {"connection_id":161832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e49"} 
[2026-08-23 16:34:11] local.INFO: Extracted packet for processing {"connection_id":161832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e49"} 
[2026-08-23 16:34:11] local.INFO: GPS Element Parsed {"raw_longitude":763538368,"raw_latitude":97998184,"longitude_deg":76.3538368,"latitude_deg":9.7998184,"altitude":3,"angle":172,"satellites":39,"speed":4,"hex_longitude":"2d82abc0","hex_latitude":"05d75568","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595640320001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122783202208120832,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031757921370411008,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787482990000,"timestamp_ms":1787482990000,"timestamp_seconds":1787482990,"priority":1,"record_length":96,"hex_timestamp":"000001a02e49e5b0"} 
[2026-08-23 16:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:34: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-08-23 16: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-23 16:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161368694110,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2191523845,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:11] local.WARNING: Large IO value detected {"io_id":215,"raw_value":4136632323,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1580138702,"corrected_to":0} 
[2026-08-23 16:34:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2281778562,"corrected_to":0} 
[2026-08-23 16:34:11] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422302,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:11] local.WARNING: Large IO value detected {"io_id":49,"raw_value":58077557095399467,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:11] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,155,85,24,241,157,16,54,160,100,45,64,137,2,38,10,66,53,128,174,3,14,1,240,69,227,46,215,4,113,205,43,200,159,39,239,51,47,180,5,49],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1580138702,"validated":0},{"io_id":200,"original":2281778562,"validated":0}]} 
[2026-08-23 16:34:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72247972759994368,"timestamp_seconds":72247972759994.38,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 16:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595640320001,"66":13178,"155":206,"85":15104,"24":4,"16":122783202208120832,"45":-9031757921370411008},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-23 16:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595640320001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:34:11] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-23 16:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122783202208120832,"km_value":122783202208120.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031757921370411008,"description":"Unknown IO ID 45"} 
[2026-08-23 16:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595640320001,"power":13178,"unknown_155":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":-9031757921370411008}} 
[2026-08-23 16:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":161832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:34:11] local.INFO: GPS data processed {"connection_id":161832,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:34:11] local.INFO: Acknowledgment sent {"connection_id":161832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:34:29] local.INFO: TCP Data received {"connection_id":161833,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:34:29] local.INFO: Processing buffer {"connection_id":161833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:34:29] local.INFO: IMEI packet received {"connection_id":161833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":161833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:34:34] local.INFO: TCP Data received {"connection_id":161833,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:34:34] local.INFO: Processing buffer {"connection_id":161833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:34:34] local.INFO: IMEI packet received {"connection_id":161833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":161833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:34:35] local.INFO: TCP Data received {"connection_id":161833,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4774b0012d1823400721b850004b013127..."} 
[2026-08-23 16:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4774b0012d1823400721b850004b013127..."} 
[2026-08-23 16:34:35] local.INFO: Processing buffer {"connection_id":161833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4774b0012d1823400721b850004b013127..."} 
[2026-08-23 16:34:35] local.INFO: Packet analysis {"connection_id":161833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:34:35] local.INFO: Extracted packet for processing {"connection_id":161833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:34:35] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595599104001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787482830000,"timestamp_ms":1787482830000,"timestamp_seconds":1787482830,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4774b0"} 
[2026-08-23 16:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595599104001,"66":12428,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595599104001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:34:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:34:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595599104001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":161833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:34:35] local.INFO: GPS data processed {"connection_id":161833,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:34:35] local.INFO: Acknowledgment sent {"connection_id":161833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:34:35] local.INFO: TCP Data received {"connection_id":160633,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:34:35] local.INFO: Processing buffer {"connection_id":160633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:34:35] local.INFO: IMEI packet received {"connection_id":160633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":160633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:34:37] local.INFO: TCP Data received {"connection_id":160633,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:34:37] local.INFO: Processing buffer {"connection_id":160633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:34:37] local.INFO: IMEI packet received {"connection_id":160633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":160633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:34:38] local.INFO: TCP Data received {"connection_id":160633,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4a2430012d82b04005d731a0000500ac26..."} 
[2026-08-23 16:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4a2430012d82b04005d731a0000500ac26..."} 
[2026-08-23 16:34:38] local.INFO: Processing buffer {"connection_id":160633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4a2430012d82b04005d731a0000500ac26..."} 
[2026-08-23 16:34:38] local.INFO: Packet analysis {"connection_id":160633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4a"} 
[2026-08-23 16:34:38] local.INFO: Extracted packet for processing {"connection_id":160633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4a"} 
[2026-08-23 16:34:38] local.INFO: GPS Element Parsed {"raw_longitude":763539520,"raw_latitude":97989024,"longitude_deg":76.353952,"latitude_deg":9.7989024,"altitude":5,"angle":172,"satellites":38,"speed":28,"hex_longitude":"2d82b040","hex_latitude":"05d731a0","is_valid_coordinates":true} 
[2026-08-23 16:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595645440001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122783648884719616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9030913496441329664,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787483006000,"timestamp_ms":1787483006000,"timestamp_seconds":1787483006,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4a2430"} 
[2026-08-23 16:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-23 16:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595645440001,"66":13124,"155":206,"85":15104,"24":28,"16":122783648884719616,"45":-9030913496441329664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-23 16:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595645440001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:34:38] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-23 16:34:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122783648884719616,"km_value":122783648884719.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9030913496441329664,"description":"Unknown IO ID 45"} 
[2026-08-23 16:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595645440001,"power":13124,"unknown_155":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9030913496441329664}} 
[2026-08-23 16:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":160633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:34:38] local.INFO: GPS data processed {"connection_id":160633,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:34:38] local.INFO: Acknowledgment sent {"connection_id":160633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:34:39] local.INFO: TCP Data received {"connection_id":161833,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e47c6b8012d1823400721b850004b013126..."} 
[2026-08-23 16:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e47c6b8012d1823400721b850004b013126..."} 
[2026-08-23 16:34:39] local.INFO: Processing buffer {"connection_id":161833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e47c6b8012d1823400721b850004b013126..."} 
[2026-08-23 16:34:39] local.INFO: Packet analysis {"connection_id":161833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:34:39] local.INFO: Extracted packet for processing {"connection_id":161833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:34:39] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":38,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595604480001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787482851000,"timestamp_ms":1787482851000,"timestamp_seconds":1787482851,"priority":1,"record_length":96,"hex_timestamp":"000001a02e47c6b8"} 
[2026-08-23 16:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 16:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595604480001,"66":12385,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595604480001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:34:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:34:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595604480001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":161833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:34:39] local.INFO: GPS data processed {"connection_id":161833,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:34:39] local.INFO: Acknowledgment sent {"connection_id":161833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:34:46] local.INFO: TCP Data received {"connection_id":163231,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:34:46] local.INFO: Processing buffer {"connection_id":163231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:34:46] local.INFO: IMEI packet received {"connection_id":163231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":163231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:34:51] local.INFO: TCP Data received {"connection_id":163231,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:34:51] local.INFO: Processing buffer {"connection_id":163231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:34:51] local.INFO: IMEI packet received {"connection_id":163231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":163231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:34:52] local.INFO: TCP Data received {"connection_id":163231,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:34:52] local.INFO: Processing buffer {"connection_id":163231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:34:52] local.INFO: Packet analysis {"connection_id":163231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:34:52] local.INFO: Extracted packet for processing {"connection_id":163231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":4,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595520256001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787482801000,"timestamp_ms":1787482801000,"timestamp_seconds":1787482801,"priority":1,"record_length":96,"hex_timestamp":"000001a02e470368"} 
[2026-08-23 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-08-23 16:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 16:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:34:52] 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-08-23 16:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595520256001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595520256001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:34:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595520256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":163231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:34:52] local.INFO: GPS data processed {"connection_id":163231,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:34:52] local.INFO: Acknowledgment sent {"connection_id":163231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:35:09] local.INFO: TCP Data received {"connection_id":160633,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4b58c8012d83184005d689680004007928..."} 
[2026-08-23 16:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4b58c8012d83184005d689680004007928..."} 
[2026-08-23 16:35:09] local.INFO: Processing buffer {"connection_id":160633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4b58c8012d83184005d689680004007928..."} 
[2026-08-23 16:35:09] local.INFO: Packet analysis {"connection_id":160633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:35:09] local.INFO: Extracted packet for processing {"connection_id":160633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763566144,"raw_latitude":97945960,"longitude_deg":76.3566144,"latitude_deg":9.794596,"altitude":4,"angle":121,"satellites":40,"speed":32,"hex_longitude":"2d831840","hex_latitude":"05d68968","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595669248001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122786784210845696,"note":"Value kept but may cause issues"} 
[2026-08-23 16:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9002062311341686784,"note":"Value kept but may cause issues"} 
[2026-08-23 16:35:09] 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-08-23 16:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787483085000,"timestamp_ms":1787483085000,"timestamp_seconds":1787483085,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4b58c8"} 
[2026-08-23 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-08-23 16:35: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-08-23 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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-23 16:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 16:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595669248001,"66":12906,"156":206,"85":15104,"24":32,"16":122786784210845696,"45":-9002062311341686784},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-23 16:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595669248001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:35:09] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 16:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122786784210845696,"km_value":122786784210845.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9002062311341686784,"description":"Unknown IO ID 45"} 
[2026-08-23 16:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595669248001,"power":12906,"unknown_156":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9002062311341686784}} 
[2026-08-23 16:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":160633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:35:09] local.INFO: GPS data processed {"connection_id":160633,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:35:09] local.INFO: Acknowledgment sent {"connection_id":160633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:35:10] local.INFO: TCP Data received {"connection_id":161833,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4818c0012d1823400721b850004b013127..."} 
[2026-08-23 16:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4818c0012d1823400721b850004b013127..."} 
[2026-08-23 16:35:10] local.INFO: Processing buffer {"connection_id":161833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4818c0012d1823400721b850004b013127..."} 
[2026-08-23 16:35:10] local.INFO: Packet analysis {"connection_id":161833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e48"} 
[2026-08-23 16:35:10] local.INFO: Extracted packet for processing {"connection_id":161833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e48"} 
[2026-08-23 16:35:10] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595609856001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787482872000,"timestamp_ms":1787482872000,"timestamp_seconds":1787482872,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4818c0"} 
[2026-08-23 16:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 16:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595609856001,"66":12439,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595609856001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:35:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:35:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595609856001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":161833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:35:11] local.INFO: GPS data processed {"connection_id":161833,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:35:11] local.INFO: Acknowledgment sent {"connection_id":161833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:35:24] local.INFO: TCP Data received {"connection_id":163231,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:35:24] local.INFO: Processing buffer {"connection_id":163231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e470368012d34c50006aa40980004008520..."} 
[2026-08-23 16:35:24] local.INFO: Packet analysis {"connection_id":163231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:35:24] local.INFO: Extracted packet for processing {"connection_id":163231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e47"} 
[2026-08-23 16:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":4,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595520256001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787482801000,"timestamp_ms":1787482801000,"timestamp_seconds":1787482801,"priority":1,"record_length":96,"hex_timestamp":"000001a02e470368"} 
[2026-08-23 16:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:35:24] 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-08-23 16:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595520256001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595520256001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:35:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595520256001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":163231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:35:24] local.INFO: GPS data processed {"connection_id":163231,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:35:24] local.INFO: Acknowledgment sent {"connection_id":163231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:35:27] local.INFO: TCP Data received {"connection_id":161834,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:35:27] local.INFO: Processing buffer {"connection_id":161834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:35:27] local.INFO: IMEI packet received {"connection_id":161834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":161834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:35:29] local.INFO: TCP Data received {"connection_id":161834,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:35:29] local.INFO: Processing buffer {"connection_id":161834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:35:29] local.INFO: IMEI packet received {"connection_id":161834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":161834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:35:34] local.INFO: TCP Data received {"connection_id":161834,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:35:34] local.INFO: Processing buffer {"connection_id":161834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:35:34] local.INFO: IMEI packet received {"connection_id":161834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":161834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:35:34] local.INFO: TCP Data received {"connection_id":163232,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:35:34] local.INFO: Processing buffer {"connection_id":163232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:35:34] local.INFO: IMEI packet received {"connection_id":163232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":163232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:35:35] local.INFO: TCP Data received {"connection_id":161834,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e486ac8012d1823400721b850004b013127..."} 
[2026-08-23 16:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e486ac8012d1823400721b850004b013127..."} 
[2026-08-23 16:35:35] local.INFO: Processing buffer {"connection_id":161834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e486ac8012d1823400721b850004b013127..."} 
[2026-08-23 16:35:35] local.INFO: Packet analysis {"connection_id":161834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e48"} 
[2026-08-23 16:35:35] local.INFO: Extracted packet for processing {"connection_id":161834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e48"} 
[2026-08-23 16:35:35] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":39,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595615232001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787482893000,"timestamp_ms":1787482893000,"timestamp_seconds":1787482893,"priority":1,"record_length":96,"hex_timestamp":"000001a02e486ac8"} 
[2026-08-23 16:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595615232001,"66":12428,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595615232001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:35:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:35:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595615232001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":161834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:35:35] local.INFO: GPS data processed {"connection_id":161834,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:35:35] local.INFO: Acknowledgment sent {"connection_id":161834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:35:38] local.INFO: TCP Data received {"connection_id":163232,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:35:38] local.INFO: Processing buffer {"connection_id":163232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:35:38] local.INFO: IMEI packet received {"connection_id":163232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":163232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:35:39] local.INFO: TCP Data received {"connection_id":163232,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:35:39] local.INFO: Processing buffer {"connection_id":163232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:35:39] local.INFO: IMEI packet received {"connection_id":163232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":163232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:35:40] local.INFO: TCP Data received {"connection_id":163232,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4b7038012d8326c005d67d600005008528..."} 
[2026-08-23 16:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4b7038012d8326c005d67d600005008528..."} 
[2026-08-23 16:35:40] local.INFO: Processing buffer {"connection_id":163232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4b7038012d8326c005d67d600005008528..."} 
[2026-08-23 16:35:40] local.INFO: Packet analysis {"connection_id":163232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:35:40] local.INFO: Extracted packet for processing {"connection_id":163232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763569856,"raw_latitude":97942880,"longitude_deg":76.3569856,"latitude_deg":9.794288,"altitude":5,"angle":133,"satellites":40,"speed":32,"hex_longitude":"2d8326c0","hex_latitude":"05d67d60","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595669760001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122787016139079680,"note":"Value kept but may cause issues"} 
[2026-08-23 16:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9000373461481592832,"note":"Value kept but may cause issues"} 
[2026-08-23 16:35:40] 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-08-23 16:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787483091000,"timestamp_ms":1787483091000,"timestamp_seconds":1787483091,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4b7038"} 
[2026-08-23 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-08-23 16:35: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-08-23 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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-23 16:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 16:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595669760001,"66":12939,"156":206,"85":15104,"24":32,"16":122787016139079680,"45":-9000373461481592832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-23 16:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595669760001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:35:40] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 16:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122787016139079680,"km_value":122787016139079.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9000373461481592832,"description":"Unknown IO ID 45"} 
[2026-08-23 16:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595669760001,"power":12939,"unknown_156":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9000373461481592832}} 
[2026-08-23 16:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":163232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:35:40] local.INFO: GPS data processed {"connection_id":163232,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:35:40] local.INFO: Acknowledgment sent {"connection_id":163232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:35:46] local.INFO: TCP Data received {"connection_id":160634,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:35:46] local.INFO: Processing buffer {"connection_id":160634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:35:46] local.INFO: IMEI packet received {"connection_id":160634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":160634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:35:47] local.INFO: TCP Data received {"connection_id":163232,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4b9748012d83450005d664d00006008128..."} 
[2026-08-23 16:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4b9748012d83450005d664d00006008128..."} 
[2026-08-23 16:35:47] local.INFO: Processing buffer {"connection_id":163232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4b9748012d83450005d664d00006008128..."} 
[2026-08-23 16:35:47] local.INFO: Packet analysis {"connection_id":163232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:35:47] local.INFO: Extracted packet for processing {"connection_id":163232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:35:47] local.INFO: GPS Element Parsed {"raw_longitude":763577600,"raw_latitude":97936592,"longitude_deg":76.35776,"latitude_deg":9.7936592,"altitude":6,"angle":129,"satellites":40,"speed":44,"hex_longitude":"2d834500","hex_latitude":"05d664d0","is_valid_coordinates":true} 
[2026-08-23 16:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595671296001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122787497175416832,"note":"Value kept but may cause issues"} 
[2026-08-23 16:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8996292074320076800,"note":"Value kept but may cause issues"} 
[2026-08-23 16:35:47] 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-08-23 16:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787483101000,"timestamp_ms":1787483101000,"timestamp_seconds":1787483101,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4b9748"} 
[2026-08-23 16:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:35: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-08-23 16:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-23 16:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595671296001,"66":13135,"156":206,"85":15104,"24":44,"16":122787497175416832,"45":-8996292074320076800},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-23 16:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595671296001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:35:47] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 16:35:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122787497175416832,"km_value":122787497175416.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8996292074320076800,"description":"Unknown IO ID 45"} 
[2026-08-23 16:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595671296001,"power":13135,"unknown_156":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-8996292074320076800}} 
[2026-08-23 16:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":163232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:35:47] local.INFO: GPS data processed {"connection_id":163232,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:35:47] local.INFO: Acknowledgment sent {"connection_id":163232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:35:51] local.INFO: TCP Data received {"connection_id":160634,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:35:51] local.INFO: Processing buffer {"connection_id":160634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:35:51] local.INFO: IMEI packet received {"connection_id":160634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":160634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:35:52] local.INFO: TCP Data received {"connection_id":160634,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:35:52] local.INFO: Processing buffer {"connection_id":160634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:35:52] local.INFO: Packet analysis {"connection_id":160634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:35:52] local.INFO: Extracted packet for processing {"connection_id":160634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595597056001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787483102000,"timestamp_ms":1787483102000,"timestamp_seconds":1787483102,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4b9b30"} 
[2026-08-23 16:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:35:52] 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-08-23 16:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595597056001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595597056001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:35:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595597056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":160634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:35:52] local.INFO: GPS data processed {"connection_id":160634,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:35:52] local.INFO: Acknowledgment sent {"connection_id":160634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:36:06] local.INFO: TCP Data received {"connection_id":161834,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e48bcd0012d1823400721b850004b013128..."} 
[2026-08-23 16:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e48bcd0012d1823400721b850004b013128..."} 
[2026-08-23 16:36:06] local.INFO: Processing buffer {"connection_id":161834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e48bcd0012d1823400721b850004b013128..."} 
[2026-08-23 16:36:06] local.INFO: Packet analysis {"connection_id":161834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e48"} 
[2026-08-23 16:36:06] local.INFO: Extracted packet for processing {"connection_id":161834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e48"} 
[2026-08-23 16:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595620608001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787482914000,"timestamp_ms":1787482914000,"timestamp_seconds":1787482914,"priority":1,"record_length":96,"hex_timestamp":"000001a02e48bcd0"} 
[2026-08-23 16:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:36:06] local.INFO: 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-08-23 16:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 16:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595620608001,"66":12406,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595620608001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:36:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595620608001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":161834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:36:06] local.INFO: GPS data processed {"connection_id":161834,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:36:06] local.INFO: Acknowledgment sent {"connection_id":161834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:36:20] local.INFO: TCP Data received {"connection_id":163232,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4bb688012d8361c005d64e300007008127..."} 
[2026-08-23 16:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4bb688012d8361c005d64e300007008127..."} 
[2026-08-23 16:36:20] local.INFO: Processing buffer {"connection_id":163232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4bb688012d8361c005d64e300007008127..."} 
[2026-08-23 16:36:20] local.INFO: Packet analysis {"connection_id":163232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:36:20] local.INFO: Extracted packet for processing {"connection_id":163232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:36:20] local.INFO: GPS Element Parsed {"raw_longitude":763584960,"raw_latitude":97930800,"longitude_deg":76.358496,"latitude_deg":9.79308,"altitude":7,"angle":129,"satellites":39,"speed":41,"hex_longitude":"2d8361c0","hex_latitude":"05d64e30","is_valid_coordinates":true} 
[2026-08-23 16:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595673856001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122787948146982912,"note":"Value kept but may cause issues"} 
[2026-08-23 16:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8987777456276189184,"note":"Value kept but may cause issues"} 
[2026-08-23 16:36:20] 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-08-23 16:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787483109000,"timestamp_ms":1787483109000,"timestamp_seconds":1787483109,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4bb688"} 
[2026-08-23 16:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 16:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595673856001,"66":12939,"156":206,"85":15104,"24":41,"16":122787948146982912,"45":-8987777456276189184},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-23 16:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595673856001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:36:20] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 16:36:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122787948146982912,"km_value":122787948146982.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8987777456276189184,"description":"Unknown IO ID 45"} 
[2026-08-23 16:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595673856001,"power":12939,"unknown_156":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-8987777456276189184}} 
[2026-08-23 16:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":163232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:36:20] local.INFO: GPS data processed {"connection_id":163232,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:36:20] local.INFO: Acknowledgment sent {"connection_id":163232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:36:23] local.INFO: TCP Data received {"connection_id":160634,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:36:23] local.INFO: Processing buffer {"connection_id":160634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:36:23] local.INFO: Packet analysis {"connection_id":160634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:36:23] local.INFO: Extracted packet for processing {"connection_id":160634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:36:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595597056001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787483102000,"timestamp_ms":1787483102000,"timestamp_seconds":1787483102,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4b9b30"} 
[2026-08-23 16:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:36: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-08-23 16:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:36:23] 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-08-23 16:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595597056001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595597056001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:36:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:36:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595597056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":160634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:36:23] local.INFO: GPS data processed {"connection_id":160634,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:36:23] local.INFO: Acknowledgment sent {"connection_id":160634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:36:29] local.INFO: TCP Data received {"connection_id":161835,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:36:29] local.INFO: Processing buffer {"connection_id":161835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:36:29] local.INFO: IMEI packet received {"connection_id":161835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":161835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:36:30] local.INFO: TCP Data received {"connection_id":161835,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:36:30] local.INFO: Processing buffer {"connection_id":161835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:36:30] local.INFO: IMEI packet received {"connection_id":161835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":161835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:36:34] local.INFO: TCP Data received {"connection_id":161836,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:36:34] local.INFO: Processing buffer {"connection_id":161836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:36:34] local.INFO: IMEI packet received {"connection_id":161836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":161836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:36:34] local.INFO: TCP Data received {"connection_id":161835,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:36:34] local.INFO: Processing buffer {"connection_id":161835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:36:34] local.INFO: IMEI packet received {"connection_id":161835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":161835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:36:34] local.INFO: TCP Data received {"connection_id":161836,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:36:34] local.INFO: Processing buffer {"connection_id":161836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:36:34] local.INFO: IMEI packet received {"connection_id":161836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":161836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:36:35] local.INFO: TCP Data received {"connection_id":161835,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e490ed8012d1823400721b850004b013129..."} 
[2026-08-23 16:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e490ed8012d1823400721b850004b013129..."} 
[2026-08-23 16:36:35] local.INFO: Processing buffer {"connection_id":161835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e490ed8012d1823400721b850004b013129..."} 
[2026-08-23 16:36:35] local.INFO: Packet analysis {"connection_id":161835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e49"} 
[2026-08-23 16:36:35] local.INFO: Extracted packet for processing {"connection_id":161835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e49"} 
[2026-08-23 16:36:35] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595625984001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787482935000,"timestamp_ms":1787482935000,"timestamp_seconds":1787482935,"priority":1,"record_length":96,"hex_timestamp":"000001a02e490ed8"} 
[2026-08-23 16:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 16:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595625984001,"66":12461,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595625984001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:36:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:36:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595625984001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":161835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:36:35] local.INFO: GPS data processed {"connection_id":161835,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:36:35] local.INFO: Acknowledgment sent {"connection_id":161835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:36:39] local.INFO: TCP Data received {"connection_id":161835,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4960e0012d1823400721b850004b013129..."} 
[2026-08-23 16:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4960e0012d1823400721b850004b013129..."} 
[2026-08-23 16:36:39] local.INFO: Processing buffer {"connection_id":161835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4960e0012d1823400721b850004b013129..."} 
[2026-08-23 16:36:39] local.INFO: Packet analysis {"connection_id":161835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e49"} 
[2026-08-23 16:36:39] local.INFO: Extracted packet for processing {"connection_id":161835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e49"} 
[2026-08-23 16:36:39] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595631360001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787482956000,"timestamp_ms":1787482956000,"timestamp_seconds":1787482956,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4960e0"} 
[2026-08-23 16:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595631360001,"66":12428,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595631360001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:36:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:36:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595631360001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":161835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:36:39] local.INFO: GPS data processed {"connection_id":161835,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:36:39] local.INFO: Acknowledgment sent {"connection_id":161835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:36:39] local.INFO: TCP Data received {"connection_id":161836,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:36:39] local.INFO: Processing buffer {"connection_id":161836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:36:39] local.INFO: IMEI packet received {"connection_id":161836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":161836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:36:40] local.INFO: TCP Data received {"connection_id":161836,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4bbe58012d83674005d648780007009027..."} 
[2026-08-23 16:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4bbe58012d83674005d648780007009027..."} 
[2026-08-23 16:36:40] local.INFO: Processing buffer {"connection_id":161836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4bbe58012d83674005d648780007009027..."} 
[2026-08-23 16:36:40] local.INFO: Packet analysis {"connection_id":161836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:36:40] local.INFO: Extracted packet for processing {"connection_id":161836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:36:40] local.INFO: GPS Element Parsed {"raw_longitude":763586368,"raw_latitude":97929336,"longitude_deg":76.3586368,"latitude_deg":9.7929336,"altitude":7,"angle":144,"satellites":39,"speed":39,"hex_longitude":"2d836740","hex_latitude":"05d64878","is_valid_coordinates":true} 
[2026-08-23 16:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595675904001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122788042636263424,"note":"Value kept but may cause issues"} 
[2026-08-23 16:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8979685050697240576,"note":"Value kept but may cause issues"} 
[2026-08-23 16:36:40] 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-08-23 16:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787483111000,"timestamp_ms":1787483111000,"timestamp_seconds":1787483111,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4bbe58"} 
[2026-08-23 16:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:36: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-08-23 16:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-23 16:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595675904001,"66":13091,"156":206,"85":15104,"24":39,"16":122788042636263424,"45":-8979685050697240576},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-23 16:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595675904001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:36:40] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-23 16:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122788042636263424,"km_value":122788042636263.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8979685050697240576,"description":"Unknown IO ID 45"} 
[2026-08-23 16:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595675904001,"power":13091,"unknown_156":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-8979685050697240576}} 
[2026-08-23 16:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":161836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:36:40] local.INFO: GPS data processed {"connection_id":161836,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:36:40] local.INFO: Acknowledgment sent {"connection_id":161836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:36:45] local.INFO: TCP Data received {"connection_id":160635,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:36:45] local.INFO: Processing buffer {"connection_id":160635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:36:45] local.INFO: IMEI packet received {"connection_id":160635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":160635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:36:51] local.INFO: TCP Data received {"connection_id":160635,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:36:51] local.INFO: Processing buffer {"connection_id":160635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:36:51] local.INFO: IMEI packet received {"connection_id":160635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":160635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:36:52] local.INFO: TCP Data received {"connection_id":160635,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:36:52] local.INFO: Processing buffer {"connection_id":160635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:36:52] local.INFO: Packet analysis {"connection_id":160635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:36:52] local.INFO: Extracted packet for processing {"connection_id":160635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:36: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-08-23 16:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595597056001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787483102000,"timestamp_ms":1787483102000,"timestamp_seconds":1787483102,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4b9b30"} 
[2026-08-23 16:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:36: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-08-23 16:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595597056001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595597056001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:36:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:36:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595597056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":160635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:36:52] local.INFO: GPS data processed {"connection_id":160635,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:36:52] local.INFO: Acknowledgment sent {"connection_id":160635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:37:10] local.INFO: TCP Data received {"connection_id":161835,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e49b2e8012d1823400721b850004b013129..."} 
[2026-08-23 16:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e49b2e8012d1823400721b850004b013129..."} 
[2026-08-23 16:37:10] local.INFO: Processing buffer {"connection_id":161835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e49b2e8012d1823400721b850004b013129..."} 
[2026-08-23 16:37:10] local.INFO: Packet analysis {"connection_id":161835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e49"} 
[2026-08-23 16:37:10] local.INFO: Extracted packet for processing {"connection_id":161835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e49"} 
[2026-08-23 16:37:10] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595636736001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787482977000,"timestamp_ms":1787482977000,"timestamp_seconds":1787482977,"priority":1,"record_length":96,"hex_timestamp":"000001a02e49b2e8"} 
[2026-08-23 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-08-23 16:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 16:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 16:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595636736001,"66":12287,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595636736001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:37:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:37:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595636736001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":161835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:37:11] local.INFO: GPS data processed {"connection_id":161835,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:37:11] local.INFO: Acknowledgment sent {"connection_id":161835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:37:11] local.INFO: TCP Data received {"connection_id":161836,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4d3558012d83aac005d49680000700a726..."} 
[2026-08-23 16:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4d3558012d83aac005d49680000700a726..."} 
[2026-08-23 16:37:11] local.INFO: Processing buffer {"connection_id":161836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4d3558012d83aac005d49680000700a726..."} 
[2026-08-23 16:37:11] local.INFO: Packet analysis {"connection_id":161836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4d"} 
[2026-08-23 16:37:11] local.INFO: Extracted packet for processing {"connection_id":161836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4d"} 
[2026-08-23 16:37:11] local.INFO: GPS Element Parsed {"raw_longitude":763603648,"raw_latitude":97818240,"longitude_deg":76.3603648,"latitude_deg":9.781824,"altitude":7,"angle":167,"satellites":38,"speed":48,"hex_longitude":"2d83aac0","hex_latitude":"05d49680","is_valid_coordinates":true} 
[2026-08-23 16:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595699200001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122793505834663936,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8961318808493361152,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787483207000,"timestamp_ms":1787483207000,"timestamp_seconds":1787483207,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4d3558"} 
[2026-08-23 16:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:37: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-08-23 16:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 16:37:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2206744581,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:11] local.WARNING: Large IO value detected {"io_id":213,"raw_value":-5665528301156161536,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2816147662,"corrected_to":0} 
[2026-08-23 16:37:11] local.WARNING: Large IO value detected {"io_id":130,"raw_value":2147865961,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:11] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154087,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3582775296,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:11] local.WARNING: Large IO value detected {"io_id":161,"raw_value":57886929278883131,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:11] local.WARNING: Large IO value detected {"io_id":76,"raw_value":5120594071311155205,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:11] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,219,85,24,241,157,16,63,160,254,45,221,8,40,10,66,227,64,6,39,62,199,1,240,127,46,213,4,113,205,53,145,130,239,50,2,180,5,41,161,76],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2816147662,"validated":0}]} 
[2026-08-23 16:37:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504588048021061632,"timestamp_seconds":504588048021061.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 16:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595699200001,"66":13037,"219":206,"85":15104,"24":48,"16":122793505834663936,"45":-8961318808493361152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-08-23 16:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595699200001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:37:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-23 16:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122793505834663936,"km_value":122793505834663.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8961318808493361152,"description":"Unknown IO ID 45"} 
[2026-08-23 16:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595699200001,"power":13037,"unknown_219":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-8961318808493361152}} 
[2026-08-23 16:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":161836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:37:11] local.INFO: GPS data processed {"connection_id":161836,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:37:11] local.INFO: Acknowledgment sent {"connection_id":161836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:37:23] local.INFO: TCP Data received {"connection_id":160635,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:37:23] local.INFO: Processing buffer {"connection_id":160635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:37:23] local.INFO: Packet analysis {"connection_id":160635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:37:23] local.INFO: Extracted packet for processing {"connection_id":160635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:37:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:37: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-08-23 16:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595597056001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787483102000,"timestamp_ms":1787483102000,"timestamp_seconds":1787483102,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4b9b30"} 
[2026-08-23 16:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:37: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-08-23 16:37: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":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:37: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-08-23 16:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595597056001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595597056001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:37:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:37:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595597056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":160635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:37:23] local.INFO: GPS data processed {"connection_id":160635,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:37:23] local.INFO: Acknowledgment sent {"connection_id":160635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:37:29] local.INFO: TCP Data received {"connection_id":160883,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:37:29] local.INFO: Processing buffer {"connection_id":160883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:37:29] local.INFO: IMEI packet received {"connection_id":160883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":160883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:37:33] local.INFO: TCP Data received {"connection_id":160883,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:37:33] local.INFO: Processing buffer {"connection_id":160883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:37:33] local.INFO: IMEI packet received {"connection_id":160883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":160883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:37:34] local.INFO: TCP Data received {"connection_id":160883,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4a04f0012d1823400721b850004b013129..."} 
[2026-08-23 16:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4a04f0012d1823400721b850004b013129..."} 
[2026-08-23 16:37:34] local.INFO: Processing buffer {"connection_id":160883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4a04f0012d1823400721b850004b013129..."} 
[2026-08-23 16:37:34] local.INFO: Packet analysis {"connection_id":160883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4a"} 
[2026-08-23 16:37:34] local.INFO: Extracted packet for processing {"connection_id":160883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4a"} 
[2026-08-23 16:37:34] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650384,"longitude_deg":75.6556608,"latitude_deg":11.9650384,"altitude":75,"angle":305,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b850","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595642112001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630584286019584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787482998000,"timestamp_ms":1787482998000,"timestamp_seconds":1787482998,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4a04f0"} 
[2026-08-23 16:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 16:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595642112001,"66":12428,"105":206,"83":41984,"24":0,"16":15630584286019584,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595642112001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:37:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:37:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630584286019584,"km_value":15630584286019.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595642112001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":160883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:37:34] local.INFO: GPS data processed {"connection_id":160883,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:37:34] local.INFO: Acknowledgment sent {"connection_id":160883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:37:39] local.INFO: TCP Data received {"connection_id":160636,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:37:39] local.INFO: Processing buffer {"connection_id":160636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:37:39] local.INFO: IMEI packet received {"connection_id":160636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":160636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:37:42] local.INFO: TCP Data received {"connection_id":160636,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:37:42] local.INFO: Processing buffer {"connection_id":160636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:37:42] local.INFO: IMEI packet received {"connection_id":160636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":160636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:37:43] local.INFO: TCP Data received {"connection_id":160636,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4d6050012d83b24005d473f0000600a828..."} 
[2026-08-23 16:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4d6050012d83b24005d473f0000600a828..."} 
[2026-08-23 16:37:43] local.INFO: Processing buffer {"connection_id":160636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4d6050012d83b24005d473f0000600a828..."} 
[2026-08-23 16:37:43] local.INFO: Packet analysis {"connection_id":160636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4d"} 
[2026-08-23 16:37:43] local.INFO: Extracted packet for processing {"connection_id":160636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4d"} 
[2026-08-23 16:37:43] local.INFO: GPS Element Parsed {"raw_longitude":763605568,"raw_latitude":97809392,"longitude_deg":76.3605568,"latitude_deg":9.7809392,"altitude":6,"angle":168,"satellites":40,"speed":39,"hex_longitude":"2d83b240","hex_latitude":"05d473f0","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595700992001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122793943921328128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8959137377426178048,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787483218000,"timestamp_ms":1787483218000,"timestamp_seconds":1787483218,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4d6050"} 
[2026-08-23 16:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:37: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-08-23 16: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-23 16:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595700992001,"66":13015,"219":206,"85":15104,"24":39,"16":122793943921328128,"45":-8959137377426178048},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-08-23 16:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595700992001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:37:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-23 16:37:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122793943921328128,"km_value":122793943921328.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8959137377426178048,"description":"Unknown IO ID 45"} 
[2026-08-23 16:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595700992001,"power":13015,"unknown_219":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-8959137377426178048}} 
[2026-08-23 16:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":160636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:37:43] local.INFO: GPS data processed {"connection_id":160636,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:37:43] local.INFO: Acknowledgment sent {"connection_id":160636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:37:44] local.INFO: TCP Data received {"connection_id":160636,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4d8378012d83b9c005d44f20000700aa28..."} 
[2026-08-23 16:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4d8378012d83b9c005d44f20000700aa28..."} 
[2026-08-23 16:37:44] local.INFO: Processing buffer {"connection_id":160636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4d8378012d83b9c005d44f20000700aa28..."} 
[2026-08-23 16:37:44] local.INFO: Packet analysis {"connection_id":160636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4d"} 
[2026-08-23 16:37:44] local.INFO: Extracted packet for processing {"connection_id":160636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4d"} 
[2026-08-23 16:37:44] local.INFO: GPS Element Parsed {"raw_longitude":763607488,"raw_latitude":97799968,"longitude_deg":76.3607488,"latitude_deg":9.7799968,"altitude":7,"angle":170,"satellites":40,"speed":46,"hex_longitude":"2d83b9c0","hex_latitude":"05d44f20","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595703808001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122794412072763392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8957026315103113216,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787483227000,"timestamp_ms":1787483227000,"timestamp_seconds":1787483227,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4d8378"} 
[2026-08-23 16:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:37: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-08-23 16: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 16:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595703808001,"66":13222,"219":206,"85":15104,"24":46,"16":122794412072763392,"45":-8957026315103113216},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-08-23 16:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595703808001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:37:44] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-23 16:37:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122794412072763392,"km_value":122794412072763.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8957026315103113216,"description":"Unknown IO ID 45"} 
[2026-08-23 16:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595703808001,"power":13222,"unknown_219":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-8957026315103113216}} 
[2026-08-23 16:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":160636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:37:44] local.INFO: GPS data processed {"connection_id":160636,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:37:44] local.INFO: Acknowledgment sent {"connection_id":160636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:37:51] local.INFO: TCP Data received {"connection_id":163233,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:37:51] local.INFO: Processing buffer {"connection_id":163233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:37:51] local.INFO: IMEI packet received {"connection_id":163233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":163233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:37:56] local.INFO: TCP Data received {"connection_id":163233,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:37:56] local.INFO: Processing buffer {"connection_id":163233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:37:56] local.INFO: IMEI packet received {"connection_id":163233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":163233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:37:57] local.INFO: TCP Data received {"connection_id":163233,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:37:57] local.INFO: Processing buffer {"connection_id":163233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:37:57] local.INFO: Packet analysis {"connection_id":163233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:37:57] local.INFO: Extracted packet for processing {"connection_id":163233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:37:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595597056001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787483102000,"timestamp_ms":1787483102000,"timestamp_seconds":1787483102,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4b9b30"} 
[2026-08-23 16:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595597056001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595597056001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:37:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:37:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595597056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":163233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:37:57] local.INFO: GPS data processed {"connection_id":163233,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:37:57] local.INFO: Acknowledgment sent {"connection_id":163233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:38:05] local.INFO: TCP Data received {"connection_id":160883,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4a2048012d1823400721b790004c00bd29..."} 
[2026-08-23 16:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4a2048012d1823400721b790004c00bd29..."} 
[2026-08-23 16:38:05] local.INFO: Processing buffer {"connection_id":160883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4a2048012d1823400721b790004c00bd29..."} 
[2026-08-23 16:38:05] local.INFO: Packet analysis {"connection_id":160883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4a"} 
[2026-08-23 16:38:05] local.INFO: Extracted packet for processing {"connection_id":160883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4a"} 
[2026-08-23 16:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650192,"longitude_deg":75.6556608,"latitude_deg":11.9650192,"altitude":76,"angle":189,"satellites":41,"speed":2,"hex_longitude":"2d182340","hex_latitude":"0721b790","is_valid_coordinates":true} 
[2026-08-23 16:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595647488001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630592875954176,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469819392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787483005000,"timestamp_ms":1787483005000,"timestamp_seconds":1787483005,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4a2048"} 
[2026-08-23 16:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 16:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595647488001,"66":12439,"105":206,"83":41984,"24":2,"16":15630592875954176,"45":1739304280469819392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595647488001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:38:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630592875954176,"km_value":15630592875954.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469819392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595647488001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739304280469819392}} 
[2026-08-23 16:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":160883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:38:05] local.INFO: GPS data processed {"connection_id":160883,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:38:05] local.INFO: Acknowledgment sent {"connection_id":160883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:38:14] local.INFO: TCP Data received {"connection_id":163233,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:38:14] local.INFO: Processing buffer {"connection_id":163233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:38:14] local.INFO: Packet analysis {"connection_id":163233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:38:14] local.INFO: Extracted packet for processing {"connection_id":163233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:38:14] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595597056001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787483102000,"timestamp_ms":1787483102000,"timestamp_seconds":1787483102,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4b9b30"} 
[2026-08-23 16:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:38: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-08-23 16: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":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:38: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-08-23 16: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-08-23 16:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:38:14] 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-08-23 16:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595597056001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595597056001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:38:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:38:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595597056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":163233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:38:14] local.INFO: GPS data processed {"connection_id":163233,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:38:14] local.INFO: Acknowledgment sent {"connection_id":163233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:38:16] local.INFO: TCP Data received {"connection_id":160636,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4da2b8012d83bd8005d42768000800ae28..."} 
[2026-08-23 16:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4da2b8012d83bd8005d42768000800ae28..."} 
[2026-08-23 16:38:16] local.INFO: Processing buffer {"connection_id":160636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4da2b8012d83bd8005d42768000800ae28..."} 
[2026-08-23 16:38:16] local.INFO: Packet analysis {"connection_id":160636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4d"} 
[2026-08-23 16:38:16] local.INFO: Extracted packet for processing {"connection_id":160636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4d"} 
[2026-08-23 16:38:16] local.INFO: GPS Element Parsed {"raw_longitude":763608448,"raw_latitude":97789800,"longitude_deg":76.3608448,"latitude_deg":9.77898,"altitude":8,"angle":174,"satellites":40,"speed":54,"hex_longitude":"2d83bd80","hex_latitude":"05d42768","is_valid_coordinates":true} 
[2026-08-23 16:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595706112001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122794905994002432,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8954915252780195840,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787483235000,"timestamp_ms":1787483235000,"timestamp_seconds":1787483235,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4da2b8"} 
[2026-08-23 16:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:38: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-08-23 16:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 16:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595706112001,"66":13059,"219":206,"85":15104,"24":54,"16":122794905994002432,"45":-8954915252780195840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-08-23 16:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595706112001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:38:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-23 16:38:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122794905994002432,"km_value":122794905994002.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8954915252780195840,"description":"Unknown IO ID 45"} 
[2026-08-23 16:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595706112001,"power":13059,"unknown_219":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":-8954915252780195840}} 
[2026-08-23 16:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":160636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687648,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:38:16] local.INFO: GPS data processed {"connection_id":160636,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:38:16] local.INFO: Acknowledgment sent {"connection_id":160636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:38:29] local.INFO: TCP Data received {"connection_id":160637,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:38:29] local.INFO: Processing buffer {"connection_id":160637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:38:29] local.INFO: IMEI packet received {"connection_id":160637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":160637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:38:32] local.INFO: TCP Data received {"connection_id":163234,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:38:32] local.INFO: Processing buffer {"connection_id":163234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:38:32] local.INFO: IMEI packet received {"connection_id":163234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":163234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:38:33] local.INFO: TCP Data received {"connection_id":163234,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:38:33] local.INFO: Processing buffer {"connection_id":163234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:38:33] local.INFO: IMEI packet received {"connection_id":163234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":163234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:38:34] local.INFO: TCP Data received {"connection_id":163234,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:38:34] local.INFO: Processing buffer {"connection_id":163234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:38:34] local.INFO: IMEI packet received {"connection_id":163234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":163234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:38:34] local.INFO: TCP Data received {"connection_id":160637,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:38:34] local.INFO: Processing buffer {"connection_id":160637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:38:34] local.INFO: IMEI packet received {"connection_id":160637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":160637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:38:35] local.INFO: TCP Data received {"connection_id":160637,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4a7250012d1823000721b590004c00c229..."} 
[2026-08-23 16:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4a7250012d1823000721b590004c00c229..."} 
[2026-08-23 16:38:35] local.INFO: Processing buffer {"connection_id":160637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4a7250012d1823000721b590004c00c229..."} 
[2026-08-23 16:38:35] local.INFO: Packet analysis {"connection_id":160637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4a"} 
[2026-08-23 16:38:35] local.INFO: Extracted packet for processing {"connection_id":160637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4a"} 
[2026-08-23 16:38:35] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649680,"longitude_deg":75.6556544,"latitude_deg":11.964968,"altitude":76,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b590","is_valid_coordinates":true} 
[2026-08-23 16:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595649280001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630627235692544,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469770240,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787483026000,"timestamp_ms":1787483026000,"timestamp_seconds":1787483026,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4a7250"} 
[2026-08-23 16:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595649280001,"66":12406,"105":206,"83":41984,"24":0,"16":15630627235692544,"45":1739304280469770240},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595649280001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:38:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:38:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630627235692544,"km_value":15630627235692.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469770240,"description":"Unknown IO ID 45"} 
[2026-08-23 16:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595649280001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469770240}} 
[2026-08-23 16:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":160637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:38:35] local.INFO: GPS data processed {"connection_id":160637,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:38:35] local.INFO: Acknowledgment sent {"connection_id":160637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:38:39] local.INFO: TCP Data received {"connection_id":163234,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:38:39] local.INFO: Processing buffer {"connection_id":163234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:38:39] local.INFO: IMEI packet received {"connection_id":163234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":163234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:38:40] local.INFO: TCP Data received {"connection_id":163234,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4dbe10012d83c00005d401b0000700b128..."} 
[2026-08-23 16:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4dbe10012d83c00005d401b0000700b128..."} 
[2026-08-23 16:38:40] local.INFO: Processing buffer {"connection_id":163234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4dbe10012d83c00005d401b0000700b128..."} 
[2026-08-23 16:38:40] local.INFO: Packet analysis {"connection_id":163234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4d"} 
[2026-08-23 16:38:40] local.INFO: Extracted packet for processing {"connection_id":163234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4d"} 
[2026-08-23 16:38:40] local.INFO: GPS Element Parsed {"raw_longitude":763609088,"raw_latitude":97780144,"longitude_deg":76.3609088,"latitude_deg":9.7780144,"altitude":7,"angle":177,"satellites":40,"speed":50,"hex_longitude":"2d83c000","hex_latitude":"05d401b0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595708160001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122795374145437696,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8953859721620133888,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787483242000,"timestamp_ms":1787483242000,"timestamp_seconds":1787483242,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4dbe10"} 
[2026-08-23 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-08-23 16:38: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-08-23 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-23 16:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167374937511,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:40] local.WARNING: Large IO value detected {"io_id":219,"raw_value":58077557095399473,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2208497669,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:40] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3120037895,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2816147662,"corrected_to":0} 
[2026-08-23 16:38:40] local.WARNING: Large IO value detected {"io_id":254,"raw_value":2818649475,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:40] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070503,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3573547008,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:40] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,219,85,24,241,157,16,65,160,131,45,192,79,7,40,10,66,64,96,115,6,53,1,240,237,227,46,212,4,113,205,52,254,156,80,239,51,2,180,5,49],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2816147662,"validated":0}]} 
[2026-08-23 16:38:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576652239128887296,"timestamp_seconds":576652239128887.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 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-08-23 16:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595708160001,"66":12863,"219":206,"85":15104,"24":50,"16":122795374145437696,"45":-8953859721620133888},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-08-23 16:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595708160001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:38:40] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-23 16:38:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122795374145437696,"km_value":122795374145437.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8953859721620133888,"description":"Unknown IO ID 45"} 
[2026-08-23 16:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595708160001,"power":12863,"unknown_219":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":-8953859721620133888}} 
[2026-08-23 16:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":163234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:38:40] local.INFO: GPS data processed {"connection_id":163234,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:38:40] local.INFO: Acknowledgment sent {"connection_id":163234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:38:46] local.INFO: TCP Data received {"connection_id":160638,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:38:46] local.INFO: Processing buffer {"connection_id":160638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:38:46] local.INFO: IMEI packet received {"connection_id":160638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":160638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:38:51] local.INFO: TCP Data received {"connection_id":160638,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:38:51] local.INFO: Processing buffer {"connection_id":160638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:38:51] local.INFO: IMEI packet received {"connection_id":160638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":160638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:38:51] local.INFO: TCP Data received {"connection_id":160638,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:38:51] local.INFO: Processing buffer {"connection_id":160638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:38:51] local.INFO: Packet analysis {"connection_id":160638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:38:51] local.INFO: Extracted packet for processing {"connection_id":160638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:38:51] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595597056001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787483102000,"timestamp_ms":1787483102000,"timestamp_seconds":1787483102,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4b9b30"} 
[2026-08-23 16:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595597056001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595597056001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:38:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:38:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595597056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":160638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:38:51] local.INFO: GPS data processed {"connection_id":160638,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:38:51] local.INFO: Acknowledgment sent {"connection_id":160638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:39:07] local.INFO: TCP Data received {"connection_id":160637,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4df8a8012d1823000721b590004c00c22a..."} 
[2026-08-23 16:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4df8a8012d1823000721b590004c00c22a..."} 
[2026-08-23 16:39:07] local.INFO: Processing buffer {"connection_id":160637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4df8a8012d1823000721b590004c00c22a..."} 
[2026-08-23 16:39:07] local.INFO: Packet analysis {"connection_id":160637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4d"} 
[2026-08-23 16:39:07] local.INFO: Extracted packet for processing {"connection_id":160637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4d"} 
[2026-08-23 16:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649680,"longitude_deg":75.6556544,"latitude_deg":11.964968,"altitude":76,"angle":194,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b590","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595708416001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630627235692544,"note":"Value kept but may cause issues"} 
[2026-08-23 16:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725461504,"note":"Value kept but may cause issues"} 
[2026-08-23 16:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787483257000,"timestamp_ms":1787483257000,"timestamp_seconds":1787483257,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4df8a8"} 
[2026-08-23 16:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595708416001,"66":12461,"105":206,"83":41984,"24":0,"16":15630627235692544,"45":1739233911725461504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595708416001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:39:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630627235692544,"km_value":15630627235692.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725461504,"description":"Unknown IO ID 45"} 
[2026-08-23 16:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595708416001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725461504}} 
[2026-08-23 16:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":160637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:39:07] local.INFO: GPS data processed {"connection_id":160637,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:39:07] local.INFO: Acknowledgment sent {"connection_id":160637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:39:11] local.INFO: TCP Data received {"connection_id":163234,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4f3128012d83fd8005d2ba68000600b425..."} 
[2026-08-23 16:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4f3128012d83fd8005d2ba68000600b425..."} 
[2026-08-23 16:39:11] local.INFO: Processing buffer {"connection_id":163234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4f3128012d83fd8005d2ba68000600b425..."} 
[2026-08-23 16:39:11] local.INFO: Packet analysis {"connection_id":163234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4f"} 
[2026-08-23 16:39:11] local.INFO: Extracted packet for processing {"connection_id":163234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4f"} 
[2026-08-23 16:39:11] local.INFO: GPS Element Parsed {"raw_longitude":763624832,"raw_latitude":97696360,"longitude_deg":76.3624832,"latitude_deg":9.769636,"altitude":6,"angle":180,"satellites":37,"speed":43,"hex_longitude":"2d83fd80","hex_latitude":"05d2ba68","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595732224001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122799566033518592,"note":"Value kept but may cause issues"} 
[2026-08-23 16:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8936126798108844032,"note":"Value kept but may cause issues"} 
[2026-08-23 16:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787483337000,"timestamp_ms":1787483337000,"timestamp_seconds":1787483337,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4f3128"} 
[2026-08-23 16:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:39: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-08-23 16: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 16:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595732224001,"66":13200,"220":206,"85":15104,"24":43,"16":122799566033518592,"45":-8936126798108844032},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,85,24,16,45]} 
[2026-08-23 16:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595732224001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:39:11] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-23 16:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122799566033518592,"km_value":122799566033518.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8936126798108844032,"description":"Unknown IO ID 45"} 
[2026-08-23 16:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595732224001,"power":13200,"unknown_220":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-8936126798108844032}} 
[2026-08-23 16:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":163234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:39:11] local.INFO: GPS data processed {"connection_id":163234,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:39:11] local.INFO: Acknowledgment sent {"connection_id":163234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:39:23] local.INFO: TCP Data received {"connection_id":160638,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:39:23] local.INFO: Processing buffer {"connection_id":160638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:39:23] local.INFO: Packet analysis {"connection_id":160638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:39:23] local.INFO: Extracted packet for processing {"connection_id":160638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:39:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595597056001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787483102000,"timestamp_ms":1787483102000,"timestamp_seconds":1787483102,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4b9b30"} 
[2026-08-23 16:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:39: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-08-23 16:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:39:23] 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-08-23 16:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595597056001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595597056001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:39:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:39:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595597056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":160638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:39:23] local.INFO: GPS data processed {"connection_id":160638,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:39:23] local.INFO: Acknowledgment sent {"connection_id":160638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:39:29] local.INFO: TCP Data received {"connection_id":163235,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:39:29] local.INFO: Processing buffer {"connection_id":163235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:39:29] local.INFO: IMEI packet received {"connection_id":163235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":163235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:39:34] local.INFO: TCP Data received {"connection_id":163235,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:39:34] local.INFO: Processing buffer {"connection_id":163235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:39:34] local.INFO: IMEI packet received {"connection_id":163235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":163235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:39:35] local.INFO: TCP Data received {"connection_id":163235,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4e4ab0012d1823000721b590004c00c228..."} 
[2026-08-23 16:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4e4ab0012d1823000721b590004c00c228..."} 
[2026-08-23 16:39:35] local.INFO: Processing buffer {"connection_id":163235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4e4ab0012d1823000721b590004c00c228..."} 
[2026-08-23 16:39:35] local.INFO: Packet analysis {"connection_id":163235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4e"} 
[2026-08-23 16:39:35] local.INFO: Extracted packet for processing {"connection_id":163235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4e"} 
[2026-08-23 16:39:35] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649680,"longitude_deg":75.6556544,"latitude_deg":11.964968,"altitude":76,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b590","is_valid_coordinates":true} 
[2026-08-23 16:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595713792001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630627235692544,"note":"Value kept but may cause issues"} 
[2026-08-23 16:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725461504,"note":"Value kept but may cause issues"} 
[2026-08-23 16:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787483278000,"timestamp_ms":1787483278000,"timestamp_seconds":1787483278,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4e4ab0"} 
[2026-08-23 16:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595713792001,"66":12406,"105":206,"83":41984,"24":0,"16":15630627235692544,"45":1739233911725461504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595713792001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:39:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:39:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630627235692544,"km_value":15630627235692.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725461504,"description":"Unknown IO ID 45"} 
[2026-08-23 16:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595713792001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725461504}} 
[2026-08-23 16:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":163235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:39:35] local.INFO: GPS data processed {"connection_id":163235,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:39:35] local.INFO: Acknowledgment sent {"connection_id":163235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:39:35] local.INFO: TCP Data received {"connection_id":161837,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:39:35] local.INFO: Processing buffer {"connection_id":161837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:39:35] local.INFO: IMEI packet received {"connection_id":161837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":161837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:39:42] local.INFO: TCP Data received {"connection_id":161837,"ip":"42.109.136.8","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 16:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161837,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 16:39:42] local.INFO: Processing buffer {"connection_id":161837,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 16:39:42] local.INFO: IMEI packet received {"connection_id":161837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":161837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:39:45] local.INFO: TCP Data received {"connection_id":161837,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4f3ce0012d83fb0005d2ae60000600c825..."} 
[2026-08-23 16:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4f3ce0012d83fb0005d2ae60000600c825..."} 
[2026-08-23 16:39:45] local.INFO: Processing buffer {"connection_id":161837,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a02e..."} 
[2026-08-23 16:39:45] local.INFO: IMEI packet received {"connection_id":161837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":161837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:39:46] local.INFO: TCP Data received {"connection_id":160639,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:39:46] local.INFO: Processing buffer {"connection_id":160639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:39:46] local.INFO: IMEI packet received {"connection_id":160639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":160639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:39:47] local.INFO: TCP Data received {"connection_id":161837,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4f5450012d83f24005d296c0000500b925..."} 
[2026-08-23 16:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4f5450012d83f24005d296c0000500b925..."} 
[2026-08-23 16:39:47] local.INFO: Processing buffer {"connection_id":161837,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a02e4f3ce0012d83fb0005d2ae60000600c825..."} 
[2026-08-23 16:39:47] local.INFO: Packet analysis {"connection_id":161837,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02e4f"} 
[2026-08-23 16:39:47] local.INFO: Extracted packet for processing {"connection_id":161837,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4f"} 
[2026-08-23 16:39:47] local.INFO: GPS Element Parsed {"raw_longitude":763624192,"raw_latitude":97693280,"longitude_deg":76.3624192,"latitude_deg":9.769328,"altitude":6,"angle":200,"satellites":37,"speed":41,"hex_longitude":"2d83fb00","hex_latitude":"05d2ae60","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595734272001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122799720652341248,"note":"Value kept but may cause issues"} 
[2026-08-23 16:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8935845323134572544,"note":"Value kept but may cause issues"} 
[2026-08-23 16:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787483340000,"timestamp_ms":1787483340000,"timestamp_seconds":1787483340,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4f3ce0"} 
[2026-08-23 16:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:39: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-08-23 16: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-23 16:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595734272001,"66":13406,"220":206,"85":15104,"24":41,"16":122799720652341248,"45":-8935845323134572544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,85,24,16,45]} 
[2026-08-23 16:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595734272001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:39:47] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-23 16:39:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122799720652341248,"km_value":122799720652341.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8935845323134572544,"description":"Unknown IO ID 45"} 
[2026-08-23 16:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595734272001,"power":13406,"unknown_220":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-8935845323134572544}} 
[2026-08-23 16:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":161837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:39:47] local.INFO: GPS data processed {"connection_id":161837,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:39:47] local.INFO: Acknowledgment sent {"connection_id":161837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:39:47] local.INFO: Packet analysis {"connection_id":161837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4f"} 
[2026-08-23 16:39:47] local.INFO: Extracted packet for processing {"connection_id":161837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4f"} 
[2026-08-23 16:39:47] local.INFO: GPS Element Parsed {"raw_longitude":763621952,"raw_latitude":97687232,"longitude_deg":76.3621952,"latitude_deg":9.7687232,"altitude":5,"angle":185,"satellites":37,"speed":46,"hex_longitude":"2d83f240","hex_latitude":"05d296c0","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595735040001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122800034184953856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8936549010577137664,"note":"Value kept but may cause issues"} 
[2026-08-23 16:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787483346000,"timestamp_ms":1787483346000,"timestamp_seconds":1787483346,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4f5450"} 
[2026-08-23 16:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:39: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-08-23 16: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-23 16:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595735040001,"66":12982,"220":206,"85":15104,"24":46,"16":122800034184953856,"45":-8936549010577137664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,85,24,16,45]} 
[2026-08-23 16:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595735040001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:39:47] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-23 16:39:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122800034184953856,"km_value":122800034184953.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8936549010577137664,"description":"Unknown IO ID 45"} 
[2026-08-23 16:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595735040001,"power":12982,"unknown_220":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-8936549010577137664}} 
[2026-08-23 16:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":161837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687657,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:39:47] local.INFO: GPS data processed {"connection_id":161837,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:39:47] local.INFO: Acknowledgment sent {"connection_id":161837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:39:51] local.INFO: TCP Data received {"connection_id":160639,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:39:51] local.INFO: Processing buffer {"connection_id":160639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:39:51] local.INFO: IMEI packet received {"connection_id":160639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":160639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:39:52] local.INFO: TCP Data received {"connection_id":160639,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:39:52] local.INFO: Processing buffer {"connection_id":160639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:39:52] local.INFO: Packet analysis {"connection_id":160639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:39:52] local.INFO: Extracted packet for processing {"connection_id":160639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595597056001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787483102000,"timestamp_ms":1787483102000,"timestamp_seconds":1787483102,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4b9b30"} 
[2026-08-23 16:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:39:52] 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-08-23 16:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595597056001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595597056001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:39:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:39:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595597056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":160639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:39:52] local.INFO: GPS data processed {"connection_id":160639,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:39:52] local.INFO: Acknowledgment sent {"connection_id":160639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:40:02] local.INFO: TCP Data received {"connection_id":161837,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4f6bc0012d83f30005d278f8000400aa25..."} 
[2026-08-23 16:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4f6bc0012d83f30005d278f8000400aa25..."} 
[2026-08-23 16:40:02] local.INFO: Processing buffer {"connection_id":161837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4f6bc0012d83f30005d278f8000400aa25..."} 
[2026-08-23 16:40:02] local.INFO: Packet analysis {"connection_id":161837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4f"} 
[2026-08-23 16:40:02] local.INFO: Extracted packet for processing {"connection_id":161837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4f"} 
[2026-08-23 16:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763622144,"raw_latitude":97679608,"longitude_deg":76.3622144,"latitude_deg":9.7679608,"altitude":4,"angle":170,"satellites":37,"speed":52,"hex_longitude":"2d83f300","hex_latitude":"05d278f8","is_valid_coordinates":true} 
[2026-08-23 16:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595736576001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122800403552141312,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8939011916624904192,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787483352000,"timestamp_ms":1787483352000,"timestamp_seconds":1787483352,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4f6bc0"} 
[2026-08-23 16:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 16:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595736576001,"66":13135,"220":206,"85":15104,"24":52,"16":122800403552141312,"45":-8939011916624904192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,85,24,16,45]} 
[2026-08-23 16:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595736576001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:40:02] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-23 16:40:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122800403552141312,"km_value":122800403552141.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8939011916624904192,"description":"Unknown IO ID 45"} 
[2026-08-23 16:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595736576001,"power":13135,"unknown_220":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":-8939011916624904192}} 
[2026-08-23 16:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":161837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:40:02] local.INFO: GPS data processed {"connection_id":161837,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:40:02] local.INFO: Acknowledgment sent {"connection_id":161837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:40:06] local.INFO: TCP Data received {"connection_id":163235,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4e9cb8012d1823000721b590004c00c229..."} 
[2026-08-23 16:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4e9cb8012d1823000721b590004c00c229..."} 
[2026-08-23 16:40:06] local.INFO: Processing buffer {"connection_id":163235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4e9cb8012d1823000721b590004c00c229..."} 
[2026-08-23 16:40:06] local.INFO: Packet analysis {"connection_id":163235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4e"} 
[2026-08-23 16:40:06] local.INFO: Extracted packet for processing {"connection_id":163235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4e"} 
[2026-08-23 16:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649680,"longitude_deg":75.6556544,"latitude_deg":11.964968,"altitude":76,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b590","is_valid_coordinates":true} 
[2026-08-23 16:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595719168001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630627235692544,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725461504,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787483299000,"timestamp_ms":1787483299000,"timestamp_seconds":1787483299,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4e9cb8"} 
[2026-08-23 16:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 16:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595719168001,"66":12461,"105":206,"83":41984,"24":0,"16":15630627235692544,"45":1739233911725461504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595719168001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:40:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630627235692544,"km_value":15630627235692.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725461504,"description":"Unknown IO ID 45"} 
[2026-08-23 16:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595719168001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725461504}} 
[2026-08-23 16:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":163235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:40:07] local.INFO: GPS data processed {"connection_id":163235,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:40:07] local.INFO: Acknowledgment sent {"connection_id":163235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:40:24] local.INFO: TCP Data received {"connection_id":160639,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:40:24] local.INFO: Processing buffer {"connection_id":160639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4b9b30012d34c50006aa4098000c008521..."} 
[2026-08-23 16:40:24] local.INFO: Packet analysis {"connection_id":160639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:40:24] local.INFO: Extracted packet for processing {"connection_id":160639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4b"} 
[2026-08-23 16:40:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595597056001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787483102000,"timestamp_ms":1787483102000,"timestamp_seconds":1787483102,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4b9b30"} 
[2026-08-23 16:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:40:24] 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-08-23 16:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595597056001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595597056001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:40:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:40:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595597056001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":160639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:40:24] local.INFO: GPS data processed {"connection_id":160639,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:40:24] local.INFO: Acknowledgment sent {"connection_id":160639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:40:29] local.INFO: TCP Data received {"connection_id":160640,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:40:29] local.INFO: Processing buffer {"connection_id":160640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:40:29] local.INFO: IMEI packet received {"connection_id":160640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":160640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:40:34] local.INFO: TCP Data received {"connection_id":160640,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:40:34] local.INFO: Processing buffer {"connection_id":160640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:40:34] local.INFO: IMEI packet received {"connection_id":160640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":160640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:40:35] local.INFO: TCP Data received {"connection_id":160640,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4eeec0012d1823000721b590004c00c22a..."} 
[2026-08-23 16:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4eeec0012d1823000721b590004c00c22a..."} 
[2026-08-23 16:40:35] local.INFO: Processing buffer {"connection_id":160640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4eeec0012d1823000721b590004c00c22a..."} 
[2026-08-23 16:40:35] local.INFO: Packet analysis {"connection_id":160640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4e"} 
[2026-08-23 16:40:35] local.INFO: Extracted packet for processing {"connection_id":160640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4e"} 
[2026-08-23 16:40:35] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649680,"longitude_deg":75.6556544,"latitude_deg":11.964968,"altitude":76,"angle":194,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b590","is_valid_coordinates":true} 
[2026-08-23 16:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595724544001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630627235692544,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725461504,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787483320000,"timestamp_ms":1787483320000,"timestamp_seconds":1787483320,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4eeec0"} 
[2026-08-23 16:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595724544001,"66":12461,"105":206,"83":41984,"24":0,"16":15630627235692544,"45":1739233911725461504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595724544001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:40:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:40:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630627235692544,"km_value":15630627235692.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725461504,"description":"Unknown IO ID 45"} 
[2026-08-23 16:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595724544001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725461504}} 
[2026-08-23 16:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":160640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:40:35] local.INFO: GPS data processed {"connection_id":160640,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:40:35] local.INFO: Acknowledgment sent {"connection_id":160640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:40:38] local.INFO: TCP Data received {"connection_id":160641,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:40:38] local.INFO: Processing buffer {"connection_id":160641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:40:38] local.INFO: IMEI packet received {"connection_id":160641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":160641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:40:40] local.INFO: TCP Data received {"connection_id":160641,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:40:40] local.INFO: Processing buffer {"connection_id":160641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:40:40] local.INFO: IMEI packet received {"connection_id":160641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":160641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:40:42] local.INFO: TCP Data received {"connection_id":160641,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4f8718012d83fc4005d25718000400a823..."} 
[2026-08-23 16:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4f8718012d83fc4005d25718000400a823..."} 
[2026-08-23 16:40:42] local.INFO: Processing buffer {"connection_id":160641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4f8718012d83fc4005d25718000400a823..."} 
[2026-08-23 16:40:42] local.INFO: Packet analysis {"connection_id":160641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4f"} 
[2026-08-23 16:40:42] local.INFO: Extracted packet for processing {"connection_id":160641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4f"} 
[2026-08-23 16:40:42] local.INFO: GPS Element Parsed {"raw_longitude":763624512,"raw_latitude":97670936,"longitude_deg":76.3624512,"latitude_deg":9.7670936,"altitude":4,"angle":168,"satellites":35,"speed":48,"hex_longitude":"2d83fc40","hex_latitude":"05d25718","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595738112001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122800841638805504,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8938800810394322944,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787483359000,"timestamp_ms":1787483359000,"timestamp_seconds":1787483359,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4f8718"} 
[2026-08-23 16:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:40: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-08-23 16: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 16:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595738112001,"66":12809,"220":206,"85":15104,"24":48,"16":122800841638805504,"45":-8938800810394322944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,85,24,16,45]} 
[2026-08-23 16:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595738112001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:40:42] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-23 16:40:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122800841638805504,"km_value":122800841638805.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8938800810394322944,"description":"Unknown IO ID 45"} 
[2026-08-23 16:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595738112001,"power":12809,"unknown_220":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-8938800810394322944}} 
[2026-08-23 16:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":160641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:40:42] local.INFO: GPS data processed {"connection_id":160641,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:40:42] local.INFO: Acknowledgment sent {"connection_id":160641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:40:46] local.INFO: TCP Data received {"connection_id":163236,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:40:46] local.INFO: Processing buffer {"connection_id":163236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:40:46] local.INFO: IMEI packet received {"connection_id":163236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":163236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:40:49] local.INFO: TCP Data received {"connection_id":160641,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4fa270012d84024005d23470000500ab25..."} 
[2026-08-23 16:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4fa270012d84024005d23470000500ab25..."} 
[2026-08-23 16:40:49] local.INFO: Processing buffer {"connection_id":160641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4fa270012d84024005d23470000500ab25..."} 
[2026-08-23 16:40:49] local.INFO: Packet analysis {"connection_id":160641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4f"} 
[2026-08-23 16:40:49] local.INFO: Extracted packet for processing {"connection_id":160641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4f"} 
[2026-08-23 16:40:49] local.INFO: GPS Element Parsed {"raw_longitude":763626048,"raw_latitude":97662064,"longitude_deg":76.3626048,"latitude_deg":9.7662064,"altitude":5,"angle":171,"satellites":37,"speed":51,"hex_longitude":"2d840240","hex_latitude":"05d23470","is_valid_coordinates":true} 
[2026-08-23 16:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595739904001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122801275430502400,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8936197166861969408,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787483366000,"timestamp_ms":1787483366000,"timestamp_seconds":1787483366,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4fa270"} 
[2026-08-23 16:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:40: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-08-23 16:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-23 16:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3458764513988314112,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2214428677,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3230813763015759578,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:49] local.WARNING: Large IO value detected {"io_id":69,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:49] local.WARNING: Large IO value detected {"io_id":46,"raw_value":5677798886056654528,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:49] local.WARNING: Large IO value detected {"io_id":210,"raw_value":3127377926,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2816213198,"corrected_to":0} 
[2026-08-23 16:40:49] local.WARNING: Large IO value detected {"io_id":17,"raw_value":3892391299,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:49] local.WARNING: Large IO value detected {"io_id":252,"raw_value":2147865311,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:49] local.WARNING: Large IO value detected {"io_id":50,"raw_value":7638331088854634069,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:49] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755566944911601,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:49] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,220,85,24,241,157,16,70,160,107,45,120,4,37,10,66,84,64,150,5,69,60,1,240,94,227,46,210,113,205,43,17,252,38,239,51,2,180,7,39,50,59,179],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2816213198,"validated":0}]} 
[2026-08-23 16:40:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288415244432179200,"timestamp_seconds":288415244432179.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 16:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":160641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":160641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":160641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595739904001,"66":13037,"220":206,"85":15104,"24":51,"16":122801275430502400,"45":-8936197166861969408},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,85,24,16,45]} 
[2026-08-23 16:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595739904001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:40:49] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-23 16:40:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122801275430502400,"km_value":122801275430502.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8936197166861969408,"description":"Unknown IO ID 45"} 
[2026-08-23 16:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595739904001,"power":13037,"unknown_220":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":-8936197166861969408}} 
[2026-08-23 16:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":160641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687664,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:40:49] local.INFO: GPS data processed {"connection_id":160641,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:40:49] local.INFO: Acknowledgment sent {"connection_id":160641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:40:51] local.INFO: TCP Data received {"connection_id":163236,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:40:51] local.INFO: Processing buffer {"connection_id":163236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:40:51] local.INFO: IMEI packet received {"connection_id":163236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":163236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:40:51] local.INFO: TCP Data received {"connection_id":163236,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:40:51] local.INFO: Processing buffer {"connection_id":163236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:40:51] local.INFO: Packet analysis {"connection_id":163236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:40:51] local.INFO: Extracted packet for processing {"connection_id":163236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:40:51] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595674112001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787483403000,"timestamp_ms":1787483403000,"timestamp_seconds":1787483403,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5032f8"} 
[2026-08-23 16:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595674112001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595674112001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:40:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:40:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595674112001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":163236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:40:51] local.INFO: GPS data processed {"connection_id":163236,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:40:51] local.INFO: Acknowledgment sent {"connection_id":163236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:41:06] local.INFO: TCP Data received {"connection_id":160640,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4f40c8012d1823000721b590004c00c22a..."} 
[2026-08-23 16:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4f40c8012d1823000721b590004c00c22a..."} 
[2026-08-23 16:41:06] local.INFO: Processing buffer {"connection_id":160640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4f40c8012d1823000721b590004c00c22a..."} 
[2026-08-23 16:41:06] local.INFO: Packet analysis {"connection_id":160640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4f"} 
[2026-08-23 16:41:06] local.INFO: Extracted packet for processing {"connection_id":160640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4f"} 
[2026-08-23 16:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649680,"longitude_deg":75.6556544,"latitude_deg":11.964968,"altitude":76,"angle":194,"satellites":42,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b590","is_valid_coordinates":true} 
[2026-08-23 16:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595729920001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630627235692544,"note":"Value kept but may cause issues"} 
[2026-08-23 16:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725461504,"note":"Value kept but may cause issues"} 
[2026-08-23 16:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787483341000,"timestamp_ms":1787483341000,"timestamp_seconds":1787483341,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4f40c8"} 
[2026-08-23 16:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595729920001,"66":12461,"105":206,"83":41984,"24":0,"16":15630627235692544,"45":1739233911725461504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595729920001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:41:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630627235692544,"km_value":15630627235692.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725461504,"description":"Unknown IO ID 45"} 
[2026-08-23 16:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595729920001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725461504}} 
[2026-08-23 16:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":160640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:41:07] local.INFO: GPS data processed {"connection_id":160640,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:41:07] local.INFO: Acknowledgment sent {"connection_id":160640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:41:23] local.INFO: TCP Data received {"connection_id":163236,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:41:23] local.INFO: Processing buffer {"connection_id":163236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:41:23] local.INFO: Packet analysis {"connection_id":163236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:41:23] local.INFO: Extracted packet for processing {"connection_id":163236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:41:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595674112001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787483403000,"timestamp_ms":1787483403000,"timestamp_seconds":1787483403,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5032f8"} 
[2026-08-23 16:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:41: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-08-23 16:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595674112001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595674112001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:41:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:41:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595674112001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":163236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:41:23] local.INFO: GPS data processed {"connection_id":163236,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:41:23] local.INFO: Acknowledgment sent {"connection_id":163236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:41:34] local.INFO: TCP Data received {"connection_id":163237,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:41:34] local.INFO: Processing buffer {"connection_id":163237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:41:34] local.INFO: IMEI packet received {"connection_id":163237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":163237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:41:34] local.INFO: TCP Data received {"connection_id":160884,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:41:34] local.INFO: Processing buffer {"connection_id":160884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:41:34] local.INFO: IMEI packet received {"connection_id":160884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":160884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:41:39] local.INFO: TCP Data received {"connection_id":163237,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:41:39] local.INFO: Processing buffer {"connection_id":163237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:41:39] local.INFO: IMEI packet received {"connection_id":163237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":163237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:41:39] local.INFO: TCP Data received {"connection_id":160884,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:41:39] local.INFO: Processing buffer {"connection_id":160884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:41:39] local.INFO: IMEI packet received {"connection_id":160884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":160884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:41:40] local.INFO: TCP Data received {"connection_id":163237,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4f92d0012d1823000721b590004c00c22b..."} 
[2026-08-23 16:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4f92d0012d1823000721b590004c00c22b..."} 
[2026-08-23 16:41:40] local.INFO: Processing buffer {"connection_id":163237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4f92d0012d1823000721b590004c00c22b..."} 
[2026-08-23 16:41:40] local.INFO: Packet analysis {"connection_id":163237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4f"} 
[2026-08-23 16:41:40] local.INFO: Extracted packet for processing {"connection_id":163237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4f"} 
[2026-08-23 16:41:40] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649680,"longitude_deg":75.6556544,"latitude_deg":11.964968,"altitude":76,"angle":194,"satellites":43,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b590","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595735296001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630627235692544,"note":"Value kept but may cause issues"} 
[2026-08-23 16:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725461504,"note":"Value kept but may cause issues"} 
[2026-08-23 16:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787483362000,"timestamp_ms":1787483362000,"timestamp_seconds":1787483362,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4f92d0"} 
[2026-08-23 16:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:41:40] 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-08-23 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595735296001,"66":12461,"105":206,"83":41984,"24":0,"16":15630627235692544,"45":1739233911725461504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595735296001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:41:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:41:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630627235692544,"km_value":15630627235692.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725461504,"description":"Unknown IO ID 45"} 
[2026-08-23 16:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595735296001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725461504}} 
[2026-08-23 16:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":163237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:41:40] local.INFO: GPS data processed {"connection_id":163237,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:41:40] local.INFO: Acknowledgment sent {"connection_id":163237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:41:40] local.INFO: TCP Data received {"connection_id":160884,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e511d58012d84044005d0e278000600ad26..."} 
[2026-08-23 16:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e511d58012d84044005d0e278000600ad26..."} 
[2026-08-23 16:41:40] local.INFO: Processing buffer {"connection_id":160884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e511d58012d84044005d0e278000600ad26..."} 
[2026-08-23 16:41:40] local.INFO: Packet analysis {"connection_id":160884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e51"} 
[2026-08-23 16:41:40] local.INFO: Extracted packet for processing {"connection_id":160884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e51"} 
[2026-08-23 16:41:40] local.INFO: GPS Element Parsed {"raw_longitude":763626560,"raw_latitude":97575544,"longitude_deg":76.362656,"latitude_deg":9.7575544,"altitude":6,"angle":173,"satellites":38,"speed":49,"hex_longitude":"2d840440","hex_latitude":"05d0e278","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595764480001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122805523153158144,"note":"Value kept but may cause issues"} 
[2026-08-23 16:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8934437948279595008,"note":"Value kept but may cause issues"} 
[2026-08-23 16:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787483463000,"timestamp_ms":1787483463000,"timestamp_seconds":1787483463,"priority":1,"record_length":96,"hex_timestamp":"000001a02e511d58"} 
[2026-08-23 16:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:41: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-08-23 16: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 16:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595764480001,"66":12972,"220":206,"85":15104,"24":49,"16":122805523153158144,"45":-8934437948279595008},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,85,24,16,45]} 
[2026-08-23 16:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595764480001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:41:40] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-23 16:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122805523153158144,"km_value":122805523153158.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8934437948279595008,"description":"Unknown IO ID 45"} 
[2026-08-23 16:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595764480001,"power":12972,"unknown_220":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":-8934437948279595008}} 
[2026-08-23 16:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":160884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:41:40] local.INFO: GPS data processed {"connection_id":160884,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:41:40] local.INFO: Acknowledgment sent {"connection_id":160884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:41:45] local.INFO: TCP Data received {"connection_id":163238,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:41:45] local.INFO: Processing buffer {"connection_id":163238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:41:45] local.INFO: IMEI packet received {"connection_id":163238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":163238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:41:51] local.INFO: TCP Data received {"connection_id":163238,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:41:51] local.INFO: Processing buffer {"connection_id":163238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:41:51] local.INFO: IMEI packet received {"connection_id":163238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":163238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:41:52] local.INFO: TCP Data received {"connection_id":163238,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:41:52] local.INFO: Processing buffer {"connection_id":163238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:41:52] local.INFO: Packet analysis {"connection_id":163238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:41:52] local.INFO: Extracted packet for processing {"connection_id":163238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:41:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:41: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-08-23 16:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595674112001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787483403000,"timestamp_ms":1787483403000,"timestamp_seconds":1787483403,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5032f8"} 
[2026-08-23 16:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:41:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:41: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-08-23 16:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595674112001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595674112001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:41:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:41:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595674112001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":163238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:41:52] local.INFO: GPS data processed {"connection_id":163238,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:41:52] local.INFO: Acknowledgment sent {"connection_id":163238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:42:11] local.INFO: TCP Data received {"connection_id":160884,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5138b0012d840a0005d0be98000400a826..."} 
[2026-08-23 16:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5138b0012d840a0005d0be98000400a826..."} 
[2026-08-23 16:42:11] local.INFO: Processing buffer {"connection_id":160884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5138b0012d840a0005d0be98000400a826..."} 
[2026-08-23 16:42:11] local.INFO: Packet analysis {"connection_id":160884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e51"} 
[2026-08-23 16:42:11] local.INFO: Extracted packet for processing {"connection_id":160884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e51"} 
[2026-08-23 16:42:11] local.INFO: GPS Element Parsed {"raw_longitude":763628032,"raw_latitude":97566360,"longitude_deg":76.3628032,"latitude_deg":9.756636,"altitude":4,"angle":168,"satellites":38,"speed":53,"hex_longitude":"2d840a00","hex_latitude":"05d0be98","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595766528001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122805974124724224,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8933945367072704512,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787483470000,"timestamp_ms":1787483470000,"timestamp_seconds":1787483470,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5138b0"} 
[2026-08-23 16:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:42: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-08-23 16: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 16:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595766528001,"66":13059,"109":206,"85":15104,"24":53,"16":122805974124724224,"45":-8933945367072704512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 16:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595766528001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:42:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 16:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122805974124724224,"km_value":122805974124724.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8933945367072704512,"description":"Unknown IO ID 45"} 
[2026-08-23 16:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595766528001,"power":13059,"unknown_109":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":-8933945367072704512}} 
[2026-08-23 16:42:11] local.INFO: TCP Data received {"connection_id":163237,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e4fe4d8012d1823000721b590004c00c22b..."} 
[2026-08-23 16:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e4fe4d8012d1823000721b590004c00c22b..."} 
[2026-08-23 16:42:11] local.INFO: Processing buffer {"connection_id":163237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e4fe4d8012d1823000721b590004c00c22b..."} 
[2026-08-23 16:42:11] local.INFO: Packet analysis {"connection_id":163237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e4f"} 
[2026-08-23 16:42:11] local.INFO: Extracted packet for processing {"connection_id":163237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e4f"} 
[2026-08-23 16:42:11] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649680,"longitude_deg":75.6556544,"latitude_deg":11.964968,"altitude":76,"angle":194,"satellites":43,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b590","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595740672001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630627235692544,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725461504,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787483383000,"timestamp_ms":1787483383000,"timestamp_seconds":1787483383,"priority":1,"record_length":96,"hex_timestamp":"000001a02e4fe4d8"} 
[2026-08-23 16:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:42:11] 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-08-23 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595740672001,"66":12461,"105":206,"83":41984,"24":0,"16":15630627235692544,"45":1739233911725461504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595740672001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:42:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:42:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630627235692544,"km_value":15630627235692.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725461504,"description":"Unknown IO ID 45"} 
[2026-08-23 16:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595740672001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725461504}} 
[2026-08-23 16:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":160884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687671,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:42:11] local.INFO: GPS data processed {"connection_id":160884,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:42:11] local.INFO: Acknowledgment sent {"connection_id":160884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":163237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:42:11] local.INFO: GPS data processed {"connection_id":163237,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:42:11] local.INFO: Acknowledgment sent {"connection_id":163237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:42:23] local.INFO: TCP Data received {"connection_id":163238,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:42:24] local.INFO: Processing buffer {"connection_id":163238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:42:24] local.INFO: Packet analysis {"connection_id":163238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:42:24] local.INFO: Extracted packet for processing {"connection_id":163238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:42:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595674112001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787483403000,"timestamp_ms":1787483403000,"timestamp_seconds":1787483403,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5032f8"} 
[2026-08-23 16:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:42:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595674112001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595674112001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:42:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:42:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595674112001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":163238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:42:24] local.INFO: GPS data processed {"connection_id":163238,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:42:24] local.INFO: Acknowledgment sent {"connection_id":163238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:42:26] local.INFO: TCP Data received {"connection_id":163239,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:42:26] local.INFO: Processing buffer {"connection_id":163239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:42:26] local.INFO: IMEI packet received {"connection_id":163239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":163239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:42:29] local.INFO: TCP Data received {"connection_id":163239,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:42:29] local.INFO: Processing buffer {"connection_id":163239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:42:29] local.INFO: IMEI packet received {"connection_id":163239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":163239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:42:32] local.INFO: TCP Data received {"connection_id":163239,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:42:32] local.INFO: Processing buffer {"connection_id":163239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:42:32] local.INFO: IMEI packet received {"connection_id":163239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":163239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:42:32] local.INFO: TCP Data received {"connection_id":163239,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5036e0012d1823000721b590004c00c22b..."} 
[2026-08-23 16:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5036e0012d1823000721b590004c00c22b..."} 
[2026-08-23 16:42:32] local.INFO: Processing buffer {"connection_id":163239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5036e0012d1823000721b590004c00c22b..."} 
[2026-08-23 16:42:32] local.INFO: Packet analysis {"connection_id":163239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:42:32] local.INFO: Extracted packet for processing {"connection_id":163239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:42:32] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649680,"longitude_deg":75.6556544,"latitude_deg":11.964968,"altitude":76,"angle":194,"satellites":43,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b590","is_valid_coordinates":true} 
[2026-08-23 16:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595746048001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630627235692544,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725461504,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787483404000,"timestamp_ms":1787483404000,"timestamp_seconds":1787483404,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5036e0"} 
[2026-08-23 16:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:42:32] 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-08-23 16:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":163239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":163239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":163239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595746048001,"66":12461,"105":206,"83":41984,"24":0,"16":15630627235692544,"45":1739233911725461504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595746048001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:42:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:42:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630627235692544,"km_value":15630627235692.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725461504,"description":"Unknown IO ID 45"} 
[2026-08-23 16:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595746048001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725461504}} 
[2026-08-23 16:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":163239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:42:33] local.INFO: GPS data processed {"connection_id":163239,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:42:33] local.INFO: Acknowledgment sent {"connection_id":163239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:42:34] local.INFO: TCP Data received {"connection_id":160642,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:42:34] local.INFO: Processing buffer {"connection_id":160642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:42:34] local.INFO: IMEI packet received {"connection_id":160642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":160642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:42:39] local.INFO: TCP Data received {"connection_id":160642,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:42:39] local.INFO: Processing buffer {"connection_id":160642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:42:39] local.INFO: IMEI packet received {"connection_id":160642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":160642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:42:40] local.INFO: TCP Data received {"connection_id":160642,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e515408012d84128005d09cd8000500a626..."} 
[2026-08-23 16:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e515408012d84128005d09cd8000500a626..."} 
[2026-08-23 16:42:40] local.INFO: Processing buffer {"connection_id":160642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e515408012d84128005d09cd8000500a626..."} 
[2026-08-23 16:42:40] local.INFO: Packet analysis {"connection_id":160642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e51"} 
[2026-08-23 16:42:40] local.INFO: Extracted packet for processing {"connection_id":160642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e51"} 
[2026-08-23 16:42:40] local.INFO: GPS Element Parsed {"raw_longitude":763630208,"raw_latitude":97557720,"longitude_deg":76.3630208,"latitude_deg":9.755772,"altitude":5,"angle":166,"satellites":38,"speed":44,"hex_longitude":"2d841280","hex_latitude":"05d09cd8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595768320001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122806407916421120,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8932326885958969344,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787483477000,"timestamp_ms":1787483477000,"timestamp_seconds":1787483477,"priority":1,"record_length":96,"hex_timestamp":"000001a02e515408"} 
[2026-08-23 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-08-23 16:42: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-08-23 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-23 16:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162643762599,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:40] local.WARNING: Large IO value detected {"io_id":109,"raw_value":2415996292,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2214592517,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:40] local.WARNING: Large IO value detected {"io_id":220,"raw_value":58077557095399465,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2816213198,"corrected_to":0} 
[2026-08-23 16:42:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3514843136,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:40] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,85,24,241,157,16,75,160,29,45,64,226,6,38,10,66,220,74,254,128,4,1,240,248,227,46,209,113,205,239,49,2,180,5,41],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2816213198,"validated":0}]} 
[2026-08-23 16:42:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288415257317408768,"timestamp_seconds":288415257317408.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 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-08-23 16:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595768320001,"66":12819,"109":206,"85":15104,"24":44,"16":122806407916421120,"45":-8932326885958969344},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-23 16:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595768320001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:42:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-23 16:42:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122806407916421120,"km_value":122806407916421.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8932326885958969344,"description":"Unknown IO ID 45"} 
[2026-08-23 16:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595768320001,"power":12819,"unknown_109":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-8932326885958969344}} 
[2026-08-23 16:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":160642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687675,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:42:40] local.INFO: GPS data processed {"connection_id":160642,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:42:40] local.INFO: Acknowledgment sent {"connection_id":160642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:42:45] local.INFO: TCP Data received {"connection_id":160885,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:42:45] local.INFO: Processing buffer {"connection_id":160885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:42:45] local.INFO: IMEI packet received {"connection_id":160885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":160885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:42:51] local.INFO: TCP Data received {"connection_id":160885,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:42:51] local.INFO: Processing buffer {"connection_id":160885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:42:51] local.INFO: IMEI packet received {"connection_id":160885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":160885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:42:51] local.INFO: TCP Data received {"connection_id":160885,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:42:51] local.INFO: Processing buffer {"connection_id":160885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:42:51] local.INFO: Packet analysis {"connection_id":160885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:42:51] local.INFO: Extracted packet for processing {"connection_id":160885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:42:51] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595674112001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787483403000,"timestamp_ms":1787483403000,"timestamp_seconds":1787483403,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5032f8"} 
[2026-08-23 16:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595674112001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595674112001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:42:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:42:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595674112001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":160885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:42:51] local.INFO: GPS data processed {"connection_id":160885,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:42:51] local.INFO: Acknowledgment sent {"connection_id":160885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:43:04] local.INFO: TCP Data received {"connection_id":163239,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5088e8012d1823000721b590004c00c229..."} 
[2026-08-23 16:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5088e8012d1823000721b590004c00c229..."} 
[2026-08-23 16:43:04] local.INFO: Processing buffer {"connection_id":163239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5088e8012d1823000721b590004c00c229..."} 
[2026-08-23 16:43:04] local.INFO: Packet analysis {"connection_id":163239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:43:04] local.INFO: Extracted packet for processing {"connection_id":163239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649680,"longitude_deg":75.6556544,"latitude_deg":11.964968,"altitude":76,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b590","is_valid_coordinates":true} 
[2026-08-23 16:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595751424001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630627235692544,"note":"Value kept but may cause issues"} 
[2026-08-23 16:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725461504,"note":"Value kept but may cause issues"} 
[2026-08-23 16:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787483425000,"timestamp_ms":1787483425000,"timestamp_seconds":1787483425,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5088e8"} 
[2026-08-23 16:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:43:04] 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-08-23 16:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595751424001,"66":12461,"105":206,"83":41984,"24":0,"16":15630627235692544,"45":1739233911725461504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595751424001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:43:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:43:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630627235692544,"km_value":15630627235692.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725461504,"description":"Unknown IO ID 45"} 
[2026-08-23 16:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595751424001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725461504}} 
[2026-08-23 16:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":163239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:43:04] local.INFO: GPS data processed {"connection_id":163239,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:43:04] local.INFO: Acknowledgment sent {"connection_id":163239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:43:11] local.INFO: TCP Data received {"connection_id":160642,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e52cb08012d84214005cefc08000500b227..."} 
[2026-08-23 16:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e52cb08012d84214005cefc08000500b227..."} 
[2026-08-23 16:43:11] local.INFO: Processing buffer {"connection_id":160642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e52cb08012d84214005cefc08000500b227..."} 
[2026-08-23 16:43:11] local.INFO: Packet analysis {"connection_id":160642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e52"} 
[2026-08-23 16:43:11] local.INFO: Extracted packet for processing {"connection_id":160642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e52"} 
[2026-08-23 16:43:11] local.INFO: GPS Element Parsed {"raw_longitude":763633984,"raw_latitude":97451016,"longitude_deg":76.3633984,"latitude_deg":9.7451016,"altitude":5,"angle":178,"satellites":39,"speed":47,"hex_longitude":"2d842140","hex_latitude":"05cefc08","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595792640001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122811622006718464,"note":"Value kept but may cause issues"} 
[2026-08-23 16:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8926064067754180608,"note":"Value kept but may cause issues"} 
[2026-08-23 16:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787483573000,"timestamp_ms":1787483573000,"timestamp_seconds":1787483573,"priority":1,"record_length":96,"hex_timestamp":"000001a02e52cb08"} 
[2026-08-23 16:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:43: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-08-23 16: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-23 16:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595792640001,"66":13406,"110":206,"85":15104,"24":47,"16":122811622006718464,"45":-8926064067754180608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 16:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595792640001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:43:11] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 16:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122811622006718464,"km_value":122811622006718.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8926064067754180608,"description":"Unknown IO ID 45"} 
[2026-08-23 16:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595792640001,"power":13406,"unknown_110":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-8926064067754180608}} 
[2026-08-23 16:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":160642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:43:11] local.INFO: GPS data processed {"connection_id":160642,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:43:11] local.INFO: Acknowledgment sent {"connection_id":160642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:43:23] local.INFO: TCP Data received {"connection_id":160885,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:43:23] local.INFO: Processing buffer {"connection_id":160885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:43:23] local.INFO: Packet analysis {"connection_id":160885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:43:23] local.INFO: Extracted packet for processing {"connection_id":160885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:43:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595674112001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787483403000,"timestamp_ms":1787483403000,"timestamp_seconds":1787483403,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5032f8"} 
[2026-08-23 16:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:43: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-08-23 16:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:43: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-08-23 16:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595674112001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595674112001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:43:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:43:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595674112001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":160885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:43:23] local.INFO: GPS data processed {"connection_id":160885,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:43:23] local.INFO: Acknowledgment sent {"connection_id":160885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:43:29] local.INFO: TCP Data received {"connection_id":163240,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:43:29] local.INFO: Processing buffer {"connection_id":163240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:43:29] local.INFO: IMEI packet received {"connection_id":163240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":163240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:43:34] local.INFO: TCP Data received {"connection_id":161838,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:43:34] local.INFO: Processing buffer {"connection_id":161838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:43:34] local.INFO: IMEI packet received {"connection_id":161838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":161838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:43:34] local.INFO: TCP Data received {"connection_id":163240,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:43:34] local.INFO: Processing buffer {"connection_id":163240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:43:34] local.INFO: IMEI packet received {"connection_id":163240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":163240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:43:35] local.INFO: TCP Data received {"connection_id":163240,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e50daf0012d1823000721b590004c00c229..."} 
[2026-08-23 16:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e50daf0012d1823000721b590004c00c229..."} 
[2026-08-23 16:43:35] local.INFO: Processing buffer {"connection_id":163240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e50daf0012d1823000721b590004c00c229..."} 
[2026-08-23 16:43:35] local.INFO: Packet analysis {"connection_id":163240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:43:35] local.INFO: Extracted packet for processing {"connection_id":163240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:43:35] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649680,"longitude_deg":75.6556544,"latitude_deg":11.964968,"altitude":76,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b590","is_valid_coordinates":true} 
[2026-08-23 16:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595756800001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630627235692544,"note":"Value kept but may cause issues"} 
[2026-08-23 16:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725461504,"note":"Value kept but may cause issues"} 
[2026-08-23 16:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787483446000,"timestamp_ms":1787483446000,"timestamp_seconds":1787483446,"priority":1,"record_length":96,"hex_timestamp":"000001a02e50daf0"} 
[2026-08-23 16:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595756800001,"66":12298,"105":206,"83":41984,"24":0,"16":15630627235692544,"45":1739233911725461504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595756800001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:43:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:43:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630627235692544,"km_value":15630627235692.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725461504,"description":"Unknown IO ID 45"} 
[2026-08-23 16:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595756800001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725461504}} 
[2026-08-23 16:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":163240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:43:35] local.INFO: GPS data processed {"connection_id":163240,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:43:35] local.INFO: Acknowledgment sent {"connection_id":163240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:43:39] local.INFO: TCP Data received {"connection_id":161838,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:43:39] local.INFO: Processing buffer {"connection_id":161838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:43:39] local.INFO: IMEI packet received {"connection_id":161838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":161838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:43:40] local.INFO: TCP Data received {"connection_id":161838,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e52de90012d841f0005cee440000600be27..."} 
[2026-08-23 16:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e52de90012d841f0005cee440000600be27..."} 
[2026-08-23 16:43:40] local.INFO: Processing buffer {"connection_id":161838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e52de90012d841f0005cee440000600be27..."} 
[2026-08-23 16:43:40] local.INFO: Packet analysis {"connection_id":161838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e52"} 
[2026-08-23 16:43:40] local.INFO: Extracted packet for processing {"connection_id":161838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e52"} 
[2026-08-23 16:43:40] local.INFO: GPS Element Parsed {"raw_longitude":763633408,"raw_latitude":97444928,"longitude_deg":76.3633408,"latitude_deg":9.7444928,"altitude":6,"angle":190,"satellites":39,"speed":49,"hex_longitude":"2d841f00","hex_latitude":"05cee440","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595794688001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122811918359461888,"note":"Value kept but may cause issues"} 
[2026-08-23 16:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8925782592779974656,"note":"Value kept but may cause issues"} 
[2026-08-23 16:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787483578000,"timestamp_ms":1787483578000,"timestamp_seconds":1787483578,"priority":1,"record_length":96,"hex_timestamp":"000001a02e52de90"} 
[2026-08-23 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-08-23 16:43: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-08-23 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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-23 16:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 16:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595794688001,"66":13374,"110":206,"85":15104,"24":49,"16":122811918359461888,"45":-8925782592779974656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 16:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595794688001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:43:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 16:43:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122811918359461888,"km_value":122811918359461.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8925782592779974656,"description":"Unknown IO ID 45"} 
[2026-08-23 16:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595794688001,"power":13374,"unknown_110":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":-8925782592779974656}} 
[2026-08-23 16:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":161838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:43:40] local.INFO: GPS data processed {"connection_id":161838,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:43:40] local.INFO: Acknowledgment sent {"connection_id":161838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:43:51] local.INFO: TCP Data received {"connection_id":161839,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:43:51] local.INFO: Processing buffer {"connection_id":161839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:43:51] local.INFO: IMEI packet received {"connection_id":161839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":161839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:43:56] local.INFO: TCP Data received {"connection_id":161839,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:43:56] local.INFO: Processing buffer {"connection_id":161839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:43:56] local.INFO: IMEI packet received {"connection_id":161839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":161839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:43:56] local.INFO: TCP Data received {"connection_id":161839,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:43:57] local.INFO: Processing buffer {"connection_id":161839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:43:57] local.INFO: Packet analysis {"connection_id":161839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:43:57] local.INFO: Extracted packet for processing {"connection_id":161839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:43:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595674112001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787483403000,"timestamp_ms":1787483403000,"timestamp_seconds":1787483403,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5032f8"} 
[2026-08-23 16:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595674112001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595674112001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:43:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:43:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595674112001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":161839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:43:57] local.INFO: GPS data processed {"connection_id":161839,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:43:57] local.INFO: Acknowledgment sent {"connection_id":161839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:44:01] local.INFO: TCP Data received {"connection_id":161839,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:44:01] local.INFO: Processing buffer {"connection_id":161839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:44:01] local.INFO: Packet analysis {"connection_id":161839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:44:01] local.INFO: Extracted packet for processing {"connection_id":161839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:44:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595674112001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787483403000,"timestamp_ms":1787483403000,"timestamp_seconds":1787483403,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5032f8"} 
[2026-08-23 16:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595674112001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595674112001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:44:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:44:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595674112001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":161839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:44:01] local.INFO: GPS data processed {"connection_id":161839,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:44:01] local.INFO: Acknowledgment sent {"connection_id":161839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:44:06] local.INFO: TCP Data received {"connection_id":163240,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e512cf8012d1823000721b590004c00c229..."} 
[2026-08-23 16:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e512cf8012d1823000721b590004c00c229..."} 
[2026-08-23 16:44:06] local.INFO: Processing buffer {"connection_id":163240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e512cf8012d1823000721b590004c00c229..."} 
[2026-08-23 16:44:06] local.INFO: Packet analysis {"connection_id":163240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e51"} 
[2026-08-23 16:44:06] local.INFO: Extracted packet for processing {"connection_id":163240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e51"} 
[2026-08-23 16:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649680,"longitude_deg":75.6556544,"latitude_deg":11.964968,"altitude":76,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b590","is_valid_coordinates":true} 
[2026-08-23 16:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595762176001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630627235692544,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725461504,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787483467000,"timestamp_ms":1787483467000,"timestamp_seconds":1787483467,"priority":1,"record_length":96,"hex_timestamp":"000001a02e512cf8"} 
[2026-08-23 16:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 16:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513891462581846210,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185655,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:06] local.WARNING: Large IO value detected {"io_id":135,"raw_value":-504403158265495551,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3336776688035764259,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:06] local.WARNING: Large IO value detected {"io_id":76,"raw_value":54652324970233856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832602,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3507460567045046478,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3046113356,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-23 16:44:06] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:06] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510954,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:06] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2281242624,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:06] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,135,160,136,45,181,76,41,10,66,54,43,228,1,240,173,227,46,33,4,113,205,64,35,144,42,239,48,2,55,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-23 16:44:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476590628231970816,"timestamp_seconds":5476590628231971.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 16:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595762176001,"66":12461,"105":206,"83":41984,"24":0,"16":15630627235692544,"45":1739233911725461504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595762176001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:44:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630627235692544,"km_value":15630627235692.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725461504,"description":"Unknown IO ID 45"} 
[2026-08-23 16:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595762176001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725461504}} 
[2026-08-23 16:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":163240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:44:06] local.INFO: GPS data processed {"connection_id":163240,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:44:06] local.INFO: Acknowledgment sent {"connection_id":163240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:44:11] local.INFO: TCP Data received {"connection_id":161838,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e52fdd0012d84180005cebe58000400ba27..."} 
[2026-08-23 16:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e52fdd0012d84180005cebe58000400ba27..."} 
[2026-08-23 16:44:11] local.INFO: Processing buffer {"connection_id":161838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e52fdd0012d84180005cebe58000400ba27..."} 
[2026-08-23 16:44:11] local.INFO: Packet analysis {"connection_id":161838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e52"} 
[2026-08-23 16:44:11] local.INFO: Extracted packet for processing {"connection_id":161838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e52"} 
[2026-08-23 16:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763631616,"raw_latitude":97435224,"longitude_deg":76.3631616,"latitude_deg":9.7435224,"altitude":4,"angle":186,"satellites":39,"speed":48,"hex_longitude":"2d841800","hex_latitude":"05cebe58","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595795968001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122812395100831744,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8926415911479132160,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787483586000,"timestamp_ms":1787483586000,"timestamp_seconds":1787483586,"priority":1,"record_length":96,"hex_timestamp":"000001a02e52fdd0"} 
[2026-08-23 16:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:44: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-08-23 16: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-23 16:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595795968001,"66":13515,"110":206,"85":15104,"24":48,"16":122812395100831744,"45":-8926415911479132160},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 16:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595795968001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:44:11] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 16:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122812395100831744,"km_value":122812395100831.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8926415911479132160,"description":"Unknown IO ID 45"} 
[2026-08-23 16:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595795968001,"power":13515,"unknown_110":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-8926415911479132160}} 
[2026-08-23 16:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":161838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:44:11] local.INFO: GPS data processed {"connection_id":161838,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:44:11] local.INFO: Acknowledgment sent {"connection_id":161838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:44:29] local.INFO: TCP Data received {"connection_id":160886,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:44:29] local.INFO: Processing buffer {"connection_id":160886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:44:29] local.INFO: IMEI packet received {"connection_id":160886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":160886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:44:34] local.INFO: TCP Data received {"connection_id":160886,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:44:34] local.INFO: Processing buffer {"connection_id":160886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:44:34] local.INFO: IMEI packet received {"connection_id":160886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":160886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:44:35] local.INFO: TCP Data received {"connection_id":160886,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e517f00012d1823000721b590004c00c228..."} 
[2026-08-23 16:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e517f00012d1823000721b590004c00c228..."} 
[2026-08-23 16:44:35] local.INFO: Processing buffer {"connection_id":160886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e517f00012d1823000721b590004c00c228..."} 
[2026-08-23 16:44:35] local.INFO: Packet analysis {"connection_id":160886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e51"} 
[2026-08-23 16:44:35] local.INFO: Extracted packet for processing {"connection_id":160886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e51"} 
[2026-08-23 16:44:35] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649680,"longitude_deg":75.6556544,"latitude_deg":11.964968,"altitude":76,"angle":194,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b590","is_valid_coordinates":true} 
[2026-08-23 16:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595767552001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630627235692544,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725461504,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787483488000,"timestamp_ms":1787483488000,"timestamp_seconds":1787483488,"priority":1,"record_length":96,"hex_timestamp":"000001a02e517f00"} 
[2026-08-23 16:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595767552001,"66":12406,"105":206,"83":41984,"24":0,"16":15630627235692544,"45":1739233911725461504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595767552001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:44:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:44:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630627235692544,"km_value":15630627235692.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725461504,"description":"Unknown IO ID 45"} 
[2026-08-23 16:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595767552001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725461504}} 
[2026-08-23 16:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":160886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:44:35] local.INFO: GPS data processed {"connection_id":160886,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:44:35] local.INFO: Acknowledgment sent {"connection_id":160886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:44:39] local.INFO: TCP Data received {"connection_id":163241,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:44:39] local.INFO: Processing buffer {"connection_id":163241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:44:39] local.INFO: IMEI packet received {"connection_id":163241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":163241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:44:41] local.INFO: TCP Data received {"connection_id":163241,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:44:41] local.INFO: Processing buffer {"connection_id":163241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:44:41] local.INFO: IMEI packet received {"connection_id":163241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":163241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:44:44] local.INFO: TCP Data received {"connection_id":163241,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:44:44] local.INFO: Processing buffer {"connection_id":163241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:44:44] local.INFO: IMEI packet received {"connection_id":163241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":163241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:44:45] local.INFO: TCP Data received {"connection_id":163241,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e531d10012d8412c005ce9888000300bb27..."} 
[2026-08-23 16:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e531d10012d8412c005ce9888000300bb27..."} 
[2026-08-23 16:44:45] local.INFO: Processing buffer {"connection_id":163241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e531d10012d8412c005ce9888000300bb27..."} 
[2026-08-23 16:44:45] local.INFO: Packet analysis {"connection_id":163241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e53"} 
[2026-08-23 16:44:45] local.INFO: Extracted packet for processing {"connection_id":163241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e53"} 
[2026-08-23 16:44:45] local.INFO: GPS Element Parsed {"raw_longitude":763630272,"raw_latitude":97425544,"longitude_deg":76.3630272,"latitude_deg":9.7425544,"altitude":3,"angle":187,"satellites":39,"speed":49,"hex_longitude":"2d8412c0","hex_latitude":"05ce9888","is_valid_coordinates":true} 
[2026-08-23 16:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595798016001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122812871842201600,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8928386236318590976,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787483594000,"timestamp_ms":1787483594000,"timestamp_seconds":1787483594,"priority":1,"record_length":96,"hex_timestamp":"000001a02e531d10"} 
[2026-08-23 16:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:44: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-08-23 16:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-23 16:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595798016001,"66":13450,"110":206,"85":15104,"24":49,"16":122812871842201600,"45":-8928386236318590976},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 16:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595798016001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:44:45] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 16:44:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122812871842201600,"km_value":122812871842201.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8928386236318590976,"description":"Unknown IO ID 45"} 
[2026-08-23 16:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595798016001,"power":13450,"unknown_110":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":-8928386236318590976}} 
[2026-08-23 16:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":163241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:44:45] local.INFO: GPS data processed {"connection_id":163241,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:44:45] local.INFO: Acknowledgment sent {"connection_id":163241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:44:46] local.INFO: TCP Data received {"connection_id":160643,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:44:46] local.INFO: Processing buffer {"connection_id":160643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:44:46] local.INFO: IMEI packet received {"connection_id":160643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":160643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:44:46] local.INFO: TCP Data received {"connection_id":163241,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e533c50012d840f0005ce71e8000300b826..."} 
[2026-08-23 16:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e533c50012d840f0005ce71e8000300b826..."} 
[2026-08-23 16:44:46] local.INFO: Processing buffer {"connection_id":163241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e533c50012d840f0005ce71e8000300b826..."} 
[2026-08-23 16:44:46] local.INFO: Packet analysis {"connection_id":163241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e53"} 
[2026-08-23 16:44:46] local.INFO: Extracted packet for processing {"connection_id":163241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e53"} 
[2026-08-23 16:44:46] local.INFO: GPS Element Parsed {"raw_longitude":763629312,"raw_latitude":97415656,"longitude_deg":76.3629312,"latitude_deg":9.7415656,"altitude":3,"angle":184,"satellites":38,"speed":47,"hex_longitude":"2d840f00","hex_latitude":"05ce71e8","is_valid_coordinates":true} 
[2026-08-23 16:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595800064001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122813352878538752,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8929863979948800000,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787483602000,"timestamp_ms":1787483602000,"timestamp_seconds":1787483602,"priority":1,"record_length":96,"hex_timestamp":"000001a02e533c50"} 
[2026-08-23 16:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:44: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-08-23 16:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-23 16:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595800064001,"66":13450,"110":206,"85":15104,"24":47,"16":122813352878538752,"45":-8929863979948800000},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-23 16:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595800064001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:44:46] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-23 16:44:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122813352878538752,"km_value":122813352878538.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8929863979948800000,"description":"Unknown IO ID 45"} 
[2026-08-23 16:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595800064001,"power":13450,"unknown_110":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-8929863979948800000}} 
[2026-08-23 16:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":163241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:44:46] local.INFO: GPS data processed {"connection_id":163241,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:44:46] local.INFO: Acknowledgment sent {"connection_id":163241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:44:51] local.INFO: TCP Data received {"connection_id":160643,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:44:51] local.INFO: Processing buffer {"connection_id":160643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:44:51] local.INFO: IMEI packet received {"connection_id":160643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":160643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:44:51] local.INFO: TCP Data received {"connection_id":160643,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:44:51] local.INFO: Processing buffer {"connection_id":160643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:44:51] local.INFO: Packet analysis {"connection_id":160643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:44:51] local.INFO: Extracted packet for processing {"connection_id":160643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:44:51] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595674112001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787483403000,"timestamp_ms":1787483403000,"timestamp_seconds":1787483403,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5032f8"} 
[2026-08-23 16:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595674112001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595674112001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:44:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:44:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595674112001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":160643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:44:51] local.INFO: GPS data processed {"connection_id":160643,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:44:51] local.INFO: Acknowledgment sent {"connection_id":160643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:45:06] local.INFO: TCP Data received {"connection_id":160886,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e51cd20012d1820000721b348004e00d129..."} 
[2026-08-23 16:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e51cd20012d1820000721b348004e00d129..."} 
[2026-08-23 16:45:06] local.INFO: Processing buffer {"connection_id":160886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e51cd20012d1820000721b348004e00d129..."} 
[2026-08-23 16:45:06] local.INFO: Packet analysis {"connection_id":160886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e51"} 
[2026-08-23 16:45:06] local.INFO: Extracted packet for processing {"connection_id":160886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e51"} 
[2026-08-23 16:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119649096,"longitude_deg":75.6555776,"latitude_deg":11.9649096,"altitude":78,"angle":209,"satellites":41,"speed":1,"hex_longitude":"2d182000","hex_latitude":"0721b348","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595772928001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630674480332800,"note":"Value kept but may cause issues"} 
[2026-08-23 16:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725461504,"note":"Value kept but may cause issues"} 
[2026-08-23 16:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787483508000,"timestamp_ms":1787483508000,"timestamp_seconds":1787483508,"priority":1,"record_length":96,"hex_timestamp":"000001a02e51cd20"} 
[2026-08-23 16:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 16:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595772928001,"66":12428,"105":206,"83":41984,"24":1,"16":15630674480332800,"45":1739233911725461504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595772928001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:45:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630674480332800,"km_value":15630674480332.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725461504,"description":"Unknown IO ID 45"} 
[2026-08-23 16:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595772928001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739233911725461504}} 
[2026-08-23 16:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":160886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:45:06] local.INFO: GPS data processed {"connection_id":160886,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:45:06] local.INFO: Acknowledgment sent {"connection_id":160886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:45:17] local.INFO: TCP Data received {"connection_id":163241,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e535b90012d840c0005ce4df0000500b626..."} 
[2026-08-23 16:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e535b90012d840c0005ce4df0000500b626..."} 
[2026-08-23 16:45:17] local.INFO: Processing buffer {"connection_id":163241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e535b90012d840c0005ce4df0000500b626..."} 
[2026-08-23 16:45:17] local.INFO: Packet analysis {"connection_id":163241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e53"} 
[2026-08-23 16:45:17] local.INFO: Extracted packet for processing {"connection_id":163241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e53"} 
[2026-08-23 16:45:17] local.INFO: GPS Element Parsed {"raw_longitude":763628544,"raw_latitude":97406448,"longitude_deg":76.3628544,"latitude_deg":9.7406448,"altitude":5,"angle":182,"satellites":38,"speed":38,"hex_longitude":"2d840c00","hex_latitude":"05ce4df0","is_valid_coordinates":true} 
[2026-08-23 16:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595802112001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122813799555137536,"note":"Value kept but may cause issues"} 
[2026-08-23 16:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8930919511113996288,"note":"Value kept but may cause issues"} 
[2026-08-23 16:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787483610000,"timestamp_ms":1787483610000,"timestamp_seconds":1787483610,"priority":1,"record_length":96,"hex_timestamp":"000001a02e535b90"} 
[2026-08-23 16:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:45: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-08-23 16:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-23 16:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595802112001,"66":13276,"39":206,"85":15104,"24":38,"16":122813799555137536,"45":-8930919511113996288},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-08-23 16:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595802112001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:45:17] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-23 16:45:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122813799555137536,"km_value":122813799555137.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8930919511113996288,"description":"Unknown IO ID 45"} 
[2026-08-23 16:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595802112001,"power":13276,"unknown_39":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-8930919511113996288}} 
[2026-08-23 16:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":163241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:45:17] local.INFO: GPS data processed {"connection_id":163241,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:45:17] local.INFO: Acknowledgment sent {"connection_id":163241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:45:23] local.INFO: TCP Data received {"connection_id":160643,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:45:23] local.INFO: Processing buffer {"connection_id":160643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5032f8012d34c50006aa4098001000851d..."} 
[2026-08-23 16:45:23] local.INFO: Packet analysis {"connection_id":160643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:45:23] local.INFO: Extracted packet for processing {"connection_id":160643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e50"} 
[2026-08-23 16:45:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":16,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595674112001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787483403000,"timestamp_ms":1787483403000,"timestamp_seconds":1787483403,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5032f8"} 
[2026-08-23 16:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:45: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-08-23 16:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595674112001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595674112001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:45:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:45:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595674112001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":160643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:45:23] local.INFO: GPS data processed {"connection_id":160643,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:45:23] local.INFO: Acknowledgment sent {"connection_id":160643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:45:29] local.INFO: TCP Data received {"connection_id":163242,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:45:29] local.INFO: Processing buffer {"connection_id":163242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:45:29] local.INFO: IMEI packet received {"connection_id":163242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":163242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:45:34] local.INFO: TCP Data received {"connection_id":163242,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:45:34] local.INFO: Processing buffer {"connection_id":163242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:45:34] local.INFO: IMEI packet received {"connection_id":163242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":163242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:45:35] local.INFO: TCP Data received {"connection_id":163242,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e51e0a8012d181f400721b248004d00dd29..."} 
[2026-08-23 16:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e51e0a8012d181f400721b248004d00dd29..."} 
[2026-08-23 16:45:35] local.INFO: Processing buffer {"connection_id":163242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e51e0a8012d181f400721b248004d00dd29..."} 
[2026-08-23 16:45:35] local.INFO: Packet analysis {"connection_id":163242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e51"} 
[2026-08-23 16:45:35] local.INFO: Extracted packet for processing {"connection_id":163242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e51"} 
[2026-08-23 16:45:35] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648840,"longitude_deg":75.6555584,"latitude_deg":11.964884,"altitude":77,"angle":221,"satellites":41,"speed":2,"hex_longitude":"2d181f40","hex_latitude":"0721b248","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595778048001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630691660201984,"note":"Value kept but may cause issues"} 
[2026-08-23 16:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795180032,"note":"Value kept but may cause issues"} 
[2026-08-23 16:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787483513000,"timestamp_ms":1787483513000,"timestamp_seconds":1787483513,"priority":1,"record_length":96,"hex_timestamp":"000001a02e51e0a8"} 
[2026-08-23 16:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 16:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595778048001,"66":12385,"105":206,"83":41984,"24":2,"16":15630691660201984,"45":1738389486795180032},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595778048001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:45:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:45:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630691660201984,"km_value":15630691660201.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795180032,"description":"Unknown IO ID 45"} 
[2026-08-23 16:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595778048001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738389486795180032}} 
[2026-08-23 16:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":163242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:45:35] local.INFO: GPS data processed {"connection_id":163242,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:45:35] local.INFO: Acknowledgment sent {"connection_id":163242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:45:46] local.INFO: TCP Data received {"connection_id":160644,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:45:46] local.INFO: Processing buffer {"connection_id":160644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:45:46] local.INFO: IMEI packet received {"connection_id":160644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":160644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:45:51] local.INFO: TCP Data received {"connection_id":160644,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:45:51] local.INFO: Processing buffer {"connection_id":160644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:45:51] local.INFO: IMEI packet received {"connection_id":160644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":160644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:45:52] local.INFO: TCP Data received {"connection_id":160644,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:45:52] local.INFO: Processing buffer {"connection_id":160644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:45:52] local.INFO: Packet analysis {"connection_id":160644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:45:52] local.INFO: Extracted packet for processing {"connection_id":160644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595751168001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787483704000,"timestamp_ms":1787483704000,"timestamp_seconds":1787483704,"priority":1,"record_length":96,"hex_timestamp":"000001a02e54cac0"} 
[2026-08-23 16:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 16:45:52] 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-08-23 16:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595751168001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595751168001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:45:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595751168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":160644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:45:52] local.INFO: GPS data processed {"connection_id":160644,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:45:52] local.INFO: Acknowledgment sent {"connection_id":160644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:46:06] local.INFO: TCP Data received {"connection_id":163242,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5232b0012d181f400721b228004d00dd29..."} 
[2026-08-23 16:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5232b0012d181f400721b228004d00dd29..."} 
[2026-08-23 16:46:06] local.INFO: Processing buffer {"connection_id":163242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5232b0012d181f400721b228004d00dd29..."} 
[2026-08-23 16:46:06] local.INFO: Packet analysis {"connection_id":163242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e52"} 
[2026-08-23 16:46:06] local.INFO: Extracted packet for processing {"connection_id":163242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e52"} 
[2026-08-23 16:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648808,"longitude_deg":75.6555584,"latitude_deg":11.9648808,"altitude":77,"angle":221,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-08-23 16:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595779328001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630691660201984,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562581504,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787483534000,"timestamp_ms":1787483534000,"timestamp_seconds":1787483534,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5232b0"} 
[2026-08-23 16:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 16:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595779328001,"66":12461,"105":206,"83":41984,"24":0,"16":15630691660201984,"45":1738178380562581504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595779328001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:46:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630691660201984,"km_value":15630691660201.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562581504,"description":"Unknown IO ID 45"} 
[2026-08-23 16:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595779328001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562581504}} 
[2026-08-23 16:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":163242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:46:06] local.INFO: GPS data processed {"connection_id":163242,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:46:06] local.INFO: Acknowledgment sent {"connection_id":163242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:46:07] local.INFO: TCP Data received {"connection_id":161840,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161840,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:46:07] local.INFO: Processing buffer {"connection_id":161840,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:46:07] local.INFO: IMEI packet received {"connection_id":161840,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":161840,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:46:09] local.INFO: TCP Data received {"connection_id":161840,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161840,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:46:09] local.INFO: Processing buffer {"connection_id":161840,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:46:09] local.INFO: IMEI packet received {"connection_id":161840,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":161840,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:46:14] local.INFO: TCP Data received {"connection_id":161840,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161840,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:46:14] local.INFO: Processing buffer {"connection_id":161840,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:46:14] local.INFO: IMEI packet received {"connection_id":161840,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":161840,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:46:15] local.INFO: TCP Data received {"connection_id":161840,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e550558012d83ecc005cd15d0000400bb28..."} 
[2026-08-23 16:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e550558012d83ecc005cd15d0000400bb28..."} 
[2026-08-23 16:46:15] local.INFO: Processing buffer {"connection_id":161840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e550558012d83ecc005cd15d0000400bb28..."} 
[2026-08-23 16:46:15] local.INFO: Packet analysis {"connection_id":161840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e55"} 
[2026-08-23 16:46:15] local.INFO: Extracted packet for processing {"connection_id":161840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e55"} 
[2026-08-23 16:46:15] local.INFO: GPS Element Parsed {"raw_longitude":763620544,"raw_latitude":97326544,"longitude_deg":76.3620544,"latitude_deg":9.7326544,"altitude":4,"angle":187,"satellites":40,"speed":24,"hex_longitude":"2d83ecc0","hex_latitude":"05cd15d0","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595826944001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122817707975376896,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8939504497924411392,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787483719000,"timestamp_ms":1787483719000,"timestamp_seconds":1787483719,"priority":1,"record_length":96,"hex_timestamp":"000001a02e550558"} 
[2026-08-23 16:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:46: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-08-23 16: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-23 16:46:15] 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-08-23 16: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-08-23 16:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":161840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":161840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":161840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595826944001,"66":12928,"39":206,"85":15104,"24":24,"16":122817707975376896,"45":-8939504497924411392},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-08-23 16:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595826944001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:46:15] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-23 16:46:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122817707975376896,"km_value":122817707975376.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8939504497924411392,"description":"Unknown IO ID 45"} 
[2026-08-23 16:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595826944001,"power":12928,"unknown_39":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-8939504497924411392}} 
[2026-08-23 16:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":161840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687696,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:46:15] local.INFO: GPS data processed {"connection_id":161840,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:46:15] local.INFO: Acknowledgment sent {"connection_id":161840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:46:18] local.INFO: TCP Data received {"connection_id":161840,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e553050012d83e74005ccf2a0000400bb27..."} 
[2026-08-23 16:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e553050012d83e74005ccf2a0000400bb27..."} 
[2026-08-23 16:46:18] local.INFO: Processing buffer {"connection_id":161840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e553050012d83e74005ccf2a0000400bb27..."} 
[2026-08-23 16:46:18] local.INFO: Packet analysis {"connection_id":161840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e55"} 
[2026-08-23 16:46:18] local.INFO: Extracted packet for processing {"connection_id":161840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e55"} 
[2026-08-23 16:46:18] local.INFO: GPS Element Parsed {"raw_longitude":763619136,"raw_latitude":97317536,"longitude_deg":76.3619136,"latitude_deg":9.7317536,"altitude":4,"angle":187,"satellites":39,"speed":40,"hex_longitude":"2d83e740","hex_latitude":"05ccf2a0","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595832064001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122818150357008384,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8940560029089148928,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787483730000,"timestamp_ms":1787483730000,"timestamp_seconds":1787483730,"priority":1,"record_length":96,"hex_timestamp":"000001a02e553050"} 
[2026-08-23 16:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:46: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-08-23 16:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-23 16:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161840,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595832064001,"66":13135,"39":206,"85":15104,"24":40,"16":122818150357008384,"45":-8940560029089148928},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-08-23 16:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595832064001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:46:18] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-23 16:46:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122818150357008384,"km_value":122818150357008.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8940560029089148928,"description":"Unknown IO ID 45"} 
[2026-08-23 16:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595832064001,"power":13135,"unknown_39":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-8940560029089148928}} 
[2026-08-23 16:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":161840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:46:18] local.INFO: GPS data processed {"connection_id":161840,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:46:18] local.INFO: Acknowledgment sent {"connection_id":161840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:46:23] local.INFO: TCP Data received {"connection_id":160644,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:46:23] local.INFO: Processing buffer {"connection_id":160644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:46:23] local.INFO: Packet analysis {"connection_id":160644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:46:23] local.INFO: Extracted packet for processing {"connection_id":160644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:46:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595751168001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787483704000,"timestamp_ms":1787483704000,"timestamp_seconds":1787483704,"priority":1,"record_length":96,"hex_timestamp":"000001a02e54cac0"} 
[2026-08-23 16:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 16:46:23] 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-08-23 16:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595751168001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595751168001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:46:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:46:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595751168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":160644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:46:23] local.INFO: GPS data processed {"connection_id":160644,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:46:23] local.INFO: Acknowledgment sent {"connection_id":160644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:46:29] local.INFO: TCP Data received {"connection_id":161841,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:46:29] local.INFO: Processing buffer {"connection_id":161841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:46:29] local.INFO: IMEI packet received {"connection_id":161841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":161841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:46:34] local.INFO: TCP Data received {"connection_id":161841,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:46:34] local.INFO: Processing buffer {"connection_id":161841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:46:34] local.INFO: IMEI packet received {"connection_id":161841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":161841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:46:35] local.INFO: TCP Data received {"connection_id":161841,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5284b8012d181f400721b228004d00dd27..."} 
[2026-08-23 16:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5284b8012d181f400721b228004d00dd27..."} 
[2026-08-23 16:46:35] local.INFO: Processing buffer {"connection_id":161841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5284b8012d181f400721b228004d00dd27..."} 
[2026-08-23 16:46:35] local.INFO: Packet analysis {"connection_id":161841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e52"} 
[2026-08-23 16:46:35] local.INFO: Extracted packet for processing {"connection_id":161841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e52"} 
[2026-08-23 16:46:35] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648808,"longitude_deg":75.6555584,"latitude_deg":11.9648808,"altitude":77,"angle":221,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-08-23 16:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595784704001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630691660201984,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562573312,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787483555000,"timestamp_ms":1787483555000,"timestamp_seconds":1787483555,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5284b8"} 
[2026-08-23 16:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595784704001,"66":12461,"105":206,"83":41984,"24":0,"16":15630691660201984,"45":1738178380562573312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595784704001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:46:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630691660201984,"km_value":15630691660201.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562573312,"description":"Unknown IO ID 45"} 
[2026-08-23 16:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595784704001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562573312}} 
[2026-08-23 16:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":161841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:46:35] local.INFO: GPS data processed {"connection_id":161841,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:46:35] local.INFO: Acknowledgment sent {"connection_id":161841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:46:40] local.INFO: TCP Data received {"connection_id":160887,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:46:40] local.INFO: Processing buffer {"connection_id":160887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:46:40] local.INFO: IMEI packet received {"connection_id":160887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":160887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:46:44] local.INFO: TCP Data received {"connection_id":160887,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:46:44] local.INFO: Processing buffer {"connection_id":160887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:46:44] local.INFO: IMEI packet received {"connection_id":160887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":160887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:46:45] local.INFO: TCP Data received {"connection_id":160888,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:46:45] local.INFO: Processing buffer {"connection_id":160888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:46:45] local.INFO: IMEI packet received {"connection_id":160888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":160888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:46:45] local.INFO: TCP Data received {"connection_id":160887,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e554f90012d83e68005cccf80000300b228..."} 
[2026-08-23 16:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e554f90012d83e68005cccf80000300b228..."} 
[2026-08-23 16:46:45] local.INFO: Processing buffer {"connection_id":160887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e554f90012d83e68005cccf80000300b228..."} 
[2026-08-23 16:46:45] local.INFO: Packet analysis {"connection_id":160887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e55"} 
[2026-08-23 16:46:45] local.INFO: Extracted packet for processing {"connection_id":160887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e55"} 
[2026-08-23 16:46:45] local.INFO: GPS Element Parsed {"raw_longitude":763618944,"raw_latitude":97308544,"longitude_deg":76.3618944,"latitude_deg":9.7308544,"altitude":3,"angle":178,"satellites":40,"speed":49,"hex_longitude":"2d83e680","hex_latitude":"05cccf80","is_valid_coordinates":true} 
[2026-08-23 16:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595834880001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122818588443672576,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8942108141463363584,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787483738000,"timestamp_ms":1787483738000,"timestamp_seconds":1787483738,"priority":1,"record_length":96,"hex_timestamp":"000001a02e554f90"} 
[2026-08-23 16:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:46: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-08-23 16:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 16:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595834880001,"66":11765,"39":206,"85":15104,"24":49,"16":122818588443672576,"45":-8942108141463363584},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-08-23 16:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595834880001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:46:45] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-23 16:46:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122818588443672576,"km_value":122818588443672.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8942108141463363584,"description":"Unknown IO ID 45"} 
[2026-08-23 16:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595834880001,"power":11765,"unknown_39":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":-8942108141463363584}} 
[2026-08-23 16:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":160887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:46:45] local.INFO: GPS data processed {"connection_id":160887,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:46:45] local.INFO: Acknowledgment sent {"connection_id":160887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:46:46] local.INFO: TCP Data received {"connection_id":160887,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e556ed0012d83e58005ccabf0000100ba26..."} 
[2026-08-23 16:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e556ed0012d83e58005ccabf0000100ba26..."} 
[2026-08-23 16:46:46] local.INFO: Processing buffer {"connection_id":160887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e556ed0012d83e58005ccabf0000100ba26..."} 
[2026-08-23 16:46:46] local.INFO: Packet analysis {"connection_id":160887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e55"} 
[2026-08-23 16:46:46] local.INFO: Extracted packet for processing {"connection_id":160887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e55"} 
[2026-08-23 16:46:46] local.INFO: GPS Element Parsed {"raw_longitude":763618688,"raw_latitude":97299440,"longitude_deg":76.3618688,"latitude_deg":9.729944,"altitude":1,"angle":186,"satellites":38,"speed":39,"hex_longitude":"2d83e580","hex_latitude":"05ccabf0","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595836928001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122819030825304064,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8942319247698198528,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787483746000,"timestamp_ms":1787483746000,"timestamp_seconds":1787483746,"priority":1,"record_length":96,"hex_timestamp":"000001a02e556ed0"} 
[2026-08-23 16:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16: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-08-23 16: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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-08-23 16:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595836928001,"66":12341,"39":206,"85":15104,"24":39,"16":122819030825304064,"45":-8942319247698198528},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-08-23 16:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595836928001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:46:47] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-23 16:46:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122819030825304064,"km_value":122819030825304.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8942319247698198528,"description":"Unknown IO ID 45"} 
[2026-08-23 16:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595836928001,"power":12341,"unknown_39":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-8942319247698198528}} 
[2026-08-23 16:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":160887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:46:47] local.INFO: GPS data processed {"connection_id":160887,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:46:47] local.INFO: Acknowledgment sent {"connection_id":160887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:46:51] local.INFO: TCP Data received {"connection_id":160888,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:46:51] local.INFO: Processing buffer {"connection_id":160888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:46:51] local.INFO: IMEI packet received {"connection_id":160888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":160888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:46:52] local.INFO: TCP Data received {"connection_id":160888,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:46:52] local.INFO: Processing buffer {"connection_id":160888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:46:52] local.INFO: Packet analysis {"connection_id":160888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:46:52] local.INFO: Extracted packet for processing {"connection_id":160888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595751168001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787483704000,"timestamp_ms":1787483704000,"timestamp_seconds":1787483704,"priority":1,"record_length":96,"hex_timestamp":"000001a02e54cac0"} 
[2026-08-23 16:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 16:46:52] 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-08-23 16:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595751168001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595751168001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:46:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595751168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":160888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:46:52] local.INFO: GPS data processed {"connection_id":160888,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:46:52] local.INFO: Acknowledgment sent {"connection_id":160888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:47:06] local.INFO: TCP Data received {"connection_id":161841,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e52d6c0012d181f400721b228004d00dd28..."} 
[2026-08-23 16:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e52d6c0012d181f400721b228004d00dd28..."} 
[2026-08-23 16:47:06] local.INFO: Processing buffer {"connection_id":161841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e52d6c0012d181f400721b228004d00dd28..."} 
[2026-08-23 16:47:06] local.INFO: Packet analysis {"connection_id":161841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e52"} 
[2026-08-23 16:47:06] local.INFO: Extracted packet for processing {"connection_id":161841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e52"} 
[2026-08-23 16:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648808,"longitude_deg":75.6555584,"latitude_deg":11.9648808,"altitude":77,"angle":221,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-08-23 16:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595790080001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630691660201984,"note":"Value kept but may cause issues"} 
[2026-08-23 16:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562573312,"note":"Value kept but may cause issues"} 
[2026-08-23 16:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787483576000,"timestamp_ms":1787483576000,"timestamp_seconds":1787483576,"priority":1,"record_length":96,"hex_timestamp":"000001a02e52d6c0"} 
[2026-08-23 16:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595790080001,"66":12461,"105":206,"83":41984,"24":0,"16":15630691660201984,"45":1738178380562573312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595790080001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:47:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630691660201984,"km_value":15630691660201.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562573312,"description":"Unknown IO ID 45"} 
[2026-08-23 16:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595790080001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562573312}} 
[2026-08-23 16:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":161841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:47:06] local.INFO: GPS data processed {"connection_id":161841,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:47:06] local.INFO: Acknowledgment sent {"connection_id":161841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:47:18] local.INFO: TCP Data received {"connection_id":160887,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e55bcf0012d83e2c005cc9150000300bc28..."} 
[2026-08-23 16:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e55bcf0012d83e2c005cc9150000300bc28..."} 
[2026-08-23 16:47:18] local.INFO: Processing buffer {"connection_id":160887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e55bcf0012d83e2c005cc9150000300bc28..."} 
[2026-08-23 16:47:18] local.INFO: Packet analysis {"connection_id":160887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e55"} 
[2026-08-23 16:47:18] local.INFO: Extracted packet for processing {"connection_id":160887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e55"} 
[2026-08-23 16:47:18] local.INFO: GPS Element Parsed {"raw_longitude":763617984,"raw_latitude":97292624,"longitude_deg":76.3617984,"latitude_deg":9.7292624,"altitude":3,"angle":188,"satellites":40,"speed":24,"hex_longitude":"2d83e2c0","hex_latitude":"05cc9150","is_valid_coordinates":true} 
[2026-08-23 16:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595838976001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122819365832753152,"note":"Value kept but may cause issues"} 
[2026-08-23 16:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8942600722677239808,"note":"Value kept but may cause issues"} 
[2026-08-23 16:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787483766000,"timestamp_ms":1787483766000,"timestamp_seconds":1787483766,"priority":1,"record_length":96,"hex_timestamp":"000001a02e55bcf0"} 
[2026-08-23 16:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:47: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-08-23 16:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 16:47:18] 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-08-23 16:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595838976001,"66":12961,"63":206,"85":15104,"24":24,"16":122819365832753152,"45":-8942600722677239808},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-23 16:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595838976001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:47:18] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-23 16:47:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122819365832753152,"km_value":122819365832753.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8942600722677239808,"description":"Unknown IO ID 45"} 
[2026-08-23 16:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595838976001,"power":12961,"unknown_63":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-8942600722677239808}} 
[2026-08-23 16:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":160887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:47:18] local.INFO: GPS data processed {"connection_id":160887,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:47:18] local.INFO: Acknowledgment sent {"connection_id":160887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:47:23] local.INFO: TCP Data received {"connection_id":160888,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:47:23] local.INFO: Processing buffer {"connection_id":160888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:47:23] local.INFO: Packet analysis {"connection_id":160888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:47:23] local.INFO: Extracted packet for processing {"connection_id":160888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:47:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595751168001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787483704000,"timestamp_ms":1787483704000,"timestamp_seconds":1787483704,"priority":1,"record_length":96,"hex_timestamp":"000001a02e54cac0"} 
[2026-08-23 16:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 16:47:23] 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-08-23 16:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595751168001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595751168001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:47:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:47:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595751168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":160888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:47:23] local.INFO: GPS data processed {"connection_id":160888,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:47:23] local.INFO: Acknowledgment sent {"connection_id":160888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:47:29] local.INFO: TCP Data received {"connection_id":161842,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:47:29] local.INFO: Processing buffer {"connection_id":161842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:47:29] local.INFO: IMEI packet received {"connection_id":161842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":161842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:47:34] local.INFO: TCP Data received {"connection_id":161842,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:47:34] local.INFO: Processing buffer {"connection_id":161842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:47:34] local.INFO: IMEI packet received {"connection_id":161842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":161842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:47:34] local.INFO: TCP Data received {"connection_id":160889,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:47:34] local.INFO: Processing buffer {"connection_id":160889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:47:34] local.INFO: IMEI packet received {"connection_id":160889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":160889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:47:35] local.INFO: TCP Data received {"connection_id":161842,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5328c8012d181f400721b228004d00dd27..."} 
[2026-08-23 16:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5328c8012d181f400721b228004d00dd27..."} 
[2026-08-23 16:47:35] local.INFO: Processing buffer {"connection_id":161842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5328c8012d181f400721b228004d00dd27..."} 
[2026-08-23 16:47:35] local.INFO: Packet analysis {"connection_id":161842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e53"} 
[2026-08-23 16:47:35] local.INFO: Extracted packet for processing {"connection_id":161842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e53"} 
[2026-08-23 16:47:35] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648808,"longitude_deg":75.6555584,"latitude_deg":11.9648808,"altitude":77,"angle":221,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595795456001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630691660201984,"note":"Value kept but may cause issues"} 
[2026-08-23 16:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562573312,"note":"Value kept but may cause issues"} 
[2026-08-23 16:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787483597000,"timestamp_ms":1787483597000,"timestamp_seconds":1787483597,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5328c8"} 
[2026-08-23 16:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595795456001,"66":12461,"105":206,"83":41984,"24":0,"16":15630691660201984,"45":1738178380562573312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595795456001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:47:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:47:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630691660201984,"km_value":15630691660201.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562573312,"description":"Unknown IO ID 45"} 
[2026-08-23 16:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595795456001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562573312}} 
[2026-08-23 16:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":161842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:47:35] local.INFO: GPS data processed {"connection_id":161842,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:47:35] local.INFO: Acknowledgment sent {"connection_id":161842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:47:35] local.INFO: TCP Data received {"connection_id":160889,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:47:35] local.INFO: Processing buffer {"connection_id":160889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:47:35] local.INFO: IMEI packet received {"connection_id":160889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":160889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:47:39] local.INFO: TCP Data received {"connection_id":160889,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:47:39] local.INFO: Processing buffer {"connection_id":160889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:47:39] local.INFO: IMEI packet received {"connection_id":160889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":160889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:47:40] local.INFO: TCP Data received {"connection_id":160889,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e55e400012d83dd4005cc6ee0000300bb28..."} 
[2026-08-23 16:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e55e400012d83dd4005cc6ee0000300bb28..."} 
[2026-08-23 16:47:40] local.INFO: Processing buffer {"connection_id":160889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e55e400012d83dd4005cc6ee0000300bb28..."} 
[2026-08-23 16:47:40] local.INFO: Packet analysis {"connection_id":160889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e55"} 
[2026-08-23 16:47:40] local.INFO: Extracted packet for processing {"connection_id":160889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e55"} 
[2026-08-23 16:47:40] local.INFO: GPS Element Parsed {"raw_longitude":763616576,"raw_latitude":97283808,"longitude_deg":76.3616576,"latitude_deg":9.7283808,"altitude":3,"angle":187,"satellites":40,"speed":43,"hex_longitude":"2d83dd40","hex_latitude":"05cc6ee0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595844096001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122819799624450048,"note":"Value kept but may cause issues"} 
[2026-08-23 16:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8943374778864939008,"note":"Value kept but may cause issues"} 
[2026-08-23 16:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787483776000,"timestamp_ms":1787483776000,"timestamp_seconds":1787483776,"priority":1,"record_length":96,"hex_timestamp":"000001a02e55e400"} 
[2026-08-23 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-08-23 16: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-08-23 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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 16:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 16:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595844096001,"66":13276,"63":206,"85":15104,"24":43,"16":122819799624450048,"45":-8943374778864939008},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-23 16:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595844096001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:47:40] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-23 16:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122819799624450048,"km_value":122819799624450.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8943374778864939008,"description":"Unknown IO ID 45"} 
[2026-08-23 16:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595844096001,"power":13276,"unknown_63":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-8943374778864939008}} 
[2026-08-23 16:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":160889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:47:40] local.INFO: GPS data processed {"connection_id":160889,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:47:40] local.INFO: Acknowledgment sent {"connection_id":160889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:47:51] local.INFO: TCP Data received {"connection_id":160645,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:47:51] local.INFO: Processing buffer {"connection_id":160645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:47:51] local.INFO: IMEI packet received {"connection_id":160645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":160645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:47:56] local.INFO: TCP Data received {"connection_id":160645,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:47:56] local.INFO: Processing buffer {"connection_id":160645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:47:56] local.INFO: IMEI packet received {"connection_id":160645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":160645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:47:57] local.INFO: TCP Data received {"connection_id":160645,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:47:57] local.INFO: Processing buffer {"connection_id":160645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:47:57] local.INFO: Packet analysis {"connection_id":160645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:47:57] local.INFO: Extracted packet for processing {"connection_id":160645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:47:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595751168001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787483704000,"timestamp_ms":1787483704000,"timestamp_seconds":1787483704,"priority":1,"record_length":96,"hex_timestamp":"000001a02e54cac0"} 
[2026-08-23 16:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 16:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595751168001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595751168001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:47:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:47:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595751168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":160645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:47:57] local.INFO: GPS data processed {"connection_id":160645,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:47:57] local.INFO: Acknowledgment sent {"connection_id":160645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:48:06] local.INFO: TCP Data received {"connection_id":161842,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e537ad0012d181f400721b228004d00dd28..."} 
[2026-08-23 16:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e537ad0012d181f400721b228004d00dd28..."} 
[2026-08-23 16:48:06] local.INFO: Processing buffer {"connection_id":161842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e537ad0012d181f400721b228004d00dd28..."} 
[2026-08-23 16:48:06] local.INFO: Packet analysis {"connection_id":161842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e53"} 
[2026-08-23 16:48:06] local.INFO: Extracted packet for processing {"connection_id":161842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e53"} 
[2026-08-23 16:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648808,"longitude_deg":75.6555584,"latitude_deg":11.9648808,"altitude":77,"angle":221,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595800832001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630691660201984,"note":"Value kept but may cause issues"} 
[2026-08-23 16:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562573312,"note":"Value kept but may cause issues"} 
[2026-08-23 16:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787483618000,"timestamp_ms":1787483618000,"timestamp_seconds":1787483618,"priority":1,"record_length":96,"hex_timestamp":"000001a02e537ad0"} 
[2026-08-23 16:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595800832001,"66":12406,"105":206,"83":41984,"24":0,"16":15630691660201984,"45":1738178380562573312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595800832001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:48:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630691660201984,"km_value":15630691660201.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562573312,"description":"Unknown IO ID 45"} 
[2026-08-23 16:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595800832001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562573312}} 
[2026-08-23 16:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":161842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:48:06] local.INFO: GPS data processed {"connection_id":161842,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:48:06] local.INFO: Acknowledgment sent {"connection_id":161842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:48:12] local.INFO: TCP Data received {"connection_id":160889,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e574b60012d83a18005caed98000300c027..."} 
[2026-08-23 16:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e574b60012d83a18005caed98000300c027..."} 
[2026-08-23 16:48:12] local.INFO: Processing buffer {"connection_id":160889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e574b60012d83a18005caed98000300c027..."} 
[2026-08-23 16:48:12] local.INFO: Packet analysis {"connection_id":160889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e57"} 
[2026-08-23 16:48:12] local.INFO: Extracted packet for processing {"connection_id":160889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e57"} 
[2026-08-23 16:48:12] local.INFO: GPS Element Parsed {"raw_longitude":763601280,"raw_latitude":97185176,"longitude_deg":76.360128,"latitude_deg":9.7185176,"altitude":3,"angle":192,"satellites":39,"speed":46,"hex_longitude":"2d83a180","hex_latitude":"05caed98","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595868160001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122824670117363712,"note":"Value kept but may cause issues"} 
[2026-08-23 16:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8959418852562620416,"note":"Value kept but may cause issues"} 
[2026-08-23 16:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787483868000,"timestamp_ms":1787483868000,"timestamp_seconds":1787483868,"priority":1,"record_length":96,"hex_timestamp":"000001a02e574b60"} 
[2026-08-23 16:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:48: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-08-23 16: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 16:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595868160001,"66":13243,"63":206,"85":15104,"24":46,"16":122824670117363712,"45":-8959418852562620416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-23 16:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595868160001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:48:12] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-23 16:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122824670117363712,"km_value":122824670117363.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8959418852562620416,"description":"Unknown IO ID 45"} 
[2026-08-23 16:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595868160001,"power":13243,"unknown_63":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-8959418852562620416}} 
[2026-08-23 16:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":160889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:48:12] local.INFO: GPS data processed {"connection_id":160889,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:48:12] local.INFO: Acknowledgment sent {"connection_id":160889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:48:29] local.INFO: TCP Data received {"connection_id":160645,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:48:29] local.INFO: Processing buffer {"connection_id":160645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:48:29] local.INFO: Packet analysis {"connection_id":160645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:48:29] local.INFO: Extracted packet for processing {"connection_id":160645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:48:29] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595751168001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787483704000,"timestamp_ms":1787483704000,"timestamp_seconds":1787483704,"priority":1,"record_length":96,"hex_timestamp":"000001a02e54cac0"} 
[2026-08-23 16:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 16:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595751168001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595751168001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:48:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:48:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595751168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":160645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:48:29] local.INFO: GPS data processed {"connection_id":160645,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:48:29] local.INFO: Acknowledgment sent {"connection_id":160645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:48:34] local.INFO: TCP Data received {"connection_id":161843,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:48:34] local.INFO: Processing buffer {"connection_id":161843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:48:34] local.INFO: IMEI packet received {"connection_id":161843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":161843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:48:34] local.INFO: TCP Data received {"connection_id":161844,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:48:34] local.INFO: Processing buffer {"connection_id":161844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:48:34] local.INFO: IMEI packet received {"connection_id":161844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":161844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:48:37] local.INFO: TCP Data received {"connection_id":161844,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:48:37] local.INFO: Processing buffer {"connection_id":161844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:48:37] local.INFO: IMEI packet received {"connection_id":161844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":161844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:48:39] local.INFO: TCP Data received {"connection_id":161844,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e576aa0012d8398c005caca20000400c328..."} 
[2026-08-23 16:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e576aa0012d8398c005caca20000400c328..."} 
[2026-08-23 16:48:39] local.INFO: Processing buffer {"connection_id":161844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e576aa0012d8398c005caca20000400c328..."} 
[2026-08-23 16:48:39] local.INFO: Packet analysis {"connection_id":161844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e57"} 
[2026-08-23 16:48:39] local.INFO: Extracted packet for processing {"connection_id":161844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e57"} 
[2026-08-23 16:48:39] local.INFO: GPS Element Parsed {"raw_longitude":763599040,"raw_latitude":97176096,"longitude_deg":76.359904,"latitude_deg":9.7176096,"altitude":4,"angle":195,"satellites":40,"speed":46,"hex_longitude":"2d8398c0","hex_latitude":"05caca20","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595870208001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122825125383897088,"note":"Value kept but may cause issues"} 
[2026-08-23 16:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8961741021122816000,"note":"Value kept but may cause issues"} 
[2026-08-23 16:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787483876000,"timestamp_ms":1787483876000,"timestamp_seconds":1787483876,"priority":1,"record_length":96,"hex_timestamp":"000001a02e576aa0"} 
[2026-08-23 16:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:48: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-08-23 16: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-23 16:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595870208001,"66":12961,"63":206,"85":15104,"24":46,"16":122825125383897088,"45":-8961741021122816000},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-23 16:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595870208001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:48:39] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-23 16:48:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122825125383897088,"km_value":122825125383897.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8961741021122816000,"description":"Unknown IO ID 45"} 
[2026-08-23 16:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595870208001,"power":12961,"unknown_63":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-8961741021122816000}} 
[2026-08-23 16:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":161844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:48:39] local.INFO: GPS data processed {"connection_id":161844,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:48:39] local.INFO: Acknowledgment sent {"connection_id":161844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:48:39] local.INFO: TCP Data received {"connection_id":161843,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:48:39] local.INFO: Processing buffer {"connection_id":161843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:48:39] local.INFO: IMEI packet received {"connection_id":161843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":161843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:48:40] local.INFO: TCP Data received {"connection_id":161843,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e53ccd8012d181e000721b020004a00db25..."} 
[2026-08-23 16:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e53ccd8012d181e000721b020004a00db25..."} 
[2026-08-23 16:48:40] local.INFO: Processing buffer {"connection_id":161843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e53ccd8012d181e000721b020004a00db25..."} 
[2026-08-23 16:48:40] local.INFO: Packet analysis {"connection_id":161843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e53"} 
[2026-08-23 16:48:40] local.INFO: Extracted packet for processing {"connection_id":161843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e53"} 
[2026-08-23 16:48:40] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648288,"longitude_deg":75.6555264,"latitude_deg":11.9648288,"altitude":74,"angle":219,"satellites":37,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721b020","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595806208001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630721724973056,"note":"Value kept but may cause issues"} 
[2026-08-23 16:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562573312,"note":"Value kept but may cause issues"} 
[2026-08-23 16:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787483639000,"timestamp_ms":1787483639000,"timestamp_seconds":1787483639,"priority":1,"record_length":96,"hex_timestamp":"000001a02e53ccd8"} 
[2026-08-23 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-08-23 16:48:40] 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-08-23 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 16:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 16:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595806208001,"66":12385,"105":206,"83":41984,"24":0,"16":15630721724973056,"45":1738178380562573312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595806208001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:48:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:48:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630721724973056,"km_value":15630721724973.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562573312,"description":"Unknown IO ID 45"} 
[2026-08-23 16:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595806208001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562573312}} 
[2026-08-23 16:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":161843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:48:40] local.INFO: GPS data processed {"connection_id":161843,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:48:40] local.INFO: Acknowledgment sent {"connection_id":161843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:48:41] local.INFO: TCP Data received {"connection_id":161843,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e541ee0012d181e000721b020004a00db26..."} 
[2026-08-23 16:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e541ee0012d181e000721b020004a00db26..."} 
[2026-08-23 16:48:41] local.INFO: Processing buffer {"connection_id":161843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e541ee0012d181e000721b020004a00db26..."} 
[2026-08-23 16:48:41] local.INFO: Packet analysis {"connection_id":161843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:48:41] local.INFO: Extracted packet for processing {"connection_id":161843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:48:41] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648288,"longitude_deg":75.6555264,"latitude_deg":11.9648288,"altitude":74,"angle":219,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721b020","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595811584001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630721724973056,"note":"Value kept but may cause issues"} 
[2026-08-23 16:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841551872,"note":"Value kept but may cause issues"} 
[2026-08-23 16:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787483660000,"timestamp_ms":1787483660000,"timestamp_seconds":1787483660,"priority":1,"record_length":96,"hex_timestamp":"000001a02e541ee0"} 
[2026-08-23 16:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 16:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595811584001,"66":12461,"105":206,"83":41984,"24":0,"16":15630721724973056,"45":1737826536841551872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595811584001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:48:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:48:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630721724973056,"km_value":15630721724973.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841551872,"description":"Unknown IO ID 45"} 
[2026-08-23 16:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595811584001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841551872}} 
[2026-08-23 16:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":161843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:48:41] local.INFO: GPS data processed {"connection_id":161843,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:48:41] local.INFO: Acknowledgment sent {"connection_id":161843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:48:45] local.INFO: TCP Data received {"connection_id":163243,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:48:45] local.INFO: Processing buffer {"connection_id":163243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:48:45] local.INFO: IMEI packet received {"connection_id":163243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":163243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:48:51] local.INFO: TCP Data received {"connection_id":163243,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:48:51] local.INFO: Processing buffer {"connection_id":163243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:48:51] local.INFO: IMEI packet received {"connection_id":163243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":163243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:48:51] local.INFO: TCP Data received {"connection_id":163243,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:48:51] local.INFO: Processing buffer {"connection_id":163243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:48:51] local.INFO: Packet analysis {"connection_id":163243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:48:51] local.INFO: Extracted packet for processing {"connection_id":163243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:48:51] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595751168001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787483704000,"timestamp_ms":1787483704000,"timestamp_seconds":1787483704,"priority":1,"record_length":96,"hex_timestamp":"000001a02e54cac0"} 
[2026-08-23 16:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16: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":194,"data_length":795,"current_offset":136} 
[2026-08-23 16:48:51] 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-08-23 16: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-08-23 16:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:48:51] 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-08-23 16:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595751168001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595751168001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:48:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:48:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595751168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":163243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:48:51] local.INFO: GPS data processed {"connection_id":163243,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:48:51] local.INFO: Acknowledgment sent {"connection_id":163243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:49:10] local.INFO: TCP Data received {"connection_id":161844,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5789e0012d838ec005caa750000500c327..."} 
[2026-08-23 16:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5789e0012d838ec005caa750000500c327..."} 
[2026-08-23 16:49:10] local.INFO: Processing buffer {"connection_id":161844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5789e0012d838ec005caa750000500c327..."} 
[2026-08-23 16:49:10] local.INFO: Packet analysis {"connection_id":161844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e57"} 
[2026-08-23 16:49:10] local.INFO: Extracted packet for processing {"connection_id":161844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e57"} 
[2026-08-23 16:49:10] local.INFO: GPS Element Parsed {"raw_longitude":763596480,"raw_latitude":97167184,"longitude_deg":76.359648,"latitude_deg":9.7167184,"altitude":5,"angle":195,"satellites":39,"speed":44,"hex_longitude":"2d838ec0","hex_latitude":"05caa750","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595872256001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122825572060495872,"note":"Value kept but may cause issues"} 
[2026-08-23 16:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8964203927171358720,"note":"Value kept but may cause issues"} 
[2026-08-23 16:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787483884000,"timestamp_ms":1787483884000,"timestamp_seconds":1787483884,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5789e0"} 
[2026-08-23 16:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 16:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595872256001,"66":12819,"63":206,"85":15104,"24":44,"16":122825572060495872,"45":-8964203927171358720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-23 16:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595872256001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:49:10] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-23 16:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122825572060495872,"km_value":122825572060495.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8964203927171358720,"description":"Unknown IO ID 45"} 
[2026-08-23 16:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595872256001,"power":12819,"unknown_63":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-8964203927171358720}} 
[2026-08-23 16:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":161844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:49:10] local.INFO: GPS data processed {"connection_id":161844,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:49:10] local.INFO: Acknowledgment sent {"connection_id":161844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:49:12] local.INFO: TCP Data received {"connection_id":161843,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5470e8012d181e000721b020004a00db28..."} 
[2026-08-23 16:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5470e8012d181e000721b020004a00db28..."} 
[2026-08-23 16:49:12] local.INFO: Processing buffer {"connection_id":161843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5470e8012d181e000721b020004a00db28..."} 
[2026-08-23 16:49:12] local.INFO: Packet analysis {"connection_id":161843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:49:12] local.INFO: Extracted packet for processing {"connection_id":161843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:49:12] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648288,"longitude_deg":75.6555264,"latitude_deg":11.9648288,"altitude":74,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721b020","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595816960001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630721724973056,"note":"Value kept but may cause issues"} 
[2026-08-23 16:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841551872,"note":"Value kept but may cause issues"} 
[2026-08-23 16:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787483681000,"timestamp_ms":1787483681000,"timestamp_seconds":1787483681,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5470e8"} 
[2026-08-23 16:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595816960001,"66":12461,"105":206,"83":41984,"24":0,"16":15630721724973056,"45":1737826536841551872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595816960001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:49:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:49:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630721724973056,"km_value":15630721724973.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841551872,"description":"Unknown IO ID 45"} 
[2026-08-23 16:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595816960001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841551872}} 
[2026-08-23 16:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":161843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:49:12] local.INFO: GPS data processed {"connection_id":161843,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:49:12] local.INFO: Acknowledgment sent {"connection_id":161843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:49:23] local.INFO: TCP Data received {"connection_id":163243,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:49:23] local.INFO: Processing buffer {"connection_id":163243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:49:23] local.INFO: Packet analysis {"connection_id":163243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:49:23] local.INFO: Extracted packet for processing {"connection_id":163243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:49:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595751168001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787483704000,"timestamp_ms":1787483704000,"timestamp_seconds":1787483704,"priority":1,"record_length":96,"hex_timestamp":"000001a02e54cac0"} 
[2026-08-23 16:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 16:49:23] 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-08-23 16:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:49:23] 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-08-23 16:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595751168001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595751168001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:49:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:49:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595751168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":163243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:49:23] local.INFO: GPS data processed {"connection_id":163243,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:49:23] local.INFO: Acknowledgment sent {"connection_id":163243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:49:29] local.INFO: TCP Data received {"connection_id":160646,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:49:29] local.INFO: Processing buffer {"connection_id":160646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:49:29] local.INFO: IMEI packet received {"connection_id":160646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":160646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:49:34] local.INFO: TCP Data received {"connection_id":160646,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:49:34] local.INFO: Processing buffer {"connection_id":160646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:49:34] local.INFO: IMEI packet received {"connection_id":160646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":160646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:49:34] local.INFO: TCP Data received {"connection_id":161845,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:49:34] local.INFO: Processing buffer {"connection_id":161845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:49:34] local.INFO: IMEI packet received {"connection_id":161845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":161845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:49:35] local.INFO: TCP Data received {"connection_id":160646,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e54c2f0012d181e000721b020004a00db28..."} 
[2026-08-23 16:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e54c2f0012d181e000721b020004a00db28..."} 
[2026-08-23 16:49:35] local.INFO: Processing buffer {"connection_id":160646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e54c2f0012d181e000721b020004a00db28..."} 
[2026-08-23 16:49:35] local.INFO: Packet analysis {"connection_id":160646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:49:35] local.INFO: Extracted packet for processing {"connection_id":160646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:49:35] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648288,"longitude_deg":75.6555264,"latitude_deg":11.9648288,"altitude":74,"angle":219,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721b020","is_valid_coordinates":true} 
[2026-08-23 16:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595822336001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630721724973056,"note":"Value kept but may cause issues"} 
[2026-08-23 16:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841551872,"note":"Value kept but may cause issues"} 
[2026-08-23 16:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787483702000,"timestamp_ms":1787483702000,"timestamp_seconds":1787483702,"priority":1,"record_length":96,"hex_timestamp":"000001a02e54c2f0"} 
[2026-08-23 16:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595822336001,"66":12428,"105":206,"83":41984,"24":0,"16":15630721724973056,"45":1737826536841551872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595822336001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:49:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:49:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630721724973056,"km_value":15630721724973.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841551872,"description":"Unknown IO ID 45"} 
[2026-08-23 16:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595822336001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841551872}} 
[2026-08-23 16:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":160646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:49:35] local.INFO: GPS data processed {"connection_id":160646,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:49:35] local.INFO: Acknowledgment sent {"connection_id":160646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:49:38] local.INFO: TCP Data received {"connection_id":161845,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:49:38] local.INFO: Processing buffer {"connection_id":161845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:49:38] local.INFO: IMEI packet received {"connection_id":161845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":161845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:49:39] local.INFO: TCP Data received {"connection_id":161845,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e58aed8012d833bc005c96818000500bd28..."} 
[2026-08-23 16:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e58aed8012d833bc005c96818000500bd28..."} 
[2026-08-23 16:49:39] local.INFO: Processing buffer {"connection_id":161845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e58aed8012d833bc005c96818000500bd28..."} 
[2026-08-23 16:49:39] local.INFO: Packet analysis {"connection_id":161845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e58"} 
[2026-08-23 16:49:39] local.INFO: Extracted packet for processing {"connection_id":161845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e58"} 
[2026-08-23 16:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763575232,"raw_latitude":97085464,"longitude_deg":76.3575232,"latitude_deg":9.7085464,"altitude":5,"angle":189,"satellites":40,"speed":48,"hex_longitude":"2d833bc0","hex_latitude":"05c96818","is_valid_coordinates":true} 
[2026-08-23 16:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595891456001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122829742473740288,"note":"Value kept but may cause issues"} 
[2026-08-23 16:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8988692250165856256,"note":"Value kept but may cause issues"} 
[2026-08-23 16:49:39] 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-08-23 16:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787483959000,"timestamp_ms":1787483959000,"timestamp_seconds":1787483959,"priority":1,"record_length":96,"hex_timestamp":"000001a02e58aed8"} 
[2026-08-23 16:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:49: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-08-23 16:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 16:49:39] 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-08-23 16:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595891456001,"66":12950,"157":206,"85":15104,"24":48,"16":122829742473740288,"45":-8988692250165856256},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-23 16:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595891456001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:49:39] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-23 16:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122829742473740288,"km_value":122829742473740.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8988692250165856256,"description":"Unknown IO ID 45"} 
[2026-08-23 16:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595891456001,"power":12950,"unknown_157":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-8988692250165856256}} 
[2026-08-23 16:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":161845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:49:39] local.INFO: GPS data processed {"connection_id":161845,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:49:39] local.INFO: Acknowledgment sent {"connection_id":161845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:49:45] local.INFO: TCP Data received {"connection_id":160647,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:49:45] local.INFO: Processing buffer {"connection_id":160647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:49:45] local.INFO: IMEI packet received {"connection_id":160647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":160647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:49:51] local.INFO: TCP Data received {"connection_id":160647,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:49:51] local.INFO: Processing buffer {"connection_id":160647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:49:51] local.INFO: IMEI packet received {"connection_id":160647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":160647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:49:52] local.INFO: TCP Data received {"connection_id":160647,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:49:52] local.INFO: Processing buffer {"connection_id":160647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:49:52] local.INFO: Packet analysis {"connection_id":160647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:49:52] local.INFO: Extracted packet for processing {"connection_id":160647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:49:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595751168001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787483704000,"timestamp_ms":1787483704000,"timestamp_seconds":1787483704,"priority":1,"record_length":96,"hex_timestamp":"000001a02e54cac0"} 
[2026-08-23 16:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 16:49:52] 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-08-23 16:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:49:52] 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-08-23 16:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595751168001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595751168001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:49:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:49:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595751168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":160647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:49:52] local.INFO: GPS data processed {"connection_id":160647,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:49:52] local.INFO: Acknowledgment sent {"connection_id":160647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:50:06] local.INFO: TCP Data received {"connection_id":160646,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e582238012d181dc00721ade8004e00cd29..."} 
[2026-08-23 16:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e582238012d181dc00721ade8004e00cd29..."} 
[2026-08-23 16:50:06] local.INFO: Processing buffer {"connection_id":160646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e582238012d181dc00721ade8004e00cd29..."} 
[2026-08-23 16:50:06] local.INFO: Packet analysis {"connection_id":160646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e58"} 
[2026-08-23 16:50:06] local.INFO: Extracted packet for processing {"connection_id":160646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e58"} 
[2026-08-23 16:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647720,"longitude_deg":75.65552,"latitude_deg":11.964772,"altitude":78,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ade8","is_valid_coordinates":true} 
[2026-08-23 16:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595878912001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630751789744128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097228800,"note":"Value kept but may cause issues"} 
[2026-08-23 16:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787483923000,"timestamp_ms":1787483923000,"timestamp_seconds":1787483923,"priority":1,"record_length":96,"hex_timestamp":"000001a02e582238"} 
[2026-08-23 16:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 16:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595878912001,"66":12461,"105":206,"83":41984,"24":0,"16":15630751789744128,"45":1737756168097228800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595878912001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:50:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630751789744128,"km_value":15630751789744.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097228800,"description":"Unknown IO ID 45"} 
[2026-08-23 16:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595878912001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097228800}} 
[2026-08-23 16:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":160646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:50:06] local.INFO: GPS data processed {"connection_id":160646,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:50:06] local.INFO: Acknowledgment sent {"connection_id":160646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:50:10] local.INFO: TCP Data received {"connection_id":161845,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e58ce18012d83360005c94500000800bc28..."} 
[2026-08-23 16:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e58ce18012d83360005c94500000800bc28..."} 
[2026-08-23 16:50:10] local.INFO: Processing buffer {"connection_id":161845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e58ce18012d83360005c94500000800bc28..."} 
[2026-08-23 16:50:10] local.INFO: Packet analysis {"connection_id":161845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e58"} 
[2026-08-23 16:50:10] local.INFO: Extracted packet for processing {"connection_id":161845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e58"} 
[2026-08-23 16:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763573760,"raw_latitude":97076480,"longitude_deg":76.357376,"latitude_deg":9.707648,"altitude":8,"angle":188,"satellites":40,"speed":40,"hex_longitude":"2d833600","hex_latitude":"05c94500","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595893504001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122830180560404480,"note":"Value kept but may cause issues"} 
[2026-08-23 16:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8990381100028651520,"note":"Value kept but may cause issues"} 
[2026-08-23 16:50:10] 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-08-23 16:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787483967000,"timestamp_ms":1787483967000,"timestamp_seconds":1787483967,"priority":1,"record_length":96,"hex_timestamp":"000001a02e58ce18"} 
[2026-08-23 16:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:50: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-08-23 16:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 16:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595893504001,"66":12939,"157":206,"85":15104,"24":40,"16":122830180560404480,"45":-8990381100028651520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-23 16:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595893504001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:50:10] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-23 16:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122830180560404480,"km_value":122830180560404.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8990381100028651520,"description":"Unknown IO ID 45"} 
[2026-08-23 16:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595893504001,"power":12939,"unknown_157":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-8990381100028651520}} 
[2026-08-23 16:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":161845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:50:11] local.INFO: GPS data processed {"connection_id":161845,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:50:11] local.INFO: Acknowledgment sent {"connection_id":161845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:50:24] local.INFO: TCP Data received {"connection_id":160647,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:50:24] local.INFO: Processing buffer {"connection_id":160647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e54cac0012d34c50006aa4098000c008520..."} 
[2026-08-23 16:50:24] local.INFO: Packet analysis {"connection_id":160647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:50:24] local.INFO: Extracted packet for processing {"connection_id":160647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e54"} 
[2026-08-23 16:50:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595751168001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787483704000,"timestamp_ms":1787483704000,"timestamp_seconds":1787483704,"priority":1,"record_length":96,"hex_timestamp":"000001a02e54cac0"} 
[2026-08-23 16:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 16:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:50:24] 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-08-23 16:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595751168001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595751168001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:50:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:50:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595751168001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":160647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:50:24] local.INFO: GPS data processed {"connection_id":160647,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:50:24] local.INFO: Acknowledgment sent {"connection_id":160647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:50:29] local.INFO: TCP Data received {"connection_id":160890,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:50:29] local.INFO: Processing buffer {"connection_id":160890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:50:29] local.INFO: IMEI packet received {"connection_id":160890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":160890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:50:34] local.INFO: TCP Data received {"connection_id":160891,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:50:34] local.INFO: Processing buffer {"connection_id":160891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:50:34] local.INFO: IMEI packet received {"connection_id":160891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":160891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:50:34] local.INFO: TCP Data received {"connection_id":160890,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:50:34] local.INFO: Processing buffer {"connection_id":160890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:50:34] local.INFO: IMEI packet received {"connection_id":160890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":160890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:50:35] local.INFO: TCP Data received {"connection_id":160890,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e587440012d181dc00721ade8004e00cd28..."} 
[2026-08-23 16:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e587440012d181dc00721ade8004e00cd28..."} 
[2026-08-23 16:50:35] local.INFO: Processing buffer {"connection_id":160890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e587440012d181dc00721ade8004e00cd28..."} 
[2026-08-23 16:50:35] local.INFO: Packet analysis {"connection_id":160890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e58"} 
[2026-08-23 16:50:35] local.INFO: Extracted packet for processing {"connection_id":160890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e58"} 
[2026-08-23 16:50:35] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647720,"longitude_deg":75.65552,"latitude_deg":11.964772,"altitude":78,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ade8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595884288001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630751789744128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097228800,"note":"Value kept but may cause issues"} 
[2026-08-23 16:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787483944000,"timestamp_ms":1787483944000,"timestamp_seconds":1787483944,"priority":1,"record_length":96,"hex_timestamp":"000001a02e587440"} 
[2026-08-23 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-08-23 16:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 16:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595884288001,"66":12439,"105":206,"83":41984,"24":0,"16":15630751789744128,"45":1737756168097228800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595884288001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:50:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:50:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630751789744128,"km_value":15630751789744.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097228800,"description":"Unknown IO ID 45"} 
[2026-08-23 16:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595884288001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097228800}} 
[2026-08-23 16:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":160890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:50:35] local.INFO: GPS data processed {"connection_id":160890,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:50:35] local.INFO: Acknowledgment sent {"connection_id":160890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:50:39] local.INFO: TCP Data received {"connection_id":160891,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:50:39] local.INFO: Processing buffer {"connection_id":160891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:50:39] local.INFO: IMEI packet received {"connection_id":160891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":160891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:50:40] local.INFO: TCP Data received {"connection_id":160891,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e58f528012d8330c005c921e8000800bc28..."} 
[2026-08-23 16:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e58f528012d8330c005c921e8000800bc28..."} 
[2026-08-23 16:50:40] local.INFO: Processing buffer {"connection_id":160891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e58f528012d8330c005c921e8000800bc28..."} 
[2026-08-23 16:50:40] local.INFO: Packet analysis {"connection_id":160891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e58"} 
[2026-08-23 16:50:40] local.INFO: Extracted packet for processing {"connection_id":160891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e58"} 
[2026-08-23 16:50:40] local.INFO: GPS Element Parsed {"raw_longitude":763572416,"raw_latitude":97067496,"longitude_deg":76.3572416,"latitude_deg":9.7067496,"altitude":8,"angle":188,"satellites":40,"speed":32,"hex_longitude":"2d8330c0","hex_latitude":"05c921e8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595895552001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122830622942035968,"note":"Value kept but may cause issues"} 
[2026-08-23 16:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991999581147037696,"note":"Value kept but may cause issues"} 
[2026-08-23 16:50: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-08-23 16:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787483977000,"timestamp_ms":1787483977000,"timestamp_seconds":1787483977,"priority":1,"record_length":96,"hex_timestamp":"000001a02e58f528"} 
[2026-08-23 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-08-23 16:50: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-08-23 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-23 16:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 16:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595895552001,"66":12765,"157":206,"85":15104,"24":32,"16":122830622942035968,"45":-8991999581147037696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-23 16:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595895552001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:50:40] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-23 16:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122830622942035968,"km_value":122830622942035.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991999581147037696,"description":"Unknown IO ID 45"} 
[2026-08-23 16:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595895552001,"power":12765,"unknown_157":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-8991999581147037696}} 
[2026-08-23 16:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":160891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:50:40] local.INFO: GPS data processed {"connection_id":160891,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:50:40] local.INFO: Acknowledgment sent {"connection_id":160891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:50:45] local.INFO: TCP Data received {"connection_id":161846,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:50:45] local.INFO: Processing buffer {"connection_id":161846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:50:45] local.INFO: IMEI packet received {"connection_id":161846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":161846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:50:51] local.INFO: TCP Data received {"connection_id":161846,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:50:51] local.INFO: Processing buffer {"connection_id":161846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:50:51] local.INFO: IMEI packet received {"connection_id":161846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":161846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:50:51] local.INFO: TCP Data received {"connection_id":161846,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:50:51] local.INFO: Processing buffer {"connection_id":161846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:50:51] local.INFO: Packet analysis {"connection_id":161846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:50:51] local.INFO: Extracted packet for processing {"connection_id":161846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:50:51] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595828224001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787484005000,"timestamp_ms":1787484005000,"timestamp_seconds":1787484005,"priority":1,"record_length":96,"hex_timestamp":"000001a02e596288"} 
[2026-08-23 16:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:50:51] 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-08-23 16:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595828224001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595828224001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:50:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:50:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595828224001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":161846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:50:51] local.INFO: GPS data processed {"connection_id":161846,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:50:51] local.INFO: Acknowledgment sent {"connection_id":161846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:51:06] local.INFO: TCP Data received {"connection_id":160890,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e58c648012d181dc00721ade8004e00cd28..."} 
[2026-08-23 16:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e58c648012d181dc00721ade8004e00cd28..."} 
[2026-08-23 16:51:06] local.INFO: Processing buffer {"connection_id":160890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e58c648012d181dc00721ade8004e00cd28..."} 
[2026-08-23 16:51:06] local.INFO: Packet analysis {"connection_id":160890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e58"} 
[2026-08-23 16:51:06] local.INFO: Extracted packet for processing {"connection_id":160890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e58"} 
[2026-08-23 16:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647720,"longitude_deg":75.65552,"latitude_deg":11.964772,"altitude":78,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ade8","is_valid_coordinates":true} 
[2026-08-23 16:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595889664001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630751789744128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097228800,"note":"Value kept but may cause issues"} 
[2026-08-23 16:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787483965000,"timestamp_ms":1787483965000,"timestamp_seconds":1787483965,"priority":1,"record_length":96,"hex_timestamp":"000001a02e58c648"} 
[2026-08-23 16:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595889664001,"66":12461,"105":206,"83":41984,"24":0,"16":15630751789744128,"45":1737756168097228800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595889664001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:51:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630751789744128,"km_value":15630751789744.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097228800,"description":"Unknown IO ID 45"} 
[2026-08-23 16:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595889664001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097228800}} 
[2026-08-23 16:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":160890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:51:06] local.INFO: GPS data processed {"connection_id":160890,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:51:06] local.INFO: Acknowledgment sent {"connection_id":160890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:51:11] local.INFO: TCP Data received {"connection_id":160891,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e592020012d832b4005c8fd70000700bb28..."} 
[2026-08-23 16:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e592020012d832b4005c8fd70000700bb28..."} 
[2026-08-23 16:51:11] local.INFO: Processing buffer {"connection_id":160891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e592020012d832b4005c8fd70000700bb28..."} 
[2026-08-23 16:51:11] local.INFO: Packet analysis {"connection_id":160891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:51:11] local.INFO: Extracted packet for processing {"connection_id":160891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:51:11] local.INFO: GPS Element Parsed {"raw_longitude":763571008,"raw_latitude":97058160,"longitude_deg":76.3571008,"latitude_deg":9.705816,"altitude":7,"angle":187,"satellites":40,"speed":37,"hex_longitude":"2d832b40","hex_latitude":"05c8fd70","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595898112001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122831082503536640,"note":"Value kept but may cause issues"} 
[2026-08-23 16:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8993477324777068544,"note":"Value kept but may cause issues"} 
[2026-08-23 16:51:11] 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-08-23 16:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787483988000,"timestamp_ms":1787483988000,"timestamp_seconds":1787483988,"priority":1,"record_length":96,"hex_timestamp":"000001a02e592020"} 
[2026-08-23 16:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:51: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-08-23 16: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-23 16:51:11] 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-08-23 16: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-08-23 16:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595898112001,"66":12982,"157":206,"85":15104,"24":37,"16":122831082503536640,"45":-8993477324777068544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-23 16:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595898112001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:51:11] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-23 16:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 16:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122831082503536640,"km_value":122831082503536.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8993477324777068544,"description":"Unknown IO ID 45"} 
[2026-08-23 16:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595898112001,"power":12982,"unknown_157":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-8993477324777068544}} 
[2026-08-23 16:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":160891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:51:12] local.INFO: GPS data processed {"connection_id":160891,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:51:12] local.INFO: Acknowledgment sent {"connection_id":160891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:51:23] local.INFO: TCP Data received {"connection_id":161846,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:51:23] local.INFO: Processing buffer {"connection_id":161846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:51:23] local.INFO: Packet analysis {"connection_id":161846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:51:23] local.INFO: Extracted packet for processing {"connection_id":161846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:51:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595828224001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787484005000,"timestamp_ms":1787484005000,"timestamp_seconds":1787484005,"priority":1,"record_length":96,"hex_timestamp":"000001a02e596288"} 
[2026-08-23 16:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:51: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-08-23 16:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:51:23] 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-08-23 16:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595828224001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595828224001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:51:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:51:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595828224001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":161846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:51:23] local.INFO: GPS data processed {"connection_id":161846,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:51:23] local.INFO: Acknowledgment sent {"connection_id":161846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:51:27] local.INFO: TCP Data received {"connection_id":160648,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:51:27] local.INFO: Processing buffer {"connection_id":160648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:51:27] local.INFO: IMEI packet received {"connection_id":160648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":160648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:51:29] local.INFO: TCP Data received {"connection_id":160648,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:51:29] local.INFO: Processing buffer {"connection_id":160648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:51:29] local.INFO: IMEI packet received {"connection_id":160648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":160648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:51:34] local.INFO: TCP Data received {"connection_id":160892,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:51:34] local.INFO: Processing buffer {"connection_id":160892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:51:34] local.INFO: IMEI packet received {"connection_id":160892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":160892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:51:34] local.INFO: TCP Data received {"connection_id":160648,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:51:34] local.INFO: Processing buffer {"connection_id":160648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:51:34] local.INFO: IMEI packet received {"connection_id":160648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":160648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:51:35] local.INFO: TCP Data received {"connection_id":160648,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e591850012d181dc00721ade8004e00cd27..."} 
[2026-08-23 16:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e591850012d181dc00721ade8004e00cd27..."} 
[2026-08-23 16:51:35] local.INFO: Processing buffer {"connection_id":160648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e591850012d181dc00721ade8004e00cd27..."} 
[2026-08-23 16:51:35] local.INFO: Packet analysis {"connection_id":160648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:51:35] local.INFO: Extracted packet for processing {"connection_id":160648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:51:35] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647720,"longitude_deg":75.65552,"latitude_deg":11.964772,"altitude":78,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ade8","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595895040001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630751789744128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097228800,"note":"Value kept but may cause issues"} 
[2026-08-23 16:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787483986000,"timestamp_ms":1787483986000,"timestamp_seconds":1787483986,"priority":1,"record_length":96,"hex_timestamp":"000001a02e591850"} 
[2026-08-23 16:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 16:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595895040001,"66":12428,"105":206,"83":41984,"24":0,"16":15630751789744128,"45":1737756168097228800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595895040001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:51:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:51:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630751789744128,"km_value":15630751789744.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097228800,"description":"Unknown IO ID 45"} 
[2026-08-23 16:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595895040001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097228800}} 
[2026-08-23 16:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":160648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:51:35] local.INFO: GPS data processed {"connection_id":160648,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:51:35] local.INFO: Acknowledgment sent {"connection_id":160648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:51:39] local.INFO: TCP Data received {"connection_id":160892,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:51:39] local.INFO: Processing buffer {"connection_id":160892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:51:39] local.INFO: IMEI packet received {"connection_id":160892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":160892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:51:40] local.INFO: TCP Data received {"connection_id":160892,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5aa2d8012d82f70005c79668000000a827..."} 
[2026-08-23 16:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5aa2d8012d82f70005c79668000000a827..."} 
[2026-08-23 16:51:40] local.INFO: Processing buffer {"connection_id":160892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5aa2d8012d82f70005c79668000000a827..."} 
[2026-08-23 16:51:40] local.INFO: Packet analysis {"connection_id":160892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5a"} 
[2026-08-23 16:51:40] local.INFO: Extracted packet for processing {"connection_id":160892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5a"} 
[2026-08-23 16:51:40] local.INFO: GPS Element Parsed {"raw_longitude":763557632,"raw_latitude":96966248,"longitude_deg":76.3557632,"latitude_deg":9.6966248,"altitude":0,"angle":168,"satellites":39,"speed":23,"hex_longitude":"2d82f700","hex_latitude":"05c79668","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595924480001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122835613694033920,"note":"Value kept but may cause issues"} 
[2026-08-23 16:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9009802873450291200,"note":"Value kept but may cause issues"} 
[2026-08-23 16:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787484087000,"timestamp_ms":1787484087000,"timestamp_seconds":1787484087,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5aa2d8"} 
[2026-08-23 16:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 16:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595924480001,"66":12645,"151":206,"85":12288,"24":23,"16":122835613694033920,"45":-9009802873450291200},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-08-23 16:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595924480001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:51:40] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-23 16:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 16:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122835613694033920,"km_value":122835613694033.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9009802873450291200,"description":"Unknown IO ID 45"} 
[2026-08-23 16:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595924480001,"power":12645,"unknown_151":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":-9009802873450291200}} 
[2026-08-23 16:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":160892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:51:40] local.INFO: GPS data processed {"connection_id":160892,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:51:40] local.INFO: Acknowledgment sent {"connection_id":160892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:51:46] local.INFO: TCP Data received {"connection_id":160649,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:51:46] local.INFO: Processing buffer {"connection_id":160649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:51:46] local.INFO: IMEI packet received {"connection_id":160649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":160649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:51:51] local.INFO: TCP Data received {"connection_id":160649,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:51:51] local.INFO: Processing buffer {"connection_id":160649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:51:51] local.INFO: IMEI packet received {"connection_id":160649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":160649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:51:51] local.INFO: TCP Data received {"connection_id":160649,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:51:51] local.INFO: Processing buffer {"connection_id":160649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:51:51] local.INFO: Packet analysis {"connection_id":160649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:51:51] local.INFO: Extracted packet for processing {"connection_id":160649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:51:51] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595828224001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787484005000,"timestamp_ms":1787484005000,"timestamp_seconds":1787484005,"priority":1,"record_length":96,"hex_timestamp":"000001a02e596288"} 
[2026-08-23 16:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595828224001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595828224001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:51:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:51:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595828224001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":160649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:51:51] local.INFO: GPS data processed {"connection_id":160649,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:51:51] local.INFO: Acknowledgment sent {"connection_id":160649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:52:06] local.INFO: TCP Data received {"connection_id":160648,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e596a58012d181dc00721ade8004e00cd29..."} 
[2026-08-23 16:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e596a58012d181dc00721ade8004e00cd29..."} 
[2026-08-23 16:52:06] local.INFO: Processing buffer {"connection_id":160648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e596a58012d181dc00721ade8004e00cd29..."} 
[2026-08-23 16:52:06] local.INFO: Packet analysis {"connection_id":160648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:52:06] local.INFO: Extracted packet for processing {"connection_id":160648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647720,"longitude_deg":75.65552,"latitude_deg":11.964772,"altitude":78,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ade8","is_valid_coordinates":true} 
[2026-08-23 16:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595900416001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630751789744128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097228800,"note":"Value kept but may cause issues"} 
[2026-08-23 16:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787484007000,"timestamp_ms":1787484007000,"timestamp_seconds":1787484007,"priority":1,"record_length":96,"hex_timestamp":"000001a02e596a58"} 
[2026-08-23 16:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 16:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595900416001,"66":12428,"105":206,"83":41984,"24":0,"16":15630751789744128,"45":1737756168097228800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595900416001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:52:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630751789744128,"km_value":15630751789744.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097228800,"description":"Unknown IO ID 45"} 
[2026-08-23 16:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595900416001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097228800}} 
[2026-08-23 16:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":160648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:52:06] local.INFO: GPS data processed {"connection_id":160648,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:52:06] local.INFO: Acknowledgment sent {"connection_id":160648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:52:11] local.INFO: TCP Data received {"connection_id":160892,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5aa6c0012d82f80005c795400000009827..."} 
[2026-08-23 16:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5aa6c0012d82f80005c795400000009827..."} 
[2026-08-23 16:52:11] local.INFO: Processing buffer {"connection_id":160892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5aa6c0012d82f80005c795400000009827..."} 
[2026-08-23 16:52:11] local.INFO: Packet analysis {"connection_id":160892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5a"} 
[2026-08-23 16:52:11] local.INFO: Extracted packet for processing {"connection_id":160892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5a"} 
[2026-08-23 16:52:11] local.INFO: GPS Element Parsed {"raw_longitude":763557888,"raw_latitude":96965952,"longitude_deg":76.3557888,"latitude_deg":9.6965952,"altitude":0,"angle":152,"satellites":39,"speed":17,"hex_longitude":"2d82f800","hex_latitude":"05c79540","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595926272001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122835630873903104,"note":"Value kept but may cause issues"} 
[2026-08-23 16:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9009732504708028416,"note":"Value kept but may cause issues"} 
[2026-08-23 16:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787484088000,"timestamp_ms":1787484088000,"timestamp_seconds":1787484088,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5aa6c0"} 
[2026-08-23 16:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:52: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-08-23 16: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-23 16:52:11] 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-08-23 16: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-08-23 16:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595926272001,"66":12645,"151":206,"85":12288,"24":17,"16":122835630873903104,"45":-9009732504708028416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-08-23 16:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595926272001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:52:11] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-23 16:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 16:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122835630873903104,"km_value":122835630873903.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9009732504708028416,"description":"Unknown IO ID 45"} 
[2026-08-23 16:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595926272001,"power":12645,"unknown_151":206,"unknown_85":12288,"ignition":17,"odometer":null,"unknown_45":-9009732504708028416}} 
[2026-08-23 16:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":160892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:52:11] local.INFO: GPS data processed {"connection_id":160892,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:52:11] local.INFO: Acknowledgment sent {"connection_id":160892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:52:23] local.INFO: TCP Data received {"connection_id":160649,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:52:23] local.INFO: Processing buffer {"connection_id":160649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:52:23] local.INFO: Packet analysis {"connection_id":160649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:52:23] local.INFO: Extracted packet for processing {"connection_id":160649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:52:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595828224001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787484005000,"timestamp_ms":1787484005000,"timestamp_seconds":1787484005,"priority":1,"record_length":96,"hex_timestamp":"000001a02e596288"} 
[2026-08-23 16:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:52: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-08-23 16:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595828224001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595828224001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:52:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:52:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595828224001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":160649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:52:23] local.INFO: GPS data processed {"connection_id":160649,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:52:23] local.INFO: Acknowledgment sent {"connection_id":160649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:52:29] local.INFO: TCP Data received {"connection_id":163244,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:52:29] local.INFO: Processing buffer {"connection_id":163244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:52:29] local.INFO: IMEI packet received {"connection_id":163244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":163244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:52:30] local.INFO: TCP Data received {"connection_id":163244,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:52:30] local.INFO: Processing buffer {"connection_id":163244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:52:30] local.INFO: IMEI packet received {"connection_id":163244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":163244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:52:34] local.INFO: TCP Data received {"connection_id":163244,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:52:34] local.INFO: Processing buffer {"connection_id":163244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:52:34] local.INFO: IMEI packet received {"connection_id":163244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":163244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:52:35] local.INFO: TCP Data received {"connection_id":163244,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e59bc60012d181dc00721ade8004e00cd29..."} 
[2026-08-23 16:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e59bc60012d181dc00721ade8004e00cd29..."} 
[2026-08-23 16:52:35] local.INFO: Processing buffer {"connection_id":163244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e59bc60012d181dc00721ade8004e00cd29..."} 
[2026-08-23 16:52:35] local.INFO: Packet analysis {"connection_id":163244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:52:35] local.INFO: Extracted packet for processing {"connection_id":163244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:52:35] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647720,"longitude_deg":75.65552,"latitude_deg":11.964772,"altitude":78,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ade8","is_valid_coordinates":true} 
[2026-08-23 16:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595905792001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630751789744128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097228800,"note":"Value kept but may cause issues"} 
[2026-08-23 16:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787484028000,"timestamp_ms":1787484028000,"timestamp_seconds":1787484028,"priority":1,"record_length":96,"hex_timestamp":"000001a02e59bc60"} 
[2026-08-23 16:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 16:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595905792001,"66":12428,"105":206,"83":41984,"24":0,"16":15630751789744128,"45":1737756168097228800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595905792001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:52:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:52:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630751789744128,"km_value":15630751789744.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097228800,"description":"Unknown IO ID 45"} 
[2026-08-23 16:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595905792001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097228800}} 
[2026-08-23 16:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":163244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:52:35] local.INFO: GPS data processed {"connection_id":163244,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:52:35] local.INFO: Acknowledgment sent {"connection_id":163244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:52:39] local.INFO: TCP Data received {"connection_id":160650,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:52:39] local.INFO: Processing buffer {"connection_id":160650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:52:39] local.INFO: IMEI packet received {"connection_id":160650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":160650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:52:43] local.INFO: TCP Data received {"connection_id":160650,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:52:43] local.INFO: Processing buffer {"connection_id":160650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:52:43] local.INFO: IMEI packet received {"connection_id":160650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":160650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:52:44] local.INFO: TCP Data received {"connection_id":160650,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5b6df8012d83a64005c78b50000700a528..."} 
[2026-08-23 16:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5b6df8012d83a64005c78b50000700a528..."} 
[2026-08-23 16:52:44] local.INFO: Processing buffer {"connection_id":160650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5b6df8012d83a64005c78b50000700a528..."} 
[2026-08-23 16:52:44] local.INFO: Packet analysis {"connection_id":160650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5b"} 
[2026-08-23 16:52:44] local.INFO: Extracted packet for processing {"connection_id":160650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5b"} 
[2026-08-23 16:52:44] local.INFO: GPS Element Parsed {"raw_longitude":763602496,"raw_latitude":96963408,"longitude_deg":76.3602496,"latitude_deg":9.6963408,"altitude":7,"angle":165,"satellites":40,"speed":26,"hex_longitude":"2d83a640","hex_latitude":"05c78b50","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595939328001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122837817012256768,"note":"Value kept but may cause issues"} 
[2026-08-23 16:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8960544752528400384,"note":"Value kept but may cause issues"} 
[2026-08-23 16:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787484139000,"timestamp_ms":1787484139000,"timestamp_seconds":1787484139,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5b6df8"} 
[2026-08-23 16:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:52: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-08-23 16: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 16:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595939328001,"66":12863,"151":206,"85":12288,"24":26,"16":122837817012256768,"45":-8960544752528400384},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-08-23 16:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595939328001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:52:44] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-23 16:52:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 16:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122837817012256768,"km_value":122837817012256.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8960544752528400384,"description":"Unknown IO ID 45"} 
[2026-08-23 16:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595939328001,"power":12863,"unknown_151":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":-8960544752528400384}} 
[2026-08-23 16:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":160650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:52:44] local.INFO: GPS data processed {"connection_id":160650,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:52:44] local.INFO: Acknowledgment sent {"connection_id":160650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:52:46] local.INFO: TCP Data received {"connection_id":161847,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:52:46] local.INFO: Processing buffer {"connection_id":161847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:52:46] local.INFO: IMEI packet received {"connection_id":161847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":161847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:52:51] local.INFO: TCP Data received {"connection_id":161847,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:52:51] local.INFO: Processing buffer {"connection_id":161847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:52:51] local.INFO: IMEI packet received {"connection_id":161847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":161847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:52:52] local.INFO: TCP Data received {"connection_id":161847,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:52:52] local.INFO: Processing buffer {"connection_id":161847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:52:52] local.INFO: Packet analysis {"connection_id":161847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:52:52] local.INFO: Extracted packet for processing {"connection_id":161847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595828224001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787484005000,"timestamp_ms":1787484005000,"timestamp_seconds":1787484005,"priority":1,"record_length":96,"hex_timestamp":"000001a02e596288"} 
[2026-08-23 16:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595828224001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595828224001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:52:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595828224001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":161847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:52:52] local.INFO: GPS data processed {"connection_id":161847,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:52:52] local.INFO: Acknowledgment sent {"connection_id":161847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:53:06] local.INFO: TCP Data received {"connection_id":163244,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5a0e68012d181dc00721ade8004e00cd29..."} 
[2026-08-23 16:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5a0e68012d181dc00721ade8004e00cd29..."} 
[2026-08-23 16:53:06] local.INFO: Processing buffer {"connection_id":163244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5a0e68012d181dc00721ade8004e00cd29..."} 
[2026-08-23 16:53:06] local.INFO: Packet analysis {"connection_id":163244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5a"} 
[2026-08-23 16:53:06] local.INFO: Extracted packet for processing {"connection_id":163244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5a"} 
[2026-08-23 16:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647720,"longitude_deg":75.65552,"latitude_deg":11.964772,"altitude":78,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ade8","is_valid_coordinates":true} 
[2026-08-23 16:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595911168001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630751789744128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097228800,"note":"Value kept but may cause issues"} 
[2026-08-23 16:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787484049000,"timestamp_ms":1787484049000,"timestamp_seconds":1787484049,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5a0e68"} 
[2026-08-23 16:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 16:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595911168001,"66":12385,"105":206,"83":41984,"24":0,"16":15630751789744128,"45":1737756168097228800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595911168001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:53:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630751789744128,"km_value":15630751789744.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097228800,"description":"Unknown IO ID 45"} 
[2026-08-23 16:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595911168001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097228800}} 
[2026-08-23 16:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":163244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:53:06] local.INFO: GPS data processed {"connection_id":163244,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:53:06] local.INFO: Acknowledgment sent {"connection_id":163244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:53:16] local.INFO: TCP Data received {"connection_id":160650,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5c2978012d83cf0005c745680006009f28..."} 
[2026-08-23 16:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5c2978012d83cf0005c745680006009f28..."} 
[2026-08-23 16:53:16] local.INFO: Processing buffer {"connection_id":160650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5c2978012d83cf0005c745680006009f28..."} 
[2026-08-23 16:53:16] local.INFO: Packet analysis {"connection_id":160650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5c"} 
[2026-08-23 16:53:16] local.INFO: Extracted packet for processing {"connection_id":160650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5c"} 
[2026-08-23 16:53:16] local.INFO: GPS Element Parsed {"raw_longitude":763612928,"raw_latitude":96945512,"longitude_deg":76.3612928,"latitude_deg":9.6945512,"altitude":6,"angle":159,"satellites":40,"speed":24,"hex_longitude":"2d83cf00","hex_latitude":"05c74568","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595951616001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122839118387347456,"note":"Value kept but may cause issues"} 
[2026-08-23 16:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8949215384720408576,"note":"Value kept but may cause issues"} 
[2026-08-23 16:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787484187000,"timestamp_ms":1787484187000,"timestamp_seconds":1787484187,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5c2978"} 
[2026-08-23 16:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16: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-08-23 16: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 16:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595951616001,"66":13276,"150":206,"85":12288,"24":24,"16":122839118387347456,"45":-8949215384720408576},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-23 16:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595951616001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:53:16] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-23 16:53:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 16:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122839118387347456,"km_value":122839118387347.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8949215384720408576,"description":"Unknown IO ID 45"} 
[2026-08-23 16:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595951616001,"power":13276,"unknown_150":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":-8949215384720408576}} 
[2026-08-23 16:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":160650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:53:16] local.INFO: GPS data processed {"connection_id":160650,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:53:16] local.INFO: Acknowledgment sent {"connection_id":160650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:53:24] local.INFO: TCP Data received {"connection_id":161847,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:53:24] local.INFO: Processing buffer {"connection_id":161847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:53:24] local.INFO: Packet analysis {"connection_id":161847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:53:24] local.INFO: Extracted packet for processing {"connection_id":161847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595828224001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787484005000,"timestamp_ms":1787484005000,"timestamp_seconds":1787484005,"priority":1,"record_length":96,"hex_timestamp":"000001a02e596288"} 
[2026-08-23 16:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595828224001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595828224001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:53:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595828224001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":161847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:53:24] local.INFO: GPS data processed {"connection_id":161847,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:53:24] local.INFO: Acknowledgment sent {"connection_id":161847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:53:29] local.INFO: TCP Data received {"connection_id":160651,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:53:29] local.INFO: Processing buffer {"connection_id":160651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:53:29] local.INFO: IMEI packet received {"connection_id":160651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":160651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:53:33] local.INFO: TCP Data received {"connection_id":160651,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:53:33] local.INFO: Processing buffer {"connection_id":160651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:53:33] local.INFO: IMEI packet received {"connection_id":160651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":160651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:53:34] local.INFO: TCP Data received {"connection_id":160651,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5a6070012d181dc00721ade8004e00cd29..."} 
[2026-08-23 16:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5a6070012d181dc00721ade8004e00cd29..."} 
[2026-08-23 16:53:34] local.INFO: Processing buffer {"connection_id":160651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5a6070012d181dc00721ade8004e00cd29..."} 
[2026-08-23 16:53:34] local.INFO: Packet analysis {"connection_id":160651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5a"} 
[2026-08-23 16:53:34] local.INFO: Extracted packet for processing {"connection_id":160651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5a"} 
[2026-08-23 16:53:34] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647720,"longitude_deg":75.65552,"latitude_deg":11.964772,"altitude":78,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ade8","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595916544001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630751789744128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097228800,"note":"Value kept but may cause issues"} 
[2026-08-23 16:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787484070000,"timestamp_ms":1787484070000,"timestamp_seconds":1787484070,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5a6070"} 
[2026-08-23 16:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 16:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595916544001,"66":12385,"105":206,"83":41984,"24":0,"16":15630751789744128,"45":1737756168097228800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595916544001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:53:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:53:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630751789744128,"km_value":15630751789744.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097228800,"description":"Unknown IO ID 45"} 
[2026-08-23 16:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595916544001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097228800}} 
[2026-08-23 16:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":160651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:53:34] local.INFO: GPS data processed {"connection_id":160651,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:53:34] local.INFO: Acknowledgment sent {"connection_id":160651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:53:34] local.INFO: TCP Data received {"connection_id":160652,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:53:34] local.INFO: Processing buffer {"connection_id":160652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:53:34] local.INFO: IMEI packet received {"connection_id":160652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":160652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:53:39] local.INFO: TCP Data received {"connection_id":160652,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:53:39] local.INFO: Processing buffer {"connection_id":160652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:53:39] local.INFO: IMEI packet received {"connection_id":160652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":160652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:53:40] local.INFO: TCP Data received {"connection_id":160652,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5c2d60012d83cf4005c742c0000700b228..."} 
[2026-08-23 16:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5c2d60012d83cf4005c742c0000700b228..."} 
[2026-08-23 16:53:40] local.INFO: Processing buffer {"connection_id":160652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5c2d60012d83cf4005c742c0000700b228..."} 
[2026-08-23 16:53:40] local.INFO: Packet analysis {"connection_id":160652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5c"} 
[2026-08-23 16:53:40] local.INFO: Extracted packet for processing {"connection_id":160652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5c"} 
[2026-08-23 16:53:40] local.INFO: GPS Element Parsed {"raw_longitude":763612992,"raw_latitude":96944832,"longitude_deg":76.3612992,"latitude_deg":9.6944832,"altitude":7,"angle":178,"satellites":40,"speed":27,"hex_longitude":"2d83cf40","hex_latitude":"05c742c0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595951872001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122839152747085824,"note":"Value kept but may cause issues"} 
[2026-08-23 16:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8948933909743835136,"note":"Value kept but may cause issues"} 
[2026-08-23 16:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787484188000,"timestamp_ms":1787484188000,"timestamp_seconds":1787484188,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5c2d60"} 
[2026-08-23 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-08-23 16:53: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-08-23 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 16:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 16:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595951872001,"66":13276,"150":206,"85":12288,"24":27,"16":122839152747085824,"45":-8948933909743835136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-23 16:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595951872001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:53:40] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-23 16:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 16:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122839152747085824,"km_value":122839152747085.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8948933909743835136,"description":"Unknown IO ID 45"} 
[2026-08-23 16:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595951872001,"power":13276,"unknown_150":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":-8948933909743835136}} 
[2026-08-23 16:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":160652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:53:40] local.INFO: GPS data processed {"connection_id":160652,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:53:40] local.INFO: Acknowledgment sent {"connection_id":160652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:53:45] local.INFO: TCP Data received {"connection_id":161848,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:53:45] local.INFO: Processing buffer {"connection_id":161848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:53:45] local.INFO: IMEI packet received {"connection_id":161848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":161848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:53:51] local.INFO: TCP Data received {"connection_id":161848,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:53:51] local.INFO: Processing buffer {"connection_id":161848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:53:51] local.INFO: IMEI packet received {"connection_id":161848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":161848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:53:52] local.INFO: TCP Data received {"connection_id":161848,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:53:52] local.INFO: Processing buffer {"connection_id":161848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:53:52] local.INFO: Packet analysis {"connection_id":161848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:53:52] local.INFO: Extracted packet for processing {"connection_id":161848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:53:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595828224001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787484005000,"timestamp_ms":1787484005000,"timestamp_seconds":1787484005,"priority":1,"record_length":96,"hex_timestamp":"000001a02e596288"} 
[2026-08-23 16:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:53:52] 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-08-23 16:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595828224001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595828224001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:53:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:53:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595828224001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":161848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:53:52] local.INFO: GPS data processed {"connection_id":161848,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:53:52] local.INFO: Acknowledgment sent {"connection_id":161848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:54:05] local.INFO: TCP Data received {"connection_id":160651,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5ab278012d181dc00721ade8004e00cd2a..."} 
[2026-08-23 16:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5ab278012d181dc00721ade8004e00cd2a..."} 
[2026-08-23 16:54:05] local.INFO: Processing buffer {"connection_id":160651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5ab278012d181dc00721ade8004e00cd2a..."} 
[2026-08-23 16:54:05] local.INFO: Packet analysis {"connection_id":160651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5a"} 
[2026-08-23 16:54:05] local.INFO: Extracted packet for processing {"connection_id":160651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5a"} 
[2026-08-23 16:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647720,"longitude_deg":75.65552,"latitude_deg":11.964772,"altitude":78,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ade8","is_valid_coordinates":true} 
[2026-08-23 16:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595921920001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630751789744128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097228800,"note":"Value kept but may cause issues"} 
[2026-08-23 16:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787484091000,"timestamp_ms":1787484091000,"timestamp_seconds":1787484091,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5ab278"} 
[2026-08-23 16:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 16:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595921920001,"66":12385,"105":206,"83":41984,"24":0,"16":15630751789744128,"45":1737756168097228800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595921920001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:54:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:54:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630751789744128,"km_value":15630751789744.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097228800,"description":"Unknown IO ID 45"} 
[2026-08-23 16:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595921920001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097228800}} 
[2026-08-23 16:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":160651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:54:05] local.INFO: GPS data processed {"connection_id":160651,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:54:05] local.INFO: Acknowledgment sent {"connection_id":160651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:54:12] local.INFO: TCP Data received {"connection_id":160652,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5c3918012d83ce0005c73998000700bd28..."} 
[2026-08-23 16:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5c3918012d83ce0005c73998000700bd28..."} 
[2026-08-23 16:54:12] local.INFO: Processing buffer {"connection_id":160652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5c3918012d83ce0005c73998000700bd28..."} 
[2026-08-23 16:54:12] local.INFO: Packet analysis {"connection_id":160652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5c"} 
[2026-08-23 16:54:12] local.INFO: Extracted packet for processing {"connection_id":160652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5c"} 
[2026-08-23 16:54:12] local.INFO: GPS Element Parsed {"raw_longitude":763612672,"raw_latitude":96942488,"longitude_deg":76.3612672,"latitude_deg":9.6942488,"altitude":7,"angle":189,"satellites":40,"speed":34,"hex_longitude":"2d83ce00","hex_latitude":"05c73998","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595952128001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122839268711202816,"note":"Value kept but may cause issues"} 
[2026-08-23 16:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8948863540999831552,"note":"Value kept but may cause issues"} 
[2026-08-23 16:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787484191000,"timestamp_ms":1787484191000,"timestamp_seconds":1787484191,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5c3918"} 
[2026-08-23 16:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:54: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-08-23 16: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 16:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595952128001,"66":13254,"150":206,"85":12288,"24":34,"16":122839268711202816,"45":-8948863540999831552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-23 16:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595952128001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:54:12] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-23 16:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 16:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122839268711202816,"km_value":122839268711202.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8948863540999831552,"description":"Unknown IO ID 45"} 
[2026-08-23 16:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595952128001,"power":13254,"unknown_150":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":-8948863540999831552}} 
[2026-08-23 16:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":160652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687747,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:54:12] local.INFO: GPS data processed {"connection_id":160652,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:54:12] local.INFO: Acknowledgment sent {"connection_id":160652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:54:23] local.INFO: TCP Data received {"connection_id":161848,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:54:23] local.INFO: Processing buffer {"connection_id":161848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:54:23] local.INFO: Packet analysis {"connection_id":161848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:54:23] local.INFO: Extracted packet for processing {"connection_id":161848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:54:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595828224001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787484005000,"timestamp_ms":1787484005000,"timestamp_seconds":1787484005,"priority":1,"record_length":96,"hex_timestamp":"000001a02e596288"} 
[2026-08-23 16:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:54: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-08-23 16:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:54:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:54:23] 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-08-23 16:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595828224001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595828224001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:54:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:54:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595828224001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":161848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:54:23] local.INFO: GPS data processed {"connection_id":161848,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:54:23] local.INFO: Acknowledgment sent {"connection_id":161848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:54:29] local.INFO: TCP Data received {"connection_id":160893,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:54:29] local.INFO: Processing buffer {"connection_id":160893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:54:29] local.INFO: IMEI packet received {"connection_id":160893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":160893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:54:29] local.INFO: TCP Data received {"connection_id":160893,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:54:29] local.INFO: Processing buffer {"connection_id":160893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:54:29] local.INFO: IMEI packet received {"connection_id":160893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":160893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:54:34] local.INFO: TCP Data received {"connection_id":160893,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:54:34] local.INFO: Processing buffer {"connection_id":160893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:54:34] local.INFO: IMEI packet received {"connection_id":160893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":160893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:54:34] local.INFO: TCP Data received {"connection_id":163245,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:54:34] local.INFO: Processing buffer {"connection_id":163245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:54:34] local.INFO: IMEI packet received {"connection_id":163245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":163245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:54:35] local.INFO: TCP Data received {"connection_id":160893,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5b0480012d181dc00721ade8004e00cd28..."} 
[2026-08-23 16:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5b0480012d181dc00721ade8004e00cd28..."} 
[2026-08-23 16:54:35] local.INFO: Processing buffer {"connection_id":160893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5b0480012d181dc00721ade8004e00cd28..."} 
[2026-08-23 16:54:35] local.INFO: Packet analysis {"connection_id":160893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5b"} 
[2026-08-23 16:54:35] local.INFO: Extracted packet for processing {"connection_id":160893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5b"} 
[2026-08-23 16:54:35] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647720,"longitude_deg":75.65552,"latitude_deg":11.964772,"altitude":78,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ade8","is_valid_coordinates":true} 
[2026-08-23 16:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595927296001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15630751789744128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097228800,"note":"Value kept but may cause issues"} 
[2026-08-23 16:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787484112000,"timestamp_ms":1787484112000,"timestamp_seconds":1787484112,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5b0480"} 
[2026-08-23 16:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 16:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595927296001,"66":12363,"105":206,"83":41984,"24":0,"16":15630751789744128,"45":1737756168097228800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595927296001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:54:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15630751789744128,"km_value":15630751789744.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097228800,"description":"Unknown IO ID 45"} 
[2026-08-23 16:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595927296001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097228800}} 
[2026-08-23 16:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":160893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:54:35] local.INFO: GPS data processed {"connection_id":160893,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:54:35] local.INFO: Acknowledgment sent {"connection_id":160893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:54:41] local.INFO: TCP Data received {"connection_id":163245,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:54:41] local.INFO: Processing buffer {"connection_id":163245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:54:41] local.INFO: IMEI packet received {"connection_id":163245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":163245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:54:42] local.INFO: TCP Data received {"connection_id":163245,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5c6028012d83c5c005c71630000600c328..."} 
[2026-08-23 16:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5c6028012d83c5c005c71630000600c328..."} 
[2026-08-23 16:54:42] local.INFO: Processing buffer {"connection_id":163245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5c6028012d83c5c005c71630000600c328..."} 
[2026-08-23 16:54:42] local.INFO: Packet analysis {"connection_id":163245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5c"} 
[2026-08-23 16:54:42] local.INFO: Extracted packet for processing {"connection_id":163245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5c"} 
[2026-08-23 16:54:42] local.INFO: GPS Element Parsed {"raw_longitude":763610560,"raw_latitude":96933424,"longitude_deg":76.361056,"latitude_deg":9.6933424,"altitude":6,"angle":195,"satellites":40,"speed":40,"hex_longitude":"2d83c5c0","hex_latitude":"05c71630","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595952896001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122839719682768896,"note":"Value kept but may cause issues"} 
[2026-08-23 16:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8949215384721319936,"note":"Value kept but may cause issues"} 
[2026-08-23 16:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787484201000,"timestamp_ms":1787484201000,"timestamp_seconds":1787484201,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5c6028"} 
[2026-08-23 16:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16: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-08-23 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-23 16:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595952896001,"66":12906,"150":206,"85":12288,"24":40,"16":122839719682768896,"45":-8949215384721319936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-23 16:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595952896001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:54:42] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-23 16:54:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 16:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122839719682768896,"km_value":122839719682768.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8949215384721319936,"description":"Unknown IO ID 45"} 
[2026-08-23 16:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595952896001,"power":12906,"unknown_150":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":-8949215384721319936}} 
[2026-08-23 16:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":163245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687750,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:54:42] local.INFO: GPS data processed {"connection_id":163245,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:54:42] local.INFO: Acknowledgment sent {"connection_id":163245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:54:51] local.INFO: TCP Data received {"connection_id":161849,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:54:51] local.INFO: Processing buffer {"connection_id":161849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:54:51] local.INFO: IMEI packet received {"connection_id":161849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":161849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:54:56] local.INFO: TCP Data received {"connection_id":161849,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:54:56] local.INFO: Processing buffer {"connection_id":161849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:54:56] local.INFO: IMEI packet received {"connection_id":161849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":161849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:55:00] local.INFO: TCP Data received {"connection_id":161849,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:55:00] local.INFO: Processing buffer {"connection_id":161849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:55:00] local.INFO: Packet analysis {"connection_id":161849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:55:00] local.INFO: Extracted packet for processing {"connection_id":161849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:55:00] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595828224001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787484005000,"timestamp_ms":1787484005000,"timestamp_seconds":1787484005,"priority":1,"record_length":96,"hex_timestamp":"000001a02e596288"} 
[2026-08-23 16:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595828224001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595828224001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:55:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:55:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595828224001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":161849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:55:00] local.INFO: GPS data processed {"connection_id":161849,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:55:00] local.INFO: Acknowledgment sent {"connection_id":161849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:55:01] local.INFO: TCP Data received {"connection_id":161849,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:55:01] local.INFO: Processing buffer {"connection_id":161849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e596288012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:55:01] local.INFO: Packet analysis {"connection_id":161849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:55:01] local.INFO: Extracted packet for processing {"connection_id":161849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e59"} 
[2026-08-23 16:55:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595828224001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787484005000,"timestamp_ms":1787484005000,"timestamp_seconds":1787484005,"priority":1,"record_length":96,"hex_timestamp":"000001a02e596288"} 
[2026-08-23 16:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 16:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595828224001,"66":25549,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595828224001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:55:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:55:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595828224001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":161849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:55:01] local.INFO: GPS data processed {"connection_id":161849,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:55:01] local.INFO: Acknowledgment sent {"connection_id":161849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:55:06] local.INFO: TCP Data received {"connection_id":160893,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5d1ba8012d182d4007219b20004d007f28..."} 
[2026-08-23 16:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5d1ba8012d182d4007219b20004d007f28..."} 
[2026-08-23 16:55:06] local.INFO: Processing buffer {"connection_id":160893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5d1ba8012d182d4007219b20004d007f28..."} 
[2026-08-23 16:55:06] local.INFO: Packet analysis {"connection_id":160893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:55:06] local.INFO: Extracted packet for processing {"connection_id":160893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119642912,"longitude_deg":75.6559168,"latitude_deg":11.9642912,"altitude":77,"angle":127,"satellites":40,"speed":17,"hex_longitude":"2d182d40","hex_latitude":"07219b20","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595965440001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15631069617324032,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911724357632,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787484249000,"timestamp_ms":1787484249000,"timestamp_seconds":1787484249,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5d1ba8"} 
[2026-08-23 16:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-23 16:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595965440001,"66":14113,"105":206,"83":41984,"24":17,"16":15631069617324032,"45":1739233911724357632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595965440001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:55:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15631069617324032,"km_value":15631069617324.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911724357632,"description":"Unknown IO ID 45"} 
[2026-08-23 16:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595965440001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1739233911724357632}} 
[2026-08-23 16:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":160893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:55:06] local.INFO: GPS data processed {"connection_id":160893,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:55:06] local.INFO: Acknowledgment sent {"connection_id":160893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:55:13] local.INFO: TCP Data received {"connection_id":163245,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5de6c8012d83944005c58b68000400cd26..."} 
[2026-08-23 16:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5de6c8012d83944005c58b68000400cd26..."} 
[2026-08-23 16:55:13] local.INFO: Processing buffer {"connection_id":163245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5de6c8012d83944005c58b68000400cd26..."} 
[2026-08-23 16:55:13] local.INFO: Packet analysis {"connection_id":163245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:55:13] local.INFO: Extracted packet for processing {"connection_id":163245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:55:13] local.INFO: GPS Element Parsed {"raw_longitude":763597888,"raw_latitude":96832360,"longitude_deg":76.3597888,"latitude_deg":9.683236,"altitude":4,"angle":205,"satellites":38,"speed":29,"hex_longitude":"2d839440","hex_latitude":"05c58b68","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595978752001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122844714729734144,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8961107702513362944,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787484301000,"timestamp_ms":1787484301000,"timestamp_seconds":1787484301,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5de6c8"} 
[2026-08-23 16:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:55: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-08-23 16: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 16:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595978752001,"66":12809,"149":206,"85":12288,"24":29,"16":122844714729734144,"45":-8961107702513362944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,85,24,16,45]} 
[2026-08-23 16:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595978752001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:55:13] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-23 16:55:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 16:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122844714729734144,"km_value":122844714729734.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8961107702513362944,"description":"Unknown IO ID 45"} 
[2026-08-23 16:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595978752001,"power":12809,"unknown_149":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":-8961107702513362944}} 
[2026-08-23 16:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":163245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:55:13] local.INFO: GPS data processed {"connection_id":163245,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:55:13] local.INFO: Acknowledgment sent {"connection_id":163245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:55:29] local.INFO: TCP Data received {"connection_id":161850,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:55:29] local.INFO: Processing buffer {"connection_id":161850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:55:29] local.INFO: IMEI packet received {"connection_id":161850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":161850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:55:29] local.INFO: TCP Data received {"connection_id":161850,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:55:29] local.INFO: Processing buffer {"connection_id":161850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:55:29] local.INFO: IMEI packet received {"connection_id":161850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":161850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:55:34] local.INFO: TCP Data received {"connection_id":163246,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:55:34] local.INFO: Processing buffer {"connection_id":163246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:55:34] local.INFO: IMEI packet received {"connection_id":163246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":163246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:55:34] local.INFO: TCP Data received {"connection_id":161850,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:55:34] local.INFO: Processing buffer {"connection_id":161850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:55:34] local.INFO: IMEI packet received {"connection_id":161850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":161850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:55:35] local.INFO: TCP Data received {"connection_id":161850,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5d2b48012d1833c007219708004d007327..."} 
[2026-08-23 16:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5d2b48012d1833c007219708004d007327..."} 
[2026-08-23 16:55:35] local.INFO: Processing buffer {"connection_id":161850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5d2b48012d1833c007219708004d007327..."} 
[2026-08-23 16:55:35] local.INFO: Packet analysis {"connection_id":161850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:55:35] local.INFO: Extracted packet for processing {"connection_id":161850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:55:35] local.INFO: GPS Element Parsed {"raw_longitude":756560832,"raw_latitude":119641864,"longitude_deg":75.6560832,"latitude_deg":11.9641864,"altitude":77,"angle":115,"satellites":39,"speed":20,"hex_longitude":"2d1833c0","hex_latitude":"07219708","is_valid_coordinates":true} 
[2026-08-23 16:55: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-08-23 16:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595967744001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15631164106604544,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030235013120,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787484253000,"timestamp_ms":1787484253000,"timestamp_seconds":1787484253,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5d2b48"} 
[2026-08-23 16:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:55: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-23 16:55:35] 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-08-23 16:55: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-08-23 16:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595967744001,"66":14113,"105":206,"83":41984,"24":20,"16":15631164106604544,"45":1742119030235013120},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 16:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595967744001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:55:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 16:55:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15631164106604544,"km_value":15631164106604.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030235013120,"description":"Unknown IO ID 45"} 
[2026-08-23 16:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595967744001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1742119030235013120}} 
[2026-08-23 16:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":161850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:55:35] local.INFO: GPS data processed {"connection_id":161850,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:55:35] local.INFO: Acknowledgment sent {"connection_id":161850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:55:38] local.INFO: TCP Data received {"connection_id":163246,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:55:38] local.INFO: Processing buffer {"connection_id":163246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:55:38] local.INFO: IMEI packet received {"connection_id":163246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":163246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:55:39] local.INFO: TCP Data received {"connection_id":163246,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:55:39] local.INFO: Processing buffer {"connection_id":163246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:55:39] local.INFO: IMEI packet received {"connection_id":163246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":163246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:55:40] local.INFO: TCP Data received {"connection_id":163246,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5dfe38012d838ec005c57f38000500bf26..."} 
[2026-08-23 16:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5dfe38012d838ec005c57f38000500bf26..."} 
[2026-08-23 16:55:40] local.INFO: Processing buffer {"connection_id":163246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5dfe38012d838ec005c57f38000500bf26..."} 
[2026-08-23 16:55:40] local.INFO: Packet analysis {"connection_id":163246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:55:40] local.INFO: Extracted packet for processing {"connection_id":163246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:55:40] local.INFO: GPS Element Parsed {"raw_longitude":763596480,"raw_latitude":96829240,"longitude_deg":76.359648,"latitude_deg":9.682924,"altitude":5,"angle":191,"satellites":38,"speed":12,"hex_longitude":"2d838ec0","hex_latitude":"05c57f38","is_valid_coordinates":true} 
[2026-08-23 16:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595981056001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122844882233458688,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8965470564654553088,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787484307000,"timestamp_ms":1787484307000,"timestamp_seconds":1787484307,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5dfe38"} 
[2026-08-23 16:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:55: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-08-23 16:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-23 16:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2954361355722818560,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2209628165,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-4152846621916221656,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2811560142,"corrected_to":0} 
[2026-08-23 16:55:40] local.WARNING: Large IO value detected {"io_id":109,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:40] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:40] local.WARNING: Large IO value detected {"io_id":46,"raw_value":6705842258027197184,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:40] local.WARNING: Large IO value detected {"io_id":197,"raw_value":4045406214,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:40] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505959,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:40] local.WARNING: Large IO value detected {"io_id":51,"raw_value":216398901756874325,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:40] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755597009682673,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:40] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,149,85,24,241,157,16,110,160,195,45,192,172,5,39,10,66,152,205,7,40,109,1,240,35,227,46,197,4,113,37,78,180,239,50,2,6,51,48,150],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2811560142,"validated":0}]} 
[2026-08-23 16:55:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288455939246063616,"timestamp_seconds":288455939246063.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 16:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595981056001,"66":12667,"149":206,"85":12288,"24":12,"16":122844882233458688,"45":-8965470564654553088},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,85,24,16,45]} 
[2026-08-23 16:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595981056001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:55:40] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-23 16:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 16:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122844882233458688,"km_value":122844882233458.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8965470564654553088,"description":"Unknown IO ID 45"} 
[2026-08-23 16:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595981056001,"power":12667,"unknown_149":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":-8965470564654553088}} 
[2026-08-23 16:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":163246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:55:40] local.INFO: GPS data processed {"connection_id":163246,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:55:40] local.INFO: Acknowledgment sent {"connection_id":163246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:55:40] local.INFO: TCP Data received {"connection_id":163246,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5e0220012d838e8005c57e40000600b127..."} 
[2026-08-23 16:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5e0220012d838e8005c57e40000600b127..."} 
[2026-08-23 16:55:40] local.INFO: Processing buffer {"connection_id":163246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5e0220012d838e8005c57e40000600b127..."} 
[2026-08-23 16:55:40] local.INFO: Packet analysis {"connection_id":163246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5e"} 
[2026-08-23 16:55:40] local.INFO: Extracted packet for processing {"connection_id":163246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5e"} 
[2026-08-23 16:55:40] local.INFO: GPS Element Parsed {"raw_longitude":763596416,"raw_latitude":96828992,"longitude_deg":76.3596416,"latitude_deg":9.6828992,"altitude":6,"angle":177,"satellites":39,"speed":8,"hex_longitude":"2d838e80","hex_latitude":"05c57e40","is_valid_coordinates":true} 
[2026-08-23 16:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595982592001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122844895118360576,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8967018677027260416,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787484308000,"timestamp_ms":1787484308000,"timestamp_seconds":1787484308,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5e0220"} 
[2026-08-23 16:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:55: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-08-23 16:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-23 16:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595982592001,"66":12667,"149":206,"85":12288,"24":8,"16":122844895118360576,"45":-8967018677027260416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,85,24,16,45]} 
[2026-08-23 16:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595982592001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:55:40] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-23 16:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 16:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122844895118360576,"km_value":122844895118360.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8967018677027260416,"description":"Unknown IO ID 45"} 
[2026-08-23 16:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595982592001,"power":12667,"unknown_149":206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":-8967018677027260416}} 
[2026-08-23 16:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":163246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:55:40] local.INFO: GPS data processed {"connection_id":163246,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:55:40] local.INFO: Acknowledgment sent {"connection_id":163246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:55:45] local.INFO: TCP Data received {"connection_id":160894,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:55:45] local.INFO: Processing buffer {"connection_id":160894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:55:45] local.INFO: IMEI packet received {"connection_id":160894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":160894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:55:45] local.INFO: TCP Data received {"connection_id":160894,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:55:45] local.INFO: Processing buffer {"connection_id":160894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:55:45] local.INFO: IMEI packet received {"connection_id":160894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":160894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:55:51] local.INFO: TCP Data received {"connection_id":160894,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:55:51] local.INFO: Processing buffer {"connection_id":160894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:55:51] local.INFO: IMEI packet received {"connection_id":160894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":160894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:55:51] local.INFO: TCP Data received {"connection_id":160894,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:55:51] local.INFO: Processing buffer {"connection_id":160894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:55:51] local.INFO: Packet analysis {"connection_id":160894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:55:51] local.INFO: Extracted packet for processing {"connection_id":160894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:55:51] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595905280001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787484306000,"timestamp_ms":1787484306000,"timestamp_seconds":1787484306,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5dfa50"} 
[2026-08-23 16:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 16:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:55:51] 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-08-23 16:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595905280001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595905280001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:55:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:55:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595905280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":160894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:55:51] local.INFO: GPS data processed {"connection_id":160894,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:55:51] local.INFO: Acknowledgment sent {"connection_id":160894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:56:07] local.INFO: TCP Data received {"connection_id":161850,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5e15a8012d18d380072120c0004300b226..."} 
[2026-08-23 16:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5e15a8012d18d380072120c0004300b226..."} 
[2026-08-23 16:56:07] local.INFO: Processing buffer {"connection_id":161850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5e15a8012d18d380072120c0004300b226..."} 
[2026-08-23 16:56:07] local.INFO: Packet analysis {"connection_id":161850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5e"} 
[2026-08-23 16:56:07] local.INFO: Extracted packet for processing {"connection_id":161850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5e"} 
[2026-08-23 16:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756601728,"raw_latitude":119611584,"longitude_deg":75.6601728,"latitude_deg":11.9611584,"altitude":67,"angle":178,"satellites":38,"speed":34,"hex_longitude":"2d18d380","hex_latitude":"072120c0","is_valid_coordinates":true} 
[2026-08-23 16:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595983616001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15633869936001024,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128861184,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787484313000,"timestamp_ms":1787484313000,"timestamp_seconds":1787484313,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5e15a8"} 
[2026-08-23 16:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 16:56:07] 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-08-23 16:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595983616001,"66":14233,"106":206,"83":41984,"24":34,"16":15633869936001024,"45":1788632770128861184},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 16:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595983616001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:56:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 16:56:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15633869936001024,"km_value":15633869936001.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128861184,"description":"Unknown IO ID 45"} 
[2026-08-23 16:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595983616001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1788632770128861184}} 
[2026-08-23 16:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":161850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:56:07] local.INFO: GPS data processed {"connection_id":161850,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:56:07] local.INFO: Acknowledgment sent {"connection_id":161850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:56:11] local.INFO: TCP Data received {"connection_id":163246,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5e15a8012d83908005c57d180006005b26..."} 
[2026-08-23 16:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5e15a8012d83908005c57d180006005b26..."} 
[2026-08-23 16:56:11] local.INFO: Processing buffer {"connection_id":163246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5e15a8012d83908005c57d180006005b26..."} 
[2026-08-23 16:56:11] local.INFO: Packet analysis {"connection_id":163246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5e"} 
[2026-08-23 16:56:11] local.INFO: Extracted packet for processing {"connection_id":163246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5e"} 
[2026-08-23 16:56:11] local.INFO: GPS Element Parsed {"raw_longitude":763596928,"raw_latitude":96828696,"longitude_deg":76.3596928,"latitude_deg":9.6828696,"altitude":6,"angle":91,"satellites":38,"speed":7,"hex_longitude":"2d839080","hex_latitude":"05c57d18","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595982848001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122844925183131648,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8967089045771501568,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787484313000,"timestamp_ms":1787484313000,"timestamp_seconds":1787484313,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5e15a8"} 
[2026-08-23 16:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:56: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-08-23 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-23 16:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595982848001,"66":12765,"149":206,"85":12288,"24":7,"16":122844925183131648,"45":-8967089045771501568},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,85,24,16,45]} 
[2026-08-23 16:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595982848001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:56:11] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-23 16:56:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 16:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122844925183131648,"km_value":122844925183131.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8967089045771501568,"description":"Unknown IO ID 45"} 
[2026-08-23 16:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595982848001,"power":12765,"unknown_149":206,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":-8967089045771501568}} 
[2026-08-23 16:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":163246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:56:11] local.INFO: GPS data processed {"connection_id":163246,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:56:11] local.INFO: Acknowledgment sent {"connection_id":163246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:56:23] local.INFO: TCP Data received {"connection_id":160894,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:56:23] local.INFO: Processing buffer {"connection_id":160894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:56:23] local.INFO: Packet analysis {"connection_id":160894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:56:23] local.INFO: Extracted packet for processing {"connection_id":160894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:56:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595905280001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787484306000,"timestamp_ms":1787484306000,"timestamp_seconds":1787484306,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5dfa50"} 
[2026-08-23 16:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 16:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:56:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:56:23] 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-08-23 16:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595905280001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595905280001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:56:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:56:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595905280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":160894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:56:23] local.INFO: GPS data processed {"connection_id":160894,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:56:23] local.INFO: Acknowledgment sent {"connection_id":160894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:56:32] local.INFO: TCP Data received {"connection_id":160895,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:56:32] local.INFO: Processing buffer {"connection_id":160895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:56:32] local.INFO: IMEI packet received {"connection_id":160895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":160895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:56:35] local.INFO: TCP Data received {"connection_id":160895,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:56:35] local.INFO: Processing buffer {"connection_id":160895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:56:35] local.INFO: IMEI packet received {"connection_id":160895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":160895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:56:35] local.INFO: TCP Data received {"connection_id":160895,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:56:35] local.INFO: Processing buffer {"connection_id":160895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:56:35] local.INFO: IMEI packet received {"connection_id":160895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":160895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:56:37] local.INFO: TCP Data received {"connection_id":160895,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:56:37] local.INFO: Processing buffer {"connection_id":160895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:56:37] local.INFO: IMEI packet received {"connection_id":160895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":160895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:56:38] local.INFO: TCP Data received {"connection_id":160653,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:56:38] local.INFO: Processing buffer {"connection_id":160653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:56:38] local.INFO: IMEI packet received {"connection_id":160653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":160653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:56:38] local.INFO: TCP Data received {"connection_id":160895,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5e2d18012d18d44007210cf8003f00a728..."} 
[2026-08-23 16:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5e2d18012d18d44007210cf8003f00a728..."} 
[2026-08-23 16:56:38] local.INFO: Processing buffer {"connection_id":160895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5e2d18012d18d44007210cf8003f00a728..."} 
[2026-08-23 16:56:38] local.INFO: Packet analysis {"connection_id":160895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5e"} 
[2026-08-23 16:56:38] local.INFO: Extracted packet for processing {"connection_id":160895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5e"} 
[2026-08-23 16:56:38] local.INFO: GPS Element Parsed {"raw_longitude":756601920,"raw_latitude":119606520,"longitude_deg":75.660192,"latitude_deg":11.960652,"altitude":63,"angle":167,"satellites":40,"speed":25,"hex_longitude":"2d18d440","hex_latitude":"07210cf8","is_valid_coordinates":true} 
[2026-08-23 16:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595984128001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15634114749136896,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788914245105139712,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787484319000,"timestamp_ms":1787484319000,"timestamp_seconds":1787484319,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5e2d18"} 
[2026-08-23 16:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-23 16:56:38] 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-08-23 16:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595984128001,"66":14048,"106":206,"83":41984,"24":25,"16":15634114749136896,"45":1788914245105139712},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 16:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595984128001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:56:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 16:56:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15634114749136896,"km_value":15634114749136.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788914245105139712,"description":"Unknown IO ID 45"} 
[2026-08-23 16:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595984128001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1788914245105139712}} 
[2026-08-23 16:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":160895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:56:38] local.INFO: GPS data processed {"connection_id":160895,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:56:38] local.INFO: Acknowledgment sent {"connection_id":160895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:56:39] local.INFO: TCP Data received {"connection_id":160653,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:56:39] local.INFO: Processing buffer {"connection_id":160653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:56:39] local.INFO: IMEI packet received {"connection_id":160653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":160653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:56:40] local.INFO: TCP Data received {"connection_id":160895,"ip":"42.109.136.1","data_length":1348,"data_hex":"000000000000030f8e0a000001a02e5e4c58012d18d6c0072102c0003d00c529..."} 
[2026-08-23 16:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160895,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a02e5e4c58012d18d6c0072102c0003d00c529..."} 
[2026-08-23 16:56:40] local.INFO: Processing buffer {"connection_id":160895,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a02e5e4c58012d18d6c0072102c0003d00c529..."} 
[2026-08-23 16:56:40] local.INFO: Packet analysis {"connection_id":160895,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a02e5e"} 
[2026-08-23 16:56:40] local.INFO: Extracted packet for processing {"connection_id":160895,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a02e5e"} 
[2026-08-23 16:56:40] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119603904,"longitude_deg":75.660256,"latitude_deg":11.9603904,"altitude":61,"angle":197,"satellites":41,"speed":5,"hex_longitude":"2d18d6c0","hex_latitude":"072102c0","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595985664001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15634247893123072,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789125351336376320,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787484327000,"timestamp_ms":1787484327000,"timestamp_seconds":1787484327,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5e4c58"} 
[2026-08-23 16:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 16:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595985664001,"66":13939,"103":206,"83":41984,"24":5,"16":15634247893123072,"45":1789125351336376320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595985664001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:56:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:56:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15634247893123072,"km_value":15634247893123.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789125351336376320,"description":"Unknown IO ID 45"} 
[2026-08-23 16:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595985664001,"power":13939,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1789125351336376320}} 
[2026-08-23 16:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":160895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:56:40] local.INFO: GPS data processed {"connection_id":160895,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:56:40] local.INFO: Acknowledgment sent {"connection_id":160895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:56:40] local.INFO: Packet analysis {"connection_id":160895,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a02e5e"} 
[2026-08-23 16:56:40] local.INFO: Incomplete packet, waiting for more data {"connection_id":160895,"needed":795,"available":553} 
[2026-08-23 16:56:41] local.INFO: TCP Data received {"connection_id":160895,"ip":"42.109.136.1","data_length":242,"data_hex":"000000000001a02e5de2e0012d18c60007214ab8004a00ad2400280000000a00..."} 
[2026-08-23 16:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160895,"packet_length":242,"packet_hex":"000000000001a02e5de2e0012d18c60007214ab8004a00ad2400280000000a00..."} 
[2026-08-23 16:56:41] local.INFO: Processing buffer {"connection_id":160895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5e67b0012d18d50007210290003b011429..."} 
[2026-08-23 16:56:41] local.INFO: Packet analysis {"connection_id":160895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5e"} 
[2026-08-23 16:56:41] local.INFO: Extracted packet for processing {"connection_id":160895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5e"} 
[2026-08-23 16:56:41] local.INFO: GPS Element Parsed {"raw_longitude":756602112,"raw_latitude":119603856,"longitude_deg":75.6602112,"latitude_deg":11.9603856,"altitude":59,"angle":276,"satellites":41,"speed":5,"hex_longitude":"2d18d500","hex_latitude":"07210290","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595987712001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15634282252861440,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777483264,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787484334000,"timestamp_ms":1787484334000,"timestamp_seconds":1787484334,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5e67b0"} 
[2026-08-23 16:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-23 16:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595987712001,"66":14211,"103":206,"83":41984,"24":5,"16":15634282252861440,"45":1789829038777483264},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595987712001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:56:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:56:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15634282252861440,"km_value":15634282252861.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777483264,"description":"Unknown IO ID 45"} 
[2026-08-23 16:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595987712001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1789829038777483264}} 
[2026-08-23 16:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":160895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:56:41] local.INFO: GPS data processed {"connection_id":160895,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:56:41] local.INFO: Acknowledgment sent {"connection_id":160895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:56:44] local.INFO: TCP Data received {"connection_id":160653,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:56:44] local.INFO: Processing buffer {"connection_id":160653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:56:44] local.INFO: IMEI packet received {"connection_id":160653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":160653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:56:45] local.INFO: TCP Data received {"connection_id":160653,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5ef838012d84330005c54c680009006025..."} 
[2026-08-23 16:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5ef838012d84330005c54c680009006025..."} 
[2026-08-23 16:56:45] local.INFO: Processing buffer {"connection_id":160653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5ef838012d84330005c54c680009006025..."} 
[2026-08-23 16:56:45] local.INFO: Packet analysis {"connection_id":160653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5e"} 
[2026-08-23 16:56:45] local.INFO: Extracted packet for processing {"connection_id":160653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5e"} 
[2026-08-23 16:56:45] local.INFO: GPS Element Parsed {"raw_longitude":763638528,"raw_latitude":96816232,"longitude_deg":76.3638528,"latitude_deg":9.6816232,"altitude":9,"angle":96,"satellites":37,"speed":44,"hex_longitude":"2d843300","hex_latitude":"05c54c68","is_valid_coordinates":true} 
[2026-08-23 16:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595998208001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122847094141616128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8924445586802927616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787484371000,"timestamp_ms":1787484371000,"timestamp_seconds":1787484371,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5ef838"} 
[2026-08-23 16:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:56: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-08-23 16:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 16:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595998208001,"66":12885,"123":206,"85":12288,"24":44,"16":122847094141616128,"45":-8924445586802927616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-08-23 16:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595998208001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:56:45] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-23 16:56:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 16:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122847094141616128,"km_value":122847094141616.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8924445586802927616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595998208001,"power":12885,"unknown_123":206,"unknown_85":12288,"ignition":44,"odometer":null,"unknown_45":-8924445586802927616}} 
[2026-08-23 16:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":160653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:56:45] local.INFO: GPS data processed {"connection_id":160653,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:56:45] local.INFO: Acknowledgment sent {"connection_id":160653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:56:46] local.INFO: TCP Data received {"connection_id":160654,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:56:46] local.INFO: Processing buffer {"connection_id":160654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:56:46] local.INFO: IMEI packet received {"connection_id":160654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":160654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:56:47] local.INFO: TCP Data received {"connection_id":160653,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5f07d8012d84448005c54c580009005525..."} 
[2026-08-23 16:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5f07d8012d84448005c54c580009005525..."} 
[2026-08-23 16:56:47] local.INFO: Processing buffer {"connection_id":160653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5f07d8012d84448005c54c580009005525..."} 
[2026-08-23 16:56:47] local.INFO: Packet analysis {"connection_id":160653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5f"} 
[2026-08-23 16:56:47] local.INFO: Extracted packet for processing {"connection_id":160653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5f"} 
[2026-08-23 16:56:47] local.INFO: GPS Element Parsed {"raw_longitude":763643008,"raw_latitude":96816216,"longitude_deg":76.3643008,"latitude_deg":9.6816216,"altitude":9,"angle":85,"satellites":37,"speed":43,"hex_longitude":"2d844480","hex_latitude":"05c54c58","is_valid_coordinates":true} 
[2026-08-23 16:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595998976001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122847308889980928,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8920786412105865216,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787484375000,"timestamp_ms":1787484375000,"timestamp_seconds":1787484375,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5f07d8"} 
[2026-08-23 16:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:56: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-08-23 16:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-23 16:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595998976001,"66":12972,"123":206,"85":12288,"24":43,"16":122847308889980928,"45":-8920786412105865216},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-08-23 16:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595998976001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:56:47] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-23 16:56:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 16:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122847308889980928,"km_value":122847308889980.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8920786412105865216,"description":"Unknown IO ID 45"} 
[2026-08-23 16:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595998976001,"power":12972,"unknown_123":206,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":-8920786412105865216}} 
[2026-08-23 16:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":160653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:56:47] local.INFO: GPS data processed {"connection_id":160653,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:56:47] local.INFO: Acknowledgment sent {"connection_id":160653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:56:51] local.INFO: TCP Data received {"connection_id":160654,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:56:51] local.INFO: Processing buffer {"connection_id":160654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:56:51] local.INFO: IMEI packet received {"connection_id":160654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":160654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:56:51] local.INFO: TCP Data received {"connection_id":160654,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:56:51] local.INFO: Processing buffer {"connection_id":160654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:56:51] local.INFO: Packet analysis {"connection_id":160654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:56:51] local.INFO: Extracted packet for processing {"connection_id":160654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:56:51] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595905280001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787484306000,"timestamp_ms":1787484306000,"timestamp_seconds":1787484306,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5dfa50"} 
[2026-08-23 16:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 16:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:56:51] 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-08-23 16:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595905280001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595905280001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:56:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:56:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595905280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":160654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:56:51] local.INFO: GPS data processed {"connection_id":160654,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:56:51] local.INFO: Acknowledgment sent {"connection_id":160654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:57:12] local.INFO: TCP Data received {"connection_id":160895,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5f07d8012d18c7400720cf58002600aa23..."} 
[2026-08-23 16:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5f07d8012d18c7400720cf58002600aa23..."} 
[2026-08-23 16:57:12] local.INFO: Processing buffer {"connection_id":160895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5f07d8012d18c7400720cf58002600aa23..."} 
[2026-08-23 16:57:12] local.INFO: Packet analysis {"connection_id":160895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5f"} 
[2026-08-23 16:57:12] local.INFO: Extracted packet for processing {"connection_id":160895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5f"} 
[2026-08-23 16:57:12] local.INFO: GPS Element Parsed {"raw_longitude":756598592,"raw_latitude":119590744,"longitude_deg":75.6598592,"latitude_deg":11.9590744,"altitude":38,"angle":170,"satellites":35,"speed":24,"hex_longitude":"2d18c740","hex_latitude":"0720cf58","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595997440001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15635016692269056,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785466176636542976,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787484375000,"timestamp_ms":1787484375000,"timestamp_seconds":1787484375,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5f07d8"} 
[2026-08-23 16:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-23 16:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595997440001,"66":14080,"103":206,"83":41984,"24":24,"16":15635016692269056,"45":1785466176636542976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595997440001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:57:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:57:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15635016692269056,"km_value":15635016692269.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785466176636542976,"description":"Unknown IO ID 45"} 
[2026-08-23 16:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595997440001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1785466176636542976}} 
[2026-08-23 16:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":160895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:57:12] local.INFO: GPS data processed {"connection_id":160895,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:57:12] local.INFO: Acknowledgment sent {"connection_id":160895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:57:18] local.INFO: TCP Data received {"connection_id":160653,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5f0fa8012d844cc005c54e18000a004725..."} 
[2026-08-23 16:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5f0fa8012d844cc005c54e18000a004725..."} 
[2026-08-23 16:57:18] local.INFO: Processing buffer {"connection_id":160653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5f0fa8012d844cc005c54e18000a004725..."} 
[2026-08-23 16:57:18] local.INFO: Packet analysis {"connection_id":160653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5f"} 
[2026-08-23 16:57:18] local.INFO: Extracted packet for processing {"connection_id":160653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5f"} 
[2026-08-23 16:57:18] local.INFO: GPS Element Parsed {"raw_longitude":763645120,"raw_latitude":96816664,"longitude_deg":76.364512,"latitude_deg":9.6816664,"altitude":10,"angle":71,"satellites":37,"speed":40,"hex_longitude":"2d844cc0","hex_latitude":"05c54e18","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596000000001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122847411969196032,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8915860600013432832,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787484377000,"timestamp_ms":1787484377000,"timestamp_seconds":1787484377,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5f0fa8"} 
[2026-08-23 16:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16: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-08-23 16:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 16:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596000000001,"66":12982,"123":206,"85":12288,"24":40,"16":122847411969196032,"45":-8915860600013432832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-08-23 16:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596000000001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:57:18] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-23 16:57:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 16:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122847411969196032,"km_value":122847411969196.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8915860600013432832,"description":"Unknown IO ID 45"} 
[2026-08-23 16:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596000000001,"power":12982,"unknown_123":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":-8915860600013432832}} 
[2026-08-23 16:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":160653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:57:18] local.INFO: GPS data processed {"connection_id":160653,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:57:18] local.INFO: Acknowledgment sent {"connection_id":160653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:57:23] local.INFO: TCP Data received {"connection_id":160654,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:57:23] local.INFO: Processing buffer {"connection_id":160654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:57:23] local.INFO: Packet analysis {"connection_id":160654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:57:23] local.INFO: Extracted packet for processing {"connection_id":160654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:57:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595905280001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787484306000,"timestamp_ms":1787484306000,"timestamp_seconds":1787484306,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5dfa50"} 
[2026-08-23 16:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 16:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:57:23] 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-08-23 16:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595905280001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595905280001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:57:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:57:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595905280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":160654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:57:23] local.INFO: GPS data processed {"connection_id":160654,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:57:23] local.INFO: Acknowledgment sent {"connection_id":160654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:57:26] local.INFO: TCP Data received {"connection_id":161851,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:57:26] local.INFO: Processing buffer {"connection_id":161851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:57:26] local.INFO: IMEI packet received {"connection_id":161851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":161851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:57:29] local.INFO: TCP Data received {"connection_id":161851,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:57:29] local.INFO: Processing buffer {"connection_id":161851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:57:29] local.INFO: IMEI packet received {"connection_id":161851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":161851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:57:31] local.INFO: TCP Data received {"connection_id":160896,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:57:31] local.INFO: Processing buffer {"connection_id":160896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:57:31] local.INFO: IMEI packet received {"connection_id":160896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":160896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:57:34] local.INFO: TCP Data received {"connection_id":161851,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:57:34] local.INFO: Processing buffer {"connection_id":161851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:57:34] local.INFO: IMEI packet received {"connection_id":161851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":161851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:57:35] local.INFO: TCP Data received {"connection_id":160896,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:57:35] local.INFO: Processing buffer {"connection_id":160896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:57:35] local.INFO: IMEI packet received {"connection_id":160896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":160896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:57:35] local.INFO: TCP Data received {"connection_id":161851,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5f32d0012d18c8000720b4a8002100b723..."} 
[2026-08-23 16:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5f32d0012d18c8000720b4a8002100b723..."} 
[2026-08-23 16:57:35] local.INFO: Processing buffer {"connection_id":161851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5f32d0012d18c8000720b4a8002100b723..."} 
[2026-08-23 16:57:35] local.INFO: Packet analysis {"connection_id":161851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5f"} 
[2026-08-23 16:57:35] local.INFO: Extracted packet for processing {"connection_id":161851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5f"} 
[2026-08-23 16:57:35] local.INFO: GPS Element Parsed {"raw_longitude":756598784,"raw_latitude":119583912,"longitude_deg":75.6598784,"latitude_deg":11.9583912,"altitude":33,"angle":183,"satellites":35,"speed":20,"hex_longitude":"2d18c800","hex_latitude":"0720b4a8","is_valid_coordinates":true} 
[2026-08-23 16:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596000000001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15635347404750848,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785466176635099136,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787484386000,"timestamp_ms":1787484386000,"timestamp_seconds":1787484386,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5f32d0"} 
[2026-08-23 16:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-23 16:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:35] local.WARNING: Large IO value detected {"io_id":139,"raw_value":2600468480,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-23 16:57:35] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4059037745,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:35] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:35] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1074209012,"corrected_to":0} 
[2026-08-23 16:57:35] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2340880384,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:35] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,139,160,224,45,64,229,44,36,10,66,205,237,47,37,201,192,1,240,77,227,46,32,4,113,14,181,202,208,38,239,55,2,7,54],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":202,"original":1074209012,"validated":0}]} 
[2026-08-23 16:57:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2738375640743411712,"timestamp_seconds":2738375640743411.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 16:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596000000001,"66":14265,"103":206,"83":41984,"24":20,"16":15635347404750848,"45":1785466176635099136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596000000001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:57:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:57:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15635347404750848,"km_value":15635347404750.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785466176635099136,"description":"Unknown IO ID 45"} 
[2026-08-23 16:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596000000001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1785466176635099136}} 
[2026-08-23 16:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":161851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:57:35] local.INFO: GPS data processed {"connection_id":161851,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:57:35] local.INFO: Acknowledgment sent {"connection_id":161851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:57:39] local.INFO: TCP Data received {"connection_id":160896,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:57:39] local.INFO: Processing buffer {"connection_id":160896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:57:39] local.INFO: IMEI packet received {"connection_id":160896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":160896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:57:40] local.INFO: TCP Data received {"connection_id":160896,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5f2330012d845e0005c557100008003c27..."} 
[2026-08-23 16:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5f2330012d845e0005c557100008003c27..."} 
[2026-08-23 16:57:40] local.INFO: Processing buffer {"connection_id":160896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5f2330012d845e0005c557100008003c27..."} 
[2026-08-23 16:57:40] local.INFO: Packet analysis {"connection_id":160896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5f"} 
[2026-08-23 16:57:40] local.INFO: Extracted packet for processing {"connection_id":160896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5f"} 
[2026-08-23 16:57:40] local.INFO: GPS Element Parsed {"raw_longitude":763649536,"raw_latitude":96818960,"longitude_deg":76.3649536,"latitude_deg":9.681896,"altitude":8,"angle":60,"satellites":39,"speed":40,"hex_longitude":"2d845e00","hex_latitude":"05c55710","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596000512001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122847648192397312,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8913538431455455232,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787484382000,"timestamp_ms":1787484382000,"timestamp_seconds":1787484382,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5f2330"} 
[2026-08-23 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-08-23 16:57: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-08-23 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 16:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 16:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596000512001,"66":13341,"123":206,"85":12288,"24":40,"16":122847648192397312,"45":-8913538431455455232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-08-23 16:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596000512001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:57:40] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-23 16:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 16:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122847648192397312,"km_value":122847648192397.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8913538431455455232,"description":"Unknown IO ID 45"} 
[2026-08-23 16:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596000512001,"power":13341,"unknown_123":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":-8913538431455455232}} 
[2026-08-23 16:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":160896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:57:40] local.INFO: GPS data processed {"connection_id":160896,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:57:40] local.INFO: Acknowledgment sent {"connection_id":160896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:57:41] local.INFO: TCP Data received {"connection_id":160896,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5f2ee8012d84684005c55c880007004928..."} 
[2026-08-23 16:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5f2ee8012d84684005c55c880007004928..."} 
[2026-08-23 16:57:41] local.INFO: Processing buffer {"connection_id":160896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5f2ee8012d84684005c55c880007004928..."} 
[2026-08-23 16:57:41] local.INFO: Packet analysis {"connection_id":160896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5f"} 
[2026-08-23 16:57:41] local.INFO: Extracted packet for processing {"connection_id":160896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5f"} 
[2026-08-23 16:57:41] local.INFO: GPS Element Parsed {"raw_longitude":763652160,"raw_latitude":96820360,"longitude_deg":76.365216,"latitude_deg":9.682036,"altitude":7,"angle":73,"satellites":40,"speed":39,"hex_longitude":"2d846840","hex_latitude":"05c55c88","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596001792001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122847794221285376,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8908682988106608640,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787484385000,"timestamp_ms":1787484385000,"timestamp_seconds":1787484385,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5f2ee8"} 
[2026-08-23 16:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:57: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-08-23 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-23 16:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596001792001,"66":13330,"123":206,"85":12288,"24":39,"16":122847794221285376,"45":-8908682988106608640},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-08-23 16:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596001792001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:57:41] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-23 16:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 16:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122847794221285376,"km_value":122847794221285.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8908682988106608640,"description":"Unknown IO ID 45"} 
[2026-08-23 16:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596001792001,"power":13330,"unknown_123":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":-8908682988106608640}} 
[2026-08-23 16:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":160896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:57:41] local.INFO: GPS data processed {"connection_id":160896,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:57:41] local.INFO: Acknowledgment sent {"connection_id":160896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:57:45] local.INFO: TCP Data received {"connection_id":160655,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:57:45] local.INFO: Processing buffer {"connection_id":160655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:57:45] local.INFO: IMEI packet received {"connection_id":160655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":160655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:57:51] local.INFO: TCP Data received {"connection_id":160655,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:57:51] local.INFO: Processing buffer {"connection_id":160655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:57:51] local.INFO: IMEI packet received {"connection_id":160655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":160655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:57:52] local.INFO: TCP Data received {"connection_id":160655,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:57:52] local.INFO: Processing buffer {"connection_id":160655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:57:52] local.INFO: Packet analysis {"connection_id":160655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:57:52] local.INFO: Extracted packet for processing {"connection_id":160655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:57: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-08-23 16:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595905280001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787484306000,"timestamp_ms":1787484306000,"timestamp_seconds":1787484306,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5dfa50"} 
[2026-08-23 16:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 16:57:52] 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-08-23 16:57: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-08-23 16:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:57:52] 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-08-23 16:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595905280001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595905280001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:57:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595905280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":160655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:57:52] local.INFO: GPS data processed {"connection_id":160655,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:57:52] local.INFO: Acknowledgment sent {"connection_id":160655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:58:06] local.INFO: TCP Data received {"connection_id":161851,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5f4658012d18c6c00720ac88001f00c423..."} 
[2026-08-23 16:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5f4658012d18c6c00720ac88001f00c423..."} 
[2026-08-23 16:58:06] local.INFO: Processing buffer {"connection_id":161851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5f4658012d18c6c00720ac88001f00c423..."} 
[2026-08-23 16:58:06] local.INFO: Packet analysis {"connection_id":161851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5f"} 
[2026-08-23 16:58:06] local.INFO: Extracted packet for processing {"connection_id":161851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5f"} 
[2026-08-23 16:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756598464,"raw_latitude":119581832,"longitude_deg":75.6598464,"latitude_deg":11.9581832,"altitude":31,"angle":196,"satellites":35,"speed":16,"hex_longitude":"2d18c6c0","hex_latitude":"0720ac88","is_valid_coordinates":true} 
[2026-08-23 16:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596002816001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15635450483965952,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785677282865883136,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787484391000,"timestamp_ms":1787484391000,"timestamp_seconds":1787484391,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5f4658"} 
[2026-08-23 16:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 16:58:06] 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-08-23 16:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 16:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 16:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 16:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596002816001,"66":14341,"103":206,"83":41984,"24":16,"16":15635450483965952,"45":1785677282865883136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 16:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 16:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 16:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596002816001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:58:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 16:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 16:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15635450483965952,"km_value":15635450483965.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785677282865883136,"description":"Unknown IO ID 45"} 
[2026-08-23 16:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596002816001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1785677282865883136}} 
[2026-08-23 16:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":161851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:58:06] local.INFO: GPS data processed {"connection_id":161851,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:58:06] local.INFO: Acknowledgment sent {"connection_id":161851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:58:14] local.INFO: TCP Data received {"connection_id":160896,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5f36b8012d84700005c55d900006005d27..."} 
[2026-08-23 16:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5f36b8012d84700005c55d900006005d27..."} 
[2026-08-23 16:58:14] local.INFO: Processing buffer {"connection_id":160896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5f36b8012d84700005c55d900006005d27..."} 
[2026-08-23 16:58:14] local.INFO: Packet analysis {"connection_id":160896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5f"} 
[2026-08-23 16:58:14] local.INFO: Extracted packet for processing {"connection_id":160896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5f"} 
[2026-08-23 16:58:14] local.INFO: GPS Element Parsed {"raw_longitude":763654144,"raw_latitude":96820624,"longitude_deg":76.3654144,"latitude_deg":9.6820624,"altitude":6,"angle":93,"satellites":39,"speed":40,"hex_longitude":"2d847000","hex_latitude":"05c55d90","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596002560001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122847888710565888,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8905797869594966016,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787484387000,"timestamp_ms":1787484387000,"timestamp_seconds":1787484387,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5f36b8"} 
[2026-08-23 16:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:58: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-08-23 16: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-23 16:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2217934853,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3279742030682878280,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:14] local.WARNING: Large IO value detected {"io_id":112,"raw_value":4194304000,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:14] local.WARNING: Large IO value detected {"io_id":197,"raw_value":7487234401987405568,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2826633422,"corrected_to":0} 
[2026-08-23 16:58:14] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2147560836,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:14] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184424,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3310856192,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:14] local.WARNING: Large IO value detected {"io_id":215,"raw_value":57887616473650480,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:14] local.WARNING: Large IO value detected {"io_id":94,"raw_value":-3938396579135340539,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:14] local.WARNING: Large IO value detected {"io_id":47,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:14] local.WARNING: Large IO value detected {"io_id":168,"raw_value":8863310931937990656,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:14] local.WARNING: Large IO value detected {"io_id":95,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:14] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,123,85,24,241,157,16,113,160,35,45,87,8,39,10,66,15,192,78,37,7,128,1,240,172,227,112,46,197,4,205,44,236,38,239,50,2,180,5,215,94,47,168,95],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2826633422,"validated":0}]} 
[2026-08-23 16:58:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504483594415570944,"timestamp_seconds":504483594415570.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 16:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596002560001,"66":13254,"123":206,"85":12288,"24":40,"16":122847888710565888,"45":-8905797869594966016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-08-23 16:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596002560001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:58:14] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-23 16:58:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 16:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122847888710565888,"km_value":122847888710565.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8905797869594966016,"description":"Unknown IO ID 45"} 
[2026-08-23 16:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596002560001,"power":13254,"unknown_123":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":-8905797869594966016}} 
[2026-08-23 16:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":160896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:58:14] local.INFO: GPS data processed {"connection_id":160896,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:58:14] local.INFO: Acknowledgment sent {"connection_id":160896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:58:24] local.INFO: TCP Data received {"connection_id":160655,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:58:24] local.INFO: Processing buffer {"connection_id":160655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:58:24] local.INFO: Packet analysis {"connection_id":160655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:58:24] local.INFO: Extracted packet for processing {"connection_id":160655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:58:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595905280001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787484306000,"timestamp_ms":1787484306000,"timestamp_seconds":1787484306,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5dfa50"} 
[2026-08-23 16:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 16:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:58: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-08-23 16:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595905280001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595905280001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:58:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:58:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595905280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":160655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:58:24] local.INFO: GPS data processed {"connection_id":160655,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:58:24] local.INFO: Acknowledgment sent {"connection_id":160655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:58:27] local.INFO: TCP Data received {"connection_id":163247,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:58:27] local.INFO: Processing buffer {"connection_id":163247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:58:27] local.INFO: IMEI packet received {"connection_id":163247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 16:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":163247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:58:29] local.INFO: TCP Data received {"connection_id":163247,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:58:29] local.INFO: Processing buffer {"connection_id":163247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:58:29] local.INFO: IMEI packet received {"connection_id":163247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":163247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:58:30] local.INFO: TCP Data received {"connection_id":163247,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:58:30] local.INFO: Processing buffer {"connection_id":163247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:58:30] local.INFO: IMEI packet received {"connection_id":163247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":163247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:58:31] local.INFO: TCP Data received {"connection_id":163247,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:58:31] local.INFO: Processing buffer {"connection_id":163247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 16:58:31] local.INFO: IMEI packet received {"connection_id":163247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 16:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":163247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:58:34] local.INFO: TCP Data received {"connection_id":163248,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:58:34] local.INFO: Processing buffer {"connection_id":163248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:58:34] local.INFO: IMEI packet received {"connection_id":163248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":163248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:58:39] local.INFO: TCP Data received {"connection_id":163248,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:58:39] local.INFO: Processing buffer {"connection_id":163248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:58:39] local.INFO: IMEI packet received {"connection_id":163248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":163248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:58:40] local.INFO: TCP Data received {"connection_id":163248,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5f5dc8012d8495c005c55b880005005e27..."} 
[2026-08-23 16:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5f5dc8012d8495c005c55b880005005e27..."} 
[2026-08-23 16:58:40] local.INFO: Processing buffer {"connection_id":163248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5f5dc8012d8495c005c55b880005005e27..."} 
[2026-08-23 16:58:40] local.INFO: Packet analysis {"connection_id":163248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5f"} 
[2026-08-23 16:58:40] local.INFO: Extracted packet for processing {"connection_id":163248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5f"} 
[2026-08-23 16:58:40] local.INFO: GPS Element Parsed {"raw_longitude":763663808,"raw_latitude":96820104,"longitude_deg":76.3663808,"latitude_deg":9.6820104,"altitude":5,"angle":94,"satellites":39,"speed":30,"hex_longitude":"2d8495c0","hex_latitude":"05c55b88","is_valid_coordinates":true} 
[2026-08-23 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-08-23 16:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596003072001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122848348272066560,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8903616438525390848,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787484397000,"timestamp_ms":1787484397000,"timestamp_seconds":1787484397,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5f5dc8"} 
[2026-08-23 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-08-23 16:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-23 16:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 16:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596003072001,"66":13243,"123":206,"85":12288,"24":30,"16":122848348272066560,"45":-8903616438525390848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-08-23 16:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596003072001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:58:40] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-23 16:58:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 16:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122848348272066560,"km_value":122848348272066.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8903616438525390848,"description":"Unknown IO ID 45"} 
[2026-08-23 16:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596003072001,"power":13243,"unknown_123":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":-8903616438525390848}} 
[2026-08-23 16:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":163248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:58:40] local.INFO: GPS data processed {"connection_id":163248,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:58:40] local.INFO: Acknowledgment sent {"connection_id":163248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:58:45] local.INFO: TCP Data received {"connection_id":160656,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:58:45] local.INFO: Processing buffer {"connection_id":160656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:58:45] local.INFO: IMEI packet received {"connection_id":160656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":160656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:58:51] local.INFO: TCP Data received {"connection_id":160656,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:58:51] local.INFO: Processing buffer {"connection_id":160656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:58:51] local.INFO: IMEI packet received {"connection_id":160656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":160656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:58:51] local.INFO: TCP Data received {"connection_id":160656,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:58:51] local.INFO: Processing buffer {"connection_id":160656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:58:51] local.INFO: Packet analysis {"connection_id":160656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:58:51] local.INFO: Extracted packet for processing {"connection_id":160656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:58: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-08-23 16:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595905280001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787484306000,"timestamp_ms":1787484306000,"timestamp_seconds":1787484306,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5dfa50"} 
[2026-08-23 16:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 16:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595905280001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595905280001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:58:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595905280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":160656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:58:51] local.INFO: GPS data processed {"connection_id":160656,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:58:51] local.INFO: Acknowledgment sent {"connection_id":160656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:59:11] local.INFO: TCP Data received {"connection_id":163248,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e613e40012d85cf8005c4ffe00007007527..."} 
[2026-08-23 16:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e613e40012d85cf8005c4ffe00007007527..."} 
[2026-08-23 16:59:11] local.INFO: Processing buffer {"connection_id":163248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e613e40012d85cf8005c4ffe00007007527..."} 
[2026-08-23 16:59:11] local.INFO: Packet analysis {"connection_id":163248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e61"} 
[2026-08-23 16:59:11] local.INFO: Extracted packet for processing {"connection_id":163248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e61"} 
[2026-08-23 16:59:11] local.INFO: GPS Element Parsed {"raw_longitude":763744128,"raw_latitude":96796640,"longitude_deg":76.3744128,"latitude_deg":9.679664,"altitude":7,"angle":117,"satellites":39,"speed":30,"hex_longitude":"2d85cf80","hex_latitude":"05c4ffe0","is_valid_coordinates":true} 
[2026-08-23 16:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596034048001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122852402721193984,"note":"Value kept but may cause issues"} 
[2026-08-23 16:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8813755552215609344,"note":"Value kept but may cause issues"} 
[2026-08-23 16:59:11] 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-08-23 16:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787484520000,"timestamp_ms":1787484520000,"timestamp_seconds":1787484520,"priority":1,"record_length":96,"hex_timestamp":"000001a02e613e40"} 
[2026-08-23 16:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 16:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 16:59:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 16:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2236432389,"note":"Value kept but may cause issues"} 
[2026-08-23 16:59:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 16:59:11] local.WARNING: Large IO value detected {"io_id":197,"raw_value":4003700094509393664,"note":"Value kept but may cause issues"} 
[2026-08-23 16:59:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2799239374,"corrected_to":0} 
[2026-08-23 16:59:11] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2147861802,"note":"Value kept but may cause issues"} 
[2026-08-23 16:59:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3308238848,"note":"Value kept but may cause issues"} 
[2026-08-23 16:59:11] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57885821177320752,"note":"Value kept but may cause issues"} 
[2026-08-23 16:59:11] local.WARNING: Large IO value detected {"io_id":96,"raw_value":3229082227840745477,"note":"Value kept but may cause issues"} 
[2026-08-23 16:59:11] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,216,85,24,241,157,16,117,160,220,45,64,23,6,39,10,66,215,116,169,217,158,192,1,240,161,227,46,197,4,113,205,38,107,61,152,35,239,48,2,180,5,44,7,96],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2799239374,"validated":0}]} 
[2026-08-23 16:59:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504529769608380416,"timestamp_seconds":504529769608380.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 16:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596034048001,"66":13178,"216":206,"85":12288,"24":30,"16":122852402721193984,"45":-8813755552215609344},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-23 16:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596034048001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:59:11] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 16:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 16:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122852402721193984,"km_value":122852402721193.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8813755552215609344,"description":"Unknown IO ID 45"} 
[2026-08-23 16:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596034048001,"power":13178,"unknown_216":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":-8813755552215609344}} 
[2026-08-23 16:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":163248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:59:11] local.INFO: GPS data processed {"connection_id":163248,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:59:11] local.INFO: Acknowledgment sent {"connection_id":163248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:59:23] local.INFO: TCP Data received {"connection_id":160656,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:59:23] local.INFO: Processing buffer {"connection_id":160656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:59:23] local.INFO: Packet analysis {"connection_id":160656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:59:23] local.INFO: Extracted packet for processing {"connection_id":160656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:59:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595905280001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787484306000,"timestamp_ms":1787484306000,"timestamp_seconds":1787484306,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5dfa50"} 
[2026-08-23 16:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 16:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:59:23] 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-08-23 16:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595905280001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595905280001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:59:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:59:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595905280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":160656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:59:23] local.INFO: GPS data processed {"connection_id":160656,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:59:23] local.INFO: Acknowledgment sent {"connection_id":160656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:59:34] local.INFO: TCP Data received {"connection_id":161852,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:59:34] local.INFO: Processing buffer {"connection_id":161852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:59:34] local.INFO: IMEI packet received {"connection_id":161852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 16:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":161852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:59:39] local.INFO: TCP Data received {"connection_id":161852,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:59:39] local.INFO: Processing buffer {"connection_id":161852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 16:59:39] local.INFO: IMEI packet received {"connection_id":161852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 16:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":161852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:59:40] local.INFO: TCP Data received {"connection_id":161852,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e616d20012d85f04005c4eeb00007007725..."} 
[2026-08-23 16:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e616d20012d85f04005c4eeb00007007725..."} 
[2026-08-23 16:59:40] local.INFO: Processing buffer {"connection_id":161852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e616d20012d85f04005c4eeb00007007725..."} 
[2026-08-23 16:59:40] local.INFO: Packet analysis {"connection_id":161852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e61"} 
[2026-08-23 16:59:40] local.INFO: Extracted packet for processing {"connection_id":161852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e61"} 
[2026-08-23 16:59:40] local.INFO: GPS Element Parsed {"raw_longitude":763752512,"raw_latitude":96792240,"longitude_deg":76.3752512,"latitude_deg":9.679224,"altitude":7,"angle":119,"satellites":37,"speed":38,"hex_longitude":"2d85f040","hex_latitude":"05c4eeb0","is_valid_coordinates":true} 
[2026-08-23 16: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-08-23 16:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596037120001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122852857987727360,"note":"Value kept but may cause issues"} 
[2026-08-23 16:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8804677984217735168,"note":"Value kept but may cause issues"} 
[2026-08-23 16:59: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-08-23 16:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787484532000,"timestamp_ms":1787484532000,"timestamp_seconds":1787484532,"priority":1,"record_length":96,"hex_timestamp":"000001a02e616d20"} 
[2026-08-23 16:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16: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-08-23 16: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-23 16:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 16: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-08-23 16:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 16:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 16:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 16:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596037120001,"66":13059,"216":206,"85":12288,"24":38,"16":122852857987727360,"45":-8804677984217735168},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-23 16:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 16:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 16:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596037120001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:59:40] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 16:59:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 16:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122852857987727360,"km_value":122852857987727.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8804677984217735168,"description":"Unknown IO ID 45"} 
[2026-08-23 16:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596037120001,"power":13059,"unknown_216":206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":-8804677984217735168}} 
[2026-08-23 16:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":161852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:59:40] local.INFO: GPS data processed {"connection_id":161852,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:59:40] local.INFO: Acknowledgment sent {"connection_id":161852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 16:59:45] local.INFO: TCP Data received {"connection_id":163249,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:59:45] local.INFO: Processing buffer {"connection_id":163249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:59:45] local.INFO: IMEI packet received {"connection_id":163249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 16:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":163249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 16:59:51] local.INFO: TCP Data received {"connection_id":163249,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:59:51] local.INFO: Processing buffer {"connection_id":163249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 16:59:51] local.INFO: IMEI packet received {"connection_id":163249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 16:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":163249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 16:59:52] local.INFO: TCP Data received {"connection_id":163249,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:59:52] local.INFO: Processing buffer {"connection_id":163249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 16:59:52] local.INFO: Packet analysis {"connection_id":163249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:59:52] local.INFO: Extracted packet for processing {"connection_id":163249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 16:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 16:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 16:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595905280001,"note":"Value kept but may cause issues"} 
[2026-08-23 16:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 16:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 16:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 16:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787484306000,"timestamp_ms":1787484306000,"timestamp_seconds":1787484306,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5dfa50"} 
[2026-08-23 16:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 16:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 16:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 16:59:52] 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-08-23 16:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 16:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 16:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 16:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 16:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 16:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 16:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 16:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 16:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595905280001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 16:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 16:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 16:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595905280001,"description":"Unknown IO ID 0"} 
[2026-08-23 16:59:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 16:59:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 16:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 16:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 16:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595905280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 16:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":163249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 16:59:52] local.INFO: GPS data processed {"connection_id":163249,"processed":1,"errors":0,"total":1} 
[2026-08-23 16:59:52] local.INFO: Acknowledgment sent {"connection_id":163249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:00:12] local.INFO: TCP Data received {"connection_id":161852,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e619430012d86124005c4dcf80005006e26..."} 
[2026-08-23 17:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e619430012d86124005c4dcf80005006e26..."} 
[2026-08-23 17:00:12] local.INFO: Processing buffer {"connection_id":161852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e619430012d86124005c4dcf80005006e26..."} 
[2026-08-23 17:00:12] local.INFO: Packet analysis {"connection_id":161852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e61"} 
[2026-08-23 17:00:12] local.INFO: Extracted packet for processing {"connection_id":161852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e61"} 
[2026-08-23 17:00:12] local.INFO: GPS Element Parsed {"raw_longitude":763761216,"raw_latitude":96787704,"longitude_deg":76.3761216,"latitude_deg":9.6787704,"altitude":5,"angle":110,"satellites":38,"speed":40,"hex_longitude":"2d861240","hex_latitude":"05c4dcf8","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596040192001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122853330434129920,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8795459678731587584,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:12] 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-08-23 17:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787484542000,"timestamp_ms":1787484542000,"timestamp_seconds":1787484542,"priority":1,"record_length":96,"hex_timestamp":"000001a02e619430"} 
[2026-08-23 17:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:00: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-08-23 17: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-23 17:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165009350054,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2239299589,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:12] local.WARNING: Large IO value detected {"io_id":116,"raw_value":4026531840,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2799239374,"corrected_to":0} 
[2026-08-23 17:00:12] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3221603609,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:12] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184422,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:12] local.WARNING: Large IO value detected {"io_id":217,"raw_value":58077509850759206,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3307610112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:12] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,216,85,24,241,157,16,118,160,62,45,128,255,7,39,10,66,117,15,64,220,1,240,58,227,116,46,197,4,113,205,34,158,110,248,239,50,217,2,180,5,38],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2799239374,"validated":0}]} 
[2026-08-23 17:00:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504534159065481216,"timestamp_seconds":504534159065481.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 17:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596040192001,"66":13059,"216":206,"85":12288,"24":40,"16":122853330434129920,"45":-8795459678731587584},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-23 17:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596040192001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:00:12] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 17:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122853330434129920,"km_value":122853330434129.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8795459678731587584,"description":"Unknown IO ID 45"} 
[2026-08-23 17:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596040192001,"power":13059,"unknown_216":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":-8795459678731587584}} 
[2026-08-23 17:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":161852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:00:12] local.INFO: GPS data processed {"connection_id":161852,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:00:12] local.INFO: Acknowledgment sent {"connection_id":161852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:00:23] local.INFO: TCP Data received {"connection_id":163249,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:00:23] local.INFO: Processing buffer {"connection_id":163249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e5dfa50012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:00:23] local.INFO: Packet analysis {"connection_id":163249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 17:00:23] local.INFO: Extracted packet for processing {"connection_id":163249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e5d"} 
[2026-08-23 17:00:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595905280001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787484306000,"timestamp_ms":1787484306000,"timestamp_seconds":1787484306,"priority":1,"record_length":96,"hex_timestamp":"000001a02e5dfa50"} 
[2026-08-23 17:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-23 17:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595905280001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595905280001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:00:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:00:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595905280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":163249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:00:23] local.INFO: GPS data processed {"connection_id":163249,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:00:23] local.INFO: Acknowledgment sent {"connection_id":163249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:00:34] local.INFO: TCP Data received {"connection_id":160898,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:00:34] local.INFO: Processing buffer {"connection_id":160898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:00:34] local.INFO: IMEI packet received {"connection_id":160898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":160898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:00:35] local.INFO: TCP Data received {"connection_id":160898,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:00:35] local.INFO: Processing buffer {"connection_id":160898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:00:35] local.INFO: IMEI packet received {"connection_id":160898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":160898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:00:39] local.INFO: TCP Data received {"connection_id":160898,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:00:39] local.INFO: Processing buffer {"connection_id":160898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:00:39] local.INFO: IMEI packet received {"connection_id":160898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":160898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:00:40] local.INFO: TCP Data received {"connection_id":160898,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e61d698012d861e4005c4d7780006008027..."} 
[2026-08-23 17:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e61d698012d861e4005c4d7780006008027..."} 
[2026-08-23 17:00:40] local.INFO: Processing buffer {"connection_id":160898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e61d698012d861e4005c4d7780006008027..."} 
[2026-08-23 17:00:40] local.INFO: Packet analysis {"connection_id":160898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e61"} 
[2026-08-23 17:00:40] local.INFO: Extracted packet for processing {"connection_id":160898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e61"} 
[2026-08-23 17:00:40] local.INFO: GPS Element Parsed {"raw_longitude":763764288,"raw_latitude":96786296,"longitude_deg":76.3764288,"latitude_deg":9.6786296,"altitude":6,"angle":128,"satellites":39,"speed":7,"hex_longitude":"2d861e40","hex_latitude":"05c4d778","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596042752001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122853497937854464,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8785889529524586496,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00: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-08-23 17:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787484559000,"timestamp_ms":1787484559000,"timestamp_seconds":1787484559,"priority":1,"record_length":96,"hex_timestamp":"000001a02e61d698"} 
[2026-08-23 17:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:00: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-08-23 17: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-23 17:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161368694182,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2241347589,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2799108302,"corrected_to":0} 
[2026-08-23 17:00:40] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3489738117,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:40] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718630,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:40] local.WARNING: Large IO value detected {"io_id":217,"raw_value":58077509850759203,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:40] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,216,85,24,241,157,16,118,160,109,45,64,238,7,37,10,66,62,128,255,39,117,15,1,240,227,46,197,4,113,205,21,169,121,136,239,49,217,2,180,5,35],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2799108302,"validated":0}]} 
[2026-08-23 17:00:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360409079680073728,"timestamp_seconds":360409079680073.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 17:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596042752001,"66":13319,"216":206,"85":12288,"24":7,"16":122853497937854464,"45":-8785889529524586496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-23 17:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596042752001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:00:40] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 17:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122853497937854464,"km_value":122853497937854.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8785889529524586496,"description":"Unknown IO ID 45"} 
[2026-08-23 17:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596042752001,"power":13319,"unknown_216":206,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":-8785889529524586496}} 
[2026-08-23 17:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":160898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:00:40] local.INFO: GPS data processed {"connection_id":160898,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:00:40] local.INFO: Acknowledgment sent {"connection_id":160898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:00:51] local.INFO: TCP Data received {"connection_id":161853,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:00:51] local.INFO: Processing buffer {"connection_id":161853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:00:51] local.INFO: IMEI packet received {"connection_id":161853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":161853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:00:56] local.INFO: TCP Data received {"connection_id":161853,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:00:56] local.INFO: Processing buffer {"connection_id":161853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:00:56] local.INFO: IMEI packet received {"connection_id":161853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":161853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:00:57] local.INFO: TCP Data received {"connection_id":161853,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:00:57] local.INFO: Processing buffer {"connection_id":161853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:00:57] local.INFO: Packet analysis {"connection_id":161853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e62"} 
[2026-08-23 17:00:57] local.INFO: Extracted packet for processing {"connection_id":161853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e62"} 
[2026-08-23 17:00:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595982336001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787484607000,"timestamp_ms":1787484607000,"timestamp_seconds":1787484607,"priority":1,"record_length":96,"hex_timestamp":"000001a02e629218"} 
[2026-08-23 17:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 17:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595982336001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595982336001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:00:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:00:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595982336001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":161853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:00:57] local.INFO: GPS data processed {"connection_id":161853,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:00:57] local.INFO: Acknowledgment sent {"connection_id":161853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:01:01] local.INFO: TCP Data received {"connection_id":161853,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:01:01] local.INFO: Processing buffer {"connection_id":161853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:01:01] local.INFO: Packet analysis {"connection_id":161853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e62"} 
[2026-08-23 17:01:01] local.INFO: Extracted packet for processing {"connection_id":161853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e62"} 
[2026-08-23 17:01:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595982336001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787484607000,"timestamp_ms":1787484607000,"timestamp_seconds":1787484607,"priority":1,"record_length":96,"hex_timestamp":"000001a02e629218"} 
[2026-08-23 17:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 17:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595982336001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595982336001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:01:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:01:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595982336001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":161853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:01:01] local.INFO: GPS data processed {"connection_id":161853,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:01:01] local.INFO: Acknowledgment sent {"connection_id":161853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:01:11] local.INFO: TCP Data received {"connection_id":160898,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e61ea20012d86230005c4d4b00006007525..."} 
[2026-08-23 17:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e61ea20012d86230005c4d4b00006007525..."} 
[2026-08-23 17:01:11] local.INFO: Processing buffer {"connection_id":160898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e61ea20012d86230005c4d4b00006007525..."} 
[2026-08-23 17:01:11] local.INFO: Packet analysis {"connection_id":160898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e61"} 
[2026-08-23 17:01:11] local.INFO: Extracted packet for processing {"connection_id":160898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e61"} 
[2026-08-23 17:01:11] local.INFO: GPS Element Parsed {"raw_longitude":763765504,"raw_latitude":96785584,"longitude_deg":76.3765504,"latitude_deg":9.6785584,"altitude":6,"angle":117,"satellites":37,"speed":16,"hex_longitude":"2d862300","hex_latitude":"05c4d4b0","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596047104001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122853566657331200,"note":"Value kept but may cause issues"} 
[2026-08-23 17:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8782511829804419072,"note":"Value kept but may cause issues"} 
[2026-08-23 17:01:11] 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-08-23 17:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787484564000,"timestamp_ms":1787484564000,"timestamp_seconds":1787484564,"priority":1,"record_length":96,"hex_timestamp":"000001a02e61ea20"} 
[2026-08-23 17:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17: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-08-23 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 17:01:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 17:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2242854917,"note":"Value kept but may cause issues"} 
[2026-08-23 17:01:11] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2550214021,"note":"Value kept but may cause issues"} 
[2026-08-23 17:01:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3306719232,"note":"Value kept but may cause issues"} 
[2026-08-23 17:01:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-23 17:01:11] local.WARNING: Large IO value detected {"io_id":117,"raw_value":2617245696,"note":"Value kept but may cause issues"} 
[2026-08-23 17:01:11] local.WARNING: Large IO value detected {"io_id":197,"raw_value":1871245666654168832,"note":"Value kept but may cause issues"} 
[2026-08-23 17:01:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2799173838,"corrected_to":0} 
[2026-08-23 17:01:11] local.WARNING: Large IO value detected {"io_id":199,"raw_value":57885821177320752,"note":"Value kept but may cause issues"} 
[2026-08-23 17:01:11] local.WARNING: Large IO value detected {"io_id":96,"raw_value":-7054887521252098043,"note":"Value kept but may cause issues"} 
[2026-08-23 17:01:11] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,216,85,24,241,157,16,118,160,148,45,64,220,5,38,10,66,109,238,7,37,62,128,1,240,122,227,117,46,197,4,113,205,30,152,144,39,239,49,215,2,180,6,34,199,96],"length":527,"final_offset":657,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2799173838,"validated":0}]} 
[2026-08-23 17:01:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432486469220106240,"timestamp_seconds":432486469220106.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 17:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596047104001,"66":13102,"216":206,"85":12288,"24":16,"16":122853566657331200,"45":-8782511829804419072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-23 17:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596047104001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:01:11] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-23 17:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122853566657331200,"km_value":122853566657331.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8782511829804419072,"description":"Unknown IO ID 45"} 
[2026-08-23 17:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596047104001,"power":13102,"unknown_216":206,"unknown_85":12288,"ignition":16,"odometer":null,"unknown_45":-8782511829804419072}} 
[2026-08-23 17:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":160898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:01:11] local.INFO: GPS data processed {"connection_id":160898,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:01:11] local.INFO: Acknowledgment sent {"connection_id":160898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:01:38] local.INFO: TCP Data received {"connection_id":160899,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:01:38] local.INFO: Processing buffer {"connection_id":160899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:01:38] local.INFO: IMEI packet received {"connection_id":160899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":160899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:01:46] local.INFO: TCP Data received {"connection_id":163251,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:01:46] local.INFO: Processing buffer {"connection_id":163251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:01:46] local.INFO: IMEI packet received {"connection_id":163251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":163251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:01:51] local.INFO: TCP Data received {"connection_id":163251,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:01:51] local.INFO: Processing buffer {"connection_id":163251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:01:51] local.INFO: IMEI packet received {"connection_id":163251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":163251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:01:52] local.INFO: TCP Data received {"connection_id":163251,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:01:52] local.INFO: Processing buffer {"connection_id":163251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:01:52] local.INFO: Packet analysis {"connection_id":163251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e62"} 
[2026-08-23 17:01:52] local.INFO: Extracted packet for processing {"connection_id":163251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e62"} 
[2026-08-23 17:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595982336001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787484607000,"timestamp_ms":1787484607000,"timestamp_seconds":1787484607,"priority":1,"record_length":96,"hex_timestamp":"000001a02e629218"} 
[2026-08-23 17:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 17:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:01:52] 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-08-23 17:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595982336001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595982336001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:01:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595982336001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":163251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:01:52] local.INFO: GPS data processed {"connection_id":163251,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:01:52] local.INFO: Acknowledgment sent {"connection_id":163251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:02:03] local.INFO: TCP Data received {"connection_id":160899,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:02:03] local.INFO: Processing buffer {"connection_id":160899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:02:03] local.INFO: IMEI packet received {"connection_id":160899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":160899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:02:03] local.INFO: TCP Data received {"connection_id":160899,"ip":"42.109.136.8","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 17:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160899,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 17:02:03] local.INFO: Processing buffer {"connection_id":160899,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-23 17:02:03] local.INFO: IMEI packet received {"connection_id":160899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":160899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:02:24] local.INFO: TCP Data received {"connection_id":163251,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:02:24] local.INFO: Processing buffer {"connection_id":163251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:02:24] local.INFO: Packet analysis {"connection_id":163251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e62"} 
[2026-08-23 17:02:24] local.INFO: Extracted packet for processing {"connection_id":163251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e62"} 
[2026-08-23 17:02:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595982336001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787484607000,"timestamp_ms":1787484607000,"timestamp_seconds":1787484607,"priority":1,"record_length":96,"hex_timestamp":"000001a02e629218"} 
[2026-08-23 17:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 17:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:02:24] 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-08-23 17:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595982336001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595982336001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:02:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:02:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595982336001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":163251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:02:24] local.INFO: GPS data processed {"connection_id":163251,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:02:24] local.INFO: Acknowledgment sent {"connection_id":163251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:02:45] local.INFO: TCP Data received {"connection_id":160901,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:02:45] local.INFO: Processing buffer {"connection_id":160901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:02:45] local.INFO: IMEI packet received {"connection_id":160901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":160901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:02:51] local.INFO: TCP Data received {"connection_id":160901,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:02:51] local.INFO: Processing buffer {"connection_id":160901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:02:51] local.INFO: IMEI packet received {"connection_id":160901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":160901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:02:54] local.INFO: TCP Data received {"connection_id":160901,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:02:54] local.INFO: Processing buffer {"connection_id":160901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:02:54] local.INFO: Packet analysis {"connection_id":160901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e62"} 
[2026-08-23 17:02:54] local.INFO: Extracted packet for processing {"connection_id":160901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e62"} 
[2026-08-23 17:02:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595982336001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787484607000,"timestamp_ms":1787484607000,"timestamp_seconds":1787484607,"priority":1,"record_length":96,"hex_timestamp":"000001a02e629218"} 
[2026-08-23 17:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 17:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595982336001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595982336001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:02:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:02:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595982336001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":160901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:02:54] local.INFO: GPS data processed {"connection_id":160901,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:02:54] local.INFO: Acknowledgment sent {"connection_id":160901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:03:25] local.INFO: TCP Data received {"connection_id":160901,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:03:25] local.INFO: Processing buffer {"connection_id":160901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:03:25] local.INFO: Packet analysis {"connection_id":160901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e62"} 
[2026-08-23 17:03:25] local.INFO: Extracted packet for processing {"connection_id":160901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e62"} 
[2026-08-23 17:03:25] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595982336001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787484607000,"timestamp_ms":1787484607000,"timestamp_seconds":1787484607,"priority":1,"record_length":96,"hex_timestamp":"000001a02e629218"} 
[2026-08-23 17:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 17:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595982336001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595982336001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:03:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595982336001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":160901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:03:25] local.INFO: GPS data processed {"connection_id":160901,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:03:25] local.INFO: Acknowledgment sent {"connection_id":160901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:03:34] local.INFO: TCP Data received {"connection_id":160902,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:03:34] local.INFO: Processing buffer {"connection_id":160902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:03:34] local.INFO: IMEI packet received {"connection_id":160902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":160902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:03:35] local.INFO: TCP Data received {"connection_id":160902,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e63b328012d19558007200b80003f005d2a..."} 
[2026-08-23 17:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e63b328012d19558007200b80003f005d2a..."} 
[2026-08-23 17:03:35] local.INFO: Processing buffer {"connection_id":160902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e63b328012d19558007200b80003f005d2a..."} 
[2026-08-23 17:03:35] local.INFO: Packet analysis {"connection_id":160902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e63"} 
[2026-08-23 17:03:35] local.INFO: Extracted packet for processing {"connection_id":160902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e63"} 
[2026-08-23 17:03:35] local.INFO: GPS Element Parsed {"raw_longitude":756635008,"raw_latitude":119540608,"longitude_deg":75.6635008,"latitude_deg":11.9540608,"altitude":63,"angle":93,"satellites":42,"speed":7,"hex_longitude":"2d195580","hex_latitude":"07200b80","is_valid_coordinates":true} 
[2026-08-23 17:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596078080001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15639449098518528,"note":"Value kept but may cause issues"} 
[2026-08-23 17:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825294885826816000,"note":"Value kept but may cause issues"} 
[2026-08-23 17:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787484681000,"timestamp_ms":1787484681000,"timestamp_seconds":1787484681,"priority":1,"record_length":96,"hex_timestamp":"000001a02e63b328"} 
[2026-08-23 17:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-23 17:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596078080001,"66":12852,"102":206,"83":41984,"24":7,"16":15639449098518528,"45":1825294885826816000},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 17:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596078080001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:03:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 17:03:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15639449098518528,"km_value":15639449098518.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825294885826816000,"description":"Unknown IO ID 45"} 
[2026-08-23 17:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596078080001,"power":12852,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1825294885826816000}} 
[2026-08-23 17:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":160902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:03:35] local.INFO: GPS data processed {"connection_id":160902,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:03:35] local.INFO: Acknowledgment sent {"connection_id":160902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:03:45] local.INFO: TCP Data received {"connection_id":160658,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:03:45] local.INFO: Processing buffer {"connection_id":160658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:03:45] local.INFO: IMEI packet received {"connection_id":160658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":160658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:03:51] local.INFO: TCP Data received {"connection_id":160658,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:03:51] local.INFO: Processing buffer {"connection_id":160658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:03:51] local.INFO: IMEI packet received {"connection_id":160658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":160658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:03:52] local.INFO: TCP Data received {"connection_id":160658,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:03:52] local.INFO: Processing buffer {"connection_id":160658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:03:52] local.INFO: Packet analysis {"connection_id":160658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e62"} 
[2026-08-23 17:03:52] local.INFO: Extracted packet for processing {"connection_id":160658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e62"} 
[2026-08-23 17:03:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595982336001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787484607000,"timestamp_ms":1787484607000,"timestamp_seconds":1787484607,"priority":1,"record_length":96,"hex_timestamp":"000001a02e629218"} 
[2026-08-23 17:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 17:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595982336001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595982336001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:03:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:03:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595982336001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":160658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:03:52] local.INFO: GPS data processed {"connection_id":160658,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:03:52] local.INFO: Acknowledgment sent {"connection_id":160658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:04:06] local.INFO: TCP Data received {"connection_id":160902,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e640530012d19578007200b88003f005d2a..."} 
[2026-08-23 17:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e640530012d19578007200b88003f005d2a..."} 
[2026-08-23 17:04:06] local.INFO: Processing buffer {"connection_id":160902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e640530012d19578007200b88003f005d2a..."} 
[2026-08-23 17:04:06] local.INFO: Packet analysis {"connection_id":160902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e64"} 
[2026-08-23 17:04:06] local.INFO: Extracted packet for processing {"connection_id":160902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e64"} 
[2026-08-23 17:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756635520,"raw_latitude":119540616,"longitude_deg":75.663552,"latitude_deg":11.9540616,"altitude":63,"angle":93,"satellites":42,"speed":0,"hex_longitude":"2d195780","hex_latitude":"07200b88","is_valid_coordinates":true} 
[2026-08-23 17:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596078336001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15639474868322304,"note":"Value kept but may cause issues"} 
[2026-08-23 17:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825505992059355136,"note":"Value kept but may cause issues"} 
[2026-08-23 17:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787484702000,"timestamp_ms":1787484702000,"timestamp_seconds":1787484702,"priority":1,"record_length":96,"hex_timestamp":"000001a02e640530"} 
[2026-08-23 17:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-23 17:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596078336001,"66":12928,"102":206,"83":41984,"24":0,"16":15639474868322304,"45":1825505992059355136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 17:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596078336001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:04:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 17:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15639474868322304,"km_value":15639474868322.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825505992059355136,"description":"Unknown IO ID 45"} 
[2026-08-23 17:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596078336001,"power":12928,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825505992059355136}} 
[2026-08-23 17:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":160902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:04:06] local.INFO: GPS data processed {"connection_id":160902,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:04:06] local.INFO: Acknowledgment sent {"connection_id":160902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:04:23] local.INFO: TCP Data received {"connection_id":160658,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:04:23] local.INFO: Processing buffer {"connection_id":160658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:04:23] local.INFO: Packet analysis {"connection_id":160658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e62"} 
[2026-08-23 17:04:23] local.INFO: Extracted packet for processing {"connection_id":160658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e62"} 
[2026-08-23 17:04:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595982336001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787484607000,"timestamp_ms":1787484607000,"timestamp_seconds":1787484607,"priority":1,"record_length":96,"hex_timestamp":"000001a02e629218"} 
[2026-08-23 17:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:04: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-08-23 17:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 17:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595982336001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595982336001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:04:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:04:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595982336001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":160658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:04:23] local.INFO: GPS data processed {"connection_id":160658,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:04:23] local.INFO: Acknowledgment sent {"connection_id":160658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:04:26] local.INFO: TCP Data received {"connection_id":161855,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:04:26] local.INFO: Processing buffer {"connection_id":161855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:04:26] local.INFO: IMEI packet received {"connection_id":161855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":161855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:04:29] local.INFO: TCP Data received {"connection_id":161855,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:04:29] local.INFO: Processing buffer {"connection_id":161855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:04:29] local.INFO: IMEI packet received {"connection_id":161855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":161855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:04:34] local.INFO: TCP Data received {"connection_id":161855,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:04:34] local.INFO: Processing buffer {"connection_id":161855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:04:34] local.INFO: IMEI packet received {"connection_id":161855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":161855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:04:35] local.INFO: TCP Data received {"connection_id":161855,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e645738012d19578007200b88003f005d28..."} 
[2026-08-23 17:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e645738012d19578007200b88003f005d28..."} 
[2026-08-23 17:04:35] local.INFO: Processing buffer {"connection_id":161855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e645738012d19578007200b88003f005d28..."} 
[2026-08-23 17:04:35] local.INFO: Packet analysis {"connection_id":161855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e64"} 
[2026-08-23 17:04:35] local.INFO: Extracted packet for processing {"connection_id":161855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e64"} 
[2026-08-23 17:04:35] local.INFO: GPS Element Parsed {"raw_longitude":756635520,"raw_latitude":119540616,"longitude_deg":75.663552,"latitude_deg":11.9540616,"altitude":63,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d195780","hex_latitude":"07200b88","is_valid_coordinates":true} 
[2026-08-23 17:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596083712001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15639474868322304,"note":"Value kept but may cause issues"} 
[2026-08-23 17:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826068942012778496,"note":"Value kept but may cause issues"} 
[2026-08-23 17:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787484723000,"timestamp_ms":1787484723000,"timestamp_seconds":1787484723,"priority":1,"record_length":96,"hex_timestamp":"000001a02e645738"} 
[2026-08-23 17:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-23 17:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596083712001,"66":12917,"102":206,"83":41984,"24":0,"16":15639474868322304,"45":1826068942012778496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 17:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596083712001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:04:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 17:04:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15639474868322304,"km_value":15639474868322.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826068942012778496,"description":"Unknown IO ID 45"} 
[2026-08-23 17:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596083712001,"power":12917,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1826068942012778496}} 
[2026-08-23 17:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":161855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:04:35] local.INFO: GPS data processed {"connection_id":161855,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:04:35] local.INFO: Acknowledgment sent {"connection_id":161855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:04:51] local.INFO: TCP Data received {"connection_id":160903,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:04:51] local.INFO: Processing buffer {"connection_id":160903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:04:51] local.INFO: IMEI packet received {"connection_id":160903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":160903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:04:56] local.INFO: TCP Data received {"connection_id":160903,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:04:56] local.INFO: Processing buffer {"connection_id":160903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:04:56] local.INFO: IMEI packet received {"connection_id":160903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":160903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:04:56] local.INFO: TCP Data received {"connection_id":160903,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:04:56] local.INFO: Processing buffer {"connection_id":160903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:04:56] local.INFO: Packet analysis {"connection_id":160903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e62"} 
[2026-08-23 17:04:56] local.INFO: Extracted packet for processing {"connection_id":160903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e62"} 
[2026-08-23 17:04:56] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595982336001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787484607000,"timestamp_ms":1787484607000,"timestamp_seconds":1787484607,"priority":1,"record_length":96,"hex_timestamp":"000001a02e629218"} 
[2026-08-23 17:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 17:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595982336001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595982336001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:04:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:04:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595982336001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":160903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:04:56] local.INFO: GPS data processed {"connection_id":160903,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:04:56] local.INFO: Acknowledgment sent {"connection_id":160903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:05:01] local.INFO: TCP Data received {"connection_id":160903,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:05:01] local.INFO: Processing buffer {"connection_id":160903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e629218012d34c50006aa4098000c008520..."} 
[2026-08-23 17:05:01] local.INFO: Packet analysis {"connection_id":160903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e62"} 
[2026-08-23 17:05:01] local.INFO: Extracted packet for processing {"connection_id":160903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e62"} 
[2026-08-23 17:05:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457595982336001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787484607000,"timestamp_ms":1787484607000,"timestamp_seconds":1787484607,"priority":1,"record_length":96,"hex_timestamp":"000001a02e629218"} 
[2026-08-23 17:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 17:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457595982336001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457595982336001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:05:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:05:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457595982336001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":160903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:05:01] local.INFO: GPS data processed {"connection_id":160903,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:05:01] local.INFO: Acknowledgment sent {"connection_id":160903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:05:06] local.INFO: TCP Data received {"connection_id":161855,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e64a940012d19578007200b88003f005d29..."} 
[2026-08-23 17:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e64a940012d19578007200b88003f005d29..."} 
[2026-08-23 17:05:06] local.INFO: Processing buffer {"connection_id":161855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e64a940012d19578007200b88003f005d29..."} 
[2026-08-23 17:05:06] local.INFO: Packet analysis {"connection_id":161855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e64"} 
[2026-08-23 17:05:06] local.INFO: Extracted packet for processing {"connection_id":161855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e64"} 
[2026-08-23 17:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756635520,"raw_latitude":119540616,"longitude_deg":75.663552,"latitude_deg":11.9540616,"altitude":63,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d195780","hex_latitude":"07200b88","is_valid_coordinates":true} 
[2026-08-23 17:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596089088001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15639474868322304,"note":"Value kept but may cause issues"} 
[2026-08-23 17:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826068942012778496,"note":"Value kept but may cause issues"} 
[2026-08-23 17:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787484744000,"timestamp_ms":1787484744000,"timestamp_seconds":1787484744,"priority":1,"record_length":96,"hex_timestamp":"000001a02e64a940"} 
[2026-08-23 17:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 17:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596089088001,"66":12809,"102":206,"83":41984,"24":0,"16":15639474868322304,"45":1826068942012778496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 17:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596089088001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:05:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 17:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15639474868322304,"km_value":15639474868322.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826068942012778496,"description":"Unknown IO ID 45"} 
[2026-08-23 17:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596089088001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1826068942012778496}} 
[2026-08-23 17:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":161855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:05:06] local.INFO: GPS data processed {"connection_id":161855,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:05:06] local.INFO: Acknowledgment sent {"connection_id":161855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:05:29] local.INFO: TCP Data received {"connection_id":160904,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:05:29] local.INFO: Processing buffer {"connection_id":160904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:05:29] local.INFO: IMEI packet received {"connection_id":160904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":160904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:05:34] local.INFO: TCP Data received {"connection_id":160904,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:05:34] local.INFO: Processing buffer {"connection_id":160904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:05:34] local.INFO: IMEI packet received {"connection_id":160904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":160904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:05:35] local.INFO: TCP Data received {"connection_id":160904,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e64fb48012d19578007200b88003f005d29..."} 
[2026-08-23 17:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e64fb48012d19578007200b88003f005d29..."} 
[2026-08-23 17:05:35] local.INFO: Processing buffer {"connection_id":160904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e64fb48012d19578007200b88003f005d29..."} 
[2026-08-23 17:05:35] local.INFO: Packet analysis {"connection_id":160904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e64"} 
[2026-08-23 17:05:35] local.INFO: Extracted packet for processing {"connection_id":160904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e64"} 
[2026-08-23 17:05:35] local.INFO: GPS Element Parsed {"raw_longitude":756635520,"raw_latitude":119540616,"longitude_deg":75.663552,"latitude_deg":11.9540616,"altitude":63,"angle":93,"satellites":41,"speed":0,"hex_longitude":"2d195780","hex_latitude":"07200b88","is_valid_coordinates":true} 
[2026-08-23 17:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596094464001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15639474868322304,"note":"Value kept but may cause issues"} 
[2026-08-23 17:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826068942012778496,"note":"Value kept but may cause issues"} 
[2026-08-23 17:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787484765000,"timestamp_ms":1787484765000,"timestamp_seconds":1787484765,"priority":1,"record_length":96,"hex_timestamp":"000001a02e64fb48"} 
[2026-08-23 17:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-23 17:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":648518346509124608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:05:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 17:05:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 17:05:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 17:05:35] local.WARNING: Large IO value detected {"io_id":143,"raw_value":4278190080,"note":"Value kept but may cause issues"} 
[2026-08-23 17:05:35] local.WARNING: Large IO value detected {"io_id":46,"raw_value":7165438118430592832,"note":"Value kept but may cause issues"} 
[2026-08-23 17:05:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 17:05:35] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512585446470061,"note":"Value kept but may cause issues"} 
[2026-08-23 17:05:35] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2415591424,"note":"Value kept but may cause issues"} 
[2026-08-23 17:05:35] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2305165711091176744,"note":"Value kept but may cause issues"} 
[2026-08-23 17:05:35] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-08-23 17:05:35] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,102,83,24,241,157,16,144,160,87,45,128,11,63,40,10,66,5,42,179,1,240,52,227,143,46,32,4,113,205,9,171,84,8,239,50,2,55,7,164,248],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 17:05:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539730855064502272,"timestamp_seconds":4539730855064502.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 17:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596094464001,"66":12809,"102":206,"83":41984,"24":0,"16":15639474868322304,"45":1826068942012778496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 17:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596094464001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:05:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 17:05:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15639474868322304,"km_value":15639474868322.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826068942012778496,"description":"Unknown IO ID 45"} 
[2026-08-23 17:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596094464001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1826068942012778496}} 
[2026-08-23 17:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":160904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:05:35] local.INFO: GPS data processed {"connection_id":160904,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:05:35] local.INFO: Acknowledgment sent {"connection_id":160904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:05:46] local.INFO: TCP Data received {"connection_id":161856,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:05:46] local.INFO: Processing buffer {"connection_id":161856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:05:46] local.INFO: IMEI packet received {"connection_id":161856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":161856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:05:46] local.INFO: TCP Data received {"connection_id":161856,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:05:46] local.INFO: Processing buffer {"connection_id":161856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:05:46] local.INFO: IMEI packet received {"connection_id":161856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":161856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:05:47] local.INFO: TCP Data received {"connection_id":161856,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:05:47] local.INFO: Processing buffer {"connection_id":161856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:05:47] local.INFO: Packet analysis {"connection_id":161856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e67"} 
[2026-08-23 17:05:47] local.INFO: Extracted packet for processing {"connection_id":161856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e67"} 
[2026-08-23 17:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596059392001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787484908000,"timestamp_ms":1787484908000,"timestamp_seconds":1787484908,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6729e0"} 
[2026-08-23 17:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:05: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-08-23 17: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 17:05:47] 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-08-23 17: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-08-23 17:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:05: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-08-23 17:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596059392001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596059392001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:05:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:05:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596059392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":161856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:05:47] local.INFO: GPS data processed {"connection_id":161856,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:05:47] local.INFO: Acknowledgment sent {"connection_id":161856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:06:06] local.INFO: TCP Data received {"connection_id":160904,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e654d50012d19578007200b88003f005d28..."} 
[2026-08-23 17:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e654d50012d19578007200b88003f005d28..."} 
[2026-08-23 17:06:06] local.INFO: Processing buffer {"connection_id":160904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e654d50012d19578007200b88003f005d28..."} 
[2026-08-23 17:06:06] local.INFO: Packet analysis {"connection_id":160904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e65"} 
[2026-08-23 17:06:06] local.INFO: Extracted packet for processing {"connection_id":160904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e65"} 
[2026-08-23 17:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756635520,"raw_latitude":119540616,"longitude_deg":75.663552,"latitude_deg":11.9540616,"altitude":63,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d195780","hex_latitude":"07200b88","is_valid_coordinates":true} 
[2026-08-23 17:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596099840001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15639474868322304,"note":"Value kept but may cause issues"} 
[2026-08-23 17:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826068942012778496,"note":"Value kept but may cause issues"} 
[2026-08-23 17:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787484786000,"timestamp_ms":1787484786000,"timestamp_seconds":1787484786,"priority":1,"record_length":96,"hex_timestamp":"000001a02e654d50"} 
[2026-08-23 17:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-23 17:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720575940547052544,"note":"Value kept but may cause issues"} 
[2026-08-23 17:06:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 17:06:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 17:06:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 17:06:06] local.WARNING: Large IO value detected {"io_id":46,"raw_value":7180831281219457856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:06:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 17:06:06] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2308763313154039848,"note":"Value kept but may cause issues"} 
[2026-08-23 17:06:06] local.WARNING: Large IO value detected {"io_id":84,"raw_value":3221692427,"note":"Value kept but may cause issues"} 
[2026-08-23 17:06:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512585446470061,"note":"Value kept but may cause issues"} 
[2026-08-23 17:06:06] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2415722496,"note":"Value kept but may cause issues"} 
[2026-08-23 17:06:06] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-08-23 17:06:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,144,160,169,45,128,11,63,41,10,66,87,40,5,1,240,227,46,32,4,113,205,7,175,84,104,239,50,2,55,9,164,251],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 17:06:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539730855064502272,"timestamp_seconds":4539730855064502.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 17:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596099840001,"66":12743,"102":206,"83":41984,"24":0,"16":15639474868322304,"45":1826068942012778496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 17:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596099840001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:06:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 17:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15639474868322304,"km_value":15639474868322.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826068942012778496,"description":"Unknown IO ID 45"} 
[2026-08-23 17:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596099840001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1826068942012778496}} 
[2026-08-23 17:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":160904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:06:06] local.INFO: GPS data processed {"connection_id":160904,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:06:06] local.INFO: Acknowledgment sent {"connection_id":160904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:06:19] local.INFO: TCP Data received {"connection_id":161856,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:06:19] local.INFO: Processing buffer {"connection_id":161856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:06:19] local.INFO: Packet analysis {"connection_id":161856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e67"} 
[2026-08-23 17:06:19] local.INFO: Extracted packet for processing {"connection_id":161856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e67"} 
[2026-08-23 17:06:19] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596059392001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787484908000,"timestamp_ms":1787484908000,"timestamp_seconds":1787484908,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6729e0"} 
[2026-08-23 17:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:06: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-08-23 17: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 17:06: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-08-23 17: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-08-23 17:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:06:19] 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-08-23 17:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596059392001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596059392001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:06:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:06:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596059392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":161856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:06:19] local.INFO: GPS data processed {"connection_id":161856,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:06:19] local.INFO: Acknowledgment sent {"connection_id":161856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:06:29] local.INFO: TCP Data received {"connection_id":160659,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:06:29] local.INFO: Processing buffer {"connection_id":160659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:06:29] local.INFO: IMEI packet received {"connection_id":160659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":160659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:06:34] local.INFO: TCP Data received {"connection_id":160659,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:06:34] local.INFO: Processing buffer {"connection_id":160659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:06:34] local.INFO: IMEI packet received {"connection_id":160659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":160659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:06:35] local.INFO: TCP Data received {"connection_id":160659,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e659f58012d19578007200b88003f005d26..."} 
[2026-08-23 17:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e659f58012d19578007200b88003f005d26..."} 
[2026-08-23 17:06:35] local.INFO: Processing buffer {"connection_id":160659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e659f58012d19578007200b88003f005d26..."} 
[2026-08-23 17:06:35] local.INFO: Packet analysis {"connection_id":160659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e65"} 
[2026-08-23 17:06:35] local.INFO: Extracted packet for processing {"connection_id":160659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e65"} 
[2026-08-23 17:06:35] local.INFO: GPS Element Parsed {"raw_longitude":756635520,"raw_latitude":119540616,"longitude_deg":75.663552,"latitude_deg":11.9540616,"altitude":63,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2d195780","hex_latitude":"07200b88","is_valid_coordinates":true} 
[2026-08-23 17:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596105216001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15639474868322304,"note":"Value kept but may cause issues"} 
[2026-08-23 17:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826068942012778496,"note":"Value kept but may cause issues"} 
[2026-08-23 17:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787484807000,"timestamp_ms":1787484807000,"timestamp_seconds":1787484807,"priority":1,"record_length":96,"hex_timestamp":"000001a02e659f58"} 
[2026-08-23 17:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-23 17:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596105216001,"66":12776,"102":206,"83":41984,"24":0,"16":15639474868322304,"45":1826068942012778496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 17:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596105216001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:06:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 17:06:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15639474868322304,"km_value":15639474868322.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826068942012778496,"description":"Unknown IO ID 45"} 
[2026-08-23 17:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596105216001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1826068942012778496}} 
[2026-08-23 17:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":160659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:06:35] local.INFO: GPS data processed {"connection_id":160659,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:06:35] local.INFO: Acknowledgment sent {"connection_id":160659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:06:51] local.INFO: TCP Data received {"connection_id":163256,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:06:51] local.INFO: Processing buffer {"connection_id":163256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:06:51] local.INFO: IMEI packet received {"connection_id":163256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":163256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:06:56] local.INFO: TCP Data received {"connection_id":163256,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:06:56] local.INFO: Processing buffer {"connection_id":163256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:06:56] local.INFO: IMEI packet received {"connection_id":163256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":163256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:06:56] local.INFO: TCP Data received {"connection_id":163256,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:06:56] local.INFO: Processing buffer {"connection_id":163256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:06:56] local.INFO: Packet analysis {"connection_id":163256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e67"} 
[2026-08-23 17:06:56] local.INFO: Extracted packet for processing {"connection_id":163256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e67"} 
[2026-08-23 17:06:56] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596059392001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787484908000,"timestamp_ms":1787484908000,"timestamp_seconds":1787484908,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6729e0"} 
[2026-08-23 17:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 17:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596059392001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596059392001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:06:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:06:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596059392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":163256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:06:57] local.INFO: GPS data processed {"connection_id":163256,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:06:57] local.INFO: Acknowledgment sent {"connection_id":163256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:07:04] local.INFO: TCP Data received {"connection_id":163255,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:07:04] local.INFO: Processing buffer {"connection_id":163255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:07:04] local.INFO: IMEI packet received {"connection_id":163255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":163255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:07:05] local.INFO: TCP Data received {"connection_id":163255,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6587e8012d87d90005c4cf380005005226..."} 
[2026-08-23 17:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6587e8012d87d90005c4cf380005005226..."} 
[2026-08-23 17:07:05] local.INFO: Processing buffer {"connection_id":163255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6587e8012d87d90005c4cf380005005226..."} 
[2026-08-23 17:07:05] local.INFO: Packet analysis {"connection_id":163255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e65"} 
[2026-08-23 17:07:05] local.INFO: Extracted packet for processing {"connection_id":163255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e65"} 
[2026-08-23 17:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763877632,"raw_latitude":96784184,"longitude_deg":76.3877632,"latitude_deg":9.6784184,"altitude":5,"angle":82,"satellites":38,"speed":0,"hex_longitude":"2d87d900","hex_latitude":"05c4cf38","is_valid_coordinates":true} 
[2026-08-23 17:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596103680001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122859622561218560,"note":"Value kept but may cause issues"} 
[2026-08-23 17:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8658522102563942400,"note":"Value kept but may cause issues"} 
[2026-08-23 17:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787484801000,"timestamp_ms":1787484801000,"timestamp_seconds":1787484801,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6587e8"} 
[2026-08-23 17:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-23 17:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596103680001,"66":12461,"191":206,"85":12288,"24":0,"16":122859622561218560,"45":-8658522102563942400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596103680001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:07:05] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:07:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122859622561218560,"km_value":122859622561218.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8658522102563942400,"description":"Unknown IO ID 45"} 
[2026-08-23 17:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596103680001,"power":12461,"unknown_191":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8658522102563942400}} 
[2026-08-23 17:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":163255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687808,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:07:05] local.INFO: GPS data processed {"connection_id":163255,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:07:05] local.INFO: Acknowledgment sent {"connection_id":163255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:07:06] local.INFO: TCP Data received {"connection_id":160659,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e65f160012d19578007200b88003f005d25..."} 
[2026-08-23 17:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e65f160012d19578007200b88003f005d25..."} 
[2026-08-23 17:07:06] local.INFO: Processing buffer {"connection_id":160659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e65f160012d19578007200b88003f005d25..."} 
[2026-08-23 17:07:06] local.INFO: Packet analysis {"connection_id":160659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e65"} 
[2026-08-23 17:07:06] local.INFO: Extracted packet for processing {"connection_id":160659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e65"} 
[2026-08-23 17:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756635520,"raw_latitude":119540616,"longitude_deg":75.663552,"latitude_deg":11.9540616,"altitude":63,"angle":93,"satellites":37,"speed":0,"hex_longitude":"2d195780","hex_latitude":"07200b88","is_valid_coordinates":true} 
[2026-08-23 17:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596110592001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15639474868322304,"note":"Value kept but may cause issues"} 
[2026-08-23 17:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826068942012778496,"note":"Value kept but may cause issues"} 
[2026-08-23 17:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787484828000,"timestamp_ms":1787484828000,"timestamp_seconds":1787484828,"priority":1,"record_length":96,"hex_timestamp":"000001a02e65f160"} 
[2026-08-23 17:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-23 17:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596110592001,"66":12113,"102":206,"83":41984,"24":0,"16":15639474868322304,"45":1826068942012778496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 17:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596110592001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:07:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 17:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15639474868322304,"km_value":15639474868322.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826068942012778496,"description":"Unknown IO ID 45"} 
[2026-08-23 17:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596110592001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1826068942012778496}} 
[2026-08-23 17:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":160659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:07:06] local.INFO: GPS data processed {"connection_id":160659,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:07:06] local.INFO: Acknowledgment sent {"connection_id":160659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:07:28] local.INFO: TCP Data received {"connection_id":163256,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:07:28] local.INFO: Processing buffer {"connection_id":163256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:07:28] local.INFO: Packet analysis {"connection_id":163256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e67"} 
[2026-08-23 17:07:28] local.INFO: Extracted packet for processing {"connection_id":163256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e67"} 
[2026-08-23 17:07:28] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596059392001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787484908000,"timestamp_ms":1787484908000,"timestamp_seconds":1787484908,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6729e0"} 
[2026-08-23 17:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 17:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596059392001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596059392001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:07:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:07:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596059392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":163256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:07:28] local.INFO: GPS data processed {"connection_id":163256,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:07:28] local.INFO: Acknowledgment sent {"connection_id":163256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:07:29] local.INFO: TCP Data received {"connection_id":161857,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:07:29] local.INFO: Processing buffer {"connection_id":161857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:07:29] local.INFO: IMEI packet received {"connection_id":161857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":161857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:07:34] local.INFO: TCP Data received {"connection_id":161857,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:07:34] local.INFO: TCP Data received {"connection_id":163257,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:07:34] local.INFO: Processing buffer {"connection_id":161857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:07:34] local.INFO: IMEI packet received {"connection_id":161857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":161857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:07:34] local.INFO: Processing buffer {"connection_id":163257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:07:34] local.INFO: IMEI packet received {"connection_id":163257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":163257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:07:34] local.INFO: TCP Data received {"connection_id":163257,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:07:34] local.INFO: Processing buffer {"connection_id":163257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:07:34] local.INFO: IMEI packet received {"connection_id":163257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":163257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:07:35] local.INFO: TCP Data received {"connection_id":161857,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e664368012d19578007200b88003f005d28..."} 
[2026-08-23 17:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e664368012d19578007200b88003f005d28..."} 
[2026-08-23 17:07:35] local.INFO: Processing buffer {"connection_id":161857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e664368012d19578007200b88003f005d28..."} 
[2026-08-23 17:07:35] local.INFO: Packet analysis {"connection_id":161857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e66"} 
[2026-08-23 17:07:35] local.INFO: Extracted packet for processing {"connection_id":161857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e66"} 
[2026-08-23 17:07:35] local.INFO: GPS Element Parsed {"raw_longitude":756635520,"raw_latitude":119540616,"longitude_deg":75.663552,"latitude_deg":11.9540616,"altitude":63,"angle":93,"satellites":40,"speed":0,"hex_longitude":"2d195780","hex_latitude":"07200b88","is_valid_coordinates":true} 
[2026-08-23 17:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596115968001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15639474868322304,"note":"Value kept but may cause issues"} 
[2026-08-23 17:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826068942012778496,"note":"Value kept but may cause issues"} 
[2026-08-23 17:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787484849000,"timestamp_ms":1787484849000,"timestamp_seconds":1787484849,"priority":1,"record_length":96,"hex_timestamp":"000001a02e664368"} 
[2026-08-23 17:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-23 17:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596115968001,"66":12406,"102":206,"83":41984,"24":0,"16":15639474868322304,"45":1826068942012778496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 17:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596115968001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:07:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 17:07:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15639474868322304,"km_value":15639474868322.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826068942012778496,"description":"Unknown IO ID 45"} 
[2026-08-23 17:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596115968001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1826068942012778496}} 
[2026-08-23 17:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":161857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:07:35] local.INFO: GPS data processed {"connection_id":161857,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:07:35] local.INFO: Acknowledgment sent {"connection_id":161857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:07:39] local.INFO: TCP Data received {"connection_id":163257,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:07:39] local.INFO: Processing buffer {"connection_id":163257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:07:39] local.INFO: IMEI packet received {"connection_id":163257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":163257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:07:40] local.INFO: TCP Data received {"connection_id":163257,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e65d9f0012d87e08005c4d0b00005004f27..."} 
[2026-08-23 17:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e65d9f0012d87e08005c4d0b00005004f27..."} 
[2026-08-23 17:07:40] local.INFO: Processing buffer {"connection_id":163257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e65d9f0012d87e08005c4d0b00005004f27..."} 
[2026-08-23 17:07:40] local.INFO: Packet analysis {"connection_id":163257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e65"} 
[2026-08-23 17:07:40] local.INFO: Extracted packet for processing {"connection_id":163257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e65"} 
[2026-08-23 17:07:40] local.INFO: GPS Element Parsed {"raw_longitude":763879552,"raw_latitude":96784560,"longitude_deg":76.3879552,"latitude_deg":9.678456,"altitude":5,"angle":79,"satellites":39,"speed":4,"hex_longitude":"2d87e080","hex_latitude":"05c4d0b0","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596109056001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122859717050499072,"note":"Value kept but may cause issues"} 
[2026-08-23 17:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8657888783866316800,"note":"Value kept but may cause issues"} 
[2026-08-23 17:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787484822000,"timestamp_ms":1787484822000,"timestamp_seconds":1787484822,"priority":1,"record_length":96,"hex_timestamp":"000001a02e65d9f0"} 
[2026-08-23 17:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:07: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-08-23 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 17:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596109056001,"66":12961,"191":206,"85":12288,"24":4,"16":122859717050499072,"45":-8657888783866316800},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596109056001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:07:40] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122859717050499072,"km_value":122859717050499.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8657888783866316800,"description":"Unknown IO ID 45"} 
[2026-08-23 17:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596109056001,"power":12961,"unknown_191":206,"unknown_85":12288,"ignition":4,"odometer":null,"unknown_45":-8657888783866316800}} 
[2026-08-23 17:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":163257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:07:40] local.INFO: GPS data processed {"connection_id":163257,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:07:40] local.INFO: Acknowledgment sent {"connection_id":163257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:07:46] local.INFO: TCP Data received {"connection_id":163258,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:07:46] local.INFO: Processing buffer {"connection_id":163258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:07:46] local.INFO: IMEI packet received {"connection_id":163258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":163258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:07:51] local.INFO: TCP Data received {"connection_id":163258,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:07:51] local.INFO: Processing buffer {"connection_id":163258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:07:51] local.INFO: IMEI packet received {"connection_id":163258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":163258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:07:52] local.INFO: TCP Data received {"connection_id":163258,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:07:52] local.INFO: Processing buffer {"connection_id":163258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:07:52] local.INFO: Packet analysis {"connection_id":163258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e67"} 
[2026-08-23 17:07:52] local.INFO: Extracted packet for processing {"connection_id":163258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e67"} 
[2026-08-23 17:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596059392001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787484908000,"timestamp_ms":1787484908000,"timestamp_seconds":1787484908,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6729e0"} 
[2026-08-23 17:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 17:07:52] 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-08-23 17:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:07:52] 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-08-23 17:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596059392001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596059392001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:07:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596059392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":163258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:07:52] local.INFO: GPS data processed {"connection_id":163258,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:07:52] local.INFO: Acknowledgment sent {"connection_id":163258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:08:06] local.INFO: TCP Data received {"connection_id":161857,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e665ec0012d1959c007200da80040001c2a..."} 
[2026-08-23 17:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e665ec0012d1959c007200da80040001c2a..."} 
[2026-08-23 17:08:06] local.INFO: Processing buffer {"connection_id":161857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e665ec0012d1959c007200da80040001c2a..."} 
[2026-08-23 17:08:06] local.INFO: Packet analysis {"connection_id":161857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e66"} 
[2026-08-23 17:08:06] local.INFO: Extracted packet for processing {"connection_id":161857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e66"} 
[2026-08-23 17:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756636096,"raw_latitude":119541160,"longitude_deg":75.6636096,"latitude_deg":11.954116,"altitude":64,"angle":28,"satellites":42,"speed":6,"hex_longitude":"2d1959c0","hex_latitude":"07200da8","is_valid_coordinates":true} 
[2026-08-23 17:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596121344001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15639517817995264,"note":"Value kept but may cause issues"} 
[2026-08-23 17:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826068942012778496,"note":"Value kept but may cause issues"} 
[2026-08-23 17:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787484856000,"timestamp_ms":1787484856000,"timestamp_seconds":1787484856,"priority":1,"record_length":96,"hex_timestamp":"000001a02e665ec0"} 
[2026-08-23 17:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596121344001,"66":12385,"103":206,"83":41984,"24":6,"16":15639517817995264,"45":1826068942012778496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 17:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596121344001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:08:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 17:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15639517817995264,"km_value":15639517817995.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826068942012778496,"description":"Unknown IO ID 45"} 
[2026-08-23 17:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596121344001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1826068942012778496}} 
[2026-08-23 17:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":161857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:08:06] local.INFO: GPS data processed {"connection_id":161857,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:08:06] local.INFO: Acknowledgment sent {"connection_id":161857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:08:11] local.INFO: TCP Data received {"connection_id":163257,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e662bf8012d87eb4005c4d3000005005027..."} 
[2026-08-23 17:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e662bf8012d87eb4005c4d3000005005027..."} 
[2026-08-23 17:08:11] local.INFO: Processing buffer {"connection_id":163257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e662bf8012d87eb4005c4d3000005005027..."} 
[2026-08-23 17:08:11] local.INFO: Packet analysis {"connection_id":163257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e66"} 
[2026-08-23 17:08:11] local.INFO: Extracted packet for processing {"connection_id":163257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e66"} 
[2026-08-23 17:08:11] local.INFO: GPS Element Parsed {"raw_longitude":763882304,"raw_latitude":96785152,"longitude_deg":76.3882304,"latitude_deg":9.6785152,"altitude":5,"angle":80,"satellites":39,"speed":4,"hex_longitude":"2d87eb40","hex_latitude":"05c4d300","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596114432001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122859850194485248,"note":"Value kept but may cause issues"} 
[2026-08-23 17:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8655777721540890624,"note":"Value kept but may cause issues"} 
[2026-08-23 17:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787484843000,"timestamp_ms":1787484843000,"timestamp_seconds":1787484843,"priority":1,"record_length":96,"hex_timestamp":"000001a02e662bf8"} 
[2026-08-23 17:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 17:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596114432001,"66":12765,"191":206,"85":12288,"24":4,"16":122859850194485248,"45":-8655777721540890624},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596114432001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:08:11] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122859850194485248,"km_value":122859850194485.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8655777721540890624,"description":"Unknown IO ID 45"} 
[2026-08-23 17:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596114432001,"power":12765,"unknown_191":206,"unknown_85":12288,"ignition":4,"odometer":null,"unknown_45":-8655777721540890624}} 
[2026-08-23 17:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":163257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:08:11] local.INFO: GPS data processed {"connection_id":163257,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:08:11] local.INFO: Acknowledgment sent {"connection_id":163257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:08:23] local.INFO: TCP Data received {"connection_id":163258,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:08:23] local.INFO: Processing buffer {"connection_id":163258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:08:23] local.INFO: Packet analysis {"connection_id":163258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e67"} 
[2026-08-23 17:08:23] local.INFO: Extracted packet for processing {"connection_id":163258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e67"} 
[2026-08-23 17:08:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596059392001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787484908000,"timestamp_ms":1787484908000,"timestamp_seconds":1787484908,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6729e0"} 
[2026-08-23 17:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:08: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-08-23 17:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 17:08:23] 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-08-23 17:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:08:23] 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-08-23 17:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596059392001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596059392001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:08:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:08:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596059392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":163258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:08:23] local.INFO: GPS data processed {"connection_id":163258,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:08:23] local.INFO: Acknowledgment sent {"connection_id":163258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:08:29] local.INFO: TCP Data received {"connection_id":161858,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:08:29] local.INFO: Processing buffer {"connection_id":161858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:08:29] local.INFO: IMEI packet received {"connection_id":161858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":161858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:08:34] local.INFO: TCP Data received {"connection_id":161858,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:08:34] local.INFO: Processing buffer {"connection_id":161858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:08:34] local.INFO: IMEI packet received {"connection_id":161858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":161858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:08:34] local.INFO: TCP Data received {"connection_id":160660,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:08:34] local.INFO: Processing buffer {"connection_id":160660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:08:34] local.INFO: IMEI packet received {"connection_id":160660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":160660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:08:35] local.INFO: TCP Data received {"connection_id":161858,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e666a78012d195ac007200fa8003f000f29..."} 
[2026-08-23 17:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e666a78012d195ac007200fa8003f000f29..."} 
[2026-08-23 17:08:35] local.INFO: Processing buffer {"connection_id":161858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e666a78012d195ac007200fa8003f000f29..."} 
[2026-08-23 17:08:35] local.INFO: Packet analysis {"connection_id":161858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e66"} 
[2026-08-23 17:08:35] local.INFO: Extracted packet for processing {"connection_id":161858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e66"} 
[2026-08-23 17:08:35] local.INFO: GPS Element Parsed {"raw_longitude":756636352,"raw_latitude":119541672,"longitude_deg":75.6636352,"latitude_deg":11.9541672,"altitude":63,"angle":15,"satellites":41,"speed":9,"hex_longitude":"2d195ac0","hex_latitude":"07200fa8","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596123136001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15639543587799040,"note":"Value kept but may cause issues"} 
[2026-08-23 17:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826702260710516736,"note":"Value kept but may cause issues"} 
[2026-08-23 17:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787484859000,"timestamp_ms":1787484859000,"timestamp_seconds":1787484859,"priority":1,"record_length":96,"hex_timestamp":"000001a02e666a78"} 
[2026-08-23 17:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 17:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596123136001,"66":12341,"103":206,"83":41984,"24":9,"16":15639543587799040,"45":1826702260710516736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 17:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596123136001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:08:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 17:08:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15639543587799040,"km_value":15639543587799.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826702260710516736,"description":"Unknown IO ID 45"} 
[2026-08-23 17:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596123136001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1826702260710516736}} 
[2026-08-23 17:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":161858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:08:35] local.INFO: GPS data processed {"connection_id":161858,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:08:35] local.INFO: Acknowledgment sent {"connection_id":161858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:08:37] local.INFO: TCP Data received {"connection_id":160660,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:08:37] local.INFO: Processing buffer {"connection_id":160660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:08:37] local.INFO: IMEI packet received {"connection_id":160660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":160660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:08:38] local.INFO: TCP Data received {"connection_id":160660,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e69b250012d87f98005c4d4480007005427..."} 
[2026-08-23 17:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e69b250012d87f98005c4d4480007005427..."} 
[2026-08-23 17:08:38] local.INFO: Processing buffer {"connection_id":160660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e69b250012d87f98005c4d4480007005427..."} 
[2026-08-23 17:08:38] local.INFO: Packet analysis {"connection_id":160660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e69"} 
[2026-08-23 17:08:38] local.INFO: Extracted packet for processing {"connection_id":160660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e69"} 
[2026-08-23 17:08:38] local.INFO: GPS Element Parsed {"raw_longitude":763885952,"raw_latitude":96785480,"longitude_deg":76.3885952,"latitude_deg":9.678548,"altitude":7,"angle":84,"satellites":39,"speed":0,"hex_longitude":"2d87f980","hex_latitude":"05c4d448","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596173568001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860030583111680,"note":"Value kept but may cause issues"} 
[2026-08-23 17:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8648740847122888704,"note":"Value kept but may cause issues"} 
[2026-08-23 17:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787485074000,"timestamp_ms":1787485074000,"timestamp_seconds":1787485074,"priority":1,"record_length":96,"hex_timestamp":"000001a02e69b250"} 
[2026-08-23 17:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:08: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-08-23 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-23 17:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596173568001,"66":12743,"191":206,"85":12288,"24":0,"16":122860030583111680,"45":-8648740847122888704},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596173568001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:08:38] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860030583111680,"km_value":122860030583111.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8648740847122888704,"description":"Unknown IO ID 45"} 
[2026-08-23 17:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596173568001,"power":12743,"unknown_191":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8648740847122888704}} 
[2026-08-23 17:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":160660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:08:38] local.INFO: GPS data processed {"connection_id":160660,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:08:38] local.INFO: Acknowledgment sent {"connection_id":160660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:08:46] local.INFO: TCP Data received {"connection_id":160905,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:08:46] local.INFO: Processing buffer {"connection_id":160905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:08:46] local.INFO: IMEI packet received {"connection_id":160905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":160905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:08:51] local.INFO: TCP Data received {"connection_id":160905,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:08:51] local.INFO: Processing buffer {"connection_id":160905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:08:51] local.INFO: IMEI packet received {"connection_id":160905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":160905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:08:51] local.INFO: TCP Data received {"connection_id":160905,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:08:51] local.INFO: Processing buffer {"connection_id":160905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:08:51] local.INFO: Packet analysis {"connection_id":160905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e67"} 
[2026-08-23 17:08:51] local.INFO: Extracted packet for processing {"connection_id":160905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e67"} 
[2026-08-23 17:08:51] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596059392001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787484908000,"timestamp_ms":1787484908000,"timestamp_seconds":1787484908,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6729e0"} 
[2026-08-23 17:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 17:08:51] 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-08-23 17:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596059392001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596059392001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:08:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:08:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596059392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":160905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:08:51] local.INFO: GPS data processed {"connection_id":160905,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:08:51] local.INFO: Acknowledgment sent {"connection_id":160905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:09:06] local.INFO: TCP Data received {"connection_id":161858,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e66bc80012d195c4007201480003e001127..."} 
[2026-08-23 17:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e66bc80012d195c4007201480003e001127..."} 
[2026-08-23 17:09:06] local.INFO: Processing buffer {"connection_id":161858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e66bc80012d195c4007201480003e001127..."} 
[2026-08-23 17:09:06] local.INFO: Packet analysis {"connection_id":161858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e66"} 
[2026-08-23 17:09:06] local.INFO: Extracted packet for processing {"connection_id":161858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e66"} 
[2026-08-23 17:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119542912,"longitude_deg":75.6636736,"latitude_deg":11.9542912,"altitude":62,"angle":17,"satellites":39,"speed":0,"hex_longitude":"2d195c40","hex_latitude":"07201480","is_valid_coordinates":true} 
[2026-08-23 17:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596123904001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15639608012308480,"note":"Value kept but may cause issues"} 
[2026-08-23 17:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826983735687358464,"note":"Value kept but may cause issues"} 
[2026-08-23 17:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787484880000,"timestamp_ms":1787484880000,"timestamp_seconds":1787484880,"priority":1,"record_length":96,"hex_timestamp":"000001a02e66bc80"} 
[2026-08-23 17:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 17:09:06] 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-08-23 17:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596123904001,"66":12287,"103":206,"83":41984,"24":0,"16":15639608012308480,"45":1826983735687358464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 17:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596123904001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:09:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 17:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15639608012308480,"km_value":15639608012308.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826983735687358464,"description":"Unknown IO ID 45"} 
[2026-08-23 17:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596123904001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1826983735687358464}} 
[2026-08-23 17:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":161858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:09:06] local.INFO: GPS data processed {"connection_id":161858,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:09:06] local.INFO: Acknowledgment sent {"connection_id":161858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:09:09] local.INFO: TCP Data received {"connection_id":160660,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6a0458012d87fb8005c4d4b00005005d29..."} 
[2026-08-23 17:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6a0458012d87fb8005c4d4b00005005d29..."} 
[2026-08-23 17:09:09] local.INFO: Processing buffer {"connection_id":160660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6a0458012d87fb8005c4d4b00005005d29..."} 
[2026-08-23 17:09:09] local.INFO: Packet analysis {"connection_id":160660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6a"} 
[2026-08-23 17:09:09] local.INFO: Extracted packet for processing {"connection_id":160660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6a"} 
[2026-08-23 17:09:09] local.INFO: GPS Element Parsed {"raw_longitude":763886464,"raw_latitude":96785584,"longitude_deg":76.3886464,"latitude_deg":9.6785584,"altitude":5,"angle":93,"satellites":41,"speed":2,"hex_longitude":"2d87fb80","hex_latitude":"05c4d4b0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 17:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596178944001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860060647882752,"note":"Value kept but may cause issues"} 
[2026-08-23 17:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8648740847122888704,"note":"Value kept but may cause issues"} 
[2026-08-23 17:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787485095000,"timestamp_ms":1787485095000,"timestamp_seconds":1787485095,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6a0458"} 
[2026-08-23 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-08-23 17: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-08-23 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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-23 17:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 17:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596178944001,"66":13091,"191":206,"85":12288,"24":2,"16":122860060647882752,"45":-8648740847122888704},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596178944001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:09:09] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860060647882752,"km_value":122860060647882.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8648740847122888704,"description":"Unknown IO ID 45"} 
[2026-08-23 17:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596178944001,"power":13091,"unknown_191":206,"unknown_85":12288,"ignition":2,"odometer":null,"unknown_45":-8648740847122888704}} 
[2026-08-23 17:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":160660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:09:09] local.INFO: GPS data processed {"connection_id":160660,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:09:09] local.INFO: Acknowledgment sent {"connection_id":160660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:09:23] local.INFO: TCP Data received {"connection_id":160905,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:09:23] local.INFO: Processing buffer {"connection_id":160905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:09:23] local.INFO: Packet analysis {"connection_id":160905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e67"} 
[2026-08-23 17:09:23] local.INFO: Extracted packet for processing {"connection_id":160905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e67"} 
[2026-08-23 17:09:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596059392001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787484908000,"timestamp_ms":1787484908000,"timestamp_seconds":1787484908,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6729e0"} 
[2026-08-23 17:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:09: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-08-23 17:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 17:09:23] 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-08-23 17:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596059392001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596059392001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:09:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:09:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596059392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":160905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:09:23] local.INFO: GPS data processed {"connection_id":160905,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:09:23] local.INFO: Acknowledgment sent {"connection_id":160905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:09:30] local.INFO: TCP Data received {"connection_id":160906,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:09:30] local.INFO: Processing buffer {"connection_id":160906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:09:30] local.INFO: IMEI packet received {"connection_id":160906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":160906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:09:33] local.INFO: TCP Data received {"connection_id":160906,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:09:33] local.INFO: Processing buffer {"connection_id":160906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:09:33] local.INFO: IMEI packet received {"connection_id":160906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":160906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:09:34] local.INFO: TCP Data received {"connection_id":160906,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:09:34] local.INFO: Processing buffer {"connection_id":160906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:09:34] local.INFO: IMEI packet received {"connection_id":160906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":160906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:09:34] local.INFO: TCP Data received {"connection_id":160906,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:09:34] local.INFO: Processing buffer {"connection_id":160906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:09:34] local.INFO: IMEI packet received {"connection_id":160906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":160906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:09:35] local.INFO: TCP Data received {"connection_id":163259,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163259,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:09:35] local.INFO: Processing buffer {"connection_id":163259,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:09:35] local.INFO: IMEI packet received {"connection_id":163259,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":163259,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:09:39] local.INFO: TCP Data received {"connection_id":163259,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163259,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:09:39] local.INFO: Processing buffer {"connection_id":163259,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:09:39] local.INFO: IMEI packet received {"connection_id":163259,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":163259,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:09:40] local.INFO: TCP Data received {"connection_id":163259,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6a5660012d87fe4005c4d4700005005729..."} 
[2026-08-23 17:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6a5660012d87fe4005c4d4700005005729..."} 
[2026-08-23 17:09:40] local.INFO: Processing buffer {"connection_id":163259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6a5660012d87fe4005c4d4700005005729..."} 
[2026-08-23 17:09:40] local.INFO: Packet analysis {"connection_id":163259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6a"} 
[2026-08-23 17:09:40] local.INFO: Extracted packet for processing {"connection_id":163259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6a"} 
[2026-08-23 17:09:40] local.INFO: GPS Element Parsed {"raw_longitude":763887168,"raw_latitude":96785520,"longitude_deg":76.3887168,"latitude_deg":9.678552,"altitude":5,"angle":87,"satellites":41,"speed":5,"hex_longitude":"2d87fe40","hex_latitude":"05c4d470","is_valid_coordinates":true} 
[2026-08-23 17:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596184320001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860090712653824,"note":"Value kept but may cause issues"} 
[2026-08-23 17:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8648177897169440768,"note":"Value kept but may cause issues"} 
[2026-08-23 17:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787485116000,"timestamp_ms":1787485116000,"timestamp_seconds":1787485116,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6a5660"} 
[2026-08-23 17:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17: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-08-23 17:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-23 17:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596184320001,"66":12917,"191":206,"85":12288,"24":5,"16":122860090712653824,"45":-8648177897169440768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596184320001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:09:40] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860090712653824,"km_value":122860090712653.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8648177897169440768,"description":"Unknown IO ID 45"} 
[2026-08-23 17:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596184320001,"power":12917,"unknown_191":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":-8648177897169440768}} 
[2026-08-23 17:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":163259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:09:40] local.INFO: GPS data processed {"connection_id":163259,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:09:40] local.INFO: Acknowledgment sent {"connection_id":163259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:09:45] local.INFO: TCP Data received {"connection_id":160907,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:09:45] local.INFO: Processing buffer {"connection_id":160907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:09:45] local.INFO: IMEI packet received {"connection_id":160907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":160907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:09:51] local.INFO: TCP Data received {"connection_id":160907,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:09:51] local.INFO: Processing buffer {"connection_id":160907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:09:51] local.INFO: IMEI packet received {"connection_id":160907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":160907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:09:52] local.INFO: TCP Data received {"connection_id":160907,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:09:52] local.INFO: Processing buffer {"connection_id":160907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:09:52] local.INFO: Packet analysis {"connection_id":160907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e67"} 
[2026-08-23 17:09:52] local.INFO: Extracted packet for processing {"connection_id":160907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e67"} 
[2026-08-23 17:09:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:09: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-08-23 17:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596059392001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787484908000,"timestamp_ms":1787484908000,"timestamp_seconds":1787484908,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6729e0"} 
[2026-08-23 17:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 17:09:52] 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-08-23 17:09: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-08-23 17:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596059392001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596059392001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:09:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:09:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596059392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":160907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:09:52] local.INFO: GPS data processed {"connection_id":160907,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:09:52] local.INFO: Acknowledgment sent {"connection_id":160907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:10:11] local.INFO: TCP Data received {"connection_id":163259,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6a5a48012d87fe8005c4d4600005006429..."} 
[2026-08-23 17:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6a5a48012d87fe8005c4d4600005006429..."} 
[2026-08-23 17:10:11] local.INFO: Processing buffer {"connection_id":163259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6a5a48012d87fe8005c4d4600005006429..."} 
[2026-08-23 17:10:11] local.INFO: Packet analysis {"connection_id":163259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6a"} 
[2026-08-23 17:10:11] local.INFO: Extracted packet for processing {"connection_id":163259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6a"} 
[2026-08-23 17:10:11] local.INFO: GPS Element Parsed {"raw_longitude":763887232,"raw_latitude":96785504,"longitude_deg":76.3887232,"latitude_deg":9.6785504,"altitude":5,"angle":100,"satellites":41,"speed":3,"hex_longitude":"2d87fe80","hex_latitude":"05c4d460","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596189696001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860095007621120,"note":"Value kept but may cause issues"} 
[2026-08-23 17:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8647403840983502848,"note":"Value kept but may cause issues"} 
[2026-08-23 17:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787485117000,"timestamp_ms":1787485117000,"timestamp_seconds":1787485117,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6a5a48"} 
[2026-08-23 17:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 17:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596189696001,"66":12743,"191":206,"85":12288,"24":3,"16":122860095007621120,"45":-8647403840983502848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596189696001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:10:11] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860095007621120,"km_value":122860095007621.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8647403840983502848,"description":"Unknown IO ID 45"} 
[2026-08-23 17:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596189696001,"power":12743,"unknown_191":206,"unknown_85":12288,"ignition":3,"odometer":null,"unknown_45":-8647403840983502848}} 
[2026-08-23 17:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":163259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:10:11] local.INFO: GPS data processed {"connection_id":163259,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:10:11] local.INFO: Acknowledgment sent {"connection_id":163259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:10:23] local.INFO: TCP Data received {"connection_id":160907,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:10:23] local.INFO: Processing buffer {"connection_id":160907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6729e0012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:10:23] local.INFO: Packet analysis {"connection_id":160907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e67"} 
[2026-08-23 17:10:23] local.INFO: Extracted packet for processing {"connection_id":160907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e67"} 
[2026-08-23 17:10:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596059392001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787484908000,"timestamp_ms":1787484908000,"timestamp_seconds":1787484908,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6729e0"} 
[2026-08-23 17:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:10: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-08-23 17:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 17:10:23] 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-08-23 17:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596059392001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596059392001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:10:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:10:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596059392001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":160907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:10:23] local.INFO: GPS data processed {"connection_id":160907,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:10:23] local.INFO: Acknowledgment sent {"connection_id":160907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:10:34] local.INFO: TCP Data received {"connection_id":163260,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:10:34] local.INFO: Processing buffer {"connection_id":163260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:10:34] local.INFO: IMEI packet received {"connection_id":163260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":163260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:10:39] local.INFO: TCP Data received {"connection_id":163260,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:10:39] local.INFO: Processing buffer {"connection_id":163260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:10:39] local.INFO: IMEI packet received {"connection_id":163260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":163260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:10:40] local.INFO: TCP Data received {"connection_id":163260,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6aa868012d87ff4005c4d4580005005e25..."} 
[2026-08-23 17:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6aa868012d87ff4005c4d4580005005e25..."} 
[2026-08-23 17:10:40] local.INFO: Processing buffer {"connection_id":163260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6aa868012d87ff4005c4d4580005005e25..."} 
[2026-08-23 17:10:40] local.INFO: Packet analysis {"connection_id":163260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6a"} 
[2026-08-23 17:10:40] local.INFO: Extracted packet for processing {"connection_id":163260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6a"} 
[2026-08-23 17:10:40] local.INFO: GPS Element Parsed {"raw_longitude":763887424,"raw_latitude":96785496,"longitude_deg":76.3887424,"latitude_deg":9.6785496,"altitude":5,"angle":94,"satellites":37,"speed":0,"hex_longitude":"2d87ff40","hex_latitude":"05c4d458","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596189952001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860103597555712,"note":"Value kept but may cause issues"} 
[2026-08-23 17:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8647333472239329280,"note":"Value kept but may cause issues"} 
[2026-08-23 17:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787485137000,"timestamp_ms":1787485137000,"timestamp_seconds":1787485137,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6aa868"} 
[2026-08-23 17:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:10: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-08-23 17: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-23 17:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596189952001,"66":12461,"191":206,"85":12288,"24":0,"16":122860103597555712,"45":-8647333472239329280},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596189952001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:10:40] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:10:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860103597555712,"km_value":122860103597555.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8647333472239329280,"description":"Unknown IO ID 45"} 
[2026-08-23 17:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596189952001,"power":12461,"unknown_191":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8647333472239329280}} 
[2026-08-23 17:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":163260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:10:40] local.INFO: GPS data processed {"connection_id":163260,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:10:40] local.INFO: Acknowledgment sent {"connection_id":163260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:10:45] local.INFO: TCP Data received {"connection_id":160908,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:10:45] local.INFO: Processing buffer {"connection_id":160908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:10:45] local.INFO: IMEI packet received {"connection_id":160908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":160908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:10:47] local.INFO: TCP Data received {"connection_id":160908,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:10:47] local.INFO: Processing buffer {"connection_id":160908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:10:47] local.INFO: IMEI packet received {"connection_id":160908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":160908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:10:53] local.INFO: TCP Data received {"connection_id":160908,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:10:53] local.INFO: Processing buffer {"connection_id":160908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:10:53] local.INFO: IMEI packet received {"connection_id":160908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":160908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:10:54] local.INFO: TCP Data received {"connection_id":160908,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:10:54] local.INFO: Processing buffer {"connection_id":160908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:10:54] local.INFO: Packet analysis {"connection_id":160908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:10:54] local.INFO: Extracted packet for processing {"connection_id":160908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:10:54] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596136448001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787485209000,"timestamp_ms":1787485209000,"timestamp_seconds":1787485209,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6bc1a8"} 
[2026-08-23 17:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 17:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596136448001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596136448001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:10:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:10:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596136448001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":160908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:10:54] local.INFO: GPS data processed {"connection_id":160908,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:10:54] local.INFO: Acknowledgment sent {"connection_id":160908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:11:10] local.INFO: TCP Data received {"connection_id":163260,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6afa70012d87ff4005c4d4580005005e28..."} 
[2026-08-23 17:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6afa70012d87ff4005c4d4580005005e28..."} 
[2026-08-23 17:11:10] local.INFO: Processing buffer {"connection_id":163260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6afa70012d87ff4005c4d4580005005e28..."} 
[2026-08-23 17:11:10] local.INFO: Packet analysis {"connection_id":163260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6a"} 
[2026-08-23 17:11:10] local.INFO: Extracted packet for processing {"connection_id":163260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6a"} 
[2026-08-23 17:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763887424,"raw_latitude":96785496,"longitude_deg":76.3887424,"latitude_deg":9.6785496,"altitude":5,"angle":94,"satellites":40,"speed":0,"hex_longitude":"2d87ff40","hex_latitude":"05c4d458","is_valid_coordinates":true} 
[2026-08-23 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-08-23 17:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596195072001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860103597555712,"note":"Value kept but may cause issues"} 
[2026-08-23 17:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8647122366006798336,"note":"Value kept but may cause issues"} 
[2026-08-23 17:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787485158000,"timestamp_ms":1787485158000,"timestamp_seconds":1787485158,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6afa70"} 
[2026-08-23 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-08-23 17: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-08-23 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 17:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 17:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596195072001,"66":12917,"191":206,"85":12288,"24":0,"16":122860103597555712,"45":-8647122366006798336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596195072001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:11:10] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860103597555712,"km_value":122860103597555.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8647122366006798336,"description":"Unknown IO ID 45"} 
[2026-08-23 17:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596195072001,"power":12917,"unknown_191":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8647122366006798336}} 
[2026-08-23 17:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":163260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:11:10] local.INFO: GPS data processed {"connection_id":163260,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:11:10] local.INFO: Acknowledgment sent {"connection_id":163260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:11:26] local.INFO: TCP Data received {"connection_id":160908,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:11:26] local.INFO: Processing buffer {"connection_id":160908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:11:26] local.INFO: Packet analysis {"connection_id":160908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:11:26] local.INFO: Extracted packet for processing {"connection_id":160908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:11:26] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596136448001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787485209000,"timestamp_ms":1787485209000,"timestamp_seconds":1787485209,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6bc1a8"} 
[2026-08-23 17:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:11: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-08-23 17:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 17:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596136448001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596136448001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:11:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:11:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596136448001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":160908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:11:26] local.INFO: GPS data processed {"connection_id":160908,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:11:26] local.INFO: Acknowledgment sent {"connection_id":160908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:11:34] local.INFO: TCP Data received {"connection_id":163262,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:11:34] local.INFO: Processing buffer {"connection_id":163262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:11:34] local.INFO: IMEI packet received {"connection_id":163262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":163262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:11:39] local.INFO: TCP Data received {"connection_id":163262,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:11:39] local.INFO: Processing buffer {"connection_id":163262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:11:39] local.INFO: IMEI packet received {"connection_id":163262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":163262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:11:40] local.INFO: TCP Data received {"connection_id":163262,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6b4c78012d87ff4005c4d4580005005e29..."} 
[2026-08-23 17:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6b4c78012d87ff4005c4d4580005005e29..."} 
[2026-08-23 17:11:40] local.INFO: Processing buffer {"connection_id":163262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6b4c78012d87ff4005c4d4580005005e29..."} 
[2026-08-23 17:11:40] local.INFO: Packet analysis {"connection_id":163262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:11:40] local.INFO: Extracted packet for processing {"connection_id":163262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:11:40] local.INFO: GPS Element Parsed {"raw_longitude":763887424,"raw_latitude":96785496,"longitude_deg":76.3887424,"latitude_deg":9.6785496,"altitude":5,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d87ff40","hex_latitude":"05c4d458","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596200448001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860103597555712,"note":"Value kept but may cause issues"} 
[2026-08-23 17:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8647122366006798336,"note":"Value kept but may cause issues"} 
[2026-08-23 17:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787485179000,"timestamp_ms":1787485179000,"timestamp_seconds":1787485179,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6b4c78"} 
[2026-08-23 17:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17: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-08-23 17: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 17:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596200448001,"66":12526,"191":206,"85":12288,"24":0,"16":122860103597555712,"45":-8647122366006798336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596200448001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:11:40] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860103597555712,"km_value":122860103597555.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8647122366006798336,"description":"Unknown IO ID 45"} 
[2026-08-23 17:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596200448001,"power":12526,"unknown_191":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8647122366006798336}} 
[2026-08-23 17:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":163262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:11:40] local.INFO: GPS data processed {"connection_id":163262,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:11:40] local.INFO: Acknowledgment sent {"connection_id":163262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:11:46] local.INFO: TCP Data received {"connection_id":160909,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:11:46] local.INFO: Processing buffer {"connection_id":160909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:11:46] local.INFO: IMEI packet received {"connection_id":160909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":160909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:11:51] local.INFO: TCP Data received {"connection_id":160909,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:11:51] local.INFO: Processing buffer {"connection_id":160909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:11:51] local.INFO: IMEI packet received {"connection_id":160909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":160909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:11:52] local.INFO: TCP Data received {"connection_id":160909,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:11:52] local.INFO: Processing buffer {"connection_id":160909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:11:52] local.INFO: Packet analysis {"connection_id":160909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:11:52] local.INFO: Extracted packet for processing {"connection_id":160909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596136448001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787485209000,"timestamp_ms":1787485209000,"timestamp_seconds":1787485209,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6bc1a8"} 
[2026-08-23 17:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 17:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:11: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-08-23 17:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596136448001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596136448001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:11:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596136448001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":160909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:11:52] local.INFO: GPS data processed {"connection_id":160909,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:11:52] local.INFO: Acknowledgment sent {"connection_id":160909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:12:11] local.INFO: TCP Data received {"connection_id":163262,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6b9e80012d87ff4005c4d4580005005e29..."} 
[2026-08-23 17:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6b9e80012d87ff4005c4d4580005005e29..."} 
[2026-08-23 17:12:11] local.INFO: Processing buffer {"connection_id":163262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6b9e80012d87ff4005c4d4580005005e29..."} 
[2026-08-23 17:12:11] local.INFO: Packet analysis {"connection_id":163262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:12:11] local.INFO: Extracted packet for processing {"connection_id":163262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:12:11] local.INFO: GPS Element Parsed {"raw_longitude":763887424,"raw_latitude":96785496,"longitude_deg":76.3887424,"latitude_deg":9.6785496,"altitude":5,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d87ff40","hex_latitude":"05c4d458","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596205824001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860103597555712,"note":"Value kept but may cause issues"} 
[2026-08-23 17:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8647122366006798336,"note":"Value kept but may cause issues"} 
[2026-08-23 17:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787485200000,"timestamp_ms":1787485200000,"timestamp_seconds":1787485200,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6b9e80"} 
[2026-08-23 17:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 17:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596205824001,"66":12928,"191":206,"85":12288,"24":0,"16":122860103597555712,"45":-8647122366006798336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596205824001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:12:11] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860103597555712,"km_value":122860103597555.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8647122366006798336,"description":"Unknown IO ID 45"} 
[2026-08-23 17:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596205824001,"power":12928,"unknown_191":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8647122366006798336}} 
[2026-08-23 17:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":163262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:12:11] local.INFO: GPS data processed {"connection_id":163262,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:12:11] local.INFO: Acknowledgment sent {"connection_id":163262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:12:23] local.INFO: TCP Data received {"connection_id":160909,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:12:23] local.INFO: Processing buffer {"connection_id":160909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:12:23] local.INFO: Packet analysis {"connection_id":160909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:12:23] local.INFO: Extracted packet for processing {"connection_id":160909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:12:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596136448001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787485209000,"timestamp_ms":1787485209000,"timestamp_seconds":1787485209,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6bc1a8"} 
[2026-08-23 17:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17: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-08-23 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 17:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:12:23] 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-08-23 17:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596136448001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596136448001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:12:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:12:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596136448001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":160909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:12:23] local.INFO: GPS data processed {"connection_id":160909,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:12:23] local.INFO: Acknowledgment sent {"connection_id":160909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:12:34] local.INFO: TCP Data received {"connection_id":161860,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:12:34] local.INFO: Processing buffer {"connection_id":161860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:12:34] local.INFO: IMEI packet received {"connection_id":161860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":161860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:12:39] local.INFO: TCP Data received {"connection_id":161860,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:12:39] local.INFO: Processing buffer {"connection_id":161860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:12:39] local.INFO: IMEI packet received {"connection_id":161860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":161860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:12:40] local.INFO: TCP Data received {"connection_id":161860,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6bf088012d88004005c4d4480009005428..."} 
[2026-08-23 17:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6bf088012d88004005c4d4480009005428..."} 
[2026-08-23 17:12:40] local.INFO: Processing buffer {"connection_id":161860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6bf088012d88004005c4d4480009005428..."} 
[2026-08-23 17:12:40] local.INFO: Packet analysis {"connection_id":161860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:12:40] local.INFO: Extracted packet for processing {"connection_id":161860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:12:40] local.INFO: GPS Element Parsed {"raw_longitude":763887680,"raw_latitude":96785480,"longitude_deg":76.388768,"latitude_deg":9.678548,"altitude":9,"angle":84,"satellites":40,"speed":0,"hex_longitude":"2d880040","hex_latitude":"05c4d448","is_valid_coordinates":true} 
[2026-08-23 17:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596211200001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860120777424896,"note":"Value kept but may cause issues"} 
[2026-08-23 17:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8647122366006798336,"note":"Value kept but may cause issues"} 
[2026-08-23 17:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787485221000,"timestamp_ms":1787485221000,"timestamp_seconds":1787485221,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6bf088"} 
[2026-08-23 17:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:12: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-08-23 17:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-23 17:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596211200001,"66":12743,"191":206,"85":12288,"24":0,"16":122860120777424896,"45":-8647122366006798336},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596211200001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:12:40] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:12:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860120777424896,"km_value":122860120777424.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8647122366006798336,"description":"Unknown IO ID 45"} 
[2026-08-23 17:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596211200001,"power":12743,"unknown_191":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8647122366006798336}} 
[2026-08-23 17:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":161860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:12:40] local.INFO: GPS data processed {"connection_id":161860,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:12:40] local.INFO: Acknowledgment sent {"connection_id":161860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:12:45] local.INFO: TCP Data received {"connection_id":160662,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:12:45] local.INFO: Processing buffer {"connection_id":160662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:12:45] local.INFO: IMEI packet received {"connection_id":160662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":160662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:12:51] local.INFO: TCP Data received {"connection_id":160662,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:12:51] local.INFO: Processing buffer {"connection_id":160662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:12:51] local.INFO: IMEI packet received {"connection_id":160662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":160662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:12:52] local.INFO: TCP Data received {"connection_id":160662,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:12:52] local.INFO: Processing buffer {"connection_id":160662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:12:52] local.INFO: Packet analysis {"connection_id":160662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:12:52] local.INFO: Extracted packet for processing {"connection_id":160662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:12:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596136448001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787485209000,"timestamp_ms":1787485209000,"timestamp_seconds":1787485209,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6bc1a8"} 
[2026-08-23 17:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 17:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596136448001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596136448001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:12:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:12:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596136448001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":160662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:12:52] local.INFO: GPS data processed {"connection_id":160662,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:12:52] local.INFO: Acknowledgment sent {"connection_id":160662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:13:11] local.INFO: TCP Data received {"connection_id":161860,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6c4290012d88004005c4d4480009005426..."} 
[2026-08-23 17:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6c4290012d88004005c4d4480009005426..."} 
[2026-08-23 17:13:11] local.INFO: Processing buffer {"connection_id":161860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6c4290012d88004005c4d4480009005426..."} 
[2026-08-23 17:13:11] local.INFO: Packet analysis {"connection_id":161860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6c"} 
[2026-08-23 17:13:11] local.INFO: Extracted packet for processing {"connection_id":161860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6c"} 
[2026-08-23 17:13:11] local.INFO: GPS Element Parsed {"raw_longitude":763887680,"raw_latitude":96785480,"longitude_deg":76.388768,"latitude_deg":9.678548,"altitude":9,"angle":84,"satellites":38,"speed":0,"hex_longitude":"2d880040","hex_latitude":"05c4d448","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596216576001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860120777424896,"note":"Value kept but may cause issues"} 
[2026-08-23 17:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8646840891030091776,"note":"Value kept but may cause issues"} 
[2026-08-23 17:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787485242000,"timestamp_ms":1787485242000,"timestamp_seconds":1787485242,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6c4290"} 
[2026-08-23 17:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-23 17:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596216576001,"66":12765,"191":206,"85":12288,"24":0,"16":122860120777424896,"45":-8646840891030091776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596216576001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:13:11] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860120777424896,"km_value":122860120777424.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8646840891030091776,"description":"Unknown IO ID 45"} 
[2026-08-23 17:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596216576001,"power":12765,"unknown_191":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8646840891030091776}} 
[2026-08-23 17:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":161860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:13:11] local.INFO: GPS data processed {"connection_id":161860,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:13:11] local.INFO: Acknowledgment sent {"connection_id":161860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:13:23] local.INFO: TCP Data received {"connection_id":160662,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:13:23] local.INFO: Processing buffer {"connection_id":160662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:13:23] local.INFO: Packet analysis {"connection_id":160662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:13:23] local.INFO: Extracted packet for processing {"connection_id":160662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:13:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596136448001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787485209000,"timestamp_ms":1787485209000,"timestamp_seconds":1787485209,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6bc1a8"} 
[2026-08-23 17:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 17:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596136448001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596136448001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:13:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:13:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596136448001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":160662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:13:23] local.INFO: GPS data processed {"connection_id":160662,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:13:23] local.INFO: Acknowledgment sent {"connection_id":160662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:13:39] local.INFO: TCP Data received {"connection_id":161861,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:13:39] local.INFO: Processing buffer {"connection_id":161861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:13:39] local.INFO: IMEI packet received {"connection_id":161861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":161861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:13:47] local.INFO: TCP Data received {"connection_id":161861,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:13:47] local.INFO: Processing buffer {"connection_id":161861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:13:47] local.INFO: IMEI packet received {"connection_id":161861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":161861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:13:47] local.INFO: TCP Data received {"connection_id":161861,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6c9498012d88004005c4d4480009005427..."} 
[2026-08-23 17:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6c9498012d88004005c4d4480009005427..."} 
[2026-08-23 17:13:47] local.INFO: Processing buffer {"connection_id":161861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6c9498012d88004005c4d4480009005427..."} 
[2026-08-23 17:13:47] local.INFO: Packet analysis {"connection_id":161861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6c"} 
[2026-08-23 17:13:47] local.INFO: Extracted packet for processing {"connection_id":161861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6c"} 
[2026-08-23 17:13:47] local.INFO: GPS Element Parsed {"raw_longitude":763887680,"raw_latitude":96785480,"longitude_deg":76.388768,"latitude_deg":9.678548,"altitude":9,"angle":84,"satellites":39,"speed":0,"hex_longitude":"2d880040","hex_latitude":"05c4d448","is_valid_coordinates":true} 
[2026-08-23 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-08-23 17:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596221952001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860120777424896,"note":"Value kept but may cause issues"} 
[2026-08-23 17:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8646840891030091776,"note":"Value kept but may cause issues"} 
[2026-08-23 17:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787485263000,"timestamp_ms":1787485263000,"timestamp_seconds":1787485263,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6c9498"} 
[2026-08-23 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-08-23 17:13: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-08-23 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-23 17:13:47] 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-08-23 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-08-23 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-08-23 17:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596221952001,"66":12928,"191":206,"85":12288,"24":0,"16":122860120777424896,"45":-8646840891030091776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596221952001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:13:47] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:13:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860120777424896,"km_value":122860120777424.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8646840891030091776,"description":"Unknown IO ID 45"} 
[2026-08-23 17:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596221952001,"power":12928,"unknown_191":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8646840891030091776}} 
[2026-08-23 17:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":161861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:13:47] local.INFO: GPS data processed {"connection_id":161861,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:13:47] local.INFO: Acknowledgment sent {"connection_id":161861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:13:48] local.INFO: TCP Data received {"connection_id":161861,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6ca820012d88010005c4d4900008006427..."} 
[2026-08-23 17:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6ca820012d88010005c4d4900008006427..."} 
[2026-08-23 17:13:48] local.INFO: Processing buffer {"connection_id":161861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6ca820012d88010005c4d4900008006427..."} 
[2026-08-23 17:13:48] local.INFO: Packet analysis {"connection_id":161861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6c"} 
[2026-08-23 17:13:48] local.INFO: Extracted packet for processing {"connection_id":161861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6c"} 
[2026-08-23 17:13:48] local.INFO: GPS Element Parsed {"raw_longitude":763887872,"raw_latitude":96785552,"longitude_deg":76.3887872,"latitude_deg":9.6785552,"altitude":8,"angle":100,"satellites":39,"speed":1,"hex_longitude":"2d880100","hex_latitude":"05c4d490","is_valid_coordinates":true} 
[2026-08-23 17:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596227328001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860129367359488,"note":"Value kept but may cause issues"} 
[2026-08-23 17:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8646840891030091776,"note":"Value kept but may cause issues"} 
[2026-08-23 17:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787485268000,"timestamp_ms":1787485268000,"timestamp_seconds":1787485268,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6ca820"} 
[2026-08-23 17:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-23 17:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596227328001,"66":12961,"191":206,"85":12288,"24":1,"16":122860129367359488,"45":-8646840891030091776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596227328001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:13:48] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:13:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860129367359488,"km_value":122860129367359.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8646840891030091776,"description":"Unknown IO ID 45"} 
[2026-08-23 17:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596227328001,"power":12961,"unknown_191":206,"unknown_85":12288,"ignition":1,"odometer":null,"unknown_45":-8646840891030091776}} 
[2026-08-23 17:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":161861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:13:48] local.INFO: GPS data processed {"connection_id":161861,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:13:48] local.INFO: Acknowledgment sent {"connection_id":161861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:13:51] local.INFO: TCP Data received {"connection_id":160663,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:13:51] local.INFO: Processing buffer {"connection_id":160663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:13:51] local.INFO: IMEI packet received {"connection_id":160663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":160663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:13:56] local.INFO: TCP Data received {"connection_id":160663,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:13:56] local.INFO: Processing buffer {"connection_id":160663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:13:56] local.INFO: IMEI packet received {"connection_id":160663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":160663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:13:57] local.INFO: TCP Data received {"connection_id":160663,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:13:57] local.INFO: Processing buffer {"connection_id":160663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:13:57] local.INFO: Packet analysis {"connection_id":160663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:13:57] local.INFO: Extracted packet for processing {"connection_id":160663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:13:57] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596136448001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787485209000,"timestamp_ms":1787485209000,"timestamp_seconds":1787485209,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6bc1a8"} 
[2026-08-23 17:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 17:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596136448001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596136448001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:13:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:13:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596136448001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":160663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:13:57] local.INFO: GPS data processed {"connection_id":160663,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:13:57] local.INFO: Acknowledgment sent {"connection_id":160663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:14:02] local.INFO: TCP Data received {"connection_id":160663,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:14:02] local.INFO: Processing buffer {"connection_id":160663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:14:02] local.INFO: Packet analysis {"connection_id":160663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:14:02] local.INFO: Extracted packet for processing {"connection_id":160663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:14:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596136448001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787485209000,"timestamp_ms":1787485209000,"timestamp_seconds":1787485209,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6bc1a8"} 
[2026-08-23 17:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 17:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:14:02] 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-08-23 17:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596136448001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596136448001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:14:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:14:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596136448001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":160663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:14:02] local.INFO: GPS data processed {"connection_id":160663,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:14:02] local.INFO: Acknowledgment sent {"connection_id":160663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:14:19] local.INFO: TCP Data received {"connection_id":161861,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6cf640012d88014005c4d4900008006424..."} 
[2026-08-23 17:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6cf640012d88014005c4d4900008006424..."} 
[2026-08-23 17:14:19] local.INFO: Processing buffer {"connection_id":161861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6cf640012d88014005c4d4900008006424..."} 
[2026-08-23 17:14:19] local.INFO: Packet analysis {"connection_id":161861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6c"} 
[2026-08-23 17:14:19] local.INFO: Extracted packet for processing {"connection_id":161861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6c"} 
[2026-08-23 17:14:19] local.INFO: GPS Element Parsed {"raw_longitude":763887936,"raw_latitude":96785552,"longitude_deg":76.3887936,"latitude_deg":9.6785552,"altitude":8,"angle":100,"satellites":36,"speed":0,"hex_longitude":"2d880140","hex_latitude":"05c4d490","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596228608001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860129367359488,"note":"Value kept but may cause issues"} 
[2026-08-23 17:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8646629784797540352,"note":"Value kept but may cause issues"} 
[2026-08-23 17:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787485288000,"timestamp_ms":1787485288000,"timestamp_seconds":1787485288,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6cf640"} 
[2026-08-23 17:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:14: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-08-23 17: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 17:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596228608001,"66":13124,"191":206,"85":12288,"24":0,"16":122860129367359488,"45":-8646629784797540352},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596228608001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:14:19] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:14:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860129367359488,"km_value":122860129367359.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8646629784797540352,"description":"Unknown IO ID 45"} 
[2026-08-23 17:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596228608001,"power":13124,"unknown_191":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8646629784797540352}} 
[2026-08-23 17:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":161861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:14:19] local.INFO: GPS data processed {"connection_id":161861,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:14:19] local.INFO: Acknowledgment sent {"connection_id":161861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:14:34] local.INFO: TCP Data received {"connection_id":163263,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163263,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:14:34] local.INFO: Processing buffer {"connection_id":163263,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:14:34] local.INFO: IMEI packet received {"connection_id":163263,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":163263,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:14:39] local.INFO: TCP Data received {"connection_id":161862,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:14:39] local.INFO: Processing buffer {"connection_id":161862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:14:39] local.INFO: IMEI packet received {"connection_id":161862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":161862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:14:39] local.INFO: TCP Data received {"connection_id":163263,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163263,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:14:39] local.INFO: Processing buffer {"connection_id":163263,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:14:39] local.INFO: IMEI packet received {"connection_id":163263,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":163263,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:14:40] local.INFO: TCP Data received {"connection_id":161862,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6ed2d0012d18a8c007217308004c012b29..."} 
[2026-08-23 17:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6ed2d0012d18a8c007217308004c012b29..."} 
[2026-08-23 17:14:40] local.INFO: Processing buffer {"connection_id":161862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6ed2d0012d18a8c007217308004c012b29..."} 
[2026-08-23 17:14:40] local.INFO: Packet analysis {"connection_id":161862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6e"} 
[2026-08-23 17:14:40] local.INFO: Extracted packet for processing {"connection_id":161862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6e"} 
[2026-08-23 17:14:40] local.INFO: GPS Element Parsed {"raw_longitude":756590784,"raw_latitude":119632648,"longitude_deg":75.6590784,"latitude_deg":11.9632648,"altitude":76,"angle":299,"satellites":41,"speed":31,"hex_longitude":"2d18a8c0","hex_latitude":"07217308","is_valid_coordinates":true} 
[2026-08-23 17:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596264448001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15645380448354304,"note":"Value kept but may cause issues"} 
[2026-08-23 17:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778358933483630592,"note":"Value kept but may cause issues"} 
[2026-08-23 17:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787485410000,"timestamp_ms":1787485410000,"timestamp_seconds":1787485410,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6ed2d0"} 
[2026-08-23 17:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:14: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-08-23 17:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 17:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596264448001,"66":13722,"106":206,"83":41984,"24":31,"16":15645380448354304,"45":1778358933483630592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 17:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596264448001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:14:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 17:14:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15645380448354304,"km_value":15645380448354.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778358933483630592,"description":"Unknown IO ID 45"} 
[2026-08-23 17:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596264448001,"power":13722,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1778358933483630592}} 
[2026-08-23 17:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":161862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:14:40] local.INFO: GPS data processed {"connection_id":161862,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:14:40] local.INFO: Acknowledgment sent {"connection_id":161862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:14:40] local.INFO: TCP Data received {"connection_id":163263,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6d4848012d880c0005c4d2680009006a29..."} 
[2026-08-23 17:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6d4848012d880c0005c4d2680009006a29..."} 
[2026-08-23 17:14:40] local.INFO: Processing buffer {"connection_id":163263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6d4848012d880c0005c4d2680009006a29..."} 
[2026-08-23 17:14:40] local.INFO: Packet analysis {"connection_id":163263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6d"} 
[2026-08-23 17:14:40] local.INFO: Extracted packet for processing {"connection_id":163263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6d"} 
[2026-08-23 17:14:40] local.INFO: GPS Element Parsed {"raw_longitude":763890688,"raw_latitude":96785000,"longitude_deg":76.3890688,"latitude_deg":9.6785,"altitude":9,"angle":106,"satellites":41,"speed":0,"hex_longitude":"2d880c00","hex_latitude":"05c4d268","is_valid_coordinates":true} 
[2026-08-23 17:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596233728001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860266806312960,"note":"Value kept but may cause issues"} 
[2026-08-23 17:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8646559416053362688,"note":"Value kept but may cause issues"} 
[2026-08-23 17:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787485309000,"timestamp_ms":1787485309000,"timestamp_seconds":1787485309,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6d4848"} 
[2026-08-23 17:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:14: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-08-23 17:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-23 17:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596233728001,"66":12428,"191":206,"85":12288,"24":0,"16":122860266806312960,"45":-8646559416053362688},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596233728001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:14:40] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860266806312960,"km_value":122860266806312.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8646559416053362688,"description":"Unknown IO ID 45"} 
[2026-08-23 17:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596233728001,"power":12428,"unknown_191":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8646559416053362688}} 
[2026-08-23 17:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":163263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:14:40] local.INFO: GPS data processed {"connection_id":163263,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:14:40] local.INFO: Acknowledgment sent {"connection_id":163263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:14:46] local.INFO: TCP Data received {"connection_id":160911,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:14:46] local.INFO: Processing buffer {"connection_id":160911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:14:46] local.INFO: IMEI packet received {"connection_id":160911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":160911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:14:51] local.INFO: TCP Data received {"connection_id":160911,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:14:51] local.INFO: Processing buffer {"connection_id":160911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:14:51] local.INFO: IMEI packet received {"connection_id":160911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":160911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:14:52] local.INFO: TCP Data received {"connection_id":160911,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:14:52] local.INFO: Processing buffer {"connection_id":160911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:14:52] local.INFO: Packet analysis {"connection_id":160911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:14:52] local.INFO: Extracted packet for processing {"connection_id":160911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:14:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596136448001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787485209000,"timestamp_ms":1787485209000,"timestamp_seconds":1787485209,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6bc1a8"} 
[2026-08-23 17:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 17:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:14:52] 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-08-23 17:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596136448001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596136448001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:14:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:14:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596136448001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":160911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:14:52] local.INFO: GPS data processed {"connection_id":160911,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:14:52] local.INFO: Acknowledgment sent {"connection_id":160911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:15:11] local.INFO: TCP Data received {"connection_id":161862,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6edaa0012d18a28007217540004c011d29..."} 
[2026-08-23 17:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6edaa0012d18a28007217540004c011d29..."} 
[2026-08-23 17:15:11] local.INFO: Processing buffer {"connection_id":161862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6edaa0012d18a28007217540004c011d29..."} 
[2026-08-23 17:15:11] local.INFO: Packet analysis {"connection_id":161862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6e"} 
[2026-08-23 17:15:11] local.INFO: Extracted packet for processing {"connection_id":161862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6e"} 
[2026-08-23 17:15:11] local.INFO: GPS Element Parsed {"raw_longitude":756589184,"raw_latitude":119633216,"longitude_deg":75.6589184,"latitude_deg":11.9633216,"altitude":76,"angle":285,"satellites":41,"speed":33,"hex_longitude":"2d18a280","hex_latitude":"07217540","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596264960001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15645462052732928,"note":"Value kept but may cause issues"} 
[2026-08-23 17:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776881189856151552,"note":"Value kept but may cause issues"} 
[2026-08-23 17:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787485412000,"timestamp_ms":1787485412000,"timestamp_seconds":1787485412,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6edaa0"} 
[2026-08-23 17:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:15: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-08-23 17: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-23 17:15:11] 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-08-23 17: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-08-23 17:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596264960001,"66":13820,"106":206,"83":41984,"24":33,"16":15645462052732928,"45":1776881189856151552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 17:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596264960001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:15:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 17:15:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15645462052732928,"km_value":15645462052732.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776881189856151552,"description":"Unknown IO ID 45"} 
[2026-08-23 17:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596264960001,"power":13820,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1776881189856151552}} 
[2026-08-23 17:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":161862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:15:11] local.INFO: GPS data processed {"connection_id":161862,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:15:11] local.INFO: Acknowledgment sent {"connection_id":161862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:15:11] local.INFO: TCP Data received {"connection_id":163263,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6d9a50012d880d8005c4d2500009006829..."} 
[2026-08-23 17:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6d9a50012d880d8005c4d2500009006829..."} 
[2026-08-23 17:15:11] local.INFO: Processing buffer {"connection_id":163263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6d9a50012d880d8005c4d2500009006829..."} 
[2026-08-23 17:15:11] local.INFO: Packet analysis {"connection_id":163263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6d"} 
[2026-08-23 17:15:11] local.INFO: Extracted packet for processing {"connection_id":163263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6d"} 
[2026-08-23 17:15:11] local.INFO: GPS Element Parsed {"raw_longitude":763891072,"raw_latitude":96784976,"longitude_deg":76.3891072,"latitude_deg":9.6784976,"altitude":9,"angle":104,"satellites":41,"speed":3,"hex_longitude":"2d880d80","hex_latitude":"05c4d250","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596239104001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860283986182144,"note":"Value kept but may cause issues"} 
[2026-08-23 17:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8643533560053864448,"note":"Value kept but may cause issues"} 
[2026-08-23 17:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787485330000,"timestamp_ms":1787485330000,"timestamp_seconds":1787485330,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6d9a50"} 
[2026-08-23 17:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 17:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596239104001,"66":12906,"191":206,"85":12288,"24":3,"16":122860283986182144,"45":-8643533560053864448},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596239104001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:15:11] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860283986182144,"km_value":122860283986182.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8643533560053864448,"description":"Unknown IO ID 45"} 
[2026-08-23 17:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596239104001,"power":12906,"unknown_191":206,"unknown_85":12288,"ignition":3,"odometer":null,"unknown_45":-8643533560053864448}} 
[2026-08-23 17:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":163263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:15:11] local.INFO: GPS data processed {"connection_id":163263,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:15:11] local.INFO: Acknowledgment sent {"connection_id":163263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:15:23] local.INFO: TCP Data received {"connection_id":160911,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:15:23] local.INFO: Processing buffer {"connection_id":160911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6bc1a8012d34c50006aa4098000c00851e..."} 
[2026-08-23 17:15:23] local.INFO: Packet analysis {"connection_id":160911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:15:23] local.INFO: Extracted packet for processing {"connection_id":160911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6b"} 
[2026-08-23 17:15:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596136448001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787485209000,"timestamp_ms":1787485209000,"timestamp_seconds":1787485209,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6bc1a8"} 
[2026-08-23 17:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:15: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-08-23 17:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 17:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:15:23] 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-08-23 17:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596136448001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596136448001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:15:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:15:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596136448001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":160911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:15:23] local.INFO: GPS data processed {"connection_id":160911,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:15:23] local.INFO: Acknowledgment sent {"connection_id":160911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:15:27] local.INFO: TCP Data received {"connection_id":160664,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:15:27] local.INFO: Processing buffer {"connection_id":160664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:15:27] local.INFO: IMEI packet received {"connection_id":160664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":160664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:15:29] local.INFO: TCP Data received {"connection_id":160664,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:15:29] local.INFO: Processing buffer {"connection_id":160664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:15:29] local.INFO: IMEI packet received {"connection_id":160664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":160664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:15:30] local.INFO: TCP Data received {"connection_id":160664,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:15:30] local.INFO: Processing buffer {"connection_id":160664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:15:30] local.INFO: IMEI packet received {"connection_id":160664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":160664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:15:34] local.INFO: TCP Data received {"connection_id":160664,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:15:34] local.INFO: Processing buffer {"connection_id":160664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:15:34] local.INFO: IMEI packet received {"connection_id":160664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":160664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:15:34] local.INFO: TCP Data received {"connection_id":163264,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:15:34] local.INFO: Processing buffer {"connection_id":163264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:15:34] local.INFO: IMEI packet received {"connection_id":163264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":163264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:15:35] local.INFO: TCP Data received {"connection_id":160664,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6eee28012d18920007217b50004d012928..."} 
[2026-08-23 17:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6eee28012d18920007217b50004d012928..."} 
[2026-08-23 17:15:35] local.INFO: Processing buffer {"connection_id":160664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6eee28012d18920007217b50004d012928..."} 
[2026-08-23 17:15:35] local.INFO: Packet analysis {"connection_id":160664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6e"} 
[2026-08-23 17:15:35] local.INFO: Extracted packet for processing {"connection_id":160664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6e"} 
[2026-08-23 17:15:35] local.INFO: GPS Element Parsed {"raw_longitude":756584960,"raw_latitude":119634768,"longitude_deg":75.658496,"latitude_deg":11.9634768,"altitude":77,"angle":297,"satellites":40,"speed":34,"hex_longitude":"2d189200","hex_latitude":"07217b50","is_valid_coordinates":true} 
[2026-08-23 17:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596265472001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15645676801097728,"note":"Value kept but may cause issues"} 
[2026-08-23 17:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775121971251855360,"note":"Value kept but may cause issues"} 
[2026-08-23 17:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787485417000,"timestamp_ms":1787485417000,"timestamp_seconds":1787485417,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6eee28"} 
[2026-08-23 17:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-23 17:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596265472001,"66":13993,"106":206,"83":41984,"24":34,"16":15645676801097728,"45":1775121971251855360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 17:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596265472001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:15:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 17:15:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15645676801097728,"km_value":15645676801097.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775121971251855360,"description":"Unknown IO ID 45"} 
[2026-08-23 17:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596265472001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1775121971251855360}} 
[2026-08-23 17:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":160664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:15:35] local.INFO: GPS data processed {"connection_id":160664,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:15:35] local.INFO: Acknowledgment sent {"connection_id":160664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:15:39] local.INFO: TCP Data received {"connection_id":160664,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6f01b0012d1885c007218088004e011d28..."} 
[2026-08-23 17:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6f01b0012d1885c007218088004e011d28..."} 
[2026-08-23 17:15:39] local.INFO: Processing buffer {"connection_id":160664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6f01b0012d1885c007218088004e011d28..."} 
[2026-08-23 17:15:39] local.INFO: Packet analysis {"connection_id":160664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6f"} 
[2026-08-23 17:15:39] local.INFO: Extracted packet for processing {"connection_id":160664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6f"} 
[2026-08-23 17:15:39] local.INFO: GPS Element Parsed {"raw_longitude":756581824,"raw_latitude":119636104,"longitude_deg":75.6581824,"latitude_deg":11.9636104,"altitude":78,"angle":285,"satellites":40,"speed":20,"hex_longitude":"2d1885c0","hex_latitude":"07218088","is_valid_coordinates":true} 
[2026-08-23 17:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596266752001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15645840009854976,"note":"Value kept but may cause issues"} 
[2026-08-23 17:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770477634136526848,"note":"Value kept but may cause issues"} 
[2026-08-23 17:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787485422000,"timestamp_ms":1787485422000,"timestamp_seconds":1787485422,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6f01b0"} 
[2026-08-23 17:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:15: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-08-23 17:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-23 17:15:39] 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-08-23 17:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596266752001,"66":14102,"106":206,"83":41984,"24":20,"16":15645840009854976,"45":1770477634136526848},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 17:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596266752001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:15:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 17:15:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15645840009854976,"km_value":15645840009854.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770477634136526848,"description":"Unknown IO ID 45"} 
[2026-08-23 17:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596266752001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1770477634136526848}} 
[2026-08-23 17:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":160664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:15:39] local.INFO: GPS data processed {"connection_id":160664,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:15:39] local.INFO: Acknowledgment sent {"connection_id":160664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:15:39] local.INFO: TCP Data received {"connection_id":163264,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:15:39] local.INFO: Processing buffer {"connection_id":163264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:15:39] local.INFO: IMEI packet received {"connection_id":163264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":163264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:15:40] local.INFO: TCP Data received {"connection_id":163264,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6dec58012d8812c005c4d1180008006228..."} 
[2026-08-23 17:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6dec58012d8812c005c4d1180008006228..."} 
[2026-08-23 17:15:40] local.INFO: Processing buffer {"connection_id":163264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6dec58012d8812c005c4d1180008006228..."} 
[2026-08-23 17:15:40] local.INFO: Packet analysis {"connection_id":163264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6d"} 
[2026-08-23 17:15:40] local.INFO: Extracted packet for processing {"connection_id":163264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6d"} 
[2026-08-23 17:15:40] local.INFO: GPS Element Parsed {"raw_longitude":763892416,"raw_latitude":96784664,"longitude_deg":76.3892416,"latitude_deg":9.6784664,"altitude":8,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d8812c0","hex_latitude":"05c4d118","is_valid_coordinates":true} 
[2026-08-23 17:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596244480001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860352705658880,"note":"Value kept but may cause issues"} 
[2026-08-23 17:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8643111347588804608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787485351000,"timestamp_ms":1787485351000,"timestamp_seconds":1787485351,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6dec58"} 
[2026-08-23 17:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17: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-08-23 17:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-23 17:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596244480001,"66":12798,"191":206,"85":12288,"24":0,"16":122860352705658880,"45":-8643111347588804608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596244480001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:15:40] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860352705658880,"km_value":122860352705658.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8643111347588804608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596244480001,"power":12798,"unknown_191":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8643111347588804608}} 
[2026-08-23 17:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":163264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:15:40] local.INFO: GPS data processed {"connection_id":163264,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:15:40] local.INFO: Acknowledgment sent {"connection_id":163264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:15:46] local.INFO: TCP Data received {"connection_id":161863,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:15:46] local.INFO: Processing buffer {"connection_id":161863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:15:46] local.INFO: IMEI packet received {"connection_id":161863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":161863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:15:48] local.INFO: TCP Data received {"connection_id":161863,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:15:48] local.INFO: Processing buffer {"connection_id":161863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:15:48] local.INFO: IMEI packet received {"connection_id":161863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":161863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:15:49] local.INFO: TCP Data received {"connection_id":161863,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:15:49] local.INFO: Processing buffer {"connection_id":161863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:15:49] local.INFO: Packet analysis {"connection_id":161863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:15:49] local.INFO: Extracted packet for processing {"connection_id":161863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:15:49] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596213504001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787485510000,"timestamp_ms":1787485510000,"timestamp_seconds":1787485510,"priority":1,"record_length":96,"hex_timestamp":"000001a02e705970"} 
[2026-08-23 17:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:15: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-08-23 17:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 17:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596213504001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596213504001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:15:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:15:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596213504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":161863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:15:49] local.INFO: GPS data processed {"connection_id":161863,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:15:49] local.INFO: Acknowledgment sent {"connection_id":161863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:16:10] local.INFO: TCP Data received {"connection_id":160664,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6f0d68012d187fc007218178004e011027..."} 
[2026-08-23 17:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6f0d68012d187fc007218178004e011027..."} 
[2026-08-23 17:16:10] local.INFO: Processing buffer {"connection_id":160664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6f0d68012d187fc007218178004e011027..."} 
[2026-08-23 17:16:10] local.INFO: Packet analysis {"connection_id":160664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6f"} 
[2026-08-23 17:16:10] local.INFO: Extracted packet for processing {"connection_id":160664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6f"} 
[2026-08-23 17:16:10] local.INFO: GPS Element Parsed {"raw_longitude":756580288,"raw_latitude":119636344,"longitude_deg":75.6580288,"latitude_deg":11.9636344,"altitude":78,"angle":272,"satellites":39,"speed":22,"hex_longitude":"2d187fc0","hex_latitude":"07218178","is_valid_coordinates":true} 
[2026-08-23 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-08-23 17:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596268032001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15645913024299008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767029565672163328,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787485425000,"timestamp_ms":1787485425000,"timestamp_seconds":1787485425,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6f0d68"} 
[2026-08-23 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-08-23 17:16:10] 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-08-23 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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-23 17:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 17:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596268032001,"66":13972,"106":206,"83":41984,"24":22,"16":15645913024299008,"45":1767029565672163328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 17:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596268032001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:16:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 17:16:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15645913024299008,"km_value":15645913024299.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767029565672163328,"description":"Unknown IO ID 45"} 
[2026-08-23 17:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596268032001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1767029565672163328}} 
[2026-08-23 17:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":160664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:16:10] local.INFO: GPS data processed {"connection_id":160664,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:16:10] local.INFO: Acknowledgment sent {"connection_id":160664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:16:13] local.INFO: TCP Data received {"connection_id":163264,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6e3e60012d8812c005c4d1180008006229..."} 
[2026-08-23 17:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6e3e60012d8812c005c4d1180008006229..."} 
[2026-08-23 17:16:13] local.INFO: Processing buffer {"connection_id":163264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6e3e60012d8812c005c4d1180008006229..."} 
[2026-08-23 17:16:13] local.INFO: Packet analysis {"connection_id":163264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6e"} 
[2026-08-23 17:16:13] local.INFO: Extracted packet for processing {"connection_id":163264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6e"} 
[2026-08-23 17:16:13] local.INFO: GPS Element Parsed {"raw_longitude":763892416,"raw_latitude":96784664,"longitude_deg":76.3892416,"latitude_deg":9.6784664,"altitude":8,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d8812c0","hex_latitude":"05c4d118","is_valid_coordinates":true} 
[2026-08-23 17:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596249856001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860352705658880,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8641633603961153536,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787485372000,"timestamp_ms":1787485372000,"timestamp_seconds":1787485372,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6e3e60"} 
[2026-08-23 17:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-23 17:16: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-08-23 17:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596249856001,"66":13015,"191":206,"85":12288,"24":0,"16":122860352705658880,"45":-8641633603961153536},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596249856001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:16:13] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:16:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860352705658880,"km_value":122860352705658.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8641633603961153536,"description":"Unknown IO ID 45"} 
[2026-08-23 17:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596249856001,"power":13015,"unknown_191":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8641633603961153536}} 
[2026-08-23 17:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":163264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:16:13] local.INFO: GPS data processed {"connection_id":163264,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:16:13] local.INFO: Acknowledgment sent {"connection_id":163264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:16:21] local.INFO: TCP Data received {"connection_id":161863,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:16:21] local.INFO: Processing buffer {"connection_id":161863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:16:21] local.INFO: Packet analysis {"connection_id":161863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:16:21] local.INFO: Extracted packet for processing {"connection_id":161863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:16:21] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596213504001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787485510000,"timestamp_ms":1787485510000,"timestamp_seconds":1787485510,"priority":1,"record_length":96,"hex_timestamp":"000001a02e705970"} 
[2026-08-23 17:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:16: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-08-23 17: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":107,"data_length":795,"current_offset":136} 
[2026-08-23 17:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596213504001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596213504001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:16:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:16:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596213504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":161863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:16:21] local.INFO: GPS data processed {"connection_id":161863,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:16:21] local.INFO: Acknowledgment sent {"connection_id":161863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:16:29] local.INFO: TCP Data received {"connection_id":161864,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:16:29] local.INFO: Processing buffer {"connection_id":161864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:16:29] local.INFO: IMEI packet received {"connection_id":161864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":161864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:16:32] local.INFO: TCP Data received {"connection_id":161864,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:16:32] local.INFO: Processing buffer {"connection_id":161864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:16:32] local.INFO: IMEI packet received {"connection_id":161864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":161864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:16:32] local.INFO: TCP Data received {"connection_id":161864,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:16:32] local.INFO: Processing buffer {"connection_id":161864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:16:32] local.INFO: IMEI packet received {"connection_id":161864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":161864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:16:33] local.INFO: TCP Data received {"connection_id":161864,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e70a790012d181e800721a5a8004e011d29..."} 
[2026-08-23 17:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e70a790012d181e800721a5a8004e011d29..."} 
[2026-08-23 17:16:33] local.INFO: Processing buffer {"connection_id":161864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e70a790012d181e800721a5a8004e011d29..."} 
[2026-08-23 17:16:33] local.INFO: Packet analysis {"connection_id":161864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:16:33] local.INFO: Extracted packet for processing {"connection_id":161864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119645608,"longitude_deg":75.6555392,"latitude_deg":11.9645608,"altitude":78,"angle":285,"satellites":41,"speed":5,"hex_longitude":"2d181e80","hex_latitude":"0721a5a8","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596295424001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647210104422400,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561737728,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787485530000,"timestamp_ms":1787485530000,"timestamp_seconds":1787485530,"priority":1,"record_length":96,"hex_timestamp":"000001a02e70a790"} 
[2026-08-23 17:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-23 17:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596295424001,"66":14352,"105":206,"83":41984,"24":5,"16":15647210104422400,"45":1738178380561737728},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596295424001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:16:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:16:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647210104422400,"km_value":15647210104422.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561737728,"description":"Unknown IO ID 45"} 
[2026-08-23 17:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596295424001,"power":14352,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1738178380561737728}} 
[2026-08-23 17:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":161864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:16:33] local.INFO: GPS data processed {"connection_id":161864,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:16:33] local.INFO: Acknowledgment sent {"connection_id":161864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:16:33] local.INFO: TCP Data received {"connection_id":160912,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:16:33] local.INFO: Processing buffer {"connection_id":160912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:16:33] local.INFO: IMEI packet received {"connection_id":160912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":160912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:16:34] local.INFO: TCP Data received {"connection_id":161864,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e70d288012d181c800721a898004e001029..."} 
[2026-08-23 17:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e70d288012d181c800721a898004e001029..."} 
[2026-08-23 17:16:34] local.INFO: Processing buffer {"connection_id":161864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e70d288012d181c800721a898004e001029..."} 
[2026-08-23 17:16:34] local.INFO: Packet analysis {"connection_id":161864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:16:34] local.INFO: Extracted packet for processing {"connection_id":161864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:16:34] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646360,"longitude_deg":75.655488,"latitude_deg":11.964636,"altitude":78,"angle":16,"satellites":41,"speed":9,"hex_longitude":"2d181c80","hex_latitude":"0721a898","is_valid_coordinates":true} 
[2026-08-23 17:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596295680001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647261644029952,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329221120,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787485541000,"timestamp_ms":1787485541000,"timestamp_seconds":1787485541,"priority":1,"record_length":96,"hex_timestamp":"000001a02e70d288"} 
[2026-08-23 17:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-23 17:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146880,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:34] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8538832733977706576,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:34] local.WARNING: Large IO value detected {"io_id":150,"raw_value":2785017856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":83035118129643530,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:34] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503838367678464,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:34] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2220359763,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:34] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637447953738346,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:34] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-23 17:16:34] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692801,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:34] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951466,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:34] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2518876160,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:34] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84750858780615041,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:34] local.WARNING: Large IO value detected {"io_id":72,"raw_value":23082134172338944,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:34] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,151,160,163,45,64,165,78,41,10,66,81,128,39,150,62,1,240,131,227,46,33,4,113,205,34,7,103,239,54,2,55,82,18,206,248,72],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-23 17:16:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620805871866281984,"timestamp_seconds":5620805871866282.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 17:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596295680001,"66":13124,"105":206,"83":41984,"24":9,"16":15647261644029952,"45":1737967274329221120},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596295680001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:16:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:16:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647261644029952,"km_value":15647261644029.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329221120,"description":"Unknown IO ID 45"} 
[2026-08-23 17:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596295680001,"power":13124,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737967274329221120}} 
[2026-08-23 17:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":161864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:16:34] local.INFO: GPS data processed {"connection_id":161864,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:16:34] local.INFO: Acknowledgment sent {"connection_id":161864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:16:34] local.INFO: TCP Data received {"connection_id":160912,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:16:34] local.INFO: Processing buffer {"connection_id":160912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:16:34] local.INFO: IMEI packet received {"connection_id":160912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":160912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:16:39] local.INFO: TCP Data received {"connection_id":160912,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:16:39] local.INFO: Processing buffer {"connection_id":160912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:16:39] local.INFO: IMEI packet received {"connection_id":160912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":160912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:16:40] local.INFO: TCP Data received {"connection_id":160912,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6e6958012d8815c005c4d0700006006f29..."} 
[2026-08-23 17:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6e6958012d8815c005c4d0700006006f29..."} 
[2026-08-23 17:16:40] local.INFO: Processing buffer {"connection_id":160912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6e6958012d8815c005c4d0700006006f29..."} 
[2026-08-23 17:16:40] local.INFO: Packet analysis {"connection_id":160912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6e"} 
[2026-08-23 17:16:40] local.INFO: Extracted packet for processing {"connection_id":160912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6e"} 
[2026-08-23 17:16:40] local.INFO: GPS Element Parsed {"raw_longitude":763893184,"raw_latitude":96784496,"longitude_deg":76.3893184,"latitude_deg":9.6784496,"altitude":6,"angle":111,"satellites":41,"speed":8,"hex_longitude":"2d8815c0","hex_latitude":"05c4d070","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596255232001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860391360364544,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8641633603961153536,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787485383000,"timestamp_ms":1787485383000,"timestamp_seconds":1787485383,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6e6958"} 
[2026-08-23 17:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:16: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-08-23 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 17:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596255232001,"66":13276,"191":206,"85":12288,"24":8,"16":122860391360364544,"45":-8641633603961153536},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596255232001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:16:40] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860391360364544,"km_value":122860391360364.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8641633603961153536,"description":"Unknown IO ID 45"} 
[2026-08-23 17:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596255232001,"power":13276,"unknown_191":206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":-8641633603961153536}} 
[2026-08-23 17:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":160912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:16:40] local.INFO: GPS data processed {"connection_id":160912,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:16:40] local.INFO: Acknowledgment sent {"connection_id":160912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:16:45] local.INFO: TCP Data received {"connection_id":160665,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:16:45] local.INFO: Processing buffer {"connection_id":160665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:16:45] local.INFO: IMEI packet received {"connection_id":160665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":160665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:16:51] local.INFO: TCP Data received {"connection_id":160665,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:16:51] local.INFO: Processing buffer {"connection_id":160665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:16:51] local.INFO: IMEI packet received {"connection_id":160665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":160665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:16:51] local.INFO: TCP Data received {"connection_id":160665,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:16:51] local.INFO: Processing buffer {"connection_id":160665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:16:51] local.INFO: Packet analysis {"connection_id":160665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:16:51] local.INFO: Extracted packet for processing {"connection_id":160665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:16:51] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596213504001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787485510000,"timestamp_ms":1787485510000,"timestamp_seconds":1787485510,"priority":1,"record_length":96,"hex_timestamp":"000001a02e705970"} 
[2026-08-23 17:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 17:16:51] 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-08-23 17:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596213504001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596213504001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:16:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:16:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596213504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":160665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:16:51] local.INFO: GPS data processed {"connection_id":160665,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:16:51] local.INFO: Acknowledgment sent {"connection_id":160665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:17:05] local.INFO: TCP Data received {"connection_id":161864,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e70d670012d181d000721a970004e002029..."} 
[2026-08-23 17:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e70d670012d181d000721a970004e002029..."} 
[2026-08-23 17:17:05] local.INFO: Processing buffer {"connection_id":161864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e70d670012d181d000721a970004e002029..."} 
[2026-08-23 17:17:05] local.INFO: Packet analysis {"connection_id":161864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:17:05] local.INFO: Extracted packet for processing {"connection_id":161864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646576,"longitude_deg":75.6555008,"latitude_deg":11.9646576,"altitude":78,"angle":32,"satellites":41,"speed":10,"hex_longitude":"2d181d00","hex_latitude":"0721a970","is_valid_coordinates":true} 
[2026-08-23 17:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596298496001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647274528931840,"note":"Value kept but may cause issues"} 
[2026-08-23 17:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375992320,"note":"Value kept but may cause issues"} 
[2026-08-23 17:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787485542000,"timestamp_ms":1787485542000,"timestamp_seconds":1787485542,"priority":1,"record_length":96,"hex_timestamp":"000001a02e70d670"} 
[2026-08-23 17:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:17: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-08-23 17:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-23 17:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596298496001,"66":13037,"105":206,"83":41984,"24":10,"16":15647274528931840,"45":1737404324375992320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596298496001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:17:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:17:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647274528931840,"km_value":15647274528931.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375992320,"description":"Unknown IO ID 45"} 
[2026-08-23 17:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596298496001,"power":13037,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737404324375992320}} 
[2026-08-23 17:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":161864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:17:05] local.INFO: GPS data processed {"connection_id":161864,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:17:05] local.INFO: Acknowledgment sent {"connection_id":161864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:17:11] local.INFO: TCP Data received {"connection_id":160912,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6eb778012d881dc005c4cd480004007429..."} 
[2026-08-23 17:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6eb778012d881dc005c4cd480004007429..."} 
[2026-08-23 17:17:11] local.INFO: Processing buffer {"connection_id":160912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6eb778012d881dc005c4cd480004007429..."} 
[2026-08-23 17:17:11] local.INFO: Packet analysis {"connection_id":160912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6e"} 
[2026-08-23 17:17:11] local.INFO: Extracted packet for processing {"connection_id":160912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6e"} 
[2026-08-23 17:17:11] local.INFO: GPS Element Parsed {"raw_longitude":763895232,"raw_latitude":96783688,"longitude_deg":76.3895232,"latitude_deg":9.6783688,"altitude":4,"angle":116,"satellites":41,"speed":0,"hex_longitude":"2d881dc0","hex_latitude":"05c4cd48","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596258048001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860498734546944,"note":"Value kept but may cause issues"} 
[2026-08-23 17:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8640789179031064576,"note":"Value kept but may cause issues"} 
[2026-08-23 17:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787485403000,"timestamp_ms":1787485403000,"timestamp_seconds":1787485403,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6eb778"} 
[2026-08-23 17:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:17: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-08-23 17: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 17:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596258048001,"66":12961,"191":206,"85":12288,"24":0,"16":122860498734546944,"45":-8640789179031064576},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596258048001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:17:11] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860498734546944,"km_value":122860498734546.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8640789179031064576,"description":"Unknown IO ID 45"} 
[2026-08-23 17:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596258048001,"power":12961,"unknown_191":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8640789179031064576}} 
[2026-08-23 17:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":160912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:17:11] local.INFO: GPS data processed {"connection_id":160912,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:17:11] local.INFO: Acknowledgment sent {"connection_id":160912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:17:23] local.INFO: TCP Data received {"connection_id":160665,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:17:23] local.INFO: Processing buffer {"connection_id":160665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:17:23] local.INFO: Packet analysis {"connection_id":160665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:17:23] local.INFO: Extracted packet for processing {"connection_id":160665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:17:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596213504001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787485510000,"timestamp_ms":1787485510000,"timestamp_seconds":1787485510,"priority":1,"record_length":96,"hex_timestamp":"000001a02e705970"} 
[2026-08-23 17:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:17: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-08-23 17:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 17:17:23] 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-08-23 17:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596213504001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596213504001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:17:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:17:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596213504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":160665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:17:23] local.INFO: GPS data processed {"connection_id":160665,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:17:23] local.INFO: Acknowledgment sent {"connection_id":160665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:17:29] local.INFO: TCP Data received {"connection_id":160666,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:17:29] local.INFO: Processing buffer {"connection_id":160666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:17:29] local.INFO: IMEI packet received {"connection_id":160666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":160666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:17:34] local.INFO: TCP Data received {"connection_id":160666,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:17:34] local.INFO: Processing buffer {"connection_id":160666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:17:34] local.INFO: IMEI packet received {"connection_id":160666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":160666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:17:34] local.INFO: TCP Data received {"connection_id":160666,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e710168012d1824c00721b688004e001129..."} 
[2026-08-23 17:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e710168012d1824c00721b688004e001129..."} 
[2026-08-23 17:17:34] local.INFO: Processing buffer {"connection_id":160666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e710168012d1824c00721b688004e001129..."} 
[2026-08-23 17:17:34] local.INFO: Packet analysis {"connection_id":160666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e71"} 
[2026-08-23 17:17:34] local.INFO: Extracted packet for processing {"connection_id":160666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e71"} 
[2026-08-23 17:17:34] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119649928,"longitude_deg":75.6556992,"latitude_deg":11.9649928,"altitude":78,"angle":17,"satellites":41,"speed":10,"hex_longitude":"2d1824c0","hex_latitude":"0721b688","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596298752001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647463507492864,"note":"Value kept but may cause issues"} 
[2026-08-23 17:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864402944,"note":"Value kept but may cause issues"} 
[2026-08-23 17:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787485553000,"timestamp_ms":1787485553000,"timestamp_seconds":1787485553,"priority":1,"record_length":96,"hex_timestamp":"000001a02e710168"} 
[2026-08-23 17:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-23 17:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596298752001,"66":12722,"105":206,"83":41984,"24":10,"16":15647463507492864,"45":1737545061864402944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596298752001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:17:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:17:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647463507492864,"km_value":15647463507492.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864402944,"description":"Unknown IO ID 45"} 
[2026-08-23 17:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596298752001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737545061864402944}} 
[2026-08-23 17:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":160666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:17:34] local.INFO: GPS data processed {"connection_id":160666,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:17:34] local.INFO: Acknowledgment sent {"connection_id":160666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:17:35] local.INFO: TCP Data received {"connection_id":160913,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:17:35] local.INFO: Processing buffer {"connection_id":160913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:17:35] local.INFO: IMEI packet received {"connection_id":160913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":160913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:17:36] local.INFO: TCP Data received {"connection_id":160913,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:17:36] local.INFO: Processing buffer {"connection_id":160913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:17:36] local.INFO: IMEI packet received {"connection_id":160913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":160913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:17:39] local.INFO: TCP Data received {"connection_id":160913,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:17:39] local.INFO: Processing buffer {"connection_id":160913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:17:39] local.INFO: IMEI packet received {"connection_id":160913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":160913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:17:40] local.INFO: TCP Data received {"connection_id":160913,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6f0980012d881dc005c4cd480004007429..."} 
[2026-08-23 17:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6f0980012d881dc005c4cd480004007429..."} 
[2026-08-23 17:17:40] local.INFO: Processing buffer {"connection_id":160913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6f0980012d881dc005c4cd480004007429..."} 
[2026-08-23 17:17:40] local.INFO: Packet analysis {"connection_id":160913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6f"} 
[2026-08-23 17:17:40] local.INFO: Extracted packet for processing {"connection_id":160913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6f"} 
[2026-08-23 17:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763895232,"raw_latitude":96783688,"longitude_deg":76.3895232,"latitude_deg":9.6783688,"altitude":4,"angle":116,"satellites":41,"speed":0,"hex_longitude":"2d881dc0","hex_latitude":"05c4cd48","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596263168001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860498734546944,"note":"Value kept but may cause issues"} 
[2026-08-23 17:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8638537379217586176,"note":"Value kept but may cause issues"} 
[2026-08-23 17:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787485424000,"timestamp_ms":1787485424000,"timestamp_seconds":1787485424,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6f0980"} 
[2026-08-23 17:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:17: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-08-23 17: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 17:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596263168001,"66":12874,"191":206,"85":12288,"24":0,"16":122860498734546944,"45":-8638537379217586176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596263168001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:17:40] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860498734546944,"km_value":122860498734546.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8638537379217586176,"description":"Unknown IO ID 45"} 
[2026-08-23 17:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596263168001,"power":12874,"unknown_191":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8638537379217586176}} 
[2026-08-23 17:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":160913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:17:40] local.INFO: GPS data processed {"connection_id":160913,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:17:40] local.INFO: Acknowledgment sent {"connection_id":160913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:17:51] local.INFO: TCP Data received {"connection_id":161865,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:17:51] local.INFO: Processing buffer {"connection_id":161865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:17:51] local.INFO: IMEI packet received {"connection_id":161865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":161865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:17:56] local.INFO: TCP Data received {"connection_id":161865,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:17:56] local.INFO: Processing buffer {"connection_id":161865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:17:56] local.INFO: IMEI packet received {"connection_id":161865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":161865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:17:56] local.INFO: TCP Data received {"connection_id":161865,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:17:56] local.INFO: Processing buffer {"connection_id":161865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:17:56] local.INFO: Packet analysis {"connection_id":161865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:17:56] local.INFO: Extracted packet for processing {"connection_id":161865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:17:56] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596213504001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787485510000,"timestamp_ms":1787485510000,"timestamp_seconds":1787485510,"priority":1,"record_length":96,"hex_timestamp":"000001a02e705970"} 
[2026-08-23 17:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 17:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596213504001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596213504001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:17:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:17:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596213504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":161865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:17:57] local.INFO: GPS data processed {"connection_id":161865,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:17:57] local.INFO: Acknowledgment sent {"connection_id":161865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:18:01] local.INFO: TCP Data received {"connection_id":161865,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:18:01] local.INFO: Processing buffer {"connection_id":161865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:18:01] local.INFO: Packet analysis {"connection_id":161865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:18:01] local.INFO: Extracted packet for processing {"connection_id":161865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:18:01] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596213504001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787485510000,"timestamp_ms":1787485510000,"timestamp_seconds":1787485510,"priority":1,"record_length":96,"hex_timestamp":"000001a02e705970"} 
[2026-08-23 17:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 17:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596213504001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596213504001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:18:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:18:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596213504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":161865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:18:01] local.INFO: GPS data processed {"connection_id":161865,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:18:01] local.INFO: Acknowledgment sent {"connection_id":161865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:18:05] local.INFO: TCP Data received {"connection_id":160666,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e710550012d1824c00721b768004e015a29..."} 
[2026-08-23 17:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e710550012d1824c00721b768004e015a29..."} 
[2026-08-23 17:18:05] local.INFO: Processing buffer {"connection_id":160666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e710550012d1824c00721b768004e015a29..."} 
[2026-08-23 17:18:05] local.INFO: Packet analysis {"connection_id":160666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e71"} 
[2026-08-23 17:18:05] local.INFO: Extracted packet for processing {"connection_id":160666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e71"} 
[2026-08-23 17:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650152,"longitude_deg":75.6556992,"latitude_deg":11.9650152,"altitude":78,"angle":346,"satellites":41,"speed":7,"hex_longitude":"2d1824c0","hex_latitude":"0721b768","is_valid_coordinates":true} 
[2026-08-23 17:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596301568001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647472097427456,"note":"Value kept but may cause issues"} 
[2026-08-23 17:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934768640,"note":"Value kept but may cause issues"} 
[2026-08-23 17:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787485554000,"timestamp_ms":1787485554000,"timestamp_seconds":1787485554,"priority":1,"record_length":96,"hex_timestamp":"000001a02e710550"} 
[2026-08-23 17:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:18: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-08-23 17:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 17:18:05] 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-08-23 17:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596301568001,"66":13015,"105":206,"83":41984,"24":7,"16":15647472097427456,"45":1739726492934768640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596301568001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:18:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:18:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647472097427456,"km_value":15647472097427.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934768640,"description":"Unknown IO ID 45"} 
[2026-08-23 17:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596301568001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739726492934768640}} 
[2026-08-23 17:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":160666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:18:06] local.INFO: GPS data processed {"connection_id":160666,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:18:06] local.INFO: Acknowledgment sent {"connection_id":160666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:18:11] local.INFO: TCP Data received {"connection_id":160913,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e6f5b88012d881f0005c4ccc80004006b29..."} 
[2026-08-23 17:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e6f5b88012d881f0005c4ccc80004006b29..."} 
[2026-08-23 17:18:11] local.INFO: Processing buffer {"connection_id":160913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e6f5b88012d881f0005c4ccc80004006b29..."} 
[2026-08-23 17:18:11] local.INFO: Packet analysis {"connection_id":160913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e6f"} 
[2026-08-23 17:18:11] local.INFO: Extracted packet for processing {"connection_id":160913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e6f"} 
[2026-08-23 17:18:11] local.INFO: GPS Element Parsed {"raw_longitude":763895552,"raw_latitude":96783560,"longitude_deg":76.3895552,"latitude_deg":9.678356,"altitude":4,"angle":107,"satellites":41,"speed":0,"hex_longitude":"2d881f00","hex_latitude":"05c4ccc8","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596268544001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860515914416128,"note":"Value kept but may cause issues"} 
[2026-08-23 17:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8638537379217586176,"note":"Value kept but may cause issues"} 
[2026-08-23 17:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787485445000,"timestamp_ms":1787485445000,"timestamp_seconds":1787485445,"priority":1,"record_length":96,"hex_timestamp":"000001a02e6f5b88"} 
[2026-08-23 17:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:18: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-08-23 17: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-23 17:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596268544001,"66":12982,"191":206,"85":12288,"24":0,"16":122860515914416128,"45":-8638537379217586176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596268544001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:18:11] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860515914416128,"km_value":122860515914416.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8638537379217586176,"description":"Unknown IO ID 45"} 
[2026-08-23 17:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596268544001,"power":12982,"unknown_191":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8638537379217586176}} 
[2026-08-23 17:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":160913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:18:11] local.INFO: GPS data processed {"connection_id":160913,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:18:11] local.INFO: Acknowledgment sent {"connection_id":160913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:18:29] local.INFO: TCP Data received {"connection_id":160667,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:18:29] local.INFO: Processing buffer {"connection_id":160667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:18:29] local.INFO: IMEI packet received {"connection_id":160667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":160667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:18:34] local.INFO: TCP Data received {"connection_id":160667,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:18:34] local.INFO: Processing buffer {"connection_id":160667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:18:34] local.INFO: IMEI packet received {"connection_id":160667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":160667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:18:34] local.INFO: TCP Data received {"connection_id":161866,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:18:34] local.INFO: Processing buffer {"connection_id":161866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:18:34] local.INFO: IMEI packet received {"connection_id":161866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":161866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:18:34] local.INFO: TCP Data received {"connection_id":160667,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e710938012d1824800721b7f0004e013329..."} 
[2026-08-23 17:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e710938012d1824800721b7f0004e013329..."} 
[2026-08-23 17:18:34] local.INFO: Processing buffer {"connection_id":160667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e710938012d1824800721b7f0004e013329..."} 
[2026-08-23 17:18:34] local.INFO: Packet analysis {"connection_id":160667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e71"} 
[2026-08-23 17:18:34] local.INFO: Extracted packet for processing {"connection_id":160667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e71"} 
[2026-08-23 17:18:34] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650288,"longitude_deg":75.6556928,"latitude_deg":11.9650288,"altitude":78,"angle":307,"satellites":41,"speed":5,"hex_longitude":"2d182480","hex_latitude":"0721b7f0","is_valid_coordinates":true} 
[2026-08-23 17:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596301824001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647480687362048,"note":"Value kept but may cause issues"} 
[2026-08-23 17:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934825984,"note":"Value kept but may cause issues"} 
[2026-08-23 17:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787485555000,"timestamp_ms":1787485555000,"timestamp_seconds":1787485555,"priority":1,"record_length":96,"hex_timestamp":"000001a02e710938"} 
[2026-08-23 17:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 17:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596301824001,"66":13015,"105":206,"83":41984,"24":5,"16":15647480687362048,"45":1739726492934825984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596301824001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:18:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:18:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647480687362048,"km_value":15647480687362.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934825984,"description":"Unknown IO ID 45"} 
[2026-08-23 17:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596301824001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739726492934825984}} 
[2026-08-23 17:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":160667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:18:34] local.INFO: GPS data processed {"connection_id":160667,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:18:34] local.INFO: Acknowledgment sent {"connection_id":160667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:18:39] local.INFO: TCP Data received {"connection_id":161866,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:18:39] local.INFO: Processing buffer {"connection_id":161866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:18:39] local.INFO: IMEI packet received {"connection_id":161866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":161866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:18:40] local.INFO: TCP Data received {"connection_id":161866,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e72e1e0012d8822c005c4cb600002006a28..."} 
[2026-08-23 17:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e72e1e0012d8822c005c4cb600002006a28..."} 
[2026-08-23 17:18:40] local.INFO: Processing buffer {"connection_id":161866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e72e1e0012d8822c005c4cb600002006a28..."} 
[2026-08-23 17:18:40] local.INFO: Packet analysis {"connection_id":161866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e72"} 
[2026-08-23 17:18:40] local.INFO: Extracted packet for processing {"connection_id":161866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e72"} 
[2026-08-23 17:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763896512,"raw_latitude":96783200,"longitude_deg":76.3896512,"latitude_deg":9.67832,"altitude":2,"angle":106,"satellites":40,"speed":0,"hex_longitude":"2d8822c0","hex_latitude":"05c4cb60","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596327680001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860567454023680,"note":"Value kept but may cause issues"} 
[2026-08-23 17:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8637130004334157824,"note":"Value kept but may cause issues"} 
[2026-08-23 17:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787485676000,"timestamp_ms":1787485676000,"timestamp_seconds":1787485676,"priority":1,"record_length":96,"hex_timestamp":"000001a02e72e1e0"} 
[2026-08-23 17:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:18: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-08-23 17: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-23 17:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596327680001,"66":12917,"191":206,"85":12288,"24":0,"16":122860567454023680,"45":-8637130004334157824},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596327680001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:18:40] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860567454023680,"km_value":122860567454023.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8637130004334157824,"description":"Unknown IO ID 45"} 
[2026-08-23 17:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596327680001,"power":12917,"unknown_191":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8637130004334157824}} 
[2026-08-23 17:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":161866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:18:40] local.INFO: GPS data processed {"connection_id":161866,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:18:40] local.INFO: Acknowledgment sent {"connection_id":161866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:18:46] local.INFO: TCP Data received {"connection_id":160914,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:18:46] local.INFO: Processing buffer {"connection_id":160914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:18:46] local.INFO: IMEI packet received {"connection_id":160914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":160914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:18:51] local.INFO: TCP Data received {"connection_id":160914,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:18:51] local.INFO: Processing buffer {"connection_id":160914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:18:51] local.INFO: IMEI packet received {"connection_id":160914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":160914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:18:51] local.INFO: TCP Data received {"connection_id":160914,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:18:51] local.INFO: Processing buffer {"connection_id":160914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:18:51] local.INFO: Packet analysis {"connection_id":160914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:18:51] local.INFO: Extracted packet for processing {"connection_id":160914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:18:51] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596213504001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787485510000,"timestamp_ms":1787485510000,"timestamp_seconds":1787485510,"priority":1,"record_length":96,"hex_timestamp":"000001a02e705970"} 
[2026-08-23 17:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 17:18:51] 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-08-23 17:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:18:51] 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-08-23 17:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596213504001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596213504001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:18:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:18:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596213504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":160914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:18:52] local.INFO: GPS data processed {"connection_id":160914,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:18:52] local.INFO: Acknowledgment sent {"connection_id":160914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:19:05] local.INFO: TCP Data received {"connection_id":160667,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e715b40012d1823000721b548004e013329..."} 
[2026-08-23 17:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e715b40012d1823000721b548004e013329..."} 
[2026-08-23 17:19:05] local.INFO: Processing buffer {"connection_id":160667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e715b40012d1823000721b548004e013329..."} 
[2026-08-23 17:19:05] local.INFO: Packet analysis {"connection_id":160667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e71"} 
[2026-08-23 17:19:05] local.INFO: Extracted packet for processing {"connection_id":160667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e71"} 
[2026-08-23 17:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649608,"longitude_deg":75.6556544,"latitude_deg":11.9649608,"altitude":78,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596302080001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647536521936896,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190683136,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787485576000,"timestamp_ms":1787485576000,"timestamp_seconds":1787485576,"priority":1,"record_length":96,"hex_timestamp":"000001a02e715b40"} 
[2026-08-23 17:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 17:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596302080001,"66":12580,"105":206,"83":41984,"24":0,"16":15647536521936896,"45":1739656124190683136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596302080001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:19:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:19:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647536521936896,"km_value":15647536521936.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190683136,"description":"Unknown IO ID 45"} 
[2026-08-23 17:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596302080001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190683136}} 
[2026-08-23 17:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":160667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:19:06] local.INFO: GPS data processed {"connection_id":160667,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:19:06] local.INFO: Acknowledgment sent {"connection_id":160667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:19:12] local.INFO: TCP Data received {"connection_id":161866,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7333e8012d88250005c4ca800002006725..."} 
[2026-08-23 17:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7333e8012d88250005c4ca800002006725..."} 
[2026-08-23 17:19:12] local.INFO: Processing buffer {"connection_id":161866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7333e8012d88250005c4ca800002006725..."} 
[2026-08-23 17:19:12] local.INFO: Packet analysis {"connection_id":161866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e73"} 
[2026-08-23 17:19:12] local.INFO: Extracted packet for processing {"connection_id":161866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e73"} 
[2026-08-23 17:19:12] local.INFO: GPS Element Parsed {"raw_longitude":763897088,"raw_latitude":96782976,"longitude_deg":76.3897088,"latitude_deg":9.6782976,"altitude":2,"angle":103,"satellites":37,"speed":0,"hex_longitude":"2d882500","hex_latitude":"05c4ca80","is_valid_coordinates":true} 
[2026-08-23 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-08-23 17:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596333056001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860606108729344,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8637130004334157824,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787485697000,"timestamp_ms":1787485697000,"timestamp_seconds":1787485697,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7333e8"} 
[2026-08-23 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-08-23 17:19: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-08-23 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 17:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 17:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596333056001,"66":12809,"191":206,"85":12288,"24":0,"16":122860606108729344,"45":-8637130004334157824},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596333056001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:19:12] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:19:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860606108729344,"km_value":122860606108729.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8637130004334157824,"description":"Unknown IO ID 45"} 
[2026-08-23 17:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596333056001,"power":12809,"unknown_191":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8637130004334157824}} 
[2026-08-23 17:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":161866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:19:12] local.INFO: GPS data processed {"connection_id":161866,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:19:12] local.INFO: Acknowledgment sent {"connection_id":161866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:19:23] local.INFO: TCP Data received {"connection_id":160914,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:19:23] local.INFO: Processing buffer {"connection_id":160914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:19:23] local.INFO: Packet analysis {"connection_id":160914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:19:23] local.INFO: Extracted packet for processing {"connection_id":160914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:19:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596213504001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787485510000,"timestamp_ms":1787485510000,"timestamp_seconds":1787485510,"priority":1,"record_length":96,"hex_timestamp":"000001a02e705970"} 
[2026-08-23 17:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:19: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-08-23 17:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 17:19:23] 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-08-23 17:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:19:23] 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-08-23 17:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596213504001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596213504001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:19:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:19:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596213504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":160914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:19:23] local.INFO: GPS data processed {"connection_id":160914,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:19:23] local.INFO: Acknowledgment sent {"connection_id":160914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:19:29] local.INFO: TCP Data received {"connection_id":161867,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:19:29] local.INFO: Processing buffer {"connection_id":161867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:19:29] local.INFO: IMEI packet received {"connection_id":161867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":161867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:19:34] local.INFO: TCP Data received {"connection_id":161867,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:19:34] local.INFO: Processing buffer {"connection_id":161867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:19:34] local.INFO: IMEI packet received {"connection_id":161867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":161867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:19:34] local.INFO: TCP Data received {"connection_id":160668,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:19:34] local.INFO: Processing buffer {"connection_id":160668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:19:34] local.INFO: IMEI packet received {"connection_id":160668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":160668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:19:34] local.INFO: TCP Data received {"connection_id":161867,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e71ad48012d1823000721b548004e013329..."} 
[2026-08-23 17:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e71ad48012d1823000721b548004e013329..."} 
[2026-08-23 17:19:34] local.INFO: Processing buffer {"connection_id":161867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e71ad48012d1823000721b548004e013329..."} 
[2026-08-23 17:19:34] local.INFO: Packet analysis {"connection_id":161867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e71"} 
[2026-08-23 17:19:34] local.INFO: Extracted packet for processing {"connection_id":161867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e71"} 
[2026-08-23 17:19:34] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649608,"longitude_deg":75.6556544,"latitude_deg":11.9649608,"altitude":78,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-08-23 17:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596307456001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647536521936896,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725443072,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787485597000,"timestamp_ms":1787485597000,"timestamp_seconds":1787485597,"priority":1,"record_length":96,"hex_timestamp":"000001a02e71ad48"} 
[2026-08-23 17:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-23 17:19:34] 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-08-23 17:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596307456001,"66":12885,"105":206,"83":41984,"24":0,"16":15647536521936896,"45":1739233911725443072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596307456001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:19:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:19:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647536521936896,"km_value":15647536521936.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725443072,"description":"Unknown IO ID 45"} 
[2026-08-23 17:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596307456001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725443072}} 
[2026-08-23 17:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":161867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:19:34] local.INFO: GPS data processed {"connection_id":161867,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:19:34] local.INFO: Acknowledgment sent {"connection_id":161867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:19:39] local.INFO: TCP Data received {"connection_id":160668,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:19:39] local.INFO: Processing buffer {"connection_id":160668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:19:39] local.INFO: IMEI packet received {"connection_id":160668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":160668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:19:40] local.INFO: TCP Data received {"connection_id":160668,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7385f0012d88258005c4ca280003007325..."} 
[2026-08-23 17:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7385f0012d88258005c4ca280003007325..."} 
[2026-08-23 17:19:40] local.INFO: Processing buffer {"connection_id":160668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7385f0012d88258005c4ca280003007325..."} 
[2026-08-23 17:19:40] local.INFO: Packet analysis {"connection_id":160668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e73"} 
[2026-08-23 17:19:40] local.INFO: Extracted packet for processing {"connection_id":160668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e73"} 
[2026-08-23 17:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763897216,"raw_latitude":96782888,"longitude_deg":76.3897216,"latitude_deg":9.6782888,"altitude":3,"angle":115,"satellites":37,"speed":3,"hex_longitude":"2d882580","hex_latitude":"05c4ca28","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596338432001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860614698663936,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8636496685636616192,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787485718000,"timestamp_ms":1787485718000,"timestamp_seconds":1787485718,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7385f0"} 
[2026-08-23 17:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-23 17:19:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2283978757,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:40] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":24576,"corrected_to":0} 
[2026-08-23 17:19:40] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:40] local.WARNING: Large IO value detected {"io_id":46,"raw_value":8139605420647391552,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:40] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3412066306,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2814312654,"corrected_to":0} 
[2026-08-23 17:19:40] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3221302664,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:40] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221603531,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:40] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817383,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-4265894009487987672,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:40] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637878847672627627,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:40] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:40] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,191,85,24,241,157,16,125,160,225,45,192,203,2,40,10,66,143,38,61,1,240,254,227,46,196,4,113,205,153,34,96,239,49,180,5,50,48,9],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":203,"original":24576,"validated":0},{"io_id":205,"original":2814312654,"validated":0}]} 
[2026-08-23 17:19:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144228596687306752,"timestamp_seconds":144228596687306.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 17:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596338432001,"66":12950,"191":206,"85":12288,"24":3,"16":122860614698663936,"45":-8636496685636616192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596338432001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:19:40] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860614698663936,"km_value":122860614698663.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8636496685636616192,"description":"Unknown IO ID 45"} 
[2026-08-23 17:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596338432001,"power":12950,"unknown_191":206,"unknown_85":12288,"ignition":3,"odometer":null,"unknown_45":-8636496685636616192}} 
[2026-08-23 17:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":160668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:19:40] local.INFO: GPS data processed {"connection_id":160668,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:19:40] local.INFO: Acknowledgment sent {"connection_id":160668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:19:46] local.INFO: TCP Data received {"connection_id":163265,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:19:46] local.INFO: Processing buffer {"connection_id":163265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:19:46] local.INFO: IMEI packet received {"connection_id":163265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":163265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:19:51] local.INFO: TCP Data received {"connection_id":163265,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:19:51] local.INFO: Processing buffer {"connection_id":163265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:19:51] local.INFO: IMEI packet received {"connection_id":163265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":163265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:19:52] local.INFO: TCP Data received {"connection_id":163265,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:19:52] local.INFO: Processing buffer {"connection_id":163265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:19:52] local.INFO: Packet analysis {"connection_id":163265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:19:52] local.INFO: Extracted packet for processing {"connection_id":163265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596213504001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787485510000,"timestamp_ms":1787485510000,"timestamp_seconds":1787485510,"priority":1,"record_length":96,"hex_timestamp":"000001a02e705970"} 
[2026-08-23 17:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 17:19:52] 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-08-23 17:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:19:52] 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-08-23 17:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596213504001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596213504001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:19:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596213504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":163265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:19:52] local.INFO: GPS data processed {"connection_id":163265,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:19:52] local.INFO: Acknowledgment sent {"connection_id":163265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:20:05] local.INFO: TCP Data received {"connection_id":161867,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e71ff50012d1823000721b548004e013327..."} 
[2026-08-23 17:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e71ff50012d1823000721b548004e013327..."} 
[2026-08-23 17:20:05] local.INFO: Processing buffer {"connection_id":161867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e71ff50012d1823000721b548004e013327..."} 
[2026-08-23 17:20:05] local.INFO: Packet analysis {"connection_id":161867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e71"} 
[2026-08-23 17:20:05] local.INFO: Extracted packet for processing {"connection_id":161867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e71"} 
[2026-08-23 17:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649608,"longitude_deg":75.6556544,"latitude_deg":11.9649608,"altitude":78,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-08-23 17:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596312832001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647536521936896,"note":"Value kept but may cause issues"} 
[2026-08-23 17:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725443072,"note":"Value kept but may cause issues"} 
[2026-08-23 17:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787485618000,"timestamp_ms":1787485618000,"timestamp_seconds":1787485618,"priority":1,"record_length":96,"hex_timestamp":"000001a02e71ff50"} 
[2026-08-23 17:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-23 17:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596312832001,"66":12841,"105":206,"83":41984,"24":0,"16":15647536521936896,"45":1739233911725443072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596312832001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:20:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:20:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647536521936896,"km_value":15647536521936.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725443072,"description":"Unknown IO ID 45"} 
[2026-08-23 17:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596312832001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725443072}} 
[2026-08-23 17:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":161867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:20:05] local.INFO: GPS data processed {"connection_id":161867,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:20:05] local.INFO: Acknowledgment sent {"connection_id":161867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:20:11] local.INFO: TCP Data received {"connection_id":160668,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e739978012d88278005c4c9700003006628..."} 
[2026-08-23 17:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e739978012d88278005c4c9700003006628..."} 
[2026-08-23 17:20:11] local.INFO: Processing buffer {"connection_id":160668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e739978012d88278005c4c9700003006628..."} 
[2026-08-23 17:20:11] local.INFO: Packet analysis {"connection_id":160668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e73"} 
[2026-08-23 17:20:11] local.INFO: Extracted packet for processing {"connection_id":160668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e73"} 
[2026-08-23 17:20:11] local.INFO: GPS Element Parsed {"raw_longitude":763897728,"raw_latitude":96782704,"longitude_deg":76.3897728,"latitude_deg":9.6782704,"altitude":3,"angle":102,"satellites":40,"speed":3,"hex_longitude":"2d882780","hex_latitude":"05c4c970","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596343808001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860640468467712,"note":"Value kept but may cause issues"} 
[2026-08-23 17:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8636355948148283392,"note":"Value kept but may cause issues"} 
[2026-08-23 17:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787485723000,"timestamp_ms":1787485723000,"timestamp_seconds":1787485723,"priority":1,"record_length":96,"hex_timestamp":"000001a02e739978"} 
[2026-08-23 17:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 17:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596343808001,"66":12613,"191":206,"85":12288,"24":3,"16":122860640468467712,"45":-8636355948148283392},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596343808001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:20:11] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860640468467712,"km_value":122860640468467.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8636355948148283392,"description":"Unknown IO ID 45"} 
[2026-08-23 17:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596343808001,"power":12613,"unknown_191":206,"unknown_85":12288,"ignition":3,"odometer":null,"unknown_45":-8636355948148283392}} 
[2026-08-23 17:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":160668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:20:11] local.INFO: GPS data processed {"connection_id":160668,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:20:11] local.INFO: Acknowledgment sent {"connection_id":160668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:20:24] local.INFO: TCP Data received {"connection_id":163265,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:20:24] local.INFO: Processing buffer {"connection_id":163265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e705970012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:20:24] local.INFO: Packet analysis {"connection_id":163265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:20:24] local.INFO: Extracted packet for processing {"connection_id":163265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e70"} 
[2026-08-23 17:20:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596213504001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787485510000,"timestamp_ms":1787485510000,"timestamp_seconds":1787485510,"priority":1,"record_length":96,"hex_timestamp":"000001a02e705970"} 
[2026-08-23 17:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 17:20:24] 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-08-23 17: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-08-23 17:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:20:24] 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-08-23 17:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596213504001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596213504001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:20:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:20:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596213504001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":163265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:20:24] local.INFO: GPS data processed {"connection_id":163265,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:20:24] local.INFO: Acknowledgment sent {"connection_id":163265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:20:34] local.INFO: TCP Data received {"connection_id":160669,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:20:34] local.INFO: Processing buffer {"connection_id":160669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:20:34] local.INFO: IMEI packet received {"connection_id":160669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":160669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:20:34] local.INFO: TCP Data received {"connection_id":160670,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:20:34] local.INFO: Processing buffer {"connection_id":160670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:20:34] local.INFO: IMEI packet received {"connection_id":160670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":160670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:20:39] local.INFO: TCP Data received {"connection_id":160669,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:20:39] local.INFO: Processing buffer {"connection_id":160669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:20:39] local.INFO: IMEI packet received {"connection_id":160669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":160669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:20:39] local.INFO: TCP Data received {"connection_id":160670,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:20:39] local.INFO: Processing buffer {"connection_id":160670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:20:39] local.INFO: IMEI packet received {"connection_id":160670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":160670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:20:40] local.INFO: TCP Data received {"connection_id":160669,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e725158012d1823000721b548004e013328..."} 
[2026-08-23 17:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e725158012d1823000721b548004e013328..."} 
[2026-08-23 17:20:40] local.INFO: Processing buffer {"connection_id":160669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e725158012d1823000721b548004e013328..."} 
[2026-08-23 17:20:40] local.INFO: Packet analysis {"connection_id":160669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e72"} 
[2026-08-23 17:20:40] local.INFO: Extracted packet for processing {"connection_id":160669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e72"} 
[2026-08-23 17:20:40] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649608,"longitude_deg":75.6556544,"latitude_deg":11.9649608,"altitude":78,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-08-23 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-08-23 17:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596318208001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647536521936896,"note":"Value kept but may cause issues"} 
[2026-08-23 17:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725443072,"note":"Value kept but may cause issues"} 
[2026-08-23 17:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787485639000,"timestamp_ms":1787485639000,"timestamp_seconds":1787485639,"priority":1,"record_length":96,"hex_timestamp":"000001a02e725158"} 
[2026-08-23 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-08-23 17:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 17:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 17:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596318208001,"66":12798,"105":206,"83":41984,"24":0,"16":15647536521936896,"45":1739233911725443072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596318208001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:20:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:20:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647536521936896,"km_value":15647536521936.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725443072,"description":"Unknown IO ID 45"} 
[2026-08-23 17:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596318208001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725443072}} 
[2026-08-23 17:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":160669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:20:40] local.INFO: GPS data processed {"connection_id":160669,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:20:40] local.INFO: Acknowledgment sent {"connection_id":160669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:20:40] local.INFO: TCP Data received {"connection_id":160670,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e73e798012d88318005c4c7600004006329..."} 
[2026-08-23 17:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e73e798012d88318005c4c7600004006329..."} 
[2026-08-23 17:20:40] local.INFO: Processing buffer {"connection_id":160670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e73e798012d88318005c4c7600004006329..."} 
[2026-08-23 17:20:40] local.INFO: Packet analysis {"connection_id":160670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e73"} 
[2026-08-23 17:20:40] local.INFO: Extracted packet for processing {"connection_id":160670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e73"} 
[2026-08-23 17:20:40] local.INFO: GPS Element Parsed {"raw_longitude":763900288,"raw_latitude":96782176,"longitude_deg":76.3900288,"latitude_deg":9.6782176,"altitude":4,"angle":99,"satellites":41,"speed":7,"hex_longitude":"2d883180","hex_latitude":"05c4c760","is_valid_coordinates":true} 
[2026-08-23 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-08-23 17:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596345088001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860769317486592,"note":"Value kept but may cause issues"} 
[2026-08-23 17:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8635792998194909184,"note":"Value kept but may cause issues"} 
[2026-08-23 17:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787485743000,"timestamp_ms":1787485743000,"timestamp_seconds":1787485743,"priority":1,"record_length":96,"hex_timestamp":"000001a02e73e798"} 
[2026-08-23 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-08-23 17:20: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-08-23 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-23 17:20:40] 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-08-23 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-08-23 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-08-23 17:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596345088001,"66":13243,"191":206,"85":12288,"24":7,"16":122860769317486592,"45":-8635792998194909184},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596345088001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:20:40] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860769317486592,"km_value":122860769317486.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8635792998194909184,"description":"Unknown IO ID 45"} 
[2026-08-23 17:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596345088001,"power":13243,"unknown_191":206,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":-8635792998194909184}} 
[2026-08-23 17:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":160670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:20:40] local.INFO: GPS data processed {"connection_id":160670,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:20:40] local.INFO: Acknowledgment sent {"connection_id":160670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:20:46] local.INFO: TCP Data received {"connection_id":161868,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:20:46] local.INFO: Processing buffer {"connection_id":161868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:20:46] local.INFO: IMEI packet received {"connection_id":161868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":161868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:20:50] local.INFO: TCP Data received {"connection_id":161868,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:20:50] local.INFO: Processing buffer {"connection_id":161868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:20:50] local.INFO: IMEI packet received {"connection_id":161868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":161868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:20:52] local.INFO: TCP Data received {"connection_id":161868,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e74f138012d34c50006aa4098000c00851c..."} 
[2026-08-23 17:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e74f138012d34c50006aa4098000c00851c..."} 
[2026-08-23 17:20:53] local.INFO: Processing buffer {"connection_id":161868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e74f138012d34c50006aa4098000c00851c..."} 
[2026-08-23 17:20:53] local.INFO: Packet analysis {"connection_id":161868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e74"} 
[2026-08-23 17:20:53] local.INFO: Extracted packet for processing {"connection_id":161868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e74"} 
[2026-08-23 17:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596290560001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787485811000,"timestamp_ms":1787485811000,"timestamp_seconds":1787485811,"priority":1,"record_length":96,"hex_timestamp":"000001a02e74f138"} 
[2026-08-23 17:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:20: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-08-23 17:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 17:20:53] 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-08-23 17:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596290560001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596290560001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:20:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:20:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596290560001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":161868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:20:53] local.INFO: GPS data processed {"connection_id":161868,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:20:53] local.INFO: Acknowledgment sent {"connection_id":161868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:21:11] local.INFO: TCP Data received {"connection_id":160669,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e72a360012d1823000721b548004e013327..."} 
[2026-08-23 17:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e72a360012d1823000721b548004e013327..."} 
[2026-08-23 17:21:11] local.INFO: Processing buffer {"connection_id":160669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e72a360012d1823000721b548004e013327..."} 
[2026-08-23 17:21:11] local.INFO: Packet analysis {"connection_id":160669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e72"} 
[2026-08-23 17:21:11] local.INFO: Extracted packet for processing {"connection_id":160669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e72"} 
[2026-08-23 17:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649608,"longitude_deg":75.6556544,"latitude_deg":11.9649608,"altitude":78,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596323584001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647536521936896,"note":"Value kept but may cause issues"} 
[2026-08-23 17:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725443072,"note":"Value kept but may cause issues"} 
[2026-08-23 17:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787485660000,"timestamp_ms":1787485660000,"timestamp_seconds":1787485660,"priority":1,"record_length":96,"hex_timestamp":"000001a02e72a360"} 
[2026-08-23 17:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:21:11] 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-08-23 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-23 17:21:11] 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-08-23 17: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-08-23 17:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596323584001,"66":12798,"105":206,"83":41984,"24":0,"16":15647536521936896,"45":1739233911725443072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596323584001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:21:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647536521936896,"km_value":15647536521936.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725443072,"description":"Unknown IO ID 45"} 
[2026-08-23 17:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596323584001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725443072}} 
[2026-08-23 17:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":160669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:21:11] local.INFO: GPS data processed {"connection_id":160669,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:21:11] local.INFO: Acknowledgment sent {"connection_id":160669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:21:11] local.INFO: TCP Data received {"connection_id":160670,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e742de8012d883b8005c4c5400004007127..."} 
[2026-08-23 17:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e742de8012d883b8005c4c5400004007127..."} 
[2026-08-23 17:21:11] local.INFO: Processing buffer {"connection_id":160670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e742de8012d883b8005c4c5400004007127..."} 
[2026-08-23 17:21:11] local.INFO: Packet analysis {"connection_id":160670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e74"} 
[2026-08-23 17:21:11] local.INFO: Extracted packet for processing {"connection_id":160670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e74"} 
[2026-08-23 17:21:11] local.INFO: GPS Element Parsed {"raw_longitude":763902848,"raw_latitude":96781632,"longitude_deg":76.3902848,"latitude_deg":9.6781632,"altitude":4,"angle":113,"satellites":39,"speed":4,"hex_longitude":"2d883b80","hex_latitude":"05c4c540","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596350208001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860889576570880,"note":"Value kept but may cause issues"} 
[2026-08-23 17:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8632978248427937792,"note":"Value kept but may cause issues"} 
[2026-08-23 17:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787485761000,"timestamp_ms":1787485761000,"timestamp_seconds":1787485761,"priority":1,"record_length":96,"hex_timestamp":"000001a02e742de8"} 
[2026-08-23 17:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:21: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-08-23 17: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-23 17:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596350208001,"66":12765,"191":206,"85":12288,"24":4,"16":122860889576570880,"45":-8632978248427937792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596350208001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:21:11] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860889576570880,"km_value":122860889576570.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8632978248427937792,"description":"Unknown IO ID 45"} 
[2026-08-23 17:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596350208001,"power":12765,"unknown_191":206,"unknown_85":12288,"ignition":4,"odometer":null,"unknown_45":-8632978248427937792}} 
[2026-08-23 17:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":160670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:21:11] local.INFO: GPS data processed {"connection_id":160670,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:21:11] local.INFO: Acknowledgment sent {"connection_id":160670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:21:24] local.INFO: TCP Data received {"connection_id":161868,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02e74f138012d34c50006aa4098000c00851c..."} 
[2026-08-23 17:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e74f138012d34c50006aa4098000c00851c..."} 
[2026-08-23 17:21:24] local.INFO: Processing buffer {"connection_id":161868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e74f138012d34c50006aa4098000c00851c..."} 
[2026-08-23 17:21:24] local.INFO: Packet analysis {"connection_id":161868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e74"} 
[2026-08-23 17:21:24] local.INFO: Extracted packet for processing {"connection_id":161868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e74"} 
[2026-08-23 17:21:24] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596290560001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787485811000,"timestamp_ms":1787485811000,"timestamp_seconds":1787485811,"priority":1,"record_length":96,"hex_timestamp":"000001a02e74f138"} 
[2026-08-23 17:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 17:21:24] 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-08-23 17:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:21: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-08-23 17:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596290560001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596290560001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:21:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:21:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596290560001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":161868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:21:24] local.INFO: GPS data processed {"connection_id":161868,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:21:24] local.INFO: Acknowledgment sent {"connection_id":161868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:21:29] local.INFO: TCP Data received {"connection_id":163266,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:21:29] local.INFO: Processing buffer {"connection_id":163266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:21:29] local.INFO: IMEI packet received {"connection_id":163266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":163266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:21:34] local.INFO: TCP Data received {"connection_id":163266,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:21:34] local.INFO: Processing buffer {"connection_id":163266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:21:34] local.INFO: IMEI packet received {"connection_id":163266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":163266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:21:35] local.INFO: TCP Data received {"connection_id":163266,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e72f568012d1823000721b548004e013328..."} 
[2026-08-23 17:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e72f568012d1823000721b548004e013328..."} 
[2026-08-23 17:21:35] local.INFO: Processing buffer {"connection_id":163266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e72f568012d1823000721b548004e013328..."} 
[2026-08-23 17:21:35] local.INFO: Packet analysis {"connection_id":163266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e72"} 
[2026-08-23 17:21:35] local.INFO: Extracted packet for processing {"connection_id":163266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e72"} 
[2026-08-23 17:21:35] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649608,"longitude_deg":75.6556544,"latitude_deg":11.9649608,"altitude":78,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-08-23 17:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596328960001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647536521936896,"note":"Value kept but may cause issues"} 
[2026-08-23 17:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725443072,"note":"Value kept but may cause issues"} 
[2026-08-23 17:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787485681000,"timestamp_ms":1787485681000,"timestamp_seconds":1787485681,"priority":1,"record_length":96,"hex_timestamp":"000001a02e72f568"} 
[2026-08-23 17:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-23 17:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596328960001,"66":12776,"105":206,"83":41984,"24":0,"16":15647536521936896,"45":1739233911725443072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596328960001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:21:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:21:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647536521936896,"km_value":15647536521936.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725443072,"description":"Unknown IO ID 45"} 
[2026-08-23 17:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596328960001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725443072}} 
[2026-08-23 17:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":163266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:21:35] local.INFO: GPS data processed {"connection_id":163266,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:21:35] local.INFO: Acknowledgment sent {"connection_id":163266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:21:39] local.INFO: TCP Data received {"connection_id":163267,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:21:39] local.INFO: Processing buffer {"connection_id":163267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:21:39] local.INFO: IMEI packet received {"connection_id":163267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":163267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:21:44] local.INFO: TCP Data received {"connection_id":163267,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:21:44] local.INFO: Processing buffer {"connection_id":163267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:21:44] local.INFO: IMEI packet received {"connection_id":163267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":163267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:21:45] local.INFO: TCP Data received {"connection_id":161869,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:21:45] local.INFO: Processing buffer {"connection_id":161869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:21:45] local.INFO: IMEI packet received {"connection_id":161869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":161869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:21:45] local.INFO: TCP Data received {"connection_id":163267,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7431d0012d883c0005c4c5280004006227..."} 
[2026-08-23 17:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7431d0012d883c0005c4c5280004006227..."} 
[2026-08-23 17:21:45] local.INFO: Processing buffer {"connection_id":163267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7431d0012d883c0005c4c5280004006227..."} 
[2026-08-23 17:21:45] local.INFO: Packet analysis {"connection_id":163267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e74"} 
[2026-08-23 17:21:45] local.INFO: Extracted packet for processing {"connection_id":163267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e74"} 
[2026-08-23 17:21:45] local.INFO: GPS Element Parsed {"raw_longitude":763902976,"raw_latitude":96781608,"longitude_deg":76.3902976,"latitude_deg":9.6781608,"altitude":4,"angle":98,"satellites":39,"speed":5,"hex_longitude":"2d883c00","hex_latitude":"05c4c528","is_valid_coordinates":true} 
[2026-08-23 17:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596354816001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860898166505472,"note":"Value kept but may cause issues"} 
[2026-08-23 17:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8630163498660970496,"note":"Value kept but may cause issues"} 
[2026-08-23 17:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787485762000,"timestamp_ms":1787485762000,"timestamp_seconds":1787485762,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7431d0"} 
[2026-08-23 17:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:21: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-08-23 17:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-23 17:21:45] 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-08-23 17:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596354816001,"66":12765,"191":206,"85":12288,"24":5,"16":122860898166505472,"45":-8630163498660970496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596354816001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:21:45] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:21:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860898166505472,"km_value":122860898166505.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8630163498660970496,"description":"Unknown IO ID 45"} 
[2026-08-23 17:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596354816001,"power":12765,"unknown_191":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":-8630163498660970496}} 
[2026-08-23 17:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":163267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:21:45] local.INFO: GPS data processed {"connection_id":163267,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:21:45] local.INFO: Acknowledgment sent {"connection_id":163267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:21:50] local.INFO: TCP Data received {"connection_id":163267,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e747ff0012d883fc005c4c4080005006927..."} 
[2026-08-23 17:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e747ff0012d883fc005c4c4080005006927..."} 
[2026-08-23 17:21:50] local.INFO: Processing buffer {"connection_id":163267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e747ff0012d883fc005c4c4080005006927..."} 
[2026-08-23 17:21:50] local.INFO: Packet analysis {"connection_id":163267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e74"} 
[2026-08-23 17:21:50] local.INFO: Extracted packet for processing {"connection_id":163267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e74"} 
[2026-08-23 17:21:50] local.INFO: GPS Element Parsed {"raw_longitude":763903936,"raw_latitude":96781320,"longitude_deg":76.3903936,"latitude_deg":9.678132,"altitude":5,"angle":105,"satellites":39,"speed":3,"hex_longitude":"2d883fc0","hex_latitude":"05c4c408","is_valid_coordinates":true} 
[2026-08-23 17:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596355072001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860949706113024,"note":"Value kept but may cause issues"} 
[2026-08-23 17:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8630022761172621312,"note":"Value kept but may cause issues"} 
[2026-08-23 17:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787485782000,"timestamp_ms":1787485782000,"timestamp_seconds":1787485782,"priority":1,"record_length":96,"hex_timestamp":"000001a02e747ff0"} 
[2026-08-23 17:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:21: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-08-23 17:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-23 17:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596355072001,"66":12906,"191":206,"85":12288,"24":3,"16":122860949706113024,"45":-8630022761172621312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596355072001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:21:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:21:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860949706113024,"km_value":122860949706113.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8630022761172621312,"description":"Unknown IO ID 45"} 
[2026-08-23 17:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596355072001,"power":12906,"unknown_191":206,"unknown_85":12288,"ignition":3,"odometer":null,"unknown_45":-8630022761172621312}} 
[2026-08-23 17:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":163267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:21:50] local.INFO: GPS data processed {"connection_id":163267,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:21:50] local.INFO: Acknowledgment sent {"connection_id":163267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:21:51] local.INFO: TCP Data received {"connection_id":161869,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:21:51] local.INFO: Processing buffer {"connection_id":161869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:21:51] local.INFO: IMEI packet received {"connection_id":161869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":161869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:21:51] local.INFO: TCP Data received {"connection_id":161869,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02e74f138012d34c50006aa4098000c00851c..."} 
[2026-08-23 17:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e74f138012d34c50006aa4098000c00851c..."} 
[2026-08-23 17:21:51] local.INFO: Processing buffer {"connection_id":161869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e74f138012d34c50006aa4098000c00851c..."} 
[2026-08-23 17:21:51] local.INFO: Packet analysis {"connection_id":161869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e74"} 
[2026-08-23 17:21:51] local.INFO: Extracted packet for processing {"connection_id":161869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e74"} 
[2026-08-23 17:21:51] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596290560001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787485811000,"timestamp_ms":1787485811000,"timestamp_seconds":1787485811,"priority":1,"record_length":96,"hex_timestamp":"000001a02e74f138"} 
[2026-08-23 17:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 17:21:51] 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-08-23 17:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:21:51] 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-08-23 17:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596290560001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596290560001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:21:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:21:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596290560001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":161869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:21:51] local.INFO: GPS data processed {"connection_id":161869,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:21:51] local.INFO: Acknowledgment sent {"connection_id":161869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:22:06] local.INFO: TCP Data received {"connection_id":163266,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e734770012d1823000721b548004e013326..."} 
[2026-08-23 17:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e734770012d1823000721b548004e013326..."} 
[2026-08-23 17:22:06] local.INFO: Processing buffer {"connection_id":163266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e734770012d1823000721b548004e013326..."} 
[2026-08-23 17:22:06] local.INFO: Packet analysis {"connection_id":163266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e73"} 
[2026-08-23 17:22:06] local.INFO: Extracted packet for processing {"connection_id":163266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e73"} 
[2026-08-23 17:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649608,"longitude_deg":75.6556544,"latitude_deg":11.9649608,"altitude":78,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-08-23 17:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596334336001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647536521936896,"note":"Value kept but may cause issues"} 
[2026-08-23 17:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725443072,"note":"Value kept but may cause issues"} 
[2026-08-23 17:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787485702000,"timestamp_ms":1787485702000,"timestamp_seconds":1787485702,"priority":1,"record_length":96,"hex_timestamp":"000001a02e734770"} 
[2026-08-23 17:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-23 17:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596334336001,"66":12722,"105":206,"83":41984,"24":0,"16":15647536521936896,"45":1739233911725443072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596334336001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:22:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647536521936896,"km_value":15647536521936.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725443072,"description":"Unknown IO ID 45"} 
[2026-08-23 17:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596334336001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725443072}} 
[2026-08-23 17:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":163266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:22:06] local.INFO: GPS data processed {"connection_id":163266,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:22:06] local.INFO: Acknowledgment sent {"connection_id":163266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:22:22] local.INFO: TCP Data received {"connection_id":161869,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02e760690012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e760690012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:22:22] local.INFO: Processing buffer {"connection_id":161869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e760690012d34c50006aa4098000c00851d..."} 
[2026-08-23 17:22:22] local.INFO: Packet analysis {"connection_id":161869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e76"} 
[2026-08-23 17:22:22] local.INFO: Extracted packet for processing {"connection_id":161869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e76"} 
[2026-08-23 17:22:22] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820952,"longitude_deg":75.8433024,"latitude_deg":11.1820952,"altitude":12,"angle":133,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596367616001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787485882000,"timestamp_ms":1787485882000,"timestamp_seconds":1787485882,"priority":1,"record_length":96,"hex_timestamp":"000001a02e760690"} 
[2026-08-23 17:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:22: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-08-23 17:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:22:22] 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-08-23 17:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596367616001,"66":25538,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596367616001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:22:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:22:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596367616001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":161869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:22:22] local.INFO: GPS data processed {"connection_id":161869,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:22:22] local.INFO: Acknowledgment sent {"connection_id":161869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:22:29] local.INFO: TCP Data received {"connection_id":163268,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:22:29] local.INFO: Processing buffer {"connection_id":163268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:22:29] local.INFO: IMEI packet received {"connection_id":163268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":163268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:22:34] local.INFO: TCP Data received {"connection_id":163268,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:22:34] local.INFO: Processing buffer {"connection_id":163268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:22:34] local.INFO: IMEI packet received {"connection_id":163268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":163268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:22:35] local.INFO: TCP Data received {"connection_id":163268,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e739978012d1823000721b548004e013327..."} 
[2026-08-23 17:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e739978012d1823000721b548004e013327..."} 
[2026-08-23 17:22:35] local.INFO: Processing buffer {"connection_id":163268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e739978012d1823000721b548004e013327..."} 
[2026-08-23 17:22:35] local.INFO: Packet analysis {"connection_id":163268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e73"} 
[2026-08-23 17:22:35] local.INFO: Extracted packet for processing {"connection_id":163268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e73"} 
[2026-08-23 17:22:35] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649608,"longitude_deg":75.6556544,"latitude_deg":11.9649608,"altitude":78,"angle":307,"satellites":39,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-08-23 17:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596339712001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647536521936896,"note":"Value kept but may cause issues"} 
[2026-08-23 17:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725443072,"note":"Value kept but may cause issues"} 
[2026-08-23 17:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787485723000,"timestamp_ms":1787485723000,"timestamp_seconds":1787485723,"priority":1,"record_length":96,"hex_timestamp":"000001a02e739978"} 
[2026-08-23 17:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 17:22:35] 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-08-23 17:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596339712001,"66":12711,"105":206,"83":41984,"24":0,"16":15647536521936896,"45":1739233911725443072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596339712001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:22:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:22:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647536521936896,"km_value":15647536521936.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725443072,"description":"Unknown IO ID 45"} 
[2026-08-23 17:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596339712001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725443072}} 
[2026-08-23 17:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":163268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:22:35] local.INFO: GPS data processed {"connection_id":163268,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:22:35] local.INFO: Acknowledgment sent {"connection_id":163268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:22:36] local.INFO: TCP Data received {"connection_id":160671,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:22:36] local.INFO: Processing buffer {"connection_id":160671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:22:36] local.INFO: IMEI packet received {"connection_id":160671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":160671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:22:39] local.INFO: TCP Data received {"connection_id":160671,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:22:39] local.INFO: Processing buffer {"connection_id":160671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:22:39] local.INFO: IMEI packet received {"connection_id":160671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":160671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:22:40] local.INFO: TCP Data received {"connection_id":160671,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e748f90012d8840c005c4c3e00005005a27..."} 
[2026-08-23 17:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e748f90012d8840c005c4c3e00005005a27..."} 
[2026-08-23 17:22:40] local.INFO: Processing buffer {"connection_id":160671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e748f90012d8840c005c4c3e00005005a27..."} 
[2026-08-23 17:22:40] local.INFO: Packet analysis {"connection_id":160671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e74"} 
[2026-08-23 17:22:40] local.INFO: Extracted packet for processing {"connection_id":160671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e74"} 
[2026-08-23 17:22:40] local.INFO: GPS Element Parsed {"raw_longitude":763904192,"raw_latitude":96781280,"longitude_deg":76.3904192,"latitude_deg":9.678128,"altitude":5,"angle":90,"satellites":39,"speed":1,"hex_longitude":"2d8840c0","hex_latitude":"05c4c3e0","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596360192001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860962591014912,"note":"Value kept but may cause issues"} 
[2026-08-23 17:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8628967230010030080,"note":"Value kept but may cause issues"} 
[2026-08-23 17:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787485786000,"timestamp_ms":1787485786000,"timestamp_seconds":1787485786,"priority":1,"record_length":96,"hex_timestamp":"000001a02e748f90"} 
[2026-08-23 17:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:22: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-08-23 17: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-23 17:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596360192001,"66":13200,"191":206,"85":12288,"24":1,"16":122860962591014912,"45":-8628967230010030080},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596360192001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:22:40] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860962591014912,"km_value":122860962591014.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8628967230010030080,"description":"Unknown IO ID 45"} 
[2026-08-23 17:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596360192001,"power":13200,"unknown_191":206,"unknown_85":12288,"ignition":1,"odometer":null,"unknown_45":-8628967230010030080}} 
[2026-08-23 17:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":160671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687895,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:22:40] local.INFO: GPS data processed {"connection_id":160671,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:22:40] local.INFO: Acknowledgment sent {"connection_id":160671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:22:45] local.INFO: TCP Data received {"connection_id":160671,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e74d5e0012d88420005c4c3e00005007428..."} 
[2026-08-23 17:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e74d5e0012d88420005c4c3e00005007428..."} 
[2026-08-23 17:22:45] local.INFO: Processing buffer {"connection_id":160671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e74d5e0012d88420005c4c3e00005007428..."} 
[2026-08-23 17:22:45] local.INFO: Packet analysis {"connection_id":160671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e74"} 
[2026-08-23 17:22:45] local.INFO: Extracted packet for processing {"connection_id":160671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e74"} 
[2026-08-23 17:22:45] local.INFO: GPS Element Parsed {"raw_longitude":763904512,"raw_latitude":96781280,"longitude_deg":76.3904512,"latitude_deg":9.678128,"altitude":5,"angle":116,"satellites":40,"speed":1,"hex_longitude":"2d884200","hex_latitude":"05c4c3e0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 17:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596361216001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122860975475916800,"note":"Value kept but may cause issues"} 
[2026-08-23 17:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8628685755033329664,"note":"Value kept but may cause issues"} 
[2026-08-23 17:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787485804000,"timestamp_ms":1787485804000,"timestamp_seconds":1787485804,"priority":1,"record_length":96,"hex_timestamp":"000001a02e74d5e0"} 
[2026-08-23 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-08-23 17:22: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-08-23 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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-23 17:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 17:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596361216001,"66":13243,"191":206,"85":12288,"24":1,"16":122860975475916800,"45":-8628685755033329664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,85,24,16,45]} 
[2026-08-23 17:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596361216001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:22:45] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-23 17:22:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122860975475916800,"km_value":122860975475916.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8628685755033329664,"description":"Unknown IO ID 45"} 
[2026-08-23 17:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596361216001,"power":13243,"unknown_191":206,"unknown_85":12288,"ignition":1,"odometer":null,"unknown_45":-8628685755033329664}} 
[2026-08-23 17:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":160671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:22:45] local.INFO: GPS data processed {"connection_id":160671,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:22:45] local.INFO: Acknowledgment sent {"connection_id":160671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:22:46] local.INFO: TCP Data received {"connection_id":160915,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:22:46] local.INFO: Processing buffer {"connection_id":160915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:22:46] local.INFO: IMEI packet received {"connection_id":160915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":160915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:22:49] local.INFO: TCP Data received {"connection_id":160915,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:22:49] local.INFO: Processing buffer {"connection_id":160915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:22:49] local.INFO: IMEI packet received {"connection_id":160915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":160915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:22:49] local.INFO: TCP Data received {"connection_id":160915,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02e761e00012d34c80006aa4098000c01141c..."} 
[2026-08-23 17:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e761e00012d34c80006aa4098000c01141c..."} 
[2026-08-23 17:22:49] local.INFO: Processing buffer {"connection_id":160915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e761e00012d34c80006aa4098000c01141c..."} 
[2026-08-23 17:22:49] local.INFO: Packet analysis {"connection_id":160915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e76"} 
[2026-08-23 17:22:49] local.INFO: Extracted packet for processing {"connection_id":160915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e76"} 
[2026-08-23 17:22:49] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820952,"longitude_deg":75.8433792,"latitude_deg":11.1820952,"altitude":12,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596385792001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010415616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787485888000,"timestamp_ms":1787485888000,"timestamp_seconds":1787485888,"priority":1,"record_length":96,"hex_timestamp":"000001a02e761e00"} 
[2026-08-23 17:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-23 17:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":160915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":160915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":160915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:22:49] 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-08-23 17:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596385792001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802445489010415616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596385792001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:22:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:22:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010415616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596385792001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010415616}} 
[2026-08-23 17:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":160915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:22:49] local.INFO: GPS data processed {"connection_id":160915,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:22:49] local.INFO: Acknowledgment sent {"connection_id":160915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:23:06] local.INFO: TCP Data received {"connection_id":163268,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e73eb80012d1823000721b548004e013328..."} 
[2026-08-23 17:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e73eb80012d1823000721b548004e013328..."} 
[2026-08-23 17:23:06] local.INFO: Processing buffer {"connection_id":163268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e73eb80012d1823000721b548004e013328..."} 
[2026-08-23 17:23:06] local.INFO: Packet analysis {"connection_id":163268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e73"} 
[2026-08-23 17:23:06] local.INFO: Extracted packet for processing {"connection_id":163268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e73"} 
[2026-08-23 17:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649608,"longitude_deg":75.6556544,"latitude_deg":11.9649608,"altitude":78,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-08-23 17:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596345088001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647536521936896,"note":"Value kept but may cause issues"} 
[2026-08-23 17:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725443072,"note":"Value kept but may cause issues"} 
[2026-08-23 17:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787485744000,"timestamp_ms":1787485744000,"timestamp_seconds":1787485744,"priority":1,"record_length":96,"hex_timestamp":"000001a02e73eb80"} 
[2026-08-23 17:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-23 17:23:06] 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-08-23 17:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596345088001,"66":12667,"105":206,"83":41984,"24":0,"16":15647536521936896,"45":1739233911725443072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596345088001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:23:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647536521936896,"km_value":15647536521936.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725443072,"description":"Unknown IO ID 45"} 
[2026-08-23 17:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596345088001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725443072}} 
[2026-08-23 17:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":163268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:23:06] local.INFO: GPS data processed {"connection_id":163268,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:23:06] local.INFO: Acknowledgment sent {"connection_id":163268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:23:15] local.INFO: TCP Data received {"connection_id":160671,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e774eb0012d8868c005c4b8c80004006726..."} 
[2026-08-23 17:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e774eb0012d8868c005c4b8c80004006726..."} 
[2026-08-23 17:23:15] local.INFO: Processing buffer {"connection_id":160671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e774eb0012d8868c005c4b8c80004006726..."} 
[2026-08-23 17:23:15] local.INFO: Packet analysis {"connection_id":160671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:23:15] local.INFO: Extracted packet for processing {"connection_id":160671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:23:15] local.INFO: GPS Element Parsed {"raw_longitude":763914432,"raw_latitude":96778440,"longitude_deg":76.3914432,"latitude_deg":9.677844,"altitude":4,"angle":103,"satellites":38,"speed":0,"hex_longitude":"2d8868c0","hex_latitude":"05c4b8c8","is_valid_coordinates":true} 
[2026-08-23 17:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596401920001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122861477987090432,"note":"Value kept but may cause issues"} 
[2026-08-23 17:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8617426755965630464,"note":"Value kept but may cause issues"} 
[2026-08-23 17:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787485966000,"timestamp_ms":1787485966000,"timestamp_seconds":1787485966,"priority":1,"record_length":96,"hex_timestamp":"000001a02e774eb0"} 
[2026-08-23 17:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-23 17:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596401920001,"66":12765,"189":206,"85":12288,"24":0,"16":122861477987090432,"45":-8617426755965630464},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596401920001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:23:15] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:23:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122861477987090432,"km_value":122861477987090.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8617426755965630464,"description":"Unknown IO ID 45"} 
[2026-08-23 17:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596401920001,"power":12765,"unknown_189":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8617426755965630464}} 
[2026-08-23 17:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":160671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:23:16] local.INFO: GPS data processed {"connection_id":160671,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:23:16] local.INFO: Acknowledgment sent {"connection_id":160671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:23:21] local.INFO: TCP Data received {"connection_id":160915,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02e767008012d34c80006aa4098000c01141e..."} 
[2026-08-23 17:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e767008012d34c80006aa4098000c01141e..."} 
[2026-08-23 17:23:21] local.INFO: Processing buffer {"connection_id":160915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e767008012d34c80006aa4098000c01141e..."} 
[2026-08-23 17:23:21] local.INFO: Packet analysis {"connection_id":160915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e76"} 
[2026-08-23 17:23:21] local.INFO: Extracted packet for processing {"connection_id":160915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e76"} 
[2026-08-23 17:23:21] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820952,"longitude_deg":75.8433792,"latitude_deg":11.1820952,"altitude":12,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596387328001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940547584,"note":"Value kept but may cause issues"} 
[2026-08-23 17:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787485909000,"timestamp_ms":1787485909000,"timestamp_seconds":1787485909,"priority":1,"record_length":96,"hex_timestamp":"000001a02e767008"} 
[2026-08-23 17:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:23: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-08-23 17: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-08-23 17: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-08-23 17: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-08-23 17:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":160915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":160915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":160915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:23:21] 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-08-23 17:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596387328001,"66":25223,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3803289913940547584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596387328001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:23:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:23:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940547584,"description":"Unknown IO ID 45"} 
[2026-08-23 17:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596387328001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940547584}} 
[2026-08-23 17:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":160915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:23:21] local.INFO: GPS data processed {"connection_id":160915,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:23:21] local.INFO: Acknowledgment sent {"connection_id":160915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:23:29] local.INFO: TCP Data received {"connection_id":160916,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:23:29] local.INFO: Processing buffer {"connection_id":160916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:23:29] local.INFO: IMEI packet received {"connection_id":160916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":160916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:23:34] local.INFO: TCP Data received {"connection_id":160916,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:23:34] local.INFO: TCP Data received {"connection_id":163269,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:23:34] local.INFO: Processing buffer {"connection_id":160916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:23:34] local.INFO: IMEI packet received {"connection_id":160916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":160916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163269,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:23:34] local.INFO: Processing buffer {"connection_id":163269,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:23:34] local.INFO: IMEI packet received {"connection_id":163269,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":163269,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:23:35] local.INFO: TCP Data received {"connection_id":160916,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e743d88012d1823000721b548004e013329..."} 
[2026-08-23 17:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e743d88012d1823000721b548004e013329..."} 
[2026-08-23 17:23:35] local.INFO: Processing buffer {"connection_id":160916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e743d88012d1823000721b548004e013329..."} 
[2026-08-23 17:23:35] local.INFO: Packet analysis {"connection_id":160916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e74"} 
[2026-08-23 17:23:35] local.INFO: Extracted packet for processing {"connection_id":160916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e74"} 
[2026-08-23 17:23:35] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649608,"longitude_deg":75.6556544,"latitude_deg":11.9649608,"altitude":78,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-08-23 17:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596350464001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647536521936896,"note":"Value kept but may cause issues"} 
[2026-08-23 17:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725443072,"note":"Value kept but may cause issues"} 
[2026-08-23 17:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787485765000,"timestamp_ms":1787485765000,"timestamp_seconds":1787485765,"priority":1,"record_length":96,"hex_timestamp":"000001a02e743d88"} 
[2026-08-23 17:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-23 17:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596350464001,"66":12602,"105":206,"83":41984,"24":0,"16":15647536521936896,"45":1739233911725443072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596350464001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:23:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:23:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647536521936896,"km_value":15647536521936.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725443072,"description":"Unknown IO ID 45"} 
[2026-08-23 17:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596350464001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725443072}} 
[2026-08-23 17:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":160916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:23:35] local.INFO: GPS data processed {"connection_id":160916,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:23:35] local.INFO: Acknowledgment sent {"connection_id":160916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:23:39] local.INFO: TCP Data received {"connection_id":163269,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163269,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:23:39] local.INFO: Processing buffer {"connection_id":163269,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:23:39] local.INFO: IMEI packet received {"connection_id":163269,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":163269,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:23:40] local.INFO: TCP Data received {"connection_id":163269,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e776a08012d886a4005c4b8800004007527..."} 
[2026-08-23 17:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e776a08012d886a4005c4b8800004007527..."} 
[2026-08-23 17:23:40] local.INFO: Processing buffer {"connection_id":163269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e776a08012d886a4005c4b8800004007527..."} 
[2026-08-23 17:23:40] local.INFO: Packet analysis {"connection_id":163269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:23:40] local.INFO: Extracted packet for processing {"connection_id":163269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:23:40] local.INFO: GPS Element Parsed {"raw_longitude":763914816,"raw_latitude":96778368,"longitude_deg":76.3914816,"latitude_deg":9.6778368,"altitude":4,"angle":117,"satellites":39,"speed":2,"hex_longitude":"2d886a40","hex_latitude":"05c4b880","is_valid_coordinates":true} 
[2026-08-23 17:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596407296001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122861499461926912,"note":"Value kept but may cause issues"} 
[2026-08-23 17:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8617426755965630464,"note":"Value kept but may cause issues"} 
[2026-08-23 17:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787485973000,"timestamp_ms":1787485973000,"timestamp_seconds":1787485973,"priority":1,"record_length":96,"hex_timestamp":"000001a02e776a08"} 
[2026-08-23 17:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:23: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-08-23 17:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-23 17:23:40] 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-08-23 17:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596407296001,"66":12906,"189":206,"85":12288,"24":2,"16":122861499461926912,"45":-8617426755965630464},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596407296001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:23:40] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122861499461926912,"km_value":122861499461926.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8617426755965630464,"description":"Unknown IO ID 45"} 
[2026-08-23 17:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596407296001,"power":12906,"unknown_189":206,"unknown_85":12288,"ignition":2,"odometer":null,"unknown_45":-8617426755965630464}} 
[2026-08-23 17:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":163269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:23:40] local.INFO: GPS data processed {"connection_id":163269,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:23:40] local.INFO: Acknowledgment sent {"connection_id":163269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:23:45] local.INFO: TCP Data received {"connection_id":160917,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:23:45] local.INFO: Processing buffer {"connection_id":160917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:23:45] local.INFO: IMEI packet received {"connection_id":160917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":160917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:23:50] local.INFO: TCP Data received {"connection_id":160917,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:23:51] local.INFO: Processing buffer {"connection_id":160917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:23:51] local.INFO: IMEI packet received {"connection_id":160917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":160917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:23:51] local.INFO: TCP Data received {"connection_id":160917,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02e76c210012d34c80006aa4098000c01141e..."} 
[2026-08-23 17:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e76c210012d34c80006aa4098000c01141e..."} 
[2026-08-23 17:23:51] local.INFO: Processing buffer {"connection_id":160917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e76c210012d34c80006aa4098000c01141e..."} 
[2026-08-23 17:23:51] local.INFO: Packet analysis {"connection_id":160917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e76"} 
[2026-08-23 17:23:51] local.INFO: Extracted packet for processing {"connection_id":160917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e76"} 
[2026-08-23 17:23:51] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820952,"longitude_deg":75.8433792,"latitude_deg":11.1820952,"altitude":12,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596392704001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940547584,"note":"Value kept but may cause issues"} 
[2026-08-23 17:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787485930000,"timestamp_ms":1787485930000,"timestamp_seconds":1787485930,"priority":1,"record_length":96,"hex_timestamp":"000001a02e76c210"} 
[2026-08-23 17:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 17:23:51] 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-08-23 17:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:23:51] 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-08-23 17:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596392704001,"66":25147,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3803289913940547584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596392704001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:23:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:23:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940547584,"description":"Unknown IO ID 45"} 
[2026-08-23 17:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596392704001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940547584}} 
[2026-08-23 17:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":160917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:23:52] local.INFO: GPS data processed {"connection_id":160917,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:23:52] local.INFO: Acknowledgment sent {"connection_id":160917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:24:06] local.INFO: TCP Data received {"connection_id":160916,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e748f90012d1823000721b548004e013329..."} 
[2026-08-23 17:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e748f90012d1823000721b548004e013329..."} 
[2026-08-23 17:24:06] local.INFO: Processing buffer {"connection_id":160916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e748f90012d1823000721b548004e013329..."} 
[2026-08-23 17:24:06] local.INFO: Packet analysis {"connection_id":160916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e74"} 
[2026-08-23 17:24:06] local.INFO: Extracted packet for processing {"connection_id":160916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e74"} 
[2026-08-23 17:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649608,"longitude_deg":75.6556544,"latitude_deg":11.9649608,"altitude":78,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-08-23 17:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596355840001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647536521936896,"note":"Value kept but may cause issues"} 
[2026-08-23 17:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725443072,"note":"Value kept but may cause issues"} 
[2026-08-23 17:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787485786000,"timestamp_ms":1787485786000,"timestamp_seconds":1787485786,"priority":1,"record_length":96,"hex_timestamp":"000001a02e748f90"} 
[2026-08-23 17:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-23 17:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596355840001,"66":12580,"105":206,"83":41984,"24":0,"16":15647536521936896,"45":1739233911725443072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596355840001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:24:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647536521936896,"km_value":15647536521936.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725443072,"description":"Unknown IO ID 45"} 
[2026-08-23 17:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596355840001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725443072}} 
[2026-08-23 17:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":160916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:24:06] local.INFO: GPS data processed {"connection_id":160916,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:24:06] local.INFO: Acknowledgment sent {"connection_id":160916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:24:11] local.INFO: TCP Data received {"connection_id":163269,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e77b828012d886a4005c4b8680004007425..."} 
[2026-08-23 17:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e77b828012d886a4005c4b8680004007425..."} 
[2026-08-23 17:24:11] local.INFO: Processing buffer {"connection_id":163269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e77b828012d886a4005c4b8680004007425..."} 
[2026-08-23 17:24:11] local.INFO: Packet analysis {"connection_id":163269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:24:11] local.INFO: Extracted packet for processing {"connection_id":163269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:24:11] local.INFO: GPS Element Parsed {"raw_longitude":763914816,"raw_latitude":96778344,"longitude_deg":76.3914816,"latitude_deg":9.6778344,"altitude":4,"angle":116,"satellites":37,"speed":0,"hex_longitude":"2d886a40","hex_latitude":"05c4b868","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596409088001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122861499461926912,"note":"Value kept but may cause issues"} 
[2026-08-23 17:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8617004543500582912,"note":"Value kept but may cause issues"} 
[2026-08-23 17:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787485993000,"timestamp_ms":1787485993000,"timestamp_seconds":1787485993,"priority":1,"record_length":96,"hex_timestamp":"000001a02e77b828"} 
[2026-08-23 17:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:24: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-08-23 17: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-23 17:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596409088001,"66":12645,"189":206,"85":12288,"24":0,"16":122861499461926912,"45":-8617004543500582912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596409088001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:24:11] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:24:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122861499461926912,"km_value":122861499461926.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8617004543500582912,"description":"Unknown IO ID 45"} 
[2026-08-23 17:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596409088001,"power":12645,"unknown_189":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8617004543500582912}} 
[2026-08-23 17:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":163269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:24:11] local.INFO: GPS data processed {"connection_id":163269,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:24:11] local.INFO: Acknowledgment sent {"connection_id":163269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:24:26] local.INFO: TCP Data received {"connection_id":160917,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02e76d980012d34c80006aa4098000c01141e..."} 
[2026-08-23 17:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e76d980012d34c80006aa4098000c01141e..."} 
[2026-08-23 17:24:26] local.INFO: Processing buffer {"connection_id":160917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e76d980012d34c80006aa4098000c01141e..."} 
[2026-08-23 17:24:26] local.INFO: Packet analysis {"connection_id":160917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e76"} 
[2026-08-23 17:24:26] local.INFO: Extracted packet for processing {"connection_id":160917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e76"} 
[2026-08-23 17:24:26] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820952,"longitude_deg":75.8433792,"latitude_deg":11.1820952,"altitude":12,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596398080001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940547584,"note":"Value kept but may cause issues"} 
[2026-08-23 17:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787485936000,"timestamp_ms":1787485936000,"timestamp_seconds":1787485936,"priority":1,"record_length":96,"hex_timestamp":"000001a02e76d980"} 
[2026-08-23 17:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:24: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-08-23 17: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-08-23 17:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596398080001,"66":25191,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3803289913940547584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596398080001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:24:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:24:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940547584,"description":"Unknown IO ID 45"} 
[2026-08-23 17:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596398080001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940547584}} 
[2026-08-23 17:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":160917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:24:26] local.INFO: GPS data processed {"connection_id":160917,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:24:26] local.INFO: Acknowledgment sent {"connection_id":160917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:24:29] local.INFO: TCP Data received {"connection_id":160672,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:24:29] local.INFO: Processing buffer {"connection_id":160672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:24:29] local.INFO: IMEI packet received {"connection_id":160672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":160672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:24:32] local.INFO: TCP Data received {"connection_id":160918,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:24:32] local.INFO: Processing buffer {"connection_id":160918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:24:32] local.INFO: IMEI packet received {"connection_id":160918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":160918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:24:34] local.INFO: TCP Data received {"connection_id":160672,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:24:34] local.INFO: Processing buffer {"connection_id":160672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:24:34] local.INFO: IMEI packet received {"connection_id":160672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":160672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:24:34] local.INFO: TCP Data received {"connection_id":160918,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:24:34] local.INFO: Processing buffer {"connection_id":160918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:24:34] local.INFO: IMEI packet received {"connection_id":160918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":160918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:24:35] local.INFO: TCP Data received {"connection_id":160672,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e74e198012d1823000721b548004e013329..."} 
[2026-08-23 17:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e74e198012d1823000721b548004e013329..."} 
[2026-08-23 17:24:35] local.INFO: Processing buffer {"connection_id":160672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e74e198012d1823000721b548004e013329..."} 
[2026-08-23 17:24:35] local.INFO: Packet analysis {"connection_id":160672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e74"} 
[2026-08-23 17:24:35] local.INFO: Extracted packet for processing {"connection_id":160672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e74"} 
[2026-08-23 17:24:35] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649608,"longitude_deg":75.6556544,"latitude_deg":11.9649608,"altitude":78,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-08-23 17:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596361216001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647536521936896,"note":"Value kept but may cause issues"} 
[2026-08-23 17:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725443072,"note":"Value kept but may cause issues"} 
[2026-08-23 17:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787485807000,"timestamp_ms":1787485807000,"timestamp_seconds":1787485807,"priority":1,"record_length":96,"hex_timestamp":"000001a02e74e198"} 
[2026-08-23 17:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-23 17:24:35] 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-08-23 17:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596361216001,"66":12548,"105":206,"83":41984,"24":0,"16":15647536521936896,"45":1739233911725443072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596361216001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:24:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:24:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647536521936896,"km_value":15647536521936.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725443072,"description":"Unknown IO ID 45"} 
[2026-08-23 17:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596361216001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725443072}} 
[2026-08-23 17:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":160672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:24:35] local.INFO: GPS data processed {"connection_id":160672,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:24:35] local.INFO: Acknowledgment sent {"connection_id":160672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:24:39] local.INFO: TCP Data received {"connection_id":160918,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:24:39] local.INFO: Processing buffer {"connection_id":160918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:24:39] local.INFO: IMEI packet received {"connection_id":160918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":160918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:24:40] local.INFO: TCP Data received {"connection_id":160918,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e77fa90012d88708005c4b5a00004006828..."} 
[2026-08-23 17:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e77fa90012d88708005c4b5a00004006828..."} 
[2026-08-23 17:24:40] local.INFO: Processing buffer {"connection_id":160918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e77fa90012d88708005c4b5a00004006828..."} 
[2026-08-23 17:24:40] local.INFO: Packet analysis {"connection_id":160918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:24:40] local.INFO: Extracted packet for processing {"connection_id":160918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:24:40] local.INFO: GPS Element Parsed {"raw_longitude":763916416,"raw_latitude":96777632,"longitude_deg":76.3916416,"latitude_deg":9.6777632,"altitude":4,"angle":104,"satellites":40,"speed":4,"hex_longitude":"2d887080","hex_latitude":"05c4b5a0","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596414208001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122861585361272832,"note":"Value kept but may cause issues"} 
[2026-08-23 17:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8617004543500589056,"note":"Value kept but may cause issues"} 
[2026-08-23 17:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787486010000,"timestamp_ms":1787486010000,"timestamp_seconds":1787486010,"priority":1,"record_length":96,"hex_timestamp":"000001a02e77fa90"} 
[2026-08-23 17:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:24: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-08-23 17: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-23 17:24:40] 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-08-23 17: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-08-23 17:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596414208001,"66":12906,"189":206,"85":12288,"24":4,"16":122861585361272832,"45":-8617004543500589056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596414208001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:24:40] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:24:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122861585361272832,"km_value":122861585361272.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8617004543500589056,"description":"Unknown IO ID 45"} 
[2026-08-23 17:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596414208001,"power":12906,"unknown_189":206,"unknown_85":12288,"ignition":4,"odometer":null,"unknown_45":-8617004543500589056}} 
[2026-08-23 17:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":160918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:24:40] local.INFO: GPS data processed {"connection_id":160918,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:24:40] local.INFO: Acknowledgment sent {"connection_id":160918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:24:51] local.INFO: TCP Data received {"connection_id":161870,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:24:51] local.INFO: Processing buffer {"connection_id":161870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:24:51] local.INFO: IMEI packet received {"connection_id":161870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":161870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:24:55] local.INFO: TCP Data received {"connection_id":161870,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:24:56] local.INFO: Processing buffer {"connection_id":161870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:24:56] local.INFO: IMEI packet received {"connection_id":161870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":161870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:24:56] local.INFO: TCP Data received {"connection_id":161870,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02e772f70012d34c80006aa40b0000c01141f..."} 
[2026-08-23 17:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e772f70012d34c80006aa40b0000c01141f..."} 
[2026-08-23 17:24:56] local.INFO: Processing buffer {"connection_id":161870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e772f70012d34c80006aa40b0000c01141f..."} 
[2026-08-23 17:24:56] local.INFO: Packet analysis {"connection_id":161870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:24:56] local.INFO: Extracted packet for processing {"connection_id":161870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:24:56] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820976,"longitude_deg":75.8433792,"latitude_deg":11.1820976,"altitude":12,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa40b0","is_valid_coordinates":true} 
[2026-08-23 17:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596399616001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940547584,"note":"Value kept but may cause issues"} 
[2026-08-23 17:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787485958000,"timestamp_ms":1787485958000,"timestamp_seconds":1787485958,"priority":1,"record_length":96,"hex_timestamp":"000001a02e772f70"} 
[2026-08-23 17:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-23 17:24:56] 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-08-23 17:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596399616001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3803289913940547584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596399616001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:24:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:24:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940547584,"description":"Unknown IO ID 45"} 
[2026-08-23 17:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596399616001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940547584}} 
[2026-08-23 17:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":161870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:24:56] local.INFO: GPS data processed {"connection_id":161870,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:24:56] local.INFO: Acknowledgment sent {"connection_id":161870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:25:03] local.INFO: TCP Data received {"connection_id":161870,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:25:03] local.INFO: Processing buffer {"connection_id":161870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:25:03] local.INFO: Packet analysis {"connection_id":161870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:25:03] local.INFO: Extracted packet for processing {"connection_id":161870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:25:03] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820952,"longitude_deg":75.8433792,"latitude_deg":11.1820952,"altitude":12,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596405248001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940553728,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787485967000,"timestamp_ms":1787485967000,"timestamp_seconds":1787485967,"priority":1,"record_length":96,"hex_timestamp":"000001a02e775298"} 
[2026-08-23 17:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 17:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:25:03] 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-08-23 17:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596405248001,"66":25180,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3803289913940553728},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596405248001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:25:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:25:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940553728,"description":"Unknown IO ID 45"} 
[2026-08-23 17:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596405248001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940553728}} 
[2026-08-23 17:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":161870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:25:03] local.INFO: GPS data processed {"connection_id":161870,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:25:03] local.INFO: Acknowledgment sent {"connection_id":161870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:25:06] local.INFO: TCP Data received {"connection_id":160672,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e750c90012d1823000721b538004900d128..."} 
[2026-08-23 17:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e750c90012d1823000721b538004900d128..."} 
[2026-08-23 17:25:06] local.INFO: Processing buffer {"connection_id":160672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e750c90012d1823000721b538004900d128..."} 
[2026-08-23 17:25:06] local.INFO: Packet analysis {"connection_id":160672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e75"} 
[2026-08-23 17:25:06] local.INFO: Extracted packet for processing {"connection_id":160672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e75"} 
[2026-08-23 17:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649592,"longitude_deg":75.6556544,"latitude_deg":11.9649592,"altitude":73,"angle":209,"satellites":40,"speed":2,"hex_longitude":"2d182300","hex_latitude":"0721b538","is_valid_coordinates":true} 
[2026-08-23 17:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596366592001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647536521936896,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725443072,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787485818000,"timestamp_ms":1787485818000,"timestamp_seconds":1787485818,"priority":1,"record_length":96,"hex_timestamp":"000001a02e750c90"} 
[2026-08-23 17:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 17:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184211972301,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3041394766,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-23 17:25:06] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397034,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:06] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2539257856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:06] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:06] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,151,160,143,45,181,78,41,10,66,61,235,1,240,123,227,46,33,4,113,205,71,35,72,38,239,49,2,55,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-23 17:25:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620830061121765376,"timestamp_seconds":5620830061121765.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 17:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596366592001,"66":12504,"105":206,"83":41984,"24":2,"16":15647536521936896,"45":1739233911725443072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596366592001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:25:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647536521936896,"km_value":15647536521936.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725443072,"description":"Unknown IO ID 45"} 
[2026-08-23 17:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596366592001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739233911725443072}} 
[2026-08-23 17:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":160672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:25:06] local.INFO: GPS data processed {"connection_id":160672,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:25:06] local.INFO: Acknowledgment sent {"connection_id":160672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:25:06] local.INFO: TCP Data received {"connection_id":161870,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:25:06] local.INFO: Processing buffer {"connection_id":161870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:25:06] local.INFO: Packet analysis {"connection_id":161870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:25:06] local.INFO: Extracted packet for processing {"connection_id":161870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:25:06] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820952,"longitude_deg":75.8433792,"latitude_deg":11.1820952,"altitude":12,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596405248001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940553728,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787485967000,"timestamp_ms":1787485967000,"timestamp_seconds":1787485967,"priority":1,"record_length":96,"hex_timestamp":"000001a02e775298"} 
[2026-08-23 17:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 17:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:25:06] 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-08-23 17:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596405248001,"66":25180,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3803289913940553728},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596405248001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:25:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:25:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940553728,"description":"Unknown IO ID 45"} 
[2026-08-23 17:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596405248001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940553728}} 
[2026-08-23 17:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":161870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:25:06] local.INFO: GPS data processed {"connection_id":161870,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:25:06] local.INFO: Acknowledgment sent {"connection_id":161870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:25:11] local.INFO: TCP Data received {"connection_id":160918,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7848b0012d88724005c4b5700004006c25..."} 
[2026-08-23 17:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7848b0012d88724005c4b5700004006c25..."} 
[2026-08-23 17:25:11] local.INFO: Processing buffer {"connection_id":160918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7848b0012d88724005c4b5700004006c25..."} 
[2026-08-23 17:25:11] local.INFO: Packet analysis {"connection_id":160918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e78"} 
[2026-08-23 17:25:11] local.INFO: Extracted packet for processing {"connection_id":160918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e78"} 
[2026-08-23 17:25:11] local.INFO: GPS Element Parsed {"raw_longitude":763916864,"raw_latitude":96777584,"longitude_deg":76.3916864,"latitude_deg":9.6777584,"altitude":4,"angle":108,"satellites":37,"speed":0,"hex_longitude":"2d887240","hex_latitude":"05c4b570","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596418560001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122861606836109312,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8615245324896329728,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787486030000,"timestamp_ms":1787486030000,"timestamp_seconds":1787486030,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7848b0"} 
[2026-08-23 17:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-23 17:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596418560001,"66":12982,"189":206,"85":12288,"24":0,"16":122861606836109312,"45":-8615245324896329728},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596418560001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:25:11] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:25:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122861606836109312,"km_value":122861606836109.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8615245324896329728,"description":"Unknown IO ID 45"} 
[2026-08-23 17:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596418560001,"power":12982,"unknown_189":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8615245324896329728}} 
[2026-08-23 17:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":160918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:25:11] local.INFO: GPS data processed {"connection_id":160918,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:25:11] local.INFO: Acknowledgment sent {"connection_id":160918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:25:29] local.INFO: TCP Data received {"connection_id":161871,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:25:29] local.INFO: Processing buffer {"connection_id":161871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:25:29] local.INFO: IMEI packet received {"connection_id":161871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":161871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:25:29] local.INFO: TCP Data received {"connection_id":161871,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:25:29] local.INFO: Processing buffer {"connection_id":161871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:25:29] local.INFO: IMEI packet received {"connection_id":161871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":161871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:25:34] local.INFO: TCP Data received {"connection_id":160919,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160919,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:25:34] local.INFO: Processing buffer {"connection_id":160919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:25:34] local.INFO: IMEI packet received {"connection_id":160919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":160919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:25:34] local.INFO: TCP Data received {"connection_id":161871,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:25:34] local.INFO: Processing buffer {"connection_id":161871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:25:34] local.INFO: IMEI packet received {"connection_id":161871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":161871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:25:35] local.INFO: TCP Data received {"connection_id":161871,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7892e8012d181fc00721b280004b00d529..."} 
[2026-08-23 17:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7892e8012d181fc00721b280004b00d529..."} 
[2026-08-23 17:25:35] local.INFO: Processing buffer {"connection_id":161871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7892e8012d181fc00721b280004b00d529..."} 
[2026-08-23 17:25:35] local.INFO: Packet analysis {"connection_id":161871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e78"} 
[2026-08-23 17:25:35] local.INFO: Extracted packet for processing {"connection_id":161871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e78"} 
[2026-08-23 17:25:35] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648896,"longitude_deg":75.6555712,"latitude_deg":11.9648896,"altitude":75,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b280","is_valid_coordinates":true} 
[2026-08-23 17:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596423168001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647592356511744,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050951168,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787486049000,"timestamp_ms":1787486049000,"timestamp_seconds":1787486049,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7892e8"} 
[2026-08-23 17:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 17:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596423168001,"66":12548,"105":206,"83":41984,"24":0,"16":15647592356511744,"45":1738319118050951168},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596423168001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:25:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:25:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647592356511744,"km_value":15647592356511.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050951168,"description":"Unknown IO ID 45"} 
[2026-08-23 17:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596423168001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050951168}} 
[2026-08-23 17:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":161871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:25:35] local.INFO: GPS data processed {"connection_id":161871,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:25:35] local.INFO: Acknowledgment sent {"connection_id":161871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:25:38] local.INFO: TCP Data received {"connection_id":160919,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160919,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:25:38] local.INFO: Processing buffer {"connection_id":160919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:25:38] local.INFO: IMEI packet received {"connection_id":160919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":160919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:25:39] local.INFO: TCP Data received {"connection_id":160919,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e789ab8012d88750005c4b4600006006929..."} 
[2026-08-23 17:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e789ab8012d88750005c4b4600006006929..."} 
[2026-08-23 17:25:39] local.INFO: Processing buffer {"connection_id":160919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e789ab8012d88750005c4b4600006006929..."} 
[2026-08-23 17:25:39] local.INFO: Packet analysis {"connection_id":160919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e78"} 
[2026-08-23 17:25:39] local.INFO: Extracted packet for processing {"connection_id":160919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e78"} 
[2026-08-23 17:25:39] local.INFO: GPS Element Parsed {"raw_longitude":763917568,"raw_latitude":96777312,"longitude_deg":76.3917568,"latitude_deg":9.6777312,"altitude":6,"angle":105,"satellites":41,"speed":0,"hex_longitude":"2d887500","hex_latitude":"05c4b460","is_valid_coordinates":true} 
[2026-08-23 17:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596423680001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122861645490814976,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8614752743687098368,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787486051000,"timestamp_ms":1787486051000,"timestamp_seconds":1787486051,"priority":1,"record_length":96,"hex_timestamp":"000001a02e789ab8"} 
[2026-08-23 17:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:25: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-08-23 17:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 17:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596423680001,"66":12961,"189":206,"85":12288,"24":0,"16":122861645490814976,"45":-8614752743687098368},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596423680001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:25:39] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:25:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122861645490814976,"km_value":122861645490814.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8614752743687098368,"description":"Unknown IO ID 45"} 
[2026-08-23 17:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596423680001,"power":12961,"unknown_189":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8614752743687098368}} 
[2026-08-23 17:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":160919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:25:39] local.INFO: GPS data processed {"connection_id":160919,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:25:39] local.INFO: Acknowledgment sent {"connection_id":160919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:25:46] local.INFO: TCP Data received {"connection_id":163270,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:25:46] local.INFO: Processing buffer {"connection_id":163270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:25:46] local.INFO: IMEI packet received {"connection_id":163270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":163270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:25:50] local.INFO: TCP Data received {"connection_id":163270,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:25:50] local.INFO: Processing buffer {"connection_id":163270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:25:50] local.INFO: IMEI packet received {"connection_id":163270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":163270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:25:52] local.INFO: TCP Data received {"connection_id":163270,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:25:52] local.INFO: Processing buffer {"connection_id":163270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:25:52] local.INFO: Packet analysis {"connection_id":163270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:25:52] local.INFO: Extracted packet for processing {"connection_id":163270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820952,"longitude_deg":75.8433792,"latitude_deg":11.1820952,"altitude":12,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596405248001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940553728,"note":"Value kept but may cause issues"} 
[2026-08-23 17:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787485967000,"timestamp_ms":1787485967000,"timestamp_seconds":1787485967,"priority":1,"record_length":96,"hex_timestamp":"000001a02e775298"} 
[2026-08-23 17:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 17:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:25:52] 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-08-23 17:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596405248001,"66":25180,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3803289913940553728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596405248001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:25:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940553728,"description":"Unknown IO ID 45"} 
[2026-08-23 17:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596405248001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940553728}} 
[2026-08-23 17:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":163270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:25:52] local.INFO: GPS data processed {"connection_id":163270,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:25:52] local.INFO: Acknowledgment sent {"connection_id":163270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:26:05] local.INFO: TCP Data received {"connection_id":161871,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e78e4f0012d181fc00721b280004b00d529..."} 
[2026-08-23 17:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e78e4f0012d181fc00721b280004b00d529..."} 
[2026-08-23 17:26:05] local.INFO: Processing buffer {"connection_id":161871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e78e4f0012d181fc00721b280004b00d529..."} 
[2026-08-23 17:26:05] local.INFO: Packet analysis {"connection_id":161871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e78"} 
[2026-08-23 17:26:05] local.INFO: Extracted packet for processing {"connection_id":161871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e78"} 
[2026-08-23 17:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648896,"longitude_deg":75.6555712,"latitude_deg":11.9648896,"altitude":75,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b280","is_valid_coordinates":true} 
[2026-08-23 17:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596428544001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647592356511744,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050951168,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787486070000,"timestamp_ms":1787486070000,"timestamp_seconds":1787486070,"priority":1,"record_length":96,"hex_timestamp":"000001a02e78e4f0"} 
[2026-08-23 17:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:26: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-08-23 17:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 17:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184195588301,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:05] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2994733131,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-23 17:26:05] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:05] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2540109824,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:05] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,151,160,64,45,192,178,75,41,10,66,238,156,1,240,227,46,33,4,113,205,248,31,128,40,239,49,2,55,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-23 17:26:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404553924914970624,"timestamp_seconds":5404553924914971.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 17:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596428544001,"66":12385,"105":206,"83":41984,"24":0,"16":15647592356511744,"45":1738319118050951168},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596428544001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:26:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647592356511744,"km_value":15647592356511.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050951168,"description":"Unknown IO ID 45"} 
[2026-08-23 17:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596428544001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050951168}} 
[2026-08-23 17:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":161871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:26:06] local.INFO: GPS data processed {"connection_id":161871,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:26:06] local.INFO: Acknowledgment sent {"connection_id":161871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:26:11] local.INFO: TCP Data received {"connection_id":160919,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e78dd20012d8875c005c4b420000500772a..."} 
[2026-08-23 17:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e78dd20012d8875c005c4b420000500772a..."} 
[2026-08-23 17:26:11] local.INFO: Processing buffer {"connection_id":160919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e78dd20012d8875c005c4b420000500772a..."} 
[2026-08-23 17:26:11] local.INFO: Packet analysis {"connection_id":160919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e78"} 
[2026-08-23 17:26:11] local.INFO: Extracted packet for processing {"connection_id":160919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e78"} 
[2026-08-23 17:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763917760,"raw_latitude":96777248,"longitude_deg":76.391776,"latitude_deg":9.6777248,"altitude":5,"angle":119,"satellites":42,"speed":3,"hex_longitude":"2d8875c0","hex_latitude":"05c4b420","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596429056001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122861654080749568,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8613978687501213696,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787486068000,"timestamp_ms":1787486068000,"timestamp_seconds":1787486068,"priority":1,"record_length":96,"hex_timestamp":"000001a02e78dd20"} 
[2026-08-23 17:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 17:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160919,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596429056001,"66":12809,"189":206,"85":12288,"24":3,"16":122861654080749568,"45":-8613978687501213696},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596429056001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:26:11] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122861654080749568,"km_value":122861654080749.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8613978687501213696,"description":"Unknown IO ID 45"} 
[2026-08-23 17:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596429056001,"power":12809,"unknown_189":206,"unknown_85":12288,"ignition":3,"odometer":null,"unknown_45":-8613978687501213696}} 
[2026-08-23 17:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":160919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:26:11] local.INFO: GPS data processed {"connection_id":160919,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:26:11] local.INFO: Acknowledgment sent {"connection_id":160919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:26:23] local.INFO: TCP Data received {"connection_id":163270,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:26:23] local.INFO: Processing buffer {"connection_id":163270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:26:23] local.INFO: Packet analysis {"connection_id":163270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:26:23] local.INFO: Extracted packet for processing {"connection_id":163270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:26:23] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820952,"longitude_deg":75.8433792,"latitude_deg":11.1820952,"altitude":12,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:26: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-08-23 17:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596405248001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940553728,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787485967000,"timestamp_ms":1787485967000,"timestamp_seconds":1787485967,"priority":1,"record_length":96,"hex_timestamp":"000001a02e775298"} 
[2026-08-23 17:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:26: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-08-23 17:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 17:26:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:26:23] 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-08-23 17:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596405248001,"66":25180,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3803289913940553728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596405248001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:26:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:26:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940553728,"description":"Unknown IO ID 45"} 
[2026-08-23 17:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596405248001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940553728}} 
[2026-08-23 17:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":163270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:26:23] local.INFO: GPS data processed {"connection_id":163270,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:26:23] local.INFO: Acknowledgment sent {"connection_id":163270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:26:32] local.INFO: TCP Data received {"connection_id":160673,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:26:32] local.INFO: Processing buffer {"connection_id":160673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:26:32] local.INFO: IMEI packet received {"connection_id":160673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":160673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:26:34] local.INFO: TCP Data received {"connection_id":160673,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:26:34] local.INFO: Processing buffer {"connection_id":160673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:26:34] local.INFO: IMEI packet received {"connection_id":160673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":160673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:26:34] local.INFO: TCP Data received {"connection_id":160674,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:26:34] local.INFO: Processing buffer {"connection_id":160674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:26:34] local.INFO: IMEI packet received {"connection_id":160674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":160674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:26:39] local.INFO: TCP Data received {"connection_id":160673,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:26:39] local.INFO: Processing buffer {"connection_id":160673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:26:39] local.INFO: IMEI packet received {"connection_id":160673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":160673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:26:39] local.INFO: TCP Data received {"connection_id":160674,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:26:39] local.INFO: Processing buffer {"connection_id":160674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:26:39] local.INFO: IMEI packet received {"connection_id":160674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":160674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:26:39] local.INFO: TCP Data received {"connection_id":160673,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7936f8012d181ec00721b038004d00d529..."} 
[2026-08-23 17:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7936f8012d181ec00721b038004d00d529..."} 
[2026-08-23 17:26:39] local.INFO: Processing buffer {"connection_id":160673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7936f8012d181ec00721b038004d00d529..."} 
[2026-08-23 17:26:39] local.INFO: Packet analysis {"connection_id":160673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e79"} 
[2026-08-23 17:26:39] local.INFO: Extracted packet for processing {"connection_id":160673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e79"} 
[2026-08-23 17:26:39] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596433920001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050951168,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787486091000,"timestamp_ms":1787486091000,"timestamp_seconds":1787486091,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7936f8"} 
[2026-08-23 17:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:26: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-08-23 17:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 17:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596433920001,"66":12504,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738319118050951168},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596433920001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:26:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:26:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050951168,"description":"Unknown IO ID 45"} 
[2026-08-23 17:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596433920001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050951168}} 
[2026-08-23 17:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":160673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:26:40] local.INFO: GPS data processed {"connection_id":160673,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:26:40] local.INFO: Acknowledgment sent {"connection_id":160673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:26:40] local.INFO: TCP Data received {"connection_id":160674,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e78e8d8012d88770005c4b3900005006a2a..."} 
[2026-08-23 17:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e78e8d8012d88770005c4b3900005006a2a..."} 
[2026-08-23 17:26:40] local.INFO: Processing buffer {"connection_id":160674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e78e8d8012d88770005c4b3900005006a2a..."} 
[2026-08-23 17:26:40] local.INFO: Packet analysis {"connection_id":160674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e78"} 
[2026-08-23 17:26:40] local.INFO: Extracted packet for processing {"connection_id":160674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e78"} 
[2026-08-23 17:26:40] local.INFO: GPS Element Parsed {"raw_longitude":763918080,"raw_latitude":96777104,"longitude_deg":76.391808,"latitude_deg":9.6777104,"altitude":5,"angle":106,"satellites":42,"speed":5,"hex_longitude":"2d887700","hex_latitude":"05c4b390","is_valid_coordinates":true} 
[2026-08-23 17:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596433408001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122861671260618752,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8613767581268697088,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787486071000,"timestamp_ms":1787486071000,"timestamp_seconds":1787486071,"priority":1,"record_length":96,"hex_timestamp":"000001a02e78e8d8"} 
[2026-08-23 17:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:26: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-08-23 17:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-23 17:26:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2288664581,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:40] local.WARNING: Large IO value detected {"io_id":125,"raw_value":4127195136,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:40] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:40] local.WARNING: Large IO value detected {"io_id":46,"raw_value":8573912513618929856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:40] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3093823492,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2814181582,"corrected_to":0} 
[2026-08-23 17:26:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-4271444344168224983,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:40] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521789671013298603,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:40] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:40] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,189,85,24,241,157,16,126,160,154,45,180,6,41,10,66,72,64,181,4,37,125,250,128,1,240,106,227,46,196,113,205,39,239,50,2,5,49,48,221],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2814181582,"validated":0}]} 
[2026-08-23 17:26:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360418992462168064,"timestamp_seconds":360418992462168.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 17:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596433408001,"66":13091,"189":206,"85":12288,"24":5,"16":122861671260618752,"45":-8613767581268697088},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596433408001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:26:40] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:26:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122861671260618752,"km_value":122861671260618.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8613767581268697088,"description":"Unknown IO ID 45"} 
[2026-08-23 17:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596433408001,"power":13091,"unknown_189":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":-8613767581268697088}} 
[2026-08-23 17:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":160674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:26:40] local.INFO: GPS data processed {"connection_id":160674,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:26:40] local.INFO: Acknowledgment sent {"connection_id":160674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:26:44] local.INFO: TCP Data received {"connection_id":160673,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e798900012d181ec00721b038004d00d529..."} 
[2026-08-23 17:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e798900012d181ec00721b038004d00d529..."} 
[2026-08-23 17:26:44] local.INFO: Processing buffer {"connection_id":160673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e798900012d181ec00721b038004d00d529..."} 
[2026-08-23 17:26:44] local.INFO: Packet analysis {"connection_id":160673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e79"} 
[2026-08-23 17:26:44] local.INFO: Extracted packet for processing {"connection_id":160673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e79"} 
[2026-08-23 17:26:44] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596439296001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787486112000,"timestamp_ms":1787486112000,"timestamp_seconds":1787486112,"priority":1,"record_length":96,"hex_timestamp":"000001a02e798900"} 
[2026-08-23 17:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:26: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-08-23 17:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 17:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596439296001,"66":12526,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596439296001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:26:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:26:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596439296001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":160673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:26:45] local.INFO: GPS data processed {"connection_id":160673,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:26:45] local.INFO: Acknowledgment sent {"connection_id":160673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:26:46] local.INFO: TCP Data received {"connection_id":161872,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:26:46] local.INFO: Processing buffer {"connection_id":161872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:26:46] local.INFO: IMEI packet received {"connection_id":161872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":161872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:26:50] local.INFO: TCP Data received {"connection_id":161872,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:26:50] local.INFO: Processing buffer {"connection_id":161872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:26:50] local.INFO: IMEI packet received {"connection_id":161872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":161872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:26:53] local.INFO: TCP Data received {"connection_id":161872,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:26:53] local.INFO: Processing buffer {"connection_id":161872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:26:53] local.INFO: Packet analysis {"connection_id":161872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:26:53] local.INFO: Extracted packet for processing {"connection_id":161872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820952,"longitude_deg":75.8433792,"latitude_deg":11.1820952,"altitude":12,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596405248001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940553728,"note":"Value kept but may cause issues"} 
[2026-08-23 17:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787485967000,"timestamp_ms":1787485967000,"timestamp_seconds":1787485967,"priority":1,"record_length":96,"hex_timestamp":"000001a02e775298"} 
[2026-08-23 17:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 17:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596405248001,"66":25180,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3803289913940553728},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596405248001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:26:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940553728,"description":"Unknown IO ID 45"} 
[2026-08-23 17:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596405248001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940553728}} 
[2026-08-23 17:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":161872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:26:53] local.INFO: GPS data processed {"connection_id":161872,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:26:53] local.INFO: Acknowledgment sent {"connection_id":161872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:27:11] local.INFO: TCP Data received {"connection_id":160674,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7aaa10012d888cc005c4a7880007008523..."} 
[2026-08-23 17:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7aaa10012d888cc005c4a7880007008523..."} 
[2026-08-23 17:27:11] local.INFO: Processing buffer {"connection_id":160674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7aaa10012d888cc005c4a7880007008523..."} 
[2026-08-23 17:27:11] local.INFO: Packet analysis {"connection_id":160674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7a"} 
[2026-08-23 17:27:11] local.INFO: Extracted packet for processing {"connection_id":160674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7a"} 
[2026-08-23 17:27:11] local.INFO: GPS Element Parsed {"raw_longitude":763923648,"raw_latitude":96774024,"longitude_deg":76.3923648,"latitude_deg":9.6774024,"altitude":7,"angle":133,"satellites":35,"speed":2,"hex_longitude":"2d888cc0","hex_latitude":"05c4a788","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596461824001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122861989088198656,"note":"Value kept but may cause issues"} 
[2026-08-23 17:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8607575131781840896,"note":"Value kept but may cause issues"} 
[2026-08-23 17:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787486186000,"timestamp_ms":1787486186000,"timestamp_seconds":1787486186,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7aaa10"} 
[2026-08-23 17:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 17:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596461824001,"66":13048,"189":206,"85":12288,"24":2,"16":122861989088198656,"45":-8607575131781840896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596461824001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:27:11] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122861989088198656,"km_value":122861989088198.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8607575131781840896,"description":"Unknown IO ID 45"} 
[2026-08-23 17:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596461824001,"power":13048,"unknown_189":206,"unknown_85":12288,"ignition":2,"odometer":null,"unknown_45":-8607575131781840896}} 
[2026-08-23 17:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":160674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:27:11] local.INFO: GPS data processed {"connection_id":160674,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:27:11] local.INFO: Acknowledgment sent {"connection_id":160674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:27:25] local.INFO: TCP Data received {"connection_id":161872,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:27:25] local.INFO: Processing buffer {"connection_id":161872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:27:25] local.INFO: Packet analysis {"connection_id":161872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:27:25] local.INFO: Extracted packet for processing {"connection_id":161872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:27:25] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820952,"longitude_deg":75.8433792,"latitude_deg":11.1820952,"altitude":12,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596405248001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940553728,"note":"Value kept but may cause issues"} 
[2026-08-23 17:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787485967000,"timestamp_ms":1787485967000,"timestamp_seconds":1787485967,"priority":1,"record_length":96,"hex_timestamp":"000001a02e775298"} 
[2026-08-23 17:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:27: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-08-23 17: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 17:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596405248001,"66":25180,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3803289913940553728},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596405248001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:27:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:27:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940553728,"description":"Unknown IO ID 45"} 
[2026-08-23 17:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596405248001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940553728}} 
[2026-08-23 17:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":161872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:27:25] local.INFO: GPS data processed {"connection_id":161872,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:27:25] local.INFO: Acknowledgment sent {"connection_id":161872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:27:29] local.INFO: TCP Data received {"connection_id":160920,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:27:29] local.INFO: Processing buffer {"connection_id":160920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:27:29] local.INFO: IMEI packet received {"connection_id":160920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":160920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:27:34] local.INFO: TCP Data received {"connection_id":160920,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:27:34] local.INFO: Processing buffer {"connection_id":160920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:27:34] local.INFO: IMEI packet received {"connection_id":160920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":160920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:27:35] local.INFO: TCP Data received {"connection_id":160920,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e79db08012d181ec00721b038004d00d529..."} 
[2026-08-23 17:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e79db08012d181ec00721b038004d00d529..."} 
[2026-08-23 17:27:35] local.INFO: Processing buffer {"connection_id":160920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e79db08012d181ec00721b038004d00d529..."} 
[2026-08-23 17:27:35] local.INFO: Packet analysis {"connection_id":160920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e79"} 
[2026-08-23 17:27:35] local.INFO: Extracted packet for processing {"connection_id":160920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e79"} 
[2026-08-23 17:27:35] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596444672001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787486133000,"timestamp_ms":1787486133000,"timestamp_seconds":1787486133,"priority":1,"record_length":96,"hex_timestamp":"000001a02e79db08"} 
[2026-08-23 17:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 17:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596444672001,"66":12548,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596444672001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:27:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:27:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596444672001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":160920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:27:35] local.INFO: GPS data processed {"connection_id":160920,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:27:35] local.INFO: Acknowledgment sent {"connection_id":160920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:27:39] local.INFO: TCP Data received {"connection_id":163271,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163271,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:27:39] local.INFO: Processing buffer {"connection_id":163271,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:27:39] local.INFO: IMEI packet received {"connection_id":163271,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":163271,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:27:39] local.INFO: TCP Data received {"connection_id":163271,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163271,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:27:39] local.INFO: Processing buffer {"connection_id":163271,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:27:39] local.INFO: IMEI packet received {"connection_id":163271,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":163271,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:27:41] local.INFO: TCP Data received {"connection_id":163271,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163271,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:27:41] local.INFO: Processing buffer {"connection_id":163271,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:27:41] local.INFO: IMEI packet received {"connection_id":163271,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":163271,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:27:42] local.INFO: TCP Data received {"connection_id":163271,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7af830012d888cc005c4a7780007007c24..."} 
[2026-08-23 17:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7af830012d888cc005c4a7780007007c24..."} 
[2026-08-23 17:27:42] local.INFO: Processing buffer {"connection_id":163271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7af830012d888cc005c4a7780007007c24..."} 
[2026-08-23 17:27:42] local.INFO: Packet analysis {"connection_id":163271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7a"} 
[2026-08-23 17:27:42] local.INFO: Extracted packet for processing {"connection_id":163271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7a"} 
[2026-08-23 17:27:42] local.INFO: GPS Element Parsed {"raw_longitude":763923648,"raw_latitude":96774008,"longitude_deg":76.3923648,"latitude_deg":9.6774008,"altitude":7,"angle":124,"satellites":36,"speed":0,"hex_longitude":"2d888cc0","hex_latitude":"05c4a778","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596463616001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122861989088198656,"note":"Value kept but may cause issues"} 
[2026-08-23 17:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8607293656805177344,"note":"Value kept but may cause issues"} 
[2026-08-23 17:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787486206000,"timestamp_ms":1787486206000,"timestamp_seconds":1787486206,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7af830"} 
[2026-08-23 17:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:27: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-08-23 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-23 17:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596463616001,"66":12874,"189":206,"85":12288,"24":0,"16":122861989088198656,"45":-8607293656805177344},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596463616001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:27:42] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122861989088198656,"km_value":122861989088198.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8607293656805177344,"description":"Unknown IO ID 45"} 
[2026-08-23 17:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596463616001,"power":12874,"unknown_189":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8607293656805177344}} 
[2026-08-23 17:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":163271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:27:42] local.INFO: GPS data processed {"connection_id":163271,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:27:42] local.INFO: Acknowledgment sent {"connection_id":163271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:27:45] local.INFO: TCP Data received {"connection_id":163271,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7b4a38012d888cc005c4a7780007007c22..."} 
[2026-08-23 17:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7b4a38012d888cc005c4a7780007007c22..."} 
[2026-08-23 17:27:45] local.INFO: Processing buffer {"connection_id":163271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7b4a38012d888cc005c4a7780007007c22..."} 
[2026-08-23 17:27:45] local.INFO: Packet analysis {"connection_id":163271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:27:45] local.INFO: Extracted packet for processing {"connection_id":163271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:27:45] local.INFO: GPS Element Parsed {"raw_longitude":763923648,"raw_latitude":96774008,"longitude_deg":76.3923648,"latitude_deg":9.6774008,"altitude":7,"angle":124,"satellites":34,"speed":0,"hex_longitude":"2d888cc0","hex_latitude":"05c4a778","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596468736001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122861989088198656,"note":"Value kept but may cause issues"} 
[2026-08-23 17:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8607293656805181440,"note":"Value kept but may cause issues"} 
[2026-08-23 17:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787486227000,"timestamp_ms":1787486227000,"timestamp_seconds":1787486227,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7b4a38"} 
[2026-08-23 17:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:27: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-08-23 17: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-23 17:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596468736001,"66":12765,"189":206,"85":12288,"24":0,"16":122861989088198656,"45":-8607293656805181440},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596468736001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:27:45] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:27:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122861989088198656,"km_value":122861989088198.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8607293656805181440,"description":"Unknown IO ID 45"} 
[2026-08-23 17:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596468736001,"power":12765,"unknown_189":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8607293656805181440}} 
[2026-08-23 17:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":163271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:27:45] local.INFO: GPS data processed {"connection_id":163271,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:27:45] local.INFO: Acknowledgment sent {"connection_id":163271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:27:45] local.INFO: TCP Data received {"connection_id":160675,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:27:45] local.INFO: Processing buffer {"connection_id":160675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:27:45] local.INFO: IMEI packet received {"connection_id":160675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":160675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:27:51] local.INFO: TCP Data received {"connection_id":160675,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:27:51] local.INFO: Processing buffer {"connection_id":160675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:27:51] local.INFO: IMEI packet received {"connection_id":160675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":160675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:27:53] local.INFO: TCP Data received {"connection_id":160675,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:27:53] local.INFO: Processing buffer {"connection_id":160675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:27:53] local.INFO: Packet analysis {"connection_id":160675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:27:53] local.INFO: Extracted packet for processing {"connection_id":160675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:27:53] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820952,"longitude_deg":75.8433792,"latitude_deg":11.1820952,"altitude":12,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596405248001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940553728,"note":"Value kept but may cause issues"} 
[2026-08-23 17:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787485967000,"timestamp_ms":1787485967000,"timestamp_seconds":1787485967,"priority":1,"record_length":96,"hex_timestamp":"000001a02e775298"} 
[2026-08-23 17:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 17:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596405248001,"66":25180,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3803289913940553728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596405248001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:27:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:27:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940553728,"description":"Unknown IO ID 45"} 
[2026-08-23 17:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596405248001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940553728}} 
[2026-08-23 17:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":160675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:27:53] local.INFO: GPS data processed {"connection_id":160675,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:27:53] local.INFO: Acknowledgment sent {"connection_id":160675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:28:06] local.INFO: TCP Data received {"connection_id":160920,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7a2d10012d181ec00721b038004d00d529..."} 
[2026-08-23 17:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7a2d10012d181ec00721b038004d00d529..."} 
[2026-08-23 17:28:06] local.INFO: Processing buffer {"connection_id":160920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7a2d10012d181ec00721b038004d00d529..."} 
[2026-08-23 17:28:06] local.INFO: Packet analysis {"connection_id":160920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7a"} 
[2026-08-23 17:28:06] local.INFO: Extracted packet for processing {"connection_id":160920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7a"} 
[2026-08-23 17:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596450048001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787486154000,"timestamp_ms":1787486154000,"timestamp_seconds":1787486154,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7a2d10"} 
[2026-08-23 17:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 17:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184194146509,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2994733131,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-23 17:28:06] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:06] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993029994,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:06] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2540109824,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:06] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,151,160,137,45,192,176,77,41,10,66,54,228,1,240,97,227,46,33,4,113,205,64,31,128,239,48,2,55,7,75,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-23 17:28:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548669112990826496,"timestamp_seconds":5548669112990826.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 17:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596450048001,"66":12526,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596450048001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:28:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596450048001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":160920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:28:06] local.INFO: GPS data processed {"connection_id":160920,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:28:06] local.INFO: Acknowledgment sent {"connection_id":160920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:28:16] local.INFO: TCP Data received {"connection_id":163271,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7b7148012d888d4005c4a7300007009422..."} 
[2026-08-23 17:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7b7148012d888d4005c4a7300007009422..."} 
[2026-08-23 17:28:16] local.INFO: Processing buffer {"connection_id":163271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7b7148012d888d4005c4a7300007009422..."} 
[2026-08-23 17:28:16] local.INFO: Packet analysis {"connection_id":163271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:28:16] local.INFO: Extracted packet for processing {"connection_id":163271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:28:16] local.INFO: GPS Element Parsed {"raw_longitude":763923776,"raw_latitude":96773936,"longitude_deg":76.3923776,"latitude_deg":9.6773936,"altitude":7,"angle":148,"satellites":34,"speed":1,"hex_longitude":"2d888d40","hex_latitude":"05c4a730","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596474112001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122861997678133248,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8607293656805181440,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787486237000,"timestamp_ms":1787486237000,"timestamp_seconds":1787486237,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7b7148"} 
[2026-08-23 17:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17: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-08-23 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-23 17:28:16] 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-08-23 17: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-08-23 17:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596474112001,"66":12906,"189":206,"85":12288,"24":1,"16":122861997678133248,"45":-8607293656805181440},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596474112001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:28:16] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:28:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122861997678133248,"km_value":122861997678133.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8607293656805181440,"description":"Unknown IO ID 45"} 
[2026-08-23 17:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596474112001,"power":12906,"unknown_189":206,"unknown_85":12288,"ignition":1,"odometer":null,"unknown_45":-8607293656805181440}} 
[2026-08-23 17:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":163271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:28:16] local.INFO: GPS data processed {"connection_id":163271,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:28:16] local.INFO: Acknowledgment sent {"connection_id":163271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:28:24] local.INFO: TCP Data received {"connection_id":160675,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:28:24] local.INFO: Processing buffer {"connection_id":160675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e775298012d34c80006aa4098000c01141f..."} 
[2026-08-23 17:28:24] local.INFO: Packet analysis {"connection_id":160675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:28:24] local.INFO: Extracted packet for processing {"connection_id":160675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e77"} 
[2026-08-23 17:28:24] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820952,"longitude_deg":75.8433792,"latitude_deg":11.1820952,"altitude":12,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa4098","is_valid_coordinates":true} 
[2026-08-23 17:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596405248001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940553728,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787485967000,"timestamp_ms":1787485967000,"timestamp_seconds":1787485967,"priority":1,"record_length":96,"hex_timestamp":"000001a02e775298"} 
[2026-08-23 17:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:28: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-08-23 17:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 17:28: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-08-23 17:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596405248001,"66":25180,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3803289913940553728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596405248001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:28:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:28:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940553728,"description":"Unknown IO ID 45"} 
[2026-08-23 17:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596405248001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940553728}} 
[2026-08-23 17:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":160675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:28:24] local.INFO: GPS data processed {"connection_id":160675,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:28:24] local.INFO: Acknowledgment sent {"connection_id":160675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:28:29] local.INFO: TCP Data received {"connection_id":160676,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:28:29] local.INFO: Processing buffer {"connection_id":160676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:28:29] local.INFO: IMEI packet received {"connection_id":160676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":160676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:28:34] local.INFO: TCP Data received {"connection_id":160676,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:28:34] local.INFO: Processing buffer {"connection_id":160676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:28:34] local.INFO: IMEI packet received {"connection_id":160676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":160676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:28:34] local.INFO: TCP Data received {"connection_id":163272,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:28:34] local.INFO: Processing buffer {"connection_id":163272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:28:34] local.INFO: IMEI packet received {"connection_id":163272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":163272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:28:35] local.INFO: TCP Data received {"connection_id":160676,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7a7f18012d181ec00721b038004d00d528..."} 
[2026-08-23 17:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7a7f18012d181ec00721b038004d00d528..."} 
[2026-08-23 17:28:35] local.INFO: Processing buffer {"connection_id":160676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7a7f18012d181ec00721b038004d00d528..."} 
[2026-08-23 17:28:35] local.INFO: Packet analysis {"connection_id":160676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7a"} 
[2026-08-23 17:28:35] local.INFO: Extracted packet for processing {"connection_id":160676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7a"} 
[2026-08-23 17:28:35] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596455424001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787486175000,"timestamp_ms":1787486175000,"timestamp_seconds":1787486175,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7a7f18"} 
[2026-08-23 17:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 17:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596455424001,"66":12504,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596455424001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:28:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:28:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596455424001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":160676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:28:35] local.INFO: GPS data processed {"connection_id":160676,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:28:35] local.INFO: Acknowledgment sent {"connection_id":160676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:28:39] local.INFO: TCP Data received {"connection_id":163272,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:28:39] local.INFO: Processing buffer {"connection_id":163272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:28:39] local.INFO: IMEI packet received {"connection_id":163272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":163272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:28:40] local.INFO: TCP Data received {"connection_id":163272,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7bc350012d888e0005c4a6900007007c25..."} 
[2026-08-23 17:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7bc350012d888e0005c4a6900007007c25..."} 
[2026-08-23 17:28:40] local.INFO: Processing buffer {"connection_id":163272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7bc350012d888e0005c4a6900007007c25..."} 
[2026-08-23 17:28:40] local.INFO: Packet analysis {"connection_id":163272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:28:40] local.INFO: Extracted packet for processing {"connection_id":163272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:28:40] local.INFO: GPS Element Parsed {"raw_longitude":763923968,"raw_latitude":96773776,"longitude_deg":76.3923968,"latitude_deg":9.6773776,"altitude":7,"angle":124,"satellites":37,"speed":3,"hex_longitude":"2d888e00","hex_latitude":"05c4a690","is_valid_coordinates":true} 
[2026-08-23 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-08-23 17:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596476672001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122862010563035136,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8607152919316844544,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787486258000,"timestamp_ms":1787486258000,"timestamp_seconds":1787486258,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7bc350"} 
[2026-08-23 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-08-23 17:28: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-08-23 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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-23 17:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 17:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596476672001,"66":12961,"189":206,"85":12288,"24":3,"16":122862010563035136,"45":-8607152919316844544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596476672001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:28:40] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:28:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122862010563035136,"km_value":122862010563035.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8607152919316844544,"description":"Unknown IO ID 45"} 
[2026-08-23 17:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596476672001,"power":12961,"unknown_189":206,"unknown_85":12288,"ignition":3,"odometer":null,"unknown_45":-8607152919316844544}} 
[2026-08-23 17:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":163272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:28:40] local.INFO: GPS data processed {"connection_id":163272,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:28:40] local.INFO: Acknowledgment sent {"connection_id":163272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:28:46] local.INFO: TCP Data received {"connection_id":160921,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:28:46] local.INFO: Processing buffer {"connection_id":160921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:28:46] local.INFO: IMEI packet received {"connection_id":160921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":160921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:28:50] local.INFO: TCP Data received {"connection_id":160921,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:28:50] local.INFO: Processing buffer {"connection_id":160921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:28:50] local.INFO: IMEI packet received {"connection_id":160921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":160921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:28:51] local.INFO: TCP Data received {"connection_id":160921,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:28:51] local.INFO: Processing buffer {"connection_id":160921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:28:51] local.INFO: Packet analysis {"connection_id":160921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:28:51] local.INFO: Extracted packet for processing {"connection_id":160921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:28:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":12,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596407552001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940547584,"note":"Value kept but may cause issues"} 
[2026-08-23 17:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787486273000,"timestamp_ms":1787486273000,"timestamp_seconds":1787486273,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7bfde8"} 
[2026-08-23 17:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 17:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596407552001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3803289913940547584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596407552001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:28:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:28:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940547584,"description":"Unknown IO ID 45"} 
[2026-08-23 17:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596407552001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940547584}} 
[2026-08-23 17:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":160921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:28:51] local.INFO: GPS data processed {"connection_id":160921,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:28:51] local.INFO: Acknowledgment sent {"connection_id":160921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:29:06] local.INFO: TCP Data received {"connection_id":160676,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7ad120012d181ec00721b038004d00d529..."} 
[2026-08-23 17:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7ad120012d181ec00721b038004d00d529..."} 
[2026-08-23 17:29:06] local.INFO: Processing buffer {"connection_id":160676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7ad120012d181ec00721b038004d00d529..."} 
[2026-08-23 17:29:06] local.INFO: Packet analysis {"connection_id":160676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7a"} 
[2026-08-23 17:29:06] local.INFO: Extracted packet for processing {"connection_id":160676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7a"} 
[2026-08-23 17:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596460800001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787486196000,"timestamp_ms":1787486196000,"timestamp_seconds":1787486196,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7ad120"} 
[2026-08-23 17:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-23 17:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596460800001,"66":12461,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596460800001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:29:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:29:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596460800001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":160676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:29:06] local.INFO: GPS data processed {"connection_id":160676,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:29:06] local.INFO: Acknowledgment sent {"connection_id":160676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:29:11] local.INFO: TCP Data received {"connection_id":163272,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7bcb20012d888ec005c4a5f80007008c26..."} 
[2026-08-23 17:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7bcb20012d888ec005c4a5f80007008c26..."} 
[2026-08-23 17:29:11] local.INFO: Processing buffer {"connection_id":163272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7bcb20012d888ec005c4a5f80007008c26..."} 
[2026-08-23 17:29:11] local.INFO: Packet analysis {"connection_id":163272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:29:11] local.INFO: Extracted packet for processing {"connection_id":163272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:29:11] local.INFO: GPS Element Parsed {"raw_longitude":763924160,"raw_latitude":96773624,"longitude_deg":76.392416,"latitude_deg":9.6773624,"altitude":7,"angle":140,"satellites":38,"speed":5,"hex_longitude":"2d888ec0","hex_latitude":"05c4a5f8","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596482048001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122862023447937024,"note":"Value kept but may cause issues"} 
[2026-08-23 17:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8606941813084352512,"note":"Value kept but may cause issues"} 
[2026-08-23 17:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787486260000,"timestamp_ms":1787486260000,"timestamp_seconds":1787486260,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7bcb20"} 
[2026-08-23 17:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 17:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596482048001,"66":12765,"189":206,"85":12288,"24":5,"16":122862023447937024,"45":-8606941813084352512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596482048001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:29:11] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122862023447937024,"km_value":122862023447937.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8606941813084352512,"description":"Unknown IO ID 45"} 
[2026-08-23 17:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596482048001,"power":12765,"unknown_189":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":-8606941813084352512}} 
[2026-08-23 17:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":163272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:29:11] local.INFO: GPS data processed {"connection_id":163272,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:29:11] local.INFO: Acknowledgment sent {"connection_id":163272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:29:23] local.INFO: TCP Data received {"connection_id":160921,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:29:23] local.INFO: Processing buffer {"connection_id":160921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:29:23] local.INFO: Packet analysis {"connection_id":160921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:29:23] local.INFO: Extracted packet for processing {"connection_id":160921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:29:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":12,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596407552001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940547584,"note":"Value kept but may cause issues"} 
[2026-08-23 17:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787486273000,"timestamp_ms":1787486273000,"timestamp_seconds":1787486273,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7bfde8"} 
[2026-08-23 17:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 17:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:29:23] 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-08-23 17:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596407552001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3803289913940547584},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596407552001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:29:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:29:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940547584,"description":"Unknown IO ID 45"} 
[2026-08-23 17:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596407552001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940547584}} 
[2026-08-23 17:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":160921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:29:23] local.INFO: GPS data processed {"connection_id":160921,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:29:23] local.INFO: Acknowledgment sent {"connection_id":160921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:29:29] local.INFO: TCP Data received {"connection_id":161873,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:29:29] local.INFO: Processing buffer {"connection_id":161873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:29:29] local.INFO: IMEI packet received {"connection_id":161873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":161873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:29:34] local.INFO: TCP Data received {"connection_id":161873,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:29:34] local.INFO: Processing buffer {"connection_id":161873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:29:34] local.INFO: IMEI packet received {"connection_id":161873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":161873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:29:34] local.INFO: TCP Data received {"connection_id":163273,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:29:34] local.INFO: Processing buffer {"connection_id":163273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:29:34] local.INFO: IMEI packet received {"connection_id":163273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":163273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:29:35] local.INFO: TCP Data received {"connection_id":161873,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7b2328012d181ec00721b038004d00d52a..."} 
[2026-08-23 17:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7b2328012d181ec00721b038004d00d52a..."} 
[2026-08-23 17:29:35] local.INFO: Processing buffer {"connection_id":161873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7b2328012d181ec00721b038004d00d52a..."} 
[2026-08-23 17:29:35] local.INFO: Packet analysis {"connection_id":161873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:29:35] local.INFO: Extracted packet for processing {"connection_id":161873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:29:35] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596466176001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787486217000,"timestamp_ms":1787486217000,"timestamp_seconds":1787486217,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7b2328"} 
[2026-08-23 17:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 17:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596466176001,"66":12461,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596466176001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:29:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:29:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596466176001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":161873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:29:35] local.INFO: GPS data processed {"connection_id":161873,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:29:35] local.INFO: Acknowledgment sent {"connection_id":161873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:29:38] local.INFO: TCP Data received {"connection_id":163273,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:29:38] local.INFO: Processing buffer {"connection_id":163273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:29:38] local.INFO: IMEI packet received {"connection_id":163273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":163273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:29:39] local.INFO: TCP Data received {"connection_id":163273,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7c1940012d888f0005c4a5b80007008c20..."} 
[2026-08-23 17:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7c1940012d888f0005c4a5b80007008c20..."} 
[2026-08-23 17:29:39] local.INFO: Processing buffer {"connection_id":163273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7c1940012d888f0005c4a5b80007008c20..."} 
[2026-08-23 17:29:39] local.INFO: Packet analysis {"connection_id":163273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7c"} 
[2026-08-23 17:29:39] local.INFO: Extracted packet for processing {"connection_id":163273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7c"} 
[2026-08-23 17:29:39] local.INFO: GPS Element Parsed {"raw_longitude":763924224,"raw_latitude":96773560,"longitude_deg":76.3924224,"latitude_deg":9.677356,"altitude":7,"angle":140,"satellites":32,"speed":0,"hex_longitude":"2d888f00","hex_latitude":"05c4a5b8","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596482560001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122862032037871616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8606730706851858432,"note":"Value kept but may cause issues"} 
[2026-08-23 17:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787486280000,"timestamp_ms":1787486280000,"timestamp_seconds":1787486280,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7c1940"} 
[2026-08-23 17:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:29: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-08-23 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-23 17:29:39] 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-08-23 17: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-08-23 17:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596482560001,"66":12722,"189":206,"85":12288,"24":0,"16":122862032037871616,"45":-8606730706851858432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596482560001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:29:39] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:29:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122862032037871616,"km_value":122862032037871.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8606730706851858432,"description":"Unknown IO ID 45"} 
[2026-08-23 17:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596482560001,"power":12722,"unknown_189":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8606730706851858432}} 
[2026-08-23 17:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":163273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:29:39] local.INFO: GPS data processed {"connection_id":163273,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:29:39] local.INFO: Acknowledgment sent {"connection_id":163273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:29:45] local.INFO: TCP Data received {"connection_id":160922,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:29:45] local.INFO: Processing buffer {"connection_id":160922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:29:45] local.INFO: IMEI packet received {"connection_id":160922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":160922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:29:51] local.INFO: TCP Data received {"connection_id":160922,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:29:51] local.INFO: Processing buffer {"connection_id":160922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:29:51] local.INFO: IMEI packet received {"connection_id":160922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":160922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:29:51] local.INFO: TCP Data received {"connection_id":160922,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:29:51] local.INFO: Processing buffer {"connection_id":160922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:29:51] local.INFO: Packet analysis {"connection_id":160922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:29:51] local.INFO: Extracted packet for processing {"connection_id":160922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:29:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":12,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596407552001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940547584,"note":"Value kept but may cause issues"} 
[2026-08-23 17:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787486273000,"timestamp_ms":1787486273000,"timestamp_seconds":1787486273,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7bfde8"} 
[2026-08-23 17:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 17:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:29:51] 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-08-23 17:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596407552001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3803289913940547584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596407552001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:29:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:29:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940547584,"description":"Unknown IO ID 45"} 
[2026-08-23 17:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596407552001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940547584}} 
[2026-08-23 17:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":160922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:29:51] local.INFO: GPS data processed {"connection_id":160922,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:29:51] local.INFO: Acknowledgment sent {"connection_id":160922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:30:06] local.INFO: TCP Data received {"connection_id":161873,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7b7530012d181ec00721b038004d00d52a..."} 
[2026-08-23 17:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7b7530012d181ec00721b038004d00d52a..."} 
[2026-08-23 17:30:06] local.INFO: Processing buffer {"connection_id":161873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7b7530012d181ec00721b038004d00d52a..."} 
[2026-08-23 17:30:06] local.INFO: Packet analysis {"connection_id":161873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:30:06] local.INFO: Extracted packet for processing {"connection_id":161873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596471552001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787486238000,"timestamp_ms":1787486238000,"timestamp_seconds":1787486238,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7b7530"} 
[2026-08-23 17:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 17:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596471552001,"66":12374,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596471552001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:30:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596471552001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":161873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:30:06] local.INFO: GPS data processed {"connection_id":161873,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:30:06] local.INFO: Acknowledgment sent {"connection_id":161873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:30:10] local.INFO: TCP Data received {"connection_id":163273,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7c6b48012d888f0005c4a5b80007008c22..."} 
[2026-08-23 17:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7c6b48012d888f0005c4a5b80007008c22..."} 
[2026-08-23 17:30:10] local.INFO: Processing buffer {"connection_id":163273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7c6b48012d888f0005c4a5b80007008c22..."} 
[2026-08-23 17:30:10] local.INFO: Packet analysis {"connection_id":163273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7c"} 
[2026-08-23 17:30:10] local.INFO: Extracted packet for processing {"connection_id":163273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7c"} 
[2026-08-23 17:30:10] local.INFO: GPS Element Parsed {"raw_longitude":763924224,"raw_latitude":96773560,"longitude_deg":76.3924224,"latitude_deg":9.677356,"altitude":7,"angle":140,"satellites":34,"speed":0,"hex_longitude":"2d888f00","hex_latitude":"05c4a5b8","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596487680001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122862032037871616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8606660338107697152,"note":"Value kept but may cause issues"} 
[2026-08-23 17:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787486301000,"timestamp_ms":1787486301000,"timestamp_seconds":1787486301,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7c6b48"} 
[2026-08-23 17:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:30: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-08-23 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 17:30:10] 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-08-23 17: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-08-23 17:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596487680001,"66":12982,"189":206,"85":12288,"24":0,"16":122862032037871616,"45":-8606660338107697152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596487680001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:30:10] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122862032037871616,"km_value":122862032037871.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8606660338107697152,"description":"Unknown IO ID 45"} 
[2026-08-23 17:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596487680001,"power":12982,"unknown_189":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8606660338107697152}} 
[2026-08-23 17:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":163273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:30:10] local.INFO: GPS data processed {"connection_id":163273,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:30:10] local.INFO: Acknowledgment sent {"connection_id":163273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:30:22] local.INFO: TCP Data received {"connection_id":160922,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:30:23] local.INFO: Processing buffer {"connection_id":160922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:30:23] local.INFO: Packet analysis {"connection_id":160922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:30:23] local.INFO: Extracted packet for processing {"connection_id":160922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:30:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":12,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596407552001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940547584,"note":"Value kept but may cause issues"} 
[2026-08-23 17:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787486273000,"timestamp_ms":1787486273000,"timestamp_seconds":1787486273,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7bfde8"} 
[2026-08-23 17:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 17:30:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:30:23] 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-08-23 17:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596407552001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3803289913940547584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596407552001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:30:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:30:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940547584,"description":"Unknown IO ID 45"} 
[2026-08-23 17:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596407552001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940547584}} 
[2026-08-23 17:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":160922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:30:23] local.INFO: GPS data processed {"connection_id":160922,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:30:23] local.INFO: Acknowledgment sent {"connection_id":160922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:30:29] local.INFO: TCP Data received {"connection_id":160923,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:30:29] local.INFO: Processing buffer {"connection_id":160923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:30:29] local.INFO: IMEI packet received {"connection_id":160923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":160923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:30:34] local.INFO: TCP Data received {"connection_id":160923,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:30:34] local.INFO: Processing buffer {"connection_id":160923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:30:34] local.INFO: IMEI packet received {"connection_id":160923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":160923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:30:34] local.INFO: TCP Data received {"connection_id":160924,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:30:34] local.INFO: Processing buffer {"connection_id":160924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:30:34] local.INFO: IMEI packet received {"connection_id":160924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":160924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:30:35] local.INFO: TCP Data received {"connection_id":160923,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7bc738012d181ec00721b038004d00d528..."} 
[2026-08-23 17:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7bc738012d181ec00721b038004d00d528..."} 
[2026-08-23 17:30:35] local.INFO: Processing buffer {"connection_id":160923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7bc738012d181ec00721b038004d00d528..."} 
[2026-08-23 17:30:35] local.INFO: Packet analysis {"connection_id":160923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:30:35] local.INFO: Extracted packet for processing {"connection_id":160923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:30:35] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596476928001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787486259000,"timestamp_ms":1787486259000,"timestamp_seconds":1787486259,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7bc738"} 
[2026-08-23 17:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 17:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596476928001,"66":12363,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596476928001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:30:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:30:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596476928001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":160923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:30:35] local.INFO: GPS data processed {"connection_id":160923,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:30:35] local.INFO: Acknowledgment sent {"connection_id":160923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:30:39] local.INFO: TCP Data received {"connection_id":160924,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:30:39] local.INFO: Processing buffer {"connection_id":160924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:30:39] local.INFO: IMEI packet received {"connection_id":160924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":160924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:30:40] local.INFO: TCP Data received {"connection_id":160924,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7cbd50012d888f0005c4a5b80007008c25..."} 
[2026-08-23 17:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7cbd50012d888f0005c4a5b80007008c25..."} 
[2026-08-23 17:30:40] local.INFO: Processing buffer {"connection_id":160924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7cbd50012d888f0005c4a5b80007008c25..."} 
[2026-08-23 17:30:40] local.INFO: Packet analysis {"connection_id":160924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7c"} 
[2026-08-23 17:30:40] local.INFO: Extracted packet for processing {"connection_id":160924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7c"} 
[2026-08-23 17:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763924224,"raw_latitude":96773560,"longitude_deg":76.3924224,"latitude_deg":9.677356,"altitude":7,"angle":140,"satellites":37,"speed":0,"hex_longitude":"2d888f00","hex_latitude":"05c4a5b8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 17:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596493056001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122862032037871616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8606660338107697152,"note":"Value kept but may cause issues"} 
[2026-08-23 17:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787486322000,"timestamp_ms":1787486322000,"timestamp_seconds":1787486322,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7cbd50"} 
[2026-08-23 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-08-23 17:30: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-08-23 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 17:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 17:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596493056001,"66":12961,"189":206,"85":12288,"24":0,"16":122862032037871616,"45":-8606660338107697152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596493056001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:30:40] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122862032037871616,"km_value":122862032037871.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8606660338107697152,"description":"Unknown IO ID 45"} 
[2026-08-23 17:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596493056001,"power":12961,"unknown_189":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8606660338107697152}} 
[2026-08-23 17:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":160924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:30:40] local.INFO: GPS data processed {"connection_id":160924,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:30:40] local.INFO: Acknowledgment sent {"connection_id":160924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:30:46] local.INFO: TCP Data received {"connection_id":163274,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:30:46] local.INFO: Processing buffer {"connection_id":163274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:30:46] local.INFO: IMEI packet received {"connection_id":163274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":163274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:30:51] local.INFO: TCP Data received {"connection_id":163274,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:30:51] local.INFO: Processing buffer {"connection_id":163274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:30:51] local.INFO: IMEI packet received {"connection_id":163274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":163274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:30:51] local.INFO: TCP Data received {"connection_id":163274,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:30:51] local.INFO: Processing buffer {"connection_id":163274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:30:51] local.INFO: Packet analysis {"connection_id":163274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:30:51] local.INFO: Extracted packet for processing {"connection_id":163274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:30:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":12,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596407552001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940547584,"note":"Value kept but may cause issues"} 
[2026-08-23 17:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787486273000,"timestamp_ms":1787486273000,"timestamp_seconds":1787486273,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7bfde8"} 
[2026-08-23 17:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 17:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596407552001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3803289913940547584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596407552001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:30:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:30:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940547584,"description":"Unknown IO ID 45"} 
[2026-08-23 17:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596407552001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940547584}} 
[2026-08-23 17:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":163274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:30:51] local.INFO: GPS data processed {"connection_id":163274,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:30:51] local.INFO: Acknowledgment sent {"connection_id":163274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:31:06] local.INFO: TCP Data received {"connection_id":160923,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7c1940012d181ec00721b038004d00d527..."} 
[2026-08-23 17:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7c1940012d181ec00721b038004d00d527..."} 
[2026-08-23 17:31:06] local.INFO: Processing buffer {"connection_id":160923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7c1940012d181ec00721b038004d00d527..."} 
[2026-08-23 17:31:06] local.INFO: Packet analysis {"connection_id":160923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7c"} 
[2026-08-23 17:31:06] local.INFO: Extracted packet for processing {"connection_id":160923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7c"} 
[2026-08-23 17:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596482304001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787486280000,"timestamp_ms":1787486280000,"timestamp_seconds":1787486280,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7c1940"} 
[2026-08-23 17:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 17:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596482304001,"66":12385,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596482304001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:31:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596482304001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":160923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:31:06] local.INFO: GPS data processed {"connection_id":160923,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:31:06] local.INFO: Acknowledgment sent {"connection_id":160923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:31:11] local.INFO: TCP Data received {"connection_id":160924,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7d03a0012d888f8005c4a4f80007007f27..."} 
[2026-08-23 17:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7d03a0012d888f8005c4a4f80007007f27..."} 
[2026-08-23 17:31:11] local.INFO: Processing buffer {"connection_id":160924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7d03a0012d888f8005c4a4f80007007f27..."} 
[2026-08-23 17:31:11] local.INFO: Packet analysis {"connection_id":160924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7d"} 
[2026-08-23 17:31:11] local.INFO: Extracted packet for processing {"connection_id":160924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7d"} 
[2026-08-23 17:31:11] local.INFO: GPS Element Parsed {"raw_longitude":763924352,"raw_latitude":96773368,"longitude_deg":76.3924352,"latitude_deg":9.6773368,"altitude":7,"angle":127,"satellites":39,"speed":2,"hex_longitude":"2d888f80","hex_latitude":"05c4a4f8","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596498432001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122862044922773504,"note":"Value kept but may cause issues"} 
[2026-08-23 17:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8606660338107697152,"note":"Value kept but may cause issues"} 
[2026-08-23 17:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787486340000,"timestamp_ms":1787486340000,"timestamp_seconds":1787486340,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7d03a0"} 
[2026-08-23 17:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 17:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596498432001,"66":12917,"189":206,"85":12288,"24":2,"16":122862044922773504,"45":-8606660338107697152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596498432001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:31:11] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122862044922773504,"km_value":122862044922773.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8606660338107697152,"description":"Unknown IO ID 45"} 
[2026-08-23 17:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596498432001,"power":12917,"unknown_189":206,"unknown_85":12288,"ignition":2,"odometer":null,"unknown_45":-8606660338107697152}} 
[2026-08-23 17:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":160924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:31:11] local.INFO: GPS data processed {"connection_id":160924,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:31:11] local.INFO: Acknowledgment sent {"connection_id":160924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:31:24] local.INFO: TCP Data received {"connection_id":163274,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:31:24] local.INFO: Processing buffer {"connection_id":163274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:31:24] local.INFO: Packet analysis {"connection_id":163274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:31:24] local.INFO: Extracted packet for processing {"connection_id":163274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:31:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":12,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596407552001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940547584,"note":"Value kept but may cause issues"} 
[2026-08-23 17:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787486273000,"timestamp_ms":1787486273000,"timestamp_seconds":1787486273,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7bfde8"} 
[2026-08-23 17:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 17:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:31:24] 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-08-23 17:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596407552001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3803289913940547584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596407552001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:31:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:31:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940547584,"description":"Unknown IO ID 45"} 
[2026-08-23 17:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596407552001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940547584}} 
[2026-08-23 17:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":163274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:31:24] local.INFO: GPS data processed {"connection_id":163274,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:31:24] local.INFO: Acknowledgment sent {"connection_id":163274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:31:29] local.INFO: TCP Data received {"connection_id":160677,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:31:29] local.INFO: Processing buffer {"connection_id":160677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:31:29] local.INFO: IMEI packet received {"connection_id":160677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":160677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:31:32] local.INFO: TCP Data received {"connection_id":160925,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:31:32] local.INFO: Processing buffer {"connection_id":160925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:31:32] local.INFO: IMEI packet received {"connection_id":160925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":160925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:31:32] local.INFO: TCP Data received {"connection_id":160925,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:31:32] local.INFO: Processing buffer {"connection_id":160925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:31:32] local.INFO: IMEI packet received {"connection_id":160925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":160925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:31:34] local.INFO: TCP Data received {"connection_id":160677,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:31:34] local.INFO: Processing buffer {"connection_id":160677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:31:34] local.INFO: IMEI packet received {"connection_id":160677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":160677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:31:35] local.INFO: TCP Data received {"connection_id":160677,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7c6b48012d181ec00721b038004d00d528..."} 
[2026-08-23 17:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7c6b48012d181ec00721b038004d00d528..."} 
[2026-08-23 17:31:35] local.INFO: Processing buffer {"connection_id":160677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7c6b48012d181ec00721b038004d00d528..."} 
[2026-08-23 17:31:35] local.INFO: Packet analysis {"connection_id":160677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7c"} 
[2026-08-23 17:31:35] local.INFO: Extracted packet for processing {"connection_id":160677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7c"} 
[2026-08-23 17:31:35] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596487680001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787486301000,"timestamp_ms":1787486301000,"timestamp_seconds":1787486301,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7c6b48"} 
[2026-08-23 17:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 17:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596487680001,"66":12341,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596487680001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:31:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:31:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596487680001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":160677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:31:35] local.INFO: GPS data processed {"connection_id":160677,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:31:35] local.INFO: Acknowledgment sent {"connection_id":160677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:31:45] local.INFO: TCP Data received {"connection_id":163275,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:31:45] local.INFO: Processing buffer {"connection_id":163275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:31:45] local.INFO: IMEI packet received {"connection_id":163275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":163275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:31:51] local.INFO: TCP Data received {"connection_id":163275,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:31:51] local.INFO: Processing buffer {"connection_id":163275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:31:51] local.INFO: IMEI packet received {"connection_id":163275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":163275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:31:52] local.INFO: TCP Data received {"connection_id":163275,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:31:52] local.INFO: Processing buffer {"connection_id":163275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:31:52] local.INFO: Packet analysis {"connection_id":163275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:31:52] local.INFO: Extracted packet for processing {"connection_id":163275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:31:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":12,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596407552001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940547584,"note":"Value kept but may cause issues"} 
[2026-08-23 17:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787486273000,"timestamp_ms":1787486273000,"timestamp_seconds":1787486273,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7bfde8"} 
[2026-08-23 17:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 17:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:31:52] 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-08-23 17:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596407552001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3803289913940547584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596407552001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:31:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:31:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940547584,"description":"Unknown IO ID 45"} 
[2026-08-23 17:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596407552001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940547584}} 
[2026-08-23 17:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":163275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:31:52] local.INFO: GPS data processed {"connection_id":163275,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:31:52] local.INFO: Acknowledgment sent {"connection_id":163275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:32:06] local.INFO: TCP Data received {"connection_id":160677,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7cbd50012d181ec00721b038004d00d528..."} 
[2026-08-23 17:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7cbd50012d181ec00721b038004d00d528..."} 
[2026-08-23 17:32:06] local.INFO: Processing buffer {"connection_id":160677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7cbd50012d181ec00721b038004d00d528..."} 
[2026-08-23 17:32:06] local.INFO: Packet analysis {"connection_id":160677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7c"} 
[2026-08-23 17:32:06] local.INFO: Extracted packet for processing {"connection_id":160677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7c"} 
[2026-08-23 17:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596493056001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787486322000,"timestamp_ms":1787486322000,"timestamp_seconds":1787486322,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7cbd50"} 
[2026-08-23 17:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 17:32:06] 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-08-23 17:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596493056001,"66":12385,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596493056001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:32:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596493056001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":160677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:32:06] local.INFO: GPS data processed {"connection_id":160677,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:32:06] local.INFO: Acknowledgment sent {"connection_id":160677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:32:23] local.INFO: TCP Data received {"connection_id":163275,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:32:23] local.INFO: Processing buffer {"connection_id":163275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:32:23] local.INFO: Packet analysis {"connection_id":163275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:32:23] local.INFO: Extracted packet for processing {"connection_id":163275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:32:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":12,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596407552001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940547584,"note":"Value kept but may cause issues"} 
[2026-08-23 17:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787486273000,"timestamp_ms":1787486273000,"timestamp_seconds":1787486273,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7bfde8"} 
[2026-08-23 17:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 17:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:32:23] 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-08-23 17:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596407552001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3803289913940547584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596407552001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:32:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:32:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940547584,"description":"Unknown IO ID 45"} 
[2026-08-23 17:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596407552001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940547584}} 
[2026-08-23 17:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":163275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:32:23] local.INFO: GPS data processed {"connection_id":163275,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:32:23] local.INFO: Acknowledgment sent {"connection_id":163275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:32:34] local.INFO: TCP Data received {"connection_id":160926,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:32:34] local.INFO: Processing buffer {"connection_id":160926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:32:34] local.INFO: IMEI packet received {"connection_id":160926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":160926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:32:39] local.INFO: TCP Data received {"connection_id":160926,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:32:39] local.INFO: Processing buffer {"connection_id":160926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:32:39] local.INFO: IMEI packet received {"connection_id":160926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":160926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:32:40] local.INFO: TCP Data received {"connection_id":160926,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7d0f58012d181ec00721b038004d00d529..."} 
[2026-08-23 17:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7d0f58012d181ec00721b038004d00d529..."} 
[2026-08-23 17:32:40] local.INFO: Processing buffer {"connection_id":160926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7d0f58012d181ec00721b038004d00d529..."} 
[2026-08-23 17:32:40] local.INFO: Packet analysis {"connection_id":160926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7d"} 
[2026-08-23 17:32:40] local.INFO: Extracted packet for processing {"connection_id":160926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7d"} 
[2026-08-23 17:32:40] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596498432001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787486343000,"timestamp_ms":1787486343000,"timestamp_seconds":1787486343,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7d0f58"} 
[2026-08-23 17:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:32:40] 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-08-23 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 17:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596498432001,"66":12406,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596498432001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:32:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:32:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596498432001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":160926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:32:40] local.INFO: GPS data processed {"connection_id":160926,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:32:40] local.INFO: Acknowledgment sent {"connection_id":160926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:32:44] local.INFO: TCP Data received {"connection_id":160926,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7d6160012d181ec00721b038004d00d52a..."} 
[2026-08-23 17:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7d6160012d181ec00721b038004d00d52a..."} 
[2026-08-23 17:32:44] local.INFO: Processing buffer {"connection_id":160926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7d6160012d181ec00721b038004d00d52a..."} 
[2026-08-23 17:32:44] local.INFO: Packet analysis {"connection_id":160926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7d"} 
[2026-08-23 17:32:44] local.INFO: Extracted packet for processing {"connection_id":160926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7d"} 
[2026-08-23 17:32:44] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596503808001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787486364000,"timestamp_ms":1787486364000,"timestamp_seconds":1787486364,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7d6160"} 
[2026-08-23 17:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:32:44] 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-08-23 17:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596503808001,"66":12461,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596503808001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:32:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:32:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596503808001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":160926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:32:44] local.INFO: GPS data processed {"connection_id":160926,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:32:44] local.INFO: Acknowledgment sent {"connection_id":160926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:32:45] local.INFO: TCP Data received {"connection_id":163276,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:32:45] local.INFO: Processing buffer {"connection_id":163276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:32:45] local.INFO: IMEI packet received {"connection_id":163276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":163276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:32:51] local.INFO: TCP Data received {"connection_id":163276,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:32:51] local.INFO: Processing buffer {"connection_id":163276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:32:51] local.INFO: IMEI packet received {"connection_id":163276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":163276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:32:51] local.INFO: TCP Data received {"connection_id":163276,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:32:51] local.INFO: Processing buffer {"connection_id":163276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:32:51] local.INFO: Packet analysis {"connection_id":163276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:32:51] local.INFO: Extracted packet for processing {"connection_id":163276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:32:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":12,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596407552001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940547584,"note":"Value kept but may cause issues"} 
[2026-08-23 17:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787486273000,"timestamp_ms":1787486273000,"timestamp_seconds":1787486273,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7bfde8"} 
[2026-08-23 17:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 17:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596407552001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3803289913940547584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596407552001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:32:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:32:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940547584,"description":"Unknown IO ID 45"} 
[2026-08-23 17:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596407552001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940547584}} 
[2026-08-23 17:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":163276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:32:51] local.INFO: GPS data processed {"connection_id":163276,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:32:51] local.INFO: Acknowledgment sent {"connection_id":163276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:33:23] local.INFO: TCP Data received {"connection_id":163276,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:33:23] local.INFO: Processing buffer {"connection_id":163276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7bfde8012d34c58006aa4060000c01141e..."} 
[2026-08-23 17:33:23] local.INFO: Packet analysis {"connection_id":163276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:33:23] local.INFO: Extracted packet for processing {"connection_id":163276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7b"} 
[2026-08-23 17:33:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":12,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596407552001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940547584,"note":"Value kept but may cause issues"} 
[2026-08-23 17:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787486273000,"timestamp_ms":1787486273000,"timestamp_seconds":1787486273,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7bfde8"} 
[2026-08-23 17:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 17:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596407552001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3803289913940547584},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596407552001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:33:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:33:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940547584,"description":"Unknown IO ID 45"} 
[2026-08-23 17:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596407552001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940547584}} 
[2026-08-23 17:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":163276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:33:23] local.INFO: GPS data processed {"connection_id":163276,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:33:23] local.INFO: Acknowledgment sent {"connection_id":163276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:33:29] local.INFO: TCP Data received {"connection_id":160678,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:33:29] local.INFO: Processing buffer {"connection_id":160678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:33:29] local.INFO: IMEI packet received {"connection_id":160678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":160678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:33:32] local.INFO: TCP Data received {"connection_id":160678,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:33:32] local.INFO: Processing buffer {"connection_id":160678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:33:32] local.INFO: IMEI packet received {"connection_id":160678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":160678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:33:33] local.INFO: TCP Data received {"connection_id":160678,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7db368012d181ec00721b038004d00d528..."} 
[2026-08-23 17:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7db368012d181ec00721b038004d00d528..."} 
[2026-08-23 17:33:33] local.INFO: Processing buffer {"connection_id":160678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7db368012d181ec00721b038004d00d528..."} 
[2026-08-23 17:33:33] local.INFO: Packet analysis {"connection_id":160678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7d"} 
[2026-08-23 17:33:33] local.INFO: Extracted packet for processing {"connection_id":160678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7d"} 
[2026-08-23 17:33:33] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596509184001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787486385000,"timestamp_ms":1787486385000,"timestamp_seconds":1787486385,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7db368"} 
[2026-08-23 17:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 17:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596509184001,"66":12461,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596509184001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:33:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:33:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596509184001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":160678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:33:33] local.INFO: GPS data processed {"connection_id":160678,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:33:33] local.INFO: Acknowledgment sent {"connection_id":160678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:33:45] local.INFO: TCP Data received {"connection_id":161874,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:33:45] local.INFO: Processing buffer {"connection_id":161874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:33:45] local.INFO: IMEI packet received {"connection_id":161874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":161874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:33:50] local.INFO: TCP Data received {"connection_id":161874,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:33:50] local.INFO: Processing buffer {"connection_id":161874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:33:50] local.INFO: IMEI packet received {"connection_id":161874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":161874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:33:51] local.INFO: TCP Data received {"connection_id":161874,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:33:51] local.INFO: Processing buffer {"connection_id":161874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:33:51] local.INFO: Packet analysis {"connection_id":161874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e80"} 
[2026-08-23 17:33:51] local.INFO: Extracted packet for processing {"connection_id":161874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e80"} 
[2026-08-23 17:33:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":24,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596485888001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787486574000,"timestamp_ms":1787486574000,"timestamp_seconds":1787486574,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8095b0"} 
[2026-08-23 17:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 17:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596485888001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596485888001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:33:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:33:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596485888001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":161874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:33:51] local.INFO: GPS data processed {"connection_id":161874,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:33:51] local.INFO: Acknowledgment sent {"connection_id":161874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:34:04] local.INFO: TCP Data received {"connection_id":160678,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7e0570012d181ec00721b038004d00d527..."} 
[2026-08-23 17:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7e0570012d181ec00721b038004d00d527..."} 
[2026-08-23 17:34:04] local.INFO: Processing buffer {"connection_id":160678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7e0570012d181ec00721b038004d00d527..."} 
[2026-08-23 17:34:04] local.INFO: Packet analysis {"connection_id":160678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7e"} 
[2026-08-23 17:34:04] local.INFO: Extracted packet for processing {"connection_id":160678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7e"} 
[2026-08-23 17:34:04] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596514560001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787486406000,"timestamp_ms":1787486406000,"timestamp_seconds":1787486406,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7e0570"} 
[2026-08-23 17:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 17:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596514560001,"66":12461,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596514560001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:34:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:34:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596514560001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":160678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:34:04] local.INFO: GPS data processed {"connection_id":160678,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:34:04] local.INFO: Acknowledgment sent {"connection_id":160678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:34:23] local.INFO: TCP Data received {"connection_id":161874,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:34:23] local.INFO: Processing buffer {"connection_id":161874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:34:23] local.INFO: Packet analysis {"connection_id":161874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e80"} 
[2026-08-23 17:34:23] local.INFO: Extracted packet for processing {"connection_id":161874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e80"} 
[2026-08-23 17:34:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":24,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596485888001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787486574000,"timestamp_ms":1787486574000,"timestamp_seconds":1787486574,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8095b0"} 
[2026-08-23 17:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 17:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596485888001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596485888001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:34:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:34:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596485888001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":161874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:34:23] local.INFO: GPS data processed {"connection_id":161874,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:34:23] local.INFO: Acknowledgment sent {"connection_id":161874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:34:29] local.INFO: TCP Data received {"connection_id":161875,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:34:29] local.INFO: Processing buffer {"connection_id":161875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:34:29] local.INFO: IMEI packet received {"connection_id":161875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":161875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:34:34] local.INFO: TCP Data received {"connection_id":161875,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:34:34] local.INFO: Processing buffer {"connection_id":161875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:34:34] local.INFO: IMEI packet received {"connection_id":161875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":161875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:34:35] local.INFO: TCP Data received {"connection_id":161875,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7e5778012d181ec00721b038004d00d527..."} 
[2026-08-23 17:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7e5778012d181ec00721b038004d00d527..."} 
[2026-08-23 17:34:35] local.INFO: Processing buffer {"connection_id":161875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7e5778012d181ec00721b038004d00d527..."} 
[2026-08-23 17:34:35] local.INFO: Packet analysis {"connection_id":161875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7e"} 
[2026-08-23 17:34:35] local.INFO: Extracted packet for processing {"connection_id":161875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7e"} 
[2026-08-23 17:34:35] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596519936001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787486427000,"timestamp_ms":1787486427000,"timestamp_seconds":1787486427,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7e5778"} 
[2026-08-23 17:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 17:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596519936001,"66":12461,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596519936001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:34:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:34:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596519936001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":161875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:34:35] local.INFO: GPS data processed {"connection_id":161875,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:34:35] local.INFO: Acknowledgment sent {"connection_id":161875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:34:45] local.INFO: TCP Data received {"connection_id":163277,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:34:45] local.INFO: Processing buffer {"connection_id":163277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:34:45] local.INFO: IMEI packet received {"connection_id":163277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":163277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:34:51] local.INFO: TCP Data received {"connection_id":163277,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:34:51] local.INFO: Processing buffer {"connection_id":163277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:34:51] local.INFO: IMEI packet received {"connection_id":163277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":163277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:34:52] local.INFO: TCP Data received {"connection_id":163277,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:34:52] local.INFO: Processing buffer {"connection_id":163277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:34:52] local.INFO: Packet analysis {"connection_id":163277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e80"} 
[2026-08-23 17:34:52] local.INFO: Extracted packet for processing {"connection_id":163277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e80"} 
[2026-08-23 17:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":24,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596485888001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787486574000,"timestamp_ms":1787486574000,"timestamp_seconds":1787486574,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8095b0"} 
[2026-08-23 17:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 17:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:34:52] 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-08-23 17:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596485888001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596485888001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:34:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596485888001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":163277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:34:52] local.INFO: GPS data processed {"connection_id":163277,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:34:52] local.INFO: Acknowledgment sent {"connection_id":163277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:35:06] local.INFO: TCP Data received {"connection_id":161875,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7ea980012d181ec00721b038004d00d526..."} 
[2026-08-23 17:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7ea980012d181ec00721b038004d00d526..."} 
[2026-08-23 17:35:06] local.INFO: Processing buffer {"connection_id":161875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7ea980012d181ec00721b038004d00d526..."} 
[2026-08-23 17:35:06] local.INFO: Packet analysis {"connection_id":161875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7e"} 
[2026-08-23 17:35:06] local.INFO: Extracted packet for processing {"connection_id":161875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7e"} 
[2026-08-23 17:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596525312001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787486448000,"timestamp_ms":1787486448000,"timestamp_seconds":1787486448,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7ea980"} 
[2026-08-23 17:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 17:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596525312001,"66":12406,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596525312001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:35:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596525312001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":161875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:35:06] local.INFO: GPS data processed {"connection_id":161875,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:35:06] local.INFO: Acknowledgment sent {"connection_id":161875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:35:24] local.INFO: TCP Data received {"connection_id":163277,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:35:24] local.INFO: Processing buffer {"connection_id":163277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:35:24] local.INFO: Packet analysis {"connection_id":163277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e80"} 
[2026-08-23 17:35:24] local.INFO: Extracted packet for processing {"connection_id":163277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e80"} 
[2026-08-23 17:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":24,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596485888001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787486574000,"timestamp_ms":1787486574000,"timestamp_seconds":1787486574,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8095b0"} 
[2026-08-23 17:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 17:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:35: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-08-23 17:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596485888001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596485888001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:35:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596485888001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":163277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:35:24] local.INFO: GPS data processed {"connection_id":163277,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:35:24] local.INFO: Acknowledgment sent {"connection_id":163277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:35:29] local.INFO: TCP Data received {"connection_id":163278,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:35:29] local.INFO: Processing buffer {"connection_id":163278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:35:29] local.INFO: IMEI packet received {"connection_id":163278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":163278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:35:34] local.INFO: TCP Data received {"connection_id":163278,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:35:34] local.INFO: Processing buffer {"connection_id":163278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:35:34] local.INFO: IMEI packet received {"connection_id":163278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":163278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:35:35] local.INFO: TCP Data received {"connection_id":163278,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7efb88012d181ec00721b038004d00d527..."} 
[2026-08-23 17:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7efb88012d181ec00721b038004d00d527..."} 
[2026-08-23 17:35:35] local.INFO: Processing buffer {"connection_id":163278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7efb88012d181ec00721b038004d00d527..."} 
[2026-08-23 17:35:35] local.INFO: Packet analysis {"connection_id":163278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7e"} 
[2026-08-23 17:35:35] local.INFO: Extracted packet for processing {"connection_id":163278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7e"} 
[2026-08-23 17:35:35] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596530688001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787486469000,"timestamp_ms":1787486469000,"timestamp_seconds":1787486469,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7efb88"} 
[2026-08-23 17:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596530688001,"66":12461,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596530688001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:35:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:35:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596530688001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":163278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:35:35] local.INFO: GPS data processed {"connection_id":163278,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:35:35] local.INFO: Acknowledgment sent {"connection_id":163278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:35:46] local.INFO: TCP Data received {"connection_id":161876,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:35:46] local.INFO: Processing buffer {"connection_id":161876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:35:46] local.INFO: IMEI packet received {"connection_id":161876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":161876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:35:51] local.INFO: TCP Data received {"connection_id":161876,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:35:51] local.INFO: Processing buffer {"connection_id":161876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:35:51] local.INFO: IMEI packet received {"connection_id":161876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":161876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:35:52] local.INFO: TCP Data received {"connection_id":161876,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:35:52] local.INFO: Processing buffer {"connection_id":161876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:35:52] local.INFO: Packet analysis {"connection_id":161876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e80"} 
[2026-08-23 17:35:52] local.INFO: Extracted packet for processing {"connection_id":161876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e80"} 
[2026-08-23 17:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":24,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596485888001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787486574000,"timestamp_ms":1787486574000,"timestamp_seconds":1787486574,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8095b0"} 
[2026-08-23 17:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 17:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:35:52] 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-08-23 17:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596485888001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596485888001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:35:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596485888001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":161876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:35:52] local.INFO: GPS data processed {"connection_id":161876,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:35:52] local.INFO: Acknowledgment sent {"connection_id":161876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:36:06] local.INFO: TCP Data received {"connection_id":163278,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7f4d90012d181ec00721b038004d00d527..."} 
[2026-08-23 17:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7f4d90012d181ec00721b038004d00d527..."} 
[2026-08-23 17:36:06] local.INFO: Processing buffer {"connection_id":163278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7f4d90012d181ec00721b038004d00d527..."} 
[2026-08-23 17:36:06] local.INFO: Packet analysis {"connection_id":163278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7f"} 
[2026-08-23 17:36:06] local.INFO: Extracted packet for processing {"connection_id":163278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7f"} 
[2026-08-23 17:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596536064001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787486490000,"timestamp_ms":1787486490000,"timestamp_seconds":1787486490,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7f4d90"} 
[2026-08-23 17:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 17:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596536064001,"66":12428,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596536064001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:36:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596536064001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":163278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:36:06] local.INFO: GPS data processed {"connection_id":163278,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:36:06] local.INFO: Acknowledgment sent {"connection_id":163278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:36:23] local.INFO: TCP Data received {"connection_id":161876,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:36:23] local.INFO: Processing buffer {"connection_id":161876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:36:23] local.INFO: Packet analysis {"connection_id":161876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e80"} 
[2026-08-23 17:36:23] local.INFO: Extracted packet for processing {"connection_id":161876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e80"} 
[2026-08-23 17:36:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":24,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596485888001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787486574000,"timestamp_ms":1787486574000,"timestamp_seconds":1787486574,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8095b0"} 
[2026-08-23 17:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 17:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596485888001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596485888001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:36:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:36:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596485888001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":161876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:36:23] local.INFO: GPS data processed {"connection_id":161876,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:36:23] local.INFO: Acknowledgment sent {"connection_id":161876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:36:29] local.INFO: TCP Data received {"connection_id":160927,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:36:29] local.INFO: Processing buffer {"connection_id":160927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:36:29] local.INFO: IMEI packet received {"connection_id":160927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":160927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:36:34] local.INFO: TCP Data received {"connection_id":160927,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:36:34] local.INFO: Processing buffer {"connection_id":160927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:36:34] local.INFO: IMEI packet received {"connection_id":160927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":160927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:36:35] local.INFO: TCP Data received {"connection_id":160927,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e7f9f98012d181ec00721b038004d00d529..."} 
[2026-08-23 17:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e7f9f98012d181ec00721b038004d00d529..."} 
[2026-08-23 17:36:35] local.INFO: Processing buffer {"connection_id":160927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e7f9f98012d181ec00721b038004d00d529..."} 
[2026-08-23 17:36:35] local.INFO: Packet analysis {"connection_id":160927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e7f"} 
[2026-08-23 17:36:35] local.INFO: Extracted packet for processing {"connection_id":160927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e7f"} 
[2026-08-23 17:36:35] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596541440001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787486511000,"timestamp_ms":1787486511000,"timestamp_seconds":1787486511,"priority":1,"record_length":96,"hex_timestamp":"000001a02e7f9f98"} 
[2026-08-23 17:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 17:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596541440001,"66":12461,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596541440001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:36:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:36:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596541440001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":160927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:36:35] local.INFO: GPS data processed {"connection_id":160927,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:36:35] local.INFO: Acknowledgment sent {"connection_id":160927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:36:45] local.INFO: TCP Data received {"connection_id":160679,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:36:45] local.INFO: Processing buffer {"connection_id":160679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:36:45] local.INFO: IMEI packet received {"connection_id":160679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":160679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:36:50] local.INFO: TCP Data received {"connection_id":160679,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:36:50] local.INFO: Processing buffer {"connection_id":160679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:36:50] local.INFO: IMEI packet received {"connection_id":160679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":160679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:36:51] local.INFO: TCP Data received {"connection_id":160679,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:36:51] local.INFO: Processing buffer {"connection_id":160679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:36:51] local.INFO: Packet analysis {"connection_id":160679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e80"} 
[2026-08-23 17:36:51] local.INFO: Extracted packet for processing {"connection_id":160679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e80"} 
[2026-08-23 17:36:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":24,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596485888001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787486574000,"timestamp_ms":1787486574000,"timestamp_seconds":1787486574,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8095b0"} 
[2026-08-23 17:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 17:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:36:51] 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-08-23 17:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596485888001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596485888001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:36:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:36:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596485888001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":160679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:36:51] local.INFO: GPS data processed {"connection_id":160679,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:36:51] local.INFO: Acknowledgment sent {"connection_id":160679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:37:06] local.INFO: TCP Data received {"connection_id":160927,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8325f0012d181ec00721b038004d00d525..."} 
[2026-08-23 17:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8325f0012d181ec00721b038004d00d525..."} 
[2026-08-23 17:37:06] local.INFO: Processing buffer {"connection_id":160927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8325f0012d181ec00721b038004d00d525..."} 
[2026-08-23 17:37:06] local.INFO: Packet analysis {"connection_id":160927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e83"} 
[2026-08-23 17:37:06] local.INFO: Extracted packet for processing {"connection_id":160927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e83"} 
[2026-08-23 17:37:06] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":37,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596600576001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787486742000,"timestamp_ms":1787486742000,"timestamp_seconds":1787486742,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8325f0"} 
[2026-08-23 17:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 17:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596600576001,"66":12406,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596600576001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:37:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596600576001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":160927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:37:06] local.INFO: GPS data processed {"connection_id":160927,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:37:06] local.INFO: Acknowledgment sent {"connection_id":160927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:37:23] local.INFO: TCP Data received {"connection_id":160679,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:37:23] local.INFO: Processing buffer {"connection_id":160679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:37:23] local.INFO: Packet analysis {"connection_id":160679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e80"} 
[2026-08-23 17:37:23] local.INFO: Extracted packet for processing {"connection_id":160679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e80"} 
[2026-08-23 17:37:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":24,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:37: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-08-23 17:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596485888001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787486574000,"timestamp_ms":1787486574000,"timestamp_seconds":1787486574,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8095b0"} 
[2026-08-23 17:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:37: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":75,"data_length":795,"current_offset":136} 
[2026-08-23 17:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:37: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-08-23 17:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:37:23] 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-08-23 17:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596485888001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596485888001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:37:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:37:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596485888001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":160679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:37:23] local.INFO: GPS data processed {"connection_id":160679,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:37:23] local.INFO: Acknowledgment sent {"connection_id":160679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:37:29] local.INFO: TCP Data received {"connection_id":160680,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:37:29] local.INFO: Processing buffer {"connection_id":160680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:37:29] local.INFO: IMEI packet received {"connection_id":160680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":160680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:37:34] local.INFO: TCP Data received {"connection_id":160680,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:37:34] local.INFO: Processing buffer {"connection_id":160680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:37:34] local.INFO: IMEI packet received {"connection_id":160680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":160680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:37:35] local.INFO: TCP Data received {"connection_id":160680,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8377f8012d181ec00721b038004d00d526..."} 
[2026-08-23 17:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8377f8012d181ec00721b038004d00d526..."} 
[2026-08-23 17:37:35] local.INFO: Processing buffer {"connection_id":160680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8377f8012d181ec00721b038004d00d526..."} 
[2026-08-23 17:37:35] local.INFO: Packet analysis {"connection_id":160680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e83"} 
[2026-08-23 17:37:35] local.INFO: Extracted packet for processing {"connection_id":160680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e83"} 
[2026-08-23 17:37:35] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596605952001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787486763000,"timestamp_ms":1787486763000,"timestamp_seconds":1787486763,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8377f8"} 
[2026-08-23 17:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596605952001,"66":12439,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596605952001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:37:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596605952001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":160680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:37:35] local.INFO: GPS data processed {"connection_id":160680,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:37:35] local.INFO: Acknowledgment sent {"connection_id":160680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:37:45] local.INFO: TCP Data received {"connection_id":163279,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:37:45] local.INFO: Processing buffer {"connection_id":163279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:37:45] local.INFO: IMEI packet received {"connection_id":163279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":163279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:37:51] local.INFO: TCP Data received {"connection_id":163279,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:37:51] local.INFO: Processing buffer {"connection_id":163279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:37:51] local.INFO: IMEI packet received {"connection_id":163279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":163279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:37:51] local.INFO: TCP Data received {"connection_id":163279,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:37:51] local.INFO: Processing buffer {"connection_id":163279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:37:51] local.INFO: Packet analysis {"connection_id":163279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e80"} 
[2026-08-23 17:37:51] local.INFO: Extracted packet for processing {"connection_id":163279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e80"} 
[2026-08-23 17:37:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":24,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596485888001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787486574000,"timestamp_ms":1787486574000,"timestamp_seconds":1787486574,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8095b0"} 
[2026-08-23 17:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 17:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596485888001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596485888001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:37:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596485888001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":163279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:37:52] local.INFO: GPS data processed {"connection_id":163279,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:37:52] local.INFO: Acknowledgment sent {"connection_id":163279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:38:06] local.INFO: TCP Data received {"connection_id":160680,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e83ca00012d181ec00721b038004d00d527..."} 
[2026-08-23 17:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e83ca00012d181ec00721b038004d00d527..."} 
[2026-08-23 17:38:06] local.INFO: Processing buffer {"connection_id":160680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e83ca00012d181ec00721b038004d00d527..."} 
[2026-08-23 17:38:06] local.INFO: Packet analysis {"connection_id":160680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e83"} 
[2026-08-23 17:38:06] local.INFO: Extracted packet for processing {"connection_id":160680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e83"} 
[2026-08-23 17:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596611328001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787486784000,"timestamp_ms":1787486784000,"timestamp_seconds":1787486784,"priority":1,"record_length":96,"hex_timestamp":"000001a02e83ca00"} 
[2026-08-23 17:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 17:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596611328001,"66":12428,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596611328001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:38:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596611328001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":160680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:38:06] local.INFO: GPS data processed {"connection_id":160680,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:38:06] local.INFO: Acknowledgment sent {"connection_id":160680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:38:23] local.INFO: TCP Data received {"connection_id":163279,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:38:23] local.INFO: Processing buffer {"connection_id":163279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8095b0012d34c58006aa4060001801141e..."} 
[2026-08-23 17:38:23] local.INFO: Packet analysis {"connection_id":163279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e80"} 
[2026-08-23 17:38:23] local.INFO: Extracted packet for processing {"connection_id":163279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e80"} 
[2026-08-23 17:38:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":24,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596485888001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787486574000,"timestamp_ms":1787486574000,"timestamp_seconds":1787486574,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8095b0"} 
[2026-08-23 17:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 17:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596485888001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596485888001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:38:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:38:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596485888001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":163279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:38:23] local.INFO: GPS data processed {"connection_id":163279,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:38:23] local.INFO: Acknowledgment sent {"connection_id":163279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:38:34] local.INFO: TCP Data received {"connection_id":160928,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:38:34] local.INFO: Processing buffer {"connection_id":160928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:38:34] local.INFO: IMEI packet received {"connection_id":160928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":160928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:38:35] local.INFO: TCP Data received {"connection_id":160928,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:38:35] local.INFO: Processing buffer {"connection_id":160928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:38:35] local.INFO: IMEI packet received {"connection_id":160928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":160928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:38:36] local.INFO: TCP Data received {"connection_id":160928,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e841c08012d181ec00721b038004d00d527..."} 
[2026-08-23 17:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e841c08012d181ec00721b038004d00d527..."} 
[2026-08-23 17:38:36] local.INFO: Processing buffer {"connection_id":160928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e841c08012d181ec00721b038004d00d527..."} 
[2026-08-23 17:38:36] local.INFO: Packet analysis {"connection_id":160928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e84"} 
[2026-08-23 17:38:36] local.INFO: Extracted packet for processing {"connection_id":160928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e84"} 
[2026-08-23 17:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596616704001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787486805000,"timestamp_ms":1787486805000,"timestamp_seconds":1787486805,"priority":1,"record_length":96,"hex_timestamp":"000001a02e841c08"} 
[2026-08-23 17:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 17:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596616704001,"66":12461,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596616704001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:38:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:38:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596616704001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":160928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:38:36] local.INFO: GPS data processed {"connection_id":160928,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:38:36] local.INFO: Acknowledgment sent {"connection_id":160928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:38:39] local.INFO: TCP Data received {"connection_id":160928,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e846e10012d181ec00721b038004d00d526..."} 
[2026-08-23 17:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e846e10012d181ec00721b038004d00d526..."} 
[2026-08-23 17:38:39] local.INFO: Processing buffer {"connection_id":160928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e846e10012d181ec00721b038004d00d526..."} 
[2026-08-23 17:38:39] local.INFO: Packet analysis {"connection_id":160928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e84"} 
[2026-08-23 17:38:39] local.INFO: Extracted packet for processing {"connection_id":160928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e84"} 
[2026-08-23 17:38:39] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648312,"longitude_deg":75.6555456,"latitude_deg":11.9648312,"altitude":77,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-23 17:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596622080001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647626716250112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787486826000,"timestamp_ms":1787486826000,"timestamp_seconds":1787486826,"priority":1,"record_length":96,"hex_timestamp":"000001a02e846e10"} 
[2026-08-23 17:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:38: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-08-23 17:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 17:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596622080001,"66":13689,"105":206,"83":41984,"24":0,"16":15647626716250112,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596622080001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:38:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:38:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647626716250112,"km_value":15647626716250.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596622080001,"power":13689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":160928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:38:39] local.INFO: GPS data processed {"connection_id":160928,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:38:39] local.INFO: Acknowledgment sent {"connection_id":160928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:38:45] local.INFO: TCP Data received {"connection_id":160681,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:38:45] local.INFO: Processing buffer {"connection_id":160681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:38:45] local.INFO: IMEI packet received {"connection_id":160681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":160681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:38:50] local.INFO: TCP Data received {"connection_id":160681,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:38:50] local.INFO: Processing buffer {"connection_id":160681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:38:50] local.INFO: IMEI packet received {"connection_id":160681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":160681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:38:52] local.INFO: TCP Data received {"connection_id":160681,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:38:52] local.INFO: Processing buffer {"connection_id":160681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:38:52] local.INFO: Packet analysis {"connection_id":160681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:38:52] local.INFO: Extracted packet for processing {"connection_id":160681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:38:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596562944001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787486875000,"timestamp_ms":1787486875000,"timestamp_seconds":1787486875,"priority":1,"record_length":96,"hex_timestamp":"000001a02e852d78"} 
[2026-08-23 17:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:38:52] 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-08-23 17:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596562944001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596562944001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:38:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:38:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596562944001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":160681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:38:52] local.INFO: GPS data processed {"connection_id":160681,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:38:52] local.INFO: Acknowledgment sent {"connection_id":160681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:39:10] local.INFO: TCP Data received {"connection_id":160928,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e84b848012d181d400721ad10005400c825..."} 
[2026-08-23 17:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e84b848012d181d400721ad10005400c825..."} 
[2026-08-23 17:39:11] local.INFO: Processing buffer {"connection_id":160928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e84b848012d181d400721ad10005400c825..."} 
[2026-08-23 17:39:11] local.INFO: Packet analysis {"connection_id":160928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e84"} 
[2026-08-23 17:39:11] local.INFO: Extracted packet for processing {"connection_id":160928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e84"} 
[2026-08-23 17:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647504,"longitude_deg":75.6555072,"latitude_deg":11.9647504,"altitude":84,"angle":200,"satellites":37,"speed":1,"hex_longitude":"2d181d40","hex_latitude":"0721ad10","is_valid_coordinates":true} 
[2026-08-23 17:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596627456001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15647669665923072,"note":"Value kept but may cause issues"} 
[2026-08-23 17:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074091008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787486845000,"timestamp_ms":1787486845000,"timestamp_seconds":1787486845,"priority":1,"record_length":96,"hex_timestamp":"000001a02e84b848"} 
[2026-08-23 17:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:39:11] 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-08-23 17:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-23 17:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596627456001,"66":13972,"105":206,"83":41984,"24":1,"16":15647669665923072,"45":1738037643074091008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 17:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596627456001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:39:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 17:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15647669665923072,"km_value":15647669665923.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074091008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596627456001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738037643074091008}} 
[2026-08-23 17:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":160928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:39:11] local.INFO: GPS data processed {"connection_id":160928,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:39:11] local.INFO: Acknowledgment sent {"connection_id":160928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:39:24] local.INFO: TCP Data received {"connection_id":160681,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:39:24] local.INFO: Processing buffer {"connection_id":160681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:39:24] local.INFO: Packet analysis {"connection_id":160681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:39:24] local.INFO: Extracted packet for processing {"connection_id":160681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:39:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596562944001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787486875000,"timestamp_ms":1787486875000,"timestamp_seconds":1787486875,"priority":1,"record_length":96,"hex_timestamp":"000001a02e852d78"} 
[2026-08-23 17:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:39:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596562944001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596562944001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:39:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:39:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596562944001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":160681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:39:24] local.INFO: GPS data processed {"connection_id":160681,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:39:24] local.INFO: Acknowledgment sent {"connection_id":160681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:39:29] local.INFO: TCP Data received {"connection_id":163280,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:39:29] local.INFO: Processing buffer {"connection_id":163280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:39:29] local.INFO: IMEI packet received {"connection_id":163280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":163280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:39:32] local.INFO: TCP Data received {"connection_id":163280,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:39:32] local.INFO: Processing buffer {"connection_id":163280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:39:32] local.INFO: IMEI packet received {"connection_id":163280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":163280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:39:33] local.INFO: TCP Data received {"connection_id":163280,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e85d958012d1854c0072189c0004e007422..."} 
[2026-08-23 17:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e85d958012d1854c0072189c0004e007422..."} 
[2026-08-23 17:39:33] local.INFO: Processing buffer {"connection_id":163280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e85d958012d1854c0072189c0004e007422..."} 
[2026-08-23 17:39:33] local.INFO: Packet analysis {"connection_id":163280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:39:33] local.INFO: Extracted packet for processing {"connection_id":163280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:39:33] local.INFO: GPS Element Parsed {"raw_longitude":756569280,"raw_latitude":119638464,"longitude_deg":75.656928,"latitude_deg":11.9638464,"altitude":78,"angle":116,"satellites":34,"speed":31,"hex_longitude":"2d1854c0","hex_latitude":"072189c0","is_valid_coordinates":true} 
[2026-08-23 17:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596647936001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15648507184545792,"note":"Value kept but may cause issues"} 
[2026-08-23 17:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744089355071793152,"note":"Value kept but may cause issues"} 
[2026-08-23 17:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787486919000,"timestamp_ms":1787486919000,"timestamp_seconds":1787486919,"priority":1,"record_length":96,"hex_timestamp":"000001a02e85d958"} 
[2026-08-23 17:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 17:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":163280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":163280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":163280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596647936001,"66":14233,"106":206,"83":41984,"24":31,"16":15648507184545792,"45":1744089355071793152},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 17:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596647936001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:39:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 17:39:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15648507184545792,"km_value":15648507184545.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744089355071793152,"description":"Unknown IO ID 45"} 
[2026-08-23 17:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596647936001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1744089355071793152}} 
[2026-08-23 17:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":163280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:39:33] local.INFO: GPS data processed {"connection_id":163280,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:39:33] local.INFO: Acknowledgment sent {"connection_id":163280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:39:45] local.INFO: TCP Data received {"connection_id":163281,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:39:45] local.INFO: Processing buffer {"connection_id":163281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:39:45] local.INFO: IMEI packet received {"connection_id":163281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":163281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:39:51] local.INFO: TCP Data received {"connection_id":163281,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:39:51] local.INFO: Processing buffer {"connection_id":163281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:39:51] local.INFO: IMEI packet received {"connection_id":163281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":163281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:39:52] local.INFO: TCP Data received {"connection_id":163281,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:39:52] local.INFO: Processing buffer {"connection_id":163281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:39:52] local.INFO: Packet analysis {"connection_id":163281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:39:52] local.INFO: Extracted packet for processing {"connection_id":163281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596562944001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787486875000,"timestamp_ms":1787486875000,"timestamp_seconds":1787486875,"priority":1,"record_length":96,"hex_timestamp":"000001a02e852d78"} 
[2026-08-23 17:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596562944001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596562944001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:39:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:39:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596562944001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":163281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:39:52] local.INFO: GPS data processed {"connection_id":163281,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:39:52] local.INFO: Acknowledgment sent {"connection_id":163281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:40:04] local.INFO: TCP Data received {"connection_id":163280,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e85ece0012d18638007218340004d006721..."} 
[2026-08-23 17:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e85ece0012d18638007218340004d006721..."} 
[2026-08-23 17:40:04] local.INFO: Processing buffer {"connection_id":163280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e85ece0012d18638007218340004d006721..."} 
[2026-08-23 17:40:04] local.INFO: Packet analysis {"connection_id":163280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:40:04] local.INFO: Extracted packet for processing {"connection_id":163280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756573056,"raw_latitude":119636800,"longitude_deg":75.6573056,"latitude_deg":11.96368,"altitude":77,"angle":103,"satellites":33,"speed":31,"hex_longitude":"2d186380","hex_latitude":"07218340","is_valid_coordinates":true} 
[2026-08-23 17:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596651264001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15648700458074112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753237291813945344,"note":"Value kept but may cause issues"} 
[2026-08-23 17:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787486924000,"timestamp_ms":1787486924000,"timestamp_seconds":1787486924,"priority":1,"record_length":96,"hex_timestamp":"000001a02e85ece0"} 
[2026-08-23 17:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-23 17:40:04] 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-08-23 17:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596651264001,"66":14211,"106":206,"83":41984,"24":31,"16":15648700458074112,"45":1753237291813945344},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 17:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596651264001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:40:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 17:40:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15648700458074112,"km_value":15648700458074.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753237291813945344,"description":"Unknown IO ID 45"} 
[2026-08-23 17:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596651264001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1753237291813945344}} 
[2026-08-23 17:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":163280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:40:04] local.INFO: GPS data processed {"connection_id":163280,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:40:04] local.INFO: Acknowledgment sent {"connection_id":163280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:40:24] local.INFO: TCP Data received {"connection_id":163281,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:40:24] local.INFO: Processing buffer {"connection_id":163281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:40:24] local.INFO: Packet analysis {"connection_id":163281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:40:24] local.INFO: Extracted packet for processing {"connection_id":163281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:40:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596562944001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787486875000,"timestamp_ms":1787486875000,"timestamp_seconds":1787486875,"priority":1,"record_length":96,"hex_timestamp":"000001a02e852d78"} 
[2026-08-23 17:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:40: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-08-23 17:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596562944001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596562944001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:40:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:40:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596562944001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":163281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:40:24] local.INFO: GPS data processed {"connection_id":163281,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:40:24] local.INFO: Acknowledgment sent {"connection_id":163281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:40:29] local.INFO: TCP Data received {"connection_id":160682,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:40:29] local.INFO: Processing buffer {"connection_id":160682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:40:29] local.INFO: IMEI packet received {"connection_id":160682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":160682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:40:30] local.INFO: TCP Data received {"connection_id":160682,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:40:30] local.INFO: Processing buffer {"connection_id":160682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:40:30] local.INFO: IMEI packet received {"connection_id":160682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":160682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:40:32] local.INFO: TCP Data received {"connection_id":160682,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:40:32] local.INFO: Processing buffer {"connection_id":160682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:40:32] local.INFO: IMEI packet received {"connection_id":160682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":160682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:40:33] local.INFO: TCP Data received {"connection_id":160682,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e86d358012d18d20007212900004100a124..."} 
[2026-08-23 17:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e86d358012d18d20007212900004100a124..."} 
[2026-08-23 17:40:33] local.INFO: Processing buffer {"connection_id":160682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e86d358012d18d20007212900004100a124..."} 
[2026-08-23 17:40:33] local.INFO: Packet analysis {"connection_id":160682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e86"} 
[2026-08-23 17:40:33] local.INFO: Extracted packet for processing {"connection_id":160682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e86"} 
[2026-08-23 17:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756601344,"raw_latitude":119613696,"longitude_deg":75.6601344,"latitude_deg":11.9613696,"altitude":65,"angle":161,"satellites":36,"speed":31,"hex_longitude":"2d18d200","hex_latitude":"07212900","is_valid_coordinates":true} 
[2026-08-23 17:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596666112001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15650671848062976,"note":"Value kept but may cause issues"} 
[2026-08-23 17:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786029126595340288,"note":"Value kept but may cause issues"} 
[2026-08-23 17:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787486983000,"timestamp_ms":1787486983000,"timestamp_seconds":1787486983,"priority":1,"record_length":96,"hex_timestamp":"000001a02e86d358"} 
[2026-08-23 17:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-23 17:40:33] 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-08-23 17:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596666112001,"66":14374,"103":206,"83":41984,"24":31,"16":15650671848062976,"45":1786029126595340288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 17:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596666112001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:40:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 17:40:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15650671848062976,"km_value":15650671848062.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786029126595340288,"description":"Unknown IO ID 45"} 
[2026-08-23 17:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596666112001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1786029126595340288}} 
[2026-08-23 17:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":160682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:40:33] local.INFO: GPS data processed {"connection_id":160682,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:40:33] local.INFO: Acknowledgment sent {"connection_id":160682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:40:45] local.INFO: TCP Data received {"connection_id":160683,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:40:45] local.INFO: Processing buffer {"connection_id":160683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:40:45] local.INFO: IMEI packet received {"connection_id":160683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":160683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:40:50] local.INFO: TCP Data received {"connection_id":160683,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:40:50] local.INFO: Processing buffer {"connection_id":160683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:40:50] local.INFO: IMEI packet received {"connection_id":160683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":160683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:40:51] local.INFO: TCP Data received {"connection_id":160683,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:40:51] local.INFO: Processing buffer {"connection_id":160683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:40:51] local.INFO: Packet analysis {"connection_id":160683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:40:51] local.INFO: Extracted packet for processing {"connection_id":160683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:40:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596562944001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787486875000,"timestamp_ms":1787486875000,"timestamp_seconds":1787486875,"priority":1,"record_length":96,"hex_timestamp":"000001a02e852d78"} 
[2026-08-23 17:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596562944001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596562944001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:40:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:40:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596562944001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":160683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:40:51] local.INFO: GPS data processed {"connection_id":160683,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:40:51] local.INFO: Acknowledgment sent {"connection_id":160683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:41:04] local.INFO: TCP Data received {"connection_id":160682,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e86db28012d18d2c007212270004000b125..."} 
[2026-08-23 17:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e86db28012d18d2c007212270004000b125..."} 
[2026-08-23 17:41:04] local.INFO: Processing buffer {"connection_id":160682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e86db28012d18d2c007212270004000b125..."} 
[2026-08-23 17:41:04] local.INFO: Packet analysis {"connection_id":160682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e86"} 
[2026-08-23 17:41:04] local.INFO: Extracted packet for processing {"connection_id":160682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e86"} 
[2026-08-23 17:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119612016,"longitude_deg":75.6601536,"latitude_deg":11.9612016,"altitude":64,"angle":177,"satellites":37,"speed":35,"hex_longitude":"2d18d2c0","hex_latitude":"07212270","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596667648001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15650753452441600,"note":"Value kept but may cause issues"} 
[2026-08-23 17:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788492032640614400,"note":"Value kept but may cause issues"} 
[2026-08-23 17:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787486985000,"timestamp_ms":1787486985000,"timestamp_seconds":1787486985,"priority":1,"record_length":96,"hex_timestamp":"000001a02e86db28"} 
[2026-08-23 17:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-23 17:41:04] 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-08-23 17: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-08-23 17:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596667648001,"66":14265,"103":206,"83":41984,"24":35,"16":15650753452441600,"45":1788492032640614400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 17:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596667648001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:41:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 17:41:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15650753452441600,"km_value":15650753452441.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788492032640614400,"description":"Unknown IO ID 45"} 
[2026-08-23 17:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596667648001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1788492032640614400}} 
[2026-08-23 17:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":160682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:41:04] local.INFO: GPS data processed {"connection_id":160682,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:41:04] local.INFO: Acknowledgment sent {"connection_id":160682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:41:14] local.INFO: TCP Data received {"connection_id":160684,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160684,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:41:14] local.INFO: Processing buffer {"connection_id":160684,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:41:14] local.INFO: IMEI packet received {"connection_id":160684,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":160684,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:41:22] local.INFO: TCP Data received {"connection_id":160683,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:41:22] local.INFO: Processing buffer {"connection_id":160683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:41:22] local.INFO: Packet analysis {"connection_id":160683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:41:22] local.INFO: Extracted packet for processing {"connection_id":160683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:41:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596562944001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787486875000,"timestamp_ms":1787486875000,"timestamp_seconds":1787486875,"priority":1,"record_length":96,"hex_timestamp":"000001a02e852d78"} 
[2026-08-23 17:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:41:22] 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-08-23 17:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596562944001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596562944001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:41:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:41:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596562944001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":160683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:41:22] local.INFO: GPS data processed {"connection_id":160683,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:41:22] local.INFO: Acknowledgment sent {"connection_id":160683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:41:29] local.INFO: TCP Data received {"connection_id":160685,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:41:29] local.INFO: Processing buffer {"connection_id":160685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:41:29] local.INFO: IMEI packet received {"connection_id":160685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":160685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:41:30] local.INFO: TCP Data received {"connection_id":160685,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:41:30] local.INFO: Processing buffer {"connection_id":160685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:41:30] local.INFO: IMEI packet received {"connection_id":160685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":160685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:41:34] local.INFO: TCP Data received {"connection_id":160685,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:41:34] local.INFO: Processing buffer {"connection_id":160685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:41:34] local.INFO: IMEI packet received {"connection_id":160685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":160685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:41:36] local.INFO: TCP Data received {"connection_id":160685,"ip":"42.109.136.1","data_length":93,"data_hex":"00000000000000518e01000001a02e879a90012d195cc00720ab38002f005624..."} 
[2026-08-23 17:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160685,"packet_length":93,"packet_hex":"00000000000000518e01000001a02e879a90012d195cc00720ab38002f005624..."} 
[2026-08-23 17:41:36] local.INFO: Processing buffer {"connection_id":160685,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a02e879a90012d195cc00720ab38002f005624..."} 
[2026-08-23 17:41:36] local.INFO: Packet analysis {"connection_id":160685,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a02e87"} 
[2026-08-23 17:41:36] local.INFO: Extracted packet for processing {"connection_id":160685,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a02e87"} 
[2026-08-23 17:41:36] local.INFO: GPS Element Parsed {"raw_longitude":756636864,"raw_latitude":119581496,"longitude_deg":75.6636864,"latitude_deg":11.9581496,"altitude":47,"angle":86,"satellites":36,"speed":33,"hex_longitude":"2d195cc0","hex_latitude":"0720ab38","is_valid_coordinates":true} 
[2026-08-23 17: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":93,"current_offset":40} 
[2026-08-23 17:41: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-08-23 17:41: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-08-23 17:41:36] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:41:36] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-23 17:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160685,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-23 17:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160685,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-23 17:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160685,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-23 17:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-23 17:41:36] local.WARNING: DEBUG: No valid data to process  
[2026-08-23 17:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":160685,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-23 17:41:36] local.ERROR: GPS data processing failed {"connection_id":160685,"error":"No valid data to process"} 
[2026-08-23 17:41:36] local.INFO: Acknowledgment sent {"connection_id":160685,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-23 17:41:44] local.INFO: TCP Data received {"connection_id":160686,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:41:44] local.INFO: Processing buffer {"connection_id":160686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:41:44] local.INFO: IMEI packet received {"connection_id":160686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":160686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:41:49] local.INFO: TCP Data received {"connection_id":160686,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:41:49] local.INFO: Processing buffer {"connection_id":160686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:41:49] local.INFO: IMEI packet received {"connection_id":160686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":160686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:41:50] local.INFO: TCP Data received {"connection_id":160686,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02e86d740012d89310005c45c30000b006d2c..."} 
[2026-08-23 17:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e86d740012d89310005c45c30000b006d2c..."} 
[2026-08-23 17:41:50] local.INFO: Processing buffer {"connection_id":160686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e86d740012d89310005c45c30000b006d2c..."} 
[2026-08-23 17:41:50] local.INFO: Packet analysis {"connection_id":160686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e86"} 
[2026-08-23 17:41:50] local.INFO: Extracted packet for processing {"connection_id":160686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e86"} 
[2026-08-23 17:41:50] local.INFO: GPS Element Parsed {"raw_longitude":763965696,"raw_latitude":96754736,"longitude_deg":76.3965696,"latitude_deg":9.6754736,"altitude":11,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2d893100","hex_latitude":"05c45c30","is_valid_coordinates":true} 
[2026-08-23 17:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596662528001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122864243946029056,"note":"Value kept but may cause issues"} 
[2026-08-23 17:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8561976185559617536,"note":"Value kept but may cause issues"} 
[2026-08-23 17:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787486984000,"timestamp_ms":1787486984000,"timestamp_seconds":1787486984,"priority":1,"record_length":96,"hex_timestamp":"000001a02e86d740"} 
[2026-08-23 17:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:41: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-08-23 17:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-23 17:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":160686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":160686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":160686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596662528001,"66":12841,"189":206,"85":12288,"24":0,"16":122864243946029056,"45":-8561976185559617536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596662528001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:41:50] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:41:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122864243946029056,"km_value":122864243946029.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8561976185559617536,"description":"Unknown IO ID 45"} 
[2026-08-23 17:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596662528001,"power":12841,"unknown_189":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8561976185559617536}} 
[2026-08-23 17:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":160686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:41:50] local.INFO: GPS data processed {"connection_id":160686,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:41:50] local.INFO: Acknowledgment sent {"connection_id":160686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:41:54] local.INFO: TCP Data received {"connection_id":160687,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:41:54] local.INFO: Processing buffer {"connection_id":160687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:41:54] local.INFO: IMEI packet received {"connection_id":160687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":160687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:41:55] local.INFO: TCP Data received {"connection_id":160687,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:41:55] local.INFO: Processing buffer {"connection_id":160687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:41:55] local.INFO: IMEI packet received {"connection_id":160687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":160687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:41:57] local.INFO: TCP Data received {"connection_id":160687,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:41:57] local.INFO: Processing buffer {"connection_id":160687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:41:57] local.INFO: Packet analysis {"connection_id":160687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:41:57] local.INFO: Extracted packet for processing {"connection_id":160687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:41:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596562944001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787486875000,"timestamp_ms":1787486875000,"timestamp_seconds":1787486875,"priority":1,"record_length":96,"hex_timestamp":"000001a02e852d78"} 
[2026-08-23 17:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17: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":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596562944001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596562944001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:41:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:41:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596562944001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":160687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:41:57] local.INFO: GPS data processed {"connection_id":160687,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:41:57] local.INFO: Acknowledgment sent {"connection_id":160687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:41:58] local.INFO: TCP Data received {"connection_id":160687,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:41:58] local.INFO: Processing buffer {"connection_id":160687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:41:58] local.INFO: Packet analysis {"connection_id":160687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:41:58] local.INFO: Extracted packet for processing {"connection_id":160687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:41:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596562944001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787486875000,"timestamp_ms":1787486875000,"timestamp_seconds":1787486875,"priority":1,"record_length":96,"hex_timestamp":"000001a02e852d78"} 
[2026-08-23 17:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:41:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596562944001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596562944001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:41:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:41:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596562944001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":160687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:41:58] local.INFO: GPS data processed {"connection_id":160687,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:41:58] local.INFO: Acknowledgment sent {"connection_id":160687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:42:07] local.INFO: TCP Data received {"connection_id":160685,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e885228012d19b64007209cb0003100d823..."} 
[2026-08-23 17:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e885228012d19b64007209cb0003100d823..."} 
[2026-08-23 17:42:07] local.INFO: Processing buffer {"connection_id":160685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e885228012d19b64007209cb0003100d823..."} 
[2026-08-23 17:42:07] local.INFO: Packet analysis {"connection_id":160685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e88"} 
[2026-08-23 17:42:07] local.INFO: Extracted packet for processing {"connection_id":160685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e88"} 
[2026-08-23 17:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756659776,"raw_latitude":119577776,"longitude_deg":75.6659776,"latitude_deg":11.9577776,"altitude":49,"angle":216,"satellites":35,"speed":30,"hex_longitude":"2d19b640","hex_latitude":"07209cb0","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596692224001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15654554498498560,"note":"Value kept but may cause issues"} 
[2026-08-23 17:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489740251136,"note":"Value kept but may cause issues"} 
[2026-08-23 17:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787487081000,"timestamp_ms":1787487081000,"timestamp_seconds":1787487081,"priority":1,"record_length":96,"hex_timestamp":"000001a02e885228"} 
[2026-08-23 17:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17: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-08-23 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 17:42:07] 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-08-23 17: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-08-23 17:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596692224001,"66":14265,"103":206,"83":41984,"24":30,"16":15654554498498560,"45":1853653489740251136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 17:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596692224001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:42:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 17:42:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15654554498498560,"km_value":15654554498498.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489740251136,"description":"Unknown IO ID 45"} 
[2026-08-23 17:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596692224001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1853653489740251136}} 
[2026-08-23 17:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":160685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:42:07] local.INFO: GPS data processed {"connection_id":160685,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:42:07] local.INFO: Acknowledgment sent {"connection_id":160685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:42:29] local.INFO: TCP Data received {"connection_id":160929,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:42:29] local.INFO: Processing buffer {"connection_id":160929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:42:29] local.INFO: IMEI packet received {"connection_id":160929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":160929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:42:29] local.INFO: TCP Data received {"connection_id":160687,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:42:29] local.INFO: Processing buffer {"connection_id":160687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:42:29] local.INFO: Packet analysis {"connection_id":160687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:42:29] local.INFO: Extracted packet for processing {"connection_id":160687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:42:29] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596562944001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787486875000,"timestamp_ms":1787486875000,"timestamp_seconds":1787486875,"priority":1,"record_length":96,"hex_timestamp":"000001a02e852d78"} 
[2026-08-23 17:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17: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":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596562944001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596562944001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:42:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:42:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596562944001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":160687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:42:29] local.INFO: GPS data processed {"connection_id":160687,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:42:29] local.INFO: Acknowledgment sent {"connection_id":160687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:42:30] local.INFO: TCP Data received {"connection_id":160929,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:42:30] local.INFO: Processing buffer {"connection_id":160929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:42:30] local.INFO: IMEI packet received {"connection_id":160929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":160929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:42:34] local.INFO: TCP Data received {"connection_id":163282,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:42:34] local.INFO: Processing buffer {"connection_id":163282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:42:34] local.INFO: IMEI packet received {"connection_id":163282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":163282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:42:34] local.INFO: TCP Data received {"connection_id":160929,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:42:34] local.INFO: Processing buffer {"connection_id":160929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:42:34] local.INFO: IMEI packet received {"connection_id":160929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":160929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:42:35] local.INFO: TCP Data received {"connection_id":160929,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8861c8012d19ae80072091c0003000c924..."} 
[2026-08-23 17:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8861c8012d19ae80072091c0003000c924..."} 
[2026-08-23 17:42:35] local.INFO: Processing buffer {"connection_id":160929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8861c8012d19ae80072091c0003000c924..."} 
[2026-08-23 17:42:35] local.INFO: Packet analysis {"connection_id":160929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e88"} 
[2026-08-23 17:42:35] local.INFO: Extracted packet for processing {"connection_id":160929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e88"} 
[2026-08-23 17:42:35] local.INFO: GPS Element Parsed {"raw_longitude":756657792,"raw_latitude":119574976,"longitude_deg":75.6657792,"latitude_deg":11.9574976,"altitude":48,"angle":201,"satellites":36,"speed":33,"hex_longitude":"2d19ae80","hex_latitude":"072091c0","is_valid_coordinates":true} 
[2026-08-23 17:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596692736001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15654722002223104,"note":"Value kept but may cause issues"} 
[2026-08-23 17:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852738696065626112,"note":"Value kept but may cause issues"} 
[2026-08-23 17:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787487085000,"timestamp_ms":1787487085000,"timestamp_seconds":1787487085,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8861c8"} 
[2026-08-23 17:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 17:42:35] 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-08-23 17:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596692736001,"66":14363,"103":206,"83":41984,"24":33,"16":15654722002223104,"45":1852738696065626112},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 17:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596692736001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:42:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 17:42:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15654722002223104,"km_value":15654722002223.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852738696065626112,"description":"Unknown IO ID 45"} 
[2026-08-23 17:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596692736001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1852738696065626112}} 
[2026-08-23 17:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":160929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:42:35] local.INFO: GPS data processed {"connection_id":160929,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:42:35] local.INFO: Acknowledgment sent {"connection_id":160929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:42:43] local.INFO: TCP Data received {"connection_id":163282,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:42:43] local.INFO: Processing buffer {"connection_id":163282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:42:43] local.INFO: IMEI packet received {"connection_id":163282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":163282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:42:44] local.INFO: TCP Data received {"connection_id":163282,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02e872948012d8938c005c459a0000b00692b..."} 
[2026-08-23 17:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e872948012d8938c005c459a0000b00692b..."} 
[2026-08-23 17:42:44] local.INFO: Processing buffer {"connection_id":163282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e872948012d8938c005c459a0000b00692b..."} 
[2026-08-23 17:42:44] local.INFO: Packet analysis {"connection_id":163282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e87"} 
[2026-08-23 17:42:44] local.INFO: Extracted packet for processing {"connection_id":163282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e87"} 
[2026-08-23 17:42:44] local.INFO: GPS Element Parsed {"raw_longitude":763967680,"raw_latitude":96754080,"longitude_deg":76.396768,"latitude_deg":9.675408,"altitude":11,"angle":105,"satellites":43,"speed":4,"hex_longitude":"2d8938c0","hex_latitude":"05c459a0","is_valid_coordinates":true} 
[2026-08-23 17:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596667904001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122864347025244160,"note":"Value kept but may cause issues"} 
[2026-08-23 17:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8561061391885389824,"note":"Value kept but may cause issues"} 
[2026-08-23 17:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787487005000,"timestamp_ms":1787487005000,"timestamp_seconds":1787487005,"priority":1,"record_length":96,"hex_timestamp":"000001a02e872948"} 
[2026-08-23 17:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 17:42:44] 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-08-23 17:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596667904001,"66":13135,"189":206,"85":12288,"24":4,"16":122864347025244160,"45":-8561061391885389824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596667904001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:42:44] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:42:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122864347025244160,"km_value":122864347025244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8561061391885389824,"description":"Unknown IO ID 45"} 
[2026-08-23 17:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596667904001,"power":13135,"unknown_189":206,"unknown_85":12288,"ignition":4,"odometer":null,"unknown_45":-8561061391885389824}} 
[2026-08-23 17:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":163282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:42:44] local.INFO: GPS data processed {"connection_id":163282,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:42:44] local.INFO: Acknowledgment sent {"connection_id":163282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:42:45] local.INFO: TCP Data received {"connection_id":163282,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02e877b50012d89434005c45620000c006e2c..."} 
[2026-08-23 17:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e877b50012d89434005c45620000c006e2c..."} 
[2026-08-23 17:42:45] local.INFO: Processing buffer {"connection_id":163282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e877b50012d89434005c45620000c006e2c..."} 
[2026-08-23 17:42:45] local.INFO: Packet analysis {"connection_id":163282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e87"} 
[2026-08-23 17:42:45] local.INFO: Extracted packet for processing {"connection_id":163282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e87"} 
[2026-08-23 17:42:45] local.INFO: GPS Element Parsed {"raw_longitude":763970368,"raw_latitude":96753184,"longitude_deg":76.3970368,"latitude_deg":9.6753184,"altitude":12,"angle":110,"satellites":44,"speed":4,"hex_longitude":"2d894340","hex_latitude":"05c45620","is_valid_coordinates":true} 
[2026-08-23 17:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596673280001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122864480169230336,"note":"Value kept but may cause issues"} 
[2026-08-23 17:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8558879960816050176,"note":"Value kept but may cause issues"} 
[2026-08-23 17:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787487026000,"timestamp_ms":1787487026000,"timestamp_seconds":1787487026,"priority":1,"record_length":96,"hex_timestamp":"000001a02e877b50"} 
[2026-08-23 17:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:42: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-08-23 17:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 17:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596673280001,"66":13015,"189":206,"85":12288,"24":4,"16":122864480169230336,"45":-8558879960816050176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596673280001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:42:45] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:42:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122864480169230336,"km_value":122864480169230.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8558879960816050176,"description":"Unknown IO ID 45"} 
[2026-08-23 17:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596673280001,"power":13015,"unknown_189":206,"unknown_85":12288,"ignition":4,"odometer":null,"unknown_45":-8558879960816050176}} 
[2026-08-23 17:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":163282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":687999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:42:45] local.INFO: GPS data processed {"connection_id":163282,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:42:45] local.INFO: Acknowledgment sent {"connection_id":163282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:42:45] local.INFO: TCP Data received {"connection_id":160930,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:42:45] local.INFO: Processing buffer {"connection_id":160930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:42:45] local.INFO: IMEI packet received {"connection_id":160930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":160930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:42:51] local.INFO: TCP Data received {"connection_id":160930,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:42:51] local.INFO: Processing buffer {"connection_id":160930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:42:51] local.INFO: IMEI packet received {"connection_id":160930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":160930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:42:52] local.INFO: TCP Data received {"connection_id":160930,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:42:52] local.INFO: Processing buffer {"connection_id":160930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:42:52] local.INFO: Packet analysis {"connection_id":160930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:42:52] local.INFO: Extracted packet for processing {"connection_id":160930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:42:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596562944001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787486875000,"timestamp_ms":1787486875000,"timestamp_seconds":1787486875,"priority":1,"record_length":96,"hex_timestamp":"000001a02e852d78"} 
[2026-08-23 17:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596562944001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596562944001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:42:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:42:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596562944001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":160930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:42:52] local.INFO: GPS data processed {"connection_id":160930,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:42:52] local.INFO: Acknowledgment sent {"connection_id":160930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:43:06] local.INFO: TCP Data received {"connection_id":160929,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e890da8012d19f300071ffa90002a005d23..."} 
[2026-08-23 17:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e890da8012d19f300071ffa90002a005d23..."} 
[2026-08-23 17:43:06] local.INFO: Processing buffer {"connection_id":160929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e890da8012d19f300071ffa90002a005d23..."} 
[2026-08-23 17:43:06] local.INFO: Packet analysis {"connection_id":160929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:43:06] local.INFO: Extracted packet for processing {"connection_id":160929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756675328,"raw_latitude":119536272,"longitude_deg":75.6675328,"latitude_deg":11.9536272,"altitude":42,"angle":93,"satellites":35,"speed":28,"hex_longitude":"2d19f300","hex_latitude":"071ffa90","is_valid_coordinates":true} 
[2026-08-23 17:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596704768001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15656899550642176,"note":"Value kept but may cause issues"} 
[2026-08-23 17:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868923507215853568,"note":"Value kept but may cause issues"} 
[2026-08-23 17:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787487129000,"timestamp_ms":1787487129000,"timestamp_seconds":1787487129,"priority":1,"record_length":96,"hex_timestamp":"000001a02e890da8"} 
[2026-08-23 17:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 17:43:06] 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-08-23 17:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596704768001,"66":14265,"101":206,"83":41984,"24":28,"16":15656899550642176,"45":1868923507215853568},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 17:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596704768001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:43:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 17:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15656899550642176,"km_value":15656899550642.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868923507215853568,"description":"Unknown IO ID 45"} 
[2026-08-23 17:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596704768001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1868923507215853568}} 
[2026-08-23 17:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":160929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:43:06] local.INFO: GPS data processed {"connection_id":160929,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:43:06] local.INFO: Acknowledgment sent {"connection_id":160929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:43:23] local.INFO: TCP Data received {"connection_id":160930,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:43:23] local.INFO: Processing buffer {"connection_id":160930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e852d78012d34c58006aa4060002201141e..."} 
[2026-08-23 17:43:23] local.INFO: Packet analysis {"connection_id":160930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:43:23] local.INFO: Extracted packet for processing {"connection_id":160930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e85"} 
[2026-08-23 17:43:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596562944001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787486875000,"timestamp_ms":1787486875000,"timestamp_seconds":1787486875,"priority":1,"record_length":96,"hex_timestamp":"000001a02e852d78"} 
[2026-08-23 17:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596562944001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596562944001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:43:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:43:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596562944001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":160930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:43:23] local.INFO: GPS data processed {"connection_id":160930,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:43:23] local.INFO: Acknowledgment sent {"connection_id":160930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:43:29] local.INFO: TCP Data received {"connection_id":161877,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:43:29] local.INFO: Processing buffer {"connection_id":161877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:43:29] local.INFO: IMEI packet received {"connection_id":161877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":161877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:43:33] local.INFO: TCP Data received {"connection_id":161877,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:43:33] local.INFO: Processing buffer {"connection_id":161877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:43:33] local.INFO: IMEI packet received {"connection_id":161877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":161877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:43:34] local.INFO: TCP Data received {"connection_id":161877,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:43:34] local.INFO: Processing buffer {"connection_id":161877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:43:34] local.INFO: IMEI packet received {"connection_id":161877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":161877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:43:34] local.INFO: TCP Data received {"connection_id":161877,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e891960012d19fe00071ffaf0002a006924..."} 
[2026-08-23 17:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e891960012d19fe00071ffaf0002a006924..."} 
[2026-08-23 17:43:34] local.INFO: Processing buffer {"connection_id":161877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e891960012d19fe00071ffaf0002a006924..."} 
[2026-08-23 17:43:34] local.INFO: Packet analysis {"connection_id":161877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:43:34] local.INFO: Extracted packet for processing {"connection_id":161877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:43:34] local.INFO: GPS Element Parsed {"raw_longitude":756678144,"raw_latitude":119536368,"longitude_deg":75.6678144,"latitude_deg":11.9536368,"altitude":42,"angle":105,"satellites":36,"speed":36,"hex_longitude":"2d19fe00","hex_latitude":"071ffaf0","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596705024001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15657032694628352,"note":"Value kept but may cause issues"} 
[2026-08-23 17:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1869838300890173440,"note":"Value kept but may cause issues"} 
[2026-08-23 17:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787487132000,"timestamp_ms":1787487132000,"timestamp_seconds":1787487132,"priority":1,"record_length":96,"hex_timestamp":"000001a02e891960"} 
[2026-08-23 17:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 17:43:34] 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-08-23 17: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-08-23 17:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596705024001,"66":14363,"101":206,"83":41984,"24":36,"16":15657032694628352,"45":1869838300890173440},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 17:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596705024001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:43:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 17:43:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15657032694628352,"km_value":15657032694628.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1869838300890173440,"description":"Unknown IO ID 45"} 
[2026-08-23 17:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596705024001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1869838300890173440}} 
[2026-08-23 17:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":161877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:43:34] local.INFO: GPS data processed {"connection_id":161877,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:43:34] local.INFO: Acknowledgment sent {"connection_id":161877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:43:39] local.INFO: TCP Data received {"connection_id":161877,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e893c88012d1a2240071ff078002c006a25..."} 
[2026-08-23 17:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e893c88012d1a2240071ff078002c006a25..."} 
[2026-08-23 17:43:39] local.INFO: Processing buffer {"connection_id":161877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e893c88012d1a2240071ff078002c006a25..."} 
[2026-08-23 17:43:39] local.INFO: Packet analysis {"connection_id":161877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:43:39] local.INFO: Extracted packet for processing {"connection_id":161877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:43:39] local.INFO: GPS Element Parsed {"raw_longitude":756687424,"raw_latitude":119533688,"longitude_deg":75.6687424,"latitude_deg":11.9533688,"altitude":44,"angle":106,"satellites":37,"speed":43,"hex_longitude":"2d1a2240","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-08-23 17:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596705792001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15657492256129024,"note":"Value kept but may cause issues"} 
[2026-08-23 17:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872934525634015232,"note":"Value kept but may cause issues"} 
[2026-08-23 17:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787487141000,"timestamp_ms":1787487141000,"timestamp_seconds":1787487141,"priority":1,"record_length":96,"hex_timestamp":"000001a02e893c88"} 
[2026-08-23 17:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:43: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-08-23 17:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-23 17:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596705792001,"66":14113,"101":206,"83":41984,"24":43,"16":15657492256129024,"45":1872934525634015232},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 17:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596705792001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:43:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 17:43:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15657492256129024,"km_value":15657492256129.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872934525634015232,"description":"Unknown IO ID 45"} 
[2026-08-23 17:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596705792001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1872934525634015232}} 
[2026-08-23 17:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":161877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:43:39] local.INFO: GPS data processed {"connection_id":161877,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:43:39] local.INFO: Acknowledgment sent {"connection_id":161877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:43:39] local.INFO: TCP Data received {"connection_id":163282,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02e87cd58012d894b0005c452f8000c006e2c..."} 
[2026-08-23 17:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e87cd58012d894b0005c452f8000c006e2c..."} 
[2026-08-23 17:43:39] local.INFO: Processing buffer {"connection_id":163282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e87cd58012d894b0005c452f8000c006e2c..."} 
[2026-08-23 17:43:39] local.INFO: Packet analysis {"connection_id":163282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e87"} 
[2026-08-23 17:43:39] local.INFO: Extracted packet for processing {"connection_id":163282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e87"} 
[2026-08-23 17:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763972352,"raw_latitude":96752376,"longitude_deg":76.3972352,"latitude_deg":9.6752376,"altitude":12,"angle":110,"satellites":44,"speed":4,"hex_longitude":"2d894b00","hex_latitude":"05c452f8","is_valid_coordinates":true} 
[2026-08-23 17:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596678656001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122864587543412736,"note":"Value kept but may cause issues"} 
[2026-08-23 17:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8555924473560817664,"note":"Value kept but may cause issues"} 
[2026-08-23 17:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787487047000,"timestamp_ms":1787487047000,"timestamp_seconds":1787487047,"priority":1,"record_length":96,"hex_timestamp":"000001a02e87cd58"} 
[2026-08-23 17:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:43: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-08-23 17:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 17:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596678656001,"66":12809,"189":206,"85":12288,"24":4,"16":122864587543412736,"45":-8555924473560817664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596678656001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:43:39] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:43:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122864587543412736,"km_value":122864587543412.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8555924473560817664,"description":"Unknown IO ID 45"} 
[2026-08-23 17:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596678656001,"power":12809,"unknown_189":206,"unknown_85":12288,"ignition":4,"odometer":null,"unknown_45":-8555924473560817664}} 
[2026-08-23 17:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":163282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:43:39] local.INFO: GPS data processed {"connection_id":163282,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:43:39] local.INFO: Acknowledgment sent {"connection_id":163282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:43:50] local.INFO: TCP Data received {"connection_id":160931,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:43:50] local.INFO: Processing buffer {"connection_id":160931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:43:50] local.INFO: IMEI packet received {"connection_id":160931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":160931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:43:56] local.INFO: TCP Data received {"connection_id":160931,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:43:56] local.INFO: Processing buffer {"connection_id":160931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:43:56] local.INFO: IMEI packet received {"connection_id":160931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":160931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:43:57] local.INFO: TCP Data received {"connection_id":160931,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:43:57] local.INFO: Processing buffer {"connection_id":160931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:43:57] local.INFO: Packet analysis {"connection_id":160931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:43:57] local.INFO: Extracted packet for processing {"connection_id":160931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:43:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596640000001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787487176000,"timestamp_ms":1787487176000,"timestamp_seconds":1787487176,"priority":1,"record_length":96,"hex_timestamp":"000001a02e89c540"} 
[2026-08-23 17:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596640000001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596640000001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:43:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:43:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596640000001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":160931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:43:57] local.INFO: GPS data processed {"connection_id":160931,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:43:57] local.INFO: Acknowledgment sent {"connection_id":160931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:44:01] local.INFO: TCP Data received {"connection_id":160931,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:44:01] local.INFO: Processing buffer {"connection_id":160931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:44:01] local.INFO: Packet analysis {"connection_id":160931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:44:01] local.INFO: Extracted packet for processing {"connection_id":160931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:44:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596640000001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787487176000,"timestamp_ms":1787487176000,"timestamp_seconds":1787487176,"priority":1,"record_length":96,"hex_timestamp":"000001a02e89c540"} 
[2026-08-23 17:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596640000001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596640000001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:44:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:44:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596640000001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":160931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:44:01] local.INFO: GPS data processed {"connection_id":160931,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:44:01] local.INFO: Acknowledgment sent {"connection_id":160931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:44:11] local.INFO: TCP Data received {"connection_id":161877,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e895fb0012d1a4880071fe6f8002d006a25..."} 
[2026-08-23 17:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e895fb0012d1a4880071fe6f8002d006a25..."} 
[2026-08-23 17:44:11] local.INFO: Processing buffer {"connection_id":161877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e895fb0012d1a4880071fe6f8002d006a25..."} 
[2026-08-23 17:44:11] local.INFO: Packet analysis {"connection_id":161877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:44:11] local.INFO: Extracted packet for processing {"connection_id":161877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:44:11] local.INFO: GPS Element Parsed {"raw_longitude":756697216,"raw_latitude":119531256,"longitude_deg":75.6697216,"latitude_deg":11.9531256,"altitude":45,"angle":106,"satellites":37,"speed":42,"hex_longitude":"2d1a4880","hex_latitude":"071fe6f8","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596708096001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15657973292466176,"note":"Value kept but may cause issues"} 
[2026-08-23 17:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883137993539090432,"note":"Value kept but may cause issues"} 
[2026-08-23 17:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787487150000,"timestamp_ms":1787487150000,"timestamp_seconds":1787487150,"priority":1,"record_length":96,"hex_timestamp":"000001a02e895fb0"} 
[2026-08-23 17:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:44: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-08-23 17: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-23 17:44:11] 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-08-23 17: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-08-23 17:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596708096001,"66":13504,"101":206,"83":41984,"24":42,"16":15657973292466176,"45":1883137993539090432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 17:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596708096001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:44:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 17:44:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15657973292466176,"km_value":15657973292466.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883137993539090432,"description":"Unknown IO ID 45"} 
[2026-08-23 17:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596708096001,"power":13504,"unknown_101":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1883137993539090432}} 
[2026-08-23 17:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":161877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:44:11] local.INFO: GPS data processed {"connection_id":161877,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:44:11] local.INFO: Acknowledgment sent {"connection_id":161877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:44:14] local.INFO: TCP Data received {"connection_id":161878,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:44:14] local.INFO: Processing buffer {"connection_id":161878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:44:14] local.INFO: IMEI packet received {"connection_id":161878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":161878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:44:30] local.INFO: TCP Data received {"connection_id":160688,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:44:30] local.INFO: Processing buffer {"connection_id":160688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:44:30] local.INFO: IMEI packet received {"connection_id":160688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":160688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:44:33] local.INFO: TCP Data received {"connection_id":160688,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:44:33] local.INFO: Processing buffer {"connection_id":160688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:44:33] local.INFO: IMEI packet received {"connection_id":160688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":160688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:44:34] local.INFO: TCP Data received {"connection_id":160688,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:44:34] local.INFO: Processing buffer {"connection_id":160688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:44:34] local.INFO: IMEI packet received {"connection_id":160688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":160688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:44:34] local.INFO: TCP Data received {"connection_id":160688,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:44:34] local.INFO: Processing buffer {"connection_id":160688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:44:34] local.INFO: IMEI packet received {"connection_id":160688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":160688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:44:39] local.INFO: TCP Data received {"connection_id":160932,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:44:39] local.INFO: Processing buffer {"connection_id":160932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:44:39] local.INFO: IMEI packet received {"connection_id":160932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":160932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:44:44] local.INFO: TCP Data received {"connection_id":160932,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:44:44] local.INFO: Processing buffer {"connection_id":160932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:44:44] local.INFO: IMEI packet received {"connection_id":160932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":160932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:44:44] local.INFO: TCP Data received {"connection_id":160932,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02e881f60012d8951c005c450a0000d006e2c..."} 
[2026-08-23 17:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e881f60012d8951c005c450a0000d006e2c..."} 
[2026-08-23 17:44:44] local.INFO: Processing buffer {"connection_id":160932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e881f60012d8951c005c450a0000d006e2c..."} 
[2026-08-23 17:44:44] local.INFO: Packet analysis {"connection_id":160932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e88"} 
[2026-08-23 17:44:44] local.INFO: Extracted packet for processing {"connection_id":160932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e88"} 
[2026-08-23 17:44:44] local.INFO: GPS Element Parsed {"raw_longitude":763974080,"raw_latitude":96751776,"longitude_deg":76.397408,"latitude_deg":9.6751776,"altitude":13,"angle":110,"satellites":44,"speed":0,"hex_longitude":"2d8951c0","hex_latitude":"05c450a0","is_valid_coordinates":true} 
[2026-08-23 17:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596684032001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122864677737725952,"note":"Value kept but may cause issues"} 
[2026-08-23 17:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8553743042491516928,"note":"Value kept but may cause issues"} 
[2026-08-23 17:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787487068000,"timestamp_ms":1787487068000,"timestamp_seconds":1787487068,"priority":1,"record_length":96,"hex_timestamp":"000001a02e881f60"} 
[2026-08-23 17:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-23 17:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-08-23 17:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2301476869,"note":"Value kept but may cause issues"} 
[2026-08-23 17:44:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 17:44:44] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-8822797955564497024,"note":"Value kept but may cause issues"} 
[2026-08-23 17:44:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2814181582,"corrected_to":0} 
[2026-08-23 17:44:44] local.WARNING: Large IO value detected {"io_id":50,"raw_value":648743746225098240,"note":"Value kept but may cause issues"} 
[2026-08-23 17:44:44] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2152071168,"note":"Value kept but may cause issues"} 
[2026-08-23 17:44:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-4294965096792167893,"note":"Value kept but may cause issues"} 
[2026-08-23 17:44:44] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,189,85,24,241,157,16,128,160,123,45,64,86,12,44,10,66,41,192,89,11,43,215,1,240,227,46,196,4,113,205,6,51,40,239,50,2,180,5,49],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2814181582,"validated":0}]} 
[2026-08-23 17:44:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864812263713013760,"timestamp_seconds":864812263713013.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 17:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596684032001,"66":13102,"189":206,"85":12288,"24":0,"16":122864677737725952,"45":-8553743042491516928},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596684032001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:44:44] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:44:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122864677737725952,"km_value":122864677737725.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8553743042491516928,"description":"Unknown IO ID 45"} 
[2026-08-23 17:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596684032001,"power":13102,"unknown_189":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8553743042491516928}} 
[2026-08-23 17:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":160932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:44:44] local.INFO: GPS data processed {"connection_id":160932,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:44:44] local.INFO: Acknowledgment sent {"connection_id":160932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:44:46] local.INFO: TCP Data received {"connection_id":160689,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:44:46] local.INFO: Processing buffer {"connection_id":160689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:44:46] local.INFO: IMEI packet received {"connection_id":160689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":160689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:44:53] local.INFO: TCP Data received {"connection_id":160689,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:44:53] local.INFO: Processing buffer {"connection_id":160689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:44:53] local.INFO: IMEI packet received {"connection_id":160689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":160689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:44:54] local.INFO: TCP Data received {"connection_id":160689,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:44:54] local.INFO: Processing buffer {"connection_id":160689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:44:54] local.INFO: Packet analysis {"connection_id":160689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:44:54] local.INFO: Extracted packet for processing {"connection_id":160689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:44:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596640000001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787487176000,"timestamp_ms":1787487176000,"timestamp_seconds":1787487176,"priority":1,"record_length":96,"hex_timestamp":"000001a02e89c540"} 
[2026-08-23 17:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:44:54] 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-08-23 17:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596640000001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596640000001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:44:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:44:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596640000001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":160689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:44:54] local.INFO: GPS data processed {"connection_id":160689,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:44:54] local.INFO: Acknowledgment sent {"connection_id":160689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:45:16] local.INFO: TCP Data received {"connection_id":160932,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02e887168012d89594005c44e10000c006e2c..."} 
[2026-08-23 17:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e887168012d89594005c44e10000c006e2c..."} 
[2026-08-23 17:45:16] local.INFO: Processing buffer {"connection_id":160932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e887168012d89594005c44e10000c006e2c..."} 
[2026-08-23 17:45:16] local.INFO: Packet analysis {"connection_id":160932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e88"} 
[2026-08-23 17:45:16] local.INFO: Extracted packet for processing {"connection_id":160932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e88"} 
[2026-08-23 17:45:16] local.INFO: GPS Element Parsed {"raw_longitude":763976000,"raw_latitude":96751120,"longitude_deg":76.3976,"latitude_deg":9.675112,"altitude":12,"angle":110,"satellites":44,"speed":5,"hex_longitude":"2d895940","hex_latitude":"05c44e10","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596689408001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122864776521973760,"note":"Value kept but may cause issues"} 
[2026-08-23 17:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8551843086398873600,"note":"Value kept but may cause issues"} 
[2026-08-23 17:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787487089000,"timestamp_ms":1787487089000,"timestamp_seconds":1787487089,"priority":1,"record_length":96,"hex_timestamp":"000001a02e887168"} 
[2026-08-23 17:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:45: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-08-23 17: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-23 17:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596689408001,"66":13276,"189":206,"85":12288,"24":5,"16":122864776521973760,"45":-8551843086398873600},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596689408001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:45:16] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:45:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122864776521973760,"km_value":122864776521973.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8551843086398873600,"description":"Unknown IO ID 45"} 
[2026-08-23 17:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596689408001,"power":13276,"unknown_189":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":-8551843086398873600}} 
[2026-08-23 17:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":160932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:45:16] local.INFO: GPS data processed {"connection_id":160932,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:45:16] local.INFO: Acknowledgment sent {"connection_id":160932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:45:25] local.INFO: TCP Data received {"connection_id":160689,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:45:25] local.INFO: Processing buffer {"connection_id":160689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:45:25] local.INFO: Packet analysis {"connection_id":160689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:45:25] local.INFO: Extracted packet for processing {"connection_id":160689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:45:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596640000001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787487176000,"timestamp_ms":1787487176000,"timestamp_seconds":1787487176,"priority":1,"record_length":96,"hex_timestamp":"000001a02e89c540"} 
[2026-08-23 17:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596640000001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596640000001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:45:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:45:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596640000001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":160689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:45:25] local.INFO: GPS data processed {"connection_id":160689,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:45:25] local.INFO: Acknowledgment sent {"connection_id":160689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:45:39] local.INFO: TCP Data received {"connection_id":161879,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:45:39] local.INFO: Processing buffer {"connection_id":161879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:45:39] local.INFO: IMEI packet received {"connection_id":161879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":161879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:45:44] local.INFO: TCP Data received {"connection_id":161879,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:45:44] local.INFO: Processing buffer {"connection_id":161879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:45:44] local.INFO: IMEI packet received {"connection_id":161879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":161879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:45:46] local.INFO: TCP Data received {"connection_id":161880,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:45:46] local.INFO: Processing buffer {"connection_id":161880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:45:46] local.INFO: IMEI packet received {"connection_id":161880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":161880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:45:47] local.INFO: TCP Data received {"connection_id":161879,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e88c370012d8978c005c44360000d006c2c..."} 
[2026-08-23 17:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e88c370012d8978c005c44360000d006c2c..."} 
[2026-08-23 17:45:47] local.INFO: Processing buffer {"connection_id":161879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e88c370012d8978c005c44360000d006c2c..."} 
[2026-08-23 17:45:47] local.INFO: Packet analysis {"connection_id":161879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e88"} 
[2026-08-23 17:45:47] local.INFO: Extracted packet for processing {"connection_id":161879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e88"} 
[2026-08-23 17:45:47] local.INFO: GPS Element Parsed {"raw_longitude":763984064,"raw_latitude":96748384,"longitude_deg":76.3984064,"latitude_deg":9.6748384,"altitude":13,"angle":108,"satellites":44,"speed":23,"hex_longitude":"2d8978c0","hex_latitude":"05c44360","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596694784001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122865184543866880,"note":"Value kept but may cause issues"} 
[2026-08-23 17:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8549732024073711616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787487110000,"timestamp_ms":1787487110000,"timestamp_seconds":1787487110,"priority":1,"record_length":96,"hex_timestamp":"000001a02e88c370"} 
[2026-08-23 17:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 17:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596694784001,"66":13254,"189":206,"85":12288,"24":23,"16":122865184543866880,"45":-8549732024073711616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596694784001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:45:47] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:45:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122865184543866880,"km_value":122865184543866.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8549732024073711616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596694784001,"power":13254,"unknown_189":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":-8549732024073711616}} 
[2026-08-23 17:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":161879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:45:47] local.INFO: GPS data processed {"connection_id":161879,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:45:47] local.INFO: Acknowledgment sent {"connection_id":161879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:45:50] local.INFO: TCP Data received {"connection_id":161880,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:45:50] local.INFO: Processing buffer {"connection_id":161880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:45:50] local.INFO: IMEI packet received {"connection_id":161880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":161880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:45:51] local.INFO: TCP Data received {"connection_id":161880,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:45:51] local.INFO: Processing buffer {"connection_id":161880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:45:51] local.INFO: Packet analysis {"connection_id":161880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:45:51] local.INFO: Extracted packet for processing {"connection_id":161880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:45:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596640000001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787487176000,"timestamp_ms":1787487176000,"timestamp_seconds":1787487176,"priority":1,"record_length":96,"hex_timestamp":"000001a02e89c540"} 
[2026-08-23 17:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:45:51] 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-08-23 17:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596640000001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596640000001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:45:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:45:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596640000001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":161880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:45:51] local.INFO: GPS data processed {"connection_id":161880,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:45:51] local.INFO: Acknowledgment sent {"connection_id":161880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:46:23] local.INFO: TCP Data received {"connection_id":161880,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:46:23] local.INFO: Processing buffer {"connection_id":161880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:46:23] local.INFO: Packet analysis {"connection_id":161880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:46:23] local.INFO: Extracted packet for processing {"connection_id":161880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:46:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596640000001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787487176000,"timestamp_ms":1787487176000,"timestamp_seconds":1787487176,"priority":1,"record_length":96,"hex_timestamp":"000001a02e89c540"} 
[2026-08-23 17:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:46:23] 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-08-23 17:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596640000001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596640000001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:46:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:46:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596640000001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":161880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:46:23] local.INFO: GPS data processed {"connection_id":161880,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:46:23] local.INFO: Acknowledgment sent {"connection_id":161880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:46:39] local.INFO: TCP Data received {"connection_id":160690,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:46:39] local.INFO: Processing buffer {"connection_id":160690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:46:39] local.INFO: IMEI packet received {"connection_id":160690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":160690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:46:44] local.INFO: TCP Data received {"connection_id":160690,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:46:44] local.INFO: Processing buffer {"connection_id":160690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:46:44] local.INFO: IMEI packet received {"connection_id":160690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":160690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:46:45] local.INFO: TCP Data received {"connection_id":160690,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8c0760012d8a10c005c40b48000900672c..."} 
[2026-08-23 17:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8c0760012d8a10c005c40b48000900672c..."} 
[2026-08-23 17:46:45] local.INFO: Processing buffer {"connection_id":160690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8c0760012d8a10c005c40b48000900672c..."} 
[2026-08-23 17:46:45] local.INFO: Packet analysis {"connection_id":160690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8c"} 
[2026-08-23 17:46:45] local.INFO: Extracted packet for processing {"connection_id":160690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8c"} 
[2026-08-23 17:46:45] local.INFO: GPS Element Parsed {"raw_longitude":764022976,"raw_latitude":96734024,"longitude_deg":76.4022976,"latitude_deg":9.6734024,"altitude":9,"angle":103,"satellites":44,"speed":3,"hex_longitude":"2d8a10c0","hex_latitude":"05c40b48","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596749568001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122867181703659520,"note":"Value kept but may cause issues"} 
[2026-08-23 17:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8499910953200125952,"note":"Value kept but may cause issues"} 
[2026-08-23 17:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787487324000,"timestamp_ms":1787487324000,"timestamp_seconds":1787487324,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8c0760"} 
[2026-08-23 17:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:46: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-08-23 17: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 17:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596749568001,"66":12982,"189":206,"85":12288,"24":3,"16":122867181703659520,"45":-8499910953200125952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596749568001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:46:45] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:46:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122867181703659520,"km_value":122867181703659.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8499910953200125952,"description":"Unknown IO ID 45"} 
[2026-08-23 17:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596749568001,"power":12982,"unknown_189":206,"unknown_85":12288,"ignition":3,"odometer":null,"unknown_45":-8499910953200125952}} 
[2026-08-23 17:46:45] local.INFO: TCP Data received {"connection_id":161882,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:46:45] local.INFO: Processing buffer {"connection_id":161882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:46:45] local.INFO: IMEI packet received {"connection_id":161882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":161882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":160690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:46:45] local.INFO: GPS data processed {"connection_id":160690,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:46:45] local.INFO: Acknowledgment sent {"connection_id":160690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:46:50] local.INFO: TCP Data received {"connection_id":160690,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8c5968012d8a1a4005c407e0000a006a2a..."} 
[2026-08-23 17:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8c5968012d8a1a4005c407e0000a006a2a..."} 
[2026-08-23 17:46:50] local.INFO: Processing buffer {"connection_id":160690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8c5968012d8a1a4005c407e0000a006a2a..."} 
[2026-08-23 17:46:50] local.INFO: Packet analysis {"connection_id":160690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8c"} 
[2026-08-23 17:46:50] local.INFO: Extracted packet for processing {"connection_id":160690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8c"} 
[2026-08-23 17:46:50] local.INFO: GPS Element Parsed {"raw_longitude":764025408,"raw_latitude":96733152,"longitude_deg":76.4025408,"latitude_deg":9.6733152,"altitude":10,"angle":106,"satellites":42,"speed":6,"hex_longitude":"2d8a1a40","hex_latitude":"05c407e0","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596754944001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122867306257711104,"note":"Value kept but may cause issues"} 
[2026-08-23 17:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8498081365851682816,"note":"Value kept but may cause issues"} 
[2026-08-23 17:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787487345000,"timestamp_ms":1787487345000,"timestamp_seconds":1787487345,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8c5968"} 
[2026-08-23 17:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:46: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-08-23 17: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 17:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":160690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":160690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":160690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596754944001,"66":13254,"189":206,"85":12288,"24":6,"16":122867306257711104,"45":-8498081365851682816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596754944001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:46:50] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:46:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122867306257711104,"km_value":122867306257711.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8498081365851682816,"description":"Unknown IO ID 45"} 
[2026-08-23 17:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596754944001,"power":13254,"unknown_189":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":-8498081365851682816}} 
[2026-08-23 17:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":160690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:46:50] local.INFO: GPS data processed {"connection_id":160690,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:46:50] local.INFO: Acknowledgment sent {"connection_id":160690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:46:51] local.INFO: TCP Data received {"connection_id":161882,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:46:51] local.INFO: Processing buffer {"connection_id":161882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:46:51] local.INFO: IMEI packet received {"connection_id":161882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":161882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:46:53] local.INFO: TCP Data received {"connection_id":161882,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:46:53] local.INFO: Processing buffer {"connection_id":161882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:46:53] local.INFO: Packet analysis {"connection_id":161882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:46:53] local.INFO: Extracted packet for processing {"connection_id":161882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:46:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596640000001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787487176000,"timestamp_ms":1787487176000,"timestamp_seconds":1787487176,"priority":1,"record_length":96,"hex_timestamp":"000001a02e89c540"} 
[2026-08-23 17:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:46:53] 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-08-23 17:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596640000001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596640000001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:46:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:46:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596640000001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":161882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:46:53] local.INFO: GPS data processed {"connection_id":161882,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:46:53] local.INFO: Acknowledgment sent {"connection_id":161882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:47:24] local.INFO: TCP Data received {"connection_id":161882,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:47:24] local.INFO: Processing buffer {"connection_id":161882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:47:24] local.INFO: Packet analysis {"connection_id":161882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:47:24] local.INFO: Extracted packet for processing {"connection_id":161882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:47:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596640000001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787487176000,"timestamp_ms":1787487176000,"timestamp_seconds":1787487176,"priority":1,"record_length":96,"hex_timestamp":"000001a02e89c540"} 
[2026-08-23 17:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:47:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596640000001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596640000001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:47:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:47:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596640000001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":161882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:47:24] local.INFO: GPS data processed {"connection_id":161882,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:47:24] local.INFO: Acknowledgment sent {"connection_id":161882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:47:31] local.INFO: TCP Data received {"connection_id":160691,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:47:31] local.INFO: Processing buffer {"connection_id":160691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:47:31] local.INFO: IMEI packet received {"connection_id":160691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":160691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:47:34] local.INFO: TCP Data received {"connection_id":160691,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:47:34] local.INFO: Processing buffer {"connection_id":160691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:47:34] local.INFO: IMEI packet received {"connection_id":160691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":160691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:47:39] local.INFO: TCP Data received {"connection_id":160691,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:47:39] local.INFO: Processing buffer {"connection_id":160691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:47:39] local.INFO: IMEI packet received {"connection_id":160691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":160691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:47:40] local.INFO: TCP Data received {"connection_id":160691,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8cab70012d8a2c4005c40118000b00722c..."} 
[2026-08-23 17:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8cab70012d8a2c4005c40118000b00722c..."} 
[2026-08-23 17:47:40] local.INFO: Processing buffer {"connection_id":160691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8cab70012d8a2c4005c40118000b00722c..."} 
[2026-08-23 17:47:40] local.INFO: Packet analysis {"connection_id":160691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8c"} 
[2026-08-23 17:47:40] local.INFO: Extracted packet for processing {"connection_id":160691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8c"} 
[2026-08-23 17:47:40] local.INFO: GPS Element Parsed {"raw_longitude":764030016,"raw_latitude":96731416,"longitude_deg":76.4030016,"latitude_deg":9.6731416,"altitude":11,"angle":114,"satellites":44,"speed":9,"hex_longitude":"2d8a2c40","hex_latitude":"05c40118","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596760320001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122867542480912384,"note":"Value kept but may cause issues"} 
[2026-08-23 17:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8495407353573154816,"note":"Value kept but may cause issues"} 
[2026-08-23 17:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787487366000,"timestamp_ms":1787487366000,"timestamp_seconds":1787487366,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8cab70"} 
[2026-08-23 17:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:47: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-08-23 17: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-23 17:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596760320001,"66":13298,"243":206,"85":12288,"24":9,"16":122867542480912384,"45":-8495407353573154816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,45]} 
[2026-08-23 17:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596760320001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:47:40] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-23 17:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122867542480912384,"km_value":122867542480912.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8495407353573154816,"description":"Unknown IO ID 45"} 
[2026-08-23 17:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596760320001,"power":13298,"unknown_243":206,"unknown_85":12288,"ignition":9,"odometer":null,"unknown_45":-8495407353573154816}} 
[2026-08-23 17:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":160691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688020,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:47:40] local.INFO: GPS data processed {"connection_id":160691,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:47:40] local.INFO: Acknowledgment sent {"connection_id":160691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:47:45] local.INFO: TCP Data received {"connection_id":163283,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:47:45] local.INFO: Processing buffer {"connection_id":163283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:47:45] local.INFO: IMEI packet received {"connection_id":163283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":163283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:47:50] local.INFO: TCP Data received {"connection_id":163283,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:47:50] local.INFO: Processing buffer {"connection_id":163283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:47:50] local.INFO: IMEI packet received {"connection_id":163283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":163283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:47:51] local.INFO: TCP Data received {"connection_id":163283,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:47:51] local.INFO: Processing buffer {"connection_id":163283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:47:51] local.INFO: Packet analysis {"connection_id":163283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:47:51] local.INFO: Extracted packet for processing {"connection_id":163283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:47:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596640000001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787487176000,"timestamp_ms":1787487176000,"timestamp_seconds":1787487176,"priority":1,"record_length":96,"hex_timestamp":"000001a02e89c540"} 
[2026-08-23 17:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596640000001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596640000001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:47:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:47:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596640000001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":163283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:47:51] local.INFO: GPS data processed {"connection_id":163283,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:47:51] local.INFO: Acknowledgment sent {"connection_id":163283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:48:16] local.INFO: TCP Data received {"connection_id":160691,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8cfd78012d8a420005c3f948000b006f2c..."} 
[2026-08-23 17:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8cfd78012d8a420005c3f948000b006f2c..."} 
[2026-08-23 17:48:16] local.INFO: Processing buffer {"connection_id":160691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8cfd78012d8a420005c3f948000b006f2c..."} 
[2026-08-23 17:48:16] local.INFO: Packet analysis {"connection_id":160691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8c"} 
[2026-08-23 17:48:16] local.INFO: Extracted packet for processing {"connection_id":160691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8c"} 
[2026-08-23 17:48:16] local.INFO: GPS Element Parsed {"raw_longitude":764035584,"raw_latitude":96729416,"longitude_deg":76.4035584,"latitude_deg":9.6729416,"altitude":11,"angle":111,"satellites":44,"speed":0,"hex_longitude":"2d8a4200","hex_latitude":"05c3f948","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596765696001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122867825948753920,"note":"Value kept but may cause issues"} 
[2026-08-23 17:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8490340803992807424,"note":"Value kept but may cause issues"} 
[2026-08-23 17:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787487387000,"timestamp_ms":1787487387000,"timestamp_seconds":1787487387,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8cfd78"} 
[2026-08-23 17:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:48: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-08-23 17: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-23 17:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596765696001,"66":13178,"243":206,"85":12288,"24":0,"16":122867825948753920,"45":-8490340803992807424},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,45]} 
[2026-08-23 17:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596765696001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:48:16] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-23 17:48:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122867825948753920,"km_value":122867825948753.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8490340803992807424,"description":"Unknown IO ID 45"} 
[2026-08-23 17:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596765696001,"power":13178,"unknown_243":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8490340803992807424}} 
[2026-08-23 17:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":160691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:48:16] local.INFO: GPS data processed {"connection_id":160691,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:48:16] local.INFO: Acknowledgment sent {"connection_id":160691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:48:23] local.INFO: TCP Data received {"connection_id":163283,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:48:23] local.INFO: Processing buffer {"connection_id":163283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e89c540012d34c58006aa4060002201141c..."} 
[2026-08-23 17:48:23] local.INFO: Packet analysis {"connection_id":163283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:48:23] local.INFO: Extracted packet for processing {"connection_id":163283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e89"} 
[2026-08-23 17:48:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596640000001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787487176000,"timestamp_ms":1787487176000,"timestamp_seconds":1787487176,"priority":1,"record_length":96,"hex_timestamp":"000001a02e89c540"} 
[2026-08-23 17:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:48:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:48:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596640000001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596640000001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:48:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:48:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596640000001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":163283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:48:23] local.INFO: GPS data processed {"connection_id":163283,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:48:23] local.INFO: Acknowledgment sent {"connection_id":163283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:48:45] local.INFO: TCP Data received {"connection_id":160936,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:48:45] local.INFO: Processing buffer {"connection_id":160936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:48:45] local.INFO: IMEI packet received {"connection_id":160936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":160936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:48:49] local.INFO: TCP Data received {"connection_id":160937,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:48:49] local.INFO: Processing buffer {"connection_id":160937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:48:49] local.INFO: IMEI packet received {"connection_id":160937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":160937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:48:51] local.INFO: TCP Data received {"connection_id":160936,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:48:51] local.INFO: Processing buffer {"connection_id":160936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:48:51] local.INFO: IMEI packet received {"connection_id":160936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":160936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:48:52] local.INFO: TCP Data received {"connection_id":160936,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:48:52] local.INFO: Processing buffer {"connection_id":160936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:48:52] local.INFO: Packet analysis {"connection_id":160936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:48:52] local.INFO: Extracted packet for processing {"connection_id":160936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:48:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":25,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596717056001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787487477000,"timestamp_ms":1787487477000,"timestamp_seconds":1787487477,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8e5d08"} 
[2026-08-23 17:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:48:52] 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-08-23 17:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596717056001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596717056001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:48:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:48:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596717056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":160936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:48:52] local.INFO: GPS data processed {"connection_id":160936,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:48:52] local.INFO: Acknowledgment sent {"connection_id":160936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:48:57] local.INFO: TCP Data received {"connection_id":160937,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:48:57] local.INFO: Processing buffer {"connection_id":160937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:48:57] local.INFO: IMEI packet received {"connection_id":160937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":160937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:49:02] local.INFO: TCP Data received {"connection_id":160937,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8d4f80012d8a484005c3f6d0000a006c2c..."} 
[2026-08-23 17:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8d4f80012d8a484005c3f6d0000a006c2c..."} 
[2026-08-23 17:49:02] local.INFO: Processing buffer {"connection_id":160937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8d4f80012d8a484005c3f6d0000a006c2c..."} 
[2026-08-23 17:49:02] local.INFO: Packet analysis {"connection_id":160937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8d"} 
[2026-08-23 17:49:02] local.INFO: Extracted packet for processing {"connection_id":160937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8d"} 
[2026-08-23 17:49:02] local.INFO: GPS Element Parsed {"raw_longitude":764037184,"raw_latitude":96728784,"longitude_deg":76.4037184,"latitude_deg":9.6728784,"altitude":10,"angle":108,"satellites":44,"speed":7,"hex_longitude":"2d8a4840","hex_latitude":"05c3f6d0","is_valid_coordinates":true} 
[2026-08-23 17:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596771072001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122867907553132544,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8484218723249862656,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787487408000,"timestamp_ms":1787487408000,"timestamp_seconds":1787487408,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8d4f80"} 
[2026-08-23 17:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-23 17:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596771072001,"66":13243,"189":206,"85":12288,"24":7,"16":122867907553132544,"45":-8484218723249862656},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596771072001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:49:02] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:49:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122867907553132544,"km_value":122867907553132.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8484218723249862656,"description":"Unknown IO ID 45"} 
[2026-08-23 17:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596771072001,"power":13243,"unknown_189":206,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":-8484218723249862656}} 
[2026-08-23 17:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":160937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:49:02] local.INFO: GPS data processed {"connection_id":160937,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:49:02] local.INFO: Acknowledgment sent {"connection_id":160937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:49:24] local.INFO: TCP Data received {"connection_id":160936,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:49:24] local.INFO: Processing buffer {"connection_id":160936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:49:24] local.INFO: Packet analysis {"connection_id":160936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:49:24] local.INFO: Extracted packet for processing {"connection_id":160936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:49:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":25,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:49: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-08-23 17:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596717056001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787487477000,"timestamp_ms":1787487477000,"timestamp_seconds":1787487477,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8e5d08"} 
[2026-08-23 17:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:49:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:49: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-08-23 17:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:49:24] 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-08-23 17:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596717056001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596717056001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:49:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:49:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596717056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":160936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:49:24] local.INFO: GPS data processed {"connection_id":160936,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:49:24] local.INFO: Acknowledgment sent {"connection_id":160936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:49:35] local.INFO: TCP Data received {"connection_id":161883,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:49:35] local.INFO: Processing buffer {"connection_id":161883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:49:35] local.INFO: IMEI packet received {"connection_id":161883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":161883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:49:36] local.INFO: TCP Data received {"connection_id":161883,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8e8800012d1927000720bcf00032012126..."} 
[2026-08-23 17:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8e8800012d1927000720bcf00032012126..."} 
[2026-08-23 17:49:36] local.INFO: Processing buffer {"connection_id":161883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8e8800012d1927000720bcf00032012126..."} 
[2026-08-23 17:49:36] local.INFO: Packet analysis {"connection_id":161883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:49:36] local.INFO: Extracted packet for processing {"connection_id":161883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756623104,"raw_latitude":119586032,"longitude_deg":75.6623104,"latitude_deg":11.9586032,"altitude":50,"angle":289,"satellites":38,"speed":37,"hex_longitude":"2d192700","hex_latitude":"0720bcf0","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596795136001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15666571816992768,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855140823040,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787487488000,"timestamp_ms":1787487488000,"timestamp_seconds":1787487488,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8e8800"} 
[2026-08-23 17:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-23 17:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:36] local.WARNING: Large IO value detected {"io_id":167,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:36] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2384877569,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:36] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2919235642,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-23 17:49:36] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2147950770,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:36] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2810839040,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:36] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,103,83,24,241,157,16,168,160,93,45,172,54,39,10,66,81,128,170,56,53,1,240,60,227,167,46,32,4,113,205,28,3,135,176,38,239,2,55,7],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-23 17:49:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675268416440238080,"timestamp_seconds":3675268416440238.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 17:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596795136001,"66":14048,"103":206,"83":41984,"24":37,"16":15666571816992768,"45":1818609855140823040},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 17:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596795136001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:49:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 17:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15666571816992768,"km_value":15666571816992.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855140823040,"description":"Unknown IO ID 45"} 
[2026-08-23 17:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596795136001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1818609855140823040}} 
[2026-08-23 17:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":161883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:49:36] local.INFO: GPS data processed {"connection_id":161883,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:49:36] local.INFO: Acknowledgment sent {"connection_id":161883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:49:39] local.INFO: TCP Data received {"connection_id":160938,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:49:39] local.INFO: Processing buffer {"connection_id":160938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:49:39] local.INFO: IMEI packet received {"connection_id":160938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":160938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:49:44] local.INFO: TCP Data received {"connection_id":160938,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:49:44] local.INFO: Processing buffer {"connection_id":160938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:49:44] local.INFO: IMEI packet received {"connection_id":160938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":160938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:49:45] local.INFO: TCP Data received {"connection_id":160938,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8da188012d8a558005c3f228000a006e2c..."} 
[2026-08-23 17:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8da188012d8a558005c3f228000a006e2c..."} 
[2026-08-23 17:49:45] local.INFO: Processing buffer {"connection_id":160938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8da188012d8a558005c3f228000a006e2c..."} 
[2026-08-23 17:49:45] local.INFO: Packet analysis {"connection_id":160938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8d"} 
[2026-08-23 17:49:45] local.INFO: Extracted packet for processing {"connection_id":160938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8d"} 
[2026-08-23 17:49:45] local.INFO: GPS Element Parsed {"raw_longitude":764040576,"raw_latitude":96727592,"longitude_deg":76.4040576,"latitude_deg":9.6727592,"altitude":10,"angle":110,"satellites":44,"speed":2,"hex_longitude":"2d8a5580","hex_latitude":"05c3f228","is_valid_coordinates":true} 
[2026-08-23 17:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596776448001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122868083646791680,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8482459504645582848,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787487429000,"timestamp_ms":1787487429000,"timestamp_seconds":1787487429,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8da188"} 
[2026-08-23 17:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-23 17:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596776448001,"66":13428,"189":206,"85":12288,"24":2,"16":122868083646791680,"45":-8482459504645582848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-23 17:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596776448001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:49:45] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-23 17:49:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122868083646791680,"km_value":122868083646791.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8482459504645582848,"description":"Unknown IO ID 45"} 
[2026-08-23 17:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596776448001,"power":13428,"unknown_189":206,"unknown_85":12288,"ignition":2,"odometer":null,"unknown_45":-8482459504645582848}} 
[2026-08-23 17:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":160938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:49:45] local.INFO: GPS data processed {"connection_id":160938,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:49:45] local.INFO: Acknowledgment sent {"connection_id":160938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:49:46] local.INFO: TCP Data received {"connection_id":163284,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:49:46] local.INFO: Processing buffer {"connection_id":163284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:49:46] local.INFO: IMEI packet received {"connection_id":163284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":163284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:49:50] local.INFO: TCP Data received {"connection_id":163284,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:49:50] local.INFO: Processing buffer {"connection_id":163284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:49:50] local.INFO: IMEI packet received {"connection_id":163284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":163284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:49:51] local.INFO: TCP Data received {"connection_id":163284,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:49:51] local.INFO: Processing buffer {"connection_id":163284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:49:51] local.INFO: Packet analysis {"connection_id":163284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:49:51] local.INFO: Extracted packet for processing {"connection_id":163284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:49:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":25,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596717056001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787487477000,"timestamp_ms":1787487477000,"timestamp_seconds":1787487477,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8e5d08"} 
[2026-08-23 17:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596717056001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596717056001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:49:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:49:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596717056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":163284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:49:51] local.INFO: GPS data processed {"connection_id":163284,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:49:51] local.INFO: Acknowledgment sent {"connection_id":163284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:50:07] local.INFO: TCP Data received {"connection_id":161883,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8f7e18012d18d9000720fcb0003e006b26..."} 
[2026-08-23 17:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8f7e18012d18d9000720fcb0003e006b26..."} 
[2026-08-23 17:50:07] local.INFO: Processing buffer {"connection_id":161883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8f7e18012d18d9000720fcb0003e006b26..."} 
[2026-08-23 17:50:07] local.INFO: Packet analysis {"connection_id":161883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8f"} 
[2026-08-23 17:50:07] local.INFO: Extracted packet for processing {"connection_id":161883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8f"} 
[2026-08-23 17:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756603136,"raw_latitude":119602352,"longitude_deg":75.6603136,"latitude_deg":11.9602352,"altitude":62,"angle":107,"satellites":38,"speed":5,"hex_longitude":"2d18d900","hex_latitude":"0720fcb0","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596812800001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15667881782018048,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790391988730523648,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787487551000,"timestamp_ms":1787487551000,"timestamp_seconds":1787487551,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8f7e18"} 
[2026-08-23 17:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:50: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-08-23 17: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-23 17:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596812800001,"66":14070,"103":206,"83":41984,"24":5,"16":15667881782018048,"45":1790391988730523648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 17:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596812800001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:50:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 17:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15667881782018048,"km_value":15667881782018.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790391988730523648,"description":"Unknown IO ID 45"} 
[2026-08-23 17:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596812800001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1790391988730523648}} 
[2026-08-23 17:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":161883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:50:07] local.INFO: GPS data processed {"connection_id":161883,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:50:07] local.INFO: Acknowledgment sent {"connection_id":161883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:50:16] local.INFO: TCP Data received {"connection_id":160938,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8df390012d8a5f8005c3ee90000b006f2c..."} 
[2026-08-23 17:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8df390012d8a5f8005c3ee90000b006f2c..."} 
[2026-08-23 17:50:16] local.INFO: Processing buffer {"connection_id":160938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8df390012d8a5f8005c3ee90000b006f2c..."} 
[2026-08-23 17:50:16] local.INFO: Packet analysis {"connection_id":160938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8d"} 
[2026-08-23 17:50:16] local.INFO: Extracted packet for processing {"connection_id":160938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8d"} 
[2026-08-23 17:50:16] local.INFO: GPS Element Parsed {"raw_longitude":764043136,"raw_latitude":96726672,"longitude_deg":76.4043136,"latitude_deg":9.6726672,"altitude":11,"angle":111,"satellites":44,"speed":0,"hex_longitude":"2d8a5f80","hex_latitude":"05c3ee90","is_valid_coordinates":true} 
[2026-08-23 17:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596781824001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122868212495810560,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8478729961204471808,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787487450000,"timestamp_ms":1787487450000,"timestamp_seconds":1787487450,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8df390"} 
[2026-08-23 17:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-23 17:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596781824001,"66":12972,"83":206,"85":12288,"24":0,"16":122868212495810560,"45":-8478729961204471808},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-08-23 17:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596781824001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:50:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-23 17:50:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122868212495810560,"km_value":122868212495810.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8478729961204471808,"description":"Unknown IO ID 45"} 
[2026-08-23 17:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596781824001,"power":12972,"unknown_83":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8478729961204471808}} 
[2026-08-23 17:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":160938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:50:16] local.INFO: GPS data processed {"connection_id":160938,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:50:16] local.INFO: Acknowledgment sent {"connection_id":160938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:50:31] local.INFO: TCP Data received {"connection_id":163285,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:50:31] local.INFO: Processing buffer {"connection_id":163285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:50:31] local.INFO: IMEI packet received {"connection_id":163285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":163285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:50:34] local.INFO: TCP Data received {"connection_id":160692,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:50:34] local.INFO: Processing buffer {"connection_id":160692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:50:34] local.INFO: IMEI packet received {"connection_id":160692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":160692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:50:34] local.INFO: TCP Data received {"connection_id":163285,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:50:34] local.INFO: Processing buffer {"connection_id":163285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:50:34] local.INFO: IMEI packet received {"connection_id":163285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":163285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:50:36] local.INFO: TCP Data received {"connection_id":163285,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:50:36] local.INFO: Processing buffer {"connection_id":163285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:50:36] local.INFO: IMEI packet received {"connection_id":163285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":163285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:50:37] local.INFO: TCP Data received {"connection_id":163285,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8f8200012d18d9c00720fc68003e008827..."} 
[2026-08-23 17:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8f8200012d18d9c00720fc68003e008827..."} 
[2026-08-23 17:50:37] local.INFO: Processing buffer {"connection_id":163285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8f8200012d18d9c00720fc68003e008827..."} 
[2026-08-23 17:50:37] local.INFO: Packet analysis {"connection_id":163285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8f"} 
[2026-08-23 17:50:37] local.INFO: Extracted packet for processing {"connection_id":163285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8f"} 
[2026-08-23 17:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756603328,"raw_latitude":119602280,"longitude_deg":75.6603328,"latitude_deg":11.960228,"altitude":62,"angle":136,"satellites":39,"speed":8,"hex_longitude":"2d18d9c0","hex_latitude":"0720fc68","is_valid_coordinates":true} 
[2026-08-23 17:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596813056001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15667890371952640,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790462357474684928,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787487552000,"timestamp_ms":1787487552000,"timestamp_seconds":1787487552,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8f8200"} 
[2026-08-23 17:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-23 17:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596813056001,"66":13972,"103":206,"83":41984,"24":8,"16":15667890371952640,"45":1790462357474684928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 17:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596813056001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:50:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 17:50:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15667890371952640,"km_value":15667890371952.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790462357474684928,"description":"Unknown IO ID 45"} 
[2026-08-23 17:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596813056001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1790462357474684928}} 
[2026-08-23 17:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":163285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:50:37] local.INFO: GPS data processed {"connection_id":163285,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:50:37] local.INFO: Acknowledgment sent {"connection_id":163285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:50:39] local.INFO: TCP Data received {"connection_id":160692,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:50:39] local.INFO: Processing buffer {"connection_id":160692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:50:39] local.INFO: IMEI packet received {"connection_id":160692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":160692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:50:39] local.INFO: TCP Data received {"connection_id":163285,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8fa910012d18e6400720ef18003e009327..."} 
[2026-08-23 17:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8fa910012d18e6400720ef18003e009327..."} 
[2026-08-23 17:50:39] local.INFO: Processing buffer {"connection_id":163285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8fa910012d18e6400720ef18003e009327..."} 
[2026-08-23 17:50:39] local.INFO: Packet analysis {"connection_id":163285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8f"} 
[2026-08-23 17:50:39] local.INFO: Extracted packet for processing {"connection_id":163285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8f"} 
[2026-08-23 17:50:39] local.INFO: GPS Element Parsed {"raw_longitude":756606528,"raw_latitude":119598872,"longitude_deg":75.6606528,"latitude_deg":11.9598872,"altitude":62,"angle":147,"satellites":39,"speed":29,"hex_longitude":"2d18e640","hex_latitude":"0720ef18","is_valid_coordinates":true} 
[2026-08-23 17:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596813312001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15668118005219328,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790673463707199488,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787487562000,"timestamp_ms":1787487562000,"timestamp_seconds":1787487562,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8fa910"} 
[2026-08-23 17:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:50: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-08-23 17:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-23 17:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596813312001,"66":14004,"103":206,"83":41984,"24":29,"16":15668118005219328,"45":1790673463707199488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 17:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596813312001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:50:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 17:50:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15668118005219328,"km_value":15668118005219.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790673463707199488,"description":"Unknown IO ID 45"} 
[2026-08-23 17:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596813312001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1790673463707199488}} 
[2026-08-23 17:50:39] local.INFO: TCP Data received {"connection_id":160692,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8e3dc8012d8a694005c3eb58000d00632c..."} 
[2026-08-23 17:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8e3dc8012d8a694005c3eb58000d00632c..."} 
[2026-08-23 17:50:39] local.INFO: Processing buffer {"connection_id":160692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8e3dc8012d8a694005c3eb58000d00632c..."} 
[2026-08-23 17:50:39] local.INFO: Packet analysis {"connection_id":160692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:50:39] local.INFO: Extracted packet for processing {"connection_id":160692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:50:39] local.INFO: GPS Element Parsed {"raw_longitude":764045632,"raw_latitude":96725848,"longitude_deg":76.4045632,"latitude_deg":9.6725848,"altitude":13,"angle":99,"satellites":44,"speed":5,"hex_longitude":"2d8a6940","hex_latitude":"05c3eb58","is_valid_coordinates":true} 
[2026-08-23 17:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596787200001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122868341344829440,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8475915211437600768,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787487469000,"timestamp_ms":1787487469000,"timestamp_seconds":1787487469,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8e3dc8"} 
[2026-08-23 17:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:50: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-08-23 17:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 17:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596787200001,"66":13276,"83":206,"85":12288,"24":5,"16":122868341344829440,"45":-8475915211437600768},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-08-23 17:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596787200001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:50:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-23 17:50:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-23 17:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122868341344829440,"km_value":122868341344829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8475915211437600768,"description":"Unknown IO ID 45"} 
[2026-08-23 17:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596787200001,"power":13276,"unknown_83":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":-8475915211437600768}} 
[2026-08-23 17:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":163285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:50:40] local.INFO: GPS data processed {"connection_id":163285,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:50:40] local.INFO: Acknowledgment sent {"connection_id":163285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":160692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:50:40] local.INFO: GPS data processed {"connection_id":160692,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:50:40] local.INFO: Acknowledgment sent {"connection_id":160692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:50:44] local.INFO: TCP Data received {"connection_id":163284,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:50:44] local.INFO: Processing buffer {"connection_id":163284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:50:44] local.INFO: Packet analysis {"connection_id":163284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:50:44] local.INFO: Extracted packet for processing {"connection_id":163284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:50:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":25,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596717056001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787487477000,"timestamp_ms":1787487477000,"timestamp_seconds":1787487477,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8e5d08"} 
[2026-08-23 17:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:50: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-08-23 17:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596717056001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596717056001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:50:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:50:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596717056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":163284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:50:44] local.INFO: GPS data processed {"connection_id":163284,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:50:44] local.INFO: Acknowledgment sent {"connection_id":163284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:50:45] local.INFO: TCP Data received {"connection_id":163285,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8fc850012d18f5800720d868003d008625..."} 
[2026-08-23 17:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8fc850012d18f5800720d868003d008625..."} 
[2026-08-23 17:50:45] local.INFO: Processing buffer {"connection_id":163285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8fc850012d18f5800720d868003d008625..."} 
[2026-08-23 17:50:45] local.INFO: Packet analysis {"connection_id":163285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8f"} 
[2026-08-23 17:50:45] local.INFO: Extracted packet for processing {"connection_id":163285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8f"} 
[2026-08-23 17:50:45] local.INFO: GPS Element Parsed {"raw_longitude":756610432,"raw_latitude":119593064,"longitude_deg":75.6610432,"latitude_deg":11.9593064,"altitude":61,"angle":134,"satellites":37,"speed":36,"hex_longitude":"2d18f580","hex_latitude":"0720d868","is_valid_coordinates":true} 
[2026-08-23 17:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596815872001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15668457307635712,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794191900915210240,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787487570000,"timestamp_ms":1787487570000,"timestamp_seconds":1787487570,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8fc850"} 
[2026-08-23 17:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:50: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-08-23 17:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-23 17:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596815872001,"66":14265,"103":206,"83":41984,"24":36,"16":15668457307635712,"45":1794191900915210240},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 17:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596815872001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:50:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 17:50:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15668457307635712,"km_value":15668457307635.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794191900915210240,"description":"Unknown IO ID 45"} 
[2026-08-23 17:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596815872001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1794191900915210240}} 
[2026-08-23 17:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":163285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:50:45] local.INFO: GPS data processed {"connection_id":163285,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:50:45] local.INFO: Acknowledgment sent {"connection_id":163285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:50:45] local.INFO: TCP Data received {"connection_id":161884,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:50:45] local.INFO: Processing buffer {"connection_id":161884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:50:45] local.INFO: IMEI packet received {"connection_id":161884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":161884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:50:50] local.INFO: TCP Data received {"connection_id":161884,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:50:50] local.INFO: Processing buffer {"connection_id":161884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:50:50] local.INFO: IMEI packet received {"connection_id":161884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":161884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:50:51] local.INFO: TCP Data received {"connection_id":161884,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:50:51] local.INFO: Processing buffer {"connection_id":161884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:50:51] local.INFO: Packet analysis {"connection_id":161884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:50:51] local.INFO: Extracted packet for processing {"connection_id":161884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:50:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":25,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596717056001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787487477000,"timestamp_ms":1787487477000,"timestamp_seconds":1787487477,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8e5d08"} 
[2026-08-23 17:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596717056001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596717056001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:50:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:50:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596717056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":161884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:50:51] local.INFO: GPS data processed {"connection_id":161884,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:50:51] local.INFO: Acknowledgment sent {"connection_id":161884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:51:10] local.INFO: TCP Data received {"connection_id":160692,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e90f518012d8b448005c3c0b8000c004f28..."} 
[2026-08-23 17:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e90f518012d8b448005c3c0b8000c004f28..."} 
[2026-08-23 17:51:10] local.INFO: Processing buffer {"connection_id":160692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e90f518012d8b448005c3c0b8000c004f28..."} 
[2026-08-23 17:51:10] local.INFO: Packet analysis {"connection_id":160692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e90"} 
[2026-08-23 17:51:10] local.INFO: Extracted packet for processing {"connection_id":160692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e90"} 
[2026-08-23 17:51:10] local.INFO: GPS Element Parsed {"raw_longitude":764101760,"raw_latitude":96714936,"longitude_deg":76.410176,"latitude_deg":9.6714936,"altitude":12,"angle":79,"satellites":40,"speed":27,"hex_longitude":"2d8b4480","hex_latitude":"05c3c0b8","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596836352001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122871115893702656,"note":"Value kept but may cause issues"} 
[2026-08-23 17:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8415468460192083968,"note":"Value kept but may cause issues"} 
[2026-08-23 17:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787487647000,"timestamp_ms":1787487647000,"timestamp_seconds":1787487647,"priority":1,"record_length":96,"hex_timestamp":"000001a02e90f518"} 
[2026-08-23 17:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:51: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-08-23 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 17:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596836352001,"66":12917,"79":206,"83":16384,"24":27,"16":122871115893702656,"45":-8415468460192083968},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,45]} 
[2026-08-23 17:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596836352001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:51:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-23 17:51:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 17:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122871115893702656,"km_value":122871115893702.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8415468460192083968,"description":"Unknown IO ID 45"} 
[2026-08-23 17:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596836352001,"power":12917,"unknown_79":206,"unknown_83":16384,"ignition":27,"odometer":null,"unknown_45":-8415468460192083968}} 
[2026-08-23 17:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":160692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:51:10] local.INFO: GPS data processed {"connection_id":160692,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:51:10] local.INFO: Acknowledgment sent {"connection_id":160692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:51:24] local.INFO: TCP Data received {"connection_id":161884,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:51:24] local.INFO: Processing buffer {"connection_id":161884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:51:24] local.INFO: Packet analysis {"connection_id":161884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:51:24] local.INFO: Extracted packet for processing {"connection_id":161884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:51:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":25,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596717056001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787487477000,"timestamp_ms":1787487477000,"timestamp_seconds":1787487477,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8e5d08"} 
[2026-08-23 17:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:51:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:51: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-08-23 17:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596717056001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596717056001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:51:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:51:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596717056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":161884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:51:24] local.INFO: GPS data processed {"connection_id":161884,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:51:24] local.INFO: Acknowledgment sent {"connection_id":161884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:51:27] local.INFO: TCP Data received {"connection_id":161885,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:51:27] local.INFO: Processing buffer {"connection_id":161885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:51:27] local.INFO: IMEI packet received {"connection_id":161885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":161885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:51:28] local.INFO: TCP Data received {"connection_id":161885,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:51:28] local.INFO: Processing buffer {"connection_id":161885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:51:28] local.INFO: IMEI packet received {"connection_id":161885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":161885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:51:29] local.INFO: TCP Data received {"connection_id":161885,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:51:29] local.INFO: Processing buffer {"connection_id":161885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:51:29] local.INFO: IMEI packet received {"connection_id":161885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":161885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:51:34] local.INFO: TCP Data received {"connection_id":160693,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:51:34] local.INFO: Processing buffer {"connection_id":160693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:51:34] local.INFO: IMEI packet received {"connection_id":160693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":160693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:51:34] local.INFO: TCP Data received {"connection_id":161885,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:51:34] local.INFO: Processing buffer {"connection_id":161885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:51:34] local.INFO: IMEI packet received {"connection_id":161885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":161885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:51:35] local.INFO: TCP Data received {"connection_id":161885,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e90ba80012d19cd000720a7980031002922..."} 
[2026-08-23 17:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e90ba80012d19cd000720a7980031002922..."} 
[2026-08-23 17:51:35] local.INFO: Processing buffer {"connection_id":161885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e90ba80012d19cd000720a7980031002922..."} 
[2026-08-23 17:51:35] local.INFO: Packet analysis {"connection_id":161885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e90"} 
[2026-08-23 17:51:35] local.INFO: Extracted packet for processing {"connection_id":161885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e90"} 
[2026-08-23 17:51:35] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119580568,"longitude_deg":75.66656,"latitude_deg":11.9580568,"altitude":49,"angle":41,"satellites":34,"speed":12,"hex_longitude":"2d19cd00","hex_latitude":"0720a798","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596833280001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15671270511214592,"note":"Value kept but may cause issues"} 
[2026-08-23 17:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858579301832980480,"note":"Value kept but may cause issues"} 
[2026-08-23 17:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787487632000,"timestamp_ms":1787487632000,"timestamp_seconds":1787487632,"priority":1,"record_length":96,"hex_timestamp":"000001a02e90ba80"} 
[2026-08-23 17:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-23 17:51:35] 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-08-23 17: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-08-23 17:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596833280001,"66":14374,"103":206,"83":41984,"24":12,"16":15671270511214592,"45":1858579301832980480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 17:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596833280001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:51:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 17:51:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15671270511214592,"km_value":15671270511214.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858579301832980480,"description":"Unknown IO ID 45"} 
[2026-08-23 17:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596833280001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1858579301832980480}} 
[2026-08-23 17:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":161885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:51:35] local.INFO: GPS data processed {"connection_id":161885,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:51:35] local.INFO: Acknowledgment sent {"connection_id":161885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:51:39] local.INFO: TCP Data received {"connection_id":160693,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160693,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:51:39] local.INFO: Processing buffer {"connection_id":160693,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:51:39] local.INFO: IMEI packet received {"connection_id":160693,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":160693,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:51:40] local.INFO: TCP Data received {"connection_id":160693,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e911c28012d8b600005c3c4c8000d005d28..."} 
[2026-08-23 17:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e911c28012d8b600005c3c4c8000d005d28..."} 
[2026-08-23 17:51:40] local.INFO: Processing buffer {"connection_id":160693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e911c28012d8b600005c3c4c8000d005d28..."} 
[2026-08-23 17:51:40] local.INFO: Packet analysis {"connection_id":160693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e91"} 
[2026-08-23 17:51:40] local.INFO: Extracted packet for processing {"connection_id":160693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e91"} 
[2026-08-23 17:51:40] local.INFO: GPS Element Parsed {"raw_longitude":764108800,"raw_latitude":96715976,"longitude_deg":76.41088,"latitude_deg":9.6715976,"altitude":13,"angle":93,"satellites":40,"speed":25,"hex_longitude":"2d8b6000","hex_latitude":"05c3c4c8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 17:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596837632001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122871459491086336,"note":"Value kept but may cause issues"} 
[2026-08-23 17:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8411457441773864960,"note":"Value kept but may cause issues"} 
[2026-08-23 17:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787487657000,"timestamp_ms":1787487657000,"timestamp_seconds":1787487657,"priority":1,"record_length":96,"hex_timestamp":"000001a02e911c28"} 
[2026-08-23 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-08-23 17:51: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-08-23 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 17:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 17:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596837632001,"66":13319,"78":206,"83":16384,"24":25,"16":122871459491086336,"45":-8411457441773864960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,83,24,16,45]} 
[2026-08-23 17:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596837632001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:51:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-23 17:51:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 17:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122871459491086336,"km_value":122871459491086.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8411457441773864960,"description":"Unknown IO ID 45"} 
[2026-08-23 17:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596837632001,"power":13319,"unknown_78":206,"unknown_83":16384,"ignition":25,"odometer":null,"unknown_45":-8411457441773864960}} 
[2026-08-23 17:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":160693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:51:40] local.INFO: GPS data processed {"connection_id":160693,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:51:40] local.INFO: Acknowledgment sent {"connection_id":160693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:51:45] local.INFO: TCP Data received {"connection_id":160694,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:51:45] local.INFO: Processing buffer {"connection_id":160694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:51:45] local.INFO: IMEI packet received {"connection_id":160694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":160694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:51:50] local.INFO: TCP Data received {"connection_id":160694,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:51:50] local.INFO: Processing buffer {"connection_id":160694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:51:50] local.INFO: IMEI packet received {"connection_id":160694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":160694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:51:51] local.INFO: TCP Data received {"connection_id":160694,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:51:51] local.INFO: Processing buffer {"connection_id":160694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:51:51] local.INFO: Packet analysis {"connection_id":160694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:51:51] local.INFO: Extracted packet for processing {"connection_id":160694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:51:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":25,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596717056001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787487477000,"timestamp_ms":1787487477000,"timestamp_seconds":1787487477,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8e5d08"} 
[2026-08-23 17:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596717056001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596717056001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:51:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:51:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596717056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":160694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:51:51] local.INFO: GPS data processed {"connection_id":160694,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:51:51] local.INFO: Acknowledgment sent {"connection_id":160694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:52:06] local.INFO: TCP Data received {"connection_id":161885,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02e90c638012d19cf800720aa580031003423..."} 
[2026-08-23 17:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e90c638012d19cf800720aa580031003423..."} 
[2026-08-23 17:52:06] local.INFO: Processing buffer {"connection_id":161885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e90c638012d19cf800720aa580031003423..."} 
[2026-08-23 17:52:06] local.INFO: Packet analysis {"connection_id":161885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e90"} 
[2026-08-23 17:52:06] local.INFO: Extracted packet for processing {"connection_id":161885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e90"} 
[2026-08-23 17:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756666240,"raw_latitude":119581272,"longitude_deg":75.666624,"latitude_deg":11.9581272,"altitude":49,"angle":52,"satellites":35,"speed":14,"hex_longitude":"2d19cf80","hex_latitude":"0720aa58","is_valid_coordinates":true} 
[2026-08-23 17:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596833792001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15671317755854848,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251786508288,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787487635000,"timestamp_ms":1787487635000,"timestamp_seconds":1787487635,"priority":1,"record_length":96,"hex_timestamp":"000001a02e90c638"} 
[2026-08-23 17:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-23 17:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596833792001,"66":14483,"103":206,"83":41984,"24":14,"16":15671317755854848,"45":1859142251786508288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 17:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596833792001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:52:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 17:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15671317755854848,"km_value":15671317755854.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251786508288,"description":"Unknown IO ID 45"} 
[2026-08-23 17:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596833792001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1859142251786508288}} 
[2026-08-23 17:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":161885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:52:06] local.INFO: GPS data processed {"connection_id":161885,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:52:06] local.INFO: Acknowledgment sent {"connection_id":161885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:52:10] local.INFO: TCP Data received {"connection_id":160693,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e913398012d8b704005c3c2c0000d00692b..."} 
[2026-08-23 17:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e913398012d8b704005c3c2c0000d00692b..."} 
[2026-08-23 17:52:10] local.INFO: Processing buffer {"connection_id":160693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e913398012d8b704005c3c2c0000d00692b..."} 
[2026-08-23 17:52:10] local.INFO: Packet analysis {"connection_id":160693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e91"} 
[2026-08-23 17:52:10] local.INFO: Extracted packet for processing {"connection_id":160693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e91"} 
[2026-08-23 17:52:10] local.INFO: GPS Element Parsed {"raw_longitude":764112960,"raw_latitude":96715456,"longitude_deg":76.411296,"latitude_deg":9.6715456,"altitude":13,"angle":105,"satellites":43,"speed":28,"hex_longitude":"2d8b7040","hex_latitude":"05c3c2c0","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596840192001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122871657059581952,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8403716879914055680,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787487663000,"timestamp_ms":1787487663000,"timestamp_seconds":1787487663,"priority":1,"record_length":96,"hex_timestamp":"000001a02e913398"} 
[2026-08-23 17:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:52: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-08-23 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 17:52:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2332196869,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:10] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2421741569,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:10] local.WARNING: Large IO value detected {"io_id":195,"raw_value":-4343721810527900928,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2756640974,"corrected_to":0} 
[2026-08-23 17:52:10] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2885733796,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:10] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2245984256,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3284291584,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:10] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57883029448577856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:10] local.WARNING: Large IO value detected {"io_id":143,"raw_value":-4012705972871741435,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:10] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,78,83,24,241,157,16,134,160,245,45,128,192,12,40,10,66,79,225,64,191,166,1,240,51,227,46,195,4,113,205,73,112,44,239,50,2,180,5,187,143],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2756640974,"validated":0}]} 
[2026-08-23 17:52:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936851148874776576,"timestamp_seconds":936851148874776.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 17:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160693,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596840192001,"66":13276,"78":206,"83":16384,"24":28,"16":122871657059581952,"45":-8403716879914055680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,83,24,16,45]} 
[2026-08-23 17:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596840192001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:52:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-23 17:52:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 17:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122871657059581952,"km_value":122871657059581.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8403716879914055680,"description":"Unknown IO ID 45"} 
[2026-08-23 17:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596840192001,"power":13276,"unknown_78":206,"unknown_83":16384,"ignition":28,"odometer":null,"unknown_45":-8403716879914055680}} 
[2026-08-23 17:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":160693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:52:11] local.INFO: GPS data processed {"connection_id":160693,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:52:11] local.INFO: Acknowledgment sent {"connection_id":160693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:52:23] local.INFO: TCP Data received {"connection_id":160694,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:52:23] local.INFO: Processing buffer {"connection_id":160694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:52:23] local.INFO: Packet analysis {"connection_id":160694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:52:23] local.INFO: Extracted packet for processing {"connection_id":160694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:52:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":25,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596717056001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787487477000,"timestamp_ms":1787487477000,"timestamp_seconds":1787487477,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8e5d08"} 
[2026-08-23 17:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596717056001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596717056001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:52:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:52:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596717056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":160694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:52:23] local.INFO: GPS data processed {"connection_id":160694,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:52:23] local.INFO: Acknowledgment sent {"connection_id":160694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:52:27] local.INFO: TCP Data received {"connection_id":163286,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:52:27] local.INFO: Processing buffer {"connection_id":163286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:52:27] local.INFO: IMEI packet received {"connection_id":163286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":163286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:52:28] local.INFO: TCP Data received {"connection_id":163286,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:52:28] local.INFO: Processing buffer {"connection_id":163286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:52:28] local.INFO: IMEI packet received {"connection_id":163286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":163286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:52:29] local.INFO: TCP Data received {"connection_id":163286,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:52:29] local.INFO: Processing buffer {"connection_id":163286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:52:29] local.INFO: IMEI packet received {"connection_id":163286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":163286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:52:29] local.INFO: TCP Data received {"connection_id":163286,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:52:29] local.INFO: Processing buffer {"connection_id":163286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:52:29] local.INFO: IMEI packet received {"connection_id":163286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":163286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:52:40] local.INFO: TCP Data received {"connection_id":161886,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:52:40] local.INFO: Processing buffer {"connection_id":161886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:52:40] local.INFO: IMEI packet received {"connection_id":161886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":161886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:52:45] local.INFO: TCP Data received {"connection_id":163287,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:52:45] local.INFO: Processing buffer {"connection_id":163287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:52:45] local.INFO: IMEI packet received {"connection_id":163287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":163287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:52:45] local.INFO: TCP Data received {"connection_id":161886,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:52:45] local.INFO: Processing buffer {"connection_id":161886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:52:45] local.INFO: IMEI packet received {"connection_id":161886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":161886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:52:50] local.INFO: TCP Data received {"connection_id":163287,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:52:50] local.INFO: Processing buffer {"connection_id":163287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:52:50] local.INFO: IMEI packet received {"connection_id":163287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":163287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:52:50] local.INFO: TCP Data received {"connection_id":161886,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9181b8012d8b8e4005c3b9e8000b006d2c..."} 
[2026-08-23 17:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9181b8012d8b8e4005c3b9e8000b006d2c..."} 
[2026-08-23 17:52:50] local.INFO: Processing buffer {"connection_id":161886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9181b8012d8b8e4005c3b9e8000b006d2c..."} 
[2026-08-23 17:52:50] local.INFO: Packet analysis {"connection_id":161886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e91"} 
[2026-08-23 17:52:50] local.INFO: Extracted packet for processing {"connection_id":161886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e91"} 
[2026-08-23 17:52:50] local.INFO: GPS Element Parsed {"raw_longitude":764120640,"raw_latitude":96713192,"longitude_deg":76.412064,"latitude_deg":9.6713192,"altitude":11,"angle":109,"satellites":44,"speed":6,"hex_longitude":"2d8b8e40","hex_latitude":"05c3b9e8","is_valid_coordinates":true} 
[2026-08-23 17:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596841728001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122872043606638592,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8399142911542640640,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787487683000,"timestamp_ms":1787487683000,"timestamp_seconds":1787487683,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9181b8"} 
[2026-08-23 17:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 17:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596841728001,"66":13243,"78":206,"83":16384,"24":6,"16":122872043606638592,"45":-8399142911542640640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,83,24,16,45]} 
[2026-08-23 17:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596841728001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:52:50] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-23 17:52:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 17:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122872043606638592,"km_value":122872043606638.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8399142911542640640,"description":"Unknown IO ID 45"} 
[2026-08-23 17:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596841728001,"power":13243,"unknown_78":206,"unknown_83":16384,"ignition":6,"odometer":null,"unknown_45":-8399142911542640640}} 
[2026-08-23 17:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":161886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:52:51] local.INFO: GPS data processed {"connection_id":161886,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:52:51] local.INFO: Acknowledgment sent {"connection_id":161886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:52:51] local.INFO: TCP Data received {"connection_id":163287,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:52:51] local.INFO: Processing buffer {"connection_id":163287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:52:51] local.INFO: Packet analysis {"connection_id":163287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:52:51] local.INFO: Extracted packet for processing {"connection_id":163287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:52:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":25,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596717056001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787487477000,"timestamp_ms":1787487477000,"timestamp_seconds":1787487477,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8e5d08"} 
[2026-08-23 17:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596717056001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596717056001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:52:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:52:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596717056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":163287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:52:51] local.INFO: GPS data processed {"connection_id":163287,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:52:51] local.INFO: Acknowledgment sent {"connection_id":163287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:52:57] local.INFO: TCP Data received {"connection_id":161886,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e91d3c0012d8baa8005c3b3c0000c005c2b..."} 
[2026-08-23 17:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e91d3c0012d8baa8005c3b3c0000c005c2b..."} 
[2026-08-23 17:52:57] local.INFO: Processing buffer {"connection_id":161886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e91d3c0012d8baa8005c3b3c0000c005c2b..."} 
[2026-08-23 17:52:57] local.INFO: Packet analysis {"connection_id":161886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e91"} 
[2026-08-23 17:52:57] local.INFO: Extracted packet for processing {"connection_id":161886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e91"} 
[2026-08-23 17:52:57] local.INFO: GPS Element Parsed {"raw_longitude":764127872,"raw_latitude":96711616,"longitude_deg":76.4127872,"latitude_deg":9.6711616,"altitude":12,"angle":92,"satellites":43,"speed":8,"hex_longitude":"2d8baa80","hex_latitude":"05c3b3c0","is_valid_coordinates":true} 
[2026-08-23 17:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596846848001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122872395793956864,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8390698662241900544,"note":"Value kept but may cause issues"} 
[2026-08-23 17:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787487704000,"timestamp_ms":1787487704000,"timestamp_seconds":1787487704,"priority":1,"record_length":96,"hex_timestamp":"000001a02e91d3c0"} 
[2026-08-23 17:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-23 17:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596846848001,"66":12939,"78":206,"83":16384,"24":8,"16":122872395793956864,"45":-8390698662241900544},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,83,24,16,45]} 
[2026-08-23 17:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596846848001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:52:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-23 17:52:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 17:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122872395793956864,"km_value":122872395793956.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8390698662241900544,"description":"Unknown IO ID 45"} 
[2026-08-23 17:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596846848001,"power":12939,"unknown_78":206,"unknown_83":16384,"ignition":8,"odometer":null,"unknown_45":-8390698662241900544}} 
[2026-08-23 17:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":161886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:52:58] local.INFO: GPS data processed {"connection_id":161886,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:52:58] local.INFO: Acknowledgment sent {"connection_id":161886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:53:23] local.INFO: TCP Data received {"connection_id":163287,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:53:23] local.INFO: Processing buffer {"connection_id":163287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e8e5d08012d34c58006aa40600022011419..."} 
[2026-08-23 17:53:23] local.INFO: Packet analysis {"connection_id":163287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:53:23] local.INFO: Extracted packet for processing {"connection_id":163287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e8e"} 
[2026-08-23 17:53:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":34,"angle":276,"satellites":25,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596717056001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787487477000,"timestamp_ms":1787487477000,"timestamp_seconds":1787487477,"priority":1,"record_length":96,"hex_timestamp":"000001a02e8e5d08"} 
[2026-08-23 17:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:53:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596717056001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596717056001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:53:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:53:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596717056001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":163287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:53:23] local.INFO: GPS data processed {"connection_id":163287,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:53:23] local.INFO: Acknowledgment sent {"connection_id":163287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:53:34] local.INFO: TCP Data received {"connection_id":160696,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:53:34] local.INFO: Processing buffer {"connection_id":160696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:53:34] local.INFO: IMEI packet received {"connection_id":160696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":160696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:53:34] local.INFO: TCP Data received {"connection_id":160696,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:53:34] local.INFO: Processing buffer {"connection_id":160696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:53:34] local.INFO: IMEI packet received {"connection_id":160696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":160696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:53:39] local.INFO: TCP Data received {"connection_id":160696,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:53:39] local.INFO: Processing buffer {"connection_id":160696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:53:39] local.INFO: IMEI packet received {"connection_id":160696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":160696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:53:40] local.INFO: TCP Data received {"connection_id":160696,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e91eb30012d8bb28005c3b4d8000f004d2b..."} 
[2026-08-23 17:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e91eb30012d8bb28005c3b4d8000f004d2b..."} 
[2026-08-23 17:53:40] local.INFO: Processing buffer {"connection_id":160696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e91eb30012d8bb28005c3b4d8000f004d2b..."} 
[2026-08-23 17:53:40] local.INFO: Packet analysis {"connection_id":160696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e91"} 
[2026-08-23 17:53:40] local.INFO: Extracted packet for processing {"connection_id":160696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e91"} 
[2026-08-23 17:53:40] local.INFO: GPS Element Parsed {"raw_longitude":764129920,"raw_latitude":96711896,"longitude_deg":76.412992,"latitude_deg":9.6711896,"altitude":15,"angle":77,"satellites":43,"speed":15,"hex_longitude":"2d8bb280","hex_latitude":"05c3b4d8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 17:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596852224001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122872498873171968,"note":"Value kept but may cause issues"} 
[2026-08-23 17:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8382746994150227968,"note":"Value kept but may cause issues"} 
[2026-08-23 17:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787487710000,"timestamp_ms":1787487710000,"timestamp_seconds":1787487710,"priority":1,"record_length":96,"hex_timestamp":"000001a02e91eb30"} 
[2026-08-23 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-08-23 17:53: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-08-23 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-23 17:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 17:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596852224001,"66":12982,"78":206,"83":16384,"24":15,"16":122872498873171968,"45":-8382746994150227968},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,83,24,16,45]} 
[2026-08-23 17:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596852224001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:53:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-23 17:53:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 17:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122872498873171968,"km_value":122872498873171.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8382746994150227968,"description":"Unknown IO ID 45"} 
[2026-08-23 17:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596852224001,"power":12982,"unknown_78":206,"unknown_83":16384,"ignition":15,"odometer":null,"unknown_45":-8382746994150227968}} 
[2026-08-23 17:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":160696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:53:40] local.INFO: GPS data processed {"connection_id":160696,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:53:40] local.INFO: Acknowledgment sent {"connection_id":160696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:53:50] local.INFO: TCP Data received {"connection_id":160697,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:53:50] local.INFO: Processing buffer {"connection_id":160697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:53:50] local.INFO: IMEI packet received {"connection_id":160697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":160697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:53:55] local.INFO: TCP Data received {"connection_id":160697,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:53:55] local.INFO: Processing buffer {"connection_id":160697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:53:55] local.INFO: IMEI packet received {"connection_id":160697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":160697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:53:56] local.INFO: TCP Data received {"connection_id":160697,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:53:56] local.INFO: Processing buffer {"connection_id":160697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:53:56] local.INFO: Packet analysis {"connection_id":160697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:53:56] local.INFO: Extracted packet for processing {"connection_id":160697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:53:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596794112001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787487778000,"timestamp_ms":1787487778000,"timestamp_seconds":1787487778,"priority":1,"record_length":96,"hex_timestamp":"000001a02e92f4d0"} 
[2026-08-23 17:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596794112001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596794112001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:53:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:53:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596794112001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":160697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:53:56] local.INFO: GPS data processed {"connection_id":160697,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:53:56] local.INFO: Acknowledgment sent {"connection_id":160697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:54:02] local.INFO: TCP Data received {"connection_id":160697,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:54:02] local.INFO: Processing buffer {"connection_id":160697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:54:02] local.INFO: Packet analysis {"connection_id":160697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:54:02] local.INFO: Extracted packet for processing {"connection_id":160697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:54:02] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596794112001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787487778000,"timestamp_ms":1787487778000,"timestamp_seconds":1787487778,"priority":1,"record_length":96,"hex_timestamp":"000001a02e92f4d0"} 
[2026-08-23 17:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596794112001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596794112001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:54:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:54:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596794112001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":160697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:54:02] local.INFO: GPS data processed {"connection_id":160697,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:54:02] local.INFO: Acknowledgment sent {"connection_id":160697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:54:11] local.INFO: TCP Data received {"connection_id":160696,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9229b0012d8bd60005c3bf10001000482c..."} 
[2026-08-23 17:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9229b0012d8bd60005c3bf10001000482c..."} 
[2026-08-23 17:54:11] local.INFO: Processing buffer {"connection_id":160696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9229b0012d8bd60005c3bf10001000482c..."} 
[2026-08-23 17:54:11] local.INFO: Packet analysis {"connection_id":160696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:54:11] local.INFO: Extracted packet for processing {"connection_id":160696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:54:11] local.INFO: GPS Element Parsed {"raw_longitude":764139008,"raw_latitude":96714512,"longitude_deg":76.4139008,"latitude_deg":9.6714512,"altitude":16,"angle":72,"satellites":44,"speed":16,"hex_longitude":"2d8bd600","hex_latitude":"05c3bf10","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596853760001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122872949844738048,"note":"Value kept but may cause issues"} 
[2026-08-23 17:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8380495194336471040,"note":"Value kept but may cause issues"} 
[2026-08-23 17:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787487726000,"timestamp_ms":1787487726000,"timestamp_seconds":1787487726,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9229b0"} 
[2026-08-23 17:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-23 17:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596853760001,"66":12993,"78":206,"83":16384,"24":16,"16":122872949844738048,"45":-8380495194336471040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,83,24,16,45]} 
[2026-08-23 17:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596853760001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:54:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-23 17:54:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 17:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122872949844738048,"km_value":122872949844738.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8380495194336471040,"description":"Unknown IO ID 45"} 
[2026-08-23 17:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596853760001,"power":12993,"unknown_78":206,"unknown_83":16384,"ignition":16,"odometer":null,"unknown_45":-8380495194336471040}} 
[2026-08-23 17:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":160696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:54:11] local.INFO: GPS data processed {"connection_id":160696,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:54:11] local.INFO: Acknowledgment sent {"connection_id":160696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:54:34] local.INFO: TCP Data received {"connection_id":161887,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:54:34] local.INFO: Processing buffer {"connection_id":161887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:54:34] local.INFO: IMEI packet received {"connection_id":161887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":161887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:54:36] local.INFO: TCP Data received {"connection_id":161887,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:54:36] local.INFO: Processing buffer {"connection_id":161887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:54:36] local.INFO: IMEI packet received {"connection_id":161887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":161887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:54:37] local.INFO: TCP Data received {"connection_id":161887,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e926060012d8bf9c005c3cb58001100462b..."} 
[2026-08-23 17:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e926060012d8bf9c005c3cb58001100462b..."} 
[2026-08-23 17:54:37] local.INFO: Processing buffer {"connection_id":161887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e926060012d8bf9c005c3cb58001100462b..."} 
[2026-08-23 17:54:37] local.INFO: Packet analysis {"connection_id":161887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:54:37] local.INFO: Extracted packet for processing {"connection_id":161887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:54:37] local.INFO: GPS Element Parsed {"raw_longitude":764148160,"raw_latitude":96717656,"longitude_deg":76.414816,"latitude_deg":9.6717656,"altitude":17,"angle":70,"satellites":43,"speed":28,"hex_longitude":"2d8bf9c0","hex_latitude":"05c3cb58","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596857856001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122873413701206016,"note":"Value kept but may cause issues"} 
[2026-08-23 17:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8370502832662573056,"note":"Value kept but may cause issues"} 
[2026-08-23 17:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787487740000,"timestamp_ms":1787487740000,"timestamp_seconds":1787487740,"priority":1,"record_length":96,"hex_timestamp":"000001a02e926060"} 
[2026-08-23 17:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-23 17:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596857856001,"66":13135,"78":206,"83":16384,"24":28,"16":122873413701206016,"45":-8370502832662573056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,83,24,16,45]} 
[2026-08-23 17:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596857856001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:54:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-23 17:54:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 17:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122873413701206016,"km_value":122873413701206.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8370502832662573056,"description":"Unknown IO ID 45"} 
[2026-08-23 17:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596857856001,"power":13135,"unknown_78":206,"unknown_83":16384,"ignition":28,"odometer":null,"unknown_45":-8370502832662573056}} 
[2026-08-23 17:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":161887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:54:37] local.INFO: GPS data processed {"connection_id":161887,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:54:37] local.INFO: Acknowledgment sent {"connection_id":161887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:54:45] local.INFO: TCP Data received {"connection_id":163289,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:54:45] local.INFO: Processing buffer {"connection_id":163289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:54:45] local.INFO: IMEI packet received {"connection_id":163289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":163289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:54:51] local.INFO: TCP Data received {"connection_id":163289,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:54:51] local.INFO: Processing buffer {"connection_id":163289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:54:51] local.INFO: IMEI packet received {"connection_id":163289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":163289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:54:53] local.INFO: TCP Data received {"connection_id":163289,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:54:53] local.INFO: Processing buffer {"connection_id":163289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:54:53] local.INFO: Packet analysis {"connection_id":163289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:54:53] local.INFO: Extracted packet for processing {"connection_id":163289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:54:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596794112001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787487778000,"timestamp_ms":1787487778000,"timestamp_seconds":1787487778,"priority":1,"record_length":96,"hex_timestamp":"000001a02e92f4d0"} 
[2026-08-23 17:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:54: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-08-23 17:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596794112001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596794112001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:54:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:54:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596794112001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":163289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:54:53] local.INFO: GPS data processed {"connection_id":163289,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:54:53] local.INFO: Acknowledgment sent {"connection_id":163289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:55:08] local.INFO: TCP Data received {"connection_id":161887,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e929328012d8c1c0005c3d7c0000f004529..."} 
[2026-08-23 17:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e929328012d8c1c0005c3d7c0000f004529..."} 
[2026-08-23 17:55:08] local.INFO: Processing buffer {"connection_id":161887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e929328012d8c1c0005c3d7c0000f004529..."} 
[2026-08-23 17:55:08] local.INFO: Packet analysis {"connection_id":161887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:55:08] local.INFO: Extracted packet for processing {"connection_id":161887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:55:08] local.INFO: GPS Element Parsed {"raw_longitude":764156928,"raw_latitude":96720832,"longitude_deg":76.4156928,"latitude_deg":9.6720832,"altitude":15,"angle":69,"satellites":41,"speed":31,"hex_longitude":"2d8c1c00","hex_latitude":"05c3d7c0","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596861440001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122873860377804800,"note":"Value kept but may cause issues"} 
[2026-08-23 17:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8360440102244362240,"note":"Value kept but may cause issues"} 
[2026-08-23 17:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787487753000,"timestamp_ms":1787487753000,"timestamp_seconds":1787487753,"priority":1,"record_length":96,"hex_timestamp":"000001a02e929328"} 
[2026-08-23 17:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:55: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-08-23 17: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 17:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596861440001,"66":13319,"78":206,"83":16384,"24":31,"16":122873860377804800,"45":-8360440102244362240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,83,24,16,45]} 
[2026-08-23 17:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596861440001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:55:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-23 17:55:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 17:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122873860377804800,"km_value":122873860377804.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8360440102244362240,"description":"Unknown IO ID 45"} 
[2026-08-23 17:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596861440001,"power":13319,"unknown_78":206,"unknown_83":16384,"ignition":31,"odometer":null,"unknown_45":-8360440102244362240}} 
[2026-08-23 17:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":161887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:55:08] local.INFO: GPS data processed {"connection_id":161887,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:55:08] local.INFO: Acknowledgment sent {"connection_id":161887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:55:24] local.INFO: TCP Data received {"connection_id":163289,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:55:24] local.INFO: Processing buffer {"connection_id":163289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:55:24] local.INFO: Packet analysis {"connection_id":163289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:55:24] local.INFO: Extracted packet for processing {"connection_id":163289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:55:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596794112001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787487778000,"timestamp_ms":1787487778000,"timestamp_seconds":1787487778,"priority":1,"record_length":96,"hex_timestamp":"000001a02e92f4d0"} 
[2026-08-23 17:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:55: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-08-23 17:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596794112001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596794112001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:55:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:55:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596794112001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":163289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:55:24] local.INFO: GPS data processed {"connection_id":163289,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:55:24] local.INFO: Acknowledgment sent {"connection_id":163289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:55:34] local.INFO: TCP Data received {"connection_id":161888,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:55:34] local.INFO: Processing buffer {"connection_id":161888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:55:34] local.INFO: IMEI packet received {"connection_id":161888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":161888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:55:39] local.INFO: TCP Data received {"connection_id":161888,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:55:39] local.INFO: Processing buffer {"connection_id":161888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:55:39] local.INFO: IMEI packet received {"connection_id":161888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":161888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:55:40] local.INFO: TCP Data received {"connection_id":161888,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e951b98012d8d008005c422c8000e00112c..."} 
[2026-08-23 17:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e951b98012d8d008005c422c8000e00112c..."} 
[2026-08-23 17:55:40] local.INFO: Processing buffer {"connection_id":161888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e951b98012d8d008005c422c8000e00112c..."} 
[2026-08-23 17:55:40] local.INFO: Packet analysis {"connection_id":161888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e95"} 
[2026-08-23 17:55:40] local.INFO: Extracted packet for processing {"connection_id":161888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e95"} 
[2026-08-23 17:55:40] local.INFO: GPS Element Parsed {"raw_longitude":764215424,"raw_latitude":96740040,"longitude_deg":76.4215424,"latitude_deg":9.674004,"altitude":14,"angle":17,"satellites":44,"speed":7,"hex_longitude":"2d8d0080","hex_latitude":"05c422c8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 17:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596907008001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122876823905239040,"note":"Value kept but may cause issues"} 
[2026-08-23 17:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8286623289596309504,"note":"Value kept but may cause issues"} 
[2026-08-23 17:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787487919000,"timestamp_ms":1787487919000,"timestamp_seconds":1787487919,"priority":1,"record_length":96,"hex_timestamp":"000001a02e951b98"} 
[2026-08-23 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-08-23 17:55: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-08-23 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 17:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 17:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596907008001,"66":13189,"207":206,"83":16384,"24":7,"16":122876823905239040,"45":-8286623289596309504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-23 17:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596907008001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:55:40] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-23 17:55:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 17:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122876823905239040,"km_value":122876823905239.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8286623289596309504,"description":"Unknown IO ID 45"} 
[2026-08-23 17:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596907008001,"power":13189,"unknown_207":206,"unknown_83":16384,"ignition":7,"odometer":null,"unknown_45":-8286623289596309504}} 
[2026-08-23 17:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":161888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:55:40] local.INFO: GPS data processed {"connection_id":161888,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:55:40] local.INFO: Acknowledgment sent {"connection_id":161888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:55:46] local.INFO: TCP Data received {"connection_id":160699,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:55:46] local.INFO: Processing buffer {"connection_id":160699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:55:46] local.INFO: IMEI packet received {"connection_id":160699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":160699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:55:50] local.INFO: TCP Data received {"connection_id":160699,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:55:50] local.INFO: Processing buffer {"connection_id":160699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:55:50] local.INFO: IMEI packet received {"connection_id":160699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":160699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:55:52] local.INFO: TCP Data received {"connection_id":160699,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:55:52] local.INFO: Processing buffer {"connection_id":160699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:55:52] local.INFO: Packet analysis {"connection_id":160699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:55:52] local.INFO: Extracted packet for processing {"connection_id":160699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:55:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:55: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-08-23 17:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596794112001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787487778000,"timestamp_ms":1787487778000,"timestamp_seconds":1787487778,"priority":1,"record_length":96,"hex_timestamp":"000001a02e92f4d0"} 
[2026-08-23 17:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:55: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-08-23 17:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:55:52] 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-08-23 17:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596794112001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596794112001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:55:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:55:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596794112001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":160699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:55:52] local.INFO: GPS data processed {"connection_id":160699,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:55:52] local.INFO: Acknowledgment sent {"connection_id":160699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:56:11] local.INFO: TCP Data received {"connection_id":161888,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e952368012d8d00c005c42458000f01662c..."} 
[2026-08-23 17:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e952368012d8d00c005c42458000f01662c..."} 
[2026-08-23 17:56:11] local.INFO: Processing buffer {"connection_id":161888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e952368012d8d00c005c42458000f01662c..."} 
[2026-08-23 17:56:11] local.INFO: Packet analysis {"connection_id":161888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e95"} 
[2026-08-23 17:56:11] local.INFO: Extracted packet for processing {"connection_id":161888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e95"} 
[2026-08-23 17:56:11] local.INFO: GPS Element Parsed {"raw_longitude":764215488,"raw_latitude":96740440,"longitude_deg":76.4215488,"latitude_deg":9.674044,"altitude":15,"angle":358,"satellites":44,"speed":8,"hex_longitude":"2d8d00c0","hex_latitude":"05c42458","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596907264001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122876841085108224,"note":"Value kept but may cause issues"} 
[2026-08-23 17:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8286482552107907072,"note":"Value kept but may cause issues"} 
[2026-08-23 17:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787487921000,"timestamp_ms":1787487921000,"timestamp_seconds":1787487921,"priority":1,"record_length":96,"hex_timestamp":"000001a02e952368"} 
[2026-08-23 17:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-23 17:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596907264001,"66":12765,"207":206,"83":16384,"24":8,"16":122876841085108224,"45":-8286482552107907072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-23 17:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596907264001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:56:11] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-23 17:56:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 17:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122876841085108224,"km_value":122876841085108.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8286482552107907072,"description":"Unknown IO ID 45"} 
[2026-08-23 17:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596907264001,"power":12765,"unknown_207":206,"unknown_83":16384,"ignition":8,"odometer":null,"unknown_45":-8286482552107907072}} 
[2026-08-23 17:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":161888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:56:11] local.INFO: GPS data processed {"connection_id":161888,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:56:11] local.INFO: Acknowledgment sent {"connection_id":161888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:56:24] local.INFO: TCP Data received {"connection_id":160699,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:56:24] local.INFO: Processing buffer {"connection_id":160699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:56:24] local.INFO: Packet analysis {"connection_id":160699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:56:24] local.INFO: Extracted packet for processing {"connection_id":160699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:56:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596794112001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787487778000,"timestamp_ms":1787487778000,"timestamp_seconds":1787487778,"priority":1,"record_length":96,"hex_timestamp":"000001a02e92f4d0"} 
[2026-08-23 17:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:56:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596794112001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596794112001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:56:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:56:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596794112001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":160699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:56:24] local.INFO: GPS data processed {"connection_id":160699,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:56:24] local.INFO: Acknowledgment sent {"connection_id":160699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:56:34] local.INFO: TCP Data received {"connection_id":160940,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:56:34] local.INFO: Processing buffer {"connection_id":160940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:56:34] local.INFO: IMEI packet received {"connection_id":160940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":160940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:56:36] local.INFO: TCP Data received {"connection_id":160940,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:56:36] local.INFO: Processing buffer {"connection_id":160940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:56:36] local.INFO: IMEI packet received {"connection_id":160940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":160940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:56:39] local.INFO: TCP Data received {"connection_id":160940,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:56:39] local.INFO: Processing buffer {"connection_id":160940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:56:39] local.INFO: IMEI packet received {"connection_id":160940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":160940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:56:40] local.INFO: TCP Data received {"connection_id":160940,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e952b38012d8d008005c42658000f015a2c..."} 
[2026-08-23 17:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e952b38012d8d008005c42658000f015a2c..."} 
[2026-08-23 17:56:40] local.INFO: Processing buffer {"connection_id":160940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e952b38012d8d008005c42658000f015a2c..."} 
[2026-08-23 17:56:40] local.INFO: Packet analysis {"connection_id":160940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e95"} 
[2026-08-23 17:56:40] local.INFO: Extracted packet for processing {"connection_id":160940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e95"} 
[2026-08-23 17:56:40] local.INFO: GPS Element Parsed {"raw_longitude":764215424,"raw_latitude":96740952,"longitude_deg":76.4215424,"latitude_deg":9.6740952,"altitude":15,"angle":346,"satellites":44,"speed":11,"hex_longitude":"2d8d0080","hex_latitude":"05c42658","is_valid_coordinates":true} 
[2026-08-23 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-08-23 17:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596907776001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122876866854912000,"note":"Value kept but may cause issues"} 
[2026-08-23 17:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8286412183363627008,"note":"Value kept but may cause issues"} 
[2026-08-23 17:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787487923000,"timestamp_ms":1787487923000,"timestamp_seconds":1787487923,"priority":1,"record_length":96,"hex_timestamp":"000001a02e952b38"} 
[2026-08-23 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-08-23 17:56: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-08-23 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-23 17:56:40] 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-08-23 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-08-23 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-08-23 17:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596907776001,"66":13254,"207":206,"83":16384,"24":11,"16":122876866854912000,"45":-8286412183363627008},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-23 17:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596907776001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:56:40] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-23 17:56:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 17:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122876866854912000,"km_value":122876866854912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8286412183363627008,"description":"Unknown IO ID 45"} 
[2026-08-23 17:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596907776001,"power":13254,"unknown_207":206,"unknown_83":16384,"ignition":11,"odometer":null,"unknown_45":-8286412183363627008}} 
[2026-08-23 17:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":160940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:56:40] local.INFO: GPS data processed {"connection_id":160940,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:56:40] local.INFO: Acknowledgment sent {"connection_id":160940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:56:45] local.INFO: TCP Data received {"connection_id":163290,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:56:45] local.INFO: Processing buffer {"connection_id":163290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:56:45] local.INFO: IMEI packet received {"connection_id":163290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":163290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:56:50] local.INFO: TCP Data received {"connection_id":163290,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:56:51] local.INFO: Processing buffer {"connection_id":163290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:56:51] local.INFO: IMEI packet received {"connection_id":163290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":163290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:56:52] local.INFO: TCP Data received {"connection_id":163290,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:56:52] local.INFO: Processing buffer {"connection_id":163290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:56:52] local.INFO: Packet analysis {"connection_id":163290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:56:52] local.INFO: Extracted packet for processing {"connection_id":163290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:56:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596794112001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787487778000,"timestamp_ms":1787487778000,"timestamp_seconds":1787487778,"priority":1,"record_length":96,"hex_timestamp":"000001a02e92f4d0"} 
[2026-08-23 17:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:56:52] 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-08-23 17:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596794112001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596794112001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:56:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:56:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596794112001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":163290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:56:52] local.INFO: GPS data processed {"connection_id":163290,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:56:52] local.INFO: Acknowledgment sent {"connection_id":163290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:57:11] local.INFO: TCP Data received {"connection_id":160940,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e957958012d8cf90005c44090001101552a..."} 
[2026-08-23 17:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e957958012d8cf90005c44090001101552a..."} 
[2026-08-23 17:57:11] local.INFO: Processing buffer {"connection_id":160940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e957958012d8cf90005c44090001101552a..."} 
[2026-08-23 17:57:11] local.INFO: Packet analysis {"connection_id":160940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e95"} 
[2026-08-23 17:57:11] local.INFO: Extracted packet for processing {"connection_id":160940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e95"} 
[2026-08-23 17:57:11] local.INFO: GPS Element Parsed {"raw_longitude":764213504,"raw_latitude":96747664,"longitude_deg":76.4213504,"latitude_deg":9.6747664,"altitude":17,"angle":341,"satellites":42,"speed":17,"hex_longitude":"2d8cf900","hex_latitude":"05c44090","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596908288001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122877206157328384,"note":"Value kept but may cause issues"} 
[2026-08-23 17:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8286482552107673600,"note":"Value kept but may cause issues"} 
[2026-08-23 17:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787487943000,"timestamp_ms":1787487943000,"timestamp_seconds":1787487943,"priority":1,"record_length":96,"hex_timestamp":"000001a02e957958"} 
[2026-08-23 17:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-23 17:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596908288001,"66":13243,"207":206,"83":16384,"24":17,"16":122877206157328384,"45":-8286482552107673600},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-23 17:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596908288001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:57:11] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-23 17:57:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 17:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122877206157328384,"km_value":122877206157328.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8286482552107673600,"description":"Unknown IO ID 45"} 
[2026-08-23 17:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596908288001,"power":13243,"unknown_207":206,"unknown_83":16384,"ignition":17,"odometer":null,"unknown_45":-8286482552107673600}} 
[2026-08-23 17:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":160940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:57:11] local.INFO: GPS data processed {"connection_id":160940,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:57:11] local.INFO: Acknowledgment sent {"connection_id":160940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:57:23] local.INFO: TCP Data received {"connection_id":163290,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:57:23] local.INFO: Processing buffer {"connection_id":163290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:57:23] local.INFO: Packet analysis {"connection_id":163290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:57:23] local.INFO: Extracted packet for processing {"connection_id":163290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:57:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596794112001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787487778000,"timestamp_ms":1787487778000,"timestamp_seconds":1787487778,"priority":1,"record_length":96,"hex_timestamp":"000001a02e92f4d0"} 
[2026-08-23 17:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:57: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-08-23 17:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596794112001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596794112001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:57:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:57:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596794112001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":163290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:57:24] local.INFO: GPS data processed {"connection_id":163290,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:57:24] local.INFO: Acknowledgment sent {"connection_id":163290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:57:31] local.INFO: TCP Data received {"connection_id":160941,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:57:31] local.INFO: Processing buffer {"connection_id":160941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:57:31] local.INFO: IMEI packet received {"connection_id":160941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":160941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:57:33] local.INFO: TCP Data received {"connection_id":160941,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:57:33] local.INFO: Processing buffer {"connection_id":160941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:57:33] local.INFO: IMEI packet received {"connection_id":160941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":160941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:57:34] local.INFO: TCP Data received {"connection_id":160941,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:57:34] local.INFO: Processing buffer {"connection_id":160941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:57:34] local.INFO: IMEI packet received {"connection_id":160941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":160941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:57:34] local.INFO: TCP Data received {"connection_id":161889,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:57:34] local.INFO: Processing buffer {"connection_id":161889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:57:34] local.INFO: IMEI packet received {"connection_id":161889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":161889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:57:39] local.INFO: TCP Data received {"connection_id":160941,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:57:39] local.INFO: Processing buffer {"connection_id":160941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:57:39] local.INFO: IMEI packet received {"connection_id":160941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":160941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:57:39] local.INFO: TCP Data received {"connection_id":161889,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:57:39] local.INFO: Processing buffer {"connection_id":161889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:57:39] local.INFO: IMEI packet received {"connection_id":161889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":161889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:57:40] local.INFO: TCP Data received {"connection_id":160941,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02e95d718012d193dc00720b1800035013026..."} 
[2026-08-23 17:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e95d718012d193dc00720b1800035013026..."} 
[2026-08-23 17:57:40] local.INFO: Processing buffer {"connection_id":160941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e95d718012d193dc00720b1800035013026..."} 
[2026-08-23 17:57:40] local.INFO: Packet analysis {"connection_id":160941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e95"} 
[2026-08-23 17:57:40] local.INFO: Extracted packet for processing {"connection_id":160941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e95"} 
[2026-08-23 17:57:40] local.INFO: GPS Element Parsed {"raw_longitude":756628928,"raw_latitude":119583104,"longitude_deg":75.6628928,"latitude_deg":11.9583104,"altitude":53,"angle":304,"satellites":38,"speed":34,"hex_longitude":"2d193dc0","hex_latitude":"0720b180","is_valid_coordinates":true} 
[2026-08-23 17:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596919040001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15676768069353472,"note":"Value kept but may cause issues"} 
[2026-08-23 17:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820580179977580544,"note":"Value kept but may cause issues"} 
[2026-08-23 17:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787487967000,"timestamp_ms":1787487967000,"timestamp_seconds":1787487967,"priority":1,"record_length":96,"hex_timestamp":"000001a02e95d718"} 
[2026-08-23 17:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:57: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-08-23 17:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-23 17:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596919040001,"66":13906,"103":206,"83":41984,"24":34,"16":15676768069353472,"45":1820580179977580544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 17:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596919040001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:57:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 17:57:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15676768069353472,"km_value":15676768069353.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820580179977580544,"description":"Unknown IO ID 45"} 
[2026-08-23 17:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596919040001,"power":13906,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1820580179977580544}} 
[2026-08-23 17:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":160941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:57:40] local.INFO: GPS data processed {"connection_id":160941,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:57:40] local.INFO: Acknowledgment sent {"connection_id":160941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:57:40] local.INFO: TCP Data received {"connection_id":161889,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e95b7d8012d8ceec005c45fb80010016228..."} 
[2026-08-23 17:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e95b7d8012d8ceec005c45fb80010016228..."} 
[2026-08-23 17:57:40] local.INFO: Processing buffer {"connection_id":161889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e95b7d8012d8ceec005c45fb80010016228..."} 
[2026-08-23 17:57:40] local.INFO: Packet analysis {"connection_id":161889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e95"} 
[2026-08-23 17:57:40] local.INFO: Extracted packet for processing {"connection_id":161889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e95"} 
[2026-08-23 17:57:40] local.INFO: GPS Element Parsed {"raw_longitude":764210880,"raw_latitude":96755640,"longitude_deg":76.421088,"latitude_deg":9.675564,"altitude":16,"angle":354,"satellites":40,"speed":10,"hex_longitude":"2d8ceec0","hex_latitude":"05c45fb8","is_valid_coordinates":true} 
[2026-08-23 17:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596913408001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122877614179221504,"note":"Value kept but may cause issues"} 
[2026-08-23 17:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8288593614431285248,"note":"Value kept but may cause issues"} 
[2026-08-23 17:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787487959000,"timestamp_ms":1787487959000,"timestamp_seconds":1787487959,"priority":1,"record_length":96,"hex_timestamp":"000001a02e95b7d8"} 
[2026-08-23 17:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:57: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-08-23 17:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-23 17:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596913408001,"66":13135,"207":206,"83":16384,"24":10,"16":122877614179221504,"45":-8288593614431285248},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-23 17:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596913408001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:57:40] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-23 17:57:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 17:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122877614179221504,"km_value":122877614179221.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8288593614431285248,"description":"Unknown IO ID 45"} 
[2026-08-23 17:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596913408001,"power":13135,"unknown_207":206,"unknown_83":16384,"ignition":10,"odometer":null,"unknown_45":-8288593614431285248}} 
[2026-08-23 17:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":161889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688067,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:57:40] local.INFO: GPS data processed {"connection_id":161889,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:57:40] local.INFO: Acknowledgment sent {"connection_id":161889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:57:45] local.INFO: TCP Data received {"connection_id":163291,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:57:45] local.INFO: Processing buffer {"connection_id":163291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:57:45] local.INFO: IMEI packet received {"connection_id":163291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":163291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:57:50] local.INFO: TCP Data received {"connection_id":163291,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:57:50] local.INFO: Processing buffer {"connection_id":163291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:57:50] local.INFO: IMEI packet received {"connection_id":163291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":163291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:57:52] local.INFO: TCP Data received {"connection_id":163291,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:57:52] local.INFO: Processing buffer {"connection_id":163291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:57:52] local.INFO: Packet analysis {"connection_id":163291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:57:52] local.INFO: Extracted packet for processing {"connection_id":163291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:57: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-08-23 17:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596794112001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787487778000,"timestamp_ms":1787487778000,"timestamp_seconds":1787487778,"priority":1,"record_length":96,"hex_timestamp":"000001a02e92f4d0"} 
[2026-08-23 17:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:57: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-08-23 17:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596794112001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596794112001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:57:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596794112001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":163291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:57:52] local.INFO: GPS data processed {"connection_id":163291,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:57:52] local.INFO: Acknowledgment sent {"connection_id":163291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:58:11] local.INFO: TCP Data received {"connection_id":160941,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9703e0012d18c400072146780044016725..."} 
[2026-08-23 17:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9703e0012d18c400072146780044016725..."} 
[2026-08-23 17:58:11] local.INFO: Processing buffer {"connection_id":160941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9703e0012d18c400072146780044016725..."} 
[2026-08-23 17:58:11] local.INFO: Packet analysis {"connection_id":160941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 17:58:11] local.INFO: Extracted packet for processing {"connection_id":160941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 17:58:11] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119621240,"longitude_deg":75.659776,"latitude_deg":11.962124,"altitude":68,"angle":359,"satellites":37,"speed":26,"hex_longitude":"2d18c400","hex_latitude":"07214678","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596938496001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15679332164829184,"note":"Value kept but may cause issues"} 
[2026-08-23 17:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120456460288,"note":"Value kept but may cause issues"} 
[2026-08-23 17:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787488044000,"timestamp_ms":1787488044000,"timestamp_seconds":1787488044,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9703e0"} 
[2026-08-23 17:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:58: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-08-23 17: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-23 17:58:11] 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-08-23 17: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-08-23 17:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596938496001,"66":14048,"106":206,"83":41984,"24":26,"16":15679332164829184,"45":1784692120456460288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 17:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596938496001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:58:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 17:58:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15679332164829184,"km_value":15679332164829.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120456460288,"description":"Unknown IO ID 45"} 
[2026-08-23 17:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596938496001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1784692120456460288}} 
[2026-08-23 17:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":160941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:58:11] local.INFO: GPS data processed {"connection_id":160941,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:58:11] local.INFO: Acknowledgment sent {"connection_id":160941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:58:11] local.INFO: TCP Data received {"connection_id":161889,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9605f8012d8cee4005c47540001001622a..."} 
[2026-08-23 17:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9605f8012d8cee4005c47540001001622a..."} 
[2026-08-23 17:58:11] local.INFO: Processing buffer {"connection_id":161889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9605f8012d8cee4005c47540001001622a..."} 
[2026-08-23 17:58:11] local.INFO: Packet analysis {"connection_id":161889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e96"} 
[2026-08-23 17:58:11] local.INFO: Extracted packet for processing {"connection_id":161889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e96"} 
[2026-08-23 17:58:11] local.INFO: GPS Element Parsed {"raw_longitude":764210752,"raw_latitude":96761152,"longitude_deg":76.4210752,"latitude_deg":9.6761152,"altitude":16,"angle":354,"satellites":42,"speed":21,"hex_longitude":"2d8cee40","hex_latitude":"05c47540","is_valid_coordinates":true} 
[2026-08-23 17: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-08-23 17:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596917504001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122877884762161152,"note":"Value kept but may cause issues"} 
[2026-08-23 17:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8291478732940527616,"note":"Value kept but may cause issues"} 
[2026-08-23 17:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787487979000,"timestamp_ms":1787487979000,"timestamp_seconds":1787487979,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9605f8"} 
[2026-08-23 17:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 17:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17: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-08-23 17:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596917504001,"66":13504,"207":206,"83":16384,"24":21,"16":122877884762161152,"45":-8291478732940527616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-23 17:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596917504001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:58:11] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-23 17:58:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 17:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122877884762161152,"km_value":122877884762161.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8291478732940527616,"description":"Unknown IO ID 45"} 
[2026-08-23 17:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596917504001,"power":13504,"unknown_207":206,"unknown_83":16384,"ignition":21,"odometer":null,"unknown_45":-8291478732940527616}} 
[2026-08-23 17:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":161889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:58:11] local.INFO: GPS data processed {"connection_id":161889,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:58:11] local.INFO: Acknowledgment sent {"connection_id":161889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:58:23] local.INFO: TCP Data received {"connection_id":163291,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:58:23] local.INFO: Processing buffer {"connection_id":163291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e92f4d0012d34c58006aa4060001b01141e..."} 
[2026-08-23 17:58:23] local.INFO: Packet analysis {"connection_id":163291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:58:23] local.INFO: Extracted packet for processing {"connection_id":163291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e92"} 
[2026-08-23 17:58:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596794112001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787487778000,"timestamp_ms":1787487778000,"timestamp_seconds":1787487778,"priority":1,"record_length":96,"hex_timestamp":"000001a02e92f4d0"} 
[2026-08-23 17:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 17:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596794112001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596794112001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:58:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:58:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596794112001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":163291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:58:23] local.INFO: GPS data processed {"connection_id":163291,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:58:23] local.INFO: Acknowledgment sent {"connection_id":163291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:58:29] local.INFO: TCP Data received {"connection_id":161890,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:58:29] local.INFO: Processing buffer {"connection_id":161890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:58:29] local.INFO: IMEI packet received {"connection_id":161890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":161890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:58:34] local.INFO: TCP Data received {"connection_id":161891,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:58:34] local.INFO: Processing buffer {"connection_id":161891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:58:34] local.INFO: IMEI packet received {"connection_id":161891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":161891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:58:34] local.INFO: TCP Data received {"connection_id":161890,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:58:34] local.INFO: Processing buffer {"connection_id":161890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:58:34] local.INFO: IMEI packet received {"connection_id":161890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":161890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:58:35] local.INFO: TCP Data received {"connection_id":161890,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02e971380012d18c300072150600045015726..."} 
[2026-08-23 17:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e971380012d18c300072150600045015726..."} 
[2026-08-23 17:58:35] local.INFO: Processing buffer {"connection_id":161890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e971380012d18c300072150600045015726..."} 
[2026-08-23 17:58:35] local.INFO: Packet analysis {"connection_id":161890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 17:58:35] local.INFO: Extracted packet for processing {"connection_id":161890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 17:58:35] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119623776,"longitude_deg":75.6597504,"latitude_deg":11.9623776,"altitude":69,"angle":343,"satellites":38,"speed":24,"hex_longitude":"2d18c300","hex_latitude":"07215060","is_valid_coordinates":true} 
[2026-08-23 17:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596939264001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15679456718880768,"note":"Value kept but may cause issues"} 
[2026-08-23 17:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382968596480,"note":"Value kept but may cause issues"} 
[2026-08-23 17:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787488048000,"timestamp_ms":1787488048000,"timestamp_seconds":1787488048,"priority":1,"record_length":96,"hex_timestamp":"000001a02e971380"} 
[2026-08-23 17:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 17:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596939264001,"66":14102,"106":206,"83":41984,"24":24,"16":15679456718880768,"45":1784551382968596480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 17:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596939264001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:58:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 17:58:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15679456718880768,"km_value":15679456718880.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382968596480,"description":"Unknown IO ID 45"} 
[2026-08-23 17:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596939264001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1784551382968596480}} 
[2026-08-23 17:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":161890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:58:35] local.INFO: GPS data processed {"connection_id":161890,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:58:35] local.INFO: Acknowledgment sent {"connection_id":161890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:58:39] local.INFO: TCP Data received {"connection_id":161891,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:58:39] local.INFO: Processing buffer {"connection_id":161891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:58:39] local.INFO: IMEI packet received {"connection_id":161891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":161891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:58:40] local.INFO: TCP Data received {"connection_id":161891,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e964478012d8cebc005c497c80010015d2a..."} 
[2026-08-23 17:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e964478012d8cebc005c497c80010015d2a..."} 
[2026-08-23 17:58:40] local.INFO: Processing buffer {"connection_id":161891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e964478012d8cebc005c497c80010015d2a..."} 
[2026-08-23 17:58:40] local.INFO: Packet analysis {"connection_id":161891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e96"} 
[2026-08-23 17:58:40] local.INFO: Extracted packet for processing {"connection_id":161891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e96"} 
[2026-08-23 17:58:40] local.INFO: GPS Element Parsed {"raw_longitude":764210112,"raw_latitude":96769992,"longitude_deg":76.4210112,"latitude_deg":9.6769992,"altitude":16,"angle":349,"satellites":42,"speed":21,"hex_longitude":"2d8cebc0","hex_latitude":"05c497c8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 17:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596922624001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122878314258890752,"note":"Value kept but may cause issues"} 
[2026-08-23 17:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8291619470427471872,"note":"Value kept but may cause issues"} 
[2026-08-23 17:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787487995000,"timestamp_ms":1787487995000,"timestamp_seconds":1787487995,"priority":1,"record_length":96,"hex_timestamp":"000001a02e964478"} 
[2026-08-23 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-08-23 17:58: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-08-23 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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-23 17:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 17:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596922624001,"66":12363,"207":206,"83":16384,"24":21,"16":122878314258890752,"45":-8291619470427471872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-23 17:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596922624001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:58:40] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-23 17:58:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 17:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122878314258890752,"km_value":122878314258890.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8291619470427471872,"description":"Unknown IO ID 45"} 
[2026-08-23 17:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596922624001,"power":12363,"unknown_207":206,"unknown_83":16384,"ignition":21,"odometer":null,"unknown_45":-8291619470427471872}} 
[2026-08-23 17:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":161891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:58:40] local.INFO: GPS data processed {"connection_id":161891,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:58:40] local.INFO: Acknowledgment sent {"connection_id":161891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:58:45] local.INFO: TCP Data received {"connection_id":160942,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:58:45] local.INFO: Processing buffer {"connection_id":160942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:58:45] local.INFO: IMEI packet received {"connection_id":160942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":160942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:58:50] local.INFO: TCP Data received {"connection_id":160942,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:58:50] local.INFO: Processing buffer {"connection_id":160942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:58:50] local.INFO: IMEI packet received {"connection_id":160942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":160942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:58:52] local.INFO: TCP Data received {"connection_id":160942,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 17:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 17:58:52] local.INFO: Processing buffer {"connection_id":160942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 17:58:52] local.INFO: Packet analysis {"connection_id":160942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 17:58:52] local.INFO: Extracted packet for processing {"connection_id":160942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 17:58:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596871168001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787488079000,"timestamp_ms":1787488079000,"timestamp_seconds":1787488079,"priority":1,"record_length":96,"hex_timestamp":"000001a02e978c98"} 
[2026-08-23 17:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 17:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596871168001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596871168001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:58:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:58:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596871168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":160942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:58:52] local.INFO: GPS data processed {"connection_id":160942,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:58:52] local.INFO: Acknowledgment sent {"connection_id":160942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:59:06] local.INFO: TCP Data received {"connection_id":161890,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02e971b50012d18c100072154980046014726..."} 
[2026-08-23 17:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e971b50012d18c100072154980046014726..."} 
[2026-08-23 17:59:06] local.INFO: Processing buffer {"connection_id":161890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e971b50012d18c100072154980046014726..."} 
[2026-08-23 17:59:06] local.INFO: Packet analysis {"connection_id":161890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 17:59:06] local.INFO: Extracted packet for processing {"connection_id":161890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 17:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756596992,"raw_latitude":119624856,"longitude_deg":75.6596992,"latitude_deg":11.9624856,"altitude":70,"angle":327,"satellites":38,"speed":22,"hex_longitude":"2d18c100","hex_latitude":"07215498","is_valid_coordinates":true} 
[2026-08-23 17:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596940288001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15679516848422912,"note":"Value kept but may cause issues"} 
[2026-08-23 17:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907992535040,"note":"Value kept but may cause issues"} 
[2026-08-23 17:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787488050000,"timestamp_ms":1787488050000,"timestamp_seconds":1787488050,"priority":1,"record_length":96,"hex_timestamp":"000001a02e971b50"} 
[2026-08-23 17:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-23 17:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596940288001,"66":14048,"106":206,"83":41984,"24":22,"16":15679516848422912,"45":1784269907992535040},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 17:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596940288001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:59:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 17:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15679516848422912,"km_value":15679516848422.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907992535040,"description":"Unknown IO ID 45"} 
[2026-08-23 17:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596940288001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1784269907992535040}} 
[2026-08-23 17:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":161890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:59:06] local.INFO: GPS data processed {"connection_id":161890,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:59:06] local.INFO: Acknowledgment sent {"connection_id":161890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:59:11] local.INFO: TCP Data received {"connection_id":161891,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e969298012d8ce4c005c4aec0000f01562a..."} 
[2026-08-23 17:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e969298012d8ce4c005c4aec0000f01562a..."} 
[2026-08-23 17:59:11] local.INFO: Processing buffer {"connection_id":161891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e969298012d8ce4c005c4aec0000f01562a..."} 
[2026-08-23 17:59:11] local.INFO: Packet analysis {"connection_id":161891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e96"} 
[2026-08-23 17:59:11] local.INFO: Extracted packet for processing {"connection_id":161891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e96"} 
[2026-08-23 17:59:11] local.INFO: GPS Element Parsed {"raw_longitude":764208320,"raw_latitude":96775872,"longitude_deg":76.420832,"latitude_deg":9.6775872,"altitude":15,"angle":342,"satellites":42,"speed":0,"hex_longitude":"2d8ce4c0","hex_latitude":"05c4aec0","is_valid_coordinates":true} 
[2026-08-23 17:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596926720001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122878619201568768,"note":"Value kept but may cause issues"} 
[2026-08-23 17:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8292323157866985472,"note":"Value kept but may cause issues"} 
[2026-08-23 17:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787488015000,"timestamp_ms":1787488015000,"timestamp_seconds":1787488015,"priority":1,"record_length":96,"hex_timestamp":"000001a02e969298"} 
[2026-08-23 17:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 17:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596926720001,"66":13472,"207":206,"83":16384,"24":0,"16":122878619201568768,"45":-8292323157866985472},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-23 17:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596926720001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:59:11] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-23 17:59:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 17:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122878619201568768,"km_value":122878619201568.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8292323157866985472,"description":"Unknown IO ID 45"} 
[2026-08-23 17:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596926720001,"power":13472,"unknown_207":206,"unknown_83":16384,"ignition":0,"odometer":null,"unknown_45":-8292323157866985472}} 
[2026-08-23 17:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":161891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688076,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:59:11] local.INFO: GPS data processed {"connection_id":161891,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:59:11] local.INFO: Acknowledgment sent {"connection_id":161891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:59:23] local.INFO: TCP Data received {"connection_id":160942,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 17:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 17:59:23] local.INFO: Processing buffer {"connection_id":160942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 17:59:23] local.INFO: Packet analysis {"connection_id":160942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 17:59:23] local.INFO: Extracted packet for processing {"connection_id":160942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 17:59:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596871168001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787488079000,"timestamp_ms":1787488079000,"timestamp_seconds":1787488079,"priority":1,"record_length":96,"hex_timestamp":"000001a02e978c98"} 
[2026-08-23 17:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 17:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596871168001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596871168001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:59:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:59:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596871168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":160942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:59:23] local.INFO: GPS data processed {"connection_id":160942,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:59:23] local.INFO: Acknowledgment sent {"connection_id":160942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:59:29] local.INFO: TCP Data received {"connection_id":160700,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:59:29] local.INFO: Processing buffer {"connection_id":160700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:59:29] local.INFO: IMEI packet received {"connection_id":160700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 17:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":160700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:59:29] local.INFO: TCP Data received {"connection_id":160700,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:59:29] local.INFO: Processing buffer {"connection_id":160700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:59:29] local.INFO: IMEI packet received {"connection_id":160700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":160700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:59:34] local.INFO: TCP Data received {"connection_id":160700,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:59:34] local.INFO: Processing buffer {"connection_id":160700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 17:59:34] local.INFO: IMEI packet received {"connection_id":160700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 17:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":160700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:59:35] local.INFO: TCP Data received {"connection_id":160700,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02e974e18012d18ad4007216f70004c013b27..."} 
[2026-08-23 17:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e974e18012d18ad4007216f70004c013b27..."} 
[2026-08-23 17:59:35] local.INFO: Processing buffer {"connection_id":160700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e974e18012d18ad4007216f70004c013b27..."} 
[2026-08-23 17:59:35] local.INFO: Packet analysis {"connection_id":160700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 17:59:35] local.INFO: Extracted packet for processing {"connection_id":160700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 17:59:35] local.INFO: GPS Element Parsed {"raw_longitude":756591936,"raw_latitude":119631728,"longitude_deg":75.6591936,"latitude_deg":11.9631728,"altitude":76,"angle":315,"satellites":39,"speed":23,"hex_longitude":"2d18ad40","hex_latitude":"07216f70","is_valid_coordinates":true} 
[2026-08-23 17:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596940800001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15679924870316032,"note":"Value kept but may cause issues"} 
[2026-08-23 17:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783706958039390208,"note":"Value kept but may cause issues"} 
[2026-08-23 17:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787488063000,"timestamp_ms":1787488063000,"timestamp_seconds":1787488063,"priority":1,"record_length":96,"hex_timestamp":"000001a02e974e18"} 
[2026-08-23 17:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 17:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 17:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 17:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 17:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596940800001,"66":14048,"106":206,"83":41984,"24":23,"16":15679924870316032,"45":1783706958039390208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 17:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 17:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 17:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596940800001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:59:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 17:59:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 17:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15679924870316032,"km_value":15679924870316.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783706958039390208,"description":"Unknown IO ID 45"} 
[2026-08-23 17:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596940800001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1783706958039390208}} 
[2026-08-23 17:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":160700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:59:35] local.INFO: GPS data processed {"connection_id":160700,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:59:35] local.INFO: Acknowledgment sent {"connection_id":160700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:59:39] local.INFO: TCP Data received {"connection_id":160701,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:59:39] local.INFO: Processing buffer {"connection_id":160701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:59:39] local.INFO: IMEI packet received {"connection_id":160701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 17:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":160701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:59:44] local.INFO: TCP Data received {"connection_id":160701,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:59:44] local.INFO: Processing buffer {"connection_id":160701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 17:59:44] local.INFO: IMEI packet received {"connection_id":160701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 17:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":160701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:59:45] local.INFO: TCP Data received {"connection_id":160701,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e96e4a0012d8ce4c005c4aec0000f015626..."} 
[2026-08-23 17:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e96e4a0012d8ce4c005c4aec0000f015626..."} 
[2026-08-23 17:59:45] local.INFO: Processing buffer {"connection_id":160701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e96e4a0012d8ce4c005c4aec0000f015626..."} 
[2026-08-23 17:59:45] local.INFO: Packet analysis {"connection_id":160701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e96"} 
[2026-08-23 17:59:45] local.INFO: Extracted packet for processing {"connection_id":160701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e96"} 
[2026-08-23 17:59:45] local.INFO: GPS Element Parsed {"raw_longitude":764208320,"raw_latitude":96775872,"longitude_deg":76.420832,"latitude_deg":9.6775872,"altitude":15,"angle":342,"satellites":38,"speed":0,"hex_longitude":"2d8ce4c0","hex_latitude":"05c4aec0","is_valid_coordinates":true} 
[2026-08-23 17:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596931840001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122878619201568768,"note":"Value kept but may cause issues"} 
[2026-08-23 17:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8294293482702454784,"note":"Value kept but may cause issues"} 
[2026-08-23 17:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787488036000,"timestamp_ms":1787488036000,"timestamp_seconds":1787488036,"priority":1,"record_length":96,"hex_timestamp":"000001a02e96e4a0"} 
[2026-08-23 17:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 17:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-23 17:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596931840001,"66":13374,"207":206,"83":16384,"24":0,"16":122878619201568768,"45":-8294293482702454784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-23 17:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596931840001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:59:45] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-23 17:59:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 17:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122878619201568768,"km_value":122878619201568.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8294293482702454784,"description":"Unknown IO ID 45"} 
[2026-08-23 17:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596931840001,"power":13374,"unknown_207":206,"unknown_83":16384,"ignition":0,"odometer":null,"unknown_45":-8294293482702454784}} 
[2026-08-23 17:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":160701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:59:45] local.INFO: GPS data processed {"connection_id":160701,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:59:45] local.INFO: Acknowledgment sent {"connection_id":160701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:59:45] local.INFO: TCP Data received {"connection_id":160943,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:59:45] local.INFO: Processing buffer {"connection_id":160943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:59:45] local.INFO: IMEI packet received {"connection_id":160943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 17:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":160943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 17:59:50] local.INFO: TCP Data received {"connection_id":160701,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e970f98012d8ce3c005c4b090000e014b2a..."} 
[2026-08-23 17:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e970f98012d8ce3c005c4b090000e014b2a..."} 
[2026-08-23 17:59:50] local.INFO: Processing buffer {"connection_id":160701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e970f98012d8ce3c005c4b090000e014b2a..."} 
[2026-08-23 17:59:50] local.INFO: Packet analysis {"connection_id":160701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 17:59:50] local.INFO: Extracted packet for processing {"connection_id":160701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 17:59:50] local.INFO: GPS Element Parsed {"raw_longitude":764208064,"raw_latitude":96776336,"longitude_deg":76.4208064,"latitude_deg":9.6776336,"altitude":14,"angle":331,"satellites":42,"speed":1,"hex_longitude":"2d8ce3c0","hex_latitude":"05c4b090","is_valid_coordinates":true} 
[2026-08-23 17:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596937216001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122878644971372544,"note":"Value kept but may cause issues"} 
[2026-08-23 17:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8294293482702454784,"note":"Value kept but may cause issues"} 
[2026-08-23 17:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787488047000,"timestamp_ms":1787488047000,"timestamp_seconds":1787488047,"priority":1,"record_length":96,"hex_timestamp":"000001a02e970f98"} 
[2026-08-23 17:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:59: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-08-23 17:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-23 17:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":160701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":160701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":160701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 17:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 17:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 17:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596937216001,"66":13189,"207":206,"83":16384,"24":1,"16":122878644971372544,"45":-8294293482702454784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-23 17:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 17:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 17:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596937216001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:59:50] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-23 17:59:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 17:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122878644971372544,"km_value":122878644971372.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8294293482702454784,"description":"Unknown IO ID 45"} 
[2026-08-23 17:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596937216001,"power":13189,"unknown_207":206,"unknown_83":16384,"ignition":1,"odometer":null,"unknown_45":-8294293482702454784}} 
[2026-08-23 17:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":160701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688080,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:59:50] local.INFO: GPS data processed {"connection_id":160701,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:59:50] local.INFO: Acknowledgment sent {"connection_id":160701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 17:59:51] local.INFO: TCP Data received {"connection_id":160943,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:59:51] local.INFO: Processing buffer {"connection_id":160943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 17:59:51] local.INFO: IMEI packet received {"connection_id":160943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 17:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":160943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 17:59:52] local.INFO: TCP Data received {"connection_id":160943,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 17:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 17:59:52] local.INFO: Processing buffer {"connection_id":160943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 17:59:52] local.INFO: Packet analysis {"connection_id":160943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 17:59:52] local.INFO: Extracted packet for processing {"connection_id":160943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 17:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 17:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 17:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596871168001,"note":"Value kept but may cause issues"} 
[2026-08-23 17:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 17:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 17:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 17:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787488079000,"timestamp_ms":1787488079000,"timestamp_seconds":1787488079,"priority":1,"record_length":96,"hex_timestamp":"000001a02e978c98"} 
[2026-08-23 17:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 17:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 17:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 17:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 17:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 17:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 17:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 17:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 17:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 17:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 17:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 17:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 17:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596871168001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 17:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 17:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 17:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596871168001,"description":"Unknown IO ID 0"} 
[2026-08-23 17:59:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 17:59:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 17:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 17:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 17:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596871168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 17:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":160943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 17:59:52] local.INFO: GPS data processed {"connection_id":160943,"processed":1,"errors":0,"total":1} 
[2026-08-23 17:59:52] local.INFO: Acknowledgment sent {"connection_id":160943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:00:06] local.INFO: TCP Data received {"connection_id":160700,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02e98cce8012d18258007219f90004d014824..."} 
[2026-08-23 18:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e98cce8012d18258007219f90004d014824..."} 
[2026-08-23 18:00:06] local.INFO: Processing buffer {"connection_id":160700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e98cce8012d18258007219f90004d014824..."} 
[2026-08-23 18:00:06] local.INFO: Packet analysis {"connection_id":160700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e98"} 
[2026-08-23 18:00:06] local.INFO: Extracted packet for processing {"connection_id":160700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e98"} 
[2026-08-23 18:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119644048,"longitude_deg":75.6557184,"latitude_deg":11.9644048,"altitude":77,"angle":328,"satellites":36,"speed":6,"hex_longitude":"2d182580","hex_latitude":"07219f90","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596967936001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15681724461613056,"note":"Value kept but may cause issues"} 
[2026-08-23 18:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740570917863264256,"note":"Value kept but may cause issues"} 
[2026-08-23 18:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787488161000,"timestamp_ms":1787488161000,"timestamp_seconds":1787488161,"priority":1,"record_length":96,"hex_timestamp":"000001a02e98cce8"} 
[2026-08-23 18:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 18:00:06] 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-08-23 18: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-08-23 18:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596967936001,"66":14004,"105":206,"83":41984,"24":6,"16":15681724461613056,"45":1740570917863264256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596967936001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:00:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15681724461613056,"km_value":15681724461613.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740570917863264256,"description":"Unknown IO ID 45"} 
[2026-08-23 18:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596967936001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1740570917863264256}} 
[2026-08-23 18:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":160700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:00:06] local.INFO: GPS data processed {"connection_id":160700,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:00:06] local.INFO: Acknowledgment sent {"connection_id":160700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:00:23] local.INFO: TCP Data received {"connection_id":160943,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 18:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 18:00:23] local.INFO: Processing buffer {"connection_id":160943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 18:00:23] local.INFO: Packet analysis {"connection_id":160943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 18:00:23] local.INFO: Extracted packet for processing {"connection_id":160943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 18:00:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596871168001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787488079000,"timestamp_ms":1787488079000,"timestamp_seconds":1787488079,"priority":1,"record_length":96,"hex_timestamp":"000001a02e978c98"} 
[2026-08-23 18:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 18:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596871168001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596871168001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:00:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:00:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596871168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":160943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:00:23] local.INFO: GPS data processed {"connection_id":160943,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:00:23] local.INFO: Acknowledgment sent {"connection_id":160943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:00:27] local.INFO: TCP Data received {"connection_id":161892,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:00:27] local.INFO: Processing buffer {"connection_id":161892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:00:27] local.INFO: IMEI packet received {"connection_id":161892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":161892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:00:28] local.INFO: TCP Data received {"connection_id":161892,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:00:28] local.INFO: Processing buffer {"connection_id":161892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:00:28] local.INFO: IMEI packet received {"connection_id":161892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":161892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:00:29] local.INFO: TCP Data received {"connection_id":161892,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:00:29] local.INFO: Processing buffer {"connection_id":161892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:00:29] local.INFO: IMEI packet received {"connection_id":161892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":161892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:00:29] local.INFO: TCP Data received {"connection_id":161892,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:00:29] local.INFO: Processing buffer {"connection_id":161892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:00:29] local.INFO: IMEI packet received {"connection_id":161892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":161892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:00:34] local.INFO: TCP Data received {"connection_id":161893,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:00:34] local.INFO: Processing buffer {"connection_id":161893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:00:34] local.INFO: IMEI packet received {"connection_id":161893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":161893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:00:39] local.INFO: TCP Data received {"connection_id":161893,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:00:39] local.INFO: Processing buffer {"connection_id":161893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:00:39] local.INFO: IMEI packet received {"connection_id":161893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":161893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:00:40] local.INFO: TCP Data received {"connection_id":161893,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9949e8012d8cdac005c51ca8000a01632a..."} 
[2026-08-23 18:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9949e8012d8cdac005c51ca8000a01632a..."} 
[2026-08-23 18:00:40] local.INFO: Processing buffer {"connection_id":161893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9949e8012d8cdac005c51ca8000a01632a..."} 
[2026-08-23 18:00:40] local.INFO: Packet analysis {"connection_id":161893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e99"} 
[2026-08-23 18:00:40] local.INFO: Extracted packet for processing {"connection_id":161893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e99"} 
[2026-08-23 18:00:40] local.INFO: GPS Element Parsed {"raw_longitude":764205760,"raw_latitude":96804008,"longitude_deg":76.420576,"latitude_deg":9.6804008,"altitude":10,"angle":355,"satellites":42,"speed":10,"hex_longitude":"2d8cdac0","hex_latitude":"05c51ca8","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596976128001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122880002181038080,"note":"Value kept but may cause issues"} 
[2026-08-23 18:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8297108232462706688,"note":"Value kept but may cause issues"} 
[2026-08-23 18:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787488193000,"timestamp_ms":1787488193000,"timestamp_seconds":1787488193,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9949e8"} 
[2026-08-23 18:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:00: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-08-23 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-23 18:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596976128001,"66":12526,"207":206,"83":16384,"24":10,"16":122880002181038080,"45":-8297108232462706688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-23 18:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596976128001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:00:40] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-23 18:00:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 18:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122880002181038080,"km_value":122880002181038.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8297108232462706688,"description":"Unknown IO ID 45"} 
[2026-08-23 18:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596976128001,"power":12526,"unknown_207":206,"unknown_83":16384,"ignition":10,"odometer":null,"unknown_45":-8297108232462706688}} 
[2026-08-23 18:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":161893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:00:40] local.INFO: GPS data processed {"connection_id":161893,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:00:40] local.INFO: Acknowledgment sent {"connection_id":161893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:00:46] local.INFO: TCP Data received {"connection_id":160702,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:00:46] local.INFO: Processing buffer {"connection_id":160702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:00:46] local.INFO: IMEI packet received {"connection_id":160702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":160702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:00:50] local.INFO: TCP Data received {"connection_id":160702,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:00:50] local.INFO: Processing buffer {"connection_id":160702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:00:50] local.INFO: IMEI packet received {"connection_id":160702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":160702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:00:51] local.INFO: TCP Data received {"connection_id":160702,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 18:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 18:00:51] local.INFO: Processing buffer {"connection_id":160702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 18:00:51] local.INFO: Packet analysis {"connection_id":160702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 18:00:51] local.INFO: Extracted packet for processing {"connection_id":160702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 18:00:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596871168001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787488079000,"timestamp_ms":1787488079000,"timestamp_seconds":1787488079,"priority":1,"record_length":96,"hex_timestamp":"000001a02e978c98"} 
[2026-08-23 18:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 18:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:00:51] 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-08-23 18:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596871168001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596871168001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:00:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:00:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596871168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":160702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:00:52] local.INFO: GPS data processed {"connection_id":160702,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:00:52] local.INFO: Acknowledgment sent {"connection_id":160702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:01:13] local.INFO: TCP Data received {"connection_id":161893,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e995d70012d8cdac005c521d8000a00052a..."} 
[2026-08-23 18:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e995d70012d8cdac005c521d8000a00052a..."} 
[2026-08-23 18:01:13] local.INFO: Processing buffer {"connection_id":161893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e995d70012d8cdac005c521d8000a00052a..."} 
[2026-08-23 18:01:13] local.INFO: Packet analysis {"connection_id":161893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e99"} 
[2026-08-23 18:01:13] local.INFO: Extracted packet for processing {"connection_id":161893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e99"} 
[2026-08-23 18:01:13] local.INFO: GPS Element Parsed {"raw_longitude":764205760,"raw_latitude":96805336,"longitude_deg":76.420576,"latitude_deg":9.6805336,"altitude":10,"angle":5,"satellites":42,"speed":12,"hex_longitude":"2d8cdac0","hex_latitude":"05c521d8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 18:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596977408001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122880066605547520,"note":"Value kept but may cause issues"} 
[2026-08-23 18:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8297108232462358528,"note":"Value kept but may cause issues"} 
[2026-08-23 18:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787488198000,"timestamp_ms":1787488198000,"timestamp_seconds":1787488198,"priority":1,"record_length":96,"hex_timestamp":"000001a02e995d70"} 
[2026-08-23 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-08-23 18:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-23 18:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 18:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596977408001,"66":13102,"207":206,"83":16384,"24":12,"16":122880066605547520,"45":-8297108232462358528},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-23 18:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596977408001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:01:13] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-23 18:01:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 18:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122880066605547520,"km_value":122880066605547.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8297108232462358528,"description":"Unknown IO ID 45"} 
[2026-08-23 18:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596977408001,"power":13102,"unknown_207":206,"unknown_83":16384,"ignition":12,"odometer":null,"unknown_45":-8297108232462358528}} 
[2026-08-23 18:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":161893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:01:13] local.INFO: GPS data processed {"connection_id":161893,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:01:13] local.INFO: Acknowledgment sent {"connection_id":161893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:01:23] local.INFO: TCP Data received {"connection_id":160702,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 18:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 18:01:23] local.INFO: Processing buffer {"connection_id":160702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 18:01:23] local.INFO: Packet analysis {"connection_id":160702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 18:01:23] local.INFO: Extracted packet for processing {"connection_id":160702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 18:01:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596871168001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787488079000,"timestamp_ms":1787488079000,"timestamp_seconds":1787488079,"priority":1,"record_length":96,"hex_timestamp":"000001a02e978c98"} 
[2026-08-23 18:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 18:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:01: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-08-23 18:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596871168001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596871168001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:01:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:01:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596871168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":160702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:01:23] local.INFO: GPS data processed {"connection_id":160702,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:01:23] local.INFO: Acknowledgment sent {"connection_id":160702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:01:34] local.INFO: TCP Data received {"connection_id":161894,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:01:34] local.INFO: Processing buffer {"connection_id":161894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:01:34] local.INFO: IMEI packet received {"connection_id":161894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":161894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:01:39] local.INFO: TCP Data received {"connection_id":161894,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:01:39] local.INFO: Processing buffer {"connection_id":161894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:01:39] local.INFO: IMEI packet received {"connection_id":161894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":161894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:01:40] local.INFO: TCP Data received {"connection_id":161894,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e99ab90012d8cdb8005c54128000b00072a..."} 
[2026-08-23 18:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e99ab90012d8cdb8005c54128000b00072a..."} 
[2026-08-23 18:01:40] local.INFO: Processing buffer {"connection_id":161894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e99ab90012d8cdb8005c54128000b00072a..."} 
[2026-08-23 18:01:40] local.INFO: Packet analysis {"connection_id":161894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e99"} 
[2026-08-23 18:01:40] local.INFO: Extracted packet for processing {"connection_id":161894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e99"} 
[2026-08-23 18:01:40] local.INFO: GPS Element Parsed {"raw_longitude":764205952,"raw_latitude":96813352,"longitude_deg":76.4205952,"latitude_deg":9.6813352,"altitude":11,"angle":7,"satellites":42,"speed":14,"hex_longitude":"2d8cdb80","hex_latitude":"05c54128","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596978688001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122880457447571456,"note":"Value kept but may cause issues"} 
[2026-08-23 18:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8297108232462018560,"note":"Value kept but may cause issues"} 
[2026-08-23 18:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787488218000,"timestamp_ms":1787488218000,"timestamp_seconds":1787488218,"priority":1,"record_length":96,"hex_timestamp":"000001a02e99ab90"} 
[2026-08-23 18:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:01: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-08-23 18: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-23 18:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596978688001,"66":13319,"210":206,"83":16384,"24":14,"16":122880457447571456,"45":-8297108232462018560},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,83,24,16,45]} 
[2026-08-23 18:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596978688001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:01:40] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-08-23 18:01:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 18:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122880457447571456,"km_value":122880457447571.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8297108232462018560,"description":"Unknown IO ID 45"} 
[2026-08-23 18:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596978688001,"power":13319,"unknown_210":206,"unknown_83":16384,"ignition":14,"odometer":null,"unknown_45":-8297108232462018560}} 
[2026-08-23 18:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":161894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688088,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:01:40] local.INFO: GPS data processed {"connection_id":161894,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:01:40] local.INFO: Acknowledgment sent {"connection_id":161894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:01:45] local.INFO: TCP Data received {"connection_id":163292,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:01:45] local.INFO: Processing buffer {"connection_id":163292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:01:45] local.INFO: IMEI packet received {"connection_id":163292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":163292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:01:50] local.INFO: TCP Data received {"connection_id":163292,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:01:50] local.INFO: Processing buffer {"connection_id":163292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:01:50] local.INFO: IMEI packet received {"connection_id":163292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":163292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:01:51] local.INFO: TCP Data received {"connection_id":163292,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 18:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 18:01:51] local.INFO: Processing buffer {"connection_id":163292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 18:01:51] local.INFO: Packet analysis {"connection_id":163292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 18:01:51] local.INFO: Extracted packet for processing {"connection_id":163292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 18:01:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596871168001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787488079000,"timestamp_ms":1787488079000,"timestamp_seconds":1787488079,"priority":1,"record_length":96,"hex_timestamp":"000001a02e978c98"} 
[2026-08-23 18:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 18:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596871168001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596871168001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:01:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:01:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596871168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":163292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:01:51] local.INFO: GPS data processed {"connection_id":163292,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:01:51] local.INFO: Acknowledgment sent {"connection_id":163292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:02:12] local.INFO: TCP Data received {"connection_id":161894,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e99bf18012d8cdb8005c54998000b01652a..."} 
[2026-08-23 18:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e99bf18012d8cdb8005c54998000b01652a..."} 
[2026-08-23 18:02:12] local.INFO: Processing buffer {"connection_id":161894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e99bf18012d8cdb8005c54998000b01652a..."} 
[2026-08-23 18:02:12] local.INFO: Packet analysis {"connection_id":161894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e99"} 
[2026-08-23 18:02:12] local.INFO: Extracted packet for processing {"connection_id":161894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e99"} 
[2026-08-23 18:02:12] local.INFO: GPS Element Parsed {"raw_longitude":764205952,"raw_latitude":96815512,"longitude_deg":76.4205952,"latitude_deg":9.6815512,"altitude":11,"angle":357,"satellites":42,"speed":18,"hex_longitude":"2d8cdb80","hex_latitude":"05c54998","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596983808001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122880560526786560,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8296897126227433472,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787488223000,"timestamp_ms":1787488223000,"timestamp_seconds":1787488223,"priority":1,"record_length":96,"hex_timestamp":"000001a02e99bf18"} 
[2026-08-23 18:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 18:02:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2363228165,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:12] local.WARNING: Large IO value detected {"io_id":142,"raw_value":2785017856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:12] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2565101569,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2630811854,"corrected_to":0} 
[2026-08-23 18:02:12] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2147861748,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:12] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2386493440,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3303727104,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:12] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57874783111369536,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:12] local.WARNING: Large IO value detected {"io_id":152,"raw_value":2943103651635298309,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:12] local.WARNING: Large IO value detected {"io_id":196,"raw_value":-3528570243596933376,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:12] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,210,83,24,241,157,16,143,160,93,45,192,33,10,42,66,207,142,73,28,54,1,240,248,227,46,197,4,113,205,150,222,32,41,239,52,2,180,5,12,15,7,152,196],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2630811854,"validated":0}]} 
[2026-08-23 18:02:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792641411388145664,"timestamp_seconds":792641411388145.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 18:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596983808001,"66":13135,"210":206,"83":16384,"24":18,"16":122880560526786560,"45":-8296897126227433472},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,83,24,16,45]} 
[2026-08-23 18:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596983808001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:02:12] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-08-23 18:02:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 18:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122880560526786560,"km_value":122880560526786.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8296897126227433472,"description":"Unknown IO ID 45"} 
[2026-08-23 18:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596983808001,"power":13135,"unknown_210":206,"unknown_83":16384,"ignition":18,"odometer":null,"unknown_45":-8296897126227433472}} 
[2026-08-23 18:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":161894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:02:12] local.INFO: GPS data processed {"connection_id":161894,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:02:12] local.INFO: Acknowledgment sent {"connection_id":161894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:02:23] local.INFO: TCP Data received {"connection_id":163292,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 18:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 18:02:23] local.INFO: Processing buffer {"connection_id":163292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 18:02:23] local.INFO: Packet analysis {"connection_id":163292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 18:02:23] local.INFO: Extracted packet for processing {"connection_id":163292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 18:02:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596871168001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787488079000,"timestamp_ms":1787488079000,"timestamp_seconds":1787488079,"priority":1,"record_length":96,"hex_timestamp":"000001a02e978c98"} 
[2026-08-23 18:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 18:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:02:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:02:23] 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-08-23 18:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596871168001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596871168001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:02:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:02:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596871168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":163292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:02:23] local.INFO: GPS data processed {"connection_id":163292,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:02:23] local.INFO: Acknowledgment sent {"connection_id":163292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:02:34] local.INFO: TCP Data received {"connection_id":160703,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:02:34] local.INFO: Processing buffer {"connection_id":160703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:02:34] local.INFO: IMEI packet received {"connection_id":160703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":160703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:02:34] local.INFO: TCP Data received {"connection_id":160703,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:02:34] local.INFO: Processing buffer {"connection_id":160703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:02:34] local.INFO: IMEI packet received {"connection_id":160703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":160703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:02:39] local.INFO: TCP Data received {"connection_id":160703,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:02:39] local.INFO: Processing buffer {"connection_id":160703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:02:39] local.INFO: IMEI packet received {"connection_id":160703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":160703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:02:42] local.INFO: TCP Data received {"connection_id":160703,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9a0180012d8cd70005c56c28000c015d2a..."} 
[2026-08-23 18:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9a0180012d8cd70005c56c28000c015d2a..."} 
[2026-08-23 18:02:42] local.INFO: Processing buffer {"connection_id":160703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9a0180012d8cd70005c56c28000c015d2a..."} 
[2026-08-23 18:02:42] local.INFO: Packet analysis {"connection_id":160703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9a"} 
[2026-08-23 18:02:42] local.INFO: Extracted packet for processing {"connection_id":160703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9a"} 
[2026-08-23 18:02:42] local.INFO: GPS Element Parsed {"raw_longitude":764204800,"raw_latitude":96824360,"longitude_deg":76.42048,"latitude_deg":9.682436,"altitude":12,"angle":349,"satellites":42,"speed":19,"hex_longitude":"2d8cd700","hex_latitude":"05c56c28","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596985088001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122880994318483456,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8296897126226880512,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787488240000,"timestamp_ms":1787488240000,"timestamp_seconds":1787488240,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9a0180"} 
[2026-08-23 18:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:02: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-08-23 18: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 18:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596985088001,"66":13319,"210":206,"83":16384,"24":19,"16":122880994318483456,"45":-8296897126226880512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,83,24,16,45]} 
[2026-08-23 18:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596985088001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:02:42] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-08-23 18:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 18:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122880994318483456,"km_value":122880994318483.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8296897126226880512,"description":"Unknown IO ID 45"} 
[2026-08-23 18:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596985088001,"power":13319,"unknown_210":206,"unknown_83":16384,"ignition":19,"odometer":null,"unknown_45":-8296897126226880512}} 
[2026-08-23 18:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":160703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:02:42] local.INFO: GPS data processed {"connection_id":160703,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:02:42] local.INFO: Acknowledgment sent {"connection_id":160703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:02:45] local.INFO: TCP Data received {"connection_id":161895,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:02:45] local.INFO: Processing buffer {"connection_id":161895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:02:45] local.INFO: IMEI packet received {"connection_id":161895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":161895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:02:50] local.INFO: TCP Data received {"connection_id":161895,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:02:50] local.INFO: Processing buffer {"connection_id":161895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:02:50] local.INFO: IMEI packet received {"connection_id":161895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":161895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:02:51] local.INFO: TCP Data received {"connection_id":161895,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 18:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 18:02:51] local.INFO: Processing buffer {"connection_id":161895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 18:02:51] local.INFO: Packet analysis {"connection_id":161895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 18:02:51] local.INFO: Extracted packet for processing {"connection_id":161895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 18:02:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596871168001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787488079000,"timestamp_ms":1787488079000,"timestamp_seconds":1787488079,"priority":1,"record_length":96,"hex_timestamp":"000001a02e978c98"} 
[2026-08-23 18:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 18:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:02:51] 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-08-23 18:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596871168001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596871168001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:02:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:02:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596871168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":161895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:02:51] local.INFO: GPS data processed {"connection_id":161895,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:02:51] local.INFO: Acknowledgment sent {"connection_id":161895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:03:14] local.INFO: TCP Data received {"connection_id":160703,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9c0908012d8cc5c005c639f80016016726..."} 
[2026-08-23 18:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9c0908012d8cc5c005c639f80016016726..."} 
[2026-08-23 18:03:14] local.INFO: Processing buffer {"connection_id":160703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9c0908012d8cc5c005c639f80016016726..."} 
[2026-08-23 18:03:14] local.INFO: Packet analysis {"connection_id":160703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:03:14] local.INFO: Extracted packet for processing {"connection_id":160703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:03:14] local.INFO: GPS Element Parsed {"raw_longitude":764200384,"raw_latitude":96877048,"longitude_deg":76.4200384,"latitude_deg":9.6877048,"altitude":22,"angle":359,"satellites":38,"speed":21,"hex_longitude":"2d8cc5c0","hex_latitude":"05c639f8","is_valid_coordinates":true} 
[2026-08-23 18:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597018368001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122883579888795648,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8304145106863548416,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787488373000,"timestamp_ms":1787488373000,"timestamp_seconds":1787488373,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9c0908"} 
[2026-08-23 18:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:03: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-08-23 18:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-23 18:03:14] 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-08-23 18:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597018368001,"66":13319,"209":206,"83":16384,"24":21,"16":122883579888795648,"45":-8304145106863548416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,45]} 
[2026-08-23 18:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597018368001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:03:14] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-23 18:03:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 18:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122883579888795648,"km_value":122883579888795.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8304145106863548416,"description":"Unknown IO ID 45"} 
[2026-08-23 18:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597018368001,"power":13319,"unknown_209":206,"unknown_83":16384,"ignition":21,"odometer":null,"unknown_45":-8304145106863548416}} 
[2026-08-23 18:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":160703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:03:14] local.INFO: GPS data processed {"connection_id":160703,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:03:14] local.INFO: Acknowledgment sent {"connection_id":160703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:03:23] local.INFO: TCP Data received {"connection_id":161895,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 18:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 18:03:23] local.INFO: Processing buffer {"connection_id":161895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e978c98012d34c58006aa4060001b01141f..."} 
[2026-08-23 18:03:23] local.INFO: Packet analysis {"connection_id":161895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 18:03:23] local.INFO: Extracted packet for processing {"connection_id":161895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e97"} 
[2026-08-23 18:03:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596871168001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787488079000,"timestamp_ms":1787488079000,"timestamp_seconds":1787488079,"priority":1,"record_length":96,"hex_timestamp":"000001a02e978c98"} 
[2026-08-23 18:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 18:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:03:23] 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-08-23 18:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596871168001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596871168001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:03:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:03:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596871168001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":161895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:03:23] local.INFO: GPS data processed {"connection_id":161895,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:03:23] local.INFO: Acknowledgment sent {"connection_id":161895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:03:36] local.INFO: TCP Data received {"connection_id":163294,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:03:36] local.INFO: Processing buffer {"connection_id":163294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:03:36] local.INFO: IMEI packet received {"connection_id":163294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":163294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:03:39] local.INFO: TCP Data received {"connection_id":163294,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:03:39] local.INFO: Processing buffer {"connection_id":163294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:03:39] local.INFO: IMEI packet received {"connection_id":163294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":163294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:03:44] local.INFO: TCP Data received {"connection_id":163294,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:03:44] local.INFO: Processing buffer {"connection_id":163294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:03:44] local.INFO: IMEI packet received {"connection_id":163294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":163294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:03:45] local.INFO: TCP Data received {"connection_id":161896,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:03:45] local.INFO: Processing buffer {"connection_id":161896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:03:45] local.INFO: IMEI packet received {"connection_id":161896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":161896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:03:46] local.INFO: TCP Data received {"connection_id":163294,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9c3400012d8cc28005c656f00013015a28..."} 
[2026-08-23 18:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9c3400012d8cc28005c656f00013015a28..."} 
[2026-08-23 18:03:46] local.INFO: Processing buffer {"connection_id":163294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9c3400012d8cc28005c656f00013015a28..."} 
[2026-08-23 18:03:46] local.INFO: Packet analysis {"connection_id":163294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:03:46] local.INFO: Extracted packet for processing {"connection_id":163294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:03:46] local.INFO: GPS Element Parsed {"raw_longitude":764199552,"raw_latitude":96884464,"longitude_deg":76.4199552,"latitude_deg":9.6884464,"altitude":19,"angle":346,"satellites":40,"speed":27,"hex_longitude":"2d8cc280","hex_latitude":"05c656f0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597023488001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122883944961015808,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8303019206954584064,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787488384000,"timestamp_ms":1787488384000,"timestamp_seconds":1787488384,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9c3400"} 
[2026-08-23 18:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:03: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-08-23 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 18:03:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2361802757,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:46] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2602221569,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:46] local.WARNING: Large IO value detected {"io_id":197,"raw_value":-3542081051070355456,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2731671758,"corrected_to":0} 
[2026-08-23 18:03:46] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3758173580,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:46] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154082,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:46] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2428764160,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3318667264,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:46] local.WARNING: Large IO value detected {"io_id":215,"raw_value":57881393066038080,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:46] local.WARNING: Large IO value detected {"io_id":154,"raw_value":-2013107738287620091,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:46] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,209,83,24,241,157,16,145,160,186,45,192,25,40,10,66,210,167,14,15,41,104,128,1,240,51,227,46,197,4,113,205,2,235,198,120,239,50,180,5,13,9,215,154],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2731671758,"validated":0}]} 
[2026-08-23 18:03:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1585661956718919680,"timestamp_seconds":1585661956718919.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 18:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597023488001,"66":13363,"211":206,"83":16384,"24":27,"16":122883944961015808,"45":-8303019206954584064},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,83,24,16,45]} 
[2026-08-23 18:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597023488001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:03:46] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-23 18:03:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 18:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122883944961015808,"km_value":122883944961015.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8303019206954584064,"description":"Unknown IO ID 45"} 
[2026-08-23 18:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597023488001,"power":13363,"unknown_211":206,"unknown_83":16384,"ignition":27,"odometer":null,"unknown_45":-8303019206954584064}} 
[2026-08-23 18:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":163294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:03:46] local.INFO: GPS data processed {"connection_id":163294,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:03:46] local.INFO: Acknowledgment sent {"connection_id":163294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:03:51] local.INFO: TCP Data received {"connection_id":161896,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:03:51] local.INFO: Processing buffer {"connection_id":161896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:03:51] local.INFO: IMEI packet received {"connection_id":161896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":161896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:03:52] local.INFO: TCP Data received {"connection_id":161896,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:03:52] local.INFO: Processing buffer {"connection_id":161896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:03:52] local.INFO: Packet analysis {"connection_id":161896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:03:52] local.INFO: Extracted packet for processing {"connection_id":161896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:03:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596948224001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787488380000,"timestamp_ms":1787488380000,"timestamp_seconds":1787488380,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9c2460"} 
[2026-08-23 18:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 18:03:52] 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-08-23 18:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596948224001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596948224001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:03:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:03:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596948224001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":161896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:03:52] local.INFO: GPS data processed {"connection_id":161896,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:03:52] local.INFO: Acknowledgment sent {"connection_id":161896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:04:17] local.INFO: TCP Data received {"connection_id":163294,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9c43a0012d8cc14005c661d00011016727..."} 
[2026-08-23 18:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9c43a0012d8cc14005c661d00011016727..."} 
[2026-08-23 18:04:17] local.INFO: Processing buffer {"connection_id":163294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9c43a0012d8cc14005c661d00011016727..."} 
[2026-08-23 18:04:17] local.INFO: Packet analysis {"connection_id":163294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:04:17] local.INFO: Extracted packet for processing {"connection_id":163294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:04:17] local.INFO: GPS Element Parsed {"raw_longitude":764199232,"raw_latitude":96887248,"longitude_deg":76.4199232,"latitude_deg":9.6887248,"altitude":17,"angle":359,"satellites":39,"speed":26,"hex_longitude":"2d8cc140","hex_latitude":"05c661d0","is_valid_coordinates":true} 
[2026-08-23 18:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597026304001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122884078105001984,"note":"Value kept but may cause issues"} 
[2026-08-23 18:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8303934000626995200,"note":"Value kept but may cause issues"} 
[2026-08-23 18:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787488388000,"timestamp_ms":1787488388000,"timestamp_seconds":1787488388,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9c43a0"} 
[2026-08-23 18:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-23 18:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597026304001,"66":13243,"211":206,"83":16384,"24":26,"16":122884078105001984,"45":-8303934000626995200},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,83,24,16,45]} 
[2026-08-23 18:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597026304001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:04:17] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-23 18:04:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 18:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122884078105001984,"km_value":122884078105001.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8303934000626995200,"description":"Unknown IO ID 45"} 
[2026-08-23 18:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597026304001,"power":13243,"unknown_211":206,"unknown_83":16384,"ignition":26,"odometer":null,"unknown_45":-8303934000626995200}} 
[2026-08-23 18:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":163294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:04:17] local.INFO: GPS data processed {"connection_id":163294,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:04:17] local.INFO: Acknowledgment sent {"connection_id":163294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:04:23] local.INFO: TCP Data received {"connection_id":161896,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:04:23] local.INFO: Processing buffer {"connection_id":161896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:04:23] local.INFO: Packet analysis {"connection_id":161896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:04:23] local.INFO: Extracted packet for processing {"connection_id":161896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:04:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596948224001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787488380000,"timestamp_ms":1787488380000,"timestamp_seconds":1787488380,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9c2460"} 
[2026-08-23 18:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 18:04:23] 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-08-23 18:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596948224001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596948224001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:04:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:04:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596948224001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":161896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:04:23] local.INFO: GPS data processed {"connection_id":161896,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:04:23] local.INFO: Acknowledgment sent {"connection_id":161896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:04:34] local.INFO: TCP Data received {"connection_id":160704,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:04:34] local.INFO: Processing buffer {"connection_id":160704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:04:34] local.INFO: IMEI packet received {"connection_id":160704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":160704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:04:35] local.INFO: TCP Data received {"connection_id":160704,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:04:35] local.INFO: Processing buffer {"connection_id":160704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:04:35] local.INFO: IMEI packet received {"connection_id":160704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":160704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:04:39] local.INFO: TCP Data received {"connection_id":160704,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:04:39] local.INFO: Processing buffer {"connection_id":160704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:04:39] local.INFO: IMEI packet received {"connection_id":160704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":160704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:04:45] local.INFO: TCP Data received {"connection_id":163295,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:04:45] local.INFO: Processing buffer {"connection_id":163295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:04:45] local.INFO: IMEI packet received {"connection_id":163295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":163295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:04:51] local.INFO: TCP Data received {"connection_id":163295,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:04:51] local.INFO: Processing buffer {"connection_id":163295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:04:51] local.INFO: IMEI packet received {"connection_id":163295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":163295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:04:52] local.INFO: TCP Data received {"connection_id":163295,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:04:52] local.INFO: Processing buffer {"connection_id":163295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:04:52] local.INFO: Packet analysis {"connection_id":163295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:04:52] local.INFO: Extracted packet for processing {"connection_id":163295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596948224001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787488380000,"timestamp_ms":1787488380000,"timestamp_seconds":1787488380,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9c2460"} 
[2026-08-23 18:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 18:04:52] 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-08-23 18:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:04:52] 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-08-23 18:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596948224001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596948224001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:04:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596948224001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":163295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:04:52] local.INFO: GPS data processed {"connection_id":163295,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:04:52] local.INFO: Acknowledgment sent {"connection_id":163295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:05:18] local.INFO: TCP Data received {"connection_id":160704,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9c7668012d8cc2c005c68488000e016226..."} 
[2026-08-23 18:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9c7668012d8cc2c005c68488000e016226..."} 
[2026-08-23 18:05:18] local.INFO: Processing buffer {"connection_id":160704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9c7668012d8cc2c005c68488000e016226..."} 
[2026-08-23 18:05:18] local.INFO: Packet analysis {"connection_id":160704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:05:18] local.INFO: Extracted packet for processing {"connection_id":160704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:05:18] local.INFO: GPS Element Parsed {"raw_longitude":764199616,"raw_latitude":96896136,"longitude_deg":76.4199616,"latitude_deg":9.6896136,"altitude":14,"angle":354,"satellites":38,"speed":24,"hex_longitude":"2d8cc2c0","hex_latitude":"05c68488","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597027328001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122884511896698880,"note":"Value kept but may cause issues"} 
[2026-08-23 18:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8304285844347170816,"note":"Value kept but may cause issues"} 
[2026-08-23 18:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787488401000,"timestamp_ms":1787488401000,"timestamp_seconds":1787488401,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9c7668"} 
[2026-08-23 18:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-23 18:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597027328001,"66":13417,"211":206,"83":16384,"24":24,"16":122884511896698880,"45":-8304285844347170816},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,83,24,16,45]} 
[2026-08-23 18:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597027328001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:05:18] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-23 18:05:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 18:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122884511896698880,"km_value":122884511896698.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8304285844347170816,"description":"Unknown IO ID 45"} 
[2026-08-23 18:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597027328001,"power":13417,"unknown_211":206,"unknown_83":16384,"ignition":24,"odometer":null,"unknown_45":-8304285844347170816}} 
[2026-08-23 18:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":160704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:05:18] local.INFO: GPS data processed {"connection_id":160704,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:05:18] local.INFO: Acknowledgment sent {"connection_id":160704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:05:18] local.INFO: TCP Data received {"connection_id":160704,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9cad18012d8cc08005c6a8f8000a00042a..."} 
[2026-08-23 18:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9cad18012d8cc08005c6a8f8000a00042a..."} 
[2026-08-23 18:05:18] local.INFO: Processing buffer {"connection_id":160704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9cad18012d8cc08005c6a8f8000a00042a..."} 
[2026-08-23 18:05:18] local.INFO: Packet analysis {"connection_id":160704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:05:18] local.INFO: Extracted packet for processing {"connection_id":160704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:05:18] local.INFO: GPS Element Parsed {"raw_longitude":764199040,"raw_latitude":96905464,"longitude_deg":76.419904,"latitude_deg":9.6905464,"altitude":10,"angle":4,"satellites":42,"speed":27,"hex_longitude":"2d8cc080","hex_latitude":"05c6a8f8","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597030656001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122884967163232256,"note":"Value kept but may cause issues"} 
[2026-08-23 18:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8303863631879829504,"note":"Value kept but may cause issues"} 
[2026-08-23 18:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787488415000,"timestamp_ms":1787488415000,"timestamp_seconds":1787488415,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9cad18"} 
[2026-08-23 18:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-23 18:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597030656001,"66":13102,"211":206,"83":16384,"24":27,"16":122884967163232256,"45":-8303863631879829504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,83,24,16,45]} 
[2026-08-23 18:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597030656001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:05:18] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-23 18:05:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 18:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122884967163232256,"km_value":122884967163232.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8303863631879829504,"description":"Unknown IO ID 45"} 
[2026-08-23 18:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597030656001,"power":13102,"unknown_211":206,"unknown_83":16384,"ignition":27,"odometer":null,"unknown_45":-8303863631879829504}} 
[2026-08-23 18:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":160704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:05:18] local.INFO: GPS data processed {"connection_id":160704,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:05:18] local.INFO: Acknowledgment sent {"connection_id":160704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:05:23] local.INFO: TCP Data received {"connection_id":163295,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:05:23] local.INFO: Processing buffer {"connection_id":163295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:05:23] local.INFO: Packet analysis {"connection_id":163295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:05:23] local.INFO: Extracted packet for processing {"connection_id":163295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:05:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596948224001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787488380000,"timestamp_ms":1787488380000,"timestamp_seconds":1787488380,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9c2460"} 
[2026-08-23 18:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 18:05:23] 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-08-23 18:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596948224001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596948224001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:05:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:05:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596948224001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":163295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:05:23] local.INFO: GPS data processed {"connection_id":163295,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:05:23] local.INFO: Acknowledgment sent {"connection_id":163295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:05:34] local.INFO: TCP Data received {"connection_id":161897,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:05:34] local.INFO: Processing buffer {"connection_id":161897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:05:34] local.INFO: IMEI packet received {"connection_id":161897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":161897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:05:34] local.INFO: TCP Data received {"connection_id":163296,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:05:34] local.INFO: Processing buffer {"connection_id":163296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:05:34] local.INFO: IMEI packet received {"connection_id":163296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":163296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:05:35] local.INFO: TCP Data received {"connection_id":161897,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9be1f8012d1823000721b558005000c327..."} 
[2026-08-23 18:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9be1f8012d1823000721b558005000c327..."} 
[2026-08-23 18:05:35] local.INFO: Processing buffer {"connection_id":161897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9be1f8012d1823000721b558005000c327..."} 
[2026-08-23 18:05:35] local.INFO: Packet analysis {"connection_id":161897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9b"} 
[2026-08-23 18:05:35] local.INFO: Extracted packet for processing {"connection_id":161897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9b"} 
[2026-08-23 18:05:35] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649624,"longitude_deg":75.6556544,"latitude_deg":11.9649624,"altitude":80,"angle":195,"satellites":39,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b558","is_valid_coordinates":true} 
[2026-08-23 18:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597015552001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682166843244544,"note":"Value kept but may cause issues"} 
[2026-08-23 18:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725447168,"note":"Value kept but may cause issues"} 
[2026-08-23 18:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787488363000,"timestamp_ms":1787488363000,"timestamp_seconds":1787488363,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9be1f8"} 
[2026-08-23 18:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 18:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597015552001,"66":12917,"105":206,"83":41984,"24":0,"16":15682166843244544,"45":1739233911725447168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597015552001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:05:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:05:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682166843244544,"km_value":15682166843244.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725447168,"description":"Unknown IO ID 45"} 
[2026-08-23 18:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597015552001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725447168}} 
[2026-08-23 18:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":161897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:05:35] local.INFO: GPS data processed {"connection_id":161897,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:05:35] local.INFO: Acknowledgment sent {"connection_id":161897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:05:39] local.INFO: TCP Data received {"connection_id":163296,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:05:39] local.INFO: Processing buffer {"connection_id":163296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:05:39] local.INFO: IMEI packet received {"connection_id":163296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":163296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:05:40] local.INFO: TCP Data received {"connection_id":163296,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9e1c48012d8caa0005c7d8c8000b00002a..."} 
[2026-08-23 18:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9e1c48012d8caa0005c7d8c8000b00002a..."} 
[2026-08-23 18:05:40] local.INFO: Processing buffer {"connection_id":163296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9e1c48012d8caa0005c7d8c8000b00002a..."} 
[2026-08-23 18:05:40] local.INFO: Packet analysis {"connection_id":163296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9e"} 
[2026-08-23 18:05:40] local.INFO: Extracted packet for processing {"connection_id":163296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9e"} 
[2026-08-23 18:05:40] local.INFO: GPS Element Parsed {"raw_longitude":764193280,"raw_latitude":96983240,"longitude_deg":76.419328,"latitude_deg":9.698324,"altitude":11,"angle":0,"satellites":42,"speed":42,"hex_longitude":"2d8caa00","hex_latitude":"05c7d8c8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 18:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597056512001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122888763914321920,"note":"Value kept but may cause issues"} 
[2026-08-23 18:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8309141287672760320,"note":"Value kept but may cause issues"} 
[2026-08-23 18:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787488509000,"timestamp_ms":1787488509000,"timestamp_seconds":1787488509,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9e1c48"} 
[2026-08-23 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-08-23 18:05: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-08-23 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-23 18:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 18:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597056512001,"66":13102,"178":206,"83":16384,"24":42,"16":122888763914321920,"45":-8309141287672760320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,45]} 
[2026-08-23 18:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597056512001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:05:40] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-23 18:05:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 18:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122888763914321920,"km_value":122888763914321.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8309141287672760320,"description":"Unknown IO ID 45"} 
[2026-08-23 18:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597056512001,"power":13102,"unknown_178":206,"unknown_83":16384,"ignition":42,"odometer":null,"unknown_45":-8309141287672760320}} 
[2026-08-23 18:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":163296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:05:40] local.INFO: GPS data processed {"connection_id":163296,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:05:40] local.INFO: Acknowledgment sent {"connection_id":163296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:05:46] local.INFO: TCP Data received {"connection_id":161898,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:05:46] local.INFO: Processing buffer {"connection_id":161898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:05:46] local.INFO: IMEI packet received {"connection_id":161898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":161898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:05:50] local.INFO: TCP Data received {"connection_id":161898,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:05:50] local.INFO: Processing buffer {"connection_id":161898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:05:50] local.INFO: IMEI packet received {"connection_id":161898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":161898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:05:51] local.INFO: TCP Data received {"connection_id":161898,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:05:51] local.INFO: Processing buffer {"connection_id":161898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:05:51] local.INFO: Packet analysis {"connection_id":161898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:05:51] local.INFO: Extracted packet for processing {"connection_id":161898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:05:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596948224001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787488380000,"timestamp_ms":1787488380000,"timestamp_seconds":1787488380,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9c2460"} 
[2026-08-23 18:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 18:05:51] 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-08-23 18:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596948224001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596948224001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:05:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:05:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596948224001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":161898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:05:51] local.INFO: GPS data processed {"connection_id":161898,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:05:51] local.INFO: Acknowledgment sent {"connection_id":161898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:06:06] local.INFO: TCP Data received {"connection_id":161897,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9c3400012d1822c00721b4c8005300c328..."} 
[2026-08-23 18:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9c3400012d1822c00721b4c8005300c328..."} 
[2026-08-23 18:06:06] local.INFO: Processing buffer {"connection_id":161897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9c3400012d1822c00721b4c8005300c328..."} 
[2026-08-23 18:06:06] local.INFO: Packet analysis {"connection_id":161897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:06:06] local.INFO: Extracted packet for processing {"connection_id":161897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649480,"longitude_deg":75.655648,"latitude_deg":11.964948,"altitude":83,"angle":195,"satellites":40,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-08-23 18:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597020928001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682175433179136,"note":"Value kept but may cause issues"} 
[2026-08-23 18:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725447168,"note":"Value kept but may cause issues"} 
[2026-08-23 18:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787488384000,"timestamp_ms":1787488384000,"timestamp_seconds":1787488384,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9c3400"} 
[2026-08-23 18:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 18:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597020928001,"66":12863,"105":206,"83":41984,"24":0,"16":15682175433179136,"45":1739233911725447168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597020928001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:06:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682175433179136,"km_value":15682175433179.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725447168,"description":"Unknown IO ID 45"} 
[2026-08-23 18:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597020928001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725447168}} 
[2026-08-23 18:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":161897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:06:06] local.INFO: GPS data processed {"connection_id":161897,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:06:06] local.INFO: Acknowledgment sent {"connection_id":161897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:06:11] local.INFO: TCP Data received {"connection_id":163296,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9e4358012d8caac005c7fc30000a000128..."} 
[2026-08-23 18:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9e4358012d8caac005c7fc30000a000128..."} 
[2026-08-23 18:06:11] local.INFO: Processing buffer {"connection_id":163296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9e4358012d8caac005c7fc30000a000128..."} 
[2026-08-23 18:06:11] local.INFO: Packet analysis {"connection_id":163296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9e"} 
[2026-08-23 18:06:11] local.INFO: Extracted packet for processing {"connection_id":163296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9e"} 
[2026-08-23 18:06:11] local.INFO: GPS Element Parsed {"raw_longitude":764193472,"raw_latitude":96992304,"longitude_deg":76.4193472,"latitude_deg":9.6992304,"altitude":10,"angle":1,"satellites":40,"speed":38,"hex_longitude":"2d8caac0","hex_latitude":"05c7fc30","is_valid_coordinates":true} 
[2026-08-23 18:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597058304001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122889206295953408,"note":"Value kept but may cause issues"} 
[2026-08-23 18:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8310830137531119616,"note":"Value kept but may cause issues"} 
[2026-08-23 18:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787488519000,"timestamp_ms":1787488519000,"timestamp_seconds":1787488519,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9e4358"} 
[2026-08-23 18:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-23 18:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597058304001,"66":13135,"178":206,"83":16384,"24":38,"16":122889206295953408,"45":-8310830137531119616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,45]} 
[2026-08-23 18:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597058304001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:06:11] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-23 18:06:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 18:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122889206295953408,"km_value":122889206295953.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8310830137531119616,"description":"Unknown IO ID 45"} 
[2026-08-23 18:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597058304001,"power":13135,"unknown_178":206,"unknown_83":16384,"ignition":38,"odometer":null,"unknown_45":-8310830137531119616}} 
[2026-08-23 18:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":163296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:06:11] local.INFO: GPS data processed {"connection_id":163296,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:06:11] local.INFO: Acknowledgment sent {"connection_id":163296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:06:23] local.INFO: TCP Data received {"connection_id":161898,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:06:23] local.INFO: Processing buffer {"connection_id":161898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:06:23] local.INFO: Packet analysis {"connection_id":161898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:06:23] local.INFO: Extracted packet for processing {"connection_id":161898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:06:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596948224001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787488380000,"timestamp_ms":1787488380000,"timestamp_seconds":1787488380,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9c2460"} 
[2026-08-23 18:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 18:06:23] 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-08-23 18: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-08-23 18:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:06:23] 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-08-23 18:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596948224001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596948224001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:06:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:06:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596948224001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":161898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:06:23] local.INFO: GPS data processed {"connection_id":161898,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:06:23] local.INFO: Acknowledgment sent {"connection_id":161898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:06:29] local.INFO: TCP Data received {"connection_id":161899,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:06:29] local.INFO: Processing buffer {"connection_id":161899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:06:29] local.INFO: IMEI packet received {"connection_id":161899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":161899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:06:34] local.INFO: TCP Data received {"connection_id":163297,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:06:34] local.INFO: Processing buffer {"connection_id":163297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:06:34] local.INFO: IMEI packet received {"connection_id":163297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":163297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:06:34] local.INFO: TCP Data received {"connection_id":161899,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:06:34] local.INFO: Processing buffer {"connection_id":161899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:06:34] local.INFO: IMEI packet received {"connection_id":161899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":161899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:06:35] local.INFO: TCP Data received {"connection_id":161899,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9c8608012d1822c00721b4c8005300c329..."} 
[2026-08-23 18:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9c8608012d1822c00721b4c8005300c329..."} 
[2026-08-23 18:06:35] local.INFO: Processing buffer {"connection_id":161899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9c8608012d1822c00721b4c8005300c329..."} 
[2026-08-23 18:06:35] local.INFO: Packet analysis {"connection_id":161899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:06:35] local.INFO: Extracted packet for processing {"connection_id":161899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:06:35] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649480,"longitude_deg":75.655648,"latitude_deg":11.964948,"altitude":83,"angle":195,"satellites":41,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-08-23 18:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597026304001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682175433179136,"note":"Value kept but may cause issues"} 
[2026-08-23 18:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981232640,"note":"Value kept but may cause issues"} 
[2026-08-23 18:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787488405000,"timestamp_ms":1787488405000,"timestamp_seconds":1787488405,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9c8608"} 
[2026-08-23 18:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 18:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597026304001,"66":12863,"105":206,"83":41984,"24":0,"16":15682175433179136,"45":1739163542981232640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597026304001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:06:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:06:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682175433179136,"km_value":15682175433179.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981232640,"description":"Unknown IO ID 45"} 
[2026-08-23 18:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597026304001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981232640}} 
[2026-08-23 18:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":161899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:06:35] local.INFO: GPS data processed {"connection_id":161899,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:06:35] local.INFO: Acknowledgment sent {"connection_id":161899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:06:35] local.INFO: TCP Data received {"connection_id":163297,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:06:35] local.INFO: Processing buffer {"connection_id":163297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:06:35] local.INFO: IMEI packet received {"connection_id":163297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":163297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:06:39] local.INFO: TCP Data received {"connection_id":163297,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:06:39] local.INFO: Processing buffer {"connection_id":163297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:06:39] local.INFO: IMEI packet received {"connection_id":163297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":163297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:06:39] local.INFO: TCP Data received {"connection_id":163297,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9e6a68012d8cab4005c82040000a01652a..."} 
[2026-08-23 18:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9e6a68012d8cab4005c82040000a01652a..."} 
[2026-08-23 18:06:39] local.INFO: Processing buffer {"connection_id":163297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9e6a68012d8cab4005c82040000a01652a..."} 
[2026-08-23 18:06:39] local.INFO: Packet analysis {"connection_id":163297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9e"} 
[2026-08-23 18:06:39] local.INFO: Extracted packet for processing {"connection_id":163297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9e"} 
[2026-08-23 18:06:39] local.INFO: GPS Element Parsed {"raw_longitude":764193600,"raw_latitude":97001536,"longitude_deg":76.41936,"latitude_deg":9.7001536,"altitude":10,"angle":357,"satellites":42,"speed":38,"hex_longitude":"2d8cab40","hex_latitude":"05c82040","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597060864001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122889652972552192,"note":"Value kept but may cause issues"} 
[2026-08-23 18:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8310619031296266240,"note":"Value kept but may cause issues"} 
[2026-08-23 18:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787488529000,"timestamp_ms":1787488529000,"timestamp_seconds":1787488529,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9e6a68"} 
[2026-08-23 18:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:06: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-08-23 18: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 18:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597060864001,"66":13493,"179":206,"83":16384,"24":38,"16":122889652972552192,"45":-8310619031296266240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-08-23 18:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597060864001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:06:39] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-23 18:06:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 18:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122889652972552192,"km_value":122889652972552.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8310619031296266240,"description":"Unknown IO ID 45"} 
[2026-08-23 18:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597060864001,"power":13493,"unknown_179":206,"unknown_83":16384,"ignition":38,"odometer":null,"unknown_45":-8310619031296266240}} 
[2026-08-23 18:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":163297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:06:39] local.INFO: GPS data processed {"connection_id":163297,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:06:39] local.INFO: Acknowledgment sent {"connection_id":163297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:06:45] local.INFO: TCP Data received {"connection_id":161900,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:06:45] local.INFO: Processing buffer {"connection_id":161900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:06:45] local.INFO: IMEI packet received {"connection_id":161900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":161900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:06:50] local.INFO: TCP Data received {"connection_id":161900,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:06:50] local.INFO: Processing buffer {"connection_id":161900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:06:50] local.INFO: IMEI packet received {"connection_id":161900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":161900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:06:51] local.INFO: TCP Data received {"connection_id":161900,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:06:51] local.INFO: Processing buffer {"connection_id":161900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:06:51] local.INFO: Packet analysis {"connection_id":161900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:06:51] local.INFO: Extracted packet for processing {"connection_id":161900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:06:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596948224001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787488380000,"timestamp_ms":1787488380000,"timestamp_seconds":1787488380,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9c2460"} 
[2026-08-23 18:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 18:06:51] 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-08-23 18:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596948224001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596948224001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:06:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:06:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596948224001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":161900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:06:51] local.INFO: GPS data processed {"connection_id":161900,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:06:51] local.INFO: Acknowledgment sent {"connection_id":161900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:07:05] local.INFO: TCP Data received {"connection_id":161899,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9cd810012d1822c00721b4c8005300c329..."} 
[2026-08-23 18:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9cd810012d1822c00721b4c8005300c329..."} 
[2026-08-23 18:07:05] local.INFO: Processing buffer {"connection_id":161899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9cd810012d1822c00721b4c8005300c329..."} 
[2026-08-23 18:07:05] local.INFO: Packet analysis {"connection_id":161899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:07:05] local.INFO: Extracted packet for processing {"connection_id":161899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649480,"longitude_deg":75.655648,"latitude_deg":11.964948,"altitude":83,"angle":195,"satellites":41,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-08-23 18:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597031680001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682175433179136,"note":"Value kept but may cause issues"} 
[2026-08-23 18:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981232640,"note":"Value kept but may cause issues"} 
[2026-08-23 18:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787488426000,"timestamp_ms":1787488426000,"timestamp_seconds":1787488426,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9cd810"} 
[2026-08-23 18:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 18:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597031680001,"66":12841,"105":206,"83":41984,"24":0,"16":15682175433179136,"45":1739163542981232640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597031680001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:07:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:07:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682175433179136,"km_value":15682175433179.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981232640,"description":"Unknown IO ID 45"} 
[2026-08-23 18:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597031680001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981232640}} 
[2026-08-23 18:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":161899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:07:06] local.INFO: GPS data processed {"connection_id":161899,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:07:06] local.INFO: Acknowledgment sent {"connection_id":161899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:07:11] local.INFO: TCP Data received {"connection_id":163297,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9e9178012d8ca68005c842e0000801582a..."} 
[2026-08-23 18:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9e9178012d8ca68005c842e0000801582a..."} 
[2026-08-23 18:07:11] local.INFO: Processing buffer {"connection_id":163297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9e9178012d8ca68005c842e0000801582a..."} 
[2026-08-23 18:07:11] local.INFO: Packet analysis {"connection_id":163297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9e"} 
[2026-08-23 18:07:11] local.INFO: Extracted packet for processing {"connection_id":163297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9e"} 
[2026-08-23 18:07:11] local.INFO: GPS Element Parsed {"raw_longitude":764192384,"raw_latitude":97010400,"longitude_deg":76.4192384,"latitude_deg":9.70104,"altitude":8,"angle":344,"satellites":42,"speed":34,"hex_longitude":"2d8ca680","hex_latitude":"05c842e0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597063424001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122890086764249088,"note":"Value kept but may cause issues"} 
[2026-08-23 18:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8310478293805547520,"note":"Value kept but may cause issues"} 
[2026-08-23 18:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787488539000,"timestamp_ms":1787488539000,"timestamp_seconds":1787488539,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9e9178"} 
[2026-08-23 18:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-23 18:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597063424001,"66":13254,"179":206,"83":16384,"24":34,"16":122890086764249088,"45":-8310478293805547520},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-08-23 18:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597063424001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:07:11] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-23 18:07:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 18:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122890086764249088,"km_value":122890086764249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8310478293805547520,"description":"Unknown IO ID 45"} 
[2026-08-23 18:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597063424001,"power":13254,"unknown_179":206,"unknown_83":16384,"ignition":34,"odometer":null,"unknown_45":-8310478293805547520}} 
[2026-08-23 18:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":163297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:07:11] local.INFO: GPS data processed {"connection_id":163297,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:07:11] local.INFO: Acknowledgment sent {"connection_id":163297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:07:23] local.INFO: TCP Data received {"connection_id":161900,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:07:23] local.INFO: Processing buffer {"connection_id":161900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:07:23] local.INFO: Packet analysis {"connection_id":161900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:07:23] local.INFO: Extracted packet for processing {"connection_id":161900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:07:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596948224001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787488380000,"timestamp_ms":1787488380000,"timestamp_seconds":1787488380,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9c2460"} 
[2026-08-23 18:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 18:07:23] 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-08-23 18: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-08-23 18:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596948224001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596948224001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:07:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:07:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596948224001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":161900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:07:23] local.INFO: GPS data processed {"connection_id":161900,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:07:23] local.INFO: Acknowledgment sent {"connection_id":161900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:07:29] local.INFO: TCP Data received {"connection_id":160947,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:07:29] local.INFO: Processing buffer {"connection_id":160947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:07:29] local.INFO: IMEI packet received {"connection_id":160947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":160947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:07:34] local.INFO: TCP Data received {"connection_id":160947,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:07:34] local.INFO: Processing buffer {"connection_id":160947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:07:34] local.INFO: IMEI packet received {"connection_id":160947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":160947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:07:34] local.INFO: TCP Data received {"connection_id":161901,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:07:34] local.INFO: Processing buffer {"connection_id":161901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:07:34] local.INFO: IMEI packet received {"connection_id":161901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":161901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:07:35] local.INFO: TCP Data received {"connection_id":160947,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9d2a18012d1822c00721b4c8005300c329..."} 
[2026-08-23 18:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9d2a18012d1822c00721b4c8005300c329..."} 
[2026-08-23 18:07:35] local.INFO: Processing buffer {"connection_id":160947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9d2a18012d1822c00721b4c8005300c329..."} 
[2026-08-23 18:07:35] local.INFO: Packet analysis {"connection_id":160947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9d"} 
[2026-08-23 18:07:35] local.INFO: Extracted packet for processing {"connection_id":160947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9d"} 
[2026-08-23 18:07:35] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649480,"longitude_deg":75.655648,"latitude_deg":11.964948,"altitude":83,"angle":195,"satellites":41,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b4c8","is_valid_coordinates":true} 
[2026-08-23 18:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597037056001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682175433179136,"note":"Value kept but may cause issues"} 
[2026-08-23 18:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981232640,"note":"Value kept but may cause issues"} 
[2026-08-23 18:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787488447000,"timestamp_ms":1787488447000,"timestamp_seconds":1787488447,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9d2a18"} 
[2026-08-23 18:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 18:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597037056001,"66":12841,"105":206,"83":41984,"24":0,"16":15682175433179136,"45":1739163542981232640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597037056001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:07:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:07:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682175433179136,"km_value":15682175433179.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981232640,"description":"Unknown IO ID 45"} 
[2026-08-23 18:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597037056001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981232640}} 
[2026-08-23 18:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":160947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:07:35] local.INFO: GPS data processed {"connection_id":160947,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:07:35] local.INFO: Acknowledgment sent {"connection_id":160947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:07:37] local.INFO: TCP Data received {"connection_id":161901,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:07:37] local.INFO: Processing buffer {"connection_id":161901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:07:37] local.INFO: IMEI packet received {"connection_id":161901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":161901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:07:39] local.INFO: TCP Data received {"connection_id":161901,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:07:39] local.INFO: Processing buffer {"connection_id":161901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:07:39] local.INFO: IMEI packet received {"connection_id":161901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":161901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:07:45] local.INFO: TCP Data received {"connection_id":160705,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:07:45] local.INFO: Processing buffer {"connection_id":160705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:07:45] local.INFO: IMEI packet received {"connection_id":160705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":160705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:07:51] local.INFO: TCP Data received {"connection_id":160705,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:07:51] local.INFO: Processing buffer {"connection_id":160705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:07:51] local.INFO: IMEI packet received {"connection_id":160705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":160705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:07:52] local.INFO: TCP Data received {"connection_id":160705,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:07:52] local.INFO: Processing buffer {"connection_id":160705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:07:52] local.INFO: Packet analysis {"connection_id":160705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:07:52] local.INFO: Extracted packet for processing {"connection_id":160705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596948224001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787488380000,"timestamp_ms":1787488380000,"timestamp_seconds":1787488380,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9c2460"} 
[2026-08-23 18:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 18:07:52] 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-08-23 18:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596948224001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596948224001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:07:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596948224001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":160705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:07:52] local.INFO: GPS data processed {"connection_id":160705,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:07:52] local.INFO: Acknowledgment sent {"connection_id":160705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:08:01] local.INFO: TCP Data received {"connection_id":161901,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9e9178012d8ca68005c842e0000801582a..."} 
[2026-08-23 18:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9e9178012d8ca68005c842e0000801582a..."} 
[2026-08-23 18:08:01] local.INFO: Processing buffer {"connection_id":161901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9e9178012d8ca68005c842e0000801582a..."} 
[2026-08-23 18:08:01] local.INFO: Packet analysis {"connection_id":161901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9e"} 
[2026-08-23 18:08:01] local.INFO: Extracted packet for processing {"connection_id":161901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9e"} 
[2026-08-23 18:08:01] local.INFO: GPS Element Parsed {"raw_longitude":764192384,"raw_latitude":97010400,"longitude_deg":76.4192384,"latitude_deg":9.70104,"altitude":8,"angle":344,"satellites":42,"speed":34,"hex_longitude":"2d8ca680","hex_latitude":"05c842e0","is_valid_coordinates":true} 
[2026-08-23 18:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597065984001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122890086764249088,"note":"Value kept but may cause issues"} 
[2026-08-23 18:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8311815299942653952,"note":"Value kept but may cause issues"} 
[2026-08-23 18:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787488539000,"timestamp_ms":1787488539000,"timestamp_seconds":1787488539,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9e9178"} 
[2026-08-23 18:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:08: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-08-23 18:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-23 18:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597065984001,"66":13254,"179":206,"83":16384,"24":34,"16":122890086764249088,"45":-8311815299942653952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-08-23 18:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597065984001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:08:01] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-23 18:08:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 18:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122890086764249088,"km_value":122890086764249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8311815299942653952,"description":"Unknown IO ID 45"} 
[2026-08-23 18:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597065984001,"power":13254,"unknown_179":206,"unknown_83":16384,"ignition":34,"odometer":null,"unknown_45":-8311815299942653952}} 
[2026-08-23 18:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":161901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:08:01] local.INFO: GPS data processed {"connection_id":161901,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:08:01] local.INFO: Acknowledgment sent {"connection_id":161901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:08:06] local.INFO: TCP Data received {"connection_id":160947,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9d60c8012d1822800721b480004e00d929..."} 
[2026-08-23 18:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9d60c8012d1822800721b480004e00d929..."} 
[2026-08-23 18:08:06] local.INFO: Processing buffer {"connection_id":160947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9d60c8012d1822800721b480004e00d929..."} 
[2026-08-23 18:08:06] local.INFO: Packet analysis {"connection_id":160947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9d"} 
[2026-08-23 18:08:06] local.INFO: Extracted packet for processing {"connection_id":160947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9d"} 
[2026-08-23 18:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649408,"longitude_deg":75.6556416,"latitude_deg":11.9649408,"altitude":78,"angle":217,"satellites":41,"speed":2,"hex_longitude":"2d182280","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-08-23 18:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597042432001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682179728146432,"note":"Value kept but may cause issues"} 
[2026-08-23 18:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981232640,"note":"Value kept but may cause issues"} 
[2026-08-23 18:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787488461000,"timestamp_ms":1787488461000,"timestamp_seconds":1787488461,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9d60c8"} 
[2026-08-23 18:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 18:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597042432001,"66":12841,"105":206,"83":41984,"24":2,"16":15682179728146432,"45":1739163542981232640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597042432001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:08:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682179728146432,"km_value":15682179728146.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981232640,"description":"Unknown IO ID 45"} 
[2026-08-23 18:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597042432001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739163542981232640}} 
[2026-08-23 18:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":160947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:08:06] local.INFO: GPS data processed {"connection_id":160947,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:08:06] local.INFO: Acknowledgment sent {"connection_id":160947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:08:23] local.INFO: TCP Data received {"connection_id":160705,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:08:23] local.INFO: Processing buffer {"connection_id":160705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9c2460012d34c58006aa4060001b01141c..."} 
[2026-08-23 18:08:23] local.INFO: Packet analysis {"connection_id":160705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:08:23] local.INFO: Extracted packet for processing {"connection_id":160705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9c"} 
[2026-08-23 18:08:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457596948224001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787488380000,"timestamp_ms":1787488380000,"timestamp_seconds":1787488380,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9c2460"} 
[2026-08-23 18:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 18:08:23] 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-08-23 18:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457596948224001,"66":25473,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457596948224001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:08:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:08:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457596948224001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":160705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:08:23] local.INFO: GPS data processed {"connection_id":160705,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:08:23] local.INFO: Acknowledgment sent {"connection_id":160705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:08:29] local.INFO: TCP Data received {"connection_id":163298,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:08:29] local.INFO: Processing buffer {"connection_id":163298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:08:29] local.INFO: IMEI packet received {"connection_id":163298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":163298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:08:33] local.INFO: TCP Data received {"connection_id":163298,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:08:33] local.INFO: Processing buffer {"connection_id":163298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:08:33] local.INFO: IMEI packet received {"connection_id":163298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":163298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:08:34] local.INFO: TCP Data received {"connection_id":163298,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:08:34] local.INFO: Processing buffer {"connection_id":163298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:08:34] local.INFO: IMEI packet received {"connection_id":163298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":163298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:08:34] local.INFO: TCP Data received {"connection_id":163299,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:08:34] local.INFO: Processing buffer {"connection_id":163299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:08:34] local.INFO: IMEI packet received {"connection_id":163299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":163299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:08:34] local.INFO: TCP Data received {"connection_id":163298,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9db2d0012d1822400721b400004e00e328..."} 
[2026-08-23 18:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9db2d0012d1822400721b400004e00e328..."} 
[2026-08-23 18:08:34] local.INFO: Processing buffer {"connection_id":163298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9db2d0012d1822400721b400004e00e328..."} 
[2026-08-23 18:08:34] local.INFO: Packet analysis {"connection_id":163298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9d"} 
[2026-08-23 18:08:34] local.INFO: Extracted packet for processing {"connection_id":163298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9d"} 
[2026-08-23 18:08:34] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649280,"longitude_deg":75.6556352,"latitude_deg":11.964928,"altitude":78,"angle":227,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b400","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597046016001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682188318081024,"note":"Value kept but may cause issues"} 
[2026-08-23 18:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237036544,"note":"Value kept but may cause issues"} 
[2026-08-23 18:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787488482000,"timestamp_ms":1787488482000,"timestamp_seconds":1787488482,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9db2d0"} 
[2026-08-23 18:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:08:34] 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-08-23 18:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 18:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597046016001,"66":12722,"105":206,"83":41984,"24":0,"16":15682188318081024,"45":1739093174237036544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597046016001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:08:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:08:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682188318081024,"km_value":15682188318081.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237036544,"description":"Unknown IO ID 45"} 
[2026-08-23 18:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597046016001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237036544}} 
[2026-08-23 18:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":163298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:08:35] local.INFO: GPS data processed {"connection_id":163298,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:08:35] local.INFO: Acknowledgment sent {"connection_id":163298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:08:39] local.INFO: TCP Data received {"connection_id":163299,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:08:39] local.INFO: Processing buffer {"connection_id":163299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:08:39] local.INFO: IMEI packet received {"connection_id":163299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":163299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:08:39] local.INFO: TCP Data received {"connection_id":163298,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9e04d8012d1822400721b400004e00e327..."} 
[2026-08-23 18:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9e04d8012d1822400721b400004e00e327..."} 
[2026-08-23 18:08:39] local.INFO: Processing buffer {"connection_id":163298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9e04d8012d1822400721b400004e00e327..."} 
[2026-08-23 18:08:39] local.INFO: Packet analysis {"connection_id":163298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9e"} 
[2026-08-23 18:08:39] local.INFO: Extracted packet for processing {"connection_id":163298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9e"} 
[2026-08-23 18:08:39] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649280,"longitude_deg":75.6556352,"latitude_deg":11.964928,"altitude":78,"angle":227,"satellites":39,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b400","is_valid_coordinates":true} 
[2026-08-23 18:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597051392001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682188318081024,"note":"Value kept but may cause issues"} 
[2026-08-23 18:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492826112,"note":"Value kept but may cause issues"} 
[2026-08-23 18:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787488503000,"timestamp_ms":1787488503000,"timestamp_seconds":1787488503,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9e04d8"} 
[2026-08-23 18:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 18:08:39] 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-08-23 18:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597051392001,"66":12711,"105":206,"83":41984,"24":0,"16":15682188318081024,"45":1739022805492826112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597051392001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:08:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:08:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682188318081024,"km_value":15682188318081.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492826112,"description":"Unknown IO ID 45"} 
[2026-08-23 18:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597051392001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492826112}} 
[2026-08-23 18:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":163298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:08:39] local.INFO: GPS data processed {"connection_id":163298,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:08:39] local.INFO: Acknowledgment sent {"connection_id":163298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:08:40] local.INFO: TCP Data received {"connection_id":163299,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea09518012d8c758005c9af40000b00052b..."} 
[2026-08-23 18:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea09518012d8c758005c9af40000b00052b..."} 
[2026-08-23 18:08:40] local.INFO: Processing buffer {"connection_id":163299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea09518012d8c758005c9af40000b00052b..."} 
[2026-08-23 18:08:40] local.INFO: Packet analysis {"connection_id":163299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:08:40] local.INFO: Extracted packet for processing {"connection_id":163299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:08:40] local.INFO: GPS Element Parsed {"raw_longitude":764179840,"raw_latitude":97103680,"longitude_deg":76.417984,"latitude_deg":9.710368,"altitude":11,"angle":5,"satellites":43,"speed":27,"hex_longitude":"2d8c7580","hex_latitude":"05c9af40","is_valid_coordinates":true} 
[2026-08-23 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-08-23 18:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597099264001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122894686674223104,"note":"Value kept but may cause issues"} 
[2026-08-23 18:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8325537205033773056,"note":"Value kept but may cause issues"} 
[2026-08-23 18:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787488671000,"timestamp_ms":1787488671000,"timestamp_seconds":1787488671,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea09518"} 
[2026-08-23 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-08-23 18:08: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-08-23 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-23 18:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 18:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597099264001,"66":13298,"84":206,"83":16384,"24":27,"16":122894686674223104,"45":-8325537205033773056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,83,24,16,45]} 
[2026-08-23 18:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597099264001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:08:40] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-08-23 18:08:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 18:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122894686674223104,"km_value":122894686674223.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8325537205033773056,"description":"Unknown IO ID 45"} 
[2026-08-23 18:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597099264001,"power":13298,"unknown_84":206,"unknown_83":16384,"ignition":27,"odometer":null,"unknown_45":-8325537205033773056}} 
[2026-08-23 18:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":163299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:08:40] local.INFO: GPS data processed {"connection_id":163299,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:08:40] local.INFO: Acknowledgment sent {"connection_id":163299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:08:45] local.INFO: TCP Data received {"connection_id":161902,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:08:45] local.INFO: Processing buffer {"connection_id":161902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:08:45] local.INFO: IMEI packet received {"connection_id":161902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":161902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:08:50] local.INFO: TCP Data received {"connection_id":161902,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:08:50] local.INFO: Processing buffer {"connection_id":161902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:08:50] local.INFO: IMEI packet received {"connection_id":161902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":161902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:08:51] local.INFO: TCP Data received {"connection_id":161902,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:08:51] local.INFO: Processing buffer {"connection_id":161902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:08:51] local.INFO: Packet analysis {"connection_id":161902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:08:51] local.INFO: Extracted packet for processing {"connection_id":161902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:08:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597025280001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787488681000,"timestamp_ms":1787488681000,"timestamp_seconds":1787488681,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea0bc28"} 
[2026-08-23 18:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 18:08:51] 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-08-23 18:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:08:51] 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-08-23 18:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597025280001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597025280001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:08:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:08:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597025280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":161902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:08:51] local.INFO: GPS data processed {"connection_id":161902,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:08:51] local.INFO: Acknowledgment sent {"connection_id":161902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:09:10] local.INFO: TCP Data received {"connection_id":163298,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9e56e0012d1822400721b400004e00e328..."} 
[2026-08-23 18:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9e56e0012d1822400721b400004e00e328..."} 
[2026-08-23 18:09:10] local.INFO: Processing buffer {"connection_id":163298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9e56e0012d1822400721b400004e00e328..."} 
[2026-08-23 18:09:10] local.INFO: Packet analysis {"connection_id":163298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9e"} 
[2026-08-23 18:09:10] local.INFO: Extracted packet for processing {"connection_id":163298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9e"} 
[2026-08-23 18:09:10] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649280,"longitude_deg":75.6556352,"latitude_deg":11.964928,"altitude":78,"angle":227,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b400","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597056768001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682188318081024,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492826112,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787488524000,"timestamp_ms":1787488524000,"timestamp_seconds":1787488524,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9e56e0"} 
[2026-08-23 18:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:09:10] 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-08-23 18: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-23 18:09: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-08-23 18: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-08-23 18:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597056768001,"66":12776,"105":206,"83":41984,"24":0,"16":15682188318081024,"45":1739022805492826112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597056768001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:09:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:09:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682188318081024,"km_value":15682188318081.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492826112,"description":"Unknown IO ID 45"} 
[2026-08-23 18:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597056768001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492826112}} 
[2026-08-23 18:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":163298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:09:10] local.INFO: GPS data processed {"connection_id":163298,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:09:10] local.INFO: Acknowledgment sent {"connection_id":163298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:09:10] local.INFO: TCP Data received {"connection_id":163299,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea0b840012d8c758005c9ca58000a015f2a..."} 
[2026-08-23 18:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea0b840012d8c758005c9ca58000a015f2a..."} 
[2026-08-23 18:09:10] local.INFO: Processing buffer {"connection_id":163299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea0b840012d8c758005c9ca58000a015f2a..."} 
[2026-08-23 18:09:10] local.INFO: Packet analysis {"connection_id":163299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:09:10] local.INFO: Extracted packet for processing {"connection_id":163299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:09:10] local.INFO: GPS Element Parsed {"raw_longitude":764179840,"raw_latitude":97110616,"longitude_deg":76.417984,"latitude_deg":9.7110616,"altitude":10,"angle":351,"satellites":42,"speed":29,"hex_longitude":"2d8c7580","hex_latitude":"05c9ca58","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597099776001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122895025976639488,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8325607573777596416,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 18:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787488680000,"timestamp_ms":1787488680000,"timestamp_seconds":1787488680,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea0b840"} 
[2026-08-23 18:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:09: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-08-23 18: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-23 18:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597099776001,"66":13450,"83":16384,"24":29,"16":122895025976639488,"45":-8325607573777596416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-08-23 18:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597099776001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:09:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 18:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122895025976639488,"km_value":122895025976639.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8325607573777596416,"description":"Unknown IO ID 45"} 
[2026-08-23 18:09:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457597099776001,"power":13450,"unknown_83":16384,"ignition":29,"odometer":null,"unknown_45":-8325607573777596416}} 
[2026-08-23 18:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":163299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:09:10] local.INFO: GPS data processed {"connection_id":163299,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:09:10] local.INFO: Acknowledgment sent {"connection_id":163299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:09:23] local.INFO: TCP Data received {"connection_id":161902,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:09:23] local.INFO: Processing buffer {"connection_id":161902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:09:23] local.INFO: Packet analysis {"connection_id":161902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:09:23] local.INFO: Extracted packet for processing {"connection_id":161902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:09:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597025280001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787488681000,"timestamp_ms":1787488681000,"timestamp_seconds":1787488681,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea0bc28"} 
[2026-08-23 18:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 18:09:23] 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-08-23 18:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:09:23] 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-08-23 18:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597025280001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597025280001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:09:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:09:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597025280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":161902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:09:23] local.INFO: GPS data processed {"connection_id":161902,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:09:23] local.INFO: Acknowledgment sent {"connection_id":161902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:09:34] local.INFO: TCP Data received {"connection_id":161903,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:09:34] local.INFO: Processing buffer {"connection_id":161903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:09:34] local.INFO: IMEI packet received {"connection_id":161903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":161903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:09:36] local.INFO: TCP Data received {"connection_id":161903,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:09:36] local.INFO: Processing buffer {"connection_id":161903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:09:36] local.INFO: IMEI packet received {"connection_id":161903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":161903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:09:37] local.INFO: TCP Data received {"connection_id":161903,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9ea8e8012d1822400721b400004e00e329..."} 
[2026-08-23 18:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9ea8e8012d1822400721b400004e00e329..."} 
[2026-08-23 18:09:37] local.INFO: Processing buffer {"connection_id":161903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9ea8e8012d1822400721b400004e00e329..."} 
[2026-08-23 18:09:37] local.INFO: Packet analysis {"connection_id":161903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9e"} 
[2026-08-23 18:09:37] local.INFO: Extracted packet for processing {"connection_id":161903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9e"} 
[2026-08-23 18:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649280,"longitude_deg":75.6556352,"latitude_deg":11.964928,"altitude":78,"angle":227,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b400","is_valid_coordinates":true} 
[2026-08-23 18:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597062144001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682188318081024,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492826112,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787488545000,"timestamp_ms":1787488545000,"timestamp_seconds":1787488545,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9ea8e8"} 
[2026-08-23 18:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-23 18:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597062144001,"66":12809,"105":206,"83":41984,"24":0,"16":15682188318081024,"45":1739022805492826112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597062144001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:09:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682188318081024,"km_value":15682188318081.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492826112,"description":"Unknown IO ID 45"} 
[2026-08-23 18:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597062144001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492826112}} 
[2026-08-23 18:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":161903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:09:37] local.INFO: GPS data processed {"connection_id":161903,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:09:37] local.INFO: Acknowledgment sent {"connection_id":161903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:09:38] local.INFO: TCP Data received {"connection_id":160706,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:09:38] local.INFO: Processing buffer {"connection_id":160706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:09:38] local.INFO: IMEI packet received {"connection_id":160706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":160706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:09:39] local.INFO: TCP Data received {"connection_id":161903,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9efaf0012d1822400721b400004e00e329..."} 
[2026-08-23 18:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9efaf0012d1822400721b400004e00e329..."} 
[2026-08-23 18:09:39] local.INFO: Processing buffer {"connection_id":161903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9efaf0012d1822400721b400004e00e329..."} 
[2026-08-23 18:09:39] local.INFO: Packet analysis {"connection_id":161903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9e"} 
[2026-08-23 18:09:39] local.INFO: Extracted packet for processing {"connection_id":161903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9e"} 
[2026-08-23 18:09:39] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649280,"longitude_deg":75.6556352,"latitude_deg":11.964928,"altitude":78,"angle":227,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b400","is_valid_coordinates":true} 
[2026-08-23 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-08-23 18:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597067520001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682188318081024,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492826112,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787488566000,"timestamp_ms":1787488566000,"timestamp_seconds":1787488566,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9efaf0"} 
[2026-08-23 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-08-23 18:09: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-08-23 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-23 18:09:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:39] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:39] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-7168032955769019712,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:39] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3028287566,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-23 18:09:39] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":5439683,"corrected_to":0} 
[2026-08-23 18:09:39] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2954587212466933331,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:39] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3067805696,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:39] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428786002777654057,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:39] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:39] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,182,160,86,45,64,180,78,40,10,66,4,39,178,1,240,227,46,33,113,205,2,42,34,200,41,239,50,55,7,164,219],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":5439683,"validated":0}]} 
[2026-08-23 18:09:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620742100191543296,"timestamp_seconds":5620742100191543.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 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-08-23 18:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597067520001,"66":12776,"105":206,"83":41984,"24":0,"16":15682188318081024,"45":1739022805492826112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597067520001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:09:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:09:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682188318081024,"km_value":15682188318081.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492826112,"description":"Unknown IO ID 45"} 
[2026-08-23 18:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597067520001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492826112}} 
[2026-08-23 18:09:39] local.INFO: TCP Data received {"connection_id":160706,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:09:39] local.INFO: Processing buffer {"connection_id":160706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:09:39] local.INFO: IMEI packet received {"connection_id":160706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":160706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":161903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:09:39] local.INFO: GPS data processed {"connection_id":161903,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:09:39] local.INFO: Acknowledgment sent {"connection_id":161903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:09:44] local.INFO: TCP Data received {"connection_id":160706,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:09:44] local.INFO: Processing buffer {"connection_id":160706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:09:44] local.INFO: IMEI packet received {"connection_id":160706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":160706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:09:45] local.INFO: TCP Data received {"connection_id":160706,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea0e338012d8c6f8005c9ee68000c015c2a..."} 
[2026-08-23 18:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea0e338012d8c6f8005c9ee68000c015c2a..."} 
[2026-08-23 18:09:45] local.INFO: Processing buffer {"connection_id":160706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea0e338012d8c6f8005c9ee68000c015c2a..."} 
[2026-08-23 18:09:45] local.INFO: Packet analysis {"connection_id":160706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:09:45] local.INFO: Extracted packet for processing {"connection_id":160706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:09:45] local.INFO: GPS Element Parsed {"raw_longitude":764178304,"raw_latitude":97119848,"longitude_deg":76.4178304,"latitude_deg":9.7119848,"altitude":12,"angle":348,"satellites":42,"speed":38,"hex_longitude":"2d8c6f80","hex_latitude":"05c9ee68","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597102080001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122895481243172864,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8325607573775820800,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 18:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787488691000,"timestamp_ms":1787488691000,"timestamp_seconds":1787488691,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea0e338"} 
[2026-08-23 18:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:09: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-08-23 18: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-23 18:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597102080001,"66":13178,"83":16384,"24":38,"16":122895481243172864,"45":-8325607573775820800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,45]} 
[2026-08-23 18:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597102080001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:09:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-23 18:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122895481243172864,"km_value":122895481243172.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8325607573775820800,"description":"Unknown IO ID 45"} 
[2026-08-23 18:09:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457597102080001,"power":13178,"unknown_83":16384,"ignition":38,"odometer":null,"unknown_45":-8325607573775820800}} 
[2026-08-23 18:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":160706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:09:45] local.INFO: GPS data processed {"connection_id":160706,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:09:45] local.INFO: Acknowledgment sent {"connection_id":160706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:09:45] local.INFO: TCP Data received {"connection_id":160948,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:09:45] local.INFO: Processing buffer {"connection_id":160948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:09:45] local.INFO: IMEI packet received {"connection_id":160948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":160948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:09:50] local.INFO: TCP Data received {"connection_id":160948,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:09:50] local.INFO: Processing buffer {"connection_id":160948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:09:50] local.INFO: IMEI packet received {"connection_id":160948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":160948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:09:51] local.INFO: TCP Data received {"connection_id":160948,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:09:51] local.INFO: Processing buffer {"connection_id":160948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:09:51] local.INFO: Packet analysis {"connection_id":160948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:09:51] local.INFO: Extracted packet for processing {"connection_id":160948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:09:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597025280001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787488681000,"timestamp_ms":1787488681000,"timestamp_seconds":1787488681,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea0bc28"} 
[2026-08-23 18:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 18:09:51] 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-08-23 18:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:09:51] 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-08-23 18:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597025280001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597025280001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:09:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:09:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597025280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":160948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:09:51] local.INFO: GPS data processed {"connection_id":160948,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:09:51] local.INFO: Acknowledgment sent {"connection_id":160948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:10:10] local.INFO: TCP Data received {"connection_id":161903,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9f4cf8012d1822400721b400004e00e329..."} 
[2026-08-23 18:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9f4cf8012d1822400721b400004e00e329..."} 
[2026-08-23 18:10:10] local.INFO: Processing buffer {"connection_id":161903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9f4cf8012d1822400721b400004e00e329..."} 
[2026-08-23 18:10:10] local.INFO: Packet analysis {"connection_id":161903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9f"} 
[2026-08-23 18:10:10] local.INFO: Extracted packet for processing {"connection_id":161903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9f"} 
[2026-08-23 18:10:10] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649280,"longitude_deg":75.6556352,"latitude_deg":11.964928,"altitude":78,"angle":227,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b400","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597072896001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682188318081024,"note":"Value kept but may cause issues"} 
[2026-08-23 18:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492826112,"note":"Value kept but may cause issues"} 
[2026-08-23 18:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787488587000,"timestamp_ms":1787488587000,"timestamp_seconds":1787488587,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9f4cf8"} 
[2026-08-23 18:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:10:10] 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-08-23 18: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-23 18:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597072896001,"66":12722,"105":206,"83":41984,"24":0,"16":15682188318081024,"45":1739022805492826112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597072896001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:10:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:10:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682188318081024,"km_value":15682188318081.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492826112,"description":"Unknown IO ID 45"} 
[2026-08-23 18:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597072896001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492826112}} 
[2026-08-23 18:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":161903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:10:10] local.INFO: GPS data processed {"connection_id":161903,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:10:10] local.INFO: Acknowledgment sent {"connection_id":161903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:10:16] local.INFO: TCP Data received {"connection_id":160706,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea26208012d8c3bc005cb10c8000a01532a..."} 
[2026-08-23 18:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea26208012d8c3bc005cb10c8000a01532a..."} 
[2026-08-23 18:10:16] local.INFO: Processing buffer {"connection_id":160706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea26208012d8c3bc005cb10c8000a01532a..."} 
[2026-08-23 18:10:16] local.INFO: Packet analysis {"connection_id":160706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea2"} 
[2026-08-23 18:10:16] local.INFO: Extracted packet for processing {"connection_id":160706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea2"} 
[2026-08-23 18:10:16] local.INFO: GPS Element Parsed {"raw_longitude":764165056,"raw_latitude":97194184,"longitude_deg":76.4165056,"latitude_deg":9.7194184,"altitude":10,"angle":339,"satellites":42,"speed":31,"hex_longitude":"2d8c3bc0","hex_latitude":"05cb10c8","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597129984001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122899187799949312,"note":"Value kept but may cause issues"} 
[2026-08-23 18:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8341862753659467776,"note":"Value kept but may cause issues"} 
[2026-08-23 18:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787488789000,"timestamp_ms":1787488789000,"timestamp_seconds":1787488789,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea26208"} 
[2026-08-23 18:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18: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-08-23 18: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 18:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597129984001,"66":13222,"94":206,"85":13824,"24":31,"16":122899187799949312,"45":-8341862753659467776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-08-23 18:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597129984001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:10:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-23 18:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122899187799949312,"km_value":122899187799949.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8341862753659467776,"description":"Unknown IO ID 45"} 
[2026-08-23 18:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597129984001,"power":13222,"unknown_94":206,"unknown_85":13824,"ignition":31,"odometer":null,"unknown_45":-8341862753659467776}} 
[2026-08-23 18:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":160706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:10:16] local.INFO: GPS data processed {"connection_id":160706,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:10:16] local.INFO: Acknowledgment sent {"connection_id":160706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:10:23] local.INFO: TCP Data received {"connection_id":160948,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:10:23] local.INFO: Processing buffer {"connection_id":160948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:10:23] local.INFO: Packet analysis {"connection_id":160948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:10:23] local.INFO: Extracted packet for processing {"connection_id":160948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:10:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597025280001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787488681000,"timestamp_ms":1787488681000,"timestamp_seconds":1787488681,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea0bc28"} 
[2026-08-23 18:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 18:10:23] 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-08-23 18: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-08-23 18:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:10:23] 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-08-23 18:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597025280001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597025280001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:10:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:10:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597025280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":160948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:10:23] local.INFO: GPS data processed {"connection_id":160948,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:10:23] local.INFO: Acknowledgment sent {"connection_id":160948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:10:29] local.INFO: TCP Data received {"connection_id":160707,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:10:29] local.INFO: Processing buffer {"connection_id":160707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:10:29] local.INFO: IMEI packet received {"connection_id":160707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":160707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:10:34] local.INFO: TCP Data received {"connection_id":160707,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:10:34] local.INFO: Processing buffer {"connection_id":160707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:10:34] local.INFO: IMEI packet received {"connection_id":160707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":160707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:10:34] local.INFO: TCP Data received {"connection_id":163300,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:10:34] local.INFO: Processing buffer {"connection_id":163300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:10:34] local.INFO: IMEI packet received {"connection_id":163300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":163300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:10:34] local.INFO: TCP Data received {"connection_id":163300,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:10:34] local.INFO: Processing buffer {"connection_id":163300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:10:34] local.INFO: IMEI packet received {"connection_id":163300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":163300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:10:35] local.INFO: TCP Data received {"connection_id":160707,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9f9f00012d1822400721b400004e00e328..."} 
[2026-08-23 18:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9f9f00012d1822400721b400004e00e328..."} 
[2026-08-23 18:10:35] local.INFO: Processing buffer {"connection_id":160707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9f9f00012d1822400721b400004e00e328..."} 
[2026-08-23 18:10:35] local.INFO: Packet analysis {"connection_id":160707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9f"} 
[2026-08-23 18:10:35] local.INFO: Extracted packet for processing {"connection_id":160707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9f"} 
[2026-08-23 18:10:35] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649280,"longitude_deg":75.6556352,"latitude_deg":11.964928,"altitude":78,"angle":227,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b400","is_valid_coordinates":true} 
[2026-08-23 18:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597078272001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682188318081024,"note":"Value kept but may cause issues"} 
[2026-08-23 18:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492826112,"note":"Value kept but may cause issues"} 
[2026-08-23 18:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787488608000,"timestamp_ms":1787488608000,"timestamp_seconds":1787488608,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9f9f00"} 
[2026-08-23 18:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 18:10:35] 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-08-23 18:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597078272001,"66":12743,"105":206,"83":41984,"24":0,"16":15682188318081024,"45":1739022805492826112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597078272001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:10:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:10:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682188318081024,"km_value":15682188318081.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492826112,"description":"Unknown IO ID 45"} 
[2026-08-23 18:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597078272001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492826112}} 
[2026-08-23 18:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":160707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:10:35] local.INFO: GPS data processed {"connection_id":160707,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:10:35] local.INFO: Acknowledgment sent {"connection_id":160707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:10:39] local.INFO: TCP Data received {"connection_id":163300,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:10:39] local.INFO: Processing buffer {"connection_id":163300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:10:39] local.INFO: IMEI packet received {"connection_id":163300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":163300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:10:40] local.INFO: TCP Data received {"connection_id":163300,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea27d60012d8c360005cb2420000a015f2b..."} 
[2026-08-23 18:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea27d60012d8c360005cb2420000a015f2b..."} 
[2026-08-23 18:10:40] local.INFO: Processing buffer {"connection_id":163300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea27d60012d8c360005cb2420000a015f2b..."} 
[2026-08-23 18:10:40] local.INFO: Packet analysis {"connection_id":163300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea2"} 
[2026-08-23 18:10:40] local.INFO: Extracted packet for processing {"connection_id":163300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea2"} 
[2026-08-23 18:10:40] local.INFO: GPS Element Parsed {"raw_longitude":764163584,"raw_latitude":97199136,"longitude_deg":76.4163584,"latitude_deg":9.7199136,"altitude":10,"angle":351,"satellites":43,"speed":31,"hex_longitude":"2d8c3600","hex_latitude":"05cb2420","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597129984001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122899436908052480,"note":"Value kept but may cause issues"} 
[2026-08-23 18:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8341862753659467776,"note":"Value kept but may cause issues"} 
[2026-08-23 18:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787488796000,"timestamp_ms":1787488796000,"timestamp_seconds":1787488796,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea27d60"} 
[2026-08-23 18:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:10: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-08-23 18: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-23 18:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597129984001,"66":13254,"94":206,"85":13824,"24":31,"16":122899436908052480,"45":-8341862753659467776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-08-23 18:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597129984001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:10:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-23 18:10:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122899436908052480,"km_value":122899436908052.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8341862753659467776,"description":"Unknown IO ID 45"} 
[2026-08-23 18:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597129984001,"power":13254,"unknown_94":206,"unknown_85":13824,"ignition":31,"odometer":null,"unknown_45":-8341862753659467776}} 
[2026-08-23 18:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":163300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:10:40] local.INFO: GPS data processed {"connection_id":163300,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:10:40] local.INFO: Acknowledgment sent {"connection_id":163300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:10:46] local.INFO: TCP Data received {"connection_id":160949,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:10:46] local.INFO: Processing buffer {"connection_id":160949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:10:46] local.INFO: IMEI packet received {"connection_id":160949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":160949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:10:51] local.INFO: TCP Data received {"connection_id":160949,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:10:51] local.INFO: Processing buffer {"connection_id":160949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:10:51] local.INFO: IMEI packet received {"connection_id":160949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":160949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:10:52] local.INFO: TCP Data received {"connection_id":160949,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:10:52] local.INFO: Processing buffer {"connection_id":160949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:10:52] local.INFO: Packet analysis {"connection_id":160949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:10:52] local.INFO: Extracted packet for processing {"connection_id":160949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:10:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597025280001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787488681000,"timestamp_ms":1787488681000,"timestamp_seconds":1787488681,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea0bc28"} 
[2026-08-23 18:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 18:10:52] 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-08-23 18:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:10:52] 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-08-23 18:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597025280001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597025280001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:10:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:10:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597025280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":160949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:10:52] local.INFO: GPS data processed {"connection_id":160949,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:10:52] local.INFO: Acknowledgment sent {"connection_id":160949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:11:06] local.INFO: TCP Data received {"connection_id":160707,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02e9ff108012d1822400721b400004e00e329..."} 
[2026-08-23 18:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02e9ff108012d1822400721b400004e00e329..."} 
[2026-08-23 18:11:06] local.INFO: Processing buffer {"connection_id":160707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02e9ff108012d1822400721b400004e00e329..."} 
[2026-08-23 18:11:06] local.INFO: Packet analysis {"connection_id":160707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02e9f"} 
[2026-08-23 18:11:06] local.INFO: Extracted packet for processing {"connection_id":160707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02e9f"} 
[2026-08-23 18:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649280,"longitude_deg":75.6556352,"latitude_deg":11.964928,"altitude":78,"angle":227,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b400","is_valid_coordinates":true} 
[2026-08-23 18:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597083648001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682188318081024,"note":"Value kept but may cause issues"} 
[2026-08-23 18:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492826112,"note":"Value kept but may cause issues"} 
[2026-08-23 18:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787488629000,"timestamp_ms":1787488629000,"timestamp_seconds":1787488629,"priority":1,"record_length":96,"hex_timestamp":"000001a02e9ff108"} 
[2026-08-23 18:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-23 18:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597083648001,"66":12722,"105":206,"83":41984,"24":0,"16":15682188318081024,"45":1739022805492826112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597083648001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:11:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682188318081024,"km_value":15682188318081.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492826112,"description":"Unknown IO ID 45"} 
[2026-08-23 18:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597083648001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492826112}} 
[2026-08-23 18:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":160707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:11:06] local.INFO: GPS data processed {"connection_id":160707,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:11:06] local.INFO: Acknowledgment sent {"connection_id":160707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:11:11] local.INFO: TCP Data received {"connection_id":163300,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea2a858012d8c314005cb4770000b01612b..."} 
[2026-08-23 18:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea2a858012d8c314005cb4770000b01612b..."} 
[2026-08-23 18:11:11] local.INFO: Processing buffer {"connection_id":163300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea2a858012d8c314005cb4770000b01612b..."} 
[2026-08-23 18:11:11] local.INFO: Packet analysis {"connection_id":163300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea2"} 
[2026-08-23 18:11:11] local.INFO: Extracted packet for processing {"connection_id":163300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea2"} 
[2026-08-23 18:11:11] local.INFO: GPS Element Parsed {"raw_longitude":764162368,"raw_latitude":97208176,"longitude_deg":76.4162368,"latitude_deg":9.7208176,"altitude":11,"angle":353,"satellites":43,"speed":31,"hex_longitude":"2d8c3140","hex_latitude":"05cb4770","is_valid_coordinates":true} 
[2026-08-23 18:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597131776001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122899879289683968,"note":"Value kept but may cause issues"} 
[2026-08-23 18:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8343481234774286336,"note":"Value kept but may cause issues"} 
[2026-08-23 18:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787488807000,"timestamp_ms":1787488807000,"timestamp_seconds":1787488807,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea2a858"} 
[2026-08-23 18:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-23 18:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597131776001,"66":13352,"94":206,"85":13824,"24":31,"16":122899879289683968,"45":-8343481234774286336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-08-23 18:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597131776001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:11:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-23 18:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122899879289683968,"km_value":122899879289683.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8343481234774286336,"description":"Unknown IO ID 45"} 
[2026-08-23 18:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597131776001,"power":13352,"unknown_94":206,"unknown_85":13824,"ignition":31,"odometer":null,"unknown_45":-8343481234774286336}} 
[2026-08-23 18:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":163300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688139,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:11:11] local.INFO: GPS data processed {"connection_id":163300,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:11:11] local.INFO: Acknowledgment sent {"connection_id":163300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:11:24] local.INFO: TCP Data received {"connection_id":160949,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:11:24] local.INFO: Processing buffer {"connection_id":160949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:11:24] local.INFO: Packet analysis {"connection_id":160949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:11:24] local.INFO: Extracted packet for processing {"connection_id":160949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:11:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597025280001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787488681000,"timestamp_ms":1787488681000,"timestamp_seconds":1787488681,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea0bc28"} 
[2026-08-23 18:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 18:11:24] 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-08-23 18:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:11:24] 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-08-23 18:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597025280001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597025280001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:11:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:11:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597025280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":160949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:11:24] local.INFO: GPS data processed {"connection_id":160949,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:11:24] local.INFO: Acknowledgment sent {"connection_id":160949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:11:29] local.INFO: TCP Data received {"connection_id":161904,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:11:29] local.INFO: Processing buffer {"connection_id":161904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:11:29] local.INFO: IMEI packet received {"connection_id":161904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":161904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:11:34] local.INFO: TCP Data received {"connection_id":161904,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:11:34] local.INFO: Processing buffer {"connection_id":161904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:11:34] local.INFO: IMEI packet received {"connection_id":161904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":161904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:11:35] local.INFO: TCP Data received {"connection_id":161904,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea000a8012d1821000721b350004700d029..."} 
[2026-08-23 18:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea000a8012d1821000721b350004700d029..."} 
[2026-08-23 18:11:35] local.INFO: Processing buffer {"connection_id":161904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea000a8012d1821000721b350004700d029..."} 
[2026-08-23 18:11:35] local.INFO: Packet analysis {"connection_id":161904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:11:35] local.INFO: Extracted packet for processing {"connection_id":161904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:11:35] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649104,"longitude_deg":75.6556032,"latitude_deg":11.9649104,"altitude":71,"angle":208,"satellites":41,"speed":2,"hex_longitude":"2d182100","hex_latitude":"0721b350","is_valid_coordinates":true} 
[2026-08-23 18:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597089024001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682201202982912,"note":"Value kept but may cause issues"} 
[2026-08-23 18:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492826112,"note":"Value kept but may cause issues"} 
[2026-08-23 18:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787488633000,"timestamp_ms":1787488633000,"timestamp_seconds":1787488633,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea000a8"} 
[2026-08-23 18:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 18:11:35] 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-08-23 18:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597089024001,"66":12689,"105":206,"83":41984,"24":2,"16":15682201202982912,"45":1739022805492826112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597089024001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:11:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:11:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682201202982912,"km_value":15682201202982.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492826112,"description":"Unknown IO ID 45"} 
[2026-08-23 18:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597089024001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739022805492826112}} 
[2026-08-23 18:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":161904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:11:35] local.INFO: GPS data processed {"connection_id":161904,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:11:35] local.INFO: Acknowledgment sent {"connection_id":161904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:11:38] local.INFO: TCP Data received {"connection_id":161905,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:11:38] local.INFO: Processing buffer {"connection_id":161905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:11:38] local.INFO: IMEI packet received {"connection_id":161905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":161905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:11:39] local.INFO: TCP Data received {"connection_id":161905,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:11:39] local.INFO: Processing buffer {"connection_id":161905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:11:39] local.INFO: IMEI packet received {"connection_id":161905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":161905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:11:44] local.INFO: TCP Data received {"connection_id":161905,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:11:44] local.INFO: Processing buffer {"connection_id":161905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:11:44] local.INFO: IMEI packet received {"connection_id":161905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":161905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:11:45] local.INFO: TCP Data received {"connection_id":161905,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea2cf68012d8c2d0005cb6430000b01562b..."} 
[2026-08-23 18:11:45] local.INFO: TCP Data received {"connection_id":163301,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea2cf68012d8c2d0005cb6430000b01562b..."} 
[2026-08-23 18:11:45] local.INFO: Processing buffer {"connection_id":161905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea2cf68012d8c2d0005cb6430000b01562b..."} 
[2026-08-23 18:11:45] local.INFO: Packet analysis {"connection_id":161905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea2"} 
[2026-08-23 18:11:45] local.INFO: Extracted packet for processing {"connection_id":161905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea2"} 
[2026-08-23 18:11:45] local.INFO: GPS Element Parsed {"raw_longitude":764161280,"raw_latitude":97215536,"longitude_deg":76.416128,"latitude_deg":9.7215536,"altitude":11,"angle":342,"satellites":43,"speed":28,"hex_longitude":"2d8c2d00","hex_latitude":"05cb6430","is_valid_coordinates":true} 
[2026-08-23 18:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597134592001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122900240066936832,"note":"Value kept but may cause issues"} 
[2026-08-23 18:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8344818240911347712,"note":"Value kept but may cause issues"} 
[2026-08-23 18:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787488817000,"timestamp_ms":1787488817000,"timestamp_seconds":1787488817,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea2cf68"} 
[2026-08-23 18:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:11: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-08-23 18:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-23 18:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:11:45] local.INFO: Processing buffer {"connection_id":163301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:11:45] local.INFO: IMEI packet received {"connection_id":163301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":163301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597134592001,"66":13374,"94":206,"85":13824,"24":28,"16":122900240066936832,"45":-8344818240911347712},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-08-23 18:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597134592001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:11:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-23 18:11:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122900240066936832,"km_value":122900240066936.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8344818240911347712,"description":"Unknown IO ID 45"} 
[2026-08-23 18:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597134592001,"power":13374,"unknown_94":206,"unknown_85":13824,"ignition":28,"odometer":null,"unknown_45":-8344818240911347712}} 
[2026-08-23 18:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":161905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:11:45] local.INFO: GPS data processed {"connection_id":161905,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:11:45] local.INFO: Acknowledgment sent {"connection_id":161905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:11:51] local.INFO: TCP Data received {"connection_id":163301,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:11:51] local.INFO: Processing buffer {"connection_id":163301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:11:51] local.INFO: IMEI packet received {"connection_id":163301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":163301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:11:52] local.INFO: TCP Data received {"connection_id":163301,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:11:52] local.INFO: Processing buffer {"connection_id":163301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:11:52] local.INFO: Packet analysis {"connection_id":163301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:11:52] local.INFO: Extracted packet for processing {"connection_id":163301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597025280001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787488681000,"timestamp_ms":1787488681000,"timestamp_seconds":1787488681,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea0bc28"} 
[2026-08-23 18:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 18:11:52] 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-08-23 18:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597025280001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597025280001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:11:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597025280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":163301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:11:52] local.INFO: GPS data processed {"connection_id":163301,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:11:52] local.INFO: Acknowledgment sent {"connection_id":163301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:12:06] local.INFO: TCP Data received {"connection_id":161904,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea052b0012d1820c00721b278004700d328..."} 
[2026-08-23 18:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea052b0012d1820c00721b278004700d328..."} 
[2026-08-23 18:12:06] local.INFO: Processing buffer {"connection_id":161904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea052b0012d1820c00721b278004700d328..."} 
[2026-08-23 18:12:06] local.INFO: Packet analysis {"connection_id":161904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:12:06] local.INFO: Extracted packet for processing {"connection_id":161904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648888,"longitude_deg":75.6555968,"latitude_deg":11.9648888,"altitude":71,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-08-23 18:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597090048001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682214087884800,"note":"Value kept but may cause issues"} 
[2026-08-23 18:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771892736,"note":"Value kept but may cause issues"} 
[2026-08-23 18:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787488654000,"timestamp_ms":1787488654000,"timestamp_seconds":1787488654,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea052b0"} 
[2026-08-23 18:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-23 18:12: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-08-23 18:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597090048001,"66":12722,"105":206,"83":41984,"24":0,"16":15682214087884800,"45":1738670961771892736},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597090048001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:12:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682214087884800,"km_value":15682214087884.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771892736,"description":"Unknown IO ID 45"} 
[2026-08-23 18:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597090048001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771892736}} 
[2026-08-23 18:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":161904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:12:06] local.INFO: GPS data processed {"connection_id":161904,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:12:06] local.INFO: Acknowledgment sent {"connection_id":161904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:12:16] local.INFO: TCP Data received {"connection_id":161905,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea2eea8012d8c268005cb7ab0000d016229..."} 
[2026-08-23 18:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea2eea8012d8c268005cb7ab0000d016229..."} 
[2026-08-23 18:12:16] local.INFO: Processing buffer {"connection_id":161905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea2eea8012d8c268005cb7ab0000d016229..."} 
[2026-08-23 18:12:16] local.INFO: Packet analysis {"connection_id":161905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea2"} 
[2026-08-23 18:12:16] local.INFO: Extracted packet for processing {"connection_id":161905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea2"} 
[2026-08-23 18:12:16] local.INFO: GPS Element Parsed {"raw_longitude":764159616,"raw_latitude":97221296,"longitude_deg":76.4159616,"latitude_deg":9.7221296,"altitude":13,"angle":354,"satellites":41,"speed":28,"hex_longitude":"2d8c2680","hex_latitude":"05cb7ab0","is_valid_coordinates":true} 
[2026-08-23 18:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597137152001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122900532124712960,"note":"Value kept but may cause issues"} 
[2026-08-23 18:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8346014509560483840,"note":"Value kept but may cause issues"} 
[2026-08-23 18:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787488825000,"timestamp_ms":1787488825000,"timestamp_seconds":1787488825,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea2eea8"} 
[2026-08-23 18:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18: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-08-23 18:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-23 18:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597137152001,"66":13243,"94":206,"85":13824,"24":28,"16":122900532124712960,"45":-8346014509560483840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-08-23 18:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597137152001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:12:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-23 18:12:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122900532124712960,"km_value":122900532124712.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8346014509560483840,"description":"Unknown IO ID 45"} 
[2026-08-23 18:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597137152001,"power":13243,"unknown_94":206,"unknown_85":13824,"ignition":28,"odometer":null,"unknown_45":-8346014509560483840}} 
[2026-08-23 18:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":161905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:12:16] local.INFO: GPS data processed {"connection_id":161905,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:12:16] local.INFO: Acknowledgment sent {"connection_id":161905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:12:24] local.INFO: TCP Data received {"connection_id":163301,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:12:24] local.INFO: Processing buffer {"connection_id":163301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:12:25] local.INFO: Packet analysis {"connection_id":163301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:12:25] local.INFO: Extracted packet for processing {"connection_id":163301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:12:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597025280001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787488681000,"timestamp_ms":1787488681000,"timestamp_seconds":1787488681,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea0bc28"} 
[2026-08-23 18:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 18:12:25] 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-08-23 18:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597025280001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597025280001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:12:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:12:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597025280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":163301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:12:25] local.INFO: GPS data processed {"connection_id":163301,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:12:25] local.INFO: Acknowledgment sent {"connection_id":163301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:12:29] local.INFO: TCP Data received {"connection_id":161906,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:12:29] local.INFO: Processing buffer {"connection_id":161906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:12:29] local.INFO: IMEI packet received {"connection_id":161906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":161906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:12:32] local.INFO: TCP Data received {"connection_id":160708,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:12:32] local.INFO: Processing buffer {"connection_id":160708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:12:32] local.INFO: IMEI packet received {"connection_id":160708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":160708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:12:32] local.INFO: TCP Data received {"connection_id":160708,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:12:32] local.INFO: Processing buffer {"connection_id":160708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:12:32] local.INFO: IMEI packet received {"connection_id":160708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":160708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:12:34] local.INFO: TCP Data received {"connection_id":160708,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:12:34] local.INFO: TCP Data received {"connection_id":161906,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:12:34] local.INFO: Processing buffer {"connection_id":160708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:12:34] local.INFO: IMEI packet received {"connection_id":160708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":160708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:12:34] local.INFO: Processing buffer {"connection_id":161906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:12:34] local.INFO: IMEI packet received {"connection_id":161906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":161906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:12:35] local.INFO: TCP Data received {"connection_id":161906,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea0a4b8012d1820c00721b278004700d327..."} 
[2026-08-23 18:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea0a4b8012d1820c00721b278004700d327..."} 
[2026-08-23 18:12:35] local.INFO: Processing buffer {"connection_id":161906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea0a4b8012d1820c00721b278004700d327..."} 
[2026-08-23 18:12:35] local.INFO: Packet analysis {"connection_id":161906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:12:35] local.INFO: Extracted packet for processing {"connection_id":161906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:12:35] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648888,"longitude_deg":75.6555968,"latitude_deg":11.9648888,"altitude":71,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-08-23 18:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597095424001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682214087884800,"note":"Value kept but may cause issues"} 
[2026-08-23 18:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027659776,"note":"Value kept but may cause issues"} 
[2026-08-23 18:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787488675000,"timestamp_ms":1787488675000,"timestamp_seconds":1787488675,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea0a4b8"} 
[2026-08-23 18:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 18:12:35] 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-08-23 18:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597095424001,"66":12689,"105":206,"83":41984,"24":0,"16":15682214087884800,"45":1738600593027659776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597095424001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:12:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:12:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682214087884800,"km_value":15682214087884.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027659776,"description":"Unknown IO ID 45"} 
[2026-08-23 18:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597095424001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027659776}} 
[2026-08-23 18:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":161906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:12:35] local.INFO: GPS data processed {"connection_id":161906,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:12:35] local.INFO: Acknowledgment sent {"connection_id":161906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:12:36] local.INFO: TCP Data received {"connection_id":160708,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160708,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:12:36] local.INFO: Processing buffer {"connection_id":160708,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:12:36] local.INFO: IMEI packet received {"connection_id":160708,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":160708,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:12:37] local.INFO: TCP Data received {"connection_id":160708,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea30de8012d8c234005cb91b0000c015728..."} 
[2026-08-23 18:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea30de8012d8c234005cb91b0000c015728..."} 
[2026-08-23 18:12:37] local.INFO: Processing buffer {"connection_id":160708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea30de8012d8c234005cb91b0000c015728..."} 
[2026-08-23 18:12:37] local.INFO: Packet analysis {"connection_id":160708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea3"} 
[2026-08-23 18:12:37] local.INFO: Extracted packet for processing {"connection_id":160708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea3"} 
[2026-08-23 18:12:37] local.INFO: GPS Element Parsed {"raw_longitude":764158784,"raw_latitude":97227184,"longitude_deg":76.4158784,"latitude_deg":9.7227184,"altitude":12,"angle":343,"satellites":40,"speed":30,"hex_longitude":"2d8c2340","hex_latitude":"05cb91b0","is_valid_coordinates":true} 
[2026-08-23 18:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597139200001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122900819887521792,"note":"Value kept but may cause issues"} 
[2026-08-23 18:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8347844096907628544,"note":"Value kept but may cause issues"} 
[2026-08-23 18:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787488833000,"timestamp_ms":1787488833000,"timestamp_seconds":1787488833,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea30de8"} 
[2026-08-23 18:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:12: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-08-23 18:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-23 18:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597139200001,"66":13319,"94":206,"85":13824,"24":30,"16":122900819887521792,"45":-8347844096907628544},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,45]} 
[2026-08-23 18:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597139200001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:12:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-23 18:12:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122900819887521792,"km_value":122900819887521.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8347844096907628544,"description":"Unknown IO ID 45"} 
[2026-08-23 18:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597139200001,"power":13319,"unknown_94":206,"unknown_85":13824,"ignition":30,"odometer":null,"unknown_45":-8347844096907628544}} 
[2026-08-23 18:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":160708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:12:37] local.INFO: GPS data processed {"connection_id":160708,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:12:37] local.INFO: Acknowledgment sent {"connection_id":160708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:12:45] local.INFO: TCP Data received {"connection_id":163302,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:12:45] local.INFO: Processing buffer {"connection_id":163302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:12:45] local.INFO: IMEI packet received {"connection_id":163302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":163302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:12:50] local.INFO: TCP Data received {"connection_id":163302,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:12:50] local.INFO: Processing buffer {"connection_id":163302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:12:50] local.INFO: IMEI packet received {"connection_id":163302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":163302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:12:51] local.INFO: TCP Data received {"connection_id":163302,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:12:51] local.INFO: Processing buffer {"connection_id":163302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:12:51] local.INFO: Packet analysis {"connection_id":163302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:12:51] local.INFO: Extracted packet for processing {"connection_id":163302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:12:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597025280001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787488681000,"timestamp_ms":1787488681000,"timestamp_seconds":1787488681,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea0bc28"} 
[2026-08-23 18:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 18:12:51] 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-08-23 18:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:12: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-08-23 18:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597025280001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597025280001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:12:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:12:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597025280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":163302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:12:51] local.INFO: GPS data processed {"connection_id":163302,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:12:51] local.INFO: Acknowledgment sent {"connection_id":163302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:13:06] local.INFO: TCP Data received {"connection_id":161906,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea0f6c0012d1820c00721b278004700d328..."} 
[2026-08-23 18:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea0f6c0012d1820c00721b278004700d328..."} 
[2026-08-23 18:13:06] local.INFO: Processing buffer {"connection_id":161906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea0f6c0012d1820c00721b278004700d328..."} 
[2026-08-23 18:13:06] local.INFO: Packet analysis {"connection_id":161906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:13:06] local.INFO: Extracted packet for processing {"connection_id":161906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648888,"longitude_deg":75.6555968,"latitude_deg":11.9648888,"altitude":71,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-08-23 18:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597100800001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682214087884800,"note":"Value kept but may cause issues"} 
[2026-08-23 18:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027659776,"note":"Value kept but may cause issues"} 
[2026-08-23 18:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787488696000,"timestamp_ms":1787488696000,"timestamp_seconds":1787488696,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea0f6c0"} 
[2026-08-23 18:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-23 18:13: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-08-23 18:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597100800001,"66":12689,"105":206,"83":41984,"24":0,"16":15682214087884800,"45":1738600593027659776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597100800001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:13:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682214087884800,"km_value":15682214087884.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027659776,"description":"Unknown IO ID 45"} 
[2026-08-23 18:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597100800001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027659776}} 
[2026-08-23 18:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":161906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:13:06] local.INFO: GPS data processed {"connection_id":161906,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:13:06] local.INFO: Acknowledgment sent {"connection_id":161906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:13:13] local.INFO: TCP Data received {"connection_id":160708,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea52510012d8be0c005ccdc98000d01632b..."} 
[2026-08-23 18:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea52510012d8be0c005ccdc98000d01632b..."} 
[2026-08-23 18:13:13] local.INFO: Processing buffer {"connection_id":160708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea52510012d8be0c005ccdc98000d01632b..."} 
[2026-08-23 18:13:13] local.INFO: Packet analysis {"connection_id":160708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:13:13] local.INFO: Extracted packet for processing {"connection_id":160708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:13:13] local.INFO: GPS Element Parsed {"raw_longitude":764141760,"raw_latitude":97311896,"longitude_deg":76.414176,"latitude_deg":9.7311896,"altitude":13,"angle":355,"satellites":43,"speed":30,"hex_longitude":"2d8be0c0","hex_latitude":"05ccdc98","is_valid_coordinates":true} 
[2026-08-23 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-08-23 18:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597174016001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122905063315210240,"note":"Value kept but may cause issues"} 
[2026-08-23 18:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8366773289070544896,"note":"Value kept but may cause issues"} 
[2026-08-23 18:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787488970000,"timestamp_ms":1787488970000,"timestamp_seconds":1787488970,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea52510"} 
[2026-08-23 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-08-23 18:13: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-08-23 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-23 18:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 18:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160708,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597174016001,"66":13015,"95":206,"85":13824,"24":30,"16":122905063315210240,"45":-8366773289070544896},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-23 18:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597174016001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:13:13] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-23 18:13:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122905063315210240,"km_value":122905063315210.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8366773289070544896,"description":"Unknown IO ID 45"} 
[2026-08-23 18:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597174016001,"power":13015,"unknown_95":206,"unknown_85":13824,"ignition":30,"odometer":null,"unknown_45":-8366773289070544896}} 
[2026-08-23 18:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":160708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:13:13] local.INFO: GPS data processed {"connection_id":160708,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:13:13] local.INFO: Acknowledgment sent {"connection_id":160708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:13:23] local.INFO: TCP Data received {"connection_id":163302,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:13:23] local.INFO: Processing buffer {"connection_id":163302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea0bc28012d34c58006aa4060001b011422..."} 
[2026-08-23 18:13:23] local.INFO: Packet analysis {"connection_id":163302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:13:23] local.INFO: Extracted packet for processing {"connection_id":163302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea0"} 
[2026-08-23 18:13:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":27,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597025280001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787488681000,"timestamp_ms":1787488681000,"timestamp_seconds":1787488681,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea0bc28"} 
[2026-08-23 18:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 18:13:23] 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-08-23 18:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597025280001,"66":25495,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597025280001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:13:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:13:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597025280001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":163302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:13:23] local.INFO: GPS data processed {"connection_id":163302,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:13:23] local.INFO: Acknowledgment sent {"connection_id":163302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:13:27] local.INFO: TCP Data received {"connection_id":160950,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:13:27] local.INFO: Processing buffer {"connection_id":160950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:13:27] local.INFO: IMEI packet received {"connection_id":160950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":160950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:13:29] local.INFO: TCP Data received {"connection_id":160950,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:13:29] local.INFO: Processing buffer {"connection_id":160950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:13:29] local.INFO: IMEI packet received {"connection_id":160950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":160950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:13:34] local.INFO: TCP Data received {"connection_id":160950,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:13:34] local.INFO: Processing buffer {"connection_id":160950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:13:34] local.INFO: IMEI packet received {"connection_id":160950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":160950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:13:34] local.INFO: TCP Data received {"connection_id":161907,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:13:34] local.INFO: Processing buffer {"connection_id":161907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:13:34] local.INFO: IMEI packet received {"connection_id":161907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":161907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:13:35] local.INFO: TCP Data received {"connection_id":160950,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea47d18012d1820c00721b278004700d328..."} 
[2026-08-23 18:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea47d18012d1820c00721b278004700d328..."} 
[2026-08-23 18:13:35] local.INFO: Processing buffer {"connection_id":160950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea47d18012d1820c00721b278004700d328..."} 
[2026-08-23 18:13:35] local.INFO: Packet analysis {"connection_id":160950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea4"} 
[2026-08-23 18:13:35] local.INFO: Extracted packet for processing {"connection_id":160950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea4"} 
[2026-08-23 18:13:35] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648888,"longitude_deg":75.6555968,"latitude_deg":11.9648888,"altitude":71,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-08-23 18:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597159936001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682214087884800,"note":"Value kept but may cause issues"} 
[2026-08-23 18:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027659776,"note":"Value kept but may cause issues"} 
[2026-08-23 18:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787488927000,"timestamp_ms":1787488927000,"timestamp_seconds":1787488927,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea47d18"} 
[2026-08-23 18:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-23 18:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597159936001,"66":12580,"105":206,"83":41984,"24":0,"16":15682214087884800,"45":1738600593027659776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597159936001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:13:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:13:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682214087884800,"km_value":15682214087884.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027659776,"description":"Unknown IO ID 45"} 
[2026-08-23 18:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597159936001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027659776}} 
[2026-08-23 18:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":160950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:13:35] local.INFO: GPS data processed {"connection_id":160950,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:13:35] local.INFO: Acknowledgment sent {"connection_id":160950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:13:36] local.INFO: TCP Data received {"connection_id":161907,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:13:36] local.INFO: Processing buffer {"connection_id":161907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:13:36] local.INFO: IMEI packet received {"connection_id":161907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":161907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:13:38] local.INFO: TCP Data received {"connection_id":161907,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:13:38] local.INFO: Processing buffer {"connection_id":161907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:13:38] local.INFO: IMEI packet received {"connection_id":161907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":161907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:13:39] local.INFO: TCP Data received {"connection_id":161907,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea55008012d8bdf0005cd01d0000c000029..."} 
[2026-08-23 18:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea55008012d8bdf0005cd01d0000c000029..."} 
[2026-08-23 18:13:39] local.INFO: Processing buffer {"connection_id":161907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea55008012d8bdf0005cd01d0000c000029..."} 
[2026-08-23 18:13:39] local.INFO: Packet analysis {"connection_id":161907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:13:39] local.INFO: Extracted packet for processing {"connection_id":161907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:13:39] local.INFO: GPS Element Parsed {"raw_longitude":764141312,"raw_latitude":97321424,"longitude_deg":76.4141312,"latitude_deg":9.7321424,"altitude":12,"angle":0,"satellites":41,"speed":33,"hex_longitude":"2d8bdf00","hex_latitude":"05cd01d0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597176320001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122905527171678208,"note":"Value kept but may cause issues"} 
[2026-08-23 18:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8367476976510003200,"note":"Value kept but may cause issues"} 
[2026-08-23 18:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787488981000,"timestamp_ms":1787488981000,"timestamp_seconds":1787488981,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea55008"} 
[2026-08-23 18:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18: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-08-23 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 18:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597176320001,"66":13048,"95":206,"85":13824,"24":33,"16":122905527171678208,"45":-8367476976510003200},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-23 18:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597176320001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:13:39] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-23 18:13:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122905527171678208,"km_value":122905527171678.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8367476976510003200,"description":"Unknown IO ID 45"} 
[2026-08-23 18:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597176320001,"power":13048,"unknown_95":206,"unknown_85":13824,"ignition":33,"odometer":null,"unknown_45":-8367476976510003200}} 
[2026-08-23 18:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":161907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:13:39] local.INFO: GPS data processed {"connection_id":161907,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:13:39] local.INFO: Acknowledgment sent {"connection_id":161907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:13:40] local.INFO: TCP Data received {"connection_id":161907,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea56390012d8bde0005cd1180000c015e29..."} 
[2026-08-23 18:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea56390012d8bde0005cd1180000c015e29..."} 
[2026-08-23 18:13:40] local.INFO: Processing buffer {"connection_id":161907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea56390012d8bde0005cd1180000c015e29..."} 
[2026-08-23 18:13:40] local.INFO: Packet analysis {"connection_id":161907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:13:40] local.INFO: Extracted packet for processing {"connection_id":161907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:13:40] local.INFO: GPS Element Parsed {"raw_longitude":764141056,"raw_latitude":97325440,"longitude_deg":76.4141056,"latitude_deg":9.732544,"altitude":12,"angle":350,"satellites":41,"speed":34,"hex_longitude":"2d8bde00","hex_latitude":"05cd1180","is_valid_coordinates":true} 
[2026-08-23 18:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597179136001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122905724740173824,"note":"Value kept but may cause issues"} 
[2026-08-23 18:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8367969557716807680,"note":"Value kept but may cause issues"} 
[2026-08-23 18:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787488986000,"timestamp_ms":1787488986000,"timestamp_seconds":1787488986,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea56390"} 
[2026-08-23 18:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:13: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-08-23 18:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-23 18:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597179136001,"66":13330,"95":206,"85":13824,"24":34,"16":122905724740173824,"45":-8367969557716807680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-23 18:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597179136001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:13:40] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-23 18:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122905724740173824,"km_value":122905724740173.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8367969557716807680,"description":"Unknown IO ID 45"} 
[2026-08-23 18:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597179136001,"power":13330,"unknown_95":206,"unknown_85":13824,"ignition":34,"odometer":null,"unknown_45":-8367969557716807680}} 
[2026-08-23 18:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":161907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:13:40] local.INFO: GPS data processed {"connection_id":161907,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:13:40] local.INFO: Acknowledgment sent {"connection_id":161907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:13:45] local.INFO: TCP Data received {"connection_id":163303,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:13:45] local.INFO: Processing buffer {"connection_id":163303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:13:45] local.INFO: IMEI packet received {"connection_id":163303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":163303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:13:50] local.INFO: TCP Data received {"connection_id":163303,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:13:50] local.INFO: Processing buffer {"connection_id":163303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:13:50] local.INFO: IMEI packet received {"connection_id":163303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":163303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:13:51] local.INFO: TCP Data received {"connection_id":163303,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:13:51] local.INFO: Processing buffer {"connection_id":163303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:13:51] local.INFO: Packet analysis {"connection_id":163303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:13:51] local.INFO: Extracted packet for processing {"connection_id":163303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:13:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597102336001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787488982000,"timestamp_ms":1787488982000,"timestamp_seconds":1787488982,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea553f0"} 
[2026-08-23 18:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 18:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:13:51] 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-08-23 18:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597102336001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597102336001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:13:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:13:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597102336001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":163303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:13:51] local.INFO: GPS data processed {"connection_id":163303,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:13:51] local.INFO: Acknowledgment sent {"connection_id":163303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:14:06] local.INFO: TCP Data received {"connection_id":160950,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea4cf20012d1820c00721b278004700d329..."} 
[2026-08-23 18:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea4cf20012d1820c00721b278004700d329..."} 
[2026-08-23 18:14:06] local.INFO: Processing buffer {"connection_id":160950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea4cf20012d1820c00721b278004700d329..."} 
[2026-08-23 18:14:06] local.INFO: Packet analysis {"connection_id":160950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea4"} 
[2026-08-23 18:14:06] local.INFO: Extracted packet for processing {"connection_id":160950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea4"} 
[2026-08-23 18:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648888,"longitude_deg":75.6555968,"latitude_deg":11.9648888,"altitude":71,"angle":211,"satellites":41,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-08-23 18:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597165312001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682214087884800,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027659776,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787488948000,"timestamp_ms":1787488948000,"timestamp_seconds":1787488948,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea4cf20"} 
[2026-08-23 18:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-23 18:14:06] 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-08-23 18:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597165312001,"66":12548,"105":206,"83":41984,"24":0,"16":15682214087884800,"45":1738600593027659776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597165312001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:14:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682214087884800,"km_value":15682214087884.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027659776,"description":"Unknown IO ID 45"} 
[2026-08-23 18:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597165312001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027659776}} 
[2026-08-23 18:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":160950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:14:06] local.INFO: GPS data processed {"connection_id":160950,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:14:06] local.INFO: Acknowledgment sent {"connection_id":160950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:14:12] local.INFO: TCP Data received {"connection_id":161907,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea586b8012d8bda0005cd36c0000b015f29..."} 
[2026-08-23 18:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea586b8012d8bda0005cd36c0000b015f29..."} 
[2026-08-23 18:14:12] local.INFO: Processing buffer {"connection_id":161907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea586b8012d8bda0005cd36c0000b015f29..."} 
[2026-08-23 18:14:12] local.INFO: Packet analysis {"connection_id":161907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:14:12] local.INFO: Extracted packet for processing {"connection_id":161907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:14:12] local.INFO: GPS Element Parsed {"raw_longitude":764140032,"raw_latitude":97334976,"longitude_deg":76.4140032,"latitude_deg":9.7334976,"altitude":11,"angle":351,"satellites":41,"speed":41,"hex_longitude":"2d8bda00","hex_latitude":"05cd36c0","is_valid_coordinates":true} 
[2026-08-23 18:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597180416001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122906188596641792,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8368251032692490240,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787488995000,"timestamp_ms":1787488995000,"timestamp_seconds":1787488995,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea586b8"} 
[2026-08-23 18:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:14: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-08-23 18:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-23 18:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2347040773,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3281994655130743600,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:12] local.WARNING: Large IO value detected {"io_id":41,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:12] local.WARNING: Large IO value detected {"io_id":46,"raw_value":57903988888982838,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:12] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":-7475975321283188224,"corrected_to":0} 
[2026-08-23 18:14:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3076456654,"corrected_to":0} 
[2026-08-23 18:14:12] local.WARNING: Large IO value detected {"io_id":237,"raw_value":2147863718,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:12] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422391,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:12] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2765815808,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3432529920,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:12] local.WARNING: Large IO value detected {"io_id":164,"raw_value":-2677388683338514427,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:12] local.WARNING: Large IO value detected {"io_id":183,"raw_value":6845698298976671744,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:12] local.WARNING: Large IO value detected {"io_id":96,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:12] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,95,85,24,241,157,16,166,160,80,45,1,12,41,10,66,165,37,192,220,13,43,64,240,29,227,46,204,4,113,205,36,234,237,72,42,239,51,2,180,5,14,164,183,96],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":204,"original":-7475975321283188224,"validated":0},{"io_id":205,"original":3076456654,"validated":0}]} 
[2026-08-23 18:14:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865076133620744192,"timestamp_seconds":865076133620744.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 18:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597180416001,"66":13341,"95":206,"85":13824,"24":41,"16":122906188596641792,"45":-8368251032692490240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-23 18:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597180416001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:14:12] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-23 18:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122906188596641792,"km_value":122906188596641.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8368251032692490240,"description":"Unknown IO ID 45"} 
[2026-08-23 18:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597180416001,"power":13341,"unknown_95":206,"unknown_85":13824,"ignition":41,"odometer":null,"unknown_45":-8368251032692490240}} 
[2026-08-23 18:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":161907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:14:12] local.INFO: GPS data processed {"connection_id":161907,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:14:12] local.INFO: Acknowledgment sent {"connection_id":161907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:14:23] local.INFO: TCP Data received {"connection_id":163303,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:14:23] local.INFO: Processing buffer {"connection_id":163303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:14:23] local.INFO: Packet analysis {"connection_id":163303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:14:23] local.INFO: Extracted packet for processing {"connection_id":163303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:14:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597102336001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787488982000,"timestamp_ms":1787488982000,"timestamp_seconds":1787488982,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea553f0"} 
[2026-08-23 18:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:14: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-08-23 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 18:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:14:23] 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-08-23 18:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597102336001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597102336001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:14:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:14:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597102336001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":163303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:14:23] local.INFO: GPS data processed {"connection_id":163303,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:14:23] local.INFO: Acknowledgment sent {"connection_id":163303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:14:28] local.INFO: TCP Data received {"connection_id":160709,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:14:28] local.INFO: Processing buffer {"connection_id":160709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:14:28] local.INFO: IMEI packet received {"connection_id":160709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":160709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:14:30] local.INFO: TCP Data received {"connection_id":160709,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:14:30] local.INFO: Processing buffer {"connection_id":160709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:14:30] local.INFO: IMEI packet received {"connection_id":160709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":160709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:14:34] local.INFO: TCP Data received {"connection_id":160709,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:14:34] local.INFO: Processing buffer {"connection_id":160709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:14:34] local.INFO: IMEI packet received {"connection_id":160709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":160709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:14:34] local.INFO: TCP Data received {"connection_id":163304,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:14:34] local.INFO: Processing buffer {"connection_id":163304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:14:34] local.INFO: IMEI packet received {"connection_id":163304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":163304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:14:35] local.INFO: TCP Data received {"connection_id":160709,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea52128012d1820c00721b278004700d328..."} 
[2026-08-23 18:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea52128012d1820c00721b278004700d328..."} 
[2026-08-23 18:14:35] local.INFO: Processing buffer {"connection_id":160709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea52128012d1820c00721b278004700d328..."} 
[2026-08-23 18:14:35] local.INFO: Packet analysis {"connection_id":160709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:14:35] local.INFO: Extracted packet for processing {"connection_id":160709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:14:35] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648888,"longitude_deg":75.6555968,"latitude_deg":11.9648888,"altitude":71,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-08-23 18:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597170688001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682214087884800,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027659776,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787488969000,"timestamp_ms":1787488969000,"timestamp_seconds":1787488969,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea52128"} 
[2026-08-23 18:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 18:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:35] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:35] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2743533569,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:35] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2994208839,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-23 18:14:35] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:35] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:35] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3068395520,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:35] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:35] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,182,160,125,45,192,178,71,40,10,66,43,39,217,1,240,4,227,46,33,113,205,52,32,120,41,239,49,2,55,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-23 18:14:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116321349740003328,"timestamp_seconds":5116321349740003.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 18:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597170688001,"66":12591,"105":206,"83":41984,"24":0,"16":15682214087884800,"45":1738600593027659776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597170688001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:14:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:14:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682214087884800,"km_value":15682214087884.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027659776,"description":"Unknown IO ID 45"} 
[2026-08-23 18:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597170688001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027659776}} 
[2026-08-23 18:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":160709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:14:35] local.INFO: GPS data processed {"connection_id":160709,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:14:35] local.INFO: Acknowledgment sent {"connection_id":160709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:14:37] local.INFO: TCP Data received {"connection_id":163304,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:14:37] local.INFO: Processing buffer {"connection_id":163304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:14:37] local.INFO: IMEI packet received {"connection_id":163304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":163304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:14:39] local.INFO: TCP Data received {"connection_id":163304,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:14:39] local.INFO: Processing buffer {"connection_id":163304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:14:39] local.INFO: IMEI packet received {"connection_id":163304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":163304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:14:45] local.INFO: TCP Data received {"connection_id":163304,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea5a9e0012d8bd30005cd5840000b015029..."} 
[2026-08-23 18:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea5a9e0012d8bd30005cd5840000b015029..."} 
[2026-08-23 18:14:45] local.INFO: Processing buffer {"connection_id":163304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea5a9e0012d8bd30005cd5840000b015029..."} 
[2026-08-23 18:14:45] local.INFO: Packet analysis {"connection_id":163304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:14:45] local.INFO: Extracted packet for processing {"connection_id":163304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:14:45] local.INFO: GPS Element Parsed {"raw_longitude":764138240,"raw_latitude":97343552,"longitude_deg":76.413824,"latitude_deg":9.7343552,"altitude":11,"angle":336,"satellites":41,"speed":30,"hex_longitude":"2d8bd300","hex_latitude":"05cd5840","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597182720001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122906613798404096,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8369376932596891648,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:45] 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-08-23 18:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787489004000,"timestamp_ms":1787489004000,"timestamp_seconds":1787489004,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea5a9e0"} 
[2026-08-23 18:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:14: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-08-23 18: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-23 18:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597182720001,"66":13472,"244":206,"85":13824,"24":30,"16":122906613798404096,"45":-8369376932596891648},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-08-23 18:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597182720001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:14:45] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-23 18:14:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122906613798404096,"km_value":122906613798404.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8369376932596891648,"description":"Unknown IO ID 45"} 
[2026-08-23 18:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597182720001,"power":13472,"unknown_244":206,"unknown_85":13824,"ignition":30,"odometer":null,"unknown_45":-8369376932596891648}} 
[2026-08-23 18:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":163304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:14:45] local.INFO: GPS data processed {"connection_id":163304,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:14:45] local.INFO: Acknowledgment sent {"connection_id":163304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:14:45] local.INFO: TCP Data received {"connection_id":161908,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:14:45] local.INFO: Processing buffer {"connection_id":161908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:14:45] local.INFO: IMEI packet received {"connection_id":161908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":161908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:14:50] local.INFO: TCP Data received {"connection_id":161908,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:14:50] local.INFO: Processing buffer {"connection_id":161908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:14:50] local.INFO: IMEI packet received {"connection_id":161908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":161908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:14:51] local.INFO: TCP Data received {"connection_id":161908,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:14:51] local.INFO: Processing buffer {"connection_id":161908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:14:51] local.INFO: Packet analysis {"connection_id":161908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:14:51] local.INFO: Extracted packet for processing {"connection_id":161908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597102336001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787488982000,"timestamp_ms":1787488982000,"timestamp_seconds":1787488982,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea553f0"} 
[2026-08-23 18:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 18:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597102336001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597102336001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:14:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597102336001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":161908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:14:51] local.INFO: GPS data processed {"connection_id":161908,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:14:51] local.INFO: Acknowledgment sent {"connection_id":161908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:15:06] local.INFO: TCP Data received {"connection_id":160709,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea57330012d1820c00721b278004700d328..."} 
[2026-08-23 18:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea57330012d1820c00721b278004700d328..."} 
[2026-08-23 18:15:06] local.INFO: Processing buffer {"connection_id":160709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea57330012d1820c00721b278004700d328..."} 
[2026-08-23 18:15:06] local.INFO: Packet analysis {"connection_id":160709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:15:06] local.INFO: Extracted packet for processing {"connection_id":160709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648888,"longitude_deg":75.6555968,"latitude_deg":11.9648888,"altitude":71,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-08-23 18:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597176064001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682214087884800,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027659776,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787488990000,"timestamp_ms":1787488990000,"timestamp_seconds":1787488990,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea57330"} 
[2026-08-23 18:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 18:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597176064001,"66":12558,"105":206,"83":41984,"24":0,"16":15682214087884800,"45":1738600593027659776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597176064001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:15:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682214087884800,"km_value":15682214087884.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027659776,"description":"Unknown IO ID 45"} 
[2026-08-23 18:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597176064001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027659776}} 
[2026-08-23 18:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":160709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:15:06] local.INFO: GPS data processed {"connection_id":160709,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:15:06] local.INFO: Acknowledgment sent {"connection_id":160709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:15:19] local.INFO: TCP Data received {"connection_id":163304,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea5d4d8012d8bc5c005cd73b00009015c28..."} 
[2026-08-23 18:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea5d4d8012d8bc5c005cd73b00009015c28..."} 
[2026-08-23 18:15:19] local.INFO: Processing buffer {"connection_id":163304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea5d4d8012d8bc5c005cd73b00009015c28..."} 
[2026-08-23 18:15:19] local.INFO: Packet analysis {"connection_id":163304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:15:19] local.INFO: Extracted packet for processing {"connection_id":163304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:15:19] local.INFO: GPS Element Parsed {"raw_longitude":764134848,"raw_latitude":97350576,"longitude_deg":76.4134848,"latitude_deg":9.7350576,"altitude":9,"angle":348,"satellites":40,"speed":28,"hex_longitude":"2d8bc5c0","hex_latitude":"05cd73b0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597185024001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122906996050493440,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8371347257431670784,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:19] 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-08-23 18:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787489015000,"timestamp_ms":1787489015000,"timestamp_seconds":1787489015,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea5d4d8"} 
[2026-08-23 18:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:15: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-08-23 18: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-23 18:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597185024001,"66":12950,"244":206,"85":13824,"24":28,"16":122906996050493440,"45":-8371347257431670784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-08-23 18:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597185024001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:15:19] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-23 18:15:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122906996050493440,"km_value":122906996050493.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8371347257431670784,"description":"Unknown IO ID 45"} 
[2026-08-23 18:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597185024001,"power":12950,"unknown_244":206,"unknown_85":13824,"ignition":28,"odometer":null,"unknown_45":-8371347257431670784}} 
[2026-08-23 18:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":163304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:15:19] local.INFO: GPS data processed {"connection_id":163304,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:15:19] local.INFO: Acknowledgment sent {"connection_id":163304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:15:23] local.INFO: TCP Data received {"connection_id":161908,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:15:23] local.INFO: Processing buffer {"connection_id":161908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:15:23] local.INFO: Packet analysis {"connection_id":161908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:15:23] local.INFO: Extracted packet for processing {"connection_id":161908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:15:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597102336001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787488982000,"timestamp_ms":1787488982000,"timestamp_seconds":1787488982,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea553f0"} 
[2026-08-23 18:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:15: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-08-23 18:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 18:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597102336001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597102336001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:15:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:15:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597102336001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":161908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:15:23] local.INFO: GPS data processed {"connection_id":161908,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:15:23] local.INFO: Acknowledgment sent {"connection_id":161908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:15:29] local.INFO: TCP Data received {"connection_id":160951,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:15:29] local.INFO: Processing buffer {"connection_id":160951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:15:29] local.INFO: IMEI packet received {"connection_id":160951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":160951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:15:33] local.INFO: TCP Data received {"connection_id":160951,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:15:33] local.INFO: Processing buffer {"connection_id":160951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:15:33] local.INFO: IMEI packet received {"connection_id":160951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":160951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:15:34] local.INFO: TCP Data received {"connection_id":160951,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:15:34] local.INFO: Processing buffer {"connection_id":160951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:15:34] local.INFO: IMEI packet received {"connection_id":160951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":160951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:15:34] local.INFO: TCP Data received {"connection_id":160951,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea5c538012d1820c00721b278004700d325..."} 
[2026-08-23 18:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea5c538012d1820c00721b278004700d325..."} 
[2026-08-23 18:15:34] local.INFO: Processing buffer {"connection_id":160951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea5c538012d1820c00721b278004700d325..."} 
[2026-08-23 18:15:34] local.INFO: Packet analysis {"connection_id":160951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:15:34] local.INFO: Extracted packet for processing {"connection_id":160951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:15:34] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648888,"longitude_deg":75.6555968,"latitude_deg":11.9648888,"altitude":71,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-08-23 18:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597181440001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682214087884800,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027659776,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787489011000,"timestamp_ms":1787489011000,"timestamp_seconds":1787489011,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea5c538"} 
[2026-08-23 18:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-23 18:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:34] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:34] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2994208839,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383140273271416,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:34] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2754285569,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-23 18:15:34] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:34] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3068395520,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:34] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:34] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:34] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,182,160,33,45,192,178,71,40,10,66,207,41,125,1,240,36,227,46,4,113,205,217,32,120,38,239,49,2,55,7,106,93,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-23 18:15:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116321345445036032,"timestamp_seconds":5116321345445036.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 18:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597181440001,"66":12515,"105":206,"83":41984,"24":0,"16":15682214087884800,"45":1738600593027659776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597181440001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:15:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:15:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682214087884800,"km_value":15682214087884.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027659776,"description":"Unknown IO ID 45"} 
[2026-08-23 18:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597181440001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027659776}} 
[2026-08-23 18:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":160951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:15:34] local.INFO: GPS data processed {"connection_id":160951,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:15:34] local.INFO: Acknowledgment sent {"connection_id":160951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:15:35] local.INFO: TCP Data received {"connection_id":160952,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:15:35] local.INFO: Processing buffer {"connection_id":160952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:15:35] local.INFO: IMEI packet received {"connection_id":160952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":160952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:15:39] local.INFO: TCP Data received {"connection_id":160952,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:15:39] local.INFO: Processing buffer {"connection_id":160952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:15:39] local.INFO: IMEI packet received {"connection_id":160952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":160952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:15:39] local.INFO: TCP Data received {"connection_id":160951,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea61740012d1820c00721b278004700d324..."} 
[2026-08-23 18:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea61740012d1820c00721b278004700d324..."} 
[2026-08-23 18:15:39] local.INFO: Processing buffer {"connection_id":160951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea61740012d1820c00721b278004700d324..."} 
[2026-08-23 18:15:39] local.INFO: Packet analysis {"connection_id":160951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea6"} 
[2026-08-23 18:15:39] local.INFO: Extracted packet for processing {"connection_id":160951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea6"} 
[2026-08-23 18:15:39] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648888,"longitude_deg":75.6555968,"latitude_deg":11.9648888,"altitude":71,"angle":211,"satellites":36,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597186816001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682214087884800,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027659776,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787489032000,"timestamp_ms":1787489032000,"timestamp_seconds":1787489032,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea61740"} 
[2026-08-23 18:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:15: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-08-23 18: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-23 18:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597186816001,"66":12548,"105":206,"83":41984,"24":0,"16":15682214087884800,"45":1738600593027659776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597186816001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:15:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:15:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682214087884800,"km_value":15682214087884.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027659776,"description":"Unknown IO ID 45"} 
[2026-08-23 18:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597186816001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027659776}} 
[2026-08-23 18:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":160951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:15:39] local.INFO: GPS data processed {"connection_id":160951,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:15:39] local.INFO: Acknowledgment sent {"connection_id":160951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:15:45] local.INFO: TCP Data received {"connection_id":160952,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:15:45] local.INFO: Processing buffer {"connection_id":160952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:15:45] local.INFO: IMEI packet received {"connection_id":160952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":160952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:15:45] local.INFO: TCP Data received {"connection_id":160710,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:15:45] local.INFO: Processing buffer {"connection_id":160710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:15:45] local.INFO: IMEI packet received {"connection_id":160710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":160710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:15:49] local.INFO: TCP Data received {"connection_id":160952,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea73468012d8b490005cdf968000a010f29..."} 
[2026-08-23 18:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea73468012d8b490005cdf968000a010f29..."} 
[2026-08-23 18:15:49] local.INFO: Processing buffer {"connection_id":160952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea73468012d8b490005cdf968000a010f29..."} 
[2026-08-23 18:15:49] local.INFO: Packet analysis {"connection_id":160952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea7"} 
[2026-08-23 18:15:49] local.INFO: Extracted packet for processing {"connection_id":160952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea7"} 
[2026-08-23 18:15:49] local.INFO: GPS Element Parsed {"raw_longitude":764102912,"raw_latitude":97384808,"longitude_deg":76.4102912,"latitude_deg":9.7384808,"altitude":10,"angle":271,"satellites":41,"speed":36,"hex_longitude":"2d8b4900","hex_latitude":"05cdf968","is_valid_coordinates":true} 
[2026-08-23 18:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597206784001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122909903743352832,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8399424386347997184,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:49] 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-08-23 18:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787489105000,"timestamp_ms":1787489105000,"timestamp_seconds":1787489105,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea73468"} 
[2026-08-23 18:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-23 18:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":160952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":160952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":160952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597206784001,"66":13559,"245":206,"85":13824,"24":36,"16":122909903743352832,"45":-8399424386347997184},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 18:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597206784001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:15:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122909903743352832,"km_value":122909903743352.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8399424386347997184,"description":"Unknown IO ID 45"} 
[2026-08-23 18:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597206784001,"power":13559,"geofence_id":206,"unknown_85":13824,"ignition":36,"odometer":null,"unknown_45":-8399424386347997184}} 
[2026-08-23 18:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":160952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:15:49] local.INFO: GPS data processed {"connection_id":160952,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:15:49] local.INFO: Acknowledgment sent {"connection_id":160952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:15:49] local.INFO: TCP Data received {"connection_id":160952,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea76b18012d8b248005cdfea0000c011828..."} 
[2026-08-23 18:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea76b18012d8b248005cdfea0000c011828..."} 
[2026-08-23 18:15:49] local.INFO: Processing buffer {"connection_id":160952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea76b18012d8b248005cdfea0000c011828..."} 
[2026-08-23 18:15:49] local.INFO: Packet analysis {"connection_id":160952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea7"} 
[2026-08-23 18:15:49] local.INFO: Extracted packet for processing {"connection_id":160952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea7"} 
[2026-08-23 18:15:49] local.INFO: GPS Element Parsed {"raw_longitude":764093568,"raw_latitude":97386144,"longitude_deg":76.4093568,"latitude_deg":9.7386144,"altitude":12,"angle":280,"satellites":40,"speed":21,"hex_longitude":"2d8b2480","hex_latitude":"05cdfea0","is_valid_coordinates":true} 
[2026-08-23 18:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597210880001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122910359009886208,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8410190804207179776,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:49] 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-08-23 18:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787489119000,"timestamp_ms":1787489119000,"timestamp_seconds":1787489119,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea76b18"} 
[2026-08-23 18:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-23 18:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":160952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":160952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":160952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597210880001,"66":13276,"245":206,"85":13824,"24":21,"16":122910359009886208,"45":-8410190804207179776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 18:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597210880001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:15:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122910359009886208,"km_value":122910359009886.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8410190804207179776,"description":"Unknown IO ID 45"} 
[2026-08-23 18:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597210880001,"power":13276,"geofence_id":206,"unknown_85":13824,"ignition":21,"odometer":null,"unknown_45":-8410190804207179776}} 
[2026-08-23 18:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":160952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:15:49] local.INFO: GPS data processed {"connection_id":160952,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:15:49] local.INFO: Acknowledgment sent {"connection_id":160952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:15:50] local.INFO: TCP Data received {"connection_id":160710,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:15:50] local.INFO: Processing buffer {"connection_id":160710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:15:50] local.INFO: IMEI packet received {"connection_id":160710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":160710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:15:51] local.INFO: TCP Data received {"connection_id":160710,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:15:51] local.INFO: Processing buffer {"connection_id":160710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:15:51] local.INFO: Packet analysis {"connection_id":160710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:15:51] local.INFO: Extracted packet for processing {"connection_id":160710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:15:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597102336001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787488982000,"timestamp_ms":1787488982000,"timestamp_seconds":1787488982,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea553f0"} 
[2026-08-23 18:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 18:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597102336001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597102336001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:15:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:15:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597102336001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":160710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:15:51] local.INFO: GPS data processed {"connection_id":160710,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:15:51] local.INFO: Acknowledgment sent {"connection_id":160710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:16:10] local.INFO: TCP Data received {"connection_id":160951,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea66948012d1820c00721b278004700d328..."} 
[2026-08-23 18:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea66948012d1820c00721b278004700d328..."} 
[2026-08-23 18:16:10] local.INFO: Processing buffer {"connection_id":160951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea66948012d1820c00721b278004700d328..."} 
[2026-08-23 18:16:10] local.INFO: Packet analysis {"connection_id":160951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea6"} 
[2026-08-23 18:16:10] local.INFO: Extracted packet for processing {"connection_id":160951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea6"} 
[2026-08-23 18:16:10] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648888,"longitude_deg":75.6555968,"latitude_deg":11.9648888,"altitude":71,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597192192001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682214087884800,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027659776,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787489053000,"timestamp_ms":1787489053000,"timestamp_seconds":1787489053,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea66948"} 
[2026-08-23 18:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:16:10] 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-08-23 18: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 18:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:10] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:10] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2994208839,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184200569037,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:10] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2765037569,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-23 18:16:10] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:10] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3068395520,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:10] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:10] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,182,160,197,45,192,178,71,37,10,66,115,40,33,1,240,47,227,46,4,113,205,125,32,120,239,49,2,55,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-23 18:16:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116321328265166848,"timestamp_seconds":5116321328265167.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 18:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597192192001,"66":12548,"105":206,"83":41984,"24":0,"16":15682214087884800,"45":1738600593027659776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597192192001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:16:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:16:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682214087884800,"km_value":15682214087884.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027659776,"description":"Unknown IO ID 45"} 
[2026-08-23 18:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597192192001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027659776}} 
[2026-08-23 18:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":160951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:16:10] local.INFO: GPS data processed {"connection_id":160951,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:16:10] local.INFO: Acknowledgment sent {"connection_id":160951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:16:23] local.INFO: TCP Data received {"connection_id":160710,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:16:23] local.INFO: Processing buffer {"connection_id":160710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:16:23] local.INFO: Packet analysis {"connection_id":160710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:16:23] local.INFO: Extracted packet for processing {"connection_id":160710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:16:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597102336001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787488982000,"timestamp_ms":1787488982000,"timestamp_seconds":1787488982,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea553f0"} 
[2026-08-23 18:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:16: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-08-23 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 18:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597102336001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597102336001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:16:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:16:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597102336001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":160710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:16:23] local.INFO: GPS data processed {"connection_id":160710,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:16:23] local.INFO: Acknowledgment sent {"connection_id":160710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:16:30] local.INFO: TCP Data received {"connection_id":161909,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:16:30] local.INFO: Processing buffer {"connection_id":161909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:16:30] local.INFO: IMEI packet received {"connection_id":161909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":161909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:16:34] local.INFO: TCP Data received {"connection_id":161909,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:16:34] local.INFO: Processing buffer {"connection_id":161909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:16:34] local.INFO: IMEI packet received {"connection_id":161909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":161909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:16:39] local.INFO: TCP Data received {"connection_id":161909,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:16:39] local.INFO: Processing buffer {"connection_id":161909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:16:39] local.INFO: IMEI packet received {"connection_id":161909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":161909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:16:40] local.INFO: TCP Data received {"connection_id":161909,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea6bb50012d1820c00721b278004700d328..."} 
[2026-08-23 18:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea6bb50012d1820c00721b278004700d328..."} 
[2026-08-23 18:16:40] local.INFO: Processing buffer {"connection_id":161909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea6bb50012d1820c00721b278004700d328..."} 
[2026-08-23 18:16:40] local.INFO: Packet analysis {"connection_id":161909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea6"} 
[2026-08-23 18:16:40] local.INFO: Extracted packet for processing {"connection_id":161909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea6"} 
[2026-08-23 18:16:40] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648888,"longitude_deg":75.6555968,"latitude_deg":11.9648888,"altitude":71,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-08-23 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-08-23 18:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597197568001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682214087884800,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027659776,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787489074000,"timestamp_ms":1787489074000,"timestamp_seconds":1787489074,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea6bb50"} 
[2026-08-23 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-08-23 18:16:40] 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-08-23 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 18:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:40] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199127245,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:40] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2770413569,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:40] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2994208839,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-23 18:16:40] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:40] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3068395520,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:40] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:40] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,182,160,23,45,192,178,71,36,10,66,197,37,115,1,240,14,227,46,33,4,113,205,207,32,120,41,239,49,2,55,7,106],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-23 18:16:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116321345445036032,"timestamp_seconds":5116321345445036.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 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-08-23 18:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597197568001,"66":12548,"105":206,"83":41984,"24":0,"16":15682214087884800,"45":1738600593027659776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597197568001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:16:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:16:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682214087884800,"km_value":15682214087884.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027659776,"description":"Unknown IO ID 45"} 
[2026-08-23 18:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597197568001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027659776}} 
[2026-08-23 18:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":161909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:16:40] local.INFO: GPS data processed {"connection_id":161909,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:16:40] local.INFO: Acknowledgment sent {"connection_id":161909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:16:42] local.INFO: TCP Data received {"connection_id":161910,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:16:42] local.INFO: Processing buffer {"connection_id":161910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:16:42] local.INFO: IMEI packet received {"connection_id":161910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":161910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:16:43] local.INFO: TCP Data received {"connection_id":161910,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:16:43] local.INFO: Processing buffer {"connection_id":161910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:16:43] local.INFO: IMEI packet received {"connection_id":161910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":161910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:16:44] local.INFO: TCP Data received {"connection_id":161910,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea86518012d8a754005ce0f38000a011428..."} 
[2026-08-23 18:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea86518012d8a754005ce0f38000a011428..."} 
[2026-08-23 18:16:44] local.INFO: Processing buffer {"connection_id":161910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea86518012d8a754005ce0f38000a011428..."} 
[2026-08-23 18:16:44] local.INFO: Packet analysis {"connection_id":161910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea8"} 
[2026-08-23 18:16:44] local.INFO: Extracted packet for processing {"connection_id":161910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea8"} 
[2026-08-23 18:16:44] local.INFO: GPS Element Parsed {"raw_longitude":764048704,"raw_latitude":97390392,"longitude_deg":76.4048704,"latitude_deg":9.7390392,"altitude":10,"angle":276,"satellites":40,"speed":33,"hex_longitude":"2d8a7540","hex_latitude":"05ce0f38","is_valid_coordinates":true} 
[2026-08-23 18:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597230080001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122912686882160640,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8467189486989682688,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16: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-08-23 18:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787489183000,"timestamp_ms":1787489183000,"timestamp_seconds":1787489183,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea86518"} 
[2026-08-23 18:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:16: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-08-23 18:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-23 18:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597230080001,"66":13406,"245":206,"85":13824,"24":33,"16":122912686882160640,"45":-8467189486989682688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 18:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597230080001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:16:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122912686882160640,"km_value":122912686882160.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8467189486989682688,"description":"Unknown IO ID 45"} 
[2026-08-23 18:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597230080001,"power":13406,"geofence_id":206,"unknown_85":13824,"ignition":33,"odometer":null,"unknown_45":-8467189486989682688}} 
[2026-08-23 18:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":161910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:16:44] local.INFO: GPS data processed {"connection_id":161910,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:16:44] local.INFO: Acknowledgment sent {"connection_id":161910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:16:44] local.INFO: TCP Data received {"connection_id":161909,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea70d58012d1820c00721b278004700d328..."} 
[2026-08-23 18:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea70d58012d1820c00721b278004700d328..."} 
[2026-08-23 18:16:44] local.INFO: Processing buffer {"connection_id":161909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea70d58012d1820c00721b278004700d328..."} 
[2026-08-23 18:16:44] local.INFO: Packet analysis {"connection_id":161909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea7"} 
[2026-08-23 18:16:44] local.INFO: Extracted packet for processing {"connection_id":161909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea7"} 
[2026-08-23 18:16:44] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648888,"longitude_deg":75.6555968,"latitude_deg":11.9648888,"altitude":71,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-08-23 18:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597202944001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682214087884800,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027659776,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787489095000,"timestamp_ms":1787489095000,"timestamp_seconds":1787489095,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea70d58"} 
[2026-08-23 18:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 18:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:44] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:44] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:44] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2775789569,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-23 18:16:44] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:44] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3068395520,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:44] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:44] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,182,160,45,192,178,71,40,10,66,23,36,197,1,240,227,46,33,4,113,205,32,120,239,49,2,55,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-23 18:16:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116321345445036032,"timestamp_seconds":5116321345445036.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 18:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597202944001,"66":12558,"105":206,"83":41984,"24":0,"16":15682214087884800,"45":1738600593027659776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597202944001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:16:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:16:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682214087884800,"km_value":15682214087884.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027659776,"description":"Unknown IO ID 45"} 
[2026-08-23 18:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597202944001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027659776}} 
[2026-08-23 18:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":161909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:16:44] local.INFO: GPS data processed {"connection_id":161909,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:16:44] local.INFO: Acknowledgment sent {"connection_id":161909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:16:45] local.INFO: TCP Data received {"connection_id":161910,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea870d0012d8a6c0005ce10d8000a012429..."} 
[2026-08-23 18:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea870d0012d8a6c0005ce10d8000a012429..."} 
[2026-08-23 18:16:45] local.INFO: Processing buffer {"connection_id":161910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea870d0012d8a6c0005ce10d8000a012429..."} 
[2026-08-23 18:16:45] local.INFO: Packet analysis {"connection_id":161910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea8"} 
[2026-08-23 18:16:45] local.INFO: Extracted packet for processing {"connection_id":161910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea8"} 
[2026-08-23 18:16:45] local.INFO: GPS Element Parsed {"raw_longitude":764046336,"raw_latitude":97390808,"longitude_deg":76.4046336,"latitude_deg":9.7390808,"altitude":10,"angle":292,"satellites":41,"speed":32,"hex_longitude":"2d8a6c00","hex_latitude":"05ce10d8","is_valid_coordinates":true} 
[2026-08-23 18:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597230848001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122912802846277632,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8469793130524231680,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:45] 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-08-23 18:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787489186000,"timestamp_ms":1787489186000,"timestamp_seconds":1787489186,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea870d0"} 
[2026-08-23 18:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-23 18:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597230848001,"66":13135,"245":206,"85":13824,"24":32,"16":122912802846277632,"45":-8469793130524231680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 18:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597230848001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:16:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122912802846277632,"km_value":122912802846277.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8469793130524231680,"description":"Unknown IO ID 45"} 
[2026-08-23 18:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597230848001,"power":13135,"geofence_id":206,"unknown_85":13824,"ignition":32,"odometer":null,"unknown_45":-8469793130524231680}} 
[2026-08-23 18:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":161910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:16:45] local.INFO: GPS data processed {"connection_id":161910,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:16:45] local.INFO: Acknowledgment sent {"connection_id":161910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:16:45] local.INFO: TCP Data received {"connection_id":160953,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:16:45] local.INFO: Processing buffer {"connection_id":160953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:16:45] local.INFO: IMEI packet received {"connection_id":160953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":160953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:16:50] local.INFO: TCP Data received {"connection_id":160953,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:16:50] local.INFO: Processing buffer {"connection_id":160953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:16:50] local.INFO: IMEI packet received {"connection_id":160953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":160953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:16:52] local.INFO: TCP Data received {"connection_id":160953,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:16:52] local.INFO: Processing buffer {"connection_id":160953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:16:52] local.INFO: Packet analysis {"connection_id":160953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:16:52] local.INFO: Extracted packet for processing {"connection_id":160953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:16:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:16: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-08-23 18:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597102336001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787488982000,"timestamp_ms":1787488982000,"timestamp_seconds":1787488982,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea553f0"} 
[2026-08-23 18:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 18:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:16: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-08-23 18:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:16:52] 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-08-23 18:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597102336001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597102336001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:16:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:16:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597102336001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":160953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:16:52] local.INFO: GPS data processed {"connection_id":160953,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:16:52] local.INFO: Acknowledgment sent {"connection_id":160953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:17:17] local.INFO: TCP Data received {"connection_id":161910,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea878a0012d8a664005ce14b8000a013828..."} 
[2026-08-23 18:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea878a0012d8a664005ce14b8000a013828..."} 
[2026-08-23 18:17:17] local.INFO: Processing buffer {"connection_id":161910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea878a0012d8a664005ce14b8000a013828..."} 
[2026-08-23 18:17:17] local.INFO: Packet analysis {"connection_id":161910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea8"} 
[2026-08-23 18:17:17] local.INFO: Extracted packet for processing {"connection_id":161910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea8"} 
[2026-08-23 18:17:17] local.INFO: GPS Element Parsed {"raw_longitude":764044864,"raw_latitude":97391800,"longitude_deg":76.4044864,"latitude_deg":9.73918,"altitude":10,"angle":312,"satellites":40,"speed":36,"hex_longitude":"2d8a6640","hex_latitude":"05ce14b8","is_valid_coordinates":true} 
[2026-08-23 18:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597231616001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122912888745623552,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8472396774058698752,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:17] 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-08-23 18:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787489188000,"timestamp_ms":1787489188000,"timestamp_seconds":1787489188,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea878a0"} 
[2026-08-23 18:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:17: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-08-23 18:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 18:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597231616001,"66":13254,"245":206,"85":13824,"24":36,"16":122912888745623552,"45":-8472396774058698752},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 18:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597231616001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:17:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122912888745623552,"km_value":122912888745623.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8472396774058698752,"description":"Unknown IO ID 45"} 
[2026-08-23 18:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597231616001,"power":13254,"geofence_id":206,"unknown_85":13824,"ignition":36,"odometer":null,"unknown_45":-8472396774058698752}} 
[2026-08-23 18:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":161910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:17:17] local.INFO: GPS data processed {"connection_id":161910,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:17:17] local.INFO: Acknowledgment sent {"connection_id":161910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:17:23] local.INFO: TCP Data received {"connection_id":160953,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:17:23] local.INFO: Processing buffer {"connection_id":160953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:17:23] local.INFO: Packet analysis {"connection_id":160953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:17:23] local.INFO: Extracted packet for processing {"connection_id":160953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:17:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597102336001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787488982000,"timestamp_ms":1787488982000,"timestamp_seconds":1787488982,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea553f0"} 
[2026-08-23 18:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:17: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-08-23 18:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 18:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:17: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-08-23 18:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597102336001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597102336001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:17:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:17:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597102336001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":160953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:17:23] local.INFO: GPS data processed {"connection_id":160953,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:17:23] local.INFO: Acknowledgment sent {"connection_id":160953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:17:29] local.INFO: TCP Data received {"connection_id":163305,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:17:29] local.INFO: Processing buffer {"connection_id":163305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:17:29] local.INFO: IMEI packet received {"connection_id":163305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":163305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:17:33] local.INFO: TCP Data received {"connection_id":163305,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:17:33] local.INFO: Processing buffer {"connection_id":163305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:17:33] local.INFO: IMEI packet received {"connection_id":163305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":163305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:17:34] local.INFO: TCP Data received {"connection_id":163305,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea74020012d181f400721b150005000df29..."} 
[2026-08-23 18:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea74020012d181f400721b150005000df29..."} 
[2026-08-23 18:17:34] local.INFO: Processing buffer {"connection_id":163305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea74020012d181f400721b150005000df29..."} 
[2026-08-23 18:17:34] local.INFO: Packet analysis {"connection_id":163305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea7"} 
[2026-08-23 18:17:34] local.INFO: Extracted packet for processing {"connection_id":163305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea7"} 
[2026-08-23 18:17:34] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648592,"longitude_deg":75.6555584,"latitude_deg":11.9648592,"altitude":80,"angle":223,"satellites":41,"speed":2,"hex_longitude":"2d181f40","hex_latitude":"0721b150","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597208320001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682239857688576,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027659776,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787489108000,"timestamp_ms":1787489108000,"timestamp_seconds":1787489108,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea74020"} 
[2026-08-23 18:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-23 18:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:34] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383140273271416,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:34] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2781165569,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:34] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2994208839,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-23 18:17:34] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:34] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3068395520,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:34] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:34] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:34] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,182,160,187,45,192,178,71,40,10,66,23,1,240,4,227,46,33,113,205,115,32,120,239,49,2,55,7,106,92,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-23 18:17:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116321345445036032,"timestamp_seconds":5116321345445036.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 18:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597208320001,"66":12548,"105":206,"83":41984,"24":2,"16":15682239857688576,"45":1738600593027659776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597208320001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:17:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:17:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682239857688576,"km_value":15682239857688.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027659776,"description":"Unknown IO ID 45"} 
[2026-08-23 18:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597208320001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738600593027659776}} 
[2026-08-23 18:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":163305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:17:34] local.INFO: GPS data processed {"connection_id":163305,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:17:34] local.INFO: Acknowledgment sent {"connection_id":163305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:17:34] local.INFO: TCP Data received {"connection_id":160954,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:17:34] local.INFO: Processing buffer {"connection_id":160954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:17:34] local.INFO: IMEI packet received {"connection_id":160954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":160954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:17:36] local.INFO: TCP Data received {"connection_id":160954,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:17:36] local.INFO: Processing buffer {"connection_id":160954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:17:36] local.INFO: IMEI packet received {"connection_id":160954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":160954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:17:41] local.INFO: TCP Data received {"connection_id":160954,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea88070012d8a618005ce1aa8000b014328..."} 
[2026-08-23 18:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea88070012d8a618005ce1aa8000b014328..."} 
[2026-08-23 18:17:41] local.INFO: Processing buffer {"connection_id":160954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea88070012d8a618005ce1aa8000b014328..."} 
[2026-08-23 18:17:41] local.INFO: Packet analysis {"connection_id":160954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea8"} 
[2026-08-23 18:17:41] local.INFO: Extracted packet for processing {"connection_id":160954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea8"} 
[2026-08-23 18:17:41] local.INFO: GPS Element Parsed {"raw_longitude":764043648,"raw_latitude":97393320,"longitude_deg":76.4043648,"latitude_deg":9.739332,"altitude":11,"angle":323,"satellites":40,"speed":38,"hex_longitude":"2d8a6180","hex_latitude":"05ce1aa8","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597232128001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122912983234904064,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8474015255174531072,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17: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-08-23 18:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787489190000,"timestamp_ms":1787489190000,"timestamp_seconds":1787489190,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea88070"} 
[2026-08-23 18:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18: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-08-23 18: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-23 18:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597232128001,"66":13374,"245":206,"85":13824,"24":38,"16":122912983234904064,"45":-8474015255174531072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-23 18:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597232128001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122912983234904064,"km_value":122912983234904.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8474015255174531072,"description":"Unknown IO ID 45"} 
[2026-08-23 18:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597232128001,"power":13374,"geofence_id":206,"unknown_85":13824,"ignition":38,"odometer":null,"unknown_45":-8474015255174531072}} 
[2026-08-23 18:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":160954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:17:41] local.INFO: GPS data processed {"connection_id":160954,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:17:41] local.INFO: Acknowledgment sent {"connection_id":160954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:17:45] local.INFO: TCP Data received {"connection_id":161911,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:17:45] local.INFO: Processing buffer {"connection_id":161911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:17:45] local.INFO: IMEI packet received {"connection_id":161911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":161911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:17:50] local.INFO: TCP Data received {"connection_id":161911,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:17:50] local.INFO: Processing buffer {"connection_id":161911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:17:50] local.INFO: IMEI packet received {"connection_id":161911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":161911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:17:51] local.INFO: TCP Data received {"connection_id":161911,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:17:51] local.INFO: Processing buffer {"connection_id":161911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:17:51] local.INFO: Packet analysis {"connection_id":161911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:17:51] local.INFO: Extracted packet for processing {"connection_id":161911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:17:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597102336001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787488982000,"timestamp_ms":1787488982000,"timestamp_seconds":1787488982,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea553f0"} 
[2026-08-23 18:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 18:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597102336001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597102336001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:17:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:17:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597102336001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":161911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:17:51] local.INFO: GPS data processed {"connection_id":161911,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:17:51] local.INFO: Acknowledgment sent {"connection_id":161911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:18:05] local.INFO: TCP Data received {"connection_id":163305,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea747f0012d181ec00721b0c8005000d128..."} 
[2026-08-23 18:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea747f0012d181ec00721b0c8005000d128..."} 
[2026-08-23 18:18:05] local.INFO: Processing buffer {"connection_id":163305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea747f0012d181ec00721b0c8005000d128..."} 
[2026-08-23 18:18:05] local.INFO: Packet analysis {"connection_id":163305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea7"} 
[2026-08-23 18:18:05] local.INFO: Extracted packet for processing {"connection_id":163305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea7"} 
[2026-08-23 18:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648456,"longitude_deg":75.6555456,"latitude_deg":11.9648456,"altitude":80,"angle":209,"satellites":40,"speed":2,"hex_longitude":"2d181ec0","hex_latitude":"0721b0c8","is_valid_coordinates":true} 
[2026-08-23 18:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597211648001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682248447623168,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562518016,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787489110000,"timestamp_ms":1787489110000,"timestamp_seconds":1787489110,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea747f0"} 
[2026-08-23 18:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:18: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-08-23 18:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 18:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:05] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:05] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2786541569,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:05] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2994208839,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-23 18:18:05] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:05] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3808480618,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:05] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3068395520,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:05] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:05] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,182,160,13,45,192,178,71,40,10,66,187,1,240,4,227,46,33,113,205,197,32,120,37,239,48,2,55,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-23 18:18:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764852890221019136,"timestamp_seconds":5764852890221019.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 18:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597211648001,"66":12515,"105":206,"83":41984,"24":2,"16":15682248447623168,"45":1738178380562518016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597211648001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:18:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:18:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682248447623168,"km_value":15682248447623.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562518016,"description":"Unknown IO ID 45"} 
[2026-08-23 18:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597211648001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738178380562518016}} 
[2026-08-23 18:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":163305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:18:05] local.INFO: GPS data processed {"connection_id":163305,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:18:05] local.INFO: Acknowledgment sent {"connection_id":163305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:18:13] local.INFO: TCP Data received {"connection_id":160954,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea9efa0012d892a0005ce5ac80008012029..."} 
[2026-08-23 18:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea9efa0012d892a0005ce5ac80008012029..."} 
[2026-08-23 18:18:13] local.INFO: Processing buffer {"connection_id":160954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea9efa0012d892a0005ce5ac80008012029..."} 
[2026-08-23 18:18:13] local.INFO: Packet analysis {"connection_id":160954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:18:13] local.INFO: Extracted packet for processing {"connection_id":160954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:18:13] local.INFO: GPS Element Parsed {"raw_longitude":763963904,"raw_latitude":97409736,"longitude_deg":76.3963904,"latitude_deg":9.7409736,"altitude":8,"angle":288,"satellites":41,"speed":26,"hex_longitude":"2d892a00","hex_latitude":"05ce5ac8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 18:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597255424001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122917029094096896,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8558317010694914048,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787489284000,"timestamp_ms":1787489284000,"timestamp_seconds":1787489284,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea9efa0"} 
[2026-08-23 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-08-23 18: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-08-23 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 18:18:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2312044549,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:13] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4177526784,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:13] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2840557569,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:13] local.WARNING: Large IO value detected {"io_id":206,"raw_value":4472074460061640960,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2885681358,"corrected_to":0} 
[2026-08-23 18:18:13] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3221605953,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:13] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2921267200,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3460204544,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:13] local.WARNING: Large IO value detected {"io_id":105,"raw_value":57877145343382838,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:13] local.WARNING: Large IO value detected {"io_id":168,"raw_value":-4406770940277686267,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:13] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,62,85,24,241,157,16,176,160,188,45,8,41,10,66,175,128,81,126,1,240,187,227,174,46,206,4,113,205,28,9,243,48,39,239,51,245,2,180,5,37,105,168],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2885681358,"validated":0}]} 
[2026-08-23 18:18:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576761095074217984,"timestamp_seconds":576761095074218.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 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-08-23 18:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597255424001,"66":13363,"62":206,"85":13824,"24":26,"16":122917029094096896,"45":-8558317010694914048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,85,24,16,45]} 
[2026-08-23 18:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597255424001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:18:13] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-23 18:18:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122917029094096896,"km_value":122917029094096.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8558317010694914048,"description":"Unknown IO ID 45"} 
[2026-08-23 18:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597255424001,"power":13363,"unknown_62":206,"unknown_85":13824,"ignition":26,"odometer":null,"unknown_45":-8558317010694914048}} 
[2026-08-23 18:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":160954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:18:13] local.INFO: GPS data processed {"connection_id":160954,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:18:13] local.INFO: Acknowledgment sent {"connection_id":160954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:18:23] local.INFO: TCP Data received {"connection_id":161911,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:18:23] local.INFO: Processing buffer {"connection_id":161911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea553f0012d34c58006aa4060001601141f..."} 
[2026-08-23 18:18:23] local.INFO: Packet analysis {"connection_id":161911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:18:23] local.INFO: Extracted packet for processing {"connection_id":161911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea5"} 
[2026-08-23 18:18:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597102336001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787488982000,"timestamp_ms":1787488982000,"timestamp_seconds":1787488982,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea553f0"} 
[2026-08-23 18:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:18: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-08-23 18:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-23 18:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597102336001,"66":25462,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597102336001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:18:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:18:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597102336001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":161911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:18:23] local.INFO: GPS data processed {"connection_id":161911,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:18:23] local.INFO: Acknowledgment sent {"connection_id":161911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:18:29] local.INFO: TCP Data received {"connection_id":160955,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:18:29] local.INFO: Processing buffer {"connection_id":160955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:18:29] local.INFO: IMEI packet received {"connection_id":160955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":160955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:18:34] local.INFO: TCP Data received {"connection_id":160955,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:18:34] local.INFO: Processing buffer {"connection_id":160955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:18:34] local.INFO: IMEI packet received {"connection_id":160955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":160955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:18:35] local.INFO: TCP Data received {"connection_id":160955,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea799f8012d181ec00721b028005000d128..."} 
[2026-08-23 18:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea799f8012d181ec00721b028005000d128..."} 
[2026-08-23 18:18:35] local.INFO: Processing buffer {"connection_id":160955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea799f8012d181ec00721b028005000d128..."} 
[2026-08-23 18:18:35] local.INFO: Packet analysis {"connection_id":160955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea7"} 
[2026-08-23 18:18:35] local.INFO: Extracted packet for processing {"connection_id":160955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea7"} 
[2026-08-23 18:18:35] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648296,"longitude_deg":75.6555456,"latitude_deg":11.9648296,"altitude":80,"angle":209,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b028","is_valid_coordinates":true} 
[2026-08-23 18:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597212160001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682261332525056,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074127872,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787489131000,"timestamp_ms":1787489131000,"timestamp_seconds":1787489131,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea799f8"} 
[2026-08-23 18:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-23 18:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597212160001,"66":12548,"105":206,"83":41984,"24":0,"16":15682261332525056,"45":1738037643074127872},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597212160001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:18:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:18:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682261332525056,"km_value":15682261332525.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074127872,"description":"Unknown IO ID 45"} 
[2026-08-23 18:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597212160001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074127872}} 
[2026-08-23 18:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":160955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:18:35] local.INFO: GPS data processed {"connection_id":160955,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:18:35] local.INFO: Acknowledgment sent {"connection_id":160955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:18:36] local.INFO: TCP Data received {"connection_id":160956,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:18:36] local.INFO: Processing buffer {"connection_id":160956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:18:36] local.INFO: IMEI packet received {"connection_id":160956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":160956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:18:37] local.INFO: TCP Data received {"connection_id":160956,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:18:37] local.INFO: Processing buffer {"connection_id":160956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:18:37] local.INFO: IMEI packet received {"connection_id":160956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":160956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:18:39] local.INFO: TCP Data received {"connection_id":160956,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:18:39] local.INFO: Processing buffer {"connection_id":160956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:18:39] local.INFO: IMEI packet received {"connection_id":160956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":160956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:18:40] local.INFO: TCP Data received {"connection_id":160956,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea9f388012d8927c005ce5bc80008012c28..."} 
[2026-08-23 18:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea9f388012d8927c005ce5bc80008012c28..."} 
[2026-08-23 18:18:40] local.INFO: Processing buffer {"connection_id":160956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea9f388012d8927c005ce5bc80008012c28..."} 
[2026-08-23 18:18:40] local.INFO: Packet analysis {"connection_id":160956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:18:40] local.INFO: Extracted packet for processing {"connection_id":160956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763963328,"raw_latitude":97409992,"longitude_deg":76.3963328,"latitude_deg":9.7409992,"altitude":8,"angle":300,"satellites":40,"speed":25,"hex_longitude":"2d8927c0","hex_latitude":"05ce5bc8","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597256704001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122917059158867968,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8563031716554684416,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787489285000,"timestamp_ms":1787489285000,"timestamp_seconds":1787489285,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea9f388"} 
[2026-08-23 18:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:18: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-08-23 18: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-23 18:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597256704001,"66":13319,"62":206,"85":13824,"24":25,"16":122917059158867968,"45":-8563031716554684416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,85,24,16,45]} 
[2026-08-23 18:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597256704001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:18:40] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-23 18:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122917059158867968,"km_value":122917059158867.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8563031716554684416,"description":"Unknown IO ID 45"} 
[2026-08-23 18:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597256704001,"power":13319,"unknown_62":206,"unknown_85":13824,"ignition":25,"odometer":null,"unknown_45":-8563031716554684416}} 
[2026-08-23 18:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":160956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:18:40] local.INFO: GPS data processed {"connection_id":160956,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:18:40] local.INFO: Acknowledgment sent {"connection_id":160956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:18:44] local.INFO: TCP Data received {"connection_id":160956,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea9fb58012d89248005ce5e700007013c28..."} 
[2026-08-23 18:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea9fb58012d89248005ce5e700007013c28..."} 
[2026-08-23 18:18:44] local.INFO: Processing buffer {"connection_id":160956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea9fb58012d89248005ce5e700007013c28..."} 
[2026-08-23 18:18:44] local.INFO: Packet analysis {"connection_id":160956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:18:44] local.INFO: Extracted packet for processing {"connection_id":160956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:18:44] local.INFO: GPS Element Parsed {"raw_longitude":763962496,"raw_latitude":97410672,"longitude_deg":76.3962496,"latitude_deg":9.7410672,"altitude":7,"angle":316,"satellites":40,"speed":18,"hex_longitude":"2d892480","hex_latitude":"05ce5e70","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597256960001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122917110698475520,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8563665035252217856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787489287000,"timestamp_ms":1787489287000,"timestamp_seconds":1787489287,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea9fb58"} 
[2026-08-23 18:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 18:18:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2307162117,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:44] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:44] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2845677569,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:44] local.WARNING: Large IO value detected {"io_id":206,"raw_value":4697254441430492928,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2940076238,"corrected_to":0} 
[2026-08-23 18:18:44] local.WARNING: Large IO value detected {"io_id":168,"raw_value":2147864141,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:44] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137392047,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:44] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2935554048,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3460839424,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:44] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57891486239184182,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:44] local.WARNING: Large IO value detected {"io_id":169,"raw_value":659778640509386757,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:44] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,62,85,24,241,157,16,176,160,239,45,90,8,41,10,66,220,192,88,188,1,240,94,227,175,46,206,4,113,205,48,126,168,96,51,2,180,5,28,214,169],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2940076238,"validated":0}]} 
[2026-08-23 18:18:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576790777592086528,"timestamp_seconds":576790777592086.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 18:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597256960001,"66":13276,"62":206,"85":13824,"24":18,"16":122917110698475520,"45":-8563665035252217856},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,85,24,16,45]} 
[2026-08-23 18:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597256960001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:18:44] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-23 18:18:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122917110698475520,"km_value":122917110698475.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8563665035252217856,"description":"Unknown IO ID 45"} 
[2026-08-23 18:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597256960001,"power":13276,"unknown_62":206,"unknown_85":13824,"ignition":18,"odometer":null,"unknown_45":-8563665035252217856}} 
[2026-08-23 18:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":160956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:18:44] local.INFO: GPS data processed {"connection_id":160956,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:18:44] local.INFO: Acknowledgment sent {"connection_id":160956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:18:45] local.INFO: TCP Data received {"connection_id":160711,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:18:45] local.INFO: Processing buffer {"connection_id":160711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:18:45] local.INFO: IMEI packet received {"connection_id":160711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":160711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:18:50] local.INFO: TCP Data received {"connection_id":160711,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:18:50] local.INFO: Processing buffer {"connection_id":160711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:18:50] local.INFO: IMEI packet received {"connection_id":160711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":160711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:18:56] local.INFO: TCP Data received {"connection_id":160711,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:18:56] local.INFO: Processing buffer {"connection_id":160711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:18:56] local.INFO: Packet analysis {"connection_id":160711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:18:56] local.INFO: Extracted packet for processing {"connection_id":160711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:18:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597179392001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787489283000,"timestamp_ms":1787489283000,"timestamp_seconds":1787489283,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea9ebb8"} 
[2026-08-23 18:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 18:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597179392001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597179392001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:18:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:18:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597179392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":160711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:18:56] local.INFO: GPS data processed {"connection_id":160711,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:18:56] local.INFO: Acknowledgment sent {"connection_id":160711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:19:06] local.INFO: TCP Data received {"connection_id":160955,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea7ec00012d181ec00721b028005000d126..."} 
[2026-08-23 18:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea7ec00012d181ec00721b028005000d126..."} 
[2026-08-23 18:19:06] local.INFO: Processing buffer {"connection_id":160955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea7ec00012d181ec00721b028005000d126..."} 
[2026-08-23 18:19:06] local.INFO: Packet analysis {"connection_id":160955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea7"} 
[2026-08-23 18:19:06] local.INFO: Extracted packet for processing {"connection_id":160955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea7"} 
[2026-08-23 18:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648296,"longitude_deg":75.6555456,"latitude_deg":11.9648296,"altitude":80,"angle":209,"satellites":38,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b028","is_valid_coordinates":true} 
[2026-08-23 18:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597217536001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682261332525056,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074086912,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787489152000,"timestamp_ms":1787489152000,"timestamp_seconds":1787489152,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea7ec00"} 
[2026-08-23 18:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-23 18:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:06] local.WARNING: Large IO value detected {"io_id":182,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:06] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2797293569,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2994208839,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-23 18:19:06] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692850,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:06] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3068395520,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:06] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,182,160,71,45,192,176,80,40,10,66,64,177,41,13,1,240,14,227,46,33,4,113,205,32,120,239,49,2,55,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-23 18:19:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764837492763131904,"timestamp_seconds":5764837492763132.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 18:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597217536001,"66":12504,"105":206,"83":41984,"24":0,"16":15682261332525056,"45":1738037643074086912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597217536001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:19:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682261332525056,"km_value":15682261332525.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074086912,"description":"Unknown IO ID 45"} 
[2026-08-23 18:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597217536001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074086912}} 
[2026-08-23 18:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":160955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:19:06] local.INFO: GPS data processed {"connection_id":160955,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:19:06] local.INFO: Acknowledgment sent {"connection_id":160955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:19:15] local.INFO: TCP Data received {"connection_id":160956,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02eaa12c8012d891f0005ce65800006014728..."} 
[2026-08-23 18:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eaa12c8012d891f0005ce65800006014728..."} 
[2026-08-23 18:19:15] local.INFO: Processing buffer {"connection_id":160956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eaa12c8012d891f0005ce65800006014728..."} 
[2026-08-23 18:19:15] local.INFO: Packet analysis {"connection_id":160956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eaa"} 
[2026-08-23 18:19:15] local.INFO: Extracted packet for processing {"connection_id":160956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eaa"} 
[2026-08-23 18:19:15] local.INFO: GPS Element Parsed {"raw_longitude":763961088,"raw_latitude":97412480,"longitude_deg":76.3961088,"latitude_deg":9.741248,"altitude":6,"angle":327,"satellites":40,"speed":14,"hex_longitude":"2d891f00","hex_latitude":"05ce6580","is_valid_coordinates":true} 
[2026-08-23 18:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597257472001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122917222367625216,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8564579828926353408,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787489293000,"timestamp_ms":1787489293000,"timestamp_seconds":1787489293,"priority":1,"record_length":96,"hex_timestamp":"000001a02eaa12c8"} 
[2026-08-23 18:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:19: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-08-23 18:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 18:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597257472001,"66":13374,"62":206,"85":13824,"24":14,"16":122917222367625216,"45":-8564579828926353408},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,85,24,16,45]} 
[2026-08-23 18:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597257472001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:19:15] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-23 18:19:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122917222367625216,"km_value":122917222367625.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8564579828926353408,"description":"Unknown IO ID 45"} 
[2026-08-23 18:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597257472001,"power":13374,"unknown_62":206,"unknown_85":13824,"ignition":14,"odometer":null,"unknown_45":-8564579828926353408}} 
[2026-08-23 18:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":160956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:19:15] local.INFO: GPS data processed {"connection_id":160956,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:19:15] local.INFO: Acknowledgment sent {"connection_id":160956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:19:28] local.INFO: TCP Data received {"connection_id":160712,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:19:28] local.INFO: Processing buffer {"connection_id":160712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:19:28] local.INFO: IMEI packet received {"connection_id":160712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":160712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:19:28] local.INFO: TCP Data received {"connection_id":160712,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:19:28] local.INFO: Processing buffer {"connection_id":160712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:19:28] local.INFO: IMEI packet received {"connection_id":160712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":160712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:19:33] local.INFO: TCP Data received {"connection_id":160712,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:19:33] local.INFO: Processing buffer {"connection_id":160712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:19:33] local.INFO: IMEI packet received {"connection_id":160712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":160712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:19:34] local.INFO: TCP Data received {"connection_id":160712,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eaa5148012d183080072199580052007627..."} 
[2026-08-23 18:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eaa5148012d183080072199580052007627..."} 
[2026-08-23 18:19:34] local.INFO: Processing buffer {"connection_id":160712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eaa5148012d183080072199580052007627..."} 
[2026-08-23 18:19:34] local.INFO: Packet analysis {"connection_id":160712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eaa"} 
[2026-08-23 18:19:34] local.INFO: Extracted packet for processing {"connection_id":160712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eaa"} 
[2026-08-23 18:19:34] local.INFO: GPS Element Parsed {"raw_longitude":756560000,"raw_latitude":119642456,"longitude_deg":75.656,"latitude_deg":11.9642456,"altitude":82,"angle":118,"satellites":39,"speed":25,"hex_longitude":"2d183080","hex_latitude":"07219958","is_valid_coordinates":true} 
[2026-08-23 18:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597259520001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682643584614400,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794401792,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787489309000,"timestamp_ms":1787489309000,"timestamp_seconds":1787489309,"priority":1,"record_length":96,"hex_timestamp":"000001a02eaa5148"} 
[2026-08-23 18:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:19:34] 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-08-23 18:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 18:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597259520001,"66":14211,"105":206,"83":41984,"24":25,"16":15682643584614400,"45":1738389486794401792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597259520001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:19:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:19:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682643584614400,"km_value":15682643584614.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794401792,"description":"Unknown IO ID 45"} 
[2026-08-23 18:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597259520001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1738389486794401792}} 
[2026-08-23 18:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":160712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:19:34] local.INFO: GPS data processed {"connection_id":160712,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:19:34] local.INFO: Acknowledgment sent {"connection_id":160712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:19:34] local.INFO: TCP Data received {"connection_id":161912,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:19:34] local.INFO: Processing buffer {"connection_id":161912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:19:34] local.INFO: IMEI packet received {"connection_id":161912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":161912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:19:40] local.INFO: TCP Data received {"connection_id":161912,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:19:40] local.INFO: Processing buffer {"connection_id":161912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:19:40] local.INFO: IMEI packet received {"connection_id":161912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":161912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:19:42] local.INFO: TCP Data received {"connection_id":161912,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02eaa1a98012d891e4005ce68100007015927..."} 
[2026-08-23 18:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eaa1a98012d891e4005ce68100007015927..."} 
[2026-08-23 18:19:42] local.INFO: Processing buffer {"connection_id":161912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eaa1a98012d891e4005ce68100007015927..."} 
[2026-08-23 18:19:42] local.INFO: Packet analysis {"connection_id":161912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eaa"} 
[2026-08-23 18:19:42] local.INFO: Extracted packet for processing {"connection_id":161912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eaa"} 
[2026-08-23 18:19:42] local.INFO: GPS Element Parsed {"raw_longitude":763960896,"raw_latitude":97413136,"longitude_deg":76.3960896,"latitude_deg":9.7413136,"altitude":7,"angle":345,"satellites":39,"speed":14,"hex_longitude":"2d891e40","hex_latitude":"05ce6810","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597259008001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122917256727363584,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8566127941297799168,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787489295000,"timestamp_ms":1787489295000,"timestamp_seconds":1787489295,"priority":1,"record_length":96,"hex_timestamp":"000001a02eaa1a98"} 
[2026-08-23 18:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:19: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-08-23 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-23 18:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597259008001,"66":13319,"62":206,"85":13824,"24":14,"16":122917256727363584,"45":-8566127941297799168},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,85,24,16,45]} 
[2026-08-23 18:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597259008001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:19:42] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-23 18:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122917256727363584,"km_value":122917256727363.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8566127941297799168,"description":"Unknown IO ID 45"} 
[2026-08-23 18:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597259008001,"power":13319,"unknown_62":206,"unknown_85":13824,"ignition":14,"odometer":null,"unknown_45":-8566127941297799168}} 
[2026-08-23 18:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":161912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:19:43] local.INFO: GPS data processed {"connection_id":161912,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:19:43] local.INFO: Acknowledgment sent {"connection_id":161912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:19:45] local.INFO: TCP Data received {"connection_id":160711,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:19:45] local.INFO: Processing buffer {"connection_id":160711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:19:45] local.INFO: Packet analysis {"connection_id":160711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:19:45] local.INFO: Extracted packet for processing {"connection_id":160711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597179392001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787489283000,"timestamp_ms":1787489283000,"timestamp_seconds":1787489283,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea9ebb8"} 
[2026-08-23 18:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 18:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:19:45] 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-08-23 18:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597179392001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597179392001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:19:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:19:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597179392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":160711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:19:45] local.INFO: GPS data processed {"connection_id":160711,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:19:45] local.INFO: Acknowledgment sent {"connection_id":160711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:19:45] local.INFO: TCP Data received {"connection_id":160957,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:19:45] local.INFO: Processing buffer {"connection_id":160957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:19:45] local.INFO: IMEI packet received {"connection_id":160957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":160957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:19:50] local.INFO: TCP Data received {"connection_id":160957,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:19:50] local.INFO: Processing buffer {"connection_id":160957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:19:50] local.INFO: IMEI packet received {"connection_id":160957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":160957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:19:52] local.INFO: TCP Data received {"connection_id":160957,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:19:52] local.INFO: Processing buffer {"connection_id":160957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:19:52] local.INFO: Packet analysis {"connection_id":160957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:19:52] local.INFO: Extracted packet for processing {"connection_id":160957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597179392001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787489283000,"timestamp_ms":1787489283000,"timestamp_seconds":1787489283,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea9ebb8"} 
[2026-08-23 18:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 18:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:19:52] 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-08-23 18:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597179392001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597179392001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:19:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597179392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":160957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:19:52] local.INFO: GPS data processed {"connection_id":160957,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:19:52] local.INFO: Acknowledgment sent {"connection_id":160957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:20:06] local.INFO: TCP Data received {"connection_id":160712,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eaaa350012d184880072190100050007023..."} 
[2026-08-23 18:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eaaa350012d184880072190100050007023..."} 
[2026-08-23 18:20:06] local.INFO: Processing buffer {"connection_id":160712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eaaa350012d184880072190100050007023..."} 
[2026-08-23 18:20:06] local.INFO: Packet analysis {"connection_id":160712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eaa"} 
[2026-08-23 18:20:06] local.INFO: Extracted packet for processing {"connection_id":160712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eaa"} 
[2026-08-23 18:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756566144,"raw_latitude":119640080,"longitude_deg":75.6566144,"latitude_deg":11.964008,"altitude":80,"angle":112,"satellites":35,"speed":0,"hex_longitude":"2d184880","hex_latitude":"07219010","is_valid_coordinates":true} 
[2026-08-23 18:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597263104001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15682957117227008,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743033823909206016,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787489330000,"timestamp_ms":1787489330000,"timestamp_seconds":1787489330,"priority":1,"record_length":96,"hex_timestamp":"000001a02eaaa350"} 
[2026-08-23 18:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-23 18:20:06] 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-08-23 18:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597263104001,"66":14211,"105":206,"83":41984,"24":0,"16":15682957117227008,"45":1743033823909206016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597263104001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:20:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15682957117227008,"km_value":15682957117227.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743033823909206016,"description":"Unknown IO ID 45"} 
[2026-08-23 18:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597263104001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1743033823909206016}} 
[2026-08-23 18:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":160712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:20:06] local.INFO: GPS data processed {"connection_id":160712,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:20:06] local.INFO: Acknowledgment sent {"connection_id":160712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:20:24] local.INFO: TCP Data received {"connection_id":160957,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:20:24] local.INFO: Processing buffer {"connection_id":160957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:20:24] local.INFO: Packet analysis {"connection_id":160957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:20:24] local.INFO: Extracted packet for processing {"connection_id":160957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:20:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597179392001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787489283000,"timestamp_ms":1787489283000,"timestamp_seconds":1787489283,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea9ebb8"} 
[2026-08-23 18:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 18:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:20:24] 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-08-23 18:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597179392001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597179392001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:20:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:20:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597179392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":160957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:20:24] local.INFO: GPS data processed {"connection_id":160957,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:20:24] local.INFO: Acknowledgment sent {"connection_id":160957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:20:28] local.INFO: TCP Data received {"connection_id":161913,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:20:28] local.INFO: Processing buffer {"connection_id":161913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:20:28] local.INFO: IMEI packet received {"connection_id":161913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":161913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:20:30] local.INFO: TCP Data received {"connection_id":161913,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:20:30] local.INFO: Processing buffer {"connection_id":161913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:20:30] local.INFO: IMEI packet received {"connection_id":161913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":161913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:20:32] local.INFO: TCP Data received {"connection_id":161913,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:20:32] local.INFO: Processing buffer {"connection_id":161913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:20:32] local.INFO: IMEI packet received {"connection_id":161913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":161913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:20:33] local.INFO: TCP Data received {"connection_id":161913,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:20:33] local.INFO: Processing buffer {"connection_id":161913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:20:33] local.INFO: IMEI packet received {"connection_id":161913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":161913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:20:34] local.INFO: TCP Data received {"connection_id":161913,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eab89c8012d18c48007214a28004300b428..."} 
[2026-08-23 18:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eab89c8012d18c48007214a28004300b428..."} 
[2026-08-23 18:20:34] local.INFO: Processing buffer {"connection_id":161913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eab89c8012d18c48007214a28004300b428..."} 
[2026-08-23 18:20:34] local.INFO: Packet analysis {"connection_id":161913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eab"} 
[2026-08-23 18:20:34] local.INFO: Extracted packet for processing {"connection_id":161913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eab"} 
[2026-08-23 18:20:34] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119622184,"longitude_deg":75.6597888,"latitude_deg":11.9622184,"altitude":67,"angle":180,"satellites":40,"speed":37,"hex_longitude":"2d18c480","hex_latitude":"07214a28","is_valid_coordinates":true} 
[2026-08-23 18:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597283072001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15684838312902656,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784481014225135616,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787489389000,"timestamp_ms":1787489389000,"timestamp_seconds":1787489389,"priority":1,"record_length":96,"hex_timestamp":"000001a02eab89c8"} 
[2026-08-23 18:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:20:34] 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-08-23 18:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 18:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597283072001,"66":12939,"103":206,"83":41984,"24":37,"16":15684838312902656,"45":1784481014225135616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 18:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597283072001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:20:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 18:20:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15684838312902656,"km_value":15684838312902.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784481014225135616,"description":"Unknown IO ID 45"} 
[2026-08-23 18:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597283072001,"power":12939,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1784481014225135616}} 
[2026-08-23 18:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":161913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:20:34] local.INFO: GPS data processed {"connection_id":161913,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:20:34] local.INFO: Acknowledgment sent {"connection_id":161913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:20:35] local.INFO: TCP Data received {"connection_id":163306,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163306,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:20:35] local.INFO: Processing buffer {"connection_id":163306,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:20:35] local.INFO: IMEI packet received {"connection_id":163306,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":163306,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:20:39] local.INFO: TCP Data received {"connection_id":163306,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163306,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:20:39] local.INFO: Processing buffer {"connection_id":163306,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:20:39] local.INFO: IMEI packet received {"connection_id":163306,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":163306,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:20:40] local.INFO: TCP Data received {"connection_id":163306,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02eabeb70012d89170005cf9b88000b012d28..."} 
[2026-08-23 18:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eabeb70012d89170005cf9b88000b012d28..."} 
[2026-08-23 18:20:40] local.INFO: Processing buffer {"connection_id":163306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eabeb70012d89170005cf9b88000b012d28..."} 
[2026-08-23 18:20:40] local.INFO: Packet analysis {"connection_id":163306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eab"} 
[2026-08-23 18:20:40] local.INFO: Extracted packet for processing {"connection_id":163306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eab"} 
[2026-08-23 18:20:40] local.INFO: GPS Element Parsed {"raw_longitude":763959040,"raw_latitude":97491848,"longitude_deg":76.395904,"latitude_deg":9.7491848,"altitude":11,"angle":301,"satellites":40,"speed":12,"hex_longitude":"2d891700","hex_latitude":"05cf9b88","is_valid_coordinates":true} 
[2026-08-23 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-08-23 18:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597289728001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122921092133158912,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8568098266114504704,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787489414000,"timestamp_ms":1787489414000,"timestamp_seconds":1787489414,"priority":1,"record_length":96,"hex_timestamp":"000001a02eabeb70"} 
[2026-08-23 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-08-23 18:20: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-08-23 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 18:20:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2952867209,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:40] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2997551104,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2300444677,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:40] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57884270694126902,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:40] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2873325569,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2775580878,"corrected_to":0} 
[2026-08-23 18:20:40] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221606175,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:40] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728741,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3472564224,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:40] local.WARNING: Large IO value detected {"io_id":170,"raw_value":-6397361975594156027,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:40] local.WARNING: Large IO value detected {"io_id":206,"raw_value":-2918332519881168640,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:40] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,112,85,24,241,157,16,180,160,223,45,192,152,11,41,10,66,169,64,139,40,179,114,1,240,138,227,46,207,4,113,205,31,42,239,52,2,5,9,28,170,206],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2775580878,"validated":0}]} 
[2026-08-23 18:20:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792986649449070592,"timestamp_seconds":792986649449070.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 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-08-23 18:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597289728001,"66":13319,"112":206,"85":13824,"24":12,"16":122921092133158912,"45":-8568098266114504704},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,85,24,16,45]} 
[2026-08-23 18:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597289728001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:20:40] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-23 18:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122921092133158912,"km_value":122921092133158.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8568098266114504704,"description":"Unknown IO ID 45"} 
[2026-08-23 18:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597289728001,"power":13319,"unknown_112":206,"unknown_85":13824,"ignition":12,"odometer":null,"unknown_45":-8568098266114504704}} 
[2026-08-23 18:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":163306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:20:40] local.INFO: GPS data processed {"connection_id":163306,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:20:40] local.INFO: Acknowledgment sent {"connection_id":163306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:20:46] local.INFO: TCP Data received {"connection_id":160958,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:20:46] local.INFO: Processing buffer {"connection_id":160958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:20:46] local.INFO: IMEI packet received {"connection_id":160958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":160958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:20:50] local.INFO: TCP Data received {"connection_id":160958,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:20:50] local.INFO: Processing buffer {"connection_id":160958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:20:50] local.INFO: IMEI packet received {"connection_id":160958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":160958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:20:52] local.INFO: TCP Data received {"connection_id":160958,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:20:52] local.INFO: Processing buffer {"connection_id":160958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:20:52] local.INFO: Packet analysis {"connection_id":160958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:20:52] local.INFO: Extracted packet for processing {"connection_id":160958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:20:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597179392001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787489283000,"timestamp_ms":1787489283000,"timestamp_seconds":1787489283,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea9ebb8"} 
[2026-08-23 18:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 18:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:20:52] 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-08-23 18:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597179392001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597179392001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:20:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:20:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597179392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":160958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:20:52] local.INFO: GPS data processed {"connection_id":160958,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:20:52] local.INFO: Acknowledgment sent {"connection_id":160958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:21:05] local.INFO: TCP Data received {"connection_id":161913,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eab9580012d18c58007213f28004300a627..."} 
[2026-08-23 18:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eab9580012d18c58007213f28004300a627..."} 
[2026-08-23 18:21:05] local.INFO: Processing buffer {"connection_id":161913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eab9580012d18c58007213f28004300a627..."} 
[2026-08-23 18:21:05] local.INFO: Packet analysis {"connection_id":161913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eab"} 
[2026-08-23 18:21:05] local.INFO: Extracted packet for processing {"connection_id":161913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eab"} 
[2026-08-23 18:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756598144,"raw_latitude":119619368,"longitude_deg":75.6598144,"latitude_deg":11.9619368,"altitude":67,"angle":166,"satellites":39,"speed":37,"hex_longitude":"2d18c580","hex_latitude":"07213f28","is_valid_coordinates":true} 
[2026-08-23 18:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597283584001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15684975751856128,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120457193472,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787489392000,"timestamp_ms":1787489392000,"timestamp_seconds":1787489392,"priority":1,"record_length":96,"hex_timestamp":"000001a02eab9580"} 
[2026-08-23 18:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:21: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-08-23 18:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-23 18:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597283584001,"66":12287,"103":206,"83":41984,"24":37,"16":15684975751856128,"45":1784692120457193472},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 18:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597283584001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:21:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 18:21:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15684975751856128,"km_value":15684975751856.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120457193472,"description":"Unknown IO ID 45"} 
[2026-08-23 18:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597283584001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1784692120457193472}} 
[2026-08-23 18:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":161913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:21:05] local.INFO: GPS data processed {"connection_id":161913,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:21:05] local.INFO: Acknowledgment sent {"connection_id":161913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:21:11] local.INFO: TCP Data received {"connection_id":163306,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02eac6488012d88f64005cfb610000e011827..."} 
[2026-08-23 18:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eac6488012d88f64005cfb610000e011827..."} 
[2026-08-23 18:21:11] local.INFO: Processing buffer {"connection_id":163306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eac6488012d88f64005cfb610000e011827..."} 
[2026-08-23 18:21:11] local.INFO: Packet analysis {"connection_id":163306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eac"} 
[2026-08-23 18:21:11] local.INFO: Extracted packet for processing {"connection_id":163306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eac"} 
[2026-08-23 18:21:11] local.INFO: GPS Element Parsed {"raw_longitude":763950656,"raw_latitude":97498640,"longitude_deg":76.3950656,"latitude_deg":9.749864,"altitude":14,"angle":280,"satellites":39,"speed":18,"hex_longitude":"2d88f640","hex_latitude":"05cfb610","is_valid_coordinates":true} 
[2026-08-23 18:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597297408001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122921753558122496,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8576683252902473728,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787489445000,"timestamp_ms":1787489445000,"timestamp_seconds":1787489445,"priority":1,"record_length":96,"hex_timestamp":"000001a02eac6488"} 
[2026-08-23 18:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 18:21:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:11] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3025862656,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298380293,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:11] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2888173569,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:11] local.WARNING: Large IO value detected {"io_id":207,"raw_value":-7192248553353762304,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2940141774,"corrected_to":0} 
[2026-08-23 18:21:11] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308463,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3483082752,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:11] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57884270694126902,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:11] local.WARNING: Large IO value detected {"io_id":171,"raw_value":-74308098767110139,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:11] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,63,85,24,241,157,16,180,160,88,45,192,179,14,40,10,66,84,128,178,1,240,220,227,46,207,4,113,205,13,34,255,96,42,239,52,2,5,138,171],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2940141774,"validated":0}]} 
[2026-08-23 18:21:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009136341819064320,"timestamp_seconds":1009136341819064.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 18:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597297408001,"66":13319,"63":206,"85":13824,"24":18,"16":122921753558122496,"45":-8576683252902473728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-23 18:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597297408001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:21:11] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-23 18:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122921753558122496,"km_value":122921753558122.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8576683252902473728,"description":"Unknown IO ID 45"} 
[2026-08-23 18:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597297408001,"power":13319,"unknown_63":206,"unknown_85":13824,"ignition":18,"odometer":null,"unknown_45":-8576683252902473728}} 
[2026-08-23 18:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":163306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:21:11] local.INFO: GPS data processed {"connection_id":163306,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:21:11] local.INFO: Acknowledgment sent {"connection_id":163306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:21:23] local.INFO: TCP Data received {"connection_id":160958,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:21:23] local.INFO: Processing buffer {"connection_id":160958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:21:23] local.INFO: Packet analysis {"connection_id":160958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:21:23] local.INFO: Extracted packet for processing {"connection_id":160958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:21:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18: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":795,"current_offset":40} 
[2026-08-23 18:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597179392001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787489283000,"timestamp_ms":1787489283000,"timestamp_seconds":1787489283,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea9ebb8"} 
[2026-08-23 18:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:21: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":118,"data_length":795,"current_offset":136} 
[2026-08-23 18:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:21: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-08-23 18:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:21:23] 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-08-23 18:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597179392001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597179392001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:21:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:21:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597179392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":160958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:21:23] local.INFO: GPS data processed {"connection_id":160958,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:21:23] local.INFO: Acknowledgment sent {"connection_id":160958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:21:28] local.INFO: TCP Data received {"connection_id":161914,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:21:28] local.INFO: Processing buffer {"connection_id":161914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:21:28] local.INFO: IMEI packet received {"connection_id":161914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":161914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:21:31] local.INFO: TCP Data received {"connection_id":161914,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:21:31] local.INFO: Processing buffer {"connection_id":161914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:21:31] local.INFO: IMEI packet received {"connection_id":161914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":161914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:21:32] local.INFO: TCP Data received {"connection_id":161914,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:21:32] local.INFO: Processing buffer {"connection_id":161914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:21:32] local.INFO: IMEI packet received {"connection_id":161914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":161914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:21:33] local.INFO: TCP Data received {"connection_id":161914,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:21:33] local.INFO: Processing buffer {"connection_id":161914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:21:33] local.INFO: IMEI packet received {"connection_id":161914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":161914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:21:34] local.INFO: TCP Data received {"connection_id":163307,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:21:34] local.INFO: Processing buffer {"connection_id":163307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:21:34] local.INFO: IMEI packet received {"connection_id":163307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":163307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:21:35] local.INFO: TCP Data received {"connection_id":163307,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:21:35] local.INFO: Processing buffer {"connection_id":163307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:21:35] local.INFO: IMEI packet received {"connection_id":163307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":163307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:21:39] local.INFO: TCP Data received {"connection_id":163307,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:21:39] local.INFO: Processing buffer {"connection_id":163307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:21:39] local.INFO: IMEI packet received {"connection_id":163307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":163307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:21:40] local.INFO: TCP Data received {"connection_id":163307,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02eac6c58012d88f1c005cfb648000e010829..."} 
[2026-08-23 18:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eac6c58012d88f1c005cfb648000e010829..."} 
[2026-08-23 18:21:40] local.INFO: Processing buffer {"connection_id":163307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eac6c58012d88f1c005cfb648000e010829..."} 
[2026-08-23 18:21:40] local.INFO: Packet analysis {"connection_id":163307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eac"} 
[2026-08-23 18:21:40] local.INFO: Extracted packet for processing {"connection_id":163307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eac"} 
[2026-08-23 18:21:40] local.INFO: GPS Element Parsed {"raw_longitude":763949504,"raw_latitude":97498696,"longitude_deg":76.3949504,"latitude_deg":9.7498696,"altitude":14,"angle":264,"satellites":41,"speed":24,"hex_longitude":"2d88f1c0","hex_latitude":"05cfb648","is_valid_coordinates":true} 
[2026-08-23 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-08-23 18:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597297920001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122921805097730048,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8577598046576701440,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787489447000,"timestamp_ms":1787489447000,"timestamp_seconds":1787489447,"priority":1,"record_length":96,"hex_timestamp":"000001a02eac6c58"} 
[2026-08-23 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-08-23 18:21: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-08-23 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 18:21:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:40] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3026059264,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2298347525,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:40] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2888685569,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:40] local.WARNING: Large IO value detected {"io_id":207,"raw_value":-7232780945702704896,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2940141774,"corrected_to":0} 
[2026-08-23 18:21:40] local.WARNING: Large IO value detected {"io_id":254,"raw_value":2147864477,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3483131904,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:40] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57895055357007158,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:40] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2177491714917253125,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:40] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,63,85,24,241,157,16,180,160,92,45,128,14,40,10,66,88,192,179,84,1,240,248,227,46,207,4,113,205,38,254,41,239,52,2,5,13,12,138,172],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2940141774,"validated":0}]} 
[2026-08-23 18:21:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009114347291672576,"timestamp_seconds":1009114347291672.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 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-08-23 18:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597297920001,"66":13374,"63":206,"85":13824,"24":24,"16":122921805097730048,"45":-8577598046576701440},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-23 18:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597297920001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:21:40] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-23 18:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122921805097730048,"km_value":122921805097730.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8577598046576701440,"description":"Unknown IO ID 45"} 
[2026-08-23 18:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597297920001,"power":13374,"unknown_63":206,"unknown_85":13824,"ignition":24,"odometer":null,"unknown_45":-8577598046576701440}} 
[2026-08-23 18:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":163307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:21:40] local.INFO: GPS data processed {"connection_id":163307,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:21:40] local.INFO: Acknowledgment sent {"connection_id":163307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:21:45] local.INFO: TCP Data received {"connection_id":160959,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:21:45] local.INFO: Processing buffer {"connection_id":160959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:21:45] local.INFO: IMEI packet received {"connection_id":160959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":160959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:21:50] local.INFO: TCP Data received {"connection_id":160959,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:21:50] local.INFO: Processing buffer {"connection_id":160959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:21:50] local.INFO: IMEI packet received {"connection_id":160959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":160959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:21:51] local.INFO: TCP Data received {"connection_id":160959,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:21:51] local.INFO: Processing buffer {"connection_id":160959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:21:51] local.INFO: Packet analysis {"connection_id":160959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:21:51] local.INFO: Extracted packet for processing {"connection_id":160959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:21:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597179392001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787489283000,"timestamp_ms":1787489283000,"timestamp_seconds":1787489283,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea9ebb8"} 
[2026-08-23 18:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 18:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:21: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-08-23 18:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597179392001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597179392001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:21:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:21:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597179392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":160959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:21:51] local.INFO: GPS data processed {"connection_id":160959,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:21:51] local.INFO: Acknowledgment sent {"connection_id":160959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:22:11] local.INFO: TCP Data received {"connection_id":163307,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02eac9f20012d88ce8005cfb450001101082a..."} 
[2026-08-23 18:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eac9f20012d88ce8005cfb450001101082a..."} 
[2026-08-23 18:22:11] local.INFO: Processing buffer {"connection_id":163307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eac9f20012d88ce8005cfb450001101082a..."} 
[2026-08-23 18:22:11] local.INFO: Packet analysis {"connection_id":163307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eac"} 
[2026-08-23 18:22:11] local.INFO: Extracted packet for processing {"connection_id":163307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eac"} 
[2026-08-23 18:22:11] local.INFO: GPS Element Parsed {"raw_longitude":763940480,"raw_latitude":97498192,"longitude_deg":76.394048,"latitude_deg":9.7498192,"altitude":17,"angle":264,"satellites":42,"speed":25,"hex_longitude":"2d88ce80","hex_latitude":"05cfb450","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597298432001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122922238889426944,"note":"Value kept but may cause issues"} 
[2026-08-23 18:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8578864683971885056,"note":"Value kept but may cause issues"} 
[2026-08-23 18:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787489460000,"timestamp_ms":1787489460000,"timestamp_seconds":1787489460,"priority":1,"record_length":96,"hex_timestamp":"000001a02eac9f20"} 
[2026-08-23 18:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-23 18:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597298432001,"66":12993,"46":206,"85":13824,"24":25,"16":122922238889426944,"45":-8578864683971885056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,45]} 
[2026-08-23 18:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597298432001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:22:11] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-23 18:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122922238889426944,"km_value":122922238889426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8578864683971885056,"description":"Unknown IO ID 45"} 
[2026-08-23 18:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597298432001,"power":12993,"unknown_46":206,"unknown_85":13824,"ignition":25,"odometer":null,"unknown_45":-8578864683971885056}} 
[2026-08-23 18:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":163307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:22:11] local.INFO: GPS data processed {"connection_id":163307,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:22:11] local.INFO: Acknowledgment sent {"connection_id":163307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:22:23] local.INFO: TCP Data received {"connection_id":160959,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:22:23] local.INFO: Processing buffer {"connection_id":160959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:22:23] local.INFO: Packet analysis {"connection_id":160959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:22:23] local.INFO: Extracted packet for processing {"connection_id":160959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:22:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597179392001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787489283000,"timestamp_ms":1787489283000,"timestamp_seconds":1787489283,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea9ebb8"} 
[2026-08-23 18:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18: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":118,"data_length":795,"current_offset":136} 
[2026-08-23 18:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597179392001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597179392001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:22:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:22:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597179392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":160959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:22:23] local.INFO: GPS data processed {"connection_id":160959,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:22:23] local.INFO: Acknowledgment sent {"connection_id":160959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:22:38] local.INFO: TCP Data received {"connection_id":161915,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:22:38] local.INFO: Processing buffer {"connection_id":161915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:22:38] local.INFO: IMEI packet received {"connection_id":161915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":161915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:22:39] local.INFO: TCP Data received {"connection_id":161915,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:22:39] local.INFO: Processing buffer {"connection_id":161915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:22:39] local.INFO: IMEI packet received {"connection_id":161915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":161915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:22:44] local.INFO: TCP Data received {"connection_id":161915,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:22:44] local.INFO: Processing buffer {"connection_id":161915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:22:44] local.INFO: IMEI packet received {"connection_id":161915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":161915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:22:45] local.INFO: TCP Data received {"connection_id":161915,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02eacd5d0012d88a90005cfb1a0001101052a..."} 
[2026-08-23 18:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eacd5d0012d88a90005cfb1a0001101052a..."} 
[2026-08-23 18:22:45] local.INFO: Processing buffer {"connection_id":161915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eacd5d0012d88a90005cfb1a0001101052a..."} 
[2026-08-23 18:22:45] local.INFO: Packet analysis {"connection_id":161915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eac"} 
[2026-08-23 18:22:45] local.INFO: Extracted packet for processing {"connection_id":161915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eac"} 
[2026-08-23 18:22:45] local.INFO: GPS Element Parsed {"raw_longitude":763930880,"raw_latitude":97497504,"longitude_deg":76.393088,"latitude_deg":9.7497504,"altitude":17,"angle":261,"satellites":42,"speed":26,"hex_longitude":"2d88a900","hex_latitude":"05cfb1a0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597301760001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122922698450927616,"note":"Value kept but may cause issues"} 
[2026-08-23 18:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8588786676901064704,"note":"Value kept but may cause issues"} 
[2026-08-23 18:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787489474000,"timestamp_ms":1787489474000,"timestamp_seconds":1787489474,"priority":1,"record_length":96,"hex_timestamp":"000001a02eacd5d0"} 
[2026-08-23 18:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:22: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-08-23 18: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-23 18:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597301760001,"66":12776,"46":206,"85":13824,"24":26,"16":122922698450927616,"45":-8588786676901064704},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,45]} 
[2026-08-23 18:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597301760001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:22:45] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-23 18:22:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122922698450927616,"km_value":122922698450927.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8588786676901064704,"description":"Unknown IO ID 45"} 
[2026-08-23 18:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597301760001,"power":12776,"unknown_46":206,"unknown_85":13824,"ignition":26,"odometer":null,"unknown_45":-8588786676901064704}} 
[2026-08-23 18:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":161915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:22:45] local.INFO: GPS data processed {"connection_id":161915,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:22:45] local.INFO: Acknowledgment sent {"connection_id":161915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:22:48] local.INFO: TCP Data received {"connection_id":161915,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ead23f0012d888a4005cfaef8001101092a..."} 
[2026-08-23 18:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ead23f0012d888a4005cfaef8001101092a..."} 
[2026-08-23 18:22:48] local.INFO: Processing buffer {"connection_id":161915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ead23f0012d888a4005cfaef8001101092a..."} 
[2026-08-23 18:22:48] local.INFO: Packet analysis {"connection_id":161915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ead"} 
[2026-08-23 18:22:48] local.INFO: Extracted packet for processing {"connection_id":161915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ead"} 
[2026-08-23 18:22:48] local.INFO: GPS Element Parsed {"raw_longitude":763923008,"raw_latitude":97496824,"longitude_deg":76.3923008,"latitude_deg":9.7496824,"altitude":17,"angle":265,"satellites":42,"speed":12,"hex_longitude":"2d888a40","hex_latitude":"05cfaef8","is_valid_coordinates":true} 
[2026-08-23 18:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597305344001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122923076408049664,"note":"Value kept but may cause issues"} 
[2026-08-23 18:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8599341988527890432,"note":"Value kept but may cause issues"} 
[2026-08-23 18:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787489494000,"timestamp_ms":1787489494000,"timestamp_seconds":1787489494,"priority":1,"record_length":96,"hex_timestamp":"000001a02ead23f0"} 
[2026-08-23 18:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-23 18:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597305344001,"66":13472,"46":206,"85":13824,"24":12,"16":122923076408049664,"45":-8599341988527890432},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,45]} 
[2026-08-23 18:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597305344001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:22:48] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-23 18:22:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122923076408049664,"km_value":122923076408049.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8599341988527890432,"description":"Unknown IO ID 45"} 
[2026-08-23 18:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597305344001,"power":13472,"unknown_46":206,"unknown_85":13824,"ignition":12,"odometer":null,"unknown_45":-8599341988527890432}} 
[2026-08-23 18:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":161915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:22:48] local.INFO: GPS data processed {"connection_id":161915,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:22:48] local.INFO: Acknowledgment sent {"connection_id":161915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:22:51] local.INFO: TCP Data received {"connection_id":163308,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:22:51] local.INFO: Processing buffer {"connection_id":163308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:22:51] local.INFO: IMEI packet received {"connection_id":163308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":163308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:22:55] local.INFO: TCP Data received {"connection_id":163308,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:22:55] local.INFO: Processing buffer {"connection_id":163308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:22:55] local.INFO: IMEI packet received {"connection_id":163308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":163308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:22:59] local.INFO: TCP Data received {"connection_id":163308,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:22:59] local.INFO: Processing buffer {"connection_id":163308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:22:59] local.INFO: Packet analysis {"connection_id":163308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:22:59] local.INFO: Extracted packet for processing {"connection_id":163308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:22:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597179392001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787489283000,"timestamp_ms":1787489283000,"timestamp_seconds":1787489283,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea9ebb8"} 
[2026-08-23 18:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 18:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":163308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":163308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":163308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:22:59] 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-08-23 18:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597179392001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597179392001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:22:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:22:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597179392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":163308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:22:59] local.INFO: GPS data processed {"connection_id":163308,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:22:59] local.INFO: Acknowledgment sent {"connection_id":163308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:23:04] local.INFO: TCP Data received {"connection_id":163308,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:23:04] local.INFO: Processing buffer {"connection_id":163308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ea9ebb8012d34c58006aa4060001601141f..."} 
[2026-08-23 18:23:04] local.INFO: Packet analysis {"connection_id":163308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:23:04] local.INFO: Extracted packet for processing {"connection_id":163308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ea9"} 
[2026-08-23 18:23:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597179392001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787489283000,"timestamp_ms":1787489283000,"timestamp_seconds":1787489283,"priority":1,"record_length":96,"hex_timestamp":"000001a02ea9ebb8"} 
[2026-08-23 18:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 18:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:23:04] 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-08-23 18:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597179392001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597179392001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:23:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:23:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597179392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":163308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:23:04] local.INFO: GPS data processed {"connection_id":163308,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:23:04] local.INFO: Acknowledgment sent {"connection_id":163308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:23:19] local.INFO: TCP Data received {"connection_id":161915,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ead75f8012d886d8005cfaca8001801092a..."} 
[2026-08-23 18:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ead75f8012d886d8005cfaca8001801092a..."} 
[2026-08-23 18:23:19] local.INFO: Processing buffer {"connection_id":161915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ead75f8012d886d8005cfaca8001801092a..."} 
[2026-08-23 18:23:19] local.INFO: Packet analysis {"connection_id":161915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ead"} 
[2026-08-23 18:23:19] local.INFO: Extracted packet for processing {"connection_id":161915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ead"} 
[2026-08-23 18:23:19] local.INFO: GPS Element Parsed {"raw_longitude":763915648,"raw_latitude":97496232,"longitude_deg":76.3915648,"latitude_deg":9.7496232,"altitude":24,"angle":265,"satellites":42,"speed":19,"hex_longitude":"2d886d80","hex_latitude":"05cfaca8","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597310464001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122923432890335232,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8607997344061917184,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787489515000,"timestamp_ms":1787489515000,"timestamp_seconds":1787489515,"priority":1,"record_length":96,"hex_timestamp":"000001a02ead75f8"} 
[2026-08-23 18:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:23: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-08-23 18: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-23 18:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597310464001,"66":13080,"46":206,"85":13824,"24":19,"16":122923432890335232,"45":-8607997344061917184},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,45]} 
[2026-08-23 18:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597310464001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:23:19] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-23 18:23:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122923432890335232,"km_value":122923432890335.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8607997344061917184,"description":"Unknown IO ID 45"} 
[2026-08-23 18:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597310464001,"power":13080,"unknown_46":206,"unknown_85":13824,"ignition":19,"odometer":null,"unknown_45":-8607997344061917184}} 
[2026-08-23 18:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":161915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:23:19] local.INFO: GPS data processed {"connection_id":161915,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:23:19] local.INFO: Acknowledgment sent {"connection_id":161915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:23:33] local.INFO: TCP Data received {"connection_id":160960,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:23:33] local.INFO: Processing buffer {"connection_id":160960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:23:33] local.INFO: IMEI packet received {"connection_id":160960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":160960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:23:34] local.INFO: TCP Data received {"connection_id":160960,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:23:34] local.INFO: Processing buffer {"connection_id":160960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:23:34] local.INFO: IMEI packet received {"connection_id":160960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":160960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:23:39] local.INFO: TCP Data received {"connection_id":160960,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:23:39] local.INFO: Processing buffer {"connection_id":160960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:23:39] local.INFO: IMEI packet received {"connection_id":160960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":160960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:23:40] local.INFO: TCP Data received {"connection_id":160960,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02eadc800012d8851c005cfaab00018010628..."} 
[2026-08-23 18:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eadc800012d8851c005cfaab00018010628..."} 
[2026-08-23 18:23:40] local.INFO: Processing buffer {"connection_id":160960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eadc800012d8851c005cfaab00018010628..."} 
[2026-08-23 18:23:40] local.INFO: Packet analysis {"connection_id":160960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ead"} 
[2026-08-23 18:23:40] local.INFO: Extracted packet for processing {"connection_id":160960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ead"} 
[2026-08-23 18:23:40] local.INFO: GPS Element Parsed {"raw_longitude":763908544,"raw_latitude":97495728,"longitude_deg":76.3908544,"latitude_deg":9.7495728,"altitude":24,"angle":262,"satellites":40,"speed":14,"hex_longitude":"2d8851c0","hex_latitude":"05cfaab0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597315840001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122923772192751616,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8616089749642500096,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787489536000,"timestamp_ms":1787489536000,"timestamp_seconds":1787489536,"priority":1,"record_length":96,"hex_timestamp":"000001a02eadc800"} 
[2026-08-23 18:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:23: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-08-23 18: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-23 18:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597315840001,"66":13319,"46":206,"85":13824,"24":14,"16":122923772192751616,"45":-8616089749642500096},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,85,24,16,45]} 
[2026-08-23 18:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597315840001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:23:40] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-23 18:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122923772192751616,"km_value":122923772192751.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8616089749642500096,"description":"Unknown IO ID 45"} 
[2026-08-23 18:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597315840001,"power":13319,"unknown_46":206,"unknown_85":13824,"ignition":14,"odometer":null,"unknown_45":-8616089749642500096}} 
[2026-08-23 18:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":160960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:23:40] local.INFO: GPS data processed {"connection_id":160960,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:23:40] local.INFO: Acknowledgment sent {"connection_id":160960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:23:44] local.INFO: TCP Data received {"connection_id":160960,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02eae1a08012d88348005cfa7f80019010229..."} 
[2026-08-23 18:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eae1a08012d88348005cfa7f80019010229..."} 
[2026-08-23 18:23:44] local.INFO: Processing buffer {"connection_id":160960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eae1a08012d88348005cfa7f80019010229..."} 
[2026-08-23 18:23:44] local.INFO: Packet analysis {"connection_id":160960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eae"} 
[2026-08-23 18:23:44] local.INFO: Extracted packet for processing {"connection_id":160960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eae"} 
[2026-08-23 18:23:44] local.INFO: GPS Element Parsed {"raw_longitude":763901056,"raw_latitude":97495032,"longitude_deg":76.3901056,"latitude_deg":9.7495032,"altitude":25,"angle":258,"satellites":41,"speed":11,"hex_longitude":"2d883480","hex_latitude":"05cfa7f8","is_valid_coordinates":true} 
[2026-08-23 18:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597321216001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122924128675037184,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8623900680246349824,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787489557000,"timestamp_ms":1787489557000,"timestamp_seconds":1787489557,"priority":1,"record_length":96,"hex_timestamp":"000001a02eae1a08"} 
[2026-08-23 18:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 18:23:44] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2896109569,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:44] local.WARNING: Large IO value detected {"io_id":241,"raw_value":3221606326,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2295234565,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:44] local.WARNING: Large IO value detected {"io_id":172,"raw_value":6681091342287339525,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:44] local.WARNING: Large IO value detected {"io_id":181,"raw_value":2332033024,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:44] local.WARNING: Large IO value detected {"io_id":207,"raw_value":-5417830291577493504,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2871918798,"corrected_to":0} 
[2026-08-23 18:23:44] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3032154112,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3484815360,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:44] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57895055357007158,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:44] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,46,85,24,241,157,16,182,160,117,45,128,172,42,10,66,35,64,174,17,181,213,1,240,232,227,207,4,113,205,25,108,72,41,239,52,63,2,180,5,14,18,7],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2871918798,"validated":0}]} 
[2026-08-23 18:23:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1729670500756357120,"timestamp_seconds":1729670500756357.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 18:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597321216001,"66":12906,"47":206,"85":13824,"24":11,"16":122924128675037184,"45":-8623900680246349824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-23 18:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597321216001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:23:44] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-23 18:23:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122924128675037184,"km_value":122924128675037.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8623900680246349824,"description":"Unknown IO ID 45"} 
[2026-08-23 18:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597321216001,"power":12906,"unknown_47":206,"unknown_85":13824,"ignition":11,"odometer":null,"unknown_45":-8623900680246349824}} 
[2026-08-23 18:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":160960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:23:45] local.INFO: GPS data processed {"connection_id":160960,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:23:45] local.INFO: Acknowledgment sent {"connection_id":160960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:23:45] local.INFO: TCP Data received {"connection_id":163309,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:23:45] local.INFO: Processing buffer {"connection_id":163309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:23:45] local.INFO: IMEI packet received {"connection_id":163309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":163309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:23:50] local.INFO: TCP Data received {"connection_id":163309,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:23:50] local.INFO: Processing buffer {"connection_id":163309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:23:50] local.INFO: IMEI packet received {"connection_id":163309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":163309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:23:52] local.INFO: TCP Data received {"connection_id":163309,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:23:52] local.INFO: Processing buffer {"connection_id":163309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:23:52] local.INFO: Packet analysis {"connection_id":163309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eae"} 
[2026-08-23 18:23:52] local.INFO: Extracted packet for processing {"connection_id":163309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eae"} 
[2026-08-23 18:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597256448001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787489584000,"timestamp_ms":1787489584000,"timestamp_seconds":1787489584,"priority":1,"record_length":96,"hex_timestamp":"000001a02eae8380"} 
[2026-08-23 18:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 18:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:23:52] 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-08-23 18:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597256448001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597256448001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:23:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597256448001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":163309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:23:52] local.INFO: GPS data processed {"connection_id":163309,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:23:52] local.INFO: Acknowledgment sent {"connection_id":163309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:24:16] local.INFO: TCP Data received {"connection_id":160960,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02eaf5670012d88288005cf8158000500882b..."} 
[2026-08-23 18:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eaf5670012d88288005cf8158000500882b..."} 
[2026-08-23 18:24:16] local.INFO: Processing buffer {"connection_id":160960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eaf5670012d88288005cf8158000500882b..."} 
[2026-08-23 18:24:16] local.INFO: Packet analysis {"connection_id":160960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eaf"} 
[2026-08-23 18:24:16] local.INFO: Extracted packet for processing {"connection_id":160960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eaf"} 
[2026-08-23 18:24:16] local.INFO: GPS Element Parsed {"raw_longitude":763897984,"raw_latitude":97485144,"longitude_deg":76.3897984,"latitude_deg":9.7485144,"altitude":5,"angle":136,"satellites":43,"speed":11,"hex_longitude":"2d882880","hex_latitude":"05cf8158","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597346816001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122924923243986944,"note":"Value kept but may cause issues"} 
[2026-08-23 18:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8636004104247545856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787489638000,"timestamp_ms":1787489638000,"timestamp_seconds":1787489638,"priority":1,"record_length":96,"hex_timestamp":"000001a02eaf5670"} 
[2026-08-23 18:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:24: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-08-23 18: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 18:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597346816001,"66":13276,"47":206,"85":13824,"24":11,"16":122924923243986944,"45":-8636004104247545856},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-23 18:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597346816001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:24:16] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-23 18:24:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122924923243986944,"km_value":122924923243986.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8636004104247545856,"description":"Unknown IO ID 45"} 
[2026-08-23 18:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597346816001,"power":13276,"unknown_47":206,"unknown_85":13824,"ignition":11,"odometer":null,"unknown_45":-8636004104247545856}} 
[2026-08-23 18:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":160960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:24:16] local.INFO: GPS data processed {"connection_id":160960,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:24:16] local.INFO: Acknowledgment sent {"connection_id":160960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:24:23] local.INFO: TCP Data received {"connection_id":163309,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:24:23] local.INFO: Processing buffer {"connection_id":163309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:24:23] local.INFO: Packet analysis {"connection_id":163309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eae"} 
[2026-08-23 18:24:23] local.INFO: Extracted packet for processing {"connection_id":163309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eae"} 
[2026-08-23 18:24:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597256448001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787489584000,"timestamp_ms":1787489584000,"timestamp_seconds":1787489584,"priority":1,"record_length":96,"hex_timestamp":"000001a02eae8380"} 
[2026-08-23 18:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:24: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-08-23 18:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 18:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:24:23] 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-08-23 18:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597256448001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597256448001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:24:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:24:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597256448001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":163309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:24:23] local.INFO: GPS data processed {"connection_id":163309,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:24:23] local.INFO: Acknowledgment sent {"connection_id":163309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:24:34] local.INFO: TCP Data received {"connection_id":163311,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:24:34] local.INFO: Processing buffer {"connection_id":163311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:24:34] local.INFO: IMEI packet received {"connection_id":163311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":163311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:24:39] local.INFO: TCP Data received {"connection_id":163311,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:24:39] local.INFO: Processing buffer {"connection_id":163311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:24:39] local.INFO: IMEI packet received {"connection_id":163311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":163311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:24:40] local.INFO: TCP Data received {"connection_id":163311,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02eaf5a58012d88294005cf8070000500942b..."} 
[2026-08-23 18:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eaf5a58012d88294005cf8070000500942b..."} 
[2026-08-23 18:24:40] local.INFO: Processing buffer {"connection_id":163311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eaf5a58012d88294005cf8070000500942b..."} 
[2026-08-23 18:24:40] local.INFO: Packet analysis {"connection_id":163311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eaf"} 
[2026-08-23 18:24:40] local.INFO: Extracted packet for processing {"connection_id":163311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eaf"} 
[2026-08-23 18:24:40] local.INFO: GPS Element Parsed {"raw_longitude":763898176,"raw_latitude":97484912,"longitude_deg":76.3898176,"latitude_deg":9.7484912,"altitude":5,"angle":148,"satellites":43,"speed":11,"hex_longitude":"2d882940","hex_latitude":"05cf8070","is_valid_coordinates":true} 
[2026-08-23 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-08-23 18:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597347328001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122924936128888832,"note":"Value kept but may cause issues"} 
[2026-08-23 18:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8635511523038373888,"note":"Value kept but may cause issues"} 
[2026-08-23 18:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787489639000,"timestamp_ms":1787489639000,"timestamp_seconds":1787489639,"priority":1,"record_length":96,"hex_timestamp":"000001a02eaf5a58"} 
[2026-08-23 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-08-23 18:24: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-08-23 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 18:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 18:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597347328001,"66":12689,"47":206,"85":13824,"24":11,"16":122924936128888832,"45":-8635511523038373888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-23 18:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597347328001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:24:40] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-23 18:24:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122924936128888832,"km_value":122924936128888.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8635511523038373888,"description":"Unknown IO ID 45"} 
[2026-08-23 18:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597347328001,"power":12689,"unknown_47":206,"unknown_85":13824,"ignition":11,"odometer":null,"unknown_45":-8635511523038373888}} 
[2026-08-23 18:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":163311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:24:40] local.INFO: GPS data processed {"connection_id":163311,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:24:40] local.INFO: Acknowledgment sent {"connection_id":163311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:24:45] local.INFO: TCP Data received {"connection_id":160715,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:24:45] local.INFO: Processing buffer {"connection_id":160715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:24:45] local.INFO: IMEI packet received {"connection_id":160715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":160715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:24:50] local.INFO: TCP Data received {"connection_id":160715,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:24:50] local.INFO: Processing buffer {"connection_id":160715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:24:50] local.INFO: IMEI packet received {"connection_id":160715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":160715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:24:52] local.INFO: TCP Data received {"connection_id":160715,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:24:52] local.INFO: Processing buffer {"connection_id":160715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:24:52] local.INFO: Packet analysis {"connection_id":160715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eae"} 
[2026-08-23 18:24:52] local.INFO: Extracted packet for processing {"connection_id":160715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eae"} 
[2026-08-23 18:24:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597256448001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787489584000,"timestamp_ms":1787489584000,"timestamp_seconds":1787489584,"priority":1,"record_length":96,"hex_timestamp":"000001a02eae8380"} 
[2026-08-23 18:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 18:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:24:52] 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-08-23 18:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597256448001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597256448001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:24:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:24:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597256448001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":160715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:24:52] local.INFO: GPS data processed {"connection_id":160715,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:24:52] local.INFO: Acknowledgment sent {"connection_id":160715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:25:11] local.INFO: TCP Data received {"connection_id":163311,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02eaf6228012d882a0005cf7e68000500a62b..."} 
[2026-08-23 18:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eaf6228012d882a0005cf7e68000500a62b..."} 
[2026-08-23 18:25:11] local.INFO: Processing buffer {"connection_id":163311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eaf6228012d882a0005cf7e68000500a62b..."} 
[2026-08-23 18:25:11] local.INFO: Packet analysis {"connection_id":163311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eaf"} 
[2026-08-23 18:25:11] local.INFO: Extracted packet for processing {"connection_id":163311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eaf"} 
[2026-08-23 18:25:11] local.INFO: GPS Element Parsed {"raw_longitude":763898368,"raw_latitude":97484392,"longitude_deg":76.3898368,"latitude_deg":9.7484392,"altitude":5,"angle":166,"satellites":43,"speed":11,"hex_longitude":"2d882a00","hex_latitude":"05cf7e68","is_valid_coordinates":true} 
[2026-08-23 18:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597347584001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122924966193659904,"note":"Value kept but may cause issues"} 
[2026-08-23 18:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8635300416805900288,"note":"Value kept but may cause issues"} 
[2026-08-23 18:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787489641000,"timestamp_ms":1787489641000,"timestamp_seconds":1787489641,"priority":1,"record_length":96,"hex_timestamp":"000001a02eaf6228"} 
[2026-08-23 18:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-23 18:25:11] 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-08-23 18:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597347584001,"66":12906,"47":206,"85":13824,"24":11,"16":122924966193659904,"45":-8635300416805900288},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-23 18:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597347584001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:25:11] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-23 18:25:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122924966193659904,"km_value":122924966193659.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8635300416805900288,"description":"Unknown IO ID 45"} 
[2026-08-23 18:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597347584001,"power":12906,"unknown_47":206,"unknown_85":13824,"ignition":11,"odometer":null,"unknown_45":-8635300416805900288}} 
[2026-08-23 18:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":163311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:25:11] local.INFO: GPS data processed {"connection_id":163311,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:25:11] local.INFO: Acknowledgment sent {"connection_id":163311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:25:23] local.INFO: TCP Data received {"connection_id":160715,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:25:23] local.INFO: Processing buffer {"connection_id":160715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:25:23] local.INFO: Packet analysis {"connection_id":160715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eae"} 
[2026-08-23 18:25:23] local.INFO: Extracted packet for processing {"connection_id":160715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eae"} 
[2026-08-23 18:25:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597256448001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787489584000,"timestamp_ms":1787489584000,"timestamp_seconds":1787489584,"priority":1,"record_length":96,"hex_timestamp":"000001a02eae8380"} 
[2026-08-23 18:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:25: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-08-23 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 18:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:25: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-08-23 18:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597256448001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597256448001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:25:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:25:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597256448001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":160715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:25:23] local.INFO: GPS data processed {"connection_id":160715,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:25:23] local.INFO: Acknowledgment sent {"connection_id":160715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:25:32] local.INFO: TCP Data received {"connection_id":163312,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:25:32] local.INFO: Processing buffer {"connection_id":163312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:25:32] local.INFO: IMEI packet received {"connection_id":163312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":163312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:25:34] local.INFO: TCP Data received {"connection_id":163312,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:25:34] local.INFO: Processing buffer {"connection_id":163312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:25:34] local.INFO: IMEI packet received {"connection_id":163312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":163312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:25:39] local.INFO: TCP Data received {"connection_id":163312,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:25:39] local.INFO: Processing buffer {"connection_id":163312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:25:39] local.INFO: IMEI packet received {"connection_id":163312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":163312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:25:40] local.INFO: TCP Data received {"connection_id":163312,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02eafb048012d882c8005cf74c8000500aa2a..."} 
[2026-08-23 18:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eafb048012d882c8005cf74c8000500aa2a..."} 
[2026-08-23 18:25:40] local.INFO: Processing buffer {"connection_id":163312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eafb048012d882c8005cf74c8000500aa2a..."} 
[2026-08-23 18:25:40] local.INFO: Packet analysis {"connection_id":163312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eaf"} 
[2026-08-23 18:25:40] local.INFO: Extracted packet for processing {"connection_id":163312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eaf"} 
[2026-08-23 18:25:40] local.INFO: GPS Element Parsed {"raw_longitude":763899008,"raw_latitude":97481928,"longitude_deg":76.3899008,"latitude_deg":9.7481928,"altitude":5,"angle":170,"satellites":42,"speed":0,"hex_longitude":"2d882c80","hex_latitude":"05cf74c8","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597348096001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925090747711488,"note":"Value kept but may cause issues"} 
[2026-08-23 18:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8635089310573500416,"note":"Value kept but may cause issues"} 
[2026-08-23 18:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787489661000,"timestamp_ms":1787489661000,"timestamp_seconds":1787489661,"priority":1,"record_length":96,"hex_timestamp":"000001a02eafb048"} 
[2026-08-23 18:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:25: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-08-23 18:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-23 18:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597348096001,"66":12428,"47":206,"85":13824,"24":0,"16":122925090747711488,"45":-8635089310573500416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-23 18:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597348096001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:25:40] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-23 18:25:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925090747711488,"km_value":122925090747711.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8635089310573500416,"description":"Unknown IO ID 45"} 
[2026-08-23 18:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597348096001,"power":12428,"unknown_47":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8635089310573500416}} 
[2026-08-23 18:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":163312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:25:40] local.INFO: GPS data processed {"connection_id":163312,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:25:40] local.INFO: Acknowledgment sent {"connection_id":163312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:25:45] local.INFO: TCP Data received {"connection_id":160961,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:25:45] local.INFO: Processing buffer {"connection_id":160961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:25:45] local.INFO: IMEI packet received {"connection_id":160961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":160961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:25:50] local.INFO: TCP Data received {"connection_id":160961,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:25:50] local.INFO: Processing buffer {"connection_id":160961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:25:50] local.INFO: IMEI packet received {"connection_id":160961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":160961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:25:52] local.INFO: TCP Data received {"connection_id":160961,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:25:52] local.INFO: Processing buffer {"connection_id":160961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:25:52] local.INFO: Packet analysis {"connection_id":160961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eae"} 
[2026-08-23 18:25:52] local.INFO: Extracted packet for processing {"connection_id":160961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eae"} 
[2026-08-23 18:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597256448001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787489584000,"timestamp_ms":1787489584000,"timestamp_seconds":1787489584,"priority":1,"record_length":96,"hex_timestamp":"000001a02eae8380"} 
[2026-08-23 18:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 18:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:25:52] 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-08-23 18:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597256448001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597256448001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:25:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597256448001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":160961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:25:52] local.INFO: GPS data processed {"connection_id":160961,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:25:52] local.INFO: Acknowledgment sent {"connection_id":160961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:26:11] local.INFO: TCP Data received {"connection_id":163312,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02eafbfe8012d882c8005cf7328000600b72b..."} 
[2026-08-23 18:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eafbfe8012d882c8005cf7328000600b72b..."} 
[2026-08-23 18:26:11] local.INFO: Processing buffer {"connection_id":163312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eafbfe8012d882c8005cf7328000600b72b..."} 
[2026-08-23 18:26:11] local.INFO: Packet analysis {"connection_id":163312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eaf"} 
[2026-08-23 18:26:11] local.INFO: Extracted packet for processing {"connection_id":163312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eaf"} 
[2026-08-23 18:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763899008,"raw_latitude":97481512,"longitude_deg":76.3899008,"latitude_deg":9.7481512,"altitude":6,"angle":183,"satellites":43,"speed":6,"hex_longitude":"2d882c80","hex_latitude":"05cf7328","is_valid_coordinates":true} 
[2026-08-23 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-08-23 18:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597353216001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925112222547968,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634385623132354560,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787489665000,"timestamp_ms":1787489665000,"timestamp_seconds":1787489665,"priority":1,"record_length":96,"hex_timestamp":"000001a02eafbfe8"} 
[2026-08-23 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-08-23 18:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 18:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 18:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597353216001,"66":13243,"47":206,"85":13824,"24":6,"16":122925112222547968,"45":-8634385623132354560},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-23 18:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597353216001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:26:11] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-23 18:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925112222547968,"km_value":122925112222547.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634385623132354560,"description":"Unknown IO ID 45"} 
[2026-08-23 18:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597353216001,"power":13243,"unknown_47":206,"unknown_85":13824,"ignition":6,"odometer":null,"unknown_45":-8634385623132354560}} 
[2026-08-23 18:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":163312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:26:11] local.INFO: GPS data processed {"connection_id":163312,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:26:11] local.INFO: Acknowledgment sent {"connection_id":163312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:26:23] local.INFO: TCP Data received {"connection_id":160961,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:26:23] local.INFO: Processing buffer {"connection_id":160961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:26:23] local.INFO: Packet analysis {"connection_id":160961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eae"} 
[2026-08-23 18:26:23] local.INFO: Extracted packet for processing {"connection_id":160961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eae"} 
[2026-08-23 18:26:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597256448001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787489584000,"timestamp_ms":1787489584000,"timestamp_seconds":1787489584,"priority":1,"record_length":96,"hex_timestamp":"000001a02eae8380"} 
[2026-08-23 18:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:26: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-08-23 18:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 18:26:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:26:23] 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-08-23 18:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597256448001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597256448001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:26:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:26:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597256448001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":160961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:26:23] local.INFO: GPS data processed {"connection_id":160961,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:26:23] local.INFO: Acknowledgment sent {"connection_id":160961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:26:33] local.INFO: TCP Data received {"connection_id":160717,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:26:33] local.INFO: Processing buffer {"connection_id":160717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:26:33] local.INFO: IMEI packet received {"connection_id":160717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":160717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:26:34] local.INFO: TCP Data received {"connection_id":160718,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:26:34] local.INFO: Processing buffer {"connection_id":160718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:26:34] local.INFO: IMEI packet received {"connection_id":160718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":160718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:26:34] local.INFO: TCP Data received {"connection_id":160717,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb015d8012d196780072033e8003800fd1f..."} 
[2026-08-23 18:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb015d8012d196780072033e8003800fd1f..."} 
[2026-08-23 18:26:34] local.INFO: Processing buffer {"connection_id":160717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb015d8012d196780072033e8003800fd1f..."} 
[2026-08-23 18:26:34] local.INFO: Packet analysis {"connection_id":160717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb0"} 
[2026-08-23 18:26:34] local.INFO: Extracted packet for processing {"connection_id":160717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb0"} 
[2026-08-23 18:26:34] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119550952,"longitude_deg":75.6639616,"latitude_deg":11.9550952,"altitude":56,"angle":253,"satellites":31,"speed":0,"hex_longitude":"2d196780","hex_latitude":"072033e8","is_valid_coordinates":true} 
[2026-08-23 18:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597354496001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15689571366862848,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541642795008,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787489687000,"timestamp_ms":1787489687000,"timestamp_seconds":1787489687,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb015d8"} 
[2026-08-23 18:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-23 18:26:34] 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-08-23 18:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597354496001,"66":13928,"106":206,"83":41984,"24":0,"16":15689571366862848,"45":1830572541642795008},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 18:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597354496001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:26:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 18:26:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15689571366862848,"km_value":15689571366862.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541642795008,"description":"Unknown IO ID 45"} 
[2026-08-23 18:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597354496001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541642795008}} 
[2026-08-23 18:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":160717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:26:34] local.INFO: GPS data processed {"connection_id":160717,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:26:34] local.INFO: Acknowledgment sent {"connection_id":160717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:26:36] local.INFO: TCP Data received {"connection_id":160718,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:26:36] local.INFO: Processing buffer {"connection_id":160718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:26:36] local.INFO: IMEI packet received {"connection_id":160718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":160718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:26:39] local.INFO: TCP Data received {"connection_id":160718,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:26:39] local.INFO: Processing buffer {"connection_id":160718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:26:39] local.INFO: IMEI packet received {"connection_id":160718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":160718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:26:41] local.INFO: TCP Data received {"connection_id":160718,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02eafc7b8012d882c8005cf71d0000600a92b..."} 
[2026-08-23 18:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eafc7b8012d882c8005cf71d0000600a92b..."} 
[2026-08-23 18:26:41] local.INFO: Processing buffer {"connection_id":160718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eafc7b8012d882c8005cf71d0000600a92b..."} 
[2026-08-23 18:26:41] local.INFO: Packet analysis {"connection_id":160718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eaf"} 
[2026-08-23 18:26:41] local.INFO: Extracted packet for processing {"connection_id":160718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eaf"} 
[2026-08-23 18:26:41] local.INFO: GPS Element Parsed {"raw_longitude":763899008,"raw_latitude":97481168,"longitude_deg":76.3899008,"latitude_deg":9.7481168,"altitude":6,"angle":169,"satellites":43,"speed":6,"hex_longitude":"2d882c80","hex_latitude":"05cf71d0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597354240001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925129402417152,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634385623132461056,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787489667000,"timestamp_ms":1787489667000,"timestamp_seconds":1787489667,"priority":1,"record_length":96,"hex_timestamp":"000001a02eafc7b8"} 
[2026-08-23 18:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:26: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-08-23 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-23 18:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597354240001,"66":13319,"47":206,"85":13824,"24":6,"16":122925129402417152,"45":-8634385623132461056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-23 18:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597354240001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:26:41] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-23 18:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925129402417152,"km_value":122925129402417.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634385623132461056,"description":"Unknown IO ID 45"} 
[2026-08-23 18:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597354240001,"power":13319,"unknown_47":206,"unknown_85":13824,"ignition":6,"odometer":null,"unknown_45":-8634385623132461056}} 
[2026-08-23 18:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":160718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:26:41] local.INFO: GPS data processed {"connection_id":160718,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:26:41] local.INFO: Acknowledgment sent {"connection_id":160718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:26:44] local.INFO: TCP Data received {"connection_id":160718,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02eafcba0012d882c8005cf7138000600982b..."} 
[2026-08-23 18:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eafcba0012d882c8005cf7138000600982b..."} 
[2026-08-23 18:26:44] local.INFO: Processing buffer {"connection_id":160718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eafcba0012d882c8005cf7138000600982b..."} 
[2026-08-23 18:26:44] local.INFO: Packet analysis {"connection_id":160718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eaf"} 
[2026-08-23 18:26:44] local.INFO: Extracted packet for processing {"connection_id":160718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eaf"} 
[2026-08-23 18:26:44] local.INFO: GPS Element Parsed {"raw_longitude":763899008,"raw_latitude":97481016,"longitude_deg":76.3899008,"latitude_deg":9.7481016,"altitude":6,"angle":152,"satellites":43,"speed":5,"hex_longitude":"2d882c80","hex_latitude":"05cf7138","is_valid_coordinates":true} 
[2026-08-23 18:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597354752001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925133697384448,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634385623132549120,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787489668000,"timestamp_ms":1787489668000,"timestamp_seconds":1787489668,"priority":1,"record_length":96,"hex_timestamp":"000001a02eafcba0"} 
[2026-08-23 18:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 18:26:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:44] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2600468480,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2284404741,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3481432064,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:44] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2941933569,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:44] local.WARNING: Large IO value detected {"io_id":207,"raw_value":-9027465427288380672,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2871984334,"corrected_to":0} 
[2026-08-23 18:26:44] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2147864449,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:44] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040171,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:44] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3079733248,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:44] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57890588591019318,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:44] local.WARNING: Large IO value detected {"io_id":175,"raw_value":5102579672880037893,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:44] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,47,85,24,241,157,16,183,160,191,45,128,115,6,43,10,66,176,116,5,42,98,1,240,106,227,46,207,4,113,205,11,86,40,88,239,51,2,180,220,175],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2871984334,"validated":0}]} 
[2026-08-23 18:26:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432531566376648704,"timestamp_seconds":432531566376648.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 18:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597354752001,"66":12874,"47":206,"85":13824,"24":5,"16":122925133697384448,"45":-8634385623132549120},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-23 18:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597354752001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:26:44] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-23 18:26:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925133697384448,"km_value":122925133697384.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634385623132549120,"description":"Unknown IO ID 45"} 
[2026-08-23 18:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597354752001,"power":12874,"unknown_47":206,"unknown_85":13824,"ignition":5,"odometer":null,"unknown_45":-8634385623132549120}} 
[2026-08-23 18:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":160718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:26:44] local.INFO: GPS data processed {"connection_id":160718,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:26:44] local.INFO: Acknowledgment sent {"connection_id":160718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:26:50] local.INFO: TCP Data received {"connection_id":163313,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:26:50] local.INFO: Processing buffer {"connection_id":163313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:26:50] local.INFO: IMEI packet received {"connection_id":163313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":163313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:26:55] local.INFO: TCP Data received {"connection_id":163313,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:26:55] local.INFO: Processing buffer {"connection_id":163313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:26:55] local.INFO: IMEI packet received {"connection_id":163313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":163313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:26:57] local.INFO: TCP Data received {"connection_id":163313,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:26:57] local.INFO: Processing buffer {"connection_id":163313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:26:57] local.INFO: Packet analysis {"connection_id":163313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eae"} 
[2026-08-23 18:26:57] local.INFO: Extracted packet for processing {"connection_id":163313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eae"} 
[2026-08-23 18:26:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597256448001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787489584000,"timestamp_ms":1787489584000,"timestamp_seconds":1787489584,"priority":1,"record_length":96,"hex_timestamp":"000001a02eae8380"} 
[2026-08-23 18:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 18:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597256448001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597256448001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:26:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:26:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597256448001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":163313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:26:57] local.INFO: GPS data processed {"connection_id":163313,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:26:57] local.INFO: Acknowledgment sent {"connection_id":163313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:27:01] local.INFO: TCP Data received {"connection_id":163313,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:27:01] local.INFO: Processing buffer {"connection_id":163313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:27:01] local.INFO: Packet analysis {"connection_id":163313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eae"} 
[2026-08-23 18:27:01] local.INFO: Extracted packet for processing {"connection_id":163313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eae"} 
[2026-08-23 18:27:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597256448001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787489584000,"timestamp_ms":1787489584000,"timestamp_seconds":1787489584,"priority":1,"record_length":96,"hex_timestamp":"000001a02eae8380"} 
[2026-08-23 18:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 18:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":163313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":163313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":163313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597256448001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597256448001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:27:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:27:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597256448001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":163313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:27:01] local.INFO: GPS data processed {"connection_id":163313,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:27:01] local.INFO: Acknowledgment sent {"connection_id":163313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:27:05] local.INFO: TCP Data received {"connection_id":160717,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb067e0012d196780072033e8003800fd21..."} 
[2026-08-23 18:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb067e0012d196780072033e8003800fd21..."} 
[2026-08-23 18:27:05] local.INFO: Processing buffer {"connection_id":160717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb067e0012d196780072033e8003800fd21..."} 
[2026-08-23 18:27:05] local.INFO: Packet analysis {"connection_id":160717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb0"} 
[2026-08-23 18:27:05] local.INFO: Extracted packet for processing {"connection_id":160717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb0"} 
[2026-08-23 18:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119550952,"longitude_deg":75.6639616,"latitude_deg":11.9550952,"altitude":56,"angle":253,"satellites":33,"speed":0,"hex_longitude":"2d196780","hex_latitude":"072033e8","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597359872001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15689571366862848,"note":"Value kept but may cause issues"} 
[2026-08-23 18:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541642795008,"note":"Value kept but may cause issues"} 
[2026-08-23 18:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787489708000,"timestamp_ms":1787489708000,"timestamp_seconds":1787489708,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb067e0"} 
[2026-08-23 18:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:27: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-08-23 18: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 18:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597359872001,"66":14396,"106":206,"83":41984,"24":0,"16":15689571366862848,"45":1830572541642795008},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 18:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597359872001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:27:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 18:27:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15689571366862848,"km_value":15689571366862.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541642795008,"description":"Unknown IO ID 45"} 
[2026-08-23 18:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597359872001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541642795008}} 
[2026-08-23 18:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":160717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:27:06] local.INFO: GPS data processed {"connection_id":160717,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:27:06] local.INFO: Acknowledgment sent {"connection_id":160717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:27:16] local.INFO: TCP Data received {"connection_id":160718,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02eafcf88012d882d0005cf70c0000600892b..."} 
[2026-08-23 18:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eafcf88012d882d0005cf70c0000600892b..."} 
[2026-08-23 18:27:16] local.INFO: Processing buffer {"connection_id":160718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eafcf88012d882d0005cf70c0000600892b..."} 
[2026-08-23 18:27:16] local.INFO: Packet analysis {"connection_id":160718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eaf"} 
[2026-08-23 18:27:16] local.INFO: Extracted packet for processing {"connection_id":160718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eaf"} 
[2026-08-23 18:27:16] local.INFO: GPS Element Parsed {"raw_longitude":763899136,"raw_latitude":97480896,"longitude_deg":76.3899136,"latitude_deg":9.7480896,"altitude":6,"angle":137,"satellites":43,"speed":6,"hex_longitude":"2d882d00","hex_latitude":"05cf70c0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597355008001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925146582286336,"note":"Value kept but may cause issues"} 
[2026-08-23 18:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634385623132588032,"note":"Value kept but may cause issues"} 
[2026-08-23 18:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787489669000,"timestamp_ms":1787489669000,"timestamp_seconds":1787489669,"priority":1,"record_length":96,"hex_timestamp":"000001a02eafcf88"} 
[2026-08-23 18:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:27: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-08-23 18: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-23 18:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597355008001,"66":12874,"47":206,"85":13824,"24":6,"16":122925146582286336,"45":-8634385623132588032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-23 18:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597355008001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:27:16] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-23 18:27:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925146582286336,"km_value":122925146582286.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634385623132588032,"description":"Unknown IO ID 45"} 
[2026-08-23 18:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597355008001,"power":12874,"unknown_47":206,"unknown_85":13824,"ignition":6,"odometer":null,"unknown_45":-8634385623132588032}} 
[2026-08-23 18:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":160718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:27:16] local.INFO: GPS data processed {"connection_id":160718,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:27:16] local.INFO: Acknowledgment sent {"connection_id":160718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:27:28] local.INFO: TCP Data received {"connection_id":161916,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:27:28] local.INFO: Processing buffer {"connection_id":161916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:27:28] local.INFO: IMEI packet received {"connection_id":161916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":161916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:27:29] local.INFO: TCP Data received {"connection_id":161916,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:27:29] local.INFO: Processing buffer {"connection_id":161916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:27:29] local.INFO: IMEI packet received {"connection_id":161916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":161916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:27:34] local.INFO: TCP Data received {"connection_id":161916,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:27:34] local.INFO: Processing buffer {"connection_id":161916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:27:34] local.INFO: IMEI packet received {"connection_id":161916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":161916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:27:34] local.INFO: TCP Data received {"connection_id":163314,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163314,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:27:34] local.INFO: Processing buffer {"connection_id":163314,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:27:34] local.INFO: IMEI packet received {"connection_id":163314,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":163314,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:27:35] local.INFO: TCP Data received {"connection_id":161916,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb0b9e8012d196780072033e8003800fd21..."} 
[2026-08-23 18:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb0b9e8012d196780072033e8003800fd21..."} 
[2026-08-23 18:27:35] local.INFO: Processing buffer {"connection_id":161916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb0b9e8012d196780072033e8003800fd21..."} 
[2026-08-23 18:27:35] local.INFO: Packet analysis {"connection_id":161916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb0"} 
[2026-08-23 18:27:35] local.INFO: Extracted packet for processing {"connection_id":161916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb0"} 
[2026-08-23 18:27:35] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119550952,"longitude_deg":75.6639616,"latitude_deg":11.9550952,"altitude":56,"angle":253,"satellites":33,"speed":0,"hex_longitude":"2d196780","hex_latitude":"072033e8","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597365248001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15689571366862848,"note":"Value kept but may cause issues"} 
[2026-08-23 18:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541642795008,"note":"Value kept but may cause issues"} 
[2026-08-23 18:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787489729000,"timestamp_ms":1787489729000,"timestamp_seconds":1787489729,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb0b9e8"} 
[2026-08-23 18:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-23 18:27:35] 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-08-23 18: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-08-23 18:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597365248001,"66":14048,"106":206,"83":41984,"24":0,"16":15689571366862848,"45":1830572541642795008},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 18:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597365248001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:27:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 18:27:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15689571366862848,"km_value":15689571366862.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541642795008,"description":"Unknown IO ID 45"} 
[2026-08-23 18:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597365248001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830572541642795008}} 
[2026-08-23 18:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":161916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:27:35] local.INFO: GPS data processed {"connection_id":161916,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:27:35] local.INFO: Acknowledgment sent {"connection_id":161916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:27:38] local.INFO: TCP Data received {"connection_id":163314,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163314,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:27:38] local.INFO: Processing buffer {"connection_id":163314,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:27:38] local.INFO: IMEI packet received {"connection_id":163314,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":163314,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:27:38] local.INFO: TCP Data received {"connection_id":163314,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb26f68012d882e4005cf6dc80007008b2b..."} 
[2026-08-23 18:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb26f68012d882e4005cf6dc80007008b2b..."} 
[2026-08-23 18:27:38] local.INFO: Processing buffer {"connection_id":163314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb26f68012d882e4005cf6dc80007008b2b..."} 
[2026-08-23 18:27:38] local.INFO: Packet analysis {"connection_id":163314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb2"} 
[2026-08-23 18:27:38] local.INFO: Extracted packet for processing {"connection_id":163314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb2"} 
[2026-08-23 18:27:38] local.INFO: GPS Element Parsed {"raw_longitude":763899456,"raw_latitude":97480136,"longitude_deg":76.3899456,"latitude_deg":9.7480136,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882e40","hex_latitude":"05cf6dc8","is_valid_coordinates":true} 
[2026-08-23 18:27:38] 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-08-23 18:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597399296001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8633893041923569664,"note":"Value kept but may cause issues"} 
[2026-08-23 18:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787489841000,"timestamp_ms":1787489841000,"timestamp_seconds":1787489841,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb26f68"} 
[2026-08-23 18:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:27: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-08-23 18:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-23 18:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597399296001,"66":13515,"47":206,"85":13824,"24":0,"16":122925185236992000,"45":-8633893041923569664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-23 18:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597399296001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:27:38] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-23 18:27:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8633893041923569664,"description":"Unknown IO ID 45"} 
[2026-08-23 18:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597399296001,"power":13515,"unknown_47":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8633893041923569664}} 
[2026-08-23 18:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":163314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:27:38] local.INFO: GPS data processed {"connection_id":163314,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:27:38] local.INFO: Acknowledgment sent {"connection_id":163314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:27:45] local.INFO: TCP Data received {"connection_id":160719,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:27:45] local.INFO: Processing buffer {"connection_id":160719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:27:45] local.INFO: IMEI packet received {"connection_id":160719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":160719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:27:50] local.INFO: TCP Data received {"connection_id":160719,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:27:50] local.INFO: Processing buffer {"connection_id":160719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:27:50] local.INFO: IMEI packet received {"connection_id":160719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":160719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:27:52] local.INFO: TCP Data received {"connection_id":160719,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:27:52] local.INFO: Processing buffer {"connection_id":160719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:27:52] local.INFO: Packet analysis {"connection_id":160719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eae"} 
[2026-08-23 18:27:52] local.INFO: Extracted packet for processing {"connection_id":160719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eae"} 
[2026-08-23 18:27:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597256448001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787489584000,"timestamp_ms":1787489584000,"timestamp_seconds":1787489584,"priority":1,"record_length":96,"hex_timestamp":"000001a02eae8380"} 
[2026-08-23 18:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 18:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:27:52] 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-08-23 18:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597256448001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597256448001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:27:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:27:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597256448001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":160719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:27:52] local.INFO: GPS data processed {"connection_id":160719,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:27:52] local.INFO: Acknowledgment sent {"connection_id":160719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:28:06] local.INFO: TCP Data received {"connection_id":161916,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb26f68012d194f80072095d8002f000120..."} 
[2026-08-23 18:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb26f68012d194f80072095d8002f000120..."} 
[2026-08-23 18:28:06] local.INFO: Processing buffer {"connection_id":161916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb26f68012d194f80072095d8002f000120..."} 
[2026-08-23 18:28:06] local.INFO: Packet analysis {"connection_id":161916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb2"} 
[2026-08-23 18:28:06] local.INFO: Extracted packet for processing {"connection_id":161916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb2"} 
[2026-08-23 18:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756633472,"raw_latitude":119576024,"longitude_deg":75.6633472,"latitude_deg":11.9576024,"altitude":47,"angle":1,"satellites":32,"speed":13,"hex_longitude":"2d194f80","hex_latitude":"072095d8","is_valid_coordinates":true} 
[2026-08-23 18:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597399040001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15690954346332160,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823817142208069632,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787489841000,"timestamp_ms":1787489841000,"timestamp_seconds":1787489841,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb26f68"} 
[2026-08-23 18:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 18:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597399040001,"66":14048,"103":206,"83":41984,"24":13,"16":15690954346332160,"45":1823817142208069632},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 18:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597399040001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:28:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 18:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15690954346332160,"km_value":15690954346332.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823817142208069632,"description":"Unknown IO ID 45"} 
[2026-08-23 18:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597399040001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1823817142208069632}} 
[2026-08-23 18:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":161916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:28:06] local.INFO: GPS data processed {"connection_id":161916,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:28:06] local.INFO: Acknowledgment sent {"connection_id":161916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:28:09] local.INFO: TCP Data received {"connection_id":163314,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb27738012d882e4005cf6dc80007008b2b..."} 
[2026-08-23 18:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb27738012d882e4005cf6dc80007008b2b..."} 
[2026-08-23 18:28:09] local.INFO: Processing buffer {"connection_id":163314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb27738012d882e4005cf6dc80007008b2b..."} 
[2026-08-23 18:28:09] local.INFO: Packet analysis {"connection_id":163314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb2"} 
[2026-08-23 18:28:09] local.INFO: Extracted packet for processing {"connection_id":163314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb2"} 
[2026-08-23 18:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763899456,"raw_latitude":97480136,"longitude_deg":76.3899456,"latitude_deg":9.7480136,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882e40","hex_latitude":"05cf6dc8","is_valid_coordinates":true} 
[2026-08-23 18:28: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-08-23 18:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597399296001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8633893041923569664,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787489843000,"timestamp_ms":1787489843000,"timestamp_seconds":1787489843,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb27738"} 
[2026-08-23 18:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:28: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-08-23 18: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-23 18:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597399296001,"66":12461,"47":206,"85":13824,"24":0,"16":122925185236992000,"45":-8633893041923569664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-23 18:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597399296001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:28:09] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-23 18:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8633893041923569664,"description":"Unknown IO ID 45"} 
[2026-08-23 18:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597399296001,"power":12461,"unknown_47":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8633893041923569664}} 
[2026-08-23 18:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":163314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:28:09] local.INFO: GPS data processed {"connection_id":163314,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:28:09] local.INFO: Acknowledgment sent {"connection_id":163314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:28:23] local.INFO: TCP Data received {"connection_id":160719,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:28:23] local.INFO: Processing buffer {"connection_id":160719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eae8380012d34c58006aa40600016011421..."} 
[2026-08-23 18:28:23] local.INFO: Packet analysis {"connection_id":160719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eae"} 
[2026-08-23 18:28:23] local.INFO: Extracted packet for processing {"connection_id":160719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eae"} 
[2026-08-23 18:28:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":22,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597256448001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787489584000,"timestamp_ms":1787489584000,"timestamp_seconds":1787489584,"priority":1,"record_length":96,"hex_timestamp":"000001a02eae8380"} 
[2026-08-23 18:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:28: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-08-23 18:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 18:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:28:23] 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-08-23 18:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597256448001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597256448001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:28:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:28:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597256448001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":160719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:28:23] local.INFO: GPS data processed {"connection_id":160719,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:28:23] local.INFO: Acknowledgment sent {"connection_id":160719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:28:28] local.INFO: TCP Data received {"connection_id":160720,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:28:28] local.INFO: Processing buffer {"connection_id":160720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:28:28] local.INFO: IMEI packet received {"connection_id":160720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":160720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:28:29] local.INFO: TCP Data received {"connection_id":160720,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:28:29] local.INFO: Processing buffer {"connection_id":160720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:28:29] local.INFO: IMEI packet received {"connection_id":160720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":160720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:28:32] local.INFO: TCP Data received {"connection_id":160720,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:28:32] local.INFO: Processing buffer {"connection_id":160720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:28:32] local.INFO: IMEI packet received {"connection_id":160720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":160720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:28:33] local.INFO: TCP Data received {"connection_id":160720,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:28:33] local.INFO: Processing buffer {"connection_id":160720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:28:33] local.INFO: IMEI packet received {"connection_id":160720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":160720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:28:34] local.INFO: TCP Data received {"connection_id":163315,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:28:34] local.INFO: Processing buffer {"connection_id":163315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:28:34] local.INFO: IMEI packet received {"connection_id":163315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":163315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:28:34] local.INFO: TCP Data received {"connection_id":160720,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb27f08012d19504007209b180030000d23..."} 
[2026-08-23 18:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb27f08012d19504007209b180030000d23..."} 
[2026-08-23 18:28:34] local.INFO: Processing buffer {"connection_id":160720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb27f08012d19504007209b180030000d23..."} 
[2026-08-23 18:28:34] local.INFO: Packet analysis {"connection_id":160720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb2"} 
[2026-08-23 18:28:34] local.INFO: Extracted packet for processing {"connection_id":160720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb2"} 
[2026-08-23 18:28:34] local.INFO: GPS Element Parsed {"raw_longitude":756633664,"raw_latitude":119577368,"longitude_deg":75.6633664,"latitude_deg":11.9577368,"altitude":48,"angle":13,"satellites":35,"speed":11,"hex_longitude":"2d195040","hex_latitude":"07209b18","is_valid_coordinates":true} 
[2026-08-23 18:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597399296001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15691023065808896,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823817142208157696,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787489845000,"timestamp_ms":1787489845000,"timestamp_seconds":1787489845,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb27f08"} 
[2026-08-23 18:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 18:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597399296001,"66":13580,"103":206,"83":41984,"24":11,"16":15691023065808896,"45":1823817142208157696},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 18:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597399296001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:28:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 18:28:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15691023065808896,"km_value":15691023065808.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823817142208157696,"description":"Unknown IO ID 45"} 
[2026-08-23 18:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597399296001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1823817142208157696}} 
[2026-08-23 18:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":160720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:28:34] local.INFO: GPS data processed {"connection_id":160720,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:28:34] local.INFO: Acknowledgment sent {"connection_id":160720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:28:37] local.INFO: TCP Data received {"connection_id":160720,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb286d8012d19510007209cf00031002521..."} 
[2026-08-23 18:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb286d8012d19510007209cf00031002521..."} 
[2026-08-23 18:28:37] local.INFO: Processing buffer {"connection_id":160720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb286d8012d19510007209cf00031002521..."} 
[2026-08-23 18:28:37] local.INFO: Packet analysis {"connection_id":160720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb2"} 
[2026-08-23 18:28:37] local.INFO: Extracted packet for processing {"connection_id":160720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb2"} 
[2026-08-23 18:28:37] local.INFO: GPS Element Parsed {"raw_longitude":756633856,"raw_latitude":119577840,"longitude_deg":75.6633856,"latitude_deg":11.957784,"altitude":49,"angle":37,"satellites":33,"speed":9,"hex_longitude":"2d195100","hex_latitude":"07209cf0","is_valid_coordinates":true} 
[2026-08-23 18:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597400320001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15691044540645376,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824028248441034752,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787489847000,"timestamp_ms":1787489847000,"timestamp_seconds":1787489847,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb286d8"} 
[2026-08-23 18:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:28: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-08-23 18:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-23 18:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751527870,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:37] local.WARNING: Large IO value detected {"io_id":190,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:37] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2423259183,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6134747177538289674,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639084336281703,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-23 18:28:37] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:37] local.WARNING: Large IO value detected {"io_id":87,"raw_value":2147950732,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:37] local.WARNING: Large IO value detected {"io_id":56,"raw_value":4323681559283551827,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:37] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3199401984,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:37] local.WARNING: Large IO value detected {"io_id":25,"raw_value":7223781638304956463,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:37] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755459570729201,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:37] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,190,160,111,45,128,149,47,32,10,66,107,148,192,1,240,5,227,46,4,113,205,11,64,87,224,37,239,56,2,55,7,15,25,164],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-23 18:28:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458778957796278272,"timestamp_seconds":3458778957796278.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 18:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597400320001,"66":14298,"103":206,"83":41984,"24":9,"16":15691044540645376,"45":1824028248441034752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 18:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597400320001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:28:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 18:28:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15691044540645376,"km_value":15691044540645.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824028248441034752,"description":"Unknown IO ID 45"} 
[2026-08-23 18:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597400320001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1824028248441034752}} 
[2026-08-23 18:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":160720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:28:37] local.INFO: GPS data processed {"connection_id":160720,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:28:37] local.INFO: Acknowledgment sent {"connection_id":160720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:28:39] local.INFO: TCP Data received {"connection_id":163315,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:28:39] local.INFO: Processing buffer {"connection_id":163315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:28:39] local.INFO: IMEI packet received {"connection_id":163315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":163315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:28:40] local.INFO: TCP Data received {"connection_id":163315,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb27738012d882e4005cf6dc80007008b2b..."} 
[2026-08-23 18:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb27738012d882e4005cf6dc80007008b2b..."} 
[2026-08-23 18:28:40] local.INFO: Processing buffer {"connection_id":163315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb27738012d882e4005cf6dc80007008b2b..."} 
[2026-08-23 18:28:40] local.INFO: Packet analysis {"connection_id":163315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb2"} 
[2026-08-23 18:28:40] local.INFO: Extracted packet for processing {"connection_id":163315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb2"} 
[2026-08-23 18:28:40] local.INFO: GPS Element Parsed {"raw_longitude":763899456,"raw_latitude":97480136,"longitude_deg":76.3899456,"latitude_deg":9.7480136,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882e40","hex_latitude":"05cf6dc8","is_valid_coordinates":true} 
[2026-08-23 18:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597399808001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8633893041923569664,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787489843000,"timestamp_ms":1787489843000,"timestamp_seconds":1787489843,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb27738"} 
[2026-08-23 18:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:28: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-08-23 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 18:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597399808001,"66":12461,"47":206,"85":13824,"24":0,"16":122925185236992000,"45":-8633893041923569664},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-23 18:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597399808001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:28:40] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-23 18:28:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8633893041923569664,"description":"Unknown IO ID 45"} 
[2026-08-23 18:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597399808001,"power":12461,"unknown_47":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8633893041923569664}} 
[2026-08-23 18:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":163315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:28:40] local.INFO: GPS data processed {"connection_id":163315,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:28:40] local.INFO: Acknowledgment sent {"connection_id":163315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:28:43] local.INFO: TCP Data received {"connection_id":161917,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:28:43] local.INFO: Processing buffer {"connection_id":161917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:28:43] local.INFO: IMEI packet received {"connection_id":161917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":161917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:28:45] local.INFO: TCP Data received {"connection_id":161917,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:28:45] local.INFO: Processing buffer {"connection_id":161917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:28:45] local.INFO: IMEI packet received {"connection_id":161917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":161917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:28:50] local.INFO: TCP Data received {"connection_id":161917,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:28:50] local.INFO: Processing buffer {"connection_id":161917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:28:50] local.INFO: IMEI packet received {"connection_id":161917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":161917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:28:51] local.INFO: TCP Data received {"connection_id":161917,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:28:51] local.INFO: Processing buffer {"connection_id":161917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:28:51] local.INFO: Packet analysis {"connection_id":161917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:28:51] local.INFO: Extracted packet for processing {"connection_id":161917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:28:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597333504001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787489885000,"timestamp_ms":1787489885000,"timestamp_seconds":1787489885,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb31b48"} 
[2026-08-23 18:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 18:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:28:51] 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-08-23 18:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597333504001,"66":25223,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597333504001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:28:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:28:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597333504001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":161917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:28:51] local.INFO: GPS data processed {"connection_id":161917,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:28:51] local.INFO: Acknowledgment sent {"connection_id":161917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:29:08] local.INFO: TCP Data received {"connection_id":160720,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb32700012d192ac00720bb38002f012322..."} 
[2026-08-23 18:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb32700012d192ac00720bb38002f012322..."} 
[2026-08-23 18:29:08] local.INFO: Processing buffer {"connection_id":160720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb32700012d192ac00720bb38002f012322..."} 
[2026-08-23 18:29:08] local.INFO: Packet analysis {"connection_id":160720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:29:08] local.INFO: Extracted packet for processing {"connection_id":160720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:29:08] local.INFO: GPS Element Parsed {"raw_longitude":756624064,"raw_latitude":119585592,"longitude_deg":75.6624064,"latitude_deg":11.9585592,"altitude":47,"angle":291,"satellites":34,"speed":37,"hex_longitude":"2d192ac0","hex_latitude":"0720bb38","is_valid_coordinates":true} 
[2026-08-23 18:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597410048001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15691912124039168,"note":"Value kept but may cause issues"} 
[2026-08-23 18:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817765430210805760,"note":"Value kept but may cause issues"} 
[2026-08-23 18:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787489888000,"timestamp_ms":1787489888000,"timestamp_seconds":1787489888,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb32700"} 
[2026-08-23 18:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:29: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-08-23 18:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-23 18:29: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-08-23 18:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597410048001,"66":14396,"103":206,"83":41984,"24":37,"16":15691912124039168,"45":1817765430210805760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 18:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597410048001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:29:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 18:29:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15691912124039168,"km_value":15691912124039.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817765430210805760,"description":"Unknown IO ID 45"} 
[2026-08-23 18:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597410048001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1817765430210805760}} 
[2026-08-23 18:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":160720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:29:08] local.INFO: GPS data processed {"connection_id":160720,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:29:08] local.INFO: Acknowledgment sent {"connection_id":160720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:29:23] local.INFO: TCP Data received {"connection_id":161917,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:29:23] local.INFO: Processing buffer {"connection_id":161917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:29:23] local.INFO: Packet analysis {"connection_id":161917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:29:23] local.INFO: Extracted packet for processing {"connection_id":161917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:29:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597333504001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787489885000,"timestamp_ms":1787489885000,"timestamp_seconds":1787489885,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb31b48"} 
[2026-08-23 18:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:29: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-08-23 18:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 18:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:29:23] 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-08-23 18:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597333504001,"66":25223,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597333504001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:29:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:29:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597333504001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":161917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:29:23] local.INFO: GPS data processed {"connection_id":161917,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:29:23] local.INFO: Acknowledgment sent {"connection_id":161917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:29:29] local.INFO: TCP Data received {"connection_id":163316,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:29:29] local.INFO: Processing buffer {"connection_id":163316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:29:29] local.INFO: IMEI packet received {"connection_id":163316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":163316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:29:34] local.INFO: TCP Data received {"connection_id":163316,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:29:34] local.INFO: Processing buffer {"connection_id":163316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:29:34] local.INFO: IMEI packet received {"connection_id":163316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":163316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:29:35] local.INFO: TCP Data received {"connection_id":163316,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb34e10012d1909c00720ca100031012e23..."} 
[2026-08-23 18:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb34e10012d1909c00720ca100031012e23..."} 
[2026-08-23 18:29:35] local.INFO: Processing buffer {"connection_id":163316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb34e10012d1909c00720ca100031012e23..."} 
[2026-08-23 18:29:35] local.INFO: Packet analysis {"connection_id":163316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:29:35] local.INFO: Extracted packet for processing {"connection_id":163316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:29:35] local.INFO: GPS Element Parsed {"raw_longitude":756615616,"raw_latitude":119589392,"longitude_deg":75.6615616,"latitude_deg":11.9589392,"altitude":49,"angle":302,"satellites":35,"speed":29,"hex_longitude":"2d1909c0","hex_latitude":"0720ca10","is_valid_coordinates":true} 
[2026-08-23 18:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597411328001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15692358800637952,"note":"Value kept but may cause issues"} 
[2026-08-23 18:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1813472936816490496,"note":"Value kept but may cause issues"} 
[2026-08-23 18:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787489898000,"timestamp_ms":1787489898000,"timestamp_seconds":1787489898,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb34e10"} 
[2026-08-23 18:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-23 18:29:35] 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-08-23 18:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597411328001,"66":14048,"103":206,"83":41984,"24":29,"16":15692358800637952,"45":1813472936816490496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 18:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597411328001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:29:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 18:29:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15692358800637952,"km_value":15692358800637.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1813472936816490496,"description":"Unknown IO ID 45"} 
[2026-08-23 18:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597411328001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1813472936816490496}} 
[2026-08-23 18:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":163316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:29:35] local.INFO: GPS data processed {"connection_id":163316,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:29:35] local.INFO: Acknowledgment sent {"connection_id":163316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:29:45] local.INFO: TCP Data received {"connection_id":160962,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:29:45] local.INFO: Processing buffer {"connection_id":160962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:29:45] local.INFO: IMEI packet received {"connection_id":160962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":160962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:29:50] local.INFO: TCP Data received {"connection_id":160962,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:29:50] local.INFO: Processing buffer {"connection_id":160962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:29:50] local.INFO: IMEI packet received {"connection_id":160962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":160962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:29:52] local.INFO: TCP Data received {"connection_id":160962,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:29:52] local.INFO: Processing buffer {"connection_id":160962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:29:52] local.INFO: Packet analysis {"connection_id":160962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:29:52] local.INFO: Extracted packet for processing {"connection_id":160962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597333504001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787489885000,"timestamp_ms":1787489885000,"timestamp_seconds":1787489885,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb31b48"} 
[2026-08-23 18:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 18:29: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-08-23 18:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:29:52] 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-08-23 18:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597333504001,"66":25223,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597333504001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:29:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:29:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597333504001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":160962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:29:52] local.INFO: GPS data processed {"connection_id":160962,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:29:52] local.INFO: Acknowledgment sent {"connection_id":160962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:30:06] local.INFO: TCP Data received {"connection_id":163316,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb44040012d18ac80072170e80047013b24..."} 
[2026-08-23 18:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb44040012d18ac80072170e80047013b24..."} 
[2026-08-23 18:30:06] local.INFO: Processing buffer {"connection_id":163316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb44040012d18ac80072170e80047013b24..."} 
[2026-08-23 18:30:06] local.INFO: Packet analysis {"connection_id":163316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb4"} 
[2026-08-23 18:30:06] local.INFO: Extracted packet for processing {"connection_id":163316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb4"} 
[2026-08-23 18:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756591744,"raw_latitude":119632104,"longitude_deg":75.6591744,"latitude_deg":11.9632104,"altitude":71,"angle":315,"satellites":36,"speed":30,"hex_longitude":"2d18ac80","hex_latitude":"072170e8","is_valid_coordinates":true} 
[2026-08-23 18:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597429760001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15694815521931264,"note":"Value kept but may cause issues"} 
[2026-08-23 18:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777936721018677248,"note":"Value kept but may cause issues"} 
[2026-08-23 18:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787489960000,"timestamp_ms":1787489960000,"timestamp_seconds":1787489960,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb44040"} 
[2026-08-23 18:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 18:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597429760001,"66":14048,"106":206,"83":41984,"24":30,"16":15694815521931264,"45":1777936721018677248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 18:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597429760001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:30:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 18:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15694815521931264,"km_value":15694815521931.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777936721018677248,"description":"Unknown IO ID 45"} 
[2026-08-23 18:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597429760001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1777936721018677248}} 
[2026-08-23 18:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":163316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:30:07] local.INFO: GPS data processed {"connection_id":163316,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:30:07] local.INFO: Acknowledgment sent {"connection_id":163316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:30:23] local.INFO: TCP Data received {"connection_id":160962,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:30:23] local.INFO: Processing buffer {"connection_id":160962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:30:23] local.INFO: Packet analysis {"connection_id":160962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:30:23] local.INFO: Extracted packet for processing {"connection_id":160962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:30:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597333504001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787489885000,"timestamp_ms":1787489885000,"timestamp_seconds":1787489885,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb31b48"} 
[2026-08-23 18:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:30: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-08-23 18:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 18:30:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:30:23] 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-08-23 18:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597333504001,"66":25223,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597333504001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:30:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:30:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597333504001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":160962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:30:23] local.INFO: GPS data processed {"connection_id":160962,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:30:23] local.INFO: Acknowledgment sent {"connection_id":160962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:30:28] local.INFO: TCP Data received {"connection_id":160963,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:30:28] local.INFO: Processing buffer {"connection_id":160963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:30:28] local.INFO: IMEI packet received {"connection_id":160963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":160963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:30:31] local.INFO: TCP Data received {"connection_id":160963,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:30:31] local.INFO: Processing buffer {"connection_id":160963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:30:31] local.INFO: IMEI packet received {"connection_id":160963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":160963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:30:34] local.INFO: TCP Data received {"connection_id":160963,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:30:34] local.INFO: Processing buffer {"connection_id":160963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:30:34] local.INFO: IMEI packet received {"connection_id":160963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":160963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:30:35] local.INFO: TCP Data received {"connection_id":160963,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb44810012d18a740072174200048012a24..."} 
[2026-08-23 18:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb44810012d18a740072174200048012a24..."} 
[2026-08-23 18:30:35] local.INFO: Processing buffer {"connection_id":160963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb44810012d18a740072174200048012a24..."} 
[2026-08-23 18:30:35] local.INFO: Packet analysis {"connection_id":160963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb4"} 
[2026-08-23 18:30:35] local.INFO: Extracted packet for processing {"connection_id":160963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb4"} 
[2026-08-23 18:30:35] local.INFO: GPS Element Parsed {"raw_longitude":756590400,"raw_latitude":119632928,"longitude_deg":75.65904,"latitude_deg":11.9632928,"altitude":72,"angle":298,"satellites":36,"speed":30,"hex_longitude":"2d18a740","hex_latitude":"07217420","is_valid_coordinates":true} 
[2026-08-23 18:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597429760001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15694888536375296,"note":"Value kept but may cause issues"} 
[2026-08-23 18:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777936721018677248,"note":"Value kept but may cause issues"} 
[2026-08-23 18:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787489962000,"timestamp_ms":1787489962000,"timestamp_seconds":1787489962,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb44810"} 
[2026-08-23 18:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-23 18:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597429760001,"66":13852,"106":206,"83":41984,"24":30,"16":15694888536375296,"45":1777936721018677248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 18:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597429760001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:30:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 18:30:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15694888536375296,"km_value":15694888536375.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777936721018677248,"description":"Unknown IO ID 45"} 
[2026-08-23 18:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597429760001,"power":13852,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1777936721018677248}} 
[2026-08-23 18:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":160963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:30:35] local.INFO: GPS data processed {"connection_id":160963,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:30:35] local.INFO: Acknowledgment sent {"connection_id":160963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:30:45] local.INFO: TCP Data received {"connection_id":163318,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:30:45] local.INFO: Processing buffer {"connection_id":163318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:30:45] local.INFO: IMEI packet received {"connection_id":163318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":163318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:30:49] local.INFO: TCP Data received {"connection_id":163317,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163317,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:30:49] local.INFO: Processing buffer {"connection_id":163317,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:30:49] local.INFO: IMEI packet received {"connection_id":163317,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":163317,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:30:51] local.INFO: TCP Data received {"connection_id":163318,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:30:51] local.INFO: Processing buffer {"connection_id":163318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:30:51] local.INFO: IMEI packet received {"connection_id":163318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":163318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:30:54] local.INFO: TCP Data received {"connection_id":163318,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:30:54] local.INFO: Processing buffer {"connection_id":163318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:30:54] local.INFO: Packet analysis {"connection_id":163318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:30:54] local.INFO: Extracted packet for processing {"connection_id":163318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:30:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597333504001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787489885000,"timestamp_ms":1787489885000,"timestamp_seconds":1787489885,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb31b48"} 
[2026-08-23 18:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 18:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:30:54] 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-08-23 18:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597333504001,"66":25223,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597333504001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:30:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:30:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597333504001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":163318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:30:54] local.INFO: GPS data processed {"connection_id":163318,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:30:54] local.INFO: Acknowledgment sent {"connection_id":163318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:30:54] local.INFO: TCP Data received {"connection_id":163317,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163317,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:30:54] local.INFO: Processing buffer {"connection_id":163317,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:30:54] local.INFO: IMEI packet received {"connection_id":163317,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":163317,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:30:55] local.INFO: TCP Data received {"connection_id":163317,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb27f08012d882e4005cf6dc80007008b2a..."} 
[2026-08-23 18:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb27f08012d882e4005cf6dc80007008b2a..."} 
[2026-08-23 18:30:55] local.INFO: Processing buffer {"connection_id":163317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb27f08012d882e4005cf6dc80007008b2a..."} 
[2026-08-23 18:30:55] local.INFO: Packet analysis {"connection_id":163317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb2"} 
[2026-08-23 18:30:55] local.INFO: Extracted packet for processing {"connection_id":163317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb2"} 
[2026-08-23 18:30:55] local.INFO: GPS Element Parsed {"raw_longitude":763899456,"raw_latitude":97480136,"longitude_deg":76.3899456,"latitude_deg":9.7480136,"altitude":7,"angle":139,"satellites":42,"speed":0,"hex_longitude":"2d882e40","hex_latitude":"05cf6dc8","is_valid_coordinates":true} 
[2026-08-23 18:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597400320001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8633893041923569664,"note":"Value kept but may cause issues"} 
[2026-08-23 18:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787489845000,"timestamp_ms":1787489845000,"timestamp_seconds":1787489845,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb27f08"} 
[2026-08-23 18:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-23 18: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-08-23 18:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597400320001,"66":12798,"47":206,"85":13824,"24":0,"16":122925185236992000,"45":-8633893041923569664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-23 18:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597400320001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:30:55] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-23 18:30:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8633893041923569664,"description":"Unknown IO ID 45"} 
[2026-08-23 18:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597400320001,"power":12798,"unknown_47":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8633893041923569664}} 
[2026-08-23 18:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":163317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:30:55] local.INFO: GPS data processed {"connection_id":163317,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:30:55] local.INFO: Acknowledgment sent {"connection_id":163317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:30:57] local.INFO: TCP Data received {"connection_id":163317,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb2aa00012d882e4005cf6dc80007008b2b..."} 
[2026-08-23 18:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb2aa00012d882e4005cf6dc80007008b2b..."} 
[2026-08-23 18:30:57] local.INFO: Processing buffer {"connection_id":163317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb2aa00012d882e4005cf6dc80007008b2b..."} 
[2026-08-23 18:30:57] local.INFO: Packet analysis {"connection_id":163317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb2"} 
[2026-08-23 18:30:57] local.INFO: Extracted packet for processing {"connection_id":163317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb2"} 
[2026-08-23 18:30:57] local.INFO: GPS Element Parsed {"raw_longitude":763899456,"raw_latitude":97480136,"longitude_deg":76.3899456,"latitude_deg":9.7480136,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882e40","hex_latitude":"05cf6dc8","is_valid_coordinates":true} 
[2026-08-23 18:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597400320001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8633893041923569664,"note":"Value kept but may cause issues"} 
[2026-08-23 18:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787489856000,"timestamp_ms":1787489856000,"timestamp_seconds":1787489856,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb2aa00"} 
[2026-08-23 18:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-23 18:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597400320001,"66":11384,"47":206,"85":13824,"24":0,"16":122925185236992000,"45":-8633893041923569664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-23 18:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597400320001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:30:57] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-23 18:30:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8633893041923569664,"description":"Unknown IO ID 45"} 
[2026-08-23 18:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597400320001,"power":11384,"unknown_47":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8633893041923569664}} 
[2026-08-23 18:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":163317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:30:57] local.INFO: GPS data processed {"connection_id":163317,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:30:57] local.INFO: Acknowledgment sent {"connection_id":163317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:31:06] local.INFO: TCP Data received {"connection_id":160963,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb44fe0012d18a180072176100048011e23..."} 
[2026-08-23 18:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb44fe0012d18a180072176100048011e23..."} 
[2026-08-23 18:31:06] local.INFO: Processing buffer {"connection_id":160963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb44fe0012d18a180072176100048011e23..."} 
[2026-08-23 18:31:06] local.INFO: Packet analysis {"connection_id":160963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb4"} 
[2026-08-23 18:31:06] local.INFO: Extracted packet for processing {"connection_id":160963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb4"} 
[2026-08-23 18:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756588928,"raw_latitude":119633424,"longitude_deg":75.6588928,"latitude_deg":11.9633424,"altitude":72,"angle":286,"satellites":35,"speed":32,"hex_longitude":"2d18a180","hex_latitude":"07217610","is_valid_coordinates":true} 
[2026-08-23 18:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597430272001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15694965845786624,"note":"Value kept but may cause issues"} 
[2026-08-23 18:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776458977391157248,"note":"Value kept but may cause issues"} 
[2026-08-23 18:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787489964000,"timestamp_ms":1787489964000,"timestamp_seconds":1787489964,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb44fe0"} 
[2026-08-23 18:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-23 18:31:06] 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-08-23 18:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597430272001,"66":12982,"106":206,"83":41984,"24":32,"16":15694965845786624,"45":1776458977391157248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 18:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597430272001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:31:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 18:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15694965845786624,"km_value":15694965845786.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776458977391157248,"description":"Unknown IO ID 45"} 
[2026-08-23 18:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597430272001,"power":12982,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1776458977391157248}} 
[2026-08-23 18:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":160963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:31:06] local.INFO: GPS data processed {"connection_id":160963,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:31:06] local.INFO: Acknowledgment sent {"connection_id":160963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:31:25] local.INFO: TCP Data received {"connection_id":163318,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:31:25] local.INFO: Processing buffer {"connection_id":163318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:31:25] local.INFO: Packet analysis {"connection_id":163318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:31:25] local.INFO: Extracted packet for processing {"connection_id":163318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:31:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597333504001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787489885000,"timestamp_ms":1787489885000,"timestamp_seconds":1787489885,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb31b48"} 
[2026-08-23 18:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 18:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:31:25] 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-08-23 18:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597333504001,"66":25223,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597333504001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:31:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:31:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597333504001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":163318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:31:25] local.INFO: GPS data processed {"connection_id":163318,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:31:25] local.INFO: Acknowledgment sent {"connection_id":163318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:31:34] local.INFO: TCP Data received {"connection_id":160964,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:31:34] local.INFO: Processing buffer {"connection_id":160964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:31:34] local.INFO: IMEI packet received {"connection_id":160964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":160964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:31:35] local.INFO: TCP Data received {"connection_id":160965,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:31:35] local.INFO: Processing buffer {"connection_id":160965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:31:35] local.INFO: IMEI packet received {"connection_id":160965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":160965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:31:37] local.INFO: TCP Data received {"connection_id":160964,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:31:37] local.INFO: Processing buffer {"connection_id":160964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:31:37] local.INFO: IMEI packet received {"connection_id":160964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":160964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:31:38] local.INFO: TCP Data received {"connection_id":160964,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb570f0012d1830c00721c998004e002127..."} 
[2026-08-23 18:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb570f0012d1830c00721c998004e002127..."} 
[2026-08-23 18:31:38] local.INFO: Processing buffer {"connection_id":160964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb570f0012d1830c00721c998004e002127..."} 
[2026-08-23 18:31:38] local.INFO: Packet analysis {"connection_id":160964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb5"} 
[2026-08-23 18:31:38] local.INFO: Extracted packet for processing {"connection_id":160964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb5"} 
[2026-08-23 18:31:38] local.INFO: GPS Element Parsed {"raw_longitude":756560064,"raw_latitude":119654808,"longitude_deg":75.6560064,"latitude_deg":11.9654808,"altitude":78,"angle":33,"satellites":39,"speed":32,"hex_longitude":"2d1830c0","hex_latitude":"0721c998","is_valid_coordinates":true} 
[2026-08-23 18:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597446144001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15697233588518912,"note":"Value kept but may cause issues"} 
[2026-08-23 18:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097032192,"note":"Value kept but may cause issues"} 
[2026-08-23 18:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787490038000,"timestamp_ms":1787490038000,"timestamp_seconds":1787490038,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb570f0"} 
[2026-08-23 18:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:31:38] 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-08-23 18:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-23 18:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597446144001,"66":13928,"105":206,"83":41984,"24":32,"16":15697233588518912,"45":1737756168097032192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597446144001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:31:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:31:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15697233588518912,"km_value":15697233588518.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097032192,"description":"Unknown IO ID 45"} 
[2026-08-23 18:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597446144001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1737756168097032192}} 
[2026-08-23 18:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":160964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:31:38] local.INFO: GPS data processed {"connection_id":160964,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:31:38] local.INFO: Acknowledgment sent {"connection_id":160964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:31:39] local.INFO: TCP Data received {"connection_id":160964,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb59be8012d1845400721e8080050002125..."} 
[2026-08-23 18:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb59be8012d1845400721e8080050002125..."} 
[2026-08-23 18:31:39] local.INFO: Processing buffer {"connection_id":160964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb59be8012d1845400721e8080050002125..."} 
[2026-08-23 18:31:39] local.INFO: Packet analysis {"connection_id":160964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb5"} 
[2026-08-23 18:31:39] local.INFO: Extracted packet for processing {"connection_id":160964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb5"} 
[2026-08-23 18:31:39] local.INFO: GPS Element Parsed {"raw_longitude":756565312,"raw_latitude":119662600,"longitude_deg":75.6565312,"latitude_deg":11.96626,"altitude":80,"angle":33,"satellites":37,"speed":35,"hex_longitude":"2d184540","hex_latitude":"0721e808","is_valid_coordinates":true} 
[2026-08-23 18:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597449728001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15697684560084992,"note":"Value kept but may cause issues"} 
[2026-08-23 18:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743104192656545792,"note":"Value kept but may cause issues"} 
[2026-08-23 18:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787490049000,"timestamp_ms":1787490049000,"timestamp_seconds":1787490049,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb59be8"} 
[2026-08-23 18:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:31: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-08-23 18:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 18:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597449728001,"66":13928,"105":206,"83":41984,"24":35,"16":15697684560084992,"45":1743104192656545792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597449728001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:31:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:31:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15697684560084992,"km_value":15697684560084.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743104192656545792,"description":"Unknown IO ID 45"} 
[2026-08-23 18:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597449728001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1743104192656545792}} 
[2026-08-23 18:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":160964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:31:39] local.INFO: GPS data processed {"connection_id":160964,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:31:39] local.INFO: Acknowledgment sent {"connection_id":160964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:31:39] local.INFO: TCP Data received {"connection_id":160965,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:31:39] local.INFO: Processing buffer {"connection_id":160965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:31:39] local.INFO: IMEI packet received {"connection_id":160965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":160965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:31:40] local.INFO: TCP Data received {"connection_id":160965,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb2aa00012d882e4005cf6dc80007008b2b..."} 
[2026-08-23 18:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb2aa00012d882e4005cf6dc80007008b2b..."} 
[2026-08-23 18:31:40] local.INFO: Processing buffer {"connection_id":160965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb2aa00012d882e4005cf6dc80007008b2b..."} 
[2026-08-23 18:31:40] local.INFO: Packet analysis {"connection_id":160965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb2"} 
[2026-08-23 18:31:40] local.INFO: Extracted packet for processing {"connection_id":160965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb2"} 
[2026-08-23 18:31:40] local.INFO: GPS Element Parsed {"raw_longitude":763899456,"raw_latitude":97480136,"longitude_deg":76.3899456,"latitude_deg":9.7480136,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882e40","hex_latitude":"05cf6dc8","is_valid_coordinates":true} 
[2026-08-23 18:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597403136001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8633893041923569664,"note":"Value kept but may cause issues"} 
[2026-08-23 18:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787489856000,"timestamp_ms":1787489856000,"timestamp_seconds":1787489856,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb2aa00"} 
[2026-08-23 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-08-23 18:31: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-08-23 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":44,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-08-23 18:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1498,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 18:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597403136001,"66":11384,"47":206,"85":13824,"24":0,"16":122925185236992000,"45":-8633893041923569664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-23 18:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597403136001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:31:40] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-23 18:31:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8633893041923569664,"description":"Unknown IO ID 45"} 
[2026-08-23 18:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597403136001,"power":11384,"unknown_47":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8633893041923569664}} 
[2026-08-23 18:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":160965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:31:41] local.INFO: GPS data processed {"connection_id":160965,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:31:41] local.INFO: Acknowledgment sent {"connection_id":160965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:31:41] local.INFO: TCP Data received {"connection_id":160965,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb2ade8012d882e4005cf6dc80007008b2b..."} 
[2026-08-23 18:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb2ade8012d882e4005cf6dc80007008b2b..."} 
[2026-08-23 18:31:41] local.INFO: Processing buffer {"connection_id":160965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb2ade8012d882e4005cf6dc80007008b2b..."} 
[2026-08-23 18:31:41] local.INFO: Packet analysis {"connection_id":160965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb2"} 
[2026-08-23 18:31:41] local.INFO: Extracted packet for processing {"connection_id":160965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb2"} 
[2026-08-23 18:31:41] local.INFO: GPS Element Parsed {"raw_longitude":763899456,"raw_latitude":97480136,"longitude_deg":76.3899456,"latitude_deg":9.7480136,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882e40","hex_latitude":"05cf6dc8","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597403136001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8633893041923569664,"note":"Value kept but may cause issues"} 
[2026-08-23 18:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787489857000,"timestamp_ms":1787489857000,"timestamp_seconds":1787489857,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb2ade8"} 
[2026-08-23 18:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:31: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-08-23 18: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":44,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-08-23 18:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1498,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597403136001,"66":11384,"47":206,"85":13824,"24":0,"16":122925185236992000,"45":-8633893041923569664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-23 18:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597403136001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:31:41] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-23 18:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8633893041923569664,"description":"Unknown IO ID 45"} 
[2026-08-23 18:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597403136001,"power":11384,"unknown_47":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8633893041923569664}} 
[2026-08-23 18:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":160965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:31:41] local.INFO: GPS data processed {"connection_id":160965,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:31:41] local.INFO: Acknowledgment sent {"connection_id":160965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:31:50] local.INFO: TCP Data received {"connection_id":160721,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:31:50] local.INFO: Processing buffer {"connection_id":160721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:31:50] local.INFO: IMEI packet received {"connection_id":160721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":160721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:31:55] local.INFO: TCP Data received {"connection_id":160721,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:31:55] local.INFO: Processing buffer {"connection_id":160721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:31:55] local.INFO: IMEI packet received {"connection_id":160721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":160721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:31:57] local.INFO: TCP Data received {"connection_id":160721,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:31:57] local.INFO: Processing buffer {"connection_id":160721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:31:57] local.INFO: Packet analysis {"connection_id":160721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:31:57] local.INFO: Extracted packet for processing {"connection_id":160721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:31:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597333504001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787489885000,"timestamp_ms":1787489885000,"timestamp_seconds":1787489885,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb31b48"} 
[2026-08-23 18:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 18:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597333504001,"66":25223,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597333504001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:31:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:31:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597333504001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":160721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:31:57] local.INFO: GPS data processed {"connection_id":160721,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:31:57] local.INFO: Acknowledgment sent {"connection_id":160721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:32:01] local.INFO: TCP Data received {"connection_id":160721,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:32:01] local.INFO: Processing buffer {"connection_id":160721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:32:01] local.INFO: Packet analysis {"connection_id":160721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:32:01] local.INFO: Extracted packet for processing {"connection_id":160721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:32:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597333504001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787489885000,"timestamp_ms":1787489885000,"timestamp_seconds":1787489885,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb31b48"} 
[2026-08-23 18:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 18:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597333504001,"66":25223,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597333504001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:32:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:32:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597333504001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":160721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:32:01] local.INFO: GPS data processed {"connection_id":160721,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:32:01] local.INFO: Acknowledgment sent {"connection_id":160721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:32:11] local.INFO: TCP Data received {"connection_id":160964,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb5c2f8012d185940072205a80052002226..."} 
[2026-08-23 18:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb5c2f8012d185940072205a80052002226..."} 
[2026-08-23 18:32:11] local.INFO: Processing buffer {"connection_id":160964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb5c2f8012d185940072205a80052002226..."} 
[2026-08-23 18:32:11] local.INFO: Packet analysis {"connection_id":160964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb5"} 
[2026-08-23 18:32:11] local.INFO: Extracted packet for processing {"connection_id":160964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb5"} 
[2026-08-23 18:32:11] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119670184,"longitude_deg":75.6570432,"latitude_deg":11.9670184,"altitude":82,"angle":34,"satellites":38,"speed":36,"hex_longitude":"2d185940","hex_latitude":"072205a8","is_valid_coordinates":true} 
[2026-08-23 18:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597452544001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15698126941716480,"note":"Value kept but may cause issues"} 
[2026-08-23 18:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748874429681108992,"note":"Value kept but may cause issues"} 
[2026-08-23 18:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787490059000,"timestamp_ms":1787490059000,"timestamp_seconds":1787490059,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb5c2f8"} 
[2026-08-23 18:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:32: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-08-23 18:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 18:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597452544001,"66":13993,"105":206,"83":41984,"24":36,"16":15698126941716480,"45":1748874429681108992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597452544001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:32:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:32:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15698126941716480,"km_value":15698126941716.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748874429681108992,"description":"Unknown IO ID 45"} 
[2026-08-23 18:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597452544001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1748874429681108992}} 
[2026-08-23 18:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":160964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:32:11] local.INFO: GPS data processed {"connection_id":160964,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:32:11] local.INFO: Acknowledgment sent {"connection_id":160964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:32:13] local.INFO: TCP Data received {"connection_id":160965,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb4bd40012d882dc005cf6dc00007008b2e..."} 
[2026-08-23 18:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb4bd40012d882dc005cf6dc00007008b2e..."} 
[2026-08-23 18:32:13] local.INFO: Processing buffer {"connection_id":160965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb4bd40012d882dc005cf6dc00007008b2e..."} 
[2026-08-23 18:32:13] local.INFO: Packet analysis {"connection_id":160965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb4"} 
[2026-08-23 18:32:13] local.INFO: Extracted packet for processing {"connection_id":160965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb4"} 
[2026-08-23 18:32:13] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:32: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-08-23 18:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597403392001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8633893041923569664,"note":"Value kept but may cause issues"} 
[2026-08-23 18:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787489992000,"timestamp_ms":1787489992000,"timestamp_seconds":1787489992,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb4bd40"} 
[2026-08-23 18:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-08-23 18:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1498,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597403392001,"66":12461,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8633893041923569664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597403392001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:32:13] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:32:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8633893041923569664,"description":"Unknown IO ID 45"} 
[2026-08-23 18:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597403392001,"power":12461,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8633893041923569664}} 
[2026-08-23 18:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":160965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:32:13] local.INFO: GPS data processed {"connection_id":160965,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:32:13] local.INFO: Acknowledgment sent {"connection_id":160965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:32:33] local.INFO: TCP Data received {"connection_id":160722,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:32:33] local.INFO: Processing buffer {"connection_id":160722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:32:33] local.INFO: IMEI packet received {"connection_id":160722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":160722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:32:34] local.INFO: TCP Data received {"connection_id":161918,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:32:34] local.INFO: Processing buffer {"connection_id":161918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:32:34] local.INFO: IMEI packet received {"connection_id":161918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":161918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:32:39] local.INFO: TCP Data received {"connection_id":160722,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:32:39] local.INFO: Processing buffer {"connection_id":160722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:32:39] local.INFO: IMEI packet received {"connection_id":160722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":160722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:32:40] local.INFO: TCP Data received {"connection_id":160722,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb5edf0012d186e80072225500056002126..."} 
[2026-08-23 18:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb5edf0012d186e80072225500056002126..."} 
[2026-08-23 18:32:40] local.INFO: Processing buffer {"connection_id":160722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb5edf0012d186e80072225500056002126..."} 
[2026-08-23 18:32:40] local.INFO: Packet analysis {"connection_id":160722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb5"} 
[2026-08-23 18:32:40] local.INFO: Extracted packet for processing {"connection_id":160722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb5"} 
[2026-08-23 18:32:40] local.INFO: GPS Element Parsed {"raw_longitude":756575872,"raw_latitude":119678288,"longitude_deg":75.6575872,"latitude_deg":11.9678288,"altitude":86,"angle":33,"satellites":38,"speed":34,"hex_longitude":"2d186e80","hex_latitude":"07222550","is_valid_coordinates":true} 
[2026-08-23 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-08-23 18:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597455104001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15698595093151744,"note":"Value kept but may cause issues"} 
[2026-08-23 18:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929217263616,"note":"Value kept but may cause issues"} 
[2026-08-23 18:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787490070000,"timestamp_ms":1787490070000,"timestamp_seconds":1787490070,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb5edf0"} 
[2026-08-23 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-08-23 18:32:40] 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-08-23 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-23 18:32:40] 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-08-23 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-08-23 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-08-23 18:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597455104001,"66":14004,"105":206,"83":41984,"24":34,"16":15698595093151744,"45":1754503929217263616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597455104001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:32:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:32:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15698595093151744,"km_value":15698595093151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929217263616,"description":"Unknown IO ID 45"} 
[2026-08-23 18:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597455104001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1754503929217263616}} 
[2026-08-23 18:32:40] local.INFO: TCP Data received {"connection_id":161918,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:32:40] local.INFO: Processing buffer {"connection_id":161918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:32:40] local.INFO: IMEI packet received {"connection_id":161918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":161918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":160722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:32:40] local.INFO: GPS data processed {"connection_id":160722,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:32:40] local.INFO: Acknowledgment sent {"connection_id":160722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:32:44] local.INFO: TCP Data received {"connection_id":161918,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb4bd40012d882dc005cf6dc00007008b2e..."} 
[2026-08-23 18:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb4bd40012d882dc005cf6dc00007008b2e..."} 
[2026-08-23 18:32:44] local.INFO: Processing buffer {"connection_id":161918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb4bd40012d882dc005cf6dc00007008b2e..."} 
[2026-08-23 18:32:44] local.INFO: Packet analysis {"connection_id":161918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb4"} 
[2026-08-23 18:32:44] local.INFO: Extracted packet for processing {"connection_id":161918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb4"} 
[2026-08-23 18:32:44] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:32: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-08-23 18:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597437952001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787489992000,"timestamp_ms":1787489992000,"timestamp_seconds":1787489992,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb4bd40"} 
[2026-08-23 18:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:32: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-08-23 18:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 18:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597437952001,"66":12461,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597437952001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:32:44] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:32:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597437952001,"power":12461,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":161918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:32:44] local.INFO: GPS data processed {"connection_id":161918,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:32:44] local.INFO: Acknowledgment sent {"connection_id":161918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:32:45] local.INFO: TCP Data received {"connection_id":163319,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:32:45] local.INFO: Processing buffer {"connection_id":163319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:32:45] local.INFO: IMEI packet received {"connection_id":163319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":163319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:32:50] local.INFO: TCP Data received {"connection_id":163319,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:32:50] local.INFO: Processing buffer {"connection_id":163319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:32:50] local.INFO: IMEI packet received {"connection_id":163319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":163319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:32:52] local.INFO: TCP Data received {"connection_id":163319,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:32:52] local.INFO: Processing buffer {"connection_id":163319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:32:52] local.INFO: Packet analysis {"connection_id":163319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:32:52] local.INFO: Extracted packet for processing {"connection_id":163319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:32:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597333504001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787489885000,"timestamp_ms":1787489885000,"timestamp_seconds":1787489885,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb31b48"} 
[2026-08-23 18:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 18:32: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-08-23 18:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:32:52] 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-08-23 18:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597333504001,"66":25223,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597333504001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:32:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:32:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597333504001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":163319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:32:52] local.INFO: GPS data processed {"connection_id":163319,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:32:52] local.INFO: Acknowledgment sent {"connection_id":163319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:33:11] local.INFO: TCP Data received {"connection_id":160722,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb618e8012d1882c007224398005a002025..."} 
[2026-08-23 18:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb618e8012d1882c007224398005a002025..."} 
[2026-08-23 18:33:11] local.INFO: Processing buffer {"connection_id":160722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb618e8012d1882c007224398005a002025..."} 
[2026-08-23 18:33:11] local.INFO: Packet analysis {"connection_id":160722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb6"} 
[2026-08-23 18:33:11] local.INFO: Extracted packet for processing {"connection_id":160722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb6"} 
[2026-08-23 18:33:11] local.INFO: GPS Element Parsed {"raw_longitude":756581056,"raw_latitude":119686040,"longitude_deg":75.6581056,"latitude_deg":11.968604,"altitude":90,"angle":32,"satellites":37,"speed":31,"hex_longitude":"2d1882c0","hex_latitude":"07224398","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597457920001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15699046064717824,"note":"Value kept but may cause issues"} 
[2026-08-23 18:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760485272474439680,"note":"Value kept but may cause issues"} 
[2026-08-23 18:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787490081000,"timestamp_ms":1787490081000,"timestamp_seconds":1787490081,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb618e8"} 
[2026-08-23 18:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:33: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-08-23 18: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-23 18:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597457920001,"66":13972,"105":206,"83":41984,"24":31,"16":15699046064717824,"45":1760485272474439680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 18:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597457920001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:33:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 18:33:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15699046064717824,"km_value":15699046064717.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760485272474439680,"description":"Unknown IO ID 45"} 
[2026-08-23 18:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597457920001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1760485272474439680}} 
[2026-08-23 18:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":160722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:33:11] local.INFO: GPS data processed {"connection_id":160722,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:33:11] local.INFO: Acknowledgment sent {"connection_id":160722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:33:23] local.INFO: TCP Data received {"connection_id":163319,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:33:23] local.INFO: Processing buffer {"connection_id":163319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb31b48012d34c58006aa40600014011421..."} 
[2026-08-23 18:33:23] local.INFO: Packet analysis {"connection_id":163319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:33:23] local.INFO: Extracted packet for processing {"connection_id":163319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb3"} 
[2026-08-23 18:33:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597333504001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787489885000,"timestamp_ms":1787489885000,"timestamp_seconds":1787489885,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb31b48"} 
[2026-08-23 18:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:33: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-08-23 18:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 18:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:33: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-08-23 18:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597333504001,"66":25223,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597333504001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:33:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:33:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597333504001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":163319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:33:23] local.INFO: GPS data processed {"connection_id":163319,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:33:23] local.INFO: Acknowledgment sent {"connection_id":163319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:33:28] local.INFO: TCP Data received {"connection_id":160723,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:33:28] local.INFO: Processing buffer {"connection_id":160723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:33:28] local.INFO: IMEI packet received {"connection_id":160723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":160723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:33:28] local.INFO: TCP Data received {"connection_id":160723,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:33:28] local.INFO: Processing buffer {"connection_id":160723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:33:28] local.INFO: IMEI packet received {"connection_id":160723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":160723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:33:29] local.INFO: TCP Data received {"connection_id":160723,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:33:29] local.INFO: Processing buffer {"connection_id":160723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:33:29] local.INFO: IMEI packet received {"connection_id":160723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":160723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:33:30] local.INFO: TCP Data received {"connection_id":160723,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:33:30] local.INFO: Processing buffer {"connection_id":160723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:33:30] local.INFO: IMEI packet received {"connection_id":160723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":160723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:33:39] local.INFO: TCP Data received {"connection_id":160966,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160966,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:33:39] local.INFO: Processing buffer {"connection_id":160966,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:33:39] local.INFO: IMEI packet received {"connection_id":160966,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":160966,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:33:44] local.INFO: TCP Data received {"connection_id":160724,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:33:44] local.INFO: Processing buffer {"connection_id":160724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:33:44] local.INFO: IMEI packet received {"connection_id":160724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":160724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:33:44] local.INFO: TCP Data received {"connection_id":160966,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160966,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:33:44] local.INFO: Processing buffer {"connection_id":160966,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:33:44] local.INFO: IMEI packet received {"connection_id":160966,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":160966,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:33:45] local.INFO: TCP Data received {"connection_id":160966,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb75938012d882e4005cf6dc80007008b2d..."} 
[2026-08-23 18:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb75938012d882e4005cf6dc80007008b2d..."} 
[2026-08-23 18:33:45] local.INFO: Processing buffer {"connection_id":160966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb75938012d882e4005cf6dc80007008b2d..."} 
[2026-08-23 18:33:45] local.INFO: Packet analysis {"connection_id":160966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:33:45] local.INFO: Extracted packet for processing {"connection_id":160966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:33:45] local.INFO: GPS Element Parsed {"raw_longitude":763899456,"raw_latitude":97480136,"longitude_deg":76.3899456,"latitude_deg":9.7480136,"altitude":7,"angle":139,"satellites":45,"speed":0,"hex_longitude":"2d882e40","hex_latitude":"05cf6dc8","is_valid_coordinates":true} 
[2026-08-23 18:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597475584001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8633893041923569664,"note":"Value kept but may cause issues"} 
[2026-08-23 18:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787490163000,"timestamp_ms":1787490163000,"timestamp_seconds":1787490163,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb75938"} 
[2026-08-23 18:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:33: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-08-23 18:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-23 18:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2239,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597475584001,"66":12069,"47":206,"85":13824,"24":0,"16":122925185236992000,"45":-8633893041923569664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-23 18:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597475584001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:33:45] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-23 18:33:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-23 18:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8633893041923569664,"description":"Unknown IO ID 45"} 
[2026-08-23 18:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597475584001,"power":12069,"unknown_47":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8633893041923569664}} 
[2026-08-23 18:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":160966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:33:45] local.INFO: GPS data processed {"connection_id":160966,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:33:45] local.INFO: Acknowledgment sent {"connection_id":160966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:33:45] local.INFO: TCP Data received {"connection_id":160724,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:33:45] local.INFO: Processing buffer {"connection_id":160724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:33:45] local.INFO: IMEI packet received {"connection_id":160724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":160724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:33:50] local.INFO: TCP Data received {"connection_id":160724,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:33:50] local.INFO: Processing buffer {"connection_id":160724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:33:50] local.INFO: IMEI packet received {"connection_id":160724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":160724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:33:51] local.INFO: TCP Data received {"connection_id":160724,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:33:51] local.INFO: Processing buffer {"connection_id":160724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:33:51] local.INFO: Packet analysis {"connection_id":160724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:33:51] local.INFO: Extracted packet for processing {"connection_id":160724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:33:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597410560001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787490186000,"timestamp_ms":1787490186000,"timestamp_seconds":1787490186,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb7b310"} 
[2026-08-23 18:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 18:33:51] 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-08-23 18:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597410560001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597410560001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:33:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:33:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597410560001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":160724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:33:51] local.INFO: GPS data processed {"connection_id":160724,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:33:51] local.INFO: Acknowledgment sent {"connection_id":160724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:33:53] local.INFO: TCP Data received {"connection_id":160966,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb7ab40012d882e4005cf6dc80007008b2c..."} 
[2026-08-23 18:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb7ab40012d882e4005cf6dc80007008b2c..."} 
[2026-08-23 18:33:53] local.INFO: Processing buffer {"connection_id":160966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb7ab40012d882e4005cf6dc80007008b2c..."} 
[2026-08-23 18:33:53] local.INFO: Packet analysis {"connection_id":160966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:33:53] local.INFO: Extracted packet for processing {"connection_id":160966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:33:53] local.INFO: GPS Element Parsed {"raw_longitude":763899456,"raw_latitude":97480136,"longitude_deg":76.3899456,"latitude_deg":9.7480136,"altitude":7,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2d882e40","hex_latitude":"05cf6dc8","is_valid_coordinates":true} 
[2026-08-23 18:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597481728001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8633893041923569664,"note":"Value kept but may cause issues"} 
[2026-08-23 18:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787490184000,"timestamp_ms":1787490184000,"timestamp_seconds":1787490184,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb7ab40"} 
[2026-08-23 18:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:33: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-08-23 18:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-23 18:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597481728001,"66":11471,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8633893041923569664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597481728001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:33:53] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:33:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8633893041923569664,"description":"Unknown IO ID 45"} 
[2026-08-23 18:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597481728001,"power":11471,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8633893041923569664}} 
[2026-08-23 18:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":160966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:33:53] local.INFO: GPS data processed {"connection_id":160966,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:33:53] local.INFO: Acknowledgment sent {"connection_id":160966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:34:22] local.INFO: TCP Data received {"connection_id":160724,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:34:22] local.INFO: Processing buffer {"connection_id":160724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:34:22] local.INFO: Packet analysis {"connection_id":160724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:34:22] local.INFO: Extracted packet for processing {"connection_id":160724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:34:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597410560001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787490186000,"timestamp_ms":1787490186000,"timestamp_seconds":1787490186,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb7b310"} 
[2026-08-23 18:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 18:34: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-08-23 18:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:34:22] 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-08-23 18:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597410560001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597410560001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:34:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:34:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597410560001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":160724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:34:22] local.INFO: GPS data processed {"connection_id":160724,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:34:22] local.INFO: Acknowledgment sent {"connection_id":160724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:34:34] local.INFO: TCP Data received {"connection_id":160725,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:34:34] local.INFO: Processing buffer {"connection_id":160725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:34:34] local.INFO: IMEI packet received {"connection_id":160725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":160725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:34:39] local.INFO: TCP Data received {"connection_id":160725,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:34:39] local.INFO: Processing buffer {"connection_id":160725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:34:39] local.INFO: IMEI packet received {"connection_id":160725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":160725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:34:40] local.INFO: TCP Data received {"connection_id":160725,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb7fd48012d882e4005cf6dc80007008b2d..."} 
[2026-08-23 18:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb7fd48012d882e4005cf6dc80007008b2d..."} 
[2026-08-23 18:34:40] local.INFO: Processing buffer {"connection_id":160725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb7fd48012d882e4005cf6dc80007008b2d..."} 
[2026-08-23 18:34:40] local.INFO: Packet analysis {"connection_id":160725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:34:40] local.INFO: Extracted packet for processing {"connection_id":160725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:34:40] local.INFO: GPS Element Parsed {"raw_longitude":763899456,"raw_latitude":97480136,"longitude_deg":76.3899456,"latitude_deg":9.7480136,"altitude":7,"angle":139,"satellites":45,"speed":0,"hex_longitude":"2d882e40","hex_latitude":"05cf6dc8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 18:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597487104001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8633893041923569664,"note":"Value kept but may cause issues"} 
[2026-08-23 18:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787490205000,"timestamp_ms":1787490205000,"timestamp_seconds":1787490205,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb7fd48"} 
[2026-08-23 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-08-23 18:34: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-08-23 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":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-23 18:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 18:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597487104001,"66":11515,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8633893041923569664},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597487104001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:34:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8633893041923569664,"description":"Unknown IO ID 45"} 
[2026-08-23 18:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597487104001,"power":11515,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8633893041923569664}} 
[2026-08-23 18:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":160725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688272,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:34:40] local.INFO: GPS data processed {"connection_id":160725,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:34:40] local.INFO: Acknowledgment sent {"connection_id":160725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:34:45] local.INFO: TCP Data received {"connection_id":160968,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:34:45] local.INFO: Processing buffer {"connection_id":160968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:34:45] local.INFO: IMEI packet received {"connection_id":160968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":160968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:34:50] local.INFO: TCP Data received {"connection_id":160968,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:34:50] local.INFO: Processing buffer {"connection_id":160968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:34:50] local.INFO: IMEI packet received {"connection_id":160968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":160968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:34:51] local.INFO: TCP Data received {"connection_id":160968,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:34:51] local.INFO: Processing buffer {"connection_id":160968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:34:51] local.INFO: Packet analysis {"connection_id":160968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:34:51] local.INFO: Extracted packet for processing {"connection_id":160968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:34:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597410560001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787490186000,"timestamp_ms":1787490186000,"timestamp_seconds":1787490186,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb7b310"} 
[2026-08-23 18:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 18:34:51] 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-08-23 18:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597410560001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597410560001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:34:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:34:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597410560001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":160968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:34:51] local.INFO: GPS data processed {"connection_id":160968,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:34:51] local.INFO: Acknowledgment sent {"connection_id":160968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:35:11] local.INFO: TCP Data received {"connection_id":160725,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb80ce8012d882e4005cf6dc80007008b2d..."} 
[2026-08-23 18:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb80ce8012d882e4005cf6dc80007008b2d..."} 
[2026-08-23 18:35:11] local.INFO: Processing buffer {"connection_id":160725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb80ce8012d882e4005cf6dc80007008b2d..."} 
[2026-08-23 18:35:11] local.INFO: Packet analysis {"connection_id":160725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb8"} 
[2026-08-23 18:35:11] local.INFO: Extracted packet for processing {"connection_id":160725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb8"} 
[2026-08-23 18:35:11] local.INFO: GPS Element Parsed {"raw_longitude":763899456,"raw_latitude":97480136,"longitude_deg":76.3899456,"latitude_deg":9.7480136,"altitude":7,"angle":139,"satellites":45,"speed":0,"hex_longitude":"2d882e40","hex_latitude":"05cf6dc8","is_valid_coordinates":true} 
[2026-08-23 18:35: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-08-23 18:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597492480001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8633893041923569664,"note":"Value kept but may cause issues"} 
[2026-08-23 18:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787490209000,"timestamp_ms":1787490209000,"timestamp_seconds":1787490209,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb80ce8"} 
[2026-08-23 18:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:35: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-08-23 18: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":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-08-23 18:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597492480001,"66":11569,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8633893041923569664},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597492480001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:35:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:35:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8633893041923569664,"description":"Unknown IO ID 45"} 
[2026-08-23 18:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597492480001,"power":11569,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8633893041923569664}} 
[2026-08-23 18:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":160725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:35:11] local.INFO: GPS data processed {"connection_id":160725,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:35:11] local.INFO: Acknowledgment sent {"connection_id":160725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:35:23] local.INFO: TCP Data received {"connection_id":160968,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:35:23] local.INFO: Processing buffer {"connection_id":160968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:35:23] local.INFO: Packet analysis {"connection_id":160968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:35:23] local.INFO: Extracted packet for processing {"connection_id":160968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:35:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597410560001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787490186000,"timestamp_ms":1787490186000,"timestamp_seconds":1787490186,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb7b310"} 
[2026-08-23 18:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 18:35:23] 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-08-23 18:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:35: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-08-23 18:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597410560001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597410560001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:35:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:35:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597410560001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":160968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:35:23] local.INFO: GPS data processed {"connection_id":160968,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:35:23] local.INFO: Acknowledgment sent {"connection_id":160968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:35:34] local.INFO: TCP Data received {"connection_id":161920,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:35:34] local.INFO: Processing buffer {"connection_id":161920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:35:34] local.INFO: IMEI packet received {"connection_id":161920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":161920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:35:39] local.INFO: TCP Data received {"connection_id":161920,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:35:39] local.INFO: Processing buffer {"connection_id":161920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:35:39] local.INFO: IMEI packet received {"connection_id":161920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":161920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:35:40] local.INFO: TCP Data received {"connection_id":161920,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb80ce8012d882e4005cf6dc80007008b2d..."} 
[2026-08-23 18:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb80ce8012d882e4005cf6dc80007008b2d..."} 
[2026-08-23 18:35:40] local.INFO: Processing buffer {"connection_id":161920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb80ce8012d882e4005cf6dc80007008b2d..."} 
[2026-08-23 18:35:40] local.INFO: Packet analysis {"connection_id":161920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb8"} 
[2026-08-23 18:35:40] local.INFO: Extracted packet for processing {"connection_id":161920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb8"} 
[2026-08-23 18:35:40] local.INFO: GPS Element Parsed {"raw_longitude":763899456,"raw_latitude":97480136,"longitude_deg":76.3899456,"latitude_deg":9.7480136,"altitude":7,"angle":139,"satellites":45,"speed":0,"hex_longitude":"2d882e40","hex_latitude":"05cf6dc8","is_valid_coordinates":true} 
[2026-08-23 18:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597493504001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8633893041923569664,"note":"Value kept but may cause issues"} 
[2026-08-23 18:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787490209000,"timestamp_ms":1787490209000,"timestamp_seconds":1787490209,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb80ce8"} 
[2026-08-23 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-08-23 18: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-08-23 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":45,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-08-23 18:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":864,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 18:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597493504001,"66":11569,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8633893041923569664},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597493504001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:35:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8633893041923569664,"description":"Unknown IO ID 45"} 
[2026-08-23 18:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597493504001,"power":11569,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8633893041923569664}} 
[2026-08-23 18:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":161920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:35:40] local.INFO: GPS data processed {"connection_id":161920,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:35:40] local.INFO: Acknowledgment sent {"connection_id":161920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:35:45] local.INFO: TCP Data received {"connection_id":161921,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:35:45] local.INFO: Processing buffer {"connection_id":161921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:35:45] local.INFO: IMEI packet received {"connection_id":161921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":161921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:35:50] local.INFO: TCP Data received {"connection_id":161921,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:35:50] local.INFO: Processing buffer {"connection_id":161921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:35:50] local.INFO: IMEI packet received {"connection_id":161921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":161921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:35:51] local.INFO: TCP Data received {"connection_id":161921,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:35:51] local.INFO: Processing buffer {"connection_id":161921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:35:51] local.INFO: Packet analysis {"connection_id":161921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:35:51] local.INFO: Extracted packet for processing {"connection_id":161921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:35:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597410560001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787490186000,"timestamp_ms":1787490186000,"timestamp_seconds":1787490186,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb7b310"} 
[2026-08-23 18:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 18:35:51] 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-08-23 18:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597410560001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597410560001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:35:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:35:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597410560001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":161921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:35:51] local.INFO: GPS data processed {"connection_id":161921,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:35:51] local.INFO: Acknowledgment sent {"connection_id":161921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:36:11] local.INFO: TCP Data received {"connection_id":161920,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb97448012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb97448012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:36:11] local.INFO: Processing buffer {"connection_id":161920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb97448012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:36:11] local.INFO: Packet analysis {"connection_id":161920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb9"} 
[2026-08-23 18:36:11] local.INFO: Extracted packet for processing {"connection_id":161920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb9"} 
[2026-08-23 18:36:11] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597493504001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8633893041923569664,"note":"Value kept but may cause issues"} 
[2026-08-23 18:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787490301000,"timestamp_ms":1787490301000,"timestamp_seconds":1787490301,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb97448"} 
[2026-08-23 18:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-08-23 18:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":864,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597493504001,"66":12461,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8633893041923569664},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597493504001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:36:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8633893041923569664,"description":"Unknown IO ID 45"} 
[2026-08-23 18:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597493504001,"power":12461,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8633893041923569664}} 
[2026-08-23 18:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":161920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:36:11] local.INFO: GPS data processed {"connection_id":161920,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:36:11] local.INFO: Acknowledgment sent {"connection_id":161920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:36:23] local.INFO: TCP Data received {"connection_id":161921,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:36:23] local.INFO: Processing buffer {"connection_id":161921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:36:23] local.INFO: Packet analysis {"connection_id":161921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:36:23] local.INFO: Extracted packet for processing {"connection_id":161921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:36:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597410560001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787490186000,"timestamp_ms":1787490186000,"timestamp_seconds":1787490186,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb7b310"} 
[2026-08-23 18:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 18:36:23] 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-08-23 18:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:36: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-08-23 18:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597410560001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597410560001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:36:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:36:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597410560001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":161921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:36:23] local.INFO: GPS data processed {"connection_id":161921,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:36:23] local.INFO: Acknowledgment sent {"connection_id":161921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:36:34] local.INFO: TCP Data received {"connection_id":160969,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:36:34] local.INFO: Processing buffer {"connection_id":160969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:36:34] local.INFO: IMEI packet received {"connection_id":160969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":160969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:36:39] local.INFO: TCP Data received {"connection_id":160969,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:36:39] local.INFO: Processing buffer {"connection_id":160969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:36:39] local.INFO: IMEI packet received {"connection_id":160969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":160969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:36:40] local.INFO: TCP Data received {"connection_id":160969,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb97448012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb97448012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:36:40] local.INFO: Processing buffer {"connection_id":160969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb97448012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:36:40] local.INFO: Packet analysis {"connection_id":160969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb9"} 
[2026-08-23 18:36:40] local.INFO: Extracted packet for processing {"connection_id":160969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb9"} 
[2026-08-23 18:36:40] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:36:40] 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-08-23 18:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597517056001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787490301000,"timestamp_ms":1787490301000,"timestamp_seconds":1787490301,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb97448"} 
[2026-08-23 18:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:36: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-08-23 18:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 18:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597517056001,"66":12461,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597517056001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:36:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597517056001,"power":12461,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":160969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:36:40] local.INFO: GPS data processed {"connection_id":160969,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:36:40] local.INFO: Acknowledgment sent {"connection_id":160969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:36:50] local.INFO: TCP Data received {"connection_id":161922,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:36:50] local.INFO: Processing buffer {"connection_id":161922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:36:50] local.INFO: IMEI packet received {"connection_id":161922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":161922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:36:55] local.INFO: TCP Data received {"connection_id":161922,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:36:55] local.INFO: Processing buffer {"connection_id":161922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:36:55] local.INFO: IMEI packet received {"connection_id":161922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":161922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:36:57] local.INFO: TCP Data received {"connection_id":161922,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:36:57] local.INFO: Processing buffer {"connection_id":161922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:36:57] local.INFO: Packet analysis {"connection_id":161922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:36:57] local.INFO: Extracted packet for processing {"connection_id":161922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:36:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597410560001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787490186000,"timestamp_ms":1787490186000,"timestamp_seconds":1787490186,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb7b310"} 
[2026-08-23 18:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 18:36:57] 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-08-23 18:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597410560001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597410560001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:36:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:36:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597410560001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":161922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:36:57] local.INFO: GPS data processed {"connection_id":161922,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:36:57] local.INFO: Acknowledgment sent {"connection_id":161922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:37:01] local.INFO: TCP Data received {"connection_id":161922,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:37:01] local.INFO: Processing buffer {"connection_id":161922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:37:01] local.INFO: Packet analysis {"connection_id":161922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:37:01] local.INFO: Extracted packet for processing {"connection_id":161922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:37:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597410560001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787490186000,"timestamp_ms":1787490186000,"timestamp_seconds":1787490186,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb7b310"} 
[2026-08-23 18:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 18:37:01] 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-08-23 18:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597410560001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597410560001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:37:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:37:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597410560001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":161922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:37:01] local.INFO: GPS data processed {"connection_id":161922,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:37:01] local.INFO: Acknowledgment sent {"connection_id":161922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:37:11] local.INFO: TCP Data received {"connection_id":160969,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb97448012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb97448012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:37:11] local.INFO: Processing buffer {"connection_id":160969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb97448012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:37:11] local.INFO: Packet analysis {"connection_id":160969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb9"} 
[2026-08-23 18:37:11] local.INFO: Extracted packet for processing {"connection_id":160969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb9"} 
[2026-08-23 18:37:11] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:37:11] 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-08-23 18:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597517056001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787490301000,"timestamp_ms":1787490301000,"timestamp_seconds":1787490301,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb97448"} 
[2026-08-23 18:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:37: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-08-23 18:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 18:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597517056001,"66":12461,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597517056001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:37:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597517056001,"power":12461,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":160969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:37:11] local.INFO: GPS data processed {"connection_id":160969,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:37:11] local.INFO: Acknowledgment sent {"connection_id":160969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:37:34] local.INFO: TCP Data received {"connection_id":161924,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:37:34] local.INFO: Processing buffer {"connection_id":161924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:37:34] local.INFO: IMEI packet received {"connection_id":161924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":161924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:37:39] local.INFO: TCP Data received {"connection_id":161924,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:37:39] local.INFO: Processing buffer {"connection_id":161924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:37:39] local.INFO: IMEI packet received {"connection_id":161924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":161924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:37:40] local.INFO: TCP Data received {"connection_id":161924,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb97448012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb97448012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:37:40] local.INFO: Processing buffer {"connection_id":161924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb97448012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:37:40] local.INFO: Packet analysis {"connection_id":161924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb9"} 
[2026-08-23 18:37:40] local.INFO: Extracted packet for processing {"connection_id":161924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb9"} 
[2026-08-23 18:37:40] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:37:40] 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-08-23 18:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597517056001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787490301000,"timestamp_ms":1787490301000,"timestamp_seconds":1787490301,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb97448"} 
[2026-08-23 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-08-23 18:37: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-08-23 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 18:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 18:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597517056001,"66":12461,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597517056001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:37:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:37:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597517056001,"power":12461,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":161924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:37:40] local.INFO: GPS data processed {"connection_id":161924,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:37:40] local.INFO: Acknowledgment sent {"connection_id":161924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:37:45] local.INFO: TCP Data received {"connection_id":163320,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:37:45] local.INFO: Processing buffer {"connection_id":163320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:37:45] local.INFO: IMEI packet received {"connection_id":163320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":163320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:37:50] local.INFO: TCP Data received {"connection_id":163320,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:37:50] local.INFO: Processing buffer {"connection_id":163320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:37:50] local.INFO: IMEI packet received {"connection_id":163320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":163320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:37:52] local.INFO: TCP Data received {"connection_id":163320,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:37:52] local.INFO: Processing buffer {"connection_id":163320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb7b310012d34c58006aa4060000701141e..."} 
[2026-08-23 18:37:52] local.INFO: Packet analysis {"connection_id":163320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:37:52] local.INFO: Extracted packet for processing {"connection_id":163320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb7"} 
[2026-08-23 18:37:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":30,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597410560001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787490186000,"timestamp_ms":1787490186000,"timestamp_seconds":1787490186,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb7b310"} 
[2026-08-23 18:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-23 18:37:52] 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-08-23 18:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:37:52] 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-08-23 18:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597410560001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597410560001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:37:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:37:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597410560001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":163320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:37:52] local.INFO: GPS data processed {"connection_id":163320,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:37:52] local.INFO: Acknowledgment sent {"connection_id":163320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:38:11] local.INFO: TCP Data received {"connection_id":161924,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02eb97448012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eb97448012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:38:11] local.INFO: Processing buffer {"connection_id":161924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eb97448012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:38:11] local.INFO: Packet analysis {"connection_id":161924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eb9"} 
[2026-08-23 18:38:11] local.INFO: Extracted packet for processing {"connection_id":161924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eb9"} 
[2026-08-23 18:38:11] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:38:11] 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-08-23 18:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597517056001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787490301000,"timestamp_ms":1787490301000,"timestamp_seconds":1787490301,"priority":1,"record_length":96,"hex_timestamp":"000001a02eb97448"} 
[2026-08-23 18:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:38: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-08-23 18:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 18:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597517056001,"66":12461,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597517056001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:38:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597517056001,"power":12461,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":161924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:38:11] local.INFO: GPS data processed {"connection_id":161924,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:38:11] local.INFO: Acknowledgment sent {"connection_id":161924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:38:33] local.INFO: TCP Data received {"connection_id":160727,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:38:33] local.INFO: Processing buffer {"connection_id":160727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:38:33] local.INFO: IMEI packet received {"connection_id":160727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":160727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:38:34] local.INFO: TCP Data received {"connection_id":161925,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:38:34] local.INFO: Processing buffer {"connection_id":161925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:38:34] local.INFO: IMEI packet received {"connection_id":161925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":161925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:38:34] local.INFO: TCP Data received {"connection_id":160727,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebbcdd8012d1b52000724bb700032002127..."} 
[2026-08-23 18:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebbcdd8012d1b52000724bb700032002127..."} 
[2026-08-23 18:38:34] local.INFO: Processing buffer {"connection_id":160727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebbcdd8012d1b52000724bb700032002127..."} 
[2026-08-23 18:38:34] local.INFO: Packet analysis {"connection_id":160727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebb"} 
[2026-08-23 18:38:34] local.INFO: Extracted packet for processing {"connection_id":160727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebb"} 
[2026-08-23 18:38:34] local.INFO: GPS Element Parsed {"raw_longitude":756765184,"raw_latitude":119847792,"longitude_deg":75.6765184,"latitude_deg":11.9847792,"altitude":50,"angle":33,"satellites":39,"speed":27,"hex_longitude":"2d1b5200","hex_latitude":"0724bb70","is_valid_coordinates":true} 
[2026-08-23 18:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597555456001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15712021160919040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966736061702068224,"note":"Value kept but may cause issues"} 
[2026-08-23 18:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787490455000,"timestamp_ms":1787490455000,"timestamp_seconds":1787490455,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebbcdd8"} 
[2026-08-23 18:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:38:34] 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-08-23 18:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 18:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597555456001,"66":13928,"44":206,"83":41984,"24":27,"16":15712021160919040,"45":1966736061702068224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-23 18:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597555456001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:38:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-23 18:38:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15712021160919040,"km_value":15712021160919.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966736061702068224,"description":"Unknown IO ID 45"} 
[2026-08-23 18:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597555456001,"power":13928,"unknown_44":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1966736061702068224}} 
[2026-08-23 18:38:34] local.INFO: TCP Data received {"connection_id":161925,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:38:34] local.INFO: Processing buffer {"connection_id":161925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:38:34] local.INFO: IMEI packet received {"connection_id":161925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":161925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":160727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:38:34] local.INFO: GPS data processed {"connection_id":160727,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:38:34] local.INFO: Acknowledgment sent {"connection_id":160727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:38:39] local.INFO: TCP Data received {"connection_id":161925,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:38:39] local.INFO: Processing buffer {"connection_id":161925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:38:39] local.INFO: IMEI packet received {"connection_id":161925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":161925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:38:40] local.INFO: TCP Data received {"connection_id":161925,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:38:40] local.INFO: Processing buffer {"connection_id":161925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:38:40] local.INFO: Packet analysis {"connection_id":161925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:38:40] local.INFO: Extracted packet for processing {"connection_id":161925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:38:40] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597517056001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787490513000,"timestamp_ms":1787490513000,"timestamp_seconds":1787490513,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebcb068"} 
[2026-08-23 18:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:38: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-08-23 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 18:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597517056001,"66":2209,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597517056001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:38:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:38:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597517056001,"power":2209,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":161925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:38:40] local.INFO: GPS data processed {"connection_id":161925,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:38:40] local.INFO: Acknowledgment sent {"connection_id":161925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:38:40] local.INFO: TCP Data received {"connection_id":163321,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:38:40] local.INFO: Processing buffer {"connection_id":163321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:38:40] local.INFO: IMEI packet received {"connection_id":163321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":163321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:38:45] local.INFO: TCP Data received {"connection_id":163321,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:38:45] local.INFO: Processing buffer {"connection_id":163321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:38:45] local.INFO: IMEI packet received {"connection_id":163321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":163321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:38:46] local.INFO: TCP Data received {"connection_id":163321,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:38:46] local.INFO: Processing buffer {"connection_id":163321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:38:46] local.INFO: Packet analysis {"connection_id":163321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:38:46] local.INFO: Extracted packet for processing {"connection_id":163321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:38:46] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597487616001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787490487000,"timestamp_ms":1787490487000,"timestamp_seconds":1787490487,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebc4ad8"} 
[2026-08-23 18:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:38: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-08-23 18:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 18:38: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-08-23 18:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597487616001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597487616001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:38:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:38:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597487616001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":163321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:38:46] local.INFO: GPS data processed {"connection_id":163321,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:38:46] local.INFO: Acknowledgment sent {"connection_id":163321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:39:05] local.INFO: TCP Data received {"connection_id":160727,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebbd990012d1b56000724c2f80031001426..."} 
[2026-08-23 18:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebbd990012d1b56000724c2f80031001426..."} 
[2026-08-23 18:39:05] local.INFO: Processing buffer {"connection_id":160727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebbd990012d1b56000724c2f80031001426..."} 
[2026-08-23 18:39:05] local.INFO: Packet analysis {"connection_id":160727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebb"} 
[2026-08-23 18:39:05] local.INFO: Extracted packet for processing {"connection_id":160727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebb"} 
[2026-08-23 18:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756766208,"raw_latitude":119849720,"longitude_deg":75.6766208,"latitude_deg":11.984972,"altitude":49,"angle":20,"satellites":38,"speed":28,"hex_longitude":"2d1b5600","hex_latitude":"0724c2f8","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597556480001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15712124240134144,"note":"Value kept but may cause issues"} 
[2026-08-23 18:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968636017795362816,"note":"Value kept but may cause issues"} 
[2026-08-23 18:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787490458000,"timestamp_ms":1787490458000,"timestamp_seconds":1787490458,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebbd990"} 
[2026-08-23 18:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 18:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597556480001,"66":13820,"44":206,"83":41984,"24":28,"16":15712124240134144,"45":1968636017795362816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-23 18:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597556480001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:39:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-23 18:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15712124240134144,"km_value":15712124240134.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968636017795362816,"description":"Unknown IO ID 45"} 
[2026-08-23 18:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597556480001,"power":13820,"unknown_44":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1968636017795362816}} 
[2026-08-23 18:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":160727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:39:06] local.INFO: GPS data processed {"connection_id":160727,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:39:06] local.INFO: Acknowledgment sent {"connection_id":160727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:39:11] local.INFO: TCP Data received {"connection_id":161925,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:39:11] local.INFO: Processing buffer {"connection_id":161925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:39:11] local.INFO: Packet analysis {"connection_id":161925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:39:11] local.INFO: Extracted packet for processing {"connection_id":161925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:39:11] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597517056001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787490513000,"timestamp_ms":1787490513000,"timestamp_seconds":1787490513,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebcb068"} 
[2026-08-23 18:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:39: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-08-23 18:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 18:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597517056001,"66":2209,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597517056001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:39:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597517056001,"power":2209,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":161925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:39:11] local.INFO: GPS data processed {"connection_id":161925,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:39:11] local.INFO: Acknowledgment sent {"connection_id":161925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:39:18] local.INFO: TCP Data received {"connection_id":163321,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:39:18] local.INFO: Processing buffer {"connection_id":163321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:39:18] local.INFO: Packet analysis {"connection_id":163321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:39:18] local.INFO: Extracted packet for processing {"connection_id":163321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:39:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597487616001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787490487000,"timestamp_ms":1787490487000,"timestamp_seconds":1787490487,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebc4ad8"} 
[2026-08-23 18:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:39: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-08-23 18:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 18:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:39: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-08-23 18:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597487616001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597487616001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:39:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:39:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597487616001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":163321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:39:18] local.INFO: GPS data processed {"connection_id":163321,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:39:18] local.INFO: Acknowledgment sent {"connection_id":163321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:39:33] local.INFO: TCP Data received {"connection_id":160728,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:39:33] local.INFO: Processing buffer {"connection_id":160728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:39:33] local.INFO: IMEI packet received {"connection_id":160728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":160728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:39:34] local.INFO: TCP Data received {"connection_id":160728,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:39:34] local.INFO: Processing buffer {"connection_id":160728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:39:34] local.INFO: IMEI packet received {"connection_id":160728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":160728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:39:34] local.INFO: TCP Data received {"connection_id":160970,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:39:34] local.INFO: Processing buffer {"connection_id":160970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:39:34] local.INFO: IMEI packet received {"connection_id":160970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":160970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:39:39] local.INFO: TCP Data received {"connection_id":160970,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:39:39] local.INFO: Processing buffer {"connection_id":160970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:39:39] local.INFO: IMEI packet received {"connection_id":160970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":160970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:39:40] local.INFO: TCP Data received {"connection_id":160970,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:39:40] local.INFO: Processing buffer {"connection_id":160970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:39:40] local.INFO: Packet analysis {"connection_id":160970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:39:40] local.INFO: Extracted packet for processing {"connection_id":160970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:39:40] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597517056001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787490513000,"timestamp_ms":1787490513000,"timestamp_seconds":1787490513,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebcb068"} 
[2026-08-23 18:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:39: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-08-23 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 18:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597517056001,"66":2209,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597517056001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:39:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597517056001,"power":2209,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":160970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:39:40] local.INFO: GPS data processed {"connection_id":160970,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:39:40] local.INFO: Acknowledgment sent {"connection_id":160970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:39:45] local.INFO: TCP Data received {"connection_id":161926,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:39:45] local.INFO: Processing buffer {"connection_id":161926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:39:45] local.INFO: IMEI packet received {"connection_id":161926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":161926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:39:48] local.INFO: TCP Data received {"connection_id":160728,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:39:48] local.INFO: Processing buffer {"connection_id":160728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:39:48] local.INFO: IMEI packet received {"connection_id":160728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":160728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:39:49] local.INFO: TCP Data received {"connection_id":160728,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebbe548012d1b57800724cb400030000624..."} 
[2026-08-23 18:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebbe548012d1b57800724cb400030000624..."} 
[2026-08-23 18:39:49] local.INFO: Processing buffer {"connection_id":160728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebbe548012d1b57800724cb400030000624..."} 
[2026-08-23 18:39:49] local.INFO: Packet analysis {"connection_id":160728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebb"} 
[2026-08-23 18:39:49] local.INFO: Extracted packet for processing {"connection_id":160728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebb"} 
[2026-08-23 18:39:49] local.INFO: GPS Element Parsed {"raw_longitude":756766592,"raw_latitude":119851840,"longitude_deg":75.6766592,"latitude_deg":11.985184,"altitude":48,"angle":6,"satellites":36,"speed":28,"hex_longitude":"2d1b5780","hex_latitude":"0724cb40","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597557248001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15712231614316544,"note":"Value kept but may cause issues"} 
[2026-08-23 18:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969761917702699008,"note":"Value kept but may cause issues"} 
[2026-08-23 18:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787490461000,"timestamp_ms":1787490461000,"timestamp_seconds":1787490461,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebbe548"} 
[2026-08-23 18:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:39: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-08-23 18: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-23 18:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":160728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":160728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":160728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597557248001,"66":13820,"44":206,"83":41984,"24":28,"16":15712231614316544,"45":1969761917702699008},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-23 18:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597557248001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:39:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-23 18:39:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15712231614316544,"km_value":15712231614316.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969761917702699008,"description":"Unknown IO ID 45"} 
[2026-08-23 18:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597557248001,"power":13820,"unknown_44":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1969761917702699008}} 
[2026-08-23 18:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":160728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:39:50] local.INFO: GPS data processed {"connection_id":160728,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:39:50] local.INFO: Acknowledgment sent {"connection_id":160728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:39:51] local.INFO: TCP Data received {"connection_id":161926,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:39:51] local.INFO: Processing buffer {"connection_id":161926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:39:51] local.INFO: IMEI packet received {"connection_id":161926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":161926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:39:51] local.INFO: TCP Data received {"connection_id":160728,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebc0488012d1b58c00724e220002b016425..."} 
[2026-08-23 18:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebc0488012d1b58c00724e220002b016425..."} 
[2026-08-23 18:39:51] local.INFO: Processing buffer {"connection_id":160728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebc0488012d1b58c00724e220002b016425..."} 
[2026-08-23 18:39:51] local.INFO: Packet analysis {"connection_id":160728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:39:51] local.INFO: Extracted packet for processing {"connection_id":160728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:39:51] local.INFO: GPS Element Parsed {"raw_longitude":756766912,"raw_latitude":119857696,"longitude_deg":75.6766912,"latitude_deg":11.9857696,"altitude":43,"angle":356,"satellites":37,"speed":29,"hex_longitude":"2d1b58c0","hex_latitude":"0724e220","is_valid_coordinates":true} 
[2026-08-23 18:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597558016001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15712515082158080,"note":"Value kept but may cause issues"} 
[2026-08-23 18:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970184130168307712,"note":"Value kept but may cause issues"} 
[2026-08-23 18:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787490469000,"timestamp_ms":1787490469000,"timestamp_seconds":1787490469,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebc0488"} 
[2026-08-23 18:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-23 18:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597558016001,"66":13852,"44":206,"83":41984,"24":29,"16":15712515082158080,"45":1970184130168307712},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-23 18:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597558016001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:39:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-23 18:39:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15712515082158080,"km_value":15712515082158.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970184130168307712,"description":"Unknown IO ID 45"} 
[2026-08-23 18:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597558016001,"power":13852,"unknown_44":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1970184130168307712}} 
[2026-08-23 18:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":160728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:39:51] local.INFO: GPS data processed {"connection_id":160728,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:39:51] local.INFO: Acknowledgment sent {"connection_id":160728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:39:52] local.INFO: TCP Data received {"connection_id":161926,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:39:52] local.INFO: Processing buffer {"connection_id":161926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:39:52] local.INFO: Packet analysis {"connection_id":161926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:39:52] local.INFO: Extracted packet for processing {"connection_id":161926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597487616001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787490487000,"timestamp_ms":1787490487000,"timestamp_seconds":1787490487,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebc4ad8"} 
[2026-08-23 18:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 18:39:52] 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-08-23 18: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-08-23 18:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597487616001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597487616001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:39:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:39:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597487616001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":161926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:39:52] local.INFO: GPS data processed {"connection_id":161926,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:39:52] local.INFO: Acknowledgment sent {"connection_id":161926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:40:11] local.INFO: TCP Data received {"connection_id":160970,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:40:11] local.INFO: Processing buffer {"connection_id":160970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:40:11] local.INFO: Packet analysis {"connection_id":160970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:40:11] local.INFO: Extracted packet for processing {"connection_id":160970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:40:11] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597517056001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787490513000,"timestamp_ms":1787490513000,"timestamp_seconds":1787490513,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebcb068"} 
[2026-08-23 18:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:40: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-08-23 18:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 18:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160970,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597517056001,"66":2209,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597517056001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:40:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597517056001,"power":2209,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":160970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:40:11] local.INFO: GPS data processed {"connection_id":160970,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:40:11] local.INFO: Acknowledgment sent {"connection_id":160970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:40:23] local.INFO: TCP Data received {"connection_id":161926,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:40:23] local.INFO: Processing buffer {"connection_id":161926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:40:23] local.INFO: Packet analysis {"connection_id":161926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:40:23] local.INFO: Extracted packet for processing {"connection_id":161926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:40:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597487616001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787490487000,"timestamp_ms":1787490487000,"timestamp_seconds":1787490487,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebc4ad8"} 
[2026-08-23 18:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:40: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-08-23 18:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 18:40:23] 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-08-23 18:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597487616001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597487616001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:40:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:40:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597487616001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":161926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:40:23] local.INFO: GPS data processed {"connection_id":161926,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:40:23] local.INFO: Acknowledgment sent {"connection_id":161926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:40:28] local.INFO: TCP Data received {"connection_id":160971,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:40:28] local.INFO: Processing buffer {"connection_id":160971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:40:28] local.INFO: IMEI packet received {"connection_id":160971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":160971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:40:28] local.INFO: TCP Data received {"connection_id":160971,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:40:28] local.INFO: Processing buffer {"connection_id":160971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:40:28] local.INFO: IMEI packet received {"connection_id":160971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":160971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:40:32] local.INFO: TCP Data received {"connection_id":160971,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:40:32] local.INFO: Processing buffer {"connection_id":160971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:40:32] local.INFO: IMEI packet received {"connection_id":160971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":160971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:40:33] local.INFO: TCP Data received {"connection_id":160971,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebc3368012d1b54800724f9f80028015725..."} 
[2026-08-23 18:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebc3368012d1b54800724f9f80028015725..."} 
[2026-08-23 18:40:33] local.INFO: Processing buffer {"connection_id":160971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebc3368012d1b54800724f9f80028015725..."} 
[2026-08-23 18:40:33] local.INFO: Packet analysis {"connection_id":160971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:40:33] local.INFO: Extracted packet for processing {"connection_id":160971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756765824,"raw_latitude":119863800,"longitude_deg":75.6765824,"latitude_deg":11.98638,"altitude":40,"angle":343,"satellites":37,"speed":10,"hex_longitude":"2d1b5480","hex_latitude":"0724f9f8","is_valid_coordinates":true} 
[2026-08-23 18:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597560064001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15712815729868800,"note":"Value kept but may cause issues"} 
[2026-08-23 18:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970535973890695168,"note":"Value kept but may cause issues"} 
[2026-08-23 18:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787490481000,"timestamp_ms":1787490481000,"timestamp_seconds":1787490481,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebc3368"} 
[2026-08-23 18:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-23 18:40:33] 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-08-23 18:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597560064001,"66":13972,"44":206,"83":41984,"24":10,"16":15712815729868800,"45":1970535973890695168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-23 18:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597560064001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:40:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-23 18:40:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15712815729868800,"km_value":15712815729868.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970535973890695168,"description":"Unknown IO ID 45"} 
[2026-08-23 18:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597560064001,"power":13972,"unknown_44":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1970535973890695168}} 
[2026-08-23 18:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":160971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:40:33] local.INFO: GPS data processed {"connection_id":160971,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:40:33] local.INFO: Acknowledgment sent {"connection_id":160971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:40:34] local.INFO: TCP Data received {"connection_id":160972,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:40:34] local.INFO: Processing buffer {"connection_id":160972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:40:34] local.INFO: IMEI packet received {"connection_id":160972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":160972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:40:39] local.INFO: TCP Data received {"connection_id":160972,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:40:39] local.INFO: Processing buffer {"connection_id":160972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:40:39] local.INFO: IMEI packet received {"connection_id":160972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":160972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:40:40] local.INFO: TCP Data received {"connection_id":160972,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:40:40] local.INFO: Processing buffer {"connection_id":160972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:40:40] local.INFO: Packet analysis {"connection_id":160972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:40:40] local.INFO: Extracted packet for processing {"connection_id":160972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:40:40] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597517056001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787490513000,"timestamp_ms":1787490513000,"timestamp_seconds":1787490513,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebcb068"} 
[2026-08-23 18:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:40: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-08-23 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 18:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597517056001,"66":2209,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597517056001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:40:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597517056001,"power":2209,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":160972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:40:40] local.INFO: GPS data processed {"connection_id":160972,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:40:40] local.INFO: Acknowledgment sent {"connection_id":160972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:40:45] local.INFO: TCP Data received {"connection_id":161927,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:40:45] local.INFO: Processing buffer {"connection_id":161927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:40:45] local.INFO: IMEI packet received {"connection_id":161927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":161927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:40:51] local.INFO: TCP Data received {"connection_id":161927,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:40:51] local.INFO: Processing buffer {"connection_id":161927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:40:51] local.INFO: IMEI packet received {"connection_id":161927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":161927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:40:53] local.INFO: TCP Data received {"connection_id":161927,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:40:53] local.INFO: Processing buffer {"connection_id":161927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:40:53] local.INFO: Packet analysis {"connection_id":161927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:40:53] local.INFO: Extracted packet for processing {"connection_id":161927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:40:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597487616001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787490487000,"timestamp_ms":1787490487000,"timestamp_seconds":1787490487,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebc4ad8"} 
[2026-08-23 18:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:40: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-08-23 18:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 18:40:53] 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-08-23 18:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:40:53] 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-08-23 18:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597487616001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597487616001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:40:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:40:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597487616001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":161927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:40:53] local.INFO: GPS data processed {"connection_id":161927,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:40:53] local.INFO: Acknowledgment sent {"connection_id":161927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:41:04] local.INFO: TCP Data received {"connection_id":160971,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebc8570012d1b54400724fba80027015f1e..."} 
[2026-08-23 18:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebc8570012d1b54400724fba80027015f1e..."} 
[2026-08-23 18:41:04] local.INFO: Processing buffer {"connection_id":160971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebc8570012d1b54400724fba80027015f1e..."} 
[2026-08-23 18:41:04] local.INFO: Packet analysis {"connection_id":160971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:41:04] local.INFO: Extracted packet for processing {"connection_id":160971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756765760,"raw_latitude":119864232,"longitude_deg":75.676576,"latitude_deg":11.9864232,"altitude":39,"angle":351,"satellites":30,"speed":0,"hex_longitude":"2d1b5440","hex_latitude":"0724fba8","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597563136001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15712845794639872,"note":"Value kept but may cause issues"} 
[2026-08-23 18:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969339705241237504,"note":"Value kept but may cause issues"} 
[2026-08-23 18:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787490502000,"timestamp_ms":1787490502000,"timestamp_seconds":1787490502,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebc8570"} 
[2026-08-23 18:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-23 18:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597563136001,"66":14396,"44":206,"83":41984,"24":0,"16":15712845794639872,"45":1969339705241237504},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16,45]} 
[2026-08-23 18:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597563136001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:41:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-23 18:41:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15712845794639872,"km_value":15712845794639.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969339705241237504,"description":"Unknown IO ID 45"} 
[2026-08-23 18:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597563136001,"power":14396,"unknown_44":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1969339705241237504}} 
[2026-08-23 18:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":160971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:41:04] local.INFO: GPS data processed {"connection_id":160971,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:41:04] local.INFO: Acknowledgment sent {"connection_id":160971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:41:11] local.INFO: TCP Data received {"connection_id":160972,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:41:11] local.INFO: Processing buffer {"connection_id":160972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:41:11] local.INFO: Packet analysis {"connection_id":160972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:41:11] local.INFO: Extracted packet for processing {"connection_id":160972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:41:11] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597517056001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787490513000,"timestamp_ms":1787490513000,"timestamp_seconds":1787490513,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebcb068"} 
[2026-08-23 18:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:41: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-08-23 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 18:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597517056001,"66":2209,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597517056001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:41:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597517056001,"power":2209,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":160972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:41:11] local.INFO: GPS data processed {"connection_id":160972,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:41:11] local.INFO: Acknowledgment sent {"connection_id":160972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:41:24] local.INFO: TCP Data received {"connection_id":161927,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:41:24] local.INFO: Processing buffer {"connection_id":161927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:41:24] local.INFO: Packet analysis {"connection_id":161927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:41:24] local.INFO: Extracted packet for processing {"connection_id":161927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:41:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597487616001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787490487000,"timestamp_ms":1787490487000,"timestamp_seconds":1787490487,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebc4ad8"} 
[2026-08-23 18:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 18:41:24] 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-08-23 18:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:41: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-08-23 18:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597487616001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597487616001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:41:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:41:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597487616001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":161927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:41:24] local.INFO: GPS data processed {"connection_id":161927,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:41:24] local.INFO: Acknowledgment sent {"connection_id":161927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:41:29] local.INFO: TCP Data received {"connection_id":160729,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:41:29] local.INFO: Processing buffer {"connection_id":160729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:41:29] local.INFO: IMEI packet received {"connection_id":160729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":160729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:41:29] local.INFO: TCP Data received {"connection_id":160729,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:41:29] local.INFO: Processing buffer {"connection_id":160729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:41:29] local.INFO: IMEI packet received {"connection_id":160729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":160729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:41:34] local.INFO: TCP Data received {"connection_id":161928,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:41:34] local.INFO: Processing buffer {"connection_id":161928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:41:34] local.INFO: IMEI packet received {"connection_id":161928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":161928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:41:34] local.INFO: TCP Data received {"connection_id":160729,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:41:34] local.INFO: Processing buffer {"connection_id":160729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:41:34] local.INFO: IMEI packet received {"connection_id":160729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":160729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:41:35] local.INFO: TCP Data received {"connection_id":160729,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebe4e78012d1b4d4007257ac8002e013f28..."} 
[2026-08-23 18:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebe4e78012d1b4d4007257ac8002e013f28..."} 
[2026-08-23 18:41:35] local.INFO: Processing buffer {"connection_id":160729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebe4e78012d1b4d4007257ac8002e013f28..."} 
[2026-08-23 18:41:35] local.INFO: Packet analysis {"connection_id":160729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebe"} 
[2026-08-23 18:41:35] local.INFO: Extracted packet for processing {"connection_id":160729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebe"} 
[2026-08-23 18:41:35] local.INFO: GPS Element Parsed {"raw_longitude":756763968,"raw_latitude":119896776,"longitude_deg":75.6763968,"latitude_deg":11.9896776,"altitude":46,"angle":319,"satellites":40,"speed":11,"hex_longitude":"2d1b4d40","hex_latitude":"07257ac8","is_valid_coordinates":true} 
[2026-08-23 18:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597597440001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15714538011754496,"note":"Value kept but may cause issues"} 
[2026-08-23 18:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968143436598450176,"note":"Value kept but may cause issues"} 
[2026-08-23 18:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787490619000,"timestamp_ms":1787490619000,"timestamp_seconds":1787490619,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebe4e78"} 
[2026-08-23 18:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 18:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597597440001,"66":13798,"217":206,"83":42752,"24":11,"16":15714538011754496,"45":1968143436598450176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 18:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597597440001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:41:35] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 18:41:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15714538011754496,"km_value":15714538011754.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968143436598450176,"description":"Unknown IO ID 45"} 
[2026-08-23 18:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597597440001,"power":13798,"unknown_217":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1968143436598450176}} 
[2026-08-23 18:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":160729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:41:35] local.INFO: GPS data processed {"connection_id":160729,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:41:35] local.INFO: Acknowledgment sent {"connection_id":160729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:41:39] local.INFO: TCP Data received {"connection_id":161928,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:41:39] local.INFO: Processing buffer {"connection_id":161928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:41:39] local.INFO: IMEI packet received {"connection_id":161928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":161928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:41:40] local.INFO: TCP Data received {"connection_id":161928,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:41:40] local.INFO: Processing buffer {"connection_id":161928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:41:40] local.INFO: Packet analysis {"connection_id":161928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:41:40] local.INFO: Extracted packet for processing {"connection_id":161928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:41:40] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 18:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597517056001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787490513000,"timestamp_ms":1787490513000,"timestamp_seconds":1787490513,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebcb068"} 
[2026-08-23 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-08-23 18: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-08-23 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 18:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 18:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597517056001,"66":2209,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597517056001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:41:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597517056001,"power":2209,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":161928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:41:40] local.INFO: GPS data processed {"connection_id":161928,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:41:40] local.INFO: Acknowledgment sent {"connection_id":161928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:41:51] local.INFO: TCP Data received {"connection_id":163322,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:41:51] local.INFO: Processing buffer {"connection_id":163322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:41:51] local.INFO: IMEI packet received {"connection_id":163322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":163322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:41:55] local.INFO: TCP Data received {"connection_id":163322,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:41:55] local.INFO: Processing buffer {"connection_id":163322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:41:55] local.INFO: IMEI packet received {"connection_id":163322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":163322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:41:56] local.INFO: TCP Data received {"connection_id":163322,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:41:56] local.INFO: Processing buffer {"connection_id":163322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:41:56] local.INFO: Packet analysis {"connection_id":163322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:41:56] local.INFO: Extracted packet for processing {"connection_id":163322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:41:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597487616001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787490487000,"timestamp_ms":1787490487000,"timestamp_seconds":1787490487,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebc4ad8"} 
[2026-08-23 18:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 18:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597487616001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597487616001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:41:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:41:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597487616001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":163322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:41:56] local.INFO: GPS data processed {"connection_id":163322,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:41:56] local.INFO: Acknowledgment sent {"connection_id":163322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:42:06] local.INFO: TCP Data received {"connection_id":160729,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebe7970012d1b4380072587f0002e014b27..."} 
[2026-08-23 18:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebe7970012d1b4380072587f0002e014b27..."} 
[2026-08-23 18:42:06] local.INFO: Processing buffer {"connection_id":160729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebe7970012d1b4380072587f0002e014b27..."} 
[2026-08-23 18:42:06] local.INFO: Packet analysis {"connection_id":160729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebe"} 
[2026-08-23 18:42:06] local.INFO: Extracted packet for processing {"connection_id":160729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebe"} 
[2026-08-23 18:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756761472,"raw_latitude":119900144,"longitude_deg":75.6761472,"latitude_deg":11.9900144,"altitude":46,"angle":331,"satellites":39,"speed":17,"hex_longitude":"2d1b4380","hex_latitude":"072587f0","is_valid_coordinates":true} 
[2026-08-23 18:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597598464001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15714739875217408,"note":"Value kept but may cause issues"} 
[2026-08-23 18:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967299011668527104,"note":"Value kept but may cause issues"} 
[2026-08-23 18:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787490630000,"timestamp_ms":1787490630000,"timestamp_seconds":1787490630,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebe7970"} 
[2026-08-23 18:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-23 18:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597598464001,"66":13852,"217":206,"83":42752,"24":17,"16":15714739875217408,"45":1967299011668527104},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 18:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597598464001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:42:06] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 18:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15714739875217408,"km_value":15714739875217.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967299011668527104,"description":"Unknown IO ID 45"} 
[2026-08-23 18:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597598464001,"power":13852,"unknown_217":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1967299011668527104}} 
[2026-08-23 18:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":160729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:42:07] local.INFO: GPS data processed {"connection_id":160729,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:42:07] local.INFO: Acknowledgment sent {"connection_id":160729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:42:11] local.INFO: TCP Data received {"connection_id":161928,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:42:11] local.INFO: Processing buffer {"connection_id":161928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:42:11] local.INFO: Packet analysis {"connection_id":161928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:42:11] local.INFO: Extracted packet for processing {"connection_id":161928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:42:11] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597517056001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787490513000,"timestamp_ms":1787490513000,"timestamp_seconds":1787490513,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebcb068"} 
[2026-08-23 18:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:42: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-08-23 18:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 18:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597517056001,"66":2209,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597517056001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:42:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597517056001,"power":2209,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":161928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688309,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:42:11] local.INFO: GPS data processed {"connection_id":161928,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:42:11] local.INFO: Acknowledgment sent {"connection_id":161928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:42:28] local.INFO: TCP Data received {"connection_id":163322,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:42:28] local.INFO: Processing buffer {"connection_id":163322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:42:28] local.INFO: Packet analysis {"connection_id":163322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:42:28] local.INFO: Extracted packet for processing {"connection_id":163322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:42:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597487616001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787490487000,"timestamp_ms":1787490487000,"timestamp_seconds":1787490487,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebc4ad8"} 
[2026-08-23 18:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 18:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597487616001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597487616001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:42:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:42:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597487616001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":163322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:42:28] local.INFO: GPS data processed {"connection_id":163322,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:42:28] local.INFO: Acknowledgment sent {"connection_id":163322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:42:28] local.INFO: TCP Data received {"connection_id":160973,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:42:28] local.INFO: Processing buffer {"connection_id":160973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:42:28] local.INFO: IMEI packet received {"connection_id":160973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":160973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:42:32] local.INFO: TCP Data received {"connection_id":160973,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:42:32] local.INFO: Processing buffer {"connection_id":160973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:42:32] local.INFO: IMEI packet received {"connection_id":160973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":160973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:42:33] local.INFO: TCP Data received {"connection_id":160973,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:42:33] local.INFO: Processing buffer {"connection_id":160973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:42:33] local.INFO: IMEI packet received {"connection_id":160973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":160973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:42:34] local.INFO: TCP Data received {"connection_id":160974,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:42:34] local.INFO: Processing buffer {"connection_id":160974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:42:34] local.INFO: IMEI packet received {"connection_id":160974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":160974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:42:34] local.INFO: TCP Data received {"connection_id":160973,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebecb78012d1b3e40072590f8002e015226..."} 
[2026-08-23 18:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebecb78012d1b3e40072590f8002e015226..."} 
[2026-08-23 18:42:34] local.INFO: Processing buffer {"connection_id":160973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebecb78012d1b3e40072590f8002e015226..."} 
[2026-08-23 18:42:34] local.INFO: Packet analysis {"connection_id":160973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebe"} 
[2026-08-23 18:42:34] local.INFO: Extracted packet for processing {"connection_id":160973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebe"} 
[2026-08-23 18:42:34] local.INFO: GPS Element Parsed {"raw_longitude":756760128,"raw_latitude":119902456,"longitude_deg":75.6760128,"latitude_deg":11.9902456,"altitude":46,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1b3e40","hex_latitude":"072590f8","is_valid_coordinates":true} 
[2026-08-23 18:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597601280001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15714873019203584,"note":"Value kept but may cause issues"} 
[2026-08-23 18:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964554630646460416,"note":"Value kept but may cause issues"} 
[2026-08-23 18:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787490651000,"timestamp_ms":1787490651000,"timestamp_seconds":1787490651,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebecb78"} 
[2026-08-23 18:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-23 18:42:34] 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-08-23 18:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597601280001,"66":13993,"217":206,"83":42752,"24":0,"16":15714873019203584,"45":1964554630646460416},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 18:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597601280001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:42:34] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 18:42:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15714873019203584,"km_value":15714873019203.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964554630646460416,"description":"Unknown IO ID 45"} 
[2026-08-23 18:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597601280001,"power":13993,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964554630646460416}} 
[2026-08-23 18:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":160973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:42:35] local.INFO: GPS data processed {"connection_id":160973,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:42:35] local.INFO: Acknowledgment sent {"connection_id":160973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:42:36] local.INFO: TCP Data received {"connection_id":160973,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebf1d80012d1b3e40072590f8002e015227..."} 
[2026-08-23 18:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebf1d80012d1b3e40072590f8002e015227..."} 
[2026-08-23 18:42:36] local.INFO: Processing buffer {"connection_id":160973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebf1d80012d1b3e40072590f8002e015227..."} 
[2026-08-23 18:42:36] local.INFO: Packet analysis {"connection_id":160973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebf"} 
[2026-08-23 18:42:36] local.INFO: Extracted packet for processing {"connection_id":160973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebf"} 
[2026-08-23 18:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756760128,"raw_latitude":119902456,"longitude_deg":75.6760128,"latitude_deg":11.9902456,"altitude":46,"angle":338,"satellites":39,"speed":0,"hex_longitude":"2d1b3e40","hex_latitude":"072590f8","is_valid_coordinates":true} 
[2026-08-23 18:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597606656001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15714873019203584,"note":"Value kept but may cause issues"} 
[2026-08-23 18:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963076887019321344,"note":"Value kept but may cause issues"} 
[2026-08-23 18:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787490672000,"timestamp_ms":1787490672000,"timestamp_seconds":1787490672,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebf1d80"} 
[2026-08-23 18:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-23 18:42:36] 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-08-23 18:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597606656001,"66":14374,"217":206,"83":42752,"24":0,"16":15714873019203584,"45":1963076887019321344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 18:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597606656001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:42:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 18:42:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15714873019203584,"km_value":15714873019203.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963076887019321344,"description":"Unknown IO ID 45"} 
[2026-08-23 18:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597606656001,"power":14374,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963076887019321344}} 
[2026-08-23 18:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":160973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:42:36] local.INFO: GPS data processed {"connection_id":160973,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:42:36] local.INFO: Acknowledgment sent {"connection_id":160973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:42:39] local.INFO: TCP Data received {"connection_id":160974,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:42:39] local.INFO: Processing buffer {"connection_id":160974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:42:39] local.INFO: IMEI packet received {"connection_id":160974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":160974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:42:40] local.INFO: TCP Data received {"connection_id":160974,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:42:40] local.INFO: Processing buffer {"connection_id":160974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:42:40] local.INFO: Packet analysis {"connection_id":160974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:42:40] local.INFO: Extracted packet for processing {"connection_id":160974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:42:40] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597517056001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787490513000,"timestamp_ms":1787490513000,"timestamp_seconds":1787490513,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebcb068"} 
[2026-08-23 18:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:42: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-08-23 18:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 18:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597517056001,"66":2209,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597517056001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:42:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:42:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597517056001,"power":2209,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":160974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:42:40] local.INFO: GPS data processed {"connection_id":160974,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:42:40] local.INFO: Acknowledgment sent {"connection_id":160974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:42:46] local.INFO: TCP Data received {"connection_id":163323,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:42:46] local.INFO: Processing buffer {"connection_id":163323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:42:46] local.INFO: IMEI packet received {"connection_id":163323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":163323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:42:50] local.INFO: TCP Data received {"connection_id":163323,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:42:50] local.INFO: Processing buffer {"connection_id":163323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:42:50] local.INFO: IMEI packet received {"connection_id":163323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":163323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:42:52] local.INFO: TCP Data received {"connection_id":163323,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:42:52] local.INFO: Processing buffer {"connection_id":163323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:42:52] local.INFO: Packet analysis {"connection_id":163323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:42:52] local.INFO: Extracted packet for processing {"connection_id":163323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:42:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597487616001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787490487000,"timestamp_ms":1787490487000,"timestamp_seconds":1787490487,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebc4ad8"} 
[2026-08-23 18:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 18:42:52] 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-08-23 18:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:42:52] 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-08-23 18:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597487616001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597487616001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:42:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:42:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597487616001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":163323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:42:52] local.INFO: GPS data processed {"connection_id":163323,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:42:52] local.INFO: Acknowledgment sent {"connection_id":163323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:43:09] local.INFO: TCP Data received {"connection_id":160973,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebf6f88012d1b3e40072590f8002e015226..."} 
[2026-08-23 18:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebf6f88012d1b3e40072590f8002e015226..."} 
[2026-08-23 18:43:09] local.INFO: Processing buffer {"connection_id":160973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebf6f88012d1b3e40072590f8002e015226..."} 
[2026-08-23 18:43:09] local.INFO: Packet analysis {"connection_id":160973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebf"} 
[2026-08-23 18:43:09] local.INFO: Extracted packet for processing {"connection_id":160973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebf"} 
[2026-08-23 18:43:09] local.INFO: GPS Element Parsed {"raw_longitude":756760128,"raw_latitude":119902456,"longitude_deg":75.6760128,"latitude_deg":11.9902456,"altitude":46,"angle":338,"satellites":38,"speed":0,"hex_longitude":"2d1b3e40","hex_latitude":"072590f8","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597612032001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15714873019203584,"note":"Value kept but may cause issues"} 
[2026-08-23 18:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963076887019321344,"note":"Value kept but may cause issues"} 
[2026-08-23 18:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787490693000,"timestamp_ms":1787490693000,"timestamp_seconds":1787490693,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebf6f88"} 
[2026-08-23 18:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:43: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-08-23 18: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-23 18:43:09] 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-08-23 18: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-08-23 18:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597612032001,"66":14265,"217":206,"83":42752,"24":0,"16":15714873019203584,"45":1963076887019321344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 18:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597612032001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:43:09] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 18:43:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15714873019203584,"km_value":15714873019203.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963076887019321344,"description":"Unknown IO ID 45"} 
[2026-08-23 18:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597612032001,"power":14265,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963076887019321344}} 
[2026-08-23 18:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":160973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:43:09] local.INFO: GPS data processed {"connection_id":160973,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:43:09] local.INFO: Acknowledgment sent {"connection_id":160973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:43:11] local.INFO: TCP Data received {"connection_id":160974,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:43:11] local.INFO: Processing buffer {"connection_id":160974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebcb068012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:43:11] local.INFO: Packet analysis {"connection_id":160974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:43:11] local.INFO: Extracted packet for processing {"connection_id":160974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:43:11] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597517056001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787490513000,"timestamp_ms":1787490513000,"timestamp_seconds":1787490513,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebcb068"} 
[2026-08-23 18:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:43: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-08-23 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 18:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597517056001,"66":2209,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597517056001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:43:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597517056001,"power":2209,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":160974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:43:11] local.INFO: GPS data processed {"connection_id":160974,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:43:11] local.INFO: Acknowledgment sent {"connection_id":160974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:43:23] local.INFO: TCP Data received {"connection_id":163323,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:43:23] local.INFO: Processing buffer {"connection_id":163323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebc4ad8012d34c58006aa4060000e011423..."} 
[2026-08-23 18:43:23] local.INFO: Packet analysis {"connection_id":163323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:43:23] local.INFO: Extracted packet for processing {"connection_id":163323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebc"} 
[2026-08-23 18:43:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597487616001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787490487000,"timestamp_ms":1787490487000,"timestamp_seconds":1787490487,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebc4ad8"} 
[2026-08-23 18:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:43: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-08-23 18:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 18:43:23] 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-08-23 18:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:43:23] 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-08-23 18:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597487616001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597487616001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:43:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:43:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597487616001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":163323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:43:23] local.INFO: GPS data processed {"connection_id":163323,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:43:23] local.INFO: Acknowledgment sent {"connection_id":163323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:43:28] local.INFO: TCP Data received {"connection_id":160975,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:43:28] local.INFO: Processing buffer {"connection_id":160975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:43:28] local.INFO: IMEI packet received {"connection_id":160975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":160975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:43:34] local.INFO: TCP Data received {"connection_id":160975,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:43:34] local.INFO: Processing buffer {"connection_id":160975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:43:34] local.INFO: IMEI packet received {"connection_id":160975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":160975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:43:35] local.INFO: TCP Data received {"connection_id":160730,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:43:35] local.INFO: Processing buffer {"connection_id":160730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:43:35] local.INFO: IMEI packet received {"connection_id":160730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":160730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:43:35] local.INFO: TCP Data received {"connection_id":160975,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebfc190012d1b3e40072590f8002e015228..."} 
[2026-08-23 18:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebfc190012d1b3e40072590f8002e015228..."} 
[2026-08-23 18:43:35] local.INFO: Processing buffer {"connection_id":160975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebfc190012d1b3e40072590f8002e015228..."} 
[2026-08-23 18:43:35] local.INFO: Packet analysis {"connection_id":160975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebf"} 
[2026-08-23 18:43:35] local.INFO: Extracted packet for processing {"connection_id":160975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebf"} 
[2026-08-23 18:43:35] local.INFO: GPS Element Parsed {"raw_longitude":756760128,"raw_latitude":119902456,"longitude_deg":75.6760128,"latitude_deg":11.9902456,"altitude":46,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1b3e40","hex_latitude":"072590f8","is_valid_coordinates":true} 
[2026-08-23 18:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597617408001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15714873019203584,"note":"Value kept but may cause issues"} 
[2026-08-23 18:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963076887019321344,"note":"Value kept but may cause issues"} 
[2026-08-23 18:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787490714000,"timestamp_ms":1787490714000,"timestamp_seconds":1787490714,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebfc190"} 
[2026-08-23 18:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 18:43:35] 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-08-23 18:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597617408001,"66":14233,"217":206,"83":42752,"24":0,"16":15714873019203584,"45":1963076887019321344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 18:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597617408001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:43:35] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 18:43:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15714873019203584,"km_value":15714873019203.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963076887019321344,"description":"Unknown IO ID 45"} 
[2026-08-23 18:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597617408001,"power":14233,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963076887019321344}} 
[2026-08-23 18:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":160975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:43:35] local.INFO: GPS data processed {"connection_id":160975,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:43:35] local.INFO: Acknowledgment sent {"connection_id":160975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:43:39] local.INFO: TCP Data received {"connection_id":160730,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:43:39] local.INFO: Processing buffer {"connection_id":160730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:43:39] local.INFO: IMEI packet received {"connection_id":160730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":160730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:43:44] local.INFO: TCP Data received {"connection_id":160730,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:43:44] local.INFO: Processing buffer {"connection_id":160730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:43:44] local.INFO: IMEI packet received {"connection_id":160730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":160730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:43:45] local.INFO: TCP Data received {"connection_id":160730,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:43:45] local.INFO: Processing buffer {"connection_id":160730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:43:45] local.INFO: Packet analysis {"connection_id":160730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec1"} 
[2026-08-23 18:43:45] local.INFO: Extracted packet for processing {"connection_id":160730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec1"} 
[2026-08-23 18:43:45] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 18:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597571328001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787490814000,"timestamp_ms":1787490814000,"timestamp_seconds":1787490814,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec14830"} 
[2026-08-23 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-08-23 18:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 18:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 18:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597571328001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597571328001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:43:45] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:43:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597571328001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":160730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:43:45] local.INFO: GPS data processed {"connection_id":160730,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:43:45] local.INFO: Acknowledgment sent {"connection_id":160730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:43:45] local.INFO: TCP Data received {"connection_id":161929,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:43:45] local.INFO: Processing buffer {"connection_id":161929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:43:45] local.INFO: IMEI packet received {"connection_id":161929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":161929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:43:46] local.INFO: TCP Data received {"connection_id":161929,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:43:46] local.INFO: Processing buffer {"connection_id":161929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:43:46] local.INFO: IMEI packet received {"connection_id":161929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":161929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:43:49] local.INFO: TCP Data received {"connection_id":160730,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:43:49] local.INFO: Processing buffer {"connection_id":160730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:43:49] local.INFO: Packet analysis {"connection_id":160730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec1"} 
[2026-08-23 18:43:49] local.INFO: Extracted packet for processing {"connection_id":160730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec1"} 
[2026-08-23 18:43:49] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597571328001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787490814000,"timestamp_ms":1787490814000,"timestamp_seconds":1787490814,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec14830"} 
[2026-08-23 18:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 18:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":160730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":160730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":160730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597571328001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597571328001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:43:49] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:43:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597571328001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":160730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:43:50] local.INFO: GPS data processed {"connection_id":160730,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:43:50] local.INFO: Acknowledgment sent {"connection_id":160730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:43:50] local.INFO: TCP Data received {"connection_id":161929,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:43:50] local.INFO: Processing buffer {"connection_id":161929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:43:50] local.INFO: IMEI packet received {"connection_id":161929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":161929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:43:51] local.INFO: TCP Data received {"connection_id":161929,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:43:51] local.INFO: Processing buffer {"connection_id":161929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:43:51] local.INFO: Packet analysis {"connection_id":161929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:43:51] local.INFO: Extracted packet for processing {"connection_id":161929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:43:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597564672001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787490788000,"timestamp_ms":1787490788000,"timestamp_seconds":1787490788,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec0e2a0"} 
[2026-08-23 18:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 18:43:51] 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-08-23 18:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:43:51] 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-08-23 18:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597564672001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597564672001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:43:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:43:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597564672001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":161929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:43:51] local.INFO: GPS data processed {"connection_id":161929,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:43:51] local.INFO: Acknowledgment sent {"connection_id":161929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:44:06] local.INFO: TCP Data received {"connection_id":160975,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebfd130012d1b3c0007259368002f014628..."} 
[2026-08-23 18:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebfd130012d1b3c0007259368002f014628..."} 
[2026-08-23 18:44:06] local.INFO: Processing buffer {"connection_id":160975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebfd130012d1b3c0007259368002f014628..."} 
[2026-08-23 18:44:06] local.INFO: Packet analysis {"connection_id":160975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebf"} 
[2026-08-23 18:44:06] local.INFO: Extracted packet for processing {"connection_id":160975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebf"} 
[2026-08-23 18:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756759552,"raw_latitude":119903080,"longitude_deg":75.6759552,"latitude_deg":11.990308,"altitude":47,"angle":326,"satellites":40,"speed":7,"hex_longitude":"2d1b3c00","hex_latitude":"07259368","is_valid_coordinates":true} 
[2026-08-23 18:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597622784001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15714911673909248,"note":"Value kept but may cause issues"} 
[2026-08-23 18:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963076887019321344,"note":"Value kept but may cause issues"} 
[2026-08-23 18:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787490718000,"timestamp_ms":1787490718000,"timestamp_seconds":1787490718,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebfd130"} 
[2026-08-23 18:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-23 18:44:06] 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-08-23 18:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597622784001,"66":14233,"217":206,"83":42752,"24":7,"16":15714911673909248,"45":1963076887019321344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 18:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597622784001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:44:06] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 18:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15714911673909248,"km_value":15714911673909.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963076887019321344,"description":"Unknown IO ID 45"} 
[2026-08-23 18:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597622784001,"power":14233,"unknown_217":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1963076887019321344}} 
[2026-08-23 18:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":160975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:44:06] local.INFO: GPS data processed {"connection_id":160975,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:44:06] local.INFO: Acknowledgment sent {"connection_id":160975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:44:24] local.INFO: TCP Data received {"connection_id":161929,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:44:24] local.INFO: Processing buffer {"connection_id":161929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:44:24] local.INFO: Packet analysis {"connection_id":161929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:44:24] local.INFO: Extracted packet for processing {"connection_id":161929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:44:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597564672001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787490788000,"timestamp_ms":1787490788000,"timestamp_seconds":1787490788,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec0e2a0"} 
[2026-08-23 18:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 18:44:24] 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-08-23 18:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:44:24] 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-08-23 18:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597564672001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597564672001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:44:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:44:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597564672001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":161929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:44:24] local.INFO: GPS data processed {"connection_id":161929,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:44:24] local.INFO: Acknowledgment sent {"connection_id":161929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:44:34] local.INFO: TCP Data received {"connection_id":161930,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:44:34] local.INFO: Processing buffer {"connection_id":161930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:44:34] local.INFO: IMEI packet received {"connection_id":161930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":161930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:44:34] local.INFO: TCP Data received {"connection_id":161931,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:44:34] local.INFO: Processing buffer {"connection_id":161931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:44:34] local.INFO: IMEI packet received {"connection_id":161931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":161931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:44:39] local.INFO: TCP Data received {"connection_id":161930,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:44:39] local.INFO: Processing buffer {"connection_id":161930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:44:39] local.INFO: IMEI packet received {"connection_id":161930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":161930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:44:39] local.INFO: TCP Data received {"connection_id":161931,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:44:39] local.INFO: Processing buffer {"connection_id":161931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:44:39] local.INFO: IMEI packet received {"connection_id":161931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":161931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:44:40] local.INFO: TCP Data received {"connection_id":161930,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ebfd900012d1b3b8007259468002f015528..."} 
[2026-08-23 18:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ebfd900012d1b3b8007259468002f015528..."} 
[2026-08-23 18:44:40] local.INFO: Processing buffer {"connection_id":161930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ebfd900012d1b3b8007259468002f015528..."} 
[2026-08-23 18:44:40] local.INFO: Packet analysis {"connection_id":161930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ebf"} 
[2026-08-23 18:44:40] local.INFO: Extracted packet for processing {"connection_id":161930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ebf"} 
[2026-08-23 18:44:40] local.INFO: GPS Element Parsed {"raw_longitude":756759424,"raw_latitude":119903336,"longitude_deg":75.6759424,"latitude_deg":11.9903336,"altitude":47,"angle":341,"satellites":40,"speed":4,"hex_longitude":"2d1b3b80","hex_latitude":"07259468","is_valid_coordinates":true} 
[2026-08-23 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-08-23 18:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597623808001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15714928853778432,"note":"Value kept but may cause issues"} 
[2026-08-23 18:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962443568321882112,"note":"Value kept but may cause issues"} 
[2026-08-23 18:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787490720000,"timestamp_ms":1787490720000,"timestamp_seconds":1787490720,"priority":1,"record_length":96,"hex_timestamp":"000001a02ebfd900"} 
[2026-08-23 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-08-23 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-08-23 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-23 18:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 18:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597623808001,"66":14265,"217":206,"83":42752,"24":4,"16":15714928853778432,"45":1962443568321882112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 18:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597623808001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:44:40] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 18:44:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15714928853778432,"km_value":15714928853778.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962443568321882112,"description":"Unknown IO ID 45"} 
[2026-08-23 18:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597623808001,"power":14265,"unknown_217":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1962443568321882112}} 
[2026-08-23 18:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":161930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:44:40] local.INFO: GPS data processed {"connection_id":161930,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:44:40] local.INFO: Acknowledgment sent {"connection_id":161930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:44:40] local.INFO: TCP Data received {"connection_id":161931,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:44:40] local.INFO: Processing buffer {"connection_id":161931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:44:40] local.INFO: Packet analysis {"connection_id":161931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec1"} 
[2026-08-23 18:44:40] local.INFO: Extracted packet for processing {"connection_id":161931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec1"} 
[2026-08-23 18:44:40] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 18:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597571328001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787490814000,"timestamp_ms":1787490814000,"timestamp_seconds":1787490814,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec14830"} 
[2026-08-23 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-08-23 18:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 18:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 18:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597571328001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597571328001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:44:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597571328001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":161931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:44:40] local.INFO: GPS data processed {"connection_id":161931,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:44:40] local.INFO: Acknowledgment sent {"connection_id":161931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:44:43] local.INFO: TCP Data received {"connection_id":161930,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec003f8012d1b384007259c380030014928..."} 
[2026-08-23 18:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec003f8012d1b384007259c380030014928..."} 
[2026-08-23 18:44:43] local.INFO: Processing buffer {"connection_id":161930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec003f8012d1b384007259c380030014928..."} 
[2026-08-23 18:44:43] local.INFO: Packet analysis {"connection_id":161930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:44:43] local.INFO: Extracted packet for processing {"connection_id":161930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:44:43] local.INFO: GPS Element Parsed {"raw_longitude":756758592,"raw_latitude":119905336,"longitude_deg":75.6758592,"latitude_deg":11.9905336,"altitude":48,"angle":329,"satellites":40,"speed":11,"hex_longitude":"2d1b3840","hex_latitude":"07259c38","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597624320001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15715036227960832,"note":"Value kept but may cause issues"} 
[2026-08-23 18:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962302830833592320,"note":"Value kept but may cause issues"} 
[2026-08-23 18:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787490731000,"timestamp_ms":1787490731000,"timestamp_seconds":1787490731,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec003f8"} 
[2026-08-23 18:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:44: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-08-23 18: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-23 18:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597624320001,"66":13928,"217":206,"83":42752,"24":11,"16":15715036227960832,"45":1962302830833592320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 18:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597624320001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:44:43] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 18:44:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15715036227960832,"km_value":15715036227960.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962302830833592320,"description":"Unknown IO ID 45"} 
[2026-08-23 18:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597624320001,"power":13928,"unknown_217":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1962302830833592320}} 
[2026-08-23 18:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":161930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:44:43] local.INFO: GPS data processed {"connection_id":161930,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:44:43] local.INFO: Acknowledgment sent {"connection_id":161930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:44:45] local.INFO: TCP Data received {"connection_id":160731,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:44:45] local.INFO: Processing buffer {"connection_id":160731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:44:45] local.INFO: IMEI packet received {"connection_id":160731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":160731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:44:50] local.INFO: TCP Data received {"connection_id":160731,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:44:50] local.INFO: Processing buffer {"connection_id":160731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:44:50] local.INFO: IMEI packet received {"connection_id":160731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":160731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:44:51] local.INFO: TCP Data received {"connection_id":160731,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:44:51] local.INFO: Processing buffer {"connection_id":160731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:44:51] local.INFO: Packet analysis {"connection_id":160731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:44:51] local.INFO: Extracted packet for processing {"connection_id":160731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:44:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597564672001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787490788000,"timestamp_ms":1787490788000,"timestamp_seconds":1787490788,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec0e2a0"} 
[2026-08-23 18:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 18:44:51] 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-08-23 18:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:44:51] 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-08-23 18:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597564672001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597564672001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:44:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:44:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597564672001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":160731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:44:52] local.INFO: GPS data processed {"connection_id":160731,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:44:52] local.INFO: Acknowledgment sent {"connection_id":160731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:45:14] local.INFO: TCP Data received {"connection_id":161931,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:45:14] local.INFO: Processing buffer {"connection_id":161931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:45:14] local.INFO: Packet analysis {"connection_id":161931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec1"} 
[2026-08-23 18:45:14] local.INFO: Extracted packet for processing {"connection_id":161931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec1"} 
[2026-08-23 18:45:14] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597571328001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787490814000,"timestamp_ms":1787490814000,"timestamp_seconds":1787490814,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec14830"} 
[2026-08-23 18:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 18:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597571328001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597571328001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:45:14] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:45:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597571328001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":161931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:45:14] local.INFO: GPS data processed {"connection_id":161931,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:45:14] local.INFO: Acknowledgment sent {"connection_id":161931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:45:23] local.INFO: TCP Data received {"connection_id":160731,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:45:23] local.INFO: Processing buffer {"connection_id":160731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:45:23] local.INFO: Packet analysis {"connection_id":160731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:45:23] local.INFO: Extracted packet for processing {"connection_id":160731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:45:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597564672001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787490788000,"timestamp_ms":1787490788000,"timestamp_seconds":1787490788,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec0e2a0"} 
[2026-08-23 18:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:45: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-08-23 18:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 18:45:23] 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-08-23 18:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:45:23] 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-08-23 18:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597564672001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597564672001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:45:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:45:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597564672001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":160731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:45:23] local.INFO: GPS data processed {"connection_id":160731,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:45:23] local.INFO: Acknowledgment sent {"connection_id":160731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:45:29] local.INFO: TCP Data received {"connection_id":163324,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:45:29] local.INFO: Processing buffer {"connection_id":163324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:45:29] local.INFO: IMEI packet received {"connection_id":163324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":163324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:45:34] local.INFO: TCP Data received {"connection_id":163325,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:45:34] local.INFO: Processing buffer {"connection_id":163325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:45:34] local.INFO: IMEI packet received {"connection_id":163325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":163325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:45:34] local.INFO: TCP Data received {"connection_id":163324,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:45:34] local.INFO: Processing buffer {"connection_id":163324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:45:34] local.INFO: IMEI packet received {"connection_id":163324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":163324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:45:35] local.INFO: TCP Data received {"connection_id":163324,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec01780012d1b35c00725a1580030015427..."} 
[2026-08-23 18:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec01780012d1b35c00725a1580030015427..."} 
[2026-08-23 18:45:35] local.INFO: Processing buffer {"connection_id":163324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec01780012d1b35c00725a1580030015427..."} 
[2026-08-23 18:45:35] local.INFO: Packet analysis {"connection_id":163324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:45:35] local.INFO: Extracted packet for processing {"connection_id":163324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:45:35] local.INFO: GPS Element Parsed {"raw_longitude":756757952,"raw_latitude":119906648,"longitude_deg":75.6757952,"latitude_deg":11.9906648,"altitude":48,"angle":340,"satellites":39,"speed":10,"hex_longitude":"2d1b35c0","hex_latitude":"0725a158","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597627136001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15715104947437568,"note":"Value kept but may cause issues"} 
[2026-08-23 18:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961388037159794688,"note":"Value kept but may cause issues"} 
[2026-08-23 18:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787490736000,"timestamp_ms":1787490736000,"timestamp_seconds":1787490736,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec01780"} 
[2026-08-23 18:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-23 18:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597627136001,"66":13102,"217":206,"83":42752,"24":10,"16":15715104947437568,"45":1961388037159794688},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 18:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597627136001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:45:35] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 18:45:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15715104947437568,"km_value":15715104947437.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961388037159794688,"description":"Unknown IO ID 45"} 
[2026-08-23 18:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597627136001,"power":13102,"unknown_217":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1961388037159794688}} 
[2026-08-23 18:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":163324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:45:35] local.INFO: GPS data processed {"connection_id":163324,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:45:35] local.INFO: Acknowledgment sent {"connection_id":163324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:45:39] local.INFO: TCP Data received {"connection_id":163325,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:45:39] local.INFO: Processing buffer {"connection_id":163325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:45:39] local.INFO: IMEI packet received {"connection_id":163325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":163325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:45:40] local.INFO: TCP Data received {"connection_id":163325,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:45:40] local.INFO: Processing buffer {"connection_id":163325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:45:40] local.INFO: Packet analysis {"connection_id":163325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec1"} 
[2026-08-23 18:45:40] local.INFO: Extracted packet for processing {"connection_id":163325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec1"} 
[2026-08-23 18:45:40] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597571328001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787490814000,"timestamp_ms":1787490814000,"timestamp_seconds":1787490814,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec14830"} 
[2026-08-23 18:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 18:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597571328001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597571328001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:45:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:45:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597571328001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":163325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:45:40] local.INFO: GPS data processed {"connection_id":163325,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:45:40] local.INFO: Acknowledgment sent {"connection_id":163325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:45:50] local.INFO: TCP Data received {"connection_id":160976,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:45:50] local.INFO: Processing buffer {"connection_id":160976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:45:50] local.INFO: IMEI packet received {"connection_id":160976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":160976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:45:55] local.INFO: TCP Data received {"connection_id":160976,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:45:55] local.INFO: Processing buffer {"connection_id":160976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:45:55] local.INFO: IMEI packet received {"connection_id":160976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":160976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:45:56] local.INFO: TCP Data received {"connection_id":160976,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:45:56] local.INFO: Processing buffer {"connection_id":160976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:45:56] local.INFO: Packet analysis {"connection_id":160976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:45:56] local.INFO: Extracted packet for processing {"connection_id":160976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:45:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597564672001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787490788000,"timestamp_ms":1787490788000,"timestamp_seconds":1787490788,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec0e2a0"} 
[2026-08-23 18:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 18:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597564672001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597564672001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:45:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:45:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597564672001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":160976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:45:56] local.INFO: GPS data processed {"connection_id":160976,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:45:56] local.INFO: Acknowledgment sent {"connection_id":160976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:46:06] local.INFO: TCP Data received {"connection_id":163324,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec04278012d1b33000725aba0002f016127..."} 
[2026-08-23 18:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec04278012d1b33000725aba0002f016127..."} 
[2026-08-23 18:46:06] local.INFO: Processing buffer {"connection_id":163324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec04278012d1b33000725aba0002f016127..."} 
[2026-08-23 18:46:06] local.INFO: Packet analysis {"connection_id":163324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:46:06] local.INFO: Extracted packet for processing {"connection_id":163324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119909280,"longitude_deg":75.6757248,"latitude_deg":11.990928,"altitude":47,"angle":353,"satellites":39,"speed":14,"hex_longitude":"2d1b3300","hex_latitude":"0725aba0","is_valid_coordinates":true} 
[2026-08-23 18:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597628416001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15715238091423744,"note":"Value kept but may cause issues"} 
[2026-08-23 18:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960684349718353920,"note":"Value kept but may cause issues"} 
[2026-08-23 18:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787490747000,"timestamp_ms":1787490747000,"timestamp_seconds":1787490747,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec04278"} 
[2026-08-23 18:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-23 18:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597628416001,"66":12917,"217":206,"83":42752,"24":14,"16":15715238091423744,"45":1960684349718353920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 18:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597628416001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:46:06] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 18:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15715238091423744,"km_value":15715238091423.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960684349718353920,"description":"Unknown IO ID 45"} 
[2026-08-23 18:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597628416001,"power":12917,"unknown_217":206,"unknown_83":42752,"ignition":14,"odometer":null,"unknown_45":1960684349718353920}} 
[2026-08-23 18:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":163324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:46:06] local.INFO: GPS data processed {"connection_id":163324,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:46:06] local.INFO: Acknowledgment sent {"connection_id":163324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:46:11] local.INFO: TCP Data received {"connection_id":163325,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:46:11] local.INFO: Processing buffer {"connection_id":163325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:46:11] local.INFO: Packet analysis {"connection_id":163325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec1"} 
[2026-08-23 18:46:11] local.INFO: Extracted packet for processing {"connection_id":163325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec1"} 
[2026-08-23 18:46:11] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597571328001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787490814000,"timestamp_ms":1787490814000,"timestamp_seconds":1787490814,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec14830"} 
[2026-08-23 18:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 18:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597571328001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597571328001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:46:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:46:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597571328001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":163325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:46:11] local.INFO: GPS data processed {"connection_id":163325,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:46:11] local.INFO: Acknowledgment sent {"connection_id":163325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:46:28] local.INFO: TCP Data received {"connection_id":160976,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:46:28] local.INFO: Processing buffer {"connection_id":160976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:46:28] local.INFO: Packet analysis {"connection_id":160976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:46:28] local.INFO: Extracted packet for processing {"connection_id":160976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:46:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597564672001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787490788000,"timestamp_ms":1787490788000,"timestamp_seconds":1787490788,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec0e2a0"} 
[2026-08-23 18:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 18:46:28] 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-08-23 18:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597564672001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597564672001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:46:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:46:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597564672001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":160976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:46:28] local.INFO: GPS data processed {"connection_id":160976,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:46:28] local.INFO: Acknowledgment sent {"connection_id":160976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:46:28] local.INFO: TCP Data received {"connection_id":160977,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:46:28] local.INFO: Processing buffer {"connection_id":160977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:46:28] local.INFO: IMEI packet received {"connection_id":160977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":160977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:46:29] local.INFO: TCP Data received {"connection_id":160977,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:46:29] local.INFO: Processing buffer {"connection_id":160977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:46:29] local.INFO: IMEI packet received {"connection_id":160977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":160977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:46:34] local.INFO: TCP Data received {"connection_id":160977,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:46:34] local.INFO: TCP Data received {"connection_id":161932,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:46:34] local.INFO: Processing buffer {"connection_id":160977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:46:34] local.INFO: IMEI packet received {"connection_id":160977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":160977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:46:34] local.INFO: Processing buffer {"connection_id":161932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:46:34] local.INFO: IMEI packet received {"connection_id":161932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":161932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:46:35] local.INFO: TCP Data received {"connection_id":160977,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec059e8012d1b33000725b3b8002f000827..."} 
[2026-08-23 18:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec059e8012d1b33000725b3b8002f000827..."} 
[2026-08-23 18:46:35] local.INFO: Processing buffer {"connection_id":160977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec059e8012d1b33000725b3b8002f000827..."} 
[2026-08-23 18:46:35] local.INFO: Packet analysis {"connection_id":160977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:46:35] local.INFO: Extracted packet for processing {"connection_id":160977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:46:35] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119911352,"longitude_deg":75.6757248,"latitude_deg":11.9911352,"altitude":47,"angle":8,"satellites":39,"speed":13,"hex_longitude":"2d1b3300","hex_latitude":"0725b3b8","is_valid_coordinates":true} 
[2026-08-23 18:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597631232001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15715341170638848,"note":"Value kept but may cause issues"} 
[2026-08-23 18:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293533073408,"note":"Value kept but may cause issues"} 
[2026-08-23 18:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787490753000,"timestamp_ms":1787490753000,"timestamp_seconds":1787490753,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec059e8"} 
[2026-08-23 18:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-23 18:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597631232001,"66":13037,"217":206,"83":42752,"24":13,"16":15715341170638848,"45":1959910293533073408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 18:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597631232001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:46:35] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 18:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15715341170638848,"km_value":15715341170638.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293533073408,"description":"Unknown IO ID 45"} 
[2026-08-23 18:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597631232001,"power":13037,"unknown_217":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1959910293533073408}} 
[2026-08-23 18:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":160977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:46:35] local.INFO: GPS data processed {"connection_id":160977,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:46:35] local.INFO: Acknowledgment sent {"connection_id":160977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:46:39] local.INFO: TCP Data received {"connection_id":161932,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:46:39] local.INFO: Processing buffer {"connection_id":161932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:46:39] local.INFO: IMEI packet received {"connection_id":161932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":161932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:46:40] local.INFO: TCP Data received {"connection_id":161932,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:46:40] local.INFO: Processing buffer {"connection_id":161932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:46:40] local.INFO: Packet analysis {"connection_id":161932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec1"} 
[2026-08-23 18:46:40] local.INFO: Extracted packet for processing {"connection_id":161932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec1"} 
[2026-08-23 18:46:40] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597571328001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787490814000,"timestamp_ms":1787490814000,"timestamp_seconds":1787490814,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec14830"} 
[2026-08-23 18:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 18:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597571328001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597571328001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:46:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:46:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597571328001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":161932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:46:40] local.INFO: GPS data processed {"connection_id":161932,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:46:40] local.INFO: Acknowledgment sent {"connection_id":161932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:46:46] local.INFO: TCP Data received {"connection_id":163326,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:46:46] local.INFO: Processing buffer {"connection_id":163326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:46:46] local.INFO: IMEI packet received {"connection_id":163326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":163326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:46:50] local.INFO: TCP Data received {"connection_id":163326,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:46:50] local.INFO: Processing buffer {"connection_id":163326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:46:50] local.INFO: IMEI packet received {"connection_id":163326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":163326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:46:51] local.INFO: TCP Data received {"connection_id":163326,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:46:51] local.INFO: Processing buffer {"connection_id":163326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:46:51] local.INFO: Packet analysis {"connection_id":163326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:46:51] local.INFO: Extracted packet for processing {"connection_id":163326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:46:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597564672001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787490788000,"timestamp_ms":1787490788000,"timestamp_seconds":1787490788,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec0e2a0"} 
[2026-08-23 18:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 18:46:51] 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-08-23 18:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:46:51] 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-08-23 18:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597564672001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597564672001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:46:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:46:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597564672001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":163326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:46:51] local.INFO: GPS data processed {"connection_id":163326,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:46:51] local.INFO: Acknowledgment sent {"connection_id":163326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:47:06] local.INFO: TCP Data received {"connection_id":160977,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec07928012d1b34800725bd48002e015b28..."} 
[2026-08-23 18:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec07928012d1b34800725bd48002e015b28..."} 
[2026-08-23 18:47:06] local.INFO: Processing buffer {"connection_id":160977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec07928012d1b34800725bd48002e015b28..."} 
[2026-08-23 18:47:06] local.INFO: Packet analysis {"connection_id":160977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:47:06] local.INFO: Extracted packet for processing {"connection_id":160977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756757632,"raw_latitude":119913800,"longitude_deg":75.6757632,"latitude_deg":11.99138,"altitude":46,"angle":347,"satellites":40,"speed":7,"hex_longitude":"2d1b3480","hex_latitude":"0725bd48","is_valid_coordinates":true} 
[2026-08-23 18:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597632768001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15715461429723136,"note":"Value kept but may cause issues"} 
[2026-08-23 18:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293533603840,"note":"Value kept but may cause issues"} 
[2026-08-23 18:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787490761000,"timestamp_ms":1787490761000,"timestamp_seconds":1787490761,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec07928"} 
[2026-08-23 18:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-23 18:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597632768001,"66":13015,"217":206,"83":42752,"24":7,"16":15715461429723136,"45":1959910293533603840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 18:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597632768001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:47:06] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 18:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15715461429723136,"km_value":15715461429723.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293533603840,"description":"Unknown IO ID 45"} 
[2026-08-23 18:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597632768001,"power":13015,"unknown_217":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1959910293533603840}} 
[2026-08-23 18:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":160977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:47:06] local.INFO: GPS data processed {"connection_id":160977,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:47:06] local.INFO: Acknowledgment sent {"connection_id":160977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:47:11] local.INFO: TCP Data received {"connection_id":161932,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:47:11] local.INFO: Processing buffer {"connection_id":161932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:47:11] local.INFO: Packet analysis {"connection_id":161932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec1"} 
[2026-08-23 18:47:11] local.INFO: Extracted packet for processing {"connection_id":161932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec1"} 
[2026-08-23 18:47:11] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597571328001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787490814000,"timestamp_ms":1787490814000,"timestamp_seconds":1787490814,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec14830"} 
[2026-08-23 18:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 18:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597571328001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597571328001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:47:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597571328001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":161932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:47:11] local.INFO: GPS data processed {"connection_id":161932,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:47:11] local.INFO: Acknowledgment sent {"connection_id":161932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:47:23] local.INFO: TCP Data received {"connection_id":163326,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:47:23] local.INFO: Processing buffer {"connection_id":163326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:47:23] local.INFO: Packet analysis {"connection_id":163326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:47:23] local.INFO: Extracted packet for processing {"connection_id":163326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:47:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597564672001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787490788000,"timestamp_ms":1787490788000,"timestamp_seconds":1787490788,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec0e2a0"} 
[2026-08-23 18:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:47: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-08-23 18:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 18:47:23] 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-08-23 18:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:47:23] 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-08-23 18:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597564672001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597564672001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:47:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:47:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597564672001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":163326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:47:23] local.INFO: GPS data processed {"connection_id":163326,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:47:23] local.INFO: Acknowledgment sent {"connection_id":163326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:47:29] local.INFO: TCP Data received {"connection_id":161933,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:47:29] local.INFO: Processing buffer {"connection_id":161933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:47:29] local.INFO: IMEI packet received {"connection_id":161933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":161933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:47:31] local.INFO: TCP Data received {"connection_id":161933,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:47:31] local.INFO: Processing buffer {"connection_id":161933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:47:31] local.INFO: IMEI packet received {"connection_id":161933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":161933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:47:34] local.INFO: TCP Data received {"connection_id":161933,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:47:34] local.INFO: Processing buffer {"connection_id":161933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:47:34] local.INFO: IMEI packet received {"connection_id":161933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":161933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:47:35] local.INFO: TCP Data received {"connection_id":161933,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec0cb30012d1b33800725bfb0002d015228..."} 
[2026-08-23 18:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec0cb30012d1b33800725bfb0002d015228..."} 
[2026-08-23 18:47:35] local.INFO: Processing buffer {"connection_id":161933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec0cb30012d1b33800725bfb0002d015228..."} 
[2026-08-23 18:47:35] local.INFO: Packet analysis {"connection_id":161933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:47:35] local.INFO: Extracted packet for processing {"connection_id":161933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:47:35] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119914416,"longitude_deg":75.6757376,"latitude_deg":11.9914416,"altitude":45,"angle":338,"satellites":40,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"0725bfb0","is_valid_coordinates":true} 
[2026-08-23 18:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597634816001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15715495789461504,"note":"Value kept but may cause issues"} 
[2026-08-23 18:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960332505999296512,"note":"Value kept but may cause issues"} 
[2026-08-23 18:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787490782000,"timestamp_ms":1787490782000,"timestamp_seconds":1787490782,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec0cb30"} 
[2026-08-23 18:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 18:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597634816001,"66":12939,"217":206,"83":42752,"24":0,"16":15715495789461504,"45":1960332505999296512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 18:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597634816001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:47:35] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 18:47:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15715495789461504,"km_value":15715495789461.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960332505999296512,"description":"Unknown IO ID 45"} 
[2026-08-23 18:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597634816001,"power":12939,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1960332505999296512}} 
[2026-08-23 18:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":161933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:47:35] local.INFO: GPS data processed {"connection_id":161933,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:47:35] local.INFO: Acknowledgment sent {"connection_id":161933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:47:39] local.INFO: TCP Data received {"connection_id":163327,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:47:39] local.INFO: Processing buffer {"connection_id":163327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:47:39] local.INFO: IMEI packet received {"connection_id":163327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":163327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:47:44] local.INFO: TCP Data received {"connection_id":163327,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:47:44] local.INFO: Processing buffer {"connection_id":163327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:47:44] local.INFO: IMEI packet received {"connection_id":163327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":163327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:47:45] local.INFO: TCP Data received {"connection_id":163327,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:47:45] local.INFO: Processing buffer {"connection_id":163327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:47:45] local.INFO: Packet analysis {"connection_id":163327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec1"} 
[2026-08-23 18:47:45] local.INFO: Extracted packet for processing {"connection_id":163327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec1"} 
[2026-08-23 18:47:45] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597571328001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787490814000,"timestamp_ms":1787490814000,"timestamp_seconds":1787490814,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec14830"} 
[2026-08-23 18:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 18:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597571328001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597571328001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:47:45] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:47:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597571328001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":163327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:47:45] local.INFO: GPS data processed {"connection_id":163327,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:47:45] local.INFO: Acknowledgment sent {"connection_id":163327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:47:45] local.INFO: TCP Data received {"connection_id":163328,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:47:45] local.INFO: Processing buffer {"connection_id":163328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:47:45] local.INFO: IMEI packet received {"connection_id":163328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":163328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:47:50] local.INFO: TCP Data received {"connection_id":163328,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:47:50] local.INFO: Processing buffer {"connection_id":163328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:47:50] local.INFO: IMEI packet received {"connection_id":163328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":163328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:47:51] local.INFO: TCP Data received {"connection_id":163328,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:47:51] local.INFO: Processing buffer {"connection_id":163328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:47:51] local.INFO: Packet analysis {"connection_id":163328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:47:51] local.INFO: Extracted packet for processing {"connection_id":163328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:47:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597564672001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787490788000,"timestamp_ms":1787490788000,"timestamp_seconds":1787490788,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec0e2a0"} 
[2026-08-23 18:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 18:47:51] 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-08-23 18:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597564672001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597564672001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:47:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:47:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597564672001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":163328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:47:51] local.INFO: GPS data processed {"connection_id":163328,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:47:51] local.INFO: Acknowledgment sent {"connection_id":163328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:48:01] local.INFO: TCP Data received {"connection_id":163327,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:48:01] local.INFO: Processing buffer {"connection_id":163327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec14830012d882dc005cf6dc00007008b2c..."} 
[2026-08-23 18:48:01] local.INFO: Packet analysis {"connection_id":163327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec1"} 
[2026-08-23 18:48:01] local.INFO: Extracted packet for processing {"connection_id":163327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec1"} 
[2026-08-23 18:48:01] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597571328001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787490814000,"timestamp_ms":1787490814000,"timestamp_seconds":1787490814,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec14830"} 
[2026-08-23 18:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 18:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":163327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":163327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":163327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597571328001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597571328001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:48:01] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:48:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597571328001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":163327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:48:01] local.INFO: GPS data processed {"connection_id":163327,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:48:01] local.INFO: Acknowledgment sent {"connection_id":163327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:48:06] local.INFO: TCP Data received {"connection_id":161933,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec11d38012d1b33800725bfb0002d015229..."} 
[2026-08-23 18:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec11d38012d1b33800725bfb0002d015229..."} 
[2026-08-23 18:48:06] local.INFO: Processing buffer {"connection_id":161933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec11d38012d1b33800725bfb0002d015229..."} 
[2026-08-23 18:48:06] local.INFO: Packet analysis {"connection_id":161933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec1"} 
[2026-08-23 18:48:06] local.INFO: Extracted packet for processing {"connection_id":161933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec1"} 
[2026-08-23 18:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119914416,"longitude_deg":75.6757376,"latitude_deg":11.9914416,"altitude":45,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"0725bfb0","is_valid_coordinates":true} 
[2026-08-23 18:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597640192001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15715495789461504,"note":"Value kept but may cause issues"} 
[2026-08-23 18:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051031022743552,"note":"Value kept but may cause issues"} 
[2026-08-23 18:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787490803000,"timestamp_ms":1787490803000,"timestamp_seconds":1787490803,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec11d38"} 
[2026-08-23 18:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-23 18:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597640192001,"66":13004,"217":206,"83":42752,"24":0,"16":15715495789461504,"45":1960051031022743552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 18:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597640192001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:48:06] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 18:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15715495789461504,"km_value":15715495789461.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051031022743552,"description":"Unknown IO ID 45"} 
[2026-08-23 18:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597640192001,"power":13004,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1960051031022743552}} 
[2026-08-23 18:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":161933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:48:06] local.INFO: GPS data processed {"connection_id":161933,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:48:06] local.INFO: Acknowledgment sent {"connection_id":161933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:48:23] local.INFO: TCP Data received {"connection_id":163328,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:48:23] local.INFO: Processing buffer {"connection_id":163328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec0e2a0012d34c58006aa4060000e011425..."} 
[2026-08-23 18:48:23] local.INFO: Packet analysis {"connection_id":163328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:48:23] local.INFO: Extracted packet for processing {"connection_id":163328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec0"} 
[2026-08-23 18:48:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597564672001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787490788000,"timestamp_ms":1787490788000,"timestamp_seconds":1787490788,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec0e2a0"} 
[2026-08-23 18:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:48: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-08-23 18:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 18:48:23] 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-08-23 18:48:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:48:23] 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-08-23 18:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597564672001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597564672001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:48:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:48:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597564672001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":163328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:48:23] local.INFO: GPS data processed {"connection_id":163328,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:48:23] local.INFO: Acknowledgment sent {"connection_id":163328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:48:34] local.INFO: TCP Data received {"connection_id":160978,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:48:34] local.INFO: Processing buffer {"connection_id":160978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:48:34] local.INFO: IMEI packet received {"connection_id":160978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":160978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:48:36] local.INFO: TCP Data received {"connection_id":160978,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:48:36] local.INFO: Processing buffer {"connection_id":160978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:48:36] local.INFO: IMEI packet received {"connection_id":160978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":160978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:48:37] local.INFO: TCP Data received {"connection_id":160978,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:48:37] local.INFO: Processing buffer {"connection_id":160978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:48:37] local.INFO: Packet analysis {"connection_id":160978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:48:37] local.INFO: Extracted packet for processing {"connection_id":160978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597648384001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787491115000,"timestamp_ms":1787491115000,"timestamp_seconds":1787491115,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec5dff8"} 
[2026-08-23 18:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:48:37] 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-08-23 18:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 18:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597648384001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597648384001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:48:37] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:48:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597648384001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":160978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:48:37] local.INFO: GPS data processed {"connection_id":160978,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:48:37] local.INFO: Acknowledgment sent {"connection_id":160978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:48:38] local.INFO: TCP Data received {"connection_id":163329,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:48:38] local.INFO: Processing buffer {"connection_id":163329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:48:38] local.INFO: IMEI packet received {"connection_id":163329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":163329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:48:38] local.INFO: TCP Data received {"connection_id":163329,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:48:38] local.INFO: Processing buffer {"connection_id":163329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:48:38] local.INFO: IMEI packet received {"connection_id":163329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":163329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:48:44] local.INFO: TCP Data received {"connection_id":163329,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:48:44] local.INFO: Processing buffer {"connection_id":163329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:48:44] local.INFO: IMEI packet received {"connection_id":163329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":163329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:48:45] local.INFO: TCP Data received {"connection_id":163330,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:48:45] local.INFO: Processing buffer {"connection_id":163330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:48:45] local.INFO: IMEI packet received {"connection_id":163330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":163330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:48:45] local.INFO: TCP Data received {"connection_id":163329,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec4a390012d1b33800725bfb0002d015229..."} 
[2026-08-23 18:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec4a390012d1b33800725bfb0002d015229..."} 
[2026-08-23 18:48:45] local.INFO: Processing buffer {"connection_id":163329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec4a390012d1b33800725bfb0002d015229..."} 
[2026-08-23 18:48:45] local.INFO: Packet analysis {"connection_id":163329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec4"} 
[2026-08-23 18:48:45] local.INFO: Extracted packet for processing {"connection_id":163329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec4"} 
[2026-08-23 18:48:45] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119914416,"longitude_deg":75.6757376,"latitude_deg":11.9914416,"altitude":45,"angle":338,"satellites":41,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"0725bfb0","is_valid_coordinates":true} 
[2026-08-23 18:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597699328001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15715495789461504,"note":"Value kept but may cause issues"} 
[2026-08-23 18:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051031022743552,"note":"Value kept but may cause issues"} 
[2026-08-23 18:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787491034000,"timestamp_ms":1787491034000,"timestamp_seconds":1787491034,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec4a390"} 
[2026-08-23 18:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:48:45] 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-08-23 18:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 18:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597699328001,"66":13798,"217":206,"83":42752,"24":0,"16":15715495789461504,"45":1960051031022743552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 18:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597699328001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:48:45] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 18:48:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15715495789461504,"km_value":15715495789461.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051031022743552,"description":"Unknown IO ID 45"} 
[2026-08-23 18:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597699328001,"power":13798,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1960051031022743552}} 
[2026-08-23 18:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":163329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:48:45] local.INFO: GPS data processed {"connection_id":163329,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:48:45] local.INFO: Acknowledgment sent {"connection_id":163329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:48:48] local.INFO: TCP Data received {"connection_id":163330,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:48:48] local.INFO: Processing buffer {"connection_id":163330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:48:48] local.INFO: IMEI packet received {"connection_id":163330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":163330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:48:50] local.INFO: TCP Data received {"connection_id":163330,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:48:50] local.INFO: Processing buffer {"connection_id":163330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:48:50] local.INFO: IMEI packet received {"connection_id":163330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":163330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:48:51] local.INFO: TCP Data received {"connection_id":163330,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:48:51] local.INFO: Processing buffer {"connection_id":163330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:48:51] local.INFO: Packet analysis {"connection_id":163330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:48:51] local.INFO: Extracted packet for processing {"connection_id":163330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:48:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":11,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597641728001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787491089000,"timestamp_ms":1787491089000,"timestamp_seconds":1787491089,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec57a68"} 
[2026-08-23 18:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 18:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:48:51] 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-08-23 18:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597641728001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597641728001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:48:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:48:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597641728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":163330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:48:51] local.INFO: GPS data processed {"connection_id":163330,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:48:51] local.INFO: Acknowledgment sent {"connection_id":163330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:49:08] local.INFO: TCP Data received {"connection_id":160978,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:49:08] local.INFO: Processing buffer {"connection_id":160978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:49:08] local.INFO: Packet analysis {"connection_id":160978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:49:08] local.INFO: Extracted packet for processing {"connection_id":160978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:49:08] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597648384001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787491115000,"timestamp_ms":1787491115000,"timestamp_seconds":1787491115,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec5dff8"} 
[2026-08-23 18:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:49:08] 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-08-23 18: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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 18:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597648384001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597648384001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:49:08] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:49:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597648384001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":160978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:49:08] local.INFO: GPS data processed {"connection_id":160978,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:49:08] local.INFO: Acknowledgment sent {"connection_id":160978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:49:23] local.INFO: TCP Data received {"connection_id":163330,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:49:23] local.INFO: Processing buffer {"connection_id":163330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:49:23] local.INFO: Packet analysis {"connection_id":163330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:49:23] local.INFO: Extracted packet for processing {"connection_id":163330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:49:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":11,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597641728001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787491089000,"timestamp_ms":1787491089000,"timestamp_seconds":1787491089,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec57a68"} 
[2026-08-23 18:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 18:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:49:23] 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-08-23 18:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597641728001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597641728001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:49:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:49:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597641728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":163330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:49:23] local.INFO: GPS data processed {"connection_id":163330,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:49:23] local.INFO: Acknowledgment sent {"connection_id":163330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:49:28] local.INFO: TCP Data received {"connection_id":160979,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:49:28] local.INFO: Processing buffer {"connection_id":160979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:49:28] local.INFO: IMEI packet received {"connection_id":160979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":160979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:49:33] local.INFO: TCP Data received {"connection_id":160979,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:49:33] local.INFO: Processing buffer {"connection_id":160979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:49:33] local.INFO: IMEI packet received {"connection_id":160979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":160979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:49:34] local.INFO: TCP Data received {"connection_id":161934,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:49:34] local.INFO: Processing buffer {"connection_id":161934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:49:34] local.INFO: IMEI packet received {"connection_id":161934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":161934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:49:34] local.INFO: TCP Data received {"connection_id":160979,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec5c888012d1b38800725b648002f00b729..."} 
[2026-08-23 18:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec5c888012d1b38800725b648002f00b729..."} 
[2026-08-23 18:49:34] local.INFO: Processing buffer {"connection_id":160979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec5c888012d1b38800725b648002f00b729..."} 
[2026-08-23 18:49:34] local.INFO: Packet analysis {"connection_id":160979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:49:34] local.INFO: Extracted packet for processing {"connection_id":160979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:49:34] local.INFO: GPS Element Parsed {"raw_longitude":756758656,"raw_latitude":119912008,"longitude_deg":75.6758656,"latitude_deg":11.9912008,"altitude":47,"angle":183,"satellites":41,"speed":15,"hex_longitude":"2d1b3880","hex_latitude":"0725b648","is_valid_coordinates":true} 
[2026-08-23 18:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597722880001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15716298948345856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961950987115378688,"note":"Value kept but may cause issues"} 
[2026-08-23 18:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787491109000,"timestamp_ms":1787491109000,"timestamp_seconds":1787491109,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec5c888"} 
[2026-08-23 18:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:49:34] 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-08-23 18:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-23 18:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597722880001,"66":13993,"217":206,"83":42752,"24":15,"16":15716298948345856,"45":1961950987115378688},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 18:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597722880001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:49:34] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 18:49:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15716298948345856,"km_value":15716298948345.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961950987115378688,"description":"Unknown IO ID 45"} 
[2026-08-23 18:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597722880001,"power":13993,"unknown_217":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1961950987115378688}} 
[2026-08-23 18:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":160979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:49:34] local.INFO: GPS data processed {"connection_id":160979,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:49:34] local.INFO: Acknowledgment sent {"connection_id":160979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:49:39] local.INFO: TCP Data received {"connection_id":161934,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:49:39] local.INFO: Processing buffer {"connection_id":161934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:49:39] local.INFO: IMEI packet received {"connection_id":161934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":161934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:49:40] local.INFO: TCP Data received {"connection_id":161934,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:49:40] local.INFO: Processing buffer {"connection_id":161934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:49:40] local.INFO: Packet analysis {"connection_id":161934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:49:40] local.INFO: Extracted packet for processing {"connection_id":161934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:49:40] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597648384001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787491115000,"timestamp_ms":1787491115000,"timestamp_seconds":1787491115,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec5dff8"} 
[2026-08-23 18:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:49:40] 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-08-23 18:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 18:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597648384001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597648384001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:49:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:49:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597648384001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":161934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:49:40] local.INFO: GPS data processed {"connection_id":161934,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:49:40] local.INFO: Acknowledgment sent {"connection_id":161934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:49:50] local.INFO: TCP Data received {"connection_id":160732,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:49:50] local.INFO: Processing buffer {"connection_id":160732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:49:50] local.INFO: IMEI packet received {"connection_id":160732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":160732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:49:55] local.INFO: TCP Data received {"connection_id":160732,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:49:55] local.INFO: Processing buffer {"connection_id":160732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:49:55] local.INFO: IMEI packet received {"connection_id":160732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":160732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:49:56] local.INFO: TCP Data received {"connection_id":160732,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:49:56] local.INFO: Processing buffer {"connection_id":160732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:49:56] local.INFO: Packet analysis {"connection_id":160732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:49:56] local.INFO: Extracted packet for processing {"connection_id":160732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:49:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":11,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597641728001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787491089000,"timestamp_ms":1787491089000,"timestamp_seconds":1787491089,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec57a68"} 
[2026-08-23 18:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 18:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597641728001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597641728001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:49:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:49:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597641728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":160732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:49:56] local.INFO: GPS data processed {"connection_id":160732,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:49:56] local.INFO: Acknowledgment sent {"connection_id":160732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:50:02] local.INFO: TCP Data received {"connection_id":160732,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:50:02] local.INFO: Processing buffer {"connection_id":160732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:50:02] local.INFO: Packet analysis {"connection_id":160732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:50:02] local.INFO: Extracted packet for processing {"connection_id":160732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:50:02] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":11,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597641728001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787491089000,"timestamp_ms":1787491089000,"timestamp_seconds":1787491089,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec57a68"} 
[2026-08-23 18:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 18:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597641728001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597641728001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:50:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:50:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597641728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":160732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:50:02] local.INFO: GPS data processed {"connection_id":160732,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:50:02] local.INFO: Acknowledgment sent {"connection_id":160732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:50:05] local.INFO: TCP Data received {"connection_id":160979,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec5dc10012d1b39000725af28003000ab26..."} 
[2026-08-23 18:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec5dc10012d1b39000725af28003000ab26..."} 
[2026-08-23 18:50:05] local.INFO: Processing buffer {"connection_id":160979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec5dc10012d1b39000725af28003000ab26..."} 
[2026-08-23 18:50:05] local.INFO: Packet analysis {"connection_id":160979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:50:05] local.INFO: Extracted packet for processing {"connection_id":160979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756758784,"raw_latitude":119910184,"longitude_deg":75.6758784,"latitude_deg":11.9910184,"altitude":48,"angle":171,"satellites":38,"speed":11,"hex_longitude":"2d1b3900","hex_latitude":"0725af28","is_valid_coordinates":true} 
[2026-08-23 18:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597723904001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15716389142659072,"note":"Value kept but may cause issues"} 
[2026-08-23 18:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961458405905680384,"note":"Value kept but may cause issues"} 
[2026-08-23 18:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787491114000,"timestamp_ms":1787491114000,"timestamp_seconds":1787491114,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec5dc10"} 
[2026-08-23 18:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:50: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-08-23 18:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-23 18:50:05] 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-08-23 18:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597723904001,"66":14135,"217":206,"83":42752,"24":11,"16":15716389142659072,"45":1961458405905680384},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 18:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597723904001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:50:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 18:50:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15716389142659072,"km_value":15716389142659.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961458405905680384,"description":"Unknown IO ID 45"} 
[2026-08-23 18:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597723904001,"power":14135,"unknown_217":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1961458405905680384}} 
[2026-08-23 18:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":160979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:50:05] local.INFO: GPS data processed {"connection_id":160979,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:50:05] local.INFO: Acknowledgment sent {"connection_id":160979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:50:11] local.INFO: TCP Data received {"connection_id":161934,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:50:11] local.INFO: Processing buffer {"connection_id":161934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:50:11] local.INFO: Packet analysis {"connection_id":161934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:50:11] local.INFO: Extracted packet for processing {"connection_id":161934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:50:11] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597648384001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787491115000,"timestamp_ms":1787491115000,"timestamp_seconds":1787491115,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec5dff8"} 
[2026-08-23 18:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:50:11] 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-08-23 18:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 18:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597648384001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597648384001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:50:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597648384001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":161934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:50:11] local.INFO: GPS data processed {"connection_id":161934,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:50:11] local.INFO: Acknowledgment sent {"connection_id":161934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:50:34] local.INFO: TCP Data received {"connection_id":163331,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:50:34] local.INFO: Processing buffer {"connection_id":163331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:50:34] local.INFO: IMEI packet received {"connection_id":163331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":163331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:50:39] local.INFO: TCP Data received {"connection_id":163331,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:50:39] local.INFO: Processing buffer {"connection_id":163331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:50:39] local.INFO: IMEI packet received {"connection_id":163331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":163331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:50:40] local.INFO: TCP Data received {"connection_id":163331,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:50:40] local.INFO: Processing buffer {"connection_id":163331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:50:40] local.INFO: Packet analysis {"connection_id":163331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:50:40] local.INFO: Extracted packet for processing {"connection_id":163331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:50:40] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 18:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597648384001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787491115000,"timestamp_ms":1787491115000,"timestamp_seconds":1787491115,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec5dff8"} 
[2026-08-23 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-08-23 18:50:40] 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-08-23 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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 18:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 18:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597648384001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597648384001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:50:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597648384001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":163331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:50:40] local.INFO: GPS data processed {"connection_id":163331,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:50:40] local.INFO: Acknowledgment sent {"connection_id":163331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:50:45] local.INFO: TCP Data received {"connection_id":160733,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:50:45] local.INFO: Processing buffer {"connection_id":160733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:50:45] local.INFO: IMEI packet received {"connection_id":160733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":160733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:50:50] local.INFO: TCP Data received {"connection_id":160733,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:50:50] local.INFO: Processing buffer {"connection_id":160733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:50:50] local.INFO: IMEI packet received {"connection_id":160733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":160733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:50:51] local.INFO: TCP Data received {"connection_id":160733,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:50:51] local.INFO: Processing buffer {"connection_id":160733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:50:51] local.INFO: Packet analysis {"connection_id":160733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:50:51] local.INFO: Extracted packet for processing {"connection_id":160733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:50:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":11,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597641728001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787491089000,"timestamp_ms":1787491089000,"timestamp_seconds":1787491089,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec57a68"} 
[2026-08-23 18:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 18:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597641728001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597641728001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:50:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:50:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597641728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":160733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:50:51] local.INFO: GPS data processed {"connection_id":160733,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:50:51] local.INFO: Acknowledgment sent {"connection_id":160733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:51:03] local.INFO: TCP Data received {"connection_id":161935,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:51:03] local.INFO: Processing buffer {"connection_id":161935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:51:03] local.INFO: IMEI packet received {"connection_id":161935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":161935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:51:08] local.INFO: TCP Data received {"connection_id":161935,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:51:08] local.INFO: Processing buffer {"connection_id":161935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:51:08] local.INFO: IMEI packet received {"connection_id":161935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":161935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:51:09] local.INFO: TCP Data received {"connection_id":161935,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec5f768012d1b3bc00725a3580030009d29..."} 
[2026-08-23 18:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec5f768012d1b3bc00725a3580030009d29..."} 
[2026-08-23 18:51:09] local.INFO: Processing buffer {"connection_id":161935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec5f768012d1b3bc00725a3580030009d29..."} 
[2026-08-23 18:51:09] local.INFO: Packet analysis {"connection_id":161935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:51:09] local.INFO: Extracted packet for processing {"connection_id":161935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:51:09] local.INFO: GPS Element Parsed {"raw_longitude":756759488,"raw_latitude":119907160,"longitude_deg":75.6759488,"latitude_deg":11.990716,"altitude":48,"angle":157,"satellites":41,"speed":26,"hex_longitude":"2d1b3bc0","hex_latitude":"0725a358","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597725184001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15716539466514432,"note":"Value kept but may cause issues"} 
[2026-08-23 18:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961599143393568768,"note":"Value kept but may cause issues"} 
[2026-08-23 18:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787491121000,"timestamp_ms":1787491121000,"timestamp_seconds":1787491121,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec5f768"} 
[2026-08-23 18:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:51: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-08-23 18: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-23 18:51:09] 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-08-23 18: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-08-23 18:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597725184001,"66":14048,"217":206,"83":42752,"24":26,"16":15716539466514432,"45":1961599143393568768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-23 18:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597725184001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:51:09] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-23 18:51:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15716539466514432,"km_value":15716539466514.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961599143393568768,"description":"Unknown IO ID 45"} 
[2026-08-23 18:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597725184001,"power":14048,"unknown_217":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":1961599143393568768}} 
[2026-08-23 18:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":161935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:51:10] local.INFO: GPS data processed {"connection_id":161935,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:51:10] local.INFO: Acknowledgment sent {"connection_id":161935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:51:11] local.INFO: TCP Data received {"connection_id":163331,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:51:11] local.INFO: Processing buffer {"connection_id":163331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:51:11] local.INFO: Packet analysis {"connection_id":163331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:51:11] local.INFO: Extracted packet for processing {"connection_id":163331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:51:11] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597648384001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787491115000,"timestamp_ms":1787491115000,"timestamp_seconds":1787491115,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec5dff8"} 
[2026-08-23 18:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:51:11] 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-08-23 18:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 18:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597648384001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597648384001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:51:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597648384001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":163331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:51:11] local.INFO: GPS data processed {"connection_id":163331,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:51:11] local.INFO: Acknowledgment sent {"connection_id":163331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:51:23] local.INFO: TCP Data received {"connection_id":160733,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:51:23] local.INFO: Processing buffer {"connection_id":160733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:51:23] local.INFO: Packet analysis {"connection_id":160733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:51:23] local.INFO: Extracted packet for processing {"connection_id":160733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:51:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":11,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597641728001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787491089000,"timestamp_ms":1787491089000,"timestamp_seconds":1787491089,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec57a68"} 
[2026-08-23 18:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 18:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597641728001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597641728001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:51:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:51:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597641728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":160733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:51:24] local.INFO: GPS data processed {"connection_id":160733,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:51:24] local.INFO: Acknowledgment sent {"connection_id":160733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:51:34] local.INFO: TCP Data received {"connection_id":161936,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:51:34] local.INFO: Processing buffer {"connection_id":161936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:51:34] local.INFO: IMEI packet received {"connection_id":161936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":161936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:51:39] local.INFO: TCP Data received {"connection_id":160980,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:51:39] local.INFO: Processing buffer {"connection_id":160980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:51:39] local.INFO: IMEI packet received {"connection_id":160980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":160980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:51:39] local.INFO: TCP Data received {"connection_id":161936,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:51:39] local.INFO: Processing buffer {"connection_id":161936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:51:39] local.INFO: IMEI packet received {"connection_id":161936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":161936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:51:39] local.INFO: TCP Data received {"connection_id":160980,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:51:39] local.INFO: Processing buffer {"connection_id":160980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:51:39] local.INFO: IMEI packet received {"connection_id":160980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":160980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:51:40] local.INFO: TCP Data received {"connection_id":161936,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:51:40] local.INFO: Processing buffer {"connection_id":161936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:51:40] local.INFO: Packet analysis {"connection_id":161936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:51:40] local.INFO: Extracted packet for processing {"connection_id":161936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:51:40] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597648384001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787491115000,"timestamp_ms":1787491115000,"timestamp_seconds":1787491115,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec5dff8"} 
[2026-08-23 18:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:51:40] 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-08-23 18: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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 18:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597648384001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597648384001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:51:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597648384001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":161936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:51:40] local.INFO: GPS data processed {"connection_id":161936,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:51:40] local.INFO: Acknowledgment sent {"connection_id":161936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:51:44] local.INFO: TCP Data received {"connection_id":160980,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:51:44] local.INFO: Processing buffer {"connection_id":160980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:51:44] local.INFO: IMEI packet received {"connection_id":160980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":160980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:51:45] local.INFO: TCP Data received {"connection_id":160980,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec7b0d0012d1b59800724f418002c00a824..."} 
[2026-08-23 18:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec7b0d0012d1b59800724f418002c00a824..."} 
[2026-08-23 18:51:45] local.INFO: Processing buffer {"connection_id":160980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec7b0d0012d1b59800724f418002c00a824..."} 
[2026-08-23 18:51:45] local.INFO: Packet analysis {"connection_id":160980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec7"} 
[2026-08-23 18:51:45] local.INFO: Extracted packet for processing {"connection_id":160980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec7"} 
[2026-08-23 18:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":119862296,"longitude_deg":75.6767104,"latitude_deg":11.9862296,"altitude":44,"angle":168,"satellites":36,"speed":24,"hex_longitude":"2d1b5980","hex_latitude":"0724f418","is_valid_coordinates":true} 
[2026-08-23 18:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597754880001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970395236404097024,"note":"Value kept but may cause issues"} 
[2026-08-23 18:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15718901698527232,"note":"Value kept but may cause issues"} 
[2026-08-23 18:51:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-23 18:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787491234000,"timestamp_ms":1787491234000,"timestamp_seconds":1787491234,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec7b0d0"} 
[2026-08-23 18:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:51:45] 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-08-23 18:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-23 18:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597754880001,"66":13080,"45":1970395236404097024,"83":41984,"24":24,"16":15718901698527232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-08-23 18:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597754880001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970395236404097024,"description":"Unknown IO ID 45"} 
[2026-08-23 18:51:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 18:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15718901698527232,"km_value":15718901698527.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:51:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457597754880001,"power":13080,"unknown_45":1970395236404097024,"unknown_83":41984,"ignition":24,"odometer":null}} 
[2026-08-23 18:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":160980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:51:45] local.INFO: GPS data processed {"connection_id":160980,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:51:45] local.INFO: Acknowledgment sent {"connection_id":160980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:51:45] local.INFO: TCP Data received {"connection_id":160734,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:51:45] local.INFO: Processing buffer {"connection_id":160734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:51:45] local.INFO: IMEI packet received {"connection_id":160734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":160734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:51:50] local.INFO: TCP Data received {"connection_id":160734,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:51:50] local.INFO: Processing buffer {"connection_id":160734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:51:50] local.INFO: IMEI packet received {"connection_id":160734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":160734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:51:51] local.INFO: TCP Data received {"connection_id":160734,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:51:51] local.INFO: Processing buffer {"connection_id":160734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:51:51] local.INFO: Packet analysis {"connection_id":160734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:51:51] local.INFO: Extracted packet for processing {"connection_id":160734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:51:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":11,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597641728001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787491089000,"timestamp_ms":1787491089000,"timestamp_seconds":1787491089,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec57a68"} 
[2026-08-23 18:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 18:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597641728001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597641728001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:51:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:51:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597641728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":160734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:51:51] local.INFO: GPS data processed {"connection_id":160734,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:51:51] local.INFO: Acknowledgment sent {"connection_id":160734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:52:11] local.INFO: TCP Data received {"connection_id":161936,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:52:11] local.INFO: Processing buffer {"connection_id":161936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:52:11] local.INFO: Packet analysis {"connection_id":161936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:52:11] local.INFO: Extracted packet for processing {"connection_id":161936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:52:11] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597648384001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787491115000,"timestamp_ms":1787491115000,"timestamp_seconds":1787491115,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec5dff8"} 
[2026-08-23 18:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:52:11] 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-08-23 18: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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 18:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597648384001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597648384001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:52:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597648384001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":161936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:52:11] local.INFO: GPS data processed {"connection_id":161936,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:52:11] local.INFO: Acknowledgment sent {"connection_id":161936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:52:23] local.INFO: TCP Data received {"connection_id":160734,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:52:23] local.INFO: Processing buffer {"connection_id":160734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:52:23] local.INFO: Packet analysis {"connection_id":160734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:52:23] local.INFO: Extracted packet for processing {"connection_id":160734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:52:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":11,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597641728001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787491089000,"timestamp_ms":1787491089000,"timestamp_seconds":1787491089,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec57a68"} 
[2026-08-23 18:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 18:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:52:23] 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-08-23 18:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597641728001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597641728001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:52:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:52:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597641728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":160734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:52:23] local.INFO: GPS data processed {"connection_id":160734,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:52:23] local.INFO: Acknowledgment sent {"connection_id":160734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:52:28] local.INFO: TCP Data received {"connection_id":160981,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:52:28] local.INFO: Processing buffer {"connection_id":160981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:52:28] local.INFO: IMEI packet received {"connection_id":160981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":160981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:52:32] local.INFO: TCP Data received {"connection_id":160981,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:52:32] local.INFO: Processing buffer {"connection_id":160981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:52:32] local.INFO: IMEI packet received {"connection_id":160981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":160981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:52:33] local.INFO: TCP Data received {"connection_id":160981,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:52:33] local.INFO: Processing buffer {"connection_id":160981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:52:33] local.INFO: IMEI packet received {"connection_id":160981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":160981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:52:34] local.INFO: TCP Data received {"connection_id":160981,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec87038012d1b2c80072490d0002a008626..."} 
[2026-08-23 18:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec87038012d1b2c80072490d0002a008626..."} 
[2026-08-23 18:52:34] local.INFO: Processing buffer {"connection_id":160981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec87038012d1b2c80072490d0002a008626..."} 
[2026-08-23 18:52:34] local.INFO: Packet analysis {"connection_id":160981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec8"} 
[2026-08-23 18:52:34] local.INFO: Extracted packet for processing {"connection_id":160981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec8"} 
[2026-08-23 18:52:34] local.INFO: GPS Element Parsed {"raw_longitude":756755584,"raw_latitude":119836880,"longitude_deg":75.6755584,"latitude_deg":11.983688,"altitude":42,"angle":134,"satellites":38,"speed":21,"hex_longitude":"2d1b2c80","hex_latitude":"072490d0","is_valid_coordinates":true} 
[2026-08-23 18:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597768192001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15720396347146240,"note":"Value kept but may cause issues"} 
[2026-08-23 18:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1957658493700958208,"note":"Value kept but may cause issues"} 
[2026-08-23 18:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787491283000,"timestamp_ms":1787491283000,"timestamp_seconds":1787491283,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec87038"} 
[2026-08-23 18:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:52:34] 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-08-23 18:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-23 18:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597768192001,"66":13493,"136":206,"83":42752,"24":21,"16":15720396347146240,"45":1957658493700958208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-23 18:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597768192001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:52:34] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-23 18:52:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15720396347146240,"km_value":15720396347146.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1957658493700958208,"description":"Unknown IO ID 45"} 
[2026-08-23 18:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597768192001,"power":13493,"unknown_136":206,"unknown_83":42752,"ignition":21,"odometer":null,"unknown_45":1957658493700958208}} 
[2026-08-23 18:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":160981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:52:34] local.INFO: GPS data processed {"connection_id":160981,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:52:34] local.INFO: Acknowledgment sent {"connection_id":160981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:52:39] local.INFO: TCP Data received {"connection_id":163332,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163332,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:52:39] local.INFO: Processing buffer {"connection_id":163332,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:52:39] local.INFO: IMEI packet received {"connection_id":163332,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":163332,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:52:44] local.INFO: TCP Data received {"connection_id":163332,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163332,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:52:44] local.INFO: Processing buffer {"connection_id":163332,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:52:44] local.INFO: IMEI packet received {"connection_id":163332,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":163332,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:52:45] local.INFO: TCP Data received {"connection_id":163332,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:52:45] local.INFO: Processing buffer {"connection_id":163332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:52:45] local.INFO: Packet analysis {"connection_id":163332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:52:45] local.INFO: Extracted packet for processing {"connection_id":163332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:52:45] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597648384001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787491115000,"timestamp_ms":1787491115000,"timestamp_seconds":1787491115,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec5dff8"} 
[2026-08-23 18:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:52:45] 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-08-23 18: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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 18:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597648384001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597648384001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:52:45] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:52:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597648384001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":163332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:52:45] local.INFO: GPS data processed {"connection_id":163332,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:52:45] local.INFO: Acknowledgment sent {"connection_id":163332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:52:45] local.INFO: TCP Data received {"connection_id":161937,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:52:45] local.INFO: Processing buffer {"connection_id":161937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:52:45] local.INFO: IMEI packet received {"connection_id":161937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":161937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:52:49] local.INFO: TCP Data received {"connection_id":163332,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:52:49] local.INFO: Processing buffer {"connection_id":163332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec5dff8012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 18:52:49] local.INFO: Packet analysis {"connection_id":163332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:52:49] local.INFO: Extracted packet for processing {"connection_id":163332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:52:49] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597648384001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787491115000,"timestamp_ms":1787491115000,"timestamp_seconds":1787491115,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec5dff8"} 
[2026-08-23 18:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:52:49] 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-08-23 18: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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 18:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597648384001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597648384001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:52:49] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:52:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597648384001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":163332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:52:49] local.INFO: GPS data processed {"connection_id":163332,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:52:49] local.INFO: Acknowledgment sent {"connection_id":163332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:52:51] local.INFO: TCP Data received {"connection_id":161937,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:52:51] local.INFO: Processing buffer {"connection_id":161937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:52:51] local.INFO: IMEI packet received {"connection_id":161937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":161937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:52:52] local.INFO: TCP Data received {"connection_id":161937,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:52:52] local.INFO: Processing buffer {"connection_id":161937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:52:52] local.INFO: Packet analysis {"connection_id":161937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:52:52] local.INFO: Extracted packet for processing {"connection_id":161937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":11,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597641728001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787491089000,"timestamp_ms":1787491089000,"timestamp_seconds":1787491089,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec57a68"} 
[2026-08-23 18:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 18:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:52:52] 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-08-23 18:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597641728001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597641728001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:52:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597641728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":161937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:52:52] local.INFO: GPS data processed {"connection_id":161937,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:52:52] local.INFO: Acknowledgment sent {"connection_id":161937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:53:05] local.INFO: TCP Data received {"connection_id":160981,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec87bf0012d1b330007248c70002a007927..."} 
[2026-08-23 18:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec87bf0012d1b330007248c70002a007927..."} 
[2026-08-23 18:53:05] local.INFO: Processing buffer {"connection_id":160981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec87bf0012d1b330007248c70002a007927..."} 
[2026-08-23 18:53:05] local.INFO: Packet analysis {"connection_id":160981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec8"} 
[2026-08-23 18:53:05] local.INFO: Extracted packet for processing {"connection_id":160981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec8"} 
[2026-08-23 18:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119835760,"longitude_deg":75.6757248,"latitude_deg":11.983576,"altitude":42,"angle":121,"satellites":39,"speed":28,"hex_longitude":"2d1b3300","hex_latitude":"07248c70","is_valid_coordinates":true} 
[2026-08-23 18:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597768448001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15720490836426752,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958080706165919744,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787491286000,"timestamp_ms":1787491286000,"timestamp_seconds":1787491286,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec87bf0"} 
[2026-08-23 18:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:53: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-08-23 18:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-23 18:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597768448001,"66":13580,"136":206,"83":42752,"24":28,"16":15720490836426752,"45":1958080706165919744},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-23 18:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597768448001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:53:05] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-23 18:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15720490836426752,"km_value":15720490836426.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958080706165919744,"description":"Unknown IO ID 45"} 
[2026-08-23 18:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597768448001,"power":13580,"unknown_136":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1958080706165919744}} 
[2026-08-23 18:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":160981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:53:05] local.INFO: GPS data processed {"connection_id":160981,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:53:05] local.INFO: Acknowledgment sent {"connection_id":160981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:53:24] local.INFO: TCP Data received {"connection_id":161937,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:53:24] local.INFO: Processing buffer {"connection_id":161937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec57a68012d34c58006aa4060000b01141f..."} 
[2026-08-23 18:53:24] local.INFO: Packet analysis {"connection_id":161937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:53:24] local.INFO: Extracted packet for processing {"connection_id":161937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec5"} 
[2026-08-23 18:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":11,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597641728001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787491089000,"timestamp_ms":1787491089000,"timestamp_seconds":1787491089,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec57a68"} 
[2026-08-23 18:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 18:53: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-08-23 18:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:53: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-08-23 18:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597641728001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597641728001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:53:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597641728001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":161937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:53:24] local.INFO: GPS data processed {"connection_id":161937,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:53:24] local.INFO: Acknowledgment sent {"connection_id":161937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:53:29] local.INFO: TCP Data received {"connection_id":160982,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:53:29] local.INFO: Processing buffer {"connection_id":160982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:53:29] local.INFO: IMEI packet received {"connection_id":160982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":160982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:53:32] local.INFO: TCP Data received {"connection_id":160982,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:53:32] local.INFO: Processing buffer {"connection_id":160982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:53:32] local.INFO: IMEI packet received {"connection_id":160982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":160982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:53:33] local.INFO: TCP Data received {"connection_id":160982,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec89f18012d1b494007247e200027008527..."} 
[2026-08-23 18:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec89f18012d1b494007247e200027008527..."} 
[2026-08-23 18:53:33] local.INFO: Processing buffer {"connection_id":160982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec89f18012d1b494007247e200027008527..."} 
[2026-08-23 18:53:33] local.INFO: Packet analysis {"connection_id":160982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec8"} 
[2026-08-23 18:53:33] local.INFO: Extracted packet for processing {"connection_id":160982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec8"} 
[2026-08-23 18:53:33] local.INFO: GPS Element Parsed {"raw_longitude":756762944,"raw_latitude":119832096,"longitude_deg":75.6762944,"latitude_deg":11.9832096,"altitude":39,"angle":133,"satellites":39,"speed":28,"hex_longitude":"2d1b4940","hex_latitude":"07247e20","is_valid_coordinates":true} 
[2026-08-23 18:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597769216001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15720812958973952,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293514252288,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787491295000,"timestamp_ms":1787491295000,"timestamp_seconds":1787491295,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec89f18"} 
[2026-08-23 18:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-23 18:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751527897,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:33] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2449473536,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:33] local.WARNING: Large IO value detected {"io_id":42,"raw_value":3221693591,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:33] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3362029569,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:33] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2511863850,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132241288,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535639758,"corrected_to":0} 
[2026-08-23 18:53:33] local.WARNING: Large IO value detected {"io_id":96,"raw_value":2550213915,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:33] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-8502570303468024237,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:33] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:33] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3649634304,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:33] local.WARNING: Large IO value detected {"io_id":27,"raw_value":5512413798095388712,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:33] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755502520402161,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:33] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,136,83,24,241,157,16,217,160,112,45,128,144,42,38,10,66,108,146,39,104,1,240,138,227,46,36,4,113,205,17,96,88,40,239,52,2,55,7,41,27,167],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1535639758,"validated":0}]} 
[2026-08-23 18:53:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026552158005493760,"timestamp_seconds":3026552158005494.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 18:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597769216001,"66":13798,"136":206,"83":42752,"24":28,"16":15720812958973952,"45":1959910293514252288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-23 18:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597769216001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:53:33] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-23 18:53:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15720812958973952,"km_value":15720812958973.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293514252288,"description":"Unknown IO ID 45"} 
[2026-08-23 18:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597769216001,"power":13798,"unknown_136":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1959910293514252288}} 
[2026-08-23 18:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":160982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:53:33] local.INFO: GPS data processed {"connection_id":160982,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:53:33] local.INFO: Acknowledgment sent {"connection_id":160982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:53:34] local.INFO: TCP Data received {"connection_id":160982,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec8c628012d1b6280072462d80025008a23..."} 
[2026-08-23 18:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec8c628012d1b6280072462d80025008a23..."} 
[2026-08-23 18:53:34] local.INFO: Processing buffer {"connection_id":160982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec8c628012d1b6280072462d80025008a23..."} 
[2026-08-23 18:53:34] local.INFO: Packet analysis {"connection_id":160982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec8"} 
[2026-08-23 18:53:34] local.INFO: Extracted packet for processing {"connection_id":160982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec8"} 
[2026-08-23 18:53:34] local.INFO: GPS Element Parsed {"raw_longitude":756769408,"raw_latitude":119825112,"longitude_deg":75.6769408,"latitude_deg":11.9825112,"altitude":37,"angle":138,"satellites":35,"speed":42,"hex_longitude":"2d1b6280","hex_latitude":"072462d8","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597771520001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15721272520474624,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966173111745126400,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787491305000,"timestamp_ms":1787491305000,"timestamp_seconds":1787491305,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec8c628"} 
[2026-08-23 18:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:53:34] 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-08-23 18: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-23 18:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597771520001,"66":13678,"136":206,"83":42752,"24":42,"16":15721272520474624,"45":1966173111745126400},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-23 18:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597771520001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:53:34] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-23 18:53:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15721272520474624,"km_value":15721272520474.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966173111745126400,"description":"Unknown IO ID 45"} 
[2026-08-23 18:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597771520001,"power":13678,"unknown_136":206,"unknown_83":42752,"ignition":42,"odometer":null,"unknown_45":1966173111745126400}} 
[2026-08-23 18:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":160982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:53:34] local.INFO: GPS data processed {"connection_id":160982,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:53:34] local.INFO: Acknowledgment sent {"connection_id":160982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:53:34] local.INFO: TCP Data received {"connection_id":161938,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:53:34] local.INFO: Processing buffer {"connection_id":161938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:53:34] local.INFO: IMEI packet received {"connection_id":161938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":161938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:53:37] local.INFO: TCP Data received {"connection_id":161938,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:53:37] local.INFO: Processing buffer {"connection_id":161938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:53:37] local.INFO: IMEI packet received {"connection_id":161938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":161938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:53:38] local.INFO: TCP Data received {"connection_id":161938,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:53:38] local.INFO: Processing buffer {"connection_id":161938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:53:38] local.INFO: Packet analysis {"connection_id":161938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:53:38] local.INFO: Extracted packet for processing {"connection_id":161938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:53:38] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":42,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597725440001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787491416000,"timestamp_ms":1787491416000,"timestamp_seconds":1787491416,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca77c0"} 
[2026-08-23 18:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 18:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597725440001,"66":2231,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597725440001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:53:38] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597725440001,"power":2231,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":161938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:53:38] local.INFO: GPS data processed {"connection_id":161938,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:53:38] local.INFO: Acknowledgment sent {"connection_id":161938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:53:45] local.INFO: TCP Data received {"connection_id":163333,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:53:45] local.INFO: Processing buffer {"connection_id":163333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:53:45] local.INFO: IMEI packet received {"connection_id":163333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":163333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:53:48] local.INFO: TCP Data received {"connection_id":163333,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:53:48] local.INFO: Processing buffer {"connection_id":163333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:53:48] local.INFO: IMEI packet received {"connection_id":163333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":163333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:53:50] local.INFO: TCP Data received {"connection_id":163333,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:53:50] local.INFO: Processing buffer {"connection_id":163333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:53:50] local.INFO: IMEI packet received {"connection_id":163333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":163333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:53:51] local.INFO: TCP Data received {"connection_id":163333,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:53:51] local.INFO: Processing buffer {"connection_id":163333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:53:51] local.INFO: Packet analysis {"connection_id":163333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:53:51] local.INFO: Extracted packet for processing {"connection_id":163333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:53:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":12,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597718784001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787491390000,"timestamp_ms":1787491390000,"timestamp_seconds":1787491390,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca1230"} 
[2026-08-23 18:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 18:53: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-08-23 18:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597718784001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597718784001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:53:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:53:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597718784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":163333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:53:51] local.INFO: GPS data processed {"connection_id":163333,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:53:51] local.INFO: Acknowledgment sent {"connection_id":163333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:53:56] local.INFO: TCP Data received {"connection_id":163333,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:53:56] local.INFO: Processing buffer {"connection_id":163333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:53:56] local.INFO: Packet analysis {"connection_id":163333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:53:56] local.INFO: Extracted packet for processing {"connection_id":163333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:53:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":12,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597718784001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787491390000,"timestamp_ms":1787491390000,"timestamp_seconds":1787491390,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca1230"} 
[2026-08-23 18:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 18:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597718784001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597718784001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:53:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:53:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597718784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":163333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:53:57] local.INFO: GPS data processed {"connection_id":163333,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:53:57] local.INFO: Acknowledgment sent {"connection_id":163333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:54:05] local.INFO: TCP Data received {"connection_id":160982,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ec8e950012d1b7c80072446080024008c24..."} 
[2026-08-23 18:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ec8e950012d1b7c80072446080024008c24..."} 
[2026-08-23 18:54:05] local.INFO: Processing buffer {"connection_id":160982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ec8e950012d1b7c80072446080024008c24..."} 
[2026-08-23 18:54:05] local.INFO: Packet analysis {"connection_id":160982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ec8"} 
[2026-08-23 18:54:05] local.INFO: Extracted packet for processing {"connection_id":160982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ec8"} 
[2026-08-23 18:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756776064,"raw_latitude":119817736,"longitude_deg":75.6776064,"latitude_deg":11.9817736,"altitude":36,"angle":140,"satellites":36,"speed":43,"hex_longitude":"2d1b7c80","hex_latitude":"07244608","is_valid_coordinates":true} 
[2026-08-23 18:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597774080001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15721749261844480,"note":"Value kept but may cause issues"} 
[2026-08-23 18:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973280354905282560,"note":"Value kept but may cause issues"} 
[2026-08-23 18:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787491314000,"timestamp_ms":1787491314000,"timestamp_seconds":1787491314,"priority":1,"record_length":96,"hex_timestamp":"000001a02ec8e950"} 
[2026-08-23 18:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:54: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-08-23 18:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-23 18:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597774080001,"66":13678,"136":206,"83":42752,"24":43,"16":15721749261844480,"45":1973280354905282560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-23 18:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597774080001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:54:05] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-23 18:54:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15721749261844480,"km_value":15721749261844.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973280354905282560,"description":"Unknown IO ID 45"} 
[2026-08-23 18:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597774080001,"power":13678,"unknown_136":206,"unknown_83":42752,"ignition":43,"odometer":null,"unknown_45":1973280354905282560}} 
[2026-08-23 18:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":160982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:54:05] local.INFO: GPS data processed {"connection_id":160982,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:54:05] local.INFO: Acknowledgment sent {"connection_id":160982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:54:09] local.INFO: TCP Data received {"connection_id":161938,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:54:09] local.INFO: Processing buffer {"connection_id":161938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:54:09] local.INFO: Packet analysis {"connection_id":161938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:54:09] local.INFO: Extracted packet for processing {"connection_id":161938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:54:09] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":42,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597725440001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787491416000,"timestamp_ms":1787491416000,"timestamp_seconds":1787491416,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca77c0"} 
[2026-08-23 18:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18: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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 18:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597725440001,"66":2231,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597725440001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:54:09] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:54:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597725440001,"power":2231,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":161938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:54:09] local.INFO: GPS data processed {"connection_id":161938,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:54:09] local.INFO: Acknowledgment sent {"connection_id":161938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:54:28] local.INFO: TCP Data received {"connection_id":163333,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:54:28] local.INFO: Processing buffer {"connection_id":163333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:54:28] local.INFO: Packet analysis {"connection_id":163333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:54:28] local.INFO: Extracted packet for processing {"connection_id":163333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:54:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":12,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597718784001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787491390000,"timestamp_ms":1787491390000,"timestamp_seconds":1787491390,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca1230"} 
[2026-08-23 18:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 18:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597718784001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597718784001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:54:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:54:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597718784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":163333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:54:28] local.INFO: GPS data processed {"connection_id":163333,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:54:28] local.INFO: Acknowledgment sent {"connection_id":163333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:54:29] local.INFO: TCP Data received {"connection_id":160735,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:54:29] local.INFO: Processing buffer {"connection_id":160735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:54:29] local.INFO: IMEI packet received {"connection_id":160735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":160735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:54:30] local.INFO: TCP Data received {"connection_id":160735,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:54:30] local.INFO: Processing buffer {"connection_id":160735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:54:30] local.INFO: IMEI packet received {"connection_id":160735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":160735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:54:32] local.INFO: TCP Data received {"connection_id":160735,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:54:32] local.INFO: Processing buffer {"connection_id":160735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:54:32] local.INFO: IMEI packet received {"connection_id":160735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":160735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:54:33] local.INFO: TCP Data received {"connection_id":160735,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca6820012d1c7d0007233a680020007425..."} 
[2026-08-23 18:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca6820012d1c7d0007233a680020007425..."} 
[2026-08-23 18:54:33] local.INFO: Processing buffer {"connection_id":160735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca6820012d1c7d0007233a680020007425..."} 
[2026-08-23 18:54:33] local.INFO: Packet analysis {"connection_id":160735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:54:33] local.INFO: Extracted packet for processing {"connection_id":160735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756841728,"raw_latitude":119749224,"longitude_deg":75.6841728,"latitude_deg":11.9749224,"altitude":32,"angle":116,"satellites":37,"speed":5,"hex_longitude":"2d1c7d00","hex_latitude":"07233a68","is_valid_coordinates":true} 
[2026-08-23 18:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597799936001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15726336286916608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2051178554690789376,"note":"Value kept but may cause issues"} 
[2026-08-23 18:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787491412000,"timestamp_ms":1787491412000,"timestamp_seconds":1787491412,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca6820"} 
[2026-08-23 18:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-23 18:54:33] 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-08-23 18:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597799936001,"66":13656,"176":206,"83":42752,"24":5,"16":15726336286916608,"45":2051178554690789376},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-23 18:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597799936001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:54:33] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-23 18:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15726336286916608,"km_value":15726336286916.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":2051178554690789376,"description":"Unknown IO ID 45"} 
[2026-08-23 18:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597799936001,"power":13656,"unknown_176":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":2051178554690789376}} 
[2026-08-23 18:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":160735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:54:33] local.INFO: GPS data processed {"connection_id":160735,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:54:33] local.INFO: Acknowledgment sent {"connection_id":160735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:54:34] local.INFO: TCP Data received {"connection_id":160735,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca7f90012d1c7dc007233848002000e825..."} 
[2026-08-23 18:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca7f90012d1c7dc007233848002000e825..."} 
[2026-08-23 18:54:34] local.INFO: Processing buffer {"connection_id":160735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca7f90012d1c7dc007233848002000e825..."} 
[2026-08-23 18:54:34] local.INFO: Packet analysis {"connection_id":160735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:54:34] local.INFO: Extracted packet for processing {"connection_id":160735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:54:34] local.INFO: GPS Element Parsed {"raw_longitude":756841920,"raw_latitude":119748680,"longitude_deg":75.684192,"latitude_deg":11.974868,"altitude":32,"angle":232,"satellites":37,"speed":7,"hex_longitude":"2d1c7dc0","hex_latitude":"07233848","is_valid_coordinates":true} 
[2026-08-23 18:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597801472001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15726370646654976,"note":"Value kept but may cause issues"} 
[2026-08-23 18:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2052797035806615552,"note":"Value kept but may cause issues"} 
[2026-08-23 18:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787491418000,"timestamp_ms":1787491418000,"timestamp_seconds":1787491418,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca7f90"} 
[2026-08-23 18:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:54:34] 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-08-23 18:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-23 18:54:34] 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-08-23 18:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597801472001,"66":13559,"176":206,"83":42752,"24":7,"16":15726370646654976,"45":2052797035806615552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-23 18:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597801472001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:54:34] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-23 18:54:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15726370646654976,"km_value":15726370646654.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2052797035806615552,"description":"Unknown IO ID 45"} 
[2026-08-23 18:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597801472001,"power":13559,"unknown_176":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":2052797035806615552}} 
[2026-08-23 18:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":160735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:54:34] local.INFO: GPS data processed {"connection_id":160735,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:54:34] local.INFO: Acknowledgment sent {"connection_id":160735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:54:34] local.INFO: TCP Data received {"connection_id":160736,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:54:34] local.INFO: Processing buffer {"connection_id":160736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:54:34] local.INFO: IMEI packet received {"connection_id":160736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":160736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:54:39] local.INFO: TCP Data received {"connection_id":160736,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:54:39] local.INFO: Processing buffer {"connection_id":160736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:54:39] local.INFO: IMEI packet received {"connection_id":160736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":160736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:54:40] local.INFO: TCP Data received {"connection_id":160736,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:54:40] local.INFO: Processing buffer {"connection_id":160736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:54:40] local.INFO: Packet analysis {"connection_id":160736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:54:40] local.INFO: Extracted packet for processing {"connection_id":160736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:54:40] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":42,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597725440001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787491416000,"timestamp_ms":1787491416000,"timestamp_seconds":1787491416,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca77c0"} 
[2026-08-23 18:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18: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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 18:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597725440001,"66":2231,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597725440001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:54:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597725440001,"power":2231,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":160736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:54:40] local.INFO: GPS data processed {"connection_id":160736,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:54:40] local.INFO: Acknowledgment sent {"connection_id":160736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:54:50] local.INFO: TCP Data received {"connection_id":163334,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:54:50] local.INFO: Processing buffer {"connection_id":163334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:54:50] local.INFO: IMEI packet received {"connection_id":163334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":163334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:54:55] local.INFO: TCP Data received {"connection_id":163334,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:54:55] local.INFO: Processing buffer {"connection_id":163334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:54:55] local.INFO: IMEI packet received {"connection_id":163334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":163334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:54:57] local.INFO: TCP Data received {"connection_id":163334,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:54:57] local.INFO: Processing buffer {"connection_id":163334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:54:57] local.INFO: Packet analysis {"connection_id":163334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:54:57] local.INFO: Extracted packet for processing {"connection_id":163334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:54:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":12,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597718784001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787491390000,"timestamp_ms":1787491390000,"timestamp_seconds":1787491390,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca1230"} 
[2026-08-23 18:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 18:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597718784001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597718784001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:54:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:54:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597718784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":163334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:54:57] local.INFO: GPS data processed {"connection_id":163334,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:54:57] local.INFO: Acknowledgment sent {"connection_id":163334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:55:02] local.INFO: TCP Data received {"connection_id":163334,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:55:02] local.INFO: Processing buffer {"connection_id":163334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:55:02] local.INFO: Packet analysis {"connection_id":163334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:55:02] local.INFO: Extracted packet for processing {"connection_id":163334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:55:02] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":12,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597718784001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787491390000,"timestamp_ms":1787491390000,"timestamp_seconds":1787491390,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca1230"} 
[2026-08-23 18:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 18:55:02] 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-08-23 18:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597718784001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597718784001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:55:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:55:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597718784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":163334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:55:02] local.INFO: GPS data processed {"connection_id":163334,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:55:02] local.INFO: Acknowledgment sent {"connection_id":163334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:55:05] local.INFO: TCP Data received {"connection_id":160735,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca8378012d1c7cc0072338280020011124..."} 
[2026-08-23 18:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca8378012d1c7cc0072338280020011124..."} 
[2026-08-23 18:55:05] local.INFO: Processing buffer {"connection_id":160735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca8378012d1c7cc0072338280020011124..."} 
[2026-08-23 18:55:05] local.INFO: Packet analysis {"connection_id":160735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:55:05] local.INFO: Extracted packet for processing {"connection_id":160735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756841664,"raw_latitude":119748648,"longitude_deg":75.6841664,"latitude_deg":11.9748648,"altitude":32,"angle":273,"satellites":36,"speed":8,"hex_longitude":"2d1c7cc0","hex_latitude":"07233828","is_valid_coordinates":true} 
[2026-08-23 18:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597803008001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15726379236589568,"note":"Value kept but may cause issues"} 
[2026-08-23 18:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2053008142039009280,"note":"Value kept but may cause issues"} 
[2026-08-23 18:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787491419000,"timestamp_ms":1787491419000,"timestamp_seconds":1787491419,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca8378"} 
[2026-08-23 18:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:55: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-08-23 18:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-23 18:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597803008001,"66":13559,"176":206,"83":42752,"24":8,"16":15726379236589568,"45":2053008142039009280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-23 18:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597803008001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:55:05] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-23 18:55:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15726379236589568,"km_value":15726379236589.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2053008142039009280,"description":"Unknown IO ID 45"} 
[2026-08-23 18:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597803008001,"power":13559,"unknown_176":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":2053008142039009280}} 
[2026-08-23 18:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":160735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:55:05] local.INFO: GPS data processed {"connection_id":160735,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:55:05] local.INFO: Acknowledgment sent {"connection_id":160735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:55:11] local.INFO: TCP Data received {"connection_id":160736,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:55:11] local.INFO: Processing buffer {"connection_id":160736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:55:11] local.INFO: Packet analysis {"connection_id":160736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:55:11] local.INFO: Extracted packet for processing {"connection_id":160736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:55:11] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":42,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597725440001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787491416000,"timestamp_ms":1787491416000,"timestamp_seconds":1787491416,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca77c0"} 
[2026-08-23 18:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 18:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597725440001,"66":2231,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597725440001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:55:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597725440001,"power":2231,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":160736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:55:11] local.INFO: GPS data processed {"connection_id":160736,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:55:11] local.INFO: Acknowledgment sent {"connection_id":160736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:55:29] local.INFO: TCP Data received {"connection_id":160983,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:55:29] local.INFO: Processing buffer {"connection_id":160983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:55:29] local.INFO: IMEI packet received {"connection_id":160983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":160983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:55:34] local.INFO: TCP Data received {"connection_id":161939,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:55:34] local.INFO: Processing buffer {"connection_id":161939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:55:34] local.INFO: IMEI packet received {"connection_id":161939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":161939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:55:34] local.INFO: TCP Data received {"connection_id":160983,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:55:34] local.INFO: Processing buffer {"connection_id":160983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:55:34] local.INFO: IMEI packet received {"connection_id":160983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":160983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:55:35] local.INFO: TCP Data received {"connection_id":160983,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecab640012d1c7d00072337f80020008824..."} 
[2026-08-23 18:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecab640012d1c7d00072337f80020008824..."} 
[2026-08-23 18:55:35] local.INFO: Processing buffer {"connection_id":160983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecab640012d1c7d00072337f80020008824..."} 
[2026-08-23 18:55:35] local.INFO: Packet analysis {"connection_id":160983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:55:35] local.INFO: Extracted packet for processing {"connection_id":160983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:55:35] local.INFO: GPS Element Parsed {"raw_longitude":756841728,"raw_latitude":119748600,"longitude_deg":75.6841728,"latitude_deg":11.97486,"altitude":32,"angle":136,"satellites":36,"speed":3,"hex_longitude":"2d1c7d00","hex_latitude":"072337f8","is_valid_coordinates":true} 
[2026-08-23 18:55: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-08-23 18:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597803264001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15726413596327936,"note":"Value kept but may cause issues"} 
[2026-08-23 18:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2052726667062290432,"note":"Value kept but may cause issues"} 
[2026-08-23 18:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787491432000,"timestamp_ms":1787491432000,"timestamp_seconds":1787491432,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecab640"} 
[2026-08-23 18:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-23 18:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:55: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-08-23 18:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597803264001,"66":13624,"176":206,"83":42752,"24":3,"16":15726413596327936,"45":2052726667062290432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-23 18:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597803264001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:55:35] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-23 18:55:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15726413596327936,"km_value":15726413596327.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2052726667062290432,"description":"Unknown IO ID 45"} 
[2026-08-23 18:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597803264001,"power":13624,"unknown_176":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":2052726667062290432}} 
[2026-08-23 18:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":160983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:55:35] local.INFO: GPS data processed {"connection_id":160983,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:55:35] local.INFO: Acknowledgment sent {"connection_id":160983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:55:39] local.INFO: TCP Data received {"connection_id":161939,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:55:39] local.INFO: Processing buffer {"connection_id":161939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:55:39] local.INFO: IMEI packet received {"connection_id":161939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":161939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:55:40] local.INFO: TCP Data received {"connection_id":161939,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:55:40] local.INFO: Processing buffer {"connection_id":161939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:55:40] local.INFO: Packet analysis {"connection_id":161939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:55:40] local.INFO: Extracted packet for processing {"connection_id":161939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:55:40] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":42,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597725440001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787491416000,"timestamp_ms":1787491416000,"timestamp_seconds":1787491416,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca77c0"} 
[2026-08-23 18:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18: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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 18:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597725440001,"66":2231,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597725440001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:55:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597725440001,"power":2231,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":161939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:55:40] local.INFO: GPS data processed {"connection_id":161939,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:55:40] local.INFO: Acknowledgment sent {"connection_id":161939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:55:45] local.INFO: TCP Data received {"connection_id":160737,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:55:45] local.INFO: Processing buffer {"connection_id":160737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:55:45] local.INFO: IMEI packet received {"connection_id":160737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":160737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:55:50] local.INFO: TCP Data received {"connection_id":160737,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:55:50] local.INFO: Processing buffer {"connection_id":160737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:55:50] local.INFO: IMEI packet received {"connection_id":160737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":160737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:55:51] local.INFO: TCP Data received {"connection_id":160737,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:55:51] local.INFO: Processing buffer {"connection_id":160737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:55:51] local.INFO: Packet analysis {"connection_id":160737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:55:51] local.INFO: Extracted packet for processing {"connection_id":160737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:55:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":12,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597718784001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787491390000,"timestamp_ms":1787491390000,"timestamp_seconds":1787491390,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca1230"} 
[2026-08-23 18:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 18:55: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-08-23 18:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597718784001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597718784001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:55:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:55:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597718784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":160737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:55:51] local.INFO: GPS data processed {"connection_id":160737,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:55:51] local.INFO: Acknowledgment sent {"connection_id":160737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:56:06] local.INFO: TCP Data received {"connection_id":160983,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecabe10012d1c7d00072337b00020007824..."} 
[2026-08-23 18:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecabe10012d1c7d00072337b00020007824..."} 
[2026-08-23 18:56:06] local.INFO: Processing buffer {"connection_id":160983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecabe10012d1c7d00072337b00020007824..."} 
[2026-08-23 18:56:06] local.INFO: Packet analysis {"connection_id":160983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:56:06] local.INFO: Extracted packet for processing {"connection_id":160983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756841728,"raw_latitude":119748528,"longitude_deg":75.6841728,"latitude_deg":11.9748528,"altitude":32,"angle":120,"satellites":36,"speed":0,"hex_longitude":"2d1c7d00","hex_latitude":"072337b0","is_valid_coordinates":true} 
[2026-08-23 18:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597806592001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15726417891295232,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2052797035806455808,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787491434000,"timestamp_ms":1787491434000,"timestamp_seconds":1787491434,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecabe10"} 
[2026-08-23 18:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-23 18:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597806592001,"66":13580,"176":206,"83":42752,"24":0,"16":15726417891295232,"45":2052797035806455808},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-23 18:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597806592001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:56:06] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-23 18:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15726417891295232,"km_value":15726417891295.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2052797035806455808,"description":"Unknown IO ID 45"} 
[2026-08-23 18:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597806592001,"power":13580,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2052797035806455808}} 
[2026-08-23 18:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":160983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:56:06] local.INFO: GPS data processed {"connection_id":160983,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:56:06] local.INFO: Acknowledgment sent {"connection_id":160983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:56:11] local.INFO: TCP Data received {"connection_id":161939,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:56:11] local.INFO: Processing buffer {"connection_id":161939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:56:11] local.INFO: Packet analysis {"connection_id":161939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:56:11] local.INFO: Extracted packet for processing {"connection_id":161939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:56:11] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":42,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597725440001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787491416000,"timestamp_ms":1787491416000,"timestamp_seconds":1787491416,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca77c0"} 
[2026-08-23 18:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 18:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597725440001,"66":2231,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597725440001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:56:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:56:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597725440001,"power":2231,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":161939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:56:11] local.INFO: GPS data processed {"connection_id":161939,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:56:11] local.INFO: Acknowledgment sent {"connection_id":161939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:56:23] local.INFO: TCP Data received {"connection_id":160737,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:56:23] local.INFO: Processing buffer {"connection_id":160737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:56:23] local.INFO: Packet analysis {"connection_id":160737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:56:23] local.INFO: Extracted packet for processing {"connection_id":160737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:56:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":12,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597718784001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787491390000,"timestamp_ms":1787491390000,"timestamp_seconds":1787491390,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca1230"} 
[2026-08-23 18:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18: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-08-23 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 18:56:23] 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-08-23 18: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-08-23 18:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597718784001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597718784001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:56:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:56:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597718784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":160737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:56:23] local.INFO: GPS data processed {"connection_id":160737,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:56:23] local.INFO: Acknowledgment sent {"connection_id":160737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:56:29] local.INFO: TCP Data received {"connection_id":161940,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:56:29] local.INFO: Processing buffer {"connection_id":161940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:56:29] local.INFO: IMEI packet received {"connection_id":161940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":161940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:56:34] local.INFO: TCP Data received {"connection_id":161941,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161941,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:56:34] local.INFO: Processing buffer {"connection_id":161941,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:56:34] local.INFO: IMEI packet received {"connection_id":161941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":161941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:56:34] local.INFO: TCP Data received {"connection_id":161940,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:56:34] local.INFO: Processing buffer {"connection_id":161940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:56:34] local.INFO: IMEI packet received {"connection_id":161940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":161940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:56:35] local.INFO: TCP Data received {"connection_id":161940,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecacdb0012d1c7cc0072337f00020013e26..."} 
[2026-08-23 18:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecacdb0012d1c7cc0072337f00020013e26..."} 
[2026-08-23 18:56:35] local.INFO: Processing buffer {"connection_id":161940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecacdb0012d1c7cc0072337f00020013e26..."} 
[2026-08-23 18:56:35] local.INFO: Packet analysis {"connection_id":161940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:56:35] local.INFO: Extracted packet for processing {"connection_id":161940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:56:35] local.INFO: GPS Element Parsed {"raw_longitude":756841664,"raw_latitude":119748592,"longitude_deg":75.6841664,"latitude_deg":11.9748592,"altitude":32,"angle":318,"satellites":38,"speed":3,"hex_longitude":"2d1c7cc0","hex_latitude":"072337f0","is_valid_coordinates":true} 
[2026-08-23 18:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597807104001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15726422186262528,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2052797035806437376,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787491438000,"timestamp_ms":1787491438000,"timestamp_seconds":1787491438,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecacdb0"} 
[2026-08-23 18:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-23 18:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751527902,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:35] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3740336128,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:35] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13462192,"corrected_to":0} 
[2026-08-23 18:56:35] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3395821569,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:35] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635068541856432,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-08-23 18:56:35] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2952867100,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:35] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4035451124227034707,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:35] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:35] local.WARNING: Large IO value detected {"io_id":28,"raw_value":4557650671658074145,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:35] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755541175107825,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:35] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,176,83,24,241,157,16,223,160,182,45,55,32,36,10,66,131,192,56,127,1,240,247,227,46,35,4,113,205,5,80,119,96,37,239,53,2,7,28,167],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":247,"original":13462192,"validated":0},{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-08-23 18:56:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2305975105227849728,"timestamp_seconds":2305975105227849.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 18:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597807104001,"66":13537,"176":206,"83":42752,"24":3,"16":15726422186262528,"45":2052797035806437376},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-23 18:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597807104001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:56:35] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-23 18:56:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15726422186262528,"km_value":15726422186262.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2052797035806437376,"description":"Unknown IO ID 45"} 
[2026-08-23 18:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597807104001,"power":13537,"unknown_176":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":2052797035806437376}} 
[2026-08-23 18:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":161940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:56:35] local.INFO: GPS data processed {"connection_id":161940,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:56:35] local.INFO: Acknowledgment sent {"connection_id":161940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:56:39] local.INFO: TCP Data received {"connection_id":161941,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161941,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:56:39] local.INFO: Processing buffer {"connection_id":161941,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:56:39] local.INFO: IMEI packet received {"connection_id":161941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":161941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:56:40] local.INFO: TCP Data received {"connection_id":161941,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:56:40] local.INFO: Processing buffer {"connection_id":161941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:56:40] local.INFO: Packet analysis {"connection_id":161941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:56:40] local.INFO: Extracted packet for processing {"connection_id":161941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:56:40] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":42,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597725440001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787491416000,"timestamp_ms":1787491416000,"timestamp_seconds":1787491416,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca77c0"} 
[2026-08-23 18:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18: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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 18:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597725440001,"66":2231,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597725440001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:56:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:56:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597725440001,"power":2231,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":161941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:56:40] local.INFO: GPS data processed {"connection_id":161941,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:56:40] local.INFO: Acknowledgment sent {"connection_id":161941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:56:45] local.INFO: TCP Data received {"connection_id":160984,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:56:45] local.INFO: Processing buffer {"connection_id":160984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:56:45] local.INFO: IMEI packet received {"connection_id":160984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":160984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:56:51] local.INFO: TCP Data received {"connection_id":160984,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:56:51] local.INFO: Processing buffer {"connection_id":160984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:56:51] local.INFO: IMEI packet received {"connection_id":160984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":160984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:56:52] local.INFO: TCP Data received {"connection_id":160984,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:56:52] local.INFO: Processing buffer {"connection_id":160984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:56:52] local.INFO: Packet analysis {"connection_id":160984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:56:52] local.INFO: Extracted packet for processing {"connection_id":160984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:56:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":12,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597718784001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787491390000,"timestamp_ms":1787491390000,"timestamp_seconds":1787491390,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca1230"} 
[2026-08-23 18:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 18:56:52] 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-08-23 18:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:56:52] 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-08-23 18:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597718784001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597718784001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:56:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:56:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597718784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":160984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:56:52] local.INFO: GPS data processed {"connection_id":160984,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:56:52] local.INFO: Acknowledgment sent {"connection_id":160984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:57:06] local.INFO: TCP Data received {"connection_id":161940,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eccc598012d1bcf000723d240002401362a..."} 
[2026-08-23 18:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eccc598012d1bcf000723d240002401362a..."} 
[2026-08-23 18:57:06] local.INFO: Processing buffer {"connection_id":161940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eccc598012d1bcf000723d240002401362a..."} 
[2026-08-23 18:57:06] local.INFO: Packet analysis {"connection_id":161940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ecc"} 
[2026-08-23 18:57:06] local.INFO: Extracted packet for processing {"connection_id":161940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ecc"} 
[2026-08-23 18:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756797184,"raw_latitude":119788096,"longitude_deg":75.6797184,"latitude_deg":11.9788096,"altitude":36,"angle":310,"satellites":42,"speed":47,"hex_longitude":"2d1bcf00","hex_latitude":"0723d240","is_valid_coordinates":true} 
[2026-08-23 18:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597838848001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15729282634481664,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2011983164191750144,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787491567000,"timestamp_ms":1787491567000,"timestamp_seconds":1787491567,"priority":1,"record_length":96,"hex_timestamp":"000001a02eccc598"} 
[2026-08-23 18:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-23 18:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597838848001,"66":13830,"136":206,"83":42752,"24":47,"16":15729282634481664,"45":2011983164191750144},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-23 18:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597838848001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:57:06] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-23 18:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15729282634481664,"km_value":15729282634481.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2011983164191750144,"description":"Unknown IO ID 45"} 
[2026-08-23 18:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597838848001,"power":13830,"unknown_136":206,"unknown_83":42752,"ignition":47,"odometer":null,"unknown_45":2011983164191750144}} 
[2026-08-23 18:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":161940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:57:06] local.INFO: GPS data processed {"connection_id":161940,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:57:06] local.INFO: Acknowledgment sent {"connection_id":161940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:57:11] local.INFO: TCP Data received {"connection_id":161941,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:57:11] local.INFO: Processing buffer {"connection_id":161941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:57:11] local.INFO: Packet analysis {"connection_id":161941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:57:11] local.INFO: Extracted packet for processing {"connection_id":161941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:57:11] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":42,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597725440001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787491416000,"timestamp_ms":1787491416000,"timestamp_seconds":1787491416,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca77c0"} 
[2026-08-23 18:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 18:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597725440001,"66":2231,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597725440001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:57:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597725440001,"power":2231,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":161941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:57:11] local.INFO: GPS data processed {"connection_id":161941,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:57:11] local.INFO: Acknowledgment sent {"connection_id":161941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:57:24] local.INFO: TCP Data received {"connection_id":160984,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:57:24] local.INFO: Processing buffer {"connection_id":160984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:57:24] local.INFO: Packet analysis {"connection_id":160984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:57:24] local.INFO: Extracted packet for processing {"connection_id":160984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:57:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":12,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597718784001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787491390000,"timestamp_ms":1787491390000,"timestamp_seconds":1787491390,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca1230"} 
[2026-08-23 18:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 18:57:24] 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-08-23 18:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:57:24] 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-08-23 18:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597718784001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597718784001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:57:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:57:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597718784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":160984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:57:24] local.INFO: GPS data processed {"connection_id":160984,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:57:24] local.INFO: Acknowledgment sent {"connection_id":160984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:57:28] local.INFO: TCP Data received {"connection_id":160985,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:57:28] local.INFO: Processing buffer {"connection_id":160985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:57:28] local.INFO: IMEI packet received {"connection_id":160985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":160985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:57:31] local.INFO: TCP Data received {"connection_id":160985,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:57:31] local.INFO: Processing buffer {"connection_id":160985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:57:31] local.INFO: IMEI packet received {"connection_id":160985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":160985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:57:34] local.INFO: TCP Data received {"connection_id":160985,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:57:34] local.INFO: Processing buffer {"connection_id":160985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:57:34] local.INFO: IMEI packet received {"connection_id":160985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":160985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:57:34] local.INFO: TCP Data received {"connection_id":161942,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:57:34] local.INFO: Processing buffer {"connection_id":161942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:57:34] local.INFO: IMEI packet received {"connection_id":161942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":161942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:57:35] local.INFO: TCP Data received {"connection_id":160985,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecce0f0012d1bba000723e8280025014229..."} 
[2026-08-23 18:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecce0f0012d1bba000723e8280025014229..."} 
[2026-08-23 18:57:35] local.INFO: Processing buffer {"connection_id":160985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecce0f0012d1bba000723e8280025014229..."} 
[2026-08-23 18:57:35] local.INFO: Packet analysis {"connection_id":160985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ecc"} 
[2026-08-23 18:57:35] local.INFO: Extracted packet for processing {"connection_id":160985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ecc"} 
[2026-08-23 18:57:35] local.INFO: GPS Element Parsed {"raw_longitude":756791808,"raw_latitude":119793704,"longitude_deg":75.6791808,"latitude_deg":11.9793704,"altitude":37,"angle":322,"satellites":41,"speed":41,"hex_longitude":"2d1bba00","hex_latitude":"0723e828","is_valid_coordinates":true} 
[2026-08-23 18:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597841152001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15729656296636416,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2003820389868912640,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787491574000,"timestamp_ms":1787491574000,"timestamp_seconds":1787491574,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecce0f0"} 
[2026-08-23 18:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-08-23 18:57:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:35] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503608233099264,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652633976493312,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:35] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3425773569,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-08-23 18:57:35] local.WARNING: Large IO value detected {"io_id":92,"raw_value":2147951444,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:35] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3751149568,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:35] local.WARNING: Large IO value detected {"io_id":199,"raw_value":-5764276447703202013,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:35] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2305880397963591691,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:35] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,136,83,24,241,157,16,225,160,162,45,183,37,43,10,66,123,35,41,176,224,88,1,240,252,227,46,4,113,205,34,2,92,56,239,52,55,7,199,58],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-08-23 18:57:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2594414414361722880,"timestamp_seconds":2594414414361723.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 18:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597841152001,"66":13798,"136":206,"83":42752,"24":41,"16":15729656296636416,"45":2003820389868912640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-23 18:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597841152001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:57:35] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-23 18:57:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15729656296636416,"km_value":15729656296636.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2003820389868912640,"description":"Unknown IO ID 45"} 
[2026-08-23 18:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597841152001,"power":13798,"unknown_136":206,"unknown_83":42752,"ignition":41,"odometer":null,"unknown_45":2003820389868912640}} 
[2026-08-23 18:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":160985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:57:35] local.INFO: GPS data processed {"connection_id":160985,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:57:35] local.INFO: Acknowledgment sent {"connection_id":160985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:57:39] local.INFO: TCP Data received {"connection_id":161942,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:57:39] local.INFO: Processing buffer {"connection_id":161942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:57:39] local.INFO: IMEI packet received {"connection_id":161942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":161942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:57:40] local.INFO: TCP Data received {"connection_id":161942,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:57:40] local.INFO: Processing buffer {"connection_id":161942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:57:40] local.INFO: Packet analysis {"connection_id":161942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:57:40] local.INFO: Extracted packet for processing {"connection_id":161942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:57:40] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":42,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597725440001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787491416000,"timestamp_ms":1787491416000,"timestamp_seconds":1787491416,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca77c0"} 
[2026-08-23 18:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18: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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 18:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597725440001,"66":2231,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597725440001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:57:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597725440001,"power":2231,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":161942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:57:40] local.INFO: GPS data processed {"connection_id":161942,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:57:40] local.INFO: Acknowledgment sent {"connection_id":161942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:57:46] local.INFO: TCP Data received {"connection_id":160738,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:57:46] local.INFO: Processing buffer {"connection_id":160738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:57:46] local.INFO: IMEI packet received {"connection_id":160738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":160738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:57:50] local.INFO: TCP Data received {"connection_id":160738,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:57:50] local.INFO: Processing buffer {"connection_id":160738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:57:50] local.INFO: IMEI packet received {"connection_id":160738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":160738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:57:52] local.INFO: TCP Data received {"connection_id":160738,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:57:52] local.INFO: Processing buffer {"connection_id":160738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:57:52] local.INFO: Packet analysis {"connection_id":160738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:57:52] local.INFO: Extracted packet for processing {"connection_id":160738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":12,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:57: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-08-23 18:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597718784001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787491390000,"timestamp_ms":1787491390000,"timestamp_seconds":1787491390,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca1230"} 
[2026-08-23 18:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 18:57:52] 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-08-23 18:57: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-08-23 18:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597718784001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597718784001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:57:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597718784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":160738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:57:52] local.INFO: GPS data processed {"connection_id":160738,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:57:52] local.INFO: Acknowledgment sent {"connection_id":160738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:58:06] local.INFO: TCP Data received {"connection_id":160985,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecd0418012d1ba540072406680024014726..."} 
[2026-08-23 18:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecd0418012d1ba540072406680024014726..."} 
[2026-08-23 18:58:06] local.INFO: Processing buffer {"connection_id":160985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecd0418012d1ba540072406680024014726..."} 
[2026-08-23 18:58:06] local.INFO: Packet analysis {"connection_id":160985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ecd"} 
[2026-08-23 18:58:06] local.INFO: Extracted packet for processing {"connection_id":160985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ecd"} 
[2026-08-23 18:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756786496,"raw_latitude":119801448,"longitude_deg":75.6786496,"latitude_deg":11.9801448,"altitude":36,"angle":327,"satellites":38,"speed":40,"hex_longitude":"2d1ba540","hex_latitude":"07240668","is_valid_coordinates":true} 
[2026-08-23 18:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597842944001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15730107268202496,"note":"Value kept but may cause issues"} 
[2026-08-23 18:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1997909415359424512,"note":"Value kept but may cause issues"} 
[2026-08-23 18:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787491583000,"timestamp_ms":1787491583000,"timestamp_seconds":1787491583,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecd0418"} 
[2026-08-23 18:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-23 18:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597842944001,"66":13461,"136":206,"83":42752,"24":40,"16":15730107268202496,"45":1997909415359424512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-23 18:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597842944001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:58:06] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-23 18:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15730107268202496,"km_value":15730107268202.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1997909415359424512,"description":"Unknown IO ID 45"} 
[2026-08-23 18:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597842944001,"power":13461,"unknown_136":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1997909415359424512}} 
[2026-08-23 18:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":160985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:58:06] local.INFO: GPS data processed {"connection_id":160985,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:58:06] local.INFO: Acknowledgment sent {"connection_id":160985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:58:11] local.INFO: TCP Data received {"connection_id":161942,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:58:11] local.INFO: Processing buffer {"connection_id":161942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca77c0012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:58:11] local.INFO: Packet analysis {"connection_id":161942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:58:11] local.INFO: Extracted packet for processing {"connection_id":161942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:58:11] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":42,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597725440001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787491416000,"timestamp_ms":1787491416000,"timestamp_seconds":1787491416,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca77c0"} 
[2026-08-23 18:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 18:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597725440001,"66":2231,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597725440001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:58:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597725440001,"power":2231,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":161942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:58:11] local.INFO: GPS data processed {"connection_id":161942,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:58:11] local.INFO: Acknowledgment sent {"connection_id":161942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:58:24] local.INFO: TCP Data received {"connection_id":160738,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:58:24] local.INFO: Processing buffer {"connection_id":160738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eca1230012d34c58006aa4060000c01141f..."} 
[2026-08-23 18:58:24] local.INFO: Packet analysis {"connection_id":160738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:58:24] local.INFO: Extracted packet for processing {"connection_id":160738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eca"} 
[2026-08-23 18:58:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":12,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597718784001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787491390000,"timestamp_ms":1787491390000,"timestamp_seconds":1787491390,"priority":1,"record_length":96,"hex_timestamp":"000001a02eca1230"} 
[2026-08-23 18:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 18:58:24] 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-08-23 18:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597718784001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597718784001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:58:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:58:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597718784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":160738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:58:24] local.INFO: GPS data processed {"connection_id":160738,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:58:24] local.INFO: Acknowledgment sent {"connection_id":160738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:58:28] local.INFO: TCP Data received {"connection_id":160739,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:58:28] local.INFO: Processing buffer {"connection_id":160739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:58:28] local.INFO: IMEI packet received {"connection_id":160739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":160739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:58:34] local.INFO: TCP Data received {"connection_id":160739,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:58:34] local.INFO: Processing buffer {"connection_id":160739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:58:34] local.INFO: IMEI packet received {"connection_id":160739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":160739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:58:35] local.INFO: TCP Data received {"connection_id":160739,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecd2740012d1b9200072424780023014728..."} 
[2026-08-23 18:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecd2740012d1b9200072424780023014728..."} 
[2026-08-23 18:58:35] local.INFO: Processing buffer {"connection_id":160739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecd2740012d1b9200072424780023014728..."} 
[2026-08-23 18:58:35] local.INFO: Packet analysis {"connection_id":160739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ecd"} 
[2026-08-23 18:58:35] local.INFO: Extracted packet for processing {"connection_id":160739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ecd"} 
[2026-08-23 18:58:35] local.INFO: GPS Element Parsed {"raw_longitude":756781568,"raw_latitude":119809144,"longitude_deg":75.6781568,"latitude_deg":11.9809144,"altitude":35,"angle":327,"satellites":40,"speed":39,"hex_longitude":"2d1b9200","hex_latitude":"07242478","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597845248001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15730549649833984,"note":"Value kept but may cause issues"} 
[2026-08-23 18:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1992068809594660864,"note":"Value kept but may cause issues"} 
[2026-08-23 18:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787491592000,"timestamp_ms":1787491592000,"timestamp_seconds":1787491592,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecd2740"} 
[2026-08-23 18:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-23 18:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597845248001,"66":13537,"136":206,"83":42752,"24":39,"16":15730549649833984,"45":1992068809594660864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-23 18:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597845248001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:58:35] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-23 18:58:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15730549649833984,"km_value":15730549649833.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1992068809594660864,"description":"Unknown IO ID 45"} 
[2026-08-23 18:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597845248001,"power":13537,"unknown_136":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1992068809594660864}} 
[2026-08-23 18:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":160739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:58:35] local.INFO: GPS data processed {"connection_id":160739,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:58:35] local.INFO: Acknowledgment sent {"connection_id":160739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:58:38] local.INFO: TCP Data received {"connection_id":163335,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:58:38] local.INFO: Processing buffer {"connection_id":163335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:58:38] local.INFO: IMEI packet received {"connection_id":163335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":163335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:58:39] local.INFO: TCP Data received {"connection_id":163335,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:58:39] local.INFO: Processing buffer {"connection_id":163335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:58:39] local.INFO: IMEI packet received {"connection_id":163335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":163335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:58:44] local.INFO: TCP Data received {"connection_id":163335,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:58:44] local.INFO: Processing buffer {"connection_id":163335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:58:44] local.INFO: IMEI packet received {"connection_id":163335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":163335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:58:45] local.INFO: TCP Data received {"connection_id":163335,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:58:45] local.INFO: Processing buffer {"connection_id":163335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:58:45] local.INFO: Packet analysis {"connection_id":163335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 18:58:45] local.INFO: Extracted packet for processing {"connection_id":163335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 18:58:45] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":42,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597802496001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787491717000,"timestamp_ms":1787491717000,"timestamp_seconds":1787491717,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecf0f88"} 
[2026-08-23 18:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:58:45] 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-08-23 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 18:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597802496001,"66":2209,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597802496001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:58:45] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:58:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597802496001,"power":2209,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":163335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:58:45] local.INFO: GPS data processed {"connection_id":163335,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:58:45] local.INFO: Acknowledgment sent {"connection_id":163335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:58:45] local.INFO: TCP Data received {"connection_id":163336,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:58:45] local.INFO: Processing buffer {"connection_id":163336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:58:45] local.INFO: IMEI packet received {"connection_id":163336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":163336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:58:49] local.INFO: TCP Data received {"connection_id":163335,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:58:49] local.INFO: Processing buffer {"connection_id":163335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:58:49] local.INFO: Packet analysis {"connection_id":163335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 18:58:49] local.INFO: Extracted packet for processing {"connection_id":163335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 18:58:49] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":42,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597802496001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787491717000,"timestamp_ms":1787491717000,"timestamp_seconds":1787491717,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecf0f88"} 
[2026-08-23 18:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 18:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597802496001,"66":2209,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597802496001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:58:49] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:58:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597802496001,"power":2209,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":163335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:58:49] local.INFO: GPS data processed {"connection_id":163335,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:58:49] local.INFO: Acknowledgment sent {"connection_id":163335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:58:49] local.INFO: TCP Data received {"connection_id":163336,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:58:49] local.INFO: Processing buffer {"connection_id":163336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:58:49] local.INFO: IMEI packet received {"connection_id":163336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":163336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:58:50] local.INFO: TCP Data received {"connection_id":163336,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 18:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 18:58:50] local.INFO: Processing buffer {"connection_id":163336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 18:58:50] local.INFO: Packet analysis {"connection_id":163336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 18:58:50] local.INFO: Extracted packet for processing {"connection_id":163336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 18:58:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 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-08-23 18:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597795840001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787491691000,"timestamp_ms":1787491691000,"timestamp_seconds":1787491691,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecea9f8"} 
[2026-08-23 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-08-23 18:58: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-08-23 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 18:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 18:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:58:50] 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-08-23 18:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597795840001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597795840001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:58:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:58:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597795840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":163336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:58:50] local.INFO: GPS data processed {"connection_id":163336,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:58:50] local.INFO: Acknowledgment sent {"connection_id":163336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:59:05] local.INFO: TCP Data received {"connection_id":160739,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecd5620012d1b7d8007244230002201402b..."} 
[2026-08-23 18:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecd5620012d1b7d8007244230002201402b..."} 
[2026-08-23 18:59:05] local.INFO: Processing buffer {"connection_id":160739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecd5620012d1b7d8007244230002201402b..."} 
[2026-08-23 18:59:05] local.INFO: Packet analysis {"connection_id":160739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ecd"} 
[2026-08-23 18:59:05] local.INFO: Extracted packet for processing {"connection_id":160739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ecd"} 
[2026-08-23 18:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756776320,"raw_latitude":119816752,"longitude_deg":75.677632,"latitude_deg":11.9816752,"altitude":34,"angle":320,"satellites":43,"speed":37,"hex_longitude":"2d1b7d80","hex_latitude":"07244230","is_valid_coordinates":true} 
[2026-08-23 18:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597847552001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15730996326432768,"note":"Value kept but may cause issues"} 
[2026-08-23 18:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1986650416294950912,"note":"Value kept but may cause issues"} 
[2026-08-23 18:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787491604000,"timestamp_ms":1787491604000,"timestamp_seconds":1787491604,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecd5620"} 
[2026-08-23 18:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 18:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-23 18:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597847552001,"66":13276,"136":206,"83":42752,"24":37,"16":15730996326432768,"45":1986650416294950912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-08-23 18:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597847552001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:59:05] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-08-23 18:59:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15730996326432768,"km_value":15730996326432.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1986650416294950912,"description":"Unknown IO ID 45"} 
[2026-08-23 18:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597847552001,"power":13276,"unknown_136":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1986650416294950912}} 
[2026-08-23 18:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":160739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:59:05] local.INFO: GPS data processed {"connection_id":160739,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:59:05] local.INFO: Acknowledgment sent {"connection_id":160739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:59:22] local.INFO: TCP Data received {"connection_id":163336,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 18:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 18:59:22] local.INFO: Processing buffer {"connection_id":163336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 18:59:22] local.INFO: Packet analysis {"connection_id":163336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 18:59:22] local.INFO: Extracted packet for processing {"connection_id":163336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 18:59:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597795840001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787491691000,"timestamp_ms":1787491691000,"timestamp_seconds":1787491691,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecea9f8"} 
[2026-08-23 18:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:59: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-08-23 18:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 18:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:59:22] 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-08-23 18:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597795840001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597795840001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:59:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:59:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597795840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":163336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:59:22] local.INFO: GPS data processed {"connection_id":163336,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:59:22] local.INFO: Acknowledgment sent {"connection_id":163336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:59:34] local.INFO: TCP Data received {"connection_id":160986,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:59:34] local.INFO: Processing buffer {"connection_id":160986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:59:34] local.INFO: IMEI packet received {"connection_id":160986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 18:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":160986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:59:34] local.INFO: TCP Data received {"connection_id":161943,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:59:34] local.INFO: Processing buffer {"connection_id":161943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:59:34] local.INFO: IMEI packet received {"connection_id":161943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 18:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":161943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:59:39] local.INFO: TCP Data received {"connection_id":160986,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:59:39] local.INFO: Processing buffer {"connection_id":160986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 18:59:39] local.INFO: IMEI packet received {"connection_id":160986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 18:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":160986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:59:39] local.INFO: TCP Data received {"connection_id":161943,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:59:39] local.INFO: Processing buffer {"connection_id":161943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 18:59:39] local.INFO: IMEI packet received {"connection_id":161943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 18:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":161943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:59:39] local.INFO: TCP Data received {"connection_id":161943,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:59:39] local.INFO: Processing buffer {"connection_id":161943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 18:59:39] local.INFO: Packet analysis {"connection_id":161943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 18:59:39] local.INFO: Extracted packet for processing {"connection_id":161943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 18:59:39] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":42,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 18:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597802496001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 18:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 18:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787491717000,"timestamp_ms":1787491717000,"timestamp_seconds":1787491717,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecf0f88"} 
[2026-08-23 18:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:59:39] 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-08-23 18:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 18:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 18:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 18:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 18:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597802496001,"66":2209,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 18:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 18:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 18:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597802496001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:59:39] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 18:59:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 18:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 18:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597802496001,"power":2209,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 18:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":161943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:59:40] local.INFO: GPS data processed {"connection_id":161943,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:59:40] local.INFO: Acknowledgment sent {"connection_id":161943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:59:40] local.INFO: TCP Data received {"connection_id":160986,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecee878012d1b11c007248658002d00e92a..."} 
[2026-08-23 18:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecee878012d1b11c007248658002d00e92a..."} 
[2026-08-23 18:59:40] local.INFO: Processing buffer {"connection_id":160986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecee878012d1b11c007248658002d00e92a..."} 
[2026-08-23 18:59:40] local.INFO: Packet analysis {"connection_id":160986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 18:59:40] local.INFO: Extracted packet for processing {"connection_id":160986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 18:59:40] local.INFO: GPS Element Parsed {"raw_longitude":756748736,"raw_latitude":119834200,"longitude_deg":75.6748736,"latitude_deg":11.98342,"altitude":45,"angle":233,"satellites":42,"speed":4,"hex_longitude":"2d1b11c0","hex_latitude":"07248658","is_valid_coordinates":true} 
[2026-08-23 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-08-23 18:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597871616001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15732761557991424,"note":"Value kept but may cause issues"} 
[2026-08-23 18:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1952662312863963136,"note":"Value kept but may cause issues"} 
[2026-08-23 18:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787491707000,"timestamp_ms":1787491707000,"timestamp_seconds":1787491707,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecee878"} 
[2026-08-23 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-08-23 18:59: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-08-23 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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-23 18:59:40] 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-08-23 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-08-23 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-08-23 18:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597871616001,"66":13798,"176":206,"83":42752,"24":4,"16":15732761557991424,"45":1952662312863963136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-23 18:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597871616001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:59:40] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-23 18:59:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15732761557991424,"km_value":15732761557991.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1952662312863963136,"description":"Unknown IO ID 45"} 
[2026-08-23 18:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597871616001,"power":13798,"unknown_176":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1952662312863963136}} 
[2026-08-23 18:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":160986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:59:40] local.INFO: GPS data processed {"connection_id":160986,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:59:40] local.INFO: Acknowledgment sent {"connection_id":160986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:59:44] local.INFO: TCP Data received {"connection_id":160986,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecef048012d1b10c007248570002d00dd2a..."} 
[2026-08-23 18:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecef048012d1b10c007248570002d00dd2a..."} 
[2026-08-23 18:59:44] local.INFO: Processing buffer {"connection_id":160986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecef048012d1b10c007248570002d00dd2a..."} 
[2026-08-23 18:59:44] local.INFO: Packet analysis {"connection_id":160986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 18:59:44] local.INFO: Extracted packet for processing {"connection_id":160986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 18:59:44] local.INFO: GPS Element Parsed {"raw_longitude":756748480,"raw_latitude":119833968,"longitude_deg":75.674848,"latitude_deg":11.9833968,"altitude":45,"angle":221,"satellites":42,"speed":7,"hex_longitude":"2d1b10c0","hex_latitude":"07248570","is_valid_coordinates":true} 
[2026-08-23 18: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-08-23 18:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597876992001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15732778737860608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1950551250538223616,"note":"Value kept but may cause issues"} 
[2026-08-23 18:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787491709000,"timestamp_ms":1787491709000,"timestamp_seconds":1787491709,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecef048"} 
[2026-08-23 18:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:59:44] 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-08-23 18: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-23 18:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18: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-08-23 18:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 18:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 18:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 18:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 18:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597876992001,"66":13580,"176":206,"83":42752,"24":7,"16":15732778737860608,"45":1950551250538223616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-23 18:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 18:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 18:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597876992001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:59:44] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-23 18:59:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 18:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15732778737860608,"km_value":15732778737860.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1950551250538223616,"description":"Unknown IO ID 45"} 
[2026-08-23 18:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597876992001,"power":13580,"unknown_176":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1950551250538223616}} 
[2026-08-23 18:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":160986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:59:44] local.INFO: GPS data processed {"connection_id":160986,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:59:44] local.INFO: Acknowledgment sent {"connection_id":160986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 18:59:46] local.INFO: TCP Data received {"connection_id":163337,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:59:46] local.INFO: Processing buffer {"connection_id":163337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:59:46] local.INFO: IMEI packet received {"connection_id":163337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 18:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":163337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 18:59:50] local.INFO: TCP Data received {"connection_id":163337,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:59:50] local.INFO: Processing buffer {"connection_id":163337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 18:59:50] local.INFO: IMEI packet received {"connection_id":163337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 18:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":163337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 18:59:51] local.INFO: TCP Data received {"connection_id":163337,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 18:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 18:59:51] local.INFO: Processing buffer {"connection_id":163337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 18:59:51] local.INFO: Packet analysis {"connection_id":163337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 18:59:51] local.INFO: Extracted packet for processing {"connection_id":163337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 18:59:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 18:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 18:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597795840001,"note":"Value kept but may cause issues"} 
[2026-08-23 18:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 18:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 18:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 18:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787491691000,"timestamp_ms":1787491691000,"timestamp_seconds":1787491691,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecea9f8"} 
[2026-08-23 18:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 18:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 18:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 18:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 18:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 18:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 18:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 18:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 18:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 18:59:51] 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-08-23 18:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 18:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 18:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597795840001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 18:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 18:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 18:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597795840001,"description":"Unknown IO ID 0"} 
[2026-08-23 18:59:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 18:59:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 18:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 18:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 18:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597795840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 18:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":163337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 18:59:51] local.INFO: GPS data processed {"connection_id":163337,"processed":1,"errors":0,"total":1} 
[2026-08-23 18:59:51] local.INFO: Acknowledgment sent {"connection_id":163337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:00:11] local.INFO: TCP Data received {"connection_id":161943,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 19:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 19:00:11] local.INFO: Processing buffer {"connection_id":161943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 19:00:11] local.INFO: Packet analysis {"connection_id":161943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 19:00:11] local.INFO: Extracted packet for processing {"connection_id":161943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 19:00:11] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":42,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597802496001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787491717000,"timestamp_ms":1787491717000,"timestamp_seconds":1787491717,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecf0f88"} 
[2026-08-23 19:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 19:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 19:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 19:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597802496001,"66":2209,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 19:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 19:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 19:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597802496001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:00:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 19:00:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 19:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 19:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597802496001,"power":2209,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 19:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":161943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:00:11] local.INFO: GPS data processed {"connection_id":161943,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:00:11] local.INFO: Acknowledgment sent {"connection_id":161943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:00:24] local.INFO: TCP Data received {"connection_id":163337,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 19:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 19:00:24] local.INFO: Processing buffer {"connection_id":163337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 19:00:24] local.INFO: Packet analysis {"connection_id":163337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 19:00:24] local.INFO: Extracted packet for processing {"connection_id":163337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 19:00:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597795840001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787491691000,"timestamp_ms":1787491691000,"timestamp_seconds":1787491691,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecea9f8"} 
[2026-08-23 19:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 19:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:00:24] 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-08-23 19:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597795840001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597795840001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:00:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:00:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597795840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":163337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:00:24] local.INFO: GPS data processed {"connection_id":163337,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:00:24] local.INFO: Acknowledgment sent {"connection_id":163337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:00:26] local.INFO: TCP Data received {"connection_id":160740,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:00:26] local.INFO: Processing buffer {"connection_id":160740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:00:26] local.INFO: IMEI packet received {"connection_id":160740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":160740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:00:29] local.INFO: TCP Data received {"connection_id":160740,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:00:29] local.INFO: Processing buffer {"connection_id":160740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:00:29] local.INFO: IMEI packet received {"connection_id":160740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":160740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:00:32] local.INFO: TCP Data received {"connection_id":160740,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:00:32] local.INFO: Processing buffer {"connection_id":160740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:00:32] local.INFO: IMEI packet received {"connection_id":160740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":160740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:00:34] local.INFO: TCP Data received {"connection_id":160740,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecf4250012d1b0e8007248338002d00e125..."} 
[2026-08-23 19:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecf4250012d1b0e8007248338002d00e125..."} 
[2026-08-23 19:00:34] local.INFO: Processing buffer {"connection_id":160740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecf4250012d1b0e8007248338002d00e125..."} 
[2026-08-23 19:00:34] local.INFO: Packet analysis {"connection_id":160740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 19:00:34] local.INFO: Extracted packet for processing {"connection_id":160740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 19:00:34] local.INFO: GPS Element Parsed {"raw_longitude":756747904,"raw_latitude":119833400,"longitude_deg":75.6747904,"latitude_deg":11.98334,"altitude":45,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2d1b0e80","hex_latitude":"07248338","is_valid_coordinates":true} 
[2026-08-23 19:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597877504001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15732817392566272,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1950269775561453568,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787491730000,"timestamp_ms":1787491730000,"timestamp_seconds":1787491730,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecf4250"} 
[2026-08-23 19:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:00:34] 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-08-23 19:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-23 19:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751527908,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:34] local.WARNING: Large IO value detected {"io_id":228,"raw_value":3036676096,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1596807585829224458,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:34] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3455213569,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:34] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2431123496,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:34] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632547396049800,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535639758,"corrected_to":0} 
[2026-08-23 19:00:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:34] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3835756544,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:34] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2612095637509373989,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:34] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292553333879213,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:34] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:34] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,176,83,24,241,157,16,228,160,232,45,192,134,42,10,66,150,64,140,40,68,1,240,110,227,46,36,4,113,205,8,238,34,239,50,136,2,55,7,38,6,27,52,167],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1535639758,"validated":0}]} 
[2026-08-23 19:00:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242834904165580800,"timestamp_seconds":3242834904165581.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 19:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597877504001,"66":13820,"176":206,"83":42752,"24":0,"16":15732817392566272,"45":1950269775561453568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-23 19:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597877504001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:00:34] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-23 19:00:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 19:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15732817392566272,"km_value":15732817392566.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1950269775561453568,"description":"Unknown IO ID 45"} 
[2026-08-23 19:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597877504001,"power":13820,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1950269775561453568}} 
[2026-08-23 19:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":160740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:00:34] local.INFO: GPS data processed {"connection_id":160740,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:00:34] local.INFO: Acknowledgment sent {"connection_id":160740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:00:34] local.INFO: TCP Data received {"connection_id":160987,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160987,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:00:34] local.INFO: Processing buffer {"connection_id":160987,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:00:34] local.INFO: IMEI packet received {"connection_id":160987,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 19:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":160987,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:00:34] local.INFO: TCP Data received {"connection_id":160740,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecf9458012d1b084007247bf8002c00e526..."} 
[2026-08-23 19:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecf9458012d1b084007247bf8002c00e526..."} 
[2026-08-23 19:00:34] local.INFO: Processing buffer {"connection_id":160740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecf9458012d1b084007247bf8002c00e526..."} 
[2026-08-23 19:00:34] local.INFO: Packet analysis {"connection_id":160740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 19:00:34] local.INFO: Extracted packet for processing {"connection_id":160740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 19:00:34] local.INFO: GPS Element Parsed {"raw_longitude":756746304,"raw_latitude":119831544,"longitude_deg":75.6746304,"latitude_deg":11.9831544,"altitude":44,"angle":229,"satellites":38,"speed":0,"hex_longitude":"2d1b0840","hex_latitude":"07247bf8","is_valid_coordinates":true} 
[2026-08-23 19:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597882880001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15732941946617856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949636456863709184,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787491751000,"timestamp_ms":1787491751000,"timestamp_seconds":1787491751,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecf9458"} 
[2026-08-23 19:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:00:34] 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-08-23 19:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-23 19:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597882880001,"66":13689,"176":206,"83":42752,"24":0,"16":15732941946617856,"45":1949636456863709184},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-23 19:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597882880001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:00:34] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-23 19:00:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 19:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15732941946617856,"km_value":15732941946617.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949636456863709184,"description":"Unknown IO ID 45"} 
[2026-08-23 19:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597882880001,"power":13689,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1949636456863709184}} 
[2026-08-23 19:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":160740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:00:34] local.INFO: GPS data processed {"connection_id":160740,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:00:34] local.INFO: Acknowledgment sent {"connection_id":160740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:00:39] local.INFO: TCP Data received {"connection_id":160987,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160987,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:00:39] local.INFO: Processing buffer {"connection_id":160987,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:00:39] local.INFO: IMEI packet received {"connection_id":160987,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 19:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":160987,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:00:39] local.INFO: TCP Data received {"connection_id":160987,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 19:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 19:00:39] local.INFO: Processing buffer {"connection_id":160987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 19:00:39] local.INFO: Packet analysis {"connection_id":160987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 19:00:39] local.INFO: Extracted packet for processing {"connection_id":160987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 19:00:39] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":42,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 19:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597802496001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787491717000,"timestamp_ms":1787491717000,"timestamp_seconds":1787491717,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecf0f88"} 
[2026-08-23 19:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:00:39] 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-08-23 19: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 19:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 19:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 19:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597802496001,"66":2209,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 19:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 19:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 19:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597802496001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:00:39] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 19:00:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 19:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 19:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597802496001,"power":2209,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 19:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":160987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:00:39] local.INFO: GPS data processed {"connection_id":160987,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:00:39] local.INFO: Acknowledgment sent {"connection_id":160987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:00:45] local.INFO: TCP Data received {"connection_id":160741,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:00:45] local.INFO: Processing buffer {"connection_id":160741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:00:45] local.INFO: IMEI packet received {"connection_id":160741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":160741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:00:50] local.INFO: TCP Data received {"connection_id":160741,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:00:50] local.INFO: Processing buffer {"connection_id":160741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:00:50] local.INFO: IMEI packet received {"connection_id":160741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":160741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:00:51] local.INFO: TCP Data received {"connection_id":160741,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 19:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 19:00:51] local.INFO: Processing buffer {"connection_id":160741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 19:00:51] local.INFO: Packet analysis {"connection_id":160741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 19:00:51] local.INFO: Extracted packet for processing {"connection_id":160741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 19:00:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597795840001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787491691000,"timestamp_ms":1787491691000,"timestamp_seconds":1787491691,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecea9f8"} 
[2026-08-23 19:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 19:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597795840001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597795840001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:00:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:00:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597795840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":160741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:00:51] local.INFO: GPS data processed {"connection_id":160741,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:00:51] local.INFO: Acknowledgment sent {"connection_id":160741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:01:06] local.INFO: TCP Data received {"connection_id":160740,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecfe278012d1af1c0072464f0002f00d926..."} 
[2026-08-23 19:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecfe278012d1af1c0072464f0002f00d926..."} 
[2026-08-23 19:01:06] local.INFO: Processing buffer {"connection_id":160740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecfe278012d1af1c0072464f0002f00d926..."} 
[2026-08-23 19:01:06] local.INFO: Packet analysis {"connection_id":160740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 19:01:06] local.INFO: Extracted packet for processing {"connection_id":160740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 19:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756740544,"raw_latitude":119825648,"longitude_deg":75.6740544,"latitude_deg":11.9825648,"altitude":47,"angle":217,"satellites":38,"speed":24,"hex_longitude":"2d1af1c0","hex_latitude":"072464f0","is_valid_coordinates":true} 
[2026-08-23 19:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597888256001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15733337083609088,"note":"Value kept but may cause issues"} 
[2026-08-23 19:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1947877238258792448,"note":"Value kept but may cause issues"} 
[2026-08-23 19:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787491771000,"timestamp_ms":1787491771000,"timestamp_seconds":1787491771,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecfe278"} 
[2026-08-23 19:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-23 19:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597888256001,"66":13439,"176":206,"83":42752,"24":24,"16":15733337083609088,"45":1947877238258792448},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-23 19:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597888256001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:01:06] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-23 19:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 19:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15733337083609088,"km_value":15733337083609.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1947877238258792448,"description":"Unknown IO ID 45"} 
[2026-08-23 19:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597888256001,"power":13439,"unknown_176":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1947877238258792448}} 
[2026-08-23 19:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":160740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:01:06] local.INFO: GPS data processed {"connection_id":160740,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:01:06] local.INFO: Acknowledgment sent {"connection_id":160740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:01:10] local.INFO: TCP Data received {"connection_id":160987,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 19:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 19:01:10] local.INFO: Processing buffer {"connection_id":160987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 19:01:10] local.INFO: Packet analysis {"connection_id":160987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 19:01:10] local.INFO: Extracted packet for processing {"connection_id":160987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 19:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":42,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597802496001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 19:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 19:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787491717000,"timestamp_ms":1787491717000,"timestamp_seconds":1787491717,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecf0f88"} 
[2026-08-23 19:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:01:10] 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-08-23 19: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 19:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 19:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 19:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597802496001,"66":2209,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 19:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 19:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 19:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597802496001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:01:10] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 19:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 19:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 19:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597802496001,"power":2209,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 19:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":160987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:01:10] local.INFO: GPS data processed {"connection_id":160987,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:01:10] local.INFO: Acknowledgment sent {"connection_id":160987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:01:23] local.INFO: TCP Data received {"connection_id":160741,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 19:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 19:01:23] local.INFO: Processing buffer {"connection_id":160741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 19:01:23] local.INFO: Packet analysis {"connection_id":160741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 19:01:23] local.INFO: Extracted packet for processing {"connection_id":160741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 19:01:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597795840001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787491691000,"timestamp_ms":1787491691000,"timestamp_seconds":1787491691,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecea9f8"} 
[2026-08-23 19:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:01: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-08-23 19:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 19:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597795840001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597795840001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:01:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:01:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597795840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":160741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:01:23] local.INFO: GPS data processed {"connection_id":160741,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:01:23] local.INFO: Acknowledgment sent {"connection_id":160741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:01:29] local.INFO: TCP Data received {"connection_id":160742,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:01:29] local.INFO: Processing buffer {"connection_id":160742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:01:29] local.INFO: IMEI packet received {"connection_id":160742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":160742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:01:34] local.INFO: TCP Data received {"connection_id":160742,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:01:34] local.INFO: Processing buffer {"connection_id":160742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:01:34] local.INFO: IMEI packet received {"connection_id":160742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":160742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:01:34] local.INFO: TCP Data received {"connection_id":161944,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:01:34] local.INFO: Processing buffer {"connection_id":161944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:01:34] local.INFO: IMEI packet received {"connection_id":161944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 19:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":161944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:01:34] local.INFO: TCP Data received {"connection_id":160742,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed01540012d1adf40072445b8003500d827..."} 
[2026-08-23 19:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed01540012d1adf40072445b8003500d827..."} 
[2026-08-23 19:01:34] local.INFO: Processing buffer {"connection_id":160742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed01540012d1adf40072445b8003500d827..."} 
[2026-08-23 19:01:34] local.INFO: Packet analysis {"connection_id":160742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed0"} 
[2026-08-23 19:01:34] local.INFO: Extracted packet for processing {"connection_id":160742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed0"} 
[2026-08-23 19:01:34] local.INFO: GPS Element Parsed {"raw_longitude":756735808,"raw_latitude":119817656,"longitude_deg":75.6735808,"latitude_deg":11.9817656,"altitude":53,"angle":216,"satellites":39,"speed":29,"hex_longitude":"2d1adf40","hex_latitude":"072445b8","is_valid_coordinates":true} 
[2026-08-23 19:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597893376001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15733783760207872,"note":"Value kept but may cause issues"} 
[2026-08-23 19:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1941544051281293312,"note":"Value kept but may cause issues"} 
[2026-08-23 19:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787491784000,"timestamp_ms":1787491784000,"timestamp_seconds":1787491784,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed01540"} 
[2026-08-23 19:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-23 19:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597893376001,"66":13472,"176":206,"83":42752,"24":29,"16":15733783760207872,"45":1941544051281293312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-23 19:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597893376001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:01:34] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-23 19:01:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 19:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15733783760207872,"km_value":15733783760207.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1941544051281293312,"description":"Unknown IO ID 45"} 
[2026-08-23 19:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597893376001,"power":13472,"unknown_176":206,"unknown_83":42752,"ignition":29,"odometer":null,"unknown_45":1941544051281293312}} 
[2026-08-23 19:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":160742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:01:35] local.INFO: GPS data processed {"connection_id":160742,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:01:35] local.INFO: Acknowledgment sent {"connection_id":160742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:01:39] local.INFO: TCP Data received {"connection_id":161944,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:01:39] local.INFO: Processing buffer {"connection_id":161944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:01:39] local.INFO: IMEI packet received {"connection_id":161944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 19:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":161944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:01:39] local.INFO: TCP Data received {"connection_id":161944,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 19:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 19:01:39] local.INFO: Processing buffer {"connection_id":161944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 19:01:39] local.INFO: Packet analysis {"connection_id":161944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 19:01:39] local.INFO: Extracted packet for processing {"connection_id":161944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 19:01:39] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":42,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 19:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597802496001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 19:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 19:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787491717000,"timestamp_ms":1787491717000,"timestamp_seconds":1787491717,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecf0f88"} 
[2026-08-23 19:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:01:39] 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-08-23 19:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 19:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 19:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 19:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597802496001,"66":2209,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 19:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 19:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 19:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597802496001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:01:39] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 19:01:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 19:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 19:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597802496001,"power":2209,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 19:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":161944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:01:40] local.INFO: GPS data processed {"connection_id":161944,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:01:40] local.INFO: Acknowledgment sent {"connection_id":161944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:01:45] local.INFO: TCP Data received {"connection_id":160988,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:01:45] local.INFO: Processing buffer {"connection_id":160988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:01:45] local.INFO: IMEI packet received {"connection_id":160988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":160988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:01:50] local.INFO: TCP Data received {"connection_id":160988,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:01:50] local.INFO: Processing buffer {"connection_id":160988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:01:50] local.INFO: IMEI packet received {"connection_id":160988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":160988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:01:51] local.INFO: TCP Data received {"connection_id":160988,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 19:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 19:01:51] local.INFO: Processing buffer {"connection_id":160988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 19:01:51] local.INFO: Packet analysis {"connection_id":160988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 19:01:51] local.INFO: Extracted packet for processing {"connection_id":160988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 19:01:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597795840001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787491691000,"timestamp_ms":1787491691000,"timestamp_seconds":1787491691,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecea9f8"} 
[2026-08-23 19:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 19:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:01:51] 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-08-23 19:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597795840001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597795840001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:01:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:01:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597795840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":160988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:01:51] local.INFO: GPS data processed {"connection_id":160988,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:01:51] local.INFO: Acknowledgment sent {"connection_id":160988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:02:06] local.INFO: TCP Data received {"connection_id":160742,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed024e0012d1ad70007243d48003500e626..."} 
[2026-08-23 19:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed024e0012d1ad70007243d48003500e626..."} 
[2026-08-23 19:02:06] local.INFO: Processing buffer {"connection_id":160742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed024e0012d1ad70007243d48003500e626..."} 
[2026-08-23 19:02:06] local.INFO: Packet analysis {"connection_id":160742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed0"} 
[2026-08-23 19:02:06] local.INFO: Extracted packet for processing {"connection_id":160742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed0"} 
[2026-08-23 19:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756733696,"raw_latitude":119815496,"longitude_deg":75.6733696,"latitude_deg":11.9815496,"altitude":53,"angle":230,"satellites":38,"speed":29,"hex_longitude":"2d1ad700","hex_latitude":"07243d48","is_valid_coordinates":true} 
[2026-08-23 19:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597896704001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15733929789095936,"note":"Value kept but may cause issues"} 
[2026-08-23 19:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936336764210100224,"note":"Value kept but may cause issues"} 
[2026-08-23 19:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787491788000,"timestamp_ms":1787491788000,"timestamp_seconds":1787491788,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed024e0"} 
[2026-08-23 19:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-23 19:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597896704001,"66":13396,"176":206,"83":42752,"24":29,"16":15733929789095936,"45":1936336764210100224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-23 19:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597896704001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:02:06] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-23 19:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 19:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15733929789095936,"km_value":15733929789095.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936336764210100224,"description":"Unknown IO ID 45"} 
[2026-08-23 19:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597896704001,"power":13396,"unknown_176":206,"unknown_83":42752,"ignition":29,"odometer":null,"unknown_45":1936336764210100224}} 
[2026-08-23 19:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":160742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:02:06] local.INFO: GPS data processed {"connection_id":160742,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:02:06] local.INFO: Acknowledgment sent {"connection_id":160742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:02:10] local.INFO: TCP Data received {"connection_id":161944,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 19:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 19:02:10] local.INFO: Processing buffer {"connection_id":161944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 19:02:10] local.INFO: Packet analysis {"connection_id":161944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 19:02:10] local.INFO: Extracted packet for processing {"connection_id":161944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 19:02:10] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":42,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597802496001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 19:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 19:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787491717000,"timestamp_ms":1787491717000,"timestamp_seconds":1787491717,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecf0f88"} 
[2026-08-23 19:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:02:10] 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-08-23 19: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 19:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 19:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 19:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597802496001,"66":2209,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 19:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 19:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 19:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597802496001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:02:10] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 19:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 19:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 19:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597802496001,"power":2209,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 19:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":161944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:02:10] local.INFO: GPS data processed {"connection_id":161944,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:02:10] local.INFO: Acknowledgment sent {"connection_id":161944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:02:23] local.INFO: TCP Data received {"connection_id":160988,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 19:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 19:02:23] local.INFO: Processing buffer {"connection_id":160988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 19:02:23] local.INFO: Packet analysis {"connection_id":160988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 19:02:23] local.INFO: Extracted packet for processing {"connection_id":160988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 19:02:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597795840001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787491691000,"timestamp_ms":1787491691000,"timestamp_seconds":1787491691,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecea9f8"} 
[2026-08-23 19:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:02: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-08-23 19:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 19:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:02:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:02:23] 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-08-23 19:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597795840001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597795840001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:02:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:02:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597795840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":160988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:02:23] local.INFO: GPS data processed {"connection_id":160988,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:02:23] local.INFO: Acknowledgment sent {"connection_id":160988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:02:33] local.INFO: TCP Data received {"connection_id":160989,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:02:33] local.INFO: Processing buffer {"connection_id":160989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:02:33] local.INFO: IMEI packet received {"connection_id":160989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":160989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:02:34] local.INFO: TCP Data received {"connection_id":163338,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:02:34] local.INFO: Processing buffer {"connection_id":163338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:02:34] local.INFO: IMEI packet received {"connection_id":163338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 19:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":163338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:02:38] local.INFO: TCP Data received {"connection_id":160989,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:02:38] local.INFO: Processing buffer {"connection_id":160989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:02:38] local.INFO: IMEI packet received {"connection_id":160989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":160989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:02:39] local.INFO: TCP Data received {"connection_id":163338,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:02:39] local.INFO: Processing buffer {"connection_id":163338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:02:39] local.INFO: IMEI packet received {"connection_id":163338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 19:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":163338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:02:40] local.INFO: TCP Data received {"connection_id":163338,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 19:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 19:02:40] local.INFO: Processing buffer {"connection_id":163338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 19:02:40] local.INFO: Packet analysis {"connection_id":163338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 19:02:40] local.INFO: Extracted packet for processing {"connection_id":163338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 19:02:40] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":42,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597802496001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 19:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 19:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787491717000,"timestamp_ms":1787491717000,"timestamp_seconds":1787491717,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecf0f88"} 
[2026-08-23 19:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:02:40] 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-08-23 19: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 19:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 19:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 19:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597802496001,"66":2209,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 19:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 19:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 19:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597802496001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:02:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 19:02:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 19:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 19:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597802496001,"power":2209,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 19:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":163338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:02:40] local.INFO: GPS data processed {"connection_id":163338,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:02:40] local.INFO: Acknowledgment sent {"connection_id":163338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:02:45] local.INFO: TCP Data received {"connection_id":160743,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:02:45] local.INFO: Processing buffer {"connection_id":160743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:02:45] local.INFO: IMEI packet received {"connection_id":160743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":160743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:02:50] local.INFO: TCP Data received {"connection_id":160743,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:02:50] local.INFO: Processing buffer {"connection_id":160743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:02:50] local.INFO: IMEI packet received {"connection_id":160743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":160743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:02:51] local.INFO: TCP Data received {"connection_id":160989,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed1d678012d1a15000723ac68003500fb25..."} 
[2026-08-23 19:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed1d678012d1a15000723ac68003500fb25..."} 
[2026-08-23 19:02:51] local.INFO: Processing buffer {"connection_id":160989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed1d678012d1a15000723ac68003500fb25..."} 
[2026-08-23 19:02:51] local.INFO: Packet analysis {"connection_id":160989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed1"} 
[2026-08-23 19:02:51] local.INFO: Extracted packet for processing {"connection_id":160989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed1"} 
[2026-08-23 19:02:51] local.INFO: GPS Element Parsed {"raw_longitude":756684032,"raw_latitude":119778408,"longitude_deg":75.6684032,"latitude_deg":11.9778408,"altitude":53,"angle":251,"satellites":37,"speed":36,"hex_longitude":"2d1a1500","hex_latitude":"0723ac68","is_valid_coordinates":true} 
[2026-08-23 19:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597924864001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15736979215876096,"note":"Value kept but may cause issues"} 
[2026-08-23 19:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884193524764899328,"note":"Value kept but may cause issues"} 
[2026-08-23 19:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787491899000,"timestamp_ms":1787491899000,"timestamp_seconds":1787491899,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed1d678"} 
[2026-08-23 19:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-23 19:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597924864001,"66":13319,"42":206,"83":42752,"24":36,"16":15736979215876096,"45":1884193524764899328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-23 19:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597924864001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:02:51] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-23 19:02:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 19:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15736979215876096,"km_value":15736979215876.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884193524764899328,"description":"Unknown IO ID 45"} 
[2026-08-23 19:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597924864001,"power":13319,"unknown_42":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1884193524764899328}} 
[2026-08-23 19:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":160989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:02:51] local.INFO: GPS data processed {"connection_id":160989,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:02:51] local.INFO: Acknowledgment sent {"connection_id":160989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:02:51] local.INFO: TCP Data received {"connection_id":160743,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 19:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 19:02:51] local.INFO: Processing buffer {"connection_id":160743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 19:02:51] local.INFO: Packet analysis {"connection_id":160743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 19:02:51] local.INFO: Extracted packet for processing {"connection_id":160743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 19:02:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597795840001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787491691000,"timestamp_ms":1787491691000,"timestamp_seconds":1787491691,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecea9f8"} 
[2026-08-23 19:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 19:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597795840001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597795840001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:02:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:02:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597795840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":160743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:02:51] local.INFO: GPS data processed {"connection_id":160743,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:02:51] local.INFO: Acknowledgment sent {"connection_id":160743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:03:10] local.INFO: TCP Data received {"connection_id":163338,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 19:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 19:03:10] local.INFO: Processing buffer {"connection_id":163338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecf0f88012d882dc005cf6dc00007008b2a..."} 
[2026-08-23 19:03:10] local.INFO: Packet analysis {"connection_id":163338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 19:03:10] local.INFO: Extracted packet for processing {"connection_id":163338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ecf"} 
[2026-08-23 19:03:10] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":42,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597802496001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787491717000,"timestamp_ms":1787491717000,"timestamp_seconds":1787491717,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecf0f88"} 
[2026-08-23 19:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:03:10] 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-08-23 19: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-23 19:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 19:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 19:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597802496001,"66":2209,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 19:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 19:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 19:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597802496001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:03:10] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 19:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 19:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 19:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597802496001,"power":2209,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 19:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":163338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:03:10] local.INFO: GPS data processed {"connection_id":163338,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:03:10] local.INFO: Acknowledgment sent {"connection_id":163338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:03:23] local.INFO: TCP Data received {"connection_id":160743,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 19:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 19:03:23] local.INFO: Processing buffer {"connection_id":160743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ecea9f8012d34c58006aa40600015011420..."} 
[2026-08-23 19:03:23] local.INFO: Packet analysis {"connection_id":160743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 19:03:23] local.INFO: Extracted packet for processing {"connection_id":160743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ece"} 
[2026-08-23 19:03:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597795840001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787491691000,"timestamp_ms":1787491691000,"timestamp_seconds":1787491691,"priority":1,"record_length":96,"hex_timestamp":"000001a02ecea9f8"} 
[2026-08-23 19:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:03: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-08-23 19:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 19:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597795840001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597795840001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:03:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:03:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597795840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":160743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:03:23] local.INFO: GPS data processed {"connection_id":160743,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:03:23] local.INFO: Acknowledgment sent {"connection_id":160743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:03:34] local.INFO: TCP Data received {"connection_id":160744,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:03:34] local.INFO: Processing buffer {"connection_id":160744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:03:34] local.INFO: IMEI packet received {"connection_id":160744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 19:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":160744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:03:39] local.INFO: TCP Data received {"connection_id":163339,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:03:39] local.INFO: Processing buffer {"connection_id":163339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:03:39] local.INFO: IMEI packet received {"connection_id":163339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":163339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:03:39] local.INFO: TCP Data received {"connection_id":160744,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:03:39] local.INFO: Processing buffer {"connection_id":160744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:03:39] local.INFO: IMEI packet received {"connection_id":160744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 19:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":160744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:03:39] local.INFO: TCP Data received {"connection_id":160744,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:03:39] local.INFO: Processing buffer {"connection_id":160744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:03:39] local.INFO: Packet analysis {"connection_id":160744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:03:39] local.INFO: Extracted packet for processing {"connection_id":160744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:03:39] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 19:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597879552001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787492017000,"timestamp_ms":1787492017000,"timestamp_seconds":1787492017,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed3a368"} 
[2026-08-23 19:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:03:39] 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-08-23 19:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 19:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 19:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 19:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597879552001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 19:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 19:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 19:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597879552001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:03:39] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 19:03:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 19:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 19:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597879552001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 19:03:40] local.INFO: TCP Data received {"connection_id":163339,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:03:40] local.INFO: Processing buffer {"connection_id":163339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:03:40] local.INFO: IMEI packet received {"connection_id":163339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":163339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":160744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:03:40] local.INFO: GPS data processed {"connection_id":160744,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:03:40] local.INFO: Acknowledgment sent {"connection_id":160744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:03:44] local.INFO: TCP Data received {"connection_id":163339,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:03:44] local.INFO: Processing buffer {"connection_id":163339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:03:44] local.INFO: IMEI packet received {"connection_id":163339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":163339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:03:45] local.INFO: TCP Data received {"connection_id":163339,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed1ea00012d1a03400723a8c80036010725..."} 
[2026-08-23 19:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed1ea00012d1a03400723a8c80036010725..."} 
[2026-08-23 19:03:45] local.INFO: Processing buffer {"connection_id":163339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed1ea00012d1a03400723a8c80036010725..."} 
[2026-08-23 19:03:45] local.INFO: Packet analysis {"connection_id":163339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed1"} 
[2026-08-23 19:03:45] local.INFO: Extracted packet for processing {"connection_id":163339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed1"} 
[2026-08-23 19:03:45] local.INFO: GPS Element Parsed {"raw_longitude":756679488,"raw_latitude":119777480,"longitude_deg":75.6679488,"latitude_deg":11.977748,"altitude":54,"angle":263,"satellites":37,"speed":38,"hex_longitude":"2d1a0340","hex_latitude":"0723a8c8","is_valid_coordinates":true} 
[2026-08-23 19:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597926144001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15737202554175488,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1879408450160322560,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787491904000,"timestamp_ms":1787491904000,"timestamp_seconds":1787491904,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed1ea00"} 
[2026-08-23 19:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:03:45] 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-08-23 19:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 19:03:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:45] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407135,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:45] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3513837569,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:45] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3958898742,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596588238,"corrected_to":0} 
[2026-08-23 19:03:45] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3221302554,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:45] local.WARNING: Large IO value detected {"io_id":93,"raw_value":2147951609,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:45] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3883663360,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:45] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57807008527438759,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:45] local.WARNING: Large IO value detected {"io_id":208,"raw_value":-1997345141510389753,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:45] local.WARNING: Large IO value detected {"io_id":36,"raw_value":524669588532110848,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:45] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,42,83,24,241,157,16,232,160,194,45,179,52,38,10,66,192,188,54,40,155,1,240,181,227,46,35,4,113,205,27,77,93,176,239,43,2,55,7,53,14,84,208,36],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1596588238,"validated":0}]} 
[2026-08-23 19:03:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819328620344901632,"timestamp_seconds":3819328620344901.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 19:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597926144001,"66":13428,"42":206,"83":42752,"24":38,"16":15737202554175488,"45":1879408450160322560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-23 19:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597926144001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:03:45] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-23 19:03:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-23 19:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15737202554175488,"km_value":15737202554175.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1879408450160322560,"description":"Unknown IO ID 45"} 
[2026-08-23 19:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597926144001,"power":13428,"unknown_42":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1879408450160322560}} 
[2026-08-23 19:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":163339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:03:45] local.INFO: GPS data processed {"connection_id":163339,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:03:45] local.INFO: Acknowledgment sent {"connection_id":163339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:03:50] local.INFO: TCP Data received {"connection_id":160745,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:03:50] local.INFO: Processing buffer {"connection_id":160745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:03:50] local.INFO: IMEI packet received {"connection_id":160745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":160745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:03:51] local.INFO: TCP Data received {"connection_id":160745,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:03:51] local.INFO: Processing buffer {"connection_id":160745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:03:51] local.INFO: IMEI packet received {"connection_id":160745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":160745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:03:55] local.INFO: TCP Data received {"connection_id":160745,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:03:55] local.INFO: Processing buffer {"connection_id":160745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:03:55] local.INFO: IMEI packet received {"connection_id":160745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":160745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:03:56] local.INFO: TCP Data received {"connection_id":160745,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:03:56] local.INFO: Processing buffer {"connection_id":160745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:03:56] local.INFO: Packet analysis {"connection_id":160745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:03:56] local.INFO: Extracted packet for processing {"connection_id":160745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:03:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597872896001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787491992000,"timestamp_ms":1787491992000,"timestamp_seconds":1787491992,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed341c0"} 
[2026-08-23 19:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597872896001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597872896001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:03:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:03:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597872896001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":160745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:03:56] local.INFO: GPS data processed {"connection_id":160745,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:03:56] local.INFO: Acknowledgment sent {"connection_id":160745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:04:01] local.INFO: TCP Data received {"connection_id":160745,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:04:01] local.INFO: Processing buffer {"connection_id":160745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:04:01] local.INFO: Packet analysis {"connection_id":160745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:04:01] local.INFO: Extracted packet for processing {"connection_id":160745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:04:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597872896001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787491992000,"timestamp_ms":1787491992000,"timestamp_seconds":1787491992,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed341c0"} 
[2026-08-23 19:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597872896001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597872896001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:04:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:04:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597872896001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":160745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:04:01] local.INFO: GPS data processed {"connection_id":160745,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:04:01] local.INFO: Acknowledgment sent {"connection_id":160745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:04:10] local.INFO: TCP Data received {"connection_id":160744,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:04:10] local.INFO: Processing buffer {"connection_id":160744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:04:10] local.INFO: Packet analysis {"connection_id":160744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:04:10] local.INFO: Extracted packet for processing {"connection_id":160744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:04:10] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597879552001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 19:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 19:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787492017000,"timestamp_ms":1787492017000,"timestamp_seconds":1787492017,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed3a368"} 
[2026-08-23 19:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:04:10] 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-08-23 19: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 19:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 19:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 19:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597879552001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 19:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 19:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 19:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597879552001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:04:10] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 19:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 19:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 19:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597879552001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 19:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":160744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:04:10] local.INFO: GPS data processed {"connection_id":160744,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:04:10] local.INFO: Acknowledgment sent {"connection_id":160744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:04:30] local.INFO: TCP Data received {"connection_id":163340,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:04:30] local.INFO: Processing buffer {"connection_id":163340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:04:30] local.INFO: IMEI packet received {"connection_id":163340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":163340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:04:31] local.INFO: TCP Data received {"connection_id":163340,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:04:31] local.INFO: Processing buffer {"connection_id":163340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:04:31] local.INFO: IMEI packet received {"connection_id":163340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":163340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:04:34] local.INFO: TCP Data received {"connection_id":163340,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:04:34] local.INFO: Processing buffer {"connection_id":163340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:04:34] local.INFO: IMEI packet received {"connection_id":163340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":163340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:04:34] local.INFO: TCP Data received {"connection_id":163340,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:04:34] local.INFO: Processing buffer {"connection_id":163340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:04:34] local.INFO: IMEI packet received {"connection_id":163340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":163340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:04:39] local.INFO: TCP Data received {"connection_id":160746,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:04:39] local.INFO: Processing buffer {"connection_id":160746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:04:39] local.INFO: IMEI packet received {"connection_id":160746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 19:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":160746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:04:44] local.INFO: TCP Data received {"connection_id":160746,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:04:44] local.INFO: Processing buffer {"connection_id":160746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:04:44] local.INFO: IMEI packet received {"connection_id":160746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 19:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":160746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:04:45] local.INFO: TCP Data received {"connection_id":161945,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:04:45] local.INFO: Processing buffer {"connection_id":161945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:04:45] local.INFO: IMEI packet received {"connection_id":161945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":161945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:04:46] local.INFO: TCP Data received {"connection_id":160746,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:04:46] local.INFO: Processing buffer {"connection_id":160746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:04:46] local.INFO: Packet analysis {"connection_id":160746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:04:46] local.INFO: Extracted packet for processing {"connection_id":160746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:04:46] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 19:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597879552001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 19:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 19:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787492017000,"timestamp_ms":1787492017000,"timestamp_seconds":1787492017,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed3a368"} 
[2026-08-23 19:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:04:46] 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-08-23 19:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 19:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 19:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 19:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597879552001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 19:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 19:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 19:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597879552001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:04:46] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 19:04:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 19:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 19:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597879552001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 19:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":160746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:04:46] local.INFO: GPS data processed {"connection_id":160746,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:04:46] local.INFO: Acknowledgment sent {"connection_id":160746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:04:49] local.INFO: TCP Data received {"connection_id":160746,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:04:49] local.INFO: Processing buffer {"connection_id":160746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:04:49] local.INFO: Packet analysis {"connection_id":160746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:04:49] local.INFO: Extracted packet for processing {"connection_id":160746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:04:49] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 19:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597879552001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 19:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 19:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787492017000,"timestamp_ms":1787492017000,"timestamp_seconds":1787492017,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed3a368"} 
[2026-08-23 19:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 19:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":160746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":160746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":160746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 19:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 19:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597879552001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 19:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 19:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 19:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597879552001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:04:49] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 19:04:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 19:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 19:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597879552001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 19:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":160746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:04:49] local.INFO: GPS data processed {"connection_id":160746,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:04:49] local.INFO: Acknowledgment sent {"connection_id":160746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:04:50] local.INFO: TCP Data received {"connection_id":161945,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:04:50] local.INFO: Processing buffer {"connection_id":161945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:04:50] local.INFO: IMEI packet received {"connection_id":161945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":161945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:04:51] local.INFO: TCP Data received {"connection_id":161945,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:04:51] local.INFO: Processing buffer {"connection_id":161945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:04:51] local.INFO: Packet analysis {"connection_id":161945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:04:51] local.INFO: Extracted packet for processing {"connection_id":161945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:04:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597872896001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787491992000,"timestamp_ms":1787491992000,"timestamp_seconds":1787491992,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed341c0"} 
[2026-08-23 19:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:04: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-08-23 19:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597872896001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597872896001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:04:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:04:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597872896001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":161945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:04:51] local.INFO: GPS data processed {"connection_id":161945,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:04:51] local.INFO: Acknowledgment sent {"connection_id":161945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:05:24] local.INFO: TCP Data received {"connection_id":161945,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:05:24] local.INFO: Processing buffer {"connection_id":161945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:05:24] local.INFO: Packet analysis {"connection_id":161945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:05:24] local.INFO: Extracted packet for processing {"connection_id":161945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:05:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597872896001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787491992000,"timestamp_ms":1787491992000,"timestamp_seconds":1787491992,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed341c0"} 
[2026-08-23 19:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:05:24] 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-08-23 19:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597872896001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597872896001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:05:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:05:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597872896001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":161945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:05:24] local.INFO: GPS data processed {"connection_id":161945,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:05:24] local.INFO: Acknowledgment sent {"connection_id":161945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:05:34] local.INFO: TCP Data received {"connection_id":163341,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:05:34] local.INFO: Processing buffer {"connection_id":163341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:05:34] local.INFO: IMEI packet received {"connection_id":163341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 19:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":163341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:05:39] local.INFO: TCP Data received {"connection_id":163341,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:05:39] local.INFO: Processing buffer {"connection_id":163341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:05:39] local.INFO: IMEI packet received {"connection_id":163341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 19:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":163341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:05:40] local.INFO: TCP Data received {"connection_id":163341,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:05:40] local.INFO: Processing buffer {"connection_id":163341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:05:40] local.INFO: Packet analysis {"connection_id":163341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:05:40] local.INFO: Extracted packet for processing {"connection_id":163341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:05:40] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 19:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597879552001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 19:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 19:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787492017000,"timestamp_ms":1787492017000,"timestamp_seconds":1787492017,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed3a368"} 
[2026-08-23 19:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:05:40] 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-08-23 19:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 19:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 19:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 19:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597879552001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 19:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 19:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 19:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597879552001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:05:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 19:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 19:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 19:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597879552001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 19:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":163341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:05:40] local.INFO: GPS data processed {"connection_id":163341,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:05:40] local.INFO: Acknowledgment sent {"connection_id":163341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:05:45] local.INFO: TCP Data received {"connection_id":160747,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:05:45] local.INFO: Processing buffer {"connection_id":160747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:05:45] local.INFO: IMEI packet received {"connection_id":160747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":160747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:05:50] local.INFO: TCP Data received {"connection_id":160747,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:05:50] local.INFO: Processing buffer {"connection_id":160747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:05:50] local.INFO: IMEI packet received {"connection_id":160747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":160747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:05:51] local.INFO: TCP Data received {"connection_id":160747,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:05:51] local.INFO: Processing buffer {"connection_id":160747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:05:51] local.INFO: Packet analysis {"connection_id":160747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:05:51] local.INFO: Extracted packet for processing {"connection_id":160747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:05:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597872896001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787491992000,"timestamp_ms":1787491992000,"timestamp_seconds":1787491992,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed341c0"} 
[2026-08-23 19:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:05: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-08-23 19:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597872896001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597872896001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:05:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:05:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597872896001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":160747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:05:51] local.INFO: GPS data processed {"connection_id":160747,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:05:51] local.INFO: Acknowledgment sent {"connection_id":160747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:06:11] local.INFO: TCP Data received {"connection_id":163341,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:06:11] local.INFO: Processing buffer {"connection_id":163341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:06:11] local.INFO: Packet analysis {"connection_id":163341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:06:11] local.INFO: Extracted packet for processing {"connection_id":163341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:06:11] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 19:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597879552001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 19:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 19:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787492017000,"timestamp_ms":1787492017000,"timestamp_seconds":1787492017,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed3a368"} 
[2026-08-23 19:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:06:11] 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-08-23 19:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 19:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 19:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 19:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597879552001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 19:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 19:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 19:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597879552001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:06:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 19:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 19:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 19:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597879552001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 19:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":163341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:06:11] local.INFO: GPS data processed {"connection_id":163341,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:06:11] local.INFO: Acknowledgment sent {"connection_id":163341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:06:23] local.INFO: TCP Data received {"connection_id":160747,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:06:23] local.INFO: Processing buffer {"connection_id":160747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:06:23] local.INFO: Packet analysis {"connection_id":160747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:06:23] local.INFO: Extracted packet for processing {"connection_id":160747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:06:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597872896001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787491992000,"timestamp_ms":1787491992000,"timestamp_seconds":1787491992,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed341c0"} 
[2026-08-23 19:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:06:23] 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-08-23 19: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-08-23 19:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:06:23] 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-08-23 19:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597872896001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597872896001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:06:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:06:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597872896001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":160747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:06:23] local.INFO: GPS data processed {"connection_id":160747,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:06:23] local.INFO: Acknowledgment sent {"connection_id":160747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:06:34] local.INFO: TCP Data received {"connection_id":160991,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:06:34] local.INFO: Processing buffer {"connection_id":160991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:06:34] local.INFO: IMEI packet received {"connection_id":160991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 19:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":160991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:06:39] local.INFO: TCP Data received {"connection_id":160991,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:06:39] local.INFO: Processing buffer {"connection_id":160991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:06:39] local.INFO: IMEI packet received {"connection_id":160991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 19:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":160991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:06:39] local.INFO: TCP Data received {"connection_id":160991,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:06:39] local.INFO: Processing buffer {"connection_id":160991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:06:39] local.INFO: Packet analysis {"connection_id":160991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:06:39] local.INFO: Extracted packet for processing {"connection_id":160991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:06:39] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 19:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597879552001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 19:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 19:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787492017000,"timestamp_ms":1787492017000,"timestamp_seconds":1787492017,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed3a368"} 
[2026-08-23 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-08-23 19:06:39] 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-08-23 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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 19:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 19:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 19:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 19:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597879552001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 19:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 19:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 19:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597879552001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:06:39] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 19:06:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 19:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 19:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597879552001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 19:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":160991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:06:40] local.INFO: GPS data processed {"connection_id":160991,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:06:40] local.INFO: Acknowledgment sent {"connection_id":160991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:06:50] local.INFO: TCP Data received {"connection_id":160748,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:06:50] local.INFO: Processing buffer {"connection_id":160748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:06:50] local.INFO: IMEI packet received {"connection_id":160748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":160748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:06:51] local.INFO: TCP Data received {"connection_id":160748,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:06:51] local.INFO: Processing buffer {"connection_id":160748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:06:51] local.INFO: IMEI packet received {"connection_id":160748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":160748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:06:52] local.INFO: TCP Data received {"connection_id":160748,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:06:52] local.INFO: Processing buffer {"connection_id":160748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:06:52] local.INFO: Packet analysis {"connection_id":160748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:06:52] local.INFO: Extracted packet for processing {"connection_id":160748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:06: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-08-23 19:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597872896001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787491992000,"timestamp_ms":1787491992000,"timestamp_seconds":1787491992,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed341c0"} 
[2026-08-23 19:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:06:52] 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-08-23 19:06: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-08-23 19:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:06:52] 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-08-23 19:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597872896001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597872896001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:06:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597872896001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":160748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:06:52] local.INFO: GPS data processed {"connection_id":160748,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:06:52] local.INFO: Acknowledgment sent {"connection_id":160748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:06:56] local.INFO: TCP Data received {"connection_id":160748,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:06:56] local.INFO: Processing buffer {"connection_id":160748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:06:56] local.INFO: Packet analysis {"connection_id":160748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:06:56] local.INFO: Extracted packet for processing {"connection_id":160748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:06:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597872896001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787491992000,"timestamp_ms":1787491992000,"timestamp_seconds":1787491992,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed341c0"} 
[2026-08-23 19:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597872896001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597872896001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:06:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:06:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597872896001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":160748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:06:56] local.INFO: GPS data processed {"connection_id":160748,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:06:56] local.INFO: Acknowledgment sent {"connection_id":160748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:07:13] local.INFO: TCP Data received {"connection_id":160991,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:07:13] local.INFO: Processing buffer {"connection_id":160991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:07:13] local.INFO: Packet analysis {"connection_id":160991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:07:13] local.INFO: Extracted packet for processing {"connection_id":160991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:07:13] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 19:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597879552001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 19:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 19:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787492017000,"timestamp_ms":1787492017000,"timestamp_seconds":1787492017,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed3a368"} 
[2026-08-23 19:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:07:13] 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-08-23 19:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 19:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 19:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 19:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597879552001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 19:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 19:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 19:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597879552001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:07:13] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 19:07:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 19:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 19:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597879552001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 19:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":160991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:07:13] local.INFO: GPS data processed {"connection_id":160991,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:07:13] local.INFO: Acknowledgment sent {"connection_id":160991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:07:28] local.INFO: TCP Data received {"connection_id":160748,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:07:28] local.INFO: Processing buffer {"connection_id":160748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:07:28] local.INFO: Packet analysis {"connection_id":160748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:07:28] local.INFO: Extracted packet for processing {"connection_id":160748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:07:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597872896001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787491992000,"timestamp_ms":1787491992000,"timestamp_seconds":1787491992,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed341c0"} 
[2026-08-23 19:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597872896001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597872896001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:07:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:07:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597872896001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":160748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:07:28] local.INFO: GPS data processed {"connection_id":160748,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:07:28] local.INFO: Acknowledgment sent {"connection_id":160748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:07:34] local.INFO: TCP Data received {"connection_id":163342,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:07:34] local.INFO: Processing buffer {"connection_id":163342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:07:34] local.INFO: IMEI packet received {"connection_id":163342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-23 19:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":163342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:07:39] local.INFO: TCP Data received {"connection_id":163342,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:07:39] local.INFO: Processing buffer {"connection_id":163342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-23 19:07:39] local.INFO: IMEI packet received {"connection_id":163342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-23 19:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":163342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:07:40] local.INFO: TCP Data received {"connection_id":163342,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:07:40] local.INFO: Processing buffer {"connection_id":163342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed3a368012d882dc005cf6dc00007008b2b..."} 
[2026-08-23 19:07:40] local.INFO: Packet analysis {"connection_id":163342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:07:40] local.INFO: Extracted packet for processing {"connection_id":163342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:07:40] local.INFO: GPS Element Parsed {"raw_longitude":763899328,"raw_latitude":97480128,"longitude_deg":76.3899328,"latitude_deg":9.7480128,"altitude":7,"angle":139,"satellites":43,"speed":0,"hex_longitude":"2d882dc0","hex_latitude":"05cf6dc0","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597879552001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122925185236992000,"note":"Value kept but may cause issues"} 
[2026-08-23 19:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634033779411927040,"note":"Value kept but may cause issues"} 
[2026-08-23 19:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787492017000,"timestamp_ms":1787492017000,"timestamp_seconds":1787492017,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed3a368"} 
[2026-08-23 19:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:07:40] 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-08-23 19: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-23 19:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-23 19:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-23 19:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-23 19:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597879552001,"66":2198,"139":206,"85":15104,"24":0,"16":122925185236992000,"45":-8634033779411927040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-23 19:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-23 19:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-23 19:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597879552001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:07:40] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-23 19:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-23 19:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122925185236992000,"km_value":122925185236992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634033779411927040,"description":"Unknown IO ID 45"} 
[2026-08-23 19:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597879552001,"power":2198,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634033779411927040}} 
[2026-08-23 19:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":163342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:07:40] local.INFO: GPS data processed {"connection_id":163342,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:07:40] local.INFO: Acknowledgment sent {"connection_id":163342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:07:45] local.INFO: TCP Data received {"connection_id":160750,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:07:45] local.INFO: Processing buffer {"connection_id":160750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:07:45] local.INFO: IMEI packet received {"connection_id":160750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":160750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:07:50] local.INFO: TCP Data received {"connection_id":160750,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:07:50] local.INFO: Processing buffer {"connection_id":160750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:07:50] local.INFO: IMEI packet received {"connection_id":160750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":160750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:07:51] local.INFO: TCP Data received {"connection_id":160750,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:07:51] local.INFO: Processing buffer {"connection_id":160750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:07:51] local.INFO: Packet analysis {"connection_id":160750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:07:51] local.INFO: Extracted packet for processing {"connection_id":160750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:07:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597872896001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787491992000,"timestamp_ms":1787491992000,"timestamp_seconds":1787491992,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed341c0"} 
[2026-08-23 19:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:07: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-08-23 19:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597872896001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597872896001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:07:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:07:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597872896001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":160750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:07:51] local.INFO: GPS data processed {"connection_id":160750,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:07:51] local.INFO: Acknowledgment sent {"connection_id":160750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:08:22] local.INFO: TCP Data received {"connection_id":160750,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:08:22] local.INFO: Processing buffer {"connection_id":160750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed341c0012d34c58006aa40600015011423..."} 
[2026-08-23 19:08:22] local.INFO: Packet analysis {"connection_id":160750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:08:22] local.INFO: Extracted packet for processing {"connection_id":160750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed3"} 
[2026-08-23 19:08:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597872896001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787491992000,"timestamp_ms":1787491992000,"timestamp_seconds":1787491992,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed341c0"} 
[2026-08-23 19:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:08: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-08-23 19:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597872896001,"66":25451,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597872896001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:08:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:08:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597872896001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":160750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:08:23] local.INFO: GPS data processed {"connection_id":160750,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:08:23] local.INFO: Acknowledgment sent {"connection_id":160750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:08:50] local.INFO: TCP Data received {"connection_id":160992,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:08:50] local.INFO: Processing buffer {"connection_id":160992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:08:50] local.INFO: IMEI packet received {"connection_id":160992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":160992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:08:51] local.INFO: TCP Data received {"connection_id":160992,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:08:51] local.INFO: Processing buffer {"connection_id":160992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:08:51] local.INFO: IMEI packet received {"connection_id":160992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":160992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:08:52] local.INFO: TCP Data received {"connection_id":160992,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:08:52] local.INFO: Processing buffer {"connection_id":160992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:08:52] local.INFO: Packet analysis {"connection_id":160992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:08:52] local.INFO: Extracted packet for processing {"connection_id":160992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:08:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597949952001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787492293000,"timestamp_ms":1787492293000,"timestamp_seconds":1787492293,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed7d988"} 
[2026-08-23 19:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 19:08:52] 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-08-23 19: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-08-23 19:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:08: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-08-23 19:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597949952001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597949952001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:08:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:08:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597949952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":160992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:08:52] local.INFO: GPS data processed {"connection_id":160992,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:08:52] local.INFO: Acknowledgment sent {"connection_id":160992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:08:56] local.INFO: TCP Data received {"connection_id":160992,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:08:56] local.INFO: Processing buffer {"connection_id":160992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:08:56] local.INFO: Packet analysis {"connection_id":160992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:08:56] local.INFO: Extracted packet for processing {"connection_id":160992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:08:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597949952001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787492293000,"timestamp_ms":1787492293000,"timestamp_seconds":1787492293,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed7d988"} 
[2026-08-23 19:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 19:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597949952001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597949952001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:08:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:08:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597949952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":160992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:08:56] local.INFO: GPS data processed {"connection_id":160992,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:08:56] local.INFO: Acknowledgment sent {"connection_id":160992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:09:28] local.INFO: TCP Data received {"connection_id":160992,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:09:28] local.INFO: Processing buffer {"connection_id":160992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:09:28] local.INFO: Packet analysis {"connection_id":160992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:09:28] local.INFO: Extracted packet for processing {"connection_id":160992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:09:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597949952001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787492293000,"timestamp_ms":1787492293000,"timestamp_seconds":1787492293,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed7d988"} 
[2026-08-23 19:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 19:09:28] 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-08-23 19:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597949952001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597949952001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:09:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:09:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597949952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":160992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:09:28] local.INFO: GPS data processed {"connection_id":160992,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:09:28] local.INFO: Acknowledgment sent {"connection_id":160992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:09:38] local.INFO: TCP Data received {"connection_id":160993,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:09:38] local.INFO: Processing buffer {"connection_id":160993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:09:38] local.INFO: IMEI packet received {"connection_id":160993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":160993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:09:39] local.INFO: TCP Data received {"connection_id":160993,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed750d0012d177740072067a8002a00c926..."} 
[2026-08-23 19:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed750d0012d177740072067a8002a00c926..."} 
[2026-08-23 19:09:39] local.INFO: Processing buffer {"connection_id":160993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed750d0012d177740072067a8002a00c926..."} 
[2026-08-23 19:09:39] local.INFO: Packet analysis {"connection_id":160993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:09:39] local.INFO: Extracted packet for processing {"connection_id":160993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:09:39] local.INFO: GPS Element Parsed {"raw_longitude":756512576,"raw_latitude":119564200,"longitude_deg":75.6512576,"latitude_deg":11.95642,"altitude":42,"angle":201,"satellites":38,"speed":6,"hex_longitude":"2d177740","hex_latitude":"072067a8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 19:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598016000001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15752011601412096,"note":"Value kept but may cause issues"} 
[2026-08-23 19:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1691242428175022080,"note":"Value kept but may cause issues"} 
[2026-08-23 19:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787492258000,"timestamp_ms":1787492258000,"timestamp_seconds":1787492258,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed750d0"} 
[2026-08-23 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-08-23 19:09: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-08-23 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-23 19:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 19:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598016000001,"66":12722,"107":206,"83":41984,"24":6,"16":15752011601412096,"45":1691242428175022080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 19:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598016000001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:09:39] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 19:09:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15752011601412096,"km_value":15752011601412.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1691242428175022080,"description":"Unknown IO ID 45"} 
[2026-08-23 19:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598016000001,"power":12722,"unknown_107":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1691242428175022080}} 
[2026-08-23 19:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":160993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:09:39] local.INFO: GPS data processed {"connection_id":160993,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:09:39] local.INFO: Acknowledgment sent {"connection_id":160993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:09:46] local.INFO: TCP Data received {"connection_id":160751,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:09:46] local.INFO: Processing buffer {"connection_id":160751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:09:46] local.INFO: IMEI packet received {"connection_id":160751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":160751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:09:50] local.INFO: TCP Data received {"connection_id":160751,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:09:50] local.INFO: Processing buffer {"connection_id":160751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:09:50] local.INFO: IMEI packet received {"connection_id":160751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":160751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:09:53] local.INFO: TCP Data received {"connection_id":160751,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:09:53] local.INFO: Processing buffer {"connection_id":160751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:09:53] local.INFO: Packet analysis {"connection_id":160751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:09:53] local.INFO: Extracted packet for processing {"connection_id":160751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:09:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597949952001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787492293000,"timestamp_ms":1787492293000,"timestamp_seconds":1787492293,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed7d988"} 
[2026-08-23 19:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:09: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-08-23 19: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 19:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597949952001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597949952001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:09:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:09:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597949952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":160751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:09:53] local.INFO: GPS data processed {"connection_id":160751,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:09:53] local.INFO: Acknowledgment sent {"connection_id":160751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:10:10] local.INFO: TCP Data received {"connection_id":160993,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed7a2d8012d17770007206740002a00c925..."} 
[2026-08-23 19:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed7a2d8012d17770007206740002a00c925..."} 
[2026-08-23 19:10:10] local.INFO: Processing buffer {"connection_id":160993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed7a2d8012d17770007206740002a00c925..."} 
[2026-08-23 19:10:10] local.INFO: Packet analysis {"connection_id":160993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:10:10] local.INFO: Extracted packet for processing {"connection_id":160993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:10:10] local.INFO: GPS Element Parsed {"raw_longitude":756512512,"raw_latitude":119564096,"longitude_deg":75.6512512,"latitude_deg":11.9564096,"altitude":42,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2d177700","hex_latitude":"07206740","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598018048001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15752020191346688,"note":"Value kept but may cause issues"} 
[2026-08-23 19:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1690890584453523456,"note":"Value kept but may cause issues"} 
[2026-08-23 19:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787492279000,"timestamp_ms":1787492279000,"timestamp_seconds":1787492279,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed7a2d8"} 
[2026-08-23 19:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:10:10] 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-08-23 19: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 19:10:10] 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-08-23 19: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-08-23 19:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598018048001,"66":13515,"107":206,"83":41984,"24":0,"16":15752020191346688,"45":1690890584453523456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 19:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598018048001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:10:10] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 19:10:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15752020191346688,"km_value":15752020191346.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1690890584453523456,"description":"Unknown IO ID 45"} 
[2026-08-23 19:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598018048001,"power":13515,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1690890584453523456}} 
[2026-08-23 19:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":160993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:10:10] local.INFO: GPS data processed {"connection_id":160993,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:10:10] local.INFO: Acknowledgment sent {"connection_id":160993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:10:24] local.INFO: TCP Data received {"connection_id":160751,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:10:24] local.INFO: Processing buffer {"connection_id":160751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:10:24] local.INFO: Packet analysis {"connection_id":160751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:10:24] local.INFO: Extracted packet for processing {"connection_id":160751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:10:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597949952001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787492293000,"timestamp_ms":1787492293000,"timestamp_seconds":1787492293,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed7d988"} 
[2026-08-23 19:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 19:10:24] 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-08-23 19:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597949952001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597949952001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:10:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:10:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597949952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":160751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:10:24] local.INFO: GPS data processed {"connection_id":160751,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:10:24] local.INFO: Acknowledgment sent {"connection_id":160751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:10:28] local.INFO: TCP Data received {"connection_id":160994,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:10:28] local.INFO: Processing buffer {"connection_id":160994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:10:28] local.INFO: IMEI packet received {"connection_id":160994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":160994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:10:28] local.INFO: TCP Data received {"connection_id":160994,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:10:28] local.INFO: Processing buffer {"connection_id":160994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:10:28] local.INFO: IMEI packet received {"connection_id":160994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":160994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:10:34] local.INFO: TCP Data received {"connection_id":160994,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:10:34] local.INFO: Processing buffer {"connection_id":160994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:10:34] local.INFO: IMEI packet received {"connection_id":160994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":160994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:10:35] local.INFO: TCP Data received {"connection_id":160994,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed7f4e0012d17770007206740002a00c927..."} 
[2026-08-23 19:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed7f4e0012d17770007206740002a00c927..."} 
[2026-08-23 19:10:35] local.INFO: Processing buffer {"connection_id":160994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed7f4e0012d17770007206740002a00c927..."} 
[2026-08-23 19:10:35] local.INFO: Packet analysis {"connection_id":160994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:10:35] local.INFO: Extracted packet for processing {"connection_id":160994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:10:35] local.INFO: GPS Element Parsed {"raw_longitude":756512512,"raw_latitude":119564096,"longitude_deg":75.6512512,"latitude_deg":11.9564096,"altitude":42,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2d177700","hex_latitude":"07206740","is_valid_coordinates":true} 
[2026-08-23 19:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598023424001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15752020191346688,"note":"Value kept but may cause issues"} 
[2026-08-23 19:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1690820215709319168,"note":"Value kept but may cause issues"} 
[2026-08-23 19:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787492300000,"timestamp_ms":1787492300000,"timestamp_seconds":1787492300,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed7f4e0"} 
[2026-08-23 19:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-23 19:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598023424001,"66":12667,"107":206,"83":41984,"24":0,"16":15752020191346688,"45":1690820215709319168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 19:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598023424001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:10:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 19:10:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15752020191346688,"km_value":15752020191346.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1690820215709319168,"description":"Unknown IO ID 45"} 
[2026-08-23 19:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598023424001,"power":12667,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1690820215709319168}} 
[2026-08-23 19:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":160994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:10:35] local.INFO: GPS data processed {"connection_id":160994,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:10:35] local.INFO: Acknowledgment sent {"connection_id":160994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:10:45] local.INFO: TCP Data received {"connection_id":163344,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:10:45] local.INFO: Processing buffer {"connection_id":163344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:10:45] local.INFO: IMEI packet received {"connection_id":163344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":163344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:10:50] local.INFO: TCP Data received {"connection_id":163344,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:10:50] local.INFO: Processing buffer {"connection_id":163344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:10:50] local.INFO: IMEI packet received {"connection_id":163344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":163344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:10:52] local.INFO: TCP Data received {"connection_id":163344,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:10:52] local.INFO: Processing buffer {"connection_id":163344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:10:52] local.INFO: Packet analysis {"connection_id":163344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:10:52] local.INFO: Extracted packet for processing {"connection_id":163344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:10:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597949952001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787492293000,"timestamp_ms":1787492293000,"timestamp_seconds":1787492293,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed7d988"} 
[2026-08-23 19:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 19:10:52] 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-08-23 19:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:10:52] 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-08-23 19:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597949952001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597949952001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:10:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:10:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597949952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":163344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:10:52] local.INFO: GPS data processed {"connection_id":163344,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:10:52] local.INFO: Acknowledgment sent {"connection_id":163344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:11:06] local.INFO: TCP Data received {"connection_id":160994,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed9c9a0012d1771000720b0d8003e015e28..."} 
[2026-08-23 19:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed9c9a0012d1771000720b0d8003e015e28..."} 
[2026-08-23 19:11:06] local.INFO: Processing buffer {"connection_id":160994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed9c9a0012d1771000720b0d8003e015e28..."} 
[2026-08-23 19:11:06] local.INFO: Packet analysis {"connection_id":160994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed9"} 
[2026-08-23 19:11:06] local.INFO: Extracted packet for processing {"connection_id":160994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed9"} 
[2026-08-23 19:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756510976,"raw_latitude":119582936,"longitude_deg":75.6510976,"latitude_deg":11.9582936,"altitude":62,"angle":350,"satellites":40,"speed":26,"hex_longitude":"2d177100","hex_latitude":"0720b0d8","is_valid_coordinates":true} 
[2026-08-23 19:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598058240001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15753029508661248,"note":"Value kept but may cause issues"} 
[2026-08-23 19:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1689131365853102080,"note":"Value kept but may cause issues"} 
[2026-08-23 19:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787492420000,"timestamp_ms":1787492420000,"timestamp_seconds":1787492420,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed9c9a0"} 
[2026-08-23 19:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-08-23 19:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598058240001,"66":13406,"107":206,"83":41984,"24":26,"16":15753029508661248,"45":1689131365853102080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 19:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598058240001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:11:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 19:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15753029508661248,"km_value":15753029508661.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1689131365853102080,"description":"Unknown IO ID 45"} 
[2026-08-23 19:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598058240001,"power":13406,"unknown_107":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1689131365853102080}} 
[2026-08-23 19:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":160994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:11:06] local.INFO: GPS data processed {"connection_id":160994,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:11:06] local.INFO: Acknowledgment sent {"connection_id":160994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:11:23] local.INFO: TCP Data received {"connection_id":163344,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:11:23] local.INFO: Processing buffer {"connection_id":163344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:11:23] local.INFO: Packet analysis {"connection_id":163344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:11:23] local.INFO: Extracted packet for processing {"connection_id":163344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:11:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597949952001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787492293000,"timestamp_ms":1787492293000,"timestamp_seconds":1787492293,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed7d988"} 
[2026-08-23 19:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:11: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-08-23 19:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 19:11:23] 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-08-23 19:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:11: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-08-23 19:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597949952001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597949952001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:11:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:11:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597949952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":163344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:11:23] local.INFO: GPS data processed {"connection_id":163344,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:11:23] local.INFO: Acknowledgment sent {"connection_id":163344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:11:29] local.INFO: TCP Data received {"connection_id":160995,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:11:29] local.INFO: Processing buffer {"connection_id":160995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:11:29] local.INFO: IMEI packet received {"connection_id":160995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":160995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:11:34] local.INFO: TCP Data received {"connection_id":160995,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:11:34] local.INFO: Processing buffer {"connection_id":160995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:11:34] local.INFO: IMEI packet received {"connection_id":160995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":160995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:11:35] local.INFO: TCP Data received {"connection_id":160995,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed9d170012d176f400720b5d0003e014d29..."} 
[2026-08-23 19:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed9d170012d176f400720b5d0003e014d29..."} 
[2026-08-23 19:11:35] local.INFO: Processing buffer {"connection_id":160995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed9d170012d176f400720b5d0003e014d29..."} 
[2026-08-23 19:11:35] local.INFO: Packet analysis {"connection_id":160995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed9"} 
[2026-08-23 19:11:35] local.INFO: Extracted packet for processing {"connection_id":160995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed9"} 
[2026-08-23 19:11:35] local.INFO: GPS Element Parsed {"raw_longitude":756510528,"raw_latitude":119584208,"longitude_deg":75.6510528,"latitude_deg":11.9584208,"altitude":62,"angle":333,"satellites":41,"speed":25,"hex_longitude":"2d176f40","hex_latitude":"0720b5d0","is_valid_coordinates":true} 
[2026-08-23 19:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598059520001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15753098228137984,"note":"Value kept but may cause issues"} 
[2026-08-23 19:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1689131365853878272,"note":"Value kept but may cause issues"} 
[2026-08-23 19:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787492422000,"timestamp_ms":1787492422000,"timestamp_seconds":1787492422,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed9d170"} 
[2026-08-23 19:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-23 19:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598059520001,"66":13276,"107":206,"83":41984,"24":25,"16":15753098228137984,"45":1689131365853878272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 19:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598059520001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:11:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 19:11:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15753098228137984,"km_value":15753098228137.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1689131365853878272,"description":"Unknown IO ID 45"} 
[2026-08-23 19:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598059520001,"power":13276,"unknown_107":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1689131365853878272}} 
[2026-08-23 19:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":160995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:11:35] local.INFO: GPS data processed {"connection_id":160995,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:11:35] local.INFO: Acknowledgment sent {"connection_id":160995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:11:45] local.INFO: TCP Data received {"connection_id":161947,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:11:45] local.INFO: Processing buffer {"connection_id":161947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:11:45] local.INFO: IMEI packet received {"connection_id":161947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":161947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:11:50] local.INFO: TCP Data received {"connection_id":161947,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:11:50] local.INFO: Processing buffer {"connection_id":161947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:11:50] local.INFO: IMEI packet received {"connection_id":161947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":161947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:11:52] local.INFO: TCP Data received {"connection_id":161947,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:11:52] local.INFO: Processing buffer {"connection_id":161947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:11:52] local.INFO: Packet analysis {"connection_id":161947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:11:52] local.INFO: Extracted packet for processing {"connection_id":161947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597949952001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787492293000,"timestamp_ms":1787492293000,"timestamp_seconds":1787492293,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed7d988"} 
[2026-08-23 19:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 19:11:52] 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-08-23 19:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597949952001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597949952001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:11:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597949952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":161947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:11:52] local.INFO: GPS data processed {"connection_id":161947,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:11:52] local.INFO: Acknowledgment sent {"connection_id":161947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:12:06] local.INFO: TCP Data received {"connection_id":160995,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed9d940012d176cc00720ba10003d014129..."} 
[2026-08-23 19:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed9d940012d176cc00720ba10003d014129..."} 
[2026-08-23 19:12:06] local.INFO: Processing buffer {"connection_id":160995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed9d940012d176cc00720ba10003d014129..."} 
[2026-08-23 19:12:06] local.INFO: Packet analysis {"connection_id":160995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed9"} 
[2026-08-23 19:12:06] local.INFO: Extracted packet for processing {"connection_id":160995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed9"} 
[2026-08-23 19:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756509888,"raw_latitude":119585296,"longitude_deg":75.6509888,"latitude_deg":11.9585296,"altitude":61,"angle":321,"satellites":41,"speed":25,"hex_longitude":"2d176cc0","hex_latitude":"0720ba10","is_valid_coordinates":true} 
[2026-08-23 19:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598060032001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15753158357680128,"note":"Value kept but may cause issues"} 
[2026-08-23 19:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1688638784644960256,"note":"Value kept but may cause issues"} 
[2026-08-23 19:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787492424000,"timestamp_ms":1787492424000,"timestamp_seconds":1787492424,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed9d940"} 
[2026-08-23 19:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-23 19:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598060032001,"66":13450,"107":206,"83":41984,"24":25,"16":15753158357680128,"45":1688638784644960256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 19:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598060032001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:12:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 19:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15753158357680128,"km_value":15753158357680.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1688638784644960256,"description":"Unknown IO ID 45"} 
[2026-08-23 19:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598060032001,"power":13450,"unknown_107":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1688638784644960256}} 
[2026-08-23 19:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":160995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:12:06] local.INFO: GPS data processed {"connection_id":160995,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:12:06] local.INFO: Acknowledgment sent {"connection_id":160995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:12:24] local.INFO: TCP Data received {"connection_id":161947,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:12:24] local.INFO: Processing buffer {"connection_id":161947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:12:24] local.INFO: Packet analysis {"connection_id":161947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:12:24] local.INFO: Extracted packet for processing {"connection_id":161947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:12:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597949952001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787492293000,"timestamp_ms":1787492293000,"timestamp_seconds":1787492293,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed7d988"} 
[2026-08-23 19:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 19:12:24] 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-08-23 19:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597949952001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597949952001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:12:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:12:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597949952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":161947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:12:24] local.INFO: GPS data processed {"connection_id":161947,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:12:24] local.INFO: Acknowledgment sent {"connection_id":161947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:12:28] local.INFO: TCP Data received {"connection_id":163345,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:12:28] local.INFO: Processing buffer {"connection_id":163345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:12:28] local.INFO: IMEI packet received {"connection_id":163345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":163345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:12:34] local.INFO: TCP Data received {"connection_id":163345,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:12:34] local.INFO: Processing buffer {"connection_id":163345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:12:34] local.INFO: IMEI packet received {"connection_id":163345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":163345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:12:35] local.INFO: TCP Data received {"connection_id":163345,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed9f498012d175f400720c650003801342a..."} 
[2026-08-23 19:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed9f498012d175f400720c650003801342a..."} 
[2026-08-23 19:12:35] local.INFO: Processing buffer {"connection_id":163345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed9f498012d175f400720c650003801342a..."} 
[2026-08-23 19:12:35] local.INFO: Packet analysis {"connection_id":163345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed9"} 
[2026-08-23 19:12:35] local.INFO: Extracted packet for processing {"connection_id":163345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed9"} 
[2026-08-23 19:12:35] local.INFO: GPS Element Parsed {"raw_longitude":756506432,"raw_latitude":119588432,"longitude_deg":75.6506432,"latitude_deg":11.9588432,"altitude":56,"angle":308,"satellites":42,"speed":21,"hex_longitude":"2d175f40","hex_latitude":"0720c650","is_valid_coordinates":true} 
[2026-08-23 19:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598060544001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15753381695979520,"note":"Value kept but may cause issues"} 
[2026-08-23 19:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1687935097203462144,"note":"Value kept but may cause issues"} 
[2026-08-23 19:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787492431000,"timestamp_ms":1787492431000,"timestamp_seconds":1787492431,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed9f498"} 
[2026-08-23 19:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-23 19:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598060544001,"66":13396,"107":206,"83":41984,"24":21,"16":15753381695979520,"45":1687935097203462144},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 19:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598060544001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:12:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 19:12:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15753381695979520,"km_value":15753381695979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1687935097203462144,"description":"Unknown IO ID 45"} 
[2026-08-23 19:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598060544001,"power":13396,"unknown_107":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1687935097203462144}} 
[2026-08-23 19:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":163345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:12:35] local.INFO: GPS data processed {"connection_id":163345,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:12:35] local.INFO: Acknowledgment sent {"connection_id":163345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:12:45] local.INFO: TCP Data received {"connection_id":160996,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:12:45] local.INFO: Processing buffer {"connection_id":160996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:12:45] local.INFO: IMEI packet received {"connection_id":160996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":160996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:12:50] local.INFO: TCP Data received {"connection_id":160996,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:12:50] local.INFO: Processing buffer {"connection_id":160996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:12:50] local.INFO: IMEI packet received {"connection_id":160996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":160996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:12:51] local.INFO: TCP Data received {"connection_id":160996,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:12:51] local.INFO: Processing buffer {"connection_id":160996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:12:51] local.INFO: Packet analysis {"connection_id":160996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:12:51] local.INFO: Extracted packet for processing {"connection_id":160996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:12:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597949952001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787492293000,"timestamp_ms":1787492293000,"timestamp_seconds":1787492293,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed7d988"} 
[2026-08-23 19:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 19:12:51] 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-08-23 19:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:12:51] 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-08-23 19:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597949952001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597949952001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:12:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:12:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597949952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":160996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:12:51] local.INFO: GPS data processed {"connection_id":160996,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:12:51] local.INFO: Acknowledgment sent {"connection_id":160996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:13:06] local.INFO: TCP Data received {"connection_id":163345,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eda0438012d175b000720ca500037014427..."} 
[2026-08-23 19:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eda0438012d175b000720ca500037014427..."} 
[2026-08-23 19:13:06] local.INFO: Processing buffer {"connection_id":163345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eda0438012d175b000720ca500037014427..."} 
[2026-08-23 19:13:06] local.INFO: Packet analysis {"connection_id":163345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eda"} 
[2026-08-23 19:13:06] local.INFO: Extracted packet for processing {"connection_id":163345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eda"} 
[2026-08-23 19:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756505344,"raw_latitude":119589456,"longitude_deg":75.6505344,"latitude_deg":11.9589456,"altitude":55,"angle":324,"satellites":39,"speed":8,"hex_longitude":"2d175b00","hex_latitude":"0720ca50","is_valid_coordinates":true} 
[2026-08-23 19:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598062336001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15753454710423552,"note":"Value kept but may cause issues"} 
[2026-08-23 19:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1684135185018671104,"note":"Value kept but may cause issues"} 
[2026-08-23 19:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787492435000,"timestamp_ms":1787492435000,"timestamp_seconds":1787492435,"priority":1,"record_length":96,"hex_timestamp":"000001a02eda0438"} 
[2026-08-23 19:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-23 19:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598062336001,"66":13417,"107":206,"83":41984,"24":8,"16":15753454710423552,"45":1684135185018671104},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 19:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598062336001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:13:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 19:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15753454710423552,"km_value":15753454710423.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1684135185018671104,"description":"Unknown IO ID 45"} 
[2026-08-23 19:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598062336001,"power":13417,"unknown_107":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1684135185018671104}} 
[2026-08-23 19:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":163345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:13:06] local.INFO: GPS data processed {"connection_id":163345,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:13:06] local.INFO: Acknowledgment sent {"connection_id":163345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:13:23] local.INFO: TCP Data received {"connection_id":160996,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:13:23] local.INFO: Processing buffer {"connection_id":160996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ed7d988012d34c58006aa4060001501141c..."} 
[2026-08-23 19:13:23] local.INFO: Packet analysis {"connection_id":160996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:13:23] local.INFO: Extracted packet for processing {"connection_id":160996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ed7"} 
[2026-08-23 19:13:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":21,"angle":276,"satellites":28,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457597949952001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787492293000,"timestamp_ms":1787492293000,"timestamp_seconds":1787492293,"priority":1,"record_length":96,"hex_timestamp":"000001a02ed7d988"} 
[2026-08-23 19:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 19:13:23] 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-08-23 19: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-08-23 19:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:13:23] 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-08-23 19:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457597949952001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457597949952001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:13:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:13:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457597949952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":160996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:13:23] local.INFO: GPS data processed {"connection_id":160996,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:13:23] local.INFO: Acknowledgment sent {"connection_id":160996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:13:28] local.INFO: TCP Data received {"connection_id":160752,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:13:28] local.INFO: Processing buffer {"connection_id":160752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:13:28] local.INFO: IMEI packet received {"connection_id":160752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":160752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:13:32] local.INFO: TCP Data received {"connection_id":160752,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:13:32] local.INFO: Processing buffer {"connection_id":160752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:13:32] local.INFO: IMEI packet received {"connection_id":160752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":160752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:13:34] local.INFO: TCP Data received {"connection_id":160752,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eda2378012d175b400720cc500038001c28..."} 
[2026-08-23 19:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eda2378012d175b400720cc500038001c28..."} 
[2026-08-23 19:13:34] local.INFO: Processing buffer {"connection_id":160752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eda2378012d175b400720cc500038001c28..."} 
[2026-08-23 19:13:34] local.INFO: Packet analysis {"connection_id":160752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eda"} 
[2026-08-23 19:13:34] local.INFO: Extracted packet for processing {"connection_id":160752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eda"} 
[2026-08-23 19:13:34] local.INFO: GPS Element Parsed {"raw_longitude":756505408,"raw_latitude":119589968,"longitude_deg":75.6505408,"latitude_deg":11.9589968,"altitude":56,"angle":28,"satellites":40,"speed":10,"hex_longitude":"2d175b40","hex_latitude":"0720cc50","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598063360001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15753484775194624,"note":"Value kept but may cause issues"} 
[2026-08-23 19:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1682938916367912960,"note":"Value kept but may cause issues"} 
[2026-08-23 19:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787492443000,"timestamp_ms":1787492443000,"timestamp_seconds":1787492443,"priority":1,"record_length":96,"hex_timestamp":"000001a02eda2378"} 
[2026-08-23 19:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-23 19:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598063360001,"66":13417,"107":206,"83":41984,"24":10,"16":15753484775194624,"45":1682938916367912960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 19:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598063360001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:13:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 19:13:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15753484775194624,"km_value":15753484775194.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1682938916367912960,"description":"Unknown IO ID 45"} 
[2026-08-23 19:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598063360001,"power":13417,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1682938916367912960}} 
[2026-08-23 19:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":160752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:13:34] local.INFO: GPS data processed {"connection_id":160752,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:13:34] local.INFO: Acknowledgment sent {"connection_id":160752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:13:50] local.INFO: TCP Data received {"connection_id":161948,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:13:50] local.INFO: Processing buffer {"connection_id":161948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:13:50] local.INFO: IMEI packet received {"connection_id":161948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":161948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:13:52] local.INFO: TCP Data received {"connection_id":161948,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:13:52] local.INFO: Processing buffer {"connection_id":161948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:13:52] local.INFO: IMEI packet received {"connection_id":161948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":161948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:13:53] local.INFO: TCP Data received {"connection_id":161948,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:13:53] local.INFO: Processing buffer {"connection_id":161948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:13:53] local.INFO: Packet analysis {"connection_id":161948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:13:53] local.INFO: Extracted packet for processing {"connection_id":161948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598027008001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787492594000,"timestamp_ms":1787492594000,"timestamp_seconds":1787492594,"priority":1,"record_length":96,"hex_timestamp":"000001a02edc7150"} 
[2026-08-23 19:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 19:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:13:53] 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-08-23 19:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598027008001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598027008001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:13:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598027008001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":161948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:13:53] local.INFO: GPS data processed {"connection_id":161948,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:13:53] local.INFO: Acknowledgment sent {"connection_id":161948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:13:56] local.INFO: TCP Data received {"connection_id":161948,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:13:56] local.INFO: Processing buffer {"connection_id":161948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:13:56] local.INFO: Packet analysis {"connection_id":161948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:13:56] local.INFO: Extracted packet for processing {"connection_id":161948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:13:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598027008001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787492594000,"timestamp_ms":1787492594000,"timestamp_seconds":1787492594,"priority":1,"record_length":96,"hex_timestamp":"000001a02edc7150"} 
[2026-08-23 19:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 19:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598027008001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598027008001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:13:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:13:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598027008001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":161948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:13:56] local.INFO: GPS data processed {"connection_id":161948,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:13:56] local.INFO: Acknowledgment sent {"connection_id":161948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:14:05] local.INFO: TCP Data received {"connection_id":160752,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eda2b48012d175cc00720ce600038002c27..."} 
[2026-08-23 19:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eda2b48012d175cc00720ce600038002c27..."} 
[2026-08-23 19:14:05] local.INFO: Processing buffer {"connection_id":160752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eda2b48012d175cc00720ce600038002c27..."} 
[2026-08-23 19:14:05] local.INFO: Packet analysis {"connection_id":160752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eda"} 
[2026-08-23 19:14:05] local.INFO: Extracted packet for processing {"connection_id":160752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eda"} 
[2026-08-23 19:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756505792,"raw_latitude":119590496,"longitude_deg":75.6505792,"latitude_deg":11.9590496,"altitude":56,"angle":44,"satellites":39,"speed":15,"hex_longitude":"2d175cc0","hex_latitude":"0720ce60","is_valid_coordinates":true} 
[2026-08-23 19:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598065408001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15753519134932992,"note":"Value kept but may cause issues"} 
[2026-08-23 19:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1683009285112221696,"note":"Value kept but may cause issues"} 
[2026-08-23 19:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787492445000,"timestamp_ms":1787492445000,"timestamp_seconds":1787492445,"priority":1,"record_length":96,"hex_timestamp":"000001a02eda2b48"} 
[2026-08-23 19:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:14: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-08-23 19:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-23 19:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598065408001,"66":13135,"107":206,"83":41984,"24":15,"16":15753519134932992,"45":1683009285112221696},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 19:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598065408001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:14:05] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 19:14:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15753519134932992,"km_value":15753519134932.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1683009285112221696,"description":"Unknown IO ID 45"} 
[2026-08-23 19:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598065408001,"power":13135,"unknown_107":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1683009285112221696}} 
[2026-08-23 19:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":160752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:14:05] local.INFO: GPS data processed {"connection_id":160752,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:14:05] local.INFO: Acknowledgment sent {"connection_id":160752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:14:27] local.INFO: TCP Data received {"connection_id":161948,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:14:27] local.INFO: Processing buffer {"connection_id":161948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:14:27] local.INFO: Packet analysis {"connection_id":161948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:14:27] local.INFO: Extracted packet for processing {"connection_id":161948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:14:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598027008001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787492594000,"timestamp_ms":1787492594000,"timestamp_seconds":1787492594,"priority":1,"record_length":96,"hex_timestamp":"000001a02edc7150"} 
[2026-08-23 19:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 19:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598027008001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598027008001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:14:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:14:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598027008001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":161948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:14:27] local.INFO: GPS data processed {"connection_id":161948,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:14:27] local.INFO: Acknowledgment sent {"connection_id":161948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:14:28] local.INFO: TCP Data received {"connection_id":163346,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:14:28] local.INFO: Processing buffer {"connection_id":163346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:14:28] local.INFO: IMEI packet received {"connection_id":163346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":163346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:14:34] local.INFO: TCP Data received {"connection_id":163346,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:14:34] local.INFO: Processing buffer {"connection_id":163346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:14:34] local.INFO: IMEI packet received {"connection_id":163346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":163346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:14:35] local.INFO: TCP Data received {"connection_id":163346,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02edc7920012d1819c00721a868004b001f2b..."} 
[2026-08-23 19:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02edc7920012d1819c00721a868004b001f2b..."} 
[2026-08-23 19:14:35] local.INFO: Processing buffer {"connection_id":163346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02edc7920012d1819c00721a868004b001f2b..."} 
[2026-08-23 19:14:35] local.INFO: Packet analysis {"connection_id":163346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:14:35] local.INFO: Extracted packet for processing {"connection_id":163346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:14:35] local.INFO: GPS Element Parsed {"raw_longitude":756554176,"raw_latitude":119646312,"longitude_deg":75.6554176,"latitude_deg":11.9646312,"altitude":75,"angle":31,"satellites":43,"speed":0,"hex_longitude":"2d1819c0","hex_latitude":"0721a868","is_valid_coordinates":true} 
[2026-08-23 19:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598099200001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15757109727592448,"note":"Value kept but may cause issues"} 
[2026-08-23 19:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736419161957402624,"note":"Value kept but may cause issues"} 
[2026-08-23 19:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787492596000,"timestamp_ms":1787492596000,"timestamp_seconds":1787492596,"priority":1,"record_length":96,"hex_timestamp":"000001a02edc7920"} 
[2026-08-23 19:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-23 19:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598099200001,"66":13330,"105":206,"83":41984,"24":0,"16":15757109727592448,"45":1736419161957402624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 19:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598099200001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:14:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 19:14:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15757109727592448,"km_value":15757109727592.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736419161957402624,"description":"Unknown IO ID 45"} 
[2026-08-23 19:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598099200001,"power":13330,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736419161957402624}} 
[2026-08-23 19:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":163346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:14:35] local.INFO: GPS data processed {"connection_id":163346,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:14:35] local.INFO: Acknowledgment sent {"connection_id":163346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:14:45] local.INFO: TCP Data received {"connection_id":160997,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:14:45] local.INFO: Processing buffer {"connection_id":160997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:14:45] local.INFO: IMEI packet received {"connection_id":160997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":160997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:14:50] local.INFO: TCP Data received {"connection_id":160997,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:14:50] local.INFO: Processing buffer {"connection_id":160997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:14:50] local.INFO: IMEI packet received {"connection_id":160997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":160997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:14:51] local.INFO: TCP Data received {"connection_id":160997,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:14:51] local.INFO: Processing buffer {"connection_id":160997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:14:51] local.INFO: Packet analysis {"connection_id":160997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:14:51] local.INFO: Extracted packet for processing {"connection_id":160997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598027008001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787492594000,"timestamp_ms":1787492594000,"timestamp_seconds":1787492594,"priority":1,"record_length":96,"hex_timestamp":"000001a02edc7150"} 
[2026-08-23 19:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 19:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598027008001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598027008001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:14:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598027008001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":160997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:14:51] local.INFO: GPS data processed {"connection_id":160997,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:14:51] local.INFO: Acknowledgment sent {"connection_id":160997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:15:06] local.INFO: TCP Data received {"connection_id":163346,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02edd6f38012d180dc007217380004500a428..."} 
[2026-08-23 19:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02edd6f38012d180dc007217380004500a428..."} 
[2026-08-23 19:15:06] local.INFO: Processing buffer {"connection_id":163346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02edd6f38012d180dc007217380004500a428..."} 
[2026-08-23 19:15:06] local.INFO: Packet analysis {"connection_id":163346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02edd"} 
[2026-08-23 19:15:06] local.INFO: Extracted packet for processing {"connection_id":163346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02edd"} 
[2026-08-23 19:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756551104,"raw_latitude":119632768,"longitude_deg":75.6551104,"latitude_deg":11.9632768,"altitude":69,"angle":164,"satellites":40,"speed":13,"hex_longitude":"2d180dc0","hex_latitude":"07217380","is_valid_coordinates":true} 
[2026-08-23 19:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598119936001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15757878526738432,"note":"Value kept but may cause issues"} 
[2026-08-23 19:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732759987257049088,"note":"Value kept but may cause issues"} 
[2026-08-23 19:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787492659000,"timestamp_ms":1787492659000,"timestamp_seconds":1787492659,"priority":1,"record_length":96,"hex_timestamp":"000001a02edd6f38"} 
[2026-08-23 19:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-23 19:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598119936001,"66":12591,"107":206,"83":41984,"24":13,"16":15757878526738432,"45":1732759987257049088},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 19:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598119936001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:15:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 19:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15757878526738432,"km_value":15757878526738.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732759987257049088,"description":"Unknown IO ID 45"} 
[2026-08-23 19:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598119936001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1732759987257049088}} 
[2026-08-23 19:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":163346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:15:06] local.INFO: GPS data processed {"connection_id":163346,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:15:06] local.INFO: Acknowledgment sent {"connection_id":163346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:15:23] local.INFO: TCP Data received {"connection_id":160997,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:15:23] local.INFO: Processing buffer {"connection_id":160997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:15:23] local.INFO: Packet analysis {"connection_id":160997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:15:23] local.INFO: Extracted packet for processing {"connection_id":160997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:15:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598027008001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787492594000,"timestamp_ms":1787492594000,"timestamp_seconds":1787492594,"priority":1,"record_length":96,"hex_timestamp":"000001a02edc7150"} 
[2026-08-23 19:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 19:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:15:23] 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-08-23 19:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598027008001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598027008001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:15:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:15:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598027008001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":160997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:15:23] local.INFO: GPS data processed {"connection_id":160997,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:15:23] local.INFO: Acknowledgment sent {"connection_id":160997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:15:33] local.INFO: TCP Data received {"connection_id":161949,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:15:33] local.INFO: Processing buffer {"connection_id":161949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:15:33] local.INFO: IMEI packet received {"connection_id":161949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":161949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:15:39] local.INFO: TCP Data received {"connection_id":161949,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:15:39] local.INFO: Processing buffer {"connection_id":161949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:15:39] local.INFO: IMEI packet received {"connection_id":161949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":161949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:15:40] local.INFO: TCP Data received {"connection_id":161949,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02edd7708012d180f00072171280045009428..."} 
[2026-08-23 19:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02edd7708012d180f00072171280045009428..."} 
[2026-08-23 19:15:40] local.INFO: Processing buffer {"connection_id":161949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02edd7708012d180f00072171280045009428..."} 
[2026-08-23 19:15:40] local.INFO: Packet analysis {"connection_id":161949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02edd"} 
[2026-08-23 19:15:40] local.INFO: Extracted packet for processing {"connection_id":161949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02edd"} 
[2026-08-23 19:15:40] local.INFO: GPS Element Parsed {"raw_longitude":756551424,"raw_latitude":119632168,"longitude_deg":75.6551424,"latitude_deg":11.9632168,"altitude":69,"angle":148,"satellites":40,"speed":14,"hex_longitude":"2d180f00","hex_latitude":"07217128","is_valid_coordinates":true} 
[2026-08-23 19:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598120704001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15757912886476800,"note":"Value kept but may cause issues"} 
[2026-08-23 19:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733252568466030592,"note":"Value kept but may cause issues"} 
[2026-08-23 19:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787492661000,"timestamp_ms":1787492661000,"timestamp_seconds":1787492661,"priority":1,"record_length":96,"hex_timestamp":"000001a02edd7708"} 
[2026-08-23 19:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:15:40] 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-08-23 19:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-23 19:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598120704001,"66":12667,"107":206,"83":41984,"24":14,"16":15757912886476800,"45":1733252568466030592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 19:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598120704001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:15:40] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 19:15:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15757912886476800,"km_value":15757912886476.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733252568466030592,"description":"Unknown IO ID 45"} 
[2026-08-23 19:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598120704001,"power":12667,"unknown_107":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1733252568466030592}} 
[2026-08-23 19:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":161949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:15:40] local.INFO: GPS data processed {"connection_id":161949,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:15:40] local.INFO: Acknowledgment sent {"connection_id":161949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:15:45] local.INFO: TCP Data received {"connection_id":161950,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:15:45] local.INFO: Processing buffer {"connection_id":161950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:15:45] local.INFO: IMEI packet received {"connection_id":161950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":161950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:15:50] local.INFO: TCP Data received {"connection_id":161950,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:15:50] local.INFO: Processing buffer {"connection_id":161950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:15:50] local.INFO: IMEI packet received {"connection_id":161950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":161950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:15:52] local.INFO: TCP Data received {"connection_id":161950,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:15:52] local.INFO: Processing buffer {"connection_id":161950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:15:52] local.INFO: Packet analysis {"connection_id":161950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:15:52] local.INFO: Extracted packet for processing {"connection_id":161950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:15:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:15: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-08-23 19:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598027008001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787492594000,"timestamp_ms":1787492594000,"timestamp_seconds":1787492594,"priority":1,"record_length":96,"hex_timestamp":"000001a02edc7150"} 
[2026-08-23 19:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 19:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:15: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-08-23 19:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:15:52] 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-08-23 19:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598027008001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598027008001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:15:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:15:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598027008001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":161950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:15:52] local.INFO: GPS data processed {"connection_id":161950,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:15:52] local.INFO: Acknowledgment sent {"connection_id":161950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:16:11] local.INFO: TCP Data received {"connection_id":161949,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ede80a8012d1841c0072101700033006926..."} 
[2026-08-23 19:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ede80a8012d1841c0072101700033006926..."} 
[2026-08-23 19:16:11] local.INFO: Processing buffer {"connection_id":161949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ede80a8012d1841c0072101700033006926..."} 
[2026-08-23 19:16:11] local.INFO: Packet analysis {"connection_id":161949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ede"} 
[2026-08-23 19:16:11] local.INFO: Extracted packet for processing {"connection_id":161949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ede"} 
[2026-08-23 19:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756564416,"raw_latitude":119603568,"longitude_deg":75.6564416,"latitude_deg":11.9603568,"altitude":51,"angle":105,"satellites":38,"speed":22,"hex_longitude":"2d1841c0","hex_latitude":"07210170","is_valid_coordinates":true} 
[2026-08-23 19:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598137344001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15759622283460608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745215254969094144,"note":"Value kept but may cause issues"} 
[2026-08-23 19:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787492729000,"timestamp_ms":1787492729000,"timestamp_seconds":1787492729,"priority":1,"record_length":96,"hex_timestamp":"000001a02ede80a8"} 
[2026-08-23 19:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:16:11] 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-08-23 19:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-23 19:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598137344001,"66":12428,"106":206,"83":41984,"24":22,"16":15759622283460608,"45":1745215254969094144},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 19:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598137344001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:16:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 19:16:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15759622283460608,"km_value":15759622283460.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745215254969094144,"description":"Unknown IO ID 45"} 
[2026-08-23 19:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598137344001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1745215254969094144}} 
[2026-08-23 19:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":161949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:16:11] local.INFO: GPS data processed {"connection_id":161949,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:16:11] local.INFO: Acknowledgment sent {"connection_id":161949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:16:24] local.INFO: TCP Data received {"connection_id":161950,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:16:24] local.INFO: Processing buffer {"connection_id":161950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:16:24] local.INFO: Packet analysis {"connection_id":161950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:16:24] local.INFO: Extracted packet for processing {"connection_id":161950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:16:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:16: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-08-23 19:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598027008001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787492594000,"timestamp_ms":1787492594000,"timestamp_seconds":1787492594,"priority":1,"record_length":96,"hex_timestamp":"000001a02edc7150"} 
[2026-08-23 19:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 19:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:16: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-08-23 19:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:16:24] 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-08-23 19:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598027008001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598027008001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:16:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:16:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598027008001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":161950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:16:24] local.INFO: GPS data processed {"connection_id":161950,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:16:24] local.INFO: Acknowledgment sent {"connection_id":161950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:16:28] local.INFO: TCP Data received {"connection_id":160998,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:16:28] local.INFO: Processing buffer {"connection_id":160998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:16:28] local.INFO: IMEI packet received {"connection_id":160998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":160998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:16:30] local.INFO: TCP Data received {"connection_id":160998,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:16:30] local.INFO: Processing buffer {"connection_id":160998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:16:30] local.INFO: IMEI packet received {"connection_id":160998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":160998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:16:32] local.INFO: TCP Data received {"connection_id":160998,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:16:32] local.INFO: Processing buffer {"connection_id":160998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:16:32] local.INFO: IMEI packet received {"connection_id":160998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":160998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:16:34] local.INFO: TCP Data received {"connection_id":160998,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:16:34] local.INFO: Processing buffer {"connection_id":160998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:16:34] local.INFO: IMEI packet received {"connection_id":160998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":160998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:16:35] local.INFO: TCP Data received {"connection_id":160998,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ede8490012d184400072101980033005628..."} 
[2026-08-23 19:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ede8490012d184400072101980033005628..."} 
[2026-08-23 19:16:35] local.INFO: Processing buffer {"connection_id":160998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ede8490012d184400072101980033005628..."} 
[2026-08-23 19:16:35] local.INFO: Packet analysis {"connection_id":160998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ede"} 
[2026-08-23 19:16:35] local.INFO: Extracted packet for processing {"connection_id":160998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ede"} 
[2026-08-23 19:16:35] local.INFO: GPS Element Parsed {"raw_longitude":756564992,"raw_latitude":119603608,"longitude_deg":75.6564992,"latitude_deg":11.9603608,"altitude":51,"angle":86,"satellites":40,"speed":22,"hex_longitude":"2d184400","hex_latitude":"07210198","is_valid_coordinates":true} 
[2026-08-23 19:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598138624001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15759652348231680,"note":"Value kept but may cause issues"} 
[2026-08-23 19:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747889267247509504,"note":"Value kept but may cause issues"} 
[2026-08-23 19:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787492730000,"timestamp_ms":1787492730000,"timestamp_seconds":1787492730,"priority":1,"record_length":96,"hex_timestamp":"000001a02ede8490"} 
[2026-08-23 19:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 19:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598138624001,"66":12287,"106":206,"83":41984,"24":22,"16":15759652348231680,"45":1747889267247509504},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 19:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598138624001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:16:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 19:16:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15759652348231680,"km_value":15759652348231.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747889267247509504,"description":"Unknown IO ID 45"} 
[2026-08-23 19:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598138624001,"power":12287,"unknown_106":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1747889267247509504}} 
[2026-08-23 19:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":160998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:16:35] local.INFO: GPS data processed {"connection_id":160998,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:16:35] local.INFO: Acknowledgment sent {"connection_id":160998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:16:46] local.INFO: TCP Data received {"connection_id":160753,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:16:46] local.INFO: Processing buffer {"connection_id":160753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:16:46] local.INFO: IMEI packet received {"connection_id":160753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":160753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:16:50] local.INFO: TCP Data received {"connection_id":160753,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:16:50] local.INFO: Processing buffer {"connection_id":160753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:16:50] local.INFO: IMEI packet received {"connection_id":160753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":160753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:16:51] local.INFO: TCP Data received {"connection_id":160753,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:16:51] local.INFO: Processing buffer {"connection_id":160753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:16:51] local.INFO: Packet analysis {"connection_id":160753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:16:51] local.INFO: Extracted packet for processing {"connection_id":160753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:16:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598027008001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787492594000,"timestamp_ms":1787492594000,"timestamp_seconds":1787492594,"priority":1,"record_length":96,"hex_timestamp":"000001a02edc7150"} 
[2026-08-23 19:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 19:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:16:51] 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-08-23 19:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598027008001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598027008001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:16:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:16:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598027008001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":160753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:16:51] local.INFO: GPS data processed {"connection_id":160753,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:16:51] local.INFO: Acknowledgment sent {"connection_id":160753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:17:06] local.INFO: TCP Data received {"connection_id":160998,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02edf4fb0012d1893c00720b4700035007f2a..."} 
[2026-08-23 19:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02edf4fb0012d1893c00720b4700035007f2a..."} 
[2026-08-23 19:17:06] local.INFO: Processing buffer {"connection_id":160998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02edf4fb0012d1893c00720b4700035007f2a..."} 
[2026-08-23 19:17:06] local.INFO: Packet analysis {"connection_id":160998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02edf"} 
[2026-08-23 19:17:06] local.INFO: Extracted packet for processing {"connection_id":160998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02edf"} 
[2026-08-23 19:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756585408,"raw_latitude":119583856,"longitude_deg":75.6585408,"latitude_deg":11.9583856,"altitude":53,"angle":127,"satellites":42,"speed":21,"hex_longitude":"2d1893c0","hex_latitude":"0720b470","is_valid_coordinates":true} 
[2026-08-23 19:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598150912001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15761301615673344,"note":"Value kept but may cause issues"} 
[2026-08-23 19:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767873990589171712,"note":"Value kept but may cause issues"} 
[2026-08-23 19:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787492782000,"timestamp_ms":1787492782000,"timestamp_seconds":1787492782,"priority":1,"record_length":96,"hex_timestamp":"000001a02edf4fb0"} 
[2026-08-23 19:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 19:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598150912001,"66":13439,"103":206,"83":41984,"24":21,"16":15761301615673344,"45":1767873990589171712},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 19:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598150912001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:17:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 19:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15761301615673344,"km_value":15761301615673.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767873990589171712,"description":"Unknown IO ID 45"} 
[2026-08-23 19:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598150912001,"power":13439,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1767873990589171712}} 
[2026-08-23 19:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":160998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:17:06] local.INFO: GPS data processed {"connection_id":160998,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:17:06] local.INFO: Acknowledgment sent {"connection_id":160998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:17:23] local.INFO: TCP Data received {"connection_id":160753,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:17:23] local.INFO: Processing buffer {"connection_id":160753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:17:23] local.INFO: Packet analysis {"connection_id":160753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:17:23] local.INFO: Extracted packet for processing {"connection_id":160753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:17:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598027008001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787492594000,"timestamp_ms":1787492594000,"timestamp_seconds":1787492594,"priority":1,"record_length":96,"hex_timestamp":"000001a02edc7150"} 
[2026-08-23 19:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 19:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:17:23] 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-08-23 19:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598027008001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598027008001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:17:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:17:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598027008001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":160753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:17:23] local.INFO: GPS data processed {"connection_id":160753,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:17:23] local.INFO: Acknowledgment sent {"connection_id":160753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:17:28] local.INFO: TCP Data received {"connection_id":161951,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:17:28] local.INFO: Processing buffer {"connection_id":161951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:17:28] local.INFO: IMEI packet received {"connection_id":161951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":161951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:17:32] local.INFO: TCP Data received {"connection_id":161951,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:17:32] local.INFO: Processing buffer {"connection_id":161951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:17:32] local.INFO: IMEI packet received {"connection_id":161951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":161951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:17:33] local.INFO: TCP Data received {"connection_id":161951,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:17:33] local.INFO: Processing buffer {"connection_id":161951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:17:33] local.INFO: IMEI packet received {"connection_id":161951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":161951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:17:34] local.INFO: TCP Data received {"connection_id":161951,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02edf5398012d1895400720b2e80035008c29..."} 
[2026-08-23 19:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02edf5398012d1895400720b2e80035008c29..."} 
[2026-08-23 19:17:34] local.INFO: Processing buffer {"connection_id":161951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02edf5398012d1895400720b2e80035008c29..."} 
[2026-08-23 19:17:34] local.INFO: Packet analysis {"connection_id":161951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02edf"} 
[2026-08-23 19:17:34] local.INFO: Extracted packet for processing {"connection_id":161951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02edf"} 
[2026-08-23 19:17:34] local.INFO: GPS Element Parsed {"raw_longitude":756585792,"raw_latitude":119583464,"longitude_deg":75.6585792,"latitude_deg":11.9583464,"altitude":53,"angle":140,"satellites":41,"speed":21,"hex_longitude":"2d189540","hex_latitude":"0720b2e8","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598152192001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15761327385477120,"note":"Value kept but may cause issues"} 
[2026-08-23 19:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770970215332737024,"note":"Value kept but may cause issues"} 
[2026-08-23 19:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787492783000,"timestamp_ms":1787492783000,"timestamp_seconds":1787492783,"priority":1,"record_length":96,"hex_timestamp":"000001a02edf5398"} 
[2026-08-23 19:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:17:34] 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-08-23 19: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-23 19:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598152192001,"66":13439,"103":206,"83":41984,"24":21,"16":15761327385477120,"45":1770970215332737024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 19:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598152192001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:17:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 19:17:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15761327385477120,"km_value":15761327385477.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770970215332737024,"description":"Unknown IO ID 45"} 
[2026-08-23 19:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598152192001,"power":13439,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1770970215332737024}} 
[2026-08-23 19:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":161951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:17:34] local.INFO: GPS data processed {"connection_id":161951,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:17:34] local.INFO: Acknowledgment sent {"connection_id":161951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:17:53] local.INFO: TCP Data received {"connection_id":163347,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:17:53] local.INFO: Processing buffer {"connection_id":163347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:17:53] local.INFO: IMEI packet received {"connection_id":163347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":163347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:17:55] local.INFO: TCP Data received {"connection_id":163347,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:17:55] local.INFO: Processing buffer {"connection_id":163347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:17:55] local.INFO: IMEI packet received {"connection_id":163347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":163347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:17:56] local.INFO: TCP Data received {"connection_id":163347,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:17:56] local.INFO: Processing buffer {"connection_id":163347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:17:56] local.INFO: Packet analysis {"connection_id":163347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:17:56] local.INFO: Extracted packet for processing {"connection_id":163347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:17:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598027008001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787492594000,"timestamp_ms":1787492594000,"timestamp_seconds":1787492594,"priority":1,"record_length":96,"hex_timestamp":"000001a02edc7150"} 
[2026-08-23 19:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 19:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598027008001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598027008001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:17:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:17:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598027008001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":163347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:17:56] local.INFO: GPS data processed {"connection_id":163347,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:17:56] local.INFO: Acknowledgment sent {"connection_id":163347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:18:01] local.INFO: TCP Data received {"connection_id":163347,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:18:01] local.INFO: Processing buffer {"connection_id":163347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:18:01] local.INFO: Packet analysis {"connection_id":163347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:18:01] local.INFO: Extracted packet for processing {"connection_id":163347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:18:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598027008001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787492594000,"timestamp_ms":1787492594000,"timestamp_seconds":1787492594,"priority":1,"record_length":96,"hex_timestamp":"000001a02edc7150"} 
[2026-08-23 19:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 19:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":163347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":163347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":163347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598027008001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598027008001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:18:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:18:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598027008001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":163347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:18:01] local.INFO: GPS data processed {"connection_id":163347,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:18:01] local.INFO: Acknowledgment sent {"connection_id":163347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:18:05] local.INFO: TCP Data received {"connection_id":161951,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02edf5780012d1896000720b120003400992a..."} 
[2026-08-23 19:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02edf5780012d1896000720b120003400992a..."} 
[2026-08-23 19:18:05] local.INFO: Processing buffer {"connection_id":161951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02edf5780012d1896000720b120003400992a..."} 
[2026-08-23 19:18:05] local.INFO: Packet analysis {"connection_id":161951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02edf"} 
[2026-08-23 19:18:05] local.INFO: Extracted packet for processing {"connection_id":161951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02edf"} 
[2026-08-23 19:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756585984,"raw_latitude":119583008,"longitude_deg":75.6585984,"latitude_deg":11.9583008,"altitude":52,"angle":153,"satellites":42,"speed":19,"hex_longitude":"2d189600","hex_latitude":"0720b120","is_valid_coordinates":true} 
[2026-08-23 19:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598152448001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15761348860313600,"note":"Value kept but may cause issues"} 
[2026-08-23 19:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771392427797702656,"note":"Value kept but may cause issues"} 
[2026-08-23 19:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787492784000,"timestamp_ms":1787492784000,"timestamp_seconds":1787492784,"priority":1,"record_length":96,"hex_timestamp":"000001a02edf5780"} 
[2026-08-23 19:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:18: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-08-23 19:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-23 19:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598152448001,"66":13798,"103":206,"83":41984,"24":19,"16":15761348860313600,"45":1771392427797702656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 19:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598152448001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:18:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 19:18:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15761348860313600,"km_value":15761348860313.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771392427797702656,"description":"Unknown IO ID 45"} 
[2026-08-23 19:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598152448001,"power":13798,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1771392427797702656}} 
[2026-08-23 19:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":161951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:18:05] local.INFO: GPS data processed {"connection_id":161951,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:18:05] local.INFO: Acknowledgment sent {"connection_id":161951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:18:32] local.INFO: TCP Data received {"connection_id":160754,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:18:32] local.INFO: Processing buffer {"connection_id":160754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:18:32] local.INFO: IMEI packet received {"connection_id":160754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":160754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:18:33] local.INFO: TCP Data received {"connection_id":160754,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:18:33] local.INFO: Processing buffer {"connection_id":160754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:18:33] local.INFO: IMEI packet received {"connection_id":160754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":160754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:18:39] local.INFO: TCP Data received {"connection_id":160754,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:18:39] local.INFO: Processing buffer {"connection_id":160754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:18:39] local.INFO: IMEI packet received {"connection_id":160754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":160754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:18:40] local.INFO: TCP Data received {"connection_id":160754,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02edf6ef0012d1899c00720a6a0003300a428..."} 
[2026-08-23 19:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02edf6ef0012d1899c00720a6a0003300a428..."} 
[2026-08-23 19:18:40] local.INFO: Processing buffer {"connection_id":160754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02edf6ef0012d1899c00720a6a0003300a428..."} 
[2026-08-23 19:18:40] local.INFO: Packet analysis {"connection_id":160754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02edf"} 
[2026-08-23 19:18:40] local.INFO: Extracted packet for processing {"connection_id":160754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02edf"} 
[2026-08-23 19:18:40] local.INFO: GPS Element Parsed {"raw_longitude":756586944,"raw_latitude":119580320,"longitude_deg":75.6586944,"latitude_deg":11.958032,"altitude":51,"angle":164,"satellites":40,"speed":16,"hex_longitude":"2d1899c0","hex_latitude":"0720a6a0","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598152704001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15761486299267072,"note":"Value kept but may cause issues"} 
[2026-08-23 19:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771603534030118912,"note":"Value kept but may cause issues"} 
[2026-08-23 19:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787492790000,"timestamp_ms":1787492790000,"timestamp_seconds":1787492790,"priority":1,"record_length":96,"hex_timestamp":"000001a02edf6ef0"} 
[2026-08-23 19:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:18:40] 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-08-23 19: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-23 19:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598152704001,"66":12950,"103":206,"83":41984,"24":16,"16":15761486299267072,"45":1771603534030118912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 19:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598152704001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:18:40] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 19:18:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15761486299267072,"km_value":15761486299267.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771603534030118912,"description":"Unknown IO ID 45"} 
[2026-08-23 19:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598152704001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1771603534030118912}} 
[2026-08-23 19:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":160754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:18:40] local.INFO: GPS data processed {"connection_id":160754,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:18:40] local.INFO: Acknowledgment sent {"connection_id":160754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:18:45] local.INFO: TCP Data received {"connection_id":160755,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:18:45] local.INFO: Processing buffer {"connection_id":160755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:18:45] local.INFO: IMEI packet received {"connection_id":160755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":160755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:18:51] local.INFO: TCP Data received {"connection_id":160755,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:18:51] local.INFO: Processing buffer {"connection_id":160755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:18:51] local.INFO: IMEI packet received {"connection_id":160755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":160755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:18:52] local.INFO: TCP Data received {"connection_id":160755,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:18:52] local.INFO: Processing buffer {"connection_id":160755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02edc7150012d34c58006aa40600007011423..."} 
[2026-08-23 19:18:52] local.INFO: Packet analysis {"connection_id":160755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:18:52] local.INFO: Extracted packet for processing {"connection_id":160755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02edc"} 
[2026-08-23 19:18:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598027008001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787492594000,"timestamp_ms":1787492594000,"timestamp_seconds":1787492594,"priority":1,"record_length":96,"hex_timestamp":"000001a02edc7150"} 
[2026-08-23 19:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 19:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598027008001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598027008001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:18:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:18:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598027008001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":160755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:18:53] local.INFO: GPS data processed {"connection_id":160755,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:18:53] local.INFO: Acknowledgment sent {"connection_id":160755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:19:11] local.INFO: TCP Data received {"connection_id":160754,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee13fc8012d187d800720cbc8003c01362c..."} 
[2026-08-23 19:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee13fc8012d187d800720cbc8003c01362c..."} 
[2026-08-23 19:19:11] local.INFO: Processing buffer {"connection_id":160754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee13fc8012d187d800720cbc8003c01362c..."} 
[2026-08-23 19:19:11] local.INFO: Packet analysis {"connection_id":160754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:19:11] local.INFO: Extracted packet for processing {"connection_id":160754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:19:11] local.INFO: GPS Element Parsed {"raw_longitude":756579712,"raw_latitude":119589832,"longitude_deg":75.6579712,"latitude_deg":11.9589832,"altitude":60,"angle":310,"satellites":44,"speed":13,"hex_longitude":"2d187d80","hex_latitude":"0720cbc8","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598184448001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15762422602137600,"note":"Value kept but may cause issues"} 
[2026-08-23 19:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765059240823279616,"note":"Value kept but may cause issues"} 
[2026-08-23 19:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787492909000,"timestamp_ms":1787492909000,"timestamp_seconds":1787492909,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee13fc8"} 
[2026-08-23 19:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:19: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-08-23 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 19:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598184448001,"66":12287,"106":206,"83":41984,"24":13,"16":15762422602137600,"45":1765059240823279616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 19:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598184448001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:19:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 19:19:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15762422602137600,"km_value":15762422602137.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765059240823279616,"description":"Unknown IO ID 45"} 
[2026-08-23 19:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598184448001,"power":12287,"unknown_106":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1765059240823279616}} 
[2026-08-23 19:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":160754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:19:11] local.INFO: GPS data processed {"connection_id":160754,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:19:11] local.INFO: Acknowledgment sent {"connection_id":160754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:19:24] local.INFO: TCP Data received {"connection_id":160755,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:19:24] local.INFO: Processing buffer {"connection_id":160755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:19:24] local.INFO: Packet analysis {"connection_id":160755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:19:24] local.INFO: Extracted packet for processing {"connection_id":160755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:19:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598104064001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787492895000,"timestamp_ms":1787492895000,"timestamp_seconds":1787492895,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee10918"} 
[2026-08-23 19:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598104064001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598104064001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:19:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:19:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598104064001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":160755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:19:24] local.INFO: GPS data processed {"connection_id":160755,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:19:24] local.INFO: Acknowledgment sent {"connection_id":160755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:19:25] local.INFO: TCP Data received {"connection_id":160999,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:19:25] local.INFO: Processing buffer {"connection_id":160999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:19:25] local.INFO: IMEI packet received {"connection_id":160999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":160999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:19:29] local.INFO: TCP Data received {"connection_id":160999,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:19:29] local.INFO: Processing buffer {"connection_id":160999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:19:29] local.INFO: IMEI packet received {"connection_id":160999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":160999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:19:34] local.INFO: TCP Data received {"connection_id":160999,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:19:34] local.INFO: Processing buffer {"connection_id":160999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:19:34] local.INFO: IMEI packet received {"connection_id":160999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":160999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:19:35] local.INFO: TCP Data received {"connection_id":160999,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee14798012d187b400720cd88003c012a2c..."} 
[2026-08-23 19:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee14798012d187b400720cd88003c012a2c..."} 
[2026-08-23 19:19:35] local.INFO: Processing buffer {"connection_id":160999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee14798012d187b400720cd88003c012a2c..."} 
[2026-08-23 19:19:35] local.INFO: Packet analysis {"connection_id":160999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:19:35] local.INFO: Extracted packet for processing {"connection_id":160999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:19:35] local.INFO: GPS Element Parsed {"raw_longitude":756579136,"raw_latitude":119590280,"longitude_deg":75.6579136,"latitude_deg":11.959028,"altitude":60,"angle":298,"satellites":44,"speed":15,"hex_longitude":"2d187b40","hex_latitude":"0720cd88","is_valid_coordinates":true} 
[2026-08-23 19:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598184704001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15762461256843264,"note":"Value kept but may cause issues"} 
[2026-08-23 19:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764707397102454784,"note":"Value kept but may cause issues"} 
[2026-08-23 19:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787492911000,"timestamp_ms":1787492911000,"timestamp_seconds":1787492911,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee14798"} 
[2026-08-23 19:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 19:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598184704001,"66":12406,"106":206,"83":41984,"24":15,"16":15762461256843264,"45":1764707397102454784},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 19:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598184704001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:19:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 19:19:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15762461256843264,"km_value":15762461256843.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764707397102454784,"description":"Unknown IO ID 45"} 
[2026-08-23 19:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598184704001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1764707397102454784}} 
[2026-08-23 19:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":160999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:19:35] local.INFO: GPS data processed {"connection_id":160999,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:19:35] local.INFO: Acknowledgment sent {"connection_id":160999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:19:45] local.INFO: TCP Data received {"connection_id":163348,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:19:45] local.INFO: Processing buffer {"connection_id":163348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:19:45] local.INFO: IMEI packet received {"connection_id":163348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":163348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:19:50] local.INFO: TCP Data received {"connection_id":163348,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:19:50] local.INFO: Processing buffer {"connection_id":163348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:19:50] local.INFO: IMEI packet received {"connection_id":163348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":163348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:19:52] local.INFO: TCP Data received {"connection_id":163348,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:19:52] local.INFO: Processing buffer {"connection_id":163348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:19:52] local.INFO: Packet analysis {"connection_id":163348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:19:52] local.INFO: Extracted packet for processing {"connection_id":163348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598104064001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787492895000,"timestamp_ms":1787492895000,"timestamp_seconds":1787492895,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee10918"} 
[2026-08-23 19:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:19:52] 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-08-23 19:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598104064001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598104064001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:19:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598104064001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":163348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:19:52] local.INFO: GPS data processed {"connection_id":163348,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:19:52] local.INFO: Acknowledgment sent {"connection_id":163348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:20:05] local.INFO: TCP Data received {"connection_id":160999,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee20ed0012d18350007210a10003801582d..."} 
[2026-08-23 19:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee20ed0012d18350007210a10003801582d..."} 
[2026-08-23 19:20:05] local.INFO: Processing buffer {"connection_id":160999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee20ed0012d18350007210a10003801582d..."} 
[2026-08-23 19:20:05] local.INFO: Packet analysis {"connection_id":160999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee2"} 
[2026-08-23 19:20:05] local.INFO: Extracted packet for processing {"connection_id":160999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee2"} 
[2026-08-23 19:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756561152,"raw_latitude":119605776,"longitude_deg":75.6561152,"latitude_deg":11.9605776,"altitude":56,"angle":344,"satellites":45,"speed":13,"hex_longitude":"2d183500","hex_latitude":"07210a10","is_valid_coordinates":true} 
[2026-08-23 19:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598197760001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15763844236312576,"note":"Value kept but may cause issues"} 
[2026-08-23 19:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744581936271544320,"note":"Value kept but may cause issues"} 
[2026-08-23 19:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787492962000,"timestamp_ms":1787492962000,"timestamp_seconds":1787492962,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee20ed0"} 
[2026-08-23 19:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:20: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-08-23 19:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-23 19:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598197760001,"66":13396,"106":206,"83":41984,"24":13,"16":15763844236312576,"45":1744581936271544320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 19:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598197760001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:20:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 19:20:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15763844236312576,"km_value":15763844236312.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744581936271544320,"description":"Unknown IO ID 45"} 
[2026-08-23 19:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598197760001,"power":13396,"unknown_106":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1744581936271544320}} 
[2026-08-23 19:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":160999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:20:06] local.INFO: GPS data processed {"connection_id":160999,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:20:06] local.INFO: Acknowledgment sent {"connection_id":160999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:20:23] local.INFO: TCP Data received {"connection_id":163348,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:20:23] local.INFO: Processing buffer {"connection_id":163348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:20:23] local.INFO: Packet analysis {"connection_id":163348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:20:23] local.INFO: Extracted packet for processing {"connection_id":163348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:20:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598104064001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787492895000,"timestamp_ms":1787492895000,"timestamp_seconds":1787492895,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee10918"} 
[2026-08-23 19:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:20: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-08-23 19:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:20:23] 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-08-23 19:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598104064001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598104064001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:20:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:20:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598104064001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":163348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:20:23] local.INFO: GPS data processed {"connection_id":163348,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:20:23] local.INFO: Acknowledgment sent {"connection_id":163348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:20:28] local.INFO: TCP Data received {"connection_id":160756,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:20:28] local.INFO: Processing buffer {"connection_id":160756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:20:28] local.INFO: IMEI packet received {"connection_id":160756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":160756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:20:34] local.INFO: TCP Data received {"connection_id":160756,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:20:34] local.INFO: Processing buffer {"connection_id":160756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:20:34] local.INFO: IMEI packet received {"connection_id":160756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":160756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:20:35] local.INFO: TCP Data received {"connection_id":160756,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee212b8012d18348007210bb0003801672d..."} 
[2026-08-23 19:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee212b8012d18348007210bb0003801672d..."} 
[2026-08-23 19:20:35] local.INFO: Processing buffer {"connection_id":160756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee212b8012d18348007210bb0003801672d..."} 
[2026-08-23 19:20:35] local.INFO: Packet analysis {"connection_id":160756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee2"} 
[2026-08-23 19:20:35] local.INFO: Extracted packet for processing {"connection_id":160756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee2"} 
[2026-08-23 19:20:35] local.INFO: GPS Element Parsed {"raw_longitude":756561024,"raw_latitude":119606192,"longitude_deg":75.6561024,"latitude_deg":11.9606192,"altitude":56,"angle":359,"satellites":45,"speed":17,"hex_longitude":"2d183480","hex_latitude":"07210bb0","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598198272001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15763865711149056,"note":"Value kept but may cause issues"} 
[2026-08-23 19:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744300461295013888,"note":"Value kept but may cause issues"} 
[2026-08-23 19:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787492963000,"timestamp_ms":1787492963000,"timestamp_seconds":1787492963,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee212b8"} 
[2026-08-23 19:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-23 19:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598198272001,"66":13396,"106":206,"83":41984,"24":17,"16":15763865711149056,"45":1744300461295013888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-23 19:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598198272001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:20:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-23 19:20:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15763865711149056,"km_value":15763865711149.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744300461295013888,"description":"Unknown IO ID 45"} 
[2026-08-23 19:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598198272001,"power":13396,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1744300461295013888}} 
[2026-08-23 19:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":160756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:20:35] local.INFO: GPS data processed {"connection_id":160756,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:20:35] local.INFO: Acknowledgment sent {"connection_id":160756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:20:45] local.INFO: TCP Data received {"connection_id":161952,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:20:45] local.INFO: Processing buffer {"connection_id":161952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:20:45] local.INFO: IMEI packet received {"connection_id":161952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":161952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:20:50] local.INFO: TCP Data received {"connection_id":161952,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:20:50] local.INFO: Processing buffer {"connection_id":161952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:20:50] local.INFO: IMEI packet received {"connection_id":161952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":161952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:20:51] local.INFO: TCP Data received {"connection_id":161952,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:20:51] local.INFO: Processing buffer {"connection_id":161952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:20:51] local.INFO: Packet analysis {"connection_id":161952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:20:51] local.INFO: Extracted packet for processing {"connection_id":161952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:20:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598104064001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787492895000,"timestamp_ms":1787492895000,"timestamp_seconds":1787492895,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee10918"} 
[2026-08-23 19:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598104064001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598104064001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:20:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:20:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598104064001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":161952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:20:51] local.INFO: GPS data processed {"connection_id":161952,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:20:51] local.INFO: Acknowledgment sent {"connection_id":161952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:21:08] local.INFO: TCP Data received {"connection_id":160756,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee2bab0012d181bc0072159800046014427..."} 
[2026-08-23 19:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee2bab0012d181bc0072159800046014427..."} 
[2026-08-23 19:21:08] local.INFO: Processing buffer {"connection_id":160756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee2bab0012d181bc0072159800046014427..."} 
[2026-08-23 19:21:08] local.INFO: Packet analysis {"connection_id":160756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee2"} 
[2026-08-23 19:21:08] local.INFO: Extracted packet for processing {"connection_id":160756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee2"} 
[2026-08-23 19:21:08] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119626112,"longitude_deg":75.6554688,"latitude_deg":11.9626112,"altitude":70,"angle":324,"satellites":39,"speed":7,"hex_longitude":"2d181bc0","hex_latitude":"07215980","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598209280001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15765021057351680,"note":"Value kept but may cause issues"} 
[2026-08-23 19:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324370767872,"note":"Value kept but may cause issues"} 
[2026-08-23 19:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787493006000,"timestamp_ms":1787493006000,"timestamp_seconds":1787493006,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee2bab0"} 
[2026-08-23 19:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:21: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-08-23 19: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-23 19:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598209280001,"66":12950,"107":206,"83":41984,"24":7,"16":15765021057351680,"45":1737404324370767872},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-23 19:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598209280001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:21:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-23 19:21:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15765021057351680,"km_value":15765021057351.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324370767872,"description":"Unknown IO ID 45"} 
[2026-08-23 19:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598209280001,"power":12950,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737404324370767872}} 
[2026-08-23 19:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":160756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:21:08] local.INFO: GPS data processed {"connection_id":160756,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:21:08] local.INFO: Acknowledgment sent {"connection_id":160756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:21:22] local.INFO: TCP Data received {"connection_id":161952,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:21:22] local.INFO: Processing buffer {"connection_id":161952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:21:22] local.INFO: Packet analysis {"connection_id":161952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:21:22] local.INFO: Extracted packet for processing {"connection_id":161952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:21:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598104064001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787492895000,"timestamp_ms":1787492895000,"timestamp_seconds":1787492895,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee10918"} 
[2026-08-23 19:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:21: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-08-23 19:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:21:22] 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-08-23 19:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598104064001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598104064001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:21:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:21:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598104064001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":161952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:21:22] local.INFO: GPS data processed {"connection_id":161952,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:21:22] local.INFO: Acknowledgment sent {"connection_id":161952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:21:28] local.INFO: TCP Data received {"connection_id":161953,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:21:28] local.INFO: Processing buffer {"connection_id":161953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:21:28] local.INFO: IMEI packet received {"connection_id":161953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":161953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:21:30] local.INFO: TCP Data received {"connection_id":161953,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:21:30] local.INFO: Processing buffer {"connection_id":161953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:21:30] local.INFO: IMEI packet received {"connection_id":161953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":161953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:21:31] local.INFO: TCP Data received {"connection_id":161953,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:21:31] local.INFO: Processing buffer {"connection_id":161953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:21:31] local.INFO: IMEI packet received {"connection_id":161953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":161953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:21:33] local.INFO: TCP Data received {"connection_id":161953,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:21:33] local.INFO: Processing buffer {"connection_id":161953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:21:33] local.INFO: IMEI packet received {"connection_id":161953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":161953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:21:50] local.INFO: TCP Data received {"connection_id":163349,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:21:50] local.INFO: Processing buffer {"connection_id":163349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:21:50] local.INFO: IMEI packet received {"connection_id":163349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":163349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:21:55] local.INFO: TCP Data received {"connection_id":163349,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:21:55] local.INFO: Processing buffer {"connection_id":163349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:21:55] local.INFO: IMEI packet received {"connection_id":163349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":163349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:22:05] local.INFO: TCP Data received {"connection_id":163349,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:22:05] local.INFO: Processing buffer {"connection_id":163349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:22:05] local.INFO: Packet analysis {"connection_id":163349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:22:05] local.INFO: Extracted packet for processing {"connection_id":163349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:22:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598104064001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787492895000,"timestamp_ms":1787492895000,"timestamp_seconds":1787492895,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee10918"} 
[2026-08-23 19:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:22: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-08-23 19:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598104064001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598104064001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:22:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:22:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598104064001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":163349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:22:05] local.INFO: GPS data processed {"connection_id":163349,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:22:05] local.INFO: Acknowledgment sent {"connection_id":163349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:22:06] local.INFO: TCP Data received {"connection_id":163349,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:22:06] local.INFO: Processing buffer {"connection_id":163349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:22:06] local.INFO: Packet analysis {"connection_id":163349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:22:06] local.INFO: Extracted packet for processing {"connection_id":163349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598104064001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787492895000,"timestamp_ms":1787492895000,"timestamp_seconds":1787492895,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee10918"} 
[2026-08-23 19:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598104064001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598104064001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:22:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598104064001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":163349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:22:06] local.INFO: GPS data processed {"connection_id":163349,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:22:06] local.INFO: Acknowledgment sent {"connection_id":163349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:22:45] local.INFO: TCP Data received {"connection_id":161954,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:22:45] local.INFO: Processing buffer {"connection_id":161954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:22:45] local.INFO: IMEI packet received {"connection_id":161954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":161954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:22:50] local.INFO: TCP Data received {"connection_id":161954,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:22:50] local.INFO: Processing buffer {"connection_id":161954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:22:50] local.INFO: IMEI packet received {"connection_id":161954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":161954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:22:52] local.INFO: TCP Data received {"connection_id":161954,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:22:52] local.INFO: Processing buffer {"connection_id":161954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:22:52] local.INFO: Packet analysis {"connection_id":161954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:22:52] local.INFO: Extracted packet for processing {"connection_id":161954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:22:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598104064001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787492895000,"timestamp_ms":1787492895000,"timestamp_seconds":1787492895,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee10918"} 
[2026-08-23 19:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598104064001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598104064001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:22:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:22:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598104064001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":161954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:22:52] local.INFO: GPS data processed {"connection_id":161954,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:22:52] local.INFO: Acknowledgment sent {"connection_id":161954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:23:23] local.INFO: TCP Data received {"connection_id":161954,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:23:23] local.INFO: Processing buffer {"connection_id":161954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:23:23] local.INFO: Packet analysis {"connection_id":161954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:23:23] local.INFO: Extracted packet for processing {"connection_id":161954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:23:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598104064001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787492895000,"timestamp_ms":1787492895000,"timestamp_seconds":1787492895,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee10918"} 
[2026-08-23 19:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:23: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-08-23 19:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598104064001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598104064001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:23:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:23:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598104064001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":161954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:23:23] local.INFO: GPS data processed {"connection_id":161954,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:23:23] local.INFO: Acknowledgment sent {"connection_id":161954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:23:45] local.INFO: TCP Data received {"connection_id":163351,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:23:45] local.INFO: Processing buffer {"connection_id":163351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:23:45] local.INFO: IMEI packet received {"connection_id":163351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":163351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:23:50] local.INFO: TCP Data received {"connection_id":163351,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:23:50] local.INFO: Processing buffer {"connection_id":163351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:23:50] local.INFO: IMEI packet received {"connection_id":163351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":163351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:23:51] local.INFO: TCP Data received {"connection_id":163351,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:23:51] local.INFO: Processing buffer {"connection_id":163351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee10918012d34c58006aa40600007011420..."} 
[2026-08-23 19:23:51] local.INFO: Packet analysis {"connection_id":163351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:23:51] local.INFO: Extracted packet for processing {"connection_id":163351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee1"} 
[2026-08-23 19:23:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598104064001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787492895000,"timestamp_ms":1787492895000,"timestamp_seconds":1787492895,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee10918"} 
[2026-08-23 19:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598104064001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598104064001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:23:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:23:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598104064001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":163351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:23:51] local.INFO: GPS data processed {"connection_id":163351,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:23:51] local.INFO: Acknowledgment sent {"connection_id":163351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:24:23] local.INFO: TCP Data received {"connection_id":163351,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:24:23] local.INFO: Processing buffer {"connection_id":163351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:24:23] local.INFO: Packet analysis {"connection_id":163351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee5"} 
[2026-08-23 19:24:23] local.INFO: Extracted packet for processing {"connection_id":163351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee5"} 
[2026-08-23 19:24:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598181120001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787493196000,"timestamp_ms":1787493196000,"timestamp_seconds":1787493196,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee5a0e0"} 
[2026-08-23 19:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:24:23] 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-08-23 19:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598181120001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598181120001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:24:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:24:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598181120001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":163351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:24:23] local.INFO: GPS data processed {"connection_id":163351,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:24:23] local.INFO: Acknowledgment sent {"connection_id":163351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:24:45] local.INFO: TCP Data received {"connection_id":161001,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:24:45] local.INFO: Processing buffer {"connection_id":161001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:24:45] local.INFO: IMEI packet received {"connection_id":161001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":161001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:24:50] local.INFO: TCP Data received {"connection_id":161001,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:24:50] local.INFO: Processing buffer {"connection_id":161001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:24:50] local.INFO: IMEI packet received {"connection_id":161001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":161001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:24:51] local.INFO: TCP Data received {"connection_id":161001,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:24:51] local.INFO: Processing buffer {"connection_id":161001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:24:51] local.INFO: Packet analysis {"connection_id":161001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee5"} 
[2026-08-23 19:24:51] local.INFO: Extracted packet for processing {"connection_id":161001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee5"} 
[2026-08-23 19:24:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598181120001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787493196000,"timestamp_ms":1787493196000,"timestamp_seconds":1787493196,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee5a0e0"} 
[2026-08-23 19:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:24: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-08-23 19:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598181120001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598181120001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:24:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:24:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598181120001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":161001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:24:51] local.INFO: GPS data processed {"connection_id":161001,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:24:51] local.INFO: Acknowledgment sent {"connection_id":161001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:25:23] local.INFO: TCP Data received {"connection_id":161001,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:25:23] local.INFO: Processing buffer {"connection_id":161001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:25:23] local.INFO: Packet analysis {"connection_id":161001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee5"} 
[2026-08-23 19:25:23] local.INFO: Extracted packet for processing {"connection_id":161001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee5"} 
[2026-08-23 19:25:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598181120001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787493196000,"timestamp_ms":1787493196000,"timestamp_seconds":1787493196,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee5a0e0"} 
[2026-08-23 19:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:25:23] 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-08-23 19: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-08-23 19:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598181120001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598181120001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:25:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:25:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598181120001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":161001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:25:23] local.INFO: GPS data processed {"connection_id":161001,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:25:23] local.INFO: Acknowledgment sent {"connection_id":161001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:25:45] local.INFO: TCP Data received {"connection_id":160758,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:25:45] local.INFO: Processing buffer {"connection_id":160758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:25:45] local.INFO: IMEI packet received {"connection_id":160758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":160758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:25:50] local.INFO: TCP Data received {"connection_id":160758,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:25:50] local.INFO: Processing buffer {"connection_id":160758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:25:50] local.INFO: IMEI packet received {"connection_id":160758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":160758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:25:51] local.INFO: TCP Data received {"connection_id":160758,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:25:51] local.INFO: Processing buffer {"connection_id":160758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:25:51] local.INFO: Packet analysis {"connection_id":160758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee5"} 
[2026-08-23 19:25:51] local.INFO: Extracted packet for processing {"connection_id":160758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee5"} 
[2026-08-23 19:25:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598181120001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787493196000,"timestamp_ms":1787493196000,"timestamp_seconds":1787493196,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee5a0e0"} 
[2026-08-23 19:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:25: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-08-23 19:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598181120001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598181120001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:25:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:25:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598181120001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":160758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:25:51] local.INFO: GPS data processed {"connection_id":160758,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:25:51] local.INFO: Acknowledgment sent {"connection_id":160758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:26:22] local.INFO: TCP Data received {"connection_id":160758,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:26:22] local.INFO: Processing buffer {"connection_id":160758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:26:22] local.INFO: Packet analysis {"connection_id":160758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee5"} 
[2026-08-23 19:26:22] local.INFO: Extracted packet for processing {"connection_id":160758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee5"} 
[2026-08-23 19:26:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598181120001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787493196000,"timestamp_ms":1787493196000,"timestamp_seconds":1787493196,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee5a0e0"} 
[2026-08-23 19:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:26: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-08-23 19:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598181120001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598181120001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:26:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:26:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598181120001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":160758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:26:22] local.INFO: GPS data processed {"connection_id":160758,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:26:22] local.INFO: Acknowledgment sent {"connection_id":160758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:26:34] local.INFO: TCP Data received {"connection_id":161956,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:26:34] local.INFO: Processing buffer {"connection_id":161956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:26:34] local.INFO: IMEI packet received {"connection_id":161956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":161956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:26:35] local.INFO: TCP Data received {"connection_id":161956,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee717e0012d1981c00720e940004101222b..."} 
[2026-08-23 19:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee717e0012d1981c00720e940004101222b..."} 
[2026-08-23 19:26:35] local.INFO: Processing buffer {"connection_id":161956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee717e0012d1981c00720e940004101222b..."} 
[2026-08-23 19:26:35] local.INFO: Packet analysis {"connection_id":161956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee7"} 
[2026-08-23 19:26:35] local.INFO: Extracted packet for processing {"connection_id":161956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee7"} 
[2026-08-23 19:26:35] local.INFO: GPS Element Parsed {"raw_longitude":756646336,"raw_latitude":119597376,"longitude_deg":75.6646336,"latitude_deg":11.9597376,"altitude":65,"angle":290,"satellites":43,"speed":10,"hex_longitude":"2d1981c0","hex_latitude":"0720e940","is_valid_coordinates":true} 
[2026-08-23 19:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598282496001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15772928092143616,"note":"Value kept but may cause issues"} 
[2026-08-23 19:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838242734770020352,"note":"Value kept but may cause issues"} 
[2026-08-23 19:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787493292000,"timestamp_ms":1787493292000,"timestamp_seconds":1787493292,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee717e0"} 
[2026-08-23 19:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 19:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598282496001,"66":12406,"103":206,"83":41984,"24":10,"16":15772928092143616,"45":1838242734770020352},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 19:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598282496001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:26:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 19:26:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15772928092143616,"km_value":15772928092143.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838242734770020352,"description":"Unknown IO ID 45"} 
[2026-08-23 19:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598282496001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1838242734770020352}} 
[2026-08-23 19:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":161956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:26:35] local.INFO: GPS data processed {"connection_id":161956,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:26:35] local.INFO: Acknowledgment sent {"connection_id":161956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:26:45] local.INFO: TCP Data received {"connection_id":161957,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:26:45] local.INFO: Processing buffer {"connection_id":161957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:26:45] local.INFO: IMEI packet received {"connection_id":161957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":161957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:26:50] local.INFO: TCP Data received {"connection_id":161957,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:26:50] local.INFO: Processing buffer {"connection_id":161957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:26:50] local.INFO: IMEI packet received {"connection_id":161957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":161957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:26:51] local.INFO: TCP Data received {"connection_id":161957,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:26:51] local.INFO: Processing buffer {"connection_id":161957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:26:51] local.INFO: Packet analysis {"connection_id":161957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee5"} 
[2026-08-23 19:26:51] local.INFO: Extracted packet for processing {"connection_id":161957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee5"} 
[2026-08-23 19:26:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598181120001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787493196000,"timestamp_ms":1787493196000,"timestamp_seconds":1787493196,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee5a0e0"} 
[2026-08-23 19:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:26: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-08-23 19:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598181120001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598181120001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:26:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:26:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598181120001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":161957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:26:51] local.INFO: GPS data processed {"connection_id":161957,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:26:51] local.INFO: Acknowledgment sent {"connection_id":161957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:27:05] local.INFO: TCP Data received {"connection_id":161956,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee73b08012d197d000720ebf80042013e2c..."} 
[2026-08-23 19:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee73b08012d197d000720ebf80042013e2c..."} 
[2026-08-23 19:27:05] local.INFO: Processing buffer {"connection_id":161956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee73b08012d197d000720ebf80042013e2c..."} 
[2026-08-23 19:27:05] local.INFO: Packet analysis {"connection_id":161956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee7"} 
[2026-08-23 19:27:05] local.INFO: Extracted packet for processing {"connection_id":161956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee7"} 
[2026-08-23 19:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756645120,"raw_latitude":119598072,"longitude_deg":75.664512,"latitude_deg":11.9598072,"altitude":66,"angle":318,"satellites":44,"speed":5,"hex_longitude":"2d197d00","hex_latitude":"0720ebf8","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598282752001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15772996811620352,"note":"Value kept but may cause issues"} 
[2026-08-23 19:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837961259793334272,"note":"Value kept but may cause issues"} 
[2026-08-23 19:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787493301000,"timestamp_ms":1787493301000,"timestamp_seconds":1787493301,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee73b08"} 
[2026-08-23 19:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 19:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598282752001,"66":12363,"103":206,"83":41984,"24":5,"16":15772996811620352,"45":1837961259793334272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 19:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598282752001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:27:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 19:27:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15772996811620352,"km_value":15772996811620.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837961259793334272,"description":"Unknown IO ID 45"} 
[2026-08-23 19:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598282752001,"power":12363,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1837961259793334272}} 
[2026-08-23 19:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":161956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:27:05] local.INFO: GPS data processed {"connection_id":161956,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:27:05] local.INFO: Acknowledgment sent {"connection_id":161956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:27:24] local.INFO: TCP Data received {"connection_id":161957,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:27:24] local.INFO: Processing buffer {"connection_id":161957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:27:24] local.INFO: Packet analysis {"connection_id":161957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee5"} 
[2026-08-23 19:27:24] local.INFO: Extracted packet for processing {"connection_id":161957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee5"} 
[2026-08-23 19:27:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598181120001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787493196000,"timestamp_ms":1787493196000,"timestamp_seconds":1787493196,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee5a0e0"} 
[2026-08-23 19:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:27:24] 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-08-23 19:27:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19: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-08-23 19:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598181120001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598181120001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:27:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:27:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598181120001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":161957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:27:24] local.INFO: GPS data processed {"connection_id":161957,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:27:24] local.INFO: Acknowledgment sent {"connection_id":161957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:27:26] local.INFO: TCP Data received {"connection_id":163352,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:27:26] local.INFO: Processing buffer {"connection_id":163352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:27:26] local.INFO: IMEI packet received {"connection_id":163352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":163352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:27:27] local.INFO: TCP Data received {"connection_id":163352,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:27:27] local.INFO: Processing buffer {"connection_id":163352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:27:27] local.INFO: IMEI packet received {"connection_id":163352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":163352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:27:28] local.INFO: TCP Data received {"connection_id":163352,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:27:28] local.INFO: Processing buffer {"connection_id":163352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:27:28] local.INFO: IMEI packet received {"connection_id":163352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":163352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:27:29] local.INFO: TCP Data received {"connection_id":163352,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:27:29] local.INFO: Processing buffer {"connection_id":163352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:27:29] local.INFO: IMEI packet received {"connection_id":163352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":163352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:27:45] local.INFO: TCP Data received {"connection_id":161002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:27:45] local.INFO: Processing buffer {"connection_id":161002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:27:45] local.INFO: IMEI packet received {"connection_id":161002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":161002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:27:50] local.INFO: TCP Data received {"connection_id":161002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:27:50] local.INFO: Processing buffer {"connection_id":161002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:27:50] local.INFO: IMEI packet received {"connection_id":161002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":161002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:27:52] local.INFO: TCP Data received {"connection_id":161002,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:27:52] local.INFO: Processing buffer {"connection_id":161002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:27:52] local.INFO: Packet analysis {"connection_id":161002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee5"} 
[2026-08-23 19:27:52] local.INFO: Extracted packet for processing {"connection_id":161002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee5"} 
[2026-08-23 19:27:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598181120001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787493196000,"timestamp_ms":1787493196000,"timestamp_seconds":1787493196,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee5a0e0"} 
[2026-08-23 19:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:27:52] 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-08-23 19: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-08-23 19:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598181120001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598181120001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:27:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:27:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598181120001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":161002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:27:52] local.INFO: GPS data processed {"connection_id":161002,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:27:52] local.INFO: Acknowledgment sent {"connection_id":161002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:28:23] local.INFO: TCP Data received {"connection_id":161002,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:28:23] local.INFO: Processing buffer {"connection_id":161002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ee5a0e0012d34c58006aa40600007011425..."} 
[2026-08-23 19:28:23] local.INFO: Packet analysis {"connection_id":161002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ee5"} 
[2026-08-23 19:28:23] local.INFO: Extracted packet for processing {"connection_id":161002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ee5"} 
[2026-08-23 19:28:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598181120001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787493196000,"timestamp_ms":1787493196000,"timestamp_seconds":1787493196,"priority":1,"record_length":96,"hex_timestamp":"000001a02ee5a0e0"} 
[2026-08-23 19:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:28:23] 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-08-23 19:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598181120001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598181120001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:28:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:28:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598181120001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":161002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:28:24] local.INFO: GPS data processed {"connection_id":161002,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:28:24] local.INFO: Acknowledgment sent {"connection_id":161002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:28:50] local.INFO: TCP Data received {"connection_id":161003,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:28:50] local.INFO: Processing buffer {"connection_id":161003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:28:50] local.INFO: IMEI packet received {"connection_id":161003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":161003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:28:55] local.INFO: TCP Data received {"connection_id":161003,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:28:55] local.INFO: Processing buffer {"connection_id":161003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:28:55] local.INFO: IMEI packet received {"connection_id":161003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":161003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:28:56] local.INFO: TCP Data received {"connection_id":161003,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:28:56] local.INFO: Processing buffer {"connection_id":161003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:28:56] local.INFO: Packet analysis {"connection_id":161003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:28:56] local.INFO: Extracted packet for processing {"connection_id":161003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:28:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598258176001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787493497000,"timestamp_ms":1787493497000,"timestamp_seconds":1787493497,"priority":1,"record_length":96,"hex_timestamp":"000001a02eea38a8"} 
[2026-08-23 19:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598258176001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598258176001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:28:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:28:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598258176001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":161003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:28:56] local.INFO: GPS data processed {"connection_id":161003,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:28:56] local.INFO: Acknowledgment sent {"connection_id":161003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:28:57] local.INFO: TCP Data received {"connection_id":161003,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:28:57] local.INFO: Processing buffer {"connection_id":161003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:28:57] local.INFO: Packet analysis {"connection_id":161003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:28:57] local.INFO: Extracted packet for processing {"connection_id":161003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:28:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598258176001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787493497000,"timestamp_ms":1787493497000,"timestamp_seconds":1787493497,"priority":1,"record_length":96,"hex_timestamp":"000001a02eea38a8"} 
[2026-08-23 19:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:28: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-08-23 19:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598258176001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598258176001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:28:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:28:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598258176001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":161003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:28:57] local.INFO: GPS data processed {"connection_id":161003,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:28:57] local.INFO: Acknowledgment sent {"connection_id":161003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:29:29] local.INFO: TCP Data received {"connection_id":161003,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:29:29] local.INFO: Processing buffer {"connection_id":161003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:29:29] local.INFO: Packet analysis {"connection_id":161003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:29:29] local.INFO: Extracted packet for processing {"connection_id":161003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:29:29] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598258176001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787493497000,"timestamp_ms":1787493497000,"timestamp_seconds":1787493497,"priority":1,"record_length":96,"hex_timestamp":"000001a02eea38a8"} 
[2026-08-23 19:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:29: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-08-23 19:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598258176001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598258176001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:29:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:29:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598258176001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":161003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:29:29] local.INFO: GPS data processed {"connection_id":161003,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:29:29] local.INFO: Acknowledgment sent {"connection_id":161003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:29:45] local.INFO: TCP Data received {"connection_id":160761,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:29:45] local.INFO: Processing buffer {"connection_id":160761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:29:45] local.INFO: IMEI packet received {"connection_id":160761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":160761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:29:50] local.INFO: TCP Data received {"connection_id":160761,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:29:50] local.INFO: Processing buffer {"connection_id":160761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:29:50] local.INFO: IMEI packet received {"connection_id":160761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":160761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:29:51] local.INFO: TCP Data received {"connection_id":160761,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:29:51] local.INFO: Processing buffer {"connection_id":160761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:29:51] local.INFO: Packet analysis {"connection_id":160761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:29:51] local.INFO: Extracted packet for processing {"connection_id":160761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:29:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598258176001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787493497000,"timestamp_ms":1787493497000,"timestamp_seconds":1787493497,"priority":1,"record_length":96,"hex_timestamp":"000001a02eea38a8"} 
[2026-08-23 19:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598258176001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598258176001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:29:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:29:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598258176001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":160761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:29:51] local.INFO: GPS data processed {"connection_id":160761,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:29:51] local.INFO: Acknowledgment sent {"connection_id":160761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:30:22] local.INFO: TCP Data received {"connection_id":160761,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:30:22] local.INFO: Processing buffer {"connection_id":160761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:30:22] local.INFO: Packet analysis {"connection_id":160761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:30:22] local.INFO: Extracted packet for processing {"connection_id":160761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:30:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598258176001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787493497000,"timestamp_ms":1787493497000,"timestamp_seconds":1787493497,"priority":1,"record_length":96,"hex_timestamp":"000001a02eea38a8"} 
[2026-08-23 19:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:30: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-08-23 19:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598258176001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598258176001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:30:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:30:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598258176001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":160761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:30:22] local.INFO: GPS data processed {"connection_id":160761,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:30:22] local.INFO: Acknowledgment sent {"connection_id":160761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:30:45] local.INFO: TCP Data received {"connection_id":161958,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:30:45] local.INFO: Processing buffer {"connection_id":161958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:30:45] local.INFO: IMEI packet received {"connection_id":161958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":161958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:30:50] local.INFO: TCP Data received {"connection_id":161958,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:30:50] local.INFO: Processing buffer {"connection_id":161958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:30:50] local.INFO: IMEI packet received {"connection_id":161958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":161958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:30:51] local.INFO: TCP Data received {"connection_id":161958,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:30:51] local.INFO: Processing buffer {"connection_id":161958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:30:51] local.INFO: Packet analysis {"connection_id":161958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:30:51] local.INFO: Extracted packet for processing {"connection_id":161958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:30:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598258176001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787493497000,"timestamp_ms":1787493497000,"timestamp_seconds":1787493497,"priority":1,"record_length":96,"hex_timestamp":"000001a02eea38a8"} 
[2026-08-23 19:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598258176001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598258176001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:30:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:30:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598258176001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":161958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:30:51] local.INFO: GPS data processed {"connection_id":161958,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:30:51] local.INFO: Acknowledgment sent {"connection_id":161958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:31:22] local.INFO: TCP Data received {"connection_id":161958,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:31:22] local.INFO: Processing buffer {"connection_id":161958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:31:22] local.INFO: Packet analysis {"connection_id":161958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:31:22] local.INFO: Extracted packet for processing {"connection_id":161958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:31:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598258176001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787493497000,"timestamp_ms":1787493497000,"timestamp_seconds":1787493497,"priority":1,"record_length":96,"hex_timestamp":"000001a02eea38a8"} 
[2026-08-23 19:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:31: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-08-23 19:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598258176001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598258176001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:31:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:31:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598258176001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":161958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:31:22] local.INFO: GPS data processed {"connection_id":161958,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:31:22] local.INFO: Acknowledgment sent {"connection_id":161958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:31:45] local.INFO: TCP Data received {"connection_id":163354,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:31:45] local.INFO: Processing buffer {"connection_id":163354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:31:45] local.INFO: IMEI packet received {"connection_id":163354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":163354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:31:50] local.INFO: TCP Data received {"connection_id":163354,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:31:50] local.INFO: Processing buffer {"connection_id":163354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:31:50] local.INFO: IMEI packet received {"connection_id":163354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":163354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:31:51] local.INFO: TCP Data received {"connection_id":163354,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:31:51] local.INFO: Processing buffer {"connection_id":163354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:31:51] local.INFO: Packet analysis {"connection_id":163354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:31:51] local.INFO: Extracted packet for processing {"connection_id":163354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:31:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598258176001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787493497000,"timestamp_ms":1787493497000,"timestamp_seconds":1787493497,"priority":1,"record_length":96,"hex_timestamp":"000001a02eea38a8"} 
[2026-08-23 19:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598258176001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598258176001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:31:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:31:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598258176001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":163354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:31:51] local.INFO: GPS data processed {"connection_id":163354,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:31:51] local.INFO: Acknowledgment sent {"connection_id":163354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:32:24] local.INFO: TCP Data received {"connection_id":163354,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:32:24] local.INFO: Processing buffer {"connection_id":163354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:32:24] local.INFO: Packet analysis {"connection_id":163354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:32:24] local.INFO: Extracted packet for processing {"connection_id":163354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:32:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598258176001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787493497000,"timestamp_ms":1787493497000,"timestamp_seconds":1787493497,"priority":1,"record_length":96,"hex_timestamp":"000001a02eea38a8"} 
[2026-08-23 19:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:32:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:32: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-08-23 19:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598258176001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598258176001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:32:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:32:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598258176001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":163354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:32:24] local.INFO: GPS data processed {"connection_id":163354,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:32:24] local.INFO: Acknowledgment sent {"connection_id":163354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:32:34] local.INFO: TCP Data received {"connection_id":160763,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:32:34] local.INFO: Processing buffer {"connection_id":160763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:32:34] local.INFO: IMEI packet received {"connection_id":160763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":160763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:32:35] local.INFO: TCP Data received {"connection_id":160763,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eecc118012d18d540072104b0003d01572c..."} 
[2026-08-23 19:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eecc118012d18d540072104b0003d01572c..."} 
[2026-08-23 19:32:35] local.INFO: Processing buffer {"connection_id":160763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eecc118012d18d540072104b0003d01572c..."} 
[2026-08-23 19:32:35] local.INFO: Packet analysis {"connection_id":160763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eec"} 
[2026-08-23 19:32:35] local.INFO: Extracted packet for processing {"connection_id":160763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eec"} 
[2026-08-23 19:32:35] local.INFO: GPS Element Parsed {"raw_longitude":756602176,"raw_latitude":119604400,"longitude_deg":75.6602176,"latitude_deg":11.96044,"altitude":61,"angle":343,"satellites":44,"speed":24,"hex_longitude":"2d18d540","hex_latitude":"072104b0","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598377216001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15776621764018176,"note":"Value kept but may cause issues"} 
[2026-08-23 19:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777309184,"note":"Value kept but may cause issues"} 
[2026-08-23 19:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787493663000,"timestamp_ms":1787493663000,"timestamp_seconds":1787493663,"priority":1,"record_length":96,"hex_timestamp":"000001a02eecc118"} 
[2026-08-23 19:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-23 19:32:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 19:32:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 19:32:35] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":43008,"corrected_to":0} 
[2026-08-23 19:32:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-23 19:32:35] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3963885569,"note":"Value kept but may cause issues"} 
[2026-08-23 19:32:35] local.WARNING: Large IO value detected {"io_id":32,"raw_value":-6043830467983955968,"note":"Value kept but may cause issues"} 
[2026-08-23 19:32:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-23 19:32:35] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2147950777,"note":"Value kept but may cause issues"} 
[2026-08-23 19:32:35] local.WARNING: Large IO value detected {"io_id":149,"raw_value":57834754016170916,"note":"Value kept but may cause issues"} 
[2026-08-23 19:32:35] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-159876493562150905,"note":"Value kept but may cause issues"} 
[2026-08-23 19:32:35] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,103,83,24,241,157,16,12,160,165,45,246,59,43,10,66,126,192,225,57,44,111,1,240,127,227,46,32,4,113,205,31,29,48,128,42,239,52,2,56,7,50,38,149,235],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":246,"original":43008,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-23 19:32:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395878458859192320,"timestamp_seconds":4395878458859192.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 19:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598377216001,"66":13439,"103":206,"83":41984,"24":24,"16":15776621764018176,"45":1789829038777309184},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 19:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598377216001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:32:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 19:32:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15776621764018176,"km_value":15776621764018.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777309184,"description":"Unknown IO ID 45"} 
[2026-08-23 19:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598377216001,"power":13439,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1789829038777309184}} 
[2026-08-23 19:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":160763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:32:35] local.INFO: GPS data processed {"connection_id":160763,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:32:35] local.INFO: Acknowledgment sent {"connection_id":160763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:32:45] local.INFO: TCP Data received {"connection_id":161959,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:32:45] local.INFO: Processing buffer {"connection_id":161959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:32:45] local.INFO: IMEI packet received {"connection_id":161959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":161959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:32:50] local.INFO: TCP Data received {"connection_id":161959,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:32:50] local.INFO: Processing buffer {"connection_id":161959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:32:50] local.INFO: IMEI packet received {"connection_id":161959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":161959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:32:51] local.INFO: TCP Data received {"connection_id":161959,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:32:51] local.INFO: Processing buffer {"connection_id":161959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:32:51] local.INFO: Packet analysis {"connection_id":161959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:32:51] local.INFO: Extracted packet for processing {"connection_id":161959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:32:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598258176001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787493497000,"timestamp_ms":1787493497000,"timestamp_seconds":1787493497,"priority":1,"record_length":96,"hex_timestamp":"000001a02eea38a8"} 
[2026-08-23 19:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598258176001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598258176001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:32:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:32:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598258176001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":161959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:32:51] local.INFO: GPS data processed {"connection_id":161959,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:32:51] local.INFO: Acknowledgment sent {"connection_id":161959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:33:06] local.INFO: TCP Data received {"connection_id":160763,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eedb730012d18600007218360004c012429..."} 
[2026-08-23 19:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eedb730012d18600007218360004c012429..."} 
[2026-08-23 19:33:06] local.INFO: Processing buffer {"connection_id":160763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eedb730012d18600007218360004c012429..."} 
[2026-08-23 19:33:06] local.INFO: Packet analysis {"connection_id":160763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eed"} 
[2026-08-23 19:33:06] local.INFO: Extracted packet for processing {"connection_id":160763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eed"} 
[2026-08-23 19:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756572160,"raw_latitude":119636832,"longitude_deg":75.657216,"latitude_deg":11.9636832,"altitude":76,"angle":292,"satellites":41,"speed":36,"hex_longitude":"2d186000","hex_latitude":"07218360","is_valid_coordinates":true} 
[2026-08-23 19:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598393344001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15779074190344192,"note":"Value kept but may cause issues"} 
[2026-08-23 19:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758444578882557952,"note":"Value kept but may cause issues"} 
[2026-08-23 19:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787493726000,"timestamp_ms":1787493726000,"timestamp_seconds":1787493726,"priority":1,"record_length":96,"hex_timestamp":"000001a02eedb730"} 
[2026-08-23 19:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-23 19:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598393344001,"66":12863,"105":206,"83":41984,"24":36,"16":15779074190344192,"45":1758444578882557952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 19:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598393344001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:33:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 19:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15779074190344192,"km_value":15779074190344.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758444578882557952,"description":"Unknown IO ID 45"} 
[2026-08-23 19:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598393344001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1758444578882557952}} 
[2026-08-23 19:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":160763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:33:06] local.INFO: GPS data processed {"connection_id":160763,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:33:06] local.INFO: Acknowledgment sent {"connection_id":160763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:33:23] local.INFO: TCP Data received {"connection_id":161959,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:33:23] local.INFO: Processing buffer {"connection_id":161959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:33:23] local.INFO: Packet analysis {"connection_id":161959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:33:23] local.INFO: Extracted packet for processing {"connection_id":161959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:33:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598258176001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787493497000,"timestamp_ms":1787493497000,"timestamp_seconds":1787493497,"priority":1,"record_length":96,"hex_timestamp":"000001a02eea38a8"} 
[2026-08-23 19:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598258176001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598258176001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:33:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:33:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598258176001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":161959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:33:23] local.INFO: GPS data processed {"connection_id":161959,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:33:23] local.INFO: Acknowledgment sent {"connection_id":161959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:33:28] local.INFO: TCP Data received {"connection_id":163355,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:33:28] local.INFO: Processing buffer {"connection_id":163355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:33:28] local.INFO: IMEI packet received {"connection_id":163355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":163355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:33:34] local.INFO: TCP Data received {"connection_id":163355,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:33:34] local.INFO: Processing buffer {"connection_id":163355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:33:34] local.INFO: IMEI packet received {"connection_id":163355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":163355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:33:35] local.INFO: TCP Data received {"connection_id":163355,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eede228012d184000072191b8004e012128..."} 
[2026-08-23 19:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eede228012d184000072191b8004e012128..."} 
[2026-08-23 19:33:35] local.INFO: Processing buffer {"connection_id":163355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eede228012d184000072191b8004e012128..."} 
[2026-08-23 19:33:35] local.INFO: Packet analysis {"connection_id":163355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eed"} 
[2026-08-23 19:33:35] local.INFO: Extracted packet for processing {"connection_id":163355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eed"} 
[2026-08-23 19:33:35] local.INFO: GPS Element Parsed {"raw_longitude":756563968,"raw_latitude":119640504,"longitude_deg":75.6563968,"latitude_deg":11.9640504,"altitude":78,"angle":289,"satellites":40,"speed":27,"hex_longitude":"2d184000","hex_latitude":"072191b8","is_valid_coordinates":true} 
[2026-08-23 19:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598393856001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15779503687073792,"note":"Value kept but may cause issues"} 
[2026-08-23 19:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756403885301522432,"note":"Value kept but may cause issues"} 
[2026-08-23 19:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787493737000,"timestamp_ms":1787493737000,"timestamp_seconds":1787493737,"priority":1,"record_length":96,"hex_timestamp":"000001a02eede228"} 
[2026-08-23 19:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-23 19:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598393856001,"66":12798,"105":206,"83":41984,"24":27,"16":15779503687073792,"45":1756403885301522432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 19:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598393856001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:33:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 19:33:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15779503687073792,"km_value":15779503687073.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756403885301522432,"description":"Unknown IO ID 45"} 
[2026-08-23 19:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598393856001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1756403885301522432}} 
[2026-08-23 19:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":163355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:33:35] local.INFO: GPS data processed {"connection_id":163355,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:33:35] local.INFO: Acknowledgment sent {"connection_id":163355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:33:45] local.INFO: TCP Data received {"connection_id":161004,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:33:45] local.INFO: Processing buffer {"connection_id":161004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:33:45] local.INFO: IMEI packet received {"connection_id":161004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":161004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:33:50] local.INFO: TCP Data received {"connection_id":161004,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:33:50] local.INFO: Processing buffer {"connection_id":161004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:33:50] local.INFO: IMEI packet received {"connection_id":161004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":161004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:33:51] local.INFO: TCP Data received {"connection_id":161004,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:33:51] local.INFO: Processing buffer {"connection_id":161004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eea38a8012d34c58006aa40600007011422..."} 
[2026-08-23 19:33:51] local.INFO: Packet analysis {"connection_id":161004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:33:51] local.INFO: Extracted packet for processing {"connection_id":161004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eea"} 
[2026-08-23 19:33:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598258176001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787493497000,"timestamp_ms":1787493497000,"timestamp_seconds":1787493497,"priority":1,"record_length":96,"hex_timestamp":"000001a02eea38a8"} 
[2026-08-23 19:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598258176001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598258176001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:33:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:33:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598258176001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":161004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:33:51] local.INFO: GPS data processed {"connection_id":161004,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:33:51] local.INFO: Acknowledgment sent {"connection_id":161004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:34:06] local.INFO: TCP Data received {"connection_id":163355,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eedfd80012d18308007219878004d012c28..."} 
[2026-08-23 19:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eedfd80012d18308007219878004d012c28..."} 
[2026-08-23 19:34:06] local.INFO: Processing buffer {"connection_id":163355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eedfd80012d18308007219878004d012c28..."} 
[2026-08-23 19:34:06] local.INFO: Packet analysis {"connection_id":163355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eed"} 
[2026-08-23 19:34:06] local.INFO: Extracted packet for processing {"connection_id":163355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eed"} 
[2026-08-23 19:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756560000,"raw_latitude":119642232,"longitude_deg":75.656,"latitude_deg":11.9642232,"altitude":77,"angle":300,"satellites":40,"speed":27,"hex_longitude":"2d183080","hex_latitude":"07219878","is_valid_coordinates":true} 
[2026-08-23 19:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598396672001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15779709845504000,"note":"Value kept but may cause issues"} 
[2026-08-23 19:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747396686047721472,"note":"Value kept but may cause issues"} 
[2026-08-23 19:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787493744000,"timestamp_ms":1787493744000,"timestamp_seconds":1787493744,"priority":1,"record_length":96,"hex_timestamp":"000001a02eedfd80"} 
[2026-08-23 19:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-23 19:34: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-08-23 19:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598396672001,"66":12711,"105":206,"83":41984,"24":27,"16":15779709845504000,"45":1747396686047721472},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 19:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598396672001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:34:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 19:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15779709845504000,"km_value":15779709845504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747396686047721472,"description":"Unknown IO ID 45"} 
[2026-08-23 19:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598396672001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1747396686047721472}} 
[2026-08-23 19:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":163355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:34:06] local.INFO: GPS data processed {"connection_id":163355,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:34:06] local.INFO: Acknowledgment sent {"connection_id":163355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:34:22] local.INFO: TCP Data received {"connection_id":161004,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:34:22] local.INFO: Processing buffer {"connection_id":161004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:34:22] local.INFO: Packet analysis {"connection_id":161004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eee"} 
[2026-08-23 19:34:22] local.INFO: Extracted packet for processing {"connection_id":161004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eee"} 
[2026-08-23 19:34:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598335232001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787493798000,"timestamp_ms":1787493798000,"timestamp_seconds":1787493798,"priority":1,"record_length":96,"hex_timestamp":"000001a02eeed070"} 
[2026-08-23 19:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:34: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-08-23 19:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598335232001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598335232001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:34:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:34:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598335232001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":161004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:34:22] local.INFO: GPS data processed {"connection_id":161004,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:34:22] local.INFO: Acknowledgment sent {"connection_id":161004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:34:28] local.INFO: TCP Data received {"connection_id":160764,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:34:28] local.INFO: Processing buffer {"connection_id":160764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:34:28] local.INFO: IMEI packet received {"connection_id":160764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":160764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:34:30] local.INFO: TCP Data received {"connection_id":160764,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:34:30] local.INFO: Processing buffer {"connection_id":160764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:34:30] local.INFO: IMEI packet received {"connection_id":160764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":160764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:34:35] local.INFO: TCP Data received {"connection_id":160764,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:34:35] local.INFO: Processing buffer {"connection_id":160764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:34:35] local.INFO: IMEI packet received {"connection_id":160764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":160764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:34:36] local.INFO: TCP Data received {"connection_id":160764,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eee4f88012d18278007219e00004c012727..."} 
[2026-08-23 19:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eee4f88012d18278007219e00004c012727..."} 
[2026-08-23 19:34:36] local.INFO: Processing buffer {"connection_id":160764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eee4f88012d18278007219e00004c012727..."} 
[2026-08-23 19:34:36] local.INFO: Packet analysis {"connection_id":160764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eee"} 
[2026-08-23 19:34:36] local.INFO: Extracted packet for processing {"connection_id":160764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eee"} 
[2026-08-23 19:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119643648,"longitude_deg":75.6557696,"latitude_deg":11.9643648,"altitude":76,"angle":295,"satellites":39,"speed":0,"hex_longitude":"2d182780","hex_latitude":"07219e00","is_valid_coordinates":true} 
[2026-08-23 19:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598398464001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15779847284457472,"note":"Value kept but may cause issues"} 
[2026-08-23 19:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743033823909148672,"note":"Value kept but may cause issues"} 
[2026-08-23 19:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787493765000,"timestamp_ms":1787493765000,"timestamp_seconds":1787493765,"priority":1,"record_length":96,"hex_timestamp":"000001a02eee4f88"} 
[2026-08-23 19:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-23 19:34:36] 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-08-23 19:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598398464001,"66":12298,"105":206,"83":41984,"24":0,"16":15779847284457472,"45":1743033823909148672},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 19:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598398464001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:34:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 19:34:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15779847284457472,"km_value":15779847284457.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743033823909148672,"description":"Unknown IO ID 45"} 
[2026-08-23 19:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598398464001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1743033823909148672}} 
[2026-08-23 19:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":160764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:34:36] local.INFO: GPS data processed {"connection_id":160764,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:34:36] local.INFO: Acknowledgment sent {"connection_id":160764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:34:50] local.INFO: TCP Data received {"connection_id":161005,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:34:50] local.INFO: Processing buffer {"connection_id":161005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:34:50] local.INFO: IMEI packet received {"connection_id":161005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":161005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:35:00] local.INFO: TCP Data received {"connection_id":161005,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:35:00] local.INFO: Processing buffer {"connection_id":161005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:35:00] local.INFO: IMEI packet received {"connection_id":161005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":161005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:35:02] local.INFO: TCP Data received {"connection_id":161005,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:35:02] local.INFO: Processing buffer {"connection_id":161005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:35:02] local.INFO: Packet analysis {"connection_id":161005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eee"} 
[2026-08-23 19:35:02] local.INFO: Extracted packet for processing {"connection_id":161005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eee"} 
[2026-08-23 19:35:02] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598335232001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787493798000,"timestamp_ms":1787493798000,"timestamp_seconds":1787493798,"priority":1,"record_length":96,"hex_timestamp":"000001a02eeed070"} 
[2026-08-23 19:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598335232001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598335232001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:35:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:35:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598335232001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":161005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:35:02] local.INFO: GPS data processed {"connection_id":161005,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:35:02] local.INFO: Acknowledgment sent {"connection_id":161005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:35:07] local.INFO: TCP Data received {"connection_id":160764,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02eeea190012d18278007219e00004c012728..."} 
[2026-08-23 19:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eeea190012d18278007219e00004c012728..."} 
[2026-08-23 19:35:07] local.INFO: Processing buffer {"connection_id":160764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eeea190012d18278007219e00004c012728..."} 
[2026-08-23 19:35:07] local.INFO: Packet analysis {"connection_id":160764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eee"} 
[2026-08-23 19:35:07] local.INFO: Extracted packet for processing {"connection_id":160764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eee"} 
[2026-08-23 19:35:07] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119643648,"longitude_deg":75.6557696,"latitude_deg":11.9643648,"altitude":76,"angle":295,"satellites":40,"speed":0,"hex_longitude":"2d182780","hex_latitude":"07219e00","is_valid_coordinates":true} 
[2026-08-23 19:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598403840001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15779847284457472,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740500549119115264,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787493786000,"timestamp_ms":1787493786000,"timestamp_seconds":1787493786,"priority":1,"record_length":96,"hex_timestamp":"000001a02eeea190"} 
[2026-08-23 19:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 19:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513834459775828245,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272262623100416,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:07] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185656,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:07] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3381521657325492353,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:07] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3531948890018939086,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:07] local.WARNING: Large IO value detected {"io_id":14,"raw_value":-6989586621679009791,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:07] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3987693569,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2174222411,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-23 19:35:07] local.WARNING: Large IO value detected {"io_id":163,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2516634986,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:07] local.WARNING: Large IO value detected {"io_id":75,"raw_value":78014748624420864,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:07] local.WARNING: Large IO value detected {"io_id":42,"raw_value":9851624185528324,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:07] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,15,160,253,45,128,152,77,40,10,66,226,145,78,183,1,240,63,227,14,46,33,4,113,205,36,163,114,184,41,239,50,2,56,7,75,42],"length":534,"final_offset":664,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-23 19:35:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476701670316441600,"timestamp_seconds":5476701670316442.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 19:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598403840001,"66":13417,"105":206,"83":41984,"24":0,"16":15779847284457472,"45":1740500549119115264},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 19:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598403840001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:35:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 19:35:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15779847284457472,"km_value":15779847284457.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740500549119115264,"description":"Unknown IO ID 45"} 
[2026-08-23 19:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598403840001,"power":13417,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740500549119115264}} 
[2026-08-23 19:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":160764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:35:07] local.INFO: GPS data processed {"connection_id":160764,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:35:07] local.INFO: Acknowledgment sent {"connection_id":160764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:35:28] local.INFO: TCP Data received {"connection_id":161006,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:35:28] local.INFO: Processing buffer {"connection_id":161006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:35:28] local.INFO: IMEI packet received {"connection_id":161006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":161006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:35:32] local.INFO: TCP Data received {"connection_id":161006,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:35:32] local.INFO: Processing buffer {"connection_id":161006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:35:32] local.INFO: IMEI packet received {"connection_id":161006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":161006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:35:33] local.INFO: TCP Data received {"connection_id":161006,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:35:33] local.INFO: Processing buffer {"connection_id":161006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:35:33] local.INFO: IMEI packet received {"connection_id":161006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":161006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:35:34] local.INFO: TCP Data received {"connection_id":161006,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef014a8012d186a4007218258004d005129..."} 
[2026-08-23 19:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef014a8012d186a4007218258004d005129..."} 
[2026-08-23 19:35:34] local.INFO: Processing buffer {"connection_id":161006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef014a8012d186a4007218258004d005129..."} 
[2026-08-23 19:35:34] local.INFO: Packet analysis {"connection_id":161006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef0"} 
[2026-08-23 19:35:34] local.INFO: Extracted packet for processing {"connection_id":161006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef0"} 
[2026-08-23 19:35:34] local.INFO: GPS Element Parsed {"raw_longitude":756574784,"raw_latitude":119636568,"longitude_deg":75.6574784,"latitude_deg":11.9636568,"altitude":77,"angle":81,"satellites":41,"speed":6,"hex_longitude":"2d186a40","hex_latitude":"07218258","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598433024001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15780740637655040,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758937160091852800,"note":"Value kept but may cause issues"} 
[2026-08-23 19:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787493881000,"timestamp_ms":1787493881000,"timestamp_seconds":1787493881,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef014a8"} 
[2026-08-23 19:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598433024001,"66":12461,"105":206,"83":41984,"24":6,"16":15780740637655040,"45":1758937160091852800},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 19:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598433024001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:35:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 19:35:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15780740637655040,"km_value":15780740637655.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758937160091852800,"description":"Unknown IO ID 45"} 
[2026-08-23 19:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598433024001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1758937160091852800}} 
[2026-08-23 19:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":161006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:35:34] local.INFO: GPS data processed {"connection_id":161006,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:35:34] local.INFO: Acknowledgment sent {"connection_id":161006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:35:45] local.INFO: TCP Data received {"connection_id":163356,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:35:45] local.INFO: Processing buffer {"connection_id":163356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:35:45] local.INFO: IMEI packet received {"connection_id":163356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":163356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:35:50] local.INFO: TCP Data received {"connection_id":163356,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:35:50] local.INFO: Processing buffer {"connection_id":163356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:35:50] local.INFO: IMEI packet received {"connection_id":163356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":163356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:36:05] local.INFO: TCP Data received {"connection_id":161006,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef02c18012d186d4007218148004e00c228..."} 
[2026-08-23 19:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef02c18012d186d4007218148004e00c228..."} 
[2026-08-23 19:36:05] local.INFO: Processing buffer {"connection_id":161006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef02c18012d186d4007218148004e00c228..."} 
[2026-08-23 19:36:05] local.INFO: Packet analysis {"connection_id":161006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef0"} 
[2026-08-23 19:36:05] local.INFO: Extracted packet for processing {"connection_id":161006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef0"} 
[2026-08-23 19:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756575552,"raw_latitude":119636296,"longitude_deg":75.6575552,"latitude_deg":11.9636296,"altitude":78,"angle":194,"satellites":40,"speed":5,"hex_longitude":"2d186d40","hex_latitude":"07218148","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598433536001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15780783587328000,"note":"Value kept but may cause issues"} 
[2026-08-23 19:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759289003812739072,"note":"Value kept but may cause issues"} 
[2026-08-23 19:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787493887000,"timestamp_ms":1787493887000,"timestamp_seconds":1787493887,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef02c18"} 
[2026-08-23 19:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 19:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598433536001,"66":12385,"105":206,"83":41984,"24":5,"16":15780783587328000,"45":1759289003812739072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 19:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598433536001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:36:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 19:36:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15780783587328000,"km_value":15780783587328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759289003812739072,"description":"Unknown IO ID 45"} 
[2026-08-23 19:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598433536001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1759289003812739072}} 
[2026-08-23 19:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":161006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:36:05] local.INFO: GPS data processed {"connection_id":161006,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:36:05] local.INFO: Acknowledgment sent {"connection_id":161006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:36:06] local.INFO: TCP Data received {"connection_id":163356,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:36:06] local.INFO: Processing buffer {"connection_id":163356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:36:06] local.INFO: Packet analysis {"connection_id":163356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eee"} 
[2026-08-23 19:36:06] local.INFO: Extracted packet for processing {"connection_id":163356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eee"} 
[2026-08-23 19:36:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598335232001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787493798000,"timestamp_ms":1787493798000,"timestamp_seconds":1787493798,"priority":1,"record_length":96,"hex_timestamp":"000001a02eeed070"} 
[2026-08-23 19:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598335232001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598335232001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:36:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:36:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598335232001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":163356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:36:06] local.INFO: GPS data processed {"connection_id":163356,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:36:06] local.INFO: Acknowledgment sent {"connection_id":163356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:36:29] local.INFO: TCP Data received {"connection_id":161960,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:36:29] local.INFO: Processing buffer {"connection_id":161960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:36:29] local.INFO: IMEI packet received {"connection_id":161960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":161960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:36:34] local.INFO: TCP Data received {"connection_id":161960,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:36:34] local.INFO: Processing buffer {"connection_id":161960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:36:34] local.INFO: IMEI packet received {"connection_id":161960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":161960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:36:39] local.INFO: TCP Data received {"connection_id":161960,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:36:39] local.INFO: Processing buffer {"connection_id":161960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:36:39] local.INFO: IMEI packet received {"connection_id":161960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":161960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:36:39] local.INFO: TCP Data received {"connection_id":161960,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef03000012d186d00072180e0004e00f52a..."} 
[2026-08-23 19:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef03000012d186d00072180e0004e00f52a..."} 
[2026-08-23 19:36:39] local.INFO: Processing buffer {"connection_id":161960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef03000012d186d00072180e0004e00f52a..."} 
[2026-08-23 19:36:39] local.INFO: Packet analysis {"connection_id":161960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef0"} 
[2026-08-23 19:36:39] local.INFO: Extracted packet for processing {"connection_id":161960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef0"} 
[2026-08-23 19:36:39] local.INFO: GPS Element Parsed {"raw_longitude":756575488,"raw_latitude":119636192,"longitude_deg":75.6575488,"latitude_deg":11.9636192,"altitude":78,"angle":245,"satellites":42,"speed":5,"hex_longitude":"2d186d00","hex_latitude":"072180e0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 19:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598435072001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15780792177262592,"note":"Value kept but may cause issues"} 
[2026-08-23 19:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760133428742801408,"note":"Value kept but may cause issues"} 
[2026-08-23 19:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787493888000,"timestamp_ms":1787493888000,"timestamp_seconds":1787493888,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef03000"} 
[2026-08-23 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-08-23 19:36: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-08-23 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 19:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598435072001,"66":12232,"105":206,"83":41984,"24":5,"16":15780792177262592,"45":1760133428742801408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 19:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598435072001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:36:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 19:36:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15780792177262592,"km_value":15780792177262.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760133428742801408,"description":"Unknown IO ID 45"} 
[2026-08-23 19:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598435072001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1760133428742801408}} 
[2026-08-23 19:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":161960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:36:40] local.INFO: GPS data processed {"connection_id":161960,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:36:40] local.INFO: Acknowledgment sent {"connection_id":161960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:36:44] local.INFO: TCP Data received {"connection_id":161960,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef033e8012d186c40072180c0004e010c2a..."} 
[2026-08-23 19:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef033e8012d186c40072180c0004e010c2a..."} 
[2026-08-23 19:36:44] local.INFO: Processing buffer {"connection_id":161960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef033e8012d186c40072180c0004e010c2a..."} 
[2026-08-23 19:36:44] local.INFO: Packet analysis {"connection_id":161960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef0"} 
[2026-08-23 19:36:44] local.INFO: Extracted packet for processing {"connection_id":161960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef0"} 
[2026-08-23 19:36:44] local.INFO: GPS Element Parsed {"raw_longitude":756575296,"raw_latitude":119636160,"longitude_deg":75.6575296,"latitude_deg":11.963616,"altitude":78,"angle":268,"satellites":42,"speed":7,"hex_longitude":"2d186c40","hex_latitude":"072180c0","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598435328001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15780800767197184,"note":"Value kept but may cause issues"} 
[2026-08-23 19:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760063059998597120,"note":"Value kept but may cause issues"} 
[2026-08-23 19:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787493889000,"timestamp_ms":1787493889000,"timestamp_seconds":1787493889,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef033e8"} 
[2026-08-23 19:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:36:44] 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-08-23 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 19:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598435328001,"66":12232,"105":206,"83":41984,"24":7,"16":15780800767197184,"45":1760063059998597120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 19:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598435328001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:36:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 19:36:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15780800767197184,"km_value":15780800767197.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760063059998597120,"description":"Unknown IO ID 45"} 
[2026-08-23 19:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598435328001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1760063059998597120}} 
[2026-08-23 19:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":161960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:36:44] local.INFO: GPS data processed {"connection_id":161960,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:36:44] local.INFO: Acknowledgment sent {"connection_id":161960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:36:45] local.INFO: TCP Data received {"connection_id":160765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:36:45] local.INFO: Processing buffer {"connection_id":160765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:36:45] local.INFO: IMEI packet received {"connection_id":160765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":160765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:36:50] local.INFO: TCP Data received {"connection_id":160765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:36:50] local.INFO: Processing buffer {"connection_id":160765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:36:50] local.INFO: IMEI packet received {"connection_id":160765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":160765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:36:54] local.INFO: TCP Data received {"connection_id":160765,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:36:54] local.INFO: Processing buffer {"connection_id":160765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:36:54] local.INFO: Packet analysis {"connection_id":160765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eee"} 
[2026-08-23 19:36:54] local.INFO: Extracted packet for processing {"connection_id":160765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eee"} 
[2026-08-23 19:36:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598335232001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787493798000,"timestamp_ms":1787493798000,"timestamp_seconds":1787493798,"priority":1,"record_length":96,"hex_timestamp":"000001a02eeed070"} 
[2026-08-23 19:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598335232001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598335232001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:36:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:36:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598335232001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":160765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:36:54] local.INFO: GPS data processed {"connection_id":160765,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:36:54] local.INFO: Acknowledgment sent {"connection_id":160765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:37:29] local.INFO: TCP Data received {"connection_id":163357,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:37:29] local.INFO: Processing buffer {"connection_id":163357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:37:29] local.INFO: IMEI packet received {"connection_id":163357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":163357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:37:33] local.INFO: TCP Data received {"connection_id":163357,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:37:33] local.INFO: Processing buffer {"connection_id":163357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:37:33] local.INFO: IMEI packet received {"connection_id":163357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":163357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:37:33] local.INFO: TCP Data received {"connection_id":163357,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef17c08012d181cc00721a490004b00d528..."} 
[2026-08-23 19:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef17c08012d181cc00721a490004b00d528..."} 
[2026-08-23 19:37:33] local.INFO: Processing buffer {"connection_id":163357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef17c08012d181cc00721a490004b00d528..."} 
[2026-08-23 19:37:33] local.INFO: Packet analysis {"connection_id":163357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef1"} 
[2026-08-23 19:37:33] local.INFO: Extracted packet for processing {"connection_id":163357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef1"} 
[2026-08-23 19:37:33] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119645328,"longitude_deg":75.6554944,"latitude_deg":11.9645328,"altitude":75,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181cc0","hex_latitude":"0721a490","is_valid_coordinates":true} 
[2026-08-23 19:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598451712001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15781895983857664,"note":"Value kept but may cause issues"} 
[2026-08-23 19:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864112128,"note":"Value kept but may cause issues"} 
[2026-08-23 19:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787493973000,"timestamp_ms":1787493973000,"timestamp_seconds":1787493973,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef17c08"} 
[2026-08-23 19:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 19:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":163357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":163357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":163357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598451712001,"66":12319,"105":206,"83":41984,"24":0,"16":15781895983857664,"45":1737545061864112128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 19:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598451712001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:37:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 19:37:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15781895983857664,"km_value":15781895983857.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864112128,"description":"Unknown IO ID 45"} 
[2026-08-23 19:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598451712001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864112128}} 
[2026-08-23 19:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":163357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:37:34] local.INFO: GPS data processed {"connection_id":163357,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:37:34] local.INFO: Acknowledgment sent {"connection_id":163357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:37:34] local.INFO: TCP Data received {"connection_id":160765,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:37:34] local.INFO: Processing buffer {"connection_id":160765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:37:34] local.INFO: Packet analysis {"connection_id":160765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eee"} 
[2026-08-23 19:37:34] local.INFO: Extracted packet for processing {"connection_id":160765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eee"} 
[2026-08-23 19:37:34] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598335232001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787493798000,"timestamp_ms":1787493798000,"timestamp_seconds":1787493798,"priority":1,"record_length":96,"hex_timestamp":"000001a02eeed070"} 
[2026-08-23 19:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:37: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-08-23 19:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598335232001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598335232001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:37:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:37:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598335232001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":160765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:37:34] local.INFO: GPS data processed {"connection_id":160765,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:37:34] local.INFO: Acknowledgment sent {"connection_id":160765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:37:45] local.INFO: TCP Data received {"connection_id":161007,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:37:45] local.INFO: Processing buffer {"connection_id":161007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:37:45] local.INFO: IMEI packet received {"connection_id":161007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":161007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:37:50] local.INFO: TCP Data received {"connection_id":161007,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:37:50] local.INFO: Processing buffer {"connection_id":161007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:37:50] local.INFO: IMEI packet received {"connection_id":161007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":161007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:37:51] local.INFO: TCP Data received {"connection_id":161007,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:37:51] local.INFO: Processing buffer {"connection_id":161007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:37:51] local.INFO: Packet analysis {"connection_id":161007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eee"} 
[2026-08-23 19:37:51] local.INFO: Extracted packet for processing {"connection_id":161007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eee"} 
[2026-08-23 19:37:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598335232001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787493798000,"timestamp_ms":1787493798000,"timestamp_seconds":1787493798,"priority":1,"record_length":96,"hex_timestamp":"000001a02eeed070"} 
[2026-08-23 19:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598335232001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598335232001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:37:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598335232001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":161007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:37:51] local.INFO: GPS data processed {"connection_id":161007,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:37:51] local.INFO: Acknowledgment sent {"connection_id":161007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:38:05] local.INFO: TCP Data received {"connection_id":163357,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef1ce10012d181cc00721a490004b00d527..."} 
[2026-08-23 19:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef1ce10012d181cc00721a490004b00d527..."} 
[2026-08-23 19:38:05] local.INFO: Processing buffer {"connection_id":163357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef1ce10012d181cc00721a490004b00d527..."} 
[2026-08-23 19:38:05] local.INFO: Packet analysis {"connection_id":163357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef1"} 
[2026-08-23 19:38:05] local.INFO: Extracted packet for processing {"connection_id":163357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef1"} 
[2026-08-23 19:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119645328,"longitude_deg":75.6554944,"latitude_deg":11.9645328,"altitude":75,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d181cc0","hex_latitude":"0721a490","is_valid_coordinates":true} 
[2026-08-23 19:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598457088001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15781895983857664,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693119905792,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787493994000,"timestamp_ms":1787493994000,"timestamp_seconds":1787493994,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef1ce10"} 
[2026-08-23 19:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:38: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-08-23 19:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 19:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598457088001,"66":12298,"105":206,"83":41984,"24":0,"16":15781895983857664,"45":1737474693119905792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 19:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598457088001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:38:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 19:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15781895983857664,"km_value":15781895983857.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693119905792,"description":"Unknown IO ID 45"} 
[2026-08-23 19:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598457088001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737474693119905792}} 
[2026-08-23 19:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":163357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:38:05] local.INFO: GPS data processed {"connection_id":163357,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:38:05] local.INFO: Acknowledgment sent {"connection_id":163357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:38:22] local.INFO: TCP Data received {"connection_id":161007,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:38:22] local.INFO: Processing buffer {"connection_id":161007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:38:22] local.INFO: Packet analysis {"connection_id":161007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eee"} 
[2026-08-23 19:38:22] local.INFO: Extracted packet for processing {"connection_id":161007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eee"} 
[2026-08-23 19:38:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598335232001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787493798000,"timestamp_ms":1787493798000,"timestamp_seconds":1787493798,"priority":1,"record_length":96,"hex_timestamp":"000001a02eeed070"} 
[2026-08-23 19:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:38: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-08-23 19:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598335232001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598335232001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:38:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:38:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598335232001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":161007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:38:22] local.INFO: GPS data processed {"connection_id":161007,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:38:22] local.INFO: Acknowledgment sent {"connection_id":161007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:38:29] local.INFO: TCP Data received {"connection_id":160766,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:38:29] local.INFO: Processing buffer {"connection_id":160766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:38:29] local.INFO: IMEI packet received {"connection_id":160766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":160766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:38:34] local.INFO: TCP Data received {"connection_id":160766,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:38:34] local.INFO: Processing buffer {"connection_id":160766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:38:34] local.INFO: IMEI packet received {"connection_id":160766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":160766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:38:35] local.INFO: TCP Data received {"connection_id":160766,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef22018012d181cc00721a490004b00d528..."} 
[2026-08-23 19:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef22018012d181cc00721a490004b00d528..."} 
[2026-08-23 19:38:35] local.INFO: Processing buffer {"connection_id":160766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef22018012d181cc00721a490004b00d528..."} 
[2026-08-23 19:38:35] local.INFO: Packet analysis {"connection_id":160766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef2"} 
[2026-08-23 19:38:35] local.INFO: Extracted packet for processing {"connection_id":160766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef2"} 
[2026-08-23 19:38:35] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119645328,"longitude_deg":75.6554944,"latitude_deg":11.9645328,"altitude":75,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181cc0","hex_latitude":"0721a490","is_valid_coordinates":true} 
[2026-08-23 19:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598462464001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15781895983857664,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693119905792,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787494015000,"timestamp_ms":1787494015000,"timestamp_seconds":1787494015,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef22018"} 
[2026-08-23 19:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 19:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263176748544,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:35] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185656,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:35] local.WARNING: Large IO value detected {"io_id":17,"raw_value":9151314442816847873,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:35] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3382397830653876263,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:35] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513865589698986302,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:35] local.WARNING: Large IO value detected {"io_id":75,"raw_value":81109873302962176,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:35] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002797378306254,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:35] local.WARNING: Large IO value detected {"io_id":42,"raw_value":1970324837629956,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:35] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4045293569,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:35] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2778202187,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-23 19:38:35] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242666,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:35] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,17,160,124,45,192,164,75,40,10,66,42,165,41,38,64,1,240,233,227,46,33,4,113,205,2,22,30,136,239,47,56,7],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-23 19:38:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404553916325036032,"timestamp_seconds":5404553916325036.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 19:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598462464001,"66":12319,"105":206,"83":41984,"24":0,"16":15781895983857664,"45":1737474693119905792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 19:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598462464001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:38:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 19:38:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15781895983857664,"km_value":15781895983857.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693119905792,"description":"Unknown IO ID 45"} 
[2026-08-23 19:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598462464001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737474693119905792}} 
[2026-08-23 19:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":160766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:38:35] local.INFO: GPS data processed {"connection_id":160766,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:38:35] local.INFO: Acknowledgment sent {"connection_id":160766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:38:45] local.INFO: TCP Data received {"connection_id":161008,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:38:45] local.INFO: Processing buffer {"connection_id":161008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:38:45] local.INFO: IMEI packet received {"connection_id":161008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":161008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:38:50] local.INFO: TCP Data received {"connection_id":161008,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:38:50] local.INFO: Processing buffer {"connection_id":161008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:38:50] local.INFO: IMEI packet received {"connection_id":161008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":161008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:38:51] local.INFO: TCP Data received {"connection_id":161008,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:38:51] local.INFO: Processing buffer {"connection_id":161008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02eeed070012d34c58006aa4060000701141f..."} 
[2026-08-23 19:38:51] local.INFO: Packet analysis {"connection_id":161008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02eee"} 
[2026-08-23 19:38:51] local.INFO: Extracted packet for processing {"connection_id":161008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02eee"} 
[2026-08-23 19:38:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598335232001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787493798000,"timestamp_ms":1787493798000,"timestamp_seconds":1787493798,"priority":1,"record_length":96,"hex_timestamp":"000001a02eeed070"} 
[2026-08-23 19:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598335232001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598335232001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:38:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:38:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598335232001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":161008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:38:51] local.INFO: GPS data processed {"connection_id":161008,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:38:51] local.INFO: Acknowledgment sent {"connection_id":161008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:39:06] local.INFO: TCP Data received {"connection_id":160766,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef27220012d181cc00721a490004b00d526..."} 
[2026-08-23 19:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef27220012d181cc00721a490004b00d526..."} 
[2026-08-23 19:39:06] local.INFO: Processing buffer {"connection_id":160766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef27220012d181cc00721a490004b00d526..."} 
[2026-08-23 19:39:06] local.INFO: Packet analysis {"connection_id":160766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef2"} 
[2026-08-23 19:39:06] local.INFO: Extracted packet for processing {"connection_id":160766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef2"} 
[2026-08-23 19:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119645328,"longitude_deg":75.6554944,"latitude_deg":11.9645328,"altitude":75,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d181cc0","hex_latitude":"0721a490","is_valid_coordinates":true} 
[2026-08-23 19:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598467840001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15781895983857664,"note":"Value kept but may cause issues"} 
[2026-08-23 19:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693119905792,"note":"Value kept but may cause issues"} 
[2026-08-23 19:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787494036000,"timestamp_ms":1787494036000,"timestamp_seconds":1787494036,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef27220"} 
[2026-08-23 19:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 19:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598467840001,"66":12385,"105":206,"83":41984,"24":0,"16":15781895983857664,"45":1737474693119905792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 19:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598467840001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:39:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 19:39:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15781895983857664,"km_value":15781895983857.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693119905792,"description":"Unknown IO ID 45"} 
[2026-08-23 19:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598467840001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737474693119905792}} 
[2026-08-23 19:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":160766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:39:06] local.INFO: GPS data processed {"connection_id":160766,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:39:06] local.INFO: Acknowledgment sent {"connection_id":160766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:39:22] local.INFO: TCP Data received {"connection_id":161008,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:39:22] local.INFO: Processing buffer {"connection_id":161008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:39:22] local.INFO: Packet analysis {"connection_id":161008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef3"} 
[2026-08-23 19:39:22] local.INFO: Extracted packet for processing {"connection_id":161008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef3"} 
[2026-08-23 19:39:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598412288001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787494099000,"timestamp_ms":1787494099000,"timestamp_seconds":1787494099,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef36838"} 
[2026-08-23 19:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:39: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-08-23 19:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 19:39: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-08-23 19:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598412288001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598412288001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:39:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:39:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598412288001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":161008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:39:22] local.INFO: GPS data processed {"connection_id":161008,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:39:22] local.INFO: Acknowledgment sent {"connection_id":161008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:39:29] local.INFO: TCP Data received {"connection_id":160767,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:39:29] local.INFO: Processing buffer {"connection_id":160767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:39:29] local.INFO: IMEI packet received {"connection_id":160767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":160767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:39:34] local.INFO: TCP Data received {"connection_id":160767,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:39:34] local.INFO: Processing buffer {"connection_id":160767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:39:34] local.INFO: IMEI packet received {"connection_id":160767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":160767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:39:34] local.INFO: TCP Data received {"connection_id":160767,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef2c428012d181cc00721a490004b00d528..."} 
[2026-08-23 19:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef2c428012d181cc00721a490004b00d528..."} 
[2026-08-23 19:39:34] local.INFO: Processing buffer {"connection_id":160767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef2c428012d181cc00721a490004b00d528..."} 
[2026-08-23 19:39:34] local.INFO: Packet analysis {"connection_id":160767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef2"} 
[2026-08-23 19:39:34] local.INFO: Extracted packet for processing {"connection_id":160767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef2"} 
[2026-08-23 19:39:34] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119645328,"longitude_deg":75.6554944,"latitude_deg":11.9645328,"altitude":75,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181cc0","hex_latitude":"0721a490","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598473216001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15781895983857664,"note":"Value kept but may cause issues"} 
[2026-08-23 19:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693119905792,"note":"Value kept but may cause issues"} 
[2026-08-23 19:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787494057000,"timestamp_ms":1787494057000,"timestamp_seconds":1787494057,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef2c428"} 
[2026-08-23 19:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:39:34] 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-08-23 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598473216001,"66":12385,"105":206,"83":41984,"24":0,"16":15781895983857664,"45":1737474693119905792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 19:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598473216001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:39:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 19:39:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15781895983857664,"km_value":15781895983857.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693119905792,"description":"Unknown IO ID 45"} 
[2026-08-23 19:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598473216001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737474693119905792}} 
[2026-08-23 19:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":160767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:39:35] local.INFO: GPS data processed {"connection_id":160767,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:39:35] local.INFO: Acknowledgment sent {"connection_id":160767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:39:45] local.INFO: TCP Data received {"connection_id":163358,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:39:45] local.INFO: Processing buffer {"connection_id":163358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:39:45] local.INFO: IMEI packet received {"connection_id":163358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":163358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:39:50] local.INFO: TCP Data received {"connection_id":163358,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:39:50] local.INFO: Processing buffer {"connection_id":163358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:39:50] local.INFO: IMEI packet received {"connection_id":163358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":163358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:39:51] local.INFO: TCP Data received {"connection_id":163358,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:39:51] local.INFO: Processing buffer {"connection_id":163358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:39:51] local.INFO: Packet analysis {"connection_id":163358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef3"} 
[2026-08-23 19:39:51] local.INFO: Extracted packet for processing {"connection_id":163358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef3"} 
[2026-08-23 19:39:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598412288001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787494099000,"timestamp_ms":1787494099000,"timestamp_seconds":1787494099,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef36838"} 
[2026-08-23 19:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 19:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598412288001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598412288001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:39:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:39:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598412288001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":163358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:39:51] local.INFO: GPS data processed {"connection_id":163358,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:39:51] local.INFO: Acknowledgment sent {"connection_id":163358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:40:06] local.INFO: TCP Data received {"connection_id":160767,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef31630012d181cc00721a490004b00d528..."} 
[2026-08-23 19:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef31630012d181cc00721a490004b00d528..."} 
[2026-08-23 19:40:06] local.INFO: Processing buffer {"connection_id":160767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef31630012d181cc00721a490004b00d528..."} 
[2026-08-23 19:40:06] local.INFO: Packet analysis {"connection_id":160767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef3"} 
[2026-08-23 19:40:06] local.INFO: Extracted packet for processing {"connection_id":160767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef3"} 
[2026-08-23 19:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119645328,"longitude_deg":75.6554944,"latitude_deg":11.9645328,"altitude":75,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d181cc0","hex_latitude":"0721a490","is_valid_coordinates":true} 
[2026-08-23 19:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598478592001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15781895983857664,"note":"Value kept but may cause issues"} 
[2026-08-23 19:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693119905792,"note":"Value kept but may cause issues"} 
[2026-08-23 19:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787494078000,"timestamp_ms":1787494078000,"timestamp_seconds":1787494078,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef31630"} 
[2026-08-23 19:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 19:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598478592001,"66":12341,"105":206,"83":41984,"24":0,"16":15781895983857664,"45":1737474693119905792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-23 19:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598478592001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:40:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-23 19:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15781895983857664,"km_value":15781895983857.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693119905792,"description":"Unknown IO ID 45"} 
[2026-08-23 19:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598478592001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737474693119905792}} 
[2026-08-23 19:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":160767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:40:06] local.INFO: GPS data processed {"connection_id":160767,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:40:06] local.INFO: Acknowledgment sent {"connection_id":160767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:40:22] local.INFO: TCP Data received {"connection_id":163358,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:40:22] local.INFO: Processing buffer {"connection_id":163358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:40:22] local.INFO: Packet analysis {"connection_id":163358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef3"} 
[2026-08-23 19:40:22] local.INFO: Extracted packet for processing {"connection_id":163358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef3"} 
[2026-08-23 19:40:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598412288001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787494099000,"timestamp_ms":1787494099000,"timestamp_seconds":1787494099,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef36838"} 
[2026-08-23 19:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:40: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-08-23 19:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 19:40: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-08-23 19:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598412288001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598412288001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:40:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:40:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598412288001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":163358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:40:22] local.INFO: GPS data processed {"connection_id":163358,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:40:22] local.INFO: Acknowledgment sent {"connection_id":163358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:40:27] local.INFO: TCP Data received {"connection_id":163359,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:40:27] local.INFO: Processing buffer {"connection_id":163359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:40:27] local.INFO: IMEI packet received {"connection_id":163359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":163359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:40:28] local.INFO: TCP Data received {"connection_id":163359,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:40:28] local.INFO: Processing buffer {"connection_id":163359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:40:28] local.INFO: IMEI packet received {"connection_id":163359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":163359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:40:29] local.INFO: TCP Data received {"connection_id":163359,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:40:29] local.INFO: Processing buffer {"connection_id":163359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:40:29] local.INFO: IMEI packet received {"connection_id":163359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":163359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:40:29] local.INFO: TCP Data received {"connection_id":163359,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:40:29] local.INFO: Processing buffer {"connection_id":163359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:40:29] local.INFO: IMEI packet received {"connection_id":163359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":163359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:40:45] local.INFO: TCP Data received {"connection_id":161009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:40:45] local.INFO: Processing buffer {"connection_id":161009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:40:45] local.INFO: IMEI packet received {"connection_id":161009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":161009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:40:50] local.INFO: TCP Data received {"connection_id":161009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:40:50] local.INFO: Processing buffer {"connection_id":161009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:40:50] local.INFO: IMEI packet received {"connection_id":161009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":161009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:40:52] local.INFO: TCP Data received {"connection_id":161009,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:40:52] local.INFO: Processing buffer {"connection_id":161009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:40:52] local.INFO: Packet analysis {"connection_id":161009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef3"} 
[2026-08-23 19:40:52] local.INFO: Extracted packet for processing {"connection_id":161009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef3"} 
[2026-08-23 19:40:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598412288001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787494099000,"timestamp_ms":1787494099000,"timestamp_seconds":1787494099,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef36838"} 
[2026-08-23 19:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 19:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598412288001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598412288001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:40:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:40:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598412288001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":161009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:40:52] local.INFO: GPS data processed {"connection_id":161009,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:40:52] local.INFO: Acknowledgment sent {"connection_id":161009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:41:24] local.INFO: TCP Data received {"connection_id":161009,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:41:24] local.INFO: Processing buffer {"connection_id":161009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:41:24] local.INFO: Packet analysis {"connection_id":161009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef3"} 
[2026-08-23 19:41:24] local.INFO: Extracted packet for processing {"connection_id":161009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef3"} 
[2026-08-23 19:41:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598412288001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787494099000,"timestamp_ms":1787494099000,"timestamp_seconds":1787494099,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef36838"} 
[2026-08-23 19:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 19:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:41: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-08-23 19:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598412288001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598412288001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:41:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:41:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598412288001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":161009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:41:24] local.INFO: GPS data processed {"connection_id":161009,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:41:24] local.INFO: Acknowledgment sent {"connection_id":161009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:41:45] local.INFO: TCP Data received {"connection_id":160769,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:41:45] local.INFO: Processing buffer {"connection_id":160769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:41:45] local.INFO: IMEI packet received {"connection_id":160769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":160769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:41:50] local.INFO: TCP Data received {"connection_id":160769,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:41:50] local.INFO: Processing buffer {"connection_id":160769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:41:50] local.INFO: IMEI packet received {"connection_id":160769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":160769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:41:51] local.INFO: TCP Data received {"connection_id":160769,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:41:51] local.INFO: Processing buffer {"connection_id":160769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:41:51] local.INFO: Packet analysis {"connection_id":160769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef3"} 
[2026-08-23 19:41:51] local.INFO: Extracted packet for processing {"connection_id":160769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef3"} 
[2026-08-23 19:41:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598412288001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787494099000,"timestamp_ms":1787494099000,"timestamp_seconds":1787494099,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef36838"} 
[2026-08-23 19:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 19:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598412288001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598412288001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:41:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:41:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598412288001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":160769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:41:51] local.INFO: GPS data processed {"connection_id":160769,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:41:51] local.INFO: Acknowledgment sent {"connection_id":160769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:42:23] local.INFO: TCP Data received {"connection_id":160769,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:42:23] local.INFO: Processing buffer {"connection_id":160769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:42:23] local.INFO: Packet analysis {"connection_id":160769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef3"} 
[2026-08-23 19:42:23] local.INFO: Extracted packet for processing {"connection_id":160769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef3"} 
[2026-08-23 19:42:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598412288001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787494099000,"timestamp_ms":1787494099000,"timestamp_seconds":1787494099,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef36838"} 
[2026-08-23 19:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 19:42: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-08-23 19:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598412288001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598412288001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:42:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:42:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598412288001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":160769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:42:23] local.INFO: GPS data processed {"connection_id":160769,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:42:23] local.INFO: Acknowledgment sent {"connection_id":160769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:42:45] local.INFO: TCP Data received {"connection_id":160770,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:42:45] local.INFO: Processing buffer {"connection_id":160770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:42:45] local.INFO: IMEI packet received {"connection_id":160770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":160770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:42:50] local.INFO: TCP Data received {"connection_id":160770,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:42:50] local.INFO: Processing buffer {"connection_id":160770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:42:50] local.INFO: IMEI packet received {"connection_id":160770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":160770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:42:51] local.INFO: TCP Data received {"connection_id":160770,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:42:51] local.INFO: Processing buffer {"connection_id":160770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:42:51] local.INFO: Packet analysis {"connection_id":160770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef3"} 
[2026-08-23 19:42:51] local.INFO: Extracted packet for processing {"connection_id":160770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef3"} 
[2026-08-23 19:42:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598412288001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787494099000,"timestamp_ms":1787494099000,"timestamp_seconds":1787494099,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef36838"} 
[2026-08-23 19:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 19:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598412288001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598412288001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:42:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:42:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598412288001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":160770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:42:51] local.INFO: GPS data processed {"connection_id":160770,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:42:51] local.INFO: Acknowledgment sent {"connection_id":160770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:43:26] local.INFO: TCP Data received {"connection_id":160770,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:43:26] local.INFO: Processing buffer {"connection_id":160770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:43:26] local.INFO: Packet analysis {"connection_id":160770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef3"} 
[2026-08-23 19:43:26] local.INFO: Extracted packet for processing {"connection_id":160770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef3"} 
[2026-08-23 19:43:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598412288001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787494099000,"timestamp_ms":1787494099000,"timestamp_seconds":1787494099,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef36838"} 
[2026-08-23 19:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 19:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598412288001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598412288001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:43:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:43:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598412288001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":160770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:43:26] local.INFO: GPS data processed {"connection_id":160770,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:43:26] local.INFO: Acknowledgment sent {"connection_id":160770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:43:45] local.INFO: TCP Data received {"connection_id":161961,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:43:45] local.INFO: Processing buffer {"connection_id":161961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:43:45] local.INFO: IMEI packet received {"connection_id":161961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":161961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:43:50] local.INFO: TCP Data received {"connection_id":161961,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:43:50] local.INFO: Processing buffer {"connection_id":161961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:43:50] local.INFO: IMEI packet received {"connection_id":161961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":161961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:43:51] local.INFO: TCP Data received {"connection_id":161961,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:43:51] local.INFO: Processing buffer {"connection_id":161961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef36838012d34c58006aa40600007011422..."} 
[2026-08-23 19:43:51] local.INFO: Packet analysis {"connection_id":161961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef3"} 
[2026-08-23 19:43:51] local.INFO: Extracted packet for processing {"connection_id":161961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef3"} 
[2026-08-23 19:43:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598412288001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787494099000,"timestamp_ms":1787494099000,"timestamp_seconds":1787494099,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef36838"} 
[2026-08-23 19:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 19:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598412288001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598412288001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:43:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:43:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598412288001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":161961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:43:51] local.INFO: GPS data processed {"connection_id":161961,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:43:51] local.INFO: Acknowledgment sent {"connection_id":161961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:44:25] local.INFO: TCP Data received {"connection_id":161961,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:44:25] local.INFO: Processing buffer {"connection_id":161961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:44:25] local.INFO: Packet analysis {"connection_id":161961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef8"} 
[2026-08-23 19:44:25] local.INFO: Extracted packet for processing {"connection_id":161961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef8"} 
[2026-08-23 19:44:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598489344001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787494400000,"timestamp_ms":1787494400000,"timestamp_seconds":1787494400,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef80000"} 
[2026-08-23 19:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:44:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:44: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-08-23 19:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598489344001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598489344001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:44:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:44:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598489344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":161961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:44:25] local.INFO: GPS data processed {"connection_id":161961,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:44:25] local.INFO: Acknowledgment sent {"connection_id":161961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:44:45] local.INFO: TCP Data received {"connection_id":163361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:44:45] local.INFO: Processing buffer {"connection_id":163361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:44:45] local.INFO: IMEI packet received {"connection_id":163361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":163361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:44:50] local.INFO: TCP Data received {"connection_id":163361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:44:50] local.INFO: Processing buffer {"connection_id":163361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:44:50] local.INFO: IMEI packet received {"connection_id":163361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":163361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:44:51] local.INFO: TCP Data received {"connection_id":163361,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:44:51] local.INFO: Processing buffer {"connection_id":163361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:44:51] local.INFO: Packet analysis {"connection_id":163361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef8"} 
[2026-08-23 19:44:51] local.INFO: Extracted packet for processing {"connection_id":163361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef8"} 
[2026-08-23 19:44:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598489344001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787494400000,"timestamp_ms":1787494400000,"timestamp_seconds":1787494400,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef80000"} 
[2026-08-23 19:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598489344001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598489344001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:44:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:44:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598489344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":163361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:44:51] local.INFO: GPS data processed {"connection_id":163361,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:44:51] local.INFO: Acknowledgment sent {"connection_id":163361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:45:23] local.INFO: TCP Data received {"connection_id":163361,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:45:23] local.INFO: Processing buffer {"connection_id":163361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:45:23] local.INFO: Packet analysis {"connection_id":163361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef8"} 
[2026-08-23 19:45:23] local.INFO: Extracted packet for processing {"connection_id":163361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef8"} 
[2026-08-23 19:45:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598489344001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787494400000,"timestamp_ms":1787494400000,"timestamp_seconds":1787494400,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef80000"} 
[2026-08-23 19:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598489344001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598489344001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:45:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:45:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598489344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":163361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:45:23] local.INFO: GPS data processed {"connection_id":163361,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:45:23] local.INFO: Acknowledgment sent {"connection_id":163361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:45:34] local.INFO: TCP Data received {"connection_id":161011,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:45:34] local.INFO: Processing buffer {"connection_id":161011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:45:34] local.INFO: IMEI packet received {"connection_id":161011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":161011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:45:35] local.INFO: TCP Data received {"connection_id":161011,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef90d88012d18c4c007214d98004900a827..."} 
[2026-08-23 19:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef90d88012d18c4c007214d98004900a827..."} 
[2026-08-23 19:45:35] local.INFO: Processing buffer {"connection_id":161011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef90d88012d18c4c007214d98004900a827..."} 
[2026-08-23 19:45:35] local.INFO: Packet analysis {"connection_id":161011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef9"} 
[2026-08-23 19:45:35] local.INFO: Extracted packet for processing {"connection_id":161011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef9"} 
[2026-08-23 19:45:35] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119623064,"longitude_deg":75.6597952,"latitude_deg":11.9623064,"altitude":73,"angle":168,"satellites":39,"speed":40,"hex_longitude":"2d18c4c0","hex_latitude":"07214d98","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598583552001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15784661942796288,"note":"Value kept but may cause issues"} 
[2026-08-23 19:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784058801760309248,"note":"Value kept but may cause issues"} 
[2026-08-23 19:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787494469000,"timestamp_ms":1787494469000,"timestamp_seconds":1787494469,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef90d88"} 
[2026-08-23 19:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-23 19:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598583552001,"66":13417,"103":206,"83":41984,"24":40,"16":15784661942796288,"45":1784058801760309248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 19:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598583552001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:45:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 19:45:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15784661942796288,"km_value":15784661942796.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784058801760309248,"description":"Unknown IO ID 45"} 
[2026-08-23 19:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598583552001,"power":13417,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1784058801760309248}} 
[2026-08-23 19:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":161011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:45:35] local.INFO: GPS data processed {"connection_id":161011,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:45:35] local.INFO: Acknowledgment sent {"connection_id":161011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:45:45] local.INFO: TCP Data received {"connection_id":161012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:45:45] local.INFO: Processing buffer {"connection_id":161012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:45:45] local.INFO: IMEI packet received {"connection_id":161012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":161012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:45:50] local.INFO: TCP Data received {"connection_id":161012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:45:50] local.INFO: Processing buffer {"connection_id":161012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:45:50] local.INFO: IMEI packet received {"connection_id":161012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":161012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:45:53] local.INFO: TCP Data received {"connection_id":161012,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:45:53] local.INFO: Processing buffer {"connection_id":161012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:45:53] local.INFO: Packet analysis {"connection_id":161012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef8"} 
[2026-08-23 19:45:53] local.INFO: Extracted packet for processing {"connection_id":161012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef8"} 
[2026-08-23 19:45:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:45: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-08-23 19:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598489344001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787494400000,"timestamp_ms":1787494400000,"timestamp_seconds":1787494400,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef80000"} 
[2026-08-23 19:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:45: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:45: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-08-23 19:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:45: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-08-23 19:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598489344001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598489344001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:45:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:45:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598489344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":161012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:45:53] local.INFO: GPS data processed {"connection_id":161012,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:45:53] local.INFO: Acknowledgment sent {"connection_id":161012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:46:06] local.INFO: TCP Data received {"connection_id":161011,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef9d4c0012d1939c00720b678002e007b27..."} 
[2026-08-23 19:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef9d4c0012d1939c00720b678002e007b27..."} 
[2026-08-23 19:46:06] local.INFO: Processing buffer {"connection_id":161011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef9d4c0012d1939c00720b678002e007b27..."} 
[2026-08-23 19:46:06] local.INFO: Packet analysis {"connection_id":161011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef9"} 
[2026-08-23 19:46:06] local.INFO: Extracted packet for processing {"connection_id":161011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef9"} 
[2026-08-23 19:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756627904,"raw_latitude":119584376,"longitude_deg":75.6627904,"latitude_deg":11.9584376,"altitude":46,"angle":123,"satellites":39,"speed":39,"hex_longitude":"2d1939c0","hex_latitude":"0720b678","is_valid_coordinates":true} 
[2026-08-23 19:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598595584001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15787217448337408,"note":"Value kept but may cause issues"} 
[2026-08-23 19:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1810658187049764864,"note":"Value kept but may cause issues"} 
[2026-08-23 19:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787494520000,"timestamp_ms":1787494520000,"timestamp_seconds":1787494520,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef9d4c0"} 
[2026-08-23 19:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-23 19:46:06] 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-08-23 19:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598595584001,"66":12689,"103":206,"83":41984,"24":39,"16":15787217448337408,"45":1810658187049764864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 19:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598595584001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:46:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 19:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15787217448337408,"km_value":15787217448337.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1810658187049764864,"description":"Unknown IO ID 45"} 
[2026-08-23 19:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598595584001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1810658187049764864}} 
[2026-08-23 19:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":161011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:46:06] local.INFO: GPS data processed {"connection_id":161011,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:46:06] local.INFO: Acknowledgment sent {"connection_id":161011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:46:24] local.INFO: TCP Data received {"connection_id":161012,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:46:24] local.INFO: Processing buffer {"connection_id":161012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:46:24] local.INFO: Packet analysis {"connection_id":161012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef8"} 
[2026-08-23 19:46:24] local.INFO: Extracted packet for processing {"connection_id":161012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef8"} 
[2026-08-23 19:46:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598489344001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787494400000,"timestamp_ms":1787494400000,"timestamp_seconds":1787494400,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef80000"} 
[2026-08-23 19:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:46: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-08-23 19:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598489344001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598489344001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:46:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:46:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598489344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":161012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:46:24] local.INFO: GPS data processed {"connection_id":161012,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:46:24] local.INFO: Acknowledgment sent {"connection_id":161012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:46:29] local.INFO: TCP Data received {"connection_id":161013,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:46:29] local.INFO: Processing buffer {"connection_id":161013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:46:29] local.INFO: IMEI packet received {"connection_id":161013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":161013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:46:29] local.INFO: TCP Data received {"connection_id":161013,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:46:29] local.INFO: Processing buffer {"connection_id":161013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:46:29] local.INFO: IMEI packet received {"connection_id":161013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":161013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:46:33] local.INFO: TCP Data received {"connection_id":161013,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:46:33] local.INFO: Processing buffer {"connection_id":161013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:46:33] local.INFO: IMEI packet received {"connection_id":161013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":161013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:46:34] local.INFO: TCP Data received {"connection_id":161013,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef9e460012d1946c00720af10002c006e27..."} 
[2026-08-23 19:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef9e460012d1946c00720af10002c006e27..."} 
[2026-08-23 19:46:34] local.INFO: Processing buffer {"connection_id":161013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef9e460012d1946c00720af10002c006e27..."} 
[2026-08-23 19:46:34] local.INFO: Packet analysis {"connection_id":161013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef9"} 
[2026-08-23 19:46:34] local.INFO: Extracted packet for processing {"connection_id":161013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef9"} 
[2026-08-23 19:46:34] local.INFO: GPS Element Parsed {"raw_longitude":756631232,"raw_latitude":119582480,"longitude_deg":75.6631232,"latitude_deg":11.958248,"altitude":44,"angle":110,"satellites":39,"speed":39,"hex_longitude":"2d1946c0","hex_latitude":"0720af10","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598597120001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15787402131931136,"note":"Value kept but may cause issues"} 
[2026-08-23 19:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817695061466839040,"note":"Value kept but may cause issues"} 
[2026-08-23 19:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787494524000,"timestamp_ms":1787494524000,"timestamp_seconds":1787494524,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef9e460"} 
[2026-08-23 19:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-23 19:46: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-08-23 19: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-08-23 19:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598597120001,"66":13450,"103":206,"83":41984,"24":39,"16":15787402131931136,"45":1817695061466839040},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 19:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598597120001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:46:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 19:46:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15787402131931136,"km_value":15787402131931.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817695061466839040,"description":"Unknown IO ID 45"} 
[2026-08-23 19:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598597120001,"power":13450,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1817695061466839040}} 
[2026-08-23 19:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":161013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:46:34] local.INFO: GPS data processed {"connection_id":161013,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:46:34] local.INFO: Acknowledgment sent {"connection_id":161013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:46:45] local.INFO: TCP Data received {"connection_id":161962,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:46:45] local.INFO: Processing buffer {"connection_id":161962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:46:45] local.INFO: IMEI packet received {"connection_id":161962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":161962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:46:50] local.INFO: TCP Data received {"connection_id":161962,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:46:50] local.INFO: Processing buffer {"connection_id":161962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:46:50] local.INFO: IMEI packet received {"connection_id":161962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":161962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:46:51] local.INFO: TCP Data received {"connection_id":161962,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:46:51] local.INFO: Processing buffer {"connection_id":161962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:46:51] local.INFO: Packet analysis {"connection_id":161962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef8"} 
[2026-08-23 19:46:51] local.INFO: Extracted packet for processing {"connection_id":161962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef8"} 
[2026-08-23 19:46:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598489344001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787494400000,"timestamp_ms":1787494400000,"timestamp_seconds":1787494400,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef80000"} 
[2026-08-23 19:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598489344001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598489344001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:46:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:46:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598489344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":161962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:46:51] local.INFO: GPS data processed {"connection_id":161962,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:46:51] local.INFO: Acknowledgment sent {"connection_id":161962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:47:05] local.INFO: TCP Data received {"connection_id":161013,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02efa9428012d19ae0007208e08002e00b124..."} 
[2026-08-23 19:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efa9428012d19ae0007208e08002e00b124..."} 
[2026-08-23 19:47:05] local.INFO: Processing buffer {"connection_id":161013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efa9428012d19ae0007208e08002e00b124..."} 
[2026-08-23 19:47:05] local.INFO: Packet analysis {"connection_id":161013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efa"} 
[2026-08-23 19:47:05] local.INFO: Extracted packet for processing {"connection_id":161013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efa"} 
[2026-08-23 19:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119574024,"longitude_deg":75.6657664,"latitude_deg":11.9574024,"altitude":46,"angle":177,"satellites":36,"speed":29,"hex_longitude":"2d19ae00","hex_latitude":"07208e08","is_valid_coordinates":true} 
[2026-08-23 19:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598609408001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15789248967868416,"note":"Value kept but may cause issues"} 
[2026-08-23 19:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506995200,"note":"Value kept but may cause issues"} 
[2026-08-23 19:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787494569000,"timestamp_ms":1787494569000,"timestamp_seconds":1787494569,"priority":1,"record_length":96,"hex_timestamp":"000001a02efa9428"} 
[2026-08-23 19:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-23 19:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598609408001,"66":13515,"103":206,"83":41984,"24":29,"16":15789248967868416,"45":1850416527506995200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 19:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598609408001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:47:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 19:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15789248967868416,"km_value":15789248967868.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506995200,"description":"Unknown IO ID 45"} 
[2026-08-23 19:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598609408001,"power":13515,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1850416527506995200}} 
[2026-08-23 19:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":161013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:47:05] local.INFO: GPS data processed {"connection_id":161013,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:47:05] local.INFO: Acknowledgment sent {"connection_id":161013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:47:23] local.INFO: TCP Data received {"connection_id":161962,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:47:23] local.INFO: Processing buffer {"connection_id":161962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:47:23] local.INFO: Packet analysis {"connection_id":161962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef8"} 
[2026-08-23 19:47:23] local.INFO: Extracted packet for processing {"connection_id":161962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef8"} 
[2026-08-23 19:47:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598489344001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787494400000,"timestamp_ms":1787494400000,"timestamp_seconds":1787494400,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef80000"} 
[2026-08-23 19:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598489344001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598489344001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:47:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:47:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598489344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":161962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:47:23] local.INFO: GPS data processed {"connection_id":161962,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:47:23] local.INFO: Acknowledgment sent {"connection_id":161962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:47:28] local.INFO: TCP Data received {"connection_id":160772,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:47:28] local.INFO: Processing buffer {"connection_id":160772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:47:28] local.INFO: IMEI packet received {"connection_id":160772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":160772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:47:33] local.INFO: TCP Data received {"connection_id":160772,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:47:33] local.INFO: Processing buffer {"connection_id":160772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:47:33] local.INFO: IMEI packet received {"connection_id":160772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":160772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:47:35] local.INFO: TCP Data received {"connection_id":160772,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02efaa7b0012d19b040072080c0002c00a629..."} 
[2026-08-23 19:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efaa7b0012d19b040072080c0002c00a629..."} 
[2026-08-23 19:47:35] local.INFO: Processing buffer {"connection_id":160772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efaa7b0012d19b040072080c0002c00a629..."} 
[2026-08-23 19:47:35] local.INFO: Packet analysis {"connection_id":160772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efa"} 
[2026-08-23 19:47:35] local.INFO: Extracted packet for processing {"connection_id":160772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efa"} 
[2026-08-23 19:47:35] local.INFO: GPS Element Parsed {"raw_longitude":756658240,"raw_latitude":119570624,"longitude_deg":75.665824,"latitude_deg":11.9570624,"altitude":44,"angle":166,"satellites":41,"speed":25,"hex_longitude":"2d19b040","hex_latitude":"072080c0","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598609664001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15789416471592960,"note":"Value kept but may cause issues"} 
[2026-08-23 19:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506802688,"note":"Value kept but may cause issues"} 
[2026-08-23 19:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787494574000,"timestamp_ms":1787494574000,"timestamp_seconds":1787494574,"priority":1,"record_length":96,"hex_timestamp":"000001a02efaa7b0"} 
[2026-08-23 19:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-23 19:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598609664001,"66":13537,"103":206,"83":41984,"24":25,"16":15789416471592960,"45":1850416527506802688},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 19:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598609664001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:47:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 19:47:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15789416471592960,"km_value":15789416471592.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506802688,"description":"Unknown IO ID 45"} 
[2026-08-23 19:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598609664001,"power":13537,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1850416527506802688}} 
[2026-08-23 19:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":160772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:47:35] local.INFO: GPS data processed {"connection_id":160772,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:47:35] local.INFO: Acknowledgment sent {"connection_id":160772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:47:50] local.INFO: TCP Data received {"connection_id":161014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:47:50] local.INFO: Processing buffer {"connection_id":161014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:47:50] local.INFO: IMEI packet received {"connection_id":161014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":161014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:47:55] local.INFO: TCP Data received {"connection_id":161014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:47:55] local.INFO: Processing buffer {"connection_id":161014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:47:55] local.INFO: IMEI packet received {"connection_id":161014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":161014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:47:56] local.INFO: TCP Data received {"connection_id":161014,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:47:56] local.INFO: Processing buffer {"connection_id":161014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:47:56] local.INFO: Packet analysis {"connection_id":161014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef8"} 
[2026-08-23 19:47:56] local.INFO: Extracted packet for processing {"connection_id":161014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef8"} 
[2026-08-23 19:47:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598489344001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787494400000,"timestamp_ms":1787494400000,"timestamp_seconds":1787494400,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef80000"} 
[2026-08-23 19:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598489344001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598489344001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:47:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:47:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598489344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":161014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:47:56] local.INFO: GPS data processed {"connection_id":161014,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:47:56] local.INFO: Acknowledgment sent {"connection_id":161014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:48:01] local.INFO: TCP Data received {"connection_id":161014,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:48:01] local.INFO: Processing buffer {"connection_id":161014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:48:01] local.INFO: Packet analysis {"connection_id":161014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef8"} 
[2026-08-23 19:48:01] local.INFO: Extracted packet for processing {"connection_id":161014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef8"} 
[2026-08-23 19:48:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598489344001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787494400000,"timestamp_ms":1787494400000,"timestamp_seconds":1787494400,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef80000"} 
[2026-08-23 19:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598489344001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598489344001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:48:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:48:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598489344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":161014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:48:01] local.INFO: GPS data processed {"connection_id":161014,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:48:01] local.INFO: Acknowledgment sent {"connection_id":161014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:48:06] local.INFO: TCP Data received {"connection_id":160772,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02efb95f8012d1a1c40071ff180002c006a27..."} 
[2026-08-23 19:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efb95f8012d1a1c40071ff180002c006a27..."} 
[2026-08-23 19:48:06] local.INFO: Processing buffer {"connection_id":160772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efb95f8012d1a1c40071ff180002c006a27..."} 
[2026-08-23 19:48:06] local.INFO: Packet analysis {"connection_id":160772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efb"} 
[2026-08-23 19:48:06] local.INFO: Extracted packet for processing {"connection_id":160772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efb"} 
[2026-08-23 19:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756685888,"raw_latitude":119533952,"longitude_deg":75.6685888,"latitude_deg":11.9533952,"altitude":44,"angle":106,"satellites":39,"speed":40,"hex_longitude":"2d1a1c40","hex_latitude":"071ff180","is_valid_coordinates":true} 
[2026-08-23 19:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598623744001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15791894667722752,"note":"Value kept but may cause issues"} 
[2026-08-23 19:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871456782006403072,"note":"Value kept but may cause issues"} 
[2026-08-23 19:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787494635000,"timestamp_ms":1787494635000,"timestamp_seconds":1787494635,"priority":1,"record_length":96,"hex_timestamp":"000001a02efb95f8"} 
[2026-08-23 19:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-23 19:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598623744001,"66":12722,"103":206,"83":41984,"24":40,"16":15791894667722752,"45":1871456782006403072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 19:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598623744001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:48:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 19:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15791894667722752,"km_value":15791894667722.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871456782006403072,"description":"Unknown IO ID 45"} 
[2026-08-23 19:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598623744001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1871456782006403072}} 
[2026-08-23 19:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":160772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:48:06] local.INFO: GPS data processed {"connection_id":160772,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:48:06] local.INFO: Acknowledgment sent {"connection_id":160772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:48:28] local.INFO: TCP Data received {"connection_id":161963,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:48:28] local.INFO: Processing buffer {"connection_id":161963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:48:28] local.INFO: IMEI packet received {"connection_id":161963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":161963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:48:34] local.INFO: TCP Data received {"connection_id":161963,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:48:34] local.INFO: Processing buffer {"connection_id":161963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:48:34] local.INFO: IMEI packet received {"connection_id":161963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":161963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:48:34] local.INFO: TCP Data received {"connection_id":161963,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02efbb920012d1a4200071fe8d8002f006627..."} 
[2026-08-23 19:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efbb920012d1a4200071fe8d8002f006627..."} 
[2026-08-23 19:48:34] local.INFO: Processing buffer {"connection_id":161963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efbb920012d1a4200071fe8d8002f006627..."} 
[2026-08-23 19:48:34] local.INFO: Packet analysis {"connection_id":161963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efb"} 
[2026-08-23 19:48:34] local.INFO: Extracted packet for processing {"connection_id":161963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efb"} 
[2026-08-23 19:48:34] local.INFO: GPS Element Parsed {"raw_longitude":756695552,"raw_latitude":119531736,"longitude_deg":75.6695552,"latitude_deg":11.9531736,"altitude":47,"angle":102,"satellites":39,"speed":42,"hex_longitude":"2d1a4200","hex_latitude":"071fe8d8","is_valid_coordinates":true} 
[2026-08-23 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-08-23 19:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598626560001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15792367114125312,"note":"Value kept but may cause issues"} 
[2026-08-23 19:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881449143678894080,"note":"Value kept but may cause issues"} 
[2026-08-23 19:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787494644000,"timestamp_ms":1787494644000,"timestamp_seconds":1787494644,"priority":1,"record_length":96,"hex_timestamp":"000001a02efbb920"} 
[2026-08-23 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-08-23 19:48:34] 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-08-23 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 19:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 19:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598626560001,"66":12819,"101":206,"83":41984,"24":42,"16":15792367114125312,"45":1881449143678894080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 19:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598626560001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:48:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 19:48:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15792367114125312,"km_value":15792367114125.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881449143678894080,"description":"Unknown IO ID 45"} 
[2026-08-23 19:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598626560001,"power":12819,"unknown_101":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1881449143678894080}} 
[2026-08-23 19:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":161963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:48:35] local.INFO: GPS data processed {"connection_id":161963,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:48:35] local.INFO: Acknowledgment sent {"connection_id":161963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:48:45] local.INFO: TCP Data received {"connection_id":160773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:48:46] local.INFO: Processing buffer {"connection_id":160773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:48:46] local.INFO: IMEI packet received {"connection_id":160773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":160773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:48:50] local.INFO: TCP Data received {"connection_id":160773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:48:50] local.INFO: Processing buffer {"connection_id":160773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:48:50] local.INFO: IMEI packet received {"connection_id":160773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":160773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:48:52] local.INFO: TCP Data received {"connection_id":160773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:48:52] local.INFO: Processing buffer {"connection_id":160773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:48:52] local.INFO: Packet analysis {"connection_id":160773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef8"} 
[2026-08-23 19:48:52] local.INFO: Extracted packet for processing {"connection_id":160773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef8"} 
[2026-08-23 19:48:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598489344001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787494400000,"timestamp_ms":1787494400000,"timestamp_seconds":1787494400,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef80000"} 
[2026-08-23 19:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:48: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-08-23 19: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-08-23 19:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598489344001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598489344001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:48:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:48:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598489344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":160773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:48:52] local.INFO: GPS data processed {"connection_id":160773,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:48:52] local.INFO: Acknowledgment sent {"connection_id":160773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:48:56] local.INFO: TCP Data received {"connection_id":160773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:48:56] local.INFO: Processing buffer {"connection_id":160773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02ef80000012d34c58006aa40600007011423..."} 
[2026-08-23 19:48:56] local.INFO: Packet analysis {"connection_id":160773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02ef8"} 
[2026-08-23 19:48:56] local.INFO: Extracted packet for processing {"connection_id":160773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02ef8"} 
[2026-08-23 19:48:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":7,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598489344001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787494400000,"timestamp_ms":1787494400000,"timestamp_seconds":1787494400,"priority":1,"record_length":96,"hex_timestamp":"000001a02ef80000"} 
[2026-08-23 19:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 19:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598489344001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598489344001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:48:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:48:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598489344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":160773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:48:56] local.INFO: GPS data processed {"connection_id":160773,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:48:56] local.INFO: Acknowledgment sent {"connection_id":160773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:49:06] local.INFO: TCP Data received {"connection_id":161963,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02efbc4d8012d1a4dc0071fe5000030007427..."} 
[2026-08-23 19:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efbc4d8012d1a4dc0071fe5000030007427..."} 
[2026-08-23 19:49:06] local.INFO: Processing buffer {"connection_id":161963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efbc4d8012d1a4dc0071fe5000030007427..."} 
[2026-08-23 19:49:06] local.INFO: Packet analysis {"connection_id":161963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efb"} 
[2026-08-23 19:49:06] local.INFO: Extracted packet for processing {"connection_id":161963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efb"} 
[2026-08-23 19:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756698560,"raw_latitude":119530752,"longitude_deg":75.669856,"latitude_deg":11.9530752,"altitude":48,"angle":116,"satellites":39,"speed":41,"hex_longitude":"2d1a4dc0","hex_latitude":"071fe500","is_valid_coordinates":true} 
[2026-08-23 19:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598628864001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15792513143013376,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1892074824049154048,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787494647000,"timestamp_ms":1787494647000,"timestamp_seconds":1787494647,"priority":1,"record_length":96,"hex_timestamp":"000001a02efbc4d8"} 
[2026-08-23 19:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-23 19:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:06] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503840577486848,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:06] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-346662817046604480,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4234149930,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:06] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675904093319069720,"corrected_to":0} 
[2026-08-23 19:49:06] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:06] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847672,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:06] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2310531327482429224,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:06] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-6917303110633206189,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:06] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755523995238641,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:06] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195033856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:06] local.WARNING: Large IO value detected {"io_id":152,"raw_value":84752349134266389,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:06] local.WARNING: Large IO value detected {"io_id":112,"raw_value":11822546693399552,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:06] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,101,83,24,241,157,16,27,160,149,45,64,44,39,10,66,103,26,107,192,252,42,95,1,240,29,227,46,31,4,113,205,23,87,236,224,38,239,49,2,56,7,52,164,248,69,152,112],"length":625,"final_offset":755,"validated_count":48,"validation_warnings":[{"io_id":205,"original":8675904093319069720,"validated":0}]} 
[2026-08-23 19:49:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386819237475123200,"timestamp_seconds":3386819237475123.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 19:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598628864001,"66":12743,"101":206,"83":41984,"24":41,"16":15792513143013376,"45":1892074824049154048},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 19:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598628864001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:49:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 19:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15792513143013376,"km_value":15792513143013.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1892074824049154048,"description":"Unknown IO ID 45"} 
[2026-08-23 19:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598628864001,"power":12743,"unknown_101":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1892074824049154048}} 
[2026-08-23 19:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":161963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:49:06] local.INFO: GPS data processed {"connection_id":161963,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:49:06] local.INFO: Acknowledgment sent {"connection_id":161963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:49:27] local.INFO: TCP Data received {"connection_id":160773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:49:27] local.INFO: Processing buffer {"connection_id":160773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:49:27] local.INFO: Packet analysis {"connection_id":160773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efc"} 
[2026-08-23 19:49:27] local.INFO: Extracted packet for processing {"connection_id":160773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efc"} 
[2026-08-23 19:49:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":18,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598566400001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787494701000,"timestamp_ms":1787494701000,"timestamp_seconds":1787494701,"priority":1,"record_length":96,"hex_timestamp":"000001a02efc97c8"} 
[2026-08-23 19:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:49: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-08-23 19:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:49: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-08-23 19:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598566400001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598566400001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:49:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:49:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598566400001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":160773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:49:27] local.INFO: GPS data processed {"connection_id":160773,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:49:27] local.INFO: Acknowledgment sent {"connection_id":160773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:49:31] local.INFO: TCP Data received {"connection_id":160774,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:49:31] local.INFO: Processing buffer {"connection_id":160774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:49:31] local.INFO: IMEI packet received {"connection_id":160774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":160774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:49:32] local.INFO: TCP Data received {"connection_id":160774,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:49:32] local.INFO: Processing buffer {"connection_id":160774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:49:32] local.INFO: IMEI packet received {"connection_id":160774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":160774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:49:33] local.INFO: TCP Data received {"connection_id":160774,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:49:33] local.INFO: Processing buffer {"connection_id":160774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:49:33] local.INFO: IMEI packet received {"connection_id":160774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":160774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:49:34] local.INFO: TCP Data received {"connection_id":160774,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:49:34] local.INFO: Processing buffer {"connection_id":160774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:49:34] local.INFO: IMEI packet received {"connection_id":160774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":160774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:49:35] local.INFO: TCP Data received {"connection_id":160774,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02efd14c8012d1a6600071fdb000036011e28..."} 
[2026-08-23 19:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efd14c8012d1a6600071fdb000036011e28..."} 
[2026-08-23 19:49:35] local.INFO: Processing buffer {"connection_id":160774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efd14c8012d1a6600071fdb000036011e28..."} 
[2026-08-23 19:49:35] local.INFO: Packet analysis {"connection_id":160774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efd"} 
[2026-08-23 19:49:35] local.INFO: Extracted packet for processing {"connection_id":160774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efd"} 
[2026-08-23 19:49:35] local.INFO: GPS Element Parsed {"raw_longitude":756704768,"raw_latitude":119528192,"longitude_deg":75.6704768,"latitude_deg":11.9528192,"altitude":54,"angle":286,"satellites":40,"speed":30,"hex_longitude":"2d1a6600","hex_latitude":"071fdb00","is_valid_coordinates":true} 
[2026-08-23 19:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598651136001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15794209655095296,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903756035581577216,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787494733000,"timestamp_ms":1787494733000,"timestamp_seconds":1787494733,"priority":1,"record_length":96,"hex_timestamp":"000001a02efd14c8"} 
[2026-08-23 19:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-23 19:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598651136001,"66":13493,"101":206,"83":41984,"24":30,"16":15794209655095296,"45":1903756035581577216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 19:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598651136001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:49:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 19:49:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15794209655095296,"km_value":15794209655095.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903756035581577216,"description":"Unknown IO ID 45"} 
[2026-08-23 19:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598651136001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1903756035581577216}} 
[2026-08-23 19:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":160774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:49:35] local.INFO: GPS data processed {"connection_id":160774,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:49:35] local.INFO: Acknowledgment sent {"connection_id":160774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:49:37] local.INFO: TCP Data received {"connection_id":160774,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02efd18b0012d1a6300071fdb480036011128..."} 
[2026-08-23 19:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efd18b0012d1a6300071fdb480036011128..."} 
[2026-08-23 19:49:37] local.INFO: Processing buffer {"connection_id":160774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efd18b0012d1a6300071fdb480036011128..."} 
[2026-08-23 19:49:37] local.INFO: Packet analysis {"connection_id":160774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efd"} 
[2026-08-23 19:49:37] local.INFO: Extracted packet for processing {"connection_id":160774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efd"} 
[2026-08-23 19:49:37] local.INFO: GPS Element Parsed {"raw_longitude":756704000,"raw_latitude":119528264,"longitude_deg":75.6704,"latitude_deg":11.9528264,"altitude":54,"angle":273,"satellites":40,"speed":30,"hex_longitude":"2d1a6300","hex_latitude":"071fdb48","is_valid_coordinates":true} 
[2026-08-23 19:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598651648001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15794244014833664,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902207923209830400,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787494734000,"timestamp_ms":1787494734000,"timestamp_seconds":1787494734,"priority":1,"record_length":96,"hex_timestamp":"000001a02efd18b0"} 
[2026-08-23 19:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-23 19:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598651648001,"66":13439,"101":206,"83":41984,"24":30,"16":15794244014833664,"45":1902207923209830400},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 19:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598651648001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:49:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 19:49:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15794244014833664,"km_value":15794244014833.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902207923209830400,"description":"Unknown IO ID 45"} 
[2026-08-23 19:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598651648001,"power":13439,"unknown_101":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1902207923209830400}} 
[2026-08-23 19:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":160774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:49:37] local.INFO: GPS data processed {"connection_id":160774,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:49:37] local.INFO: Acknowledgment sent {"connection_id":160774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:49:45] local.INFO: TCP Data received {"connection_id":160775,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:49:45] local.INFO: Processing buffer {"connection_id":160775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:49:45] local.INFO: IMEI packet received {"connection_id":160775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":160775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:49:50] local.INFO: TCP Data received {"connection_id":160775,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:49:50] local.INFO: Processing buffer {"connection_id":160775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:49:50] local.INFO: IMEI packet received {"connection_id":160775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":160775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:49:51] local.INFO: TCP Data received {"connection_id":160775,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:49:51] local.INFO: Processing buffer {"connection_id":160775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:49:51] local.INFO: Packet analysis {"connection_id":160775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efc"} 
[2026-08-23 19:49:51] local.INFO: Extracted packet for processing {"connection_id":160775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efc"} 
[2026-08-23 19:49:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":18,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598566400001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787494701000,"timestamp_ms":1787494701000,"timestamp_seconds":1787494701,"priority":1,"record_length":96,"hex_timestamp":"000001a02efc97c8"} 
[2026-08-23 19:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:49:51] 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-08-23 19:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598566400001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598566400001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:49:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:49:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598566400001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":160775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:49:51] local.INFO: GPS data processed {"connection_id":160775,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:49:51] local.INFO: Acknowledgment sent {"connection_id":160775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:50:07] local.INFO: TCP Data received {"connection_id":160774,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02efd2468012d1a5940071fdc800035012029..."} 
[2026-08-23 19:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efd2468012d1a5940071fdc800035012029..."} 
[2026-08-23 19:50:07] local.INFO: Processing buffer {"connection_id":160774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efd2468012d1a5940071fdc800035012029..."} 
[2026-08-23 19:50:07] local.INFO: Packet analysis {"connection_id":160774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efd"} 
[2026-08-23 19:50:07] local.INFO: Extracted packet for processing {"connection_id":160774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efd"} 
[2026-08-23 19:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756701504,"raw_latitude":119528576,"longitude_deg":75.6701504,"latitude_deg":11.9528576,"altitude":53,"angle":288,"satellites":41,"speed":33,"hex_longitude":"2d1a5940","hex_latitude":"071fdc80","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598651904001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15794364273917952,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901363498279716864,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787494737000,"timestamp_ms":1787494737000,"timestamp_seconds":1787494737,"priority":1,"record_length":96,"hex_timestamp":"000001a02efd2468"} 
[2026-08-23 19:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:50: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-08-23 19: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-23 19:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598651904001,"66":13493,"101":206,"83":41984,"24":33,"16":15794364273917952,"45":1901363498279716864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 19:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598651904001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:50:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 19:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15794364273917952,"km_value":15794364273917.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901363498279716864,"description":"Unknown IO ID 45"} 
[2026-08-23 19:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598651904001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1901363498279716864}} 
[2026-08-23 19:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":160774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:50:08] local.INFO: GPS data processed {"connection_id":160774,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:50:08] local.INFO: Acknowledgment sent {"connection_id":160774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:50:23] local.INFO: TCP Data received {"connection_id":160775,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:50:23] local.INFO: Processing buffer {"connection_id":160775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:50:23] local.INFO: Packet analysis {"connection_id":160775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efc"} 
[2026-08-23 19:50:23] local.INFO: Extracted packet for processing {"connection_id":160775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efc"} 
[2026-08-23 19:50:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":18,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598566400001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787494701000,"timestamp_ms":1787494701000,"timestamp_seconds":1787494701,"priority":1,"record_length":96,"hex_timestamp":"000001a02efc97c8"} 
[2026-08-23 19:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:50:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:50:23] 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-08-23 19:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598566400001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598566400001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:50:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:50:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598566400001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":160775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:50:23] local.INFO: GPS data processed {"connection_id":160775,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:50:23] local.INFO: Acknowledgment sent {"connection_id":160775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:50:24] local.INFO: TCP Data received {"connection_id":161964,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:50:24] local.INFO: Processing buffer {"connection_id":161964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:50:24] local.INFO: IMEI packet received {"connection_id":161964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":161964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:50:27] local.INFO: TCP Data received {"connection_id":161964,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:50:27] local.INFO: Processing buffer {"connection_id":161964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:50:27] local.INFO: IMEI packet received {"connection_id":161964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":161964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:50:28] local.INFO: TCP Data received {"connection_id":161964,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:50:28] local.INFO: Processing buffer {"connection_id":161964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:50:28] local.INFO: IMEI packet received {"connection_id":161964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":161964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:50:34] local.INFO: TCP Data received {"connection_id":161964,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:50:34] local.INFO: Processing buffer {"connection_id":161964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:50:34] local.INFO: IMEI packet received {"connection_id":161964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":161964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:50:35] local.INFO: TCP Data received {"connection_id":161964,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02efdc878012d19df40072009d8002f013327..."} 
[2026-08-23 19:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efdc878012d19df40072009d8002f013327..."} 
[2026-08-23 19:50:35] local.INFO: Processing buffer {"connection_id":161964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efdc878012d19df40072009d8002f013327..."} 
[2026-08-23 19:50:35] local.INFO: Packet analysis {"connection_id":161964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efd"} 
[2026-08-23 19:50:35] local.INFO: Extracted packet for processing {"connection_id":161964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efd"} 
[2026-08-23 19:50:35] local.INFO: GPS Element Parsed {"raw_longitude":756670272,"raw_latitude":119540184,"longitude_deg":75.6670272,"latitude_deg":11.9540184,"altitude":47,"angle":307,"satellites":39,"speed":28,"hex_longitude":"2d19df40","hex_latitude":"072009d8","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598661888001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15796000656457728,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866671707402452992,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787494779000,"timestamp_ms":1787494779000,"timestamp_seconds":1787494779,"priority":1,"record_length":96,"hex_timestamp":"000001a02efdc878"} 
[2026-08-23 19:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-23 19:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2594073385533178880,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:35] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-189432654274615552,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:35] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4222091311,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-23 19:50:35] local.WARNING: Large IO value detected {"io_id":149,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:35] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3221692411,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:35] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300890809681124904,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:35] local.WARNING: Large IO value detected {"io_id":52,"raw_value":9151540359791169107,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:35] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755545470075121,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:35] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,101,83,24,241,157,16,30,160,173,45,64,253,46,39,10,66,169,251,47,165,192,1,240,41,227,31,4,113,205,27,149,248,232,239,53,2,56,7,48,34,52,164,225],"length":535,"final_offset":665,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-23 19:50:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3315002440777269248,"timestamp_seconds":3315002440777269.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 19:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598661888001,"66":12841,"101":206,"83":41984,"24":28,"16":15796000656457728,"45":1866671707402452992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 19:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598661888001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:50:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 19:50:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15796000656457728,"km_value":15796000656457.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866671707402452992,"description":"Unknown IO ID 45"} 
[2026-08-23 19:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598661888001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1866671707402452992}} 
[2026-08-23 19:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":161964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:50:36] local.INFO: GPS data processed {"connection_id":161964,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:50:36] local.INFO: Acknowledgment sent {"connection_id":161964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:50:45] local.INFO: TCP Data received {"connection_id":160776,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:50:45] local.INFO: Processing buffer {"connection_id":160776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:50:45] local.INFO: IMEI packet received {"connection_id":160776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":160776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:50:50] local.INFO: TCP Data received {"connection_id":160776,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:50:50] local.INFO: Processing buffer {"connection_id":160776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:50:50] local.INFO: IMEI packet received {"connection_id":160776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":160776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:50:51] local.INFO: TCP Data received {"connection_id":160776,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:50:51] local.INFO: Processing buffer {"connection_id":160776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:50:51] local.INFO: Packet analysis {"connection_id":160776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efc"} 
[2026-08-23 19:50:51] local.INFO: Extracted packet for processing {"connection_id":160776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efc"} 
[2026-08-23 19:50:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":18,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598566400001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787494701000,"timestamp_ms":1787494701000,"timestamp_seconds":1787494701,"priority":1,"record_length":96,"hex_timestamp":"000001a02efc97c8"} 
[2026-08-23 19:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:50:51] 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-08-23 19:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598566400001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598566400001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:50:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:50:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598566400001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":160776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:50:51] local.INFO: GPS data processed {"connection_id":160776,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:50:51] local.INFO: Acknowledgment sent {"connection_id":160776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:51:06] local.INFO: TCP Data received {"connection_id":161964,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02efdd048012d19da4007200cc0002f012728..."} 
[2026-08-23 19:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efdd048012d19da4007200cc0002f012728..."} 
[2026-08-23 19:51:06] local.INFO: Processing buffer {"connection_id":161964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efdd048012d19da4007200cc0002f012728..."} 
[2026-08-23 19:51:06] local.INFO: Packet analysis {"connection_id":161964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efd"} 
[2026-08-23 19:51:06] local.INFO: Extracted packet for processing {"connection_id":161964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efd"} 
[2026-08-23 19:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756668992,"raw_latitude":119540928,"longitude_deg":75.6668992,"latitude_deg":11.9540928,"altitude":47,"angle":295,"satellites":40,"speed":28,"hex_longitude":"2d19da40","hex_latitude":"07200cc0","is_valid_coordinates":true} 
[2026-08-23 19:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598663424001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15796073670901760,"note":"Value kept but may cause issues"} 
[2026-08-23 19:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864279170101139456,"note":"Value kept but may cause issues"} 
[2026-08-23 19:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787494781000,"timestamp_ms":1787494781000,"timestamp_seconds":1787494781,"priority":1,"record_length":96,"hex_timestamp":"000001a02efdd048"} 
[2026-08-23 19:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-23 19:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598663424001,"66":13015,"101":206,"83":41984,"24":28,"16":15796073670901760,"45":1864279170101139456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 19:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598663424001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:51:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 19:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15796073670901760,"km_value":15796073670901.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864279170101139456,"description":"Unknown IO ID 45"} 
[2026-08-23 19:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598663424001,"power":13015,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1864279170101139456}} 
[2026-08-23 19:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":161964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:51:06] local.INFO: GPS data processed {"connection_id":161964,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:51:06] local.INFO: Acknowledgment sent {"connection_id":161964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:51:22] local.INFO: TCP Data received {"connection_id":160776,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:51:22] local.INFO: Processing buffer {"connection_id":160776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:51:22] local.INFO: Packet analysis {"connection_id":160776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efc"} 
[2026-08-23 19:51:22] local.INFO: Extracted packet for processing {"connection_id":160776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efc"} 
[2026-08-23 19:51:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":18,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598566400001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787494701000,"timestamp_ms":1787494701000,"timestamp_seconds":1787494701,"priority":1,"record_length":96,"hex_timestamp":"000001a02efc97c8"} 
[2026-08-23 19:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:51: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-08-23 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:51: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-08-23 19:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598566400001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598566400001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:51:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:51:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598566400001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":160776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:51:22] local.INFO: GPS data processed {"connection_id":160776,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:51:22] local.INFO: Acknowledgment sent {"connection_id":160776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:51:29] local.INFO: TCP Data received {"connection_id":161015,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:51:29] local.INFO: Processing buffer {"connection_id":161015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:51:29] local.INFO: IMEI packet received {"connection_id":161015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":161015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:51:34] local.INFO: TCP Data received {"connection_id":161015,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:51:34] local.INFO: Processing buffer {"connection_id":161015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:51:34] local.INFO: IMEI packet received {"connection_id":161015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":161015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:51:34] local.INFO: TCP Data received {"connection_id":161015,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02efddfe8012d19d200072011f8002f013928..."} 
[2026-08-23 19:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efddfe8012d19d200072011f8002f013928..."} 
[2026-08-23 19:51:34] local.INFO: Processing buffer {"connection_id":161015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efddfe8012d19d200072011f8002f013928..."} 
[2026-08-23 19:51:34] local.INFO: Packet analysis {"connection_id":161015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efd"} 
[2026-08-23 19:51:34] local.INFO: Extracted packet for processing {"connection_id":161015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efd"} 
[2026-08-23 19:51:34] local.INFO: GPS Element Parsed {"raw_longitude":756666880,"raw_latitude":119542264,"longitude_deg":75.666688,"latitude_deg":11.9542264,"altitude":47,"angle":313,"satellites":40,"speed":17,"hex_longitude":"2d19d200","hex_latitude":"072011f8","is_valid_coordinates":true} 
[2026-08-23 19:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598663936001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15796193929986048,"note":"Value kept but may cause issues"} 
[2026-08-23 19:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862871795217776640,"note":"Value kept but may cause issues"} 
[2026-08-23 19:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787494785000,"timestamp_ms":1787494785000,"timestamp_seconds":1787494785,"priority":1,"record_length":96,"hex_timestamp":"000001a02efddfe8"} 
[2026-08-23 19:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:51:34] 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-08-23 19:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-23 19:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598663936001,"66":12711,"101":206,"83":41984,"24":17,"16":15796193929986048,"45":1862871795217776640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 19:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598663936001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:51:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 19:51:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15796193929986048,"km_value":15796193929986.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862871795217776640,"description":"Unknown IO ID 45"} 
[2026-08-23 19:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598663936001,"power":12711,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1862871795217776640}} 
[2026-08-23 19:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":161015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:51:35] local.INFO: GPS data processed {"connection_id":161015,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:51:35] local.INFO: Acknowledgment sent {"connection_id":161015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:51:45] local.INFO: TCP Data received {"connection_id":161016,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:51:45] local.INFO: Processing buffer {"connection_id":161016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:51:45] local.INFO: IMEI packet received {"connection_id":161016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":161016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:51:50] local.INFO: TCP Data received {"connection_id":161016,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:51:50] local.INFO: Processing buffer {"connection_id":161016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:51:50] local.INFO: IMEI packet received {"connection_id":161016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":161016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:51:51] local.INFO: TCP Data received {"connection_id":161016,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:51:52] local.INFO: Processing buffer {"connection_id":161016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:51:52] local.INFO: Packet analysis {"connection_id":161016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efc"} 
[2026-08-23 19:51:52] local.INFO: Extracted packet for processing {"connection_id":161016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efc"} 
[2026-08-23 19:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":18,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:51: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-08-23 19:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598566400001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787494701000,"timestamp_ms":1787494701000,"timestamp_seconds":1787494701,"priority":1,"record_length":96,"hex_timestamp":"000001a02efc97c8"} 
[2026-08-23 19:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:51: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-08-23 19:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:51:52] 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-08-23 19:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598566400001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598566400001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:51:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598566400001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":161016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:51:52] local.INFO: GPS data processed {"connection_id":161016,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:51:52] local.INFO: Acknowledgment sent {"connection_id":161016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:52:06] local.INFO: TCP Data received {"connection_id":161015,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02efde7b8012d19d0c0072013e0002f014f28..."} 
[2026-08-23 19:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efde7b8012d19d0c0072013e0002f014f28..."} 
[2026-08-23 19:52:06] local.INFO: Processing buffer {"connection_id":161015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efde7b8012d19d0c0072013e0002f014f28..."} 
[2026-08-23 19:52:06] local.INFO: Packet analysis {"connection_id":161015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efd"} 
[2026-08-23 19:52:06] local.INFO: Extracted packet for processing {"connection_id":161015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efd"} 
[2026-08-23 19:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756666560,"raw_latitude":119542752,"longitude_deg":75.666656,"latitude_deg":11.9542752,"altitude":47,"angle":335,"satellites":40,"speed":7,"hex_longitude":"2d19d0c0","hex_latitude":"072013e0","is_valid_coordinates":true} 
[2026-08-23 19:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598664960001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15796219699789824,"note":"Value kept but may cause issues"} 
[2026-08-23 19:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860549626660255744,"note":"Value kept but may cause issues"} 
[2026-08-23 19:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787494787000,"timestamp_ms":1787494787000,"timestamp_seconds":1787494787,"priority":1,"record_length":96,"hex_timestamp":"000001a02efde7b8"} 
[2026-08-23 19:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-23 19:52:06] 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-08-23 19:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598664960001,"66":13135,"101":206,"83":41984,"24":7,"16":15796219699789824,"45":1860549626660255744},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 19:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598664960001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:52:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 19:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15796219699789824,"km_value":15796219699789.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860549626660255744,"description":"Unknown IO ID 45"} 
[2026-08-23 19:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598664960001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1860549626660255744}} 
[2026-08-23 19:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":161015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:52:06] local.INFO: GPS data processed {"connection_id":161015,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:52:06] local.INFO: Acknowledgment sent {"connection_id":161015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:52:25] local.INFO: TCP Data received {"connection_id":161016,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:52:25] local.INFO: Processing buffer {"connection_id":161016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:52:25] local.INFO: Packet analysis {"connection_id":161016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efc"} 
[2026-08-23 19:52:25] local.INFO: Extracted packet for processing {"connection_id":161016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efc"} 
[2026-08-23 19:52:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":18,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598566400001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787494701000,"timestamp_ms":1787494701000,"timestamp_seconds":1787494701,"priority":1,"record_length":96,"hex_timestamp":"000001a02efc97c8"} 
[2026-08-23 19:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598566400001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598566400001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:52:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:52:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598566400001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":161016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:52:25] local.INFO: GPS data processed {"connection_id":161016,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:52:25] local.INFO: Acknowledgment sent {"connection_id":161016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:52:29] local.INFO: TCP Data received {"connection_id":160777,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:52:29] local.INFO: Processing buffer {"connection_id":160777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:52:29] local.INFO: IMEI packet received {"connection_id":160777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":160777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:52:34] local.INFO: TCP Data received {"connection_id":160777,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:52:34] local.INFO: Processing buffer {"connection_id":160777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:52:34] local.INFO: IMEI packet received {"connection_id":160777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":160777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:52:34] local.INFO: TCP Data received {"connection_id":160777,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02efdef88012d19d040072014d0002f013428..."} 
[2026-08-23 19:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efdef88012d19d040072014d0002f013428..."} 
[2026-08-23 19:52:34] local.INFO: Processing buffer {"connection_id":160777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efdef88012d19d040072014d0002f013428..."} 
[2026-08-23 19:52:34] local.INFO: Packet analysis {"connection_id":160777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efd"} 
[2026-08-23 19:52:34] local.INFO: Extracted packet for processing {"connection_id":160777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efd"} 
[2026-08-23 19:52:34] local.INFO: GPS Element Parsed {"raw_longitude":756666432,"raw_latitude":119542992,"longitude_deg":75.6666432,"latitude_deg":11.9542992,"altitude":47,"angle":308,"satellites":40,"speed":5,"hex_longitude":"2d19d040","hex_latitude":"072014d0","is_valid_coordinates":true} 
[2026-08-23 19:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598665472001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15796232584691712,"note":"Value kept but may cause issues"} 
[2026-08-23 19:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860197782939492352,"note":"Value kept but may cause issues"} 
[2026-08-23 19:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787494789000,"timestamp_ms":1787494789000,"timestamp_seconds":1787494789,"priority":1,"record_length":96,"hex_timestamp":"000001a02efdef88"} 
[2026-08-23 19:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:52:34] 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-08-23 19:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-23 19:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598665472001,"66":13493,"101":206,"83":41984,"24":5,"16":15796232584691712,"45":1860197782939492352},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 19:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598665472001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:52:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 19:52:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15796232584691712,"km_value":15796232584691.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860197782939492352,"description":"Unknown IO ID 45"} 
[2026-08-23 19:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598665472001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1860197782939492352}} 
[2026-08-23 19:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":160777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:52:35] local.INFO: GPS data processed {"connection_id":160777,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:52:35] local.INFO: Acknowledgment sent {"connection_id":160777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:52:45] local.INFO: TCP Data received {"connection_id":160778,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:52:45] local.INFO: Processing buffer {"connection_id":160778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:52:45] local.INFO: IMEI packet received {"connection_id":160778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":160778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:52:50] local.INFO: TCP Data received {"connection_id":160778,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:52:50] local.INFO: Processing buffer {"connection_id":160778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:52:50] local.INFO: IMEI packet received {"connection_id":160778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":160778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:52:51] local.INFO: TCP Data received {"connection_id":160778,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:52:51] local.INFO: Processing buffer {"connection_id":160778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:52:51] local.INFO: Packet analysis {"connection_id":160778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efc"} 
[2026-08-23 19:52:51] local.INFO: Extracted packet for processing {"connection_id":160778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efc"} 
[2026-08-23 19:52:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":18,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598566400001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787494701000,"timestamp_ms":1787494701000,"timestamp_seconds":1787494701,"priority":1,"record_length":96,"hex_timestamp":"000001a02efc97c8"} 
[2026-08-23 19:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:52:51] 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-08-23 19:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598566400001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598566400001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:52:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:52:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598566400001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":160778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:52:51] local.INFO: GPS data processed {"connection_id":160778,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:52:51] local.INFO: Acknowledgment sent {"connection_id":160778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:53:06] local.INFO: TCP Data received {"connection_id":160777,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02efe1a80012d19cdc0072017b0002f014027..."} 
[2026-08-23 19:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efe1a80012d19cdc0072017b0002f014027..."} 
[2026-08-23 19:53:06] local.INFO: Processing buffer {"connection_id":160777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efe1a80012d19cdc0072017b0002f014027..."} 
[2026-08-23 19:53:06] local.INFO: Packet analysis {"connection_id":160777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efe"} 
[2026-08-23 19:53:06] local.INFO: Extracted packet for processing {"connection_id":160777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efe"} 
[2026-08-23 19:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119543728,"longitude_deg":75.6665792,"latitude_deg":11.9543728,"altitude":47,"angle":320,"satellites":39,"speed":6,"hex_longitude":"2d19cdc0","hex_latitude":"072017b0","is_valid_coordinates":true} 
[2026-08-23 19:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598665984001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15796279829331968,"note":"Value kept but may cause issues"} 
[2026-08-23 19:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860057045451198464,"note":"Value kept but may cause issues"} 
[2026-08-23 19:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787494800000,"timestamp_ms":1787494800000,"timestamp_seconds":1787494800,"priority":1,"record_length":96,"hex_timestamp":"000001a02efe1a80"} 
[2026-08-23 19:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-23 19:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598665984001,"66":13439,"101":206,"83":41984,"24":6,"16":15796279829331968,"45":1860057045451198464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 19:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598665984001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:53:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 19:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15796279829331968,"km_value":15796279829331.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860057045451198464,"description":"Unknown IO ID 45"} 
[2026-08-23 19:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598665984001,"power":13439,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1860057045451198464}} 
[2026-08-23 19:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":160777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:53:06] local.INFO: GPS data processed {"connection_id":160777,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:53:06] local.INFO: Acknowledgment sent {"connection_id":160777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:53:23] local.INFO: TCP Data received {"connection_id":160778,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:53:23] local.INFO: Processing buffer {"connection_id":160778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:53:23] local.INFO: Packet analysis {"connection_id":160778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efc"} 
[2026-08-23 19:53:23] local.INFO: Extracted packet for processing {"connection_id":160778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efc"} 
[2026-08-23 19:53:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":18,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598566400001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787494701000,"timestamp_ms":1787494701000,"timestamp_seconds":1787494701,"priority":1,"record_length":96,"hex_timestamp":"000001a02efc97c8"} 
[2026-08-23 19:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:53:23] 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-08-23 19:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598566400001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598566400001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:53:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:53:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598566400001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":160778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:53:23] local.INFO: GPS data processed {"connection_id":160778,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:53:23] local.INFO: Acknowledgment sent {"connection_id":160778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:53:29] local.INFO: TCP Data received {"connection_id":161017,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:53:29] local.INFO: Processing buffer {"connection_id":161017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:53:29] local.INFO: IMEI packet received {"connection_id":161017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":161017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:53:34] local.INFO: TCP Data received {"connection_id":161017,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:53:34] local.INFO: Processing buffer {"connection_id":161017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:53:34] local.INFO: IMEI packet received {"connection_id":161017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":161017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:53:34] local.INFO: TCP Data received {"connection_id":161017,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02efe35d8012d19ca8007201bd8002f014c27..."} 
[2026-08-23 19:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efe35d8012d19ca8007201bd8002f014c27..."} 
[2026-08-23 19:53:34] local.INFO: Processing buffer {"connection_id":161017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efe35d8012d19ca8007201bd8002f014c27..."} 
[2026-08-23 19:53:34] local.INFO: Packet analysis {"connection_id":161017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efe"} 
[2026-08-23 19:53:34] local.INFO: Extracted packet for processing {"connection_id":161017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efe"} 
[2026-08-23 19:53:34] local.INFO: GPS Element Parsed {"raw_longitude":756664960,"raw_latitude":119544792,"longitude_deg":75.666496,"latitude_deg":11.9544792,"altitude":47,"angle":332,"satellites":39,"speed":6,"hex_longitude":"2d19ca80","hex_latitude":"07201bd8","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598668800001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15796348548808704,"note":"Value kept but may cause issues"} 
[2026-08-23 19:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009610240,"note":"Value kept but may cause issues"} 
[2026-08-23 19:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787494807000,"timestamp_ms":1787494807000,"timestamp_seconds":1787494807,"priority":1,"record_length":96,"hex_timestamp":"000001a02efe35d8"} 
[2026-08-23 19:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:53:34] 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-08-23 19: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-23 19:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598668800001,"66":13917,"101":206,"83":41984,"24":6,"16":15796348548808704,"45":1859353358009610240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 19:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598668800001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:53:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 19:53:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15796348548808704,"km_value":15796348548808.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009610240,"description":"Unknown IO ID 45"} 
[2026-08-23 19:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598668800001,"power":13917,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1859353358009610240}} 
[2026-08-23 19:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":161017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:53:35] local.INFO: GPS data processed {"connection_id":161017,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:53:35] local.INFO: Acknowledgment sent {"connection_id":161017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:53:50] local.INFO: TCP Data received {"connection_id":161965,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:53:50] local.INFO: Processing buffer {"connection_id":161965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:53:50] local.INFO: IMEI packet received {"connection_id":161965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":161965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:53:56] local.INFO: TCP Data received {"connection_id":161965,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:53:56] local.INFO: Processing buffer {"connection_id":161965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:53:56] local.INFO: IMEI packet received {"connection_id":161965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":161965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:53:57] local.INFO: TCP Data received {"connection_id":161965,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:53:57] local.INFO: Processing buffer {"connection_id":161965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:53:57] local.INFO: Packet analysis {"connection_id":161965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efc"} 
[2026-08-23 19:53:57] local.INFO: Extracted packet for processing {"connection_id":161965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efc"} 
[2026-08-23 19:53:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":18,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598566400001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787494701000,"timestamp_ms":1787494701000,"timestamp_seconds":1787494701,"priority":1,"record_length":96,"hex_timestamp":"000001a02efc97c8"} 
[2026-08-23 19:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:53: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-08-23 19:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598566400001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598566400001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:53:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:53:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598566400001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":161965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:53:57] local.INFO: GPS data processed {"connection_id":161965,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:53:57] local.INFO: Acknowledgment sent {"connection_id":161965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:54:01] local.INFO: TCP Data received {"connection_id":161965,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:54:01] local.INFO: Processing buffer {"connection_id":161965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efc97c8012d34c58006aa40600012011424..."} 
[2026-08-23 19:54:01] local.INFO: Packet analysis {"connection_id":161965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efc"} 
[2026-08-23 19:54:01] local.INFO: Extracted packet for processing {"connection_id":161965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efc"} 
[2026-08-23 19:54:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":18,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598566400001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787494701000,"timestamp_ms":1787494701000,"timestamp_seconds":1787494701,"priority":1,"record_length":96,"hex_timestamp":"000001a02efc97c8"} 
[2026-08-23 19:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598566400001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598566400001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:54:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:54:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598566400001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":161965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:54:01] local.INFO: GPS data processed {"connection_id":161965,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:54:01] local.INFO: Acknowledgment sent {"connection_id":161965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:54:06] local.INFO: TCP Data received {"connection_id":161017,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02efe87e0012d19ca0007201c780031014c28..."} 
[2026-08-23 19:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02efe87e0012d19ca0007201c780031014c28..."} 
[2026-08-23 19:54:06] local.INFO: Processing buffer {"connection_id":161017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02efe87e0012d19ca0007201c780031014c28..."} 
[2026-08-23 19:54:06] local.INFO: Packet analysis {"connection_id":161017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02efe"} 
[2026-08-23 19:54:06] local.INFO: Extracted packet for processing {"connection_id":161017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02efe"} 
[2026-08-23 19:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756664832,"raw_latitude":119544952,"longitude_deg":75.6664832,"latitude_deg":11.9544952,"altitude":49,"angle":332,"satellites":40,"speed":1,"hex_longitude":"2d19ca00","hex_latitude":"07201c78","is_valid_coordinates":true} 
[2026-08-23 19:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598670592001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15796361433710592,"note":"Value kept but may cause issues"} 
[2026-08-23 19:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858438564335572992,"note":"Value kept but may cause issues"} 
[2026-08-23 19:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787494828000,"timestamp_ms":1787494828000,"timestamp_seconds":1787494828,"priority":1,"record_length":96,"hex_timestamp":"000001a02efe87e0"} 
[2026-08-23 19:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-23 19:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598670592001,"66":12950,"101":206,"83":41984,"24":1,"16":15796361433710592,"45":1858438564335572992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 19:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598670592001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:54:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 19:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15796361433710592,"km_value":15796361433710.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858438564335572992,"description":"Unknown IO ID 45"} 
[2026-08-23 19:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598670592001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1858438564335572992}} 
[2026-08-23 19:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":161017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:54:06] local.INFO: GPS data processed {"connection_id":161017,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:54:06] local.INFO: Acknowledgment sent {"connection_id":161017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:54:28] local.INFO: TCP Data received {"connection_id":163362,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:54:28] local.INFO: Processing buffer {"connection_id":163362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:54:28] local.INFO: IMEI packet received {"connection_id":163362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":163362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:54:29] local.INFO: TCP Data received {"connection_id":163362,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:54:29] local.INFO: Processing buffer {"connection_id":163362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:54:29] local.INFO: IMEI packet received {"connection_id":163362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":163362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:54:31] local.INFO: TCP Data received {"connection_id":163362,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:54:31] local.INFO: Processing buffer {"connection_id":163362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:54:31] local.INFO: IMEI packet received {"connection_id":163362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":163362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:54:34] local.INFO: TCP Data received {"connection_id":163362,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:54:34] local.INFO: Processing buffer {"connection_id":163362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:54:34] local.INFO: IMEI packet received {"connection_id":163362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":163362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:54:35] local.INFO: TCP Data received {"connection_id":163362,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f013760012d19cd0007201ae00030009925..."} 
[2026-08-23 19:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f013760012d19cd0007201ae00030009925..."} 
[2026-08-23 19:54:35] local.INFO: Processing buffer {"connection_id":163362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f013760012d19cd0007201ae00030009925..."} 
[2026-08-23 19:54:35] local.INFO: Packet analysis {"connection_id":163362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f01"} 
[2026-08-23 19:54:35] local.INFO: Extracted packet for processing {"connection_id":163362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f01"} 
[2026-08-23 19:54:35] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544544,"longitude_deg":75.66656,"latitude_deg":11.9544544,"altitude":48,"angle":153,"satellites":37,"speed":0,"hex_longitude":"2d19cd00","hex_latitude":"07201ae0","is_valid_coordinates":true} 
[2026-08-23 19:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598715648001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15796430153187328,"note":"Value kept but may cause issues"} 
[2026-08-23 19:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777286144,"note":"Value kept but may cause issues"} 
[2026-08-23 19:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787495004000,"timestamp_ms":1787495004000,"timestamp_seconds":1787495004,"priority":1,"record_length":96,"hex_timestamp":"000001a02f013760"} 
[2026-08-23 19:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 19:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598715648001,"66":12461,"101":206,"83":41984,"24":0,"16":15796430153187328,"45":1859142251777286144},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 19:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598715648001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:54:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 19:54:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15796430153187328,"km_value":15796430153187.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777286144,"description":"Unknown IO ID 45"} 
[2026-08-23 19:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598715648001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859142251777286144}} 
[2026-08-23 19:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":163362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:54:35] local.INFO: GPS data processed {"connection_id":163362,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:54:35] local.INFO: Acknowledgment sent {"connection_id":163362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:54:45] local.INFO: TCP Data received {"connection_id":160779,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:54:45] local.INFO: Processing buffer {"connection_id":160779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:54:45] local.INFO: IMEI packet received {"connection_id":160779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":160779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:54:50] local.INFO: TCP Data received {"connection_id":160779,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:54:50] local.INFO: Processing buffer {"connection_id":160779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:54:50] local.INFO: IMEI packet received {"connection_id":160779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":160779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:54:51] local.INFO: TCP Data received {"connection_id":160779,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:54:51] local.INFO: Processing buffer {"connection_id":160779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:54:51] local.INFO: Packet analysis {"connection_id":160779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f01"} 
[2026-08-23 19:54:51] local.INFO: Extracted packet for processing {"connection_id":160779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f01"} 
[2026-08-23 19:54:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":18,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598643456001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787495002000,"timestamp_ms":1787495002000,"timestamp_seconds":1787495002,"priority":1,"record_length":96,"hex_timestamp":"000001a02f012f90"} 
[2026-08-23 19:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 19:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:54:51] 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-08-23 19:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598643456001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598643456001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:54:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:54:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598643456001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":160779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:54:51] local.INFO: GPS data processed {"connection_id":160779,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:54:51] local.INFO: Acknowledgment sent {"connection_id":160779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:55:06] local.INFO: TCP Data received {"connection_id":163362,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f021220012d19ca00071ff300003400eb28..."} 
[2026-08-23 19:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f021220012d19ca00071ff300003400eb28..."} 
[2026-08-23 19:55:06] local.INFO: Processing buffer {"connection_id":163362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f021220012d19ca00071ff300003400eb28..."} 
[2026-08-23 19:55:06] local.INFO: Packet analysis {"connection_id":163362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f02"} 
[2026-08-23 19:55:06] local.INFO: Extracted packet for processing {"connection_id":163362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f02"} 
[2026-08-23 19:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756664832,"raw_latitude":119534336,"longitude_deg":75.6664832,"latitude_deg":11.9534336,"altitude":52,"angle":235,"satellites":40,"speed":16,"hex_longitude":"2d19ca00","hex_latitude":"071ff300","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598735104001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15797147412725760,"note":"Value kept but may cause issues"} 
[2026-08-23 19:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933077137408,"note":"Value kept but may cause issues"} 
[2026-08-23 19:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787495060000,"timestamp_ms":1787495060000,"timestamp_seconds":1787495060,"priority":1,"record_length":96,"hex_timestamp":"000001a02f021220"} 
[2026-08-23 19:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-23 19:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598735104001,"66":13472,"101":206,"83":41984,"24":16,"16":15797147412725760,"45":1858508933077137408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 19:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598735104001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:55:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 19:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15797147412725760,"km_value":15797147412725.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933077137408,"description":"Unknown IO ID 45"} 
[2026-08-23 19:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598735104001,"power":13472,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1858508933077137408}} 
[2026-08-23 19:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":163362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:55:06] local.INFO: GPS data processed {"connection_id":163362,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:55:06] local.INFO: Acknowledgment sent {"connection_id":163362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:55:23] local.INFO: TCP Data received {"connection_id":160779,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:55:23] local.INFO: Processing buffer {"connection_id":160779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:55:23] local.INFO: Packet analysis {"connection_id":160779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f01"} 
[2026-08-23 19:55:23] local.INFO: Extracted packet for processing {"connection_id":160779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f01"} 
[2026-08-23 19:55:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":18,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:55: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-08-23 19:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598643456001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787495002000,"timestamp_ms":1787495002000,"timestamp_seconds":1787495002,"priority":1,"record_length":96,"hex_timestamp":"000001a02f012f90"} 
[2026-08-23 19:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:55: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-08-23 19:55: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-08-23 19:55: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-08-23 19:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:55:23] 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-08-23 19:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598643456001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598643456001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:55:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:55:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598643456001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":160779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:55:23] local.INFO: GPS data processed {"connection_id":160779,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:55:23] local.INFO: Acknowledgment sent {"connection_id":160779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:55:28] local.INFO: TCP Data received {"connection_id":160780,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:55:28] local.INFO: Processing buffer {"connection_id":160780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:55:28] local.INFO: IMEI packet received {"connection_id":160780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":160780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:55:34] local.INFO: TCP Data received {"connection_id":160780,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:55:34] local.INFO: Processing buffer {"connection_id":160780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:55:34] local.INFO: IMEI packet received {"connection_id":160780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":160780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:55:34] local.INFO: TCP Data received {"connection_id":160780,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f021608012d19c880071ff250003400fc29..."} 
[2026-08-23 19:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f021608012d19c880071ff250003400fc29..."} 
[2026-08-23 19:55:34] local.INFO: Processing buffer {"connection_id":160780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f021608012d19c880071ff250003400fc29..."} 
[2026-08-23 19:55:34] local.INFO: Packet analysis {"connection_id":160780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f02"} 
[2026-08-23 19:55:34] local.INFO: Extracted packet for processing {"connection_id":160780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f02"} 
[2026-08-23 19:55:34] local.INFO: GPS Element Parsed {"raw_longitude":756664448,"raw_latitude":119534160,"longitude_deg":75.6664448,"latitude_deg":11.953416,"altitude":52,"angle":252,"satellites":41,"speed":17,"hex_longitude":"2d19c880","hex_latitude":"071ff250","is_valid_coordinates":true} 
[2026-08-23 19:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598735360001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15797164592594944,"note":"Value kept but may cause issues"} 
[2026-08-23 19:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858297826844540928,"note":"Value kept but may cause issues"} 
[2026-08-23 19:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787495061000,"timestamp_ms":1787495061000,"timestamp_seconds":1787495061,"priority":1,"record_length":96,"hex_timestamp":"000001a02f021608"} 
[2026-08-23 19:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-23 19:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598735360001,"66":13472,"101":206,"83":41984,"24":17,"16":15797164592594944,"45":1858297826844540928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 19:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598735360001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:55:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 19:55:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15797164592594944,"km_value":15797164592594.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858297826844540928,"description":"Unknown IO ID 45"} 
[2026-08-23 19:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598735360001,"power":13472,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1858297826844540928}} 
[2026-08-23 19:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":160780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:55:35] local.INFO: GPS data processed {"connection_id":160780,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:55:35] local.INFO: Acknowledgment sent {"connection_id":160780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:55:45] local.INFO: TCP Data received {"connection_id":161966,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:55:45] local.INFO: Processing buffer {"connection_id":161966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:55:45] local.INFO: IMEI packet received {"connection_id":161966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":161966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:55:50] local.INFO: TCP Data received {"connection_id":161966,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:55:50] local.INFO: Processing buffer {"connection_id":161966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:55:50] local.INFO: IMEI packet received {"connection_id":161966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":161966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:55:51] local.INFO: TCP Data received {"connection_id":161966,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:55:51] local.INFO: Processing buffer {"connection_id":161966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:55:51] local.INFO: Packet analysis {"connection_id":161966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f01"} 
[2026-08-23 19:55:51] local.INFO: Extracted packet for processing {"connection_id":161966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f01"} 
[2026-08-23 19:55:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":18,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598643456001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787495002000,"timestamp_ms":1787495002000,"timestamp_seconds":1787495002,"priority":1,"record_length":96,"hex_timestamp":"000001a02f012f90"} 
[2026-08-23 19:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 19:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:55:51] 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-08-23 19:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598643456001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598643456001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:55:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:55:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598643456001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":161966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:55:51] local.INFO: GPS data processed {"connection_id":161966,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:55:51] local.INFO: Acknowledgment sent {"connection_id":161966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:56:05] local.INFO: TCP Data received {"connection_id":160780,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f02f898012d196b40071fed40003e01072a..."} 
[2026-08-23 19:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f02f898012d196b40071fed40003e01072a..."} 
[2026-08-23 19:56:05] local.INFO: Processing buffer {"connection_id":160780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f02f898012d196b40071fed40003e01072a..."} 
[2026-08-23 19:56:05] local.INFO: Packet analysis {"connection_id":160780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f02"} 
[2026-08-23 19:56:05] local.INFO: Extracted packet for processing {"connection_id":160780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f02"} 
[2026-08-23 19:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119532864,"longitude_deg":75.6640576,"latitude_deg":11.9532864,"altitude":62,"angle":263,"satellites":42,"speed":9,"hex_longitude":"2d196b40","hex_latitude":"071fed40","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598748416001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798328528732160,"note":"Value kept but may cause issues"} 
[2026-08-23 19:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079506944,"note":"Value kept but may cause issues"} 
[2026-08-23 19:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787495119000,"timestamp_ms":1787495119000,"timestamp_seconds":1787495119,"priority":1,"record_length":96,"hex_timestamp":"000001a02f02f898"} 
[2026-08-23 19:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:56: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-08-23 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-23 19:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598748416001,"66":13406,"102":206,"83":41984,"24":9,"16":15798328528732160,"45":1834302085079506944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 19:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598748416001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:56:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 19:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798328528732160,"km_value":15798328528732.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079506944,"description":"Unknown IO ID 45"} 
[2026-08-23 19:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598748416001,"power":13406,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1834302085079506944}} 
[2026-08-23 19:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":160780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:56:05] local.INFO: GPS data processed {"connection_id":160780,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:56:05] local.INFO: Acknowledgment sent {"connection_id":160780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:56:23] local.INFO: TCP Data received {"connection_id":161966,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:56:23] local.INFO: Processing buffer {"connection_id":161966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:56:23] local.INFO: Packet analysis {"connection_id":161966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f01"} 
[2026-08-23 19:56:23] local.INFO: Extracted packet for processing {"connection_id":161966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f01"} 
[2026-08-23 19:56:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":18,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598643456001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787495002000,"timestamp_ms":1787495002000,"timestamp_seconds":1787495002,"priority":1,"record_length":96,"hex_timestamp":"000001a02f012f90"} 
[2026-08-23 19:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 19:56: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-08-23 19: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-08-23 19:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:56:23] 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-08-23 19:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598643456001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598643456001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:56:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:56:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598643456001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":161966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:56:23] local.INFO: GPS data processed {"connection_id":161966,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:56:23] local.INFO: Acknowledgment sent {"connection_id":161966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:56:29] local.INFO: TCP Data received {"connection_id":161967,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:56:29] local.INFO: Processing buffer {"connection_id":161967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:56:29] local.INFO: IMEI packet received {"connection_id":161967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":161967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:56:34] local.INFO: TCP Data received {"connection_id":161967,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:56:34] local.INFO: Processing buffer {"connection_id":161967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:56:34] local.INFO: IMEI packet received {"connection_id":161967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":161967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:56:34] local.INFO: TCP Data received {"connection_id":161967,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f030068012d196940071fed50003f011a28..."} 
[2026-08-23 19:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f030068012d196940071fed50003f011a28..."} 
[2026-08-23 19:56:34] local.INFO: Processing buffer {"connection_id":161967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f030068012d196940071fed50003f011a28..."} 
[2026-08-23 19:56:34] local.INFO: Packet analysis {"connection_id":161967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f03"} 
[2026-08-23 19:56:34] local.INFO: Extracted packet for processing {"connection_id":161967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f03"} 
[2026-08-23 19:56:34] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532880,"longitude_deg":75.6640064,"latitude_deg":11.953288,"altitude":63,"angle":282,"satellites":40,"speed":8,"hex_longitude":"2d196940","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-23 19: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-08-23 19:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598750464001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798350003568640,"note":"Value kept but may cause issues"} 
[2026-08-23 19:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800829440,"note":"Value kept but may cause issues"} 
[2026-08-23 19:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787495121000,"timestamp_ms":1787495121000,"timestamp_seconds":1787495121,"priority":1,"record_length":96,"hex_timestamp":"000001a02f030068"} 
[2026-08-23 19:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:56:34] 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-08-23 19: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-23 19:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19: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-08-23 19:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598750464001,"66":13624,"102":206,"83":41984,"24":8,"16":15798350003568640,"45":1831628072800829440},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 19:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598750464001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:56:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 19:56:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798350003568640,"km_value":15798350003568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800829440,"description":"Unknown IO ID 45"} 
[2026-08-23 19:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598750464001,"power":13624,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1831628072800829440}} 
[2026-08-23 19:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":161967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:56:34] local.INFO: GPS data processed {"connection_id":161967,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:56:34] local.INFO: Acknowledgment sent {"connection_id":161967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:56:50] local.INFO: TCP Data received {"connection_id":161968,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:56:50] local.INFO: Processing buffer {"connection_id":161968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:56:50] local.INFO: IMEI packet received {"connection_id":161968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":161968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:56:55] local.INFO: TCP Data received {"connection_id":161968,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:56:55] local.INFO: Processing buffer {"connection_id":161968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:56:55] local.INFO: IMEI packet received {"connection_id":161968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":161968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:56:57] local.INFO: TCP Data received {"connection_id":161968,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:56:57] local.INFO: Processing buffer {"connection_id":161968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:56:57] local.INFO: Packet analysis {"connection_id":161968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f01"} 
[2026-08-23 19:56:57] local.INFO: Extracted packet for processing {"connection_id":161968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f01"} 
[2026-08-23 19:56:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":18,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598643456001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787495002000,"timestamp_ms":1787495002000,"timestamp_seconds":1787495002,"priority":1,"record_length":96,"hex_timestamp":"000001a02f012f90"} 
[2026-08-23 19:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:56: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-08-23 19:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 19:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:56:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598643456001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598643456001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:56:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:56:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598643456001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":161968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:56:57] local.INFO: GPS data processed {"connection_id":161968,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:56:57] local.INFO: Acknowledgment sent {"connection_id":161968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:57:01] local.INFO: TCP Data received {"connection_id":161968,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:57:01] local.INFO: Processing buffer {"connection_id":161968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:57:01] local.INFO: Packet analysis {"connection_id":161968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f01"} 
[2026-08-23 19:57:01] local.INFO: Extracted packet for processing {"connection_id":161968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f01"} 
[2026-08-23 19:57:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":18,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598643456001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787495002000,"timestamp_ms":1787495002000,"timestamp_seconds":1787495002,"priority":1,"record_length":96,"hex_timestamp":"000001a02f012f90"} 
[2026-08-23 19:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 19:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598643456001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598643456001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:57:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:57:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598643456001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":161968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:57:01] local.INFO: GPS data processed {"connection_id":161968,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:57:01] local.INFO: Acknowledgment sent {"connection_id":161968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:57:06] local.INFO: TCP Data received {"connection_id":161967,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f030450012d1968c0071fedb8003f013f28..."} 
[2026-08-23 19:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f030450012d1968c0071fedb8003f013f28..."} 
[2026-08-23 19:57:06] local.INFO: Processing buffer {"connection_id":161967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f030450012d1968c0071fedb8003f013f28..."} 
[2026-08-23 19:57:06] local.INFO: Packet analysis {"connection_id":161967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f03"} 
[2026-08-23 19:57:06] local.INFO: Extracted packet for processing {"connection_id":161967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f03"} 
[2026-08-23 19:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532984,"longitude_deg":75.6639936,"latitude_deg":11.9532984,"altitude":63,"angle":319,"satellites":40,"speed":6,"hex_longitude":"2d1968c0","hex_latitude":"071fedb8","is_valid_coordinates":true} 
[2026-08-23 19:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598750976001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798358593503232,"note":"Value kept but may cause issues"} 
[2026-08-23 19:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847412224,"note":"Value kept but may cause issues"} 
[2026-08-23 19:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787495122000,"timestamp_ms":1787495122000,"timestamp_seconds":1787495122,"priority":1,"record_length":96,"hex_timestamp":"000001a02f030450"} 
[2026-08-23 19:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 19:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-23 19:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598750976001,"66":13624,"102":206,"83":41984,"24":6,"16":15798358593503232,"45":1831065122847412224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 19:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598750976001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:57:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 19:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798358593503232,"km_value":15798358593503.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847412224,"description":"Unknown IO ID 45"} 
[2026-08-23 19:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598750976001,"power":13624,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1831065122847412224}} 
[2026-08-23 19:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":161967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:57:06] local.INFO: GPS data processed {"connection_id":161967,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:57:06] local.INFO: Acknowledgment sent {"connection_id":161967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:57:29] local.INFO: TCP Data received {"connection_id":161969,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:57:29] local.INFO: Processing buffer {"connection_id":161969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:57:29] local.INFO: IMEI packet received {"connection_id":161969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":161969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:57:34] local.INFO: TCP Data received {"connection_id":161969,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:57:34] local.INFO: Processing buffer {"connection_id":161969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:57:34] local.INFO: IMEI packet received {"connection_id":161969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":161969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:57:34] local.INFO: TCP Data received {"connection_id":161969,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 19:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 19:57:34] local.INFO: Processing buffer {"connection_id":161969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 19:57:34] local.INFO: Packet analysis {"connection_id":161969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f03"} 
[2026-08-23 19:57:34] local.INFO: Extracted packet for processing {"connection_id":161969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f03"} 
[2026-08-23 19:57:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533080,"longitude_deg":75.6639872,"latitude_deg":11.953308,"altitude":62,"angle":319,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-23 19:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598751232001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798367183437824,"note":"Value kept but may cause issues"} 
[2026-08-23 19:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359083520,"note":"Value kept but may cause issues"} 
[2026-08-23 19:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787495140000,"timestamp_ms":1787495140000,"timestamp_seconds":1787495140,"priority":1,"record_length":96,"hex_timestamp":"000001a02f034aa0"} 
[2026-08-23 19:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:57:34] 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-08-23 19:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-23 19:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598751232001,"66":12950,"102":206,"83":41984,"24":0,"16":15798367183437824,"45":1830924385359083520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 19:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598751232001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:57:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 19:57:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798367183437824,"km_value":15798367183437.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359083520,"description":"Unknown IO ID 45"} 
[2026-08-23 19:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598751232001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359083520}} 
[2026-08-23 19:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":161969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:57:34] local.INFO: GPS data processed {"connection_id":161969,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:57:34] local.INFO: Acknowledgment sent {"connection_id":161969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:57:45] local.INFO: TCP Data received {"connection_id":160781,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:57:45] local.INFO: Processing buffer {"connection_id":160781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:57:45] local.INFO: IMEI packet received {"connection_id":160781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":160781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:57:50] local.INFO: TCP Data received {"connection_id":160781,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:57:50] local.INFO: Processing buffer {"connection_id":160781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:57:50] local.INFO: IMEI packet received {"connection_id":160781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":160781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:57:52] local.INFO: TCP Data received {"connection_id":160781,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:57:52] local.INFO: Processing buffer {"connection_id":160781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:57:52] local.INFO: Packet analysis {"connection_id":160781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f01"} 
[2026-08-23 19:57:52] local.INFO: Extracted packet for processing {"connection_id":160781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f01"} 
[2026-08-23 19:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":18,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:57: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-08-23 19:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598643456001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787495002000,"timestamp_ms":1787495002000,"timestamp_seconds":1787495002,"priority":1,"record_length":96,"hex_timestamp":"000001a02f012f90"} 
[2026-08-23 19:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 19:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:57: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-08-23 19:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:57:52] 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-08-23 19:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598643456001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598643456001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:57:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598643456001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":160781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:57:52] local.INFO: GPS data processed {"connection_id":160781,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:57:52] local.INFO: Acknowledgment sent {"connection_id":160781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:58:05] local.INFO: TCP Data received {"connection_id":161969,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 19:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 19:58:05] local.INFO: Processing buffer {"connection_id":161969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 19:58:05] local.INFO: Packet analysis {"connection_id":161969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f03"} 
[2026-08-23 19:58:05] local.INFO: Extracted packet for processing {"connection_id":161969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f03"} 
[2026-08-23 19:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533080,"longitude_deg":75.6639872,"latitude_deg":11.953308,"altitude":62,"angle":319,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-23 19:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598755840001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798367183437824,"note":"Value kept but may cause issues"} 
[2026-08-23 19:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614930432,"note":"Value kept but may cause issues"} 
[2026-08-23 19:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787495140000,"timestamp_ms":1787495140000,"timestamp_seconds":1787495140,"priority":1,"record_length":96,"hex_timestamp":"000001a02f034aa0"} 
[2026-08-23 19:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 19:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598755840001,"66":12950,"102":206,"83":41984,"24":0,"16":15798367183437824,"45":1830854016614930432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 19:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598755840001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:58:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 19:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798367183437824,"km_value":15798367183437.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614930432,"description":"Unknown IO ID 45"} 
[2026-08-23 19:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598755840001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614930432}} 
[2026-08-23 19:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":161969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:58:06] local.INFO: GPS data processed {"connection_id":161969,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:58:06] local.INFO: Acknowledgment sent {"connection_id":161969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:58:25] local.INFO: TCP Data received {"connection_id":160781,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:58:25] local.INFO: Processing buffer {"connection_id":160781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:58:25] local.INFO: Packet analysis {"connection_id":160781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f01"} 
[2026-08-23 19:58:25] local.INFO: Extracted packet for processing {"connection_id":160781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f01"} 
[2026-08-23 19:58:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":18,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598643456001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787495002000,"timestamp_ms":1787495002000,"timestamp_seconds":1787495002,"priority":1,"record_length":96,"hex_timestamp":"000001a02f012f90"} 
[2026-08-23 19:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 19:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:58:25] 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-08-23 19:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598643456001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598643456001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:58:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:58:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598643456001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":160781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:58:25] local.INFO: GPS data processed {"connection_id":160781,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:58:25] local.INFO: Acknowledgment sent {"connection_id":160781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:58:28] local.INFO: TCP Data received {"connection_id":161970,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:58:28] local.INFO: Processing buffer {"connection_id":161970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:58:28] local.INFO: IMEI packet received {"connection_id":161970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":161970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:58:34] local.INFO: TCP Data received {"connection_id":161970,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:58:34] local.INFO: Processing buffer {"connection_id":161970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:58:34] local.INFO: IMEI packet received {"connection_id":161970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":161970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:58:34] local.INFO: TCP Data received {"connection_id":161970,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 19:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 19:58:34] local.INFO: Processing buffer {"connection_id":161970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 19:58:34] local.INFO: Packet analysis {"connection_id":161970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f03"} 
[2026-08-23 19:58:34] local.INFO: Extracted packet for processing {"connection_id":161970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f03"} 
[2026-08-23 19:58:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533080,"longitude_deg":75.6639872,"latitude_deg":11.953308,"altitude":62,"angle":319,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-23 19:58:34] 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-08-23 19:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598755840001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798367183437824,"note":"Value kept but may cause issues"} 
[2026-08-23 19:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614930432,"note":"Value kept but may cause issues"} 
[2026-08-23 19:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787495140000,"timestamp_ms":1787495140000,"timestamp_seconds":1787495140,"priority":1,"record_length":96,"hex_timestamp":"000001a02f034aa0"} 
[2026-08-23 19:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 19:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598755840001,"66":12950,"102":206,"83":41984,"24":0,"16":15798367183437824,"45":1830854016614930432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 19:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598755840001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:58:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 19:58:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798367183437824,"km_value":15798367183437.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614930432,"description":"Unknown IO ID 45"} 
[2026-08-23 19:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598755840001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614930432}} 
[2026-08-23 19:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":161970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:58:34] local.INFO: GPS data processed {"connection_id":161970,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:58:34] local.INFO: Acknowledgment sent {"connection_id":161970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:58:46] local.INFO: TCP Data received {"connection_id":160782,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:58:46] local.INFO: Processing buffer {"connection_id":160782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:58:46] local.INFO: IMEI packet received {"connection_id":160782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":160782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:58:50] local.INFO: TCP Data received {"connection_id":160782,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:58:50] local.INFO: Processing buffer {"connection_id":160782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:58:50] local.INFO: IMEI packet received {"connection_id":160782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":160782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:58:51] local.INFO: TCP Data received {"connection_id":160782,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:58:51] local.INFO: Processing buffer {"connection_id":160782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f012f90012d34c58006aa40600012011423..."} 
[2026-08-23 19:58:51] local.INFO: Packet analysis {"connection_id":160782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f01"} 
[2026-08-23 19:58:51] local.INFO: Extracted packet for processing {"connection_id":160782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f01"} 
[2026-08-23 19:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":18,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:58: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-08-23 19:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598643456001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787495002000,"timestamp_ms":1787495002000,"timestamp_seconds":1787495002,"priority":1,"record_length":96,"hex_timestamp":"000001a02f012f90"} 
[2026-08-23 19:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 19:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:58:51] 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-08-23 19:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598643456001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598643456001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:58:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598643456001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":160782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:58:51] local.INFO: GPS data processed {"connection_id":160782,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:58:51] local.INFO: Acknowledgment sent {"connection_id":160782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:59:05] local.INFO: TCP Data received {"connection_id":161970,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 19:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 19:59:05] local.INFO: Processing buffer {"connection_id":161970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 19:59:05] local.INFO: Packet analysis {"connection_id":161970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f03"} 
[2026-08-23 19:59:05] local.INFO: Extracted packet for processing {"connection_id":161970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f03"} 
[2026-08-23 19:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533080,"longitude_deg":75.6639872,"latitude_deg":11.953308,"altitude":62,"angle":319,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-23 19:59:05] 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-08-23 19:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598755840001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798367183437824,"note":"Value kept but may cause issues"} 
[2026-08-23 19:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614930432,"note":"Value kept but may cause issues"} 
[2026-08-23 19:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787495140000,"timestamp_ms":1787495140000,"timestamp_seconds":1787495140,"priority":1,"record_length":96,"hex_timestamp":"000001a02f034aa0"} 
[2026-08-23 19:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 19:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598755840001,"66":12950,"102":206,"83":41984,"24":0,"16":15798367183437824,"45":1830854016614930432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 19:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598755840001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:59:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 19:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798367183437824,"km_value":15798367183437.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614930432,"description":"Unknown IO ID 45"} 
[2026-08-23 19:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598755840001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614930432}} 
[2026-08-23 19:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":161970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:59:06] local.INFO: GPS data processed {"connection_id":161970,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:59:06] local.INFO: Acknowledgment sent {"connection_id":161970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:59:22] local.INFO: TCP Data received {"connection_id":160782,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 19:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 19:59:22] local.INFO: Processing buffer {"connection_id":160782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 19:59:22] local.INFO: Packet analysis {"connection_id":160782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f05"} 
[2026-08-23 19:59:22] local.INFO: Extracted packet for processing {"connection_id":160782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f05"} 
[2026-08-23 19:59:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598720512001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787495303000,"timestamp_ms":1787495303000,"timestamp_seconds":1787495303,"priority":1,"record_length":96,"hex_timestamp":"000001a02f05c758"} 
[2026-08-23 19:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:59: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-08-23 19:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598720512001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598720512001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:59:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:59:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598720512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":160782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:59:22] local.INFO: GPS data processed {"connection_id":160782,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:59:22] local.INFO: Acknowledgment sent {"connection_id":160782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:59:28] local.INFO: TCP Data received {"connection_id":160783,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:59:28] local.INFO: Processing buffer {"connection_id":160783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:59:28] local.INFO: IMEI packet received {"connection_id":160783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 19:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":160783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:59:34] local.INFO: TCP Data received {"connection_id":160783,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:59:34] local.INFO: Processing buffer {"connection_id":160783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 19:59:34] local.INFO: IMEI packet received {"connection_id":160783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 19:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":160783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:59:34] local.INFO: TCP Data received {"connection_id":160783,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 19:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 19:59:34] local.INFO: Processing buffer {"connection_id":160783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 19:59:34] local.INFO: Packet analysis {"connection_id":160783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f03"} 
[2026-08-23 19:59:34] local.INFO: Extracted packet for processing {"connection_id":160783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f03"} 
[2026-08-23 19:59:34] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533080,"longitude_deg":75.6639872,"latitude_deg":11.953308,"altitude":62,"angle":319,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-23 19:59:34] 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-08-23 19:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598755840001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798367183437824,"note":"Value kept but may cause issues"} 
[2026-08-23 19:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614930432,"note":"Value kept but may cause issues"} 
[2026-08-23 19:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787495140000,"timestamp_ms":1787495140000,"timestamp_seconds":1787495140,"priority":1,"record_length":96,"hex_timestamp":"000001a02f034aa0"} 
[2026-08-23 19:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 19:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 19:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 19:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 19:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 19:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598755840001,"66":12950,"102":206,"83":41984,"24":0,"16":15798367183437824,"45":1830854016614930432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 19:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 19:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 19:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598755840001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:59:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 19:59:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 19:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798367183437824,"km_value":15798367183437.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614930432,"description":"Unknown IO ID 45"} 
[2026-08-23 19:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598755840001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614930432}} 
[2026-08-23 19:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":160783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:59:34] local.INFO: GPS data processed {"connection_id":160783,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:59:34] local.INFO: Acknowledgment sent {"connection_id":160783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 19:59:45] local.INFO: TCP Data received {"connection_id":160784,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:59:45] local.INFO: Processing buffer {"connection_id":160784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:59:45] local.INFO: IMEI packet received {"connection_id":160784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 19:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":160784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 19:59:50] local.INFO: TCP Data received {"connection_id":160784,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:59:50] local.INFO: Processing buffer {"connection_id":160784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 19:59:50] local.INFO: IMEI packet received {"connection_id":160784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 19:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":160784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 19:59:51] local.INFO: TCP Data received {"connection_id":160784,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 19:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 19:59:51] local.INFO: Processing buffer {"connection_id":160784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 19:59:51] local.INFO: Packet analysis {"connection_id":160784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f05"} 
[2026-08-23 19:59:51] local.INFO: Extracted packet for processing {"connection_id":160784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f05"} 
[2026-08-23 19:59:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 19:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 19:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598720512001,"note":"Value kept but may cause issues"} 
[2026-08-23 19:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 19:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 19:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 19:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787495303000,"timestamp_ms":1787495303000,"timestamp_seconds":1787495303,"priority":1,"record_length":96,"hex_timestamp":"000001a02f05c758"} 
[2026-08-23 19:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 19:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 19:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 19:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 19:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 19:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 19:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 19:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 19:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 19:59:51] 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-08-23 19:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 19:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 19:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598720512001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 19:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 19:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 19:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598720512001,"description":"Unknown IO ID 0"} 
[2026-08-23 19:59:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 19:59:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 19:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 19:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 19:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598720512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 19:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":160784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 19:59:51] local.INFO: GPS data processed {"connection_id":160784,"processed":1,"errors":0,"total":1} 
[2026-08-23 19:59:51] local.INFO: Acknowledgment sent {"connection_id":160784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:00:06] local.INFO: TCP Data received {"connection_id":160783,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 20:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 20:00:06] local.INFO: Processing buffer {"connection_id":160783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 20:00:06] local.INFO: Packet analysis {"connection_id":160783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f03"} 
[2026-08-23 20:00:06] local.INFO: Extracted packet for processing {"connection_id":160783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f03"} 
[2026-08-23 20:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533080,"longitude_deg":75.6639872,"latitude_deg":11.953308,"altitude":62,"angle":319,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-23 20:00:06] 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-08-23 20:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598755840001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798367183437824,"note":"Value kept but may cause issues"} 
[2026-08-23 20:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614930432,"note":"Value kept but may cause issues"} 
[2026-08-23 20:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787495140000,"timestamp_ms":1787495140000,"timestamp_seconds":1787495140,"priority":1,"record_length":96,"hex_timestamp":"000001a02f034aa0"} 
[2026-08-23 20:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 20:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598755840001,"66":12950,"102":206,"83":41984,"24":0,"16":15798367183437824,"45":1830854016614930432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598755840001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:00:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798367183437824,"km_value":15798367183437.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614930432,"description":"Unknown IO ID 45"} 
[2026-08-23 20:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598755840001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614930432}} 
[2026-08-23 20:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":160783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:00:06] local.INFO: GPS data processed {"connection_id":160783,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:00:06] local.INFO: Acknowledgment sent {"connection_id":160783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:00:22] local.INFO: TCP Data received {"connection_id":160784,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:00:22] local.INFO: Processing buffer {"connection_id":160784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:00:22] local.INFO: Packet analysis {"connection_id":160784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f05"} 
[2026-08-23 20:00:22] local.INFO: Extracted packet for processing {"connection_id":160784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f05"} 
[2026-08-23 20:00:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598720512001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787495303000,"timestamp_ms":1787495303000,"timestamp_seconds":1787495303,"priority":1,"record_length":96,"hex_timestamp":"000001a02f05c758"} 
[2026-08-23 20:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:00: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-08-23 20:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:00:22] 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-08-23 20:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598720512001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598720512001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:00:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:00:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598720512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":160784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:00:22] local.INFO: GPS data processed {"connection_id":160784,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:00:22] local.INFO: Acknowledgment sent {"connection_id":160784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:00:34] local.INFO: TCP Data received {"connection_id":161971,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:00:34] local.INFO: Processing buffer {"connection_id":161971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:00:34] local.INFO: IMEI packet received {"connection_id":161971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":161971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:00:39] local.INFO: TCP Data received {"connection_id":161971,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:00:39] local.INFO: Processing buffer {"connection_id":161971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:00:39] local.INFO: IMEI packet received {"connection_id":161971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":161971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:00:39] local.INFO: TCP Data received {"connection_id":161971,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 20:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 20:00:39] local.INFO: Processing buffer {"connection_id":161971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 20:00:39] local.INFO: Packet analysis {"connection_id":161971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f03"} 
[2026-08-23 20:00:39] local.INFO: Extracted packet for processing {"connection_id":161971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f03"} 
[2026-08-23 20:00:39] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533080,"longitude_deg":75.6639872,"latitude_deg":11.953308,"altitude":62,"angle":319,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-23 20:00:39] 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-08-23 20:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598755840001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798367183437824,"note":"Value kept but may cause issues"} 
[2026-08-23 20:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614930432,"note":"Value kept but may cause issues"} 
[2026-08-23 20:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787495140000,"timestamp_ms":1787495140000,"timestamp_seconds":1787495140,"priority":1,"record_length":96,"hex_timestamp":"000001a02f034aa0"} 
[2026-08-23 20:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20: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-08-23 20: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 20:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598755840001,"66":12950,"102":206,"83":41984,"24":0,"16":15798367183437824,"45":1830854016614930432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598755840001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:00:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:00:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798367183437824,"km_value":15798367183437.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614930432,"description":"Unknown IO ID 45"} 
[2026-08-23 20:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598755840001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614930432}} 
[2026-08-23 20:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":161971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:00:39] local.INFO: GPS data processed {"connection_id":161971,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:00:39] local.INFO: Acknowledgment sent {"connection_id":161971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:00:44] local.INFO: TCP Data received {"connection_id":161971,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 20:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 20:00:44] local.INFO: Processing buffer {"connection_id":161971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f034aa0012d196880071fee18003e013f27..."} 
[2026-08-23 20:00:44] local.INFO: Packet analysis {"connection_id":161971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f03"} 
[2026-08-23 20:00:44] local.INFO: Extracted packet for processing {"connection_id":161971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f03"} 
[2026-08-23 20:00:44] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533080,"longitude_deg":75.6639872,"latitude_deg":11.953308,"altitude":62,"angle":319,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee18","is_valid_coordinates":true} 
[2026-08-23 20:00: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-08-23 20:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598755840001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798367183437824,"note":"Value kept but may cause issues"} 
[2026-08-23 20:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614930432,"note":"Value kept but may cause issues"} 
[2026-08-23 20:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787495140000,"timestamp_ms":1787495140000,"timestamp_seconds":1787495140,"priority":1,"record_length":96,"hex_timestamp":"000001a02f034aa0"} 
[2026-08-23 20:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 20:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598755840001,"66":12950,"102":206,"83":41984,"24":0,"16":15798367183437824,"45":1830854016614930432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598755840001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:00:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:00:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798367183437824,"km_value":15798367183437.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614930432,"description":"Unknown IO ID 45"} 
[2026-08-23 20:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598755840001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614930432}} 
[2026-08-23 20:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":161971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:00:44] local.INFO: GPS data processed {"connection_id":161971,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:00:44] local.INFO: Acknowledgment sent {"connection_id":161971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:00:45] local.INFO: TCP Data received {"connection_id":160785,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:00:45] local.INFO: Processing buffer {"connection_id":160785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:00:45] local.INFO: IMEI packet received {"connection_id":160785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":160785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:00:50] local.INFO: TCP Data received {"connection_id":160785,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:00:50] local.INFO: Processing buffer {"connection_id":160785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:00:50] local.INFO: IMEI packet received {"connection_id":160785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":160785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:00:51] local.INFO: TCP Data received {"connection_id":160785,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:00:51] local.INFO: Processing buffer {"connection_id":160785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:00:51] local.INFO: Packet analysis {"connection_id":160785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f05"} 
[2026-08-23 20:00:51] local.INFO: Extracted packet for processing {"connection_id":160785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f05"} 
[2026-08-23 20:00:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598720512001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787495303000,"timestamp_ms":1787495303000,"timestamp_seconds":1787495303,"priority":1,"record_length":96,"hex_timestamp":"000001a02f05c758"} 
[2026-08-23 20:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598720512001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598720512001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:00:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:00:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598720512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":160785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:00:51] local.INFO: GPS data processed {"connection_id":160785,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:00:51] local.INFO: Acknowledgment sent {"connection_id":160785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:01:23] local.INFO: TCP Data received {"connection_id":160785,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:01:23] local.INFO: Processing buffer {"connection_id":160785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:01:23] local.INFO: Packet analysis {"connection_id":160785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f05"} 
[2026-08-23 20:01:23] local.INFO: Extracted packet for processing {"connection_id":160785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f05"} 
[2026-08-23 20:01:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598720512001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787495303000,"timestamp_ms":1787495303000,"timestamp_seconds":1787495303,"priority":1,"record_length":96,"hex_timestamp":"000001a02f05c758"} 
[2026-08-23 20:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:01:23] 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-08-23 20:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598720512001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598720512001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:01:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:01:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598720512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":160785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:01:23] local.INFO: GPS data processed {"connection_id":160785,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:01:23] local.INFO: Acknowledgment sent {"connection_id":160785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:01:29] local.INFO: TCP Data received {"connection_id":160786,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:01:29] local.INFO: Processing buffer {"connection_id":160786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:01:29] local.INFO: IMEI packet received {"connection_id":160786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":160786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:01:34] local.INFO: TCP Data received {"connection_id":160786,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:01:34] local.INFO: Processing buffer {"connection_id":160786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:01:34] local.INFO: IMEI packet received {"connection_id":160786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":160786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:01:34] local.INFO: TCP Data received {"connection_id":160786,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:01:34] local.INFO: Processing buffer {"connection_id":160786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:01:34] local.INFO: Packet analysis {"connection_id":160786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f07"} 
[2026-08-23 20:01:34] local.INFO: Extracted packet for processing {"connection_id":160786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f07"} 
[2026-08-23 20:01:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533528,"longitude_deg":75.6639104,"latitude_deg":11.9533528,"altitude":60,"angle":319,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-08-23 20:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598755840001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798367183437824,"note":"Value kept but may cause issues"} 
[2026-08-23 20:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614930432,"note":"Value kept but may cause issues"} 
[2026-08-23 20:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787495441000,"timestamp_ms":1787495441000,"timestamp_seconds":1787495441,"priority":1,"record_length":96,"hex_timestamp":"000001a02f07e268"} 
[2026-08-23 20:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 20:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598755840001,"66":2166,"102":206,"83":41984,"24":0,"16":15798367183437824,"45":1830854016614930432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598755840001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:01:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:01:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798367183437824,"km_value":15798367183437.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614930432,"description":"Unknown IO ID 45"} 
[2026-08-23 20:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598755840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614930432}} 
[2026-08-23 20:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":160786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:01:34] local.INFO: GPS data processed {"connection_id":160786,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:01:34] local.INFO: Acknowledgment sent {"connection_id":160786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:01:39] local.INFO: TCP Data received {"connection_id":160786,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:01:39] local.INFO: Processing buffer {"connection_id":160786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:01:39] local.INFO: Packet analysis {"connection_id":160786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f07"} 
[2026-08-23 20:01:39] local.INFO: Extracted packet for processing {"connection_id":160786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f07"} 
[2026-08-23 20:01:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533528,"longitude_deg":75.6639104,"latitude_deg":11.9533528,"altitude":60,"angle":319,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-08-23 20:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598755840001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798367183437824,"note":"Value kept but may cause issues"} 
[2026-08-23 20:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614930432,"note":"Value kept but may cause issues"} 
[2026-08-23 20:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787495441000,"timestamp_ms":1787495441000,"timestamp_seconds":1787495441,"priority":1,"record_length":96,"hex_timestamp":"000001a02f07e268"} 
[2026-08-23 20:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:01: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-08-23 20:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 20:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598755840001,"66":2166,"102":206,"83":41984,"24":0,"16":15798367183437824,"45":1830854016614930432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598755840001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:01:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:01:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798367183437824,"km_value":15798367183437.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614930432,"description":"Unknown IO ID 45"} 
[2026-08-23 20:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598755840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614930432}} 
[2026-08-23 20:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":160786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:01:39] local.INFO: GPS data processed {"connection_id":160786,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:01:39] local.INFO: Acknowledgment sent {"connection_id":160786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:01:50] local.INFO: TCP Data received {"connection_id":163363,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:01:50] local.INFO: Processing buffer {"connection_id":163363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:01:50] local.INFO: IMEI packet received {"connection_id":163363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":163363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:01:55] local.INFO: TCP Data received {"connection_id":163363,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:01:55] local.INFO: Processing buffer {"connection_id":163363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:01:55] local.INFO: IMEI packet received {"connection_id":163363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":163363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:01:57] local.INFO: TCP Data received {"connection_id":163363,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:01:57] local.INFO: Processing buffer {"connection_id":163363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:01:57] local.INFO: Packet analysis {"connection_id":163363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f05"} 
[2026-08-23 20:01:57] local.INFO: Extracted packet for processing {"connection_id":163363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f05"} 
[2026-08-23 20:01:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598720512001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787495303000,"timestamp_ms":1787495303000,"timestamp_seconds":1787495303,"priority":1,"record_length":96,"hex_timestamp":"000001a02f05c758"} 
[2026-08-23 20:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598720512001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598720512001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:01:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:01:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598720512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":163363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:01:57] local.INFO: GPS data processed {"connection_id":163363,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:01:57] local.INFO: Acknowledgment sent {"connection_id":163363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:02:01] local.INFO: TCP Data received {"connection_id":163363,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:02:01] local.INFO: Processing buffer {"connection_id":163363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:02:01] local.INFO: Packet analysis {"connection_id":163363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f05"} 
[2026-08-23 20:02:01] local.INFO: Extracted packet for processing {"connection_id":163363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f05"} 
[2026-08-23 20:02:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598720512001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787495303000,"timestamp_ms":1787495303000,"timestamp_seconds":1787495303,"priority":1,"record_length":96,"hex_timestamp":"000001a02f05c758"} 
[2026-08-23 20:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":163363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":163363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":163363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598720512001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598720512001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:02:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:02:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598720512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":163363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:02:01] local.INFO: GPS data processed {"connection_id":163363,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:02:01] local.INFO: Acknowledgment sent {"connection_id":163363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:02:10] local.INFO: TCP Data received {"connection_id":160786,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:02:10] local.INFO: Processing buffer {"connection_id":160786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:02:10] local.INFO: Packet analysis {"connection_id":160786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f07"} 
[2026-08-23 20:02:10] local.INFO: Extracted packet for processing {"connection_id":160786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f07"} 
[2026-08-23 20:02:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533528,"longitude_deg":75.6639104,"latitude_deg":11.9533528,"altitude":60,"angle":319,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598755840001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798367183437824,"note":"Value kept but may cause issues"} 
[2026-08-23 20:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614930432,"note":"Value kept but may cause issues"} 
[2026-08-23 20:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787495441000,"timestamp_ms":1787495441000,"timestamp_seconds":1787495441,"priority":1,"record_length":96,"hex_timestamp":"000001a02f07e268"} 
[2026-08-23 20:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20: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-08-23 20: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 20:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598755840001,"66":2166,"102":206,"83":41984,"24":0,"16":15798367183437824,"45":1830854016614930432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598755840001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:02:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:02:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798367183437824,"km_value":15798367183437.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614930432,"description":"Unknown IO ID 45"} 
[2026-08-23 20:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598755840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614930432}} 
[2026-08-23 20:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":160786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:02:10] local.INFO: GPS data processed {"connection_id":160786,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:02:10] local.INFO: Acknowledgment sent {"connection_id":160786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:02:29] local.INFO: TCP Data received {"connection_id":163364,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:02:29] local.INFO: Processing buffer {"connection_id":163364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:02:29] local.INFO: IMEI packet received {"connection_id":163364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":163364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:02:34] local.INFO: TCP Data received {"connection_id":163364,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:02:34] local.INFO: Processing buffer {"connection_id":163364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:02:34] local.INFO: IMEI packet received {"connection_id":163364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":163364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:02:34] local.INFO: TCP Data received {"connection_id":163364,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:02:34] local.INFO: Processing buffer {"connection_id":163364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:02:34] local.INFO: Packet analysis {"connection_id":163364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f07"} 
[2026-08-23 20:02:34] local.INFO: Extracted packet for processing {"connection_id":163364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f07"} 
[2026-08-23 20:02:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533528,"longitude_deg":75.6639104,"latitude_deg":11.9533528,"altitude":60,"angle":319,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598755840001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798367183437824,"note":"Value kept but may cause issues"} 
[2026-08-23 20:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614930432,"note":"Value kept but may cause issues"} 
[2026-08-23 20:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787495441000,"timestamp_ms":1787495441000,"timestamp_seconds":1787495441,"priority":1,"record_length":96,"hex_timestamp":"000001a02f07e268"} 
[2026-08-23 20:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 20:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598755840001,"66":2166,"102":206,"83":41984,"24":0,"16":15798367183437824,"45":1830854016614930432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598755840001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:02:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:02:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798367183437824,"km_value":15798367183437.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614930432,"description":"Unknown IO ID 45"} 
[2026-08-23 20:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598755840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614930432}} 
[2026-08-23 20:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":163364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:02:35] local.INFO: GPS data processed {"connection_id":163364,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:02:35] local.INFO: Acknowledgment sent {"connection_id":163364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:02:45] local.INFO: TCP Data received {"connection_id":163365,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:02:45] local.INFO: Processing buffer {"connection_id":163365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:02:45] local.INFO: IMEI packet received {"connection_id":163365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":163365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:02:50] local.INFO: TCP Data received {"connection_id":163365,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:02:50] local.INFO: Processing buffer {"connection_id":163365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:02:50] local.INFO: IMEI packet received {"connection_id":163365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":163365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:02:51] local.INFO: TCP Data received {"connection_id":163365,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:02:51] local.INFO: Processing buffer {"connection_id":163365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:02:51] local.INFO: Packet analysis {"connection_id":163365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f05"} 
[2026-08-23 20:02:51] local.INFO: Extracted packet for processing {"connection_id":163365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f05"} 
[2026-08-23 20:02:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598720512001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787495303000,"timestamp_ms":1787495303000,"timestamp_seconds":1787495303,"priority":1,"record_length":96,"hex_timestamp":"000001a02f05c758"} 
[2026-08-23 20:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:02:51] 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-08-23 20:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598720512001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598720512001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:02:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:02:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598720512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":163365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:02:51] local.INFO: GPS data processed {"connection_id":163365,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:02:51] local.INFO: Acknowledgment sent {"connection_id":163365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:03:06] local.INFO: TCP Data received {"connection_id":163364,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:03:06] local.INFO: Processing buffer {"connection_id":163364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:03:06] local.INFO: Packet analysis {"connection_id":163364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f07"} 
[2026-08-23 20:03:06] local.INFO: Extracted packet for processing {"connection_id":163364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f07"} 
[2026-08-23 20:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533528,"longitude_deg":75.6639104,"latitude_deg":11.9533528,"altitude":60,"angle":319,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-08-23 20:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598755840001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798367183437824,"note":"Value kept but may cause issues"} 
[2026-08-23 20:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614930432,"note":"Value kept but may cause issues"} 
[2026-08-23 20:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787495441000,"timestamp_ms":1787495441000,"timestamp_seconds":1787495441,"priority":1,"record_length":96,"hex_timestamp":"000001a02f07e268"} 
[2026-08-23 20:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 20:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598755840001,"66":2166,"102":206,"83":41984,"24":0,"16":15798367183437824,"45":1830854016614930432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598755840001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:03:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798367183437824,"km_value":15798367183437.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614930432,"description":"Unknown IO ID 45"} 
[2026-08-23 20:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598755840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614930432}} 
[2026-08-23 20:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":163364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:03:06] local.INFO: GPS data processed {"connection_id":163364,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:03:06] local.INFO: Acknowledgment sent {"connection_id":163364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:03:23] local.INFO: TCP Data received {"connection_id":163365,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:03:23] local.INFO: Processing buffer {"connection_id":163365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:03:23] local.INFO: Packet analysis {"connection_id":163365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f05"} 
[2026-08-23 20:03:23] local.INFO: Extracted packet for processing {"connection_id":163365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f05"} 
[2026-08-23 20:03:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598720512001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787495303000,"timestamp_ms":1787495303000,"timestamp_seconds":1787495303,"priority":1,"record_length":96,"hex_timestamp":"000001a02f05c758"} 
[2026-08-23 20:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:03:23] 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-08-23 20:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598720512001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598720512001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:03:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:03:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598720512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":163365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:03:23] local.INFO: GPS data processed {"connection_id":163365,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:03:23] local.INFO: Acknowledgment sent {"connection_id":163365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:03:29] local.INFO: TCP Data received {"connection_id":161972,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:03:29] local.INFO: Processing buffer {"connection_id":161972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:03:29] local.INFO: IMEI packet received {"connection_id":161972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":161972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:03:34] local.INFO: TCP Data received {"connection_id":161972,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:03:34] local.INFO: Processing buffer {"connection_id":161972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:03:34] local.INFO: IMEI packet received {"connection_id":161972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":161972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:03:34] local.INFO: TCP Data received {"connection_id":161972,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:03:34] local.INFO: Processing buffer {"connection_id":161972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:03:34] local.INFO: Packet analysis {"connection_id":161972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f07"} 
[2026-08-23 20:03:34] local.INFO: Extracted packet for processing {"connection_id":161972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f07"} 
[2026-08-23 20:03:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533528,"longitude_deg":75.6639104,"latitude_deg":11.9533528,"altitude":60,"angle":319,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-08-23 20:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598755840001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798367183437824,"note":"Value kept but may cause issues"} 
[2026-08-23 20:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614930432,"note":"Value kept but may cause issues"} 
[2026-08-23 20:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787495441000,"timestamp_ms":1787495441000,"timestamp_seconds":1787495441,"priority":1,"record_length":96,"hex_timestamp":"000001a02f07e268"} 
[2026-08-23 20:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 20:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598755840001,"66":2166,"102":206,"83":41984,"24":0,"16":15798367183437824,"45":1830854016614930432},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598755840001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:03:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:03:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798367183437824,"km_value":15798367183437.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614930432,"description":"Unknown IO ID 45"} 
[2026-08-23 20:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598755840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614930432}} 
[2026-08-23 20:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":161972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:03:35] local.INFO: GPS data processed {"connection_id":161972,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:03:35] local.INFO: Acknowledgment sent {"connection_id":161972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:03:45] local.INFO: TCP Data received {"connection_id":160787,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:03:45] local.INFO: Processing buffer {"connection_id":160787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:03:45] local.INFO: IMEI packet received {"connection_id":160787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":160787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:03:50] local.INFO: TCP Data received {"connection_id":160787,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:03:50] local.INFO: Processing buffer {"connection_id":160787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:03:50] local.INFO: IMEI packet received {"connection_id":160787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":160787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:03:51] local.INFO: TCP Data received {"connection_id":160787,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:03:51] local.INFO: Processing buffer {"connection_id":160787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:03:51] local.INFO: Packet analysis {"connection_id":160787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f05"} 
[2026-08-23 20:03:51] local.INFO: Extracted packet for processing {"connection_id":160787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f05"} 
[2026-08-23 20:03:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598720512001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787495303000,"timestamp_ms":1787495303000,"timestamp_seconds":1787495303,"priority":1,"record_length":96,"hex_timestamp":"000001a02f05c758"} 
[2026-08-23 20:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:03:51] 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-08-23 20:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598720512001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598720512001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:03:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:03:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598720512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":160787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:03:51] local.INFO: GPS data processed {"connection_id":160787,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:03:51] local.INFO: Acknowledgment sent {"connection_id":160787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:03:56] local.INFO: TCP Data received {"connection_id":160787,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:03:56] local.INFO: Processing buffer {"connection_id":160787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f05c758012d34c58006aa40600006011424..."} 
[2026-08-23 20:03:56] local.INFO: Packet analysis {"connection_id":160787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f05"} 
[2026-08-23 20:03:56] local.INFO: Extracted packet for processing {"connection_id":160787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f05"} 
[2026-08-23 20:03:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598720512001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787495303000,"timestamp_ms":1787495303000,"timestamp_seconds":1787495303,"priority":1,"record_length":96,"hex_timestamp":"000001a02f05c758"} 
[2026-08-23 20:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598720512001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598720512001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:03:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:03:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598720512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":160787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:03:56] local.INFO: GPS data processed {"connection_id":160787,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:03:56] local.INFO: Acknowledgment sent {"connection_id":160787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:04:06] local.INFO: TCP Data received {"connection_id":161972,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:04:06] local.INFO: Processing buffer {"connection_id":161972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:04:06] local.INFO: Packet analysis {"connection_id":161972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f07"} 
[2026-08-23 20:04:06] local.INFO: Extracted packet for processing {"connection_id":161972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f07"} 
[2026-08-23 20:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533528,"longitude_deg":75.6639104,"latitude_deg":11.9533528,"altitude":60,"angle":319,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-08-23 20:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598755840001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798367183437824,"note":"Value kept but may cause issues"} 
[2026-08-23 20:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614930432,"note":"Value kept but may cause issues"} 
[2026-08-23 20:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787495441000,"timestamp_ms":1787495441000,"timestamp_seconds":1787495441,"priority":1,"record_length":96,"hex_timestamp":"000001a02f07e268"} 
[2026-08-23 20:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 20:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598755840001,"66":2166,"102":206,"83":41984,"24":0,"16":15798367183437824,"45":1830854016614930432},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598755840001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:04:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798367183437824,"km_value":15798367183437.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614930432,"description":"Unknown IO ID 45"} 
[2026-08-23 20:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598755840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614930432}} 
[2026-08-23 20:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":161972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:04:06] local.INFO: GPS data processed {"connection_id":161972,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:04:06] local.INFO: Acknowledgment sent {"connection_id":161972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:04:27] local.INFO: TCP Data received {"connection_id":160787,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:04:27] local.INFO: Processing buffer {"connection_id":160787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:04:27] local.INFO: Packet analysis {"connection_id":160787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0a"} 
[2026-08-23 20:04:27] local.INFO: Extracted packet for processing {"connection_id":160787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0a"} 
[2026-08-23 20:04:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598797568001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787495604000,"timestamp_ms":1787495604000,"timestamp_seconds":1787495604,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0a5f20"} 
[2026-08-23 20:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598797568001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598797568001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:04:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:04:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598797568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":160787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:04:27] local.INFO: GPS data processed {"connection_id":160787,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:04:27] local.INFO: Acknowledgment sent {"connection_id":160787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:04:28] local.INFO: TCP Data received {"connection_id":161018,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:04:28] local.INFO: Processing buffer {"connection_id":161018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:04:28] local.INFO: IMEI packet received {"connection_id":161018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":161018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:04:34] local.INFO: TCP Data received {"connection_id":161018,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:04:34] local.INFO: Processing buffer {"connection_id":161018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:04:34] local.INFO: IMEI packet received {"connection_id":161018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":161018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:04:34] local.INFO: TCP Data received {"connection_id":161018,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:04:34] local.INFO: Processing buffer {"connection_id":161018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:04:34] local.INFO: Packet analysis {"connection_id":161018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f07"} 
[2026-08-23 20:04:34] local.INFO: Extracted packet for processing {"connection_id":161018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f07"} 
[2026-08-23 20:04:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533528,"longitude_deg":75.6639104,"latitude_deg":11.9533528,"altitude":60,"angle":319,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-08-23 20:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598755840001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798367183437824,"note":"Value kept but may cause issues"} 
[2026-08-23 20:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614930432,"note":"Value kept but may cause issues"} 
[2026-08-23 20:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787495441000,"timestamp_ms":1787495441000,"timestamp_seconds":1787495441,"priority":1,"record_length":96,"hex_timestamp":"000001a02f07e268"} 
[2026-08-23 20:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 20:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598755840001,"66":2166,"102":206,"83":41984,"24":0,"16":15798367183437824,"45":1830854016614930432},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598755840001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:04:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:04:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798367183437824,"km_value":15798367183437.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614930432,"description":"Unknown IO ID 45"} 
[2026-08-23 20:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598755840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614930432}} 
[2026-08-23 20:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":161018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:04:35] local.INFO: GPS data processed {"connection_id":161018,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:04:35] local.INFO: Acknowledgment sent {"connection_id":161018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:04:45] local.INFO: TCP Data received {"connection_id":163366,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:04:45] local.INFO: Processing buffer {"connection_id":163366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:04:45] local.INFO: IMEI packet received {"connection_id":163366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":163366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:04:50] local.INFO: TCP Data received {"connection_id":163366,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:04:50] local.INFO: Processing buffer {"connection_id":163366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:04:50] local.INFO: IMEI packet received {"connection_id":163366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":163366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:04:52] local.INFO: TCP Data received {"connection_id":163366,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:04:52] local.INFO: Processing buffer {"connection_id":163366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:04:52] local.INFO: Packet analysis {"connection_id":163366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0a"} 
[2026-08-23 20:04:52] local.INFO: Extracted packet for processing {"connection_id":163366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0a"} 
[2026-08-23 20:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598797568001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787495604000,"timestamp_ms":1787495604000,"timestamp_seconds":1787495604,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0a5f20"} 
[2026-08-23 20:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598797568001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598797568001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:04:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598797568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":163366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:04:52] local.INFO: GPS data processed {"connection_id":163366,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:04:52] local.INFO: Acknowledgment sent {"connection_id":163366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:05:06] local.INFO: TCP Data received {"connection_id":161018,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:05:06] local.INFO: Processing buffer {"connection_id":161018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:05:06] local.INFO: Packet analysis {"connection_id":161018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f07"} 
[2026-08-23 20:05:06] local.INFO: Extracted packet for processing {"connection_id":161018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f07"} 
[2026-08-23 20:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533528,"longitude_deg":75.6639104,"latitude_deg":11.9533528,"altitude":60,"angle":319,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-08-23 20:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598755840001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798367183437824,"note":"Value kept but may cause issues"} 
[2026-08-23 20:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614930432,"note":"Value kept but may cause issues"} 
[2026-08-23 20:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787495441000,"timestamp_ms":1787495441000,"timestamp_seconds":1787495441,"priority":1,"record_length":96,"hex_timestamp":"000001a02f07e268"} 
[2026-08-23 20:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 20:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598755840001,"66":2166,"102":206,"83":41984,"24":0,"16":15798367183437824,"45":1830854016614930432},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598755840001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:05:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798367183437824,"km_value":15798367183437.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614930432,"description":"Unknown IO ID 45"} 
[2026-08-23 20:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598755840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614930432}} 
[2026-08-23 20:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":161018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:05:06] local.INFO: GPS data processed {"connection_id":161018,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:05:06] local.INFO: Acknowledgment sent {"connection_id":161018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:05:23] local.INFO: TCP Data received {"connection_id":163366,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:05:23] local.INFO: Processing buffer {"connection_id":163366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:05:23] local.INFO: Packet analysis {"connection_id":163366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0a"} 
[2026-08-23 20:05:23] local.INFO: Extracted packet for processing {"connection_id":163366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0a"} 
[2026-08-23 20:05:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598797568001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787495604000,"timestamp_ms":1787495604000,"timestamp_seconds":1787495604,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0a5f20"} 
[2026-08-23 20:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:05:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598797568001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598797568001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:05:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:05:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598797568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":163366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:05:23] local.INFO: GPS data processed {"connection_id":163366,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:05:23] local.INFO: Acknowledgment sent {"connection_id":163366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:05:28] local.INFO: TCP Data received {"connection_id":160788,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:05:28] local.INFO: Processing buffer {"connection_id":160788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:05:28] local.INFO: IMEI packet received {"connection_id":160788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":160788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:05:34] local.INFO: TCP Data received {"connection_id":160788,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:05:34] local.INFO: Processing buffer {"connection_id":160788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:05:34] local.INFO: IMEI packet received {"connection_id":160788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":160788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:05:34] local.INFO: TCP Data received {"connection_id":160788,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:05:34] local.INFO: Processing buffer {"connection_id":160788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f07e268012d196580071fefd8003c013f28..."} 
[2026-08-23 20:05:34] local.INFO: Packet analysis {"connection_id":160788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f07"} 
[2026-08-23 20:05:34] local.INFO: Extracted packet for processing {"connection_id":160788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f07"} 
[2026-08-23 20:05:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533528,"longitude_deg":75.6639104,"latitude_deg":11.9533528,"altitude":60,"angle":319,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-08-23 20:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598755840001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798367183437824,"note":"Value kept but may cause issues"} 
[2026-08-23 20:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614930432,"note":"Value kept but may cause issues"} 
[2026-08-23 20:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787495441000,"timestamp_ms":1787495441000,"timestamp_seconds":1787495441,"priority":1,"record_length":96,"hex_timestamp":"000001a02f07e268"} 
[2026-08-23 20:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-23 20:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598755840001,"66":2166,"102":206,"83":41984,"24":0,"16":15798367183437824,"45":1830854016614930432},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598755840001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:05:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:05:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798367183437824,"km_value":15798367183437.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614930432,"description":"Unknown IO ID 45"} 
[2026-08-23 20:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598755840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614930432}} 
[2026-08-23 20:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":160788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:05:34] local.INFO: GPS data processed {"connection_id":160788,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:05:34] local.INFO: Acknowledgment sent {"connection_id":160788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:05:50] local.INFO: TCP Data received {"connection_id":161019,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:05:50] local.INFO: Processing buffer {"connection_id":161019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:05:50] local.INFO: IMEI packet received {"connection_id":161019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":161019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:05:55] local.INFO: TCP Data received {"connection_id":161019,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:05:55] local.INFO: Processing buffer {"connection_id":161019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:05:55] local.INFO: IMEI packet received {"connection_id":161019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":161019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:05:56] local.INFO: TCP Data received {"connection_id":161019,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:05:56] local.INFO: Processing buffer {"connection_id":161019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:05:56] local.INFO: Packet analysis {"connection_id":161019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0a"} 
[2026-08-23 20:05:56] local.INFO: Extracted packet for processing {"connection_id":161019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0a"} 
[2026-08-23 20:05:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598797568001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787495604000,"timestamp_ms":1787495604000,"timestamp_seconds":1787495604,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0a5f20"} 
[2026-08-23 20:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598797568001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598797568001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:05:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:05:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598797568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":161019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:05:56] local.INFO: GPS data processed {"connection_id":161019,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:05:56] local.INFO: Acknowledgment sent {"connection_id":161019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:06:01] local.INFO: TCP Data received {"connection_id":161019,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:06:01] local.INFO: Processing buffer {"connection_id":161019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:06:01] local.INFO: Packet analysis {"connection_id":161019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0a"} 
[2026-08-23 20:06:01] local.INFO: Extracted packet for processing {"connection_id":161019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0a"} 
[2026-08-23 20:06:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598797568001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787495604000,"timestamp_ms":1787495604000,"timestamp_seconds":1787495604,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0a5f20"} 
[2026-08-23 20:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598797568001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598797568001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:06:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:06:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598797568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":161019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:06:01] local.INFO: GPS data processed {"connection_id":161019,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:06:01] local.INFO: Acknowledgment sent {"connection_id":161019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:06:05] local.INFO: TCP Data received {"connection_id":160788,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0bd238012d196580071fefd8003c013f2b..."} 
[2026-08-23 20:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0bd238012d196580071fefd8003c013f2b..."} 
[2026-08-23 20:06:05] local.INFO: Processing buffer {"connection_id":160788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0bd238012d196580071fefd8003c013f2b..."} 
[2026-08-23 20:06:05] local.INFO: Packet analysis {"connection_id":160788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0b"} 
[2026-08-23 20:06:05] local.INFO: Extracted packet for processing {"connection_id":160788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0b"} 
[2026-08-23 20:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533528,"longitude_deg":75.6639104,"latitude_deg":11.9533528,"altitude":60,"angle":319,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-08-23 20:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598832896001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798367183437824,"note":"Value kept but may cause issues"} 
[2026-08-23 20:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684913152,"note":"Value kept but may cause issues"} 
[2026-08-23 20:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787495699000,"timestamp_ms":1787495699000,"timestamp_seconds":1787495699,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0bd238"} 
[2026-08-23 20:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598832896001,"66":2166,"102":206,"83":41984,"24":0,"16":15798367183437824,"45":1830009591684913152},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598832896001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:06:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798367183437824,"km_value":15798367183437.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684913152,"description":"Unknown IO ID 45"} 
[2026-08-23 20:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598832896001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684913152}} 
[2026-08-23 20:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":160788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:06:05] local.INFO: GPS data processed {"connection_id":160788,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:06:05] local.INFO: Acknowledgment sent {"connection_id":160788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:06:29] local.INFO: TCP Data received {"connection_id":161973,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:06:29] local.INFO: Processing buffer {"connection_id":161973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:06:29] local.INFO: IMEI packet received {"connection_id":161973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":161973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:06:29] local.INFO: TCP Data received {"connection_id":161973,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:06:29] local.INFO: Processing buffer {"connection_id":161973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:06:29] local.INFO: IMEI packet received {"connection_id":161973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":161973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:06:30] local.INFO: TCP Data received {"connection_id":161973,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:06:30] local.INFO: Processing buffer {"connection_id":161973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:06:30] local.INFO: IMEI packet received {"connection_id":161973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":161973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:06:31] local.INFO: TCP Data received {"connection_id":161973,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0bd238012d196580071fefd8003c013f2b..."} 
[2026-08-23 20:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0bd238012d196580071fefd8003c013f2b..."} 
[2026-08-23 20:06:31] local.INFO: Processing buffer {"connection_id":161973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0bd238012d196580071fefd8003c013f2b..."} 
[2026-08-23 20:06:31] local.INFO: Packet analysis {"connection_id":161973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0b"} 
[2026-08-23 20:06:31] local.INFO: Extracted packet for processing {"connection_id":161973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0b"} 
[2026-08-23 20:06:31] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533528,"longitude_deg":75.6639104,"latitude_deg":11.9533528,"altitude":60,"angle":319,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-08-23 20:06:31] 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-08-23 20:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598898944001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798367183437824,"note":"Value kept but may cause issues"} 
[2026-08-23 20:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684913152,"note":"Value kept but may cause issues"} 
[2026-08-23 20:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787495699000,"timestamp_ms":1787495699000,"timestamp_seconds":1787495699,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0bd238"} 
[2026-08-23 20:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598898944001,"66":2166,"102":206,"83":41984,"24":0,"16":15798367183437824,"45":1830009591684913152},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598898944001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:06:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:06:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798367183437824,"km_value":15798367183437.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684913152,"description":"Unknown IO ID 45"} 
[2026-08-23 20:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598898944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684913152}} 
[2026-08-23 20:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":161973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:06:31] local.INFO: GPS data processed {"connection_id":161973,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:06:31] local.INFO: Acknowledgment sent {"connection_id":161973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:06:45] local.INFO: TCP Data received {"connection_id":161020,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:06:45] local.INFO: Processing buffer {"connection_id":161020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:06:45] local.INFO: IMEI packet received {"connection_id":161020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":161020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:06:50] local.INFO: TCP Data received {"connection_id":161020,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:06:50] local.INFO: Processing buffer {"connection_id":161020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:06:50] local.INFO: IMEI packet received {"connection_id":161020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":161020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:06:51] local.INFO: TCP Data received {"connection_id":161020,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:06:51] local.INFO: Processing buffer {"connection_id":161020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:06:51] local.INFO: Packet analysis {"connection_id":161020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0a"} 
[2026-08-23 20:06:51] local.INFO: Extracted packet for processing {"connection_id":161020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0a"} 
[2026-08-23 20:06:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598797568001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787495604000,"timestamp_ms":1787495604000,"timestamp_seconds":1787495604,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0a5f20"} 
[2026-08-23 20:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598797568001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598797568001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:06:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:06:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598797568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":161020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:06:51] local.INFO: GPS data processed {"connection_id":161020,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:06:51] local.INFO: Acknowledgment sent {"connection_id":161020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:07:03] local.INFO: TCP Data received {"connection_id":161973,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0ceb78012d196f00071fec00003d00692b..."} 
[2026-08-23 20:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0ceb78012d196f00071fec00003d00692b..."} 
[2026-08-23 20:07:03] local.INFO: Processing buffer {"connection_id":161973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0ceb78012d196f00071fec00003d00692b..."} 
[2026-08-23 20:07:03] local.INFO: Packet analysis {"connection_id":161973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0c"} 
[2026-08-23 20:07:03] local.INFO: Extracted packet for processing {"connection_id":161973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0c"} 
[2026-08-23 20:07:03] local.INFO: GPS Element Parsed {"raw_longitude":756641536,"raw_latitude":119532544,"longitude_deg":75.6641536,"latitude_deg":11.9532544,"altitude":61,"angle":105,"satellites":43,"speed":10,"hex_longitude":"2d196f00","hex_latitude":"071fec00","is_valid_coordinates":true} 
[2026-08-23 20:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598916096001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798521802260480,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831346597824071680,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787495771000,"timestamp_ms":1787495771000,"timestamp_seconds":1787495771,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0ceb78"} 
[2026-08-23 20:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-23 20:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:03] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249741306185904280,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-1110137050427741696,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 20:07:03] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:03] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827448,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:03] local.WARNING: Large IO value detected {"io_id":127,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:03] local.WARNING: Large IO value detected {"io_id":12,"raw_value":8804538564720623623,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:03] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:03] local.WARNING: Large IO value detected {"io_id":86,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:03] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,102,83,24,241,157,16,32,160,212,45,192,236,61,44,10,66,235,62,188,1,240,40,227,47,31,4,113,205,3,161,103,8,43,239,52,2,56,7,63,127,12,120,86],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 20:07:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395613476555784192,"timestamp_seconds":4395613476555784.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 20:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598916096001,"66":12385,"102":206,"83":41984,"24":10,"16":15798521802260480,"45":1831346597824071680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598916096001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:07:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:07:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798521802260480,"km_value":15798521802260.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831346597824071680,"description":"Unknown IO ID 45"} 
[2026-08-23 20:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598916096001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1831346597824071680}} 
[2026-08-23 20:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":161973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:07:03] local.INFO: GPS data processed {"connection_id":161973,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:07:03] local.INFO: Acknowledgment sent {"connection_id":161973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:07:23] local.INFO: TCP Data received {"connection_id":161020,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:07:23] local.INFO: Processing buffer {"connection_id":161020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:07:23] local.INFO: Packet analysis {"connection_id":161020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0a"} 
[2026-08-23 20:07:23] local.INFO: Extracted packet for processing {"connection_id":161020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0a"} 
[2026-08-23 20:07:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598797568001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787495604000,"timestamp_ms":1787495604000,"timestamp_seconds":1787495604,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0a5f20"} 
[2026-08-23 20:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:07:23] 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-08-23 20:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598797568001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598797568001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:07:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:07:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598797568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":161020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:07:23] local.INFO: GPS data processed {"connection_id":161020,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:07:23] local.INFO: Acknowledgment sent {"connection_id":161020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:07:28] local.INFO: TCP Data received {"connection_id":163367,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:07:28] local.INFO: Processing buffer {"connection_id":163367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:07:28] local.INFO: IMEI packet received {"connection_id":163367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":163367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:07:28] local.INFO: TCP Data received {"connection_id":163367,"ip":"42.109.136.0","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 20:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163367,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 20:07:28] local.INFO: Processing buffer {"connection_id":163367,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 20:07:28] local.INFO: IMEI packet received {"connection_id":163367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":163367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:07:33] local.INFO: TCP Data received {"connection_id":163367,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:07:33] local.INFO: Processing buffer {"connection_id":163367,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-23 20:07:33] local.INFO: IMEI packet received {"connection_id":163367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":163367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:07:34] local.INFO: TCP Data received {"connection_id":163367,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0cf348012d197100071febe0003d005d2b..."} 
[2026-08-23 20:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0cf348012d197100071febe0003d005d2b..."} 
[2026-08-23 20:07:34] local.INFO: Processing buffer {"connection_id":163367,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a02f..."} 
[2026-08-23 20:07:34] local.INFO: IMEI packet received {"connection_id":163367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":163367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:07:36] local.INFO: TCP Data received {"connection_id":163367,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0d1a58012d197c40071fec18003d004e2a..."} 
[2026-08-23 20:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0d1a58012d197c40071fec18003d004e2a..."} 
[2026-08-23 20:07:36] local.INFO: Processing buffer {"connection_id":163367,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a02f0cf348012d197100071febe0003d005d2b..."} 
[2026-08-23 20:07:36] local.INFO: Packet analysis {"connection_id":163367,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02f0c"} 
[2026-08-23 20:07:36] local.INFO: Extracted packet for processing {"connection_id":163367,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0c"} 
[2026-08-23 20:07:36] local.INFO: GPS Element Parsed {"raw_longitude":756642048,"raw_latitude":119532512,"longitude_deg":75.6642048,"latitude_deg":11.9532512,"altitude":61,"angle":93,"satellites":43,"speed":11,"hex_longitude":"2d197100","hex_latitude":"071febe0","is_valid_coordinates":true} 
[2026-08-23 20:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598917376001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798547572064256,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832683603963412480,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787495773000,"timestamp_ms":1787495773000,"timestamp_seconds":1787495773,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0cf348"} 
[2026-08-23 20:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 20:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598917376001,"66":12428,"102":206,"83":41984,"24":11,"16":15798547572064256,"45":1832683603963412480},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598917376001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:07:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:07:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798547572064256,"km_value":15798547572064.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832683603963412480,"description":"Unknown IO ID 45"} 
[2026-08-23 20:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598917376001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1832683603963412480}} 
[2026-08-23 20:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":163367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:07:36] local.INFO: GPS data processed {"connection_id":163367,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:07:36] local.INFO: Acknowledgment sent {"connection_id":163367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:07:36] local.INFO: Packet analysis {"connection_id":163367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0d"} 
[2026-08-23 20:07:36] local.INFO: Extracted packet for processing {"connection_id":163367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0d"} 
[2026-08-23 20:07:36] local.INFO: GPS Element Parsed {"raw_longitude":756644928,"raw_latitude":119532568,"longitude_deg":75.6644928,"latitude_deg":11.9532568,"altitude":61,"angle":78,"satellites":42,"speed":14,"hex_longitude":"2d197c40","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-08-23 20:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598917888001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15798680716050432,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833246553916825600,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787495783000,"timestamp_ms":1787495783000,"timestamp_seconds":1787495783,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0d1a58"} 
[2026-08-23 20:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-23 20:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598917888001,"66":12461,"102":206,"83":41984,"24":14,"16":15798680716050432,"45":1833246553916825600},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598917888001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:07:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:07:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15798680716050432,"km_value":15798680716050.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833246553916825600,"description":"Unknown IO ID 45"} 
[2026-08-23 20:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598917888001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1833246553916825600}} 
[2026-08-23 20:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":163367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:07:36] local.INFO: GPS data processed {"connection_id":163367,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:07:36] local.INFO: Acknowledgment sent {"connection_id":163367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:07:46] local.INFO: TCP Data received {"connection_id":161021,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:07:46] local.INFO: Processing buffer {"connection_id":161021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:07:46] local.INFO: IMEI packet received {"connection_id":161021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":161021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:07:50] local.INFO: TCP Data received {"connection_id":161021,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:07:50] local.INFO: Processing buffer {"connection_id":161021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:07:50] local.INFO: IMEI packet received {"connection_id":161021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":161021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:07:52] local.INFO: TCP Data received {"connection_id":161021,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:07:52] local.INFO: Processing buffer {"connection_id":161021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:07:52] local.INFO: Packet analysis {"connection_id":161021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0a"} 
[2026-08-23 20:07:52] local.INFO: Extracted packet for processing {"connection_id":161021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0a"} 
[2026-08-23 20:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598797568001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787495604000,"timestamp_ms":1787495604000,"timestamp_seconds":1787495604,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0a5f20"} 
[2026-08-23 20:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:07:52] 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-08-23 20:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598797568001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598797568001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:07:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598797568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":161021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:07:52] local.INFO: GPS data processed {"connection_id":161021,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:07:52] local.INFO: Acknowledgment sent {"connection_id":161021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:08:07] local.INFO: TCP Data received {"connection_id":163367,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0df130012d19cd00071ff9800033002c2b..."} 
[2026-08-23 20:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0df130012d19cd00071ff9800033002c2b..."} 
[2026-08-23 20:08:07] local.INFO: Processing buffer {"connection_id":163367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0df130012d19cd00071ff9800033002c2b..."} 
[2026-08-23 20:08:07] local.INFO: Packet analysis {"connection_id":163367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0d"} 
[2026-08-23 20:08:07] local.INFO: Extracted packet for processing {"connection_id":163367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0d"} 
[2026-08-23 20:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119536000,"longitude_deg":75.66656,"latitude_deg":11.9536,"altitude":51,"angle":44,"satellites":43,"speed":17,"hex_longitude":"2d19cd00","hex_latitude":"071ff980","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598933760001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15799741572972544,"note":"Value kept but may cause issues"} 
[2026-08-23 20:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933077235712,"note":"Value kept but may cause issues"} 
[2026-08-23 20:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787495838000,"timestamp_ms":1787495838000,"timestamp_seconds":1787495838,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0df130"} 
[2026-08-23 20:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-23 20:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598933760001,"66":13493,"101":206,"83":41984,"24":17,"16":15799741572972544,"45":1858508933077235712},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 20:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598933760001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:08:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 20:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15799741572972544,"km_value":15799741572972.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933077235712,"description":"Unknown IO ID 45"} 
[2026-08-23 20:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598933760001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1858508933077235712}} 
[2026-08-23 20:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":163367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:08:07] local.INFO: GPS data processed {"connection_id":163367,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:08:07] local.INFO: Acknowledgment sent {"connection_id":163367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:08:23] local.INFO: TCP Data received {"connection_id":161021,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:08:23] local.INFO: Processing buffer {"connection_id":161021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:08:23] local.INFO: Packet analysis {"connection_id":161021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0a"} 
[2026-08-23 20:08:23] local.INFO: Extracted packet for processing {"connection_id":161021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0a"} 
[2026-08-23 20:08:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598797568001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787495604000,"timestamp_ms":1787495604000,"timestamp_seconds":1787495604,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0a5f20"} 
[2026-08-23 20:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:08:23] 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-08-23 20:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598797568001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598797568001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:08:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:08:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598797568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":161021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:08:23] local.INFO: GPS data processed {"connection_id":161021,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:08:23] local.INFO: Acknowledgment sent {"connection_id":161021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:08:29] local.INFO: TCP Data received {"connection_id":160789,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:08:29] local.INFO: Processing buffer {"connection_id":160789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:08:29] local.INFO: IMEI packet received {"connection_id":160789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":160789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:08:29] local.INFO: TCP Data received {"connection_id":160789,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:08:29] local.INFO: Processing buffer {"connection_id":160789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:08:29] local.INFO: IMEI packet received {"connection_id":160789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":160789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:08:30] local.INFO: TCP Data received {"connection_id":160789,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:08:30] local.INFO: Processing buffer {"connection_id":160789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:08:30] local.INFO: IMEI packet received {"connection_id":160789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":160789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:08:34] local.INFO: TCP Data received {"connection_id":160789,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:08:34] local.INFO: Processing buffer {"connection_id":160789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:08:34] local.INFO: IMEI packet received {"connection_id":160789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":160789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:08:34] local.INFO: TCP Data received {"connection_id":160789,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0df518012d19ce00071ffa88003300382b..."} 
[2026-08-23 20:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0df518012d19ce00071ffa88003300382b..."} 
[2026-08-23 20:08:34] local.INFO: Processing buffer {"connection_id":160789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0df518012d19ce00071ffa88003300382b..."} 
[2026-08-23 20:08:34] local.INFO: Packet analysis {"connection_id":160789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0d"} 
[2026-08-23 20:08:34] local.INFO: Extracted packet for processing {"connection_id":160789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0d"} 
[2026-08-23 20:08:34] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119536264,"longitude_deg":75.6665856,"latitude_deg":11.9536264,"altitude":51,"angle":56,"satellites":43,"speed":18,"hex_longitude":"2d19ce00","hex_latitude":"071ffa88","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598934528001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15799763047809024,"note":"Value kept but may cause issues"} 
[2026-08-23 20:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251775098880,"note":"Value kept but may cause issues"} 
[2026-08-23 20:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787495839000,"timestamp_ms":1787495839000,"timestamp_seconds":1787495839,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0df518"} 
[2026-08-23 20:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-23 20:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598934528001,"66":13493,"101":206,"83":41984,"24":18,"16":15799763047809024,"45":1859142251775098880},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 20:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598934528001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:08:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 20:08:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15799763047809024,"km_value":15799763047809.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251775098880,"description":"Unknown IO ID 45"} 
[2026-08-23 20:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598934528001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1859142251775098880}} 
[2026-08-23 20:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":160789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:08:34] local.INFO: GPS data processed {"connection_id":160789,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:08:34] local.INFO: Acknowledgment sent {"connection_id":160789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:08:46] local.INFO: TCP Data received {"connection_id":163368,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:08:46] local.INFO: Processing buffer {"connection_id":163368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:08:46] local.INFO: IMEI packet received {"connection_id":163368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":163368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:08:50] local.INFO: TCP Data received {"connection_id":163368,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:08:50] local.INFO: Processing buffer {"connection_id":163368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:08:50] local.INFO: IMEI packet received {"connection_id":163368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":163368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:08:52] local.INFO: TCP Data received {"connection_id":163368,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:08:52] local.INFO: Processing buffer {"connection_id":163368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0a5f20012d34c58006aa40600006011425..."} 
[2026-08-23 20:08:52] local.INFO: Packet analysis {"connection_id":163368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0a"} 
[2026-08-23 20:08:52] local.INFO: Extracted packet for processing {"connection_id":163368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0a"} 
[2026-08-23 20:08:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598797568001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787495604000,"timestamp_ms":1787495604000,"timestamp_seconds":1787495604,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0a5f20"} 
[2026-08-23 20:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598797568001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598797568001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:08:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:08:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598797568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":163368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:08:52] local.INFO: GPS data processed {"connection_id":163368,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:08:52] local.INFO: Acknowledgment sent {"connection_id":163368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:09:05] local.INFO: TCP Data received {"connection_id":160789,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0e1070012d19d78007200080003300272b..."} 
[2026-08-23 20:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0e1070012d19d78007200080003300272b..."} 
[2026-08-23 20:09:05] local.INFO: Processing buffer {"connection_id":160789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0e1070012d19d78007200080003300272b..."} 
[2026-08-23 20:09:05] local.INFO: Packet analysis {"connection_id":160789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:09:05] local.INFO: Extracted packet for processing {"connection_id":160789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756668288,"raw_latitude":119537792,"longitude_deg":75.6668288,"latitude_deg":11.9537792,"altitude":51,"angle":39,"satellites":43,"speed":15,"hex_longitude":"2d19d780","hex_latitude":"07200080","is_valid_coordinates":true} 
[2026-08-23 20:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598934784001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15799900486762496,"note":"Value kept but may cause issues"} 
[2026-08-23 20:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726751877120,"note":"Value kept but may cause issues"} 
[2026-08-23 20:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787495846000,"timestamp_ms":1787495846000,"timestamp_seconds":1787495846,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0e1070"} 
[2026-08-23 20:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-23 20:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598934784001,"66":13004,"101":206,"83":41984,"24":15,"16":15799900486762496,"45":1859423726751877120},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 20:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598934784001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:09:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 20:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15799900486762496,"km_value":15799900486762.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726751877120,"description":"Unknown IO ID 45"} 
[2026-08-23 20:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598934784001,"power":13004,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1859423726751877120}} 
[2026-08-23 20:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":160789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:09:05] local.INFO: GPS data processed {"connection_id":160789,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:09:05] local.INFO: Acknowledgment sent {"connection_id":160789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:09:23] local.INFO: TCP Data received {"connection_id":163368,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:09:23] local.INFO: Processing buffer {"connection_id":163368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:09:23] local.INFO: Packet analysis {"connection_id":163368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:09:23] local.INFO: Extracted packet for processing {"connection_id":163368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:09:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598874624001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787495905000,"timestamp_ms":1787495905000,"timestamp_seconds":1787495905,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0ef6e8"} 
[2026-08-23 20:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598874624001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598874624001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:09:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:09:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598874624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":163368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:09:23] local.INFO: GPS data processed {"connection_id":163368,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:09:23] local.INFO: Acknowledgment sent {"connection_id":163368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:09:29] local.INFO: TCP Data received {"connection_id":160790,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:09:29] local.INFO: Processing buffer {"connection_id":160790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:09:29] local.INFO: IMEI packet received {"connection_id":160790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":160790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:09:34] local.INFO: TCP Data received {"connection_id":160790,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:09:34] local.INFO: Processing buffer {"connection_id":160790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:09:34] local.INFO: IMEI packet received {"connection_id":160790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":160790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:09:34] local.INFO: TCP Data received {"connection_id":160790,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0e6278012d19df40072009c8003300232a..."} 
[2026-08-23 20:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0e6278012d19df40072009c8003300232a..."} 
[2026-08-23 20:09:34] local.INFO: Processing buffer {"connection_id":160790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0e6278012d19df40072009c8003300232a..."} 
[2026-08-23 20:09:34] local.INFO: Packet analysis {"connection_id":160790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:09:34] local.INFO: Extracted packet for processing {"connection_id":160790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:09:34] local.INFO: GPS Element Parsed {"raw_longitude":756670272,"raw_latitude":119540168,"longitude_deg":75.6670272,"latitude_deg":11.9540168,"altitude":51,"angle":35,"satellites":42,"speed":0,"hex_longitude":"2d19df40","hex_latitude":"072009c8","is_valid_coordinates":true} 
[2026-08-23 20:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598936576001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15800072285454336,"note":"Value kept but may cause issues"} 
[2026-08-23 20:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862097739031019520,"note":"Value kept but may cause issues"} 
[2026-08-23 20:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787495867000,"timestamp_ms":1787495867000,"timestamp_seconds":1787495867,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0e6278"} 
[2026-08-23 20:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-23 20:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598936576001,"66":13493,"101":206,"83":41984,"24":0,"16":15800072285454336,"45":1862097739031019520},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 20:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598936576001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:09:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 20:09:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15800072285454336,"km_value":15800072285454.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862097739031019520,"description":"Unknown IO ID 45"} 
[2026-08-23 20:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598936576001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1862097739031019520}} 
[2026-08-23 20:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":160790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:09:34] local.INFO: GPS data processed {"connection_id":160790,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:09:34] local.INFO: Acknowledgment sent {"connection_id":160790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:09:45] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:09:45] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:09:45] local.INFO: IMEI packet received {"connection_id":161974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":161974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:09:50] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:09:50] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:09:50] local.INFO: IMEI packet received {"connection_id":161974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":161974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:09:52] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:09:52] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:09:52] local.INFO: Packet analysis {"connection_id":161974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:09:52] local.INFO: Extracted packet for processing {"connection_id":161974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:09:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:09: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-08-23 20:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598874624001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787495905000,"timestamp_ms":1787495905000,"timestamp_seconds":1787495905,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0ef6e8"} 
[2026-08-23 20:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:09: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-08-23 20:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:09:52] 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-08-23 20:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598874624001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598874624001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:09:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:09:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598874624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":161974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:09:52] local.INFO: GPS data processed {"connection_id":161974,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:09:52] local.INFO: Acknowledgment sent {"connection_id":161974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:10:05] local.INFO: TCP Data received {"connection_id":160790,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0f9710012d19ab40071ff100003001252a..."} 
[2026-08-23 20:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0f9710012d19ab40071ff100003001252a..."} 
[2026-08-23 20:10:05] local.INFO: Processing buffer {"connection_id":160790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0f9710012d19ab40071ff100003001252a..."} 
[2026-08-23 20:10:05] local.INFO: Packet analysis {"connection_id":160790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0f"} 
[2026-08-23 20:10:05] local.INFO: Extracted packet for processing {"connection_id":160790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0f"} 
[2026-08-23 20:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756656960,"raw_latitude":119533824,"longitude_deg":75.665696,"latitude_deg":11.9533824,"altitude":48,"angle":293,"satellites":42,"speed":11,"hex_longitude":"2d19ab40","hex_latitude":"071ff100","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598961152001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15800858264469504,"note":"Value kept but may cause issues"} 
[2026-08-23 20:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850909108705665024,"note":"Value kept but may cause issues"} 
[2026-08-23 20:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787495946000,"timestamp_ms":1787495946000,"timestamp_seconds":1787495946,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0f9710"} 
[2026-08-23 20:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-23 20:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598961152001,"66":12722,"101":206,"83":41984,"24":11,"16":15800858264469504,"45":1850909108705665024},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 20:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598961152001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:10:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 20:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15800858264469504,"km_value":15800858264469.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850909108705665024,"description":"Unknown IO ID 45"} 
[2026-08-23 20:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598961152001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1850909108705665024}} 
[2026-08-23 20:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":160790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:10:06] local.INFO: GPS data processed {"connection_id":160790,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:10:06] local.INFO: Acknowledgment sent {"connection_id":160790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:10:23] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:10:23] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:10:23] local.INFO: Packet analysis {"connection_id":161974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:10:23] local.INFO: Extracted packet for processing {"connection_id":161974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:10:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598874624001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787495905000,"timestamp_ms":1787495905000,"timestamp_seconds":1787495905,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0ef6e8"} 
[2026-08-23 20:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:10:23] 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-08-23 20:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598874624001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598874624001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:10:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:10:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598874624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":161974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:10:23] local.INFO: GPS data processed {"connection_id":161974,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:10:23] local.INFO: Acknowledgment sent {"connection_id":161974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:10:28] local.INFO: TCP Data received {"connection_id":163369,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:10:28] local.INFO: Processing buffer {"connection_id":163369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:10:28] local.INFO: IMEI packet received {"connection_id":163369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":163369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:10:34] local.INFO: TCP Data received {"connection_id":163369,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:10:34] local.INFO: Processing buffer {"connection_id":163369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:10:34] local.INFO: IMEI packet received {"connection_id":163369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":163369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:10:34] local.INFO: TCP Data received {"connection_id":163369,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0faa98012d19a6c0071ff230003301122b..."} 
[2026-08-23 20:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0faa98012d19a6c0071ff230003301122b..."} 
[2026-08-23 20:10:34] local.INFO: Processing buffer {"connection_id":163369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0faa98012d19a6c0071ff230003301122b..."} 
[2026-08-23 20:10:34] local.INFO: Packet analysis {"connection_id":163369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0f"} 
[2026-08-23 20:10:34] local.INFO: Extracted packet for processing {"connection_id":163369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0f"} 
[2026-08-23 20:10:34] local.INFO: GPS Element Parsed {"raw_longitude":756655808,"raw_latitude":119534128,"longitude_deg":75.6655808,"latitude_deg":11.9534128,"altitude":51,"angle":274,"satellites":43,"speed":7,"hex_longitude":"2d19a6c0","hex_latitude":"071ff230","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598962176001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15800914099044352,"note":"Value kept but may cause issues"} 
[2026-08-23 20:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849642471310557184,"note":"Value kept but may cause issues"} 
[2026-08-23 20:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787495951000,"timestamp_ms":1787495951000,"timestamp_seconds":1787495951,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0faa98"} 
[2026-08-23 20:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-23 20:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598962176001,"66":13493,"101":206,"83":41984,"24":7,"16":15800914099044352,"45":1849642471310557184},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 20:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598962176001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:10:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 20:10:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15800914099044352,"km_value":15800914099044.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849642471310557184,"description":"Unknown IO ID 45"} 
[2026-08-23 20:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598962176001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1849642471310557184}} 
[2026-08-23 20:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":163369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:10:34] local.INFO: GPS data processed {"connection_id":163369,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:10:34] local.INFO: Acknowledgment sent {"connection_id":163369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:10:50] local.INFO: TCP Data received {"connection_id":161022,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:10:50] local.INFO: Processing buffer {"connection_id":161022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:10:50] local.INFO: IMEI packet received {"connection_id":161022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":161022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:10:55] local.INFO: TCP Data received {"connection_id":161022,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:10:55] local.INFO: Processing buffer {"connection_id":161022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:10:55] local.INFO: IMEI packet received {"connection_id":161022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":161022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:10:56] local.INFO: TCP Data received {"connection_id":161022,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:10:56] local.INFO: Processing buffer {"connection_id":161022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:10:56] local.INFO: Packet analysis {"connection_id":161022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:10:56] local.INFO: Extracted packet for processing {"connection_id":161022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:10:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598874624001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787495905000,"timestamp_ms":1787495905000,"timestamp_seconds":1787495905,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0ef6e8"} 
[2026-08-23 20:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598874624001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598874624001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:10:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:10:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598874624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":161022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:10:56] local.INFO: GPS data processed {"connection_id":161022,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:10:56] local.INFO: Acknowledgment sent {"connection_id":161022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:11:01] local.INFO: TCP Data received {"connection_id":161022,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:11:01] local.INFO: Processing buffer {"connection_id":161022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:11:01] local.INFO: Packet analysis {"connection_id":161022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:11:01] local.INFO: Extracted packet for processing {"connection_id":161022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:11:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598874624001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787495905000,"timestamp_ms":1787495905000,"timestamp_seconds":1787495905,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0ef6e8"} 
[2026-08-23 20:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598874624001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598874624001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:11:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:11:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598874624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":161022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:11:01] local.INFO: GPS data processed {"connection_id":161022,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:11:01] local.INFO: Acknowledgment sent {"connection_id":161022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:11:06] local.INFO: TCP Data received {"connection_id":163369,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0fd978012d19a2c0071fee20003800bc2b..."} 
[2026-08-23 20:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0fd978012d19a2c0071fee20003800bc2b..."} 
[2026-08-23 20:11:06] local.INFO: Processing buffer {"connection_id":163369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0fd978012d19a2c0071fee20003800bc2b..."} 
[2026-08-23 20:11:06] local.INFO: Packet analysis {"connection_id":163369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0f"} 
[2026-08-23 20:11:06] local.INFO: Extracted packet for processing {"connection_id":163369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0f"} 
[2026-08-23 20:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756654784,"raw_latitude":119533088,"longitude_deg":75.6654784,"latitude_deg":11.9533088,"altitude":56,"angle":188,"satellites":43,"speed":8,"hex_longitude":"2d19a2c0","hex_latitude":"071fee20","is_valid_coordinates":true} 
[2026-08-23 20:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598963456001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15800995703422976,"note":"Value kept but may cause issues"} 
[2026-08-23 20:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848375833915437056,"note":"Value kept but may cause issues"} 
[2026-08-23 20:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787495963000,"timestamp_ms":1787495963000,"timestamp_seconds":1787495963,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0fd978"} 
[2026-08-23 20:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:11:06] local.INFO: 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-08-23 20:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-23 20:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598963456001,"66":12667,"101":206,"83":41984,"24":8,"16":15800995703422976,"45":1848375833915437056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 20:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598963456001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:11:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 20:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15800995703422976,"km_value":15800995703422.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848375833915437056,"description":"Unknown IO ID 45"} 
[2026-08-23 20:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598963456001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1848375833915437056}} 
[2026-08-23 20:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":163369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:11:06] local.INFO: GPS data processed {"connection_id":163369,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:11:06] local.INFO: Acknowledgment sent {"connection_id":163369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:11:28] local.INFO: TCP Data received {"connection_id":160791,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:11:28] local.INFO: Processing buffer {"connection_id":160791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:11:28] local.INFO: IMEI packet received {"connection_id":160791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":160791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:11:29] local.INFO: TCP Data received {"connection_id":160791,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:11:29] local.INFO: Processing buffer {"connection_id":160791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:11:29] local.INFO: IMEI packet received {"connection_id":160791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":160791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:11:34] local.INFO: TCP Data received {"connection_id":160791,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:11:34] local.INFO: Processing buffer {"connection_id":160791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:11:34] local.INFO: IMEI packet received {"connection_id":160791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":160791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:11:35] local.INFO: TCP Data received {"connection_id":160791,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f10c7c0012d19a380071fd7f00033015229..."} 
[2026-08-23 20:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f10c7c0012d19a380071fd7f00033015229..."} 
[2026-08-23 20:11:35] local.INFO: Processing buffer {"connection_id":160791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f10c7c0012d19a380071fd7f00033015229..."} 
[2026-08-23 20:11:35] local.INFO: Packet analysis {"connection_id":160791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f10"} 
[2026-08-23 20:11:35] local.INFO: Extracted packet for processing {"connection_id":160791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f10"} 
[2026-08-23 20:11:35] local.INFO: GPS Element Parsed {"raw_longitude":756654976,"raw_latitude":119527408,"longitude_deg":75.6654976,"latitude_deg":11.9527408,"altitude":51,"angle":338,"satellites":41,"speed":20,"hex_longitude":"2d19a380","hex_latitude":"071fd7f0","is_valid_coordinates":true} 
[2026-08-23 20:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598981632001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15801863286816768,"note":"Value kept but may cause issues"} 
[2026-08-23 20:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847812883960018944,"note":"Value kept but may cause issues"} 
[2026-08-23 20:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787496024000,"timestamp_ms":1787496024000,"timestamp_seconds":1787496024,"priority":1,"record_length":96,"hex_timestamp":"000001a02f10c7c0"} 
[2026-08-23 20:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-23 20:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598981632001,"66":13080,"101":206,"83":41984,"24":20,"16":15801863286816768,"45":1847812883960018944},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 20:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598981632001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:11:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 20:11:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15801863286816768,"km_value":15801863286816.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847812883960018944,"description":"Unknown IO ID 45"} 
[2026-08-23 20:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598981632001,"power":13080,"unknown_101":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1847812883960018944}} 
[2026-08-23 20:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":160791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:11:35] local.INFO: GPS data processed {"connection_id":160791,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:11:35] local.INFO: Acknowledgment sent {"connection_id":160791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:11:45] local.INFO: TCP Data received {"connection_id":161023,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:11:45] local.INFO: Processing buffer {"connection_id":161023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:11:45] local.INFO: IMEI packet received {"connection_id":161023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":161023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:11:50] local.INFO: TCP Data received {"connection_id":161023,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:11:50] local.INFO: Processing buffer {"connection_id":161023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:11:50] local.INFO: IMEI packet received {"connection_id":161023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":161023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:11:52] local.INFO: TCP Data received {"connection_id":161023,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:11:52] local.INFO: Processing buffer {"connection_id":161023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:11:52] local.INFO: Packet analysis {"connection_id":161023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:11:52] local.INFO: Extracted packet for processing {"connection_id":161023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598874624001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787495905000,"timestamp_ms":1787495905000,"timestamp_seconds":1787495905,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0ef6e8"} 
[2026-08-23 20:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:11:52] 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-08-23 20:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598874624001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598874624001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:11:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598874624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":161023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:11:52] local.INFO: GPS data processed {"connection_id":161023,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:11:52] local.INFO: Acknowledgment sent {"connection_id":161023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:12:06] local.INFO: TCP Data received {"connection_id":160791,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f10db48012d19a100071fde580032015f2b..."} 
[2026-08-23 20:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f10db48012d19a100071fde580032015f2b..."} 
[2026-08-23 20:12:06] local.INFO: Processing buffer {"connection_id":160791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f10db48012d19a100071fde580032015f2b..."} 
[2026-08-23 20:12:06] local.INFO: Packet analysis {"connection_id":160791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f10"} 
[2026-08-23 20:12:06] local.INFO: Extracted packet for processing {"connection_id":160791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f10"} 
[2026-08-23 20:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756654336,"raw_latitude":119529048,"longitude_deg":75.6654336,"latitude_deg":11.9529048,"altitude":50,"angle":351,"satellites":43,"speed":15,"hex_longitude":"2d19a100","hex_latitude":"071fde58","is_valid_coordinates":true} 
[2026-08-23 20:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598982144001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15801949186162688,"note":"Value kept but may cause issues"} 
[2026-08-23 20:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847461040239407104,"note":"Value kept but may cause issues"} 
[2026-08-23 20:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787496029000,"timestamp_ms":1787496029000,"timestamp_seconds":1787496029,"priority":1,"record_length":96,"hex_timestamp":"000001a02f10db48"} 
[2026-08-23 20:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:12:06] local.INFO: 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-08-23 20:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-23 20:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598982144001,"66":13004,"101":206,"83":41984,"24":15,"16":15801949186162688,"45":1847461040239407104},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 20:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598982144001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:12:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 20:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15801949186162688,"km_value":15801949186162.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847461040239407104,"description":"Unknown IO ID 45"} 
[2026-08-23 20:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598982144001,"power":13004,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1847461040239407104}} 
[2026-08-23 20:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":160791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:12:06] local.INFO: GPS data processed {"connection_id":160791,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:12:06] local.INFO: Acknowledgment sent {"connection_id":160791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:12:24] local.INFO: TCP Data received {"connection_id":161023,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:12:24] local.INFO: Processing buffer {"connection_id":161023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:12:24] local.INFO: Packet analysis {"connection_id":161023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:12:24] local.INFO: Extracted packet for processing {"connection_id":161023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:12:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598874624001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787495905000,"timestamp_ms":1787495905000,"timestamp_seconds":1787495905,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0ef6e8"} 
[2026-08-23 20:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:12:24] 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-08-23 20:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598874624001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598874624001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:12:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:12:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598874624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":161023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:12:24] local.INFO: GPS data processed {"connection_id":161023,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:12:24] local.INFO: Acknowledgment sent {"connection_id":161023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:12:32] local.INFO: TCP Data received {"connection_id":163370,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:12:32] local.INFO: Processing buffer {"connection_id":163370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:12:32] local.INFO: IMEI packet received {"connection_id":163370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":163370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:12:33] local.INFO: TCP Data received {"connection_id":163370,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:12:33] local.INFO: Processing buffer {"connection_id":163370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:12:33] local.INFO: IMEI packet received {"connection_id":163370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":163370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:12:39] local.INFO: TCP Data received {"connection_id":163370,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:12:39] local.INFO: Processing buffer {"connection_id":163370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:12:39] local.INFO: IMEI packet received {"connection_id":163370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":163370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:12:39] local.INFO: TCP Data received {"connection_id":163370,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f10eed0012d19a0c0071fe6e0003200032b..."} 
[2026-08-23 20:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f10eed0012d19a0c0071fe6e0003200032b..."} 
[2026-08-23 20:12:39] local.INFO: Processing buffer {"connection_id":163370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f10eed0012d19a0c0071fe6e0003200032b..."} 
[2026-08-23 20:12:39] local.INFO: Packet analysis {"connection_id":163370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f10"} 
[2026-08-23 20:12:39] local.INFO: Extracted packet for processing {"connection_id":163370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f10"} 
[2026-08-23 20:12:39] local.INFO: GPS Element Parsed {"raw_longitude":756654272,"raw_latitude":119531232,"longitude_deg":75.6654272,"latitude_deg":11.9531232,"altitude":50,"angle":3,"satellites":43,"speed":19,"hex_longitude":"2d19a0c0","hex_latitude":"071fe6e0","is_valid_coordinates":true} 
[2026-08-23 20:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598983424001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802056560345088,"note":"Value kept but may cause issues"} 
[2026-08-23 20:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846757352798050304,"note":"Value kept but may cause issues"} 
[2026-08-23 20:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787496034000,"timestamp_ms":1787496034000,"timestamp_seconds":1787496034,"priority":1,"record_length":96,"hex_timestamp":"000001a02f10eed0"} 
[2026-08-23 20:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-23 20:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598983424001,"66":12776,"101":206,"83":41984,"24":19,"16":15802056560345088,"45":1846757352798050304},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 20:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598983424001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:12:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 20:12:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802056560345088,"km_value":15802056560345.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846757352798050304,"description":"Unknown IO ID 45"} 
[2026-08-23 20:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598983424001,"power":12776,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1846757352798050304}} 
[2026-08-23 20:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":163370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:12:39] local.INFO: GPS data processed {"connection_id":163370,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:12:39] local.INFO: Acknowledgment sent {"connection_id":163370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:12:44] local.INFO: TCP Data received {"connection_id":163370,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f110258012d19a180071fed900034015c2b..."} 
[2026-08-23 20:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f110258012d19a180071fed900034015c2b..."} 
[2026-08-23 20:12:44] local.INFO: Processing buffer {"connection_id":163370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f110258012d19a180071fed900034015c2b..."} 
[2026-08-23 20:12:44] local.INFO: Packet analysis {"connection_id":163370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f11"} 
[2026-08-23 20:12:44] local.INFO: Extracted packet for processing {"connection_id":163370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f11"} 
[2026-08-23 20:12:44] local.INFO: GPS Element Parsed {"raw_longitude":756654464,"raw_latitude":119532944,"longitude_deg":75.6654464,"latitude_deg":11.9532944,"altitude":52,"angle":348,"satellites":43,"speed":9,"hex_longitude":"2d19a180","hex_latitude":"071fed90","is_valid_coordinates":true} 
[2026-08-23 20:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598984704001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802142459691008,"note":"Value kept but may cause issues"} 
[2026-08-23 20:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846686984054431744,"note":"Value kept but may cause issues"} 
[2026-08-23 20:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787496039000,"timestamp_ms":1787496039000,"timestamp_seconds":1787496039,"priority":1,"record_length":96,"hex_timestamp":"000001a02f110258"} 
[2026-08-23 20:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:12:44] local.INFO: 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-08-23 20:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-23 20:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598984704001,"66":12363,"101":206,"83":41984,"24":9,"16":15802142459691008,"45":1846686984054431744},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-23 20:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598984704001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:12:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-23 20:12:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802142459691008,"km_value":15802142459691.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846686984054431744,"description":"Unknown IO ID 45"} 
[2026-08-23 20:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598984704001,"power":12363,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1846686984054431744}} 
[2026-08-23 20:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":163370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:12:44] local.INFO: GPS data processed {"connection_id":163370,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:12:44] local.INFO: Acknowledgment sent {"connection_id":163370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:12:45] local.INFO: TCP Data received {"connection_id":161975,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:12:45] local.INFO: Processing buffer {"connection_id":161975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:12:45] local.INFO: IMEI packet received {"connection_id":161975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":161975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:12:51] local.INFO: TCP Data received {"connection_id":161975,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:12:51] local.INFO: Processing buffer {"connection_id":161975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:12:51] local.INFO: IMEI packet received {"connection_id":161975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":161975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:12:52] local.INFO: TCP Data received {"connection_id":161975,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:12:52] local.INFO: Processing buffer {"connection_id":161975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:12:52] local.INFO: Packet analysis {"connection_id":161975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:12:52] local.INFO: Extracted packet for processing {"connection_id":161975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:12:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598874624001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787495905000,"timestamp_ms":1787495905000,"timestamp_seconds":1787495905,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0ef6e8"} 
[2026-08-23 20:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:12:52] 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-08-23 20:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598874624001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598874624001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:12:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:12:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598874624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":161975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:12:52] local.INFO: GPS data processed {"connection_id":161975,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:12:52] local.INFO: Acknowledgment sent {"connection_id":161975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:13:24] local.INFO: TCP Data received {"connection_id":161975,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:13:24] local.INFO: Processing buffer {"connection_id":161975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:13:24] local.INFO: Packet analysis {"connection_id":161975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:13:24] local.INFO: Extracted packet for processing {"connection_id":161975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:13:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598874624001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787495905000,"timestamp_ms":1787495905000,"timestamp_seconds":1787495905,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0ef6e8"} 
[2026-08-23 20:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:13:24] 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-08-23 20:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598874624001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598874624001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:13:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:13:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598874624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":161975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:13:24] local.INFO: GPS data processed {"connection_id":161975,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:13:24] local.INFO: Acknowledgment sent {"connection_id":161975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:13:29] local.INFO: TCP Data received {"connection_id":161024,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:13:29] local.INFO: Processing buffer {"connection_id":161024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:13:29] local.INFO: IMEI packet received {"connection_id":161024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":161024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:13:29] local.INFO: TCP Data received {"connection_id":161024,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:13:29] local.INFO: Processing buffer {"connection_id":161024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:13:29] local.INFO: IMEI packet received {"connection_id":161024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":161024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:13:34] local.INFO: TCP Data received {"connection_id":161024,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:13:34] local.INFO: Processing buffer {"connection_id":161024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:13:34] local.INFO: IMEI packet received {"connection_id":161024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":161024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:13:34] local.INFO: TCP Data received {"connection_id":161024,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f127958012d197f00071fec10003f00ed2c..."} 
[2026-08-23 20:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f127958012d197f00071fec10003f00ed2c..."} 
[2026-08-23 20:13:34] local.INFO: Processing buffer {"connection_id":161024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f127958012d197f00071fec10003f00ed2c..."} 
[2026-08-23 20:13:34] local.INFO: Packet analysis {"connection_id":161024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f12"} 
[2026-08-23 20:13:34] local.INFO: Extracted packet for processing {"connection_id":161024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f12"} 
[2026-08-23 20:13:34] local.INFO: GPS Element Parsed {"raw_longitude":756645632,"raw_latitude":119532560,"longitude_deg":75.6645632,"latitude_deg":11.953256,"altitude":63,"angle":237,"satellites":44,"speed":0,"hex_longitude":"2d197f00","hex_latitude":"071fec10","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599005184001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802584841322496,"note":"Value kept but may cause issues"} 
[2026-08-23 20:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837187203590787072,"note":"Value kept but may cause issues"} 
[2026-08-23 20:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787496135000,"timestamp_ms":1787496135000,"timestamp_seconds":1787496135,"priority":1,"record_length":96,"hex_timestamp":"000001a02f127958"} 
[2026-08-23 20:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-23 20:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599005184001,"66":11721,"102":206,"83":41984,"24":0,"16":15802584841322496,"45":1837187203590787072},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599005184001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:13:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:13:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802584841322496,"km_value":15802584841322.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837187203590787072,"description":"Unknown IO ID 45"} 
[2026-08-23 20:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599005184001,"power":11721,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1837187203590787072}} 
[2026-08-23 20:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":161024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:13:34] local.INFO: GPS data processed {"connection_id":161024,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:13:34] local.INFO: Acknowledgment sent {"connection_id":161024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:13:39] local.INFO: TCP Data received {"connection_id":161024,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f129898012d197d00071fec10003c010c2c..."} 
[2026-08-23 20:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f129898012d197d00071fec10003c010c2c..."} 
[2026-08-23 20:13:39] local.INFO: Processing buffer {"connection_id":161024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f129898012d197d00071fec10003c010c2c..."} 
[2026-08-23 20:13:39] local.INFO: Packet analysis {"connection_id":161024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f12"} 
[2026-08-23 20:13:39] local.INFO: Extracted packet for processing {"connection_id":161024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f12"} 
[2026-08-23 20:13:39] local.INFO: GPS Element Parsed {"raw_longitude":756645120,"raw_latitude":119532560,"longitude_deg":75.664512,"latitude_deg":11.953256,"altitude":60,"angle":268,"satellites":44,"speed":11,"hex_longitude":"2d197d00","hex_latitude":"071fec10","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599010560001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802610611126272,"note":"Value kept but may cause issues"} 
[2026-08-23 20:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837187203590787072,"note":"Value kept but may cause issues"} 
[2026-08-23 20:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787496143000,"timestamp_ms":1787496143000,"timestamp_seconds":1787496143,"priority":1,"record_length":96,"hex_timestamp":"000001a02f129898"} 
[2026-08-23 20:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-23 20:13:39] 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-08-23 20: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-08-23 20:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599010560001,"66":11700,"102":206,"83":41984,"24":11,"16":15802610611126272,"45":1837187203590787072},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599010560001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:13:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:13:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802610611126272,"km_value":15802610611126.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837187203590787072,"description":"Unknown IO ID 45"} 
[2026-08-23 20:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599010560001,"power":11700,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1837187203590787072}} 
[2026-08-23 20:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":161024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:13:39] local.INFO: GPS data processed {"connection_id":161024,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:13:39] local.INFO: Acknowledgment sent {"connection_id":161024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:13:45] local.INFO: TCP Data received {"connection_id":163371,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:13:45] local.INFO: Processing buffer {"connection_id":163371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:13:45] local.INFO: IMEI packet received {"connection_id":163371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":163371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:13:50] local.INFO: TCP Data received {"connection_id":163371,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:13:50] local.INFO: Processing buffer {"connection_id":163371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:13:50] local.INFO: IMEI packet received {"connection_id":163371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":163371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:13:52] local.INFO: TCP Data received {"connection_id":163371,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:13:52] local.INFO: Processing buffer {"connection_id":163371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f0ef6e8012d34c58006aa40600006011422..."} 
[2026-08-23 20:13:52] local.INFO: Packet analysis {"connection_id":163371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:13:52] local.INFO: Extracted packet for processing {"connection_id":163371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f0e"} 
[2026-08-23 20:13:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598874624001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787495905000,"timestamp_ms":1787495905000,"timestamp_seconds":1787495905,"priority":1,"record_length":96,"hex_timestamp":"000001a02f0ef6e8"} 
[2026-08-23 20:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598874624001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598874624001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:13:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:13:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598874624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":163371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:13:52] local.INFO: GPS data processed {"connection_id":163371,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:13:52] local.INFO: Acknowledgment sent {"connection_id":163371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:14:10] local.INFO: TCP Data received {"connection_id":161024,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f12b3f0012d197400071fec10003c01172c..."} 
[2026-08-23 20:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f12b3f0012d197400071fec10003c01172c..."} 
[2026-08-23 20:14:10] local.INFO: Processing buffer {"connection_id":161024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f12b3f0012d197400071fec10003c01172c..."} 
[2026-08-23 20:14:10] local.INFO: Packet analysis {"connection_id":161024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f12"} 
[2026-08-23 20:14:10] local.INFO: Extracted packet for processing {"connection_id":161024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f12"} 
[2026-08-23 20:14:10] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119532560,"longitude_deg":75.6642816,"latitude_deg":11.953256,"altitude":60,"angle":279,"satellites":44,"speed":10,"hex_longitude":"2d197400","hex_latitude":"071fec10","is_valid_coordinates":true} 
[2026-08-23 20:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599012608001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802717985308672,"note":"Value kept but may cause issues"} 
[2026-08-23 20:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836624253637365760,"note":"Value kept but may cause issues"} 
[2026-08-23 20:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787496150000,"timestamp_ms":1787496150000,"timestamp_seconds":1787496150,"priority":1,"record_length":96,"hex_timestamp":"000001a02f12b3f0"} 
[2026-08-23 20:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-23 20:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599012608001,"66":11678,"102":206,"83":41984,"24":10,"16":15802717985308672,"45":1836624253637365760},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599012608001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:14:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:14:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802717985308672,"km_value":15802717985308.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836624253637365760,"description":"Unknown IO ID 45"} 
[2026-08-23 20:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599012608001,"power":11678,"unknown_102":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1836624253637365760}} 
[2026-08-23 20:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":161024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:14:10] local.INFO: GPS data processed {"connection_id":161024,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:14:10] local.INFO: Acknowledgment sent {"connection_id":161024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:14:23] local.INFO: TCP Data received {"connection_id":163371,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:14:23] local.INFO: Processing buffer {"connection_id":163371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:14:23] local.INFO: Packet analysis {"connection_id":163371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:14:23] local.INFO: Extracted packet for processing {"connection_id":163371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:14:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598951680001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787496206000,"timestamp_ms":1787496206000,"timestamp_seconds":1787496206,"priority":1,"record_length":96,"hex_timestamp":"000001a02f138eb0"} 
[2026-08-23 20:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:14: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-08-23 20: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 20:14:23] 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-08-23 20: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-08-23 20:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598951680001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598951680001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:14:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:14:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598951680001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":163371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:14:23] local.INFO: GPS data processed {"connection_id":163371,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:14:23] local.INFO: Acknowledgment sent {"connection_id":163371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:14:29] local.INFO: TCP Data received {"connection_id":160792,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:14:29] local.INFO: Processing buffer {"connection_id":160792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:14:29] local.INFO: IMEI packet received {"connection_id":160792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":160792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:14:32] local.INFO: TCP Data received {"connection_id":160792,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:14:32] local.INFO: Processing buffer {"connection_id":160792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:14:32] local.INFO: IMEI packet received {"connection_id":160792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":160792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:14:32] local.INFO: TCP Data received {"connection_id":160792,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f1305f8012d196cc0071fed40003e010e2b..."} 
[2026-08-23 20:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f1305f8012d196cc0071fed40003e010e2b..."} 
[2026-08-23 20:14:32] local.INFO: Processing buffer {"connection_id":160792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f1305f8012d196cc0071fed40003e010e2b..."} 
[2026-08-23 20:14:32] local.INFO: Packet analysis {"connection_id":160792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:14:32] local.INFO: Extracted packet for processing {"connection_id":160792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:14:32] local.INFO: GPS Element Parsed {"raw_longitude":756640960,"raw_latitude":119532864,"longitude_deg":75.664096,"latitude_deg":11.9532864,"altitude":62,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196cc0","hex_latitude":"071fed40","is_valid_coordinates":true} 
[2026-08-23 20:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599014400001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802812474589184,"note":"Value kept but may cause issues"} 
[2026-08-23 20:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978846969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787496171000,"timestamp_ms":1787496171000,"timestamp_seconds":1787496171,"priority":1,"record_length":96,"hex_timestamp":"000001a02f1305f8"} 
[2026-08-23 20:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-23 20:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599014400001,"66":11656,"102":206,"83":41984,"24":0,"16":15802812474589184,"45":1834090978846969856},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599014400001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:14:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:14:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802812474589184,"km_value":15802812474589.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978846969856,"description":"Unknown IO ID 45"} 
[2026-08-23 20:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599014400001,"power":11656,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834090978846969856}} 
[2026-08-23 20:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":160792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:14:33] local.INFO: GPS data processed {"connection_id":160792,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:14:33] local.INFO: Acknowledgment sent {"connection_id":160792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:14:45] local.INFO: TCP Data received {"connection_id":161025,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:14:45] local.INFO: Processing buffer {"connection_id":161025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:14:45] local.INFO: IMEI packet received {"connection_id":161025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":161025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:14:50] local.INFO: TCP Data received {"connection_id":161025,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:14:50] local.INFO: Processing buffer {"connection_id":161025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:14:50] local.INFO: IMEI packet received {"connection_id":161025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":161025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:14:51] local.INFO: TCP Data received {"connection_id":161025,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:14:51] local.INFO: Processing buffer {"connection_id":161025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:14:51] local.INFO: Packet analysis {"connection_id":161025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:14:51] local.INFO: Extracted packet for processing {"connection_id":161025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598951680001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787496206000,"timestamp_ms":1787496206000,"timestamp_seconds":1787496206,"priority":1,"record_length":96,"hex_timestamp":"000001a02f138eb0"} 
[2026-08-23 20:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:14: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-08-23 20:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 20:14: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-08-23 20:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:14:51] 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-08-23 20:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598951680001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598951680001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:14:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598951680001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":161025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:14:51] local.INFO: GPS data processed {"connection_id":161025,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:14:51] local.INFO: Acknowledgment sent {"connection_id":161025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:15:03] local.INFO: TCP Data received {"connection_id":160792,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f135800012d196cc0071fed40003e010e2a..."} 
[2026-08-23 20:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f135800012d196cc0071fed40003e010e2a..."} 
[2026-08-23 20:15:03] local.INFO: Processing buffer {"connection_id":160792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f135800012d196cc0071fed40003e010e2a..."} 
[2026-08-23 20:15:03] local.INFO: Packet analysis {"connection_id":160792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:15:03] local.INFO: Extracted packet for processing {"connection_id":160792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756640960,"raw_latitude":119532864,"longitude_deg":75.664096,"latitude_deg":11.9532864,"altitude":62,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196cc0","hex_latitude":"071fed40","is_valid_coordinates":true} 
[2026-08-23 20:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599019776001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802812474589184,"note":"Value kept but may cause issues"} 
[2026-08-23 20:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832050285265895424,"note":"Value kept but may cause issues"} 
[2026-08-23 20:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787496192000,"timestamp_ms":1787496192000,"timestamp_seconds":1787496192,"priority":1,"record_length":96,"hex_timestamp":"000001a02f135800"} 
[2026-08-23 20:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-08-23 20:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599019776001,"66":12145,"102":206,"83":41984,"24":0,"16":15802812474589184,"45":1832050285265895424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599019776001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:15:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802812474589184,"km_value":15802812474589.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832050285265895424,"description":"Unknown IO ID 45"} 
[2026-08-23 20:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599019776001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832050285265895424}} 
[2026-08-23 20:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":160792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:15:04] local.INFO: GPS data processed {"connection_id":160792,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:15:04] local.INFO: Acknowledgment sent {"connection_id":160792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:15:22] local.INFO: TCP Data received {"connection_id":161025,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:15:22] local.INFO: Processing buffer {"connection_id":161025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:15:22] local.INFO: Packet analysis {"connection_id":161025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:15:22] local.INFO: Extracted packet for processing {"connection_id":161025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:15:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598951680001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787496206000,"timestamp_ms":1787496206000,"timestamp_seconds":1787496206,"priority":1,"record_length":96,"hex_timestamp":"000001a02f138eb0"} 
[2026-08-23 20:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:15: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-08-23 20:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 20:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598951680001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598951680001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:15:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:15:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598951680001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":161025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:15:22] local.INFO: GPS data processed {"connection_id":161025,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:15:22] local.INFO: Acknowledgment sent {"connection_id":161025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:15:29] local.INFO: TCP Data received {"connection_id":163372,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:15:29] local.INFO: Processing buffer {"connection_id":163372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:15:29] local.INFO: IMEI packet received {"connection_id":163372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":163372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:15:34] local.INFO: TCP Data received {"connection_id":163372,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:15:34] local.INFO: Processing buffer {"connection_id":163372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:15:34] local.INFO: IMEI packet received {"connection_id":163372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":163372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:15:34] local.INFO: TCP Data received {"connection_id":163372,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f13a620012d196cc0071fed40003e010e2c..."} 
[2026-08-23 20:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f13a620012d196cc0071fed40003e010e2c..."} 
[2026-08-23 20:15:34] local.INFO: Processing buffer {"connection_id":163372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f13a620012d196cc0071fed40003e010e2c..."} 
[2026-08-23 20:15:34] local.INFO: Packet analysis {"connection_id":163372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:15:34] local.INFO: Extracted packet for processing {"connection_id":163372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:15:34] local.INFO: GPS Element Parsed {"raw_longitude":756640960,"raw_latitude":119532864,"longitude_deg":75.664096,"latitude_deg":11.9532864,"altitude":62,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196cc0","hex_latitude":"071fed40","is_valid_coordinates":true} 
[2026-08-23 20:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599025152001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802812474589184,"note":"Value kept but may cause issues"} 
[2026-08-23 20:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832050285265895424,"note":"Value kept but may cause issues"} 
[2026-08-23 20:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787496212000,"timestamp_ms":1787496212000,"timestamp_seconds":1787496212,"priority":1,"record_length":96,"hex_timestamp":"000001a02f13a620"} 
[2026-08-23 20:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-23 20:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599025152001,"66":12298,"102":206,"83":41984,"24":0,"16":15802812474589184,"45":1832050285265895424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599025152001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:15:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:15:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802812474589184,"km_value":15802812474589.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832050285265895424,"description":"Unknown IO ID 45"} 
[2026-08-23 20:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599025152001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832050285265895424}} 
[2026-08-23 20:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":163372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:15:35] local.INFO: GPS data processed {"connection_id":163372,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:15:35] local.INFO: Acknowledgment sent {"connection_id":163372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:15:50] local.INFO: TCP Data received {"connection_id":163373,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:15:50] local.INFO: Processing buffer {"connection_id":163373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:15:50] local.INFO: IMEI packet received {"connection_id":163373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":163373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:15:55] local.INFO: TCP Data received {"connection_id":163373,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:15:55] local.INFO: Processing buffer {"connection_id":163373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:15:55] local.INFO: IMEI packet received {"connection_id":163373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":163373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:15:56] local.INFO: TCP Data received {"connection_id":163373,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:15:56] local.INFO: Processing buffer {"connection_id":163373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:15:56] local.INFO: Packet analysis {"connection_id":163373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:15:56] local.INFO: Extracted packet for processing {"connection_id":163373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:15:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598951680001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787496206000,"timestamp_ms":1787496206000,"timestamp_seconds":1787496206,"priority":1,"record_length":96,"hex_timestamp":"000001a02f138eb0"} 
[2026-08-23 20:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 20:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:15:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598951680001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598951680001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:15:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:15:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598951680001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":163373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:15:56] local.INFO: GPS data processed {"connection_id":163373,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:15:56] local.INFO: Acknowledgment sent {"connection_id":163373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:16:00] local.INFO: TCP Data received {"connection_id":163373,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:16:00] local.INFO: Processing buffer {"connection_id":163373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:16:00] local.INFO: Packet analysis {"connection_id":163373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:16:00] local.INFO: Extracted packet for processing {"connection_id":163373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:16:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598951680001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787496206000,"timestamp_ms":1787496206000,"timestamp_seconds":1787496206,"priority":1,"record_length":96,"hex_timestamp":"000001a02f138eb0"} 
[2026-08-23 20:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 20:16:00] 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-08-23 20:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598951680001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598951680001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:16:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:16:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598951680001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":163373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:16:01] local.INFO: GPS data processed {"connection_id":163373,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:16:01] local.INFO: Acknowledgment sent {"connection_id":163373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:16:06] local.INFO: TCP Data received {"connection_id":163372,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f13f828012d1968c0071fecf0003d010e2b..."} 
[2026-08-23 20:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f13f828012d1968c0071fecf0003d010e2b..."} 
[2026-08-23 20:16:06] local.INFO: Processing buffer {"connection_id":163372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f13f828012d1968c0071fecf0003d010e2b..."} 
[2026-08-23 20:16:06] local.INFO: Packet analysis {"connection_id":163372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:16:06] local.INFO: Extracted packet for processing {"connection_id":163372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599030272001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832050285265895424,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787496233000,"timestamp_ms":1787496233000,"timestamp_seconds":1787496233,"priority":1,"record_length":96,"hex_timestamp":"000001a02f13f828"} 
[2026-08-23 20:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:16:06] local.INFO: 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-08-23 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 20:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513388436011286765,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:06] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185656,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:06] local.WARNING: Large IO value detected {"io_id":36,"raw_value":6773413839565225985,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:06] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3391722204653492607,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3372273016,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:06] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832600,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:06] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3694078476838895822,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3960471612,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 20:16:06] local.WARNING: Large IO value detected {"io_id":63,"raw_value":66756848480419840,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,36,160,88,45,192,237,62,42,10,66,5,43,179,1,240,158,227,47,31,4,113,205,11,121,127,44,239,2,56,7,63,41],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 20:16:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467867887469592576,"timestamp_seconds":4467867887469592.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 20:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599030272001,"66":12298,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1832050285265895424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599030272001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:16:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832050285265895424,"description":"Unknown IO ID 45"} 
[2026-08-23 20:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599030272001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832050285265895424}} 
[2026-08-23 20:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":163372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:16:06] local.INFO: GPS data processed {"connection_id":163372,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:16:06] local.INFO: Acknowledgment sent {"connection_id":163372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:16:28] local.INFO: TCP Data received {"connection_id":161026,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:16:28] local.INFO: Processing buffer {"connection_id":161026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:16:28] local.INFO: IMEI packet received {"connection_id":161026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":161026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:16:34] local.INFO: TCP Data received {"connection_id":161026,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:16:34] local.INFO: Processing buffer {"connection_id":161026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:16:34] local.INFO: IMEI packet received {"connection_id":161026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":161026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:16:34] local.INFO: TCP Data received {"connection_id":161026,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f144a30012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f144a30012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:16:34] local.INFO: Processing buffer {"connection_id":161026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f144a30012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:16:34] local.INFO: Packet analysis {"connection_id":161026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f14"} 
[2026-08-23 20:16:34] local.INFO: Extracted packet for processing {"connection_id":161026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f14"} 
[2026-08-23 20:16:34] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599035648001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787496254000,"timestamp_ms":1787496254000,"timestamp_seconds":1787496254,"priority":1,"record_length":96,"hex_timestamp":"000001a02f144a30"} 
[2026-08-23 20:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 20:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513388436011286765,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185656,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:34] local.WARNING: Large IO value detected {"io_id":36,"raw_value":6773413839565225985,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3391816693934004607,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3019951480,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832600,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3299169084513845454,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3960471612,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 20:16:34] local.WARNING: Large IO value detected {"io_id":152,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:34] local.WARNING: Large IO value detected {"io_id":63,"raw_value":66757947992047616,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,36,160,166,45,192,237,62,44,10,66,88,42,5,1,240,136,227,47,31,4,113,205,152,125,239,2,56,7,63,43],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 20:16:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395810289136697344,"timestamp_seconds":4395810289136697.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 20:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599035648001,"66":12341,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599035648001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:16:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:16:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599035648001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":161026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:16:35] local.INFO: GPS data processed {"connection_id":161026,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:16:35] local.INFO: Acknowledgment sent {"connection_id":161026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:16:45] local.INFO: TCP Data received {"connection_id":161027,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:16:45] local.INFO: Processing buffer {"connection_id":161027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:16:45] local.INFO: IMEI packet received {"connection_id":161027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":161027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:16:50] local.INFO: TCP Data received {"connection_id":161027,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:16:50] local.INFO: Processing buffer {"connection_id":161027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:16:50] local.INFO: IMEI packet received {"connection_id":161027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":161027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:16:51] local.INFO: TCP Data received {"connection_id":161027,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:16:51] local.INFO: Processing buffer {"connection_id":161027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:16:51] local.INFO: Packet analysis {"connection_id":161027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:16:51] local.INFO: Extracted packet for processing {"connection_id":161027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:16:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598951680001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787496206000,"timestamp_ms":1787496206000,"timestamp_seconds":1787496206,"priority":1,"record_length":96,"hex_timestamp":"000001a02f138eb0"} 
[2026-08-23 20:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:16: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-08-23 20:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 20:16: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-08-23 20:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598951680001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598951680001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:16:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:16:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598951680001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":161027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:16:51] local.INFO: GPS data processed {"connection_id":161027,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:16:51] local.INFO: Acknowledgment sent {"connection_id":161027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:17:06] local.INFO: TCP Data received {"connection_id":161026,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f149c38012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f149c38012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:17:06] local.INFO: Processing buffer {"connection_id":161026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f149c38012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:17:06] local.INFO: Packet analysis {"connection_id":161026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f14"} 
[2026-08-23 20:17:06] local.INFO: Extracted packet for processing {"connection_id":161026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f14"} 
[2026-08-23 20:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599041024001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787496275000,"timestamp_ms":1787496275000,"timestamp_seconds":1787496275,"priority":1,"record_length":96,"hex_timestamp":"000001a02f149c38"} 
[2026-08-23 20:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:17:06] local.INFO: 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-08-23 20:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:17:06] 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-08-23 20:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599041024001,"66":12319,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599041024001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:17:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599041024001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":161026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:17:06] local.INFO: GPS data processed {"connection_id":161026,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:17:06] local.INFO: Acknowledgment sent {"connection_id":161026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:17:22] local.INFO: TCP Data received {"connection_id":161027,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:17:22] local.INFO: Processing buffer {"connection_id":161027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:17:22] local.INFO: Packet analysis {"connection_id":161027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:17:22] local.INFO: Extracted packet for processing {"connection_id":161027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:17:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598951680001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787496206000,"timestamp_ms":1787496206000,"timestamp_seconds":1787496206,"priority":1,"record_length":96,"hex_timestamp":"000001a02f138eb0"} 
[2026-08-23 20:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:17: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-08-23 20:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 20:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598951680001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598951680001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:17:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:17:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598951680001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":161027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:17:22] local.INFO: GPS data processed {"connection_id":161027,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:17:22] local.INFO: Acknowledgment sent {"connection_id":161027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:17:28] local.INFO: TCP Data received {"connection_id":161028,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:17:28] local.INFO: Processing buffer {"connection_id":161028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:17:28] local.INFO: IMEI packet received {"connection_id":161028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":161028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:17:34] local.INFO: TCP Data received {"connection_id":161028,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:17:34] local.INFO: Processing buffer {"connection_id":161028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:17:34] local.INFO: IMEI packet received {"connection_id":161028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":161028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:17:34] local.INFO: TCP Data received {"connection_id":161028,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f14ee40012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f14ee40012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:17:34] local.INFO: Processing buffer {"connection_id":161028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f14ee40012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:17:34] local.INFO: Packet analysis {"connection_id":161028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f14"} 
[2026-08-23 20:17:34] local.INFO: Extracted packet for processing {"connection_id":161028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f14"} 
[2026-08-23 20:17:34] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599046400001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787496296000,"timestamp_ms":1787496296000,"timestamp_seconds":1787496296,"priority":1,"record_length":96,"hex_timestamp":"000001a02f14ee40"} 
[2026-08-23 20:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 20:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599046400001,"66":12341,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599046400001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:17:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:17:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599046400001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":161028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:17:35] local.INFO: GPS data processed {"connection_id":161028,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:17:35] local.INFO: Acknowledgment sent {"connection_id":161028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:17:45] local.INFO: TCP Data received {"connection_id":161029,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:17:45] local.INFO: Processing buffer {"connection_id":161029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:17:45] local.INFO: IMEI packet received {"connection_id":161029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":161029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:17:50] local.INFO: TCP Data received {"connection_id":161029,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:17:50] local.INFO: Processing buffer {"connection_id":161029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:17:50] local.INFO: IMEI packet received {"connection_id":161029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":161029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:17:51] local.INFO: TCP Data received {"connection_id":161029,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:17:51] local.INFO: Processing buffer {"connection_id":161029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:17:51] local.INFO: Packet analysis {"connection_id":161029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:17:51] local.INFO: Extracted packet for processing {"connection_id":161029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:17:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598951680001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787496206000,"timestamp_ms":1787496206000,"timestamp_seconds":1787496206,"priority":1,"record_length":96,"hex_timestamp":"000001a02f138eb0"} 
[2026-08-23 20:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:17: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-08-23 20:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 20:17: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-08-23 20:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:17:51] 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-08-23 20:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598951680001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598951680001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:17:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:17:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598951680001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":161029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:17:51] local.INFO: GPS data processed {"connection_id":161029,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:17:51] local.INFO: Acknowledgment sent {"connection_id":161029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:18:06] local.INFO: TCP Data received {"connection_id":161028,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f154048012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f154048012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:18:06] local.INFO: Processing buffer {"connection_id":161028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f154048012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:18:06] local.INFO: Packet analysis {"connection_id":161028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f15"} 
[2026-08-23 20:18:06] local.INFO: Extracted packet for processing {"connection_id":161028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f15"} 
[2026-08-23 20:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599051776001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787496317000,"timestamp_ms":1787496317000,"timestamp_seconds":1787496317,"priority":1,"record_length":96,"hex_timestamp":"000001a02f154048"} 
[2026-08-23 20:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:18:06] 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-08-23 20:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599051776001,"66":12341,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599051776001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:18:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599051776001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":161028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:18:06] local.INFO: GPS data processed {"connection_id":161028,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:18:06] local.INFO: Acknowledgment sent {"connection_id":161028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:18:23] local.INFO: TCP Data received {"connection_id":161029,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:18:23] local.INFO: Processing buffer {"connection_id":161029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:18:23] local.INFO: Packet analysis {"connection_id":161029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:18:23] local.INFO: Extracted packet for processing {"connection_id":161029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:18:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598951680001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787496206000,"timestamp_ms":1787496206000,"timestamp_seconds":1787496206,"priority":1,"record_length":96,"hex_timestamp":"000001a02f138eb0"} 
[2026-08-23 20:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 20:18:23] 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-08-23 20:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:18:23] 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-08-23 20:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598951680001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598951680001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:18:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:18:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598951680001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":161029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:18:23] local.INFO: GPS data processed {"connection_id":161029,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:18:23] local.INFO: Acknowledgment sent {"connection_id":161029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:18:34] local.INFO: TCP Data received {"connection_id":160793,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:18:34] local.INFO: Processing buffer {"connection_id":160793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:18:34] local.INFO: IMEI packet received {"connection_id":160793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":160793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:18:39] local.INFO: TCP Data received {"connection_id":160793,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:18:39] local.INFO: Processing buffer {"connection_id":160793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:18:39] local.INFO: IMEI packet received {"connection_id":160793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":160793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:18:39] local.INFO: TCP Data received {"connection_id":160793,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f159250012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f159250012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:18:39] local.INFO: Processing buffer {"connection_id":160793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f159250012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:18:39] local.INFO: Packet analysis {"connection_id":160793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f15"} 
[2026-08-23 20:18:39] local.INFO: Extracted packet for processing {"connection_id":160793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f15"} 
[2026-08-23 20:18:39] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599057152001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787496338000,"timestamp_ms":1787496338000,"timestamp_seconds":1787496338,"priority":1,"record_length":96,"hex_timestamp":"000001a02f159250"} 
[2026-08-23 20:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:18:39] 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-08-23 20:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:18:39] 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-08-23 20:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599057152001,"66":12319,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599057152001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:18:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:18:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599057152001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":160793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:18:39] local.INFO: GPS data processed {"connection_id":160793,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:18:39] local.INFO: Acknowledgment sent {"connection_id":160793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:18:44] local.INFO: TCP Data received {"connection_id":160793,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f15e458012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f15e458012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:18:44] local.INFO: Processing buffer {"connection_id":160793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f15e458012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:18:44] local.INFO: Packet analysis {"connection_id":160793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f15"} 
[2026-08-23 20:18:44] local.INFO: Extracted packet for processing {"connection_id":160793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f15"} 
[2026-08-23 20:18:44] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599062528001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787496359000,"timestamp_ms":1787496359000,"timestamp_seconds":1787496359,"priority":1,"record_length":96,"hex_timestamp":"000001a02f15e458"} 
[2026-08-23 20:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:18:44] local.INFO: 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-08-23 20: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 20:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599062528001,"66":12298,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599062528001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:18:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:18:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599062528001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":160793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:18:44] local.INFO: GPS data processed {"connection_id":160793,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:18:44] local.INFO: Acknowledgment sent {"connection_id":160793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:18:45] local.INFO: TCP Data received {"connection_id":163374,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:18:45] local.INFO: Processing buffer {"connection_id":163374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:18:45] local.INFO: IMEI packet received {"connection_id":163374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":163374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:18:50] local.INFO: TCP Data received {"connection_id":163374,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:18:50] local.INFO: Processing buffer {"connection_id":163374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:18:50] local.INFO: IMEI packet received {"connection_id":163374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":163374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:18:51] local.INFO: TCP Data received {"connection_id":163374,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:18:51] local.INFO: Processing buffer {"connection_id":163374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f138eb0012d34c58006aa40600006011425..."} 
[2026-08-23 20:18:51] local.INFO: Packet analysis {"connection_id":163374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:18:51] local.INFO: Extracted packet for processing {"connection_id":163374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f13"} 
[2026-08-23 20:18:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457598951680001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787496206000,"timestamp_ms":1787496206000,"timestamp_seconds":1787496206,"priority":1,"record_length":96,"hex_timestamp":"000001a02f138eb0"} 
[2026-08-23 20:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:18: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-08-23 20:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 20:18: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-08-23 20: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-08-23 20:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:18:51] 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-08-23 20:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457598951680001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457598951680001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:18:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:18:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457598951680001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":163374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:18:51] local.INFO: GPS data processed {"connection_id":163374,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:18:51] local.INFO: Acknowledgment sent {"connection_id":163374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:19:22] local.INFO: TCP Data received {"connection_id":163374,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:19:22] local.INFO: Processing buffer {"connection_id":163374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:19:22] local.INFO: Packet analysis {"connection_id":163374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:19:22] local.INFO: Extracted packet for processing {"connection_id":163374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:19:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599028736001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787496507000,"timestamp_ms":1787496507000,"timestamp_seconds":1787496507,"priority":1,"record_length":96,"hex_timestamp":"000001a02f182678"} 
[2026-08-23 20:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:19: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-08-23 20: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:19:22] 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-08-23 20:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599028736001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599028736001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:19:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:19:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599028736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":163374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:19:23] local.INFO: GPS data processed {"connection_id":163374,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:19:23] local.INFO: Acknowledgment sent {"connection_id":163374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:19:25] local.INFO: TCP Data received {"connection_id":160794,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:19:25] local.INFO: Processing buffer {"connection_id":160794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:19:25] local.INFO: IMEI packet received {"connection_id":160794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":160794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:19:29] local.INFO: TCP Data received {"connection_id":160794,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:19:29] local.INFO: Processing buffer {"connection_id":160794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:19:29] local.INFO: IMEI packet received {"connection_id":160794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":160794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:19:34] local.INFO: TCP Data received {"connection_id":160794,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:19:34] local.INFO: Processing buffer {"connection_id":160794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:19:34] local.INFO: IMEI packet received {"connection_id":160794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":160794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:19:34] local.INFO: TCP Data received {"connection_id":160794,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f163660012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f163660012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:19:34] local.INFO: Processing buffer {"connection_id":160794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f163660012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:19:34] local.INFO: Packet analysis {"connection_id":160794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f16"} 
[2026-08-23 20:19:34] local.INFO: Extracted packet for processing {"connection_id":160794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f16"} 
[2026-08-23 20:19:34] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599067904001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787496380000,"timestamp_ms":1787496380000,"timestamp_seconds":1787496380,"priority":1,"record_length":96,"hex_timestamp":"000001a02f163660"} 
[2026-08-23 20:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 20:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 20:19:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 20:19:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185656,"note":"Value kept but may cause issues"} 
[2026-08-23 20:19:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 20:19:34] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-7061644215716937727,"note":"Value kept but may cause issues"} 
[2026-08-23 20:19:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3392237600729012588,"note":"Value kept but may cause issues"} 
[2026-08-23 20:19:34] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513389741681279246,"note":"Value kept but may cause issues"} 
[2026-08-23 20:19:34] local.WARNING: Large IO value detected {"io_id":61,"raw_value":76045522711871488,"note":"Value kept but may cause issues"} 
[2026-08-23 20:19:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832600,"note":"Value kept but may cause issues"} 
[2026-08-23 20:19:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146075893966,"note":"Value kept but may cause issues"} 
[2026-08-23 20:19:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3975151677,"note":"Value kept but may cause issues"} 
[2026-08-23 20:19:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 20:19:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692396,"note":"Value kept but may cause issues"} 
[2026-08-23 20:19:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,36,160,146,45,192,236,61,41,10,66,64,42,238,1,240,53,227,47,31,4,113,205,74,104,239,48,2,56,7,44],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 20:19:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395810284841730048,"timestamp_seconds":4395810284841730.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 20:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599067904001,"66":12341,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599067904001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:19:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:19:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599067904001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":160794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:19:34] local.INFO: GPS data processed {"connection_id":160794,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:19:34] local.INFO: Acknowledgment sent {"connection_id":160794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:19:45] local.INFO: TCP Data received {"connection_id":161030,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:19:45] local.INFO: Processing buffer {"connection_id":161030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:19:45] local.INFO: IMEI packet received {"connection_id":161030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":161030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:19:50] local.INFO: TCP Data received {"connection_id":161030,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:19:50] local.INFO: Processing buffer {"connection_id":161030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:19:50] local.INFO: IMEI packet received {"connection_id":161030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":161030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:19:55] local.INFO: TCP Data received {"connection_id":161030,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:19:55] local.INFO: Processing buffer {"connection_id":161030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:19:55] local.INFO: Packet analysis {"connection_id":161030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:19:55] local.INFO: Extracted packet for processing {"connection_id":161030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:19:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599028736001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787496507000,"timestamp_ms":1787496507000,"timestamp_seconds":1787496507,"priority":1,"record_length":96,"hex_timestamp":"000001a02f182678"} 
[2026-08-23 20:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:19:55] 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-08-23 20:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599028736001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599028736001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:19:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:19:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599028736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":161030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:19:55] local.INFO: GPS data processed {"connection_id":161030,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:19:55] local.INFO: Acknowledgment sent {"connection_id":161030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:20:06] local.INFO: TCP Data received {"connection_id":160794,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f168c50012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f168c50012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:20:06] local.INFO: Processing buffer {"connection_id":160794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f168c50012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:20:06] local.INFO: Packet analysis {"connection_id":160794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f16"} 
[2026-08-23 20:20:06] local.INFO: Extracted packet for processing {"connection_id":160794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f16"} 
[2026-08-23 20:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599073280001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787496402000,"timestamp_ms":1787496402000,"timestamp_seconds":1787496402,"priority":1,"record_length":96,"hex_timestamp":"000001a02f168c50"} 
[2026-08-23 20:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:20:06] local.INFO: 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-08-23 20:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:20:06] 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-08-23 20:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599073280001,"66":12319,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599073280001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:20:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599073280001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":160794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:20:06] local.INFO: GPS data processed {"connection_id":160794,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:20:06] local.INFO: Acknowledgment sent {"connection_id":160794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:20:29] local.INFO: TCP Data received {"connection_id":163375,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:20:29] local.INFO: Processing buffer {"connection_id":163375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:20:29] local.INFO: IMEI packet received {"connection_id":163375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":163375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:20:29] local.INFO: TCP Data received {"connection_id":161030,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:20:29] local.INFO: Processing buffer {"connection_id":161030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:20:29] local.INFO: Packet analysis {"connection_id":161030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:20:29] local.INFO: Extracted packet for processing {"connection_id":161030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:20:29] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599028736001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787496507000,"timestamp_ms":1787496507000,"timestamp_seconds":1787496507,"priority":1,"record_length":96,"hex_timestamp":"000001a02f182678"} 
[2026-08-23 20:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:20: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-08-23 20:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599028736001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599028736001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:20:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:20:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599028736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":161030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:20:29] local.INFO: GPS data processed {"connection_id":161030,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:20:29] local.INFO: Acknowledgment sent {"connection_id":161030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:20:29] local.INFO: TCP Data received {"connection_id":163375,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:20:29] local.INFO: Processing buffer {"connection_id":163375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:20:29] local.INFO: IMEI packet received {"connection_id":163375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":163375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:20:34] local.INFO: TCP Data received {"connection_id":163375,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:20:34] local.INFO: Processing buffer {"connection_id":163375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:20:34] local.INFO: IMEI packet received {"connection_id":163375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":163375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:20:34] local.INFO: TCP Data received {"connection_id":163375,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f16de58012d1968c0071fecf0003d010e28..."} 
[2026-08-23 20:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f16de58012d1968c0071fecf0003d010e28..."} 
[2026-08-23 20:20:34] local.INFO: Processing buffer {"connection_id":163375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f16de58012d1968c0071fecf0003d010e28..."} 
[2026-08-23 20:20:34] local.INFO: Packet analysis {"connection_id":163375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f16"} 
[2026-08-23 20:20:34] local.INFO: Extracted packet for processing {"connection_id":163375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f16"} 
[2026-08-23 20:20:34] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599078912001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787496423000,"timestamp_ms":1787496423000,"timestamp_seconds":1787496423,"priority":1,"record_length":96,"hex_timestamp":"000001a02f16de58"} 
[2026-08-23 20:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 20:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599078912001,"66":12341,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599078912001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:20:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:20:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599078912001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":163375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:20:35] local.INFO: GPS data processed {"connection_id":163375,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:20:35] local.INFO: Acknowledgment sent {"connection_id":163375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:21:00] local.INFO: TCP Data received {"connection_id":163376,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:21:00] local.INFO: Processing buffer {"connection_id":163376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:21:00] local.INFO: IMEI packet received {"connection_id":163376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":163376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:21:06] local.INFO: TCP Data received {"connection_id":163375,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f173060012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f173060012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:21:06] local.INFO: Processing buffer {"connection_id":163375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f173060012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:21:06] local.INFO: Packet analysis {"connection_id":163375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f17"} 
[2026-08-23 20:21:06] local.INFO: Extracted packet for processing {"connection_id":163375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f17"} 
[2026-08-23 20:21:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599084288001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787496444000,"timestamp_ms":1787496444000,"timestamp_seconds":1787496444,"priority":1,"record_length":96,"hex_timestamp":"000001a02f173060"} 
[2026-08-23 20:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:21:06] 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-08-23 20:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599084288001,"66":11700,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599084288001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:21:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599084288001,"power":11700,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":163375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:21:06] local.INFO: GPS data processed {"connection_id":163375,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:21:06] local.INFO: Acknowledgment sent {"connection_id":163375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:21:09] local.INFO: TCP Data received {"connection_id":163376,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:21:09] local.INFO: Processing buffer {"connection_id":163376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:21:09] local.INFO: IMEI packet received {"connection_id":163376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":163376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:21:12] local.INFO: TCP Data received {"connection_id":163376,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:21:12] local.INFO: Processing buffer {"connection_id":163376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:21:12] local.INFO: Packet analysis {"connection_id":163376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:21:12] local.INFO: Extracted packet for processing {"connection_id":163376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:21:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599028736001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787496507000,"timestamp_ms":1787496507000,"timestamp_seconds":1787496507,"priority":1,"record_length":96,"hex_timestamp":"000001a02f182678"} 
[2026-08-23 20:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:21: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-08-23 20:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599028736001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599028736001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:21:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:21:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599028736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":163376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:21:12] local.INFO: GPS data processed {"connection_id":163376,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:21:12] local.INFO: Acknowledgment sent {"connection_id":163376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:21:29] local.INFO: TCP Data received {"connection_id":163377,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:21:29] local.INFO: Processing buffer {"connection_id":163377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:21:29] local.INFO: IMEI packet received {"connection_id":163377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":163377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:21:32] local.INFO: TCP Data received {"connection_id":163377,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:21:32] local.INFO: Processing buffer {"connection_id":163377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:21:32] local.INFO: IMEI packet received {"connection_id":163377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":163377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:21:33] local.INFO: TCP Data received {"connection_id":163377,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:21:33] local.INFO: Processing buffer {"connection_id":163377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:21:33] local.INFO: IMEI packet received {"connection_id":163377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":163377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:21:34] local.INFO: TCP Data received {"connection_id":163377,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f177e80012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f177e80012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:21:34] local.INFO: Processing buffer {"connection_id":163377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f177e80012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:21:34] local.INFO: Packet analysis {"connection_id":163377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f17"} 
[2026-08-23 20:21:34] local.INFO: Extracted packet for processing {"connection_id":163377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f17"} 
[2026-08-23 20:21:34] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599089664001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787496464000,"timestamp_ms":1787496464000,"timestamp_seconds":1787496464,"priority":1,"record_length":96,"hex_timestamp":"000001a02f177e80"} 
[2026-08-23 20:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-23 20:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599089664001,"66":11667,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599089664001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:21:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:21:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599089664001,"power":11667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":163377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:21:34] local.INFO: GPS data processed {"connection_id":163377,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:21:34] local.INFO: Acknowledgment sent {"connection_id":163377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:21:39] local.INFO: TCP Data received {"connection_id":163377,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f17d088012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f17d088012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:21:39] local.INFO: Processing buffer {"connection_id":163377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f17d088012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:21:39] local.INFO: Packet analysis {"connection_id":163377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f17"} 
[2026-08-23 20:21:39] local.INFO: Extracted packet for processing {"connection_id":163377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f17"} 
[2026-08-23 20:21:39] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599094784001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787496485000,"timestamp_ms":1787496485000,"timestamp_seconds":1787496485,"priority":1,"record_length":96,"hex_timestamp":"000001a02f17d088"} 
[2026-08-23 20:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:21:39] 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-08-23 20:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-23 20:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1746,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599094784001,"66":12287,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599094784001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:21:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:21:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599094784001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":163377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:21:39] local.INFO: GPS data processed {"connection_id":163377,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:21:39] local.INFO: Acknowledgment sent {"connection_id":163377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:21:45] local.INFO: TCP Data received {"connection_id":161031,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:21:45] local.INFO: Processing buffer {"connection_id":161031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:21:45] local.INFO: IMEI packet received {"connection_id":161031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":161031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:21:50] local.INFO: TCP Data received {"connection_id":161031,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:21:50] local.INFO: Processing buffer {"connection_id":161031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:21:50] local.INFO: IMEI packet received {"connection_id":161031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":161031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:21:52] local.INFO: TCP Data received {"connection_id":161031,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:21:52] local.INFO: Processing buffer {"connection_id":161031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:21:52] local.INFO: Packet analysis {"connection_id":161031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:21:52] local.INFO: Extracted packet for processing {"connection_id":161031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:21:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:21: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-08-23 20:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599028736001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787496507000,"timestamp_ms":1787496507000,"timestamp_seconds":1787496507,"priority":1,"record_length":96,"hex_timestamp":"000001a02f182678"} 
[2026-08-23 20:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:21: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-08-23 20:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:21:52] 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-08-23 20:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599028736001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599028736001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:21:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:21:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599028736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":161031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:21:52] local.INFO: GPS data processed {"connection_id":161031,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:21:52] local.INFO: Acknowledgment sent {"connection_id":161031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:22:10] local.INFO: TCP Data received {"connection_id":163377,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f182290012d1968c0071fecf0003d010e28..."} 
[2026-08-23 20:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f182290012d1968c0071fecf0003d010e28..."} 
[2026-08-23 20:22:10] local.INFO: Processing buffer {"connection_id":163377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f182290012d1968c0071fecf0003d010e28..."} 
[2026-08-23 20:22:10] local.INFO: Packet analysis {"connection_id":163377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:22:10] local.INFO: Extracted packet for processing {"connection_id":163377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:22:10] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599100160001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787496506000,"timestamp_ms":1787496506000,"timestamp_seconds":1787496506,"priority":1,"record_length":96,"hex_timestamp":"000001a02f182290"} 
[2026-08-23 20:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 20:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599100160001,"66":12232,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599100160001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:22:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:22:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599100160001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":163377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:22:10] local.INFO: GPS data processed {"connection_id":163377,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:22:10] local.INFO: Acknowledgment sent {"connection_id":163377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:22:23] local.INFO: TCP Data received {"connection_id":161031,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:22:23] local.INFO: Processing buffer {"connection_id":161031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:22:23] local.INFO: Packet analysis {"connection_id":161031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:22:23] local.INFO: Extracted packet for processing {"connection_id":161031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:22:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599028736001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787496507000,"timestamp_ms":1787496507000,"timestamp_seconds":1787496507,"priority":1,"record_length":96,"hex_timestamp":"000001a02f182678"} 
[2026-08-23 20:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20: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-08-23 20:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599028736001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599028736001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:22:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:22:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599028736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":161031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:22:23] local.INFO: GPS data processed {"connection_id":161031,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:22:23] local.INFO: Acknowledgment sent {"connection_id":161031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:22:28] local.INFO: TCP Data received {"connection_id":161976,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:22:28] local.INFO: Processing buffer {"connection_id":161976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:22:28] local.INFO: IMEI packet received {"connection_id":161976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":161976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:22:34] local.INFO: TCP Data received {"connection_id":161976,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:22:34] local.INFO: Processing buffer {"connection_id":161976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:22:34] local.INFO: IMEI packet received {"connection_id":161976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":161976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:22:34] local.INFO: TCP Data received {"connection_id":161976,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f187498012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f187498012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:22:34] local.INFO: Processing buffer {"connection_id":161976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f187498012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:22:34] local.INFO: Packet analysis {"connection_id":161976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:22:34] local.INFO: Extracted packet for processing {"connection_id":161976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:22:34] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599105536001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787496527000,"timestamp_ms":1787496527000,"timestamp_seconds":1787496527,"priority":1,"record_length":96,"hex_timestamp":"000001a02f187498"} 
[2026-08-23 20:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 20:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599105536001,"66":12287,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599105536001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:22:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:22:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599105536001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":161976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:22:35] local.INFO: GPS data processed {"connection_id":161976,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:22:35] local.INFO: Acknowledgment sent {"connection_id":161976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:22:45] local.INFO: TCP Data received {"connection_id":161977,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:22:45] local.INFO: Processing buffer {"connection_id":161977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:22:45] local.INFO: IMEI packet received {"connection_id":161977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":161977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:22:50] local.INFO: TCP Data received {"connection_id":161977,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:22:50] local.INFO: Processing buffer {"connection_id":161977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:22:50] local.INFO: IMEI packet received {"connection_id":161977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":161977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:22:51] local.INFO: TCP Data received {"connection_id":161977,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:22:51] local.INFO: Processing buffer {"connection_id":161977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:22:51] local.INFO: Packet analysis {"connection_id":161977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:22:51] local.INFO: Extracted packet for processing {"connection_id":161977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:22:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599028736001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787496507000,"timestamp_ms":1787496507000,"timestamp_seconds":1787496507,"priority":1,"record_length":96,"hex_timestamp":"000001a02f182678"} 
[2026-08-23 20:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:22: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-08-23 20:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599028736001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599028736001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:22:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:22:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599028736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":161977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:22:51] local.INFO: GPS data processed {"connection_id":161977,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:22:51] local.INFO: Acknowledgment sent {"connection_id":161977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:23:06] local.INFO: TCP Data received {"connection_id":161976,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f18c6a0012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f18c6a0012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:23:06] local.INFO: Processing buffer {"connection_id":161976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f18c6a0012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:23:06] local.INFO: Packet analysis {"connection_id":161976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:23:06] local.INFO: Extracted packet for processing {"connection_id":161976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599110912001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787496548000,"timestamp_ms":1787496548000,"timestamp_seconds":1787496548,"priority":1,"record_length":96,"hex_timestamp":"000001a02f18c6a0"} 
[2026-08-23 20:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 20:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599110912001,"66":12319,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599110912001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:23:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599110912001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":161976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:23:06] local.INFO: GPS data processed {"connection_id":161976,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:23:06] local.INFO: Acknowledgment sent {"connection_id":161976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:23:23] local.INFO: TCP Data received {"connection_id":161977,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:23:23] local.INFO: Processing buffer {"connection_id":161977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:23:23] local.INFO: Packet analysis {"connection_id":161977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:23:23] local.INFO: Extracted packet for processing {"connection_id":161977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:23:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599028736001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787496507000,"timestamp_ms":1787496507000,"timestamp_seconds":1787496507,"priority":1,"record_length":96,"hex_timestamp":"000001a02f182678"} 
[2026-08-23 20:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599028736001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599028736001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:23:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:23:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599028736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":161977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:23:23] local.INFO: GPS data processed {"connection_id":161977,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:23:23] local.INFO: Acknowledgment sent {"connection_id":161977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:23:28] local.INFO: TCP Data received {"connection_id":161032,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:23:28] local.INFO: Processing buffer {"connection_id":161032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:23:28] local.INFO: IMEI packet received {"connection_id":161032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":161032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:23:34] local.INFO: TCP Data received {"connection_id":161032,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:23:34] local.INFO: Processing buffer {"connection_id":161032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:23:34] local.INFO: IMEI packet received {"connection_id":161032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":161032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:23:34] local.INFO: TCP Data received {"connection_id":161032,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f1918a8012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f1918a8012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:23:34] local.INFO: Processing buffer {"connection_id":161032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f1918a8012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:23:34] local.INFO: Packet analysis {"connection_id":161032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f19"} 
[2026-08-23 20:23:34] local.INFO: Extracted packet for processing {"connection_id":161032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f19"} 
[2026-08-23 20:23:34] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599116288001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787496569000,"timestamp_ms":1787496569000,"timestamp_seconds":1787496569,"priority":1,"record_length":96,"hex_timestamp":"000001a02f1918a8"} 
[2026-08-23 20:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 20:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599116288001,"66":11743,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599116288001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:23:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:23:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599116288001,"power":11743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":161032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:23:35] local.INFO: GPS data processed {"connection_id":161032,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:23:35] local.INFO: Acknowledgment sent {"connection_id":161032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:23:45] local.INFO: TCP Data received {"connection_id":160795,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:23:45] local.INFO: Processing buffer {"connection_id":160795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:23:45] local.INFO: IMEI packet received {"connection_id":160795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":160795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:23:51] local.INFO: TCP Data received {"connection_id":160795,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:23:51] local.INFO: Processing buffer {"connection_id":160795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:23:51] local.INFO: IMEI packet received {"connection_id":160795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":160795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:23:52] local.INFO: TCP Data received {"connection_id":160795,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:23:52] local.INFO: Processing buffer {"connection_id":160795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f182678012d34c58006aa40600006011428..."} 
[2026-08-23 20:23:52] local.INFO: Packet analysis {"connection_id":160795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:23:52] local.INFO: Extracted packet for processing {"connection_id":160795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f18"} 
[2026-08-23 20:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599028736001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787496507000,"timestamp_ms":1787496507000,"timestamp_seconds":1787496507,"priority":1,"record_length":96,"hex_timestamp":"000001a02f182678"} 
[2026-08-23 20:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:23:52] 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-08-23 20:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599028736001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599028736001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:23:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599028736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":160795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:23:52] local.INFO: GPS data processed {"connection_id":160795,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:23:52] local.INFO: Acknowledgment sent {"connection_id":160795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:24:06] local.INFO: TCP Data received {"connection_id":161032,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f196ab0012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f196ab0012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:24:06] local.INFO: Processing buffer {"connection_id":161032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f196ab0012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:24:06] local.INFO: Packet analysis {"connection_id":161032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f19"} 
[2026-08-23 20:24:06] local.INFO: Extracted packet for processing {"connection_id":161032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f19"} 
[2026-08-23 20:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599121664001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787496590000,"timestamp_ms":1787496590000,"timestamp_seconds":1787496590,"priority":1,"record_length":96,"hex_timestamp":"000001a02f196ab0"} 
[2026-08-23 20:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-23 20:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599121664001,"66":12319,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599121664001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:24:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599121664001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":161032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:24:06] local.INFO: GPS data processed {"connection_id":161032,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:24:06] local.INFO: Acknowledgment sent {"connection_id":161032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:24:24] local.INFO: TCP Data received {"connection_id":160795,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:24:24] local.INFO: Processing buffer {"connection_id":160795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:24:24] local.INFO: Packet analysis {"connection_id":160795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f1c"} 
[2026-08-23 20:24:24] local.INFO: Extracted packet for processing {"connection_id":160795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f1c"} 
[2026-08-23 20:24:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599105792001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787496808000,"timestamp_ms":1787496808000,"timestamp_seconds":1787496808,"priority":1,"record_length":96,"hex_timestamp":"000001a02f1cbe40"} 
[2026-08-23 20:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599105792001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599105792001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:24:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:24:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599105792001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":160795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:24:24] local.INFO: GPS data processed {"connection_id":160795,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:24:24] local.INFO: Acknowledgment sent {"connection_id":160795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:24:34] local.INFO: TCP Data received {"connection_id":163378,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:24:34] local.INFO: Processing buffer {"connection_id":163378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:24:34] local.INFO: IMEI packet received {"connection_id":163378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":163378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:24:39] local.INFO: TCP Data received {"connection_id":163378,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:24:39] local.INFO: Processing buffer {"connection_id":163378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:24:39] local.INFO: IMEI packet received {"connection_id":163378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":163378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:24:39] local.INFO: TCP Data received {"connection_id":163378,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f19bcb8012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f19bcb8012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:24:39] local.INFO: Processing buffer {"connection_id":163378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f19bcb8012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:24:39] local.INFO: Packet analysis {"connection_id":163378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f19"} 
[2026-08-23 20:24:39] local.INFO: Extracted packet for processing {"connection_id":163378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f19"} 
[2026-08-23 20:24:39] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599127040001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787496611000,"timestamp_ms":1787496611000,"timestamp_seconds":1787496611,"priority":1,"record_length":96,"hex_timestamp":"000001a02f19bcb8"} 
[2026-08-23 20:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:24:39] 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-08-23 20:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 20:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599127040001,"66":12341,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599127040001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:24:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:24:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599127040001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":163378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:24:39] local.INFO: GPS data processed {"connection_id":163378,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:24:39] local.INFO: Acknowledgment sent {"connection_id":163378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:24:41] local.INFO: TCP Data received {"connection_id":163378,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f1a0ec0012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f1a0ec0012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:24:41] local.INFO: Processing buffer {"connection_id":163378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f1a0ec0012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:24:41] local.INFO: Packet analysis {"connection_id":163378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f1a"} 
[2026-08-23 20:24:41] local.INFO: Extracted packet for processing {"connection_id":163378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f1a"} 
[2026-08-23 20:24:41] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599132416001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787496632000,"timestamp_ms":1787496632000,"timestamp_seconds":1787496632,"priority":1,"record_length":96,"hex_timestamp":"000001a02f1a0ec0"} 
[2026-08-23 20:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:24:41] 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-08-23 20: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-08-23 20:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599132416001,"66":12298,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599132416001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:24:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:24:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599132416001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":163378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:24:41] local.INFO: GPS data processed {"connection_id":163378,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:24:41] local.INFO: Acknowledgment sent {"connection_id":163378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:24:45] local.INFO: TCP Data received {"connection_id":163379,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:24:45] local.INFO: Processing buffer {"connection_id":163379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:24:45] local.INFO: IMEI packet received {"connection_id":163379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":163379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:24:50] local.INFO: TCP Data received {"connection_id":163379,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:24:50] local.INFO: Processing buffer {"connection_id":163379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:24:50] local.INFO: IMEI packet received {"connection_id":163379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":163379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:24:51] local.INFO: TCP Data received {"connection_id":163379,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:24:51] local.INFO: Processing buffer {"connection_id":163379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:24:51] local.INFO: Packet analysis {"connection_id":163379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f1c"} 
[2026-08-23 20:24:51] local.INFO: Extracted packet for processing {"connection_id":163379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f1c"} 
[2026-08-23 20:24:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599105792001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787496808000,"timestamp_ms":1787496808000,"timestamp_seconds":1787496808,"priority":1,"record_length":96,"hex_timestamp":"000001a02f1cbe40"} 
[2026-08-23 20:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599105792001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599105792001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:24:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:24:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599105792001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":163379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:24:51] local.INFO: GPS data processed {"connection_id":163379,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:24:51] local.INFO: Acknowledgment sent {"connection_id":163379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:25:12] local.INFO: TCP Data received {"connection_id":163378,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f1a60c8012d1968c0071fecf0003d010e27..."} 
[2026-08-23 20:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f1a60c8012d1968c0071fecf0003d010e27..."} 
[2026-08-23 20:25:12] local.INFO: Processing buffer {"connection_id":163378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f1a60c8012d1968c0071fecf0003d010e27..."} 
[2026-08-23 20:25:12] local.INFO: Packet analysis {"connection_id":163378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f1a"} 
[2026-08-23 20:25:12] local.INFO: Extracted packet for processing {"connection_id":163378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f1a"} 
[2026-08-23 20:25:12] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599137792001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787496653000,"timestamp_ms":1787496653000,"timestamp_seconds":1787496653,"priority":1,"record_length":96,"hex_timestamp":"000001a02f1a60c8"} 
[2026-08-23 20:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 20:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:12] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185656,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:12] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-7061644215716937727,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3393410126800820584,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:12] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513389398083830030,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:12] local.WARNING: Large IO value detected {"io_id":61,"raw_value":76042224176988160,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:12] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832602,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:12] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002797612990670,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:12] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:12] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3975151677,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 20:25:12] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:12] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692396,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:12] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,36,160,188,45,192,236,61,42,10,66,106,41,1,240,223,227,47,31,4,113,205,116,104,239,2,56,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 20:25:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395810284841730048,"timestamp_seconds":4395810284841730.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 20:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599137792001,"66":12319,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599137792001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:25:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:25:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599137792001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":163378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:25:12] local.INFO: GPS data processed {"connection_id":163378,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:25:12] local.INFO: Acknowledgment sent {"connection_id":163378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:25:23] local.INFO: TCP Data received {"connection_id":163379,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:25:23] local.INFO: Processing buffer {"connection_id":163379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:25:23] local.INFO: Packet analysis {"connection_id":163379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f1c"} 
[2026-08-23 20:25:23] local.INFO: Extracted packet for processing {"connection_id":163379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f1c"} 
[2026-08-23 20:25:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599105792001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787496808000,"timestamp_ms":1787496808000,"timestamp_seconds":1787496808,"priority":1,"record_length":96,"hex_timestamp":"000001a02f1cbe40"} 
[2026-08-23 20:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:25:23] 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-08-23 20:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599105792001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599105792001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:25:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:25:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599105792001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":163379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:25:23] local.INFO: GPS data processed {"connection_id":163379,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:25:23] local.INFO: Acknowledgment sent {"connection_id":163379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:25:29] local.INFO: TCP Data received {"connection_id":161978,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:25:29] local.INFO: Processing buffer {"connection_id":161978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:25:29] local.INFO: IMEI packet received {"connection_id":161978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":161978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:25:34] local.INFO: TCP Data received {"connection_id":161978,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:25:34] local.INFO: Processing buffer {"connection_id":161978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:25:34] local.INFO: IMEI packet received {"connection_id":161978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":161978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:25:34] local.INFO: TCP Data received {"connection_id":161978,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f1ab2d0012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f1ab2d0012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:25:34] local.INFO: Processing buffer {"connection_id":161978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f1ab2d0012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:25:34] local.INFO: Packet analysis {"connection_id":161978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f1a"} 
[2026-08-23 20:25:34] local.INFO: Extracted packet for processing {"connection_id":161978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f1a"} 
[2026-08-23 20:25:34] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599143168001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787496674000,"timestamp_ms":1787496674000,"timestamp_seconds":1787496674,"priority":1,"record_length":96,"hex_timestamp":"000001a02f1ab2d0"} 
[2026-08-23 20:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 20:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599143168001,"66":12341,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599143168001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:25:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:25:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599143168001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":161978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:25:35] local.INFO: GPS data processed {"connection_id":161978,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:25:35] local.INFO: Acknowledgment sent {"connection_id":161978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:25:45] local.INFO: TCP Data received {"connection_id":160796,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:25:45] local.INFO: Processing buffer {"connection_id":160796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:25:45] local.INFO: IMEI packet received {"connection_id":160796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":160796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:25:50] local.INFO: TCP Data received {"connection_id":160796,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:25:50] local.INFO: Processing buffer {"connection_id":160796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:25:50] local.INFO: IMEI packet received {"connection_id":160796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":160796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:25:51] local.INFO: TCP Data received {"connection_id":160796,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:25:51] local.INFO: Processing buffer {"connection_id":160796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:25:51] local.INFO: Packet analysis {"connection_id":160796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f1c"} 
[2026-08-23 20:25:51] local.INFO: Extracted packet for processing {"connection_id":160796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f1c"} 
[2026-08-23 20:25:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599105792001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787496808000,"timestamp_ms":1787496808000,"timestamp_seconds":1787496808,"priority":1,"record_length":96,"hex_timestamp":"000001a02f1cbe40"} 
[2026-08-23 20:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599105792001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599105792001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:25:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:25:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599105792001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":160796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:25:51] local.INFO: GPS data processed {"connection_id":160796,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:25:51] local.INFO: Acknowledgment sent {"connection_id":160796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:26:05] local.INFO: TCP Data received {"connection_id":161978,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f1b08c0012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f1b08c0012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:26:05] local.INFO: Processing buffer {"connection_id":161978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f1b08c0012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:26:05] local.INFO: Packet analysis {"connection_id":161978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f1b"} 
[2026-08-23 20:26:05] local.INFO: Extracted packet for processing {"connection_id":161978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f1b"} 
[2026-08-23 20:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599148544001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787496696000,"timestamp_ms":1787496696000,"timestamp_seconds":1787496696,"priority":1,"record_length":96,"hex_timestamp":"000001a02f1b08c0"} 
[2026-08-23 20:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:26:05] 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-08-23 20: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-08-23 20:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599148544001,"66":12287,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599148544001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:26:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599148544001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":161978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:26:05] local.INFO: GPS data processed {"connection_id":161978,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:26:05] local.INFO: Acknowledgment sent {"connection_id":161978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:26:23] local.INFO: TCP Data received {"connection_id":160796,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:26:23] local.INFO: Processing buffer {"connection_id":160796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:26:23] local.INFO: Packet analysis {"connection_id":160796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f1c"} 
[2026-08-23 20:26:23] local.INFO: Extracted packet for processing {"connection_id":160796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f1c"} 
[2026-08-23 20:26:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599105792001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787496808000,"timestamp_ms":1787496808000,"timestamp_seconds":1787496808,"priority":1,"record_length":96,"hex_timestamp":"000001a02f1cbe40"} 
[2026-08-23 20:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:26:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599105792001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599105792001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:26:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:26:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599105792001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":160796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:26:23] local.INFO: GPS data processed {"connection_id":160796,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:26:23] local.INFO: Acknowledgment sent {"connection_id":160796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:26:29] local.INFO: TCP Data received {"connection_id":163380,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:26:29] local.INFO: Processing buffer {"connection_id":163380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:26:29] local.INFO: IMEI packet received {"connection_id":163380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":163380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:26:34] local.INFO: TCP Data received {"connection_id":163380,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:26:34] local.INFO: Processing buffer {"connection_id":163380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:26:34] local.INFO: IMEI packet received {"connection_id":163380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":163380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:26:34] local.INFO: TCP Data received {"connection_id":163380,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f1b5ac8012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f1b5ac8012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:26:34] local.INFO: Processing buffer {"connection_id":163380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f1b5ac8012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:26:34] local.INFO: Packet analysis {"connection_id":163380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f1b"} 
[2026-08-23 20:26:34] local.INFO: Extracted packet for processing {"connection_id":163380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f1b"} 
[2026-08-23 20:26:34] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599154176001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787496717000,"timestamp_ms":1787496717000,"timestamp_seconds":1787496717,"priority":1,"record_length":96,"hex_timestamp":"000001a02f1b5ac8"} 
[2026-08-23 20:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 20:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599154176001,"66":12341,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599154176001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:26:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:26:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599154176001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":163380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:26:34] local.INFO: GPS data processed {"connection_id":163380,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:26:34] local.INFO: Acknowledgment sent {"connection_id":163380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:26:50] local.INFO: TCP Data received {"connection_id":161033,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:26:50] local.INFO: Processing buffer {"connection_id":161033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:26:50] local.INFO: IMEI packet received {"connection_id":161033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":161033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:26:55] local.INFO: TCP Data received {"connection_id":161033,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:26:55] local.INFO: Processing buffer {"connection_id":161033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:26:55] local.INFO: IMEI packet received {"connection_id":161033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":161033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:26:56] local.INFO: TCP Data received {"connection_id":161033,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:26:56] local.INFO: Processing buffer {"connection_id":161033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:26:56] local.INFO: Packet analysis {"connection_id":161033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f1c"} 
[2026-08-23 20:26:56] local.INFO: Extracted packet for processing {"connection_id":161033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f1c"} 
[2026-08-23 20:26:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599105792001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787496808000,"timestamp_ms":1787496808000,"timestamp_seconds":1787496808,"priority":1,"record_length":96,"hex_timestamp":"000001a02f1cbe40"} 
[2026-08-23 20:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599105792001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599105792001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:26:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:26:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599105792001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":161033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:26:56] local.INFO: GPS data processed {"connection_id":161033,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:26:56] local.INFO: Acknowledgment sent {"connection_id":161033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:27:01] local.INFO: TCP Data received {"connection_id":161033,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:27:01] local.INFO: Processing buffer {"connection_id":161033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:27:01] local.INFO: Packet analysis {"connection_id":161033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f1c"} 
[2026-08-23 20:27:01] local.INFO: Extracted packet for processing {"connection_id":161033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f1c"} 
[2026-08-23 20:27:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599105792001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787496808000,"timestamp_ms":1787496808000,"timestamp_seconds":1787496808,"priority":1,"record_length":96,"hex_timestamp":"000001a02f1cbe40"} 
[2026-08-23 20:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599105792001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599105792001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:27:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:27:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599105792001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":161033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:27:01] local.INFO: GPS data processed {"connection_id":161033,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:27:01] local.INFO: Acknowledgment sent {"connection_id":161033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:27:06] local.INFO: TCP Data received {"connection_id":163380,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f1bacd0012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f1bacd0012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:27:06] local.INFO: Processing buffer {"connection_id":163380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f1bacd0012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:27:06] local.INFO: Packet analysis {"connection_id":163380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f1b"} 
[2026-08-23 20:27:06] local.INFO: Extracted packet for processing {"connection_id":163380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f1b"} 
[2026-08-23 20:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599159552001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787496738000,"timestamp_ms":1787496738000,"timestamp_seconds":1787496738,"priority":1,"record_length":96,"hex_timestamp":"000001a02f1bacd0"} 
[2026-08-23 20:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:27:06] 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-08-23 20:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599159552001,"66":12298,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599159552001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:27:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599159552001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":163380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:27:06] local.INFO: GPS data processed {"connection_id":163380,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:27:06] local.INFO: Acknowledgment sent {"connection_id":163380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:27:28] local.INFO: TCP Data received {"connection_id":161979,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:27:28] local.INFO: Processing buffer {"connection_id":161979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:27:28] local.INFO: IMEI packet received {"connection_id":161979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":161979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:27:29] local.INFO: TCP Data received {"connection_id":161979,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:27:29] local.INFO: Processing buffer {"connection_id":161979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:27:29] local.INFO: IMEI packet received {"connection_id":161979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":161979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:27:34] local.INFO: TCP Data received {"connection_id":161979,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:27:34] local.INFO: Processing buffer {"connection_id":161979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:27:34] local.INFO: IMEI packet received {"connection_id":161979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":161979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:27:34] local.INFO: TCP Data received {"connection_id":161979,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f1f2f40012d1968c0071fecf0003d010e2b..."} 
[2026-08-23 20:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f1f2f40012d1968c0071fecf0003d010e2b..."} 
[2026-08-23 20:27:34] local.INFO: Processing buffer {"connection_id":161979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f1f2f40012d1968c0071fecf0003d010e2b..."} 
[2026-08-23 20:27:34] local.INFO: Packet analysis {"connection_id":161979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f1f"} 
[2026-08-23 20:27:34] local.INFO: Extracted packet for processing {"connection_id":161979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f1f"} 
[2026-08-23 20:27:34] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 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-08-23 20:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599218432001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787496968000,"timestamp_ms":1787496968000,"timestamp_seconds":1787496968,"priority":1,"record_length":96,"hex_timestamp":"000001a02f1f2f40"} 
[2026-08-23 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-08-23 20:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 20:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:34] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185656,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:34] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-7061644215716937727,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3394763041499060584,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:34] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513389398083830030,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:34] local.WARNING: Large IO value detected {"io_id":61,"raw_value":76044423200243712,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:34] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832603,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:34] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491120586817742,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:34] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3003174264,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3975151677,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 20:27:34] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692396,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:34] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,36,160,139,45,192,236,61,42,10,66,57,44,231,1,240,255,227,47,31,4,113,205,67,104,239,2,56,7,40],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 20:27:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395810297726631936,"timestamp_seconds":4395810297726632.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 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-08-23 20:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599218432001,"66":12319,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599218432001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:27:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:27:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599218432001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":161979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:27:34] local.INFO: GPS data processed {"connection_id":161979,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:27:34] local.INFO: Acknowledgment sent {"connection_id":161979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:27:45] local.INFO: TCP Data received {"connection_id":160797,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:27:45] local.INFO: Processing buffer {"connection_id":160797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:27:45] local.INFO: IMEI packet received {"connection_id":160797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":160797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:27:50] local.INFO: TCP Data received {"connection_id":160797,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:27:50] local.INFO: Processing buffer {"connection_id":160797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:27:50] local.INFO: IMEI packet received {"connection_id":160797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":160797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:27:51] local.INFO: TCP Data received {"connection_id":160797,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:27:51] local.INFO: Processing buffer {"connection_id":160797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:27:51] local.INFO: Packet analysis {"connection_id":160797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f1c"} 
[2026-08-23 20:27:51] local.INFO: Extracted packet for processing {"connection_id":160797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f1c"} 
[2026-08-23 20:27:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599105792001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787496808000,"timestamp_ms":1787496808000,"timestamp_seconds":1787496808,"priority":1,"record_length":96,"hex_timestamp":"000001a02f1cbe40"} 
[2026-08-23 20:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:27:51] 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-08-23 20:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599105792001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599105792001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:27:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:27:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599105792001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":160797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:27:51] local.INFO: GPS data processed {"connection_id":160797,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:27:51] local.INFO: Acknowledgment sent {"connection_id":160797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:27:56] local.INFO: TCP Data received {"connection_id":160797,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:27:56] local.INFO: Processing buffer {"connection_id":160797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:27:56] local.INFO: Packet analysis {"connection_id":160797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f1c"} 
[2026-08-23 20:27:56] local.INFO: Extracted packet for processing {"connection_id":160797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f1c"} 
[2026-08-23 20:27:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599105792001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787496808000,"timestamp_ms":1787496808000,"timestamp_seconds":1787496808,"priority":1,"record_length":96,"hex_timestamp":"000001a02f1cbe40"} 
[2026-08-23 20:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599105792001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599105792001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:27:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:27:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599105792001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":160797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:27:56] local.INFO: GPS data processed {"connection_id":160797,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:27:56] local.INFO: Acknowledgment sent {"connection_id":160797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:28:05] local.INFO: TCP Data received {"connection_id":161979,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f1f8148012d1968c0071fecf0003d010e2c..."} 
[2026-08-23 20:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f1f8148012d1968c0071fecf0003d010e2c..."} 
[2026-08-23 20:28:05] local.INFO: Processing buffer {"connection_id":161979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f1f8148012d1968c0071fecf0003d010e2c..."} 
[2026-08-23 20:28:05] local.INFO: Packet analysis {"connection_id":161979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f1f"} 
[2026-08-23 20:28:05] local.INFO: Extracted packet for processing {"connection_id":161979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f1f"} 
[2026-08-23 20:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599223808001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787496989000,"timestamp_ms":1787496989000,"timestamp_seconds":1787496989,"priority":1,"record_length":96,"hex_timestamp":"000001a02f1f8148"} 
[2026-08-23 20:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 20:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599223808001,"66":12287,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599223808001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:28:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599223808001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":161979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:28:06] local.INFO: GPS data processed {"connection_id":161979,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:28:06] local.INFO: Acknowledgment sent {"connection_id":161979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:28:27] local.INFO: TCP Data received {"connection_id":160797,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:28:27] local.INFO: Processing buffer {"connection_id":160797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:28:27] local.INFO: Packet analysis {"connection_id":160797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f1c"} 
[2026-08-23 20:28:27] local.INFO: Extracted packet for processing {"connection_id":160797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f1c"} 
[2026-08-23 20:28:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599105792001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787496808000,"timestamp_ms":1787496808000,"timestamp_seconds":1787496808,"priority":1,"record_length":96,"hex_timestamp":"000001a02f1cbe40"} 
[2026-08-23 20:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599105792001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599105792001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:28:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:28:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599105792001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":160797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:28:27] local.INFO: GPS data processed {"connection_id":160797,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:28:27] local.INFO: Acknowledgment sent {"connection_id":160797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:28:28] local.INFO: TCP Data received {"connection_id":160798,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:28:28] local.INFO: Processing buffer {"connection_id":160798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:28:28] local.INFO: IMEI packet received {"connection_id":160798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":160798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:28:32] local.INFO: TCP Data received {"connection_id":160798,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:28:32] local.INFO: Processing buffer {"connection_id":160798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:28:32] local.INFO: IMEI packet received {"connection_id":160798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":160798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:28:33] local.INFO: TCP Data received {"connection_id":160798,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:28:33] local.INFO: Processing buffer {"connection_id":160798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:28:33] local.INFO: IMEI packet received {"connection_id":160798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":160798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:28:34] local.INFO: TCP Data received {"connection_id":160798,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f1fd738012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f1fd738012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:28:34] local.INFO: Processing buffer {"connection_id":160798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f1fd738012d1968c0071fecf0003d010e2a..."} 
[2026-08-23 20:28:34] local.INFO: Packet analysis {"connection_id":160798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f1f"} 
[2026-08-23 20:28:34] local.INFO: Extracted packet for processing {"connection_id":160798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f1f"} 
[2026-08-23 20:28:34] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599229184001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787497011000,"timestamp_ms":1787497011000,"timestamp_seconds":1787497011,"priority":1,"record_length":96,"hex_timestamp":"000001a02f1fd738"} 
[2026-08-23 20:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 20:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599229184001,"66":12298,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599229184001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:28:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:28:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599229184001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":160798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:28:34] local.INFO: GPS data processed {"connection_id":160798,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:28:34] local.INFO: Acknowledgment sent {"connection_id":160798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:28:45] local.INFO: TCP Data received {"connection_id":161034,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:28:45] local.INFO: Processing buffer {"connection_id":161034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:28:45] local.INFO: IMEI packet received {"connection_id":161034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":161034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:28:50] local.INFO: TCP Data received {"connection_id":161034,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:28:50] local.INFO: Processing buffer {"connection_id":161034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:28:50] local.INFO: IMEI packet received {"connection_id":161034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":161034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:28:51] local.INFO: TCP Data received {"connection_id":161034,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:28:51] local.INFO: Processing buffer {"connection_id":161034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f1cbe40012d34c58006aa40600006011421..."} 
[2026-08-23 20:28:51] local.INFO: Packet analysis {"connection_id":161034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f1c"} 
[2026-08-23 20:28:51] local.INFO: Extracted packet for processing {"connection_id":161034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f1c"} 
[2026-08-23 20:28:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599105792001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787496808000,"timestamp_ms":1787496808000,"timestamp_seconds":1787496808,"priority":1,"record_length":96,"hex_timestamp":"000001a02f1cbe40"} 
[2026-08-23 20:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599105792001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599105792001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:28:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:28:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599105792001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":161034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:28:51] local.INFO: GPS data processed {"connection_id":161034,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:28:51] local.INFO: Acknowledgment sent {"connection_id":161034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:29:05] local.INFO: TCP Data received {"connection_id":160798,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f202558012d1968c0071fecf0003d010e2b..."} 
[2026-08-23 20:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f202558012d1968c0071fecf0003d010e2b..."} 
[2026-08-23 20:29:05] local.INFO: Processing buffer {"connection_id":160798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f202558012d1968c0071fecf0003d010e2b..."} 
[2026-08-23 20:29:05] local.INFO: Packet analysis {"connection_id":160798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f20"} 
[2026-08-23 20:29:05] local.INFO: Extracted packet for processing {"connection_id":160798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f20"} 
[2026-08-23 20:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599234816001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787497031000,"timestamp_ms":1787497031000,"timestamp_seconds":1787497031,"priority":1,"record_length":96,"hex_timestamp":"000001a02f202558"} 
[2026-08-23 20:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-23 20:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:05] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185656,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:05] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-7061644215716937727,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3395033624438708584,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:05] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513389398083830030,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:05] local.WARNING: Large IO value detected {"io_id":61,"raw_value":76045522711871488,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832603,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:05] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483921332076750,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:05] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3975151677,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-23 20:29:05] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3221692396,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:05] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,36,160,129,45,192,236,61,44,10,66,47,43,221,1,240,227,31,4,113,205,57,104,239,48,2,56,7,42],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-23 20:29:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395810284841730048,"timestamp_seconds":4395810284841730.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-23 20:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599234816001,"66":12287,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599234816001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:29:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599234816001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":160798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:29:06] local.INFO: GPS data processed {"connection_id":160798,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:29:06] local.INFO: Acknowledgment sent {"connection_id":160798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:29:22] local.INFO: TCP Data received {"connection_id":161034,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:29:22] local.INFO: Processing buffer {"connection_id":161034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:29:22] local.INFO: Packet analysis {"connection_id":161034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f21"} 
[2026-08-23 20:29:22] local.INFO: Extracted packet for processing {"connection_id":161034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f21"} 
[2026-08-23 20:29:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599182848001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787497109000,"timestamp_ms":1787497109000,"timestamp_seconds":1787497109,"priority":1,"record_length":96,"hex_timestamp":"000001a02f215608"} 
[2026-08-23 20:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:29: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-08-23 20:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 20:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599182848001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599182848001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:29:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:29:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599182848001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":161034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:29:22] local.INFO: GPS data processed {"connection_id":161034,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:29:22] local.INFO: Acknowledgment sent {"connection_id":161034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:29:29] local.INFO: TCP Data received {"connection_id":163381,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:29:29] local.INFO: Processing buffer {"connection_id":163381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:29:29] local.INFO: IMEI packet received {"connection_id":163381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":163381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:29:34] local.INFO: TCP Data received {"connection_id":163381,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:29:34] local.INFO: Processing buffer {"connection_id":163381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:29:34] local.INFO: IMEI packet received {"connection_id":163381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":163381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:29:34] local.INFO: TCP Data received {"connection_id":163381,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f207760012d1968c0071fecf0003d010e2b..."} 
[2026-08-23 20:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f207760012d1968c0071fecf0003d010e2b..."} 
[2026-08-23 20:29:34] local.INFO: Processing buffer {"connection_id":163381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f207760012d1968c0071fecf0003d010e2b..."} 
[2026-08-23 20:29:34] local.INFO: Packet analysis {"connection_id":163381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f20"} 
[2026-08-23 20:29:34] local.INFO: Extracted packet for processing {"connection_id":163381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f20"} 
[2026-08-23 20:29:34] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599239936001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787497052000,"timestamp_ms":1787497052000,"timestamp_seconds":1787497052,"priority":1,"record_length":96,"hex_timestamp":"000001a02f207760"} 
[2026-08-23 20:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 20:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599239936001,"66":12319,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599239936001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:29:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:29:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599239936001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":163381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:29:35] local.INFO: GPS data processed {"connection_id":163381,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:29:35] local.INFO: Acknowledgment sent {"connection_id":163381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:29:45] local.INFO: TCP Data received {"connection_id":163382,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:29:45] local.INFO: Processing buffer {"connection_id":163382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:29:45] local.INFO: IMEI packet received {"connection_id":163382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":163382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:29:50] local.INFO: TCP Data received {"connection_id":163382,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:29:50] local.INFO: Processing buffer {"connection_id":163382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:29:50] local.INFO: IMEI packet received {"connection_id":163382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":163382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:29:52] local.INFO: TCP Data received {"connection_id":163382,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:29:52] local.INFO: Processing buffer {"connection_id":163382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:29:52] local.INFO: Packet analysis {"connection_id":163382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f21"} 
[2026-08-23 20:29:52] local.INFO: Extracted packet for processing {"connection_id":163382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f21"} 
[2026-08-23 20:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599182848001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787497109000,"timestamp_ms":1787497109000,"timestamp_seconds":1787497109,"priority":1,"record_length":96,"hex_timestamp":"000001a02f215608"} 
[2026-08-23 20:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 20:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599182848001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599182848001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:29:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:29:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599182848001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":163382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:29:52] local.INFO: GPS data processed {"connection_id":163382,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:29:52] local.INFO: Acknowledgment sent {"connection_id":163382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:30:06] local.INFO: TCP Data received {"connection_id":163381,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f20c968012d1968c0071fecf0003d010e2b..."} 
[2026-08-23 20:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f20c968012d1968c0071fecf0003d010e2b..."} 
[2026-08-23 20:30:06] local.INFO: Processing buffer {"connection_id":163381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f20c968012d1968c0071fecf0003d010e2b..."} 
[2026-08-23 20:30:06] local.INFO: Packet analysis {"connection_id":163381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f20"} 
[2026-08-23 20:30:06] local.INFO: Extracted packet for processing {"connection_id":163381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f20"} 
[2026-08-23 20:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599245312001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787497073000,"timestamp_ms":1787497073000,"timestamp_seconds":1787497073,"priority":1,"record_length":96,"hex_timestamp":"000001a02f20c968"} 
[2026-08-23 20:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 20:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599245312001,"66":13798,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599245312001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:30:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599245312001,"power":13798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":163381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:30:06] local.INFO: GPS data processed {"connection_id":163381,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:30:06] local.INFO: Acknowledgment sent {"connection_id":163381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:30:23] local.INFO: TCP Data received {"connection_id":163382,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:30:23] local.INFO: Processing buffer {"connection_id":163382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:30:23] local.INFO: Packet analysis {"connection_id":163382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f21"} 
[2026-08-23 20:30:23] local.INFO: Extracted packet for processing {"connection_id":163382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f21"} 
[2026-08-23 20:30:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599182848001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787497109000,"timestamp_ms":1787497109000,"timestamp_seconds":1787497109,"priority":1,"record_length":96,"hex_timestamp":"000001a02f215608"} 
[2026-08-23 20:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 20:30: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-08-23 20:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599182848001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599182848001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:30:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:30:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599182848001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":163382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:30:23] local.INFO: GPS data processed {"connection_id":163382,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:30:23] local.INFO: Acknowledgment sent {"connection_id":163382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:30:29] local.INFO: TCP Data received {"connection_id":163383,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:30:29] local.INFO: Processing buffer {"connection_id":163383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:30:29] local.INFO: IMEI packet received {"connection_id":163383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":163383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:30:34] local.INFO: TCP Data received {"connection_id":163383,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:30:34] local.INFO: Processing buffer {"connection_id":163383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:30:34] local.INFO: IMEI packet received {"connection_id":163383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":163383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:30:34] local.INFO: TCP Data received {"connection_id":163383,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:30:34] local.INFO: Processing buffer {"connection_id":163383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:30:34] local.INFO: Packet analysis {"connection_id":163383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f20"} 
[2026-08-23 20:30:34] local.INFO: Extracted packet for processing {"connection_id":163383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f20"} 
[2026-08-23 20:30:34] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599250688001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787497084000,"timestamp_ms":1787497084000,"timestamp_seconds":1787497084,"priority":1,"record_length":96,"hex_timestamp":"000001a02f20f460"} 
[2026-08-23 20:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-23 20:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-23 20:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599250688001,"66":12972,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599250688001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:30:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:30:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599250688001,"power":12972,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":163383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:30:34] local.INFO: GPS data processed {"connection_id":163383,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:30:34] local.INFO: Acknowledgment sent {"connection_id":163383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:30:45] local.INFO: TCP Data received {"connection_id":160799,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:30:45] local.INFO: Processing buffer {"connection_id":160799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:30:45] local.INFO: IMEI packet received {"connection_id":160799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":160799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:30:50] local.INFO: TCP Data received {"connection_id":160799,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:30:50] local.INFO: Processing buffer {"connection_id":160799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:30:50] local.INFO: IMEI packet received {"connection_id":160799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":160799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:30:51] local.INFO: TCP Data received {"connection_id":160799,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:30:51] local.INFO: Processing buffer {"connection_id":160799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:30:51] local.INFO: Packet analysis {"connection_id":160799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f21"} 
[2026-08-23 20:30:51] local.INFO: Extracted packet for processing {"connection_id":160799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f21"} 
[2026-08-23 20:30:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599182848001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787497109000,"timestamp_ms":1787497109000,"timestamp_seconds":1787497109,"priority":1,"record_length":96,"hex_timestamp":"000001a02f215608"} 
[2026-08-23 20:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 20:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599182848001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599182848001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:30:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:30:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599182848001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":160799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:30:51] local.INFO: GPS data processed {"connection_id":160799,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:30:51] local.INFO: Acknowledgment sent {"connection_id":160799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:31:05] local.INFO: TCP Data received {"connection_id":163383,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:31:05] local.INFO: Processing buffer {"connection_id":163383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:31:05] local.INFO: Packet analysis {"connection_id":163383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f20"} 
[2026-08-23 20:31:05] local.INFO: Extracted packet for processing {"connection_id":163383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f20"} 
[2026-08-23 20:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599253504001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787497084000,"timestamp_ms":1787497084000,"timestamp_seconds":1787497084,"priority":1,"record_length":96,"hex_timestamp":"000001a02f20f460"} 
[2026-08-23 20:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 20:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599253504001,"66":12972,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599253504001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:31:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599253504001,"power":12972,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":163383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:31:06] local.INFO: GPS data processed {"connection_id":163383,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:31:06] local.INFO: Acknowledgment sent {"connection_id":163383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:31:22] local.INFO: TCP Data received {"connection_id":160799,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:31:22] local.INFO: Processing buffer {"connection_id":160799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:31:22] local.INFO: Packet analysis {"connection_id":160799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f21"} 
[2026-08-23 20:31:22] local.INFO: Extracted packet for processing {"connection_id":160799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f21"} 
[2026-08-23 20:31:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599182848001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787497109000,"timestamp_ms":1787497109000,"timestamp_seconds":1787497109,"priority":1,"record_length":96,"hex_timestamp":"000001a02f215608"} 
[2026-08-23 20:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:31: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-08-23 20: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 20:31: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-08-23 20: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-08-23 20:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:31:22] 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-08-23 20:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599182848001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599182848001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:31:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:31:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599182848001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":160799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:31:22] local.INFO: GPS data processed {"connection_id":160799,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:31:22] local.INFO: Acknowledgment sent {"connection_id":160799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:31:28] local.INFO: TCP Data received {"connection_id":161980,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:31:28] local.INFO: Processing buffer {"connection_id":161980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:31:28] local.INFO: IMEI packet received {"connection_id":161980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":161980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:31:34] local.INFO: TCP Data received {"connection_id":161980,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:31:34] local.INFO: Processing buffer {"connection_id":161980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:31:34] local.INFO: IMEI packet received {"connection_id":161980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":161980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:31:34] local.INFO: TCP Data received {"connection_id":161980,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:31:34] local.INFO: Processing buffer {"connection_id":161980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:31:34] local.INFO: Packet analysis {"connection_id":161980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f20"} 
[2026-08-23 20:31:34] local.INFO: Extracted packet for processing {"connection_id":161980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f20"} 
[2026-08-23 20:31:34] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:31:34] 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-08-23 20:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599253504001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787497084000,"timestamp_ms":1787497084000,"timestamp_seconds":1787497084,"priority":1,"record_length":96,"hex_timestamp":"000001a02f20f460"} 
[2026-08-23 20:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 20:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599253504001,"66":12972,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599253504001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:31:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:31:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599253504001,"power":12972,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":161980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:31:34] local.INFO: GPS data processed {"connection_id":161980,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:31:34] local.INFO: Acknowledgment sent {"connection_id":161980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:31:50] local.INFO: TCP Data received {"connection_id":161036,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:31:50] local.INFO: Processing buffer {"connection_id":161036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:31:50] local.INFO: IMEI packet received {"connection_id":161036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":161036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:31:55] local.INFO: TCP Data received {"connection_id":161036,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:31:55] local.INFO: Processing buffer {"connection_id":161036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:31:55] local.INFO: IMEI packet received {"connection_id":161036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":161036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:31:56] local.INFO: TCP Data received {"connection_id":161036,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:31:56] local.INFO: Processing buffer {"connection_id":161036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:31:56] local.INFO: Packet analysis {"connection_id":161036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f21"} 
[2026-08-23 20:31:56] local.INFO: Extracted packet for processing {"connection_id":161036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f21"} 
[2026-08-23 20:31:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599182848001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787497109000,"timestamp_ms":1787497109000,"timestamp_seconds":1787497109,"priority":1,"record_length":96,"hex_timestamp":"000001a02f215608"} 
[2026-08-23 20:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 20:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599182848001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599182848001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:31:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:31:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599182848001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":161036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:31:56] local.INFO: GPS data processed {"connection_id":161036,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:31:56] local.INFO: Acknowledgment sent {"connection_id":161036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:32:01] local.INFO: TCP Data received {"connection_id":161036,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:32:01] local.INFO: Processing buffer {"connection_id":161036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:32:01] local.INFO: Packet analysis {"connection_id":161036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f21"} 
[2026-08-23 20:32:01] local.INFO: Extracted packet for processing {"connection_id":161036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f21"} 
[2026-08-23 20:32:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599182848001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787497109000,"timestamp_ms":1787497109000,"timestamp_seconds":1787497109,"priority":1,"record_length":96,"hex_timestamp":"000001a02f215608"} 
[2026-08-23 20:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 20:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599182848001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599182848001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:32:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:32:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599182848001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":161036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:32:01] local.INFO: GPS data processed {"connection_id":161036,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:32:01] local.INFO: Acknowledgment sent {"connection_id":161036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:32:06] local.INFO: TCP Data received {"connection_id":161980,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:32:06] local.INFO: Processing buffer {"connection_id":161980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:32:06] local.INFO: Packet analysis {"connection_id":161980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f20"} 
[2026-08-23 20:32:06] local.INFO: Extracted packet for processing {"connection_id":161980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f20"} 
[2026-08-23 20:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:32:06] 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-08-23 20:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599253504001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787497084000,"timestamp_ms":1787497084000,"timestamp_seconds":1787497084,"priority":1,"record_length":96,"hex_timestamp":"000001a02f20f460"} 
[2026-08-23 20:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 20:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599253504001,"66":12972,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599253504001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:32:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599253504001,"power":12972,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":161980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:32:06] local.INFO: GPS data processed {"connection_id":161980,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:32:06] local.INFO: Acknowledgment sent {"connection_id":161980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:32:28] local.INFO: TCP Data received {"connection_id":163384,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:32:28] local.INFO: Processing buffer {"connection_id":163384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:32:28] local.INFO: IMEI packet received {"connection_id":163384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":163384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:32:34] local.INFO: TCP Data received {"connection_id":163384,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:32:34] local.INFO: Processing buffer {"connection_id":163384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:32:34] local.INFO: IMEI packet received {"connection_id":163384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":163384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:32:35] local.INFO: TCP Data received {"connection_id":163384,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:32:35] local.INFO: Processing buffer {"connection_id":163384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:32:35] local.INFO: Packet analysis {"connection_id":163384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f20"} 
[2026-08-23 20:32:35] local.INFO: Extracted packet for processing {"connection_id":163384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f20"} 
[2026-08-23 20:32:35] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:32:35] 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-08-23 20:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599253504001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787497084000,"timestamp_ms":1787497084000,"timestamp_seconds":1787497084,"priority":1,"record_length":96,"hex_timestamp":"000001a02f20f460"} 
[2026-08-23 20:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 20:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599253504001,"66":12972,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599253504001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:32:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:32:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599253504001,"power":12972,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":163384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:32:35] local.INFO: GPS data processed {"connection_id":163384,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:32:35] local.INFO: Acknowledgment sent {"connection_id":163384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:32:45] local.INFO: TCP Data received {"connection_id":161981,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:32:45] local.INFO: Processing buffer {"connection_id":161981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:32:45] local.INFO: IMEI packet received {"connection_id":161981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":161981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:32:50] local.INFO: TCP Data received {"connection_id":161981,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:32:50] local.INFO: Processing buffer {"connection_id":161981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:32:50] local.INFO: IMEI packet received {"connection_id":161981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":161981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:32:51] local.INFO: TCP Data received {"connection_id":161981,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:32:51] local.INFO: Processing buffer {"connection_id":161981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:32:51] local.INFO: Packet analysis {"connection_id":161981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f21"} 
[2026-08-23 20:32:51] local.INFO: Extracted packet for processing {"connection_id":161981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f21"} 
[2026-08-23 20:32:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599182848001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787497109000,"timestamp_ms":1787497109000,"timestamp_seconds":1787497109,"priority":1,"record_length":96,"hex_timestamp":"000001a02f215608"} 
[2026-08-23 20:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 20:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599182848001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599182848001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:32:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:32:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599182848001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":161981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:32:51] local.INFO: GPS data processed {"connection_id":161981,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:32:51] local.INFO: Acknowledgment sent {"connection_id":161981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:32:56] local.INFO: TCP Data received {"connection_id":161981,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:32:56] local.INFO: Processing buffer {"connection_id":161981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:32:56] local.INFO: Packet analysis {"connection_id":161981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f21"} 
[2026-08-23 20:32:56] local.INFO: Extracted packet for processing {"connection_id":161981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f21"} 
[2026-08-23 20:32:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599182848001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787497109000,"timestamp_ms":1787497109000,"timestamp_seconds":1787497109,"priority":1,"record_length":96,"hex_timestamp":"000001a02f215608"} 
[2026-08-23 20:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 20:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599182848001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599182848001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:32:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:32:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599182848001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":161981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:32:56] local.INFO: GPS data processed {"connection_id":161981,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:32:56] local.INFO: Acknowledgment sent {"connection_id":161981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:33:06] local.INFO: TCP Data received {"connection_id":163384,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:33:06] local.INFO: Processing buffer {"connection_id":163384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:33:06] local.INFO: Packet analysis {"connection_id":163384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f20"} 
[2026-08-23 20:33:06] local.INFO: Extracted packet for processing {"connection_id":163384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f20"} 
[2026-08-23 20:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:33:06] 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-08-23 20:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599253504001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787497084000,"timestamp_ms":1787497084000,"timestamp_seconds":1787497084,"priority":1,"record_length":96,"hex_timestamp":"000001a02f20f460"} 
[2026-08-23 20:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 20:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599253504001,"66":12972,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599253504001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:33:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599253504001,"power":12972,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":163384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:33:06] local.INFO: GPS data processed {"connection_id":163384,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:33:06] local.INFO: Acknowledgment sent {"connection_id":163384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:33:27] local.INFO: TCP Data received {"connection_id":161981,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:33:27] local.INFO: Processing buffer {"connection_id":161981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:33:27] local.INFO: Packet analysis {"connection_id":161981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f21"} 
[2026-08-23 20:33:27] local.INFO: Extracted packet for processing {"connection_id":161981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f21"} 
[2026-08-23 20:33:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599182848001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787497109000,"timestamp_ms":1787497109000,"timestamp_seconds":1787497109,"priority":1,"record_length":96,"hex_timestamp":"000001a02f215608"} 
[2026-08-23 20:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 20:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599182848001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599182848001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:33:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:33:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599182848001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":161981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:33:27] local.INFO: GPS data processed {"connection_id":161981,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:33:27] local.INFO: Acknowledgment sent {"connection_id":161981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:33:34] local.INFO: TCP Data received {"connection_id":161982,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:33:34] local.INFO: Processing buffer {"connection_id":161982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:33:34] local.INFO: IMEI packet received {"connection_id":161982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":161982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:33:39] local.INFO: TCP Data received {"connection_id":161982,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:33:39] local.INFO: Processing buffer {"connection_id":161982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:33:39] local.INFO: IMEI packet received {"connection_id":161982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":161982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:33:40] local.INFO: TCP Data received {"connection_id":161982,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:33:40] local.INFO: Processing buffer {"connection_id":161982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:33:40] local.INFO: Packet analysis {"connection_id":161982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f20"} 
[2026-08-23 20:33:40] local.INFO: Extracted packet for processing {"connection_id":161982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f20"} 
[2026-08-23 20:33:40] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:33:40] 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-08-23 20:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599253504001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787497084000,"timestamp_ms":1787497084000,"timestamp_seconds":1787497084,"priority":1,"record_length":96,"hex_timestamp":"000001a02f20f460"} 
[2026-08-23 20:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:33: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-08-23 20: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 20:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599253504001,"66":12972,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599253504001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:33:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:33:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599253504001,"power":12972,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":161982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:33:40] local.INFO: GPS data processed {"connection_id":161982,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:33:40] local.INFO: Acknowledgment sent {"connection_id":161982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:33:44] local.INFO: TCP Data received {"connection_id":161982,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:33:44] local.INFO: Processing buffer {"connection_id":161982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f20f460012d1968c0071fecf0003d010e29..."} 
[2026-08-23 20:33:44] local.INFO: Packet analysis {"connection_id":161982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f20"} 
[2026-08-23 20:33:44] local.INFO: Extracted packet for processing {"connection_id":161982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f20"} 
[2026-08-23 20:33:44] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":61,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-23 20:33: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-08-23 20:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599253504001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787497084000,"timestamp_ms":1787497084000,"timestamp_seconds":1787497084,"priority":1,"record_length":96,"hex_timestamp":"000001a02f20f460"} 
[2026-08-23 20:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20: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-08-23 20:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 20:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599253504001,"66":12972,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599253504001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:33:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:33:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599253504001,"power":12972,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":161982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:33:44] local.INFO: GPS data processed {"connection_id":161982,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:33:44] local.INFO: Acknowledgment sent {"connection_id":161982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:33:45] local.INFO: TCP Data received {"connection_id":161983,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:33:45] local.INFO: Processing buffer {"connection_id":161983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:33:45] local.INFO: IMEI packet received {"connection_id":161983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":161983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:33:50] local.INFO: TCP Data received {"connection_id":161983,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:33:50] local.INFO: Processing buffer {"connection_id":161983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:33:50] local.INFO: IMEI packet received {"connection_id":161983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":161983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:33:51] local.INFO: TCP Data received {"connection_id":161983,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:33:51] local.INFO: Processing buffer {"connection_id":161983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f215608012d34c58006aa40600006011424..."} 
[2026-08-23 20:33:51] local.INFO: Packet analysis {"connection_id":161983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f21"} 
[2026-08-23 20:33:51] local.INFO: Extracted packet for processing {"connection_id":161983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f21"} 
[2026-08-23 20:33:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599182848001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787497109000,"timestamp_ms":1787497109000,"timestamp_seconds":1787497109,"priority":1,"record_length":96,"hex_timestamp":"000001a02f215608"} 
[2026-08-23 20:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 20:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599182848001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599182848001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:33:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:33:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599182848001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":161983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:33:51] local.INFO: GPS data processed {"connection_id":161983,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:33:51] local.INFO: Acknowledgment sent {"connection_id":161983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:34:23] local.INFO: TCP Data received {"connection_id":161983,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:34:23] local.INFO: Processing buffer {"connection_id":161983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:34:23] local.INFO: Packet analysis {"connection_id":161983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:34:23] local.INFO: Extracted packet for processing {"connection_id":161983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:34:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599259904001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787497410000,"timestamp_ms":1787497410000,"timestamp_seconds":1787497410,"priority":1,"record_length":96,"hex_timestamp":"000001a02f25edd0"} 
[2026-08-23 20:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:34: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-08-23 20:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599259904001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599259904001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:34:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:34:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599259904001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":161983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:34:23] local.INFO: GPS data processed {"connection_id":161983,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:34:23] local.INFO: Acknowledgment sent {"connection_id":161983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:34:29] local.INFO: TCP Data received {"connection_id":163385,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:34:29] local.INFO: Processing buffer {"connection_id":163385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:34:29] local.INFO: IMEI packet received {"connection_id":163385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":163385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:34:34] local.INFO: TCP Data received {"connection_id":163385,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:34:34] local.INFO: Processing buffer {"connection_id":163385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:34:34] local.INFO: IMEI packet received {"connection_id":163385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":163385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:34:35] local.INFO: TCP Data received {"connection_id":163385,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:34:35] local.INFO: Processing buffer {"connection_id":163385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:34:35] local.INFO: Packet analysis {"connection_id":163385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:34:35] local.INFO: Extracted packet for processing {"connection_id":163385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:34:35] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599253504001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787497386000,"timestamp_ms":1787497386000,"timestamp_seconds":1787497386,"priority":1,"record_length":96,"hex_timestamp":"000001a02f259010"} 
[2026-08-23 20:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 20:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599253504001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599253504001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:34:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:34:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599253504001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":163385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:34:35] local.INFO: GPS data processed {"connection_id":163385,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:34:35] local.INFO: Acknowledgment sent {"connection_id":163385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:34:45] local.INFO: TCP Data received {"connection_id":161984,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:34:45] local.INFO: Processing buffer {"connection_id":161984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:34:45] local.INFO: IMEI packet received {"connection_id":161984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":161984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:34:50] local.INFO: TCP Data received {"connection_id":161984,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:34:50] local.INFO: Processing buffer {"connection_id":161984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:34:50] local.INFO: IMEI packet received {"connection_id":161984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":161984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:34:53] local.INFO: TCP Data received {"connection_id":161984,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:34:53] local.INFO: Processing buffer {"connection_id":161984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:34:53] local.INFO: Packet analysis {"connection_id":161984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:34:53] local.INFO: Extracted packet for processing {"connection_id":161984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:34: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-08-23 20:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599259904001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787497410000,"timestamp_ms":1787497410000,"timestamp_seconds":1787497410,"priority":1,"record_length":96,"hex_timestamp":"000001a02f25edd0"} 
[2026-08-23 20:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:34: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-08-23 20:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:34: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-08-23 20:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:34:53] 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-08-23 20:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599259904001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599259904001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:34:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:34:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599259904001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":161984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:34:53] local.INFO: GPS data processed {"connection_id":161984,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:34:53] local.INFO: Acknowledgment sent {"connection_id":161984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:35:06] local.INFO: TCP Data received {"connection_id":163385,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:35:06] local.INFO: Processing buffer {"connection_id":163385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:35:06] local.INFO: Packet analysis {"connection_id":163385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:35:06] local.INFO: Extracted packet for processing {"connection_id":163385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599253504001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787497386000,"timestamp_ms":1787497386000,"timestamp_seconds":1787497386,"priority":1,"record_length":96,"hex_timestamp":"000001a02f259010"} 
[2026-08-23 20:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 20:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599253504001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599253504001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:35:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599253504001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":163385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:35:06] local.INFO: GPS data processed {"connection_id":163385,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:35:06] local.INFO: Acknowledgment sent {"connection_id":163385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:35:24] local.INFO: TCP Data received {"connection_id":161984,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:35:24] local.INFO: Processing buffer {"connection_id":161984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:35:24] local.INFO: Packet analysis {"connection_id":161984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:35:24] local.INFO: Extracted packet for processing {"connection_id":161984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599259904001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787497410000,"timestamp_ms":1787497410000,"timestamp_seconds":1787497410,"priority":1,"record_length":96,"hex_timestamp":"000001a02f25edd0"} 
[2026-08-23 20:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:35: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-08-23 20:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:35: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-08-23 20:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599259904001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599259904001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:35:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599259904001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":161984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:35:24] local.INFO: GPS data processed {"connection_id":161984,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:35:24] local.INFO: Acknowledgment sent {"connection_id":161984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:35:29] local.INFO: TCP Data received {"connection_id":161037,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:35:29] local.INFO: Processing buffer {"connection_id":161037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:35:29] local.INFO: IMEI packet received {"connection_id":161037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":161037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:35:34] local.INFO: TCP Data received {"connection_id":161037,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:35:34] local.INFO: Processing buffer {"connection_id":161037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:35:34] local.INFO: IMEI packet received {"connection_id":161037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":161037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:35:34] local.INFO: TCP Data received {"connection_id":161037,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:35:34] local.INFO: Processing buffer {"connection_id":161037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:35:34] local.INFO: Packet analysis {"connection_id":161037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:35:34] local.INFO: Extracted packet for processing {"connection_id":161037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:35:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599253504001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787497386000,"timestamp_ms":1787497386000,"timestamp_seconds":1787497386,"priority":1,"record_length":96,"hex_timestamp":"000001a02f259010"} 
[2026-08-23 20:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 20:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599253504001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599253504001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:35:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:35:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599253504001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":161037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:35:34] local.INFO: GPS data processed {"connection_id":161037,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:35:34] local.INFO: Acknowledgment sent {"connection_id":161037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:35:50] local.INFO: TCP Data received {"connection_id":160800,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:35:50] local.INFO: Processing buffer {"connection_id":160800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:35:50] local.INFO: IMEI packet received {"connection_id":160800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":160800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:35:55] local.INFO: TCP Data received {"connection_id":160800,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:35:55] local.INFO: Processing buffer {"connection_id":160800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:35:55] local.INFO: IMEI packet received {"connection_id":160800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":160800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:35:56] local.INFO: TCP Data received {"connection_id":160800,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:35:56] local.INFO: Processing buffer {"connection_id":160800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:35:56] local.INFO: Packet analysis {"connection_id":160800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:35:56] local.INFO: Extracted packet for processing {"connection_id":160800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:35:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599259904001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787497410000,"timestamp_ms":1787497410000,"timestamp_seconds":1787497410,"priority":1,"record_length":96,"hex_timestamp":"000001a02f25edd0"} 
[2026-08-23 20:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599259904001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599259904001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:35:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:35:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599259904001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":160800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:35:56] local.INFO: GPS data processed {"connection_id":160800,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:35:56] local.INFO: Acknowledgment sent {"connection_id":160800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:36:01] local.INFO: TCP Data received {"connection_id":160800,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:36:01] local.INFO: Processing buffer {"connection_id":160800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:36:01] local.INFO: Packet analysis {"connection_id":160800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:36:01] local.INFO: Extracted packet for processing {"connection_id":160800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:36:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599259904001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787497410000,"timestamp_ms":1787497410000,"timestamp_seconds":1787497410,"priority":1,"record_length":96,"hex_timestamp":"000001a02f25edd0"} 
[2026-08-23 20:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:36:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599259904001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599259904001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:36:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:36:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599259904001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":160800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:36:01] local.INFO: GPS data processed {"connection_id":160800,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:36:01] local.INFO: Acknowledgment sent {"connection_id":160800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:36:05] local.INFO: TCP Data received {"connection_id":161037,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:36:05] local.INFO: Processing buffer {"connection_id":161037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:36:05] local.INFO: Packet analysis {"connection_id":161037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:36:05] local.INFO: Extracted packet for processing {"connection_id":161037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599253504001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787497386000,"timestamp_ms":1787497386000,"timestamp_seconds":1787497386,"priority":1,"record_length":96,"hex_timestamp":"000001a02f259010"} 
[2026-08-23 20:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 20:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599253504001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599253504001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:36:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599253504001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":161037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:36:06] local.INFO: GPS data processed {"connection_id":161037,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:36:06] local.INFO: Acknowledgment sent {"connection_id":161037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:36:28] local.INFO: TCP Data received {"connection_id":161985,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:36:28] local.INFO: Processing buffer {"connection_id":161985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:36:28] local.INFO: IMEI packet received {"connection_id":161985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":161985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:36:34] local.INFO: TCP Data received {"connection_id":161985,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:36:34] local.INFO: Processing buffer {"connection_id":161985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:36:34] local.INFO: IMEI packet received {"connection_id":161985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":161985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:36:34] local.INFO: TCP Data received {"connection_id":161985,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:36:34] local.INFO: Processing buffer {"connection_id":161985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:36:34] local.INFO: Packet analysis {"connection_id":161985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:36:34] local.INFO: Extracted packet for processing {"connection_id":161985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:36:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599253504001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787497386000,"timestamp_ms":1787497386000,"timestamp_seconds":1787497386,"priority":1,"record_length":96,"hex_timestamp":"000001a02f259010"} 
[2026-08-23 20:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 20:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599253504001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599253504001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:36:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:36:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599253504001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":161985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:36:34] local.INFO: GPS data processed {"connection_id":161985,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:36:34] local.INFO: Acknowledgment sent {"connection_id":161985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:36:45] local.INFO: TCP Data received {"connection_id":163386,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:36:45] local.INFO: Processing buffer {"connection_id":163386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:36:45] local.INFO: IMEI packet received {"connection_id":163386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":163386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:36:50] local.INFO: TCP Data received {"connection_id":163386,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:36:50] local.INFO: Processing buffer {"connection_id":163386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:36:50] local.INFO: IMEI packet received {"connection_id":163386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":163386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:36:51] local.INFO: TCP Data received {"connection_id":163386,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:36:51] local.INFO: Processing buffer {"connection_id":163386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:36:51] local.INFO: Packet analysis {"connection_id":163386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:36:51] local.INFO: Extracted packet for processing {"connection_id":163386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:36:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599259904001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787497410000,"timestamp_ms":1787497410000,"timestamp_seconds":1787497410,"priority":1,"record_length":96,"hex_timestamp":"000001a02f25edd0"} 
[2026-08-23 20:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:36: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-08-23 20:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599259904001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599259904001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:36:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:36:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599259904001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":163386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:36:51] local.INFO: GPS data processed {"connection_id":163386,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:36:51] local.INFO: Acknowledgment sent {"connection_id":163386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:37:05] local.INFO: TCP Data received {"connection_id":161985,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:37:05] local.INFO: Processing buffer {"connection_id":161985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:37:05] local.INFO: Packet analysis {"connection_id":161985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:37:05] local.INFO: Extracted packet for processing {"connection_id":161985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599253504001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787497386000,"timestamp_ms":1787497386000,"timestamp_seconds":1787497386,"priority":1,"record_length":96,"hex_timestamp":"000001a02f259010"} 
[2026-08-23 20:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 20:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599253504001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599253504001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:37:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:37:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599253504001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":161985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:37:06] local.INFO: GPS data processed {"connection_id":161985,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:37:06] local.INFO: Acknowledgment sent {"connection_id":161985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:37:22] local.INFO: TCP Data received {"connection_id":163386,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:37:22] local.INFO: Processing buffer {"connection_id":163386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:37:22] local.INFO: Packet analysis {"connection_id":163386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:37:22] local.INFO: Extracted packet for processing {"connection_id":163386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:37:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599259904001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787497410000,"timestamp_ms":1787497410000,"timestamp_seconds":1787497410,"priority":1,"record_length":96,"hex_timestamp":"000001a02f25edd0"} 
[2026-08-23 20:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:37: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-08-23 20:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:37: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-08-23 20:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599259904001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599259904001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:37:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:37:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599259904001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":163386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:37:23] local.INFO: GPS data processed {"connection_id":163386,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:37:23] local.INFO: Acknowledgment sent {"connection_id":163386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:37:28] local.INFO: TCP Data received {"connection_id":160801,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:37:28] local.INFO: Processing buffer {"connection_id":160801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:37:28] local.INFO: IMEI packet received {"connection_id":160801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":160801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:37:34] local.INFO: TCP Data received {"connection_id":160801,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:37:34] local.INFO: Processing buffer {"connection_id":160801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:37:34] local.INFO: IMEI packet received {"connection_id":160801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":160801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:37:34] local.INFO: TCP Data received {"connection_id":160801,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:37:34] local.INFO: Processing buffer {"connection_id":160801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:37:34] local.INFO: Packet analysis {"connection_id":160801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:37:34] local.INFO: Extracted packet for processing {"connection_id":160801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:37:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599253504001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787497386000,"timestamp_ms":1787497386000,"timestamp_seconds":1787497386,"priority":1,"record_length":96,"hex_timestamp":"000001a02f259010"} 
[2026-08-23 20:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 20:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599253504001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599253504001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:37:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:37:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599253504001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":160801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:37:34] local.INFO: GPS data processed {"connection_id":160801,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:37:34] local.INFO: Acknowledgment sent {"connection_id":160801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:37:45] local.INFO: TCP Data received {"connection_id":161038,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:37:45] local.INFO: Processing buffer {"connection_id":161038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:37:45] local.INFO: IMEI packet received {"connection_id":161038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":161038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:37:50] local.INFO: TCP Data received {"connection_id":161038,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:37:50] local.INFO: Processing buffer {"connection_id":161038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:37:50] local.INFO: IMEI packet received {"connection_id":161038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":161038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:37:51] local.INFO: TCP Data received {"connection_id":161038,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:37:51] local.INFO: Processing buffer {"connection_id":161038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:37:51] local.INFO: Packet analysis {"connection_id":161038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:37:51] local.INFO: Extracted packet for processing {"connection_id":161038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:37:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599259904001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787497410000,"timestamp_ms":1787497410000,"timestamp_seconds":1787497410,"priority":1,"record_length":96,"hex_timestamp":"000001a02f25edd0"} 
[2026-08-23 20:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:37: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-08-23 20:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:37:51] 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-08-23 20:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599259904001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599259904001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:37:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599259904001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":161038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:37:51] local.INFO: GPS data processed {"connection_id":161038,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:37:51] local.INFO: Acknowledgment sent {"connection_id":161038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:38:06] local.INFO: TCP Data received {"connection_id":160801,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:38:06] local.INFO: Processing buffer {"connection_id":160801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:38:06] local.INFO: Packet analysis {"connection_id":160801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:38:06] local.INFO: Extracted packet for processing {"connection_id":160801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599253504001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787497386000,"timestamp_ms":1787497386000,"timestamp_seconds":1787497386,"priority":1,"record_length":96,"hex_timestamp":"000001a02f259010"} 
[2026-08-23 20:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 20:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599253504001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599253504001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:38:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599253504001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":160801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:38:06] local.INFO: GPS data processed {"connection_id":160801,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:38:06] local.INFO: Acknowledgment sent {"connection_id":160801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:38:23] local.INFO: TCP Data received {"connection_id":161038,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:38:23] local.INFO: Processing buffer {"connection_id":161038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:38:23] local.INFO: Packet analysis {"connection_id":161038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:38:23] local.INFO: Extracted packet for processing {"connection_id":161038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:38:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599259904001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787497410000,"timestamp_ms":1787497410000,"timestamp_seconds":1787497410,"priority":1,"record_length":96,"hex_timestamp":"000001a02f25edd0"} 
[2026-08-23 20:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20: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-08-23 20:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:38:23] 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-08-23 20:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599259904001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599259904001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:38:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:38:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599259904001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":161038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:38:23] local.INFO: GPS data processed {"connection_id":161038,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:38:23] local.INFO: Acknowledgment sent {"connection_id":161038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:38:34] local.INFO: TCP Data received {"connection_id":161039,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:38:34] local.INFO: Processing buffer {"connection_id":161039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:38:34] local.INFO: IMEI packet received {"connection_id":161039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":161039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:38:39] local.INFO: TCP Data received {"connection_id":161039,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:38:39] local.INFO: Processing buffer {"connection_id":161039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:38:39] local.INFO: IMEI packet received {"connection_id":161039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":161039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:38:39] local.INFO: TCP Data received {"connection_id":161039,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:38:39] local.INFO: Processing buffer {"connection_id":161039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:38:39] local.INFO: Packet analysis {"connection_id":161039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:38:39] local.INFO: Extracted packet for processing {"connection_id":161039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:38:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599253504001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787497386000,"timestamp_ms":1787497386000,"timestamp_seconds":1787497386,"priority":1,"record_length":96,"hex_timestamp":"000001a02f259010"} 
[2026-08-23 20:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 20:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599253504001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599253504001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:38:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:38:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599253504001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":161039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:38:39] local.INFO: GPS data processed {"connection_id":161039,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:38:39] local.INFO: Acknowledgment sent {"connection_id":161039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:38:44] local.INFO: TCP Data received {"connection_id":161039,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:38:44] local.INFO: Processing buffer {"connection_id":161039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f259010012d196580071fef380042010e29..."} 
[2026-08-23 20:38:44] local.INFO: Packet analysis {"connection_id":161039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:38:44] local.INFO: Extracted packet for processing {"connection_id":161039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:38:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599253504001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-23 20:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787497386000,"timestamp_ms":1787497386000,"timestamp_seconds":1787497386,"priority":1,"record_length":96,"hex_timestamp":"000001a02f259010"} 
[2026-08-23 20:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:38: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-08-23 20:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-23 20:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599253504001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830924385359032320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599253504001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:38:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:38:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-23 20:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599253504001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-23 20:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":161039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:38:44] local.INFO: GPS data processed {"connection_id":161039,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:38:44] local.INFO: Acknowledgment sent {"connection_id":161039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:38:46] local.INFO: TCP Data received {"connection_id":161040,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:38:46] local.INFO: Processing buffer {"connection_id":161040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:38:46] local.INFO: IMEI packet received {"connection_id":161040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":161040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:38:50] local.INFO: TCP Data received {"connection_id":161040,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:38:50] local.INFO: Processing buffer {"connection_id":161040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:38:50] local.INFO: IMEI packet received {"connection_id":161040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":161040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:38:51] local.INFO: TCP Data received {"connection_id":161040,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:38:51] local.INFO: Processing buffer {"connection_id":161040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f25edd0012d34c58006aa40600006011424..."} 
[2026-08-23 20:38:51] local.INFO: Packet analysis {"connection_id":161040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:38:51] local.INFO: Extracted packet for processing {"connection_id":161040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f25"} 
[2026-08-23 20:38:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599259904001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787497410000,"timestamp_ms":1787497410000,"timestamp_seconds":1787497410,"priority":1,"record_length":96,"hex_timestamp":"000001a02f25edd0"} 
[2026-08-23 20:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:38: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-08-23 20:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 20:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599259904001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599259904001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:38:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:38:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599259904001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":161040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:38:51] local.INFO: GPS data processed {"connection_id":161040,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:38:51] local.INFO: Acknowledgment sent {"connection_id":161040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:39:23] local.INFO: TCP Data received {"connection_id":161040,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:39:23] local.INFO: Processing buffer {"connection_id":161040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:39:23] local.INFO: Packet analysis {"connection_id":161040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:39:23] local.INFO: Extracted packet for processing {"connection_id":161040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:39:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599336960001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787497711000,"timestamp_ms":1787497711000,"timestamp_seconds":1787497711,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2a8598"} 
[2026-08-23 20:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:39: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-08-23 20:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599336960001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599336960001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:39:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:39:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599336960001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":161040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:39:23] local.INFO: GPS data processed {"connection_id":161040,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:39:23] local.INFO: Acknowledgment sent {"connection_id":161040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:39:29] local.INFO: TCP Data received {"connection_id":161986,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:39:29] local.INFO: Processing buffer {"connection_id":161986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:39:29] local.INFO: IMEI packet received {"connection_id":161986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":161986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:39:34] local.INFO: TCP Data received {"connection_id":161986,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:39:34] local.INFO: Processing buffer {"connection_id":161986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:39:34] local.INFO: IMEI packet received {"connection_id":161986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":161986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:39:34] local.INFO: TCP Data received {"connection_id":161986,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:39:34] local.INFO: Processing buffer {"connection_id":161986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:39:34] local.INFO: Packet analysis {"connection_id":161986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:39:34] local.INFO: Extracted packet for processing {"connection_id":161986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:39:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599330816001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787497687000,"timestamp_ms":1787497687000,"timestamp_seconds":1787497687,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2a27d8"} 
[2026-08-23 20:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 20:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599330816001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599330816001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:39:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:39:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599330816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":161986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:39:34] local.INFO: GPS data processed {"connection_id":161986,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:39:34] local.INFO: Acknowledgment sent {"connection_id":161986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:39:45] local.INFO: TCP Data received {"connection_id":163387,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:39:45] local.INFO: Processing buffer {"connection_id":163387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:39:45] local.INFO: IMEI packet received {"connection_id":163387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":163387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:39:50] local.INFO: TCP Data received {"connection_id":163387,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:39:50] local.INFO: Processing buffer {"connection_id":163387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:39:50] local.INFO: IMEI packet received {"connection_id":163387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":163387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:39:51] local.INFO: TCP Data received {"connection_id":163387,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:39:51] local.INFO: Processing buffer {"connection_id":163387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:39:51] local.INFO: Packet analysis {"connection_id":163387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:39:51] local.INFO: Extracted packet for processing {"connection_id":163387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:39:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599336960001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787497711000,"timestamp_ms":1787497711000,"timestamp_seconds":1787497711,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2a8598"} 
[2026-08-23 20:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599336960001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599336960001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:39:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:39:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599336960001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":163387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:39:51] local.INFO: GPS data processed {"connection_id":163387,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:39:51] local.INFO: Acknowledgment sent {"connection_id":163387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:40:06] local.INFO: TCP Data received {"connection_id":161986,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:40:06] local.INFO: Processing buffer {"connection_id":161986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:40:06] local.INFO: Packet analysis {"connection_id":161986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:40:06] local.INFO: Extracted packet for processing {"connection_id":161986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599330816001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787497687000,"timestamp_ms":1787497687000,"timestamp_seconds":1787497687,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2a27d8"} 
[2026-08-23 20:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 20:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599330816001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599330816001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:40:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599330816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":161986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:40:06] local.INFO: GPS data processed {"connection_id":161986,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:40:06] local.INFO: Acknowledgment sent {"connection_id":161986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:40:23] local.INFO: TCP Data received {"connection_id":163387,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:40:23] local.INFO: Processing buffer {"connection_id":163387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:40:23] local.INFO: Packet analysis {"connection_id":163387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:40:23] local.INFO: Extracted packet for processing {"connection_id":163387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:40:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599336960001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787497711000,"timestamp_ms":1787497711000,"timestamp_seconds":1787497711,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2a8598"} 
[2026-08-23 20:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:40:23] 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-08-23 20:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599336960001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599336960001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:40:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:40:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599336960001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":163387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:40:23] local.INFO: GPS data processed {"connection_id":163387,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:40:23] local.INFO: Acknowledgment sent {"connection_id":163387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:40:28] local.INFO: TCP Data received {"connection_id":161041,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:40:28] local.INFO: Processing buffer {"connection_id":161041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:40:28] local.INFO: IMEI packet received {"connection_id":161041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":161041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:40:34] local.INFO: TCP Data received {"connection_id":161041,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:40:34] local.INFO: Processing buffer {"connection_id":161041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:40:34] local.INFO: IMEI packet received {"connection_id":161041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":161041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:40:34] local.INFO: TCP Data received {"connection_id":161041,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:40:34] local.INFO: Processing buffer {"connection_id":161041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:40:34] local.INFO: Packet analysis {"connection_id":161041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:40:34] local.INFO: Extracted packet for processing {"connection_id":161041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:40:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599330816001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787497687000,"timestamp_ms":1787497687000,"timestamp_seconds":1787497687,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2a27d8"} 
[2026-08-23 20:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 20:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599330816001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599330816001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:40:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:40:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599330816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":161041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:40:34] local.INFO: GPS data processed {"connection_id":161041,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:40:34] local.INFO: Acknowledgment sent {"connection_id":161041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:40:50] local.INFO: TCP Data received {"connection_id":160802,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:40:50] local.INFO: Processing buffer {"connection_id":160802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:40:50] local.INFO: IMEI packet received {"connection_id":160802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":160802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:40:55] local.INFO: TCP Data received {"connection_id":160802,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:40:55] local.INFO: Processing buffer {"connection_id":160802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:40:55] local.INFO: IMEI packet received {"connection_id":160802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":160802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:40:57] local.INFO: TCP Data received {"connection_id":160802,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:40:57] local.INFO: Processing buffer {"connection_id":160802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:40:57] local.INFO: Packet analysis {"connection_id":160802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:40:57] local.INFO: Extracted packet for processing {"connection_id":160802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:40:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599336960001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787497711000,"timestamp_ms":1787497711000,"timestamp_seconds":1787497711,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2a8598"} 
[2026-08-23 20:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:40: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-08-23 20: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":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599336960001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599336960001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:40:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:40:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599336960001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":160802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:40:57] local.INFO: GPS data processed {"connection_id":160802,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:40:57] local.INFO: Acknowledgment sent {"connection_id":160802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:41:02] local.INFO: TCP Data received {"connection_id":160802,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:41:02] local.INFO: Processing buffer {"connection_id":160802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:41:02] local.INFO: Packet analysis {"connection_id":160802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:41:02] local.INFO: Extracted packet for processing {"connection_id":160802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:41:02] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599336960001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787497711000,"timestamp_ms":1787497711000,"timestamp_seconds":1787497711,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2a8598"} 
[2026-08-23 20:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:41:02] 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-08-23 20:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599336960001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599336960001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:41:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:41:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599336960001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":160802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:41:02] local.INFO: GPS data processed {"connection_id":160802,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:41:02] local.INFO: Acknowledgment sent {"connection_id":160802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:41:05] local.INFO: TCP Data received {"connection_id":161041,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:41:05] local.INFO: Processing buffer {"connection_id":161041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:41:05] local.INFO: Packet analysis {"connection_id":161041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:41:05] local.INFO: Extracted packet for processing {"connection_id":161041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599330816001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787497687000,"timestamp_ms":1787497687000,"timestamp_seconds":1787497687,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2a27d8"} 
[2026-08-23 20:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 20:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599330816001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599330816001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:41:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:41:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599330816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":161041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:41:06] local.INFO: GPS data processed {"connection_id":161041,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:41:06] local.INFO: Acknowledgment sent {"connection_id":161041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:41:28] local.INFO: TCP Data received {"connection_id":160803,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:41:28] local.INFO: Processing buffer {"connection_id":160803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:41:28] local.INFO: IMEI packet received {"connection_id":160803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":160803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:41:34] local.INFO: TCP Data received {"connection_id":160803,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:41:34] local.INFO: Processing buffer {"connection_id":160803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:41:34] local.INFO: IMEI packet received {"connection_id":160803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":160803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:41:34] local.INFO: TCP Data received {"connection_id":160803,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:41:34] local.INFO: Processing buffer {"connection_id":160803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:41:34] local.INFO: Packet analysis {"connection_id":160803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:41:34] local.INFO: Extracted packet for processing {"connection_id":160803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:41:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599330816001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787497687000,"timestamp_ms":1787497687000,"timestamp_seconds":1787497687,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2a27d8"} 
[2026-08-23 20:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 20:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599330816001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599330816001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:41:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:41:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599330816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":160803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:41:35] local.INFO: GPS data processed {"connection_id":160803,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:41:35] local.INFO: Acknowledgment sent {"connection_id":160803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:41:45] local.INFO: TCP Data received {"connection_id":161987,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:41:45] local.INFO: Processing buffer {"connection_id":161987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:41:45] local.INFO: IMEI packet received {"connection_id":161987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":161987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:41:50] local.INFO: TCP Data received {"connection_id":161987,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:41:50] local.INFO: Processing buffer {"connection_id":161987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:41:50] local.INFO: IMEI packet received {"connection_id":161987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":161987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:41:51] local.INFO: TCP Data received {"connection_id":161987,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:41:51] local.INFO: Processing buffer {"connection_id":161987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:41:51] local.INFO: Packet analysis {"connection_id":161987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:41:51] local.INFO: Extracted packet for processing {"connection_id":161987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:41:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599336960001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787497711000,"timestamp_ms":1787497711000,"timestamp_seconds":1787497711,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2a8598"} 
[2026-08-23 20:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:41:51] 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-08-23 20:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599336960001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599336960001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:41:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:41:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599336960001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":161987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:41:51] local.INFO: GPS data processed {"connection_id":161987,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:41:51] local.INFO: Acknowledgment sent {"connection_id":161987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:42:06] local.INFO: TCP Data received {"connection_id":160803,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:42:06] local.INFO: Processing buffer {"connection_id":160803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:42:06] local.INFO: Packet analysis {"connection_id":160803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:42:06] local.INFO: Extracted packet for processing {"connection_id":160803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599330816001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787497687000,"timestamp_ms":1787497687000,"timestamp_seconds":1787497687,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2a27d8"} 
[2026-08-23 20:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 20:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599330816001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599330816001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:42:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599330816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":160803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:42:06] local.INFO: GPS data processed {"connection_id":160803,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:42:06] local.INFO: Acknowledgment sent {"connection_id":160803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:42:23] local.INFO: TCP Data received {"connection_id":161987,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:42:23] local.INFO: Processing buffer {"connection_id":161987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:42:23] local.INFO: Packet analysis {"connection_id":161987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:42:23] local.INFO: Extracted packet for processing {"connection_id":161987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:42:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599336960001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787497711000,"timestamp_ms":1787497711000,"timestamp_seconds":1787497711,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2a8598"} 
[2026-08-23 20:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:42:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:42:23] 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-08-23 20:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599336960001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599336960001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:42:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:42:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599336960001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":161987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:42:23] local.INFO: GPS data processed {"connection_id":161987,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:42:23] local.INFO: Acknowledgment sent {"connection_id":161987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:42:34] local.INFO: TCP Data received {"connection_id":161988,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:42:34] local.INFO: Processing buffer {"connection_id":161988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:42:34] local.INFO: IMEI packet received {"connection_id":161988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":161988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:42:39] local.INFO: TCP Data received {"connection_id":161988,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:42:39] local.INFO: Processing buffer {"connection_id":161988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:42:39] local.INFO: IMEI packet received {"connection_id":161988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":161988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:42:39] local.INFO: TCP Data received {"connection_id":161988,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:42:39] local.INFO: Processing buffer {"connection_id":161988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:42:39] local.INFO: Packet analysis {"connection_id":161988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:42:39] local.INFO: Extracted packet for processing {"connection_id":161988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:42:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599330816001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787497687000,"timestamp_ms":1787497687000,"timestamp_seconds":1787497687,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2a27d8"} 
[2026-08-23 20:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 20:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599330816001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599330816001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:42:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:42:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599330816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":161988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:42:39] local.INFO: GPS data processed {"connection_id":161988,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:42:39] local.INFO: Acknowledgment sent {"connection_id":161988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:42:44] local.INFO: TCP Data received {"connection_id":161988,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:42:44] local.INFO: Processing buffer {"connection_id":161988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:42:44] local.INFO: Packet analysis {"connection_id":161988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:42:44] local.INFO: Extracted packet for processing {"connection_id":161988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:42:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599330816001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787497687000,"timestamp_ms":1787497687000,"timestamp_seconds":1787497687,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2a27d8"} 
[2026-08-23 20:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 20:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599330816001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599330816001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:42:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:42:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599330816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":161988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:42:44] local.INFO: GPS data processed {"connection_id":161988,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:42:44] local.INFO: Acknowledgment sent {"connection_id":161988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:42:45] local.INFO: TCP Data received {"connection_id":161042,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:42:45] local.INFO: Processing buffer {"connection_id":161042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:42:45] local.INFO: IMEI packet received {"connection_id":161042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":161042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:42:50] local.INFO: TCP Data received {"connection_id":161042,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:42:50] local.INFO: Processing buffer {"connection_id":161042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:42:50] local.INFO: IMEI packet received {"connection_id":161042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":161042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:42:51] local.INFO: TCP Data received {"connection_id":161042,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:42:51] local.INFO: Processing buffer {"connection_id":161042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:42:51] local.INFO: Packet analysis {"connection_id":161042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:42:51] local.INFO: Extracted packet for processing {"connection_id":161042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:42:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599336960001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787497711000,"timestamp_ms":1787497711000,"timestamp_seconds":1787497711,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2a8598"} 
[2026-08-23 20:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599336960001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599336960001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:42:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:42:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599336960001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":161042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:42:51] local.INFO: GPS data processed {"connection_id":161042,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:42:51] local.INFO: Acknowledgment sent {"connection_id":161042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:43:23] local.INFO: TCP Data received {"connection_id":161042,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:43:23] local.INFO: Processing buffer {"connection_id":161042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:43:23] local.INFO: Packet analysis {"connection_id":161042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:43:23] local.INFO: Extracted packet for processing {"connection_id":161042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:43:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599336960001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787497711000,"timestamp_ms":1787497711000,"timestamp_seconds":1787497711,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2a8598"} 
[2026-08-23 20:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599336960001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599336960001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:43:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:43:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599336960001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":161042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:43:23] local.INFO: GPS data processed {"connection_id":161042,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:43:23] local.INFO: Acknowledgment sent {"connection_id":161042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:43:29] local.INFO: TCP Data received {"connection_id":161989,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:43:29] local.INFO: Processing buffer {"connection_id":161989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:43:29] local.INFO: IMEI packet received {"connection_id":161989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":161989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:43:33] local.INFO: TCP Data received {"connection_id":161989,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:43:33] local.INFO: Processing buffer {"connection_id":161989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:43:33] local.INFO: IMEI packet received {"connection_id":161989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":161989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:43:34] local.INFO: TCP Data received {"connection_id":161989,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:43:34] local.INFO: Processing buffer {"connection_id":161989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2a27d8012d196580071fef380042010e2b..."} 
[2026-08-23 20:43:34] local.INFO: Packet analysis {"connection_id":161989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:43:34] local.INFO: Extracted packet for processing {"connection_id":161989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:43:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599330816001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787497687000,"timestamp_ms":1787497687000,"timestamp_seconds":1787497687,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2a27d8"} 
[2026-08-23 20:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 20:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599330816001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599330816001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:43:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:43:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599330816001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":161989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:43:34] local.INFO: GPS data processed {"connection_id":161989,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:43:34] local.INFO: Acknowledgment sent {"connection_id":161989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:43:45] local.INFO: TCP Data received {"connection_id":160804,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:43:45] local.INFO: Processing buffer {"connection_id":160804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:43:45] local.INFO: IMEI packet received {"connection_id":160804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":160804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:43:50] local.INFO: TCP Data received {"connection_id":160804,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:43:50] local.INFO: Processing buffer {"connection_id":160804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:43:50] local.INFO: IMEI packet received {"connection_id":160804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":160804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:43:53] local.INFO: TCP Data received {"connection_id":160804,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:43:53] local.INFO: Processing buffer {"connection_id":160804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2a8598012d34c58006aa40600006011427..."} 
[2026-08-23 20:43:53] local.INFO: Packet analysis {"connection_id":160804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:43:53] local.INFO: Extracted packet for processing {"connection_id":160804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2a"} 
[2026-08-23 20:43:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":6,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599336960001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787497711000,"timestamp_ms":1787497711000,"timestamp_seconds":1787497711,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2a8598"} 
[2026-08-23 20:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:43:53] 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-08-23 20:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599336960001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599336960001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:43:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:43:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599336960001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":160804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:43:53] local.INFO: GPS data processed {"connection_id":160804,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:43:53] local.INFO: Acknowledgment sent {"connection_id":160804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:44:05] local.INFO: TCP Data received {"connection_id":161989,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:44:05] local.INFO: Processing buffer {"connection_id":161989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:44:05] local.INFO: Packet analysis {"connection_id":161989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2e"} 
[2026-08-23 20:44:05] local.INFO: Extracted packet for processing {"connection_id":161989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2e"} 
[2026-08-23 20:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599407872001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787497988000,"timestamp_ms":1787497988000,"timestamp_seconds":1787497988,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2ebfa0"} 
[2026-08-23 20:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599407872001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599407872001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:44:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:44:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599407872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":161989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:44:05] local.INFO: GPS data processed {"connection_id":161989,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:44:05] local.INFO: Acknowledgment sent {"connection_id":161989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:44:27] local.INFO: TCP Data received {"connection_id":160804,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:44:27] local.INFO: Processing buffer {"connection_id":160804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:44:27] local.INFO: Packet analysis {"connection_id":160804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2f"} 
[2026-08-23 20:44:27] local.INFO: Extracted packet for processing {"connection_id":160804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2f"} 
[2026-08-23 20:44:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599414016001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787498012000,"timestamp_ms":1787498012000,"timestamp_seconds":1787498012,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2f1d60"} 
[2026-08-23 20:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 20:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599414016001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599414016001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:44:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:44:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599414016001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":160804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:44:27] local.INFO: GPS data processed {"connection_id":160804,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:44:27] local.INFO: Acknowledgment sent {"connection_id":160804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:44:29] local.INFO: TCP Data received {"connection_id":161043,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:44:29] local.INFO: Processing buffer {"connection_id":161043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:44:29] local.INFO: IMEI packet received {"connection_id":161043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":161043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:44:33] local.INFO: TCP Data received {"connection_id":161043,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:44:33] local.INFO: Processing buffer {"connection_id":161043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:44:33] local.INFO: IMEI packet received {"connection_id":161043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":161043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:44:34] local.INFO: TCP Data received {"connection_id":161043,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:44:34] local.INFO: Processing buffer {"connection_id":161043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:44:34] local.INFO: Packet analysis {"connection_id":161043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2e"} 
[2026-08-23 20:44:34] local.INFO: Extracted packet for processing {"connection_id":161043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2e"} 
[2026-08-23 20:44:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599407872001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787497988000,"timestamp_ms":1787497988000,"timestamp_seconds":1787497988,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2ebfa0"} 
[2026-08-23 20:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599407872001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599407872001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:44:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:44:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599407872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":161043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:44:34] local.INFO: GPS data processed {"connection_id":161043,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:44:34] local.INFO: Acknowledgment sent {"connection_id":161043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:44:50] local.INFO: TCP Data received {"connection_id":160805,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:44:50] local.INFO: Processing buffer {"connection_id":160805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:44:50] local.INFO: IMEI packet received {"connection_id":160805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":160805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:44:55] local.INFO: TCP Data received {"connection_id":160805,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:44:55] local.INFO: Processing buffer {"connection_id":160805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:44:55] local.INFO: IMEI packet received {"connection_id":160805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":160805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:44:56] local.INFO: TCP Data received {"connection_id":160805,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:44:56] local.INFO: Processing buffer {"connection_id":160805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:44:56] local.INFO: Packet analysis {"connection_id":160805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2f"} 
[2026-08-23 20:44:56] local.INFO: Extracted packet for processing {"connection_id":160805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2f"} 
[2026-08-23 20:44:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599414016001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787498012000,"timestamp_ms":1787498012000,"timestamp_seconds":1787498012,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2f1d60"} 
[2026-08-23 20:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 20:44:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599414016001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599414016001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:44:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:44:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599414016001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":160805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:44:56] local.INFO: GPS data processed {"connection_id":160805,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:44:56] local.INFO: Acknowledgment sent {"connection_id":160805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:45:01] local.INFO: TCP Data received {"connection_id":160805,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:45:01] local.INFO: Processing buffer {"connection_id":160805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:45:01] local.INFO: Packet analysis {"connection_id":160805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2f"} 
[2026-08-23 20:45:01] local.INFO: Extracted packet for processing {"connection_id":160805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2f"} 
[2026-08-23 20:45:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599414016001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787498012000,"timestamp_ms":1787498012000,"timestamp_seconds":1787498012,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2f1d60"} 
[2026-08-23 20:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 20:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599414016001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599414016001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:45:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:45:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599414016001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":160805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:45:01] local.INFO: GPS data processed {"connection_id":160805,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:45:01] local.INFO: Acknowledgment sent {"connection_id":160805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:45:06] local.INFO: TCP Data received {"connection_id":161043,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:45:06] local.INFO: Processing buffer {"connection_id":161043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:45:06] local.INFO: Packet analysis {"connection_id":161043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2e"} 
[2026-08-23 20:45:06] local.INFO: Extracted packet for processing {"connection_id":161043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2e"} 
[2026-08-23 20:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599407872001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787497988000,"timestamp_ms":1787497988000,"timestamp_seconds":1787497988,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2ebfa0"} 
[2026-08-23 20:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599407872001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599407872001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:45:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599407872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":161043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:45:06] local.INFO: GPS data processed {"connection_id":161043,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:45:06] local.INFO: Acknowledgment sent {"connection_id":161043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:45:28] local.INFO: TCP Data received {"connection_id":163388,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:45:28] local.INFO: Processing buffer {"connection_id":163388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:45:28] local.INFO: IMEI packet received {"connection_id":163388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":163388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:45:34] local.INFO: TCP Data received {"connection_id":163388,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:45:34] local.INFO: Processing buffer {"connection_id":163388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:45:34] local.INFO: IMEI packet received {"connection_id":163388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":163388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:45:34] local.INFO: TCP Data received {"connection_id":163388,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:45:34] local.INFO: Processing buffer {"connection_id":163388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:45:34] local.INFO: Packet analysis {"connection_id":163388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2e"} 
[2026-08-23 20:45:34] local.INFO: Extracted packet for processing {"connection_id":163388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2e"} 
[2026-08-23 20:45:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599407872001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787497988000,"timestamp_ms":1787497988000,"timestamp_seconds":1787497988,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2ebfa0"} 
[2026-08-23 20:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599407872001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599407872001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:45:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:45:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599407872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":163388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:45:35] local.INFO: GPS data processed {"connection_id":163388,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:45:35] local.INFO: Acknowledgment sent {"connection_id":163388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:45:45] local.INFO: TCP Data received {"connection_id":160806,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:45:45] local.INFO: Processing buffer {"connection_id":160806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:45:45] local.INFO: IMEI packet received {"connection_id":160806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":160806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:45:50] local.INFO: TCP Data received {"connection_id":160806,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:45:50] local.INFO: Processing buffer {"connection_id":160806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:45:50] local.INFO: IMEI packet received {"connection_id":160806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":160806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:45:51] local.INFO: TCP Data received {"connection_id":160806,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:45:51] local.INFO: Processing buffer {"connection_id":160806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:45:51] local.INFO: Packet analysis {"connection_id":160806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2f"} 
[2026-08-23 20:45:51] local.INFO: Extracted packet for processing {"connection_id":160806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2f"} 
[2026-08-23 20:45:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599414016001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787498012000,"timestamp_ms":1787498012000,"timestamp_seconds":1787498012,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2f1d60"} 
[2026-08-23 20:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 20:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599414016001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599414016001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:45:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:45:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599414016001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":160806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:45:51] local.INFO: GPS data processed {"connection_id":160806,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:45:51] local.INFO: Acknowledgment sent {"connection_id":160806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:46:06] local.INFO: TCP Data received {"connection_id":163388,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:46:06] local.INFO: Processing buffer {"connection_id":163388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:46:06] local.INFO: Packet analysis {"connection_id":163388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2e"} 
[2026-08-23 20:46:06] local.INFO: Extracted packet for processing {"connection_id":163388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2e"} 
[2026-08-23 20:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599407872001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787497988000,"timestamp_ms":1787497988000,"timestamp_seconds":1787497988,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2ebfa0"} 
[2026-08-23 20:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599407872001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599407872001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:46:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599407872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":163388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:46:06] local.INFO: GPS data processed {"connection_id":163388,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:46:06] local.INFO: Acknowledgment sent {"connection_id":163388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:46:22] local.INFO: TCP Data received {"connection_id":160806,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:46:22] local.INFO: Processing buffer {"connection_id":160806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:46:22] local.INFO: Packet analysis {"connection_id":160806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2f"} 
[2026-08-23 20:46:22] local.INFO: Extracted packet for processing {"connection_id":160806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2f"} 
[2026-08-23 20:46:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599414016001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787498012000,"timestamp_ms":1787498012000,"timestamp_seconds":1787498012,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2f1d60"} 
[2026-08-23 20:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:46: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-08-23 20:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 20:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599414016001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599414016001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:46:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:46:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599414016001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":160806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:46:23] local.INFO: GPS data processed {"connection_id":160806,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:46:23] local.INFO: Acknowledgment sent {"connection_id":160806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:46:28] local.INFO: TCP Data received {"connection_id":161990,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:46:28] local.INFO: Processing buffer {"connection_id":161990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:46:28] local.INFO: IMEI packet received {"connection_id":161990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":161990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:46:34] local.INFO: TCP Data received {"connection_id":161990,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:46:34] local.INFO: Processing buffer {"connection_id":161990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:46:34] local.INFO: IMEI packet received {"connection_id":161990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":161990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:46:34] local.INFO: TCP Data received {"connection_id":161990,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:46:34] local.INFO: Processing buffer {"connection_id":161990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:46:34] local.INFO: Packet analysis {"connection_id":161990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2e"} 
[2026-08-23 20:46:34] local.INFO: Extracted packet for processing {"connection_id":161990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2e"} 
[2026-08-23 20:46:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599407872001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787497988000,"timestamp_ms":1787497988000,"timestamp_seconds":1787497988,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2ebfa0"} 
[2026-08-23 20:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599407872001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599407872001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:46:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:46:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599407872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":161990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:46:34] local.INFO: GPS data processed {"connection_id":161990,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:46:34] local.INFO: Acknowledgment sent {"connection_id":161990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:46:45] local.INFO: TCP Data received {"connection_id":163389,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:46:45] local.INFO: Processing buffer {"connection_id":163389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:46:45] local.INFO: IMEI packet received {"connection_id":163389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":163389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:46:50] local.INFO: TCP Data received {"connection_id":163389,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:46:50] local.INFO: Processing buffer {"connection_id":163389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:46:50] local.INFO: IMEI packet received {"connection_id":163389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":163389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:46:52] local.INFO: TCP Data received {"connection_id":163389,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:46:52] local.INFO: Processing buffer {"connection_id":163389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:46:52] local.INFO: Packet analysis {"connection_id":163389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2f"} 
[2026-08-23 20:46:52] local.INFO: Extracted packet for processing {"connection_id":163389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2f"} 
[2026-08-23 20:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599414016001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787498012000,"timestamp_ms":1787498012000,"timestamp_seconds":1787498012,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2f1d60"} 
[2026-08-23 20:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 20:46: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-08-23 20:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599414016001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599414016001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:46:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599414016001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":163389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:46:52] local.INFO: GPS data processed {"connection_id":163389,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:46:52] local.INFO: Acknowledgment sent {"connection_id":163389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:47:05] local.INFO: TCP Data received {"connection_id":161990,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:47:05] local.INFO: Processing buffer {"connection_id":161990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:47:05] local.INFO: Packet analysis {"connection_id":161990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2e"} 
[2026-08-23 20:47:05] local.INFO: Extracted packet for processing {"connection_id":161990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2e"} 
[2026-08-23 20:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599407872001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787497988000,"timestamp_ms":1787497988000,"timestamp_seconds":1787497988,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2ebfa0"} 
[2026-08-23 20:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599407872001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599407872001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:47:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599407872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":161990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:47:06] local.INFO: GPS data processed {"connection_id":161990,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:47:06] local.INFO: Acknowledgment sent {"connection_id":161990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:47:23] local.INFO: TCP Data received {"connection_id":163389,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:47:23] local.INFO: Processing buffer {"connection_id":163389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:47:23] local.INFO: Packet analysis {"connection_id":163389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2f"} 
[2026-08-23 20:47:23] local.INFO: Extracted packet for processing {"connection_id":163389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2f"} 
[2026-08-23 20:47:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599414016001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787498012000,"timestamp_ms":1787498012000,"timestamp_seconds":1787498012,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2f1d60"} 
[2026-08-23 20:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 20:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599414016001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599414016001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:47:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:47:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599414016001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":163389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:47:23] local.INFO: GPS data processed {"connection_id":163389,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:47:23] local.INFO: Acknowledgment sent {"connection_id":163389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:47:34] local.INFO: TCP Data received {"connection_id":161991,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:47:34] local.INFO: Processing buffer {"connection_id":161991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:47:34] local.INFO: IMEI packet received {"connection_id":161991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":161991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:47:39] local.INFO: TCP Data received {"connection_id":161991,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:47:39] local.INFO: Processing buffer {"connection_id":161991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:47:39] local.INFO: IMEI packet received {"connection_id":161991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":161991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:47:39] local.INFO: TCP Data received {"connection_id":161991,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:47:39] local.INFO: Processing buffer {"connection_id":161991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:47:39] local.INFO: Packet analysis {"connection_id":161991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2e"} 
[2026-08-23 20:47:39] local.INFO: Extracted packet for processing {"connection_id":161991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2e"} 
[2026-08-23 20:47:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599407872001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787497988000,"timestamp_ms":1787497988000,"timestamp_seconds":1787497988,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2ebfa0"} 
[2026-08-23 20:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599407872001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599407872001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:47:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:47:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599407872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":161991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:47:39] local.INFO: GPS data processed {"connection_id":161991,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:47:39] local.INFO: Acknowledgment sent {"connection_id":161991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:47:44] local.INFO: TCP Data received {"connection_id":161991,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:47:44] local.INFO: Processing buffer {"connection_id":161991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:47:44] local.INFO: Packet analysis {"connection_id":161991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2e"} 
[2026-08-23 20:47:44] local.INFO: Extracted packet for processing {"connection_id":161991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2e"} 
[2026-08-23 20:47:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599407872001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787497988000,"timestamp_ms":1787497988000,"timestamp_seconds":1787497988,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2ebfa0"} 
[2026-08-23 20:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599407872001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599407872001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:47:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:47:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599407872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":161991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:47:44] local.INFO: GPS data processed {"connection_id":161991,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:47:44] local.INFO: Acknowledgment sent {"connection_id":161991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:47:45] local.INFO: TCP Data received {"connection_id":160807,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:47:45] local.INFO: Processing buffer {"connection_id":160807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:47:45] local.INFO: IMEI packet received {"connection_id":160807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":160807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:47:50] local.INFO: TCP Data received {"connection_id":160807,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:47:50] local.INFO: Processing buffer {"connection_id":160807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:47:50] local.INFO: IMEI packet received {"connection_id":160807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":160807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:47:51] local.INFO: TCP Data received {"connection_id":160807,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:47:51] local.INFO: Processing buffer {"connection_id":160807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:47:51] local.INFO: Packet analysis {"connection_id":160807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2f"} 
[2026-08-23 20:47:51] local.INFO: Extracted packet for processing {"connection_id":160807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2f"} 
[2026-08-23 20:47:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599414016001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787498012000,"timestamp_ms":1787498012000,"timestamp_seconds":1787498012,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2f1d60"} 
[2026-08-23 20:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 20:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599414016001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599414016001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:47:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:47:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599414016001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":160807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:47:51] local.INFO: GPS data processed {"connection_id":160807,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:47:51] local.INFO: Acknowledgment sent {"connection_id":160807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:48:22] local.INFO: TCP Data received {"connection_id":160807,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:48:22] local.INFO: Processing buffer {"connection_id":160807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:48:22] local.INFO: Packet analysis {"connection_id":160807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2f"} 
[2026-08-23 20:48:22] local.INFO: Extracted packet for processing {"connection_id":160807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2f"} 
[2026-08-23 20:48:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599414016001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787498012000,"timestamp_ms":1787498012000,"timestamp_seconds":1787498012,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2f1d60"} 
[2026-08-23 20:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:48: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-08-23 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 20:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20: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-08-23 20:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599414016001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599414016001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:48:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:48:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599414016001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":160807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:48:22] local.INFO: GPS data processed {"connection_id":160807,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:48:22] local.INFO: Acknowledgment sent {"connection_id":160807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:48:29] local.INFO: TCP Data received {"connection_id":163390,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:48:29] local.INFO: Processing buffer {"connection_id":163390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:48:29] local.INFO: IMEI packet received {"connection_id":163390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":163390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:48:34] local.INFO: TCP Data received {"connection_id":163390,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:48:34] local.INFO: Processing buffer {"connection_id":163390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:48:34] local.INFO: IMEI packet received {"connection_id":163390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":163390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:48:34] local.INFO: TCP Data received {"connection_id":163390,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:48:34] local.INFO: Processing buffer {"connection_id":163390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2ebfa0012d196580071fef380042010e2a..."} 
[2026-08-23 20:48:34] local.INFO: Packet analysis {"connection_id":163390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2e"} 
[2026-08-23 20:48:34] local.INFO: Extracted packet for processing {"connection_id":163390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2e"} 
[2026-08-23 20:48:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599407872001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787497988000,"timestamp_ms":1787497988000,"timestamp_seconds":1787497988,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2ebfa0"} 
[2026-08-23 20:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599407872001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599407872001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:48:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:48:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599407872001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":163390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:48:34] local.INFO: GPS data processed {"connection_id":163390,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:48:34] local.INFO: Acknowledgment sent {"connection_id":163390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:48:45] local.INFO: TCP Data received {"connection_id":160808,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:48:45] local.INFO: Processing buffer {"connection_id":160808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:48:45] local.INFO: IMEI packet received {"connection_id":160808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":160808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:48:50] local.INFO: TCP Data received {"connection_id":160808,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:48:50] local.INFO: Processing buffer {"connection_id":160808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:48:50] local.INFO: IMEI packet received {"connection_id":160808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":160808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:48:51] local.INFO: TCP Data received {"connection_id":160808,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:48:51] local.INFO: Processing buffer {"connection_id":160808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f2f1d60012d34c58006aa40600014011423..."} 
[2026-08-23 20:48:51] local.INFO: Packet analysis {"connection_id":160808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f2f"} 
[2026-08-23 20:48:51] local.INFO: Extracted packet for processing {"connection_id":160808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f2f"} 
[2026-08-23 20:48:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599414016001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787498012000,"timestamp_ms":1787498012000,"timestamp_seconds":1787498012,"priority":1,"record_length":96,"hex_timestamp":"000001a02f2f1d60"} 
[2026-08-23 20:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 20:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599414016001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599414016001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:48:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:48:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599414016001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":160808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:48:51] local.INFO: GPS data processed {"connection_id":160808,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:48:51] local.INFO: Acknowledgment sent {"connection_id":160808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:49:05] local.INFO: TCP Data received {"connection_id":163390,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:49:05] local.INFO: Processing buffer {"connection_id":163390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:49:05] local.INFO: Packet analysis {"connection_id":163390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:49:05] local.INFO: Extracted packet for processing {"connection_id":163390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:49:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599484928001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787498289000,"timestamp_ms":1787498289000,"timestamp_seconds":1787498289,"priority":1,"record_length":96,"hex_timestamp":"000001a02f335768"} 
[2026-08-23 20:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599484928001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599484928001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:49:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:49:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599484928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":163390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:49:05] local.INFO: GPS data processed {"connection_id":163390,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:49:05] local.INFO: Acknowledgment sent {"connection_id":163390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:49:23] local.INFO: TCP Data received {"connection_id":160808,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:49:23] local.INFO: Processing buffer {"connection_id":160808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:49:23] local.INFO: Packet analysis {"connection_id":160808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:49:23] local.INFO: Extracted packet for processing {"connection_id":160808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:49:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599491072001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787498313000,"timestamp_ms":1787498313000,"timestamp_seconds":1787498313,"priority":1,"record_length":96,"hex_timestamp":"000001a02f33b528"} 
[2026-08-23 20:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:49: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-08-23 20:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599491072001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599491072001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:49:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:49:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599491072001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":160808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:49:23] local.INFO: GPS data processed {"connection_id":160808,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:49:23] local.INFO: Acknowledgment sent {"connection_id":160808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:49:28] local.INFO: TCP Data received {"connection_id":161992,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:49:28] local.INFO: Processing buffer {"connection_id":161992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:49:28] local.INFO: IMEI packet received {"connection_id":161992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":161992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:49:33] local.INFO: TCP Data received {"connection_id":161992,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:49:33] local.INFO: Processing buffer {"connection_id":161992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:49:33] local.INFO: IMEI packet received {"connection_id":161992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":161992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:49:34] local.INFO: TCP Data received {"connection_id":161992,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:49:34] local.INFO: Processing buffer {"connection_id":161992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:49:34] local.INFO: Packet analysis {"connection_id":161992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:49:34] local.INFO: Extracted packet for processing {"connection_id":161992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:49:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599484928001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787498289000,"timestamp_ms":1787498289000,"timestamp_seconds":1787498289,"priority":1,"record_length":96,"hex_timestamp":"000001a02f335768"} 
[2026-08-23 20:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599484928001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599484928001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:49:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:49:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599484928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":161992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:49:34] local.INFO: GPS data processed {"connection_id":161992,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:49:34] local.INFO: Acknowledgment sent {"connection_id":161992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:49:50] local.INFO: TCP Data received {"connection_id":163391,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:49:50] local.INFO: Processing buffer {"connection_id":163391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:49:50] local.INFO: IMEI packet received {"connection_id":163391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":163391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:49:55] local.INFO: TCP Data received {"connection_id":163391,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:49:55] local.INFO: Processing buffer {"connection_id":163391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:49:55] local.INFO: IMEI packet received {"connection_id":163391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":163391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:49:57] local.INFO: TCP Data received {"connection_id":163391,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:49:57] local.INFO: Processing buffer {"connection_id":163391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:49:57] local.INFO: Packet analysis {"connection_id":163391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:49:57] local.INFO: Extracted packet for processing {"connection_id":163391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:49:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599491072001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787498313000,"timestamp_ms":1787498313000,"timestamp_seconds":1787498313,"priority":1,"record_length":96,"hex_timestamp":"000001a02f33b528"} 
[2026-08-23 20:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:49: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-08-23 20:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599491072001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599491072001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:49:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:49:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599491072001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":163391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:49:57] local.INFO: GPS data processed {"connection_id":163391,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:49:57] local.INFO: Acknowledgment sent {"connection_id":163391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:50:06] local.INFO: TCP Data received {"connection_id":161992,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:50:06] local.INFO: Processing buffer {"connection_id":161992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:50:06] local.INFO: Packet analysis {"connection_id":161992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:50:06] local.INFO: Extracted packet for processing {"connection_id":161992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599484928001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787498289000,"timestamp_ms":1787498289000,"timestamp_seconds":1787498289,"priority":1,"record_length":96,"hex_timestamp":"000001a02f335768"} 
[2026-08-23 20:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599484928001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599484928001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:50:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599484928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":161992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:50:06] local.INFO: GPS data processed {"connection_id":161992,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:50:06] local.INFO: Acknowledgment sent {"connection_id":161992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:50:29] local.INFO: TCP Data received {"connection_id":163391,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:50:29] local.INFO: Processing buffer {"connection_id":163391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:50:29] local.INFO: Packet analysis {"connection_id":163391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:50:29] local.INFO: Extracted packet for processing {"connection_id":163391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:50:29] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599491072001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787498313000,"timestamp_ms":1787498313000,"timestamp_seconds":1787498313,"priority":1,"record_length":96,"hex_timestamp":"000001a02f33b528"} 
[2026-08-23 20:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:50: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-08-23 20:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599491072001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599491072001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:50:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:50:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599491072001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":163391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:50:29] local.INFO: GPS data processed {"connection_id":163391,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:50:29] local.INFO: Acknowledgment sent {"connection_id":163391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:50:34] local.INFO: TCP Data received {"connection_id":161044,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:50:34] local.INFO: Processing buffer {"connection_id":161044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:50:34] local.INFO: IMEI packet received {"connection_id":161044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":161044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:50:39] local.INFO: TCP Data received {"connection_id":161044,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:50:39] local.INFO: Processing buffer {"connection_id":161044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:50:39] local.INFO: IMEI packet received {"connection_id":161044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":161044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:50:39] local.INFO: TCP Data received {"connection_id":161044,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:50:39] local.INFO: Processing buffer {"connection_id":161044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:50:39] local.INFO: Packet analysis {"connection_id":161044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:50:39] local.INFO: Extracted packet for processing {"connection_id":161044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:50:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599484928001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787498289000,"timestamp_ms":1787498289000,"timestamp_seconds":1787498289,"priority":1,"record_length":96,"hex_timestamp":"000001a02f335768"} 
[2026-08-23 20:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599484928001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599484928001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:50:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:50:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599484928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":161044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:50:40] local.INFO: GPS data processed {"connection_id":161044,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:50:40] local.INFO: Acknowledgment sent {"connection_id":161044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:50:44] local.INFO: TCP Data received {"connection_id":161044,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:50:44] local.INFO: Processing buffer {"connection_id":161044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:50:44] local.INFO: Packet analysis {"connection_id":161044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:50:44] local.INFO: Extracted packet for processing {"connection_id":161044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:50:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599484928001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787498289000,"timestamp_ms":1787498289000,"timestamp_seconds":1787498289,"priority":1,"record_length":96,"hex_timestamp":"000001a02f335768"} 
[2026-08-23 20:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599484928001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599484928001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:50:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:50:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599484928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":161044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:50:44] local.INFO: GPS data processed {"connection_id":161044,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:50:44] local.INFO: Acknowledgment sent {"connection_id":161044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:50:45] local.INFO: TCP Data received {"connection_id":160809,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:50:45] local.INFO: Processing buffer {"connection_id":160809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:50:45] local.INFO: IMEI packet received {"connection_id":160809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":160809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:50:50] local.INFO: TCP Data received {"connection_id":160809,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:50:50] local.INFO: Processing buffer {"connection_id":160809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:50:50] local.INFO: IMEI packet received {"connection_id":160809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":160809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:50:51] local.INFO: TCP Data received {"connection_id":160809,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:50:51] local.INFO: Processing buffer {"connection_id":160809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:50:51] local.INFO: Packet analysis {"connection_id":160809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:50:51] local.INFO: Extracted packet for processing {"connection_id":160809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:50:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599491072001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787498313000,"timestamp_ms":1787498313000,"timestamp_seconds":1787498313,"priority":1,"record_length":96,"hex_timestamp":"000001a02f33b528"} 
[2026-08-23 20:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:50: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-08-23 20:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599491072001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599491072001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:50:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:50:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599491072001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":160809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:50:51] local.INFO: GPS data processed {"connection_id":160809,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:50:51] local.INFO: Acknowledgment sent {"connection_id":160809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:51:22] local.INFO: TCP Data received {"connection_id":160809,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:51:22] local.INFO: Processing buffer {"connection_id":160809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:51:22] local.INFO: Packet analysis {"connection_id":160809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:51:22] local.INFO: Extracted packet for processing {"connection_id":160809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:51:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599491072001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787498313000,"timestamp_ms":1787498313000,"timestamp_seconds":1787498313,"priority":1,"record_length":96,"hex_timestamp":"000001a02f33b528"} 
[2026-08-23 20:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:51: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-08-23 20:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599491072001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599491072001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:51:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:51:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599491072001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":160809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:51:22] local.INFO: GPS data processed {"connection_id":160809,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:51:22] local.INFO: Acknowledgment sent {"connection_id":160809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:51:28] local.INFO: TCP Data received {"connection_id":163392,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:51:28] local.INFO: Processing buffer {"connection_id":163392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:51:28] local.INFO: IMEI packet received {"connection_id":163392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":163392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:51:33] local.INFO: TCP Data received {"connection_id":163392,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:51:33] local.INFO: Processing buffer {"connection_id":163392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:51:33] local.INFO: IMEI packet received {"connection_id":163392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":163392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:51:34] local.INFO: TCP Data received {"connection_id":163392,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:51:34] local.INFO: Processing buffer {"connection_id":163392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:51:34] local.INFO: Packet analysis {"connection_id":163392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:51:34] local.INFO: Extracted packet for processing {"connection_id":163392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:51:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599484928001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787498289000,"timestamp_ms":1787498289000,"timestamp_seconds":1787498289,"priority":1,"record_length":96,"hex_timestamp":"000001a02f335768"} 
[2026-08-23 20:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599484928001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599484928001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:51:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:51:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599484928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":163392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:51:34] local.INFO: GPS data processed {"connection_id":163392,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:51:34] local.INFO: Acknowledgment sent {"connection_id":163392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:51:45] local.INFO: TCP Data received {"connection_id":160810,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:51:45] local.INFO: Processing buffer {"connection_id":160810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:51:45] local.INFO: IMEI packet received {"connection_id":160810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":160810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:51:50] local.INFO: TCP Data received {"connection_id":160810,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:51:50] local.INFO: Processing buffer {"connection_id":160810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:51:50] local.INFO: IMEI packet received {"connection_id":160810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":160810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:51:51] local.INFO: TCP Data received {"connection_id":160810,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:51:51] local.INFO: Processing buffer {"connection_id":160810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:51:51] local.INFO: Packet analysis {"connection_id":160810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:51:51] local.INFO: Extracted packet for processing {"connection_id":160810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:51:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 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-08-23 20:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599491072001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787498313000,"timestamp_ms":1787498313000,"timestamp_seconds":1787498313,"priority":1,"record_length":96,"hex_timestamp":"000001a02f33b528"} 
[2026-08-23 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-08-23 20:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 20:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599491072001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599491072001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:51:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:51:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599491072001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":160810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:51:51] local.INFO: GPS data processed {"connection_id":160810,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:51:51] local.INFO: Acknowledgment sent {"connection_id":160810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:52:05] local.INFO: TCP Data received {"connection_id":163392,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:52:05] local.INFO: Processing buffer {"connection_id":163392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:52:05] local.INFO: Packet analysis {"connection_id":163392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:52:05] local.INFO: Extracted packet for processing {"connection_id":163392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599484928001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787498289000,"timestamp_ms":1787498289000,"timestamp_seconds":1787498289,"priority":1,"record_length":96,"hex_timestamp":"000001a02f335768"} 
[2026-08-23 20:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599484928001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599484928001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:52:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599484928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":163392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:52:06] local.INFO: GPS data processed {"connection_id":163392,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:52:06] local.INFO: Acknowledgment sent {"connection_id":163392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:52:23] local.INFO: TCP Data received {"connection_id":160810,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:52:23] local.INFO: Processing buffer {"connection_id":160810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:52:23] local.INFO: Packet analysis {"connection_id":160810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:52:23] local.INFO: Extracted packet for processing {"connection_id":160810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:52:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599491072001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787498313000,"timestamp_ms":1787498313000,"timestamp_seconds":1787498313,"priority":1,"record_length":96,"hex_timestamp":"000001a02f33b528"} 
[2026-08-23 20:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599491072001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599491072001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:52:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:52:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599491072001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":160810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:52:23] local.INFO: GPS data processed {"connection_id":160810,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:52:23] local.INFO: Acknowledgment sent {"connection_id":160810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:52:28] local.INFO: TCP Data received {"connection_id":163393,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:52:28] local.INFO: Processing buffer {"connection_id":163393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:52:28] local.INFO: IMEI packet received {"connection_id":163393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":163393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:52:33] local.INFO: TCP Data received {"connection_id":163393,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:52:33] local.INFO: Processing buffer {"connection_id":163393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:52:33] local.INFO: IMEI packet received {"connection_id":163393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":163393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:52:34] local.INFO: TCP Data received {"connection_id":163393,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:52:34] local.INFO: Processing buffer {"connection_id":163393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:52:34] local.INFO: Packet analysis {"connection_id":163393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:52:34] local.INFO: Extracted packet for processing {"connection_id":163393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:52:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599484928001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787498289000,"timestamp_ms":1787498289000,"timestamp_seconds":1787498289,"priority":1,"record_length":96,"hex_timestamp":"000001a02f335768"} 
[2026-08-23 20:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599484928001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599484928001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:52:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:52:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599484928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":163393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:52:34] local.INFO: GPS data processed {"connection_id":163393,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:52:34] local.INFO: Acknowledgment sent {"connection_id":163393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:52:45] local.INFO: TCP Data received {"connection_id":161993,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:52:45] local.INFO: Processing buffer {"connection_id":161993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:52:45] local.INFO: IMEI packet received {"connection_id":161993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":161993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:52:50] local.INFO: TCP Data received {"connection_id":161993,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:52:50] local.INFO: Processing buffer {"connection_id":161993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:52:50] local.INFO: IMEI packet received {"connection_id":161993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":161993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:52:51] local.INFO: TCP Data received {"connection_id":161993,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:52:51] local.INFO: Processing buffer {"connection_id":161993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:52:51] local.INFO: Packet analysis {"connection_id":161993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:52:51] local.INFO: Extracted packet for processing {"connection_id":161993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:52:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599491072001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787498313000,"timestamp_ms":1787498313000,"timestamp_seconds":1787498313,"priority":1,"record_length":96,"hex_timestamp":"000001a02f33b528"} 
[2026-08-23 20:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599491072001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599491072001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:52:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:52:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599491072001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":161993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:52:51] local.INFO: GPS data processed {"connection_id":161993,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:52:51] local.INFO: Acknowledgment sent {"connection_id":161993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:53:05] local.INFO: TCP Data received {"connection_id":163393,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:53:05] local.INFO: Processing buffer {"connection_id":163393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:53:05] local.INFO: Packet analysis {"connection_id":163393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:53:05] local.INFO: Extracted packet for processing {"connection_id":163393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599484928001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787498289000,"timestamp_ms":1787498289000,"timestamp_seconds":1787498289,"priority":1,"record_length":96,"hex_timestamp":"000001a02f335768"} 
[2026-08-23 20:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599484928001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599484928001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:53:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599484928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":163393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:53:05] local.INFO: GPS data processed {"connection_id":163393,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:53:05] local.INFO: Acknowledgment sent {"connection_id":163393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:53:22] local.INFO: TCP Data received {"connection_id":161993,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:53:22] local.INFO: Processing buffer {"connection_id":161993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:53:22] local.INFO: Packet analysis {"connection_id":161993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:53:22] local.INFO: Extracted packet for processing {"connection_id":161993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:53:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599491072001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787498313000,"timestamp_ms":1787498313000,"timestamp_seconds":1787498313,"priority":1,"record_length":96,"hex_timestamp":"000001a02f33b528"} 
[2026-08-23 20:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:53: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-08-23 20:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:53:22] 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-08-23 20:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599491072001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599491072001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:53:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:53:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599491072001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":161993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:53:22] local.INFO: GPS data processed {"connection_id":161993,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:53:22] local.INFO: Acknowledgment sent {"connection_id":161993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:53:29] local.INFO: TCP Data received {"connection_id":161994,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:53:29] local.INFO: Processing buffer {"connection_id":161994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:53:29] local.INFO: IMEI packet received {"connection_id":161994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":161994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:53:33] local.INFO: TCP Data received {"connection_id":161994,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:53:33] local.INFO: Processing buffer {"connection_id":161994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:53:33] local.INFO: IMEI packet received {"connection_id":161994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":161994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:53:34] local.INFO: TCP Data received {"connection_id":161994,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:53:34] local.INFO: Processing buffer {"connection_id":161994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f335768012d196580071fef380042010e28..."} 
[2026-08-23 20:53:34] local.INFO: Packet analysis {"connection_id":161994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:53:34] local.INFO: Extracted packet for processing {"connection_id":161994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:53:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599484928001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787498289000,"timestamp_ms":1787498289000,"timestamp_seconds":1787498289,"priority":1,"record_length":96,"hex_timestamp":"000001a02f335768"} 
[2026-08-23 20:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599484928001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599484928001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:53:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:53:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599484928001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":161994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:53:34] local.INFO: GPS data processed {"connection_id":161994,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:53:34] local.INFO: Acknowledgment sent {"connection_id":161994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:53:45] local.INFO: TCP Data received {"connection_id":163394,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:53:45] local.INFO: Processing buffer {"connection_id":163394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:53:45] local.INFO: IMEI packet received {"connection_id":163394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":163394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:53:50] local.INFO: TCP Data received {"connection_id":163394,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:53:50] local.INFO: Processing buffer {"connection_id":163394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:53:50] local.INFO: IMEI packet received {"connection_id":163394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":163394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:53:51] local.INFO: TCP Data received {"connection_id":163394,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:53:51] local.INFO: Processing buffer {"connection_id":163394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f33b528012d34c58006aa40600014011426..."} 
[2026-08-23 20:53:51] local.INFO: Packet analysis {"connection_id":163394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:53:51] local.INFO: Extracted packet for processing {"connection_id":163394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f33"} 
[2026-08-23 20:53:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599491072001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787498313000,"timestamp_ms":1787498313000,"timestamp_seconds":1787498313,"priority":1,"record_length":96,"hex_timestamp":"000001a02f33b528"} 
[2026-08-23 20:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 20:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599491072001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599491072001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:53:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:53:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599491072001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":163394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:53:51] local.INFO: GPS data processed {"connection_id":163394,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:53:51] local.INFO: Acknowledgment sent {"connection_id":163394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:54:05] local.INFO: TCP Data received {"connection_id":161994,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:54:05] local.INFO: Processing buffer {"connection_id":161994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:54:05] local.INFO: Packet analysis {"connection_id":161994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f37"} 
[2026-08-23 20:54:05] local.INFO: Extracted packet for processing {"connection_id":161994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f37"} 
[2026-08-23 20:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599561984001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787498590000,"timestamp_ms":1787498590000,"timestamp_seconds":1787498590,"priority":1,"record_length":96,"hex_timestamp":"000001a02f37ef30"} 
[2026-08-23 20:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599561984001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599561984001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:54:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:54:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599561984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":161994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:54:05] local.INFO: GPS data processed {"connection_id":161994,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:54:05] local.INFO: Acknowledgment sent {"connection_id":161994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:54:23] local.INFO: TCP Data received {"connection_id":163394,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:54:23] local.INFO: Processing buffer {"connection_id":163394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:54:23] local.INFO: Packet analysis {"connection_id":163394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f38"} 
[2026-08-23 20:54:23] local.INFO: Extracted packet for processing {"connection_id":163394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f38"} 
[2026-08-23 20:54:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599568128001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787498614000,"timestamp_ms":1787498614000,"timestamp_seconds":1787498614,"priority":1,"record_length":96,"hex_timestamp":"000001a02f384cf0"} 
[2026-08-23 20:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 20:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:54:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599568128001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599568128001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:54:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:54:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599568128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":163394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:54:23] local.INFO: GPS data processed {"connection_id":163394,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:54:23] local.INFO: Acknowledgment sent {"connection_id":163394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:54:28] local.INFO: TCP Data received {"connection_id":161995,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:54:28] local.INFO: Processing buffer {"connection_id":161995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:54:28] local.INFO: IMEI packet received {"connection_id":161995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":161995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:54:33] local.INFO: TCP Data received {"connection_id":161995,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:54:33] local.INFO: Processing buffer {"connection_id":161995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:54:33] local.INFO: IMEI packet received {"connection_id":161995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":161995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:54:34] local.INFO: TCP Data received {"connection_id":161995,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:54:34] local.INFO: Processing buffer {"connection_id":161995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:54:34] local.INFO: Packet analysis {"connection_id":161995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f37"} 
[2026-08-23 20:54:34] local.INFO: Extracted packet for processing {"connection_id":161995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f37"} 
[2026-08-23 20:54:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599561984001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787498590000,"timestamp_ms":1787498590000,"timestamp_seconds":1787498590,"priority":1,"record_length":96,"hex_timestamp":"000001a02f37ef30"} 
[2026-08-23 20:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599561984001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599561984001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:54:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:54:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599561984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":161995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:54:34] local.INFO: GPS data processed {"connection_id":161995,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:54:34] local.INFO: Acknowledgment sent {"connection_id":161995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:54:45] local.INFO: TCP Data received {"connection_id":161996,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:54:45] local.INFO: Processing buffer {"connection_id":161996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:54:45] local.INFO: IMEI packet received {"connection_id":161996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":161996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:54:50] local.INFO: TCP Data received {"connection_id":161996,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:54:50] local.INFO: Processing buffer {"connection_id":161996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:54:50] local.INFO: IMEI packet received {"connection_id":161996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":161996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:54:51] local.INFO: TCP Data received {"connection_id":161996,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:54:51] local.INFO: Processing buffer {"connection_id":161996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:54:51] local.INFO: Packet analysis {"connection_id":161996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f38"} 
[2026-08-23 20:54:51] local.INFO: Extracted packet for processing {"connection_id":161996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f38"} 
[2026-08-23 20:54:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599568128001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787498614000,"timestamp_ms":1787498614000,"timestamp_seconds":1787498614,"priority":1,"record_length":96,"hex_timestamp":"000001a02f384cf0"} 
[2026-08-23 20:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 20:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599568128001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599568128001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:54:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:54:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599568128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":161996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:54:51] local.INFO: GPS data processed {"connection_id":161996,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:54:51] local.INFO: Acknowledgment sent {"connection_id":161996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:55:05] local.INFO: TCP Data received {"connection_id":161995,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:55:05] local.INFO: Processing buffer {"connection_id":161995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:55:05] local.INFO: Packet analysis {"connection_id":161995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f37"} 
[2026-08-23 20:55:05] local.INFO: Extracted packet for processing {"connection_id":161995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f37"} 
[2026-08-23 20:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599561984001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787498590000,"timestamp_ms":1787498590000,"timestamp_seconds":1787498590,"priority":1,"record_length":96,"hex_timestamp":"000001a02f37ef30"} 
[2026-08-23 20:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599561984001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599561984001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:55:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:55:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599561984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":161995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:55:06] local.INFO: GPS data processed {"connection_id":161995,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:55:06] local.INFO: Acknowledgment sent {"connection_id":161995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:55:23] local.INFO: TCP Data received {"connection_id":161996,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:55:23] local.INFO: Processing buffer {"connection_id":161996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:55:23] local.INFO: Packet analysis {"connection_id":161996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f38"} 
[2026-08-23 20:55:23] local.INFO: Extracted packet for processing {"connection_id":161996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f38"} 
[2026-08-23 20:55:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:55: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-08-23 20:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599568128001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787498614000,"timestamp_ms":1787498614000,"timestamp_seconds":1787498614,"priority":1,"record_length":96,"hex_timestamp":"000001a02f384cf0"} 
[2026-08-23 20:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:55: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":255,"data_length":795,"current_offset":136} 
[2026-08-23 20:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:55: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-08-23 20:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599568128001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599568128001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:55:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:55:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599568128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":161996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:55:23] local.INFO: GPS data processed {"connection_id":161996,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:55:23] local.INFO: Acknowledgment sent {"connection_id":161996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:55:33] local.INFO: TCP Data received {"connection_id":161045,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:55:33] local.INFO: Processing buffer {"connection_id":161045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:55:33] local.INFO: IMEI packet received {"connection_id":161045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":161045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:55:38] local.INFO: TCP Data received {"connection_id":161045,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:55:38] local.INFO: Processing buffer {"connection_id":161045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:55:38] local.INFO: IMEI packet received {"connection_id":161045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":161045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:55:39] local.INFO: TCP Data received {"connection_id":161045,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:55:39] local.INFO: Processing buffer {"connection_id":161045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:55:39] local.INFO: Packet analysis {"connection_id":161045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f37"} 
[2026-08-23 20:55:39] local.INFO: Extracted packet for processing {"connection_id":161045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f37"} 
[2026-08-23 20:55:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599561984001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787498590000,"timestamp_ms":1787498590000,"timestamp_seconds":1787498590,"priority":1,"record_length":96,"hex_timestamp":"000001a02f37ef30"} 
[2026-08-23 20:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599561984001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599561984001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:55:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:55:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599561984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":161045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:55:39] local.INFO: GPS data processed {"connection_id":161045,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:55:39] local.INFO: Acknowledgment sent {"connection_id":161045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:55:44] local.INFO: TCP Data received {"connection_id":161045,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:55:44] local.INFO: Processing buffer {"connection_id":161045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:55:44] local.INFO: Packet analysis {"connection_id":161045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f37"} 
[2026-08-23 20:55:44] local.INFO: Extracted packet for processing {"connection_id":161045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f37"} 
[2026-08-23 20:55:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599561984001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787498590000,"timestamp_ms":1787498590000,"timestamp_seconds":1787498590,"priority":1,"record_length":96,"hex_timestamp":"000001a02f37ef30"} 
[2026-08-23 20:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599561984001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599561984001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:55:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:55:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599561984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":161045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:55:44] local.INFO: GPS data processed {"connection_id":161045,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:55:44] local.INFO: Acknowledgment sent {"connection_id":161045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:55:45] local.INFO: TCP Data received {"connection_id":160811,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:55:45] local.INFO: Processing buffer {"connection_id":160811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:55:45] local.INFO: IMEI packet received {"connection_id":160811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":160811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:55:50] local.INFO: TCP Data received {"connection_id":160811,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:55:50] local.INFO: Processing buffer {"connection_id":160811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:55:50] local.INFO: IMEI packet received {"connection_id":160811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":160811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:55:51] local.INFO: TCP Data received {"connection_id":160811,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:55:51] local.INFO: Processing buffer {"connection_id":160811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:55:51] local.INFO: Packet analysis {"connection_id":160811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f38"} 
[2026-08-23 20:55:51] local.INFO: Extracted packet for processing {"connection_id":160811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f38"} 
[2026-08-23 20:55:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599568128001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787498614000,"timestamp_ms":1787498614000,"timestamp_seconds":1787498614,"priority":1,"record_length":96,"hex_timestamp":"000001a02f384cf0"} 
[2026-08-23 20:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 20:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599568128001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599568128001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:55:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:55:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599568128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":160811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:55:51] local.INFO: GPS data processed {"connection_id":160811,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:55:51] local.INFO: Acknowledgment sent {"connection_id":160811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:56:23] local.INFO: TCP Data received {"connection_id":160811,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:56:23] local.INFO: Processing buffer {"connection_id":160811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:56:23] local.INFO: Packet analysis {"connection_id":160811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f38"} 
[2026-08-23 20:56:23] local.INFO: Extracted packet for processing {"connection_id":160811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f38"} 
[2026-08-23 20:56:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599568128001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787498614000,"timestamp_ms":1787498614000,"timestamp_seconds":1787498614,"priority":1,"record_length":96,"hex_timestamp":"000001a02f384cf0"} 
[2026-08-23 20:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 20:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599568128001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599568128001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:56:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:56:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599568128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":160811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:56:23] local.INFO: GPS data processed {"connection_id":160811,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:56:23] local.INFO: Acknowledgment sent {"connection_id":160811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:56:28] local.INFO: TCP Data received {"connection_id":161046,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:56:28] local.INFO: Processing buffer {"connection_id":161046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:56:28] local.INFO: IMEI packet received {"connection_id":161046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":161046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:56:33] local.INFO: TCP Data received {"connection_id":161046,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:56:33] local.INFO: Processing buffer {"connection_id":161046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:56:33] local.INFO: IMEI packet received {"connection_id":161046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":161046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:56:34] local.INFO: TCP Data received {"connection_id":161046,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:56:34] local.INFO: Processing buffer {"connection_id":161046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:56:34] local.INFO: Packet analysis {"connection_id":161046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f37"} 
[2026-08-23 20:56:34] local.INFO: Extracted packet for processing {"connection_id":161046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f37"} 
[2026-08-23 20:56:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599561984001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787498590000,"timestamp_ms":1787498590000,"timestamp_seconds":1787498590,"priority":1,"record_length":96,"hex_timestamp":"000001a02f37ef30"} 
[2026-08-23 20:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599561984001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599561984001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:56:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:56:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599561984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":161046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:56:34] local.INFO: GPS data processed {"connection_id":161046,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:56:34] local.INFO: Acknowledgment sent {"connection_id":161046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:56:45] local.INFO: TCP Data received {"connection_id":161997,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:56:45] local.INFO: Processing buffer {"connection_id":161997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:56:45] local.INFO: IMEI packet received {"connection_id":161997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":161997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:56:51] local.INFO: TCP Data received {"connection_id":161997,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:56:51] local.INFO: Processing buffer {"connection_id":161997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:56:51] local.INFO: IMEI packet received {"connection_id":161997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":161997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:56:52] local.INFO: TCP Data received {"connection_id":161997,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:56:52] local.INFO: Processing buffer {"connection_id":161997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:56:52] local.INFO: Packet analysis {"connection_id":161997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f38"} 
[2026-08-23 20:56:52] local.INFO: Extracted packet for processing {"connection_id":161997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f38"} 
[2026-08-23 20:56:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599568128001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787498614000,"timestamp_ms":1787498614000,"timestamp_seconds":1787498614,"priority":1,"record_length":96,"hex_timestamp":"000001a02f384cf0"} 
[2026-08-23 20:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 20:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:56:52] 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-08-23 20:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599568128001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599568128001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:56:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:56:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599568128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":161997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:56:53] local.INFO: GPS data processed {"connection_id":161997,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:56:53] local.INFO: Acknowledgment sent {"connection_id":161997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:57:06] local.INFO: TCP Data received {"connection_id":161046,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:57:06] local.INFO: Processing buffer {"connection_id":161046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:57:06] local.INFO: Packet analysis {"connection_id":161046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f37"} 
[2026-08-23 20:57:06] local.INFO: Extracted packet for processing {"connection_id":161046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f37"} 
[2026-08-23 20:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599561984001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787498590000,"timestamp_ms":1787498590000,"timestamp_seconds":1787498590,"priority":1,"record_length":96,"hex_timestamp":"000001a02f37ef30"} 
[2026-08-23 20:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599561984001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599561984001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:57:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599561984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":161046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:57:06] local.INFO: GPS data processed {"connection_id":161046,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:57:06] local.INFO: Acknowledgment sent {"connection_id":161046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:57:25] local.INFO: TCP Data received {"connection_id":161997,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:57:25] local.INFO: Processing buffer {"connection_id":161997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:57:25] local.INFO: Packet analysis {"connection_id":161997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f38"} 
[2026-08-23 20:57:25] local.INFO: Extracted packet for processing {"connection_id":161997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f38"} 
[2026-08-23 20:57:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599568128001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787498614000,"timestamp_ms":1787498614000,"timestamp_seconds":1787498614,"priority":1,"record_length":96,"hex_timestamp":"000001a02f384cf0"} 
[2026-08-23 20:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 20:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:57:25] 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-08-23 20:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599568128001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599568128001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:57:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:57:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599568128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":161997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:57:25] local.INFO: GPS data processed {"connection_id":161997,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:57:25] local.INFO: Acknowledgment sent {"connection_id":161997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:57:28] local.INFO: TCP Data received {"connection_id":161047,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:57:28] local.INFO: Processing buffer {"connection_id":161047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:57:28] local.INFO: IMEI packet received {"connection_id":161047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":161047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:57:33] local.INFO: TCP Data received {"connection_id":161047,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:57:33] local.INFO: Processing buffer {"connection_id":161047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:57:33] local.INFO: IMEI packet received {"connection_id":161047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":161047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:57:34] local.INFO: TCP Data received {"connection_id":161047,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:57:34] local.INFO: Processing buffer {"connection_id":161047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:57:34] local.INFO: Packet analysis {"connection_id":161047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f37"} 
[2026-08-23 20:57:34] local.INFO: Extracted packet for processing {"connection_id":161047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f37"} 
[2026-08-23 20:57:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599561984001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787498590000,"timestamp_ms":1787498590000,"timestamp_seconds":1787498590,"priority":1,"record_length":96,"hex_timestamp":"000001a02f37ef30"} 
[2026-08-23 20:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599561984001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599561984001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:57:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:57:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599561984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":161047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:57:34] local.INFO: GPS data processed {"connection_id":161047,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:57:34] local.INFO: Acknowledgment sent {"connection_id":161047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:57:45] local.INFO: TCP Data received {"connection_id":163395,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:57:45] local.INFO: Processing buffer {"connection_id":163395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:57:45] local.INFO: IMEI packet received {"connection_id":163395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":163395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:57:50] local.INFO: TCP Data received {"connection_id":163395,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:57:50] local.INFO: Processing buffer {"connection_id":163395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:57:50] local.INFO: IMEI packet received {"connection_id":163395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":163395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:57:51] local.INFO: TCP Data received {"connection_id":163395,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:57:51] local.INFO: Processing buffer {"connection_id":163395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:57:51] local.INFO: Packet analysis {"connection_id":163395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f38"} 
[2026-08-23 20:57:51] local.INFO: Extracted packet for processing {"connection_id":163395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f38"} 
[2026-08-23 20:57:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599568128001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787498614000,"timestamp_ms":1787498614000,"timestamp_seconds":1787498614,"priority":1,"record_length":96,"hex_timestamp":"000001a02f384cf0"} 
[2026-08-23 20:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 20:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:57:51] 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-08-23 20:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599568128001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599568128001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:57:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:57:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599568128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":163395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:57:51] local.INFO: GPS data processed {"connection_id":163395,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:57:51] local.INFO: Acknowledgment sent {"connection_id":163395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:58:05] local.INFO: TCP Data received {"connection_id":161047,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:58:05] local.INFO: Processing buffer {"connection_id":161047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:58:05] local.INFO: Packet analysis {"connection_id":161047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f37"} 
[2026-08-23 20:58:05] local.INFO: Extracted packet for processing {"connection_id":161047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f37"} 
[2026-08-23 20:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599561984001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787498590000,"timestamp_ms":1787498590000,"timestamp_seconds":1787498590,"priority":1,"record_length":96,"hex_timestamp":"000001a02f37ef30"} 
[2026-08-23 20:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599561984001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599561984001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:58:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:58:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599561984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":161047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:58:06] local.INFO: GPS data processed {"connection_id":161047,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:58:06] local.INFO: Acknowledgment sent {"connection_id":161047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:58:23] local.INFO: TCP Data received {"connection_id":163395,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:58:23] local.INFO: Processing buffer {"connection_id":163395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:58:23] local.INFO: Packet analysis {"connection_id":163395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f38"} 
[2026-08-23 20:58:23] local.INFO: Extracted packet for processing {"connection_id":163395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f38"} 
[2026-08-23 20:58:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599568128001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787498614000,"timestamp_ms":1787498614000,"timestamp_seconds":1787498614,"priority":1,"record_length":96,"hex_timestamp":"000001a02f384cf0"} 
[2026-08-23 20:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 20:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:58:23] 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-08-23 20:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599568128001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599568128001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:58:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:58:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599568128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":163395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:58:23] local.INFO: GPS data processed {"connection_id":163395,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:58:23] local.INFO: Acknowledgment sent {"connection_id":163395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:58:29] local.INFO: TCP Data received {"connection_id":163396,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:58:29] local.INFO: Processing buffer {"connection_id":163396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:58:29] local.INFO: IMEI packet received {"connection_id":163396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":163396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:58:33] local.INFO: TCP Data received {"connection_id":163396,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:58:33] local.INFO: Processing buffer {"connection_id":163396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:58:33] local.INFO: IMEI packet received {"connection_id":163396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":163396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:58:34] local.INFO: TCP Data received {"connection_id":163396,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:58:34] local.INFO: Processing buffer {"connection_id":163396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f37ef30012d196580071fef380042010e29..."} 
[2026-08-23 20:58:34] local.INFO: Packet analysis {"connection_id":163396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f37"} 
[2026-08-23 20:58:34] local.INFO: Extracted packet for processing {"connection_id":163396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f37"} 
[2026-08-23 20:58:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":66,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599561984001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787498590000,"timestamp_ms":1787498590000,"timestamp_seconds":1787498590,"priority":1,"record_length":96,"hex_timestamp":"000001a02f37ef30"} 
[2026-08-23 20:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599561984001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599561984001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:58:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:58:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599561984001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":163396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:58:34] local.INFO: GPS data processed {"connection_id":163396,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:58:34] local.INFO: Acknowledgment sent {"connection_id":163396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:58:45] local.INFO: TCP Data received {"connection_id":160812,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:58:45] local.INFO: Processing buffer {"connection_id":160812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:58:45] local.INFO: IMEI packet received {"connection_id":160812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":160812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:58:50] local.INFO: TCP Data received {"connection_id":160812,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:58:50] local.INFO: Processing buffer {"connection_id":160812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:58:50] local.INFO: IMEI packet received {"connection_id":160812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":160812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:58:51] local.INFO: TCP Data received {"connection_id":160812,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:58:51] local.INFO: Processing buffer {"connection_id":160812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f384cf0012d34c58006aa40600014011425..."} 
[2026-08-23 20:58:51] local.INFO: Packet analysis {"connection_id":160812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f38"} 
[2026-08-23 20:58:51] local.INFO: Extracted packet for processing {"connection_id":160812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f38"} 
[2026-08-23 20:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:58: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-08-23 20:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599568128001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787498614000,"timestamp_ms":1787498614000,"timestamp_seconds":1787498614,"priority":1,"record_length":96,"hex_timestamp":"000001a02f384cf0"} 
[2026-08-23 20:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 20:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:58:51] 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-08-23 20:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599568128001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599568128001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:58:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599568128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":160812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:58:51] local.INFO: GPS data processed {"connection_id":160812,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:58:51] local.INFO: Acknowledgment sent {"connection_id":160812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:59:05] local.INFO: TCP Data received {"connection_id":163396,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 20:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 20:59:05] local.INFO: Processing buffer {"connection_id":163396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 20:59:05] local.INFO: Packet analysis {"connection_id":163396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 20:59:05] local.INFO: Extracted packet for processing {"connection_id":163396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 20:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":68,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599639040001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787498891000,"timestamp_ms":1787498891000,"timestamp_seconds":1787498891,"priority":1,"record_length":96,"hex_timestamp":"000001a02f3c86f8"} 
[2026-08-23 20:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:59:05] 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-08-23 20:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599639040001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599639040001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:59:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:59:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599639040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":163396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:59:05] local.INFO: GPS data processed {"connection_id":163396,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:59:05] local.INFO: Acknowledgment sent {"connection_id":163396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:59:23] local.INFO: TCP Data received {"connection_id":160812,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 20:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 20:59:23] local.INFO: Processing buffer {"connection_id":160812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 20:59:23] local.INFO: Packet analysis {"connection_id":160812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 20:59:23] local.INFO: Extracted packet for processing {"connection_id":160812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 20:59:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599645184001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787498915000,"timestamp_ms":1787498915000,"timestamp_seconds":1787498915,"priority":1,"record_length":96,"hex_timestamp":"000001a02f3ce4b8"} 
[2026-08-23 20:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:59:23] 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-08-23 20:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599645184001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599645184001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:59:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:59:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599645184001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":160812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:59:23] local.INFO: GPS data processed {"connection_id":160812,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:59:23] local.INFO: Acknowledgment sent {"connection_id":160812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:59:28] local.INFO: TCP Data received {"connection_id":161998,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:59:28] local.INFO: Processing buffer {"connection_id":161998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:59:28] local.INFO: IMEI packet received {"connection_id":161998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 20:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":161998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:59:33] local.INFO: TCP Data received {"connection_id":161998,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:59:33] local.INFO: Processing buffer {"connection_id":161998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 20:59:33] local.INFO: IMEI packet received {"connection_id":161998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 20:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":161998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:59:34] local.INFO: TCP Data received {"connection_id":161998,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 20:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 20:59:34] local.INFO: Processing buffer {"connection_id":161998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 20:59:34] local.INFO: Packet analysis {"connection_id":161998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 20:59:34] local.INFO: Extracted packet for processing {"connection_id":161998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 20:59:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":68,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 20:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 20:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599639040001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 20:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 20:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787498891000,"timestamp_ms":1787498891000,"timestamp_seconds":1787498891,"priority":1,"record_length":96,"hex_timestamp":"000001a02f3c86f8"} 
[2026-08-23 20:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 20:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 20:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 20:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 20:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 20:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599639040001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 20:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 20:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 20:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599639040001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:59:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 20:59:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 20:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 20:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599639040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 20:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":161998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:59:34] local.INFO: GPS data processed {"connection_id":161998,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:59:34] local.INFO: Acknowledgment sent {"connection_id":161998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 20:59:50] local.INFO: TCP Data received {"connection_id":160813,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:59:50] local.INFO: Processing buffer {"connection_id":160813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:59:50] local.INFO: IMEI packet received {"connection_id":160813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 20:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":160813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 20:59:55] local.INFO: TCP Data received {"connection_id":160813,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:59:55] local.INFO: Processing buffer {"connection_id":160813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 20:59:55] local.INFO: IMEI packet received {"connection_id":160813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 20:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":160813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 20:59:56] local.INFO: TCP Data received {"connection_id":160813,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 20:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 20:59:56] local.INFO: Processing buffer {"connection_id":160813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 20:59:56] local.INFO: Packet analysis {"connection_id":160813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 20:59:56] local.INFO: Extracted packet for processing {"connection_id":160813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 20:59:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 20: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-08-23 20:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599645184001,"note":"Value kept but may cause issues"} 
[2026-08-23 20:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 20:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 20:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 20:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787498915000,"timestamp_ms":1787498915000,"timestamp_seconds":1787498915,"priority":1,"record_length":96,"hex_timestamp":"000001a02f3ce4b8"} 
[2026-08-23 20:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 20:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 20:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 20:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 20: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-08-23 20:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 20:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 20:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 20:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 20:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 20:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 20:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 20:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599645184001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 20:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 20:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 20:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599645184001,"description":"Unknown IO ID 0"} 
[2026-08-23 20:59:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 20:59:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 20:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 20:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 20:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599645184001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 20:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":160813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 20:59:56] local.INFO: GPS data processed {"connection_id":160813,"processed":1,"errors":0,"total":1} 
[2026-08-23 20:59:56] local.INFO: Acknowledgment sent {"connection_id":160813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:00:01] local.INFO: TCP Data received {"connection_id":160813,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:00:01] local.INFO: Processing buffer {"connection_id":160813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:00:01] local.INFO: Packet analysis {"connection_id":160813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:00:01] local.INFO: Extracted packet for processing {"connection_id":160813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:00:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599645184001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787498915000,"timestamp_ms":1787498915000,"timestamp_seconds":1787498915,"priority":1,"record_length":96,"hex_timestamp":"000001a02f3ce4b8"} 
[2026-08-23 21:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 21:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599645184001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599645184001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:00:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:00:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599645184001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":160813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:00:01] local.INFO: GPS data processed {"connection_id":160813,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:00:01] local.INFO: Acknowledgment sent {"connection_id":160813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:00:05] local.INFO: TCP Data received {"connection_id":161998,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:00:05] local.INFO: Processing buffer {"connection_id":161998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:00:05] local.INFO: Packet analysis {"connection_id":161998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:00:05] local.INFO: Extracted packet for processing {"connection_id":161998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":68,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599639040001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787498891000,"timestamp_ms":1787498891000,"timestamp_seconds":1787498891,"priority":1,"record_length":96,"hex_timestamp":"000001a02f3c86f8"} 
[2026-08-23 21:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:00:05] 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-08-23 21:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599639040001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599639040001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:00:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:00:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599639040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":161998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:00:06] local.INFO: GPS data processed {"connection_id":161998,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:00:06] local.INFO: Acknowledgment sent {"connection_id":161998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:00:33] local.INFO: TCP Data received {"connection_id":163397,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:00:33] local.INFO: Processing buffer {"connection_id":163397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:00:33] local.INFO: IMEI packet received {"connection_id":163397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":163397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:00:38] local.INFO: TCP Data received {"connection_id":163397,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:00:38] local.INFO: Processing buffer {"connection_id":163397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:00:38] local.INFO: IMEI packet received {"connection_id":163397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":163397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:00:39] local.INFO: TCP Data received {"connection_id":163397,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:00:39] local.INFO: Processing buffer {"connection_id":163397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:00:39] local.INFO: Packet analysis {"connection_id":163397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:00:39] local.INFO: Extracted packet for processing {"connection_id":163397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:00:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":68,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599639040001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787498891000,"timestamp_ms":1787498891000,"timestamp_seconds":1787498891,"priority":1,"record_length":96,"hex_timestamp":"000001a02f3c86f8"} 
[2026-08-23 21:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:00:39] 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-08-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599639040001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599639040001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:00:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:00:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599639040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":163397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:00:39] local.INFO: GPS data processed {"connection_id":163397,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:00:39] local.INFO: Acknowledgment sent {"connection_id":163397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:00:44] local.INFO: TCP Data received {"connection_id":163397,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:00:44] local.INFO: Processing buffer {"connection_id":163397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:00:44] local.INFO: Packet analysis {"connection_id":163397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:00:44] local.INFO: Extracted packet for processing {"connection_id":163397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:00:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":68,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599639040001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787498891000,"timestamp_ms":1787498891000,"timestamp_seconds":1787498891,"priority":1,"record_length":96,"hex_timestamp":"000001a02f3c86f8"} 
[2026-08-23 21:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:00:44] 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-08-23 21:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599639040001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599639040001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:00:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:00:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599639040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":163397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:00:44] local.INFO: GPS data processed {"connection_id":163397,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:00:44] local.INFO: Acknowledgment sent {"connection_id":163397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:00:45] local.INFO: TCP Data received {"connection_id":163398,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:00:45] local.INFO: Processing buffer {"connection_id":163398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:00:45] local.INFO: IMEI packet received {"connection_id":163398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":163398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:00:50] local.INFO: TCP Data received {"connection_id":163398,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:00:50] local.INFO: Processing buffer {"connection_id":163398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:00:50] local.INFO: IMEI packet received {"connection_id":163398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":163398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:00:51] local.INFO: TCP Data received {"connection_id":163398,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:00:51] local.INFO: Processing buffer {"connection_id":163398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:00:51] local.INFO: Packet analysis {"connection_id":163398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:00:51] local.INFO: Extracted packet for processing {"connection_id":163398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:00:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599645184001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787498915000,"timestamp_ms":1787498915000,"timestamp_seconds":1787498915,"priority":1,"record_length":96,"hex_timestamp":"000001a02f3ce4b8"} 
[2026-08-23 21:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 21:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599645184001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599645184001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:00:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:00:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599645184001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":163398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:00:51] local.INFO: GPS data processed {"connection_id":163398,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:00:51] local.INFO: Acknowledgment sent {"connection_id":163398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:01:23] local.INFO: TCP Data received {"connection_id":163398,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:01:23] local.INFO: Processing buffer {"connection_id":163398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:01:23] local.INFO: Packet analysis {"connection_id":163398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:01:23] local.INFO: Extracted packet for processing {"connection_id":163398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:01:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599645184001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787498915000,"timestamp_ms":1787498915000,"timestamp_seconds":1787498915,"priority":1,"record_length":96,"hex_timestamp":"000001a02f3ce4b8"} 
[2026-08-23 21:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 21:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599645184001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599645184001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:01:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:01:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599645184001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":163398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:01:23] local.INFO: GPS data processed {"connection_id":163398,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:01:23] local.INFO: Acknowledgment sent {"connection_id":163398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:01:28] local.INFO: TCP Data received {"connection_id":161999,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:01:28] local.INFO: Processing buffer {"connection_id":161999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:01:28] local.INFO: IMEI packet received {"connection_id":161999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":161999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:01:33] local.INFO: TCP Data received {"connection_id":161999,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:01:33] local.INFO: Processing buffer {"connection_id":161999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:01:33] local.INFO: IMEI packet received {"connection_id":161999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":161999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:01:34] local.INFO: TCP Data received {"connection_id":161999,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:01:34] local.INFO: Processing buffer {"connection_id":161999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:01:34] local.INFO: Packet analysis {"connection_id":161999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:01:34] local.INFO: Extracted packet for processing {"connection_id":161999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:01:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":68,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599639040001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787498891000,"timestamp_ms":1787498891000,"timestamp_seconds":1787498891,"priority":1,"record_length":96,"hex_timestamp":"000001a02f3c86f8"} 
[2026-08-23 21:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599639040001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599639040001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:01:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:01:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599639040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":161999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:01:34] local.INFO: GPS data processed {"connection_id":161999,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:01:34] local.INFO: Acknowledgment sent {"connection_id":161999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:01:45] local.INFO: TCP Data received {"connection_id":163399,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:01:45] local.INFO: Processing buffer {"connection_id":163399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:01:45] local.INFO: IMEI packet received {"connection_id":163399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":163399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:01:50] local.INFO: TCP Data received {"connection_id":163399,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:01:50] local.INFO: Processing buffer {"connection_id":163399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:01:50] local.INFO: IMEI packet received {"connection_id":163399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":163399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:01:51] local.INFO: TCP Data received {"connection_id":163399,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:01:51] local.INFO: Processing buffer {"connection_id":163399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:01:51] local.INFO: Packet analysis {"connection_id":163399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:01:51] local.INFO: Extracted packet for processing {"connection_id":163399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:01:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599645184001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787498915000,"timestamp_ms":1787498915000,"timestamp_seconds":1787498915,"priority":1,"record_length":96,"hex_timestamp":"000001a02f3ce4b8"} 
[2026-08-23 21:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 21:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599645184001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599645184001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:01:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:01:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599645184001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":163399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:01:51] local.INFO: GPS data processed {"connection_id":163399,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:01:51] local.INFO: Acknowledgment sent {"connection_id":163399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:02:06] local.INFO: TCP Data received {"connection_id":161999,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:02:06] local.INFO: Processing buffer {"connection_id":161999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:02:06] local.INFO: Packet analysis {"connection_id":161999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:02:06] local.INFO: Extracted packet for processing {"connection_id":161999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":68,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599639040001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787498891000,"timestamp_ms":1787498891000,"timestamp_seconds":1787498891,"priority":1,"record_length":96,"hex_timestamp":"000001a02f3c86f8"} 
[2026-08-23 21:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599639040001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599639040001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:02:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599639040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":161999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:02:06] local.INFO: GPS data processed {"connection_id":161999,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:02:06] local.INFO: Acknowledgment sent {"connection_id":161999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:02:22] local.INFO: TCP Data received {"connection_id":163399,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:02:22] local.INFO: Processing buffer {"connection_id":163399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:02:22] local.INFO: Packet analysis {"connection_id":163399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:02:22] local.INFO: Extracted packet for processing {"connection_id":163399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:02:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599645184001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787498915000,"timestamp_ms":1787498915000,"timestamp_seconds":1787498915,"priority":1,"record_length":96,"hex_timestamp":"000001a02f3ce4b8"} 
[2026-08-23 21:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:02: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-08-23 21:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 21:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599645184001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599645184001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:02:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:02:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599645184001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":163399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:02:22] local.INFO: GPS data processed {"connection_id":163399,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:02:22] local.INFO: Acknowledgment sent {"connection_id":163399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:02:29] local.INFO: TCP Data received {"connection_id":160814,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:02:29] local.INFO: Processing buffer {"connection_id":160814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:02:29] local.INFO: IMEI packet received {"connection_id":160814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":160814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:02:33] local.INFO: TCP Data received {"connection_id":160814,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:02:33] local.INFO: Processing buffer {"connection_id":160814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:02:33] local.INFO: IMEI packet received {"connection_id":160814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":160814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:02:34] local.INFO: TCP Data received {"connection_id":160814,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:02:34] local.INFO: Processing buffer {"connection_id":160814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:02:34] local.INFO: Packet analysis {"connection_id":160814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:02:34] local.INFO: Extracted packet for processing {"connection_id":160814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:02:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":68,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599639040001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787498891000,"timestamp_ms":1787498891000,"timestamp_seconds":1787498891,"priority":1,"record_length":96,"hex_timestamp":"000001a02f3c86f8"} 
[2026-08-23 21:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599639040001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599639040001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:02:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:02:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599639040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":160814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:02:34] local.INFO: GPS data processed {"connection_id":160814,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:02:34] local.INFO: Acknowledgment sent {"connection_id":160814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:02:45] local.INFO: TCP Data received {"connection_id":162000,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:02:45] local.INFO: Processing buffer {"connection_id":162000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:02:45] local.INFO: IMEI packet received {"connection_id":162000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":162000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:02:50] local.INFO: TCP Data received {"connection_id":162000,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:02:50] local.INFO: Processing buffer {"connection_id":162000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:02:50] local.INFO: IMEI packet received {"connection_id":162000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":162000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:02:51] local.INFO: TCP Data received {"connection_id":162000,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:02:51] local.INFO: Processing buffer {"connection_id":162000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:02:51] local.INFO: Packet analysis {"connection_id":162000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:02:51] local.INFO: Extracted packet for processing {"connection_id":162000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:02:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599645184001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787498915000,"timestamp_ms":1787498915000,"timestamp_seconds":1787498915,"priority":1,"record_length":96,"hex_timestamp":"000001a02f3ce4b8"} 
[2026-08-23 21:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 21:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:02:51] 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-08-23 21:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599645184001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599645184001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:02:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:02:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599645184001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":162000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:02:51] local.INFO: GPS data processed {"connection_id":162000,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:02:51] local.INFO: Acknowledgment sent {"connection_id":162000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:03:05] local.INFO: TCP Data received {"connection_id":160814,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:03:05] local.INFO: Processing buffer {"connection_id":160814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:03:05] local.INFO: Packet analysis {"connection_id":160814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:03:05] local.INFO: Extracted packet for processing {"connection_id":160814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":68,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599639040001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787498891000,"timestamp_ms":1787498891000,"timestamp_seconds":1787498891,"priority":1,"record_length":96,"hex_timestamp":"000001a02f3c86f8"} 
[2026-08-23 21:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:03:05] 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-08-23 21:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599639040001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599639040001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:03:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:03:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599639040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":160814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:03:06] local.INFO: GPS data processed {"connection_id":160814,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:03:06] local.INFO: Acknowledgment sent {"connection_id":160814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:03:22] local.INFO: TCP Data received {"connection_id":162000,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:03:22] local.INFO: Processing buffer {"connection_id":162000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:03:22] local.INFO: Packet analysis {"connection_id":162000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:03:22] local.INFO: Extracted packet for processing {"connection_id":162000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:03:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599645184001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787498915000,"timestamp_ms":1787498915000,"timestamp_seconds":1787498915,"priority":1,"record_length":96,"hex_timestamp":"000001a02f3ce4b8"} 
[2026-08-23 21:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:03: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-08-23 21:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 21:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599645184001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599645184001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:03:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:03:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599645184001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":162000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:03:22] local.INFO: GPS data processed {"connection_id":162000,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:03:22] local.INFO: Acknowledgment sent {"connection_id":162000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:03:29] local.INFO: TCP Data received {"connection_id":162001,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:03:29] local.INFO: Processing buffer {"connection_id":162001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:03:29] local.INFO: IMEI packet received {"connection_id":162001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":162001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:03:33] local.INFO: TCP Data received {"connection_id":162001,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:03:33] local.INFO: Processing buffer {"connection_id":162001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:03:33] local.INFO: IMEI packet received {"connection_id":162001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":162001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:03:34] local.INFO: TCP Data received {"connection_id":162001,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:03:34] local.INFO: Processing buffer {"connection_id":162001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f3c86f8012d196580071fef380044010e26..."} 
[2026-08-23 21:03:34] local.INFO: Packet analysis {"connection_id":162001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:03:34] local.INFO: Extracted packet for processing {"connection_id":162001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:03:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":68,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599639040001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787498891000,"timestamp_ms":1787498891000,"timestamp_seconds":1787498891,"priority":1,"record_length":96,"hex_timestamp":"000001a02f3c86f8"} 
[2026-08-23 21:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599639040001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599639040001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:03:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:03:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599639040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":162001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:03:34] local.INFO: GPS data processed {"connection_id":162001,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:03:34] local.INFO: Acknowledgment sent {"connection_id":162001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:03:45] local.INFO: TCP Data received {"connection_id":160815,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:03:45] local.INFO: Processing buffer {"connection_id":160815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:03:45] local.INFO: IMEI packet received {"connection_id":160815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":160815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:03:50] local.INFO: TCP Data received {"connection_id":160815,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:03:50] local.INFO: Processing buffer {"connection_id":160815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:03:50] local.INFO: IMEI packet received {"connection_id":160815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":160815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:03:52] local.INFO: TCP Data received {"connection_id":160815,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:03:52] local.INFO: Processing buffer {"connection_id":160815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f3ce4b8012d34c58006aa4060001401141f..."} 
[2026-08-23 21:03:52] local.INFO: Packet analysis {"connection_id":160815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:03:52] local.INFO: Extracted packet for processing {"connection_id":160815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f3c"} 
[2026-08-23 21:03:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":20,"angle":276,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599645184001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787498915000,"timestamp_ms":1787498915000,"timestamp_seconds":1787498915,"priority":1,"record_length":96,"hex_timestamp":"000001a02f3ce4b8"} 
[2026-08-23 21:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 21:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599645184001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599645184001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:03:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:03:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599645184001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":160815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:03:52] local.INFO: GPS data processed {"connection_id":160815,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:03:52] local.INFO: Acknowledgment sent {"connection_id":160815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:04:06] local.INFO: TCP Data received {"connection_id":162001,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:04:06] local.INFO: Processing buffer {"connection_id":162001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:04:06] local.INFO: Packet analysis {"connection_id":162001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:04:06] local.INFO: Extracted packet for processing {"connection_id":162001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":68,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599716096001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787499192000,"timestamp_ms":1787499192000,"timestamp_seconds":1787499192,"priority":1,"record_length":96,"hex_timestamp":"000001a02f411ec0"} 
[2026-08-23 21:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599716096001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599716096001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:04:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599716096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":162001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:04:06] local.INFO: GPS data processed {"connection_id":162001,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:04:06] local.INFO: Acknowledgment sent {"connection_id":162001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:04:26] local.INFO: TCP Data received {"connection_id":160815,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:04:26] local.INFO: Processing buffer {"connection_id":160815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:04:26] local.INFO: Packet analysis {"connection_id":160815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:04:26] local.INFO: Extracted packet for processing {"connection_id":160815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:04:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":13,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599722240001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787499216000,"timestamp_ms":1787499216000,"timestamp_seconds":1787499216,"priority":1,"record_length":96,"hex_timestamp":"000001a02f417c80"} 
[2026-08-23 21:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:04: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-08-23 21:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599722240001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599722240001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:04:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:04:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599722240001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":160815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:04:26] local.INFO: GPS data processed {"connection_id":160815,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:04:26] local.INFO: Acknowledgment sent {"connection_id":160815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:04:28] local.INFO: TCP Data received {"connection_id":163400,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:04:28] local.INFO: Processing buffer {"connection_id":163400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:04:28] local.INFO: IMEI packet received {"connection_id":163400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":163400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:04:33] local.INFO: TCP Data received {"connection_id":163400,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:04:33] local.INFO: Processing buffer {"connection_id":163400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:04:33] local.INFO: IMEI packet received {"connection_id":163400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":163400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:04:34] local.INFO: TCP Data received {"connection_id":163400,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:04:34] local.INFO: Processing buffer {"connection_id":163400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:04:34] local.INFO: Packet analysis {"connection_id":163400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:04:34] local.INFO: Extracted packet for processing {"connection_id":163400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:04:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":68,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599716096001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787499192000,"timestamp_ms":1787499192000,"timestamp_seconds":1787499192,"priority":1,"record_length":96,"hex_timestamp":"000001a02f411ec0"} 
[2026-08-23 21:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599716096001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599716096001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:04:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:04:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599716096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":163400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:04:34] local.INFO: GPS data processed {"connection_id":163400,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:04:34] local.INFO: Acknowledgment sent {"connection_id":163400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:04:45] local.INFO: TCP Data received {"connection_id":160816,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:04:45] local.INFO: Processing buffer {"connection_id":160816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:04:45] local.INFO: IMEI packet received {"connection_id":160816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":160816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:04:50] local.INFO: TCP Data received {"connection_id":160816,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:04:50] local.INFO: Processing buffer {"connection_id":160816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:04:50] local.INFO: IMEI packet received {"connection_id":160816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":160816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:04:52] local.INFO: TCP Data received {"connection_id":160816,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:04:52] local.INFO: Processing buffer {"connection_id":160816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:04:52] local.INFO: Packet analysis {"connection_id":160816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:04:52] local.INFO: Extracted packet for processing {"connection_id":160816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":13,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599722240001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787499216000,"timestamp_ms":1787499216000,"timestamp_seconds":1787499216,"priority":1,"record_length":96,"hex_timestamp":"000001a02f417c80"} 
[2026-08-23 21:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:04: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-08-23 21:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599722240001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599722240001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:04:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599722240001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":160816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:04:52] local.INFO: GPS data processed {"connection_id":160816,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:04:52] local.INFO: Acknowledgment sent {"connection_id":160816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:04:58] local.INFO: TCP Data received {"connection_id":160816,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:04:58] local.INFO: Processing buffer {"connection_id":160816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:04:58] local.INFO: Packet analysis {"connection_id":160816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:04:58] local.INFO: Extracted packet for processing {"connection_id":160816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:04:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":13,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 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-08-23 21:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599722240001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787499216000,"timestamp_ms":1787499216000,"timestamp_seconds":1787499216,"priority":1,"record_length":96,"hex_timestamp":"000001a02f417c80"} 
[2026-08-23 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-08-23 21:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 21:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599722240001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599722240001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:04:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:04:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599722240001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":160816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:04:58] local.INFO: GPS data processed {"connection_id":160816,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:04:58] local.INFO: Acknowledgment sent {"connection_id":160816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:05:05] local.INFO: TCP Data received {"connection_id":163400,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:05:05] local.INFO: Processing buffer {"connection_id":163400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:05:05] local.INFO: Packet analysis {"connection_id":163400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:05:05] local.INFO: Extracted packet for processing {"connection_id":163400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:05:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":68,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599716096001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787499192000,"timestamp_ms":1787499192000,"timestamp_seconds":1787499192,"priority":1,"record_length":96,"hex_timestamp":"000001a02f411ec0"} 
[2026-08-23 21:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599716096001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599716096001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:05:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:05:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599716096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":163400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:05:06] local.INFO: GPS data processed {"connection_id":163400,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:05:06] local.INFO: Acknowledgment sent {"connection_id":163400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:05:33] local.INFO: TCP Data received {"connection_id":160817,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:05:33] local.INFO: Processing buffer {"connection_id":160817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:05:33] local.INFO: IMEI packet received {"connection_id":160817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":160817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:05:38] local.INFO: TCP Data received {"connection_id":160817,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:05:38] local.INFO: Processing buffer {"connection_id":160817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:05:38] local.INFO: IMEI packet received {"connection_id":160817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":160817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:05:39] local.INFO: TCP Data received {"connection_id":160817,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:05:39] local.INFO: Processing buffer {"connection_id":160817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:05:39] local.INFO: Packet analysis {"connection_id":160817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:05:39] local.INFO: Extracted packet for processing {"connection_id":160817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:05:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":68,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599716096001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787499192000,"timestamp_ms":1787499192000,"timestamp_seconds":1787499192,"priority":1,"record_length":96,"hex_timestamp":"000001a02f411ec0"} 
[2026-08-23 21:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599716096001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599716096001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:05:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:05:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599716096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":160817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:05:39] local.INFO: GPS data processed {"connection_id":160817,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:05:39] local.INFO: Acknowledgment sent {"connection_id":160817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:05:44] local.INFO: TCP Data received {"connection_id":160817,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:05:44] local.INFO: Processing buffer {"connection_id":160817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:05:44] local.INFO: Packet analysis {"connection_id":160817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:05:44] local.INFO: Extracted packet for processing {"connection_id":160817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:05:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":68,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599716096001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787499192000,"timestamp_ms":1787499192000,"timestamp_seconds":1787499192,"priority":1,"record_length":96,"hex_timestamp":"000001a02f411ec0"} 
[2026-08-23 21:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:05: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-08-23 21:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599716096001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599716096001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:05:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:05:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599716096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":160817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:05:44] local.INFO: GPS data processed {"connection_id":160817,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:05:44] local.INFO: Acknowledgment sent {"connection_id":160817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:05:45] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:05:45] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:05:45] local.INFO: IMEI packet received {"connection_id":162002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":162002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:05:50] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:05:50] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:05:50] local.INFO: IMEI packet received {"connection_id":162002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":162002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:05:52] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:05:52] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:05:52] local.INFO: Packet analysis {"connection_id":162002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:05:52] local.INFO: Extracted packet for processing {"connection_id":162002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":13,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599722240001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787499216000,"timestamp_ms":1787499216000,"timestamp_seconds":1787499216,"priority":1,"record_length":96,"hex_timestamp":"000001a02f417c80"} 
[2026-08-23 21:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:05: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-08-23 21:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599722240001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599722240001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:05:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:05:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599722240001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":162002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:05:52] local.INFO: GPS data processed {"connection_id":162002,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:05:52] local.INFO: Acknowledgment sent {"connection_id":162002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:05:53] local.INFO: TCP Data received {"connection_id":160816,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:05:53] local.INFO: Processing buffer {"connection_id":160816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:05:53] local.INFO: Packet analysis {"connection_id":160816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:05:53] local.INFO: Extracted packet for processing {"connection_id":160816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:05:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":13,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599722240001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787499216000,"timestamp_ms":1787499216000,"timestamp_seconds":1787499216,"priority":1,"record_length":96,"hex_timestamp":"000001a02f417c80"} 
[2026-08-23 21:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:05: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-08-23 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599722240001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599722240001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:05:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:05:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599722240001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":160816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:05:53] local.INFO: GPS data processed {"connection_id":160816,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:05:53] local.INFO: Acknowledgment sent {"connection_id":160816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:06:24] local.INFO: TCP Data received {"connection_id":162002,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:06:24] local.INFO: Processing buffer {"connection_id":162002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:06:24] local.INFO: Packet analysis {"connection_id":162002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:06:24] local.INFO: Extracted packet for processing {"connection_id":162002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:06:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":13,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599722240001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787499216000,"timestamp_ms":1787499216000,"timestamp_seconds":1787499216,"priority":1,"record_length":96,"hex_timestamp":"000001a02f417c80"} 
[2026-08-23 21:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:06:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21: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-08-23 21:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599722240001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599722240001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:06:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:06:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599722240001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":162002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:06:24] local.INFO: GPS data processed {"connection_id":162002,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:06:24] local.INFO: Acknowledgment sent {"connection_id":162002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:06:28] local.INFO: TCP Data received {"connection_id":161048,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:06:28] local.INFO: Processing buffer {"connection_id":161048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:06:28] local.INFO: IMEI packet received {"connection_id":161048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":161048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:06:33] local.INFO: TCP Data received {"connection_id":161048,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:06:33] local.INFO: Processing buffer {"connection_id":161048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:06:33] local.INFO: IMEI packet received {"connection_id":161048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":161048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:06:34] local.INFO: TCP Data received {"connection_id":161048,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:06:34] local.INFO: Processing buffer {"connection_id":161048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:06:34] local.INFO: Packet analysis {"connection_id":161048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:06:34] local.INFO: Extracted packet for processing {"connection_id":161048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:06:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":68,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599716096001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787499192000,"timestamp_ms":1787499192000,"timestamp_seconds":1787499192,"priority":1,"record_length":96,"hex_timestamp":"000001a02f411ec0"} 
[2026-08-23 21:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599716096001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599716096001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:06:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:06:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599716096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":161048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:06:34] local.INFO: GPS data processed {"connection_id":161048,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:06:34] local.INFO: Acknowledgment sent {"connection_id":161048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:06:45] local.INFO: TCP Data received {"connection_id":162003,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:06:45] local.INFO: Processing buffer {"connection_id":162003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:06:45] local.INFO: IMEI packet received {"connection_id":162003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":162003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:06:55] local.INFO: TCP Data received {"connection_id":162003,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:06:55] local.INFO: Processing buffer {"connection_id":162003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:06:55] local.INFO: IMEI packet received {"connection_id":162003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":162003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:06:56] local.INFO: TCP Data received {"connection_id":162003,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:06:56] local.INFO: Processing buffer {"connection_id":162003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:06:56] local.INFO: Packet analysis {"connection_id":162003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:06:56] local.INFO: Extracted packet for processing {"connection_id":162003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:06:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":13,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599722240001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787499216000,"timestamp_ms":1787499216000,"timestamp_seconds":1787499216,"priority":1,"record_length":96,"hex_timestamp":"000001a02f417c80"} 
[2026-08-23 21:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599722240001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599722240001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:06:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:06:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599722240001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":162003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:06:56] local.INFO: GPS data processed {"connection_id":162003,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:06:56] local.INFO: Acknowledgment sent {"connection_id":162003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:07:05] local.INFO: TCP Data received {"connection_id":161048,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:07:05] local.INFO: Processing buffer {"connection_id":161048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:07:05] local.INFO: Packet analysis {"connection_id":161048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:07:05] local.INFO: Extracted packet for processing {"connection_id":161048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":68,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599716096001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787499192000,"timestamp_ms":1787499192000,"timestamp_seconds":1787499192,"priority":1,"record_length":96,"hex_timestamp":"000001a02f411ec0"} 
[2026-08-23 21:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599716096001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599716096001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:07:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:07:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599716096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":161048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:07:05] local.INFO: GPS data processed {"connection_id":161048,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:07:05] local.INFO: Acknowledgment sent {"connection_id":161048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:07:27] local.INFO: TCP Data received {"connection_id":162003,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:07:27] local.INFO: Processing buffer {"connection_id":162003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:07:27] local.INFO: Packet analysis {"connection_id":162003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:07:27] local.INFO: Extracted packet for processing {"connection_id":162003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:07:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":13,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599722240001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787499216000,"timestamp_ms":1787499216000,"timestamp_seconds":1787499216,"priority":1,"record_length":96,"hex_timestamp":"000001a02f417c80"} 
[2026-08-23 21:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599722240001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599722240001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:07:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:07:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599722240001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":162003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:07:27] local.INFO: GPS data processed {"connection_id":162003,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:07:27] local.INFO: Acknowledgment sent {"connection_id":162003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:07:28] local.INFO: TCP Data received {"connection_id":162004,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:07:29] local.INFO: Processing buffer {"connection_id":162004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:07:29] local.INFO: IMEI packet received {"connection_id":162004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":162004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:07:33] local.INFO: TCP Data received {"connection_id":162004,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:07:33] local.INFO: Processing buffer {"connection_id":162004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:07:33] local.INFO: IMEI packet received {"connection_id":162004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":162004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:07:34] local.INFO: TCP Data received {"connection_id":162004,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:07:34] local.INFO: Processing buffer {"connection_id":162004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:07:34] local.INFO: Packet analysis {"connection_id":162004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:07:34] local.INFO: Extracted packet for processing {"connection_id":162004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:07:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":68,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599716096001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787499192000,"timestamp_ms":1787499192000,"timestamp_seconds":1787499192,"priority":1,"record_length":96,"hex_timestamp":"000001a02f411ec0"} 
[2026-08-23 21:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599716096001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599716096001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:07:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:07:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599716096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":162004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:07:34] local.INFO: GPS data processed {"connection_id":162004,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:07:34] local.INFO: Acknowledgment sent {"connection_id":162004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:07:45] local.INFO: TCP Data received {"connection_id":160818,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:07:45] local.INFO: Processing buffer {"connection_id":160818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:07:45] local.INFO: IMEI packet received {"connection_id":160818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":160818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:07:50] local.INFO: TCP Data received {"connection_id":160818,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:07:50] local.INFO: Processing buffer {"connection_id":160818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:07:50] local.INFO: IMEI packet received {"connection_id":160818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":160818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:07:51] local.INFO: TCP Data received {"connection_id":160818,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:07:51] local.INFO: Processing buffer {"connection_id":160818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:07:51] local.INFO: Packet analysis {"connection_id":160818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:07:51] local.INFO: Extracted packet for processing {"connection_id":160818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:07:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":13,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599722240001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787499216000,"timestamp_ms":1787499216000,"timestamp_seconds":1787499216,"priority":1,"record_length":96,"hex_timestamp":"000001a02f417c80"} 
[2026-08-23 21:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:07: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-08-23 21:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:07:51] 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-08-23 21:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599722240001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599722240001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:07:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:07:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599722240001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":160818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:07:51] local.INFO: GPS data processed {"connection_id":160818,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:07:51] local.INFO: Acknowledgment sent {"connection_id":160818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:08:05] local.INFO: TCP Data received {"connection_id":162004,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:08:05] local.INFO: Processing buffer {"connection_id":162004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:08:05] local.INFO: Packet analysis {"connection_id":162004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:08:05] local.INFO: Extracted packet for processing {"connection_id":162004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":68,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599716096001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787499192000,"timestamp_ms":1787499192000,"timestamp_seconds":1787499192,"priority":1,"record_length":96,"hex_timestamp":"000001a02f411ec0"} 
[2026-08-23 21:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599716096001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599716096001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:08:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:08:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599716096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":162004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:08:06] local.INFO: GPS data processed {"connection_id":162004,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:08:06] local.INFO: Acknowledgment sent {"connection_id":162004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:08:23] local.INFO: TCP Data received {"connection_id":160818,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:08:23] local.INFO: Processing buffer {"connection_id":160818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:08:23] local.INFO: Packet analysis {"connection_id":160818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:08:23] local.INFO: Extracted packet for processing {"connection_id":160818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:08:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":13,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599722240001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787499216000,"timestamp_ms":1787499216000,"timestamp_seconds":1787499216,"priority":1,"record_length":96,"hex_timestamp":"000001a02f417c80"} 
[2026-08-23 21:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:08: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-08-23 21:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:08:23] 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-08-23 21:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599722240001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599722240001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:08:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:08:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599722240001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":160818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:08:23] local.INFO: GPS data processed {"connection_id":160818,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:08:23] local.INFO: Acknowledgment sent {"connection_id":160818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:08:29] local.INFO: TCP Data received {"connection_id":161049,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:08:29] local.INFO: Processing buffer {"connection_id":161049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:08:29] local.INFO: IMEI packet received {"connection_id":161049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":161049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:08:33] local.INFO: TCP Data received {"connection_id":161049,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:08:33] local.INFO: Processing buffer {"connection_id":161049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:08:33] local.INFO: IMEI packet received {"connection_id":161049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":161049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:08:34] local.INFO: TCP Data received {"connection_id":161049,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:08:34] local.INFO: Processing buffer {"connection_id":161049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f411ec0012d196580071fef380044010e2a..."} 
[2026-08-23 21:08:34] local.INFO: Packet analysis {"connection_id":161049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:08:34] local.INFO: Extracted packet for processing {"connection_id":161049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:08:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":68,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599716096001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787499192000,"timestamp_ms":1787499192000,"timestamp_seconds":1787499192,"priority":1,"record_length":96,"hex_timestamp":"000001a02f411ec0"} 
[2026-08-23 21:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599716096001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599716096001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:08:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:08:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599716096001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":161049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:08:34] local.INFO: GPS data processed {"connection_id":161049,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:08:34] local.INFO: Acknowledgment sent {"connection_id":161049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:08:45] local.INFO: TCP Data received {"connection_id":163401,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:08:45] local.INFO: Processing buffer {"connection_id":163401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:08:45] local.INFO: IMEI packet received {"connection_id":163401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":163401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:08:51] local.INFO: TCP Data received {"connection_id":163401,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:08:51] local.INFO: Processing buffer {"connection_id":163401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:08:51] local.INFO: IMEI packet received {"connection_id":163401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":163401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:08:52] local.INFO: TCP Data received {"connection_id":163401,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:08:52] local.INFO: Processing buffer {"connection_id":163401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f417c80012d34c58006aa4060000d011423..."} 
[2026-08-23 21:08:52] local.INFO: Packet analysis {"connection_id":163401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:08:52] local.INFO: Extracted packet for processing {"connection_id":163401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f41"} 
[2026-08-23 21:08:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":13,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599722240001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787499216000,"timestamp_ms":1787499216000,"timestamp_seconds":1787499216,"priority":1,"record_length":96,"hex_timestamp":"000001a02f417c80"} 
[2026-08-23 21:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21: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-08-23 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599722240001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599722240001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:08:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:08:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599722240001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":163401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:08:52] local.INFO: GPS data processed {"connection_id":163401,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:08:52] local.INFO: Acknowledgment sent {"connection_id":163401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:09:05] local.INFO: TCP Data received {"connection_id":161049,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:09:05] local.INFO: Processing buffer {"connection_id":161049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:09:05] local.INFO: Packet analysis {"connection_id":161049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f45"} 
[2026-08-23 21:09:05] local.INFO: Extracted packet for processing {"connection_id":161049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f45"} 
[2026-08-23 21:09:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599793152001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787499493000,"timestamp_ms":1787499493000,"timestamp_seconds":1787499493,"priority":1,"record_length":96,"hex_timestamp":"000001a02f45b688"} 
[2026-08-23 21:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599793152001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599793152001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:09:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599793152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":161049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:09:06] local.INFO: GPS data processed {"connection_id":161049,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:09:06] local.INFO: Acknowledgment sent {"connection_id":161049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:09:23] local.INFO: TCP Data received {"connection_id":163401,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:09:23] local.INFO: Processing buffer {"connection_id":163401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:09:23] local.INFO: Packet analysis {"connection_id":163401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f46"} 
[2026-08-23 21:09:23] local.INFO: Extracted packet for processing {"connection_id":163401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f46"} 
[2026-08-23 21:09:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":19,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599799296001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787499517000,"timestamp_ms":1787499517000,"timestamp_seconds":1787499517,"priority":1,"record_length":96,"hex_timestamp":"000001a02f461448"} 
[2026-08-23 21:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 21:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599799296001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599799296001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:09:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:09:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599799296001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":163401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:09:23] local.INFO: GPS data processed {"connection_id":163401,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:09:23] local.INFO: Acknowledgment sent {"connection_id":163401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:09:28] local.INFO: TCP Data received {"connection_id":163402,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:09:28] local.INFO: Processing buffer {"connection_id":163402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:09:28] local.INFO: IMEI packet received {"connection_id":163402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":163402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:09:34] local.INFO: TCP Data received {"connection_id":163402,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:09:34] local.INFO: Processing buffer {"connection_id":163402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:09:34] local.INFO: IMEI packet received {"connection_id":163402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":163402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:09:35] local.INFO: TCP Data received {"connection_id":163402,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:09:35] local.INFO: Processing buffer {"connection_id":163402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:09:35] local.INFO: Packet analysis {"connection_id":163402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f45"} 
[2026-08-23 21:09:35] local.INFO: Extracted packet for processing {"connection_id":163402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f45"} 
[2026-08-23 21:09:35] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599793152001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787499493000,"timestamp_ms":1787499493000,"timestamp_seconds":1787499493,"priority":1,"record_length":96,"hex_timestamp":"000001a02f45b688"} 
[2026-08-23 21:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599793152001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599793152001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:09:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:09:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599793152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":163402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:09:35] local.INFO: GPS data processed {"connection_id":163402,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:09:35] local.INFO: Acknowledgment sent {"connection_id":163402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:09:50] local.INFO: TCP Data received {"connection_id":161050,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:09:50] local.INFO: Processing buffer {"connection_id":161050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:09:50] local.INFO: IMEI packet received {"connection_id":161050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":161050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:09:55] local.INFO: TCP Data received {"connection_id":161050,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:09:55] local.INFO: Processing buffer {"connection_id":161050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:09:55] local.INFO: IMEI packet received {"connection_id":161050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":161050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:09:56] local.INFO: TCP Data received {"connection_id":161050,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:09:56] local.INFO: Processing buffer {"connection_id":161050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:09:56] local.INFO: Packet analysis {"connection_id":161050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f46"} 
[2026-08-23 21:09:56] local.INFO: Extracted packet for processing {"connection_id":161050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f46"} 
[2026-08-23 21:09:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":19,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599799296001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787499517000,"timestamp_ms":1787499517000,"timestamp_seconds":1787499517,"priority":1,"record_length":96,"hex_timestamp":"000001a02f461448"} 
[2026-08-23 21:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 21:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599799296001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599799296001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:09:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:09:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599799296001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":161050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:09:56] local.INFO: GPS data processed {"connection_id":161050,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:09:56] local.INFO: Acknowledgment sent {"connection_id":161050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:10:01] local.INFO: TCP Data received {"connection_id":161050,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:10:01] local.INFO: Processing buffer {"connection_id":161050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:10:01] local.INFO: Packet analysis {"connection_id":161050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f46"} 
[2026-08-23 21:10:01] local.INFO: Extracted packet for processing {"connection_id":161050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f46"} 
[2026-08-23 21:10:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":19,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599799296001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787499517000,"timestamp_ms":1787499517000,"timestamp_seconds":1787499517,"priority":1,"record_length":96,"hex_timestamp":"000001a02f461448"} 
[2026-08-23 21:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 21:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599799296001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599799296001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:10:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:10:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599799296001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":161050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:10:01] local.INFO: GPS data processed {"connection_id":161050,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:10:01] local.INFO: Acknowledgment sent {"connection_id":161050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:10:06] local.INFO: TCP Data received {"connection_id":163402,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:10:06] local.INFO: Processing buffer {"connection_id":163402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:10:06] local.INFO: Packet analysis {"connection_id":163402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f45"} 
[2026-08-23 21:10:06] local.INFO: Extracted packet for processing {"connection_id":163402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f45"} 
[2026-08-23 21:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599793152001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787499493000,"timestamp_ms":1787499493000,"timestamp_seconds":1787499493,"priority":1,"record_length":96,"hex_timestamp":"000001a02f45b688"} 
[2026-08-23 21:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599793152001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599793152001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:10:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599793152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":163402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:10:06] local.INFO: GPS data processed {"connection_id":163402,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:10:06] local.INFO: Acknowledgment sent {"connection_id":163402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:10:33] local.INFO: TCP Data received {"connection_id":162005,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:10:33] local.INFO: Processing buffer {"connection_id":162005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:10:33] local.INFO: IMEI packet received {"connection_id":162005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":162005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:10:38] local.INFO: TCP Data received {"connection_id":162005,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:10:38] local.INFO: Processing buffer {"connection_id":162005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:10:38] local.INFO: IMEI packet received {"connection_id":162005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":162005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:10:39] local.INFO: TCP Data received {"connection_id":162005,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:10:39] local.INFO: Processing buffer {"connection_id":162005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:10:39] local.INFO: Packet analysis {"connection_id":162005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f45"} 
[2026-08-23 21:10:39] local.INFO: Extracted packet for processing {"connection_id":162005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f45"} 
[2026-08-23 21:10:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599793152001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787499493000,"timestamp_ms":1787499493000,"timestamp_seconds":1787499493,"priority":1,"record_length":96,"hex_timestamp":"000001a02f45b688"} 
[2026-08-23 21:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":162005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":162005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":162005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599793152001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599793152001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:10:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:10:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599793152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":162005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:10:39] local.INFO: GPS data processed {"connection_id":162005,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:10:39] local.INFO: Acknowledgment sent {"connection_id":162005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:10:44] local.INFO: TCP Data received {"connection_id":162005,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:10:44] local.INFO: Processing buffer {"connection_id":162005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:10:44] local.INFO: Packet analysis {"connection_id":162005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f45"} 
[2026-08-23 21:10:44] local.INFO: Extracted packet for processing {"connection_id":162005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f45"} 
[2026-08-23 21:10:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599793152001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787499493000,"timestamp_ms":1787499493000,"timestamp_seconds":1787499493,"priority":1,"record_length":96,"hex_timestamp":"000001a02f45b688"} 
[2026-08-23 21:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599793152001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599793152001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:10:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:10:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599793152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":162005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:10:44] local.INFO: GPS data processed {"connection_id":162005,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:10:44] local.INFO: Acknowledgment sent {"connection_id":162005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:10:45] local.INFO: TCP Data received {"connection_id":161051,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:10:45] local.INFO: Processing buffer {"connection_id":161051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:10:45] local.INFO: IMEI packet received {"connection_id":161051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":161051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:10:46] local.INFO: TCP Data received {"connection_id":161052,"ip":"47.251.248.165","data_length":243,"data_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-08-23 21:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161052,"packet_length":243,"packet_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-08-23 21:10:46] local.INFO: Processing buffer {"connection_id":161052,"buffer_length":243,"buffer_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-08-23 21:10:46] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":161052,"buffer_length":243,"first_bytes_hex":"16030100ee010000ea03034906b2f9bc"} 
[2026-08-23 21:10:50] local.INFO: TCP Data received {"connection_id":161051,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:10:50] local.INFO: Processing buffer {"connection_id":161051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:10:50] local.INFO: IMEI packet received {"connection_id":161051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":161051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:10:51] local.INFO: TCP Data received {"connection_id":161051,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:10:51] local.INFO: Processing buffer {"connection_id":161051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:10:51] local.INFO: Packet analysis {"connection_id":161051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f46"} 
[2026-08-23 21:10:51] local.INFO: Extracted packet for processing {"connection_id":161051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f46"} 
[2026-08-23 21:10:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":19,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599799296001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787499517000,"timestamp_ms":1787499517000,"timestamp_seconds":1787499517,"priority":1,"record_length":96,"hex_timestamp":"000001a02f461448"} 
[2026-08-23 21:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 21:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:10: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-08-23 21:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599799296001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599799296001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:10:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:10:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599799296001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":161051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:10:51] local.INFO: GPS data processed {"connection_id":161051,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:10:51] local.INFO: Acknowledgment sent {"connection_id":161051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:11:00] local.INFO: TCP Data received {"connection_id":160819,"ip":"47.251.248.165","data_length":81,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-23 21:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160819,"packet_length":81,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-23 21:11:00] local.INFO: Processing buffer {"connection_id":160819,"buffer_length":81,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-23 21:11:00] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":160819,"buffer_length":81,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-08-23 21:11:13] local.INFO: TCP Data received {"connection_id":162006,"ip":"47.251.248.165","data_length":19,"data_hex":"030000130ee000000000000100080003000000..."} 
[2026-08-23 21:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162006,"packet_length":19,"packet_hex":"030000130ee000000000000100080003000000..."} 
[2026-08-23 21:11:13] local.INFO: Processing buffer {"connection_id":162006,"buffer_length":19,"buffer_hex":"030000130ee000000000000100080003000000..."} 
[2026-08-23 21:11:13] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":162006,"buffer_length":19,"first_bytes_hex":"030000130ee000000000000100080003"} 
[2026-08-23 21:11:23] local.INFO: TCP Data received {"connection_id":161051,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:11:23] local.INFO: Processing buffer {"connection_id":161051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:11:23] local.INFO: Packet analysis {"connection_id":161051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f46"} 
[2026-08-23 21:11:23] local.INFO: Extracted packet for processing {"connection_id":161051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f46"} 
[2026-08-23 21:11:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":19,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599799296001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787499517000,"timestamp_ms":1787499517000,"timestamp_seconds":1787499517,"priority":1,"record_length":96,"hex_timestamp":"000001a02f461448"} 
[2026-08-23 21:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 21:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599799296001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599799296001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:11:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:11:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599799296001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":161051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:11:23] local.INFO: GPS data processed {"connection_id":161051,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:11:23] local.INFO: Acknowledgment sent {"connection_id":161051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:11:28] local.INFO: TCP Data received {"connection_id":163403,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:11:28] local.INFO: Processing buffer {"connection_id":163403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:11:28] local.INFO: IMEI packet received {"connection_id":163403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":163403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:11:33] local.INFO: TCP Data received {"connection_id":163403,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:11:33] local.INFO: Processing buffer {"connection_id":163403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:11:33] local.INFO: IMEI packet received {"connection_id":163403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":163403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:11:34] local.INFO: TCP Data received {"connection_id":163403,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:11:34] local.INFO: Processing buffer {"connection_id":163403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:11:34] local.INFO: Packet analysis {"connection_id":163403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f45"} 
[2026-08-23 21:11:34] local.INFO: Extracted packet for processing {"connection_id":163403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f45"} 
[2026-08-23 21:11:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599793152001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787499493000,"timestamp_ms":1787499493000,"timestamp_seconds":1787499493,"priority":1,"record_length":96,"hex_timestamp":"000001a02f45b688"} 
[2026-08-23 21:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599793152001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599793152001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:11:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:11:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599793152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":163403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:11:34] local.INFO: GPS data processed {"connection_id":163403,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:11:34] local.INFO: Acknowledgment sent {"connection_id":163403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:11:45] local.INFO: TCP Data received {"connection_id":163404,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:11:45] local.INFO: Processing buffer {"connection_id":163404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:11:45] local.INFO: IMEI packet received {"connection_id":163404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":163404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:11:50] local.INFO: TCP Data received {"connection_id":163404,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:11:50] local.INFO: Processing buffer {"connection_id":163404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:11:50] local.INFO: IMEI packet received {"connection_id":163404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":163404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:11:51] local.INFO: TCP Data received {"connection_id":163404,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:11:51] local.INFO: Processing buffer {"connection_id":163404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:11:51] local.INFO: Packet analysis {"connection_id":163404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f46"} 
[2026-08-23 21:11:51] local.INFO: Extracted packet for processing {"connection_id":163404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f46"} 
[2026-08-23 21:11:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":19,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599799296001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787499517000,"timestamp_ms":1787499517000,"timestamp_seconds":1787499517,"priority":1,"record_length":96,"hex_timestamp":"000001a02f461448"} 
[2026-08-23 21:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 21:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599799296001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599799296001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:11:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:11:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599799296001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":163404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:11:51] local.INFO: GPS data processed {"connection_id":163404,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:11:51] local.INFO: Acknowledgment sent {"connection_id":163404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:12:06] local.INFO: TCP Data received {"connection_id":163403,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:12:06] local.INFO: Processing buffer {"connection_id":163403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:12:06] local.INFO: Packet analysis {"connection_id":163403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f45"} 
[2026-08-23 21:12:06] local.INFO: Extracted packet for processing {"connection_id":163403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f45"} 
[2026-08-23 21:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599793152001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787499493000,"timestamp_ms":1787499493000,"timestamp_seconds":1787499493,"priority":1,"record_length":96,"hex_timestamp":"000001a02f45b688"} 
[2026-08-23 21:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599793152001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599793152001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:12:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599793152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":163403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:12:06] local.INFO: GPS data processed {"connection_id":163403,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:12:06] local.INFO: Acknowledgment sent {"connection_id":163403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:12:22] local.INFO: TCP Data received {"connection_id":163404,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:12:22] local.INFO: Processing buffer {"connection_id":163404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:12:22] local.INFO: Packet analysis {"connection_id":163404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f46"} 
[2026-08-23 21:12:22] local.INFO: Extracted packet for processing {"connection_id":163404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f46"} 
[2026-08-23 21:12:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":19,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599799296001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787499517000,"timestamp_ms":1787499517000,"timestamp_seconds":1787499517,"priority":1,"record_length":96,"hex_timestamp":"000001a02f461448"} 
[2026-08-23 21:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:12: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-08-23 21:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 21:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599799296001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599799296001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:12:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:12:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599799296001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":163404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:12:22] local.INFO: GPS data processed {"connection_id":163404,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:12:22] local.INFO: Acknowledgment sent {"connection_id":163404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:12:28] local.INFO: TCP Data received {"connection_id":163405,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:12:28] local.INFO: Processing buffer {"connection_id":163405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:12:28] local.INFO: IMEI packet received {"connection_id":163405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":163405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:12:33] local.INFO: TCP Data received {"connection_id":163405,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:12:33] local.INFO: Processing buffer {"connection_id":163405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:12:33] local.INFO: IMEI packet received {"connection_id":163405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":163405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:12:34] local.INFO: TCP Data received {"connection_id":163405,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:12:34] local.INFO: Processing buffer {"connection_id":163405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:12:34] local.INFO: Packet analysis {"connection_id":163405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f45"} 
[2026-08-23 21:12:34] local.INFO: Extracted packet for processing {"connection_id":163405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f45"} 
[2026-08-23 21:12:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599793152001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787499493000,"timestamp_ms":1787499493000,"timestamp_seconds":1787499493,"priority":1,"record_length":96,"hex_timestamp":"000001a02f45b688"} 
[2026-08-23 21:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599793152001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599793152001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:12:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:12:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599793152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":163405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:12:34] local.INFO: GPS data processed {"connection_id":163405,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:12:34] local.INFO: Acknowledgment sent {"connection_id":163405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:12:45] local.INFO: TCP Data received {"connection_id":161053,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:12:45] local.INFO: Processing buffer {"connection_id":161053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:12:45] local.INFO: IMEI packet received {"connection_id":161053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":161053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:12:53] local.INFO: TCP Data received {"connection_id":161053,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:12:53] local.INFO: Processing buffer {"connection_id":161053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:12:53] local.INFO: IMEI packet received {"connection_id":161053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":161053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:12:53] local.INFO: TCP Data received {"connection_id":161053,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:12:53] local.INFO: Processing buffer {"connection_id":161053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:12:53] local.INFO: Packet analysis {"connection_id":161053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f46"} 
[2026-08-23 21:12:53] local.INFO: Extracted packet for processing {"connection_id":161053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f46"} 
[2026-08-23 21:12:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":19,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599799296001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787499517000,"timestamp_ms":1787499517000,"timestamp_seconds":1787499517,"priority":1,"record_length":96,"hex_timestamp":"000001a02f461448"} 
[2026-08-23 21:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 21:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:12:53] 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-08-23 21:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599799296001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599799296001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:12:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:12:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599799296001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":161053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:12:53] local.INFO: GPS data processed {"connection_id":161053,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:12:53] local.INFO: Acknowledgment sent {"connection_id":161053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:13:05] local.INFO: TCP Data received {"connection_id":163405,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:13:05] local.INFO: Processing buffer {"connection_id":163405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:13:05] local.INFO: Packet analysis {"connection_id":163405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f45"} 
[2026-08-23 21:13:05] local.INFO: Extracted packet for processing {"connection_id":163405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f45"} 
[2026-08-23 21:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599793152001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787499493000,"timestamp_ms":1787499493000,"timestamp_seconds":1787499493,"priority":1,"record_length":96,"hex_timestamp":"000001a02f45b688"} 
[2026-08-23 21:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599793152001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599793152001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:13:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:13:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599793152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":163405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:13:06] local.INFO: GPS data processed {"connection_id":163405,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:13:06] local.INFO: Acknowledgment sent {"connection_id":163405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:13:26] local.INFO: TCP Data received {"connection_id":161053,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:13:26] local.INFO: Processing buffer {"connection_id":161053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:13:26] local.INFO: Packet analysis {"connection_id":161053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f46"} 
[2026-08-23 21:13:26] local.INFO: Extracted packet for processing {"connection_id":161053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f46"} 
[2026-08-23 21:13:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":19,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599799296001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787499517000,"timestamp_ms":1787499517000,"timestamp_seconds":1787499517,"priority":1,"record_length":96,"hex_timestamp":"000001a02f461448"} 
[2026-08-23 21:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 21:13: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-08-23 21:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599799296001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599799296001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:13:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:13:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599799296001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":161053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:13:26] local.INFO: GPS data processed {"connection_id":161053,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:13:26] local.INFO: Acknowledgment sent {"connection_id":161053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:13:29] local.INFO: TCP Data received {"connection_id":163406,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:13:29] local.INFO: Processing buffer {"connection_id":163406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:13:29] local.INFO: IMEI packet received {"connection_id":163406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":163406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:13:33] local.INFO: TCP Data received {"connection_id":163406,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:13:33] local.INFO: Processing buffer {"connection_id":163406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:13:33] local.INFO: IMEI packet received {"connection_id":163406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":163406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:13:34] local.INFO: TCP Data received {"connection_id":163406,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:13:34] local.INFO: Processing buffer {"connection_id":163406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f45b688012d196580071fef380040010e29..."} 
[2026-08-23 21:13:34] local.INFO: Packet analysis {"connection_id":163406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f45"} 
[2026-08-23 21:13:34] local.INFO: Extracted packet for processing {"connection_id":163406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f45"} 
[2026-08-23 21:13:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599793152001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787499493000,"timestamp_ms":1787499493000,"timestamp_seconds":1787499493,"priority":1,"record_length":96,"hex_timestamp":"000001a02f45b688"} 
[2026-08-23 21:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599793152001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599793152001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:13:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:13:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599793152001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":163406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:13:34] local.INFO: GPS data processed {"connection_id":163406,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:13:34] local.INFO: Acknowledgment sent {"connection_id":163406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:13:45] local.INFO: TCP Data received {"connection_id":161054,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:13:45] local.INFO: Processing buffer {"connection_id":161054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:13:45] local.INFO: IMEI packet received {"connection_id":161054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":161054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:13:50] local.INFO: TCP Data received {"connection_id":161054,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:13:50] local.INFO: Processing buffer {"connection_id":161054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:13:50] local.INFO: IMEI packet received {"connection_id":161054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":161054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:13:51] local.INFO: TCP Data received {"connection_id":161054,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:13:51] local.INFO: Processing buffer {"connection_id":161054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f461448012d34c58006aa40600013011426..."} 
[2026-08-23 21:13:51] local.INFO: Packet analysis {"connection_id":161054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f46"} 
[2026-08-23 21:13:51] local.INFO: Extracted packet for processing {"connection_id":161054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f46"} 
[2026-08-23 21:13:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":19,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599799296001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787499517000,"timestamp_ms":1787499517000,"timestamp_seconds":1787499517,"priority":1,"record_length":96,"hex_timestamp":"000001a02f461448"} 
[2026-08-23 21:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 21:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599799296001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599799296001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:13:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:13:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599799296001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":161054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:13:51] local.INFO: GPS data processed {"connection_id":161054,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:13:51] local.INFO: Acknowledgment sent {"connection_id":161054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:14:05] local.INFO: TCP Data received {"connection_id":163406,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:14:05] local.INFO: Processing buffer {"connection_id":163406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:14:05] local.INFO: Packet analysis {"connection_id":163406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:14:05] local.INFO: Extracted packet for processing {"connection_id":163406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599870208001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787499794000,"timestamp_ms":1787499794000,"timestamp_seconds":1787499794,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4a4e50"} 
[2026-08-23 21:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599870208001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599870208001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:14:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:14:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599870208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":163406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:14:06] local.INFO: GPS data processed {"connection_id":163406,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:14:06] local.INFO: Acknowledgment sent {"connection_id":163406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:14:23] local.INFO: TCP Data received {"connection_id":161054,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:14:23] local.INFO: Processing buffer {"connection_id":161054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:14:23] local.INFO: Packet analysis {"connection_id":161054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:14:23] local.INFO: Extracted packet for processing {"connection_id":161054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:14:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":19,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599876352001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787499818000,"timestamp_ms":1787499818000,"timestamp_seconds":1787499818,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4aac10"} 
[2026-08-23 21:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:14: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-08-23 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:14:23] 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-08-23 21: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-08-23 21:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:14:23] 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-08-23 21:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599876352001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599876352001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:14:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:14:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599876352001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":161054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:14:23] local.INFO: GPS data processed {"connection_id":161054,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:14:23] local.INFO: Acknowledgment sent {"connection_id":161054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:14:28] local.INFO: TCP Data received {"connection_id":163407,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:14:28] local.INFO: Processing buffer {"connection_id":163407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:14:28] local.INFO: IMEI packet received {"connection_id":163407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":163407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:14:33] local.INFO: TCP Data received {"connection_id":163407,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:14:33] local.INFO: Processing buffer {"connection_id":163407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:14:33] local.INFO: IMEI packet received {"connection_id":163407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":163407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:14:34] local.INFO: TCP Data received {"connection_id":163407,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:14:35] local.INFO: Processing buffer {"connection_id":163407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:14:35] local.INFO: Packet analysis {"connection_id":163407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:14:35] local.INFO: Extracted packet for processing {"connection_id":163407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:14:35] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599870208001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787499794000,"timestamp_ms":1787499794000,"timestamp_seconds":1787499794,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4a4e50"} 
[2026-08-23 21:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599870208001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599870208001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:14:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:14:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599870208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":163407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:14:35] local.INFO: GPS data processed {"connection_id":163407,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:14:35] local.INFO: Acknowledgment sent {"connection_id":163407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:14:50] local.INFO: TCP Data received {"connection_id":162007,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:14:50] local.INFO: Processing buffer {"connection_id":162007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:14:50] local.INFO: IMEI packet received {"connection_id":162007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":162007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:14:55] local.INFO: TCP Data received {"connection_id":162007,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:14:55] local.INFO: Processing buffer {"connection_id":162007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:14:55] local.INFO: IMEI packet received {"connection_id":162007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":162007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:14:56] local.INFO: TCP Data received {"connection_id":162007,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:14:56] local.INFO: Processing buffer {"connection_id":162007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:14:56] local.INFO: Packet analysis {"connection_id":162007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:14:56] local.INFO: Extracted packet for processing {"connection_id":162007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:14:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":19,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599876352001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787499818000,"timestamp_ms":1787499818000,"timestamp_seconds":1787499818,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4aac10"} 
[2026-08-23 21:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599876352001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599876352001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:14:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:14:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599876352001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":162007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:14:56] local.INFO: GPS data processed {"connection_id":162007,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:14:56] local.INFO: Acknowledgment sent {"connection_id":162007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:15:06] local.INFO: TCP Data received {"connection_id":163407,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:15:06] local.INFO: Processing buffer {"connection_id":163407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:15:06] local.INFO: Packet analysis {"connection_id":163407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:15:06] local.INFO: Extracted packet for processing {"connection_id":163407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599870208001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787499794000,"timestamp_ms":1787499794000,"timestamp_seconds":1787499794,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4a4e50"} 
[2026-08-23 21:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599870208001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599870208001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:15:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599870208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":163407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:15:06] local.INFO: GPS data processed {"connection_id":163407,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:15:06] local.INFO: Acknowledgment sent {"connection_id":163407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:15:28] local.INFO: TCP Data received {"connection_id":162007,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:15:28] local.INFO: Processing buffer {"connection_id":162007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:15:28] local.INFO: Packet analysis {"connection_id":162007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:15:28] local.INFO: Extracted packet for processing {"connection_id":162007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:15:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":19,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599876352001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787499818000,"timestamp_ms":1787499818000,"timestamp_seconds":1787499818,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4aac10"} 
[2026-08-23 21:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:15: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-08-23 21:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":162007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":162007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":162007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599876352001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599876352001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:15:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:15:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599876352001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":162007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:15:28] local.INFO: GPS data processed {"connection_id":162007,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:15:28] local.INFO: Acknowledgment sent {"connection_id":162007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:15:33] local.INFO: TCP Data received {"connection_id":161055,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:15:33] local.INFO: Processing buffer {"connection_id":161055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:15:33] local.INFO: IMEI packet received {"connection_id":161055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":161055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:15:38] local.INFO: TCP Data received {"connection_id":161055,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:15:38] local.INFO: Processing buffer {"connection_id":161055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:15:38] local.INFO: IMEI packet received {"connection_id":161055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":161055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:15:39] local.INFO: TCP Data received {"connection_id":161055,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:15:39] local.INFO: Processing buffer {"connection_id":161055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:15:39] local.INFO: Packet analysis {"connection_id":161055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:15:39] local.INFO: Extracted packet for processing {"connection_id":161055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:15:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599870208001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787499794000,"timestamp_ms":1787499794000,"timestamp_seconds":1787499794,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4a4e50"} 
[2026-08-23 21:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599870208001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599870208001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:15:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:15:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599870208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":161055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:15:39] local.INFO: GPS data processed {"connection_id":161055,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:15:39] local.INFO: Acknowledgment sent {"connection_id":161055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:15:44] local.INFO: TCP Data received {"connection_id":161055,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:15:44] local.INFO: Processing buffer {"connection_id":161055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:15:44] local.INFO: Packet analysis {"connection_id":161055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:15:44] local.INFO: Extracted packet for processing {"connection_id":161055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:15:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599870208001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787499794000,"timestamp_ms":1787499794000,"timestamp_seconds":1787499794,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4a4e50"} 
[2026-08-23 21:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599870208001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599870208001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:15:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:15:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599870208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":161055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:15:44] local.INFO: GPS data processed {"connection_id":161055,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:15:44] local.INFO: Acknowledgment sent {"connection_id":161055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:15:45] local.INFO: TCP Data received {"connection_id":160820,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:15:45] local.INFO: Processing buffer {"connection_id":160820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:15:45] local.INFO: IMEI packet received {"connection_id":160820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":160820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:15:50] local.INFO: TCP Data received {"connection_id":160820,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:15:50] local.INFO: Processing buffer {"connection_id":160820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:15:50] local.INFO: IMEI packet received {"connection_id":160820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":160820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:15:53] local.INFO: TCP Data received {"connection_id":160820,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:15:53] local.INFO: Processing buffer {"connection_id":160820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:15:53] local.INFO: Packet analysis {"connection_id":160820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:15:53] local.INFO: Extracted packet for processing {"connection_id":160820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:15:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":19,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599876352001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787499818000,"timestamp_ms":1787499818000,"timestamp_seconds":1787499818,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4aac10"} 
[2026-08-23 21:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:15: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-08-23 21:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:15:53] 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-08-23 21:15:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599876352001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599876352001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:15:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:15:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599876352001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":160820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:15:53] local.INFO: GPS data processed {"connection_id":160820,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:15:53] local.INFO: Acknowledgment sent {"connection_id":160820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:16:27] local.INFO: TCP Data received {"connection_id":160820,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:16:27] local.INFO: Processing buffer {"connection_id":160820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:16:27] local.INFO: Packet analysis {"connection_id":160820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:16:27] local.INFO: Extracted packet for processing {"connection_id":160820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:16:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":19,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599876352001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787499818000,"timestamp_ms":1787499818000,"timestamp_seconds":1787499818,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4aac10"} 
[2026-08-23 21:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599876352001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599876352001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:16:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:16:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599876352001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":160820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:16:27] local.INFO: GPS data processed {"connection_id":160820,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:16:27] local.INFO: Acknowledgment sent {"connection_id":160820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:16:28] local.INFO: TCP Data received {"connection_id":163408,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:16:28] local.INFO: Processing buffer {"connection_id":163408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:16:28] local.INFO: IMEI packet received {"connection_id":163408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":163408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:16:33] local.INFO: TCP Data received {"connection_id":163408,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:16:33] local.INFO: Processing buffer {"connection_id":163408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:16:33] local.INFO: IMEI packet received {"connection_id":163408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":163408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:16:34] local.INFO: TCP Data received {"connection_id":163408,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:16:34] local.INFO: Processing buffer {"connection_id":163408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:16:34] local.INFO: Packet analysis {"connection_id":163408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:16:34] local.INFO: Extracted packet for processing {"connection_id":163408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:16:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599870208001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787499794000,"timestamp_ms":1787499794000,"timestamp_seconds":1787499794,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4a4e50"} 
[2026-08-23 21:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599870208001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599870208001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:16:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:16:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599870208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":163408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:16:34] local.INFO: GPS data processed {"connection_id":163408,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:16:34] local.INFO: Acknowledgment sent {"connection_id":163408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:16:45] local.INFO: TCP Data received {"connection_id":163409,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:16:45] local.INFO: Processing buffer {"connection_id":163409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:16:45] local.INFO: IMEI packet received {"connection_id":163409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":163409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:16:50] local.INFO: TCP Data received {"connection_id":163409,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:16:50] local.INFO: Processing buffer {"connection_id":163409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:16:50] local.INFO: IMEI packet received {"connection_id":163409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":163409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:16:51] local.INFO: TCP Data received {"connection_id":163409,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:16:51] local.INFO: Processing buffer {"connection_id":163409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:16:51] local.INFO: Packet analysis {"connection_id":163409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:16:51] local.INFO: Extracted packet for processing {"connection_id":163409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:16:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":19,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599876352001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787499818000,"timestamp_ms":1787499818000,"timestamp_seconds":1787499818,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4aac10"} 
[2026-08-23 21:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:16: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-08-23 21:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:16: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-08-23 21:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:16:51] 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-08-23 21:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599876352001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599876352001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:16:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:16:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599876352001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":163409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:16:51] local.INFO: GPS data processed {"connection_id":163409,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:16:51] local.INFO: Acknowledgment sent {"connection_id":163409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:17:06] local.INFO: TCP Data received {"connection_id":163408,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:17:06] local.INFO: Processing buffer {"connection_id":163408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:17:06] local.INFO: Packet analysis {"connection_id":163408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:17:06] local.INFO: Extracted packet for processing {"connection_id":163408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599870208001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787499794000,"timestamp_ms":1787499794000,"timestamp_seconds":1787499794,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4a4e50"} 
[2026-08-23 21:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599870208001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599870208001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:17:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599870208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":163408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:17:06] local.INFO: GPS data processed {"connection_id":163408,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:17:06] local.INFO: Acknowledgment sent {"connection_id":163408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:17:24] local.INFO: TCP Data received {"connection_id":163409,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:17:24] local.INFO: Processing buffer {"connection_id":163409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:17:24] local.INFO: Packet analysis {"connection_id":163409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:17:24] local.INFO: Extracted packet for processing {"connection_id":163409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:17:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":19,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599876352001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787499818000,"timestamp_ms":1787499818000,"timestamp_seconds":1787499818,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4aac10"} 
[2026-08-23 21:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:17: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-08-23 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:17:24] 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-08-23 21: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-08-23 21:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:17:24] 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-08-23 21:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599876352001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599876352001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:17:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:17:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599876352001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":163409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:17:24] local.INFO: GPS data processed {"connection_id":163409,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:17:24] local.INFO: Acknowledgment sent {"connection_id":163409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:17:28] local.INFO: TCP Data received {"connection_id":161056,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:17:28] local.INFO: Processing buffer {"connection_id":161056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:17:28] local.INFO: IMEI packet received {"connection_id":161056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":161056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:17:33] local.INFO: TCP Data received {"connection_id":161056,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:17:33] local.INFO: Processing buffer {"connection_id":161056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:17:33] local.INFO: IMEI packet received {"connection_id":161056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":161056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:17:34] local.INFO: TCP Data received {"connection_id":161056,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:17:34] local.INFO: Processing buffer {"connection_id":161056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:17:34] local.INFO: Packet analysis {"connection_id":161056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:17:34] local.INFO: Extracted packet for processing {"connection_id":161056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:17:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599870208001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787499794000,"timestamp_ms":1787499794000,"timestamp_seconds":1787499794,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4a4e50"} 
[2026-08-23 21:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599870208001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599870208001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:17:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:17:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599870208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":161056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:17:34] local.INFO: GPS data processed {"connection_id":161056,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:17:34] local.INFO: Acknowledgment sent {"connection_id":161056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:17:45] local.INFO: TCP Data received {"connection_id":163410,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:17:45] local.INFO: Processing buffer {"connection_id":163410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:17:45] local.INFO: IMEI packet received {"connection_id":163410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":163410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:17:51] local.INFO: TCP Data received {"connection_id":163410,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:17:51] local.INFO: Processing buffer {"connection_id":163410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:17:51] local.INFO: IMEI packet received {"connection_id":163410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":163410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:17:52] local.INFO: TCP Data received {"connection_id":163410,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:17:52] local.INFO: Processing buffer {"connection_id":163410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:17:52] local.INFO: Packet analysis {"connection_id":163410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:17:52] local.INFO: Extracted packet for processing {"connection_id":163410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":19,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599876352001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787499818000,"timestamp_ms":1787499818000,"timestamp_seconds":1787499818,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4aac10"} 
[2026-08-23 21:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:17: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-08-23 21:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:17:52] 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-08-23 21:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:17:52] 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-08-23 21:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599876352001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599876352001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:17:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599876352001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":163410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:17:52] local.INFO: GPS data processed {"connection_id":163410,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:17:52] local.INFO: Acknowledgment sent {"connection_id":163410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:18:06] local.INFO: TCP Data received {"connection_id":161056,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:18:06] local.INFO: Processing buffer {"connection_id":161056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:18:06] local.INFO: Packet analysis {"connection_id":161056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:18:06] local.INFO: Extracted packet for processing {"connection_id":161056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599870208001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787499794000,"timestamp_ms":1787499794000,"timestamp_seconds":1787499794,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4a4e50"} 
[2026-08-23 21:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599870208001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599870208001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:18:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599870208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":161056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:18:06] local.INFO: GPS data processed {"connection_id":161056,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:18:06] local.INFO: Acknowledgment sent {"connection_id":161056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:18:29] local.INFO: TCP Data received {"connection_id":162008,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:18:29] local.INFO: Processing buffer {"connection_id":162008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:18:29] local.INFO: IMEI packet received {"connection_id":162008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":162008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:18:33] local.INFO: TCP Data received {"connection_id":162008,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:18:33] local.INFO: Processing buffer {"connection_id":162008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:18:33] local.INFO: IMEI packet received {"connection_id":162008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":162008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:18:34] local.INFO: TCP Data received {"connection_id":162008,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:18:34] local.INFO: Processing buffer {"connection_id":162008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4a4e50012d196580071fef380040010e28..."} 
[2026-08-23 21:18:34] local.INFO: Packet analysis {"connection_id":162008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:18:34] local.INFO: Extracted packet for processing {"connection_id":162008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:18:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599870208001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787499794000,"timestamp_ms":1787499794000,"timestamp_seconds":1787499794,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4a4e50"} 
[2026-08-23 21:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599870208001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599870208001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:18:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:18:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599870208001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":162008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:18:34] local.INFO: GPS data processed {"connection_id":162008,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:18:34] local.INFO: Acknowledgment sent {"connection_id":162008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:18:53] local.INFO: TCP Data received {"connection_id":163410,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:18:53] local.INFO: Processing buffer {"connection_id":163410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:18:53] local.INFO: Packet analysis {"connection_id":163410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:18:53] local.INFO: Extracted packet for processing {"connection_id":163410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:18:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":19,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599876352001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787499818000,"timestamp_ms":1787499818000,"timestamp_seconds":1787499818,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4aac10"} 
[2026-08-23 21:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:18: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-08-23 21:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:18:53] 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-08-23 21:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:18:53] 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-08-23 21:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599876352001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599876352001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:18:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:18:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599876352001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":163410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:18:53] local.INFO: GPS data processed {"connection_id":163410,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:18:53] local.INFO: Acknowledgment sent {"connection_id":163410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:19:00] local.INFO: TCP Data received {"connection_id":160821,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:19:00] local.INFO: Processing buffer {"connection_id":160821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:19:00] local.INFO: IMEI packet received {"connection_id":160821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":160821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:19:05] local.INFO: TCP Data received {"connection_id":160821,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:19:05] local.INFO: Processing buffer {"connection_id":160821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:19:05] local.INFO: IMEI packet received {"connection_id":160821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":160821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:19:05] local.INFO: TCP Data received {"connection_id":162008,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:19:05] local.INFO: Processing buffer {"connection_id":162008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:19:05] local.INFO: Packet analysis {"connection_id":162008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4e"} 
[2026-08-23 21:19:05] local.INFO: Extracted packet for processing {"connection_id":162008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4e"} 
[2026-08-23 21:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599947264001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787500095000,"timestamp_ms":1787500095000,"timestamp_seconds":1787500095,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4ee618"} 
[2026-08-23 21:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599947264001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599947264001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:19:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:19:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599947264001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":162008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:19:05] local.INFO: GPS data processed {"connection_id":162008,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:19:05] local.INFO: Acknowledgment sent {"connection_id":162008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:19:07] local.INFO: TCP Data received {"connection_id":160821,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:19:07] local.INFO: Processing buffer {"connection_id":160821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:19:07] local.INFO: Packet analysis {"connection_id":160821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:19:07] local.INFO: Extracted packet for processing {"connection_id":160821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:19:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":19,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599876352001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787499818000,"timestamp_ms":1787499818000,"timestamp_seconds":1787499818,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4aac10"} 
[2026-08-23 21:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:19:07] 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-08-23 21:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599876352001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599876352001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:19:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:19:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599876352001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":160821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:19:07] local.INFO: GPS data processed {"connection_id":160821,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:19:07] local.INFO: Acknowledgment sent {"connection_id":160821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:19:12] local.INFO: TCP Data received {"connection_id":160821,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:19:12] local.INFO: Processing buffer {"connection_id":160821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4aac10012d34c58006aa40600013011427..."} 
[2026-08-23 21:19:12] local.INFO: Packet analysis {"connection_id":160821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:19:12] local.INFO: Extracted packet for processing {"connection_id":160821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4a"} 
[2026-08-23 21:19:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":19,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599876352001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787499818000,"timestamp_ms":1787499818000,"timestamp_seconds":1787499818,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4aac10"} 
[2026-08-23 21:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21: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-08-23 21:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599876352001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599876352001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:19:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:19:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599876352001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":160821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:19:12] local.INFO: GPS data processed {"connection_id":160821,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:19:12] local.INFO: Acknowledgment sent {"connection_id":160821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:19:33] local.INFO: TCP Data received {"connection_id":161057,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:19:33] local.INFO: Processing buffer {"connection_id":161057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:19:33] local.INFO: IMEI packet received {"connection_id":161057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":161057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:19:38] local.INFO: TCP Data received {"connection_id":161057,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:19:38] local.INFO: Processing buffer {"connection_id":161057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:19:38] local.INFO: IMEI packet received {"connection_id":161057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":161057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:19:39] local.INFO: TCP Data received {"connection_id":161057,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:19:39] local.INFO: Processing buffer {"connection_id":161057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:19:39] local.INFO: Packet analysis {"connection_id":161057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4e"} 
[2026-08-23 21:19:39] local.INFO: Extracted packet for processing {"connection_id":161057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4e"} 
[2026-08-23 21:19:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599947264001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787500095000,"timestamp_ms":1787500095000,"timestamp_seconds":1787500095,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4ee618"} 
[2026-08-23 21:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599947264001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599947264001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:19:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:19:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599947264001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":161057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:19:39] local.INFO: GPS data processed {"connection_id":161057,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:19:39] local.INFO: Acknowledgment sent {"connection_id":161057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:19:44] local.INFO: TCP Data received {"connection_id":161057,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:19:44] local.INFO: Processing buffer {"connection_id":161057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:19:44] local.INFO: Packet analysis {"connection_id":161057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4e"} 
[2026-08-23 21:19:44] local.INFO: Extracted packet for processing {"connection_id":161057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4e"} 
[2026-08-23 21:19:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599947264001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787500095000,"timestamp_ms":1787500095000,"timestamp_seconds":1787500095,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4ee618"} 
[2026-08-23 21:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599947264001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599947264001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:19:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:19:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599947264001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":161057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:19:44] local.INFO: GPS data processed {"connection_id":161057,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:19:44] local.INFO: Acknowledgment sent {"connection_id":161057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:19:45] local.INFO: TCP Data received {"connection_id":160822,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:19:45] local.INFO: Processing buffer {"connection_id":160822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:19:45] local.INFO: IMEI packet received {"connection_id":160822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":160822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:19:51] local.INFO: TCP Data received {"connection_id":160822,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:19:51] local.INFO: Processing buffer {"connection_id":160822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:19:51] local.INFO: IMEI packet received {"connection_id":160822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":160822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:20:01] local.INFO: TCP Data received {"connection_id":160822,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4f43d8012d34c58006aa40600008011428..."} 
[2026-08-23 21:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4f43d8012d34c58006aa40600008011428..."} 
[2026-08-23 21:20:01] local.INFO: Processing buffer {"connection_id":160822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4f43d8012d34c58006aa40600008011428..."} 
[2026-08-23 21:20:01] local.INFO: Packet analysis {"connection_id":160822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4f"} 
[2026-08-23 21:20:01] local.INFO: Extracted packet for processing {"connection_id":160822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4f"} 
[2026-08-23 21:20:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599953408001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787500119000,"timestamp_ms":1787500119000,"timestamp_seconds":1787500119,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4f43d8"} 
[2026-08-23 21:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599953408001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599953408001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:20:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:20:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599953408001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":160822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:20:01] local.INFO: GPS data processed {"connection_id":160822,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:20:01] local.INFO: Acknowledgment sent {"connection_id":160822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:20:28] local.INFO: TCP Data received {"connection_id":162009,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:20:28] local.INFO: Processing buffer {"connection_id":162009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:20:28] local.INFO: IMEI packet received {"connection_id":162009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":162009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:20:33] local.INFO: TCP Data received {"connection_id":162009,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:20:33] local.INFO: Processing buffer {"connection_id":162009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:20:33] local.INFO: IMEI packet received {"connection_id":162009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":162009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:20:34] local.INFO: TCP Data received {"connection_id":162009,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:20:34] local.INFO: Processing buffer {"connection_id":162009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:20:34] local.INFO: Packet analysis {"connection_id":162009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4e"} 
[2026-08-23 21:20:34] local.INFO: Extracted packet for processing {"connection_id":162009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4e"} 
[2026-08-23 21:20:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599947264001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787500095000,"timestamp_ms":1787500095000,"timestamp_seconds":1787500095,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4ee618"} 
[2026-08-23 21:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599947264001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599947264001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:20:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:20:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599947264001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":162009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:20:34] local.INFO: GPS data processed {"connection_id":162009,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:20:34] local.INFO: Acknowledgment sent {"connection_id":162009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:20:45] local.INFO: TCP Data received {"connection_id":161058,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:20:45] local.INFO: Processing buffer {"connection_id":161058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:20:45] local.INFO: IMEI packet received {"connection_id":161058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":161058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:20:51] local.INFO: TCP Data received {"connection_id":161058,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:20:51] local.INFO: Processing buffer {"connection_id":161058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:20:51] local.INFO: IMEI packet received {"connection_id":161058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":161058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:21:02] local.INFO: TCP Data received {"connection_id":161058,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4f43d8012d34c58006aa40600008011428..."} 
[2026-08-23 21:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4f43d8012d34c58006aa40600008011428..."} 
[2026-08-23 21:21:02] local.INFO: Processing buffer {"connection_id":161058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4f43d8012d34c58006aa40600008011428..."} 
[2026-08-23 21:21:02] local.INFO: Packet analysis {"connection_id":161058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4f"} 
[2026-08-23 21:21:02] local.INFO: Extracted packet for processing {"connection_id":161058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4f"} 
[2026-08-23 21:21:02] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599953408001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787500119000,"timestamp_ms":1787500119000,"timestamp_seconds":1787500119,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4f43d8"} 
[2026-08-23 21:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:21:02] 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-08-23 21:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599953408001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599953408001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:21:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:21:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599953408001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":161058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:21:02] local.INFO: GPS data processed {"connection_id":161058,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:21:02] local.INFO: Acknowledgment sent {"connection_id":161058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:21:05] local.INFO: TCP Data received {"connection_id":162009,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:21:05] local.INFO: Processing buffer {"connection_id":162009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:21:05] local.INFO: Packet analysis {"connection_id":162009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4e"} 
[2026-08-23 21:21:05] local.INFO: Extracted packet for processing {"connection_id":162009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4e"} 
[2026-08-23 21:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599947264001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787500095000,"timestamp_ms":1787500095000,"timestamp_seconds":1787500095,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4ee618"} 
[2026-08-23 21:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599947264001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599947264001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:21:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:21:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599947264001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":162009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:21:06] local.INFO: GPS data processed {"connection_id":162009,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:21:06] local.INFO: Acknowledgment sent {"connection_id":162009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:21:28] local.INFO: TCP Data received {"connection_id":161059,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:21:28] local.INFO: Processing buffer {"connection_id":161059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:21:28] local.INFO: IMEI packet received {"connection_id":161059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":161059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:21:33] local.INFO: TCP Data received {"connection_id":161059,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:21:33] local.INFO: Processing buffer {"connection_id":161059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:21:33] local.INFO: IMEI packet received {"connection_id":161059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":161059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:21:34] local.INFO: TCP Data received {"connection_id":161059,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:21:34] local.INFO: Processing buffer {"connection_id":161059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:21:34] local.INFO: Packet analysis {"connection_id":161059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4e"} 
[2026-08-23 21:21:34] local.INFO: Extracted packet for processing {"connection_id":161059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4e"} 
[2026-08-23 21:21:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599947264001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787500095000,"timestamp_ms":1787500095000,"timestamp_seconds":1787500095,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4ee618"} 
[2026-08-23 21:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599947264001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599947264001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:21:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:21:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599947264001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":161059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:21:34] local.INFO: GPS data processed {"connection_id":161059,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:21:34] local.INFO: Acknowledgment sent {"connection_id":161059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:21:50] local.INFO: TCP Data received {"connection_id":161060,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:21:50] local.INFO: Processing buffer {"connection_id":161060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:21:50] local.INFO: IMEI packet received {"connection_id":161060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":161060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:21:56] local.INFO: TCP Data received {"connection_id":161060,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:21:56] local.INFO: Processing buffer {"connection_id":161060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:21:56] local.INFO: IMEI packet received {"connection_id":161060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":161060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:21:57] local.INFO: TCP Data received {"connection_id":161060,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4f43d8012d34c58006aa40600008011428..."} 
[2026-08-23 21:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4f43d8012d34c58006aa40600008011428..."} 
[2026-08-23 21:21:57] local.INFO: Processing buffer {"connection_id":161060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4f43d8012d34c58006aa40600008011428..."} 
[2026-08-23 21:21:57] local.INFO: Packet analysis {"connection_id":161060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4f"} 
[2026-08-23 21:21:57] local.INFO: Extracted packet for processing {"connection_id":161060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4f"} 
[2026-08-23 21:21:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599953408001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787500119000,"timestamp_ms":1787500119000,"timestamp_seconds":1787500119,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4f43d8"} 
[2026-08-23 21:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:21:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599953408001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599953408001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:21:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:21:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599953408001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":161060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:21:57] local.INFO: GPS data processed {"connection_id":161060,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:21:57] local.INFO: Acknowledgment sent {"connection_id":161060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:22:05] local.INFO: TCP Data received {"connection_id":161059,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:22:05] local.INFO: Processing buffer {"connection_id":161059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:22:05] local.INFO: Packet analysis {"connection_id":161059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4e"} 
[2026-08-23 21:22:05] local.INFO: Extracted packet for processing {"connection_id":161059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4e"} 
[2026-08-23 21:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599947264001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787500095000,"timestamp_ms":1787500095000,"timestamp_seconds":1787500095,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4ee618"} 
[2026-08-23 21:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599947264001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599947264001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:22:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:22:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599947264001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":161059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:22:05] local.INFO: GPS data processed {"connection_id":161059,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:22:05] local.INFO: Acknowledgment sent {"connection_id":161059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:22:29] local.INFO: TCP Data received {"connection_id":160823,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:22:29] local.INFO: Processing buffer {"connection_id":160823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:22:29] local.INFO: IMEI packet received {"connection_id":160823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":160823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:22:33] local.INFO: TCP Data received {"connection_id":160823,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:22:33] local.INFO: Processing buffer {"connection_id":160823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:22:33] local.INFO: IMEI packet received {"connection_id":160823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":160823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:22:34] local.INFO: TCP Data received {"connection_id":160823,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:22:34] local.INFO: Processing buffer {"connection_id":160823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:22:34] local.INFO: Packet analysis {"connection_id":160823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4e"} 
[2026-08-23 21:22:34] local.INFO: Extracted packet for processing {"connection_id":160823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4e"} 
[2026-08-23 21:22:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599947264001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787500095000,"timestamp_ms":1787500095000,"timestamp_seconds":1787500095,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4ee618"} 
[2026-08-23 21:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599947264001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599947264001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:22:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:22:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599947264001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":160823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:22:34] local.INFO: GPS data processed {"connection_id":160823,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:22:34] local.INFO: Acknowledgment sent {"connection_id":160823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:22:36] local.INFO: TCP Data received {"connection_id":161060,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4f43d8012d34c58006aa40600008011428..."} 
[2026-08-23 21:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4f43d8012d34c58006aa40600008011428..."} 
[2026-08-23 21:22:36] local.INFO: Processing buffer {"connection_id":161060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4f43d8012d34c58006aa40600008011428..."} 
[2026-08-23 21:22:36] local.INFO: Packet analysis {"connection_id":161060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4f"} 
[2026-08-23 21:22:36] local.INFO: Extracted packet for processing {"connection_id":161060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4f"} 
[2026-08-23 21:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599953408001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787500119000,"timestamp_ms":1787500119000,"timestamp_seconds":1787500119,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4f43d8"} 
[2026-08-23 21:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599953408001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599953408001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:22:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:22:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599953408001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":161060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:22:36] local.INFO: GPS data processed {"connection_id":161060,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:22:36] local.INFO: Acknowledgment sent {"connection_id":161060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:22:55] local.INFO: TCP Data received {"connection_id":161061,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:22:55] local.INFO: Processing buffer {"connection_id":161061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:22:55] local.INFO: IMEI packet received {"connection_id":161061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":161061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:23:05] local.INFO: TCP Data received {"connection_id":160823,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:23:05] local.INFO: Processing buffer {"connection_id":160823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:23:05] local.INFO: Packet analysis {"connection_id":160823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4e"} 
[2026-08-23 21:23:05] local.INFO: Extracted packet for processing {"connection_id":160823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4e"} 
[2026-08-23 21:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599947264001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787500095000,"timestamp_ms":1787500095000,"timestamp_seconds":1787500095,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4ee618"} 
[2026-08-23 21:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599947264001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599947264001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:23:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:23:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599947264001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":160823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:23:05] local.INFO: GPS data processed {"connection_id":160823,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:23:05] local.INFO: Acknowledgment sent {"connection_id":160823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:23:25] local.INFO: TCP Data received {"connection_id":161061,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:23:25] local.INFO: Processing buffer {"connection_id":161061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:23:25] local.INFO: IMEI packet received {"connection_id":161061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":161061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:23:28] local.INFO: TCP Data received {"connection_id":163411,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:23:28] local.INFO: Processing buffer {"connection_id":163411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:23:28] local.INFO: IMEI packet received {"connection_id":163411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":163411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:23:33] local.INFO: TCP Data received {"connection_id":163411,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:23:33] local.INFO: Processing buffer {"connection_id":163411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:23:33] local.INFO: IMEI packet received {"connection_id":163411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":163411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:23:34] local.INFO: TCP Data received {"connection_id":163411,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:23:34] local.INFO: Processing buffer {"connection_id":163411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4ee618012d196580071fef380040010e29..."} 
[2026-08-23 21:23:34] local.INFO: Packet analysis {"connection_id":163411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4e"} 
[2026-08-23 21:23:34] local.INFO: Extracted packet for processing {"connection_id":163411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4e"} 
[2026-08-23 21:23:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599947264001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787500095000,"timestamp_ms":1787500095000,"timestamp_seconds":1787500095,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4ee618"} 
[2026-08-23 21:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599947264001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599947264001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:23:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:23:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599947264001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":163411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:23:34] local.INFO: GPS data processed {"connection_id":163411,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:23:34] local.INFO: Acknowledgment sent {"connection_id":163411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:23:37] local.INFO: TCP Data received {"connection_id":161061,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4f43d8012d34c58006aa40600008011428..."} 
[2026-08-23 21:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4f43d8012d34c58006aa40600008011428..."} 
[2026-08-23 21:23:37] local.INFO: Processing buffer {"connection_id":161061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4f43d8012d34c58006aa40600008011428..."} 
[2026-08-23 21:23:37] local.INFO: Packet analysis {"connection_id":161061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4f"} 
[2026-08-23 21:23:37] local.INFO: Extracted packet for processing {"connection_id":161061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4f"} 
[2026-08-23 21:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599953408001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787500119000,"timestamp_ms":1787500119000,"timestamp_seconds":1787500119,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4f43d8"} 
[2026-08-23 21:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:23: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-08-23 21:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:23:37] 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-08-23 21:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599953408001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599953408001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:23:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:23:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599953408001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":161061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:23:37] local.INFO: GPS data processed {"connection_id":161061,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:23:37] local.INFO: Acknowledgment sent {"connection_id":161061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:24:01] local.INFO: TCP Data received {"connection_id":161062,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:24:01] local.INFO: Processing buffer {"connection_id":161062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:24:01] local.INFO: IMEI packet received {"connection_id":161062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":161062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:24:01] local.INFO: TCP Data received {"connection_id":161062,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:24:01] local.INFO: Processing buffer {"connection_id":161062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:24:01] local.INFO: IMEI packet received {"connection_id":161062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":161062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:24:05] local.INFO: TCP Data received {"connection_id":163411,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:24:05] local.INFO: Processing buffer {"connection_id":163411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:24:05] local.INFO: Packet analysis {"connection_id":163411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:24:05] local.INFO: Extracted packet for processing {"connection_id":163411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600024320001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787500396000,"timestamp_ms":1787500396000,"timestamp_seconds":1787500396,"priority":1,"record_length":96,"hex_timestamp":"000001a02f537de0"} 
[2026-08-23 21:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:24: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-08-23 21:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600024320001,"66":2177,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600024320001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:24:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600024320001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":163411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:24:05] local.INFO: GPS data processed {"connection_id":163411,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:24:05] local.INFO: Acknowledgment sent {"connection_id":163411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:24:06] local.INFO: TCP Data received {"connection_id":161062,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:24:06] local.INFO: Processing buffer {"connection_id":161062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:24:06] local.INFO: IMEI packet received {"connection_id":161062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":161062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:24:10] local.INFO: TCP Data received {"connection_id":161062,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02f4f43d8012d34c58006aa40600008011428..."} 
[2026-08-23 21:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f4f43d8012d34c58006aa40600008011428..."} 
[2026-08-23 21:24:10] local.INFO: Processing buffer {"connection_id":161062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f4f43d8012d34c58006aa40600008011428..."} 
[2026-08-23 21:24:10] local.INFO: Packet analysis {"connection_id":161062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f4f"} 
[2026-08-23 21:24:10] local.INFO: Extracted packet for processing {"connection_id":161062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f4f"} 
[2026-08-23 21:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457599953408001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787500119000,"timestamp_ms":1787500119000,"timestamp_seconds":1787500119,"priority":1,"record_length":96,"hex_timestamp":"000001a02f4f43d8"} 
[2026-08-23 21:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21: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":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:24: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-08-23 21: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-08-23 21:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:24: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-08-23 21:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457599953408001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457599953408001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:24:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457599953408001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":161062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:24:10] local.INFO: GPS data processed {"connection_id":161062,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:24:10] local.INFO: Acknowledgment sent {"connection_id":161062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:24:33] local.INFO: TCP Data received {"connection_id":163412,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:24:33] local.INFO: Processing buffer {"connection_id":163412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:24:33] local.INFO: IMEI packet received {"connection_id":163412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":163412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:24:38] local.INFO: TCP Data received {"connection_id":163412,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:24:38] local.INFO: Processing buffer {"connection_id":163412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:24:38] local.INFO: IMEI packet received {"connection_id":163412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":163412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:24:39] local.INFO: TCP Data received {"connection_id":163412,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:24:39] local.INFO: Processing buffer {"connection_id":163412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:24:39] local.INFO: Packet analysis {"connection_id":163412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:24:39] local.INFO: Extracted packet for processing {"connection_id":163412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:24:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600024320001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787500396000,"timestamp_ms":1787500396000,"timestamp_seconds":1787500396,"priority":1,"record_length":96,"hex_timestamp":"000001a02f537de0"} 
[2026-08-23 21:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600024320001,"66":2177,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600024320001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:24:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:24:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600024320001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":163412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:24:39] local.INFO: GPS data processed {"connection_id":163412,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:24:39] local.INFO: Acknowledgment sent {"connection_id":163412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:24:44] local.INFO: TCP Data received {"connection_id":163412,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:24:44] local.INFO: Processing buffer {"connection_id":163412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:24:44] local.INFO: Packet analysis {"connection_id":163412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:24:44] local.INFO: Extracted packet for processing {"connection_id":163412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:24:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600024320001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787500396000,"timestamp_ms":1787500396000,"timestamp_seconds":1787500396,"priority":1,"record_length":96,"hex_timestamp":"000001a02f537de0"} 
[2026-08-23 21:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600024320001,"66":2177,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600024320001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:24:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:24:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600024320001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":163412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:24:44] local.INFO: GPS data processed {"connection_id":163412,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:24:44] local.INFO: Acknowledgment sent {"connection_id":163412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:24:50] local.INFO: TCP Data received {"connection_id":162010,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:24:50] local.INFO: Processing buffer {"connection_id":162010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:24:50] local.INFO: IMEI packet received {"connection_id":162010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":162010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:24:55] local.INFO: TCP Data received {"connection_id":162010,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:24:55] local.INFO: Processing buffer {"connection_id":162010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:24:55] local.INFO: IMEI packet received {"connection_id":162010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":162010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:24:56] local.INFO: TCP Data received {"connection_id":162010,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:24:56] local.INFO: Processing buffer {"connection_id":162010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:24:56] local.INFO: Packet analysis {"connection_id":162010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:24:56] local.INFO: Extracted packet for processing {"connection_id":162010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:24:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600030464001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787500420000,"timestamp_ms":1787500420000,"timestamp_seconds":1787500420,"priority":1,"record_length":96,"hex_timestamp":"000001a02f53dba0"} 
[2026-08-23 21:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600030464001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600030464001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:24:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:24:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600030464001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":162010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:24:56] local.INFO: GPS data processed {"connection_id":162010,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:24:56] local.INFO: Acknowledgment sent {"connection_id":162010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:25:27] local.INFO: TCP Data received {"connection_id":162010,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:25:27] local.INFO: Processing buffer {"connection_id":162010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:25:27] local.INFO: Packet analysis {"connection_id":162010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:25:27] local.INFO: Extracted packet for processing {"connection_id":162010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:25:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600030464001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787500420000,"timestamp_ms":1787500420000,"timestamp_seconds":1787500420,"priority":1,"record_length":96,"hex_timestamp":"000001a02f53dba0"} 
[2026-08-23 21:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600030464001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600030464001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:25:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:25:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600030464001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":162010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:25:27] local.INFO: GPS data processed {"connection_id":162010,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:25:27] local.INFO: Acknowledgment sent {"connection_id":162010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:25:28] local.INFO: TCP Data received {"connection_id":161063,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:25:28] local.INFO: Processing buffer {"connection_id":161063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:25:28] local.INFO: IMEI packet received {"connection_id":161063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":161063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:25:33] local.INFO: TCP Data received {"connection_id":161063,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:25:33] local.INFO: Processing buffer {"connection_id":161063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:25:33] local.INFO: IMEI packet received {"connection_id":161063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":161063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:25:34] local.INFO: TCP Data received {"connection_id":161063,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:25:34] local.INFO: Processing buffer {"connection_id":161063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:25:34] local.INFO: Packet analysis {"connection_id":161063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:25:34] local.INFO: Extracted packet for processing {"connection_id":161063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:25:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 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-08-23 21:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600024320001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787500396000,"timestamp_ms":1787500396000,"timestamp_seconds":1787500396,"priority":1,"record_length":96,"hex_timestamp":"000001a02f537de0"} 
[2026-08-23 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-08-23 21:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 21:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600024320001,"66":2177,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600024320001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:25:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:25:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600024320001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":161063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:25:34] local.INFO: GPS data processed {"connection_id":161063,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:25:34] local.INFO: Acknowledgment sent {"connection_id":161063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:25:45] local.INFO: TCP Data received {"connection_id":160824,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:25:45] local.INFO: Processing buffer {"connection_id":160824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:25:45] local.INFO: IMEI packet received {"connection_id":160824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":160824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:25:51] local.INFO: TCP Data received {"connection_id":160824,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:25:51] local.INFO: Processing buffer {"connection_id":160824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:25:51] local.INFO: IMEI packet received {"connection_id":160824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":160824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:25:52] local.INFO: TCP Data received {"connection_id":160824,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:25:52] local.INFO: Processing buffer {"connection_id":160824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:25:52] local.INFO: Packet analysis {"connection_id":160824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:25:52] local.INFO: Extracted packet for processing {"connection_id":160824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600030464001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787500420000,"timestamp_ms":1787500420000,"timestamp_seconds":1787500420,"priority":1,"record_length":96,"hex_timestamp":"000001a02f53dba0"} 
[2026-08-23 21:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:25: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-08-23 21:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600030464001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600030464001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:25:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600030464001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":160824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:25:52] local.INFO: GPS data processed {"connection_id":160824,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:25:52] local.INFO: Acknowledgment sent {"connection_id":160824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:26:05] local.INFO: TCP Data received {"connection_id":161063,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:26:05] local.INFO: Processing buffer {"connection_id":161063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:26:05] local.INFO: Packet analysis {"connection_id":161063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:26:05] local.INFO: Extracted packet for processing {"connection_id":161063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600024320001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787500396000,"timestamp_ms":1787500396000,"timestamp_seconds":1787500396,"priority":1,"record_length":96,"hex_timestamp":"000001a02f537de0"} 
[2026-08-23 21:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:26: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-08-23 21:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600024320001,"66":2177,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600024320001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:26:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600024320001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":161063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:26:05] local.INFO: GPS data processed {"connection_id":161063,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:26:05] local.INFO: Acknowledgment sent {"connection_id":161063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:26:25] local.INFO: TCP Data received {"connection_id":160824,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:26:25] local.INFO: Processing buffer {"connection_id":160824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:26:25] local.INFO: Packet analysis {"connection_id":160824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:26:25] local.INFO: Extracted packet for processing {"connection_id":160824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:26:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600030464001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787500420000,"timestamp_ms":1787500420000,"timestamp_seconds":1787500420,"priority":1,"record_length":96,"hex_timestamp":"000001a02f53dba0"} 
[2026-08-23 21:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:26: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-08-23 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600030464001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600030464001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:26:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:26:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600030464001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":160824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:26:25] local.INFO: GPS data processed {"connection_id":160824,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:26:25] local.INFO: Acknowledgment sent {"connection_id":160824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:26:28] local.INFO: TCP Data received {"connection_id":161064,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:26:28] local.INFO: Processing buffer {"connection_id":161064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:26:28] local.INFO: IMEI packet received {"connection_id":161064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":161064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:26:33] local.INFO: TCP Data received {"connection_id":161064,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:26:33] local.INFO: Processing buffer {"connection_id":161064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:26:33] local.INFO: IMEI packet received {"connection_id":161064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":161064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:26:34] local.INFO: TCP Data received {"connection_id":161064,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:26:34] local.INFO: Processing buffer {"connection_id":161064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:26:34] local.INFO: Packet analysis {"connection_id":161064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:26:34] local.INFO: Extracted packet for processing {"connection_id":161064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:26:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600024320001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787500396000,"timestamp_ms":1787500396000,"timestamp_seconds":1787500396,"priority":1,"record_length":96,"hex_timestamp":"000001a02f537de0"} 
[2026-08-23 21:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600024320001,"66":2177,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600024320001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:26:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:26:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600024320001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":161064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:26:34] local.INFO: GPS data processed {"connection_id":161064,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:26:34] local.INFO: Acknowledgment sent {"connection_id":161064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:26:45] local.INFO: TCP Data received {"connection_id":160825,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:26:45] local.INFO: Processing buffer {"connection_id":160825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:26:45] local.INFO: IMEI packet received {"connection_id":160825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":160825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:26:50] local.INFO: TCP Data received {"connection_id":160825,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:26:50] local.INFO: Processing buffer {"connection_id":160825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:26:50] local.INFO: IMEI packet received {"connection_id":160825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":160825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:26:51] local.INFO: TCP Data received {"connection_id":160825,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:26:51] local.INFO: Processing buffer {"connection_id":160825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:26:51] local.INFO: Packet analysis {"connection_id":160825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:26:51] local.INFO: Extracted packet for processing {"connection_id":160825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:26:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600030464001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787500420000,"timestamp_ms":1787500420000,"timestamp_seconds":1787500420,"priority":1,"record_length":96,"hex_timestamp":"000001a02f53dba0"} 
[2026-08-23 21:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:26: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-08-23 21:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600030464001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600030464001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:26:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:26:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600030464001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":160825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:26:51] local.INFO: GPS data processed {"connection_id":160825,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:26:51] local.INFO: Acknowledgment sent {"connection_id":160825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:27:05] local.INFO: TCP Data received {"connection_id":161064,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:27:05] local.INFO: Processing buffer {"connection_id":161064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:27:05] local.INFO: Packet analysis {"connection_id":161064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:27:05] local.INFO: Extracted packet for processing {"connection_id":161064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600024320001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787500396000,"timestamp_ms":1787500396000,"timestamp_seconds":1787500396,"priority":1,"record_length":96,"hex_timestamp":"000001a02f537de0"} 
[2026-08-23 21:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:27: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-08-23 21:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600024320001,"66":2177,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600024320001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:27:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:27:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600024320001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":161064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:27:05] local.INFO: GPS data processed {"connection_id":161064,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:27:05] local.INFO: Acknowledgment sent {"connection_id":161064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:27:23] local.INFO: TCP Data received {"connection_id":160825,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:27:23] local.INFO: Processing buffer {"connection_id":160825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:27:23] local.INFO: Packet analysis {"connection_id":160825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:27:23] local.INFO: Extracted packet for processing {"connection_id":160825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:27:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600030464001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787500420000,"timestamp_ms":1787500420000,"timestamp_seconds":1787500420,"priority":1,"record_length":96,"hex_timestamp":"000001a02f53dba0"} 
[2026-08-23 21:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:27: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-08-23 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:27:23] 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-08-23 21:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600030464001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600030464001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:27:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:27:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600030464001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":160825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:27:23] local.INFO: GPS data processed {"connection_id":160825,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:27:23] local.INFO: Acknowledgment sent {"connection_id":160825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:27:28] local.INFO: TCP Data received {"connection_id":163413,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:27:28] local.INFO: Processing buffer {"connection_id":163413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:27:28] local.INFO: IMEI packet received {"connection_id":163413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":163413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:27:33] local.INFO: TCP Data received {"connection_id":163413,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:27:33] local.INFO: Processing buffer {"connection_id":163413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:27:33] local.INFO: IMEI packet received {"connection_id":163413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":163413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:27:34] local.INFO: TCP Data received {"connection_id":163413,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:27:34] local.INFO: Processing buffer {"connection_id":163413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:27:34] local.INFO: Packet analysis {"connection_id":163413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:27:34] local.INFO: Extracted packet for processing {"connection_id":163413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:27:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600024320001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787500396000,"timestamp_ms":1787500396000,"timestamp_seconds":1787500396,"priority":1,"record_length":96,"hex_timestamp":"000001a02f537de0"} 
[2026-08-23 21:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600024320001,"66":2177,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600024320001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:27:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:27:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600024320001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":163413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:27:34] local.INFO: GPS data processed {"connection_id":163413,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:27:34] local.INFO: Acknowledgment sent {"connection_id":163413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:27:50] local.INFO: TCP Data received {"connection_id":162011,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:27:50] local.INFO: Processing buffer {"connection_id":162011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:27:50] local.INFO: IMEI packet received {"connection_id":162011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":162011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:27:55] local.INFO: TCP Data received {"connection_id":162011,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:27:55] local.INFO: Processing buffer {"connection_id":162011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:27:55] local.INFO: IMEI packet received {"connection_id":162011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":162011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:27:57] local.INFO: TCP Data received {"connection_id":162011,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:27:57] local.INFO: Processing buffer {"connection_id":162011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:27:57] local.INFO: Packet analysis {"connection_id":162011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:27:57] local.INFO: Extracted packet for processing {"connection_id":162011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:27:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600030464001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787500420000,"timestamp_ms":1787500420000,"timestamp_seconds":1787500420,"priority":1,"record_length":96,"hex_timestamp":"000001a02f53dba0"} 
[2026-08-23 21:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:27:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600030464001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600030464001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:27:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:27:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600030464001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":162011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:27:57] local.INFO: GPS data processed {"connection_id":162011,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:27:57] local.INFO: Acknowledgment sent {"connection_id":162011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:28:01] local.INFO: TCP Data received {"connection_id":162011,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:28:01] local.INFO: Processing buffer {"connection_id":162011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:28:01] local.INFO: Packet analysis {"connection_id":162011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:28:01] local.INFO: Extracted packet for processing {"connection_id":162011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:28:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600030464001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787500420000,"timestamp_ms":1787500420000,"timestamp_seconds":1787500420,"priority":1,"record_length":96,"hex_timestamp":"000001a02f53dba0"} 
[2026-08-23 21:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600030464001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600030464001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:28:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:28:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600030464001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":162011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:28:01] local.INFO: GPS data processed {"connection_id":162011,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:28:01] local.INFO: Acknowledgment sent {"connection_id":162011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:28:05] local.INFO: TCP Data received {"connection_id":163413,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:28:05] local.INFO: Processing buffer {"connection_id":163413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:28:05] local.INFO: Packet analysis {"connection_id":163413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:28:05] local.INFO: Extracted packet for processing {"connection_id":163413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600024320001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787500396000,"timestamp_ms":1787500396000,"timestamp_seconds":1787500396,"priority":1,"record_length":96,"hex_timestamp":"000001a02f537de0"} 
[2026-08-23 21:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:28: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-08-23 21:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600024320001,"66":2177,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600024320001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:28:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:28:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600024320001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":163413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:28:05] local.INFO: GPS data processed {"connection_id":163413,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:28:05] local.INFO: Acknowledgment sent {"connection_id":163413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:28:28] local.INFO: TCP Data received {"connection_id":163414,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:28:28] local.INFO: Processing buffer {"connection_id":163414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:28:28] local.INFO: IMEI packet received {"connection_id":163414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":163414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:28:33] local.INFO: TCP Data received {"connection_id":163414,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:28:33] local.INFO: Processing buffer {"connection_id":163414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:28:33] local.INFO: IMEI packet received {"connection_id":163414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":163414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:28:34] local.INFO: TCP Data received {"connection_id":163414,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:28:34] local.INFO: Processing buffer {"connection_id":163414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f537de0012d196580071fef380040010e2c..."} 
[2026-08-23 21:28:34] local.INFO: Packet analysis {"connection_id":163414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:28:34] local.INFO: Extracted packet for processing {"connection_id":163414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:28:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600024320001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787500396000,"timestamp_ms":1787500396000,"timestamp_seconds":1787500396,"priority":1,"record_length":96,"hex_timestamp":"000001a02f537de0"} 
[2026-08-23 21:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600024320001,"66":2177,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600024320001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:28:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:28:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600024320001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":163414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:28:34] local.INFO: GPS data processed {"connection_id":163414,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:28:34] local.INFO: Acknowledgment sent {"connection_id":163414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:28:46] local.INFO: TCP Data received {"connection_id":161065,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:28:46] local.INFO: Processing buffer {"connection_id":161065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:28:46] local.INFO: IMEI packet received {"connection_id":161065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":161065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:28:50] local.INFO: TCP Data received {"connection_id":161065,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:28:50] local.INFO: Processing buffer {"connection_id":161065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:28:50] local.INFO: IMEI packet received {"connection_id":161065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":161065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:28:51] local.INFO: TCP Data received {"connection_id":161065,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:28:51] local.INFO: Processing buffer {"connection_id":161065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:28:51] local.INFO: Packet analysis {"connection_id":161065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:28:51] local.INFO: Extracted packet for processing {"connection_id":161065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:28:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600030464001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787500420000,"timestamp_ms":1787500420000,"timestamp_seconds":1787500420,"priority":1,"record_length":96,"hex_timestamp":"000001a02f53dba0"} 
[2026-08-23 21:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:28: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-08-23 21:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600030464001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600030464001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:28:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:28:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600030464001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":161065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:28:51] local.INFO: GPS data processed {"connection_id":161065,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:28:51] local.INFO: Acknowledgment sent {"connection_id":161065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:28:55] local.INFO: TCP Data received {"connection_id":161065,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:28:55] local.INFO: Processing buffer {"connection_id":161065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f53dba0012d34c58006aa40600008011424..."} 
[2026-08-23 21:28:55] local.INFO: Packet analysis {"connection_id":161065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:28:55] local.INFO: Extracted packet for processing {"connection_id":161065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f53"} 
[2026-08-23 21:28:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600030464001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787500420000,"timestamp_ms":1787500420000,"timestamp_seconds":1787500420,"priority":1,"record_length":96,"hex_timestamp":"000001a02f53dba0"} 
[2026-08-23 21:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600030464001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600030464001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:28:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:28:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600030464001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":161065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:28:55] local.INFO: GPS data processed {"connection_id":161065,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:28:55] local.INFO: Acknowledgment sent {"connection_id":161065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:29:05] local.INFO: TCP Data received {"connection_id":163414,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:29:05] local.INFO: Processing buffer {"connection_id":163414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:29:05] local.INFO: Packet analysis {"connection_id":163414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:29:05] local.INFO: Extracted packet for processing {"connection_id":163414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600101376001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787500697000,"timestamp_ms":1787500697000,"timestamp_seconds":1787500697,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5815a8"} 
[2026-08-23 21:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:29:05] 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-08-23 21:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 21:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600101376001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600101376001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:29:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600101376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":163414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:29:05] local.INFO: GPS data processed {"connection_id":163414,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:29:05] local.INFO: Acknowledgment sent {"connection_id":163414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:29:27] local.INFO: TCP Data received {"connection_id":161065,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:29:27] local.INFO: Processing buffer {"connection_id":161065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:29:27] local.INFO: Packet analysis {"connection_id":161065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:29:27] local.INFO: Extracted packet for processing {"connection_id":161065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:29:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600107520001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787500721000,"timestamp_ms":1787500721000,"timestamp_seconds":1787500721,"priority":1,"record_length":96,"hex_timestamp":"000001a02f587368"} 
[2026-08-23 21:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600107520001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600107520001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:29:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:29:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600107520001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":161065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:29:27] local.INFO: GPS data processed {"connection_id":161065,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:29:27] local.INFO: Acknowledgment sent {"connection_id":161065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:29:28] local.INFO: TCP Data received {"connection_id":160826,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:29:28] local.INFO: Processing buffer {"connection_id":160826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:29:28] local.INFO: IMEI packet received {"connection_id":160826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":160826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:29:33] local.INFO: TCP Data received {"connection_id":160826,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:29:33] local.INFO: Processing buffer {"connection_id":160826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:29:33] local.INFO: IMEI packet received {"connection_id":160826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":160826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:29:34] local.INFO: TCP Data received {"connection_id":160826,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:29:34] local.INFO: Processing buffer {"connection_id":160826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:29:34] local.INFO: Packet analysis {"connection_id":160826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:29:34] local.INFO: Extracted packet for processing {"connection_id":160826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:29:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600101376001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787500697000,"timestamp_ms":1787500697000,"timestamp_seconds":1787500697,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5815a8"} 
[2026-08-23 21:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:29:34] 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-08-23 21:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 21:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600101376001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600101376001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:29:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:29:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600101376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":160826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":688999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:29:34] local.INFO: GPS data processed {"connection_id":160826,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:29:34] local.INFO: Acknowledgment sent {"connection_id":160826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:29:45] local.INFO: TCP Data received {"connection_id":163415,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:29:45] local.INFO: Processing buffer {"connection_id":163415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:29:45] local.INFO: IMEI packet received {"connection_id":163415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":163415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:29:53] local.INFO: TCP Data received {"connection_id":163415,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:29:53] local.INFO: Processing buffer {"connection_id":163415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:29:53] local.INFO: IMEI packet received {"connection_id":163415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":163415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:29:54] local.INFO: TCP Data received {"connection_id":163415,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:29:54] local.INFO: Processing buffer {"connection_id":163415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:29:54] local.INFO: Packet analysis {"connection_id":163415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:29:54] local.INFO: Extracted packet for processing {"connection_id":163415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:29:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600107520001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787500721000,"timestamp_ms":1787500721000,"timestamp_seconds":1787500721,"priority":1,"record_length":96,"hex_timestamp":"000001a02f587368"} 
[2026-08-23 21:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:29: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-08-23 21:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:29:54] 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-08-23 21:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600107520001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600107520001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:29:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:29:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600107520001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":163415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:29:54] local.INFO: GPS data processed {"connection_id":163415,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:29:54] local.INFO: Acknowledgment sent {"connection_id":163415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:30:05] local.INFO: TCP Data received {"connection_id":160826,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:30:05] local.INFO: Processing buffer {"connection_id":160826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:30:05] local.INFO: Packet analysis {"connection_id":160826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:30:05] local.INFO: Extracted packet for processing {"connection_id":160826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:30:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600101376001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787500697000,"timestamp_ms":1787500697000,"timestamp_seconds":1787500697,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5815a8"} 
[2026-08-23 21:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:30:05] 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-08-23 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 21:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600101376001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600101376001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:30:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:30:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600101376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":160826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:30:05] local.INFO: GPS data processed {"connection_id":160826,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:30:05] local.INFO: Acknowledgment sent {"connection_id":160826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:30:26] local.INFO: TCP Data received {"connection_id":163415,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:30:26] local.INFO: Processing buffer {"connection_id":163415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:30:26] local.INFO: Packet analysis {"connection_id":163415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:30:26] local.INFO: Extracted packet for processing {"connection_id":163415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:30:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600107520001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787500721000,"timestamp_ms":1787500721000,"timestamp_seconds":1787500721,"priority":1,"record_length":96,"hex_timestamp":"000001a02f587368"} 
[2026-08-23 21:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:30: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-08-23 21:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":163415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":163415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":163415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600107520001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600107520001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:30:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:30:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600107520001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":163415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:30:26] local.INFO: GPS data processed {"connection_id":163415,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:30:26] local.INFO: Acknowledgment sent {"connection_id":163415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:30:28] local.INFO: TCP Data received {"connection_id":161066,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:30:28] local.INFO: Processing buffer {"connection_id":161066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:30:28] local.INFO: IMEI packet received {"connection_id":161066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":161066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:30:33] local.INFO: TCP Data received {"connection_id":161066,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:30:33] local.INFO: Processing buffer {"connection_id":161066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:30:33] local.INFO: IMEI packet received {"connection_id":161066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":161066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:30:34] local.INFO: TCP Data received {"connection_id":161066,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:30:34] local.INFO: Processing buffer {"connection_id":161066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:30:34] local.INFO: Packet analysis {"connection_id":161066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:30:34] local.INFO: Extracted packet for processing {"connection_id":161066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:30:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600101376001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787500697000,"timestamp_ms":1787500697000,"timestamp_seconds":1787500697,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5815a8"} 
[2026-08-23 21:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:30:34] 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-08-23 21:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 21:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600101376001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600101376001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:30:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:30:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600101376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":161066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:30:34] local.INFO: GPS data processed {"connection_id":161066,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:30:34] local.INFO: Acknowledgment sent {"connection_id":161066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:30:45] local.INFO: TCP Data received {"connection_id":162012,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:30:45] local.INFO: Processing buffer {"connection_id":162012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:30:45] local.INFO: IMEI packet received {"connection_id":162012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":162012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:30:50] local.INFO: TCP Data received {"connection_id":162012,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:30:50] local.INFO: Processing buffer {"connection_id":162012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:30:50] local.INFO: IMEI packet received {"connection_id":162012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":162012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:30:51] local.INFO: TCP Data received {"connection_id":162012,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:30:51] local.INFO: Processing buffer {"connection_id":162012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:30:51] local.INFO: Packet analysis {"connection_id":162012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:30:51] local.INFO: Extracted packet for processing {"connection_id":162012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:30:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600107520001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787500721000,"timestamp_ms":1787500721000,"timestamp_seconds":1787500721,"priority":1,"record_length":96,"hex_timestamp":"000001a02f587368"} 
[2026-08-23 21:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:30: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-08-23 21:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600107520001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600107520001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:30:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:30:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600107520001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":162012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:30:51] local.INFO: GPS data processed {"connection_id":162012,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:30:51] local.INFO: Acknowledgment sent {"connection_id":162012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:31:05] local.INFO: TCP Data received {"connection_id":161066,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:31:05] local.INFO: Processing buffer {"connection_id":161066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:31:05] local.INFO: Packet analysis {"connection_id":161066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:31:05] local.INFO: Extracted packet for processing {"connection_id":161066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600101376001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787500697000,"timestamp_ms":1787500697000,"timestamp_seconds":1787500697,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5815a8"} 
[2026-08-23 21:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:31:05] 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-08-23 21:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 21:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600101376001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600101376001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:31:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600101376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":161066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:31:06] local.INFO: GPS data processed {"connection_id":161066,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:31:06] local.INFO: Acknowledgment sent {"connection_id":161066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:31:22] local.INFO: TCP Data received {"connection_id":162012,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:31:22] local.INFO: Processing buffer {"connection_id":162012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:31:22] local.INFO: Packet analysis {"connection_id":162012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:31:22] local.INFO: Extracted packet for processing {"connection_id":162012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:31:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600107520001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787500721000,"timestamp_ms":1787500721000,"timestamp_seconds":1787500721,"priority":1,"record_length":96,"hex_timestamp":"000001a02f587368"} 
[2026-08-23 21:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:31: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-08-23 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:31:22] 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-08-23 21:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600107520001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600107520001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:31:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:31:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600107520001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":162012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:31:22] local.INFO: GPS data processed {"connection_id":162012,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:31:22] local.INFO: Acknowledgment sent {"connection_id":162012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:31:29] local.INFO: TCP Data received {"connection_id":160827,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:31:29] local.INFO: Processing buffer {"connection_id":160827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:31:29] local.INFO: IMEI packet received {"connection_id":160827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":160827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:31:33] local.INFO: TCP Data received {"connection_id":160827,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:31:33] local.INFO: Processing buffer {"connection_id":160827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:31:33] local.INFO: IMEI packet received {"connection_id":160827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":160827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:31:34] local.INFO: TCP Data received {"connection_id":160827,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:31:34] local.INFO: Processing buffer {"connection_id":160827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:31:34] local.INFO: Packet analysis {"connection_id":160827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:31:34] local.INFO: Extracted packet for processing {"connection_id":160827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:31:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600101376001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787500697000,"timestamp_ms":1787500697000,"timestamp_seconds":1787500697,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5815a8"} 
[2026-08-23 21:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:31:34] 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-08-23 21:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 21:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600101376001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600101376001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:31:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:31:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600101376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":160827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:31:34] local.INFO: GPS data processed {"connection_id":160827,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:31:34] local.INFO: Acknowledgment sent {"connection_id":160827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:31:45] local.INFO: TCP Data received {"connection_id":160828,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:31:45] local.INFO: Processing buffer {"connection_id":160828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:31:45] local.INFO: IMEI packet received {"connection_id":160828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":160828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:31:50] local.INFO: TCP Data received {"connection_id":160828,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:31:50] local.INFO: Processing buffer {"connection_id":160828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:31:50] local.INFO: IMEI packet received {"connection_id":160828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":160828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:31:51] local.INFO: TCP Data received {"connection_id":160828,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:31:51] local.INFO: Processing buffer {"connection_id":160828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:31:51] local.INFO: Packet analysis {"connection_id":160828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:31:51] local.INFO: Extracted packet for processing {"connection_id":160828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:31:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600107520001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787500721000,"timestamp_ms":1787500721000,"timestamp_seconds":1787500721,"priority":1,"record_length":96,"hex_timestamp":"000001a02f587368"} 
[2026-08-23 21:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:31: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-08-23 21:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600107520001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600107520001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:31:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:31:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600107520001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":160828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:31:51] local.INFO: GPS data processed {"connection_id":160828,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:31:51] local.INFO: Acknowledgment sent {"connection_id":160828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:32:05] local.INFO: TCP Data received {"connection_id":160827,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:32:05] local.INFO: Processing buffer {"connection_id":160827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:32:05] local.INFO: Packet analysis {"connection_id":160827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:32:05] local.INFO: Extracted packet for processing {"connection_id":160827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600101376001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787500697000,"timestamp_ms":1787500697000,"timestamp_seconds":1787500697,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5815a8"} 
[2026-08-23 21:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:32:05] 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-08-23 21:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 21:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600101376001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600101376001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:32:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:32:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600101376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":160827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:32:06] local.INFO: GPS data processed {"connection_id":160827,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:32:06] local.INFO: Acknowledgment sent {"connection_id":160827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:32:22] local.INFO: TCP Data received {"connection_id":160828,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:32:22] local.INFO: Processing buffer {"connection_id":160828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:32:22] local.INFO: Packet analysis {"connection_id":160828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:32:22] local.INFO: Extracted packet for processing {"connection_id":160828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:32:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600107520001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787500721000,"timestamp_ms":1787500721000,"timestamp_seconds":1787500721,"priority":1,"record_length":96,"hex_timestamp":"000001a02f587368"} 
[2026-08-23 21:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:32: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-08-23 21:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600107520001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600107520001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:32:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:32:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600107520001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":160828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:32:22] local.INFO: GPS data processed {"connection_id":160828,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:32:22] local.INFO: Acknowledgment sent {"connection_id":160828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:32:28] local.INFO: TCP Data received {"connection_id":162013,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:32:28] local.INFO: Processing buffer {"connection_id":162013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:32:28] local.INFO: IMEI packet received {"connection_id":162013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":162013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:32:33] local.INFO: TCP Data received {"connection_id":162013,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:32:33] local.INFO: Processing buffer {"connection_id":162013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:32:33] local.INFO: IMEI packet received {"connection_id":162013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":162013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:32:34] local.INFO: TCP Data received {"connection_id":162013,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:32:34] local.INFO: Processing buffer {"connection_id":162013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:32:34] local.INFO: Packet analysis {"connection_id":162013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:32:34] local.INFO: Extracted packet for processing {"connection_id":162013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:32:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600101376001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787500697000,"timestamp_ms":1787500697000,"timestamp_seconds":1787500697,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5815a8"} 
[2026-08-23 21:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:32:34] 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-08-23 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 21:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600101376001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600101376001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:32:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:32:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600101376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":162013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:32:34] local.INFO: GPS data processed {"connection_id":162013,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:32:34] local.INFO: Acknowledgment sent {"connection_id":162013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:32:50] local.INFO: TCP Data received {"connection_id":163416,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:32:50] local.INFO: Processing buffer {"connection_id":163416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:32:50] local.INFO: IMEI packet received {"connection_id":163416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":163416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:32:55] local.INFO: TCP Data received {"connection_id":163416,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:32:55] local.INFO: Processing buffer {"connection_id":163416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:32:55] local.INFO: IMEI packet received {"connection_id":163416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":163416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:32:56] local.INFO: TCP Data received {"connection_id":163416,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:32:56] local.INFO: Processing buffer {"connection_id":163416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:32:56] local.INFO: Packet analysis {"connection_id":163416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:32:56] local.INFO: Extracted packet for processing {"connection_id":163416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:32:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600107520001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787500721000,"timestamp_ms":1787500721000,"timestamp_seconds":1787500721,"priority":1,"record_length":96,"hex_timestamp":"000001a02f587368"} 
[2026-08-23 21:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600107520001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600107520001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:32:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:32:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600107520001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":163416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:32:56] local.INFO: GPS data processed {"connection_id":163416,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:32:56] local.INFO: Acknowledgment sent {"connection_id":163416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:33:05] local.INFO: TCP Data received {"connection_id":162013,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:33:05] local.INFO: Processing buffer {"connection_id":162013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:33:05] local.INFO: Packet analysis {"connection_id":162013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:33:05] local.INFO: Extracted packet for processing {"connection_id":162013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600101376001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787500697000,"timestamp_ms":1787500697000,"timestamp_seconds":1787500697,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5815a8"} 
[2026-08-23 21:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:33:05] 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-08-23 21:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 21:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600101376001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600101376001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:33:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:33:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600101376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":162013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:33:05] local.INFO: GPS data processed {"connection_id":162013,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:33:05] local.INFO: Acknowledgment sent {"connection_id":162013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:33:27] local.INFO: TCP Data received {"connection_id":163416,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:33:27] local.INFO: Processing buffer {"connection_id":163416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:33:27] local.INFO: Packet analysis {"connection_id":163416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:33:27] local.INFO: Extracted packet for processing {"connection_id":163416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:33:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600107520001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787500721000,"timestamp_ms":1787500721000,"timestamp_seconds":1787500721,"priority":1,"record_length":96,"hex_timestamp":"000001a02f587368"} 
[2026-08-23 21:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":163416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":163416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":163416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600107520001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600107520001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:33:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:33:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600107520001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":163416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:33:27] local.INFO: GPS data processed {"connection_id":163416,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:33:27] local.INFO: Acknowledgment sent {"connection_id":163416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:33:28] local.INFO: TCP Data received {"connection_id":163417,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:33:28] local.INFO: Processing buffer {"connection_id":163417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:33:28] local.INFO: IMEI packet received {"connection_id":163417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":163417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:33:33] local.INFO: TCP Data received {"connection_id":163417,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:33:33] local.INFO: Processing buffer {"connection_id":163417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:33:33] local.INFO: IMEI packet received {"connection_id":163417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":163417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:33:34] local.INFO: TCP Data received {"connection_id":163417,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:33:34] local.INFO: Processing buffer {"connection_id":163417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5815a8012d196580071fef380040010e2a..."} 
[2026-08-23 21:33:34] local.INFO: Packet analysis {"connection_id":163417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:33:34] local.INFO: Extracted packet for processing {"connection_id":163417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:33:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600101376001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787500697000,"timestamp_ms":1787500697000,"timestamp_seconds":1787500697,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5815a8"} 
[2026-08-23 21:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:33:34] 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-08-23 21:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 21:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600101376001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600101376001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:33:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:33:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600101376001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":163417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:33:34] local.INFO: GPS data processed {"connection_id":163417,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:33:34] local.INFO: Acknowledgment sent {"connection_id":163417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:33:45] local.INFO: TCP Data received {"connection_id":162014,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:33:45] local.INFO: Processing buffer {"connection_id":162014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:33:45] local.INFO: IMEI packet received {"connection_id":162014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":162014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:33:50] local.INFO: TCP Data received {"connection_id":162014,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:33:50] local.INFO: Processing buffer {"connection_id":162014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:33:50] local.INFO: IMEI packet received {"connection_id":162014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":162014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:33:51] local.INFO: TCP Data received {"connection_id":162014,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:33:51] local.INFO: Processing buffer {"connection_id":162014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f587368012d34c58006aa40600008011424..."} 
[2026-08-23 21:33:51] local.INFO: Packet analysis {"connection_id":162014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:33:51] local.INFO: Extracted packet for processing {"connection_id":162014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f58"} 
[2026-08-23 21:33:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":8,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600107520001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787500721000,"timestamp_ms":1787500721000,"timestamp_seconds":1787500721,"priority":1,"record_length":96,"hex_timestamp":"000001a02f587368"} 
[2026-08-23 21:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:33: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-08-23 21:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:33:51] 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-08-23 21:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600107520001,"66":25441,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600107520001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:33:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:33:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600107520001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":162014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:33:51] local.INFO: GPS data processed {"connection_id":162014,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:33:51] local.INFO: Acknowledgment sent {"connection_id":162014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:34:05] local.INFO: TCP Data received {"connection_id":163417,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:34:05] local.INFO: Processing buffer {"connection_id":163417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:34:05] local.INFO: Packet analysis {"connection_id":163417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f5c"} 
[2026-08-23 21:34:05] local.INFO: Extracted packet for processing {"connection_id":163417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f5c"} 
[2026-08-23 21:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600178432001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787500998000,"timestamp_ms":1787500998000,"timestamp_seconds":1787500998,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5cad70"} 
[2026-08-23 21:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:34:05] 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-08-23 21:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 21:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600178432001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600178432001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:34:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600178432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":163417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:34:05] local.INFO: GPS data processed {"connection_id":163417,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:34:05] local.INFO: Acknowledgment sent {"connection_id":163417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:34:24] local.INFO: TCP Data received {"connection_id":162014,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:34:24] local.INFO: Processing buffer {"connection_id":162014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:34:24] local.INFO: Packet analysis {"connection_id":162014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f5d"} 
[2026-08-23 21:34:24] local.INFO: Extracted packet for processing {"connection_id":162014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f5d"} 
[2026-08-23 21:34:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600184576001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787501022000,"timestamp_ms":1787501022000,"timestamp_seconds":1787501022,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5d0b30"} 
[2026-08-23 21:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:34: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-08-23 21:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:34:24] 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-08-23 21:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:34:24] 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-08-23 21:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600184576001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600184576001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:34:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:34:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600184576001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":162014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:34:24] local.INFO: GPS data processed {"connection_id":162014,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:34:24] local.INFO: Acknowledgment sent {"connection_id":162014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:34:28] local.INFO: TCP Data received {"connection_id":160829,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:34:28] local.INFO: Processing buffer {"connection_id":160829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:34:28] local.INFO: IMEI packet received {"connection_id":160829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":160829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:34:33] local.INFO: TCP Data received {"connection_id":160829,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:34:33] local.INFO: Processing buffer {"connection_id":160829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:34:33] local.INFO: IMEI packet received {"connection_id":160829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":160829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:34:34] local.INFO: TCP Data received {"connection_id":160829,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:34:34] local.INFO: Processing buffer {"connection_id":160829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:34:34] local.INFO: Packet analysis {"connection_id":160829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f5c"} 
[2026-08-23 21:34:34] local.INFO: Extracted packet for processing {"connection_id":160829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f5c"} 
[2026-08-23 21:34:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600178432001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787500998000,"timestamp_ms":1787500998000,"timestamp_seconds":1787500998,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5cad70"} 
[2026-08-23 21:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:34:34] 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-08-23 21:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 21:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600178432001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600178432001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:34:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:34:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600178432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":160829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:34:34] local.INFO: GPS data processed {"connection_id":160829,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:34:34] local.INFO: Acknowledgment sent {"connection_id":160829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:34:50] local.INFO: TCP Data received {"connection_id":162015,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:34:50] local.INFO: Processing buffer {"connection_id":162015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:34:50] local.INFO: IMEI packet received {"connection_id":162015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":162015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:34:55] local.INFO: TCP Data received {"connection_id":162015,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:34:55] local.INFO: Processing buffer {"connection_id":162015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:34:55] local.INFO: IMEI packet received {"connection_id":162015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":162015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:34:56] local.INFO: TCP Data received {"connection_id":162015,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:34:56] local.INFO: Processing buffer {"connection_id":162015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:34:56] local.INFO: Packet analysis {"connection_id":162015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f5d"} 
[2026-08-23 21:34:56] local.INFO: Extracted packet for processing {"connection_id":162015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f5d"} 
[2026-08-23 21:34:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600184576001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787501022000,"timestamp_ms":1787501022000,"timestamp_seconds":1787501022,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5d0b30"} 
[2026-08-23 21:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600184576001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600184576001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:34:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:34:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600184576001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":162015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:34:56] local.INFO: GPS data processed {"connection_id":162015,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:34:56] local.INFO: Acknowledgment sent {"connection_id":162015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:35:01] local.INFO: TCP Data received {"connection_id":162015,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:35:01] local.INFO: Processing buffer {"connection_id":162015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:35:01] local.INFO: Packet analysis {"connection_id":162015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f5d"} 
[2026-08-23 21:35:01] local.INFO: Extracted packet for processing {"connection_id":162015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f5d"} 
[2026-08-23 21:35:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600184576001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787501022000,"timestamp_ms":1787501022000,"timestamp_seconds":1787501022,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5d0b30"} 
[2026-08-23 21:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600184576001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600184576001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:35:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:35:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600184576001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":162015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:35:01] local.INFO: GPS data processed {"connection_id":162015,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:35:01] local.INFO: Acknowledgment sent {"connection_id":162015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:35:05] local.INFO: TCP Data received {"connection_id":160829,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:35:05] local.INFO: Processing buffer {"connection_id":160829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:35:05] local.INFO: Packet analysis {"connection_id":160829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f5c"} 
[2026-08-23 21:35:05] local.INFO: Extracted packet for processing {"connection_id":160829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f5c"} 
[2026-08-23 21:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600178432001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787500998000,"timestamp_ms":1787500998000,"timestamp_seconds":1787500998,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5cad70"} 
[2026-08-23 21:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:35:05] 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-08-23 21:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 21:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600178432001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600178432001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:35:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600178432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":160829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:35:05] local.INFO: GPS data processed {"connection_id":160829,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:35:05] local.INFO: Acknowledgment sent {"connection_id":160829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:35:28] local.INFO: TCP Data received {"connection_id":161067,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:35:28] local.INFO: Processing buffer {"connection_id":161067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:35:28] local.INFO: IMEI packet received {"connection_id":161067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":161067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:35:33] local.INFO: TCP Data received {"connection_id":161067,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:35:33] local.INFO: Processing buffer {"connection_id":161067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:35:33] local.INFO: IMEI packet received {"connection_id":161067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":161067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:35:34] local.INFO: TCP Data received {"connection_id":161067,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:35:34] local.INFO: Processing buffer {"connection_id":161067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:35:34] local.INFO: Packet analysis {"connection_id":161067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f5c"} 
[2026-08-23 21:35:34] local.INFO: Extracted packet for processing {"connection_id":161067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f5c"} 
[2026-08-23 21:35:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 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-08-23 21:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600178432001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787500998000,"timestamp_ms":1787500998000,"timestamp_seconds":1787500998,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5cad70"} 
[2026-08-23 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-08-23 21:35:34] 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-08-23 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 21:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 21:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600178432001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600178432001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:35:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:35:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600178432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":161067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:35:34] local.INFO: GPS data processed {"connection_id":161067,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:35:34] local.INFO: Acknowledgment sent {"connection_id":161067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:35:45] local.INFO: TCP Data received {"connection_id":163418,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:35:45] local.INFO: Processing buffer {"connection_id":163418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:35:45] local.INFO: IMEI packet received {"connection_id":163418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":163418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:35:50] local.INFO: TCP Data received {"connection_id":163418,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:35:50] local.INFO: Processing buffer {"connection_id":163418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:35:50] local.INFO: IMEI packet received {"connection_id":163418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":163418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:35:51] local.INFO: TCP Data received {"connection_id":163418,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:35:51] local.INFO: Processing buffer {"connection_id":163418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:35:51] local.INFO: Packet analysis {"connection_id":163418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f5d"} 
[2026-08-23 21:35:51] local.INFO: Extracted packet for processing {"connection_id":163418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f5d"} 
[2026-08-23 21:35:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600184576001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787501022000,"timestamp_ms":1787501022000,"timestamp_seconds":1787501022,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5d0b30"} 
[2026-08-23 21:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:35: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-08-23 21:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:35: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-08-23 21:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:35:51] 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-08-23 21:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600184576001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600184576001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:35:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:35:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600184576001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":163418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:35:51] local.INFO: GPS data processed {"connection_id":163418,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:35:51] local.INFO: Acknowledgment sent {"connection_id":163418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:36:06] local.INFO: TCP Data received {"connection_id":161067,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:36:06] local.INFO: Processing buffer {"connection_id":161067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:36:06] local.INFO: Packet analysis {"connection_id":161067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f5c"} 
[2026-08-23 21:36:06] local.INFO: Extracted packet for processing {"connection_id":161067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f5c"} 
[2026-08-23 21:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600178432001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787500998000,"timestamp_ms":1787500998000,"timestamp_seconds":1787500998,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5cad70"} 
[2026-08-23 21:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:36:06] 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-08-23 21:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 21:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600178432001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600178432001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:36:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600178432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":161067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:36:06] local.INFO: GPS data processed {"connection_id":161067,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:36:06] local.INFO: Acknowledgment sent {"connection_id":161067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:36:23] local.INFO: TCP Data received {"connection_id":163418,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:36:23] local.INFO: Processing buffer {"connection_id":163418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:36:23] local.INFO: Packet analysis {"connection_id":163418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f5d"} 
[2026-08-23 21:36:23] local.INFO: Extracted packet for processing {"connection_id":163418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f5d"} 
[2026-08-23 21:36:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600184576001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787501022000,"timestamp_ms":1787501022000,"timestamp_seconds":1787501022,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5d0b30"} 
[2026-08-23 21:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:36: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-08-23 21:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:36:23] 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-08-23 21:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:36:23] 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-08-23 21:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600184576001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600184576001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:36:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:36:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600184576001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":163418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:36:23] local.INFO: GPS data processed {"connection_id":163418,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:36:23] local.INFO: Acknowledgment sent {"connection_id":163418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:36:28] local.INFO: TCP Data received {"connection_id":160830,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:36:28] local.INFO: Processing buffer {"connection_id":160830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:36:28] local.INFO: IMEI packet received {"connection_id":160830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":160830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:36:33] local.INFO: TCP Data received {"connection_id":160830,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:36:33] local.INFO: Processing buffer {"connection_id":160830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:36:33] local.INFO: IMEI packet received {"connection_id":160830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":160830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:36:34] local.INFO: TCP Data received {"connection_id":160830,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:36:34] local.INFO: Processing buffer {"connection_id":160830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:36:34] local.INFO: Packet analysis {"connection_id":160830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f5c"} 
[2026-08-23 21:36:34] local.INFO: Extracted packet for processing {"connection_id":160830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f5c"} 
[2026-08-23 21:36:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600178432001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787500998000,"timestamp_ms":1787500998000,"timestamp_seconds":1787500998,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5cad70"} 
[2026-08-23 21:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:36:34] 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-08-23 21:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 21:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600178432001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600178432001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:36:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:36:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600178432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":160830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:36:34] local.INFO: GPS data processed {"connection_id":160830,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:36:34] local.INFO: Acknowledgment sent {"connection_id":160830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:36:45] local.INFO: TCP Data received {"connection_id":163419,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:36:45] local.INFO: Processing buffer {"connection_id":163419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:36:45] local.INFO: IMEI packet received {"connection_id":163419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":163419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:36:51] local.INFO: TCP Data received {"connection_id":163419,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:36:51] local.INFO: Processing buffer {"connection_id":163419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:36:51] local.INFO: IMEI packet received {"connection_id":163419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":163419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:36:52] local.INFO: TCP Data received {"connection_id":163419,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:36:52] local.INFO: Processing buffer {"connection_id":163419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:36:52] local.INFO: Packet analysis {"connection_id":163419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f5d"} 
[2026-08-23 21:36:52] local.INFO: Extracted packet for processing {"connection_id":163419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f5d"} 
[2026-08-23 21:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:36: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-08-23 21:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600184576001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787501022000,"timestamp_ms":1787501022000,"timestamp_seconds":1787501022,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5d0b30"} 
[2026-08-23 21:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:36: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-08-23 21:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:36:52] 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-08-23 21:36: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-08-23 21:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:36:52] 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-08-23 21:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600184576001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600184576001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:36:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:36:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600184576001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":163419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:36:52] local.INFO: GPS data processed {"connection_id":163419,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:36:52] local.INFO: Acknowledgment sent {"connection_id":163419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:37:05] local.INFO: TCP Data received {"connection_id":160830,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:37:05] local.INFO: Processing buffer {"connection_id":160830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:37:05] local.INFO: Packet analysis {"connection_id":160830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f5c"} 
[2026-08-23 21:37:05] local.INFO: Extracted packet for processing {"connection_id":160830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f5c"} 
[2026-08-23 21:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600178432001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787500998000,"timestamp_ms":1787500998000,"timestamp_seconds":1787500998,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5cad70"} 
[2026-08-23 21:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:37:05] 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-08-23 21:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 21:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600178432001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600178432001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:37:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:37:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600178432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":160830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:37:05] local.INFO: GPS data processed {"connection_id":160830,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:37:05] local.INFO: Acknowledgment sent {"connection_id":160830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:37:25] local.INFO: TCP Data received {"connection_id":163419,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:37:25] local.INFO: Processing buffer {"connection_id":163419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:37:25] local.INFO: Packet analysis {"connection_id":163419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f5d"} 
[2026-08-23 21:37:25] local.INFO: Extracted packet for processing {"connection_id":163419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f5d"} 
[2026-08-23 21:37:25] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600184576001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787501022000,"timestamp_ms":1787501022000,"timestamp_seconds":1787501022,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5d0b30"} 
[2026-08-23 21:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:37: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-08-23 21:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:37:25] 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-08-23 21:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600184576001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600184576001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:37:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:37:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600184576001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":163419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:37:25] local.INFO: GPS data processed {"connection_id":163419,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:37:25] local.INFO: Acknowledgment sent {"connection_id":163419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:37:28] local.INFO: TCP Data received {"connection_id":162016,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:37:28] local.INFO: Processing buffer {"connection_id":162016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:37:28] local.INFO: IMEI packet received {"connection_id":162016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":162016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:37:33] local.INFO: TCP Data received {"connection_id":162016,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:37:33] local.INFO: Processing buffer {"connection_id":162016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:37:33] local.INFO: IMEI packet received {"connection_id":162016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":162016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:37:34] local.INFO: TCP Data received {"connection_id":162016,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:37:34] local.INFO: Processing buffer {"connection_id":162016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:37:34] local.INFO: Packet analysis {"connection_id":162016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f5c"} 
[2026-08-23 21:37:34] local.INFO: Extracted packet for processing {"connection_id":162016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f5c"} 
[2026-08-23 21:37:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 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-08-23 21:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600178432001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787500998000,"timestamp_ms":1787500998000,"timestamp_seconds":1787500998,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5cad70"} 
[2026-08-23 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-08-23 21:37:34] 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-08-23 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 21:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 21:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600178432001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600178432001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:37:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:37:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600178432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":162016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:37:34] local.INFO: GPS data processed {"connection_id":162016,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:37:34] local.INFO: Acknowledgment sent {"connection_id":162016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:37:45] local.INFO: TCP Data received {"connection_id":163420,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:37:45] local.INFO: Processing buffer {"connection_id":163420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:37:45] local.INFO: IMEI packet received {"connection_id":163420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":163420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:37:50] local.INFO: TCP Data received {"connection_id":163420,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:37:50] local.INFO: Processing buffer {"connection_id":163420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:37:50] local.INFO: IMEI packet received {"connection_id":163420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":163420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:37:52] local.INFO: TCP Data received {"connection_id":163420,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:37:52] local.INFO: Processing buffer {"connection_id":163420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:37:52] local.INFO: Packet analysis {"connection_id":163420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f5d"} 
[2026-08-23 21:37:52] local.INFO: Extracted packet for processing {"connection_id":163420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f5d"} 
[2026-08-23 21:37:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600184576001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787501022000,"timestamp_ms":1787501022000,"timestamp_seconds":1787501022,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5d0b30"} 
[2026-08-23 21:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:37: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-08-23 21:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:37:52] 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-08-23 21:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:37:52] 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-08-23 21:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600184576001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600184576001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:37:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:37:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600184576001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":163420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:37:52] local.INFO: GPS data processed {"connection_id":163420,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:37:52] local.INFO: Acknowledgment sent {"connection_id":163420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:38:05] local.INFO: TCP Data received {"connection_id":162016,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:38:05] local.INFO: Processing buffer {"connection_id":162016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:38:05] local.INFO: Packet analysis {"connection_id":162016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f5c"} 
[2026-08-23 21:38:05] local.INFO: Extracted packet for processing {"connection_id":162016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f5c"} 
[2026-08-23 21:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600178432001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787500998000,"timestamp_ms":1787500998000,"timestamp_seconds":1787500998,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5cad70"} 
[2026-08-23 21:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:38:05] 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-08-23 21:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 21:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600178432001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600178432001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:38:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600178432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":162016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:38:06] local.INFO: GPS data processed {"connection_id":162016,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:38:06] local.INFO: Acknowledgment sent {"connection_id":162016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:38:24] local.INFO: TCP Data received {"connection_id":163420,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:38:24] local.INFO: Processing buffer {"connection_id":163420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:38:24] local.INFO: Packet analysis {"connection_id":163420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f5d"} 
[2026-08-23 21:38:24] local.INFO: Extracted packet for processing {"connection_id":163420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f5d"} 
[2026-08-23 21:38:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600184576001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787501022000,"timestamp_ms":1787501022000,"timestamp_seconds":1787501022,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5d0b30"} 
[2026-08-23 21:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:38: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-08-23 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:38:24] 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-08-23 21: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-08-23 21:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600184576001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600184576001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:38:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:38:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600184576001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":163420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:38:24] local.INFO: GPS data processed {"connection_id":163420,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:38:24] local.INFO: Acknowledgment sent {"connection_id":163420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:38:28] local.INFO: TCP Data received {"connection_id":162017,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:38:28] local.INFO: Processing buffer {"connection_id":162017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:38:28] local.INFO: IMEI packet received {"connection_id":162017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":162017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:38:33] local.INFO: TCP Data received {"connection_id":162017,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:38:33] local.INFO: Processing buffer {"connection_id":162017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:38:33] local.INFO: IMEI packet received {"connection_id":162017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":162017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:38:34] local.INFO: TCP Data received {"connection_id":162017,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:38:34] local.INFO: Processing buffer {"connection_id":162017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5cad70012d196580071fef380040010e29..."} 
[2026-08-23 21:38:34] local.INFO: Packet analysis {"connection_id":162017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f5c"} 
[2026-08-23 21:38:34] local.INFO: Extracted packet for processing {"connection_id":162017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f5c"} 
[2026-08-23 21:38:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":64,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600178432001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787500998000,"timestamp_ms":1787500998000,"timestamp_seconds":1787500998,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5cad70"} 
[2026-08-23 21:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:38:34] 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-08-23 21:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 21:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600178432001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600178432001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:38:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:38:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600178432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":162017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:38:34] local.INFO: GPS data processed {"connection_id":162017,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:38:34] local.INFO: Acknowledgment sent {"connection_id":162017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:38:45] local.INFO: TCP Data received {"connection_id":160831,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:38:45] local.INFO: Processing buffer {"connection_id":160831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:38:45] local.INFO: IMEI packet received {"connection_id":160831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":160831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:38:50] local.INFO: TCP Data received {"connection_id":160831,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:38:50] local.INFO: Processing buffer {"connection_id":160831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:38:50] local.INFO: IMEI packet received {"connection_id":160831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":160831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:38:52] local.INFO: TCP Data received {"connection_id":160831,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:38:52] local.INFO: Processing buffer {"connection_id":160831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f5d0b30012d34c58006aa4060001001142b..."} 
[2026-08-23 21:38:52] local.INFO: Packet analysis {"connection_id":160831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f5d"} 
[2026-08-23 21:38:52] local.INFO: Extracted packet for processing {"connection_id":160831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f5d"} 
[2026-08-23 21:38:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600184576001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787501022000,"timestamp_ms":1787501022000,"timestamp_seconds":1787501022,"priority":1,"record_length":96,"hex_timestamp":"000001a02f5d0b30"} 
[2026-08-23 21:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:38: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-08-23 21:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-23 21:38:52] 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-08-23 21:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:38:52] 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-08-23 21:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600184576001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600184576001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:38:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:38:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600184576001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":160831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:38:52] local.INFO: GPS data processed {"connection_id":160831,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:38:52] local.INFO: Acknowledgment sent {"connection_id":160831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:39:05] local.INFO: TCP Data received {"connection_id":162017,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:39:05] local.INFO: Processing buffer {"connection_id":162017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:39:05] local.INFO: Packet analysis {"connection_id":162017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:39:05] local.INFO: Extracted packet for processing {"connection_id":162017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600255488001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787501299000,"timestamp_ms":1787501299000,"timestamp_seconds":1787501299,"priority":1,"record_length":96,"hex_timestamp":"000001a02f614538"} 
[2026-08-23 21:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600255488001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600255488001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:39:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600255488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":162017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:39:05] local.INFO: GPS data processed {"connection_id":162017,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:39:05] local.INFO: Acknowledgment sent {"connection_id":162017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:39:24] local.INFO: TCP Data received {"connection_id":160831,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:39:24] local.INFO: Processing buffer {"connection_id":160831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:39:24] local.INFO: Packet analysis {"connection_id":160831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:39:24] local.INFO: Extracted packet for processing {"connection_id":160831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:39:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600261632001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787501323000,"timestamp_ms":1787501323000,"timestamp_seconds":1787501323,"priority":1,"record_length":96,"hex_timestamp":"000001a02f61a2f8"} 
[2026-08-23 21:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:39: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-08-23 21:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:39:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:39:24] 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-08-23 21:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600261632001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600261632001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:39:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:39:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600261632001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":160831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:39:24] local.INFO: GPS data processed {"connection_id":160831,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:39:24] local.INFO: Acknowledgment sent {"connection_id":160831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:39:28] local.INFO: TCP Data received {"connection_id":163421,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:39:28] local.INFO: Processing buffer {"connection_id":163421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:39:28] local.INFO: IMEI packet received {"connection_id":163421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":163421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:39:33] local.INFO: TCP Data received {"connection_id":163421,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:39:33] local.INFO: Processing buffer {"connection_id":163421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:39:33] local.INFO: IMEI packet received {"connection_id":163421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":163421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:39:34] local.INFO: TCP Data received {"connection_id":163421,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:39:34] local.INFO: Processing buffer {"connection_id":163421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:39:34] local.INFO: Packet analysis {"connection_id":163421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:39:34] local.INFO: Extracted packet for processing {"connection_id":163421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:39:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 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-08-23 21:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600255488001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787501299000,"timestamp_ms":1787501299000,"timestamp_seconds":1787501299,"priority":1,"record_length":96,"hex_timestamp":"000001a02f614538"} 
[2026-08-23 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-08-23 21:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 21:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600255488001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600255488001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:39:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:39:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600255488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":163421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:39:34] local.INFO: GPS data processed {"connection_id":163421,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:39:34] local.INFO: Acknowledgment sent {"connection_id":163421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:39:50] local.INFO: TCP Data received {"connection_id":163422,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:39:50] local.INFO: Processing buffer {"connection_id":163422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:39:50] local.INFO: IMEI packet received {"connection_id":163422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":163422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:39:55] local.INFO: TCP Data received {"connection_id":163422,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:39:55] local.INFO: Processing buffer {"connection_id":163422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:39:55] local.INFO: IMEI packet received {"connection_id":163422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":163422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:39:56] local.INFO: TCP Data received {"connection_id":163422,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:39:56] local.INFO: Processing buffer {"connection_id":163422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:39:56] local.INFO: Packet analysis {"connection_id":163422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:39:56] local.INFO: Extracted packet for processing {"connection_id":163422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:39:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600261632001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787501323000,"timestamp_ms":1787501323000,"timestamp_seconds":1787501323,"priority":1,"record_length":96,"hex_timestamp":"000001a02f61a2f8"} 
[2026-08-23 21:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600261632001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600261632001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:39:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:39:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600261632001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":163422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:39:56] local.INFO: GPS data processed {"connection_id":163422,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:39:56] local.INFO: Acknowledgment sent {"connection_id":163422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:40:05] local.INFO: TCP Data received {"connection_id":163421,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:40:05] local.INFO: Processing buffer {"connection_id":163421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:40:05] local.INFO: Packet analysis {"connection_id":163421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:40:05] local.INFO: Extracted packet for processing {"connection_id":163421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:40:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600255488001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787501299000,"timestamp_ms":1787501299000,"timestamp_seconds":1787501299,"priority":1,"record_length":96,"hex_timestamp":"000001a02f614538"} 
[2026-08-23 21:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600255488001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600255488001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:40:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:40:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600255488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":163421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:40:05] local.INFO: GPS data processed {"connection_id":163421,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:40:05] local.INFO: Acknowledgment sent {"connection_id":163421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:40:27] local.INFO: TCP Data received {"connection_id":163422,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:40:27] local.INFO: Processing buffer {"connection_id":163422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:40:27] local.INFO: Packet analysis {"connection_id":163422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:40:27] local.INFO: Extracted packet for processing {"connection_id":163422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:40:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600261632001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787501323000,"timestamp_ms":1787501323000,"timestamp_seconds":1787501323,"priority":1,"record_length":96,"hex_timestamp":"000001a02f61a2f8"} 
[2026-08-23 21:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":163422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":163422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":163422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600261632001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600261632001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:40:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:40:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600261632001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":163422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:40:27] local.INFO: GPS data processed {"connection_id":163422,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:40:27] local.INFO: Acknowledgment sent {"connection_id":163422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:40:28] local.INFO: TCP Data received {"connection_id":162018,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:40:28] local.INFO: Processing buffer {"connection_id":162018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:40:28] local.INFO: IMEI packet received {"connection_id":162018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":162018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:40:33] local.INFO: TCP Data received {"connection_id":162018,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:40:33] local.INFO: Processing buffer {"connection_id":162018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:40:33] local.INFO: IMEI packet received {"connection_id":162018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":162018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:40:34] local.INFO: TCP Data received {"connection_id":162018,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:40:34] local.INFO: Processing buffer {"connection_id":162018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:40:34] local.INFO: Packet analysis {"connection_id":162018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:40:34] local.INFO: Extracted packet for processing {"connection_id":162018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:40:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600255488001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787501299000,"timestamp_ms":1787501299000,"timestamp_seconds":1787501299,"priority":1,"record_length":96,"hex_timestamp":"000001a02f614538"} 
[2026-08-23 21:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600255488001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600255488001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:40:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:40:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600255488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":162018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:40:34] local.INFO: GPS data processed {"connection_id":162018,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:40:34] local.INFO: Acknowledgment sent {"connection_id":162018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:40:45] local.INFO: TCP Data received {"connection_id":163423,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:40:45] local.INFO: Processing buffer {"connection_id":163423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:40:45] local.INFO: IMEI packet received {"connection_id":163423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":163423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:40:50] local.INFO: TCP Data received {"connection_id":163423,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:40:50] local.INFO: Processing buffer {"connection_id":163423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:40:50] local.INFO: IMEI packet received {"connection_id":163423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":163423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:40:51] local.INFO: TCP Data received {"connection_id":163423,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:40:51] local.INFO: Processing buffer {"connection_id":163423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:40:51] local.INFO: Packet analysis {"connection_id":163423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:40:51] local.INFO: Extracted packet for processing {"connection_id":163423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:40:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600261632001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787501323000,"timestamp_ms":1787501323000,"timestamp_seconds":1787501323,"priority":1,"record_length":96,"hex_timestamp":"000001a02f61a2f8"} 
[2026-08-23 21:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:40: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-08-23 21:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600261632001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600261632001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:40:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:40:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600261632001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":163423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:40:51] local.INFO: GPS data processed {"connection_id":163423,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:40:51] local.INFO: Acknowledgment sent {"connection_id":163423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:41:05] local.INFO: TCP Data received {"connection_id":162018,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:41:05] local.INFO: Processing buffer {"connection_id":162018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:41:05] local.INFO: Packet analysis {"connection_id":162018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:41:05] local.INFO: Extracted packet for processing {"connection_id":162018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600255488001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787501299000,"timestamp_ms":1787501299000,"timestamp_seconds":1787501299,"priority":1,"record_length":96,"hex_timestamp":"000001a02f614538"} 
[2026-08-23 21:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600255488001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600255488001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:41:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:41:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600255488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":162018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:41:05] local.INFO: GPS data processed {"connection_id":162018,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:41:05] local.INFO: Acknowledgment sent {"connection_id":162018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:41:23] local.INFO: TCP Data received {"connection_id":163423,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:41:23] local.INFO: Processing buffer {"connection_id":163423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:41:23] local.INFO: Packet analysis {"connection_id":163423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:41:23] local.INFO: Extracted packet for processing {"connection_id":163423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:41:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600261632001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787501323000,"timestamp_ms":1787501323000,"timestamp_seconds":1787501323,"priority":1,"record_length":96,"hex_timestamp":"000001a02f61a2f8"} 
[2026-08-23 21:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:41: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-08-23 21:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600261632001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600261632001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:41:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:41:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600261632001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":163423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:41:23] local.INFO: GPS data processed {"connection_id":163423,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:41:23] local.INFO: Acknowledgment sent {"connection_id":163423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:41:28] local.INFO: TCP Data received {"connection_id":160832,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:41:28] local.INFO: Processing buffer {"connection_id":160832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:41:28] local.INFO: IMEI packet received {"connection_id":160832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":160832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:41:33] local.INFO: TCP Data received {"connection_id":160832,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:41:33] local.INFO: Processing buffer {"connection_id":160832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:41:33] local.INFO: IMEI packet received {"connection_id":160832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":160832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:41:34] local.INFO: TCP Data received {"connection_id":160832,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:41:34] local.INFO: Processing buffer {"connection_id":160832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:41:34] local.INFO: Packet analysis {"connection_id":160832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:41:34] local.INFO: Extracted packet for processing {"connection_id":160832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:41:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600255488001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787501299000,"timestamp_ms":1787501299000,"timestamp_seconds":1787501299,"priority":1,"record_length":96,"hex_timestamp":"000001a02f614538"} 
[2026-08-23 21:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600255488001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600255488001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:41:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:41:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600255488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":160832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:41:34] local.INFO: GPS data processed {"connection_id":160832,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:41:34] local.INFO: Acknowledgment sent {"connection_id":160832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:41:46] local.INFO: TCP Data received {"connection_id":163424,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:41:46] local.INFO: Processing buffer {"connection_id":163424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:41:46] local.INFO: IMEI packet received {"connection_id":163424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":163424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:41:50] local.INFO: TCP Data received {"connection_id":163424,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:41:50] local.INFO: Processing buffer {"connection_id":163424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:41:50] local.INFO: IMEI packet received {"connection_id":163424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":163424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:41:51] local.INFO: TCP Data received {"connection_id":163424,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:41:51] local.INFO: Processing buffer {"connection_id":163424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:41:51] local.INFO: Packet analysis {"connection_id":163424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:41:51] local.INFO: Extracted packet for processing {"connection_id":163424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:41:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600261632001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787501323000,"timestamp_ms":1787501323000,"timestamp_seconds":1787501323,"priority":1,"record_length":96,"hex_timestamp":"000001a02f61a2f8"} 
[2026-08-23 21:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:41: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-08-23 21:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600261632001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600261632001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:41:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:41:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600261632001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":163424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:41:51] local.INFO: GPS data processed {"connection_id":163424,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:41:51] local.INFO: Acknowledgment sent {"connection_id":163424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:42:05] local.INFO: TCP Data received {"connection_id":160832,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:42:05] local.INFO: Processing buffer {"connection_id":160832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:42:05] local.INFO: Packet analysis {"connection_id":160832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:42:05] local.INFO: Extracted packet for processing {"connection_id":160832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600255488001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787501299000,"timestamp_ms":1787501299000,"timestamp_seconds":1787501299,"priority":1,"record_length":96,"hex_timestamp":"000001a02f614538"} 
[2026-08-23 21:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600255488001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600255488001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:42:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600255488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":160832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:42:05] local.INFO: GPS data processed {"connection_id":160832,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:42:05] local.INFO: Acknowledgment sent {"connection_id":160832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:42:24] local.INFO: TCP Data received {"connection_id":163424,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:42:24] local.INFO: Processing buffer {"connection_id":163424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:42:24] local.INFO: Packet analysis {"connection_id":163424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:42:24] local.INFO: Extracted packet for processing {"connection_id":163424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:42:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600261632001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787501323000,"timestamp_ms":1787501323000,"timestamp_seconds":1787501323,"priority":1,"record_length":96,"hex_timestamp":"000001a02f61a2f8"} 
[2026-08-23 21:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:42: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-08-23 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:42:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600261632001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600261632001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:42:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:42:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600261632001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":163424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:42:24] local.INFO: GPS data processed {"connection_id":163424,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:42:24] local.INFO: Acknowledgment sent {"connection_id":163424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:42:28] local.INFO: TCP Data received {"connection_id":162019,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:42:28] local.INFO: Processing buffer {"connection_id":162019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:42:28] local.INFO: IMEI packet received {"connection_id":162019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":162019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:42:33] local.INFO: TCP Data received {"connection_id":162019,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:42:33] local.INFO: Processing buffer {"connection_id":162019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:42:33] local.INFO: IMEI packet received {"connection_id":162019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":162019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:42:34] local.INFO: TCP Data received {"connection_id":162019,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:42:34] local.INFO: Processing buffer {"connection_id":162019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:42:34] local.INFO: Packet analysis {"connection_id":162019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:42:34] local.INFO: Extracted packet for processing {"connection_id":162019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:42:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600255488001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787501299000,"timestamp_ms":1787501299000,"timestamp_seconds":1787501299,"priority":1,"record_length":96,"hex_timestamp":"000001a02f614538"} 
[2026-08-23 21:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600255488001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600255488001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:42:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:42:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600255488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":162019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:42:34] local.INFO: GPS data processed {"connection_id":162019,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:42:34] local.INFO: Acknowledgment sent {"connection_id":162019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:42:45] local.INFO: TCP Data received {"connection_id":161068,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:42:45] local.INFO: Processing buffer {"connection_id":161068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:42:45] local.INFO: IMEI packet received {"connection_id":161068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":161068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:42:50] local.INFO: TCP Data received {"connection_id":161068,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:42:50] local.INFO: Processing buffer {"connection_id":161068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:42:50] local.INFO: IMEI packet received {"connection_id":161068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":161068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:42:51] local.INFO: TCP Data received {"connection_id":161068,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:42:51] local.INFO: Processing buffer {"connection_id":161068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:42:51] local.INFO: Packet analysis {"connection_id":161068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:42:51] local.INFO: Extracted packet for processing {"connection_id":161068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:42:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600261632001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787501323000,"timestamp_ms":1787501323000,"timestamp_seconds":1787501323,"priority":1,"record_length":96,"hex_timestamp":"000001a02f61a2f8"} 
[2026-08-23 21:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:42: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-08-23 21:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:42:51] 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-08-23 21:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600261632001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600261632001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:42:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:42:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600261632001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":161068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:42:51] local.INFO: GPS data processed {"connection_id":161068,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:42:51] local.INFO: Acknowledgment sent {"connection_id":161068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:43:05] local.INFO: TCP Data received {"connection_id":162019,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:43:05] local.INFO: Processing buffer {"connection_id":162019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:43:05] local.INFO: Packet analysis {"connection_id":162019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:43:05] local.INFO: Extracted packet for processing {"connection_id":162019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600255488001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787501299000,"timestamp_ms":1787501299000,"timestamp_seconds":1787501299,"priority":1,"record_length":96,"hex_timestamp":"000001a02f614538"} 
[2026-08-23 21:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600255488001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600255488001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:43:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:43:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600255488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":162019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:43:05] local.INFO: GPS data processed {"connection_id":162019,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:43:05] local.INFO: Acknowledgment sent {"connection_id":162019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:43:23] local.INFO: TCP Data received {"connection_id":161068,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:43:23] local.INFO: Processing buffer {"connection_id":161068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:43:23] local.INFO: Packet analysis {"connection_id":161068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:43:23] local.INFO: Extracted packet for processing {"connection_id":161068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:43:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600261632001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787501323000,"timestamp_ms":1787501323000,"timestamp_seconds":1787501323,"priority":1,"record_length":96,"hex_timestamp":"000001a02f61a2f8"} 
[2026-08-23 21:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:43: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-08-23 21:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:43: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-08-23 21:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600261632001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600261632001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:43:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:43:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600261632001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":161068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:43:23] local.INFO: GPS data processed {"connection_id":161068,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:43:23] local.INFO: Acknowledgment sent {"connection_id":161068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:43:28] local.INFO: TCP Data received {"connection_id":161069,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:43:28] local.INFO: Processing buffer {"connection_id":161069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:43:28] local.INFO: IMEI packet received {"connection_id":161069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":161069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:43:33] local.INFO: TCP Data received {"connection_id":161069,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:43:33] local.INFO: Processing buffer {"connection_id":161069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:43:33] local.INFO: IMEI packet received {"connection_id":161069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":161069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:43:34] local.INFO: TCP Data received {"connection_id":161069,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:43:34] local.INFO: Processing buffer {"connection_id":161069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f614538012d196580071fef380048010e27..."} 
[2026-08-23 21:43:34] local.INFO: Packet analysis {"connection_id":161069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:43:34] local.INFO: Extracted packet for processing {"connection_id":161069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:43:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 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-08-23 21:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600255488001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787501299000,"timestamp_ms":1787501299000,"timestamp_seconds":1787501299,"priority":1,"record_length":96,"hex_timestamp":"000001a02f614538"} 
[2026-08-23 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-08-23 21:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 21:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600255488001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600255488001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:43:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:43:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600255488001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":161069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:43:34] local.INFO: GPS data processed {"connection_id":161069,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:43:34] local.INFO: Acknowledgment sent {"connection_id":161069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:43:45] local.INFO: TCP Data received {"connection_id":160833,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:43:45] local.INFO: Processing buffer {"connection_id":160833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:43:45] local.INFO: IMEI packet received {"connection_id":160833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":160833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:43:50] local.INFO: TCP Data received {"connection_id":160833,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:43:50] local.INFO: Processing buffer {"connection_id":160833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:43:50] local.INFO: IMEI packet received {"connection_id":160833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":160833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:43:51] local.INFO: TCP Data received {"connection_id":160833,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:43:51] local.INFO: Processing buffer {"connection_id":160833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:43:51] local.INFO: Packet analysis {"connection_id":160833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:43:51] local.INFO: Extracted packet for processing {"connection_id":160833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:43:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600261632001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787501323000,"timestamp_ms":1787501323000,"timestamp_seconds":1787501323,"priority":1,"record_length":96,"hex_timestamp":"000001a02f61a2f8"} 
[2026-08-23 21:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:43: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-08-23 21:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:43:51] 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-08-23 21:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600261632001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600261632001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:43:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:43:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600261632001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":160833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:43:51] local.INFO: GPS data processed {"connection_id":160833,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:43:51] local.INFO: Acknowledgment sent {"connection_id":160833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:44:05] local.INFO: TCP Data received {"connection_id":161069,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:44:05] local.INFO: Processing buffer {"connection_id":161069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:44:05] local.INFO: Packet analysis {"connection_id":161069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f65"} 
[2026-08-23 21:44:05] local.INFO: Extracted packet for processing {"connection_id":161069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f65"} 
[2026-08-23 21:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600332544001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787501600000,"timestamp_ms":1787501600000,"timestamp_seconds":1787501600,"priority":1,"record_length":96,"hex_timestamp":"000001a02f65dd00"} 
[2026-08-23 21:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:44: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-08-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600332544001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600332544001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:44:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:44:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600332544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":161069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:44:06] local.INFO: GPS data processed {"connection_id":161069,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:44:06] local.INFO: Acknowledgment sent {"connection_id":161069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:44:26] local.INFO: TCP Data received {"connection_id":160833,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:44:26] local.INFO: Processing buffer {"connection_id":160833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f61a2f8012d34c58006aa40600010011429..."} 
[2026-08-23 21:44:26] local.INFO: Packet analysis {"connection_id":160833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:44:26] local.INFO: Extracted packet for processing {"connection_id":160833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f61"} 
[2026-08-23 21:44:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600261632001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787501323000,"timestamp_ms":1787501323000,"timestamp_seconds":1787501323,"priority":1,"record_length":96,"hex_timestamp":"000001a02f61a2f8"} 
[2026-08-23 21:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:44: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-08-23 21:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600261632001,"66":25430,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600261632001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:44:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:44:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600261632001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":160833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:44:26] local.INFO: GPS data processed {"connection_id":160833,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:44:26] local.INFO: Acknowledgment sent {"connection_id":160833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:44:33] local.INFO: TCP Data received {"connection_id":162020,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:44:33] local.INFO: Processing buffer {"connection_id":162020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:44:33] local.INFO: IMEI packet received {"connection_id":162020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":162020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:44:38] local.INFO: TCP Data received {"connection_id":162020,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:44:38] local.INFO: Processing buffer {"connection_id":162020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:44:38] local.INFO: IMEI packet received {"connection_id":162020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":162020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:44:39] local.INFO: TCP Data received {"connection_id":162020,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:44:39] local.INFO: Processing buffer {"connection_id":162020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:44:39] local.INFO: Packet analysis {"connection_id":162020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f65"} 
[2026-08-23 21:44:39] local.INFO: Extracted packet for processing {"connection_id":162020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f65"} 
[2026-08-23 21:44:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600332544001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787501600000,"timestamp_ms":1787501600000,"timestamp_seconds":1787501600,"priority":1,"record_length":96,"hex_timestamp":"000001a02f65dd00"} 
[2026-08-23 21:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:44:39] 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-08-23 21:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":162020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":162020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":162020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600332544001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600332544001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:44:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:44:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600332544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":162020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:44:39] local.INFO: GPS data processed {"connection_id":162020,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:44:39] local.INFO: Acknowledgment sent {"connection_id":162020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:44:50] local.INFO: TCP Data received {"connection_id":161070,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:44:50] local.INFO: Processing buffer {"connection_id":161070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:44:50] local.INFO: IMEI packet received {"connection_id":161070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":161070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:44:55] local.INFO: TCP Data received {"connection_id":161070,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:44:55] local.INFO: Processing buffer {"connection_id":161070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:44:55] local.INFO: IMEI packet received {"connection_id":161070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":161070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:44:57] local.INFO: TCP Data received {"connection_id":161070,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:44:57] local.INFO: Processing buffer {"connection_id":161070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:44:57] local.INFO: Packet analysis {"connection_id":161070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f66"} 
[2026-08-23 21:44:57] local.INFO: Extracted packet for processing {"connection_id":161070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f66"} 
[2026-08-23 21:44:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600338688001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787501624000,"timestamp_ms":1787501624000,"timestamp_seconds":1787501624,"priority":1,"record_length":96,"hex_timestamp":"000001a02f663ac0"} 
[2026-08-23 21:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:44:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600338688001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600338688001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:44:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:44:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600338688001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":161070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:44:57] local.INFO: GPS data processed {"connection_id":161070,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:44:57] local.INFO: Acknowledgment sent {"connection_id":161070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:45:10] local.INFO: TCP Data received {"connection_id":162020,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:45:10] local.INFO: Processing buffer {"connection_id":162020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:45:10] local.INFO: Packet analysis {"connection_id":162020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f65"} 
[2026-08-23 21:45:10] local.INFO: Extracted packet for processing {"connection_id":162020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f65"} 
[2026-08-23 21:45:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600332544001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787501600000,"timestamp_ms":1787501600000,"timestamp_seconds":1787501600,"priority":1,"record_length":96,"hex_timestamp":"000001a02f65dd00"} 
[2026-08-23 21:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:45: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-08-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":162020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":162020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":162020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600332544001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600332544001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:45:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:45:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600332544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":162020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:45:10] local.INFO: GPS data processed {"connection_id":162020,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:45:10] local.INFO: Acknowledgment sent {"connection_id":162020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:45:28] local.INFO: TCP Data received {"connection_id":163425,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:45:28] local.INFO: Processing buffer {"connection_id":163425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:45:28] local.INFO: IMEI packet received {"connection_id":163425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":163425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:45:29] local.INFO: TCP Data received {"connection_id":161070,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:45:29] local.INFO: Processing buffer {"connection_id":161070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:45:29] local.INFO: Packet analysis {"connection_id":161070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f66"} 
[2026-08-23 21:45:29] local.INFO: Extracted packet for processing {"connection_id":161070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f66"} 
[2026-08-23 21:45:29] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 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-08-23 21:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600338688001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787501624000,"timestamp_ms":1787501624000,"timestamp_seconds":1787501624,"priority":1,"record_length":96,"hex_timestamp":"000001a02f663ac0"} 
[2026-08-23 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-08-23 21:45: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-08-23 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":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 21:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600338688001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600338688001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:45:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:45:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600338688001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":161070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:45:29] local.INFO: GPS data processed {"connection_id":161070,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:45:29] local.INFO: Acknowledgment sent {"connection_id":161070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:45:33] local.INFO: TCP Data received {"connection_id":163425,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:45:33] local.INFO: Processing buffer {"connection_id":163425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:45:33] local.INFO: IMEI packet received {"connection_id":163425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":163425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:45:34] local.INFO: TCP Data received {"connection_id":163425,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:45:34] local.INFO: Processing buffer {"connection_id":163425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:45:34] local.INFO: Packet analysis {"connection_id":163425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f65"} 
[2026-08-23 21:45:34] local.INFO: Extracted packet for processing {"connection_id":163425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f65"} 
[2026-08-23 21:45:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600332544001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787501600000,"timestamp_ms":1787501600000,"timestamp_seconds":1787501600,"priority":1,"record_length":96,"hex_timestamp":"000001a02f65dd00"} 
[2026-08-23 21:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:45:34] 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-08-23 21:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600332544001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600332544001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:45:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:45:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600332544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":163425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:45:34] local.INFO: GPS data processed {"connection_id":163425,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:45:34] local.INFO: Acknowledgment sent {"connection_id":163425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:45:46] local.INFO: TCP Data received {"connection_id":162021,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:45:46] local.INFO: Processing buffer {"connection_id":162021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:45:46] local.INFO: IMEI packet received {"connection_id":162021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":162021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:45:50] local.INFO: TCP Data received {"connection_id":162021,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:45:50] local.INFO: Processing buffer {"connection_id":162021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:45:50] local.INFO: IMEI packet received {"connection_id":162021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":162021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:45:54] local.INFO: TCP Data received {"connection_id":162021,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:45:54] local.INFO: Processing buffer {"connection_id":162021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:45:54] local.INFO: Packet analysis {"connection_id":162021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f66"} 
[2026-08-23 21:45:54] local.INFO: Extracted packet for processing {"connection_id":162021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f66"} 
[2026-08-23 21:45:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600338688001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787501624000,"timestamp_ms":1787501624000,"timestamp_seconds":1787501624,"priority":1,"record_length":96,"hex_timestamp":"000001a02f663ac0"} 
[2026-08-23 21:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:45: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-08-23 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:45:54] 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-08-23 21:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600338688001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600338688001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:45:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:45:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600338688001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":162021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:45:54] local.INFO: GPS data processed {"connection_id":162021,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:45:54] local.INFO: Acknowledgment sent {"connection_id":162021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:46:05] local.INFO: TCP Data received {"connection_id":163425,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:46:05] local.INFO: Processing buffer {"connection_id":163425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:46:05] local.INFO: Packet analysis {"connection_id":163425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f65"} 
[2026-08-23 21:46:05] local.INFO: Extracted packet for processing {"connection_id":163425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f65"} 
[2026-08-23 21:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600332544001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787501600000,"timestamp_ms":1787501600000,"timestamp_seconds":1787501600,"priority":1,"record_length":96,"hex_timestamp":"000001a02f65dd00"} 
[2026-08-23 21:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:46: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-08-23 21:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600332544001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600332544001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:46:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600332544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":163425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:46:05] local.INFO: GPS data processed {"connection_id":163425,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:46:05] local.INFO: Acknowledgment sent {"connection_id":163425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:46:26] local.INFO: TCP Data received {"connection_id":162021,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:46:26] local.INFO: Processing buffer {"connection_id":162021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:46:26] local.INFO: Packet analysis {"connection_id":162021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f66"} 
[2026-08-23 21:46:26] local.INFO: Extracted packet for processing {"connection_id":162021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f66"} 
[2026-08-23 21:46:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600338688001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787501624000,"timestamp_ms":1787501624000,"timestamp_seconds":1787501624,"priority":1,"record_length":96,"hex_timestamp":"000001a02f663ac0"} 
[2026-08-23 21:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:46: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-08-23 21:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600338688001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600338688001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:46:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:46:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600338688001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":162021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:46:26] local.INFO: GPS data processed {"connection_id":162021,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:46:26] local.INFO: Acknowledgment sent {"connection_id":162021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:46:28] local.INFO: TCP Data received {"connection_id":160834,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:46:28] local.INFO: Processing buffer {"connection_id":160834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:46:28] local.INFO: IMEI packet received {"connection_id":160834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":160834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:46:33] local.INFO: TCP Data received {"connection_id":160834,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:46:33] local.INFO: Processing buffer {"connection_id":160834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:46:33] local.INFO: IMEI packet received {"connection_id":160834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":160834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:46:34] local.INFO: TCP Data received {"connection_id":160834,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:46:34] local.INFO: Processing buffer {"connection_id":160834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:46:34] local.INFO: Packet analysis {"connection_id":160834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f65"} 
[2026-08-23 21:46:34] local.INFO: Extracted packet for processing {"connection_id":160834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f65"} 
[2026-08-23 21:46:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600332544001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787501600000,"timestamp_ms":1787501600000,"timestamp_seconds":1787501600,"priority":1,"record_length":96,"hex_timestamp":"000001a02f65dd00"} 
[2026-08-23 21:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:46:34] 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-08-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600332544001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600332544001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:46:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:46:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600332544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":160834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:46:34] local.INFO: GPS data processed {"connection_id":160834,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:46:34] local.INFO: Acknowledgment sent {"connection_id":160834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:46:45] local.INFO: TCP Data received {"connection_id":160835,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:46:45] local.INFO: Processing buffer {"connection_id":160835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:46:45] local.INFO: IMEI packet received {"connection_id":160835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":160835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:46:50] local.INFO: TCP Data received {"connection_id":160835,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:46:50] local.INFO: Processing buffer {"connection_id":160835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:46:50] local.INFO: IMEI packet received {"connection_id":160835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":160835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:46:51] local.INFO: TCP Data received {"connection_id":160835,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:46:51] local.INFO: Processing buffer {"connection_id":160835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:46:51] local.INFO: Packet analysis {"connection_id":160835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f66"} 
[2026-08-23 21:46:51] local.INFO: Extracted packet for processing {"connection_id":160835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f66"} 
[2026-08-23 21:46:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600338688001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787501624000,"timestamp_ms":1787501624000,"timestamp_seconds":1787501624,"priority":1,"record_length":96,"hex_timestamp":"000001a02f663ac0"} 
[2026-08-23 21:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:46: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-08-23 21:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:46: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-08-23 21:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600338688001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600338688001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:46:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:46:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600338688001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":160835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:46:51] local.INFO: GPS data processed {"connection_id":160835,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:46:51] local.INFO: Acknowledgment sent {"connection_id":160835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:47:05] local.INFO: TCP Data received {"connection_id":160834,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:47:05] local.INFO: Processing buffer {"connection_id":160834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:47:05] local.INFO: Packet analysis {"connection_id":160834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f65"} 
[2026-08-23 21:47:05] local.INFO: Extracted packet for processing {"connection_id":160834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f65"} 
[2026-08-23 21:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600332544001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787501600000,"timestamp_ms":1787501600000,"timestamp_seconds":1787501600,"priority":1,"record_length":96,"hex_timestamp":"000001a02f65dd00"} 
[2026-08-23 21:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:47: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-08-23 21:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600332544001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600332544001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:47:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600332544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":160834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:47:05] local.INFO: GPS data processed {"connection_id":160834,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:47:05] local.INFO: Acknowledgment sent {"connection_id":160834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:47:23] local.INFO: TCP Data received {"connection_id":160835,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:47:23] local.INFO: Processing buffer {"connection_id":160835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:47:23] local.INFO: Packet analysis {"connection_id":160835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f66"} 
[2026-08-23 21:47:23] local.INFO: Extracted packet for processing {"connection_id":160835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f66"} 
[2026-08-23 21:47:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600338688001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787501624000,"timestamp_ms":1787501624000,"timestamp_seconds":1787501624,"priority":1,"record_length":96,"hex_timestamp":"000001a02f663ac0"} 
[2026-08-23 21:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:47: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-08-23 21:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600338688001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600338688001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:47:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:47:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600338688001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":160835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:47:23] local.INFO: GPS data processed {"connection_id":160835,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:47:23] local.INFO: Acknowledgment sent {"connection_id":160835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:47:28] local.INFO: TCP Data received {"connection_id":162022,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:47:28] local.INFO: Processing buffer {"connection_id":162022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:47:28] local.INFO: IMEI packet received {"connection_id":162022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":162022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:47:33] local.INFO: TCP Data received {"connection_id":162022,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:47:33] local.INFO: Processing buffer {"connection_id":162022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:47:33] local.INFO: IMEI packet received {"connection_id":162022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":162022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:47:34] local.INFO: TCP Data received {"connection_id":162022,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:47:34] local.INFO: Processing buffer {"connection_id":162022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:47:34] local.INFO: Packet analysis {"connection_id":162022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f65"} 
[2026-08-23 21:47:34] local.INFO: Extracted packet for processing {"connection_id":162022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f65"} 
[2026-08-23 21:47:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600332544001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787501600000,"timestamp_ms":1787501600000,"timestamp_seconds":1787501600,"priority":1,"record_length":96,"hex_timestamp":"000001a02f65dd00"} 
[2026-08-23 21:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:47:34] 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-08-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600332544001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600332544001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:47:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:47:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600332544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":162022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:47:34] local.INFO: GPS data processed {"connection_id":162022,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:47:34] local.INFO: Acknowledgment sent {"connection_id":162022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:47:45] local.INFO: TCP Data received {"connection_id":162023,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:47:45] local.INFO: Processing buffer {"connection_id":162023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:47:45] local.INFO: IMEI packet received {"connection_id":162023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":162023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:47:50] local.INFO: TCP Data received {"connection_id":162023,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:47:50] local.INFO: Processing buffer {"connection_id":162023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:47:50] local.INFO: IMEI packet received {"connection_id":162023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":162023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:47:51] local.INFO: TCP Data received {"connection_id":162023,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:47:51] local.INFO: Processing buffer {"connection_id":162023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:47:51] local.INFO: Packet analysis {"connection_id":162023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f66"} 
[2026-08-23 21:47:51] local.INFO: Extracted packet for processing {"connection_id":162023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f66"} 
[2026-08-23 21:47:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600338688001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787501624000,"timestamp_ms":1787501624000,"timestamp_seconds":1787501624,"priority":1,"record_length":96,"hex_timestamp":"000001a02f663ac0"} 
[2026-08-23 21:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:47: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-08-23 21:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600338688001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600338688001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:47:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:47:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600338688001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":162023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:47:51] local.INFO: GPS data processed {"connection_id":162023,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:47:51] local.INFO: Acknowledgment sent {"connection_id":162023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:48:05] local.INFO: TCP Data received {"connection_id":162022,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:48:05] local.INFO: Processing buffer {"connection_id":162022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:48:05] local.INFO: Packet analysis {"connection_id":162022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f65"} 
[2026-08-23 21:48:05] local.INFO: Extracted packet for processing {"connection_id":162022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f65"} 
[2026-08-23 21:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600332544001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787501600000,"timestamp_ms":1787501600000,"timestamp_seconds":1787501600,"priority":1,"record_length":96,"hex_timestamp":"000001a02f65dd00"} 
[2026-08-23 21:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:48: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-08-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600332544001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600332544001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:48:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600332544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":162022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:48:06] local.INFO: GPS data processed {"connection_id":162022,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:48:06] local.INFO: Acknowledgment sent {"connection_id":162022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:48:23] local.INFO: TCP Data received {"connection_id":162023,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:48:23] local.INFO: Processing buffer {"connection_id":162023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:48:23] local.INFO: Packet analysis {"connection_id":162023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f66"} 
[2026-08-23 21:48:23] local.INFO: Extracted packet for processing {"connection_id":162023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f66"} 
[2026-08-23 21:48:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600338688001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787501624000,"timestamp_ms":1787501624000,"timestamp_seconds":1787501624,"priority":1,"record_length":96,"hex_timestamp":"000001a02f663ac0"} 
[2026-08-23 21:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:48: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-08-23 21:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:48:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:48:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600338688001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600338688001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:48:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:48:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600338688001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":162023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:48:23] local.INFO: GPS data processed {"connection_id":162023,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:48:23] local.INFO: Acknowledgment sent {"connection_id":162023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:48:28] local.INFO: TCP Data received {"connection_id":163426,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:48:28] local.INFO: Processing buffer {"connection_id":163426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:48:28] local.INFO: IMEI packet received {"connection_id":163426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":163426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:48:33] local.INFO: TCP Data received {"connection_id":163426,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:48:33] local.INFO: Processing buffer {"connection_id":163426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:48:33] local.INFO: IMEI packet received {"connection_id":163426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":163426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:48:34] local.INFO: TCP Data received {"connection_id":163426,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:48:34] local.INFO: Processing buffer {"connection_id":163426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f65dd00012d196580071fef380048010e2a..."} 
[2026-08-23 21:48:34] local.INFO: Packet analysis {"connection_id":163426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f65"} 
[2026-08-23 21:48:34] local.INFO: Extracted packet for processing {"connection_id":163426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f65"} 
[2026-08-23 21:48:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 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-08-23 21:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600332544001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787501600000,"timestamp_ms":1787501600000,"timestamp_seconds":1787501600,"priority":1,"record_length":96,"hex_timestamp":"000001a02f65dd00"} 
[2026-08-23 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-08-23 21:48:34] 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-08-23 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 21:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600332544001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600332544001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:48:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:48:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600332544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":163426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:48:34] local.INFO: GPS data processed {"connection_id":163426,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:48:34] local.INFO: Acknowledgment sent {"connection_id":163426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:48:45] local.INFO: TCP Data received {"connection_id":161071,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:48:45] local.INFO: Processing buffer {"connection_id":161071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:48:45] local.INFO: IMEI packet received {"connection_id":161071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":161071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:48:50] local.INFO: TCP Data received {"connection_id":161071,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:48:50] local.INFO: Processing buffer {"connection_id":161071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:48:50] local.INFO: IMEI packet received {"connection_id":161071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":161071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:48:52] local.INFO: TCP Data received {"connection_id":161071,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:48:52] local.INFO: Processing buffer {"connection_id":161071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f663ac0012d34c58006aa40600010011426..."} 
[2026-08-23 21:48:52] local.INFO: Packet analysis {"connection_id":161071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f66"} 
[2026-08-23 21:48:52] local.INFO: Extracted packet for processing {"connection_id":161071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f66"} 
[2026-08-23 21:48:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600338688001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787501624000,"timestamp_ms":1787501624000,"timestamp_seconds":1787501624,"priority":1,"record_length":96,"hex_timestamp":"000001a02f663ac0"} 
[2026-08-23 21:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21: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-08-23 21:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-23 21:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600338688001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600338688001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:48:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:48:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600338688001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":161071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:48:52] local.INFO: GPS data processed {"connection_id":161071,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:48:52] local.INFO: Acknowledgment sent {"connection_id":161071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:49:06] local.INFO: TCP Data received {"connection_id":163426,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:49:06] local.INFO: Processing buffer {"connection_id":163426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:49:06] local.INFO: Packet analysis {"connection_id":163426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:49:06] local.INFO: Extracted packet for processing {"connection_id":163426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600409600001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787501901000,"timestamp_ms":1787501901000,"timestamp_seconds":1787501901,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6a74c8"} 
[2026-08-23 21:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:49: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-08-23 21:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600409600001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600409600001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:49:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600409600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":163426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:49:06] local.INFO: GPS data processed {"connection_id":163426,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:49:06] local.INFO: Acknowledgment sent {"connection_id":163426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:49:24] local.INFO: TCP Data received {"connection_id":161071,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:49:24] local.INFO: Processing buffer {"connection_id":161071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:49:24] local.INFO: Packet analysis {"connection_id":161071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:49:24] local.INFO: Extracted packet for processing {"connection_id":161071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:49:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:49: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-08-23 21:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600415744001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787501925000,"timestamp_ms":1787501925000,"timestamp_seconds":1787501925,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6ad288"} 
[2026-08-23 21:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:49: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-08-23 21:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 21:49:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:49: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-08-23 21:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:49: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-08-23 21:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600415744001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600415744001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:49:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:49:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600415744001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":161071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:49:24] local.INFO: GPS data processed {"connection_id":161071,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:49:24] local.INFO: Acknowledgment sent {"connection_id":161071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:49:33] local.INFO: TCP Data received {"connection_id":163427,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:49:33] local.INFO: Processing buffer {"connection_id":163427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:49:33] local.INFO: IMEI packet received {"connection_id":163427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":163427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:49:38] local.INFO: TCP Data received {"connection_id":163427,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:49:38] local.INFO: Processing buffer {"connection_id":163427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:49:38] local.INFO: IMEI packet received {"connection_id":163427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":163427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:49:39] local.INFO: TCP Data received {"connection_id":163427,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:49:39] local.INFO: Processing buffer {"connection_id":163427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:49:39] local.INFO: Packet analysis {"connection_id":163427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:49:39] local.INFO: Extracted packet for processing {"connection_id":163427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:49:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600409600001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787501901000,"timestamp_ms":1787501901000,"timestamp_seconds":1787501901,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6a74c8"} 
[2026-08-23 21:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:49:39] 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-08-23 21:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600409600001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600409600001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:49:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:49:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600409600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":163427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:49:39] local.INFO: GPS data processed {"connection_id":163427,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:49:39] local.INFO: Acknowledgment sent {"connection_id":163427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:49:50] local.INFO: TCP Data received {"connection_id":163428,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:49:50] local.INFO: Processing buffer {"connection_id":163428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:49:50] local.INFO: IMEI packet received {"connection_id":163428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":163428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:49:55] local.INFO: TCP Data received {"connection_id":163428,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:49:55] local.INFO: Processing buffer {"connection_id":163428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:49:55] local.INFO: IMEI packet received {"connection_id":163428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":163428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:49:56] local.INFO: TCP Data received {"connection_id":163428,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:49:56] local.INFO: Processing buffer {"connection_id":163428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:49:56] local.INFO: Packet analysis {"connection_id":163428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:49:56] local.INFO: Extracted packet for processing {"connection_id":163428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:49:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600415744001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787501925000,"timestamp_ms":1787501925000,"timestamp_seconds":1787501925,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6ad288"} 
[2026-08-23 21:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 21:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600415744001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600415744001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:49:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:49:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600415744001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":163428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:49:56] local.INFO: GPS data processed {"connection_id":163428,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:49:56] local.INFO: Acknowledgment sent {"connection_id":163428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:50:01] local.INFO: TCP Data received {"connection_id":163428,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:50:01] local.INFO: Processing buffer {"connection_id":163428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:50:01] local.INFO: Packet analysis {"connection_id":163428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:50:01] local.INFO: Extracted packet for processing {"connection_id":163428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:50:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600415744001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787501925000,"timestamp_ms":1787501925000,"timestamp_seconds":1787501925,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6ad288"} 
[2026-08-23 21:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 21:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":163428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":163428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":163428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600415744001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600415744001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:50:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:50:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600415744001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":163428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:50:01] local.INFO: GPS data processed {"connection_id":163428,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:50:01] local.INFO: Acknowledgment sent {"connection_id":163428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:50:10] local.INFO: TCP Data received {"connection_id":163427,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:50:10] local.INFO: Processing buffer {"connection_id":163427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:50:10] local.INFO: Packet analysis {"connection_id":163427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:50:10] local.INFO: Extracted packet for processing {"connection_id":163427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:50:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600409600001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787501901000,"timestamp_ms":1787501901000,"timestamp_seconds":1787501901,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6a74c8"} 
[2026-08-23 21:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:50: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-08-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600409600001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600409600001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:50:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:50:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600409600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":163427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:50:10] local.INFO: GPS data processed {"connection_id":163427,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:50:10] local.INFO: Acknowledgment sent {"connection_id":163427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:50:28] local.INFO: TCP Data received {"connection_id":160836,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:50:28] local.INFO: Processing buffer {"connection_id":160836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:50:28] local.INFO: IMEI packet received {"connection_id":160836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":160836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:50:33] local.INFO: TCP Data received {"connection_id":160836,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:50:33] local.INFO: Processing buffer {"connection_id":160836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:50:33] local.INFO: IMEI packet received {"connection_id":160836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":160836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:50:34] local.INFO: TCP Data received {"connection_id":160836,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:50:34] local.INFO: Processing buffer {"connection_id":160836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:50:34] local.INFO: Packet analysis {"connection_id":160836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:50:34] local.INFO: Extracted packet for processing {"connection_id":160836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:50:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600409600001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787501901000,"timestamp_ms":1787501901000,"timestamp_seconds":1787501901,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6a74c8"} 
[2026-08-23 21:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:50:34] 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-08-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600409600001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600409600001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:50:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:50:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600409600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":160836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:50:34] local.INFO: GPS data processed {"connection_id":160836,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:50:34] local.INFO: Acknowledgment sent {"connection_id":160836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:50:45] local.INFO: TCP Data received {"connection_id":160837,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:50:45] local.INFO: Processing buffer {"connection_id":160837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:50:45] local.INFO: IMEI packet received {"connection_id":160837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":160837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:50:50] local.INFO: TCP Data received {"connection_id":160837,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:50:50] local.INFO: Processing buffer {"connection_id":160837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:50:50] local.INFO: IMEI packet received {"connection_id":160837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":160837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:50:51] local.INFO: TCP Data received {"connection_id":160837,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:50:51] local.INFO: Processing buffer {"connection_id":160837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:50:51] local.INFO: Packet analysis {"connection_id":160837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:50:51] local.INFO: Extracted packet for processing {"connection_id":160837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:50:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600415744001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787501925000,"timestamp_ms":1787501925000,"timestamp_seconds":1787501925,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6ad288"} 
[2026-08-23 21:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:50: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-08-23 21:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 21:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:50:51] 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-08-23 21:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600415744001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600415744001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:50:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:50:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600415744001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":160837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:50:51] local.INFO: GPS data processed {"connection_id":160837,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:50:51] local.INFO: Acknowledgment sent {"connection_id":160837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:51:05] local.INFO: TCP Data received {"connection_id":160836,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:51:05] local.INFO: Processing buffer {"connection_id":160836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:51:05] local.INFO: Packet analysis {"connection_id":160836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:51:05] local.INFO: Extracted packet for processing {"connection_id":160836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600409600001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787501901000,"timestamp_ms":1787501901000,"timestamp_seconds":1787501901,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6a74c8"} 
[2026-08-23 21:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:51: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-08-23 21:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600409600001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600409600001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:51:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600409600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":160836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:51:05] local.INFO: GPS data processed {"connection_id":160836,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:51:05] local.INFO: Acknowledgment sent {"connection_id":160836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:51:23] local.INFO: TCP Data received {"connection_id":160837,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:51:23] local.INFO: Processing buffer {"connection_id":160837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:51:23] local.INFO: Packet analysis {"connection_id":160837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:51:23] local.INFO: Extracted packet for processing {"connection_id":160837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:51:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600415744001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787501925000,"timestamp_ms":1787501925000,"timestamp_seconds":1787501925,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6ad288"} 
[2026-08-23 21:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:51: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-08-23 21:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 21:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:51:23] 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-08-23 21:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600415744001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600415744001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:51:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:51:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600415744001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":160837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:51:23] local.INFO: GPS data processed {"connection_id":160837,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:51:23] local.INFO: Acknowledgment sent {"connection_id":160837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:51:29] local.INFO: TCP Data received {"connection_id":162024,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:51:29] local.INFO: Processing buffer {"connection_id":162024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:51:29] local.INFO: IMEI packet received {"connection_id":162024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":162024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:51:33] local.INFO: TCP Data received {"connection_id":162024,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:51:33] local.INFO: Processing buffer {"connection_id":162024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:51:33] local.INFO: IMEI packet received {"connection_id":162024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":162024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:51:34] local.INFO: TCP Data received {"connection_id":162024,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:51:34] local.INFO: Processing buffer {"connection_id":162024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:51:34] local.INFO: Packet analysis {"connection_id":162024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:51:34] local.INFO: Extracted packet for processing {"connection_id":162024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:51:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600409600001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787501901000,"timestamp_ms":1787501901000,"timestamp_seconds":1787501901,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6a74c8"} 
[2026-08-23 21:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:51:34] 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-08-23 21:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600409600001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600409600001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:51:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:51:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600409600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":162024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:51:34] local.INFO: GPS data processed {"connection_id":162024,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:51:34] local.INFO: Acknowledgment sent {"connection_id":162024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:51:45] local.INFO: TCP Data received {"connection_id":161072,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:51:45] local.INFO: Processing buffer {"connection_id":161072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:51:45] local.INFO: IMEI packet received {"connection_id":161072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":161072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:51:50] local.INFO: TCP Data received {"connection_id":161072,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:51:50] local.INFO: Processing buffer {"connection_id":161072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:51:50] local.INFO: IMEI packet received {"connection_id":161072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":161072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:51:51] local.INFO: TCP Data received {"connection_id":161072,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:51:51] local.INFO: Processing buffer {"connection_id":161072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:51:51] local.INFO: Packet analysis {"connection_id":161072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:51:51] local.INFO: Extracted packet for processing {"connection_id":161072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:51:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600415744001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787501925000,"timestamp_ms":1787501925000,"timestamp_seconds":1787501925,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6ad288"} 
[2026-08-23 21:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21: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-08-23 21: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 21:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600415744001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600415744001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:51:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:51:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600415744001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":161072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:51:51] local.INFO: GPS data processed {"connection_id":161072,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:51:51] local.INFO: Acknowledgment sent {"connection_id":161072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:52:05] local.INFO: TCP Data received {"connection_id":162024,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:52:05] local.INFO: Processing buffer {"connection_id":162024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:52:05] local.INFO: Packet analysis {"connection_id":162024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:52:05] local.INFO: Extracted packet for processing {"connection_id":162024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600409600001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787501901000,"timestamp_ms":1787501901000,"timestamp_seconds":1787501901,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6a74c8"} 
[2026-08-23 21:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:52: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-08-23 21:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600409600001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600409600001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:52:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600409600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":162024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:52:06] local.INFO: GPS data processed {"connection_id":162024,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:52:06] local.INFO: Acknowledgment sent {"connection_id":162024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:52:23] local.INFO: TCP Data received {"connection_id":161072,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:52:23] local.INFO: Processing buffer {"connection_id":161072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:52:23] local.INFO: Packet analysis {"connection_id":161072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:52:23] local.INFO: Extracted packet for processing {"connection_id":161072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:52:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600415744001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787501925000,"timestamp_ms":1787501925000,"timestamp_seconds":1787501925,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6ad288"} 
[2026-08-23 21:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:52: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-08-23 21:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 21:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600415744001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600415744001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:52:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:52:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600415744001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":161072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:52:23] local.INFO: GPS data processed {"connection_id":161072,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:52:23] local.INFO: Acknowledgment sent {"connection_id":161072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:52:28] local.INFO: TCP Data received {"connection_id":161073,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:52:28] local.INFO: Processing buffer {"connection_id":161073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:52:28] local.INFO: IMEI packet received {"connection_id":161073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":161073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:52:33] local.INFO: TCP Data received {"connection_id":161073,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:52:33] local.INFO: Processing buffer {"connection_id":161073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:52:33] local.INFO: IMEI packet received {"connection_id":161073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":161073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:52:34] local.INFO: TCP Data received {"connection_id":161073,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:52:34] local.INFO: Processing buffer {"connection_id":161073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:52:34] local.INFO: Packet analysis {"connection_id":161073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:52:34] local.INFO: Extracted packet for processing {"connection_id":161073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:52:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600409600001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787501901000,"timestamp_ms":1787501901000,"timestamp_seconds":1787501901,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6a74c8"} 
[2026-08-23 21:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:52:34] 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-08-23 21:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600409600001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600409600001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:52:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:52:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600409600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":161073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:52:34] local.INFO: GPS data processed {"connection_id":161073,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:52:34] local.INFO: Acknowledgment sent {"connection_id":161073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:52:45] local.INFO: TCP Data received {"connection_id":162025,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:52:45] local.INFO: Processing buffer {"connection_id":162025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:52:45] local.INFO: IMEI packet received {"connection_id":162025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":162025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:52:50] local.INFO: TCP Data received {"connection_id":162025,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:52:50] local.INFO: Processing buffer {"connection_id":162025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:52:50] local.INFO: IMEI packet received {"connection_id":162025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":162025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:52:51] local.INFO: TCP Data received {"connection_id":162025,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:52:51] local.INFO: Processing buffer {"connection_id":162025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:52:51] local.INFO: Packet analysis {"connection_id":162025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:52:51] local.INFO: Extracted packet for processing {"connection_id":162025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:52:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600415744001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787501925000,"timestamp_ms":1787501925000,"timestamp_seconds":1787501925,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6ad288"} 
[2026-08-23 21:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 21:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600415744001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600415744001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:52:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:52:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600415744001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":162025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:52:51] local.INFO: GPS data processed {"connection_id":162025,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:52:51] local.INFO: Acknowledgment sent {"connection_id":162025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:53:05] local.INFO: TCP Data received {"connection_id":161073,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:53:05] local.INFO: Processing buffer {"connection_id":161073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:53:05] local.INFO: Packet analysis {"connection_id":161073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:53:05] local.INFO: Extracted packet for processing {"connection_id":161073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600409600001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787501901000,"timestamp_ms":1787501901000,"timestamp_seconds":1787501901,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6a74c8"} 
[2026-08-23 21:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21: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-08-23 21:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600409600001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600409600001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:53:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600409600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":161073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:53:06] local.INFO: GPS data processed {"connection_id":161073,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:53:06] local.INFO: Acknowledgment sent {"connection_id":161073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:53:24] local.INFO: TCP Data received {"connection_id":162025,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:53:24] local.INFO: Processing buffer {"connection_id":162025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:53:24] local.INFO: Packet analysis {"connection_id":162025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:53:24] local.INFO: Extracted packet for processing {"connection_id":162025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600415744001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787501925000,"timestamp_ms":1787501925000,"timestamp_seconds":1787501925,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6ad288"} 
[2026-08-23 21:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:53: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-08-23 21:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 21:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600415744001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600415744001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:53:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600415744001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":162025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:53:24] local.INFO: GPS data processed {"connection_id":162025,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:53:24] local.INFO: Acknowledgment sent {"connection_id":162025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:53:28] local.INFO: TCP Data received {"connection_id":160838,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:53:28] local.INFO: Processing buffer {"connection_id":160838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:53:28] local.INFO: IMEI packet received {"connection_id":160838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":160838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:53:33] local.INFO: TCP Data received {"connection_id":160838,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:53:33] local.INFO: Processing buffer {"connection_id":160838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:53:33] local.INFO: IMEI packet received {"connection_id":160838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":160838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:53:34] local.INFO: TCP Data received {"connection_id":160838,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:53:34] local.INFO: Processing buffer {"connection_id":160838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6a74c8012d196580071fef380048010e2c..."} 
[2026-08-23 21:53:34] local.INFO: Packet analysis {"connection_id":160838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:53:34] local.INFO: Extracted packet for processing {"connection_id":160838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:53:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600409600001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787501901000,"timestamp_ms":1787501901000,"timestamp_seconds":1787501901,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6a74c8"} 
[2026-08-23 21:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:53:34] 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-08-23 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600409600001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600409600001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:53:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:53:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600409600001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":160838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:53:34] local.INFO: GPS data processed {"connection_id":160838,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:53:34] local.INFO: Acknowledgment sent {"connection_id":160838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:53:45] local.INFO: TCP Data received {"connection_id":163429,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:53:45] local.INFO: Processing buffer {"connection_id":163429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:53:45] local.INFO: IMEI packet received {"connection_id":163429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":163429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:53:50] local.INFO: TCP Data received {"connection_id":163429,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:53:50] local.INFO: Processing buffer {"connection_id":163429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:53:50] local.INFO: IMEI packet received {"connection_id":163429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":163429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:53:52] local.INFO: TCP Data received {"connection_id":163429,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:53:52] local.INFO: Processing buffer {"connection_id":163429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:53:52] local.INFO: Packet analysis {"connection_id":163429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:53:52] local.INFO: Extracted packet for processing {"connection_id":163429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:53:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600415744001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787501925000,"timestamp_ms":1787501925000,"timestamp_seconds":1787501925,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6ad288"} 
[2026-08-23 21:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:53: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-08-23 21:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 21:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600415744001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600415744001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:53:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:53:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600415744001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":163429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:53:52] local.INFO: GPS data processed {"connection_id":163429,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:53:52] local.INFO: Acknowledgment sent {"connection_id":163429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:54:06] local.INFO: TCP Data received {"connection_id":160838,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:54:06] local.INFO: Processing buffer {"connection_id":160838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:54:06] local.INFO: Packet analysis {"connection_id":160838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:54:06] local.INFO: Extracted packet for processing {"connection_id":160838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600486656001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787502202000,"timestamp_ms":1787502202000,"timestamp_seconds":1787502202,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6f0c90"} 
[2026-08-23 21:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:54:06] 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-08-23 21:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600486656001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600486656001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:54:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600486656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":160838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:54:06] local.INFO: GPS data processed {"connection_id":160838,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:54:06] local.INFO: Acknowledgment sent {"connection_id":160838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:54:24] local.INFO: TCP Data received {"connection_id":163429,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:54:24] local.INFO: Processing buffer {"connection_id":163429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6ad288012d34c58006aa40600010011423..."} 
[2026-08-23 21:54:24] local.INFO: Packet analysis {"connection_id":163429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:54:24] local.INFO: Extracted packet for processing {"connection_id":163429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6a"} 
[2026-08-23 21:54:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600415744001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787501925000,"timestamp_ms":1787501925000,"timestamp_seconds":1787501925,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6ad288"} 
[2026-08-23 21:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:54: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-08-23 21: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 21:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:54: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-08-23 21:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600415744001,"66":25419,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600415744001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:54:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:54:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600415744001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":163429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:54:24] local.INFO: GPS data processed {"connection_id":163429,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:54:24] local.INFO: Acknowledgment sent {"connection_id":163429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:54:33] local.INFO: TCP Data received {"connection_id":162026,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:54:33] local.INFO: Processing buffer {"connection_id":162026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:54:33] local.INFO: IMEI packet received {"connection_id":162026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":162026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:54:38] local.INFO: TCP Data received {"connection_id":162026,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:54:38] local.INFO: Processing buffer {"connection_id":162026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:54:38] local.INFO: IMEI packet received {"connection_id":162026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":162026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:54:39] local.INFO: TCP Data received {"connection_id":162026,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:54:39] local.INFO: Processing buffer {"connection_id":162026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:54:39] local.INFO: Packet analysis {"connection_id":162026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:54:39] local.INFO: Extracted packet for processing {"connection_id":162026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:54:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600486656001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787502202000,"timestamp_ms":1787502202000,"timestamp_seconds":1787502202,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6f0c90"} 
[2026-08-23 21:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:54:39] 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-08-23 21:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":162026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":162026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":162026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600486656001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600486656001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:54:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:54:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600486656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":162026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:54:39] local.INFO: GPS data processed {"connection_id":162026,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:54:39] local.INFO: Acknowledgment sent {"connection_id":162026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:54:50] local.INFO: TCP Data received {"connection_id":163430,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:54:50] local.INFO: Processing buffer {"connection_id":163430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:54:50] local.INFO: IMEI packet received {"connection_id":163430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":163430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:54:55] local.INFO: TCP Data received {"connection_id":163430,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:54:55] local.INFO: Processing buffer {"connection_id":163430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:54:55] local.INFO: IMEI packet received {"connection_id":163430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":163430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:54:56] local.INFO: TCP Data received {"connection_id":163430,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:54:56] local.INFO: Processing buffer {"connection_id":163430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:54:56] local.INFO: Packet analysis {"connection_id":163430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:54:56] local.INFO: Extracted packet for processing {"connection_id":163430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:54:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600492800001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787502226000,"timestamp_ms":1787502226000,"timestamp_seconds":1787502226,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6f6a50"} 
[2026-08-23 21:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 21:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600492800001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600492800001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:54:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:54:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600492800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":163430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:54:56] local.INFO: GPS data processed {"connection_id":163430,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:54:56] local.INFO: Acknowledgment sent {"connection_id":163430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:55:00] local.INFO: TCP Data received {"connection_id":163430,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:55:00] local.INFO: Processing buffer {"connection_id":163430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:55:00] local.INFO: Packet analysis {"connection_id":163430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:55:00] local.INFO: Extracted packet for processing {"connection_id":163430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:55:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600492800001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787502226000,"timestamp_ms":1787502226000,"timestamp_seconds":1787502226,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6f6a50"} 
[2026-08-23 21:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 21:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600492800001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600492800001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:55:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:55:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600492800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":163430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:55:00] local.INFO: GPS data processed {"connection_id":163430,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:55:00] local.INFO: Acknowledgment sent {"connection_id":163430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:55:10] local.INFO: TCP Data received {"connection_id":162026,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:55:10] local.INFO: Processing buffer {"connection_id":162026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:55:10] local.INFO: Packet analysis {"connection_id":162026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:55:10] local.INFO: Extracted packet for processing {"connection_id":162026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:55:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600486656001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787502202000,"timestamp_ms":1787502202000,"timestamp_seconds":1787502202,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6f0c90"} 
[2026-08-23 21:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:55:10] 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-08-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":162026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":162026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":162026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600486656001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600486656001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:55:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:55:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600486656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":162026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:55:11] local.INFO: GPS data processed {"connection_id":162026,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:55:11] local.INFO: Acknowledgment sent {"connection_id":162026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:55:28] local.INFO: TCP Data received {"connection_id":163431,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:55:28] local.INFO: Processing buffer {"connection_id":163431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:55:28] local.INFO: IMEI packet received {"connection_id":163431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":163431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:55:33] local.INFO: TCP Data received {"connection_id":163431,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:55:33] local.INFO: Processing buffer {"connection_id":163431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:55:33] local.INFO: IMEI packet received {"connection_id":163431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":163431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:55:34] local.INFO: TCP Data received {"connection_id":163431,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:55:34] local.INFO: Processing buffer {"connection_id":163431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:55:34] local.INFO: Packet analysis {"connection_id":163431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:55:34] local.INFO: Extracted packet for processing {"connection_id":163431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:55:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600486656001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787502202000,"timestamp_ms":1787502202000,"timestamp_seconds":1787502202,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6f0c90"} 
[2026-08-23 21:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:55: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-08-23 21:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600486656001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600486656001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:55:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:55:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600486656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":163431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:55:34] local.INFO: GPS data processed {"connection_id":163431,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:55:34] local.INFO: Acknowledgment sent {"connection_id":163431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:55:45] local.INFO: TCP Data received {"connection_id":161074,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:55:45] local.INFO: Processing buffer {"connection_id":161074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:55:45] local.INFO: IMEI packet received {"connection_id":161074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":161074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:55:50] local.INFO: TCP Data received {"connection_id":161074,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:55:50] local.INFO: Processing buffer {"connection_id":161074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:55:50] local.INFO: IMEI packet received {"connection_id":161074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":161074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:55:51] local.INFO: TCP Data received {"connection_id":161074,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:55:51] local.INFO: Processing buffer {"connection_id":161074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:55:51] local.INFO: Packet analysis {"connection_id":161074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:55:51] local.INFO: Extracted packet for processing {"connection_id":161074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:55:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600492800001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787502226000,"timestamp_ms":1787502226000,"timestamp_seconds":1787502226,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6f6a50"} 
[2026-08-23 21:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:55: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-08-23 21:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 21:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:55:51] 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-08-23 21:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600492800001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600492800001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:55:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:55:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600492800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":161074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:55:51] local.INFO: GPS data processed {"connection_id":161074,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:55:51] local.INFO: Acknowledgment sent {"connection_id":161074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:56:05] local.INFO: TCP Data received {"connection_id":163431,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:56:05] local.INFO: Processing buffer {"connection_id":163431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:56:05] local.INFO: Packet analysis {"connection_id":163431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:56:05] local.INFO: Extracted packet for processing {"connection_id":163431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600486656001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787502202000,"timestamp_ms":1787502202000,"timestamp_seconds":1787502202,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6f0c90"} 
[2026-08-23 21:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:56: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-08-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600486656001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600486656001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:56:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600486656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":163431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:56:05] local.INFO: GPS data processed {"connection_id":163431,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:56:05] local.INFO: Acknowledgment sent {"connection_id":163431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:56:24] local.INFO: TCP Data received {"connection_id":161074,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:56:24] local.INFO: Processing buffer {"connection_id":161074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:56:24] local.INFO: Packet analysis {"connection_id":161074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:56:24] local.INFO: Extracted packet for processing {"connection_id":161074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:56:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600492800001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787502226000,"timestamp_ms":1787502226000,"timestamp_seconds":1787502226,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6f6a50"} 
[2026-08-23 21:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:56: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-08-23 21:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 21:56:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:56:24] 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-08-23 21:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600492800001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600492800001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:56:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:56:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600492800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":161074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:56:24] local.INFO: GPS data processed {"connection_id":161074,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:56:24] local.INFO: Acknowledgment sent {"connection_id":161074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:56:29] local.INFO: TCP Data received {"connection_id":162027,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:56:29] local.INFO: Processing buffer {"connection_id":162027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:56:29] local.INFO: IMEI packet received {"connection_id":162027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":162027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:56:33] local.INFO: TCP Data received {"connection_id":162027,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:56:33] local.INFO: Processing buffer {"connection_id":162027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:56:33] local.INFO: IMEI packet received {"connection_id":162027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":162027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:56:34] local.INFO: TCP Data received {"connection_id":162027,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:56:34] local.INFO: Processing buffer {"connection_id":162027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:56:34] local.INFO: Packet analysis {"connection_id":162027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:56:34] local.INFO: Extracted packet for processing {"connection_id":162027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:56:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600486656001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787502202000,"timestamp_ms":1787502202000,"timestamp_seconds":1787502202,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6f0c90"} 
[2026-08-23 21:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:56: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-08-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600486656001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600486656001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:56:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:56:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600486656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":162027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:56:34] local.INFO: GPS data processed {"connection_id":162027,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:56:34] local.INFO: Acknowledgment sent {"connection_id":162027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:56:45] local.INFO: TCP Data received {"connection_id":163432,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:56:45] local.INFO: Processing buffer {"connection_id":163432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:56:45] local.INFO: IMEI packet received {"connection_id":163432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":163432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:56:50] local.INFO: TCP Data received {"connection_id":163432,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:56:50] local.INFO: Processing buffer {"connection_id":163432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:56:50] local.INFO: IMEI packet received {"connection_id":163432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":163432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:56:58] local.INFO: TCP Data received {"connection_id":160839,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:56:58] local.INFO: Processing buffer {"connection_id":160839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:56:58] local.INFO: IMEI packet received {"connection_id":160839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":160839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:56:59] local.INFO: TCP Data received {"connection_id":163432,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:56:59] local.INFO: Processing buffer {"connection_id":163432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:56:59] local.INFO: Packet analysis {"connection_id":163432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:56:59] local.INFO: Extracted packet for processing {"connection_id":163432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:56:59] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600492800001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787502226000,"timestamp_ms":1787502226000,"timestamp_seconds":1787502226,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6f6a50"} 
[2026-08-23 21:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 21:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":163432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":163432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":163432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:56:59] 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-08-23 21:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600492800001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600492800001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:56:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:56:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600492800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":163432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:56:59] local.INFO: GPS data processed {"connection_id":163432,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:56:59] local.INFO: Acknowledgment sent {"connection_id":163432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:57:03] local.INFO: TCP Data received {"connection_id":160839,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:57:03] local.INFO: Processing buffer {"connection_id":160839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:57:03] local.INFO: IMEI packet received {"connection_id":160839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":160839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:57:04] local.INFO: TCP Data received {"connection_id":160839,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:57:04] local.INFO: Processing buffer {"connection_id":160839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:57:04] local.INFO: Packet analysis {"connection_id":160839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:57:04] local.INFO: Extracted packet for processing {"connection_id":160839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21: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-08-23 21:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600486656001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787502202000,"timestamp_ms":1787502202000,"timestamp_seconds":1787502202,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6f0c90"} 
[2026-08-23 21:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:57: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-08-23 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21: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-08-23 21:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600486656001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600486656001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:57:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600486656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":160839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:57:05] local.INFO: GPS data processed {"connection_id":160839,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:57:05] local.INFO: Acknowledgment sent {"connection_id":160839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:57:28] local.INFO: TCP Data received {"connection_id":162028,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:57:28] local.INFO: Processing buffer {"connection_id":162028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:57:28] local.INFO: IMEI packet received {"connection_id":162028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":162028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:57:30] local.INFO: TCP Data received {"connection_id":163432,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:57:30] local.INFO: Processing buffer {"connection_id":163432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:57:30] local.INFO: Packet analysis {"connection_id":163432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:57:30] local.INFO: Extracted packet for processing {"connection_id":163432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:57:30] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600492800001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787502226000,"timestamp_ms":1787502226000,"timestamp_seconds":1787502226,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6f6a50"} 
[2026-08-23 21:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 21:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":163432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":163432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":163432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600492800001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600492800001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:57:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:57:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600492800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":163432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:57:30] local.INFO: GPS data processed {"connection_id":163432,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:57:30] local.INFO: Acknowledgment sent {"connection_id":163432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:57:33] local.INFO: TCP Data received {"connection_id":162028,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:57:33] local.INFO: Processing buffer {"connection_id":162028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:57:33] local.INFO: IMEI packet received {"connection_id":162028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":162028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:57:34] local.INFO: TCP Data received {"connection_id":162028,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:57:34] local.INFO: Processing buffer {"connection_id":162028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:57:34] local.INFO: Packet analysis {"connection_id":162028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:57:34] local.INFO: Extracted packet for processing {"connection_id":162028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:57:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600486656001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787502202000,"timestamp_ms":1787502202000,"timestamp_seconds":1787502202,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6f0c90"} 
[2026-08-23 21:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:57: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-08-23 21:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600486656001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600486656001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:57:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:57:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600486656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":162028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:57:34] local.INFO: GPS data processed {"connection_id":162028,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:57:34] local.INFO: Acknowledgment sent {"connection_id":162028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:57:45] local.INFO: TCP Data received {"connection_id":161075,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:57:45] local.INFO: Processing buffer {"connection_id":161075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:57:45] local.INFO: IMEI packet received {"connection_id":161075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":161075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:57:50] local.INFO: TCP Data received {"connection_id":161075,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:57:50] local.INFO: Processing buffer {"connection_id":161075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:57:50] local.INFO: IMEI packet received {"connection_id":161075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":161075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:57:52] local.INFO: TCP Data received {"connection_id":161075,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:57:52] local.INFO: Processing buffer {"connection_id":161075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:57:52] local.INFO: Packet analysis {"connection_id":161075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:57:52] local.INFO: Extracted packet for processing {"connection_id":161075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:57: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-08-23 21:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600492800001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787502226000,"timestamp_ms":1787502226000,"timestamp_seconds":1787502226,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6f6a50"} 
[2026-08-23 21:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:57: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-08-23 21:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 21:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:57: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-08-23 21:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600492800001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600492800001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:57:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600492800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":161075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:57:52] local.INFO: GPS data processed {"connection_id":161075,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:57:52] local.INFO: Acknowledgment sent {"connection_id":161075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:58:05] local.INFO: TCP Data received {"connection_id":162028,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:58:05] local.INFO: Processing buffer {"connection_id":162028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:58:05] local.INFO: Packet analysis {"connection_id":162028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:58:05] local.INFO: Extracted packet for processing {"connection_id":162028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600486656001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787502202000,"timestamp_ms":1787502202000,"timestamp_seconds":1787502202,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6f0c90"} 
[2026-08-23 21:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:58: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-08-23 21:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600486656001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600486656001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:58:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:58:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600486656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":162028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:58:05] local.INFO: GPS data processed {"connection_id":162028,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:58:05] local.INFO: Acknowledgment sent {"connection_id":162028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:58:23] local.INFO: TCP Data received {"connection_id":161075,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:58:23] local.INFO: Processing buffer {"connection_id":161075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:58:23] local.INFO: Packet analysis {"connection_id":161075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:58:23] local.INFO: Extracted packet for processing {"connection_id":161075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:58:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600492800001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787502226000,"timestamp_ms":1787502226000,"timestamp_seconds":1787502226,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6f6a50"} 
[2026-08-23 21:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:58: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-08-23 21:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 21:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600492800001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600492800001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:58:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:58:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600492800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":161075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:58:23] local.INFO: GPS data processed {"connection_id":161075,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:58:23] local.INFO: Acknowledgment sent {"connection_id":161075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:58:33] local.INFO: TCP Data received {"connection_id":162029,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:58:33] local.INFO: Processing buffer {"connection_id":162029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:58:33] local.INFO: IMEI packet received {"connection_id":162029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":162029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:58:38] local.INFO: TCP Data received {"connection_id":162029,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:58:38] local.INFO: Processing buffer {"connection_id":162029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:58:38] local.INFO: IMEI packet received {"connection_id":162029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":162029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:58:39] local.INFO: TCP Data received {"connection_id":162029,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:58:39] local.INFO: Processing buffer {"connection_id":162029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:58:39] local.INFO: Packet analysis {"connection_id":162029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:58:39] local.INFO: Extracted packet for processing {"connection_id":162029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:58:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600486656001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787502202000,"timestamp_ms":1787502202000,"timestamp_seconds":1787502202,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6f0c90"} 
[2026-08-23 21:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:58:39] 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-08-23 21:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":162029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":162029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":162029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600486656001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600486656001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:58:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:58:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600486656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":162029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:58:39] local.INFO: GPS data processed {"connection_id":162029,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:58:39] local.INFO: Acknowledgment sent {"connection_id":162029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:58:44] local.INFO: TCP Data received {"connection_id":162029,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:58:44] local.INFO: Processing buffer {"connection_id":162029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6f0c90012d196580071fef380048010e2a..."} 
[2026-08-23 21:58:44] local.INFO: Packet analysis {"connection_id":162029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:58:44] local.INFO: Extracted packet for processing {"connection_id":162029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:58:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600486656001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787502202000,"timestamp_ms":1787502202000,"timestamp_seconds":1787502202,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6f0c90"} 
[2026-08-23 21:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:58:44] 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-08-23 21:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 21:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600486656001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600486656001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:58:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:58:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600486656001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":162029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:58:44] local.INFO: GPS data processed {"connection_id":162029,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:58:44] local.INFO: Acknowledgment sent {"connection_id":162029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:58:45] local.INFO: TCP Data received {"connection_id":163433,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:58:45] local.INFO: Processing buffer {"connection_id":163433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:58:45] local.INFO: IMEI packet received {"connection_id":163433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":163433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:58:50] local.INFO: TCP Data received {"connection_id":163433,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:58:50] local.INFO: Processing buffer {"connection_id":163433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:58:50] local.INFO: IMEI packet received {"connection_id":163433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":163433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:58:51] local.INFO: TCP Data received {"connection_id":163433,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:58:51] local.INFO: Processing buffer {"connection_id":163433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:58:51] local.INFO: Packet analysis {"connection_id":163433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:58:51] local.INFO: Extracted packet for processing {"connection_id":163433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:58: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-08-23 21:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600492800001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787502226000,"timestamp_ms":1787502226000,"timestamp_seconds":1787502226,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6f6a50"} 
[2026-08-23 21:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:58: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-08-23 21:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 21:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:58:51] 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-08-23 21:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600492800001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600492800001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:58:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600492800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":163433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:58:51] local.INFO: GPS data processed {"connection_id":163433,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:58:51] local.INFO: Acknowledgment sent {"connection_id":163433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:59:22] local.INFO: TCP Data received {"connection_id":163433,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:59:22] local.INFO: Processing buffer {"connection_id":163433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f6f6a50012d34c58006aa40600010011426..."} 
[2026-08-23 21:59:22] local.INFO: Packet analysis {"connection_id":163433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:59:22] local.INFO: Extracted packet for processing {"connection_id":163433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f6f"} 
[2026-08-23 21:59:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":16,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600492800001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787502226000,"timestamp_ms":1787502226000,"timestamp_seconds":1787502226,"priority":1,"record_length":96,"hex_timestamp":"000001a02f6f6a50"} 
[2026-08-23 21:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:59: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-08-23 21:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-23 21:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:59:22] 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-08-23 21:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600492800001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600492800001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:59:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:59:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600492800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":163433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:59:22] local.INFO: GPS data processed {"connection_id":163433,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:59:22] local.INFO: Acknowledgment sent {"connection_id":163433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:59:28] local.INFO: TCP Data received {"connection_id":161076,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:59:28] local.INFO: Processing buffer {"connection_id":161076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:59:28] local.INFO: IMEI packet received {"connection_id":161076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 21:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":161076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:59:33] local.INFO: TCP Data received {"connection_id":161076,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:59:33] local.INFO: Processing buffer {"connection_id":161076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 21:59:33] local.INFO: IMEI packet received {"connection_id":161076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 21:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":161076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:59:34] local.INFO: TCP Data received {"connection_id":161076,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 21:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 21:59:34] local.INFO: Processing buffer {"connection_id":161076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 21:59:34] local.INFO: Packet analysis {"connection_id":161076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f73"} 
[2026-08-23 21:59:34] local.INFO: Extracted packet for processing {"connection_id":161076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f73"} 
[2026-08-23 21:59:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 21:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600563712001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 21:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 21:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787502503000,"timestamp_ms":1787502503000,"timestamp_seconds":1787502503,"priority":1,"record_length":96,"hex_timestamp":"000001a02f73a458"} 
[2026-08-23 21:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 21:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 21:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 21:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 21:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600563712001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 21:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 21:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 21:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600563712001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:59:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 21:59:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 21:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 21:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600563712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 21:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":161076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:59:34] local.INFO: GPS data processed {"connection_id":161076,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:59:34] local.INFO: Acknowledgment sent {"connection_id":161076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 21:59:50] local.INFO: TCP Data received {"connection_id":162030,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:59:50] local.INFO: Processing buffer {"connection_id":162030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:59:50] local.INFO: IMEI packet received {"connection_id":162030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 21:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":162030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 21:59:55] local.INFO: TCP Data received {"connection_id":162030,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:59:55] local.INFO: Processing buffer {"connection_id":162030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 21:59:55] local.INFO: IMEI packet received {"connection_id":162030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 21:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":162030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 21:59:56] local.INFO: TCP Data received {"connection_id":162030,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 21:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 21:59:56] local.INFO: Processing buffer {"connection_id":162030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 21:59:56] local.INFO: Packet analysis {"connection_id":162030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f74"} 
[2026-08-23 21:59:56] local.INFO: Extracted packet for processing {"connection_id":162030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f74"} 
[2026-08-23 21:59:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 21:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 21:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600569856001,"note":"Value kept but may cause issues"} 
[2026-08-23 21:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 21:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 21:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 21:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787502527000,"timestamp_ms":1787502527000,"timestamp_seconds":1787502527,"priority":1,"record_length":96,"hex_timestamp":"000001a02f740218"} 
[2026-08-23 21:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 21:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 21:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 21:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 21:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 21:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 21:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 21:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 21:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 21:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 21:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 21:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 21:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600569856001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 21:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 21:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 21:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600569856001,"description":"Unknown IO ID 0"} 
[2026-08-23 21:59:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 21:59:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 21:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 21:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 21:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600569856001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 21:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":162030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 21:59:56] local.INFO: GPS data processed {"connection_id":162030,"processed":1,"errors":0,"total":1} 
[2026-08-23 21:59:56] local.INFO: Acknowledgment sent {"connection_id":162030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:00:05] local.INFO: TCP Data received {"connection_id":161076,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:00:05] local.INFO: Processing buffer {"connection_id":161076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:00:05] local.INFO: Packet analysis {"connection_id":161076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f73"} 
[2026-08-23 22:00:05] local.INFO: Extracted packet for processing {"connection_id":161076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f73"} 
[2026-08-23 22:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600563712001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787502503000,"timestamp_ms":1787502503000,"timestamp_seconds":1787502503,"priority":1,"record_length":96,"hex_timestamp":"000001a02f73a458"} 
[2026-08-23 22:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600563712001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600563712001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:00:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:00:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600563712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":161076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:00:06] local.INFO: GPS data processed {"connection_id":161076,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:00:06] local.INFO: Acknowledgment sent {"connection_id":161076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:00:27] local.INFO: TCP Data received {"connection_id":162030,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:00:27] local.INFO: Processing buffer {"connection_id":162030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:00:27] local.INFO: Packet analysis {"connection_id":162030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f74"} 
[2026-08-23 22:00:27] local.INFO: Extracted packet for processing {"connection_id":162030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f74"} 
[2026-08-23 22:00:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600569856001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787502527000,"timestamp_ms":1787502527000,"timestamp_seconds":1787502527,"priority":1,"record_length":96,"hex_timestamp":"000001a02f740218"} 
[2026-08-23 22:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 22:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600569856001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600569856001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:00:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:00:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600569856001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":162030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:00:27] local.INFO: GPS data processed {"connection_id":162030,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:00:27] local.INFO: Acknowledgment sent {"connection_id":162030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:00:28] local.INFO: TCP Data received {"connection_id":163434,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:00:28] local.INFO: Processing buffer {"connection_id":163434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:00:28] local.INFO: IMEI packet received {"connection_id":163434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":163434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:00:33] local.INFO: TCP Data received {"connection_id":163434,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:00:33] local.INFO: Processing buffer {"connection_id":163434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:00:33] local.INFO: IMEI packet received {"connection_id":163434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":163434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:00:34] local.INFO: TCP Data received {"connection_id":163434,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:00:34] local.INFO: Processing buffer {"connection_id":163434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:00:34] local.INFO: Packet analysis {"connection_id":163434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f73"} 
[2026-08-23 22:00:34] local.INFO: Extracted packet for processing {"connection_id":163434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f73"} 
[2026-08-23 22:00:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600563712001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787502503000,"timestamp_ms":1787502503000,"timestamp_seconds":1787502503,"priority":1,"record_length":96,"hex_timestamp":"000001a02f73a458"} 
[2026-08-23 22:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600563712001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600563712001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:00:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:00:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600563712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":163434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:00:34] local.INFO: GPS data processed {"connection_id":163434,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:00:34] local.INFO: Acknowledgment sent {"connection_id":163434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:00:45] local.INFO: TCP Data received {"connection_id":161077,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:00:45] local.INFO: Processing buffer {"connection_id":161077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:00:45] local.INFO: IMEI packet received {"connection_id":161077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":161077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:00:50] local.INFO: TCP Data received {"connection_id":161077,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:00:50] local.INFO: Processing buffer {"connection_id":161077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:00:50] local.INFO: IMEI packet received {"connection_id":161077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":161077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:00:51] local.INFO: TCP Data received {"connection_id":161077,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:00:51] local.INFO: Processing buffer {"connection_id":161077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:00:51] local.INFO: Packet analysis {"connection_id":161077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f74"} 
[2026-08-23 22:00:51] local.INFO: Extracted packet for processing {"connection_id":161077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f74"} 
[2026-08-23 22:00:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600569856001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787502527000,"timestamp_ms":1787502527000,"timestamp_seconds":1787502527,"priority":1,"record_length":96,"hex_timestamp":"000001a02f740218"} 
[2026-08-23 22:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 22:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600569856001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600569856001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:00:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:00:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600569856001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":161077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:00:51] local.INFO: GPS data processed {"connection_id":161077,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:00:51] local.INFO: Acknowledgment sent {"connection_id":161077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:01:05] local.INFO: TCP Data received {"connection_id":163434,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:01:05] local.INFO: Processing buffer {"connection_id":163434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:01:05] local.INFO: Packet analysis {"connection_id":163434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f73"} 
[2026-08-23 22:01:05] local.INFO: Extracted packet for processing {"connection_id":163434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f73"} 
[2026-08-23 22:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600563712001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787502503000,"timestamp_ms":1787502503000,"timestamp_seconds":1787502503,"priority":1,"record_length":96,"hex_timestamp":"000001a02f73a458"} 
[2026-08-23 22:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600563712001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600563712001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:01:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600563712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":163434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:01:06] local.INFO: GPS data processed {"connection_id":163434,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:01:06] local.INFO: Acknowledgment sent {"connection_id":163434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:01:22] local.INFO: TCP Data received {"connection_id":161077,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:01:22] local.INFO: Processing buffer {"connection_id":161077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:01:22] local.INFO: Packet analysis {"connection_id":161077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f74"} 
[2026-08-23 22:01:22] local.INFO: Extracted packet for processing {"connection_id":161077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f74"} 
[2026-08-23 22:01:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600569856001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787502527000,"timestamp_ms":1787502527000,"timestamp_seconds":1787502527,"priority":1,"record_length":96,"hex_timestamp":"000001a02f740218"} 
[2026-08-23 22:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:01: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-08-23 22:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 22:01: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-08-23 22:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600569856001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600569856001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:01:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:01:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600569856001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":161077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:01:22] local.INFO: GPS data processed {"connection_id":161077,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:01:22] local.INFO: Acknowledgment sent {"connection_id":161077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:01:28] local.INFO: TCP Data received {"connection_id":161078,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:01:28] local.INFO: Processing buffer {"connection_id":161078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:01:28] local.INFO: IMEI packet received {"connection_id":161078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":161078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:01:33] local.INFO: TCP Data received {"connection_id":161078,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:01:33] local.INFO: Processing buffer {"connection_id":161078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:01:33] local.INFO: IMEI packet received {"connection_id":161078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":161078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:01:34] local.INFO: TCP Data received {"connection_id":161078,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:01:34] local.INFO: Processing buffer {"connection_id":161078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:01:34] local.INFO: Packet analysis {"connection_id":161078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f73"} 
[2026-08-23 22:01:34] local.INFO: Extracted packet for processing {"connection_id":161078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f73"} 
[2026-08-23 22:01:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600563712001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787502503000,"timestamp_ms":1787502503000,"timestamp_seconds":1787502503,"priority":1,"record_length":96,"hex_timestamp":"000001a02f73a458"} 
[2026-08-23 22:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600563712001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600563712001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:01:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:01:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600563712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":161078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:01:34] local.INFO: GPS data processed {"connection_id":161078,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:01:34] local.INFO: Acknowledgment sent {"connection_id":161078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:01:45] local.INFO: TCP Data received {"connection_id":162031,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:01:45] local.INFO: Processing buffer {"connection_id":162031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:01:45] local.INFO: IMEI packet received {"connection_id":162031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":162031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:01:51] local.INFO: TCP Data received {"connection_id":162031,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:01:51] local.INFO: Processing buffer {"connection_id":162031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:01:51] local.INFO: IMEI packet received {"connection_id":162031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":162031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:01:51] local.INFO: TCP Data received {"connection_id":162031,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:01:51] local.INFO: Processing buffer {"connection_id":162031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:01:51] local.INFO: Packet analysis {"connection_id":162031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f74"} 
[2026-08-23 22:01:51] local.INFO: Extracted packet for processing {"connection_id":162031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f74"} 
[2026-08-23 22:01:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600569856001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787502527000,"timestamp_ms":1787502527000,"timestamp_seconds":1787502527,"priority":1,"record_length":96,"hex_timestamp":"000001a02f740218"} 
[2026-08-23 22:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22: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-08-23 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 22:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600569856001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600569856001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:01:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:01:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600569856001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":162031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:01:52] local.INFO: GPS data processed {"connection_id":162031,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:01:52] local.INFO: Acknowledgment sent {"connection_id":162031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:02:05] local.INFO: TCP Data received {"connection_id":161078,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:02:05] local.INFO: Processing buffer {"connection_id":161078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:02:05] local.INFO: Packet analysis {"connection_id":161078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f73"} 
[2026-08-23 22:02:05] local.INFO: Extracted packet for processing {"connection_id":161078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f73"} 
[2026-08-23 22:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600563712001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787502503000,"timestamp_ms":1787502503000,"timestamp_seconds":1787502503,"priority":1,"record_length":96,"hex_timestamp":"000001a02f73a458"} 
[2026-08-23 22:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600563712001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600563712001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:02:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:02:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600563712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":161078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:02:05] local.INFO: GPS data processed {"connection_id":161078,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:02:05] local.INFO: Acknowledgment sent {"connection_id":161078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:02:23] local.INFO: TCP Data received {"connection_id":162031,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:02:23] local.INFO: Processing buffer {"connection_id":162031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:02:23] local.INFO: Packet analysis {"connection_id":162031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f74"} 
[2026-08-23 22:02:23] local.INFO: Extracted packet for processing {"connection_id":162031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f74"} 
[2026-08-23 22:02:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600569856001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787502527000,"timestamp_ms":1787502527000,"timestamp_seconds":1787502527,"priority":1,"record_length":96,"hex_timestamp":"000001a02f740218"} 
[2026-08-23 22:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:02: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-08-23 22:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 22:02: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-08-23 22:02:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600569856001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600569856001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:02:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:02:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600569856001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":162031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:02:23] local.INFO: GPS data processed {"connection_id":162031,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:02:23] local.INFO: Acknowledgment sent {"connection_id":162031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:02:33] local.INFO: TCP Data received {"connection_id":161079,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:02:33] local.INFO: Processing buffer {"connection_id":161079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:02:33] local.INFO: IMEI packet received {"connection_id":161079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":161079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:02:38] local.INFO: TCP Data received {"connection_id":161079,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:02:38] local.INFO: Processing buffer {"connection_id":161079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:02:38] local.INFO: IMEI packet received {"connection_id":161079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":161079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:02:40] local.INFO: TCP Data received {"connection_id":161079,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:02:40] local.INFO: Processing buffer {"connection_id":161079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:02:40] local.INFO: Packet analysis {"connection_id":161079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f73"} 
[2026-08-23 22:02:40] local.INFO: Extracted packet for processing {"connection_id":161079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f73"} 
[2026-08-23 22:02:40] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600563712001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787502503000,"timestamp_ms":1787502503000,"timestamp_seconds":1787502503,"priority":1,"record_length":96,"hex_timestamp":"000001a02f73a458"} 
[2026-08-23 22:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600563712001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600563712001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:02:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:02:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600563712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":161079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:02:40] local.INFO: GPS data processed {"connection_id":161079,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:02:40] local.INFO: Acknowledgment sent {"connection_id":161079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:02:44] local.INFO: TCP Data received {"connection_id":161079,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:02:44] local.INFO: Processing buffer {"connection_id":161079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:02:44] local.INFO: Packet analysis {"connection_id":161079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f73"} 
[2026-08-23 22:02:44] local.INFO: Extracted packet for processing {"connection_id":161079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f73"} 
[2026-08-23 22:02:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600563712001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787502503000,"timestamp_ms":1787502503000,"timestamp_seconds":1787502503,"priority":1,"record_length":96,"hex_timestamp":"000001a02f73a458"} 
[2026-08-23 22:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:02:44] 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-08-23 22:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600563712001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600563712001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:02:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:02:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600563712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":161079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:02:44] local.INFO: GPS data processed {"connection_id":161079,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:02:44] local.INFO: Acknowledgment sent {"connection_id":161079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:02:45] local.INFO: TCP Data received {"connection_id":161080,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:02:45] local.INFO: Processing buffer {"connection_id":161080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:02:45] local.INFO: IMEI packet received {"connection_id":161080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":161080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:02:50] local.INFO: TCP Data received {"connection_id":161080,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:02:50] local.INFO: Processing buffer {"connection_id":161080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:02:50] local.INFO: IMEI packet received {"connection_id":161080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":161080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:02:51] local.INFO: TCP Data received {"connection_id":161080,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:02:51] local.INFO: Processing buffer {"connection_id":161080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:02:51] local.INFO: Packet analysis {"connection_id":161080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f74"} 
[2026-08-23 22:02:51] local.INFO: Extracted packet for processing {"connection_id":161080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f74"} 
[2026-08-23 22:02:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600569856001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787502527000,"timestamp_ms":1787502527000,"timestamp_seconds":1787502527,"priority":1,"record_length":96,"hex_timestamp":"000001a02f740218"} 
[2026-08-23 22:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:02: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-08-23 22:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 22:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600569856001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600569856001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:02:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:02:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600569856001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":161080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:02:51] local.INFO: GPS data processed {"connection_id":161080,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:02:51] local.INFO: Acknowledgment sent {"connection_id":161080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:03:22] local.INFO: TCP Data received {"connection_id":161080,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:03:22] local.INFO: Processing buffer {"connection_id":161080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:03:22] local.INFO: Packet analysis {"connection_id":161080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f74"} 
[2026-08-23 22:03:22] local.INFO: Extracted packet for processing {"connection_id":161080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f74"} 
[2026-08-23 22:03:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600569856001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787502527000,"timestamp_ms":1787502527000,"timestamp_seconds":1787502527,"priority":1,"record_length":96,"hex_timestamp":"000001a02f740218"} 
[2026-08-23 22:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:03: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-08-23 22:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 22:03: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-08-23 22:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600569856001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600569856001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:03:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:03:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600569856001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":161080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:03:22] local.INFO: GPS data processed {"connection_id":161080,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:03:22] local.INFO: Acknowledgment sent {"connection_id":161080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:03:28] local.INFO: TCP Data received {"connection_id":160840,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:03:28] local.INFO: Processing buffer {"connection_id":160840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:03:28] local.INFO: IMEI packet received {"connection_id":160840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":160840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:03:33] local.INFO: TCP Data received {"connection_id":160840,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:03:33] local.INFO: Processing buffer {"connection_id":160840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:03:33] local.INFO: IMEI packet received {"connection_id":160840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":160840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:03:34] local.INFO: TCP Data received {"connection_id":160840,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:03:34] local.INFO: Processing buffer {"connection_id":160840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f73a458012d196580071fef380048010e2d..."} 
[2026-08-23 22:03:34] local.INFO: Packet analysis {"connection_id":160840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f73"} 
[2026-08-23 22:03:34] local.INFO: Extracted packet for processing {"connection_id":160840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f73"} 
[2026-08-23 22:03:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600563712001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787502503000,"timestamp_ms":1787502503000,"timestamp_seconds":1787502503,"priority":1,"record_length":96,"hex_timestamp":"000001a02f73a458"} 
[2026-08-23 22:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600563712001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600563712001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:03:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:03:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600563712001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":160840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:03:34] local.INFO: GPS data processed {"connection_id":160840,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:03:34] local.INFO: Acknowledgment sent {"connection_id":160840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:03:45] local.INFO: TCP Data received {"connection_id":160841,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:03:45] local.INFO: Processing buffer {"connection_id":160841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:03:45] local.INFO: IMEI packet received {"connection_id":160841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":160841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:03:50] local.INFO: TCP Data received {"connection_id":160841,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:03:50] local.INFO: Processing buffer {"connection_id":160841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:03:50] local.INFO: IMEI packet received {"connection_id":160841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":160841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:03:51] local.INFO: TCP Data received {"connection_id":160841,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:03:51] local.INFO: Processing buffer {"connection_id":160841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:03:51] local.INFO: Packet analysis {"connection_id":160841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f74"} 
[2026-08-23 22:03:51] local.INFO: Extracted packet for processing {"connection_id":160841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f74"} 
[2026-08-23 22:03:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600569856001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787502527000,"timestamp_ms":1787502527000,"timestamp_seconds":1787502527,"priority":1,"record_length":96,"hex_timestamp":"000001a02f740218"} 
[2026-08-23 22:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:03: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-08-23 22:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 22:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600569856001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600569856001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:03:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:03:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600569856001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":160841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:03:51] local.INFO: GPS data processed {"connection_id":160841,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:03:51] local.INFO: Acknowledgment sent {"connection_id":160841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:04:05] local.INFO: TCP Data received {"connection_id":160840,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:04:05] local.INFO: Processing buffer {"connection_id":160840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:04:05] local.INFO: Packet analysis {"connection_id":160840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:04:05] local.INFO: Extracted packet for processing {"connection_id":160840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:04:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600640768001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787502804000,"timestamp_ms":1787502804000,"timestamp_seconds":1787502804,"priority":1,"record_length":96,"hex_timestamp":"000001a02f783c20"} 
[2026-08-23 22:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:04: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-08-23 22:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 22:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600640768001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600640768001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:04:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:04:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600640768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":160840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:04:05] local.INFO: GPS data processed {"connection_id":160840,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:04:05] local.INFO: Acknowledgment sent {"connection_id":160840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:04:22] local.INFO: TCP Data received {"connection_id":160841,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:04:22] local.INFO: Processing buffer {"connection_id":160841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f740218012d34c58006aa4060000a011428..."} 
[2026-08-23 22:04:22] local.INFO: Packet analysis {"connection_id":160841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f74"} 
[2026-08-23 22:04:22] local.INFO: Extracted packet for processing {"connection_id":160841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f74"} 
[2026-08-23 22:04:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600569856001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787502527000,"timestamp_ms":1787502527000,"timestamp_seconds":1787502527,"priority":1,"record_length":96,"hex_timestamp":"000001a02f740218"} 
[2026-08-23 22:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:04: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-08-23 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 22:04: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-08-23 22: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-08-23 22:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600569856001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600569856001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:04:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:04:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600569856001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":160841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:04:22] local.INFO: GPS data processed {"connection_id":160841,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:04:22] local.INFO: Acknowledgment sent {"connection_id":160841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:04:30] local.INFO: TCP Data received {"connection_id":163435,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:04:30] local.INFO: Processing buffer {"connection_id":163435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:04:30] local.INFO: IMEI packet received {"connection_id":163435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":163435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:04:33] local.INFO: TCP Data received {"connection_id":163435,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:04:33] local.INFO: Processing buffer {"connection_id":163435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:04:33] local.INFO: IMEI packet received {"connection_id":163435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":163435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:04:34] local.INFO: TCP Data received {"connection_id":163435,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:04:34] local.INFO: Processing buffer {"connection_id":163435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:04:34] local.INFO: Packet analysis {"connection_id":163435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:04:34] local.INFO: Extracted packet for processing {"connection_id":163435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:04:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600640768001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787502804000,"timestamp_ms":1787502804000,"timestamp_seconds":1787502804,"priority":1,"record_length":96,"hex_timestamp":"000001a02f783c20"} 
[2026-08-23 22:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:04: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-08-23 22:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 22:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600640768001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600640768001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:04:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:04:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600640768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":163435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:04:34] local.INFO: GPS data processed {"connection_id":163435,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:04:34] local.INFO: Acknowledgment sent {"connection_id":163435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:04:45] local.INFO: TCP Data received {"connection_id":162032,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:04:45] local.INFO: Processing buffer {"connection_id":162032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:04:45] local.INFO: IMEI packet received {"connection_id":162032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":162032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:04:50] local.INFO: TCP Data received {"connection_id":162032,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:04:50] local.INFO: Processing buffer {"connection_id":162032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:04:50] local.INFO: IMEI packet received {"connection_id":162032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":162032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:04:51] local.INFO: TCP Data received {"connection_id":162032,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:04:51] local.INFO: Processing buffer {"connection_id":162032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:04:51] local.INFO: Packet analysis {"connection_id":162032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:04:51] local.INFO: Extracted packet for processing {"connection_id":162032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:04:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600646912001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787502828000,"timestamp_ms":1787502828000,"timestamp_seconds":1787502828,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7899e0"} 
[2026-08-23 22:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:04: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-08-23 22:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600646912001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600646912001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:04:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:04:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600646912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":162032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:04:51] local.INFO: GPS data processed {"connection_id":162032,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:04:51] local.INFO: Acknowledgment sent {"connection_id":162032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:04:55] local.INFO: TCP Data received {"connection_id":162032,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:04:55] local.INFO: Processing buffer {"connection_id":162032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:04:55] local.INFO: Packet analysis {"connection_id":162032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:04:55] local.INFO: Extracted packet for processing {"connection_id":162032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:04:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600646912001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787502828000,"timestamp_ms":1787502828000,"timestamp_seconds":1787502828,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7899e0"} 
[2026-08-23 22:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600646912001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600646912001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:04:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:04:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600646912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":162032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:04:55] local.INFO: GPS data processed {"connection_id":162032,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:04:55] local.INFO: Acknowledgment sent {"connection_id":162032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:05:08] local.INFO: TCP Data received {"connection_id":163435,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:05:08] local.INFO: Processing buffer {"connection_id":163435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:05:08] local.INFO: Packet analysis {"connection_id":163435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:05:08] local.INFO: Extracted packet for processing {"connection_id":163435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:05:08] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600640768001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787502804000,"timestamp_ms":1787502804000,"timestamp_seconds":1787502804,"priority":1,"record_length":96,"hex_timestamp":"000001a02f783c20"} 
[2026-08-23 22:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:05:08] 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-08-23 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 22:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600640768001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600640768001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:05:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:05:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600640768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":163435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:05:08] local.INFO: GPS data processed {"connection_id":163435,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:05:08] local.INFO: Acknowledgment sent {"connection_id":163435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:05:27] local.INFO: TCP Data received {"connection_id":162032,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:05:27] local.INFO: Processing buffer {"connection_id":162032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:05:27] local.INFO: Packet analysis {"connection_id":162032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:05:27] local.INFO: Extracted packet for processing {"connection_id":162032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:05:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600646912001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787502828000,"timestamp_ms":1787502828000,"timestamp_seconds":1787502828,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7899e0"} 
[2026-08-23 22:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600646912001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600646912001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:05:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:05:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600646912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":162032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:05:27] local.INFO: GPS data processed {"connection_id":162032,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:05:27] local.INFO: Acknowledgment sent {"connection_id":162032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:05:28] local.INFO: TCP Data received {"connection_id":160842,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:05:28] local.INFO: Processing buffer {"connection_id":160842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:05:28] local.INFO: IMEI packet received {"connection_id":160842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":160842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:05:33] local.INFO: TCP Data received {"connection_id":160842,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:05:33] local.INFO: Processing buffer {"connection_id":160842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:05:33] local.INFO: IMEI packet received {"connection_id":160842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":160842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:05:34] local.INFO: TCP Data received {"connection_id":160842,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:05:34] local.INFO: Processing buffer {"connection_id":160842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:05:34] local.INFO: Packet analysis {"connection_id":160842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:05:34] local.INFO: Extracted packet for processing {"connection_id":160842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:05:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600640768001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787502804000,"timestamp_ms":1787502804000,"timestamp_seconds":1787502804,"priority":1,"record_length":96,"hex_timestamp":"000001a02f783c20"} 
[2026-08-23 22:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:05: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-08-23 22:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 22:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600640768001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600640768001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:05:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:05:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600640768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":160842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:05:34] local.INFO: GPS data processed {"connection_id":160842,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:05:34] local.INFO: Acknowledgment sent {"connection_id":160842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:05:45] local.INFO: TCP Data received {"connection_id":163436,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:05:45] local.INFO: Processing buffer {"connection_id":163436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:05:45] local.INFO: IMEI packet received {"connection_id":163436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":163436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:05:50] local.INFO: TCP Data received {"connection_id":163436,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:05:50] local.INFO: Processing buffer {"connection_id":163436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:05:50] local.INFO: IMEI packet received {"connection_id":163436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":163436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:05:51] local.INFO: TCP Data received {"connection_id":163436,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:05:51] local.INFO: Processing buffer {"connection_id":163436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:05:51] local.INFO: Packet analysis {"connection_id":163436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:05:51] local.INFO: Extracted packet for processing {"connection_id":163436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:05:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600646912001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787502828000,"timestamp_ms":1787502828000,"timestamp_seconds":1787502828,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7899e0"} 
[2026-08-23 22:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:05: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-08-23 22:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600646912001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600646912001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:05:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:05:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600646912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":163436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:05:51] local.INFO: GPS data processed {"connection_id":163436,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:05:51] local.INFO: Acknowledgment sent {"connection_id":163436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:06:06] local.INFO: TCP Data received {"connection_id":160842,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:06:06] local.INFO: Processing buffer {"connection_id":160842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:06:06] local.INFO: Packet analysis {"connection_id":160842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:06:06] local.INFO: Extracted packet for processing {"connection_id":160842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600640768001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787502804000,"timestamp_ms":1787502804000,"timestamp_seconds":1787502804,"priority":1,"record_length":96,"hex_timestamp":"000001a02f783c20"} 
[2026-08-23 22:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:06:06] 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-08-23 22:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 22:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600640768001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600640768001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:06:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600640768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":160842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:06:06] local.INFO: GPS data processed {"connection_id":160842,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:06:06] local.INFO: Acknowledgment sent {"connection_id":160842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:06:22] local.INFO: TCP Data received {"connection_id":163436,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:06:22] local.INFO: Processing buffer {"connection_id":163436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:06:22] local.INFO: Packet analysis {"connection_id":163436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:06:22] local.INFO: Extracted packet for processing {"connection_id":163436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:06:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600646912001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787502828000,"timestamp_ms":1787502828000,"timestamp_seconds":1787502828,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7899e0"} 
[2026-08-23 22:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:06: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-08-23 22:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600646912001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600646912001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:06:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:06:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600646912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":163436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:06:22] local.INFO: GPS data processed {"connection_id":163436,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:06:22] local.INFO: Acknowledgment sent {"connection_id":163436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:06:28] local.INFO: TCP Data received {"connection_id":160843,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:06:28] local.INFO: Processing buffer {"connection_id":160843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:06:28] local.INFO: IMEI packet received {"connection_id":160843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":160843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:06:33] local.INFO: TCP Data received {"connection_id":160843,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:06:33] local.INFO: Processing buffer {"connection_id":160843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:06:33] local.INFO: IMEI packet received {"connection_id":160843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":160843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:06:34] local.INFO: TCP Data received {"connection_id":160843,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:06:34] local.INFO: Processing buffer {"connection_id":160843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:06:34] local.INFO: Packet analysis {"connection_id":160843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:06:34] local.INFO: Extracted packet for processing {"connection_id":160843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:06:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600640768001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787502804000,"timestamp_ms":1787502804000,"timestamp_seconds":1787502804,"priority":1,"record_length":96,"hex_timestamp":"000001a02f783c20"} 
[2026-08-23 22:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:06: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-08-23 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 22:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600640768001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600640768001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:06:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:06:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600640768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":160843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:06:34] local.INFO: GPS data processed {"connection_id":160843,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:06:34] local.INFO: Acknowledgment sent {"connection_id":160843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:06:45] local.INFO: TCP Data received {"connection_id":163437,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:06:45] local.INFO: Processing buffer {"connection_id":163437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:06:45] local.INFO: IMEI packet received {"connection_id":163437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":163437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:06:50] local.INFO: TCP Data received {"connection_id":163437,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:06:50] local.INFO: Processing buffer {"connection_id":163437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:06:50] local.INFO: IMEI packet received {"connection_id":163437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":163437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:06:51] local.INFO: TCP Data received {"connection_id":163437,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:06:51] local.INFO: Processing buffer {"connection_id":163437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:06:51] local.INFO: Packet analysis {"connection_id":163437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:06:51] local.INFO: Extracted packet for processing {"connection_id":163437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:06:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600646912001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787502828000,"timestamp_ms":1787502828000,"timestamp_seconds":1787502828,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7899e0"} 
[2026-08-23 22:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:06: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-08-23 22:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600646912001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600646912001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:06:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:06:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600646912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":163437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:06:51] local.INFO: GPS data processed {"connection_id":163437,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:06:51] local.INFO: Acknowledgment sent {"connection_id":163437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:07:05] local.INFO: TCP Data received {"connection_id":160843,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:07:05] local.INFO: Processing buffer {"connection_id":160843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:07:05] local.INFO: Packet analysis {"connection_id":160843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:07:05] local.INFO: Extracted packet for processing {"connection_id":160843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600640768001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787502804000,"timestamp_ms":1787502804000,"timestamp_seconds":1787502804,"priority":1,"record_length":96,"hex_timestamp":"000001a02f783c20"} 
[2026-08-23 22:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:07: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-08-23 22:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 22:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600640768001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600640768001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:07:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:07:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600640768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":160843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:07:06] local.INFO: GPS data processed {"connection_id":160843,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:07:06] local.INFO: Acknowledgment sent {"connection_id":160843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:07:22] local.INFO: TCP Data received {"connection_id":163437,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:07:22] local.INFO: Processing buffer {"connection_id":163437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:07:22] local.INFO: Packet analysis {"connection_id":163437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:07:22] local.INFO: Extracted packet for processing {"connection_id":163437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:07:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600646912001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787502828000,"timestamp_ms":1787502828000,"timestamp_seconds":1787502828,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7899e0"} 
[2026-08-23 22:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:07: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-08-23 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600646912001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600646912001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:07:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:07:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600646912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":163437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:07:22] local.INFO: GPS data processed {"connection_id":163437,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:07:22] local.INFO: Acknowledgment sent {"connection_id":163437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:07:33] local.INFO: TCP Data received {"connection_id":162033,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:07:33] local.INFO: Processing buffer {"connection_id":162033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:07:33] local.INFO: IMEI packet received {"connection_id":162033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":162033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:07:38] local.INFO: TCP Data received {"connection_id":162033,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:07:38] local.INFO: Processing buffer {"connection_id":162033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:07:38] local.INFO: IMEI packet received {"connection_id":162033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":162033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:07:45] local.INFO: TCP Data received {"connection_id":160844,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:07:45] local.INFO: Processing buffer {"connection_id":160844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:07:45] local.INFO: IMEI packet received {"connection_id":160844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":160844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:07:50] local.INFO: TCP Data received {"connection_id":160844,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:07:50] local.INFO: Processing buffer {"connection_id":160844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:07:50] local.INFO: IMEI packet received {"connection_id":160844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":160844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:07:51] local.INFO: TCP Data received {"connection_id":160844,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:07:51] local.INFO: Processing buffer {"connection_id":160844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:07:51] local.INFO: Packet analysis {"connection_id":160844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:07:51] local.INFO: Extracted packet for processing {"connection_id":160844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:07:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600646912001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787502828000,"timestamp_ms":1787502828000,"timestamp_seconds":1787502828,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7899e0"} 
[2026-08-23 22:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:07: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-08-23 22:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600646912001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600646912001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:07:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:07:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600646912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":160844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:07:51] local.INFO: GPS data processed {"connection_id":160844,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:07:51] local.INFO: Acknowledgment sent {"connection_id":160844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:07:51] local.INFO: TCP Data received {"connection_id":162033,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:07:51] local.INFO: Processing buffer {"connection_id":162033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:07:51] local.INFO: Packet analysis {"connection_id":162033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:07:51] local.INFO: Extracted packet for processing {"connection_id":162033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:07:51] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600640768001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787502804000,"timestamp_ms":1787502804000,"timestamp_seconds":1787502804,"priority":1,"record_length":96,"hex_timestamp":"000001a02f783c20"} 
[2026-08-23 22:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 22:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600640768001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600640768001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:07:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:07:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600640768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":162033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:07:51] local.INFO: GPS data processed {"connection_id":162033,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:07:51] local.INFO: Acknowledgment sent {"connection_id":162033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:07:52] local.INFO: TCP Data received {"connection_id":162033,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:07:52] local.INFO: Processing buffer {"connection_id":162033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:07:52] local.INFO: Packet analysis {"connection_id":162033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:07:52] local.INFO: Extracted packet for processing {"connection_id":162033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:07:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600640768001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787502804000,"timestamp_ms":1787502804000,"timestamp_seconds":1787502804,"priority":1,"record_length":96,"hex_timestamp":"000001a02f783c20"} 
[2026-08-23 22:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 22:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600640768001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600640768001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:07:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:07:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600640768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":162033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:07:52] local.INFO: GPS data processed {"connection_id":162033,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:07:52] local.INFO: Acknowledgment sent {"connection_id":162033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:08:23] local.INFO: TCP Data received {"connection_id":160844,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:08:23] local.INFO: Processing buffer {"connection_id":160844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:08:23] local.INFO: Packet analysis {"connection_id":160844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:08:23] local.INFO: Extracted packet for processing {"connection_id":160844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:08:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600646912001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787502828000,"timestamp_ms":1787502828000,"timestamp_seconds":1787502828,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7899e0"} 
[2026-08-23 22:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:08: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-08-23 22:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:08:23] 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-08-23 22:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600646912001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600646912001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:08:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:08:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600646912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":160844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:08:23] local.INFO: GPS data processed {"connection_id":160844,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:08:23] local.INFO: Acknowledgment sent {"connection_id":160844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:08:28] local.INFO: TCP Data received {"connection_id":162034,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:08:28] local.INFO: Processing buffer {"connection_id":162034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:08:28] local.INFO: IMEI packet received {"connection_id":162034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":162034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:08:33] local.INFO: TCP Data received {"connection_id":162034,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:08:33] local.INFO: Processing buffer {"connection_id":162034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:08:33] local.INFO: IMEI packet received {"connection_id":162034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":162034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:08:34] local.INFO: TCP Data received {"connection_id":162034,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:08:34] local.INFO: Processing buffer {"connection_id":162034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f783c20012d196580071fef380048010e27..."} 
[2026-08-23 22:08:34] local.INFO: Packet analysis {"connection_id":162034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:08:34] local.INFO: Extracted packet for processing {"connection_id":162034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:08:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":72,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600640768001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787502804000,"timestamp_ms":1787502804000,"timestamp_seconds":1787502804,"priority":1,"record_length":96,"hex_timestamp":"000001a02f783c20"} 
[2026-08-23 22:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:08: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-08-23 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 22:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600640768001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600640768001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:08:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:08:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600640768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":162034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:08:34] local.INFO: GPS data processed {"connection_id":162034,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:08:34] local.INFO: Acknowledgment sent {"connection_id":162034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:08:45] local.INFO: TCP Data received {"connection_id":161081,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:08:45] local.INFO: Processing buffer {"connection_id":161081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:08:45] local.INFO: IMEI packet received {"connection_id":161081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":161081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:08:50] local.INFO: TCP Data received {"connection_id":161081,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:08:50] local.INFO: Processing buffer {"connection_id":161081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:08:50] local.INFO: IMEI packet received {"connection_id":161081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":161081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:08:51] local.INFO: TCP Data received {"connection_id":161081,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:08:51] local.INFO: Processing buffer {"connection_id":161081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:08:51] local.INFO: Packet analysis {"connection_id":161081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:08:51] local.INFO: Extracted packet for processing {"connection_id":161081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:08:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600646912001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787502828000,"timestamp_ms":1787502828000,"timestamp_seconds":1787502828,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7899e0"} 
[2026-08-23 22:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:08: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-08-23 22:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600646912001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600646912001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:08:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:08:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600646912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":161081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:08:51] local.INFO: GPS data processed {"connection_id":161081,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:08:51] local.INFO: Acknowledgment sent {"connection_id":161081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:09:14] local.INFO: TCP Data received {"connection_id":162034,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:09:14] local.INFO: Processing buffer {"connection_id":162034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:09:14] local.INFO: Packet analysis {"connection_id":162034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f7c"} 
[2026-08-23 22:09:14] local.INFO: Extracted packet for processing {"connection_id":162034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f7c"} 
[2026-08-23 22:09:14] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600717824001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787503105000,"timestamp_ms":1787503105000,"timestamp_seconds":1787503105,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7cd3e8"} 
[2026-08-23 22:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:09:14] 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-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600717824001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600717824001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:09:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:09:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600717824001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":162034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:09:14] local.INFO: GPS data processed {"connection_id":162034,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:09:14] local.INFO: Acknowledgment sent {"connection_id":162034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:09:26] local.INFO: TCP Data received {"connection_id":161081,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:09:26] local.INFO: Processing buffer {"connection_id":161081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7899e0012d34c58006aa4060000a011428..."} 
[2026-08-23 22:09:26] local.INFO: Packet analysis {"connection_id":161081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:09:26] local.INFO: Extracted packet for processing {"connection_id":161081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f78"} 
[2026-08-23 22:09:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600646912001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787502828000,"timestamp_ms":1787502828000,"timestamp_seconds":1787502828,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7899e0"} 
[2026-08-23 22:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:09: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-08-23 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:09: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-08-23 22: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-08-23 22:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600646912001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600646912001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:09:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:09:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600646912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":161081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:09:26] local.INFO: GPS data processed {"connection_id":161081,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:09:26] local.INFO: Acknowledgment sent {"connection_id":161081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:09:28] local.INFO: TCP Data received {"connection_id":160845,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:09:28] local.INFO: Processing buffer {"connection_id":160845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:09:28] local.INFO: IMEI packet received {"connection_id":160845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":160845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:09:33] local.INFO: TCP Data received {"connection_id":160845,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:09:33] local.INFO: Processing buffer {"connection_id":160845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:09:33] local.INFO: IMEI packet received {"connection_id":160845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":160845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:09:34] local.INFO: TCP Data received {"connection_id":160845,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:09:34] local.INFO: Processing buffer {"connection_id":160845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:09:34] local.INFO: Packet analysis {"connection_id":160845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f7c"} 
[2026-08-23 22:09:34] local.INFO: Extracted packet for processing {"connection_id":160845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f7c"} 
[2026-08-23 22:09:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600717824001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787503105000,"timestamp_ms":1787503105000,"timestamp_seconds":1787503105,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7cd3e8"} 
[2026-08-23 22:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600717824001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600717824001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:09:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:09:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600717824001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":160845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:09:34] local.INFO: GPS data processed {"connection_id":160845,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:09:34] local.INFO: Acknowledgment sent {"connection_id":160845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:09:50] local.INFO: TCP Data received {"connection_id":161082,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:09:50] local.INFO: Processing buffer {"connection_id":161082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:09:50] local.INFO: IMEI packet received {"connection_id":161082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":161082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:09:55] local.INFO: TCP Data received {"connection_id":161082,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:09:55] local.INFO: Processing buffer {"connection_id":161082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:09:55] local.INFO: IMEI packet received {"connection_id":161082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":161082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:09:56] local.INFO: TCP Data received {"connection_id":161082,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:09:56] local.INFO: Processing buffer {"connection_id":161082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:09:56] local.INFO: Packet analysis {"connection_id":161082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f7d"} 
[2026-08-23 22:09:56] local.INFO: Extracted packet for processing {"connection_id":161082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f7d"} 
[2026-08-23 22:09:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600723968001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787503129000,"timestamp_ms":1787503129000,"timestamp_seconds":1787503129,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7d31a8"} 
[2026-08-23 22:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600723968001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600723968001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:09:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:09:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600723968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":161082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:09:56] local.INFO: GPS data processed {"connection_id":161082,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:09:56] local.INFO: Acknowledgment sent {"connection_id":161082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:10:00] local.INFO: TCP Data received {"connection_id":161082,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:10:00] local.INFO: Processing buffer {"connection_id":161082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:10:00] local.INFO: Packet analysis {"connection_id":161082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f7d"} 
[2026-08-23 22:10:00] local.INFO: Extracted packet for processing {"connection_id":161082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f7d"} 
[2026-08-23 22:10:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600723968001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787503129000,"timestamp_ms":1787503129000,"timestamp_seconds":1787503129,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7d31a8"} 
[2026-08-23 22:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600723968001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600723968001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:10:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:10:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600723968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":161082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:10:00] local.INFO: GPS data processed {"connection_id":161082,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:10:00] local.INFO: Acknowledgment sent {"connection_id":161082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:10:05] local.INFO: TCP Data received {"connection_id":160845,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:10:05] local.INFO: Processing buffer {"connection_id":160845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:10:05] local.INFO: Packet analysis {"connection_id":160845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f7c"} 
[2026-08-23 22:10:05] local.INFO: Extracted packet for processing {"connection_id":160845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f7c"} 
[2026-08-23 22:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600717824001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787503105000,"timestamp_ms":1787503105000,"timestamp_seconds":1787503105,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7cd3e8"} 
[2026-08-23 22:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:10: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-08-23 22:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600717824001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600717824001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:10:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:10:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600717824001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":160845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:10:05] local.INFO: GPS data processed {"connection_id":160845,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:10:05] local.INFO: Acknowledgment sent {"connection_id":160845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:10:28] local.INFO: TCP Data received {"connection_id":162035,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:10:28] local.INFO: Processing buffer {"connection_id":162035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:10:28] local.INFO: IMEI packet received {"connection_id":162035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":162035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:10:33] local.INFO: TCP Data received {"connection_id":162035,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:10:33] local.INFO: Processing buffer {"connection_id":162035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:10:33] local.INFO: IMEI packet received {"connection_id":162035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":162035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:10:34] local.INFO: TCP Data received {"connection_id":162035,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:10:34] local.INFO: Processing buffer {"connection_id":162035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:10:34] local.INFO: Packet analysis {"connection_id":162035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f7c"} 
[2026-08-23 22:10:34] local.INFO: Extracted packet for processing {"connection_id":162035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f7c"} 
[2026-08-23 22:10:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600717824001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787503105000,"timestamp_ms":1787503105000,"timestamp_seconds":1787503105,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7cd3e8"} 
[2026-08-23 22:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600717824001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600717824001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:10:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:10:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600717824001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":162035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:10:34] local.INFO: GPS data processed {"connection_id":162035,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:10:34] local.INFO: Acknowledgment sent {"connection_id":162035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:10:45] local.INFO: TCP Data received {"connection_id":163438,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:10:45] local.INFO: Processing buffer {"connection_id":163438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:10:45] local.INFO: IMEI packet received {"connection_id":163438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":163438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:10:50] local.INFO: TCP Data received {"connection_id":163438,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:10:50] local.INFO: Processing buffer {"connection_id":163438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:10:50] local.INFO: IMEI packet received {"connection_id":163438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":163438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:10:59] local.INFO: TCP Data received {"connection_id":163439,"ip":"183.81.168.186","data_length":211,"data_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-08-23 22:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163439,"packet_length":211,"packet_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-08-23 22:10:59] local.INFO: Processing buffer {"connection_id":163439,"buffer_length":211,"buffer_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-08-23 22:10:59] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":163439,"buffer_length":211,"first_bytes_hex":"474554202f2e2e2532462e2e2532462e"} 
[2026-08-23 22:11:05] local.INFO: TCP Data received {"connection_id":162035,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:11:05] local.INFO: Processing buffer {"connection_id":162035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:11:05] local.INFO: Packet analysis {"connection_id":162035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f7c"} 
[2026-08-23 22:11:05] local.INFO: Extracted packet for processing {"connection_id":162035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f7c"} 
[2026-08-23 22:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600717824001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787503105000,"timestamp_ms":1787503105000,"timestamp_seconds":1787503105,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7cd3e8"} 
[2026-08-23 22:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:11: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-08-23 22:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600717824001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600717824001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:11:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:11:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600717824001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":162035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:11:06] local.INFO: GPS data processed {"connection_id":162035,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:11:06] local.INFO: Acknowledgment sent {"connection_id":162035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:11:09] local.INFO: TCP Data received {"connection_id":163438,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:11:09] local.INFO: Processing buffer {"connection_id":163438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:11:09] local.INFO: Packet analysis {"connection_id":163438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f7d"} 
[2026-08-23 22:11:09] local.INFO: Extracted packet for processing {"connection_id":163438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f7d"} 
[2026-08-23 22:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600723968001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787503129000,"timestamp_ms":1787503129000,"timestamp_seconds":1787503129,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7d31a8"} 
[2026-08-23 22:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:11: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-08-23 22: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-08-23 22:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:11: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-08-23 22:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600723968001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600723968001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:11:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600723968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":163438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:11:09] local.INFO: GPS data processed {"connection_id":163438,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:11:09] local.INFO: Acknowledgment sent {"connection_id":163438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:11:33] local.INFO: TCP Data received {"connection_id":161083,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:11:33] local.INFO: Processing buffer {"connection_id":161083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:11:33] local.INFO: IMEI packet received {"connection_id":161083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":161083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:11:38] local.INFO: TCP Data received {"connection_id":161083,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:11:38] local.INFO: Processing buffer {"connection_id":161083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:11:38] local.INFO: IMEI packet received {"connection_id":161083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":161083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:11:39] local.INFO: TCP Data received {"connection_id":161083,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:11:39] local.INFO: Processing buffer {"connection_id":161083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:11:39] local.INFO: Packet analysis {"connection_id":161083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f7c"} 
[2026-08-23 22:11:39] local.INFO: Extracted packet for processing {"connection_id":161083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f7c"} 
[2026-08-23 22:11:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600717824001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787503105000,"timestamp_ms":1787503105000,"timestamp_seconds":1787503105,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7cd3e8"} 
[2026-08-23 22:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:11:39] 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-08-23 22:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600717824001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600717824001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:11:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:11:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600717824001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":161083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:11:39] local.INFO: GPS data processed {"connection_id":161083,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:11:39] local.INFO: Acknowledgment sent {"connection_id":161083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:11:44] local.INFO: TCP Data received {"connection_id":161083,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:11:44] local.INFO: Processing buffer {"connection_id":161083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:11:44] local.INFO: Packet analysis {"connection_id":161083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f7c"} 
[2026-08-23 22:11:44] local.INFO: Extracted packet for processing {"connection_id":161083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f7c"} 
[2026-08-23 22:11:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600717824001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787503105000,"timestamp_ms":1787503105000,"timestamp_seconds":1787503105,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7cd3e8"} 
[2026-08-23 22:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:11:44] 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-08-23 22:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600717824001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600717824001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:11:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:11:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600717824001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":161083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:11:44] local.INFO: GPS data processed {"connection_id":161083,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:11:44] local.INFO: Acknowledgment sent {"connection_id":161083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:11:45] local.INFO: TCP Data received {"connection_id":161084,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:11:45] local.INFO: Processing buffer {"connection_id":161084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:11:45] local.INFO: IMEI packet received {"connection_id":161084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":161084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:11:50] local.INFO: TCP Data received {"connection_id":161084,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:11:50] local.INFO: Processing buffer {"connection_id":161084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:11:50] local.INFO: IMEI packet received {"connection_id":161084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":161084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:11:52] local.INFO: TCP Data received {"connection_id":161084,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:11:52] local.INFO: Processing buffer {"connection_id":161084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:11:52] local.INFO: Packet analysis {"connection_id":161084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f7d"} 
[2026-08-23 22:11:52] local.INFO: Extracted packet for processing {"connection_id":161084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f7d"} 
[2026-08-23 22:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600723968001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787503129000,"timestamp_ms":1787503129000,"timestamp_seconds":1787503129,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7d31a8"} 
[2026-08-23 22:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:11: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-08-23 22:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:11: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-08-23 22:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:11:52] 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-08-23 22:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600723968001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600723968001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:11:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600723968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":161084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:11:52] local.INFO: GPS data processed {"connection_id":161084,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:11:52] local.INFO: Acknowledgment sent {"connection_id":161084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:12:24] local.INFO: TCP Data received {"connection_id":161084,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:12:24] local.INFO: Processing buffer {"connection_id":161084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:12:24] local.INFO: Packet analysis {"connection_id":161084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f7d"} 
[2026-08-23 22:12:24] local.INFO: Extracted packet for processing {"connection_id":161084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f7d"} 
[2026-08-23 22:12:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600723968001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787503129000,"timestamp_ms":1787503129000,"timestamp_seconds":1787503129,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7d31a8"} 
[2026-08-23 22:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:12: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-08-23 22:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:12:24] 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-08-23 22:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600723968001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600723968001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:12:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:12:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600723968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":161084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:12:24] local.INFO: GPS data processed {"connection_id":161084,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:12:24] local.INFO: Acknowledgment sent {"connection_id":161084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:12:28] local.INFO: TCP Data received {"connection_id":161085,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:12:28] local.INFO: Processing buffer {"connection_id":161085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:12:28] local.INFO: IMEI packet received {"connection_id":161085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":161085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:12:33] local.INFO: TCP Data received {"connection_id":161085,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:12:33] local.INFO: Processing buffer {"connection_id":161085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:12:33] local.INFO: IMEI packet received {"connection_id":161085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":161085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:12:34] local.INFO: TCP Data received {"connection_id":161085,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:12:34] local.INFO: Processing buffer {"connection_id":161085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:12:34] local.INFO: Packet analysis {"connection_id":161085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f7c"} 
[2026-08-23 22:12:34] local.INFO: Extracted packet for processing {"connection_id":161085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f7c"} 
[2026-08-23 22:12:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600717824001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787503105000,"timestamp_ms":1787503105000,"timestamp_seconds":1787503105,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7cd3e8"} 
[2026-08-23 22:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600717824001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600717824001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:12:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:12:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600717824001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":161085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:12:34] local.INFO: GPS data processed {"connection_id":161085,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:12:34] local.INFO: Acknowledgment sent {"connection_id":161085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:12:45] local.INFO: TCP Data received {"connection_id":160846,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:12:45] local.INFO: Processing buffer {"connection_id":160846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:12:45] local.INFO: IMEI packet received {"connection_id":160846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":160846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:12:50] local.INFO: TCP Data received {"connection_id":160846,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:12:50] local.INFO: Processing buffer {"connection_id":160846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:12:50] local.INFO: IMEI packet received {"connection_id":160846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":160846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:12:51] local.INFO: TCP Data received {"connection_id":160846,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:12:51] local.INFO: Processing buffer {"connection_id":160846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:12:51] local.INFO: Packet analysis {"connection_id":160846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f7d"} 
[2026-08-23 22:12:51] local.INFO: Extracted packet for processing {"connection_id":160846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f7d"} 
[2026-08-23 22:12:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600723968001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787503129000,"timestamp_ms":1787503129000,"timestamp_seconds":1787503129,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7d31a8"} 
[2026-08-23 22:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:12: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-08-23 22:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600723968001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600723968001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:12:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:12:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600723968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":160846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:12:51] local.INFO: GPS data processed {"connection_id":160846,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:12:51] local.INFO: Acknowledgment sent {"connection_id":160846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:13:05] local.INFO: TCP Data received {"connection_id":161085,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:13:05] local.INFO: Processing buffer {"connection_id":161085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:13:05] local.INFO: Packet analysis {"connection_id":161085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f7c"} 
[2026-08-23 22:13:05] local.INFO: Extracted packet for processing {"connection_id":161085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f7c"} 
[2026-08-23 22:13:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600717824001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787503105000,"timestamp_ms":1787503105000,"timestamp_seconds":1787503105,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7cd3e8"} 
[2026-08-23 22:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:13: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-08-23 22:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600717824001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600717824001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:13:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:13:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600717824001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":161085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:13:06] local.INFO: GPS data processed {"connection_id":161085,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:13:06] local.INFO: Acknowledgment sent {"connection_id":161085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:13:23] local.INFO: TCP Data received {"connection_id":160846,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:13:23] local.INFO: Processing buffer {"connection_id":160846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:13:23] local.INFO: Packet analysis {"connection_id":160846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f7d"} 
[2026-08-23 22:13:23] local.INFO: Extracted packet for processing {"connection_id":160846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f7d"} 
[2026-08-23 22:13:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600723968001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787503129000,"timestamp_ms":1787503129000,"timestamp_seconds":1787503129,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7d31a8"} 
[2026-08-23 22:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22: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-08-23 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:13:23] 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-08-23 22:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600723968001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600723968001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:13:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:13:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600723968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":160846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:13:23] local.INFO: GPS data processed {"connection_id":160846,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:13:23] local.INFO: Acknowledgment sent {"connection_id":160846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:13:28] local.INFO: TCP Data received {"connection_id":161086,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:13:28] local.INFO: Processing buffer {"connection_id":161086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:13:28] local.INFO: IMEI packet received {"connection_id":161086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":161086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:13:33] local.INFO: TCP Data received {"connection_id":161086,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:13:33] local.INFO: Processing buffer {"connection_id":161086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:13:33] local.INFO: IMEI packet received {"connection_id":161086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":161086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:13:34] local.INFO: TCP Data received {"connection_id":161086,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:13:34] local.INFO: Processing buffer {"connection_id":161086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7cd3e8012d196580071fef380046010e29..."} 
[2026-08-23 22:13:34] local.INFO: Packet analysis {"connection_id":161086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f7c"} 
[2026-08-23 22:13:34] local.INFO: Extracted packet for processing {"connection_id":161086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f7c"} 
[2026-08-23 22:13:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600717824001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787503105000,"timestamp_ms":1787503105000,"timestamp_seconds":1787503105,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7cd3e8"} 
[2026-08-23 22:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600717824001,"66":2144,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600717824001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:13:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:13:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600717824001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":161086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:13:34] local.INFO: GPS data processed {"connection_id":161086,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:13:34] local.INFO: Acknowledgment sent {"connection_id":161086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:13:50] local.INFO: TCP Data received {"connection_id":162036,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:13:50] local.INFO: Processing buffer {"connection_id":162036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:13:50] local.INFO: IMEI packet received {"connection_id":162036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":162036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:13:55] local.INFO: TCP Data received {"connection_id":162036,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:13:55] local.INFO: Processing buffer {"connection_id":162036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:13:55] local.INFO: IMEI packet received {"connection_id":162036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":162036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:13:56] local.INFO: TCP Data received {"connection_id":162036,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:13:56] local.INFO: Processing buffer {"connection_id":162036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:13:56] local.INFO: Packet analysis {"connection_id":162036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f7d"} 
[2026-08-23 22:13:56] local.INFO: Extracted packet for processing {"connection_id":162036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f7d"} 
[2026-08-23 22:13:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600723968001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787503129000,"timestamp_ms":1787503129000,"timestamp_seconds":1787503129,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7d31a8"} 
[2026-08-23 22:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600723968001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600723968001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:13:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:13:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600723968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":162036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:13:56] local.INFO: GPS data processed {"connection_id":162036,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:13:56] local.INFO: Acknowledgment sent {"connection_id":162036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:14:06] local.INFO: TCP Data received {"connection_id":161086,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:14:06] local.INFO: Processing buffer {"connection_id":161086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:14:06] local.INFO: Packet analysis {"connection_id":161086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:14:06] local.INFO: Extracted packet for processing {"connection_id":161086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600794880001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787503406000,"timestamp_ms":1787503406000,"timestamp_seconds":1787503406,"priority":1,"record_length":96,"hex_timestamp":"000001a02f816bb0"} 
[2026-08-23 22:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:14:06] 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-08-23 22:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 22:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600794880001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600794880001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:14:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600794880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":161086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:14:06] local.INFO: GPS data processed {"connection_id":161086,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:14:06] local.INFO: Acknowledgment sent {"connection_id":161086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:14:27] local.INFO: TCP Data received {"connection_id":162036,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:14:27] local.INFO: Processing buffer {"connection_id":162036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f7d31a8012d34c58006aa4060000a011424..."} 
[2026-08-23 22:14:27] local.INFO: Packet analysis {"connection_id":162036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f7d"} 
[2026-08-23 22:14:27] local.INFO: Extracted packet for processing {"connection_id":162036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f7d"} 
[2026-08-23 22:14:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600723968001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787503129000,"timestamp_ms":1787503129000,"timestamp_seconds":1787503129,"priority":1,"record_length":96,"hex_timestamp":"000001a02f7d31a8"} 
[2026-08-23 22:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600723968001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600723968001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:14:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:14:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600723968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":162036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:14:27] local.INFO: GPS data processed {"connection_id":162036,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:14:27] local.INFO: Acknowledgment sent {"connection_id":162036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:14:28] local.INFO: TCP Data received {"connection_id":161087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:14:28] local.INFO: Processing buffer {"connection_id":161087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:14:28] local.INFO: IMEI packet received {"connection_id":161087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":161087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:14:33] local.INFO: TCP Data received {"connection_id":161087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:14:33] local.INFO: Processing buffer {"connection_id":161087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:14:33] local.INFO: IMEI packet received {"connection_id":161087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":161087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:14:38] local.INFO: TCP Data received {"connection_id":161087,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:14:38] local.INFO: Processing buffer {"connection_id":161087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:14:38] local.INFO: Packet analysis {"connection_id":161087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:14:38] local.INFO: Extracted packet for processing {"connection_id":161087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600794880001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787503406000,"timestamp_ms":1787503406000,"timestamp_seconds":1787503406,"priority":1,"record_length":96,"hex_timestamp":"000001a02f816bb0"} 
[2026-08-23 22:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:14:38] 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-08-23 22:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 22:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600794880001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600794880001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:14:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:14:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600794880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":161087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:14:38] local.INFO: GPS data processed {"connection_id":161087,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:14:38] local.INFO: Acknowledgment sent {"connection_id":161087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:14:45] local.INFO: TCP Data received {"connection_id":162037,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:14:45] local.INFO: Processing buffer {"connection_id":162037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:14:45] local.INFO: IMEI packet received {"connection_id":162037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":162037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:14:50] local.INFO: TCP Data received {"connection_id":162037,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:14:50] local.INFO: Processing buffer {"connection_id":162037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:14:50] local.INFO: IMEI packet received {"connection_id":162037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":162037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:14:51] local.INFO: TCP Data received {"connection_id":162037,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:14:51] local.INFO: Processing buffer {"connection_id":162037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:14:51] local.INFO: Packet analysis {"connection_id":162037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:14:51] local.INFO: Extracted packet for processing {"connection_id":162037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600801024001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787503430000,"timestamp_ms":1787503430000,"timestamp_seconds":1787503430,"priority":1,"record_length":96,"hex_timestamp":"000001a02f81c970"} 
[2026-08-23 22:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:14: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-08-23 22:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600801024001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600801024001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:14:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600801024001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":162037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:14:51] local.INFO: GPS data processed {"connection_id":162037,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:14:51] local.INFO: Acknowledgment sent {"connection_id":162037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:15:09] local.INFO: TCP Data received {"connection_id":161087,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:15:09] local.INFO: Processing buffer {"connection_id":161087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:15:09] local.INFO: Packet analysis {"connection_id":161087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:15:09] local.INFO: Extracted packet for processing {"connection_id":161087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:15:09] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600794880001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787503406000,"timestamp_ms":1787503406000,"timestamp_seconds":1787503406,"priority":1,"record_length":96,"hex_timestamp":"000001a02f816bb0"} 
[2026-08-23 22:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:15: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-08-23 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 22:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600794880001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600794880001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:15:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:15:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600794880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":161087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:15:09] local.INFO: GPS data processed {"connection_id":161087,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:15:09] local.INFO: Acknowledgment sent {"connection_id":161087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:15:22] local.INFO: TCP Data received {"connection_id":162037,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:15:22] local.INFO: Processing buffer {"connection_id":162037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:15:22] local.INFO: Packet analysis {"connection_id":162037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:15:22] local.INFO: Extracted packet for processing {"connection_id":162037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:15:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600801024001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787503430000,"timestamp_ms":1787503430000,"timestamp_seconds":1787503430,"priority":1,"record_length":96,"hex_timestamp":"000001a02f81c970"} 
[2026-08-23 22:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:15: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-08-23 22:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:15: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-08-23 22:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600801024001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600801024001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:15:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:15:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600801024001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":162037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:15:22] local.INFO: GPS data processed {"connection_id":162037,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:15:22] local.INFO: Acknowledgment sent {"connection_id":162037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:15:33] local.INFO: TCP Data received {"connection_id":163440,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:15:33] local.INFO: Processing buffer {"connection_id":163440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:15:33] local.INFO: IMEI packet received {"connection_id":163440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":163440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:15:38] local.INFO: TCP Data received {"connection_id":163440,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:15:38] local.INFO: Processing buffer {"connection_id":163440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:15:38] local.INFO: IMEI packet received {"connection_id":163440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":163440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:15:39] local.INFO: TCP Data received {"connection_id":163440,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:15:39] local.INFO: Processing buffer {"connection_id":163440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:15:39] local.INFO: Packet analysis {"connection_id":163440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:15:39] local.INFO: Extracted packet for processing {"connection_id":163440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:15:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600794880001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787503406000,"timestamp_ms":1787503406000,"timestamp_seconds":1787503406,"priority":1,"record_length":96,"hex_timestamp":"000001a02f816bb0"} 
[2026-08-23 22:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:15:39] 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-08-23 22:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 22:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600794880001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600794880001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:15:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:15:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600794880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":163440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:15:39] local.INFO: GPS data processed {"connection_id":163440,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:15:39] local.INFO: Acknowledgment sent {"connection_id":163440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:15:43] local.INFO: TCP Data received {"connection_id":163440,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:15:43] local.INFO: Processing buffer {"connection_id":163440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:15:43] local.INFO: Packet analysis {"connection_id":163440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:15:43] local.INFO: Extracted packet for processing {"connection_id":163440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:15:43] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600794880001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787503406000,"timestamp_ms":1787503406000,"timestamp_seconds":1787503406,"priority":1,"record_length":96,"hex_timestamp":"000001a02f816bb0"} 
[2026-08-23 22:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:15:43] 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-08-23 22:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 22:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600794880001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600794880001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:15:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:15:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600794880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":163440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:15:43] local.INFO: GPS data processed {"connection_id":163440,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:15:43] local.INFO: Acknowledgment sent {"connection_id":163440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:15:45] local.INFO: TCP Data received {"connection_id":163441,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:15:45] local.INFO: Processing buffer {"connection_id":163441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:15:45] local.INFO: IMEI packet received {"connection_id":163441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":163441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:15:50] local.INFO: TCP Data received {"connection_id":163441,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:15:50] local.INFO: Processing buffer {"connection_id":163441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:15:50] local.INFO: IMEI packet received {"connection_id":163441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":163441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:15:51] local.INFO: TCP Data received {"connection_id":163441,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:15:51] local.INFO: Processing buffer {"connection_id":163441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:15:51] local.INFO: Packet analysis {"connection_id":163441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:15:51] local.INFO: Extracted packet for processing {"connection_id":163441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:15:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600801024001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787503430000,"timestamp_ms":1787503430000,"timestamp_seconds":1787503430,"priority":1,"record_length":96,"hex_timestamp":"000001a02f81c970"} 
[2026-08-23 22:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:15: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-08-23 22:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600801024001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600801024001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:15:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:15:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600801024001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":163441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:15:51] local.INFO: GPS data processed {"connection_id":163441,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:15:51] local.INFO: Acknowledgment sent {"connection_id":163441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:16:22] local.INFO: TCP Data received {"connection_id":163441,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:16:22] local.INFO: Processing buffer {"connection_id":163441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:16:22] local.INFO: Packet analysis {"connection_id":163441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:16:22] local.INFO: Extracted packet for processing {"connection_id":163441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:16:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600801024001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787503430000,"timestamp_ms":1787503430000,"timestamp_seconds":1787503430,"priority":1,"record_length":96,"hex_timestamp":"000001a02f81c970"} 
[2026-08-23 22:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:16: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-08-23 22:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:16: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-08-23 22:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600801024001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600801024001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:16:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:16:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600801024001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":163441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:16:22] local.INFO: GPS data processed {"connection_id":163441,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:16:22] local.INFO: Acknowledgment sent {"connection_id":163441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:16:28] local.INFO: TCP Data received {"connection_id":162038,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:16:28] local.INFO: Processing buffer {"connection_id":162038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:16:28] local.INFO: IMEI packet received {"connection_id":162038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":162038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:16:33] local.INFO: TCP Data received {"connection_id":162038,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:16:33] local.INFO: Processing buffer {"connection_id":162038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:16:33] local.INFO: IMEI packet received {"connection_id":162038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":162038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:16:34] local.INFO: TCP Data received {"connection_id":162038,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:16:34] local.INFO: Processing buffer {"connection_id":162038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:16:34] local.INFO: Packet analysis {"connection_id":162038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:16:34] local.INFO: Extracted packet for processing {"connection_id":162038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:16:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600794880001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787503406000,"timestamp_ms":1787503406000,"timestamp_seconds":1787503406,"priority":1,"record_length":96,"hex_timestamp":"000001a02f816bb0"} 
[2026-08-23 22:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:16: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-08-23 22:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 22:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600794880001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600794880001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:16:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:16:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600794880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":162038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:16:34] local.INFO: GPS data processed {"connection_id":162038,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:16:34] local.INFO: Acknowledgment sent {"connection_id":162038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:16:45] local.INFO: TCP Data received {"connection_id":161088,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:16:45] local.INFO: Processing buffer {"connection_id":161088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:16:45] local.INFO: IMEI packet received {"connection_id":161088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":161088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:16:50] local.INFO: TCP Data received {"connection_id":161088,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:16:50] local.INFO: Processing buffer {"connection_id":161088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:16:50] local.INFO: IMEI packet received {"connection_id":161088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":161088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:16:51] local.INFO: TCP Data received {"connection_id":161088,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:16:51] local.INFO: Processing buffer {"connection_id":161088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:16:51] local.INFO: Packet analysis {"connection_id":161088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:16:51] local.INFO: Extracted packet for processing {"connection_id":161088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:16:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600801024001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787503430000,"timestamp_ms":1787503430000,"timestamp_seconds":1787503430,"priority":1,"record_length":96,"hex_timestamp":"000001a02f81c970"} 
[2026-08-23 22:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:16: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-08-23 22:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600801024001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600801024001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:16:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:16:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600801024001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":161088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:16:51] local.INFO: GPS data processed {"connection_id":161088,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:16:51] local.INFO: Acknowledgment sent {"connection_id":161088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:17:05] local.INFO: TCP Data received {"connection_id":162038,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:17:05] local.INFO: Processing buffer {"connection_id":162038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:17:05] local.INFO: Packet analysis {"connection_id":162038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:17:05] local.INFO: Extracted packet for processing {"connection_id":162038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:17:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600794880001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787503406000,"timestamp_ms":1787503406000,"timestamp_seconds":1787503406,"priority":1,"record_length":96,"hex_timestamp":"000001a02f816bb0"} 
[2026-08-23 22:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:17: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-08-23 22:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 22:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600794880001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600794880001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:17:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:17:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600794880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":162038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:17:05] local.INFO: GPS data processed {"connection_id":162038,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:17:05] local.INFO: Acknowledgment sent {"connection_id":162038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:17:23] local.INFO: TCP Data received {"connection_id":161088,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:17:23] local.INFO: Processing buffer {"connection_id":161088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:17:23] local.INFO: Packet analysis {"connection_id":161088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:17:23] local.INFO: Extracted packet for processing {"connection_id":161088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:17:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600801024001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787503430000,"timestamp_ms":1787503430000,"timestamp_seconds":1787503430,"priority":1,"record_length":96,"hex_timestamp":"000001a02f81c970"} 
[2026-08-23 22:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:17: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-08-23 22:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:17:23] 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-08-23 22:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600801024001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600801024001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:17:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:17:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600801024001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":161088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:17:23] local.INFO: GPS data processed {"connection_id":161088,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:17:23] local.INFO: Acknowledgment sent {"connection_id":161088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:17:28] local.INFO: TCP Data received {"connection_id":163442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:17:28] local.INFO: Processing buffer {"connection_id":163442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:17:28] local.INFO: IMEI packet received {"connection_id":163442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":163442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:17:33] local.INFO: TCP Data received {"connection_id":163442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:17:33] local.INFO: Processing buffer {"connection_id":163442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:17:33] local.INFO: IMEI packet received {"connection_id":163442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":163442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:17:34] local.INFO: TCP Data received {"connection_id":163442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:17:34] local.INFO: Processing buffer {"connection_id":163442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:17:34] local.INFO: Packet analysis {"connection_id":163442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:17:34] local.INFO: Extracted packet for processing {"connection_id":163442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:17:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600794880001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787503406000,"timestamp_ms":1787503406000,"timestamp_seconds":1787503406,"priority":1,"record_length":96,"hex_timestamp":"000001a02f816bb0"} 
[2026-08-23 22:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:17: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-08-23 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 22:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600794880001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600794880001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:17:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:17:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600794880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":163442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:17:34] local.INFO: GPS data processed {"connection_id":163442,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:17:34] local.INFO: Acknowledgment sent {"connection_id":163442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:17:45] local.INFO: TCP Data received {"connection_id":162039,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:17:45] local.INFO: Processing buffer {"connection_id":162039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:17:45] local.INFO: IMEI packet received {"connection_id":162039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":162039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:17:50] local.INFO: TCP Data received {"connection_id":162039,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:17:50] local.INFO: Processing buffer {"connection_id":162039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:17:50] local.INFO: IMEI packet received {"connection_id":162039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":162039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:17:52] local.INFO: TCP Data received {"connection_id":162039,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:17:52] local.INFO: Processing buffer {"connection_id":162039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:17:52] local.INFO: Packet analysis {"connection_id":162039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:17:52] local.INFO: Extracted packet for processing {"connection_id":162039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600801024001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787503430000,"timestamp_ms":1787503430000,"timestamp_seconds":1787503430,"priority":1,"record_length":96,"hex_timestamp":"000001a02f81c970"} 
[2026-08-23 22:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:17: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-08-23 22:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:17: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-08-23 22:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:17:52] 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-08-23 22:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600801024001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600801024001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:17:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600801024001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":162039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:17:52] local.INFO: GPS data processed {"connection_id":162039,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:17:52] local.INFO: Acknowledgment sent {"connection_id":162039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:18:05] local.INFO: TCP Data received {"connection_id":163442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:18:05] local.INFO: Processing buffer {"connection_id":163442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:18:05] local.INFO: Packet analysis {"connection_id":163442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:18:05] local.INFO: Extracted packet for processing {"connection_id":163442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:18:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600794880001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787503406000,"timestamp_ms":1787503406000,"timestamp_seconds":1787503406,"priority":1,"record_length":96,"hex_timestamp":"000001a02f816bb0"} 
[2026-08-23 22:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:18: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-08-23 22:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 22:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600794880001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600794880001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:18:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:18:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600794880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":163442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:18:05] local.INFO: GPS data processed {"connection_id":163442,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:18:05] local.INFO: Acknowledgment sent {"connection_id":163442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:18:23] local.INFO: TCP Data received {"connection_id":162039,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:18:23] local.INFO: Processing buffer {"connection_id":162039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:18:23] local.INFO: Packet analysis {"connection_id":162039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:18:23] local.INFO: Extracted packet for processing {"connection_id":162039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:18:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600801024001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787503430000,"timestamp_ms":1787503430000,"timestamp_seconds":1787503430,"priority":1,"record_length":96,"hex_timestamp":"000001a02f81c970"} 
[2026-08-23 22:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:18:23] 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-08-23 22:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600801024001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600801024001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:18:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:18:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600801024001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":162039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:18:23] local.INFO: GPS data processed {"connection_id":162039,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:18:23] local.INFO: Acknowledgment sent {"connection_id":162039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:18:28] local.INFO: TCP Data received {"connection_id":160847,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:18:28] local.INFO: Processing buffer {"connection_id":160847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:18:28] local.INFO: IMEI packet received {"connection_id":160847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":160847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:18:33] local.INFO: TCP Data received {"connection_id":160847,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:18:33] local.INFO: Processing buffer {"connection_id":160847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:18:33] local.INFO: IMEI packet received {"connection_id":160847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":160847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:18:34] local.INFO: TCP Data received {"connection_id":160847,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:18:34] local.INFO: Processing buffer {"connection_id":160847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:18:34] local.INFO: Packet analysis {"connection_id":160847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:18:34] local.INFO: Extracted packet for processing {"connection_id":160847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:18:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600794880001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787503406000,"timestamp_ms":1787503406000,"timestamp_seconds":1787503406,"priority":1,"record_length":96,"hex_timestamp":"000001a02f816bb0"} 
[2026-08-23 22:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:18: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-08-23 22:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 22:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600794880001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600794880001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:18:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:18:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600794880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":160847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:18:34] local.INFO: GPS data processed {"connection_id":160847,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:18:34] local.INFO: Acknowledgment sent {"connection_id":160847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:18:50] local.INFO: TCP Data received {"connection_id":160848,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:18:50] local.INFO: Processing buffer {"connection_id":160848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:18:50] local.INFO: IMEI packet received {"connection_id":160848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":160848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:18:55] local.INFO: TCP Data received {"connection_id":160848,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:18:55] local.INFO: Processing buffer {"connection_id":160848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:18:55] local.INFO: IMEI packet received {"connection_id":160848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":160848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:18:56] local.INFO: TCP Data received {"connection_id":160848,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:18:56] local.INFO: Processing buffer {"connection_id":160848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:18:56] local.INFO: Packet analysis {"connection_id":160848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:18:56] local.INFO: Extracted packet for processing {"connection_id":160848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:18:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600801024001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787503430000,"timestamp_ms":1787503430000,"timestamp_seconds":1787503430,"priority":1,"record_length":96,"hex_timestamp":"000001a02f81c970"} 
[2026-08-23 22:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600801024001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600801024001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:18:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:18:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600801024001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":160848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:18:56] local.INFO: GPS data processed {"connection_id":160848,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:18:56] local.INFO: Acknowledgment sent {"connection_id":160848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:19:00] local.INFO: TCP Data received {"connection_id":160848,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:19:00] local.INFO: Processing buffer {"connection_id":160848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f81c970012d34c58006aa4060000a011425..."} 
[2026-08-23 22:19:00] local.INFO: Packet analysis {"connection_id":160848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:19:00] local.INFO: Extracted packet for processing {"connection_id":160848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:19:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600801024001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787503430000,"timestamp_ms":1787503430000,"timestamp_seconds":1787503430,"priority":1,"record_length":96,"hex_timestamp":"000001a02f81c970"} 
[2026-08-23 22:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600801024001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600801024001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:19:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:19:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600801024001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":160848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:19:00] local.INFO: GPS data processed {"connection_id":160848,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:19:00] local.INFO: Acknowledgment sent {"connection_id":160848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:19:06] local.INFO: TCP Data received {"connection_id":160847,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:19:06] local.INFO: Processing buffer {"connection_id":160847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f816bb0012d196580071fef380046010e28..."} 
[2026-08-23 22:19:06] local.INFO: Packet analysis {"connection_id":160847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:19:06] local.INFO: Extracted packet for processing {"connection_id":160847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f81"} 
[2026-08-23 22:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600794880001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787503406000,"timestamp_ms":1787503406000,"timestamp_seconds":1787503406,"priority":1,"record_length":96,"hex_timestamp":"000001a02f816bb0"} 
[2026-08-23 22:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:19:06] 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-08-23 22:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 22:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600794880001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600794880001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:19:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600794880001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":160847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:19:06] local.INFO: GPS data processed {"connection_id":160847,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:19:06] local.INFO: Acknowledgment sent {"connection_id":160847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:19:28] local.INFO: TCP Data received {"connection_id":161089,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:19:28] local.INFO: Processing buffer {"connection_id":161089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:19:28] local.INFO: IMEI packet received {"connection_id":161089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":161089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:19:33] local.INFO: TCP Data received {"connection_id":161089,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:19:33] local.INFO: Processing buffer {"connection_id":161089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:19:33] local.INFO: IMEI packet received {"connection_id":161089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":161089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:19:34] local.INFO: TCP Data received {"connection_id":161089,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:19:34] local.INFO: Processing buffer {"connection_id":161089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:19:34] local.INFO: Packet analysis {"connection_id":161089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:19:34] local.INFO: Extracted packet for processing {"connection_id":161089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:19:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600871936001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787503707000,"timestamp_ms":1787503707000,"timestamp_seconds":1787503707,"priority":1,"record_length":96,"hex_timestamp":"000001a02f860378"} 
[2026-08-23 22:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:19: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-08-23 22:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600871936001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600871936001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:19:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:19:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600871936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":161089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:19:34] local.INFO: GPS data processed {"connection_id":161089,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:19:34] local.INFO: Acknowledgment sent {"connection_id":161089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:19:45] local.INFO: TCP Data received {"connection_id":160849,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:19:45] local.INFO: Processing buffer {"connection_id":160849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:19:45] local.INFO: IMEI packet received {"connection_id":160849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":160849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:19:50] local.INFO: TCP Data received {"connection_id":160849,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:19:50] local.INFO: Processing buffer {"connection_id":160849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:19:50] local.INFO: IMEI packet received {"connection_id":160849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":160849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:19:54] local.INFO: TCP Data received {"connection_id":160849,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:19:54] local.INFO: Processing buffer {"connection_id":160849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:19:54] local.INFO: Packet analysis {"connection_id":160849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:19:54] local.INFO: Extracted packet for processing {"connection_id":160849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:19:54] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600878080001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787503731000,"timestamp_ms":1787503731000,"timestamp_seconds":1787503731,"priority":1,"record_length":96,"hex_timestamp":"000001a02f866138"} 
[2026-08-23 22:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:19: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-08-23 22:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:19:54] 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-08-23 22:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600878080001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600878080001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:19:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:19:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600878080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":160849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:19:54] local.INFO: GPS data processed {"connection_id":160849,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:19:54] local.INFO: Acknowledgment sent {"connection_id":160849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:20:05] local.INFO: TCP Data received {"connection_id":161089,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:20:05] local.INFO: Processing buffer {"connection_id":161089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:20:05] local.INFO: Packet analysis {"connection_id":161089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:20:05] local.INFO: Extracted packet for processing {"connection_id":161089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600871936001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787503707000,"timestamp_ms":1787503707000,"timestamp_seconds":1787503707,"priority":1,"record_length":96,"hex_timestamp":"000001a02f860378"} 
[2026-08-23 22:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:20:05] 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-08-23 22:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600871936001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600871936001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:20:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:20:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600871936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":161089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:20:05] local.INFO: GPS data processed {"connection_id":161089,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:20:05] local.INFO: Acknowledgment sent {"connection_id":161089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:20:26] local.INFO: TCP Data received {"connection_id":160849,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:20:26] local.INFO: Processing buffer {"connection_id":160849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:20:26] local.INFO: Packet analysis {"connection_id":160849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:20:26] local.INFO: Extracted packet for processing {"connection_id":160849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:20:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600878080001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787503731000,"timestamp_ms":1787503731000,"timestamp_seconds":1787503731,"priority":1,"record_length":96,"hex_timestamp":"000001a02f866138"} 
[2026-08-23 22:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:20: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-08-23 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:20: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-08-23 22: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-08-23 22:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600878080001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600878080001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:20:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:20:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600878080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":160849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:20:26] local.INFO: GPS data processed {"connection_id":160849,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:20:26] local.INFO: Acknowledgment sent {"connection_id":160849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:20:33] local.INFO: TCP Data received {"connection_id":161090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:20:33] local.INFO: Processing buffer {"connection_id":161090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:20:33] local.INFO: IMEI packet received {"connection_id":161090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":161090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:20:38] local.INFO: TCP Data received {"connection_id":161090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:20:38] local.INFO: Processing buffer {"connection_id":161090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:20:38] local.INFO: IMEI packet received {"connection_id":161090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":161090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:20:39] local.INFO: TCP Data received {"connection_id":161090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:20:39] local.INFO: Processing buffer {"connection_id":161090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:20:39] local.INFO: Packet analysis {"connection_id":161090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:20:39] local.INFO: Extracted packet for processing {"connection_id":161090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:20:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600871936001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787503707000,"timestamp_ms":1787503707000,"timestamp_seconds":1787503707,"priority":1,"record_length":96,"hex_timestamp":"000001a02f860378"} 
[2026-08-23 22:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:20:39] 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-08-23 22:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600871936001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600871936001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:20:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:20:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600871936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":161090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:20:39] local.INFO: GPS data processed {"connection_id":161090,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:20:39] local.INFO: Acknowledgment sent {"connection_id":161090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:20:44] local.INFO: TCP Data received {"connection_id":161090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:20:44] local.INFO: Processing buffer {"connection_id":161090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:20:44] local.INFO: Packet analysis {"connection_id":161090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:20:44] local.INFO: Extracted packet for processing {"connection_id":161090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:20:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600871936001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787503707000,"timestamp_ms":1787503707000,"timestamp_seconds":1787503707,"priority":1,"record_length":96,"hex_timestamp":"000001a02f860378"} 
[2026-08-23 22:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:20:44] 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-08-23 22:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600871936001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600871936001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:20:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:20:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600871936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":161090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:20:44] local.INFO: GPS data processed {"connection_id":161090,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:20:44] local.INFO: Acknowledgment sent {"connection_id":161090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:20:45] local.INFO: TCP Data received {"connection_id":162040,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:20:45] local.INFO: Processing buffer {"connection_id":162040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:20:45] local.INFO: IMEI packet received {"connection_id":162040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":162040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:20:50] local.INFO: TCP Data received {"connection_id":162040,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:20:50] local.INFO: Processing buffer {"connection_id":162040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:20:50] local.INFO: IMEI packet received {"connection_id":162040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":162040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:20:51] local.INFO: TCP Data received {"connection_id":162040,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:20:51] local.INFO: Processing buffer {"connection_id":162040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:20:51] local.INFO: Packet analysis {"connection_id":162040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:20:51] local.INFO: Extracted packet for processing {"connection_id":162040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:20:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600878080001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787503731000,"timestamp_ms":1787503731000,"timestamp_seconds":1787503731,"priority":1,"record_length":96,"hex_timestamp":"000001a02f866138"} 
[2026-08-23 22:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:20: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-08-23 22:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600878080001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600878080001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:20:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:20:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600878080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":162040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:20:51] local.INFO: GPS data processed {"connection_id":162040,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:20:51] local.INFO: Acknowledgment sent {"connection_id":162040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:21:23] local.INFO: TCP Data received {"connection_id":162040,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:21:23] local.INFO: Processing buffer {"connection_id":162040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:21:23] local.INFO: Packet analysis {"connection_id":162040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:21:23] local.INFO: Extracted packet for processing {"connection_id":162040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:21:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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":795,"current_offset":40} 
[2026-08-23 22:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600878080001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787503731000,"timestamp_ms":1787503731000,"timestamp_seconds":1787503731,"priority":1,"record_length":96,"hex_timestamp":"000001a02f866138"} 
[2026-08-23 22:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:21: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-08-23 22:21: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":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:21: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-08-23 22:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:21:23] 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-08-23 22:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600878080001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600878080001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:21:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:21:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600878080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":162040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:21:23] local.INFO: GPS data processed {"connection_id":162040,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:21:23] local.INFO: Acknowledgment sent {"connection_id":162040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:21:28] local.INFO: TCP Data received {"connection_id":161091,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:21:28] local.INFO: Processing buffer {"connection_id":161091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:21:28] local.INFO: IMEI packet received {"connection_id":161091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":161091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:21:33] local.INFO: TCP Data received {"connection_id":161091,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:21:33] local.INFO: Processing buffer {"connection_id":161091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:21:33] local.INFO: IMEI packet received {"connection_id":161091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":161091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:21:34] local.INFO: TCP Data received {"connection_id":161091,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:21:34] local.INFO: Processing buffer {"connection_id":161091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:21:34] local.INFO: Packet analysis {"connection_id":161091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:21:34] local.INFO: Extracted packet for processing {"connection_id":161091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:21:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600871936001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787503707000,"timestamp_ms":1787503707000,"timestamp_seconds":1787503707,"priority":1,"record_length":96,"hex_timestamp":"000001a02f860378"} 
[2026-08-23 22:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:21: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-08-23 22:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600871936001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600871936001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:21:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:21:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600871936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":161091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:21:34] local.INFO: GPS data processed {"connection_id":161091,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:21:34] local.INFO: Acknowledgment sent {"connection_id":161091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:21:39] local.INFO: TCP Data received {"connection_id":161091,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:21:39] local.INFO: Processing buffer {"connection_id":161091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:21:39] local.INFO: Packet analysis {"connection_id":161091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:21:39] local.INFO: Extracted packet for processing {"connection_id":161091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:21:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600871936001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787503707000,"timestamp_ms":1787503707000,"timestamp_seconds":1787503707,"priority":1,"record_length":96,"hex_timestamp":"000001a02f860378"} 
[2026-08-23 22:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:21:39] 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-08-23 22:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600871936001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600871936001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:21:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:21:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600871936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":161091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:21:39] local.INFO: GPS data processed {"connection_id":161091,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:21:39] local.INFO: Acknowledgment sent {"connection_id":161091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:21:50] local.INFO: TCP Data received {"connection_id":163443,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:21:50] local.INFO: Processing buffer {"connection_id":163443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:21:50] local.INFO: IMEI packet received {"connection_id":163443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":163443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:21:55] local.INFO: TCP Data received {"connection_id":163443,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:21:55] local.INFO: Processing buffer {"connection_id":163443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:21:55] local.INFO: IMEI packet received {"connection_id":163443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":163443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:21:56] local.INFO: TCP Data received {"connection_id":163443,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:21:56] local.INFO: Processing buffer {"connection_id":163443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:21:56] local.INFO: Packet analysis {"connection_id":163443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:21:56] local.INFO: Extracted packet for processing {"connection_id":163443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:21:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600878080001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787503731000,"timestamp_ms":1787503731000,"timestamp_seconds":1787503731,"priority":1,"record_length":96,"hex_timestamp":"000001a02f866138"} 
[2026-08-23 22:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600878080001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600878080001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:21:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:21:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600878080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":163443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:21:56] local.INFO: GPS data processed {"connection_id":163443,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:21:56] local.INFO: Acknowledgment sent {"connection_id":163443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:22:00] local.INFO: TCP Data received {"connection_id":163443,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:22:00] local.INFO: Processing buffer {"connection_id":163443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:22:00] local.INFO: Packet analysis {"connection_id":163443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:22:00] local.INFO: Extracted packet for processing {"connection_id":163443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:22:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600878080001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787503731000,"timestamp_ms":1787503731000,"timestamp_seconds":1787503731,"priority":1,"record_length":96,"hex_timestamp":"000001a02f866138"} 
[2026-08-23 22:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600878080001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600878080001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:22:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:22:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600878080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":163443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:22:00] local.INFO: GPS data processed {"connection_id":163443,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:22:00] local.INFO: Acknowledgment sent {"connection_id":163443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:22:09] local.INFO: TCP Data received {"connection_id":161091,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:22:09] local.INFO: Processing buffer {"connection_id":161091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:22:09] local.INFO: Packet analysis {"connection_id":161091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:22:09] local.INFO: Extracted packet for processing {"connection_id":161091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:22:09] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600871936001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787503707000,"timestamp_ms":1787503707000,"timestamp_seconds":1787503707,"priority":1,"record_length":96,"hex_timestamp":"000001a02f860378"} 
[2026-08-23 22:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:22:09] 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-08-23 22:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600871936001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600871936001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:22:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:22:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600871936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":161091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:22:10] local.INFO: GPS data processed {"connection_id":161091,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:22:10] local.INFO: Acknowledgment sent {"connection_id":161091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:22:28] local.INFO: TCP Data received {"connection_id":163444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:22:28] local.INFO: Processing buffer {"connection_id":163444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:22:28] local.INFO: IMEI packet received {"connection_id":163444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":163444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:22:33] local.INFO: TCP Data received {"connection_id":163444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:22:33] local.INFO: Processing buffer {"connection_id":163444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:22:33] local.INFO: IMEI packet received {"connection_id":163444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":163444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:22:34] local.INFO: TCP Data received {"connection_id":163444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:22:34] local.INFO: Processing buffer {"connection_id":163444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:22:34] local.INFO: Packet analysis {"connection_id":163444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:22:34] local.INFO: Extracted packet for processing {"connection_id":163444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:22:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600871936001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787503707000,"timestamp_ms":1787503707000,"timestamp_seconds":1787503707,"priority":1,"record_length":96,"hex_timestamp":"000001a02f860378"} 
[2026-08-23 22:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:22: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-08-23 22:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600871936001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600871936001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:22:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:22:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600871936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":163444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:22:34] local.INFO: GPS data processed {"connection_id":163444,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:22:34] local.INFO: Acknowledgment sent {"connection_id":163444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:22:45] local.INFO: TCP Data received {"connection_id":162041,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:22:45] local.INFO: Processing buffer {"connection_id":162041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:22:45] local.INFO: IMEI packet received {"connection_id":162041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":162041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:22:50] local.INFO: TCP Data received {"connection_id":162041,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:22:50] local.INFO: Processing buffer {"connection_id":162041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:22:50] local.INFO: IMEI packet received {"connection_id":162041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":162041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:22:51] local.INFO: TCP Data received {"connection_id":162041,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:22:51] local.INFO: Processing buffer {"connection_id":162041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:22:51] local.INFO: Packet analysis {"connection_id":162041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:22:51] local.INFO: Extracted packet for processing {"connection_id":162041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:22:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600878080001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787503731000,"timestamp_ms":1787503731000,"timestamp_seconds":1787503731,"priority":1,"record_length":96,"hex_timestamp":"000001a02f866138"} 
[2026-08-23 22:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:22: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-08-23 22:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:22: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-08-23 22:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600878080001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600878080001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:22:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:22:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600878080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":162041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:22:51] local.INFO: GPS data processed {"connection_id":162041,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:22:51] local.INFO: Acknowledgment sent {"connection_id":162041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:23:05] local.INFO: TCP Data received {"connection_id":163444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:23:05] local.INFO: Processing buffer {"connection_id":163444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:23:05] local.INFO: Packet analysis {"connection_id":163444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:23:05] local.INFO: Extracted packet for processing {"connection_id":163444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600871936001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787503707000,"timestamp_ms":1787503707000,"timestamp_seconds":1787503707,"priority":1,"record_length":96,"hex_timestamp":"000001a02f860378"} 
[2026-08-23 22:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:23:05] 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-08-23 22:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600871936001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600871936001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:23:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:23:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600871936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":163444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:23:05] local.INFO: GPS data processed {"connection_id":163444,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:23:05] local.INFO: Acknowledgment sent {"connection_id":163444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:23:23] local.INFO: TCP Data received {"connection_id":162041,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:23:23] local.INFO: Processing buffer {"connection_id":162041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:23:23] local.INFO: Packet analysis {"connection_id":162041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:23:23] local.INFO: Extracted packet for processing {"connection_id":162041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:23:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600878080001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787503731000,"timestamp_ms":1787503731000,"timestamp_seconds":1787503731,"priority":1,"record_length":96,"hex_timestamp":"000001a02f866138"} 
[2026-08-23 22:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:23: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-08-23 22:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:23:23] 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-08-23 22:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600878080001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600878080001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:23:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:23:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600878080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":162041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:23:23] local.INFO: GPS data processed {"connection_id":162041,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:23:23] local.INFO: Acknowledgment sent {"connection_id":162041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:23:30] local.INFO: TCP Data received {"connection_id":161092,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:23:30] local.INFO: Processing buffer {"connection_id":161092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:23:30] local.INFO: IMEI packet received {"connection_id":161092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":161092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:23:33] local.INFO: TCP Data received {"connection_id":161092,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:23:33] local.INFO: Processing buffer {"connection_id":161092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:23:33] local.INFO: IMEI packet received {"connection_id":161092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":161092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:23:34] local.INFO: TCP Data received {"connection_id":161092,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:23:34] local.INFO: Processing buffer {"connection_id":161092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:23:34] local.INFO: Packet analysis {"connection_id":161092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:23:34] local.INFO: Extracted packet for processing {"connection_id":161092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:23:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600871936001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787503707000,"timestamp_ms":1787503707000,"timestamp_seconds":1787503707,"priority":1,"record_length":96,"hex_timestamp":"000001a02f860378"} 
[2026-08-23 22:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:23: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-08-23 22:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600871936001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600871936001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:23:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:23:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600871936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":161092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:23:34] local.INFO: GPS data processed {"connection_id":161092,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:23:34] local.INFO: Acknowledgment sent {"connection_id":161092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:23:38] local.INFO: TCP Data received {"connection_id":161092,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:23:38] local.INFO: Processing buffer {"connection_id":161092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f860378012d196580071fef380046010e26..."} 
[2026-08-23 22:23:38] local.INFO: Packet analysis {"connection_id":161092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:23:38] local.INFO: Extracted packet for processing {"connection_id":161092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:23:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600871936001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787503707000,"timestamp_ms":1787503707000,"timestamp_seconds":1787503707,"priority":1,"record_length":96,"hex_timestamp":"000001a02f860378"} 
[2026-08-23 22:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:23:38] 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-08-23 22:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600871936001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600871936001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:23:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:23:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600871936001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":161092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:23:39] local.INFO: GPS data processed {"connection_id":161092,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:23:39] local.INFO: Acknowledgment sent {"connection_id":161092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:23:45] local.INFO: TCP Data received {"connection_id":161093,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:23:45] local.INFO: Processing buffer {"connection_id":161093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:23:45] local.INFO: IMEI packet received {"connection_id":161093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":161093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:23:50] local.INFO: TCP Data received {"connection_id":161093,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:23:50] local.INFO: Processing buffer {"connection_id":161093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:23:50] local.INFO: IMEI packet received {"connection_id":161093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":161093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:23:51] local.INFO: TCP Data received {"connection_id":161093,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:23:51] local.INFO: Processing buffer {"connection_id":161093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:23:51] local.INFO: Packet analysis {"connection_id":161093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:23:51] local.INFO: Extracted packet for processing {"connection_id":161093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:23:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600878080001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787503731000,"timestamp_ms":1787503731000,"timestamp_seconds":1787503731,"priority":1,"record_length":96,"hex_timestamp":"000001a02f866138"} 
[2026-08-23 22:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:23: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-08-23 22:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600878080001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600878080001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:23:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:23:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600878080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":161093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:23:52] local.INFO: GPS data processed {"connection_id":161093,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:23:52] local.INFO: Acknowledgment sent {"connection_id":161093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:24:09] local.INFO: TCP Data received {"connection_id":161092,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:24:09] local.INFO: Processing buffer {"connection_id":161092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:24:09] local.INFO: Packet analysis {"connection_id":161092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:24:09] local.INFO: Extracted packet for processing {"connection_id":161092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:24:09] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600948992001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787504008000,"timestamp_ms":1787504008000,"timestamp_seconds":1787504008,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8a9b40"} 
[2026-08-23 22:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600948992001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600948992001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:24:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:24:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600948992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":161092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:24:09] local.INFO: GPS data processed {"connection_id":161092,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:24:09] local.INFO: Acknowledgment sent {"connection_id":161092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:24:23] local.INFO: TCP Data received {"connection_id":161093,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:24:23] local.INFO: Processing buffer {"connection_id":161093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f866138012d34c58006aa4060000a011426..."} 
[2026-08-23 22:24:23] local.INFO: Packet analysis {"connection_id":161093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:24:23] local.INFO: Extracted packet for processing {"connection_id":161093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f86"} 
[2026-08-23 22:24:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600878080001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787503731000,"timestamp_ms":1787503731000,"timestamp_seconds":1787503731,"priority":1,"record_length":96,"hex_timestamp":"000001a02f866138"} 
[2026-08-23 22:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:24: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-08-23 22:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:24:23] 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-08-23 22:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600878080001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600878080001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:24:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:24:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600878080001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":161093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:24:23] local.INFO: GPS data processed {"connection_id":161093,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:24:23] local.INFO: Acknowledgment sent {"connection_id":161093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:24:28] local.INFO: TCP Data received {"connection_id":160850,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:24:28] local.INFO: Processing buffer {"connection_id":160850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:24:28] local.INFO: IMEI packet received {"connection_id":160850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":160850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:24:33] local.INFO: TCP Data received {"connection_id":160850,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:24:33] local.INFO: Processing buffer {"connection_id":160850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:24:33] local.INFO: IMEI packet received {"connection_id":160850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":160850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:24:40] local.INFO: TCP Data received {"connection_id":160850,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:24:40] local.INFO: Processing buffer {"connection_id":160850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:24:40] local.INFO: Packet analysis {"connection_id":160850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:24:40] local.INFO: Extracted packet for processing {"connection_id":160850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:24:40] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600948992001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787504008000,"timestamp_ms":1787504008000,"timestamp_seconds":1787504008,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8a9b40"} 
[2026-08-23 22:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600948992001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600948992001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:24:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:24:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600948992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":160850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:24:40] local.INFO: GPS data processed {"connection_id":160850,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:24:40] local.INFO: Acknowledgment sent {"connection_id":160850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:24:45] local.INFO: TCP Data received {"connection_id":160851,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:24:45] local.INFO: Processing buffer {"connection_id":160851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:24:45] local.INFO: IMEI packet received {"connection_id":160851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":160851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:24:50] local.INFO: TCP Data received {"connection_id":160851,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:24:50] local.INFO: Processing buffer {"connection_id":160851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:24:50] local.INFO: IMEI packet received {"connection_id":160851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":160851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:24:51] local.INFO: TCP Data received {"connection_id":160851,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:24:51] local.INFO: Processing buffer {"connection_id":160851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:24:51] local.INFO: Packet analysis {"connection_id":160851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:24:51] local.INFO: Extracted packet for processing {"connection_id":160851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:24:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600955136001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787504032000,"timestamp_ms":1787504032000,"timestamp_seconds":1787504032,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8af900"} 
[2026-08-23 22:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:24: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-08-23 22:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 22:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600955136001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600955136001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:24:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:24:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600955136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":160851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:24:51] local.INFO: GPS data processed {"connection_id":160851,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:24:51] local.INFO: Acknowledgment sent {"connection_id":160851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:25:11] local.INFO: TCP Data received {"connection_id":160850,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:25:11] local.INFO: Processing buffer {"connection_id":160850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:25:11] local.INFO: Packet analysis {"connection_id":160850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:25:11] local.INFO: Extracted packet for processing {"connection_id":160850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600948992001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787504008000,"timestamp_ms":1787504008000,"timestamp_seconds":1787504008,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8a9b40"} 
[2026-08-23 22:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600948992001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600948992001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:25:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:25:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600948992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":160850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:25:11] local.INFO: GPS data processed {"connection_id":160850,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:25:11] local.INFO: Acknowledgment sent {"connection_id":160850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:25:23] local.INFO: TCP Data received {"connection_id":160851,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:25:23] local.INFO: Processing buffer {"connection_id":160851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:25:23] local.INFO: Packet analysis {"connection_id":160851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:25:23] local.INFO: Extracted packet for processing {"connection_id":160851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:25:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600955136001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787504032000,"timestamp_ms":1787504032000,"timestamp_seconds":1787504032,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8af900"} 
[2026-08-23 22:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:25: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-08-23 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 22:25: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-08-23 22: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-08-23 22:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:25:23] 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-08-23 22:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600955136001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600955136001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:25:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:25:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600955136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":160851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:25:23] local.INFO: GPS data processed {"connection_id":160851,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:25:23] local.INFO: Acknowledgment sent {"connection_id":160851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:25:28] local.INFO: TCP Data received {"connection_id":160852,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:25:28] local.INFO: Processing buffer {"connection_id":160852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:25:28] local.INFO: IMEI packet received {"connection_id":160852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":160852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:25:33] local.INFO: TCP Data received {"connection_id":160852,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:25:33] local.INFO: Processing buffer {"connection_id":160852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:25:33] local.INFO: IMEI packet received {"connection_id":160852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":160852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:25:34] local.INFO: TCP Data received {"connection_id":160852,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:25:34] local.INFO: Processing buffer {"connection_id":160852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:25:34] local.INFO: Packet analysis {"connection_id":160852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:25:34] local.INFO: Extracted packet for processing {"connection_id":160852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:25:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600948992001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787504008000,"timestamp_ms":1787504008000,"timestamp_seconds":1787504008,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8a9b40"} 
[2026-08-23 22:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600948992001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600948992001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:25:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:25:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600948992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":160852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:25:34] local.INFO: GPS data processed {"connection_id":160852,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:25:34] local.INFO: Acknowledgment sent {"connection_id":160852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:25:45] local.INFO: TCP Data received {"connection_id":162042,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:25:45] local.INFO: Processing buffer {"connection_id":162042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:25:45] local.INFO: IMEI packet received {"connection_id":162042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":162042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:25:50] local.INFO: TCP Data received {"connection_id":162042,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:25:50] local.INFO: Processing buffer {"connection_id":162042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:25:50] local.INFO: IMEI packet received {"connection_id":162042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":162042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:25:51] local.INFO: TCP Data received {"connection_id":162042,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:25:51] local.INFO: Processing buffer {"connection_id":162042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:25:51] local.INFO: Packet analysis {"connection_id":162042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:25:51] local.INFO: Extracted packet for processing {"connection_id":162042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:25:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600955136001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787504032000,"timestamp_ms":1787504032000,"timestamp_seconds":1787504032,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8af900"} 
[2026-08-23 22:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22: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-08-23 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 22:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600955136001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600955136001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:25:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:25:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600955136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":162042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:25:51] local.INFO: GPS data processed {"connection_id":162042,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:25:51] local.INFO: Acknowledgment sent {"connection_id":162042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:26:05] local.INFO: TCP Data received {"connection_id":160852,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:26:05] local.INFO: Processing buffer {"connection_id":160852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:26:05] local.INFO: Packet analysis {"connection_id":160852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:26:05] local.INFO: Extracted packet for processing {"connection_id":160852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600948992001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787504008000,"timestamp_ms":1787504008000,"timestamp_seconds":1787504008,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8a9b40"} 
[2026-08-23 22:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600948992001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600948992001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:26:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600948992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":160852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:26:05] local.INFO: GPS data processed {"connection_id":160852,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:26:05] local.INFO: Acknowledgment sent {"connection_id":160852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:26:22] local.INFO: TCP Data received {"connection_id":162042,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:26:22] local.INFO: Processing buffer {"connection_id":162042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:26:22] local.INFO: Packet analysis {"connection_id":162042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:26:22] local.INFO: Extracted packet for processing {"connection_id":162042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:26:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600955136001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787504032000,"timestamp_ms":1787504032000,"timestamp_seconds":1787504032,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8af900"} 
[2026-08-23 22:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:26: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-08-23 22:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 22:26: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-08-23 22:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:26: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-08-23 22:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600955136001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600955136001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:26:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:26:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600955136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":162042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:26:22] local.INFO: GPS data processed {"connection_id":162042,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:26:22] local.INFO: Acknowledgment sent {"connection_id":162042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:26:33] local.INFO: TCP Data received {"connection_id":161094,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:26:33] local.INFO: Processing buffer {"connection_id":161094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:26:33] local.INFO: IMEI packet received {"connection_id":161094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":161094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:26:38] local.INFO: TCP Data received {"connection_id":161094,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:26:38] local.INFO: Processing buffer {"connection_id":161094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:26:38] local.INFO: IMEI packet received {"connection_id":161094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":161094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:26:39] local.INFO: TCP Data received {"connection_id":161094,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:26:39] local.INFO: Processing buffer {"connection_id":161094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:26:39] local.INFO: Packet analysis {"connection_id":161094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:26:39] local.INFO: Extracted packet for processing {"connection_id":161094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:26:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600948992001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787504008000,"timestamp_ms":1787504008000,"timestamp_seconds":1787504008,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8a9b40"} 
[2026-08-23 22:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600948992001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600948992001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:26:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:26:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600948992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":161094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:26:39] local.INFO: GPS data processed {"connection_id":161094,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:26:39] local.INFO: Acknowledgment sent {"connection_id":161094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:26:43] local.INFO: TCP Data received {"connection_id":161094,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:26:44] local.INFO: Processing buffer {"connection_id":161094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:26:44] local.INFO: Packet analysis {"connection_id":161094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:26:44] local.INFO: Extracted packet for processing {"connection_id":161094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:26:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600948992001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787504008000,"timestamp_ms":1787504008000,"timestamp_seconds":1787504008,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8a9b40"} 
[2026-08-23 22:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600948992001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600948992001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:26:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:26:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600948992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":161094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:26:44] local.INFO: GPS data processed {"connection_id":161094,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:26:44] local.INFO: Acknowledgment sent {"connection_id":161094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:26:45] local.INFO: TCP Data received {"connection_id":160853,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:26:45] local.INFO: Processing buffer {"connection_id":160853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:26:45] local.INFO: IMEI packet received {"connection_id":160853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":160853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:26:50] local.INFO: TCP Data received {"connection_id":160853,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:26:50] local.INFO: Processing buffer {"connection_id":160853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:26:50] local.INFO: IMEI packet received {"connection_id":160853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":160853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:26:53] local.INFO: TCP Data received {"connection_id":160853,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:26:53] local.INFO: Processing buffer {"connection_id":160853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:26:53] local.INFO: Packet analysis {"connection_id":160853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:26:53] local.INFO: Extracted packet for processing {"connection_id":160853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600955136001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787504032000,"timestamp_ms":1787504032000,"timestamp_seconds":1787504032,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8af900"} 
[2026-08-23 22:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:26: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-08-23 22:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 22:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:26:53] 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-08-23 22:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600955136001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600955136001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:26:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600955136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":160853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:26:53] local.INFO: GPS data processed {"connection_id":160853,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:26:53] local.INFO: Acknowledgment sent {"connection_id":160853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:27:26] local.INFO: TCP Data received {"connection_id":160853,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:27:26] local.INFO: Processing buffer {"connection_id":160853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:27:26] local.INFO: Packet analysis {"connection_id":160853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:27:26] local.INFO: Extracted packet for processing {"connection_id":160853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:27:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600955136001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787504032000,"timestamp_ms":1787504032000,"timestamp_seconds":1787504032,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8af900"} 
[2026-08-23 22:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:27: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-08-23 22:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 22:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:27:26] 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-08-23 22:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600955136001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600955136001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:27:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:27:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600955136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":160853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:27:26] local.INFO: GPS data processed {"connection_id":160853,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:27:26] local.INFO: Acknowledgment sent {"connection_id":160853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:27:28] local.INFO: TCP Data received {"connection_id":161095,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:27:28] local.INFO: Processing buffer {"connection_id":161095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:27:28] local.INFO: IMEI packet received {"connection_id":161095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":161095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:27:33] local.INFO: TCP Data received {"connection_id":161095,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:27:33] local.INFO: Processing buffer {"connection_id":161095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:27:33] local.INFO: IMEI packet received {"connection_id":161095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":161095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:27:34] local.INFO: TCP Data received {"connection_id":161095,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:27:34] local.INFO: Processing buffer {"connection_id":161095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:27:34] local.INFO: Packet analysis {"connection_id":161095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:27:34] local.INFO: Extracted packet for processing {"connection_id":161095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:27:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600948992001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787504008000,"timestamp_ms":1787504008000,"timestamp_seconds":1787504008,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8a9b40"} 
[2026-08-23 22:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600948992001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600948992001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:27:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:27:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600948992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":161095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:27:34] local.INFO: GPS data processed {"connection_id":161095,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:27:34] local.INFO: Acknowledgment sent {"connection_id":161095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:27:50] local.INFO: TCP Data received {"connection_id":163445,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:27:50] local.INFO: Processing buffer {"connection_id":163445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:27:50] local.INFO: IMEI packet received {"connection_id":163445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":163445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:27:55] local.INFO: TCP Data received {"connection_id":163445,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:27:55] local.INFO: Processing buffer {"connection_id":163445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:27:55] local.INFO: IMEI packet received {"connection_id":163445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":163445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:27:56] local.INFO: TCP Data received {"connection_id":163445,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:27:56] local.INFO: Processing buffer {"connection_id":163445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:27:56] local.INFO: Packet analysis {"connection_id":163445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:27:56] local.INFO: Extracted packet for processing {"connection_id":163445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:27:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600955136001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787504032000,"timestamp_ms":1787504032000,"timestamp_seconds":1787504032,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8af900"} 
[2026-08-23 22:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 22:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600955136001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600955136001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:27:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:27:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600955136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":163445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:27:56] local.INFO: GPS data processed {"connection_id":163445,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:27:56] local.INFO: Acknowledgment sent {"connection_id":163445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:28:00] local.INFO: TCP Data received {"connection_id":163445,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:28:00] local.INFO: Processing buffer {"connection_id":163445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:28:00] local.INFO: Packet analysis {"connection_id":163445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:28:00] local.INFO: Extracted packet for processing {"connection_id":163445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:28:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600955136001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787504032000,"timestamp_ms":1787504032000,"timestamp_seconds":1787504032,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8af900"} 
[2026-08-23 22:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 22:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600955136001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600955136001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:28:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:28:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600955136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":163445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:28:00] local.INFO: GPS data processed {"connection_id":163445,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:28:00] local.INFO: Acknowledgment sent {"connection_id":163445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:28:05] local.INFO: TCP Data received {"connection_id":161095,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:28:05] local.INFO: Processing buffer {"connection_id":161095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:28:05] local.INFO: Packet analysis {"connection_id":161095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:28:05] local.INFO: Extracted packet for processing {"connection_id":161095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600948992001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787504008000,"timestamp_ms":1787504008000,"timestamp_seconds":1787504008,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8a9b40"} 
[2026-08-23 22:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600948992001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600948992001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:28:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:28:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600948992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":161095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:28:05] local.INFO: GPS data processed {"connection_id":161095,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:28:05] local.INFO: Acknowledgment sent {"connection_id":161095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:28:28] local.INFO: TCP Data received {"connection_id":162043,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:28:28] local.INFO: Processing buffer {"connection_id":162043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:28:28] local.INFO: IMEI packet received {"connection_id":162043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":162043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:28:33] local.INFO: TCP Data received {"connection_id":162043,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:28:33] local.INFO: Processing buffer {"connection_id":162043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:28:33] local.INFO: IMEI packet received {"connection_id":162043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":162043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:28:34] local.INFO: TCP Data received {"connection_id":162043,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:28:34] local.INFO: Processing buffer {"connection_id":162043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:28:34] local.INFO: Packet analysis {"connection_id":162043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:28:34] local.INFO: Extracted packet for processing {"connection_id":162043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:28:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600948992001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787504008000,"timestamp_ms":1787504008000,"timestamp_seconds":1787504008,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8a9b40"} 
[2026-08-23 22:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600948992001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600948992001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:28:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:28:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600948992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":162043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:28:34] local.INFO: GPS data processed {"connection_id":162043,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:28:34] local.INFO: Acknowledgment sent {"connection_id":162043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:28:45] local.INFO: TCP Data received {"connection_id":162044,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:28:45] local.INFO: Processing buffer {"connection_id":162044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:28:45] local.INFO: IMEI packet received {"connection_id":162044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":162044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:28:50] local.INFO: TCP Data received {"connection_id":162044,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:28:50] local.INFO: Processing buffer {"connection_id":162044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:28:50] local.INFO: IMEI packet received {"connection_id":162044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":162044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:28:55] local.INFO: TCP Data received {"connection_id":162044,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:28:55] local.INFO: Processing buffer {"connection_id":162044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:28:55] local.INFO: IMEI packet received {"connection_id":162044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":162044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:28:56] local.INFO: TCP Data received {"connection_id":162044,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:28:56] local.INFO: Processing buffer {"connection_id":162044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:28:56] local.INFO: Packet analysis {"connection_id":162044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:28:56] local.INFO: Extracted packet for processing {"connection_id":162044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:28:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600955136001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787504032000,"timestamp_ms":1787504032000,"timestamp_seconds":1787504032,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8af900"} 
[2026-08-23 22:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 22:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600955136001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600955136001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:28:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:28:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600955136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":162044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:28:56] local.INFO: GPS data processed {"connection_id":162044,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:28:56] local.INFO: Acknowledgment sent {"connection_id":162044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:29:05] local.INFO: TCP Data received {"connection_id":162043,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:29:05] local.INFO: Processing buffer {"connection_id":162043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8a9b40012d196580071fef380046010e28..."} 
[2026-08-23 22:29:05] local.INFO: Packet analysis {"connection_id":162043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:29:05] local.INFO: Extracted packet for processing {"connection_id":162043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600948992001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787504008000,"timestamp_ms":1787504008000,"timestamp_seconds":1787504008,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8a9b40"} 
[2026-08-23 22:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600948992001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600948992001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:29:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600948992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":162043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:29:05] local.INFO: GPS data processed {"connection_id":162043,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:29:05] local.INFO: Acknowledgment sent {"connection_id":162043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:29:29] local.INFO: TCP Data received {"connection_id":162044,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:29:29] local.INFO: Processing buffer {"connection_id":162044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8af900012d34c58006aa4060000a011425..."} 
[2026-08-23 22:29:29] local.INFO: Packet analysis {"connection_id":162044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:29:29] local.INFO: Extracted packet for processing {"connection_id":162044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8a"} 
[2026-08-23 22:29:29] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457600955136001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787504032000,"timestamp_ms":1787504032000,"timestamp_seconds":1787504032,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8af900"} 
[2026-08-23 22:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:29: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-08-23 22:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 22:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":162044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":162044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":162044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457600955136001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457600955136001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:29:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:29:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457600955136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":162044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:29:29] local.INFO: GPS data processed {"connection_id":162044,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:29:29] local.INFO: Acknowledgment sent {"connection_id":162044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:29:33] local.INFO: TCP Data received {"connection_id":160854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:29:33] local.INFO: Processing buffer {"connection_id":160854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:29:33] local.INFO: IMEI packet received {"connection_id":160854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":160854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:29:38] local.INFO: TCP Data received {"connection_id":160854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:29:38] local.INFO: Processing buffer {"connection_id":160854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:29:38] local.INFO: IMEI packet received {"connection_id":160854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":160854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:29:39] local.INFO: TCP Data received {"connection_id":160854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:29:39] local.INFO: Processing buffer {"connection_id":160854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:29:39] local.INFO: Packet analysis {"connection_id":160854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:29:39] local.INFO: Extracted packet for processing {"connection_id":160854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:29:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601026048001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787504309000,"timestamp_ms":1787504309000,"timestamp_seconds":1787504309,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f3308"} 
[2026-08-23 22:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601026048001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601026048001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:29:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:29:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601026048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":160854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:29:39] local.INFO: GPS data processed {"connection_id":160854,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:29:39] local.INFO: Acknowledgment sent {"connection_id":160854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:29:43] local.INFO: TCP Data received {"connection_id":160854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:29:43] local.INFO: Processing buffer {"connection_id":160854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:29:43] local.INFO: Packet analysis {"connection_id":160854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:29:43] local.INFO: Extracted packet for processing {"connection_id":160854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:29:43] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601026048001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787504309000,"timestamp_ms":1787504309000,"timestamp_seconds":1787504309,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f3308"} 
[2026-08-23 22:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601026048001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601026048001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:29:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:29:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601026048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":160854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:29:43] local.INFO: GPS data processed {"connection_id":160854,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:29:43] local.INFO: Acknowledgment sent {"connection_id":160854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:29:45] local.INFO: TCP Data received {"connection_id":162045,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:29:45] local.INFO: Processing buffer {"connection_id":162045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:29:45] local.INFO: IMEI packet received {"connection_id":162045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":162045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:29:50] local.INFO: TCP Data received {"connection_id":162045,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:29:50] local.INFO: Processing buffer {"connection_id":162045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:29:50] local.INFO: IMEI packet received {"connection_id":162045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":162045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:29:51] local.INFO: TCP Data received {"connection_id":162045,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:29:51] local.INFO: Processing buffer {"connection_id":162045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:29:51] local.INFO: Packet analysis {"connection_id":162045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:29:51] local.INFO: Extracted packet for processing {"connection_id":162045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:29:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601032192001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787504333000,"timestamp_ms":1787504333000,"timestamp_seconds":1787504333,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f90c8"} 
[2026-08-23 22:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:29: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-08-23 22:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601032192001,"66":25288,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601032192001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:29:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:29:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601032192001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":162045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:29:51] local.INFO: GPS data processed {"connection_id":162045,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:29:51] local.INFO: Acknowledgment sent {"connection_id":162045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:30:23] local.INFO: TCP Data received {"connection_id":162045,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:30:23] local.INFO: Processing buffer {"connection_id":162045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:30:23] local.INFO: Packet analysis {"connection_id":162045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:30:23] local.INFO: Extracted packet for processing {"connection_id":162045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:30:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601032192001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787504333000,"timestamp_ms":1787504333000,"timestamp_seconds":1787504333,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f90c8"} 
[2026-08-23 22:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:30: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-08-23 22:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:30:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:30:23] 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-08-23 22:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601032192001,"66":25288,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601032192001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:30:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:30:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601032192001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":162045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:30:23] local.INFO: GPS data processed {"connection_id":162045,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:30:23] local.INFO: Acknowledgment sent {"connection_id":162045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:30:28] local.INFO: TCP Data received {"connection_id":160855,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:30:28] local.INFO: Processing buffer {"connection_id":160855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:30:28] local.INFO: IMEI packet received {"connection_id":160855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":160855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:30:33] local.INFO: TCP Data received {"connection_id":160855,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:30:33] local.INFO: Processing buffer {"connection_id":160855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:30:33] local.INFO: IMEI packet received {"connection_id":160855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":160855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:30:34] local.INFO: TCP Data received {"connection_id":160855,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:30:34] local.INFO: Processing buffer {"connection_id":160855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:30:34] local.INFO: Packet analysis {"connection_id":160855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:30:34] local.INFO: Extracted packet for processing {"connection_id":160855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:30:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601026048001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787504309000,"timestamp_ms":1787504309000,"timestamp_seconds":1787504309,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f3308"} 
[2026-08-23 22:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601026048001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601026048001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:30:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:30:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601026048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":160855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:30:34] local.INFO: GPS data processed {"connection_id":160855,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:30:34] local.INFO: Acknowledgment sent {"connection_id":160855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:30:38] local.INFO: TCP Data received {"connection_id":160855,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:30:38] local.INFO: Processing buffer {"connection_id":160855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:30:38] local.INFO: Packet analysis {"connection_id":160855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:30:38] local.INFO: Extracted packet for processing {"connection_id":160855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:30:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601026048001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787504309000,"timestamp_ms":1787504309000,"timestamp_seconds":1787504309,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f3308"} 
[2026-08-23 22:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601026048001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601026048001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:30:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:30:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601026048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":160855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:30:39] local.INFO: GPS data processed {"connection_id":160855,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:30:39] local.INFO: Acknowledgment sent {"connection_id":160855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:30:50] local.INFO: TCP Data received {"connection_id":161096,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:30:50] local.INFO: Processing buffer {"connection_id":161096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:30:50] local.INFO: IMEI packet received {"connection_id":161096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":161096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:30:55] local.INFO: TCP Data received {"connection_id":161096,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:30:55] local.INFO: Processing buffer {"connection_id":161096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:30:55] local.INFO: IMEI packet received {"connection_id":161096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":161096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:30:56] local.INFO: TCP Data received {"connection_id":161096,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:30:56] local.INFO: Processing buffer {"connection_id":161096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:30:56] local.INFO: Packet analysis {"connection_id":161096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:30:56] local.INFO: Extracted packet for processing {"connection_id":161096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:30:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601032192001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787504333000,"timestamp_ms":1787504333000,"timestamp_seconds":1787504333,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f90c8"} 
[2026-08-23 22:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601032192001,"66":25288,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601032192001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:30:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:30:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601032192001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":161096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:30:56] local.INFO: GPS data processed {"connection_id":161096,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:30:56] local.INFO: Acknowledgment sent {"connection_id":161096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:31:01] local.INFO: TCP Data received {"connection_id":161096,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:31:01] local.INFO: Processing buffer {"connection_id":161096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:31:01] local.INFO: Packet analysis {"connection_id":161096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:31:01] local.INFO: Extracted packet for processing {"connection_id":161096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:31:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601032192001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787504333000,"timestamp_ms":1787504333000,"timestamp_seconds":1787504333,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f90c8"} 
[2026-08-23 22:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601032192001,"66":25288,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601032192001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:31:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:31:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601032192001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":161096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:31:01] local.INFO: GPS data processed {"connection_id":161096,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:31:01] local.INFO: Acknowledgment sent {"connection_id":161096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:31:05] local.INFO: TCP Data received {"connection_id":161096,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:31:05] local.INFO: Processing buffer {"connection_id":161096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:31:05] local.INFO: Packet analysis {"connection_id":161096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:31:05] local.INFO: Extracted packet for processing {"connection_id":161096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:31:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601032192001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787504333000,"timestamp_ms":1787504333000,"timestamp_seconds":1787504333,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f90c8"} 
[2026-08-23 22:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:31:05] 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-08-23 22:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601032192001,"66":25288,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601032192001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:31:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:31:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601032192001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":161096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:31:05] local.INFO: GPS data processed {"connection_id":161096,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:31:05] local.INFO: Acknowledgment sent {"connection_id":161096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:31:09] local.INFO: TCP Data received {"connection_id":160855,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:31:09] local.INFO: Processing buffer {"connection_id":160855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:31:09] local.INFO: Packet analysis {"connection_id":160855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:31:09] local.INFO: Extracted packet for processing {"connection_id":160855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:31:09] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601026048001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787504309000,"timestamp_ms":1787504309000,"timestamp_seconds":1787504309,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f3308"} 
[2026-08-23 22:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601026048001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601026048001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:31:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:31:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601026048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":160855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:31:10] local.INFO: GPS data processed {"connection_id":160855,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:31:10] local.INFO: Acknowledgment sent {"connection_id":160855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:31:28] local.INFO: TCP Data received {"connection_id":161097,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:31:28] local.INFO: Processing buffer {"connection_id":161097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:31:28] local.INFO: IMEI packet received {"connection_id":161097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":161097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:31:33] local.INFO: TCP Data received {"connection_id":161097,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:31:33] local.INFO: Processing buffer {"connection_id":161097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:31:33] local.INFO: IMEI packet received {"connection_id":161097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":161097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:31:34] local.INFO: TCP Data received {"connection_id":161097,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:31:34] local.INFO: Processing buffer {"connection_id":161097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:31:34] local.INFO: Packet analysis {"connection_id":161097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:31:34] local.INFO: Extracted packet for processing {"connection_id":161097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:31:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601026048001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787504309000,"timestamp_ms":1787504309000,"timestamp_seconds":1787504309,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f3308"} 
[2026-08-23 22:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601026048001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601026048001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:31:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:31:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601026048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":161097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:31:34] local.INFO: GPS data processed {"connection_id":161097,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:31:34] local.INFO: Acknowledgment sent {"connection_id":161097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:31:48] local.INFO: TCP Data received {"connection_id":162046,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:31:48] local.INFO: Processing buffer {"connection_id":162046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:31:48] local.INFO: IMEI packet received {"connection_id":162046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":162046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:31:50] local.INFO: TCP Data received {"connection_id":162046,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:31:50] local.INFO: Processing buffer {"connection_id":162046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:31:50] local.INFO: IMEI packet received {"connection_id":162046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":162046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:31:52] local.INFO: TCP Data received {"connection_id":162046,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:31:52] local.INFO: Processing buffer {"connection_id":162046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:31:52] local.INFO: Packet analysis {"connection_id":162046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:31:52] local.INFO: Extracted packet for processing {"connection_id":162046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:31:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601032192001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787504333000,"timestamp_ms":1787504333000,"timestamp_seconds":1787504333,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f90c8"} 
[2026-08-23 22:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:31: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-08-23 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:31:52] 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-08-23 22:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601032192001,"66":25288,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601032192001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:31:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:31:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601032192001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":162046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:31:52] local.INFO: GPS data processed {"connection_id":162046,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:31:52] local.INFO: Acknowledgment sent {"connection_id":162046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:31:55] local.INFO: TCP Data received {"connection_id":162046,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:31:55] local.INFO: Processing buffer {"connection_id":162046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:31:55] local.INFO: Packet analysis {"connection_id":162046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:31:55] local.INFO: Extracted packet for processing {"connection_id":162046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:31:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601032192001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787504333000,"timestamp_ms":1787504333000,"timestamp_seconds":1787504333,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f90c8"} 
[2026-08-23 22:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:31:55] 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-08-23 22:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601032192001,"66":25288,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601032192001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:31:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:31:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601032192001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":162046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:31:55] local.INFO: GPS data processed {"connection_id":162046,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:31:55] local.INFO: Acknowledgment sent {"connection_id":162046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:32:05] local.INFO: TCP Data received {"connection_id":161097,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:32:05] local.INFO: Processing buffer {"connection_id":161097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:32:05] local.INFO: Packet analysis {"connection_id":161097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:32:05] local.INFO: Extracted packet for processing {"connection_id":161097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601026048001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787504309000,"timestamp_ms":1787504309000,"timestamp_seconds":1787504309,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f3308"} 
[2026-08-23 22:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601026048001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601026048001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:32:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:32:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601026048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":161097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:32:05] local.INFO: GPS data processed {"connection_id":161097,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:32:05] local.INFO: Acknowledgment sent {"connection_id":161097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:32:27] local.INFO: TCP Data received {"connection_id":162046,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:32:27] local.INFO: Processing buffer {"connection_id":162046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:32:27] local.INFO: Packet analysis {"connection_id":162046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:32:27] local.INFO: Extracted packet for processing {"connection_id":162046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:32:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601032192001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787504333000,"timestamp_ms":1787504333000,"timestamp_seconds":1787504333,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f90c8"} 
[2026-08-23 22:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:32: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-08-23 22:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601032192001,"66":25288,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601032192001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:32:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:32:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601032192001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":162046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:32:27] local.INFO: GPS data processed {"connection_id":162046,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:32:27] local.INFO: Acknowledgment sent {"connection_id":162046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:32:28] local.INFO: TCP Data received {"connection_id":162047,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:32:28] local.INFO: Processing buffer {"connection_id":162047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:32:28] local.INFO: IMEI packet received {"connection_id":162047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":162047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:32:33] local.INFO: TCP Data received {"connection_id":162047,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:32:33] local.INFO: Processing buffer {"connection_id":162047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:32:33] local.INFO: IMEI packet received {"connection_id":162047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":162047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:32:34] local.INFO: TCP Data received {"connection_id":162047,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:32:34] local.INFO: Processing buffer {"connection_id":162047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:32:34] local.INFO: Packet analysis {"connection_id":162047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:32:34] local.INFO: Extracted packet for processing {"connection_id":162047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:32:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601026048001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787504309000,"timestamp_ms":1787504309000,"timestamp_seconds":1787504309,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f3308"} 
[2026-08-23 22:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601026048001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601026048001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:32:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:32:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601026048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":162047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:32:34] local.INFO: GPS data processed {"connection_id":162047,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:32:34] local.INFO: Acknowledgment sent {"connection_id":162047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:32:57] local.INFO: TCP Data received {"connection_id":163446,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:32:57] local.INFO: Processing buffer {"connection_id":163446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:32:57] local.INFO: IMEI packet received {"connection_id":163446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":163446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:33:02] local.INFO: TCP Data received {"connection_id":163446,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:33:02] local.INFO: Processing buffer {"connection_id":163446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:33:02] local.INFO: IMEI packet received {"connection_id":163446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":163446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:33:03] local.INFO: TCP Data received {"connection_id":163446,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:33:03] local.INFO: Processing buffer {"connection_id":163446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:33:03] local.INFO: Packet analysis {"connection_id":163446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:33:03] local.INFO: Extracted packet for processing {"connection_id":163446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:33:03] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 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-08-23 22:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601032192001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787504333000,"timestamp_ms":1787504333000,"timestamp_seconds":1787504333,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f90c8"} 
[2026-08-23 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-08-23 22:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 22:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601032192001,"66":25288,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601032192001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:33:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:33:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601032192001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":163446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:33:03] local.INFO: GPS data processed {"connection_id":163446,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:33:03] local.INFO: Acknowledgment sent {"connection_id":163446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:33:05] local.INFO: TCP Data received {"connection_id":162047,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:33:05] local.INFO: Processing buffer {"connection_id":162047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:33:05] local.INFO: Packet analysis {"connection_id":162047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:33:05] local.INFO: Extracted packet for processing {"connection_id":162047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601026048001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787504309000,"timestamp_ms":1787504309000,"timestamp_seconds":1787504309,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f3308"} 
[2026-08-23 22:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601026048001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601026048001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:33:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:33:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601026048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":162047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:33:05] local.INFO: GPS data processed {"connection_id":162047,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:33:05] local.INFO: Acknowledgment sent {"connection_id":162047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:33:28] local.INFO: TCP Data received {"connection_id":163447,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:33:28] local.INFO: Processing buffer {"connection_id":163447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:33:28] local.INFO: IMEI packet received {"connection_id":163447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":163447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:33:33] local.INFO: TCP Data received {"connection_id":163447,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:33:33] local.INFO: Processing buffer {"connection_id":163447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:33:33] local.INFO: IMEI packet received {"connection_id":163447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":163447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:33:34] local.INFO: TCP Data received {"connection_id":163447,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:33:34] local.INFO: Processing buffer {"connection_id":163447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:33:34] local.INFO: Packet analysis {"connection_id":163447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:33:34] local.INFO: Extracted packet for processing {"connection_id":163447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:33:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601026048001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787504309000,"timestamp_ms":1787504309000,"timestamp_seconds":1787504309,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f3308"} 
[2026-08-23 22:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601026048001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601026048001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:33:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:33:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601026048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":163447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:33:34] local.INFO: GPS data processed {"connection_id":163447,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:33:34] local.INFO: Acknowledgment sent {"connection_id":163447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:33:48] local.INFO: TCP Data received {"connection_id":163446,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:33:48] local.INFO: Processing buffer {"connection_id":163446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:33:48] local.INFO: Packet analysis {"connection_id":163446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:33:48] local.INFO: Extracted packet for processing {"connection_id":163446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:33:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601032192001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787504333000,"timestamp_ms":1787504333000,"timestamp_seconds":1787504333,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f90c8"} 
[2026-08-23 22:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:33: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-08-23 22: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-08-23 22:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:33:48] 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-08-23 22:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601032192001,"66":25288,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601032192001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:33:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:33:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601032192001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":163446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:33:48] local.INFO: GPS data processed {"connection_id":163446,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:33:48] local.INFO: Acknowledgment sent {"connection_id":163446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:33:50] local.INFO: TCP Data received {"connection_id":160856,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:33:50] local.INFO: Processing buffer {"connection_id":160856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:33:50] local.INFO: IMEI packet received {"connection_id":160856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":160856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:33:56] local.INFO: TCP Data received {"connection_id":160856,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:33:56] local.INFO: Processing buffer {"connection_id":160856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:33:56] local.INFO: IMEI packet received {"connection_id":160856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":160856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:33:58] local.INFO: TCP Data received {"connection_id":160856,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:33:58] local.INFO: Processing buffer {"connection_id":160856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:33:58] local.INFO: Packet analysis {"connection_id":160856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:33:58] local.INFO: Extracted packet for processing {"connection_id":160856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:33:58] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601032192001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787504333000,"timestamp_ms":1787504333000,"timestamp_seconds":1787504333,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f90c8"} 
[2026-08-23 22:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601032192001,"66":25288,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601032192001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:33:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:33:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601032192001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":160856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:33:58] local.INFO: GPS data processed {"connection_id":160856,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:33:58] local.INFO: Acknowledgment sent {"connection_id":160856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:34:05] local.INFO: TCP Data received {"connection_id":163447,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:34:05] local.INFO: Processing buffer {"connection_id":163447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f3308012d196580071fef380046010e28..."} 
[2026-08-23 22:34:05] local.INFO: Packet analysis {"connection_id":163447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:34:05] local.INFO: Extracted packet for processing {"connection_id":163447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:34:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601026048001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787504309000,"timestamp_ms":1787504309000,"timestamp_seconds":1787504309,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f3308"} 
[2026-08-23 22:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601026048001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601026048001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:34:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:34:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601026048001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":163447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:34:06] local.INFO: GPS data processed {"connection_id":163447,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:34:06] local.INFO: Acknowledgment sent {"connection_id":163447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:34:28] local.INFO: TCP Data received {"connection_id":161098,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:34:28] local.INFO: Processing buffer {"connection_id":161098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:34:28] local.INFO: IMEI packet received {"connection_id":161098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":161098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:34:30] local.INFO: TCP Data received {"connection_id":160856,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:34:30] local.INFO: Processing buffer {"connection_id":160856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f8f90c8012d34c58006aa4060000a011422..."} 
[2026-08-23 22:34:30] local.INFO: Packet analysis {"connection_id":160856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:34:30] local.INFO: Extracted packet for processing {"connection_id":160856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f8f"} 
[2026-08-23 22:34:30] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601032192001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787504333000,"timestamp_ms":1787504333000,"timestamp_seconds":1787504333,"priority":1,"record_length":96,"hex_timestamp":"000001a02f8f90c8"} 
[2026-08-23 22:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601032192001,"66":25288,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601032192001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:34:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:34:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601032192001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":160856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:34:30] local.INFO: GPS data processed {"connection_id":160856,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:34:30] local.INFO: Acknowledgment sent {"connection_id":160856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:34:33] local.INFO: TCP Data received {"connection_id":161098,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:34:33] local.INFO: Processing buffer {"connection_id":161098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:34:33] local.INFO: IMEI packet received {"connection_id":161098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":161098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:34:34] local.INFO: TCP Data received {"connection_id":161098,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:34:34] local.INFO: Processing buffer {"connection_id":161098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:34:34] local.INFO: Packet analysis {"connection_id":161098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f93"} 
[2026-08-23 22:34:34] local.INFO: Extracted packet for processing {"connection_id":161098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f93"} 
[2026-08-23 22:34:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601103104001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787504610000,"timestamp_ms":1787504610000,"timestamp_seconds":1787504610,"priority":1,"record_length":96,"hex_timestamp":"000001a02f93cad0"} 
[2026-08-23 22:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601103104001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601103104001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:34:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:34:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601103104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":161098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:34:34] local.INFO: GPS data processed {"connection_id":161098,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:34:34] local.INFO: Acknowledgment sent {"connection_id":161098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:34:50] local.INFO: TCP Data received {"connection_id":162048,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:34:50] local.INFO: Processing buffer {"connection_id":162048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:34:50] local.INFO: IMEI packet received {"connection_id":162048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":162048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:34:55] local.INFO: TCP Data received {"connection_id":162048,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:34:55] local.INFO: Processing buffer {"connection_id":162048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:34:55] local.INFO: IMEI packet received {"connection_id":162048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":162048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:34:56] local.INFO: TCP Data received {"connection_id":162048,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:34:56] local.INFO: Processing buffer {"connection_id":162048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:34:56] local.INFO: Packet analysis {"connection_id":162048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f94"} 
[2026-08-23 22:34:56] local.INFO: Extracted packet for processing {"connection_id":162048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f94"} 
[2026-08-23 22:34:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601109248001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787504634000,"timestamp_ms":1787504634000,"timestamp_seconds":1787504634,"priority":1,"record_length":96,"hex_timestamp":"000001a02f942890"} 
[2026-08-23 22:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 22:34:56] 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-08-23 22:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601109248001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601109248001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:34:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:34:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601109248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":162048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:34:56] local.INFO: GPS data processed {"connection_id":162048,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:34:56] local.INFO: Acknowledgment sent {"connection_id":162048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:35:00] local.INFO: TCP Data received {"connection_id":162048,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:35:00] local.INFO: Processing buffer {"connection_id":162048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:35:00] local.INFO: Packet analysis {"connection_id":162048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f94"} 
[2026-08-23 22:35:00] local.INFO: Extracted packet for processing {"connection_id":162048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f94"} 
[2026-08-23 22:35:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601109248001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787504634000,"timestamp_ms":1787504634000,"timestamp_seconds":1787504634,"priority":1,"record_length":96,"hex_timestamp":"000001a02f942890"} 
[2026-08-23 22:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 22:35:00] 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-08-23 22:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601109248001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601109248001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:35:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:35:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601109248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":162048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:35:00] local.INFO: GPS data processed {"connection_id":162048,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:35:00] local.INFO: Acknowledgment sent {"connection_id":162048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:35:05] local.INFO: TCP Data received {"connection_id":161098,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:35:05] local.INFO: Processing buffer {"connection_id":161098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:35:05] local.INFO: Packet analysis {"connection_id":161098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f93"} 
[2026-08-23 22:35:05] local.INFO: Extracted packet for processing {"connection_id":161098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f93"} 
[2026-08-23 22:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601103104001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787504610000,"timestamp_ms":1787504610000,"timestamp_seconds":1787504610,"priority":1,"record_length":96,"hex_timestamp":"000001a02f93cad0"} 
[2026-08-23 22:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601103104001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601103104001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:35:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601103104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":161098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:35:05] local.INFO: GPS data processed {"connection_id":161098,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:35:05] local.INFO: Acknowledgment sent {"connection_id":161098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:35:33] local.INFO: TCP Data received {"connection_id":163448,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:35:33] local.INFO: Processing buffer {"connection_id":163448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:35:33] local.INFO: IMEI packet received {"connection_id":163448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":163448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:35:38] local.INFO: TCP Data received {"connection_id":163448,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:35:38] local.INFO: Processing buffer {"connection_id":163448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:35:38] local.INFO: IMEI packet received {"connection_id":163448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":163448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:35:40] local.INFO: TCP Data received {"connection_id":163448,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:35:40] local.INFO: Processing buffer {"connection_id":163448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:35:40] local.INFO: Packet analysis {"connection_id":163448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f93"} 
[2026-08-23 22:35:40] local.INFO: Extracted packet for processing {"connection_id":163448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f93"} 
[2026-08-23 22:35:40] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601103104001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787504610000,"timestamp_ms":1787504610000,"timestamp_seconds":1787504610,"priority":1,"record_length":96,"hex_timestamp":"000001a02f93cad0"} 
[2026-08-23 22:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:35:40] 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-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601103104001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601103104001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:35:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:35:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601103104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":163448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:35:40] local.INFO: GPS data processed {"connection_id":163448,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:35:40] local.INFO: Acknowledgment sent {"connection_id":163448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:35:43] local.INFO: TCP Data received {"connection_id":163448,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:35:43] local.INFO: Processing buffer {"connection_id":163448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:35:43] local.INFO: Packet analysis {"connection_id":163448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f93"} 
[2026-08-23 22:35:43] local.INFO: Extracted packet for processing {"connection_id":163448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f93"} 
[2026-08-23 22:35:43] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601103104001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787504610000,"timestamp_ms":1787504610000,"timestamp_seconds":1787504610,"priority":1,"record_length":96,"hex_timestamp":"000001a02f93cad0"} 
[2026-08-23 22:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601103104001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601103104001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:35:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:35:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601103104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":163448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:35:43] local.INFO: GPS data processed {"connection_id":163448,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:35:43] local.INFO: Acknowledgment sent {"connection_id":163448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:35:45] local.INFO: TCP Data received {"connection_id":161099,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:35:45] local.INFO: Processing buffer {"connection_id":161099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:35:45] local.INFO: IMEI packet received {"connection_id":161099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":161099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:35:50] local.INFO: TCP Data received {"connection_id":161099,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:35:50] local.INFO: Processing buffer {"connection_id":161099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:35:50] local.INFO: IMEI packet received {"connection_id":161099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":161099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:35:51] local.INFO: TCP Data received {"connection_id":161099,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:35:51] local.INFO: Processing buffer {"connection_id":161099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:35:51] local.INFO: Packet analysis {"connection_id":161099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f94"} 
[2026-08-23 22:35:51] local.INFO: Extracted packet for processing {"connection_id":161099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f94"} 
[2026-08-23 22:35:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601109248001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787504634000,"timestamp_ms":1787504634000,"timestamp_seconds":1787504634,"priority":1,"record_length":96,"hex_timestamp":"000001a02f942890"} 
[2026-08-23 22:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:35: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-08-23 22:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 22:35:51] 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-08-23 22:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601109248001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601109248001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:35:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:35:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601109248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":161099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:35:51] local.INFO: GPS data processed {"connection_id":161099,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:35:51] local.INFO: Acknowledgment sent {"connection_id":161099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:36:23] local.INFO: TCP Data received {"connection_id":161099,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:36:23] local.INFO: Processing buffer {"connection_id":161099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:36:23] local.INFO: Packet analysis {"connection_id":161099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f94"} 
[2026-08-23 22:36:23] local.INFO: Extracted packet for processing {"connection_id":161099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f94"} 
[2026-08-23 22:36:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601109248001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787504634000,"timestamp_ms":1787504634000,"timestamp_seconds":1787504634,"priority":1,"record_length":96,"hex_timestamp":"000001a02f942890"} 
[2026-08-23 22:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:36: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-08-23 22:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 22:36:23] 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-08-23 22:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:36:23] 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-08-23 22:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601109248001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601109248001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:36:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:36:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601109248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":161099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:36:23] local.INFO: GPS data processed {"connection_id":161099,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:36:23] local.INFO: Acknowledgment sent {"connection_id":161099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:36:28] local.INFO: TCP Data received {"connection_id":162049,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:36:28] local.INFO: Processing buffer {"connection_id":162049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:36:28] local.INFO: IMEI packet received {"connection_id":162049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":162049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:36:33] local.INFO: TCP Data received {"connection_id":162049,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:36:33] local.INFO: Processing buffer {"connection_id":162049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:36:33] local.INFO: IMEI packet received {"connection_id":162049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":162049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:36:38] local.INFO: TCP Data received {"connection_id":162049,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:36:38] local.INFO: Processing buffer {"connection_id":162049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:36:38] local.INFO: Packet analysis {"connection_id":162049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f93"} 
[2026-08-23 22:36:38] local.INFO: Extracted packet for processing {"connection_id":162049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f93"} 
[2026-08-23 22:36:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601103104001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787504610000,"timestamp_ms":1787504610000,"timestamp_seconds":1787504610,"priority":1,"record_length":96,"hex_timestamp":"000001a02f93cad0"} 
[2026-08-23 22:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:36:38] 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-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":162049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":162049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":162049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601103104001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601103104001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:36:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:36:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601103104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":162049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:36:38] local.INFO: GPS data processed {"connection_id":162049,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:36:38] local.INFO: Acknowledgment sent {"connection_id":162049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:36:45] local.INFO: TCP Data received {"connection_id":161100,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:36:45] local.INFO: Processing buffer {"connection_id":161100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:36:45] local.INFO: IMEI packet received {"connection_id":161100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":161100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:36:50] local.INFO: TCP Data received {"connection_id":161100,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:36:50] local.INFO: Processing buffer {"connection_id":161100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:36:50] local.INFO: IMEI packet received {"connection_id":161100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":161100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:36:51] local.INFO: TCP Data received {"connection_id":161100,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:36:51] local.INFO: Processing buffer {"connection_id":161100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:36:51] local.INFO: Packet analysis {"connection_id":161100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f94"} 
[2026-08-23 22:36:51] local.INFO: Extracted packet for processing {"connection_id":161100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f94"} 
[2026-08-23 22:36:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601109248001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787504634000,"timestamp_ms":1787504634000,"timestamp_seconds":1787504634,"priority":1,"record_length":96,"hex_timestamp":"000001a02f942890"} 
[2026-08-23 22:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:36: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-08-23 22:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 22:36:51] 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-08-23 22:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601109248001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601109248001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:36:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:36:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601109248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":161100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:36:51] local.INFO: GPS data processed {"connection_id":161100,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:36:51] local.INFO: Acknowledgment sent {"connection_id":161100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:37:09] local.INFO: TCP Data received {"connection_id":162049,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:37:09] local.INFO: Processing buffer {"connection_id":162049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:37:09] local.INFO: Packet analysis {"connection_id":162049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f93"} 
[2026-08-23 22:37:09] local.INFO: Extracted packet for processing {"connection_id":162049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f93"} 
[2026-08-23 22:37:09] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601103104001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787504610000,"timestamp_ms":1787504610000,"timestamp_seconds":1787504610,"priority":1,"record_length":96,"hex_timestamp":"000001a02f93cad0"} 
[2026-08-23 22:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:37:09] 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-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":162049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":162049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":162049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601103104001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601103104001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:37:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:37:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601103104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":162049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:37:09] local.INFO: GPS data processed {"connection_id":162049,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:37:09] local.INFO: Acknowledgment sent {"connection_id":162049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:37:22] local.INFO: TCP Data received {"connection_id":161100,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:37:22] local.INFO: Processing buffer {"connection_id":161100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:37:22] local.INFO: Packet analysis {"connection_id":161100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f94"} 
[2026-08-23 22:37:22] local.INFO: Extracted packet for processing {"connection_id":161100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f94"} 
[2026-08-23 22:37:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601109248001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787504634000,"timestamp_ms":1787504634000,"timestamp_seconds":1787504634,"priority":1,"record_length":96,"hex_timestamp":"000001a02f942890"} 
[2026-08-23 22:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:37: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-08-23 22:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 22:37:22] 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-08-23 22:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601109248001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601109248001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:37:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:37:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601109248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":161100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:37:22] local.INFO: GPS data processed {"connection_id":161100,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:37:22] local.INFO: Acknowledgment sent {"connection_id":161100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:37:28] local.INFO: TCP Data received {"connection_id":160857,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:37:28] local.INFO: Processing buffer {"connection_id":160857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:37:28] local.INFO: IMEI packet received {"connection_id":160857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":160857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:37:33] local.INFO: TCP Data received {"connection_id":160857,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:37:33] local.INFO: Processing buffer {"connection_id":160857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:37:33] local.INFO: IMEI packet received {"connection_id":160857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":160857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:37:34] local.INFO: TCP Data received {"connection_id":160857,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:37:34] local.INFO: Processing buffer {"connection_id":160857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:37:34] local.INFO: Packet analysis {"connection_id":160857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f93"} 
[2026-08-23 22:37:34] local.INFO: Extracted packet for processing {"connection_id":160857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f93"} 
[2026-08-23 22:37:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601103104001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787504610000,"timestamp_ms":1787504610000,"timestamp_seconds":1787504610,"priority":1,"record_length":96,"hex_timestamp":"000001a02f93cad0"} 
[2026-08-23 22:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601103104001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601103104001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:37:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:37:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601103104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":160857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:37:34] local.INFO: GPS data processed {"connection_id":160857,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:37:34] local.INFO: Acknowledgment sent {"connection_id":160857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:37:45] local.INFO: TCP Data received {"connection_id":161101,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:37:45] local.INFO: Processing buffer {"connection_id":161101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:37:45] local.INFO: IMEI packet received {"connection_id":161101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":161101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:37:50] local.INFO: TCP Data received {"connection_id":161101,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:37:50] local.INFO: Processing buffer {"connection_id":161101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:37:50] local.INFO: IMEI packet received {"connection_id":161101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":161101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:37:52] local.INFO: TCP Data received {"connection_id":161101,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:37:52] local.INFO: Processing buffer {"connection_id":161101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:37:52] local.INFO: Packet analysis {"connection_id":161101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f94"} 
[2026-08-23 22:37:52] local.INFO: Extracted packet for processing {"connection_id":161101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f94"} 
[2026-08-23 22:37:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601109248001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787504634000,"timestamp_ms":1787504634000,"timestamp_seconds":1787504634,"priority":1,"record_length":96,"hex_timestamp":"000001a02f942890"} 
[2026-08-23 22:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:37: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-08-23 22:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 22:37:52] 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-08-23 22:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:37:52] 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-08-23 22:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601109248001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601109248001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:37:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:37:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601109248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":161101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:37:52] local.INFO: GPS data processed {"connection_id":161101,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:37:52] local.INFO: Acknowledgment sent {"connection_id":161101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:38:05] local.INFO: TCP Data received {"connection_id":160857,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:38:05] local.INFO: Processing buffer {"connection_id":160857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:38:05] local.INFO: Packet analysis {"connection_id":160857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f93"} 
[2026-08-23 22:38:05] local.INFO: Extracted packet for processing {"connection_id":160857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f93"} 
[2026-08-23 22:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601103104001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787504610000,"timestamp_ms":1787504610000,"timestamp_seconds":1787504610,"priority":1,"record_length":96,"hex_timestamp":"000001a02f93cad0"} 
[2026-08-23 22:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601103104001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601103104001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:38:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601103104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":160857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:38:05] local.INFO: GPS data processed {"connection_id":160857,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:38:05] local.INFO: Acknowledgment sent {"connection_id":160857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:38:24] local.INFO: TCP Data received {"connection_id":161101,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:38:24] local.INFO: Processing buffer {"connection_id":161101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:38:24] local.INFO: Packet analysis {"connection_id":161101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f94"} 
[2026-08-23 22:38:24] local.INFO: Extracted packet for processing {"connection_id":161101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f94"} 
[2026-08-23 22:38:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601109248001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787504634000,"timestamp_ms":1787504634000,"timestamp_seconds":1787504634,"priority":1,"record_length":96,"hex_timestamp":"000001a02f942890"} 
[2026-08-23 22:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:38: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-08-23 22: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 22:38:24] 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-08-23 22: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-08-23 22:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:38:24] 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-08-23 22:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601109248001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601109248001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:38:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:38:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601109248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":161101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:38:24] local.INFO: GPS data processed {"connection_id":161101,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:38:24] local.INFO: Acknowledgment sent {"connection_id":161101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:38:28] local.INFO: TCP Data received {"connection_id":163449,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:38:28] local.INFO: Processing buffer {"connection_id":163449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:38:28] local.INFO: IMEI packet received {"connection_id":163449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":163449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:38:33] local.INFO: TCP Data received {"connection_id":163449,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:38:33] local.INFO: Processing buffer {"connection_id":163449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:38:33] local.INFO: IMEI packet received {"connection_id":163449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":163449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:38:34] local.INFO: TCP Data received {"connection_id":163449,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:38:34] local.INFO: Processing buffer {"connection_id":163449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:38:34] local.INFO: Packet analysis {"connection_id":163449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f93"} 
[2026-08-23 22:38:34] local.INFO: Extracted packet for processing {"connection_id":163449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f93"} 
[2026-08-23 22:38:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601103104001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787504610000,"timestamp_ms":1787504610000,"timestamp_seconds":1787504610,"priority":1,"record_length":96,"hex_timestamp":"000001a02f93cad0"} 
[2026-08-23 22:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601103104001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601103104001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:38:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:38:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601103104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":163449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:38:34] local.INFO: GPS data processed {"connection_id":163449,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:38:34] local.INFO: Acknowledgment sent {"connection_id":163449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:39:05] local.INFO: TCP Data received {"connection_id":163449,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:39:05] local.INFO: Processing buffer {"connection_id":163449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f93cad0012d196580071fef380046010e2a..."} 
[2026-08-23 22:39:05] local.INFO: Packet analysis {"connection_id":163449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f93"} 
[2026-08-23 22:39:05] local.INFO: Extracted packet for processing {"connection_id":163449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f93"} 
[2026-08-23 22:39:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601103104001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787504610000,"timestamp_ms":1787504610000,"timestamp_seconds":1787504610,"priority":1,"record_length":96,"hex_timestamp":"000001a02f93cad0"} 
[2026-08-23 22:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601103104001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601103104001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:39:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:39:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601103104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":163449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:39:05] local.INFO: GPS data processed {"connection_id":163449,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:39:05] local.INFO: Acknowledgment sent {"connection_id":163449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:39:20] local.INFO: TCP Data received {"connection_id":162050,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:39:20] local.INFO: Processing buffer {"connection_id":162050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:39:20] local.INFO: IMEI packet received {"connection_id":162050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":162050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:39:25] local.INFO: TCP Data received {"connection_id":162050,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:39:25] local.INFO: Processing buffer {"connection_id":162050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:39:25] local.INFO: IMEI packet received {"connection_id":162050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":162050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:39:26] local.INFO: TCP Data received {"connection_id":162050,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:39:26] local.INFO: Processing buffer {"connection_id":162050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f942890012d34c58006aa4060000a011422..."} 
[2026-08-23 22:39:26] local.INFO: Packet analysis {"connection_id":162050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f94"} 
[2026-08-23 22:39:26] local.INFO: Extracted packet for processing {"connection_id":162050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f94"} 
[2026-08-23 22:39:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601109248001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787504634000,"timestamp_ms":1787504634000,"timestamp_seconds":1787504634,"priority":1,"record_length":96,"hex_timestamp":"000001a02f942890"} 
[2026-08-23 22:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:39: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-08-23 22: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-23 22:39:26] 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-08-23 22: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-08-23 22:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601109248001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601109248001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:39:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:39:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601109248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":162050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:39:26] local.INFO: GPS data processed {"connection_id":162050,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:39:26] local.INFO: Acknowledgment sent {"connection_id":162050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:39:33] local.INFO: TCP Data received {"connection_id":162051,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:39:33] local.INFO: Processing buffer {"connection_id":162051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:39:33] local.INFO: IMEI packet received {"connection_id":162051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":162051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:39:38] local.INFO: TCP Data received {"connection_id":162051,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:39:38] local.INFO: Processing buffer {"connection_id":162051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:39:38] local.INFO: IMEI packet received {"connection_id":162051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":162051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:39:39] local.INFO: TCP Data received {"connection_id":162051,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:39:39] local.INFO: Processing buffer {"connection_id":162051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:39:39] local.INFO: Packet analysis {"connection_id":162051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:39:39] local.INFO: Extracted packet for processing {"connection_id":162051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:39:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601180160001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787504911000,"timestamp_ms":1787504911000,"timestamp_seconds":1787504911,"priority":1,"record_length":96,"hex_timestamp":"000001a02f986298"} 
[2026-08-23 22:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":162051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":162051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":162051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601180160001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601180160001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:39:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:39:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601180160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":162051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:39:39] local.INFO: GPS data processed {"connection_id":162051,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:39:39] local.INFO: Acknowledgment sent {"connection_id":162051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:39:44] local.INFO: TCP Data received {"connection_id":162051,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:39:44] local.INFO: Processing buffer {"connection_id":162051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:39:44] local.INFO: Packet analysis {"connection_id":162051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:39:44] local.INFO: Extracted packet for processing {"connection_id":162051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:39:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 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-08-23 22:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601180160001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787504911000,"timestamp_ms":1787504911000,"timestamp_seconds":1787504911,"priority":1,"record_length":96,"hex_timestamp":"000001a02f986298"} 
[2026-08-23 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-08-23 22:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 22:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601180160001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601180160001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:39:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:39:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601180160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":162051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:39:44] local.INFO: GPS data processed {"connection_id":162051,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:39:44] local.INFO: Acknowledgment sent {"connection_id":162051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:39:50] local.INFO: TCP Data received {"connection_id":160858,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:39:50] local.INFO: Processing buffer {"connection_id":160858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:39:50] local.INFO: IMEI packet received {"connection_id":160858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":160858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:39:55] local.INFO: TCP Data received {"connection_id":160858,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:39:55] local.INFO: Processing buffer {"connection_id":160858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:39:55] local.INFO: IMEI packet received {"connection_id":160858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":160858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:39:56] local.INFO: TCP Data received {"connection_id":160858,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:39:56] local.INFO: Processing buffer {"connection_id":160858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:39:56] local.INFO: Packet analysis {"connection_id":160858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:39:56] local.INFO: Extracted packet for processing {"connection_id":160858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:39:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601186304001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787504935000,"timestamp_ms":1787504935000,"timestamp_seconds":1787504935,"priority":1,"record_length":96,"hex_timestamp":"000001a02f98c058"} 
[2026-08-23 22:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:39:56] 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-08-23 22:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601186304001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601186304001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:39:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:39:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601186304001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":160858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:39:56] local.INFO: GPS data processed {"connection_id":160858,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:39:56] local.INFO: Acknowledgment sent {"connection_id":160858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:40:27] local.INFO: TCP Data received {"connection_id":160858,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:40:27] local.INFO: Processing buffer {"connection_id":160858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:40:27] local.INFO: Packet analysis {"connection_id":160858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:40:27] local.INFO: Extracted packet for processing {"connection_id":160858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:40:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601186304001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787504935000,"timestamp_ms":1787504935000,"timestamp_seconds":1787504935,"priority":1,"record_length":96,"hex_timestamp":"000001a02f98c058"} 
[2026-08-23 22:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:40:27] 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-08-23 22:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601186304001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601186304001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:40:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:40:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601186304001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":160858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:40:27] local.INFO: GPS data processed {"connection_id":160858,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:40:27] local.INFO: Acknowledgment sent {"connection_id":160858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:40:28] local.INFO: TCP Data received {"connection_id":160859,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:40:28] local.INFO: Processing buffer {"connection_id":160859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:40:28] local.INFO: IMEI packet received {"connection_id":160859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":160859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:40:33] local.INFO: TCP Data received {"connection_id":160859,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:40:33] local.INFO: Processing buffer {"connection_id":160859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:40:33] local.INFO: IMEI packet received {"connection_id":160859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":160859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:40:34] local.INFO: TCP Data received {"connection_id":160859,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:40:34] local.INFO: Processing buffer {"connection_id":160859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:40:34] local.INFO: Packet analysis {"connection_id":160859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:40:34] local.INFO: Extracted packet for processing {"connection_id":160859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:40:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601180160001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787504911000,"timestamp_ms":1787504911000,"timestamp_seconds":1787504911,"priority":1,"record_length":96,"hex_timestamp":"000001a02f986298"} 
[2026-08-23 22:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601180160001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601180160001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:40:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:40:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601180160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":160859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:40:34] local.INFO: GPS data processed {"connection_id":160859,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:40:34] local.INFO: Acknowledgment sent {"connection_id":160859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:40:38] local.INFO: TCP Data received {"connection_id":160859,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:40:38] local.INFO: Processing buffer {"connection_id":160859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:40:38] local.INFO: Packet analysis {"connection_id":160859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:40:38] local.INFO: Extracted packet for processing {"connection_id":160859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:40: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-08-23 22:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601180160001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787504911000,"timestamp_ms":1787504911000,"timestamp_seconds":1787504911,"priority":1,"record_length":96,"hex_timestamp":"000001a02f986298"} 
[2026-08-23 22:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:40: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-08-23 22:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601180160001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601180160001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:40:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:40:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601180160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":160859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:40:39] local.INFO: GPS data processed {"connection_id":160859,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:40:39] local.INFO: Acknowledgment sent {"connection_id":160859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:40:45] local.INFO: TCP Data received {"connection_id":163450,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:40:45] local.INFO: Processing buffer {"connection_id":163450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:40:45] local.INFO: IMEI packet received {"connection_id":163450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":163450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:40:50] local.INFO: TCP Data received {"connection_id":163450,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:40:50] local.INFO: Processing buffer {"connection_id":163450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:40:50] local.INFO: IMEI packet received {"connection_id":163450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":163450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:40:51] local.INFO: TCP Data received {"connection_id":163450,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:40:51] local.INFO: Processing buffer {"connection_id":163450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:40:51] local.INFO: Packet analysis {"connection_id":163450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:40:51] local.INFO: Extracted packet for processing {"connection_id":163450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:40:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601186304001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787504935000,"timestamp_ms":1787504935000,"timestamp_seconds":1787504935,"priority":1,"record_length":96,"hex_timestamp":"000001a02f98c058"} 
[2026-08-23 22:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:40: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-08-23 22:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601186304001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601186304001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:40:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:40:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601186304001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":163450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:40:51] local.INFO: GPS data processed {"connection_id":163450,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:40:51] local.INFO: Acknowledgment sent {"connection_id":163450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:41:09] local.INFO: TCP Data received {"connection_id":160859,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:41:09] local.INFO: Processing buffer {"connection_id":160859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:41:09] local.INFO: Packet analysis {"connection_id":160859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:41:09] local.INFO: Extracted packet for processing {"connection_id":160859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:41:09] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601180160001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787504911000,"timestamp_ms":1787504911000,"timestamp_seconds":1787504911,"priority":1,"record_length":96,"hex_timestamp":"000001a02f986298"} 
[2026-08-23 22:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601180160001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601180160001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:41:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:41:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601180160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":160859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:41:09] local.INFO: GPS data processed {"connection_id":160859,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:41:09] local.INFO: Acknowledgment sent {"connection_id":160859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:41:22] local.INFO: TCP Data received {"connection_id":163450,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:41:22] local.INFO: Processing buffer {"connection_id":163450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:41:22] local.INFO: Packet analysis {"connection_id":163450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:41:22] local.INFO: Extracted packet for processing {"connection_id":163450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:41:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601186304001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787504935000,"timestamp_ms":1787504935000,"timestamp_seconds":1787504935,"priority":1,"record_length":96,"hex_timestamp":"000001a02f98c058"} 
[2026-08-23 22:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:41: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-08-23 22:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601186304001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601186304001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:41:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:41:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601186304001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":163450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:41:22] local.INFO: GPS data processed {"connection_id":163450,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:41:22] local.INFO: Acknowledgment sent {"connection_id":163450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:41:28] local.INFO: TCP Data received {"connection_id":160860,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:41:28] local.INFO: Processing buffer {"connection_id":160860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:41:28] local.INFO: IMEI packet received {"connection_id":160860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":160860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:41:36] local.INFO: TCP Data received {"connection_id":160860,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:41:36] local.INFO: Processing buffer {"connection_id":160860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:41:36] local.INFO: IMEI packet received {"connection_id":160860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":160860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:41:37] local.INFO: TCP Data received {"connection_id":160860,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:41:37] local.INFO: Processing buffer {"connection_id":160860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:41:37] local.INFO: Packet analysis {"connection_id":160860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:41:37] local.INFO: Extracted packet for processing {"connection_id":160860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601180160001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787504911000,"timestamp_ms":1787504911000,"timestamp_seconds":1787504911,"priority":1,"record_length":96,"hex_timestamp":"000001a02f986298"} 
[2026-08-23 22:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601180160001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601180160001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:41:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601180160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":160860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:41:37] local.INFO: GPS data processed {"connection_id":160860,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:41:37] local.INFO: Acknowledgment sent {"connection_id":160860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:41:45] local.INFO: TCP Data received {"connection_id":163451,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:41:45] local.INFO: Processing buffer {"connection_id":163451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:41:45] local.INFO: IMEI packet received {"connection_id":163451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":163451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:41:50] local.INFO: TCP Data received {"connection_id":163451,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:41:50] local.INFO: Processing buffer {"connection_id":163451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:41:50] local.INFO: IMEI packet received {"connection_id":163451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":163451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:41:51] local.INFO: TCP Data received {"connection_id":163451,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:41:51] local.INFO: Processing buffer {"connection_id":163451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:41:51] local.INFO: Packet analysis {"connection_id":163451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:41:51] local.INFO: Extracted packet for processing {"connection_id":163451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:41:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601186304001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787504935000,"timestamp_ms":1787504935000,"timestamp_seconds":1787504935,"priority":1,"record_length":96,"hex_timestamp":"000001a02f98c058"} 
[2026-08-23 22:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:41: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-08-23 22:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:41:51] 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-08-23 22:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601186304001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601186304001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:41:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:41:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601186304001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":163451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:41:51] local.INFO: GPS data processed {"connection_id":163451,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:41:51] local.INFO: Acknowledgment sent {"connection_id":163451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:42:08] local.INFO: TCP Data received {"connection_id":160860,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:42:08] local.INFO: Processing buffer {"connection_id":160860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:42:08] local.INFO: Packet analysis {"connection_id":160860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:42:08] local.INFO: Extracted packet for processing {"connection_id":160860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:42:08] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601180160001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787504911000,"timestamp_ms":1787504911000,"timestamp_seconds":1787504911,"priority":1,"record_length":96,"hex_timestamp":"000001a02f986298"} 
[2026-08-23 22:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601180160001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601180160001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:42:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:42:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601180160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":160860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:42:08] local.INFO: GPS data processed {"connection_id":160860,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:42:08] local.INFO: Acknowledgment sent {"connection_id":160860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:42:22] local.INFO: TCP Data received {"connection_id":163451,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:42:22] local.INFO: Processing buffer {"connection_id":163451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:42:22] local.INFO: Packet analysis {"connection_id":163451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:42:22] local.INFO: Extracted packet for processing {"connection_id":163451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:42:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601186304001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787504935000,"timestamp_ms":1787504935000,"timestamp_seconds":1787504935,"priority":1,"record_length":96,"hex_timestamp":"000001a02f98c058"} 
[2026-08-23 22:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:42: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-08-23 22:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601186304001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601186304001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:42:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:42:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601186304001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":163451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:42:22] local.INFO: GPS data processed {"connection_id":163451,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:42:22] local.INFO: Acknowledgment sent {"connection_id":163451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:42:28] local.INFO: TCP Data received {"connection_id":162052,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:42:28] local.INFO: Processing buffer {"connection_id":162052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:42:28] local.INFO: IMEI packet received {"connection_id":162052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":162052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:42:33] local.INFO: TCP Data received {"connection_id":162052,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:42:33] local.INFO: Processing buffer {"connection_id":162052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:42:33] local.INFO: IMEI packet received {"connection_id":162052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":162052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:42:34] local.INFO: TCP Data received {"connection_id":162052,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:42:34] local.INFO: Processing buffer {"connection_id":162052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:42:34] local.INFO: Packet analysis {"connection_id":162052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:42:34] local.INFO: Extracted packet for processing {"connection_id":162052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:42:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601180160001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787504911000,"timestamp_ms":1787504911000,"timestamp_seconds":1787504911,"priority":1,"record_length":96,"hex_timestamp":"000001a02f986298"} 
[2026-08-23 22:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601180160001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601180160001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:42:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:42:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601180160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":162052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:42:34] local.INFO: GPS data processed {"connection_id":162052,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:42:34] local.INFO: Acknowledgment sent {"connection_id":162052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:42:45] local.INFO: TCP Data received {"connection_id":160861,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:42:45] local.INFO: Processing buffer {"connection_id":160861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:42:45] local.INFO: IMEI packet received {"connection_id":160861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":160861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:42:49] local.INFO: TCP Data received {"connection_id":160861,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:42:49] local.INFO: Processing buffer {"connection_id":160861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:42:49] local.INFO: IMEI packet received {"connection_id":160861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":160861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:42:50] local.INFO: TCP Data received {"connection_id":160861,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:42:50] local.INFO: Processing buffer {"connection_id":160861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:42:50] local.INFO: Packet analysis {"connection_id":160861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:42:50] local.INFO: Extracted packet for processing {"connection_id":160861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:42:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601186304001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787504935000,"timestamp_ms":1787504935000,"timestamp_seconds":1787504935,"priority":1,"record_length":96,"hex_timestamp":"000001a02f98c058"} 
[2026-08-23 22:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:42: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-08-23 22:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":160861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":160861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":160861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:42:50] 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-08-23 22:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601186304001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601186304001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:42:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:42:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601186304001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":160861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:42:50] local.INFO: GPS data processed {"connection_id":160861,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:42:50] local.INFO: Acknowledgment sent {"connection_id":160861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:43:05] local.INFO: TCP Data received {"connection_id":162052,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:43:05] local.INFO: Processing buffer {"connection_id":162052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:43:05] local.INFO: Packet analysis {"connection_id":162052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:43:05] local.INFO: Extracted packet for processing {"connection_id":162052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601180160001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787504911000,"timestamp_ms":1787504911000,"timestamp_seconds":1787504911,"priority":1,"record_length":96,"hex_timestamp":"000001a02f986298"} 
[2026-08-23 22:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601180160001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601180160001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:43:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:43:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601180160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":162052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:43:05] local.INFO: GPS data processed {"connection_id":162052,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:43:05] local.INFO: Acknowledgment sent {"connection_id":162052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:43:22] local.INFO: TCP Data received {"connection_id":160861,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:43:22] local.INFO: Processing buffer {"connection_id":160861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:43:22] local.INFO: Packet analysis {"connection_id":160861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:43:22] local.INFO: Extracted packet for processing {"connection_id":160861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:43:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601186304001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787504935000,"timestamp_ms":1787504935000,"timestamp_seconds":1787504935,"priority":1,"record_length":96,"hex_timestamp":"000001a02f98c058"} 
[2026-08-23 22:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:43: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-08-23 22:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601186304001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601186304001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:43:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:43:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601186304001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":160861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:43:22] local.INFO: GPS data processed {"connection_id":160861,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:43:22] local.INFO: Acknowledgment sent {"connection_id":160861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:43:33] local.INFO: TCP Data received {"connection_id":162053,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:43:33] local.INFO: Processing buffer {"connection_id":162053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:43:33] local.INFO: IMEI packet received {"connection_id":162053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":162053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:43:38] local.INFO: TCP Data received {"connection_id":162053,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:43:38] local.INFO: Processing buffer {"connection_id":162053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:43:38] local.INFO: IMEI packet received {"connection_id":162053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":162053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:43:39] local.INFO: TCP Data received {"connection_id":162053,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:43:39] local.INFO: Processing buffer {"connection_id":162053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:43:39] local.INFO: Packet analysis {"connection_id":162053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:43:39] local.INFO: Extracted packet for processing {"connection_id":162053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:43:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601180160001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787504911000,"timestamp_ms":1787504911000,"timestamp_seconds":1787504911,"priority":1,"record_length":96,"hex_timestamp":"000001a02f986298"} 
[2026-08-23 22:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":162053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":162053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":162053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601180160001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601180160001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:43:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:43:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601180160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":162053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:43:39] local.INFO: GPS data processed {"connection_id":162053,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:43:39] local.INFO: Acknowledgment sent {"connection_id":162053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:43:43] local.INFO: TCP Data received {"connection_id":162053,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:43:43] local.INFO: Processing buffer {"connection_id":162053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f986298012d196580071fef380046010e2b..."} 
[2026-08-23 22:43:43] local.INFO: Packet analysis {"connection_id":162053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:43:43] local.INFO: Extracted packet for processing {"connection_id":162053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:43:43] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601180160001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787504911000,"timestamp_ms":1787504911000,"timestamp_seconds":1787504911,"priority":1,"record_length":96,"hex_timestamp":"000001a02f986298"} 
[2026-08-23 22:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601180160001,"66":2155,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601180160001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:43:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:43:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601180160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":162053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:43:44] local.INFO: GPS data processed {"connection_id":162053,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:43:44] local.INFO: Acknowledgment sent {"connection_id":162053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:43:50] local.INFO: TCP Data received {"connection_id":163452,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:43:50] local.INFO: Processing buffer {"connection_id":163452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:43:50] local.INFO: IMEI packet received {"connection_id":163452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":163452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:43:55] local.INFO: TCP Data received {"connection_id":163452,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:43:55] local.INFO: Processing buffer {"connection_id":163452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:43:55] local.INFO: IMEI packet received {"connection_id":163452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":163452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:43:56] local.INFO: TCP Data received {"connection_id":163452,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:43:56] local.INFO: Processing buffer {"connection_id":163452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:43:56] local.INFO: Packet analysis {"connection_id":163452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:43:56] local.INFO: Extracted packet for processing {"connection_id":163452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:43:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601186304001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787504935000,"timestamp_ms":1787504935000,"timestamp_seconds":1787504935,"priority":1,"record_length":96,"hex_timestamp":"000001a02f98c058"} 
[2026-08-23 22:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:43:56] 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-08-23 22:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601186304001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601186304001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:43:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:43:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601186304001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":163452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:43:56] local.INFO: GPS data processed {"connection_id":163452,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:43:56] local.INFO: Acknowledgment sent {"connection_id":163452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:44:01] local.INFO: TCP Data received {"connection_id":163452,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:44:01] local.INFO: Processing buffer {"connection_id":163452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f98c058012d34c58006aa4060000a011426..."} 
[2026-08-23 22:44:01] local.INFO: Packet analysis {"connection_id":163452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:44:01] local.INFO: Extracted packet for processing {"connection_id":163452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f98"} 
[2026-08-23 22:44:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601186304001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787504935000,"timestamp_ms":1787504935000,"timestamp_seconds":1787504935,"priority":1,"record_length":96,"hex_timestamp":"000001a02f98c058"} 
[2026-08-23 22:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 22:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":163452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":163452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":163452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:44:01] 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-08-23 22:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601186304001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601186304001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:44:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:44:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601186304001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":163452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:44:01] local.INFO: GPS data processed {"connection_id":163452,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:44:01] local.INFO: Acknowledgment sent {"connection_id":163452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:44:28] local.INFO: TCP Data received {"connection_id":163453,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:44:28] local.INFO: Processing buffer {"connection_id":163453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:44:28] local.INFO: IMEI packet received {"connection_id":163453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":163453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:44:33] local.INFO: TCP Data received {"connection_id":163453,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:44:33] local.INFO: Processing buffer {"connection_id":163453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:44:33] local.INFO: IMEI packet received {"connection_id":163453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":163453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:44:34] local.INFO: TCP Data received {"connection_id":163453,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:44:34] local.INFO: Processing buffer {"connection_id":163453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:44:34] local.INFO: Packet analysis {"connection_id":163453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f9c"} 
[2026-08-23 22:44:34] local.INFO: Extracted packet for processing {"connection_id":163453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f9c"} 
[2026-08-23 22:44:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601257216001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787505212000,"timestamp_ms":1787505212000,"timestamp_seconds":1787505212,"priority":1,"record_length":96,"hex_timestamp":"000001a02f9cfa60"} 
[2026-08-23 22:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 22:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601257216001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601257216001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:44:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:44:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601257216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":163453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:44:34] local.INFO: GPS data processed {"connection_id":163453,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:44:34] local.INFO: Acknowledgment sent {"connection_id":163453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:44:45] local.INFO: TCP Data received {"connection_id":161102,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:44:45] local.INFO: Processing buffer {"connection_id":161102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:44:45] local.INFO: IMEI packet received {"connection_id":161102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":161102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:44:50] local.INFO: TCP Data received {"connection_id":161102,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:44:50] local.INFO: Processing buffer {"connection_id":161102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:44:50] local.INFO: IMEI packet received {"connection_id":161102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":161102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:44:51] local.INFO: TCP Data received {"connection_id":161102,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:44:51] local.INFO: Processing buffer {"connection_id":161102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:44:51] local.INFO: Packet analysis {"connection_id":161102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f9d"} 
[2026-08-23 22:44:51] local.INFO: Extracted packet for processing {"connection_id":161102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f9d"} 
[2026-08-23 22:44:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601263360001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787505236000,"timestamp_ms":1787505236000,"timestamp_seconds":1787505236,"priority":1,"record_length":96,"hex_timestamp":"000001a02f9d5820"} 
[2026-08-23 22:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:44: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-08-23 22:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 22:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:44:51] 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-08-23 22:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601263360001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601263360001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:44:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:44:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601263360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":161102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:44:51] local.INFO: GPS data processed {"connection_id":161102,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:44:51] local.INFO: Acknowledgment sent {"connection_id":161102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:45:06] local.INFO: TCP Data received {"connection_id":163453,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:45:06] local.INFO: Processing buffer {"connection_id":163453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:45:06] local.INFO: Packet analysis {"connection_id":163453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f9c"} 
[2026-08-23 22:45:06] local.INFO: Extracted packet for processing {"connection_id":163453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f9c"} 
[2026-08-23 22:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601257216001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787505212000,"timestamp_ms":1787505212000,"timestamp_seconds":1787505212,"priority":1,"record_length":96,"hex_timestamp":"000001a02f9cfa60"} 
[2026-08-23 22:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 22:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601257216001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601257216001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:45:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601257216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":163453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:45:06] local.INFO: GPS data processed {"connection_id":163453,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:45:06] local.INFO: Acknowledgment sent {"connection_id":163453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:45:22] local.INFO: TCP Data received {"connection_id":161102,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:45:22] local.INFO: Processing buffer {"connection_id":161102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:45:22] local.INFO: Packet analysis {"connection_id":161102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f9d"} 
[2026-08-23 22:45:22] local.INFO: Extracted packet for processing {"connection_id":161102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f9d"} 
[2026-08-23 22:45:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601263360001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787505236000,"timestamp_ms":1787505236000,"timestamp_seconds":1787505236,"priority":1,"record_length":96,"hex_timestamp":"000001a02f9d5820"} 
[2026-08-23 22:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:45: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-08-23 22:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 22:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601263360001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601263360001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:45:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:45:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601263360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":161102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:45:22] local.INFO: GPS data processed {"connection_id":161102,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:45:22] local.INFO: Acknowledgment sent {"connection_id":161102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:45:28] local.INFO: TCP Data received {"connection_id":160862,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:45:28] local.INFO: Processing buffer {"connection_id":160862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:45:28] local.INFO: IMEI packet received {"connection_id":160862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":160862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:45:33] local.INFO: TCP Data received {"connection_id":160862,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:45:33] local.INFO: Processing buffer {"connection_id":160862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:45:33] local.INFO: IMEI packet received {"connection_id":160862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":160862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:45:34] local.INFO: TCP Data received {"connection_id":160862,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:45:34] local.INFO: Processing buffer {"connection_id":160862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:45:34] local.INFO: Packet analysis {"connection_id":160862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f9c"} 
[2026-08-23 22:45:34] local.INFO: Extracted packet for processing {"connection_id":160862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f9c"} 
[2026-08-23 22:45:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601257216001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787505212000,"timestamp_ms":1787505212000,"timestamp_seconds":1787505212,"priority":1,"record_length":96,"hex_timestamp":"000001a02f9cfa60"} 
[2026-08-23 22:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 22:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601257216001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601257216001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:45:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:45:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601257216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":160862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:45:34] local.INFO: GPS data processed {"connection_id":160862,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:45:34] local.INFO: Acknowledgment sent {"connection_id":160862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:45:45] local.INFO: TCP Data received {"connection_id":163454,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:45:45] local.INFO: Processing buffer {"connection_id":163454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:45:45] local.INFO: IMEI packet received {"connection_id":163454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":163454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:45:50] local.INFO: TCP Data received {"connection_id":163454,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:45:50] local.INFO: Processing buffer {"connection_id":163454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:45:50] local.INFO: IMEI packet received {"connection_id":163454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":163454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:45:51] local.INFO: TCP Data received {"connection_id":163454,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:45:51] local.INFO: Processing buffer {"connection_id":163454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:45:51] local.INFO: Packet analysis {"connection_id":163454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f9d"} 
[2026-08-23 22:45:51] local.INFO: Extracted packet for processing {"connection_id":163454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f9d"} 
[2026-08-23 22:45:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601263360001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787505236000,"timestamp_ms":1787505236000,"timestamp_seconds":1787505236,"priority":1,"record_length":96,"hex_timestamp":"000001a02f9d5820"} 
[2026-08-23 22:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:45: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-08-23 22:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 22:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:45:51] 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-08-23 22:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601263360001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601263360001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:45:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:45:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601263360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":163454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:45:51] local.INFO: GPS data processed {"connection_id":163454,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:45:51] local.INFO: Acknowledgment sent {"connection_id":163454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:46:05] local.INFO: TCP Data received {"connection_id":160862,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:46:05] local.INFO: Processing buffer {"connection_id":160862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:46:05] local.INFO: Packet analysis {"connection_id":160862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f9c"} 
[2026-08-23 22:46:05] local.INFO: Extracted packet for processing {"connection_id":160862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f9c"} 
[2026-08-23 22:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601257216001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787505212000,"timestamp_ms":1787505212000,"timestamp_seconds":1787505212,"priority":1,"record_length":96,"hex_timestamp":"000001a02f9cfa60"} 
[2026-08-23 22:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 22:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601257216001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601257216001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:46:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601257216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":160862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:46:05] local.INFO: GPS data processed {"connection_id":160862,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:46:05] local.INFO: Acknowledgment sent {"connection_id":160862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:46:22] local.INFO: TCP Data received {"connection_id":163454,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:46:22] local.INFO: Processing buffer {"connection_id":163454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:46:22] local.INFO: Packet analysis {"connection_id":163454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f9d"} 
[2026-08-23 22:46:22] local.INFO: Extracted packet for processing {"connection_id":163454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f9d"} 
[2026-08-23 22:46:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601263360001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787505236000,"timestamp_ms":1787505236000,"timestamp_seconds":1787505236,"priority":1,"record_length":96,"hex_timestamp":"000001a02f9d5820"} 
[2026-08-23 22:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:46: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-08-23 22:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 22:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601263360001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601263360001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:46:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:46:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601263360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":163454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:46:22] local.INFO: GPS data processed {"connection_id":163454,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:46:22] local.INFO: Acknowledgment sent {"connection_id":163454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:46:28] local.INFO: TCP Data received {"connection_id":162054,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:46:28] local.INFO: Processing buffer {"connection_id":162054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:46:28] local.INFO: IMEI packet received {"connection_id":162054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":162054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:46:33] local.INFO: TCP Data received {"connection_id":162054,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:46:33] local.INFO: Processing buffer {"connection_id":162054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:46:33] local.INFO: IMEI packet received {"connection_id":162054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":162054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:46:34] local.INFO: TCP Data received {"connection_id":162054,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:46:34] local.INFO: Processing buffer {"connection_id":162054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:46:34] local.INFO: Packet analysis {"connection_id":162054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f9c"} 
[2026-08-23 22:46:34] local.INFO: Extracted packet for processing {"connection_id":162054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f9c"} 
[2026-08-23 22:46:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 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-08-23 22:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601257216001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787505212000,"timestamp_ms":1787505212000,"timestamp_seconds":1787505212,"priority":1,"record_length":96,"hex_timestamp":"000001a02f9cfa60"} 
[2026-08-23 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-08-23 22:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 22:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 22:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601257216001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601257216001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:46:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:46:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601257216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":162054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:46:34] local.INFO: GPS data processed {"connection_id":162054,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:46:34] local.INFO: Acknowledgment sent {"connection_id":162054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:46:45] local.INFO: TCP Data received {"connection_id":163455,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:46:45] local.INFO: Processing buffer {"connection_id":163455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:46:45] local.INFO: IMEI packet received {"connection_id":163455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":163455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:46:50] local.INFO: TCP Data received {"connection_id":163455,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:46:50] local.INFO: Processing buffer {"connection_id":163455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:46:50] local.INFO: IMEI packet received {"connection_id":163455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":163455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:46:51] local.INFO: TCP Data received {"connection_id":163455,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:46:51] local.INFO: Processing buffer {"connection_id":163455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:46:51] local.INFO: Packet analysis {"connection_id":163455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f9d"} 
[2026-08-23 22:46:51] local.INFO: Extracted packet for processing {"connection_id":163455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f9d"} 
[2026-08-23 22:46:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601263360001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787505236000,"timestamp_ms":1787505236000,"timestamp_seconds":1787505236,"priority":1,"record_length":96,"hex_timestamp":"000001a02f9d5820"} 
[2026-08-23 22:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:46: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-08-23 22:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 22:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601263360001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601263360001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:46:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:46:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601263360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":163455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:46:51] local.INFO: GPS data processed {"connection_id":163455,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:46:51] local.INFO: Acknowledgment sent {"connection_id":163455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:47:06] local.INFO: TCP Data received {"connection_id":162054,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:47:06] local.INFO: Processing buffer {"connection_id":162054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:47:06] local.INFO: Packet analysis {"connection_id":162054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f9c"} 
[2026-08-23 22:47:06] local.INFO: Extracted packet for processing {"connection_id":162054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f9c"} 
[2026-08-23 22:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601257216001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787505212000,"timestamp_ms":1787505212000,"timestamp_seconds":1787505212,"priority":1,"record_length":96,"hex_timestamp":"000001a02f9cfa60"} 
[2026-08-23 22:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 22:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601257216001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601257216001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:47:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601257216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":162054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:47:06] local.INFO: GPS data processed {"connection_id":162054,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:47:06] local.INFO: Acknowledgment sent {"connection_id":162054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:47:23] local.INFO: TCP Data received {"connection_id":163455,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:47:23] local.INFO: Processing buffer {"connection_id":163455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:47:23] local.INFO: Packet analysis {"connection_id":163455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f9d"} 
[2026-08-23 22:47:23] local.INFO: Extracted packet for processing {"connection_id":163455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f9d"} 
[2026-08-23 22:47:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601263360001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787505236000,"timestamp_ms":1787505236000,"timestamp_seconds":1787505236,"priority":1,"record_length":96,"hex_timestamp":"000001a02f9d5820"} 
[2026-08-23 22:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:47: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-08-23 22:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 22:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601263360001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601263360001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:47:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:47:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601263360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":163455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:47:23] local.INFO: GPS data processed {"connection_id":163455,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:47:23] local.INFO: Acknowledgment sent {"connection_id":163455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:47:28] local.INFO: TCP Data received {"connection_id":163456,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:47:28] local.INFO: Processing buffer {"connection_id":163456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:47:28] local.INFO: IMEI packet received {"connection_id":163456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":163456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:47:33] local.INFO: TCP Data received {"connection_id":163456,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:47:33] local.INFO: Processing buffer {"connection_id":163456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:47:33] local.INFO: IMEI packet received {"connection_id":163456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":163456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:47:34] local.INFO: TCP Data received {"connection_id":163456,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:47:34] local.INFO: Processing buffer {"connection_id":163456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:47:34] local.INFO: Packet analysis {"connection_id":163456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f9c"} 
[2026-08-23 22:47:34] local.INFO: Extracted packet for processing {"connection_id":163456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f9c"} 
[2026-08-23 22:47:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601257216001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787505212000,"timestamp_ms":1787505212000,"timestamp_seconds":1787505212,"priority":1,"record_length":96,"hex_timestamp":"000001a02f9cfa60"} 
[2026-08-23 22:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 22:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601257216001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601257216001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:47:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:47:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601257216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":163456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:47:34] local.INFO: GPS data processed {"connection_id":163456,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:47:34] local.INFO: Acknowledgment sent {"connection_id":163456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:47:45] local.INFO: TCP Data received {"connection_id":160863,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:47:45] local.INFO: Processing buffer {"connection_id":160863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:47:45] local.INFO: IMEI packet received {"connection_id":160863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":160863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:47:50] local.INFO: TCP Data received {"connection_id":160863,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:47:50] local.INFO: Processing buffer {"connection_id":160863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:47:50] local.INFO: IMEI packet received {"connection_id":160863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":160863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:47:51] local.INFO: TCP Data received {"connection_id":160863,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:47:51] local.INFO: Processing buffer {"connection_id":160863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:47:51] local.INFO: Packet analysis {"connection_id":160863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f9d"} 
[2026-08-23 22:47:51] local.INFO: Extracted packet for processing {"connection_id":160863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f9d"} 
[2026-08-23 22:47:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601263360001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787505236000,"timestamp_ms":1787505236000,"timestamp_seconds":1787505236,"priority":1,"record_length":96,"hex_timestamp":"000001a02f9d5820"} 
[2026-08-23 22:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:47: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-08-23 22:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 22:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601263360001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601263360001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:47:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:47:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601263360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":160863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:47:51] local.INFO: GPS data processed {"connection_id":160863,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:47:51] local.INFO: Acknowledgment sent {"connection_id":160863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:48:06] local.INFO: TCP Data received {"connection_id":163456,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:48:06] local.INFO: Processing buffer {"connection_id":163456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:48:06] local.INFO: Packet analysis {"connection_id":163456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f9c"} 
[2026-08-23 22:48:06] local.INFO: Extracted packet for processing {"connection_id":163456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f9c"} 
[2026-08-23 22:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601257216001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787505212000,"timestamp_ms":1787505212000,"timestamp_seconds":1787505212,"priority":1,"record_length":96,"hex_timestamp":"000001a02f9cfa60"} 
[2026-08-23 22:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 22:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601257216001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601257216001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:48:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601257216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":163456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:48:06] local.INFO: GPS data processed {"connection_id":163456,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:48:06] local.INFO: Acknowledgment sent {"connection_id":163456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:48:22] local.INFO: TCP Data received {"connection_id":160863,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:48:22] local.INFO: Processing buffer {"connection_id":160863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:48:22] local.INFO: Packet analysis {"connection_id":160863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f9d"} 
[2026-08-23 22:48:22] local.INFO: Extracted packet for processing {"connection_id":160863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f9d"} 
[2026-08-23 22:48:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601263360001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787505236000,"timestamp_ms":1787505236000,"timestamp_seconds":1787505236,"priority":1,"record_length":96,"hex_timestamp":"000001a02f9d5820"} 
[2026-08-23 22:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:48: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-08-23 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 22:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601263360001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601263360001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:48:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:48:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601263360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":160863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:48:22] local.INFO: GPS data processed {"connection_id":160863,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:48:22] local.INFO: Acknowledgment sent {"connection_id":160863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:48:33] local.INFO: TCP Data received {"connection_id":161103,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:48:33] local.INFO: Processing buffer {"connection_id":161103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:48:33] local.INFO: IMEI packet received {"connection_id":161103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":161103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:48:38] local.INFO: TCP Data received {"connection_id":161103,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:48:38] local.INFO: Processing buffer {"connection_id":161103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:48:38] local.INFO: IMEI packet received {"connection_id":161103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":161103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:48:43] local.INFO: TCP Data received {"connection_id":161103,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:48:43] local.INFO: Processing buffer {"connection_id":161103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:48:43] local.INFO: IMEI packet received {"connection_id":161103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":161103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:48:44] local.INFO: TCP Data received {"connection_id":161103,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:48:44] local.INFO: Processing buffer {"connection_id":161103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f9cfa60012d196580071fef380046010e28..."} 
[2026-08-23 22:48:44] local.INFO: Packet analysis {"connection_id":161103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f9c"} 
[2026-08-23 22:48:44] local.INFO: Extracted packet for processing {"connection_id":161103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f9c"} 
[2026-08-23 22:48:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601257216001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787505212000,"timestamp_ms":1787505212000,"timestamp_seconds":1787505212,"priority":1,"record_length":96,"hex_timestamp":"000001a02f9cfa60"} 
[2026-08-23 22:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 22:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601257216001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601257216001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:48:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:48:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601257216001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":161103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:48:44] local.INFO: GPS data processed {"connection_id":161103,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:48:44] local.INFO: Acknowledgment sent {"connection_id":161103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:48:45] local.INFO: TCP Data received {"connection_id":161104,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:48:45] local.INFO: Processing buffer {"connection_id":161104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:48:45] local.INFO: IMEI packet received {"connection_id":161104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":161104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:48:50] local.INFO: TCP Data received {"connection_id":161104,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:48:50] local.INFO: Processing buffer {"connection_id":161104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:48:50] local.INFO: IMEI packet received {"connection_id":161104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":161104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:48:51] local.INFO: TCP Data received {"connection_id":161104,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:48:51] local.INFO: Processing buffer {"connection_id":161104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:48:51] local.INFO: Packet analysis {"connection_id":161104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f9d"} 
[2026-08-23 22:48:51] local.INFO: Extracted packet for processing {"connection_id":161104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f9d"} 
[2026-08-23 22:48:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601263360001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787505236000,"timestamp_ms":1787505236000,"timestamp_seconds":1787505236,"priority":1,"record_length":96,"hex_timestamp":"000001a02f9d5820"} 
[2026-08-23 22:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:48: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-08-23 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 22:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:48:51] 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-08-23 22:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601263360001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601263360001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:48:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:48:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601263360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":161104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:48:51] local.INFO: GPS data processed {"connection_id":161104,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:48:51] local.INFO: Acknowledgment sent {"connection_id":161104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:49:23] local.INFO: TCP Data received {"connection_id":161104,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:49:23] local.INFO: Processing buffer {"connection_id":161104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02f9d5820012d34c58006aa4060000a011425..."} 
[2026-08-23 22:49:23] local.INFO: Packet analysis {"connection_id":161104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02f9d"} 
[2026-08-23 22:49:23] local.INFO: Extracted packet for processing {"connection_id":161104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02f9d"} 
[2026-08-23 22:49:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601263360001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787505236000,"timestamp_ms":1787505236000,"timestamp_seconds":1787505236,"priority":1,"record_length":96,"hex_timestamp":"000001a02f9d5820"} 
[2026-08-23 22:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:49: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-08-23 22:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 22:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:49:23] 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-08-23 22:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601263360001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601263360001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:49:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:49:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601263360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":161104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:49:23] local.INFO: GPS data processed {"connection_id":161104,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:49:23] local.INFO: Acknowledgment sent {"connection_id":161104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:49:28] local.INFO: TCP Data received {"connection_id":163457,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:49:28] local.INFO: Processing buffer {"connection_id":163457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:49:28] local.INFO: IMEI packet received {"connection_id":163457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":163457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:49:33] local.INFO: TCP Data received {"connection_id":163457,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:49:33] local.INFO: Processing buffer {"connection_id":163457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:49:33] local.INFO: IMEI packet received {"connection_id":163457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":163457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:49:34] local.INFO: TCP Data received {"connection_id":163457,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:49:34] local.INFO: Processing buffer {"connection_id":163457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:49:34] local.INFO: Packet analysis {"connection_id":163457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:49:34] local.INFO: Extracted packet for processing {"connection_id":163457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:49:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601334272001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787505513000,"timestamp_ms":1787505513000,"timestamp_seconds":1787505513,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa19228"} 
[2026-08-23 22:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601334272001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601334272001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:49:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:49:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601334272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":163457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:49:34] local.INFO: GPS data processed {"connection_id":163457,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:49:34] local.INFO: Acknowledgment sent {"connection_id":163457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:49:50] local.INFO: TCP Data received {"connection_id":161105,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:49:50] local.INFO: Processing buffer {"connection_id":161105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:49:50] local.INFO: IMEI packet received {"connection_id":161105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":161105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:49:55] local.INFO: TCP Data received {"connection_id":161105,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:49:55] local.INFO: Processing buffer {"connection_id":161105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:49:55] local.INFO: IMEI packet received {"connection_id":161105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":161105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:49:56] local.INFO: TCP Data received {"connection_id":161105,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:49:56] local.INFO: Processing buffer {"connection_id":161105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:49:56] local.INFO: Packet analysis {"connection_id":161105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:49:56] local.INFO: Extracted packet for processing {"connection_id":161105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:49:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601340416001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787505537000,"timestamp_ms":1787505537000,"timestamp_seconds":1787505537,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa1efe8"} 
[2026-08-23 22:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:49:56] 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-08-23 22:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601340416001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601340416001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:49:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:49:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601340416001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":161105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:49:56] local.INFO: GPS data processed {"connection_id":161105,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:49:56] local.INFO: Acknowledgment sent {"connection_id":161105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:50:00] local.INFO: TCP Data received {"connection_id":161105,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:50:00] local.INFO: Processing buffer {"connection_id":161105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:50:00] local.INFO: Packet analysis {"connection_id":161105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:50:00] local.INFO: Extracted packet for processing {"connection_id":161105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:50:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601340416001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787505537000,"timestamp_ms":1787505537000,"timestamp_seconds":1787505537,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa1efe8"} 
[2026-08-23 22:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:50:00] 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-08-23 22:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601340416001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601340416001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:50:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:50:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601340416001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":161105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:50:00] local.INFO: GPS data processed {"connection_id":161105,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:50:00] local.INFO: Acknowledgment sent {"connection_id":161105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:50:05] local.INFO: TCP Data received {"connection_id":163457,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:50:05] local.INFO: Processing buffer {"connection_id":163457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:50:05] local.INFO: Packet analysis {"connection_id":163457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:50:05] local.INFO: Extracted packet for processing {"connection_id":163457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601334272001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787505513000,"timestamp_ms":1787505513000,"timestamp_seconds":1787505513,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa19228"} 
[2026-08-23 22:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601334272001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601334272001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:50:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:50:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601334272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":163457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:50:06] local.INFO: GPS data processed {"connection_id":163457,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:50:06] local.INFO: Acknowledgment sent {"connection_id":163457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:50:29] local.INFO: TCP Data received {"connection_id":162055,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:50:29] local.INFO: Processing buffer {"connection_id":162055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:50:29] local.INFO: IMEI packet received {"connection_id":162055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":162055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:50:33] local.INFO: TCP Data received {"connection_id":162055,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:50:33] local.INFO: Processing buffer {"connection_id":162055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:50:33] local.INFO: IMEI packet received {"connection_id":162055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":162055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:50:34] local.INFO: TCP Data received {"connection_id":162055,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:50:34] local.INFO: Processing buffer {"connection_id":162055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:50:34] local.INFO: Packet analysis {"connection_id":162055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:50:34] local.INFO: Extracted packet for processing {"connection_id":162055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:50:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601334272001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787505513000,"timestamp_ms":1787505513000,"timestamp_seconds":1787505513,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa19228"} 
[2026-08-23 22:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601334272001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601334272001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:50:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:50:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601334272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":162055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:50:34] local.INFO: GPS data processed {"connection_id":162055,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:50:34] local.INFO: Acknowledgment sent {"connection_id":162055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:50:45] local.INFO: TCP Data received {"connection_id":161106,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:50:45] local.INFO: Processing buffer {"connection_id":161106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:50:45] local.INFO: IMEI packet received {"connection_id":161106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":161106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:50:50] local.INFO: TCP Data received {"connection_id":161106,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:50:50] local.INFO: Processing buffer {"connection_id":161106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:50:50] local.INFO: IMEI packet received {"connection_id":161106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":161106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:50:51] local.INFO: TCP Data received {"connection_id":161106,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:50:51] local.INFO: Processing buffer {"connection_id":161106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:50:51] local.INFO: Packet analysis {"connection_id":161106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:50:51] local.INFO: Extracted packet for processing {"connection_id":161106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:50:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601340416001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787505537000,"timestamp_ms":1787505537000,"timestamp_seconds":1787505537,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa1efe8"} 
[2026-08-23 22:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:50: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-08-23 22:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601340416001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601340416001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:50:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:50:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601340416001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":161106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:50:51] local.INFO: GPS data processed {"connection_id":161106,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:50:51] local.INFO: Acknowledgment sent {"connection_id":161106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:51:05] local.INFO: TCP Data received {"connection_id":162055,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:51:05] local.INFO: Processing buffer {"connection_id":162055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:51:05] local.INFO: Packet analysis {"connection_id":162055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:51:05] local.INFO: Extracted packet for processing {"connection_id":162055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601334272001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787505513000,"timestamp_ms":1787505513000,"timestamp_seconds":1787505513,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa19228"} 
[2026-08-23 22:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601334272001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601334272001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:51:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:51:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601334272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":162055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:51:05] local.INFO: GPS data processed {"connection_id":162055,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:51:05] local.INFO: Acknowledgment sent {"connection_id":162055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:51:23] local.INFO: TCP Data received {"connection_id":161106,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:51:23] local.INFO: Processing buffer {"connection_id":161106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:51:23] local.INFO: Packet analysis {"connection_id":161106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:51:23] local.INFO: Extracted packet for processing {"connection_id":161106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:51:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601340416001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787505537000,"timestamp_ms":1787505537000,"timestamp_seconds":1787505537,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa1efe8"} 
[2026-08-23 22:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:51: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-08-23 22:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601340416001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601340416001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:51:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:51:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601340416001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":161106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:51:23] local.INFO: GPS data processed {"connection_id":161106,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:51:23] local.INFO: Acknowledgment sent {"connection_id":161106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:51:28] local.INFO: TCP Data received {"connection_id":162056,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:51:28] local.INFO: Processing buffer {"connection_id":162056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:51:28] local.INFO: IMEI packet received {"connection_id":162056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":162056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:51:33] local.INFO: TCP Data received {"connection_id":162056,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:51:33] local.INFO: Processing buffer {"connection_id":162056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:51:33] local.INFO: IMEI packet received {"connection_id":162056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":162056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:51:34] local.INFO: TCP Data received {"connection_id":162056,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:51:34] local.INFO: Processing buffer {"connection_id":162056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:51:34] local.INFO: Packet analysis {"connection_id":162056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:51:34] local.INFO: Extracted packet for processing {"connection_id":162056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:51:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601334272001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787505513000,"timestamp_ms":1787505513000,"timestamp_seconds":1787505513,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa19228"} 
[2026-08-23 22:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601334272001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601334272001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:51:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:51:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601334272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":162056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:51:34] local.INFO: GPS data processed {"connection_id":162056,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:51:34] local.INFO: Acknowledgment sent {"connection_id":162056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:51:45] local.INFO: TCP Data received {"connection_id":161107,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:51:45] local.INFO: Processing buffer {"connection_id":161107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:51:45] local.INFO: IMEI packet received {"connection_id":161107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":161107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:51:50] local.INFO: TCP Data received {"connection_id":161107,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:51:50] local.INFO: Processing buffer {"connection_id":161107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:51:50] local.INFO: IMEI packet received {"connection_id":161107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":161107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:51:51] local.INFO: TCP Data received {"connection_id":161107,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:51:51] local.INFO: Processing buffer {"connection_id":161107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:51:51] local.INFO: Packet analysis {"connection_id":161107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:51:51] local.INFO: Extracted packet for processing {"connection_id":161107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:51:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601340416001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787505537000,"timestamp_ms":1787505537000,"timestamp_seconds":1787505537,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa1efe8"} 
[2026-08-23 22:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22: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-08-23 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601340416001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601340416001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:51:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:51:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601340416001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":161107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:51:51] local.INFO: GPS data processed {"connection_id":161107,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:51:51] local.INFO: Acknowledgment sent {"connection_id":161107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:52:05] local.INFO: TCP Data received {"connection_id":162056,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:52:05] local.INFO: Processing buffer {"connection_id":162056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:52:05] local.INFO: Packet analysis {"connection_id":162056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:52:05] local.INFO: Extracted packet for processing {"connection_id":162056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601334272001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787505513000,"timestamp_ms":1787505513000,"timestamp_seconds":1787505513,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa19228"} 
[2026-08-23 22:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601334272001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601334272001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:52:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601334272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":162056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:52:05] local.INFO: GPS data processed {"connection_id":162056,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:52:05] local.INFO: Acknowledgment sent {"connection_id":162056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:52:22] local.INFO: TCP Data received {"connection_id":161107,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:52:22] local.INFO: Processing buffer {"connection_id":161107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:52:22] local.INFO: Packet analysis {"connection_id":161107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:52:22] local.INFO: Extracted packet for processing {"connection_id":161107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:52:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601340416001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787505537000,"timestamp_ms":1787505537000,"timestamp_seconds":1787505537,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa1efe8"} 
[2026-08-23 22:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22: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-08-23 22:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601340416001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601340416001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:52:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:52:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601340416001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":161107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:52:22] local.INFO: GPS data processed {"connection_id":161107,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:52:22] local.INFO: Acknowledgment sent {"connection_id":161107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:52:33] local.INFO: TCP Data received {"connection_id":163458,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:52:33] local.INFO: Processing buffer {"connection_id":163458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:52:33] local.INFO: IMEI packet received {"connection_id":163458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":163458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:52:38] local.INFO: TCP Data received {"connection_id":163458,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:52:38] local.INFO: Processing buffer {"connection_id":163458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:52:38] local.INFO: IMEI packet received {"connection_id":163458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":163458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:52:39] local.INFO: TCP Data received {"connection_id":163458,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:52:39] local.INFO: Processing buffer {"connection_id":163458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:52:39] local.INFO: Packet analysis {"connection_id":163458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:52:39] local.INFO: Extracted packet for processing {"connection_id":163458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:52:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601334272001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787505513000,"timestamp_ms":1787505513000,"timestamp_seconds":1787505513,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa19228"} 
[2026-08-23 22:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601334272001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601334272001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:52:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:52:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601334272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":163458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:52:39] local.INFO: GPS data processed {"connection_id":163458,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:52:39] local.INFO: Acknowledgment sent {"connection_id":163458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:52:43] local.INFO: TCP Data received {"connection_id":163458,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:52:43] local.INFO: Processing buffer {"connection_id":163458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:52:43] local.INFO: Packet analysis {"connection_id":163458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:52:43] local.INFO: Extracted packet for processing {"connection_id":163458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:52:43] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601334272001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787505513000,"timestamp_ms":1787505513000,"timestamp_seconds":1787505513,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa19228"} 
[2026-08-23 22:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:52:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601334272001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601334272001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:52:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:52:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601334272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":163458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:52:43] local.INFO: GPS data processed {"connection_id":163458,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:52:43] local.INFO: Acknowledgment sent {"connection_id":163458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:52:44] local.INFO: TCP Data received {"connection_id":163459,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:52:44] local.INFO: Processing buffer {"connection_id":163459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:52:44] local.INFO: IMEI packet received {"connection_id":163459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":163459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:52:50] local.INFO: TCP Data received {"connection_id":163459,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:52:50] local.INFO: Processing buffer {"connection_id":163459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:52:50] local.INFO: IMEI packet received {"connection_id":163459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":163459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:52:51] local.INFO: TCP Data received {"connection_id":163459,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:52:51] local.INFO: Processing buffer {"connection_id":163459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:52:51] local.INFO: Packet analysis {"connection_id":163459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:52:51] local.INFO: Extracted packet for processing {"connection_id":163459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:52:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601340416001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787505537000,"timestamp_ms":1787505537000,"timestamp_seconds":1787505537,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa1efe8"} 
[2026-08-23 22:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601340416001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601340416001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:52:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:52:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601340416001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":163459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:52:51] local.INFO: GPS data processed {"connection_id":163459,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:52:51] local.INFO: Acknowledgment sent {"connection_id":163459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:53:23] local.INFO: TCP Data received {"connection_id":163459,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:53:23] local.INFO: Processing buffer {"connection_id":163459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:53:23] local.INFO: Packet analysis {"connection_id":163459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:53:23] local.INFO: Extracted packet for processing {"connection_id":163459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:53:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601340416001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787505537000,"timestamp_ms":1787505537000,"timestamp_seconds":1787505537,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa1efe8"} 
[2026-08-23 22:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22: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-08-23 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601340416001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601340416001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:53:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:53:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601340416001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":163459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:53:23] local.INFO: GPS data processed {"connection_id":163459,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:53:23] local.INFO: Acknowledgment sent {"connection_id":163459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:53:28] local.INFO: TCP Data received {"connection_id":160864,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:53:28] local.INFO: Processing buffer {"connection_id":160864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:53:28] local.INFO: IMEI packet received {"connection_id":160864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":160864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:53:33] local.INFO: TCP Data received {"connection_id":160864,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:53:33] local.INFO: Processing buffer {"connection_id":160864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:53:33] local.INFO: IMEI packet received {"connection_id":160864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":160864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:53:34] local.INFO: TCP Data received {"connection_id":160864,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:53:34] local.INFO: Processing buffer {"connection_id":160864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:53:34] local.INFO: Packet analysis {"connection_id":160864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:53:34] local.INFO: Extracted packet for processing {"connection_id":160864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:53:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601334272001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787505513000,"timestamp_ms":1787505513000,"timestamp_seconds":1787505513,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa19228"} 
[2026-08-23 22:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601334272001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601334272001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:53:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:53:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601334272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":160864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:53:34] local.INFO: GPS data processed {"connection_id":160864,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:53:34] local.INFO: Acknowledgment sent {"connection_id":160864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:53:38] local.INFO: TCP Data received {"connection_id":160864,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:53:38] local.INFO: Processing buffer {"connection_id":160864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:53:38] local.INFO: Packet analysis {"connection_id":160864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:53:38] local.INFO: Extracted packet for processing {"connection_id":160864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:53:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601334272001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787505513000,"timestamp_ms":1787505513000,"timestamp_seconds":1787505513,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa19228"} 
[2026-08-23 22:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601334272001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601334272001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:53:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:53:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601334272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":160864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:53:39] local.INFO: GPS data processed {"connection_id":160864,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:53:39] local.INFO: Acknowledgment sent {"connection_id":160864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:53:50] local.INFO: TCP Data received {"connection_id":163460,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:53:50] local.INFO: Processing buffer {"connection_id":163460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:53:50] local.INFO: IMEI packet received {"connection_id":163460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":163460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:53:55] local.INFO: TCP Data received {"connection_id":163460,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:53:55] local.INFO: Processing buffer {"connection_id":163460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:53:55] local.INFO: IMEI packet received {"connection_id":163460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":163460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:53:57] local.INFO: TCP Data received {"connection_id":163460,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:53:57] local.INFO: Processing buffer {"connection_id":163460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:53:57] local.INFO: Packet analysis {"connection_id":163460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:53:57] local.INFO: Extracted packet for processing {"connection_id":163460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:53:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601340416001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787505537000,"timestamp_ms":1787505537000,"timestamp_seconds":1787505537,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa1efe8"} 
[2026-08-23 22:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601340416001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601340416001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:53:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:53:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601340416001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":163460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:53:57] local.INFO: GPS data processed {"connection_id":163460,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:53:57] local.INFO: Acknowledgment sent {"connection_id":163460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:54:01] local.INFO: TCP Data received {"connection_id":163460,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:54:01] local.INFO: Processing buffer {"connection_id":163460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:54:01] local.INFO: Packet analysis {"connection_id":163460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:54:01] local.INFO: Extracted packet for processing {"connection_id":163460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:54:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601340416001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787505537000,"timestamp_ms":1787505537000,"timestamp_seconds":1787505537,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa1efe8"} 
[2026-08-23 22:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":163460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":163460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":163460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601340416001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601340416001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:54:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:54:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601340416001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":163460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:54:01] local.INFO: GPS data processed {"connection_id":163460,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:54:01] local.INFO: Acknowledgment sent {"connection_id":163460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:54:06] local.INFO: TCP Data received {"connection_id":163460,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:54:06] local.INFO: Processing buffer {"connection_id":163460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa1efe8012d34c58006aa4060000a011425..."} 
[2026-08-23 22:54:06] local.INFO: Packet analysis {"connection_id":163460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:54:06] local.INFO: Extracted packet for processing {"connection_id":163460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:54:06] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601340416001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787505537000,"timestamp_ms":1787505537000,"timestamp_seconds":1787505537,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa1efe8"} 
[2026-08-23 22:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601340416001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601340416001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:54:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:54:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601340416001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":163460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:54:06] local.INFO: GPS data processed {"connection_id":163460,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:54:06] local.INFO: Acknowledgment sent {"connection_id":163460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:54:09] local.INFO: TCP Data received {"connection_id":160864,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:54:09] local.INFO: Processing buffer {"connection_id":160864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa19228012d196580071fef380046010e27..."} 
[2026-08-23 22:54:09] local.INFO: Packet analysis {"connection_id":160864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:54:09] local.INFO: Extracted packet for processing {"connection_id":160864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa1"} 
[2026-08-23 22:54:09] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601334272001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787505513000,"timestamp_ms":1787505513000,"timestamp_seconds":1787505513,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa19228"} 
[2026-08-23 22:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601334272001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601334272001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:54:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:54:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601334272001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":160864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:54:09] local.INFO: GPS data processed {"connection_id":160864,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:54:09] local.INFO: Acknowledgment sent {"connection_id":160864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:54:28] local.INFO: TCP Data received {"connection_id":161108,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:54:28] local.INFO: Processing buffer {"connection_id":161108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:54:28] local.INFO: IMEI packet received {"connection_id":161108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":161108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:54:33] local.INFO: TCP Data received {"connection_id":161108,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:54:33] local.INFO: Processing buffer {"connection_id":161108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:54:33] local.INFO: IMEI packet received {"connection_id":161108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":161108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:54:34] local.INFO: TCP Data received {"connection_id":161108,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:54:34] local.INFO: Processing buffer {"connection_id":161108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:54:34] local.INFO: Packet analysis {"connection_id":161108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:54:34] local.INFO: Extracted packet for processing {"connection_id":161108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:54:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601411328001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787505814000,"timestamp_ms":1787505814000,"timestamp_seconds":1787505814,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa629f0"} 
[2026-08-23 22:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:54:34] 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-08-23 22:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601411328001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601411328001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:54:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:54:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601411328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":161108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:54:34] local.INFO: GPS data processed {"connection_id":161108,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:54:34] local.INFO: Acknowledgment sent {"connection_id":161108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:54:45] local.INFO: TCP Data received {"connection_id":163461,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:54:45] local.INFO: Processing buffer {"connection_id":163461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:54:45] local.INFO: IMEI packet received {"connection_id":163461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":163461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:54:50] local.INFO: TCP Data received {"connection_id":163461,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:54:50] local.INFO: Processing buffer {"connection_id":163461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:54:50] local.INFO: IMEI packet received {"connection_id":163461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":163461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:54:51] local.INFO: TCP Data received {"connection_id":163461,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:54:51] local.INFO: Processing buffer {"connection_id":163461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:54:51] local.INFO: Packet analysis {"connection_id":163461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:54:51] local.INFO: Extracted packet for processing {"connection_id":163461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:54:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601417472001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787505838000,"timestamp_ms":1787505838000,"timestamp_seconds":1787505838,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa687b0"} 
[2026-08-23 22:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:54: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-08-23 22:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601417472001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601417472001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:54:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:54:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601417472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":163461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:54:51] local.INFO: GPS data processed {"connection_id":163461,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:54:51] local.INFO: Acknowledgment sent {"connection_id":163461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:54:55] local.INFO: TCP Data received {"connection_id":163461,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:54:55] local.INFO: Processing buffer {"connection_id":163461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:54:55] local.INFO: Packet analysis {"connection_id":163461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:54:55] local.INFO: Extracted packet for processing {"connection_id":163461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:54:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601417472001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787505838000,"timestamp_ms":1787505838000,"timestamp_seconds":1787505838,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa687b0"} 
[2026-08-23 22:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601417472001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601417472001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:54:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:54:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601417472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":163461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:54:55] local.INFO: GPS data processed {"connection_id":163461,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:54:55] local.INFO: Acknowledgment sent {"connection_id":163461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:55:05] local.INFO: TCP Data received {"connection_id":161108,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:55:05] local.INFO: Processing buffer {"connection_id":161108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:55:05] local.INFO: Packet analysis {"connection_id":161108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:55:05] local.INFO: Extracted packet for processing {"connection_id":161108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601411328001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787505814000,"timestamp_ms":1787505814000,"timestamp_seconds":1787505814,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa629f0"} 
[2026-08-23 22:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601411328001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601411328001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:55:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:55:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601411328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":161108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:55:05] local.INFO: GPS data processed {"connection_id":161108,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:55:05] local.INFO: Acknowledgment sent {"connection_id":161108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:55:28] local.INFO: TCP Data received {"connection_id":163461,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:55:28] local.INFO: Processing buffer {"connection_id":163461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:55:28] local.INFO: Packet analysis {"connection_id":163461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:55:28] local.INFO: Extracted packet for processing {"connection_id":163461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:55:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601417472001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787505838000,"timestamp_ms":1787505838000,"timestamp_seconds":1787505838,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa687b0"} 
[2026-08-23 22:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:55: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-08-23 22:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601417472001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601417472001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:55:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:55:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601417472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":163461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:55:28] local.INFO: GPS data processed {"connection_id":163461,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:55:28] local.INFO: Acknowledgment sent {"connection_id":163461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:55:28] local.INFO: TCP Data received {"connection_id":160865,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:55:28] local.INFO: Processing buffer {"connection_id":160865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:55:28] local.INFO: IMEI packet received {"connection_id":160865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":160865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:55:33] local.INFO: TCP Data received {"connection_id":160865,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:55:33] local.INFO: Processing buffer {"connection_id":160865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:55:33] local.INFO: IMEI packet received {"connection_id":160865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":160865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:55:34] local.INFO: TCP Data received {"connection_id":160865,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:55:34] local.INFO: Processing buffer {"connection_id":160865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:55:34] local.INFO: Packet analysis {"connection_id":160865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:55:34] local.INFO: Extracted packet for processing {"connection_id":160865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:55:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601411328001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787505814000,"timestamp_ms":1787505814000,"timestamp_seconds":1787505814,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa629f0"} 
[2026-08-23 22:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:55:34] 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-08-23 22:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601411328001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601411328001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:55:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:55:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601411328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":160865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:55:34] local.INFO: GPS data processed {"connection_id":160865,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:55:34] local.INFO: Acknowledgment sent {"connection_id":160865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:55:44] local.INFO: TCP Data received {"connection_id":161109,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:55:44] local.INFO: Processing buffer {"connection_id":161109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:55:44] local.INFO: IMEI packet received {"connection_id":161109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":161109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:55:50] local.INFO: TCP Data received {"connection_id":161109,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:55:50] local.INFO: Processing buffer {"connection_id":161109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:55:50] local.INFO: IMEI packet received {"connection_id":161109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":161109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:55:51] local.INFO: TCP Data received {"connection_id":161109,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:55:51] local.INFO: Processing buffer {"connection_id":161109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:55:51] local.INFO: Packet analysis {"connection_id":161109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:55:51] local.INFO: Extracted packet for processing {"connection_id":161109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:55:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601417472001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787505838000,"timestamp_ms":1787505838000,"timestamp_seconds":1787505838,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa687b0"} 
[2026-08-23 22:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:55: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-08-23 22:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601417472001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601417472001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:55:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:55:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601417472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":161109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:55:51] local.INFO: GPS data processed {"connection_id":161109,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:55:51] local.INFO: Acknowledgment sent {"connection_id":161109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:56:05] local.INFO: TCP Data received {"connection_id":160865,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:56:05] local.INFO: Processing buffer {"connection_id":160865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:56:05] local.INFO: Packet analysis {"connection_id":160865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:56:05] local.INFO: Extracted packet for processing {"connection_id":160865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:56:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 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-08-23 22:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601411328001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787505814000,"timestamp_ms":1787505814000,"timestamp_seconds":1787505814,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa629f0"} 
[2026-08-23 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-08-23 22:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 22:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601411328001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601411328001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:56:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:56:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601411328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":160865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:56:05] local.INFO: GPS data processed {"connection_id":160865,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:56:05] local.INFO: Acknowledgment sent {"connection_id":160865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:56:22] local.INFO: TCP Data received {"connection_id":161109,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:56:22] local.INFO: Processing buffer {"connection_id":161109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:56:22] local.INFO: Packet analysis {"connection_id":161109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:56:22] local.INFO: Extracted packet for processing {"connection_id":161109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:56:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601417472001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787505838000,"timestamp_ms":1787505838000,"timestamp_seconds":1787505838,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa687b0"} 
[2026-08-23 22:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:56: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-08-23 22:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601417472001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601417472001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:56:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:56:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601417472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":161109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:56:22] local.INFO: GPS data processed {"connection_id":161109,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:56:22] local.INFO: Acknowledgment sent {"connection_id":161109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:56:33] local.INFO: TCP Data received {"connection_id":162057,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:56:33] local.INFO: Processing buffer {"connection_id":162057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:56:33] local.INFO: IMEI packet received {"connection_id":162057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":162057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:56:38] local.INFO: TCP Data received {"connection_id":162057,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:56:38] local.INFO: Processing buffer {"connection_id":162057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:56:38] local.INFO: IMEI packet received {"connection_id":162057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":162057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:56:39] local.INFO: TCP Data received {"connection_id":162057,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:56:39] local.INFO: Processing buffer {"connection_id":162057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:56:39] local.INFO: Packet analysis {"connection_id":162057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:56:39] local.INFO: Extracted packet for processing {"connection_id":162057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:56:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601411328001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787505814000,"timestamp_ms":1787505814000,"timestamp_seconds":1787505814,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa629f0"} 
[2026-08-23 22:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:56:39] 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-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":162057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":162057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":162057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601411328001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601411328001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:56:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:56:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601411328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":162057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:56:39] local.INFO: GPS data processed {"connection_id":162057,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:56:39] local.INFO: Acknowledgment sent {"connection_id":162057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:56:45] local.INFO: TCP Data received {"connection_id":163462,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:56:45] local.INFO: Processing buffer {"connection_id":163462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:56:45] local.INFO: IMEI packet received {"connection_id":163462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":163462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:56:50] local.INFO: TCP Data received {"connection_id":163462,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:56:50] local.INFO: Processing buffer {"connection_id":163462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:56:50] local.INFO: IMEI packet received {"connection_id":163462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":163462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:56:51] local.INFO: TCP Data received {"connection_id":163462,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:56:51] local.INFO: Processing buffer {"connection_id":163462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:56:51] local.INFO: Packet analysis {"connection_id":163462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:56:51] local.INFO: Extracted packet for processing {"connection_id":163462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:56:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601417472001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787505838000,"timestamp_ms":1787505838000,"timestamp_seconds":1787505838,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa687b0"} 
[2026-08-23 22:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:56: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-08-23 22:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601417472001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601417472001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:56:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:56:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601417472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":163462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:56:51] local.INFO: GPS data processed {"connection_id":163462,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:56:51] local.INFO: Acknowledgment sent {"connection_id":163462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:57:10] local.INFO: TCP Data received {"connection_id":162057,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:57:10] local.INFO: Processing buffer {"connection_id":162057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:57:10] local.INFO: Packet analysis {"connection_id":162057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:57:10] local.INFO: Extracted packet for processing {"connection_id":162057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:57:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601411328001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787505814000,"timestamp_ms":1787505814000,"timestamp_seconds":1787505814,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa629f0"} 
[2026-08-23 22:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:57:10] 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-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":162057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":162057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":162057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601411328001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601411328001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:57:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:57:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601411328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":162057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:57:10] local.INFO: GPS data processed {"connection_id":162057,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:57:10] local.INFO: Acknowledgment sent {"connection_id":162057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:57:24] local.INFO: TCP Data received {"connection_id":163462,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:57:24] local.INFO: Processing buffer {"connection_id":163462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:57:24] local.INFO: Packet analysis {"connection_id":163462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:57:24] local.INFO: Extracted packet for processing {"connection_id":163462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:57:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601417472001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787505838000,"timestamp_ms":1787505838000,"timestamp_seconds":1787505838,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa687b0"} 
[2026-08-23 22:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:57: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-08-23 22:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601417472001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601417472001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:57:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:57:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601417472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":163462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:57:24] local.INFO: GPS data processed {"connection_id":163462,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:57:24] local.INFO: Acknowledgment sent {"connection_id":163462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:57:28] local.INFO: TCP Data received {"connection_id":160866,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:57:28] local.INFO: Processing buffer {"connection_id":160866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:57:28] local.INFO: IMEI packet received {"connection_id":160866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":160866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:57:33] local.INFO: TCP Data received {"connection_id":160866,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:57:33] local.INFO: Processing buffer {"connection_id":160866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:57:33] local.INFO: IMEI packet received {"connection_id":160866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":160866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:57:34] local.INFO: TCP Data received {"connection_id":160866,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:57:34] local.INFO: Processing buffer {"connection_id":160866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:57:34] local.INFO: Packet analysis {"connection_id":160866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:57:34] local.INFO: Extracted packet for processing {"connection_id":160866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:57:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601411328001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787505814000,"timestamp_ms":1787505814000,"timestamp_seconds":1787505814,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa629f0"} 
[2026-08-23 22:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:57:34] 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-08-23 22:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601411328001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601411328001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:57:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:57:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601411328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":160866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:57:34] local.INFO: GPS data processed {"connection_id":160866,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:57:34] local.INFO: Acknowledgment sent {"connection_id":160866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:57:50] local.INFO: TCP Data received {"connection_id":161110,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:57:50] local.INFO: Processing buffer {"connection_id":161110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:57:50] local.INFO: IMEI packet received {"connection_id":161110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":161110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:57:55] local.INFO: TCP Data received {"connection_id":161110,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:57:55] local.INFO: Processing buffer {"connection_id":161110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:57:55] local.INFO: IMEI packet received {"connection_id":161110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":161110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:57:56] local.INFO: TCP Data received {"connection_id":161110,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:57:56] local.INFO: Processing buffer {"connection_id":161110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:57:56] local.INFO: Packet analysis {"connection_id":161110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:57:56] local.INFO: Extracted packet for processing {"connection_id":161110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:57:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601417472001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787505838000,"timestamp_ms":1787505838000,"timestamp_seconds":1787505838,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa687b0"} 
[2026-08-23 22:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601417472001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601417472001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:57:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:57:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601417472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":161110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:57:56] local.INFO: GPS data processed {"connection_id":161110,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:57:56] local.INFO: Acknowledgment sent {"connection_id":161110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:58:05] local.INFO: TCP Data received {"connection_id":160866,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:58:05] local.INFO: Processing buffer {"connection_id":160866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:58:05] local.INFO: Packet analysis {"connection_id":160866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:58:05] local.INFO: Extracted packet for processing {"connection_id":160866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601411328001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787505814000,"timestamp_ms":1787505814000,"timestamp_seconds":1787505814,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa629f0"} 
[2026-08-23 22:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601411328001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601411328001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:58:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:58:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601411328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":160866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:58:05] local.INFO: GPS data processed {"connection_id":160866,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:58:05] local.INFO: Acknowledgment sent {"connection_id":160866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:58:27] local.INFO: TCP Data received {"connection_id":161110,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:58:27] local.INFO: Processing buffer {"connection_id":161110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:58:27] local.INFO: Packet analysis {"connection_id":161110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:58:27] local.INFO: Extracted packet for processing {"connection_id":161110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:58:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601417472001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787505838000,"timestamp_ms":1787505838000,"timestamp_seconds":1787505838,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa687b0"} 
[2026-08-23 22:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601417472001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601417472001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:58:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:58:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601417472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":161110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:58:27] local.INFO: GPS data processed {"connection_id":161110,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:58:27] local.INFO: Acknowledgment sent {"connection_id":161110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:58:28] local.INFO: TCP Data received {"connection_id":163463,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:58:28] local.INFO: Processing buffer {"connection_id":163463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:58:28] local.INFO: IMEI packet received {"connection_id":163463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":163463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:58:33] local.INFO: TCP Data received {"connection_id":163463,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:58:33] local.INFO: Processing buffer {"connection_id":163463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:58:33] local.INFO: IMEI packet received {"connection_id":163463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":163463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:58:34] local.INFO: TCP Data received {"connection_id":163463,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:58:34] local.INFO: Processing buffer {"connection_id":163463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:58:34] local.INFO: Packet analysis {"connection_id":163463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:58:34] local.INFO: Extracted packet for processing {"connection_id":163463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:58:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601411328001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787505814000,"timestamp_ms":1787505814000,"timestamp_seconds":1787505814,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa629f0"} 
[2026-08-23 22:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:58:34] 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-08-23 22:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601411328001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601411328001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:58:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:58:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601411328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":163463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:58:34] local.INFO: GPS data processed {"connection_id":163463,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:58:34] local.INFO: Acknowledgment sent {"connection_id":163463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:58:45] local.INFO: TCP Data received {"connection_id":160867,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:58:45] local.INFO: Processing buffer {"connection_id":160867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:58:45] local.INFO: IMEI packet received {"connection_id":160867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":160867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:58:50] local.INFO: TCP Data received {"connection_id":160867,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:58:50] local.INFO: Processing buffer {"connection_id":160867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:58:50] local.INFO: IMEI packet received {"connection_id":160867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":160867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:58:51] local.INFO: TCP Data received {"connection_id":160867,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:58:51] local.INFO: Processing buffer {"connection_id":160867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:58:51] local.INFO: Packet analysis {"connection_id":160867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:58:51] local.INFO: Extracted packet for processing {"connection_id":160867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:58: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-08-23 22:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601417472001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787505838000,"timestamp_ms":1787505838000,"timestamp_seconds":1787505838,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa687b0"} 
[2026-08-23 22:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:58: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-08-23 22:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601417472001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601417472001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:58:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601417472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":160867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:58:51] local.INFO: GPS data processed {"connection_id":160867,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:58:51] local.INFO: Acknowledgment sent {"connection_id":160867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:59:06] local.INFO: TCP Data received {"connection_id":163463,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:59:06] local.INFO: Processing buffer {"connection_id":163463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa629f0012d196580071fef380046010e28..."} 
[2026-08-23 22:59:06] local.INFO: Packet analysis {"connection_id":163463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:59:06] local.INFO: Extracted packet for processing {"connection_id":163463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601411328001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787505814000,"timestamp_ms":1787505814000,"timestamp_seconds":1787505814,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa629f0"} 
[2026-08-23 22:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:59:06] 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-08-23 22:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601411328001,"66":2166,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601411328001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:59:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601411328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":163463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:59:06] local.INFO: GPS data processed {"connection_id":163463,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:59:06] local.INFO: Acknowledgment sent {"connection_id":163463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:59:22] local.INFO: TCP Data received {"connection_id":160867,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:59:22] local.INFO: Processing buffer {"connection_id":160867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fa687b0012d34c58006aa4060000a011425..."} 
[2026-08-23 22:59:22] local.INFO: Packet analysis {"connection_id":160867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:59:22] local.INFO: Extracted packet for processing {"connection_id":160867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fa6"} 
[2026-08-23 22:59:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601417472001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787505838000,"timestamp_ms":1787505838000,"timestamp_seconds":1787505838,"priority":1,"record_length":96,"hex_timestamp":"000001a02fa687b0"} 
[2026-08-23 22:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:59: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-08-23 22:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601417472001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601417472001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:59:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:59:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601417472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":160867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:59:22] local.INFO: GPS data processed {"connection_id":160867,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:59:22] local.INFO: Acknowledgment sent {"connection_id":160867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:59:33] local.INFO: TCP Data received {"connection_id":162058,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:59:33] local.INFO: Processing buffer {"connection_id":162058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:59:33] local.INFO: IMEI packet received {"connection_id":162058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 22:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":162058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:59:38] local.INFO: TCP Data received {"connection_id":162058,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:59:38] local.INFO: Processing buffer {"connection_id":162058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 22:59:38] local.INFO: IMEI packet received {"connection_id":162058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 22:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":162058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:59:39] local.INFO: TCP Data received {"connection_id":162058,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 22:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 22:59:39] local.INFO: Processing buffer {"connection_id":162058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 22:59:39] local.INFO: Packet analysis {"connection_id":162058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faa"} 
[2026-08-23 22:59:39] local.INFO: Extracted packet for processing {"connection_id":162058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faa"} 
[2026-08-23 22:59:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601488384001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787506115000,"timestamp_ms":1787506115000,"timestamp_seconds":1787506115,"priority":1,"record_length":96,"hex_timestamp":"000001a02faac1b8"} 
[2026-08-23 22:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":162058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":162058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":162058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601488384001,"66":2177,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601488384001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:59:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:59:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601488384001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":162058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:59:39] local.INFO: GPS data processed {"connection_id":162058,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:59:39] local.INFO: Acknowledgment sent {"connection_id":162058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:59:43] local.INFO: TCP Data received {"connection_id":162058,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 22:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 22:59:43] local.INFO: Processing buffer {"connection_id":162058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 22:59:43] local.INFO: Packet analysis {"connection_id":162058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faa"} 
[2026-08-23 22:59:43] local.INFO: Extracted packet for processing {"connection_id":162058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faa"} 
[2026-08-23 22:59:43] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 22: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-08-23 22:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601488384001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 22:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 22:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787506115000,"timestamp_ms":1787506115000,"timestamp_seconds":1787506115,"priority":1,"record_length":96,"hex_timestamp":"000001a02faac1b8"} 
[2026-08-23 22:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 22:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 22:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22: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-08-23 22:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 22:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 22:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 22:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 22:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601488384001,"66":2177,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 22:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 22:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 22:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601488384001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:59:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 22:59:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 22:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 22:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601488384001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 22:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":162058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:59:43] local.INFO: GPS data processed {"connection_id":162058,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:59:43] local.INFO: Acknowledgment sent {"connection_id":162058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 22:59:45] local.INFO: TCP Data received {"connection_id":163464,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:59:45] local.INFO: Processing buffer {"connection_id":163464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:59:45] local.INFO: IMEI packet received {"connection_id":163464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 22:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":163464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 22:59:50] local.INFO: TCP Data received {"connection_id":163464,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:59:50] local.INFO: Processing buffer {"connection_id":163464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 22:59:50] local.INFO: IMEI packet received {"connection_id":163464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 22:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":163464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 22:59:51] local.INFO: TCP Data received {"connection_id":163464,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 22:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 22:59:51] local.INFO: Processing buffer {"connection_id":163464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 22:59:51] local.INFO: Packet analysis {"connection_id":163464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fab"} 
[2026-08-23 22:59:51] local.INFO: Extracted packet for processing {"connection_id":163464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fab"} 
[2026-08-23 22:59:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 22:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 22:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601494528001,"note":"Value kept but may cause issues"} 
[2026-08-23 22:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 22:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 22:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 22:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787506139000,"timestamp_ms":1787506139000,"timestamp_seconds":1787506139,"priority":1,"record_length":96,"hex_timestamp":"000001a02fab1f78"} 
[2026-08-23 22:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 22:59: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-08-23 22:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 22:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 22:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 22:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 22:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 22:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 22:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 22:59:51] 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-08-23 22:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 22:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 22:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601494528001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 22:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 22:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 22:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601494528001,"description":"Unknown IO ID 0"} 
[2026-08-23 22:59:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 22:59:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 22:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 22:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 22:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601494528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 22:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":163464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 22:59:51] local.INFO: GPS data processed {"connection_id":163464,"processed":1,"errors":0,"total":1} 
[2026-08-23 22:59:51] local.INFO: Acknowledgment sent {"connection_id":163464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:00:22] local.INFO: TCP Data received {"connection_id":163464,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:00:22] local.INFO: Processing buffer {"connection_id":163464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:00:22] local.INFO: Packet analysis {"connection_id":163464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fab"} 
[2026-08-23 23:00:22] local.INFO: Extracted packet for processing {"connection_id":163464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fab"} 
[2026-08-23 23:00:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601494528001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787506139000,"timestamp_ms":1787506139000,"timestamp_seconds":1787506139,"priority":1,"record_length":96,"hex_timestamp":"000001a02fab1f78"} 
[2026-08-23 23:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:00: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-08-23 23:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 23:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:00: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-08-23 23:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601494528001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601494528001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:00:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:00:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601494528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":163464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:00:22] local.INFO: GPS data processed {"connection_id":163464,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:00:22] local.INFO: Acknowledgment sent {"connection_id":163464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:00:28] local.INFO: TCP Data received {"connection_id":163465,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:00:28] local.INFO: Processing buffer {"connection_id":163465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:00:28] local.INFO: IMEI packet received {"connection_id":163465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":163465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:00:33] local.INFO: TCP Data received {"connection_id":163465,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:00:33] local.INFO: Processing buffer {"connection_id":163465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:00:33] local.INFO: IMEI packet received {"connection_id":163465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":163465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:00:34] local.INFO: TCP Data received {"connection_id":163465,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:00:34] local.INFO: Processing buffer {"connection_id":163465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:00:34] local.INFO: Packet analysis {"connection_id":163465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faa"} 
[2026-08-23 23:00:34] local.INFO: Extracted packet for processing {"connection_id":163465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faa"} 
[2026-08-23 23:00:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601488384001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787506115000,"timestamp_ms":1787506115000,"timestamp_seconds":1787506115,"priority":1,"record_length":96,"hex_timestamp":"000001a02faac1b8"} 
[2026-08-23 23:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 23:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601488384001,"66":2177,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 23:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601488384001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:00:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 23:00:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601488384001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":163465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:00:35] local.INFO: GPS data processed {"connection_id":163465,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:00:35] local.INFO: Acknowledgment sent {"connection_id":163465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:00:50] local.INFO: TCP Data received {"connection_id":161111,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:00:50] local.INFO: Processing buffer {"connection_id":161111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:00:50] local.INFO: IMEI packet received {"connection_id":161111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":161111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:00:55] local.INFO: TCP Data received {"connection_id":161111,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:00:55] local.INFO: Processing buffer {"connection_id":161111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:00:55] local.INFO: IMEI packet received {"connection_id":161111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":161111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:00:56] local.INFO: TCP Data received {"connection_id":161111,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:00:56] local.INFO: Processing buffer {"connection_id":161111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:00:56] local.INFO: Packet analysis {"connection_id":161111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fab"} 
[2026-08-23 23:00:56] local.INFO: Extracted packet for processing {"connection_id":161111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fab"} 
[2026-08-23 23:00:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601494528001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787506139000,"timestamp_ms":1787506139000,"timestamp_seconds":1787506139,"priority":1,"record_length":96,"hex_timestamp":"000001a02fab1f78"} 
[2026-08-23 23:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 23:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:00:56] 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-08-23 23:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601494528001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601494528001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:00:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:00:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601494528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":161111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:00:56] local.INFO: GPS data processed {"connection_id":161111,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:00:56] local.INFO: Acknowledgment sent {"connection_id":161111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:01:00] local.INFO: TCP Data received {"connection_id":161111,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:01:00] local.INFO: Processing buffer {"connection_id":161111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:01:00] local.INFO: Packet analysis {"connection_id":161111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fab"} 
[2026-08-23 23:01:00] local.INFO: Extracted packet for processing {"connection_id":161111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fab"} 
[2026-08-23 23:01:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601494528001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787506139000,"timestamp_ms":1787506139000,"timestamp_seconds":1787506139,"priority":1,"record_length":96,"hex_timestamp":"000001a02fab1f78"} 
[2026-08-23 23:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 23:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:01:00] 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-08-23 23:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601494528001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601494528001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:01:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:01:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601494528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":161111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:01:00] local.INFO: GPS data processed {"connection_id":161111,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:01:00] local.INFO: Acknowledgment sent {"connection_id":161111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:01:06] local.INFO: TCP Data received {"connection_id":163465,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:01:06] local.INFO: Processing buffer {"connection_id":163465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:01:06] local.INFO: Packet analysis {"connection_id":163465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faa"} 
[2026-08-23 23:01:06] local.INFO: Extracted packet for processing {"connection_id":163465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faa"} 
[2026-08-23 23:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601488384001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787506115000,"timestamp_ms":1787506115000,"timestamp_seconds":1787506115,"priority":1,"record_length":96,"hex_timestamp":"000001a02faac1b8"} 
[2026-08-23 23:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 23:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601488384001,"66":2177,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 23:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601488384001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:01:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 23:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601488384001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":163465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:01:06] local.INFO: GPS data processed {"connection_id":163465,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:01:06] local.INFO: Acknowledgment sent {"connection_id":163465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:01:28] local.INFO: TCP Data received {"connection_id":162059,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:01:28] local.INFO: Processing buffer {"connection_id":162059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:01:28] local.INFO: IMEI packet received {"connection_id":162059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":162059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:01:33] local.INFO: TCP Data received {"connection_id":162059,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:01:33] local.INFO: Processing buffer {"connection_id":162059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:01:33] local.INFO: IMEI packet received {"connection_id":162059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":162059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:01:35] local.INFO: TCP Data received {"connection_id":162059,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:01:35] local.INFO: Processing buffer {"connection_id":162059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:01:35] local.INFO: Packet analysis {"connection_id":162059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faa"} 
[2026-08-23 23:01:35] local.INFO: Extracted packet for processing {"connection_id":162059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faa"} 
[2026-08-23 23:01:35] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601488384001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787506115000,"timestamp_ms":1787506115000,"timestamp_seconds":1787506115,"priority":1,"record_length":96,"hex_timestamp":"000001a02faac1b8"} 
[2026-08-23 23:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 23:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":162059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":162059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":162059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601488384001,"66":2177,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 23:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601488384001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:01:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 23:01:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601488384001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":162059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:01:35] local.INFO: GPS data processed {"connection_id":162059,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:01:35] local.INFO: Acknowledgment sent {"connection_id":162059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:01:45] local.INFO: TCP Data received {"connection_id":163466,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:01:45] local.INFO: Processing buffer {"connection_id":163466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:01:45] local.INFO: IMEI packet received {"connection_id":163466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":163466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:01:50] local.INFO: TCP Data received {"connection_id":163466,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:01:50] local.INFO: Processing buffer {"connection_id":163466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:01:50] local.INFO: IMEI packet received {"connection_id":163466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":163466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:01:51] local.INFO: TCP Data received {"connection_id":163466,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:01:51] local.INFO: Processing buffer {"connection_id":163466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:01:51] local.INFO: Packet analysis {"connection_id":163466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fab"} 
[2026-08-23 23:01:51] local.INFO: Extracted packet for processing {"connection_id":163466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fab"} 
[2026-08-23 23:01:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601494528001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787506139000,"timestamp_ms":1787506139000,"timestamp_seconds":1787506139,"priority":1,"record_length":96,"hex_timestamp":"000001a02fab1f78"} 
[2026-08-23 23:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23: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-08-23 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 23:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:01:51] 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-08-23 23:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601494528001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601494528001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:01:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:01:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601494528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":163466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:01:51] local.INFO: GPS data processed {"connection_id":163466,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:01:51] local.INFO: Acknowledgment sent {"connection_id":163466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:01:55] local.INFO: TCP Data received {"connection_id":163466,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:01:55] local.INFO: Processing buffer {"connection_id":163466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:01:55] local.INFO: Packet analysis {"connection_id":163466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fab"} 
[2026-08-23 23:01:55] local.INFO: Extracted packet for processing {"connection_id":163466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fab"} 
[2026-08-23 23:01:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601494528001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787506139000,"timestamp_ms":1787506139000,"timestamp_seconds":1787506139,"priority":1,"record_length":96,"hex_timestamp":"000001a02fab1f78"} 
[2026-08-23 23:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 23:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:01:55] 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-08-23 23:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601494528001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601494528001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:01:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:01:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601494528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":163466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:01:55] local.INFO: GPS data processed {"connection_id":163466,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:01:55] local.INFO: Acknowledgment sent {"connection_id":163466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:02:06] local.INFO: TCP Data received {"connection_id":162059,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:02:06] local.INFO: Processing buffer {"connection_id":162059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:02:06] local.INFO: Packet analysis {"connection_id":162059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faa"} 
[2026-08-23 23:02:06] local.INFO: Extracted packet for processing {"connection_id":162059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faa"} 
[2026-08-23 23:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601488384001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787506115000,"timestamp_ms":1787506115000,"timestamp_seconds":1787506115,"priority":1,"record_length":96,"hex_timestamp":"000001a02faac1b8"} 
[2026-08-23 23:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 23:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601488384001,"66":2177,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 23:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601488384001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:02:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 23:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601488384001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":162059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:02:06] local.INFO: GPS data processed {"connection_id":162059,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:02:06] local.INFO: Acknowledgment sent {"connection_id":162059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:02:26] local.INFO: TCP Data received {"connection_id":163466,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:02:26] local.INFO: Processing buffer {"connection_id":163466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:02:26] local.INFO: Packet analysis {"connection_id":163466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fab"} 
[2026-08-23 23:02:26] local.INFO: Extracted packet for processing {"connection_id":163466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fab"} 
[2026-08-23 23:02:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601494528001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787506139000,"timestamp_ms":1787506139000,"timestamp_seconds":1787506139,"priority":1,"record_length":96,"hex_timestamp":"000001a02fab1f78"} 
[2026-08-23 23:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:02: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-08-23 23:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 23:02: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-08-23 23:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":163466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":163466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":163466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:02:26] 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-08-23 23:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601494528001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601494528001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:02:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:02:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601494528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":163466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:02:26] local.INFO: GPS data processed {"connection_id":163466,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:02:26] local.INFO: Acknowledgment sent {"connection_id":163466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:02:28] local.INFO: TCP Data received {"connection_id":163467,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:02:28] local.INFO: Processing buffer {"connection_id":163467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:02:28] local.INFO: IMEI packet received {"connection_id":163467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":163467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:02:33] local.INFO: TCP Data received {"connection_id":163467,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:02:33] local.INFO: Processing buffer {"connection_id":163467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:02:33] local.INFO: IMEI packet received {"connection_id":163467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":163467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:02:34] local.INFO: TCP Data received {"connection_id":163467,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:02:34] local.INFO: Processing buffer {"connection_id":163467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:02:34] local.INFO: Packet analysis {"connection_id":163467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faa"} 
[2026-08-23 23:02:34] local.INFO: Extracted packet for processing {"connection_id":163467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faa"} 
[2026-08-23 23:02:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601488384001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787506115000,"timestamp_ms":1787506115000,"timestamp_seconds":1787506115,"priority":1,"record_length":96,"hex_timestamp":"000001a02faac1b8"} 
[2026-08-23 23:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 23:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601488384001,"66":2177,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 23:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601488384001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:02:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 23:02:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601488384001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":163467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:02:34] local.INFO: GPS data processed {"connection_id":163467,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:02:34] local.INFO: Acknowledgment sent {"connection_id":163467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:02:45] local.INFO: TCP Data received {"connection_id":160868,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:02:45] local.INFO: Processing buffer {"connection_id":160868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:02:45] local.INFO: IMEI packet received {"connection_id":160868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":160868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:02:50] local.INFO: TCP Data received {"connection_id":160868,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:02:50] local.INFO: Processing buffer {"connection_id":160868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:02:50] local.INFO: IMEI packet received {"connection_id":160868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":160868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:02:51] local.INFO: TCP Data received {"connection_id":160868,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:02:51] local.INFO: Processing buffer {"connection_id":160868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:02:51] local.INFO: Packet analysis {"connection_id":160868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fab"} 
[2026-08-23 23:02:51] local.INFO: Extracted packet for processing {"connection_id":160868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fab"} 
[2026-08-23 23:02:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601494528001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787506139000,"timestamp_ms":1787506139000,"timestamp_seconds":1787506139,"priority":1,"record_length":96,"hex_timestamp":"000001a02fab1f78"} 
[2026-08-23 23:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:02: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-08-23 23:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 23:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601494528001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601494528001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:02:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:02:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601494528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":160868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:02:51] local.INFO: GPS data processed {"connection_id":160868,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:02:51] local.INFO: Acknowledgment sent {"connection_id":160868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:03:05] local.INFO: TCP Data received {"connection_id":163467,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:03:05] local.INFO: Processing buffer {"connection_id":163467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:03:05] local.INFO: Packet analysis {"connection_id":163467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faa"} 
[2026-08-23 23:03:05] local.INFO: Extracted packet for processing {"connection_id":163467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faa"} 
[2026-08-23 23:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601488384001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787506115000,"timestamp_ms":1787506115000,"timestamp_seconds":1787506115,"priority":1,"record_length":96,"hex_timestamp":"000001a02faac1b8"} 
[2026-08-23 23:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 23:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601488384001,"66":2177,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 23:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601488384001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:03:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 23:03:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601488384001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":163467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:03:05] local.INFO: GPS data processed {"connection_id":163467,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:03:05] local.INFO: Acknowledgment sent {"connection_id":163467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:03:23] local.INFO: TCP Data received {"connection_id":160868,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:03:23] local.INFO: Processing buffer {"connection_id":160868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:03:23] local.INFO: Packet analysis {"connection_id":160868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fab"} 
[2026-08-23 23:03:23] local.INFO: Extracted packet for processing {"connection_id":160868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fab"} 
[2026-08-23 23:03:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601494528001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787506139000,"timestamp_ms":1787506139000,"timestamp_seconds":1787506139,"priority":1,"record_length":96,"hex_timestamp":"000001a02fab1f78"} 
[2026-08-23 23:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:03: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-08-23 23:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 23:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:03:23] 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-08-23 23:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601494528001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601494528001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:03:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:03:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601494528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":160868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:03:23] local.INFO: GPS data processed {"connection_id":160868,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:03:23] local.INFO: Acknowledgment sent {"connection_id":160868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:03:28] local.INFO: TCP Data received {"connection_id":162060,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:03:28] local.INFO: Processing buffer {"connection_id":162060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:03:28] local.INFO: IMEI packet received {"connection_id":162060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":162060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:03:33] local.INFO: TCP Data received {"connection_id":162060,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:03:33] local.INFO: Processing buffer {"connection_id":162060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:03:33] local.INFO: IMEI packet received {"connection_id":162060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":162060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:03:34] local.INFO: TCP Data received {"connection_id":162060,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:03:34] local.INFO: Processing buffer {"connection_id":162060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:03:34] local.INFO: Packet analysis {"connection_id":162060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faa"} 
[2026-08-23 23:03:34] local.INFO: Extracted packet for processing {"connection_id":162060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faa"} 
[2026-08-23 23:03:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601488384001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787506115000,"timestamp_ms":1787506115000,"timestamp_seconds":1787506115,"priority":1,"record_length":96,"hex_timestamp":"000001a02faac1b8"} 
[2026-08-23 23:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 23:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601488384001,"66":2177,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 23:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601488384001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:03:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 23:03:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601488384001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":162060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:03:34] local.INFO: GPS data processed {"connection_id":162060,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:03:34] local.INFO: Acknowledgment sent {"connection_id":162060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:03:45] local.INFO: TCP Data received {"connection_id":162061,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:03:45] local.INFO: Processing buffer {"connection_id":162061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:03:45] local.INFO: IMEI packet received {"connection_id":162061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":162061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:03:50] local.INFO: TCP Data received {"connection_id":162061,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:03:50] local.INFO: Processing buffer {"connection_id":162061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:03:50] local.INFO: IMEI packet received {"connection_id":162061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":162061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:03:51] local.INFO: TCP Data received {"connection_id":162061,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:03:51] local.INFO: Processing buffer {"connection_id":162061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:03:51] local.INFO: Packet analysis {"connection_id":162061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fab"} 
[2026-08-23 23:03:51] local.INFO: Extracted packet for processing {"connection_id":162061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fab"} 
[2026-08-23 23:03:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601494528001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787506139000,"timestamp_ms":1787506139000,"timestamp_seconds":1787506139,"priority":1,"record_length":96,"hex_timestamp":"000001a02fab1f78"} 
[2026-08-23 23:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:03: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-08-23 23:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 23:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601494528001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601494528001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:03:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:03:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601494528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":162061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:03:51] local.INFO: GPS data processed {"connection_id":162061,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:03:51] local.INFO: Acknowledgment sent {"connection_id":162061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:04:06] local.INFO: TCP Data received {"connection_id":162060,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:04:06] local.INFO: Processing buffer {"connection_id":162060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02faac1b8012d196580071fef380046010e28..."} 
[2026-08-23 23:04:06] local.INFO: Packet analysis {"connection_id":162060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faa"} 
[2026-08-23 23:04:06] local.INFO: Extracted packet for processing {"connection_id":162060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faa"} 
[2026-08-23 23:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601488384001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787506115000,"timestamp_ms":1787506115000,"timestamp_seconds":1787506115,"priority":1,"record_length":96,"hex_timestamp":"000001a02faac1b8"} 
[2026-08-23 23:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 23:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601488384001,"66":2177,"102":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-23 23:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601488384001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:04:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-23 23:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601488384001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":162060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:04:06] local.INFO: GPS data processed {"connection_id":162060,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:04:06] local.INFO: Acknowledgment sent {"connection_id":162060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:04:23] local.INFO: TCP Data received {"connection_id":162061,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:04:23] local.INFO: Processing buffer {"connection_id":162061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fab1f78012d34c58006aa4060000a011422..."} 
[2026-08-23 23:04:23] local.INFO: Packet analysis {"connection_id":162061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fab"} 
[2026-08-23 23:04:23] local.INFO: Extracted packet for processing {"connection_id":162061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fab"} 
[2026-08-23 23:04:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601494528001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787506139000,"timestamp_ms":1787506139000,"timestamp_seconds":1787506139,"priority":1,"record_length":96,"hex_timestamp":"000001a02fab1f78"} 
[2026-08-23 23:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:04: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-08-23 23:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 23:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:04:23] 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-08-23 23:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601494528001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601494528001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:04:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:04:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601494528001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":162061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:04:23] local.INFO: GPS data processed {"connection_id":162061,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:04:23] local.INFO: Acknowledgment sent {"connection_id":162061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:04:33] local.INFO: TCP Data received {"connection_id":161112,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:04:33] local.INFO: Processing buffer {"connection_id":161112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:04:33] local.INFO: IMEI packet received {"connection_id":161112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":161112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:04:38] local.INFO: TCP Data received {"connection_id":161112,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:04:38] local.INFO: Processing buffer {"connection_id":161112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:04:38] local.INFO: IMEI packet received {"connection_id":161112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":161112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:04:39] local.INFO: TCP Data received {"connection_id":161112,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:04:39] local.INFO: Processing buffer {"connection_id":161112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:04:39] local.INFO: Packet analysis {"connection_id":161112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:04:39] local.INFO: Extracted packet for processing {"connection_id":161112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:04:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601565440001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787506416000,"timestamp_ms":1787506416000,"timestamp_seconds":1787506416,"priority":1,"record_length":96,"hex_timestamp":"000001a02faf5980"} 
[2026-08-23 23:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:04:39] 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-08-23 23:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 23:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601565440001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601565440001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:04:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:04:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601565440001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":161112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:04:40] local.INFO: GPS data processed {"connection_id":161112,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:04:40] local.INFO: Acknowledgment sent {"connection_id":161112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:04:44] local.INFO: TCP Data received {"connection_id":161112,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:04:44] local.INFO: Processing buffer {"connection_id":161112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:04:44] local.INFO: Packet analysis {"connection_id":161112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:04:44] local.INFO: Extracted packet for processing {"connection_id":161112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:04:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601565440001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787506416000,"timestamp_ms":1787506416000,"timestamp_seconds":1787506416,"priority":1,"record_length":96,"hex_timestamp":"000001a02faf5980"} 
[2026-08-23 23:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:04:44] 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-08-23 23:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 23:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601565440001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601565440001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:04:44] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:04:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601565440001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":161112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:04:44] local.INFO: GPS data processed {"connection_id":161112,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:04:44] local.INFO: Acknowledgment sent {"connection_id":161112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:04:44] local.INFO: TCP Data received {"connection_id":161113,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:04:44] local.INFO: Processing buffer {"connection_id":161113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:04:44] local.INFO: IMEI packet received {"connection_id":161113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":161113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:04:50] local.INFO: TCP Data received {"connection_id":161113,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:04:50] local.INFO: Processing buffer {"connection_id":161113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:04:50] local.INFO: IMEI packet received {"connection_id":161113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":161113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:04:51] local.INFO: TCP Data received {"connection_id":161113,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:04:51] local.INFO: Processing buffer {"connection_id":161113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:04:51] local.INFO: Packet analysis {"connection_id":161113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:04:51] local.INFO: Extracted packet for processing {"connection_id":161113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:04:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601571584001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787506440000,"timestamp_ms":1787506440000,"timestamp_seconds":1787506440,"priority":1,"record_length":96,"hex_timestamp":"000001a02fafb740"} 
[2026-08-23 23:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:04: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-08-23 23:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 23:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601571584001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601571584001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:04:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:04:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601571584001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":161113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:04:51] local.INFO: GPS data processed {"connection_id":161113,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:04:51] local.INFO: Acknowledgment sent {"connection_id":161113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:05:22] local.INFO: TCP Data received {"connection_id":161113,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:05:22] local.INFO: Processing buffer {"connection_id":161113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:05:22] local.INFO: Packet analysis {"connection_id":161113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:05:22] local.INFO: Extracted packet for processing {"connection_id":161113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:05:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601571584001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787506440000,"timestamp_ms":1787506440000,"timestamp_seconds":1787506440,"priority":1,"record_length":96,"hex_timestamp":"000001a02fafb740"} 
[2026-08-23 23:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:05: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-08-23 23:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 23:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601571584001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601571584001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:05:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:05:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601571584001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":161113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:05:22] local.INFO: GPS data processed {"connection_id":161113,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:05:22] local.INFO: Acknowledgment sent {"connection_id":161113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:05:28] local.INFO: TCP Data received {"connection_id":162062,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:05:28] local.INFO: Processing buffer {"connection_id":162062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:05:28] local.INFO: IMEI packet received {"connection_id":162062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":162062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:05:33] local.INFO: TCP Data received {"connection_id":162062,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:05:33] local.INFO: Processing buffer {"connection_id":162062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:05:33] local.INFO: IMEI packet received {"connection_id":162062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":162062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:05:34] local.INFO: TCP Data received {"connection_id":162062,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:05:34] local.INFO: Processing buffer {"connection_id":162062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:05:34] local.INFO: Packet analysis {"connection_id":162062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:05:34] local.INFO: Extracted packet for processing {"connection_id":162062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:05:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601565440001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787506416000,"timestamp_ms":1787506416000,"timestamp_seconds":1787506416,"priority":1,"record_length":96,"hex_timestamp":"000001a02faf5980"} 
[2026-08-23 23:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:05:34] 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-08-23 23:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 23:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601565440001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601565440001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:05:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:05:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601565440001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":162062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:05:34] local.INFO: GPS data processed {"connection_id":162062,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:05:34] local.INFO: Acknowledgment sent {"connection_id":162062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:05:50] local.INFO: TCP Data received {"connection_id":162063,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:05:50] local.INFO: Processing buffer {"connection_id":162063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:05:50] local.INFO: IMEI packet received {"connection_id":162063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":162063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:05:55] local.INFO: TCP Data received {"connection_id":162063,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:05:55] local.INFO: Processing buffer {"connection_id":162063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:05:55] local.INFO: IMEI packet received {"connection_id":162063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":162063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:05:56] local.INFO: TCP Data received {"connection_id":162063,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:05:56] local.INFO: Processing buffer {"connection_id":162063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:05:56] local.INFO: Packet analysis {"connection_id":162063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:05:56] local.INFO: Extracted packet for processing {"connection_id":162063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:05:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601571584001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787506440000,"timestamp_ms":1787506440000,"timestamp_seconds":1787506440,"priority":1,"record_length":96,"hex_timestamp":"000001a02fafb740"} 
[2026-08-23 23:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 23:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:05:56] 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-08-23 23:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601571584001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601571584001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:05:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:05:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601571584001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":162063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:05:56] local.INFO: GPS data processed {"connection_id":162063,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:05:56] local.INFO: Acknowledgment sent {"connection_id":162063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:06:01] local.INFO: TCP Data received {"connection_id":162063,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:06:01] local.INFO: Processing buffer {"connection_id":162063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:06:01] local.INFO: Packet analysis {"connection_id":162063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:06:01] local.INFO: Extracted packet for processing {"connection_id":162063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:06:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601571584001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787506440000,"timestamp_ms":1787506440000,"timestamp_seconds":1787506440,"priority":1,"record_length":96,"hex_timestamp":"000001a02fafb740"} 
[2026-08-23 23:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 23:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:06:01] 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-08-23 23:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601571584001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601571584001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:06:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:06:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601571584001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":162063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:06:01] local.INFO: GPS data processed {"connection_id":162063,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:06:01] local.INFO: Acknowledgment sent {"connection_id":162063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:06:06] local.INFO: TCP Data received {"connection_id":162062,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:06:06] local.INFO: Processing buffer {"connection_id":162062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:06:06] local.INFO: Packet analysis {"connection_id":162062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:06:06] local.INFO: Extracted packet for processing {"connection_id":162062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601565440001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787506416000,"timestamp_ms":1787506416000,"timestamp_seconds":1787506416,"priority":1,"record_length":96,"hex_timestamp":"000001a02faf5980"} 
[2026-08-23 23:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:06:06] 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-08-23 23:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 23:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601565440001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601565440001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:06:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601565440001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":162062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:06:06] local.INFO: GPS data processed {"connection_id":162062,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:06:06] local.INFO: Acknowledgment sent {"connection_id":162062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:06:28] local.INFO: TCP Data received {"connection_id":163468,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:06:28] local.INFO: Processing buffer {"connection_id":163468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:06:28] local.INFO: IMEI packet received {"connection_id":163468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":163468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:06:33] local.INFO: TCP Data received {"connection_id":163468,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:06:33] local.INFO: Processing buffer {"connection_id":163468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:06:33] local.INFO: IMEI packet received {"connection_id":163468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":163468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:06:34] local.INFO: TCP Data received {"connection_id":163468,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:06:34] local.INFO: Processing buffer {"connection_id":163468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:06:34] local.INFO: Packet analysis {"connection_id":163468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:06:34] local.INFO: Extracted packet for processing {"connection_id":163468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:06:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601565440001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787506416000,"timestamp_ms":1787506416000,"timestamp_seconds":1787506416,"priority":1,"record_length":96,"hex_timestamp":"000001a02faf5980"} 
[2026-08-23 23:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:06:34] 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-08-23 23: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 23:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601565440001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601565440001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:06:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:06:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601565440001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":163468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:06:34] local.INFO: GPS data processed {"connection_id":163468,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:06:34] local.INFO: Acknowledgment sent {"connection_id":163468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:06:45] local.INFO: TCP Data received {"connection_id":163469,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:06:45] local.INFO: Processing buffer {"connection_id":163469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:06:45] local.INFO: IMEI packet received {"connection_id":163469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":163469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:06:50] local.INFO: TCP Data received {"connection_id":163469,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:06:50] local.INFO: Processing buffer {"connection_id":163469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:06:50] local.INFO: IMEI packet received {"connection_id":163469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":163469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:06:51] local.INFO: TCP Data received {"connection_id":163469,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:06:51] local.INFO: Processing buffer {"connection_id":163469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:06:51] local.INFO: Packet analysis {"connection_id":163469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:06:51] local.INFO: Extracted packet for processing {"connection_id":163469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:06:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601571584001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787506440000,"timestamp_ms":1787506440000,"timestamp_seconds":1787506440,"priority":1,"record_length":96,"hex_timestamp":"000001a02fafb740"} 
[2026-08-23 23:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:06: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-08-23 23:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 23:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:06:51] 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-08-23 23:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601571584001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601571584001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:06:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:06:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601571584001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":163469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:06:51] local.INFO: GPS data processed {"connection_id":163469,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:06:51] local.INFO: Acknowledgment sent {"connection_id":163469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:07:05] local.INFO: TCP Data received {"connection_id":163468,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:07:05] local.INFO: Processing buffer {"connection_id":163468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:07:05] local.INFO: Packet analysis {"connection_id":163468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:07:05] local.INFO: Extracted packet for processing {"connection_id":163468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601565440001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787506416000,"timestamp_ms":1787506416000,"timestamp_seconds":1787506416,"priority":1,"record_length":96,"hex_timestamp":"000001a02faf5980"} 
[2026-08-23 23:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 23:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601565440001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601565440001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:07:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:07:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601565440001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":163468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:07:06] local.INFO: GPS data processed {"connection_id":163468,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:07:06] local.INFO: Acknowledgment sent {"connection_id":163468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:07:23] local.INFO: TCP Data received {"connection_id":163469,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:07:23] local.INFO: Processing buffer {"connection_id":163469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:07:23] local.INFO: Packet analysis {"connection_id":163469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:07:23] local.INFO: Extracted packet for processing {"connection_id":163469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:07:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601571584001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787506440000,"timestamp_ms":1787506440000,"timestamp_seconds":1787506440,"priority":1,"record_length":96,"hex_timestamp":"000001a02fafb740"} 
[2026-08-23 23:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:07: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-08-23 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 23:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:07:23] 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-08-23 23:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601571584001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601571584001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:07:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:07:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601571584001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":163469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:07:23] local.INFO: GPS data processed {"connection_id":163469,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:07:23] local.INFO: Acknowledgment sent {"connection_id":163469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:07:28] local.INFO: TCP Data received {"connection_id":161114,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:07:28] local.INFO: Processing buffer {"connection_id":161114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:07:28] local.INFO: IMEI packet received {"connection_id":161114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":161114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:07:33] local.INFO: TCP Data received {"connection_id":161114,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:07:33] local.INFO: Processing buffer {"connection_id":161114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:07:33] local.INFO: IMEI packet received {"connection_id":161114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":161114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:07:34] local.INFO: TCP Data received {"connection_id":161114,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:07:34] local.INFO: Processing buffer {"connection_id":161114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:07:34] local.INFO: Packet analysis {"connection_id":161114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:07:34] local.INFO: Extracted packet for processing {"connection_id":161114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:07:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601565440001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787506416000,"timestamp_ms":1787506416000,"timestamp_seconds":1787506416,"priority":1,"record_length":96,"hex_timestamp":"000001a02faf5980"} 
[2026-08-23 23:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:07:34] 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-08-23 23:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 23:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601565440001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601565440001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:07:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:07:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601565440001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":161114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:07:34] local.INFO: GPS data processed {"connection_id":161114,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:07:34] local.INFO: Acknowledgment sent {"connection_id":161114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:07:45] local.INFO: TCP Data received {"connection_id":163470,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:07:45] local.INFO: Processing buffer {"connection_id":163470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:07:45] local.INFO: IMEI packet received {"connection_id":163470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":163470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:07:50] local.INFO: TCP Data received {"connection_id":163470,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:07:50] local.INFO: Processing buffer {"connection_id":163470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:07:50] local.INFO: IMEI packet received {"connection_id":163470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":163470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:07:52] local.INFO: TCP Data received {"connection_id":163470,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:07:52] local.INFO: Processing buffer {"connection_id":163470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:07:52] local.INFO: Packet analysis {"connection_id":163470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:07:52] local.INFO: Extracted packet for processing {"connection_id":163470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601571584001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787506440000,"timestamp_ms":1787506440000,"timestamp_seconds":1787506440,"priority":1,"record_length":96,"hex_timestamp":"000001a02fafb740"} 
[2026-08-23 23:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:07: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-08-23 23:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 23:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:07:52] 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-08-23 23:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601571584001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601571584001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:07:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601571584001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":163470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:07:52] local.INFO: GPS data processed {"connection_id":163470,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:07:52] local.INFO: Acknowledgment sent {"connection_id":163470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:08:05] local.INFO: TCP Data received {"connection_id":161114,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:08:05] local.INFO: Processing buffer {"connection_id":161114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:08:05] local.INFO: Packet analysis {"connection_id":161114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:08:05] local.INFO: Extracted packet for processing {"connection_id":161114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601565440001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787506416000,"timestamp_ms":1787506416000,"timestamp_seconds":1787506416,"priority":1,"record_length":96,"hex_timestamp":"000001a02faf5980"} 
[2026-08-23 23:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 23:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601565440001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601565440001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:08:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:08:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601565440001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":161114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:08:06] local.INFO: GPS data processed {"connection_id":161114,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:08:06] local.INFO: Acknowledgment sent {"connection_id":161114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:08:24] local.INFO: TCP Data received {"connection_id":163470,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:08:24] local.INFO: Processing buffer {"connection_id":163470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:08:24] local.INFO: Packet analysis {"connection_id":163470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:08:24] local.INFO: Extracted packet for processing {"connection_id":163470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:08:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601571584001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787506440000,"timestamp_ms":1787506440000,"timestamp_seconds":1787506440,"priority":1,"record_length":96,"hex_timestamp":"000001a02fafb740"} 
[2026-08-23 23:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:08: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-08-23 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 23:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:08: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-08-23 23:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601571584001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601571584001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:08:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:08:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601571584001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":163470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:08:24] local.INFO: GPS data processed {"connection_id":163470,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:08:24] local.INFO: Acknowledgment sent {"connection_id":163470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:08:33] local.INFO: TCP Data received {"connection_id":162064,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:08:33] local.INFO: Processing buffer {"connection_id":162064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:08:33] local.INFO: IMEI packet received {"connection_id":162064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":162064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:08:38] local.INFO: TCP Data received {"connection_id":162064,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:08:38] local.INFO: Processing buffer {"connection_id":162064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:08:38] local.INFO: IMEI packet received {"connection_id":162064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":162064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:08:39] local.INFO: TCP Data received {"connection_id":162064,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:08:39] local.INFO: Processing buffer {"connection_id":162064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:08:39] local.INFO: Packet analysis {"connection_id":162064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:08:39] local.INFO: Extracted packet for processing {"connection_id":162064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:08:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601565440001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787506416000,"timestamp_ms":1787506416000,"timestamp_seconds":1787506416,"priority":1,"record_length":96,"hex_timestamp":"000001a02faf5980"} 
[2026-08-23 23:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:08:39] 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-08-23 23:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 23:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":162064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":162064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":162064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601565440001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601565440001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:08:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:08:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601565440001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":162064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:08:39] local.INFO: GPS data processed {"connection_id":162064,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:08:39] local.INFO: Acknowledgment sent {"connection_id":162064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:08:43] local.INFO: TCP Data received {"connection_id":162064,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:08:43] local.INFO: Processing buffer {"connection_id":162064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02faf5980012d196580071fef380046010e27..."} 
[2026-08-23 23:08:43] local.INFO: Packet analysis {"connection_id":162064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:08:43] local.INFO: Extracted packet for processing {"connection_id":162064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:08:43] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601565440001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787506416000,"timestamp_ms":1787506416000,"timestamp_seconds":1787506416,"priority":1,"record_length":96,"hex_timestamp":"000001a02faf5980"} 
[2026-08-23 23:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 23:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601565440001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601565440001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:08:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:08:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601565440001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":162064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:08:44] local.INFO: GPS data processed {"connection_id":162064,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:08:44] local.INFO: Acknowledgment sent {"connection_id":162064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:08:45] local.INFO: TCP Data received {"connection_id":162065,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:08:45] local.INFO: Processing buffer {"connection_id":162065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:08:45] local.INFO: IMEI packet received {"connection_id":162065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":162065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:08:50] local.INFO: TCP Data received {"connection_id":162065,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:08:50] local.INFO: Processing buffer {"connection_id":162065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:08:50] local.INFO: IMEI packet received {"connection_id":162065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":162065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:08:51] local.INFO: TCP Data received {"connection_id":162065,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:08:51] local.INFO: Processing buffer {"connection_id":162065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:08:51] local.INFO: Packet analysis {"connection_id":162065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:08:51] local.INFO: Extracted packet for processing {"connection_id":162065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:08:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601571584001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787506440000,"timestamp_ms":1787506440000,"timestamp_seconds":1787506440,"priority":1,"record_length":96,"hex_timestamp":"000001a02fafb740"} 
[2026-08-23 23:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:08: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-08-23 23:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 23:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601571584001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601571584001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:08:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:08:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601571584001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":162065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:08:51] local.INFO: GPS data processed {"connection_id":162065,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:08:51] local.INFO: Acknowledgment sent {"connection_id":162065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:09:22] local.INFO: TCP Data received {"connection_id":162065,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:09:22] local.INFO: Processing buffer {"connection_id":162065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fafb740012d34c58006aa4060000a011423..."} 
[2026-08-23 23:09:22] local.INFO: Packet analysis {"connection_id":162065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:09:22] local.INFO: Extracted packet for processing {"connection_id":162065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02faf"} 
[2026-08-23 23:09:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601571584001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787506440000,"timestamp_ms":1787506440000,"timestamp_seconds":1787506440,"priority":1,"record_length":96,"hex_timestamp":"000001a02fafb740"} 
[2026-08-23 23:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:09: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-08-23 23:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-23 23:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601571584001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601571584001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:09:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:09:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601571584001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":162065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:09:22] local.INFO: GPS data processed {"connection_id":162065,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:09:22] local.INFO: Acknowledgment sent {"connection_id":162065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:09:28] local.INFO: TCP Data received {"connection_id":161115,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:09:28] local.INFO: Processing buffer {"connection_id":161115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:09:28] local.INFO: IMEI packet received {"connection_id":161115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":161115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:09:33] local.INFO: TCP Data received {"connection_id":161115,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:09:33] local.INFO: Processing buffer {"connection_id":161115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:09:33] local.INFO: IMEI packet received {"connection_id":161115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":161115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:09:34] local.INFO: TCP Data received {"connection_id":161115,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:09:34] local.INFO: Processing buffer {"connection_id":161115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:09:34] local.INFO: Packet analysis {"connection_id":161115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb3"} 
[2026-08-23 23:09:34] local.INFO: Extracted packet for processing {"connection_id":161115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb3"} 
[2026-08-23 23:09:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601642496001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787506717000,"timestamp_ms":1787506717000,"timestamp_seconds":1787506717,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb3f148"} 
[2026-08-23 23:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 23:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601642496001,"66":2177,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601642496001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:09:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:09:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601642496001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":161115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:09:34] local.INFO: GPS data processed {"connection_id":161115,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:09:34] local.INFO: Acknowledgment sent {"connection_id":161115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:09:44] local.INFO: TCP Data received {"connection_id":163471,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:09:44] local.INFO: Processing buffer {"connection_id":163471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:09:44] local.INFO: IMEI packet received {"connection_id":163471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":163471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:09:50] local.INFO: TCP Data received {"connection_id":163471,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:09:50] local.INFO: Processing buffer {"connection_id":163471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:09:50] local.INFO: IMEI packet received {"connection_id":163471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":163471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:09:51] local.INFO: TCP Data received {"connection_id":163471,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:09:51] local.INFO: Processing buffer {"connection_id":163471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:09:51] local.INFO: Packet analysis {"connection_id":163471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb4"} 
[2026-08-23 23:09:51] local.INFO: Extracted packet for processing {"connection_id":163471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb4"} 
[2026-08-23 23:09:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601648640001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787506741000,"timestamp_ms":1787506741000,"timestamp_seconds":1787506741,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb44f08"} 
[2026-08-23 23:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:09: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-08-23 23:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601648640001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601648640001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:09:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:09:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601648640001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":163471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:09:51] local.INFO: GPS data processed {"connection_id":163471,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:09:51] local.INFO: Acknowledgment sent {"connection_id":163471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:10:05] local.INFO: TCP Data received {"connection_id":161115,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:10:05] local.INFO: Processing buffer {"connection_id":161115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:10:05] local.INFO: Packet analysis {"connection_id":161115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb3"} 
[2026-08-23 23:10:05] local.INFO: Extracted packet for processing {"connection_id":161115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb3"} 
[2026-08-23 23:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601642496001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787506717000,"timestamp_ms":1787506717000,"timestamp_seconds":1787506717,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb3f148"} 
[2026-08-23 23:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 23:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601642496001,"66":2177,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601642496001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:10:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:10:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601642496001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":161115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:10:05] local.INFO: GPS data processed {"connection_id":161115,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:10:05] local.INFO: Acknowledgment sent {"connection_id":161115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:10:22] local.INFO: TCP Data received {"connection_id":163471,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:10:22] local.INFO: Processing buffer {"connection_id":163471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:10:22] local.INFO: Packet analysis {"connection_id":163471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb4"} 
[2026-08-23 23:10:22] local.INFO: Extracted packet for processing {"connection_id":163471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb4"} 
[2026-08-23 23:10:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601648640001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787506741000,"timestamp_ms":1787506741000,"timestamp_seconds":1787506741,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb44f08"} 
[2026-08-23 23:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:10: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-08-23 23: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:10: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-08-23 23: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-08-23 23:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601648640001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601648640001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:10:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:10:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601648640001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":163471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:10:22] local.INFO: GPS data processed {"connection_id":163471,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:10:22] local.INFO: Acknowledgment sent {"connection_id":163471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:10:28] local.INFO: TCP Data received {"connection_id":161116,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:10:28] local.INFO: Processing buffer {"connection_id":161116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:10:28] local.INFO: IMEI packet received {"connection_id":161116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":161116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:10:33] local.INFO: TCP Data received {"connection_id":161116,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:10:33] local.INFO: Processing buffer {"connection_id":161116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:10:33] local.INFO: IMEI packet received {"connection_id":161116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":161116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:10:34] local.INFO: TCP Data received {"connection_id":161116,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:10:34] local.INFO: Processing buffer {"connection_id":161116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:10:34] local.INFO: Packet analysis {"connection_id":161116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb3"} 
[2026-08-23 23:10:34] local.INFO: Extracted packet for processing {"connection_id":161116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb3"} 
[2026-08-23 23:10:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 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-08-23 23:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601642496001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787506717000,"timestamp_ms":1787506717000,"timestamp_seconds":1787506717,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb3f148"} 
[2026-08-23 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-08-23 23:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 23:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 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-08-23 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-08-23 23:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601642496001,"66":2177,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601642496001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:10:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:10:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601642496001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":161116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:10:34] local.INFO: GPS data processed {"connection_id":161116,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:10:34] local.INFO: Acknowledgment sent {"connection_id":161116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:10:50] local.INFO: TCP Data received {"connection_id":162066,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:10:50] local.INFO: Processing buffer {"connection_id":162066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:10:50] local.INFO: IMEI packet received {"connection_id":162066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":162066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:10:55] local.INFO: TCP Data received {"connection_id":162066,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:10:55] local.INFO: Processing buffer {"connection_id":162066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:10:55] local.INFO: IMEI packet received {"connection_id":162066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":162066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:10:56] local.INFO: TCP Data received {"connection_id":162066,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:10:56] local.INFO: Processing buffer {"connection_id":162066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:10:56] local.INFO: Packet analysis {"connection_id":162066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb4"} 
[2026-08-23 23:10:56] local.INFO: Extracted packet for processing {"connection_id":162066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb4"} 
[2026-08-23 23:10:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601648640001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787506741000,"timestamp_ms":1787506741000,"timestamp_seconds":1787506741,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb44f08"} 
[2026-08-23 23:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:10:56] 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-08-23 23:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601648640001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601648640001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:10:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:10:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601648640001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":162066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:10:56] local.INFO: GPS data processed {"connection_id":162066,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:10:56] local.INFO: Acknowledgment sent {"connection_id":162066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:11:00] local.INFO: TCP Data received {"connection_id":162066,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:11:00] local.INFO: Processing buffer {"connection_id":162066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:11:00] local.INFO: Packet analysis {"connection_id":162066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb4"} 
[2026-08-23 23:11:00] local.INFO: Extracted packet for processing {"connection_id":162066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb4"} 
[2026-08-23 23:11:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601648640001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787506741000,"timestamp_ms":1787506741000,"timestamp_seconds":1787506741,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb44f08"} 
[2026-08-23 23:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:11:00] 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-08-23 23:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601648640001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601648640001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:11:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:11:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601648640001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":162066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:11:00] local.INFO: GPS data processed {"connection_id":162066,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:11:00] local.INFO: Acknowledgment sent {"connection_id":162066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:11:05] local.INFO: TCP Data received {"connection_id":161116,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:11:05] local.INFO: Processing buffer {"connection_id":161116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:11:05] local.INFO: Packet analysis {"connection_id":161116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb3"} 
[2026-08-23 23:11:05] local.INFO: Extracted packet for processing {"connection_id":161116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb3"} 
[2026-08-23 23:11:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601642496001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787506717000,"timestamp_ms":1787506717000,"timestamp_seconds":1787506717,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb3f148"} 
[2026-08-23 23:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 23:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601642496001,"66":2177,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601642496001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:11:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:11:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601642496001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":161116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:11:05] local.INFO: GPS data processed {"connection_id":161116,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:11:05] local.INFO: Acknowledgment sent {"connection_id":161116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:11:28] local.INFO: TCP Data received {"connection_id":163472,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:11:28] local.INFO: Processing buffer {"connection_id":163472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:11:28] local.INFO: IMEI packet received {"connection_id":163472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":163472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:11:33] local.INFO: TCP Data received {"connection_id":163472,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:11:33] local.INFO: Processing buffer {"connection_id":163472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:11:33] local.INFO: IMEI packet received {"connection_id":163472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":163472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:11:34] local.INFO: TCP Data received {"connection_id":163472,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:11:34] local.INFO: Processing buffer {"connection_id":163472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:11:34] local.INFO: Packet analysis {"connection_id":163472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb3"} 
[2026-08-23 23:11:34] local.INFO: Extracted packet for processing {"connection_id":163472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb3"} 
[2026-08-23 23:11:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601642496001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787506717000,"timestamp_ms":1787506717000,"timestamp_seconds":1787506717,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb3f148"} 
[2026-08-23 23:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 23:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601642496001,"66":2177,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601642496001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:11:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:11:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601642496001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":163472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:11:34] local.INFO: GPS data processed {"connection_id":163472,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:11:34] local.INFO: Acknowledgment sent {"connection_id":163472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:11:45] local.INFO: TCP Data received {"connection_id":160869,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:11:45] local.INFO: Processing buffer {"connection_id":160869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:11:45] local.INFO: IMEI packet received {"connection_id":160869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":160869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:11:50] local.INFO: TCP Data received {"connection_id":160869,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:11:50] local.INFO: Processing buffer {"connection_id":160869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:11:50] local.INFO: IMEI packet received {"connection_id":160869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":160869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:11:53] local.INFO: TCP Data received {"connection_id":160869,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:11:53] local.INFO: Processing buffer {"connection_id":160869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:11:53] local.INFO: Packet analysis {"connection_id":160869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb4"} 
[2026-08-23 23:11:53] local.INFO: Extracted packet for processing {"connection_id":160869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb4"} 
[2026-08-23 23:11:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601648640001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787506741000,"timestamp_ms":1787506741000,"timestamp_seconds":1787506741,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb44f08"} 
[2026-08-23 23:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:11: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-08-23 23:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:11:53] 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-08-23 23:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601648640001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601648640001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:11:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:11:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601648640001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":160869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:11:53] local.INFO: GPS data processed {"connection_id":160869,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:11:53] local.INFO: Acknowledgment sent {"connection_id":160869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:11:55] local.INFO: TCP Data received {"connection_id":160869,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:11:55] local.INFO: Processing buffer {"connection_id":160869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:11:55] local.INFO: Packet analysis {"connection_id":160869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb4"} 
[2026-08-23 23:11:55] local.INFO: Extracted packet for processing {"connection_id":160869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb4"} 
[2026-08-23 23:11:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601648640001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787506741000,"timestamp_ms":1787506741000,"timestamp_seconds":1787506741,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb44f08"} 
[2026-08-23 23:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:11:55] 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-08-23 23:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601648640001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601648640001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:11:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:11:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601648640001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":160869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:11:55] local.INFO: GPS data processed {"connection_id":160869,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:11:55] local.INFO: Acknowledgment sent {"connection_id":160869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:12:05] local.INFO: TCP Data received {"connection_id":163472,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:12:05] local.INFO: Processing buffer {"connection_id":163472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:12:05] local.INFO: Packet analysis {"connection_id":163472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb3"} 
[2026-08-23 23:12:05] local.INFO: Extracted packet for processing {"connection_id":163472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb3"} 
[2026-08-23 23:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601642496001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787506717000,"timestamp_ms":1787506717000,"timestamp_seconds":1787506717,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb3f148"} 
[2026-08-23 23:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 23:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601642496001,"66":2177,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601642496001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:12:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:12:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601642496001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":163472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:12:05] local.INFO: GPS data processed {"connection_id":163472,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:12:05] local.INFO: Acknowledgment sent {"connection_id":163472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:12:27] local.INFO: TCP Data received {"connection_id":160869,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:12:27] local.INFO: Processing buffer {"connection_id":160869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:12:27] local.INFO: Packet analysis {"connection_id":160869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb4"} 
[2026-08-23 23:12:27] local.INFO: Extracted packet for processing {"connection_id":160869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb4"} 
[2026-08-23 23:12:27] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601648640001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787506741000,"timestamp_ms":1787506741000,"timestamp_seconds":1787506741,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb44f08"} 
[2026-08-23 23:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:12:27] 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-08-23 23:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601648640001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601648640001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:12:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:12:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601648640001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":160869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:12:27] local.INFO: GPS data processed {"connection_id":160869,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:12:27] local.INFO: Acknowledgment sent {"connection_id":160869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:12:33] local.INFO: TCP Data received {"connection_id":162067,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:12:33] local.INFO: Processing buffer {"connection_id":162067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:12:33] local.INFO: IMEI packet received {"connection_id":162067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":162067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:12:38] local.INFO: TCP Data received {"connection_id":162067,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:12:38] local.INFO: Processing buffer {"connection_id":162067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:12:38] local.INFO: IMEI packet received {"connection_id":162067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":162067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:12:39] local.INFO: TCP Data received {"connection_id":162067,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:12:39] local.INFO: Processing buffer {"connection_id":162067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:12:39] local.INFO: Packet analysis {"connection_id":162067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb3"} 
[2026-08-23 23:12:39] local.INFO: Extracted packet for processing {"connection_id":162067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb3"} 
[2026-08-23 23:12:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601642496001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787506717000,"timestamp_ms":1787506717000,"timestamp_seconds":1787506717,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb3f148"} 
[2026-08-23 23:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 23:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":162067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":162067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":162067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601642496001,"66":2177,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601642496001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:12:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:12:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601642496001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":162067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:12:39] local.INFO: GPS data processed {"connection_id":162067,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:12:39] local.INFO: Acknowledgment sent {"connection_id":162067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:12:43] local.INFO: TCP Data received {"connection_id":162067,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:12:43] local.INFO: Processing buffer {"connection_id":162067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:12:43] local.INFO: Packet analysis {"connection_id":162067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb3"} 
[2026-08-23 23:12:43] local.INFO: Extracted packet for processing {"connection_id":162067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb3"} 
[2026-08-23 23:12:43] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601642496001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787506717000,"timestamp_ms":1787506717000,"timestamp_seconds":1787506717,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb3f148"} 
[2026-08-23 23:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 23:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601642496001,"66":2177,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601642496001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:12:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:12:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601642496001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":162067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:12:43] local.INFO: GPS data processed {"connection_id":162067,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:12:43] local.INFO: Acknowledgment sent {"connection_id":162067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:12:45] local.INFO: TCP Data received {"connection_id":160870,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:12:45] local.INFO: Processing buffer {"connection_id":160870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:12:45] local.INFO: IMEI packet received {"connection_id":160870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":160870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:12:50] local.INFO: TCP Data received {"connection_id":160870,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:12:50] local.INFO: Processing buffer {"connection_id":160870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:12:50] local.INFO: IMEI packet received {"connection_id":160870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":160870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:12:51] local.INFO: TCP Data received {"connection_id":160870,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:12:51] local.INFO: Processing buffer {"connection_id":160870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:12:51] local.INFO: Packet analysis {"connection_id":160870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb4"} 
[2026-08-23 23:12:51] local.INFO: Extracted packet for processing {"connection_id":160870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb4"} 
[2026-08-23 23:12:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601648640001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787506741000,"timestamp_ms":1787506741000,"timestamp_seconds":1787506741,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb44f08"} 
[2026-08-23 23:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:12: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-08-23 23:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601648640001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601648640001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:12:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:12:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601648640001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":160870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:12:51] local.INFO: GPS data processed {"connection_id":160870,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:12:51] local.INFO: Acknowledgment sent {"connection_id":160870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:13:23] local.INFO: TCP Data received {"connection_id":160870,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:13:23] local.INFO: Processing buffer {"connection_id":160870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:13:23] local.INFO: Packet analysis {"connection_id":160870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb4"} 
[2026-08-23 23:13:23] local.INFO: Extracted packet for processing {"connection_id":160870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb4"} 
[2026-08-23 23:13:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601648640001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787506741000,"timestamp_ms":1787506741000,"timestamp_seconds":1787506741,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb44f08"} 
[2026-08-23 23:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23: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-08-23 23: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:13: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-08-23 23: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-08-23 23:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601648640001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601648640001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:13:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:13:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601648640001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":160870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:13:23] local.INFO: GPS data processed {"connection_id":160870,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:13:23] local.INFO: Acknowledgment sent {"connection_id":160870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:13:28] local.INFO: TCP Data received {"connection_id":160871,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:13:28] local.INFO: Processing buffer {"connection_id":160871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:13:28] local.INFO: IMEI packet received {"connection_id":160871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":160871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:13:33] local.INFO: TCP Data received {"connection_id":160871,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:13:33] local.INFO: Processing buffer {"connection_id":160871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:13:33] local.INFO: IMEI packet received {"connection_id":160871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":160871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:13:42] local.INFO: TCP Data received {"connection_id":160871,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:13:42] local.INFO: Processing buffer {"connection_id":160871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb3f148012d196580071fef380046010e27..."} 
[2026-08-23 23:13:42] local.INFO: Packet analysis {"connection_id":160871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb3"} 
[2026-08-23 23:13:42] local.INFO: Extracted packet for processing {"connection_id":160871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb3"} 
[2026-08-23 23:13:42] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601642496001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787506717000,"timestamp_ms":1787506717000,"timestamp_seconds":1787506717,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb3f148"} 
[2026-08-23 23:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 23:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601642496001,"66":2177,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601642496001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:13:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:13:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601642496001,"power":2177,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":160871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:13:43] local.INFO: GPS data processed {"connection_id":160871,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:13:43] local.INFO: Acknowledgment sent {"connection_id":160871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:13:45] local.INFO: TCP Data received {"connection_id":162068,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:13:45] local.INFO: Processing buffer {"connection_id":162068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:13:45] local.INFO: IMEI packet received {"connection_id":162068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":162068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:13:50] local.INFO: TCP Data received {"connection_id":162068,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:13:50] local.INFO: Processing buffer {"connection_id":162068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:13:50] local.INFO: IMEI packet received {"connection_id":162068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":162068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:13:51] local.INFO: TCP Data received {"connection_id":162068,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:13:51] local.INFO: Processing buffer {"connection_id":162068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:13:51] local.INFO: Packet analysis {"connection_id":162068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb4"} 
[2026-08-23 23:13:51] local.INFO: Extracted packet for processing {"connection_id":162068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb4"} 
[2026-08-23 23:13:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601648640001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787506741000,"timestamp_ms":1787506741000,"timestamp_seconds":1787506741,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb44f08"} 
[2026-08-23 23:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:13: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-08-23 23:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601648640001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601648640001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:13:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:13:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601648640001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":162068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:13:51] local.INFO: GPS data processed {"connection_id":162068,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:13:51] local.INFO: Acknowledgment sent {"connection_id":162068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:14:22] local.INFO: TCP Data received {"connection_id":162068,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:14:22] local.INFO: Processing buffer {"connection_id":162068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb44f08012d34c58006aa4060000a011426..."} 
[2026-08-23 23:14:22] local.INFO: Packet analysis {"connection_id":162068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb4"} 
[2026-08-23 23:14:22] local.INFO: Extracted packet for processing {"connection_id":162068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb4"} 
[2026-08-23 23:14:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":10,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601648640001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787506741000,"timestamp_ms":1787506741000,"timestamp_seconds":1787506741,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb44f08"} 
[2026-08-23 23:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:14: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-08-23 23:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:14: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-08-23 23:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601648640001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601648640001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:14:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:14:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601648640001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":162068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:14:22] local.INFO: GPS data processed {"connection_id":162068,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:14:22] local.INFO: Acknowledgment sent {"connection_id":162068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:14:28] local.INFO: TCP Data received {"connection_id":163473,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:14:28] local.INFO: Processing buffer {"connection_id":163473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:14:28] local.INFO: IMEI packet received {"connection_id":163473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":163473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:14:33] local.INFO: TCP Data received {"connection_id":163473,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:14:33] local.INFO: Processing buffer {"connection_id":163473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:14:33] local.INFO: IMEI packet received {"connection_id":163473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":163473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:14:34] local.INFO: TCP Data received {"connection_id":163473,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:14:34] local.INFO: Processing buffer {"connection_id":163473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:14:34] local.INFO: Packet analysis {"connection_id":163473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:14:34] local.INFO: Extracted packet for processing {"connection_id":163473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:14:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601719552001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787507018000,"timestamp_ms":1787507018000,"timestamp_seconds":1787507018,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb88910"} 
[2026-08-23 23:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 23:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601719552001,"66":2155,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601719552001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:14:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:14:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601719552001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":163473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:14:34] local.INFO: GPS data processed {"connection_id":163473,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:14:34] local.INFO: Acknowledgment sent {"connection_id":163473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:14:45] local.INFO: TCP Data received {"connection_id":162069,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:14:45] local.INFO: Processing buffer {"connection_id":162069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:14:45] local.INFO: IMEI packet received {"connection_id":162069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":162069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:14:50] local.INFO: TCP Data received {"connection_id":162069,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:14:50] local.INFO: Processing buffer {"connection_id":162069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:14:50] local.INFO: IMEI packet received {"connection_id":162069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":162069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:14:51] local.INFO: TCP Data received {"connection_id":162069,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:14:51] local.INFO: Processing buffer {"connection_id":162069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:14:51] local.INFO: Packet analysis {"connection_id":162069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:14:51] local.INFO: Extracted packet for processing {"connection_id":162069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601725696001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787507042000,"timestamp_ms":1787507042000,"timestamp_seconds":1787507042,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb8e6d0"} 
[2026-08-23 23:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:14: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-08-23 23:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601725696001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601725696001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:14:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601725696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":162069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:14:51] local.INFO: GPS data processed {"connection_id":162069,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:14:51] local.INFO: Acknowledgment sent {"connection_id":162069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:15:05] local.INFO: TCP Data received {"connection_id":163473,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:15:05] local.INFO: Processing buffer {"connection_id":163473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:15:05] local.INFO: Packet analysis {"connection_id":163473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:15:05] local.INFO: Extracted packet for processing {"connection_id":163473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:15:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601719552001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787507018000,"timestamp_ms":1787507018000,"timestamp_seconds":1787507018,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb88910"} 
[2026-08-23 23:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 23:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601719552001,"66":2155,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601719552001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:15:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:15:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601719552001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":163473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:15:05] local.INFO: GPS data processed {"connection_id":163473,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:15:05] local.INFO: Acknowledgment sent {"connection_id":163473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:15:22] local.INFO: TCP Data received {"connection_id":162069,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:15:22] local.INFO: Processing buffer {"connection_id":162069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:15:22] local.INFO: Packet analysis {"connection_id":162069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:15:22] local.INFO: Extracted packet for processing {"connection_id":162069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:15:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601725696001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787507042000,"timestamp_ms":1787507042000,"timestamp_seconds":1787507042,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb8e6d0"} 
[2026-08-23 23:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:15: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-08-23 23:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:15: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-08-23 23:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601725696001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601725696001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:15:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:15:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601725696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":162069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:15:22] local.INFO: GPS data processed {"connection_id":162069,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:15:22] local.INFO: Acknowledgment sent {"connection_id":162069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:15:28] local.INFO: TCP Data received {"connection_id":160872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:15:28] local.INFO: Processing buffer {"connection_id":160872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:15:28] local.INFO: IMEI packet received {"connection_id":160872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":160872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:15:33] local.INFO: TCP Data received {"connection_id":160872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:15:33] local.INFO: Processing buffer {"connection_id":160872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:15:33] local.INFO: IMEI packet received {"connection_id":160872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":160872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:15:34] local.INFO: TCP Data received {"connection_id":160872,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:15:34] local.INFO: Processing buffer {"connection_id":160872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:15:34] local.INFO: Packet analysis {"connection_id":160872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:15:34] local.INFO: Extracted packet for processing {"connection_id":160872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:15:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601719552001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787507018000,"timestamp_ms":1787507018000,"timestamp_seconds":1787507018,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb88910"} 
[2026-08-23 23:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 23:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601719552001,"66":2155,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601719552001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:15:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:15:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601719552001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":160872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:15:34] local.INFO: GPS data processed {"connection_id":160872,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:15:34] local.INFO: Acknowledgment sent {"connection_id":160872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:15:45] local.INFO: TCP Data received {"connection_id":162070,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:15:45] local.INFO: Processing buffer {"connection_id":162070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:15:45] local.INFO: IMEI packet received {"connection_id":162070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":162070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:15:50] local.INFO: TCP Data received {"connection_id":162070,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:15:50] local.INFO: Processing buffer {"connection_id":162070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:15:50] local.INFO: IMEI packet received {"connection_id":162070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":162070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:15:51] local.INFO: TCP Data received {"connection_id":162070,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:15:51] local.INFO: Processing buffer {"connection_id":162070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:15:51] local.INFO: Packet analysis {"connection_id":162070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:15:51] local.INFO: Extracted packet for processing {"connection_id":162070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:15:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601725696001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787507042000,"timestamp_ms":1787507042000,"timestamp_seconds":1787507042,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb8e6d0"} 
[2026-08-23 23:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:15: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-08-23 23:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601725696001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601725696001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:15:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:15:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601725696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":162070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:15:51] local.INFO: GPS data processed {"connection_id":162070,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:15:51] local.INFO: Acknowledgment sent {"connection_id":162070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:16:05] local.INFO: TCP Data received {"connection_id":160872,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:16:05] local.INFO: Processing buffer {"connection_id":160872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:16:05] local.INFO: Packet analysis {"connection_id":160872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:16:05] local.INFO: Extracted packet for processing {"connection_id":160872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:16:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601719552001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787507018000,"timestamp_ms":1787507018000,"timestamp_seconds":1787507018,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb88910"} 
[2026-08-23 23:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 23:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601719552001,"66":2155,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601719552001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:16:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:16:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601719552001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":160872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:16:05] local.INFO: GPS data processed {"connection_id":160872,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:16:05] local.INFO: Acknowledgment sent {"connection_id":160872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:16:22] local.INFO: TCP Data received {"connection_id":162070,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:16:22] local.INFO: Processing buffer {"connection_id":162070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:16:22] local.INFO: Packet analysis {"connection_id":162070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:16:22] local.INFO: Extracted packet for processing {"connection_id":162070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:16:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601725696001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787507042000,"timestamp_ms":1787507042000,"timestamp_seconds":1787507042,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb8e6d0"} 
[2026-08-23 23:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:16: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-08-23 23:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:16: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-08-23 23:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601725696001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601725696001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:16:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:16:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601725696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":162070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:16:22] local.INFO: GPS data processed {"connection_id":162070,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:16:22] local.INFO: Acknowledgment sent {"connection_id":162070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:16:33] local.INFO: TCP Data received {"connection_id":162071,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:16:33] local.INFO: Processing buffer {"connection_id":162071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:16:33] local.INFO: IMEI packet received {"connection_id":162071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":162071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:16:38] local.INFO: TCP Data received {"connection_id":162071,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:16:38] local.INFO: Processing buffer {"connection_id":162071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:16:38] local.INFO: IMEI packet received {"connection_id":162071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":162071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:16:39] local.INFO: TCP Data received {"connection_id":162071,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:16:39] local.INFO: Processing buffer {"connection_id":162071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:16:39] local.INFO: Packet analysis {"connection_id":162071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:16:39] local.INFO: Extracted packet for processing {"connection_id":162071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:16:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601719552001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787507018000,"timestamp_ms":1787507018000,"timestamp_seconds":1787507018,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb88910"} 
[2026-08-23 23:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 23:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":162071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":162071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":162071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601719552001,"66":2155,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601719552001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:16:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:16:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601719552001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":162071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:16:39] local.INFO: GPS data processed {"connection_id":162071,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:16:39] local.INFO: Acknowledgment sent {"connection_id":162071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:16:43] local.INFO: TCP Data received {"connection_id":162071,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:16:43] local.INFO: Processing buffer {"connection_id":162071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:16:43] local.INFO: Packet analysis {"connection_id":162071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:16:43] local.INFO: Extracted packet for processing {"connection_id":162071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:16:43] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601719552001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787507018000,"timestamp_ms":1787507018000,"timestamp_seconds":1787507018,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb88910"} 
[2026-08-23 23:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 23:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601719552001,"66":2155,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601719552001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:16:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:16:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601719552001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":162071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:16:43] local.INFO: GPS data processed {"connection_id":162071,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:16:43] local.INFO: Acknowledgment sent {"connection_id":162071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:16:45] local.INFO: TCP Data received {"connection_id":161117,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:16:45] local.INFO: Processing buffer {"connection_id":161117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:16:45] local.INFO: IMEI packet received {"connection_id":161117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":161117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:16:50] local.INFO: TCP Data received {"connection_id":161117,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:16:50] local.INFO: Processing buffer {"connection_id":161117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:16:50] local.INFO: IMEI packet received {"connection_id":161117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":161117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:16:51] local.INFO: TCP Data received {"connection_id":161117,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:16:51] local.INFO: Processing buffer {"connection_id":161117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:16:51] local.INFO: Packet analysis {"connection_id":161117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:16:51] local.INFO: Extracted packet for processing {"connection_id":161117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:16:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601725696001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787507042000,"timestamp_ms":1787507042000,"timestamp_seconds":1787507042,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb8e6d0"} 
[2026-08-23 23:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:16: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-08-23 23:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601725696001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601725696001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:16:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:16:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601725696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":161117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:16:51] local.INFO: GPS data processed {"connection_id":161117,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:16:51] local.INFO: Acknowledgment sent {"connection_id":161117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:17:22] local.INFO: TCP Data received {"connection_id":161117,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:17:22] local.INFO: Processing buffer {"connection_id":161117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:17:22] local.INFO: Packet analysis {"connection_id":161117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:17:22] local.INFO: Extracted packet for processing {"connection_id":161117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:17:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601725696001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787507042000,"timestamp_ms":1787507042000,"timestamp_seconds":1787507042,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb8e6d0"} 
[2026-08-23 23:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:17: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-08-23 23:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:17: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-08-23 23:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601725696001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601725696001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:17:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:17:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601725696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":161117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:17:22] local.INFO: GPS data processed {"connection_id":161117,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:17:22] local.INFO: Acknowledgment sent {"connection_id":161117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:17:28] local.INFO: TCP Data received {"connection_id":163474,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:17:28] local.INFO: Processing buffer {"connection_id":163474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:17:28] local.INFO: IMEI packet received {"connection_id":163474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":163474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:17:33] local.INFO: TCP Data received {"connection_id":163474,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:17:33] local.INFO: Processing buffer {"connection_id":163474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:17:33] local.INFO: IMEI packet received {"connection_id":163474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":163474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:17:38] local.INFO: TCP Data received {"connection_id":163474,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:17:38] local.INFO: Processing buffer {"connection_id":163474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:17:38] local.INFO: IMEI packet received {"connection_id":163474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":163474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:17:39] local.INFO: TCP Data received {"connection_id":163474,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:17:39] local.INFO: Processing buffer {"connection_id":163474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:17:39] local.INFO: Packet analysis {"connection_id":163474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:17:39] local.INFO: Extracted packet for processing {"connection_id":163474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:17:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601719552001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787507018000,"timestamp_ms":1787507018000,"timestamp_seconds":1787507018,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb88910"} 
[2026-08-23 23:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 23:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601719552001,"66":2155,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601719552001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:17:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:17:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601719552001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":163474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:17:39] local.INFO: GPS data processed {"connection_id":163474,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:17:39] local.INFO: Acknowledgment sent {"connection_id":163474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:17:45] local.INFO: TCP Data received {"connection_id":162072,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:17:45] local.INFO: Processing buffer {"connection_id":162072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:17:45] local.INFO: IMEI packet received {"connection_id":162072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":162072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:17:50] local.INFO: TCP Data received {"connection_id":162072,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:17:50] local.INFO: Processing buffer {"connection_id":162072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:17:50] local.INFO: IMEI packet received {"connection_id":162072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":162072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:17:51] local.INFO: TCP Data received {"connection_id":162072,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:17:51] local.INFO: Processing buffer {"connection_id":162072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:17:51] local.INFO: Packet analysis {"connection_id":162072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:17:51] local.INFO: Extracted packet for processing {"connection_id":162072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:17:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601725696001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787507042000,"timestamp_ms":1787507042000,"timestamp_seconds":1787507042,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb8e6d0"} 
[2026-08-23 23:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:17: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-08-23 23:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:17:51] 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-08-23 23:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601725696001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601725696001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:17:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:17:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601725696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":162072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:17:51] local.INFO: GPS data processed {"connection_id":162072,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:17:51] local.INFO: Acknowledgment sent {"connection_id":162072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:18:10] local.INFO: TCP Data received {"connection_id":163474,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:18:10] local.INFO: Processing buffer {"connection_id":163474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:18:10] local.INFO: Packet analysis {"connection_id":163474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:18:10] local.INFO: Extracted packet for processing {"connection_id":163474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:18:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601719552001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787507018000,"timestamp_ms":1787507018000,"timestamp_seconds":1787507018,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb88910"} 
[2026-08-23 23:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 23:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601719552001,"66":2155,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601719552001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:18:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:18:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601719552001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":163474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:18:10] local.INFO: GPS data processed {"connection_id":163474,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:18:10] local.INFO: Acknowledgment sent {"connection_id":163474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:18:22] local.INFO: TCP Data received {"connection_id":162072,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:18:22] local.INFO: Processing buffer {"connection_id":162072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:18:22] local.INFO: Packet analysis {"connection_id":162072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:18:22] local.INFO: Extracted packet for processing {"connection_id":162072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:18:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601725696001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787507042000,"timestamp_ms":1787507042000,"timestamp_seconds":1787507042,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb8e6d0"} 
[2026-08-23 23:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:18: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-08-23 23:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:18: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-08-23 23:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601725696001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601725696001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:18:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:18:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601725696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":162072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:18:22] local.INFO: GPS data processed {"connection_id":162072,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:18:22] local.INFO: Acknowledgment sent {"connection_id":162072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:18:28] local.INFO: TCP Data received {"connection_id":163475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:18:28] local.INFO: Processing buffer {"connection_id":163475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:18:28] local.INFO: IMEI packet received {"connection_id":163475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":163475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:18:33] local.INFO: TCP Data received {"connection_id":163475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:18:33] local.INFO: Processing buffer {"connection_id":163475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:18:33] local.INFO: IMEI packet received {"connection_id":163475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":163475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:18:34] local.INFO: TCP Data received {"connection_id":163475,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:18:34] local.INFO: Processing buffer {"connection_id":163475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:18:34] local.INFO: Packet analysis {"connection_id":163475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:18:34] local.INFO: Extracted packet for processing {"connection_id":163475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:18:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601719552001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787507018000,"timestamp_ms":1787507018000,"timestamp_seconds":1787507018,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb88910"} 
[2026-08-23 23:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 23:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601719552001,"66":2155,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601719552001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:18:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:18:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601719552001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":163475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:18:34] local.INFO: GPS data processed {"connection_id":163475,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:18:34] local.INFO: Acknowledgment sent {"connection_id":163475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:18:45] local.INFO: TCP Data received {"connection_id":161118,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:18:45] local.INFO: Processing buffer {"connection_id":161118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:18:45] local.INFO: IMEI packet received {"connection_id":161118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":161118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:18:50] local.INFO: TCP Data received {"connection_id":161118,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:18:50] local.INFO: Processing buffer {"connection_id":161118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:18:50] local.INFO: IMEI packet received {"connection_id":161118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":161118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:18:51] local.INFO: TCP Data received {"connection_id":161118,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:18:51] local.INFO: Processing buffer {"connection_id":161118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:18:51] local.INFO: Packet analysis {"connection_id":161118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:18:51] local.INFO: Extracted packet for processing {"connection_id":161118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:18:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601725696001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787507042000,"timestamp_ms":1787507042000,"timestamp_seconds":1787507042,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb8e6d0"} 
[2026-08-23 23:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:18: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-08-23 23:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601725696001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601725696001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:18:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:18:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601725696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":161118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:18:51] local.INFO: GPS data processed {"connection_id":161118,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:18:51] local.INFO: Acknowledgment sent {"connection_id":161118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:19:07] local.INFO: TCP Data received {"connection_id":163475,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:19:07] local.INFO: Processing buffer {"connection_id":163475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb88910012d196580071fef380046010e29..."} 
[2026-08-23 23:19:07] local.INFO: Packet analysis {"connection_id":163475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:19:07] local.INFO: Extracted packet for processing {"connection_id":163475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601719552001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787507018000,"timestamp_ms":1787507018000,"timestamp_seconds":1787507018,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb88910"} 
[2026-08-23 23:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-23 23:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601719552001,"66":2155,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601719552001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:19:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601719552001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":163475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:19:07] local.INFO: GPS data processed {"connection_id":163475,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:19:07] local.INFO: Acknowledgment sent {"connection_id":163475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:19:22] local.INFO: TCP Data received {"connection_id":161118,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:19:22] local.INFO: Processing buffer {"connection_id":161118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fb8e6d0012d34c58006aa4060000e011427..."} 
[2026-08-23 23:19:22] local.INFO: Packet analysis {"connection_id":161118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:19:22] local.INFO: Extracted packet for processing {"connection_id":161118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fb8"} 
[2026-08-23 23:19:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601725696001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787507042000,"timestamp_ms":1787507042000,"timestamp_seconds":1787507042,"priority":1,"record_length":96,"hex_timestamp":"000001a02fb8e6d0"} 
[2026-08-23 23:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23: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-08-23 23: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:19: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-08-23 23: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-08-23 23:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601725696001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601725696001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:19:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:19:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601725696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":161118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:19:22] local.INFO: GPS data processed {"connection_id":161118,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:19:22] local.INFO: Acknowledgment sent {"connection_id":161118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:19:28] local.INFO: TCP Data received {"connection_id":162073,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:19:28] local.INFO: Processing buffer {"connection_id":162073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:19:28] local.INFO: IMEI packet received {"connection_id":162073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":162073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:19:33] local.INFO: TCP Data received {"connection_id":162073,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:19:33] local.INFO: Processing buffer {"connection_id":162073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:19:33] local.INFO: IMEI packet received {"connection_id":162073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":162073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:19:34] local.INFO: TCP Data received {"connection_id":162073,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:19:34] local.INFO: Processing buffer {"connection_id":162073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:19:34] local.INFO: Packet analysis {"connection_id":162073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:19:34] local.INFO: Extracted packet for processing {"connection_id":162073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:19:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601796608001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787507319000,"timestamp_ms":1787507319000,"timestamp_seconds":1787507319,"priority":1,"record_length":96,"hex_timestamp":"000001a02fbd20d8"} 
[2026-08-23 23:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 23:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601796608001,"66":2155,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601796608001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:19:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:19:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601796608001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":162073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:19:34] local.INFO: GPS data processed {"connection_id":162073,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:19:34] local.INFO: Acknowledgment sent {"connection_id":162073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:19:44] local.INFO: TCP Data received {"connection_id":163476,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:19:44] local.INFO: Processing buffer {"connection_id":163476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:19:44] local.INFO: IMEI packet received {"connection_id":163476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":163476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:19:51] local.INFO: TCP Data received {"connection_id":163476,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:19:51] local.INFO: Processing buffer {"connection_id":163476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:19:51] local.INFO: IMEI packet received {"connection_id":163476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":163476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:19:52] local.INFO: TCP Data received {"connection_id":163476,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:19:52] local.INFO: Processing buffer {"connection_id":163476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:19:52] local.INFO: Packet analysis {"connection_id":163476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:19:52] local.INFO: Extracted packet for processing {"connection_id":163476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601802752001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787507343000,"timestamp_ms":1787507343000,"timestamp_seconds":1787507343,"priority":1,"record_length":96,"hex_timestamp":"000001a02fbd7e98"} 
[2026-08-23 23:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:19: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-08-23 23:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:19:52] 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-08-23 23:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601802752001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601802752001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:19:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601802752001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":163476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:19:52] local.INFO: GPS data processed {"connection_id":163476,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:19:52] local.INFO: Acknowledgment sent {"connection_id":163476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:20:05] local.INFO: TCP Data received {"connection_id":162073,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:20:05] local.INFO: Processing buffer {"connection_id":162073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:20:05] local.INFO: Packet analysis {"connection_id":162073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:20:05] local.INFO: Extracted packet for processing {"connection_id":162073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601796608001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787507319000,"timestamp_ms":1787507319000,"timestamp_seconds":1787507319,"priority":1,"record_length":96,"hex_timestamp":"000001a02fbd20d8"} 
[2026-08-23 23:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 23:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601796608001,"66":2155,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601796608001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:20:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:20:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601796608001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":162073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:20:05] local.INFO: GPS data processed {"connection_id":162073,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:20:05] local.INFO: Acknowledgment sent {"connection_id":162073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:20:23] local.INFO: TCP Data received {"connection_id":163476,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:20:23] local.INFO: Processing buffer {"connection_id":163476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:20:23] local.INFO: Packet analysis {"connection_id":163476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:20:23] local.INFO: Extracted packet for processing {"connection_id":163476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:20:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601802752001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787507343000,"timestamp_ms":1787507343000,"timestamp_seconds":1787507343,"priority":1,"record_length":96,"hex_timestamp":"000001a02fbd7e98"} 
[2026-08-23 23:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:20: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-08-23 23:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:20: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-08-23 23:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601802752001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601802752001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:20:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:20:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601802752001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":163476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:20:23] local.INFO: GPS data processed {"connection_id":163476,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:20:23] local.INFO: Acknowledgment sent {"connection_id":163476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:20:28] local.INFO: TCP Data received {"connection_id":163477,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:20:28] local.INFO: Processing buffer {"connection_id":163477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:20:28] local.INFO: IMEI packet received {"connection_id":163477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":163477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:20:33] local.INFO: TCP Data received {"connection_id":163477,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:20:33] local.INFO: Processing buffer {"connection_id":163477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:20:33] local.INFO: IMEI packet received {"connection_id":163477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":163477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:20:34] local.INFO: TCP Data received {"connection_id":163477,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:20:34] local.INFO: Processing buffer {"connection_id":163477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:20:34] local.INFO: Packet analysis {"connection_id":163477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:20:34] local.INFO: Extracted packet for processing {"connection_id":163477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:20:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601796608001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787507319000,"timestamp_ms":1787507319000,"timestamp_seconds":1787507319,"priority":1,"record_length":96,"hex_timestamp":"000001a02fbd20d8"} 
[2026-08-23 23:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 23:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601796608001,"66":2155,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601796608001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:20:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:20:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601796608001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":163477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:20:34] local.INFO: GPS data processed {"connection_id":163477,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:20:34] local.INFO: Acknowledgment sent {"connection_id":163477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:20:45] local.INFO: TCP Data received {"connection_id":161119,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:20:45] local.INFO: Processing buffer {"connection_id":161119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:20:45] local.INFO: IMEI packet received {"connection_id":161119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":161119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:20:50] local.INFO: TCP Data received {"connection_id":161119,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:20:50] local.INFO: Processing buffer {"connection_id":161119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:20:50] local.INFO: IMEI packet received {"connection_id":161119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":161119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:20:51] local.INFO: TCP Data received {"connection_id":161119,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:20:51] local.INFO: Processing buffer {"connection_id":161119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:20:51] local.INFO: Packet analysis {"connection_id":161119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:20:51] local.INFO: Extracted packet for processing {"connection_id":161119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:20:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601802752001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787507343000,"timestamp_ms":1787507343000,"timestamp_seconds":1787507343,"priority":1,"record_length":96,"hex_timestamp":"000001a02fbd7e98"} 
[2026-08-23 23:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:20: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-08-23 23:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:20:51] 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-08-23 23:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601802752001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601802752001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:20:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:20:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601802752001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":161119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:20:51] local.INFO: GPS data processed {"connection_id":161119,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:20:51] local.INFO: Acknowledgment sent {"connection_id":161119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:21:05] local.INFO: TCP Data received {"connection_id":163477,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:21:05] local.INFO: Processing buffer {"connection_id":163477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:21:05] local.INFO: Packet analysis {"connection_id":163477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:21:05] local.INFO: Extracted packet for processing {"connection_id":163477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601796608001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787507319000,"timestamp_ms":1787507319000,"timestamp_seconds":1787507319,"priority":1,"record_length":96,"hex_timestamp":"000001a02fbd20d8"} 
[2026-08-23 23:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 23:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601796608001,"66":2155,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601796608001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:21:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:21:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601796608001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":163477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:21:05] local.INFO: GPS data processed {"connection_id":163477,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:21:05] local.INFO: Acknowledgment sent {"connection_id":163477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:21:22] local.INFO: TCP Data received {"connection_id":161119,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:21:22] local.INFO: Processing buffer {"connection_id":161119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:21:22] local.INFO: Packet analysis {"connection_id":161119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:21:22] local.INFO: Extracted packet for processing {"connection_id":161119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:21:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601802752001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787507343000,"timestamp_ms":1787507343000,"timestamp_seconds":1787507343,"priority":1,"record_length":96,"hex_timestamp":"000001a02fbd7e98"} 
[2026-08-23 23:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:21: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-08-23 23:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:21: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-08-23 23:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601802752001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601802752001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:21:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:21:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601802752001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":161119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:21:22] local.INFO: GPS data processed {"connection_id":161119,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:21:22] local.INFO: Acknowledgment sent {"connection_id":161119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:21:33] local.INFO: TCP Data received {"connection_id":160873,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:21:33] local.INFO: Processing buffer {"connection_id":160873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:21:33] local.INFO: IMEI packet received {"connection_id":160873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":160873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:21:38] local.INFO: TCP Data received {"connection_id":160873,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:21:38] local.INFO: Processing buffer {"connection_id":160873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:21:38] local.INFO: IMEI packet received {"connection_id":160873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":160873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:21:39] local.INFO: TCP Data received {"connection_id":160873,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:21:39] local.INFO: Processing buffer {"connection_id":160873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:21:39] local.INFO: Packet analysis {"connection_id":160873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:21:39] local.INFO: Extracted packet for processing {"connection_id":160873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:21:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601796608001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787507319000,"timestamp_ms":1787507319000,"timestamp_seconds":1787507319,"priority":1,"record_length":96,"hex_timestamp":"000001a02fbd20d8"} 
[2026-08-23 23:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 23:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601796608001,"66":2155,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601796608001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:21:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:21:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601796608001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":160873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:21:39] local.INFO: GPS data processed {"connection_id":160873,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:21:39] local.INFO: Acknowledgment sent {"connection_id":160873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:21:43] local.INFO: TCP Data received {"connection_id":160873,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:21:43] local.INFO: Processing buffer {"connection_id":160873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:21:43] local.INFO: Packet analysis {"connection_id":160873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:21:43] local.INFO: Extracted packet for processing {"connection_id":160873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:21:43] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601796608001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787507319000,"timestamp_ms":1787507319000,"timestamp_seconds":1787507319,"priority":1,"record_length":96,"hex_timestamp":"000001a02fbd20d8"} 
[2026-08-23 23:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 23:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601796608001,"66":2155,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601796608001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:21:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:21:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601796608001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":160873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:21:44] local.INFO: GPS data processed {"connection_id":160873,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:21:44] local.INFO: Acknowledgment sent {"connection_id":160873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:21:44] local.INFO: TCP Data received {"connection_id":162074,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:21:44] local.INFO: Processing buffer {"connection_id":162074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:21:44] local.INFO: IMEI packet received {"connection_id":162074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":162074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:21:50] local.INFO: TCP Data received {"connection_id":162074,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:21:50] local.INFO: Processing buffer {"connection_id":162074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:21:50] local.INFO: IMEI packet received {"connection_id":162074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":162074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:21:51] local.INFO: TCP Data received {"connection_id":162074,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:21:51] local.INFO: Processing buffer {"connection_id":162074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:21:51] local.INFO: Packet analysis {"connection_id":162074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:21:51] local.INFO: Extracted packet for processing {"connection_id":162074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:21:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601802752001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787507343000,"timestamp_ms":1787507343000,"timestamp_seconds":1787507343,"priority":1,"record_length":96,"hex_timestamp":"000001a02fbd7e98"} 
[2026-08-23 23:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:21: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-08-23 23:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:21:51] 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-08-23 23:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601802752001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601802752001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:21:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:21:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601802752001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":162074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:21:51] local.INFO: GPS data processed {"connection_id":162074,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:21:51] local.INFO: Acknowledgment sent {"connection_id":162074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:22:22] local.INFO: TCP Data received {"connection_id":162074,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:22:22] local.INFO: Processing buffer {"connection_id":162074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:22:22] local.INFO: Packet analysis {"connection_id":162074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:22:22] local.INFO: Extracted packet for processing {"connection_id":162074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:22:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601802752001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787507343000,"timestamp_ms":1787507343000,"timestamp_seconds":1787507343,"priority":1,"record_length":96,"hex_timestamp":"000001a02fbd7e98"} 
[2026-08-23 23:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:22: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-08-23 23:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601802752001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601802752001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:22:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:22:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601802752001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":162074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:22:22] local.INFO: GPS data processed {"connection_id":162074,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:22:22] local.INFO: Acknowledgment sent {"connection_id":162074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:22:28] local.INFO: TCP Data received {"connection_id":160874,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:22:28] local.INFO: Processing buffer {"connection_id":160874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:22:28] local.INFO: IMEI packet received {"connection_id":160874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":160874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:22:33] local.INFO: TCP Data received {"connection_id":160874,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:22:33] local.INFO: Processing buffer {"connection_id":160874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:22:33] local.INFO: IMEI packet received {"connection_id":160874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":160874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:22:34] local.INFO: TCP Data received {"connection_id":160874,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:22:34] local.INFO: Processing buffer {"connection_id":160874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:22:34] local.INFO: Packet analysis {"connection_id":160874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:22:34] local.INFO: Extracted packet for processing {"connection_id":160874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:22:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601796608001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787507319000,"timestamp_ms":1787507319000,"timestamp_seconds":1787507319,"priority":1,"record_length":96,"hex_timestamp":"000001a02fbd20d8"} 
[2026-08-23 23:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 23:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601796608001,"66":2155,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601796608001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:22:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:22:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601796608001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":160874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:22:34] local.INFO: GPS data processed {"connection_id":160874,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:22:34] local.INFO: Acknowledgment sent {"connection_id":160874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:22:45] local.INFO: TCP Data received {"connection_id":161120,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:22:45] local.INFO: Processing buffer {"connection_id":161120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:22:45] local.INFO: IMEI packet received {"connection_id":161120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":161120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:22:50] local.INFO: TCP Data received {"connection_id":161120,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:22:50] local.INFO: Processing buffer {"connection_id":161120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:22:50] local.INFO: IMEI packet received {"connection_id":161120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":161120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:22:51] local.INFO: TCP Data received {"connection_id":161120,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:22:51] local.INFO: Processing buffer {"connection_id":161120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:22:51] local.INFO: Packet analysis {"connection_id":161120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:22:51] local.INFO: Extracted packet for processing {"connection_id":161120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:22:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601802752001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787507343000,"timestamp_ms":1787507343000,"timestamp_seconds":1787507343,"priority":1,"record_length":96,"hex_timestamp":"000001a02fbd7e98"} 
[2026-08-23 23:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:22: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-08-23 23:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:22: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-08-23 23:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601802752001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601802752001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:22:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:22:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601802752001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":161120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:22:51] local.INFO: GPS data processed {"connection_id":161120,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:22:51] local.INFO: Acknowledgment sent {"connection_id":161120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:23:04] local.INFO: TCP Data received {"connection_id":160874,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:23:04] local.INFO: Processing buffer {"connection_id":160874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:23:04] local.INFO: Packet analysis {"connection_id":160874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:23:04] local.INFO: Extracted packet for processing {"connection_id":160874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:23:04] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601796608001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787507319000,"timestamp_ms":1787507319000,"timestamp_seconds":1787507319,"priority":1,"record_length":96,"hex_timestamp":"000001a02fbd20d8"} 
[2026-08-23 23:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 23:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601796608001,"66":2155,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601796608001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:23:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:23:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601796608001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":160874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:23:05] local.INFO: GPS data processed {"connection_id":160874,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:23:05] local.INFO: Acknowledgment sent {"connection_id":160874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:23:22] local.INFO: TCP Data received {"connection_id":161120,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:23:22] local.INFO: Processing buffer {"connection_id":161120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:23:22] local.INFO: Packet analysis {"connection_id":161120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:23:22] local.INFO: Extracted packet for processing {"connection_id":161120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:23:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601802752001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787507343000,"timestamp_ms":1787507343000,"timestamp_seconds":1787507343,"priority":1,"record_length":96,"hex_timestamp":"000001a02fbd7e98"} 
[2026-08-23 23:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:23: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-08-23 23:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601802752001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601802752001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:23:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:23:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601802752001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":161120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:23:22] local.INFO: GPS data processed {"connection_id":161120,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:23:22] local.INFO: Acknowledgment sent {"connection_id":161120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:23:28] local.INFO: TCP Data received {"connection_id":163478,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:23:28] local.INFO: Processing buffer {"connection_id":163478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:23:28] local.INFO: IMEI packet received {"connection_id":163478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":163478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:23:33] local.INFO: TCP Data received {"connection_id":163478,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:23:33] local.INFO: Processing buffer {"connection_id":163478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:23:33] local.INFO: IMEI packet received {"connection_id":163478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":163478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:23:34] local.INFO: TCP Data received {"connection_id":163478,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:23:34] local.INFO: Processing buffer {"connection_id":163478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:23:34] local.INFO: Packet analysis {"connection_id":163478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:23:34] local.INFO: Extracted packet for processing {"connection_id":163478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:23:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601796608001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787507319000,"timestamp_ms":1787507319000,"timestamp_seconds":1787507319,"priority":1,"record_length":96,"hex_timestamp":"000001a02fbd20d8"} 
[2026-08-23 23:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 23:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601796608001,"66":2155,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601796608001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:23:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:23:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601796608001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":163478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:23:34] local.INFO: GPS data processed {"connection_id":163478,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:23:34] local.INFO: Acknowledgment sent {"connection_id":163478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:23:45] local.INFO: TCP Data received {"connection_id":161121,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:23:45] local.INFO: Processing buffer {"connection_id":161121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:23:45] local.INFO: IMEI packet received {"connection_id":161121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":161121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:23:50] local.INFO: TCP Data received {"connection_id":161121,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:23:50] local.INFO: Processing buffer {"connection_id":161121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:23:50] local.INFO: IMEI packet received {"connection_id":161121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":161121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:23:51] local.INFO: TCP Data received {"connection_id":161121,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:23:51] local.INFO: Processing buffer {"connection_id":161121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:23:51] local.INFO: Packet analysis {"connection_id":161121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:23:51] local.INFO: Extracted packet for processing {"connection_id":161121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:23:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601802752001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787507343000,"timestamp_ms":1787507343000,"timestamp_seconds":1787507343,"priority":1,"record_length":96,"hex_timestamp":"000001a02fbd7e98"} 
[2026-08-23 23:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:23: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-08-23 23:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601802752001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601802752001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:23:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:23:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601802752001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":161121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:23:51] local.INFO: GPS data processed {"connection_id":161121,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:23:51] local.INFO: Acknowledgment sent {"connection_id":161121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:24:06] local.INFO: TCP Data received {"connection_id":163478,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:24:06] local.INFO: Processing buffer {"connection_id":163478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fbd20d8012d196580071fef380046010e28..."} 
[2026-08-23 23:24:06] local.INFO: Packet analysis {"connection_id":163478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:24:06] local.INFO: Extracted packet for processing {"connection_id":163478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601796608001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787507319000,"timestamp_ms":1787507319000,"timestamp_seconds":1787507319,"priority":1,"record_length":96,"hex_timestamp":"000001a02fbd20d8"} 
[2026-08-23 23:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 23:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601796608001,"66":2155,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601796608001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:24:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601796608001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":163478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:24:06] local.INFO: GPS data processed {"connection_id":163478,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:24:06] local.INFO: Acknowledgment sent {"connection_id":163478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:24:22] local.INFO: TCP Data received {"connection_id":161121,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:24:22] local.INFO: Processing buffer {"connection_id":161121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fbd7e98012d34c58006aa4060000e011423..."} 
[2026-08-23 23:24:22] local.INFO: Packet analysis {"connection_id":161121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:24:22] local.INFO: Extracted packet for processing {"connection_id":161121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fbd"} 
[2026-08-23 23:24:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601802752001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787507343000,"timestamp_ms":1787507343000,"timestamp_seconds":1787507343,"priority":1,"record_length":96,"hex_timestamp":"000001a02fbd7e98"} 
[2026-08-23 23:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:24: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-08-23 23:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:24: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-08-23 23:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601802752001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601802752001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:24:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:24:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601802752001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":161121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:24:22] local.INFO: GPS data processed {"connection_id":161121,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:24:22] local.INFO: Acknowledgment sent {"connection_id":161121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:24:28] local.INFO: TCP Data received {"connection_id":163479,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:24:28] local.INFO: Processing buffer {"connection_id":163479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:24:28] local.INFO: IMEI packet received {"connection_id":163479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":163479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:24:33] local.INFO: TCP Data received {"connection_id":163479,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:24:33] local.INFO: Processing buffer {"connection_id":163479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:24:33] local.INFO: IMEI packet received {"connection_id":163479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":163479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:24:36] local.INFO: TCP Data received {"connection_id":163479,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:24:36] local.INFO: Processing buffer {"connection_id":163479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:24:36] local.INFO: Packet analysis {"connection_id":163479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc1"} 
[2026-08-23 23:24:36] local.INFO: Extracted packet for processing {"connection_id":163479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc1"} 
[2026-08-23 23:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601873664001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787507620000,"timestamp_ms":1787507620000,"timestamp_seconds":1787507620,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc1b8a0"} 
[2026-08-23 23:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 23:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601873664001,"66":2144,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601873664001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:24:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601873664001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":163479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:24:36] local.INFO: GPS data processed {"connection_id":163479,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:24:36] local.INFO: Acknowledgment sent {"connection_id":163479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:24:50] local.INFO: TCP Data received {"connection_id":162075,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:24:50] local.INFO: Processing buffer {"connection_id":162075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:24:50] local.INFO: IMEI packet received {"connection_id":162075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":162075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:24:55] local.INFO: TCP Data received {"connection_id":162075,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:24:55] local.INFO: Processing buffer {"connection_id":162075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:24:55] local.INFO: IMEI packet received {"connection_id":162075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":162075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:24:56] local.INFO: TCP Data received {"connection_id":162075,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:24:56] local.INFO: Processing buffer {"connection_id":162075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:24:56] local.INFO: Packet analysis {"connection_id":162075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc2"} 
[2026-08-23 23:24:56] local.INFO: Extracted packet for processing {"connection_id":162075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc2"} 
[2026-08-23 23:24:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601879808001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787507644000,"timestamp_ms":1787507644000,"timestamp_seconds":1787507644,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc21660"} 
[2026-08-23 23:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:24:56] 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-08-23 23:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601879808001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601879808001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:24:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:24:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601879808001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":162075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:24:56] local.INFO: GPS data processed {"connection_id":162075,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:24:56] local.INFO: Acknowledgment sent {"connection_id":162075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:25:00] local.INFO: TCP Data received {"connection_id":162075,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:25:00] local.INFO: Processing buffer {"connection_id":162075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:25:00] local.INFO: Packet analysis {"connection_id":162075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc2"} 
[2026-08-23 23:25:00] local.INFO: Extracted packet for processing {"connection_id":162075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc2"} 
[2026-08-23 23:25:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601879808001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787507644000,"timestamp_ms":1787507644000,"timestamp_seconds":1787507644,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc21660"} 
[2026-08-23 23:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:25:00] 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-08-23 23:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601879808001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601879808001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:25:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:25:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601879808001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":162075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:25:01] local.INFO: GPS data processed {"connection_id":162075,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:25:01] local.INFO: Acknowledgment sent {"connection_id":162075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:25:07] local.INFO: TCP Data received {"connection_id":163479,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:25:07] local.INFO: Processing buffer {"connection_id":163479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:25:07] local.INFO: Packet analysis {"connection_id":163479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc1"} 
[2026-08-23 23:25:07] local.INFO: Extracted packet for processing {"connection_id":163479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc1"} 
[2026-08-23 23:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601873664001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787507620000,"timestamp_ms":1787507620000,"timestamp_seconds":1787507620,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc1b8a0"} 
[2026-08-23 23:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 23:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601873664001,"66":2144,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601873664001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:25:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601873664001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":163479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:25:07] local.INFO: GPS data processed {"connection_id":163479,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:25:07] local.INFO: Acknowledgment sent {"connection_id":163479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:25:28] local.INFO: TCP Data received {"connection_id":161122,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:25:28] local.INFO: Processing buffer {"connection_id":161122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:25:28] local.INFO: IMEI packet received {"connection_id":161122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":161122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:25:33] local.INFO: TCP Data received {"connection_id":161122,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:25:33] local.INFO: Processing buffer {"connection_id":161122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:25:33] local.INFO: IMEI packet received {"connection_id":161122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":161122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:25:34] local.INFO: TCP Data received {"connection_id":161122,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:25:34] local.INFO: Processing buffer {"connection_id":161122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:25:34] local.INFO: Packet analysis {"connection_id":161122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc1"} 
[2026-08-23 23:25:34] local.INFO: Extracted packet for processing {"connection_id":161122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc1"} 
[2026-08-23 23:25:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601873664001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787507620000,"timestamp_ms":1787507620000,"timestamp_seconds":1787507620,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc1b8a0"} 
[2026-08-23 23:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 23:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601873664001,"66":2144,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601873664001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:25:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:25:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601873664001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":161122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:25:34] local.INFO: GPS data processed {"connection_id":161122,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:25:34] local.INFO: Acknowledgment sent {"connection_id":161122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:25:38] local.INFO: TCP Data received {"connection_id":161122,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:25:38] local.INFO: Processing buffer {"connection_id":161122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:25:38] local.INFO: Packet analysis {"connection_id":161122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc1"} 
[2026-08-23 23:25:38] local.INFO: Extracted packet for processing {"connection_id":161122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc1"} 
[2026-08-23 23:25:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601873664001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787507620000,"timestamp_ms":1787507620000,"timestamp_seconds":1787507620,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc1b8a0"} 
[2026-08-23 23:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 23:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601873664001,"66":2144,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601873664001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:25:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:25:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601873664001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":161122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:25:38] local.INFO: GPS data processed {"connection_id":161122,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:25:38] local.INFO: Acknowledgment sent {"connection_id":161122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:25:44] local.INFO: TCP Data received {"connection_id":162076,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:25:44] local.INFO: Processing buffer {"connection_id":162076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:25:44] local.INFO: IMEI packet received {"connection_id":162076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":162076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:25:50] local.INFO: TCP Data received {"connection_id":162076,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:25:50] local.INFO: Processing buffer {"connection_id":162076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:25:50] local.INFO: IMEI packet received {"connection_id":162076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":162076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:25:51] local.INFO: TCP Data received {"connection_id":162076,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:25:51] local.INFO: Processing buffer {"connection_id":162076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:25:51] local.INFO: Packet analysis {"connection_id":162076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc2"} 
[2026-08-23 23:25:51] local.INFO: Extracted packet for processing {"connection_id":162076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc2"} 
[2026-08-23 23:25:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601879808001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787507644000,"timestamp_ms":1787507644000,"timestamp_seconds":1787507644,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc21660"} 
[2026-08-23 23:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23: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-08-23 23: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:25:51] 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-08-23 23:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601879808001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601879808001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:25:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:25:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601879808001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":162076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:25:51] local.INFO: GPS data processed {"connection_id":162076,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:25:51] local.INFO: Acknowledgment sent {"connection_id":162076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:26:10] local.INFO: TCP Data received {"connection_id":161122,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:26:10] local.INFO: Processing buffer {"connection_id":161122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:26:10] local.INFO: Packet analysis {"connection_id":161122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc1"} 
[2026-08-23 23:26:10] local.INFO: Extracted packet for processing {"connection_id":161122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc1"} 
[2026-08-23 23:26:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601873664001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787507620000,"timestamp_ms":1787507620000,"timestamp_seconds":1787507620,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc1b8a0"} 
[2026-08-23 23:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 23:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601873664001,"66":2144,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601873664001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:26:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:26:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601873664001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":161122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:26:10] local.INFO: GPS data processed {"connection_id":161122,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:26:10] local.INFO: Acknowledgment sent {"connection_id":161122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:26:22] local.INFO: TCP Data received {"connection_id":162076,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:26:22] local.INFO: Processing buffer {"connection_id":162076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:26:22] local.INFO: Packet analysis {"connection_id":162076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc2"} 
[2026-08-23 23:26:22] local.INFO: Extracted packet for processing {"connection_id":162076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc2"} 
[2026-08-23 23:26:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601879808001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787507644000,"timestamp_ms":1787507644000,"timestamp_seconds":1787507644,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc21660"} 
[2026-08-23 23:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:26: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-08-23 23:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:26: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-08-23 23:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:26: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-08-23 23:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601879808001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601879808001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:26:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:26:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601879808001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":162076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:26:22] local.INFO: GPS data processed {"connection_id":162076,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:26:22] local.INFO: Acknowledgment sent {"connection_id":162076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:26:28] local.INFO: TCP Data received {"connection_id":162077,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:26:28] local.INFO: Processing buffer {"connection_id":162077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:26:28] local.INFO: IMEI packet received {"connection_id":162077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":162077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:26:33] local.INFO: TCP Data received {"connection_id":162077,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:26:33] local.INFO: Processing buffer {"connection_id":162077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:26:33] local.INFO: IMEI packet received {"connection_id":162077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":162077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:26:34] local.INFO: TCP Data received {"connection_id":162077,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:26:34] local.INFO: Processing buffer {"connection_id":162077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:26:34] local.INFO: Packet analysis {"connection_id":162077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc1"} 
[2026-08-23 23:26:34] local.INFO: Extracted packet for processing {"connection_id":162077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc1"} 
[2026-08-23 23:26:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601873664001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787507620000,"timestamp_ms":1787507620000,"timestamp_seconds":1787507620,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc1b8a0"} 
[2026-08-23 23:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 23:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601873664001,"66":2144,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601873664001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:26:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:26:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601873664001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":162077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:26:34] local.INFO: GPS data processed {"connection_id":162077,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:26:34] local.INFO: Acknowledgment sent {"connection_id":162077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:26:44] local.INFO: TCP Data received {"connection_id":161123,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:26:44] local.INFO: Processing buffer {"connection_id":161123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:26:44] local.INFO: IMEI packet received {"connection_id":161123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":161123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:26:50] local.INFO: TCP Data received {"connection_id":161123,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:26:50] local.INFO: Processing buffer {"connection_id":161123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:26:50] local.INFO: IMEI packet received {"connection_id":161123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":161123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:26:51] local.INFO: TCP Data received {"connection_id":161123,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:26:51] local.INFO: Processing buffer {"connection_id":161123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:26:51] local.INFO: Packet analysis {"connection_id":161123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc2"} 
[2026-08-23 23:26:51] local.INFO: Extracted packet for processing {"connection_id":161123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc2"} 
[2026-08-23 23:26:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601879808001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787507644000,"timestamp_ms":1787507644000,"timestamp_seconds":1787507644,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc21660"} 
[2026-08-23 23:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:26: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-08-23 23:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:26:51] 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-08-23 23:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601879808001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601879808001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:26:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:26:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601879808001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":161123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:26:51] local.INFO: GPS data processed {"connection_id":161123,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:26:51] local.INFO: Acknowledgment sent {"connection_id":161123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:27:05] local.INFO: TCP Data received {"connection_id":162077,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:27:05] local.INFO: Processing buffer {"connection_id":162077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:27:05] local.INFO: Packet analysis {"connection_id":162077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc1"} 
[2026-08-23 23:27:05] local.INFO: Extracted packet for processing {"connection_id":162077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc1"} 
[2026-08-23 23:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601873664001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787507620000,"timestamp_ms":1787507620000,"timestamp_seconds":1787507620,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc1b8a0"} 
[2026-08-23 23:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 23:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601873664001,"66":2144,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601873664001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:27:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:27:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601873664001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":162077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:27:05] local.INFO: GPS data processed {"connection_id":162077,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:27:05] local.INFO: Acknowledgment sent {"connection_id":162077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:27:22] local.INFO: TCP Data received {"connection_id":161123,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:27:22] local.INFO: Processing buffer {"connection_id":161123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:27:22] local.INFO: Packet analysis {"connection_id":161123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc2"} 
[2026-08-23 23:27:22] local.INFO: Extracted packet for processing {"connection_id":161123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc2"} 
[2026-08-23 23:27:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601879808001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787507644000,"timestamp_ms":1787507644000,"timestamp_seconds":1787507644,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc21660"} 
[2026-08-23 23:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:27: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-08-23 23:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:27: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-08-23 23:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:27: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-08-23 23:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601879808001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601879808001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:27:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:27:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601879808001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":161123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:27:22] local.INFO: GPS data processed {"connection_id":161123,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:27:22] local.INFO: Acknowledgment sent {"connection_id":161123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:27:28] local.INFO: TCP Data received {"connection_id":160875,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:27:28] local.INFO: Processing buffer {"connection_id":160875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:27:28] local.INFO: IMEI packet received {"connection_id":160875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":160875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:27:33] local.INFO: TCP Data received {"connection_id":160875,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:27:33] local.INFO: Processing buffer {"connection_id":160875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:27:33] local.INFO: IMEI packet received {"connection_id":160875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":160875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:27:34] local.INFO: TCP Data received {"connection_id":160875,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:27:34] local.INFO: Processing buffer {"connection_id":160875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:27:34] local.INFO: Packet analysis {"connection_id":160875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc1"} 
[2026-08-23 23:27:34] local.INFO: Extracted packet for processing {"connection_id":160875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc1"} 
[2026-08-23 23:27:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601873664001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787507620000,"timestamp_ms":1787507620000,"timestamp_seconds":1787507620,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc1b8a0"} 
[2026-08-23 23:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 23:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601873664001,"66":2144,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601873664001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:27:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:27:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601873664001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":160875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:27:34] local.INFO: GPS data processed {"connection_id":160875,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:27:34] local.INFO: Acknowledgment sent {"connection_id":160875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:27:44] local.INFO: TCP Data received {"connection_id":163480,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:27:44] local.INFO: Processing buffer {"connection_id":163480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:27:44] local.INFO: IMEI packet received {"connection_id":163480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":163480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:27:50] local.INFO: TCP Data received {"connection_id":163480,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:27:50] local.INFO: Processing buffer {"connection_id":163480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:27:50] local.INFO: IMEI packet received {"connection_id":163480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":163480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:27:51] local.INFO: TCP Data received {"connection_id":163480,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:27:51] local.INFO: Processing buffer {"connection_id":163480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:27:51] local.INFO: Packet analysis {"connection_id":163480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc2"} 
[2026-08-23 23:27:51] local.INFO: Extracted packet for processing {"connection_id":163480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc2"} 
[2026-08-23 23:27:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601879808001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787507644000,"timestamp_ms":1787507644000,"timestamp_seconds":1787507644,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc21660"} 
[2026-08-23 23:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:27: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-08-23 23: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:27:51] 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-08-23 23:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601879808001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601879808001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:27:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:27:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601879808001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":163480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:27:51] local.INFO: GPS data processed {"connection_id":163480,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:27:51] local.INFO: Acknowledgment sent {"connection_id":163480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:28:05] local.INFO: TCP Data received {"connection_id":160875,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:28:05] local.INFO: Processing buffer {"connection_id":160875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:28:05] local.INFO: Packet analysis {"connection_id":160875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc1"} 
[2026-08-23 23:28:05] local.INFO: Extracted packet for processing {"connection_id":160875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc1"} 
[2026-08-23 23:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601873664001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787507620000,"timestamp_ms":1787507620000,"timestamp_seconds":1787507620,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc1b8a0"} 
[2026-08-23 23:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 23:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601873664001,"66":2144,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601873664001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:28:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:28:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601873664001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":160875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:28:05] local.INFO: GPS data processed {"connection_id":160875,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:28:05] local.INFO: Acknowledgment sent {"connection_id":160875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:28:22] local.INFO: TCP Data received {"connection_id":163480,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:28:22] local.INFO: Processing buffer {"connection_id":163480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:28:22] local.INFO: Packet analysis {"connection_id":163480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc2"} 
[2026-08-23 23:28:22] local.INFO: Extracted packet for processing {"connection_id":163480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc2"} 
[2026-08-23 23:28:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601879808001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787507644000,"timestamp_ms":1787507644000,"timestamp_seconds":1787507644,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc21660"} 
[2026-08-23 23:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:28: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-08-23 23:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:28: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-08-23 23: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-08-23 23:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:28: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-08-23 23:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601879808001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601879808001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:28:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:28:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601879808001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":163480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:28:22] local.INFO: GPS data processed {"connection_id":163480,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:28:22] local.INFO: Acknowledgment sent {"connection_id":163480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:28:28] local.INFO: TCP Data received {"connection_id":160876,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:28:28] local.INFO: Processing buffer {"connection_id":160876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:28:28] local.INFO: IMEI packet received {"connection_id":160876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":160876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:28:33] local.INFO: TCP Data received {"connection_id":160876,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:28:33] local.INFO: Processing buffer {"connection_id":160876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:28:33] local.INFO: IMEI packet received {"connection_id":160876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":160876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:28:34] local.INFO: TCP Data received {"connection_id":160876,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:28:34] local.INFO: Processing buffer {"connection_id":160876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:28:34] local.INFO: Packet analysis {"connection_id":160876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc1"} 
[2026-08-23 23:28:34] local.INFO: Extracted packet for processing {"connection_id":160876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc1"} 
[2026-08-23 23:28:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601873664001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787507620000,"timestamp_ms":1787507620000,"timestamp_seconds":1787507620,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc1b8a0"} 
[2026-08-23 23:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 23:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601873664001,"66":2144,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601873664001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:28:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:28:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601873664001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":160876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:28:34] local.INFO: GPS data processed {"connection_id":160876,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:28:34] local.INFO: Acknowledgment sent {"connection_id":160876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:28:50] local.INFO: TCP Data received {"connection_id":163481,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:28:50] local.INFO: Processing buffer {"connection_id":163481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:28:50] local.INFO: IMEI packet received {"connection_id":163481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":163481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:28:55] local.INFO: TCP Data received {"connection_id":163481,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:28:55] local.INFO: Processing buffer {"connection_id":163481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:28:55] local.INFO: IMEI packet received {"connection_id":163481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":163481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:28:56] local.INFO: TCP Data received {"connection_id":163481,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:28:56] local.INFO: Processing buffer {"connection_id":163481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:28:56] local.INFO: Packet analysis {"connection_id":163481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc2"} 
[2026-08-23 23:28:56] local.INFO: Extracted packet for processing {"connection_id":163481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc2"} 
[2026-08-23 23:28:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601879808001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787507644000,"timestamp_ms":1787507644000,"timestamp_seconds":1787507644,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc21660"} 
[2026-08-23 23:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:28:56] 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-08-23 23:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601879808001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601879808001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:28:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:28:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601879808001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":163481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:28:56] local.INFO: GPS data processed {"connection_id":163481,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:28:56] local.INFO: Acknowledgment sent {"connection_id":163481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:29:00] local.INFO: TCP Data received {"connection_id":163481,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:29:00] local.INFO: Processing buffer {"connection_id":163481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc21660012d34c58006aa4060000e011424..."} 
[2026-08-23 23:29:00] local.INFO: Packet analysis {"connection_id":163481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc2"} 
[2026-08-23 23:29:00] local.INFO: Extracted packet for processing {"connection_id":163481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc2"} 
[2026-08-23 23:29:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601879808001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787507644000,"timestamp_ms":1787507644000,"timestamp_seconds":1787507644,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc21660"} 
[2026-08-23 23:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:29:00] 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-08-23 23:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601879808001,"66":25375,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601879808001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:29:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:29:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601879808001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":163481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:29:00] local.INFO: GPS data processed {"connection_id":163481,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:29:00] local.INFO: Acknowledgment sent {"connection_id":163481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:29:07] local.INFO: TCP Data received {"connection_id":160876,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:29:07] local.INFO: Processing buffer {"connection_id":160876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc1b8a0012d196580071fef380046010e2a..."} 
[2026-08-23 23:29:07] local.INFO: Packet analysis {"connection_id":160876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc1"} 
[2026-08-23 23:29:07] local.INFO: Extracted packet for processing {"connection_id":160876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc1"} 
[2026-08-23 23:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601873664001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787507620000,"timestamp_ms":1787507620000,"timestamp_seconds":1787507620,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc1b8a0"} 
[2026-08-23 23:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-23 23:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601873664001,"66":2144,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601873664001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:29:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:29:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601873664001,"power":2144,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":160876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:29:07] local.INFO: GPS data processed {"connection_id":160876,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:29:07] local.INFO: Acknowledgment sent {"connection_id":160876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:29:33] local.INFO: TCP Data received {"connection_id":161124,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:29:33] local.INFO: Processing buffer {"connection_id":161124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:29:33] local.INFO: IMEI packet received {"connection_id":161124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":161124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:29:38] local.INFO: TCP Data received {"connection_id":161124,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:29:38] local.INFO: Processing buffer {"connection_id":161124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:29:38] local.INFO: IMEI packet received {"connection_id":161124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":161124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:29:39] local.INFO: TCP Data received {"connection_id":161124,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:29:39] local.INFO: Processing buffer {"connection_id":161124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:29:39] local.INFO: Packet analysis {"connection_id":161124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:29:39] local.INFO: Extracted packet for processing {"connection_id":161124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:29:39] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601950720001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787507921000,"timestamp_ms":1787507921000,"timestamp_seconds":1787507921,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc65068"} 
[2026-08-23 23:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 23:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601950720001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601950720001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:29:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:29:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601950720001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":161124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:29:39] local.INFO: GPS data processed {"connection_id":161124,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:29:39] local.INFO: Acknowledgment sent {"connection_id":161124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:29:42] local.INFO: TCP Data received {"connection_id":163482,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:29:42] local.INFO: Processing buffer {"connection_id":163482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:29:42] local.INFO: IMEI packet received {"connection_id":163482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":163482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:29:44] local.INFO: TCP Data received {"connection_id":163482,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:29:44] local.INFO: Processing buffer {"connection_id":163482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:29:44] local.INFO: IMEI packet received {"connection_id":163482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":163482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:29:50] local.INFO: TCP Data received {"connection_id":163482,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:29:50] local.INFO: Processing buffer {"connection_id":163482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:29:50] local.INFO: IMEI packet received {"connection_id":163482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":163482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:29:51] local.INFO: TCP Data received {"connection_id":163482,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:29:51] local.INFO: Processing buffer {"connection_id":163482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:29:51] local.INFO: Packet analysis {"connection_id":163482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:29:51] local.INFO: Extracted packet for processing {"connection_id":163482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:29:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601956864001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787507945000,"timestamp_ms":1787507945000,"timestamp_seconds":1787507945,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc6ae28"} 
[2026-08-23 23:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:29: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-08-23 23:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601956864001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601956864001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:29:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:29:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601956864001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":163482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:29:51] local.INFO: GPS data processed {"connection_id":163482,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:29:51] local.INFO: Acknowledgment sent {"connection_id":163482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:30:10] local.INFO: TCP Data received {"connection_id":161124,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:30:10] local.INFO: Processing buffer {"connection_id":161124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:30:10] local.INFO: Packet analysis {"connection_id":161124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:30:10] local.INFO: Extracted packet for processing {"connection_id":161124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:30:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601950720001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787507921000,"timestamp_ms":1787507921000,"timestamp_seconds":1787507921,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc65068"} 
[2026-08-23 23:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 23:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601950720001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601950720001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:30:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:30:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601950720001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":161124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:30:10] local.INFO: GPS data processed {"connection_id":161124,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:30:10] local.INFO: Acknowledgment sent {"connection_id":161124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:30:23] local.INFO: TCP Data received {"connection_id":163482,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:30:23] local.INFO: Processing buffer {"connection_id":163482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:30:23] local.INFO: Packet analysis {"connection_id":163482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:30:23] local.INFO: Extracted packet for processing {"connection_id":163482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:30:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601956864001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787507945000,"timestamp_ms":1787507945000,"timestamp_seconds":1787507945,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc6ae28"} 
[2026-08-23 23:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:30: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-08-23 23:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:30: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-08-23 23:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601956864001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601956864001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:30:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:30:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601956864001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":163482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:30:23] local.INFO: GPS data processed {"connection_id":163482,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:30:23] local.INFO: Acknowledgment sent {"connection_id":163482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:30:28] local.INFO: TCP Data received {"connection_id":163483,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:30:28] local.INFO: Processing buffer {"connection_id":163483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:30:28] local.INFO: IMEI packet received {"connection_id":163483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":163483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:30:33] local.INFO: TCP Data received {"connection_id":163483,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:30:33] local.INFO: Processing buffer {"connection_id":163483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:30:33] local.INFO: IMEI packet received {"connection_id":163483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":163483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:30:35] local.INFO: TCP Data received {"connection_id":163483,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:30:35] local.INFO: Processing buffer {"connection_id":163483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:30:35] local.INFO: Packet analysis {"connection_id":163483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:30:35] local.INFO: Extracted packet for processing {"connection_id":163483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:30:35] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601950720001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787507921000,"timestamp_ms":1787507921000,"timestamp_seconds":1787507921,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc65068"} 
[2026-08-23 23:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 23:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601950720001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601950720001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:30:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:30:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601950720001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":163483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:30:35] local.INFO: GPS data processed {"connection_id":163483,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:30:35] local.INFO: Acknowledgment sent {"connection_id":163483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:30:45] local.INFO: TCP Data received {"connection_id":163484,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:30:45] local.INFO: Processing buffer {"connection_id":163484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:30:45] local.INFO: IMEI packet received {"connection_id":163484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":163484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:30:50] local.INFO: TCP Data received {"connection_id":163484,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:30:50] local.INFO: Processing buffer {"connection_id":163484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:30:50] local.INFO: IMEI packet received {"connection_id":163484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":163484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:30:52] local.INFO: TCP Data received {"connection_id":163484,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:30:52] local.INFO: Processing buffer {"connection_id":163484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:30:52] local.INFO: Packet analysis {"connection_id":163484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:30:52] local.INFO: Extracted packet for processing {"connection_id":163484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601956864001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787507945000,"timestamp_ms":1787507945000,"timestamp_seconds":1787507945,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc6ae28"} 
[2026-08-23 23:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:30: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-08-23 23:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601956864001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601956864001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:30:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601956864001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":163484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:30:52] local.INFO: GPS data processed {"connection_id":163484,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:30:52] local.INFO: Acknowledgment sent {"connection_id":163484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:31:06] local.INFO: TCP Data received {"connection_id":163483,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:31:06] local.INFO: Processing buffer {"connection_id":163483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:31:06] local.INFO: Packet analysis {"connection_id":163483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:31:06] local.INFO: Extracted packet for processing {"connection_id":163483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601950720001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787507921000,"timestamp_ms":1787507921000,"timestamp_seconds":1787507921,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc65068"} 
[2026-08-23 23:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 23:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601950720001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601950720001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:31:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601950720001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":163483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:31:06] local.INFO: GPS data processed {"connection_id":163483,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:31:06] local.INFO: Acknowledgment sent {"connection_id":163483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:31:23] local.INFO: TCP Data received {"connection_id":163484,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:31:23] local.INFO: Processing buffer {"connection_id":163484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:31:23] local.INFO: Packet analysis {"connection_id":163484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:31:23] local.INFO: Extracted packet for processing {"connection_id":163484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:31:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601956864001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787507945000,"timestamp_ms":1787507945000,"timestamp_seconds":1787507945,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc6ae28"} 
[2026-08-23 23:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:31: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-08-23 23:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:31: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-08-23 23:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601956864001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601956864001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:31:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:31:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601956864001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":163484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:31:23] local.INFO: GPS data processed {"connection_id":163484,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:31:23] local.INFO: Acknowledgment sent {"connection_id":163484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:31:28] local.INFO: TCP Data received {"connection_id":162078,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:31:28] local.INFO: Processing buffer {"connection_id":162078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:31:28] local.INFO: IMEI packet received {"connection_id":162078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":162078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:31:33] local.INFO: TCP Data received {"connection_id":162078,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:31:33] local.INFO: Processing buffer {"connection_id":162078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:31:33] local.INFO: IMEI packet received {"connection_id":162078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":162078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:31:34] local.INFO: TCP Data received {"connection_id":162078,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:31:34] local.INFO: Processing buffer {"connection_id":162078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:31:34] local.INFO: Packet analysis {"connection_id":162078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:31:34] local.INFO: Extracted packet for processing {"connection_id":162078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:31:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601950720001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787507921000,"timestamp_ms":1787507921000,"timestamp_seconds":1787507921,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc65068"} 
[2026-08-23 23:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 23:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601950720001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601950720001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:31:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:31:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601950720001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":162078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:31:34] local.INFO: GPS data processed {"connection_id":162078,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:31:34] local.INFO: Acknowledgment sent {"connection_id":162078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:31:38] local.INFO: TCP Data received {"connection_id":162078,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:31:38] local.INFO: Processing buffer {"connection_id":162078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:31:38] local.INFO: Packet analysis {"connection_id":162078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:31:38] local.INFO: Extracted packet for processing {"connection_id":162078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:31:38] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601950720001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787507921000,"timestamp_ms":1787507921000,"timestamp_seconds":1787507921,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc65068"} 
[2026-08-23 23:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 23:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":162078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":162078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":162078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601950720001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601950720001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:31:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:31:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601950720001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":162078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:31:38] local.INFO: GPS data processed {"connection_id":162078,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:31:38] local.INFO: Acknowledgment sent {"connection_id":162078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:31:44] local.INFO: TCP Data received {"connection_id":163485,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:31:44] local.INFO: Processing buffer {"connection_id":163485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:31:44] local.INFO: IMEI packet received {"connection_id":163485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":163485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:31:50] local.INFO: TCP Data received {"connection_id":163485,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:31:50] local.INFO: Processing buffer {"connection_id":163485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:31:50] local.INFO: IMEI packet received {"connection_id":163485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":163485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:31:51] local.INFO: TCP Data received {"connection_id":163485,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:31:51] local.INFO: Processing buffer {"connection_id":163485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:31:51] local.INFO: Packet analysis {"connection_id":163485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:31:51] local.INFO: Extracted packet for processing {"connection_id":163485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:31:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601956864001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787507945000,"timestamp_ms":1787507945000,"timestamp_seconds":1787507945,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc6ae28"} 
[2026-08-23 23:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:31: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-08-23 23:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601956864001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601956864001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:31:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:31:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601956864001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":163485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:31:51] local.INFO: GPS data processed {"connection_id":163485,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:31:51] local.INFO: Acknowledgment sent {"connection_id":163485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:32:10] local.INFO: TCP Data received {"connection_id":162078,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:32:10] local.INFO: Processing buffer {"connection_id":162078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:32:10] local.INFO: Packet analysis {"connection_id":162078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:32:10] local.INFO: Extracted packet for processing {"connection_id":162078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:32:10] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601950720001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787507921000,"timestamp_ms":1787507921000,"timestamp_seconds":1787507921,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc65068"} 
[2026-08-23 23:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 23:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":162078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":162078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":162078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601950720001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601950720001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:32:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:32:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601950720001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":162078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:32:10] local.INFO: GPS data processed {"connection_id":162078,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:32:10] local.INFO: Acknowledgment sent {"connection_id":162078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:32:22] local.INFO: TCP Data received {"connection_id":163485,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:32:22] local.INFO: Processing buffer {"connection_id":163485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:32:22] local.INFO: Packet analysis {"connection_id":163485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:32:22] local.INFO: Extracted packet for processing {"connection_id":163485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:32:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601956864001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787507945000,"timestamp_ms":1787507945000,"timestamp_seconds":1787507945,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc6ae28"} 
[2026-08-23 23:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:32: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-08-23 23:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:32: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-08-23 23:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601956864001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601956864001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:32:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:32:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601956864001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":163485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:32:22] local.INFO: GPS data processed {"connection_id":163485,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:32:22] local.INFO: Acknowledgment sent {"connection_id":163485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:32:28] local.INFO: TCP Data received {"connection_id":161125,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:32:28] local.INFO: Processing buffer {"connection_id":161125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:32:28] local.INFO: IMEI packet received {"connection_id":161125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":161125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:32:33] local.INFO: TCP Data received {"connection_id":161125,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:32:33] local.INFO: Processing buffer {"connection_id":161125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:32:33] local.INFO: IMEI packet received {"connection_id":161125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":161125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:32:34] local.INFO: TCP Data received {"connection_id":161125,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:32:34] local.INFO: Processing buffer {"connection_id":161125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:32:34] local.INFO: Packet analysis {"connection_id":161125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:32:34] local.INFO: Extracted packet for processing {"connection_id":161125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:32:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601950720001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787507921000,"timestamp_ms":1787507921000,"timestamp_seconds":1787507921,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc65068"} 
[2026-08-23 23:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 23:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601950720001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601950720001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:32:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:32:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601950720001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":161125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:32:34] local.INFO: GPS data processed {"connection_id":161125,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:32:34] local.INFO: Acknowledgment sent {"connection_id":161125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:32:50] local.INFO: TCP Data received {"connection_id":161126,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:32:50] local.INFO: Processing buffer {"connection_id":161126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:32:50] local.INFO: IMEI packet received {"connection_id":161126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":161126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:32:55] local.INFO: TCP Data received {"connection_id":161126,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:32:55] local.INFO: Processing buffer {"connection_id":161126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:32:55] local.INFO: IMEI packet received {"connection_id":161126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":161126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:32:56] local.INFO: TCP Data received {"connection_id":161126,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:32:56] local.INFO: Processing buffer {"connection_id":161126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:32:56] local.INFO: Packet analysis {"connection_id":161126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:32:56] local.INFO: Extracted packet for processing {"connection_id":161126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:32:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601956864001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787507945000,"timestamp_ms":1787507945000,"timestamp_seconds":1787507945,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc6ae28"} 
[2026-08-23 23:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:32:56] 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-08-23 23:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601956864001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601956864001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:32:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:32:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601956864001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":161126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:32:56] local.INFO: GPS data processed {"connection_id":161126,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:32:56] local.INFO: Acknowledgment sent {"connection_id":161126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:33:01] local.INFO: TCP Data received {"connection_id":161126,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:33:01] local.INFO: Processing buffer {"connection_id":161126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:33:01] local.INFO: Packet analysis {"connection_id":161126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:33:01] local.INFO: Extracted packet for processing {"connection_id":161126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:33:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601956864001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787507945000,"timestamp_ms":1787507945000,"timestamp_seconds":1787507945,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc6ae28"} 
[2026-08-23 23:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:33:01] 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-08-23 23:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601956864001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601956864001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:33:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:33:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601956864001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":161126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:33:01] local.INFO: GPS data processed {"connection_id":161126,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:33:01] local.INFO: Acknowledgment sent {"connection_id":161126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:33:05] local.INFO: TCP Data received {"connection_id":161125,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:33:05] local.INFO: Processing buffer {"connection_id":161125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:33:05] local.INFO: Packet analysis {"connection_id":161125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:33:05] local.INFO: Extracted packet for processing {"connection_id":161125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:33:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601950720001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787507921000,"timestamp_ms":1787507921000,"timestamp_seconds":1787507921,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc65068"} 
[2026-08-23 23:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 23:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601950720001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601950720001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:33:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:33:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601950720001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":161125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:33:05] local.INFO: GPS data processed {"connection_id":161125,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:33:05] local.INFO: Acknowledgment sent {"connection_id":161125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:33:33] local.INFO: TCP Data received {"connection_id":160877,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:33:33] local.INFO: Processing buffer {"connection_id":160877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:33:33] local.INFO: IMEI packet received {"connection_id":160877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":160877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:33:38] local.INFO: TCP Data received {"connection_id":160877,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:33:38] local.INFO: Processing buffer {"connection_id":160877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:33:38] local.INFO: IMEI packet received {"connection_id":160877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":160877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:33:41] local.INFO: TCP Data received {"connection_id":160877,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:33:41] local.INFO: Processing buffer {"connection_id":160877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:33:41] local.INFO: Packet analysis {"connection_id":160877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:33:41] local.INFO: Extracted packet for processing {"connection_id":160877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:33:41] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601950720001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787507921000,"timestamp_ms":1787507921000,"timestamp_seconds":1787507921,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc65068"} 
[2026-08-23 23:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 23:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601950720001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601950720001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:33:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:33:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601950720001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":160877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:33:41] local.INFO: GPS data processed {"connection_id":160877,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:33:41] local.INFO: Acknowledgment sent {"connection_id":160877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:33:43] local.INFO: TCP Data received {"connection_id":160877,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:33:43] local.INFO: Processing buffer {"connection_id":160877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc65068012d196580071fef380046010e29..."} 
[2026-08-23 23:33:43] local.INFO: Packet analysis {"connection_id":160877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:33:43] local.INFO: Extracted packet for processing {"connection_id":160877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:33:43] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601950720001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787507921000,"timestamp_ms":1787507921000,"timestamp_seconds":1787507921,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc65068"} 
[2026-08-23 23:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-23 23:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601950720001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601950720001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:33:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:33:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601950720001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":160877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:33:43] local.INFO: GPS data processed {"connection_id":160877,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:33:43] local.INFO: Acknowledgment sent {"connection_id":160877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:33:45] local.INFO: TCP Data received {"connection_id":163486,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:33:45] local.INFO: Processing buffer {"connection_id":163486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:33:45] local.INFO: IMEI packet received {"connection_id":163486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":163486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:33:50] local.INFO: TCP Data received {"connection_id":163486,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:33:50] local.INFO: Processing buffer {"connection_id":163486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:33:50] local.INFO: IMEI packet received {"connection_id":163486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":163486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:33:51] local.INFO: TCP Data received {"connection_id":163486,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:33:51] local.INFO: Processing buffer {"connection_id":163486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:33:51] local.INFO: Packet analysis {"connection_id":163486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:33:51] local.INFO: Extracted packet for processing {"connection_id":163486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:33:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601956864001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787507945000,"timestamp_ms":1787507945000,"timestamp_seconds":1787507945,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc6ae28"} 
[2026-08-23 23:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:33: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-08-23 23:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:33:51] 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-08-23 23:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601956864001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601956864001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:33:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:33:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601956864001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":163486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:33:51] local.INFO: GPS data processed {"connection_id":163486,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:33:51] local.INFO: Acknowledgment sent {"connection_id":163486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:34:22] local.INFO: TCP Data received {"connection_id":163486,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:34:22] local.INFO: Processing buffer {"connection_id":163486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fc6ae28012d34c58006aa4060000e011423..."} 
[2026-08-23 23:34:22] local.INFO: Packet analysis {"connection_id":163486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:34:22] local.INFO: Extracted packet for processing {"connection_id":163486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fc6"} 
[2026-08-23 23:34:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457601956864001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787507945000,"timestamp_ms":1787507945000,"timestamp_seconds":1787507945,"priority":1,"record_length":96,"hex_timestamp":"000001a02fc6ae28"} 
[2026-08-23 23:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:34: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-08-23 23:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-23 23:34: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-08-23 23:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457601956864001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457601956864001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:34:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:34:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457601956864001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":163486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:34:22] local.INFO: GPS data processed {"connection_id":163486,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:34:22] local.INFO: Acknowledgment sent {"connection_id":163486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:34:28] local.INFO: TCP Data received {"connection_id":162079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:34:28] local.INFO: Processing buffer {"connection_id":162079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:34:28] local.INFO: IMEI packet received {"connection_id":162079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":162079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:34:33] local.INFO: TCP Data received {"connection_id":162079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:34:33] local.INFO: Processing buffer {"connection_id":162079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:34:33] local.INFO: IMEI packet received {"connection_id":162079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-23 23:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":162079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:34:34] local.INFO: TCP Data received {"connection_id":162079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcae830012d196580071fef380046010e29..."} 
[2026-08-23 23:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcae830012d196580071fef380046010e29..."} 
[2026-08-23 23:34:34] local.INFO: Processing buffer {"connection_id":162079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcae830012d196580071fef380046010e29..."} 
[2026-08-23 23:34:34] local.INFO: Packet analysis {"connection_id":162079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fca"} 
[2026-08-23 23:34:34] local.INFO: Extracted packet for processing {"connection_id":162079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fca"} 
[2026-08-23 23:34:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602027776001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787508222000,"timestamp_ms":1787508222000,"timestamp_seconds":1787508222,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcae830"} 
[2026-08-23 23:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 23:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":162079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":162079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":162079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602027776001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602027776001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:34:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:34:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602027776001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":162079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:34:34] local.INFO: GPS data processed {"connection_id":162079,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:34:34] local.INFO: Acknowledgment sent {"connection_id":162079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:34:44] local.INFO: TCP Data received {"connection_id":162080,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:34:44] local.INFO: Processing buffer {"connection_id":162080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:34:44] local.INFO: IMEI packet received {"connection_id":162080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":162080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:34:44] local.INFO: TCP Data received {"connection_id":162080,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:34:44] local.INFO: Processing buffer {"connection_id":162080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:34:44] local.INFO: IMEI packet received {"connection_id":162080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":162080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:34:50] local.INFO: TCP Data received {"connection_id":162080,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:34:50] local.INFO: Processing buffer {"connection_id":162080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:34:50] local.INFO: IMEI packet received {"connection_id":162080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":162080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:34:51] local.INFO: TCP Data received {"connection_id":162080,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:34:51] local.INFO: Processing buffer {"connection_id":162080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:34:51] local.INFO: Packet analysis {"connection_id":162080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fcb"} 
[2026-08-23 23:34:51] local.INFO: Extracted packet for processing {"connection_id":162080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fcb"} 
[2026-08-23 23:34:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602033920001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787508246000,"timestamp_ms":1787508246000,"timestamp_seconds":1787508246,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcb45f0"} 
[2026-08-23 23:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:34: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-08-23 23:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 23:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:34:51] 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-08-23 23:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602033920001,"66":25299,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602033920001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:34:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:34:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602033920001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":162080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:34:51] local.INFO: GPS data processed {"connection_id":162080,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:34:51] local.INFO: Acknowledgment sent {"connection_id":162080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:35:05] local.INFO: TCP Data received {"connection_id":162079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcae830012d196580071fef380046010e29..."} 
[2026-08-23 23:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcae830012d196580071fef380046010e29..."} 
[2026-08-23 23:35:05] local.INFO: Processing buffer {"connection_id":162079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcae830012d196580071fef380046010e29..."} 
[2026-08-23 23:35:05] local.INFO: Packet analysis {"connection_id":162079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fca"} 
[2026-08-23 23:35:05] local.INFO: Extracted packet for processing {"connection_id":162079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fca"} 
[2026-08-23 23:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533368,"longitude_deg":75.6639104,"latitude_deg":11.9533368,"altitude":70,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-08-23 23:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602027776001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-23 23:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684872192,"note":"Value kept but may cause issues"} 
[2026-08-23 23:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787508222000,"timestamp_ms":1787508222000,"timestamp_seconds":1787508222,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcae830"} 
[2026-08-23 23:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-23 23:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-23 23:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-23 23:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-23 23:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602027776001,"66":2166,"103":206,"83":41984,"24":0,"16":15802859719229440,"45":1830009591684872192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-23 23:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-23 23:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-23 23:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602027776001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:35:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-23 23:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-23 23:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684872192,"description":"Unknown IO ID 45"} 
[2026-08-23 23:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602027776001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591684872192}} 
[2026-08-23 23:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":162079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:35:05] local.INFO: GPS data processed {"connection_id":162079,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:35:05] local.INFO: Acknowledgment sent {"connection_id":162079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:35:23] local.INFO: TCP Data received {"connection_id":162080,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:35:23] local.INFO: Processing buffer {"connection_id":162080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:35:23] local.INFO: Packet analysis {"connection_id":162080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fcb"} 
[2026-08-23 23:35:23] local.INFO: Extracted packet for processing {"connection_id":162080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fcb"} 
[2026-08-23 23:35:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602033920001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787508246000,"timestamp_ms":1787508246000,"timestamp_seconds":1787508246,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcb45f0"} 
[2026-08-23 23:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:35: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-08-23 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 23:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:35:23] 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-08-23 23:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602033920001,"66":25299,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602033920001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:35:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:35:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602033920001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":162080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:35:23] local.INFO: GPS data processed {"connection_id":162080,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:35:23] local.INFO: Acknowledgment sent {"connection_id":162080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:35:28] local.INFO: TCP Data received {"connection_id":161127,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:35:28] local.INFO: Processing buffer {"connection_id":161127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-23 23:35:28] local.INFO: IMEI packet received {"connection_id":161127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-23 23:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":161127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:35:44] local.INFO: TCP Data received {"connection_id":163487,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:35:44] local.INFO: Processing buffer {"connection_id":163487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:35:44] local.INFO: IMEI packet received {"connection_id":163487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":163487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:35:50] local.INFO: TCP Data received {"connection_id":163487,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:35:50] local.INFO: Processing buffer {"connection_id":163487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:35:50] local.INFO: IMEI packet received {"connection_id":163487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":163487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:35:51] local.INFO: TCP Data received {"connection_id":163487,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:35:51] local.INFO: Processing buffer {"connection_id":163487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:35:51] local.INFO: Packet analysis {"connection_id":163487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fcb"} 
[2026-08-23 23:35:51] local.INFO: Extracted packet for processing {"connection_id":163487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fcb"} 
[2026-08-23 23:35:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602033920001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787508246000,"timestamp_ms":1787508246000,"timestamp_seconds":1787508246,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcb45f0"} 
[2026-08-23 23:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:35: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-08-23 23:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 23:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:35:51] 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-08-23 23:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602033920001,"66":25299,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602033920001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:35:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:35:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602033920001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":163487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:35:51] local.INFO: GPS data processed {"connection_id":163487,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:35:51] local.INFO: Acknowledgment sent {"connection_id":163487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:36:23] local.INFO: TCP Data received {"connection_id":163487,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:36:23] local.INFO: Processing buffer {"connection_id":163487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:36:23] local.INFO: Packet analysis {"connection_id":163487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fcb"} 
[2026-08-23 23:36:23] local.INFO: Extracted packet for processing {"connection_id":163487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fcb"} 
[2026-08-23 23:36:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602033920001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787508246000,"timestamp_ms":1787508246000,"timestamp_seconds":1787508246,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcb45f0"} 
[2026-08-23 23:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:36: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-08-23 23:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 23:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:36:23] 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-08-23 23:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602033920001,"66":25299,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602033920001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:36:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:36:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602033920001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":163487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:36:23] local.INFO: GPS data processed {"connection_id":163487,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:36:23] local.INFO: Acknowledgment sent {"connection_id":163487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:36:45] local.INFO: TCP Data received {"connection_id":160878,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:36:45] local.INFO: Processing buffer {"connection_id":160878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:36:45] local.INFO: IMEI packet received {"connection_id":160878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":160878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:36:50] local.INFO: TCP Data received {"connection_id":160878,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:36:50] local.INFO: Processing buffer {"connection_id":160878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:36:50] local.INFO: IMEI packet received {"connection_id":160878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":160878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:36:53] local.INFO: TCP Data received {"connection_id":160878,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:36:53] local.INFO: Processing buffer {"connection_id":160878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:36:53] local.INFO: Packet analysis {"connection_id":160878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fcb"} 
[2026-08-23 23:36:53] local.INFO: Extracted packet for processing {"connection_id":160878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fcb"} 
[2026-08-23 23:36:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602033920001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787508246000,"timestamp_ms":1787508246000,"timestamp_seconds":1787508246,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcb45f0"} 
[2026-08-23 23:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:36: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-08-23 23:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 23:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:36:53] 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-08-23 23:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602033920001,"66":25299,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602033920001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:36:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:36:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602033920001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":160878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:36:53] local.INFO: GPS data processed {"connection_id":160878,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:36:53] local.INFO: Acknowledgment sent {"connection_id":160878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:37:24] local.INFO: TCP Data received {"connection_id":160878,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:37:24] local.INFO: Processing buffer {"connection_id":160878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:37:24] local.INFO: Packet analysis {"connection_id":160878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fcb"} 
[2026-08-23 23:37:24] local.INFO: Extracted packet for processing {"connection_id":160878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fcb"} 
[2026-08-23 23:37:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602033920001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787508246000,"timestamp_ms":1787508246000,"timestamp_seconds":1787508246,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcb45f0"} 
[2026-08-23 23:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:37: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-08-23 23:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 23:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:37:24] 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-08-23 23:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602033920001,"66":25299,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602033920001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:37:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:37:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602033920001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":160878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:37:24] local.INFO: GPS data processed {"connection_id":160878,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:37:24] local.INFO: Acknowledgment sent {"connection_id":160878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:37:50] local.INFO: TCP Data received {"connection_id":163488,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:37:50] local.INFO: Processing buffer {"connection_id":163488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:37:50] local.INFO: IMEI packet received {"connection_id":163488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":163488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:37:56] local.INFO: TCP Data received {"connection_id":163488,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:37:56] local.INFO: Processing buffer {"connection_id":163488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:37:56] local.INFO: IMEI packet received {"connection_id":163488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":163488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:37:57] local.INFO: TCP Data received {"connection_id":163488,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:37:57] local.INFO: Processing buffer {"connection_id":163488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:37:57] local.INFO: Packet analysis {"connection_id":163488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fcb"} 
[2026-08-23 23:37:57] local.INFO: Extracted packet for processing {"connection_id":163488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fcb"} 
[2026-08-23 23:37:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602033920001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787508246000,"timestamp_ms":1787508246000,"timestamp_seconds":1787508246,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcb45f0"} 
[2026-08-23 23:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 23:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:37:57] 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-08-23 23:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602033920001,"66":25299,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602033920001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:37:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:37:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602033920001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":163488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:37:57] local.INFO: GPS data processed {"connection_id":163488,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:37:57] local.INFO: Acknowledgment sent {"connection_id":163488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:38:28] local.INFO: TCP Data received {"connection_id":163488,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:38:28] local.INFO: Processing buffer {"connection_id":163488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:38:28] local.INFO: Packet analysis {"connection_id":163488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fcb"} 
[2026-08-23 23:38:28] local.INFO: Extracted packet for processing {"connection_id":163488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fcb"} 
[2026-08-23 23:38:28] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602033920001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787508246000,"timestamp_ms":1787508246000,"timestamp_seconds":1787508246,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcb45f0"} 
[2026-08-23 23:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:38: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-08-23 23:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 23:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:38: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-08-23 23:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602033920001,"66":25299,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602033920001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:38:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:38:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602033920001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":163488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:38:28] local.INFO: GPS data processed {"connection_id":163488,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:38:28] local.INFO: Acknowledgment sent {"connection_id":163488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:38:45] local.INFO: TCP Data received {"connection_id":161128,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:38:45] local.INFO: Processing buffer {"connection_id":161128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:38:45] local.INFO: IMEI packet received {"connection_id":161128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":161128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:38:50] local.INFO: TCP Data received {"connection_id":161128,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:38:50] local.INFO: Processing buffer {"connection_id":161128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:38:50] local.INFO: IMEI packet received {"connection_id":161128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":161128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:38:51] local.INFO: TCP Data received {"connection_id":161128,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:38:51] local.INFO: Processing buffer {"connection_id":161128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:38:51] local.INFO: Packet analysis {"connection_id":161128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fcb"} 
[2026-08-23 23:38:51] local.INFO: Extracted packet for processing {"connection_id":161128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fcb"} 
[2026-08-23 23:38:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602033920001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787508246000,"timestamp_ms":1787508246000,"timestamp_seconds":1787508246,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcb45f0"} 
[2026-08-23 23:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:38: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-08-23 23:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 23:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:38:51] 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-08-23 23:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602033920001,"66":25299,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602033920001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:38:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:38:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602033920001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":161128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:38:51] local.INFO: GPS data processed {"connection_id":161128,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:38:51] local.INFO: Acknowledgment sent {"connection_id":161128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:39:22] local.INFO: TCP Data received {"connection_id":161128,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:39:22] local.INFO: Processing buffer {"connection_id":161128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcb45f0012d34c58006aa4060000e011424..."} 
[2026-08-23 23:39:22] local.INFO: Packet analysis {"connection_id":161128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fcb"} 
[2026-08-23 23:39:22] local.INFO: Extracted packet for processing {"connection_id":161128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fcb"} 
[2026-08-23 23:39:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602033920001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787508246000,"timestamp_ms":1787508246000,"timestamp_seconds":1787508246,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcb45f0"} 
[2026-08-23 23:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:39: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-08-23 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 23:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:39: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-08-23 23:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602033920001,"66":25299,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602033920001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:39:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:39:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602033920001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":161128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:39:22] local.INFO: GPS data processed {"connection_id":161128,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:39:22] local.INFO: Acknowledgment sent {"connection_id":161128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:39:45] local.INFO: TCP Data received {"connection_id":160879,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:39:45] local.INFO: Processing buffer {"connection_id":160879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:39:45] local.INFO: IMEI packet received {"connection_id":160879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":160879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:39:45] local.INFO: TCP Data received {"connection_id":160879,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:39:45] local.INFO: Processing buffer {"connection_id":160879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:39:45] local.INFO: IMEI packet received {"connection_id":160879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":160879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:39:50] local.INFO: TCP Data received {"connection_id":160879,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:39:50] local.INFO: Processing buffer {"connection_id":160879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:39:50] local.INFO: IMEI packet received {"connection_id":160879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":160879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:39:51] local.INFO: TCP Data received {"connection_id":160879,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:39:51] local.INFO: Processing buffer {"connection_id":160879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:39:51] local.INFO: Packet analysis {"connection_id":160879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fcf"} 
[2026-08-23 23:39:51] local.INFO: Extracted packet for processing {"connection_id":160879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fcf"} 
[2026-08-23 23:39:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602110976001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787508547000,"timestamp_ms":1787508547000,"timestamp_seconds":1787508547,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcfddb8"} 
[2026-08-23 23:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:39: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-08-23 23:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 23:39:51] 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-08-23 23:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602110976001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602110976001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:39:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:39:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602110976001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":160879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:39:51] local.INFO: GPS data processed {"connection_id":160879,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:39:51] local.INFO: Acknowledgment sent {"connection_id":160879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:40:23] local.INFO: TCP Data received {"connection_id":160879,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:40:23] local.INFO: Processing buffer {"connection_id":160879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:40:23] local.INFO: Packet analysis {"connection_id":160879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fcf"} 
[2026-08-23 23:40:23] local.INFO: Extracted packet for processing {"connection_id":160879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fcf"} 
[2026-08-23 23:40:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602110976001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787508547000,"timestamp_ms":1787508547000,"timestamp_seconds":1787508547,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcfddb8"} 
[2026-08-23 23:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:40: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-08-23 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 23:40:23] 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-08-23 23: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-08-23 23:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602110976001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602110976001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:40:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:40:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602110976001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":160879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:40:23] local.INFO: GPS data processed {"connection_id":160879,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:40:23] local.INFO: Acknowledgment sent {"connection_id":160879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:40:50] local.INFO: TCP Data received {"connection_id":162081,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:40:50] local.INFO: Processing buffer {"connection_id":162081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:40:50] local.INFO: IMEI packet received {"connection_id":162081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":162081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:40:55] local.INFO: TCP Data received {"connection_id":162081,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:40:55] local.INFO: Processing buffer {"connection_id":162081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:40:55] local.INFO: IMEI packet received {"connection_id":162081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":162081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:40:57] local.INFO: TCP Data received {"connection_id":162081,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:40:57] local.INFO: Processing buffer {"connection_id":162081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:40:57] local.INFO: Packet analysis {"connection_id":162081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fcf"} 
[2026-08-23 23:40:57] local.INFO: Extracted packet for processing {"connection_id":162081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fcf"} 
[2026-08-23 23:40:57] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602110976001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787508547000,"timestamp_ms":1787508547000,"timestamp_seconds":1787508547,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcfddb8"} 
[2026-08-23 23:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 23:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:40:57] 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-08-23 23:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602110976001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602110976001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:40:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:40:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602110976001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":162081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:40:57] local.INFO: GPS data processed {"connection_id":162081,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:40:57] local.INFO: Acknowledgment sent {"connection_id":162081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:41:01] local.INFO: TCP Data received {"connection_id":162081,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:41:01] local.INFO: Processing buffer {"connection_id":162081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:41:01] local.INFO: Packet analysis {"connection_id":162081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fcf"} 
[2026-08-23 23:41:01] local.INFO: Extracted packet for processing {"connection_id":162081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fcf"} 
[2026-08-23 23:41:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602110976001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787508547000,"timestamp_ms":1787508547000,"timestamp_seconds":1787508547,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcfddb8"} 
[2026-08-23 23:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 23:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:41:01] 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-08-23 23:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602110976001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602110976001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:41:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:41:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602110976001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":162081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:41:01] local.INFO: GPS data processed {"connection_id":162081,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:41:01] local.INFO: Acknowledgment sent {"connection_id":162081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:41:05] local.INFO: TCP Data received {"connection_id":162081,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:41:05] local.INFO: Processing buffer {"connection_id":162081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:41:05] local.INFO: Packet analysis {"connection_id":162081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fcf"} 
[2026-08-23 23:41:05] local.INFO: Extracted packet for processing {"connection_id":162081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fcf"} 
[2026-08-23 23:41:05] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602110976001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787508547000,"timestamp_ms":1787508547000,"timestamp_seconds":1787508547,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcfddb8"} 
[2026-08-23 23:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 23:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602110976001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602110976001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:41:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:41:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602110976001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":162081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:41:05] local.INFO: GPS data processed {"connection_id":162081,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:41:05] local.INFO: Acknowledgment sent {"connection_id":162081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:41:45] local.INFO: TCP Data received {"connection_id":160880,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:41:45] local.INFO: Processing buffer {"connection_id":160880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:41:45] local.INFO: IMEI packet received {"connection_id":160880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":160880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:41:50] local.INFO: TCP Data received {"connection_id":160880,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:41:50] local.INFO: Processing buffer {"connection_id":160880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:41:50] local.INFO: IMEI packet received {"connection_id":160880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":160880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:41:51] local.INFO: TCP Data received {"connection_id":160880,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:41:51] local.INFO: Processing buffer {"connection_id":160880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:41:51] local.INFO: Packet analysis {"connection_id":160880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fcf"} 
[2026-08-23 23:41:51] local.INFO: Extracted packet for processing {"connection_id":160880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fcf"} 
[2026-08-23 23:41:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602110976001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787508547000,"timestamp_ms":1787508547000,"timestamp_seconds":1787508547,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcfddb8"} 
[2026-08-23 23:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:41: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-08-23 23:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 23:41:51] 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-08-23 23:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602110976001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602110976001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:41:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:41:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602110976001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":160880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:41:51] local.INFO: GPS data processed {"connection_id":160880,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:41:51] local.INFO: Acknowledgment sent {"connection_id":160880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:42:23] local.INFO: TCP Data received {"connection_id":160880,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:42:23] local.INFO: Processing buffer {"connection_id":160880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:42:23] local.INFO: Packet analysis {"connection_id":160880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fcf"} 
[2026-08-23 23:42:23] local.INFO: Extracted packet for processing {"connection_id":160880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fcf"} 
[2026-08-23 23:42:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602110976001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787508547000,"timestamp_ms":1787508547000,"timestamp_seconds":1787508547,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcfddb8"} 
[2026-08-23 23:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:42: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-08-23 23:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 23:42:23] 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-08-23 23:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602110976001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602110976001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:42:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:42:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602110976001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":160880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:42:23] local.INFO: GPS data processed {"connection_id":160880,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:42:23] local.INFO: Acknowledgment sent {"connection_id":160880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:42:45] local.INFO: TCP Data received {"connection_id":161129,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:42:45] local.INFO: Processing buffer {"connection_id":161129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:42:45] local.INFO: IMEI packet received {"connection_id":161129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":161129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:42:50] local.INFO: TCP Data received {"connection_id":161129,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:42:50] local.INFO: Processing buffer {"connection_id":161129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:42:50] local.INFO: IMEI packet received {"connection_id":161129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":161129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:42:51] local.INFO: TCP Data received {"connection_id":161129,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:42:51] local.INFO: Processing buffer {"connection_id":161129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:42:51] local.INFO: Packet analysis {"connection_id":161129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fcf"} 
[2026-08-23 23:42:51] local.INFO: Extracted packet for processing {"connection_id":161129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fcf"} 
[2026-08-23 23:42:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602110976001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787508547000,"timestamp_ms":1787508547000,"timestamp_seconds":1787508547,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcfddb8"} 
[2026-08-23 23:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:42: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-08-23 23:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 23:42:51] 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-08-23 23:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:42:51] 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-08-23 23:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602110976001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602110976001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:42:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:42:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602110976001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":161129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:42:51] local.INFO: GPS data processed {"connection_id":161129,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:42:51] local.INFO: Acknowledgment sent {"connection_id":161129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:43:22] local.INFO: TCP Data received {"connection_id":161129,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:43:22] local.INFO: Processing buffer {"connection_id":161129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:43:22] local.INFO: Packet analysis {"connection_id":161129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fcf"} 
[2026-08-23 23:43:22] local.INFO: Extracted packet for processing {"connection_id":161129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fcf"} 
[2026-08-23 23:43:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602110976001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787508547000,"timestamp_ms":1787508547000,"timestamp_seconds":1787508547,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcfddb8"} 
[2026-08-23 23:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:43: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-08-23 23:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 23:43:22] 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-08-23 23:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602110976001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602110976001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:43:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:43:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602110976001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":161129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:43:22] local.INFO: GPS data processed {"connection_id":161129,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:43:22] local.INFO: Acknowledgment sent {"connection_id":161129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:43:45] local.INFO: TCP Data received {"connection_id":162082,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:43:45] local.INFO: Processing buffer {"connection_id":162082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:43:45] local.INFO: IMEI packet received {"connection_id":162082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":162082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:43:50] local.INFO: TCP Data received {"connection_id":162082,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:43:50] local.INFO: Processing buffer {"connection_id":162082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:43:50] local.INFO: IMEI packet received {"connection_id":162082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":162082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:43:51] local.INFO: TCP Data received {"connection_id":162082,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:43:51] local.INFO: Processing buffer {"connection_id":162082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:43:51] local.INFO: Packet analysis {"connection_id":162082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fcf"} 
[2026-08-23 23:43:51] local.INFO: Extracted packet for processing {"connection_id":162082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fcf"} 
[2026-08-23 23:43:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602110976001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787508547000,"timestamp_ms":1787508547000,"timestamp_seconds":1787508547,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcfddb8"} 
[2026-08-23 23:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:43: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-08-23 23:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 23:43:51] 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-08-23 23:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602110976001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602110976001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:43:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:43:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602110976001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":162082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:43:51] local.INFO: GPS data processed {"connection_id":162082,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:43:51] local.INFO: Acknowledgment sent {"connection_id":162082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:44:22] local.INFO: TCP Data received {"connection_id":162082,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:44:22] local.INFO: Processing buffer {"connection_id":162082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fcfddb8012d34c58006aa4060000e011420..."} 
[2026-08-23 23:44:22] local.INFO: Packet analysis {"connection_id":162082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fcf"} 
[2026-08-23 23:44:22] local.INFO: Extracted packet for processing {"connection_id":162082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fcf"} 
[2026-08-23 23:44:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602110976001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787508547000,"timestamp_ms":1787508547000,"timestamp_seconds":1787508547,"priority":1,"record_length":96,"hex_timestamp":"000001a02fcfddb8"} 
[2026-08-23 23:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23: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-08-23 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 23:44:22] 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-08-23 23: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-08-23 23:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602110976001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602110976001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:44:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:44:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602110976001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":162082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:44:22] local.INFO: GPS data processed {"connection_id":162082,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:44:22] local.INFO: Acknowledgment sent {"connection_id":162082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:44:44] local.INFO: TCP Data received {"connection_id":161130,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:44:44] local.INFO: Processing buffer {"connection_id":161130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:44:44] local.INFO: IMEI packet received {"connection_id":161130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":161130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:44:45] local.INFO: TCP Data received {"connection_id":161130,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:44:45] local.INFO: Processing buffer {"connection_id":161130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:44:45] local.INFO: IMEI packet received {"connection_id":161130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":161130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:44:50] local.INFO: TCP Data received {"connection_id":161130,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:44:50] local.INFO: Processing buffer {"connection_id":161130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:44:50] local.INFO: IMEI packet received {"connection_id":161130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":161130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:44:51] local.INFO: TCP Data received {"connection_id":161130,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:44:51] local.INFO: Processing buffer {"connection_id":161130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:44:51] local.INFO: Packet analysis {"connection_id":161130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fd4"} 
[2026-08-23 23:44:51] local.INFO: Extracted packet for processing {"connection_id":161130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fd4"} 
[2026-08-23 23:44:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602188032001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787508848000,"timestamp_ms":1787508848000,"timestamp_seconds":1787508848,"priority":1,"record_length":96,"hex_timestamp":"000001a02fd47580"} 
[2026-08-23 23:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:44: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-08-23 23:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 23:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602188032001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602188032001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:44:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:44:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602188032001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":161130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:44:51] local.INFO: GPS data processed {"connection_id":161130,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:44:51] local.INFO: Acknowledgment sent {"connection_id":161130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:45:22] local.INFO: TCP Data received {"connection_id":161130,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:45:22] local.INFO: Processing buffer {"connection_id":161130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:45:22] local.INFO: Packet analysis {"connection_id":161130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fd4"} 
[2026-08-23 23:45:22] local.INFO: Extracted packet for processing {"connection_id":161130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fd4"} 
[2026-08-23 23:45:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602188032001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787508848000,"timestamp_ms":1787508848000,"timestamp_seconds":1787508848,"priority":1,"record_length":96,"hex_timestamp":"000001a02fd47580"} 
[2026-08-23 23:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:45: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-08-23 23:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 23:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602188032001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602188032001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:45:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:45:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602188032001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":161130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:45:22] local.INFO: GPS data processed {"connection_id":161130,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:45:22] local.INFO: Acknowledgment sent {"connection_id":161130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:45:50] local.INFO: TCP Data received {"connection_id":163489,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:45:50] local.INFO: Processing buffer {"connection_id":163489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:45:50] local.INFO: IMEI packet received {"connection_id":163489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":163489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:45:55] local.INFO: TCP Data received {"connection_id":163489,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:45:55] local.INFO: Processing buffer {"connection_id":163489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:45:55] local.INFO: IMEI packet received {"connection_id":163489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":163489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:45:56] local.INFO: TCP Data received {"connection_id":163489,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:45:56] local.INFO: Processing buffer {"connection_id":163489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:45:56] local.INFO: Packet analysis {"connection_id":163489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fd4"} 
[2026-08-23 23:45:56] local.INFO: Extracted packet for processing {"connection_id":163489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fd4"} 
[2026-08-23 23:45:56] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602188032001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787508848000,"timestamp_ms":1787508848000,"timestamp_seconds":1787508848,"priority":1,"record_length":96,"hex_timestamp":"000001a02fd47580"} 
[2026-08-23 23:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 23:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:45:56] 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-08-23 23:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602188032001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602188032001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:45:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:45:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602188032001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":163489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:45:56] local.INFO: GPS data processed {"connection_id":163489,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:45:56] local.INFO: Acknowledgment sent {"connection_id":163489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:46:01] local.INFO: TCP Data received {"connection_id":163489,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:46:01] local.INFO: Processing buffer {"connection_id":163489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:46:01] local.INFO: Packet analysis {"connection_id":163489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fd4"} 
[2026-08-23 23:46:01] local.INFO: Extracted packet for processing {"connection_id":163489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fd4"} 
[2026-08-23 23:46:01] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602188032001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787508848000,"timestamp_ms":1787508848000,"timestamp_seconds":1787508848,"priority":1,"record_length":96,"hex_timestamp":"000001a02fd47580"} 
[2026-08-23 23:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 23:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":163489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":163489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":163489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:46:01] 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-08-23 23:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602188032001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602188032001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:46:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:46:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602188032001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":163489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:46:01] local.INFO: GPS data processed {"connection_id":163489,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:46:01] local.INFO: Acknowledgment sent {"connection_id":163489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:46:45] local.INFO: TCP Data received {"connection_id":162083,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:46:45] local.INFO: Processing buffer {"connection_id":162083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:46:45] local.INFO: IMEI packet received {"connection_id":162083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":162083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:46:50] local.INFO: TCP Data received {"connection_id":162083,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:46:50] local.INFO: Processing buffer {"connection_id":162083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:46:50] local.INFO: IMEI packet received {"connection_id":162083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":162083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:46:51] local.INFO: TCP Data received {"connection_id":162083,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:46:51] local.INFO: Processing buffer {"connection_id":162083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:46:51] local.INFO: Packet analysis {"connection_id":162083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fd4"} 
[2026-08-23 23:46:51] local.INFO: Extracted packet for processing {"connection_id":162083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fd4"} 
[2026-08-23 23:46:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602188032001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787508848000,"timestamp_ms":1787508848000,"timestamp_seconds":1787508848,"priority":1,"record_length":96,"hex_timestamp":"000001a02fd47580"} 
[2026-08-23 23:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:46: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-08-23 23:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 23:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:46:51] 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-08-23 23:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602188032001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602188032001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:46:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:46:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602188032001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":162083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:46:51] local.INFO: GPS data processed {"connection_id":162083,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:46:51] local.INFO: Acknowledgment sent {"connection_id":162083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:47:23] local.INFO: TCP Data received {"connection_id":162083,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:47:23] local.INFO: Processing buffer {"connection_id":162083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:47:23] local.INFO: Packet analysis {"connection_id":162083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fd4"} 
[2026-08-23 23:47:23] local.INFO: Extracted packet for processing {"connection_id":162083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fd4"} 
[2026-08-23 23:47:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602188032001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787508848000,"timestamp_ms":1787508848000,"timestamp_seconds":1787508848,"priority":1,"record_length":96,"hex_timestamp":"000001a02fd47580"} 
[2026-08-23 23:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:47: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-08-23 23:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 23:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:47:23] 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-08-23 23:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602188032001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602188032001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:47:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:47:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602188032001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":162083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:47:23] local.INFO: GPS data processed {"connection_id":162083,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:47:23] local.INFO: Acknowledgment sent {"connection_id":162083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:47:45] local.INFO: TCP Data received {"connection_id":161131,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:47:45] local.INFO: Processing buffer {"connection_id":161131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:47:45] local.INFO: IMEI packet received {"connection_id":161131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":161131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:47:50] local.INFO: TCP Data received {"connection_id":161131,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:47:50] local.INFO: Processing buffer {"connection_id":161131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:47:50] local.INFO: IMEI packet received {"connection_id":161131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":161131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:47:51] local.INFO: TCP Data received {"connection_id":161131,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:47:51] local.INFO: Processing buffer {"connection_id":161131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:47:51] local.INFO: Packet analysis {"connection_id":161131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fd4"} 
[2026-08-23 23:47:51] local.INFO: Extracted packet for processing {"connection_id":161131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fd4"} 
[2026-08-23 23:47:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602188032001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787508848000,"timestamp_ms":1787508848000,"timestamp_seconds":1787508848,"priority":1,"record_length":96,"hex_timestamp":"000001a02fd47580"} 
[2026-08-23 23:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:47: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-08-23 23:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 23:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602188032001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602188032001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:47:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:47:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602188032001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":161131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:47:51] local.INFO: GPS data processed {"connection_id":161131,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:47:51] local.INFO: Acknowledgment sent {"connection_id":161131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:48:22] local.INFO: TCP Data received {"connection_id":161131,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:48:22] local.INFO: Processing buffer {"connection_id":161131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:48:22] local.INFO: Packet analysis {"connection_id":161131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fd4"} 
[2026-08-23 23:48:22] local.INFO: Extracted packet for processing {"connection_id":161131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fd4"} 
[2026-08-23 23:48:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602188032001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787508848000,"timestamp_ms":1787508848000,"timestamp_seconds":1787508848,"priority":1,"record_length":96,"hex_timestamp":"000001a02fd47580"} 
[2026-08-23 23:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:48: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-08-23 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 23:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602188032001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602188032001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:48:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:48:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602188032001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":161131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:48:22] local.INFO: GPS data processed {"connection_id":161131,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:48:22] local.INFO: Acknowledgment sent {"connection_id":161131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:48:44] local.INFO: TCP Data received {"connection_id":161132,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:48:44] local.INFO: Processing buffer {"connection_id":161132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:48:44] local.INFO: IMEI packet received {"connection_id":161132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":161132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:48:50] local.INFO: TCP Data received {"connection_id":161132,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:48:50] local.INFO: Processing buffer {"connection_id":161132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:48:50] local.INFO: IMEI packet received {"connection_id":161132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":161132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:48:51] local.INFO: TCP Data received {"connection_id":161132,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:48:51] local.INFO: Processing buffer {"connection_id":161132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:48:51] local.INFO: Packet analysis {"connection_id":161132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fd4"} 
[2026-08-23 23:48:51] local.INFO: Extracted packet for processing {"connection_id":161132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fd4"} 
[2026-08-23 23:48:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602188032001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787508848000,"timestamp_ms":1787508848000,"timestamp_seconds":1787508848,"priority":1,"record_length":96,"hex_timestamp":"000001a02fd47580"} 
[2026-08-23 23:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:48: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-08-23 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 23:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:48:51] 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-08-23 23:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602188032001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602188032001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:48:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:48:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602188032001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":161132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:48:51] local.INFO: GPS data processed {"connection_id":161132,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:48:51] local.INFO: Acknowledgment sent {"connection_id":161132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:49:23] local.INFO: TCP Data received {"connection_id":161132,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:49:23] local.INFO: Processing buffer {"connection_id":161132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fd47580012d34c58006aa4060000e011423..."} 
[2026-08-23 23:49:23] local.INFO: Packet analysis {"connection_id":161132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fd4"} 
[2026-08-23 23:49:23] local.INFO: Extracted packet for processing {"connection_id":161132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fd4"} 
[2026-08-23 23:49:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":14,"angle":276,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602188032001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787508848000,"timestamp_ms":1787508848000,"timestamp_seconds":1787508848,"priority":1,"record_length":96,"hex_timestamp":"000001a02fd47580"} 
[2026-08-23 23:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:49: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-08-23 23:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 23:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:49:23] 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-08-23 23:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602188032001,"66":25343,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602188032001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:49:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:49:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602188032001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":161132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:49:23] local.INFO: GPS data processed {"connection_id":161132,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:49:23] local.INFO: Acknowledgment sent {"connection_id":161132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:49:44] local.INFO: TCP Data received {"connection_id":160881,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:49:44] local.INFO: Processing buffer {"connection_id":160881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:49:44] local.INFO: IMEI packet received {"connection_id":160881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":160881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:49:46] local.INFO: TCP Data received {"connection_id":160881,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:49:46] local.INFO: Processing buffer {"connection_id":160881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:49:46] local.INFO: IMEI packet received {"connection_id":160881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":160881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:49:50] local.INFO: TCP Data received {"connection_id":160881,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:49:50] local.INFO: Processing buffer {"connection_id":160881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:49:50] local.INFO: IMEI packet received {"connection_id":160881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":160881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:49:51] local.INFO: TCP Data received {"connection_id":160881,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:49:51] local.INFO: Processing buffer {"connection_id":160881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:49:51] local.INFO: Packet analysis {"connection_id":160881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fd9"} 
[2026-08-23 23:49:51] local.INFO: Extracted packet for processing {"connection_id":160881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fd9"} 
[2026-08-23 23:49:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602265088001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787509149000,"timestamp_ms":1787509149000,"timestamp_seconds":1787509149,"priority":1,"record_length":96,"hex_timestamp":"000001a02fd90d48"} 
[2026-08-23 23:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:49: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-08-23 23:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 23:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602265088001,"66":25299,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602265088001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:49:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:49:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602265088001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":160881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:49:51] local.INFO: GPS data processed {"connection_id":160881,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:49:51] local.INFO: Acknowledgment sent {"connection_id":160881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:50:23] local.INFO: TCP Data received {"connection_id":160881,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:50:23] local.INFO: Processing buffer {"connection_id":160881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:50:23] local.INFO: Packet analysis {"connection_id":160881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fd9"} 
[2026-08-23 23:50:23] local.INFO: Extracted packet for processing {"connection_id":160881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fd9"} 
[2026-08-23 23:50:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602265088001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787509149000,"timestamp_ms":1787509149000,"timestamp_seconds":1787509149,"priority":1,"record_length":96,"hex_timestamp":"000001a02fd90d48"} 
[2026-08-23 23:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:50: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-08-23 23:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 23:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:50:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602265088001,"66":25299,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602265088001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:50:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:50:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602265088001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":160881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:50:23] local.INFO: GPS data processed {"connection_id":160881,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:50:23] local.INFO: Acknowledgment sent {"connection_id":160881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:50:45] local.INFO: TCP Data received {"connection_id":162084,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:50:45] local.INFO: Processing buffer {"connection_id":162084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:50:45] local.INFO: IMEI packet received {"connection_id":162084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":162084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:50:50] local.INFO: TCP Data received {"connection_id":162084,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:50:50] local.INFO: Processing buffer {"connection_id":162084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:50:50] local.INFO: IMEI packet received {"connection_id":162084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":162084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:50:51] local.INFO: TCP Data received {"connection_id":162084,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:50:51] local.INFO: Processing buffer {"connection_id":162084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:50:51] local.INFO: Packet analysis {"connection_id":162084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fd9"} 
[2026-08-23 23:50:51] local.INFO: Extracted packet for processing {"connection_id":162084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fd9"} 
[2026-08-23 23:50:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602265088001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787509149000,"timestamp_ms":1787509149000,"timestamp_seconds":1787509149,"priority":1,"record_length":96,"hex_timestamp":"000001a02fd90d48"} 
[2026-08-23 23:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:50: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-08-23 23:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 23:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602265088001,"66":25299,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602265088001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:50:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:50:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602265088001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":162084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:50:51] local.INFO: GPS data processed {"connection_id":162084,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:50:51] local.INFO: Acknowledgment sent {"connection_id":162084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:50:55] local.INFO: TCP Data received {"connection_id":162084,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:50:55] local.INFO: Processing buffer {"connection_id":162084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:50:55] local.INFO: Packet analysis {"connection_id":162084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fd9"} 
[2026-08-23 23:50:55] local.INFO: Extracted packet for processing {"connection_id":162084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fd9"} 
[2026-08-23 23:50:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602265088001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787509149000,"timestamp_ms":1787509149000,"timestamp_seconds":1787509149,"priority":1,"record_length":96,"hex_timestamp":"000001a02fd90d48"} 
[2026-08-23 23:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 23:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:50:55] 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-08-23 23:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602265088001,"66":25299,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602265088001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:50:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:50:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602265088001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":162084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:50:55] local.INFO: GPS data processed {"connection_id":162084,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:50:55] local.INFO: Acknowledgment sent {"connection_id":162084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:51:26] local.INFO: TCP Data received {"connection_id":162084,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:51:26] local.INFO: Processing buffer {"connection_id":162084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:51:26] local.INFO: Packet analysis {"connection_id":162084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fd9"} 
[2026-08-23 23:51:26] local.INFO: Extracted packet for processing {"connection_id":162084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fd9"} 
[2026-08-23 23:51:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602265088001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787509149000,"timestamp_ms":1787509149000,"timestamp_seconds":1787509149,"priority":1,"record_length":96,"hex_timestamp":"000001a02fd90d48"} 
[2026-08-23 23:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:51: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-08-23 23:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 23:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602265088001,"66":25299,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602265088001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:51:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:51:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602265088001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":162084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:51:26] local.INFO: GPS data processed {"connection_id":162084,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:51:26] local.INFO: Acknowledgment sent {"connection_id":162084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:51:45] local.INFO: TCP Data received {"connection_id":161133,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:51:45] local.INFO: Processing buffer {"connection_id":161133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:51:45] local.INFO: IMEI packet received {"connection_id":161133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":161133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:51:50] local.INFO: TCP Data received {"connection_id":161133,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:51:50] local.INFO: Processing buffer {"connection_id":161133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:51:50] local.INFO: IMEI packet received {"connection_id":161133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":161133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:51:51] local.INFO: TCP Data received {"connection_id":161133,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:51:51] local.INFO: Processing buffer {"connection_id":161133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:51:51] local.INFO: Packet analysis {"connection_id":161133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fd9"} 
[2026-08-23 23:51:51] local.INFO: Extracted packet for processing {"connection_id":161133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fd9"} 
[2026-08-23 23:51:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602265088001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787509149000,"timestamp_ms":1787509149000,"timestamp_seconds":1787509149,"priority":1,"record_length":96,"hex_timestamp":"000001a02fd90d48"} 
[2026-08-23 23:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23: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-08-23 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 23:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:51:51] 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-08-23 23:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602265088001,"66":25299,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602265088001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:51:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:51:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602265088001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":161133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:51:51] local.INFO: GPS data processed {"connection_id":161133,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:51:51] local.INFO: Acknowledgment sent {"connection_id":161133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:52:26] local.INFO: TCP Data received {"connection_id":161133,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:52:26] local.INFO: Processing buffer {"connection_id":161133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:52:26] local.INFO: Packet analysis {"connection_id":161133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fd9"} 
[2026-08-23 23:52:26] local.INFO: Extracted packet for processing {"connection_id":161133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fd9"} 
[2026-08-23 23:52:26] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602265088001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787509149000,"timestamp_ms":1787509149000,"timestamp_seconds":1787509149,"priority":1,"record_length":96,"hex_timestamp":"000001a02fd90d48"} 
[2026-08-23 23:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:52: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-08-23 23:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 23:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:52:26] 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-08-23 23:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602265088001,"66":25299,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602265088001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:52:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:52:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602265088001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":161133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:52:26] local.INFO: GPS data processed {"connection_id":161133,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:52:26] local.INFO: Acknowledgment sent {"connection_id":161133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:52:44] local.INFO: TCP Data received {"connection_id":162085,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:52:44] local.INFO: Processing buffer {"connection_id":162085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:52:44] local.INFO: IMEI packet received {"connection_id":162085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":162085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:52:50] local.INFO: TCP Data received {"connection_id":162085,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:52:50] local.INFO: Processing buffer {"connection_id":162085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:52:50] local.INFO: IMEI packet received {"connection_id":162085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":162085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:52:53] local.INFO: TCP Data received {"connection_id":162085,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:52:53] local.INFO: Processing buffer {"connection_id":162085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:52:53] local.INFO: Packet analysis {"connection_id":162085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fd9"} 
[2026-08-23 23:52:53] local.INFO: Extracted packet for processing {"connection_id":162085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fd9"} 
[2026-08-23 23:52:53] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602265088001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787509149000,"timestamp_ms":1787509149000,"timestamp_seconds":1787509149,"priority":1,"record_length":96,"hex_timestamp":"000001a02fd90d48"} 
[2026-08-23 23:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:52: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-08-23 23:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 23:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:52:53] 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-08-23 23:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602265088001,"66":25299,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602265088001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:52:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:52:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602265088001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":162085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:52:53] local.INFO: GPS data processed {"connection_id":162085,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:52:53] local.INFO: Acknowledgment sent {"connection_id":162085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:53:24] local.INFO: TCP Data received {"connection_id":162085,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:53:24] local.INFO: Processing buffer {"connection_id":162085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:53:24] local.INFO: Packet analysis {"connection_id":162085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fd9"} 
[2026-08-23 23:53:24] local.INFO: Extracted packet for processing {"connection_id":162085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fd9"} 
[2026-08-23 23:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602265088001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787509149000,"timestamp_ms":1787509149000,"timestamp_seconds":1787509149,"priority":1,"record_length":96,"hex_timestamp":"000001a02fd90d48"} 
[2026-08-23 23:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:53: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-08-23 23:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 23:53: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-08-23 23:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":162085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":162085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":162085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:53: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-08-23 23:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602265088001,"66":25299,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602265088001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:53:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602265088001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":162085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:53:24] local.INFO: GPS data processed {"connection_id":162085,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:53:24] local.INFO: Acknowledgment sent {"connection_id":162085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:53:44] local.INFO: TCP Data received {"connection_id":163490,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:53:44] local.INFO: Processing buffer {"connection_id":163490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:53:44] local.INFO: IMEI packet received {"connection_id":163490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":163490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:53:50] local.INFO: TCP Data received {"connection_id":163490,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:53:50] local.INFO: Processing buffer {"connection_id":163490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:53:50] local.INFO: IMEI packet received {"connection_id":163490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":163490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:53:51] local.INFO: TCP Data received {"connection_id":163490,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:53:51] local.INFO: Processing buffer {"connection_id":163490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:53:51] local.INFO: Packet analysis {"connection_id":163490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fd9"} 
[2026-08-23 23:53:51] local.INFO: Extracted packet for processing {"connection_id":163490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fd9"} 
[2026-08-23 23:53:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602265088001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787509149000,"timestamp_ms":1787509149000,"timestamp_seconds":1787509149,"priority":1,"record_length":96,"hex_timestamp":"000001a02fd90d48"} 
[2026-08-23 23:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:53: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-08-23 23:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 23:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:53:51] 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-08-23 23:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602265088001,"66":25299,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602265088001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:53:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:53:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602265088001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":163490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:53:51] local.INFO: GPS data processed {"connection_id":163490,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:53:51] local.INFO: Acknowledgment sent {"connection_id":163490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:54:22] local.INFO: TCP Data received {"connection_id":163490,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:54:22] local.INFO: Processing buffer {"connection_id":163490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fd90d48012d34c58006aa4060000f011424..."} 
[2026-08-23 23:54:22] local.INFO: Packet analysis {"connection_id":163490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fd9"} 
[2026-08-23 23:54:22] local.INFO: Extracted packet for processing {"connection_id":163490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fd9"} 
[2026-08-23 23:54:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602265088001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787509149000,"timestamp_ms":1787509149000,"timestamp_seconds":1787509149,"priority":1,"record_length":96,"hex_timestamp":"000001a02fd90d48"} 
[2026-08-23 23:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:54: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-08-23 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-23 23:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602265088001,"66":25299,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602265088001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:54:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:54:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602265088001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":163490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:54:22] local.INFO: GPS data processed {"connection_id":163490,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:54:22] local.INFO: Acknowledgment sent {"connection_id":163490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:54:44] local.INFO: TCP Data received {"connection_id":160882,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:54:44] local.INFO: Processing buffer {"connection_id":160882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:54:44] local.INFO: IMEI packet received {"connection_id":160882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":160882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:54:48] local.INFO: TCP Data received {"connection_id":160882,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:54:48] local.INFO: Processing buffer {"connection_id":160882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:54:48] local.INFO: IMEI packet received {"connection_id":160882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":160882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:54:49] local.INFO: TCP Data received {"connection_id":160882,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:54:49] local.INFO: Processing buffer {"connection_id":160882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:54:49] local.INFO: IMEI packet received {"connection_id":160882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":160882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:54:50] local.INFO: TCP Data received {"connection_id":160882,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:54:50] local.INFO: Processing buffer {"connection_id":160882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:54:50] local.INFO: Packet analysis {"connection_id":160882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fdd"} 
[2026-08-23 23:54:50] local.INFO: Extracted packet for processing {"connection_id":160882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fdd"} 
[2026-08-23 23:54:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602342144001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787509450000,"timestamp_ms":1787509450000,"timestamp_seconds":1787509450,"priority":1,"record_length":96,"hex_timestamp":"000001a02fdda510"} 
[2026-08-23 23:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:54: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-08-23 23:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 23:54:50] 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-08-23 23:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":160882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":160882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":160882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602342144001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602342144001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:54:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:54:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602342144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":160882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:54:50] local.INFO: GPS data processed {"connection_id":160882,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:54:50] local.INFO: Acknowledgment sent {"connection_id":160882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:55:22] local.INFO: TCP Data received {"connection_id":160882,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:55:22] local.INFO: Processing buffer {"connection_id":160882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:55:22] local.INFO: Packet analysis {"connection_id":160882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fdd"} 
[2026-08-23 23:55:22] local.INFO: Extracted packet for processing {"connection_id":160882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fdd"} 
[2026-08-23 23:55:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602342144001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787509450000,"timestamp_ms":1787509450000,"timestamp_seconds":1787509450,"priority":1,"record_length":96,"hex_timestamp":"000001a02fdda510"} 
[2026-08-23 23:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:55: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-08-23 23:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 23:55:22] 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-08-23 23:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602342144001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602342144001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:55:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:55:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602342144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":160882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:55:22] local.INFO: GPS data processed {"connection_id":160882,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:55:22] local.INFO: Acknowledgment sent {"connection_id":160882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:55:45] local.INFO: TCP Data received {"connection_id":161134,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:55:45] local.INFO: Processing buffer {"connection_id":161134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:55:45] local.INFO: IMEI packet received {"connection_id":161134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":161134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:55:50] local.INFO: TCP Data received {"connection_id":161134,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:55:50] local.INFO: Processing buffer {"connection_id":161134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:55:50] local.INFO: IMEI packet received {"connection_id":161134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":161134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:55:51] local.INFO: TCP Data received {"connection_id":161134,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:55:51] local.INFO: Processing buffer {"connection_id":161134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:55:51] local.INFO: Packet analysis {"connection_id":161134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fdd"} 
[2026-08-23 23:55:51] local.INFO: Extracted packet for processing {"connection_id":161134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fdd"} 
[2026-08-23 23:55:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602342144001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787509450000,"timestamp_ms":1787509450000,"timestamp_seconds":1787509450,"priority":1,"record_length":96,"hex_timestamp":"000001a02fdda510"} 
[2026-08-23 23:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:55: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-08-23 23:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 23:55:51] 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-08-23 23:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602342144001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602342144001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:55:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:55:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602342144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":161134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:55:51] local.INFO: GPS data processed {"connection_id":161134,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:55:51] local.INFO: Acknowledgment sent {"connection_id":161134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:56:23] local.INFO: TCP Data received {"connection_id":161134,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:56:23] local.INFO: Processing buffer {"connection_id":161134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:56:23] local.INFO: Packet analysis {"connection_id":161134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fdd"} 
[2026-08-23 23:56:23] local.INFO: Extracted packet for processing {"connection_id":161134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fdd"} 
[2026-08-23 23:56:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602342144001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787509450000,"timestamp_ms":1787509450000,"timestamp_seconds":1787509450,"priority":1,"record_length":96,"hex_timestamp":"000001a02fdda510"} 
[2026-08-23 23:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:56: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-08-23 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 23:56:23] 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-08-23 23: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-08-23 23:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602342144001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602342144001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:56:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:56:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602342144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":161134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:56:23] local.INFO: GPS data processed {"connection_id":161134,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:56:23] local.INFO: Acknowledgment sent {"connection_id":161134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:56:45] local.INFO: TCP Data received {"connection_id":160883,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:56:45] local.INFO: Processing buffer {"connection_id":160883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:56:45] local.INFO: IMEI packet received {"connection_id":160883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":160883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:56:50] local.INFO: TCP Data received {"connection_id":160883,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:56:50] local.INFO: Processing buffer {"connection_id":160883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:56:50] local.INFO: IMEI packet received {"connection_id":160883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":160883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:56:51] local.INFO: TCP Data received {"connection_id":160883,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:56:51] local.INFO: Processing buffer {"connection_id":160883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:56:51] local.INFO: Packet analysis {"connection_id":160883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fdd"} 
[2026-08-23 23:56:51] local.INFO: Extracted packet for processing {"connection_id":160883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fdd"} 
[2026-08-23 23:56:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602342144001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787509450000,"timestamp_ms":1787509450000,"timestamp_seconds":1787509450,"priority":1,"record_length":96,"hex_timestamp":"000001a02fdda510"} 
[2026-08-23 23:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:56: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-08-23 23:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 23:56:51] 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-08-23 23:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602342144001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602342144001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:56:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:56:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602342144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":160883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:56:51] local.INFO: GPS data processed {"connection_id":160883,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:56:51] local.INFO: Acknowledgment sent {"connection_id":160883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:57:23] local.INFO: TCP Data received {"connection_id":160883,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:57:23] local.INFO: Processing buffer {"connection_id":160883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:57:23] local.INFO: Packet analysis {"connection_id":160883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fdd"} 
[2026-08-23 23:57:23] local.INFO: Extracted packet for processing {"connection_id":160883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fdd"} 
[2026-08-23 23:57:23] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602342144001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787509450000,"timestamp_ms":1787509450000,"timestamp_seconds":1787509450,"priority":1,"record_length":96,"hex_timestamp":"000001a02fdda510"} 
[2026-08-23 23:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:57: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-08-23 23:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 23:57:23] 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-08-23 23:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602342144001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602342144001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:57:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:57:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602342144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":160883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:57:23] local.INFO: GPS data processed {"connection_id":160883,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:57:23] local.INFO: Acknowledgment sent {"connection_id":160883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:57:44] local.INFO: TCP Data received {"connection_id":162086,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:57:44] local.INFO: Processing buffer {"connection_id":162086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:57:44] local.INFO: IMEI packet received {"connection_id":162086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":162086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:57:50] local.INFO: TCP Data received {"connection_id":162086,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:57:50] local.INFO: Processing buffer {"connection_id":162086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:57:50] local.INFO: IMEI packet received {"connection_id":162086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":162086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:57:51] local.INFO: TCP Data received {"connection_id":162086,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:57:51] local.INFO: Processing buffer {"connection_id":162086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:57:51] local.INFO: Packet analysis {"connection_id":162086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fdd"} 
[2026-08-23 23:57:51] local.INFO: Extracted packet for processing {"connection_id":162086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fdd"} 
[2026-08-23 23:57:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602342144001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787509450000,"timestamp_ms":1787509450000,"timestamp_seconds":1787509450,"priority":1,"record_length":96,"hex_timestamp":"000001a02fdda510"} 
[2026-08-23 23:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:57: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-08-23 23:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 23:57:51] 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-08-23 23:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602342144001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602342144001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:57:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:57:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602342144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":162086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:57:51] local.INFO: GPS data processed {"connection_id":162086,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:57:51] local.INFO: Acknowledgment sent {"connection_id":162086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:58:22] local.INFO: TCP Data received {"connection_id":162086,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:58:22] local.INFO: Processing buffer {"connection_id":162086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:58:22] local.INFO: Packet analysis {"connection_id":162086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fdd"} 
[2026-08-23 23:58:22] local.INFO: Extracted packet for processing {"connection_id":162086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fdd"} 
[2026-08-23 23:58:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602342144001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787509450000,"timestamp_ms":1787509450000,"timestamp_seconds":1787509450,"priority":1,"record_length":96,"hex_timestamp":"000001a02fdda510"} 
[2026-08-23 23:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:58: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-08-23 23:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 23:58:22] 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-08-23 23:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602342144001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602342144001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:58:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:58:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602342144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":162086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:58:22] local.INFO: GPS data processed {"connection_id":162086,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:58:22] local.INFO: Acknowledgment sent {"connection_id":162086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:58:44] local.INFO: TCP Data received {"connection_id":163491,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:58:44] local.INFO: Processing buffer {"connection_id":163491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:58:44] local.INFO: IMEI packet received {"connection_id":163491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":163491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:58:50] local.INFO: TCP Data received {"connection_id":163491,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:58:50] local.INFO: Processing buffer {"connection_id":163491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:58:50] local.INFO: IMEI packet received {"connection_id":163491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":163491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:58:51] local.INFO: TCP Data received {"connection_id":163491,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:58:51] local.INFO: Processing buffer {"connection_id":163491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:58:51] local.INFO: Packet analysis {"connection_id":163491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fdd"} 
[2026-08-23 23:58:51] local.INFO: Extracted packet for processing {"connection_id":163491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fdd"} 
[2026-08-23 23:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:58: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-08-23 23:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602342144001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787509450000,"timestamp_ms":1787509450000,"timestamp_seconds":1787509450,"priority":1,"record_length":96,"hex_timestamp":"000001a02fdda510"} 
[2026-08-23 23:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:58: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-08-23 23:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 23:58:51] 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-08-23 23:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602342144001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602342144001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:58:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602342144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":163491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:58:51] local.INFO: GPS data processed {"connection_id":163491,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:58:51] local.INFO: Acknowledgment sent {"connection_id":163491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:59:22] local.INFO: TCP Data received {"connection_id":163491,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:59:22] local.INFO: Processing buffer {"connection_id":163491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fdda510012d34c58006aa4060000f011426..."} 
[2026-08-23 23:59:22] local.INFO: Packet analysis {"connection_id":163491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fdd"} 
[2026-08-23 23:59:22] local.INFO: Extracted packet for processing {"connection_id":163491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fdd"} 
[2026-08-23 23:59:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602342144001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787509450000,"timestamp_ms":1787509450000,"timestamp_seconds":1787509450,"priority":1,"record_length":96,"hex_timestamp":"000001a02fdda510"} 
[2026-08-23 23:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:59: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-08-23 23:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-23 23:59:22] 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-08-23 23:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-23 23:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602342144001,"66":25321,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602342144001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:59:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:59:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602342144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":163491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:59:22] local.INFO: GPS data processed {"connection_id":163491,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:59:22] local.INFO: Acknowledgment sent {"connection_id":163491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:59:44] local.INFO: TCP Data received {"connection_id":163492,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:59:44] local.INFO: Processing buffer {"connection_id":163492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:59:44] local.INFO: IMEI packet received {"connection_id":163492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-23 23:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":163492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-23 23:59:49] local.INFO: TCP Data received {"connection_id":163492,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:59:49] local.INFO: Processing buffer {"connection_id":163492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:59:49] local.INFO: IMEI packet received {"connection_id":163492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":163492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:59:49] local.INFO: TCP Data received {"connection_id":163492,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:59:49] local.INFO: Processing buffer {"connection_id":163492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-23 23:59:49] local.INFO: IMEI packet received {"connection_id":163492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-23 23:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":163492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-23 23:59:50] local.INFO: TCP Data received {"connection_id":163492,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02fe23cd8012d34c58006aa4060000f011425..."} 
[2026-08-23 23:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fe23cd8012d34c58006aa4060000f011425..."} 
[2026-08-23 23:59:50] local.INFO: Processing buffer {"connection_id":163492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fe23cd8012d34c58006aa4060000f011425..."} 
[2026-08-23 23:59:50] local.INFO: Packet analysis {"connection_id":163492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fe2"} 
[2026-08-23 23:59:50] local.INFO: Extracted packet for processing {"connection_id":163492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fe2"} 
[2026-08-23 23:59:50] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-23 23:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602419200001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787509751000,"timestamp_ms":1787509751000,"timestamp_seconds":1787509751,"priority":1,"record_length":96,"hex_timestamp":"000001a02fe23cd8"} 
[2026-08-23 23:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 23:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-23 23:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:59:50] 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-08-23 23:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602419200001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602419200001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:59:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:59:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602419200001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":163492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:59:50] local.INFO: GPS data processed {"connection_id":163492,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:59:50] local.INFO: Acknowledgment sent {"connection_id":163492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-23 23:59:55] local.INFO: TCP Data received {"connection_id":163492,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02fe23cd8012d34c58006aa4060000f011425..."} 
[2026-08-23 23:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02fe23cd8012d34c58006aa4060000f011425..."} 
[2026-08-23 23:59:55] local.INFO: Processing buffer {"connection_id":163492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02fe23cd8012d34c58006aa4060000f011425..."} 
[2026-08-23 23:59:55] local.INFO: Packet analysis {"connection_id":163492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02fe2"} 
[2026-08-23 23:59:55] local.INFO: Extracted packet for processing {"connection_id":163492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02fe2"} 
[2026-08-23 23:59:55] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820896,"longitude_deg":75.8433152,"latitude_deg":11.1820896,"altitude":15,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-08-23 23: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-08-23 23:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457602419200001,"note":"Value kept but may cause issues"} 
[2026-08-23 23:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":389929820126969856,"note":"Value kept but may cause issues"} 
[2026-08-23 23:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498756608,"note":"Value kept but may cause issues"} 
[2026-08-23 23:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-23 23:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787509751000,"timestamp_ms":1787509751000,"timestamp_seconds":1787509751,"priority":1,"record_length":96,"hex_timestamp":"000001a02fe23cd8"} 
[2026-08-23 23:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-23 23:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-23 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-23 23:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-23 23: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-08-23 23:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-23 23:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-23 23:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-23 23:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-23 23:59:55] 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-08-23 23:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-23 23:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-23 23:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457602419200001,"66":25397,"97":206,"81":23296,"24":0,"16":389929820126969856,"45":3802586226498756608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-23 23:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-23 23:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-23 23:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457602419200001,"description":"Unknown IO ID 0"} 
[2026-08-23 23:59:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-23 23:59:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-23 23:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":389929820126969856,"km_value":389929820126969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-23 23:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498756608,"description":"Unknown IO ID 45"} 
[2026-08-23 23:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457602419200001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498756608}} 
[2026-08-23 23:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":163492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":689564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-23 23:59:55] local.INFO: GPS data processed {"connection_id":163492,"processed":1,"errors":0,"total":1} 
[2026-08-23 23:59:55] local.INFO: Acknowledgment sent {"connection_id":163492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
